@nika-js/onlymap 0.11.9 → 0.11.11
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/CHANGELOG.md +10 -0
- package/README.md +2 -2
- package/dist/{basemap-t-PHB_Pu.js → basemap-QT4ua-dL.js} +333 -320
- package/dist/basemap-request.d.ts +24 -0
- package/dist/{geoparquet-DTJd2aSg.js → geoparquet-hOsdfZJa.js} +1 -1
- package/dist/{globe-view-C3wCRrI5.js → globe-view-BSGTUqWc.js} +1 -1
- package/dist/{hillshade-BsFo5EQa.js → hillshade-D2Ps3Nim.js} +1 -1
- package/dist/{index-CVudT7Jx.js → index-BO7MtTkn.js} +3 -3
- package/dist/{index-tdZDxE69.js → index-Bxue4Psc.js} +3 -3
- package/dist/{index-C-27TeLS.js → index-Bzypgr1v.js} +1 -1
- package/dist/{index-B0CFKhL1.js → index-CevWTqBO.js} +185 -169
- package/dist/{index-CkoZRLXw.js → index-D1ZjhP2H.js} +1 -1
- package/dist/{index-CmebKPpS.js → index-DBt_2x-w.js} +1 -1
- package/dist/{index-CvYrJQAF.js → index-DjYxw-8H.js} +2 -2
- package/dist/{index-Cz8al9P3.js → index-DudIuhJa.js} +1 -1
- package/dist/{index-DnCja0BT.js → index-Dwc4s3mc.js} +1 -1
- package/dist/{lerc-DNRQ6_Sp.js → lerc-DQuf93SN.js} +1 -1
- package/dist/onlymap.standalone.js +907 -878
- package/dist/onlymapjs.js +1 -1
- package/dist/{post-process-effect-DAz0ISd4.js → post-process-effect-B3j_nBzy.js} +1 -1
- package/dist/{raster-veW80Eoz.js → raster-CvAJ-h_g.js} +3 -3
- package/dist/{raster-pipeline-B2vifX-A.js → raster-pipeline-CusoihQ3.js} +1 -1
- package/dist/{text-on-path-BZxqgwi2.js → text-on-path-D9u5SYCo.js} +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/{zarr-7uar2Wec.js → zarr-DWb_nikR.js} +2 -2
- package/docs/basemaps.md +3 -2
- package/docs/cartograph.md +2 -2
- package/llms.txt +1 -1
- package/onlymapjs.html-data.json +3 -0
- package/package.json +1 -1
- package/skills/onlymapjs/SKILL.md +2 -2
- package/skills/onlymapjs/references/syntax.md +3 -3
|
@@ -18,7 +18,7 @@ function _B(t) {
|
|
|
18
18
|
return /^[a-z][a-z0-9+.-]*:/i.test(t) || /\.json(?:[?#].*)?$/i.test(t);
|
|
19
19
|
}
|
|
20
20
|
const af = /* @__PURE__ */ new Map(), Fp = {};
|
|
21
|
-
function
|
|
21
|
+
function Pr(t, e) {
|
|
22
22
|
af.set(t, e);
|
|
23
23
|
}
|
|
24
24
|
function F9(t) {
|
|
@@ -55,12 +55,12 @@ function V9(t, e) {
|
|
|
55
55
|
}
|
|
56
56
|
return { style: i.style, attribution: i.attribution };
|
|
57
57
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
58
|
+
Pr("liberty", { style: "https://tiles.openfreemap.org/styles/liberty", label: "Liberty" });
|
|
59
|
+
Pr("bright", { style: "https://tiles.openfreemap.org/styles/bright", label: "Bright" });
|
|
60
|
+
Pr("positron", { style: "https://tiles.openfreemap.org/styles/positron", label: "Positron" });
|
|
61
|
+
Pr("dark-matter", { style: "https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json", label: "Dark Matter" });
|
|
62
|
+
Pr("voyager", { style: "https://basemaps.cartocdn.com/gl/voyager-gl-style/style.json", label: "Voyager" });
|
|
63
|
+
Pr("osm", {
|
|
64
64
|
label: "OpenStreetMap",
|
|
65
65
|
style: {
|
|
66
66
|
version: 8,
|
|
@@ -76,17 +76,33 @@ Zr("osm", {
|
|
|
76
76
|
layers: [{ id: "osm", type: "raster", source: "osm" }]
|
|
77
77
|
}
|
|
78
78
|
});
|
|
79
|
-
|
|
79
|
+
Pr("satellite", {
|
|
80
|
+
label: "Satellite",
|
|
81
|
+
style: {
|
|
82
|
+
version: 8,
|
|
83
|
+
sources: {
|
|
84
|
+
satellite: {
|
|
85
|
+
type: "raster",
|
|
86
|
+
tiles: ["https://tiles.maps.eox.at/wmts/1.0.0/s2cloudless_3857/default/g/{z}/{y}/{x}.jpg"],
|
|
87
|
+
tileSize: 256,
|
|
88
|
+
maxzoom: 14,
|
|
89
|
+
attribution: '<a href="https://cloudless.eox.at">Sentinel-2 cloudless</a> by <a href="https://eox.at">EOX IT Services GmbH</a> (contains modified Copernicus Sentinel data 2016 & 2017)'
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
layers: [{ id: "satellite", type: "raster", source: "satellite" }]
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
Pr("maptiler-streets", {
|
|
80
96
|
style: "https://api.maptiler.com/maps/streets-v2/style.json?key={key}",
|
|
81
97
|
label: "MapTiler Streets",
|
|
82
98
|
requiresKey: "maptiler"
|
|
83
99
|
});
|
|
84
|
-
|
|
100
|
+
Pr("maptiler-dataviz", {
|
|
85
101
|
style: "https://api.maptiler.com/maps/dataviz/style.json?key={key}",
|
|
86
102
|
label: "MapTiler Dataviz",
|
|
87
103
|
requiresKey: "maptiler"
|
|
88
104
|
});
|
|
89
|
-
|
|
105
|
+
Pr("maptiler-satellite", {
|
|
90
106
|
style: "https://api.maptiler.com/maps/satellite/style.json?key={key}",
|
|
91
107
|
label: "MapTiler Satellite",
|
|
92
108
|
requiresKey: "maptiler"
|
|
@@ -112,12 +128,12 @@ function Ht(t, e) {
|
|
|
112
128
|
if (!t)
|
|
113
129
|
throw new Error(e || "loader assertion failed.");
|
|
114
130
|
}
|
|
115
|
-
const
|
|
131
|
+
const Hr = {
|
|
116
132
|
self: typeof self < "u" && self,
|
|
117
133
|
window: typeof window < "u" && window,
|
|
118
134
|
global: typeof global < "u" && global,
|
|
119
135
|
document: typeof document < "u" && document
|
|
120
|
-
}, iBe =
|
|
136
|
+
}, iBe = Hr.self || Hr.window || Hr.global || {}, nBe = Hr.window || Hr.self || Hr.global || {}, rBe = Hr.global || Hr.self || Hr.window || {}, sBe = Hr.document || {}, Dp = (
|
|
121
137
|
// @ts-ignore process does not exist on browser
|
|
122
138
|
!!(typeof process != "object" || String(process) !== "[object process]" || process.browser)
|
|
123
139
|
), oBe = typeof importScripts == "function", jw = typeof process < "u" && process.version && /v([0-9]*)/.exec(process.version);
|
|
@@ -2455,7 +2471,7 @@ function yH(t, e, i = 0) {
|
|
|
2455
2471
|
return !1;
|
|
2456
2472
|
return !0;
|
|
2457
2473
|
}
|
|
2458
|
-
const
|
|
2474
|
+
const zr = !1, Gu = !0;
|
|
2459
2475
|
function Gv(t) {
|
|
2460
2476
|
const e = zf(t);
|
|
2461
2477
|
return vH(e) || wH(e) || _H(e) || xH(e) || bH(e);
|
|
@@ -2471,15 +2487,15 @@ function bH(t) {
|
|
|
2471
2487
|
}
|
|
2472
2488
|
function vH(t) {
|
|
2473
2489
|
const e = zf(t);
|
|
2474
|
-
return e.byteLength >= 24 && e.getUint32(0,
|
|
2490
|
+
return e.byteLength >= 24 && e.getUint32(0, zr) === 2303741511 ? {
|
|
2475
2491
|
mimeType: "image/png",
|
|
2476
|
-
width: e.getUint32(16,
|
|
2477
|
-
height: e.getUint32(20,
|
|
2492
|
+
width: e.getUint32(16, zr),
|
|
2493
|
+
height: e.getUint32(20, zr)
|
|
2478
2494
|
} : null;
|
|
2479
2495
|
}
|
|
2480
2496
|
function _H(t) {
|
|
2481
2497
|
const e = zf(t);
|
|
2482
|
-
return e.byteLength >= 10 && e.getUint32(0,
|
|
2498
|
+
return e.byteLength >= 10 && e.getUint32(0, zr) === 1195984440 ? {
|
|
2483
2499
|
mimeType: "image/gif",
|
|
2484
2500
|
width: e.getUint16(6, Gu),
|
|
2485
2501
|
height: e.getUint16(8, Gu)
|
|
@@ -2487,7 +2503,7 @@ function _H(t) {
|
|
|
2487
2503
|
}
|
|
2488
2504
|
function xH(t) {
|
|
2489
2505
|
const e = zf(t);
|
|
2490
|
-
return e.byteLength >= 14 && e.getUint16(0,
|
|
2506
|
+
return e.byteLength >= 14 && e.getUint16(0, zr) === 16973 && e.getUint32(2, Gu) === e.byteLength ? {
|
|
2491
2507
|
mimeType: "image/bmp",
|
|
2492
2508
|
width: e.getUint32(18, Gu),
|
|
2493
2509
|
height: e.getUint32(22, Gu)
|
|
@@ -2495,23 +2511,23 @@ function xH(t) {
|
|
|
2495
2511
|
}
|
|
2496
2512
|
function wH(t) {
|
|
2497
2513
|
const e = zf(t);
|
|
2498
|
-
if (!(e.byteLength >= 3 && e.getUint16(0,
|
|
2514
|
+
if (!(e.byteLength >= 3 && e.getUint16(0, zr) === 65496 && e.getUint8(2) === 255))
|
|
2499
2515
|
return null;
|
|
2500
2516
|
const { tableMarkers: n, sofMarkers: r } = CH();
|
|
2501
2517
|
let s = 2;
|
|
2502
2518
|
for (; s + 9 < e.byteLength; ) {
|
|
2503
|
-
const o = e.getUint16(s,
|
|
2519
|
+
const o = e.getUint16(s, zr);
|
|
2504
2520
|
if (r.has(o))
|
|
2505
2521
|
return {
|
|
2506
2522
|
mimeType: "image/jpeg",
|
|
2507
|
-
height: e.getUint16(s + 5,
|
|
2523
|
+
height: e.getUint16(s + 5, zr),
|
|
2508
2524
|
// Number of lines
|
|
2509
|
-
width: e.getUint16(s + 7,
|
|
2525
|
+
width: e.getUint16(s + 7, zr)
|
|
2510
2526
|
// Number of pixels per line
|
|
2511
2527
|
};
|
|
2512
2528
|
if (!n.has(o))
|
|
2513
2529
|
return null;
|
|
2514
|
-
s += 2, s += e.getUint16(s,
|
|
2530
|
+
s += 2, s += e.getUint16(s, zr);
|
|
2515
2531
|
}
|
|
2516
2532
|
return null;
|
|
2517
2533
|
}
|
|
@@ -6987,7 +7003,7 @@ class s7 {
|
|
|
6987
7003
|
return e.components === 1 ? i : `${i}x${e.components}`;
|
|
6988
7004
|
}
|
|
6989
7005
|
}
|
|
6990
|
-
const df = new s7(), $i = "texture-compression-bc", Dt = "texture-compression-astc",
|
|
7006
|
+
const df = new s7(), $i = "texture-compression-bc", Dt = "texture-compression-astc", Fr = "texture-compression-etc2", o7 = "texture-compression-etc1-webgl", Ch = "texture-compression-pvrtc-webgl", om = "texture-compression-atc-webgl", Sh = "float32-renderable-webgl", am = "float16-renderable-webgl", a7 = "rgb9e5ufloat-renderable-webgl", lm = "snorm8-renderable-webgl", Gs = "norm16-webgl", cm = "norm16-renderable-webgl", um = "snorm16-renderable-webgl", Th = "float32-filterable", VC = "float16-filterable-webgl";
|
|
6991
7007
|
function VL(t) {
|
|
6992
7008
|
const e = zL[t];
|
|
6993
7009
|
if (!e)
|
|
@@ -7085,16 +7101,16 @@ const c7 = {
|
|
|
7085
7101
|
"bc7-rgba-unorm-srgb": { f: $i },
|
|
7086
7102
|
// WEBGL_compressed_texture_etc: device.features.has("texture-compression-etc2")
|
|
7087
7103
|
// Note: Supposedly guaranteed availability compressed formats in WebGL2, but through CPU decompression
|
|
7088
|
-
"etc2-rgb8unorm": { f:
|
|
7089
|
-
"etc2-rgb8unorm-srgb": { f:
|
|
7090
|
-
"etc2-rgb8a1unorm": { f:
|
|
7091
|
-
"etc2-rgb8a1unorm-srgb": { f:
|
|
7092
|
-
"etc2-rgba8unorm": { f:
|
|
7093
|
-
"etc2-rgba8unorm-srgb": { f:
|
|
7094
|
-
"eac-r11unorm": { f:
|
|
7095
|
-
"eac-r11snorm": { f:
|
|
7096
|
-
"eac-rg11unorm": { f:
|
|
7097
|
-
"eac-rg11snorm": { f:
|
|
7104
|
+
"etc2-rgb8unorm": { f: Fr },
|
|
7105
|
+
"etc2-rgb8unorm-srgb": { f: Fr },
|
|
7106
|
+
"etc2-rgb8a1unorm": { f: Fr },
|
|
7107
|
+
"etc2-rgb8a1unorm-srgb": { f: Fr },
|
|
7108
|
+
"etc2-rgba8unorm": { f: Fr },
|
|
7109
|
+
"etc2-rgba8unorm-srgb": { f: Fr },
|
|
7110
|
+
"eac-r11unorm": { f: Fr },
|
|
7111
|
+
"eac-r11snorm": { f: Fr },
|
|
7112
|
+
"eac-rg11unorm": { f: Fr },
|
|
7113
|
+
"eac-rg11snorm": { f: Fr },
|
|
7098
7114
|
// X_ASTC compressed formats: device.features.has("texture-compression-astc")
|
|
7099
7115
|
"astc-4x4-unorm": { f: Dt },
|
|
7100
7116
|
"astc-4x4-unorm-srgb": { f: Dt },
|
|
@@ -16941,7 +16957,7 @@ class v2 {
|
|
|
16941
16957
|
}
|
|
16942
16958
|
}
|
|
16943
16959
|
const mm = {};
|
|
16944
|
-
function
|
|
16960
|
+
function Br(t = "id") {
|
|
16945
16961
|
mm[t] = mm[t] || 1;
|
|
16946
16962
|
const e = mm[t]++;
|
|
16947
16963
|
return `${t}-${e}`;
|
|
@@ -16956,7 +16972,7 @@ class xS {
|
|
|
16956
16972
|
indices;
|
|
16957
16973
|
attributes;
|
|
16958
16974
|
constructor(e) {
|
|
16959
|
-
if (this.id = e.id ||
|
|
16975
|
+
if (this.id = e.id || Br("geometry"), this.topology = e.topology, this.indices = e.indices || null, this.attributes = e.attributes, this.vertexCount = e.vertexCount, this.bufferLayout = e.bufferLayout || [], this.indices && !(this.indices.usage & St.INDEX))
|
|
16960
16976
|
throw new Error("Index buffer must have INDEX usage");
|
|
16961
16977
|
}
|
|
16962
16978
|
destroy() {
|
|
@@ -17521,7 +17537,7 @@ class as {
|
|
|
17521
17537
|
}
|
|
17522
17538
|
constructor(e, i) {
|
|
17523
17539
|
this.device = e;
|
|
17524
|
-
const n =
|
|
17540
|
+
const n = Br("dynamic-texture"), r = i;
|
|
17525
17541
|
this.props = { ...as.defaultProps, id: n, ...i, data: null }, this.id = this.props.id, this.ready = new Promise((s, o) => {
|
|
17526
17542
|
this.resolveReady = s, this.rejectReady = o;
|
|
17527
17543
|
}), this.initAsync(r);
|
|
@@ -17932,7 +17948,7 @@ class Wt {
|
|
|
17932
17948
|
return `Model(${this.id})`;
|
|
17933
17949
|
}
|
|
17934
17950
|
constructor(e, i) {
|
|
17935
|
-
this.props = { ...Wt.defaultProps, ...i }, i = this.props, this.id = i.id ||
|
|
17951
|
+
this.props = { ...Wt.defaultProps, ...i }, i = this.props, this.id = i.id || Br("model"), this.device = e, Object.assign(this.userData, i.userData), this.material = i.material || null;
|
|
17936
17952
|
const n = Object.fromEntries(this.props.modules?.map((l) => [l.name, l]) || []), r = i.shaderInputs || new _2(n, { disableWarnings: this.props.disableWarnings });
|
|
17937
17953
|
this.setShaderInputs(r);
|
|
17938
17954
|
const s = qJ(e), o = (
|
|
@@ -18397,7 +18413,7 @@ class tK {
|
|
|
18397
18413
|
_uniformStore;
|
|
18398
18414
|
_bindGroupCacheToken = {};
|
|
18399
18415
|
constructor(e, i = {}) {
|
|
18400
|
-
this.id = i.id ||
|
|
18416
|
+
this.id = i.id || Br("material"), this.device = e, this.factory = i.factory || new x2(e, {
|
|
18401
18417
|
modules: i.modules || i.shaderInputs?.getModules() || []
|
|
18402
18418
|
});
|
|
18403
18419
|
const n = Object.fromEntries((i.shaderInputs?.getModules() || this.factory.modules).map((r) => [
|
|
@@ -18560,7 +18576,7 @@ class PS {
|
|
|
18560
18576
|
magFilter: "nearest",
|
|
18561
18577
|
mipmapFilter: "nearest"
|
|
18562
18578
|
}), this.model = new Wt(this.device, {
|
|
18563
|
-
id: i.id ||
|
|
18579
|
+
id: i.id || Br("texture-transform-model"),
|
|
18564
18580
|
fs: i.fs || AL({
|
|
18565
18581
|
input: i.targetTextureVarying,
|
|
18566
18582
|
inputChannels: i.targetTextureChannels,
|
|
@@ -18634,7 +18650,7 @@ class xi {
|
|
|
18634
18650
|
userData = {};
|
|
18635
18651
|
constructor(e) {
|
|
18636
18652
|
const { attributes: i = {}, indices: n = null, vertexCount: r = null } = e;
|
|
18637
|
-
this.id = e.id ||
|
|
18653
|
+
this.id = e.id || Br("geometry"), this.topology = e.topology, n && (this.indices = ArrayBuffer.isView(n) ? { value: n, size: 1 } : n), this.attributes = {};
|
|
18638
18654
|
for (const [s, o] of Object.entries(i)) {
|
|
18639
18655
|
const a = ArrayBuffer.isView(o) ? { value: o } : o;
|
|
18640
18656
|
if (!ArrayBuffer.isView(a.value))
|
|
@@ -18694,7 +18710,7 @@ const nK = {
|
|
|
18694
18710
|
};
|
|
18695
18711
|
class HN extends xi {
|
|
18696
18712
|
constructor(e = {}) {
|
|
18697
|
-
const { id: i =
|
|
18713
|
+
const { id: i = Br("truncated-code-geometry") } = e, { indices: n, attributes: r } = rK(e);
|
|
18698
18714
|
super({
|
|
18699
18715
|
...e,
|
|
18700
18716
|
id: i,
|
|
@@ -18736,7 +18752,7 @@ function rK(t = {}) {
|
|
|
18736
18752
|
}
|
|
18737
18753
|
class jN extends HN {
|
|
18738
18754
|
constructor(e = {}) {
|
|
18739
|
-
const { id: i =
|
|
18755
|
+
const { id: i = Br("cone-geometry"), radius: n = 1, cap: r = !0 } = e;
|
|
18740
18756
|
super({
|
|
18741
18757
|
...e,
|
|
18742
18758
|
id: i,
|
|
@@ -18762,7 +18778,7 @@ class wA {
|
|
|
18762
18778
|
props = {};
|
|
18763
18779
|
constructor(e = {}) {
|
|
18764
18780
|
const { id: i } = e;
|
|
18765
|
-
this.id = i ||
|
|
18781
|
+
this.id = i || Br(this.constructor.name), this._setScenegraphNodeProps(e);
|
|
18766
18782
|
}
|
|
18767
18783
|
getBounds() {
|
|
18768
18784
|
return null;
|
|
@@ -18923,7 +18939,7 @@ class Ob extends wA {
|
|
|
18923
18939
|
}
|
|
18924
18940
|
class WN extends xi {
|
|
18925
18941
|
constructor(e = {}) {
|
|
18926
|
-
const { id: i =
|
|
18942
|
+
const { id: i = Br("cube-geometry"), indices: n = !0 } = e;
|
|
18927
18943
|
super(n ? {
|
|
18928
18944
|
...e,
|
|
18929
18945
|
id: i,
|
|
@@ -19522,7 +19538,7 @@ const sK = new Uint16Array([
|
|
|
19522
19538
|
};
|
|
19523
19539
|
class $N extends HN {
|
|
19524
19540
|
constructor(e = {}) {
|
|
19525
|
-
const { id: i =
|
|
19541
|
+
const { id: i = Br("cylinder-geometry"), radius: n = 1 } = e;
|
|
19526
19542
|
super({
|
|
19527
19543
|
...e,
|
|
19528
19544
|
id: i,
|
|
@@ -23096,17 +23112,17 @@ const mq = {
|
|
|
23096
23112
|
viewport: (t, e, i, n, r) => t({
|
|
23097
23113
|
2978: [e, i, n, r]
|
|
23098
23114
|
})
|
|
23099
|
-
},
|
|
23100
|
-
3042:
|
|
23101
|
-
2884:
|
|
23102
|
-
2929:
|
|
23103
|
-
3024:
|
|
23104
|
-
32823:
|
|
23105
|
-
32926:
|
|
23106
|
-
32928:
|
|
23107
|
-
3089:
|
|
23108
|
-
2960:
|
|
23109
|
-
35977:
|
|
23115
|
+
}, Dr = (t, e) => t.isEnabled(e), YS = {
|
|
23116
|
+
3042: Dr,
|
|
23117
|
+
2884: Dr,
|
|
23118
|
+
2929: Dr,
|
|
23119
|
+
3024: Dr,
|
|
23120
|
+
32823: Dr,
|
|
23121
|
+
32926: Dr,
|
|
23122
|
+
32928: Dr,
|
|
23123
|
+
3089: Dr,
|
|
23124
|
+
2960: Dr,
|
|
23125
|
+
35977: Dr
|
|
23110
23126
|
}, yq = /* @__PURE__ */ new Set([
|
|
23111
23127
|
34016,
|
|
23112
23128
|
36388,
|
|
@@ -27493,7 +27509,7 @@ class eee {
|
|
|
27493
27509
|
}
|
|
27494
27510
|
}
|
|
27495
27511
|
const oT = [], aT = [];
|
|
27496
|
-
function
|
|
27512
|
+
function Lr(t, e = 0, i = 1 / 0) {
|
|
27497
27513
|
let n = oT;
|
|
27498
27514
|
const r = {
|
|
27499
27515
|
index: -1,
|
|
@@ -27758,7 +27774,7 @@ class xk extends eee {
|
|
|
27758
27774
|
(typeof v == "function" ? v : s[v]);
|
|
27759
27775
|
Ri(typeof w == "function", `accessor "${v}" is not a function`);
|
|
27760
27776
|
let S = e.getVertexOffset(n);
|
|
27761
|
-
const { iterable: E, objectInfo: I } =
|
|
27777
|
+
const { iterable: E, objectInfo: I } = Lr(i, n, r);
|
|
27762
27778
|
for (const B of E) {
|
|
27763
27779
|
I.index++;
|
|
27764
27780
|
let P = w(B, I);
|
|
@@ -30422,7 +30438,7 @@ class Nk {
|
|
|
30422
30438
|
* `data` is expected to be an iterable consistent with the base Layer expectation
|
|
30423
30439
|
*/
|
|
30424
30440
|
_forEachGeometry(e, i, n) {
|
|
30425
|
-
const { data: r, getGeometry: s } = this, { iterable: o, objectInfo: a } =
|
|
30441
|
+
const { data: r, getGeometry: s } = this, { iterable: o, objectInfo: a } = Lr(r, i, n);
|
|
30426
30442
|
for (const l of o) {
|
|
30427
30443
|
a.index++;
|
|
30428
30444
|
const u = s ? s(l, a) : null;
|
|
@@ -31145,7 +31161,7 @@ const sie = {
|
|
|
31145
31161
|
}, oie = {
|
|
31146
31162
|
match: (t, e) => ["csv", "tsv"].includes(xo(t) ?? "") || /text\/(csv|tab-separated-values)/i.test(e ?? ""),
|
|
31147
31163
|
parse: async (t) => {
|
|
31148
|
-
const [e, i, n] = await Promise.all([t.text(), import("./index-
|
|
31164
|
+
const [e, i, n] = await Promise.all([t.text(), import("./index-Dwc4s3mc.js"), import("./index-DjYxw-8H.js")]), r = await n.parse(e, i.CSVLoader, { csv: { shape: "object-row-table" } });
|
|
31149
31165
|
return aie(r.data) ?? r.data;
|
|
31150
31166
|
}
|
|
31151
31167
|
};
|
|
@@ -31167,7 +31183,7 @@ const lie = {
|
|
|
31167
31183
|
parse: async (t, e) => {
|
|
31168
31184
|
t.body?.cancel().catch(() => {
|
|
31169
31185
|
});
|
|
31170
|
-
const [i, n] = await Promise.all([import("./index-
|
|
31186
|
+
const [i, n] = await Promise.all([import("./index-DjYxw-8H.js"), import("./index-DBt_2x-w.js")]), r = t.url || e, s = /* @__PURE__ */ new Map(), o = (m) => {
|
|
31171
31187
|
const v = String(m);
|
|
31172
31188
|
let _ = s.get(v);
|
|
31173
31189
|
return _ || (_ = sO(v), s.set(v, _)), _.then((w) => w.clone());
|
|
@@ -31180,13 +31196,13 @@ const lie = {
|
|
|
31180
31196
|
}, cie = {
|
|
31181
31197
|
match: (t, e) => xo(t) === "kml" || /application\/vnd\.google-earth\.kml/i.test(e ?? ""),
|
|
31182
31198
|
parse: async (t) => {
|
|
31183
|
-
const [e, i, n] = await Promise.all([t.text(), import("./index-
|
|
31199
|
+
const [e, i, n] = await Promise.all([t.text(), import("./index-DjYxw-8H.js"), import("./index-DudIuhJa.js")]);
|
|
31184
31200
|
return ql(await i.parse(e, n.KMLLoader));
|
|
31185
31201
|
}
|
|
31186
31202
|
}, uie = /* @__PURE__ */ new Set(["waypoint", "track", "route"]), fie = {
|
|
31187
31203
|
match: (t, e) => xo(t) === "gpx" || /application\/gpx\+xml/i.test(e ?? ""),
|
|
31188
31204
|
parse: async (t, e) => {
|
|
31189
|
-
const [i, n, r] = await Promise.all([t.text(), import("./index-
|
|
31205
|
+
const [i, n, r] = await Promise.all([t.text(), import("./index-DjYxw-8H.js"), import("./index-DudIuhJa.js")]), o = ((await n.parse(i, r.GPXLoader)).features ?? []).map((l) => {
|
|
31190
31206
|
const u = l.properties?._gpxType, h = u === "trk" ? "track" : u === "rte" ? "route" : "waypoint";
|
|
31191
31207
|
return { ...l, properties: { ...l.properties, _gpxKind: h } };
|
|
31192
31208
|
}), a = e.split("#")[1]?.toLowerCase().replace(/s$/, "");
|
|
@@ -31219,7 +31235,7 @@ const lie = {
|
|
|
31219
31235
|
t.arrayBuffer(),
|
|
31220
31236
|
import("./index-BYbMtNVH.js"),
|
|
31221
31237
|
import("./index-CgPV7QlM.js"),
|
|
31222
|
-
import("./geoparquet-
|
|
31238
|
+
import("./geoparquet-hOsdfZJa.js")
|
|
31223
31239
|
]), o = new Uint8Array(i);
|
|
31224
31240
|
if (o.length < 8 || o[0] !== 80 || o[1] !== 65 || o[2] !== 82 || o[3] !== 49)
|
|
31225
31241
|
throw new Error(`data="${e}": not a Parquet file (missing PAR1 magic bytes).`);
|
|
@@ -32745,7 +32761,7 @@ function pne(t, e, i) {
|
|
|
32745
32761
|
if (!t || !e)
|
|
32746
32762
|
return null;
|
|
32747
32763
|
i = i || {};
|
|
32748
|
-
const n = {}, { iterable: r, objectInfo: s } =
|
|
32764
|
+
const n = {}, { iterable: r, objectInfo: s } = Lr(t);
|
|
32749
32765
|
for (const o of r) {
|
|
32750
32766
|
s.index++;
|
|
32751
32767
|
const a = e(o, s), l = mf(a);
|
|
@@ -36094,7 +36110,7 @@ class Ba extends ki {
|
|
|
36094
36110
|
});
|
|
36095
36111
|
}
|
|
36096
36112
|
_getPaths(e = {}) {
|
|
36097
|
-
const { data: i, getPolygon: n, positionFormat: r, _normalize: s } = this.props, o = [], a = r === "XY" ? 2 : 3, { startRow: l, endRow: u } = e, { iterable: h, objectInfo: m } =
|
|
36113
|
+
const { data: i, getPolygon: n, positionFormat: r, _normalize: s } = this.props, o = [], a = r === "XY" ? 2 : 3, { startRow: l, endRow: u } = e, { iterable: h, objectInfo: m } = Lr(i, l, u);
|
|
36098
36114
|
for (const v of h) {
|
|
36099
36115
|
m.index++;
|
|
36100
36116
|
let _ = n(v, m);
|
|
@@ -36488,7 +36504,7 @@ class p0 extends _s {
|
|
|
36488
36504
|
calculateInstanceIconDefs(e, { startRow: i, endRow: n }) {
|
|
36489
36505
|
const { data: r, getIcon: s, getIconOffsets: o } = this.props;
|
|
36490
36506
|
let a = e.getVertexOffset(i);
|
|
36491
|
-
const l = e.value, { iterable: u, objectInfo: h } =
|
|
36507
|
+
const l = e.value, { iterable: u, objectInfo: h } = Lr(r, i, n);
|
|
36492
36508
|
for (const m of u) {
|
|
36493
36509
|
h.index++;
|
|
36494
36510
|
const v = s(m, h), _ = o(m, h);
|
|
@@ -37269,7 +37285,7 @@ class xc extends ki {
|
|
|
37269
37285
|
});
|
|
37270
37286
|
o = u, r = (h, { index: m }) => l[m];
|
|
37271
37287
|
} else {
|
|
37272
|
-
const { iterable: l, objectInfo: u } =
|
|
37288
|
+
const { iterable: l, objectInfo: u } = Lr(e);
|
|
37273
37289
|
s = [0], o = 0;
|
|
37274
37290
|
for (const h of l) {
|
|
37275
37291
|
u.index++;
|
|
@@ -38681,7 +38697,7 @@ var Fae = sF, Dae = eF, Uae = tF, Vae = iF, zae = nF, Gae = rF, Hae = oF, jae =
|
|
|
38681
38697
|
t[0] = e[a], t[1] = e[a + 1], s(t, t, o), e[a] = t[0], e[a + 1] = t[1];
|
|
38682
38698
|
return e;
|
|
38683
38699
|
};
|
|
38684
|
-
})(), Wae = (1 + Math.sqrt(5)) / 2, FA = 2 * Math.PI / 5,
|
|
38700
|
+
})(), Wae = (1 + Math.sqrt(5)) / 2, FA = 2 * Math.PI / 5, jr = Math.PI / 5, dE = Math.PI / 10, $ae = 2 * Math.atan(Wae), d1 = Math.PI - $ae, m0 = (Math.sqrt(5) - 1) / 2, Zae = 3 - Math.sqrt(5), aF = 63710072e-1;
|
|
38685
38701
|
Wi.setMatrixArrayType(Float64Array);
|
|
38686
38702
|
var t_ = class A1 {
|
|
38687
38703
|
constructor(e) {
|
|
@@ -38789,11 +38805,11 @@ var t_ = class A1 {
|
|
|
38789
38805
|
}
|
|
38790
38806
|
};
|
|
38791
38807
|
Wi.setMatrixArrayType(Float64Array);
|
|
38792
|
-
var lF = [0, 0], cF = [0, 1], ma = [0.7885966681787006, 1.6149108024237764], uF = [1.6171013659387945, 1.054928690397459], fF = [Math.cos(dE), Math.sin(dE)], Xae = 2 * lt.length(ma) * Math.cos(
|
|
38808
|
+
var lF = [0, 0], cF = [0, 1], ma = [0.7885966681787006, 1.6149108024237764], uF = [1.6171013659387945, 1.054928690397459], fF = [Math.cos(dE), Math.sin(dE)], Xae = 2 * lt.length(ma) * Math.cos(jr), Yae = jr - Math.atan2(ma[1], ma[0]), Jae = 2 * m0 / Xae;
|
|
38793
38809
|
[lF, cF, ma, uF, fF].forEach((t) => {
|
|
38794
38810
|
lt.scale(t, t, Jae), lt.rotate(t, t, [0, 0], Yae);
|
|
38795
38811
|
});
|
|
38796
|
-
var Kae = new t_([lF, cF, ma, uF, fF]), hF = Math.atan2(ma[1], ma[0]) -
|
|
38812
|
+
var Kae = new t_([lF, cF, ma, uF, fF]), hF = Math.atan2(ma[1], ma[0]) - jr, qae = [0, 0], DA = m0 / Math.cos(jr), AE = hF + jr, UA = [DA * Math.cos(AE), DA * Math.sin(AE)], pE = hF - jr, bf = [DA * Math.cos(pE), DA * Math.sin(pE)], Qae = new t_([qae, UA, bf]), dF = ga.fromValues(UA[0], UA[1], bf[0], bf[1]);
|
|
38797
38813
|
ga.invert(ga.create(), dF);
|
|
38798
38814
|
var ele = new Float64Array([
|
|
38799
38815
|
-0.0022392098386786394,
|
|
@@ -38955,8 +38971,8 @@ var vF = ["vu", "uw", "vw", "vw", "vw"], Ou = ["wu", "uw", "vw", "vu", "uw"], Gm
|
|
|
38955
38971
|
function hle() {
|
|
38956
38972
|
Zh([0, 0], 0, Wh[0]);
|
|
38957
38973
|
for (let t = 0; t < 5; t++) {
|
|
38958
|
-
const e = t * FA, i = e +
|
|
38959
|
-
Zh([e, d1],
|
|
38974
|
+
const e = t * FA, i = e + jr;
|
|
38975
|
+
Zh([e, d1], jr, Wh[t + 1]), Zh([i, Math.PI - d1], jr, Wh[(t + 3) % 5 + 6]);
|
|
38960
38976
|
}
|
|
38961
38977
|
Zh([0, Math.PI], 0, Wh[11]);
|
|
38962
38978
|
}
|
|
@@ -39354,7 +39370,7 @@ var Ile = new Mle(), Rle = class {
|
|
|
39354
39370
|
* @returns Face triangle index, value from 0 to 9
|
|
39355
39371
|
*/
|
|
39356
39372
|
getFaceTriangleIndex([t, e]) {
|
|
39357
|
-
return (Math.floor(e /
|
|
39373
|
+
return (Math.floor(e / jr) + 10) % 10;
|
|
39358
39374
|
}
|
|
39359
39375
|
/**
|
|
39360
39376
|
* Gets the face triangle for a given polar coordinate
|
|
@@ -39703,7 +39719,7 @@ var Mt = (function(t) {
|
|
|
39703
39719
|
Ie.unshift(ge);
|
|
39704
39720
|
}
|
|
39705
39721
|
var tt = Math.abs, Qe = Math.ceil, De = Math.floor, et = Math.min, Jt = 0, Ci = null;
|
|
39706
|
-
function
|
|
39722
|
+
function Nr(ge) {
|
|
39707
39723
|
Jt++, e.monitorRunDependencies && e.monitorRunDependencies(Jt);
|
|
39708
39724
|
}
|
|
39709
39725
|
function tn(ge) {
|
|
@@ -39837,10 +39853,10 @@ var Mt = (function(t) {
|
|
|
39837
39853
|
} else
|
|
39838
39854
|
y = ((A | 0) < 0) << 31 >> 31, T = Xt(A | 0, y | 0, 3, 0) | 0, x = V() | 0, y = ke(A | 0, y | 0, 1, 0) | 0, y = Xt(T | 0, x | 0, y | 0, V() | 0) | 0, y = ke(y | 0, V() | 0, 1, 0) | 0, x = V() | 0, c[b >> 2] = y, c[b + 4 >> 2] = x, b = y;
|
|
39839
39855
|
if (Ds(g | 0, 0, b << 3 | 0) | 0, p | 0) {
|
|
39840
|
-
Ds(p | 0, 0, b << 2 | 0) | 0, y =
|
|
39856
|
+
Ds(p | 0, 0, b << 2 | 0) | 0, y = kr(f, d, A, g, p, b, x, 0) | 0;
|
|
39841
39857
|
break;
|
|
39842
39858
|
}
|
|
39843
|
-
y = rn(b, 4) | 0, y ? (T =
|
|
39859
|
+
y = rn(b, 4) | 0, y ? (T = kr(f, d, A, g, y, b, x, 0) | 0, Ue(y), y = T) : y = 13;
|
|
39844
39860
|
} else
|
|
39845
39861
|
y = 2;
|
|
39846
39862
|
while (!1);
|
|
@@ -39905,7 +39921,7 @@ var Mt = (function(t) {
|
|
|
39905
39921
|
while (!1);
|
|
39906
39922
|
return F = y, U = W, F | 0;
|
|
39907
39923
|
}
|
|
39908
|
-
function
|
|
39924
|
+
function kr(f, d, A, g, p, y, b, x) {
|
|
39909
39925
|
f = f | 0, d = d | 0, A = A | 0, g = g | 0, p = p | 0, y = y | 0, b = b | 0, x = x | 0;
|
|
39910
39926
|
var C = 0, T = 0, M = 0, R = 0, L = 0, N = 0, F = 0, W = 0, K = 0, ne = 0;
|
|
39911
39927
|
if (W = U, U = U + 16 | 0, N = W + 8 | 0, F = W, C = Qr(f | 0, d | 0, y | 0, b | 0) | 0, M = V() | 0, R = g + (C << 3) | 0, K = R, ne = c[K >> 2] | 0, K = c[K + 4 >> 2] | 0, T = (ne | 0) == (f | 0) & (K | 0) == (d | 0), !((ne | 0) == 0 & (K | 0) == 0 | T))
|
|
@@ -39920,7 +39936,7 @@ var Mt = (function(t) {
|
|
|
39920
39936
|
break;
|
|
39921
39937
|
}
|
|
39922
39938
|
case 0: {
|
|
39923
|
-
C = F, C =
|
|
39939
|
+
C = F, C = kr(c[C >> 2] | 0, c[C + 4 >> 2] | 0, A, g, p, y, b, T) | 0, C || (L = 9);
|
|
39924
39940
|
break;
|
|
39925
39941
|
}
|
|
39926
39942
|
}
|
|
@@ -39930,7 +39946,7 @@ var Mt = (function(t) {
|
|
|
39930
39946
|
case 9:
|
|
39931
39947
|
break;
|
|
39932
39948
|
case 0: {
|
|
39933
|
-
if (C = F, C =
|
|
39949
|
+
if (C = F, C = kr(c[C >> 2] | 0, c[C + 4 >> 2] | 0, A, g, p, y, b, T) | 0, C | 0)
|
|
39934
39950
|
break e;
|
|
39935
39951
|
break;
|
|
39936
39952
|
}
|
|
@@ -39941,7 +39957,7 @@ var Mt = (function(t) {
|
|
|
39941
39957
|
case 9:
|
|
39942
39958
|
break;
|
|
39943
39959
|
case 0: {
|
|
39944
|
-
if (C = F, C =
|
|
39960
|
+
if (C = F, C = kr(c[C >> 2] | 0, c[C + 4 >> 2] | 0, A, g, p, y, b, T) | 0, C | 0)
|
|
39945
39961
|
break e;
|
|
39946
39962
|
break;
|
|
39947
39963
|
}
|
|
@@ -39952,7 +39968,7 @@ var Mt = (function(t) {
|
|
|
39952
39968
|
case 9:
|
|
39953
39969
|
break;
|
|
39954
39970
|
case 0: {
|
|
39955
|
-
if (C = F, C =
|
|
39971
|
+
if (C = F, C = kr(c[C >> 2] | 0, c[C + 4 >> 2] | 0, A, g, p, y, b, T) | 0, C | 0)
|
|
39956
39972
|
break e;
|
|
39957
39973
|
break;
|
|
39958
39974
|
}
|
|
@@ -39963,7 +39979,7 @@ var Mt = (function(t) {
|
|
|
39963
39979
|
case 9:
|
|
39964
39980
|
break;
|
|
39965
39981
|
case 0: {
|
|
39966
|
-
if (C = F, C =
|
|
39982
|
+
if (C = F, C = kr(c[C >> 2] | 0, c[C + 4 >> 2] | 0, A, g, p, y, b, T) | 0, C | 0)
|
|
39967
39983
|
break e;
|
|
39968
39984
|
break;
|
|
39969
39985
|
}
|
|
@@ -39974,7 +39990,7 @@ var Mt = (function(t) {
|
|
|
39974
39990
|
case 9:
|
|
39975
39991
|
break;
|
|
39976
39992
|
case 0: {
|
|
39977
|
-
if (C = F, C =
|
|
39993
|
+
if (C = F, C = kr(c[C >> 2] | 0, c[C + 4 >> 2] | 0, A, g, p, y, b, T) | 0, C | 0)
|
|
39978
39994
|
break e;
|
|
39979
39995
|
break;
|
|
39980
39996
|
}
|
|
@@ -40188,7 +40204,7 @@ var Mt = (function(t) {
|
|
|
40188
40204
|
Ue(T), p = 13;
|
|
40189
40205
|
break;
|
|
40190
40206
|
}
|
|
40191
|
-
if (p =
|
|
40207
|
+
if (p = kr(f, d, A, T, M, p, y, 0) | 0, p | 0) {
|
|
40192
40208
|
Ue(T), Ue(M);
|
|
40193
40209
|
break;
|
|
40194
40210
|
}
|
|
@@ -40346,7 +40362,7 @@ var Mt = (function(t) {
|
|
|
40346
40362
|
do
|
|
40347
40363
|
c[x >> 2] = 0, x = x + 4 | 0;
|
|
40348
40364
|
while ((x | 0) < (C | 0));
|
|
40349
|
-
x = rn(7, 4) | 0, x | 0 && (
|
|
40365
|
+
x = rn(7, 4) | 0, x | 0 && (kr(T, d, 1, _t, x, 7, 0, 0) | 0, Ue(x));
|
|
40350
40366
|
}
|
|
40351
40367
|
for (W = 0; ; ) {
|
|
40352
40368
|
F = _t + (W << 3) | 0, N = c[F >> 2] | 0, F = c[F + 4 >> 2] | 0;
|
|
@@ -42036,7 +42052,7 @@ var Mt = (function(t) {
|
|
|
42036
42052
|
e: do
|
|
42037
42053
|
if ((d | 0) > 0)
|
|
42038
42054
|
for (W = se + 8 | 0, K = se + 12 | 0, F = d, R = c[W >> 2] | 0, L = c[K >> 2] | 0, d = -1, M = c[se + 4 >> 2] | 0; ; ) {
|
|
42039
|
-
N = F, F = F + -1 | 0, f = M - L | 0, g = R - L | 0, N & 1 ? (y =
|
|
42055
|
+
N = F, F = F + -1 | 0, f = M - L | 0, g = R - L | 0, N & 1 ? (y = Or(+((f * 3 | 0) - g | 0) * 0.14285714285714285) | 0, c[j >> 2] = y, f = Or(+((g << 1) + f | 0) * 0.14285714285714285) | 0, c[W >> 2] = f, c[K >> 2] = 0, g = f - y | 0, p = 0 - y | 0, (y | 0) < 0 ? (c[W >> 2] = g, c[K >> 2] = p, c[j >> 2] = 0, f = g, b = 0) : (b = y, p = 0), y = b - f | 0, g = p - f | 0, (f | 0) < 0 ? (c[j >> 2] = y, c[K >> 2] = g, c[W >> 2] = 0, b = y, y = 0) : (g = p, y = f), f = b - g | 0, p = y - g | 0, (g | 0) < 0 ? (c[j >> 2] = f, c[W >> 2] = p, c[K >> 2] = 0, y = 0) : (p = y, f = b, y = g), g = (p | 0) < (f | 0) ? p : f, g = (y | 0) < (g | 0) ? y : g, (g | 0) > 0 && (y = y - g | 0, p = p - g | 0, f = f - g | 0, c[j >> 2] = f, c[W >> 2] = p, c[K >> 2] = y), xe = p + (f * 3 | 0) | 0, Ae = (xe | 0) < 0, T = y + (p * 3 | 0) - (Ae ? xe : 0) | 0, C = (T | 0) < 0, g = (y * 3 | 0) + f - (Ae ? xe : 0) - (C ? T : 0) | 0, x = (g | 0) < 0, ae = x ? 0 : g, b = (C ? 0 : T) - (x ? g : 0) | 0, g = (Ae ? 0 : xe) - (C ? T : 0) - (x ? g : 0) | 0, x = (b | 0) < (g | 0) ? b : g, x = (ae | 0) < (x | 0) ? ae : x, T = (x | 0) > 0, C = T ? x : 0, b = b - (T ? x : 0) | 0, x = ae - (T ? x : 0) | 0, T = y) : (x = Or(+((f << 1) + g | 0) * 0.14285714285714285) | 0, c[j >> 2] = x, p = Or(+((g * 3 | 0) - f | 0) * 0.14285714285714285) | 0, c[W >> 2] = p, c[K >> 2] = 0, g = p - x | 0, f = 0 - x | 0, (x | 0) < 0 ? (c[W >> 2] = g, c[K >> 2] = f, c[j >> 2] = 0, p = g, x = 0) : f = 0, b = x - p | 0, g = f - p | 0, (p | 0) < 0 ? (c[j >> 2] = b, c[K >> 2] = g, c[W >> 2] = 0, y = g, p = 0) : (y = f, b = x), f = b - y | 0, g = p - y | 0, (y | 0) < 0 ? (c[j >> 2] = f, c[W >> 2] = g, c[K >> 2] = 0, p = g, y = 0) : f = b, g = (p | 0) < (f | 0) ? p : f, g = (y | 0) < (g | 0) ? y : g, (g | 0) > 0 && (y = y - g | 0, p = p - g | 0, f = f - g | 0, c[j >> 2] = f, c[W >> 2] = p, c[K >> 2] = y), xe = y + (f * 3 | 0) | 0, ae = (xe | 0) < 0, T = (p * 3 | 0) + f - (ae ? xe : 0) | 0, C = (T | 0) < 0, g = (y * 3 | 0) + p - (ae ? xe : 0) - (C ? T : 0) | 0, x = (g | 0) < 0, Ae = x ? 0 : g, b = (C ? 0 : T) - (x ? g : 0) | 0, g = (ae ? 0 : xe) - (C ? T : 0) - (x ? g : 0) | 0, x = (b | 0) < (g | 0) ? b : g, x = (Ae | 0) < (x | 0) ? Ae : x, T = (x | 0) > 0, C = T ? x : 0, b = b - (T ? x : 0) | 0, x = Ae - (T ? x : 0) | 0, T = y), g = M + (C - g) | 0, y = (g | 0) < 0, C = R - b - (y ? g : 0) | 0, b = (C | 0) < 0, L = L - x + (y ? 0 - g | 0 : 0) + (b ? 0 - C | 0 : 0) | 0, M = (L | 0) < 0, x = M ? 0 : L, ae = (b ? 0 : C) - (M ? L : 0) | 0, L = (y ? 0 : g) - (b ? C : 0) - (M ? L : 0) | 0, M = (ae | 0) < (L | 0) ? ae : L, M = (x | 0) < (M | 0) ? x : M, C = (M | 0) > 0, L = L - (C ? M : 0) | 0, b = (15 - N | 0) * 3 | 0, g = Pe(7, 0, b | 0) | 0, g = d & ~g, y = A & ~(V() | 0), R = (L | 0) < 0, xe = R ? L : 0, ae = ae - (C ? M : 0) - xe | 0, Ae = (ae | 0) < 0, xe = (Ae ? 0 - ae | 0 : 0) + (x - (C ? M : 0) - xe) | 0, A = (xe | 0) < 0, d = A ? 0 : xe, xe = A ? xe : 0, A = (Ae ? 0 : ae) - xe | 0, xe = (R ? 0 : L) - (Ae ? ae : 0) - xe | 0, ae = (A | 0) < (xe | 0) ? A : xe, ae = (d | 0) < (ae | 0) ? d : ae, ae = (ae | 0) > 0 ? ae : 0, d = d - ae | 0, A = A - ae | 0;
|
|
42040
42056
|
t: do
|
|
42041
42057
|
switch (xe - ae | 0) {
|
|
42042
42058
|
case 0:
|
|
@@ -42367,7 +42383,7 @@ var Mt = (function(t) {
|
|
|
42367
42383
|
do
|
|
42368
42384
|
;
|
|
42369
42385
|
while ((Ga(A, p, 0, 0) | 0) != 0);
|
|
42370
|
-
(p | 0) != (M | 0) && (x = A + 12 | 0, f = c[x >> 2] | 0, g = (c[N >> 2] | 0) - f | 0, b = A + 8 | 0, f = (c[b >> 2] | 0) - f | 0, d =
|
|
42386
|
+
(p | 0) != (M | 0) && (x = A + 12 | 0, f = c[x >> 2] | 0, g = (c[N >> 2] | 0) - f | 0, b = A + 8 | 0, f = (c[b >> 2] | 0) - f | 0, d = Or(+((g << 1) + f | 0) * 0.14285714285714285) | 0, c[N >> 2] = d, g = Or(+((f * 3 | 0) - g | 0) * 0.14285714285714285) | 0, c[b >> 2] = g, c[x >> 2] = 0, f = g - d | 0, p = 0 - d | 0, (d | 0) < 0 ? (c[b >> 2] = f, c[x >> 2] = p, c[N >> 2] = 0, g = f, d = 0) : p = 0, y = d - g | 0, f = p - g | 0, (g | 0) < 0 ? (c[N >> 2] = y, c[x >> 2] = f, c[b >> 2] = 0, d = y, g = 0) : f = p, y = d - f | 0, p = g - f | 0, (f | 0) < 0 ? (c[N >> 2] = y, c[b >> 2] = p, c[x >> 2] = 0, d = y, f = 0) : p = g, g = (p | 0) < (d | 0) ? p : d, g = (f | 0) < (g | 0) ? f : g, (g | 0) > 0 && (c[N >> 2] = d - g, c[b >> 2] = p - g, c[x >> 2] = f - g));
|
|
42371
42387
|
}
|
|
42372
42388
|
return N = 0, U = F, N | 0;
|
|
42373
42389
|
}
|
|
@@ -43197,7 +43213,7 @@ var Mt = (function(t) {
|
|
|
43197
43213
|
}
|
|
43198
43214
|
} else
|
|
43199
43215
|
C = F * 3 | 0, T = N << 1;
|
|
43200
|
-
if (R =
|
|
43216
|
+
if (R = Or(+(C - N | 0) * 0.14285714285714285) | 0, M = Or(+(T + F | 0) * 0.14285714285714285) | 0, T = (M | 0) < (R | 0), C = T ? R : M, T = T ? M : R, (T | 0) < 0) {
|
|
43201
43217
|
if ((T | 0) == -2147483648 || ((C | 0) > 0 ? (2147483647 - C | 0) < (T | 0) : (-2147483648 - C | 0) > (T | 0))) {
|
|
43202
43218
|
j = 24;
|
|
43203
43219
|
break;
|
|
@@ -43232,7 +43248,7 @@ var Mt = (function(t) {
|
|
|
43232
43248
|
}
|
|
43233
43249
|
} else
|
|
43234
43250
|
C = F << 1, T = N * 3 | 0;
|
|
43235
|
-
if (R =
|
|
43251
|
+
if (R = Or(+(C + N | 0) * 0.14285714285714285) | 0, M = Or(+(T - F | 0) * 0.14285714285714285) | 0, T = (M | 0) < (R | 0), C = T ? R : M, T = T ? M : R, (T | 0) < 0) {
|
|
43236
43252
|
if ((T | 0) == -2147483648 || ((C | 0) > 0 ? (2147483647 - C | 0) < (T | 0) : (-2147483648 - C | 0) > (T | 0))) {
|
|
43237
43253
|
j = 36;
|
|
43238
43254
|
break;
|
|
@@ -44354,7 +44370,7 @@ var Mt = (function(t) {
|
|
|
44354
44370
|
while (!1);
|
|
44355
44371
|
U = b;
|
|
44356
44372
|
}
|
|
44357
|
-
function
|
|
44373
|
+
function Or(f) {
|
|
44358
44374
|
return f = +f, ~~+Gw(+f) | 0;
|
|
44359
44375
|
}
|
|
44360
44376
|
function Zt(f) {
|
|
@@ -45402,7 +45418,7 @@ var Mt = (function(t) {
|
|
|
45402
45418
|
if (e.dynCall_iii = Me.dynCall_iii, e.asm = Me, e.cwrap = P, e.setValue = _, e.getValue = w, Di) {
|
|
45403
45419
|
kc(Di) || (Di = s(Di));
|
|
45404
45420
|
{
|
|
45405
|
-
|
|
45421
|
+
Nr();
|
|
45406
45422
|
var dg = function(ge) {
|
|
45407
45423
|
ge.byteLength && (ge = new Uint8Array(ge)), Q.set(ge, v), e.memoryInitializerRequest && delete e.memoryInitializerRequest.response, tn();
|
|
45408
45424
|
}, Qx = function() {
|
|
@@ -50480,7 +50496,7 @@ new ce();
|
|
|
50480
50496
|
new ce();
|
|
50481
50497
|
new ce();
|
|
50482
50498
|
new ce();
|
|
50483
|
-
const
|
|
50499
|
+
const Ur = new Vt(), rhe = new Vt(), she = new Vt(), nd = new Vt(), c3 = new Vt();
|
|
50484
50500
|
function ohe(t, e = {}) {
|
|
50485
50501
|
const i = E$, n = 10;
|
|
50486
50502
|
let r = 0, s = 0;
|
|
@@ -50503,7 +50519,7 @@ const E1 = [1, 0, 0], M1 = [2, 2, 1];
|
|
|
50503
50519
|
function lhe(t) {
|
|
50504
50520
|
let e = 0;
|
|
50505
50521
|
for (let i = 0; i < 3; ++i) {
|
|
50506
|
-
const n = t[
|
|
50522
|
+
const n = t[Ur.getElementIndex(M1[i], E1[i])];
|
|
50507
50523
|
e += 2 * n * n;
|
|
50508
50524
|
}
|
|
50509
50525
|
return Math.sqrt(e);
|
|
@@ -50512,17 +50528,17 @@ function che(t, e) {
|
|
|
50512
50528
|
const i = kL;
|
|
50513
50529
|
let n = 0, r = 1;
|
|
50514
50530
|
for (let u = 0; u < 3; ++u) {
|
|
50515
|
-
const h = Math.abs(t[
|
|
50531
|
+
const h = Math.abs(t[Ur.getElementIndex(M1[u], E1[u])]);
|
|
50516
50532
|
h > n && (r = u, n = h);
|
|
50517
50533
|
}
|
|
50518
50534
|
const s = E1[r], o = M1[r];
|
|
50519
50535
|
let a = 1, l = 0;
|
|
50520
|
-
if (Math.abs(t[
|
|
50521
|
-
const u = t[
|
|
50536
|
+
if (Math.abs(t[Ur.getElementIndex(o, s)]) > i) {
|
|
50537
|
+
const u = t[Ur.getElementIndex(o, o)], h = t[Ur.getElementIndex(s, s)], m = t[Ur.getElementIndex(o, s)], v = (u - h) / 2 / m;
|
|
50522
50538
|
let _;
|
|
50523
50539
|
v < 0 ? _ = -1 / (-v + Math.sqrt(1 + v * v)) : _ = 1 / (v + Math.sqrt(1 + v * v)), a = 1 / Math.sqrt(1 + _ * _), l = _ * a;
|
|
50524
50540
|
}
|
|
50525
|
-
return Vt.IDENTITY.to(e), e[
|
|
50541
|
+
return Vt.IDENTITY.to(e), e[Ur.getElementIndex(s, s)] = e[Ur.getElementIndex(o, o)] = a, e[Ur.getElementIndex(o, s)] = l, e[Ur.getElementIndex(s, o)] = -l, e;
|
|
50526
50542
|
}
|
|
50527
50543
|
const Zs = new ce(), uhe = new ce(), fhe = new ce(), hhe = new ce(), dhe = new ce(), Ahe = new Vt(), phe = {
|
|
50528
50544
|
diagonal: new Vt(),
|
|
@@ -51332,7 +51348,7 @@ class Na extends ki {
|
|
|
51332
51348
|
}
|
|
51333
51349
|
_calculateH3DataProps() {
|
|
51334
51350
|
let e = -1, i = !1, n = !1;
|
|
51335
|
-
const { iterable: r, objectInfo: s } =
|
|
51351
|
+
const { iterable: r, objectInfo: s } = Lr(this.props.data);
|
|
51336
51352
|
for (const o of r) {
|
|
51337
51353
|
s.index++;
|
|
51338
51354
|
const a = this.props.getHexagon(o, s), l = wce(a);
|
|
@@ -51463,7 +51479,7 @@ class y_ extends wo {
|
|
|
51463
51479
|
}
|
|
51464
51480
|
updateState({ props: e, changeFlags: i }) {
|
|
51465
51481
|
if (i.dataChanged || i.updateTriggersChanged && i.updateTriggersChanged.getHexagons) {
|
|
51466
|
-
const { data: n, getHexagons: r } = e, s = [], { iterable: o, objectInfo: a } =
|
|
51482
|
+
const { data: n, getHexagons: r } = e, s = [], { iterable: o, objectInfo: a } = Lr(n);
|
|
51467
51483
|
for (const l of o) {
|
|
51468
51484
|
a.index++;
|
|
51469
51485
|
const u = r(l, a), h = Tce(u, !0);
|
|
@@ -51528,7 +51544,7 @@ const u4 = {
|
|
|
51528
51544
|
_ ? (rd.set(a), S = g3(rd)) : (S = A3, p3(S, r, s), S.set(o, 9)), t.value = new Float32Array(S);
|
|
51529
51545
|
} else {
|
|
51530
51546
|
let S = e * t.size;
|
|
51531
|
-
const { iterable: E, objectInfo: I } =
|
|
51547
|
+
const { iterable: E, objectInfo: I } = Lr(n, e, i);
|
|
51532
51548
|
for (const B of E) {
|
|
51533
51549
|
I.index++;
|
|
51534
51550
|
let P;
|
|
@@ -59519,7 +59535,7 @@ function Iye(t, e, i, n) {
|
|
|
59519
59535
|
packer: l
|
|
59520
59536
|
};
|
|
59521
59537
|
}
|
|
59522
|
-
const
|
|
59538
|
+
const Gr = (t) => t !== void 0;
|
|
59523
59539
|
function Rye(t, e, i) {
|
|
59524
59540
|
if (!e)
|
|
59525
59541
|
return null;
|
|
@@ -59531,12 +59547,12 @@ function Pye(t, e) {
|
|
|
59531
59547
|
let i, n, r;
|
|
59532
59548
|
const s = t.instancesLength, o = t.classes;
|
|
59533
59549
|
let a = t.classIds, l = t.parentCounts, u = t.parentIds, h = s;
|
|
59534
|
-
|
|
59550
|
+
Gr(a.byteOffset) && (a.componentType = defaultValue(a.componentType, GL.UNSIGNED_SHORT), a.type = AttributeType.SCALAR, r = getBinaryAccessor(a), a = r.createArrayBufferView(e.buffer, e.byteOffset + a.byteOffset, s));
|
|
59535
59551
|
let m;
|
|
59536
|
-
if (
|
|
59537
|
-
for (
|
|
59552
|
+
if (Gr(l))
|
|
59553
|
+
for (Gr(l.byteOffset) && (l.componentType = defaultValue(l.componentType, GL.UNSIGNED_SHORT), l.type = AttributeType.SCALAR, r = getBinaryAccessor(l), l = r.createArrayBufferView(e.buffer, e.byteOffset + l.byteOffset, s)), m = new Uint16Array(s), h = 0, i = 0; i < s; ++i)
|
|
59538
59554
|
m[i] = h, h += l[i];
|
|
59539
|
-
|
|
59555
|
+
Gr(u) && Gr(u.byteOffset) && (u.componentType = defaultValue(u.componentType, GL.UNSIGNED_SHORT), u.type = AttributeType.SCALAR, r = getBinaryAccessor(u), u = r.createArrayBufferView(e.buffer, e.byteOffset + u.byteOffset, h));
|
|
59540
59556
|
const v = o.length;
|
|
59541
59557
|
for (i = 0; i < v; ++i) {
|
|
59542
59558
|
const E = o[i].length, I = o[i].instances, B = getBinaryProperties(E, I, e);
|
|
@@ -59570,7 +59586,7 @@ function Bye(t, e, i) {
|
|
|
59570
59586
|
continue;
|
|
59571
59587
|
l[e] = u;
|
|
59572
59588
|
const m = i(t, e);
|
|
59573
|
-
if (
|
|
59589
|
+
if (Gr(m))
|
|
59574
59590
|
return m;
|
|
59575
59591
|
const v = r[e], _ = o[e];
|
|
59576
59592
|
for (let w = 0; w < v; ++w) {
|
|
@@ -59584,7 +59600,7 @@ function Lye(t, e, i) {
|
|
|
59584
59600
|
let n = !0;
|
|
59585
59601
|
for (; n; ) {
|
|
59586
59602
|
const r = i(t, e);
|
|
59587
|
-
if (
|
|
59603
|
+
if (Gr(r))
|
|
59588
59604
|
return r;
|
|
59589
59605
|
const s = t.parentIds[e];
|
|
59590
59606
|
n = s !== e, e = s;
|
|
@@ -59598,10 +59614,10 @@ function Nye(t) {
|
|
|
59598
59614
|
}
|
|
59599
59615
|
function iD(t, e, i) {
|
|
59600
59616
|
const n = t.parentCounts, r = t.parentIds, s = t.parentIndexes, a = t.classIds.length;
|
|
59601
|
-
if (!
|
|
59617
|
+
if (!Gr(r))
|
|
59602
59618
|
return;
|
|
59603
59619
|
assert(e < a, `Parent index ${e} exceeds the total number of instances: ${a}`), assert(i.indexOf(e) === -1, "Circular dependency detected in the batch table hierarchy."), i.push(e);
|
|
59604
|
-
const l =
|
|
59620
|
+
const l = Gr(n) ? n[e] : 1, u = Gr(n) ? s[e] : e;
|
|
59605
59621
|
for (let h = 0; h < l; ++h) {
|
|
59606
59622
|
const m = r[u + h];
|
|
59607
59623
|
m !== e && iD(t, m, i);
|
|
@@ -65514,7 +65530,7 @@ class H_ extends Ec {
|
|
|
65514
65530
|
// eslint-disable-next-line complexity
|
|
65515
65531
|
updateState(e) {
|
|
65516
65532
|
const i = super.updateState(e), { props: n, oldProps: r, changeFlags: s } = e, { aggregator: o } = this.state;
|
|
65517
|
-
if ((s.dataChanged || !this.state.dataAsArray) && (n.getColorValue || n.getElevationValue) && (this.state.dataAsArray = Array.from(
|
|
65533
|
+
if ((s.dataChanged || !this.state.dataAsArray) && (n.getColorValue || n.getElevationValue) && (this.state.dataAsArray = Array.from(Lr(n.data).iterable)), i || s.dataChanged || n.radius !== r.radius || n.getColorValue !== r.getColorValue || n.getElevationValue !== r.getElevationValue || n.colorAggregation !== r.colorAggregation || n.elevationAggregation !== r.elevationAggregation) {
|
|
65518
65534
|
this._updateBinOptions();
|
|
65519
65535
|
const { radiusCommon: a, hexOriginCommon: l, binIdRange: u, dataAsArray: h } = this.state;
|
|
65520
65536
|
if (o.setProps({
|
|
@@ -66581,7 +66597,7 @@ class W_ extends Ec {
|
|
|
66581
66597
|
// eslint-disable-next-line complexity
|
|
66582
66598
|
updateState(e) {
|
|
66583
66599
|
const i = super.updateState(e), { props: n, oldProps: r, changeFlags: s } = e, { aggregator: o } = this.state;
|
|
66584
|
-
if ((s.dataChanged || !this.state.dataAsArray) && (n.getColorValue || n.getElevationValue) && (this.state.dataAsArray = Array.from(
|
|
66600
|
+
if ((s.dataChanged || !this.state.dataAsArray) && (n.getColorValue || n.getElevationValue) && (this.state.dataAsArray = Array.from(Lr(n.data).iterable)), i || s.dataChanged || n.cellSize !== r.cellSize || n.getColorValue !== r.getColorValue || n.getElevationValue !== r.getElevationValue || n.colorAggregation !== r.colorAggregation || n.elevationAggregation !== r.elevationAggregation) {
|
|
66585
66601
|
this._updateBinOptions();
|
|
66586
66602
|
const { cellSizeCommon: a, cellOriginCommon: l, binIdRange: u, dataAsArray: h } = this.state;
|
|
66587
66603
|
if (o.setProps({
|
|
@@ -69806,7 +69822,7 @@ un({
|
|
|
69806
69822
|
type: "COGLayer",
|
|
69807
69823
|
carriesRasterWindow: !0,
|
|
69808
69824
|
carriesRasterIdentify: !0,
|
|
69809
|
-
loadClass: () => import("./raster-
|
|
69825
|
+
loadClass: () => import("./raster-CvAJ-h_g.js").then((t) => t.r).then((t) => t.OmCOGLayer),
|
|
69810
69826
|
props: [
|
|
69811
69827
|
{ attr: "src", kind: "scalar", deckProp: "geotiff", type: "string", required: !0 },
|
|
69812
69828
|
// COG v2 (issue #13): 1-based band selection — a single band (colormap-
|
|
@@ -69842,7 +69858,7 @@ un({
|
|
|
69842
69858
|
});
|
|
69843
69859
|
un({
|
|
69844
69860
|
type: "ZarrLayer",
|
|
69845
|
-
loadClass: () => import("./zarr-
|
|
69861
|
+
loadClass: () => import("./zarr-DWb_nikR.js").then((t) => t.OmZarrLayer),
|
|
69846
69862
|
props: [
|
|
69847
69863
|
{ attr: "src", kind: "scalar", deckProp: "src", type: "string", required: !0 },
|
|
69848
69864
|
{ attr: "variable", kind: "scalar", deckProp: "variable", type: "string" },
|
|
@@ -69874,7 +69890,7 @@ un({
|
|
|
69874
69890
|
});
|
|
69875
69891
|
un({
|
|
69876
69892
|
type: "HillshadeLayer",
|
|
69877
|
-
loadClass: () => import("./hillshade-
|
|
69893
|
+
loadClass: () => import("./hillshade-D2Ps3Nim.js").then((t) => t.OmHillshadeLayer),
|
|
69878
69894
|
warpsInPlane: !0,
|
|
69879
69895
|
props: [
|
|
69880
69896
|
{ attr: "src", kind: "scalar", deckProp: "src", type: "string", required: !0 },
|
|
@@ -69904,7 +69920,7 @@ un({
|
|
|
69904
69920
|
});
|
|
69905
69921
|
un({
|
|
69906
69922
|
type: "TextOnPathLayer",
|
|
69907
|
-
loadClass: () => import("./text-on-path-
|
|
69923
|
+
loadClass: () => import("./text-on-path-D9u5SYCo.js").then((t) => t.OmTextOnPathLayer),
|
|
69908
69924
|
props: [
|
|
69909
69925
|
{ attr: "get-path", kind: "accessor", deckProp: "getPath", type: "string" },
|
|
69910
69926
|
{ attr: "get-text", kind: "accessor", deckProp: "getText", type: "string" },
|
|
@@ -70099,7 +70115,7 @@ function X1(t, e) {
|
|
|
70099
70115
|
}
|
|
70100
70116
|
return !1;
|
|
70101
70117
|
}
|
|
70102
|
-
function
|
|
70118
|
+
function $r(t, e) {
|
|
70103
70119
|
return t < 65 ? t === 36 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && K_e.test(String.fromCharCode(t)) : e === !1 ? !1 : X1(t, C6);
|
|
70104
70120
|
}
|
|
70105
70121
|
function yo(t, e) {
|
|
@@ -70568,7 +70584,7 @@ qe.isLet = function(t) {
|
|
|
70568
70584
|
return !1;
|
|
70569
70585
|
if (n === 123)
|
|
70570
70586
|
return !0;
|
|
70571
|
-
if (
|
|
70587
|
+
if ($r(n)) {
|
|
70572
70588
|
var r = i;
|
|
70573
70589
|
do
|
|
70574
70590
|
i += n <= 65535 ? 1 : 2;
|
|
@@ -70605,7 +70621,7 @@ qe.isUsingKeyword = function(t, e) {
|
|
|
70605
70621
|
return !1;
|
|
70606
70622
|
}
|
|
70607
70623
|
var a = this.fullCharCodeAt(n);
|
|
70608
|
-
if (
|
|
70624
|
+
if (!$r(a) && a !== 92)
|
|
70609
70625
|
return !1;
|
|
70610
70626
|
var l = n;
|
|
70611
70627
|
do
|
|
@@ -72240,7 +72256,7 @@ Ke.regexp_eatRegExpIdentifierStart = function(t) {
|
|
|
72240
72256
|
return t.advance(i), n === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, i) && (n = t.lastIntValue), xxe(n) ? (t.lastIntValue = n, !0) : (t.pos = e, !1);
|
|
72241
72257
|
};
|
|
72242
72258
|
function xxe(t) {
|
|
72243
|
-
return
|
|
72259
|
+
return $r(t, !0) || t === 36 || t === 95;
|
|
72244
72260
|
}
|
|
72245
72261
|
Ke.regexp_eatRegExpIdentifierPart = function(t) {
|
|
72246
72262
|
var e = t.pos, i = this.options.ecmaVersion >= 11, n = t.current(i);
|
|
@@ -72744,7 +72760,7 @@ mt.nextToken = function() {
|
|
|
72744
72760
|
this.readToken(this.fullCharCodeAtPos());
|
|
72745
72761
|
};
|
|
72746
72762
|
mt.readToken = function(t) {
|
|
72747
|
-
return
|
|
72763
|
+
return $r(t, this.options.ecmaVersion >= 6) || t === 92 ? this.readWord() : this.getTokenFromCode(t);
|
|
72748
72764
|
};
|
|
72749
72765
|
mt.fullCharCodeAt = function(t) {
|
|
72750
72766
|
var e = this.input.charCodeAt(t);
|
|
@@ -72887,7 +72903,7 @@ mt.readToken_question = function() {
|
|
|
72887
72903
|
};
|
|
72888
72904
|
mt.readToken_numberSign = function() {
|
|
72889
72905
|
var t = this.options.ecmaVersion, e = 35;
|
|
72890
|
-
if (t >= 13 && (++this.pos, e = this.fullCharCodeAtPos(),
|
|
72906
|
+
if (t >= 13 && (++this.pos, e = this.fullCharCodeAtPos(), $r(e, !0) || e === 92))
|
|
72891
72907
|
return this.finishToken(G.privateId, this.readWord1());
|
|
72892
72908
|
this.raise(this.pos, "Unexpected character '" + ws(e) + "'");
|
|
72893
72909
|
};
|
|
@@ -73035,7 +73051,7 @@ mt.readRadixNumber = function(t) {
|
|
|
73035
73051
|
var e = this.pos;
|
|
73036
73052
|
this.pos += 2;
|
|
73037
73053
|
var i = this.readInt(t);
|
|
73038
|
-
return i == null && this.raise(this.start + 2, "Expected number in radix " + t), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (i = sU(this.input.slice(e, this.pos)), ++this.pos) :
|
|
73054
|
+
return i == null && this.raise(this.start + 2, "Expected number in radix " + t), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (i = sU(this.input.slice(e, this.pos)), ++this.pos) : $r(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(G.num, i);
|
|
73039
73055
|
};
|
|
73040
73056
|
mt.readNumber = function(t) {
|
|
73041
73057
|
var e = this.pos;
|
|
@@ -73045,9 +73061,9 @@ mt.readNumber = function(t) {
|
|
|
73045
73061
|
var n = this.input.charCodeAt(this.pos);
|
|
73046
73062
|
if (!i && !t && this.options.ecmaVersion >= 11 && n === 110) {
|
|
73047
73063
|
var r = sU(this.input.slice(e, this.pos));
|
|
73048
|
-
return ++this.pos,
|
|
73064
|
+
return ++this.pos, $r(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(G.num, r);
|
|
73049
73065
|
}
|
|
73050
|
-
i && /[89]/.test(this.input.slice(e, this.pos)) && (i = !1), n === 46 && !i && (++this.pos, this.readInt(10), n = this.input.charCodeAt(this.pos)), (n === 69 || n === 101) && !i && (n = this.input.charCodeAt(++this.pos), (n === 43 || n === 45) && ++this.pos, this.readInt(10) === null && this.raise(e, "Invalid number")),
|
|
73066
|
+
i && /[89]/.test(this.input.slice(e, this.pos)) && (i = !1), n === 46 && !i && (++this.pos, this.readInt(10), n = this.input.charCodeAt(this.pos)), (n === 69 || n === 101) && !i && (n = this.input.charCodeAt(++this.pos), (n === 43 || n === 45) && ++this.pos, this.readInt(10) === null && this.raise(e, "Invalid number")), $r(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
|
|
73051
73067
|
var s = Rxe(this.input.slice(e, this.pos), i);
|
|
73052
73068
|
return this.finishToken(G.num, s);
|
|
73053
73069
|
};
|
|
@@ -73210,7 +73226,7 @@ mt.readWord1 = function() {
|
|
|
73210
73226
|
var s = this.pos;
|
|
73211
73227
|
this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
|
|
73212
73228
|
var o = this.readCodePoint();
|
|
73213
|
-
(e ?
|
|
73229
|
+
(e ? $r : yo)(o, n) || this.invalidStringToken(s, "Invalid Unicode escape"), t += ws(o), i = this.pos;
|
|
73214
73230
|
} else
|
|
73215
73231
|
break;
|
|
73216
73232
|
e = !1;
|
|
@@ -73236,7 +73252,7 @@ pi.acorn = {
|
|
|
73236
73252
|
TokContext: yr,
|
|
73237
73253
|
tokContexts: Qt,
|
|
73238
73254
|
isIdentifierChar: yo,
|
|
73239
|
-
isIdentifierStart:
|
|
73255
|
+
isIdentifierStart: $r,
|
|
73240
73256
|
Token: nx,
|
|
73241
73257
|
isNewLine: Ic,
|
|
73242
73258
|
lineBreak: wn,
|
|
@@ -74257,7 +74273,7 @@ function NU(t, e) {
|
|
|
74257
74273
|
}
|
|
74258
74274
|
function Kf() {
|
|
74259
74275
|
}
|
|
74260
|
-
var Mf = 0.7, yp = 1 / Mf, $l = "\\s*([+-]?\\d+)\\s*", If = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",
|
|
74276
|
+
var Mf = 0.7, yp = 1 / Mf, $l = "\\s*([+-]?\\d+)\\s*", If = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Wr = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Wwe = /^#([0-9a-f]{3,8})$/, $we = new RegExp(`^rgb\\(${$l},${$l},${$l}\\)$`), Zwe = new RegExp(`^rgb\\(${Wr},${Wr},${Wr}\\)$`), Xwe = new RegExp(`^rgba\\(${$l},${$l},${$l},${If}\\)$`), Ywe = new RegExp(`^rgba\\(${Wr},${Wr},${Wr},${If}\\)$`), Jwe = new RegExp(`^hsl\\(${If},${Wr},${Wr}\\)$`), Kwe = new RegExp(`^hsla\\(${If},${Wr},${Wr},${If}\\)$`), QI = {
|
|
74261
74277
|
aliceblue: 15792383,
|
|
74262
74278
|
antiquewhite: 16444375,
|
|
74263
74279
|
aqua: 65535,
|
|
@@ -77330,7 +77346,7 @@ ft("highlight-feature", (t, e) => {
|
|
|
77330
77346
|
}
|
|
77331
77347
|
r == null ? n.removeAttribute("highlighted-id") : n.setAttribute("highlighted-id", String(r));
|
|
77332
77348
|
});
|
|
77333
|
-
function
|
|
77349
|
+
function Zr(t) {
|
|
77334
77350
|
const e = t.duration;
|
|
77335
77351
|
let i = 0;
|
|
77336
77352
|
if (typeof e == "number") i = e;
|
|
@@ -77351,7 +77367,7 @@ ft("fade", (t, e) => {
|
|
|
77351
77367
|
console.warn(`[onlymapjs] fade: no <om-layer id="${i}"> found.`);
|
|
77352
77368
|
return;
|
|
77353
77369
|
}
|
|
77354
|
-
const r =
|
|
77370
|
+
const r = Zr(t).duration, s = Gi(t.to) ?? 1, o = n.getAttribute("transition"), a = o ? kx(o).transitions : {};
|
|
77355
77371
|
a.opacity = r, n.setAttribute(
|
|
77356
77372
|
"transition",
|
|
77357
77373
|
Object.entries(a).map(([l, u]) => `${l} ${u}ms`).join(", ")
|
|
@@ -77363,7 +77379,7 @@ ft("pulse", (t, e, i) => {
|
|
|
77363
77379
|
console.warn("[onlymapjs] pulse: payload needs { layer }.");
|
|
77364
77380
|
return;
|
|
77365
77381
|
}
|
|
77366
|
-
const r =
|
|
77382
|
+
const r = Zr(t).duration || 1500, s = Gi(t.cycles) ?? Math.max(1, Math.round(r / 600));
|
|
77367
77383
|
wa(i, n, r, {
|
|
77368
77384
|
frame: (o) => ({ opacity: x6(o, s) }),
|
|
77369
77385
|
end: "clear"
|
|
@@ -77477,7 +77493,7 @@ ft("populate", (t, e, i, n) => {
|
|
|
77477
77493
|
Ea("fade", t, e, i);
|
|
77478
77494
|
return;
|
|
77479
77495
|
}
|
|
77480
|
-
wa(i, s.id,
|
|
77496
|
+
wa(i, s.id, Zr(t).duration || 2e3, {
|
|
77481
77497
|
frame: (a) => k8(o, a),
|
|
77482
77498
|
end: "clear"
|
|
77483
77499
|
// authored state IS the fully populated state
|
|
@@ -77508,7 +77524,7 @@ ft("trace", (t, e, i, n) => {
|
|
|
77508
77524
|
return;
|
|
77509
77525
|
}
|
|
77510
77526
|
if (t.featureId != null || typeof t.feature == "object" && t.feature !== null) {
|
|
77511
|
-
UTe(t, e, i, s,
|
|
77527
|
+
UTe(t, e, i, s, Zr(t).duration || 2e3);
|
|
77512
77528
|
return;
|
|
77513
77529
|
}
|
|
77514
77530
|
if (s.type !== "TripsLayer") {
|
|
@@ -77520,7 +77536,7 @@ ft("trace", (t, e, i, n) => {
|
|
|
77520
77536
|
console.warn(`[onlymapjs] trace: "${r}" has no usable timestamps — falling back to fade.`), Ea("fade", t, e, i, n);
|
|
77521
77537
|
return;
|
|
77522
77538
|
}
|
|
77523
|
-
const { t0: a, t1: l } = o, u =
|
|
77539
|
+
const { t0: a, t1: l } = o, u = Zr(t).duration || 2e3, h = typeof t.easing == "string" ? _6[t.easing] : void 0;
|
|
77524
77540
|
typeof t.easing == "string" && !h && console.warn(`[onlymapjs] trace: unknown easing "${t.easing}" — using linear.`);
|
|
77525
77541
|
let m = null;
|
|
77526
77542
|
if (t.follow === !0 || t.follow === "follow") {
|
|
@@ -77602,7 +77618,7 @@ ft("fly-to", (t, e, i) => {
|
|
|
77602
77618
|
console.warn("[onlymapjs] fly-to: payload needs at least one of { center, zoom, pitch, bearing }.");
|
|
77603
77619
|
return;
|
|
77604
77620
|
}
|
|
77605
|
-
i.setViewState(n,
|
|
77621
|
+
i.setViewState(n, Zr(t));
|
|
77606
77622
|
});
|
|
77607
77623
|
ft("zoom-to-feature", (t, e, i, n) => {
|
|
77608
77624
|
let r = t.feature, s;
|
|
@@ -77623,7 +77639,7 @@ ft("zoom-to-feature", (t, e, i, n) => {
|
|
|
77623
77639
|
console.warn("[onlymapjs] zoom-to-feature: payload needs either { feature } or { layer, featureId }.");
|
|
77624
77640
|
return;
|
|
77625
77641
|
}
|
|
77626
|
-
const o =
|
|
77642
|
+
const o = Zr(t), a = s === "geojson" || s === void 0 ? P8(r) : void 0;
|
|
77627
77643
|
if (a) {
|
|
77628
77644
|
i.flyToBounds(a, void 0, o);
|
|
77629
77645
|
return;
|
|
@@ -77655,7 +77671,7 @@ ft("expand-cluster", (t, e, i) => {
|
|
|
77655
77671
|
console.warn("[onlymapjs] expand-cluster: the payload carries no position for the cluster.");
|
|
77656
77672
|
return;
|
|
77657
77673
|
}
|
|
77658
|
-
const u = t.duration === void 0 ? {
|
|
77674
|
+
const u = t.duration === void 0 ? { ...Zr(t), duration: $1 } : Zr(t);
|
|
77659
77675
|
i.flyTo(l, Math.max(o, i.getViewState().zoom + 1), u);
|
|
77660
77676
|
});
|
|
77661
77677
|
ft("set-layer-attribute", (t, e) => {
|
|
@@ -77930,7 +77946,7 @@ function Pp(t) {
|
|
|
77930
77946
|
function YTe(t) {
|
|
77931
77947
|
kf.get(t)?.destroy(), kf.delete(t);
|
|
77932
77948
|
}
|
|
77933
|
-
function
|
|
77949
|
+
function Vr(t, e) {
|
|
77934
77950
|
const i = t ? kf.get(t) : void 0;
|
|
77935
77951
|
return i ? i.suppress(e) : e();
|
|
77936
77952
|
}
|
|
@@ -78504,8 +78520,8 @@ function yEe(t, e, i, n) {
|
|
|
78504
78520
|
for (let Ie = 0; Ie < n.length; Ie++) n[Ie] > u && (u = n[Ie]);
|
|
78505
78521
|
const h = u > 65535, m = l ? h ? new Uint32Array(r * 3) : new Uint16Array(r * 3) : void 0, v = new Uint32Array(r * 3);
|
|
78506
78522
|
for (let Ie = 0; Ie < r; Ie++) {
|
|
78507
|
-
const Ee = e[Ie * 3], Xe = e[Ie * 3 + 1], Re = e[Ie * 3 + 2], fe = t[Ee * 3], Be = t[Ee * 3 + 1], me = t[Ee * 3 + 2], tt = t[Xe * 3], Qe = t[Xe * 3 + 1], De = t[Xe * 3 + 2], et = t[Re * 3], Jt = t[Re * 3 + 1], Ci = t[Re * 3 + 2],
|
|
78508
|
-
let Io = tn * Kr - Di * kc, Oc = Di * Bs -
|
|
78523
|
+
const Ee = e[Ie * 3], Xe = e[Ie * 3 + 1], Re = e[Ie * 3 + 2], fe = t[Ee * 3], Be = t[Ee * 3 + 1], me = t[Ee * 3 + 2], tt = t[Xe * 3], Qe = t[Xe * 3 + 1], De = t[Xe * 3 + 2], et = t[Re * 3], Jt = t[Re * 3 + 1], Ci = t[Re * 3 + 2], Nr = tt - fe, tn = Qe - Be, Di = De - me, Bs = et - fe, kc = Jt - Be, Kr = Ci - me;
|
|
78524
|
+
let Io = tn * Kr - Di * kc, Oc = Di * Bs - Nr * Kr, Fc = Nr * kc - tn * Bs;
|
|
78509
78525
|
const Va = Math.hypot(Io, Oc, Fc) || 1;
|
|
78510
78526
|
Io /= Va, Oc /= Va, Fc /= Va;
|
|
78511
78527
|
const ih = Ie * 9;
|
|
@@ -80526,8 +80542,8 @@ Yt("ifc-clash", {
|
|
|
80526
80542
|
const Qe = tt ? oe : be ? he : o ? 0.95 : 0;
|
|
80527
80543
|
if (Qe === 0) continue;
|
|
80528
80544
|
const De = (et, Jt, Ci) => {
|
|
80529
|
-
const
|
|
80530
|
-
fe[et][Jt] = { color: Ci, strength: Math.max(
|
|
80545
|
+
const Nr = Number(fe[et][Jt]?.strength ?? 0);
|
|
80546
|
+
fe[et][Jt] = { color: Ci, strength: Math.max(Nr, Qe) };
|
|
80531
80547
|
};
|
|
80532
80548
|
De(0, Be.id, Xy[0]), De(1, me.id, Xy[1]);
|
|
80533
80549
|
}
|
|
@@ -80592,8 +80608,8 @@ clashes with:
|
|
|
80592
80608
|
});
|
|
80593
80609
|
const Ci = document.createElement("span");
|
|
80594
80610
|
Ci.className = "ct", Ci.textContent = "◎", Ci.title = "Selected — the camera is here";
|
|
80595
|
-
const
|
|
80596
|
-
|
|
80611
|
+
const Nr = document.createElement("span");
|
|
80612
|
+
Nr.className = "ifc-ops", me && Nr.append(Ci), tt.append(Qe, De, et, Nr), Ie.append(tt);
|
|
80597
80613
|
}
|
|
80598
80614
|
i.append(Ie), Ie.scrollTop = n;
|
|
80599
80615
|
}
|
|
@@ -83318,7 +83334,7 @@ class A5 {
|
|
|
83318
83334
|
`[onlymapjs] basemap="${e}" (Mapbox GL) is not implemented yet in this version — falling back to standalone (no basemap). Use a maplibre-* basemap instead (no token required).`
|
|
83319
83335
|
);
|
|
83320
83336
|
else {
|
|
83321
|
-
this.mode = "basemap", this.basemapAttr = e, import("./basemap-
|
|
83337
|
+
this.mode = "basemap", this.basemapAttr = e, import("./basemap-QT4ua-dL.js").then(({ MapLibreBasemapAdapter: s }) => {
|
|
83322
83338
|
this.destroyed || i !== this.rendererGeneration || (this.basemap = new s(
|
|
83323
83339
|
this.parent,
|
|
83324
83340
|
// this.basemapAttr, not the captured param: a style switch that
|
|
@@ -83630,7 +83646,7 @@ class A5 {
|
|
|
83630
83646
|
this.postProcess = null, this.applyEffects();
|
|
83631
83647
|
return;
|
|
83632
83648
|
}
|
|
83633
|
-
import("./index-
|
|
83649
|
+
import("./index-Bxue4Psc.js").then(({ buildPostProcessEffects: i }) => {
|
|
83634
83650
|
this.destroyed || this.effectsIR !== e || (this.postProcess = i(e, this.pixelsPerMm()), this.applyEffects());
|
|
83635
83651
|
});
|
|
83636
83652
|
}
|
|
@@ -84070,7 +84086,7 @@ class A5 {
|
|
|
84070
84086
|
* than the export failing.
|
|
84071
84087
|
*/
|
|
84072
84088
|
async captureBand(e, i) {
|
|
84073
|
-
const { bandScaleFor: n } = await import("./index-
|
|
84089
|
+
const { bandScaleFor: n } = await import("./index-Bzypgr1v.js"), r = n(i);
|
|
84074
84090
|
return this.withCapturePixelRatio(r, async () => {
|
|
84075
84091
|
this.bandIsolation = e ? new Set(e) : null;
|
|
84076
84092
|
try {
|
|
@@ -84092,7 +84108,7 @@ class A5 {
|
|
|
84092
84108
|
async resolvedPostProcessPass() {
|
|
84093
84109
|
const e = this.buildEffects();
|
|
84094
84110
|
if (e.length === 0) return { present: !1 };
|
|
84095
|
-
const { PostProcessEffect: i } = await import("./index-
|
|
84111
|
+
const { PostProcessEffect: i } = await import("./index-BO7MtTkn.js");
|
|
84096
84112
|
for (const n of e)
|
|
84097
84113
|
if (n instanceof i) {
|
|
84098
84114
|
const r = n;
|
|
@@ -84555,7 +84571,7 @@ class A5 {
|
|
|
84555
84571
|
const { width: n, height: r } = i, s = (v) => {
|
|
84556
84572
|
const _ = i.project([v[0], v[1]]);
|
|
84557
84573
|
return [_[0], _[1]];
|
|
84558
|
-
}, o = i.unproject([n / 2, r / 2]), a = i.unproject([n / 2 + 1, r / 2]), l = Math.max(_a([o[0], o[1]], [a[0], a[1]]), 1e-9), u = await this.resolvedPostProcessPass(), { serializeToSvg: h } = await import("./index-
|
|
84574
|
+
}, o = i.unproject([n / 2, r / 2]), a = i.unproject([n / 2 + 1, r / 2]), l = Math.max(_a([o[0], o[1]], [a[0], a[1]]), 1e-9), u = await this.resolvedPostProcessPass(), { serializeToSvg: h } = await import("./index-Bzypgr1v.js"), m = await h(this.lastIRs, {
|
|
84559
84575
|
width: n,
|
|
84560
84576
|
height: r,
|
|
84561
84577
|
project: s,
|
|
@@ -85297,7 +85313,7 @@ function x5(t, e, i, n, r, s) {
|
|
|
85297
85313
|
if (u) return u;
|
|
85298
85314
|
const h = `${r}|${l}#${o.length}`;
|
|
85299
85315
|
if (!eb.has(h)) {
|
|
85300
|
-
const m = import("./index-
|
|
85316
|
+
const m = import("./index-D1ZjhP2H.js").then(async ({ runTransforms: v }) => {
|
|
85301
85317
|
KP(a, l, await v(o, e, i, n, r));
|
|
85302
85318
|
}).catch((v) => {
|
|
85303
85319
|
console.error(`[onlymapjs] ${r} failed to load the geometry transforms:`, v), KP(a, l, t);
|
|
@@ -85542,7 +85558,7 @@ function E5({ layerIRs: t, core: e, mapEl: i, selection: n, history: r, featureT
|
|
|
85542
85558
|
}
|
|
85543
85559
|
};
|
|
85544
85560
|
}
|
|
85545
|
-
const M5 = "0.11.
|
|
85561
|
+
const M5 = "0.11.11", qIe = "https://om-api.nika.eco/v1/t", co = { endpoint: qIe };
|
|
85546
85562
|
function QIe(t) {
|
|
85547
85563
|
for (const e of Object.keys(t))
|
|
85548
85564
|
co[e] = t[e];
|
|
@@ -88129,7 +88145,7 @@ class hPe extends Eo {
|
|
|
88129
88145
|
const i = this.inSlotReparent;
|
|
88130
88146
|
this.inSlotReparent = !0;
|
|
88131
88147
|
try {
|
|
88132
|
-
|
|
88148
|
+
Vr(this, e);
|
|
88133
88149
|
} finally {
|
|
88134
88150
|
this.inSlotReparent = i;
|
|
88135
88151
|
}
|
|
@@ -88141,7 +88157,7 @@ class hPe extends Eo {
|
|
|
88141
88157
|
this.foldedWidgetSlots.set(e, i), this.scheduleFoldPass();
|
|
88142
88158
|
return;
|
|
88143
88159
|
}
|
|
88144
|
-
this.foldedWidgetSlots.delete(e), this.inFoldPass = !0,
|
|
88160
|
+
this.foldedWidgetSlots.delete(e), this.inFoldPass = !0, Vr(this, () => {
|
|
88145
88161
|
const o = this.slotAnchors.get(e);
|
|
88146
88162
|
o?.parentNode ? o.parentNode.insertBefore(e, o) : this.appendChild(e);
|
|
88147
88163
|
}), this.inFoldPass = !1;
|
|
@@ -88287,7 +88303,7 @@ class hPe extends Eo {
|
|
|
88287
88303
|
restoreFoldedWidget(e, i) {
|
|
88288
88304
|
this.foldedWidgetSlots.delete(e);
|
|
88289
88305
|
const n = this.ensureSlotContainer(i);
|
|
88290
|
-
|
|
88306
|
+
Vr(this, () => n.appendChild(e));
|
|
88291
88307
|
}
|
|
88292
88308
|
runFoldPass() {
|
|
88293
88309
|
this.measureWidgetFold();
|
|
@@ -88303,7 +88319,7 @@ class hPe extends Eo {
|
|
|
88303
88319
|
if (!n || n === "manual") continue;
|
|
88304
88320
|
this.foldedWidgetSlots.set(i, n);
|
|
88305
88321
|
const r = this.ensureFoldDrawer(O5(n));
|
|
88306
|
-
i.parentElement !== r.panel && (
|
|
88322
|
+
i.parentElement !== r.panel && (Vr(this, () => r.panel.appendChild(i)), e = !0);
|
|
88307
88323
|
}
|
|
88308
88324
|
for (const i of ARe) {
|
|
88309
88325
|
const n = this.foldDrawers.get(i);
|
|
@@ -88346,7 +88362,7 @@ class hPe extends Eo {
|
|
|
88346
88362
|
try {
|
|
88347
88363
|
for (const [i, n] of this.slotContainers) {
|
|
88348
88364
|
const r = D5(i).axis;
|
|
88349
|
-
|
|
88365
|
+
Vr(this, () => {
|
|
88350
88366
|
for (const l of [...n.querySelectorAll(":scope > [data-om-cluster]")]) {
|
|
88351
88367
|
for (const u of [...l.children]) e.add(u);
|
|
88352
88368
|
for (; l.firstChild; ) n.insertBefore(l.firstChild, l);
|
|
@@ -88543,8 +88559,8 @@ class hPe extends Eo {
|
|
|
88543
88559
|
const n = e ? { ...e, object: this.resolvePickedObject(e.layerId, e.object, e.index) } : null, r = this.selection;
|
|
88544
88560
|
if (this.selection = n, this.lastPickType = i, this.lastPickByType = { ...this.lastPickByType, [i]: n }, this.notifyWidgets((s) => s.includes("selection")), this.scheduleOverlayFlush(), n) {
|
|
88545
88561
|
const s = () => this.dispatchToBehaviors(n.type, { ...this.pickPayload(n), [jk]: n.type }, n.layerId);
|
|
88546
|
-
n.type === "hover" ?
|
|
88547
|
-
} else r &&
|
|
88562
|
+
n.type === "hover" ? Vr(this, s) : s();
|
|
88563
|
+
} else r && Vr(this, () => this.emit("hide-tooltip", {}));
|
|
88548
88564
|
}
|
|
88549
88565
|
/**
|
|
88550
88566
|
* The single drag-pick path — deck.gl's continuous drag picks (via
|
|
@@ -88555,7 +88571,7 @@ class hPe extends Eo {
|
|
|
88555
88571
|
*/
|
|
88556
88572
|
handleDragPick(e) {
|
|
88557
88573
|
const i = { ...e, object: this.resolvePickedObject(e.layerId, e.object, e.index) };
|
|
88558
|
-
|
|
88574
|
+
Vr(this, () => this.dispatchToBehaviors("drag", this.pickPayload(i), i.layerId));
|
|
88559
88575
|
}
|
|
88560
88576
|
/**
|
|
88561
88577
|
* Synthetic pick entries for the test harness (spec: "Consumer Testing
|
|
@@ -88947,7 +88963,7 @@ class hPe extends Eo {
|
|
|
88947
88963
|
this.core?.setEffects([]);
|
|
88948
88964
|
return;
|
|
88949
88965
|
}
|
|
88950
|
-
import("./index-
|
|
88966
|
+
import("./index-Bxue4Psc.js").then(({ parseEffectEls: i }) => {
|
|
88951
88967
|
!this.core || !this.isConnected || this.core.setEffects(i(this));
|
|
88952
88968
|
});
|
|
88953
88969
|
}
|
|
@@ -89513,7 +89529,7 @@ function TPe(t, e, i) {
|
|
|
89513
89529
|
if (!$5.has(a.action)) return;
|
|
89514
89530
|
const u = typeof a.payload.layer == "string" ? a.payload.layer : null;
|
|
89515
89531
|
if (!u) return;
|
|
89516
|
-
const h = e[l]?.start ?? 0, { duration: m } =
|
|
89532
|
+
const h = e[l]?.start ?? 0, { duration: m } = Zr(a.payload);
|
|
89517
89533
|
switch (a.action) {
|
|
89518
89534
|
case "fade": {
|
|
89519
89535
|
const v = Gi(a.payload.to) ?? 1, _ = r.get(u);
|
|
@@ -89799,7 +89815,7 @@ class PPe extends Eo {
|
|
|
89799
89815
|
return e ? (this.effectTrack = TPe(this.steps, this.timeline.intervals, e), this.effectTrack) : null;
|
|
89800
89816
|
}
|
|
89801
89817
|
fireDueSteps(e, i = "inclusive") {
|
|
89802
|
-
|
|
89818
|
+
Vr(this.mapEl, () => {
|
|
89803
89819
|
for (let n = 0; n < this.steps.length; n++) {
|
|
89804
89820
|
const r = this.timeline.intervals[n].start, s = i === "inclusive" ? r <= this.elapsed : r < this.elapsed;
|
|
89805
89821
|
if (this.fired.has(n) || !s || (this.fired.add(n), $5.has(this.steps[n].action) && this.storyClockOwnsEffects())) continue;
|
|
@@ -89873,7 +89889,7 @@ class PPe extends Eo {
|
|
|
89873
89889
|
this.captured = e, n && (this.capturedCamera = this.mapEl.getViewStateInternal() ?? null);
|
|
89874
89890
|
}
|
|
89875
89891
|
restoreInitial() {
|
|
89876
|
-
|
|
89892
|
+
Vr(this.mapEl, () => {
|
|
89877
89893
|
this.mapEl?.clearEffectsInternal();
|
|
89878
89894
|
for (const { el: e, attr: i, value: n } of this.captured ?? [])
|
|
89879
89895
|
n === null ? e.removeAttribute(i) : e.setAttribute(i, n);
|
|
@@ -90852,7 +90868,7 @@ async function VBe(t) {
|
|
|
90852
90868
|
e(t);
|
|
90853
90869
|
}
|
|
90854
90870
|
async function eBe() {
|
|
90855
|
-
return import("./raster-
|
|
90871
|
+
return import("./raster-CvAJ-h_g.js").then((t) => t.r);
|
|
90856
90872
|
}
|
|
90857
90873
|
const zBe = {
|
|
90858
90874
|
registerLayer: un,
|
|
@@ -90861,7 +90877,7 @@ const zBe = {
|
|
|
90861
90877
|
registerAction: ft,
|
|
90862
90878
|
registerFormat: gie,
|
|
90863
90879
|
registerSource: xie,
|
|
90864
|
-
registerBasemap:
|
|
90880
|
+
registerBasemap: Pr,
|
|
90865
90881
|
registerTerrain: sg,
|
|
90866
90882
|
registerCrs: sMe,
|
|
90867
90883
|
registerRoutingProvider: a6,
|
|
@@ -90897,7 +90913,7 @@ export {
|
|
|
90897
90913
|
Bk as O,
|
|
90898
90914
|
yJ as P,
|
|
90899
90915
|
Jp as Q,
|
|
90900
|
-
|
|
90916
|
+
Lr as R,
|
|
90901
90917
|
oJ as S,
|
|
90902
90918
|
Db as T,
|
|
90903
90919
|
cn as U,
|
|
@@ -90969,7 +90985,7 @@ export {
|
|
|
90969
90985
|
y3e as au,
|
|
90970
90986
|
Wt as av,
|
|
90971
90987
|
xi as aw,
|
|
90972
|
-
|
|
90988
|
+
Br as ax,
|
|
90973
90989
|
KY as ay,
|
|
90974
90990
|
ZH as az,
|
|
90975
90991
|
o0 as b,
|
|
@@ -91069,7 +91085,7 @@ export {
|
|
|
91069
91085
|
V5 as cR,
|
|
91070
91086
|
sp as cS,
|
|
91071
91087
|
ft as cT,
|
|
91072
|
-
|
|
91088
|
+
Pr as cU,
|
|
91073
91089
|
sMe as cV,
|
|
91074
91090
|
gie as cW,
|
|
91075
91091
|
un as cX,
|