@mapsindoors/map-template 1.55.1 → 1.55.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{_commonjsHelpers-ba3f0406-ec3fe100.mjs → _commonjsHelpers-ba3f0406-79e1d764.mjs} +2 -2
- package/dist/{combo-box-item.entry-a4ff8eac.mjs → combo-box-item.entry-d0f59d68.mjs} +2 -2
- package/dist/{icon-b8d01d6f-bf292e84.mjs → icon-b8d01d6f-7c2cdfbe.mjs} +2 -2
- package/dist/mapsindoors-react.es.js +1 -1
- package/dist/mapsindoors-react.umd.js +1 -1
- package/dist/mapsindoors-webcomponent.es.js +298 -298
- package/dist/mapsindoors-webcomponent.umd.js +1 -1
- package/dist/{mi-card_2.entry-55cc37b7.mjs → mi-card_2.entry-613b0f3a.mjs} +2 -2
- package/dist/{mi-chip.entry-04c21f2c.mjs → mi-chip.entry-36e4691c.mjs} +2 -2
- package/dist/{mi-column.entry-99dfdf29.mjs → mi-column.entry-3ac76516.mjs} +2 -2
- package/dist/{mi-combo-box.entry-fe84bd67.mjs → mi-combo-box.entry-85c1b484.mjs} +4 -4
- package/dist/{mi-data-table.entry-f1c71e62.mjs → mi-data-table.entry-98502ee1.mjs} +3 -3
- package/dist/{mi-distance_2.entry-12ee6bfe.mjs → mi-distance_2.entry-696a09e2.mjs} +3 -3
- package/dist/{mi-dropdown-item.entry-dbd71a48.mjs → mi-dropdown-item.entry-2cd1d1f1.mjs} +2 -2
- package/dist/{mi-dropdown.entry-ba31449c.mjs → mi-dropdown.entry-dc8870a7.mjs} +4 -4
- package/dist/{mi-floor-selector.entry-2e48d1e3.mjs → mi-floor-selector.entry-548bd478.mjs} +2 -2
- package/dist/{mi-keyboard.entry-203cc030.mjs → mi-keyboard.entry-3a729b12.mjs} +3 -3
- package/dist/{mi-list-item-category.entry-001387f0.mjs → mi-list-item-category.entry-4d034ee2.mjs} +4 -4
- package/dist/{mi-list-item-location.entry-64d892b5.mjs → mi-list-item-location.entry-7d963a77.mjs} +4 -4
- package/dist/{mi-list.entry-8e0467a1.mjs → mi-list.entry-980fa41d.mjs} +2 -2
- package/dist/{mi-location-booking.entry-8e71e308.mjs → mi-location-booking.entry-eb2349ed.mjs} +3 -3
- package/dist/{mi-location-info.entry-5b1dcf14.mjs → mi-location-info.entry-c8fc6d36.mjs} +2 -2
- package/dist/{mi-map-googlemaps.entry-a598d007.mjs → mi-map-googlemaps.entry-155cf2c0.mjs} +3 -3
- package/dist/{mi-map-mapbox.entry-29d67481.mjs → mi-map-mapbox.entry-15567fd5.mjs} +3 -3
- package/dist/{mi-metric-card.entry-8e0511ad.mjs → mi-metric-card.entry-8a94846c.mjs} +3 -3
- package/dist/{mi-my-position.entry-5a171f61.mjs → mi-my-position.entry-6f1d97c6.mjs} +3 -3
- package/dist/{mi-notification.entry-fedcbe99.mjs → mi-notification.entry-dda4ef86.mjs} +2 -2
- package/dist/{mi-route-instructions-heading.entry-57acbc0c.mjs → mi-route-instructions-heading.entry-47969645.mjs} +4 -4
- package/dist/{mi-route-instructions-maneuver-legacy.entry-916e507e.mjs → mi-route-instructions-maneuver-legacy.entry-53f3847c.mjs} +3 -3
- package/dist/{mi-route-instructions-maneuver.entry-44f8fa74.mjs → mi-route-instructions-maneuver.entry-83ba2d82.mjs} +3 -3
- package/dist/{mi-route-instructions-step-legacy.entry-a8425e5c.mjs → mi-route-instructions-step-legacy.entry-60ba3af2.mjs} +4 -4
- package/dist/{mi-route-instructions-step.entry-50505500.mjs → mi-route-instructions-step.entry-6c21f063.mjs} +4 -4
- package/dist/{mi-route-instructions.entry-ee20218c.mjs → mi-route-instructions.entry-bdbd74a2.mjs} +5 -5
- package/dist/{mi-scroll-buttons.entry-8dada316.mjs → mi-scroll-buttons.entry-b81ca2a0.mjs} +2 -2
- package/dist/{mi-search.entry-6b0f7e6e.mjs → mi-search.entry-c6daf8f8.mjs} +3 -3
- package/dist/{mi-share-sms.entry-aecd34ce.mjs → mi-share-sms.entry-ff3b0450.mjs} +2 -2
- package/dist/{mi-step-switcher.entry-4a48780e.mjs → mi-step-switcher.entry-ea8f42e4.mjs} +2 -2
- package/dist/{mi-tab-panel.entry-2fa75d51.mjs → mi-tab-panel.entry-a11199db.mjs} +2 -2
- package/dist/{mi-tab.entry-e8ab5ed1.mjs → mi-tab.entry-cbb2ecb6.mjs} +2 -2
- package/dist/{mi-tabs.entry-76a3a7ea.mjs → mi-tabs.entry-d1e9d18b.mjs} +2 -2
- package/dist/{mi-time.entry-62c3ce44.mjs → mi-time.entry-2b8814ee.mjs} +2 -2
- package/dist/{mi-variables-9a6c8d4d-c7909579.mjs → mi-variables-9a6c8d4d-ef3ba482.mjs} +2 -2
- package/dist/{reactcomponent-cce160f3.mjs → reactcomponent-0c40a252.mjs} +4 -4
- package/dist/{route-travel-mode.enum-7f4ce9c7-96b8decb.mjs → route-travel-mode.enum-7f4ce9c7-d3f4189c.mjs} +2 -2
- package/dist/{sort-order.enum-64ce8998-db9a5f7f.mjs → sort-order.enum-64ce8998-820d8975.mjs} +3 -3
- package/dist/{unit-system.enum-eaefb53e-6789f86c.mjs → unit-system.enum-eaefb53e-faf1565b.mjs} +2 -2
- package/dist/{utils-ae714467-d6f62330.mjs → utils-ae714467-15bb0d66.mjs} +2 -2
- package/package.json +1 -1
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
|
|
5
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
5
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "fc7d6463-8dcd-456e-94f4-f9a8d33068a4", e._sentryDebugIdIdentifier = "sentry-dbid-fc7d6463-8dcd-456e-94f4-f9a8d33068a4");
|
|
6
6
|
} catch {
|
|
7
7
|
}
|
|
8
8
|
})();
|
|
9
9
|
var HY = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
|
-
HY.SENTRY_RELEASE = { id: "
|
|
10
|
+
HY.SENTRY_RELEASE = { id: "8256228b986fee13c87178c47eb0d760a8ffd458" };
|
|
11
11
|
var YY = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
12
12
|
function Ty(e) {
|
|
13
13
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -30960,11 +30960,11 @@ ${JSON.stringify(o, null, 2)}
|
|
|
30960
30960
|
function xi(i, n = 1) {
|
|
30961
30961
|
let o = 0, c = 0;
|
|
30962
30962
|
return { members: i.map((h) => {
|
|
30963
|
-
const p = b0[h.type].BYTES_PER_ELEMENT, m = o =
|
|
30963
|
+
const p = b0[h.type].BYTES_PER_ELEMENT, m = o = u6(o, Math.max(n, p)), x = h.components || 1;
|
|
30964
30964
|
return c = Math.max(c, p), o += p * x, { name: h.name, type: h.type, components: x, offset: m };
|
|
30965
|
-
}), size:
|
|
30965
|
+
}), size: u6(o, Math.max(c, n)), alignment: n };
|
|
30966
30966
|
}
|
|
30967
|
-
function
|
|
30967
|
+
function u6(i, n) {
|
|
30968
30968
|
return Math.ceil(i / n) * n;
|
|
30969
30969
|
}
|
|
30970
30970
|
class Fa extends er {
|
|
@@ -31396,7 +31396,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
31396
31396
|
}
|
|
31397
31397
|
}
|
|
31398
31398
|
Hw.prototype.bytesPerElement = 1, ae(Hw, "StructArrayLayout1ub1");
|
|
31399
|
-
class
|
|
31399
|
+
class h6 extends iv {
|
|
31400
31400
|
get projectedAnchorX() {
|
|
31401
31401
|
return this._structArray.int16[this._pos2 + 0];
|
|
31402
31402
|
}
|
|
@@ -31437,14 +31437,14 @@ ${JSON.stringify(o, null, 2)}
|
|
|
31437
31437
|
return this._structArray.uint16[this._pos2 + 19];
|
|
31438
31438
|
}
|
|
31439
31439
|
}
|
|
31440
|
-
|
|
31440
|
+
h6.prototype.size = 40;
|
|
31441
31441
|
class Yw extends jw {
|
|
31442
31442
|
get(n) {
|
|
31443
|
-
return new
|
|
31443
|
+
return new h6(this, n);
|
|
31444
31444
|
}
|
|
31445
31445
|
}
|
|
31446
31446
|
ae(Yw, "CollisionBoxArray");
|
|
31447
|
-
class
|
|
31447
|
+
class d6 extends iv {
|
|
31448
31448
|
get projectedAnchorX() {
|
|
31449
31449
|
return this._structArray.int16[this._pos2 + 0];
|
|
31450
31450
|
}
|
|
@@ -31521,14 +31521,14 @@ ${JSON.stringify(o, null, 2)}
|
|
|
31521
31521
|
this._structArray.uint8[this._pos1 + 58] = n;
|
|
31522
31522
|
}
|
|
31523
31523
|
}
|
|
31524
|
-
|
|
31525
|
-
class
|
|
31524
|
+
d6.prototype.size = 60;
|
|
31525
|
+
class f6 extends Uw {
|
|
31526
31526
|
get(n) {
|
|
31527
|
-
return new
|
|
31527
|
+
return new d6(this, n);
|
|
31528
31528
|
}
|
|
31529
31529
|
}
|
|
31530
|
-
ae(
|
|
31531
|
-
class
|
|
31530
|
+
ae(f6, "PlacedSymbolArray");
|
|
31531
|
+
class p6 extends iv {
|
|
31532
31532
|
get tileAnchorX() {
|
|
31533
31533
|
return this._structArray.float32[this._pos4 + 0];
|
|
31534
31534
|
}
|
|
@@ -31644,20 +31644,20 @@ ${JSON.stringify(o, null, 2)}
|
|
|
31644
31644
|
return this._structArray.uint8[this._pos1 + 84];
|
|
31645
31645
|
}
|
|
31646
31646
|
}
|
|
31647
|
-
|
|
31648
|
-
class
|
|
31647
|
+
p6.prototype.size = 88;
|
|
31648
|
+
class m6 extends Bw {
|
|
31649
31649
|
get(n) {
|
|
31650
|
-
return new
|
|
31650
|
+
return new p6(this, n);
|
|
31651
31651
|
}
|
|
31652
31652
|
}
|
|
31653
|
-
ae(
|
|
31654
|
-
class
|
|
31653
|
+
ae(m6, "SymbolInstanceArray");
|
|
31654
|
+
class g6 extends ud {
|
|
31655
31655
|
getoffsetX(n) {
|
|
31656
31656
|
return this.float32[1 * n + 0];
|
|
31657
31657
|
}
|
|
31658
31658
|
}
|
|
31659
|
-
ae(
|
|
31660
|
-
class
|
|
31659
|
+
ae(g6, "GlyphOffsetArray");
|
|
31660
|
+
class y6 extends Fa {
|
|
31661
31661
|
getx(n) {
|
|
31662
31662
|
return this.int16[2 * n + 0];
|
|
31663
31663
|
}
|
|
@@ -31665,8 +31665,8 @@ ${JSON.stringify(o, null, 2)}
|
|
|
31665
31665
|
return this.int16[2 * n + 1];
|
|
31666
31666
|
}
|
|
31667
31667
|
}
|
|
31668
|
-
ae(
|
|
31669
|
-
class
|
|
31668
|
+
ae(y6, "SymbolLineVertexArray");
|
|
31669
|
+
class _6 extends iv {
|
|
31670
31670
|
get featureIndex() {
|
|
31671
31671
|
return this._structArray.uint32[this._pos4 + 0];
|
|
31672
31672
|
}
|
|
@@ -31680,14 +31680,14 @@ ${JSON.stringify(o, null, 2)}
|
|
|
31680
31680
|
return this._structArray.uint16[this._pos2 + 4];
|
|
31681
31681
|
}
|
|
31682
31682
|
}
|
|
31683
|
-
|
|
31684
|
-
class
|
|
31683
|
+
_6.prototype.size = 12;
|
|
31684
|
+
class v6 extends Vw {
|
|
31685
31685
|
get(n) {
|
|
31686
|
-
return new
|
|
31686
|
+
return new _6(this, n);
|
|
31687
31687
|
}
|
|
31688
31688
|
}
|
|
31689
|
-
ae(
|
|
31690
|
-
class
|
|
31689
|
+
ae(v6, "FeatureIndexArray");
|
|
31690
|
+
class x6 extends Eu {
|
|
31691
31691
|
geta_centroid_pos0(n) {
|
|
31692
31692
|
return this.uint16[2 * n + 0];
|
|
31693
31693
|
}
|
|
@@ -31695,7 +31695,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
31695
31695
|
return this.uint16[2 * n + 1];
|
|
31696
31696
|
}
|
|
31697
31697
|
}
|
|
31698
|
-
ae(
|
|
31698
|
+
ae(x6, "FillExtrusionCentroidArray");
|
|
31699
31699
|
const JV = xi([{ name: "a_pos", components: 2, type: "Int16" }], 4), e$ = xi([{ name: "a_pos_3", components: 3, type: "Int16" }, { name: "a_pos_normal_3", components: 3, type: "Int16" }]);
|
|
31700
31700
|
class or {
|
|
31701
31701
|
constructor(n = []) {
|
|
@@ -31720,7 +31720,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
31720
31720
|
return new or([{ vertexOffset: n, primitiveOffset: o, vertexLength: c, primitiveLength: h, vaos: {}, sortKey: 0 }]);
|
|
31721
31721
|
}
|
|
31722
31722
|
}
|
|
31723
|
-
function
|
|
31723
|
+
function M6(i, n) {
|
|
31724
31724
|
return 256 * (i = Rn(Math.floor(i), 0, 255)) + Rn(Math.floor(n), 0, 255);
|
|
31725
31725
|
}
|
|
31726
31726
|
or.MAX_VERTEX_ARRAY_LENGTH = Math.pow(2, 16) - 1, ae(or, "SegmentVector");
|
|
@@ -31730,10 +31730,10 @@ ${JSON.stringify(o, null, 2)}
|
|
|
31730
31730
|
this.ids = [], this.uniqueIds = [], this.positions = [], this.indexed = !1;
|
|
31731
31731
|
}
|
|
31732
31732
|
add(n, o, c, h) {
|
|
31733
|
-
this.ids.push(
|
|
31733
|
+
this.ids.push(b6(n)), this.positions.push(o, c, h);
|
|
31734
31734
|
}
|
|
31735
31735
|
eachPosition(n, o) {
|
|
31736
|
-
const c =
|
|
31736
|
+
const c = b6(n);
|
|
31737
31737
|
let h = 0, p = this.ids.length - 1;
|
|
31738
31738
|
for (; h < p; ) {
|
|
31739
31739
|
const m = h + p >> 1;
|
|
@@ -31755,7 +31755,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
31755
31755
|
return o.indexed = !0, o;
|
|
31756
31756
|
}
|
|
31757
31757
|
}
|
|
31758
|
-
function
|
|
31758
|
+
function b6(i) {
|
|
31759
31759
|
const n = +i;
|
|
31760
31760
|
return !isNaN(n) && Number.MIN_SAFE_INTEGER <= n && n <= Number.MAX_SAFE_INTEGER ? n : Qh(String(i));
|
|
31761
31761
|
}
|
|
@@ -31833,7 +31833,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
31833
31833
|
this.fetchUniformLocation(n, o) && (c[0] === this.current[0] && c[1] === this.current[1] && c[2] === this.current[2] && c[3] === this.current[3] || (this.current = c, this.gl.uniform4f(this.location, c[0], c[1], c[2], c[3])));
|
|
31834
31834
|
}
|
|
31835
31835
|
}
|
|
31836
|
-
class
|
|
31836
|
+
class w6 extends mc {
|
|
31837
31837
|
constructor(n) {
|
|
31838
31838
|
super(n), this.current = pi.transparent.toRenderColor(null);
|
|
31839
31839
|
}
|
|
@@ -31874,7 +31874,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
31874
31874
|
}
|
|
31875
31875
|
}
|
|
31876
31876
|
function Kw(i) {
|
|
31877
|
-
return [
|
|
31877
|
+
return [M6(255 * i.r, 255 * i.g), M6(255 * i.b, 255 * i.a)];
|
|
31878
31878
|
}
|
|
31879
31879
|
class S0 {
|
|
31880
31880
|
constructor(n, o, c, h) {
|
|
@@ -31885,7 +31885,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
31885
31885
|
o.set(n, p, m instanceof pi ? m.toRenderColor(this.context.lut) : m);
|
|
31886
31886
|
}
|
|
31887
31887
|
getBinding(n, o) {
|
|
31888
|
-
return this.type === "color" ? new
|
|
31888
|
+
return this.type === "color" ? new w6(n) : new Ko(n);
|
|
31889
31889
|
}
|
|
31890
31890
|
}
|
|
31891
31891
|
class Xf {
|
|
@@ -32012,10 +32012,10 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32012
32012
|
const x = a$(p, n.type), M = m.value, I = m.property.specification.type, E = !!m.property.useIntegerZoom, A = p === "line-dasharray" || p.endsWith("pattern"), z = p === "line-dasharray" && n.layout.get("line-cap").value.kind !== "constant";
|
|
32013
32013
|
if (M.kind !== "constant" || z)
|
|
32014
32014
|
if (M.kind === "source" || z || A) {
|
|
32015
|
-
const P =
|
|
32015
|
+
const P = I6(p, I, "source");
|
|
32016
32016
|
this.binders[p] = A ? new Du(M, x, I, P, n.id) : new yc(M, x, I, P), h.push(`/a_${p}`);
|
|
32017
32017
|
} else {
|
|
32018
|
-
const P =
|
|
32018
|
+
const P = I6(p, I, "composite");
|
|
32019
32019
|
this.binders[p] = new Va(M, x, I, E, o, P), h.push(`/z_${p}`);
|
|
32020
32020
|
}
|
|
32021
32021
|
else
|
|
@@ -32170,12 +32170,12 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32170
32170
|
return s$[i] || [i.replace(`${n}-`, "").replace(/-/g, "_")];
|
|
32171
32171
|
}
|
|
32172
32172
|
const l$ = { "line-pattern": { source: Su, composite: Su }, "fill-pattern": { source: Su, composite: Su }, "fill-extrusion-pattern": { source: Su, composite: Su }, "line-dasharray": { source: ov, composite: ov } }, c$ = { color: { source: Kf, composite: Iu }, number: { source: ud, composite: Kf } };
|
|
32173
|
-
function
|
|
32173
|
+
function I6(i, n, o) {
|
|
32174
32174
|
const c = l$[i];
|
|
32175
32175
|
return c && c[o] || c$[n][o];
|
|
32176
32176
|
}
|
|
32177
32177
|
ae(S0, "ConstantBinder"), ae(Xf, "PatternConstantBinder"), ae(yc, "SourceExpressionBinder"), ae(Du, "PatternCompositeBinder"), ae(Va, "CompositeExpressionBinder"), ae(dd, "ProgramConfiguration", { omit: ["_buffers"] }), ae(Cu, "ProgramConfigurationSet");
|
|
32178
|
-
const Xo = $t / Math.PI / 2, Xw = 5,
|
|
32178
|
+
const Xo = $t / Math.PI / 2, Xw = 5, T6 = 6, u$ = 16383, Jf = 64, Jw = [Jf, 32, 16], ma = -Xo, ga = Xo;
|
|
32179
32179
|
function ep(i, n, o, c = Xo) {
|
|
32180
32180
|
return o = ni(o), [i * Math.sin(o) * c, -n * c, i * Math.cos(o) * c];
|
|
32181
32181
|
}
|
|
@@ -32297,7 +32297,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32297
32297
|
return !n || n instanceof Au ? n : new Au(n);
|
|
32298
32298
|
}
|
|
32299
32299
|
}
|
|
32300
|
-
var
|
|
32300
|
+
var S6 = {};
|
|
32301
32301
|
(function(i, n) {
|
|
32302
32302
|
(function(o) {
|
|
32303
32303
|
function c(p, m, x) {
|
|
@@ -32312,8 +32312,8 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32312
32312
|
return E = E || {}, p + "?" + ["bbox=" + c(x, M, I), "format=" + (E.format || "image/png"), "service=" + (E.service || "WMS"), "version=" + (E.version || "1.1.1"), "request=" + (E.request || "GetMap"), "srs=" + (E.srs || "EPSG:3857"), "width=" + (E.width || 256), "height=" + (E.height || 256), "layers=" + m].join("&");
|
|
32313
32313
|
}, o.getTileBBox = c, o.getMercCoords = h, Object.defineProperty(o, "__esModule", { value: !0 });
|
|
32314
32314
|
})(n);
|
|
32315
|
-
})(0,
|
|
32316
|
-
var h$ =
|
|
32315
|
+
})(0, S6);
|
|
32316
|
+
var h$ = S6;
|
|
32317
32317
|
class pd {
|
|
32318
32318
|
constructor(n, o, c) {
|
|
32319
32319
|
this.z = n, this.x = o, this.y = c, this.key = E0(0, n, n, o, c);
|
|
@@ -32334,7 +32334,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32334
32334
|
return `${this.z}/${this.x}/${this.y}`;
|
|
32335
32335
|
}
|
|
32336
32336
|
}
|
|
32337
|
-
class
|
|
32337
|
+
class E6 {
|
|
32338
32338
|
constructor(n, o) {
|
|
32339
32339
|
this.wrap = n, this.canonical = o, this.key = E0(n, o.z, o.z, o.x, o.y);
|
|
32340
32340
|
}
|
|
@@ -32385,7 +32385,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32385
32385
|
return Math.pow(2, this.overscaledZ - this.canonical.z);
|
|
32386
32386
|
}
|
|
32387
32387
|
toUnwrapped() {
|
|
32388
|
-
return new
|
|
32388
|
+
return new E6(this.wrap, this.canonical);
|
|
32389
32389
|
}
|
|
32390
32390
|
toString() {
|
|
32391
32391
|
return `${this.overscaledZ}/${this.canonical.x}/${this.canonical.y}`;
|
|
@@ -32423,18 +32423,18 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32423
32423
|
function oo(i) {
|
|
32424
32424
|
return 360 / Math.PI * Math.atan(Math.exp((180 - 360 * i) * Math.PI / 180)) - 90;
|
|
32425
32425
|
}
|
|
32426
|
-
function
|
|
32426
|
+
function D6(i, n) {
|
|
32427
32427
|
return i * t4(oo(n));
|
|
32428
32428
|
}
|
|
32429
32429
|
const _r = 85.051129;
|
|
32430
|
-
function
|
|
32430
|
+
function C6(i) {
|
|
32431
32431
|
return Math.cos(ni(Rn(i, -_r, _r)));
|
|
32432
32432
|
}
|
|
32433
32433
|
function md(i, n) {
|
|
32434
32434
|
const o = Rn(n, f$, p$), c = Math.pow(2, o);
|
|
32435
|
-
return
|
|
32435
|
+
return C6(i) * e4 / (512 * c);
|
|
32436
32436
|
}
|
|
32437
|
-
function
|
|
32437
|
+
function A6(i) {
|
|
32438
32438
|
return 1 / Math.cos(i * Math.PI / 180);
|
|
32439
32439
|
}
|
|
32440
32440
|
function hv(i, n = 0) {
|
|
@@ -32453,10 +32453,10 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32453
32453
|
return new ui(us(this.x), oo(this.y));
|
|
32454
32454
|
}
|
|
32455
32455
|
toAltitude() {
|
|
32456
|
-
return
|
|
32456
|
+
return D6(this.z, this.y);
|
|
32457
32457
|
}
|
|
32458
32458
|
meterInMercatorCoordinateUnits() {
|
|
32459
|
-
return 1 / e4 *
|
|
32459
|
+
return 1 / e4 * A6(oo(this.y));
|
|
32460
32460
|
}
|
|
32461
32461
|
}
|
|
32462
32462
|
function n4(i, n, o, c, h, p, m, x, M) {
|
|
@@ -32466,7 +32466,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32466
32466
|
return Math.abs((V - P) * he - (U - z) * fe) / Math.hypot(he, fe);
|
|
32467
32467
|
}(A.x, A.y, p.x, p.y, m.x, m.y) >= M ? (n4(i, n, o, I, E, p, A, x, M), n4(i, I, E, c, h, A, m, x, M)) : i.push(m);
|
|
32468
32468
|
}
|
|
32469
|
-
function
|
|
32469
|
+
function N6(i, n, o) {
|
|
32470
32470
|
let c = i[0], h = c.x, p = c.y;
|
|
32471
32471
|
n(c);
|
|
32472
32472
|
const m = [c];
|
|
@@ -32492,10 +32492,10 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32492
32492
|
}
|
|
32493
32493
|
return c;
|
|
32494
32494
|
}
|
|
32495
|
-
const r4 = Math.pow(2, 14) - 1,
|
|
32495
|
+
const r4 = Math.pow(2, 14) - 1, L6 = -r4 - 1;
|
|
32496
32496
|
function g$(i, n) {
|
|
32497
32497
|
const o = Math.round(i.x * n), c = Math.round(i.y * n);
|
|
32498
|
-
return i.x = Rn(o,
|
|
32498
|
+
return i.x = Rn(o, L6, r4), i.y = Rn(c, L6, r4), (o < i.x || o > i.x + 1 || c < i.y || c > i.y + 1) && fr("Geometry exceeds allowed extent, reduce your vector tile buffer size"), i;
|
|
32499
32499
|
}
|
|
32500
32500
|
function $a(i, n, o) {
|
|
32501
32501
|
const c = i.loadGeometry(), h = i.extent, p = $t / h;
|
|
@@ -32506,7 +32506,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32506
32506
|
};
|
|
32507
32507
|
for (let z = 0; z < c.length; z++)
|
|
32508
32508
|
if (i.type !== 1)
|
|
32509
|
-
c[z] =
|
|
32509
|
+
c[z] = N6(c[z], A, 1);
|
|
32510
32510
|
else {
|
|
32511
32511
|
const P = [];
|
|
32512
32512
|
for (const U of c[z])
|
|
@@ -32597,9 +32597,9 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32597
32597
|
function y$(i, n, o) {
|
|
32598
32598
|
return !!Nu(i, n) || !!l4(n, i, o);
|
|
32599
32599
|
}
|
|
32600
|
-
function
|
|
32600
|
+
function z6(i, n) {
|
|
32601
32601
|
if (i.length === 1)
|
|
32602
|
-
return
|
|
32602
|
+
return O6(n, i[0]);
|
|
32603
32603
|
for (let o = 0; o < n.length; o++) {
|
|
32604
32604
|
const c = n[o];
|
|
32605
32605
|
for (let h = 0; h < c.length; h++)
|
|
@@ -32607,7 +32607,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32607
32607
|
return !0;
|
|
32608
32608
|
}
|
|
32609
32609
|
for (let o = 0; o < i.length; o++)
|
|
32610
|
-
if (
|
|
32610
|
+
if (O6(n, i[o]))
|
|
32611
32611
|
return !0;
|
|
32612
32612
|
for (let o = 0; o < n.length; o++)
|
|
32613
32613
|
if (a4(i, n[o]))
|
|
@@ -32646,18 +32646,18 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32646
32646
|
if (n.length === 1)
|
|
32647
32647
|
return i.distSqr(n[0]) < c;
|
|
32648
32648
|
for (let h = 1; h < n.length; h++)
|
|
32649
|
-
if (
|
|
32649
|
+
if (k6(i, n[h - 1], n[h]) < c)
|
|
32650
32650
|
return !0;
|
|
32651
32651
|
return !1;
|
|
32652
32652
|
}
|
|
32653
|
-
function
|
|
32653
|
+
function k6(i, n, o) {
|
|
32654
32654
|
const c = n.distSqr(o);
|
|
32655
32655
|
if (c === 0)
|
|
32656
32656
|
return i.distSqr(n);
|
|
32657
32657
|
const h = ((i.x - n.x) * (o.x - n.x) + (i.y - n.y) * (o.y - n.y)) / c;
|
|
32658
32658
|
return i.distSqr(h < 0 ? n : h > 1 ? o : o.sub(n)._mult(h)._add(n));
|
|
32659
32659
|
}
|
|
32660
|
-
function
|
|
32660
|
+
function O6(i, n) {
|
|
32661
32661
|
let o, c, h, p = !1;
|
|
32662
32662
|
for (let m = 0; m < i.length; m++) {
|
|
32663
32663
|
o = i[m];
|
|
@@ -32674,7 +32674,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32674
32674
|
}
|
|
32675
32675
|
return o;
|
|
32676
32676
|
}
|
|
32677
|
-
function
|
|
32677
|
+
function j6(i, n, o, c, h) {
|
|
32678
32678
|
for (const m of i)
|
|
32679
32679
|
if (n <= m.x && o <= m.y && c >= m.x && h >= m.y)
|
|
32680
32680
|
return !0;
|
|
@@ -32717,7 +32717,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32717
32717
|
function pv(i) {
|
|
32718
32718
|
return Math.sqrt(i[0] * i[0] + i[1] * i[1]);
|
|
32719
32719
|
}
|
|
32720
|
-
function
|
|
32720
|
+
function R6(i, n, o, c, h) {
|
|
32721
32721
|
if (!n[0] && !n[1])
|
|
32722
32722
|
return i;
|
|
32723
32723
|
const p = qt.convert(n)._mult(h);
|
|
@@ -32727,7 +32727,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32727
32727
|
m.push(i[x].sub(p));
|
|
32728
32728
|
return m;
|
|
32729
32729
|
}
|
|
32730
|
-
function
|
|
32730
|
+
function P6(i, n, o, c) {
|
|
32731
32731
|
const h = qt.convert(i)._mult(c);
|
|
32732
32732
|
return n === "viewport" && h._rotate(-o), h;
|
|
32733
32733
|
}
|
|
@@ -32782,7 +32782,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32782
32782
|
}
|
|
32783
32783
|
return [c, h];
|
|
32784
32784
|
}
|
|
32785
|
-
function
|
|
32785
|
+
function U6(i, n) {
|
|
32786
32786
|
let o = !0;
|
|
32787
32787
|
for (let c = 0; c < i.planes.length; c++) {
|
|
32788
32788
|
const h = i.planes[c];
|
|
@@ -32795,7 +32795,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32795
32795
|
}
|
|
32796
32796
|
return o ? 2 : 1;
|
|
32797
32797
|
}
|
|
32798
|
-
function
|
|
32798
|
+
function B6(i, n) {
|
|
32799
32799
|
for (const o of i.projections) {
|
|
32800
32800
|
const c = D0(n, i.points[0], o.axis);
|
|
32801
32801
|
if (o.projection[1] < c[0] || o.projection[0] > c[1])
|
|
@@ -32803,7 +32803,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32803
32803
|
}
|
|
32804
32804
|
return 1;
|
|
32805
32805
|
}
|
|
32806
|
-
function
|
|
32806
|
+
function F6(i, n) {
|
|
32807
32807
|
let o = 0;
|
|
32808
32808
|
const c = [0, 0, 0, 0];
|
|
32809
32809
|
for (let h = 0; h < i.length; h++)
|
|
@@ -32832,10 +32832,10 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32832
32832
|
}
|
|
32833
32833
|
intersectsPrecise(n, o, c) {
|
|
32834
32834
|
for (let h = 0; h < o.length; h++)
|
|
32835
|
-
if (!
|
|
32835
|
+
if (!F6(n, o[h]))
|
|
32836
32836
|
return 0;
|
|
32837
32837
|
for (let h = 0; h < this.planes.length; h++)
|
|
32838
|
-
if (!
|
|
32838
|
+
if (!F6(n, this.planes[h]))
|
|
32839
32839
|
return 0;
|
|
32840
32840
|
for (const h of c)
|
|
32841
32841
|
for (const p of this.frustumEdges) {
|
|
@@ -32905,16 +32905,16 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32905
32905
|
return [[n[0], n[1], n[2]], [o[0], n[1], n[2]], [o[0], o[1], n[2]], [n[0], o[1], n[2]], [n[0], n[1], o[2]], [o[0], n[1], o[2]], [o[0], o[1], o[2]], [n[0], o[1], o[2]]];
|
|
32906
32906
|
}
|
|
32907
32907
|
intersects(n) {
|
|
32908
|
-
return this.intersectsAabb(n.bounds) ?
|
|
32908
|
+
return this.intersectsAabb(n.bounds) ? U6(n, this.getCorners()) : 0;
|
|
32909
32909
|
}
|
|
32910
32910
|
intersectsFlat(n) {
|
|
32911
|
-
return this.intersectsAabb(n.bounds) ?
|
|
32911
|
+
return this.intersectsAabb(n.bounds) ? U6(n, [[this.min[0], this.min[1], 0], [this.max[0], this.min[1], 0], [this.max[0], this.max[1], 0], [this.min[0], this.max[1], 0]]) : 0;
|
|
32912
32912
|
}
|
|
32913
32913
|
intersectsPrecise(n, o) {
|
|
32914
|
-
return o || this.intersects(n) ?
|
|
32914
|
+
return o || this.intersects(n) ? B6(n, this.getCorners()) : 0;
|
|
32915
32915
|
}
|
|
32916
32916
|
intersectsPreciseFlat(n, o) {
|
|
32917
|
-
return o || this.intersectsFlat(n) ?
|
|
32917
|
+
return o || this.intersectsFlat(n) ? B6(n, [[this.min[0], this.min[1], 0], [this.max[0], this.min[1], 0], [this.max[0], this.max[1], 0], [this.min[0], this.max[1], 0]]) : 0;
|
|
32918
32918
|
}
|
|
32919
32919
|
intersectsAabb(n) {
|
|
32920
32920
|
for (let o = 0; o < 3; ++o)
|
|
@@ -32938,13 +32938,13 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32938
32938
|
}
|
|
32939
32939
|
}
|
|
32940
32940
|
ae(tr, "Aabb");
|
|
32941
|
-
const w$ = xi([{ type: "Float32", name: "a_globe_pos", components: 3 }, { type: "Float32", name: "a_uv", components: 2 }]), { members: mv } = w$,
|
|
32941
|
+
const w$ = xi([{ type: "Float32", name: "a_globe_pos", components: 3 }, { type: "Float32", name: "a_uv", components: 2 }]), { members: mv } = w$, V6 = xi([{ name: "a_pos_3", components: 3, type: "Int16" }]);
|
|
32942
32942
|
var C0 = xi([{ name: "a_pos", type: "Int16", components: 2 }]);
|
|
32943
32943
|
function gv(i) {
|
|
32944
32944
|
return i * Xo / tp;
|
|
32945
32945
|
}
|
|
32946
32946
|
const I$ = [new tr([ma, ma, ma], [ga, ga, ga]), new tr([ma, ma, ma], [0, 0, ga]), new tr([0, ma, ma], [ga, 0, ga]), new tr([ma, 0, ma], [0, ga, ga]), new tr([0, 0, ma], [ga, ga, ga])];
|
|
32947
|
-
function $
|
|
32947
|
+
function $6(i, n, o, c = !0) {
|
|
32948
32948
|
const h = s._.scale([], i._camera.position, i.worldSize), p = [n, o, 1, 1];
|
|
32949
32949
|
s.aA.transformMat4(p, p, i.pixelMatrixInverse), s.aA.scale(p, p, 1 / p[3]);
|
|
32950
32950
|
const m = s._.sub([], p, h), x = s._.normalize([], m), M = i.globeMatrix, I = [M[12], M[13], M[14]], E = s._.sub([], I, h), A = s._.length(E), z = s._.normalize([], E), P = i.worldSize / (2 * Math.PI), U = s._.dot(z, x), V = Math.asin(P / A);
|
|
@@ -32990,25 +32990,25 @@ ${JSON.stringify(o, null, 2)}
|
|
|
32990
32990
|
function vc(i, n, o) {
|
|
32991
32991
|
return s._.scale(i, i, 1 - o), s._.scaleAndAdd(i, i, n, o);
|
|
32992
32992
|
}
|
|
32993
|
-
function
|
|
32993
|
+
function Q6(i, n) {
|
|
32994
32994
|
const o = xc(n.zoom);
|
|
32995
32995
|
if (o === 0)
|
|
32996
32996
|
return wl(i);
|
|
32997
32997
|
const c = yv(i), h = p4(c), p = Ml(c.getWest()) * n.worldSize, m = Ml(c.getEast()) * n.worldSize, x = bl(c.getNorth()) * n.worldSize, M = bl(c.getSouth()) * n.worldSize, I = [p, x, 0], E = [m, x, 0], A = [p, M, 0], z = [m, M, 0], P = s.ad.invert([], n.globeMatrix);
|
|
32998
32998
|
return s._.transformMat4(I, I, P), s._.transformMat4(E, E, P), s._.transformMat4(A, A, P), s._.transformMat4(z, z, P), h[0] = vc(h[0], A, o), h[1] = vc(h[1], z, o), h[2] = vc(h[2], E, o), h[3] = vc(h[3], I, o), tr.fromPoints(h);
|
|
32999
32999
|
}
|
|
33000
|
-
function
|
|
33000
|
+
function H6(i, n, o) {
|
|
33001
33001
|
for (const c of i)
|
|
33002
33002
|
s._.transformMat4(c, c, n), s._.scale(c, c, o);
|
|
33003
33003
|
}
|
|
33004
|
-
function
|
|
33004
|
+
function Y6(i, n, o, c) {
|
|
33005
33005
|
const h = n / i.worldSize, p = i.globeMatrix;
|
|
33006
33006
|
if (o.z <= 1) {
|
|
33007
33007
|
const rt = wl(o).getCorners();
|
|
33008
|
-
return
|
|
33008
|
+
return H6(rt, p, h), tr.fromPoints(rt);
|
|
33009
33009
|
}
|
|
33010
33010
|
const m = yv(o, c), x = p4(m, Xo + gv(i._tileCoverLift));
|
|
33011
|
-
|
|
33011
|
+
H6(x, p, h);
|
|
33012
33012
|
const M = Number.MAX_VALUE, I = [-M, -M, -M], E = [M, M, M];
|
|
33013
33013
|
if (m.contains(i.center)) {
|
|
33014
33014
|
for (const ht of x)
|
|
@@ -33066,30 +33066,30 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33066
33066
|
function _v({ min: i, max: n }) {
|
|
33067
33067
|
return u$ / Math.max(n[0] - i[0], n[1] - i[1], n[2] - i[2]);
|
|
33068
33068
|
}
|
|
33069
|
-
const
|
|
33069
|
+
const G6 = new Float64Array(16);
|
|
33070
33070
|
function N0(i) {
|
|
33071
|
-
const n = _v(i), o = s.ad.fromScaling(
|
|
33071
|
+
const n = _v(i), o = s.ad.fromScaling(G6, [n, n, n]);
|
|
33072
33072
|
return s.ad.translate(o, o, s._.negate([], i.min));
|
|
33073
33073
|
}
|
|
33074
33074
|
function m4(i) {
|
|
33075
|
-
const n = s.ad.fromTranslation(
|
|
33075
|
+
const n = s.ad.fromTranslation(G6, i.min), o = 1 / _v(i);
|
|
33076
33076
|
return s.ad.scale(n, n, [o, o, o]);
|
|
33077
33077
|
}
|
|
33078
33078
|
function g4(i) {
|
|
33079
33079
|
const n = $t / (2 * Math.PI);
|
|
33080
33080
|
return i / (2 * Math.PI) / n;
|
|
33081
33081
|
}
|
|
33082
|
-
function
|
|
33082
|
+
function Z6(i, n) {
|
|
33083
33083
|
return $t / (512 * Math.pow(2, i)) * _v(wl(n));
|
|
33084
33084
|
}
|
|
33085
|
-
function
|
|
33085
|
+
function W6(i, n, o, c, h) {
|
|
33086
33086
|
const p = g4(o), m = [i, n, -o / (2 * Math.PI)], x = s.ad.identity(new Float64Array(16));
|
|
33087
33087
|
return s.ad.translate(x, x, m), s.ad.scale(x, x, [p, p, p]), s.ad.rotateX(x, x, ni(-h)), s.ad.rotateY(x, x, ni(-c)), x;
|
|
33088
33088
|
}
|
|
33089
33089
|
function xc(i) {
|
|
33090
|
-
return Oh(Xw,
|
|
33090
|
+
return Oh(Xw, T6, i);
|
|
33091
33091
|
}
|
|
33092
|
-
function
|
|
33092
|
+
function q6(i, n) {
|
|
33093
33093
|
const o = fd(n.lat, n.lng), c = function(p) {
|
|
33094
33094
|
const m = fd(p._center.lat, p._center.lng), x = s._.fromValues(0, 1, 0);
|
|
33095
33095
|
let M = s._.cross([], x, m);
|
|
@@ -33101,13 +33101,13 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33101
33101
|
return s._.angle(h, o);
|
|
33102
33102
|
}
|
|
33103
33103
|
function y4(i, n) {
|
|
33104
|
-
return
|
|
33104
|
+
return q6(i, n) > Math.PI / 2 * 1.01;
|
|
33105
33105
|
}
|
|
33106
|
-
const
|
|
33106
|
+
const K6 = ni(85), S$ = Math.cos(K6), E$ = Math.sin(K6), D$ = s.ad.create(), X6 = (i) => {
|
|
33107
33107
|
const n = [];
|
|
33108
33108
|
return i.paint.get("circle-pitch-alignment") === "map" && n.push("PITCH_WITH_MAP"), i.paint.get("circle-pitch-scale") === "map" && n.push("SCALE_WITH_MAP"), n;
|
|
33109
33109
|
};
|
|
33110
|
-
function
|
|
33110
|
+
function J6(i, n, o, c, h, p, m, x, M) {
|
|
33111
33111
|
if (p && i.queryGeometry.isAboveHorizon)
|
|
33112
33112
|
return !1;
|
|
33113
33113
|
p && (M *= i.pixelToTileUnitsFactor);
|
|
@@ -33133,14 +33133,14 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33133
33133
|
const h = s.aA.transformMat4([], [i, n, o, 1], c);
|
|
33134
33134
|
return new qt(h[0] / h[3], h[1] / h[3]);
|
|
33135
33135
|
}
|
|
33136
|
-
const
|
|
33136
|
+
const eA = s._.fromValues(0, 0, 0), A$ = s._.fromValues(0, 0, 1);
|
|
33137
33137
|
function N$(i, n) {
|
|
33138
33138
|
const o = s._.create();
|
|
33139
|
-
return
|
|
33139
|
+
return eA[2] = n, i.intersectsPlane(eA, A$, o), new qt(o[0], o[1]);
|
|
33140
33140
|
}
|
|
33141
|
-
class
|
|
33141
|
+
class tA extends o4 {
|
|
33142
33142
|
}
|
|
33143
|
-
function
|
|
33143
|
+
function nA(i, { width: n, height: o }, c, h) {
|
|
33144
33144
|
if (h) {
|
|
33145
33145
|
if (h instanceof Uint8ClampedArray)
|
|
33146
33146
|
h = new Uint8Array(h.buffer);
|
|
@@ -33150,7 +33150,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33150
33150
|
h = new Uint8Array(n * o * c);
|
|
33151
33151
|
return i.width = n, i.height = o, i.data = h, i;
|
|
33152
33152
|
}
|
|
33153
|
-
function
|
|
33153
|
+
function iA(i, n, o) {
|
|
33154
33154
|
const { width: c, height: h } = n;
|
|
33155
33155
|
c === i.width && h === i.height || (_4(i, n, { x: 0, y: 0 }, { x: 0, y: 0 }, { width: Math.min(i.width, c), height: Math.min(i.height, h) }, o, null), i.width = c, i.height = h, i.data = n.data);
|
|
33156
33156
|
}
|
|
@@ -33180,13 +33180,13 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33180
33180
|
}
|
|
33181
33181
|
return n;
|
|
33182
33182
|
}
|
|
33183
|
-
ae(
|
|
33183
|
+
ae(tA, "HeatmapBucket", { omit: ["layers"] });
|
|
33184
33184
|
class Lu {
|
|
33185
33185
|
constructor(n, o) {
|
|
33186
|
-
|
|
33186
|
+
nA(this, n, 1, o);
|
|
33187
33187
|
}
|
|
33188
33188
|
resize(n) {
|
|
33189
|
-
|
|
33189
|
+
iA(this, new Lu(n), 1);
|
|
33190
33190
|
}
|
|
33191
33191
|
clone() {
|
|
33192
33192
|
return new Lu({ width: this.width, height: this.height }, new Uint8Array(this.data));
|
|
@@ -33197,10 +33197,10 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33197
33197
|
}
|
|
33198
33198
|
class Ys {
|
|
33199
33199
|
constructor(n, o) {
|
|
33200
|
-
|
|
33200
|
+
nA(this, n, 4, o);
|
|
33201
33201
|
}
|
|
33202
33202
|
resize(n) {
|
|
33203
|
-
|
|
33203
|
+
iA(this, new Ys(n), 4);
|
|
33204
33204
|
}
|
|
33205
33205
|
replace(n, o) {
|
|
33206
33206
|
o ? this.data.set(n) : this.data = n instanceof Uint8ClampedArray ? new Uint8Array(n.buffer) : n;
|
|
@@ -33212,7 +33212,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33212
33212
|
_4(n, o, c, h, p, 4, m, x);
|
|
33213
33213
|
}
|
|
33214
33214
|
}
|
|
33215
|
-
class
|
|
33215
|
+
class rA {
|
|
33216
33216
|
constructor(n, o) {
|
|
33217
33217
|
this.width = n.width, this.height = n.height, this.data = o instanceof Uint8Array ? new Float32Array(o.buffer) : o;
|
|
33218
33218
|
}
|
|
@@ -33242,7 +33242,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33242
33242
|
const j$ = xi([{ name: "a_pos", components: 2, type: "Int16" }], 4), { members: R$ } = j$;
|
|
33243
33243
|
function z0(i, n, o = 2) {
|
|
33244
33244
|
const c = n && n.length, h = c ? n[0] * o : i.length;
|
|
33245
|
-
let p =
|
|
33245
|
+
let p = oA(i, 0, h, o, !0);
|
|
33246
33246
|
const m = [];
|
|
33247
33247
|
if (!p || p.next === p.prev)
|
|
33248
33248
|
return m;
|
|
@@ -33250,7 +33250,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33250
33250
|
if (c && (p = function(E, A, z, P) {
|
|
33251
33251
|
const U = [];
|
|
33252
33252
|
for (let V = 0, Q = A.length; V < Q; V++) {
|
|
33253
|
-
const q =
|
|
33253
|
+
const q = oA(E, A[V] * P, V < Q - 1 ? A[V + 1] * P : E.length, P, !1);
|
|
33254
33254
|
q === q.next && (q.steiner = !0), U.push(H$(q));
|
|
33255
33255
|
}
|
|
33256
33256
|
U.sort(V$);
|
|
@@ -33268,7 +33268,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33268
33268
|
}
|
|
33269
33269
|
return k0(p, m, o, x, M, I, 0), m;
|
|
33270
33270
|
}
|
|
33271
|
-
function
|
|
33271
|
+
function oA(i, n, o, c, h) {
|
|
33272
33272
|
let p;
|
|
33273
33273
|
if (h === function(m, x, M, I) {
|
|
33274
33274
|
let E = 0;
|
|
@@ -33277,10 +33277,10 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33277
33277
|
return E;
|
|
33278
33278
|
}(i, n, o, c) > 0)
|
|
33279
33279
|
for (let m = n; m < o; m += c)
|
|
33280
|
-
p =
|
|
33280
|
+
p = lA(m / c | 0, i[m], i[m + 1], p);
|
|
33281
33281
|
else
|
|
33282
33282
|
for (let m = o - c; m >= n; m -= c)
|
|
33283
|
-
p =
|
|
33283
|
+
p = lA(m / c | 0, i[m], i[m + 1], p);
|
|
33284
33284
|
return p && vv(p, p.next) && (j0(p), p = p.next), p;
|
|
33285
33285
|
}
|
|
33286
33286
|
function gd(i, n) {
|
|
@@ -33378,7 +33378,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33378
33378
|
let o = i;
|
|
33379
33379
|
do {
|
|
33380
33380
|
const c = o.prev, h = o.next.next;
|
|
33381
|
-
!vv(c, h) &&
|
|
33381
|
+
!vv(c, h) && sA(c, o, o.next, h) && O0(c, h) && O0(h, c) && (n.push(c.i, o.i, h.i), j0(o), j0(o.next), o = i = h), o = o.next;
|
|
33382
33382
|
} while (o !== i);
|
|
33383
33383
|
return gd(o);
|
|
33384
33384
|
}
|
|
@@ -33388,7 +33388,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33388
33388
|
let x = m.next.next;
|
|
33389
33389
|
for (; x !== m.prev; ) {
|
|
33390
33390
|
if (m.i !== x.i && Y$(m, x)) {
|
|
33391
|
-
let M =
|
|
33391
|
+
let M = aA(m, x);
|
|
33392
33392
|
return m = gd(m, m.next), M = gd(M, M.next), k0(m, n, o, c, h, p, 0), void k0(M, n, o, c, h, p, 0);
|
|
33393
33393
|
}
|
|
33394
33394
|
x = x.next;
|
|
@@ -33428,7 +33428,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33428
33428
|
}(i, n);
|
|
33429
33429
|
if (!o)
|
|
33430
33430
|
return n;
|
|
33431
|
-
const c =
|
|
33431
|
+
const c = aA(o, i);
|
|
33432
33432
|
return gd(c, c.next), gd(o, o.next);
|
|
33433
33433
|
}
|
|
33434
33434
|
function Q$(i, n) {
|
|
@@ -33451,7 +33451,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33451
33451
|
return i.next.i !== n.i && i.prev.i !== n.i && !function(o, c) {
|
|
33452
33452
|
let h = o;
|
|
33453
33453
|
do {
|
|
33454
|
-
if (h.i !== o.i && h.next.i !== o.i && h.i !== c.i && h.next.i !== c.i &&
|
|
33454
|
+
if (h.i !== o.i && h.next.i !== o.i && h.i !== c.i && h.next.i !== c.i && sA(h, h.next, o, c))
|
|
33455
33455
|
return !0;
|
|
33456
33456
|
h = h.next;
|
|
33457
33457
|
} while (h !== o);
|
|
@@ -33471,7 +33471,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33471
33471
|
function vv(i, n) {
|
|
33472
33472
|
return i.x === n.x && i.y === n.y;
|
|
33473
33473
|
}
|
|
33474
|
-
function
|
|
33474
|
+
function sA(i, n, o, c) {
|
|
33475
33475
|
const h = Mv(Br(i, n, o)), p = Mv(Br(i, n, c)), m = Mv(Br(o, c, i)), x = Mv(Br(o, c, n));
|
|
33476
33476
|
return h !== p && m !== x || !(h !== 0 || !xv(i, o, n)) || !(p !== 0 || !xv(i, c, n)) || !(m !== 0 || !xv(o, i, c)) || !(x !== 0 || !xv(o, n, c));
|
|
33477
33477
|
}
|
|
@@ -33484,11 +33484,11 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33484
33484
|
function O0(i, n) {
|
|
33485
33485
|
return Br(i.prev, i, i.next) < 0 ? Br(i, n, i.next) >= 0 && Br(i, i.prev, n) >= 0 : Br(i, n, i.prev) < 0 || Br(i, i.next, n) < 0;
|
|
33486
33486
|
}
|
|
33487
|
-
function
|
|
33487
|
+
function aA(i, n) {
|
|
33488
33488
|
const o = x4(i.i, i.x, i.y), c = x4(n.i, n.x, n.y), h = i.next, p = n.prev;
|
|
33489
33489
|
return i.next = n, n.prev = i, o.next = h, h.prev = o, c.next = o, o.prev = c, p.next = c, c.prev = p, c;
|
|
33490
33490
|
}
|
|
33491
|
-
function
|
|
33491
|
+
function lA(i, n, o, c) {
|
|
33492
33492
|
const h = x4(i, n, o);
|
|
33493
33493
|
return c ? (h.next = c.next, h.prev = c, c.next.prev = h, c.next = h) : (h.prev = h, h.next = h), h;
|
|
33494
33494
|
}
|
|
@@ -33689,7 +33689,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33689
33689
|
return Math.max(0, Math.min(o - 1, Math.floor(i * n)));
|
|
33690
33690
|
}
|
|
33691
33691
|
ae(w4, "TriangleGridIndex");
|
|
33692
|
-
class
|
|
33692
|
+
class cA {
|
|
33693
33693
|
constructor(n) {
|
|
33694
33694
|
this.zoom = n.zoom, this.layers = n.layers, this.layerIds = this.layers.map((o) => o.fqid), this.index = n.index, this.hasPattern = !1, this.stateDependentLayerIds = this.layers.filter((o) => o.isStateDependent()).map((o) => o.id), this.footprints = [];
|
|
33695
33695
|
}
|
|
@@ -33737,11 +33737,11 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33737
33737
|
}
|
|
33738
33738
|
}
|
|
33739
33739
|
}
|
|
33740
|
-
ae(
|
|
33740
|
+
ae(cA, "ClipBucket", { omit: ["layers"] });
|
|
33741
33741
|
const q$ = new vi({ "clip-layer-types": new Tt(st.layout_clip["clip-layer-types"]) });
|
|
33742
33742
|
var K$ = { paint: new vi({}), layout: q$ };
|
|
33743
33743
|
const X$ = xi([{ name: "a_pos_normal_ed", components: 4, type: "Int16" }]), J$ = xi([{ name: "a_pos_end", components: 4, type: "Int16" }, { name: "a_angular_offset_factor", components: 1, type: "Int16" }]), eQ = xi([{ name: "a_centroid_pos", components: 2, type: "Uint16" }]), tQ = xi([{ name: "a_hidden_by_landmark", components: 1, type: "Uint8" }]), nQ = xi([{ name: "a_pos_3", components: 3, type: "Int16" }, { name: "a_pos_normal_3", components: 3, type: "Int16" }]), { members: iQ } = X$;
|
|
33744
|
-
var Iv = {}, rQ = ff,
|
|
33744
|
+
var Iv = {}, rQ = ff, uA = op;
|
|
33745
33745
|
function op(i, n, o, c, h) {
|
|
33746
33746
|
this.properties = {}, this.extent = o, this.type = 0, this._pbf = i, this._geometry = -1, this._keys = c, this._values = h, i.readFields(oQ, this, n);
|
|
33747
33747
|
}
|
|
@@ -33826,8 +33826,8 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33826
33826
|
var z = { type: "Feature", geometry: { type: I, coordinates: M }, properties: this.properties };
|
|
33827
33827
|
return "id" in this && (z.id = this.id), z;
|
|
33828
33828
|
};
|
|
33829
|
-
var aQ =
|
|
33830
|
-
function
|
|
33829
|
+
var aQ = uA, hA = dA;
|
|
33830
|
+
function dA(i, n) {
|
|
33831
33831
|
this.version = 1, this.name = null, this.extent = 4096, this.length = 0, this._pbf = i, this._keys = [], this._values = [], this._features = [], i.readFields(lQ, this, n), this.length = this._features.length;
|
|
33832
33832
|
}
|
|
33833
33833
|
function lQ(i, n, o) {
|
|
@@ -33839,14 +33839,14 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33839
33839
|
return h;
|
|
33840
33840
|
}(o));
|
|
33841
33841
|
}
|
|
33842
|
-
|
|
33842
|
+
dA.prototype.feature = function(i) {
|
|
33843
33843
|
if (i < 0 || i >= this._features.length)
|
|
33844
33844
|
throw new Error("feature index out of bounds");
|
|
33845
33845
|
this._pbf.pos = this._features[i];
|
|
33846
33846
|
var n = this._pbf.readVarint() + this._pbf.pos;
|
|
33847
33847
|
return new aQ(this._pbf, n, this.extent, this._keys, this._values);
|
|
33848
33848
|
};
|
|
33849
|
-
var cQ =
|
|
33849
|
+
var cQ = hA;
|
|
33850
33850
|
function uQ(i, n, o) {
|
|
33851
33851
|
if (i === 3) {
|
|
33852
33852
|
var c = new cQ(o, o.readVarint() + o.pos);
|
|
@@ -33855,14 +33855,14 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33855
33855
|
}
|
|
33856
33856
|
var I4 = Iv.VectorTile = function(i, n) {
|
|
33857
33857
|
this.layers = i.readFields(uQ, {}, n);
|
|
33858
|
-
}, Tv = Iv.VectorTileFeature =
|
|
33859
|
-
Iv.VectorTileLayer =
|
|
33858
|
+
}, Tv = Iv.VectorTileFeature = uA;
|
|
33859
|
+
Iv.VectorTileLayer = hA;
|
|
33860
33860
|
class yd extends qt {
|
|
33861
33861
|
constructor(n, o, c) {
|
|
33862
33862
|
super(n, o), this.z = c;
|
|
33863
33863
|
}
|
|
33864
33864
|
}
|
|
33865
|
-
class
|
|
33865
|
+
class fA extends yd {
|
|
33866
33866
|
constructor(n, o, c, h) {
|
|
33867
33867
|
super(n, o, c), this.w = h;
|
|
33868
33868
|
}
|
|
@@ -33891,21 +33891,21 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33891
33891
|
}
|
|
33892
33892
|
return h;
|
|
33893
33893
|
}
|
|
33894
|
-
function
|
|
33894
|
+
function pA(i, n, o, c) {
|
|
33895
33895
|
const h = o === "x" ? "y" : "x", p = (c - i[o]) / (n[o] - i[o]);
|
|
33896
33896
|
i[h] = i[h] + (n[h] - i[h]) * p, i[o] = c, i.hasOwnProperty("z") && (i.z = bn(i.z, n.z, p)), i.hasOwnProperty("w") && (i.w = bn(i.w, n.w, p));
|
|
33897
33897
|
}
|
|
33898
|
-
function
|
|
33898
|
+
function mA(i, n, o, c) {
|
|
33899
33899
|
const h = o, p = c;
|
|
33900
33900
|
for (const m of ["x", "y"]) {
|
|
33901
33901
|
let x = i, M = n;
|
|
33902
|
-
x[m] >= M[m] && (x = n, M = i), x[m] < h && M[m] > h &&
|
|
33902
|
+
x[m] >= M[m] && (x = n, M = i), x[m] < h && M[m] > h && pA(x, M, m, h), x[m] < p && M[m] > p && pA(M, x, m, p);
|
|
33903
33903
|
}
|
|
33904
33904
|
}
|
|
33905
33905
|
function Ev(i, n) {
|
|
33906
33906
|
return i.x - n.x || i.y - n.y;
|
|
33907
33907
|
}
|
|
33908
|
-
function
|
|
33908
|
+
function gA(i, n) {
|
|
33909
33909
|
return Ev(i.min, n.min) === 0 && Ev(i.max, n.max) === 0;
|
|
33910
33910
|
}
|
|
33911
33911
|
function T4(i, n) {
|
|
@@ -33915,11 +33915,11 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33915
33915
|
if (i.length !== n.length)
|
|
33916
33916
|
return !1;
|
|
33917
33917
|
for (let o = 0; o < i.length; o++)
|
|
33918
|
-
if (i[o].sourceId !== n[o].sourceId || !
|
|
33918
|
+
if (i[o].sourceId !== n[o].sourceId || !gA(i[o], n[o]) || i[o].order !== n[o].order || i[o].clipMask !== n[o].clipMask)
|
|
33919
33919
|
return !1;
|
|
33920
33920
|
return !0;
|
|
33921
33921
|
}
|
|
33922
|
-
function
|
|
33922
|
+
function yA(i, n, o) {
|
|
33923
33923
|
const c = 1 / $t, h = 1 / (1 << o.canonical.z), p = (n.x * c + o.canonical.x) * h + o.wrap, m = (n.y * c + o.canonical.y) * h;
|
|
33924
33924
|
return { min: new qt((i.x * c + o.canonical.x) * h + o.wrap, (i.y * c + o.canonical.y) * h), max: new qt(p, m) };
|
|
33925
33925
|
}
|
|
@@ -33927,7 +33927,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33927
33927
|
const c = 1 << o.canonical.z, h = ((n.x - o.wrap) * c - o.canonical.x) * $t, p = (n.y * c - o.canonical.y) * $t;
|
|
33928
33928
|
return { min: new qt(((i.x - o.wrap) * c - o.canonical.x) * $t, (i.y * c - o.canonical.y) * $t), max: new qt(h, p) };
|
|
33929
33929
|
}
|
|
33930
|
-
function
|
|
33930
|
+
function _A(i, n, o, c, h, p, m) {
|
|
33931
33931
|
const x = i.indices, M = i.vertices, I = [];
|
|
33932
33932
|
for (let E = c; E < c + h; E += 3) {
|
|
33933
33933
|
const A = n[o[E + 0] + p], z = n[o[E + 1] + p], P = n[o[E + 2] + p], U = Math.min(A.x, z.x, P.x), V = Math.max(A.x, z.x, P.x), Q = Math.min(A.y, z.y, P.y), q = Math.max(A.y, z.y, P.y);
|
|
@@ -33940,23 +33940,23 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33940
33940
|
}
|
|
33941
33941
|
return !1;
|
|
33942
33942
|
}
|
|
33943
|
-
function
|
|
33943
|
+
function vA(i, n, o, c) {
|
|
33944
33944
|
if (!i || !o)
|
|
33945
33945
|
return !1;
|
|
33946
33946
|
let h = i.vertices;
|
|
33947
33947
|
if (!n.canonical.equals(c.canonical) || n.wrap !== c.wrap) {
|
|
33948
33948
|
if (o.vertices.length < i.vertices.length)
|
|
33949
|
-
return
|
|
33949
|
+
return vA(o, c, i, n);
|
|
33950
33950
|
const p = n.canonical, m = c.canonical, x = Math.pow(2, m.z - p.z);
|
|
33951
33951
|
h = i.vertices.map((M) => new qt((M.x + p.x * $t) * x - m.x * $t, (M.y + p.y * $t) * x - m.y * $t));
|
|
33952
33952
|
}
|
|
33953
|
-
return
|
|
33953
|
+
return _A(o, h, i.indices, 0, i.indices.length, 0, 0);
|
|
33954
33954
|
}
|
|
33955
|
-
function
|
|
33955
|
+
function xA(i, n, o, c) {
|
|
33956
33956
|
const h = Math.pow(2, c.z - o.z);
|
|
33957
33957
|
return new qt((i + o.x * $t) * h - c.x * $t, (n + o.y * $t) * h - c.y * $t);
|
|
33958
33958
|
}
|
|
33959
|
-
function
|
|
33959
|
+
function MA(i, n) {
|
|
33960
33960
|
const o = [];
|
|
33961
33961
|
n.footprint.grid.queryPoint(i, o);
|
|
33962
33962
|
const c = n.footprint.indices, h = n.footprint.vertices;
|
|
@@ -33967,7 +33967,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33967
33967
|
}
|
|
33968
33968
|
return !1;
|
|
33969
33969
|
}
|
|
33970
|
-
class
|
|
33970
|
+
class bA {
|
|
33971
33971
|
constructor(n) {
|
|
33972
33972
|
this.size = n, this.minimums = [], this.maximums = [], this.leaves = [];
|
|
33973
33973
|
}
|
|
@@ -33982,7 +33982,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33982
33982
|
return o * this.size + n;
|
|
33983
33983
|
}
|
|
33984
33984
|
}
|
|
33985
|
-
function
|
|
33985
|
+
function wA(i, n, o, c) {
|
|
33986
33986
|
let h = 0, p = Number.MAX_VALUE;
|
|
33987
33987
|
for (let m = 0; m < 3; m++)
|
|
33988
33988
|
if (Math.abs(c[m]) < 1e-15) {
|
|
@@ -34000,7 +34000,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34000
34000
|
}
|
|
34001
34001
|
return h;
|
|
34002
34002
|
}
|
|
34003
|
-
function
|
|
34003
|
+
function IA(i, n, o, c, h, p, m, x, M, I, E) {
|
|
34004
34004
|
const A = c - i, z = h - n, P = p - o, U = m - i, V = x - n, Q = M - o, q = E[1] * Q - E[2] * V, he = E[2] * U - E[0] * Q, fe = E[0] * V - E[1] * U, pe = A * q + z * he + P * fe;
|
|
34005
34005
|
if (Math.abs(pe) < 1e-15)
|
|
34006
34006
|
return null;
|
|
@@ -34010,14 +34010,14 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34010
34010
|
const gt = je * P - He * z, ht = He * A - we * P, It = we * z - je * A, kt = (E[0] * gt + E[1] * ht + E[2] * It) * Se;
|
|
34011
34011
|
return kt < 0 || rt + kt > 1 ? null : (U * gt + V * ht + Q * It) * Se;
|
|
34012
34012
|
}
|
|
34013
|
-
function
|
|
34013
|
+
function TA(i, n, o) {
|
|
34014
34014
|
return (i - n) / (o - n);
|
|
34015
34015
|
}
|
|
34016
|
-
function
|
|
34016
|
+
function SA(i, n, o, c, h, p, m, x, M) {
|
|
34017
34017
|
const I = 1 << o, E = p - c, A = m - h, z = (i + 1) / I * E + c, P = (n + 0) / I * A + h, U = (n + 1) / I * A + h;
|
|
34018
34018
|
x[0] = (i + 0) / I * E + c, x[1] = P, M[0] = z, M[1] = U;
|
|
34019
34019
|
}
|
|
34020
|
-
class
|
|
34020
|
+
class EA {
|
|
34021
34021
|
constructor(n) {
|
|
34022
34022
|
if (this.maximums = [], this.minimums = [], this.leaves = [], this.childOffsets = [], this.nodeCount = 0, this.dem = n, this._siblingOffset = [[0, 0], [1, 0], [0, 1], [1, 1]], !this.dem)
|
|
34023
34023
|
return;
|
|
@@ -34028,7 +34028,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34028
34028
|
const he = Q ? 1 : 0, fe = (P + 1) * V - he, pe = U * V, Se = (U + 1) * V - he;
|
|
34029
34029
|
q[0] = P * V, q[1] = pe, q[2] = fe, q[3] = Se;
|
|
34030
34030
|
};
|
|
34031
|
-
let A = new
|
|
34031
|
+
let A = new bA(M);
|
|
34032
34032
|
const z = [];
|
|
34033
34033
|
for (let P = 0; P < M * M; P++) {
|
|
34034
34034
|
E(P % M, Math.floor(P / M), I, !1, z);
|
|
@@ -34037,7 +34037,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34037
34037
|
}
|
|
34038
34038
|
for (x.push(A), M /= 2; M >= 1; M /= 2) {
|
|
34039
34039
|
const P = x[x.length - 1];
|
|
34040
|
-
A = new
|
|
34040
|
+
A = new bA(M);
|
|
34041
34041
|
for (let U = 0; U < M * M; U++) {
|
|
34042
34042
|
E(U % M, Math.floor(U / M), 2, !0, z);
|
|
34043
34043
|
const V = P.getElevation(z[0], z[1]), Q = P.getElevation(z[2], z[1]), q = P.getElevation(z[2], z[3]), he = P.getElevation(z[0], z[3]), fe = P.isLeaf(z[0], z[1]), pe = P.isLeaf(z[2], z[1]), Se = P.isLeaf(z[2], z[3]), we = P.isLeaf(z[0], z[3]), je = Math.min(V.min, Q.min, q.min, he.min), He = Math.max(V.max, Q.max, q.max, he.max), rt = fe && pe && Se && we;
|
|
@@ -34050,7 +34050,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34050
34050
|
this._addNode(h.minimums[0], h.maximums[0], h.leaves[0]), this._construct(o, 0, 0, c, 0);
|
|
34051
34051
|
}
|
|
34052
34052
|
raycastRoot(n, o, c, h, p, m, x = 1) {
|
|
34053
|
-
return
|
|
34053
|
+
return wA([n, o, -100], [c, h, this.maximums[0] * x], p, m);
|
|
34054
34054
|
}
|
|
34055
34055
|
raycast(n, o, c, h, p, m, x = 1) {
|
|
34056
34056
|
if (!this.nodeCount)
|
|
@@ -34062,21 +34062,21 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34062
34062
|
for (; P.length > 0; ) {
|
|
34063
34063
|
const { idx: U, t: V, nodex: Q, nodey: q, depth: he } = P.pop();
|
|
34064
34064
|
if (this.leaves[U]) {
|
|
34065
|
-
|
|
34066
|
-
const pe = 1 << he, Se = (Q + 0) / pe, we = (Q + 1) / pe, je = (q + 0) / pe, He = (q + 1) / pe, rt = zu(Se, je, this.dem) * x, gt = zu(we, je, this.dem) * x, ht = zu(we, He, this.dem) * x, It = zu(Se, He, this.dem) * x, kt =
|
|
34065
|
+
SA(Q, q, he, n, o, c, h, A, z);
|
|
34066
|
+
const pe = 1 << he, Se = (Q + 0) / pe, we = (Q + 1) / pe, je = (q + 0) / pe, He = (q + 1) / pe, rt = zu(Se, je, this.dem) * x, gt = zu(we, je, this.dem) * x, ht = zu(we, He, this.dem) * x, It = zu(Se, He, this.dem) * x, kt = IA(A[0], A[1], rt, z[0], A[1], gt, z[0], z[1], ht, p, m), bt = IA(z[0], z[1], ht, A[0], z[1], It, A[0], A[1], rt, p, m), At = Math.min(kt !== null ? kt : Number.MAX_VALUE, bt !== null ? bt : Number.MAX_VALUE);
|
|
34067
34067
|
if (At !== Number.MAX_VALUE)
|
|
34068
34068
|
return At;
|
|
34069
34069
|
{
|
|
34070
34070
|
const yt = s._.scaleAndAdd([], p, m, V);
|
|
34071
|
-
if (
|
|
34071
|
+
if (DA(rt, gt, It, ht, TA(yt[0], A[0], z[0]), TA(yt[1], A[1], z[1])) >= yt[2])
|
|
34072
34072
|
return V;
|
|
34073
34073
|
}
|
|
34074
34074
|
continue;
|
|
34075
34075
|
}
|
|
34076
34076
|
let fe = 0;
|
|
34077
34077
|
for (let pe = 0; pe < this._siblingOffset.length; pe++) {
|
|
34078
|
-
|
|
34079
|
-
const Se =
|
|
34078
|
+
SA((Q << 1) + this._siblingOffset[pe][0], (q << 1) + this._siblingOffset[pe][1], he + 1, n, o, c, h, A, z), A[2] = -100, z[2] = this.maximums[this.childOffsets[U] + pe] * x;
|
|
34079
|
+
const Se = wA(A, z, p, m);
|
|
34080
34080
|
if (Se != null) {
|
|
34081
34081
|
const we = Se;
|
|
34082
34082
|
I[pe] = we;
|
|
@@ -34110,12 +34110,12 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34110
34110
|
M & 1 << E || this._construct(n, 2 * o + this._siblingOffset[E][0], 2 * c + this._siblingOffset[E][1], m, I + E);
|
|
34111
34111
|
}
|
|
34112
34112
|
}
|
|
34113
|
-
function
|
|
34113
|
+
function DA(i, n, o, c, h, p) {
|
|
34114
34114
|
return bn(bn(i, o, p), bn(n, c, p), h);
|
|
34115
34115
|
}
|
|
34116
34116
|
function zu(i, n, o) {
|
|
34117
34117
|
const c = o.dim, h = Rn(i * c - 0.5, 0, c - 1), p = Rn(n * c - 0.5, 0, c - 1), m = Math.floor(h), x = Math.floor(p), M = Math.min(m + 1, c - 1), I = Math.min(x + 1, c - 1);
|
|
34118
|
-
return
|
|
34118
|
+
return DA(o.get(m, x), o.get(M, x), o.get(m, I), o.get(M, I), h - m, p - x);
|
|
34119
34119
|
}
|
|
34120
34120
|
const dQ = { mapbox: [6553.6, 25.6, 0.1, 1e4], terrarium: [256, 1, 1 / 256, 32768] };
|
|
34121
34121
|
function fQ(i, n, o) {
|
|
@@ -34148,7 +34148,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34148
34148
|
this._timestamp = io.now();
|
|
34149
34149
|
}
|
|
34150
34150
|
_buildQuadTree() {
|
|
34151
|
-
this._tree = new
|
|
34151
|
+
this._tree = new EA(this);
|
|
34152
34152
|
}
|
|
34153
34153
|
get(n, o, c = !1) {
|
|
34154
34154
|
c && (n = Rn(n, -1, this.dim), o = Rn(o, -1, this.dim));
|
|
@@ -34173,7 +34173,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34173
34173
|
return c[2] = p % 256, p = Math.floor(p / 256), c[1] = p % 256, p = Math.floor(p / 256), c[0] = p, c;
|
|
34174
34174
|
}
|
|
34175
34175
|
getPixels() {
|
|
34176
|
-
return new
|
|
34176
|
+
return new rA({ width: this.stride, height: this.stride }, this.pixels);
|
|
34177
34177
|
}
|
|
34178
34178
|
backfillBorder(n, o, c) {
|
|
34179
34179
|
if (this.dim !== n.dim)
|
|
@@ -34204,7 +34204,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34204
34204
|
this._tree && (this._tree.dem = this);
|
|
34205
34205
|
}
|
|
34206
34206
|
}
|
|
34207
|
-
ae(Dv, "DEMData"), ae(
|
|
34207
|
+
ae(Dv, "DEMData"), ae(EA, "DemMinMaxQuadTree", { omit: ["dem"] });
|
|
34208
34208
|
class sp {
|
|
34209
34209
|
constructor(n, o, c) {
|
|
34210
34210
|
this._demTile = n, this._dem = this._demTile.dem, this._scale = o, this._offset = c;
|
|
@@ -34231,7 +34231,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34231
34231
|
return (1 << this._demTile.tileID.canonical.z) * Jo(1, n) * this._dem.stride;
|
|
34232
34232
|
}
|
|
34233
34233
|
}
|
|
34234
|
-
const
|
|
34234
|
+
const CA = { None: 0, Model: 1, Symbol: 2, FillExtrusion: 4, All: 7 }, mQ = Tv.types, gQ = ["fill-extrusion-base", "fill-extrusion-height", "fill-extrusion-color", "fill-extrusion-pattern", "fill-extrusion-flood-light-wall-radius"], yQ = ["fill-extrusion-flood-light-ground-radius"], _Q = Math.pow(2, 13), vQ = Math.pow(2, 15) - 1, AA = new qt(0, 1), ku = 2147483648;
|
|
34235
34235
|
function R0(i, n, o, c, h, p, m, x) {
|
|
34236
34236
|
i.emplaceBack((n << 1) + m, (o << 1) + p, (Math.floor(c * _Q) << 1) + h, Math.round(x));
|
|
34237
34237
|
}
|
|
@@ -34241,12 +34241,12 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34241
34241
|
function P0(i, n, o) {
|
|
34242
34242
|
i.emplaceBack(n.x, n.y, n.z, o[0] * 16384, o[1] * 16384, o[2] * 16384);
|
|
34243
34243
|
}
|
|
34244
|
-
class
|
|
34244
|
+
class NA {
|
|
34245
34245
|
constructor() {
|
|
34246
34246
|
this.vertexOffset = 0, this.vertexCount = 0, this.indexOffset = 0, this.indexCount = 0;
|
|
34247
34247
|
}
|
|
34248
34248
|
}
|
|
34249
|
-
class
|
|
34249
|
+
class LA {
|
|
34250
34250
|
constructor() {
|
|
34251
34251
|
this.centroidXY = new qt(0, 0), this.vertexArrayOffset = 0, this.vertexCount = 0, this.groundVertexArrayOffset = 0, this.groundVertexCount = 0, this.flags = 0, this.footprintSegIdx = -1, this.footprintSegLen = 0, this.polygonSegIdx = -1, this.polygonSegLen = 0, this.min = new qt(Number.MAX_VALUE, Number.MAX_VALUE), this.max = new qt(-Number.MAX_VALUE, -Number.MAX_VALUE), this.height = 0;
|
|
34252
34252
|
}
|
|
@@ -34254,7 +34254,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34254
34254
|
return new qt(this.max.x - this.min.x, this.max.y - this.min.y);
|
|
34255
34255
|
}
|
|
34256
34256
|
}
|
|
34257
|
-
class
|
|
34257
|
+
class zA {
|
|
34258
34258
|
constructor() {
|
|
34259
34259
|
this.acc = new qt(0, 0), this.accCount = 0, this.centroidDataIndex = 0;
|
|
34260
34260
|
}
|
|
@@ -34292,7 +34292,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34292
34292
|
return this.borders ? this.borders.reduce((n, o) => n + +(o[0] !== Number.MAX_VALUE), 0) : 0;
|
|
34293
34293
|
}
|
|
34294
34294
|
}
|
|
34295
|
-
function
|
|
34295
|
+
function kA(i, n) {
|
|
34296
34296
|
const o = i.add(n)._unit(), c = Rn(i.x * o.x + i.y * o.y, -1, 1);
|
|
34297
34297
|
var h, p, m;
|
|
34298
34298
|
return h = Math.acos(c), Math.min(4, Math.max(-4, Math.tan(h))) / 4 * vQ * ((p = i).x * (m = n).y - p.y * m.x < 0 ? -1 : 1);
|
|
@@ -34312,7 +34312,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34312
34312
|
}
|
|
34313
34313
|
return h;
|
|
34314
34314
|
}
|
|
34315
|
-
class
|
|
34315
|
+
class OA {
|
|
34316
34316
|
constructor(n) {
|
|
34317
34317
|
this.vertexArray = new Nw(), this.indexArray = new Xr(), this.programConfigurations = new Cu(n.layers, { zoom: n.zoom, lut: n.lut }, (o) => yQ.includes(o)), this._segments = new or(), this.hiddenByLandmarkVertexArray = new Hw(), this._segmentToGroundQuads = {}, this._segmentToGroundQuads[0] = [], this._segmentToRegionTriCounts = {}, this._segmentToRegionTriCounts[0] = [0, 0, 0, 0, 0], this.regionSegments = {}, this.regionSegments[4] = new or();
|
|
34318
34318
|
}
|
|
@@ -34331,11 +34331,11 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34331
34331
|
m !== this._segments.get().length - 1 && (m++, this._segmentToGroundQuads[m] = [], this._segmentToRegionTriCounts[m] = [0, 0, 0, 0, 0]);
|
|
34332
34332
|
{
|
|
34333
34333
|
const I = n[0], E = n[1];
|
|
34334
|
-
M =
|
|
34334
|
+
M = kA(I.sub(n[p - 1])._perp()._unit(), E.sub(I)._perp()._unit());
|
|
34335
34335
|
}
|
|
34336
34336
|
for (let I = 0; I < p; I++) {
|
|
34337
|
-
const E = I === p - 1 ? 0 : I + 1, A = n[I], z = n[E], P = n[E === p - 1 ? 0 : E + 1], U = z.sub(A)._perp()._unit(), V =
|
|
34338
|
-
if (E4(A, z, o) || h &&
|
|
34337
|
+
const E = I === p - 1 ? 0 : I + 1, A = n[I], z = n[E], P = n[E === p - 1 ? 0 : E + 1], U = z.sub(A)._perp()._unit(), V = kA(U, P.sub(z)._perp()._unit()), Q = M, q = V;
|
|
34338
|
+
if (E4(A, z, o) || h && PA(A, o) && PA(z, o)) {
|
|
34339
34339
|
M = V;
|
|
34340
34340
|
continue;
|
|
34341
34341
|
}
|
|
@@ -34413,7 +34413,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34413
34413
|
}
|
|
34414
34414
|
class Av {
|
|
34415
34415
|
constructor(n) {
|
|
34416
|
-
this.zoom = n.zoom, this.canonical = n.canonical, this.overscaling = n.overscaling, this.layers = n.layers, this.layerIds = this.layers.map((o) => o.fqid), this.index = n.index, this.hasPattern = !1, this.edgeRadius = 0, this.projection = n.projection, this.activeReplacements = [], this.replacementUpdateTime = 0, this.centroidData = [], this.footprintIndices = new Xr(), this.footprintVertices = new Fa(), this.footprintSegments = [], this.layoutVertexArray = new wu(), this.centroidVertexArray = new
|
|
34416
|
+
this.zoom = n.zoom, this.canonical = n.canonical, this.overscaling = n.overscaling, this.layers = n.layers, this.layerIds = this.layers.map((o) => o.fqid), this.index = n.index, this.hasPattern = !1, this.edgeRadius = 0, this.projection = n.projection, this.activeReplacements = [], this.replacementUpdateTime = 0, this.centroidData = [], this.footprintIndices = new Xr(), this.footprintVertices = new Fa(), this.footprintSegments = [], this.layoutVertexArray = new wu(), this.centroidVertexArray = new x6(), this.indexArray = new Xr(), this.programConfigurations = new Cu(n.layers, { zoom: n.zoom, lut: n.lut }, (o) => gQ.includes(o)), this.segments = new or(), this.stateDependentLayerIds = this.layers.filter((o) => o.isStateDependent()).map((o) => o.id), this.groundEffect = new OA(n), this.maxHeight = 0, this.partLookup = {}, this.triangleSubSegments = [], this.polygonSegments = [];
|
|
34417
34417
|
}
|
|
34418
34418
|
updateFootprints(n, o) {
|
|
34419
34419
|
}
|
|
@@ -34458,9 +34458,9 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34458
34458
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.centroidVertexBuffer && this.centroidVertexBuffer.destroy(), this.layoutVertexExtBuffer && this.layoutVertexExtBuffer.destroy(), this.groundEffect.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy());
|
|
34459
34459
|
}
|
|
34460
34460
|
addFeature(n, o, c, h, p, m, x, M) {
|
|
34461
|
-
const I = this.layers[0].paint.get("fill-extrusion-flood-light-ground-radius").evaluate(n, {}) / this.tileToMeter, E = [new qt(0, 0), new qt($t, $t)], A = x.projection, z = A.name === "globe", P = mQ[n.type] === "Polygon", U = new
|
|
34461
|
+
const I = this.layers[0].paint.get("fill-extrusion-flood-light-ground-radius").evaluate(n, {}) / this.tileToMeter, E = [new qt(0, 0), new qt($t, $t)], A = x.projection, z = A.name === "globe", P = mQ[n.type] === "Polygon", U = new zA();
|
|
34462
34462
|
U.centroidDataIndex = this.centroidData.length;
|
|
34463
|
-
const V = new
|
|
34463
|
+
const V = new LA(), Q = this.layers[0].paint.get("fill-extrusion-base").evaluate(n, {}, h) <= 0, q = this.layers[0].paint.get("fill-extrusion-height").evaluate(n, {}, h);
|
|
34464
34464
|
V.height = q, V.vertexArrayOffset = this.layoutVertexArray.length, V.groundVertexArrayOffset = this.groundEffect.vertexArray.length, z && !this.layoutVertexExtArray && (this.layoutVertexExtArray = new sv());
|
|
34465
34465
|
const he = bv(o, 500);
|
|
34466
34466
|
for (let He = he.length - 1; He >= 0; He--) {
|
|
@@ -34470,7 +34470,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34470
34470
|
var fe;
|
|
34471
34471
|
let pe;
|
|
34472
34472
|
if (z)
|
|
34473
|
-
pe =
|
|
34473
|
+
pe = VA(he, E, h);
|
|
34474
34474
|
else {
|
|
34475
34475
|
pe = [];
|
|
34476
34476
|
for (const He of he)
|
|
@@ -34488,7 +34488,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34488
34488
|
P && !At[0].equals(At[At.length - 1]) && At.push(At[0]), ht += P ? At.length - 1 : At.length;
|
|
34489
34489
|
const It = this.segments.prepareSegment((P ? 5 : 4) * ht, this.layoutVertexArray, this.indexArray);
|
|
34490
34490
|
V.footprintSegIdx < 0 && (V.footprintSegIdx = this.footprintSegments.length), V.polygonSegIdx < 0 && (V.polygonSegIdx = this.polygonSegments.length);
|
|
34491
|
-
const kt = { triangleArrayOffset: this.indexArray.length, triangleCount: 0, triangleSegIdx: this.segments.segments.length - 1 }, bt = new
|
|
34491
|
+
const kt = { triangleArrayOffset: this.indexArray.length, triangleCount: 0, triangleSegIdx: this.segments.segments.length - 1 }, bt = new NA();
|
|
34492
34492
|
if (bt.vertexOffset = this.footprintVertices.length, bt.indexOffset = 3 * this.footprintIndices.length, bt.ringIndices = [], P) {
|
|
34493
34493
|
const At = [], yt = [];
|
|
34494
34494
|
gt = It.vertexLength;
|
|
@@ -34517,7 +34517,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34517
34517
|
for (let At = 0; At < He.length; At++) {
|
|
34518
34518
|
const yt = He[At];
|
|
34519
34519
|
U.startRing(V, yt[0]);
|
|
34520
|
-
let Nt = yt.length > 4 &&
|
|
34520
|
+
let Nt = yt.length > 4 && UA(yt[yt.length - 2], yt[0], yt[1]), Rt = Se ? bQ(yt[yt.length - 2], yt[0], yt[1], Se) : 0;
|
|
34521
34521
|
const Lt = [];
|
|
34522
34522
|
let Jt, Ot, Ut;
|
|
34523
34523
|
Ot = yt[1].sub(yt[0])._perp()._unit();
|
|
@@ -34532,14 +34532,14 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34532
34532
|
const En = vn.sub(Pt)._perp(), $n = En.x / (Math.abs(En.x) + Math.abs(En.y)), Un = En.y > 0 ? 1 : 0, Kn = Pt.dist(vn);
|
|
34533
34533
|
if (hn + Kn > 32768 && (hn = 0), Se) {
|
|
34534
34534
|
Ut = Pn.sub(vn)._perp()._unit();
|
|
34535
|
-
let gi =
|
|
34535
|
+
let gi = RA(Pt, vn, Pn, jA(Ot, Ut), Se);
|
|
34536
34536
|
isNaN(gi) && (gi = 0);
|
|
34537
34537
|
const si = vn.sub(Pt)._unit();
|
|
34538
34538
|
Pt = Pt.add(si.mult(Rt))._round(), vn = vn.add(si.mult(-gi))._round(), Rt = gi, Ot = Ut, Q && this.zoom >= 17 && (je(Lt, Pt) || Lt.push(Pt), je(Lt, vn) || Lt.push(vn));
|
|
34539
34539
|
}
|
|
34540
|
-
const In = It.vertexLength, zi = yt.length > 4 &&
|
|
34541
|
-
let Ci =
|
|
34542
|
-
if (R0(this.layoutVertexArray, Pt.x, Pt.y, $n, Un, 0, 0, Ci), R0(this.layoutVertexArray, Pt.x, Pt.y, $n, Un, 0, 1, Ci), hn += Kn, Ci =
|
|
34540
|
+
const In = It.vertexLength, zi = yt.length > 4 && UA(Pt, vn, Pn);
|
|
34541
|
+
let Ci = BA(hn, Nt, _n);
|
|
34542
|
+
if (R0(this.layoutVertexArray, Pt.x, Pt.y, $n, Un, 0, 0, Ci), R0(this.layoutVertexArray, Pt.x, Pt.y, $n, Un, 0, 1, Ci), hn += Kn, Ci = BA(hn, zi, !_n), Nt = zi, R0(this.layoutVertexArray, vn.x, vn.y, $n, Un, 0, 0, Ci), R0(this.layoutVertexArray, vn.x, vn.y, $n, Un, 0, 1, Ci), It.vertexLength += 4, this.indexArray.emplaceBack(In + 0, In + 1, In + 2), this.indexArray.emplaceBack(In + 1, In + 3, In + 2), It.primitiveLength += 2, Se) {
|
|
34543
34543
|
const gi = gt + (mn === 1 ? yt.length - 2 : mn - 2), si = mn === 1 ? gt : gi + 1;
|
|
34544
34544
|
if (this.indexArray.emplaceBack(In + 1, gi, In + 3), this.indexArray.emplaceBack(gi, si, In + 3), It.primitiveLength += 2, Jt === void 0 && (Jt = In), !E4(Pn, yt[mn], rt)) {
|
|
34545
34545
|
const yi = mn === yt.length - 1 ? Jt : It.vertexLength;
|
|
@@ -34557,7 +34557,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34557
34557
|
this.footprintSegments.push(bt), kt.triangleCount = this.indexArray.length - kt.triangleArrayOffset, this.polygonSegments.push(kt), ++V.footprintSegLen, ++V.polygonSegLen;
|
|
34558
34558
|
}
|
|
34559
34559
|
if (V.vertexCount = this.layoutVertexArray.length - V.vertexArrayOffset, V.groundVertexCount = this.groundEffect.vertexArray.length - V.groundVertexArrayOffset, V.vertexCount !== 0) {
|
|
34560
|
-
if (V.centroidXY = U.borders ?
|
|
34560
|
+
if (V.centroidXY = U.borders ? AA : this.encodeCentroid(U, V), this.centroidData.push(V), U.borders) {
|
|
34561
34561
|
this.featuresOnBorder.push(U);
|
|
34562
34562
|
const He = this.featuresOnBorder.length - 1;
|
|
34563
34563
|
for (let rt = 0; rt < U.borders.length; rt++)
|
|
@@ -34659,7 +34659,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34659
34659
|
}
|
|
34660
34660
|
writeCentroidToBuffer(n) {
|
|
34661
34661
|
this.groundEffect.updateHiddenByLandmark(n);
|
|
34662
|
-
const o = n.vertexArrayOffset, c = n.vertexCount + n.vertexArrayOffset, h = n.flags & ku ?
|
|
34662
|
+
const o = n.vertexArrayOffset, c = n.vertexCount + n.vertexArrayOffset, h = n.flags & ku ? AA : n.centroidXY, p = this.centroidVertexArray.geta_centroid_pos0(o);
|
|
34663
34663
|
if (this.centroidVertexArray.geta_centroid_pos1(o) !== h.y || p !== h.x) {
|
|
34664
34664
|
for (let m = o; m < c; ++m)
|
|
34665
34665
|
this.centroidVertexArray.emplace(m, h.x, h.y);
|
|
@@ -34692,7 +34692,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34692
34692
|
if (!(M.flags & ku || m.min.x > M.max.x || M.min.x > m.max.x || m.min.y > M.max.y || M.min.y > m.max.y))
|
|
34693
34693
|
for (let I = 0; I < M.footprintSegLen; I++) {
|
|
34694
34694
|
const E = this.footprintSegments[M.footprintSegIdx + I];
|
|
34695
|
-
if (p.length = 0, wQ(this.footprintVertices, E.vertexOffset, E.vertexCount, m.footprintTileId.canonical, n.canonical, p),
|
|
34695
|
+
if (p.length = 0, wQ(this.footprintVertices, E.vertexOffset, E.vertexCount, m.footprintTileId.canonical, n.canonical, p), _A(m.footprint, p, this.footprintIndices.uint16, E.indexOffset, E.indexCount, -E.vertexOffset, -x)) {
|
|
34696
34696
|
M.flags |= ku;
|
|
34697
34697
|
break;
|
|
34698
34698
|
}
|
|
@@ -34731,39 +34731,39 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34731
34731
|
this.partLookup[p] = void 0;
|
|
34732
34732
|
}
|
|
34733
34733
|
}
|
|
34734
|
-
function
|
|
34734
|
+
function jA(i, n) {
|
|
34735
34735
|
const o = i.add(n)._unit();
|
|
34736
34736
|
return i.x * o.x + i.y * o.y;
|
|
34737
34737
|
}
|
|
34738
34738
|
function bQ(i, n, o, c) {
|
|
34739
34739
|
const h = n.sub(i)._perp()._unit(), p = o.sub(n)._perp()._unit();
|
|
34740
|
-
return
|
|
34740
|
+
return RA(i, n, o, jA(h, p), c);
|
|
34741
34741
|
}
|
|
34742
|
-
function
|
|
34742
|
+
function RA(i, n, o, c, h) {
|
|
34743
34743
|
const p = Math.sqrt(1 - c * c);
|
|
34744
34744
|
return Math.min(i.dist(n) / 3, n.dist(o) / 3, h * p / c);
|
|
34745
34745
|
}
|
|
34746
34746
|
function E4(i, n, o) {
|
|
34747
34747
|
return i.x < o[0].x && n.x < o[0].x || i.x > o[1].x && n.x > o[1].x || i.y < o[0].y && n.y < o[0].y || i.y > o[1].y && n.y > o[1].y;
|
|
34748
34748
|
}
|
|
34749
|
-
function
|
|
34749
|
+
function PA(i, n) {
|
|
34750
34750
|
return i.x < n[0].x || i.x > n[1].x || i.y < n[0].y || i.y > n[1].y;
|
|
34751
34751
|
}
|
|
34752
|
-
function
|
|
34752
|
+
function UA(i, n, o) {
|
|
34753
34753
|
if (i.x < 0 || i.x >= $t || n.x < 0 || n.x >= $t || o.x < 0 || o.x >= $t)
|
|
34754
34754
|
return !1;
|
|
34755
34755
|
const c = o.sub(n), h = c.perp(), p = i.sub(n);
|
|
34756
34756
|
return (c.x * p.x + c.y * p.y) / Math.sqrt((c.x * c.x + c.y * c.y) * (p.x * p.x + p.y * p.y)) > -0.866 && h.x * p.x + h.y * p.y < 0;
|
|
34757
34757
|
}
|
|
34758
|
-
function
|
|
34758
|
+
function BA(i, n, o) {
|
|
34759
34759
|
const c = n ? 2 | i : -3 & i;
|
|
34760
34760
|
return o ? 1 | c : -2 & c;
|
|
34761
34761
|
}
|
|
34762
|
-
function
|
|
34762
|
+
function FA() {
|
|
34763
34763
|
const i = Math.PI / 32, n = Math.tan(i), o = tp;
|
|
34764
34764
|
return o * Math.sqrt(1 + 2 * n * n) - o;
|
|
34765
34765
|
}
|
|
34766
|
-
function
|
|
34766
|
+
function VA(i, n, o) {
|
|
34767
34767
|
const c = 1 << o.z, h = us(o.x / c), p = us((o.x + 1) / c), m = oo(o.y / c), x = oo((o.y + 1) / c);
|
|
34768
34768
|
return function(M, I, E, A, z = 0, P) {
|
|
34769
34769
|
const U = [];
|
|
@@ -34809,13 +34809,13 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34809
34809
|
M = (M + h.x * $t) * m - c.x * $t, I = (I + h.y * $t) * m - c.y * $t, p.push(new qt(M, I));
|
|
34810
34810
|
}
|
|
34811
34811
|
}
|
|
34812
|
-
ae(Av, "FillExtrusionBucket", { omit: ["layers", "features"] }), ae(
|
|
34812
|
+
ae(Av, "FillExtrusionBucket", { omit: ["layers", "features"] }), ae(LA, "PartData"), ae(NA, "FootprintSegment"), ae(zA, "BorderCentroidData"), ae(OA, "GroundEffect");
|
|
34813
34813
|
const IQ = new vi({ visibility: new Tt(st["layout_fill-extrusion"].visibility), "fill-extrusion-edge-radius": new Tt(st["layout_fill-extrusion"]["fill-extrusion-edge-radius"]) });
|
|
34814
34814
|
var TQ = { paint: new vi({ "fill-extrusion-opacity": new Tt(st["paint_fill-extrusion"]["fill-extrusion-opacity"]), "fill-extrusion-color": new tn(st["paint_fill-extrusion"]["fill-extrusion-color"]), "fill-extrusion-translate": new Tt(st["paint_fill-extrusion"]["fill-extrusion-translate"]), "fill-extrusion-translate-anchor": new Tt(st["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]), "fill-extrusion-pattern": new tn(st["paint_fill-extrusion"]["fill-extrusion-pattern"]), "fill-extrusion-height": new tn(st["paint_fill-extrusion"]["fill-extrusion-height"]), "fill-extrusion-base": new tn(st["paint_fill-extrusion"]["fill-extrusion-base"]), "fill-extrusion-vertical-gradient": new Tt(st["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"]), "fill-extrusion-ambient-occlusion-intensity": new Tt(st["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-intensity"]), "fill-extrusion-ambient-occlusion-radius": new Tt(st["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-radius"]), "fill-extrusion-ambient-occlusion-wall-radius": new Tt(st["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-wall-radius"]), "fill-extrusion-ambient-occlusion-ground-radius": new Tt(st["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-ground-radius"]), "fill-extrusion-ambient-occlusion-ground-attenuation": new Tt(st["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-ground-attenuation"]), "fill-extrusion-flood-light-color": new Tt(st["paint_fill-extrusion"]["fill-extrusion-flood-light-color"]), "fill-extrusion-flood-light-intensity": new Tt(st["paint_fill-extrusion"]["fill-extrusion-flood-light-intensity"]), "fill-extrusion-flood-light-wall-radius": new tn(st["paint_fill-extrusion"]["fill-extrusion-flood-light-wall-radius"]), "fill-extrusion-flood-light-ground-radius": new tn(st["paint_fill-extrusion"]["fill-extrusion-flood-light-ground-radius"]), "fill-extrusion-flood-light-ground-attenuation": new Tt(st["paint_fill-extrusion"]["fill-extrusion-flood-light-ground-attenuation"]), "fill-extrusion-vertical-scale": new Tt(st["paint_fill-extrusion"]["fill-extrusion-vertical-scale"]), "fill-extrusion-rounded-roof": new Tt(st["paint_fill-extrusion"]["fill-extrusion-rounded-roof"]), "fill-extrusion-cutoff-fade-range": new Tt(st["paint_fill-extrusion"]["fill-extrusion-cutoff-fade-range"]), "fill-extrusion-emissive-strength": new Tt(st["paint_fill-extrusion"]["fill-extrusion-emissive-strength"]) }), layout: IQ };
|
|
34815
34815
|
function U0(i, n) {
|
|
34816
34816
|
return i.x * n.x + i.y * n.y;
|
|
34817
34817
|
}
|
|
34818
|
-
function $
|
|
34818
|
+
function $A(i, n) {
|
|
34819
34819
|
if (i.length === 1) {
|
|
34820
34820
|
let o = 0;
|
|
34821
34821
|
const c = n[o++];
|
|
@@ -34837,7 +34837,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34837
34837
|
return o;
|
|
34838
34838
|
}
|
|
34839
34839
|
}
|
|
34840
|
-
function
|
|
34840
|
+
function QA(i, n, o, c, h, p, m, x) {
|
|
34841
34841
|
const M = m * h.getElevationAt(i, n, !0, !0), I = p[0] !== 0, E = I ? p[1] === 0 ? m * (p[0] / 7 - 450) : m * function(A, z, P) {
|
|
34842
34842
|
const U = Math.floor(z[0] / 8), V = Math.floor(z[1] / 8), Q = 10 * (z[0] - 8 * U), q = 10 * (z[1] - 8 * V), he = A.getElevationAt(U, V, !0, !0), fe = A.getMeterToDEM(P), pe = Math.floor(0.5 * (Q * fe - 1)), Se = Math.floor(0.5 * (q * fe - 1)), we = A.tileCoordToPixel(U, V), je = 2 * pe + 1, He = 2 * Se + 1, rt = function(At, yt, Nt, Rt, Lt) {
|
|
34843
34843
|
return [At.getElevationAtPixel(yt, Nt, !0), At.getElevationAtPixel(yt + Lt, Nt, !0), At.getElevationAtPixel(yt, Nt + Lt, !0), At.getElevationAtPixel(yt + Rt, Nt + Lt, !0)];
|
|
@@ -34848,11 +34848,11 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34848
34848
|
}
|
|
34849
34849
|
const SQ = xi([{ name: "a_pos_normal", components: 2, type: "Int16" }, { name: "a_data", components: 4, type: "Uint8" }, { name: "a_linesofar", components: 1, type: "Float32" }], 4), { members: EQ } = SQ, DQ = xi([{ name: "a_packed", components: 4, type: "Float32" }]), { members: CQ } = DQ, AQ = xi([{ name: "a_pattern_data", components: 3, type: "Float32" }]), { members: NQ } = AQ, LQ = xi([{ name: "a_pos_offset", components: 4, type: "Int16" }, { name: "a_tex_size", components: 4, type: "Uint16" }, { name: "a_pixeloffset", components: 4, type: "Int16" }], 4), zQ = xi([{ name: "a_globe_anchor", components: 3, type: "Int16" }, { name: "a_globe_normal", components: 3, type: "Float32" }], 4), kQ = xi([{ name: "a_projected_pos", components: 4, type: "Float32" }], 4);
|
|
34850
34850
|
xi([{ name: "a_fade_opacity", components: 1, type: "Uint32" }], 4);
|
|
34851
|
-
const D4 = xi([{ name: "a_occlusion_query_opacity", components: 1, type: "Float32" }], 4),
|
|
34851
|
+
const D4 = xi([{ name: "a_occlusion_query_opacity", components: 1, type: "Float32" }], 4), HA = xi([{ name: "a_z_offset", components: 1, type: "Float32" }], 4), OQ = xi([{ name: "a_texb", components: 2, type: "Uint16" }]), jQ = xi([{ name: "a_placed", components: 2, type: "Uint8" }, { name: "a_shift", components: 2, type: "Float32" }]), RQ = xi([{ name: "a_size_scale", components: 1, type: "Float32" }, { name: "a_padding", components: 2, type: "Float32" }, { name: "a_z_offset", components: 1, type: "Float32" }]);
|
|
34852
34852
|
xi([{ type: "Int16", name: "projectedAnchorX" }, { type: "Int16", name: "projectedAnchorY" }, { type: "Int16", name: "projectedAnchorZ" }, { type: "Int16", name: "tileAnchorX" }, { type: "Int16", name: "tileAnchorY" }, { type: "Float32", name: "x1" }, { type: "Float32", name: "y1" }, { type: "Float32", name: "x2" }, { type: "Float32", name: "y2" }, { type: "Int16", name: "padding" }, { type: "Uint32", name: "featureIndex" }, { type: "Uint16", name: "sourceLayerIndex" }, { type: "Uint16", name: "bucketIndex" }]);
|
|
34853
|
-
const
|
|
34853
|
+
const YA = xi([{ name: "a_pos", components: 3, type: "Int16" }, { name: "a_anchor_pos", components: 2, type: "Int16" }, { name: "a_extrude", components: 2, type: "Int16" }], 4), PQ = xi([{ name: "a_pos_2f", components: 2, type: "Float32" }, { name: "a_radius", components: 1, type: "Float32" }, { name: "a_flags", components: 2, type: "Int16" }], 4);
|
|
34854
34854
|
xi([{ name: "triangle", components: 3, type: "Uint16" }]), xi([{ type: "Int16", name: "projectedAnchorX" }, { type: "Int16", name: "projectedAnchorY" }, { type: "Int16", name: "projectedAnchorZ" }, { type: "Float32", name: "tileAnchorX" }, { type: "Float32", name: "tileAnchorY" }, { type: "Uint16", name: "glyphStartIndex" }, { type: "Uint16", name: "numGlyphs" }, { type: "Uint32", name: "vertexStartIndex" }, { type: "Uint32", name: "lineStartIndex" }, { type: "Uint32", name: "lineLength" }, { type: "Uint16", name: "segment" }, { type: "Uint16", name: "lowerSize" }, { type: "Uint16", name: "upperSize" }, { type: "Float32", name: "lineOffsetX" }, { type: "Float32", name: "lineOffsetY" }, { type: "Uint8", name: "writingMode" }, { type: "Uint8", name: "placedOrientation" }, { type: "Uint8", name: "hidden" }, { type: "Uint32", name: "crossTileID" }, { type: "Int16", name: "associatedIconIndex" }, { type: "Uint8", name: "flipState" }]), xi([{ type: "Float32", name: "tileAnchorX" }, { type: "Float32", name: "tileAnchorY" }, { type: "Int16", name: "projectedAnchorX" }, { type: "Int16", name: "projectedAnchorY" }, { type: "Int16", name: "projectedAnchorZ" }, { type: "Int16", name: "rightJustifiedTextSymbolIndex" }, { type: "Int16", name: "centerJustifiedTextSymbolIndex" }, { type: "Int16", name: "leftJustifiedTextSymbolIndex" }, { type: "Int16", name: "verticalPlacedTextSymbolIndex" }, { type: "Int16", name: "placedIconSymbolIndex" }, { type: "Int16", name: "verticalPlacedIconSymbolIndex" }, { type: "Uint16", name: "key" }, { type: "Uint16", name: "textBoxStartIndex" }, { type: "Uint16", name: "textBoxEndIndex" }, { type: "Uint16", name: "verticalTextBoxStartIndex" }, { type: "Uint16", name: "verticalTextBoxEndIndex" }, { type: "Uint16", name: "iconBoxStartIndex" }, { type: "Uint16", name: "iconBoxEndIndex" }, { type: "Uint16", name: "verticalIconBoxStartIndex" }, { type: "Uint16", name: "verticalIconBoxEndIndex" }, { type: "Uint16", name: "featureIndex" }, { type: "Uint16", name: "numHorizontalGlyphVertices" }, { type: "Uint16", name: "numVerticalGlyphVertices" }, { type: "Uint16", name: "numIconVertices" }, { type: "Uint16", name: "numVerticalIconVertices" }, { type: "Uint16", name: "useRuntimeCollisionCircles" }, { type: "Uint32", name: "crossTileID" }, { type: "Float32", components: 2, name: "textOffset" }, { type: "Float32", name: "collisionCircleDiameter" }, { type: "Float32", name: "zOffset" }, { type: "Float32", name: "occlusionState" }, { type: "Float32", name: "occlusionOpacity" }, { type: "Uint8", name: "hasIconTextFit" }]), xi([{ type: "Float32", name: "offsetX" }]), xi([{ type: "Int16", name: "x" }, { type: "Int16", name: "y" }]);
|
|
34855
|
-
class
|
|
34855
|
+
class GA {
|
|
34856
34856
|
constructor(n, o) {
|
|
34857
34857
|
this.width = n, this.height = o, this.nextRow = 0, this.image = new Lu({ width: n, height: o }), this.positions = {}, this.uploaded = !1;
|
|
34858
34858
|
}
|
|
@@ -34934,7 +34934,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34934
34934
|
return this.positions[c] = I, I;
|
|
34935
34935
|
}
|
|
34936
34936
|
}
|
|
34937
|
-
ae(
|
|
34937
|
+
ae(GA, "LineAtlas");
|
|
34938
34938
|
const UQ = Tv.types, BQ = Math.cos(Math.PI / 180 * 37.5), FQ = Math.cos(Math.PI / 180 * 5);
|
|
34939
34939
|
class Nv {
|
|
34940
34940
|
constructor(n) {
|
|
@@ -35013,7 +35013,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
35013
35013
|
return !this.uploaded || this.programConfigurations.needsUpload;
|
|
35014
35014
|
}
|
|
35015
35015
|
upload(n) {
|
|
35016
|
-
this.uploaded || (this.layoutVertexArray2.length !== 0 && (this.layoutVertexBuffer2 = n.createVertexBuffer(this.layoutVertexArray2, CQ)), this.patternVertexArray.length !== 0 && (this.patternVertexBuffer = n.createVertexBuffer(this.patternVertexArray, NQ)), !this.zOffsetVertexBuffer && this.zOffsetVertexArray.length > 0 && (this.zOffsetVertexBuffer = n.createVertexBuffer(this.zOffsetVertexArray,
|
|
35016
|
+
this.uploaded || (this.layoutVertexArray2.length !== 0 && (this.layoutVertexBuffer2 = n.createVertexBuffer(this.layoutVertexArray2, CQ)), this.patternVertexArray.length !== 0 && (this.patternVertexBuffer = n.createVertexBuffer(this.patternVertexArray, NQ)), !this.zOffsetVertexBuffer && this.zOffsetVertexArray.length > 0 && (this.zOffsetVertexBuffer = n.createVertexBuffer(this.zOffsetVertexArray, HA.members, !0)), this.layoutVertexBuffer = n.createVertexBuffer(this.layoutVertexArray, EQ), this.indexBuffer = n.createIndexBuffer(this.indexArray)), this.programConfigurations.upload(n), this.uploaded = !0;
|
|
35017
35017
|
}
|
|
35018
35018
|
destroy() {
|
|
35019
35019
|
this.layoutVertexBuffer && (this.zOffsetVertexBuffer && this.zOffsetVertexBuffer.destroy(), this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy());
|
|
@@ -35155,14 +35155,14 @@ ${JSON.stringify(o, null, 2)}
|
|
|
35155
35155
|
addCurrentVertex(n, o, c, h, p, m, x = !1) {
|
|
35156
35156
|
const M = o.x + o.y * c, I = o.y - o.x * c, E = o.y * h - o.x, A = -o.y - o.x * h;
|
|
35157
35157
|
if (m != null) {
|
|
35158
|
-
const P = $t + 10, U = m, V = new
|
|
35158
|
+
const P = $t + 10, U = m, V = new fA(n.x, n.y, U, this.lineSoFar), Q = ZA(n, -10, P), q = this.lineSoFar;
|
|
35159
35159
|
if (this.currentVertex)
|
|
35160
35160
|
if (Q) {
|
|
35161
|
-
const he = this.currentVertexIsOutside, fe = this.currentVertex, pe = new
|
|
35162
|
-
|
|
35161
|
+
const he = this.currentVertexIsOutside, fe = this.currentVertex, pe = new fA(n.x, n.y, U, this.lineSoFar);
|
|
35162
|
+
mA(fe, pe, -10, P), ZA(pe, -10, P) || (he && (this.e1 = this.e2 = -1, this.lineSoFar = fe.w, this.addHalfVertex(fe, M, I, x, !1, c, p, fe.z), this.addHalfVertex(fe, E, A, x, !0, -h, p, fe.z)), this.addVerticesTo(fe, pe, M, I, E, A, c, h, p, x));
|
|
35163
35163
|
} else {
|
|
35164
35164
|
const he = this.currentVertex;
|
|
35165
|
-
this.currentVertexIsOutside && (
|
|
35165
|
+
this.currentVertexIsOutside && (mA(he, V, -10, P), this.e1 = this.e2 = -1, this.lineSoFar = he.w, this.addHalfVertex(he, M, I, x, !1, c, p, he.z), this.addHalfVertex(he, E, A, x, !0, -h, p, he.z)), this.addVerticesTo(he, V, M, I, E, A, c, h, p, x);
|
|
35166
35166
|
}
|
|
35167
35167
|
else
|
|
35168
35168
|
Q || (this.addHalfVertex(n, M, I, x, !1, c, p, m), this.addHalfVertex(n, E, A, x, !0, -h, p, m));
|
|
@@ -35186,30 +35186,30 @@ ${JSON.stringify(o, null, 2)}
|
|
|
35186
35186
|
this.distance += n.dist(o), this.updateScaledDistance();
|
|
35187
35187
|
}
|
|
35188
35188
|
}
|
|
35189
|
-
function
|
|
35189
|
+
function ZA(i, n, o) {
|
|
35190
35190
|
return i.x < n || i.x > o || i.y < n || i.y > o;
|
|
35191
35191
|
}
|
|
35192
35192
|
ae(Nv, "LineBucket", { omit: ["layers", "patternFeatures", "currentVertex", "currentVertexIsOutside"] });
|
|
35193
35193
|
const VQ = new vi({ "line-cap": new tn(st.layout_line["line-cap"]), "line-join": new tn(st.layout_line["line-join"]), "line-miter-limit": new Tt(st.layout_line["line-miter-limit"]), "line-round-limit": new Tt(st.layout_line["line-round-limit"]), "line-sort-key": new tn(st.layout_line["line-sort-key"]), "line-z-offset": new tn(st.layout_line["line-z-offset"]), visibility: new Tt(st.layout_line.visibility) });
|
|
35194
35194
|
var Lv = { paint: new vi({ "line-opacity": new tn(st.paint_line["line-opacity"]), "line-color": new tn(st.paint_line["line-color"]), "line-translate": new Tt(st.paint_line["line-translate"]), "line-translate-anchor": new Tt(st.paint_line["line-translate-anchor"]), "line-width": new tn(st.paint_line["line-width"]), "line-gap-width": new tn(st.paint_line["line-gap-width"]), "line-offset": new tn(st.paint_line["line-offset"]), "line-blur": new tn(st.paint_line["line-blur"]), "line-dasharray": new tn(st.paint_line["line-dasharray"]), "line-pattern": new tn(st.paint_line["line-pattern"]), "line-gradient": new qr(st.paint_line["line-gradient"]), "line-trim-offset": new Tt(st.paint_line["line-trim-offset"]), "line-trim-fade-range": new Tt(st.paint_line["line-trim-fade-range"]), "line-trim-color": new Tt(st.paint_line["line-trim-color"]), "line-emissive-strength": new Tt(st.paint_line["line-emissive-strength"]), "line-border-width": new tn(st.paint_line["line-border-width"]), "line-border-color": new tn(st.paint_line["line-border-color"]), "line-occlusion-opacity": new Tt(st.paint_line["line-occlusion-opacity"]) }), layout: VQ };
|
|
35195
|
-
function
|
|
35195
|
+
function WA(i, n, o) {
|
|
35196
35196
|
return n * ($t / (i.tileSize * Math.pow(2, o - i.tileID.overscaledZ)));
|
|
35197
35197
|
}
|
|
35198
|
-
function
|
|
35199
|
-
return 1 /
|
|
35198
|
+
function qA(i, n) {
|
|
35199
|
+
return 1 / WA(i, 1, n.tileZoom);
|
|
35200
35200
|
}
|
|
35201
|
-
function
|
|
35201
|
+
function KA(i, n, o, c) {
|
|
35202
35202
|
return i.translatePosMatrix(c || n.tileID.projMatrix, n, o.paint.get("line-translate"), o.paint.get("line-translate-anchor"));
|
|
35203
35203
|
}
|
|
35204
|
-
const
|
|
35204
|
+
const XA = (i) => {
|
|
35205
35205
|
const n = [];
|
|
35206
|
-
|
|
35206
|
+
JA(i) && n.push("RENDER_LINE_DASH"), i.paint.get("line-gradient") && n.push("RENDER_LINE_GRADIENT");
|
|
35207
35207
|
const o = i.paint.get("line-trim-offset");
|
|
35208
35208
|
o[0] === 0 && o[1] === 0 || n.push("RENDER_LINE_TRIM_OFFSET"), i.paint.get("line-border-width").constantOr(1) !== 0 && n.push("RENDER_LINE_BORDER");
|
|
35209
35209
|
const c = i.layout.get("line-join").constantOr("miter") === "none", h = !!i.paint.get("line-pattern").constantOr(1);
|
|
35210
35210
|
return c && h && n.push("LINE_JOIN_NONE"), n;
|
|
35211
35211
|
};
|
|
35212
|
-
function
|
|
35212
|
+
function JA(i) {
|
|
35213
35213
|
const n = i.paint.get("line-dasharray").value;
|
|
35214
35214
|
return n.value || n.kind !== "constant";
|
|
35215
35215
|
}
|
|
@@ -35669,7 +35669,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
35669
35669
|
}
|
|
35670
35670
|
class aN {
|
|
35671
35671
|
constructor(n, o) {
|
|
35672
|
-
this.tileID = n, this.x = n.canonical.x, this.y = n.canonical.y, this.z = n.canonical.z, this.grid = new Ee($t, 16, 0), this.featureIndexArray = new
|
|
35672
|
+
this.tileID = n, this.x = n.canonical.x, this.y = n.canonical.y, this.z = n.canonical.z, this.grid = new Ee($t, 16, 0), this.featureIndexArray = new v6(), this.promoteId = o, this.is3DTile = !1;
|
|
35673
35673
|
}
|
|
35674
35674
|
insert(n, o, c, h, p, m = 0, x = 0) {
|
|
35675
35675
|
const M = this.featureIndexArray.length;
|
|
@@ -35694,7 +35694,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
35694
35694
|
}
|
|
35695
35695
|
query(n, o, c, h) {
|
|
35696
35696
|
this.loadVTLayers();
|
|
35697
|
-
const p = n.params || {}, m = go(p.filter), x = n.tileResult, M = n.transform, I = x.bufferedTilespaceBounds, E = this.grid.query(I.min.x, I.min.y, I.max.x, I.max.y, (U, V, Q, q) =>
|
|
35697
|
+
const p = n.params || {}, m = go(p.filter), x = n.tileResult, M = n.transform, I = x.bufferedTilespaceBounds, E = this.grid.query(I.min.x, I.min.y, I.max.x, I.max.y, (U, V, Q, q) => j6(x.bufferedTilespaceGeometry, U, V, Q, q));
|
|
35698
35698
|
E.sort(tH);
|
|
35699
35699
|
let A = null;
|
|
35700
35700
|
M.elevation && E.length > 0 && (A = sp.create(M.elevation, this.tileID));
|
|
@@ -36564,7 +36564,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
36564
36564
|
const E = m[I];
|
|
36565
36565
|
for (let A = 0, z = E.length, P = z - 1; A < z; P = A++) {
|
|
36566
36566
|
const U = E[A], V = E[P];
|
|
36567
|
-
U.y > p.y != V.y > p.y && p.x < (V.x - U.x) * (p.y - U.y) / (V.y - U.y) + U.x && (x = !x), M = Math.min(M,
|
|
36567
|
+
U.y > p.y != V.y > p.y && p.x < (V.x - U.x) * (p.y - U.y) / (V.y - U.y) + U.x && (x = !x), M = Math.min(M, k6(p, U, V));
|
|
36568
36568
|
}
|
|
36569
36569
|
}
|
|
36570
36570
|
return (x ? 1 : -1) * Math.sqrt(M);
|
|
@@ -37079,14 +37079,14 @@ ${JSON.stringify(o, null, 2)}
|
|
|
37079
37079
|
return s.ad.rotateY(h, h, ni(c.lng)), s.ad.rotateX(h, h, ni(c.lat)), s.ad.scale(h, h, [n._pixelsPerMercatorPixel, n._pixelsPerMercatorPixel, 1]), Float32Array.from(h);
|
|
37080
37080
|
}
|
|
37081
37081
|
pointCoordinate(n, o, c, h) {
|
|
37082
|
-
return $
|
|
37082
|
+
return $6(n, o, c, !0) || new Ao(0, 0);
|
|
37083
37083
|
}
|
|
37084
37084
|
pointCoordinate3D(n, o, c) {
|
|
37085
37085
|
const h = this.pointCoordinate(n, o, c, 0);
|
|
37086
37086
|
return [h.x, h.y, h.z];
|
|
37087
37087
|
}
|
|
37088
37088
|
isPointAboveHorizon(n, o) {
|
|
37089
|
-
return !$
|
|
37089
|
+
return !$6(n, o.x, o.y, !1);
|
|
37090
37090
|
}
|
|
37091
37091
|
farthestPixelDistance(n) {
|
|
37092
37092
|
const o = function(h, p) {
|
|
@@ -37208,13 +37208,13 @@ ${JSON.stringify(o, null, 2)}
|
|
|
37208
37208
|
}
|
|
37209
37209
|
class $4 {
|
|
37210
37210
|
constructor(n) {
|
|
37211
|
-
this.layoutVertexArray = new zw(), this.indexArray = new Xr(), this.programConfigurations = n, this.segments = new or(), this.dynamicLayoutVertexArray = new Iu(), this.opacityVertexArray = new Ow(), this.occlusionQueryOpacityVertexArray = new ud(), this.placedSymbolArray = new
|
|
37211
|
+
this.layoutVertexArray = new zw(), this.indexArray = new Xr(), this.programConfigurations = n, this.segments = new or(), this.dynamicLayoutVertexArray = new Iu(), this.opacityVertexArray = new Ow(), this.occlusionQueryOpacityVertexArray = new ud(), this.placedSymbolArray = new f6(), this.iconTransitioningVertexArray = new Eu(), this.globeExtVertexArray = new kw(), this.zOffsetVertexArray = new ud();
|
|
37212
37212
|
}
|
|
37213
37213
|
isEmpty() {
|
|
37214
37214
|
return this.layoutVertexArray.length === 0 && this.indexArray.length === 0 && this.dynamicLayoutVertexArray.length === 0 && this.opacityVertexArray.length === 0 && this.iconTransitioningVertexArray.length === 0;
|
|
37215
37215
|
}
|
|
37216
37216
|
upload(n, o, c, h, p) {
|
|
37217
|
-
this.isEmpty() || (c && (this.layoutVertexBuffer = n.createVertexBuffer(this.layoutVertexArray, LQ.members), this.indexBuffer = n.createIndexBuffer(this.indexArray, o), this.dynamicLayoutVertexBuffer = n.createVertexBuffer(this.dynamicLayoutVertexArray, kQ.members, !0), this.opacityVertexBuffer = n.createVertexBuffer(this.opacityVertexArray, CH, !0), this.occlusionQueryOpacityVertexBuffer = n.createVertexBuffer(this.occlusionQueryOpacityVertexArray, D4.members, !0), this.iconTransitioningVertexArray.length > 0 && (this.iconTransitioningVertexBuffer = n.createVertexBuffer(this.iconTransitioningVertexArray, OQ.members, !0)), this.globeExtVertexArray.length > 0 && (this.globeExtVertexBuffer = n.createVertexBuffer(this.globeExtVertexArray, zQ.members, !0)), !this.zOffsetVertexBuffer && (this.zOffsetVertexArray.length > 0 || p) && (this.zOffsetVertexBuffer = n.createVertexBuffer(this.zOffsetVertexArray,
|
|
37217
|
+
this.isEmpty() || (c && (this.layoutVertexBuffer = n.createVertexBuffer(this.layoutVertexArray, LQ.members), this.indexBuffer = n.createIndexBuffer(this.indexArray, o), this.dynamicLayoutVertexBuffer = n.createVertexBuffer(this.dynamicLayoutVertexArray, kQ.members, !0), this.opacityVertexBuffer = n.createVertexBuffer(this.opacityVertexArray, CH, !0), this.occlusionQueryOpacityVertexBuffer = n.createVertexBuffer(this.occlusionQueryOpacityVertexArray, D4.members, !0), this.iconTransitioningVertexArray.length > 0 && (this.iconTransitioningVertexBuffer = n.createVertexBuffer(this.iconTransitioningVertexArray, OQ.members, !0)), this.globeExtVertexArray.length > 0 && (this.globeExtVertexBuffer = n.createVertexBuffer(this.globeExtVertexArray, zQ.members, !0)), !this.zOffsetVertexBuffer && (this.zOffsetVertexArray.length > 0 || p) && (this.zOffsetVertexBuffer = n.createVertexBuffer(this.zOffsetVertexArray, HA.members, !0)), this.opacityVertexBuffer.itemSize = 1), (c || h) && this.programConfigurations.upload(n));
|
|
37218
37218
|
}
|
|
37219
37219
|
destroy() {
|
|
37220
37220
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.dynamicLayoutVertexBuffer.destroy(), this.opacityVertexBuffer.destroy(), this.occlusionQueryOpacityVertexBuffer.destroy(), this.iconTransitioningVertexBuffer && this.iconTransitioningVertexBuffer.destroy(), this.globeExtVertexBuffer && this.globeExtVertexBuffer.destroy(), this.zOffsetVertexBuffer && this.zOffsetVertexBuffer.destroy());
|
|
@@ -37242,7 +37242,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
37242
37242
|
this.canOverlap = c.get("text-allow-overlap") || c.get("icon-allow-overlap") || c.get("text-ignore-placement") || c.get("icon-ignore-placement"), this.sortFeaturesByKey = p !== "viewport-y" && h.constantOr(1) !== void 0, this.sortFeaturesByY = (p === "viewport-y" || p === "auto" && !this.sortFeaturesByKey) && this.canOverlap, this.writingModes = c.get("text-writing-mode").map((m) => Gs[m]), this.stateDependentLayerIds = this.layers.filter((m) => m.isStateDependent()).map((m) => m.id), this.sourceID = n.sourceID, this.projection = n.projection, this.hasAnyZOffset = !1, this.zOffsetSortDirty = !1, this.zOffsetBuffersNeedUpload = c.get("symbol-z-elevate"), this.activeReplacements = [], this.replacementUpdateTime = 0;
|
|
37243
37243
|
}
|
|
37244
37244
|
createArrays() {
|
|
37245
|
-
this.text = new $4(new Cu(this.layers, { zoom: this.zoom, lut: this.lut }, (n) => /^text/.test(n))), this.icon = new $4(new Cu(this.layers, { zoom: this.zoom, lut: this.lut }, (n) => /^icon/.test(n))), this.glyphOffsetArray = new
|
|
37245
|
+
this.text = new $4(new Cu(this.layers, { zoom: this.zoom, lut: this.lut }, (n) => /^text/.test(n))), this.icon = new $4(new Cu(this.layers, { zoom: this.zoom, lut: this.lut }, (n) => /^icon/.test(n))), this.glyphOffsetArray = new g6(), this.lineVertexArray = new y6(), this.symbolInstances = new m6();
|
|
37246
37246
|
}
|
|
37247
37247
|
calculateGlyphDependencies(n, o, c, h, p) {
|
|
37248
37248
|
for (let m = 0; m < n.length; m++) {
|
|
@@ -37473,7 +37473,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
37473
37473
|
}
|
|
37474
37474
|
}
|
|
37475
37475
|
generateCollisionDebugBuffers(n, o) {
|
|
37476
|
-
this.hasDebugData() && this.destroyDebugData(), this.textCollisionBox = new Q4(av,
|
|
37476
|
+
this.hasDebugData() && this.destroyDebugData(), this.textCollisionBox = new Q4(av, YA.members, Eu), this.iconCollisionBox = new Q4(av, YA.members, Eu);
|
|
37477
37477
|
const c = up(this.iconSizeData, n), h = up(this.textSizeData, n);
|
|
37478
37478
|
for (let p = 0; p < this.symbolInstances.length; p++) {
|
|
37479
37479
|
const m = this.symbolInstances.get(p);
|
|
@@ -37930,7 +37930,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
37930
37930
|
const c = o.projection;
|
|
37931
37931
|
if (!c || c.name !== "globe" || o.freezeTileCoverage)
|
|
37932
37932
|
return;
|
|
37933
|
-
const h = this.tileID.canonical, p = N0(
|
|
37933
|
+
const h = this.tileID.canonical, p = N0(Q6(h, o)), m = xc(o.zoom);
|
|
37934
37934
|
let x;
|
|
37935
37935
|
m > 0 && (x = s.ad.invert(new Float64Array(16), o.globeMatrix)), this._makeGlobeTileDebugBorderBuffer(n, h, o, p, x, m), this._makeGlobeTileDebugTextBuffer(n, h, o, p, x, m);
|
|
37936
37936
|
}
|
|
@@ -37957,7 +37957,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
37957
37957
|
I.emplaceBack(je[0], je[1], je[2]), M.emplaceBack(fe + pe);
|
|
37958
37958
|
}
|
|
37959
37959
|
}, A = $t;
|
|
37960
|
-
E(0, 0, A, 0, 16), E(A, 0, A, A, 16), E(A, A, 0, A, 16), E(0, A, 0, 0, 16), this._tileDebugIndexBuffer = n.createIndexBuffer(M), this._tileDebugBuffer = n.createVertexBuffer(x, C0.members), this._globeTileDebugBorderBuffer = n.createVertexBuffer(I,
|
|
37960
|
+
E(0, 0, A, 0, 16), E(A, 0, A, A, 16), E(A, A, 0, A, 16), E(0, A, 0, 0, 16), this._tileDebugIndexBuffer = n.createIndexBuffer(M), this._tileDebugBuffer = n.createVertexBuffer(x, C0.members), this._globeTileDebugBorderBuffer = n.createVertexBuffer(I, V6.members), this._tileDebugSegments = or.simpleSegment(0, 0, x.length, M.length);
|
|
37961
37961
|
}
|
|
37962
37962
|
_makeGlobeTileDebugTextBuffer(n, o, c, h, p, m) {
|
|
37963
37963
|
const x = $t / 4, M = new Fa(), I = new Xr(), E = new rv(), A = 25;
|
|
@@ -37977,7 +37977,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
37977
37977
|
const V = z(P, U), Q = z(P, U + 1), q = z(P + 1, U), he = z(P + 1, U + 1);
|
|
37978
37978
|
I.emplaceBack(V, Q, q), I.emplaceBack(q, Q, he);
|
|
37979
37979
|
}
|
|
37980
|
-
this._tileDebugTextIndexBuffer = n.createIndexBuffer(I), this._tileDebugTextBuffer = n.createVertexBuffer(M, C0.members), this._globeTileDebugTextBuffer = n.createVertexBuffer(E,
|
|
37980
|
+
this._tileDebugTextIndexBuffer = n.createIndexBuffer(I), this._tileDebugTextBuffer = n.createVertexBuffer(M, C0.members), this._globeTileDebugTextBuffer = n.createVertexBuffer(E, V6.members), this._tileDebugTextSegments = or.simpleSegment(0, 0, A, 32);
|
|
37981
37981
|
}
|
|
37982
37982
|
destroy(n = !1) {
|
|
37983
37983
|
for (const o in this.buckets)
|
|
@@ -39663,7 +39663,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
39663
39663
|
const V = Math.floor(U), Q = M.float32[P + 1];
|
|
39664
39664
|
let q = !1;
|
|
39665
39665
|
for (const he of this.activeReplacements)
|
|
39666
|
-
if (!(he.order < c || he.order === 1 / 0) && he.clipMask &
|
|
39666
|
+
if (!(he.order < c || he.order === 1 / 0) && he.clipMask & CA.Model && !(he.min.x > V || V > he.max.x || he.min.y > Q || Q > he.max.y) && (q = MA(xA(V, Q, n.canonical, he.footprintTileId.canonical), he), q))
|
|
39667
39667
|
break;
|
|
39668
39668
|
M.float32[P] = q ? U + $t : U, p = p || q;
|
|
39669
39669
|
}
|
|
@@ -39757,7 +39757,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
39757
39757
|
const pe = X4(i, o), Se = s.ad.multiply([], o.projMatrix, pe), we = [0, 0, 0, 1];
|
|
39758
39758
|
s.aA.transformMat4(we, we, Se);
|
|
39759
39759
|
const je = we[3] / o.cameraToCenterDistance, He = xc(E), rt = o.projection.pixelsPerMeter(c.lat, Q) * md(c.lat, E), gt = o.projection.pixelsPerMeter(o.center.lat, Q) * md(o.center.lat, E);
|
|
39760
|
-
U = je / bn(rt,
|
|
39760
|
+
U = je / bn(rt, C6(o.center.lat), He), V = je * z / rt, U *= gt, V *= gt;
|
|
39761
39761
|
}
|
|
39762
39762
|
} else
|
|
39763
39763
|
U = P;
|
|
@@ -40726,19 +40726,19 @@ ${JSON.stringify(o, null, 2)}
|
|
|
40726
40726
|
return ip("circle-radius", this, n) + ip("circle-stroke-width", this, n) + pv(this.paint.get("circle-translate"));
|
|
40727
40727
|
}
|
|
40728
40728
|
queryIntersectsFeature(i, n, o, c, h, p, m, x) {
|
|
40729
|
-
const M =
|
|
40730
|
-
return
|
|
40729
|
+
const M = P6(this.paint.get("circle-translate"), this.paint.get("circle-translate-anchor"), p.angle, i.pixelToTileUnitsFactor), I = this.paint.get("circle-radius").evaluate(n, o) + this.paint.get("circle-stroke-width").evaluate(n, o);
|
|
40730
|
+
return J6(i, c, p, m, x, this.paint.get("circle-pitch-alignment") === "map", this.paint.get("circle-pitch-scale") === "map", M, I);
|
|
40731
40731
|
}
|
|
40732
40732
|
getProgramIds() {
|
|
40733
40733
|
return ["circle"];
|
|
40734
40734
|
}
|
|
40735
40735
|
getDefaultProgramParams(i, n, o) {
|
|
40736
|
-
const c =
|
|
40736
|
+
const c = X6(this);
|
|
40737
40737
|
return { config: new dd(this, { zoom: n, lut: o }), defines: c, overrideFog: !1 };
|
|
40738
40738
|
}
|
|
40739
40739
|
}, heatmap: class extends yo {
|
|
40740
40740
|
createBucket(i) {
|
|
40741
|
-
return new
|
|
40741
|
+
return new tA(i);
|
|
40742
40742
|
}
|
|
40743
40743
|
constructor(i, n, o, c) {
|
|
40744
40744
|
super(i, z$, n, o, c), this._updateColorRamp();
|
|
@@ -40757,7 +40757,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
40757
40757
|
}
|
|
40758
40758
|
queryIntersectsFeature(i, n, o, c, h, p, m, x) {
|
|
40759
40759
|
const M = this.paint.get("heatmap-radius").evaluate(n, o);
|
|
40760
|
-
return
|
|
40760
|
+
return J6(i, c, p, m, x, !0, !0, new qt(0, 0), M);
|
|
40761
40761
|
}
|
|
40762
40762
|
hasOffscreenPass() {
|
|
40763
40763
|
return this.paint.get("heatmap-opacity") !== 0 && this.visibility !== "none";
|
|
@@ -40804,7 +40804,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
40804
40804
|
return pv(this.paint.get("fill-translate"));
|
|
40805
40805
|
}
|
|
40806
40806
|
queryIntersectsFeature(i, n, o, c, h, p) {
|
|
40807
|
-
return !i.queryGeometry.isAboveHorizon &&
|
|
40807
|
+
return !i.queryGeometry.isAboveHorizon && z6(R6(i.tilespaceGeometry, this.paint.get("fill-translate"), this.paint.get("fill-translate-anchor"), p.angle, i.pixelToTileUnitsFactor), c);
|
|
40808
40808
|
}
|
|
40809
40809
|
isTileClipped() {
|
|
40810
40810
|
return !0;
|
|
@@ -40835,19 +40835,19 @@ ${JSON.stringify(o, null, 2)}
|
|
|
40835
40835
|
return [this.paint.get("fill-extrusion-pattern").constantOr(1) ? "fillExtrusionPattern" : "fillExtrusion"];
|
|
40836
40836
|
}
|
|
40837
40837
|
queryIntersectsFeature(i, n, o, c, h, p, m, x, M) {
|
|
40838
|
-
const I =
|
|
40838
|
+
const I = P6(this.paint.get("fill-extrusion-translate"), this.paint.get("fill-extrusion-translate-anchor"), p.angle, i.pixelToTileUnitsFactor), E = this.paint.get("fill-extrusion-height").evaluate(n, o), A = this.paint.get("fill-extrusion-base").evaluate(n, o), z = [0, 0], P = x && p.elevation, U = p.elevation ? p.elevation.exaggeration() : 1, V = i.tile.getBucket(this);
|
|
40839
40839
|
if (P && V instanceof Av) {
|
|
40840
40840
|
const pe = V.centroidVertexArray, Se = M + 1;
|
|
40841
40841
|
Se < pe.length && (z[0] = pe.geta_centroid_pos0(Se), z[1] = pe.geta_centroid_pos1(Se));
|
|
40842
40842
|
}
|
|
40843
40843
|
if (z[0] === 0 && z[1] === 1)
|
|
40844
40844
|
return !1;
|
|
40845
|
-
p.projection.name === "globe" && (c =
|
|
40845
|
+
p.projection.name === "globe" && (c = VA([c], [new qt(0, 0), new qt($t, $t)], i.tileID.canonical).map((pe) => pe.polygon).flat());
|
|
40846
40846
|
const Q = P ? x : null, [q, he] = function(pe, Se, we, je, He, rt, gt, ht, It, kt, bt) {
|
|
40847
40847
|
return pe.projection.name === "globe" ? function(At, yt, Nt, Rt, Lt, Jt, Ot, Ut, _n, mn, hn) {
|
|
40848
40848
|
const Pt = [], vn = [], Pn = At.projection.upVectorScale(hn, At.center.lat, At.worldSize).metersToTile, En = [0, 0, 0, 1], $n = [0, 0, 0, 1], Un = (In, zi, Ci, gi) => {
|
|
40849
40849
|
In[0] = zi, In[1] = Ci, In[2] = gi, In[3] = 1;
|
|
40850
|
-
}, Kn =
|
|
40850
|
+
}, Kn = FA();
|
|
40851
40851
|
Nt > 0 && (Nt += Kn), Rt += Kn;
|
|
40852
40852
|
for (const In of yt) {
|
|
40853
40853
|
const zi = [], Ci = [];
|
|
@@ -40855,7 +40855,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
40855
40855
|
const si = gi.x + Lt.x, yi = gi.y + Lt.y, Qi = At.projection.projectTilePoint(si, yi, hn), ji = At.projection.upVector(hn, gi.x, gi.y);
|
|
40856
40856
|
let ar = Nt, sr = Rt;
|
|
40857
40857
|
if (Ot) {
|
|
40858
|
-
const No =
|
|
40858
|
+
const No = QA(si, yi, Nt, Rt, Ot, Ut, _n, mn);
|
|
40859
40859
|
ar += No.base, sr += No.top;
|
|
40860
40860
|
}
|
|
40861
40861
|
Nt !== 0 ? Un(En, Qi.x + ji[0] * Pn * ar, Qi.y + ji[1] * Pn * ar, Qi.z + ji[2] * Pn * ar) : Un(En, Qi.x, Qi.y, Qi.z), Un($n, Qi.x + ji[0] * Pn * sr, Qi.y + ji[1] * Pn * sr, Qi.z + ji[2] * Pn * sr), s._.transformMat4(En, En, Jt), s._.transformMat4($n, $n, Jt), zi.push(new yd(En[0], En[1], En[2])), Ci.push(new yd($n[0], $n[1], $n[2]));
|
|
@@ -40868,7 +40868,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
40868
40868
|
for (const vn of At) {
|
|
40869
40869
|
const Pn = [], En = [];
|
|
40870
40870
|
for (const $n of vn) {
|
|
40871
|
-
const Un = $n.x + Rt.x, Kn = $n.y + Rt.y, In =
|
|
40871
|
+
const Un = $n.x + Rt.x, Kn = $n.y + Rt.y, In = QA(Un, Kn, yt, Nt, Jt, Ot, Ut, _n);
|
|
40872
40872
|
Pt[0] = Un, Pt[1] = Kn, Pt[2] = In.base, Pt[3] = 1, s.aA.transformMat4(Pt, Pt, Lt), Pt[3] = Math.max(Pt[3], 1e-5);
|
|
40873
40873
|
const zi = new yd(Pt[0] / Pt[3], Pt[1] / Pt[3], Pt[2] / Pt[3]);
|
|
40874
40874
|
Pt[0] = Un, Pt[1] = Kn, Pt[2] = In.top, Pt[3] = 1, s.aA.transformMat4(Pt, Pt, Lt), Pt[3] = Math.max(Pt[3], 1e-5);
|
|
@@ -40893,12 +40893,12 @@ ${JSON.stringify(o, null, 2)}
|
|
|
40893
40893
|
}(p, c, A, E, I, m, Q, z, U, p.center.lat, i.tileID.canonical), fe = i.queryGeometry;
|
|
40894
40894
|
return function(pe, Se, we) {
|
|
40895
40895
|
let je = 1 / 0;
|
|
40896
|
-
|
|
40896
|
+
z6(we, Se) && (je = $A(we, Se[0]));
|
|
40897
40897
|
for (let He = 0; He < Se.length; He++) {
|
|
40898
40898
|
const rt = Se[He], gt = pe[He];
|
|
40899
40899
|
for (let ht = 0; ht < rt.length - 1; ht++) {
|
|
40900
40900
|
const It = rt[ht], kt = [It, rt[ht + 1], gt[ht + 1], gt[ht], It];
|
|
40901
|
-
s4(we, kt) && (je = Math.min(je, $
|
|
40901
|
+
s4(we, kt) && (je = Math.min(je, $A(we, kt)));
|
|
40902
40902
|
}
|
|
40903
40903
|
}
|
|
40904
40904
|
return je !== 1 / 0 && je;
|
|
@@ -40930,7 +40930,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
40930
40930
|
return [this.paint.get("line-pattern").constantOr(1) ? "linePattern" : "line"];
|
|
40931
40931
|
}
|
|
40932
40932
|
getDefaultProgramParams(i, n, o) {
|
|
40933
|
-
const c =
|
|
40933
|
+
const c = XA(this);
|
|
40934
40934
|
return { config: new dd(this, { zoom: n, lut: o }), defines: c, overrideFog: !1 };
|
|
40935
40935
|
}
|
|
40936
40936
|
queryRadius(i) {
|
|
@@ -40940,7 +40940,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
40940
40940
|
queryIntersectsFeature(i, n, o, c, h, p) {
|
|
40941
40941
|
if (i.queryGeometry.isAboveHorizon)
|
|
40942
40942
|
return !1;
|
|
40943
|
-
const m =
|
|
40943
|
+
const m = R6(i.tilespaceGeometry, this.paint.get("line-translate"), this.paint.get("line-translate-anchor"), p.angle, i.pixelToTileUnitsFactor), x = i.pixelToTileUnitsFactor / 2 * qN(this.paint.get("line-width").evaluate(n, o), this.paint.get("line-gap-width").evaluate(n, o)), M = this.paint.get("line-offset").evaluate(n, o);
|
|
40944
40944
|
return M && (c = function(I, E) {
|
|
40945
40945
|
const A = [], z = new qt(0, 0);
|
|
40946
40946
|
for (let P = 0; P < I.length; P++) {
|
|
@@ -41129,7 +41129,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41129
41129
|
super.recalculate(i, n);
|
|
41130
41130
|
}
|
|
41131
41131
|
createBucket(i) {
|
|
41132
|
-
return new
|
|
41132
|
+
return new cA(i);
|
|
41133
41133
|
}
|
|
41134
41134
|
isTileClipped() {
|
|
41135
41135
|
return !0;
|
|
@@ -41298,7 +41298,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41298
41298
|
}
|
|
41299
41299
|
}, s.R = If, s.S = Qw, s.T = ya, s.U = ei, s.V = nx, s.W = So, s.X = An, s.Y = Ao, s.Z = ne, s.a = ws, s.a$ = function(i) {
|
|
41300
41300
|
const { x: n, y: o } = i.point, { lng: c, lat: h } = i._center;
|
|
41301
|
-
return
|
|
41301
|
+
return W6(n, o, i.worldSize, c, h);
|
|
41302
41302
|
}, s.a0 = Fi, s.a1 = xc, s.a2 = bn, s.a3 = $t, s.a4 = T_, s.a5 = class {
|
|
41303
41303
|
constructor(i) {
|
|
41304
41304
|
this.specification = i;
|
|
@@ -41312,15 +41312,15 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41312
41312
|
interpolate(i, n, o) {
|
|
41313
41313
|
return { x: bn(i.x, n.x, o), y: bn(i.y, n.y, o), z: bn(i.z, n.z, o) };
|
|
41314
41314
|
}
|
|
41315
|
-
}, s.a6 = T0, s.a7 = uv, s.a8 = gc, s.a9 =
|
|
41316
|
-
const { x: o, y: c } = i.point, h =
|
|
41315
|
+
}, s.a6 = T0, s.a7 = uv, s.a8 = gc, s.a9 = w6, s.aB = function(i, n) {
|
|
41316
|
+
const { x: o, y: c } = i.point, h = W6(o, c, i.worldSize / i._pixelsPerMercatorPixel, 0, 0);
|
|
41317
41317
|
return s.ad.multiply(h, h, m4(wl(n)));
|
|
41318
41318
|
}, s.aD = up, s.aE = Gs, s.aF = Ov, s.aG = function(i, n, o, c, h) {
|
|
41319
41319
|
const p = 5 * n + 2;
|
|
41320
41320
|
i.float32[p + 0] = o, i.float32[p + 1] = c, i.float32[p + 2] = h;
|
|
41321
|
-
}, s.aH = Yv, s.aI = ui, s.aJ = RN, s.aK =
|
|
41321
|
+
}, s.aH = Yv, s.aI = ui, s.aJ = RN, s.aK = E6, s.aL = Ur, s.aM = d4, s.aN = iL, s.aO = pd, s.aP = Y6, s.aQ = function(i, n, o, c, h, p, m, x, M) {
|
|
41322
41322
|
if (M.name === "globe")
|
|
41323
|
-
return
|
|
41323
|
+
return Y6(i, n, new pd(o, c, h), !1);
|
|
41324
41324
|
const I = _d({ z: o, x: c, y: h }, M);
|
|
41325
41325
|
return new tr([(p + I.x / I.scale) * n, n * (I.y / I.scale), m], [(p + I.x2 / I.scale) * n, n * (I.y2 / I.scale), x]);
|
|
41326
41326
|
}, s.aR = function(i, n, o) {
|
|
@@ -41328,7 +41328,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41328
41328
|
for (let h = 0; h < 2; ++h)
|
|
41329
41329
|
i[h] > 0 && (c += (i[h] - 0) * (i[h] - 0)), n[h] < 0 && (c += (0 - n[h]) * (0 - n[h]));
|
|
41330
41330
|
return c;
|
|
41331
|
-
}, s.aS = _r, s.aT = u4, s.aU =
|
|
41331
|
+
}, s.aS = _r, s.aT = u4, s.aU = T6, s.aV = function(i) {
|
|
41332
41332
|
const n = s.ad.identity(new Float64Array(16));
|
|
41333
41333
|
s.ad.multiply(n, i.pixelMatrix, i.globeMatrix);
|
|
41334
41334
|
const o = [0, ma, 0], c = [0, ga, 0];
|
|
@@ -41408,15 +41408,15 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41408
41408
|
return [Math.pow(i[0], 1 / 2.2), Math.pow(i[1], 1 / 2.2), Math.pow(i[2], 1 / 2.2)];
|
|
41409
41409
|
}, s.b9 = kh, s.bA = function(i, n) {
|
|
41410
41410
|
return [Math.pow(i[0], 2.2) * n, Math.pow(i[1], 2.2) * n, Math.pow(i[2], 2.2) * n];
|
|
41411
|
-
}, s.bB =
|
|
41411
|
+
}, s.bB = WA, s.bD = Z6, s.bE = nu, s.bF = xf, s.bG = 256, s.bH = function(i, n) {
|
|
41412
41412
|
const o = [0, 0, 0], c = N0(wl(n.canonical));
|
|
41413
41413
|
return s._.transformMat4(o, o, c), s._.transformMat4(o, o, i), o;
|
|
41414
|
-
}, s.bI = (i) => ({ u_camera_to_center_distance: new Ko(i), u_extrude_scale: new qw(i), u_device_pixel_ratio: new Ko(i), u_matrix: new T0(i), u_inv_rot_matrix: new T0(i), u_merc_center: new gc(i), u_tile_id: new Zw(i), u_zoom_transition: new Ko(i), u_up_dir: new Zw(i), u_emissive_strength: new Ko(i) }), s.bJ = (i) => ({ u_matrix: new T0(i), u_pixels_to_tile_units: new qw(i), u_device_pixel_ratio: new Ko(i), u_units_to_pixels: new gc(i), u_dash_image: new uv(i), u_gradient_image: new uv(i), u_image_height: new Ko(i), u_texsize: new gc(i), u_tile_units_to_pixels: new Ko(i), u_alpha_discard_threshold: new Ko(i), u_trim_offset: new gc(i), u_trim_fade_range: new gc(i), u_trim_color: new Ww(i), u_emissive_strength: new Ko(i) }), s.bK = (i) => ({ u_matrix: new T0(i), u_texsize: new gc(i), u_pixels_to_tile_units: new qw(i), u_device_pixel_ratio: new Ko(i), u_image: new uv(i), u_units_to_pixels: new gc(i), u_tile_units_to_pixels: new Ko(i), u_alpha_discard_threshold: new Ko(i), u_trim_offset: new gc(i) }), s.bL = Rw, s.bM = PQ, s.bN = _o, s.bO = nH, s.bP = DN, s.bQ = z4, s.bR =
|
|
41414
|
+
}, s.bI = (i) => ({ u_camera_to_center_distance: new Ko(i), u_extrude_scale: new qw(i), u_device_pixel_ratio: new Ko(i), u_matrix: new T0(i), u_inv_rot_matrix: new T0(i), u_merc_center: new gc(i), u_tile_id: new Zw(i), u_zoom_transition: new Ko(i), u_up_dir: new Zw(i), u_emissive_strength: new Ko(i) }), s.bJ = (i) => ({ u_matrix: new T0(i), u_pixels_to_tile_units: new qw(i), u_device_pixel_ratio: new Ko(i), u_units_to_pixels: new gc(i), u_dash_image: new uv(i), u_gradient_image: new uv(i), u_image_height: new Ko(i), u_texsize: new gc(i), u_tile_units_to_pixels: new Ko(i), u_alpha_discard_threshold: new Ko(i), u_trim_offset: new gc(i), u_trim_fade_range: new gc(i), u_trim_color: new Ww(i), u_emissive_strength: new Ko(i) }), s.bK = (i) => ({ u_matrix: new T0(i), u_texsize: new gc(i), u_pixels_to_tile_units: new qw(i), u_device_pixel_ratio: new Ko(i), u_image: new uv(i), u_units_to_pixels: new gc(i), u_tile_units_to_pixels: new Ko(i), u_alpha_discard_threshold: new Ko(i), u_trim_offset: new gc(i) }), s.bL = Rw, s.bM = PQ, s.bN = _o, s.bO = nH, s.bP = DN, s.bQ = z4, s.bR = X6, s.bS = (i, n, o, c, h, p) => {
|
|
41415
41415
|
const m = i.transform, x = m.projection.name === "globe";
|
|
41416
41416
|
let M;
|
|
41417
41417
|
if (p.paint.get("circle-pitch-alignment") === "map")
|
|
41418
41418
|
if (x) {
|
|
41419
|
-
const E =
|
|
41419
|
+
const E = Z6(m.zoom, n.canonical) * m._pixelsPerMercatorPixel;
|
|
41420
41420
|
M = Float32Array.from([E, 0, 0, E]);
|
|
41421
41421
|
} else
|
|
41422
41422
|
M = m.calculatePixelsToTileUnitsMatrix(o);
|
|
@@ -41429,13 +41429,13 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41429
41429
|
I.u_up_dir = m.projection.upVector(new pd(0, 0, 0), E, A);
|
|
41430
41430
|
}
|
|
41431
41431
|
return I;
|
|
41432
|
-
}, s.bT =
|
|
41432
|
+
}, s.bT = XA, s.bU = (i, n, o, c, h, p) => {
|
|
41433
41433
|
const m = i.transform;
|
|
41434
|
-
return { u_matrix:
|
|
41434
|
+
return { u_matrix: KA(i, n, o, c), u_texsize: n.imageAtlasTexture ? n.imageAtlasTexture.size : [0, 0], u_pixels_to_tile_units: m.calculatePixelsToTileUnitsMatrix(n), u_device_pixel_ratio: h, u_image: 0, u_tile_units_to_pixels: qA(n, m), u_units_to_pixels: [1 / m.pixelsToGLUnits[0], 1 / m.pixelsToGLUnits[1]], u_alpha_discard_threshold: 0, u_trim_offset: p };
|
|
41435
41435
|
}, s.bV = (i, n, o, c, h, p, m) => {
|
|
41436
41436
|
const x = i.transform, M = x.calculatePixelsToTileUnitsMatrix(n);
|
|
41437
|
-
return { u_matrix:
|
|
41438
|
-
}, s.bW = vg, s.bX = L0, s.bY =
|
|
41437
|
+
return { u_matrix: KA(i, n, o, c), u_pixels_to_tile_units: M, u_device_pixel_ratio: p, u_units_to_pixels: [1 / x.pixelsToGLUnits[0], 1 / x.pixelsToGLUnits[1]], u_dash_image: 0, u_gradient_image: 1, u_image_height: h, u_texsize: JA(o) && n.lineAtlasTexture ? n.lineAtlasTexture.size : [0, 0], u_tile_units_to_pixels: qA(n, i.transform), u_alpha_discard_threshold: 0, u_trim_offset: m, u_trim_fade_range: o.paint.get("line-trim-fade-range"), u_trim_color: o.paint.get("line-trim-color").toRenderColor(o.lut).toArray01(), u_emissive_strength: o.paint.get("line-emissive-strength") };
|
|
41438
|
+
}, s.bW = vg, s.bX = L0, s.bY = FA, s.bZ = d$, s.b_ = Av, s.ba = function(i, n, o) {
|
|
41439
41439
|
const c = xc(o.zoom), h = i.style.map._antialias, p = n.options.extStandardDerivativesForceOff || i.terrain && i.terrain.exaggeration() > 0;
|
|
41440
41440
|
return c === 0 && !h && !p;
|
|
41441
41441
|
}, s.bb = function(i) {
|
|
@@ -41561,12 +41561,12 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41561
41561
|
}
|
|
41562
41562
|
return n ? { min: o, max: c } : null;
|
|
41563
41563
|
}
|
|
41564
|
-
}, s.br = C0, s.bs = gv, s.bt = Fa, s.bu = Xr, s.bv = xd, s.bw = xp, s.bx = rx, s.by = qv, s.bz =
|
|
41564
|
+
}, s.br = C0, s.bs = gv, s.bt = Fa, s.bu = Xr, s.bv = xd, s.bw = xp, s.bx = rx, s.by = qv, s.bz = rA, s.c = bL, s.c$ = Fh, s.c0 = 450, s.c1 = 7, s.c2 = uY, s.c3 = GN, s.c4 = 256, s.c5 = Q6, s.c6 = m4, s.c7 = xi, s.c8 = Tu, s.c9 = hd, s.cA = function(i) {
|
|
41565
41565
|
let n = 1 / 0, o = 1 / 0, c = -1 / 0, h = -1 / 0;
|
|
41566
41566
|
for (const p of i)
|
|
41567
41567
|
n = Math.min(n, p.x), o = Math.min(o, p.y), c = Math.max(c, p.x), h = Math.max(h, p.y);
|
|
41568
41568
|
return { min: new qt(n, o), max: new qt(c, h) };
|
|
41569
|
-
}, s.cB = Nu, s.cC =
|
|
41569
|
+
}, s.cB = Nu, s.cC = N6, s.cD = Xo, s.cE = ["type", "source", "source-layer", "minzoom", "maxzoom", "filter", "layout"], s.cF = MN, s.cG = s4, s.cH = xA, s.cI = MA, s.cJ = R4, s.cK = l5, s.cL = function(i) {
|
|
41570
41570
|
return i({ pluginStatus: xt, pluginURL: an }), Ln.on("pluginStateChange", i), i;
|
|
41571
41571
|
}, s.cM = dp, s.cN = O4, s.cO = Lg, s.cP = Fn, s.cQ = N, s.cR = Sg, s.cS = Qh, s.cT = la, s.cU = function(i) {
|
|
41572
41572
|
const n = i.indexOf(bu);
|
|
@@ -41610,7 +41610,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41610
41610
|
return this._updateTime;
|
|
41611
41611
|
}
|
|
41612
41612
|
getReplacementRegionsForTile(i, n = !1) {
|
|
41613
|
-
const o =
|
|
41613
|
+
const o = yA(new qt(0, 0), new qt($t, $t), i), c = [];
|
|
41614
41614
|
if (n && !T4(o, this._globalClipBounds))
|
|
41615
41615
|
return c;
|
|
41616
41616
|
for (const h of this._activeRegions) {
|
|
@@ -41639,7 +41639,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41639
41639
|
for (const h of n) {
|
|
41640
41640
|
if (!h.footprint)
|
|
41641
41641
|
continue;
|
|
41642
|
-
const p =
|
|
41642
|
+
const p = yA(h.footprint.min, h.footprint.max, h.id);
|
|
41643
41643
|
this._activeRegions.push({ min: p.min, max: p.max, hiddenByOverlap: !1, priority: this._sourceIds.length, tileId: h.id, footprint: h.footprint, order: o, clipMask: c });
|
|
41644
41644
|
}
|
|
41645
41645
|
this._sourceIds.push(i.getSourceId());
|
|
@@ -41651,7 +41651,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41651
41651
|
let n = 0;
|
|
41652
41652
|
for (; !i && n !== this._activeRegions.length; ) {
|
|
41653
41653
|
const o = this._activeRegions[n], c = this._prevRegions[n];
|
|
41654
|
-
i = o.priority !== c.priority || !
|
|
41654
|
+
i = o.priority !== c.priority || !gA(o, c) || o.order !== c.order || o.clipMask !== c.clipMask, ++n;
|
|
41655
41655
|
}
|
|
41656
41656
|
}
|
|
41657
41657
|
if (i) {
|
|
@@ -41677,7 +41677,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41677
41677
|
m.hiddenByOverlap = !1;
|
|
41678
41678
|
for (let x = 0; x < p; x++) {
|
|
41679
41679
|
const M = this._activeRegions[x];
|
|
41680
|
-
if (!M.hiddenByOverlap && m.order === 1 / 0 && T4(m, M) && (m.hiddenByOverlap =
|
|
41680
|
+
if (!M.hiddenByOverlap && m.order === 1 / 0 && T4(m, M) && (m.hiddenByOverlap = vA(m.footprint, m.tileId, M.footprint, M.tileId), m.hiddenByOverlap))
|
|
41681
41681
|
break;
|
|
41682
41682
|
}
|
|
41683
41683
|
++h;
|
|
@@ -41769,7 +41769,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41769
41769
|
}
|
|
41770
41770
|
}, s.ct = function(i) {
|
|
41771
41771
|
return tc.has(i);
|
|
41772
|
-
}, s.cu =
|
|
41772
|
+
}, s.cu = CA, s.cv = function(i, n, o = 0, c = !0) {
|
|
41773
41773
|
const h = new qt(o, o), p = i.sub(h), m = n.add(h), x = [p, new qt(m.x, p.y), m, new qt(p.x, m.y)];
|
|
41774
41774
|
return c && x.push(p.clone()), x;
|
|
41775
41775
|
}, s.cw = function(i, n) {
|
|
@@ -41779,11 +41779,11 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41779
41779
|
o.push(m.add(A));
|
|
41780
41780
|
}
|
|
41781
41781
|
return o;
|
|
41782
|
-
}, s.cx = LN, s.cy =
|
|
41783
|
-
return s._.fromValues(((n.x - o) * i.scale - i.x) * $t, (n.y * i.scale - i.y) * $t,
|
|
41782
|
+
}, s.cx = LN, s.cy = j6, s.cz = function(i, n, o = 0) {
|
|
41783
|
+
return s._.fromValues(((n.x - o) * i.scale - i.x) * $t, (n.y * i.scale - i.y) * $t, D6(n.z, n.y));
|
|
41784
41784
|
}, s.d = ja, s.d$ = ff, s.d0 = Zl, s.d1 = function() {
|
|
41785
41785
|
return !!document.fullscreenElement || !!document.webkitFullscreenElement;
|
|
41786
|
-
}, s.d2 = mw, s.d3 =
|
|
41786
|
+
}, s.d2 = mw, s.d3 = A6, s.d4 = fd, s.d5 = function([i, n, o]) {
|
|
41787
41787
|
const c = Math.hypot(i, n, o), h = Math.atan2(i, o), p = 0.5 * Math.PI - Math.acos(-n / c);
|
|
41788
41788
|
return new ui(To(h), To(p));
|
|
41789
41789
|
}, s.d6 = us, s.d7 = tp, s.d8 = D, s.d9 = y4, s.dA = function(i) {
|
|
@@ -41796,7 +41796,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41796
41796
|
i5 = io.resolveURL(i), bp || (bp = new xp(rx(), new nc())), bp.broadcast("setDracoUrl", i5);
|
|
41797
41797
|
}, s.dE = pL, s.dF = function(i) {
|
|
41798
41798
|
Mp = io.resolveURL(i), bp || (bp = new xp(rx(), new nc())), bp.broadcast("setMeshoptUrl", Mp);
|
|
41799
|
-
}, s.dG = _g, s.dH = ae, s.dI = Lu, s.dJ = Ha, s.dK = _d, s.dL = Yw, s.dM = eN, s.dN = aN, s.dO =
|
|
41799
|
+
}, s.dG = _g, s.dH = ae, s.dI = Lu, s.dJ = Ha, s.dK = _d, s.dL = Yw, s.dM = eN, s.dN = aN, s.dO = GA, s.dP = fl, s.dQ = wN, s.dR = gp, s.dS = function(i, n, o, c, h, p, m, x, M, I, E) {
|
|
41800
41800
|
i.createArrays(), i.tilePixelRatio = $t / (512 * i.overscaling), i.compareText = {}, i.iconsNeedLinear = !1;
|
|
41801
41801
|
const A = i.layers[0].layout, z = i.layers[0]._unevaluatedLayout._values, P = {};
|
|
41802
41802
|
if (i.textSizeData.kind === "composite") {
|
|
@@ -41859,7 +41859,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41859
41859
|
i.iconsInText || (i.iconsInText = !!gt && gt.iconsInText), (gt || je) && _H(i, q, Se, je, c, P, pe, 0, He, rt, m, x, I, E, Q);
|
|
41860
41860
|
}
|
|
41861
41861
|
p && i.generateCollisionDebugBuffers(M, i.collisionBoxArray);
|
|
41862
|
-
}, s.dT = Nv, s.dU = wv, s.dV = I4, s.dW = cp, s.dX = Dv, s.dY = Z4, s.dZ = Tv, s.d_ = Iv, s.da =
|
|
41862
|
+
}, s.dT = Nv, s.dU = wv, s.dV = I4, s.dW = cp, s.dX = Dv, s.dY = Z4, s.dZ = Tv, s.d_ = Iv, s.da = q6, s.db = function(i) {
|
|
41863
41863
|
const n = [0, 0, 0], o = s.ad.identity(new Float64Array(16));
|
|
41864
41864
|
return s.ad.multiply(o, i.pixelMatrix, i.globeMatrix), s._.transformMat4(n, n, o), new qt(n[0], n[1]);
|
|
41865
41865
|
}, s.dc = Y, s.dd = X, s.de = function(i) {
|
|
@@ -61034,13 +61034,13 @@ cw.mul = function(t, r) {
|
|
|
61034
61034
|
};
|
|
61035
61035
|
})(WF);
|
|
61036
61036
|
const qF = WF;
|
|
61037
|
-
function
|
|
61037
|
+
function e6(e) {
|
|
61038
61038
|
this.genPoly = void 0, this.degree = e, this.degree && this.initialize(this.degree);
|
|
61039
61039
|
}
|
|
61040
|
-
|
|
61040
|
+
e6.prototype.initialize = function(t) {
|
|
61041
61041
|
this.degree = t, this.genPoly = qF.generateECPolynomial(this.degree);
|
|
61042
61042
|
};
|
|
61043
|
-
|
|
61043
|
+
e6.prototype.encode = function(t) {
|
|
61044
61044
|
if (!this.genPoly)
|
|
61045
61045
|
throw new Error("Encoder not initialized");
|
|
61046
61046
|
const r = new Uint8Array(t.length + this.degree);
|
|
@@ -61052,8 +61052,8 @@ eA.prototype.encode = function(t) {
|
|
|
61052
61052
|
}
|
|
61053
61053
|
return a;
|
|
61054
61054
|
};
|
|
61055
|
-
var qpe =
|
|
61056
|
-
|
|
61055
|
+
var qpe = e6, KF = {}, Ah = {}, t6 = {};
|
|
61056
|
+
t6.isValid = function(t) {
|
|
61057
61057
|
return !isNaN(t) && t >= 1 && t <= 40;
|
|
61058
61058
|
};
|
|
61059
61059
|
var Yl = {};
|
|
@@ -61078,7 +61078,7 @@ Yl.testAlphanumeric = function(t) {
|
|
|
61078
61078
|
return tme.test(t);
|
|
61079
61079
|
};
|
|
61080
61080
|
(function(e) {
|
|
61081
|
-
const t =
|
|
61081
|
+
const t = t6, r = Yl;
|
|
61082
61082
|
e.NUMERIC = {
|
|
61083
61083
|
id: "Numeric",
|
|
61084
61084
|
bit: 1 << 0,
|
|
@@ -61139,7 +61139,7 @@ Yl.testAlphanumeric = function(t) {
|
|
|
61139
61139
|
};
|
|
61140
61140
|
})(Ah);
|
|
61141
61141
|
(function(e) {
|
|
61142
|
-
const t = sa, r = lw, a = aw, u = Ah, f =
|
|
61142
|
+
const t = sa, r = lw, a = aw, u = Ah, f = t6, g = 1 << 12 | 1 << 11 | 1 << 10 | 1 << 9 | 1 << 8 | 1 << 5 | 1 << 2 | 1 << 0, s = t.getBCHDigit(g);
|
|
61143
61143
|
function _(N, O, R) {
|
|
61144
61144
|
for (let F = 1; F <= 40; F++)
|
|
61145
61145
|
if (O <= e.getCapacity(F, R, N))
|
|
@@ -61704,7 +61704,7 @@ QF.create = function(t, r) {
|
|
|
61704
61704
|
let a = yI.M, u, f;
|
|
61705
61705
|
return typeof r < "u" && (a = yI.from(r.errorCorrectionLevel, yI.M), u = nb.from(r.version), f = xS.from(r.maskPattern), r.toSJISFunc && uw.setToSJISFunction(r.toSJISFunc)), Cme(t, u, a, f);
|
|
61706
61706
|
};
|
|
61707
|
-
var iV = {},
|
|
61707
|
+
var iV = {}, n6 = {};
|
|
61708
61708
|
(function(e) {
|
|
61709
61709
|
function t(r) {
|
|
61710
61710
|
if (typeof r == "number" && (r = r.toString()), typeof r != "string")
|
|
@@ -61755,9 +61755,9 @@ var iV = {}, nA = {};
|
|
|
61755
61755
|
a[R++] = F.r, a[R++] = F.g, a[R++] = F.b, a[R] = F.a;
|
|
61756
61756
|
}
|
|
61757
61757
|
};
|
|
61758
|
-
})(
|
|
61758
|
+
})(n6);
|
|
61759
61759
|
(function(e) {
|
|
61760
|
-
const t =
|
|
61760
|
+
const t = n6;
|
|
61761
61761
|
function r(u, f, g) {
|
|
61762
61762
|
u.clearRect(0, 0, f.width, f.height), f.style || (f.style = {}), f.height = g, f.width = g, f.style.height = g + "px", f.style.width = g + "px";
|
|
61763
61763
|
}
|
|
@@ -61781,7 +61781,7 @@ var iV = {}, nA = {};
|
|
|
61781
61781
|
};
|
|
61782
61782
|
})(iV);
|
|
61783
61783
|
var rV = {};
|
|
61784
|
-
const Ame =
|
|
61784
|
+
const Ame = n6;
|
|
61785
61785
|
function Ek(e, t) {
|
|
61786
61786
|
const r = e.a / 255, a = t + '="' + e.hex + '"';
|
|
61787
61787
|
return r < 1 ? a + " " + t + '-opacity="' + r.toFixed(2).slice(1) + '"' : a;
|
|
@@ -61804,7 +61804,7 @@ rV.render = function(t, r, a) {
|
|
|
61804
61804
|
return typeof a == "function" && a(null, N), N;
|
|
61805
61805
|
};
|
|
61806
61806
|
const Lme = Hpe, bS = QF, oV = iV, zme = rV;
|
|
61807
|
-
function
|
|
61807
|
+
function i6(e, t, r, a, u) {
|
|
61808
61808
|
const f = [].slice.call(arguments, 1), g = f.length, s = typeof f[g - 1] == "function";
|
|
61809
61809
|
if (!s && !Lme())
|
|
61810
61810
|
throw new Error("Callback required as last argument");
|
|
@@ -61832,9 +61832,9 @@ function iA(e, t, r, a, u) {
|
|
|
61832
61832
|
}
|
|
61833
61833
|
}
|
|
61834
61834
|
e_.create = bS.create;
|
|
61835
|
-
e_.toCanvas =
|
|
61836
|
-
e_.toDataURL =
|
|
61837
|
-
e_.toString =
|
|
61835
|
+
e_.toCanvas = i6.bind(null, oV.render);
|
|
61836
|
+
e_.toDataURL = i6.bind(null, oV.renderToDataURL);
|
|
61837
|
+
e_.toString = i6.bind(null, function(e, t, r) {
|
|
61838
61838
|
return zme.render(e, r);
|
|
61839
61839
|
});
|
|
61840
61840
|
function kme() {
|
|
@@ -62272,7 +62272,7 @@ const Yme = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
62272
62272
|
__proto__: null,
|
|
62273
62273
|
mi_column: Gme
|
|
62274
62274
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
62275
|
-
var
|
|
62275
|
+
var r6 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
62276
62276
|
function hV(e) {
|
|
62277
62277
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
62278
62278
|
}
|
|
@@ -62291,7 +62291,7 @@ function Wme() {
|
|
|
62291
62291
|
var dV = n_(function(e) {
|
|
62292
62292
|
((t, r) => {
|
|
62293
62293
|
e.exports ? e.exports = r() : t.fuzzysort = r();
|
|
62294
|
-
})(
|
|
62294
|
+
})(r6, (t) => {
|
|
62295
62295
|
var r = (Xe, Ae) => {
|
|
62296
62296
|
if (Xe == "farzher")
|
|
62297
62297
|
return { target: "farzher was here (^-^*)/", score: 0, _indexes: [0] };
|
|
@@ -63898,7 +63898,7 @@ var mge = n_(function(e, t) {
|
|
|
63898
63898
|
*/
|
|
63899
63899
|
(function(r, a) {
|
|
63900
63900
|
e.exports = a();
|
|
63901
|
-
})(
|
|
63901
|
+
})(r6, function() {
|
|
63902
63902
|
return function() {
|
|
63903
63903
|
var r = { 509: function(g, s, _) {
|
|
63904
63904
|
var T = _(9985), D = _(3691), L = TypeError;
|
|
@@ -67723,7 +67723,7 @@ function ib(e) {
|
|
|
67723
67723
|
return r.__proto__ || Object.getPrototypeOf(r);
|
|
67724
67724
|
}, ib(e);
|
|
67725
67725
|
}
|
|
67726
|
-
function
|
|
67726
|
+
function o6(e, t) {
|
|
67727
67727
|
if (!(e instanceof t))
|
|
67728
67728
|
throw new TypeError("Cannot call a class as a function");
|
|
67729
67729
|
}
|
|
@@ -67733,7 +67733,7 @@ function zk(e, t) {
|
|
|
67733
67733
|
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a);
|
|
67734
67734
|
}
|
|
67735
67735
|
}
|
|
67736
|
-
function
|
|
67736
|
+
function s6(e, t, r) {
|
|
67737
67737
|
return t && zk(e.prototype, t), r && zk(e, r), e;
|
|
67738
67738
|
}
|
|
67739
67739
|
function ES(e, t, r) {
|
|
@@ -67741,9 +67741,9 @@ function ES(e, t, r) {
|
|
|
67741
67741
|
}
|
|
67742
67742
|
var w0e = 10, DV = /* @__PURE__ */ function() {
|
|
67743
67743
|
function e() {
|
|
67744
|
-
|
|
67744
|
+
o6(this, e), ES(this, "subPriority", 0);
|
|
67745
67745
|
}
|
|
67746
|
-
return
|
|
67746
|
+
return s6(e, [{
|
|
67747
67747
|
key: "validate",
|
|
67748
67748
|
value: function(r, a) {
|
|
67749
67749
|
return !0;
|
|
@@ -67754,9 +67754,9 @@ var w0e = 10, DV = /* @__PURE__ */ function() {
|
|
|
67754
67754
|
var t = EV(r);
|
|
67755
67755
|
function r(a, u, f, g, s) {
|
|
67756
67756
|
var _;
|
|
67757
|
-
return
|
|
67757
|
+
return o6(this, r), _ = t.call(this), _.value = a, _.validateValue = u, _.setValue = f, _.priority = g, s && (_.subPriority = s), _;
|
|
67758
67758
|
}
|
|
67759
|
-
return
|
|
67759
|
+
return s6(r, [{
|
|
67760
67760
|
key: "validate",
|
|
67761
67761
|
value: function(u, f) {
|
|
67762
67762
|
return this.validateValue(u, this.value, f);
|
|
@@ -67772,12 +67772,12 @@ var w0e = 10, DV = /* @__PURE__ */ function() {
|
|
|
67772
67772
|
var t = EV(r);
|
|
67773
67773
|
function r() {
|
|
67774
67774
|
var a;
|
|
67775
|
-
|
|
67775
|
+
o6(this, r);
|
|
67776
67776
|
for (var u = arguments.length, f = new Array(u), g = 0; g < u; g++)
|
|
67777
67777
|
f[g] = arguments[g];
|
|
67778
67778
|
return a = t.call.apply(t, [this].concat(f)), ES(SS(a), "priority", w0e), ES(SS(a), "subPriority", -1), a;
|
|
67779
67779
|
}
|
|
67780
|
-
return
|
|
67780
|
+
return s6(r, [{
|
|
67781
67781
|
key: "set",
|
|
67782
67782
|
value: function(u, f) {
|
|
67783
67783
|
if (f.timestampIsSet)
|
|
@@ -68037,7 +68037,7 @@ function ob(e, t) {
|
|
|
68037
68037
|
return Vr(new RegExp("^-?\\d{1," + e + "}"), t);
|
|
68038
68038
|
}
|
|
68039
68039
|
}
|
|
68040
|
-
function
|
|
68040
|
+
function a6(e) {
|
|
68041
68041
|
switch (e) {
|
|
68042
68042
|
case "morning":
|
|
68043
68043
|
return 4;
|
|
@@ -69519,7 +69519,7 @@ var Tye = /* @__PURE__ */ function(e) {
|
|
|
69519
69519
|
}
|
|
69520
69520
|
}]), r;
|
|
69521
69521
|
}(rr);
|
|
69522
|
-
function
|
|
69522
|
+
function l6(e, t, r) {
|
|
69523
69523
|
var a, u, f, g, s, _, T, D;
|
|
69524
69524
|
Io(2, arguments);
|
|
69525
69525
|
var L = i_(), N = Os((a = (u = (f = (g = r == null ? void 0 : r.weekStartsOn) !== null && g !== void 0 ? g : r == null || (s = r.locale) === null || s === void 0 || (_ = s.options) === null || _ === void 0 ? void 0 : _.weekStartsOn) !== null && f !== void 0 ? f : L.weekStartsOn) !== null && u !== void 0 ? u : (T = L.locale) === null || T === void 0 || (D = T.options) === null || D === void 0 ? void 0 : D.weekStartsOn) !== null && a !== void 0 ? a : 0);
|
|
@@ -69663,7 +69663,7 @@ var Lye = /* @__PURE__ */ function(e) {
|
|
|
69663
69663
|
}, {
|
|
69664
69664
|
key: "set",
|
|
69665
69665
|
value: function(u, f, g, s) {
|
|
69666
|
-
return u =
|
|
69666
|
+
return u = l6(u, g, s), u.setUTCHours(0, 0, 0, 0), u;
|
|
69667
69667
|
}
|
|
69668
69668
|
}]), r;
|
|
69669
69669
|
}(rr);
|
|
@@ -69811,7 +69811,7 @@ var Uye = /* @__PURE__ */ function(e) {
|
|
|
69811
69811
|
}, {
|
|
69812
69812
|
key: "set",
|
|
69813
69813
|
value: function(u, f, g, s) {
|
|
69814
|
-
return u =
|
|
69814
|
+
return u = l6(u, g, s), u.setUTCHours(0, 0, 0, 0), u;
|
|
69815
69815
|
}
|
|
69816
69816
|
}]), r;
|
|
69817
69817
|
}(rr);
|
|
@@ -69959,7 +69959,7 @@ var Yye = /* @__PURE__ */ function(e) {
|
|
|
69959
69959
|
}, {
|
|
69960
69960
|
key: "set",
|
|
69961
69961
|
value: function(u, f, g, s) {
|
|
69962
|
-
return u =
|
|
69962
|
+
return u = l6(u, g, s), u.setUTCHours(0, 0, 0, 0), u;
|
|
69963
69963
|
}
|
|
69964
69964
|
}]), r;
|
|
69965
69965
|
}(rr);
|
|
@@ -70233,7 +70233,7 @@ var a_e = /* @__PURE__ */ function(e) {
|
|
|
70233
70233
|
}, {
|
|
70234
70234
|
key: "set",
|
|
70235
70235
|
value: function(u, f, g) {
|
|
70236
|
-
return u.setUTCHours(
|
|
70236
|
+
return u.setUTCHours(a6(g), 0, 0, 0), u;
|
|
70237
70237
|
}
|
|
70238
70238
|
}]), r;
|
|
70239
70239
|
}(rr);
|
|
@@ -70353,7 +70353,7 @@ var p_e = /* @__PURE__ */ function(e) {
|
|
|
70353
70353
|
}, {
|
|
70354
70354
|
key: "set",
|
|
70355
70355
|
value: function(u, f, g) {
|
|
70356
|
-
return u.setUTCHours(
|
|
70356
|
+
return u.setUTCHours(a6(g), 0, 0, 0), u;
|
|
70357
70357
|
}
|
|
70358
70358
|
}]), r;
|
|
70359
70359
|
}(rr);
|
|
@@ -70473,7 +70473,7 @@ var M_e = /* @__PURE__ */ function(e) {
|
|
|
70473
70473
|
}, {
|
|
70474
70474
|
key: "set",
|
|
70475
70475
|
value: function(u, f, g) {
|
|
70476
|
-
return u.setUTCHours(
|
|
70476
|
+
return u.setUTCHours(a6(g), 0, 0, 0), u;
|
|
70477
70477
|
}
|
|
70478
70478
|
}]), r;
|
|
70479
70479
|
}(rr);
|
|
@@ -73881,7 +73881,7 @@ var mxe = n_(function(e, t) {
|
|
|
73881
73881
|
Bn.ua[nn] = Dn[nn];
|
|
73882
73882
|
};
|
|
73883
73883
|
}
|
|
73884
|
-
})(typeof window == "object" ? window :
|
|
73884
|
+
})(typeof window == "object" ? window : r6);
|
|
73885
73885
|
}), gxe = function(t) {
|
|
73886
73886
|
return yxe(t) && !_xe(t);
|
|
73887
73887
|
};
|
|
@@ -75147,7 +75147,7 @@ var Kxe = function(e, t, r, a) {
|
|
|
75147
75147
|
(g = e[s]) && (f = (u < 3 ? g(f) : u > 3 ? g(t, r, f) : g(t, r)) || f);
|
|
75148
75148
|
return u > 3 && f && Object.defineProperty(t, r, f), f;
|
|
75149
75149
|
};
|
|
75150
|
-
const
|
|
75150
|
+
const c6 = class {
|
|
75151
75151
|
constructor(e) {
|
|
75152
75152
|
Oi(this, e), this.results = lr(this, "results", 7), this.cleared = lr(this, "cleared", 7), this.componentRendered = lr(this, "componentRendered", 7), this.shortInput = lr(this, "shortInput", 7), this.changed = lr(this, "changed", 7), this.preventSearch = !1, this.placeholder = "", this.idAttribute = "", this.dataAttributes = {}, this.mapsindoors = !1, this.google = !1, this.mapbox = !1, this.language = "en", this.miFields = "name,description,aliases,categories,externalId", this.miTake = void 0, this.miSkip = void 0, this.miOrder = void 0, this.miCategories = void 0, this.miNear = void 0, this.miVenue = void 0, this.gmCountryCode = void 0, this.value = void 0, this.disabled = !1, this.sessionToken = void 0, this.userPosition = void 0;
|
|
75153
75153
|
}
|
|
@@ -75323,11 +75323,11 @@ const cA = class {
|
|
|
75323
75323
|
};
|
|
75324
75324
|
Kxe([
|
|
75325
75325
|
Wxe(500)
|
|
75326
|
-
],
|
|
75327
|
-
|
|
75326
|
+
], c6.prototype, "inputChanged", null);
|
|
75327
|
+
c6.style = qxe;
|
|
75328
75328
|
const Xxe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
75329
75329
|
__proto__: null,
|
|
75330
|
-
mi_search:
|
|
75330
|
+
mi_search: c6
|
|
75331
75331
|
}, Symbol.toStringTag, { value: "Module" })), Jxe = 'a.mi-button{cursor:default}.mi-button{border-radius:4px;border-width:1px;border-style:solid;font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:500;padding-left:16px;padding-right:16px;padding-top:12px;padding-bottom:12px;display:inline-flex;align-items:center}.mi-button:disabled{opacity:0.48;cursor:not-allowed}.mi-button object{filter:invert(9%) sepia(13%) saturate(692%) hue-rotate(185deg) brightness(98%) contrast(91%);width:16px;height:16px}.mi-button--small{padding-left:12px;padding-right:12px;padding-top:8px;padding-bottom:8px;font-size:0.875rem;height:32px}.mi-button--small object{width:16px;height:16px}.mi-button--large{padding-left:16px;padding-right:16px;font-size:1.25rem}.mi-button--large object{width:20px;height:20px}.mi-button--full-width{width:100%;justify-content:center}.mi-button--icon-left{padding-left:12px}.mi-button--icon-left object{margin-right:8px}.mi-button--icon-right{padding-right:12px}.mi-button--icon-right object{margin-left:8px}.mi-button--icon-both{padding-top:12px;padding-bottom:12px}.mi-button--icon-both object:first-of-type{margin-right:8px}.mi-button--icon-both object:last-of-type{margin-left:8px}.mi-button--base{background:linear-gradient(#f5f7fa, #ebeff5);color:#1e2025;border-color:#c8d0e0}.mi-button--base:not(:disabled):hover{background:linear-gradient(#ebeff5, #dee3ed);border-color:#aeb9cb}.mi-button--base:not(:disabled):active{background:linear-gradient(#dee3ed, #ebeff5)}.mi-button--primary{color:#ffffff;border-color:#20693e;background:linear-gradient(#3ba064, #2a844e)}.mi-button--primary object{filter:invert(100%) sepia(93%) saturate(0%) hue-rotate(201deg) brightness(106%) contrast(106%)}.mi-button--primary:not(:disabled):hover{background:linear-gradient(#2a844e, #20693e)}.mi-button--primary:not(:disabled):active{background:linear-gradient(#20693e, #2a844e)}.mi-button--delete{background:linear-gradient(#f55151, #de1b1b);color:#ffffff;border-color:#ba0d0d}.mi-button--delete object{filter:invert(100%) sepia(93%) saturate(0%) hue-rotate(201deg) brightness(106%) contrast(106%)}.mi-button--delete:not(:disabled):hover{background:linear-gradient(#de1b1b, #ba0d0d)}.mi-button--delete:not(:disabled):active{background:linear-gradient(#ba0d0d, #de1b1b)}.mi-button--outline{color:#3071d9;border-color:#3071d9;background-color:transparent}.mi-button--outline object{filter:invert(38%) sepia(97%) saturate(742%) hue-rotate(188deg) brightness(86%) contrast(97%)}.mi-button--outline:not(:disabled):hover{color:#1d5bbf;border-color:#1d5bbf;background-color:#eef4fc}.mi-button--outline:not(:disabled):active{color:#1d5bbf;border-color:#1d5bbf;background-color:#cfe0fc}.mi-button--link{color:#3071d9;border-style:none;background-color:transparent;cursor:pointer}.mi-button--link object{filter:invert(38%) sepia(97%) saturate(742%) hue-rotate(188deg) brightness(86%) contrast(97%)}.mi-button--link:not(:disabled):hover{color:#1d5bbf;border-color:#1d5bbf;background-color:#eef4fc}.mi-button--link:disabled:hover{cursor:not-allowed}.mi-button--link:not(:disabled):active{color:#1d5bbf;border-color:#1d5bbf;background-color:#cfe0fc}.width-none{width:0}.width-xxx-small{width:2px}.width-xx-small{width:4px}.width-x-small{width:8px}.width-small{width:12px}.width-medium{width:16px}.width-large{width:24px}.width-x-large{width:32px}.width-xx-large{width:40px}.width-xxx-large{width:48px}.width-xxxx-large{width:64px}.min-width-none{min-width:0}.min-width-xxx-small{min-width:2px}.min-width-xx-small{min-width:4px}.min-width-x-small{min-width:8px}.min-width-small{min-width:12px}.min-width-medium{min-width:16px}.min-width-large{min-width:24px}.min-width-x-large{min-width:32px}.min-width-xx-large{min-width:40px}.min-width-xxx-large{min-width:48px}.min-width-xxxx-large{min-width:64px}.max-width-none{max-width:0}.max-width-xxx-small{max-width:2px}.max-width-xx-small{max-width:4px}.max-width-x-small{max-width:8px}.max-width-small{max-width:12px}.max-width-medium{max-width:16px}.max-width-large{max-width:24px}.max-width-x-large{max-width:32px}.max-width-xx-large{max-width:40px}.max-width-xxx-large{max-width:48px}.max-width-xxxx-large{max-width:64px}.height-none{height:0}.height-xxx-small{height:2px}.height-xx-small{height:4px}.height-x-small{height:8px}.height-small{height:12px}.height-medium{height:16px}.height-large{height:24px}.height-x-large{height:32px}.height-xx-large{height:40px}.height-xxx-large{height:48px}.height-xxxx-large{height:64px}.min-height-none{min-height:0}.min-height-xxx-small{min-height:2px}.min-height-xx-small{min-height:4px}.min-height-x-small{min-height:8px}.min-height-small{min-height:12px}.min-height-medium{min-height:16px}.min-height-large{min-height:24px}.min-height-x-large{min-height:32px}.min-height-xx-large{min-height:40px}.min-height-xxx-large{min-height:48px}.min-height-xxxx-large{min-height:64px}.max-height-none{max-height:0}.max-height-xxx-small{max-height:2px}.max-height-xx-small{max-height:4px}.max-height-x-small{max-height:8px}.max-height-small{max-height:12px}.max-height-medium{max-height:16px}.max-height-large{max-height:24px}.max-height-x-large{max-height:32px}.max-height-xx-large{max-height:40px}.max-height-xxx-large{max-height:48px}.max-height-xxxx-large{max-height:64px}.debug *{outline:1px solid gold}.flex{display:flex;flex:1}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.display-block{display:block}.display-inline-block{display:inline-block}.display-inline{display:inline}.display-none{display:none}.text-decoration-none{text-decoration:none}.text-right{text-align:right}.text-left{text-align:left}.text-center{text-align:center}.margin-auto{margin-left:auto;margin-right:auto}form .inputs{margin:0 auto;width:80%;padding-top:32px;padding-bottom:32px;position:relative;display:flex;flex-direction:row;align-items:center}form .inputs span.plus-sign{position:absolute;left:16px;display:block;font-size:1rem;font-family:Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#1c1917;top:50%;transform:translateY(-50%)}form .inputs input{padding-left:12px;padding-right:12px;background-color:#ffffff;border-style:solid;border-width:1px;border-radius:8px;height:48px;font-size:1.25rem;font-family:Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#1c1917;box-sizing:border-box}form .inputs input:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #dbeafe}form .inputs input.country-code{width:15%;min-width:88px;margin-right:16px;padding-left:32px}form .inputs input.phone-number{width:85%}form button{margin-top:32px;margin-bottom:24px}', WV = class {
|
|
75332
75332
|
constructor(e) {
|
|
75333
75333
|
Oi(this, e), this.successfullySent = lr(this, "successfullySent", 7), this.unsuccessfullySent = lr(this, "unsuccessfullySent", 7), this.submitFormHandler = (t) => {
|