@carto/ps-react-maps 3.10.2 → 3.10.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 +421 -407
- package/dist/index.js.map +1 -1
- package/dist/types/providers/sources/store.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,8 +6,8 @@ import { c as D } from "react/compiler-runtime";
|
|
|
6
6
|
import { useEffect as z, useImperativeHandle as Ne, useMemo as oe, useCallback as Q, useState as se, createContext as He, useContext as Ge, useRef as _e } from "react";
|
|
7
7
|
import { MapProvider as Rt, Map as $t, useMap as xt } from "react-map-gl/maplibre";
|
|
8
8
|
import Ut from "@deck.gl/react";
|
|
9
|
-
import { useMap as pt, APIProvider as Bt, Map as
|
|
10
|
-
import { GoogleMapsOverlay as
|
|
9
|
+
import { useMap as pt, APIProvider as Bt, Map as qt } from "@vis.gl/react-google-maps";
|
|
10
|
+
import { GoogleMapsOverlay as jt } from "@deck.gl/google-maps";
|
|
11
11
|
import { createStore as ze, useStore as Qe, create as mt } from "zustand";
|
|
12
12
|
import { FlyToInterpolator as Vt, WebMercatorViewport as It } from "@deck.gl/core";
|
|
13
13
|
import { CompositeMode as Nt, TranslateMode as Ht, ModifyMode as Gt, DrawPolygonByDraggingMode as zt, DrawCircleFromCenterMode as yt, DrawRectangleMode as Qt, DrawPolygonMode as Wt, EditableGeoJsonLayer as Kt, MeasureAreaMode as Zt, getPickedEditHandle as Yt, MeasureDistanceMode as Xt, ViewMode as Jt } from "@deck.gl-community/editable-layers";
|
|
@@ -104,14 +104,14 @@ function Ss(r) {
|
|
|
104
104
|
value: !1
|
|
105
105
|
});
|
|
106
106
|
}, b = [c], e[13] = c, e[14] = m, e[15] = b) : (m = e[14], b = e[15]), z(m, b);
|
|
107
|
-
let
|
|
108
|
-
e[16] !== a ? (u = a.filter(
|
|
109
|
-
const h =
|
|
110
|
-
let
|
|
111
|
-
e[18] !== c ? (
|
|
107
|
+
let T, u;
|
|
108
|
+
e[16] !== a ? (u = a.filter(Ts).map(Ms), e[16] = a, e[17] = u) : u = e[17], T = u;
|
|
109
|
+
const h = T, S = i;
|
|
110
|
+
let M;
|
|
111
|
+
e[18] !== c ? (M = () => c({
|
|
112
112
|
type: "deckgl",
|
|
113
113
|
value: !0
|
|
114
|
-
}), e[18] = c, e[19] =
|
|
114
|
+
}), e[18] = c, e[19] = M) : M = e[19];
|
|
115
115
|
let w;
|
|
116
116
|
e[20] !== g ? (w = {
|
|
117
117
|
depthTest: !1,
|
|
@@ -127,23 +127,23 @@ function Ss(r) {
|
|
|
127
127
|
let x;
|
|
128
128
|
e[26] !== l || e[27] !== F ? (x = /* @__PURE__ */ N($t, { reuseMaps: !0, mapStyle: l, onLoad: F, onRender: ws }), e[26] = l, e[27] = F, e[28] = x) : x = e[28];
|
|
129
129
|
let A;
|
|
130
|
-
return e[29] !== h || e[30] !== t || e[31] !== s || e[32] !== n || e[33] !== o || e[34] !== y || e[35] !== f || e[36] !== x || e[37] !== S || e[38] !==
|
|
130
|
+
return e[29] !== h || e[30] !== t || e[31] !== s || e[32] !== n || e[33] !== o || e[34] !== y || e[35] !== f || e[36] !== x || e[37] !== S || e[38] !== M || e[39] !== w || e[40] !== E ? (A = /* @__PURE__ */ N(Rt, { children: /* @__PURE__ */ N("div", { className: "deckgl-map", children: /* @__PURE__ */ ft(Ut, { controller: t, id: o, ref: S, layers: h, getCursor: s, getTooltip: n, onLoad: M, onViewStateChange: y, parameters: w, ...f, children: [
|
|
131
131
|
E,
|
|
132
132
|
x
|
|
133
|
-
] }) }) }), e[29] = h, e[30] = t, e[31] = s, e[32] = n, e[33] = o, e[34] = y, e[35] = f, e[36] = x, e[37] = S, e[38] =
|
|
133
|
+
] }) }) }), e[29] = h, e[30] = t, e[31] = s, e[32] = n, e[33] = o, e[34] = y, e[35] = f, e[36] = x, e[37] = S, e[38] = M, e[39] = w, e[40] = E, e[41] = A) : A = e[41], A;
|
|
134
134
|
}
|
|
135
135
|
function ws() {
|
|
136
136
|
const r = document.querySelector(".maplibregl-compact-show");
|
|
137
137
|
r == null || r.classList.remove("maplibregl-compact-show");
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function Ms(r) {
|
|
140
140
|
const {
|
|
141
141
|
type: e,
|
|
142
142
|
props: t
|
|
143
143
|
} = r;
|
|
144
144
|
return new e(t);
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function Ts(r) {
|
|
147
147
|
return !!(r != null && r.type);
|
|
148
148
|
}
|
|
149
149
|
function Es(r) {
|
|
@@ -158,7 +158,7 @@ function Es(r) {
|
|
|
158
158
|
const _s = (r) => {
|
|
159
159
|
const e = D(9);
|
|
160
160
|
let t, s;
|
|
161
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (s = new
|
|
161
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (s = new jt({
|
|
162
162
|
interleaved: !0
|
|
163
163
|
}), e[0] = s) : s = e[0], t = s;
|
|
164
164
|
const n = t, o = pt();
|
|
@@ -191,7 +191,7 @@ function Ps({
|
|
|
191
191
|
onViewStateChange: y,
|
|
192
192
|
...p
|
|
193
193
|
}) {
|
|
194
|
-
var b,
|
|
194
|
+
var b, T, u, h, S;
|
|
195
195
|
z(() => {
|
|
196
196
|
c({
|
|
197
197
|
type: "load",
|
|
@@ -201,27 +201,27 @@ function Ps({
|
|
|
201
201
|
value: !1
|
|
202
202
|
});
|
|
203
203
|
}, [c]);
|
|
204
|
-
const g = oe(() => s.filter((
|
|
205
|
-
type:
|
|
204
|
+
const g = oe(() => s.filter((M) => !!(M != null && M.type)).map(({
|
|
205
|
+
type: M,
|
|
206
206
|
props: w
|
|
207
|
-
}) => new
|
|
207
|
+
}) => new M(w)), [s]), f = Q(({
|
|
208
208
|
detail: {
|
|
209
|
-
center:
|
|
209
|
+
center: M,
|
|
210
210
|
zoom: w,
|
|
211
211
|
heading: E,
|
|
212
212
|
tilt: F
|
|
213
213
|
}
|
|
214
214
|
}) => ({
|
|
215
|
-
latitude:
|
|
216
|
-
longitude:
|
|
215
|
+
latitude: M.lat,
|
|
216
|
+
longitude: M.lng,
|
|
217
217
|
zoom: w - 1,
|
|
218
218
|
bearing: E,
|
|
219
219
|
pitch: F
|
|
220
|
-
}), []), m = Q((
|
|
220
|
+
}), []), m = Q((M) => {
|
|
221
221
|
const w = e == null ? void 0 : e.current, E = w == null ? void 0 : w._deck, F = {
|
|
222
222
|
// @ts-expect-error accessing protected props
|
|
223
223
|
...E == null ? void 0 : E.viewState,
|
|
224
|
-
...
|
|
224
|
+
...M
|
|
225
225
|
}, x = {
|
|
226
226
|
latitude: F.latitude,
|
|
227
227
|
longitude: F.longitude,
|
|
@@ -239,15 +239,15 @@ function Ps({
|
|
|
239
239
|
}
|
|
240
240
|
});
|
|
241
241
|
}, [e, y]);
|
|
242
|
-
return /* @__PURE__ */ N(Bt, { apiKey: n, ...o, children: /* @__PURE__ */ N("div", { className: "deckgl-map", children: /* @__PURE__ */ ft(
|
|
242
|
+
return /* @__PURE__ */ N(Bt, { apiKey: n, ...o, children: /* @__PURE__ */ N("div", { className: "deckgl-map", children: /* @__PURE__ */ ft(qt, { id: r, mapTypeId: t, disableDefaultUI: !0, gestureHandling: "greedy", ...i, center: {
|
|
243
243
|
lat: ((b = p.initialViewState) == null ? void 0 : b.latitude) ?? 0,
|
|
244
|
-
lng: ((
|
|
244
|
+
lng: ((T = p.initialViewState) == null ? void 0 : T.longitude) ?? 0
|
|
245
245
|
}, zoom: (((u = p.initialViewState) == null ? void 0 : u.zoom) ?? 0) + 1, tilt: (h = p.initialViewState) == null ? void 0 : h.pitch, heading: (S = p.initialViewState) == null ? void 0 : S.bearing, onTilesLoaded: () => {
|
|
246
246
|
c({
|
|
247
247
|
type: "load",
|
|
248
248
|
value: !0
|
|
249
249
|
}), m(p.initialViewState);
|
|
250
|
-
}, onBoundsChanged: (
|
|
250
|
+
}, onBoundsChanged: (M) => m(f(M)), onZoomChanged: (M) => m(f(M)), children: [
|
|
251
251
|
/* @__PURE__ */ N(Ls, { id: r, overlayRef: a }),
|
|
252
252
|
/* @__PURE__ */ N(_s, { id: r, instanceRef: e, layers: g, onLoad: () => {
|
|
253
253
|
c({
|
|
@@ -286,42 +286,42 @@ function Os(r) {
|
|
|
286
286
|
onViewStateChange: f,
|
|
287
287
|
...i
|
|
288
288
|
} = r, e[0] = r, e[1] = t, e[2] = s, e[3] = n, e[4] = o, e[5] = i, e[6] = a, e[7] = l, e[8] = c, e[9] = y, e[10] = p, e[11] = g, e[12] = f) : (t = e[1], s = e[2], n = e[3], o = e[4], i = e[5], a = e[6], l = e[7], c = e[8], y = e[9], p = e[10], g = e[11], f = e[12]);
|
|
289
|
-
const m = a === void 0 ? J.positron : a, b = l === void 0 ? !0 : l,
|
|
289
|
+
const m = a === void 0 ? J.positron : a, b = l === void 0 ? !0 : l, T = c === void 0 ? "deck-gl-map" : c;
|
|
290
290
|
let u;
|
|
291
291
|
e[13] !== y ? (u = y === void 0 ? [] : y, e[13] = y, e[14] = u) : u = e[14];
|
|
292
|
-
const h = u, S = p === void 0 ? bs : p,
|
|
292
|
+
const h = u, S = p === void 0 ? bs : p, M = g === void 0 ? vs : g, w = f === void 0 ? Cs : f;
|
|
293
293
|
let E;
|
|
294
294
|
e[15] === Symbol.for("react.memo_cache_sentinel") ? (E = [!1, !1], e[15] = E) : E = e[15];
|
|
295
295
|
const [F, x] = se(E);
|
|
296
296
|
let A;
|
|
297
297
|
e[16] !== F ? (A = F.every(Fs), e[16] = F, e[17] = A) : A = e[17];
|
|
298
|
-
const
|
|
298
|
+
const q = A, {
|
|
299
299
|
url: B,
|
|
300
300
|
type: U
|
|
301
301
|
} = ye[m], _ = U === te.googleMaps;
|
|
302
|
-
let
|
|
303
|
-
e[18] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
302
|
+
let C;
|
|
303
|
+
e[18] === Symbol.for("react.memo_cache_sentinel") ? (C = (L) => {
|
|
304
304
|
const O = L.type === "deckgl" ? 0 : 1;
|
|
305
305
|
x((H) => H.map((W, K) => K === O ? L.value : W));
|
|
306
|
-
}, e[18] =
|
|
307
|
-
const d =
|
|
306
|
+
}, e[18] = C) : C = e[18];
|
|
307
|
+
const d = C;
|
|
308
308
|
let v, P;
|
|
309
|
-
if (e[19] !==
|
|
310
|
-
n == null || n(
|
|
311
|
-
}, P = [
|
|
309
|
+
if (e[19] !== q || e[20] !== n ? (v = () => {
|
|
310
|
+
n == null || n(q);
|
|
311
|
+
}, P = [q, n], e[19] = q, e[20] = n, e[21] = v, e[22] = P) : (v = e[21], P = e[22]), z(v, P), _) {
|
|
312
312
|
let L;
|
|
313
|
-
return e[23] !== m || e[24] !== b || e[25] !== S || e[26] !==
|
|
313
|
+
return e[23] !== m || e[24] !== b || e[25] !== S || e[26] !== M || e[27] !== t || e[28] !== T || e[29] !== s || e[30] !== h || e[31] !== w || e[32] !== o || e[33] !== i ? (L = /* @__PURE__ */ N(Ps, { instanceRef: s, overlayRef: o, controller: b, id: T, basemap: m, layers: h, gmapsProps: t, getCursor: S, getTooltip: M, onLoad: d, onViewStateChange: w, ...i }), e[23] = m, e[24] = b, e[25] = S, e[26] = M, e[27] = t, e[28] = T, e[29] = s, e[30] = h, e[31] = w, e[32] = o, e[33] = i, e[34] = L) : L = e[34], L;
|
|
314
314
|
}
|
|
315
|
-
let
|
|
316
|
-
return e[35] !== b || e[36] !== S || e[37] !==
|
|
315
|
+
let k;
|
|
316
|
+
return e[35] !== b || e[36] !== S || e[37] !== M || e[38] !== T || e[39] !== s || e[40] !== h || e[41] !== B || e[42] !== w || e[43] !== o || e[44] !== i ? (k = /* @__PURE__ */ N(Ss, { instanceRef: s, overlayRef: o, controller: b, id: T, layers: h, mapStyle: B, getCursor: S, getTooltip: M, onLoad: d, onViewStateChange: w, ...i }), e[35] = b, e[36] = S, e[37] = M, e[38] = T, e[39] = s, e[40] = h, e[41] = B, e[42] = w, e[43] = o, e[44] = i, e[45] = k) : k = e[45], k;
|
|
317
317
|
}
|
|
318
318
|
function Fs(r) {
|
|
319
319
|
return r;
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function Cs() {
|
|
322
322
|
return null;
|
|
323
323
|
}
|
|
324
|
-
const
|
|
324
|
+
const ks = {
|
|
325
325
|
transitionDuration: "auto",
|
|
326
326
|
transitionInterpolator: new Vt({
|
|
327
327
|
curve: 2
|
|
@@ -522,7 +522,7 @@ const Cs = {
|
|
|
522
522
|
},
|
|
523
523
|
flyTo: (t, s, n = {}) => {
|
|
524
524
|
const o = e(), i = {
|
|
525
|
-
...
|
|
525
|
+
...ks,
|
|
526
526
|
...n == null ? void 0 : n.viewStateOptions
|
|
527
527
|
}, a = {
|
|
528
528
|
...s,
|
|
@@ -582,7 +582,7 @@ function $(r) {
|
|
|
582
582
|
throw new Error("Missing MapProvider in the tree");
|
|
583
583
|
return Qe(e, r);
|
|
584
584
|
}
|
|
585
|
-
function
|
|
585
|
+
function Qr(r) {
|
|
586
586
|
const e = D(9), {
|
|
587
587
|
children: t,
|
|
588
588
|
mapId: s
|
|
@@ -591,7 +591,7 @@ function zr(r) {
|
|
|
591
591
|
e[0] !== s ? (n = (y) => y.maps[s], e[0] = s, e[1] = n) : n = e[1];
|
|
592
592
|
const {
|
|
593
593
|
basemap: o
|
|
594
|
-
} = $(n), i = $(
|
|
594
|
+
} = $(n), i = $(qs);
|
|
595
595
|
let a;
|
|
596
596
|
e[2] !== s || e[3] !== i ? (a = (y) => i(s, y), e[2] = s, e[3] = i, e[4] = a) : a = e[4];
|
|
597
597
|
const l = a;
|
|
@@ -601,7 +601,7 @@ function zr(r) {
|
|
|
601
601
|
setBasemap: l
|
|
602
602
|
}), e[5] = o, e[6] = t, e[7] = l, e[8] = c) : c = e[8], c;
|
|
603
603
|
}
|
|
604
|
-
function
|
|
604
|
+
function qs(r) {
|
|
605
605
|
return r.setBasemap;
|
|
606
606
|
}
|
|
607
607
|
const Y = {
|
|
@@ -612,7 +612,7 @@ const Y = {
|
|
|
612
612
|
finish: "finish",
|
|
613
613
|
addPosition: "addPosition"
|
|
614
614
|
};
|
|
615
|
-
class
|
|
615
|
+
class js extends Nt {
|
|
616
616
|
constructor() {
|
|
617
617
|
super([new Ht(), new Gt()]);
|
|
618
618
|
}
|
|
@@ -659,7 +659,7 @@ const ce = "lassoLayer", Le = "maskLayer", Vs = {
|
|
|
659
659
|
}
|
|
660
660
|
}, Is = [new es({
|
|
661
661
|
filterSize: 1
|
|
662
|
-
})],
|
|
662
|
+
})], Me = {
|
|
663
663
|
id: Le,
|
|
664
664
|
operation: "mask",
|
|
665
665
|
pickable: !1,
|
|
@@ -685,7 +685,7 @@ const ce = "lassoLayer", Le = "maskLayer", Vs = {
|
|
|
685
685
|
},
|
|
686
686
|
edit: {
|
|
687
687
|
value: "edit",
|
|
688
|
-
mode:
|
|
688
|
+
mode: js
|
|
689
689
|
}
|
|
690
690
|
}, pe = mt((r) => ({
|
|
691
691
|
layers: {},
|
|
@@ -732,7 +732,7 @@ const ce = "lassoLayer", Le = "maskLayer", Vs = {
|
|
|
732
732
|
};
|
|
733
733
|
})
|
|
734
734
|
}));
|
|
735
|
-
var
|
|
735
|
+
var Te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
736
736
|
function wt(r) {
|
|
737
737
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
738
738
|
}
|
|
@@ -761,8 +761,8 @@ function Ns() {
|
|
|
761
761
|
return h.clone !== !1 && h.isMergeableObject(u) ? b(i(u), u, h) : u;
|
|
762
762
|
}
|
|
763
763
|
function l(u, h, S) {
|
|
764
|
-
return u.concat(h).map(function(
|
|
765
|
-
return a(
|
|
764
|
+
return u.concat(h).map(function(M) {
|
|
765
|
+
return a(M, S);
|
|
766
766
|
});
|
|
767
767
|
}
|
|
768
768
|
function c(u, h) {
|
|
@@ -790,31 +790,31 @@ function Ns() {
|
|
|
790
790
|
return g(u, h) && !(Object.hasOwnProperty.call(u, h) && Object.propertyIsEnumerable.call(u, h));
|
|
791
791
|
}
|
|
792
792
|
function m(u, h, S) {
|
|
793
|
-
var
|
|
793
|
+
var M = {};
|
|
794
794
|
return S.isMergeableObject(u) && p(u).forEach(function(w) {
|
|
795
|
-
|
|
795
|
+
M[w] = a(u[w], S);
|
|
796
796
|
}), p(h).forEach(function(w) {
|
|
797
|
-
f(u, w) || (g(u, w) && S.isMergeableObject(h[w]) ?
|
|
798
|
-
}),
|
|
797
|
+
f(u, w) || (g(u, w) && S.isMergeableObject(h[w]) ? M[w] = c(w, S)(u[w], h[w], S) : M[w] = a(h[w], S));
|
|
798
|
+
}), M;
|
|
799
799
|
}
|
|
800
800
|
function b(u, h, S) {
|
|
801
801
|
S = S || {}, S.arrayMerge = S.arrayMerge || l, S.isMergeableObject = S.isMergeableObject || r, S.cloneUnlessOtherwiseSpecified = a;
|
|
802
|
-
var
|
|
803
|
-
return E ?
|
|
802
|
+
var M = Array.isArray(h), w = Array.isArray(u), E = M === w;
|
|
803
|
+
return E ? M ? S.arrayMerge(u, h, S) : m(u, h, S) : a(h, S);
|
|
804
804
|
}
|
|
805
805
|
b.all = function(h, S) {
|
|
806
806
|
if (!Array.isArray(h))
|
|
807
807
|
throw new Error("first argument should be an array");
|
|
808
|
-
return h.reduce(function(
|
|
809
|
-
return b(
|
|
808
|
+
return h.reduce(function(M, w) {
|
|
809
|
+
return b(M, w, S);
|
|
810
810
|
}, {});
|
|
811
811
|
};
|
|
812
|
-
var
|
|
813
|
-
return Be =
|
|
812
|
+
var T = b;
|
|
813
|
+
return Be = T, Be;
|
|
814
814
|
}
|
|
815
815
|
var Hs = Ns();
|
|
816
816
|
const ue = /* @__PURE__ */ wt(Hs), tt = ["anyclick", "pointermove", "panstart", "panmove", "panend", "keyup"];
|
|
817
|
-
class
|
|
817
|
+
class Mt extends Kt {
|
|
818
818
|
updateState({
|
|
819
819
|
props: e,
|
|
820
820
|
oldProps: t,
|
|
@@ -856,7 +856,7 @@ function Gs({
|
|
|
856
856
|
}) {
|
|
857
857
|
const t = zs(e);
|
|
858
858
|
return {
|
|
859
|
-
type:
|
|
859
|
+
type: Mt,
|
|
860
860
|
props: {
|
|
861
861
|
...t,
|
|
862
862
|
mode: r
|
|
@@ -983,7 +983,7 @@ const Qs = (r) => ze()((e) => ({
|
|
|
983
983
|
}
|
|
984
984
|
}));
|
|
985
985
|
}
|
|
986
|
-
})),
|
|
986
|
+
})), Tt = He({});
|
|
987
987
|
function Ws(r) {
|
|
988
988
|
const e = D(5), {
|
|
989
989
|
children: t,
|
|
@@ -993,10 +993,10 @@ function Ws(r) {
|
|
|
993
993
|
e[0] !== s ? (n = () => Qs(s), e[0] = s, e[1] = n) : n = e[1];
|
|
994
994
|
const [o] = se(n);
|
|
995
995
|
let i;
|
|
996
|
-
return e[2] !== t || e[3] !== o ? (i = /* @__PURE__ */ N(
|
|
996
|
+
return e[2] !== t || e[3] !== o ? (i = /* @__PURE__ */ N(Tt.Provider, { value: o, children: t }), e[2] = t, e[3] = o, e[4] = i) : i = e[4], i;
|
|
997
997
|
}
|
|
998
998
|
function G(r) {
|
|
999
|
-
const e = Ge(
|
|
999
|
+
const e = Ge(Tt);
|
|
1000
1000
|
if (!Object.keys(e).length)
|
|
1001
1001
|
throw new Error("Missing LassoToolsProvider in the tree");
|
|
1002
1002
|
return Qe(e, r);
|
|
@@ -1029,16 +1029,16 @@ function Ks({
|
|
|
1029
1029
|
p
|
|
1030
1030
|
// , draw
|
|
1031
1031
|
] = oe(() => {
|
|
1032
|
-
const f = (
|
|
1032
|
+
const f = (T) => {
|
|
1033
1033
|
var u;
|
|
1034
1034
|
return {
|
|
1035
|
-
id:
|
|
1036
|
-
visible:
|
|
1037
|
-
label: (u =
|
|
1035
|
+
id: T.id,
|
|
1036
|
+
visible: T.properties.visible,
|
|
1037
|
+
label: (u = T.properties) == null ? void 0 : u.label
|
|
1038
1038
|
};
|
|
1039
1039
|
};
|
|
1040
1040
|
return [
|
|
1041
|
-
Object.values(n).filter((
|
|
1041
|
+
Object.values(n).filter((T) => T.type === "mask").map(f)
|
|
1042
1042
|
// , draw
|
|
1043
1043
|
];
|
|
1044
1044
|
}, [n]), g = Q((f) => {
|
|
@@ -1100,7 +1100,7 @@ function Oe({
|
|
|
1100
1100
|
...n
|
|
1101
1101
|
})}`;
|
|
1102
1102
|
}
|
|
1103
|
-
function
|
|
1103
|
+
function Wr(r, {
|
|
1104
1104
|
hasDoubleClickZoom: e
|
|
1105
1105
|
}) {
|
|
1106
1106
|
return typeof r == "boolean" ? {
|
|
@@ -1411,16 +1411,16 @@ const re = "mapMeasureLayer", Js = {
|
|
|
1411
1411
|
getLineWidth: 2
|
|
1412
1412
|
}
|
|
1413
1413
|
}
|
|
1414
|
-
},
|
|
1414
|
+
}, qe = {
|
|
1415
1415
|
editing: [23, 102, 214, 255],
|
|
1416
1416
|
finished: [71, 219, 153, 255],
|
|
1417
1417
|
point: [255, 255, 255, 255]
|
|
1418
1418
|
}, rt = {
|
|
1419
1419
|
styles: {
|
|
1420
1420
|
colors: {
|
|
1421
|
-
editing:
|
|
1422
|
-
finished:
|
|
1423
|
-
point:
|
|
1421
|
+
editing: qe.editing,
|
|
1422
|
+
finished: qe.finished,
|
|
1423
|
+
point: qe.point
|
|
1424
1424
|
}
|
|
1425
1425
|
}
|
|
1426
1426
|
}, V = {
|
|
@@ -1564,21 +1564,21 @@ function ln({
|
|
|
1564
1564
|
defaultType: o = "mask"
|
|
1565
1565
|
}) {
|
|
1566
1566
|
const i = G((_) => {
|
|
1567
|
-
var
|
|
1568
|
-
return (
|
|
1567
|
+
var C;
|
|
1568
|
+
return (C = _.data[e]) == null ? void 0 : C.enabled;
|
|
1569
1569
|
}), a = G((_) => _.setEnabled), l = G((_) => {
|
|
1570
|
-
var
|
|
1571
|
-
return (
|
|
1570
|
+
var C;
|
|
1571
|
+
return (C = _.data[e]) == null ? void 0 : C.values;
|
|
1572
1572
|
}), c = G((_) => _.setValue), y = G((_) => {
|
|
1573
|
-
var
|
|
1574
|
-
return (
|
|
1573
|
+
var C;
|
|
1574
|
+
return (C = _.data[e]) == null ? void 0 : C.modeInstance;
|
|
1575
1575
|
}), p = G((_) => {
|
|
1576
|
-
var
|
|
1577
|
-
return (
|
|
1576
|
+
var C;
|
|
1577
|
+
return (C = _.data[e]) == null ? void 0 : C.modeSelected;
|
|
1578
1578
|
}), g = pe((_) => _.setLayer), f = $((_) => _.addLayers), m = $((_) => _.removeLayers), b = $(ht((_) => {
|
|
1579
|
-
var
|
|
1580
|
-
return (
|
|
1581
|
-
})),
|
|
1579
|
+
var C;
|
|
1580
|
+
return (C = _.maps[e]) == null ? void 0 : C.layers.filter((d) => !an.includes(d));
|
|
1581
|
+
})), T = $((_) => _.getDeckInstance), u = _e({});
|
|
1582
1582
|
Lt({
|
|
1583
1583
|
mapId: e,
|
|
1584
1584
|
layerId: ce
|
|
@@ -1593,12 +1593,12 @@ function ln({
|
|
|
1593
1593
|
properties: _.properties,
|
|
1594
1594
|
id: _.id
|
|
1595
1595
|
}))
|
|
1596
|
-
}), [h]),
|
|
1596
|
+
}), [h]), M = oe(() => h.filter((_) => _.properties.visible).map((_) => _.id), [h]), [w, E] = se(S), [F, x] = se([]), A = Q(() => {
|
|
1597
1597
|
const _ = {
|
|
1598
1598
|
...S,
|
|
1599
|
-
features: S.features.filter((
|
|
1599
|
+
features: S.features.filter((C) => {
|
|
1600
1600
|
var d;
|
|
1601
|
-
return (d =
|
|
1601
|
+
return (d = C.properties) == null ? void 0 : d.visible;
|
|
1602
1602
|
})
|
|
1603
1603
|
};
|
|
1604
1604
|
E(_);
|
|
@@ -1606,7 +1606,7 @@ function ln({
|
|
|
1606
1606
|
z(() => {
|
|
1607
1607
|
A();
|
|
1608
1608
|
}, [A]);
|
|
1609
|
-
const
|
|
1609
|
+
const q = _e(h.length);
|
|
1610
1610
|
z(() => (f(e, [ce]), () => {
|
|
1611
1611
|
m(e, [ce]);
|
|
1612
1612
|
}), [f, e, m]);
|
|
@@ -1614,15 +1614,15 @@ function ln({
|
|
|
1614
1614
|
A(), x([]), a(e, !1);
|
|
1615
1615
|
}, [e, A, a]), U = Q(({
|
|
1616
1616
|
editType: _,
|
|
1617
|
-
updatedData:
|
|
1617
|
+
updatedData: C
|
|
1618
1618
|
}) => {
|
|
1619
1619
|
if (_ === Y.cancel) {
|
|
1620
1620
|
B();
|
|
1621
1621
|
return;
|
|
1622
1622
|
}
|
|
1623
|
-
E(
|
|
1624
|
-
var
|
|
1625
|
-
(
|
|
1623
|
+
E(C), _ !== Y.updateTentativeFeature && _ === Y.addFeature && (p !== "edit" && (q.current = q.current + 1), C.features.forEach((d, v) => {
|
|
1624
|
+
var k;
|
|
1625
|
+
(k = d.properties).label ?? (k.label = `${s == null ? void 0 : s.mask} ${q.current}`), d.properties.index = v, d.properties.visible = d.properties.visible ?? !0;
|
|
1626
1626
|
const P = d.id ?? crypto.randomUUID();
|
|
1627
1627
|
c(e, P, {
|
|
1628
1628
|
geometry: d.geometry,
|
|
@@ -1634,12 +1634,12 @@ function ln({
|
|
|
1634
1634
|
}, [o, B, s == null ? void 0 : s.mask, e, p, c]);
|
|
1635
1635
|
return z(() => {
|
|
1636
1636
|
const _ = i, {
|
|
1637
|
-
border:
|
|
1637
|
+
border: C,
|
|
1638
1638
|
point: d,
|
|
1639
1639
|
fill: v
|
|
1640
1640
|
} = t.colors.editing, {
|
|
1641
1641
|
border: P,
|
|
1642
|
-
fill:
|
|
1642
|
+
fill: k
|
|
1643
1643
|
} = t.colors.finished, L = Gs({
|
|
1644
1644
|
layerProps: {
|
|
1645
1645
|
...n.mask,
|
|
@@ -1647,53 +1647,53 @@ function ln({
|
|
|
1647
1647
|
data: w,
|
|
1648
1648
|
selectedFeatureIndexes: F,
|
|
1649
1649
|
updateTriggers: {
|
|
1650
|
-
getFilterValue:
|
|
1650
|
+
getFilterValue: M
|
|
1651
1651
|
},
|
|
1652
1652
|
onClick: (O) => {
|
|
1653
1653
|
const H = O;
|
|
1654
1654
|
H.isGuide || x([H.index]);
|
|
1655
1655
|
}
|
|
1656
1656
|
},
|
|
1657
|
-
getLineColor: (O) => F[0] === O.properties.index ?
|
|
1658
|
-
getFillColor: (O) => F[0] === O.properties.index ? v :
|
|
1657
|
+
getLineColor: (O) => F[0] === O.properties.index ? C : P,
|
|
1658
|
+
getFillColor: (O) => F[0] === O.properties.index ? v : k,
|
|
1659
1659
|
pointColor: {
|
|
1660
1660
|
fill: d,
|
|
1661
|
-
outline:
|
|
1661
|
+
outline: C
|
|
1662
1662
|
},
|
|
1663
1663
|
onEdit: U,
|
|
1664
1664
|
mode: _ ? y : new Jt()
|
|
1665
1665
|
});
|
|
1666
1666
|
g(ce, L);
|
|
1667
|
-
}, [w, i, n.mask,
|
|
1667
|
+
}, [w, i, n.mask, M, y, U, F, g, t.colors.editing, t.colors.finished]), z(() => {
|
|
1668
1668
|
const _ = {
|
|
1669
|
-
...
|
|
1669
|
+
...Me,
|
|
1670
1670
|
data: S,
|
|
1671
|
-
getFilterValue: (
|
|
1671
|
+
getFilterValue: (C) => Number(M.includes(C.id)),
|
|
1672
1672
|
updateTriggers: {
|
|
1673
|
-
getFilterValue:
|
|
1673
|
+
getFilterValue: M
|
|
1674
1674
|
}
|
|
1675
1675
|
};
|
|
1676
|
-
return g(
|
|
1676
|
+
return g(Me.id, {
|
|
1677
1677
|
type: ns,
|
|
1678
1678
|
props: _
|
|
1679
|
-
}), f(e, [
|
|
1680
|
-
m(e, [
|
|
1679
|
+
}), f(e, [Me.id]), () => {
|
|
1680
|
+
m(e, [Me.id]);
|
|
1681
1681
|
};
|
|
1682
|
-
}, [f, e, S,
|
|
1682
|
+
}, [f, e, S, M, m, g]), z(() => {
|
|
1683
1683
|
b == null || b.forEach((_) => {
|
|
1684
1684
|
var v;
|
|
1685
|
-
const
|
|
1686
|
-
i && (u.current[_] =
|
|
1687
|
-
const d = !i && (u.current[_] ?? (
|
|
1685
|
+
const C = (v = T(e)) == null ? void 0 : v.props.layers.find((P) => P.props.id === _);
|
|
1686
|
+
i && (u.current[_] = C == null ? void 0 : C.props.pickable);
|
|
1687
|
+
const d = !i && (u.current[_] ?? (C == null ? void 0 : C.props.pickable));
|
|
1688
1688
|
g(_, {
|
|
1689
1689
|
props: {
|
|
1690
1690
|
pickable: d,
|
|
1691
1691
|
extensions: [new ts()],
|
|
1692
|
-
maskId: !i &&
|
|
1692
|
+
maskId: !i && M.length ? Le : void 0
|
|
1693
1693
|
}
|
|
1694
1694
|
});
|
|
1695
1695
|
});
|
|
1696
|
-
}, [i,
|
|
1696
|
+
}, [i, T, e, b, M.length, g]), r;
|
|
1697
1697
|
}
|
|
1698
1698
|
ln.Controls = Ks;
|
|
1699
1699
|
function cn({
|
|
@@ -1705,7 +1705,7 @@ function cn({
|
|
|
1705
1705
|
...e
|
|
1706
1706
|
});
|
|
1707
1707
|
return {
|
|
1708
|
-
type:
|
|
1708
|
+
type: Mt,
|
|
1709
1709
|
props: {
|
|
1710
1710
|
...t,
|
|
1711
1711
|
mode: r,
|
|
@@ -1928,13 +1928,13 @@ function Ft(r) {
|
|
|
1928
1928
|
const f = I(g);
|
|
1929
1929
|
let m;
|
|
1930
1930
|
e[11] !== t ? (m = (R) => R.measurements[t].enabled, e[11] = t, e[12] = m) : m = e[12];
|
|
1931
|
-
const b = I(m),
|
|
1931
|
+
const b = I(m), T = I(vn);
|
|
1932
1932
|
let u;
|
|
1933
|
-
e[13] !==
|
|
1933
|
+
e[13] !== T || e[14] !== t ? (u = (R) => T(t, R), e[13] = T, e[14] = t, e[15] = u) : u = e[15];
|
|
1934
1934
|
const h = u;
|
|
1935
1935
|
let S;
|
|
1936
1936
|
e[16] !== t ? (S = (R) => R.measurements[t].modeSelected, e[16] = t, e[17] = S) : S = e[17];
|
|
1937
|
-
const
|
|
1937
|
+
const M = I(S), w = I(bn);
|
|
1938
1938
|
let E;
|
|
1939
1939
|
e[18] !== w || e[19] !== t || e[20] !== h ? (E = (R) => {
|
|
1940
1940
|
h(!!R), w(t, R);
|
|
@@ -1942,34 +1942,34 @@ function Ft(r) {
|
|
|
1942
1942
|
const F = E;
|
|
1943
1943
|
let x;
|
|
1944
1944
|
e[22] !== t ? (x = (R) => R.measurements[t].finished, e[22] = t, e[23] = x) : x = e[23];
|
|
1945
|
-
const A = I(x),
|
|
1945
|
+
const A = I(x), q = I(gn);
|
|
1946
1946
|
let B;
|
|
1947
|
-
e[24] !==
|
|
1947
|
+
e[24] !== q || e[25] !== t ? (B = (R) => q(t, R), e[24] = q, e[25] = t, e[26] = B) : B = e[26];
|
|
1948
1948
|
const U = B;
|
|
1949
1949
|
let _;
|
|
1950
1950
|
e[27] !== t ? (_ = (R) => R.measurements[t].locale, e[27] = t, e[28] = _) : _ = e[28];
|
|
1951
|
-
const
|
|
1951
|
+
const C = I(_), d = I(hn);
|
|
1952
1952
|
let v;
|
|
1953
1953
|
e[29] !== d || e[30] !== t ? (v = (R) => d(t, R), e[29] = d, e[30] = t, e[31] = v) : v = e[31];
|
|
1954
1954
|
const P = v;
|
|
1955
|
-
let
|
|
1956
|
-
e[32] !== t ? (
|
|
1957
|
-
const L = I(
|
|
1955
|
+
let k;
|
|
1956
|
+
e[32] !== t ? (k = (R) => R.measurements[t].modeInstance, e[32] = t, e[33] = k) : k = e[33];
|
|
1957
|
+
const L = I(k), O = I(yn);
|
|
1958
1958
|
let H;
|
|
1959
1959
|
e[34] !== O || e[35] !== t ? (H = (R) => O(t, R), e[34] = O, e[35] = t, e[36] = H) : H = e[36];
|
|
1960
1960
|
const W = H;
|
|
1961
1961
|
let K;
|
|
1962
1962
|
e[37] !== t ? (K = (R) => R.measurements[t].positions, e[37] = t, e[38] = K) : K = e[38];
|
|
1963
|
-
const
|
|
1963
|
+
const j = I(K), X = I(mn);
|
|
1964
1964
|
let he;
|
|
1965
1965
|
e[39] !== X || e[40] !== t ? (he = (R) => X(t, R), e[39] = X, e[40] = t, e[41] = he) : he = e[41];
|
|
1966
1966
|
const fe = he;
|
|
1967
1967
|
let ge;
|
|
1968
1968
|
e[42] !== t ? (ge = (R) => R.measurements[t].unit, e[42] = t, e[43] = ge) : ge = e[43];
|
|
1969
|
-
const Fe = I(ge),
|
|
1969
|
+
const Fe = I(ge), Ce = I(pn);
|
|
1970
1970
|
let be;
|
|
1971
|
-
e[44] !==
|
|
1972
|
-
const
|
|
1971
|
+
e[44] !== Ce || e[45] !== t ? (be = (R) => Ce(t, R), e[44] = Ce, e[45] = t, e[46] = be) : be = e[46];
|
|
1972
|
+
const ke = be;
|
|
1973
1973
|
let ve;
|
|
1974
1974
|
e[47] !== L || e[48] !== fe ? (ve = () => {
|
|
1975
1975
|
L == null || L.resetClickSequence(), fe([]);
|
|
@@ -1981,29 +1981,29 @@ function Ft(r) {
|
|
|
1981
1981
|
}, e[50] = h, e[51] = Se) : Se = e[51];
|
|
1982
1982
|
const De = Se;
|
|
1983
1983
|
let we;
|
|
1984
|
-
return e[52] !== Ae || e[53] !== f || e[54] !== l || e[55] !== b || e[56] !== A || e[57] !==
|
|
1984
|
+
return e[52] !== Ae || e[53] !== f || e[54] !== l || e[55] !== b || e[56] !== A || e[57] !== C || e[58] !== L || e[59] !== M || e[60] !== n || e[61] !== j || e[62] !== p || e[63] !== h || e[64] !== U || e[65] !== P || e[66] !== W || e[67] !== F || e[68] !== fe || e[69] !== ke || e[70] !== De || e[71] !== Fe || e[72] !== i ? (we = {
|
|
1985
1985
|
modes: n,
|
|
1986
1986
|
units: i,
|
|
1987
1987
|
distance: l,
|
|
1988
1988
|
clearLayerOnStart: f,
|
|
1989
|
-
modeSelected:
|
|
1989
|
+
modeSelected: M,
|
|
1990
1990
|
enabled: b,
|
|
1991
1991
|
finished: A,
|
|
1992
|
-
locale:
|
|
1992
|
+
locale: C,
|
|
1993
1993
|
modeInstance: L,
|
|
1994
|
-
positions:
|
|
1994
|
+
positions: j,
|
|
1995
1995
|
unit: Fe,
|
|
1996
1996
|
setDistance: p,
|
|
1997
1997
|
setModeSelected: F,
|
|
1998
1998
|
setFinished: U,
|
|
1999
1999
|
setLocale: P,
|
|
2000
2000
|
setPositions: fe,
|
|
2001
|
-
setUnit:
|
|
2001
|
+
setUnit: ke,
|
|
2002
2002
|
setEnabled: h,
|
|
2003
2003
|
toggleLayer: De,
|
|
2004
2004
|
clearLayer: Ae,
|
|
2005
2005
|
setModeInstance: W
|
|
2006
|
-
}, e[52] = Ae, e[53] = f, e[54] = l, e[55] = b, e[56] = A, e[57] =
|
|
2006
|
+
}, e[52] = Ae, e[53] = f, e[54] = l, e[55] = b, e[56] = A, e[57] = C, e[58] = L, e[59] = M, e[60] = n, e[61] = j, e[62] = p, e[63] = h, e[64] = U, e[65] = P, e[66] = W, e[67] = F, e[68] = fe, e[69] = ke, e[70] = De, e[71] = Fe, e[72] = i, e[73] = we) : we = e[73], we;
|
|
2007
2007
|
}
|
|
2008
2008
|
function pn(r) {
|
|
2009
2009
|
return r.setUnit;
|
|
@@ -2050,37 +2050,37 @@ function wn(r) {
|
|
|
2050
2050
|
enabled: f,
|
|
2051
2051
|
setEnabled: m,
|
|
2052
2052
|
finished: b,
|
|
2053
|
-
setFinished:
|
|
2053
|
+
setFinished: T,
|
|
2054
2054
|
locale: u,
|
|
2055
2055
|
setLocale: h,
|
|
2056
2056
|
modeInstance: S,
|
|
2057
|
-
setModeInstance:
|
|
2057
|
+
setModeInstance: M,
|
|
2058
2058
|
positions: w,
|
|
2059
2059
|
setPositions: E,
|
|
2060
2060
|
unit: F,
|
|
2061
2061
|
setUnit: x,
|
|
2062
2062
|
clearLayer: A,
|
|
2063
|
-
toggleLayer:
|
|
2063
|
+
toggleLayer: q
|
|
2064
2064
|
} = Ft(o);
|
|
2065
2065
|
let B;
|
|
2066
|
-
e[2] !== p || e[3] !== i || e[4] !==
|
|
2066
|
+
e[2] !== p || e[3] !== i || e[4] !== M || e[5] !== E ? (B = () => {
|
|
2067
2067
|
if (p && i[p]) {
|
|
2068
2068
|
const P = i[p].mode;
|
|
2069
|
-
|
|
2069
|
+
M(new P());
|
|
2070
2070
|
}
|
|
2071
2071
|
return () => {
|
|
2072
2072
|
E([]);
|
|
2073
2073
|
};
|
|
2074
|
-
}, e[2] = p, e[3] = i, e[4] =
|
|
2074
|
+
}, e[2] = p, e[3] = i, e[4] = M, e[5] = E, e[6] = B) : B = e[6];
|
|
2075
2075
|
let U;
|
|
2076
|
-
e[7] !== p || e[8] !== i || e[9] !== m || e[10] !==
|
|
2076
|
+
e[7] !== p || e[8] !== i || e[9] !== m || e[10] !== M || e[11] !== E ? (U = [i, p, E, M, m], e[7] = p, e[8] = i, e[9] = m, e[10] = M, e[11] = E, e[12] = U) : U = e[12], z(B, U);
|
|
2077
2077
|
let _;
|
|
2078
|
-
e[13] !==
|
|
2079
|
-
P && (y || !b) && A(),
|
|
2080
|
-
}, e[13] =
|
|
2081
|
-
const
|
|
2078
|
+
e[13] !== q || e[14] !== A || e[15] !== y || e[16] !== b ? (_ = (P) => {
|
|
2079
|
+
P && (y || !b) && A(), q(P);
|
|
2080
|
+
}, e[13] = q, e[14] = A, e[15] = y, e[16] = b, e[17] = _) : _ = e[17];
|
|
2081
|
+
const C = _, d = !!y;
|
|
2082
2082
|
let v;
|
|
2083
|
-
return e[18] !== n || e[19] !== A || e[20] !== l || e[21] !== f || e[22] !== b || e[23] !== u || e[24] !== t || e[25] !== S || e[26] !== p || e[27] !== i || e[28] !== w || e[29] !== c || e[30] !== m || e[31] !==
|
|
2083
|
+
return e[18] !== n || e[19] !== A || e[20] !== l || e[21] !== f || e[22] !== b || e[23] !== u || e[24] !== t || e[25] !== S || e[26] !== p || e[27] !== i || e[28] !== w || e[29] !== c || e[30] !== m || e[31] !== T || e[32] !== h || e[33] !== g || e[34] !== E || e[35] !== x || e[36] !== d || e[37] !== s || e[38] !== C || e[39] !== F || e[40] !== a ? (v = n({
|
|
2084
2084
|
mapId: t,
|
|
2085
2085
|
distance: l,
|
|
2086
2086
|
enabled: f,
|
|
@@ -2101,17 +2101,17 @@ function wn(r) {
|
|
|
2101
2101
|
modeInstance: S,
|
|
2102
2102
|
setModeSelected: g,
|
|
2103
2103
|
setDistance: c,
|
|
2104
|
-
setFinished:
|
|
2104
|
+
setFinished: T,
|
|
2105
2105
|
setLocale: h,
|
|
2106
2106
|
setPositions: E,
|
|
2107
2107
|
setUnit: x,
|
|
2108
2108
|
setEnabled: m,
|
|
2109
|
-
toggleLayer:
|
|
2109
|
+
toggleLayer: C,
|
|
2110
2110
|
clearLayer: A
|
|
2111
|
-
}), e[18] = n, e[19] = A, e[20] = l, e[21] = f, e[22] = b, e[23] = u, e[24] = t, e[25] = S, e[26] = p, e[27] = i, e[28] = w, e[29] = c, e[30] = m, e[31] =
|
|
2111
|
+
}), e[18] = n, e[19] = A, e[20] = l, e[21] = f, e[22] = b, e[23] = u, e[24] = t, e[25] = S, e[26] = p, e[27] = i, e[28] = w, e[29] = c, e[30] = m, e[31] = T, e[32] = h, e[33] = g, e[34] = E, e[35] = x, e[36] = d, e[37] = s, e[38] = C, e[39] = F, e[40] = a, e[41] = v) : v = e[41], v;
|
|
2112
2112
|
}
|
|
2113
|
-
const
|
|
2114
|
-
function
|
|
2113
|
+
const Mn = [re];
|
|
2114
|
+
function Tn({
|
|
2115
2115
|
children: r,
|
|
2116
2116
|
mapId: e,
|
|
2117
2117
|
defaultProps: {
|
|
@@ -2134,16 +2134,16 @@ function Mn({
|
|
|
2134
2134
|
modeInstance: f
|
|
2135
2135
|
} = Ft({
|
|
2136
2136
|
mapId: e
|
|
2137
|
-
}), m = pe((w) => w.setLayer), b = $((w) => w.addLayers),
|
|
2137
|
+
}), m = pe((w) => w.setLayer), b = $((w) => w.addLayers), T = $((w) => w.removeLayers), u = $(ht((w) => {
|
|
2138
2138
|
var E;
|
|
2139
|
-
return (E = w.maps[e]) == null ? void 0 : E.layers.filter((F) => !
|
|
2139
|
+
return (E = w.maps[e]) == null ? void 0 : E.layers.filter((F) => !Mn.includes(F));
|
|
2140
2140
|
})), h = $((w) => w.getDeckInstance), S = _e({});
|
|
2141
2141
|
Lt({
|
|
2142
2142
|
mapId: e,
|
|
2143
2143
|
layerId: re
|
|
2144
2144
|
}), z(() => (a && b(e, [re]), () => {
|
|
2145
|
-
|
|
2146
|
-
}), [b, i, e,
|
|
2145
|
+
T(e, [re]);
|
|
2146
|
+
}), [b, i, e, T, a]), z(() => {
|
|
2147
2147
|
u == null || u.forEach((w) => {
|
|
2148
2148
|
var x;
|
|
2149
2149
|
const E = (x = h(e)) == null ? void 0 : x.props.layers.find((A) => A.props.id === w);
|
|
@@ -2156,7 +2156,7 @@ function Mn({
|
|
|
2156
2156
|
});
|
|
2157
2157
|
});
|
|
2158
2158
|
}, [a, h, e, u, m]);
|
|
2159
|
-
const
|
|
2159
|
+
const M = Q(({
|
|
2160
2160
|
editType: w,
|
|
2161
2161
|
editContext: E
|
|
2162
2162
|
}) => {
|
|
@@ -2178,15 +2178,15 @@ function Mn({
|
|
|
2178
2178
|
guideColor: w,
|
|
2179
2179
|
pointColor: E,
|
|
2180
2180
|
locale: y,
|
|
2181
|
-
onEdit:
|
|
2181
|
+
onEdit: M,
|
|
2182
2182
|
unit: g,
|
|
2183
2183
|
mode: f,
|
|
2184
2184
|
textOptions: n
|
|
2185
2185
|
});
|
|
2186
2186
|
m(re, F);
|
|
2187
|
-
}, [l, f, s, y,
|
|
2187
|
+
}, [l, f, s, y, M, m, t.colors.editing, t.colors.finished, t.colors.point, n, g, a]), r;
|
|
2188
2188
|
}
|
|
2189
|
-
|
|
2189
|
+
Tn.Controls = wn;
|
|
2190
2190
|
function En(r) {
|
|
2191
2191
|
const e = D(7), {
|
|
2192
2192
|
mapId: t
|
|
@@ -2211,12 +2211,12 @@ function Pn(r) {
|
|
|
2211
2211
|
return r.layers;
|
|
2212
2212
|
}
|
|
2213
2213
|
const at = [Le, ce, re];
|
|
2214
|
-
function
|
|
2214
|
+
function Ct(r) {
|
|
2215
2215
|
const e = r.filter((s) => !at.includes(s.props.id)).sort((s, n) => (s.order ?? 1 / 0) - (n.order ?? 1 / 0)), t = at.map((s) => r.find((n) => n.props.id === s)).filter((s) => !!s);
|
|
2216
2216
|
return [...e, ...t];
|
|
2217
2217
|
}
|
|
2218
2218
|
const Ln = 200;
|
|
2219
|
-
function
|
|
2219
|
+
function Kr(r) {
|
|
2220
2220
|
const e = D(48);
|
|
2221
2221
|
let t, s, n, o;
|
|
2222
2222
|
e[0] !== r ? ({
|
|
@@ -2236,18 +2236,18 @@ function Wr(r) {
|
|
|
2236
2236
|
const p = $(y), g = _e(null);
|
|
2237
2237
|
let f;
|
|
2238
2238
|
e[11] !== t ? (f = (L) => L.viewStates[t], e[11] = t, e[12] = f) : f = e[12];
|
|
2239
|
-
const m = $(f), b = $(Dn),
|
|
2240
|
-
let
|
|
2241
|
-
e[13] !== t ? (
|
|
2239
|
+
const m = $(f), b = $(Dn), T = $(An), u = $(kn), h = $(Cn), S = $(Fn);
|
|
2240
|
+
let M;
|
|
2241
|
+
e[13] !== t ? (M = {
|
|
2242
2242
|
mapId: t
|
|
2243
|
-
}, e[13] = t, e[14] =
|
|
2244
|
-
const w = En(
|
|
2243
|
+
}, e[13] = t, e[14] = M) : M = e[14];
|
|
2244
|
+
const w = En(M);
|
|
2245
2245
|
let E, F;
|
|
2246
|
-
e[15] !== w ? (F =
|
|
2246
|
+
e[15] !== w ? (F = Ct(w), e[15] = w, e[16] = F) : F = e[16], E = F;
|
|
2247
2247
|
const x = E;
|
|
2248
2248
|
let A;
|
|
2249
|
-
e[17] !== t || e[18] !== n || e[19] !==
|
|
2250
|
-
const O =
|
|
2249
|
+
e[17] !== t || e[18] !== n || e[19] !== T || e[20] !== S ? (A = (L) => {
|
|
2250
|
+
const O = T;
|
|
2251
2251
|
if (g.current && clearInterval(g.current), g.current = setTimeout(() => {
|
|
2252
2252
|
S(t);
|
|
2253
2253
|
}, Ln), n) {
|
|
@@ -2255,8 +2255,8 @@ function Wr(r) {
|
|
|
2255
2255
|
return;
|
|
2256
2256
|
}
|
|
2257
2257
|
O(t, L.viewState);
|
|
2258
|
-
}, e[17] = t, e[18] = n, e[19] =
|
|
2259
|
-
const
|
|
2258
|
+
}, e[17] = t, e[18] = n, e[19] = T, e[20] = S, e[21] = A) : A = e[21];
|
|
2259
|
+
const q = A;
|
|
2260
2260
|
let B;
|
|
2261
2261
|
e[22] !== t || e[23] !== s || e[24] !== u || e[25] !== S ? (B = (L) => {
|
|
2262
2262
|
u(t, L), s == null || s(L), S(t);
|
|
@@ -2268,15 +2268,15 @@ function Wr(r) {
|
|
|
2268
2268
|
const O = (W = b(t)) == null ? void 0 : W.props.layers, H = !!(O != null && O.every(On));
|
|
2269
2269
|
h(t, H), (K = o.onAfterRender) == null || K.call(o, L);
|
|
2270
2270
|
}, e[27] = b, e[28] = t, e[29] = o, e[30] = h, e[31] = _) : _ = e[31];
|
|
2271
|
-
const
|
|
2271
|
+
const C = _, d = o.onDragEnd;
|
|
2272
2272
|
let v;
|
|
2273
2273
|
e[32] !== d || e[33] !== t || e[34] !== S ? (v = (...L) => {
|
|
2274
2274
|
const O = L;
|
|
2275
2275
|
S(t), d && d(...O);
|
|
2276
2276
|
}, e[32] = d, e[33] = t, e[34] = S, e[35] = v) : v = e[35];
|
|
2277
2277
|
const P = v;
|
|
2278
|
-
let
|
|
2279
|
-
return e[36] !== a || e[37] !== x || e[38] !==
|
|
2278
|
+
let k;
|
|
2279
|
+
return e[36] !== a || e[37] !== x || e[38] !== C || e[39] !== P || e[40] !== U || e[41] !== q || e[42] !== t || e[43] !== c || e[44] !== p || e[45] !== o || e[46] !== m ? (k = /* @__PURE__ */ N(Os, { ...o, id: t, layers: x, instanceRef: c, overlayRef: p, basemap: a, initialViewState: m, onLoad: U, onViewStateChange: q, onAfterRender: C, onDragEnd: P }), e[36] = a, e[37] = x, e[38] = C, e[39] = P, e[40] = U, e[41] = q, e[42] = t, e[43] = c, e[44] = p, e[45] = o, e[46] = m, e[47] = k) : k = e[47], k;
|
|
2280
2280
|
}
|
|
2281
2281
|
function On(r) {
|
|
2282
2282
|
return r == null ? void 0 : r.isLoaded;
|
|
@@ -2284,10 +2284,10 @@ function On(r) {
|
|
|
2284
2284
|
function Fn(r) {
|
|
2285
2285
|
return r.updateViewPort;
|
|
2286
2286
|
}
|
|
2287
|
-
function
|
|
2287
|
+
function Cn(r) {
|
|
2288
2288
|
return r.setLayersLoad;
|
|
2289
2289
|
}
|
|
2290
|
-
function
|
|
2290
|
+
function kn(r) {
|
|
2291
2291
|
return r.setLoad;
|
|
2292
2292
|
}
|
|
2293
2293
|
function An(r) {
|
|
@@ -2299,7 +2299,7 @@ function Dn(r) {
|
|
|
2299
2299
|
var Ee = { exports: {} }, lt;
|
|
2300
2300
|
function Rn() {
|
|
2301
2301
|
return lt || (lt = 1, function(r, e) {
|
|
2302
|
-
var t = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof
|
|
2302
|
+
var t = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof Te < "u" && Te, s = function() {
|
|
2303
2303
|
function o() {
|
|
2304
2304
|
this.fetch = !1, this.DOMException = t.DOMException;
|
|
2305
2305
|
}
|
|
@@ -2308,7 +2308,7 @@ function Rn() {
|
|
|
2308
2308
|
(function(o) {
|
|
2309
2309
|
(function(i) {
|
|
2310
2310
|
var a = typeof o < "u" && o || typeof self < "u" && self || // eslint-disable-next-line no-undef
|
|
2311
|
-
typeof
|
|
2311
|
+
typeof Te < "u" && Te || {}, l = {
|
|
2312
2312
|
searchParams: "URLSearchParams" in a,
|
|
2313
2313
|
iterable: "Symbol" in a && "iterator" in Symbol,
|
|
2314
2314
|
blob: "FileReader" in a && "Blob" in a && function() {
|
|
@@ -2399,7 +2399,7 @@ function Rn() {
|
|
|
2399
2399
|
d.push([P, v]);
|
|
2400
2400
|
}), m(d);
|
|
2401
2401
|
}, l.iterable && (b.prototype[Symbol.iterator] = b.prototype.entries);
|
|
2402
|
-
function
|
|
2402
|
+
function T(d) {
|
|
2403
2403
|
if (!d._noBody) {
|
|
2404
2404
|
if (d.bodyUsed)
|
|
2405
2405
|
return Promise.reject(new TypeError("Already read"));
|
|
@@ -2420,12 +2420,12 @@ function Rn() {
|
|
|
2420
2420
|
return v.readAsArrayBuffer(d), P;
|
|
2421
2421
|
}
|
|
2422
2422
|
function S(d) {
|
|
2423
|
-
var v = new FileReader(), P = u(v),
|
|
2423
|
+
var v = new FileReader(), P = u(v), k = /charset=([A-Za-z0-9_-]+)/.exec(d.type), L = k ? k[1] : "utf-8";
|
|
2424
2424
|
return v.readAsText(d, L), P;
|
|
2425
2425
|
}
|
|
2426
|
-
function
|
|
2427
|
-
for (var v = new Uint8Array(d), P = new Array(v.length),
|
|
2428
|
-
P[
|
|
2426
|
+
function M(d) {
|
|
2427
|
+
for (var v = new Uint8Array(d), P = new Array(v.length), k = 0; k < v.length; k++)
|
|
2428
|
+
P[k] = String.fromCharCode(v[k]);
|
|
2429
2429
|
return P.join("");
|
|
2430
2430
|
}
|
|
2431
2431
|
function w(d) {
|
|
@@ -2438,7 +2438,7 @@ function Rn() {
|
|
|
2438
2438
|
return this.bodyUsed = !1, this._initBody = function(d) {
|
|
2439
2439
|
this.bodyUsed = this.bodyUsed, this._bodyInit = d, d ? typeof d == "string" ? this._bodyText = d : l.blob && Blob.prototype.isPrototypeOf(d) ? this._bodyBlob = d : l.formData && FormData.prototype.isPrototypeOf(d) ? this._bodyFormData = d : l.searchParams && URLSearchParams.prototype.isPrototypeOf(d) ? this._bodyText = d.toString() : l.arrayBuffer && l.blob && c(d) ? (this._bodyArrayBuffer = w(d.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : l.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(d) || p(d)) ? this._bodyArrayBuffer = w(d) : this._bodyText = d = Object.prototype.toString.call(d) : (this._noBody = !0, this._bodyText = ""), this.headers.get("content-type") || (typeof d == "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(d) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
|
|
2440
2440
|
}, l.blob && (this.blob = function() {
|
|
2441
|
-
var d =
|
|
2441
|
+
var d = T(this);
|
|
2442
2442
|
if (d)
|
|
2443
2443
|
return d;
|
|
2444
2444
|
if (this._bodyBlob)
|
|
@@ -2450,7 +2450,7 @@ function Rn() {
|
|
|
2450
2450
|
return Promise.resolve(new Blob([this._bodyText]));
|
|
2451
2451
|
}), this.arrayBuffer = function() {
|
|
2452
2452
|
if (this._bodyArrayBuffer) {
|
|
2453
|
-
var d =
|
|
2453
|
+
var d = T(this);
|
|
2454
2454
|
return d || (ArrayBuffer.isView(this._bodyArrayBuffer) ? Promise.resolve(
|
|
2455
2455
|
this._bodyArrayBuffer.buffer.slice(
|
|
2456
2456
|
this._bodyArrayBuffer.byteOffset,
|
|
@@ -2463,18 +2463,18 @@ function Rn() {
|
|
|
2463
2463
|
throw new Error("could not read as ArrayBuffer");
|
|
2464
2464
|
}
|
|
2465
2465
|
}, this.text = function() {
|
|
2466
|
-
var d =
|
|
2466
|
+
var d = T(this);
|
|
2467
2467
|
if (d)
|
|
2468
2468
|
return d;
|
|
2469
2469
|
if (this._bodyBlob)
|
|
2470
2470
|
return S(this._bodyBlob);
|
|
2471
2471
|
if (this._bodyArrayBuffer)
|
|
2472
|
-
return Promise.resolve(
|
|
2472
|
+
return Promise.resolve(M(this._bodyArrayBuffer));
|
|
2473
2473
|
if (this._bodyFormData)
|
|
2474
2474
|
throw new Error("could not read FormData body as text");
|
|
2475
2475
|
return Promise.resolve(this._bodyText);
|
|
2476
2476
|
}, l.formData && (this.formData = function() {
|
|
2477
|
-
return this.text().then(
|
|
2477
|
+
return this.text().then(q);
|
|
2478
2478
|
}), this.json = function() {
|
|
2479
2479
|
return this.text().then(JSON.parse);
|
|
2480
2480
|
}, this;
|
|
@@ -2503,9 +2503,9 @@ function Rn() {
|
|
|
2503
2503
|
}(), this.referrer = null, (this.method === "GET" || this.method === "HEAD") && P)
|
|
2504
2504
|
throw new TypeError("Body not allowed for GET or HEAD requests");
|
|
2505
2505
|
if (this._initBody(P), (this.method === "GET" || this.method === "HEAD") && (v.cache === "no-store" || v.cache === "no-cache")) {
|
|
2506
|
-
var
|
|
2507
|
-
if (
|
|
2508
|
-
this.url = this.url.replace(
|
|
2506
|
+
var k = /([?&])_=[^&]*/;
|
|
2507
|
+
if (k.test(this.url))
|
|
2508
|
+
this.url = this.url.replace(k, "$1_=" + (/* @__PURE__ */ new Date()).getTime());
|
|
2509
2509
|
else {
|
|
2510
2510
|
var L = /\?/;
|
|
2511
2511
|
this.url += (L.test(this.url) ? "&" : "?") + "_=" + (/* @__PURE__ */ new Date()).getTime();
|
|
@@ -2515,22 +2515,22 @@ function Rn() {
|
|
|
2515
2515
|
A.prototype.clone = function() {
|
|
2516
2516
|
return new A(this, { body: this._bodyInit });
|
|
2517
2517
|
};
|
|
2518
|
-
function
|
|
2518
|
+
function q(d) {
|
|
2519
2519
|
var v = new FormData();
|
|
2520
2520
|
return d.trim().split("&").forEach(function(P) {
|
|
2521
2521
|
if (P) {
|
|
2522
|
-
var
|
|
2522
|
+
var k = P.split("="), L = k.shift().replace(/\+/g, " "), O = k.join("=").replace(/\+/g, " ");
|
|
2523
2523
|
v.append(decodeURIComponent(L), decodeURIComponent(O));
|
|
2524
2524
|
}
|
|
2525
2525
|
}), v;
|
|
2526
2526
|
}
|
|
2527
2527
|
function B(d) {
|
|
2528
2528
|
var v = new b(), P = d.replace(/\r?\n[\t ]+/g, " ");
|
|
2529
|
-
return P.split("\r").map(function(
|
|
2530
|
-
return
|
|
2531
|
-
`) === 0 ?
|
|
2532
|
-
}).forEach(function(
|
|
2533
|
-
var L =
|
|
2529
|
+
return P.split("\r").map(function(k) {
|
|
2530
|
+
return k.indexOf(`
|
|
2531
|
+
`) === 0 ? k.substr(1, k.length) : k;
|
|
2532
|
+
}).forEach(function(k) {
|
|
2533
|
+
var L = k.split(":"), O = L.shift().trim();
|
|
2534
2534
|
if (O) {
|
|
2535
2535
|
var H = L.join(":").trim();
|
|
2536
2536
|
try {
|
|
@@ -2571,66 +2571,66 @@ function Rn() {
|
|
|
2571
2571
|
} catch {
|
|
2572
2572
|
i.DOMException = function(v, P) {
|
|
2573
2573
|
this.message = v, this.name = P;
|
|
2574
|
-
var
|
|
2575
|
-
this.stack =
|
|
2574
|
+
var k = Error(v);
|
|
2575
|
+
this.stack = k.stack;
|
|
2576
2576
|
}, i.DOMException.prototype = Object.create(Error.prototype), i.DOMException.prototype.constructor = i.DOMException;
|
|
2577
2577
|
}
|
|
2578
|
-
function
|
|
2579
|
-
return new Promise(function(P,
|
|
2578
|
+
function C(d, v) {
|
|
2579
|
+
return new Promise(function(P, k) {
|
|
2580
2580
|
var L = new A(d, v);
|
|
2581
2581
|
if (L.signal && L.signal.aborted)
|
|
2582
|
-
return
|
|
2582
|
+
return k(new i.DOMException("Aborted", "AbortError"));
|
|
2583
2583
|
var O = new XMLHttpRequest();
|
|
2584
2584
|
function H() {
|
|
2585
2585
|
O.abort();
|
|
2586
2586
|
}
|
|
2587
2587
|
O.onload = function() {
|
|
2588
|
-
var
|
|
2588
|
+
var j = {
|
|
2589
2589
|
statusText: O.statusText,
|
|
2590
2590
|
headers: B(O.getAllResponseHeaders() || "")
|
|
2591
2591
|
};
|
|
2592
|
-
L.url.indexOf("file://") === 0 && (O.status < 200 || O.status > 599) ?
|
|
2592
|
+
L.url.indexOf("file://") === 0 && (O.status < 200 || O.status > 599) ? j.status = 200 : j.status = O.status, j.url = "responseURL" in O ? O.responseURL : j.headers.get("X-Request-URL");
|
|
2593
2593
|
var X = "response" in O ? O.response : O.responseText;
|
|
2594
2594
|
setTimeout(function() {
|
|
2595
|
-
P(new U(X,
|
|
2595
|
+
P(new U(X, j));
|
|
2596
2596
|
}, 0);
|
|
2597
2597
|
}, O.onerror = function() {
|
|
2598
2598
|
setTimeout(function() {
|
|
2599
|
-
|
|
2599
|
+
k(new TypeError("Network request failed"));
|
|
2600
2600
|
}, 0);
|
|
2601
2601
|
}, O.ontimeout = function() {
|
|
2602
2602
|
setTimeout(function() {
|
|
2603
|
-
|
|
2603
|
+
k(new TypeError("Network request timed out"));
|
|
2604
2604
|
}, 0);
|
|
2605
2605
|
}, O.onabort = function() {
|
|
2606
2606
|
setTimeout(function() {
|
|
2607
|
-
|
|
2607
|
+
k(new i.DOMException("Aborted", "AbortError"));
|
|
2608
2608
|
}, 0);
|
|
2609
2609
|
};
|
|
2610
|
-
function W(
|
|
2610
|
+
function W(j) {
|
|
2611
2611
|
try {
|
|
2612
|
-
return
|
|
2612
|
+
return j === "" && a.location.href ? a.location.href : j;
|
|
2613
2613
|
} catch {
|
|
2614
|
-
return
|
|
2614
|
+
return j;
|
|
2615
2615
|
}
|
|
2616
2616
|
}
|
|
2617
2617
|
if (O.open(L.method, W(L.url), !0), L.credentials === "include" ? O.withCredentials = !0 : L.credentials === "omit" && (O.withCredentials = !1), "responseType" in O && (l.blob ? O.responseType = "blob" : l.arrayBuffer && (O.responseType = "arraybuffer")), v && typeof v.headers == "object" && !(v.headers instanceof b || a.Headers && v.headers instanceof a.Headers)) {
|
|
2618
2618
|
var K = [];
|
|
2619
|
-
Object.getOwnPropertyNames(v.headers).forEach(function(
|
|
2620
|
-
K.push(g(
|
|
2621
|
-
}), L.headers.forEach(function(
|
|
2622
|
-
K.indexOf(X) === -1 && O.setRequestHeader(X,
|
|
2619
|
+
Object.getOwnPropertyNames(v.headers).forEach(function(j) {
|
|
2620
|
+
K.push(g(j)), O.setRequestHeader(j, f(v.headers[j]));
|
|
2621
|
+
}), L.headers.forEach(function(j, X) {
|
|
2622
|
+
K.indexOf(X) === -1 && O.setRequestHeader(X, j);
|
|
2623
2623
|
});
|
|
2624
2624
|
} else
|
|
2625
|
-
L.headers.forEach(function(
|
|
2626
|
-
O.setRequestHeader(X,
|
|
2625
|
+
L.headers.forEach(function(j, X) {
|
|
2626
|
+
O.setRequestHeader(X, j);
|
|
2627
2627
|
});
|
|
2628
2628
|
L.signal && (L.signal.addEventListener("abort", H), O.onreadystatechange = function() {
|
|
2629
2629
|
O.readyState === 4 && L.signal.removeEventListener("abort", H);
|
|
2630
2630
|
}), O.send(typeof L._bodyInit > "u" ? null : L._bodyInit);
|
|
2631
2631
|
});
|
|
2632
2632
|
}
|
|
2633
|
-
return
|
|
2633
|
+
return C.polyfill = !0, a.fetch || (a.fetch = C, a.Headers = b, a.Request = A, a.Response = U), i.Headers = b, i.Request = A, i.Response = U, i.fetch = C, i;
|
|
2634
2634
|
})({});
|
|
2635
2635
|
})(s), s.fetch.ponyfill = !0, delete s.fetch.polyfill;
|
|
2636
2636
|
var n = t.fetch ? t : s;
|
|
@@ -2645,7 +2645,7 @@ const xn = /* @__PURE__ */ wt($n), We = "https://gcp-us-east1.api.carto.com", Ke
|
|
|
2645
2645
|
function Bn(r, e) {
|
|
2646
2646
|
return Array.isArray(e) ? `${r}=${encodeURIComponent(JSON.stringify(e))}` : e == null || e === "" ? "" : typeof e == "object" ? `${r}=${encodeURIComponent(JSON.stringify(e))}` : `${r}=${encodeURIComponent(e)}`;
|
|
2647
2647
|
}
|
|
2648
|
-
function
|
|
2648
|
+
function qn({
|
|
2649
2649
|
params: r,
|
|
2650
2650
|
url: e
|
|
2651
2651
|
}) {
|
|
@@ -2653,12 +2653,12 @@ function jn({
|
|
|
2653
2653
|
const t = Object.entries(r).map(([s, n]) => Bn(s, n));
|
|
2654
2654
|
return `${e}?${t.filter(Boolean).join("&")}`;
|
|
2655
2655
|
}
|
|
2656
|
-
function
|
|
2656
|
+
function jn(r) {
|
|
2657
2657
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
2658
2658
|
}
|
|
2659
|
-
var
|
|
2659
|
+
var je, ct;
|
|
2660
2660
|
function Vn() {
|
|
2661
|
-
if (ct) return
|
|
2661
|
+
if (ct) return je;
|
|
2662
2662
|
ct = 1;
|
|
2663
2663
|
var r = function(u) {
|
|
2664
2664
|
return e(u) && !t(u);
|
|
@@ -2681,8 +2681,8 @@ function Vn() {
|
|
|
2681
2681
|
return h.clone !== !1 && h.isMergeableObject(u) ? b(i(u), u, h) : u;
|
|
2682
2682
|
}
|
|
2683
2683
|
function l(u, h, S) {
|
|
2684
|
-
return u.concat(h).map(function(
|
|
2685
|
-
return a(
|
|
2684
|
+
return u.concat(h).map(function(M) {
|
|
2685
|
+
return a(M, S);
|
|
2686
2686
|
});
|
|
2687
2687
|
}
|
|
2688
2688
|
function c(u, h) {
|
|
@@ -2709,29 +2709,29 @@ function Vn() {
|
|
|
2709
2709
|
return g(u, h) && !(Object.hasOwnProperty.call(u, h) && Object.propertyIsEnumerable.call(u, h));
|
|
2710
2710
|
}
|
|
2711
2711
|
function m(u, h, S) {
|
|
2712
|
-
var
|
|
2712
|
+
var M = {};
|
|
2713
2713
|
return S.isMergeableObject(u) && p(u).forEach(function(w) {
|
|
2714
|
-
|
|
2714
|
+
M[w] = a(u[w], S);
|
|
2715
2715
|
}), p(h).forEach(function(w) {
|
|
2716
|
-
f(u, w) || (g(u, w) && S.isMergeableObject(h[w]) ?
|
|
2717
|
-
}),
|
|
2716
|
+
f(u, w) || (g(u, w) && S.isMergeableObject(h[w]) ? M[w] = c(w, S)(u[w], h[w], S) : M[w] = a(h[w], S));
|
|
2717
|
+
}), M;
|
|
2718
2718
|
}
|
|
2719
2719
|
function b(u, h, S) {
|
|
2720
2720
|
S = S || {}, S.arrayMerge = S.arrayMerge || l, S.isMergeableObject = S.isMergeableObject || r, S.cloneUnlessOtherwiseSpecified = a;
|
|
2721
|
-
var
|
|
2722
|
-
return E ?
|
|
2721
|
+
var M = Array.isArray(h), w = Array.isArray(u), E = M === w;
|
|
2722
|
+
return E ? M ? S.arrayMerge(u, h, S) : m(u, h, S) : a(h, S);
|
|
2723
2723
|
}
|
|
2724
2724
|
b.all = function(u, h) {
|
|
2725
2725
|
if (!Array.isArray(u)) throw new Error("first argument should be an array");
|
|
2726
|
-
return u.reduce(function(S,
|
|
2727
|
-
return b(S,
|
|
2726
|
+
return u.reduce(function(S, M) {
|
|
2727
|
+
return b(S, M, h);
|
|
2728
2728
|
}, {});
|
|
2729
2729
|
};
|
|
2730
|
-
var
|
|
2731
|
-
return
|
|
2730
|
+
var T = b;
|
|
2731
|
+
return je = T, je;
|
|
2732
2732
|
}
|
|
2733
2733
|
var In = Vn();
|
|
2734
|
-
const Ze = /* @__PURE__ */
|
|
2734
|
+
const Ze = /* @__PURE__ */ jn(In);
|
|
2735
2735
|
function ut(r) {
|
|
2736
2736
|
return Ze({
|
|
2737
2737
|
method: de.get,
|
|
@@ -2774,7 +2774,7 @@ function Hn({
|
|
|
2774
2774
|
}, s), r);
|
|
2775
2775
|
}
|
|
2776
2776
|
const Gn = 6144;
|
|
2777
|
-
async function
|
|
2777
|
+
async function kt({
|
|
2778
2778
|
signal: r,
|
|
2779
2779
|
body: e,
|
|
2780
2780
|
accessToken: t,
|
|
@@ -2789,7 +2789,7 @@ async function Ct({
|
|
|
2789
2789
|
},
|
|
2790
2790
|
...l
|
|
2791
2791
|
}) {
|
|
2792
|
-
let c =
|
|
2792
|
+
let c = qn({
|
|
2793
2793
|
url: i,
|
|
2794
2794
|
params: o
|
|
2795
2795
|
}), y = e, p = n;
|
|
@@ -2831,7 +2831,7 @@ const Pe = mt()(hs((r, e) => ({
|
|
|
2831
2831
|
apiBaseUrl: l,
|
|
2832
2832
|
apiVersion: y,
|
|
2833
2833
|
clientId: c
|
|
2834
|
-
}, f =
|
|
2834
|
+
}, f = Kn({
|
|
2835
2835
|
source: g
|
|
2836
2836
|
});
|
|
2837
2837
|
return g.widgets = f, o[t] = g, {
|
|
@@ -2908,7 +2908,7 @@ function Qn(r) {
|
|
|
2908
2908
|
let t;
|
|
2909
2909
|
return e[0] !== r ? (t = (s) => s.filters[r], e[0] = r, e[1] = t) : t = e[1], Pe(t);
|
|
2910
2910
|
}
|
|
2911
|
-
function
|
|
2911
|
+
function Zr(r) {
|
|
2912
2912
|
const e = D(9);
|
|
2913
2913
|
let t;
|
|
2914
2914
|
e[0] !== r ? (t = (a) => a.sources[r], e[0] = r, e[1] = t) : t = e[1];
|
|
@@ -2932,57 +2932,71 @@ function Kr(r) {
|
|
|
2932
2932
|
}
|
|
2933
2933
|
return i;
|
|
2934
2934
|
}
|
|
2935
|
-
function
|
|
2935
|
+
function Yr(r, {
|
|
2936
2936
|
column: e,
|
|
2937
2937
|
type: t
|
|
2938
2938
|
}) {
|
|
2939
2939
|
var s, n;
|
|
2940
2940
|
return ((n = (s = r == null ? void 0 : r[e]) == null ? void 0 : s[t]) == null ? void 0 : n.values) ?? [];
|
|
2941
2941
|
}
|
|
2942
|
-
function Wn({
|
|
2942
|
+
function Wn(r) {
|
|
2943
|
+
const [, e] = r.type.split("+", 2);
|
|
2944
|
+
return {
|
|
2945
|
+
spatialDataType: r.spatialDataType ?? e ?? "geo",
|
|
2946
|
+
spatialDataColumn: r.spatialDataColumn ?? e ?? "geom"
|
|
2947
|
+
};
|
|
2948
|
+
}
|
|
2949
|
+
function Kn({
|
|
2943
2950
|
source: r
|
|
2944
2951
|
}) {
|
|
2945
|
-
const
|
|
2952
|
+
const {
|
|
2953
|
+
spatialDataType: e,
|
|
2954
|
+
spatialDataColumn: t
|
|
2955
|
+
} = Wn(r), s = {
|
|
2946
2956
|
query: () => {
|
|
2947
|
-
const
|
|
2957
|
+
const i = r;
|
|
2948
2958
|
return new ps({
|
|
2949
|
-
...
|
|
2959
|
+
...i,
|
|
2950
2960
|
accessToken: "",
|
|
2951
|
-
sqlQuery:
|
|
2952
|
-
spatialDataType:
|
|
2961
|
+
sqlQuery: i.data,
|
|
2962
|
+
spatialDataType: e,
|
|
2963
|
+
spatialDataColumn: t
|
|
2953
2964
|
});
|
|
2954
2965
|
},
|
|
2955
2966
|
table: () => {
|
|
2956
|
-
const
|
|
2967
|
+
const i = r;
|
|
2957
2968
|
return new fs({
|
|
2958
|
-
...
|
|
2969
|
+
...i,
|
|
2959
2970
|
accessToken: "",
|
|
2960
|
-
tableName:
|
|
2961
|
-
spatialDataType:
|
|
2971
|
+
tableName: i.data,
|
|
2972
|
+
spatialDataType: e,
|
|
2973
|
+
spatialDataColumn: t
|
|
2962
2974
|
});
|
|
2963
2975
|
},
|
|
2964
2976
|
tileset: () => {
|
|
2965
|
-
const
|
|
2977
|
+
const i = r;
|
|
2966
2978
|
return new us({
|
|
2967
|
-
...
|
|
2979
|
+
...i,
|
|
2968
2980
|
accessToken: "",
|
|
2969
|
-
tableName:
|
|
2970
|
-
tileFormat:
|
|
2971
|
-
spatialDataType:
|
|
2981
|
+
tableName: i.data,
|
|
2982
|
+
tileFormat: i.tileFormat ?? ds.BINARY,
|
|
2983
|
+
spatialDataType: e,
|
|
2984
|
+
spatialDataColumn: t
|
|
2972
2985
|
});
|
|
2973
2986
|
},
|
|
2974
2987
|
raster: () => {
|
|
2975
|
-
const
|
|
2976
|
-
return
|
|
2977
|
-
...
|
|
2988
|
+
const i = r;
|
|
2989
|
+
return i.rasterMetadata ? new cs({
|
|
2990
|
+
...i,
|
|
2978
2991
|
accessToken: "",
|
|
2979
|
-
tableName:
|
|
2992
|
+
tableName: i.data,
|
|
2980
2993
|
spatialDataType: "quadbin",
|
|
2981
|
-
|
|
2994
|
+
spatialDataColumn: "quadbin",
|
|
2995
|
+
rasterMetadata: i.rasterMetadata
|
|
2982
2996
|
}) : null;
|
|
2983
2997
|
}
|
|
2984
|
-
},
|
|
2985
|
-
return
|
|
2998
|
+
}, n = r.type.split("+")[0], o = s[n];
|
|
2999
|
+
return o == null ? void 0 : o();
|
|
2986
3000
|
}
|
|
2987
3001
|
function ie(r, e) {
|
|
2988
3002
|
const t = zn(e);
|
|
@@ -3001,7 +3015,7 @@ function ae(r, e) {
|
|
|
3001
3015
|
}
|
|
3002
3016
|
let o;
|
|
3003
3017
|
if (t[0] !== e || t[1] !== s) {
|
|
3004
|
-
const i = e.reduce(
|
|
3018
|
+
const i = e.reduce(Zn, {});
|
|
3005
3019
|
let a;
|
|
3006
3020
|
t[3] !== s ? (a = s ?? {}, t[3] = s, t[4] = a) : a = t[4], o = ue(a, i), t[0] = e, t[1] = s, t[2] = o;
|
|
3007
3021
|
} else
|
|
@@ -3010,10 +3024,10 @@ function ae(r, e) {
|
|
|
3010
3024
|
}
|
|
3011
3025
|
return n;
|
|
3012
3026
|
}
|
|
3013
|
-
function
|
|
3027
|
+
function Zn(r, e) {
|
|
3014
3028
|
return vt(r, e);
|
|
3015
3029
|
}
|
|
3016
|
-
function
|
|
3030
|
+
function Yn(r) {
|
|
3017
3031
|
const e = D(19), {
|
|
3018
3032
|
accessToken: t,
|
|
3019
3033
|
sourceId: s,
|
|
@@ -3043,26 +3057,26 @@ function Zn(r) {
|
|
|
3043
3057
|
});
|
|
3044
3058
|
}, e[10] = p, e[11] = g, e[12] = n, e[13] = m) : m = e[13];
|
|
3045
3059
|
const b = !!g && y;
|
|
3046
|
-
let
|
|
3047
|
-
return e[14] !== f || e[15] !== m || e[16] !== b || e[17] !== c ? (
|
|
3060
|
+
let T;
|
|
3061
|
+
return e[14] !== f || e[15] !== m || e[16] !== b || e[17] !== c ? (T = {
|
|
3048
3062
|
queryKey: f,
|
|
3049
3063
|
queryFn: m,
|
|
3050
3064
|
enabled: b,
|
|
3051
3065
|
...c
|
|
3052
|
-
}, e[14] = f, e[15] = m, e[16] = b, e[17] = c, e[18] =
|
|
3066
|
+
}, e[14] = f, e[15] = m, e[16] = b, e[17] = c, e[18] = T) : T = e[18], ne(T);
|
|
3053
3067
|
}
|
|
3054
|
-
function
|
|
3068
|
+
function Xr(r) {
|
|
3055
3069
|
const e = D(6);
|
|
3056
3070
|
let t, s;
|
|
3057
3071
|
e[0] !== r ? ({
|
|
3058
3072
|
children: t,
|
|
3059
3073
|
...s
|
|
3060
3074
|
} = r, e[0] = r, e[1] = t, e[2] = s) : (t = e[1], s = e[2]);
|
|
3061
|
-
const n =
|
|
3075
|
+
const n = Yn(s);
|
|
3062
3076
|
let o;
|
|
3063
3077
|
return e[3] !== t || e[4] !== n ? (o = t(n), e[3] = t, e[4] = n, e[5] = o) : o = e[5], o;
|
|
3064
3078
|
}
|
|
3065
|
-
function
|
|
3079
|
+
function Xn(r) {
|
|
3066
3080
|
const e = D(19), {
|
|
3067
3081
|
accessToken: t,
|
|
3068
3082
|
sourceId: s,
|
|
@@ -3092,26 +3106,26 @@ function Yn(r) {
|
|
|
3092
3106
|
});
|
|
3093
3107
|
}, e[10] = p, e[11] = g, e[12] = n, e[13] = m) : m = e[13];
|
|
3094
3108
|
const b = !!g && y;
|
|
3095
|
-
let
|
|
3096
|
-
return e[14] !== f || e[15] !== m || e[16] !== b || e[17] !== c ? (
|
|
3109
|
+
let T;
|
|
3110
|
+
return e[14] !== f || e[15] !== m || e[16] !== b || e[17] !== c ? (T = {
|
|
3097
3111
|
queryKey: f,
|
|
3098
3112
|
queryFn: m,
|
|
3099
3113
|
enabled: b,
|
|
3100
3114
|
...c
|
|
3101
|
-
}, e[14] = f, e[15] = m, e[16] = b, e[17] = c, e[18] =
|
|
3115
|
+
}, e[14] = f, e[15] = m, e[16] = b, e[17] = c, e[18] = T) : T = e[18], ne(T);
|
|
3102
3116
|
}
|
|
3103
|
-
function
|
|
3117
|
+
function Jr(r) {
|
|
3104
3118
|
const e = D(6);
|
|
3105
3119
|
let t, s;
|
|
3106
3120
|
e[0] !== r ? ({
|
|
3107
3121
|
children: t,
|
|
3108
3122
|
...s
|
|
3109
3123
|
} = r, e[0] = r, e[1] = t, e[2] = s) : (t = e[1], s = e[2]);
|
|
3110
|
-
const n =
|
|
3124
|
+
const n = Xn(s);
|
|
3111
3125
|
let o;
|
|
3112
3126
|
return e[3] !== t || e[4] !== n ? (o = t(n), e[3] = t, e[4] = n, e[5] = o) : o = e[5], o;
|
|
3113
3127
|
}
|
|
3114
|
-
function
|
|
3128
|
+
function Jn(r) {
|
|
3115
3129
|
const e = D(19), {
|
|
3116
3130
|
accessToken: t,
|
|
3117
3131
|
sourceId: s,
|
|
@@ -3141,26 +3155,26 @@ function Xn(r) {
|
|
|
3141
3155
|
});
|
|
3142
3156
|
}, e[10] = p, e[11] = g, e[12] = n, e[13] = m) : m = e[13];
|
|
3143
3157
|
const b = !!g && y;
|
|
3144
|
-
let
|
|
3145
|
-
return e[14] !== f || e[15] !== m || e[16] !== b || e[17] !== c ? (
|
|
3158
|
+
let T;
|
|
3159
|
+
return e[14] !== f || e[15] !== m || e[16] !== b || e[17] !== c ? (T = {
|
|
3146
3160
|
queryKey: f,
|
|
3147
3161
|
queryFn: m,
|
|
3148
3162
|
enabled: b,
|
|
3149
3163
|
...c
|
|
3150
|
-
}, e[14] = f, e[15] = m, e[16] = b, e[17] = c, e[18] =
|
|
3164
|
+
}, e[14] = f, e[15] = m, e[16] = b, e[17] = c, e[18] = T) : T = e[18], ne(T);
|
|
3151
3165
|
}
|
|
3152
|
-
function
|
|
3166
|
+
function eo(r) {
|
|
3153
3167
|
const e = D(6);
|
|
3154
3168
|
let t, s;
|
|
3155
3169
|
e[0] !== r ? ({
|
|
3156
3170
|
children: t,
|
|
3157
3171
|
...s
|
|
3158
3172
|
} = r, e[0] = r, e[1] = t, e[2] = s) : (t = e[1], s = e[2]);
|
|
3159
|
-
const n =
|
|
3173
|
+
const n = Jn(s);
|
|
3160
3174
|
let o;
|
|
3161
3175
|
return e[3] !== t || e[4] !== n ? (o = t(n), e[3] = t, e[4] = n, e[5] = o) : o = e[5], o;
|
|
3162
3176
|
}
|
|
3163
|
-
function
|
|
3177
|
+
function er(r) {
|
|
3164
3178
|
const e = D(19), {
|
|
3165
3179
|
accessToken: t,
|
|
3166
3180
|
sourceId: s,
|
|
@@ -3190,26 +3204,26 @@ function Jn(r) {
|
|
|
3190
3204
|
});
|
|
3191
3205
|
}, e[10] = p, e[11] = g, e[12] = n, e[13] = m) : m = e[13];
|
|
3192
3206
|
const b = !!g && y;
|
|
3193
|
-
let
|
|
3194
|
-
return e[14] !== f || e[15] !== m || e[16] !== b || e[17] !== c ? (
|
|
3207
|
+
let T;
|
|
3208
|
+
return e[14] !== f || e[15] !== m || e[16] !== b || e[17] !== c ? (T = {
|
|
3195
3209
|
queryKey: f,
|
|
3196
3210
|
queryFn: m,
|
|
3197
3211
|
enabled: b,
|
|
3198
3212
|
...c
|
|
3199
|
-
}, e[14] = f, e[15] = m, e[16] = b, e[17] = c, e[18] =
|
|
3213
|
+
}, e[14] = f, e[15] = m, e[16] = b, e[17] = c, e[18] = T) : T = e[18], ne(T);
|
|
3200
3214
|
}
|
|
3201
|
-
function
|
|
3215
|
+
function to(r) {
|
|
3202
3216
|
const e = D(6);
|
|
3203
3217
|
let t, s;
|
|
3204
3218
|
e[0] !== r ? ({
|
|
3205
3219
|
children: t,
|
|
3206
3220
|
...s
|
|
3207
3221
|
} = r, e[0] = r, e[1] = t, e[2] = s) : (t = e[1], s = e[2]);
|
|
3208
|
-
const n =
|
|
3222
|
+
const n = er(s);
|
|
3209
3223
|
let o;
|
|
3210
3224
|
return e[3] !== t || e[4] !== n ? (o = t(n), e[3] = t, e[4] = n, e[5] = o) : o = e[5], o;
|
|
3211
3225
|
}
|
|
3212
|
-
function
|
|
3226
|
+
function tr(r) {
|
|
3213
3227
|
const e = D(19), {
|
|
3214
3228
|
accessToken: t,
|
|
3215
3229
|
sourceId: s,
|
|
@@ -3239,26 +3253,26 @@ function er(r) {
|
|
|
3239
3253
|
});
|
|
3240
3254
|
}, e[10] = p, e[11] = g, e[12] = n, e[13] = m) : m = e[13];
|
|
3241
3255
|
const b = !!g && y;
|
|
3242
|
-
let
|
|
3243
|
-
return e[14] !== f || e[15] !== m || e[16] !== b || e[17] !== c ? (
|
|
3256
|
+
let T;
|
|
3257
|
+
return e[14] !== f || e[15] !== m || e[16] !== b || e[17] !== c ? (T = {
|
|
3244
3258
|
queryKey: f,
|
|
3245
3259
|
queryFn: m,
|
|
3246
3260
|
enabled: b,
|
|
3247
3261
|
...c
|
|
3248
|
-
}, e[14] = f, e[15] = m, e[16] = b, e[17] = c, e[18] =
|
|
3262
|
+
}, e[14] = f, e[15] = m, e[16] = b, e[17] = c, e[18] = T) : T = e[18], ne(T);
|
|
3249
3263
|
}
|
|
3250
|
-
function
|
|
3264
|
+
function so(r) {
|
|
3251
3265
|
const e = D(6);
|
|
3252
3266
|
let t, s;
|
|
3253
3267
|
e[0] !== r ? ({
|
|
3254
3268
|
children: t,
|
|
3255
3269
|
...s
|
|
3256
3270
|
} = r, e[0] = r, e[1] = t, e[2] = s) : (t = e[1], s = e[2]);
|
|
3257
|
-
const n =
|
|
3271
|
+
const n = tr(s);
|
|
3258
3272
|
let o;
|
|
3259
3273
|
return e[3] !== t || e[4] !== n ? (o = t(n), e[3] = t, e[4] = n, e[5] = o) : o = e[5], o;
|
|
3260
3274
|
}
|
|
3261
|
-
function
|
|
3275
|
+
function sr(r) {
|
|
3262
3276
|
const e = D(19), {
|
|
3263
3277
|
accessToken: t,
|
|
3264
3278
|
sourceId: s,
|
|
@@ -3288,26 +3302,26 @@ function tr(r) {
|
|
|
3288
3302
|
});
|
|
3289
3303
|
}, e[10] = p, e[11] = g, e[12] = n, e[13] = m) : m = e[13];
|
|
3290
3304
|
const b = !!g && y;
|
|
3291
|
-
let
|
|
3292
|
-
return e[14] !== f || e[15] !== m || e[16] !== b || e[17] !== c ? (
|
|
3305
|
+
let T;
|
|
3306
|
+
return e[14] !== f || e[15] !== m || e[16] !== b || e[17] !== c ? (T = {
|
|
3293
3307
|
queryKey: f,
|
|
3294
3308
|
queryFn: m,
|
|
3295
3309
|
enabled: b,
|
|
3296
3310
|
...c
|
|
3297
|
-
}, e[14] = f, e[15] = m, e[16] = b, e[17] = c, e[18] =
|
|
3311
|
+
}, e[14] = f, e[15] = m, e[16] = b, e[17] = c, e[18] = T) : T = e[18], ne(T);
|
|
3298
3312
|
}
|
|
3299
|
-
function
|
|
3313
|
+
function no(r) {
|
|
3300
3314
|
const e = D(6);
|
|
3301
3315
|
let t, s;
|
|
3302
3316
|
e[0] !== r ? ({
|
|
3303
3317
|
children: t,
|
|
3304
3318
|
...s
|
|
3305
3319
|
} = r, e[0] = r, e[1] = t, e[2] = s) : (t = e[1], s = e[2]);
|
|
3306
|
-
const n =
|
|
3320
|
+
const n = sr(s);
|
|
3307
3321
|
let o;
|
|
3308
3322
|
return e[3] !== t || e[4] !== n ? (o = t(n), e[3] = t, e[4] = n, e[5] = o) : o = e[5], o;
|
|
3309
3323
|
}
|
|
3310
|
-
function
|
|
3324
|
+
function nr(r) {
|
|
3311
3325
|
const e = D(19), {
|
|
3312
3326
|
accessToken: t,
|
|
3313
3327
|
sourceId: s,
|
|
@@ -3337,26 +3351,26 @@ function sr(r) {
|
|
|
3337
3351
|
});
|
|
3338
3352
|
}, e[10] = p, e[11] = g, e[12] = n, e[13] = m) : m = e[13];
|
|
3339
3353
|
const b = !!g && y;
|
|
3340
|
-
let
|
|
3341
|
-
return e[14] !== f || e[15] !== m || e[16] !== b || e[17] !== c ? (
|
|
3354
|
+
let T;
|
|
3355
|
+
return e[14] !== f || e[15] !== m || e[16] !== b || e[17] !== c ? (T = {
|
|
3342
3356
|
queryKey: f,
|
|
3343
3357
|
queryFn: m,
|
|
3344
3358
|
enabled: b,
|
|
3345
3359
|
...c
|
|
3346
|
-
}, e[14] = f, e[15] = m, e[16] = b, e[17] = c, e[18] =
|
|
3360
|
+
}, e[14] = f, e[15] = m, e[16] = b, e[17] = c, e[18] = T) : T = e[18], ne(T);
|
|
3347
3361
|
}
|
|
3348
|
-
function
|
|
3362
|
+
function ro(r) {
|
|
3349
3363
|
const e = D(6);
|
|
3350
3364
|
let t, s;
|
|
3351
3365
|
e[0] !== r ? ({
|
|
3352
3366
|
children: t,
|
|
3353
3367
|
...s
|
|
3354
3368
|
} = r, e[0] = r, e[1] = t, e[2] = s) : (t = e[1], s = e[2]);
|
|
3355
|
-
const n =
|
|
3369
|
+
const n = nr(s);
|
|
3356
3370
|
let o;
|
|
3357
3371
|
return e[3] !== t || e[4] !== n ? (o = t(n), e[3] = t, e[4] = n, e[5] = o) : o = e[5], o;
|
|
3358
3372
|
}
|
|
3359
|
-
function
|
|
3373
|
+
function rr(r) {
|
|
3360
3374
|
const e = D(19), {
|
|
3361
3375
|
accessToken: t,
|
|
3362
3376
|
sourceId: s,
|
|
@@ -3386,27 +3400,27 @@ function nr(r) {
|
|
|
3386
3400
|
});
|
|
3387
3401
|
}, e[10] = p, e[11] = g, e[12] = n, e[13] = m) : m = e[13];
|
|
3388
3402
|
const b = !!g && y;
|
|
3389
|
-
let
|
|
3390
|
-
return e[14] !== f || e[15] !== m || e[16] !== b || e[17] !== c ? (
|
|
3403
|
+
let T;
|
|
3404
|
+
return e[14] !== f || e[15] !== m || e[16] !== b || e[17] !== c ? (T = {
|
|
3391
3405
|
queryKey: f,
|
|
3392
3406
|
queryFn: m,
|
|
3393
3407
|
enabled: b,
|
|
3394
3408
|
...c
|
|
3395
|
-
}, e[14] = f, e[15] = m, e[16] = b, e[17] = c, e[18] =
|
|
3409
|
+
}, e[14] = f, e[15] = m, e[16] = b, e[17] = c, e[18] = T) : T = e[18], ne(T);
|
|
3396
3410
|
}
|
|
3397
|
-
function
|
|
3411
|
+
function oo(r) {
|
|
3398
3412
|
const e = D(6);
|
|
3399
3413
|
let t, s;
|
|
3400
3414
|
e[0] !== r ? ({
|
|
3401
3415
|
children: t,
|
|
3402
3416
|
...s
|
|
3403
3417
|
} = r, e[0] = r, e[1] = t, e[2] = s) : (t = e[1], s = e[2]);
|
|
3404
|
-
const n =
|
|
3418
|
+
const n = rr(s);
|
|
3405
3419
|
let o;
|
|
3406
3420
|
return e[3] !== t || e[4] !== n ? (o = t(n), e[3] = t, e[4] = n, e[5] = o) : o = e[5], o;
|
|
3407
3421
|
}
|
|
3408
|
-
const
|
|
3409
|
-
function
|
|
3422
|
+
const io = "ps";
|
|
3423
|
+
function ao(r) {
|
|
3410
3424
|
const e = D(13), {
|
|
3411
3425
|
children: t,
|
|
3412
3426
|
maps: s,
|
|
@@ -3426,8 +3440,8 @@ function io(r) {
|
|
|
3426
3440
|
let g;
|
|
3427
3441
|
return e[10] !== s || e[11] !== p ? (g = /* @__PURE__ */ N(Bs, { values: s, children: p }), e[10] = s, e[11] = p, e[12] = g) : g = e[12], g;
|
|
3428
3442
|
}
|
|
3429
|
-
function
|
|
3430
|
-
const t = pe((c) => c.layers), s = pe((c) => c.setLayer), n = oe(() =>
|
|
3443
|
+
function lo(r, e) {
|
|
3444
|
+
const t = pe((c) => c.layers), s = pe((c) => c.setLayer), n = oe(() => Ct(r.map((c) => t[c]).filter((c) => !!(c != null && c.legend))).toReversed(), [t, r]), o = oe(() => n.map(e), [e, n]), i = Q(({
|
|
3431
3445
|
id: c,
|
|
3432
3446
|
visible: y,
|
|
3433
3447
|
...p
|
|
@@ -3464,7 +3478,7 @@ function ao(r, e) {
|
|
|
3464
3478
|
onChangeRowCollapse: a
|
|
3465
3479
|
};
|
|
3466
3480
|
}
|
|
3467
|
-
function
|
|
3481
|
+
function co({
|
|
3468
3482
|
mapId: r
|
|
3469
3483
|
}) {
|
|
3470
3484
|
const [e, t] = se(void 0), [s, n] = se(!1), [o, i] = se(void 0), a = $((u) => {
|
|
@@ -3480,7 +3494,7 @@ function lo({
|
|
|
3480
3494
|
try {
|
|
3481
3495
|
const S = document.createElement("canvas");
|
|
3482
3496
|
S.width = u.width ?? 0, S.height = u.height ?? 0;
|
|
3483
|
-
const
|
|
3497
|
+
const M = S.getContext("2d");
|
|
3484
3498
|
if (m) {
|
|
3485
3499
|
const E = h;
|
|
3486
3500
|
if (E.getRenderingType() !== "RASTER")
|
|
@@ -3488,12 +3502,12 @@ function lo({
|
|
|
3488
3502
|
const F = await gs(E.getDiv(), {
|
|
3489
3503
|
useCORS: !0
|
|
3490
3504
|
});
|
|
3491
|
-
|
|
3505
|
+
M == null || M.drawImage(F, 0, 0, u.width, u.height);
|
|
3492
3506
|
} else {
|
|
3493
3507
|
const E = h;
|
|
3494
|
-
E.redraw(),
|
|
3508
|
+
E.redraw(), M == null || M.drawImage(E.getMap().getCanvas(), 0, 0, u.width, u.height);
|
|
3495
3509
|
}
|
|
3496
|
-
u == null || u.redraw("screenshot"),
|
|
3510
|
+
u == null || u.redraw("screenshot"), M == null || M.drawImage(u.getCanvas(), 0, 0, u.width, u.height);
|
|
3497
3511
|
const w = S.toDataURL();
|
|
3498
3512
|
t(w);
|
|
3499
3513
|
} catch (S) {
|
|
@@ -3511,7 +3525,7 @@ function lo({
|
|
|
3511
3525
|
error: o
|
|
3512
3526
|
};
|
|
3513
3527
|
}
|
|
3514
|
-
function
|
|
3528
|
+
function uo(r) {
|
|
3515
3529
|
const e = D(11), {
|
|
3516
3530
|
mapId: t
|
|
3517
3531
|
} = r;
|
|
@@ -3519,17 +3533,17 @@ function co(r) {
|
|
|
3519
3533
|
e[0] !== t ? (s = {
|
|
3520
3534
|
mapId: t
|
|
3521
3535
|
}, e[0] = t, e[1] = s) : s = e[1];
|
|
3522
|
-
const n =
|
|
3536
|
+
const n = or(s);
|
|
3523
3537
|
let o;
|
|
3524
3538
|
e[2] !== t ? (o = {
|
|
3525
3539
|
mapId: t
|
|
3526
3540
|
}, e[2] = t, e[3] = o) : o = e[3];
|
|
3527
|
-
const i =
|
|
3541
|
+
const i = ir(o);
|
|
3528
3542
|
let a;
|
|
3529
3543
|
e[4] !== t ? (a = {
|
|
3530
3544
|
mapId: t
|
|
3531
3545
|
}, e[4] = t, e[5] = a) : a = e[5];
|
|
3532
|
-
const l =
|
|
3546
|
+
const l = cr(a), c = i ?? l ?? n;
|
|
3533
3547
|
let y;
|
|
3534
3548
|
return e[6] !== i || e[7] !== l || e[8] !== c || e[9] !== n ? (y = {
|
|
3535
3549
|
spatialFilter: c,
|
|
@@ -3538,7 +3552,7 @@ function co(r) {
|
|
|
3538
3552
|
viewportSpatialFilter: n
|
|
3539
3553
|
}, e[6] = i, e[7] = l, e[8] = c, e[9] = n, e[10] = y) : y = e[10], y;
|
|
3540
3554
|
}
|
|
3541
|
-
function
|
|
3555
|
+
function or(r) {
|
|
3542
3556
|
const e = D(4), {
|
|
3543
3557
|
mapId: t
|
|
3544
3558
|
} = r;
|
|
@@ -3556,7 +3570,7 @@ function rr(r) {
|
|
|
3556
3570
|
}
|
|
3557
3571
|
return o;
|
|
3558
3572
|
}
|
|
3559
|
-
function
|
|
3573
|
+
function ir(r) {
|
|
3560
3574
|
const e = D(5), {
|
|
3561
3575
|
mapId: t
|
|
3562
3576
|
} = r;
|
|
@@ -3572,25 +3586,25 @@ function or(r) {
|
|
|
3572
3586
|
if (e[2] !== n) {
|
|
3573
3587
|
const a = Et({
|
|
3574
3588
|
values: n
|
|
3575
|
-
}).filter(
|
|
3589
|
+
}).filter(lr);
|
|
3576
3590
|
if (!(a != null && a.length)) {
|
|
3577
3591
|
o = void 0;
|
|
3578
3592
|
break e;
|
|
3579
3593
|
}
|
|
3580
|
-
i = gt(a.map(
|
|
3594
|
+
i = gt(a.map(ar)), e[2] = n, e[3] = i, e[4] = o;
|
|
3581
3595
|
} else
|
|
3582
3596
|
i = e[3], o = e[4];
|
|
3583
3597
|
o = i.geometry;
|
|
3584
3598
|
}
|
|
3585
3599
|
return o;
|
|
3586
3600
|
}
|
|
3587
|
-
function
|
|
3601
|
+
function ar(r) {
|
|
3588
3602
|
return r.geometry.coordinates;
|
|
3589
3603
|
}
|
|
3590
|
-
function
|
|
3604
|
+
function lr(r) {
|
|
3591
3605
|
return r.properties.visible;
|
|
3592
3606
|
}
|
|
3593
|
-
function
|
|
3607
|
+
function cr(r) {
|
|
3594
3608
|
const e = D(4), {
|
|
3595
3609
|
mapId: t
|
|
3596
3610
|
} = r;
|
|
@@ -3605,7 +3619,7 @@ function lr(r) {
|
|
|
3605
3619
|
}
|
|
3606
3620
|
let i;
|
|
3607
3621
|
if (e[2] !== n) {
|
|
3608
|
-
const a = Object.values(n).filter(
|
|
3622
|
+
const a = Object.values(n).filter(dr).flatMap(ur);
|
|
3609
3623
|
i = gt(a), e[2] = n, e[3] = i;
|
|
3610
3624
|
} else
|
|
3611
3625
|
i = e[3];
|
|
@@ -3613,10 +3627,10 @@ function lr(r) {
|
|
|
3613
3627
|
}
|
|
3614
3628
|
return o;
|
|
3615
3629
|
}
|
|
3616
|
-
function
|
|
3630
|
+
function ur(r) {
|
|
3617
3631
|
return r.type === "Polygon" ? [r.coordinates] : r.coordinates;
|
|
3618
3632
|
}
|
|
3619
|
-
function
|
|
3633
|
+
function dr(r) {
|
|
3620
3634
|
return r != null;
|
|
3621
3635
|
}
|
|
3622
3636
|
const le = {
|
|
@@ -3637,44 +3651,44 @@ const le = {
|
|
|
3637
3651
|
format: (r) => r.toLocaleString()
|
|
3638
3652
|
}
|
|
3639
3653
|
};
|
|
3640
|
-
function
|
|
3654
|
+
function fo({
|
|
3641
3655
|
properties: r,
|
|
3642
3656
|
formatters: e = {},
|
|
3643
3657
|
includeColumns: t = Object.keys(r),
|
|
3644
3658
|
locale: s = "en-US",
|
|
3645
3659
|
showColumnName: n = !0,
|
|
3646
3660
|
title: o,
|
|
3647
|
-
getColumnName: i =
|
|
3648
|
-
getFieldHtml: a =
|
|
3649
|
-
getTitle: l =
|
|
3650
|
-
getValue: c =
|
|
3661
|
+
getColumnName: i = hr,
|
|
3662
|
+
getFieldHtml: a = pr,
|
|
3663
|
+
getTitle: l = fr,
|
|
3664
|
+
getValue: c = mr
|
|
3651
3665
|
}) {
|
|
3652
3666
|
const y = o ? l(o) : "", g = t.reduce((f, m) => {
|
|
3653
|
-
const b = e[m],
|
|
3667
|
+
const b = e[m], T = r[m], u = c(T, s, b), h = n ? i(m) : "";
|
|
3654
3668
|
return f + a(h, u);
|
|
3655
3669
|
}, "");
|
|
3656
3670
|
return y + g;
|
|
3657
3671
|
}
|
|
3658
|
-
function
|
|
3672
|
+
function fr(r) {
|
|
3659
3673
|
return `<h3 style="margin: 0"><strong>${r}</strong></h3></br>`;
|
|
3660
3674
|
}
|
|
3661
|
-
function
|
|
3675
|
+
function pr(r, e) {
|
|
3662
3676
|
return `${r}${e}</br>`;
|
|
3663
3677
|
}
|
|
3664
|
-
function
|
|
3678
|
+
function mr(r, e, t) {
|
|
3665
3679
|
try {
|
|
3666
|
-
return
|
|
3680
|
+
return yr(t)(r, e);
|
|
3667
3681
|
} catch {
|
|
3668
3682
|
return r;
|
|
3669
3683
|
}
|
|
3670
3684
|
}
|
|
3671
|
-
function
|
|
3685
|
+
function yr(r) {
|
|
3672
3686
|
return typeof r == "function" ? r : ((r && dt[r]) ?? dt[le.default]).format;
|
|
3673
3687
|
}
|
|
3674
|
-
function
|
|
3688
|
+
function hr(r) {
|
|
3675
3689
|
return `<strong>${r}</strong>: `;
|
|
3676
3690
|
}
|
|
3677
|
-
function
|
|
3691
|
+
function po(r) {
|
|
3678
3692
|
var e, t, s, n, o, i, a, l;
|
|
3679
3693
|
return {
|
|
3680
3694
|
collapsed: (e = r.legend) == null ? void 0 : e.collapsed,
|
|
@@ -3691,7 +3705,7 @@ function fo(r) {
|
|
|
3691
3705
|
visible: r.props.visible ?? !0
|
|
3692
3706
|
};
|
|
3693
3707
|
}
|
|
3694
|
-
function
|
|
3708
|
+
function mo(r) {
|
|
3695
3709
|
const e = D(22), {
|
|
3696
3710
|
children: t,
|
|
3697
3711
|
mapId: s
|
|
@@ -3705,18 +3719,18 @@ function po(r) {
|
|
|
3705
3719
|
} = $(n);
|
|
3706
3720
|
let l;
|
|
3707
3721
|
e[2] !== s ? (l = (w) => w.areLayersLoaded[s], e[2] = s, e[3] = l) : l = e[3];
|
|
3708
|
-
const c = $(l), y = $(
|
|
3722
|
+
const c = $(l), y = $(vr), p = $(br), g = $(gr), f = !c;
|
|
3709
3723
|
let m;
|
|
3710
3724
|
e[4] !== s || e[5] !== y ? (m = (w) => y(s, w), e[4] = s, e[5] = y, e[6] = m) : m = e[6];
|
|
3711
3725
|
const b = m;
|
|
3712
|
-
let
|
|
3713
|
-
e[7] !== p || e[8] !== s ? (
|
|
3714
|
-
const u =
|
|
3726
|
+
let T;
|
|
3727
|
+
e[7] !== p || e[8] !== s ? (T = (w) => p(s, w), e[7] = p, e[8] = s, e[9] = T) : T = e[9];
|
|
3728
|
+
const u = T;
|
|
3715
3729
|
let h;
|
|
3716
3730
|
e[10] !== s || e[11] !== g ? (h = () => g(s), e[10] = s, e[11] = g, e[12] = h) : h = e[12];
|
|
3717
3731
|
const S = h;
|
|
3718
|
-
let
|
|
3719
|
-
return e[13] !== t || e[14] !== i || e[15] !== a || e[16] !== f || e[17] !== b || e[18] !== u || e[19] !== S || e[20] !== o ? (
|
|
3732
|
+
let M;
|
|
3733
|
+
return e[13] !== t || e[14] !== i || e[15] !== a || e[16] !== f || e[17] !== b || e[18] !== u || e[19] !== S || e[20] !== o ? (M = t({
|
|
3720
3734
|
zoom: o,
|
|
3721
3735
|
maxZoom: i,
|
|
3722
3736
|
minZoom: a,
|
|
@@ -3724,18 +3738,18 @@ function po(r) {
|
|
|
3724
3738
|
setZoom: b,
|
|
3725
3739
|
flyTo: u,
|
|
3726
3740
|
resetViewState: S
|
|
3727
|
-
}), e[13] = t, e[14] = i, e[15] = a, e[16] = f, e[17] = b, e[18] = u, e[19] = S, e[20] = o, e[21] =
|
|
3741
|
+
}), e[13] = t, e[14] = i, e[15] = a, e[16] = f, e[17] = b, e[18] = u, e[19] = S, e[20] = o, e[21] = M) : M = e[21], M;
|
|
3728
3742
|
}
|
|
3729
|
-
function
|
|
3743
|
+
function gr(r) {
|
|
3730
3744
|
return r.resetViewState;
|
|
3731
3745
|
}
|
|
3732
|
-
function
|
|
3746
|
+
function br(r) {
|
|
3733
3747
|
return r.flyTo;
|
|
3734
3748
|
}
|
|
3735
|
-
function
|
|
3749
|
+
function vr(r) {
|
|
3736
3750
|
return r.setZoom;
|
|
3737
3751
|
}
|
|
3738
|
-
async function
|
|
3752
|
+
async function Sr({
|
|
3739
3753
|
baseUrl: r = We,
|
|
3740
3754
|
connection: e,
|
|
3741
3755
|
accessToken: t,
|
|
@@ -3750,7 +3764,7 @@ async function vr({
|
|
|
3750
3764
|
apiVersion: c = Ke
|
|
3751
3765
|
}) {
|
|
3752
3766
|
const y = `${r}/${c}/stats/${e}/${n}`;
|
|
3753
|
-
return
|
|
3767
|
+
return kt({
|
|
3754
3768
|
accessToken: t,
|
|
3755
3769
|
signal: o,
|
|
3756
3770
|
url: y,
|
|
@@ -3763,7 +3777,7 @@ async function vr({
|
|
|
3763
3777
|
...i
|
|
3764
3778
|
});
|
|
3765
3779
|
}
|
|
3766
|
-
async function
|
|
3780
|
+
async function wr({
|
|
3767
3781
|
baseUrl: r = We,
|
|
3768
3782
|
connection: e,
|
|
3769
3783
|
accessToken: t,
|
|
@@ -3777,7 +3791,7 @@ async function Sr({
|
|
|
3777
3791
|
apiVersion: l = Ke
|
|
3778
3792
|
}) {
|
|
3779
3793
|
const c = `${r}/${l}/stats/${e}/${s}/${n}`;
|
|
3780
|
-
return
|
|
3794
|
+
return kt({
|
|
3781
3795
|
accessToken: t,
|
|
3782
3796
|
signal: i,
|
|
3783
3797
|
url: c,
|
|
@@ -3788,7 +3802,7 @@ async function Sr({
|
|
|
3788
3802
|
...a
|
|
3789
3803
|
});
|
|
3790
3804
|
}
|
|
3791
|
-
function
|
|
3805
|
+
function yo(r) {
|
|
3792
3806
|
const e = D(20), {
|
|
3793
3807
|
source: t,
|
|
3794
3808
|
attribute: s,
|
|
@@ -3808,7 +3822,7 @@ function mo(r) {
|
|
|
3808
3822
|
let g;
|
|
3809
3823
|
e[5] !== s || e[6] !== t ? (g = [t, s], e[5] = s, e[6] = t, e[7] = g) : g = e[7];
|
|
3810
3824
|
let f;
|
|
3811
|
-
e[8] !== n || e[9] !== s || e[10] !== i || e[11] !== o || e[12] !== t ? (f = () =>
|
|
3825
|
+
e[8] !== n || e[9] !== s || e[10] !== i || e[11] !== o || e[12] !== t ? (f = () => Mr({
|
|
3812
3826
|
source: t,
|
|
3813
3827
|
params: o,
|
|
3814
3828
|
attribute: s,
|
|
@@ -3829,7 +3843,7 @@ function mo(r) {
|
|
|
3829
3843
|
...y
|
|
3830
3844
|
}, e[14] = p, e[15] = t, e[16] = g, e[17] = f, e[18] = y, e[19] = m) : m = e[19], ne(m);
|
|
3831
3845
|
}
|
|
3832
|
-
function
|
|
3846
|
+
function Mr({
|
|
3833
3847
|
source: r,
|
|
3834
3848
|
params: e,
|
|
3835
3849
|
attribute: t,
|
|
@@ -3837,7 +3851,7 @@ function wr({
|
|
|
3837
3851
|
fetcherOptions: n
|
|
3838
3852
|
}) {
|
|
3839
3853
|
if (r.type.startsWith("query"))
|
|
3840
|
-
return
|
|
3854
|
+
return Sr({
|
|
3841
3855
|
connection: r.connectionName,
|
|
3842
3856
|
baseUrl: r.apiBaseUrl,
|
|
3843
3857
|
apiVersion: r.apiVersion,
|
|
@@ -3849,7 +3863,7 @@ function wr({
|
|
|
3849
3863
|
fetcherOptions: n
|
|
3850
3864
|
});
|
|
3851
3865
|
if (r.type.startsWith("table"))
|
|
3852
|
-
return
|
|
3866
|
+
return wr({
|
|
3853
3867
|
connection: r.connectionName,
|
|
3854
3868
|
baseUrl: r.apiBaseUrl,
|
|
3855
3869
|
apiVersion: r.apiVersion,
|
|
@@ -3890,13 +3904,13 @@ async function Tr({
|
|
|
3890
3904
|
return i;
|
|
3891
3905
|
}
|
|
3892
3906
|
export {
|
|
3893
|
-
|
|
3907
|
+
Qr as BasemapsControls,
|
|
3894
3908
|
ot as CONVERSIONS_UNITS,
|
|
3895
3909
|
$e as CartoBasemapURL,
|
|
3896
3910
|
J as CartoBasemaps,
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3911
|
+
Xr as CategoriesModel,
|
|
3912
|
+
js as CustomCompositeEditMode,
|
|
3913
|
+
Mt as CustomEditableGeojsonLayer,
|
|
3900
3914
|
Ys as CustomMeasureAreaMode,
|
|
3901
3915
|
Xs as CustomMeasureBufferMode,
|
|
3902
3916
|
Pt as CustomMeasureDistanceMode,
|
|
@@ -3904,16 +3918,16 @@ export {
|
|
|
3904
3918
|
Vs as DEFAULT_LASSO_TOOLS_LAYER_PROPS,
|
|
3905
3919
|
Ue as DEFAULT_LASSO_TOOLS_MODES,
|
|
3906
3920
|
xe as DEFAULT_LASSO_TOOLS_PROPS,
|
|
3907
|
-
|
|
3921
|
+
Me as DEFAULT_MASK_LAYER_PROPS,
|
|
3908
3922
|
sn as DEFAULT_MEASUREMENT_TOOLS_MODES,
|
|
3909
3923
|
nn as DEFAULT_MEASUREMENT_TOOLS_UNITS,
|
|
3910
|
-
|
|
3924
|
+
qe as DEFAULT_MEASURE_COLORS,
|
|
3911
3925
|
Os as DeckGLComponent,
|
|
3912
3926
|
Y as EditableEditType,
|
|
3913
|
-
|
|
3914
|
-
|
|
3927
|
+
Jr as FeaturesModel,
|
|
3928
|
+
eo as FormulaModel,
|
|
3915
3929
|
Re as GmapsBasemap,
|
|
3916
|
-
|
|
3930
|
+
to as HistogramModel,
|
|
3917
3931
|
me as INTL_UNITS,
|
|
3918
3932
|
ln as LassoTools,
|
|
3919
3933
|
Ws as LassoToolsProvider,
|
|
@@ -3924,60 +3938,60 @@ export {
|
|
|
3924
3938
|
tn as MEASUREMENT_TOOLS_UNITS_AREA,
|
|
3925
3939
|
it as MEASUREMENT_TOOLS_UNITS_DISTANCE,
|
|
3926
3940
|
Z as MEASUREMENT_TOOLS_UNITS_DISTANCE_VALUES,
|
|
3927
|
-
|
|
3941
|
+
Kr as MapComponent,
|
|
3928
3942
|
Ie as MapMeasurementUnitAuto,
|
|
3929
3943
|
en as MapMeasurementUnitTurf,
|
|
3930
3944
|
Bs as MapProvider,
|
|
3931
|
-
|
|
3945
|
+
ao as MapsProvider,
|
|
3932
3946
|
te as MapsTypes,
|
|
3933
|
-
|
|
3947
|
+
Tn as MeasurementTools,
|
|
3934
3948
|
fn as MeasurementToolsProvider,
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3949
|
+
so as RangeModel,
|
|
3950
|
+
no as ScatterModel,
|
|
3951
|
+
ro as TableModel,
|
|
3952
|
+
oo as TimeSeriesModel,
|
|
3953
|
+
mo as ZoomControls,
|
|
3954
|
+
io as clientID,
|
|
3941
3955
|
st as convertMetersTo,
|
|
3942
3956
|
Qs as createLassoToolsStore,
|
|
3943
3957
|
Us as createMapStore,
|
|
3944
3958
|
dn as createMeasurementToolsStore,
|
|
3945
3959
|
le as formatterTypes,
|
|
3946
3960
|
bs as getCursorDefault,
|
|
3947
|
-
|
|
3948
|
-
|
|
3961
|
+
Wr as getDeckController,
|
|
3962
|
+
Yr as getFilterValues,
|
|
3949
3963
|
Gs as getLassoToolsLayer,
|
|
3950
3964
|
cn as getMeasurementToolsLayer,
|
|
3951
3965
|
Oe as getTextLayerFormattedDistance,
|
|
3952
3966
|
vs as getTooltipDefault,
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3967
|
+
po as mappingLegendMeridian,
|
|
3968
|
+
fo as objectToHtml,
|
|
3969
|
+
Ct as sortLayers,
|
|
3970
|
+
ks as transitionFlyConfig,
|
|
3971
|
+
Yn as useCategories,
|
|
3958
3972
|
Lt as useEventManager,
|
|
3959
|
-
|
|
3973
|
+
Xn as useFeatures,
|
|
3960
3974
|
Qn as useFilters,
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3975
|
+
Jn as useFormula,
|
|
3976
|
+
er as useHistogram,
|
|
3977
|
+
ir as useLassoToolsSpatialFilter,
|
|
3964
3978
|
G as useLassoToolsState,
|
|
3965
3979
|
pe as useLayerStore,
|
|
3966
3980
|
En as useLayers,
|
|
3967
|
-
|
|
3968
|
-
|
|
3981
|
+
lo as useLegend,
|
|
3982
|
+
co as useMapScreenshot,
|
|
3969
3983
|
$ as useMapStore,
|
|
3970
3984
|
I as useMeasurementToolsState,
|
|
3971
|
-
|
|
3972
|
-
|
|
3985
|
+
tr as useRange,
|
|
3986
|
+
sr as useScatter,
|
|
3973
3987
|
zn as useSource,
|
|
3974
3988
|
Pe as useSourceStore,
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3989
|
+
Zr as useSourceWithFilters,
|
|
3990
|
+
uo as useSpatialFilter,
|
|
3991
|
+
yo as useStats,
|
|
3992
|
+
nr as useTable,
|
|
3993
|
+
rr as useTimeSeries,
|
|
3994
|
+
or as useViewportSpatialFilter,
|
|
3981
3995
|
ie as useWidgetModel
|
|
3982
3996
|
};
|
|
3983
3997
|
//# sourceMappingURL=index.js.map
|