@opengis/gis 0.1.48 → 0.1.51
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/import-file.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var S0 = Object.defineProperty;
|
|
2
2
|
var A0 = (u, f, y) => f in u ? S0(u, f, { enumerable: !0, configurable: !0, writable: !0, value: y }) : u[f] = y;
|
|
3
3
|
var wr = (u, f, y) => A0(u, typeof f != "symbol" ? f + "" : f, y);
|
|
4
|
-
import { computed as or, createElementBlock as Ae, openBlock as be, normalizeStyle as Zo, createCommentVNode as _t, createElementVNode as ae, toDisplayString as at, Fragment as yt, renderList as Nt, normalizeClass as Mi, ref as Br, onMounted as $a, resolveComponent as
|
|
4
|
+
import { computed as or, createElementBlock as Ae, openBlock as be, normalizeStyle as Zo, createCommentVNode as _t, createElementVNode as ae, toDisplayString as at, Fragment as yt, renderList as Nt, normalizeClass as Mi, ref as Br, onMounted as $a, resolveComponent as tr, createBlock as ti, withCtx as cr, createTextVNode as dr, watch as $n, withDirectives as Yn, vModelText as pd, vModelCheckbox as Ad, createVNode as ar, nextTick as _c, createStaticVNode as vh, withModifiers as k0, resolveDynamicComponent as bc, vShow as dh, withKeys as T0, Teleport as kd, onUnmounted as C0, mergeProps as P0, renderSlot as I0 } from "vue";
|
|
5
5
|
function Fg(u, f) {
|
|
6
6
|
return function() {
|
|
7
7
|
return u.apply(f, arguments);
|
|
@@ -3465,7 +3465,7 @@ function Nx() {
|
|
|
3465
3465
|
for (var n = 0, t = arguments.length; t--; ) n += arguments[t] * arguments[t];
|
|
3466
3466
|
return Math.sqrt(n);
|
|
3467
3467
|
});
|
|
3468
|
-
var it,
|
|
3468
|
+
var it, Tt = et;
|
|
3469
3469
|
function Ft(n, t, i) {
|
|
3470
3470
|
var o = t[0], c = t[1], d = t[2], m = t[3];
|
|
3471
3471
|
return n[0] = i[0] * o + i[4] * c + i[8] * d + i[12] * m, n[1] = i[1] * o + i[5] * c + i[9] * d + i[13] * m, n[2] = i[2] * o + i[6] * c + i[10] * d + i[14] * m, n[3] = i[3] * o + i[7] * c + i[11] * d + i[15] * m, n;
|
|
@@ -3483,9 +3483,9 @@ function Nx() {
|
|
|
3483
3483
|
return i[0] = n, i[1] = t, i;
|
|
3484
3484
|
}
|
|
3485
3485
|
St(), it = new Pe(4), Pe != Float32Array && (it[0] = 0, it[1] = 0, it[2] = 0, it[3] = 0), St(), Ye(1, 0, 0), Ye(0, 1, 0), vr(), vr(), qe(), Er();
|
|
3486
|
-
const
|
|
3486
|
+
const ir = 8192;
|
|
3487
3487
|
function ln(n, t, i) {
|
|
3488
|
-
return t * (
|
|
3488
|
+
return t * (ir / (n.tileSize * Math.pow(2, i - n.tileID.overscaledZ)));
|
|
3489
3489
|
}
|
|
3490
3490
|
function Qi(n, t) {
|
|
3491
3491
|
return (n % t + t) % t;
|
|
@@ -3521,7 +3521,7 @@ function Nx() {
|
|
|
3521
3521
|
for (const c in n) o[c] = t.call(this, n[c], c, n);
|
|
3522
3522
|
return o;
|
|
3523
3523
|
}
|
|
3524
|
-
function
|
|
3524
|
+
function kt(n, t, i) {
|
|
3525
3525
|
const o = {};
|
|
3526
3526
|
for (const c in n) t.call(this, n[c], c, n) && (o[c] = n[c]);
|
|
3527
3527
|
return o;
|
|
@@ -3565,21 +3565,21 @@ function Nx() {
|
|
|
3565
3565
|
}
|
|
3566
3566
|
});
|
|
3567
3567
|
}
|
|
3568
|
-
let _i,
|
|
3569
|
-
function
|
|
3568
|
+
let _i, sr;
|
|
3569
|
+
function nr(n, t, i, o) {
|
|
3570
3570
|
return n.addEventListener(t, i, o), { unsubscribe: () => {
|
|
3571
3571
|
n.removeEventListener(t, i, o);
|
|
3572
3572
|
} };
|
|
3573
3573
|
}
|
|
3574
|
-
function
|
|
3574
|
+
function At(n) {
|
|
3575
3575
|
return n * Math.PI / 180;
|
|
3576
3576
|
}
|
|
3577
|
-
function
|
|
3577
|
+
function Sr(n) {
|
|
3578
3578
|
return n / Math.PI * 180;
|
|
3579
3579
|
}
|
|
3580
|
-
const
|
|
3581
|
-
function
|
|
3582
|
-
return new Error(
|
|
3580
|
+
const Wr = { touchstart: !0, touchmove: !0, touchmoveWindow: !0, touchend: !0, touchcancel: !0 }, Vr = { dblclick: !0, click: !0, mouseover: !0, mouseout: !0, mousedown: !0, mousemove: !0, mousemoveWindow: !0, mouseup: !0, mouseupWindow: !0, contextmenu: !0, wheel: !0 }, Jt = "AbortError";
|
|
3581
|
+
function Jr() {
|
|
3582
|
+
return new Error(Jt);
|
|
3583
3583
|
}
|
|
3584
3584
|
const hi = { MAX_PARALLEL_IMAGE_REQUESTS: 16, MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME: 8, MAX_TILE_CACHE_ZOOM_LEVELS: 5, REGISTERED_PROTOCOLS: {}, WORKER_URL: "" };
|
|
3585
3585
|
function vi(n) {
|
|
@@ -3614,7 +3614,7 @@ function Nx() {
|
|
|
3614
3614
|
}
|
|
3615
3615
|
_ = o.type === "arrayBuffer" || o.type === "image" ? m.arrayBuffer() : o.type === "json" ? m.json() : m.text();
|
|
3616
3616
|
const w = yield _;
|
|
3617
|
-
if (c.signal.aborted) throw
|
|
3617
|
+
if (c.signal.aborted) throw Jr();
|
|
3618
3618
|
return { data: w, cacheControl: m.headers.get("Cache-Control"), expires: m.headers.get("Expires") };
|
|
3619
3619
|
});
|
|
3620
3620
|
}(n, t);
|
|
@@ -3643,7 +3643,7 @@ function Nx() {
|
|
|
3643
3643
|
m(new xr(w.status, w.statusText, o.url, C));
|
|
3644
3644
|
}
|
|
3645
3645
|
}, c.signal.addEventListener("abort", () => {
|
|
3646
|
-
w.abort(), m(
|
|
3646
|
+
w.abort(), m(Jr());
|
|
3647
3647
|
}), w.send(o.body);
|
|
3648
3648
|
});
|
|
3649
3649
|
}(n, t);
|
|
@@ -3761,7 +3761,7 @@ function Nx() {
|
|
|
3761
3761
|
this.message = (t ? `${t}: ` : "") + o, c && (this.identifier = c), i != null && i.__line__ && (this.line = i.__line__);
|
|
3762
3762
|
}
|
|
3763
3763
|
}
|
|
3764
|
-
function
|
|
3764
|
+
function er(n, ...t) {
|
|
3765
3765
|
for (const i of t) for (const o in i) n[o] = i[o];
|
|
3766
3766
|
return n;
|
|
3767
3767
|
}
|
|
@@ -3770,13 +3770,13 @@ function Nx() {
|
|
|
3770
3770
|
super(i), this.message = i, this.key = t;
|
|
3771
3771
|
}
|
|
3772
3772
|
}
|
|
3773
|
-
class
|
|
3773
|
+
class Qt {
|
|
3774
3774
|
constructor(t, i = []) {
|
|
3775
3775
|
this.parent = t, this.bindings = {};
|
|
3776
3776
|
for (const [o, c] of i) this.bindings[o] = c;
|
|
3777
3777
|
}
|
|
3778
3778
|
concat(t) {
|
|
3779
|
-
return new
|
|
3779
|
+
return new Qt(this, t);
|
|
3780
3780
|
}
|
|
3781
3781
|
get(t) {
|
|
3782
3782
|
if (this.bindings[t]) return this.bindings[t];
|
|
@@ -3787,7 +3787,7 @@ function Nx() {
|
|
|
3787
3787
|
return !!this.bindings[t] || !!this.parent && this.parent.has(t);
|
|
3788
3788
|
}
|
|
3789
3789
|
}
|
|
3790
|
-
const bt = { kind: "null" }, Ne = { kind: "number" }, vt = { kind: "string" }, Lt = { kind: "boolean" }, Mr = { kind: "color" }, Lr = { kind: "projectionDefinition" }, zi = { kind: "object" }, zt = { kind: "value" }, As = { kind: "collator" }, $s = { kind: "formatted" }, es = { kind: "padding" }, eo = { kind: "colorArray" }, kn = { kind: "numberArray" }, ts = { kind: "resolvedImage" },
|
|
3790
|
+
const bt = { kind: "null" }, Ne = { kind: "number" }, vt = { kind: "string" }, Lt = { kind: "boolean" }, Mr = { kind: "color" }, Lr = { kind: "projectionDefinition" }, zi = { kind: "object" }, zt = { kind: "value" }, As = { kind: "collator" }, $s = { kind: "formatted" }, es = { kind: "padding" }, eo = { kind: "colorArray" }, kn = { kind: "numberArray" }, ts = { kind: "resolvedImage" }, Ur = { kind: "variableAnchorOffsetCollection" };
|
|
3791
3791
|
function Ni(n, t) {
|
|
3792
3792
|
return { kind: "array", itemType: n, N: t };
|
|
3793
3793
|
}
|
|
@@ -3798,7 +3798,7 @@ function Nx() {
|
|
|
3798
3798
|
}
|
|
3799
3799
|
return n.kind;
|
|
3800
3800
|
}
|
|
3801
|
-
const to = [bt, Ne, vt, Lt, Mr, Lr, $s, zi, Ni(zt), es, kn, eo, ts,
|
|
3801
|
+
const to = [bt, Ne, vt, Lt, Mr, Lr, $s, zi, Ni(zt), es, kn, eo, ts, Ur];
|
|
3802
3802
|
function ks(n, t) {
|
|
3803
3803
|
if (t.kind === "error") return null;
|
|
3804
3804
|
if (n.kind === "array") {
|
|
@@ -4032,23 +4032,23 @@ function Nx() {
|
|
|
4032
4032
|
return new pi(ss(t.values, i.values, o));
|
|
4033
4033
|
}
|
|
4034
4034
|
}
|
|
4035
|
-
class
|
|
4035
|
+
class jr {
|
|
4036
4036
|
constructor(t) {
|
|
4037
4037
|
this.values = t.slice();
|
|
4038
4038
|
}
|
|
4039
4039
|
static parse(t) {
|
|
4040
|
-
if (t instanceof
|
|
4041
|
-
if (typeof t == "number") return new
|
|
4040
|
+
if (t instanceof jr) return t;
|
|
4041
|
+
if (typeof t == "number") return new jr([t]);
|
|
4042
4042
|
if (Array.isArray(t)) {
|
|
4043
4043
|
for (const i of t) if (typeof i != "number") return;
|
|
4044
|
-
return new
|
|
4044
|
+
return new jr(t);
|
|
4045
4045
|
}
|
|
4046
4046
|
}
|
|
4047
4047
|
toString() {
|
|
4048
4048
|
return JSON.stringify(this.values);
|
|
4049
4049
|
}
|
|
4050
4050
|
static interpolate(t, i, o) {
|
|
4051
|
-
return new
|
|
4051
|
+
return new jr(ss(t.values, i.values, o));
|
|
4052
4052
|
}
|
|
4053
4053
|
}
|
|
4054
4054
|
class di {
|
|
@@ -4146,7 +4146,7 @@ function Nx() {
|
|
|
4146
4146
|
return typeof n == "number" && n >= 0 && n <= 255 && typeof t == "number" && t >= 0 && t <= 255 && typeof i == "number" && i >= 0 && i <= 255 ? o === void 0 || typeof o == "number" && o >= 0 && o <= 1 ? null : `Invalid rgba value [${[n, t, i, o].join(", ")}]: 'a' must be between 0 and 1.` : `Invalid rgba value [${(typeof o == "number" ? [n, t, i, o] : [n, t, i]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`;
|
|
4147
4147
|
}
|
|
4148
4148
|
function lr(n) {
|
|
4149
|
-
if (n === null || typeof n == "string" || typeof n == "boolean" || typeof n == "number" || n instanceof Bi || n instanceof Ht || n instanceof no || n instanceof Di || n instanceof pi || n instanceof
|
|
4149
|
+
if (n === null || typeof n == "string" || typeof n == "boolean" || typeof n == "number" || n instanceof Bi || n instanceof Ht || n instanceof no || n instanceof Di || n instanceof pi || n instanceof jr || n instanceof di || n instanceof Ci || n instanceof Wi) return !0;
|
|
4150
4150
|
if (Array.isArray(n)) {
|
|
4151
4151
|
for (const t of n) if (!lr(t)) return !1;
|
|
4152
4152
|
return !0;
|
|
@@ -4167,9 +4167,9 @@ function Nx() {
|
|
|
4167
4167
|
if (n instanceof no) return As;
|
|
4168
4168
|
if (n instanceof Di) return $s;
|
|
4169
4169
|
if (n instanceof pi) return es;
|
|
4170
|
-
if (n instanceof
|
|
4170
|
+
if (n instanceof jr) return kn;
|
|
4171
4171
|
if (n instanceof di) return eo;
|
|
4172
|
-
if (n instanceof Ci) return
|
|
4172
|
+
if (n instanceof Ci) return Ur;
|
|
4173
4173
|
if (n instanceof Wi) return ts;
|
|
4174
4174
|
if (Array.isArray(n)) {
|
|
4175
4175
|
const t = n.length;
|
|
@@ -4189,7 +4189,7 @@ function Nx() {
|
|
|
4189
4189
|
}
|
|
4190
4190
|
function Zt(n) {
|
|
4191
4191
|
const t = typeof n;
|
|
4192
|
-
return n === null ? "" : t === "string" || t === "number" || t === "boolean" ? String(n) : n instanceof Ht || n instanceof Bi || n instanceof Di || n instanceof pi || n instanceof
|
|
4192
|
+
return n === null ? "" : t === "string" || t === "number" || t === "boolean" ? String(n) : n instanceof Ht || n instanceof Bi || n instanceof Di || n instanceof pi || n instanceof jr || n instanceof di || n instanceof Ci || n instanceof Wi ? n.toString() : JSON.stringify(n);
|
|
4193
4193
|
}
|
|
4194
4194
|
class Ct {
|
|
4195
4195
|
constructor(t, i) {
|
|
@@ -4306,7 +4306,7 @@ function Nx() {
|
|
|
4306
4306
|
let i;
|
|
4307
4307
|
for (const o of this.args) {
|
|
4308
4308
|
i = o.evaluate(t);
|
|
4309
|
-
const c =
|
|
4309
|
+
const c = jr.parse(i);
|
|
4310
4310
|
if (c) return c;
|
|
4311
4311
|
}
|
|
4312
4312
|
throw new mr(`Could not parse numberArray from value '${typeof i == "string" ? i : JSON.stringify(i)}'`);
|
|
@@ -4381,7 +4381,7 @@ function Nx() {
|
|
|
4381
4381
|
}
|
|
4382
4382
|
}
|
|
4383
4383
|
class ao {
|
|
4384
|
-
constructor(t, i, o = [], c, d = new
|
|
4384
|
+
constructor(t, i, o = [], c, d = new Qt(), m = []) {
|
|
4385
4385
|
this.registry = t, this.path = o, this.key = o.map((_) => `[${_}]`).join(""), this.scope = d, this.errors = m, this.expectedType = c, this._isConstant = i;
|
|
4386
4386
|
}
|
|
4387
4387
|
parse(t, i, o, c, d = {}) {
|
|
@@ -4795,7 +4795,7 @@ function Nx() {
|
|
|
4795
4795
|
if (!W) return null;
|
|
4796
4796
|
w = w || W.type, _.push([R, W]);
|
|
4797
4797
|
}
|
|
4798
|
-
return Tn(w, Ne) || Tn(w, Lr) || Tn(w, Mr) || Tn(w, es) || Tn(w, kn) || Tn(w, eo) || Tn(w,
|
|
4798
|
+
return Tn(w, Ne) || Tn(w, Lr) || Tn(w, Mr) || Tn(w, es) || Tn(w, kn) || Tn(w, eo) || Tn(w, Ur) || Tn(w, Ni(Ne)) ? new bi(w, o, c, d, _) : i.error(`Type ${br(w)} is not interpolatable.`);
|
|
4799
4799
|
}
|
|
4800
4800
|
evaluate(t) {
|
|
4801
4801
|
const i = this.labels, o = this.outputs;
|
|
@@ -4817,7 +4817,7 @@ function Nx() {
|
|
|
4817
4817
|
case "colorArray":
|
|
4818
4818
|
return di.interpolate(w, C, _);
|
|
4819
4819
|
case "numberArray":
|
|
4820
|
-
return
|
|
4820
|
+
return jr.interpolate(w, C, _);
|
|
4821
4821
|
case "variableAnchorOffsetCollection":
|
|
4822
4822
|
return Ci.interpolate(w, C, _);
|
|
4823
4823
|
case "array":
|
|
@@ -4853,7 +4853,7 @@ function Nx() {
|
|
|
4853
4853
|
const c = o - i, d = n - i;
|
|
4854
4854
|
return c === 0 ? 0 : t === 1 ? d / c : (Math.pow(t, d) - 1) / (Math.pow(t, c) - 1);
|
|
4855
4855
|
}
|
|
4856
|
-
const vn = { color: Ht.interpolate, number: Ti, padding: pi.interpolate, numberArray:
|
|
4856
|
+
const vn = { color: Ht.interpolate, number: Ti, padding: pi.interpolate, numberArray: jr.interpolate, colorArray: di.interpolate, variableAnchorOffsetCollection: Ci.interpolate, array: ss };
|
|
4857
4857
|
class ls {
|
|
4858
4858
|
constructor(t, i) {
|
|
4859
4859
|
this.type = t, this.args = i;
|
|
@@ -5377,7 +5377,7 @@ function Nx() {
|
|
|
5377
5377
|
function Zc(n, t) {
|
|
5378
5378
|
return t[0] - n[0];
|
|
5379
5379
|
}
|
|
5380
|
-
function
|
|
5380
|
+
function Xt(n) {
|
|
5381
5381
|
return n[1] - n[0] + 1;
|
|
5382
5382
|
}
|
|
5383
5383
|
function Cn(n, t) {
|
|
@@ -5385,7 +5385,7 @@ function Nx() {
|
|
|
5385
5385
|
}
|
|
5386
5386
|
function gl(n, t) {
|
|
5387
5387
|
if (n[0] > n[1]) return [null, null];
|
|
5388
|
-
const i =
|
|
5388
|
+
const i = Xt(n);
|
|
5389
5389
|
if (t) {
|
|
5390
5390
|
if (i === 2) return [n, null];
|
|
5391
5391
|
const c = Math.floor(i / 2);
|
|
@@ -5505,7 +5505,7 @@ function Nx() {
|
|
|
5505
5505
|
const w = m.pop();
|
|
5506
5506
|
if (w[0] >= d) continue;
|
|
5507
5507
|
const C = w[1], R = t ? 50 : 100;
|
|
5508
|
-
if (
|
|
5508
|
+
if (Xt(C) <= R) {
|
|
5509
5509
|
if (!Cn(C, n.length)) return NaN;
|
|
5510
5510
|
if (t) {
|
|
5511
5511
|
const B = Yh(n, C, i, o);
|
|
@@ -5530,7 +5530,7 @@ function Nx() {
|
|
|
5530
5530
|
const w = _.pop();
|
|
5531
5531
|
if (w[0] >= m) continue;
|
|
5532
5532
|
const C = w[1], R = w[2], B = t ? 50 : 100, q = o ? 50 : 100;
|
|
5533
|
-
if (
|
|
5533
|
+
if (Xt(C) <= B && Xt(R) <= q) {
|
|
5534
5534
|
if (!Cn(C, n.length) && Cn(R, i.length)) return NaN;
|
|
5535
5535
|
let N;
|
|
5536
5536
|
if (t && o) N = Jh(n, C, i, R, c), m = Math.min(m, N);
|
|
@@ -5794,14 +5794,14 @@ function Nx() {
|
|
|
5794
5794
|
case "padding":
|
|
5795
5795
|
return pi.parse;
|
|
5796
5796
|
case "numberArray":
|
|
5797
|
-
return
|
|
5797
|
+
return jr.parse;
|
|
5798
5798
|
case "colorArray":
|
|
5799
5799
|
return di.parse;
|
|
5800
5800
|
default:
|
|
5801
5801
|
return null;
|
|
5802
5802
|
}
|
|
5803
5803
|
}(t);
|
|
5804
|
-
if (d && ((n =
|
|
5804
|
+
if (d && ((n = er({}, n)).stops && (n.stops = n.stops.map((R) => [R[0], d(R[1])])), n.default = d(n.default ? n.default : t.default)), n.colorSpace && (m = n.colorSpace) !== "rgb" && m !== "hcl" && m !== "lab") throw new Error(`Unknown color space: "${n.colorSpace}"`);
|
|
5805
5805
|
var m;
|
|
5806
5806
|
const _ = function(R) {
|
|
5807
5807
|
switch (R) {
|
|
@@ -5890,7 +5890,7 @@ function Nx() {
|
|
|
5890
5890
|
i = di.parse(i);
|
|
5891
5891
|
break;
|
|
5892
5892
|
case "numberArray":
|
|
5893
|
-
i =
|
|
5893
|
+
i = jr.parse(i);
|
|
5894
5894
|
break;
|
|
5895
5895
|
default:
|
|
5896
5896
|
Vt(i) === t.type || t.type === "enum" && t.values[i] || (i = void 0);
|
|
@@ -5964,7 +5964,7 @@ function Nx() {
|
|
|
5964
5964
|
case "padding":
|
|
5965
5965
|
return pi.parse(o.default) || null;
|
|
5966
5966
|
case "numberArray":
|
|
5967
|
-
return
|
|
5967
|
+
return jr.parse(o.default) || null;
|
|
5968
5968
|
case "colorArray":
|
|
5969
5969
|
return di.parse(o.default) || null;
|
|
5970
5970
|
case "variableAnchorOffsetCollection":
|
|
@@ -5996,7 +5996,7 @@ function Nx() {
|
|
|
5996
5996
|
}
|
|
5997
5997
|
function va(n, t) {
|
|
5998
5998
|
const i = new ao(zs, ha, [], t ? function(c) {
|
|
5999
|
-
const d = { color: Mr, string: vt, number: Ne, enum: vt, boolean: Lt, formatted: $s, padding: es, numberArray: kn, colorArray: eo, projectionDefinition: Lr, resolvedImage: ts, variableAnchorOffsetCollection:
|
|
5999
|
+
const d = { color: Mr, string: vt, number: Ne, enum: vt, boolean: Lt, formatted: $s, padding: es, numberArray: kn, colorArray: eo, projectionDefinition: Lr, resolvedImage: ts, variableAnchorOffsetCollection: Ur };
|
|
6000
6000
|
return c.type === "array" ? Ni(d[c.value] || zt, c.length) : d[c.type];
|
|
6001
6001
|
}(t) : void 0), o = i.parse(n, void 0, void 0, void 0, t && t.type === "string" ? { typeAnnotation: "coerce" } : void 0);
|
|
6002
6002
|
return o ? fa(new _a(o, t)) : Ds(i.errors);
|
|
@@ -6038,7 +6038,7 @@ function Nx() {
|
|
|
6038
6038
|
}
|
|
6039
6039
|
class xo {
|
|
6040
6040
|
constructor(t, i) {
|
|
6041
|
-
this._parameters = t, this._specification = i,
|
|
6041
|
+
this._parameters = t, this._specification = i, er(this, Sl(this._parameters, this._specification));
|
|
6042
6042
|
}
|
|
6043
6043
|
static deserialize(t) {
|
|
6044
6044
|
return new xo(t._parameters, t._specification);
|
|
@@ -6276,7 +6276,7 @@ function Nx() {
|
|
|
6276
6276
|
return Array.isArray(o.values) ? o.values.indexOf(qr(i)) === -1 && c.push(new Oe(t, i, `expected one of [${o.values.join(", ")}], ${JSON.stringify(i)} found`)) : Object.keys(o.values).indexOf(qr(i)) === -1 && c.push(new Oe(t, i, `expected one of [${Object.keys(o.values).join(", ")}], ${JSON.stringify(i)} found`)), c;
|
|
6277
6277
|
}
|
|
6278
6278
|
function Ml(n) {
|
|
6279
|
-
return wo(Un(n.value)) ? bn(
|
|
6279
|
+
return wo(Un(n.value)) ? bn(er({}, n, { expressionContext: "filter", valueSpec: { value: "boolean" } })) : nu(n);
|
|
6280
6280
|
}
|
|
6281
6281
|
function nu(n) {
|
|
6282
6282
|
const t = n.value, i = n.key;
|
|
@@ -6353,7 +6353,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
6353
6353
|
const w = c.sources && c.sources[i.source], C = w && qr(w.type);
|
|
6354
6354
|
w ? C === "vector" && m === "raster" ? t.push(new Oe(o, i.source, `layer "${i.id}" requires a raster source`)) : C !== "raster-dem" && m === "hillshade" ? t.push(new Oe(o, i.source, `layer "${i.id}" requires a raster-dem source`)) : C === "raster" && m !== "raster" ? t.push(new Oe(o, i.source, `layer "${i.id}" requires a vector source`)) : C !== "vector" || i["source-layer"] ? C === "raster-dem" && m !== "hillshade" ? t.push(new Oe(o, i.source, "raster-dem source can only be used with layer type 'hillshade'.")) : m !== "line" || !i.paint || !i.paint["line-gradient"] || C === "geojson" && w.lineMetrics || t.push(new Oe(o, i, `layer "${i.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)) : t.push(new Oe(o, i, `layer "${i.id}" must specify a "source-layer"`)) : t.push(new Oe(o, i.source, `source "${i.source}" not found`));
|
|
6355
6355
|
} else t.push(new Oe(o, i, 'missing required property "source"'));
|
|
6356
|
-
return t = t.concat(Hi({ key: o, value: i, valueSpec: d.layer, style: n.style, styleSpec: n.styleSpec, validateSpec: n.validateSpec, objectElementValidators: { "*": () => [], type: () => n.validateSpec({ key: `${o}.type`, value: i.type, valueSpec: d.layer.type, style: n.style, styleSpec: n.styleSpec, validateSpec: n.validateSpec, object: i, objectKey: "type" }), filter: Ml, layout: (w) => Hi({ layer: i, key: w.key, value: w.value, style: w.style, styleSpec: w.styleSpec, validateSpec: w.validateSpec, objectElementValidators: { "*": (C) => Os(
|
|
6356
|
+
return t = t.concat(Hi({ key: o, value: i, valueSpec: d.layer, style: n.style, styleSpec: n.styleSpec, validateSpec: n.validateSpec, objectElementValidators: { "*": () => [], type: () => n.validateSpec({ key: `${o}.type`, value: i.type, valueSpec: d.layer.type, style: n.style, styleSpec: n.styleSpec, validateSpec: n.validateSpec, object: i, objectKey: "type" }), filter: Ml, layout: (w) => Hi({ layer: i, key: w.key, value: w.value, style: w.style, styleSpec: w.styleSpec, validateSpec: w.validateSpec, objectElementValidators: { "*": (C) => Os(er({ layerType: m }, C)) } }), paint: (w) => Hi({ layer: i, key: w.key, value: w.value, style: w.style, styleSpec: w.styleSpec, validateSpec: w.validateSpec, objectElementValidators: { "*": (C) => ou(er({ layerType: m }, C)) } }) } })), t;
|
|
6357
6357
|
}
|
|
6358
6358
|
function Xr(n) {
|
|
6359
6359
|
const t = n.value, i = n.key, o = Vt(t);
|
|
@@ -6509,7 +6509,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
6509
6509
|
}, sprite: Rl, state: ka };
|
|
6510
6510
|
function Us(n) {
|
|
6511
6511
|
const t = n.value, i = n.valueSpec, o = n.styleSpec;
|
|
6512
|
-
return n.validateSpec = Us, i.expression && ga(qr(t)) ? Il(n) : i.expression && vo(Un(t)) ? bn(n) : i.type && cu[i.type] ? cu[i.type](n) : Hi(
|
|
6512
|
+
return n.validateSpec = Us, i.expression && ga(qr(t)) ? Il(n) : i.expression && vo(Un(t)) ? bn(n) : i.type && cu[i.type] ? cu[i.type](n) : Hi(er({}, n, { valueSpec: i.type ? o[i.type] : i }));
|
|
6513
6513
|
}
|
|
6514
6514
|
function uu(n) {
|
|
6515
6515
|
const t = n.value, i = n.key, o = Xr(n);
|
|
@@ -6807,7 +6807,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
6807
6807
|
}
|
|
6808
6808
|
{
|
|
6809
6809
|
let d = o;
|
|
6810
|
-
return c.type === "color" && typeof o == "string" ? d = Ht.parse(o) : c.type !== "padding" || typeof o != "number" && !Array.isArray(o) ? c.type !== "numberArray" || typeof o != "number" && !Array.isArray(o) ? c.type !== "colorArray" || typeof o != "string" && !Array.isArray(o) ? c.type === "variableAnchorOffsetCollection" && Array.isArray(o) ? d = Ci.parse(o) : c.type === "projectionDefinition" && typeof o == "string" && (d = Bi.parse(o)) : d = di.parse(o) : d =
|
|
6810
|
+
return c.type === "color" && typeof o == "string" ? d = Ht.parse(o) : c.type !== "padding" || typeof o != "number" && !Array.isArray(o) ? c.type !== "numberArray" || typeof o != "number" && !Array.isArray(o) ? c.type !== "colorArray" || typeof o != "string" && !Array.isArray(o) ? c.type === "variableAnchorOffsetCollection" && Array.isArray(o) ? d = Ci.parse(o) : c.type === "projectionDefinition" && typeof o == "string" && (d = Bi.parse(o)) : d = di.parse(o) : d = jr.parse(o) : d = pi.parse(o), { kind: "constant", evaluate: () => d };
|
|
6811
6811
|
}
|
|
6812
6812
|
}(i === void 0 ? t.specification.default : i, t.specification);
|
|
6813
6813
|
}
|
|
@@ -7039,7 +7039,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
7039
7039
|
return !1;
|
|
7040
7040
|
}
|
|
7041
7041
|
}
|
|
7042
|
-
class
|
|
7042
|
+
class Hr {
|
|
7043
7043
|
constructor(t) {
|
|
7044
7044
|
this.properties = t, this.defaultPropertyValues = {}, this.defaultTransitionablePropertyValues = {}, this.defaultTransitioningPropertyValues = {}, this.defaultPossiblyEvaluatedValues = {}, this.overridableProperties = [];
|
|
7045
7045
|
for (const i in t) {
|
|
@@ -7102,7 +7102,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
7102
7102
|
}
|
|
7103
7103
|
serialize() {
|
|
7104
7104
|
const t = { id: this.id, type: this.type, source: this.source, "source-layer": this.sourceLayer, metadata: this.metadata, minzoom: this.minzoom, maxzoom: this.maxzoom, filter: this.filter, layout: this._unevaluatedLayout && this._unevaluatedLayout.serialize(), paint: this._transitionablePaint && this._transitionablePaint.serialize() };
|
|
7105
|
-
return this.visibility && (t.layout = t.layout || {}, t.layout.visibility = this.visibility),
|
|
7105
|
+
return this.visibility && (t.layout = t.layout || {}, t.layout.visibility = this.visibility), kt(t, (i, o) => !(i === void 0 || o === "layout" && !Object.keys(i).length || o === "paint" && !Object.keys(i).length));
|
|
7106
7106
|
}
|
|
7107
7107
|
_validate(t, i, o, c, d = {}) {
|
|
7108
7108
|
return (!d || d.validate !== !1) && Dl(this, t.call(Ns, { key: i, layerType: this.type, objectKey: o, value: c, styleSpec: te, style: { glyphs: !0, sprite: !0 } }));
|
|
@@ -7774,18 +7774,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
7774
7774
|
}
|
|
7775
7775
|
class pr extends g {
|
|
7776
7776
|
}
|
|
7777
|
-
class
|
|
7777
|
+
class Yt extends b {
|
|
7778
7778
|
}
|
|
7779
7779
|
class Qr extends H {
|
|
7780
7780
|
}
|
|
7781
7781
|
const si = kr([{ name: "a_pos", components: 2, type: "Int16" }], 4), { members: fi } = si;
|
|
7782
|
-
class
|
|
7782
|
+
class $t {
|
|
7783
7783
|
constructor(t = []) {
|
|
7784
7784
|
this._forceNewSegmentOnNextPrepare = !1, this.segments = t;
|
|
7785
7785
|
}
|
|
7786
7786
|
prepareSegment(t, i, o, c) {
|
|
7787
7787
|
const d = this.segments[this.segments.length - 1];
|
|
7788
|
-
return t >
|
|
7788
|
+
return t > $t.MAX_VERTEX_ARRAY_LENGTH && Et(`Max vertices per segment is ${$t.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${t}. Consider using the \`fillLargeMeshArrays\` function if you require meshes with more than ${$t.MAX_VERTEX_ARRAY_LENGTH} vertices.`), this._forceNewSegmentOnNextPrepare || !d || d.vertexLength + t > $t.MAX_VERTEX_ARRAY_LENGTH || d.sortKey !== c ? this.createNewSegment(i, o, c) : d;
|
|
7789
7789
|
}
|
|
7790
7790
|
createNewSegment(t, i, o) {
|
|
7791
7791
|
const c = { vertexOffset: t.length, primitiveOffset: i.length, vertexLength: 0, primitiveLength: 0, vaos: {} };
|
|
@@ -7804,13 +7804,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
7804
7804
|
for (const t of this.segments) for (const i in t.vaos) t.vaos[i].destroy();
|
|
7805
7805
|
}
|
|
7806
7806
|
static simpleSegment(t, i, o, c) {
|
|
7807
|
-
return new
|
|
7807
|
+
return new $t([{ vertexOffset: t, primitiveOffset: i, vertexLength: o, primitiveLength: c, vaos: {}, sortKey: 0 }]);
|
|
7808
7808
|
}
|
|
7809
7809
|
}
|
|
7810
7810
|
function jn(n, t) {
|
|
7811
7811
|
return 256 * (n = Qe(Math.floor(n), 0, 255)) + Qe(Math.floor(t), 0, 255);
|
|
7812
7812
|
}
|
|
7813
|
-
|
|
7813
|
+
$t.MAX_VERTEX_ARRAY_LENGTH = Math.pow(2, 16) - 1, ot("SegmentVector", $t);
|
|
7814
7814
|
const Sn = kr([{ name: "a_pattern_from", components: 4, type: "Uint16" }, { name: "a_pattern_to", components: 4, type: "Uint16" }, { name: "a_pixel_ratio_from", components: 1, type: "Uint16" }, { name: "a_pixel_ratio_to", components: 1, type: "Uint16" }]);
|
|
7815
7815
|
var Nn, gs, Ro, Wn = { exports: {} }, ys = { exports: {} }, Zi = { exports: {} }, Hn = function() {
|
|
7816
7816
|
if (Ro) return Wn.exports;
|
|
@@ -7846,11 +7846,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
7846
7846
|
this.ids = [], this.positions = [], this.indexed = !1;
|
|
7847
7847
|
}
|
|
7848
7848
|
add(t, i, o, c) {
|
|
7849
|
-
this.ids.push(
|
|
7849
|
+
this.ids.push(Zr(t)), this.positions.push(i, o, c);
|
|
7850
7850
|
}
|
|
7851
7851
|
getPositions(t) {
|
|
7852
7852
|
if (!this.indexed) throw new Error("Trying to get index, but feature positions are not indexed");
|
|
7853
|
-
const i =
|
|
7853
|
+
const i = Zr(t);
|
|
7854
7854
|
let o = 0, c = this.ids.length - 1;
|
|
7855
7855
|
for (; o < c; ) {
|
|
7856
7856
|
const m = o + c >> 1;
|
|
@@ -7862,18 +7862,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
7862
7862
|
}
|
|
7863
7863
|
static serialize(t, i) {
|
|
7864
7864
|
const o = new Float64Array(t.ids), c = new Uint32Array(t.positions);
|
|
7865
|
-
return
|
|
7865
|
+
return Kr(o, c, 0, o.length - 1), i && i.push(o.buffer, c.buffer), { ids: o, positions: c };
|
|
7866
7866
|
}
|
|
7867
7867
|
static deserialize(t) {
|
|
7868
7868
|
const i = new Zn();
|
|
7869
7869
|
return i.ids = t.ids, i.positions = t.positions, i.indexed = !0, i;
|
|
7870
7870
|
}
|
|
7871
7871
|
}
|
|
7872
|
-
function
|
|
7872
|
+
function Zr(n) {
|
|
7873
7873
|
const t = +n;
|
|
7874
7874
|
return !isNaN(t) && t <= Number.MAX_SAFE_INTEGER ? t : In(String(n));
|
|
7875
7875
|
}
|
|
7876
|
-
function
|
|
7876
|
+
function Kr(n, t, i, o) {
|
|
7877
7877
|
for (; i < o; ) {
|
|
7878
7878
|
const c = n[i + o >> 1];
|
|
7879
7879
|
let d = i - 1, m = o + 1;
|
|
@@ -7887,7 +7887,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
7887
7887
|
if (d >= m) break;
|
|
7888
7888
|
Ii(n, d, m), Ii(t, 3 * d, 3 * m), Ii(t, 3 * d + 1, 3 * m + 1), Ii(t, 3 * d + 2, 3 * m + 2);
|
|
7889
7889
|
}
|
|
7890
|
-
m - i < o - m ? (
|
|
7890
|
+
m - i < o - m ? (Kr(n, t, i, m), i = m + 1) : (Kr(n, t, m + 1, o), o = m);
|
|
7891
7891
|
}
|
|
7892
7892
|
}
|
|
7893
7893
|
function Ii(n, t, i) {
|
|
@@ -8199,7 +8199,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8199
8199
|
ot("ConstantBinder", zo), ot("CrossFadedConstantBinder", tn), ot("SourceExpressionBinder", An), ot("CrossFadedCompositeBinder", En), ot("CompositeExpressionBinder", rn), ot("ProgramConfiguration", Da, { omit: ["_buffers"] }), ot("ProgramConfigurationSet", Kn);
|
|
8200
8200
|
const up = Math.pow(2, 14) - 1, Ud = -up - 1;
|
|
8201
8201
|
function Do(n) {
|
|
8202
|
-
const t =
|
|
8202
|
+
const t = ir / n.extent, i = n.loadGeometry();
|
|
8203
8203
|
for (let o = 0; o < i.length; o++) {
|
|
8204
8204
|
const c = i[o];
|
|
8205
8205
|
for (let d = 0; d < c.length; d++) {
|
|
@@ -8218,7 +8218,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8218
8218
|
}
|
|
8219
8219
|
class hp {
|
|
8220
8220
|
constructor(t) {
|
|
8221
|
-
this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map((i) => i.id), this.index = t.index, this.hasPattern = !1, this.layoutVertexArray = new tt(), this.indexArray = new
|
|
8221
|
+
this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map((i) => i.id), this.index = t.index, this.hasPattern = !1, this.layoutVertexArray = new tt(), this.indexArray = new Yt(), this.segments = new $t(), this.programConfigurations = new Kn(t.layers, t.zoom), this.stateDependentLayerIds = this.layers.filter((i) => i.isStateDependent()).map((i) => i.id);
|
|
8222
8222
|
}
|
|
8223
8223
|
populate(t, i, o) {
|
|
8224
8224
|
const c = this.layers[0], d = [];
|
|
@@ -8276,7 +8276,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8276
8276
|
const _ = m.length;
|
|
8277
8277
|
for (const w of i) for (const C of w) {
|
|
8278
8278
|
const R = C.x, B = C.y;
|
|
8279
|
-
if (R < 0 || R >=
|
|
8279
|
+
if (R < 0 || R >= ir || B < 0 || B >= ir) continue;
|
|
8280
8280
|
const q = this.segments.prepareSegment(_ * _, this.layoutVertexArray, this.indexArray, t.sortKey), N = q.vertexLength;
|
|
8281
8281
|
for (let W = 0; W < _; W++) for (let J = 0; J < _; J++) Vy(this.layoutVertexArray, R, B, m[J], m[W]);
|
|
8282
8282
|
for (let W = 0; W < _ - 1; W++) for (let J = 0; J < _ - 1; J++) {
|
|
@@ -8373,9 +8373,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8373
8373
|
let Kd, Gd;
|
|
8374
8374
|
ot("CircleBucket", hp, { omit: ["layers"] });
|
|
8375
8375
|
var Wy = { get paint() {
|
|
8376
|
-
return Gd = Gd || new
|
|
8376
|
+
return Gd = Gd || new Hr({ "circle-radius": new xt(te.paint_circle["circle-radius"]), "circle-color": new xt(te.paint_circle["circle-color"]), "circle-blur": new xt(te.paint_circle["circle-blur"]), "circle-opacity": new xt(te.paint_circle["circle-opacity"]), "circle-translate": new dt(te.paint_circle["circle-translate"]), "circle-translate-anchor": new dt(te.paint_circle["circle-translate-anchor"]), "circle-pitch-scale": new dt(te.paint_circle["circle-pitch-scale"]), "circle-pitch-alignment": new dt(te.paint_circle["circle-pitch-alignment"]), "circle-stroke-width": new xt(te.paint_circle["circle-stroke-width"]), "circle-stroke-color": new xt(te.paint_circle["circle-stroke-color"]), "circle-stroke-opacity": new xt(te.paint_circle["circle-stroke-opacity"]) });
|
|
8377
8377
|
}, get layout() {
|
|
8378
|
-
return Kd = Kd || new
|
|
8378
|
+
return Kd = Kd || new Hr({ "circle-sort-key": new xt(te.layout_circle["circle-sort-key"]) });
|
|
8379
8379
|
} };
|
|
8380
8380
|
class Hy extends en {
|
|
8381
8381
|
constructor(t) {
|
|
@@ -8410,7 +8410,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8410
8410
|
let Qd;
|
|
8411
8411
|
ot("HeatmapBucket", Xd, { omit: ["layers"] });
|
|
8412
8412
|
var Zy = { get paint() {
|
|
8413
|
-
return Qd = Qd || new
|
|
8413
|
+
return Qd = Qd || new Hr({ "heatmap-radius": new xt(te.paint_heatmap["heatmap-radius"]), "heatmap-weight": new xt(te.paint_heatmap["heatmap-weight"]), "heatmap-intensity": new dt(te.paint_heatmap["heatmap-intensity"]), "heatmap-color": new Ul(te.paint_heatmap["heatmap-color"]), "heatmap-opacity": new dt(te.paint_heatmap["heatmap-opacity"]) });
|
|
8414
8414
|
} };
|
|
8415
8415
|
function fp(n, { width: t, height: i }, o, c) {
|
|
8416
8416
|
if (c) {
|
|
@@ -8512,7 +8512,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8512
8512
|
}
|
|
8513
8513
|
let ef;
|
|
8514
8514
|
var Gy = { get paint() {
|
|
8515
|
-
return ef = ef || new
|
|
8515
|
+
return ef = ef || new Hr({ "hillshade-illumination-direction": new dt(te.paint_hillshade["hillshade-illumination-direction"]), "hillshade-illumination-altitude": new dt(te.paint_hillshade["hillshade-illumination-altitude"]), "hillshade-illumination-anchor": new dt(te.paint_hillshade["hillshade-illumination-anchor"]), "hillshade-exaggeration": new dt(te.paint_hillshade["hillshade-exaggeration"]), "hillshade-shadow-color": new dt(te.paint_hillshade["hillshade-shadow-color"]), "hillshade-highlight-color": new dt(te.paint_hillshade["hillshade-highlight-color"]), "hillshade-accent-color": new dt(te.paint_hillshade["hillshade-accent-color"]), "hillshade-method": new dt(te.paint_hillshade["hillshade-method"]) });
|
|
8516
8516
|
} };
|
|
8517
8517
|
class Jy extends en {
|
|
8518
8518
|
constructor(t) {
|
|
@@ -8522,8 +8522,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8522
8522
|
let t = this.paint.get("hillshade-illumination-direction").values, i = this.paint.get("hillshade-illumination-altitude").values, o = this.paint.get("hillshade-highlight-color").values, c = this.paint.get("hillshade-shadow-color").values;
|
|
8523
8523
|
const d = Math.max(t.length, i.length, o.length, c.length);
|
|
8524
8524
|
t = t.concat(Array(d - t.length).fill(t.at(-1))), i = i.concat(Array(d - i.length).fill(i.at(-1))), o = o.concat(Array(d - o.length).fill(o.at(-1))), c = c.concat(Array(d - c.length).fill(c.at(-1)));
|
|
8525
|
-
const m = i.map(
|
|
8526
|
-
return { directionRadians: t.map(
|
|
8525
|
+
const m = i.map(At);
|
|
8526
|
+
return { directionRadians: t.map(At), altitudeRadians: m, shadowColor: c, highlightColor: o };
|
|
8527
8527
|
}
|
|
8528
8528
|
hasOffscreenPass() {
|
|
8529
8529
|
return this.paint.get("hillshade-exaggeration") !== 0 && this.visibility !== "none";
|
|
@@ -8567,7 +8567,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8567
8567
|
t || (t = n);
|
|
8568
8568
|
let i, o = n;
|
|
8569
8569
|
do
|
|
8570
|
-
if (i = !1, o.steiner || !Ba(o, o.next) &&
|
|
8570
|
+
if (i = !1, o.steiner || !Ba(o, o.next) && Nr(o.prev, o, o.next) !== 0) o = o.next;
|
|
8571
8571
|
else {
|
|
8572
8572
|
if ($l(o), o = t = o.prev, o === o.next) break;
|
|
8573
8573
|
i = !0;
|
|
@@ -8612,30 +8612,30 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8612
8612
|
}
|
|
8613
8613
|
function Yy(n) {
|
|
8614
8614
|
const t = n.prev, i = n, o = n.next;
|
|
8615
|
-
if (
|
|
8615
|
+
if (Nr(t, i, o) >= 0) return !1;
|
|
8616
8616
|
const c = t.x, d = i.x, m = o.x, _ = t.y, w = i.y, C = o.y, R = Math.min(c, d, m), B = Math.min(_, w, C), q = Math.max(c, d, m), N = Math.max(_, w, C);
|
|
8617
8617
|
let W = o.next;
|
|
8618
8618
|
for (; W !== t; ) {
|
|
8619
|
-
if (W.x >= R && W.x <= q && W.y >= B && W.y <= N && Ql(c, _, d, w, m, C, W.x, W.y) &&
|
|
8619
|
+
if (W.x >= R && W.x <= q && W.y >= B && W.y <= N && Ql(c, _, d, w, m, C, W.x, W.y) && Nr(W.prev, W, W.next) >= 0) return !1;
|
|
8620
8620
|
W = W.next;
|
|
8621
8621
|
}
|
|
8622
8622
|
return !0;
|
|
8623
8623
|
}
|
|
8624
8624
|
function $y(n, t, i, o) {
|
|
8625
8625
|
const c = n.prev, d = n, m = n.next;
|
|
8626
|
-
if (
|
|
8626
|
+
if (Nr(c, d, m) >= 0) return !1;
|
|
8627
8627
|
const _ = c.x, w = d.x, C = m.x, R = c.y, B = d.y, q = m.y, N = Math.min(_, w, C), W = Math.min(R, B, q), J = Math.max(_, w, C), ee = Math.max(R, B, q), le = vp(N, W, t, i, o), ve = vp(J, ee, t, i, o);
|
|
8628
8628
|
let ue = n.prevZ, U = n.nextZ;
|
|
8629
8629
|
for (; ue && ue.z >= le && U && U.z <= ve; ) {
|
|
8630
|
-
if (ue.x >= N && ue.x <= J && ue.y >= W && ue.y <= ee && ue !== c && ue !== m && Ql(_, R, w, B, C, q, ue.x, ue.y) &&
|
|
8630
|
+
if (ue.x >= N && ue.x <= J && ue.y >= W && ue.y <= ee && ue !== c && ue !== m && Ql(_, R, w, B, C, q, ue.x, ue.y) && Nr(ue.prev, ue, ue.next) >= 0 || (ue = ue.prevZ, U.x >= N && U.x <= J && U.y >= W && U.y <= ee && U !== c && U !== m && Ql(_, R, w, B, C, q, U.x, U.y) && Nr(U.prev, U, U.next) >= 0)) return !1;
|
|
8631
8631
|
U = U.nextZ;
|
|
8632
8632
|
}
|
|
8633
8633
|
for (; ue && ue.z >= le; ) {
|
|
8634
|
-
if (ue.x >= N && ue.x <= J && ue.y >= W && ue.y <= ee && ue !== c && ue !== m && Ql(_, R, w, B, C, q, ue.x, ue.y) &&
|
|
8634
|
+
if (ue.x >= N && ue.x <= J && ue.y >= W && ue.y <= ee && ue !== c && ue !== m && Ql(_, R, w, B, C, q, ue.x, ue.y) && Nr(ue.prev, ue, ue.next) >= 0) return !1;
|
|
8635
8635
|
ue = ue.prevZ;
|
|
8636
8636
|
}
|
|
8637
8637
|
for (; U && U.z <= ve; ) {
|
|
8638
|
-
if (U.x >= N && U.x <= J && U.y >= W && U.y <= ee && U !== c && U !== m && Ql(_, R, w, B, C, q, U.x, U.y) &&
|
|
8638
|
+
if (U.x >= N && U.x <= J && U.y >= W && U.y <= ee && U !== c && U !== m && Ql(_, R, w, B, C, q, U.x, U.y) && Nr(U.prev, U, U.next) >= 0) return !1;
|
|
8639
8639
|
U = U.nextZ;
|
|
8640
8640
|
}
|
|
8641
8641
|
return !0;
|
|
@@ -8698,7 +8698,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8698
8698
|
return Fo(o, o.next), Fo(i, i.next);
|
|
8699
8699
|
}
|
|
8700
8700
|
function n_(n, t) {
|
|
8701
|
-
return
|
|
8701
|
+
return Nr(n.prev, n, t.prev) < 0 && Nr(t.next, n, n.next) < 0;
|
|
8702
8702
|
}
|
|
8703
8703
|
function vp(n, t, i, o, c) {
|
|
8704
8704
|
return (n = 1431655765 & ((n = 858993459 & ((n = 252645135 & ((n = 16711935 & ((n = (n - i) * c | 0) | n << 8)) | n << 4)) | n << 2)) | n << 1)) | (t = 1431655765 & ((t = 858993459 & ((t = 252645135 & ((t = 16711935 & ((t = (t - o) * c | 0) | t << 8)) | t << 4)) | t << 2)) | t << 1)) << 1;
|
|
@@ -8731,16 +8731,16 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8731
8731
|
c.y > _ != c.next.y > _ && c.next.y !== c.y && m < (c.next.x - c.x) * (_ - c.y) / (c.next.y - c.y) + c.x && (d = !d), c = c.next;
|
|
8732
8732
|
while (c !== i);
|
|
8733
8733
|
return d;
|
|
8734
|
-
}(n, t) && (
|
|
8734
|
+
}(n, t) && (Nr(n.prev, n, t.prev) || Nr(n, t.prev, t)) || Ba(n, t) && Nr(n.prev, n, n.next) > 0 && Nr(t.prev, t, t.next) > 0);
|
|
8735
8735
|
}
|
|
8736
|
-
function
|
|
8736
|
+
function Nr(n, t, i) {
|
|
8737
8737
|
return (t.y - n.y) * (i.x - t.x) - (t.x - n.x) * (i.y - t.y);
|
|
8738
8738
|
}
|
|
8739
8739
|
function Ba(n, t) {
|
|
8740
8740
|
return n.x === t.x && n.y === t.y;
|
|
8741
8741
|
}
|
|
8742
8742
|
function nf(n, t, i, o) {
|
|
8743
|
-
const c = Su(
|
|
8743
|
+
const c = Su(Nr(n, t, i)), d = Su(Nr(n, t, o)), m = Su(Nr(i, o, n)), _ = Su(Nr(i, o, t));
|
|
8744
8744
|
return c !== d && m !== _ || !(c !== 0 || !wu(n, i, t)) || !(d !== 0 || !wu(n, o, t)) || !(m !== 0 || !wu(i, n, o)) || !(_ !== 0 || !wu(i, t, o));
|
|
8745
8745
|
}
|
|
8746
8746
|
function wu(n, t, i) {
|
|
@@ -8750,7 +8750,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8750
8750
|
return n > 0 ? 1 : n < 0 ? -1 : 0;
|
|
8751
8751
|
}
|
|
8752
8752
|
function Yl(n, t) {
|
|
8753
|
-
return
|
|
8753
|
+
return Nr(n.prev, n, n.next) < 0 ? Nr(n, t, n.next) >= 0 && Nr(n, n.prev, t) >= 0 : Nr(n, t, n.prev) < 0 || Nr(n, n.next, t) < 0;
|
|
8754
8754
|
}
|
|
8755
8755
|
function sf(n, t) {
|
|
8756
8756
|
const i = xp(n.i, n.x, n.y), o = xp(t.i, t.x, t.y), c = n.next, d = t.prev;
|
|
@@ -8784,7 +8784,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8784
8784
|
const Fa = -32768, ec = 32767;
|
|
8785
8785
|
class a_ {
|
|
8786
8786
|
constructor(t, i) {
|
|
8787
|
-
this._vertexBuffer = [], this._vertexDictionary = /* @__PURE__ */ new Map(), this._used = !1, this._granularity = t, this._granularityCellSize =
|
|
8787
|
+
this._vertexBuffer = [], this._vertexDictionary = /* @__PURE__ */ new Map(), this._used = !1, this._granularity = t, this._granularityCellSize = ir / t, this._canonical = i;
|
|
8788
8788
|
}
|
|
8789
8789
|
_getKey(t, i) {
|
|
8790
8790
|
return (t += 32768) << 16 | (i += 32768) << 0;
|
|
@@ -8885,7 +8885,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8885
8885
|
c > d != (m === Fa) ? (t.push(i), t.push(o), t.push(this._vertexToIndex(c, m)), t.push(o), t.push(this._vertexToIndex(d, m)), t.push(this._vertexToIndex(c, m))) : (t.push(o), t.push(i), t.push(this._vertexToIndex(c, m)), t.push(this._vertexToIndex(d, m)), t.push(o), t.push(this._vertexToIndex(c, m)));
|
|
8886
8886
|
}
|
|
8887
8887
|
_fillPoles(t, i, o) {
|
|
8888
|
-
const c = this._vertexBuffer, d =
|
|
8888
|
+
const c = this._vertexBuffer, d = ir, m = t.length;
|
|
8889
8889
|
for (let _ = 2; _ < m; _ += 3) {
|
|
8890
8890
|
const w = t[_ - 2], C = t[_ - 1], R = t[_], B = c[2 * w], q = c[2 * w + 1], N = c[2 * C], W = c[2 * C + 1], J = c[2 * R], ee = c[2 * R + 1];
|
|
8891
8891
|
i && (q === 0 && W === 0 && this._generatePoleQuad(t, w, C, B, N, Fa), W === 0 && ee === 0 && this._generatePoleQuad(t, C, R, N, J, Fa), ee === 0 && q === 0 && this._generatePoleQuad(t, R, w, J, B, Fa)), o && (q === d && W === d && this._generatePoleQuad(t, w, C, B, N, ec), W === d && ee === d && this._generatePoleQuad(t, C, R, N, J, ec), ee === d && q === d && this._generatePoleQuad(t, R, w, J, B, ec));
|
|
@@ -8963,7 +8963,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8963
8963
|
if (n.length < 2) return [];
|
|
8964
8964
|
const o = n[0], c = n[n.length - 1], d = i && (o.x !== c.x || o.y !== c.y);
|
|
8965
8965
|
if (t < 2) return d ? [...n, n[0]] : [...n];
|
|
8966
|
-
const m = Math.floor(
|
|
8966
|
+
const m = Math.floor(ir / t), _ = [];
|
|
8967
8967
|
_.push(new k(n[0].x, n[0].y));
|
|
8968
8968
|
const w = n.length, C = d ? w : w - 1;
|
|
8969
8969
|
for (let R = 0; R < C; R++) {
|
|
@@ -9019,7 +9019,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9019
9019
|
}
|
|
9020
9020
|
function lf(n, t, i, o, c, d, m, _, w) {
|
|
9021
9021
|
const C = c.length / 2, R = m && _ && w;
|
|
9022
|
-
if (C <
|
|
9022
|
+
if (C < $t.MAX_VERTEX_ARRAY_LENGTH) {
|
|
9023
9023
|
const B = t.prepareSegment(C, i, o), q = B.vertexLength;
|
|
9024
9024
|
for (let J = 0; J < d.length; J += 3) o.emplaceBack(q + d[J], q + d[J + 1], q + d[J + 2]);
|
|
9025
9025
|
let N, W;
|
|
@@ -9038,7 +9038,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9038
9038
|
for (let de = 2; de < J.length; de += 3) {
|
|
9039
9039
|
const Ee = J[de - 2], He = J[de - 1], Re = J[de];
|
|
9040
9040
|
let Fe = le[Ee] < ue, Je = le[He] < ue, Ze = le[Re] < ue;
|
|
9041
|
-
U.vertexLength + ((Fe ? 1 : 0) + (Je ? 1 : 0) + (Ze ? 1 : 0)) >
|
|
9041
|
+
U.vertexLength + ((Fe ? 1 : 0) + (Je ? 1 : 0) + (Ze ? 1 : 0)) > $t.MAX_VERTEX_ARRAY_LENGTH && (U = B.createNewSegment(q, N), ue = ve.count, Fe = !0, Je = !0, Ze = !0, Y = 0);
|
|
9042
9042
|
const Xe = tc(le, W, ee, ve, Ee, Fe, U), Ue = tc(le, W, ee, ve, He, Je, U), lt = tc(le, W, ee, ve, Re, Ze, U);
|
|
9043
9043
|
N.emplaceBack(Y + Xe - ue, Y + Ue - ue, Y + lt - ue), U.primitiveLength++;
|
|
9044
9044
|
}
|
|
@@ -9052,7 +9052,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9052
9052
|
for (let He = 1; He < J[de].length; He += 2) {
|
|
9053
9053
|
const Re = Ee[He - 1], Fe = Ee[He];
|
|
9054
9054
|
let Je = le[Re] < ue, Ze = le[Fe] < ue;
|
|
9055
|
-
U.vertexLength + ((Je ? 1 : 0) + (Ze ? 1 : 0)) >
|
|
9055
|
+
U.vertexLength + ((Je ? 1 : 0) + (Ze ? 1 : 0)) > $t.MAX_VERTEX_ARRAY_LENGTH && (U = B.createNewSegment(q, N), ue = ve.count, Je = !0, Ze = !0, Y = 0);
|
|
9056
9056
|
const Xe = tc(le, W, ee, ve, Re, Je, U), Ue = tc(le, W, ee, ve, Fe, Ze, U);
|
|
9057
9057
|
N.emplaceBack(Y + Xe - ue, Y + Ue - ue), U.primitiveLength++;
|
|
9058
9058
|
}
|
|
@@ -9068,7 +9068,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9068
9068
|
}
|
|
9069
9069
|
class bp {
|
|
9070
9070
|
constructor(t) {
|
|
9071
|
-
this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map((i) => i.id), this.index = t.index, this.hasPattern = !1, this.patternFeatures = [], this.layoutVertexArray = new $e(), this.indexArray = new
|
|
9071
|
+
this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map((i) => i.id), this.index = t.index, this.hasPattern = !1, this.patternFeatures = [], this.layoutVertexArray = new $e(), this.indexArray = new Yt(), this.indexArray2 = new Qr(), this.programConfigurations = new Kn(t.layers, t.zoom), this.segments = new $t(), this.segments2 = new $t(), this.stateDependentLayerIds = this.layers.filter((i) => i.isStateDependent()).map((i) => i.id);
|
|
9072
9072
|
}
|
|
9073
9073
|
populate(t, i, o) {
|
|
9074
9074
|
this.hasPattern = yp("fill", this.layers, i);
|
|
@@ -9120,9 +9120,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9120
9120
|
let cf, uf;
|
|
9121
9121
|
ot("FillBucket", bp, { omit: ["layers", "patternFeatures"] });
|
|
9122
9122
|
var c_ = { get paint() {
|
|
9123
|
-
return uf = uf || new
|
|
9123
|
+
return uf = uf || new Hr({ "fill-antialias": new dt(te.paint_fill["fill-antialias"]), "fill-opacity": new xt(te.paint_fill["fill-opacity"]), "fill-color": new xt(te.paint_fill["fill-color"]), "fill-outline-color": new xt(te.paint_fill["fill-outline-color"]), "fill-translate": new dt(te.paint_fill["fill-translate"]), "fill-translate-anchor": new dt(te.paint_fill["fill-translate-anchor"]), "fill-pattern": new Eo(te.paint_fill["fill-pattern"]) });
|
|
9124
9124
|
}, get layout() {
|
|
9125
|
-
return cf = cf || new
|
|
9125
|
+
return cf = cf || new Hr({ "fill-sort-key": new xt(te.layout_fill["fill-sort-key"]) });
|
|
9126
9126
|
} };
|
|
9127
9127
|
class u_ extends en {
|
|
9128
9128
|
constructor(t) {
|
|
@@ -9273,7 +9273,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9273
9273
|
}
|
|
9274
9274
|
class Tp {
|
|
9275
9275
|
constructor(t) {
|
|
9276
|
-
this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map((i) => i.id), this.index = t.index, this.hasPattern = !1, this.layoutVertexArray = new Ke(), this.centroidVertexArray = new Be(), this.indexArray = new
|
|
9276
|
+
this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map((i) => i.id), this.index = t.index, this.hasPattern = !1, this.layoutVertexArray = new Ke(), this.centroidVertexArray = new Be(), this.indexArray = new Yt(), this.programConfigurations = new Kn(t.layers, t.zoom), this.segments = new $t(), this.stateDependentLayerIds = this.layers.filter((i) => i.isStateDependent()).map((i) => i.id);
|
|
9277
9277
|
}
|
|
9278
9278
|
populate(t, i, o) {
|
|
9279
9279
|
this.features = [], this.hasPattern = yp("fill-extrusion", this.layers, i);
|
|
@@ -9334,7 +9334,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9334
9334
|
for (let c = 1; c < t.length; c++) {
|
|
9335
9335
|
const d = t[c], m = t[c - 1];
|
|
9336
9336
|
if (g_(d, m)) continue;
|
|
9337
|
-
i.segment.vertexLength + 4 >
|
|
9337
|
+
i.segment.vertexLength + 4 > $t.MAX_VERTEX_ARRAY_LENGTH && (i.segment = this.segments.prepareSegment(4, this.layoutVertexArray, this.indexArray));
|
|
9338
9338
|
const _ = d.sub(m)._perp()._unit(), w = m.dist(d);
|
|
9339
9339
|
o + w > 32768 && (o = 0), ic(this.layoutVertexArray, d.x, d.y, _.x, _.y, 0, 0, o), ic(this.layoutVertexArray, d.x, d.y, _.x, _.y, 0, 1, o), o += w, ic(this.layoutVertexArray, m.x, m.y, _.x, _.y, 0, 0, o), ic(this.layoutVertexArray, m.x, m.y, _.x, _.y, 0, 1, o);
|
|
9340
9340
|
const C = i.segment.vertexLength;
|
|
@@ -9349,15 +9349,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9349
9349
|
}
|
|
9350
9350
|
}
|
|
9351
9351
|
function g_(n, t) {
|
|
9352
|
-
return n.x === t.x && (n.x < 0 || n.x >
|
|
9352
|
+
return n.x === t.x && (n.x < 0 || n.x > ir) || n.y === t.y && (n.y < 0 || n.y > ir);
|
|
9353
9353
|
}
|
|
9354
9354
|
function _f(n) {
|
|
9355
|
-
return n.every((t) => t.x < 0) || n.every((t) => t.x >
|
|
9355
|
+
return n.every((t) => t.x < 0) || n.every((t) => t.x > ir) || n.every((t) => t.y < 0) || n.every((t) => t.y > ir);
|
|
9356
9356
|
}
|
|
9357
9357
|
let vf;
|
|
9358
9358
|
ot("FillExtrusionBucket", Tp, { omit: ["layers", "features"] });
|
|
9359
9359
|
var y_ = { get paint() {
|
|
9360
|
-
return vf = vf || new
|
|
9360
|
+
return vf = vf || new Hr({ "fill-extrusion-opacity": new dt(te["paint_fill-extrusion"]["fill-extrusion-opacity"]), "fill-extrusion-color": new xt(te["paint_fill-extrusion"]["fill-extrusion-color"]), "fill-extrusion-translate": new dt(te["paint_fill-extrusion"]["fill-extrusion-translate"]), "fill-extrusion-translate-anchor": new dt(te["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]), "fill-extrusion-pattern": new Eo(te["paint_fill-extrusion"]["fill-extrusion-pattern"]), "fill-extrusion-height": new xt(te["paint_fill-extrusion"]["fill-extrusion-height"]), "fill-extrusion-base": new xt(te["paint_fill-extrusion"]["fill-extrusion-base"]), "fill-extrusion-vertical-gradient": new dt(te["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"]) });
|
|
9361
9361
|
} };
|
|
9362
9362
|
class __ extends en {
|
|
9363
9363
|
constructor(t) {
|
|
@@ -9434,7 +9434,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9434
9434
|
constructor(t) {
|
|
9435
9435
|
this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map((i) => i.id), this.index = t.index, this.hasPattern = !1, this.patternFeatures = [], this.lineClipsArray = [], this.gradients = {}, this.layers.forEach((i) => {
|
|
9436
9436
|
this.gradients[i.id] = {};
|
|
9437
|
-
}), this.layoutVertexArray = new ht(), this.layoutVertexArray2 = new Bt(), this.indexArray = new
|
|
9437
|
+
}), this.layoutVertexArray = new ht(), this.layoutVertexArray2 = new Bt(), this.indexArray = new Yt(), this.programConfigurations = new Kn(t.layers, t.zoom), this.segments = new $t(), this.maxLineLength = 0, this.stateDependentLayerIds = this.layers.filter((i) => i.isStateDependent()).map((i) => i.id);
|
|
9438
9438
|
}
|
|
9439
9439
|
populate(t, i, o) {
|
|
9440
9440
|
this.hasPattern = yp("line", this.layers, i);
|
|
@@ -9495,7 +9495,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9495
9495
|
for (; B < R - 1 && t[B].equals(t[B + 1]); ) B++;
|
|
9496
9496
|
if (R < (C ? 3 : 2)) return;
|
|
9497
9497
|
o === "bevel" && (d = 1.05);
|
|
9498
|
-
const q = this.overscaling <= 16 ? 15 *
|
|
9498
|
+
const q = this.overscaling <= 16 ? 15 * ir / (512 * this.overscaling) : 0, N = this.segments.prepareSegment(10 * R, this.layoutVertexArray, this.indexArray);
|
|
9499
9499
|
let W, J, ee, le, ve;
|
|
9500
9500
|
this.e1 = this.e2 = -1, C && (W = t[R - 2], ve = t[B].sub(W)._unit()._perp());
|
|
9501
9501
|
for (let ue = B; ue < R; ue++) {
|
|
@@ -9570,9 +9570,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9570
9570
|
let wf, Sf;
|
|
9571
9571
|
ot("LineBucket", Cp, { omit: ["layers", "patternFeatures"] });
|
|
9572
9572
|
var Af = { get paint() {
|
|
9573
|
-
return Sf = Sf || new
|
|
9573
|
+
return Sf = Sf || new Hr({ "line-opacity": new xt(te.paint_line["line-opacity"]), "line-color": new xt(te.paint_line["line-color"]), "line-translate": new dt(te.paint_line["line-translate"]), "line-translate-anchor": new dt(te.paint_line["line-translate-anchor"]), "line-width": new xt(te.paint_line["line-width"]), "line-gap-width": new xt(te.paint_line["line-gap-width"]), "line-offset": new xt(te.paint_line["line-offset"]), "line-blur": new xt(te.paint_line["line-blur"]), "line-dasharray": new ql(te.paint_line["line-dasharray"]), "line-pattern": new Eo(te.paint_line["line-pattern"]), "line-gradient": new Ul(te.paint_line["line-gradient"]) });
|
|
9574
9574
|
}, get layout() {
|
|
9575
|
-
return wf = wf || new
|
|
9575
|
+
return wf = wf || new Hr({ "line-cap": new dt(te.layout_line["line-cap"]), "line-join": new xt(te.layout_line["line-join"]), "line-miter-limit": new dt(te.layout_line["line-miter-limit"]), "line-round-limit": new dt(te.layout_line["line-round-limit"]), "line-sort-key": new xt(te.layout_line["line-sort-key"]) });
|
|
9576
9576
|
} };
|
|
9577
9577
|
class k_ extends xt {
|
|
9578
9578
|
possiblyEvaluate(t, i) {
|
|
@@ -10177,14 +10177,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10177
10177
|
}
|
|
10178
10178
|
const mn = q_(He, Ir, Ai);
|
|
10179
10179
|
for (let Ji = 0; Ji < Ir.length(); Ji++) {
|
|
10180
|
-
const ei = Ir.getSection(Ji), li = Ir.getSectionIndex(Ji), ci = Ir.getCharCode(Ji),
|
|
10180
|
+
const ei = Ir.getSection(Ji), li = Ir.getSectionIndex(Ji), ci = Ir.getCharCode(Ji), Gr = U_(Xe, lt, ci);
|
|
10181
10181
|
let _r;
|
|
10182
10182
|
if (ei.imageName) {
|
|
10183
|
-
if (Y.iconsInText = !0, ei.scale = ei.scale * Ai, _r = N_(ei,
|
|
10183
|
+
if (Y.iconsInText = !0, ei.scale = ei.scale * Ai, _r = N_(ei, Gr, oi, mn, He), !_r) continue;
|
|
10184
10184
|
Oi = Math.max(Oi, _r.imageOffset);
|
|
10185
|
-
} else if (_r = j_(ei, ci,
|
|
10185
|
+
} else if (_r = j_(ei, ci, Gr, mn, de, Ee), !_r) continue;
|
|
10186
10186
|
const { rect: Mn, metrics: Na, baselineOffset: Ln } = _r;
|
|
10187
|
-
yi.push({ glyph: ci, imageName: ei.imageName, x: ft, y: pt + Ln + Cu, vertical:
|
|
10187
|
+
yi.push({ glyph: ci, imageName: ei.imageName, x: ft, y: pt + Ln + Cu, vertical: Gr, scale: ei.scale, fontStack: ei.fontStack, sectionIndex: li, metrics: Na, rect: Mn }), Gr ? (Y.verticalizable = !0, ft += (ei.imageName ? Na.advance : Yr) * ei.scale + Ue) : ft += Na.advance * ei.scale + Ue;
|
|
10188
10188
|
}
|
|
10189
10189
|
yi.length !== 0 && (jt = Math.max(ft - Ue, jt), W_(yi, 0, yi.length - 1, $r)), ft = 0, gi.lineOffset = Math.max(Oi, (oi - 1) * Yr);
|
|
10190
10190
|
const ai = Fe * oi + Oi;
|
|
@@ -10195,7 +10195,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10195
10195
|
const li = (oi - gi) * Oi;
|
|
10196
10196
|
let ci = 0;
|
|
10197
10197
|
ci = mn !== ai ? -Ji * yi - Cu : -yi * ei * ai + 0.5 * ai;
|
|
10198
|
-
for (const
|
|
10198
|
+
for (const Gr of Ir) for (const _r of Gr.positionedGlyphs) _r.x += li, _r.y += ci;
|
|
10199
10199
|
})(Y.positionedLines, $r, Gi, mi, jt, Dr, Fe, pt, Re.length), Y.top += -mi * pt, Y.bottom = Y.top + pt, Y.left += -Gi * jt, Y.right = Y.left + jt;
|
|
10200
10200
|
}(U, t, i, o, ee, m, _, w, B, C, q, W), !function(Y) {
|
|
10201
10201
|
for (const de of Y) if (de.positionedGlyphs.length !== 0) return !1;
|
|
@@ -10397,7 +10397,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10397
10397
|
}
|
|
10398
10398
|
class Op {
|
|
10399
10399
|
constructor(t) {
|
|
10400
|
-
this.layoutVertexArray = new Tr(), this.indexArray = new
|
|
10400
|
+
this.layoutVertexArray = new Tr(), this.indexArray = new Yt(), this.programConfigurations = t, this.segments = new $t(), this.dynamicLayoutVertexArray = new ur(), this.opacityVertexArray = new Cr(), this.hasVisibleVertices = !1, this.placedSymbolArray = new me();
|
|
10401
10401
|
}
|
|
10402
10402
|
isEmpty() {
|
|
10403
10403
|
return this.layoutVertexArray.length === 0 && this.indexArray.length === 0 && this.dynamicLayoutVertexArray.length === 0 && this.opacityVertexArray.length === 0;
|
|
@@ -10412,7 +10412,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10412
10412
|
ot("SymbolBuffers", Op);
|
|
10413
10413
|
class Fp {
|
|
10414
10414
|
constructor(t, i, o) {
|
|
10415
|
-
this.layoutVertexArray = new t(), this.layoutAttributes = i, this.indexArray = new o(), this.segments = new
|
|
10415
|
+
this.layoutVertexArray = new t(), this.layoutAttributes = i, this.indexArray = new o(), this.segments = new $t(), this.collisionVertexArray = new pr();
|
|
10416
10416
|
}
|
|
10417
10417
|
upload(t) {
|
|
10418
10418
|
this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, this.layoutAttributes), this.indexBuffer = t.createIndexBuffer(this.indexArray), this.collisionVertexBuffer = t.createVertexBuffer(this.collisionVertexArray, I_.members, !0);
|
|
@@ -10642,9 +10642,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10642
10642
|
let qf, Uf;
|
|
10643
10643
|
ot("SymbolBucket", qa, { omit: ["layers", "collisionBoxArray", "features", "compareText"] }), qa.MAX_GLYPHS = 65535, qa.addDynamicAttributes = Bp;
|
|
10644
10644
|
var Vp = { get paint() {
|
|
10645
|
-
return Uf = Uf || new
|
|
10645
|
+
return Uf = Uf || new Hr({ "icon-opacity": new xt(te.paint_symbol["icon-opacity"]), "icon-color": new xt(te.paint_symbol["icon-color"]), "icon-halo-color": new xt(te.paint_symbol["icon-halo-color"]), "icon-halo-width": new xt(te.paint_symbol["icon-halo-width"]), "icon-halo-blur": new xt(te.paint_symbol["icon-halo-blur"]), "icon-translate": new dt(te.paint_symbol["icon-translate"]), "icon-translate-anchor": new dt(te.paint_symbol["icon-translate-anchor"]), "text-opacity": new xt(te.paint_symbol["text-opacity"]), "text-color": new xt(te.paint_symbol["text-color"], { runtimeType: Mr, getOverride: (n) => n.textColor, hasOverride: (n) => !!n.textColor }), "text-halo-color": new xt(te.paint_symbol["text-halo-color"]), "text-halo-width": new xt(te.paint_symbol["text-halo-width"]), "text-halo-blur": new xt(te.paint_symbol["text-halo-blur"]), "text-translate": new dt(te.paint_symbol["text-translate"]), "text-translate-anchor": new dt(te.paint_symbol["text-translate-anchor"]) });
|
|
10646
10646
|
}, get layout() {
|
|
10647
|
-
return qf = qf || new
|
|
10647
|
+
return qf = qf || new Hr({ "symbol-placement": new dt(te.layout_symbol["symbol-placement"]), "symbol-spacing": new dt(te.layout_symbol["symbol-spacing"]), "symbol-avoid-edges": new dt(te.layout_symbol["symbol-avoid-edges"]), "symbol-sort-key": new xt(te.layout_symbol["symbol-sort-key"]), "symbol-z-order": new dt(te.layout_symbol["symbol-z-order"]), "icon-allow-overlap": new dt(te.layout_symbol["icon-allow-overlap"]), "icon-overlap": new dt(te.layout_symbol["icon-overlap"]), "icon-ignore-placement": new dt(te.layout_symbol["icon-ignore-placement"]), "icon-optional": new dt(te.layout_symbol["icon-optional"]), "icon-rotation-alignment": new dt(te.layout_symbol["icon-rotation-alignment"]), "icon-size": new xt(te.layout_symbol["icon-size"]), "icon-text-fit": new dt(te.layout_symbol["icon-text-fit"]), "icon-text-fit-padding": new dt(te.layout_symbol["icon-text-fit-padding"]), "icon-image": new xt(te.layout_symbol["icon-image"]), "icon-rotate": new xt(te.layout_symbol["icon-rotate"]), "icon-padding": new xt(te.layout_symbol["icon-padding"]), "icon-keep-upright": new dt(te.layout_symbol["icon-keep-upright"]), "icon-offset": new xt(te.layout_symbol["icon-offset"]), "icon-anchor": new xt(te.layout_symbol["icon-anchor"]), "icon-pitch-alignment": new dt(te.layout_symbol["icon-pitch-alignment"]), "text-pitch-alignment": new dt(te.layout_symbol["text-pitch-alignment"]), "text-rotation-alignment": new dt(te.layout_symbol["text-rotation-alignment"]), "text-field": new xt(te.layout_symbol["text-field"]), "text-font": new xt(te.layout_symbol["text-font"]), "text-size": new xt(te.layout_symbol["text-size"]), "text-max-width": new xt(te.layout_symbol["text-max-width"]), "text-line-height": new dt(te.layout_symbol["text-line-height"]), "text-letter-spacing": new xt(te.layout_symbol["text-letter-spacing"]), "text-justify": new xt(te.layout_symbol["text-justify"]), "text-radial-offset": new xt(te.layout_symbol["text-radial-offset"]), "text-variable-anchor": new dt(te.layout_symbol["text-variable-anchor"]), "text-variable-anchor-offset": new xt(te.layout_symbol["text-variable-anchor-offset"]), "text-anchor": new xt(te.layout_symbol["text-anchor"]), "text-max-angle": new dt(te.layout_symbol["text-max-angle"]), "text-writing-mode": new dt(te.layout_symbol["text-writing-mode"]), "text-rotate": new xt(te.layout_symbol["text-rotate"]), "text-padding": new dt(te.layout_symbol["text-padding"]), "text-keep-upright": new dt(te.layout_symbol["text-keep-upright"]), "text-transform": new xt(te.layout_symbol["text-transform"]), "text-offset": new xt(te.layout_symbol["text-offset"]), "text-allow-overlap": new dt(te.layout_symbol["text-allow-overlap"]), "text-overlap": new dt(te.layout_symbol["text-overlap"]), "text-ignore-placement": new dt(te.layout_symbol["text-ignore-placement"]), "text-optional": new dt(te.layout_symbol["text-optional"]) });
|
|
10648
10648
|
} };
|
|
10649
10649
|
class jf {
|
|
10650
10650
|
constructor(t) {
|
|
@@ -10728,7 +10728,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10728
10728
|
}
|
|
10729
10729
|
let Nf;
|
|
10730
10730
|
var J_ = { get paint() {
|
|
10731
|
-
return Nf = Nf || new
|
|
10731
|
+
return Nf = Nf || new Hr({ "background-color": new dt(te.paint_background["background-color"]), "background-pattern": new ql(te.paint_background["background-pattern"]), "background-opacity": new dt(te.paint_background["background-opacity"]) });
|
|
10732
10732
|
} };
|
|
10733
10733
|
class X_ extends en {
|
|
10734
10734
|
constructor(t) {
|
|
@@ -10737,7 +10737,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10737
10737
|
}
|
|
10738
10738
|
let Wf;
|
|
10739
10739
|
var Q_ = { get paint() {
|
|
10740
|
-
return Wf = Wf || new
|
|
10740
|
+
return Wf = Wf || new Hr({ "raster-opacity": new dt(te.paint_raster["raster-opacity"]), "raster-hue-rotate": new dt(te.paint_raster["raster-hue-rotate"]), "raster-brightness-min": new dt(te.paint_raster["raster-brightness-min"]), "raster-brightness-max": new dt(te.paint_raster["raster-brightness-max"]), "raster-saturation": new dt(te.paint_raster["raster-saturation"]), "raster-contrast": new dt(te.paint_raster["raster-contrast"]), "raster-resampling": new dt(te.paint_raster["raster-resampling"]), "raster-fade-duration": new dt(te.paint_raster["raster-fade-duration"]) });
|
|
10741
10741
|
} };
|
|
10742
10742
|
class Y_ extends en {
|
|
10743
10743
|
constructor(t) {
|
|
@@ -10879,7 +10879,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10879
10879
|
}
|
|
10880
10880
|
getTilePoint(t) {
|
|
10881
10881
|
const i = Math.pow(2, this.z);
|
|
10882
|
-
return new k((t.x * i - this.x) *
|
|
10882
|
+
return new k((t.x * i - this.x) * ir, (t.y * i - this.y) * ir);
|
|
10883
10883
|
}
|
|
10884
10884
|
toString() {
|
|
10885
10885
|
return `${this.z}/${this.x}/${this.y}`;
|
|
@@ -11045,7 +11045,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11045
11045
|
}
|
|
11046
11046
|
class rm {
|
|
11047
11047
|
constructor(t, i) {
|
|
11048
|
-
this.tileID = t, this.x = t.canonical.x, this.y = t.canonical.y, this.z = t.canonical.z, this.grid = new Ws(
|
|
11048
|
+
this.tileID = t, this.x = t.canonical.x, this.y = t.canonical.y, this.z = t.canonical.z, this.grid = new Ws(ir, 16, 0), this.grid3D = new Ws(ir, 16, 0), this.featureIndexArray = new De(), this.promoteId = i;
|
|
11049
11049
|
}
|
|
11050
11050
|
insert(t, i, o, c, d, m) {
|
|
11051
11051
|
const _ = this.featureIndexArray.length;
|
|
@@ -11057,7 +11057,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11057
11057
|
const N = R[q];
|
|
11058
11058
|
B[0] = Math.min(B[0], N.x), B[1] = Math.min(B[1], N.y), B[2] = Math.max(B[2], N.x), B[3] = Math.max(B[3], N.y);
|
|
11059
11059
|
}
|
|
11060
|
-
B[0] <
|
|
11060
|
+
B[0] < ir && B[1] < ir && B[2] >= 0 && B[3] >= 0 && w.insert(_, B[0], B[1], B[2], B[3]);
|
|
11061
11061
|
}
|
|
11062
11062
|
}
|
|
11063
11063
|
loadVTLayers() {
|
|
@@ -11065,7 +11065,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11065
11065
|
}
|
|
11066
11066
|
query(t, i, o, c) {
|
|
11067
11067
|
this.loadVTLayers();
|
|
11068
|
-
const d = t.params, m =
|
|
11068
|
+
const d = t.params, m = ir / t.tileSize / t.scale, _ = So(d.filter), w = t.queryGeometry, C = t.queryPadding * m, R = nm(w), B = this.grid.query(R.minX - C, R.minY - C, R.maxX + C, R.maxY + C), q = nm(t.cameraQueryGeometry), N = this.grid3D.query(q.minX - C, q.minY - C, q.maxX + C, q.maxY + C, (ee, le, ve, ue) => function(U, Y, de, Ee, He) {
|
|
11069
11069
|
for (const Fe of U) if (Y <= Fe.x && de <= Fe.y && Ee >= Fe.x && He >= Fe.y) return !0;
|
|
11070
11070
|
const Re = [new k(Y, de), new k(Y, He), new k(Ee, He), new k(Ee, de)];
|
|
11071
11071
|
if (U.length > 2) {
|
|
@@ -11245,8 +11245,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11245
11245
|
const Re = C.x1, Fe = C.y1, Je = C.x2 - Re, Ze = C.y2 - Fe, Xe = (Ue, lt, gt, ft) => {
|
|
11246
11246
|
const pt = Ru(Ue.stretch - le, ve, Je, Re), jt = zu(Ue.fixed - Y, de, Ue.stretch, N), Dr = Ru(lt.stretch - ue, U, Ze, Fe), $r = zu(lt.fixed - Ee, He, lt.stretch, W), Ai = Ru(gt.stretch - le, ve, Je, Re), fn = zu(gt.fixed - Y, de, gt.stretch, N), Gi = Ru(ft.stretch - ue, U, Ze, Fe), mi = zu(ft.fixed - Ee, He, ft.stretch, W), Ir = new k(pt, Dr), oi = new k(Ai, Dr), gi = new k(Ai, Gi), yi = new k(pt, Gi), Oi = new k(jt / m, $r / m), mn = new k(fn / m, mi / m), ai = t * Math.PI / 180;
|
|
11247
11247
|
if (ai) {
|
|
11248
|
-
const li = Math.sin(ai), ci = Math.cos(ai),
|
|
11249
|
-
Ir._matMult(
|
|
11248
|
+
const li = Math.sin(ai), ci = Math.cos(ai), Gr = [ci, -li, li, ci];
|
|
11249
|
+
Ir._matMult(Gr), oi._matMult(Gr), yi._matMult(Gr), gi._matMult(Gr);
|
|
11250
11250
|
}
|
|
11251
11251
|
const Ji = Ue.stretch + Ue.fixed, ei = lt.stretch + lt.fixed;
|
|
11252
11252
|
return { tl: Ir, tr: oi, bl: yi, br: gi, tex: { x: d.paddedRect.x + cc + Ji, y: d.paddedRect.y + cc + ei, w: gt.stretch + gt.fixed - Ji, h: ft.stretch + ft.fixed - ei }, writingMode: void 0, glyphOffset: [0, 0], sectionIndex: 0, pixelOffsetTL: Oi, pixelOffsetBR: mn, minFontScaleX: de / m / Je, minFontScaleY: He / m / Ze, isSDF: i };
|
|
@@ -11489,7 +11489,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11489
11489
|
let Xe;
|
|
11490
11490
|
o && Ze !== "none" && (n.allowVerticalPlacement && i.vertical && (Xe = Ff(o, i.vertical, Ze, N.get("icon-text-fit-padding"), W, ee)), J && (o = Ff(o, J, Ze, N.get("icon-text-fit-padding"), W, ee)));
|
|
11491
11491
|
const Ue = R ? B.line.getGranularityForZoomLevel(R.z) : 1, lt = (gt, ft) => {
|
|
11492
|
-
ft.x < 0 || ft.x >=
|
|
11492
|
+
ft.x < 0 || ft.x >= ir || ft.y < 0 || ft.y >= ir || function(pt, jt, Dr, $r, Ai, fn, Gi, mi, Ir, oi, gi, yi, Oi, mn, ai, Ji, ei, li, ci, Gr, _r, Mn, Na, Ln, h0) {
|
|
11493
11493
|
const Wa = pt.addToLineVertexArray(jt, Dr);
|
|
11494
11494
|
let qo, Ha, Za, Ka, xm = 0, bm = 0, wm = 0, Sm = 0, Yp = -1, $p = -1;
|
|
11495
11495
|
const _s = {};
|
|
@@ -11503,7 +11503,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11503
11503
|
Ha = new Du(Ir, jt, oi, gi, yi, Ai, ei, li, !1, Ei), xm = 4 * Uo.length;
|
|
11504
11504
|
const jo = pt.iconSizeData;
|
|
11505
11505
|
let Jn = null;
|
|
11506
|
-
jo.kind === "source" ? (Jn = [Gn * mi.layout.get("icon-size").evaluate(_r, {})], Jn[0] > Js && Et(`${pt.layerIds[0]}: Value for "icon-size" is >= ${ac}. Reduce your "icon-size".`)) : jo.kind === "composite" && (Jn = [Gn * Mn.compositeIconSizes[0].evaluate(_r, {}, Ln), Gn * Mn.compositeIconSizes[1].evaluate(_r, {}, Ln)], (Jn[0] > Js || Jn[1] > Js) && Et(`${pt.layerIds[0]}: Value for "icon-size" is >= ${ac}. Reduce your "icon-size".`)), pt.addSymbols(pt.icon, Uo, Jn,
|
|
11506
|
+
jo.kind === "source" ? (Jn = [Gn * mi.layout.get("icon-size").evaluate(_r, {})], Jn[0] > Js && Et(`${pt.layerIds[0]}: Value for "icon-size" is >= ${ac}. Reduce your "icon-size".`)) : jo.kind === "composite" && (Jn = [Gn * Mn.compositeIconSizes[0].evaluate(_r, {}, Ln), Gn * Mn.compositeIconSizes[1].evaluate(_r, {}, Ln)], (Jn[0] > Js || Jn[1] > Js) && Et(`${pt.layerIds[0]}: Value for "icon-size" is >= ${ac}. Reduce your "icon-size".`)), pt.addSymbols(pt.icon, Uo, Jn, Gr, ci, _r, v.al.none, jt, Wa.lineStartIndex, Wa.lineLength, -1, Ln), Yp = pt.icon.placedSymbolArray.length - 1, zn && (bm = 4 * zn.length, pt.addSymbols(pt.icon, zn, Jn, Gr, ci, _r, v.al.vertical, jt, Wa.lineStartIndex, Wa.lineLength, -1, Ln), $p = pt.icon.placedSymbolArray.length - 1);
|
|
11507
11507
|
}
|
|
11508
11508
|
const km = Object.keys($r.horizontal);
|
|
11509
11509
|
for (const Ei of km) {
|
|
@@ -11534,8 +11534,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11534
11534
|
pt.symbolInstances.emplaceBack(jt.x, jt.y, _s.right >= 0 ? _s.right : -1, _s.center >= 0 ? _s.center : -1, _s.left >= 0 ? _s.left : -1, _s.vertical || -1, Yp, $p, Am, p0, d0, f0, m0, g0, y0, _0, v0, oi, wm, Sm, xm, bm, Tm, 0, Oi, Rn, b0, w0);
|
|
11535
11535
|
}(n, ft, gt, i, o, c, Xe, n.layers[0], n.collisionBoxArray, t.index, t.sourceLayerIndex, n.index, le, [Y, Y, Y, Y], He, w, ue, de, Re, W, t, d, C, R, m);
|
|
11536
11536
|
};
|
|
11537
|
-
if (Fe === "line") for (const gt of sm(t.geometry, 0, 0,
|
|
11538
|
-
const ft = Vo(gt, Ue), pt = n0(ft, U, Ee, i.vertical || J, o, 24, ve, n.overscaling,
|
|
11537
|
+
if (Fe === "line") for (const gt of sm(t.geometry, 0, 0, ir, ir)) {
|
|
11538
|
+
const ft = Vo(gt, Ue), pt = n0(ft, U, Ee, i.vertical || J, o, 24, ve, n.overscaling, ir);
|
|
11539
11539
|
for (const jt of pt) J && c0(n, J.text, Je, jt) || lt(ft, jt);
|
|
11540
11540
|
}
|
|
11541
11541
|
else if (Fe === "line-center") {
|
|
@@ -11570,12 +11570,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11570
11570
|
jt && (fn = Ai, Ai = [0, 0]);
|
|
11571
11571
|
const Gi = Xe.metrics.isDoubleResolution ? 2 : 1, mi = (Xe.metrics.left - lt) * Xe.scale - Dr + Ai[0], Ir = (-Xe.metrics.top - lt) * Xe.scale + Ai[1], oi = mi + Ue.w / Gi * Xe.scale / ft, gi = Ir + Ue.h / Gi * Xe.scale / ft, yi = new k(mi, Ir), Oi = new k(oi, Ir), mn = new k(mi, gi), ai = new k(oi, gi);
|
|
11572
11572
|
if (jt) {
|
|
11573
|
-
const li = new k(-Dr, Dr - Cu), ci = -Math.PI / 2,
|
|
11573
|
+
const li = new k(-Dr, Dr - Cu), ci = -Math.PI / 2, Gr = Yr / 2 - Dr, _r = new k(5 - Cu - Gr, -(Xe.imageName ? Gr : 0)), Mn = new k(...fn);
|
|
11574
11574
|
yi._rotateAround(ci, li)._add(_r)._add(Mn), Oi._rotateAround(ci, li)._add(_r)._add(Mn), mn._rotateAround(ci, li)._add(_r)._add(Mn), ai._rotateAround(ci, li)._add(_r)._add(Mn);
|
|
11575
11575
|
}
|
|
11576
11576
|
if (Fe) {
|
|
11577
|
-
const li = Math.sin(Fe), ci = Math.cos(Fe),
|
|
11578
|
-
yi._matMult(
|
|
11577
|
+
const li = Math.sin(Fe), ci = Math.cos(Fe), Gr = [ci, -li, li, ci];
|
|
11578
|
+
yi._matMult(Gr), Oi._matMult(Gr), mn._matMult(Gr), ai._matMult(Gr);
|
|
11579
11579
|
}
|
|
11580
11580
|
const Ji = new k(0, 0), ei = new k(0, 0);
|
|
11581
11581
|
Je.push({ tl: yi, tr: Oi, bl: mn, br: ai, tex: Ue, writingMode: ue.writingMode, glyphOffset: $r, sectionIndex: Xe.sectionIndex, isSDF: gt, pixelOffsetTL: Ji, pixelOffsetBR: ei, minFontScaleX: 0, minFontScaleY: 0 });
|
|
@@ -11715,14 +11715,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11715
11715
|
return Fr;
|
|
11716
11716
|
}, v.H = class {
|
|
11717
11717
|
constructor(n, t) {
|
|
11718
|
-
this.target = n, this.mapId = t, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new e0(() => this.process()), this.subscription =
|
|
11718
|
+
this.target = n, this.mapId = t, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new e0(() => this.process()), this.subscription = nr(this.target, "message", (i) => this.receive(i), !1), this.globalScope = ji(self) ? n : window;
|
|
11719
11719
|
}
|
|
11720
11720
|
registerMessageHandler(n, t) {
|
|
11721
11721
|
this.messageHandlers[n] = t;
|
|
11722
11722
|
}
|
|
11723
11723
|
sendAsync(n, t) {
|
|
11724
11724
|
return new Promise((i, o) => {
|
|
11725
|
-
const c = Math.round(1e18 * Math.random()).toString(36).substring(0, 10), d = t ?
|
|
11725
|
+
const c = Math.round(1e18 * Math.random()).toString(36).substring(0, 10), d = t ? nr(t.signal, "abort", () => {
|
|
11726
11726
|
d == null || d.unsubscribe(), delete this.resolveRejects[c];
|
|
11727
11727
|
const w = { id: c, type: "<cancel>", origin: location.origin, targetMapId: n.targetMapId, sourceMapId: this.mapId };
|
|
11728
11728
|
this.target.postMessage(w);
|
|
@@ -11798,7 +11798,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11798
11798
|
c in n && (i[c] = n[c]);
|
|
11799
11799
|
}
|
|
11800
11800
|
return i;
|
|
11801
|
-
}, v.P = k, v.Q = Xs, v.R = pn, v.S = Gf, v.T = fu, v.U = Kf, v.V = Te, v.W = $, v.X = Fn, v.Y = dn, v.Z =
|
|
11801
|
+
}, v.P = k, v.Q = Xs, v.R = pn, v.S = Gf, v.T = fu, v.U = Kf, v.V = Te, v.W = $, v.X = Fn, v.Y = dn, v.Z = ir, v._ = s, v.a = hi, v.a$ = function(n, t, i) {
|
|
11802
11802
|
var o = Math.sin(i), c = Math.cos(i), d = t[4], m = t[5], _ = t[6], w = t[7], C = t[8], R = t[9], B = t[10], q = t[11];
|
|
11803
11803
|
return t !== n && (n[0] = t[0], n[1] = t[1], n[2] = t[2], n[3] = t[3], n[12] = t[12], n[13] = t[13], n[14] = t[14], n[15] = t[15]), n[4] = d * c + C * o, n[5] = m * c + R * o, n[6] = _ * c + B * o, n[7] = w * c + q * o, n[8] = C * c - d * o, n[9] = R * c - m * o, n[10] = B * c - _ * o, n[11] = q * c - w * o, n;
|
|
11804
11804
|
}, v.a0 = 25, v.a1 = jp, v.a2 = (n) => {
|
|
@@ -11822,7 +11822,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11822
11822
|
i = [i[0] * _ - i[1] * m, i[0] * m + i[1] * _];
|
|
11823
11823
|
}
|
|
11824
11824
|
return [c ? i[0] : ln(t, i[0], n.zoom), c ? i[1] : ln(t, i[1], n.zoom)];
|
|
11825
|
-
}, v.aC = Dp, v.aD = Wp, v.aE = zp, v.aF = Hp, v.aG = kr, v.aH = Au, v.aI = Be, v.aJ =
|
|
11825
|
+
}, v.aC = Dp, v.aD = Wp, v.aE = zp, v.aF = Hp, v.aG = kr, v.aH = Au, v.aI = Be, v.aJ = $t, v.aK = Yt, v.aL = st, v.aM = Sr, v.aN = Xf, v.aO = function(n, t, i) {
|
|
11826
11826
|
return n[0] = t[0] * i, n[1] = t[1] * i, n[2] = t[2] * i, n;
|
|
11827
11827
|
}, v.aP = function(n, t, i) {
|
|
11828
11828
|
return n[0] = t[0] + i[0], n[1] = t[1] + i[1], n[2] = t[2] + i[2], n;
|
|
@@ -11860,7 +11860,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11860
11860
|
isNaN(i) ? delete t["max-age"] : t["max-age"] = i;
|
|
11861
11861
|
}
|
|
11862
11862
|
return t;
|
|
11863
|
-
}, v.ab =
|
|
11863
|
+
}, v.ab = At, v.ac = function(n) {
|
|
11864
11864
|
return Math.pow(2, n);
|
|
11865
11865
|
}, v.ad = Ge, v.ae = Qe, v.af = 85.051129, v.ag = Jf, v.ah = function(n) {
|
|
11866
11866
|
return Math.log(n) / Math.LN2;
|
|
@@ -11923,9 +11923,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11923
11923
|
const t = new Float64Array(9);
|
|
11924
11924
|
var i, o, c, d, m, _, w, C, R, B, q, N, W, J, ee, le, ve, ue;
|
|
11925
11925
|
B = (c = (o = n)[0]) * (w = c + c), q = (d = o[1]) * w, W = (m = o[2]) * w, J = m * (C = d + d), le = (_ = o[3]) * w, ve = _ * C, ue = _ * (R = m + m), (i = t)[0] = 1 - (N = d * C) - (ee = m * R), i[3] = q - ue, i[6] = W + ve, i[1] = q + ue, i[4] = 1 - B - ee, i[7] = J - le, i[2] = W - ve, i[5] = J + le, i[8] = 1 - B - N;
|
|
11926
|
-
const U =
|
|
11926
|
+
const U = Sr(-Math.asin(Qe(t[2], -1, 1)));
|
|
11927
11927
|
let Y, de;
|
|
11928
|
-
return Math.hypot(t[5], t[8]) < 1e-3 ? (Y = 0, de = -
|
|
11928
|
+
return Math.hypot(t[5], t[8]) < 1e-3 ? (Y = 0, de = -Sr(Math.atan2(t[3], t[4]))) : (Y = Sr(t[5] === 0 && t[8] === 0 ? 0 : Math.atan2(t[5], t[8])), de = Sr(t[1] === 0 && t[0] === 0 ? 0 : Math.atan2(t[1], t[0]))), { roll: Y, pitch: U + 90, bearing: de };
|
|
11929
11929
|
}, v.b6 = function(n, t) {
|
|
11930
11930
|
return n.roll == t.roll && n.pitch == t.pitch && n.bearing == t.bearing;
|
|
11931
11931
|
}, v.b7 = Ht, v.b8 = za, v.b9 = Fa, v.bA = function(n) {
|
|
@@ -11995,7 +11995,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11995
11995
|
return !0;
|
|
11996
11996
|
}
|
|
11997
11997
|
return t === i;
|
|
11998
|
-
}, v.bF = ut, v.bG =
|
|
11998
|
+
}, v.bF = ut, v.bG = kt, v.bH = class extends yr {
|
|
11999
11999
|
constructor(n, t) {
|
|
12000
12000
|
super(n, t), this.current = 0;
|
|
12001
12001
|
}
|
|
@@ -12073,7 +12073,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12073
12073
|
return new Float64Array(3);
|
|
12074
12074
|
}, v.bi = function(n, t, i, o) {
|
|
12075
12075
|
return n[0] = t[0] + i[0] * o, n[1] = t[1] + i[1] * o, n[2] = t[2] + i[2] * o, n;
|
|
12076
|
-
}, v.bj =
|
|
12076
|
+
}, v.bj = Tt, v.bk = function() {
|
|
12077
12077
|
return new Float64Array(4);
|
|
12078
12078
|
}, v.bl = function(n, t, i, o) {
|
|
12079
12079
|
var c = [], d = [];
|
|
@@ -12118,7 +12118,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12118
12118
|
for (let i = 0; i < n.length; i++) t[n[i].id] = n[i];
|
|
12119
12119
|
for (let i = 0; i < n.length; i++) "ref" in n[i] && (n[i] = we(n[i], t[n[i].ref]));
|
|
12120
12120
|
return n;
|
|
12121
|
-
}, v.c =
|
|
12121
|
+
}, v.c = Jr, v.c0 = function(n, t) {
|
|
12122
12122
|
return n[0] === t[0] && n[1] === t[1] && n[2] === t[2] && n[3] === t[3] && n[4] === t[4] && n[5] === t[5] && n[6] === t[6] && n[7] === t[7] && n[8] === t[8] && n[9] === t[9] && n[10] === t[10] && n[11] === t[11] && n[12] === t[12] && n[13] === t[13] && n[14] === t[14] && n[15] === t[15];
|
|
12123
12123
|
}, v.c1 = function(n, t) {
|
|
12124
12124
|
var i = n[0], o = n[1], c = n[2], d = n[3], m = n[4], _ = n[5], w = n[6], C = n[7], R = n[8], B = n[9], q = n[10], N = n[11], W = n[12], J = n[13], ee = n[14], le = n[15], ve = t[0], ue = t[1], U = t[2], Y = t[3], de = t[4], Ee = t[5], He = t[6], Re = t[7], Fe = t[8], Je = t[9], Ze = t[10], Xe = t[11], Ue = t[12], lt = t[13], gt = t[14], ft = t[15];
|
|
@@ -12142,21 +12142,21 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12142
12142
|
}
|
|
12143
12143
|
return function(d, m, _, w, C) {
|
|
12144
12144
|
const R = d.width, B = d.height;
|
|
12145
|
-
_i &&
|
|
12146
|
-
const q =
|
|
12147
|
-
return
|
|
12145
|
+
_i && sr || (_i = new OffscreenCanvas(R, B), sr = _i.getContext("2d", { willReadFrequently: !0 })), _i.width = R, _i.height = B, sr.drawImage(d, 0, 0, R, B);
|
|
12146
|
+
const q = sr.getImageData(m, _, w, C);
|
|
12147
|
+
return sr.clearRect(0, 0, R, B), q.data;
|
|
12148
12148
|
}(n, t, i, o, c);
|
|
12149
12149
|
});
|
|
12150
12150
|
}, v.cG = $f, v.cH = D, v.cI = O, v.cJ = yf, v.cK = If, v.cL = va, v.cM = Pn, v.ca = (n) => n.type === "raster", v.cb = (n) => n.type === "background", v.cc = (n) => n.type === "custom", v.cd = Ss, v.ce = function(n, t, i) {
|
|
12151
12151
|
const o = Vi(t.x - i.x, t.y - i.y), c = Vi(n.x - i.x, n.y - i.y);
|
|
12152
12152
|
var d, m;
|
|
12153
|
-
return
|
|
12153
|
+
return Sr(Math.atan2(o[0] * c[1] - o[1] * c[0], (d = o)[0] * (m = c)[0] + d[1] * m[1]));
|
|
12154
12154
|
}, v.cf = Li, v.cg = function(n, t) {
|
|
12155
|
-
return
|
|
12155
|
+
return Vr[t] && (n instanceof MouseEvent || n instanceof WheelEvent);
|
|
12156
12156
|
}, v.ch = function(n, t) {
|
|
12157
|
-
return
|
|
12157
|
+
return Wr[t] && "touches" in n;
|
|
12158
12158
|
}, v.ci = function(n) {
|
|
12159
|
-
return
|
|
12159
|
+
return Wr[n] || Vr[n];
|
|
12160
12160
|
}, v.cj = function(n, t, i) {
|
|
12161
12161
|
var o = t[0], c = t[1];
|
|
12162
12162
|
return n[0] = i[0] * o + i[4] * c + i[12], n[1] = i[1] * o + i[5] * c + i[13], n;
|
|
@@ -12167,7 +12167,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12167
12167
|
return n[0] = t[0], n[1] = 0, n[2] = 0, n[3] = 0, n[4] = 0, n[5] = t[1], n[6] = 0, n[7] = 0, n[8] = 0, n[9] = 0, n[10] = t[2], n[11] = 0, n[12] = 0, n[13] = 0, n[14] = 0, n[15] = 1, n;
|
|
12168
12168
|
}, v.cm = class extends Lo {
|
|
12169
12169
|
}, v.cn = u0, v.cp = function(n) {
|
|
12170
|
-
return n.message ===
|
|
12170
|
+
return n.message === Jt;
|
|
12171
12171
|
}, v.cq = xr, v.cr = function(n, t) {
|
|
12172
12172
|
hi.REGISTERED_PROTOCOLS[n] = t;
|
|
12173
12173
|
}, v.cs = function(n) {
|
|
@@ -12184,7 +12184,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12184
12184
|
for (const c in i) o.push(i[c]);
|
|
12185
12185
|
return o;
|
|
12186
12186
|
}, v.cu = ot, v.cv = em, v.cw = rm, v.cx = Mf, v.cy = function(n) {
|
|
12187
|
-
n.bucket.createArrays(), n.bucket.tilePixelRatio =
|
|
12187
|
+
n.bucket.createArrays(), n.bucket.tilePixelRatio = ir / (512 * n.bucket.overscaling), n.bucket.compareText = {}, n.bucket.iconsNeedLinear = !1;
|
|
12188
12188
|
const t = n.bucket.layers[0], i = t.layout, o = t._unevaluatedLayout._values, c = { layoutIconSize: o["icon-size"].possiblyEvaluate(new gr(n.bucket.zoom + 1), n.canonical), layoutTextSize: o["text-size"].possiblyEvaluate(new gr(n.bucket.zoom + 1), n.canonical), textMaxSize: o["text-size"].possiblyEvaluate(new gr(18)) };
|
|
12189
12189
|
if (n.bucket.textSizeData.kind === "composite") {
|
|
12190
12190
|
const { minZoom: C, maxZoom: R } = n.bucket.textSizeData;
|
|
@@ -12253,7 +12253,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12253
12253
|
o.src = n.byteLength ? URL.createObjectURL(c) : cn;
|
|
12254
12254
|
}), v.i = ji, v.j = (n, t) => ri(ct(n, { type: "json" }), t), v.k = he, v.l = Q, v.m = ri, v.n = (n, t) => ri(ct(n, { type: "arrayBuffer" }), t), v.o = function(n) {
|
|
12255
12255
|
return new Ep(n).readFields(R_, []);
|
|
12256
|
-
}, v.p = Ef, v.q = Jl, v.r =
|
|
12256
|
+
}, v.p = Ef, v.q = Jl, v.r = Hr, v.s = nr, v.t = Ta, v.u = qt, v.v = te, v.w = Et, v.x = Dl, v.y = Ns, v.z = function([n, t, i]) {
|
|
12257
12257
|
return t += 90, t *= Math.PI / 180, i *= Math.PI / 180, { x: n * Math.cos(t) * Math.sin(i), y: n * Math.sin(t) * Math.sin(i), z: n * Math.cos(i) };
|
|
12258
12258
|
};
|
|
12259
12259
|
}), A("worker", ["./shared"], function(v) {
|
|
@@ -12354,12 +12354,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12354
12354
|
const bt = new AbortController();
|
|
12355
12355
|
this.inFlightDependencies.push(bt), Mt = he.sendAsync({ type: "GI", data: { icons: mt, source: this.source, tileID: this.tileID, type: "patterns" } }, bt);
|
|
12356
12356
|
}
|
|
12357
|
-
const [wt, Oe,
|
|
12357
|
+
const [wt, Oe, er] = yield Promise.all([We, nt, Mt]), Wt = new D(wt), Qt = new v.cx(Oe, er);
|
|
12358
12358
|
for (const bt in we) {
|
|
12359
12359
|
const Ne = we[bt];
|
|
12360
|
-
Ne instanceof v.a6 ? (I(Ne.layers, this.zoom, Q), v.cy({ bucket: Ne, glyphMap: wt, glyphPositions: Wt.positions, imageMap: Oe, imagePositions:
|
|
12360
|
+
Ne instanceof v.a6 ? (I(Ne.layers, this.zoom, Q), v.cy({ bucket: Ne, glyphMap: wt, glyphPositions: Wt.positions, imageMap: Oe, imagePositions: Qt.iconPositions, showCollisionBoxes: this.showCollisionBoxes, canonical: this.tileID.canonical, subdivisionGranularity: Ce.subdivisionGranularity })) : Ne.hasPattern && (Ne instanceof v.cz || Ne instanceof v.cA || Ne instanceof v.cB) && (I(Ne.layers, this.zoom, Q), Ne.addFeatures(Ce, this.tileID.canonical, Qt.patternPositions));
|
|
12361
12361
|
}
|
|
12362
|
-
return this.status = "done", { buckets: Object.values(we).filter((bt) => !bt.isEmpty()), featureIndex: Me, collisionBoxArray: this.collisionBoxArray, glyphAtlasImage: Wt.image, imageAtlas:
|
|
12362
|
+
return this.status = "done", { buckets: Object.values(we).filter((bt) => !bt.isEmpty()), featureIndex: Me, collisionBoxArray: this.collisionBoxArray, glyphAtlasImage: Wt.image, imageAtlas: Qt, glyphMap: this.returnDependencies ? wt : null, iconMap: this.returnDependencies ? Oe : null, glyphPositions: this.returnDependencies ? Wt.positions : null };
|
|
12363
12363
|
});
|
|
12364
12364
|
}
|
|
12365
12365
|
}
|
|
@@ -12540,8 +12540,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12540
12540
|
return this.geometry;
|
|
12541
12541
|
}, rt.prototype.bbox = function() {
|
|
12542
12542
|
this.geometry || this.loadGeometry();
|
|
12543
|
-
for (var nt = this.geometry, mt = 1 / 0, Mt = -1 / 0, wt = 1 / 0, Oe = -1 / 0,
|
|
12544
|
-
var bt = Wt[
|
|
12543
|
+
for (var nt = this.geometry, mt = 1 / 0, Mt = -1 / 0, wt = 1 / 0, Oe = -1 / 0, er = 0; er < nt.length; er++) for (var Wt = nt[er], Qt = 0; Qt < Wt.length; Qt++) {
|
|
12544
|
+
var bt = Wt[Qt];
|
|
12545
12545
|
mt = Math.min(mt, bt.x), Mt = Math.max(Mt, bt.x), wt = Math.min(wt, bt.y), Oe = Math.max(Oe, bt.y);
|
|
12546
12546
|
}
|
|
12547
12547
|
return [mt, wt, Mt, Oe];
|
|
@@ -12570,13 +12570,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12570
12570
|
function _e(Le, ke) {
|
|
12571
12571
|
var We = Le.feature, rt = Le.keys, nt = Le.values, mt = Le.keycache, Mt = Le.valuecache;
|
|
12572
12572
|
for (var wt in We.properties) {
|
|
12573
|
-
var Oe = We.properties[wt],
|
|
12573
|
+
var Oe = We.properties[wt], er = mt[wt];
|
|
12574
12574
|
if (Oe !== null) {
|
|
12575
|
-
|
|
12575
|
+
er === void 0 && (rt.push(wt), mt[wt] = er = rt.length - 1), ke.writeVarint(er);
|
|
12576
12576
|
var Wt = typeof Oe;
|
|
12577
12577
|
Wt !== "string" && Wt !== "boolean" && Wt !== "number" && (Oe = JSON.stringify(Oe));
|
|
12578
|
-
var
|
|
12579
|
-
bt === void 0 && (nt.push(Oe), Mt[
|
|
12578
|
+
var Qt = Wt + ":" + Oe, bt = Mt[Qt];
|
|
12579
|
+
bt === void 0 && (nt.push(Oe), Mt[Qt] = bt = nt.length - 1), ke.writeVarint(bt);
|
|
12580
12580
|
}
|
|
12581
12581
|
}
|
|
12582
12582
|
}
|
|
@@ -12588,11 +12588,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12588
12588
|
}
|
|
12589
12589
|
function we(Le, ke) {
|
|
12590
12590
|
for (var We = Le.loadGeometry(), rt = Le.type, nt = 0, mt = 0, Mt = We.length, wt = 0; wt < Mt; wt++) {
|
|
12591
|
-
var Oe = We[wt],
|
|
12592
|
-
rt === 1 && (
|
|
12593
|
-
for (var Wt = rt === 3 ? Oe.length - 1 : Oe.length,
|
|
12594
|
-
|
|
12595
|
-
var bt = Oe[
|
|
12591
|
+
var Oe = We[wt], er = 1;
|
|
12592
|
+
rt === 1 && (er = Oe.length), ke.writeVarint(te(1, er));
|
|
12593
|
+
for (var Wt = rt === 3 ? Oe.length - 1 : Oe.length, Qt = 0; Qt < Wt; Qt++) {
|
|
12594
|
+
Qt === 1 && rt !== 1 && ke.writeVarint(te(2, Wt - 1));
|
|
12595
|
+
var bt = Oe[Qt].x - nt, Ne = Oe[Qt].y - mt;
|
|
12596
12596
|
ke.writeVarint(Me(bt)), ke.writeVarint(Me(Ne)), nt += bt, mt += Ne;
|
|
12597
12597
|
}
|
|
12598
12598
|
rt === 3 && ke.writeVarint(te(7, 1));
|
|
@@ -12611,7 +12611,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12611
12611
|
}(), St = v.cH(Ge);
|
|
12612
12612
|
const et = { minZoom: 0, maxZoom: 16, minPoints: 2, radius: 40, extent: 512, nodeSize: 64, log: !1, generateId: !1, reduce: null, map: (Se) => Se }, Ye = Math.fround || (it = new Float32Array(1), (Se) => (it[0] = +Se, it[0]));
|
|
12613
12613
|
var it;
|
|
12614
|
-
const
|
|
12614
|
+
const Tt = 3, Ft = 5, vr = 6;
|
|
12615
12615
|
class Er {
|
|
12616
12616
|
constructor(K) {
|
|
12617
12617
|
this.options = Object.assign(Object.create(et), K), this.trees = new Array(this.options.maxZoom + 1), this.stride = this.options.reduce ? 7 : 6, this.clusterProps = [];
|
|
@@ -12649,7 +12649,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12649
12649
|
const Me = this.trees[this._limitZoom(X)], we = Me.range(ln(Q), Qi(te), ln(_e), Qi(he)), Ce = Me.data, Le = [];
|
|
12650
12650
|
for (const ke of we) {
|
|
12651
12651
|
const We = this.stride * ke;
|
|
12652
|
-
Le.push(Ce[We + Ft] > 1 ? Vi(Ce, We, this.clusterProps) : this.points[Ce[We +
|
|
12652
|
+
Le.push(Ce[We + Ft] > 1 ? Vi(Ce, We, this.clusterProps) : this.points[Ce[We + Tt]]);
|
|
12653
12653
|
}
|
|
12654
12654
|
return Le;
|
|
12655
12655
|
}
|
|
@@ -12661,7 +12661,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12661
12661
|
const Me = this.options.radius / (this.options.extent * Math.pow(2, Q - 1)), we = _e.within(te[X * this.stride], te[X * this.stride + 1], Me), Ce = [];
|
|
12662
12662
|
for (const Le of we) {
|
|
12663
12663
|
const ke = Le * this.stride;
|
|
12664
|
-
te[ke + 4] === K && Ce.push(te[ke + Ft] > 1 ? Vi(te, ke, this.clusterProps) : this.points[te[ke +
|
|
12664
|
+
te[ke + 4] === K && Ce.push(te[ke + Ft] > 1 ? Vi(te, ke, this.clusterProps) : this.points[te[ke + Tt]]);
|
|
12665
12665
|
}
|
|
12666
12666
|
if (Ce.length === 0) throw new Error(he);
|
|
12667
12667
|
return Ce;
|
|
@@ -12700,16 +12700,16 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12700
12700
|
for (const Me of K) {
|
|
12701
12701
|
const we = Me * this.stride, Ce = X[we + Ft] > 1;
|
|
12702
12702
|
let Le, ke, We;
|
|
12703
|
-
if (Ce) Le =
|
|
12703
|
+
if (Ce) Le = ir(X, we, this.clusterProps), ke = X[we], We = X[we + 1];
|
|
12704
12704
|
else {
|
|
12705
|
-
const mt = this.points[X[we +
|
|
12705
|
+
const mt = this.points[X[we + Tt]];
|
|
12706
12706
|
Le = mt.properties;
|
|
12707
12707
|
const [Mt, wt] = mt.geometry.coordinates;
|
|
12708
12708
|
ke = ln(Mt), We = Qi(wt);
|
|
12709
12709
|
}
|
|
12710
12710
|
const rt = { type: 1, geometry: [[Math.round(this.options.extent * (ke * _e - Q)), Math.round(this.options.extent * (We * _e - he))]], tags: Le };
|
|
12711
12711
|
let nt;
|
|
12712
|
-
nt = Ce || this.options.generateId ? X[we +
|
|
12712
|
+
nt = Ce || this.options.generateId ? X[we + Tt] : this.points[X[we + Tt]].id, nt !== void 0 && (rt.id = nt), te.features.push(rt);
|
|
12713
12713
|
}
|
|
12714
12714
|
}
|
|
12715
12715
|
_limitZoom(K) {
|
|
@@ -12727,23 +12727,23 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12727
12727
|
we[Oe + 2] > X && (Mt += we[Oe + Ft]);
|
|
12728
12728
|
}
|
|
12729
12729
|
if (Mt > mt && Mt >= te) {
|
|
12730
|
-
let wt, Oe = We * mt,
|
|
12731
|
-
const
|
|
12730
|
+
let wt, Oe = We * mt, er = rt * mt, Wt = -1;
|
|
12731
|
+
const Qt = ((ke / Le | 0) << 5) + (X + 1) + this.points.length;
|
|
12732
12732
|
for (const bt of nt) {
|
|
12733
12733
|
const Ne = bt * Le;
|
|
12734
12734
|
if (we[Ne + 2] <= X) continue;
|
|
12735
12735
|
we[Ne + 2] = X;
|
|
12736
12736
|
const vt = we[Ne + Ft];
|
|
12737
|
-
Oe += we[Ne] * vt,
|
|
12737
|
+
Oe += we[Ne] * vt, er += we[Ne + 1] * vt, we[Ne + 4] = Qt, _e && (wt || (wt = this._map(we, ke, !0), Wt = this.clusterProps.length, this.clusterProps.push(wt)), _e(wt, this._map(we, Ne)));
|
|
12738
12738
|
}
|
|
12739
|
-
we[ke + 4] =
|
|
12739
|
+
we[ke + 4] = Qt, Ce.push(Oe / Mt, er / Mt, 1 / 0, Qt, -1, Mt), _e && Ce.push(Wt);
|
|
12740
12740
|
} else {
|
|
12741
12741
|
for (let wt = 0; wt < Le; wt++) Ce.push(we[ke + wt]);
|
|
12742
12742
|
if (Mt > 1) for (const wt of nt) {
|
|
12743
12743
|
const Oe = wt * Le;
|
|
12744
12744
|
if (!(we[Oe + 2] <= X)) {
|
|
12745
12745
|
we[Oe + 2] = X;
|
|
12746
|
-
for (let
|
|
12746
|
+
for (let er = 0; er < Le; er++) Ce.push(we[Oe + er]);
|
|
12747
12747
|
}
|
|
12748
12748
|
}
|
|
12749
12749
|
}
|
|
@@ -12761,17 +12761,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12761
12761
|
const te = this.clusterProps[K[X + vr]];
|
|
12762
12762
|
return Q ? Object.assign({}, te) : te;
|
|
12763
12763
|
}
|
|
12764
|
-
const he = this.points[K[X +
|
|
12764
|
+
const he = this.points[K[X + Tt]].properties, _e = this.options.map(he);
|
|
12765
12765
|
return Q && _e === he ? Object.assign({}, _e) : _e;
|
|
12766
12766
|
}
|
|
12767
12767
|
}
|
|
12768
12768
|
function Vi(Se, K, X) {
|
|
12769
|
-
return { type: "Feature", id: Se[K +
|
|
12769
|
+
return { type: "Feature", id: Se[K + Tt], properties: ir(Se, K, X), geometry: { type: "Point", coordinates: [(Q = Se[K], 360 * (Q - 0.5)), qi(Se[K + 1])] } };
|
|
12770
12770
|
var Q;
|
|
12771
12771
|
}
|
|
12772
|
-
function
|
|
12772
|
+
function ir(Se, K, X) {
|
|
12773
12773
|
const Q = Se[K + Ft], he = Q >= 1e4 ? `${Math.round(Q / 1e3)}k` : Q >= 1e3 ? Math.round(Q / 100) / 10 + "k" : Q, _e = Se[K + vr], te = _e === -1 ? {} : Object.assign({}, X[_e]);
|
|
12774
|
-
return Object.assign(te, { cluster: !0, cluster_id: Se[K +
|
|
12774
|
+
return Object.assign(te, { cluster: !0, cluster_id: Se[K + Tt], point_count: Q, point_count_abbreviated: he });
|
|
12775
12775
|
}
|
|
12776
12776
|
function ln(Se) {
|
|
12777
12777
|
return Se / 360 + 0.5;
|
|
@@ -12850,12 +12850,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12850
12850
|
Se.push(Li(we, _e, Me, K.properties));
|
|
12851
12851
|
}
|
|
12852
12852
|
function ct(Se, K) {
|
|
12853
|
-
K.push(
|
|
12853
|
+
K.push(kt(Se[0]), Pt(Se[1]), 0);
|
|
12854
12854
|
}
|
|
12855
12855
|
function Rt(Se, K, X, Q) {
|
|
12856
12856
|
let he, _e, te = 0;
|
|
12857
12857
|
for (let we = 0; we < Se.length; we++) {
|
|
12858
|
-
const Ce =
|
|
12858
|
+
const Ce = kt(Se[we][0]), Le = Pt(Se[we][1]);
|
|
12859
12859
|
K.push(Ce, Le, 0), we > 0 && (te += Q ? (he * Le - Ce * _e) / 2 : Math.sqrt(Math.pow(Ce - he, 2) + Math.pow(Le - _e, 2))), he = Ce, _e = Le;
|
|
12860
12860
|
}
|
|
12861
12861
|
const Me = K.length - 3;
|
|
@@ -12867,7 +12867,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12867
12867
|
Rt(Se[he], _e, X, Q), K.push(_e);
|
|
12868
12868
|
}
|
|
12869
12869
|
}
|
|
12870
|
-
function
|
|
12870
|
+
function kt(Se) {
|
|
12871
12871
|
return Se / 360 + 0.5;
|
|
12872
12872
|
}
|
|
12873
12873
|
function Pt(Se) {
|
|
@@ -12917,9 +12917,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12917
12917
|
const we = he === 0 ? cn : Fn;
|
|
12918
12918
|
let Ce, Le, ke = Se.start;
|
|
12919
12919
|
for (let Mt = 0; Mt < Se.length - 3; Mt += 3) {
|
|
12920
|
-
const wt = Se[Mt], Oe = Se[Mt + 1],
|
|
12920
|
+
const wt = Se[Mt], Oe = Se[Mt + 1], er = Se[Mt + 2], Wt = Se[Mt + 3], Qt = Se[Mt + 4], bt = he === 0 ? wt : Oe, Ne = he === 0 ? Wt : Qt;
|
|
12921
12921
|
let vt = !1;
|
|
12922
|
-
te && (Ce = Math.sqrt(Math.pow(wt - Wt, 2) + Math.pow(Oe -
|
|
12922
|
+
te && (Ce = Math.sqrt(Math.pow(wt - Wt, 2) + Math.pow(Oe - Qt, 2))), bt < X ? Ne > X && (Le = we(Me, wt, Oe, Wt, Qt, X), te && (Me.start = ke + Ce * Le)) : bt > Q ? Ne < Q && (Le = we(Me, wt, Oe, Wt, Qt, Q), te && (Me.start = ke + Ce * Le)) : ui(Me, wt, Oe, er), Ne < X && bt >= X && (Le = we(Me, wt, Oe, Wt, Qt, X), vt = !0), Ne > Q && bt <= Q && (Le = we(Me, wt, Oe, Wt, Qt, Q), vt = !0), !_e && vt && (te && (Me.end = ke + Ce * Le), K.push(Me), Me = ji(Se)), te && (ke += Ce);
|
|
12923
12923
|
}
|
|
12924
12924
|
let We = Se.length - 3;
|
|
12925
12925
|
const rt = Se[We], nt = Se[We + 1], mt = he === 0 ? rt : nt;
|
|
@@ -12948,15 +12948,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12948
12948
|
for (let Q = 0; Q < Se.length; Q++) {
|
|
12949
12949
|
const he = Se[Q], _e = he.type;
|
|
12950
12950
|
let te;
|
|
12951
|
-
if (_e === "Point" || _e === "MultiPoint" || _e === "LineString") te =
|
|
12951
|
+
if (_e === "Point" || _e === "MultiPoint" || _e === "LineString") te = sr(he.geometry, K);
|
|
12952
12952
|
else if (_e === "MultiLineString" || _e === "Polygon") {
|
|
12953
12953
|
te = [];
|
|
12954
|
-
for (const Me of he.geometry) te.push(
|
|
12954
|
+
for (const Me of he.geometry) te.push(sr(Me, K));
|
|
12955
12955
|
} else if (_e === "MultiPolygon") {
|
|
12956
12956
|
te = [];
|
|
12957
12957
|
for (const Me of he.geometry) {
|
|
12958
12958
|
const we = [];
|
|
12959
|
-
for (const Ce of Me) we.push(
|
|
12959
|
+
for (const Ce of Me) we.push(sr(Ce, K));
|
|
12960
12960
|
te.push(we);
|
|
12961
12961
|
}
|
|
12962
12962
|
}
|
|
@@ -12964,42 +12964,42 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12964
12964
|
}
|
|
12965
12965
|
return X;
|
|
12966
12966
|
}
|
|
12967
|
-
function
|
|
12967
|
+
function sr(Se, K) {
|
|
12968
12968
|
const X = [];
|
|
12969
12969
|
X.size = Se.size, Se.start !== void 0 && (X.start = Se.start, X.end = Se.end);
|
|
12970
12970
|
for (let Q = 0; Q < Se.length; Q += 3) X.push(Se[Q] + K, Se[Q + 1], Se[Q + 2]);
|
|
12971
12971
|
return X;
|
|
12972
12972
|
}
|
|
12973
|
-
function
|
|
12973
|
+
function nr(Se, K) {
|
|
12974
12974
|
if (Se.transformed) return Se;
|
|
12975
12975
|
const X = 1 << Se.z, Q = Se.x, he = Se.y;
|
|
12976
12976
|
for (const _e of Se.features) {
|
|
12977
12977
|
const te = _e.geometry, Me = _e.type;
|
|
12978
|
-
if (_e.geometry = [], Me === 1) for (let we = 0; we < te.length; we += 2) _e.geometry.push(
|
|
12978
|
+
if (_e.geometry = [], Me === 1) for (let we = 0; we < te.length; we += 2) _e.geometry.push(At(te[we], te[we + 1], K, X, Q, he));
|
|
12979
12979
|
else for (let we = 0; we < te.length; we++) {
|
|
12980
12980
|
const Ce = [];
|
|
12981
|
-
for (let Le = 0; Le < te[we].length; Le += 2) Ce.push(
|
|
12981
|
+
for (let Le = 0; Le < te[we].length; Le += 2) Ce.push(At(te[we][Le], te[we][Le + 1], K, X, Q, he));
|
|
12982
12982
|
_e.geometry.push(Ce);
|
|
12983
12983
|
}
|
|
12984
12984
|
}
|
|
12985
12985
|
return Se.transformed = !0, Se;
|
|
12986
12986
|
}
|
|
12987
|
-
function
|
|
12987
|
+
function At(Se, K, X, Q, he, _e) {
|
|
12988
12988
|
return [Math.round(X * (Se * Q - he)), Math.round(X * (K * Q - _e))];
|
|
12989
12989
|
}
|
|
12990
|
-
function
|
|
12990
|
+
function Sr(Se, K, X, Q, he) {
|
|
12991
12991
|
const _e = K === he.maxZoom ? 0 : he.tolerance / ((1 << K) * he.extent), te = { features: [], numPoints: 0, numSimplified: 0, numFeatures: Se.length, source: null, x: X, y: Q, z: K, transformed: !1, minX: 2, minY: 1, maxX: -1, maxY: 0 };
|
|
12992
|
-
for (const Me of Se)
|
|
12992
|
+
for (const Me of Se) Wr(te, Me, _e, he);
|
|
12993
12993
|
return te;
|
|
12994
12994
|
}
|
|
12995
|
-
function
|
|
12995
|
+
function Wr(Se, K, X, Q) {
|
|
12996
12996
|
const he = K.geometry, _e = K.type, te = [];
|
|
12997
12997
|
if (Se.minX = Math.min(Se.minX, K.minX), Se.minY = Math.min(Se.minY, K.minY), Se.maxX = Math.max(Se.maxX, K.maxX), Se.maxY = Math.max(Se.maxY, K.maxY), _e === "Point" || _e === "MultiPoint") for (let Me = 0; Me < he.length; Me += 3) te.push(he[Me], he[Me + 1]), Se.numPoints++, Se.numSimplified++;
|
|
12998
|
-
else if (_e === "LineString")
|
|
12999
|
-
else if (_e === "MultiLineString" || _e === "Polygon") for (let Me = 0; Me < he.length; Me++)
|
|
12998
|
+
else if (_e === "LineString") Vr(te, he, Se, X, !1, !1);
|
|
12999
|
+
else if (_e === "MultiLineString" || _e === "Polygon") for (let Me = 0; Me < he.length; Me++) Vr(te, he[Me], Se, X, _e === "Polygon", Me === 0);
|
|
13000
13000
|
else if (_e === "MultiPolygon") for (let Me = 0; Me < he.length; Me++) {
|
|
13001
13001
|
const we = he[Me];
|
|
13002
|
-
for (let Ce = 0; Ce < we.length; Ce++)
|
|
13002
|
+
for (let Ce = 0; Ce < we.length; Ce++) Vr(te, we[Ce], Se, X, !0, Ce === 0);
|
|
13003
13003
|
}
|
|
13004
13004
|
if (te.length) {
|
|
13005
13005
|
let Me = K.tags || null;
|
|
@@ -13012,7 +13012,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13012
13012
|
K.id !== null && (we.id = K.id), Se.features.push(we);
|
|
13013
13013
|
}
|
|
13014
13014
|
}
|
|
13015
|
-
function
|
|
13015
|
+
function Vr(Se, K, X, Q, he, _e) {
|
|
13016
13016
|
const te = Q * Q;
|
|
13017
13017
|
if (Q > 0 && K.size < (he ? te : Q)) return void (X.numPoints += K.length / 3);
|
|
13018
13018
|
const Me = [];
|
|
@@ -13026,13 +13026,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13026
13026
|
}
|
|
13027
13027
|
}(Me, _e), Se.push(Me);
|
|
13028
13028
|
}
|
|
13029
|
-
const
|
|
13030
|
-
class
|
|
13029
|
+
const Jt = { maxZoom: 14, indexMaxZoom: 5, indexMaxPoints: 1e5, tolerance: 3, extent: 4096, buffer: 64, lineMetrics: !1, promoteId: null, generateId: !1, debug: 0 };
|
|
13030
|
+
class Jr {
|
|
13031
13031
|
constructor(K, X) {
|
|
13032
13032
|
const Q = (X = this.options = function(_e, te) {
|
|
13033
13033
|
for (const Me in te) _e[Me] = te[Me];
|
|
13034
13034
|
return _e;
|
|
13035
|
-
}(Object.create(
|
|
13035
|
+
}(Object.create(Jt), X)).debug;
|
|
13036
13036
|
if (Q && console.time("preprocess data"), X.maxZoom < 0 || X.maxZoom > 24) throw new Error("maxZoom should be in the 0-24 range");
|
|
13037
13037
|
if (X.promoteId && X.generateId) throw new Error("promoteId and generateId cannot be used together.");
|
|
13038
13038
|
let he = function(_e, te) {
|
|
@@ -13054,7 +13054,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13054
13054
|
he = we.pop(), Q = we.pop(), X = we.pop(), K = we.pop();
|
|
13055
13055
|
const ke = 1 << X, We = hi(X, Q, he);
|
|
13056
13056
|
let rt = this.tiles[We];
|
|
13057
|
-
if (!rt && (Le > 1 && console.time("creation"), rt = this.tiles[We] =
|
|
13057
|
+
if (!rt && (Le > 1 && console.time("creation"), rt = this.tiles[We] = Sr(K, X, Q, he, Ce), this.tileCoords.push({ z: X, x: Q, y: he }), Le)) {
|
|
13058
13058
|
Le > 1 && (console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)", X, Q, he, rt.numFeatures, rt.numPoints, rt.numSimplified), console.timeEnd("creation"));
|
|
13059
13059
|
const vt = `z${X}`;
|
|
13060
13060
|
this.stats[vt] = (this.stats[vt] || 0) + 1, this.total++;
|
|
@@ -13071,8 +13071,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13071
13071
|
if (rt.source = null, K.length === 0) continue;
|
|
13072
13072
|
Le > 1 && console.time("clipping");
|
|
13073
13073
|
const nt = 0.5 * Ce.buffer / Ce.extent, mt = 0.5 - nt, Mt = 0.5 + nt, wt = 1 + nt;
|
|
13074
|
-
let Oe = null,
|
|
13075
|
-
K = null, bt && (Oe = It(bt, ke, he - nt, he + Mt, 1, rt.minY, rt.maxY, Ce),
|
|
13074
|
+
let Oe = null, er = null, Wt = null, Qt = null, bt = It(K, ke, Q - nt, Q + Mt, 0, rt.minX, rt.maxX, Ce), Ne = It(K, ke, Q + mt, Q + wt, 0, rt.minX, rt.maxX, Ce);
|
|
13075
|
+
K = null, bt && (Oe = It(bt, ke, he - nt, he + Mt, 1, rt.minY, rt.maxY, Ce), er = It(bt, ke, he + mt, he + wt, 1, rt.minY, rt.maxY, Ce), bt = null), Ne && (Wt = It(Ne, ke, he - nt, he + Mt, 1, rt.minY, rt.maxY, Ce), Qt = It(Ne, ke, he + mt, he + wt, 1, rt.minY, rt.maxY, Ce), Ne = null), Le > 1 && console.timeEnd("clipping"), we.push(Oe || [], X + 1, 2 * Q, 2 * he), we.push(er || [], X + 1, 2 * Q, 2 * he + 1), we.push(Wt || [], X + 1, 2 * Q + 1, 2 * he), we.push(Qt || [], X + 1, 2 * Q + 1, 2 * he + 1);
|
|
13076
13076
|
}
|
|
13077
13077
|
}
|
|
13078
13078
|
getTile(K, X, Q) {
|
|
@@ -13080,11 +13080,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13080
13080
|
const he = this.options, { extent: _e, debug: te } = he;
|
|
13081
13081
|
if (K < 0 || K > 24) return null;
|
|
13082
13082
|
const Me = 1 << K, we = hi(K, X = X + Me & Me - 1, Q);
|
|
13083
|
-
if (this.tiles[we]) return
|
|
13083
|
+
if (this.tiles[we]) return nr(this.tiles[we], _e);
|
|
13084
13084
|
te > 1 && console.log("drilling down to z%d-%d-%d", K, X, Q);
|
|
13085
13085
|
let Ce, Le = K, ke = X, We = Q;
|
|
13086
13086
|
for (; !Ce && Le > 0; ) Le--, ke >>= 1, We >>= 1, Ce = this.tiles[hi(Le, ke, We)];
|
|
13087
|
-
return Ce && Ce.source ? (te > 1 && (console.log("found parent tile z%d-%d-%d", Le, ke, We), console.time("drilling down")), this.splitTile(Ce.source, Le, ke, We, K, X, Q), te > 1 && console.timeEnd("drilling down"), this.tiles[we] ?
|
|
13087
|
+
return Ce && Ce.source ? (te > 1 && (console.log("found parent tile z%d-%d-%d", Le, ke, We), console.time("drilling down")), this.splitTile(Ce.source, Le, ke, We, K, X, Q), te > 1 && console.timeEnd("drilling down"), this.tiles[we] ? nr(this.tiles[we], _e) : null) : null;
|
|
13088
13088
|
}
|
|
13089
13089
|
}
|
|
13090
13090
|
function hi(Se, K, X) {
|
|
@@ -13151,7 +13151,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13151
13151
|
ke.properties = nt;
|
|
13152
13152
|
for (const mt of We) Le.accumulated = rt[mt], rt[mt] = Ce[mt].evaluate(Le, ke);
|
|
13153
13153
|
}, te;
|
|
13154
|
-
}(K)).load((yield this._pendingData).features) : (he = yield this._pendingData, new
|
|
13154
|
+
}(K)).load((yield this._pendingData).features) : (he = yield this._pendingData, new Jr(he, K.geojsonVtOptions)), this.loaded = {};
|
|
13155
13155
|
const _e = {};
|
|
13156
13156
|
if (Q) {
|
|
13157
13157
|
const te = Q.finish();
|
|
@@ -13656,10 +13656,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13656
13656
|
}
|
|
13657
13657
|
const Ye = 1e20;
|
|
13658
13658
|
function it(h, e, r, a, l, p, g, b, S) {
|
|
13659
|
-
for (let E = e; E < e + a; E++)
|
|
13660
|
-
for (let E = r; E < r + l; E++)
|
|
13659
|
+
for (let E = e; E < e + a; E++) Tt(h, r * p + E, p, l, g, b, S);
|
|
13660
|
+
for (let E = r; E < r + l; E++) Tt(h, E * p + e, 1, a, g, b, S);
|
|
13661
13661
|
}
|
|
13662
|
-
function
|
|
13662
|
+
function Tt(h, e, r, a, l, p, g) {
|
|
13663
13663
|
p[0] = 0, g[0] = -1e20, g[1] = Ye, l[0] = h[e];
|
|
13664
13664
|
for (let b = 1, S = 0, E = 0; b < a; b++) {
|
|
13665
13665
|
l[b] = h[e + b * r];
|
|
@@ -13808,10 +13808,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13808
13808
|
return (!a || a.validate !== !1) && s.x(this, e.call(s.y, { value: r, style: { glyphs: !0, sprite: !0 }, styleSpec: s.v }));
|
|
13809
13809
|
}
|
|
13810
13810
|
}
|
|
13811
|
-
const
|
|
13811
|
+
const ir = new s.r({ "sky-color": new s.D(s.v.sky["sky-color"]), "horizon-color": new s.D(s.v.sky["horizon-color"]), "fog-color": new s.D(s.v.sky["fog-color"]), "fog-ground-blend": new s.D(s.v.sky["fog-ground-blend"]), "horizon-fog-blend": new s.D(s.v.sky["horizon-fog-blend"]), "sky-horizon-blend": new s.D(s.v.sky["sky-horizon-blend"]), "atmosphere-blend": new s.D(s.v.sky["atmosphere-blend"]) });
|
|
13812
13812
|
class ln extends s.E {
|
|
13813
13813
|
constructor(e) {
|
|
13814
|
-
super(), this._transitionable = new s.T(
|
|
13814
|
+
super(), this._transitionable = new s.T(ir), this.setSky(e), this._transitioning = this._transitionable.untransitioned(), this.recalculate(new s.C(0));
|
|
13815
13815
|
}
|
|
13816
13816
|
setSky(e, r = {}) {
|
|
13817
13817
|
if (!this._validate(s.F, e, r)) {
|
|
@@ -13972,7 +13972,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13972
13972
|
const r = s.K();
|
|
13973
13973
|
return s.L(r, r, [1, 1, 0]), s.M(r, r, [0.5 * h.width, 0.5 * h.height, 1]), h.calculatePosMatrix ? s.N(r, r, h.calculatePosMatrix(e.toUnwrapped())) : r;
|
|
13974
13974
|
}
|
|
13975
|
-
function
|
|
13975
|
+
function kt(h, e, r, a, l, p, g) {
|
|
13976
13976
|
var b;
|
|
13977
13977
|
const S = function(F, H, G) {
|
|
13978
13978
|
if (F) for (const ne of F) {
|
|
@@ -14501,7 +14501,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14501
14501
|
return g;
|
|
14502
14502
|
}
|
|
14503
14503
|
}
|
|
14504
|
-
class
|
|
14504
|
+
class sr extends _i {
|
|
14505
14505
|
constructor(e, r, a, l) {
|
|
14506
14506
|
super(e, r, a, l), this.roundZoom = !0, this.type = "video", this.options = r;
|
|
14507
14507
|
}
|
|
@@ -14558,7 +14558,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14558
14558
|
return this.video && !this.video.paused;
|
|
14559
14559
|
}
|
|
14560
14560
|
}
|
|
14561
|
-
class
|
|
14561
|
+
class nr extends _i {
|
|
14562
14562
|
constructor(e, r, a, l) {
|
|
14563
14563
|
super(e, r, a, l), r.coordinates ? Array.isArray(r.coordinates) && r.coordinates.length === 4 && !r.coordinates.some((p) => !Array.isArray(p) || p.length !== 2 || p.some((g) => typeof g != "number")) || this.fire(new s.k(new s.a3(`sources.${e}`, null, '"coordinates" property must be an array of 4 longitude/latitude array pairs'))) : this.fire(new s.k(new s.a3(`sources.${e}`, null, 'missing required property "coordinates"'))), r.animate && typeof r.animate != "boolean" && this.fire(new s.k(new s.a3(`sources.${e}`, null, 'optional "animate" property must be a boolean value'))), r.canvas ? typeof r.canvas == "string" || r.canvas instanceof HTMLCanvasElement || this.fire(new s.k(new s.a3(`sources.${e}`, null, '"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))) : this.fire(new s.k(new s.a3(`sources.${e}`, null, 'missing required property "canvas"'))), this.options = r, this.animate = r.animate === void 0 || r.animate;
|
|
14564
14564
|
}
|
|
@@ -14603,7 +14603,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14603
14603
|
return !1;
|
|
14604
14604
|
}
|
|
14605
14605
|
}
|
|
14606
|
-
const
|
|
14606
|
+
const At = {}, Sr = (h) => {
|
|
14607
14607
|
switch (h) {
|
|
14608
14608
|
case "geojson":
|
|
14609
14609
|
return Fn;
|
|
@@ -14616,13 +14616,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14616
14616
|
case "vector":
|
|
14617
14617
|
return Fr;
|
|
14618
14618
|
case "video":
|
|
14619
|
-
return
|
|
14619
|
+
return sr;
|
|
14620
14620
|
case "canvas":
|
|
14621
|
-
return
|
|
14621
|
+
return nr;
|
|
14622
14622
|
}
|
|
14623
|
-
return
|
|
14624
|
-
},
|
|
14625
|
-
class
|
|
14623
|
+
return At[h];
|
|
14624
|
+
}, Wr = "RTLPluginLoaded";
|
|
14625
|
+
class Vr extends s.E {
|
|
14626
14626
|
constructor() {
|
|
14627
14627
|
super(...arguments), this.status = "unavailable", this.url = null, this.dispatcher = Rt();
|
|
14628
14628
|
}
|
|
@@ -14649,16 +14649,16 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14649
14649
|
}
|
|
14650
14650
|
_requestImport() {
|
|
14651
14651
|
return s._(this, void 0, void 0, function* () {
|
|
14652
|
-
yield this._syncState("loading"), this.status = "loaded", this.fire(new s.l(
|
|
14652
|
+
yield this._syncState("loading"), this.status = "loaded", this.fire(new s.l(Wr));
|
|
14653
14653
|
});
|
|
14654
14654
|
}
|
|
14655
14655
|
lazyLoad() {
|
|
14656
14656
|
this.status === "unavailable" ? this.status = "requested" : this.status === "deferred" && this._requestImport();
|
|
14657
14657
|
}
|
|
14658
14658
|
}
|
|
14659
|
-
let
|
|
14660
|
-
function
|
|
14661
|
-
return
|
|
14659
|
+
let Jt = null;
|
|
14660
|
+
function Jr() {
|
|
14661
|
+
return Jt || (Jt = new Vr()), Jt;
|
|
14662
14662
|
}
|
|
14663
14663
|
class hi {
|
|
14664
14664
|
constructor(e, r) {
|
|
@@ -14698,7 +14698,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14698
14698
|
if (this.hasRTLText = !1, this.hasSymbolBuckets) for (const l in this.buckets) {
|
|
14699
14699
|
const p = this.buckets[l];
|
|
14700
14700
|
if (p instanceof s.a6 && p.hasRTLText) {
|
|
14701
|
-
this.hasRTLText = !0,
|
|
14701
|
+
this.hasRTLText = !0, Jr().lazyLoad();
|
|
14702
14702
|
break;
|
|
14703
14703
|
}
|
|
14704
14704
|
}
|
|
@@ -15002,7 +15002,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
15002
15002
|
}), this.on("error", () => {
|
|
15003
15003
|
this._sourceErrored = this._source.loaded();
|
|
15004
15004
|
}), this._source = ((l, p, g, b) => {
|
|
15005
|
-
const S = new (
|
|
15005
|
+
const S = new (Sr(p.type))(l, p, g, b);
|
|
15006
15006
|
if (S.id !== l) throw new Error(`Expected Source id to be ${l} instead of ${S.id}`);
|
|
15007
15007
|
return S;
|
|
15008
15008
|
})(e, r, a, this), this._tiles = {}, this._cache = new vi(0, (l) => this._unloadTile(l)), this._timers = {}, this._cacheTimers = {}, this._maxTileCacheSize = null, this._maxTileCacheZoomLevels = null, this._loadedParentTiles = {}, this._coveredTiles = {}, this._state = new Ri(), this._didEmitContent = !1, this._updated = !1;
|
|
@@ -15540,13 +15540,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
15540
15540
|
const p = l[3];
|
|
15541
15541
|
return { point: new s.P(l[0] / p, l[1] / p), signedDistanceFromCamera: p, isOccluded: !1 };
|
|
15542
15542
|
}
|
|
15543
|
-
function
|
|
15543
|
+
function er(h, e) {
|
|
15544
15544
|
return 0.5 + h / e * 0.5;
|
|
15545
15545
|
}
|
|
15546
15546
|
function Wt(h, e) {
|
|
15547
15547
|
return h.x >= -e[0] && h.x <= e[0] && h.y >= -e[1] && h.y <= e[1];
|
|
15548
15548
|
}
|
|
15549
|
-
function
|
|
15549
|
+
function Qt(h, e, r, a, l, p, g, b, S, E, z, V, F) {
|
|
15550
15550
|
const H = r ? h.textSizeData : h.iconSizeData, G = s.ak(H, e.transform.zoom), ne = [256 / e.width * 2 + 1, 256 / e.height * 2 + 1], ie = r ? h.text.dynamicLayoutVertexArray : h.icon.dynamicLayoutVertexArray;
|
|
15551
15551
|
ie.clear();
|
|
15552
15552
|
const oe = h.lineVertexArray, ce = r ? h.text.placedSymbolArray : h.icon.placedSymbolArray, me = e.transform.width / e.transform.height;
|
|
@@ -15563,7 +15563,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
15563
15563
|
kn(xe.numGlyphs, ie);
|
|
15564
15564
|
continue;
|
|
15565
15565
|
}
|
|
15566
|
-
const ze =
|
|
15566
|
+
const ze = er(e.transform.cameraToCenterDistance, Ve.signedDistanceFromCamera), De = s.am(H, G, xe), Be = p ? De * e.transform.getPitchedTextCorrection(xe.anchorX, xe.anchorY, S) / ze : De * ze, tt = vt({ projectionContext: Ie, pitchedLabelPlaneMatrixInverse: l, symbol: xe, fontSize: Be, flip: !1, keepUpright: g, glyphOffsetArray: h.glyphOffsetArray, dynamicLayoutVertexArray: ie, aspectRatio: me, rotateToLine: b });
|
|
15567
15567
|
fe = tt.useVertical, (tt.notEnoughRoom || fe || tt.needsFlipping && vt({ projectionContext: Ie, pitchedLabelPlaneMatrixInverse: l, symbol: xe, fontSize: Be, flip: !0, keepUpright: g, glyphOffsetArray: h.glyphOffsetArray, dynamicLayoutVertexArray: ie, aspectRatio: me, rotateToLine: b }).notEnoughRoom) && kn(xe.numGlyphs, ie);
|
|
15568
15568
|
}
|
|
15569
15569
|
r ? h.text.dynamicLayoutVertexBuffer.updateData(ie) : h.icon.dynamicLayoutVertexBuffer.updateData(ie);
|
|
@@ -15675,10 +15675,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
15675
15675
|
const a = e[0], l = e[1];
|
|
15676
15676
|
return h[0] = r[0] * a + r[4] * l + r[12], h[1] = r[1] * a + r[5] * l + r[13], h[3] = r[3] * a + r[7] * l + r[15], h;
|
|
15677
15677
|
}
|
|
15678
|
-
const
|
|
15678
|
+
const Ur = 100;
|
|
15679
15679
|
class Ni {
|
|
15680
15680
|
constructor(e, r = new nt(e.width + 200, e.height + 200, 25), a = new nt(e.width + 200, e.height + 200, 25)) {
|
|
15681
|
-
this.transform = e, this.grid = r, this.ignoredGrid = a, this.pitchFactor = Math.cos(e.pitch * Math.PI / 180) * e.cameraToCenterDistance, this.screenRightBoundary = e.width +
|
|
15681
|
+
this.transform = e, this.grid = r, this.ignoredGrid = a, this.pitchFactor = Math.cos(e.pitch * Math.PI / 180) * e.cameraToCenterDistance, this.screenRightBoundary = e.width + Ur, this.screenBottomBoundary = e.height + Ur, this.gridRightBoundary = e.width + 200, this.gridBottomBoundary = e.height + 200, this.perspectiveRatioCutoff = 0.6;
|
|
15682
15682
|
}
|
|
15683
15683
|
placeCollisionBox(e, r, a, l, p, g, b, S, E, z, V, F) {
|
|
15684
15684
|
const H = this.projectAndGetPerspectiveRatio(e.anchorPointX + S[0], e.anchorPointY + S[1], p, z, F), G = a * H.perspectiveRatio;
|
|
@@ -15716,10 +15716,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
15716
15716
|
let Kt = 0;
|
|
15717
15717
|
Kt = De.length <= 0.5 * Ie ? 1 : Math.ceil(De.paddedLength / Ke) + 1;
|
|
15718
15718
|
for (let Tr = 0; Tr < Kt; Tr++) {
|
|
15719
|
-
const ur = Tr / Math.max(Kt - 1, 1), Cr = De.lerp(ur), Pr = Cr.x +
|
|
15719
|
+
const ur = Tr / Math.max(Kt - 1, 1), Cr = De.lerp(ur), Pr = Cr.x + Ur, pr = Cr.y + Ur;
|
|
15720
15720
|
ne.push(Pr, pr, Ie, 0);
|
|
15721
|
-
const
|
|
15722
|
-
if (ye = ye && this.isOffscreen(
|
|
15721
|
+
const Yt = Pr - Ie, Qr = pr - Ie, si = Pr + Ie, fi = pr + Ie;
|
|
15722
|
+
if (ye = ye && this.isOffscreen(Yt, Qr, si, fi), xe = xe || this.isInsideGrid(Yt, Qr, si, fi), e !== "always" && this.grid.hitTestCircle(Pr, pr, Ie, e, z) && (ge = !0, !S)) return { circles: [], offscreen: !1, collisionDetected: ge };
|
|
15723
15723
|
}
|
|
15724
15724
|
}
|
|
15725
15725
|
}
|
|
@@ -15744,7 +15744,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
15744
15744
|
const r = [];
|
|
15745
15745
|
let a = 1 / 0, l = 1 / 0, p = -1 / 0, g = -1 / 0;
|
|
15746
15746
|
for (const z of e) {
|
|
15747
|
-
const V = new s.P(z.x +
|
|
15747
|
+
const V = new s.P(z.x + Ur, z.y + Ur);
|
|
15748
15748
|
a = Math.min(a, V.x), l = Math.min(l, V.y), p = Math.max(p, V.x), g = Math.max(g, V.y), r.push(V);
|
|
15749
15749
|
}
|
|
15750
15750
|
const b = this.grid.query(a, l, p, g).concat(this.ignoredGrid.query(a, l, p, g)), S = {}, E = {};
|
|
@@ -15768,11 +15768,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
15768
15768
|
let g;
|
|
15769
15769
|
l ? (g = [e, r, l(e, r), 1], s.at(g, g, p)) : (g = [e, r, 0, 1], ts(g, g, p));
|
|
15770
15770
|
const b = g[3];
|
|
15771
|
-
return { x: (g[0] / b + 1) / 2 * this.transform.width +
|
|
15771
|
+
return { x: (g[0] / b + 1) / 2 * this.transform.width + Ur, y: (-g[1] / b + 1) / 2 * this.transform.height + Ur, perspectiveRatio: 0.5 + this.transform.cameraToCenterDistance / b * 0.5, isOccluded: !1, signedDistanceFromCamera: b };
|
|
15772
15772
|
}
|
|
15773
15773
|
{
|
|
15774
15774
|
const g = this.transform.projectTileCoordinates(e, r, a, l);
|
|
15775
|
-
return { x: (g.point.x + 1) / 2 * this.transform.width +
|
|
15775
|
+
return { x: (g.point.x + 1) / 2 * this.transform.width + Ur, y: (1 - g.point.y) / 2 * this.transform.height + Ur, perspectiveRatio: 0.5 + this.transform.cameraToCenterDistance / g.signedDistanceFromCamera * 0.5, isOccluded: g.isOccluded, signedDistanceFromCamera: g.signedDistanceFromCamera };
|
|
15776
15776
|
}
|
|
15777
15777
|
}
|
|
15778
15778
|
getPerspectiveRatio(e, r, a, l) {
|
|
@@ -15780,7 +15780,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
15780
15780
|
return 0.5 + this.transform.cameraToCenterDistance / p.signedDistanceFromCamera * 0.5;
|
|
15781
15781
|
}
|
|
15782
15782
|
isOffscreen(e, r, a, l) {
|
|
15783
|
-
return a <
|
|
15783
|
+
return a < Ur || e >= this.screenRightBoundary || l < Ur || r > this.screenBottomBoundary;
|
|
15784
15784
|
}
|
|
15785
15785
|
isInsideGrid(e, r, a, l) {
|
|
15786
15786
|
return a >= 0 && e < this.gridRightBoundary && l >= 0 && r < this.gridBottomBoundary;
|
|
@@ -15890,73 +15890,73 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
15890
15890
|
var Kt, Tr;
|
|
15891
15891
|
if (r[Ke.crossTileID]) return;
|
|
15892
15892
|
if (V) return void (this.placements[Ke.crossTileID] = new ks(!1, !1, !1));
|
|
15893
|
-
let ur = !1, Cr = !1, Pr = !0, pr = null,
|
|
15893
|
+
let ur = !1, Cr = !1, Pr = !0, pr = null, Yt = { box: null, placeable: !1, offscreen: null, occluded: !1 }, Qr = { placeable: !1 }, si = null, fi = null, $t = null, jn = 0, Sn = 0, Nn = 0;
|
|
15894
15894
|
ht.textFeatureIndex ? jn = ht.textFeatureIndex : Ke.useRuntimeCollisionCircles && (jn = Ke.featureIndex), ht.verticalTextFeatureIndex && (Sn = ht.verticalTextFeatureIndex);
|
|
15895
15895
|
const gs = ht.textBox;
|
|
15896
15896
|
if (gs) {
|
|
15897
|
-
const Zi = (
|
|
15898
|
-
let
|
|
15899
|
-
if (l.allowVerticalPlacement && !
|
|
15897
|
+
const Zi = (Zr) => {
|
|
15898
|
+
let Kr = s.al.horizontal;
|
|
15899
|
+
if (l.allowVerticalPlacement && !Zr && this.prevPlacement) {
|
|
15900
15900
|
const Ii = this.prevPlacement.placedOrientations[Ke.crossTileID];
|
|
15901
|
-
Ii && (this.placedOrientations[Ke.crossTileID] = Ii,
|
|
15901
|
+
Ii && (this.placedOrientations[Ke.crossTileID] = Ii, Kr = Ii, this.markUsedOrientation(l, Kr, Ke));
|
|
15902
15902
|
}
|
|
15903
|
-
return
|
|
15904
|
-
}, Hn = (
|
|
15903
|
+
return Kr;
|
|
15904
|
+
}, Hn = (Zr, Kr) => {
|
|
15905
15905
|
if (l.allowVerticalPlacement && Ke.numVerticalGlyphVertices > 0 && ht.verticalTextBox) {
|
|
15906
|
-
for (const Ii of l.writingModes) if (Ii === s.al.vertical ? (
|
|
15907
|
-
} else
|
|
15906
|
+
for (const Ii of l.writingModes) if (Ii === s.al.vertical ? (Yt = Kr(), Qr = Yt) : Yt = Zr(), Yt && Yt.placeable) break;
|
|
15907
|
+
} else Yt = Zr();
|
|
15908
15908
|
}, In = Ke.textAnchorOffsetStartIndex, Zn = Ke.textAnchorOffsetEndIndex;
|
|
15909
15909
|
if (Zn === In) {
|
|
15910
|
-
const
|
|
15911
|
-
const yr = this.collisionIndex.placeCollisionBox(
|
|
15910
|
+
const Zr = (Kr, Ii) => {
|
|
15911
|
+
const yr = this.collisionIndex.placeCollisionBox(Kr, oe, z, De, S, xe, ge, g, G.predicate, Be, void 0, tt);
|
|
15912
15912
|
return yr && yr.placeable && (this.markUsedOrientation(l, Ii, Ke), this.placedOrientations[Ke.crossTileID] = Ii), yr;
|
|
15913
15913
|
};
|
|
15914
|
-
Hn(() =>
|
|
15915
|
-
const
|
|
15916
|
-
return l.allowVerticalPlacement && Ke.numVerticalGlyphVertices > 0 &&
|
|
15917
|
-
}), Zi(
|
|
15914
|
+
Hn(() => Zr(gs, s.al.horizontal), () => {
|
|
15915
|
+
const Kr = ht.verticalTextBox;
|
|
15916
|
+
return l.allowVerticalPlacement && Ke.numVerticalGlyphVertices > 0 && Kr ? Zr(Kr, s.al.vertical) : { box: null, offscreen: null };
|
|
15917
|
+
}), Zi(Yt && Yt.placeable);
|
|
15918
15918
|
} else {
|
|
15919
|
-
let
|
|
15920
|
-
const
|
|
15919
|
+
let Zr = s.aB[(Tr = (Kt = this.prevPlacement) === null || Kt === void 0 ? void 0 : Kt.variableOffsets[Ke.crossTileID]) === null || Tr === void 0 ? void 0 : Tr.anchor];
|
|
15920
|
+
const Kr = (yr, za, _u) => {
|
|
15921
15921
|
const vu = yr.x2 - yr.x1, cp = yr.y2 - yr.y1, Zl = Ke.textBoxScale, zo = ye && me === "never" ? za : null;
|
|
15922
15922
|
let tn = null, An = oe === "never" ? 1 : 2, rn = "never";
|
|
15923
|
-
|
|
15923
|
+
Zr && An++;
|
|
15924
15924
|
for (let En = 0; En < An; En++) {
|
|
15925
15925
|
for (let Da = In; Da < Zn; Da++) {
|
|
15926
15926
|
const Kn = l.textAnchorOffsets.get(Da);
|
|
15927
|
-
if (
|
|
15927
|
+
if (Zr && Kn.textAnchor !== Zr) continue;
|
|
15928
15928
|
const Kl = this.attemptAnchorPlacement(Kn, yr, vu, cp, Zl, ge, xe, z, De, S, G, rn, Ke, l, _u, g, b, zo, Be);
|
|
15929
15929
|
if (Kl && (tn = Kl.placedGlyphBoxes, tn && tn.placeable)) return ur = !0, pr = Kl.shift, tn;
|
|
15930
15930
|
}
|
|
15931
|
-
|
|
15931
|
+
Zr ? Zr = null : rn = oe;
|
|
15932
15932
|
}
|
|
15933
15933
|
return a && !tn && (tn = { box: this.collisionIndex.placeCollisionBox(gs, "always", z, De, S, xe, ge, g, G.predicate, Be, void 0, tt).box, offscreen: !1, placeable: !1, occluded: !1 }), tn;
|
|
15934
15934
|
};
|
|
15935
|
-
Hn(() =>
|
|
15935
|
+
Hn(() => Kr(gs, ht.iconBox, s.al.horizontal), () => {
|
|
15936
15936
|
const yr = ht.verticalTextBox;
|
|
15937
|
-
return l.allowVerticalPlacement && (!
|
|
15938
|
-
}),
|
|
15939
|
-
const Ii = Zi(
|
|
15937
|
+
return l.allowVerticalPlacement && (!Yt || !Yt.placeable) && Ke.numVerticalGlyphVertices > 0 && yr ? Kr(yr, ht.verticalIconBox, s.al.vertical) : { box: null, occluded: !0, offscreen: null };
|
|
15938
|
+
}), Yt && (ur = Yt.placeable, Pr = Yt.offscreen);
|
|
15939
|
+
const Ii = Zi(Yt && Yt.placeable);
|
|
15940
15940
|
if (!ur && this.prevPlacement) {
|
|
15941
15941
|
const yr = this.prevPlacement.variableOffsets[Ke.crossTileID];
|
|
15942
15942
|
yr && (this.variableOffsets[Ke.crossTileID] = yr, this.markUsedJustification(l, yr.anchor, Ke, Ii));
|
|
15943
15943
|
}
|
|
15944
15944
|
}
|
|
15945
15945
|
}
|
|
15946
|
-
if (si =
|
|
15946
|
+
if (si = Yt, ur = si && si.placeable, Pr = si && si.offscreen, Ke.useRuntimeCollisionCircles) {
|
|
15947
15947
|
const Zi = l.text.placedSymbolArray.get(Ke.centerJustifiedTextSymbolIndex), Hn = s.am(l.textSizeData, H, Zi), In = p.get("text-padding");
|
|
15948
15948
|
fi = this.collisionIndex.placeCollisionCircles(oe, Zi, l.lineVertexArray, l.glyphOffsetArray, Hn, S, E, a, xe, G.predicate, Ke.collisionCircleDiameter, In, g, Be), fi.circles.length && fi.collisionDetected && !a && s.w("Collisions detected, but collision boxes are not shown"), ur = ce || fi.circles.length > 0 && !fi.collisionDetected, Pr = Pr && fi.offscreen;
|
|
15949
15949
|
}
|
|
15950
15950
|
if (ht.iconFeatureIndex && (Nn = ht.iconFeatureIndex), ht.iconBox) {
|
|
15951
15951
|
const Zi = (Hn) => this.collisionIndex.placeCollisionBox(Hn, me, z, De, S, xe, ge, b, G.predicate, Be, ye && pr ? pr : void 0, tt);
|
|
15952
|
-
Qr && Qr.placeable && ht.verticalIconBox ? (
|
|
15952
|
+
Qr && Qr.placeable && ht.verticalIconBox ? ($t = Zi(ht.verticalIconBox), Cr = $t.placeable) : ($t = Zi(ht.iconBox), Cr = $t.placeable), Pr = Pr && $t.offscreen;
|
|
15953
15953
|
}
|
|
15954
15954
|
const Ro = ne || Ke.numHorizontalGlyphVertices === 0 && Ke.numVerticalGlyphVertices === 0, Wn = ie || Ke.numIconVertices === 0;
|
|
15955
15955
|
Ro || Wn ? Wn ? Ro || (Cr = Cr && ur) : ur = Cr && ur : Cr = ur = Cr && ur;
|
|
15956
|
-
const ys = Cr &&
|
|
15957
|
-
if (ur && si.placeable && this.collisionIndex.insertCollisionBox(si.box, oe, p.get("text-ignore-placement"), l.bucketInstanceId, Qr && Qr.placeable && Sn ? Sn : jn, G.ID), ys && this.collisionIndex.insertCollisionBox(
|
|
15956
|
+
const ys = Cr && $t.placeable;
|
|
15957
|
+
if (ur && si.placeable && this.collisionIndex.insertCollisionBox(si.box, oe, p.get("text-ignore-placement"), l.bucketInstanceId, Qr && Qr.placeable && Sn ? Sn : jn, G.ID), ys && this.collisionIndex.insertCollisionBox($t.box, me, p.get("icon-ignore-placement"), l.bucketInstanceId, Nn, G.ID), fi && ur && this.collisionIndex.insertCollisionCircles(fi.circles, oe, p.get("text-ignore-placement"), l.bucketInstanceId, jn, G.ID), a && this.storeCollisionData(l.bucketInstanceId, Bt, ht, si, $t, fi), Ke.crossTileID === 0) throw new Error("symbolInstance.crossTileID can't be 0");
|
|
15958
15958
|
if (l.bucketInstanceId === 0) throw new Error("bucket.bucketInstanceId can't be 0");
|
|
15959
|
-
this.placements[Ke.crossTileID] = new ks((ur || Ve) && !(si != null && si.occluded), (Cr || ze) && !(
|
|
15959
|
+
this.placements[Ke.crossTileID] = new ks((ur || Ve) && !(si != null && si.occluded), (Cr || ze) && !($t != null && $t.occluded), Pr || l.justReloaded), r[Ke.crossTileID] = !0;
|
|
15960
15960
|
};
|
|
15961
15961
|
if (Ie) {
|
|
15962
15962
|
if (e.symbolInstanceStart !== 0) throw new Error("bucket.bucketInstanceId should be 0");
|
|
@@ -15976,7 +15976,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
15976
15976
|
if (g) {
|
|
15977
15977
|
let b = this.collisionCircleArrays[e];
|
|
15978
15978
|
b === void 0 && (b = this.collisionCircleArrays[e] = []);
|
|
15979
|
-
for (let S = 0; S < g.circles.length; S += 4) b.push(g.circles[S + 0] -
|
|
15979
|
+
for (let S = 0; S < g.circles.length; S += 4) b.push(g.circles[S + 0] - Ur), b.push(g.circles[S + 1] - Ur), b.push(g.circles[S + 2]), b.push(g.collisionDetected ? 1 : 0);
|
|
15980
15980
|
}
|
|
15981
15981
|
}
|
|
15982
15982
|
markUsedJustification(e, r, a, l) {
|
|
@@ -16095,7 +16095,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
16095
16095
|
}
|
|
16096
16096
|
function il(h, e, r, a, l, p) {
|
|
16097
16097
|
a && a.length !== 0 || (a = [0, 0, 0, 0]);
|
|
16098
|
-
const g = a[0] -
|
|
16098
|
+
const g = a[0] - Ur, b = a[1] - Ur, S = a[2] - Ur, E = a[3] - Ur;
|
|
16099
16099
|
h.emplaceBack(e ? 1 : 0, r ? 1 : 0, l || 0, p || 0, g, b), h.emplaceBack(e ? 1 : 0, r ? 1 : 0, l || 0, p || 0, S, b), h.emplaceBack(e ? 1 : 0, r ? 1 : 0, l || 0, p || 0, S, E), h.emplaceBack(e ? 1 : 0, r ? 1 : 0, l || 0, p || 0, g, E);
|
|
16100
16100
|
}
|
|
16101
16101
|
const Pc = Math.pow(2, 25), Ts = Math.pow(2, 24), Ic = Math.pow(2, 17), Bh = Math.pow(2, 16), Oh = Math.pow(2, 9), Fh = Math.pow(2, 8), Ec = Math.pow(2, 1);
|
|
@@ -17368,14 +17368,14 @@ uniform ${z} ${V} u_${F};
|
|
|
17368
17368
|
return [e.canonical.x / r, e.canonical.y / r, 1 / r / s.Z, 1 / r / s.Z];
|
|
17369
17369
|
}
|
|
17370
17370
|
}
|
|
17371
|
-
class
|
|
17371
|
+
class jr {
|
|
17372
17372
|
constructor(e, r) {
|
|
17373
17373
|
this.min = e, this.max = r, this.center = s.aO([], s.aP([], this.min, this.max), 0.5);
|
|
17374
17374
|
}
|
|
17375
17375
|
quadrant(e) {
|
|
17376
17376
|
const r = [e % 2 == 0, e < 2], a = s.aQ(this.min), l = s.aQ(this.max);
|
|
17377
17377
|
for (let p = 0; p < r.length; p++) a[p] = r[p] ? this.min[p] : this.center[p], l[p] = r[p] ? this.center[p] : this.max[p];
|
|
17378
|
-
return l[2] = this.max[2], new
|
|
17378
|
+
return l[2] = this.max[2], new jr(a, l);
|
|
17379
17379
|
}
|
|
17380
17380
|
distanceX(e) {
|
|
17381
17381
|
return Math.max(Math.min(this.max[0], e[0]), this.min[0]) - e[0];
|
|
@@ -17414,7 +17414,7 @@ uniform ${z} ${V} u_${F};
|
|
|
17414
17414
|
b = (p = V.minElevation) !== null && p !== void 0 ? p : a, S = (g = V.maxElevation) !== null && g !== void 0 ? g : a;
|
|
17415
17415
|
}
|
|
17416
17416
|
const E = 1 << e.z;
|
|
17417
|
-
return new
|
|
17417
|
+
return new jr([r + e.x / E, e.y / E, b], [r + (e.x + 1) / E, (e.y + 1) / E, S]);
|
|
17418
17418
|
}
|
|
17419
17419
|
allowVariableZoom(e, r) {
|
|
17420
17420
|
const a = e.fov * (Math.abs(Math.cos(e.rollInRadians)) * e.height + Math.abs(Math.sin(e.rollInRadians)) * e.width) / e.height, l = s.ae(78.5 - a / 2, 0, 60);
|
|
@@ -17439,7 +17439,7 @@ uniform ${z} ${V} u_${F};
|
|
|
17439
17439
|
return F.concat(H);
|
|
17440
17440
|
}), b = [Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY], S = [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY];
|
|
17441
17441
|
for (const E of p) for (let z = 0; z < 3; z++) b[z] = Math.min(b[z], E[z]), S[z] = Math.max(S[z], E[z]);
|
|
17442
|
-
return new mr(p, g, new
|
|
17442
|
+
return new mr(p, g, new jr(b, S));
|
|
17443
17443
|
}
|
|
17444
17444
|
}
|
|
17445
17445
|
class Is {
|
|
@@ -18276,8 +18276,8 @@ uniform ${z} ${V} u_${F};
|
|
|
18276
18276
|
return this._aabbCache.getTileAABB(e, r, a, l);
|
|
18277
18277
|
}
|
|
18278
18278
|
_computeTileAABB(e, r, a, l) {
|
|
18279
|
-
if (e.z <= 0) return new
|
|
18280
|
-
if (e.z === 1) return new
|
|
18279
|
+
if (e.z <= 0) return new jr([-1, -1, -1], [1, 1, 1]);
|
|
18280
|
+
if (e.z === 1) return new jr([e.x === 0 ? -1 : 0, e.y === 0 ? 0 : -1, -1], [e.x === 0 ? 0 : 1, e.y === 0 ? 1 : 0, 1]);
|
|
18281
18281
|
{
|
|
18282
18282
|
const p = [os(0, 0, e.x, e.y, e.z), os(s.Z, 0, e.x, e.y, e.z), os(s.Z, s.Z, e.x, e.y, e.z), os(0, s.Z, e.x, e.y, e.z)], g = [1, 1, 1], b = [-1, -1, -1];
|
|
18283
18283
|
for (const S of p) for (let E = 0; E < 3; E++) g[E] = Math.min(g[E], S[E]), b[E] = Math.max(b[E], S[E]);
|
|
@@ -18285,7 +18285,7 @@ uniform ${z} ${V} u_${F};
|
|
|
18285
18285
|
const S = [0, e.y === 0 ? 1 : -1, 0];
|
|
18286
18286
|
for (let E = 0; E < 3; E++) g[E] = Math.min(g[E], S[E]), b[E] = Math.max(b[E], S[E]);
|
|
18287
18287
|
}
|
|
18288
|
-
return new
|
|
18288
|
+
return new jr(g, b);
|
|
18289
18289
|
}
|
|
18290
18290
|
}
|
|
18291
18291
|
}
|
|
@@ -19188,7 +19188,7 @@ uniform ${z} ${V} u_${F};
|
|
|
19188
19188
|
const l = this.sourceCaches[a].getSource().type;
|
|
19189
19189
|
l !== "vector" && l !== "geojson" || this.sourceCaches[a].reload();
|
|
19190
19190
|
}
|
|
19191
|
-
}, this.map = e, this.dispatcher = new ct(st(), e._getMapId()), this.dispatcher.registerMessageHandler("GG", (a, l) => this.getGlyphs(a, l)), this.dispatcher.registerMessageHandler("GI", (a, l) => this.getImages(a, l)), this.imageManager = new et(), this.imageManager.setEventedParent(this), this.glyphManager = new Ft(e._requestManager, r.localIdeographFontFamily), this.lineAtlas = new Qi(256, 512), this.crossTileSymbolIndex = new io(), this._spritesImagesIds = {}, this._layers = {}, this._order = [], this.sourceCaches = {}, this.zoomHistory = new s.bx(), this._loaded = !1, this._availableImages = [], this._resetUpdates(), this.dispatcher.broadcast("SR", s.by()),
|
|
19191
|
+
}, this.map = e, this.dispatcher = new ct(st(), e._getMapId()), this.dispatcher.registerMessageHandler("GG", (a, l) => this.getGlyphs(a, l)), this.dispatcher.registerMessageHandler("GI", (a, l) => this.getImages(a, l)), this.imageManager = new et(), this.imageManager.setEventedParent(this), this.glyphManager = new Ft(e._requestManager, r.localIdeographFontFamily), this.lineAtlas = new Qi(256, 512), this.crossTileSymbolIndex = new io(), this._spritesImagesIds = {}, this._layers = {}, this._order = [], this.sourceCaches = {}, this.zoomHistory = new s.bx(), this._loaded = !1, this._availableImages = [], this._resetUpdates(), this.dispatcher.broadcast("SR", s.by()), Jr().on(Wr, this._rtlPluginLoaded), this.on("data", (a) => {
|
|
19192
19192
|
if (a.dataType !== "source" || a.sourceDataType !== "metadata") return;
|
|
19193
19193
|
const l = this.sourceCaches[a.sourceId];
|
|
19194
19194
|
if (!l) return;
|
|
@@ -19649,7 +19649,7 @@ uniform ${z} ${V} u_${F};
|
|
|
19649
19649
|
const p = [];
|
|
19650
19650
|
r.availableImages = this._availableImages;
|
|
19651
19651
|
const g = this._serializedAllLayers(), b = r.layers instanceof Set ? r.layers : Array.isArray(r.layers) ? new Set(r.layers) : null, S = Object.assign(Object.assign({}, r), { layers: b });
|
|
19652
|
-
for (const E in this.sourceCaches) r.layers && !l[E] || p.push(
|
|
19652
|
+
for (const E in this.sourceCaches) r.layers && !l[E] || p.push(kt(this.sourceCaches[E], this._layers, g, e, S, a, this.map.terrain ? (z, V, F) => this.map.terrain.getElevation(z, V, F) : void 0));
|
|
19653
19653
|
return this.placement && p.push(function(E, z, V, F, H, G, ne) {
|
|
19654
19654
|
const ie = {}, oe = G.queryRenderedSymbols(F), ce = [];
|
|
19655
19655
|
for (const me of Object.keys(oe).map(Number)) ce.push(ne[me]);
|
|
@@ -19758,7 +19758,7 @@ uniform ${z} ${V} u_${F};
|
|
|
19758
19758
|
return (!p || p.validate !== !1) && ea(this, e.call(s.y, s.e({ key: r, style: this.serialize(), value: a, styleSpec: s.v }, l)));
|
|
19759
19759
|
}
|
|
19760
19760
|
_remove(e = !0) {
|
|
19761
|
-
this._frameRequest && (this._frameRequest.abort(), this._frameRequest = null), this._loadStyleRequest && (this._loadStyleRequest.abort(), this._loadStyleRequest = null), this._spriteRequest && (this._spriteRequest.abort(), this._spriteRequest = null),
|
|
19761
|
+
this._frameRequest && (this._frameRequest.abort(), this._frameRequest = null), this._loadStyleRequest && (this._loadStyleRequest.abort(), this._loadStyleRequest = null), this._spriteRequest && (this._spriteRequest.abort(), this._spriteRequest = null), Jr().off(Wr, this._rtlPluginLoaded);
|
|
19762
19762
|
for (const r in this._layers) this._layers[r].setEventedParent(null);
|
|
19763
19763
|
for (const r in this.sourceCaches) {
|
|
19764
19764
|
const a = this.sourceCaches[r];
|
|
@@ -20078,7 +20078,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20078
20078
|
this.buffer && (this.context.gl.deleteBuffer(this.buffer), delete this.buffer);
|
|
20079
20079
|
}
|
|
20080
20080
|
}
|
|
20081
|
-
class
|
|
20081
|
+
class Xt {
|
|
20082
20082
|
constructor(e) {
|
|
20083
20083
|
this.gl = e.gl, this.default = this.getDefault(), this.current = this.default, this.dirty = !1;
|
|
20084
20084
|
}
|
|
@@ -20094,7 +20094,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20094
20094
|
this.set(this.default);
|
|
20095
20095
|
}
|
|
20096
20096
|
}
|
|
20097
|
-
class Cn extends
|
|
20097
|
+
class Cn extends Xt {
|
|
20098
20098
|
getDefault() {
|
|
20099
20099
|
return s.b7.transparent;
|
|
20100
20100
|
}
|
|
@@ -20103,7 +20103,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20103
20103
|
(e.r !== r.r || e.g !== r.g || e.b !== r.b || e.a !== r.a || this.dirty) && (this.gl.clearColor(e.r, e.g, e.b, e.a), this.current = e, this.dirty = !1);
|
|
20104
20104
|
}
|
|
20105
20105
|
}
|
|
20106
|
-
class gl extends
|
|
20106
|
+
class gl extends Xt {
|
|
20107
20107
|
getDefault() {
|
|
20108
20108
|
return 1;
|
|
20109
20109
|
}
|
|
@@ -20111,7 +20111,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20111
20111
|
(e !== this.current || this.dirty) && (this.gl.clearDepth(e), this.current = e, this.dirty = !1);
|
|
20112
20112
|
}
|
|
20113
20113
|
}
|
|
20114
|
-
class yl extends
|
|
20114
|
+
class yl extends Xt {
|
|
20115
20115
|
getDefault() {
|
|
20116
20116
|
return 0;
|
|
20117
20117
|
}
|
|
@@ -20119,7 +20119,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20119
20119
|
(e !== this.current || this.dirty) && (this.gl.clearStencil(e), this.current = e, this.dirty = !1);
|
|
20120
20120
|
}
|
|
20121
20121
|
}
|
|
20122
|
-
class _l extends
|
|
20122
|
+
class _l extends Xt {
|
|
20123
20123
|
getDefault() {
|
|
20124
20124
|
return [!0, !0, !0, !0];
|
|
20125
20125
|
}
|
|
@@ -20128,7 +20128,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20128
20128
|
(e[0] !== r[0] || e[1] !== r[1] || e[2] !== r[2] || e[3] !== r[3] || this.dirty) && (this.gl.colorMask(e[0], e[1], e[2], e[3]), this.current = e, this.dirty = !1);
|
|
20129
20129
|
}
|
|
20130
20130
|
}
|
|
20131
|
-
class Kc extends
|
|
20131
|
+
class Kc extends Xt {
|
|
20132
20132
|
getDefault() {
|
|
20133
20133
|
return !0;
|
|
20134
20134
|
}
|
|
@@ -20136,7 +20136,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20136
20136
|
(e !== this.current || this.dirty) && (this.gl.depthMask(e), this.current = e, this.dirty = !1);
|
|
20137
20137
|
}
|
|
20138
20138
|
}
|
|
20139
|
-
class vl extends
|
|
20139
|
+
class vl extends Xt {
|
|
20140
20140
|
getDefault() {
|
|
20141
20141
|
return 255;
|
|
20142
20142
|
}
|
|
@@ -20144,7 +20144,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20144
20144
|
(e !== this.current || this.dirty) && (this.gl.stencilMask(e), this.current = e, this.dirty = !1);
|
|
20145
20145
|
}
|
|
20146
20146
|
}
|
|
20147
|
-
class hs extends
|
|
20147
|
+
class hs extends Xt {
|
|
20148
20148
|
getDefault() {
|
|
20149
20149
|
return { func: this.gl.ALWAYS, ref: 0, mask: 255 };
|
|
20150
20150
|
}
|
|
@@ -20153,7 +20153,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20153
20153
|
(e.func !== r.func || e.ref !== r.ref || e.mask !== r.mask || this.dirty) && (this.gl.stencilFunc(e.func, e.ref, e.mask), this.current = e, this.dirty = !1);
|
|
20154
20154
|
}
|
|
20155
20155
|
}
|
|
20156
|
-
class xl extends
|
|
20156
|
+
class xl extends Xt {
|
|
20157
20157
|
getDefault() {
|
|
20158
20158
|
const e = this.gl;
|
|
20159
20159
|
return [e.KEEP, e.KEEP, e.KEEP];
|
|
@@ -20163,7 +20163,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20163
20163
|
(e[0] !== r[0] || e[1] !== r[1] || e[2] !== r[2] || this.dirty) && (this.gl.stencilOp(e[0], e[1], e[2]), this.current = e, this.dirty = !1);
|
|
20164
20164
|
}
|
|
20165
20165
|
}
|
|
20166
|
-
class Jh extends
|
|
20166
|
+
class Jh extends Xt {
|
|
20167
20167
|
getDefault() {
|
|
20168
20168
|
return !1;
|
|
20169
20169
|
}
|
|
@@ -20173,7 +20173,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20173
20173
|
e ? r.enable(r.STENCIL_TEST) : r.disable(r.STENCIL_TEST), this.current = e, this.dirty = !1;
|
|
20174
20174
|
}
|
|
20175
20175
|
}
|
|
20176
|
-
class Xh extends
|
|
20176
|
+
class Xh extends Xt {
|
|
20177
20177
|
getDefault() {
|
|
20178
20178
|
return [0, 1];
|
|
20179
20179
|
}
|
|
@@ -20182,7 +20182,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20182
20182
|
(e[0] !== r[0] || e[1] !== r[1] || this.dirty) && (this.gl.depthRange(e[0], e[1]), this.current = e, this.dirty = !1);
|
|
20183
20183
|
}
|
|
20184
20184
|
}
|
|
20185
|
-
class Qh extends
|
|
20185
|
+
class Qh extends Xt {
|
|
20186
20186
|
getDefault() {
|
|
20187
20187
|
return !1;
|
|
20188
20188
|
}
|
|
@@ -20192,7 +20192,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20192
20192
|
e ? r.enable(r.DEPTH_TEST) : r.disable(r.DEPTH_TEST), this.current = e, this.dirty = !1;
|
|
20193
20193
|
}
|
|
20194
20194
|
}
|
|
20195
|
-
class Yh extends
|
|
20195
|
+
class Yh extends Xt {
|
|
20196
20196
|
getDefault() {
|
|
20197
20197
|
return this.gl.LESS;
|
|
20198
20198
|
}
|
|
@@ -20200,7 +20200,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20200
20200
|
(e !== this.current || this.dirty) && (this.gl.depthFunc(e), this.current = e, this.dirty = !1);
|
|
20201
20201
|
}
|
|
20202
20202
|
}
|
|
20203
|
-
class Gc extends
|
|
20203
|
+
class Gc extends Xt {
|
|
20204
20204
|
getDefault() {
|
|
20205
20205
|
return !1;
|
|
20206
20206
|
}
|
|
@@ -20210,7 +20210,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20210
20210
|
e ? r.enable(r.BLEND) : r.disable(r.BLEND), this.current = e, this.dirty = !1;
|
|
20211
20211
|
}
|
|
20212
20212
|
}
|
|
20213
|
-
class $h extends
|
|
20213
|
+
class $h extends Xt {
|
|
20214
20214
|
getDefault() {
|
|
20215
20215
|
const e = this.gl;
|
|
20216
20216
|
return [e.ONE, e.ZERO];
|
|
@@ -20220,7 +20220,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20220
20220
|
(e[0] !== r[0] || e[1] !== r[1] || this.dirty) && (this.gl.blendFunc(e[0], e[1]), this.current = e, this.dirty = !1);
|
|
20221
20221
|
}
|
|
20222
20222
|
}
|
|
20223
|
-
class Jc extends
|
|
20223
|
+
class Jc extends Xt {
|
|
20224
20224
|
getDefault() {
|
|
20225
20225
|
return s.b7.transparent;
|
|
20226
20226
|
}
|
|
@@ -20229,7 +20229,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20229
20229
|
(e.r !== r.r || e.g !== r.g || e.b !== r.b || e.a !== r.a || this.dirty) && (this.gl.blendColor(e.r, e.g, e.b, e.a), this.current = e, this.dirty = !1);
|
|
20230
20230
|
}
|
|
20231
20231
|
}
|
|
20232
|
-
class aa extends
|
|
20232
|
+
class aa extends Xt {
|
|
20233
20233
|
getDefault() {
|
|
20234
20234
|
return this.gl.FUNC_ADD;
|
|
20235
20235
|
}
|
|
@@ -20237,7 +20237,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20237
20237
|
(e !== this.current || this.dirty) && (this.gl.blendEquation(e), this.current = e, this.dirty = !1);
|
|
20238
20238
|
}
|
|
20239
20239
|
}
|
|
20240
|
-
class la extends
|
|
20240
|
+
class la extends Xt {
|
|
20241
20241
|
getDefault() {
|
|
20242
20242
|
return !1;
|
|
20243
20243
|
}
|
|
@@ -20247,7 +20247,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20247
20247
|
e ? r.enable(r.CULL_FACE) : r.disable(r.CULL_FACE), this.current = e, this.dirty = !1;
|
|
20248
20248
|
}
|
|
20249
20249
|
}
|
|
20250
|
-
class ca extends
|
|
20250
|
+
class ca extends Xt {
|
|
20251
20251
|
getDefault() {
|
|
20252
20252
|
return this.gl.BACK;
|
|
20253
20253
|
}
|
|
@@ -20255,7 +20255,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20255
20255
|
(e !== this.current || this.dirty) && (this.gl.cullFace(e), this.current = e, this.dirty = !1);
|
|
20256
20256
|
}
|
|
20257
20257
|
}
|
|
20258
|
-
class bl extends
|
|
20258
|
+
class bl extends Xt {
|
|
20259
20259
|
getDefault() {
|
|
20260
20260
|
return this.gl.CCW;
|
|
20261
20261
|
}
|
|
@@ -20263,7 +20263,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20263
20263
|
(e !== this.current || this.dirty) && (this.gl.frontFace(e), this.current = e, this.dirty = !1);
|
|
20264
20264
|
}
|
|
20265
20265
|
}
|
|
20266
|
-
class ps extends
|
|
20266
|
+
class ps extends Xt {
|
|
20267
20267
|
getDefault() {
|
|
20268
20268
|
return null;
|
|
20269
20269
|
}
|
|
@@ -20271,7 +20271,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20271
20271
|
(e !== this.current || this.dirty) && (this.gl.useProgram(e), this.current = e, this.dirty = !1);
|
|
20272
20272
|
}
|
|
20273
20273
|
}
|
|
20274
|
-
class ua extends
|
|
20274
|
+
class ua extends Xt {
|
|
20275
20275
|
getDefault() {
|
|
20276
20276
|
return this.gl.TEXTURE0;
|
|
20277
20277
|
}
|
|
@@ -20279,7 +20279,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20279
20279
|
(e !== this.current || this.dirty) && (this.gl.activeTexture(e), this.current = e, this.dirty = !1);
|
|
20280
20280
|
}
|
|
20281
20281
|
}
|
|
20282
|
-
class zs extends
|
|
20282
|
+
class zs extends Xt {
|
|
20283
20283
|
getDefault() {
|
|
20284
20284
|
const e = this.gl;
|
|
20285
20285
|
return [0, 0, e.drawingBufferWidth, e.drawingBufferHeight];
|
|
@@ -20289,7 +20289,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20289
20289
|
(e[0] !== r[0] || e[1] !== r[1] || e[2] !== r[2] || e[3] !== r[3] || this.dirty) && (this.gl.viewport(e[0], e[1], e[2], e[3]), this.current = e, this.dirty = !1);
|
|
20290
20290
|
}
|
|
20291
20291
|
}
|
|
20292
|
-
class $i extends
|
|
20292
|
+
class $i extends Xt {
|
|
20293
20293
|
getDefault() {
|
|
20294
20294
|
return null;
|
|
20295
20295
|
}
|
|
@@ -20299,7 +20299,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20299
20299
|
r.bindFramebuffer(r.FRAMEBUFFER, e), this.current = e, this.dirty = !1;
|
|
20300
20300
|
}
|
|
20301
20301
|
}
|
|
20302
|
-
class Xc extends
|
|
20302
|
+
class Xc extends Xt {
|
|
20303
20303
|
getDefault() {
|
|
20304
20304
|
return null;
|
|
20305
20305
|
}
|
|
@@ -20309,7 +20309,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20309
20309
|
r.bindRenderbuffer(r.RENDERBUFFER, e), this.current = e, this.dirty = !1;
|
|
20310
20310
|
}
|
|
20311
20311
|
}
|
|
20312
|
-
class Qc extends
|
|
20312
|
+
class Qc extends Xt {
|
|
20313
20313
|
getDefault() {
|
|
20314
20314
|
return null;
|
|
20315
20315
|
}
|
|
@@ -20319,7 +20319,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20319
20319
|
r.bindTexture(r.TEXTURE_2D, e), this.current = e, this.dirty = !1;
|
|
20320
20320
|
}
|
|
20321
20321
|
}
|
|
20322
|
-
class wl extends
|
|
20322
|
+
class wl extends Xt {
|
|
20323
20323
|
getDefault() {
|
|
20324
20324
|
return null;
|
|
20325
20325
|
}
|
|
@@ -20329,7 +20329,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20329
20329
|
r.bindBuffer(r.ARRAY_BUFFER, e), this.current = e, this.dirty = !1;
|
|
20330
20330
|
}
|
|
20331
20331
|
}
|
|
20332
|
-
class ds extends
|
|
20332
|
+
class ds extends Xt {
|
|
20333
20333
|
getDefault() {
|
|
20334
20334
|
return null;
|
|
20335
20335
|
}
|
|
@@ -20338,7 +20338,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20338
20338
|
r.bindBuffer(r.ELEMENT_ARRAY_BUFFER, e), this.current = e, this.dirty = !1;
|
|
20339
20339
|
}
|
|
20340
20340
|
}
|
|
20341
|
-
class ha extends
|
|
20341
|
+
class ha extends Xt {
|
|
20342
20342
|
getDefault() {
|
|
20343
20343
|
return null;
|
|
20344
20344
|
}
|
|
@@ -20349,7 +20349,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20349
20349
|
xi(a) ? a.bindVertexArray(e) : (r = a.getExtension("OES_vertex_array_object")) === null || r === void 0 || r.bindVertexArrayOES(e), this.current = e, this.dirty = !1;
|
|
20350
20350
|
}
|
|
20351
20351
|
}
|
|
20352
|
-
class pa extends
|
|
20352
|
+
class pa extends Xt {
|
|
20353
20353
|
getDefault() {
|
|
20354
20354
|
return 4;
|
|
20355
20355
|
}
|
|
@@ -20359,7 +20359,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20359
20359
|
r.pixelStorei(r.UNPACK_ALIGNMENT, e), this.current = e, this.dirty = !1;
|
|
20360
20360
|
}
|
|
20361
20361
|
}
|
|
20362
|
-
class yo extends
|
|
20362
|
+
class yo extends Xt {
|
|
20363
20363
|
getDefault() {
|
|
20364
20364
|
return !1;
|
|
20365
20365
|
}
|
|
@@ -20369,7 +20369,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20369
20369
|
r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL, e), this.current = e, this.dirty = !1;
|
|
20370
20370
|
}
|
|
20371
20371
|
}
|
|
20372
|
-
class da extends
|
|
20372
|
+
class da extends Xt {
|
|
20373
20373
|
getDefault() {
|
|
20374
20374
|
return !1;
|
|
20375
20375
|
}
|
|
@@ -20379,7 +20379,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20379
20379
|
r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL, e), this.current = e, this.dirty = !1;
|
|
20380
20380
|
}
|
|
20381
20381
|
}
|
|
20382
|
-
class fa extends
|
|
20382
|
+
class fa extends Xt {
|
|
20383
20383
|
constructor(e, r) {
|
|
20384
20384
|
super(e), this.context = e, this.parent = r;
|
|
20385
20385
|
}
|
|
@@ -20552,7 +20552,7 @@ uniform ${z} ${V} u_${F};
|
|
|
20552
20552
|
for (let ie = 0; ie < F.length; ie++) {
|
|
20553
20553
|
const oe = F.get(ie), ce = oe.hidden || !oe.crossTileID || h.allowVerticalPlacement && !oe.placedOrientation ? null : a[oe.crossTileID];
|
|
20554
20554
|
if (ce) {
|
|
20555
|
-
const me = new s.P(oe.anchorX, oe.anchorY), fe = { getElevation: V, width: l.width, height: l.height, pitchedLabelPlaneMatrix: p, pitchWithMap: r, transform: l, tileAnchorPoint: me, translation: E, unwrappedTileID: z }, ge = r ? zt(me.x, me.y, fe) : Lr(me.x, me.y, fe), xe =
|
|
20555
|
+
const me = new s.P(oe.anchorX, oe.anchorY), fe = { getElevation: V, width: l.width, height: l.height, pitchedLabelPlaneMatrix: p, pitchWithMap: r, transform: l, tileAnchorPoint: me, translation: E, unwrappedTileID: z }, ge = r ? zt(me.x, me.y, fe) : Lr(me.x, me.y, fe), xe = er(l.cameraToCenterDistance, ge.signedDistanceFromCamera);
|
|
20556
20556
|
let ye = s.am(h.textSizeData, b, oe) * xe / s.ay;
|
|
20557
20557
|
r && (ye *= h.tilePixelRatio / g);
|
|
20558
20558
|
const { width: Ie, height: Ve, anchor: ze, textOffset: De, textBoxScale: Be } = ce, tt = ep(ze, Ie, Ve, De, Be, ye), $e = l.getPitchedTextCorrection(me.x + E[0], me.y + E[1], z), Ke = tp(ge.point, fe, e, tt, -l.bearingInRadians, $e), ht = h.allowVerticalPlacement && oe.placedOrientation === s.al.vertical ? Math.PI / 2 : 0;
|
|
@@ -20589,27 +20589,27 @@ uniform ${z} ${V} u_${F};
|
|
|
20589
20589
|
const tt = l ? Be.text : Be.icon;
|
|
20590
20590
|
if (!tt || !tt.segments.get().length || !tt.hasVisibleVertices) continue;
|
|
20591
20591
|
const $e = tt.programConfigurations.get(r.id), Ke = l || Be.sdfIcons, ht = l ? Be.textSizeData : Be.iconSizeData, Bt = oe || ne.pitch !== 0, Kt = h.useProgram(rp(Ke, l, Be), $e), Tr = s.ak(ht, ne.zoom), ur = h.style.map.terrain && h.style.map.terrain.getTerrainData(ze);
|
|
20592
|
-
let Cr, Pr, pr,
|
|
20593
|
-
if (l) Pr = De.glyphAtlasTexture, pr = G.LINEAR, Cr = De.glyphAtlasTexture.size, Be.iconsInText && (Qr = De.imageAtlasTexture.size, si = De.imageAtlasTexture,
|
|
20592
|
+
let Cr, Pr, pr, Yt, Qr = [0, 0], si = null;
|
|
20593
|
+
if (l) Pr = De.glyphAtlasTexture, pr = G.LINEAR, Cr = De.glyphAtlasTexture.size, Be.iconsInText && (Qr = De.imageAtlasTexture.size, si = De.imageAtlasTexture, Yt = Bt || h.options.rotating || h.options.zooming || ht.kind === "composite" || ht.kind === "camera" ? G.LINEAR : G.NEAREST);
|
|
20594
20594
|
else {
|
|
20595
|
-
const
|
|
20596
|
-
Pr = De.imageAtlasTexture, pr = Ke || h.options.rotating || h.options.zooming ||
|
|
20595
|
+
const Zr = r.layout.get("icon-size").constantOr(0) !== 1 || Be.iconsNeedLinear;
|
|
20596
|
+
Pr = De.imageAtlasTexture, pr = Ke || h.options.rotating || h.options.zooming || Zr || Bt ? G.LINEAR : G.NEAREST, Cr = De.imageAtlasTexture.size;
|
|
20597
20597
|
}
|
|
20598
|
-
const fi = s.az(De, 1, h.transform.zoom),
|
|
20599
|
-
s.an(jn,
|
|
20598
|
+
const fi = s.az(De, 1, h.transform.zoom), $t = mt(ie, h.transform, fi), jn = s.K();
|
|
20599
|
+
s.an(jn, $t);
|
|
20600
20600
|
const Sn = Mt(oe, ie, h.transform, fi), Nn = s.aA(ne, De, p, g), gs = ne.getProjectionData({ overscaledTileID: ze, applyGlobeMatrix: !F, applyTerrainMatrix: !0 }), Ro = ye && Be.hasTextData(), Wn = r.layout.get("icon-text-fit") !== "none" && Ro && Be.hasIconData();
|
|
20601
20601
|
if (ce) {
|
|
20602
|
-
const
|
|
20603
|
-
|
|
20602
|
+
const Zr = h.style.map.terrain ? (Ii, yr) => h.style.map.terrain.getElevation(ze, Ii, yr) : null, Kr = r.layout.get("text-rotation-alignment") === "map";
|
|
20603
|
+
Qt(Be, h, l, $t, jn, oe, E, Kr, ze.toUnwrapped(), ne.width, ne.height, Nn, Zr);
|
|
20604
20604
|
}
|
|
20605
|
-
const ys = l && ye || Wn, Zi = ce || ys ? _o : oe ?
|
|
20605
|
+
const ys = l && ye || Wn, Zi = ce || ys ? _o : oe ? $t : h.transform.clipSpaceToPixelsMatrix, Hn = Ke && r.paint.get(l ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0;
|
|
20606
20606
|
let In;
|
|
20607
20607
|
In = Ke ? Be.iconsInText ? oa(ht.kind, Tr, me, oe, ce, ys, h, Zi, Sn, Nn, Cr, Qr, Ve) : Nc(ht.kind, Tr, me, oe, ce, ys, h, Zi, Sn, Nn, l, Cr, 0, Ve) : Rs(ht.kind, Tr, me, oe, ce, ys, h, Zi, Sn, Nn, l, Cr, Ve);
|
|
20608
|
-
const Zn = { program: Kt, buffers: tt, uniformValues: In, projectionData: gs, atlasTexture: Pr, atlasTextureIcon: si, atlasInterpolation: pr, atlasInterpolationIcon:
|
|
20608
|
+
const Zn = { program: Kt, buffers: tt, uniformValues: In, projectionData: gs, atlasTexture: Pr, atlasTextureIcon: si, atlasInterpolation: pr, atlasInterpolationIcon: Yt, isSDF: Ke, hasHalo: Hn };
|
|
20609
20609
|
if (fe && Be.canOverlap) {
|
|
20610
20610
|
ge = !0;
|
|
20611
|
-
const
|
|
20612
|
-
for (const
|
|
20611
|
+
const Zr = tt.segments.get();
|
|
20612
|
+
for (const Kr of Zr) Ie.push({ segments: new s.aJ([Kr]), sortKey: Kr.sortKey, state: Zn, terrainData: ur });
|
|
20613
20613
|
} else Ie.push({ segments: tt.segments, sortKey: 0, state: Zn, terrainData: ur });
|
|
20614
20614
|
}
|
|
20615
20615
|
ge && Ie.sort((ze, De) => ze.sortKey - De.sortKey);
|
|
@@ -21052,24 +21052,24 @@ uniform ${z} ${V} u_${F};
|
|
|
21052
21052
|
if (!Be) continue;
|
|
21053
21053
|
const tt = Be.programConfigurations.get(S.id), $e = g.context.program.get(), Ke = g.useProgram(ge, tt), ht = Ve || Ke.program !== $e, Bt = g.style.map.terrain && g.style.map.terrain.getTerrainData(ze), Kt = oe.constantOr(null);
|
|
21054
21054
|
if (Kt && De.imageAtlas) {
|
|
21055
|
-
const pr = De.imageAtlas,
|
|
21056
|
-
|
|
21055
|
+
const pr = De.imageAtlas, Yt = pr.patternPositions[Kt.to.toString()], Qr = pr.patternPositions[Kt.from.toString()];
|
|
21056
|
+
Yt && Qr && tt.setConstantPatternPositions(Yt, Qr);
|
|
21057
21057
|
}
|
|
21058
21058
|
const Tr = Ie.getProjectionData({ overscaledTileID: ze, applyGlobeMatrix: !V, applyTerrainMatrix: !0 }), ur = Ie.getPixelScale(), Cr = ce ? Vc(g, De, S, ur, fe) : ie ? qc(g, De, S, ur, ie, fe) : me ? Fc(g, De, S, ur, Be.lineClipsArray.length) : go(g, De, S, ur);
|
|
21059
21059
|
if (ce) xe.activeTexture.set(ye.TEXTURE0), De.imageAtlasTexture.bind(ye.LINEAR, ye.CLAMP_TO_EDGE), tt.updatePaintBuffers(fe);
|
|
21060
21060
|
else if (ie && (ht || g.lineAtlas.dirty)) xe.activeTexture.set(ye.TEXTURE0), g.lineAtlas.bind(xe);
|
|
21061
21061
|
else if (me) {
|
|
21062
21062
|
const pr = Be.gradients[S.id];
|
|
21063
|
-
let
|
|
21063
|
+
let Yt = pr.texture;
|
|
21064
21064
|
if (S.gradientVersion !== pr.version) {
|
|
21065
21065
|
let Qr = 256;
|
|
21066
21066
|
if (S.stepInterpolant) {
|
|
21067
21067
|
const si = b.getSource().maxzoom, fi = ze.canonical.z === si ? Math.ceil(1 << g.transform.maxZoom - ze.canonical.z) : 1;
|
|
21068
21068
|
Qr = s.ae(s.bX(Be.maxLineLength / s.Z * 1024 * fi), 256, xe.maxTextureSize);
|
|
21069
21069
|
}
|
|
21070
|
-
pr.gradient = s.bY({ expression: S.gradientExpression(), evaluationKey: "lineProgress", resolution: Qr, image: pr.gradient || void 0, clips: Be.lineClipsArray }), pr.texture ? pr.texture.update(pr.gradient) : pr.texture = new Ge(xe, pr.gradient, ye.RGBA), pr.version = S.gradientVersion,
|
|
21070
|
+
pr.gradient = s.bY({ expression: S.gradientExpression(), evaluationKey: "lineProgress", resolution: Qr, image: pr.gradient || void 0, clips: Be.lineClipsArray }), pr.texture ? pr.texture.update(pr.gradient) : pr.texture = new Ge(xe, pr.gradient, ye.RGBA), pr.version = S.gradientVersion, Yt = pr.texture;
|
|
21071
21071
|
}
|
|
21072
|
-
xe.activeTexture.set(ye.TEXTURE0),
|
|
21072
|
+
xe.activeTexture.set(ye.TEXTURE0), Yt.bind(S.stepInterpolant ? ye.NEAREST : ye.LINEAR, ye.CLAMP_TO_EDGE);
|
|
21073
21073
|
}
|
|
21074
21074
|
const Pr = g.stencilModeForClipping(ze);
|
|
21075
21075
|
Ke.draw(xe, ye.TRIANGLES, G, Pr, ne, Zt.disabled, Cr, Bt, Tr, S.id, Be.layoutVertexBuffer, Be.indexBuffer, Be.segments, S.paint, g.transform.zoom, tt, Be.layoutVertexBuffer2), Ve = !1;
|
|
@@ -23077,7 +23077,7 @@ ${H.shaderPreludeCode.vertexSource}`, define: H.shaderDefine }, defaultProjectio
|
|
|
23077
23077
|
T.enableDrag(), T.removeEventListener(window, "mousemove", this.mousemove), T.removeEventListener(window, "mouseup", this.mouseup), T.removeEventListener(window, "touchmove", this.touchmove, { passive: !1 }), T.removeEventListener(window, "touchend", this.touchend);
|
|
23078
23078
|
}
|
|
23079
23079
|
}
|
|
23080
|
-
let
|
|
23080
|
+
let Hr;
|
|
23081
23081
|
function jl(h, e, r, a = !1) {
|
|
23082
23082
|
if (a || !r.getCoveringTilesDetailsProvider().allowWorldCopies()) return h == null ? void 0 : h.wrap();
|
|
23083
23083
|
const l = new s.Q(h.lng, h.lat);
|
|
@@ -23301,7 +23301,7 @@ ${H.shaderPreludeCode.vertexSource}`, define: H.shaderDefine }, defaultProjectio
|
|
|
23301
23301
|
return Ks(new s.P(0, 0));
|
|
23302
23302
|
}
|
|
23303
23303
|
const Hl = D;
|
|
23304
|
-
v.AJAXError = s.cq, v.Event = s.l, v.Evented = s.E, v.LngLat = s.Q, v.MercatorCoordinate = s.$, v.Point = s.P, v.addProtocol = s.cr, v.config = s.a, v.removeProtocol = s.cs, v.AttributionControl = gr, v.BoxZoomHandler = Rl, v.CanvasSource =
|
|
23304
|
+
v.AJAXError = s.cq, v.Event = s.l, v.Evented = s.E, v.LngLat = s.Q, v.MercatorCoordinate = s.$, v.Point = s.P, v.addProtocol = s.cr, v.config = s.a, v.removeProtocol = s.cs, v.AttributionControl = gr, v.BoxZoomHandler = Rl, v.CanvasSource = nr, v.CooperativeGesturesHandler = Ma, v.DoubleClickZoomHandler = Ea, v.DragPanHandler = pu, v.DragRotateHandler = du, v.EdgeInsets = so, v.FullscreenControl = class extends s.E {
|
|
23305
23305
|
constructor(h = {}) {
|
|
23306
23306
|
super(), this._onFullscreenChange = () => {
|
|
23307
23307
|
var e;
|
|
@@ -23409,14 +23409,14 @@ ${H.shaderPreludeCode.vertexSource}`, define: H.shaderDefine }, defaultProjectio
|
|
|
23409
23409
|
onAdd(h) {
|
|
23410
23410
|
return this._map = h, this._container = T.create("div", "maplibregl-ctrl maplibregl-ctrl-group"), this._setupUI(), function() {
|
|
23411
23411
|
return s._(this, arguments, void 0, function* (e = !1) {
|
|
23412
|
-
if (
|
|
23413
|
-
if (window.navigator.permissions === void 0) return
|
|
23412
|
+
if (Hr !== void 0 && !e) return Hr;
|
|
23413
|
+
if (window.navigator.permissions === void 0) return Hr = !!window.navigator.geolocation, Hr;
|
|
23414
23414
|
try {
|
|
23415
|
-
|
|
23415
|
+
Hr = (yield window.navigator.permissions.query({ name: "geolocation" })).state !== "denied";
|
|
23416
23416
|
} catch {
|
|
23417
|
-
|
|
23417
|
+
Hr = !!window.navigator.geolocation;
|
|
23418
23418
|
}
|
|
23419
|
-
return
|
|
23419
|
+
return Hr;
|
|
23420
23420
|
});
|
|
23421
23421
|
}().then((e) => this._finishSetupUI(e)), this._container;
|
|
23422
23422
|
}
|
|
@@ -24264,10 +24264,10 @@ ${H.shaderPreludeCode.vertexSource}`, define: H.shaderDefine }, defaultProjectio
|
|
|
24264
24264
|
onRemove() {
|
|
24265
24265
|
T.remove(this._container), this._map.off("terrain", this._updateTerrainIcon), this._map = void 0;
|
|
24266
24266
|
}
|
|
24267
|
-
}, v.TwoFingersTouchPitchHandler = Ia, v.TwoFingersTouchRotateHandler = ot, v.TwoFingersTouchZoomHandler = Ws, v.TwoFingersTouchZoomRotateHandler = Fl, v.VectorTileSource = Fr, v.VideoSource =
|
|
24268
|
-
if (
|
|
24267
|
+
}, v.TwoFingersTouchPitchHandler = Ia, v.TwoFingersTouchRotateHandler = ot, v.TwoFingersTouchZoomHandler = Ws, v.TwoFingersTouchZoomRotateHandler = Fl, v.VectorTileSource = Fr, v.VideoSource = sr, v.addSourceType = (h, e) => s._(void 0, void 0, void 0, function* () {
|
|
24268
|
+
if (Sr(h)) throw new Error(`A source type called "${h}" already exists.`);
|
|
24269
24269
|
((r, a) => {
|
|
24270
|
-
|
|
24270
|
+
At[r] = a;
|
|
24271
24271
|
})(h, e);
|
|
24272
24272
|
}), v.clearPrewarmedResources = function() {
|
|
24273
24273
|
const h = Li;
|
|
@@ -24275,7 +24275,7 @@ ${H.shaderPreludeCode.vertexSource}`, define: H.shaderDefine }, defaultProjectio
|
|
|
24275
24275
|
}, v.createTileMesh = ao, v.getMaxParallelImageRequests = function() {
|
|
24276
24276
|
return s.a.MAX_PARALLEL_IMAGE_REQUESTS;
|
|
24277
24277
|
}, v.getRTLTextPluginStatus = function() {
|
|
24278
|
-
return
|
|
24278
|
+
return Jr().getRTLTextPluginStatus();
|
|
24279
24279
|
}, v.getVersion = function() {
|
|
24280
24280
|
return Hl;
|
|
24281
24281
|
}, v.getWorkerCount = function() {
|
|
@@ -24289,7 +24289,7 @@ ${H.shaderPreludeCode.vertexSource}`, define: H.shaderDefine }, defaultProjectio
|
|
|
24289
24289
|
}, v.setMaxParallelImageRequests = function(h) {
|
|
24290
24290
|
s.a.MAX_PARALLEL_IMAGE_REQUESTS = h;
|
|
24291
24291
|
}, v.setRTLTextPlugin = function(h, e) {
|
|
24292
|
-
return
|
|
24292
|
+
return Jr().setRTLTextPlugin(h, e);
|
|
24293
24293
|
}, v.setWorkerCount = function(h) {
|
|
24294
24294
|
Ui.workerCount = h;
|
|
24295
24295
|
}, v.setWorkerUrl = function(h) {
|
|
@@ -24302,7 +24302,7 @@ ${H.shaderPreludeCode.vertexSource}`, define: H.shaderDefine }, defaultProjectio
|
|
|
24302
24302
|
}(_h)), _h.exports;
|
|
24303
24303
|
}
|
|
24304
24304
|
var Wx = Nx();
|
|
24305
|
-
const wd = /* @__PURE__ */ xy(Wx),
|
|
24305
|
+
const wd = /* @__PURE__ */ xy(Wx), rr = (u, f) => {
|
|
24306
24306
|
const y = u.__vccOpts || u;
|
|
24307
24307
|
for (const [x, A] of f)
|
|
24308
24308
|
y[x] = A;
|
|
@@ -24358,7 +24358,7 @@ const wd = /* @__PURE__ */ xy(Wx), tr = (u, f) => {
|
|
|
24358
24358
|
])
|
|
24359
24359
|
], 4));
|
|
24360
24360
|
}
|
|
24361
|
-
}, Qx = /* @__PURE__ */ tr(Xx, [["__scopeId", "data-v-c521b2f4"]]), Yx = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQfYBUV1ho8x2KJRsRujJppootjAAqioYMOCigUL0dh7Q1Fs2BVRKQJRxBoUuyiiWBELYgVUxBp7jSZWLNjmlbnyc/nvnTNtd2b3nOfhEflnZ2fPzn53TvvOOcTENGAamK0GzjHbJ7cHNw2YBsQAwDaBaWDGGjAAmPHLt0c3DRgA2B4wDcxYAwYAM3759uimAQMA2wOmgRlrIBUAbikiu4jIASJy6oz1Z49uGuhaAykAcEcReZGIXFJEfigiu4nIB7vWgi3eND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6fekQoQHAFLarPUNpDeAUfFIlEMgxB/CrFGUWMgAovXVsvilp4GGuGWqNdOYccwAQuHUpc8AAYErb1Z6lhgaIDuxTYWLKqjEHUqIDxcwBA4AKb9amnJQGiA48wXfnLf1gNIQlOpBSRYhjMDs6UAMAmJMwYPFWxqW1b/OZBiI0ALHJIRHjtUNHNQdqAAAPTi44qJmSC61VnI0zDdTWAFmC/EOiFSzIFF/VqNsnWQgCGNq7xwpVhCQL0T4uWmoBwLl8LjPhDv691n2iH9guMA0kaIC+izjf3i4iFGHVkBwQoHaAFPLoUmL7MGu8SpvTNJCmAcwBmIVSHIMAFCeBqMI6A4C0F2VXmQZqaYBkoXclggDRgTvEVGIaANR6jTavaSBdAznJQlHRAQOA9JdkV5oGamogNzqgMgcMAGq+QpvbNJCnAZKFMAdSCogwByCMWcsYbQCQ94LsatNAbQ2QLETzl5SQOm3Zd3Sdo1dS7hkA1H59Nr9pIF8DOWzD+4rInquWYACQ/3JsBtPAEBoABOCK3CbiZjAJ7eRzGDa9zAAgQps21DQwsgZiogMQikIi8qV1azYAGPmN2u1NA5EaAARIG15HKgIhK7b/N0JzGwCENGR/Nw20pwGiAzBpb9Z8hI//+q4xC4SiQTEACKrIBpgGmtTAZuYAx/6baX75F09kANDku7VFmQZUGgAEXuUZgk4WEVq3r7X5l2c1AFDp2QaZBprVwLlFhGay9GOkt0aUGABEqcsGmwampQEDgGm9T3sa00CUBgwAotRlg00D09KAAcC03qc9jWkgSgMGAFHqssGmgWlpwABgWu/TnsY0EKUBA4Aoddlg08C0NPBnAT+diH1RP1wAAAAASUVORK5CYII=", $x = { class: "flex flex-row gap-x-3 z-10 relative" }, eb = ["onClick"], tb = ["src", "alt"], rb = {
|
|
24361
|
+
}, Qx = /* @__PURE__ */ rr(Xx, [["__scopeId", "data-v-c521b2f4"]]), Yx = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQfY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sY0EKUBA4Aoddlg08C0NPBnAT+diH1RP1wAAAAASUVORK5CYII=", $x = { class: "flex flex-row gap-x-3 z-10 relative" }, eb = ["onClick"], tb = ["src", "alt"], rb = {
|
|
24362
24362
|
__name: "vs-basemaps-widget",
|
|
24363
24363
|
props: {
|
|
24364
24364
|
map: {
|
|
@@ -24451,7 +24451,7 @@ const wd = /* @__PURE__ */ xy(Wx), tr = (u, f) => {
|
|
|
24451
24451
|
var s;
|
|
24452
24452
|
(s = f.config) != null && s.default && (y.value = f.config.default), v(y.value);
|
|
24453
24453
|
}), (s, D) => {
|
|
24454
|
-
const L =
|
|
24454
|
+
const L = tr("VsPopover");
|
|
24455
24455
|
return be(), Ae("div", $x, [
|
|
24456
24456
|
(be(!0), Ae(yt, null, Nt(x.value, (I) => (be(), ti(L, {
|
|
24457
24457
|
trigger: "hover",
|
|
@@ -25047,7 +25047,7 @@ const yb = { class: "w-full flex flex-col bg-white border border-stone-200 shado
|
|
|
25047
25047
|
});
|
|
25048
25048
|
return (P, v) => {
|
|
25049
25049
|
var L, I;
|
|
25050
|
-
const s =
|
|
25050
|
+
const s = tr("VsPopover"), D = tr("router-link");
|
|
25051
25051
|
return be(), Ae("div", Lb, [
|
|
25052
25052
|
y.value || (L = A.value) != null && L.length ? (be(), Ae("div", Rb, [
|
|
25053
25053
|
ae("h2", zb, at(y.value), 1),
|
|
@@ -25093,7 +25093,8 @@ const yb = { class: "w-full flex flex-col bg-white border border-stone-200 shado
|
|
|
25093
25093
|
default: cr(() => [
|
|
25094
25094
|
v[1] || (v[1] = dr(" Перейти на карту "))
|
|
25095
25095
|
]),
|
|
25096
|
-
_: 1
|
|
25096
|
+
_: 1,
|
|
25097
|
+
__: [1]
|
|
25097
25098
|
})
|
|
25098
25099
|
]),
|
|
25099
25100
|
default: cr(() => [
|
|
@@ -25123,7 +25124,7 @@ const yb = { class: "w-full flex flex-col bg-white border border-stone-200 shado
|
|
|
25123
25124
|
]);
|
|
25124
25125
|
};
|
|
25125
25126
|
}
|
|
25126
|
-
}, Vb = /* @__PURE__ */
|
|
25127
|
+
}, Vb = /* @__PURE__ */ rr(Fb, [["__scopeId", "data-v-187a97ca"]]), qb = { class: "w-full flex flex-col bg-white border border-stone-200 shadow-2xs rounded-xl z-10 relative overflow-hidden" }, Ub = {
|
|
25127
25128
|
key: 0,
|
|
25128
25129
|
class: "p-5 pb-3 flex justify-between items-center"
|
|
25129
25130
|
}, jb = { class: "inline-block font-semibold text-lg text-gray-800" }, Nb = {
|
|
@@ -25462,7 +25463,7 @@ const yb = { class: "w-full flex flex-col bg-white border border-stone-200 shado
|
|
|
25462
25463
|
]);
|
|
25463
25464
|
};
|
|
25464
25465
|
}
|
|
25465
|
-
}, E1 = /* @__PURE__ */
|
|
25466
|
+
}, E1 = /* @__PURE__ */ rr(I1, [["__scopeId", "data-v-b96f3537"]]), M1 = {}, L1 = {
|
|
25466
25467
|
xmlns: "http://www.w3.org/2000/svg",
|
|
25467
25468
|
width: "16",
|
|
25468
25469
|
height: "16",
|
|
@@ -25501,7 +25502,7 @@ function R1(u, f) {
|
|
|
25501
25502
|
}, null, -1)
|
|
25502
25503
|
]));
|
|
25503
25504
|
}
|
|
25504
|
-
const z1 = /* @__PURE__ */
|
|
25505
|
+
const z1 = /* @__PURE__ */ rr(M1, [["render", R1]]), D1 = {}, B1 = {
|
|
25505
25506
|
xmlns: "http://www.w3.org/2000/svg",
|
|
25506
25507
|
width: "16",
|
|
25507
25508
|
height: "16",
|
|
@@ -25524,7 +25525,7 @@ function O1(u, f) {
|
|
|
25524
25525
|
ae("path", { d: "M12 8h.01" }, null, -1)
|
|
25525
25526
|
]));
|
|
25526
25527
|
}
|
|
25527
|
-
const F1 = /* @__PURE__ */
|
|
25528
|
+
const F1 = /* @__PURE__ */ rr(D1, [["render", O1]]), V1 = {}, q1 = {
|
|
25528
25529
|
xmlns: "http://www.w3.org/2000/svg",
|
|
25529
25530
|
width: "16",
|
|
25530
25531
|
height: "16",
|
|
@@ -25550,7 +25551,7 @@ function U1(u, f) {
|
|
|
25550
25551
|
ae("path", { d: "M3 15h18" }, null, -1)
|
|
25551
25552
|
]));
|
|
25552
25553
|
}
|
|
25553
|
-
const j1 = /* @__PURE__ */
|
|
25554
|
+
const j1 = /* @__PURE__ */ rr(V1, [["render", U1]]), N1 = {}, W1 = {
|
|
25554
25555
|
xmlns: "http://www.w3.org/2000/svg",
|
|
25555
25556
|
width: "16",
|
|
25556
25557
|
height: "16",
|
|
@@ -25567,7 +25568,7 @@ function H1(u, f) {
|
|
|
25567
25568
|
vh('<path d="M3 6h18"></path><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"></path><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"></path><line x1="10" x2="10" y1="11" y2="17"></line><line x1="14" x2="14" y1="11" y2="17"></line>', 5)
|
|
25568
25569
|
]));
|
|
25569
25570
|
}
|
|
25570
|
-
const Z1 = /* @__PURE__ */
|
|
25571
|
+
const Z1 = /* @__PURE__ */ rr(N1, [["render", H1]]), K1 = {}, G1 = {
|
|
25571
25572
|
xmlns: "http://www.w3.org/2000/svg",
|
|
25572
25573
|
width: "18",
|
|
25573
25574
|
height: "18",
|
|
@@ -25598,7 +25599,7 @@ function J1(u, f) {
|
|
|
25598
25599
|
}, null, -1)
|
|
25599
25600
|
]));
|
|
25600
25601
|
}
|
|
25601
|
-
const X1 = /* @__PURE__ */
|
|
25602
|
+
const X1 = /* @__PURE__ */ rr(K1, [["render", J1]]), Q1 = {}, Y1 = {
|
|
25602
25603
|
width: "6",
|
|
25603
25604
|
height: "10",
|
|
25604
25605
|
viewBox: "0 0 6 10",
|
|
@@ -25615,7 +25616,7 @@ function $1(u, f) {
|
|
|
25615
25616
|
}, null, -1)
|
|
25616
25617
|
]));
|
|
25617
25618
|
}
|
|
25618
|
-
const e2 = /* @__PURE__ */
|
|
25619
|
+
const e2 = /* @__PURE__ */ rr(Q1, [["render", $1]]), t2 = {}, r2 = {
|
|
25619
25620
|
width: "18",
|
|
25620
25621
|
height: "18",
|
|
25621
25622
|
viewBox: "0 0 24 24",
|
|
@@ -25627,7 +25628,7 @@ function i2(u, f) {
|
|
|
25627
25628
|
vh('<g clip-path="url(#clip0_231_103)"><path d="M12 20L9 21V12.5L4.52 7.572C4.18545 7.20393 4.00005 6.7244 4 6.227V4H20V6.172C19.9999 6.70239 19.7891 7.21101 19.414 7.586L15 12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M21.121 20.1209C21.5406 19.7014 21.8265 19.1668 21.9423 18.5849C22.0581 18.0029 21.9988 17.3997 21.7717 16.8514C21.5447 16.3032 21.1602 15.8346 20.6668 15.5049C20.1734 15.1752 19.5934 14.9993 19 14.9993C18.4066 14.9993 17.8266 15.1752 17.3332 15.5049C16.8398 15.8346 16.4553 16.3032 16.2283 16.8514C16.0012 17.3997 15.9419 18.0029 16.0577 18.5849C16.1735 19.1668 16.4594 19.7014 16.879 20.1209C17.297 20.5399 18.004 21.1659 19 21.9999C20.051 21.1099 20.759 20.4839 21.121 20.1209Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M19 18V18.01" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></g><defs><clipPath id="clip0_231_103"><rect width="24" height="24" fill="white"></rect></clipPath></defs>', 2)
|
|
25628
25629
|
]));
|
|
25629
25630
|
}
|
|
25630
|
-
const n2 = /* @__PURE__ */
|
|
25631
|
+
const n2 = /* @__PURE__ */ rr(t2, [["render", i2]]);
|
|
25631
25632
|
function s2() {
|
|
25632
25633
|
const f = new URLSearchParams(window.location.search).get("layers");
|
|
25633
25634
|
return f ? f.split(",") : [];
|
|
@@ -25925,7 +25926,7 @@ const a2 = {
|
|
|
25925
25926
|
}, j2 = ["onClick"], N2 = { class: "flex items-center gap-x-3" }, W2 = ["title"], H2 = { class: "text-xs opacity-60 text-[#4b5563]" };
|
|
25926
25927
|
function Z2(u, f, y, x, A, P) {
|
|
25927
25928
|
var T;
|
|
25928
|
-
const v =
|
|
25929
|
+
const v = tr("VsPopover"), s = tr("DotsIcon"), D = tr("VsFilter"), L = tr("searchIcon"), I = tr("closeIcon"), O = tr("VsLayersItem"), M = tr("chevronRightIcon");
|
|
25929
25930
|
return be(), Ae("div", l2, [
|
|
25930
25931
|
ae("div", c2, [
|
|
25931
25932
|
ae("div", u2, [
|
|
@@ -26193,7 +26194,7 @@ function Z2(u, f, y, x, A, P) {
|
|
|
26193
26194
|
], 64))
|
|
26194
26195
|
]);
|
|
26195
26196
|
}
|
|
26196
|
-
const K2 = /* @__PURE__ */
|
|
26197
|
+
const K2 = /* @__PURE__ */ rr(a2, [["render", Z2], ["__scopeId", "data-v-4a68ffca"]]);
|
|
26197
26198
|
var Vu = { exports: {} }, qu = { exports: {} }, Dn = {}, nn = {}, Zm;
|
|
26198
26199
|
function an() {
|
|
26199
26200
|
if (Zm) return nn;
|
|
@@ -26709,11 +26710,11 @@ function ow() {
|
|
|
26709
26710
|
var Pe = $.compiler && $.compiler[0] === 7;
|
|
26710
26711
|
function qe(et, Ye, it) {
|
|
26711
26712
|
it.hash && (Ye = x.extend({}, Ye, it.hash), it.ids && (it.ids[0] = !0)), et = pe.VM.resolvePartial.call(this, et, Ye, it);
|
|
26712
|
-
var
|
|
26713
|
+
var Tt = x.extend({}, it, {
|
|
26713
26714
|
hooks: this.hooks,
|
|
26714
26715
|
protoAccessControl: this.protoAccessControl
|
|
26715
|
-
}), Ft = pe.VM.invokePartial.call(this, et, Ye,
|
|
26716
|
-
if (Ft == null && pe.compile && (it.partials[it.name] = pe.compile(et, $.compilerOptions, pe), Ft = it.partials[it.name](Ye,
|
|
26716
|
+
}), Ft = pe.VM.invokePartial.call(this, et, Ye, Tt);
|
|
26717
|
+
if (Ft == null && pe.compile && (it.partials[it.name] = pe.compile(et, $.compilerOptions, pe), Ft = it.partials[it.name](Ye, Tt)), Ft != null) {
|
|
26717
26718
|
if (it.indent) {
|
|
26718
26719
|
for (var vr = Ft.split(`
|
|
26719
26720
|
`), Er = 0, Vi = vr.length; Er < Vi && !(!vr[Er] && Er + 1 === Vi); Er++)
|
|
@@ -26726,20 +26727,20 @@ function ow() {
|
|
|
26726
26727
|
throw new P.default("The partial " + it.name + " could not be compiled when running in runtime-only mode");
|
|
26727
26728
|
}
|
|
26728
26729
|
var Ge = {
|
|
26729
|
-
strict: function(Ye, it,
|
|
26730
|
+
strict: function(Ye, it, Tt) {
|
|
26730
26731
|
if (!Ye || !(it in Ye))
|
|
26731
26732
|
throw new P.default('"' + it + '" not defined in ' + Ye, {
|
|
26732
|
-
loc:
|
|
26733
|
+
loc: Tt
|
|
26733
26734
|
});
|
|
26734
26735
|
return Ge.lookupProperty(Ye, it);
|
|
26735
26736
|
},
|
|
26736
26737
|
lookupProperty: function(Ye, it) {
|
|
26737
|
-
var
|
|
26738
|
-
if (
|
|
26739
|
-
return
|
|
26738
|
+
var Tt = Ye[it];
|
|
26739
|
+
if (Tt == null || Object.prototype.hasOwnProperty.call(Ye, it) || L.resultIsAllowed(Tt, Ge.protoAccessControl, it))
|
|
26740
|
+
return Tt;
|
|
26740
26741
|
},
|
|
26741
26742
|
lookup: function(Ye, it) {
|
|
26742
|
-
for (var
|
|
26743
|
+
for (var Tt = Ye.length, Ft = 0; Ft < Tt; Ft++) {
|
|
26743
26744
|
var vr = Ye[Ft] && Ge.lookupProperty(Ye[Ft], it);
|
|
26744
26745
|
if (vr != null)
|
|
26745
26746
|
return Ye[Ft][it];
|
|
@@ -26755,9 +26756,9 @@ function ow() {
|
|
|
26755
26756
|
return it.decorator = $[Ye + "_d"], it;
|
|
26756
26757
|
},
|
|
26757
26758
|
programs: [],
|
|
26758
|
-
program: function(Ye, it,
|
|
26759
|
+
program: function(Ye, it, Tt, Ft, vr) {
|
|
26759
26760
|
var Er = this.programs[Ye], Vi = this.fn(Ye);
|
|
26760
|
-
return it || vr || Ft ||
|
|
26761
|
+
return it || vr || Ft || Tt ? Er = M(this, Ye, Vi, it, Tt, Ft, vr) : Er || (Er = this.programs[Ye] = M(this, Ye, Vi)), Er;
|
|
26761
26762
|
},
|
|
26762
26763
|
data: function(Ye, it) {
|
|
26763
26764
|
for (; Ye && it--; )
|
|
@@ -26765,8 +26766,8 @@ function ow() {
|
|
|
26765
26766
|
return Ye;
|
|
26766
26767
|
},
|
|
26767
26768
|
mergeIfNeeded: function(Ye, it) {
|
|
26768
|
-
var
|
|
26769
|
-
return Ye && it && Ye !== it && (
|
|
26769
|
+
var Tt = Ye || it;
|
|
26770
|
+
return Ye && it && Ye !== it && (Tt = x.extend({}, it, Ye)), Tt;
|
|
26770
26771
|
},
|
|
26771
26772
|
// An empty object to use as replacement for null-contexts
|
|
26772
26773
|
nullContext: Object.seal({}),
|
|
@@ -26776,10 +26777,10 @@ function ow() {
|
|
|
26776
26777
|
function St(et) {
|
|
26777
26778
|
var Ye = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], it = Ye.data;
|
|
26778
26779
|
St._setup(Ye), !Ye.partial && $.useData && (it = Z(et, it));
|
|
26779
|
-
var
|
|
26780
|
-
$.useDepths && (Ye.depths ?
|
|
26780
|
+
var Tt = void 0, Ft = $.useBlockParams ? [] : void 0;
|
|
26781
|
+
$.useDepths && (Ye.depths ? Tt = et != Ye.depths[0] ? [et].concat(Ye.depths) : Ye.depths : Tt = [et]);
|
|
26781
26782
|
function vr(Er) {
|
|
26782
|
-
return "" + $.main(Ge, Er, Ge.helpers, Ge.partials, it, Ft,
|
|
26783
|
+
return "" + $.main(Ge, Er, Ge.helpers, Ge.partials, it, Ft, Tt);
|
|
26783
26784
|
}
|
|
26784
26785
|
return vr = re($.main, vr, Ge, Ye.depths || [], it, Ft), vr(et, Ye);
|
|
26785
26786
|
}
|
|
@@ -26792,18 +26793,18 @@ function ow() {
|
|
|
26792
26793
|
var it = et.allowCallsToHelperMissing || Pe;
|
|
26793
26794
|
s.moveHelperToHooks(Ge, "helperMissing", it), s.moveHelperToHooks(Ge, "blockHelperMissing", it);
|
|
26794
26795
|
}
|
|
26795
|
-
}, St._child = function(et, Ye, it,
|
|
26796
|
+
}, St._child = function(et, Ye, it, Tt) {
|
|
26796
26797
|
if ($.useBlockParams && !it)
|
|
26797
26798
|
throw new P.default("must pass block params");
|
|
26798
|
-
if ($.useDepths && !
|
|
26799
|
+
if ($.useDepths && !Tt)
|
|
26799
26800
|
throw new P.default("must pass parent depths");
|
|
26800
|
-
return M(Ge, et, $[et], Ye, 0, it,
|
|
26801
|
+
return M(Ge, et, $[et], Ye, 0, it, Tt);
|
|
26801
26802
|
}, St;
|
|
26802
26803
|
}
|
|
26803
26804
|
function M($, pe, Pe, qe, Ge, St, et) {
|
|
26804
26805
|
function Ye(it) {
|
|
26805
|
-
var
|
|
26806
|
-
return et && it != et[0] && !(it === $.nullContext && et[0] === null) && (Ft = [it].concat(et)), Pe($, it, $.helpers, $.partials,
|
|
26806
|
+
var Tt = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], Ft = et;
|
|
26807
|
+
return et && it != et[0] && !(it === $.nullContext && et[0] === null) && (Ft = [it].concat(et)), Pe($, it, $.helpers, $.partials, Tt.data || qe, St && [Tt.blockParams].concat(St), Ft);
|
|
26807
26808
|
}
|
|
26808
26809
|
return Ye = re(Pe, Ye, $, et, qe, St), Ye.program = pe, Ye.depth = et ? et.length : 0, Ye.blockParams = Ge || 0, Ye;
|
|
26809
26810
|
}
|
|
@@ -27189,8 +27190,8 @@ function lw() {
|
|
|
27189
27190
|
var re = this.lexer.options && this.lexer.options.ranges;
|
|
27190
27191
|
typeof this.yy.parseError == "function" && (this.parseError = this.yy.parseError);
|
|
27191
27192
|
function se() {
|
|
27192
|
-
var
|
|
27193
|
-
return
|
|
27193
|
+
var Tt;
|
|
27194
|
+
return Tt = D.lexer.lex() || 1, typeof Tt != "number" && (Tt = D.symbols_[Tt] || Tt), Tt;
|
|
27194
27195
|
}
|
|
27195
27196
|
for (var Te, $, pe, Pe, qe = {}, Ge, St, et, Ye; ; ) {
|
|
27196
27197
|
if ($ = L[L.length - 1], this.defaultActions[$] ? pe = this.defaultActions[$] : ((Te === null || typeof Te > "u") && (Te = se()), pe = M[$] && M[$][Te]), typeof pe > "u" || !pe.length || !pe[0]) {
|
|
@@ -29653,7 +29654,7 @@ const Iw = {
|
|
|
29653
29654
|
},
|
|
29654
29655
|
{ deep: !0 }
|
|
29655
29656
|
), (D, L) => {
|
|
29656
|
-
const I =
|
|
29657
|
+
const I = tr("VsFilter");
|
|
29657
29658
|
return v.value ? (be(), Ae("div", Iw, [
|
|
29658
29659
|
u.config.title ? (be(), Ae("div", Ew, [
|
|
29659
29660
|
ae("h2", Mw, at(u.config.title), 1)
|
|
@@ -29750,7 +29751,7 @@ const Iw = {
|
|
|
29750
29751
|
},
|
|
29751
29752
|
{ deep: !0 }
|
|
29752
29753
|
), (L, I) => {
|
|
29753
|
-
const O =
|
|
29754
|
+
const O = tr("VsPopover"), M = tr("VsFilterList");
|
|
29754
29755
|
return v.value && P.value.length ? (be(), ti(M, {
|
|
29755
29756
|
key: 0,
|
|
29756
29757
|
ref_key: "filter",
|
|
@@ -29805,7 +29806,8 @@ const Iw = {
|
|
|
29805
29806
|
default: cr(() => [
|
|
29806
29807
|
I[1] || (I[1] = dr(" Відкрити бокову панель "))
|
|
29807
29808
|
]),
|
|
29808
|
-
_: 1
|
|
29809
|
+
_: 1,
|
|
29810
|
+
__: [1]
|
|
29809
29811
|
})
|
|
29810
29812
|
]),
|
|
29811
29813
|
_: 1
|
|
@@ -29879,7 +29881,7 @@ const Iw = {
|
|
|
29879
29881
|
};
|
|
29880
29882
|
function Xw(u, f, y, x, A, P) {
|
|
29881
29883
|
var s;
|
|
29882
|
-
const v =
|
|
29884
|
+
const v = tr("VsPagination");
|
|
29883
29885
|
return be(), Ae("div", qw, [
|
|
29884
29886
|
f[0] || (f[0] = ae("h2", { class: "text-xl font-semibold mb-4" }, "Список", -1)),
|
|
29885
29887
|
((s = A.items) == null ? void 0 : s.length) > 0 ? (be(), Ae("div", Uw, [
|
|
@@ -29922,14 +29924,14 @@ function Xw(u, f, y, x, A, P) {
|
|
|
29922
29924
|
])) : (be(), Ae("div", Jw, "Немає даних"))
|
|
29923
29925
|
], 512);
|
|
29924
29926
|
}
|
|
29925
|
-
const Qw = /* @__PURE__ */
|
|
29927
|
+
const Qw = /* @__PURE__ */ rr(Vw, [["render", Xw]]), Yw = { class: "map-skeleton-loader" }, $w = {
|
|
29926
29928
|
__name: "vs-skeleton-loader",
|
|
29927
29929
|
setup(u) {
|
|
29928
29930
|
return (f, y) => (be(), Ae("div", Yw, y[0] || (y[0] = [
|
|
29929
29931
|
ae("div", { class: "dot-pulse" }, null, -1)
|
|
29930
29932
|
])));
|
|
29931
29933
|
}
|
|
29932
|
-
}, eS = /* @__PURE__ */
|
|
29934
|
+
}, eS = /* @__PURE__ */ rr($w, [["__scopeId", "data-v-954c1e03"]]), tS = {}, rS = {
|
|
29933
29935
|
width: "24",
|
|
29934
29936
|
height: "24",
|
|
29935
29937
|
viewBox: "0 0 24 24",
|
|
@@ -29963,7 +29965,7 @@ function iS(u, f) {
|
|
|
29963
29965
|
}, null, -1)
|
|
29964
29966
|
]));
|
|
29965
29967
|
}
|
|
29966
|
-
const nS = /* @__PURE__ */
|
|
29968
|
+
const nS = /* @__PURE__ */ rr(tS, [["render", iS]]), sS = {
|
|
29967
29969
|
components: {
|
|
29968
29970
|
homeIcon: nS
|
|
29969
29971
|
},
|
|
@@ -29980,7 +29982,7 @@ const nS = /* @__PURE__ */ tr(tS, [["render", iS]]), sS = {
|
|
|
29980
29982
|
computed: {}
|
|
29981
29983
|
};
|
|
29982
29984
|
function oS(u, f, y, x, A, P) {
|
|
29983
|
-
const v =
|
|
29985
|
+
const v = tr("homeIcon"), s = tr("VsPopover");
|
|
29984
29986
|
return be(), Ae("div", null, [
|
|
29985
29987
|
ar(s, {
|
|
29986
29988
|
trigger: "hover",
|
|
@@ -29997,11 +29999,12 @@ function oS(u, f, y, x, A, P) {
|
|
|
29997
29999
|
default: cr(() => [
|
|
29998
30000
|
f[0] || (f[0] = ae("div", null, "Повернутися до початкових налаштувань", -1))
|
|
29999
30001
|
]),
|
|
30000
|
-
_: 1
|
|
30002
|
+
_: 1,
|
|
30003
|
+
__: [0]
|
|
30001
30004
|
})
|
|
30002
30005
|
]);
|
|
30003
30006
|
}
|
|
30004
|
-
const aS = /* @__PURE__ */
|
|
30007
|
+
const aS = /* @__PURE__ */ rr(sS, [["render", oS]]), lS = {}, cS = {
|
|
30005
30008
|
width: "24",
|
|
30006
30009
|
height: "24",
|
|
30007
30010
|
viewBox: "0 0 24 24",
|
|
@@ -30035,7 +30038,7 @@ function uS(u, f) {
|
|
|
30035
30038
|
}, null, -1)
|
|
30036
30039
|
]));
|
|
30037
30040
|
}
|
|
30038
|
-
const hS = /* @__PURE__ */
|
|
30041
|
+
const hS = /* @__PURE__ */ rr(lS, [["render", uS]]), pS = {
|
|
30039
30042
|
components: {
|
|
30040
30043
|
printIcon: hS
|
|
30041
30044
|
},
|
|
@@ -30154,7 +30157,7 @@ const hS = /* @__PURE__ */ tr(lS, [["render", uS]]), pS = {
|
|
|
30154
30157
|
}
|
|
30155
30158
|
};
|
|
30156
30159
|
function dS(u, f, y, x, A, P) {
|
|
30157
|
-
const v =
|
|
30160
|
+
const v = tr("printIcon"), s = tr("VsPopover");
|
|
30158
30161
|
return be(), ti(s, {
|
|
30159
30162
|
trigger: "hover",
|
|
30160
30163
|
placement: "left",
|
|
@@ -30169,10 +30172,11 @@ function dS(u, f, y, x, A, P) {
|
|
|
30169
30172
|
default: cr(() => [
|
|
30170
30173
|
f[0] || (f[0] = ae("div", null, "Надрукувати", -1))
|
|
30171
30174
|
]),
|
|
30172
|
-
_: 1
|
|
30175
|
+
_: 1,
|
|
30176
|
+
__: [0]
|
|
30173
30177
|
});
|
|
30174
30178
|
}
|
|
30175
|
-
const fS = /* @__PURE__ */
|
|
30179
|
+
const fS = /* @__PURE__ */ rr(pS, [["render", dS]]), mS = {
|
|
30176
30180
|
props: {
|
|
30177
30181
|
map: {
|
|
30178
30182
|
type: Object,
|
|
@@ -30208,7 +30212,7 @@ const fS = /* @__PURE__ */ tr(pS, [["render", dS]]), mS = {
|
|
|
30208
30212
|
}
|
|
30209
30213
|
};
|
|
30210
30214
|
function gS(u, f, y, x, A, P) {
|
|
30211
|
-
const v =
|
|
30215
|
+
const v = tr("VsPopover");
|
|
30212
30216
|
return be(), ti(v, {
|
|
30213
30217
|
trigger: "hover",
|
|
30214
30218
|
placement: "left",
|
|
@@ -30224,10 +30228,11 @@ function gS(u, f, y, x, A, P) {
|
|
|
30224
30228
|
default: cr(() => [
|
|
30225
30229
|
f[1] || (f[1] = ae("div", null, "Перемикач виду", -1))
|
|
30226
30230
|
]),
|
|
30227
|
-
_: 1
|
|
30231
|
+
_: 1,
|
|
30232
|
+
__: [1]
|
|
30228
30233
|
});
|
|
30229
30234
|
}
|
|
30230
|
-
const yS = /* @__PURE__ */
|
|
30235
|
+
const yS = /* @__PURE__ */ rr(mS, [["render", gS]]), _S = {}, vS = {
|
|
30231
30236
|
class: "shrink-0 size-4",
|
|
30232
30237
|
xmlns: "http://www.w3.org/2000/svg",
|
|
30233
30238
|
width: "24",
|
|
@@ -30245,7 +30250,7 @@ function xS(u, f) {
|
|
|
30245
30250
|
ae("path", { d: "m6 6 12 12" }, null, -1)
|
|
30246
30251
|
]));
|
|
30247
30252
|
}
|
|
30248
|
-
const Vd = /* @__PURE__ */
|
|
30253
|
+
const Vd = /* @__PURE__ */ rr(_S, [["render", xS]]), bS = {
|
|
30249
30254
|
props: {
|
|
30250
30255
|
bgColor: {
|
|
30251
30256
|
type: String,
|
|
@@ -30307,7 +30312,7 @@ function IS(u, f, y, x, A, P) {
|
|
|
30307
30312
|
}, null, 8, PS)
|
|
30308
30313
|
]);
|
|
30309
30314
|
}
|
|
30310
|
-
const ES = /* @__PURE__ */
|
|
30315
|
+
const ES = /* @__PURE__ */ rr(bS, [["render", IS]]), { Marker: MS } = wd, LS = {
|
|
30311
30316
|
components: {
|
|
30312
30317
|
geoIcon: ES,
|
|
30313
30318
|
closeIcon: Vd
|
|
@@ -30391,7 +30396,7 @@ const ES = /* @__PURE__ */ tr(bS, [["render", IS]]), { Marker: MS } = wd, LS = {
|
|
|
30391
30396
|
}, zS = { class: "flex justify-between items-center border-b pb-[16px]" }, DS = { class: "d-flex" }, BS = { class: "pt-[16px]" };
|
|
30392
30397
|
function OS(u, f, y, x, A, P) {
|
|
30393
30398
|
var L, I, O, M, T, k;
|
|
30394
|
-
const v =
|
|
30399
|
+
const v = tr("closeIcon"), s = tr("geoIcon"), D = tr("VsPopover");
|
|
30395
30400
|
return be(), Ae("div", null, [
|
|
30396
30401
|
(be(), ti(kd, { to: "#maplibre-demo-map" }, [
|
|
30397
30402
|
A.location ? (be(), Ae("div", RS, [
|
|
@@ -30444,11 +30449,12 @@ function OS(u, f, y, x, A, P) {
|
|
|
30444
30449
|
default: cr(() => [
|
|
30445
30450
|
f[7] || (f[7] = ae("div", null, "Дізнатися геолокацію", -1))
|
|
30446
30451
|
]),
|
|
30447
|
-
_: 1
|
|
30452
|
+
_: 1,
|
|
30453
|
+
__: [7]
|
|
30448
30454
|
})
|
|
30449
30455
|
]);
|
|
30450
30456
|
}
|
|
30451
|
-
const FS = /* @__PURE__ */
|
|
30457
|
+
const FS = /* @__PURE__ */ rr(LS, [["render", OS]]);
|
|
30452
30458
|
var zg = 63710088e-1;
|
|
30453
30459
|
function VS(u, f) {
|
|
30454
30460
|
var y, x, A, P, v, s, D, L, I, O, M = 0, T = u.type === "FeatureCollection", k = u.type === "Feature", j = T ? u.features.length : 1;
|
|
@@ -30929,7 +30935,7 @@ function nA(u, f, y, x, A, P) {
|
|
|
30929
30935
|
}, null, 8, iA)
|
|
30930
30936
|
]);
|
|
30931
30937
|
}
|
|
30932
|
-
const sA = /* @__PURE__ */
|
|
30938
|
+
const sA = /* @__PURE__ */ rr(QS, [["render", nA]]), oA = {
|
|
30933
30939
|
name: "vs-measure",
|
|
30934
30940
|
components: {
|
|
30935
30941
|
rulerIcon: sA,
|
|
@@ -31182,7 +31188,7 @@ const sA = /* @__PURE__ */ tr(QS, [["render", nA]]), oA = {
|
|
|
31182
31188
|
ref: "distanceContainer"
|
|
31183
31189
|
};
|
|
31184
31190
|
function dA(u, f, y, x, A, P) {
|
|
31185
|
-
const v =
|
|
31191
|
+
const v = tr("closeIcon"), s = tr("VsPopover"), D = tr("VsSwitch"), L = tr("rulerIcon");
|
|
31186
31192
|
return be(), Ae("div", null, [
|
|
31187
31193
|
(be(), ti(kd, { to: "#maplibre-demo-map" }, [
|
|
31188
31194
|
A.modalVisible && y.activeTool === "length" ? (be(), Ae("div", aA, [
|
|
@@ -31204,7 +31210,8 @@ function dA(u, f, y, x, A, P) {
|
|
|
31204
31210
|
default: cr(() => [
|
|
31205
31211
|
f[2] || (f[2] = dr(" Приховати панель "))
|
|
31206
31212
|
]),
|
|
31207
|
-
_: 1
|
|
31213
|
+
_: 1,
|
|
31214
|
+
__: [2]
|
|
31208
31215
|
})
|
|
31209
31216
|
]),
|
|
31210
31217
|
ae("div", cA, [
|
|
@@ -31249,11 +31256,12 @@ function dA(u, f, y, x, A, P) {
|
|
|
31249
31256
|
default: cr(() => [
|
|
31250
31257
|
f[6] || (f[6] = ae("div", null, "Виміряти довжину", -1))
|
|
31251
31258
|
]),
|
|
31252
|
-
_: 1
|
|
31259
|
+
_: 1,
|
|
31260
|
+
__: [6]
|
|
31253
31261
|
})
|
|
31254
31262
|
]);
|
|
31255
31263
|
}
|
|
31256
|
-
const fA = /* @__PURE__ */
|
|
31264
|
+
const fA = /* @__PURE__ */ rr(oA, [["render", dA], ["__scopeId", "data-v-401b2f16"]]), mA = {
|
|
31257
31265
|
props: {
|
|
31258
31266
|
bgColor: {
|
|
31259
31267
|
type: String,
|
|
@@ -31294,7 +31302,7 @@ function xA(u, f, y, x, A, P) {
|
|
|
31294
31302
|
}, null, 8, vA)
|
|
31295
31303
|
]);
|
|
31296
31304
|
}
|
|
31297
|
-
const bA = /* @__PURE__ */
|
|
31305
|
+
const bA = /* @__PURE__ */ rr(mA, [["render", xA]]), wA = {
|
|
31298
31306
|
components: {
|
|
31299
31307
|
areaIcon: bA,
|
|
31300
31308
|
closeIcon: Vd
|
|
@@ -31528,7 +31536,7 @@ const bA = /* @__PURE__ */ tr(mA, [["render", xA]]), wA = {
|
|
|
31528
31536
|
class: "text-[14px] font-bold"
|
|
31529
31537
|
};
|
|
31530
31538
|
function PA(u, f, y, x, A, P) {
|
|
31531
|
-
const v =
|
|
31539
|
+
const v = tr("closeIcon"), s = tr("VsPopover"), D = tr("areaIcon");
|
|
31532
31540
|
return be(), Ae("div", null, [
|
|
31533
31541
|
(be(), ti(kd, { to: "#maplibre-demo-map" }, [
|
|
31534
31542
|
A.modalVisible && y.activeTool === "area" ? (be(), Ae("div", SA, [
|
|
@@ -31550,7 +31558,8 @@ function PA(u, f, y, x, A, P) {
|
|
|
31550
31558
|
default: cr(() => [
|
|
31551
31559
|
f[1] || (f[1] = dr(" Приховати панель "))
|
|
31552
31560
|
]),
|
|
31553
|
-
_: 1
|
|
31561
|
+
_: 1,
|
|
31562
|
+
__: [1]
|
|
31554
31563
|
})
|
|
31555
31564
|
]),
|
|
31556
31565
|
ae("div", kA, [
|
|
@@ -31587,11 +31596,12 @@ function PA(u, f, y, x, A, P) {
|
|
|
31587
31596
|
default: cr(() => [
|
|
31588
31597
|
f[4] || (f[4] = ae("div", null, "Виміряти площу", -1))
|
|
31589
31598
|
]),
|
|
31590
|
-
_: 1
|
|
31599
|
+
_: 1,
|
|
31600
|
+
__: [4]
|
|
31591
31601
|
})
|
|
31592
31602
|
]);
|
|
31593
31603
|
}
|
|
31594
|
-
const IA = /* @__PURE__ */
|
|
31604
|
+
const IA = /* @__PURE__ */ rr(wA, [["render", PA], ["__scopeId", "data-v-024154e1"]]), ph = {
|
|
31595
31605
|
__name: "vs-map-widget-column",
|
|
31596
31606
|
props: {
|
|
31597
31607
|
position: String,
|
|
@@ -31736,9 +31746,9 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
31736
31746
|
try {
|
|
31737
31747
|
if (Qe)
|
|
31738
31748
|
if (ct === "markdown") {
|
|
31739
|
-
const Rt = Qe.replace(/\{\{([^}]+)\}\}/g, (ut,
|
|
31749
|
+
const Rt = Qe.replace(/\{\{([^}]+)\}\}/g, (ut, kt) => {
|
|
31740
31750
|
try {
|
|
31741
|
-
return new Function("data", `with(data) { return ${
|
|
31751
|
+
return new Function("data", `with(data) { return ${kt} }`)(st);
|
|
31742
31752
|
} catch {
|
|
31743
31753
|
return "";
|
|
31744
31754
|
}
|
|
@@ -31750,7 +31760,7 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
31750
31760
|
return console.error("Error processing template:", Rt), Qe;
|
|
31751
31761
|
}
|
|
31752
31762
|
}, j = (Qe, st, ct, Rt, ut) => {
|
|
31753
|
-
const
|
|
31763
|
+
const kt = k(Qe, Rt, ut), Pt = st ? k(st, Rt, ut) : "";
|
|
31754
31764
|
let It = "";
|
|
31755
31765
|
return ct != null && ct.length && (It = ct.map((Et) => {
|
|
31756
31766
|
const Ot = k(Et.value, Rt, ut);
|
|
@@ -31762,9 +31772,9 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
31762
31772
|
`;
|
|
31763
31773
|
}).join("")), `
|
|
31764
31774
|
<div class="absolute min-w-28 max-w-[300px] bg-white/90 border border-gray-200 rounded-lg shadow-md text-gray-800 pointer-events-none">
|
|
31765
|
-
${
|
|
31775
|
+
${kt ? `
|
|
31766
31776
|
<div class="font-semibold text-sm border-b border-solid border-gray-200 text-gray-800 rounded-t-lg px-2 py-1">
|
|
31767
|
-
<h3>${
|
|
31777
|
+
<h3>${kt}</h3>
|
|
31768
31778
|
</div>
|
|
31769
31779
|
` : ""}
|
|
31770
31780
|
${st ? `<div class="text-sm px-2 py-1 break-words">${Pt}</div>` : ""}
|
|
@@ -31792,22 +31802,22 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
31792
31802
|
P.value = Qe;
|
|
31793
31803
|
};
|
|
31794
31804
|
function Te() {
|
|
31795
|
-
const Qe = new URLSearchParams(window.location.search), st = parseFloat(Qe.get("x")), ct = parseFloat(Qe.get("y")), Rt = parseFloat(Qe.get("z")), ut = parseFloat(Qe.get("bearing")),
|
|
31805
|
+
const Qe = new URLSearchParams(window.location.search), st = parseFloat(Qe.get("x")), ct = parseFloat(Qe.get("y")), Rt = parseFloat(Qe.get("z")), ut = parseFloat(Qe.get("bearing")), kt = parseFloat(Qe.get("pitch"));
|
|
31796
31806
|
return {
|
|
31797
31807
|
center: isFinite(st) && isFinite(ct) ? [st, ct] : null,
|
|
31798
31808
|
zoom: isFinite(Rt) ? Rt : null,
|
|
31799
31809
|
bearing: isFinite(ut) ? ut : null,
|
|
31800
|
-
pitch: isFinite(
|
|
31810
|
+
pitch: isFinite(kt) ? kt : null
|
|
31801
31811
|
};
|
|
31802
31812
|
}
|
|
31803
31813
|
function $({ center: Qe, zoom: st, bearing: ct, pitch: Rt }) {
|
|
31804
31814
|
const ut = new URLSearchParams(window.location.search);
|
|
31805
31815
|
ut.set("x", Qe[0].toFixed(5)), ut.set("y", Qe[1].toFixed(5)), ut.set("z", st.toFixed(2)), ut.set("bearing", ct.toFixed(2)), ut.set("pitch", Rt.toFixed(2));
|
|
31806
|
-
const
|
|
31807
|
-
window.history.replaceState({}, "",
|
|
31816
|
+
const kt = `${window.location.pathname}?${ut.toString()}`;
|
|
31817
|
+
window.history.replaceState({}, "", kt);
|
|
31808
31818
|
}
|
|
31809
31819
|
const pe = () => {
|
|
31810
|
-
var
|
|
31820
|
+
var kt, Pt, It;
|
|
31811
31821
|
if (!O.value || !O.value.map) return;
|
|
31812
31822
|
const Qe = {
|
|
31813
31823
|
version: 8,
|
|
@@ -31828,7 +31838,7 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
31828
31838
|
bearing: Rt,
|
|
31829
31839
|
pitch: ut,
|
|
31830
31840
|
maxBounds: [18.0856083513, 40.3614785833, 58.0807890155, 56.3350745713]
|
|
31831
|
-
}), (It = (Pt = (
|
|
31841
|
+
}), (It = (Pt = (kt = O == null ? void 0 : O.value) == null ? void 0 : kt.interactions) == null ? void 0 : Pt.navigation) != null && It.enabled && !M && (M = new wd.NavigationControl({
|
|
31832
31842
|
showCompass: !0,
|
|
31833
31843
|
showZoom: !0,
|
|
31834
31844
|
visualizePitch: !0
|
|
@@ -31837,11 +31847,11 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
31837
31847
|
x.value = !0, await Pw(y.value);
|
|
31838
31848
|
const Et = Te(), Ot = Et.center && Et.zoom !== null;
|
|
31839
31849
|
if ((Fr = O.value.map) != null && Fr.bbox && !Ot) {
|
|
31840
|
-
const [
|
|
31850
|
+
const [sr, nr, At, Sr] = O.value.map.bbox;
|
|
31841
31851
|
y.value.fitBounds(
|
|
31842
31852
|
[
|
|
31843
|
-
[
|
|
31844
|
-
[
|
|
31853
|
+
[sr, nr],
|
|
31854
|
+
[At, Sr]
|
|
31845
31855
|
],
|
|
31846
31856
|
{
|
|
31847
31857
|
padding: 50,
|
|
@@ -31850,15 +31860,15 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
31850
31860
|
);
|
|
31851
31861
|
}
|
|
31852
31862
|
if (await (async () => {
|
|
31853
|
-
var
|
|
31854
|
-
const
|
|
31855
|
-
(
|
|
31856
|
-
var
|
|
31857
|
-
return ((
|
|
31863
|
+
var nr, At, Sr, Wr, Vr;
|
|
31864
|
+
const sr = ((Vr = (Wr = (Sr = (At = (nr = O.value) == null ? void 0 : nr.widgets) == null ? void 0 : At.find((Jt) => Jt.type === "layers")) == null ? void 0 : Sr.config) == null ? void 0 : Wr.layers) == null ? void 0 : Vr.filter(
|
|
31865
|
+
(Jt) => {
|
|
31866
|
+
var Jr;
|
|
31867
|
+
return ((Jr = Jt.style) == null ? void 0 : Jr.attrType) === "icon-by-attribute";
|
|
31858
31868
|
}
|
|
31859
31869
|
)) || [];
|
|
31860
|
-
for (const
|
|
31861
|
-
const { rules:
|
|
31870
|
+
for (const Jt of sr) {
|
|
31871
|
+
const { rules: Jr, default_icon: hi, icon_base_url: vi } = Jt.style, Ri = [...Jr.map((xr) => xr.icon), hi].filter(
|
|
31862
31872
|
Boolean
|
|
31863
31873
|
);
|
|
31864
31874
|
for (const xr of Ri)
|
|
@@ -31869,14 +31879,14 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
31869
31879
|
console.error(`Failed to load icon: ${xr}`, Ar);
|
|
31870
31880
|
}
|
|
31871
31881
|
}
|
|
31872
|
-
})(), (Fn = (cn = (ui = O.value) == null ? void 0 : ui.interactions) == null ? void 0 : cn.hover) != null && Fn.enabled && (y.value.on("mousemove", (
|
|
31873
|
-
var
|
|
31874
|
-
const
|
|
31875
|
-
if (y.value && y.value.getCanvas && (y.value.getCanvas().style.cursor =
|
|
31882
|
+
})(), (Fn = (cn = (ui = O.value) == null ? void 0 : ui.interactions) == null ? void 0 : cn.hover) != null && Fn.enabled && (y.value.on("mousemove", (sr) => {
|
|
31883
|
+
var Jr, hi, vi, Ri, xr, Ar, ri, Se, K, X;
|
|
31884
|
+
const nr = y.value.queryRenderedFeatures(sr.point);
|
|
31885
|
+
if (y.value && y.value.getCanvas && (y.value.getCanvas().style.cursor = nr.length ? "pointer" : ""), !nr.length) {
|
|
31876
31886
|
if (v.value) {
|
|
31877
|
-
const Q = (
|
|
31887
|
+
const Q = (Jr = y.value.getSource(
|
|
31878
31888
|
v.value.source
|
|
31879
|
-
)) == null ? void 0 :
|
|
31889
|
+
)) == null ? void 0 : Jr.type;
|
|
31880
31890
|
v.value.source, v.value.id, Q === "vector" && v.value.source, it(
|
|
31881
31891
|
y.value,
|
|
31882
31892
|
v.value.source,
|
|
@@ -31887,8 +31897,8 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
31887
31897
|
A && (A.remove(), A = null);
|
|
31888
31898
|
return;
|
|
31889
31899
|
}
|
|
31890
|
-
const
|
|
31891
|
-
if (!v.value || v.value.id !==
|
|
31900
|
+
const At = nr[0];
|
|
31901
|
+
if (!v.value || v.value.id !== At.id || v.value.source !== At.layer.source) {
|
|
31892
31902
|
if (v.value) {
|
|
31893
31903
|
const he = (hi = y.value.getSource(
|
|
31894
31904
|
v.value.source
|
|
@@ -31900,32 +31910,32 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
31900
31910
|
{ hovered: !1 }
|
|
31901
31911
|
);
|
|
31902
31912
|
}
|
|
31903
|
-
const Q = (vi = y.value.getSource(
|
|
31904
|
-
|
|
31913
|
+
const Q = (vi = y.value.getSource(At.layer.source)) == null ? void 0 : vi.type;
|
|
31914
|
+
At.layer.source, At.id, Q === "vector" && At.layer.source, it(y.value, At.layer.source, At.id, {
|
|
31905
31915
|
hovered: !0
|
|
31906
|
-
}), v.value = { source:
|
|
31916
|
+
}), v.value = { source: At.layer.source, id: At.id };
|
|
31907
31917
|
}
|
|
31908
|
-
const
|
|
31918
|
+
const Sr = (xr = (Ri = O.value) == null ? void 0 : Ri.widgets) == null ? void 0 : xr.find(
|
|
31909
31919
|
(Q) => Q.type === "layers"
|
|
31910
|
-
),
|
|
31920
|
+
), Wr = (ri = (Ar = O.value) == null ? void 0 : Ar.widgets) == null ? void 0 : ri.find(
|
|
31911
31921
|
(Q) => Q.type === "attribute"
|
|
31912
31922
|
);
|
|
31913
|
-
let
|
|
31914
|
-
if (
|
|
31915
|
-
(Q) => Q.id ===
|
|
31923
|
+
let Vr = null;
|
|
31924
|
+
if (Sr && (Vr = Sr.config.layers.find(
|
|
31925
|
+
(Q) => Q.id === At.layer.source
|
|
31916
31926
|
)), (K = (Se = O.value) == null ? void 0 : Se.widgets) == null ? void 0 : K.find(
|
|
31917
31927
|
(Q) => Q.type === "catalog"
|
|
31918
31928
|
)) {
|
|
31919
|
-
if (!
|
|
31929
|
+
if (!nr.length) {
|
|
31920
31930
|
A && (A.style.display = "none");
|
|
31921
31931
|
return;
|
|
31922
31932
|
}
|
|
31923
|
-
const Q =
|
|
31924
|
-
A = Ss(Q,
|
|
31933
|
+
const Q = nr[0];
|
|
31934
|
+
A = Ss(Q, sr, A);
|
|
31925
31935
|
return;
|
|
31926
31936
|
}
|
|
31927
|
-
if (!
|
|
31928
|
-
const Q =
|
|
31937
|
+
if (!Vr && Wr && Wr.config.layer.id === At.layer.source && (Vr = Wr.config.layer), (X = Vr == null ? void 0 : Vr.style) != null && X.popup) {
|
|
31938
|
+
const Q = Vr.style.popup;
|
|
31929
31939
|
let he = Q.title, _e = "";
|
|
31930
31940
|
Q.mode === "markdown" ? _e = Array.isArray(Q.content) ? Q.content.join(`
|
|
31931
31941
|
|
|
@@ -31933,17 +31943,17 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
31933
31943
|
he,
|
|
31934
31944
|
_e,
|
|
31935
31945
|
Q.fields,
|
|
31936
|
-
|
|
31946
|
+
At.properties,
|
|
31937
31947
|
Q.mode
|
|
31938
|
-
), Li(A,
|
|
31948
|
+
), Li(A, sr);
|
|
31939
31949
|
}
|
|
31940
31950
|
}), y.value.on("mouseleave", () => {
|
|
31941
|
-
var
|
|
31951
|
+
var sr;
|
|
31942
31952
|
if (A && (A.remove(), A = null), v.value) {
|
|
31943
|
-
const
|
|
31953
|
+
const nr = (sr = y.value.getSource(
|
|
31944
31954
|
v.value.source
|
|
31945
|
-
)) == null ? void 0 :
|
|
31946
|
-
v.value.source, v.value.id,
|
|
31955
|
+
)) == null ? void 0 : sr.type;
|
|
31956
|
+
v.value.source, v.value.id, nr === "vector" && v.value.source, it(
|
|
31947
31957
|
y.value,
|
|
31948
31958
|
v.value.source,
|
|
31949
31959
|
v.value.id,
|
|
@@ -31951,11 +31961,20 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
31951
31961
|
), v.value = null;
|
|
31952
31962
|
}
|
|
31953
31963
|
y.value && y.value.getCanvas && (y.value.getCanvas().style.cursor = "");
|
|
31954
|
-
})), y.value.on("click", async (
|
|
31964
|
+
})), y.value.on("click", async (sr) => {
|
|
31955
31965
|
var hi, vi, Ri, xr, Ar, ri, Se;
|
|
31956
|
-
if (["length", "area", "print"].includes(I.value)) return;
|
|
31957
|
-
const
|
|
31958
|
-
if (!
|
|
31966
|
+
if (Pe(), ["length", "area", "print"].includes(I.value)) return;
|
|
31967
|
+
const nr = y.value.queryRenderedFeatures(sr.point);
|
|
31968
|
+
if (!nr.length) return;
|
|
31969
|
+
const At = nr[0], Sr = (vi = (hi = O.value) == null ? void 0 : hi.widgets) == null ? void 0 : vi.find(
|
|
31970
|
+
(K) => K.type === "layers"
|
|
31971
|
+
), Wr = (xr = (Ri = O.value) == null ? void 0 : Ri.widgets) == null ? void 0 : xr.find(
|
|
31972
|
+
(K) => K.type === "attribute"
|
|
31973
|
+
), Vr = (ri = (Ar = O.value) == null ? void 0 : Ar.widgets) == null ? void 0 : ri.find(
|
|
31974
|
+
(K) => K.type === "catalog"
|
|
31975
|
+
);
|
|
31976
|
+
let Jt;
|
|
31977
|
+
if (Vr ? Jt = At.layer.source : Jt = (Wr == null ? void 0 : Wr.config.layer) || (Sr == null ? void 0 : Sr.config.layers.find((K) => K.id === At.layer.source)), Jt != null && Jt.noCard) return;
|
|
31959
31978
|
s.value.forEach((K) => {
|
|
31960
31979
|
var Q;
|
|
31961
31980
|
const X = (Q = y.value.getSource(K.source)) == null ? void 0 : Q.type;
|
|
@@ -31963,53 +31982,44 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
31963
31982
|
selected: !1
|
|
31964
31983
|
});
|
|
31965
31984
|
}), s.value = [];
|
|
31966
|
-
const
|
|
31967
|
-
|
|
31985
|
+
const Jr = (Se = y.value.getSource(At.layer.source)) == null ? void 0 : Se.type;
|
|
31986
|
+
At.layer.source, At.id, Jr === "vector" && At.layer.source, it(y.value, At.layer.source, At.id, {
|
|
31968
31987
|
selected: !0
|
|
31969
|
-
}), s.value.push({ source:
|
|
31970
|
-
|
|
31971
|
-
(
|
|
31972
|
-
|
|
31973
|
-
(
|
|
31974
|
-
), Ur = (Se = (ri = O.value) == null ? void 0 : ri.widgets) == null ? void 0 : Se.find(
|
|
31975
|
-
(K) => K.type === "catalog"
|
|
31976
|
-
);
|
|
31977
|
-
let sr;
|
|
31978
|
-
Ur ? sr = Tt.layer.source : sr = (Sr == null ? void 0 : Sr.config.layer) || (Hr == null ? void 0 : Hr.config.layers.find((K) => K.id === Tt.layer.source)), L.value = {
|
|
31979
|
-
layer: (sr == null ? void 0 : sr.service_key) || sr || "",
|
|
31980
|
-
map: (sr == null ? void 0 : sr.map_key) || "",
|
|
31981
|
-
id: Tt.properties.id,
|
|
31982
|
-
title: (sr == null ? void 0 : sr.title) || ""
|
|
31988
|
+
}), s.value.push({ source: At.layer.source, id: At.id }), L.value = {
|
|
31989
|
+
layer: (Jt == null ? void 0 : Jt.service_key) || Jt || "",
|
|
31990
|
+
map: (Jt == null ? void 0 : Jt.map_key) || "",
|
|
31991
|
+
id: At.properties.id,
|
|
31992
|
+
title: (Jt == null ? void 0 : Jt.title) || ""
|
|
31983
31993
|
};
|
|
31984
|
-
}), y.value.on("dblclick", (
|
|
31985
|
-
var
|
|
31986
|
-
if (["length", "area", "print"].includes(I.value)) return;
|
|
31987
|
-
Vi([
|
|
31988
|
-
const
|
|
31989
|
-
(
|
|
31994
|
+
}), y.value.on("dblclick", (sr) => {
|
|
31995
|
+
var Sr, Wr, Vr;
|
|
31996
|
+
if (Pe(), ["length", "area", "print"].includes(I.value)) return;
|
|
31997
|
+
Vi([sr.lngLat.lng, sr.lngLat.lat]);
|
|
31998
|
+
const nr = (Wr = (Sr = O.value) == null ? void 0 : Sr.widgets) == null ? void 0 : Wr.find(
|
|
31999
|
+
(Jt) => Jt.type === "layers"
|
|
31990
32000
|
);
|
|
31991
|
-
let
|
|
31992
|
-
(
|
|
31993
|
-
(
|
|
31994
|
-
(
|
|
32001
|
+
let At = null;
|
|
32002
|
+
(Vr = nr == null ? void 0 : nr.config) != null && Vr.layers && (At = nr.config.layers.find(
|
|
32003
|
+
(Jt) => Jt.visible !== !1 && ["tms", "wms", "raster"].includes(
|
|
32004
|
+
(Jt.service_type || Jt.service || "").toLowerCase()
|
|
31995
32005
|
)
|
|
31996
|
-
)), L.value = {
|
|
31997
|
-
layer: (
|
|
31998
|
-
map: (
|
|
32006
|
+
)), !(At != null && At.noCard) && (L.value = {
|
|
32007
|
+
layer: (At == null ? void 0 : At.map_key) || "",
|
|
32008
|
+
map: (At == null ? void 0 : At.service_key) || "",
|
|
31999
32009
|
id: "",
|
|
32000
|
-
title: (
|
|
32001
|
-
};
|
|
32010
|
+
title: (At == null ? void 0 : At.title) || ""
|
|
32011
|
+
});
|
|
32002
32012
|
}), y.value.resize(), (_i = O == null ? void 0 : O.value) != null && _i.history) {
|
|
32003
|
-
const
|
|
32004
|
-
const
|
|
32013
|
+
const sr = () => {
|
|
32014
|
+
const nr = y.value.getCenter();
|
|
32005
32015
|
$({
|
|
32006
|
-
center: [
|
|
32016
|
+
center: [nr.lng, nr.lat],
|
|
32007
32017
|
zoom: y.value.getZoom(),
|
|
32008
32018
|
bearing: y.value.getBearing(),
|
|
32009
32019
|
pitch: y.value.getPitch()
|
|
32010
32020
|
});
|
|
32011
32021
|
};
|
|
32012
|
-
y.value.on("moveend",
|
|
32022
|
+
y.value.on("moveend", sr), y.value.on("rotate", sr), y.value.on("pitch", sr);
|
|
32013
32023
|
}
|
|
32014
32024
|
});
|
|
32015
32025
|
}, Pe = () => {
|
|
@@ -32064,18 +32074,18 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
32064
32074
|
return (st = Qe == null ? void 0 : Qe.config) != null && st.layers ? Qe.config.layers.map((ct) => ({ ...ct, visible: ct.visible ?? !1 })).filter((ct) => ct.visible).map((ct) => ct.id) : [];
|
|
32065
32075
|
};
|
|
32066
32076
|
function it(Qe, st, ct, Rt) {
|
|
32067
|
-
Qe.getStyle().layers.filter((
|
|
32077
|
+
Qe.getStyle().layers.filter((kt) => kt.source === st).forEach((kt) => {
|
|
32068
32078
|
var It;
|
|
32069
32079
|
const Pt = { source: st, id: ct };
|
|
32070
|
-
((It = Qe.getSource(st)) == null ? void 0 : It.type) === "vector" &&
|
|
32080
|
+
((It = Qe.getSource(st)) == null ? void 0 : It.type) === "vector" && kt["source-layer"] && (Pt.sourceLayer = kt["source-layer"]), Qe.setFeatureState(Pt, Rt);
|
|
32071
32081
|
});
|
|
32072
32082
|
}
|
|
32073
|
-
const
|
|
32083
|
+
const Tt = or(() => !!O.value && !!O.value.interactions && !!O.value.interactions.navigation && O.value.interactions.navigation.enabled), Ft = or(() => !!O.value && Array.isArray(O.value.tools) && O.value.tools.length > 0), vr = or(() => Tt.value || Ft.value ? "40px" : "20px");
|
|
32074
32084
|
function Er() {
|
|
32075
32085
|
y.value && (y.value.getLayer("layer-with-pulsing-dot") && y.value.removeLayer("layer-with-pulsing-dot"), y.value.getSource("dot-point") && y.value.removeSource("dot-point"), y.value.hasImage && y.value.hasImage("pulsing-dot") && y.value.removeImage("pulsing-dot"));
|
|
32076
32086
|
}
|
|
32077
32087
|
function Vi(Qe) {
|
|
32078
|
-
var Rt, ut,
|
|
32088
|
+
var Rt, ut, kt, Pt;
|
|
32079
32089
|
Er();
|
|
32080
32090
|
const st = 80, ct = {
|
|
32081
32091
|
width: st,
|
|
@@ -32099,7 +32109,7 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
32099
32109
|
), Fr.fillStyle = `rgba(255, 100, 100, ${1 - (Et - 0.5 < 0 ? Et - 0.5 + 1 : Et - 0.5)})`, Fr.fill(), this.data = Fr.getImageData(0, 0, this.width, this.height).data, (cn = y.value) == null || cn.triggerRepaint(), !0;
|
|
32100
32110
|
}
|
|
32101
32111
|
};
|
|
32102
|
-
(Rt = y.value) != null && Rt.hasImage("pulsing-dot") || (ut = y.value) == null || ut.addImage("pulsing-dot", ct, { pixelRatio: 2 }), (
|
|
32112
|
+
(Rt = y.value) != null && Rt.hasImage("pulsing-dot") || (ut = y.value) == null || ut.addImage("pulsing-dot", ct, { pixelRatio: 2 }), (kt = y.value) == null || kt.addSource("dot-point", {
|
|
32103
32113
|
type: "geojson",
|
|
32104
32114
|
data: {
|
|
32105
32115
|
type: "Feature",
|
|
@@ -32113,12 +32123,12 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
32113
32123
|
paint: { "icon-opacity": 0.6 }
|
|
32114
32124
|
});
|
|
32115
32125
|
}
|
|
32116
|
-
const
|
|
32117
|
-
var Qe, st, ct, Rt, ut,
|
|
32126
|
+
const ir = or(() => {
|
|
32127
|
+
var Qe, st, ct, Rt, ut, kt, Pt, It, Et, Ot;
|
|
32118
32128
|
return {
|
|
32119
32129
|
center: (st = (Qe = O == null ? void 0 : O.value) == null ? void 0 : Qe.map) == null ? void 0 : st.center,
|
|
32120
32130
|
zoom: (Rt = (ct = O == null ? void 0 : O.value) == null ? void 0 : ct.map) == null ? void 0 : Rt.zoom,
|
|
32121
|
-
pitch: ((
|
|
32131
|
+
pitch: ((kt = (ut = O == null ? void 0 : O.value) == null ? void 0 : ut.map) == null ? void 0 : kt.pitch) || 0,
|
|
32122
32132
|
bearing: ((It = (Pt = O == null ? void 0 : O.value) == null ? void 0 : Pt.map) == null ? void 0 : It.bearing) || 0,
|
|
32123
32133
|
bbox: ((Ot = (Et = O == null ? void 0 : O.value) == null ? void 0 : Et.map) == null ? void 0 : Ot.bbox) || null
|
|
32124
32134
|
};
|
|
@@ -32171,11 +32181,11 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
32171
32181
|
return ct || (ct = document.createElement("div"), ct.className = "custom-popup absolute z-50", document.body.appendChild(ct)), ct.innerHTML = Pt, Li(ct, st), ct;
|
|
32172
32182
|
}
|
|
32173
32183
|
function Li(Qe, st) {
|
|
32174
|
-
const ct = Qe.offsetWidth, Rt = Qe.offsetHeight, ut = document.getElementById("maplibre-demo-map"),
|
|
32184
|
+
const ct = Qe.offsetWidth, Rt = Qe.offsetHeight, ut = document.getElementById("maplibre-demo-map"), kt = ut.getBoundingClientRect(), Pt = st.originalEvent.clientX - kt.left, It = st.originalEvent.clientY - kt.top;
|
|
32175
32185
|
let Et = Pt - ct / 2;
|
|
32176
|
-
Et = Math.max(10, Math.min(Et,
|
|
32186
|
+
Et = Math.max(10, Math.min(Et, kt.width - ct - 10));
|
|
32177
32187
|
let Ot;
|
|
32178
|
-
It - Rt - 10 > 0 ? Ot = It - Rt - 5 : It + Rt + 10 <
|
|
32188
|
+
It - Rt - 10 > 0 ? Ot = It - Rt - 5 : It + Rt + 10 < kt.height ? Ot = It + 10 : Ot = Math.max(10, kt.height - Rt - 10), Qe.style.position = "absolute", Qe.style.left = `${Et + 20}px`, Qe.style.top = `${Ot + 10}px`, Qe.parentNode !== ut && ut.appendChild(Qe);
|
|
32179
32189
|
}
|
|
32180
32190
|
return (Qe, st) => {
|
|
32181
32191
|
var ct, Rt;
|
|
@@ -32189,7 +32199,7 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
32189
32199
|
ae("div", MA, [
|
|
32190
32200
|
ae("div", LA, [
|
|
32191
32201
|
(be(), Ae(yt, null, Nt(["top-left"], (ut) => {
|
|
32192
|
-
var
|
|
32202
|
+
var kt, Pt;
|
|
32193
32203
|
return ar(ph, {
|
|
32194
32204
|
key: ut,
|
|
32195
32205
|
position: ut,
|
|
@@ -32198,7 +32208,7 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
32198
32208
|
mapLoaded: x.value,
|
|
32199
32209
|
cardValues: L.value,
|
|
32200
32210
|
hasFilters: re.value,
|
|
32201
|
-
history: (Pt = (
|
|
32211
|
+
history: (Pt = (kt = O.value) == null ? void 0 : kt.value) == null ? void 0 : Pt.history,
|
|
32202
32212
|
currentFilterLayer: P.value,
|
|
32203
32213
|
enabledLayerIds: et.value,
|
|
32204
32214
|
getWidgetComponent: Z,
|
|
@@ -32213,7 +32223,7 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
32213
32223
|
]),
|
|
32214
32224
|
ae("div", RA, [
|
|
32215
32225
|
(be(), Ae(yt, null, Nt(["bottom-left"], (ut) => {
|
|
32216
|
-
var
|
|
32226
|
+
var kt, Pt;
|
|
32217
32227
|
return ar(ph, {
|
|
32218
32228
|
key: ut,
|
|
32219
32229
|
position: ut,
|
|
@@ -32222,7 +32232,7 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
32222
32232
|
mapLoaded: x.value,
|
|
32223
32233
|
cardValues: L.value,
|
|
32224
32234
|
hasFilters: re.value,
|
|
32225
|
-
history: (Pt = (
|
|
32235
|
+
history: (Pt = (kt = O.value) == null ? void 0 : kt.value) == null ? void 0 : Pt.history,
|
|
32226
32236
|
currentFilterLayer: P.value,
|
|
32227
32237
|
enabledLayerIds: et.value,
|
|
32228
32238
|
getWidgetComponent: Z,
|
|
@@ -32239,7 +32249,7 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
32239
32249
|
ae("div", zA, [
|
|
32240
32250
|
ae("div", DA, [
|
|
32241
32251
|
(be(), Ae(yt, null, Nt(["top-right"], (ut) => {
|
|
32242
|
-
var
|
|
32252
|
+
var kt, Pt;
|
|
32243
32253
|
return ar(ph, {
|
|
32244
32254
|
key: ut,
|
|
32245
32255
|
position: ut,
|
|
@@ -32248,7 +32258,7 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
32248
32258
|
mapLoaded: x.value,
|
|
32249
32259
|
cardValues: L.value,
|
|
32250
32260
|
hasFilters: re.value,
|
|
32251
|
-
history: (Pt = (
|
|
32261
|
+
history: (Pt = (kt = O.value) == null ? void 0 : kt.value) == null ? void 0 : Pt.history,
|
|
32252
32262
|
currentFilterLayer: P.value,
|
|
32253
32263
|
enabledLayerIds: et.value,
|
|
32254
32264
|
getWidgetComponent: Z,
|
|
@@ -32263,7 +32273,7 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
32263
32273
|
]),
|
|
32264
32274
|
ae("div", BA, [
|
|
32265
32275
|
(be(), Ae(yt, null, Nt(["bottom-right"], (ut) => {
|
|
32266
|
-
var
|
|
32276
|
+
var kt, Pt;
|
|
32267
32277
|
return ar(ph, {
|
|
32268
32278
|
key: ut,
|
|
32269
32279
|
position: ut,
|
|
@@ -32272,7 +32282,7 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
32272
32282
|
mapLoaded: x.value,
|
|
32273
32283
|
cardValues: L.value,
|
|
32274
32284
|
hasFilters: re.value,
|
|
32275
|
-
history: (Pt = (
|
|
32285
|
+
history: (Pt = (kt = O.value) == null ? void 0 : kt.value) == null ? void 0 : Pt.history,
|
|
32276
32286
|
currentFilterLayer: P.value,
|
|
32277
32287
|
enabledLayerIds: et.value,
|
|
32278
32288
|
getWidgetComponent: Z,
|
|
@@ -32287,8 +32297,8 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
32287
32297
|
])
|
|
32288
32298
|
])
|
|
32289
32299
|
]),
|
|
32290
|
-
(be(!0), Ae(yt, null, Nt(Ui.value, (ut,
|
|
32291
|
-
key: "abs-" + (ut.id || ut.type ||
|
|
32300
|
+
(be(!0), Ae(yt, null, Nt(Ui.value, (ut, kt) => (be(), Ae("div", {
|
|
32301
|
+
key: "abs-" + (ut.id || ut.type || kt),
|
|
32292
32302
|
class: "absolute z-20",
|
|
32293
32303
|
style: Zo(ut.style)
|
|
32294
32304
|
}, [
|
|
@@ -32311,16 +32321,15 @@ const IA = /* @__PURE__ */ tr(wA, [["render", PA], ["__scopeId", "data-v-024154e
|
|
|
32311
32321
|
key: 0,
|
|
32312
32322
|
map: y.value,
|
|
32313
32323
|
activeTool: I.value,
|
|
32314
|
-
setActiveTool: Qi
|
|
32315
|
-
|
|
32316
|
-
}, ut === "home" ? { initialView: rr.value } : {}, { onCardValuesId: qi }), null, 16, ["map", "activeTool"])) : _t("", !0)
|
|
32324
|
+
setActiveTool: Qi
|
|
32325
|
+
}, { ref_for: !0 }, ut === "home" ? { initialView: ir.value } : {}, { onCardValuesId: qi }), null, 16, ["map", "activeTool"])) : _t("", !0)
|
|
32317
32326
|
], 64))), 128))
|
|
32318
32327
|
])
|
|
32319
32328
|
], 64)) : (be(), ti(eS, { key: 0 }))
|
|
32320
32329
|
], 4);
|
|
32321
32330
|
};
|
|
32322
32331
|
}
|
|
32323
|
-
}, Oy = /* @__PURE__ */
|
|
32332
|
+
}, Oy = /* @__PURE__ */ rr(FA, [["__scopeId", "data-v-d02a09f3"]]), VA = {
|
|
32324
32333
|
props: {
|
|
32325
32334
|
title: {
|
|
32326
32335
|
type: String,
|
|
@@ -32338,7 +32347,7 @@ function NA(u, f, y, x, A, P) {
|
|
|
32338
32347
|
ae("p", jA, at(y.description), 1)
|
|
32339
32348
|
]);
|
|
32340
32349
|
}
|
|
32341
|
-
const WA = /* @__PURE__ */
|
|
32350
|
+
const WA = /* @__PURE__ */ rr(VA, [["render", NA]]), HA = {
|
|
32342
32351
|
name: "Template1",
|
|
32343
32352
|
props: {
|
|
32344
32353
|
items: Array,
|
|
@@ -32464,7 +32473,7 @@ function ik(u, f, y, x, A, P) {
|
|
|
32464
32473
|
]);
|
|
32465
32474
|
}), 128);
|
|
32466
32475
|
}
|
|
32467
|
-
const nk = /* @__PURE__ */
|
|
32476
|
+
const nk = /* @__PURE__ */ rr(HA, [["render", ik]]), sk = {
|
|
32468
32477
|
name: "Template2",
|
|
32469
32478
|
props: {
|
|
32470
32479
|
items: Array,
|
|
@@ -32597,7 +32606,7 @@ function _k(u, f, y, x, A, P) {
|
|
|
32597
32606
|
]);
|
|
32598
32607
|
}), 128);
|
|
32599
32608
|
}
|
|
32600
|
-
const vk = /* @__PURE__ */
|
|
32609
|
+
const vk = /* @__PURE__ */ rr(sk, [["render", _k]]), xk = {
|
|
32601
32610
|
name: "Template3",
|
|
32602
32611
|
props: {
|
|
32603
32612
|
items: Array,
|
|
@@ -32737,7 +32746,7 @@ function Rk(u, f, y, x, A, P) {
|
|
|
32737
32746
|
}), 128))
|
|
32738
32747
|
]);
|
|
32739
32748
|
}
|
|
32740
|
-
const zk = /* @__PURE__ */
|
|
32749
|
+
const zk = /* @__PURE__ */ rr(xk, [["render", Rk]]), Dk = {
|
|
32741
32750
|
name: "Template4",
|
|
32742
32751
|
props: {
|
|
32743
32752
|
items: Array,
|
|
@@ -32819,7 +32828,7 @@ function Wk(u, f, y, x, A, P) {
|
|
|
32819
32828
|
]);
|
|
32820
32829
|
}), 128);
|
|
32821
32830
|
}
|
|
32822
|
-
const Hk = /* @__PURE__ */
|
|
32831
|
+
const Hk = /* @__PURE__ */ rr(Dk, [["render", Wk]]), Zk = {
|
|
32823
32832
|
name: "Template5",
|
|
32824
32833
|
props: {
|
|
32825
32834
|
items: Array,
|
|
@@ -32960,7 +32969,7 @@ function pT(u, f, y, x, A, P) {
|
|
|
32960
32969
|
]);
|
|
32961
32970
|
}), 128);
|
|
32962
32971
|
}
|
|
32963
|
-
const dT = /* @__PURE__ */
|
|
32972
|
+
const dT = /* @__PURE__ */ rr(Zk, [["render", pT]]), fT = {
|
|
32964
32973
|
template1: nk,
|
|
32965
32974
|
template2: vk,
|
|
32966
32975
|
template3: zk,
|
|
@@ -33094,7 +33103,7 @@ const dT = /* @__PURE__ */ tr(Zk, [["render", pT]]), fT = {
|
|
|
33094
33103
|
};
|
|
33095
33104
|
function PT(u, f, y, x, A, P) {
|
|
33096
33105
|
var L, I;
|
|
33097
|
-
const v =
|
|
33106
|
+
const v = tr("HeroBlock"), s = tr("VsFilterList"), D = tr("VsPagination");
|
|
33098
33107
|
return be(), Ae("div", gT, [
|
|
33099
33108
|
ae("section", null, [
|
|
33100
33109
|
ar(v, {
|
|
@@ -33174,7 +33183,7 @@ function PT(u, f, y, x, A, P) {
|
|
|
33174
33183
|
])
|
|
33175
33184
|
]);
|
|
33176
33185
|
}
|
|
33177
|
-
const Fy = /* @__PURE__ */
|
|
33186
|
+
const Fy = /* @__PURE__ */ rr(mT, [["render", PT]]), IT = { class: "pt-[10px]" }, ET = {
|
|
33178
33187
|
__name: "vs-editor-style-ace",
|
|
33179
33188
|
props: {
|
|
33180
33189
|
yamlValue: { type: null, default: () => "" }
|
|
@@ -33182,7 +33191,7 @@ const Fy = /* @__PURE__ */ tr(mT, [["render", PT]]), IT = { class: "pt-[10px]" }
|
|
|
33182
33191
|
setup(u) {
|
|
33183
33192
|
const y = Br(u.yamlValue);
|
|
33184
33193
|
return (x, A) => {
|
|
33185
|
-
const P =
|
|
33194
|
+
const P = tr("VsFormAce");
|
|
33186
33195
|
return be(), Ae("div", IT, [
|
|
33187
33196
|
ar(P, {
|
|
33188
33197
|
modelValue: y.value,
|
|
@@ -33206,7 +33215,7 @@ const Fy = /* @__PURE__ */ tr(mT, [["render", PT]]), IT = { class: "pt-[10px]" }
|
|
|
33206
33215
|
}
|
|
33207
33216
|
};
|
|
33208
33217
|
function LT(u, f, y, x, A, P) {
|
|
33209
|
-
const v =
|
|
33218
|
+
const v = tr("VsEditorStyleAce");
|
|
33210
33219
|
return be(), ti(v, {
|
|
33211
33220
|
yamlValue: A.style,
|
|
33212
33221
|
onChangeData: u.onChange,
|
|
@@ -33214,7 +33223,7 @@ function LT(u, f, y, x, A, P) {
|
|
|
33214
33223
|
onUpdate: u.getData
|
|
33215
33224
|
}, null, 8, ["yamlValue", "onChangeData", "onUpdate"]);
|
|
33216
33225
|
}
|
|
33217
|
-
const RT = /* @__PURE__ */
|
|
33226
|
+
const RT = /* @__PURE__ */ rr(MT, [["render", LT]]);
|
|
33218
33227
|
function zT(u) {
|
|
33219
33228
|
u.component("MapCustom", Oy), u.component("RegistryList", Fy), u.component("vs-style-yml", RT);
|
|
33220
33229
|
}
|