@abi-software/flatmap-viewer 3.2.2 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.rst +1 -1
- package/dist/index.js +494 -494
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -108,7 +108,7 @@ var ML = gR.exports, lS = ML, yR = function(e, t) {
|
|
|
108
108
|
return lS[e] || (lS[e] = t || {});
|
|
109
109
|
}, TW = KQ, dW = Object, _R = function(e) {
|
|
110
110
|
return dW(TW(e));
|
|
111
|
-
}, QW = _i, pW = _R, mW = QW({}.hasOwnProperty),
|
|
111
|
+
}, QW = _i, pW = _R, mW = QW({}.hasOwnProperty), p3 = Object.hasOwn || function(t, r) {
|
|
112
112
|
return mW(pW(t), r);
|
|
113
113
|
}, gW = _i, yW = 0, _W = Math.random(), vW = gW(1 .toString), SL = function(e) {
|
|
114
114
|
return "Symbol(" + (e === void 0 ? "" : e) + ")_" + vW(++yW + _W, 36);
|
|
@@ -119,7 +119,7 @@ var bW = td, TS = bW, LW = u2, wW = io, AW = wW.String, xR = !!Object.getOwnProp
|
|
|
119
119
|
var e = Symbol("symbol detection");
|
|
120
120
|
return !AW(e) || !(Object(e) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
121
121
|
!Symbol.sham && TS && TS < 41;
|
|
122
|
-
}), EW = xR, bR = EW && !Symbol.sham && typeof Symbol.iterator == "symbol", MW = io, SW = yR, dS =
|
|
122
|
+
}), EW = xR, bR = EW && !Symbol.sham && typeof Symbol.iterator == "symbol", MW = io, SW = yR, dS = p3, CW = SL, HW = xR, OW = bR, J0 = MW.Symbol, Py = SW("wks"), PW = OW ? J0.for || J0 : J0 && J0.withoutSetter || CW, ko = function(e) {
|
|
123
123
|
return dS(Py, e) || (Py[e] = HW && dS(J0, e) ? J0[e] : PW("Symbol." + e)), Py[e];
|
|
124
124
|
}, Dy = typeof document == "object" && document.all, Zi = typeof Dy > "u" && Dy !== void 0 ? function(e) {
|
|
125
125
|
return typeof e == "function" || e === Dy;
|
|
@@ -141,7 +141,7 @@ var bW = td, TS = bW, LW = u2, wW = io, AW = wW.String, xR = !!Object.getOwnProp
|
|
|
141
141
|
value: 42,
|
|
142
142
|
writable: !1
|
|
143
143
|
}).prototype !== 42;
|
|
144
|
-
}),
|
|
144
|
+
}), m3 = {}, NW = io, QS = Bo, hx = NW.document, jW = QS(hx) && QS(hx.createElement), CL = function(e) {
|
|
145
145
|
return jW ? hx.createElement(e) : {};
|
|
146
146
|
}, $W = Ta, zW = u2, UW = CL, AR = !$W && !zW(function() {
|
|
147
147
|
return Object.defineProperty(UW("div"), "a", {
|
|
@@ -192,7 +192,7 @@ var bW = td, TS = bW, LW = u2, wW = io, AW = wW.String, xR = !!Object.getOwnProp
|
|
|
192
192
|
var t = pq(e, "string");
|
|
193
193
|
return mq(t) ? t : t + "";
|
|
194
194
|
}, gq = Ta, yq = AR, _q = wR, lf = q4, gS = MR, vq = TypeError, By = Object.defineProperty, xq = Object.getOwnPropertyDescriptor, Fy = "enumerable", Ny = "configurable", jy = "writable";
|
|
195
|
-
|
|
195
|
+
m3.f = gq ? _q ? function(t, r, n) {
|
|
196
196
|
if (lf(t), r = gS(r), lf(n), typeof t == "function" && r === "prototype" && "value" in n && jy in n && !n[jy]) {
|
|
197
197
|
var i = xq(t, r);
|
|
198
198
|
i && i[jy] && (t[r] = n.value, n = {
|
|
@@ -249,7 +249,7 @@ var bq = Math.ceil, Lq = Math.floor, wq = Math.trunc || function(t) {
|
|
|
249
249
|
// `Array.prototype.indexOf` method
|
|
250
250
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
251
251
|
indexOf: yS(!1)
|
|
252
|
-
}, JQ = {}, Bq = _i, $y =
|
|
252
|
+
}, JQ = {}, Bq = _i, $y = p3, Fq = V7, Nq = kq.indexOf, jq = JQ, _S = Bq([].push), CR = function(e, t) {
|
|
253
253
|
var r = Fq(e), n = 0, i = [], o;
|
|
254
254
|
for (o in r)
|
|
255
255
|
!$y(jq, o) && $y(r, o) && _S(i, o);
|
|
@@ -266,7 +266,7 @@ var bq = Math.ceil, Lq = Math.floor, wq = Math.trunc || function(t) {
|
|
|
266
266
|
"valueOf"
|
|
267
267
|
], $q = CR, zq = DL, Uq = Object.keys || function(t) {
|
|
268
268
|
return $q(t, zq);
|
|
269
|
-
}, Zq = Ta, Wq = wR, qq =
|
|
269
|
+
}, Zq = Ta, Wq = wR, qq = m3, Gq = q4, Xq = V7, Kq = Uq;
|
|
270
270
|
LR.f = Zq && !Wq ? Object.defineProperties : function(t, r) {
|
|
271
271
|
Gq(t);
|
|
272
272
|
for (var n = Xq(r), i = Kq(r), o = i.length, a = 0, s; o > a; )
|
|
@@ -299,7 +299,7 @@ iG[HR] = !0;
|
|
|
299
299
|
var VL = Object.create || function(t, r) {
|
|
300
300
|
var n;
|
|
301
301
|
return t !== null ? (zy[fx] = rG(t), n = new zy(), zy[fx] = null, n[HR] = t) : n = gT(), r === void 0 ? n : nG.f(n, r);
|
|
302
|
-
}, cG = ko, uG = VL, hG =
|
|
302
|
+
}, cG = ko, uG = VL, hG = m3.f, dx = cG("unscopables"), Qx = Array.prototype;
|
|
303
303
|
Qx[dx] === void 0 && hG(Qx, dx, {
|
|
304
304
|
configurable: !0,
|
|
305
305
|
value: uG(null)
|
|
@@ -313,11 +313,11 @@ var fG = function(e) {
|
|
|
313
313
|
writable: !(e & 4),
|
|
314
314
|
value: t
|
|
315
315
|
};
|
|
316
|
-
}, pG = Ta, mG =
|
|
316
|
+
}, pG = Ta, mG = m3, gG = RL, tp = pG ? function(e, t, r) {
|
|
317
317
|
return mG.f(e, t, gG(1, r));
|
|
318
318
|
} : function(e, t, r) {
|
|
319
319
|
return e[t] = r, e;
|
|
320
|
-
}, yG = QG, PR = io, _G = Bo, vG = tp, Uy =
|
|
320
|
+
}, yG = QG, PR = io, _G = Bo, vG = tp, Uy = p3, Zy = ML, xG = IL, bG = JQ, ES = "Object already initialized", px = PR.TypeError, LG = PR.WeakMap, ed, Tu, rd, wG = function(e) {
|
|
321
321
|
return rd(e) ? Tu(e) : ed(e, {});
|
|
322
322
|
}, AG = function(e) {
|
|
323
323
|
return function(t) {
|
|
@@ -361,7 +361,7 @@ DR.f = EG ? function(t) {
|
|
|
361
361
|
var r = VR(this, t);
|
|
362
362
|
return !!r && r.enumerable;
|
|
363
363
|
} : IR;
|
|
364
|
-
var MG = Ta, SG = ys, CG = DR, HG = RL, OG = V7, PG = MR, DG =
|
|
364
|
+
var MG = Ta, SG = ys, CG = DR, HG = RL, OG = V7, PG = MR, DG = p3, IG = AR, MS = Object.getOwnPropertyDescriptor;
|
|
365
365
|
kL.f = MG ? MS : function(t, r) {
|
|
366
366
|
if (t = OG(t), r = PG(r), IG)
|
|
367
367
|
try {
|
|
@@ -371,7 +371,7 @@ kL.f = MG ? MS : function(t, r) {
|
|
|
371
371
|
if (DG(t, r))
|
|
372
372
|
return HG(!SG(CG.f, t, r), t[r]);
|
|
373
373
|
};
|
|
374
|
-
var RR = { exports: {} }, mx = Ta, VG =
|
|
374
|
+
var RR = { exports: {} }, mx = Ta, VG = p3, kR = Function.prototype, RG = mx && Object.getOwnPropertyDescriptor, BL = VG(kR, "name"), kG = BL && (function() {
|
|
375
375
|
}).name === "something", BG = BL && (!mx || mx && RG(kR, "name").configurable), BR = {
|
|
376
376
|
EXISTS: BL,
|
|
377
377
|
PROPER: kG,
|
|
@@ -380,7 +380,7 @@ var RR = { exports: {} }, mx = Ta, VG = Q3, kR = Function.prototype, RG = mx &&
|
|
|
380
380
|
NG(gx.inspectSource) || (gx.inspectSource = function(e) {
|
|
381
381
|
return jG(e);
|
|
382
382
|
});
|
|
383
|
-
var $G = gx.inspectSource, FL = _i, zG = u2, UG = Zi, uf =
|
|
383
|
+
var $G = gx.inspectSource, FL = _i, zG = u2, UG = Zi, uf = p3, yx = Ta, ZG = BR.CONFIGURABLE, WG = $G, FR = ep, qG = FR.enforce, GG = FR.get, SS = String, yT = Object.defineProperty, XG = FL("".slice), KG = FL("".replace), YG = FL([].join), JG = yx && !zG(function() {
|
|
384
384
|
return yT(function() {
|
|
385
385
|
}, "length", { value: 8 }).length !== 8;
|
|
386
386
|
}), tX = String(String).split("String"), eX = RR.exports = function(e, t, r) {
|
|
@@ -395,7 +395,7 @@ var $G = gx.inspectSource, FL = _i, zG = u2, UG = Zi, uf = Q3, yx = Ta, ZG = BR.
|
|
|
395
395
|
Function.prototype.toString = eX(function() {
|
|
396
396
|
return UG(this) && GG(this).source || WG(this);
|
|
397
397
|
}, "toString");
|
|
398
|
-
var NR = RR.exports, rX = Zi, nX =
|
|
398
|
+
var NR = RR.exports, rX = Zi, nX = m3, iX = NR, oX = EL, R7 = function(e, t, r, n) {
|
|
399
399
|
n || (n = {});
|
|
400
400
|
var i = n.enumerable, o = n.name !== void 0 ? n.name : t;
|
|
401
401
|
if (rX(r) && iX(r, o, n), n.global)
|
|
@@ -422,7 +422,7 @@ jR.f = Object.getOwnPropertySymbols;
|
|
|
422
422
|
var cX = C9, uX = _i, hX = rp, fX = jR, TX = q4, dX = uX([].concat), QX = cX("Reflect", "ownKeys") || function(t) {
|
|
423
423
|
var r = hX.f(TX(t)), n = fX.f;
|
|
424
424
|
return n ? dX(r, n(t)) : r;
|
|
425
|
-
}, CS =
|
|
425
|
+
}, CS = p3, pX = QX, mX = kL, gX = m3, yX = function(e, t, r) {
|
|
426
426
|
for (var n = pX(t), i = gX.f, o = mX.f, a = 0; a < n.length; a++) {
|
|
427
427
|
var s = n[a];
|
|
428
428
|
!CS(e, s) && !(r && CS(r, s)) && i(e, s, o(t, s));
|
|
@@ -432,7 +432,7 @@ var cX = C9, uX = _i, hX = rp, fX = jR, TX = q4, dX = uX([].concat), QX = cX("Re
|
|
|
432
432
|
return r === AX ? !0 : r === wX ? !1 : vX(t) ? _X(t) : !!t;
|
|
433
433
|
}, bX = P9.normalize = function(e) {
|
|
434
434
|
return String(e).replace(xX, ".").toLowerCase();
|
|
435
|
-
}, LX = P9.data = {}, wX = P9.NATIVE = "N", AX = P9.POLYFILL = "P", $R = P9, hf = io, EX = kL.f, MX = tp, SX = R7, CX = EL, HX = yX, OX = $R,
|
|
435
|
+
}, LX = P9.data = {}, wX = P9.NATIVE = "N", AX = P9.POLYFILL = "P", $R = P9, hf = io, EX = kL.f, MX = tp, SX = R7, CX = EL, HX = yX, OX = $R, g3 = function(e, t) {
|
|
436
436
|
var r = e.target, n = e.global, i = e.stat, o, a, s, h, T, Q;
|
|
437
437
|
if (n ? a = hf : i ? a = hf[r] || CX(r, {}) : a = hf[r] && hf[r].prototype, a)
|
|
438
438
|
for (s in t) {
|
|
@@ -447,7 +447,7 @@ var cX = C9, uX = _i, hX = rp, fX = jR, TX = q4, dX = uX([].concat), QX = cX("Re
|
|
|
447
447
|
function e() {
|
|
448
448
|
}
|
|
449
449
|
return e.prototype.constructor = null, Object.getPrototypeOf(new e()) !== e.prototype;
|
|
450
|
-
}), IX =
|
|
450
|
+
}), IX = p3, VX = Zi, RX = _R, kX = IL, BX = DX, HS = kX("IE_PROTO"), _x = Object, FX = _x.prototype, zR = BX ? _x.getPrototypeOf : function(e) {
|
|
451
451
|
var t = RX(e);
|
|
452
452
|
if (IX(t, HS))
|
|
453
453
|
return t[HS];
|
|
@@ -466,7 +466,7 @@ jX(w5[vx]) || zX(w5, vx, function() {
|
|
|
466
466
|
var ZR = {
|
|
467
467
|
IteratorPrototype: w5,
|
|
468
468
|
BUGGY_SAFARI_ITERATORS: UR
|
|
469
|
-
}, WX =
|
|
469
|
+
}, WX = m3.f, qX = p3, GX = ko, PS = GX("toStringTag"), np = function(e, t, r) {
|
|
470
470
|
e && !r && (e = e.prototype), e && !qX(e, PS) && WX(e, PS, { configurable: !0, value: t });
|
|
471
471
|
}, XX = ZR.IteratorPrototype, KX = VL, YX = RL, JX = np, tK = O9, eK = function() {
|
|
472
472
|
return this;
|
|
@@ -493,7 +493,7 @@ var ZR = {
|
|
|
493
493
|
return function(i, o) {
|
|
494
494
|
return TK(i), dK(o), fK(i) && (e ? r(i, o) : i.__proto__ = o), i;
|
|
495
495
|
};
|
|
496
|
-
}() : void 0), QK =
|
|
496
|
+
}() : void 0), QK = g3, pK = ys, GR = BR, mK = Zi, gK = rK, DS = zR, IS = qR, yK = np, _K = tp, Gy = R7, vK = ko, xK = O9, XR = ZR, bK = GR.PROPER, LK = GR.CONFIGURABLE, VS = XR.IteratorPrototype, ff = XR.BUGGY_SAFARI_ITERATORS, j8 = vK("iterator"), RS = "keys", $8 = "values", kS = "entries", wK = function() {
|
|
497
497
|
return this;
|
|
498
498
|
}, NL = function(e, t, r, n, i, o, a) {
|
|
499
499
|
gK(r, t, n);
|
|
@@ -535,7 +535,7 @@ var ZR = {
|
|
|
535
535
|
return Q[j8] !== m && Gy(Q, j8, m, { name: i }), xK[t] = m, L;
|
|
536
536
|
}, jL = function(e, t) {
|
|
537
537
|
return { value: e, done: t };
|
|
538
|
-
}, AK = V7, $L = fG, BS = O9, KR = ep, EK =
|
|
538
|
+
}, AK = V7, $L = fG, BS = O9, KR = ep, EK = m3.f, MK = NL, Tf = jL, SK = Ta, YR = "Array Iterator", CK = KR.set, HK = KR.getterFor(YR), OK = MK(Array, "Array", function(e, t) {
|
|
539
539
|
CK(this, {
|
|
540
540
|
type: YR,
|
|
541
541
|
target: AK(e),
|
|
@@ -602,7 +602,7 @@ var tY = u2, eY = tY(function() {
|
|
|
602
602
|
return !nY(t) || NS && iY(t) === "ArrayBuffer" ? !1 : vT ? vT(t) : !0;
|
|
603
603
|
} : vT, sY = u2, lY = !sY(function() {
|
|
604
604
|
return Object.isExtensible(Object.preventExtensions({}));
|
|
605
|
-
}), cY =
|
|
605
|
+
}), cY = g3, uY = _i, hY = JQ, fY = Bo, ZL = p3, TY = m3.f, jS = rp, dY = ek, WL = aY, QY = SL, pY = lY, ik = !1, ms = QY("meta"), mY = 0, qL = function(e) {
|
|
606
606
|
TY(e, ms, { value: {
|
|
607
607
|
objectID: "O" + mY++,
|
|
608
608
|
// object ID
|
|
@@ -768,7 +768,7 @@ var sJ = function(e, t) {
|
|
|
768
768
|
XS && // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
769
769
|
lJ(n = t.constructor) && n !== r && cJ(i = n.prototype) && i !== r.prototype && XS(e, i), e
|
|
770
770
|
);
|
|
771
|
-
}, hJ =
|
|
771
|
+
}, hJ = g3, fJ = io, TJ = _i, KS = $R, dJ = R7, QJ = ok, pJ = lk, mJ = ck, gJ = Zi, yJ = S9, Xy = Bo, Ky = u2, _J = sJ, vJ = np, xJ = uJ, bJ = function(e, t, r) {
|
|
772
772
|
var n = e.indexOf("Map") !== -1, i = e.indexOf("Weak") !== -1, o = n ? "set" : "add", a = fJ[e], s = a && a.prototype, h = a, T = {}, Q = function(E) {
|
|
773
773
|
var H = TJ(s[E]);
|
|
774
774
|
dJ(
|
|
@@ -811,7 +811,7 @@ var sJ = function(e, t) {
|
|
|
811
811
|
}), h.prototype = s, s.constructor = h), (b || C) && (Q("delete"), Q("has"), n && Q("get")), (C || y) && Q(o), i && s.clear && delete s.clear;
|
|
812
812
|
}
|
|
813
813
|
return T[e] = h, hJ({ global: !0, constructor: !0, forced: h !== a }, T), vJ(h, e), i || r.setStrong(h, e, n), h;
|
|
814
|
-
}, YS = NR, LJ =
|
|
814
|
+
}, YS = NR, LJ = m3, fk = function(e, t, r) {
|
|
815
815
|
return r.get && YS(r.get, t, { getter: !0 }), r.set && YS(r.set, t, { setter: !0 }), LJ.f(e, t, r);
|
|
816
816
|
}, wJ = R7, AJ = function(e, t, r) {
|
|
817
817
|
for (var n in t)
|
|
@@ -934,27 +934,27 @@ FJ("Set", function(e) {
|
|
|
934
934
|
return e(this, arguments.length ? arguments[0] : void 0);
|
|
935
935
|
};
|
|
936
936
|
}, NJ);
|
|
937
|
-
var Jy = _i, Qf = Set.prototype,
|
|
937
|
+
var Jy = _i, Qf = Set.prototype, y3 = {
|
|
938
938
|
// eslint-disable-next-line es/no-set -- safe
|
|
939
939
|
Set,
|
|
940
940
|
add: Jy(Qf.add),
|
|
941
941
|
has: Jy(Qf.has),
|
|
942
942
|
remove: Jy(Qf.delete),
|
|
943
943
|
proto: Qf
|
|
944
|
-
}, jJ =
|
|
944
|
+
}, jJ = y3.has, I5 = function(e) {
|
|
945
945
|
return jJ(e), e;
|
|
946
946
|
}, $J = ys, V5 = function(e, t, r) {
|
|
947
947
|
for (var n = r ? e : e.iterator, i = e.next, o, a; !(o = $J(i, n)).done; )
|
|
948
948
|
if (a = t(o.value), a !== void 0)
|
|
949
949
|
return a;
|
|
950
|
-
}, dk = _i, zJ = V5, Qk =
|
|
950
|
+
}, dk = _i, zJ = V5, Qk = y3, UJ = Qk.Set, pk = Qk.proto, ZJ = dk(pk.forEach), mk = dk(pk.keys), WJ = mk(new UJ()).next, D9 = function(e, t, r) {
|
|
951
951
|
return r ? zJ({ iterator: mk(e), next: WJ }, t) : ZJ(e, t);
|
|
952
|
-
}, gk =
|
|
952
|
+
}, gk = y3, qJ = D9, GJ = gk.Set, XJ = gk.add, XL = function(e) {
|
|
953
953
|
var t = new GJ();
|
|
954
954
|
return qJ(e, function(r) {
|
|
955
955
|
XJ(t, r);
|
|
956
956
|
}), t;
|
|
957
|
-
}, KJ = WR, YJ =
|
|
957
|
+
}, KJ = WR, YJ = y3, I9 = KJ(YJ.proto, "size", "get") || function(e) {
|
|
958
958
|
return e.size;
|
|
959
959
|
}, JJ = function(e) {
|
|
960
960
|
return {
|
|
@@ -982,7 +982,7 @@ var R5 = function(e) {
|
|
|
982
982
|
if (r < 0)
|
|
983
983
|
throw new rtt(aC);
|
|
984
984
|
return new _k(e, r);
|
|
985
|
-
}, ott = I5, vk =
|
|
985
|
+
}, ott = I5, vk = y3, att = XL, stt = I9, ltt = R5, ctt = D9, utt = V5, htt = vk.has, sC = vk.remove, ftt = function(t) {
|
|
986
986
|
var r = ott(this), n = ltt(t), i = att(r);
|
|
987
987
|
return stt(r) <= n.size ? ctt(r, function(o) {
|
|
988
988
|
n.includes(o) && sC(i, o);
|
|
@@ -1015,24 +1015,24 @@ var R5 = function(e) {
|
|
|
1015
1015
|
} catch {
|
|
1016
1016
|
return !1;
|
|
1017
1017
|
}
|
|
1018
|
-
}, dtt =
|
|
1018
|
+
}, dtt = g3, Qtt = ftt, ptt = k5;
|
|
1019
1019
|
dtt({ target: "Set", proto: !0, real: !0, forced: !ptt("difference") }, {
|
|
1020
1020
|
difference: Qtt
|
|
1021
1021
|
});
|
|
1022
|
-
var mtt = I5, KL =
|
|
1022
|
+
var mtt = I5, KL = y3, gtt = I9, ytt = R5, _tt = D9, vtt = V5, xtt = KL.Set, cC = KL.add, btt = KL.has, Ltt = function(t) {
|
|
1023
1023
|
var r = mtt(this), n = ytt(t), i = new xtt();
|
|
1024
1024
|
return gtt(r) > n.size ? vtt(n.getIterator(), function(o) {
|
|
1025
1025
|
btt(r, o) && cC(i, o);
|
|
1026
1026
|
}) : _tt(r, function(o) {
|
|
1027
1027
|
n.includes(o) && cC(i, o);
|
|
1028
1028
|
}), i;
|
|
1029
|
-
}, wtt =
|
|
1029
|
+
}, wtt = g3, Att = u2, Ett = Ltt, Mtt = k5, Stt = !Mtt("intersection") || Att(function() {
|
|
1030
1030
|
return String(Array.from((/* @__PURE__ */ new Set([1, 2, 3])).intersection(/* @__PURE__ */ new Set([3, 2])))) !== "3,2";
|
|
1031
1031
|
});
|
|
1032
1032
|
wtt({ target: "Set", proto: !0, real: !0, forced: Stt }, {
|
|
1033
1033
|
intersection: Ett
|
|
1034
1034
|
});
|
|
1035
|
-
var Ctt = I5, Htt =
|
|
1035
|
+
var Ctt = I5, Htt = y3.has, Ott = I9, Ptt = R5, Dtt = D9, Itt = V5, Vtt = GL, Rtt = function(t) {
|
|
1036
1036
|
var r = Ctt(this), n = Ptt(t);
|
|
1037
1037
|
if (Ott(r) <= n.size)
|
|
1038
1038
|
return Dtt(r, function(o) {
|
|
@@ -1044,7 +1044,7 @@ var Ctt = I5, Htt = g3.has, Ott = I9, Ptt = R5, Dtt = D9, Itt = V5, Vtt = GL, Rt
|
|
|
1044
1044
|
if (Htt(r, o))
|
|
1045
1045
|
return Vtt(i, "normal", !1);
|
|
1046
1046
|
}) !== !1;
|
|
1047
|
-
}, ktt =
|
|
1047
|
+
}, ktt = g3, Btt = Rtt, Ftt = k5;
|
|
1048
1048
|
ktt({ target: "Set", proto: !0, real: !0, forced: !Ftt("isDisjointFrom") }, {
|
|
1049
1049
|
isDisjointFrom: Btt
|
|
1050
1050
|
});
|
|
@@ -1054,11 +1054,11 @@ var Ntt = I5, jtt = I9, $tt = D9, ztt = R5, Utt = function(t) {
|
|
|
1054
1054
|
if (!n.includes(i))
|
|
1055
1055
|
return !1;
|
|
1056
1056
|
}, !0) !== !1;
|
|
1057
|
-
}, Ztt =
|
|
1057
|
+
}, Ztt = g3, Wtt = Utt, qtt = k5;
|
|
1058
1058
|
Ztt({ target: "Set", proto: !0, real: !0, forced: !qtt("isSubsetOf") }, {
|
|
1059
1059
|
isSubsetOf: Wtt
|
|
1060
1060
|
});
|
|
1061
|
-
var Gtt = I5, Xtt =
|
|
1061
|
+
var Gtt = I5, Xtt = y3.has, Ktt = I9, Ytt = R5, Jtt = V5, tet = GL, eet = function(t) {
|
|
1062
1062
|
var r = Gtt(this), n = Ytt(t);
|
|
1063
1063
|
if (Ktt(r) < n.size)
|
|
1064
1064
|
return !1;
|
|
@@ -1067,25 +1067,25 @@ var Gtt = I5, Xtt = g3.has, Ktt = I9, Ytt = R5, Jtt = V5, tet = GL, eet = functi
|
|
|
1067
1067
|
if (!Xtt(r, o))
|
|
1068
1068
|
return tet(i, "normal", !1);
|
|
1069
1069
|
}) !== !1;
|
|
1070
|
-
}, ret =
|
|
1070
|
+
}, ret = g3, net = eet, iet = k5;
|
|
1071
1071
|
ret({ target: "Set", proto: !0, real: !0, forced: !iet("isSupersetOf") }, {
|
|
1072
1072
|
isSupersetOf: net
|
|
1073
1073
|
});
|
|
1074
|
-
var oet = I5, YL =
|
|
1074
|
+
var oet = I5, YL = y3, aet = XL, set = R5, cet = V5, uet = YL.add, het = YL.has, fet = YL.remove, Tet = function(t) {
|
|
1075
1075
|
var r = oet(this), n = set(t).getIterator(), i = aet(r);
|
|
1076
1076
|
return cet(n, function(o) {
|
|
1077
1077
|
het(r, o) ? fet(i, o) : uet(i, o);
|
|
1078
1078
|
}), i;
|
|
1079
|
-
}, det =
|
|
1079
|
+
}, det = g3, Qet = Tet, pet = k5;
|
|
1080
1080
|
det({ target: "Set", proto: !0, real: !0, forced: !pet("symmetricDifference") }, {
|
|
1081
1081
|
symmetricDifference: Qet
|
|
1082
1082
|
});
|
|
1083
|
-
var met = I5, get =
|
|
1083
|
+
var met = I5, get = y3.add, yet = XL, _et = R5, vet = V5, xet = function(t) {
|
|
1084
1084
|
var r = met(this), n = _et(t).getIterator(), i = yet(r);
|
|
1085
1085
|
return vet(n, function(o) {
|
|
1086
1086
|
get(i, o);
|
|
1087
1087
|
}), i;
|
|
1088
|
-
}, bet =
|
|
1088
|
+
}, bet = g3, Let = xet, wet = k5;
|
|
1089
1089
|
bet({ target: "Set", proto: !0, real: !0, forced: !wet("union") }, {
|
|
1090
1090
|
union: Let
|
|
1091
1091
|
});
|
|
@@ -2936,7 +2936,7 @@ var Ek = { exports: {} };
|
|
|
2936
2936
|
return !1;
|
|
2937
2937
|
}
|
|
2938
2938
|
}
|
|
2939
|
-
class
|
|
2939
|
+
class w3 {
|
|
2940
2940
|
constructor(c) {
|
|
2941
2941
|
this.type = Ai, this.sections = c;
|
|
2942
2942
|
}
|
|
@@ -2973,7 +2973,7 @@ var Ek = { exports: {} };
|
|
|
2973
2973
|
M = !0, x.push({ content: R, scale: null, font: null, textColor: null });
|
|
2974
2974
|
}
|
|
2975
2975
|
}
|
|
2976
|
-
return new
|
|
2976
|
+
return new w3(x);
|
|
2977
2977
|
}
|
|
2978
2978
|
evaluate(c) {
|
|
2979
2979
|
return new Hr(this.sections.map((f) => {
|
|
@@ -2989,7 +2989,7 @@ var Ek = { exports: {} };
|
|
|
2989
2989
|
return !1;
|
|
2990
2990
|
}
|
|
2991
2991
|
}
|
|
2992
|
-
class
|
|
2992
|
+
class A3 {
|
|
2993
2993
|
constructor(c) {
|
|
2994
2994
|
this.type = zn, this.input = c;
|
|
2995
2995
|
}
|
|
@@ -2997,7 +2997,7 @@ var Ek = { exports: {} };
|
|
|
2997
2997
|
if (c.length !== 2)
|
|
2998
2998
|
return f.error("Expected two arguments.");
|
|
2999
2999
|
const g = f.parse(c[1], 1, br);
|
|
3000
|
-
return g ? new
|
|
3000
|
+
return g ? new A3(g) : f.error("No image name provided.");
|
|
3001
3001
|
}
|
|
3002
3002
|
evaluate(c) {
|
|
3003
3003
|
const f = this.input.evaluate(c), g = Ur.fromString(f);
|
|
@@ -3055,14 +3055,14 @@ var Ek = { exports: {} };
|
|
|
3055
3055
|
const g = u[0] - c[0], x = u[1] - c[1], M = u[0] - f[0], S = u[1] - f[1];
|
|
3056
3056
|
return g * S - M * x == 0 && g * M <= 0 && x * S <= 0;
|
|
3057
3057
|
}
|
|
3058
|
-
function
|
|
3058
|
+
function E3(u, c, f, g) {
|
|
3059
3059
|
return (x = [g[0] - f[0], g[1] - f[1]])[0] * (M = [c[0] - u[0], c[1] - u[1]])[1] - x[1] * M[0] != 0 && !(!Xi(u, c, f, g) || !Xi(f, g, u, c));
|
|
3060
3060
|
var x, M;
|
|
3061
3061
|
}
|
|
3062
3062
|
function r8(u, c, f) {
|
|
3063
3063
|
for (const g of f)
|
|
3064
3064
|
for (let x = 0; x < g.length - 1; ++x)
|
|
3065
|
-
if (
|
|
3065
|
+
if (E3(u, c, g[x], g[x + 1]))
|
|
3066
3066
|
return !0;
|
|
3067
3067
|
return !1;
|
|
3068
3068
|
}
|
|
@@ -3139,7 +3139,7 @@ var Ek = { exports: {} };
|
|
|
3139
3139
|
}
|
|
3140
3140
|
return S;
|
|
3141
3141
|
}
|
|
3142
|
-
function
|
|
3142
|
+
function M3(u, c, f, g) {
|
|
3143
3143
|
const x = Math.pow(2, g.z) * Gi, M = [g.x * Gi, g.y * Gi], S = [];
|
|
3144
3144
|
for (const R of u) {
|
|
3145
3145
|
const j = [];
|
|
@@ -3211,7 +3211,7 @@ var Ek = { exports: {} };
|
|
|
3211
3211
|
return function(f, g) {
|
|
3212
3212
|
const x = [1 / 0, 1 / 0, -1 / 0, -1 / 0], M = [1 / 0, 1 / 0, -1 / 0, -1 / 0], S = f.canonicalID();
|
|
3213
3213
|
if (g.type === "Polygon") {
|
|
3214
|
-
const O = Ms(g.coordinates, M, S), R =
|
|
3214
|
+
const O = Ms(g.coordinates, M, S), R = M3(f.geometry(), x, M, S);
|
|
3215
3215
|
if (!H2(x, M))
|
|
3216
3216
|
return !1;
|
|
3217
3217
|
for (const j of R)
|
|
@@ -3219,7 +3219,7 @@ var Ek = { exports: {} };
|
|
|
3219
3219
|
return !1;
|
|
3220
3220
|
}
|
|
3221
3221
|
if (g.type === "MultiPolygon") {
|
|
3222
|
-
const O = i6(g.coordinates, M, S), R =
|
|
3222
|
+
const O = i6(g.coordinates, M, S), R = M3(f.geometry(), x, M, S);
|
|
3223
3223
|
if (!H2(x, M))
|
|
3224
3224
|
return !1;
|
|
3225
3225
|
for (const j of R)
|
|
@@ -3309,7 +3309,7 @@ var Ek = { exports: {} };
|
|
|
3309
3309
|
const f = [];
|
|
3310
3310
|
let g, x;
|
|
3311
3311
|
for (const M of u) {
|
|
3312
|
-
const S =
|
|
3312
|
+
const S = S3(M);
|
|
3313
3313
|
S !== 0 && (M.area = Math.abs(S), x === void 0 && (x = S < 0), x === S < 0 ? (g && f.push(g), g = [M]) : g.push(M));
|
|
3314
3314
|
}
|
|
3315
3315
|
if (g && f.push(g), c > 1)
|
|
@@ -3320,7 +3320,7 @@ var Ek = { exports: {} };
|
|
|
3320
3320
|
function s6(u, c) {
|
|
3321
3321
|
return c.area - u.area;
|
|
3322
3322
|
}
|
|
3323
|
-
function
|
|
3323
|
+
function S3(u) {
|
|
3324
3324
|
let c = 0;
|
|
3325
3325
|
for (let f, g, x = 0, M = u.length, S = M - 1; x < M; S = x++)
|
|
3326
3326
|
f = u[x], g = u[S], c += (g.x - f.x) * (f.y + g.y);
|
|
@@ -3418,7 +3418,7 @@ var Ek = { exports: {} };
|
|
|
3418
3418
|
const O = u[S], R = u[S + 1];
|
|
3419
3419
|
for (let j = g[0]; j < g[1]; ++j) {
|
|
3420
3420
|
const U = f[j], X = f[j + 1];
|
|
3421
|
-
if (
|
|
3421
|
+
if (E3(O, R, U, X))
|
|
3422
3422
|
return 0;
|
|
3423
3423
|
M = Math.min(M, D2(O, R, U, X, x));
|
|
3424
3424
|
}
|
|
@@ -3461,7 +3461,7 @@ var Ek = { exports: {} };
|
|
|
3461
3461
|
for (const R of f)
|
|
3462
3462
|
for (let j = 0, U = R.length, X = U - 1; j < U; X = j++) {
|
|
3463
3463
|
const tt = R[X], it = R[j];
|
|
3464
|
-
if (
|
|
3464
|
+
if (E3(S, O, tt, it))
|
|
3465
3465
|
return 0;
|
|
3466
3466
|
x = Math.min(x, D2(S, O, tt, it, g));
|
|
3467
3467
|
}
|
|
@@ -3491,7 +3491,7 @@ var Ek = { exports: {} };
|
|
|
3491
3491
|
for (const it of c)
|
|
3492
3492
|
for (let st = 0, ft = it.length, _t = ft - 1; st < ft; _t = st++) {
|
|
3493
3493
|
const Lt = it[_t], $t = it[st];
|
|
3494
|
-
if (
|
|
3494
|
+
if (E3(X, tt, Lt, $t))
|
|
3495
3495
|
return 0;
|
|
3496
3496
|
S = Math.min(S, D2(X, tt, Lt, $t, f));
|
|
3497
3497
|
}
|
|
@@ -3510,7 +3510,7 @@ var Ek = { exports: {} };
|
|
|
3510
3510
|
const O = P2(c6(g, M), c6(x, S), f);
|
|
3511
3511
|
O < c && u.push([O, M, S]);
|
|
3512
3512
|
}
|
|
3513
|
-
function
|
|
3513
|
+
function C3(u, c, f, g, x = 1 / 0) {
|
|
3514
3514
|
let M = Math.min(g.distance(u[0], f[0][0]), x);
|
|
3515
3515
|
if (M === 0)
|
|
3516
3516
|
return M;
|
|
@@ -3615,7 +3615,7 @@ var Ek = { exports: {} };
|
|
|
3615
3615
|
O = Math.min(O, ba(M, !1, R.coordinates, !0, S, O));
|
|
3616
3616
|
break;
|
|
3617
3617
|
case "Polygon":
|
|
3618
|
-
O = Math.min(O,
|
|
3618
|
+
O = Math.min(O, C3(M, !1, R.coordinates, S, O));
|
|
3619
3619
|
}
|
|
3620
3620
|
if (O === 0)
|
|
3621
3621
|
return O;
|
|
@@ -3638,7 +3638,7 @@ var Ek = { exports: {} };
|
|
|
3638
3638
|
O = Math.min(O, ba(M, !0, R.coordinates, !0, S, O));
|
|
3639
3639
|
break;
|
|
3640
3640
|
case "Polygon":
|
|
3641
|
-
O = Math.min(O,
|
|
3641
|
+
O = Math.min(O, C3(M, !0, R.coordinates, S, O));
|
|
3642
3642
|
}
|
|
3643
3643
|
if (O === 0)
|
|
3644
3644
|
return O;
|
|
@@ -3656,10 +3656,10 @@ var Ek = { exports: {} };
|
|
|
3656
3656
|
for (const j of M) {
|
|
3657
3657
|
switch (R.type) {
|
|
3658
3658
|
case "Point":
|
|
3659
|
-
O = Math.min(O,
|
|
3659
|
+
O = Math.min(O, C3([R.coordinates], !1, j, S, O));
|
|
3660
3660
|
break;
|
|
3661
3661
|
case "LineString":
|
|
3662
|
-
O = Math.min(O,
|
|
3662
|
+
O = Math.min(O, C3(R.coordinates, !0, j, S, O));
|
|
3663
3663
|
break;
|
|
3664
3664
|
case "Polygon":
|
|
3665
3665
|
O = Math.min(O, ln(j, R.coordinates, S, O));
|
|
@@ -3678,7 +3678,7 @@ var Ek = { exports: {} };
|
|
|
3678
3678
|
return !0;
|
|
3679
3679
|
}
|
|
3680
3680
|
}
|
|
3681
|
-
const Ki = { "==": r6, "!=": G5, ">": X5, "<": dn, ">=": T2, "<=": t8, array: H1, at: P, boolean: H1, case: et, coalesce: ze, collator: ya, format:
|
|
3681
|
+
const Ki = { "==": r6, "!=": G5, ">": X5, "<": dn, ">=": T2, "<=": t8, array: H1, at: P, boolean: H1, case: et, coalesce: ze, collator: ya, format: w3, image: A3, in: z, "index-of": F, interpolate: $r, "interpolate-hcl": $r, "interpolate-lab": $r, length: ws, let: Ci, literal: C1, match: q, number: H1, "number-format": Ls, object: H1, slice: ct, step: jt, string: H1, "to-boolean": w1, "to-color": w1, "to-number": w1, "to-string": w1, var: Dr, within: co, distance: d2 };
|
|
3682
3682
|
class Hi {
|
|
3683
3683
|
constructor(c, f, g, x) {
|
|
3684
3684
|
this.name = c, this.type = f, this._evaluate = g, this.args = x;
|
|
@@ -3699,7 +3699,7 @@ var Ek = { exports: {} };
|
|
|
3699
3699
|
const M = Array.isArray(x) ? x[0] : x.type, S = Array.isArray(x) ? [[x[1], x[2]]] : x.overloads, O = S.filter(([j]) => !Array.isArray(j) || j.length === c.length - 1);
|
|
3700
3700
|
let R = null;
|
|
3701
3701
|
for (const [j, U] of O) {
|
|
3702
|
-
R = new f2(f.registry,
|
|
3702
|
+
R = new f2(f.registry, H3, f.path, null, f.scope);
|
|
3703
3703
|
const X = [];
|
|
3704
3704
|
let tt = !1;
|
|
3705
3705
|
for (let it = 1; it < c.length; it++) {
|
|
@@ -3762,15 +3762,15 @@ var Ek = { exports: {} };
|
|
|
3762
3762
|
function fo(u) {
|
|
3763
3763
|
return { type: u };
|
|
3764
3764
|
}
|
|
3765
|
-
function
|
|
3765
|
+
function H3(u) {
|
|
3766
3766
|
if (u instanceof Dr)
|
|
3767
|
-
return
|
|
3767
|
+
return H3(u.boundExpression);
|
|
3768
3768
|
if (u instanceof Hi && u.name === "error" || u instanceof ya || u instanceof co || u instanceof d2)
|
|
3769
3769
|
return !1;
|
|
3770
3770
|
const c = u instanceof w1 || u instanceof H1;
|
|
3771
3771
|
let f = !0;
|
|
3772
3772
|
return u.eachChild((g) => {
|
|
3773
|
-
f = c ? f &&
|
|
3773
|
+
f = c ? f && H3(g) : f && g instanceof C1;
|
|
3774
3774
|
}), !!f && To(u) && La(u, ["zoom", "heatmap-density", "line-progress", "accumulated", "is-supported-script"]);
|
|
3775
3775
|
}
|
|
3776
3776
|
function To(u) {
|
|
@@ -3797,7 +3797,7 @@ var Ek = { exports: {} };
|
|
|
3797
3797
|
f && !La(g, c) && (f = !1);
|
|
3798
3798
|
}), f;
|
|
3799
3799
|
}
|
|
3800
|
-
function
|
|
3800
|
+
function O3(u) {
|
|
3801
3801
|
return { result: "success", value: u };
|
|
3802
3802
|
}
|
|
3803
3803
|
function zo(u) {
|
|
@@ -4011,11 +4011,11 @@ var Ek = { exports: {} };
|
|
|
4011
4011
|
return Array.isArray(u) && u.length > 0 && typeof u[0] == "string" && u[0] in Ki;
|
|
4012
4012
|
}
|
|
4013
4013
|
function j1(u, c) {
|
|
4014
|
-
const f = new f2(Ki,
|
|
4014
|
+
const f = new f2(Ki, H3, [], c ? function(x) {
|
|
4015
4015
|
const M = { color: Jn, string: br, number: _e, enum: br, boolean: cr, formatted: Ai, padding: q1, resolvedImage: zn, variableAnchorOffsetCollection: xt };
|
|
4016
4016
|
return x.type === "array" ? rt(M[x.value] || ur, x.length) : M[x.type];
|
|
4017
4017
|
}(c) : void 0), g = f.parse(u, void 0, void 0, void 0, c && c.type === "string" ? { typeAnnotation: "coerce" } : void 0);
|
|
4018
|
-
return g ?
|
|
4018
|
+
return g ? O3(new Xn(g, c)) : zo(f.errors);
|
|
4019
4019
|
}
|
|
4020
4020
|
class G1 {
|
|
4021
4021
|
constructor(c, f) {
|
|
@@ -4053,7 +4053,7 @@ var Ek = { exports: {} };
|
|
|
4053
4053
|
if (!M && !h6(c))
|
|
4054
4054
|
return zo([new Gn("", "zoom expressions not supported")]);
|
|
4055
4055
|
const S = po(g);
|
|
4056
|
-
return S || M ? S instanceof Gn ? zo([S]) : S instanceof $r && !f6(c) ? zo([new Gn("", '"interpolate" expressions cannot be used with this property')]) :
|
|
4056
|
+
return S || M ? S instanceof Gn ? zo([S]) : S instanceof $r && !f6(c) ? zo([new Gn("", '"interpolate" expressions cannot be used with this property')]) : O3(S ? new o1(x ? "camera" : "composite", f.value, S.labels, S instanceof $r ? S.interpolation : void 0) : new G1(x ? "constant" : "source", f.value)) : zo([new Gn("", '"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);
|
|
4057
4057
|
}
|
|
4058
4058
|
class Ji {
|
|
4059
4059
|
constructor(c, f) {
|
|
@@ -4339,9 +4339,9 @@ var Ek = { exports: {} };
|
|
|
4339
4339
|
return Array.isArray(g.values) ? g.values.indexOf(Qn(f)) === -1 && x.push(new fe(c, f, `expected one of [${g.values.join(", ")}], ${JSON.stringify(f)} found`)) : Object.keys(g.values).indexOf(Qn(f)) === -1 && x.push(new fe(c, f, `expected one of [${Object.keys(g.values).join(", ")}], ${JSON.stringify(f)} found`)), x;
|
|
4340
4340
|
}
|
|
4341
4341
|
function wa(u) {
|
|
4342
|
-
return V2(X1(u.value)) ? yo(B1({}, u, { expressionContext: "filter", valueSpec: { value: "boolean" } })) :
|
|
4342
|
+
return V2(X1(u.value)) ? yo(B1({}, u, { expressionContext: "filter", valueSpec: { value: "boolean" } })) : P3(u);
|
|
4343
4343
|
}
|
|
4344
|
-
function
|
|
4344
|
+
function P3(u) {
|
|
4345
4345
|
const c = u.value, f = u.key;
|
|
4346
4346
|
if (Ct(c) !== "array")
|
|
4347
4347
|
return [new fe(f, c, `array expected, ${Ct(c)} found`)];
|
|
@@ -4368,7 +4368,7 @@ var Ek = { exports: {} };
|
|
|
4368
4368
|
case "all":
|
|
4369
4369
|
case "none":
|
|
4370
4370
|
for (let S = 1; S < c.length; S++)
|
|
4371
|
-
M = M.concat(
|
|
4371
|
+
M = M.concat(P3({ key: `${f}[${S}]`, value: c[S], style: u.style, styleSpec: u.styleSpec }));
|
|
4372
4372
|
break;
|
|
4373
4373
|
case "has":
|
|
4374
4374
|
case "!has":
|
|
@@ -4427,17 +4427,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
4427
4427
|
c.push(new fe(g, f, 'missing required property "source"'));
|
|
4428
4428
|
return c = c.concat(_1({ key: g, value: f, valueSpec: M.layer, style: u.style, styleSpec: u.styleSpec, validateSpec: u.validateSpec, objectElementValidators: { "*": () => [], type: () => u.validateSpec({ key: `${g}.type`, value: f.type, valueSpec: M.layer.type, style: u.style, styleSpec: u.styleSpec, validateSpec: u.validateSpec, object: f, objectKey: "type" }), filter: wa, layout: (R) => _1({ layer: f, key: R.key, value: R.value, style: R.style, styleSpec: R.styleSpec, validateSpec: R.validateSpec, objectElementValidators: { "*": (j) => s8(B1({ layerType: S }, j)) } }), paint: (R) => _1({ layer: f, key: R.key, value: R.value, style: R.style, styleSpec: R.styleSpec, validateSpec: R.validateSpec, objectElementValidators: { "*": (j) => Zo(B1({ layerType: S }, j)) } }) } })), c;
|
|
4429
4429
|
}
|
|
4430
|
-
function
|
|
4430
|
+
function D3(u) {
|
|
4431
4431
|
const c = u.value, f = u.key, g = Ct(c);
|
|
4432
4432
|
return g !== "string" ? [new fe(f, c, `string expected, ${g} found`)] : [];
|
|
4433
4433
|
}
|
|
4434
4434
|
const e0 = { promoteId: function({ key: u, value: c }) {
|
|
4435
4435
|
if (Ct(c) === "string")
|
|
4436
|
-
return
|
|
4436
|
+
return D3({ key: u, value: c });
|
|
4437
4437
|
{
|
|
4438
4438
|
const f = [];
|
|
4439
4439
|
for (const g in c)
|
|
4440
|
-
f.push(...
|
|
4440
|
+
f.push(...D3({ key: `${u}.${g}`, value: c[g] }));
|
|
4441
4441
|
return f;
|
|
4442
4442
|
}
|
|
4443
4443
|
} };
|
|
@@ -4529,7 +4529,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
4529
4529
|
f[S].id && x.includes(f[S].id) && c.push(new fe(g, f, `all the sprites' ids must be unique, but ${f[S].id} is duplicated`)), x.push(f[S].id), f[S].url && M.includes(f[S].url) && c.push(new fe(g, f, `all the sprites' URLs must be unique, but ${f[S].url} is duplicated`)), M.push(f[S].url), c = c.concat(_1({ key: `${g}[${S}]`, value: f[S], valueSpec: { id: { type: "string", required: !0 }, url: { type: "string", required: !0 } }, validateSpec: u.validateSpec }));
|
|
4530
4530
|
return c;
|
|
4531
4531
|
}
|
|
4532
|
-
return
|
|
4532
|
+
return D3({ key: g, value: f });
|
|
4533
4533
|
}
|
|
4534
4534
|
const r0 = { "*": () => [], array: t2, boolean: function(u) {
|
|
4535
4535
|
const c = u.value, f = u.key, g = Ct(c);
|
|
@@ -4547,10 +4547,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
4547
4547
|
for (const O in c)
|
|
4548
4548
|
S = S.concat(g[O] ? u.validateSpec({ key: O, value: c[O], valueSpec: g[O], style: x, styleSpec: f }) : [new fe(O, c[O], `unknown property "${O}"`)]);
|
|
4549
4549
|
return S;
|
|
4550
|
-
}, string:
|
|
4551
|
-
return
|
|
4550
|
+
}, string: D3, formatted: function(u) {
|
|
4551
|
+
return D3(u).length === 0 ? [] : yo(u);
|
|
4552
4552
|
}, resolvedImage: function(u) {
|
|
4553
|
-
return
|
|
4553
|
+
return D3(u).length === 0 ? [] : yo(u);
|
|
4554
4554
|
}, padding: function(u) {
|
|
4555
4555
|
const c = u.key, f = u.value;
|
|
4556
4556
|
if (Ct(f) === "array") {
|
|
@@ -4577,7 +4577,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
4577
4577
|
return u.validateSpec = Bs, f.expression && Yt(Qn(c)) ? Uo(u) : f.expression && Kn(X1(c)) ? yo(u) : f.type && r0[f.type] ? r0[f.type](u) : _1(B1({}, u, { valueSpec: f.type ? g[f.type] : f }));
|
|
4578
4578
|
}
|
|
4579
4579
|
function Ch(u) {
|
|
4580
|
-
const c = u.value, f = u.key, g =
|
|
4580
|
+
const c = u.value, f = u.key, g = D3(u);
|
|
4581
4581
|
return g.length || (c.indexOf("{fontstack}") === -1 && g.push(new fe(f, c, '"glyphs" url must include a "{fontstack}" token')), c.indexOf("{range}") === -1 && g.push(new fe(f, c, '"glyphs" url must include a "{range}" token'))), g;
|
|
4582
4582
|
}
|
|
4583
4583
|
function g2(u, c = Ot) {
|
|
@@ -4598,7 +4598,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
4598
4598
|
};
|
|
4599
4599
|
}
|
|
4600
4600
|
g2.source = k2(_o(T6)), g2.sprite = k2(_o(f8)), g2.glyphs = k2(_o(Ch)), g2.light = k2(_o(c8)), g2.sky = k2(_o(u8)), g2.terrain = k2(_o(h8)), g2.layer = k2(_o(l8)), g2.filter = k2(_o(wa)), g2.paintProperty = k2(_o(Zo)), g2.layoutProperty = k2(_o(s8));
|
|
4601
|
-
const
|
|
4601
|
+
const I3 = g2, Dg = I3.light, Ig = I3.sky, Hh = I3.paintProperty, Oh = I3.layoutProperty;
|
|
4602
4602
|
function d8(u, c) {
|
|
4603
4603
|
let f = !1;
|
|
4604
4604
|
if (c && c.length)
|
|
@@ -5215,7 +5215,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
5215
5215
|
return this.visibility && (c.layout = c.layout || {}, c.layout.visibility = this.visibility), pt(c, (f, g) => !(f === void 0 || g === "layout" && !Object.keys(f).length || g === "paint" && !Object.keys(f).length));
|
|
5216
5216
|
}
|
|
5217
5217
|
_validate(c, f, g, x, M = {}) {
|
|
5218
|
-
return (!M || M.validate !== !1) && d8(this, c.call(
|
|
5218
|
+
return (!M || M.validate !== !1) && d8(this, c.call(I3, { key: f, layerType: this.type, objectKey: g, value: x, styleSpec: Ot, style: { glyphs: !0, sprite: !0 } }));
|
|
5219
5219
|
}
|
|
5220
5220
|
is3D() {
|
|
5221
5221
|
return !1;
|
|
@@ -5910,7 +5910,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
5910
5910
|
return new jr([{ vertexOffset: c, primitiveOffset: f, vertexLength: g, primitiveLength: x, vaos: {}, sortKey: 0 }]);
|
|
5911
5911
|
}
|
|
5912
5912
|
}
|
|
5913
|
-
function
|
|
5913
|
+
function V3(u, c) {
|
|
5914
5914
|
return 256 * (u = $(Math.floor(u), 0, 255)) + $(Math.floor(c), 0, 255);
|
|
5915
5915
|
}
|
|
5916
5916
|
jr.MAX_VERTEX_ARRAY_LENGTH = Math.pow(2, 16) - 1, Be("SegmentVector", jr);
|
|
@@ -6035,7 +6035,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
6035
6035
|
}
|
|
6036
6036
|
const eU = new Float32Array(16);
|
|
6037
6037
|
function jg(u) {
|
|
6038
|
-
return [
|
|
6038
|
+
return [V3(255 * u.r, 255 * u.g), V3(255 * u.b, 255 * u.a)];
|
|
6039
6039
|
}
|
|
6040
6040
|
class b8 {
|
|
6041
6041
|
constructor(c, f, g) {
|
|
@@ -6063,7 +6063,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
6063
6063
|
return g.substr(0, 9) === "u_pattern" ? new xE(c, f) : new Fh(c, f);
|
|
6064
6064
|
}
|
|
6065
6065
|
}
|
|
6066
|
-
class
|
|
6066
|
+
class R3 {
|
|
6067
6067
|
constructor(c, f, g, x) {
|
|
6068
6068
|
this.expression = c, this.type = g, this.maxValue = 0, this.paintVertexAttributes = f.map((M) => ({ name: `a_${M}`, type: "Float32", components: g === "color" ? 2 : 1, offset: 0 })), this.paintVertexArray = new x();
|
|
6069
6069
|
}
|
|
@@ -6171,7 +6171,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
6171
6171
|
this.binders[M] = tt ? new T0(R.value, O) : new b8(R.value, O, j), x.push(`/u_${M}`);
|
|
6172
6172
|
else if (R.kind === "source" || tt) {
|
|
6173
6173
|
const it = wE(M, j, "source");
|
|
6174
|
-
this.binders[M] = tt ? new Xs(R, j, U, f, it, c.id) : new
|
|
6174
|
+
this.binders[M] = tt ? new Xs(R, j, U, f, it, c.id) : new R3(R, O, j, it), x.push(`/a_${M}`);
|
|
6175
6175
|
} else {
|
|
6176
6176
|
const it = wE(M, j, "composite");
|
|
6177
6177
|
this.binders[M] = new Wo(R, O, j, U, f, it), x.push(`/z_${M}`);
|
|
@@ -6181,12 +6181,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
6181
6181
|
}
|
|
6182
6182
|
getMaxValue(c) {
|
|
6183
6183
|
const f = this.binders[c];
|
|
6184
|
-
return f instanceof
|
|
6184
|
+
return f instanceof R3 || f instanceof Wo ? f.maxValue : 0;
|
|
6185
6185
|
}
|
|
6186
6186
|
populatePaintArrays(c, f, g, x, M) {
|
|
6187
6187
|
for (const S in this.binders) {
|
|
6188
6188
|
const O = this.binders[S];
|
|
6189
|
-
(O instanceof
|
|
6189
|
+
(O instanceof R3 || O instanceof Wo || O instanceof Xs) && O.populatePaintArray(c, f, g, x, M);
|
|
6190
6190
|
}
|
|
6191
6191
|
}
|
|
6192
6192
|
setConstantPatternPositions(c, f) {
|
|
@@ -6203,7 +6203,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
6203
6203
|
const U = g.feature(j.index);
|
|
6204
6204
|
for (const X in this.binders) {
|
|
6205
6205
|
const tt = this.binders[X];
|
|
6206
|
-
if ((tt instanceof
|
|
6206
|
+
if ((tt instanceof R3 || tt instanceof Wo || tt instanceof Xs) && tt.expression.isStateDependent === !0) {
|
|
6207
6207
|
const it = x.paint.get(X);
|
|
6208
6208
|
tt.expression = it.value, tt.updatePaintArray(j.start, j.end, U, c[O], M), S = !0;
|
|
6209
6209
|
}
|
|
@@ -6224,7 +6224,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
6224
6224
|
const c = [];
|
|
6225
6225
|
for (const f in this.binders) {
|
|
6226
6226
|
const g = this.binders[f];
|
|
6227
|
-
if (g instanceof
|
|
6227
|
+
if (g instanceof R3 || g instanceof Wo)
|
|
6228
6228
|
for (let x = 0; x < g.paintVertexAttributes.length; x++)
|
|
6229
6229
|
c.push(g.paintVertexAttributes[x].name);
|
|
6230
6230
|
else if (g instanceof Xs)
|
|
@@ -6272,20 +6272,20 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
6272
6272
|
const x = c.fromScale === 2 ? g.zoomInPaintVertexBuffer : g.zoomOutPaintVertexBuffer;
|
|
6273
6273
|
x && this._buffers.push(x);
|
|
6274
6274
|
} else
|
|
6275
|
-
(g instanceof
|
|
6275
|
+
(g instanceof R3 || g instanceof Wo) && g.paintVertexBuffer && this._buffers.push(g.paintVertexBuffer);
|
|
6276
6276
|
}
|
|
6277
6277
|
}
|
|
6278
6278
|
upload(c) {
|
|
6279
6279
|
for (const f in this.binders) {
|
|
6280
6280
|
const g = this.binders[f];
|
|
6281
|
-
(g instanceof
|
|
6281
|
+
(g instanceof R3 || g instanceof Wo || g instanceof Xs) && g.upload(c);
|
|
6282
6282
|
}
|
|
6283
6283
|
this.updatePaintBuffers();
|
|
6284
6284
|
}
|
|
6285
6285
|
destroy() {
|
|
6286
6286
|
for (const c in this.binders) {
|
|
6287
6287
|
const f = this.binders[c];
|
|
6288
|
-
(f instanceof
|
|
6288
|
+
(f instanceof R3 || f instanceof Wo || f instanceof Xs) && f.destroy();
|
|
6289
6289
|
}
|
|
6290
6290
|
}
|
|
6291
6291
|
}
|
|
@@ -6329,7 +6329,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
6329
6329
|
}(u);
|
|
6330
6330
|
return x && x[f] || g[c][f];
|
|
6331
6331
|
}
|
|
6332
|
-
Be("ConstantBinder", b8), Be("CrossFadedConstantBinder", T0), Be("SourceExpressionBinder",
|
|
6332
|
+
Be("ConstantBinder", b8), Be("CrossFadedConstantBinder", T0), Be("SourceExpressionBinder", R3), Be("CrossFadedCompositeBinder", Xs), Be("CompositeExpressionBinder", Wo), Be("ProgramConfiguration", LE, { omit: ["_buffers"] }), Be("ProgramConfigurationSet", y6);
|
|
6333
6333
|
const v1 = 8192, $g = Math.pow(2, 14) - 1, AE = -$g - 1;
|
|
6334
6334
|
function _6(u) {
|
|
6335
6335
|
const c = v1 / u.extent, f = u.loadGeometry();
|
|
@@ -7630,7 +7630,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
7630
7630
|
}
|
|
7631
7631
|
fn.Varint = 0, fn.Fixed64 = 1, fn.Bytes = 2, fn.Fixed32 = 5;
|
|
7632
7632
|
var oy = 4294967296, sM = 1 / oy, lM = typeof TextDecoder > "u" ? null : new TextDecoder("utf-8");
|
|
7633
|
-
function
|
|
7633
|
+
function k3(u) {
|
|
7634
7634
|
return u.type === fn.Bytes ? u.readVarint() + u.pos : u.pos + 1;
|
|
7635
7635
|
}
|
|
7636
7636
|
function g0(u, c, f) {
|
|
@@ -7749,63 +7749,63 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
7749
7749
|
}, readPackedVarint: function(u, c) {
|
|
7750
7750
|
if (this.type !== fn.Bytes)
|
|
7751
7751
|
return u.push(this.readVarint(c));
|
|
7752
|
-
var f =
|
|
7752
|
+
var f = k3(this);
|
|
7753
7753
|
for (u = u || []; this.pos < f; )
|
|
7754
7754
|
u.push(this.readVarint(c));
|
|
7755
7755
|
return u;
|
|
7756
7756
|
}, readPackedSVarint: function(u) {
|
|
7757
7757
|
if (this.type !== fn.Bytes)
|
|
7758
7758
|
return u.push(this.readSVarint());
|
|
7759
|
-
var c =
|
|
7759
|
+
var c = k3(this);
|
|
7760
7760
|
for (u = u || []; this.pos < c; )
|
|
7761
7761
|
u.push(this.readSVarint());
|
|
7762
7762
|
return u;
|
|
7763
7763
|
}, readPackedBoolean: function(u) {
|
|
7764
7764
|
if (this.type !== fn.Bytes)
|
|
7765
7765
|
return u.push(this.readBoolean());
|
|
7766
|
-
var c =
|
|
7766
|
+
var c = k3(this);
|
|
7767
7767
|
for (u = u || []; this.pos < c; )
|
|
7768
7768
|
u.push(this.readBoolean());
|
|
7769
7769
|
return u;
|
|
7770
7770
|
}, readPackedFloat: function(u) {
|
|
7771
7771
|
if (this.type !== fn.Bytes)
|
|
7772
7772
|
return u.push(this.readFloat());
|
|
7773
|
-
var c =
|
|
7773
|
+
var c = k3(this);
|
|
7774
7774
|
for (u = u || []; this.pos < c; )
|
|
7775
7775
|
u.push(this.readFloat());
|
|
7776
7776
|
return u;
|
|
7777
7777
|
}, readPackedDouble: function(u) {
|
|
7778
7778
|
if (this.type !== fn.Bytes)
|
|
7779
7779
|
return u.push(this.readDouble());
|
|
7780
|
-
var c =
|
|
7780
|
+
var c = k3(this);
|
|
7781
7781
|
for (u = u || []; this.pos < c; )
|
|
7782
7782
|
u.push(this.readDouble());
|
|
7783
7783
|
return u;
|
|
7784
7784
|
}, readPackedFixed32: function(u) {
|
|
7785
7785
|
if (this.type !== fn.Bytes)
|
|
7786
7786
|
return u.push(this.readFixed32());
|
|
7787
|
-
var c =
|
|
7787
|
+
var c = k3(this);
|
|
7788
7788
|
for (u = u || []; this.pos < c; )
|
|
7789
7789
|
u.push(this.readFixed32());
|
|
7790
7790
|
return u;
|
|
7791
7791
|
}, readPackedSFixed32: function(u) {
|
|
7792
7792
|
if (this.type !== fn.Bytes)
|
|
7793
7793
|
return u.push(this.readSFixed32());
|
|
7794
|
-
var c =
|
|
7794
|
+
var c = k3(this);
|
|
7795
7795
|
for (u = u || []; this.pos < c; )
|
|
7796
7796
|
u.push(this.readSFixed32());
|
|
7797
7797
|
return u;
|
|
7798
7798
|
}, readPackedFixed64: function(u) {
|
|
7799
7799
|
if (this.type !== fn.Bytes)
|
|
7800
7800
|
return u.push(this.readFixed64());
|
|
7801
|
-
var c =
|
|
7801
|
+
var c = k3(this);
|
|
7802
7802
|
for (u = u || []; this.pos < c; )
|
|
7803
7803
|
u.push(this.readFixed64());
|
|
7804
7804
|
return u;
|
|
7805
7805
|
}, readPackedSFixed64: function(u) {
|
|
7806
7806
|
if (this.type !== fn.Bytes)
|
|
7807
7807
|
return u.push(this.readSFixed64());
|
|
7808
|
-
var c =
|
|
7808
|
+
var c = k3(this);
|
|
7809
7809
|
for (u = u || []; this.pos < c; )
|
|
7810
7810
|
u.push(this.readSFixed64());
|
|
7811
7811
|
return u;
|
|
@@ -8171,14 +8171,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8171
8171
|
Ca = Wr.imageName, Xt.iconsInText = Xt.iconsInText || !0, L0 = z2.paddedRect;
|
|
8172
8172
|
const z1 = z2.displaySize;
|
|
8173
8173
|
Wr.scale = Wr.scale * A1 / Ge, r1 = { width: z1[0], height: z1[1], left: n2, top: -hM, advance: Lo ? z1[1] : z1[0] }, b2 = Qi + (A1 - z1[1] * Wr.scale), Ha = r1.advance;
|
|
8174
|
-
const
|
|
8175
|
-
|
|
8174
|
+
const B3 = Lo ? z1[0] * Wr.scale - A1 * D1 : z1[1] * Wr.scale - A1 * D1;
|
|
8175
|
+
B3 > 0 && B3 > ni && (ni = B3);
|
|
8176
8176
|
} else {
|
|
8177
8177
|
const z2 = Pe[Wr.fontStack], z1 = z2 && z2[In];
|
|
8178
8178
|
if (z1 && z1.rect)
|
|
8179
8179
|
L0 = z1.rect, r1 = z1.metrics;
|
|
8180
8180
|
else {
|
|
8181
|
-
const
|
|
8181
|
+
const B3 = ue[Wr.fontStack], F8 = B3 && B3[In];
|
|
8182
8182
|
if (!F8)
|
|
8183
8183
|
continue;
|
|
8184
8184
|
r1 = F8.metrics;
|
|
@@ -8708,7 +8708,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8708
8708
|
S(g.value.value.sections);
|
|
8709
8709
|
else if (g.value.kind === "source") {
|
|
8710
8710
|
const O = (j) => {
|
|
8711
|
-
M || (j instanceof C1 && Yr(j.value) === Ai ? S(j.value.sections) : j instanceof
|
|
8711
|
+
M || (j instanceof C1 && Yr(j.value) === Ai ? S(j.value.sections) : j instanceof w3 ? S(j.sections) : j.eachChild(O));
|
|
8712
8712
|
}, R = g.value;
|
|
8713
8713
|
R._styleExpression && O(R._styleExpression.expression);
|
|
8714
8714
|
}
|
|
@@ -9540,8 +9540,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9540
9540
|
const Ve = (ne, er) => {
|
|
9541
9541
|
er.x < 0 || er.x >= v1 || er.y < 0 || er.y >= v1 || function(Ge, mr, pn, Tn, O1, bo, ei, P1, Ri, ki, Bi, a1, D1, Qi, ri, Fi, ni, $2, i2, Wr, vn, In, b2, r1, L0) {
|
|
9542
9542
|
const Ca = Ge.addToLineVertexArray(mr, pn);
|
|
9543
|
-
let Ha, Lo, z2, z1,
|
|
9544
|
-
const
|
|
9543
|
+
let Ha, Lo, z2, z1, B3 = 0, F8 = 0, tS = 0, eS = 0, My = -1, Sy = -1;
|
|
9544
|
+
const F3 = {};
|
|
9545
9545
|
let rS = u0("");
|
|
9546
9546
|
if (Ge.allowVerticalPlacement && Tn.vertical) {
|
|
9547
9547
|
const pi = P1.layout.get("text-rotate").evaluate(vn, {}, r1) + 90;
|
|
@@ -9549,7 +9549,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9549
9549
|
}
|
|
9550
9550
|
if (O1) {
|
|
9551
9551
|
const pi = P1.layout.get("icon-rotate").evaluate(vn, {}), U2 = P1.layout.get("icon-text-fit") !== "none", b6 = UM(O1, pi, b2, U2), Go = ei ? UM(ei, pi, b2, U2) : void 0;
|
|
9552
|
-
Lo = new nf(Ri, mr, ki, Bi, a1, O1, ni, $2, !1, pi),
|
|
9552
|
+
Lo = new nf(Ri, mr, ki, Bi, a1, O1, ni, $2, !1, pi), B3 = 4 * b6.length;
|
|
9553
9553
|
const L6 = Ge.iconSizeData;
|
|
9554
9554
|
let Oa = null;
|
|
9555
9555
|
L6.kind === "source" ? (Oa = [Sa * P1.layout.get("icon-size").evaluate(vn, {})], Oa[0] > Js && Zt(`${Ge.layerIds[0]}: Value for "icon-size" is >= ${I8}. Reduce your "icon-size".`)) : L6.kind === "composite" && (Oa = [Sa * In.compositeIconSizes[0].evaluate(vn, {}, r1), Sa * In.compositeIconSizes[1].evaluate(vn, {}, r1)], (Oa[0] > Js || Oa[1] > Js) && Zt(`${Ge.layerIds[0]}: Value for "icon-size" is >= ${I8}. Reduce your "icon-size".`)), Ge.addSymbols(Ge.icon, b6, Oa, Wr, i2, vn, a.ah.none, mr, Ca.lineStartIndex, Ca.lineLength, -1, r1), My = Ge.icon.placedSymbolArray.length - 1, Go && (F8 = 4 * Go.length, Ge.addSymbols(Ge.icon, Go, Oa, Wr, i2, vn, a.ah.vertical, mr, Ca.lineStartIndex, Ca.lineLength, -1, r1), Sy = Ge.icon.placedSymbolArray.length - 1);
|
|
@@ -9563,10 +9563,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9563
9563
|
Ha = new nf(Ri, mr, ki, Bi, a1, U2, D1, Qi, ri, Go);
|
|
9564
9564
|
}
|
|
9565
9565
|
const b6 = U2.positionedLines.length === 1;
|
|
9566
|
-
if (tS += GM(Ge, mr, U2, bo, P1, ri, vn, Fi, Ca, Tn.vertical ? a.ah.horizontal : a.ah.horizontalOnly, b6 ? nS : [pi],
|
|
9566
|
+
if (tS += GM(Ge, mr, U2, bo, P1, ri, vn, Fi, Ca, Tn.vertical ? a.ah.horizontal : a.ah.horizontalOnly, b6 ? nS : [pi], F3, My, In, r1), b6)
|
|
9567
9567
|
break;
|
|
9568
9568
|
}
|
|
9569
|
-
Tn.vertical && (eS += GM(Ge, mr, Tn.vertical, bo, P1, ri, vn, Fi, Ca, a.ah.vertical, ["vertical"],
|
|
9569
|
+
Tn.vertical && (eS += GM(Ge, mr, Tn.vertical, bo, P1, ri, vn, Fi, Ca, a.ah.vertical, ["vertical"], F3, Sy, In, r1));
|
|
9570
9570
|
const VZ = Ha ? Ha.boxStartIndex : Ge.collisionBoxArray.length, RZ = Ha ? Ha.boxEndIndex : Ge.collisionBoxArray.length, kZ = z2 ? z2.boxStartIndex : Ge.collisionBoxArray.length, BZ = z2 ? z2.boxEndIndex : Ge.collisionBoxArray.length, FZ = Lo ? Lo.boxStartIndex : Ge.collisionBoxArray.length, NZ = Lo ? Lo.boxEndIndex : Ge.collisionBoxArray.length, jZ = z1 ? z1.boxStartIndex : Ge.collisionBoxArray.length, $Z = z1 ? z1.boxEndIndex : Ge.collisionBoxArray.length;
|
|
9571
9571
|
let qo = -1;
|
|
9572
9572
|
const af = (pi, U2) => pi && pi.circleDiameter ? Math.max(pi.circleDiameter, U2) : U2;
|
|
@@ -9582,7 +9582,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9582
9582
|
}
|
|
9583
9583
|
return [b6, pi.length];
|
|
9584
9584
|
}(Ge.textAnchorOffsets, zZ);
|
|
9585
|
-
Ge.symbolInstances.emplaceBack(mr.x, mr.y,
|
|
9585
|
+
Ge.symbolInstances.emplaceBack(mr.x, mr.y, F3.right >= 0 ? F3.right : -1, F3.center >= 0 ? F3.center : -1, F3.left >= 0 ? F3.left : -1, F3.vertical || -1, My, Sy, rS, VZ, RZ, kZ, BZ, FZ, NZ, jZ, $Z, ki, tS, eS, B3, F8, iS, 0, D1, qo, UZ, ZZ);
|
|
9586
9586
|
}(u, er, ne, f, g, x, Ne, u.layers[0], u.collisionBoxArray, c.index, c.sourceLayerIndex, u.index, _t, [kt, kt, kt, kt], Pe, R, $t, Xt, lr, it, c, M, j, U, S);
|
|
9587
9587
|
};
|
|
9588
9588
|
if (Se === "line")
|
|
@@ -10224,7 +10224,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10224
10224
|
g.src = u.byteLength ? URL.createObjectURL(x) : Br;
|
|
10225
10225
|
}), a.g = nr, a.h = (u, c) => ce(G(u, { type: "json" }), c), a.i = Qe, a.j = Ie, a.k = ke, a.l = (u, c) => ce(G(u, { type: "arrayBuffer" }), c), a.m = ce, a.n = function(u) {
|
|
10226
10226
|
return new ay(u).readFields(uZ, []);
|
|
10227
|
-
}, a.o = A8, a.p = fM, a.q = A, a.r = Dg, a.s = se, a.t = d8, a.u =
|
|
10227
|
+
}, a.o = A8, a.p = fM, a.q = A, a.r = Dg, a.s = se, a.t = d8, a.u = I3, a.v = Ot, a.w = Zt, a.x = function([u, c, f]) {
|
|
10228
10228
|
return c += 90, c *= Math.PI / 180, f *= Math.PI / 180, { x: u * Math.cos(c) * Math.sin(f), y: u * Math.sin(c) * Math.sin(f), z: u * Math.cos(f) };
|
|
10229
10229
|
}, a.y = sr, a.z = Hn;
|
|
10230
10230
|
}), i("worker", ["./shared"], function(a) {
|
|
@@ -14116,8 +14116,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14116
14116
|
}), v2(Dn && Dn.placeable);
|
|
14117
14117
|
} else {
|
|
14118
14118
|
let $1 = s.aq[(Er = (On = this.prevPlacement) === null || On === void 0 ? void 0 : On.variableOffsets[Le.crossTileID]) === null || Er === void 0 ? void 0 : Er.anchor];
|
|
14119
|
-
const J1 = (jr,
|
|
14120
|
-
const qs = jr.x2 - jr.x1, Rh = jr.y2 - jr.y1, Ng = Le.textBoxScale, kh = Ae && Vt === "never" ?
|
|
14119
|
+
const J1 = (jr, V3, Ws) => {
|
|
14120
|
+
const qs = jr.x2 - jr.x1, Rh = jr.y2 - jr.y1, Ng = Le.textBoxScale, kh = Ae && Vt === "never" ? V3 : null;
|
|
14121
14121
|
let Ma = null, Bh = yt === "never" ? 1 : 2, u0 = "never";
|
|
14122
14122
|
$1 && Bh++;
|
|
14123
14123
|
for (let m6 = 0; m6 < Bh; m6++) {
|
|
@@ -15997,7 +15997,7 @@ uniform ${Y} ${J} u_${at};
|
|
|
15997
15997
|
}, ya = (A, l, d, _, v, w, D, k, N, W, Y, J, at, Tt, dt) => {
|
|
15998
15998
|
const vt = D.transform;
|
|
15999
15999
|
return s.e(T2(A, l, d, _, v, w, D, k, N, W, Y, J, at, dt), { u_gamma_scale: _ ? Math.cos(vt._pitch) * vt.cameraToCenterDistance : 1, u_device_pixel_ratio: D.pixelRatio, u_is_halo: +Tt });
|
|
16000
|
-
}, Ls = (A, l, d, _, v, w, D, k, N, W, Y, J, at, Tt) => s.e(ya(A, l, d, _, v, w, D, k, N, W, Y, !0, J, !0, Tt), { u_texsize_icon: at, u_texture_icon: 1 }),
|
|
16000
|
+
}, Ls = (A, l, d, _, v, w, D, k, N, W, Y, J, at, Tt) => s.e(ya(A, l, d, _, v, w, D, k, N, W, Y, !0, J, !0, Tt), { u_texsize_icon: at, u_texture_icon: 1 }), w3 = (A, l, d) => ({ u_matrix: A, u_opacity: l, u_color: d }), A3 = (A, l, d, _, v, w) => s.e(function(D, k, N, W) {
|
|
16001
16001
|
const Y = N.imageManager.getPattern(D.from.toString()), J = N.imageManager.getPattern(D.to.toString()), { width: at, height: Tt } = N.imageManager.getPixelSize(), dt = Math.pow(2, W.tileID.overscaledZ), vt = W.tileSize * Math.pow(2, N.transform.tileZoom) / dt, wt = vt * (W.tileID.canonical.x + W.tileID.wrap * dt), Et = vt * W.tileID.canonical.y;
|
|
16002
16002
|
return { u_image: 0, u_pattern_tl_a: Y.tl, u_pattern_br_a: Y.br, u_pattern_tl_b: J.tl, u_pattern_br_b: J.br, u_texsize: [at, Tt], u_mix: k.t, u_pattern_size_a: Y.displaySize, u_pattern_size_b: J.displaySize, u_scale_a: k.fromScale, u_scale_b: k.toScale, u_tile_units_to_pixels: 1 / Ar(W, 1, N.transform.tileZoom), u_pixel_coord_upper: [wt >> 16, Et >> 16], u_pixel_coord_lower: [65535 & wt, 65535 & Et] };
|
|
16003
16003
|
}(_, w, d, v), { u_matrix: A, u_opacity: l }), ws = { fillExtrusion: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_lightpos: new s.aN(A, l.u_lightpos), u_lightintensity: new s.aI(A, l.u_lightintensity), u_lightcolor: new s.aN(A, l.u_lightcolor), u_vertical_gradient: new s.aI(A, l.u_vertical_gradient), u_opacity: new s.aI(A, l.u_opacity) }), fillExtrusionPattern: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_lightpos: new s.aN(A, l.u_lightpos), u_lightintensity: new s.aI(A, l.u_lightintensity), u_lightcolor: new s.aN(A, l.u_lightcolor), u_vertical_gradient: new s.aI(A, l.u_vertical_gradient), u_height_factor: new s.aI(A, l.u_height_factor), u_image: new s.aH(A, l.u_image), u_texsize: new s.aO(A, l.u_texsize), u_pixel_coord_upper: new s.aO(A, l.u_pixel_coord_upper), u_pixel_coord_lower: new s.aO(A, l.u_pixel_coord_lower), u_scale: new s.aN(A, l.u_scale), u_fade: new s.aI(A, l.u_fade), u_opacity: new s.aI(A, l.u_opacity) }), fill: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix) }), fillPattern: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_image: new s.aH(A, l.u_image), u_texsize: new s.aO(A, l.u_texsize), u_pixel_coord_upper: new s.aO(A, l.u_pixel_coord_upper), u_pixel_coord_lower: new s.aO(A, l.u_pixel_coord_lower), u_scale: new s.aN(A, l.u_scale), u_fade: new s.aI(A, l.u_fade) }), fillOutline: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_world: new s.aO(A, l.u_world) }), fillOutlinePattern: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_world: new s.aO(A, l.u_world), u_image: new s.aH(A, l.u_image), u_texsize: new s.aO(A, l.u_texsize), u_pixel_coord_upper: new s.aO(A, l.u_pixel_coord_upper), u_pixel_coord_lower: new s.aO(A, l.u_pixel_coord_lower), u_scale: new s.aN(A, l.u_scale), u_fade: new s.aI(A, l.u_fade) }), circle: (A, l) => ({ u_camera_to_center_distance: new s.aI(A, l.u_camera_to_center_distance), u_scale_with_map: new s.aH(A, l.u_scale_with_map), u_pitch_with_map: new s.aH(A, l.u_pitch_with_map), u_extrude_scale: new s.aO(A, l.u_extrude_scale), u_device_pixel_ratio: new s.aI(A, l.u_device_pixel_ratio), u_matrix: new s.aJ(A, l.u_matrix) }), collisionBox: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_pixel_extrude_scale: new s.aO(A, l.u_pixel_extrude_scale) }), collisionCircle: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_inv_matrix: new s.aJ(A, l.u_inv_matrix), u_camera_to_center_distance: new s.aI(A, l.u_camera_to_center_distance), u_viewport_size: new s.aO(A, l.u_viewport_size) }), debug: (A, l) => ({ u_color: new s.aL(A, l.u_color), u_matrix: new s.aJ(A, l.u_matrix), u_overlay: new s.aH(A, l.u_overlay), u_overlay_scale: new s.aI(A, l.u_overlay_scale) }), clippingMask: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix) }), heatmap: (A, l) => ({ u_extrude_scale: new s.aI(A, l.u_extrude_scale), u_intensity: new s.aI(A, l.u_intensity), u_matrix: new s.aJ(A, l.u_matrix) }), heatmapTexture: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_world: new s.aO(A, l.u_world), u_image: new s.aH(A, l.u_image), u_color_ramp: new s.aH(A, l.u_color_ramp), u_opacity: new s.aI(A, l.u_opacity) }), hillshade: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_image: new s.aH(A, l.u_image), u_latrange: new s.aO(A, l.u_latrange), u_light: new s.aO(A, l.u_light), u_shadow: new s.aL(A, l.u_shadow), u_highlight: new s.aL(A, l.u_highlight), u_accent: new s.aL(A, l.u_accent) }), hillshadePrepare: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_image: new s.aH(A, l.u_image), u_dimension: new s.aO(A, l.u_dimension), u_zoom: new s.aI(A, l.u_zoom), u_unpack: new s.aK(A, l.u_unpack) }), line: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_ratio: new s.aI(A, l.u_ratio), u_device_pixel_ratio: new s.aI(A, l.u_device_pixel_ratio), u_units_to_pixels: new s.aO(A, l.u_units_to_pixels) }), lineGradient: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_ratio: new s.aI(A, l.u_ratio), u_device_pixel_ratio: new s.aI(A, l.u_device_pixel_ratio), u_units_to_pixels: new s.aO(A, l.u_units_to_pixels), u_image: new s.aH(A, l.u_image), u_image_height: new s.aI(A, l.u_image_height) }), linePattern: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_texsize: new s.aO(A, l.u_texsize), u_ratio: new s.aI(A, l.u_ratio), u_device_pixel_ratio: new s.aI(A, l.u_device_pixel_ratio), u_image: new s.aH(A, l.u_image), u_units_to_pixels: new s.aO(A, l.u_units_to_pixels), u_scale: new s.aN(A, l.u_scale), u_fade: new s.aI(A, l.u_fade) }), lineSDF: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_ratio: new s.aI(A, l.u_ratio), u_device_pixel_ratio: new s.aI(A, l.u_device_pixel_ratio), u_units_to_pixels: new s.aO(A, l.u_units_to_pixels), u_patternscale_a: new s.aO(A, l.u_patternscale_a), u_patternscale_b: new s.aO(A, l.u_patternscale_b), u_sdfgamma: new s.aI(A, l.u_sdfgamma), u_image: new s.aH(A, l.u_image), u_tex_y_a: new s.aI(A, l.u_tex_y_a), u_tex_y_b: new s.aI(A, l.u_tex_y_b), u_mix: new s.aI(A, l.u_mix) }), raster: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_tl_parent: new s.aO(A, l.u_tl_parent), u_scale_parent: new s.aI(A, l.u_scale_parent), u_buffer_scale: new s.aI(A, l.u_buffer_scale), u_fade_t: new s.aI(A, l.u_fade_t), u_opacity: new s.aI(A, l.u_opacity), u_image0: new s.aH(A, l.u_image0), u_image1: new s.aH(A, l.u_image1), u_brightness_low: new s.aI(A, l.u_brightness_low), u_brightness_high: new s.aI(A, l.u_brightness_high), u_saturation_factor: new s.aI(A, l.u_saturation_factor), u_contrast_factor: new s.aI(A, l.u_contrast_factor), u_spin_weights: new s.aN(A, l.u_spin_weights) }), symbolIcon: (A, l) => ({ u_is_size_zoom_constant: new s.aH(A, l.u_is_size_zoom_constant), u_is_size_feature_constant: new s.aH(A, l.u_is_size_feature_constant), u_size_t: new s.aI(A, l.u_size_t), u_size: new s.aI(A, l.u_size), u_camera_to_center_distance: new s.aI(A, l.u_camera_to_center_distance), u_pitch: new s.aI(A, l.u_pitch), u_rotate_symbol: new s.aH(A, l.u_rotate_symbol), u_aspect_ratio: new s.aI(A, l.u_aspect_ratio), u_fade_change: new s.aI(A, l.u_fade_change), u_matrix: new s.aJ(A, l.u_matrix), u_label_plane_matrix: new s.aJ(A, l.u_label_plane_matrix), u_coord_matrix: new s.aJ(A, l.u_coord_matrix), u_is_text: new s.aH(A, l.u_is_text), u_pitch_with_map: new s.aH(A, l.u_pitch_with_map), u_is_along_line: new s.aH(A, l.u_is_along_line), u_is_variable_anchor: new s.aH(A, l.u_is_variable_anchor), u_texsize: new s.aO(A, l.u_texsize), u_texture: new s.aH(A, l.u_texture), u_translation: new s.aO(A, l.u_translation), u_pitched_scale: new s.aI(A, l.u_pitched_scale) }), symbolSDF: (A, l) => ({ u_is_size_zoom_constant: new s.aH(A, l.u_is_size_zoom_constant), u_is_size_feature_constant: new s.aH(A, l.u_is_size_feature_constant), u_size_t: new s.aI(A, l.u_size_t), u_size: new s.aI(A, l.u_size), u_camera_to_center_distance: new s.aI(A, l.u_camera_to_center_distance), u_pitch: new s.aI(A, l.u_pitch), u_rotate_symbol: new s.aH(A, l.u_rotate_symbol), u_aspect_ratio: new s.aI(A, l.u_aspect_ratio), u_fade_change: new s.aI(A, l.u_fade_change), u_matrix: new s.aJ(A, l.u_matrix), u_label_plane_matrix: new s.aJ(A, l.u_label_plane_matrix), u_coord_matrix: new s.aJ(A, l.u_coord_matrix), u_is_text: new s.aH(A, l.u_is_text), u_pitch_with_map: new s.aH(A, l.u_pitch_with_map), u_is_along_line: new s.aH(A, l.u_is_along_line), u_is_variable_anchor: new s.aH(A, l.u_is_variable_anchor), u_texsize: new s.aO(A, l.u_texsize), u_texture: new s.aH(A, l.u_texture), u_gamma_scale: new s.aI(A, l.u_gamma_scale), u_device_pixel_ratio: new s.aI(A, l.u_device_pixel_ratio), u_is_halo: new s.aH(A, l.u_is_halo), u_translation: new s.aO(A, l.u_translation), u_pitched_scale: new s.aI(A, l.u_pitched_scale) }), symbolTextAndIcon: (A, l) => ({ u_is_size_zoom_constant: new s.aH(A, l.u_is_size_zoom_constant), u_is_size_feature_constant: new s.aH(A, l.u_is_size_feature_constant), u_size_t: new s.aI(A, l.u_size_t), u_size: new s.aI(A, l.u_size), u_camera_to_center_distance: new s.aI(A, l.u_camera_to_center_distance), u_pitch: new s.aI(A, l.u_pitch), u_rotate_symbol: new s.aH(A, l.u_rotate_symbol), u_aspect_ratio: new s.aI(A, l.u_aspect_ratio), u_fade_change: new s.aI(A, l.u_fade_change), u_matrix: new s.aJ(A, l.u_matrix), u_label_plane_matrix: new s.aJ(A, l.u_label_plane_matrix), u_coord_matrix: new s.aJ(A, l.u_coord_matrix), u_is_text: new s.aH(A, l.u_is_text), u_pitch_with_map: new s.aH(A, l.u_pitch_with_map), u_is_along_line: new s.aH(A, l.u_is_along_line), u_is_variable_anchor: new s.aH(A, l.u_is_variable_anchor), u_texsize: new s.aO(A, l.u_texsize), u_texsize_icon: new s.aO(A, l.u_texsize_icon), u_texture: new s.aH(A, l.u_texture), u_texture_icon: new s.aH(A, l.u_texture_icon), u_gamma_scale: new s.aI(A, l.u_gamma_scale), u_device_pixel_ratio: new s.aI(A, l.u_device_pixel_ratio), u_is_halo: new s.aH(A, l.u_is_halo), u_translation: new s.aO(A, l.u_translation), u_pitched_scale: new s.aI(A, l.u_pitched_scale) }), background: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_opacity: new s.aI(A, l.u_opacity), u_color: new s.aL(A, l.u_color) }), backgroundPattern: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_opacity: new s.aI(A, l.u_opacity), u_image: new s.aH(A, l.u_image), u_pattern_tl_a: new s.aO(A, l.u_pattern_tl_a), u_pattern_br_a: new s.aO(A, l.u_pattern_br_a), u_pattern_tl_b: new s.aO(A, l.u_pattern_tl_b), u_pattern_br_b: new s.aO(A, l.u_pattern_br_b), u_texsize: new s.aO(A, l.u_texsize), u_mix: new s.aI(A, l.u_mix), u_pattern_size_a: new s.aO(A, l.u_pattern_size_a), u_pattern_size_b: new s.aO(A, l.u_pattern_size_b), u_scale_a: new s.aI(A, l.u_scale_a), u_scale_b: new s.aI(A, l.u_scale_b), u_pixel_coord_upper: new s.aO(A, l.u_pixel_coord_upper), u_pixel_coord_lower: new s.aO(A, l.u_pixel_coord_lower), u_tile_units_to_pixels: new s.aI(A, l.u_tile_units_to_pixels) }), terrain: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_texture: new s.aH(A, l.u_texture), u_ele_delta: new s.aI(A, l.u_ele_delta), u_fog_matrix: new s.aJ(A, l.u_fog_matrix), u_fog_color: new s.aL(A, l.u_fog_color), u_fog_ground_blend: new s.aI(A, l.u_fog_ground_blend), u_fog_ground_blend_opacity: new s.aI(A, l.u_fog_ground_blend_opacity), u_horizon_color: new s.aL(A, l.u_horizon_color), u_horizon_fog_blend: new s.aI(A, l.u_horizon_fog_blend) }), terrainDepth: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_ele_delta: new s.aI(A, l.u_ele_delta) }), terrainCoords: (A, l) => ({ u_matrix: new s.aJ(A, l.u_matrix), u_texture: new s.aH(A, l.u_texture), u_terrain_coords_id: new s.aI(A, l.u_terrain_coords_id), u_ele_delta: new s.aI(A, l.u_ele_delta) }), sky: (A, l) => ({ u_sky_color: new s.aL(A, l.u_sky_color), u_horizon_color: new s.aL(A, l.u_horizon_color), u_horizon: new s.aI(A, l.u_horizon), u_sky_horizon_blend: new s.aI(A, l.u_sky_horizon_blend) }) };
|
|
@@ -16078,7 +16078,7 @@ uniform ${Y} ${J} u_${at};
|
|
|
16078
16078
|
this.set(this.default);
|
|
16079
16079
|
}
|
|
16080
16080
|
}
|
|
16081
|
-
class
|
|
16081
|
+
class E3 extends zr {
|
|
16082
16082
|
getDefault() {
|
|
16083
16083
|
return s.aM.transparent;
|
|
16084
16084
|
}
|
|
@@ -16178,7 +16178,7 @@ uniform ${Y} ${J} u_${at};
|
|
|
16178
16178
|
l ? d.enable(d.DEPTH_TEST) : d.disable(d.DEPTH_TEST), this.current = l, this.dirty = !1;
|
|
16179
16179
|
}
|
|
16180
16180
|
}
|
|
16181
|
-
class
|
|
16181
|
+
class M3 extends zr {
|
|
16182
16182
|
getDefault() {
|
|
16183
16183
|
return this.gl.LESS;
|
|
16184
16184
|
}
|
|
@@ -16259,7 +16259,7 @@ uniform ${Y} ${J} u_${at};
|
|
|
16259
16259
|
(l !== this.current || this.dirty) && (this.gl.useProgram(l), this.current = l, this.dirty = !1);
|
|
16260
16260
|
}
|
|
16261
16261
|
}
|
|
16262
|
-
class
|
|
16262
|
+
class S3 extends zr {
|
|
16263
16263
|
getDefault() {
|
|
16264
16264
|
return this.gl.TEXTURE0;
|
|
16265
16265
|
}
|
|
@@ -16442,7 +16442,7 @@ uniform ${Y} ${J} u_${at};
|
|
|
16442
16442
|
class o8 {
|
|
16443
16443
|
constructor(l) {
|
|
16444
16444
|
var d, _;
|
|
16445
|
-
if (this.gl = l, this.clearColor = new
|
|
16445
|
+
if (this.gl = l, this.clearColor = new E3(this), this.clearDepth = new r8(this), this.clearStencil = new _a(this), this.colorMask = new As(this), this.depthMask = new Es(this), this.stencilMask = new K5(this), this.stencilFunc = new Xi(this), this.stencilOp = new Ms(this), this.stencilTest = new i6(this), this.depthRange = new Y5(this), this.depthTest = new o6(this), this.depthFunc = new M3(this), this.blend = new co(this), this.blendFunc = new a6(this), this.blendColor = new n8(this), this.blendEquation = new uo(this), this.cullFace = new va(this), this.cullFaceSide = new i8(this), this.frontFace = new Ss(this), this.program = new s6(this), this.activeTexture = new S3(this), this.viewport = new Cs(this), this.bindFramebuffer = new Hs(this), this.bindRenderbuffer = new Os(this), this.bindTexture = new jo(this), this.bindVertexBuffer = new J5(this), this.bindElementBuffer = new Ps(this), this.bindVertexArray = new O2(this), this.pixelStoreUnpack = new l6(this), this.pixelStoreUnpackPremultiplyAlpha = new c6(this), this.pixelStoreUnpackFlipY = new Ds(this), this.extTextureFilterAnisotropic = l.getExtension("EXT_texture_filter_anisotropic") || l.getExtension("MOZ_EXT_texture_filter_anisotropic") || l.getExtension("WEBKIT_EXT_texture_filter_anisotropic"), this.extTextureFilterAnisotropic && (this.extTextureFilterAnisotropicMax = l.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)), this.maxTextureSize = l.getParameter(l.MAX_TEXTURE_SIZE), H2(l)) {
|
|
16446
16446
|
this.HALF_FLOAT = l.HALF_FLOAT;
|
|
16447
16447
|
const v = l.getExtension("EXT_color_buffer_half_float");
|
|
16448
16448
|
this.RGBA16F = (d = l.RGBA16F) !== null && d !== void 0 ? d : v == null ? void 0 : v.RGBA16F_EXT, this.RGB16F = (_ = l.RGB16F) !== null && _ !== void 0 ? _ : v == null ? void 0 : v.RGB16F_EXT, l.getExtension("EXT_color_buffer_float");
|
|
@@ -16519,7 +16519,7 @@ uniform ${Y} ${J} u_${at};
|
|
|
16519
16519
|
}
|
|
16520
16520
|
}
|
|
16521
16521
|
let $o;
|
|
16522
|
-
function
|
|
16522
|
+
function C3(A, l, d, _, v) {
|
|
16523
16523
|
const w = A.context, D = w.gl, k = A.useProgram("collisionBox"), N = [];
|
|
16524
16524
|
let W = 0, Y = 0;
|
|
16525
16525
|
for (let Et = 0; Et < _.length; Et++) {
|
|
@@ -16640,8 +16640,8 @@ uniform ${Y} ${J} u_${at};
|
|
|
16640
16640
|
}
|
|
16641
16641
|
const di = Ar(ve, 1, A.transform.zoom), xo = It ? xe.posMatrix : ba, Us = q1(xo, Et, wt, A.transform, di), l0 = zn(xo, Et, wt, A.transform, di), Zs = zn(xe.posMatrix, Et, wt, A.transform, di), _2 = vt.translatePosition(A.transform, ve, w, D), c0 = pe && Ze.hasTextData(), x8 = d.layout.get("icon-text-fit") !== "none" && c0 && Ze.hasIconData();
|
|
16642
16642
|
if (Mt) {
|
|
16643
|
-
const jr = A.style.map.terrain ? (Ws, qs) => A.style.map.terrain.getElevation(xe, Ws, qs) : null,
|
|
16644
|
-
ht(Ze, xe.posMatrix, A, v, Us, Zs, Et, W,
|
|
16643
|
+
const jr = A.style.map.terrain ? (Ws, qs) => A.style.map.terrain.getElevation(xe, Ws, qs) : null, V3 = d.layout.get("text-rotation-alignment") === "map";
|
|
16644
|
+
ht(Ze, xe.posMatrix, A, v, Us, Zs, Et, W, V3, vt, xe.toUnwrapped(), dt.width, dt.height, _2, jr);
|
|
16645
16645
|
}
|
|
16646
16646
|
const v2 = xe.posMatrix, x2 = v && pe || x8, Ea = Mt || x2 ? ba : Us, F2 = l0, $1 = He && d.paint.get(v ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0;
|
|
16647
16647
|
let J1;
|
|
@@ -16650,8 +16650,8 @@ uniform ${Y} ${J} u_${at};
|
|
|
16650
16650
|
if (Vt && Ze.canOverlap) {
|
|
16651
16651
|
Ut = !0;
|
|
16652
16652
|
const jr = yr.segments.get();
|
|
16653
|
-
for (const
|
|
16654
|
-
Ae.push({ segments: new s.a0([
|
|
16653
|
+
for (const V3 of jr)
|
|
16654
|
+
Ae.push({ segments: new s.a0([V3]), sortKey: V3.sortKey, state: r2, terrainData: Pn });
|
|
16655
16655
|
} else
|
|
16656
16656
|
Ae.push({ segments: yr.segments, sortKey: 0, state: r2, terrainData: Pn });
|
|
16657
16657
|
}
|
|
@@ -16675,7 +16675,7 @@ uniform ${Y} ${J} u_${at};
|
|
|
16675
16675
|
return;
|
|
16676
16676
|
const W = _.key;
|
|
16677
16677
|
let Y = d.heatmapFbos.get(W);
|
|
16678
|
-
Y || (Y =
|
|
16678
|
+
Y || (Y = H3(v, l.tileSize, l.tileSize), d.heatmapFbos.set(W, Y)), v.bindFramebuffer.set(Y.framebuffer), v.viewport.set([0, 0, l.tileSize, l.tileSize]), v.clear({ color: s.aM.transparent });
|
|
16679
16679
|
const J = N.programConfigurations.get(d.id), at = A.useProgram("heatmap", J), Tt = A.style.map.terrain.getTerrainData(_);
|
|
16680
16680
|
at.draw(v, w.TRIANGLES, wr.disabled, D, k, rn.disabled, $r(_.posMatrix, l, A.transform.zoom, d.paint.get("heatmap-intensity")), Tt, d.id, N.layoutVertexBuffer, N.indexBuffer, N.segments, d.paint, A.transform.zoom, J);
|
|
16681
16681
|
}
|
|
@@ -16685,7 +16685,7 @@ uniform ${Y} ${J} u_${at};
|
|
|
16685
16685
|
const w = To(_, l), D = d.key, k = l.heatmapFbos.get(D);
|
|
16686
16686
|
k && (_.activeTexture.set(v.TEXTURE0), v.bindTexture(v.TEXTURE_2D, k.colorAttachment.get()), _.activeTexture.set(v.TEXTURE1), w.bind(v.LINEAR, v.CLAMP_TO_EDGE), A.useProgram("heatmapTexture").draw(_, v.TRIANGLES, wr.disabled, ln.disabled, A.colorModeForRenderPass(), rn.disabled, oe(A, l, 0, 1), null, l.id, A.rasterBoundsBuffer, A.quadTriangleIndexBuffer, A.rasterBoundsSegments, l.paint, A.transform.zoom), k.destroy(), l.heatmapFbos.delete(D));
|
|
16687
16687
|
}
|
|
16688
|
-
function
|
|
16688
|
+
function H3(A, l, d) {
|
|
16689
16689
|
var _, v;
|
|
16690
16690
|
const w = A.gl, D = w.createTexture();
|
|
16691
16691
|
w.bindTexture(w.TEXTURE_2D, D), w.texParameteri(w.TEXTURE_2D, w.TEXTURE_WRAP_S, w.CLAMP_TO_EDGE), w.texParameteri(w.TEXTURE_2D, w.TEXTURE_WRAP_T, w.CLAMP_TO_EDGE), w.texParameteri(w.TEXTURE_2D, w.TEXTURE_MIN_FILTER, w.LINEAR), w.texParameteri(w.TEXTURE_2D, w.TEXTURE_MAG_FILTER, w.LINEAR);
|
|
@@ -16732,7 +16732,7 @@ uniform ${Y} ${J} u_${at};
|
|
|
16732
16732
|
Ut.draw(A.context, at, v, A.stencilModeForClipping(Mt), w, rn.disabled, dt, ie, d.id, It.layoutVertexBuffer, vt, wt, d.paint, A.transform.zoom, Vt);
|
|
16733
16733
|
}
|
|
16734
16734
|
}
|
|
16735
|
-
function
|
|
16735
|
+
function O3(A, l, d, _, v, w, D) {
|
|
16736
16736
|
const k = A.context, N = k.gl, W = "fill-extrusion-pattern", Y = d.paint.get(W), J = Y.constantOr(1), at = d.getCrossfadeParameters(), Tt = d.paint.get("fill-extrusion-opacity"), dt = Y.constantOr(null);
|
|
16737
16737
|
for (const vt of _) {
|
|
16738
16738
|
const wt = l.getTile(vt), Et = wt.getBucket(d);
|
|
@@ -17012,7 +17012,7 @@ uniform ${Y} ${J} u_${at};
|
|
|
17012
17012
|
Ki(xe, ie, pe, It, Vt, yr, Ae.posMatrix, He, ve, Le, Ut, On, Ae.toUnwrapped(), pr);
|
|
17013
17013
|
}
|
|
17014
17014
|
}
|
|
17015
|
-
}(N, w, k, D, k.layout.get("text-rotation-alignment"), k.layout.get("text-pitch-alignment"), k.paint.get("text-translate"), k.paint.get("text-translate-anchor"), W), k.paint.get("icon-opacity").constantOr(1) !== 0 && Q2(w, D, k, N, !1, k.paint.get("icon-translate"), k.paint.get("icon-translate-anchor"), k.layout.get("icon-rotation-alignment"), k.layout.get("icon-pitch-alignment"), k.layout.get("icon-keep-upright"), Y, J), k.paint.get("text-opacity").constantOr(1) !== 0 && Q2(w, D, k, N, !0, k.paint.get("text-translate"), k.paint.get("text-translate-anchor"), k.layout.get("text-rotation-alignment"), k.layout.get("text-pitch-alignment"), k.layout.get("text-keep-upright"), Y, J), D.map.showCollisionBoxes && (
|
|
17015
|
+
}(N, w, k, D, k.layout.get("text-rotation-alignment"), k.layout.get("text-pitch-alignment"), k.paint.get("text-translate"), k.paint.get("text-translate-anchor"), W), k.paint.get("icon-opacity").constantOr(1) !== 0 && Q2(w, D, k, N, !1, k.paint.get("icon-translate"), k.paint.get("icon-translate-anchor"), k.layout.get("icon-rotation-alignment"), k.layout.get("icon-pitch-alignment"), k.layout.get("icon-keep-upright"), Y, J), k.paint.get("text-opacity").constantOr(1) !== 0 && Q2(w, D, k, N, !0, k.paint.get("text-translate"), k.paint.get("text-translate-anchor"), k.layout.get("text-rotation-alignment"), k.layout.get("text-pitch-alignment"), k.layout.get("text-keep-upright"), Y, J), D.map.showCollisionBoxes && (C3(w, D, k, N, !0), C3(w, D, k, N, !1));
|
|
17016
17016
|
})(l, d, _, v, this.style.placement.variableOffsets);
|
|
17017
17017
|
break;
|
|
17018
17018
|
case "circle":
|
|
@@ -17060,7 +17060,7 @@ uniform ${Y} ${J} u_${at};
|
|
|
17060
17060
|
const Vt = Mt.gl;
|
|
17061
17061
|
Mt.activeTexture.set(Vt.TEXTURE1), Mt.viewport.set([0, 0, yt.width / 4, yt.height / 4]);
|
|
17062
17062
|
let Ut = It.heatmapFbos.get(s.aU);
|
|
17063
|
-
Ut ? (Vt.bindTexture(Vt.TEXTURE_2D, Ut.colorAttachment.get()), Mt.bindFramebuffer.set(Ut.framebuffer)) : (Ut =
|
|
17063
|
+
Ut ? (Vt.bindTexture(Vt.TEXTURE_2D, Ut.colorAttachment.get()), Mt.bindFramebuffer.set(Ut.framebuffer)) : (Ut = H3(Mt, yt.width / 4, yt.height / 4), It.heatmapFbos.set(s.aU, Ut));
|
|
17064
17064
|
})(dt, Y, at), dt.clear({ color: s.aM.transparent });
|
|
17065
17065
|
for (let Mt = 0; Mt < Tt.length; Mt++) {
|
|
17066
17066
|
const yt = Tt[Mt];
|
|
@@ -17146,10 +17146,10 @@ uniform ${Y} ${J} u_${at};
|
|
|
17146
17146
|
if (W !== 0 && w.renderPass === "translucent") {
|
|
17147
17147
|
const Y = new wr(w.context.gl.LEQUAL, wr.ReadWrite, w.depthRangeFor3D);
|
|
17148
17148
|
if (W !== 1 || k.paint.get("fill-extrusion-pattern").constantOr(1))
|
|
17149
|
-
|
|
17149
|
+
O3(w, D, k, N, Y, ln.disabled, sn.disabled), O3(w, D, k, N, Y, w.stencilModeFor3D(), w.colorModeForRenderPass());
|
|
17150
17150
|
else {
|
|
17151
17151
|
const J = w.colorModeForRenderPass();
|
|
17152
|
-
|
|
17152
|
+
O3(w, D, k, N, Y, ln.disabled, J);
|
|
17153
17153
|
}
|
|
17154
17154
|
}
|
|
17155
17155
|
})(l, d, _, v);
|
|
@@ -17198,7 +17198,7 @@ uniform ${Y} ${J} u_${at};
|
|
|
17198
17198
|
vt && (J.activeTexture.set(at.TEXTURE0), w.imageManager.bind(w.context));
|
|
17199
17199
|
const Ut = k.getCrossfadeParameters();
|
|
17200
17200
|
for (const ie of Vt) {
|
|
17201
|
-
const pe = N ? ie.posMatrix : w.transform.calculatePosMatrix(ie.toUnwrapped()), Ae = vt ?
|
|
17201
|
+
const pe = N ? ie.posMatrix : w.transform.calculatePosMatrix(ie.toUnwrapped()), Ae = vt ? A3(pe, Y, w, vt, { tileID: ie, tileSize: dt }, Ut) : w3(pe, Y, W), De = w.style.map.terrain && w.style.map.terrain.getTerrainData(ie);
|
|
17202
17202
|
It.draw(J, at.TRIANGLES, Mt, Et, yt, rn.disabled, Ae, De, k.id, w.tileExtentBuffer, w.quadTriangleIndexBuffer, w.tileExtentSegments);
|
|
17203
17203
|
}
|
|
17204
17204
|
})(l, 0, _, v);
|
|
@@ -18153,7 +18153,7 @@ uniform ${Y} ${J} u_${at};
|
|
|
18153
18153
|
}
|
|
18154
18154
|
}
|
|
18155
18155
|
const wa = { 0: 1, 2: 2 };
|
|
18156
|
-
class
|
|
18156
|
+
class P3 {
|
|
18157
18157
|
constructor(l) {
|
|
18158
18158
|
this._correctEvent = l.checkCorrectEvent;
|
|
18159
18159
|
}
|
|
@@ -18208,13 +18208,13 @@ uniform ${Y} ${J} u_${at};
|
|
|
18208
18208
|
l.preventDefault();
|
|
18209
18209
|
};
|
|
18210
18210
|
}, s8 = ({ enable: A, clickTolerance: l, bearingDegreesPerPixelMoved: d = 0.8 }) => {
|
|
18211
|
-
const _ = new
|
|
18211
|
+
const _ = new P3({ checkCorrectEvent: (v) => m.mouseButton(v) === 0 && v.ctrlKey || m.mouseButton(v) === 2 });
|
|
18212
18212
|
return new Di({ clickTolerance: l, move: (v, w) => ({ bearingDelta: (w.x - v.x) * d }), moveStateManager: _, enable: A, assignEvents: Zo });
|
|
18213
18213
|
}, l8 = ({ enable: A, clickTolerance: l, pitchDegreesPerPixelMoved: d = -0.5 }) => {
|
|
18214
|
-
const _ = new
|
|
18214
|
+
const _ = new P3({ checkCorrectEvent: (v) => m.mouseButton(v) === 0 && v.ctrlKey || m.mouseButton(v) === 2 });
|
|
18215
18215
|
return new Di({ clickTolerance: l, move: (v, w) => ({ pitchDelta: (w.y - v.y) * d }), moveStateManager: _, enable: A, assignEvents: Zo });
|
|
18216
18216
|
};
|
|
18217
|
-
class
|
|
18217
|
+
class D3 {
|
|
18218
18218
|
constructor(l, d) {
|
|
18219
18219
|
this._clickTolerance = l.clickTolerance || 1, this._map = d, this.reset();
|
|
18220
18220
|
}
|
|
@@ -18534,7 +18534,7 @@ uniform ${Y} ${J} u_${at};
|
|
|
18534
18534
|
this._active = !1, this._zooming = !1, delete this._targetZoom, this._finishTimeout && (clearTimeout(this._finishTimeout), delete this._finishTimeout);
|
|
18535
18535
|
}
|
|
18536
18536
|
}
|
|
18537
|
-
class
|
|
18537
|
+
class I3 {
|
|
18538
18538
|
constructor(l, d) {
|
|
18539
18539
|
this._clickZoom = l, this._tapZoom = d;
|
|
18540
18540
|
}
|
|
@@ -18770,7 +18770,7 @@ uniform ${Y} ${J} u_${at};
|
|
|
18770
18770
|
const w = d.cooperativeGestures = new Fs(d, l.cooperativeGestures);
|
|
18771
18771
|
this._add("cooperativeGestures", w), l.cooperativeGestures && w.enable();
|
|
18772
18772
|
const D = new yo(d), k = new Dg(d);
|
|
18773
|
-
d.doubleClickZoom = new
|
|
18773
|
+
d.doubleClickZoom = new I3(k, D), this._add("tapZoom", D), this._add("clickZoom", k), l.interactive && l.doubleClickZoom && d.doubleClickZoom.enable();
|
|
18774
18774
|
const N = new Ig();
|
|
18775
18775
|
this._add("tapDragZoom", N);
|
|
18776
18776
|
const W = d.touchPitch = new Bs(d);
|
|
@@ -18778,9 +18778,9 @@ uniform ${Y} ${J} u_${at};
|
|
|
18778
18778
|
const Y = s8(l), J = l8(l);
|
|
18779
18779
|
d.dragRotate = new Oh(l, Y, J), this._add("mouseRotate", Y, ["mousePitch"]), this._add("mousePitch", J, ["mouseRotate"]), l.interactive && l.dragRotate && d.dragRotate.enable();
|
|
18780
18780
|
const at = (({ enable: Mt, clickTolerance: yt }) => {
|
|
18781
|
-
const It = new
|
|
18781
|
+
const It = new P3({ checkCorrectEvent: (Vt) => m.mouseButton(Vt) === 0 && !Vt.ctrlKey });
|
|
18782
18782
|
return new Di({ clickTolerance: yt, move: (Vt, Ut) => ({ around: Ut, panDelta: Ut.sub(Vt) }), activateOnStart: !0, moveStateManager: It, enable: Mt, assignEvents: Zo });
|
|
18783
|
-
})(l), Tt = new
|
|
18783
|
+
})(l), Tt = new D3(l, d);
|
|
18784
18784
|
d.dragPan = new Hh(_, at, Tt), this._add("mousePan", at), this._add("touchPan", Tt, ["touchZoom", "touchRotate"]), l.interactive && l.dragPan && d.dragPan.enable(l.dragPan);
|
|
18785
18785
|
const dt = new f8(), vt = new u8();
|
|
18786
18786
|
d.touchZoomRotate = new d8(_, vt, dt, N), this._add("touchRotate", dt, ["touchPan", "touchZoom"]), this._add("touchZoom", vt, ["touchPan", "touchRotate"]), l.interactive && l.touchZoomRotate && d.touchZoomRotate.enable(l.touchZoomRotate);
|
|
@@ -19837,7 +19837,7 @@ uniform ${Y} ${J} u_${at};
|
|
|
19837
19837
|
return s0(new s.P(0, 0));
|
|
19838
19838
|
}
|
|
19839
19839
|
const v8 = h;
|
|
19840
|
-
a.AJAXError = s.bh, a.Evented = s.E, a.LngLat = s.N, a.MercatorCoordinate = s.Z, a.Point = s.P, a.addProtocol = s.bi, a.config = s.a, a.removeProtocol = s.bj, a.AttributionControl = js, a.BoxZoomHandler = _1, a.CanvasSource = k1, a.CooperativeGesturesHandler = Fs, a.DoubleClickZoomHandler =
|
|
19840
|
+
a.AJAXError = s.bh, a.Evented = s.E, a.LngLat = s.N, a.MercatorCoordinate = s.Z, a.Point = s.P, a.addProtocol = s.bi, a.config = s.a, a.removeProtocol = s.bj, a.AttributionControl = js, a.BoxZoomHandler = _1, a.CanvasSource = k1, a.CooperativeGesturesHandler = Fs, a.DoubleClickZoomHandler = I3, a.DragPanHandler = Hh, a.DragRotateHandler = Oh, a.EdgeInsets = o1, a.FullscreenControl = class extends s.E {
|
|
19841
19841
|
constructor(A = {}) {
|
|
19842
19842
|
super(), this._onFullscreenChange = () => {
|
|
19843
19843
|
var l;
|
|
@@ -21341,7 +21341,7 @@ var Brt = function e(t) {
|
|
|
21341
21341
|
};
|
|
21342
21342
|
}
|
|
21343
21343
|
throw new u7("intrinsic " + t + " does not exist!");
|
|
21344
|
-
},
|
|
21344
|
+
}, _3 = function(t, r) {
|
|
21345
21345
|
if (typeof t != "string" || t.length === 0)
|
|
21346
21346
|
throw new cl("intrinsic name must be a non-empty string");
|
|
21347
21347
|
if (arguments.length > 1 && typeof r != "boolean")
|
|
@@ -21371,14 +21371,14 @@ var Brt = function e(t) {
|
|
|
21371
21371
|
}
|
|
21372
21372
|
}
|
|
21373
21373
|
return s;
|
|
21374
|
-
}, Wrt =
|
|
21374
|
+
}, Wrt = _3, LT = Wrt("%Object.defineProperty%", !0) || !1;
|
|
21375
21375
|
if (LT)
|
|
21376
21376
|
try {
|
|
21377
21377
|
LT({}, "a", { value: 1 });
|
|
21378
21378
|
} catch {
|
|
21379
21379
|
LT = !1;
|
|
21380
21380
|
}
|
|
21381
|
-
var nw = LT, qrt =
|
|
21381
|
+
var nw = LT, qrt = _3, wT = qrt("%Object.getOwnPropertyDescriptor%", !0);
|
|
21382
21382
|
if (wT)
|
|
21383
21383
|
try {
|
|
21384
21384
|
wT([], "length");
|
|
@@ -21440,7 +21440,7 @@ var aw = Dk, Xrt = tw, Krt = typeof Symbol == "function" && typeof Symbol("foo")
|
|
|
21440
21440
|
ent(e, n[i], t[n[i]], r[n[i]]);
|
|
21441
21441
|
};
|
|
21442
21442
|
Vk.supportsDescriptors = !!Ik;
|
|
21443
|
-
var B5 = Vk, Rk = { exports: {} }, rnt =
|
|
21443
|
+
var B5 = Vk, Rk = { exports: {} }, rnt = _3, MC = ow, nnt = aw(), SC = iw, CC = G4, int = rnt("%Math.floor%"), ont = function(t, r) {
|
|
21444
21444
|
if (typeof t != "function")
|
|
21445
21445
|
throw new CC("`fn` is not a function");
|
|
21446
21446
|
if (typeof r != "number" || r < 0 || r > 4294967295 || int(r) !== r)
|
|
@@ -21465,7 +21465,7 @@ var B5 = Vk, Rk = { exports: {} }, rnt = y3, MC = ow, nnt = aw(), SC = iw, CC =
|
|
|
21465
21465
|
)), t;
|
|
21466
21466
|
};
|
|
21467
21467
|
(function(e) {
|
|
21468
|
-
var t = rw, r =
|
|
21468
|
+
var t = rw, r = _3, n = ont, i = G4, o = r("%Function.prototype.apply%"), a = r("%Function.prototype.call%"), s = r("%Reflect.apply%", !0) || t.call(a, o), h = nw, T = r("%Math.max%");
|
|
21469
21469
|
e.exports = function(m) {
|
|
21470
21470
|
if (typeof m != "function")
|
|
21471
21471
|
throw new i("a function is required");
|
|
@@ -21481,7 +21481,7 @@ var B5 = Vk, Rk = { exports: {} }, rnt = y3, MC = ow, nnt = aw(), SC = iw, CC =
|
|
|
21481
21481
|
};
|
|
21482
21482
|
h ? h(e.exports, "apply", { value: Q }) : e.exports.apply = Q;
|
|
21483
21483
|
})(Rk);
|
|
21484
|
-
var B7 = Rk.exports, kk =
|
|
21484
|
+
var B7 = Rk.exports, kk = _3, Bk = B7, ant = Bk(kk("String.prototype.indexOf")), Fo = function(t, r) {
|
|
21485
21485
|
var n = kk(t, !!r);
|
|
21486
21486
|
return typeof n == "function" && ant(t, ".prototype.") > -1 ? Bk(n) : n;
|
|
21487
21487
|
}, snt = tw, Fk = ip(), Nk = Fo, HC = Object, lnt = Nk("Array.prototype.push"), OC = Nk("Object.prototype.propertyIsEnumerable"), cnt = Fk ? Object.getOwnPropertySymbols : null, jk = function(t, r) {
|
|
@@ -21636,7 +21636,7 @@ const Gnt = {}, Xnt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defin
|
|
|
21636
21636
|
__proto__: null,
|
|
21637
21637
|
default: Gnt
|
|
21638
21638
|
}, Symbol.toStringTag, { value: "Module" })), Knt = /* @__PURE__ */ XZ(Xnt);
|
|
21639
|
-
var sw = typeof Map == "function" && Map.prototype, c_ = Object.getOwnPropertyDescriptor && sw ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, od = sw && c_ && typeof c_.get == "function" ? c_.get : null, IC = sw && Map.prototype.forEach, lw = typeof Set == "function" && Set.prototype, u_ = Object.getOwnPropertyDescriptor && lw ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, ad = lw && u_ && typeof u_.get == "function" ? u_.get : null, VC = lw && Set.prototype.forEach, Ynt = typeof WeakMap == "function" && WeakMap.prototype, eu = Ynt ? WeakMap.prototype.has : null, Jnt = typeof WeakSet == "function" && WeakSet.prototype, ru = Jnt ? WeakSet.prototype.has : null, t1t = typeof WeakRef == "function" && WeakRef.prototype, RC = t1t ? WeakRef.prototype.deref : null, e1t = Boolean.prototype.valueOf, r1t = Object.prototype.toString, n1t = Function.prototype.toString, i1t = String.prototype.match, cw = String.prototype.slice, V4 = String.prototype.replace, o1t = String.prototype.toUpperCase, kC = String.prototype.toLowerCase, Yk = RegExp.prototype.test, BC = Array.prototype.concat,
|
|
21639
|
+
var sw = typeof Map == "function" && Map.prototype, c_ = Object.getOwnPropertyDescriptor && sw ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, od = sw && c_ && typeof c_.get == "function" ? c_.get : null, IC = sw && Map.prototype.forEach, lw = typeof Set == "function" && Set.prototype, u_ = Object.getOwnPropertyDescriptor && lw ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, ad = lw && u_ && typeof u_.get == "function" ? u_.get : null, VC = lw && Set.prototype.forEach, Ynt = typeof WeakMap == "function" && WeakMap.prototype, eu = Ynt ? WeakMap.prototype.has : null, Jnt = typeof WeakSet == "function" && WeakSet.prototype, ru = Jnt ? WeakSet.prototype.has : null, t1t = typeof WeakRef == "function" && WeakRef.prototype, RC = t1t ? WeakRef.prototype.deref : null, e1t = Boolean.prototype.valueOf, r1t = Object.prototype.toString, n1t = Function.prototype.toString, i1t = String.prototype.match, cw = String.prototype.slice, V4 = String.prototype.replace, o1t = String.prototype.toUpperCase, kC = String.prototype.toLowerCase, Yk = RegExp.prototype.test, BC = Array.prototype.concat, e3 = Array.prototype.join, a1t = Array.prototype.slice, FC = Math.floor, Ax = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, h_ = Object.getOwnPropertySymbols, Ex = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, h7 = typeof Symbol == "function" && typeof Symbol.iterator == "object", Ui = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === h7 || !0) ? Symbol.toStringTag : null, Jk = Object.prototype.propertyIsEnumerable, NC = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(e) {
|
|
21640
21640
|
return e.__proto__;
|
|
21641
21641
|
} : null);
|
|
21642
21642
|
function jC(e, t) {
|
|
@@ -21703,7 +21703,7 @@ var Mx = Knt, $C = Mx.custom, zC = eB($C) ? $C : null, s1t = function e(t, r, n,
|
|
|
21703
21703
|
}
|
|
21704
21704
|
if (typeof t == "function" && !UC(t)) {
|
|
21705
21705
|
var y = p1t(t), b = mf(t, m);
|
|
21706
|
-
return "[Function" + (y ? ": " + y : " (anonymous)") + "]" + (b.length > 0 ? " { " +
|
|
21706
|
+
return "[Function" + (y ? ": " + y : " (anonymous)") + "]" + (b.length > 0 ? " { " + e3.call(b, ", ") + " }" : "");
|
|
21707
21707
|
}
|
|
21708
21708
|
if (eB(t)) {
|
|
21709
21709
|
var L = h7 ? V4.call(String(t), /^(Symbol\(.*\))_[^)]*$/, "$1") : Ex.call(t);
|
|
@@ -21718,11 +21718,11 @@ var Mx = Knt, $C = Mx.custom, zC = eB($C) ? $C : null, s1t = function e(t, r, n,
|
|
|
21718
21718
|
if (t.length === 0)
|
|
21719
21719
|
return "[]";
|
|
21720
21720
|
var V = mf(t, m);
|
|
21721
|
-
return p && !L1t(V) ? "[" + Cx(V, p) + "]" : "[ " +
|
|
21721
|
+
return p && !L1t(V) ? "[" + Cx(V, p) + "]" : "[ " + e3.call(V, ", ") + " ]";
|
|
21722
21722
|
}
|
|
21723
21723
|
if (u1t(t)) {
|
|
21724
21724
|
var B = mf(t, m);
|
|
21725
|
-
return !("cause" in Error.prototype) && "cause" in t && !Jk.call(t, "cause") ? "{ [" + String(t) + "] " +
|
|
21725
|
+
return !("cause" in Error.prototype) && "cause" in t && !Jk.call(t, "cause") ? "{ [" + String(t) + "] " + e3.call(BC.call("[cause]: " + m(t.cause), B), ", ") + " }" : B.length === 0 ? "[" + String(t) + "]" : "{ [" + String(t) + "] " + e3.call(B, ", ") + " }";
|
|
21726
21726
|
}
|
|
21727
21727
|
if (typeof t == "object" && a) {
|
|
21728
21728
|
if (zC && typeof t[zC] == "function" && Mx)
|
|
@@ -21761,8 +21761,8 @@ var Mx = Knt, $C = Mx.custom, zC = eB($C) ? $C : null, s1t = function e(t, r, n,
|
|
|
21761
21761
|
if (t === I)
|
|
21762
21762
|
return "{ [object globalThis] }";
|
|
21763
21763
|
if (!c1t(t) && !UC(t)) {
|
|
21764
|
-
var G = mf(t, m), ot = NC ? NC(t) === Object.prototype : t instanceof Object || t.constructor === Object, lt = t instanceof Object ? "" : "null prototype", pt = !ot && Ui && Object(t) === t && Ui in t ? cw.call(X4(t), 8, -1) : lt ? "Object" : "", bt = ot || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "", Pt = bt + (pt || lt ? "[" +
|
|
21765
|
-
return G.length === 0 ? Pt + "{}" : p ? Pt + "{" + Cx(G, p) + "}" : Pt + "{ " +
|
|
21764
|
+
var G = mf(t, m), ot = NC ? NC(t) === Object.prototype : t instanceof Object || t.constructor === Object, lt = t instanceof Object ? "" : "null prototype", pt = !ot && Ui && Object(t) === t && Ui in t ? cw.call(X4(t), 8, -1) : lt ? "Object" : "", bt = ot || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "", Pt = bt + (pt || lt ? "[" + e3.call(BC.call([], pt || [], lt || []), ": ") + "] " : "");
|
|
21765
|
+
return G.length === 0 ? Pt + "{}" : p ? Pt + "{" + Cx(G, p) + "}" : Pt + "{ " + e3.call(G, ", ") + " }";
|
|
21766
21766
|
}
|
|
21767
21767
|
return String(t);
|
|
21768
21768
|
};
|
|
@@ -21936,7 +21936,7 @@ function f_(e) {
|
|
|
21936
21936
|
return e + " { ? }";
|
|
21937
21937
|
}
|
|
21938
21938
|
function ZC(e, t, r, n) {
|
|
21939
|
-
var i = n ? Cx(r, n) :
|
|
21939
|
+
var i = n ? Cx(r, n) : e3.call(r, ", ");
|
|
21940
21940
|
return e + " (" + t + ") {" + i + "}";
|
|
21941
21941
|
}
|
|
21942
21942
|
function L1t(e) {
|
|
@@ -21951,12 +21951,12 @@ function w1t(e, t) {
|
|
|
21951
21951
|
if (e.indent === " ")
|
|
21952
21952
|
r = " ";
|
|
21953
21953
|
else if (typeof e.indent == "number" && e.indent > 0)
|
|
21954
|
-
r =
|
|
21954
|
+
r = e3.call(Array(e.indent + 1), " ");
|
|
21955
21955
|
else
|
|
21956
21956
|
return null;
|
|
21957
21957
|
return {
|
|
21958
21958
|
base: r,
|
|
21959
|
-
prev:
|
|
21959
|
+
prev: e3.call(Array(t + 1), r)
|
|
21960
21960
|
};
|
|
21961
21961
|
}
|
|
21962
21962
|
function Cx(e, t) {
|
|
@@ -21964,7 +21964,7 @@ function Cx(e, t) {
|
|
|
21964
21964
|
return "";
|
|
21965
21965
|
var r = `
|
|
21966
21966
|
` + t.prev + t.base;
|
|
21967
|
-
return r +
|
|
21967
|
+
return r + e3.call(e, "," + r) + `
|
|
21968
21968
|
` + t.prev;
|
|
21969
21969
|
}
|
|
21970
21970
|
function mf(e, t) {
|
|
@@ -21987,7 +21987,7 @@ function mf(e, t) {
|
|
|
21987
21987
|
Jk.call(e, o[T]) && n.push("[" + t(o[T]) + "]: " + t(e[o[T]], e));
|
|
21988
21988
|
return n;
|
|
21989
21989
|
}
|
|
21990
|
-
var iB =
|
|
21990
|
+
var iB = _3, F7 = Fo, A1t = s1t, E1t = G4, gf = iB("%WeakMap%", !0), yf = iB("%Map%", !0), M1t = F7("WeakMap.prototype.get", !0), S1t = F7("WeakMap.prototype.set", !0), C1t = F7("WeakMap.prototype.has", !0), H1t = F7("Map.prototype.get", !0), O1t = F7("Map.prototype.set", !0), P1t = F7("Map.prototype.has", !0), uw = function(e, t) {
|
|
21991
21991
|
for (var r = e, n; (n = r.next) !== null; r = n)
|
|
21992
21992
|
if (n.key === t)
|
|
21993
21993
|
return r.next = n.next, n.next = /** @type {NonNullable<typeof list.next>} */
|
|
@@ -22038,36 +22038,36 @@ var iB = y3, F7 = Fo, A1t = s1t, E1t = G4, gf = iB("%WeakMap%", !0), yf = iB("%M
|
|
|
22038
22038
|
}
|
|
22039
22039
|
};
|
|
22040
22040
|
return i;
|
|
22041
|
-
}, R1t = Ok, Z8 = oB(),
|
|
22041
|
+
}, R1t = Ok, Z8 = oB(), N3 = G4, hw = {
|
|
22042
22042
|
assert: function(e, t) {
|
|
22043
22043
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
22044
|
-
throw new
|
|
22044
|
+
throw new N3("`O` is not an object");
|
|
22045
22045
|
if (typeof t != "string")
|
|
22046
|
-
throw new
|
|
22046
|
+
throw new N3("`slot` must be a string");
|
|
22047
22047
|
if (Z8.assert(e), !hw.has(e, t))
|
|
22048
|
-
throw new
|
|
22048
|
+
throw new N3("`" + t + "` is not present on `O`");
|
|
22049
22049
|
},
|
|
22050
22050
|
get: function(e, t) {
|
|
22051
22051
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
22052
|
-
throw new
|
|
22052
|
+
throw new N3("`O` is not an object");
|
|
22053
22053
|
if (typeof t != "string")
|
|
22054
|
-
throw new
|
|
22054
|
+
throw new N3("`slot` must be a string");
|
|
22055
22055
|
var r = Z8.get(e);
|
|
22056
22056
|
return r && r["$" + t];
|
|
22057
22057
|
},
|
|
22058
22058
|
has: function(e, t) {
|
|
22059
22059
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
22060
|
-
throw new
|
|
22060
|
+
throw new N3("`O` is not an object");
|
|
22061
22061
|
if (typeof t != "string")
|
|
22062
|
-
throw new
|
|
22062
|
+
throw new N3("`slot` must be a string");
|
|
22063
22063
|
var r = Z8.get(e);
|
|
22064
22064
|
return !!r && R1t(r, "$" + t);
|
|
22065
22065
|
},
|
|
22066
22066
|
set: function(e, t, r) {
|
|
22067
22067
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
22068
|
-
throw new
|
|
22068
|
+
throw new N3("`O` is not an object");
|
|
22069
22069
|
if (typeof t != "string")
|
|
22070
|
-
throw new
|
|
22070
|
+
throw new N3("`slot` must be a string");
|
|
22071
22071
|
var n = Z8.get(e);
|
|
22072
22072
|
n || (n = {}, Z8.set(e, n)), n["$" + t] = r;
|
|
22073
22073
|
}
|
|
@@ -22160,7 +22160,7 @@ if (ew() || ip()) {
|
|
|
22160
22160
|
return Array.prototype[T_].call(t);
|
|
22161
22161
|
};
|
|
22162
22162
|
} else {
|
|
22163
|
-
var G1t = aB, X1t = sB, YC =
|
|
22163
|
+
var G1t = aB, X1t = sB, YC = _3, K1t = YC("%Map%", !0), Y1t = YC("%Set%", !0), Xo = Fo, JC = Xo("Array.prototype.push"), tH = Xo("String.prototype.charCodeAt"), J1t = Xo("String.prototype.slice"), tit = function(t, r) {
|
|
22164
22164
|
var n = t.length;
|
|
22165
22165
|
if (r + 1 >= n)
|
|
22166
22166
|
return r + 1;
|
|
@@ -22257,7 +22257,7 @@ cit(QB, {
|
|
|
22257
22257
|
implementation: hit,
|
|
22258
22258
|
shim: fit
|
|
22259
22259
|
});
|
|
22260
|
-
var Tit = QB, dit = B7, pB = Fo, Qit =
|
|
22260
|
+
var Tit = QB, dit = B7, pB = Fo, Qit = _3, Hx = Qit("%ArrayBuffer%", !0), ET = pB("ArrayBuffer.prototype.byteLength", !0), pit = pB("Object.prototype.toString"), cH = !!Hx && !ET && new Hx(0).slice, uH = !!cH && dit(cH), mB = ET || uH ? function(t) {
|
|
22261
22261
|
if (!t || typeof t != "object")
|
|
22262
22262
|
return !1;
|
|
22263
22263
|
try {
|
|
@@ -22400,7 +22400,7 @@ var i2t = ud || function(t) {
|
|
|
22400
22400
|
} catch {
|
|
22401
22401
|
}
|
|
22402
22402
|
return !1;
|
|
22403
|
-
}, kx = { exports: {} }, o2t =
|
|
22403
|
+
}, kx = { exports: {} }, o2t = _3, xB = Fo, a2t = o2t("%WeakSet%", !0), m_ = xB("WeakSet.prototype.has", !0);
|
|
22404
22404
|
if (m_) {
|
|
22405
22405
|
var g_ = xB("WeakMap.prototype.has", !0);
|
|
22406
22406
|
kx.exports = function(t) {
|
|
@@ -22592,7 +22592,7 @@ var R2t = function(t) {
|
|
|
22592
22592
|
return CT ? R2t(t) : null;
|
|
22593
22593
|
}, F2t = Fo, pH = F2t("ArrayBuffer.prototype.byteLength", !0), N2t = mB, j2t = function(t) {
|
|
22594
22594
|
return N2t(t) ? pH ? pH(t) : t.byteLength : NaN;
|
|
22595
|
-
}, AB = _nt,
|
|
22595
|
+
}, AB = _nt, v3 = Fo, mH = znt, $2t = _3, f7 = iit, z2t = oB, gH = Tit, yH = Kk, _H = aB, vH = mB, xH = xit, bH = Ait, LH = Mit, wH = tw, AH = n2t, EH = f2t, MH = B2t, SH = j2t, CH = v3("SharedArrayBuffer.prototype.byteLength", !0), HH = v3("Date.prototype.getTime"), x_ = Object.getPrototypeOf, OH = v3("Object.prototype.toString"), Td = $2t("%Set%", !0), $x = v3("Map.prototype.has", !0), dd = v3("Map.prototype.get", !0), PH = v3("Map.prototype.size", !0), Qd = v3("Set.prototype.add", !0), EB = v3("Set.prototype.delete", !0), pd = v3("Set.prototype.has", !0), HT = v3("Set.prototype.size", !0);
|
|
22596
22596
|
function DH(e, t, r, n) {
|
|
22597
22597
|
for (var i = f7(e), o; (o = i.next()) && !o.done; )
|
|
22598
22598
|
if (ca(t, o.value, r, n))
|
|
@@ -22887,15 +22887,15 @@ var W2 = 63710088e-1, SB = {
|
|
|
22887
22887
|
millimetres: 1e6,
|
|
22888
22888
|
yards: 1.195990046
|
|
22889
22889
|
};
|
|
22890
|
-
function
|
|
22890
|
+
function u3(e, t, r = {}) {
|
|
22891
22891
|
const n = { type: "Feature" };
|
|
22892
22892
|
return (r.id === 0 || r.id) && (n.id = r.id), r.bbox && (n.bbox = r.bbox), n.properties = t || {}, n.geometry = e, n;
|
|
22893
22893
|
}
|
|
22894
|
-
Ln(
|
|
22894
|
+
Ln(u3, "feature");
|
|
22895
22895
|
function J2t(e, t, r = {}) {
|
|
22896
22896
|
switch (e) {
|
|
22897
22897
|
case "Point":
|
|
22898
|
-
return
|
|
22898
|
+
return q3(t).geometry;
|
|
22899
22899
|
case "LineString":
|
|
22900
22900
|
return as(t).geometry;
|
|
22901
22901
|
case "Polygon":
|
|
@@ -22911,7 +22911,7 @@ function J2t(e, t, r = {}) {
|
|
|
22911
22911
|
}
|
|
22912
22912
|
}
|
|
22913
22913
|
Ln(J2t, "geometry");
|
|
22914
|
-
function
|
|
22914
|
+
function q3(e, t, r = {}) {
|
|
22915
22915
|
if (!e)
|
|
22916
22916
|
throw new Error("coordinates is required");
|
|
22917
22917
|
if (!Array.isArray(e))
|
|
@@ -22920,15 +22920,15 @@ function W3(e, t, r = {}) {
|
|
|
22920
22920
|
throw new Error("coordinates must be at least 2 numbers long");
|
|
22921
22921
|
if (!md(e[0]) || !md(e[1]))
|
|
22922
22922
|
throw new Error("coordinates must contain numbers");
|
|
22923
|
-
return
|
|
22923
|
+
return u3({
|
|
22924
22924
|
type: "Point",
|
|
22925
22925
|
coordinates: e
|
|
22926
22926
|
}, t, r);
|
|
22927
22927
|
}
|
|
22928
|
-
Ln(
|
|
22928
|
+
Ln(q3, "point");
|
|
22929
22929
|
function tot(e, t, r = {}) {
|
|
22930
22930
|
return ap(
|
|
22931
|
-
e.map((n) =>
|
|
22931
|
+
e.map((n) => q3(n, t)),
|
|
22932
22932
|
r
|
|
22933
22933
|
);
|
|
22934
22934
|
}
|
|
@@ -22945,7 +22945,7 @@ function mw(e, t, r = {}) {
|
|
|
22945
22945
|
if (i[i.length - 1][o] !== i[0][o])
|
|
22946
22946
|
throw new Error("First and last Position are not equivalent.");
|
|
22947
22947
|
}
|
|
22948
|
-
return
|
|
22948
|
+
return u3({
|
|
22949
22949
|
type: "Polygon",
|
|
22950
22950
|
coordinates: e
|
|
22951
22951
|
}, t, r);
|
|
@@ -22961,7 +22961,7 @@ Ln(eot, "polygons");
|
|
|
22961
22961
|
function as(e, t, r = {}) {
|
|
22962
22962
|
if (e.length < 2)
|
|
22963
22963
|
throw new Error("coordinates must be an array of two or more positions");
|
|
22964
|
-
return
|
|
22964
|
+
return u3({
|
|
22965
22965
|
type: "LineString",
|
|
22966
22966
|
coordinates: e
|
|
22967
22967
|
}, t, r);
|
|
@@ -22980,28 +22980,28 @@ function ap(e, t = {}) {
|
|
|
22980
22980
|
}
|
|
22981
22981
|
Ln(ap, "featureCollection");
|
|
22982
22982
|
function CB(e, t, r = {}) {
|
|
22983
|
-
return
|
|
22983
|
+
return u3({
|
|
22984
22984
|
type: "MultiLineString",
|
|
22985
22985
|
coordinates: e
|
|
22986
22986
|
}, t, r);
|
|
22987
22987
|
}
|
|
22988
22988
|
Ln(CB, "multiLineString");
|
|
22989
22989
|
function HB(e, t, r = {}) {
|
|
22990
|
-
return
|
|
22990
|
+
return u3({
|
|
22991
22991
|
type: "MultiPoint",
|
|
22992
22992
|
coordinates: e
|
|
22993
22993
|
}, t, r);
|
|
22994
22994
|
}
|
|
22995
22995
|
Ln(HB, "multiPoint");
|
|
22996
22996
|
function OB(e, t, r = {}) {
|
|
22997
|
-
return
|
|
22997
|
+
return u3({
|
|
22998
22998
|
type: "MultiPolygon",
|
|
22999
22999
|
coordinates: e
|
|
23000
23000
|
}, t, r);
|
|
23001
23001
|
}
|
|
23002
23002
|
Ln(OB, "multiPolygon");
|
|
23003
23003
|
function not(e, t, r = {}) {
|
|
23004
|
-
return
|
|
23004
|
+
return u3({
|
|
23005
23005
|
type: "GeometryCollection",
|
|
23006
23006
|
geometries: e
|
|
23007
23007
|
}, t, r);
|
|
@@ -23318,7 +23318,7 @@ function sp(e, t) {
|
|
|
23318
23318
|
case "LineString":
|
|
23319
23319
|
case "Polygon":
|
|
23320
23320
|
return t(
|
|
23321
|
-
|
|
23321
|
+
u3(r, i, { bbox: o, id: a }),
|
|
23322
23322
|
n,
|
|
23323
23323
|
0
|
|
23324
23324
|
) === !1 ? !1 : void 0;
|
|
@@ -23340,7 +23340,7 @@ function sp(e, t) {
|
|
|
23340
23340
|
type: h,
|
|
23341
23341
|
coordinates: Q
|
|
23342
23342
|
};
|
|
23343
|
-
if (t(
|
|
23343
|
+
if (t(u3(p, i), n, T) === !1)
|
|
23344
23344
|
return !1;
|
|
23345
23345
|
}
|
|
23346
23346
|
});
|
|
@@ -23550,17 +23550,17 @@ function vot(e, t) {
|
|
|
23550
23550
|
var h = s.coordinates;
|
|
23551
23551
|
switch (s.type) {
|
|
23552
23552
|
case "Point":
|
|
23553
|
-
return
|
|
23553
|
+
return q3(h, a, t);
|
|
23554
23554
|
case "MultiPoint":
|
|
23555
|
-
return n < 0 && (n = h.length + n),
|
|
23555
|
+
return n < 0 && (n = h.length + n), q3(h[n], a, t);
|
|
23556
23556
|
case "LineString":
|
|
23557
|
-
return o < 0 && (o = h.length + o),
|
|
23557
|
+
return o < 0 && (o = h.length + o), q3(h[o], a, t);
|
|
23558
23558
|
case "Polygon":
|
|
23559
|
-
return i < 0 && (i = h.length + i), o < 0 && (o = h[i].length + o),
|
|
23559
|
+
return i < 0 && (i = h.length + i), o < 0 && (o = h[i].length + o), q3(h[i][o], a, t);
|
|
23560
23560
|
case "MultiLineString":
|
|
23561
|
-
return n < 0 && (n = h.length + n), o < 0 && (o = h[n].length + o),
|
|
23561
|
+
return n < 0 && (n = h.length + n), o < 0 && (o = h[n].length + o), q3(h[n][o], a, t);
|
|
23562
23562
|
case "MultiPolygon":
|
|
23563
|
-
return n < 0 && (n = h.length + n), i < 0 && (i = h[n].length + i), o < 0 && (o = h[n][i].length - o),
|
|
23563
|
+
return n < 0 && (n = h.length + n), i < 0 && (i = h[n].length + i), o < 0 && (o = h[n][i].length - o), q3(
|
|
23564
23564
|
h[n][i][o],
|
|
23565
23565
|
a,
|
|
23566
23566
|
t
|
|
@@ -24822,11 +24822,11 @@ var G2 = 63710088e-1, XB = {
|
|
|
24822
24822
|
millimetres: 1e6,
|
|
24823
24823
|
yards: 1.195990046
|
|
24824
24824
|
};
|
|
24825
|
-
function
|
|
24825
|
+
function h3(e, t, r = {}) {
|
|
24826
24826
|
const n = { type: "Feature" };
|
|
24827
24827
|
return (r.id === 0 || r.id) && (n.id = r.id), r.bbox && (n.bbox = r.bbox), n.properties = t || {}, n.geometry = e, n;
|
|
24828
24828
|
}
|
|
24829
|
-
wn(
|
|
24829
|
+
wn(h3, "feature");
|
|
24830
24830
|
function Qat(e, t, r = {}) {
|
|
24831
24831
|
switch (e) {
|
|
24832
24832
|
case "Point":
|
|
@@ -24855,7 +24855,7 @@ function lp(e, t, r = {}) {
|
|
|
24855
24855
|
throw new Error("coordinates must be at least 2 numbers long");
|
|
24856
24856
|
if (!yd(e[0]) || !yd(e[1]))
|
|
24857
24857
|
throw new Error("coordinates must contain numbers");
|
|
24858
|
-
return
|
|
24858
|
+
return h3({
|
|
24859
24859
|
type: "Point",
|
|
24860
24860
|
coordinates: e
|
|
24861
24861
|
}, t, r);
|
|
@@ -24880,7 +24880,7 @@ function bw(e, t, r = {}) {
|
|
|
24880
24880
|
if (i[i.length - 1][o] !== i[0][o])
|
|
24881
24881
|
throw new Error("First and last Position are not equivalent.");
|
|
24882
24882
|
}
|
|
24883
|
-
return
|
|
24883
|
+
return h3({
|
|
24884
24884
|
type: "Polygon",
|
|
24885
24885
|
coordinates: e
|
|
24886
24886
|
}, t, r);
|
|
@@ -24896,7 +24896,7 @@ wn(mat, "polygons");
|
|
|
24896
24896
|
function Lw(e, t, r = {}) {
|
|
24897
24897
|
if (e.length < 2)
|
|
24898
24898
|
throw new Error("coordinates must be an array of two or more positions");
|
|
24899
|
-
return
|
|
24899
|
+
return h3({
|
|
24900
24900
|
type: "LineString",
|
|
24901
24901
|
coordinates: e
|
|
24902
24902
|
}, t, r);
|
|
@@ -24915,28 +24915,28 @@ function T7(e, t = {}) {
|
|
|
24915
24915
|
}
|
|
24916
24916
|
wn(T7, "featureCollection");
|
|
24917
24917
|
function KB(e, t, r = {}) {
|
|
24918
|
-
return
|
|
24918
|
+
return h3({
|
|
24919
24919
|
type: "MultiLineString",
|
|
24920
24920
|
coordinates: e
|
|
24921
24921
|
}, t, r);
|
|
24922
24922
|
}
|
|
24923
24923
|
wn(KB, "multiLineString");
|
|
24924
24924
|
function YB(e, t, r = {}) {
|
|
24925
|
-
return
|
|
24925
|
+
return h3({
|
|
24926
24926
|
type: "MultiPoint",
|
|
24927
24927
|
coordinates: e
|
|
24928
24928
|
}, t, r);
|
|
24929
24929
|
}
|
|
24930
24930
|
wn(YB, "multiPoint");
|
|
24931
24931
|
function JB(e, t, r = {}) {
|
|
24932
|
-
return
|
|
24932
|
+
return h3({
|
|
24933
24933
|
type: "MultiPolygon",
|
|
24934
24934
|
coordinates: e
|
|
24935
24935
|
}, t, r);
|
|
24936
24936
|
}
|
|
24937
24937
|
wn(JB, "multiPolygon");
|
|
24938
24938
|
function yat(e, t, r = {}) {
|
|
24939
|
-
return
|
|
24939
|
+
return h3({
|
|
24940
24940
|
type: "GeometryCollection",
|
|
24941
24941
|
geometries: e
|
|
24942
24942
|
}, t, r);
|
|
@@ -25157,7 +25157,7 @@ var Vat = Object.defineProperty, Rat = (e, t) => Vat(e, "name", { value: t, conf
|
|
|
25157
25157
|
function iF(e, t, r = {}) {
|
|
25158
25158
|
const { removeDuplicates: n = !0, ignoreSelfIntersections: i = !1 } = r;
|
|
25159
25159
|
let o = [];
|
|
25160
|
-
e.type === "FeatureCollection" ? o = o.concat(e.features) : e.type === "Feature" ? o.push(e) : (e.type === "LineString" || e.type === "Polygon" || e.type === "MultiLineString" || e.type === "MultiPolygon") && o.push(
|
|
25160
|
+
e.type === "FeatureCollection" ? o = o.concat(e.features) : e.type === "Feature" ? o.push(e) : (e.type === "LineString" || e.type === "Polygon" || e.type === "MultiLineString" || e.type === "MultiPolygon") && o.push(h3(e)), t.type === "FeatureCollection" ? o = o.concat(t.features) : t.type === "Feature" ? o.push(t) : (t.type === "LineString" || t.type === "Polygon" || t.type === "MultiLineString" || t.type === "MultiPolygon") && o.push(h3(t));
|
|
25161
25161
|
const a = kat(
|
|
25162
25162
|
T7(o),
|
|
25163
25163
|
i
|
|
@@ -25308,11 +25308,11 @@ var X2 = 63710088e-1, oF = {
|
|
|
25308
25308
|
millimetres: 1e6,
|
|
25309
25309
|
yards: 1.195990046
|
|
25310
25310
|
};
|
|
25311
|
-
function
|
|
25311
|
+
function f3(e, t, r = {}) {
|
|
25312
25312
|
const n = { type: "Feature" };
|
|
25313
25313
|
return (r.id === 0 || r.id) && (n.id = r.id), r.bbox && (n.bbox = r.bbox), n.properties = t || {}, n.geometry = e, n;
|
|
25314
25314
|
}
|
|
25315
|
-
An(
|
|
25315
|
+
An(f3, "feature");
|
|
25316
25316
|
function Nat(e, t, r = {}) {
|
|
25317
25317
|
switch (e) {
|
|
25318
25318
|
case "Point":
|
|
@@ -25341,7 +25341,7 @@ function Ho(e, t, r = {}) {
|
|
|
25341
25341
|
throw new Error("coordinates must be at least 2 numbers long");
|
|
25342
25342
|
if (!d7(e[0]) || !d7(e[1]))
|
|
25343
25343
|
throw new Error("coordinates must contain numbers");
|
|
25344
|
-
return
|
|
25344
|
+
return f3({
|
|
25345
25345
|
type: "Point",
|
|
25346
25346
|
coordinates: e
|
|
25347
25347
|
}, t, r);
|
|
@@ -25366,7 +25366,7 @@ function Aw(e, t, r = {}) {
|
|
|
25366
25366
|
if (i[i.length - 1][o] !== i[0][o])
|
|
25367
25367
|
throw new Error("First and last Position are not equivalent.");
|
|
25368
25368
|
}
|
|
25369
|
-
return
|
|
25369
|
+
return f3({
|
|
25370
25370
|
type: "Polygon",
|
|
25371
25371
|
coordinates: e
|
|
25372
25372
|
}, t, r);
|
|
@@ -25382,7 +25382,7 @@ An($at, "polygons");
|
|
|
25382
25382
|
function aa(e, t, r = {}) {
|
|
25383
25383
|
if (e.length < 2)
|
|
25384
25384
|
throw new Error("coordinates must be an array of two or more positions");
|
|
25385
|
-
return
|
|
25385
|
+
return f3({
|
|
25386
25386
|
type: "LineString",
|
|
25387
25387
|
coordinates: e
|
|
25388
25388
|
}, t, r);
|
|
@@ -25401,28 +25401,28 @@ function cp(e, t = {}) {
|
|
|
25401
25401
|
}
|
|
25402
25402
|
An(cp, "featureCollection");
|
|
25403
25403
|
function aF(e, t, r = {}) {
|
|
25404
|
-
return
|
|
25404
|
+
return f3({
|
|
25405
25405
|
type: "MultiLineString",
|
|
25406
25406
|
coordinates: e
|
|
25407
25407
|
}, t, r);
|
|
25408
25408
|
}
|
|
25409
25409
|
An(aF, "multiLineString");
|
|
25410
25410
|
function sF(e, t, r = {}) {
|
|
25411
|
-
return
|
|
25411
|
+
return f3({
|
|
25412
25412
|
type: "MultiPoint",
|
|
25413
25413
|
coordinates: e
|
|
25414
25414
|
}, t, r);
|
|
25415
25415
|
}
|
|
25416
25416
|
An(sF, "multiPoint");
|
|
25417
25417
|
function lF(e, t, r = {}) {
|
|
25418
|
-
return
|
|
25418
|
+
return f3({
|
|
25419
25419
|
type: "MultiPolygon",
|
|
25420
25420
|
coordinates: e
|
|
25421
25421
|
}, t, r);
|
|
25422
25422
|
}
|
|
25423
25423
|
An(lF, "multiPolygon");
|
|
25424
25424
|
function Uat(e, t, r = {}) {
|
|
25425
|
-
return
|
|
25425
|
+
return f3({
|
|
25426
25426
|
type: "GeometryCollection",
|
|
25427
25427
|
geometries: e
|
|
25428
25428
|
}, t, r);
|
|
@@ -25739,7 +25739,7 @@ function B9(e, t) {
|
|
|
25739
25739
|
case "LineString":
|
|
25740
25740
|
case "Polygon":
|
|
25741
25741
|
return t(
|
|
25742
|
-
|
|
25742
|
+
f3(r, i, { bbox: o, id: a }),
|
|
25743
25743
|
n,
|
|
25744
25744
|
0
|
|
25745
25745
|
) === !1 ? !1 : void 0;
|
|
@@ -25761,7 +25761,7 @@ function B9(e, t) {
|
|
|
25761
25761
|
type: h,
|
|
25762
25762
|
coordinates: Q
|
|
25763
25763
|
};
|
|
25764
|
-
if (t(
|
|
25764
|
+
if (t(f3(p, i), n, T) === !1)
|
|
25765
25765
|
return !1;
|
|
25766
25766
|
}
|
|
25767
25767
|
});
|
|
@@ -26445,7 +26445,7 @@ Bn = new WeakMap(), yl = new WeakSet(), OT = function(t) {
|
|
|
26445
26445
|
}
|
|
26446
26446
|
return !0;
|
|
26447
26447
|
};
|
|
26448
|
-
var P3t = { grad: 0.9, turn: 360, rad: 360 / (2 * Math.PI) },
|
|
26448
|
+
var P3t = { grad: 0.9, turn: 360, rad: 360 / (2 * Math.PI) }, j3 = function(e) {
|
|
26449
26449
|
return typeof e == "string" ? e.length > 0 : typeof e == "number";
|
|
26450
26450
|
}, li = function(e, t, r) {
|
|
26451
26451
|
return t === void 0 && (t = 0), r === void 0 && (r = Math.pow(10, t)), Math.round(r * e) / r + 0;
|
|
@@ -26492,16 +26492,16 @@ var P3t = { grad: 0.9, turn: 360, rad: 360 / (2 * Math.PI) }, N3 = function(e) {
|
|
|
26492
26492
|
return hO(i);
|
|
26493
26493
|
}, "hsl"]], object: [[function(e) {
|
|
26494
26494
|
var t = e.r, r = e.g, n = e.b, i = e.a, o = i === void 0 ? 1 : i;
|
|
26495
|
-
return
|
|
26495
|
+
return j3(t) && j3(r) && j3(n) ? lO({ r: Number(t), g: Number(r), b: Number(n), a: Number(o) }) : null;
|
|
26496
26496
|
}, "rgb"], [function(e) {
|
|
26497
26497
|
var t = e.h, r = e.s, n = e.l, i = e.a, o = i === void 0 ? 1 : i;
|
|
26498
|
-
if (!
|
|
26498
|
+
if (!j3(t) || !j3(r) || !j3(n))
|
|
26499
26499
|
return null;
|
|
26500
26500
|
var a = cO({ h: Number(t), s: Number(r), l: Number(n), a: Number(o) });
|
|
26501
26501
|
return hO(a);
|
|
26502
26502
|
}, "hsl"], [function(e) {
|
|
26503
26503
|
var t = e.h, r = e.s, n = e.v, i = e.a, o = i === void 0 ? 1 : i;
|
|
26504
|
-
if (!
|
|
26504
|
+
if (!j3(t) || !j3(r) || !j3(n))
|
|
26505
26505
|
return null;
|
|
26506
26506
|
var a = function(s) {
|
|
26507
26507
|
return { h: xF(s.h), s: Oo(s.s, 0, 100), v: Oo(s.v, 0, 100), a: Oo(s.a) };
|
|
@@ -26672,7 +26672,7 @@ function $3t(e, t = 255) {
|
|
|
26672
26672
|
return [r.r, r.g, r.b, t];
|
|
26673
26673
|
}
|
|
26674
26674
|
const z3t = ["NO-NERVES", "No associated nerves"];
|
|
26675
|
-
var Nu, xl, W6, bl, ju, Ll, Ua,
|
|
26675
|
+
var Nu, xl, W6, bl, ju, Ll, Ua, G3, So, q6, Jo, Za, X3, wl, G6, K3, Wa, y4, _Q, AF, Co, za, LL, Z3t, Al, El, $u, qx;
|
|
26676
26676
|
class U3t {
|
|
26677
26677
|
constructor(t, r) {
|
|
26678
26678
|
Rt(this, _Q);
|
|
@@ -26688,16 +26688,16 @@ class U3t {
|
|
|
26688
26688
|
Rt(this, ju, void 0);
|
|
26689
26689
|
Rt(this, Ll, !0);
|
|
26690
26690
|
Rt(this, Ua, void 0);
|
|
26691
|
-
Rt(this,
|
|
26691
|
+
Rt(this, G3, /* @__PURE__ */ new Map());
|
|
26692
26692
|
Rt(this, So, void 0);
|
|
26693
26693
|
Rt(this, q6, /* @__PURE__ */ new Map());
|
|
26694
26694
|
// pathId: [lineIds]
|
|
26695
26695
|
Rt(this, Jo, void 0);
|
|
26696
26696
|
Rt(this, Za, void 0);
|
|
26697
|
-
Rt(this,
|
|
26697
|
+
Rt(this, X3, void 0);
|
|
26698
26698
|
Rt(this, wl, void 0);
|
|
26699
26699
|
Rt(this, G6, void 0);
|
|
26700
|
-
Rt(this,
|
|
26700
|
+
Rt(this, K3, void 0);
|
|
26701
26701
|
Rt(this, Wa, void 0);
|
|
26702
26702
|
Rt(this, y4, void 0);
|
|
26703
26703
|
//==========================================================================
|
|
@@ -26709,18 +26709,18 @@ class U3t {
|
|
|
26709
26709
|
for (const T of h.paths)
|
|
26710
26710
|
K(this, G6)[T] = h.id;
|
|
26711
26711
|
}
|
|
26712
|
-
qt(this, Jo, {}), qt(this,
|
|
26712
|
+
qt(this, Jo, {}), qt(this, K3, {}), qt(this, Za, {});
|
|
26713
26713
|
const n = /* @__PURE__ */ new Map();
|
|
26714
26714
|
if (t.pathways.paths, "paths" in t.pathways)
|
|
26715
26715
|
for (const [h, T] of Object.entries(t.pathways.paths)) {
|
|
26716
26716
|
if (K(this, q6).set(h, T.lines), n.set(h, T.nerves), K(this, Za)[h] = T, K(this, Za)[h].systemCount = 0, "models" in T) {
|
|
26717
26717
|
const Q = T.models;
|
|
26718
|
-
Q in K(this, Jo) || (K(this, Jo)[Q] = []), K(this, Jo)[Q].push(h), K(this,
|
|
26718
|
+
Q in K(this, Jo) || (K(this, Jo)[Q] = []), K(this, Jo)[Q].push(h), K(this, K3)[h] = Q;
|
|
26719
26719
|
}
|
|
26720
26720
|
for (const Q of T.centrelines || [])
|
|
26721
|
-
K(this,
|
|
26721
|
+
K(this, G3).has(Q) || K(this, G3).set(Q, /* @__PURE__ */ new Set()), K(this, G3).get(Q).add(h);
|
|
26722
26722
|
}
|
|
26723
|
-
qt(this,
|
|
26723
|
+
qt(this, X3, mO(K(this, q6))), qt(this, wl, mO(n));
|
|
26724
26724
|
const o = t.pathways["node-paths"];
|
|
26725
26725
|
qt(this, Ua, o);
|
|
26726
26726
|
const a = /* @__PURE__ */ new Set();
|
|
@@ -26736,7 +26736,7 @@ class U3t {
|
|
|
26736
26736
|
if (h in s ? K(this, So)[h] = T : (K(this, So).other.push(...T), K(this, Wa)[h] = !1), h === "centreline")
|
|
26737
26737
|
for (const Q of T) {
|
|
26738
26738
|
const p = t.annotationById(Q);
|
|
26739
|
-
(t.options.style === c2.CENTRELINE || K(this,
|
|
26739
|
+
(t.options.style === c2.CENTRELINE || K(this, G3).has(Q)) && p && "models" in p && K(this, xl).set(p.models, p.label || p.models);
|
|
26740
26740
|
}
|
|
26741
26741
|
te(this, _Q, AF).call(this), t.options.style === c2.CENTRELINE ? qt(this, bl, !0) : qt(this, Ll, K(this, xl).size > 0);
|
|
26742
26742
|
}
|
|
@@ -26782,7 +26782,7 @@ class U3t {
|
|
|
26782
26782
|
lineFeatureIds(t) {
|
|
26783
26783
|
const r = /* @__PURE__ */ new Set();
|
|
26784
26784
|
for (const n of t)
|
|
26785
|
-
K(this,
|
|
26785
|
+
K(this, X3).has(n) && te(this, Co, za).call(this, K(this, X3).get(n), r);
|
|
26786
26786
|
return r;
|
|
26787
26787
|
}
|
|
26788
26788
|
nerveFeatureIds(t) {
|
|
@@ -26791,9 +26791,9 @@ class U3t {
|
|
|
26791
26791
|
}
|
|
26792
26792
|
pathProperties(t) {
|
|
26793
26793
|
const r = Object.assign({}, t.properties);
|
|
26794
|
-
if (K(this,
|
|
26795
|
-
for (const n of K(this,
|
|
26796
|
-
n in K(this, G6) && (r.connectivity = K(this, G6)[n]), n in K(this,
|
|
26794
|
+
if (K(this, X3).has(t.id))
|
|
26795
|
+
for (const n of K(this, X3).get(t.id))
|
|
26796
|
+
n in K(this, G6) && (r.connectivity = K(this, G6)[n]), n in K(this, K3) && (r.models = K(this, K3)[n]);
|
|
26797
26797
|
return r;
|
|
26798
26798
|
}
|
|
26799
26799
|
connectivityModelFeatureIds(t) {
|
|
@@ -26812,16 +26812,16 @@ class U3t {
|
|
|
26812
26812
|
return t in K(this, Ua) && te(this, Co, za).call(this, K(this, Ua)[t], r), r;
|
|
26813
26813
|
}
|
|
26814
26814
|
enablePathLines(t, r = !1) {
|
|
26815
|
-
for (const n of K(this,
|
|
26815
|
+
for (const n of K(this, X3).keys())
|
|
26816
26816
|
K(this, y4).enableFeature(n, t, r);
|
|
26817
26817
|
}
|
|
26818
26818
|
enablePathsByCentreline(t, r, n = !1) {
|
|
26819
|
-
if (K(this,
|
|
26819
|
+
if (K(this, G3).has(t)) {
|
|
26820
26820
|
if (K(this, q6).has(t))
|
|
26821
26821
|
for (const o of K(this, q6).get(t))
|
|
26822
26822
|
K(this, y4).enableFeature(o, r, n);
|
|
26823
26823
|
const i = /* @__PURE__ */ new Set();
|
|
26824
|
-
te(this, Co, za).call(this, K(this,
|
|
26824
|
+
te(this, Co, za).call(this, K(this, G3).get(t), i);
|
|
26825
26825
|
for (const o of i)
|
|
26826
26826
|
K(this, y4).enableFeature(o, r, n);
|
|
26827
26827
|
te(this, $u, qx).call(this);
|
|
@@ -26849,7 +26849,7 @@ class U3t {
|
|
|
26849
26849
|
const r = /* @__PURE__ */ new Set();
|
|
26850
26850
|
if (t in K(this, Ua))
|
|
26851
26851
|
for (const n of K(this, Ua)[t])
|
|
26852
|
-
n in K(this,
|
|
26852
|
+
n in K(this, K3) && r.add(K(this, K3)[n]);
|
|
26853
26853
|
return r;
|
|
26854
26854
|
}
|
|
26855
26855
|
pathModelNodes(t) {
|
|
@@ -26867,7 +26867,7 @@ class U3t {
|
|
|
26867
26867
|
K(this, El).delete(t);
|
|
26868
26868
|
}
|
|
26869
26869
|
}
|
|
26870
|
-
Nu = new WeakMap(), xl = new WeakMap(), W6 = new WeakMap(), bl = new WeakMap(), ju = new WeakMap(), Ll = new WeakMap(), Ua = new WeakMap(),
|
|
26870
|
+
Nu = new WeakMap(), xl = new WeakMap(), W6 = new WeakMap(), bl = new WeakMap(), ju = new WeakMap(), Ll = new WeakMap(), Ua = new WeakMap(), G3 = new WeakMap(), So = new WeakMap(), q6 = new WeakMap(), Jo = new WeakMap(), Za = new WeakMap(), X3 = new WeakMap(), wl = new WeakMap(), G6 = new WeakMap(), K3 = new WeakMap(), Wa = new WeakMap(), y4 = new WeakMap(), _Q = new WeakSet(), AF = function() {
|
|
26871
26871
|
for (const [t, r] of Object.entries(K(this, So)))
|
|
26872
26872
|
for (const n of r)
|
|
26873
26873
|
K(this, Za)[n].pathType = t;
|
|
@@ -27338,36 +27338,36 @@ function DF(e, t, r, n) {
|
|
|
27338
27338
|
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e);
|
|
27339
27339
|
}
|
|
27340
27340
|
var tst = Hw.exports;
|
|
27341
|
-
function
|
|
27341
|
+
function T3(e) {
|
|
27342
27342
|
if (typeof e != "function")
|
|
27343
27343
|
throw new Error("obliterator/iterator: expecting a function!");
|
|
27344
27344
|
this.next = e;
|
|
27345
27345
|
}
|
|
27346
|
-
typeof Symbol < "u" && (
|
|
27346
|
+
typeof Symbol < "u" && (T3.prototype[Symbol.iterator] = function() {
|
|
27347
27347
|
return this;
|
|
27348
27348
|
});
|
|
27349
|
-
|
|
27349
|
+
T3.of = function() {
|
|
27350
27350
|
var e = arguments, t = e.length, r = 0;
|
|
27351
|
-
return new
|
|
27351
|
+
return new T3(function() {
|
|
27352
27352
|
return r >= t ? { done: !0 } : { done: !1, value: e[r++] };
|
|
27353
27353
|
});
|
|
27354
27354
|
};
|
|
27355
|
-
|
|
27356
|
-
var e = new
|
|
27355
|
+
T3.empty = function() {
|
|
27356
|
+
var e = new T3(function() {
|
|
27357
27357
|
return { done: !0 };
|
|
27358
27358
|
});
|
|
27359
27359
|
return e;
|
|
27360
27360
|
};
|
|
27361
|
-
|
|
27361
|
+
T3.fromSequence = function(e) {
|
|
27362
27362
|
var t = 0, r = e.length;
|
|
27363
|
-
return new
|
|
27363
|
+
return new T3(function() {
|
|
27364
27364
|
return t >= r ? { done: !0 } : { done: !1, value: e[t++] };
|
|
27365
27365
|
});
|
|
27366
27366
|
};
|
|
27367
|
-
|
|
27368
|
-
return e instanceof
|
|
27367
|
+
T3.is = function(e) {
|
|
27368
|
+
return e instanceof T3 ? !0 : typeof e == "object" && e !== null && typeof e.next == "function";
|
|
27369
27369
|
};
|
|
27370
|
-
var fp =
|
|
27370
|
+
var fp = T3;
|
|
27371
27371
|
const Vo = /* @__PURE__ */ W4(fp);
|
|
27372
27372
|
var Tp = {};
|
|
27373
27373
|
Tp.ARRAY_BUFFER_SUPPORT = typeof ArrayBuffer < "u";
|
|
@@ -31256,7 +31256,7 @@ j9.isArrayLike = P4t;
|
|
|
31256
31256
|
j9.guessLength = Bw;
|
|
31257
31257
|
j9.toArray = D4t;
|
|
31258
31258
|
j9.toArrayWithIndices = I4t;
|
|
31259
|
-
var xd = Vw, oN = N9,
|
|
31259
|
+
var xd = Vw, oN = N9, a3 = j9, pp = oN.DEFAULT_COMPARATOR, Fw = oN.reverseComparator;
|
|
31260
31260
|
function Nw(e, t, r, n) {
|
|
31261
31261
|
for (var i = t[n], o, a; n > r; ) {
|
|
31262
31262
|
if (o = n - 1 >> 1, a = t[o], e(i, a) < 0) {
|
|
@@ -31306,7 +31306,7 @@ function V4t(e, t, r) {
|
|
|
31306
31306
|
arguments.length === 2 && (r = t, t = e, e = pp);
|
|
31307
31307
|
var n = Fw(e), i, o, a, s = 1 / 0, h;
|
|
31308
31308
|
if (t === 1) {
|
|
31309
|
-
if (
|
|
31309
|
+
if (a3.isArrayLike(r)) {
|
|
31310
31310
|
for (i = 0, o = r.length; i < o; i++)
|
|
31311
31311
|
a = r[i], (s === 1 / 0 || e(a, s) < 0) && (s = a);
|
|
31312
31312
|
return h = new r.constructor(1), h[0] = s, h;
|
|
@@ -31315,14 +31315,14 @@ function V4t(e, t, r) {
|
|
|
31315
31315
|
(s === 1 / 0 || e(Q, s) < 0) && (s = Q);
|
|
31316
31316
|
}), [s];
|
|
31317
31317
|
}
|
|
31318
|
-
if (
|
|
31318
|
+
if (a3.isArrayLike(r)) {
|
|
31319
31319
|
if (t >= r.length)
|
|
31320
31320
|
return r.slice().sort(e);
|
|
31321
31321
|
for (h = r.slice(0, t), A5(n, h), i = t, o = r.length; i < o; i++)
|
|
31322
31322
|
n(r[i], h[0]) > 0 && Q7(n, h, r[i]);
|
|
31323
31323
|
return h.sort(e);
|
|
31324
31324
|
}
|
|
31325
|
-
var T =
|
|
31325
|
+
var T = a3.guessLength(r);
|
|
31326
31326
|
return T !== null && T < t && (t = T), h = new Array(t), i = 0, xd(r, function(Q) {
|
|
31327
31327
|
i < t ? h[i] = Q : (i === t && A5(n, h), n(Q, h[0]) > 0 && Q7(n, h, Q)), i++;
|
|
31328
31328
|
}), h.length > i && (h.length = i), h.sort(e);
|
|
@@ -31331,7 +31331,7 @@ function R4t(e, t, r) {
|
|
|
31331
31331
|
arguments.length === 2 && (r = t, t = e, e = pp);
|
|
31332
31332
|
var n = Fw(e), i, o, a, s = -1 / 0, h;
|
|
31333
31333
|
if (t === 1) {
|
|
31334
|
-
if (
|
|
31334
|
+
if (a3.isArrayLike(r)) {
|
|
31335
31335
|
for (i = 0, o = r.length; i < o; i++)
|
|
31336
31336
|
a = r[i], (s === -1 / 0 || e(a, s) > 0) && (s = a);
|
|
31337
31337
|
return h = new r.constructor(1), h[0] = s, h;
|
|
@@ -31340,14 +31340,14 @@ function R4t(e, t, r) {
|
|
|
31340
31340
|
(s === -1 / 0 || e(Q, s) > 0) && (s = Q);
|
|
31341
31341
|
}), [s];
|
|
31342
31342
|
}
|
|
31343
|
-
if (
|
|
31343
|
+
if (a3.isArrayLike(r)) {
|
|
31344
31344
|
if (t >= r.length)
|
|
31345
31345
|
return r.slice().sort(n);
|
|
31346
31346
|
for (h = r.slice(0, t), A5(e, h), i = t, o = r.length; i < o; i++)
|
|
31347
31347
|
e(r[i], h[0]) > 0 && Q7(e, h, r[i]);
|
|
31348
31348
|
return h.sort(n);
|
|
31349
31349
|
}
|
|
31350
|
-
var T =
|
|
31350
|
+
var T = a3.guessLength(r);
|
|
31351
31351
|
return T !== null && T < t && (t = T), h = new Array(t), i = 0, xd(r, function(Q) {
|
|
31352
31352
|
i < t ? h[i] = Q : (i === t && A5(e, h), e(Q, h[0]) > 0 && Q7(e, h, Q)), i++;
|
|
31353
31353
|
}), h.length > i && (h.length = i), h.sort(n);
|
|
@@ -31396,11 +31396,11 @@ function bd(e) {
|
|
|
31396
31396
|
bd.prototype = bn.prototype;
|
|
31397
31397
|
bn.from = function(e, t) {
|
|
31398
31398
|
var r = new bn(t), n;
|
|
31399
|
-
return
|
|
31399
|
+
return a3.isArrayLike(e) ? n = e.slice() : n = a3.toArray(e), A5(r.comparator, n), r.items = n, r.size = n.length, r;
|
|
31400
31400
|
};
|
|
31401
31401
|
bd.from = function(e, t) {
|
|
31402
31402
|
var r = new bd(t), n;
|
|
31403
|
-
return
|
|
31403
|
+
return a3.isArrayLike(e) ? n = e.slice() : n = a3.toArray(e), A5(r.comparator, n), r.items = n, r.size = n.length, r;
|
|
31404
31404
|
};
|
|
31405
31405
|
bn.siftUp = $9;
|
|
31406
31406
|
bn.siftDown = Nw;
|
|
@@ -34403,7 +34403,7 @@ function P0t(e, t, r = 0) {
|
|
|
34403
34403
|
return !1;
|
|
34404
34404
|
return !0;
|
|
34405
34405
|
}
|
|
34406
|
-
const
|
|
34406
|
+
const r3 = !1, ou = !0;
|
|
34407
34407
|
function $N(e) {
|
|
34408
34408
|
const t = q9(e);
|
|
34409
34409
|
return I0t(t) || k0t(t) || V0t(t) || R0t(t) || D0t(t);
|
|
@@ -34419,15 +34419,15 @@ function D0t(e) {
|
|
|
34419
34419
|
}
|
|
34420
34420
|
function I0t(e) {
|
|
34421
34421
|
const t = q9(e);
|
|
34422
|
-
return t.byteLength >= 24 && t.getUint32(0,
|
|
34422
|
+
return t.byteLength >= 24 && t.getUint32(0, r3) === 2303741511 ? {
|
|
34423
34423
|
mimeType: "image/png",
|
|
34424
|
-
width: t.getUint32(16,
|
|
34425
|
-
height: t.getUint32(20,
|
|
34424
|
+
width: t.getUint32(16, r3),
|
|
34425
|
+
height: t.getUint32(20, r3)
|
|
34426
34426
|
} : null;
|
|
34427
34427
|
}
|
|
34428
34428
|
function V0t(e) {
|
|
34429
34429
|
const t = q9(e);
|
|
34430
|
-
return t.byteLength >= 10 && t.getUint32(0,
|
|
34430
|
+
return t.byteLength >= 10 && t.getUint32(0, r3) === 1195984440 ? {
|
|
34431
34431
|
mimeType: "image/gif",
|
|
34432
34432
|
width: t.getUint16(6, ou),
|
|
34433
34433
|
height: t.getUint16(8, ou)
|
|
@@ -34435,7 +34435,7 @@ function V0t(e) {
|
|
|
34435
34435
|
}
|
|
34436
34436
|
function R0t(e) {
|
|
34437
34437
|
const t = q9(e);
|
|
34438
|
-
return t.byteLength >= 14 && t.getUint16(0,
|
|
34438
|
+
return t.byteLength >= 14 && t.getUint16(0, r3) === 16973 && t.getUint32(2, ou) === t.byteLength ? {
|
|
34439
34439
|
mimeType: "image/bmp",
|
|
34440
34440
|
width: t.getUint32(18, ou),
|
|
34441
34441
|
height: t.getUint32(22, ou)
|
|
@@ -34443,23 +34443,23 @@ function R0t(e) {
|
|
|
34443
34443
|
}
|
|
34444
34444
|
function k0t(e) {
|
|
34445
34445
|
const t = q9(e);
|
|
34446
|
-
if (!(t.byteLength >= 3 && t.getUint16(0,
|
|
34446
|
+
if (!(t.byteLength >= 3 && t.getUint16(0, r3) === 65496 && t.getUint8(2) === 255))
|
|
34447
34447
|
return null;
|
|
34448
34448
|
const { tableMarkers: n, sofMarkers: i } = B0t();
|
|
34449
34449
|
let o = 2;
|
|
34450
34450
|
for (; o + 9 < t.byteLength; ) {
|
|
34451
|
-
const a = t.getUint16(o,
|
|
34451
|
+
const a = t.getUint16(o, r3);
|
|
34452
34452
|
if (i.has(a))
|
|
34453
34453
|
return {
|
|
34454
34454
|
mimeType: "image/jpeg",
|
|
34455
|
-
height: t.getUint16(o + 5,
|
|
34455
|
+
height: t.getUint16(o + 5, r3),
|
|
34456
34456
|
// Number of lines
|
|
34457
|
-
width: t.getUint16(o + 7,
|
|
34457
|
+
width: t.getUint16(o + 7, r3)
|
|
34458
34458
|
// Number of pixels per line
|
|
34459
34459
|
};
|
|
34460
34460
|
if (!n.has(a))
|
|
34461
34461
|
return null;
|
|
34462
|
-
o += 2, o += t.getUint16(o,
|
|
34462
|
+
o += 2, o += t.getUint16(o, r3);
|
|
34463
34463
|
}
|
|
34464
34464
|
return null;
|
|
34465
34465
|
}
|
|
@@ -36049,9 +36049,9 @@ function rP(e, t, r) {
|
|
|
36049
36049
|
function nP(e, t, r, n) {
|
|
36050
36050
|
return n ? Math.max(0, r - 1 - Math.round(e * t)) : Math.min(Math.round(e * t), r - 1);
|
|
36051
36051
|
}
|
|
36052
|
-
const
|
|
36052
|
+
const W3 = class W3 extends $n {
|
|
36053
36053
|
/** Do not use directly. Create with device.createTexture() */
|
|
36054
|
-
constructor(r, n, i =
|
|
36054
|
+
constructor(r, n, i = W3.defaultProps) {
|
|
36055
36055
|
super(r, n, i);
|
|
36056
36056
|
/** dimension of this texture */
|
|
36057
36057
|
ut(this, "dimension");
|
|
@@ -36071,7 +36071,7 @@ const Z3 = class Z3 extends $n {
|
|
|
36071
36071
|
return "Texture";
|
|
36072
36072
|
}
|
|
36073
36073
|
};
|
|
36074
|
-
ut(
|
|
36074
|
+
ut(W3, "defaultProps", {
|
|
36075
36075
|
...$n.defaultProps,
|
|
36076
36076
|
data: null,
|
|
36077
36077
|
dimension: "2d",
|
|
@@ -36090,8 +36090,8 @@ ut(Z3, "defaultProps", {
|
|
|
36090
36090
|
type: void 0,
|
|
36091
36091
|
sampler: {},
|
|
36092
36092
|
view: void 0
|
|
36093
|
-
}), ut(
|
|
36094
|
-
let Po =
|
|
36093
|
+
}), ut(W3, "COPY_SRC", 1), ut(W3, "COPY_DST", 2), ut(W3, "TEXTURE_BINDING", 4), ut(W3, "STORAGE_BINDING", 8), ut(W3, "RENDER_ATTACHMENT", 16);
|
|
36094
|
+
let Po = W3;
|
|
36095
36095
|
const bQ = class bQ extends $n {
|
|
36096
36096
|
get [Symbol.toStringTag]() {
|
|
36097
36097
|
return "TextureView";
|
|
@@ -37401,12 +37401,12 @@ class $c extends U5 {
|
|
|
37401
37401
|
return "sampler";
|
|
37402
37402
|
}
|
|
37403
37403
|
}
|
|
37404
|
-
class
|
|
37404
|
+
class x3 extends z5 {
|
|
37405
37405
|
constructor() {
|
|
37406
37406
|
super();
|
|
37407
37407
|
}
|
|
37408
37408
|
}
|
|
37409
|
-
class lP extends
|
|
37409
|
+
class lP extends x3 {
|
|
37410
37410
|
constructor(t) {
|
|
37411
37411
|
super(), this.value = t;
|
|
37412
37412
|
}
|
|
@@ -37420,7 +37420,7 @@ class lP extends v3 {
|
|
|
37420
37420
|
return this.value;
|
|
37421
37421
|
}
|
|
37422
37422
|
}
|
|
37423
|
-
class zc extends
|
|
37423
|
+
class zc extends x3 {
|
|
37424
37424
|
constructor(t, r) {
|
|
37425
37425
|
super(), this.type = t, this.args = r;
|
|
37426
37426
|
}
|
|
@@ -37428,7 +37428,7 @@ class zc extends v3 {
|
|
|
37428
37428
|
return "createExpr";
|
|
37429
37429
|
}
|
|
37430
37430
|
}
|
|
37431
|
-
class q7t extends
|
|
37431
|
+
class q7t extends x3 {
|
|
37432
37432
|
constructor(t, r) {
|
|
37433
37433
|
super(), this.name = t, this.args = r;
|
|
37434
37434
|
}
|
|
@@ -37519,7 +37519,7 @@ class q7t extends v3 {
|
|
|
37519
37519
|
}
|
|
37520
37520
|
}
|
|
37521
37521
|
}
|
|
37522
|
-
class G7t extends
|
|
37522
|
+
class G7t extends x3 {
|
|
37523
37523
|
constructor(t) {
|
|
37524
37524
|
super(), this.name = t;
|
|
37525
37525
|
}
|
|
@@ -37527,7 +37527,7 @@ class G7t extends v3 {
|
|
|
37527
37527
|
return "varExpr";
|
|
37528
37528
|
}
|
|
37529
37529
|
}
|
|
37530
|
-
class cP extends
|
|
37530
|
+
class cP extends x3 {
|
|
37531
37531
|
constructor(t, r) {
|
|
37532
37532
|
super(), this.name = t, this.initializer = r;
|
|
37533
37533
|
}
|
|
@@ -37545,7 +37545,7 @@ class cP extends v3 {
|
|
|
37545
37545
|
return this.initializer.evaluate(t);
|
|
37546
37546
|
}
|
|
37547
37547
|
}
|
|
37548
|
-
class uP extends
|
|
37548
|
+
class uP extends x3 {
|
|
37549
37549
|
constructor(t) {
|
|
37550
37550
|
super(), this.value = t;
|
|
37551
37551
|
}
|
|
@@ -37556,7 +37556,7 @@ class uP extends v3 {
|
|
|
37556
37556
|
return this.value;
|
|
37557
37557
|
}
|
|
37558
37558
|
}
|
|
37559
|
-
class X7t extends
|
|
37559
|
+
class X7t extends x3 {
|
|
37560
37560
|
constructor(t, r) {
|
|
37561
37561
|
super(), this.type = t, this.value = r;
|
|
37562
37562
|
}
|
|
@@ -37564,7 +37564,7 @@ class X7t extends v3 {
|
|
|
37564
37564
|
return "bitcastExpr";
|
|
37565
37565
|
}
|
|
37566
37566
|
}
|
|
37567
|
-
class K7t extends
|
|
37567
|
+
class K7t extends x3 {
|
|
37568
37568
|
constructor(t, r) {
|
|
37569
37569
|
super(), this.type = t, this.args = r;
|
|
37570
37570
|
}
|
|
@@ -37575,7 +37575,7 @@ class K7t extends v3 {
|
|
|
37575
37575
|
return this.args[0].evaluate(t);
|
|
37576
37576
|
}
|
|
37577
37577
|
}
|
|
37578
|
-
class hP extends
|
|
37578
|
+
class hP extends x3 {
|
|
37579
37579
|
constructor(t) {
|
|
37580
37580
|
super(), this.contents = t;
|
|
37581
37581
|
}
|
|
@@ -37586,7 +37586,7 @@ class hP extends v3 {
|
|
|
37586
37586
|
return this.contents[0].evaluate(t);
|
|
37587
37587
|
}
|
|
37588
37588
|
}
|
|
37589
|
-
class hj extends
|
|
37589
|
+
class hj extends x3 {
|
|
37590
37590
|
constructor() {
|
|
37591
37591
|
super();
|
|
37592
37592
|
}
|
|
@@ -40281,9 +40281,9 @@ const q8t = k8t;
|
|
|
40281
40281
|
})();
|
|
40282
40282
|
const G_ = [0, 0, 0];
|
|
40283
40283
|
let Pf;
|
|
40284
|
-
class
|
|
40284
|
+
class d3 extends H8t {
|
|
40285
40285
|
static get ZERO() {
|
|
40286
|
-
return Pf || (Pf = new
|
|
40286
|
+
return Pf || (Pf = new d3(0, 0, 0), Object.freeze(Pf)), Pf;
|
|
40287
40287
|
}
|
|
40288
40288
|
/**
|
|
40289
40289
|
* @class
|
|
@@ -40508,7 +40508,7 @@ var db;
|
|
|
40508
40508
|
e[e.COL0ROW0 = 0] = "COL0ROW0", e[e.COL0ROW1 = 1] = "COL0ROW1", e[e.COL0ROW2 = 2] = "COL0ROW2", e[e.COL0ROW3 = 3] = "COL0ROW3", e[e.COL1ROW0 = 4] = "COL1ROW0", e[e.COL1ROW1 = 5] = "COL1ROW1", e[e.COL1ROW2 = 6] = "COL1ROW2", e[e.COL1ROW3 = 7] = "COL1ROW3", e[e.COL2ROW0 = 8] = "COL2ROW0", e[e.COL2ROW1 = 9] = "COL2ROW1", e[e.COL2ROW2 = 10] = "COL2ROW2", e[e.COL2ROW3 = 11] = "COL2ROW3", e[e.COL3ROW0 = 12] = "COL3ROW0", e[e.COL3ROW1 = 13] = "COL3ROW1", e[e.COL3ROW2 = 14] = "COL3ROW2", e[e.COL3ROW3 = 15] = "COL3ROW3";
|
|
40509
40509
|
})(db || (db = {}));
|
|
40510
40510
|
const uct = 45 * Math.PI / 180, hct = 1, X_ = 0.1, K_ = 500, fct = Object.freeze([1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]);
|
|
40511
|
-
class
|
|
40511
|
+
class Q3 extends G8t {
|
|
40512
40512
|
static get IDENTITY() {
|
|
40513
40513
|
return dct();
|
|
40514
40514
|
}
|
|
@@ -40819,10 +40819,10 @@ class d3 extends G8t {
|
|
|
40819
40819
|
}
|
|
40820
40820
|
let Df, If;
|
|
40821
40821
|
function Tct() {
|
|
40822
|
-
return Df || (Df = new
|
|
40822
|
+
return Df || (Df = new Q3([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), Object.freeze(Df)), Df;
|
|
40823
40823
|
}
|
|
40824
40824
|
function dct() {
|
|
40825
|
-
return If || (If = new
|
|
40825
|
+
return If || (If = new Q3(), Object.freeze(If)), If;
|
|
40826
40826
|
}
|
|
40827
40827
|
function vP(e) {
|
|
40828
40828
|
if (e > Math.PI * 2)
|
|
@@ -40890,7 +40890,7 @@ float smoothedge(float edge, float x) {
|
|
|
40890
40890
|
Object.defineProperty(xn, "IDENTITY", {
|
|
40891
40891
|
get: () => (Fn.deprecated("COORDINATE_SYSTEM.IDENTITY", "COORDINATE_SYSTEM.CARTESIAN")(), 0)
|
|
40892
40892
|
});
|
|
40893
|
-
const
|
|
40893
|
+
const n3 = {
|
|
40894
40894
|
/**
|
|
40895
40895
|
* Render geospatial data in Web Mercator projection
|
|
40896
40896
|
*/
|
|
@@ -40916,7 +40916,7 @@ const r3 = {
|
|
|
40916
40916
|
panstart: { handler: "onDragStart" },
|
|
40917
40917
|
panmove: { handler: "onDrag" },
|
|
40918
40918
|
panend: { handler: "onDragEnd" }
|
|
40919
|
-
}, yct = Object.keys(xn).map((e) => `const int COORDINATE_SYSTEM_${e} = ${xn[e]};`).join(""), _ct = Object.keys(
|
|
40919
|
+
}, yct = Object.keys(xn).map((e) => `const int COORDINATE_SYSTEM_${e} = ${xn[e]};`).join(""), _ct = Object.keys(n3).map((e) => `const int PROJECTION_MODE_${e} = ${n3[e]};`).join(""), vct = Object.keys(Qb).map((e) => `const int UNIT_${e.toUpperCase()} = ${Qb[e]};`).join(""), xct = `${yct}
|
|
40920
40920
|
${_ct}
|
|
40921
40921
|
${vct}
|
|
40922
40922
|
uniform int project_uCoordinateSystem;
|
|
@@ -41139,20 +41139,20 @@ function bj(e, t, r = xj) {
|
|
|
41139
41139
|
// @ts-expect-error longitude and latitude are not defined on the base Viewport, but is expected on geospatial viewports
|
|
41140
41140
|
[Math.fround(e.longitude), Math.fround(e.latitude), 0]
|
|
41141
41141
|
) : null, e.projectionMode) {
|
|
41142
|
-
case
|
|
41142
|
+
case n3.WEB_MERCATOR:
|
|
41143
41143
|
(t === xn.LNGLAT || t === xn.CARTESIAN) && (i = [0, 0, 0], o = !1);
|
|
41144
41144
|
break;
|
|
41145
|
-
case
|
|
41145
|
+
case n3.WEB_MERCATOR_AUTO_OFFSET:
|
|
41146
41146
|
t === xn.LNGLAT ? n = i : t === xn.CARTESIAN && (n = [
|
|
41147
41147
|
Math.fround(e.center[0]),
|
|
41148
41148
|
Math.fround(e.center[1]),
|
|
41149
41149
|
0
|
|
41150
41150
|
], i = e.unprojectPosition(n), n[0] -= r[0], n[1] -= r[1], n[2] -= r[2]);
|
|
41151
41151
|
break;
|
|
41152
|
-
case
|
|
41152
|
+
case n3.IDENTITY:
|
|
41153
41153
|
n = e.position.map(Math.fround), n[2] = n[2] || 0;
|
|
41154
41154
|
break;
|
|
41155
|
-
case
|
|
41155
|
+
case n3.GLOBE:
|
|
41156
41156
|
o = !1, i = null;
|
|
41157
41157
|
break;
|
|
41158
41158
|
default:
|
|
@@ -41539,7 +41539,7 @@ function Kct(e, t) {
|
|
|
41539
41539
|
return Number.isFinite(i) ? o : [o[0], o[1], 0];
|
|
41540
41540
|
}
|
|
41541
41541
|
function Yct({ viewport: e, center: t }) {
|
|
41542
|
-
return new
|
|
41542
|
+
return new Q3(e.viewProjectionMatrix).invert().transform(t);
|
|
41543
41543
|
}
|
|
41544
41544
|
function Jct({ viewport: e, shadowMatrices: t }) {
|
|
41545
41545
|
const r = [], n = e.pixelUnprojectionMatrix, i = e.isGeospatial ? void 0 : 1, o = [
|
|
@@ -41564,7 +41564,7 @@ function Jct({ viewport: e, shadowMatrices: t }) {
|
|
|
41564
41564
|
Kct(a, n)
|
|
41565
41565
|
));
|
|
41566
41566
|
for (const a of t) {
|
|
41567
|
-
const s = a.clone().translate(new
|
|
41567
|
+
const s = a.clone().translate(new d3(e.center).negate()), h = o.map((Q) => s.transform(Q)), T = new Q3().ortho({
|
|
41568
41568
|
left: Math.min(...h.map((Q) => Q[0])),
|
|
41569
41569
|
right: Math.max(...h.map((Q) => Q[0])),
|
|
41570
41570
|
bottom: Math.min(...h.map((Q) => Q[1])),
|
|
@@ -41599,8 +41599,8 @@ function tut(e, t) {
|
|
|
41599
41599
|
viewport: e.viewport
|
|
41600
41600
|
}).slice();
|
|
41601
41601
|
for (let s = 0; s < e.shadowMatrices.length; s++) {
|
|
41602
|
-
const h = a[s], T = h.clone().translate(new
|
|
41603
|
-
t.project_uCoordinateSystem === xn.LNGLAT && t.project_uProjectionMode ===
|
|
41602
|
+
const h = a[s], T = h.clone().translate(new d3(e.viewport.center).negate());
|
|
41603
|
+
t.project_uCoordinateSystem === xn.LNGLAT && t.project_uProjectionMode === n3.WEB_MERCATOR ? (a[s] = T, o[s] = i) : (a[s] = h.clone().multiplyRight(Xct), o[s] = T.transform(i));
|
|
41604
41604
|
}
|
|
41605
41605
|
for (let s = 0; s < a.length; s++)
|
|
41606
41606
|
n[`shadow_uViewProjectionMatrices[${s}]`] = a[s], n[`shadow_uProjectCenters[${s}]`] = o[s];
|
|
@@ -41673,7 +41673,7 @@ class MP {
|
|
|
41673
41673
|
constructor(t = {}) {
|
|
41674
41674
|
this.type = "directional";
|
|
41675
41675
|
const { color: r = cut } = t, { intensity: n = uut } = t, { direction: i = hut } = t, { _shadow: o = !1 } = t;
|
|
41676
|
-
this.id = t.id || `directional-${fut++}`, this.color = r, this.intensity = n, this.type = "directional", this.direction = new
|
|
41676
|
+
this.id = t.id || `directional-${fut++}`, this.color = r, this.intensity = n, this.type = "directional", this.direction = new d3(i).normalize().toArray(), this.shadow = o;
|
|
41677
41677
|
}
|
|
41678
41678
|
getProjectedLight(t) {
|
|
41679
41679
|
return this;
|
|
@@ -42004,8 +42004,8 @@ class Sj {
|
|
|
42004
42004
|
_calculateMatrices() {
|
|
42005
42005
|
const t = [];
|
|
42006
42006
|
for (const r of this.directionalLights) {
|
|
42007
|
-
const n = new
|
|
42008
|
-
eye: new
|
|
42007
|
+
const n = new Q3().lookAt({
|
|
42008
|
+
eye: new d3(r.direction).negate()
|
|
42009
42009
|
});
|
|
42010
42010
|
t.push(n);
|
|
42011
42011
|
}
|
|
@@ -42079,11 +42079,11 @@ function _ut(e) {
|
|
|
42079
42079
|
far: P0(e[3] - e[2], e[7] - e[6], e[11] - e[10], e[15] - e[14])
|
|
42080
42080
|
};
|
|
42081
42081
|
}
|
|
42082
|
-
const CP = new
|
|
42082
|
+
const CP = new d3();
|
|
42083
42083
|
function P0(e, t, r, n) {
|
|
42084
42084
|
CP.set(e, t, r);
|
|
42085
42085
|
const i = CP.len();
|
|
42086
|
-
return { distance: n / i, normal: new
|
|
42086
|
+
return { distance: n / i, normal: new d3(-e / i, -t / i, -r / i) };
|
|
42087
42087
|
}
|
|
42088
42088
|
function vut(e) {
|
|
42089
42089
|
return e - Math.fround(e);
|
|
@@ -42119,7 +42119,7 @@ const but = Math.PI / 180, Lut = Uc(), HP = [0, 0, 0], wut = {
|
|
|
42119
42119
|
metersPerUnit: [1, 1, 1]
|
|
42120
42120
|
};
|
|
42121
42121
|
function Aut({ width: e, height: t, orthographic: r, fovyRadians: n, focalDistance: i, padding: o, near: a, far: s }) {
|
|
42122
|
-
const h = e / t, T = r ? new
|
|
42122
|
+
const h = e / t, T = r ? new Q3().orthographic({ fovy: n, aspect: h, focalDistance: i, near: a, far: s }) : new Q3().perspective({ fovy: n, aspect: h, near: a, far: s });
|
|
42123
42123
|
if (o) {
|
|
42124
42124
|
const { left: Q = 0, right: p = 0, top: m = 0, bottom: y = 0 } = o, b = R4((Q + e - p) / 2, 0, e) - e / 2, L = R4((m + t - y) / 2, 0, t) - t / 2;
|
|
42125
42125
|
T[8] -= b * 2 / e, T[9] += L * 2 / t;
|
|
@@ -42140,7 +42140,7 @@ const IQ = class IQ {
|
|
|
42140
42140
|
return this.distanceScales.metersPerUnit[2] / this.scale;
|
|
42141
42141
|
}
|
|
42142
42142
|
get projectionMode() {
|
|
42143
|
-
return this.isGeospatial ? this.zoom < 12 ?
|
|
42143
|
+
return this.isGeospatial ? this.zoom < 12 ? n3.WEB_MERCATOR : n3.WEB_MERCATOR_AUTO_OFFSET : n3.IDENTITY;
|
|
42144
42144
|
}
|
|
42145
42145
|
// Two viewports are equal if width and height are identical, and if
|
|
42146
42146
|
// their view and projection matrices are (approximately) equal.
|
|
@@ -42262,9 +42262,9 @@ const IQ = class IQ {
|
|
|
42262
42262
|
this.scale = i;
|
|
42263
42263
|
const { position: o, modelMatrix: a } = t;
|
|
42264
42264
|
let s = HP;
|
|
42265
|
-
if (o && (s = a ? new
|
|
42265
|
+
if (o && (s = a ? new Q3(a).transformAsVector(o, []) : o), this.isGeospatial) {
|
|
42266
42266
|
const h = this.projectPosition([r, n, 0]);
|
|
42267
|
-
this.center = new
|
|
42267
|
+
this.center = new d3(s).scale(this.distanceScales.unitsPerMeter).add(h);
|
|
42268
42268
|
} else
|
|
42269
42269
|
this.center = this.projectPosition(s);
|
|
42270
42270
|
}
|
|
@@ -42287,7 +42287,7 @@ const IQ = class IQ {
|
|
|
42287
42287
|
// Center offset in pixels
|
|
42288
42288
|
focalDistance: Q = 1
|
|
42289
42289
|
} = t;
|
|
42290
|
-
this.viewMatrixUncentered = r, this.viewMatrix = new
|
|
42290
|
+
this.viewMatrixUncentered = r, this.viewMatrix = new Q3().multiplyRight(r).translate(new d3(this.center).negate()), this.projectionMatrix = n || Aut({
|
|
42291
42291
|
width: this.width,
|
|
42292
42292
|
height: this.height,
|
|
42293
42293
|
orthographic: i,
|
|
@@ -42360,7 +42360,7 @@ const hu = class hu extends $d {
|
|
|
42360
42360
|
scale: $,
|
|
42361
42361
|
altitude: B
|
|
42362
42362
|
});
|
|
42363
|
-
b && (ot = new
|
|
42363
|
+
b && (ot = new Q3().translate([512 * b, 0, 0]).multiplyLeft(ot)), super({
|
|
42364
42364
|
...t,
|
|
42365
42365
|
// x, y,
|
|
42366
42366
|
width: H,
|
|
@@ -47680,7 +47680,7 @@ ut(fu, "FACES", [
|
|
|
47680
47680
|
34073,
|
|
47681
47681
|
34074
|
|
47682
47682
|
]);
|
|
47683
|
-
let
|
|
47683
|
+
let i3 = fu;
|
|
47684
47684
|
function pht(e) {
|
|
47685
47685
|
switch (e.dimension) {
|
|
47686
47686
|
case "2d":
|
|
@@ -47732,7 +47732,7 @@ class au extends Rd {
|
|
|
47732
47732
|
// PRIVATE
|
|
47733
47733
|
/** In WebGL we must use renderbuffers for depth/stencil attachments (unless we have extensions) */
|
|
47734
47734
|
createDepthStencilTexture(r) {
|
|
47735
|
-
return new
|
|
47735
|
+
return new i3(this.device, {
|
|
47736
47736
|
id: `${this.id}-depth-stencil`,
|
|
47737
47737
|
format: r,
|
|
47738
47738
|
width: this.width,
|
|
@@ -47757,7 +47757,7 @@ class au extends Rd {
|
|
|
47757
47757
|
const [i, o = 0, a = 0] = n;
|
|
47758
47758
|
return this._attachTexture(r, i, o, a), i;
|
|
47759
47759
|
}
|
|
47760
|
-
if (n instanceof
|
|
47760
|
+
if (n instanceof i3)
|
|
47761
47761
|
return this._attachTexture(r, n, 0, 0), n;
|
|
47762
47762
|
if (n instanceof ol) {
|
|
47763
47763
|
const i = n;
|
|
@@ -48633,7 +48633,7 @@ class ift extends g7 {
|
|
|
48633
48633
|
throw new Error("buffer value");
|
|
48634
48634
|
break;
|
|
48635
48635
|
case "texture":
|
|
48636
|
-
if (!(o instanceof ol || o instanceof
|
|
48636
|
+
if (!(o instanceof ol || o instanceof i3 || o instanceof au))
|
|
48637
48637
|
throw new Error("texture value");
|
|
48638
48638
|
break;
|
|
48639
48639
|
case "sampler":
|
|
@@ -48747,7 +48747,7 @@ class ift extends g7 {
|
|
|
48747
48747
|
_areTexturesRenderable() {
|
|
48748
48748
|
let r = !0;
|
|
48749
48749
|
for (const [, n] of Object.entries(this.bindings))
|
|
48750
|
-
n instanceof
|
|
48750
|
+
n instanceof i3 && (n.update(), r = r && n.loaded);
|
|
48751
48751
|
return r;
|
|
48752
48752
|
}
|
|
48753
48753
|
/** Apply any bindings (before each draw call) */
|
|
@@ -48778,12 +48778,12 @@ class ift extends g7 {
|
|
|
48778
48778
|
), i += 1;
|
|
48779
48779
|
break;
|
|
48780
48780
|
case "texture":
|
|
48781
|
-
if (!(a instanceof ol || a instanceof
|
|
48781
|
+
if (!(a instanceof ol || a instanceof i3 || a instanceof au))
|
|
48782
48782
|
throw new Error("texture");
|
|
48783
48783
|
let T;
|
|
48784
48784
|
if (a instanceof ol)
|
|
48785
48785
|
T = a.texture;
|
|
48786
|
-
else if (a instanceof
|
|
48786
|
+
else if (a instanceof i3)
|
|
48787
48787
|
T = a;
|
|
48788
48788
|
else if (a instanceof au && a.colorAttachments[0] instanceof ol)
|
|
48789
48789
|
be.warn("Passing framebuffer in texture binding may be deprecated. Use fbo.colorAttachments[0] instead")(), T = a.colorAttachments[0].texture;
|
|
@@ -48914,7 +48914,7 @@ function cft(e, t) {
|
|
|
48914
48914
|
} = t;
|
|
48915
48915
|
const { framebuffer: T, destroyFramebuffer: Q } = qj(r), [p, m] = i, [y, b, L] = o, C = e.gl.bindFramebuffer(36160, T.handle);
|
|
48916
48916
|
let E = null, H;
|
|
48917
|
-
if (a instanceof
|
|
48917
|
+
if (a instanceof i3)
|
|
48918
48918
|
E = a, s = Number.isFinite(s) ? s : E.width, h = Number.isFinite(h) ? h : E.height, E.bind(0), H = E.target;
|
|
48919
48919
|
else
|
|
48920
48920
|
throw new Error("invalid destination");
|
|
@@ -49549,7 +49549,7 @@ const nc = 1, $6 = class $6 extends m7 {
|
|
|
49549
49549
|
return new N4(this, n);
|
|
49550
49550
|
}
|
|
49551
49551
|
_createTexture(r) {
|
|
49552
|
-
return new
|
|
49552
|
+
return new i3(this, r);
|
|
49553
49553
|
}
|
|
49554
49554
|
createExternalTexture(r) {
|
|
49555
49555
|
throw new Error("createExternalTexture() not implemented");
|
|
@@ -55166,7 +55166,7 @@ class p$ extends pA {
|
|
|
55166
55166
|
}
|
|
55167
55167
|
}
|
|
55168
55168
|
ut(p$, "layerName", "DashedFlightPathsLayer");
|
|
55169
|
-
var Il, Vl, E4, Ku, Rl, M4, kl, Yu, Bl, qa, Fl, zT, $Q, m$, zQ, g$, Ju, Rb, UQ, y$,
|
|
55169
|
+
var Il, Vl, E4, Ku, Rl, M4, kl, Yu, Bl, qa, Fl, zT, $Q, m$, zQ, g$, Ju, Rb, UQ, y$, Y3, B6;
|
|
55170
55170
|
class Udt {
|
|
55171
55171
|
constructor(t, r, n) {
|
|
55172
55172
|
Rt(this, Fl);
|
|
@@ -55174,7 +55174,7 @@ class Udt {
|
|
|
55174
55174
|
Rt(this, zQ);
|
|
55175
55175
|
Rt(this, Ju);
|
|
55176
55176
|
Rt(this, UQ);
|
|
55177
|
-
Rt(this,
|
|
55177
|
+
Rt(this, Y3);
|
|
55178
55178
|
Rt(this, Il, void 0);
|
|
55179
55179
|
Rt(this, Vl, !1);
|
|
55180
55180
|
Rt(this, E4, !1);
|
|
@@ -55207,7 +55207,7 @@ class Udt {
|
|
|
55207
55207
|
]
|
|
55208
55208
|
})
|
|
55209
55209
|
])
|
|
55210
|
-
)), qt(this, M4, new Map(K(this, qa).map((o) => [o, te(this, Fl, zT).call(this, o)]))), te(this,
|
|
55210
|
+
)), qt(this, M4, new Map(K(this, qa).map((o) => [o, te(this, Fl, zT).call(this, o)]))), te(this, Y3, B6).call(this);
|
|
55211
55211
|
}
|
|
55212
55212
|
clearVisibilityFilter() {
|
|
55213
55213
|
this.setVisibilityFilter(new us(!0));
|
|
@@ -55217,7 +55217,7 @@ class Udt {
|
|
|
55217
55217
|
qt(this, M4, new Map(K(this, qa).map((r) => [r, te(this, Fl, zT).call(this, r)])));
|
|
55218
55218
|
for (const [r, n] of K(this, M4).entries())
|
|
55219
55219
|
n.visible = t;
|
|
55220
|
-
qt(this, E4, t), te(this,
|
|
55220
|
+
qt(this, E4, t), te(this, Y3, B6).call(this);
|
|
55221
55221
|
}
|
|
55222
55222
|
}
|
|
55223
55223
|
queryFeaturesAtPoint(t) {
|
|
@@ -55229,22 +55229,22 @@ class Udt {
|
|
|
55229
55229
|
}
|
|
55230
55230
|
removeFeatureState(t, r) {
|
|
55231
55231
|
const n = K(this, Rl).get(+t);
|
|
55232
|
-
n && (n[r] = !1, te(this,
|
|
55232
|
+
n && (n[r] = !1, te(this, Y3, B6).call(this));
|
|
55233
55233
|
}
|
|
55234
55234
|
setFeatureState(t, r) {
|
|
55235
55235
|
const n = K(this, Rl).get(+t);
|
|
55236
55236
|
if (n) {
|
|
55237
55237
|
for (const [i, o] of Object.entries(r))
|
|
55238
55238
|
n[i] = o;
|
|
55239
|
-
te(this,
|
|
55239
|
+
te(this, Y3, B6).call(this);
|
|
55240
55240
|
}
|
|
55241
55241
|
}
|
|
55242
55242
|
setPaint(t) {
|
|
55243
55243
|
const r = t.dimmed || !1;
|
|
55244
|
-
K(this, Vl) !== r && (qt(this, Vl, r), te(this,
|
|
55244
|
+
K(this, Vl) !== r && (qt(this, Vl, r), te(this, Y3, B6).call(this));
|
|
55245
55245
|
}
|
|
55246
55246
|
setVisibilityFilter(t) {
|
|
55247
|
-
qt(this, Ku, t), K(this, E4) && (qt(this, M4, new Map(K(this, qa).map((r) => [r, te(this, Fl, zT).call(this, r)]))), te(this,
|
|
55247
|
+
qt(this, Ku, t), K(this, E4) && (qt(this, M4, new Map(K(this, qa).map((r) => [r, te(this, Fl, zT).call(this, r)]))), te(this, Y3, B6).call(this));
|
|
55248
55248
|
}
|
|
55249
55249
|
}
|
|
55250
55250
|
Il = new WeakMap(), Vl = new WeakMap(), E4 = new WeakMap(), Ku = new WeakMap(), Rl = new WeakMap(), M4 = new WeakMap(), kl = new WeakMap(), Yu = new WeakMap(), Bl = new WeakMap(), qa = new WeakMap(), Fl = new WeakSet(), zT = function(t) {
|
|
@@ -55283,7 +55283,7 @@ Il = new WeakMap(), Vl = new WeakMap(), E4 = new WeakMap(), Ku = new WeakMap(),
|
|
|
55283
55283
|
}, UQ = new WeakSet(), y$ = function(t) {
|
|
55284
55284
|
const r = K(this, Yu).get(t);
|
|
55285
55285
|
return r ? [...K(this, kl).values()].filter((n) => r.match(n)).filter((n) => K(this, Ku).match(n)) : [];
|
|
55286
|
-
},
|
|
55286
|
+
}, Y3 = new WeakSet(), B6 = function() {
|
|
55287
55287
|
const t = K(this, qa).map((r) => te(this, zQ, g$).call(this, r));
|
|
55288
55288
|
K(this, Il).setLayers(t);
|
|
55289
55289
|
};
|
|
@@ -55291,7 +55291,7 @@ const Ba = "features";
|
|
|
55291
55291
|
function Qv(e) {
|
|
55292
55292
|
return "layer" in e && e.layer.id === Zw;
|
|
55293
55293
|
}
|
|
55294
|
-
var Nl, t9, t5, e9, ta, A2, r9, n9, jl, i9,
|
|
55294
|
+
var Nl, t9, t5, e9, ta, A2, r9, n9, jl, i9, J3, $l, UT, o9, kb, ZQ, _$, zl, ZT, V1, oi, a9, Bb;
|
|
55295
55295
|
class Zdt {
|
|
55296
55296
|
constructor(t, r, n) {
|
|
55297
55297
|
Rt(this, $l);
|
|
@@ -55310,12 +55310,12 @@ class Zdt {
|
|
|
55310
55310
|
Rt(this, n9, []);
|
|
55311
55311
|
Rt(this, jl, []);
|
|
55312
55312
|
Rt(this, i9, void 0);
|
|
55313
|
-
Rt(this,
|
|
55313
|
+
Rt(this, J3, []);
|
|
55314
55314
|
qt(this, t5, r.id), qt(this, e9, r), qt(this, A2, t.map), qt(this, t9, r.description), qt(this, ta, n), qt(this, i9, t.options.separateLayers);
|
|
55315
55315
|
const i = `${r.id}_${Ba}`, o = t.options.separateLayers ? i : Ba;
|
|
55316
55316
|
if (K(this, A2).getSource(wd).vectorLayerIds.indexOf(o) >= 0) {
|
|
55317
55317
|
const h = new T6t(i, o);
|
|
55318
|
-
te(this, $l, UT).call(this, h.style(r, K(this, ta)), !0), K(this,
|
|
55318
|
+
te(this, $l, UT).call(this, h.style(r, K(this, ta)), !0), K(this, J3).push(h);
|
|
55319
55319
|
}
|
|
55320
55320
|
if (t.details["image-layers"]) {
|
|
55321
55321
|
K(this, ta).activeRasterLayer = !0;
|
|
@@ -55345,7 +55345,7 @@ class Zdt {
|
|
|
55345
55345
|
return K(this, r9);
|
|
55346
55346
|
}
|
|
55347
55347
|
activate(t = !0) {
|
|
55348
|
-
for (const r of K(this,
|
|
55348
|
+
for (const r of K(this, J3))
|
|
55349
55349
|
te(this, o9, kb).call(this, r.id, t);
|
|
55350
55350
|
for (const r of K(this, jl))
|
|
55351
55351
|
te(this, o9, kb).call(this, r.id, t);
|
|
@@ -55356,7 +55356,7 @@ class Zdt {
|
|
|
55356
55356
|
K(this, A2).setLayoutProperty(r.id, "visibility", t ? "visible" : "none");
|
|
55357
55357
|
}
|
|
55358
55358
|
setPaint(t) {
|
|
55359
|
-
for (const r of K(this,
|
|
55359
|
+
for (const r of K(this, J3)) {
|
|
55360
55360
|
const n = r.paintStyle(t, !0);
|
|
55361
55361
|
for (const [i, o] of Object.entries(n))
|
|
55362
55362
|
K(this, A2).setPaintProperty(r.id, i, o, { validate: !1 });
|
|
@@ -55364,18 +55364,18 @@ class Zdt {
|
|
|
55364
55364
|
te(this, a9, Bb).call(this, t);
|
|
55365
55365
|
}
|
|
55366
55366
|
clearVisibilityFilter() {
|
|
55367
|
-
for (const t of K(this,
|
|
55367
|
+
for (const t of K(this, J3))
|
|
55368
55368
|
K(this, A2).setFilter(t.id, t.defaultFilter(), { validate: !1 });
|
|
55369
55369
|
}
|
|
55370
55370
|
setVisibilityFilter(t) {
|
|
55371
|
-
for (const r of K(this,
|
|
55371
|
+
for (const r of K(this, J3)) {
|
|
55372
55372
|
const n = r.defaultFilter();
|
|
55373
55373
|
let i = null;
|
|
55374
55374
|
n ? n[0] === "all" ? Array.isArray(t) && t[0] === "all" ? i = [...n, ...t.slice(1)] : i = [...n, t] : t[0] === "all" ? i = [...t, n] : i = [t, n] : i = t, i && K(this, A2).setFilter(r.id, i, { validate: !0 });
|
|
55375
55375
|
}
|
|
55376
55376
|
}
|
|
55377
55377
|
}
|
|
55378
|
-
Nl = new WeakMap(), t9 = new WeakMap(), t5 = new WeakMap(), e9 = new WeakMap(), ta = new WeakMap(), A2 = new WeakMap(), r9 = new WeakMap(), n9 = new WeakMap(), jl = new WeakMap(), i9 = new WeakMap(),
|
|
55378
|
+
Nl = new WeakMap(), t9 = new WeakMap(), t5 = new WeakMap(), e9 = new WeakMap(), ta = new WeakMap(), A2 = new WeakMap(), r9 = new WeakMap(), n9 = new WeakMap(), jl = new WeakMap(), i9 = new WeakMap(), J3 = new WeakMap(), $l = new WeakSet(), UT = function(t, r = !1) {
|
|
55379
55379
|
K(this, A2).addLayer(t), r && K(this, r9).push(t);
|
|
55380
55380
|
}, o9 = new WeakSet(), kb = function(t, r = !0) {
|
|
55381
55381
|
K(this, A2).setLayoutProperty(t, "visibility", r ? "visible" : "none");
|
|
@@ -55389,7 +55389,7 @@ Nl = new WeakMap(), t9 = new WeakMap(), t5 = new WeakMap(), e9 = new WeakMap(),
|
|
|
55389
55389
|
`${K(this, t5)}_${r}`,
|
|
55390
55390
|
te(this, zl, ZT).call(this, r)
|
|
55391
55391
|
);
|
|
55392
|
-
return te(this, $l, UT).call(this, o.style(K(this, e9), K(this, ta)), i), K(this,
|
|
55392
|
+
return te(this, $l, UT).call(this, o.style(K(this, e9), K(this, ta)), i), K(this, J3).push(o), n && K(this, n9).push(o), o;
|
|
55393
55393
|
}, a9 = new WeakSet(), Bb = function(t) {
|
|
55394
55394
|
const r = !("colour" in t) || t.colour;
|
|
55395
55395
|
for (const n of K(this, jl))
|
|
@@ -55400,7 +55400,7 @@ Nl = new WeakMap(), t9 = new WeakMap(), t5 = new WeakMap(), e9 = new WeakMap(),
|
|
|
55400
55400
|
{ validate: !1 }
|
|
55401
55401
|
);
|
|
55402
55402
|
};
|
|
55403
|
-
var s9, e5, Ga, l9, ea,
|
|
55403
|
+
var s9, e5, Ga, l9, ea, ts, S4, Xa, es, r5, wL, C4, K0;
|
|
55404
55404
|
class Wdt {
|
|
55405
55405
|
constructor(t, r) {
|
|
55406
55406
|
Rt(this, C4);
|
|
@@ -55409,14 +55409,14 @@ class Wdt {
|
|
|
55409
55409
|
Rt(this, Ga, /* @__PURE__ */ new Map());
|
|
55410
55410
|
Rt(this, l9, void 0);
|
|
55411
55411
|
Rt(this, ea, void 0);
|
|
55412
|
-
Rt(this,
|
|
55412
|
+
Rt(this, ts, void 0);
|
|
55413
55413
|
Rt(this, S4, void 0);
|
|
55414
55414
|
Rt(this, Xa, /* @__PURE__ */ new Map());
|
|
55415
|
-
Rt(this,
|
|
55415
|
+
Rt(this, es, void 0);
|
|
55416
55416
|
Rt(this, r5, void 0);
|
|
55417
55417
|
// #modelLayer
|
|
55418
55418
|
Rt(this, wL, null);
|
|
55419
|
-
qt(this, l9, t), qt(this, S4, t.map), qt(this,
|
|
55419
|
+
qt(this, l9, t), qt(this, S4, t.map), qt(this, ts, ul(t.options.layerOptions, {
|
|
55420
55420
|
colour: !0,
|
|
55421
55421
|
outline: !0,
|
|
55422
55422
|
sckan: "valid"
|
|
@@ -55427,11 +55427,11 @@ class Wdt {
|
|
|
55427
55427
|
const a = new Zdt(
|
|
55428
55428
|
K(this, l9),
|
|
55429
55429
|
o,
|
|
55430
|
-
K(this,
|
|
55430
|
+
K(this, ts)
|
|
55431
55431
|
);
|
|
55432
55432
|
K(this, Xa).set(o.id, a), K(this, r5).layers.push(...a.minimapStylingLayers);
|
|
55433
55433
|
}
|
|
55434
|
-
qt(this,
|
|
55434
|
+
qt(this, es, new c6t(t, r)), qt(this, s9, new Bdt(t)), qt(this, ea, new Udt(K(this, s9), t, r));
|
|
55435
55435
|
}
|
|
55436
55436
|
get layers() {
|
|
55437
55437
|
const t = [];
|
|
@@ -55447,7 +55447,7 @@ class Wdt {
|
|
|
55447
55447
|
return K(this, r5);
|
|
55448
55448
|
}
|
|
55449
55449
|
get sckanState() {
|
|
55450
|
-
return K(this,
|
|
55450
|
+
return K(this, ts).sckan;
|
|
55451
55451
|
}
|
|
55452
55452
|
activate(t, r = !0) {
|
|
55453
55453
|
const n = K(this, Xa).get(t);
|
|
@@ -55458,28 +55458,28 @@ class Wdt {
|
|
|
55458
55458
|
clearMarkers() {
|
|
55459
55459
|
}
|
|
55460
55460
|
addDatasetMarkers(t) {
|
|
55461
|
-
K(this,
|
|
55461
|
+
K(this, es).addDatasetMarkers(t);
|
|
55462
55462
|
}
|
|
55463
55463
|
clearDatasetMarkers() {
|
|
55464
|
-
K(this,
|
|
55464
|
+
K(this, es).clearDatasetMarkers();
|
|
55465
55465
|
}
|
|
55466
55466
|
removeDatasetMarker(t) {
|
|
55467
|
-
K(this,
|
|
55467
|
+
K(this, es).removeDatasetMarker(t);
|
|
55468
55468
|
}
|
|
55469
55469
|
featuresAtPoint(t) {
|
|
55470
55470
|
let r = [];
|
|
55471
55471
|
return r = K(this, ea).queryFeaturesAtPoint(t), r.length === 0 && (r = K(this, S4).queryRenderedFeatures(t, { layers: [Zw] })), r.length === 0 && (r = K(this, S4).queryRenderedFeatures(t)), r;
|
|
55472
55472
|
}
|
|
55473
55473
|
removeFeatureState(t, r) {
|
|
55474
|
-
K(this, ea).removeFeatureState(t.id, r), K(this,
|
|
55474
|
+
K(this, ea).removeFeatureState(t.id, r), K(this, es).removeFeatureState(t.id, r);
|
|
55475
55475
|
}
|
|
55476
55476
|
setFeatureState(t, r) {
|
|
55477
|
-
K(this, ea).setFeatureState(t.id, r), K(this,
|
|
55477
|
+
K(this, ea).setFeatureState(t.id, r), K(this, es).setFeatureState(t.id, r);
|
|
55478
55478
|
}
|
|
55479
55479
|
setPaint(t = {}) {
|
|
55480
|
-
qt(this,
|
|
55480
|
+
qt(this, ts, ul(t, K(this, ts)));
|
|
55481
55481
|
for (const r of K(this, Xa).values())
|
|
55482
|
-
r.setPaint(K(this,
|
|
55482
|
+
r.setPaint(K(this, ts));
|
|
55483
55483
|
K(this, ea).setPaint(t);
|
|
55484
55484
|
}
|
|
55485
55485
|
addFilteredFacet(t) {
|
|
@@ -55509,7 +55509,7 @@ class Wdt {
|
|
|
55509
55509
|
enableSckanPaths(t, r = !0) {
|
|
55510
55510
|
}
|
|
55511
55511
|
}
|
|
55512
|
-
s9 = new WeakMap(), e5 = new WeakMap(), Ga = new WeakMap(), l9 = new WeakMap(), ea = new WeakMap(),
|
|
55512
|
+
s9 = new WeakMap(), e5 = new WeakMap(), Ga = new WeakMap(), l9 = new WeakMap(), ea = new WeakMap(), ts = new WeakMap(), S4 = new WeakMap(), Xa = new WeakMap(), es = new WeakMap(), r5 = new WeakMap(), wL = new WeakMap(), C4 = new WeakSet(), K0 = function() {
|
|
55513
55513
|
if (K(this, Ga).size > 0) {
|
|
55514
55514
|
const t = new us({
|
|
55515
55515
|
AND: [...K(this, Ga).values()].map((n) => n.filter)
|
|
@@ -57679,9 +57679,9 @@ var x$ = { exports: {} };
|
|
|
57679
57679
|
(function(P, z) {
|
|
57680
57680
|
var F = "__lodash_hash_undefined__", q = 9007199254740991, et = "[object Arguments]", ct = "[object Array]", Qt = "[object Boolean]", jt = "[object Date]", ee = "[object Error]", Te = "[object Function]", de = "[object Map]", he = "[object Number]", Xe = "[object Object]", hn = "[object Promise]", sr = "[object RegExp]", $r = "[object Set]", oe = "[object String]", ze = "[object Symbol]", Zr = "[object WeakMap]", c1 = "[object ArrayBuffer]", yn = "[object DataView]", r6 = /^\[object .+?Constructor\]$/, G5 = /^(?:0|[1-9]\d*)$/, dn = {};
|
|
57681
57681
|
dn["[object Float32Array]"] = dn["[object Float64Array]"] = dn["[object Int8Array]"] = dn["[object Int16Array]"] = dn["[object Int32Array]"] = dn["[object Uint8Array]"] = dn["[object Uint8ClampedArray]"] = dn["[object Uint16Array]"] = dn["[object Uint32Array]"] = !0, dn[et] = dn[ct] = dn[c1] = dn[Qt] = dn[yn] = dn[jt] = dn[ee] = dn[Te] = dn[de] = dn[he] = dn[Xe] = dn[sr] = dn[$r] = dn[oe] = dn[Zr] = !1;
|
|
57682
|
-
var X5 = typeof I == "object" && I && I.Object === Object && I, t8 = typeof self == "object" && self && self.Object === Object && self, T2 = X5 || t8 || Function("return this")(), ya = z && !z.nodeType && z, Ls = ya && P && !P.nodeType && P,
|
|
57682
|
+
var X5 = typeof I == "object" && I && I.Object === Object && I, t8 = typeof self == "object" && self && self.Object === Object && self, T2 = X5 || t8 || Function("return this")(), ya = z && !z.nodeType && z, Ls = ya && P && !P.nodeType && P, w3 = Ls && Ls.exports === ya, A3 = w3 && X5.process, ws = function() {
|
|
57683
57683
|
try {
|
|
57684
|
-
return
|
|
57684
|
+
return A3 && A3.binding && A3.binding("util");
|
|
57685
57685
|
} catch {
|
|
57686
57686
|
}
|
|
57687
57687
|
}(), Gi = ws && ws.isTypedArray;
|
|
@@ -57703,9 +57703,9 @@ var x$ = { exports: {} };
|
|
|
57703
57703
|
Ee[++Yt] = ar;
|
|
57704
57704
|
}), Ee;
|
|
57705
57705
|
}
|
|
57706
|
-
var H2, zr,
|
|
57707
|
-
return zr(
|
|
57708
|
-
}), s6 = Ki(T2, "DataView"),
|
|
57706
|
+
var H2, zr, E3, r8 = Array.prototype, _a = Function.prototype, As = Object.prototype, Es = T2["__core-js_shared__"], K5 = _a.toString, Xi = As.hasOwnProperty, Ms = (H2 = /[^.]+$/.exec(Es && Es.keys && Es.keys.IE_PROTO || "")) ? "Symbol(src)_1." + H2 : "", i6 = As.toString, Y5 = RegExp("^" + K5.call(Xi).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), o6 = w3 ? T2.Buffer : void 0, M3 = T2.Symbol, co = T2.Uint8Array, a6 = As.propertyIsEnumerable, n8 = r8.splice, uo = M3 ? M3.toStringTag : void 0, va = Object.getOwnPropertySymbols, i8 = o6 ? o6.isBuffer : void 0, Ss = (zr = Object.keys, E3 = Object, function(Ct) {
|
|
57707
|
+
return zr(E3(Ct));
|
|
57708
|
+
}), s6 = Ki(T2, "DataView"), S3 = Ki(T2, "Map"), Cs = Ki(T2, "Promise"), Hs = Ki(T2, "Set"), Os = Ki(T2, "WeakMap"), jo = Ki(Object, "create"), J5 = I2(s6), Ps = I2(S3), O2 = I2(Cs), l6 = I2(Hs), c6 = I2(Os), Ds = M3 ? M3.prototype : void 0, xa = Ds ? Ds.valueOf : void 0;
|
|
57709
57709
|
function P2(Ct) {
|
|
57710
57710
|
var Yt = -1, Ee = Ct == null ? 0 : Ct.length;
|
|
57711
57711
|
for (this.clear(); ++Yt < Ee; ) {
|
|
@@ -57737,7 +57737,7 @@ var x$ = { exports: {} };
|
|
|
57737
57737
|
this.size = Yt.size;
|
|
57738
57738
|
}
|
|
57739
57739
|
function o8(Ct, Yt) {
|
|
57740
|
-
var Ee = To(Ct), ar = !Ee &&
|
|
57740
|
+
var Ee = To(Ct), ar = !Ee && H3(Ct), nn = !Ee && !ar && Qo(Ct), Rr = !Ee && !ar && !nn && h6(Ct), _n = Ee || ar || nn || Rr, e1 = _n ? function(Kn, j1) {
|
|
57741
57741
|
for (var G1 = -1, o1 = Array(Kn); ++G1 < Kn; )
|
|
57742
57742
|
o1[G1] = j1(G1);
|
|
57743
57743
|
return o1;
|
|
@@ -57837,8 +57837,8 @@ var x$ = { exports: {} };
|
|
|
57837
57837
|
for (var yo = m2; ++_1 < Qn; ) {
|
|
57838
57838
|
var Di = on[t2 = R2[_1]], wa = Jr[t2];
|
|
57839
57839
|
if (Pi)
|
|
57840
|
-
var
|
|
57841
|
-
if (!(
|
|
57840
|
+
var P3 = m2 ? Pi(wa, Di, t2, Jr, on, y1) : Pi(Di, wa, t2, on, Jr, y1);
|
|
57841
|
+
if (!(P3 === void 0 ? Di === wa || g1(Di, wa, go, Pi, y1) : P3)) {
|
|
57842
57842
|
Uo = !1;
|
|
57843
57843
|
break;
|
|
57844
57844
|
}
|
|
@@ -57857,7 +57857,7 @@ var x$ = { exports: {} };
|
|
|
57857
57857
|
return !!Ms && Ms in Yt;
|
|
57858
57858
|
}(Ct)) && (La(Ct) ? Y5 : r6).test(I2(Ct));
|
|
57859
57859
|
}
|
|
57860
|
-
function
|
|
57860
|
+
function C3(Ct) {
|
|
57861
57861
|
if (Ee = (Yt = Ct) && Yt.constructor, ar = typeof Ee == "function" && Ee.prototype || As, Yt !== ar)
|
|
57862
57862
|
return Ss(Ct);
|
|
57863
57863
|
var Yt, Ee, ar, nn = [];
|
|
@@ -57951,7 +57951,7 @@ var x$ = { exports: {} };
|
|
|
57951
57951
|
var Ee = this.__data__, ar = wr(Ee, Ct);
|
|
57952
57952
|
return ar < 0 ? (++this.size, Ee.push([Ct, Yt])) : Ee[ar][1] = Yt, this;
|
|
57953
57953
|
}, D2.prototype.clear = function() {
|
|
57954
|
-
this.size = 0, this.__data__ = { hash: new P2(), map: new (
|
|
57954
|
+
this.size = 0, this.__data__ = { hash: new P2(), map: new (S3 || N1)(), string: new P2() };
|
|
57955
57955
|
}, D2.prototype.delete = function(Ct) {
|
|
57956
57956
|
var Yt = d2(this, Ct).delete(Ct);
|
|
57957
57957
|
return this.size -= Yt ? 1 : 0, Yt;
|
|
@@ -57979,7 +57979,7 @@ var x$ = { exports: {} };
|
|
|
57979
57979
|
var Ee = this.__data__;
|
|
57980
57980
|
if (Ee instanceof N1) {
|
|
57981
57981
|
var ar = Ee.__data__;
|
|
57982
|
-
if (!
|
|
57982
|
+
if (!S3 || ar.length < 199)
|
|
57983
57983
|
return ar.push([Ct, Yt]), this.size = ++Ee.size, this;
|
|
57984
57984
|
Ee = this.__data__ = new D2(ar);
|
|
57985
57985
|
}
|
|
@@ -58017,7 +58017,7 @@ var x$ = { exports: {} };
|
|
|
58017
58017
|
function fo(Ct, Yt) {
|
|
58018
58018
|
return Ct === Yt || Ct != Ct && Yt != Yt;
|
|
58019
58019
|
}
|
|
58020
|
-
(s6 && Q2(new s6(new ArrayBuffer(1))) != yn ||
|
|
58020
|
+
(s6 && Q2(new s6(new ArrayBuffer(1))) != yn || S3 && Q2(new S3()) != de || Cs && Q2(Cs.resolve()) != hn || Hs && Q2(new Hs()) != $r || Os && Q2(new Os()) != Zr) && (Q2 = function(Ct) {
|
|
58021
58021
|
var Yt = ho(Ct), Ee = Yt == Xe ? Ct.constructor : void 0, ar = Ee ? I2(Ee) : "";
|
|
58022
58022
|
if (ar)
|
|
58023
58023
|
switch (ar) {
|
|
@@ -58034,7 +58034,7 @@ var x$ = { exports: {} };
|
|
|
58034
58034
|
}
|
|
58035
58035
|
return Yt;
|
|
58036
58036
|
});
|
|
58037
|
-
var
|
|
58037
|
+
var H3 = ln(/* @__PURE__ */ function() {
|
|
58038
58038
|
return arguments;
|
|
58039
58039
|
}()) ? ln : function(Ct) {
|
|
58040
58040
|
return p2(Ct) && Xi.call(Ct, "callee") && !a6.call(Ct, "callee");
|
|
@@ -58047,7 +58047,7 @@ var x$ = { exports: {} };
|
|
|
58047
58047
|
var Yt = ho(Ct);
|
|
58048
58048
|
return Yt == Te || Yt == "[object GeneratorFunction]" || Yt == "[object AsyncFunction]" || Yt == "[object Proxy]";
|
|
58049
58049
|
}
|
|
58050
|
-
function
|
|
58050
|
+
function O3(Ct) {
|
|
58051
58051
|
return typeof Ct == "number" && Ct > -1 && Ct % 1 == 0 && Ct <= q;
|
|
58052
58052
|
}
|
|
58053
58053
|
function zo(Ct) {
|
|
@@ -58062,10 +58062,10 @@ var x$ = { exports: {} };
|
|
|
58062
58062
|
return Ct(Yt);
|
|
58063
58063
|
};
|
|
58064
58064
|
}(Gi) : function(Ct) {
|
|
58065
|
-
return p2(Ct) &&
|
|
58065
|
+
return p2(Ct) && O3(Ct.length) && !!dn[ho(Ct)];
|
|
58066
58066
|
};
|
|
58067
58067
|
function f6(Ct) {
|
|
58068
|
-
return (Yt = Ct) != null &&
|
|
58068
|
+
return (Yt = Ct) != null && O3(Yt.length) && !La(Yt) ? o8(Ct) : C3(Ct);
|
|
58069
58069
|
var Yt;
|
|
58070
58070
|
}
|
|
58071
58071
|
P.exports = function(Ct, Yt) {
|
|
@@ -58167,11 +58167,11 @@ const qc = /* @__PURE__ */ W4(aQt), AD = qc.lib.theme.map((e) => e.id), Nb = [
|
|
|
58167
58167
|
...AD.map((e) => `${e}.cold`),
|
|
58168
58168
|
...AD.map((e) => `${e}.hot`)
|
|
58169
58169
|
];
|
|
58170
|
-
var Ul, WT,
|
|
58170
|
+
var Ul, WT, rs, F6;
|
|
58171
58171
|
class sQt {
|
|
58172
58172
|
constructor(t, r = !1) {
|
|
58173
58173
|
Rt(this, Ul);
|
|
58174
|
-
Rt(this,
|
|
58174
|
+
Rt(this, rs);
|
|
58175
58175
|
qc.constants.classes.CONTROL_BASE = "maplibregl-ctrl", qc.constants.classes.CONTROL_PREFIX = "maplibregl-ctrl-", qc.constants.classes.CONTROL_GROUP = "maplibregl-ctrl-group", this.__flatmap = t, this.__committedFeatures = /* @__PURE__ */ new Map(), this.__uncommittedFeatureIds = /* @__PURE__ */ new Set(), this.__visible = r, this.__draw = new qc({
|
|
58176
58176
|
displayControlsDefault: !1,
|
|
58177
58177
|
controls: {
|
|
@@ -58208,28 +58208,28 @@ class sQt {
|
|
|
58208
58208
|
r && (this.__draw.setFeatureProperty(r.id, "drawn", !0), this.__draw.setFeatureProperty(r.id, "label", "Drawn annotation"), r.properties = {
|
|
58209
58209
|
user_drawn: !0,
|
|
58210
58210
|
user_label: "Drawn annotation"
|
|
58211
|
-
}, te(this,
|
|
58211
|
+
}, te(this, rs, F6).call(this, "created", r));
|
|
58212
58212
|
}
|
|
58213
58213
|
deletedFeature(t) {
|
|
58214
58214
|
const r = te(this, Ul, WT).call(this, t);
|
|
58215
|
-
r && (this.__uncommittedFeatureIds.has(r.id) || te(this,
|
|
58215
|
+
r && (this.__uncommittedFeatureIds.has(r.id) || te(this, rs, F6).call(this, "deleted", r));
|
|
58216
58216
|
}
|
|
58217
58217
|
updatedFeature(t) {
|
|
58218
58218
|
const r = te(this, Ul, WT).call(this, t);
|
|
58219
|
-
r && (r.action = t.action, this.__uncommittedFeatureIds.has(r.id) || te(this,
|
|
58219
|
+
r && (r.action = t.action, this.__uncommittedFeatureIds.has(r.id) || te(this, rs, F6).call(this, "updated", r));
|
|
58220
58220
|
}
|
|
58221
58221
|
modeChangedEvent(t) {
|
|
58222
|
-
te(this,
|
|
58222
|
+
te(this, rs, F6).call(this, "modeChanged", t);
|
|
58223
58223
|
}
|
|
58224
58224
|
selectionChangedEvent(t) {
|
|
58225
|
-
te(this,
|
|
58225
|
+
te(this, rs, F6).call(this, "selectionChanged", t);
|
|
58226
58226
|
}
|
|
58227
58227
|
commitEvent(t) {
|
|
58228
58228
|
const r = t.feature;
|
|
58229
58229
|
t.type === "deleted" ? this.__committedFeatures.delete(r.id) : this.__committedFeatures.set(r.id, r), this.__uncommittedFeatureIds.delete(r.id);
|
|
58230
58230
|
}
|
|
58231
58231
|
abortEvent(t) {
|
|
58232
|
-
te(this,
|
|
58232
|
+
te(this, rs, F6).call(this, "aborted", t);
|
|
58233
58233
|
}
|
|
58234
58234
|
rollbackEvent(t) {
|
|
58235
58235
|
const r = t.feature;
|
|
@@ -58267,7 +58267,7 @@ Ul = new WeakSet(), WT = function(t) {
|
|
|
58267
58267
|
geometry: n.geometry
|
|
58268
58268
|
}));
|
|
58269
58269
|
return r.length ? r[0] : null;
|
|
58270
|
-
},
|
|
58270
|
+
}, rs = new WeakSet(), F6 = function(t, r) {
|
|
58271
58271
|
r.id && this.__uncommittedFeatureIds.add(r.id), this.__flatmap.annotationEvent(t, r);
|
|
58272
58272
|
};
|
|
58273
58273
|
var o2, Y2, J2, WQ, d9, ra, Zl, E2, a5, s5, H4;
|
|
@@ -58454,7 +58454,7 @@ const fQt = {
|
|
|
58454
58454
|
[12, 8, 10],
|
|
58455
58455
|
[10, 6, 8]
|
|
58456
58456
|
];
|
|
58457
|
-
var na, p9,
|
|
58457
|
+
var na, p9, ns, Ja, l5, ia, m9, ql, Gl, g9, c5, u5, h5, is, Xl, y9, _9, jb, v9, $b, x9, zb, qQ, b$, GQ, L$, Kl, qT, Yl, GT, XQ, w$, Jl, XT;
|
|
58458
58458
|
class dQt {
|
|
58459
58459
|
constructor(t, r, n) {
|
|
58460
58460
|
Rt(this, _9);
|
|
@@ -58468,7 +58468,7 @@ class dQt {
|
|
|
58468
58468
|
Rt(this, Jl);
|
|
58469
58469
|
Rt(this, na, null);
|
|
58470
58470
|
Rt(this, p9, void 0);
|
|
58471
|
-
Rt(this,
|
|
58471
|
+
Rt(this, ns, void 0);
|
|
58472
58472
|
Rt(this, Ja, void 0);
|
|
58473
58473
|
Rt(this, l5, void 0);
|
|
58474
58474
|
Rt(this, ia, void 0);
|
|
@@ -58479,7 +58479,7 @@ class dQt {
|
|
|
58479
58479
|
Rt(this, c5, !1);
|
|
58480
58480
|
Rt(this, u5, !1);
|
|
58481
58481
|
Rt(this, h5, [0, 0]);
|
|
58482
|
-
Rt(this,
|
|
58482
|
+
Rt(this, is, [0, 0]);
|
|
58483
58483
|
Rt(this, Xl, void 0);
|
|
58484
58484
|
Rt(this, y9, [[[0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]]);
|
|
58485
58485
|
qt(this, p9, t), qt(this, m9, n), qt(this, ia, Object.assign({}, fQt, r));
|
|
@@ -58488,7 +58488,7 @@ class dQt {
|
|
|
58488
58488
|
return K(this, ia).position;
|
|
58489
58489
|
}
|
|
58490
58490
|
onAdd(t) {
|
|
58491
|
-
qt(this,
|
|
58491
|
+
qt(this, ns, t);
|
|
58492
58492
|
const r = document.createElement("div");
|
|
58493
58493
|
r.className = "maplibregl-ctrl-minimap maplibregl-ctrl", r.id = "maplibre-minimap", qt(this, na, r);
|
|
58494
58494
|
const n = t.getCanvas();
|
|
@@ -58501,10 +58501,10 @@ class dQt {
|
|
|
58501
58501
|
})), K(this, na);
|
|
58502
58502
|
}
|
|
58503
58503
|
onRemove() {
|
|
58504
|
-
K(this, na).parentNode.removeChild(K(this, na)), qt(this,
|
|
58504
|
+
K(this, na).parentNode.removeChild(K(this, na)), qt(this, ns, void 0), qt(this, na, null);
|
|
58505
58505
|
}
|
|
58506
58506
|
initialise() {
|
|
58507
|
-
const t = K(this, ia), r = K(this,
|
|
58507
|
+
const t = K(this, ia), r = K(this, ns), n = K(this, Ja);
|
|
58508
58508
|
[
|
|
58509
58509
|
"dragPan",
|
|
58510
58510
|
"scrollZoom",
|
|
@@ -58573,19 +58573,19 @@ class dQt {
|
|
|
58573
58573
|
K(this, na) && (t ? (K(this, na).style.display = "block", te(this, Yl, GT).call(this)) : K(this, na).style.display = "none");
|
|
58574
58574
|
}
|
|
58575
58575
|
}
|
|
58576
|
-
na = new WeakMap(), p9 = new WeakMap(),
|
|
58577
|
-
K(this, u5) && (qt(this, c5, !0), qt(this, h5, K(this,
|
|
58576
|
+
na = new WeakMap(), p9 = new WeakMap(), ns = new WeakMap(), Ja = new WeakMap(), l5 = new WeakMap(), ia = new WeakMap(), m9 = new WeakMap(), ql = new WeakMap(), Gl = new WeakMap(), g9 = new WeakMap(), c5 = new WeakMap(), u5 = new WeakMap(), h5 = new WeakMap(), is = new WeakMap(), Xl = new WeakMap(), y9 = new WeakMap(), _9 = new WeakSet(), jb = function(t) {
|
|
58577
|
+
K(this, u5) && (qt(this, c5, !0), qt(this, h5, K(this, is)), qt(this, is, [t.lngLat.lng, t.lngLat.lat]));
|
|
58578
58578
|
}, v9 = new WeakSet(), $b = function(t) {
|
|
58579
58579
|
const n = K(this, Ja).queryRenderedFeatures(t.point, {
|
|
58580
58580
|
layers: ["trackingRectFill"]
|
|
58581
58581
|
});
|
|
58582
58582
|
if (K(this, u5) && n.length > 0 || (qt(this, u5, n.length > 0), K(this, l5).style.cursor = K(this, u5) ? "move" : ""), K(this, c5)) {
|
|
58583
|
-
qt(this, h5, K(this,
|
|
58583
|
+
qt(this, h5, K(this, is)), qt(this, is, [t.lngLat.lng, t.lngLat.lat]);
|
|
58584
58584
|
const i = [
|
|
58585
|
-
K(this, h5)[0] - K(this,
|
|
58586
|
-
K(this, h5)[1] - K(this,
|
|
58585
|
+
K(this, h5)[0] - K(this, is)[0],
|
|
58586
|
+
K(this, h5)[1] - K(this, is)[1]
|
|
58587
58587
|
], o = te(this, qQ, b$).call(this, i);
|
|
58588
|
-
K(this,
|
|
58588
|
+
K(this, ns).fitBounds(o, {
|
|
58589
58589
|
duration: 80
|
|
58590
58590
|
});
|
|
58591
58591
|
}
|
|
@@ -58603,10 +58603,10 @@ na = new WeakMap(), p9 = new WeakMap(), rs = new WeakMap(), Ja = new WeakMap(),
|
|
|
58603
58603
|
}, Yl = new WeakSet(), GT = function() {
|
|
58604
58604
|
if (K(this, c5))
|
|
58605
58605
|
return;
|
|
58606
|
-
const t = K(this,
|
|
58606
|
+
const t = K(this, ns).getBounds();
|
|
58607
58607
|
te(this, GQ, L$).call(this, t), te(this, XQ, w$).call(this);
|
|
58608
58608
|
}, XQ = new WeakSet(), w$ = function() {
|
|
58609
|
-
const t = K(this, Ja), r = K(this,
|
|
58609
|
+
const t = K(this, Ja), r = K(this, ns), n = t.getZoom(), i = r.getZoom();
|
|
58610
58610
|
let o = !1;
|
|
58611
58611
|
TQt.forEach(function(a) {
|
|
58612
58612
|
!o && i >= a[0] && (n >= a[1] && t.setZoom(a[2]), t.setCenter(r.getCenter()), o = !0);
|
|
@@ -65732,7 +65732,7 @@ var bi = {};
|
|
|
65732
65732
|
};
|
|
65733
65733
|
}(e.TexConstant || (e.TexConstant = {}));
|
|
65734
65734
|
})(bi);
|
|
65735
|
-
var S2 = {},
|
|
65735
|
+
var S2 = {}, b3 = {};
|
|
65736
65736
|
(function(e) {
|
|
65737
65737
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.px = e.emRounded = e.em = e.percent = e.length2em = e.MATHSPACE = e.RELUNITS = e.UNITS = e.BIGDIMEN = void 0, e.BIGDIMEN = 1e6, e.UNITS = {
|
|
65738
65738
|
px: 1,
|
|
@@ -65796,7 +65796,7 @@ var S2 = {}, x3 = {};
|
|
|
65796
65796
|
return s === void 0 && (s = -e.BIGDIMEN), h === void 0 && (h = 16), a *= h, s && a < s && (a = s), Math.abs(a) < 0.1 ? "0" : a.toFixed(1).replace(/\.0$/, "") + "px";
|
|
65797
65797
|
}
|
|
65798
65798
|
e.px = o;
|
|
65799
|
-
})(
|
|
65799
|
+
})(b3);
|
|
65800
65800
|
var E7 = I && I.__assign || function() {
|
|
65801
65801
|
return E7 = Object.assign || function(e) {
|
|
65802
65802
|
for (var t, r = 1, n = arguments.length; r < n; r++) {
|
|
@@ -65849,7 +65849,7 @@ var E7 = I && I.__assign || function() {
|
|
|
65849
65849
|
return e && e.__esModule ? e : { default: e };
|
|
65850
65850
|
};
|
|
65851
65851
|
Object.defineProperty(S2, "__esModule", { value: !0 });
|
|
65852
|
-
var MA = emt(Tr), Fe = Vp(Wn), W1 = Vp(un), Rp = Vp(Wi()), SA = bi, E1 = Vp(qn()), G7 = dr, I$ = vs, V$ =
|
|
65852
|
+
var MA = emt(Tr), Fe = Vp(Wn), W1 = Vp(un), Rp = Vp(Wi()), SA = bi, E1 = Vp(qn()), G7 = dr, I$ = vs, V$ = b3, Xb = J9, rmt = ui, or = {}, nmt = 1.2 / 0.85, imt = {
|
|
65853
65853
|
fontfamily: 1,
|
|
65854
65854
|
fontsize: 1,
|
|
65855
65855
|
fontweight: 1,
|
|
@@ -66441,7 +66441,7 @@ var lmt = I && I.__createBinding || (Object.create ? function(e, t, r, n) {
|
|
|
66441
66441
|
return cmt(t, e), t;
|
|
66442
66442
|
}, CA = I && I.__importDefault || function(e) {
|
|
66443
66443
|
return e && e.__esModule ? e : { default: e };
|
|
66444
|
-
}, Qa = umt(gr), Oe = bi, HA = CA(S2), t6 = CA(da), hmt = CA(qn()), Lr = dr, w2 =
|
|
66444
|
+
}, Qa = umt(gr), Oe = bi, HA = CA(S2), t6 = CA(da), hmt = CA(qn()), Lr = dr, w2 = b3;
|
|
66445
66445
|
new Qa.RegExpMap("letter", t6.default.variable, /[a-z]/i);
|
|
66446
66446
|
new Qa.RegExpMap("digit", t6.default.digit, /[0-9.,]/);
|
|
66447
66447
|
new Qa.RegExpMap("command", t6.default.controlSequence, /^\\/);
|
|
@@ -67956,7 +67956,7 @@ var $mt = I && I.__extends || /* @__PURE__ */ function() {
|
|
|
67956
67956
|
};
|
|
67957
67957
|
Object.defineProperty(kp, "__esModule", { value: !0 });
|
|
67958
67958
|
kp.CommonOutputJax = void 0;
|
|
67959
|
-
var nI = nh, Lv = U7, zmt = ui, Umt =
|
|
67959
|
+
var nI = nh, Lv = U7, zmt = ui, Umt = b3, Zmt = ih, Wmt = Bp, qmt = function(e) {
|
|
67960
67960
|
$mt(t, e);
|
|
67961
67961
|
function t(r, n, i) {
|
|
67962
67962
|
r === void 0 && (r = null), n === void 0 && (n = null), i === void 0 && (i = null);
|
|
@@ -68312,7 +68312,7 @@ Fp.CommonWrapperFactory = rgt;
|
|
|
68312
68312
|
var lc = {}, cc = {}, pa = {};
|
|
68313
68313
|
Object.defineProperty(pa, "__esModule", { value: !0 });
|
|
68314
68314
|
pa.BBox = void 0;
|
|
68315
|
-
var u4 =
|
|
68315
|
+
var u4 = b3, ngt = function() {
|
|
68316
68316
|
function e(t) {
|
|
68317
68317
|
t === void 0 && (t = { w: 0, h: -u4.BIGDIMEN, d: -u4.BIGDIMEN }), this.w = t.w || 0, this.h = "h" in t ? t.h : -u4.BIGDIMEN, this.d = "d" in t ? t.d : -u4.BIGDIMEN, this.L = this.R = this.ic = this.sk = this.dx = 0, this.scale = this.rscale = 1, this.pwidth = "";
|
|
68318
68318
|
}
|
|
@@ -68810,7 +68810,7 @@ var agt = I && I.__extends || /* @__PURE__ */ function() {
|
|
|
68810
68810
|
};
|
|
68811
68811
|
Object.defineProperty(jp, "__esModule", { value: !0 });
|
|
68812
68812
|
jp.CommonWrapper = void 0;
|
|
68813
|
-
var hgt = $p, sI = dr, fgt = s1, uc = cgt(
|
|
68813
|
+
var hgt = $p, sI = dr, fgt = s1, uc = cgt(b3), lI = ih, hc = pa, cI = M2, uI = 2 / 18;
|
|
68814
68814
|
function hI(e, t) {
|
|
68815
68815
|
return e ? t < uI ? 0 : uI : t;
|
|
68816
68816
|
}
|
|
@@ -72335,7 +72335,7 @@ function $yt() {
|
|
|
72335
72335
|
}((0, n.CommonMfencedMixin)(r.SVGWrapper));
|
|
72336
72336
|
return wc.SVGmfenced = o, wc;
|
|
72337
72337
|
}
|
|
72338
|
-
var
|
|
72338
|
+
var $3 = {}, Ec = {}, em = {}, zyt = I && I.__extends || /* @__PURE__ */ function() {
|
|
72339
72339
|
var e = function(t, r) {
|
|
72340
72340
|
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
|
|
72341
72341
|
n.__proto__ = i;
|
|
@@ -72662,7 +72662,7 @@ function Wyt() {
|
|
|
72662
72662
|
}((0, n.CommonScriptbaseMixin)(r.SVGWrapper));
|
|
72663
72663
|
return Ec.SVGscriptbase = i, Ec;
|
|
72664
72664
|
}
|
|
72665
|
-
var
|
|
72665
|
+
var s3 = {}, DA = I && I.__extends || /* @__PURE__ */ function() {
|
|
72666
72666
|
var e = function(t, r) {
|
|
72667
72667
|
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
|
|
72668
72668
|
n.__proto__ = i;
|
|
@@ -72700,8 +72700,8 @@ var a3 = {}, DA = I && I.__extends || /* @__PURE__ */ function() {
|
|
|
72700
72700
|
}
|
|
72701
72701
|
return o;
|
|
72702
72702
|
};
|
|
72703
|
-
Object.defineProperty(
|
|
72704
|
-
|
|
72703
|
+
Object.defineProperty(s3, "__esModule", { value: !0 });
|
|
72704
|
+
s3.CommonMsubsupMixin = s3.CommonMsupMixin = s3.CommonMsubMixin = void 0;
|
|
72705
72705
|
function qyt(e) {
|
|
72706
72706
|
var t;
|
|
72707
72707
|
return t = function(r) {
|
|
@@ -72720,7 +72720,7 @@ function qyt(e) {
|
|
|
72720
72720
|
}, n;
|
|
72721
72721
|
}(e), t.useIC = !1, t;
|
|
72722
72722
|
}
|
|
72723
|
-
|
|
72723
|
+
s3.CommonMsubMixin = qyt;
|
|
72724
72724
|
function Gyt(e) {
|
|
72725
72725
|
return function(t) {
|
|
72726
72726
|
DA(r, t);
|
|
@@ -72739,7 +72739,7 @@ function Gyt(e) {
|
|
|
72739
72739
|
}, r;
|
|
72740
72740
|
}(e);
|
|
72741
72741
|
}
|
|
72742
|
-
|
|
72742
|
+
s3.CommonMsupMixin = Gyt;
|
|
72743
72743
|
function Xyt(e) {
|
|
72744
72744
|
var t;
|
|
72745
72745
|
return t = function(r) {
|
|
@@ -72781,8 +72781,8 @@ function Xyt(e) {
|
|
|
72781
72781
|
}, n;
|
|
72782
72782
|
}(e), t.useIC = !1, t;
|
|
72783
72783
|
}
|
|
72784
|
-
|
|
72785
|
-
var
|
|
72784
|
+
s3.CommonMsubsupMixin = Xyt;
|
|
72785
|
+
var l3 = {}, IA = I && I.__extends || /* @__PURE__ */ function() {
|
|
72786
72786
|
var e = function(t, r) {
|
|
72787
72787
|
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
|
|
72788
72788
|
n.__proto__ = i;
|
|
@@ -72810,8 +72810,8 @@ var s3 = {}, IA = I && I.__extends || /* @__PURE__ */ function() {
|
|
|
72810
72810
|
return e;
|
|
72811
72811
|
}, S7.apply(this, arguments);
|
|
72812
72812
|
};
|
|
72813
|
-
Object.defineProperty(
|
|
72814
|
-
|
|
72813
|
+
Object.defineProperty(l3, "__esModule", { value: !0 });
|
|
72814
|
+
l3.MmlMsup = l3.MmlMsub = l3.MmlMsubsup = void 0;
|
|
72815
72815
|
var RI = dr, Mu = function(e) {
|
|
72816
72816
|
IA(t, e);
|
|
72817
72817
|
function t() {
|
|
@@ -72852,7 +72852,7 @@ var RI = dr, Mu = function(e) {
|
|
|
72852
72852
|
a[0].setInheritedAttributes(r, n, i, o), a[1].setInheritedAttributes(r, !1, i + 1, o || this.sub === 1), a[2] && a[2].setInheritedAttributes(r, !1, i + 1, o || this.sub === 2);
|
|
72853
72853
|
}, t.defaults = S7(S7({}, RI.AbstractMmlBaseNode.defaults), { subscriptshift: "", superscriptshift: "" }), t;
|
|
72854
72854
|
}(RI.AbstractMmlBaseNode);
|
|
72855
|
-
|
|
72855
|
+
l3.MmlMsubsup = Mu;
|
|
72856
72856
|
var Kyt = function(e) {
|
|
72857
72857
|
IA(t, e);
|
|
72858
72858
|
function t() {
|
|
@@ -72872,7 +72872,7 @@ var Kyt = function(e) {
|
|
|
72872
72872
|
configurable: !0
|
|
72873
72873
|
}), t.defaults = S7({}, Mu.defaults), t;
|
|
72874
72874
|
}(Mu);
|
|
72875
|
-
|
|
72875
|
+
l3.MmlMsub = Kyt;
|
|
72876
72876
|
var Yyt = function(e) {
|
|
72877
72877
|
IA(t, e);
|
|
72878
72878
|
function t() {
|
|
@@ -72904,11 +72904,11 @@ var Yyt = function(e) {
|
|
|
72904
72904
|
configurable: !0
|
|
72905
72905
|
}), t.defaults = S7({}, Mu.defaults), t;
|
|
72906
72906
|
}(Mu);
|
|
72907
|
-
|
|
72907
|
+
l3.MmlMsup = Yyt;
|
|
72908
72908
|
var kI;
|
|
72909
72909
|
function VA() {
|
|
72910
72910
|
if (kI)
|
|
72911
|
-
return
|
|
72911
|
+
return $3;
|
|
72912
72912
|
kI = 1;
|
|
72913
72913
|
var e = I && I.__extends || /* @__PURE__ */ function() {
|
|
72914
72914
|
var Q = function(p, m) {
|
|
@@ -72948,15 +72948,15 @@ function VA() {
|
|
|
72948
72948
|
}
|
|
72949
72949
|
return L;
|
|
72950
72950
|
};
|
|
72951
|
-
Object.defineProperty(
|
|
72952
|
-
var r = Wyt(), n =
|
|
72951
|
+
Object.defineProperty($3, "__esModule", { value: !0 }), $3.SVGmsubsup = $3.SVGmsup = $3.SVGmsub = void 0;
|
|
72952
|
+
var r = Wyt(), n = s3, i = s3, o = s3, a = l3, s = function(Q) {
|
|
72953
72953
|
e(p, Q);
|
|
72954
72954
|
function p() {
|
|
72955
72955
|
return Q !== null && Q.apply(this, arguments) || this;
|
|
72956
72956
|
}
|
|
72957
72957
|
return p.kind = a.MmlMsub.prototype.kind, p;
|
|
72958
72958
|
}((0, n.CommonMsubMixin)(r.SVGscriptbase));
|
|
72959
|
-
|
|
72959
|
+
$3.SVGmsub = s;
|
|
72960
72960
|
var h = function(Q) {
|
|
72961
72961
|
e(p, Q);
|
|
72962
72962
|
function p() {
|
|
@@ -72964,7 +72964,7 @@ function VA() {
|
|
|
72964
72964
|
}
|
|
72965
72965
|
return p.kind = a.MmlMsup.prototype.kind, p;
|
|
72966
72966
|
}((0, i.CommonMsupMixin)(r.SVGscriptbase));
|
|
72967
|
-
|
|
72967
|
+
$3.SVGmsup = h;
|
|
72968
72968
|
var T = function(Q) {
|
|
72969
72969
|
e(p, Q);
|
|
72970
72970
|
function p() {
|
|
@@ -72975,9 +72975,9 @@ function VA() {
|
|
|
72975
72975
|
L.toSVG(y), C.toSVG(y), E.toSVG(y), E.place(H, Z), C.place(H + V, $);
|
|
72976
72976
|
}, p.kind = a.MmlMsubsup.prototype.kind, p;
|
|
72977
72977
|
}((0, o.CommonMsubsupMixin)(r.SVGscriptbase));
|
|
72978
|
-
return
|
|
72978
|
+
return $3.SVGmsubsup = T, $3;
|
|
72979
72979
|
}
|
|
72980
|
-
var
|
|
72980
|
+
var z3 = {}, c3 = {}, RA = I && I.__extends || /* @__PURE__ */ function() {
|
|
72981
72981
|
var e = function(t, r) {
|
|
72982
72982
|
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
|
|
72983
72983
|
n.__proto__ = i;
|
|
@@ -73020,8 +73020,8 @@ var $3 = {}, l3 = {}, RA = I && I.__extends || /* @__PURE__ */ function() {
|
|
|
73020
73020
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
73021
73021
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
73022
73022
|
};
|
|
73023
|
-
Object.defineProperty(
|
|
73024
|
-
|
|
73023
|
+
Object.defineProperty(c3, "__esModule", { value: !0 });
|
|
73024
|
+
c3.CommonMunderoverMixin = c3.CommonMoverMixin = c3.CommonMunderMixin = void 0;
|
|
73025
73025
|
function Jyt(e) {
|
|
73026
73026
|
return function(t) {
|
|
73027
73027
|
RA(r, t);
|
|
@@ -73048,7 +73048,7 @@ function Jyt(e) {
|
|
|
73048
73048
|
}, r;
|
|
73049
73049
|
}(e);
|
|
73050
73050
|
}
|
|
73051
|
-
|
|
73051
|
+
c3.CommonMunderMixin = Jyt;
|
|
73052
73052
|
function t_t(e) {
|
|
73053
73053
|
return function(t) {
|
|
73054
73054
|
RA(r, t);
|
|
@@ -73077,7 +73077,7 @@ function t_t(e) {
|
|
|
73077
73077
|
}, r;
|
|
73078
73078
|
}(e);
|
|
73079
73079
|
}
|
|
73080
|
-
|
|
73080
|
+
c3.CommonMoverMixin = t_t;
|
|
73081
73081
|
function e_t(e) {
|
|
73082
73082
|
return function(t) {
|
|
73083
73083
|
RA(r, t);
|
|
@@ -73126,7 +73126,7 @@ function e_t(e) {
|
|
|
73126
73126
|
}, r;
|
|
73127
73127
|
}(e);
|
|
73128
73128
|
}
|
|
73129
|
-
|
|
73129
|
+
c3.CommonMunderoverMixin = e_t;
|
|
73130
73130
|
var Ts = {}, BA = I && I.__extends || /* @__PURE__ */ function() {
|
|
73131
73131
|
var e = function(t, r) {
|
|
73132
73132
|
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
|
|
@@ -73269,7 +73269,7 @@ Ts.MmlMover = n_t;
|
|
|
73269
73269
|
var FI;
|
|
73270
73270
|
function i_t() {
|
|
73271
73271
|
if (FI)
|
|
73272
|
-
return
|
|
73272
|
+
return z3;
|
|
73273
73273
|
FI = 1;
|
|
73274
73274
|
var e = I && I.__extends || /* @__PURE__ */ function() {
|
|
73275
73275
|
var Q = function(p, m) {
|
|
@@ -73309,8 +73309,8 @@ function i_t() {
|
|
|
73309
73309
|
}
|
|
73310
73310
|
return L;
|
|
73311
73311
|
};
|
|
73312
|
-
Object.defineProperty(
|
|
73313
|
-
var r = VA(), n =
|
|
73312
|
+
Object.defineProperty(z3, "__esModule", { value: !0 }), z3.SVGmunderover = z3.SVGmover = z3.SVGmunder = void 0;
|
|
73313
|
+
var r = VA(), n = c3, i = c3, o = c3, a = Ts, s = function(Q) {
|
|
73314
73314
|
e(p, Q);
|
|
73315
73315
|
function p() {
|
|
73316
73316
|
return Q !== null && Q.apply(this, arguments) || this;
|
|
@@ -73326,7 +73326,7 @@ function i_t() {
|
|
|
73326
73326
|
L.place(G, 0), C.place(ot, $);
|
|
73327
73327
|
}, p.kind = a.MmlMunder.prototype.kind, p;
|
|
73328
73328
|
}((0, n.CommonMunderMixin)(r.SVGmsub));
|
|
73329
|
-
|
|
73329
|
+
z3.SVGmunder = s;
|
|
73330
73330
|
var h = function(Q) {
|
|
73331
73331
|
e(p, Q);
|
|
73332
73332
|
function p() {
|
|
@@ -73343,7 +73343,7 @@ function i_t() {
|
|
|
73343
73343
|
L.place(G, 0), C.place(ot, $);
|
|
73344
73344
|
}, p.kind = a.MmlMover.prototype.kind, p;
|
|
73345
73345
|
}((0, i.CommonMoverMixin)(r.SVGmsup));
|
|
73346
|
-
|
|
73346
|
+
z3.SVGmover = h;
|
|
73347
73347
|
var T = function(Q) {
|
|
73348
73348
|
e(p, Q);
|
|
73349
73349
|
function p() {
|
|
@@ -73360,7 +73360,7 @@ function i_t() {
|
|
|
73360
73360
|
L.place(pt, 0), E.place(bt, ot), C.place(Pt, G);
|
|
73361
73361
|
}, p.kind = a.MmlMunderover.prototype.kind, p;
|
|
73362
73362
|
}((0, o.CommonMunderoverMixin)(r.SVGmsubsup));
|
|
73363
|
-
return
|
|
73363
|
+
return z3.SVGmunderover = T, z3;
|
|
73364
73364
|
}
|
|
73365
73365
|
var C6 = {}, W$ = {};
|
|
73366
73366
|
(function(e) {
|
|
@@ -73534,7 +73534,7 @@ var ds = {}, FA = I && I.__extends || /* @__PURE__ */ function() {
|
|
|
73534
73534
|
};
|
|
73535
73535
|
Object.defineProperty(ds, "__esModule", { value: !0 });
|
|
73536
73536
|
ds.MmlNone = ds.MmlMprescripts = ds.MmlMmultiscripts = void 0;
|
|
73537
|
-
var sQ = dr, NI =
|
|
73537
|
+
var sQ = dr, NI = l3, o_t = function(e) {
|
|
73538
73538
|
FA(t, e);
|
|
73539
73539
|
function t() {
|
|
73540
73540
|
return e !== null && e.apply(this, arguments) || this;
|
|
@@ -73773,7 +73773,7 @@ var h_t = I && I.__extends || /* @__PURE__ */ function() {
|
|
|
73773
73773
|
};
|
|
73774
73774
|
Object.defineProperty(rm, "__esModule", { value: !0 });
|
|
73775
73775
|
rm.CommonMtableMixin = void 0;
|
|
73776
|
-
var T_t = pa,
|
|
73776
|
+
var T_t = pa, U3 = s1, Z3 = O7;
|
|
73777
73777
|
function d_t(e) {
|
|
73778
73778
|
return function(t) {
|
|
73779
73779
|
h_t(r, t);
|
|
@@ -73781,7 +73781,7 @@ function d_t(e) {
|
|
|
73781
73781
|
for (var n = [], i = 0; i < arguments.length; i++)
|
|
73782
73782
|
n[i] = arguments[i];
|
|
73783
73783
|
var o = t.apply(this, f_t([], Fa(n), !1)) || this;
|
|
73784
|
-
o.numCols = 0, o.numRows = 0, o.data = null, o.pwidthCells = [], o.pWidth = 0, o.numCols = (0,
|
|
73784
|
+
o.numCols = 0, o.numRows = 0, o.data = null, o.pwidthCells = [], o.pWidth = 0, o.numCols = (0, Z3.max)(o.tableRows.map(function(s) {
|
|
73785
73785
|
return s.numCells;
|
|
73786
73786
|
})), o.numRows = o.childNodes.length, o.hasLabels = o.childNodes.reduce(function(s, h) {
|
|
73787
73787
|
return s || h.node.isKind("mlabeledtr");
|
|
@@ -73808,7 +73808,7 @@ function d_t(e) {
|
|
|
73808
73808
|
this.bbox.pwidth = T_t.BBox.fullWidth;
|
|
73809
73809
|
else {
|
|
73810
73810
|
var n = this.node.attributes.get("width");
|
|
73811
|
-
(0,
|
|
73811
|
+
(0, U3.isPercent)(n) && (this.bbox.pwidth = n);
|
|
73812
73812
|
}
|
|
73813
73813
|
}, r.prototype.stretchRows = function() {
|
|
73814
73814
|
for (var n = this.node.attributes.get("equalrows"), i = n ? this.getEqualRowHeight() : 0, o = n ? this.getTableData() : { H: [0], D: [0] }, a = o.H, s = o.D, h = this.tableRows, T = 0; T < this.numRows; T++) {
|
|
@@ -73909,27 +73909,27 @@ function d_t(e) {
|
|
|
73909
73909
|
var o = this.getTableData(), a = o.H, s = o.D, h, T;
|
|
73910
73910
|
if (this.node.attributes.get("equalrows")) {
|
|
73911
73911
|
var Q = this.getEqualRowHeight();
|
|
73912
|
-
h = (0,
|
|
73912
|
+
h = (0, Z3.sum)([].concat(this.rLines, this.rSpace)) + Q * this.numRows;
|
|
73913
73913
|
} else
|
|
73914
|
-
h = (0,
|
|
73914
|
+
h = (0, Z3.sum)(a.concat(s, this.rLines, this.rSpace));
|
|
73915
73915
|
h += 2 * (this.fLine + this.fSpace[1]);
|
|
73916
73916
|
var p = this.getComputedWidths();
|
|
73917
|
-
T = (0,
|
|
73917
|
+
T = (0, Z3.sum)(p.concat(this.cLines, this.cSpace)) + 2 * (this.fLine + this.fSpace[0]);
|
|
73918
73918
|
var m = this.node.attributes.get("width");
|
|
73919
73919
|
m !== "auto" && (T = Math.max(this.length2em(m, 0) + 2 * this.fLine, T));
|
|
73920
73920
|
var y = Fa(this.getBBoxHD(h), 2), b = y[0], L = y[1];
|
|
73921
73921
|
n.h = b, n.d = L, n.w = T;
|
|
73922
73922
|
var C = Fa(this.getBBoxLR(), 2), E = C[0], H = C[1];
|
|
73923
|
-
n.L = E, n.R = H, (0,
|
|
73923
|
+
n.L = E, n.R = H, (0, U3.isPercent)(m) || this.setColumnPWidths();
|
|
73924
73924
|
}, r.prototype.setChildPWidths = function(n, i, o) {
|
|
73925
73925
|
var a = this.node.attributes.get("width");
|
|
73926
|
-
if (!(0,
|
|
73926
|
+
if (!(0, U3.isPercent)(a))
|
|
73927
73927
|
return !1;
|
|
73928
73928
|
this.hasLabels || (this.bbox.pwidth = "", this.container.bbox.pwidth = "");
|
|
73929
73929
|
var s = this.bbox, h = s.w, T = s.L, Q = s.R, p = this.node.attributes.get("data-width-includes-label"), m = Math.max(h, this.length2em(a, Math.max(i, T + h + Q))) - (p ? T + Q : 0), y = this.node.attributes.get("equalcolumns") ? Array(this.numCols).fill(this.percent(1 / Math.max(1, this.numCols))) : this.getColumnAttributes("columnwidth", 0);
|
|
73930
73930
|
this.cWidths = this.getColumnWidthsFixed(y, m);
|
|
73931
73931
|
var b = this.getComputedWidths();
|
|
73932
|
-
return this.pWidth = (0,
|
|
73932
|
+
return this.pWidth = (0, Z3.sum)(b.concat(this.cLines, this.cSpace)) + 2 * (this.fLine + this.fSpace[0]), this.isTop && (this.bbox.w = this.pWidth), this.setColumnPWidths(), this.pWidth !== h && this.parent.invalidateBBox(), this.pWidth !== h;
|
|
73933
73933
|
}, r.prototype.setColumnPWidths = function() {
|
|
73934
73934
|
var n, i, o = this.cWidths;
|
|
73935
73935
|
try {
|
|
@@ -73986,42 +73986,42 @@ function d_t(e) {
|
|
|
73986
73986
|
var n = this, i = this.getTableData().W, o = Array.from(i.keys()).map(function(a) {
|
|
73987
73987
|
return typeof n.cWidths[a] == "number" ? n.cWidths[a] : i[a];
|
|
73988
73988
|
});
|
|
73989
|
-
return this.node.attributes.get("equalcolumns") && (o = Array(o.length).fill((0,
|
|
73989
|
+
return this.node.attributes.get("equalcolumns") && (o = Array(o.length).fill((0, Z3.max)(o))), o;
|
|
73990
73990
|
}, r.prototype.getColumnWidths = function() {
|
|
73991
73991
|
var n = this.node.attributes.get("width");
|
|
73992
73992
|
if (this.node.attributes.get("equalcolumns"))
|
|
73993
73993
|
return this.getEqualColumns(n);
|
|
73994
73994
|
var i = this.getColumnAttributes("columnwidth", 0);
|
|
73995
|
-
return n === "auto" ? this.getColumnWidthsAuto(i) : (0,
|
|
73995
|
+
return n === "auto" ? this.getColumnWidthsAuto(i) : (0, U3.isPercent)(n) ? this.getColumnWidthsPercent(i) : this.getColumnWidthsFixed(i, this.length2em(n));
|
|
73996
73996
|
}, r.prototype.getEqualColumns = function(n) {
|
|
73997
73997
|
var i = Math.max(1, this.numCols), o;
|
|
73998
73998
|
if (n === "auto") {
|
|
73999
73999
|
var a = this.getTableData().W;
|
|
74000
|
-
o = (0,
|
|
74001
|
-
} else if ((0,
|
|
74000
|
+
o = (0, Z3.max)(a);
|
|
74001
|
+
} else if ((0, U3.isPercent)(n))
|
|
74002
74002
|
o = this.percent(1 / i);
|
|
74003
74003
|
else {
|
|
74004
|
-
var s = (0,
|
|
74004
|
+
var s = (0, Z3.sum)([].concat(this.cLines, this.cSpace)) + 2 * this.fSpace[0];
|
|
74005
74005
|
o = Math.max(0, this.length2em(n) - s) / i;
|
|
74006
74006
|
}
|
|
74007
74007
|
return Array(this.numCols).fill(o);
|
|
74008
74008
|
}, r.prototype.getColumnWidthsAuto = function(n) {
|
|
74009
74009
|
var i = this;
|
|
74010
74010
|
return n.map(function(o) {
|
|
74011
|
-
return o === "auto" || o === "fit" ? null : (0,
|
|
74011
|
+
return o === "auto" || o === "fit" ? null : (0, U3.isPercent)(o) ? o : i.length2em(o);
|
|
74012
74012
|
});
|
|
74013
74013
|
}, r.prototype.getColumnWidthsPercent = function(n) {
|
|
74014
74014
|
var i = this, o = n.indexOf("fit") >= 0, a = (o ? this.getTableData() : { W: null }).W;
|
|
74015
74015
|
return Array.from(n.keys()).map(function(s) {
|
|
74016
74016
|
var h = n[s];
|
|
74017
|
-
return h === "fit" ? null : h === "auto" ? o ? a[s] : null : (0,
|
|
74017
|
+
return h === "fit" ? null : h === "auto" ? o ? a[s] : null : (0, U3.isPercent)(h) ? h : i.length2em(h);
|
|
74018
74018
|
});
|
|
74019
74019
|
}, r.prototype.getColumnWidthsFixed = function(n, i) {
|
|
74020
74020
|
var o = this, a = Array.from(n.keys()), s = a.filter(function(b) {
|
|
74021
74021
|
return n[b] === "fit";
|
|
74022
74022
|
}), h = a.filter(function(b) {
|
|
74023
74023
|
return n[b] === "auto";
|
|
74024
|
-
}), T = s.length || h.length, Q = (T ? this.getTableData() : { W: null }).W, p = i - (0,
|
|
74024
|
+
}), T = s.length || h.length, Q = (T ? this.getTableData() : { W: null }).W, p = i - (0, Z3.sum)([].concat(this.cLines, this.cSpace)) - 2 * this.fSpace[0], m = p;
|
|
74025
74025
|
a.forEach(function(b) {
|
|
74026
74026
|
var L = n[b];
|
|
74027
74027
|
m -= L === "fit" || L === "auto" ? Q[b] : o.length2em(L, p);
|
|
@@ -74057,7 +74057,7 @@ function d_t(e) {
|
|
|
74057
74057
|
});
|
|
74058
74058
|
return n.unshift(this.fSpace[0]), n.push(this.fSpace[0]), n;
|
|
74059
74059
|
}, r.prototype.getAlignmentRow = function() {
|
|
74060
|
-
var n = Fa((0,
|
|
74060
|
+
var n = Fa((0, U3.split)(this.node.attributes.get("align")), 2), i = n[0], o = n[1];
|
|
74061
74061
|
if (o == null)
|
|
74062
74062
|
return [i, null];
|
|
74063
74063
|
var a = parseInt(o);
|
|
@@ -74080,7 +74080,7 @@ function d_t(e) {
|
|
|
74080
74080
|
return a.length > o && a.splice(o), a;
|
|
74081
74081
|
}, r.prototype.getAttributeArray = function(n) {
|
|
74082
74082
|
var i = this.node.attributes.get(n);
|
|
74083
|
-
return i ? (0,
|
|
74083
|
+
return i ? (0, U3.split)(i) : [this.node.attributes.getDefault(n)];
|
|
74084
74084
|
}, r.prototype.addEm = function(n, i) {
|
|
74085
74085
|
var o = this;
|
|
74086
74086
|
return i === void 0 && (i = 1), n ? n.map(function(a) {
|
|
@@ -82359,7 +82359,7 @@ function nz() {
|
|
|
82359
82359
|
return C;
|
|
82360
82360
|
};
|
|
82361
82361
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.SVG = e.XLINKNS = e.SVGNS = void 0;
|
|
82362
|
-
var i = kp, o = hvt(), a = cm, s = rg, h = s1, T =
|
|
82362
|
+
var i = kp, o = hvt(), a = cm, s = rg, h = s1, T = b3;
|
|
82363
82363
|
e.SVGNS = "http://www.w3.org/2000/svg", e.XLINKNS = "http://www.w3.org/1999/xlink";
|
|
82364
82364
|
var Q = function(p) {
|
|
82365
82365
|
t(m, p);
|
|
@@ -83305,7 +83305,7 @@ Tg.MathChoice = ebt;
|
|
|
83305
83305
|
var Or;
|
|
83306
83306
|
Object.defineProperty(cg, "__esModule", { value: !0 });
|
|
83307
83307
|
cg.MML = void 0;
|
|
83308
|
-
var lT = dr, hV = oh, fV = ah, TV = sh, dV = W5, QV = ch, pV = hh, mV = lh, cT = C5, gV = dh, yV = Qh, _V = ph, vV = ug, xV = uh, bV = fh, LV = Th, wV = mh, AV = vh, EV = _h, N0 =
|
|
83308
|
+
var lT = dr, hV = oh, fV = ah, TV = sh, dV = W5, QV = ch, pV = hh, mV = lh, cT = C5, gV = dh, yV = Qh, _V = ph, vV = ug, xV = uh, bV = fh, LV = Th, wV = mh, AV = vh, EV = _h, N0 = l3, j0 = Ts, $0 = ds, MV = gh, uT = O5, SV = yh, CV = hg, HV = fg, OV = xh, z0 = Qs, PV = bh, DV = Tg;
|
|
83309
83309
|
cg.MML = (Or = {}, Or[hV.MmlMath.prototype.kind] = hV.MmlMath, Or[fV.MmlMi.prototype.kind] = fV.MmlMi, Or[TV.MmlMn.prototype.kind] = TV.MmlMn, Or[dV.MmlMo.prototype.kind] = dV.MmlMo, Or[QV.MmlMtext.prototype.kind] = QV.MmlMtext, Or[pV.MmlMspace.prototype.kind] = pV.MmlMspace, Or[mV.MmlMs.prototype.kind] = mV.MmlMs, Or[cT.MmlMrow.prototype.kind] = cT.MmlMrow, Or[cT.MmlInferredMrow.prototype.kind] = cT.MmlInferredMrow, Or[gV.MmlMfrac.prototype.kind] = gV.MmlMfrac, Or[yV.MmlMsqrt.prototype.kind] = yV.MmlMsqrt, Or[_V.MmlMroot.prototype.kind] = _V.MmlMroot, Or[vV.MmlMstyle.prototype.kind] = vV.MmlMstyle, Or[xV.MmlMerror.prototype.kind] = xV.MmlMerror, Or[bV.MmlMpadded.prototype.kind] = bV.MmlMpadded, Or[LV.MmlMphantom.prototype.kind] = LV.MmlMphantom, Or[wV.MmlMfenced.prototype.kind] = wV.MmlMfenced, Or[AV.MmlMenclose.prototype.kind] = AV.MmlMenclose, Or[EV.MmlMaction.prototype.kind] = EV.MmlMaction, Or[N0.MmlMsub.prototype.kind] = N0.MmlMsub, Or[N0.MmlMsup.prototype.kind] = N0.MmlMsup, Or[N0.MmlMsubsup.prototype.kind] = N0.MmlMsubsup, Or[j0.MmlMunder.prototype.kind] = j0.MmlMunder, Or[j0.MmlMover.prototype.kind] = j0.MmlMover, Or[j0.MmlMunderover.prototype.kind] = j0.MmlMunderover, Or[$0.MmlMmultiscripts.prototype.kind] = $0.MmlMmultiscripts, Or[$0.MmlMprescripts.prototype.kind] = $0.MmlMprescripts, Or[$0.MmlNone.prototype.kind] = $0.MmlNone, Or[MV.MmlMtable.prototype.kind] = MV.MmlMtable, Or[uT.MmlMlabeledtr.prototype.kind] = uT.MmlMlabeledtr, Or[uT.MmlMtr.prototype.kind] = uT.MmlMtr, Or[SV.MmlMtd.prototype.kind] = SV.MmlMtd, Or[CV.MmlMaligngroup.prototype.kind] = CV.MmlMaligngroup, Or[HV.MmlMalignmark.prototype.kind] = HV.MmlMalignmark, Or[OV.MmlMglyph.prototype.kind] = OV.MmlMglyph, Or[z0.MmlSemantics.prototype.kind] = z0.MmlSemantics, Or[z0.MmlAnnotation.prototype.kind] = z0.MmlAnnotation, Or[z0.MmlAnnotationXML.prototype.kind] = z0.MmlAnnotationXML, Or[PV.TeXAtom.prototype.kind] = PV.TeXAtom, Or[DV.MathChoice.prototype.kind] = DV.MathChoice, Or[lT.TextNode.prototype.kind] = lT.TextNode, Or[lT.XMLNode.prototype.kind] = lT.XMLNode, Or);
|
|
83310
83310
|
var rbt = I && I.__extends || /* @__PURE__ */ function() {
|
|
83311
83311
|
var e = function(t, r) {
|
|
@@ -84757,7 +84757,7 @@ var Vbt = I && I.__createBinding || (Object.create ? function(e, t, r, n) {
|
|
|
84757
84757
|
return Rbt(t, e), t;
|
|
84758
84758
|
}, hz = I && I.__importDefault || function(e) {
|
|
84759
84759
|
return e && e.__esModule ? e : { default: e };
|
|
84760
|
-
}, gg = X7, xs = kbt(gr), ji = bi, K7 = hz(da), D6 = hz(qn()), Gc = dr, fL =
|
|
84760
|
+
}, gg = X7, xs = kbt(gr), ji = bi, K7 = hz(da), D6 = hz(qn()), Gc = dr, fL = b3;
|
|
84761
84761
|
new xs.CharacterMap("AMSmath-mathchar0mo", K7.default.mathchar0mo, {
|
|
84762
84762
|
iiiint: ["⨌", { texClass: Gc.TEXCLASS.OP }]
|
|
84763
84763
|
});
|
|
@@ -85859,8 +85859,8 @@ var tE = {}, dLt = I && I.__createBinding || (Object.create ? function(e, t, r,
|
|
|
85859
85859
|
return e && e.__esModule ? e : { default: e };
|
|
85860
85860
|
};
|
|
85861
85861
|
Object.defineProperty(tE, "__esModule", { value: !0 });
|
|
85862
|
-
var fa = eE(un), Xv = eE(Wi()), TL = eE(qn()), cs = pLt(xg),
|
|
85863
|
-
|
|
85862
|
+
var fa = eE(un), Xv = eE(Wi()), TL = eE(qn()), cs = pLt(xg), L3 = {};
|
|
85863
|
+
L3.Prooftree = function(e, t) {
|
|
85864
85864
|
e.Push(t);
|
|
85865
85865
|
var r = e.itemFactory.create("proofTree").setProperties({
|
|
85866
85866
|
name: t.getName(),
|
|
@@ -85870,7 +85870,7 @@ b3.Prooftree = function(e, t) {
|
|
|
85870
85870
|
});
|
|
85871
85871
|
return r;
|
|
85872
85872
|
};
|
|
85873
|
-
|
|
85873
|
+
L3.Axiom = function(e, t) {
|
|
85874
85874
|
var r = e.stack.Top();
|
|
85875
85875
|
if (r.kind !== "proofTree")
|
|
85876
85876
|
throw new fa.default("IllegalProofCommand", "Proof commands only allowed in prooftree environment.");
|
|
@@ -85884,7 +85884,7 @@ var vz = function(e, t) {
|
|
|
85884
85884
|
var n = e.create("node", "mspace", [], { width: ".5ex" }), i = e.create("node", "mspace", [], { width: ".5ex" });
|
|
85885
85885
|
return e.create("node", "mrow", NV(NV([n], _z(r), !1), [i], !1));
|
|
85886
85886
|
};
|
|
85887
|
-
|
|
85887
|
+
L3.Inference = function(e, t, r) {
|
|
85888
85888
|
var n = e.stack.Top();
|
|
85889
85889
|
if (n.kind !== "proofTree")
|
|
85890
85890
|
throw new fa.default("IllegalProofCommand", "Proof commands only allowed in prooftree environment.");
|
|
@@ -85915,26 +85915,26 @@ function xz(e, t, r, n, i, o, a) {
|
|
|
85915
85915
|
return T;
|
|
85916
85916
|
return T = e.create("node", "mrow", m), cs.setProperty(T, "labelledRule", y), T;
|
|
85917
85917
|
}
|
|
85918
|
-
|
|
85918
|
+
L3.Label = function(e, t, r) {
|
|
85919
85919
|
var n = e.stack.Top();
|
|
85920
85920
|
if (n.kind !== "proofTree")
|
|
85921
85921
|
throw new fa.default("IllegalProofCommand", "Proof commands only allowed in prooftree environment.");
|
|
85922
85922
|
var i = TL.default.internalMath(e, e.GetArgument(t), 0), o = i.length > 1 ? e.create("node", "mrow", i, {}) : i[0];
|
|
85923
85923
|
n.setProperty(r, o);
|
|
85924
85924
|
};
|
|
85925
|
-
|
|
85925
|
+
L3.SetLine = function(e, t, r, n) {
|
|
85926
85926
|
var i = e.stack.Top();
|
|
85927
85927
|
if (i.kind !== "proofTree")
|
|
85928
85928
|
throw new fa.default("IllegalProofCommand", "Proof commands only allowed in prooftree environment.");
|
|
85929
85929
|
i.setProperty("currentLine", r), n && i.setProperty("line", r);
|
|
85930
85930
|
};
|
|
85931
|
-
|
|
85931
|
+
L3.RootAtTop = function(e, t, r) {
|
|
85932
85932
|
var n = e.stack.Top();
|
|
85933
85933
|
if (n.kind !== "proofTree")
|
|
85934
85934
|
throw new fa.default("IllegalProofCommand", "Proof commands only allowed in prooftree environment.");
|
|
85935
85935
|
n.setProperty("rootAtTop", r);
|
|
85936
85936
|
};
|
|
85937
|
-
|
|
85937
|
+
L3.AxiomF = function(e, t) {
|
|
85938
85938
|
var r = e.stack.Top();
|
|
85939
85939
|
if (r.kind !== "proofTree")
|
|
85940
85940
|
throw new fa.default("IllegalProofCommand", "Proof commands only allowed in prooftree environment.");
|
|
@@ -85952,9 +85952,9 @@ function bz(e, t) {
|
|
|
85952
85952
|
var i = _z(n.split("\\fCenter"), 2), o = i[0], a = i[1], s = new Xv.default(o, e.stack.env, e.configuration).mml(), h = new Xv.default(a, e.stack.env, e.configuration).mml(), T = new Xv.default("\\fCenter", e.stack.env, e.configuration).mml(), Q = e.create("node", "mtd", [s], {}), p = e.create("node", "mtd", [T], {}), m = e.create("node", "mtd", [h], {}), y = e.create("node", "mtr", [Q, p, m], {}), b = e.create("node", "mtable", [y], { columnspacing: ".5ex", columnalign: "center 2" });
|
|
85953
85953
|
return cs.setProperty(b, "sequent", !0), e.configuration.addNode("sequent", y), b;
|
|
85954
85954
|
}
|
|
85955
|
-
|
|
85955
|
+
L3.FCenter = function(e, t) {
|
|
85956
85956
|
};
|
|
85957
|
-
|
|
85957
|
+
L3.InferenceF = function(e, t, r) {
|
|
85958
85958
|
var n = e.stack.Top();
|
|
85959
85959
|
if (n.kind !== "proofTree")
|
|
85960
85960
|
throw new fa.default("IllegalProofCommand", "Proof commands only allowed in prooftree environment.");
|
|
@@ -85969,7 +85969,7 @@ b3.InferenceF = function(e, t, r) {
|
|
|
85969
85969
|
var p = xz(e, h, [T], n.getProperty("left"), n.getProperty("right"), Q, i);
|
|
85970
85970
|
n.setProperty("left", null), n.setProperty("right", null), cs.setProperty(p, "inference", o), e.configuration.addNode("inference", p), n.Push(p);
|
|
85971
85971
|
};
|
|
85972
|
-
tE.default =
|
|
85972
|
+
tE.default = L3;
|
|
85973
85973
|
var Lz = I && I.__importDefault || function(e) {
|
|
85974
85974
|
return e && e.__esModule ? e : { default: e };
|
|
85975
85975
|
}, wz = Lz(tE), mLt = Lz(da), Az = gr;
|
|
@@ -87287,32 +87287,32 @@ var lE = {}, cE = {}, fwt = I && I.__importDefault || function(e) {
|
|
|
87287
87287
|
return e && e.__esModule ? e : { default: e };
|
|
87288
87288
|
};
|
|
87289
87289
|
Object.defineProperty(cE, "__esModule", { value: !0 });
|
|
87290
|
-
var
|
|
87290
|
+
var o3 = fwt(Wn), Eh = {};
|
|
87291
87291
|
Eh.Href = function(e, t) {
|
|
87292
87292
|
var r = e.GetArgument(t), n = Eg(e, t);
|
|
87293
|
-
|
|
87293
|
+
o3.default.setAttribute(n, "href", r), e.Push(n);
|
|
87294
87294
|
};
|
|
87295
87295
|
Eh.Class = function(e, t) {
|
|
87296
|
-
var r = e.GetArgument(t), n = Eg(e, t), i =
|
|
87297
|
-
i && (r = i + " " + r),
|
|
87296
|
+
var r = e.GetArgument(t), n = Eg(e, t), i = o3.default.getAttribute(n, "class");
|
|
87297
|
+
i && (r = i + " " + r), o3.default.setAttribute(n, "class", r), e.Push(n);
|
|
87298
87298
|
};
|
|
87299
87299
|
Eh.Style = function(e, t) {
|
|
87300
|
-
var r = e.GetArgument(t), n = Eg(e, t), i =
|
|
87301
|
-
i && (r.charAt(r.length - 1) !== ";" && (r += ";"), r = i + " " + r),
|
|
87300
|
+
var r = e.GetArgument(t), n = Eg(e, t), i = o3.default.getAttribute(n, "style");
|
|
87301
|
+
i && (r.charAt(r.length - 1) !== ";" && (r += ";"), r = i + " " + r), o3.default.setAttribute(n, "style", r), e.Push(n);
|
|
87302
87302
|
};
|
|
87303
87303
|
Eh.Id = function(e, t) {
|
|
87304
87304
|
var r = e.GetArgument(t), n = Eg(e, t);
|
|
87305
|
-
|
|
87305
|
+
o3.default.setAttribute(n, "id", r), e.Push(n);
|
|
87306
87306
|
};
|
|
87307
87307
|
var Eg = function(e, t) {
|
|
87308
87308
|
var r = e.ParseArg(t);
|
|
87309
|
-
if (!
|
|
87309
|
+
if (!o3.default.isInferred(r))
|
|
87310
87310
|
return r;
|
|
87311
|
-
var n =
|
|
87311
|
+
var n = o3.default.getChildren(r);
|
|
87312
87312
|
if (n.length === 1)
|
|
87313
87313
|
return n[0];
|
|
87314
87314
|
var i = e.create("node", "mrow");
|
|
87315
|
-
return
|
|
87315
|
+
return o3.default.copyChildren(r, i), o3.default.copyAttributes(r, i), i;
|
|
87316
87316
|
};
|
|
87317
87317
|
cE.default = Eh;
|
|
87318
87318
|
var Twt = I && I.__importDefault || function(e) {
|
|
@@ -87452,7 +87452,7 @@ function Bz() {
|
|
|
87452
87452
|
return E && E.__esModule ? E : { default: E };
|
|
87453
87453
|
};
|
|
87454
87454
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.MathtoolsMethods = void 0;
|
|
87455
|
-
var o = i(qn()), a = X7, s = i(S2), h = i(Wi()), T = i(un), Q = i(Wn), p = dr, m =
|
|
87455
|
+
var o = i(qn()), a = X7, s = i(S2), h = i(Wi()), T = i(un), Q = i(Wn), p = dr, m = b3, y = ui, b = i(Y7), L = i(wh), C = kz();
|
|
87456
87456
|
e.MathtoolsMethods = {
|
|
87457
87457
|
MtMatrix: function(E, H, V, B) {
|
|
87458
87458
|
var $ = E.GetBrackets("\\begin{".concat(H.getName(), "}"), "c");
|
|
@@ -90990,7 +90990,7 @@ var yAt = tn;
|
|
|
90990
90990
|
yE.TextcompConfiguration = yAt.Configuration.create("textcomp", {
|
|
90991
90991
|
handler: { macro: ["textcomp-macros"] }
|
|
90992
90992
|
});
|
|
90993
|
-
var Iu = {}, Gz = gr, ja = bi, Xz = J7, R6 =
|
|
90993
|
+
var Iu = {}, Gz = gr, ja = bi, Xz = J7, R6 = b3;
|
|
90994
90994
|
new Gz.MacroMap("text-special", {
|
|
90995
90995
|
$: "Math",
|
|
90996
90996
|
"%": "Comment",
|
|
@@ -92089,20 +92089,20 @@ const FAt = [
|
|
|
92089
92089
|
class c2 {
|
|
92090
92090
|
}
|
|
92091
92091
|
ut(c2, "FUNCTIONAL", "functional"), ut(c2, "ANATOMICAL", "anatomical"), ut(c2, "CENTRELINE", "centreline"), ut(c2, "GENERIC", "flatmap");
|
|
92092
|
-
var s7, l7,
|
|
92092
|
+
var s7, l7, t3, to, c7, os, m5, A9, bL;
|
|
92093
92093
|
class UAt {
|
|
92094
92094
|
constructor(t, r, n, i) {
|
|
92095
92095
|
Rt(this, A9);
|
|
92096
92096
|
Rt(this, s7, void 0);
|
|
92097
92097
|
Rt(this, l7, []);
|
|
92098
|
-
Rt(this,
|
|
92098
|
+
Rt(this, t3, "");
|
|
92099
92099
|
Rt(this, to, void 0);
|
|
92100
92100
|
Rt(this, c7, void 0);
|
|
92101
92101
|
Rt(this, os, -1);
|
|
92102
92102
|
Rt(this, m5, /* @__PURE__ */ new Map());
|
|
92103
|
-
qt(this, to, r), qt(this, s7, r.url()), this.__id = n.id, this.__uuid = n.uuid, this.__details = n.details, this.__provenance = n.provenance, this.__created = n.created, this.__taxon = n.taxon, this.__biologicalSex = n.biologicalSex, this._mapNumber = n.number, K(this, l7).push(n.callback), this._layers = n.layers, this.
|
|
92103
|
+
qt(this, to, r), qt(this, s7, r.url()), this.__id = n.id, this.__uuid = n.uuid, this.__details = n.details, this.__provenance = n.provenance, this.__created = n.created, this.__taxon = n.taxon, this.__biologicalSex = n.biologicalSex, this._mapNumber = n.number, K(this, l7).push(n.callback), this._layers = n.layers, this._options = n.options, this._pathways = n.pathways, this._resolve = i, this._map = null, this.__searchIndex = new Xot(this), this.__idToAnnotation = /* @__PURE__ */ new Map(), this.__datasetToFeatureIds = /* @__PURE__ */ new Map(), this.__modelToFeatureIds = /* @__PURE__ */ new Map(), this.__mapSourceToFeatureIds = /* @__PURE__ */ new Map(), this.__annIdToFeatureId = /* @__PURE__ */ new Map(), this.__taxonToFeatureIds = /* @__PURE__ */ new Map(), this.__featurePropertyValues = /* @__PURE__ */ new Map(), qt(this, c7, new n6t(n.sparcTermGraph));
|
|
92104
92104
|
const o = n.details.connectivity;
|
|
92105
|
-
o === void 0 ? qt(this,
|
|
92105
|
+
o === void 0 ? qt(this, t3, K(this, to).latestSource) : "knowledge-source" in o ? qt(this, t3, o["knowledge-source"]) : "npo" in o ? qt(this, t3, `${o.npo.release}-npo`) : qt(this, t3, K(this, to).latestSource);
|
|
92106
92106
|
for (const [s, h] of Object.entries(n.annotations))
|
|
92107
92107
|
this.__saveAnnotation(s, h), this.__searchIndex.indexMetadata(s, h);
|
|
92108
92108
|
for (const [s, h] of Object.entries(n.style.sources))
|
|
@@ -92465,9 +92465,6 @@ class UAt {
|
|
|
92465
92465
|
get map() {
|
|
92466
92466
|
return this._map;
|
|
92467
92467
|
}
|
|
92468
|
-
get markers() {
|
|
92469
|
-
return this._markers;
|
|
92470
|
-
}
|
|
92471
92468
|
/**
|
|
92472
92469
|
* The anatomical identifiers of features in the map.
|
|
92473
92470
|
*
|
|
@@ -93088,6 +93085,9 @@ class UAt {
|
|
|
93088
93085
|
this._userInteractions !== null && this._userInteractions.enableNeuronPathsByNerve(t, r);
|
|
93089
93086
|
}
|
|
93090
93087
|
//==========================================================================
|
|
93088
|
+
get knowledgeSource() {
|
|
93089
|
+
return K(this, t3);
|
|
93090
|
+
}
|
|
93091
93091
|
/**
|
|
93092
93092
|
* @typedef {Object} EntityLabel
|
|
93093
93093
|
* @property {string} entity
|
|
@@ -93106,8 +93106,9 @@ class UAt {
|
|
|
93106
93106
|
const i = await K(this, to).queryKnowledge(
|
|
93107
93107
|
`select source, entity, knowledge from knowledge
|
|
93108
93108
|
where (source=? or source is null)
|
|
93109
|
-
and entity in (?${", ?".repeat(n.length - 1)})
|
|
93110
|
-
|
|
93109
|
+
and entity in (?${", ?".repeat(n.length - 1)})
|
|
93110
|
+
order by source desc`,
|
|
93111
|
+
[K(this, t3), ...n]
|
|
93111
93112
|
);
|
|
93112
93113
|
let o = null;
|
|
93113
93114
|
for (const a of i)
|
|
@@ -93138,7 +93139,7 @@ class UAt {
|
|
|
93138
93139
|
async queryKnowledge(t) {
|
|
93139
93140
|
const r = K(this, to).knowledgeSchema >= kH ? await K(this, to).queryKnowledge(
|
|
93140
93141
|
"select knowledge from knowledge where (source=? or source is null) and entity=? order by source desc",
|
|
93141
|
-
[K(this,
|
|
93142
|
+
[K(this, t3), t]
|
|
93142
93143
|
) : await K(this, to).queryKnowledge(
|
|
93143
93144
|
"select knowledge from knowledge where entity=?",
|
|
93144
93145
|
[t]
|
|
@@ -93147,7 +93148,7 @@ class UAt {
|
|
|
93147
93148
|
}
|
|
93148
93149
|
//==========================================================================
|
|
93149
93150
|
}
|
|
93150
|
-
s7 = new WeakMap(), l7 = new WeakMap(),
|
|
93151
|
+
s7 = new WeakMap(), l7 = new WeakMap(), t3 = new WeakMap(), to = new WeakMap(), c7 = new WeakMap(), os = new WeakMap(), m5 = new WeakMap(), A9 = new WeakSet(), bL = async function(t) {
|
|
93151
93152
|
if (!K(this, m5).has(t)) {
|
|
93152
93153
|
const r = await this.queryLabels(t);
|
|
93153
93154
|
if (r.length && "label" in r[0])
|
|
@@ -93277,17 +93278,17 @@ class tU {
|
|
|
93277
93278
|
!("bounds" in i) && "bounds" in T && (p.bounds = T.bounds), "style" in T ? p.style = T.style : p.style = c2.GENERIC, !("image-layers" in T) && "image_layer" in T && (T["image-layers"] = T.image_layer);
|
|
93278
93279
|
let m = [];
|
|
93279
93280
|
if (!("version" in T) || T.version <= 1)
|
|
93280
|
-
for (const
|
|
93281
|
-
typeof
|
|
93282
|
-
id:
|
|
93283
|
-
description:
|
|
93281
|
+
for (const H of T.layers)
|
|
93282
|
+
typeof H == "string" ? m.push({
|
|
93283
|
+
id: H,
|
|
93284
|
+
description: H.charAt(0).toUpperCase() + H.slice(1),
|
|
93284
93285
|
selectable: !0
|
|
93285
|
-
}) : m.push(
|
|
93286
|
+
}) : m.push(H);
|
|
93286
93287
|
else
|
|
93287
93288
|
m = await this._mapServer.loadJSON(`flatmap/${h}/layers`);
|
|
93288
93289
|
const y = await this._mapServer.loadJSON(`flatmap/${h}/style`);
|
|
93289
93290
|
"glyphs" in y || (y.glyphs = "https://fonts.openmaptiles.org/{fontstack}/{range}.pbf");
|
|
93290
|
-
const b = await this._mapServer.loadJSON(`flatmap/${h}/pathways`), L = await this._mapServer.loadJSON(`flatmap/${h}/annotations`), C = await this._mapServer.loadJSON(`flatmap/${h}/metadata`)
|
|
93291
|
+
const b = await this._mapServer.loadJSON(`flatmap/${h}/pathways`), L = await this._mapServer.loadJSON(`flatmap/${h}/annotations`), C = await this._mapServer.loadJSON(`flatmap/${h}/metadata`);
|
|
93291
93292
|
return "vector-tiles" in y.sources && ("minZoom" in p || (p.minZoom = y.sources["vector-tiles"].minzoom), "maxZoom" in p || (p.maxZoom = y.sources["vector-tiles"].maxzoom)), "layerOptions" in p ? ("colour" in p.layerOptions || (p.layerOptions.colour = !0), "outline" in p.layerOptions || (p.layerOptions.outline = !0)) : p.layerOptions = {
|
|
93292
93293
|
colour: !0,
|
|
93293
93294
|
outline: !0
|
|
@@ -93303,7 +93304,6 @@ class tU {
|
|
|
93303
93304
|
style: y,
|
|
93304
93305
|
options: p,
|
|
93305
93306
|
layers: m,
|
|
93306
|
-
markers: E,
|
|
93307
93307
|
annotations: L,
|
|
93308
93308
|
number: this._mapNumber,
|
|
93309
93309
|
pathways: b,
|