@mapsindoors/map-template 1.74.7 → 1.74.8
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-796a8e36.mjs → _commonjsHelpers-ba3f0406-0c334d00.mjs} +2 -2
- package/dist/{combo-box-item.entry-96776dfe.mjs → combo-box-item.entry-1b58cf68.mjs} +2 -2
- package/dist/{icon-b8d01d6f-df0bc009.mjs → icon-b8d01d6f-a009fa8a.mjs} +2 -2
- package/dist/mapsindoors-react.es.js +1 -1
- package/dist/mapsindoors-react.umd.js +2 -2
- package/dist/mapsindoors-webcomponent.es.js +3 -3
- package/dist/mapsindoors-webcomponent.umd.js +2 -2
- package/dist/{mi-card_2.entry-34a18ee1.mjs → mi-card_2.entry-d89be589.mjs} +2 -2
- package/dist/{mi-chip.entry-7791df37.mjs → mi-chip.entry-26500775.mjs} +2 -2
- package/dist/{mi-column.entry-a9da1121.mjs → mi-column.entry-1c1e9345.mjs} +2 -2
- package/dist/{mi-combo-box.entry-33f62ded.mjs → mi-combo-box.entry-68ae9646.mjs} +4 -4
- package/dist/{mi-data-table.entry-0ef87177.mjs → mi-data-table.entry-89cf8769.mjs} +3 -3
- package/dist/{mi-distance_2.entry-36ebbc59.mjs → mi-distance_2.entry-f7a0044e.mjs} +3 -3
- package/dist/{mi-dropdown-item.entry-cc8bb77e.mjs → mi-dropdown-item.entry-393cbee6.mjs} +2 -2
- package/dist/{mi-dropdown.entry-2391ff76.mjs → mi-dropdown.entry-be5475ae.mjs} +4 -4
- package/dist/{mi-floor-selector.entry-068d66be.mjs → mi-floor-selector.entry-8d1d54f9.mjs} +2 -2
- package/dist/{mi-keyboard.entry-f5730a70.mjs → mi-keyboard.entry-c59decf5.mjs} +3 -3
- package/dist/{mi-list-item-category.entry-085d0951.mjs → mi-list-item-category.entry-a3f1ed01.mjs} +4 -4
- package/dist/{mi-list-item-location.entry-41c6d48f.mjs → mi-list-item-location.entry-4655d34a.mjs} +4 -4
- package/dist/{mi-list.entry-9b3bc6f2.mjs → mi-list.entry-eaa43fab.mjs} +2 -2
- package/dist/{mi-location-booking.entry-3025c88d.mjs → mi-location-booking.entry-a912253d.mjs} +3 -3
- package/dist/{mi-location-info.entry-f3e7fd5e.mjs → mi-location-info.entry-dd690868.mjs} +2 -2
- package/dist/{mi-map-googlemaps.entry-8fca2ff6.mjs → mi-map-googlemaps.entry-5c5237a7.mjs} +3 -3
- package/dist/{mi-map-mapbox.entry-79e842d6.mjs → mi-map-mapbox.entry-d5c469b5.mjs} +3 -3
- package/dist/{mi-metric-card.entry-7c2faa5f.mjs → mi-metric-card.entry-9cfcca59.mjs} +3 -3
- package/dist/{mi-my-position.entry-705ec49d.mjs → mi-my-position.entry-a80b31b1.mjs} +3 -3
- package/dist/{mi-notification.entry-c3e13435.mjs → mi-notification.entry-efe51a44.mjs} +2 -2
- package/dist/{mi-route-instructions-heading.entry-b5020a7d.mjs → mi-route-instructions-heading.entry-1e6b0bc5.mjs} +4 -4
- package/dist/{mi-route-instructions-maneuver-legacy.entry-61129503.mjs → mi-route-instructions-maneuver-legacy.entry-652a0aa5.mjs} +3 -3
- package/dist/{mi-route-instructions-maneuver.entry-b020fa4f.mjs → mi-route-instructions-maneuver.entry-752a5b29.mjs} +3 -3
- package/dist/{mi-route-instructions-step-legacy.entry-9f9b3b67.mjs → mi-route-instructions-step-legacy.entry-05d41a6d.mjs} +4 -4
- package/dist/{mi-route-instructions-step.entry-738b5db6.mjs → mi-route-instructions-step.entry-0ff10957.mjs} +4 -4
- package/dist/{mi-route-instructions.entry-b9f026cb.mjs → mi-route-instructions.entry-47891b86.mjs} +5 -5
- package/dist/{mi-scroll-buttons.entry-2e2980c9.mjs → mi-scroll-buttons.entry-5895ba6c.mjs} +2 -2
- package/dist/{mi-search.entry-d69efb00.mjs → mi-search.entry-78b74fa6.mjs} +3 -3
- package/dist/{mi-share-sms.entry-6c981988.mjs → mi-share-sms.entry-a91753ba.mjs} +2 -2
- package/dist/{mi-step-switcher.entry-b6db238b.mjs → mi-step-switcher.entry-b6b45ac1.mjs} +2 -2
- package/dist/{mi-tab-panel.entry-825395e7.mjs → mi-tab-panel.entry-c35968a0.mjs} +2 -2
- package/dist/{mi-tab.entry-341c0d75.mjs → mi-tab.entry-9409780f.mjs} +2 -2
- package/dist/{mi-tabs.entry-21497479.mjs → mi-tabs.entry-089751e8.mjs} +2 -2
- package/dist/{mi-time.entry-2340497b.mjs → mi-time.entry-6b577280.mjs} +2 -2
- package/dist/{mi-variables-9a6c8d4d-699cc22e.mjs → mi-variables-9a6c8d4d-96e290ce.mjs} +2 -2
- package/dist/{reactcomponent-be49b8b5.mjs → reactcomponent-37c94239.mjs} +280 -280
- package/dist/{route-travel-mode.enum-7f4ce9c7-c610d35a.mjs → route-travel-mode.enum-7f4ce9c7-99f58386.mjs} +2 -2
- package/dist/{sort-order.enum-64ce8998-fe7e39ab.mjs → sort-order.enum-64ce8998-e1045bf5.mjs} +3 -3
- package/dist/{unit-system.enum-eaefb53e-a352da5d.mjs → unit-system.enum-eaefb53e-6df9a3ee.mjs} +2 -2
- package/dist/{utils-ae714467-1ef0c483.mjs → utils-ae714467-b8b9b403.mjs} +2 -2
- package/package.json +1 -1
|
@@ -4,12 +4,12 @@ import dd, { createPortal as l5 } from "react-dom";
|
|
|
4
4
|
(function() {
|
|
5
5
|
try {
|
|
6
6
|
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, r = new t.Error().stack;
|
|
7
|
-
r && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[r] = "
|
|
7
|
+
r && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[r] = "945b683e-939a-4dd3-887c-93afb7aafb7f", t._sentryDebugIdIdentifier = "sentry-dbid-945b683e-939a-4dd3-887c-93afb7aafb7f");
|
|
8
8
|
} catch {
|
|
9
9
|
}
|
|
10
10
|
})();
|
|
11
11
|
var c5 = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
12
|
-
c5.SENTRY_RELEASE = { id: "
|
|
12
|
+
c5.SENTRY_RELEASE = { id: "8099b1c47a1fb8e1447a572ff8eb6d2eddc854c6" };
|
|
13
13
|
var q3 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
14
14
|
function Yy(t) {
|
|
15
15
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
@@ -17277,7 +17277,7 @@ const eW = (t, r, ...s) => {
|
|
|
17277
17277
|
if (y)
|
|
17278
17278
|
return y[u];
|
|
17279
17279
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
17280
|
-
return Wq(/* @__PURE__ */ Object.assign({ "./combo-box-item.entry.js": () => import("./combo-box-item.entry-
|
|
17280
|
+
return Wq(/* @__PURE__ */ Object.assign({ "./combo-box-item.entry.js": () => import("./combo-box-item.entry-1b58cf68.mjs"), "./mi-card_2.entry.js": () => import("./mi-card_2.entry-d89be589.mjs"), "./mi-chip.entry.js": () => import("./mi-chip.entry-26500775.mjs"), "./mi-column.entry.js": () => import("./mi-column.entry-1c1e9345.mjs"), "./mi-combo-box.entry.js": () => import("./mi-combo-box.entry-68ae9646.mjs"), "./mi-data-table.entry.js": () => import("./mi-data-table.entry-89cf8769.mjs"), "./mi-distance_2.entry.js": () => import("./mi-distance_2.entry-f7a0044e.mjs"), "./mi-dropdown-item.entry.js": () => import("./mi-dropdown-item.entry-393cbee6.mjs"), "./mi-dropdown.entry.js": () => import("./mi-dropdown.entry-be5475ae.mjs"), "./mi-floor-selector.entry.js": () => import("./mi-floor-selector.entry-8d1d54f9.mjs"), "./mi-keyboard.entry.js": () => import("./mi-keyboard.entry-c59decf5.mjs"), "./mi-list-item-category.entry.js": () => import("./mi-list-item-category.entry-a3f1ed01.mjs"), "./mi-list-item-location.entry.js": () => import("./mi-list-item-location.entry-4655d34a.mjs"), "./mi-list.entry.js": () => import("./mi-list.entry-eaa43fab.mjs"), "./mi-location-booking.entry.js": () => import("./mi-location-booking.entry-a912253d.mjs"), "./mi-location-info.entry.js": () => import("./mi-location-info.entry-dd690868.mjs"), "./mi-map-googlemaps.entry.js": () => import("./mi-map-googlemaps.entry-5c5237a7.mjs"), "./mi-map-mapbox.entry.js": () => import("./mi-map-mapbox.entry-d5c469b5.mjs"), "./mi-metric-card.entry.js": () => import("./mi-metric-card.entry-9cfcca59.mjs"), "./mi-my-position.entry.js": () => import("./mi-my-position.entry-a80b31b1.mjs"), "./mi-notification.entry.js": () => import("./mi-notification.entry-efe51a44.mjs"), "./mi-route-instructions-heading.entry.js": () => import("./mi-route-instructions-heading.entry-1e6b0bc5.mjs"), "./mi-route-instructions-maneuver-legacy.entry.js": () => import("./mi-route-instructions-maneuver-legacy.entry-652a0aa5.mjs"), "./mi-route-instructions-maneuver.entry.js": () => import("./mi-route-instructions-maneuver.entry-752a5b29.mjs"), "./mi-route-instructions-step-legacy.entry.js": () => import("./mi-route-instructions-step-legacy.entry-05d41a6d.mjs"), "./mi-route-instructions-step.entry.js": () => import("./mi-route-instructions-step.entry-0ff10957.mjs"), "./mi-route-instructions.entry.js": () => import("./mi-route-instructions.entry-47891b86.mjs"), "./mi-scroll-buttons.entry.js": () => import("./mi-scroll-buttons.entry-5895ba6c.mjs"), "./mi-search.entry.js": () => import("./mi-search.entry-78b74fa6.mjs"), "./mi-share-sms.entry.js": () => import("./mi-share-sms.entry-a91753ba.mjs"), "./mi-step-switcher.entry.js": () => import("./mi-step-switcher.entry-b6b45ac1.mjs"), "./mi-tab-panel.entry.js": () => import("./mi-tab-panel.entry-c35968a0.mjs"), "./mi-tab.entry.js": () => import("./mi-tab.entry-9409780f.mjs"), "./mi-tabs.entry.js": () => import("./mi-tabs.entry-089751e8.mjs"), "./mi-time.entry.js": () => import("./mi-time.entry-6b577280.mjs") }), `./${g}.entry.js`).then((T) => (KI.set(g, T), T[u]), Nu);
|
|
17281
17281
|
}, Oy = /* @__PURE__ */ new Map(), Um = typeof window < "u" ? window : {}, Ia = Um.document || { head: {} }, to = {
|
|
17282
17282
|
$flags$: 0,
|
|
17283
17283
|
$resourcesUrl$: "",
|
|
@@ -27908,18 +27908,18 @@ ${JSON.stringify(p, null, 2)}
|
|
|
27908
27908
|
function Wa(l, e, o) {
|
|
27909
27909
|
return xe.vec3.scale(l, l, 1 - o), xe.vec3.scaleAndAdd(l, l, e, o);
|
|
27910
27910
|
}
|
|
27911
|
-
function
|
|
27911
|
+
function IS(l, e, o) {
|
|
27912
27912
|
for (const c of l)
|
|
27913
27913
|
xe.vec3.transformMat4(c, c, e), xe.vec3.scale(c, c, o);
|
|
27914
27914
|
}
|
|
27915
|
-
function
|
|
27915
|
+
function MS(l, e, o, c) {
|
|
27916
27916
|
const p = e / l.worldSize, h = l.globeMatrix;
|
|
27917
27917
|
if (o.z <= 1) {
|
|
27918
27918
|
const pe = ga(o).getCorners();
|
|
27919
|
-
return
|
|
27919
|
+
return IS(pe, h, p), Ur.fromPoints(pe);
|
|
27920
27920
|
}
|
|
27921
27921
|
const m = Yg(o, c), b = N1(m, n + qa(l._tileCoverLift));
|
|
27922
|
-
|
|
27922
|
+
IS(b, h, p);
|
|
27923
27923
|
const C = Number.MAX_VALUE, A = [-C, -C, -C], v = [C, C, C];
|
|
27924
27924
|
if (m.contains(l.center)) {
|
|
27925
27925
|
for (const Se of b)
|
|
@@ -27977,30 +27977,30 @@ ${JSON.stringify(p, null, 2)}
|
|
|
27977
27977
|
function Xg({ min: l, max: e }) {
|
|
27978
27978
|
return _ / Math.max(e[0] - l[0], e[1] - l[1], e[2] - l[2]);
|
|
27979
27979
|
}
|
|
27980
|
-
const
|
|
27980
|
+
const AS = new Float64Array(16);
|
|
27981
27981
|
function Kg(l) {
|
|
27982
|
-
const e = Xg(l), o = xe.mat4.fromScaling(
|
|
27982
|
+
const e = Xg(l), o = xe.mat4.fromScaling(AS, [e, e, e]);
|
|
27983
27983
|
return xe.mat4.translate(o, o, xe.vec3.negate([], l.min));
|
|
27984
27984
|
}
|
|
27985
27985
|
function B1(l) {
|
|
27986
|
-
const e = xe.mat4.fromTranslation(
|
|
27986
|
+
const e = xe.mat4.fromTranslation(AS, l.min), o = 1 / Xg(l);
|
|
27987
27987
|
return xe.mat4.scale(e, e, [o, o, o]);
|
|
27988
27988
|
}
|
|
27989
27989
|
function F1(l) {
|
|
27990
27990
|
const e = jt / (2 * Math.PI);
|
|
27991
27991
|
return l / (2 * Math.PI) / e;
|
|
27992
27992
|
}
|
|
27993
|
-
function
|
|
27993
|
+
function RS(l, e) {
|
|
27994
27994
|
return jt / (512 * Math.pow(2, l)) * Xg(ga(e));
|
|
27995
27995
|
}
|
|
27996
|
-
function
|
|
27996
|
+
function LS(l, e, o, c, p) {
|
|
27997
27997
|
const h = F1(o), m = [l, e, -o / (2 * Math.PI)], b = xe.mat4.identity(new Float64Array(16));
|
|
27998
27998
|
return xe.mat4.translate(b, b, m), xe.mat4.scale(b, b, [h, h, h]), xe.mat4.rotateX(b, b, xn(-p)), xe.mat4.rotateY(b, b, xn(-c)), b;
|
|
27999
27999
|
}
|
|
28000
28000
|
function Zl(l) {
|
|
28001
28001
|
return Ar(a, f, l);
|
|
28002
28002
|
}
|
|
28003
|
-
function
|
|
28003
|
+
function PS(l, e) {
|
|
28004
28004
|
const o = N(e.lat, e.lng), c = function(h) {
|
|
28005
28005
|
const m = N(h._center.lat, h._center.lng), b = xe.vec3.fromValues(0, 1, 0);
|
|
28006
28006
|
let C = xe.vec3.cross([], b, m);
|
|
@@ -28012,13 +28012,13 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28012
28012
|
return xe.vec3.angle(p, o);
|
|
28013
28013
|
}
|
|
28014
28014
|
function U1(l, e) {
|
|
28015
|
-
return
|
|
28015
|
+
return PS(l, e) > Math.PI / 2 * 1.01;
|
|
28016
28016
|
}
|
|
28017
|
-
const
|
|
28017
|
+
const kS = xn(85), Ik = Math.cos(kS), Mk = Math.sin(kS), Ak = xe.mat4.create(), DS = (l) => {
|
|
28018
28018
|
const e = [];
|
|
28019
28019
|
return l.paint.get("circle-pitch-alignment") === "map" && e.push("PITCH_WITH_MAP"), l.paint.get("circle-pitch-scale") === "map" && e.push("SCALE_WITH_MAP"), e;
|
|
28020
28020
|
};
|
|
28021
|
-
function
|
|
28021
|
+
function OS(l, e, o, c, p, h, m, b, C) {
|
|
28022
28022
|
if (h && l.queryGeometry.isAboveHorizon)
|
|
28023
28023
|
return !1;
|
|
28024
28024
|
h && (C *= l.pixelToTileUnitsFactor);
|
|
@@ -28044,15 +28044,15 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28044
28044
|
const p = xe.vec4.transformMat4([], [l, e, o, 1], c);
|
|
28045
28045
|
return new gt(p[0] / p[3], p[1] / p[3]);
|
|
28046
28046
|
}
|
|
28047
|
-
const
|
|
28047
|
+
const zS = xe.vec3.fromValues(0, 0, 0), Lk = xe.vec3.fromValues(0, 0, 1);
|
|
28048
28048
|
function Pk(l, e) {
|
|
28049
28049
|
const o = xe.vec3.create();
|
|
28050
|
-
return
|
|
28050
|
+
return zS[2] = e, l.intersectsPlane(zS, Lk, o), new gt(o[0], o[1]);
|
|
28051
28051
|
}
|
|
28052
|
-
class
|
|
28052
|
+
class NS extends mn {
|
|
28053
28053
|
}
|
|
28054
|
-
let
|
|
28055
|
-
function
|
|
28054
|
+
let BS, FS, US, VS;
|
|
28055
|
+
function jS(l, { width: e, height: o }, c, p) {
|
|
28056
28056
|
if (p) {
|
|
28057
28057
|
if (p instanceof Uint8ClampedArray)
|
|
28058
28058
|
p = new Uint8Array(p.buffer);
|
|
@@ -28062,7 +28062,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28062
28062
|
p = new Uint8Array(e * o * c);
|
|
28063
28063
|
return l.width = e, l.height = o, l.data = p, l;
|
|
28064
28064
|
}
|
|
28065
|
-
function $
|
|
28065
|
+
function $S(l, e, o) {
|
|
28066
28066
|
const { width: c, height: p } = e;
|
|
28067
28067
|
c === l.width && p === l.height || (V1(l, e, { x: 0, y: 0 }, { x: 0, y: 0 }, { width: Math.min(l.width, c), height: Math.min(l.height, p) }, o, null), l.width = c, l.height = p, l.data = e.data);
|
|
28068
28068
|
}
|
|
@@ -28092,13 +28092,13 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28092
28092
|
}
|
|
28093
28093
|
return e;
|
|
28094
28094
|
}
|
|
28095
|
-
rn(
|
|
28095
|
+
rn(NS, "HeatmapBucket", { omit: ["layers"] });
|
|
28096
28096
|
class Yl {
|
|
28097
28097
|
constructor(e, o) {
|
|
28098
|
-
|
|
28098
|
+
jS(this, e, 1, o);
|
|
28099
28099
|
}
|
|
28100
28100
|
resize(e) {
|
|
28101
|
-
$
|
|
28101
|
+
$S(this, new Yl(e), 1);
|
|
28102
28102
|
}
|
|
28103
28103
|
clone() {
|
|
28104
28104
|
return new Yl({ width: this.width, height: this.height }, new Uint8Array(this.data));
|
|
@@ -28109,10 +28109,10 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28109
28109
|
}
|
|
28110
28110
|
class fo {
|
|
28111
28111
|
constructor(e, o) {
|
|
28112
|
-
|
|
28112
|
+
jS(this, e, 4, o);
|
|
28113
28113
|
}
|
|
28114
28114
|
resize(e) {
|
|
28115
|
-
$
|
|
28115
|
+
$S(this, new fo(e), 4);
|
|
28116
28116
|
}
|
|
28117
28117
|
replace(e, o) {
|
|
28118
28118
|
o ? this.data.set(e) : this.data = e instanceof Uint8ClampedArray ? new Uint8Array(e.buffer) : e;
|
|
@@ -28124,7 +28124,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28124
28124
|
V1(e, o, c, p, h, 4, m, b);
|
|
28125
28125
|
}
|
|
28126
28126
|
}
|
|
28127
|
-
class
|
|
28127
|
+
class GS {
|
|
28128
28128
|
constructor(e, o) {
|
|
28129
28129
|
this.width = e.width, this.height = e.height, this.data = o instanceof Uint8Array ? new Float32Array(o.buffer) : o;
|
|
28130
28130
|
}
|
|
@@ -28150,7 +28150,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28150
28150
|
const kk = fr([{ name: "a_pos", components: 2, type: "Int16" }], 4), { members: Dk } = kk;
|
|
28151
28151
|
function fp(l, e, o = 2) {
|
|
28152
28152
|
const c = e && e.length, p = c ? e[0] * o : l.length;
|
|
28153
|
-
let h =
|
|
28153
|
+
let h = HS(l, 0, p, o, !0);
|
|
28154
28154
|
const m = [];
|
|
28155
28155
|
if (!h || h.next === h.prev)
|
|
28156
28156
|
return m;
|
|
@@ -28158,7 +28158,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28158
28158
|
if (c && (h = function(v, S, M, E) {
|
|
28159
28159
|
const I = [];
|
|
28160
28160
|
for (let P = 0, D = S.length; P < D; P++) {
|
|
28161
|
-
const B =
|
|
28161
|
+
const B = HS(v, S[P] * E, P < D - 1 ? S[P + 1] * E : v.length, E, !1);
|
|
28162
28162
|
B === B.next && (B.steiner = !0), I.push(jk(B));
|
|
28163
28163
|
}
|
|
28164
28164
|
I.sort(Fk);
|
|
@@ -28176,7 +28176,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28176
28176
|
}
|
|
28177
28177
|
return pp(h, m, o, b, C, A, 0), m;
|
|
28178
28178
|
}
|
|
28179
|
-
function
|
|
28179
|
+
function HS(l, e, o, c, p) {
|
|
28180
28180
|
let h;
|
|
28181
28181
|
if (p === function(m, b, C, A) {
|
|
28182
28182
|
let v = 0;
|
|
@@ -28185,10 +28185,10 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28185
28185
|
return v;
|
|
28186
28186
|
}(l, e, o, c) > 0)
|
|
28187
28187
|
for (let m = e; m < o; m += c)
|
|
28188
|
-
h =
|
|
28188
|
+
h = ZS(m / c | 0, l[m], l[m + 1], h);
|
|
28189
28189
|
else
|
|
28190
28190
|
for (let m = o - c; m >= e; m -= c)
|
|
28191
|
-
h =
|
|
28191
|
+
h = ZS(m / c | 0, l[m], l[m + 1], h);
|
|
28192
28192
|
return h && Jg(h, h.next) && (gp(h), h = h.next), h;
|
|
28193
28193
|
}
|
|
28194
28194
|
function su(l, e) {
|
|
@@ -28286,7 +28286,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28286
28286
|
let o = l;
|
|
28287
28287
|
do {
|
|
28288
28288
|
const c = o.prev, p = o.next.next;
|
|
28289
|
-
!Jg(c, p) &&
|
|
28289
|
+
!Jg(c, p) && qS(c, o, o.next, p) && mp(c, p) && mp(p, c) && (e.push(c.i, o.i, p.i), gp(o), gp(o.next), o = l = p), o = o.next;
|
|
28290
28290
|
} while (o !== l);
|
|
28291
28291
|
return su(o);
|
|
28292
28292
|
}
|
|
@@ -28296,7 +28296,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28296
28296
|
let b = m.next.next;
|
|
28297
28297
|
for (; b !== m.prev; ) {
|
|
28298
28298
|
if (m.i !== b.i && $k(m, b)) {
|
|
28299
|
-
let C =
|
|
28299
|
+
let C = WS(m, b);
|
|
28300
28300
|
return m = su(m, m.next), C = su(C, C.next), pp(m, e, o, c, p, h, 0), void pp(C, e, o, c, p, h, 0);
|
|
28301
28301
|
}
|
|
28302
28302
|
b = b.next;
|
|
@@ -28336,7 +28336,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28336
28336
|
}(l, e);
|
|
28337
28337
|
if (!o)
|
|
28338
28338
|
return e;
|
|
28339
|
-
const c =
|
|
28339
|
+
const c = WS(o, l);
|
|
28340
28340
|
return su(c, c.next), su(o, o.next);
|
|
28341
28341
|
}
|
|
28342
28342
|
function Vk(l, e) {
|
|
@@ -28359,7 +28359,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28359
28359
|
return l.next.i !== e.i && l.prev.i !== e.i && !function(o, c) {
|
|
28360
28360
|
let p = o;
|
|
28361
28361
|
do {
|
|
28362
|
-
if (p.i !== o.i && p.next.i !== o.i && p.i !== c.i && p.next.i !== c.i &&
|
|
28362
|
+
if (p.i !== o.i && p.next.i !== o.i && p.i !== c.i && p.next.i !== c.i && qS(p, p.next, o, c))
|
|
28363
28363
|
return !0;
|
|
28364
28364
|
p = p.next;
|
|
28365
28365
|
} while (p !== o);
|
|
@@ -28379,7 +28379,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28379
28379
|
function Jg(l, e) {
|
|
28380
28380
|
return l.x === e.x && l.y === e.y;
|
|
28381
28381
|
}
|
|
28382
|
-
function
|
|
28382
|
+
function qS(l, e, o, c) {
|
|
28383
28383
|
const p = e_(Pi(l, e, o)), h = e_(Pi(l, e, c)), m = e_(Pi(o, c, l)), b = e_(Pi(o, c, e));
|
|
28384
28384
|
return p !== h && m !== b || !(p !== 0 || !Qg(l, o, e)) || !(h !== 0 || !Qg(l, c, e)) || !(m !== 0 || !Qg(o, l, c)) || !(b !== 0 || !Qg(o, e, c));
|
|
28385
28385
|
}
|
|
@@ -28392,11 +28392,11 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28392
28392
|
function mp(l, e) {
|
|
28393
28393
|
return Pi(l.prev, l, l.next) < 0 ? Pi(l, e, l.next) >= 0 && Pi(l, l.prev, e) >= 0 : Pi(l, e, l.prev) < 0 || Pi(l, l.next, e) < 0;
|
|
28394
28394
|
}
|
|
28395
|
-
function
|
|
28395
|
+
function WS(l, e) {
|
|
28396
28396
|
const o = $1(l.i, l.x, l.y), c = $1(e.i, e.x, e.y), p = l.next, h = e.prev;
|
|
28397
28397
|
return l.next = e, e.prev = l, o.next = p, p.prev = o, c.next = o, o.prev = c, h.next = c, c.prev = h, c;
|
|
28398
28398
|
}
|
|
28399
|
-
function
|
|
28399
|
+
function ZS(l, e, o, c) {
|
|
28400
28400
|
const p = $1(l, e, o);
|
|
28401
28401
|
return c ? (p.next = c.next, p.prev = c, c.next.prev = p, c.next = p) : (p.prev = p, p.next = p), p;
|
|
28402
28402
|
}
|
|
@@ -28517,7 +28517,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28517
28517
|
this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length, e, c, h, m, p, b);
|
|
28518
28518
|
}
|
|
28519
28519
|
}
|
|
28520
|
-
let
|
|
28520
|
+
let YS, XS, KS, JS;
|
|
28521
28521
|
rn(q1, "FillBucket", { omit: ["layers", "patternFeatures"] });
|
|
28522
28522
|
class W1 {
|
|
28523
28523
|
constructor(e, o, c, p) {
|
|
@@ -28596,7 +28596,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28596
28596
|
return Math.max(0, Math.min(o - 1, Math.floor(l * e)));
|
|
28597
28597
|
}
|
|
28598
28598
|
rn(W1, "TriangleGridIndex");
|
|
28599
|
-
class
|
|
28599
|
+
class QS {
|
|
28600
28600
|
constructor(e) {
|
|
28601
28601
|
this.zoom = e.zoom, this.layers = e.layers, this.layerIds = this.layers.map((o) => o.fqid), this.index = e.index, this.hasPattern = !1, this.stateDependentLayerIds = this.layers.filter((o) => o.isStateDependent()).map((o) => o.id), this.footprints = [];
|
|
28602
28602
|
}
|
|
@@ -28644,13 +28644,13 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28644
28644
|
}
|
|
28645
28645
|
}
|
|
28646
28646
|
}
|
|
28647
|
-
rn(
|
|
28647
|
+
rn(QS, "ClipBucket", { omit: ["layers"] });
|
|
28648
28648
|
const Hk = fr([{ name: "a_pos_normal_ed", components: 4, type: "Int16" }]), qk = fr([{ name: "a_pos_end", components: 4, type: "Int16" }, { name: "a_angular_offset_factor", components: 1, type: "Int16" }]), Wk = fr([{ name: "a_centroid_pos", components: 2, type: "Uint16" }]), Zk = fr([{ name: "a_join_normal_inside", components: 3, type: "Int16" }]), Yk = fr([{ name: "a_hidden_by_landmark", components: 1, type: "Uint8" }]), Xk = fr([{ name: "a_pos_3", components: 3, type: "Int16" }, { name: "a_pos_normal_3", components: 3, type: "Int16" }]), { members: Kk } = Hk;
|
|
28649
|
-
var Z1,
|
|
28650
|
-
function
|
|
28651
|
-
if (
|
|
28649
|
+
var Z1, e2, Y1, t2, X1, n2, r2, n_ = {};
|
|
28650
|
+
function i2() {
|
|
28651
|
+
if (e2)
|
|
28652
28652
|
return Z1;
|
|
28653
|
-
|
|
28653
|
+
e2 = 1;
|
|
28654
28654
|
var l = wn();
|
|
28655
28655
|
function e(p, h, m, b, C) {
|
|
28656
28656
|
this.properties = {}, this.extent = m, this.type = 0, this._pbf = p, this._geometry = -1, this._keys = b, this._values = C, p.readFields(o, this, h);
|
|
@@ -28737,11 +28737,11 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28737
28737
|
return "id" in this && (D.id = this.id), D;
|
|
28738
28738
|
}, Z1;
|
|
28739
28739
|
}
|
|
28740
|
-
function
|
|
28741
|
-
if (
|
|
28740
|
+
function o2() {
|
|
28741
|
+
if (t2)
|
|
28742
28742
|
return Y1;
|
|
28743
|
-
|
|
28744
|
-
var l =
|
|
28743
|
+
t2 = 1;
|
|
28744
|
+
var l = i2();
|
|
28745
28745
|
function e(c, p) {
|
|
28746
28746
|
this.version = 1, this.name = null, this.extent = 4096, this.length = 0, this._pbf = c, this._keys = [], this._values = [], this._features = [], c.readFields(o, this, p), this.length = this._features.length;
|
|
28747
28747
|
}
|
|
@@ -28762,12 +28762,12 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28762
28762
|
return new l(this._pbf, p, this.extent, this._keys, this._values);
|
|
28763
28763
|
}, Y1;
|
|
28764
28764
|
}
|
|
28765
|
-
function
|
|
28766
|
-
return
|
|
28767
|
-
if (
|
|
28765
|
+
function s2() {
|
|
28766
|
+
return r2 || (r2 = 1, n_.VectorTile = function() {
|
|
28767
|
+
if (n2)
|
|
28768
28768
|
return X1;
|
|
28769
|
-
|
|
28770
|
-
var l =
|
|
28769
|
+
n2 = 1;
|
|
28770
|
+
var l = o2();
|
|
28771
28771
|
function e(o, c, p) {
|
|
28772
28772
|
if (o === 3) {
|
|
28773
28773
|
var h = new l(p, p.readVarint() + p.pos);
|
|
@@ -28777,15 +28777,15 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28777
28777
|
return X1 = function(o, c) {
|
|
28778
28778
|
this.layers = o.readFields(e, {}, c);
|
|
28779
28779
|
}, X1;
|
|
28780
|
-
}(), n_.VectorTileFeature =
|
|
28780
|
+
}(), n_.VectorTileFeature = i2(), n_.VectorTileLayer = o2()), n_;
|
|
28781
28781
|
}
|
|
28782
|
-
var Fh =
|
|
28782
|
+
var Fh = s2();
|
|
28783
28783
|
class au extends gt {
|
|
28784
28784
|
constructor(e, o, c) {
|
|
28785
28785
|
super(e, o), this.z = c;
|
|
28786
28786
|
}
|
|
28787
28787
|
}
|
|
28788
|
-
class
|
|
28788
|
+
class a2 extends au {
|
|
28789
28789
|
constructor(e, o, c, p) {
|
|
28790
28790
|
super(e, o, c), this.w = p;
|
|
28791
28791
|
}
|
|
@@ -28814,19 +28814,19 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28814
28814
|
}
|
|
28815
28815
|
return p;
|
|
28816
28816
|
}
|
|
28817
|
-
function
|
|
28817
|
+
function l2(l, e, o, c) {
|
|
28818
28818
|
const p = o === "x" ? "y" : "x", h = (c - l[o]) / (e[o] - l[o]);
|
|
28819
28819
|
l[p] = l[p] + (e[p] - l[p]) * h, l[o] = c, l.hasOwnProperty("z") && (l.z = Cn(l.z, e.z, h)), l.hasOwnProperty("w") && (l.w = Cn(l.w, e.w, h));
|
|
28820
28820
|
}
|
|
28821
|
-
function
|
|
28821
|
+
function c2(l, e, o, c) {
|
|
28822
28822
|
const p = o, h = c;
|
|
28823
28823
|
for (const m of ["x", "y"]) {
|
|
28824
28824
|
let b = l, C = e;
|
|
28825
|
-
b[m] >= C[m] && (b = e, C = l), b[m] < p && C[m] > p &&
|
|
28825
|
+
b[m] >= C[m] && (b = e, C = l), b[m] < p && C[m] > p && l2(b, C, m, p), b[m] < h && C[m] > h && l2(C, b, m, h);
|
|
28826
28826
|
}
|
|
28827
28827
|
}
|
|
28828
28828
|
const i_ = Number.MAX_SAFE_INTEGER;
|
|
28829
|
-
function
|
|
28829
|
+
function u2(l, e, o, c) {
|
|
28830
28830
|
return l.order < e || l.order === i_ || !(l.clipMask & o) || function(p, h) {
|
|
28831
28831
|
return h.length !== 0 && h.find((m) => m === p) === void 0;
|
|
28832
28832
|
}(c, l.clipScope);
|
|
@@ -28834,7 +28834,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28834
28834
|
function o_(l, e) {
|
|
28835
28835
|
return l.x - e.x || l.y - e.y;
|
|
28836
28836
|
}
|
|
28837
|
-
function
|
|
28837
|
+
function h2(l, e) {
|
|
28838
28838
|
return o_(l.min, e.min) === 0 && o_(l.max, e.max) === 0;
|
|
28839
28839
|
}
|
|
28840
28840
|
function K1(l, e) {
|
|
@@ -28844,11 +28844,11 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28844
28844
|
if (l.length !== e.length)
|
|
28845
28845
|
return !1;
|
|
28846
28846
|
for (let o = 0; o < l.length; o++)
|
|
28847
|
-
if (l[o].sourceId !== e[o].sourceId || !
|
|
28847
|
+
if (l[o].sourceId !== e[o].sourceId || !h2(l[o], e[o]) || l[o].order !== e[o].order || l[o].clipMask !== e[o].clipMask || !dr(l[o].clipScope, e[o].clipScope))
|
|
28848
28848
|
return !1;
|
|
28849
28849
|
return !0;
|
|
28850
28850
|
}
|
|
28851
|
-
function
|
|
28851
|
+
function d2(l, e, o) {
|
|
28852
28852
|
const c = 1 / jt, p = 1 / (1 << o.canonical.z), h = (e.x * c + o.canonical.x) * p + o.wrap, m = (e.y * c + o.canonical.y) * p;
|
|
28853
28853
|
return { min: new gt((l.x * c + o.canonical.x) * p + o.wrap, (l.y * c + o.canonical.y) * p), max: new gt(h, m) };
|
|
28854
28854
|
}
|
|
@@ -28856,7 +28856,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28856
28856
|
const c = 1 << o.canonical.z, p = ((e.x - o.wrap) * c - o.canonical.x) * jt, h = (e.y * c - o.canonical.y) * jt;
|
|
28857
28857
|
return { min: new gt(((l.x - o.wrap) * c - o.canonical.x) * jt, (l.y * c - o.canonical.y) * jt), max: new gt(p, h) };
|
|
28858
28858
|
}
|
|
28859
|
-
function
|
|
28859
|
+
function f2(l, e, o, c, p, h, m) {
|
|
28860
28860
|
const b = l.indices, C = l.vertices, A = [];
|
|
28861
28861
|
for (let v = c; v < c + p; v += 3) {
|
|
28862
28862
|
const S = e[o[v + 0] + h], M = e[o[v + 1] + h], E = e[o[v + 2] + h], I = Math.min(S.x, M.x, E.x), P = Math.max(S.x, M.x, E.x), D = Math.min(S.y, M.y, E.y), B = Math.max(S.y, M.y, E.y);
|
|
@@ -28869,23 +28869,23 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28869
28869
|
}
|
|
28870
28870
|
return !1;
|
|
28871
28871
|
}
|
|
28872
|
-
function
|
|
28872
|
+
function p2(l, e, o, c) {
|
|
28873
28873
|
if (!l || !o)
|
|
28874
28874
|
return !1;
|
|
28875
28875
|
let p = l.vertices;
|
|
28876
28876
|
if (!e.canonical.equals(c.canonical) || e.wrap !== c.wrap) {
|
|
28877
28877
|
if (o.vertices.length < l.vertices.length)
|
|
28878
|
-
return
|
|
28878
|
+
return p2(o, c, l, e);
|
|
28879
28879
|
const h = e.canonical, m = c.canonical, b = Math.pow(2, m.z - h.z);
|
|
28880
28880
|
p = l.vertices.map((C) => new gt((C.x + h.x * jt) * b - m.x * jt, (C.y + h.y * jt) * b - m.y * jt));
|
|
28881
28881
|
}
|
|
28882
|
-
return
|
|
28882
|
+
return f2(o, p, l.indices, 0, l.indices.length, 0, 0);
|
|
28883
28883
|
}
|
|
28884
|
-
function
|
|
28884
|
+
function m2(l, e, o, c) {
|
|
28885
28885
|
const p = Math.pow(2, c.z - o.z);
|
|
28886
28886
|
return new gt((l + o.x * jt) * p - c.x * jt, (e + o.y * jt) * p - c.y * jt);
|
|
28887
28887
|
}
|
|
28888
|
-
function
|
|
28888
|
+
function g2(l, e) {
|
|
28889
28889
|
const o = [];
|
|
28890
28890
|
e.grid.queryPoint(l, o);
|
|
28891
28891
|
const c = e.indices, p = e.vertices;
|
|
@@ -28897,7 +28897,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28897
28897
|
return !1;
|
|
28898
28898
|
}
|
|
28899
28899
|
const Q1 = [new gt(0, 0), new gt(jt, 0), new gt(jt, jt), new gt(0, jt)];
|
|
28900
|
-
function
|
|
28900
|
+
function _2(l, e) {
|
|
28901
28901
|
const o = [];
|
|
28902
28902
|
let c = [];
|
|
28903
28903
|
if (!e || l.length < 2)
|
|
@@ -28910,7 +28910,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28910
28910
|
}
|
|
28911
28911
|
return c.length > 1 && o.push(c), o;
|
|
28912
28912
|
}
|
|
28913
|
-
const ev = Fh.VectorTileFeature.types, Qk = ["fill-extrusion-base", "fill-extrusion-height", "fill-extrusion-color", "fill-extrusion-pattern", "fill-extrusion-flood-light-wall-radius", "fill-extrusion-line-width", "fill-extrusion-emissive-strength"], e4 = ["fill-extrusion-flood-light-ground-radius"], t4 = Math.pow(2, 13), n4 = Math.pow(2, 15) - 1,
|
|
28913
|
+
const ev = Fh.VectorTileFeature.types, Qk = ["fill-extrusion-base", "fill-extrusion-height", "fill-extrusion-color", "fill-extrusion-pattern", "fill-extrusion-flood-light-wall-radius", "fill-extrusion-line-width", "fill-extrusion-emissive-strength"], e4 = ["fill-extrusion-flood-light-ground-radius"], t4 = Math.pow(2, 13), n4 = Math.pow(2, 15) - 1, y2 = new gt(0, 1), Xl = 2147483648;
|
|
28914
28914
|
function _p(l, e, o, c, p, h, m, b) {
|
|
28915
28915
|
l.emplaceBack((e << 1) + m, (o << 1) + h, (Math.floor(c * t4) << 1) + p, Math.round(b));
|
|
28916
28916
|
}
|
|
@@ -28923,12 +28923,12 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28923
28923
|
function vp(l, e, o) {
|
|
28924
28924
|
l.emplaceBack(e.x, e.y, e.z, o[0] * 16384, o[1] * 16384, o[2] * 16384);
|
|
28925
28925
|
}
|
|
28926
|
-
class
|
|
28926
|
+
class v2 {
|
|
28927
28927
|
constructor() {
|
|
28928
28928
|
this.vertexOffset = 0, this.vertexCount = 0, this.indexOffset = 0, this.indexCount = 0;
|
|
28929
28929
|
}
|
|
28930
28930
|
}
|
|
28931
|
-
class
|
|
28931
|
+
class x2 {
|
|
28932
28932
|
constructor() {
|
|
28933
28933
|
this.centroidXY = new gt(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 gt(Number.MAX_VALUE, Number.MAX_VALUE), this.max = new gt(-Number.MAX_VALUE, -Number.MAX_VALUE), this.height = 0;
|
|
28934
28934
|
}
|
|
@@ -28936,7 +28936,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28936
28936
|
return new gt(this.max.x - this.min.x, this.max.y - this.min.y);
|
|
28937
28937
|
}
|
|
28938
28938
|
}
|
|
28939
|
-
class
|
|
28939
|
+
class b2 {
|
|
28940
28940
|
constructor() {
|
|
28941
28941
|
this.acc = new gt(0, 0), this.accCount = 0, this.centroidDataIndex = 0;
|
|
28942
28942
|
}
|
|
@@ -28974,7 +28974,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28974
28974
|
return this.borders ? this.borders.reduce((e, o) => e + +(o[0] !== Number.MAX_VALUE), 0) : 0;
|
|
28975
28975
|
}
|
|
28976
28976
|
}
|
|
28977
|
-
function
|
|
28977
|
+
function w2(l, e) {
|
|
28978
28978
|
const o = l.add(e)._unit(), c = Et(l.x * o.x + l.y * o.y, -1, 1);
|
|
28979
28979
|
var p, h, m;
|
|
28980
28980
|
return m = Math.acos(c), Math.min(4, Math.max(-4, Math.tan(m))) / 4 * n4 * ((p = l).x * (h = e).y - p.y * h.x < 0 ? -1 : 1);
|
|
@@ -28994,7 +28994,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
28994
28994
|
}
|
|
28995
28995
|
return p;
|
|
28996
28996
|
}
|
|
28997
|
-
class
|
|
28997
|
+
class S2 {
|
|
28998
28998
|
constructor(e) {
|
|
28999
28999
|
this.vertexArray = new Mh(), this.indexArray = new $i(), this.programConfigurations = new pa(e.layers, { zoom: e.zoom, lut: e.lut }, (o) => e4.includes(o)), this._segments = new si(), this.hiddenByLandmarkVertexArray = new Ph(), this._segmentToGroundQuads = {}, this._segmentToGroundQuads[0] = [], this._segmentToRegionTriCounts = {}, this._segmentToRegionTriCounts[0] = [0, 0, 0, 0, 0], this.regionSegments = {}, this.regionSegments[4] = new si();
|
|
29000
29000
|
}
|
|
@@ -29013,11 +29013,11 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29013
29013
|
m !== this._segments.get().length - 1 && (m++, this._segmentToGroundQuads[m] = [], this._segmentToRegionTriCounts[m] = [0, 0, 0, 0, 0]);
|
|
29014
29014
|
{
|
|
29015
29015
|
const A = e[0], v = e[1];
|
|
29016
|
-
C =
|
|
29016
|
+
C = w2(A.sub(e[h - 1])._perp()._unit(), v.sub(A)._perp()._unit());
|
|
29017
29017
|
}
|
|
29018
29018
|
for (let A = 0; A < h; A++) {
|
|
29019
|
-
const v = A === h - 1 ? 0 : A + 1, S = e[A], M = e[v], E = e[v === h - 1 ? 0 : v + 1], I = M.sub(S)._perp()._unit(), P =
|
|
29020
|
-
if (tv(S, M, o) || p &&
|
|
29019
|
+
const v = A === h - 1 ? 0 : A + 1, S = e[A], M = e[v], E = e[v === h - 1 ? 0 : v + 1], I = M.sub(S)._perp()._unit(), P = w2(I, E.sub(M)._perp()._unit()), D = C, B = P;
|
|
29020
|
+
if (tv(S, M, o) || p && C2(S, o) && C2(M, o)) {
|
|
29021
29021
|
C = P;
|
|
29022
29022
|
continue;
|
|
29023
29023
|
}
|
|
@@ -29095,7 +29095,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29095
29095
|
}
|
|
29096
29096
|
class a_ {
|
|
29097
29097
|
constructor(e) {
|
|
29098
|
-
this.zoom = e.zoom, this.canonical = e.canonical, this.overscaling = e.overscaling, this.layers = e.layers, this.layerIds = this.layers.map((o) => o.fqid), this.index = e.index, this.hasPattern = !1, this.edgeRadius = 0, this.projection = e.projection, this.activeReplacements = [], this.replacementUpdateTime = 0, this.centroidData = [], this.footprintIndices = new $i(), this.footprintVertices = new ua(), this.footprintSegments = [], this.layoutVertexArray = new ha(), this.centroidVertexArray = new jg(), this.wallVertexArray = new sp(), this.indexArray = new $i(), this.programConfigurations = new pa(e.layers, { zoom: e.zoom, lut: e.lut }, (o) => Qk.includes(o)), this.segments = new si(), this.stateDependentLayerIds = this.layers.filter((o) => o.isStateDependent()).map((o) => o.id), this.groundEffect = new
|
|
29098
|
+
this.zoom = e.zoom, this.canonical = e.canonical, this.overscaling = e.overscaling, this.layers = e.layers, this.layerIds = this.layers.map((o) => o.fqid), this.index = e.index, this.hasPattern = !1, this.edgeRadius = 0, this.projection = e.projection, this.activeReplacements = [], this.replacementUpdateTime = 0, this.centroidData = [], this.footprintIndices = new $i(), this.footprintVertices = new ua(), this.footprintSegments = [], this.layoutVertexArray = new ha(), this.centroidVertexArray = new jg(), this.wallVertexArray = new sp(), this.indexArray = new $i(), this.programConfigurations = new pa(e.layers, { zoom: e.zoom, lut: e.lut }, (o) => Qk.includes(o)), this.segments = new si(), this.stateDependentLayerIds = this.layers.filter((o) => o.isStateDependent()).map((o) => o.id), this.groundEffect = new S2(e), this.maxHeight = 0, this.partLookup = {}, this.triangleSubSegments = [], this.polygonSegments = [];
|
|
29099
29099
|
}
|
|
29100
29100
|
updateFootprints(e, o) {
|
|
29101
29101
|
}
|
|
@@ -29110,7 +29110,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29110
29110
|
this.features.push(H1("fill-extrusion", this.layers, S, this.zoom, o));
|
|
29111
29111
|
else if (this.wallMode)
|
|
29112
29112
|
for (const I of S.geometry)
|
|
29113
|
-
for (const P of
|
|
29113
|
+
for (const P of _2(I, E))
|
|
29114
29114
|
this.addFeature(S, [P], b, c, {}, o.availableImages, p, o.brightness);
|
|
29115
29115
|
else
|
|
29116
29116
|
this.addFeature(S, S.geometry, b, c, {}, o.availableImages, p, o.brightness);
|
|
@@ -29123,7 +29123,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29123
29123
|
const C = ev[b.type] === "Polygon", { geometry: A } = b;
|
|
29124
29124
|
if (this.wallMode)
|
|
29125
29125
|
for (const v of A)
|
|
29126
|
-
for (const S of
|
|
29126
|
+
for (const S of _2(v, C))
|
|
29127
29127
|
this.addFeature(b, [S], b.index, o, c, p, h, m);
|
|
29128
29128
|
else
|
|
29129
29129
|
this.addFeature(b, A, b.index, o, c, p, h, m);
|
|
@@ -29153,9 +29153,9 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29153
29153
|
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());
|
|
29154
29154
|
}
|
|
29155
29155
|
addFeature(e, o, c, p, h, m, b, C) {
|
|
29156
|
-
const A = this.layers[0].paint.get("fill-extrusion-flood-light-ground-radius").evaluate(e, {}) / this.tileToMeter, v = [new gt(0, 0), new gt(jt, jt)], S = b.projection, M = S.name === "globe", E = this.wallMode || ev[e.type] === "Polygon", I = new
|
|
29156
|
+
const A = this.layers[0].paint.get("fill-extrusion-flood-light-ground-radius").evaluate(e, {}) / this.tileToMeter, v = [new gt(0, 0), new gt(jt, jt)], S = b.projection, M = S.name === "globe", E = this.wallMode || ev[e.type] === "Polygon", I = new b2();
|
|
29157
29157
|
I.centroidDataIndex = this.centroidData.length;
|
|
29158
|
-
const P = new
|
|
29158
|
+
const P = new x2(), D = this.layers[0].paint.get("fill-extrusion-base").evaluate(e, {}, p) <= 0, B = this.layers[0].paint.get("fill-extrusion-height").evaluate(e, {}, p);
|
|
29159
29159
|
let $;
|
|
29160
29160
|
if (P.height = B, P.vertexArrayOffset = this.layoutVertexArray.length, P.groundVertexArrayOffset = this.groundEffect.vertexArray.length, M && !this.layoutVertexExtArray && (this.layoutVertexExtArray = new Ah()), this.wallMode) {
|
|
29161
29161
|
if (M)
|
|
@@ -29222,7 +29222,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29222
29222
|
var W;
|
|
29223
29223
|
let Y;
|
|
29224
29224
|
if (M)
|
|
29225
|
-
Y =
|
|
29225
|
+
Y = R2(F, v, p);
|
|
29226
29226
|
else {
|
|
29227
29227
|
Y = [];
|
|
29228
29228
|
for (const ae of F)
|
|
@@ -29240,7 +29240,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29240
29240
|
E && !He[0].equals(He[He.length - 1]) && He.push(He[0]), Ie += E ? He.length - 1 : He.length;
|
|
29241
29241
|
const Be = this.segments.prepareSegment((E ? 5 : 4) * Ie, this.layoutVertexArray, this.indexArray);
|
|
29242
29242
|
P.footprintSegIdx < 0 && (P.footprintSegIdx = this.footprintSegments.length), P.polygonSegIdx < 0 && (P.polygonSegIdx = this.polygonSegments.length);
|
|
29243
|
-
const Ue = { triangleArrayOffset: this.indexArray.length, triangleCount: 0, triangleSegIdx: this.segments.segments.length - 1 }, Ve = new
|
|
29243
|
+
const Ue = { triangleArrayOffset: this.indexArray.length, triangleCount: 0, triangleSegIdx: this.segments.segments.length - 1 }, Ve = new v2();
|
|
29244
29244
|
if (Ve.vertexOffset = this.footprintVertices.length, Ve.indexOffset = 3 * this.footprintIndices.length, Ve.ringIndices = [], E) {
|
|
29245
29245
|
const He = [], nt = [];
|
|
29246
29246
|
_e = Be.vertexLength;
|
|
@@ -29273,7 +29273,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29273
29273
|
for (let He = 0; He < ae.length; He++) {
|
|
29274
29274
|
const nt = ae[He];
|
|
29275
29275
|
I.startRing(P, nt[0]);
|
|
29276
|
-
let We = nt.length > 4 &&
|
|
29276
|
+
let We = nt.length > 4 && I2(nt[nt.length - 2], nt[0], nt[1]), ct = re ? o4(nt[nt.length - 2], nt[0], nt[1], re) : 0;
|
|
29277
29277
|
const xt = [];
|
|
29278
29278
|
let ot, Zt, Nt;
|
|
29279
29279
|
Zt = nt[1].sub(nt[0])._perp()._unit();
|
|
@@ -29288,18 +29288,18 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29288
29288
|
const Hn = tn.sub(qt)._perp(), Un = Hn.x / (Math.abs(Hn.x) + Math.abs(Hn.y)), Vn = Hn.y > 0 ? 1 : 0, Zn = qt.dist(tn);
|
|
29289
29289
|
if (yn + Zn > 32768 && (yn = 0), re) {
|
|
29290
29290
|
Nt = Ln.sub(tn)._perp()._unit();
|
|
29291
|
-
let Pn =
|
|
29291
|
+
let Pn = E2(qt, tn, Ln, T2(Zt, Nt), re);
|
|
29292
29292
|
isNaN(Pn) && (Pn = 0);
|
|
29293
29293
|
const _r = tn.sub(qt)._unit();
|
|
29294
29294
|
qt = qt.add(_r.mult(ct))._round(), tn = tn.add(_r.mult(-Pn))._round(), ct = Pn, Zt = Nt, D && this.zoom >= 17 && (pe(xt, qt) || xt.push(qt), pe(xt, tn) || xt.push(tn));
|
|
29295
29295
|
}
|
|
29296
|
-
const Xn = Be.vertexLength, kr = nt.length > 4 &&
|
|
29297
|
-
let Sr =
|
|
29296
|
+
const Xn = Be.vertexLength, kr = nt.length > 4 && I2(qt, tn, Ln);
|
|
29297
|
+
let Sr = M2(yn, We, Rt);
|
|
29298
29298
|
if (_p(this.layoutVertexArray, qt.x, qt.y, Un, Vn, 0, 0, Sr), _p(this.layoutVertexArray, qt.x, qt.y, Un, Vn, 0, 1, Sr), this.wallMode) {
|
|
29299
29299
|
const Pn = H(It - 1, nt), _r = $.joinNormals[It - 1];
|
|
29300
29300
|
yp(this.wallVertexArray, _r, Pn), yp(this.wallVertexArray, _r, Pn);
|
|
29301
29301
|
}
|
|
29302
|
-
if (yn += Zn, Sr =
|
|
29302
|
+
if (yn += Zn, Sr = M2(yn, kr, !Rt), We = kr, _p(this.layoutVertexArray, tn.x, tn.y, Un, Vn, 0, 0, Sr), _p(this.layoutVertexArray, tn.x, tn.y, Un, Vn, 0, 1, Sr), this.wallMode) {
|
|
29303
29303
|
const Pn = H(It, nt), _r = $.joinNormals[It];
|
|
29304
29304
|
yp(this.wallVertexArray, _r, Pn), yp(this.wallVertexArray, _r, Pn);
|
|
29305
29305
|
}
|
|
@@ -29321,7 +29321,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29321
29321
|
this.footprintSegments.push(Ve), Ue.triangleCount = this.indexArray.length - Ue.triangleArrayOffset, this.polygonSegments.push(Ue), ++P.footprintSegLen, ++P.polygonSegLen;
|
|
29322
29322
|
}
|
|
29323
29323
|
if (P.vertexCount = this.layoutVertexArray.length - P.vertexArrayOffset, P.groundVertexCount = this.groundEffect.vertexArray.length - P.groundVertexArrayOffset, P.vertexCount !== 0) {
|
|
29324
|
-
if (P.centroidXY = I.borders ?
|
|
29324
|
+
if (P.centroidXY = I.borders ? y2 : this.encodeCentroid(I, P), this.centroidData.push(P), I.borders) {
|
|
29325
29325
|
this.featuresOnBorder.push(I);
|
|
29326
29326
|
const ae = this.featuresOnBorder.length - 1;
|
|
29327
29327
|
for (let Se = 0; Se < I.borders.length; Se++)
|
|
@@ -29429,7 +29429,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29429
29429
|
}
|
|
29430
29430
|
writeCentroidToBuffer(e) {
|
|
29431
29431
|
this.groundEffect.updateHiddenByLandmark(e);
|
|
29432
|
-
const o = e.vertexArrayOffset, c = e.vertexCount + e.vertexArrayOffset, p = e.flags & Xl ?
|
|
29432
|
+
const o = e.vertexArrayOffset, c = e.vertexCount + e.vertexArrayOffset, p = e.flags & Xl ? y2 : e.centroidXY, h = this.centroidVertexArray.geta_centroid_pos0(o);
|
|
29433
29433
|
if (this.centroidVertexArray.geta_centroid_pos1(o) !== p.y || h !== p.x) {
|
|
29434
29434
|
for (let m = o; m < c; ++m)
|
|
29435
29435
|
this.centroidVertexArray.emplace(m, p.x, p.y);
|
|
@@ -29462,7 +29462,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29462
29462
|
if (!(C.flags & Xl || m.min.x > C.max.x || C.min.x > m.max.x || m.min.y > C.max.y || C.min.y > m.max.y))
|
|
29463
29463
|
for (let A = 0; A < C.footprintSegLen; A++) {
|
|
29464
29464
|
const v = this.footprintSegments[C.footprintSegIdx + A];
|
|
29465
|
-
if (h.length = 0, s4(this.footprintVertices, v.vertexOffset, v.vertexCount, m.footprintTileId.canonical, e.canonical, h),
|
|
29465
|
+
if (h.length = 0, s4(this.footprintVertices, v.vertexOffset, v.vertexCount, m.footprintTileId.canonical, e.canonical, h), f2(m.footprint, h, this.footprintIndices.uint16, v.indexOffset, v.indexCount, -v.vertexOffset, -b)) {
|
|
29466
29466
|
C.flags |= Xl;
|
|
29467
29467
|
break;
|
|
29468
29468
|
}
|
|
@@ -29501,39 +29501,39 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29501
29501
|
this.partLookup[h] = void 0;
|
|
29502
29502
|
}
|
|
29503
29503
|
}
|
|
29504
|
-
function
|
|
29504
|
+
function T2(l, e) {
|
|
29505
29505
|
const o = l.add(e)._unit();
|
|
29506
29506
|
return l.x * o.x + l.y * o.y;
|
|
29507
29507
|
}
|
|
29508
29508
|
function o4(l, e, o, c) {
|
|
29509
29509
|
const p = e.sub(l)._perp()._unit(), h = o.sub(e)._perp()._unit();
|
|
29510
|
-
return
|
|
29510
|
+
return E2(l, e, o, T2(p, h), c);
|
|
29511
29511
|
}
|
|
29512
|
-
function
|
|
29512
|
+
function E2(l, e, o, c, p) {
|
|
29513
29513
|
const h = Math.sqrt(1 - c * c);
|
|
29514
29514
|
return Math.min(l.dist(e) / 3, e.dist(o) / 3, p * h / c);
|
|
29515
29515
|
}
|
|
29516
29516
|
function tv(l, e, o) {
|
|
29517
29517
|
return l.x < o[0].x && e.x < o[0].x || l.x > o[1].x && e.x > o[1].x || l.y < o[0].y && e.y < o[0].y || l.y > o[1].y && e.y > o[1].y;
|
|
29518
29518
|
}
|
|
29519
|
-
function
|
|
29519
|
+
function C2(l, e) {
|
|
29520
29520
|
return l.x < e[0].x || l.x > e[1].x || l.y < e[0].y || l.y > e[1].y;
|
|
29521
29521
|
}
|
|
29522
|
-
function
|
|
29522
|
+
function I2(l, e, o) {
|
|
29523
29523
|
if (l.x < 0 || l.x >= jt || e.x < 0 || e.x >= jt || o.x < 0 || o.x >= jt)
|
|
29524
29524
|
return !1;
|
|
29525
29525
|
const c = o.sub(e), p = c.perp(), h = l.sub(e);
|
|
29526
29526
|
return (c.x * h.x + c.y * h.y) / Math.sqrt((c.x * c.x + c.y * c.y) * (h.x * h.x + h.y * h.y)) > -0.866 && p.x * h.x + p.y * h.y < 0;
|
|
29527
29527
|
}
|
|
29528
|
-
function
|
|
29528
|
+
function M2(l, e, o) {
|
|
29529
29529
|
const c = e ? 2 | l : -3 & l;
|
|
29530
29530
|
return o ? 1 | c : -2 & c;
|
|
29531
29531
|
}
|
|
29532
|
-
function
|
|
29532
|
+
function A2() {
|
|
29533
29533
|
const l = Math.PI / 32, e = Math.tan(l), o = V;
|
|
29534
29534
|
return o * Math.sqrt(1 + 2 * e * e) - o;
|
|
29535
29535
|
}
|
|
29536
|
-
function
|
|
29536
|
+
function R2(l, e, o) {
|
|
29537
29537
|
const c = 1 << o.z, p = ve(o.x / c), h = ve((o.x + 1) / c), m = ye(o.y / c), b = ye((o.y + 1) / c);
|
|
29538
29538
|
return function(C, A, v, S, M = 0, E) {
|
|
29539
29539
|
const I = [];
|
|
@@ -29579,11 +29579,11 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29579
29579
|
C = (C + p.x * jt) * m - c.x * jt, A = (A + p.y * jt) * m - c.y * jt, h.push(new gt(C, A));
|
|
29580
29580
|
}
|
|
29581
29581
|
}
|
|
29582
|
-
let
|
|
29582
|
+
let L2, P2;
|
|
29583
29583
|
function xp(l, e) {
|
|
29584
29584
|
return l.x * e.x + l.y * e.y;
|
|
29585
29585
|
}
|
|
29586
|
-
function
|
|
29586
|
+
function k2(l, e) {
|
|
29587
29587
|
if (l.length === 1) {
|
|
29588
29588
|
let o = 0;
|
|
29589
29589
|
const c = e[o++];
|
|
@@ -29605,7 +29605,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29605
29605
|
return o;
|
|
29606
29606
|
}
|
|
29607
29607
|
}
|
|
29608
|
-
function
|
|
29608
|
+
function D2(l, e, o, c, p, h, m, b) {
|
|
29609
29609
|
const C = m * p.getElevationAt(l, e, !0, !0), A = h[0] !== 0, v = A ? h[1] === 0 ? m * (h[0] / 7 - 450) : m * function(S, M, E) {
|
|
29610
29610
|
const I = Math.floor(M[0] / 8), P = Math.floor(M[1] / 8), D = 10 * (M[0] - 8 * I), B = 10 * (M[1] - 8 * P), $ = S.getElevationAt(I, P, !0, !0), H = S.getMeterToDEM(E), F = Math.floor(0.5 * (D * H - 1)), W = Math.floor(0.5 * (B * H - 1)), Y = S.tileCoordToPixel(I, P), re = 2 * F + 1, he = 2 * W + 1, pe = function(Ue, Ve, He, nt, We) {
|
|
29611
29611
|
return [Ue.getElevationAtPixel(Ve, He, !0), Ue.getElevationAtPixel(Ve + We, He, !0), Ue.getElevationAtPixel(Ve, He + We, !0), Ue.getElevationAtPixel(Ve + nt, He + We, !0)];
|
|
@@ -29614,9 +29614,9 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29614
29614
|
}(p, h, b) : C;
|
|
29615
29615
|
return { base: C + (o === 0) ? -1 : o, top: A ? Math.max(v + c, C + o + 2) : C + c };
|
|
29616
29616
|
}
|
|
29617
|
-
rn(a_, "FillExtrusionBucket", { omit: ["layers", "features"] }), rn(
|
|
29617
|
+
rn(a_, "FillExtrusionBucket", { omit: ["layers", "features"] }), rn(x2, "PartData"), rn(v2, "FootprintSegment"), rn(b2, "BorderCentroidData"), rn(S2, "GroundEffect");
|
|
29618
29618
|
const a4 = fr([{ name: "a_pos_normal", components: 2, type: "Int16" }, { name: "a_data", components: 4, type: "Uint8" }, { name: "a_linesofar", components: 1, type: "Float32" }], 4), l4 = fr([{ name: "a_z_offset", components: 1, type: "Float32" }], 4), { members: c4 } = a4, u4 = fr([{ name: "a_packed", components: 4, type: "Float32" }]), { members: h4 } = u4, d4 = fr([{ name: "a_pattern_data", components: 3, type: "Float32" }]), { members: f4 } = d4;
|
|
29619
|
-
class
|
|
29619
|
+
class O2 {
|
|
29620
29620
|
constructor(e, o) {
|
|
29621
29621
|
this.width = e, this.height = o, this.nextRow = 0, this.image = new Yl({ width: e, height: o }), this.positions = {}, this.uploaded = !1;
|
|
29622
29622
|
}
|
|
@@ -29698,7 +29698,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29698
29698
|
return this.positions[c] = A, A;
|
|
29699
29699
|
}
|
|
29700
29700
|
}
|
|
29701
|
-
rn(
|
|
29701
|
+
rn(O2, "LineAtlas");
|
|
29702
29702
|
const p4 = Fh.VectorTileFeature.types, m4 = Math.cos(Math.PI / 180 * 37.5), g4 = Math.cos(Math.PI / 180 * 5);
|
|
29703
29703
|
class nv {
|
|
29704
29704
|
constructor(e) {
|
|
@@ -29919,14 +29919,14 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29919
29919
|
addCurrentVertex(e, o, c, p, h, m, b = !1) {
|
|
29920
29920
|
const C = o.x + o.y * c, A = o.y - o.x * c, v = o.y * p - o.x, S = -o.y - o.x * p;
|
|
29921
29921
|
if (m != null) {
|
|
29922
|
-
const E = jt + 10, I = m, P = new
|
|
29922
|
+
const E = jt + 10, I = m, P = new a2(e.x, e.y, I, this.lineSoFar), D = z2(e, -10, E), B = this.lineSoFar;
|
|
29923
29923
|
if (this.currentVertex)
|
|
29924
29924
|
if (D) {
|
|
29925
|
-
const $ = this.currentVertexIsOutside, H = this.currentVertex, F = new
|
|
29926
|
-
|
|
29925
|
+
const $ = this.currentVertexIsOutside, H = this.currentVertex, F = new a2(e.x, e.y, I, this.lineSoFar);
|
|
29926
|
+
c2(H, F, -10, E), z2(F, -10, E) || ($ && (this.e1 = this.e2 = -1, this.lineSoFar = H.w, this.addHalfVertex(H, C, A, b, !1, c, h, H.z), this.addHalfVertex(H, v, S, b, !0, -p, h, H.z)), this.addVerticesTo(H, F, C, A, v, S, c, p, h, b));
|
|
29927
29927
|
} else {
|
|
29928
29928
|
const $ = this.currentVertex;
|
|
29929
|
-
this.currentVertexIsOutside && (
|
|
29929
|
+
this.currentVertexIsOutside && (c2($, P, -10, E), this.e1 = this.e2 = -1, this.lineSoFar = $.w, this.addHalfVertex($, C, A, b, !1, c, h, $.z), this.addHalfVertex($, v, S, b, !0, -p, h, $.z)), this.addVerticesTo($, P, C, A, v, S, c, p, h, b);
|
|
29930
29930
|
}
|
|
29931
29931
|
else
|
|
29932
29932
|
D || (this.addHalfVertex(e, C, A, b, !1, c, h, m), this.addHalfVertex(e, v, S, b, !0, -p, h, m));
|
|
@@ -29950,34 +29950,34 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29950
29950
|
this.distance += e.dist(o), this.updateScaledDistance();
|
|
29951
29951
|
}
|
|
29952
29952
|
}
|
|
29953
|
-
function
|
|
29953
|
+
function z2(l, e, o) {
|
|
29954
29954
|
return l.x < e || l.x > o || l.y < e || l.y > o;
|
|
29955
29955
|
}
|
|
29956
|
-
let
|
|
29957
|
-
function
|
|
29956
|
+
let N2, B2;
|
|
29957
|
+
function F2(l, e, o) {
|
|
29958
29958
|
return e * (jt / (l.tileSize * Math.pow(2, o - l.tileID.overscaledZ)));
|
|
29959
29959
|
}
|
|
29960
|
-
function
|
|
29961
|
-
return 1 /
|
|
29960
|
+
function U2(l, e) {
|
|
29961
|
+
return 1 / F2(l, 1, e.tileZoom);
|
|
29962
29962
|
}
|
|
29963
|
-
function
|
|
29963
|
+
function V2(l, e, o, c) {
|
|
29964
29964
|
return l.translatePosMatrix(c || e.tileID.projMatrix, e, o.paint.get("line-translate"), o.paint.get("line-translate-anchor"));
|
|
29965
29965
|
}
|
|
29966
29966
|
rn(nv, "LineBucket", { omit: ["layers", "patternFeatures", "currentVertex", "currentVertexIsOutside"] });
|
|
29967
|
-
const
|
|
29967
|
+
const j2 = (l) => {
|
|
29968
29968
|
const e = [];
|
|
29969
|
-
$
|
|
29969
|
+
$2(l) && e.push("RENDER_LINE_DASH"), l.paint.get("line-gradient") && e.push("RENDER_LINE_GRADIENT");
|
|
29970
29970
|
const o = l.paint.get("line-trim-offset");
|
|
29971
29971
|
o[0] === 0 && o[1] === 0 || e.push("RENDER_LINE_TRIM_OFFSET"), l.paint.get("line-border-width").constantOr(1) !== 0 && e.push("RENDER_LINE_BORDER");
|
|
29972
29972
|
const c = l.layout.get("line-join").constantOr("miter") === "none", p = !!l.paint.get("line-pattern").constantOr(1);
|
|
29973
29973
|
return c && p && e.push("LINE_JOIN_NONE"), e;
|
|
29974
29974
|
};
|
|
29975
|
-
function $
|
|
29975
|
+
function $2(l) {
|
|
29976
29976
|
const e = l.paint.get("line-dasharray").value;
|
|
29977
29977
|
return e.value || e.kind !== "constant";
|
|
29978
29978
|
}
|
|
29979
29979
|
let rv;
|
|
29980
|
-
const
|
|
29980
|
+
const G2 = () => rv || (rv = { layout: N2 || (N2 = new Yr({ "line-cap": new fn(tt.layout_line["line-cap"]), "line-join": new fn(tt.layout_line["line-join"]), "line-miter-limit": new Dt(tt.layout_line["line-miter-limit"]), "line-round-limit": new Dt(tt.layout_line["line-round-limit"]), "line-sort-key": new fn(tt.layout_line["line-sort-key"]), "line-z-offset": new fn(tt.layout_line["line-z-offset"]), visibility: new Dt(tt.layout_line.visibility) })), paint: B2 || (B2 = new Yr({ "line-opacity": new fn(tt.paint_line["line-opacity"]), "line-color": new fn(tt.paint_line["line-color"]), "line-translate": new Dt(tt.paint_line["line-translate"]), "line-translate-anchor": new Dt(tt.paint_line["line-translate-anchor"]), "line-width": new fn(tt.paint_line["line-width"]), "line-gap-width": new fn(tt.paint_line["line-gap-width"]), "line-offset": new fn(tt.paint_line["line-offset"]), "line-blur": new fn(tt.paint_line["line-blur"]), "line-dasharray": new fn(tt.paint_line["line-dasharray"]), "line-pattern": new fn(tt.paint_line["line-pattern"]), "line-gradient": new as(tt.paint_line["line-gradient"]), "line-trim-offset": new Dt(tt.paint_line["line-trim-offset"]), "line-trim-fade-range": new Dt(tt.paint_line["line-trim-fade-range"]), "line-trim-color": new Dt(tt.paint_line["line-trim-color"]), "line-emissive-strength": new Dt(tt.paint_line["line-emissive-strength"]), "line-border-width": new fn(tt.paint_line["line-border-width"]), "line-border-color": new fn(tt.paint_line["line-border-color"]), "line-occlusion-opacity": new Dt(tt.paint_line["line-occlusion-opacity"]) })) }, rv);
|
|
29981
29981
|
class _4 extends fn {
|
|
29982
29982
|
possiblyEvaluate(e, o) {
|
|
29983
29983
|
return o = new oi(Math.floor(o.zoom), { now: o.now, fadeDuration: o.fadeDuration, transition: o.transition }), super.possiblyEvaluate(e, o);
|
|
@@ -29987,14 +29987,14 @@ ${JSON.stringify(p, null, 2)}
|
|
|
29987
29987
|
}
|
|
29988
29988
|
}
|
|
29989
29989
|
let bp;
|
|
29990
|
-
function
|
|
29990
|
+
function H2(l, e) {
|
|
29991
29991
|
return e > 0 ? e + 2 * l : l;
|
|
29992
29992
|
}
|
|
29993
29993
|
const y4 = fr([{ name: "a_pos_offset", components: 4, type: "Int16" }, { name: "a_tex_size", components: 4, type: "Uint16" }, { name: "a_pixeloffset", components: 4, type: "Int16" }], 4), v4 = fr([{ name: "a_globe_anchor", components: 3, type: "Int16" }, { name: "a_globe_normal", components: 3, type: "Float32" }], 4), x4 = fr([{ name: "a_projected_pos", components: 4, type: "Float32" }], 4);
|
|
29994
29994
|
fr([{ name: "a_fade_opacity", components: 1, type: "Uint32" }], 4);
|
|
29995
29995
|
const b4 = fr([{ name: "a_auto_z_offset", components: 1, type: "Float32" }], 4), w4 = fr([{ name: "a_texb", components: 2, type: "Uint16" }]), S4 = fr([{ name: "a_placed", components: 2, type: "Uint8" }, { name: "a_shift", components: 2, type: "Float32" }, { name: "a_elevation_from_sea", components: 2, type: "Float32" }]), T4 = fr([{ name: "a_size_scale", components: 1, type: "Float32" }, { name: "a_padding", components: 2, type: "Float32" }, { name: "a_auto_z_offset", components: 1, type: "Float32" }]);
|
|
29996
29996
|
fr([{ 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" }]);
|
|
29997
|
-
const
|
|
29997
|
+
const q2 = fr([{ name: "a_pos", components: 3, type: "Int16" }, { name: "a_anchor_pos", components: 2, type: "Int16" }, { name: "a_extrude", components: 2, type: "Int16" }], 4), E4 = fr([{ name: "a_pos_2f", components: 2, type: "Float32" }, { name: "a_radius", components: 1, type: "Float32" }, { name: "a_flags", components: 2, type: "Int16" }], 4);
|
|
29998
29998
|
fr([{ name: "triangle", components: 3, type: "Uint16" }]), fr([{ 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" }]), fr([{ 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: "Uint8", name: "hasIconTextFit" }]), fr([{ type: "Float32", name: "offsetX" }]), fr([{ type: "Int16", name: "x" }, { type: "Int16", name: "y" }]);
|
|
29999
29999
|
var qi = 24;
|
|
30000
30000
|
const Hs = 128;
|
|
@@ -30047,10 +30047,10 @@ ${JSON.stringify(p, null, 2)}
|
|
|
30047
30047
|
function A4(l) {
|
|
30048
30048
|
return l === "︵" || l === "﹇" || l === "︷" || l === "﹃" || l === "﹁" || l === "︽" || l === "︻" || l === "︹" || l === "︗" || l === "︿";
|
|
30049
30049
|
}
|
|
30050
|
-
var
|
|
30050
|
+
var W2, ov, Z2, sv = {};
|
|
30051
30051
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
30052
30052
|
function R4() {
|
|
30053
|
-
return
|
|
30053
|
+
return W2 || (W2 = 1, sv.read = function(l, e, o, c, p) {
|
|
30054
30054
|
var h, m, b = 8 * p - c - 1, C = (1 << b) - 1, A = C >> 1, v = -7, S = o ? p - 1 : 0, M = o ? -1 : 1, E = l[e + S];
|
|
30055
30055
|
for (S += M, h = E & (1 << -v) - 1, E >>= -v, v += b; v > 0; h = 256 * h + l[e + S], S += M, v -= 8)
|
|
30056
30056
|
;
|
|
@@ -30073,10 +30073,10 @@ ${JSON.stringify(p, null, 2)}
|
|
|
30073
30073
|
l[o + E - I] |= 128 * P;
|
|
30074
30074
|
}), sv;
|
|
30075
30075
|
}
|
|
30076
|
-
function
|
|
30077
|
-
if (
|
|
30076
|
+
function Y2() {
|
|
30077
|
+
if (Z2)
|
|
30078
30078
|
return ov;
|
|
30079
|
-
|
|
30079
|
+
Z2 = 1, ov = e;
|
|
30080
30080
|
var l = R4();
|
|
30081
30081
|
function e(F) {
|
|
30082
30082
|
this.buf = ArrayBuffer.isView && ArrayBuffer.isView(F) ? F : new Uint8Array(F || 0), this.pos = 0, this.type = 0, this.length = this.buf.length;
|
|
@@ -30393,7 +30393,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
30393
30393
|
this.writeVarintField(F, !!W);
|
|
30394
30394
|
} }, ov;
|
|
30395
30395
|
}
|
|
30396
|
-
var c_ = L(
|
|
30396
|
+
var c_ = L(Y2());
|
|
30397
30397
|
const av = 3;
|
|
30398
30398
|
function L4(l, e, o) {
|
|
30399
30399
|
e.glyphs = [], l === 1 && o.readMessage(P4, e);
|
|
@@ -30408,7 +30408,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
30408
30408
|
function k4(l, e, o) {
|
|
30409
30409
|
l === 1 ? e.id = o.readVarint() : l === 2 ? e.bitmap = o.readBytes() : l === 3 ? e.width = o.readVarint() : l === 4 ? e.height = o.readVarint() : l === 5 ? e.left = o.readSVarint() : l === 6 ? e.top = o.readSVarint() : l === 7 && (e.advance = o.readVarint());
|
|
30410
30410
|
}
|
|
30411
|
-
const
|
|
30411
|
+
const X2 = av, us = { horizontal: 1, vertical: 2, horizontalOnly: 3 };
|
|
30412
30412
|
class Sp {
|
|
30413
30413
|
constructor() {
|
|
30414
30414
|
this.scale = 1, this.fontStack = "", this.imageName = null;
|
|
@@ -30506,20 +30506,20 @@ ${JSON.stringify(p, null, 2)}
|
|
|
30506
30506
|
let Zt = 0;
|
|
30507
30507
|
for (let Nt = 0; Nt < He.length(); Nt++) {
|
|
30508
30508
|
const Rt = He.getSection(Nt);
|
|
30509
|
-
Zt +=
|
|
30509
|
+
Zt += K2(He.getCodePoint(Nt), Rt, ct, xt, nt, ot);
|
|
30510
30510
|
}
|
|
30511
30511
|
return Zt / Math.max(1, Math.ceil(Zt / We));
|
|
30512
30512
|
}(Y, re, he, pe, ae, Se), Be = Y.text.indexOf("") >= 0;
|
|
30513
30513
|
let Ue = 0;
|
|
30514
30514
|
for (let He = 0; He < Y.length(); He++) {
|
|
30515
30515
|
const nt = Y.getSection(He), We = Y.getCodePoint(He);
|
|
30516
|
-
if (u_[We] || (Ue +=
|
|
30516
|
+
if (u_[We] || (Ue += K2(We, nt, pe, ae, re, Se)), He < Y.length() - 1) {
|
|
30517
30517
|
const ct = !((Ve = We) < 11904 || !(hn["Bopomofo Extended"](Ve) || hn.Bopomofo(Ve) || hn["CJK Compatibility Forms"](Ve) || hn["CJK Compatibility Ideographs"](Ve) || hn["CJK Compatibility"](Ve) || hn["CJK Radicals Supplement"](Ve) || hn["CJK Strokes"](Ve) || hn["CJK Symbols and Punctuation"](Ve) || hn["CJK Unified Ideographs Extension A"](Ve) || hn["CJK Unified Ideographs"](Ve) || hn["Enclosed CJK Letters and Months"](Ve) || hn["Halfwidth and Fullwidth Forms"](Ve) || hn.Hiragana(Ve) || hn["Ideographic Description Characters"](Ve) || hn["Kangxi Radicals"](Ve) || hn["Katakana Phonetic Extensions"](Ve) || hn.Katakana(Ve) || hn["Vertical Forms"](Ve) || hn["Yi Radicals"](Ve) || hn["Yi Syllables"](Ve)));
|
|
30518
|
-
(D4[We] || ct || nt.imageName) && _e.push(
|
|
30518
|
+
(D4[We] || ct || nt.imageName) && _e.push(Q2(He + 1, Ue, Ie, _e, O4(We, Y.getCodePoint(He + 1), ct && Be), !1));
|
|
30519
30519
|
}
|
|
30520
30520
|
}
|
|
30521
30521
|
var Ve;
|
|
30522
|
-
return eT(
|
|
30522
|
+
return eT(Q2(Y.length(), Ue, Ie, _e, 0, !0));
|
|
30523
30523
|
}(P, A, h, e, c, E), { processBidirectionalText: $, processStyledBidirectionalText: H } = Co;
|
|
30524
30524
|
if ($ && P.sections.length === 1) {
|
|
30525
30525
|
const Y = $(P.toString(), B);
|
|
@@ -30583,7 +30583,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
30583
30583
|
continue;
|
|
30584
30584
|
ui = Pn.imageName, Y.iconsInText = Y.iconsInText || !0, Si = Wi.paddedRect;
|
|
30585
30585
|
const Vr = Wi.displaySize;
|
|
30586
|
-
Gr = Gr * qi / He, ci = { width: Vr[0], height: Vr[1], left: 0, top: -
|
|
30586
|
+
Gr = Gr * qi / He, ci = { width: Vr[0], height: Vr[1], left: 0, top: -X2, advance: Ci ? Vr[1] : Vr[0], localGlyph: !1 }, Ui = ot ? -ci.height * Gr : tn * qi - 17 - Vr[1] * Gr, ri = ci.advance;
|
|
30587
30587
|
const Bo = (Ci ? Vr[0] : Vr[1]) * Gr - qi * tn;
|
|
30588
30588
|
Bo > 0 && Bo > Vn && (Vn = Bo);
|
|
30589
30589
|
} else {
|
|
@@ -30625,7 +30625,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
30625
30625
|
}(F) && W;
|
|
30626
30626
|
}
|
|
30627
30627
|
const u_ = { 9: !0, 10: !0, 11: !0, 12: !0, 13: !0, 32: !0 }, D4 = { 10: !0, 32: !0, 38: !0, 40: !0, 41: !0, 43: !0, 45: !0, 47: !0, 173: !0, 183: !0, 8203: !0, 8208: !0, 8211: !0, 8231: !0 };
|
|
30628
|
-
function
|
|
30628
|
+
function K2(l, e, o, c, p, h) {
|
|
30629
30629
|
if (e.imageName) {
|
|
30630
30630
|
const m = c[e.imageName];
|
|
30631
30631
|
return m ? m.displaySize[0] * e.scale * qi / h + p : 0;
|
|
@@ -30635,7 +30635,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
30635
30635
|
return b ? b.metrics.advance * e.scale + p : 0;
|
|
30636
30636
|
}
|
|
30637
30637
|
}
|
|
30638
|
-
function
|
|
30638
|
+
function J2(l, e, o, c) {
|
|
30639
30639
|
const p = Math.pow(l - e, 2);
|
|
30640
30640
|
return c ? l < e ? p / 2 : 2 * p : p + Math.abs(o) * o;
|
|
30641
30641
|
}
|
|
@@ -30643,10 +30643,10 @@ ${JSON.stringify(p, null, 2)}
|
|
|
30643
30643
|
let c = 0;
|
|
30644
30644
|
return l === 10 && (c -= 1e4), o && (c += 150), l !== 40 && l !== 65288 || (c += 50), e !== 41 && e !== 65289 || (c += 50), c;
|
|
30645
30645
|
}
|
|
30646
|
-
function
|
|
30647
|
-
let m = null, b =
|
|
30646
|
+
function Q2(l, e, o, c, p, h) {
|
|
30647
|
+
let m = null, b = J2(e, o, p, h);
|
|
30648
30648
|
for (const C of c) {
|
|
30649
|
-
const A =
|
|
30649
|
+
const A = J2(e - C.x, o, p, h) + C.badness;
|
|
30650
30650
|
A <= b && (m = C, b = A);
|
|
30651
30651
|
}
|
|
30652
30652
|
return { index: l, x: e, priorBreak: m, badness: b };
|
|
@@ -31294,7 +31294,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
31294
31294
|
if (!ot.rect)
|
|
31295
31295
|
continue;
|
|
31296
31296
|
const Zt = ot.rect || {};
|
|
31297
|
-
let Nt =
|
|
31297
|
+
let Nt = X2 + 1, Rt = !0, It = 1, yn = 0;
|
|
31298
31298
|
if (ot.imageName) {
|
|
31299
31299
|
const ui = Se[ot.imageName];
|
|
31300
31300
|
if (!ui)
|
|
@@ -31939,7 +31939,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
31939
31939
|
}
|
|
31940
31940
|
}
|
|
31941
31941
|
generateCollisionDebugBuffers(e, o) {
|
|
31942
|
-
this.hasDebugData() && this.destroyDebugData(), this.textCollisionBox = new gv($a,
|
|
31942
|
+
this.hasDebugData() && this.destroyDebugData(), this.textCollisionBox = new gv($a, q2.members, fa), this.iconCollisionBox = new gv($a, q2.members, fa);
|
|
31943
31943
|
const c = Uh(this.iconSizeData, e), p = Uh(this.textSizeData, e);
|
|
31944
31944
|
for (let h = 0; h < this.symbolInstances.length; h++) {
|
|
31945
31945
|
const m = this.symbolInstances.get(h);
|
|
@@ -32724,7 +32724,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
32724
32724
|
const B = Math.floor(P), $ = A.float32[I + 1];
|
|
32725
32725
|
let H = !1;
|
|
32726
32726
|
for (const F of this.activeReplacements)
|
|
32727
|
-
if (!
|
|
32727
|
+
if (!u2(F, c, qT.Model, p) && !(F.min.x > B || B > F.max.x || F.min.y > $ || $ > F.max.y) && (H = g2(m2(B, $, e.canonical, F.footprintTileId.canonical), F.footprint), H))
|
|
32728
32728
|
break;
|
|
32729
32729
|
A.float32[I] = H ? P + jt : P, m = m || H !== D;
|
|
32730
32730
|
}
|
|
@@ -33205,21 +33205,21 @@ ${JSON.stringify(p, null, 2)}
|
|
|
33205
33205
|
}
|
|
33206
33206
|
queryIntersectsFeature(l, e, o, c, p, h, m, b) {
|
|
33207
33207
|
const C = pr(this.paint.get("circle-translate"), this.paint.get("circle-translate-anchor"), h.angle, l.pixelToTileUnitsFactor), A = this.paint.get("circle-radius").evaluate(e, o) + this.paint.get("circle-stroke-width").evaluate(e, o);
|
|
33208
|
-
return
|
|
33208
|
+
return OS(l, c, h, m, b, this.paint.get("circle-pitch-alignment") === "map", this.paint.get("circle-pitch-scale") === "map", C, A);
|
|
33209
33209
|
}
|
|
33210
33210
|
getProgramIds() {
|
|
33211
33211
|
return ["circle"];
|
|
33212
33212
|
}
|
|
33213
33213
|
getDefaultProgramParams(l, e, o) {
|
|
33214
|
-
const c =
|
|
33214
|
+
const c = DS(this);
|
|
33215
33215
|
return { config: new Ha(this, { zoom: e, lut: o }), defines: c, overrideFog: !1 };
|
|
33216
33216
|
}
|
|
33217
33217
|
}, heatmap: class extends Ji {
|
|
33218
33218
|
createBucket(l) {
|
|
33219
|
-
return new
|
|
33219
|
+
return new NS(l);
|
|
33220
33220
|
}
|
|
33221
33221
|
constructor(l, e, o, c) {
|
|
33222
|
-
super(l, { layout:
|
|
33222
|
+
super(l, { layout: BS || (BS = new Yr({ visibility: new Dt(tt.layout_heatmap.visibility) })), paint: FS || (FS = new Yr({ "heatmap-radius": new fn(tt.paint_heatmap["heatmap-radius"]), "heatmap-weight": new fn(tt.paint_heatmap["heatmap-weight"]), "heatmap-intensity": new Dt(tt.paint_heatmap["heatmap-intensity"]), "heatmap-color": new as(tt.paint_heatmap["heatmap-color"]), "heatmap-opacity": new Dt(tt.paint_heatmap["heatmap-opacity"]) })) }, e, o, c), this._updateColorRamp();
|
|
33223
33223
|
}
|
|
33224
33224
|
_handleSpecialPaintPropertyUpdate(l) {
|
|
33225
33225
|
l === "heatmap-color" && this._updateColorRamp();
|
|
@@ -33235,7 +33235,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
33235
33235
|
}
|
|
33236
33236
|
queryIntersectsFeature(l, e, o, c, p, h, m, b) {
|
|
33237
33237
|
const C = this.paint.get("heatmap-radius").evaluate(e, o);
|
|
33238
|
-
return
|
|
33238
|
+
return OS(l, c, h, m, b, !0, !0, new gt(0, 0), C);
|
|
33239
33239
|
}
|
|
33240
33240
|
hasOffscreenPass() {
|
|
33241
33241
|
return this.paint.get("heatmap-opacity") !== 0 && this.visibility !== "none";
|
|
@@ -33248,7 +33248,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
33248
33248
|
}
|
|
33249
33249
|
}, hillshade: class extends Ji {
|
|
33250
33250
|
constructor(l, e, o, c) {
|
|
33251
|
-
super(l, { layout:
|
|
33251
|
+
super(l, { layout: US || (US = new Yr({ visibility: new Dt(tt.layout_hillshade.visibility) })), paint: VS || (VS = new Yr({ "hillshade-illumination-direction": new Dt(tt.paint_hillshade["hillshade-illumination-direction"]), "hillshade-illumination-anchor": new Dt(tt.paint_hillshade["hillshade-illumination-anchor"]), "hillshade-exaggeration": new Dt(tt.paint_hillshade["hillshade-exaggeration"]), "hillshade-shadow-color": new Dt(tt.paint_hillshade["hillshade-shadow-color"]), "hillshade-highlight-color": new Dt(tt.paint_hillshade["hillshade-highlight-color"]), "hillshade-accent-color": new Dt(tt.paint_hillshade["hillshade-accent-color"]), "hillshade-emissive-strength": new Dt(tt.paint_hillshade["hillshade-emissive-strength"]) })) }, e, o, c);
|
|
33252
33252
|
}
|
|
33253
33253
|
shouldRedrape() {
|
|
33254
33254
|
return this.hasOffscreenPass() && this.paint.get("hillshade-illumination-anchor") === "viewport";
|
|
@@ -33264,7 +33264,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
33264
33264
|
}
|
|
33265
33265
|
}, fill: class extends Ji {
|
|
33266
33266
|
constructor(l, e, o, c) {
|
|
33267
|
-
super(l, { layout:
|
|
33267
|
+
super(l, { layout: YS || (YS = new Yr({ "fill-sort-key": new fn(tt.layout_fill["fill-sort-key"]), visibility: new Dt(tt.layout_fill.visibility) })), paint: XS || (XS = new Yr({ "fill-antialias": new Dt(tt.paint_fill["fill-antialias"]), "fill-opacity": new fn(tt.paint_fill["fill-opacity"]), "fill-color": new fn(tt.paint_fill["fill-color"]), "fill-outline-color": new fn(tt.paint_fill["fill-outline-color"]), "fill-translate": new Dt(tt.paint_fill["fill-translate"]), "fill-translate-anchor": new Dt(tt.paint_fill["fill-translate-anchor"]), "fill-pattern": new fn(tt.paint_fill["fill-pattern"]), "fill-emissive-strength": new Dt(tt.paint_fill["fill-emissive-strength"]), "fill-z-offset": new fn(tt.paint_fill["fill-z-offset"]) })) }, e, o, c);
|
|
33268
33268
|
}
|
|
33269
33269
|
getProgramIds() {
|
|
33270
33270
|
const l = this.paint.get("fill-pattern"), e = l && l.constantOr(1), o = [e ? "fillPattern" : "fill"];
|
|
@@ -33295,7 +33295,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
33295
33295
|
}
|
|
33296
33296
|
}, "fill-extrusion": class extends Ji {
|
|
33297
33297
|
constructor(l, e, o, c) {
|
|
33298
|
-
super(l, { layout:
|
|
33298
|
+
super(l, { layout: L2 || (L2 = new Yr({ visibility: new Dt(tt["layout_fill-extrusion"].visibility), "fill-extrusion-edge-radius": new Dt(tt["layout_fill-extrusion"]["fill-extrusion-edge-radius"]) })), paint: P2 || (P2 = new Yr({ "fill-extrusion-opacity": new Dt(tt["paint_fill-extrusion"]["fill-extrusion-opacity"]), "fill-extrusion-color": new fn(tt["paint_fill-extrusion"]["fill-extrusion-color"]), "fill-extrusion-translate": new Dt(tt["paint_fill-extrusion"]["fill-extrusion-translate"]), "fill-extrusion-translate-anchor": new Dt(tt["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]), "fill-extrusion-pattern": new fn(tt["paint_fill-extrusion"]["fill-extrusion-pattern"]), "fill-extrusion-height": new fn(tt["paint_fill-extrusion"]["fill-extrusion-height"]), "fill-extrusion-base": new fn(tt["paint_fill-extrusion"]["fill-extrusion-base"]), "fill-extrusion-vertical-gradient": new Dt(tt["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"]), "fill-extrusion-ambient-occlusion-intensity": new Dt(tt["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-intensity"]), "fill-extrusion-ambient-occlusion-radius": new Dt(tt["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-radius"]), "fill-extrusion-ambient-occlusion-wall-radius": new Dt(tt["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-wall-radius"]), "fill-extrusion-ambient-occlusion-ground-radius": new Dt(tt["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-ground-radius"]), "fill-extrusion-ambient-occlusion-ground-attenuation": new Dt(tt["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-ground-attenuation"]), "fill-extrusion-flood-light-color": new Dt(tt["paint_fill-extrusion"]["fill-extrusion-flood-light-color"]), "fill-extrusion-flood-light-intensity": new Dt(tt["paint_fill-extrusion"]["fill-extrusion-flood-light-intensity"]), "fill-extrusion-flood-light-wall-radius": new fn(tt["paint_fill-extrusion"]["fill-extrusion-flood-light-wall-radius"]), "fill-extrusion-flood-light-ground-radius": new fn(tt["paint_fill-extrusion"]["fill-extrusion-flood-light-ground-radius"]), "fill-extrusion-flood-light-ground-attenuation": new Dt(tt["paint_fill-extrusion"]["fill-extrusion-flood-light-ground-attenuation"]), "fill-extrusion-vertical-scale": new Dt(tt["paint_fill-extrusion"]["fill-extrusion-vertical-scale"]), "fill-extrusion-rounded-roof": new Dt(tt["paint_fill-extrusion"]["fill-extrusion-rounded-roof"]), "fill-extrusion-cutoff-fade-range": new Dt(tt["paint_fill-extrusion"]["fill-extrusion-cutoff-fade-range"]), "fill-extrusion-emissive-strength": new fn(tt["paint_fill-extrusion"]["fill-extrusion-emissive-strength"]), "fill-extrusion-line-width": new fn(tt["paint_fill-extrusion"]["fill-extrusion-line-width"]), "fill-extrusion-cast-shadows": new Dt(tt["paint_fill-extrusion"]["fill-extrusion-cast-shadows"]) })) }, e, o, c), this._stats = { numRenderedVerticesInShadowPass: 0, numRenderedVerticesInTransparentPass: 0 };
|
|
33299
33299
|
}
|
|
33300
33300
|
createBucket(l) {
|
|
33301
33301
|
return new a_(l);
|
|
@@ -33326,12 +33326,12 @@ ${JSON.stringify(p, null, 2)}
|
|
|
33326
33326
|
}
|
|
33327
33327
|
if (M[0] === 0 && M[1] === 1)
|
|
33328
33328
|
return !1;
|
|
33329
|
-
h.projection.name === "globe" && (c =
|
|
33329
|
+
h.projection.name === "globe" && (c = R2([c], [new gt(0, 0), new gt(jt, jt)], l.tileID.canonical).map((F) => F.polygon).flat());
|
|
33330
33330
|
const D = E ? b : null, [B, $] = function(F, W, Y, re, he, pe, ae, Se, _e, Ie, Be) {
|
|
33331
33331
|
return F.projection.name === "globe" ? function(Ue, Ve, He, nt, We, ct, xt, ot, Zt, Nt, Rt) {
|
|
33332
33332
|
const It = [], yn = [], qt = Ue.projection.upVectorScale(Rt, Ue.center.lat, Ue.worldSize).metersToTile, tn = [0, 0, 0, 1], Ln = [0, 0, 0, 1], Hn = (Vn, Zn, Xn, kr) => {
|
|
33333
33333
|
Vn[0] = Zn, Vn[1] = Xn, Vn[2] = kr, Vn[3] = 1;
|
|
33334
|
-
}, Un =
|
|
33334
|
+
}, Un = A2();
|
|
33335
33335
|
He > 0 && (He += Un), nt += Un;
|
|
33336
33336
|
for (const Vn of Ve) {
|
|
33337
33337
|
const Zn = [], Xn = [];
|
|
@@ -33339,7 +33339,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
33339
33339
|
const Sr = kr.x + We.x, Pn = kr.y + We.y, _r = Ue.projection.projectTilePoint(Sr, Pn, Rt), yr = Ue.projection.upVector(Rt, kr.x, kr.y);
|
|
33340
33340
|
let Gr = He, ci = nt;
|
|
33341
33341
|
if (xt) {
|
|
33342
|
-
const Si =
|
|
33342
|
+
const Si = D2(Sr, Pn, He, nt, xt, ot, Zt, Nt);
|
|
33343
33343
|
Gr += Si.base, ci += Si.top;
|
|
33344
33344
|
}
|
|
33345
33345
|
He !== 0 ? Hn(tn, _r.x + yr[0] * qt * Gr, _r.y + yr[1] * qt * Gr, _r.z + yr[2] * qt * Gr) : Hn(tn, _r.x, _r.y, _r.z), Hn(Ln, _r.x + yr[0] * qt * ci, _r.y + yr[1] * qt * ci, _r.z + yr[2] * qt * ci), xe.vec3.transformMat4(tn, tn, ct), xe.vec3.transformMat4(Ln, Ln, ct), Zn.push(new au(tn[0], tn[1], tn[2])), Xn.push(new au(Ln[0], Ln[1], Ln[2]));
|
|
@@ -33352,7 +33352,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
33352
33352
|
for (const yn of Ue) {
|
|
33353
33353
|
const qt = [], tn = [];
|
|
33354
33354
|
for (const Ln of yn) {
|
|
33355
|
-
const Hn = Ln.x + nt.x, Un = Ln.y + nt.y, Vn =
|
|
33355
|
+
const Hn = Ln.x + nt.x, Un = Ln.y + nt.y, Vn = D2(Hn, Un, Ve, He, ct, xt, ot, Zt);
|
|
33356
33356
|
It[0] = Hn, It[1] = Un, It[2] = Vn.base, It[3] = 1, xe.vec4.transformMat4(It, It, We), It[3] = Math.max(It[3], 1e-5);
|
|
33357
33357
|
const Zn = new au(It[0] / It[3], It[1] / It[3], It[2] / It[3]);
|
|
33358
33358
|
It[0] = Hn, It[1] = Un, It[2] = Vn.top, It[3] = 1, xe.vec4.transformMat4(It, It, We), It[3] = Math.max(It[3], 1e-5);
|
|
@@ -33377,12 +33377,12 @@ ${JSON.stringify(p, null, 2)}
|
|
|
33377
33377
|
}(h, c, S, v, A, m, D, M, I, h.center.lat, l.tileID.canonical), H = l.queryGeometry;
|
|
33378
33378
|
return function(F, W, Y) {
|
|
33379
33379
|
let re = 1 / 0;
|
|
33380
|
-
Mn(Y, W) && (re =
|
|
33380
|
+
Mn(Y, W) && (re = k2(Y, W[0]));
|
|
33381
33381
|
for (let he = 0; he < W.length; he++) {
|
|
33382
33382
|
const pe = W[he], ae = F[he];
|
|
33383
33383
|
for (let Se = 0; Se < pe.length - 1; Se++) {
|
|
33384
33384
|
const _e = pe[Se], Ie = [_e, pe[Se + 1], ae[Se + 1], ae[Se], _e];
|
|
33385
|
-
zt(Y, Ie) && (re = Math.min(re,
|
|
33385
|
+
zt(Y, Ie) && (re = Math.min(re, k2(Y, Ie)));
|
|
33386
33386
|
}
|
|
33387
33387
|
}
|
|
33388
33388
|
return re !== 1 / 0 && re;
|
|
@@ -33390,7 +33390,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
33390
33390
|
}
|
|
33391
33391
|
}, line: class extends Ji {
|
|
33392
33392
|
constructor(l, e, o, c) {
|
|
33393
|
-
const p =
|
|
33393
|
+
const p = G2();
|
|
33394
33394
|
super(l, p, e, o, c), p.layout && (this.layout = new Nl(p.layout)), this.gradientVersion = 0;
|
|
33395
33395
|
}
|
|
33396
33396
|
_handleSpecialPaintPropertyUpdate(l) {
|
|
@@ -33409,7 +33409,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
33409
33409
|
super.recalculate(l, e), this.paint._values["line-floorwidth"] = (() => {
|
|
33410
33410
|
if (bp)
|
|
33411
33411
|
return bp;
|
|
33412
|
-
const o =
|
|
33412
|
+
const o = G2();
|
|
33413
33413
|
return bp = new _4(o.paint.properties["line-width"].specification), bp.useIntegerZoom = !0, bp;
|
|
33414
33414
|
})().possiblyEvaluate(this._transitioningPaint._values["line-width"].value, l);
|
|
33415
33415
|
}
|
|
@@ -33420,17 +33420,17 @@ ${JSON.stringify(p, null, 2)}
|
|
|
33420
33420
|
return [this.paint.get("line-pattern").constantOr(1) ? "linePattern" : "line"];
|
|
33421
33421
|
}
|
|
33422
33422
|
getDefaultProgramParams(l, e, o) {
|
|
33423
|
-
const c =
|
|
33423
|
+
const c = j2(this);
|
|
33424
33424
|
return { config: new Ha(this, { zoom: e, lut: o }), defines: c, overrideFog: !1 };
|
|
33425
33425
|
}
|
|
33426
33426
|
queryRadius(l) {
|
|
33427
|
-
const e = l, o =
|
|
33427
|
+
const e = l, o = H2(Xr("line-width", this, e), Xr("line-gap-width", this, e)), c = Xr("line-offset", this, e);
|
|
33428
33428
|
return o / 2 + Math.abs(c) + Ir(this.paint.get("line-translate"));
|
|
33429
33429
|
}
|
|
33430
33430
|
queryIntersectsFeature(l, e, o, c, p, h) {
|
|
33431
33431
|
if (l.queryGeometry.isAboveHorizon)
|
|
33432
33432
|
return !1;
|
|
33433
|
-
const m = Gn(l.tilespaceGeometry, this.paint.get("line-translate"), this.paint.get("line-translate-anchor"), h.angle, l.pixelToTileUnitsFactor), b = l.pixelToTileUnitsFactor / 2 *
|
|
33433
|
+
const m = Gn(l.tilespaceGeometry, this.paint.get("line-translate"), this.paint.get("line-translate-anchor"), h.angle, l.pixelToTileUnitsFactor), b = l.pixelToTileUnitsFactor / 2 * H2(this.paint.get("line-width").evaluate(e, o), this.paint.get("line-gap-width").evaluate(e, o)), C = this.paint.get("line-offset").evaluate(e, o);
|
|
33434
33434
|
return C && (c = function(A, v) {
|
|
33435
33435
|
const S = [], M = new gt(0, 0);
|
|
33436
33436
|
for (let E = 0; E < A.length; E++) {
|
|
@@ -33616,13 +33616,13 @@ ${JSON.stringify(p, null, 2)}
|
|
|
33616
33616
|
}
|
|
33617
33617
|
}, clip: class extends Ji {
|
|
33618
33618
|
constructor(l, e, o, c) {
|
|
33619
|
-
super(l, { layout:
|
|
33619
|
+
super(l, { layout: KS || (KS = new Yr({ "clip-layer-types": new Dt(tt.layout_clip["clip-layer-types"]), "clip-layer-scope": new Dt(tt.layout_clip["clip-layer-scope"]) })), paint: JS || (JS = new Yr({})) }, e, o, c);
|
|
33620
33620
|
}
|
|
33621
33621
|
recalculate(l, e) {
|
|
33622
33622
|
super.recalculate(l, e);
|
|
33623
33623
|
}
|
|
33624
33624
|
createBucket(l) {
|
|
33625
|
-
return new
|
|
33625
|
+
return new QS(l);
|
|
33626
33626
|
}
|
|
33627
33627
|
isTileClipped() {
|
|
33628
33628
|
return !0;
|
|
@@ -33975,7 +33975,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
33975
33975
|
return c[2] = h % 256, h = Math.floor(h / 256), c[1] = h % 256, h = Math.floor(h / 256), c[0] = h, c;
|
|
33976
33976
|
}
|
|
33977
33977
|
getPixels() {
|
|
33978
|
-
return new
|
|
33978
|
+
return new GS({ width: this.stride, height: this.stride }, this.pixels);
|
|
33979
33979
|
}
|
|
33980
33980
|
backfillBorder(e, o, c) {
|
|
33981
33981
|
if (this.dim !== e.dim)
|
|
@@ -35286,7 +35286,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
35286
35286
|
return o;
|
|
35287
35287
|
}, i.ag = vT, i.ah = Ho, i.ai = function(l, e, o = 0) {
|
|
35288
35288
|
return xe.vec3.fromValues(((e.x - o) * l.scale - l.x) * jt, (e.y * l.scale - l.y) * jt, Me(e.z, e.y));
|
|
35289
|
-
}, i.aj = Gs, i.ak =
|
|
35289
|
+
}, i.aj = Gs, i.ak = F2, i.al = function(l) {
|
|
35290
35290
|
let e = 1 / 0, o = 1 / 0, c = -1 / 0, p = -1 / 0;
|
|
35291
35291
|
for (const h of l)
|
|
35292
35292
|
e = Math.min(e, h.x), o = Math.min(o, h.y), c = Math.max(c, h.x), p = Math.max(p, h.y);
|
|
@@ -35340,7 +35340,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
35340
35340
|
return Re.API_FONTS_REGEX.test(l);
|
|
35341
35341
|
}, i.b$ = function(l) {
|
|
35342
35342
|
const { x: e, y: o } = l.point, { lng: c, lat: p } = l._center;
|
|
35343
|
-
return
|
|
35343
|
+
return LS(e, o, l.worldSize, c, p);
|
|
35344
35344
|
}, i.b0 = Wo, i.b1 = si, i.b2 = fp, i.b3 = vv, i.b4 = function(l, e) {
|
|
35345
35345
|
const o = Zl(e.zoom);
|
|
35346
35346
|
if (o === 0)
|
|
@@ -35349,9 +35349,9 @@ ${JSON.stringify(p, null, 2)}
|
|
|
35349
35349
|
return xe.vec3.transformMat4(A, A, E), xe.vec3.transformMat4(v, v, E), xe.vec3.transformMat4(S, S, E), xe.vec3.transformMat4(M, M, E), p[0] = Wa(p[0], S, o), p[1] = Wa(p[1], M, o), p[2] = Wa(p[2], v, o), p[3] = Wa(p[3], A, o), Ur.fromPoints(p);
|
|
35350
35350
|
}, i.b5 = Kg, i.b6 = hp, i.b7 = Wa, i.b8 = Ih, i.b9 = Io, i.bA = vi, i.bB = xn, i.bC = Kr, i.bD = ue, i.bE = function(l, e, o) {
|
|
35351
35351
|
l[4 * e + 0] = o[0], l[4 * e + 1] = o[1], l[4 * e + 2] = o[2], l[4 * e + 3] = o[3];
|
|
35352
|
-
}, i.bF = iu, i.bG = Es, i.bH = ap, i.bI = Qi, i.bJ = Ga, i.bK = G, i.bL = TT, i.bM = Li, i.bN = Wl, i.bO = jT, i.bP = Oi, i.bQ =
|
|
35352
|
+
}, i.bF = iu, i.bG = Es, i.bH = ap, i.bI = Qi, i.bJ = Ga, i.bK = G, i.bL = TT, i.bM = Li, i.bN = Wl, i.bO = jT, i.bP = Oi, i.bQ = MS, i.bR = function(l, e, o, c, p, h, m, b, C) {
|
|
35353
35353
|
if (C.name === "globe")
|
|
35354
|
-
return
|
|
35354
|
+
return MS(l, e, new Oi(o, c, p), !1);
|
|
35355
35355
|
const A = Ip({ z: o, x: c, y: p }, C);
|
|
35356
35356
|
return new Ur([(h + A.x / A.scale) * e, e * (A.y / A.scale), m], [(h + A.x2 / A.scale) * e, e * (A.y2 / A.scale), b]);
|
|
35357
35357
|
}, i.bS = function(l, e, o) {
|
|
@@ -35381,12 +35381,12 @@ ${JSON.stringify(p, null, 2)}
|
|
|
35381
35381
|
c in e || o.push(c);
|
|
35382
35382
|
return o;
|
|
35383
35383
|
}, i.bf = Bi, i.bg = ["type", "source", "source-layer", "minzoom", "maxzoom", "filter", "layout"], i.bh = dr, i.bi = function(l, e) {
|
|
35384
|
-
const { x: o, y: c } = l.point, p =
|
|
35384
|
+
const { x: o, y: c } = l.point, p = LS(o, c, l.worldSize / l._pixelsPerMercatorPixel, 0, 0);
|
|
35385
35385
|
return xe.mat4.multiply(p, p, B1(ga(e)));
|
|
35386
35386
|
}, i.bj = Uh, i.bk = us, i.bl = l_, i.bm = function(l, e, o, c, p) {
|
|
35387
35387
|
const h = 5 * e + 2;
|
|
35388
35388
|
l.float32[h + 0] = o, l.float32[h + 1] = c, l.float32[h + 2] = p;
|
|
35389
|
-
}, i.bn = x_, i.bo = lT, i.bp = zt, i.bq = qi, i.br =
|
|
35389
|
+
}, i.bn = x_, i.bo = lT, i.bp = zt, i.bq = qi, i.br = u2, i.bs = qT, i.bt = m2, i.bu = g2, i.bv = fv, i.bw = mT, i.bx = cv, i.by = Fv, i.bz = br, i.c = $e, i.c$ = ho, i.c0 = tr, i.c1 = uo, i.c2 = a, i.c3 = function(l) {
|
|
35390
35390
|
const e = Math.round((l + 45 + 360) % 360 / 90) % 4;
|
|
35391
35391
|
return Nn[e];
|
|
35392
35392
|
}, i.c4 = 45, i.c5 = te, i.c6 = zh, i.c7 = function(l, e, o) {
|
|
@@ -35500,17 +35500,17 @@ ${JSON.stringify(p, null, 2)}
|
|
|
35500
35500
|
}
|
|
35501
35501
|
return e ? { min: o, max: c } : null;
|
|
35502
35502
|
}
|
|
35503
|
-
}, i.cF =
|
|
35503
|
+
}, i.cF = GS, i.cG = qa, i.cH = function(l, e) {
|
|
35504
35504
|
return [Math.pow(l[0], 2.2) * e, Math.pow(l[1], 2.2) * e, Math.pow(l[2], 2.2) * e];
|
|
35505
|
-
}, i.cI =
|
|
35505
|
+
}, i.cI = RS, i.cJ = be, i.cK = oe, i.cL = 256, i.cM = function(l, e) {
|
|
35506
35506
|
const o = [0, 0, 0], c = Kg(ga(e.canonical));
|
|
35507
35507
|
return xe.vec3.transformMat4(o, o, c), xe.vec3.transformMat4(o, o, l), o;
|
|
35508
|
-
}, i.cN = (l) => ({ u_camera_to_center_distance: new Qi(l), u_extrude_scale: new cp(l), u_device_pixel_ratio: new Qi(l), u_matrix: new iu(l), u_inv_rot_matrix: new iu(l), u_merc_center: new Es(l), u_tile_id: new ap(l), u_zoom_transition: new Qi(l), u_up_dir: new ap(l), u_emissive_strength: new Qi(l) }), i.cO = (l) => ({ u_matrix: new iu(l), u_pixels_to_tile_units: new cp(l), u_device_pixel_ratio: new Qi(l), u_units_to_pixels: new Es(l), u_dash_image: new Ga(l), u_gradient_image: new Ga(l), u_image_height: new Qi(l), u_texsize: new Es(l), u_tile_units_to_pixels: new Qi(l), u_alpha_discard_threshold: new Qi(l), u_trim_offset: new Es(l), u_trim_fade_range: new Es(l), u_trim_color: new zh(l), u_emissive_strength: new Qi(l) }), i.cP = (l) => ({ u_matrix: new iu(l), u_texsize: new Es(l), u_pixels_to_tile_units: new cp(l), u_device_pixel_ratio: new Qi(l), u_image: new Ga(l), u_units_to_pixels: new Es(l), u_tile_units_to_pixels: new Qi(l), u_alpha_discard_threshold: new Qi(l), u_trim_offset: new Es(l) }), i.cQ = co, i.cR = E4, i.cS = C4, i.cT =
|
|
35508
|
+
}, i.cN = (l) => ({ u_camera_to_center_distance: new Qi(l), u_extrude_scale: new cp(l), u_device_pixel_ratio: new Qi(l), u_matrix: new iu(l), u_inv_rot_matrix: new iu(l), u_merc_center: new Es(l), u_tile_id: new ap(l), u_zoom_transition: new Qi(l), u_up_dir: new ap(l), u_emissive_strength: new Qi(l) }), i.cO = (l) => ({ u_matrix: new iu(l), u_pixels_to_tile_units: new cp(l), u_device_pixel_ratio: new Qi(l), u_units_to_pixels: new Es(l), u_dash_image: new Ga(l), u_gradient_image: new Ga(l), u_image_height: new Qi(l), u_texsize: new Es(l), u_tile_units_to_pixels: new Qi(l), u_alpha_discard_threshold: new Qi(l), u_trim_offset: new Es(l), u_trim_fade_range: new Es(l), u_trim_color: new zh(l), u_emissive_strength: new Qi(l) }), i.cP = (l) => ({ u_matrix: new iu(l), u_texsize: new Es(l), u_pixels_to_tile_units: new cp(l), u_device_pixel_ratio: new Qi(l), u_image: new Ga(l), u_units_to_pixels: new Es(l), u_tile_units_to_pixels: new Qi(l), u_alpha_discard_threshold: new Qi(l), u_trim_offset: new Es(l) }), i.cQ = co, i.cR = E4, i.cS = C4, i.cT = DS, i.cU = (l, e, o, c, p, h) => {
|
|
35509
35509
|
const m = l.transform, b = m.projection.name === "globe";
|
|
35510
35510
|
let C;
|
|
35511
35511
|
if (h.paint.get("circle-pitch-alignment") === "map")
|
|
35512
35512
|
if (b) {
|
|
35513
|
-
const v =
|
|
35513
|
+
const v = RS(m.zoom, e.canonical) * m._pixelsPerMercatorPixel;
|
|
35514
35514
|
C = Float32Array.from([v, 0, 0, v]);
|
|
35515
35515
|
} else
|
|
35516
35516
|
C = m.calculatePixelsToTileUnitsMatrix(o);
|
|
@@ -35523,13 +35523,13 @@ ${JSON.stringify(p, null, 2)}
|
|
|
35523
35523
|
A.u_up_dir = m.projection.upVector(new Oi(0, 0, 0), v, S);
|
|
35524
35524
|
}
|
|
35525
35525
|
return A;
|
|
35526
|
-
}, i.cV =
|
|
35526
|
+
}, i.cV = j2, i.cW = (l, e, o, c, p, h) => {
|
|
35527
35527
|
const m = l.transform;
|
|
35528
|
-
return { u_matrix:
|
|
35528
|
+
return { u_matrix: V2(l, e, o, c), u_texsize: e.imageAtlasTexture ? e.imageAtlasTexture.size : [0, 0], u_pixels_to_tile_units: m.calculatePixelsToTileUnitsMatrix(e), u_device_pixel_ratio: p, u_image: 0, u_tile_units_to_pixels: U2(e, m), u_units_to_pixels: [1 / m.pixelsToGLUnits[0], 1 / m.pixelsToGLUnits[1]], u_alpha_discard_threshold: 0, u_trim_offset: h };
|
|
35529
35529
|
}, i.cX = (l, e, o, c, p, h, m) => {
|
|
35530
35530
|
const b = l.transform, C = b.calculatePixelsToTileUnitsMatrix(e);
|
|
35531
|
-
return { u_matrix:
|
|
35532
|
-
}, i.cY = Gi, i.cZ = dp, i.c_ =
|
|
35531
|
+
return { u_matrix: V2(l, e, o, c), u_pixels_to_tile_units: C, u_device_pixel_ratio: h, u_units_to_pixels: [1 / b.pixelsToGLUnits[0], 1 / b.pixelsToGLUnits[1]], u_dash_image: 0, u_gradient_image: 1, u_image_height: p, u_texsize: $2(o) && e.lineAtlasTexture ? e.lineAtlasTexture.size : [0, 0], u_tile_units_to_pixels: U2(e, l.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") };
|
|
35532
|
+
}, i.cY = Gi, i.cZ = dp, i.c_ = A2, i.ca = In, i.cb = function(l) {
|
|
35533
35533
|
return [Math.pow(l[0], 1 / 2.2), Math.pow(l[1], 1 / 2.2), Math.pow(l[2], 1 / 2.2)];
|
|
35534
35534
|
}, i.cc = function(l) {
|
|
35535
35535
|
return l({ pluginStatus: Fi, pluginURL: ca }), Gf.on("pluginStateChange", l), l;
|
|
@@ -35567,7 +35567,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
35567
35567
|
return xe.mat4.translate(c, c, [l.point.x, l.point.y, 0]), xe.mat4.scale(c, c, [o, o, e]), Float32Array.from(c);
|
|
35568
35568
|
}, i.cz = Yg, i.d = function(l) {
|
|
35569
35569
|
return Re.API_TILEJSON_REGEX.test(l);
|
|
35570
|
-
}, i.d$ = L, i.d0 = a_, i.d1 = Xl, i.d2 = 450, i.d3 = 7, i.d4 = nD, i.d5 = fr, i.d6 = Lh, i.d7 = 256, i.d8 = B1, i.d9 = da, i.dA =
|
|
35570
|
+
}, i.d$ = L, i.d0 = a_, i.d1 = Xl, i.d2 = 450, i.d3 = 7, i.d4 = nD, i.d5 = fr, i.d6 = Lh, i.d7 = 256, i.d8 = B1, i.d9 = da, i.dA = PS, i.dB = function(l) {
|
|
35571
35571
|
const e = [0, 0, 0], o = xe.mat4.identity(new Float64Array(16));
|
|
35572
35572
|
return xe.mat4.multiply(o, l.pixelMatrix, l.globeMatrix), xe.vec3.transformMat4(e, e, o), new gt(e[0], e[1]);
|
|
35573
35573
|
}, i.dC = function(l, e, o = !1) {
|
|
@@ -35589,7 +35589,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
35589
35589
|
Ov = Ct.resolveURL(l), Xh || (Xh = new Wh(P_(), new pl())), Xh.broadcast("setDracoUrl", Ov);
|
|
35590
35590
|
}, i.dL = wE, i.dM = function(l) {
|
|
35591
35591
|
Yh = Ct.resolveURL(l), Xh || (Xh = new Wh(P_(), new pl())), Xh.broadcast("setMeshoptUrl", Yh);
|
|
35592
|
-
}, i.dN = rn, i.dO = Yl, i.dP = qs, i.dQ = LE, i.dR = kE, i.dS =
|
|
35592
|
+
}, i.dN = rn, i.dO = Yl, i.dP = qs, i.dQ = LE, i.dR = kE, i.dS = O2, i.dT = xo, i.dU = uT, i.dV = function(l, e, o, c, p, h, m, b, C, A, v) {
|
|
35593
35593
|
l.createArrays(), l.tilePixelRatio = jt / (512 * l.overscaling), l.compareText = {}, l.iconsNeedLinear = !1;
|
|
35594
35594
|
const S = l.layers[0].layout, M = l.layers[0]._unevaluatedLayout._values, E = {};
|
|
35595
35595
|
if (l.textSizeData.kind === "composite") {
|
|
@@ -35652,7 +35652,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
35652
35652
|
l.iconsInText || (l.iconsInText = !!ae && ae.iconsInText), (ae || re) && $4(l, B, W, re, c, E, F, 0, he, pe, m, b, A, v, D);
|
|
35653
35653
|
}
|
|
35654
35654
|
h && l.generateCollisionDebugBuffers(C, l.collisionBoxArray);
|
|
35655
|
-
}, i.dW = Fh, i.dX = L_, i.dY = wn, i.dZ =
|
|
35655
|
+
}, i.dW = Fh, i.dX = L_, i.dY = wn, i.dZ = s2, i.d_ = Y2, i.da = js, i.db = np, i.dc = function(l, e, o, c, p) {
|
|
35656
35656
|
return Et((l - e) / (o - e) * (p - c) + c, c, p);
|
|
35657
35657
|
}, i.dd = uh, i.de = Fe, i.df = class {
|
|
35658
35658
|
constructor(l, e, o, c) {
|
|
@@ -35679,7 +35679,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
35679
35679
|
return this._updateTime;
|
|
35680
35680
|
}
|
|
35681
35681
|
getReplacementRegionsForTile(l, e = !1) {
|
|
35682
|
-
const o =
|
|
35682
|
+
const o = d2(new gt(0, 0), new gt(jt, jt), l), c = [];
|
|
35683
35683
|
if (e && !K1(o, this._globalClipBounds))
|
|
35684
35684
|
return c;
|
|
35685
35685
|
for (const p of this._activeRegions) {
|
|
@@ -35708,7 +35708,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
35708
35708
|
for (const h of e) {
|
|
35709
35709
|
if (!h.footprint)
|
|
35710
35710
|
continue;
|
|
35711
|
-
const m =
|
|
35711
|
+
const m = d2(h.footprint.min, h.footprint.max, h.id);
|
|
35712
35712
|
this._activeRegions.push({ min: m.min, max: m.max, hiddenByOverlap: !1, priority: this._sourceIds.length, tileId: h.id, footprint: h.footprint, order: o, clipMask: c, clipScope: p });
|
|
35713
35713
|
}
|
|
35714
35714
|
this._sourceIds.push(l.getSourceId());
|
|
@@ -35723,7 +35723,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
35723
35723
|
let e = 0;
|
|
35724
35724
|
for (; !l && e !== this._activeRegions.length; ) {
|
|
35725
35725
|
const o = this._activeRegions[e], c = this._prevRegions[e];
|
|
35726
|
-
l = o.priority !== c.priority || !
|
|
35726
|
+
l = o.priority !== c.priority || !h2(o, c) || o.order !== c.order || o.clipMask !== c.clipMask || !dr(o.clipScope, c.clipScope), ++e;
|
|
35727
35727
|
}
|
|
35728
35728
|
}
|
|
35729
35729
|
if (l) {
|
|
@@ -35749,7 +35749,7 @@ ${JSON.stringify(p, null, 2)}
|
|
|
35749
35749
|
m.hiddenByOverlap = !1;
|
|
35750
35750
|
for (let b = 0; b < h; b++) {
|
|
35751
35751
|
const C = this._activeRegions[b];
|
|
35752
|
-
if (!C.hiddenByOverlap && m.order === i_ && K1(m, C) && (m.hiddenByOverlap =
|
|
35752
|
+
if (!C.hiddenByOverlap && m.order === i_ && K1(m, C) && (m.hiddenByOverlap = p2(m.footprint, m.tileId, C.footprint, C.tileId), m.hiddenByOverlap))
|
|
35753
35753
|
break;
|
|
35754
35754
|
}
|
|
35755
35755
|
++p;
|
|
@@ -54010,11 +54010,11 @@ function BZ(t, r, s) {
|
|
|
54010
54010
|
case "LineString":
|
|
54011
54011
|
return ea(r).geometry;
|
|
54012
54012
|
case "Polygon":
|
|
54013
|
-
return
|
|
54013
|
+
return eS(r).geometry;
|
|
54014
54014
|
case "MultiPoint":
|
|
54015
54015
|
return fP(r).geometry;
|
|
54016
54016
|
case "MultiLineString":
|
|
54017
|
-
return
|
|
54017
|
+
return tS(r).geometry;
|
|
54018
54018
|
case "MultiPolygon":
|
|
54019
54019
|
return pP(r).geometry;
|
|
54020
54020
|
default:
|
|
@@ -54041,7 +54041,7 @@ function FZ(t, r, s) {
|
|
|
54041
54041
|
return Qs(u, r);
|
|
54042
54042
|
}), s);
|
|
54043
54043
|
}
|
|
54044
|
-
function
|
|
54044
|
+
function eS(t, r, s) {
|
|
54045
54045
|
s === void 0 && (s = {});
|
|
54046
54046
|
for (var u = 0, g = t; u < g.length; u++) {
|
|
54047
54047
|
var y = g[u];
|
|
@@ -54059,7 +54059,7 @@ function e2(t, r, s) {
|
|
|
54059
54059
|
}
|
|
54060
54060
|
function UZ(t, r, s) {
|
|
54061
54061
|
return s === void 0 && (s = {}), yc(t.map(function(u) {
|
|
54062
|
-
return
|
|
54062
|
+
return eS(u, r);
|
|
54063
54063
|
}), s);
|
|
54064
54064
|
}
|
|
54065
54065
|
function ea(t, r, s) {
|
|
@@ -54081,7 +54081,7 @@ function yc(t, r) {
|
|
|
54081
54081
|
var s = { type: "FeatureCollection" };
|
|
54082
54082
|
return r.id && (s.id = r.id), r.bbox && (s.bbox = r.bbox), s.features = t, s;
|
|
54083
54083
|
}
|
|
54084
|
-
function
|
|
54084
|
+
function tS(t, r, s) {
|
|
54085
54085
|
s === void 0 && (s = {});
|
|
54086
54086
|
var u = {
|
|
54087
54087
|
type: "MultiLineString",
|
|
@@ -54126,7 +54126,7 @@ function mP(t, r) {
|
|
|
54126
54126
|
throw new Error(r + " units is invalid");
|
|
54127
54127
|
return t * s;
|
|
54128
54128
|
}
|
|
54129
|
-
function
|
|
54129
|
+
function nS(t, r) {
|
|
54130
54130
|
r === void 0 && (r = "kilometers");
|
|
54131
54131
|
var s = Qw[r];
|
|
54132
54132
|
if (!s)
|
|
@@ -54134,7 +54134,7 @@ function n2(t, r) {
|
|
|
54134
54134
|
return t / s;
|
|
54135
54135
|
}
|
|
54136
54136
|
function GZ(t, r) {
|
|
54137
|
-
return gP(
|
|
54137
|
+
return gP(nS(t, r));
|
|
54138
54138
|
}
|
|
54139
54139
|
function HZ(t) {
|
|
54140
54140
|
var r = t % 360;
|
|
@@ -54151,7 +54151,7 @@ function qZ(t) {
|
|
|
54151
54151
|
function WZ(t, r, s) {
|
|
54152
54152
|
if (r === void 0 && (r = "kilometers"), s === void 0 && (s = "kilometers"), !(t >= 0))
|
|
54153
54153
|
throw new Error("length must be a positive number");
|
|
54154
|
-
return mP(
|
|
54154
|
+
return mP(nS(t, r), s);
|
|
54155
54155
|
}
|
|
54156
54156
|
function ZZ(t, r, s) {
|
|
54157
54157
|
if (r === void 0 && (r = "meters"), s === void 0 && (s = "kilometers"), !(t >= 0))
|
|
@@ -54167,7 +54167,7 @@ function ZZ(t, r, s) {
|
|
|
54167
54167
|
function $y(t) {
|
|
54168
54168
|
return !isNaN(t) && t !== null && !Array.isArray(t);
|
|
54169
54169
|
}
|
|
54170
|
-
function
|
|
54170
|
+
function rS(t) {
|
|
54171
54171
|
return !!t && t.constructor === Object;
|
|
54172
54172
|
}
|
|
54173
54173
|
function YZ(t) {
|
|
@@ -54202,17 +54202,17 @@ const KZ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
54202
54202
|
geometry: BZ,
|
|
54203
54203
|
geometryCollection: jZ,
|
|
54204
54204
|
isNumber: $y,
|
|
54205
|
-
isObject:
|
|
54205
|
+
isObject: rS,
|
|
54206
54206
|
lengthToDegrees: GZ,
|
|
54207
|
-
lengthToRadians:
|
|
54207
|
+
lengthToRadians: nS,
|
|
54208
54208
|
lineString: ea,
|
|
54209
54209
|
lineStrings: VZ,
|
|
54210
|
-
multiLineString:
|
|
54210
|
+
multiLineString: tS,
|
|
54211
54211
|
multiPoint: fP,
|
|
54212
54212
|
multiPolygon: pP,
|
|
54213
54213
|
point: Qs,
|
|
54214
54214
|
points: FZ,
|
|
54215
|
-
polygon:
|
|
54215
|
+
polygon: eS,
|
|
54216
54216
|
polygons: UZ,
|
|
54217
54217
|
radiansToDegrees: gP,
|
|
54218
54218
|
radiansToLength: mP,
|
|
@@ -54362,7 +54362,7 @@ function tY(t) {
|
|
|
54362
54362
|
r.push(s);
|
|
54363
54363
|
}), r;
|
|
54364
54364
|
}
|
|
54365
|
-
function
|
|
54365
|
+
function iS(t, r) {
|
|
54366
54366
|
var s, u, g, y, T, i, L, z, U, q, Z = 0, J = t.type === "FeatureCollection", ne = t.type === "Feature", me = J ? t.features.length : 1;
|
|
54367
54367
|
for (s = 0; s < me; s++) {
|
|
54368
54368
|
for (i = J ? t.features[s].geometry : ne ? t.geometry : t, z = J ? t.features[s].properties : ne ? t.properties : {}, U = J ? t.features[s].bbox : ne ? t.bbox : void 0, q = J ? t.features[s].id : ne ? t.id : void 0, L = i ? i.type === "GeometryCollection" : !1, T = L ? i.geometries.length : 1, g = 0; g < T; g++) {
|
|
@@ -54415,7 +54415,7 @@ function i2(t, r) {
|
|
|
54415
54415
|
}
|
|
54416
54416
|
function nY(t, r, s) {
|
|
54417
54417
|
var u = s;
|
|
54418
|
-
return
|
|
54418
|
+
return iS(
|
|
54419
54419
|
t,
|
|
54420
54420
|
function(g, y, T, i, L) {
|
|
54421
54421
|
y === 0 && s === void 0 ? u = g : u = r(
|
|
@@ -54430,7 +54430,7 @@ function nY(t, r, s) {
|
|
|
54430
54430
|
), u;
|
|
54431
54431
|
}
|
|
54432
54432
|
function sl(t, r) {
|
|
54433
|
-
|
|
54433
|
+
iS(t, function(s, u, g, y, T) {
|
|
54434
54434
|
var i = s === null ? null : s.type;
|
|
54435
54435
|
switch (i) {
|
|
54436
54436
|
case null:
|
|
@@ -54570,7 +54570,7 @@ function oY(t, r, s) {
|
|
|
54570
54570
|
), u;
|
|
54571
54571
|
}
|
|
54572
54572
|
function sY(t, r) {
|
|
54573
|
-
if (r = r || {}, !
|
|
54573
|
+
if (r = r || {}, !rS(r))
|
|
54574
54574
|
throw new Error("options is invalid");
|
|
54575
54575
|
var s = r.featureIndex || 0, u = r.multiFeatureIndex || 0, g = r.geometryIndex || 0, y = r.segmentIndex || 0, T = r.properties, i;
|
|
54576
54576
|
switch (t.type) {
|
|
@@ -54636,7 +54636,7 @@ function sY(t, r) {
|
|
|
54636
54636
|
throw new Error("geojson is invalid");
|
|
54637
54637
|
}
|
|
54638
54638
|
function aY(t, r) {
|
|
54639
|
-
if (r = r || {}, !
|
|
54639
|
+
if (r = r || {}, !rS(r))
|
|
54640
54640
|
throw new Error("options is invalid");
|
|
54641
54641
|
var s = r.featureIndex || 0, u = r.multiFeatureIndex || 0, g = r.geometryIndex || 0, y = r.coordIndex || 0, T = r.properties, i;
|
|
54642
54642
|
switch (t.type) {
|
|
@@ -54692,7 +54692,7 @@ const lY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
54692
54692
|
findSegment: sY,
|
|
54693
54693
|
flattenEach: sl,
|
|
54694
54694
|
flattenReduce: rY,
|
|
54695
|
-
geomEach:
|
|
54695
|
+
geomEach: iS,
|
|
54696
54696
|
geomReduce: nY,
|
|
54697
54697
|
lineEach: vP,
|
|
54698
54698
|
lineReduce: oY,
|
|
@@ -54812,7 +54812,7 @@ function mY(t, r) {
|
|
|
54812
54812
|
var s = t[0], u = t[1], g = r[0], y = r[1], T = s < g ? s : g, i = u < y ? u : y, L = s > g ? s : g, z = u > y ? u : y;
|
|
54813
54813
|
return [T, i, L, z];
|
|
54814
54814
|
}
|
|
54815
|
-
var
|
|
54815
|
+
var oS = { exports: {} }, xP = { exports: {} };
|
|
54816
54816
|
(function(t, r) {
|
|
54817
54817
|
(function(s, u) {
|
|
54818
54818
|
t.exports = u();
|
|
@@ -55107,11 +55107,11 @@ function SP(t) {
|
|
|
55107
55107
|
};
|
|
55108
55108
|
}, r;
|
|
55109
55109
|
}
|
|
55110
|
-
|
|
55111
|
-
|
|
55112
|
-
var bY =
|
|
55110
|
+
oS.exports = SP;
|
|
55111
|
+
oS.exports.default = SP;
|
|
55112
|
+
var bY = oS.exports;
|
|
55113
55113
|
const wY = /* @__PURE__ */ Yy(bY);
|
|
55114
|
-
function
|
|
55114
|
+
function sS(t, r) {
|
|
55115
55115
|
var s = {}, u = [];
|
|
55116
55116
|
if (t.type === "LineString" && (t = zs(t)), r.type === "LineString" && (r = zs(r)), t.type === "Feature" && r.type === "Feature" && t.geometry !== null && r.geometry !== null && t.geometry.type === "LineString" && r.geometry.type === "LineString" && t.geometry.coordinates.length === 2 && r.geometry.coordinates.length === 2) {
|
|
55117
55117
|
var g = C3(t, r);
|
|
@@ -55169,7 +55169,7 @@ function TY(t, r) {
|
|
|
55169
55169
|
}), yc(y);
|
|
55170
55170
|
}
|
|
55171
55171
|
function TP(t, r) {
|
|
55172
|
-
return t.length > 1 ?
|
|
55172
|
+
return t.length > 1 ? tS(t, r) : ea(t[0], r);
|
|
55173
55173
|
}
|
|
55174
55174
|
function EY(t, r) {
|
|
55175
55175
|
var s = !0;
|
|
@@ -55222,7 +55222,7 @@ function I3(t, r) {
|
|
|
55222
55222
|
return !1;
|
|
55223
55223
|
}
|
|
55224
55224
|
function IY(t, r) {
|
|
55225
|
-
var s =
|
|
55225
|
+
var s = sS(t, r);
|
|
55226
55226
|
return s.features.length > 0;
|
|
55227
55227
|
}
|
|
55228
55228
|
function M3(t, r) {
|
|
@@ -55231,7 +55231,7 @@ function M3(t, r) {
|
|
|
55231
55231
|
if (bm(g, t))
|
|
55232
55232
|
return !0;
|
|
55233
55233
|
}
|
|
55234
|
-
var y =
|
|
55234
|
+
var y = sS(r, Db(t));
|
|
55235
55235
|
return y.features.length > 0;
|
|
55236
55236
|
}
|
|
55237
55237
|
function MY(t, r) {
|
|
@@ -55245,7 +55245,7 @@ function MY(t, r) {
|
|
|
55245
55245
|
if (bm(i, t))
|
|
55246
55246
|
return !0;
|
|
55247
55247
|
}
|
|
55248
|
-
var L =
|
|
55248
|
+
var L = sS(Db(t), Db(r));
|
|
55249
55249
|
return L.features.length > 0;
|
|
55250
55250
|
}
|
|
55251
55251
|
function AY(t, r, s) {
|
|
@@ -55450,12 +55450,12 @@ const La = $n({
|
|
|
55450
55450
|
key: "primaryColor",
|
|
55451
55451
|
default: "#005655"
|
|
55452
55452
|
});
|
|
55453
|
-
const
|
|
55453
|
+
const aS = $n({
|
|
55454
55454
|
key: "logo",
|
|
55455
55455
|
default: void 0
|
|
55456
55456
|
});
|
|
55457
55457
|
function kY() {
|
|
55458
|
-
const t = Jt(La), r = Jt(
|
|
55458
|
+
const t = Jt(La), r = Jt(aS);
|
|
55459
55459
|
return /* @__PURE__ */ je.jsx("div", { className: "splash-screen", "data-sentry-component": "SplashScreen", "data-sentry-source-file": "SplashScreen.jsx", children: /* @__PURE__ */ je.jsxs("div", { className: "splash-screen__container", children: [
|
|
55460
55460
|
/* @__PURE__ */ je.jsx("img", { className: "splash-screen__logo", src: r, alt: "logo" }),
|
|
55461
55461
|
/* @__PURE__ */ je.jsx("div", { className: "splash-screen__loader", style: {
|
|
@@ -55846,7 +55846,7 @@ var UY = function(r, s) {
|
|
|
55846
55846
|
return r && s && s.split(" ").forEach(function(u) {
|
|
55847
55847
|
return NY(r, u);
|
|
55848
55848
|
});
|
|
55849
|
-
},
|
|
55849
|
+
}, lS = /* @__PURE__ */ function(t) {
|
|
55850
55850
|
RP(r, t);
|
|
55851
55851
|
function r() {
|
|
55852
55852
|
for (var u, g = arguments.length, y = new Array(g), T = 0; T < g; T++)
|
|
@@ -55905,10 +55905,10 @@ var UY = function(r, s) {
|
|
|
55905
55905
|
}));
|
|
55906
55906
|
}, r;
|
|
55907
55907
|
}(Nr.Component);
|
|
55908
|
-
|
|
55908
|
+
lS.defaultProps = {
|
|
55909
55909
|
classNames: ""
|
|
55910
55910
|
};
|
|
55911
|
-
|
|
55911
|
+
lS.propTypes = process.env.NODE_ENV !== "production" ? Vy({}, kP.propTypes, {
|
|
55912
55912
|
/**
|
|
55913
55913
|
* The animation classNames applied to the component as it appears, enters,
|
|
55914
55914
|
* exits or has finished the transition. A single name can be provided, which
|
|
@@ -56032,7 +56032,7 @@ l2.propTypes = process.env.NODE_ENV !== "production" ? Vy({}, kP.propTypes, {
|
|
|
56032
56032
|
*/
|
|
56033
56033
|
onExited: qe.func
|
|
56034
56034
|
}) : {};
|
|
56035
|
-
const VY =
|
|
56035
|
+
const VY = lS;
|
|
56036
56036
|
const jY = (t) => /* @__PURE__ */ gn.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ gn.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 1.66667C0 0.746192 0.746193 0 1.66667 0H11.6667C12.5872 0 13.3333 0.746193 13.3333 1.66667V20H8.33333V17.5C8.33333 16.5795 7.58714 15.8333 6.66667 15.8333C5.74619 15.8333 5 16.5795 5 17.5V20H0V1.66667ZM14.5833 8.33333H18.3333C19.2538 8.33333 20 9.0795 20 10V20H14.5833V8.33333ZM3.33333 2.5C2.8731 2.5 2.5 2.8731 2.5 3.33333V5.41667C2.5 5.8769 2.8731 6.25 3.33333 6.25H4.58333C5.04357 6.25 5.41667 5.8769 5.41667 5.41667V3.33333C5.41667 2.8731 5.04357 2.5 4.58333 2.5H3.33333ZM7.91667 3.33333C7.91667 2.8731 8.28977 2.5 8.75 2.5H10C10.4602 2.5 10.8333 2.8731 10.8333 3.33333V5.41667C10.8333 5.8769 10.4602 6.25 10 6.25H8.75C8.28976 6.25 7.91667 5.8769 7.91667 5.41667V3.33333ZM3.33333 9.58333C2.8731 9.58333 2.5 9.95642 2.5 10.4167V12.5C2.5 12.9602 2.8731 13.3333 3.33333 13.3333H4.58333C5.04357 13.3333 5.41667 12.9602 5.41667 12.5V10.4167C5.41667 9.95642 5.04357 9.58333 4.58333 9.58333H3.33333ZM7.91667 10.4167C7.91667 9.95642 8.28977 9.58333 8.75 9.58333H10C10.4602 9.58333 10.8333 9.95642 10.8333 10.4167V12.5C10.8333 12.9602 10.4602 13.3333 10 13.3333H8.75C8.28976 13.3333 7.91667 12.9602 7.91667 12.5V10.4167Z", fill: "#707070" })), H0 = (t) => /* @__PURE__ */ gn.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ gn.createElement("path", { d: "M6 6L18 18", stroke: "#636971", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ gn.createElement("path", { d: "M18 6L6 18", stroke: "#636971", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
56037
56037
|
DP.propTypes = {
|
|
56038
56038
|
venue: qe.object.isRequired,
|
|
@@ -56060,7 +56060,7 @@ function DP({
|
|
|
56060
56060
|
] })
|
|
56061
56061
|
] });
|
|
56062
56062
|
}
|
|
56063
|
-
const
|
|
56063
|
+
const cS = $n({
|
|
56064
56064
|
key: "isLocationClicked",
|
|
56065
56065
|
default: !1
|
|
56066
56066
|
});
|
|
@@ -56076,7 +56076,7 @@ function OP({
|
|
|
56076
56076
|
}) {
|
|
56077
56077
|
const {
|
|
56078
56078
|
t: u
|
|
56079
|
-
} = ts(), g = Cr(null), y = Jt(Vm), [, T] = vn(Jw), [i, L] = vn(ef), [, z] = vn(
|
|
56079
|
+
} = ts(), g = Cr(null), y = Jt(Vm), [, T] = vn(Jw), [i, L] = vn(ef), [, z] = vn(cS), U = (J) => {
|
|
56080
56080
|
T(!0), L(J.name), q();
|
|
56081
56081
|
}, q = () => {
|
|
56082
56082
|
s ? r() : t();
|
|
@@ -56347,11 +56347,11 @@ function D3(t) {
|
|
|
56347
56347
|
const q0 = $n({
|
|
56348
56348
|
key: "directionsResponse",
|
|
56349
56349
|
default: null
|
|
56350
|
-
}),
|
|
56350
|
+
}), uS = $n({
|
|
56351
56351
|
key: "hasFoundRoute",
|
|
56352
56352
|
default: !0
|
|
56353
56353
|
}), FP = (t, r, s, u, g) => {
|
|
56354
|
-
const [y, T] = dn(), [i, L] = dn(), [z, U] = vn(
|
|
56354
|
+
const [y, T] = dn(), [i, L] = dn(), [z, U] = vn(uS), [, q] = vn(q0), [Z, J] = dn();
|
|
56355
56355
|
return Bt(() => {
|
|
56356
56356
|
J(!1), t != null && t.geometry && (r != null && r.geometry) && s.getRoute({
|
|
56357
56357
|
origin: D3(t),
|
|
@@ -56560,13 +56560,13 @@ jP.displayName = "ClickAwayListener";
|
|
|
56560
56560
|
const X0 = $n({
|
|
56561
56561
|
key: "searchAllVenues",
|
|
56562
56562
|
default: !1
|
|
56563
|
-
}),
|
|
56563
|
+
}), hS = $n({
|
|
56564
56564
|
key: "searchExternalLocations",
|
|
56565
56565
|
default: !0
|
|
56566
56566
|
}), $P = k0({
|
|
56567
56567
|
key: "baseLink",
|
|
56568
56568
|
get: ({ get: t }) => {
|
|
56569
|
-
const r = t(Yw), s = t(B0), u = t(Zw), g = t(La), y = t(Bu), T = t(X0), i = t(
|
|
56569
|
+
const r = t(Yw), s = t(B0), u = t(Zw), g = t(La), y = t(Bu), T = t(X0), i = t(hS), L = t(aS), z = window.location.origin + window.location.pathname.replace(/\/$/, ""), U = new URLSearchParams(window.location.search), q = new URLSearchParams();
|
|
56570
56570
|
return [
|
|
56571
56571
|
["gmApiKey", r],
|
|
56572
56572
|
["mapboxAccessToken", s],
|
|
@@ -56709,7 +56709,7 @@ function WP({
|
|
|
56709
56709
|
/* @__PURE__ */ je.jsx("span", { className: "contact-action-button__text", children: y })
|
|
56710
56710
|
] });
|
|
56711
56711
|
}
|
|
56712
|
-
|
|
56712
|
+
dS.propTypes = {
|
|
56713
56713
|
onBack: qe.func,
|
|
56714
56714
|
onStartWayfinding: qe.func,
|
|
56715
56715
|
onSetSize: qe.func,
|
|
@@ -56717,7 +56717,7 @@ d2.propTypes = {
|
|
|
56717
56717
|
onStartDirections: qe.func,
|
|
56718
56718
|
isOpen: qe.bool
|
|
56719
56719
|
};
|
|
56720
|
-
function
|
|
56720
|
+
function dS({
|
|
56721
56721
|
onBack: t,
|
|
56722
56722
|
onStartWayfinding: r,
|
|
56723
56723
|
onSetSize: s,
|
|
@@ -56854,7 +56854,7 @@ const lX = () => {
|
|
|
56854
56854
|
s && s.getMapView().removeListener("idle", g);
|
|
56855
56855
|
};
|
|
56856
56856
|
}, [s, u]), t;
|
|
56857
|
-
},
|
|
56857
|
+
}, fS = $n({
|
|
56858
56858
|
key: "searchInput",
|
|
56859
56859
|
default: void 0
|
|
56860
56860
|
}), qy = $b(function(r, s) {
|
|
@@ -56869,7 +56869,7 @@ const lX = () => {
|
|
|
56869
56869
|
google: U,
|
|
56870
56870
|
mapbox: q,
|
|
56871
56871
|
disabled: Z = !1
|
|
56872
|
-
} = r, J = Cr(), ne = Jt(z0), me = Jt(Bu), [, Oe] = vn(
|
|
56872
|
+
} = r, J = Cr(), ne = Jt(z0), me = Jt(Bu), [, Oe] = vn(fS), Ce = sessionStorage.getItem("mapboxPlacesSessionToken"), ie = {
|
|
56873
56873
|
longitude: ne == null ? void 0 : ne.coords.longitude,
|
|
56874
56874
|
latitude: ne == null ? void 0 : ne.coords.latitude
|
|
56875
56875
|
}, se = lX(), de = Jt(ef), le = Jt(X0);
|
|
@@ -56982,10 +56982,10 @@ const fX = k0({
|
|
|
56982
56982
|
key: "unitSystem",
|
|
56983
56983
|
get: ({ get: t }) => t(Bu) === "en-US" ? "imperial" : "metric"
|
|
56984
56984
|
});
|
|
56985
|
-
|
|
56985
|
+
pS.propTypes = {
|
|
56986
56986
|
onAccessibilityChanged: qe.func
|
|
56987
56987
|
};
|
|
56988
|
-
function
|
|
56988
|
+
function pS({
|
|
56989
56989
|
onAccessibilityChanged: t
|
|
56990
56990
|
}) {
|
|
56991
56991
|
const r = Jt(La), [s, u] = vn(Z0);
|
|
@@ -57006,7 +57006,7 @@ const YP = $n({
|
|
|
57006
57006
|
TO: "TO",
|
|
57007
57007
|
FROM: "FROM"
|
|
57008
57008
|
}, pX = "data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 14 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 0C3.13 0 0 3.13 0 7C0 12.25 7 20 7 20C7 20 14 12.25 14 7C14 3.13 10.87 0 7 0ZM7 9.5C5.62 9.5 4.5 8.38 4.5 7C4.5 5.62 5.62 4.5 7 4.5C8.38 4.5 9.5 5.62 9.5 7C9.5 8.38 8.38 9.5 7 9.5Z' fill='black' fill-opacity='0.88'/%3E%3C/svg%3E%0A";
|
|
57009
|
-
|
|
57009
|
+
mS.propTypes = {
|
|
57010
57010
|
onStartDirections: qe.func.isRequired,
|
|
57011
57011
|
onBack: qe.func.isRequired,
|
|
57012
57012
|
directionsToLocation: qe.object,
|
|
@@ -57014,7 +57014,7 @@ m2.propTypes = {
|
|
|
57014
57014
|
onSetSize: qe.func,
|
|
57015
57015
|
isActive: qe.bool
|
|
57016
57016
|
};
|
|
57017
|
-
function
|
|
57017
|
+
function mS({
|
|
57018
57018
|
onStartDirections: t,
|
|
57019
57019
|
onBack: r,
|
|
57020
57020
|
directionsToLocation: s,
|
|
@@ -57024,7 +57024,7 @@ function m2({
|
|
|
57024
57024
|
}) {
|
|
57025
57025
|
const {
|
|
57026
57026
|
t: T
|
|
57027
|
-
} = ts(), i = Cr(), L = Cr(), z = Cr(), U = Cr(), q = Jt(Ww), Z = Jt(z0), J = Jt(Cc), ne = Jt(N0), me = Jt(La), [Oe, Ce] = vn(YP), [ie, se] = dn(), [, de] = vn(
|
|
57027
|
+
} = ts(), i = Cr(), L = Cr(), z = Cr(), U = Cr(), q = Jt(Ww), Z = Jt(z0), J = Jt(Cc), ne = Jt(N0), me = Jt(La), [Oe, Ce] = vn(YP), [ie, se] = dn(), [, de] = vn(uS), [le, Pe] = dn(!0), [we, Ge] = dn(!1), [ht, Le] = dn([]), [Ne, St] = dn(), [yt, Ot] = dn(), Ut = Jt(Z0), Qt = nf(), [$t, Yt] = dn(!1), [Gt, pt] = vn(W0), [Lt, Ze] = dn(!1), Je = Jt(B0), wt = Jt(fX), [Ht, kt, nn, sn] = FP(yt, Ne, q, Gt, Ut), Wt = Jt(hS);
|
|
57028
57028
|
function xe(Et) {
|
|
57029
57029
|
return ne === mo.Google && Et.properties.type === "google_places" ? cX(Et) : ne === mo.Mapbox && Et.properties.type === "mapbox_places" ? dX(Et, Je) : Promise.resolve(Et);
|
|
57030
57030
|
}
|
|
@@ -57130,7 +57130,7 @@ function m2({
|
|
|
57130
57130
|
] }) }),
|
|
57131
57131
|
!we && !Lt && nn && !$t && yt && Ne && /* @__PURE__ */ je.jsxs("div", { className: "wayfinding__details", ref: L, children: [
|
|
57132
57132
|
/* @__PURE__ */ je.jsxs("div", { className: "wayfinding__settings", children: [
|
|
57133
|
-
/* @__PURE__ */ je.jsx(
|
|
57133
|
+
/* @__PURE__ */ je.jsx(pS, {}),
|
|
57134
57134
|
/* @__PURE__ */ je.jsx("div", { className: "wayfinding__travel", children: /* @__PURE__ */ je.jsxs(ZP, { selectionChanged: (Et) => pt(Et[0].value), children: [
|
|
57135
57135
|
/* @__PURE__ */ je.jsxs("mi-dropdown-item", { selected: !0, value: _u.WALKING, children: [
|
|
57136
57136
|
/* @__PURE__ */ je.jsx(z3, {}),
|
|
@@ -57177,7 +57177,7 @@ function m2({
|
|
|
57177
57177
|
] })
|
|
57178
57178
|
] });
|
|
57179
57179
|
}
|
|
57180
|
-
const mX = (t) => /* @__PURE__ */ gn.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ gn.createElement("path", { d: "M4 12H20M20 12L14 6M20 12L14 18", stroke: "#111827", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), gX = (t) => /* @__PURE__ */ gn.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ gn.createElement("path", { d: "M20 12H4M4 12L10 6M4 12L10 18", stroke: "#111827", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })),
|
|
57180
|
+
const mX = (t) => /* @__PURE__ */ gn.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ gn.createElement("path", { d: "M4 12H20M20 12L14 6M20 12L14 18", stroke: "#111827", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), gX = (t) => /* @__PURE__ */ gn.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ gn.createElement("path", { d: "M20 12H4M4 12L10 6M4 12L10 18", stroke: "#111827", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), gS = $n({
|
|
57181
57181
|
key: "activeStep",
|
|
57182
57182
|
default: 0
|
|
57183
57183
|
}), jm = $n({
|
|
@@ -57281,7 +57281,7 @@ function JP({
|
|
|
57281
57281
|
}) {
|
|
57282
57282
|
const {
|
|
57283
57283
|
t: y
|
|
57284
|
-
} = ts(), T = nf(), i = Cr(), [L, z] = dn(), [U, q] = vn(
|
|
57284
|
+
} = ts(), T = nf(), i = Cr(), [L, z] = dn(), [U, q] = vn(gS), [Z, J] = dn(), ne = Jt(q0), me = Jt(jm), [, Oe] = vn(KP), Ce = $m();
|
|
57285
57285
|
Bt(() => {
|
|
57286
57286
|
J(t);
|
|
57287
57287
|
}, [t]), Bt(() => {
|
|
@@ -57310,14 +57310,14 @@ const QP = Object.freeze({
|
|
|
57310
57310
|
minZoom: 10
|
|
57311
57311
|
});
|
|
57312
57312
|
let Mo;
|
|
57313
|
-
|
|
57313
|
+
_S.propTypes = {
|
|
57314
57314
|
isOpen: qe.bool,
|
|
57315
57315
|
onBack: qe.func,
|
|
57316
57316
|
onSetSize: qe.func,
|
|
57317
57317
|
snapPointSwiped: qe.func,
|
|
57318
57318
|
onRouteFinished: qe.func
|
|
57319
57319
|
};
|
|
57320
|
-
function
|
|
57320
|
+
function _S({
|
|
57321
57321
|
isOpen: t,
|
|
57322
57322
|
onBack: r,
|
|
57323
57323
|
onSetSize: s,
|
|
@@ -57326,7 +57326,7 @@ function _2({
|
|
|
57326
57326
|
}) {
|
|
57327
57327
|
const {
|
|
57328
57328
|
t: y
|
|
57329
|
-
} = ts(), [T, i] = dn(null), L = Cr(null), [z, U] = dn(), q = Jt(na), Z = Jt(W0), J = Jt(q0), [, ne] = vn(
|
|
57329
|
+
} = ts(), [T, i] = dn(null), L = Cr(null), [z, U] = dn(), q = Jt(na), Z = Jt(W0), J = Jt(q0), [, ne] = vn(gS), [me, Oe] = vn(jm), Ce = Jt(cl), ie = Ec(), [, se] = vn(K0), de = Jt(KP), le = Jt(La), Pe = $m(), we = Jt(Y0), Ge = Jt($P), ht = Jt(Cc), Le = Jt(N0);
|
|
57330
57330
|
Bt(() => () => {
|
|
57331
57331
|
i(null);
|
|
57332
57332
|
}, []), Bt(() => {
|
|
@@ -57418,7 +57418,7 @@ function _2({
|
|
|
57418
57418
|
Pe && /* @__PURE__ */ je.jsxs(je.Fragment, { children: [
|
|
57419
57419
|
/* @__PURE__ */ je.jsx("hr", {}),
|
|
57420
57420
|
/* @__PURE__ */ je.jsxs("div", { className: "directions__kiosk", children: [
|
|
57421
|
-
/* @__PURE__ */ je.jsx(
|
|
57421
|
+
/* @__PURE__ */ je.jsx(pS, { onAccessibilityChanged: () => $t() }),
|
|
57422
57422
|
/* @__PURE__ */ je.jsxs("button", { className: "directions__qr-code", onClick: () => Lt(), children: [
|
|
57423
57423
|
/* @__PURE__ */ je.jsx(GP, {}),
|
|
57424
57424
|
y("Scan QR code")
|
|
@@ -57463,7 +57463,7 @@ tk.propTypes = {
|
|
|
57463
57463
|
const Q0 = $n({
|
|
57464
57464
|
key: "searchResults",
|
|
57465
57465
|
default: []
|
|
57466
|
-
}),
|
|
57466
|
+
}), yS = $n({
|
|
57467
57467
|
key: "selectedCategory",
|
|
57468
57468
|
default: void 0
|
|
57469
57469
|
});
|
|
@@ -57498,7 +57498,7 @@ function rk({
|
|
|
57498
57498
|
searchFieldRef: s,
|
|
57499
57499
|
isOpen: u
|
|
57500
57500
|
}) {
|
|
57501
|
-
const g = Cr(), y = Jt(Qd), T = Ec(), [i, L] = dn(!0), [z, U] = dn(!1), q = Jt(La), [Z, J] = vn(
|
|
57501
|
+
const g = Cr(), y = Jt(Qd), T = Ec(), [i, L] = dn(!0), [z, U] = dn(!1), q = Jt(La), [Z, J] = vn(yS), [, ne] = vn(Q0), [, me] = vn(F0), Oe = nf(), [Ce, ie] = dn(), se = Jt(BP), de = Jt(nk), le = Jt(na), Pe = UP(le, u);
|
|
57502
57502
|
function we(Ne) {
|
|
57503
57503
|
typeof t == "function" && t(Ne);
|
|
57504
57504
|
}
|
|
@@ -57581,22 +57581,22 @@ const bX = (t) => /* @__PURE__ */ gn.createElement("svg", { width: 24, height: 2
|
|
|
57581
57581
|
}
|
|
57582
57582
|
return s.sort((g, y) => g.index - y.index);
|
|
57583
57583
|
}
|
|
57584
|
-
}),
|
|
57584
|
+
}), vS = $n({
|
|
57585
57585
|
key: "initialVenueName",
|
|
57586
57586
|
default: null
|
|
57587
57587
|
});
|
|
57588
|
-
|
|
57588
|
+
xS.propTypes = {
|
|
57589
57589
|
categories: qe.array,
|
|
57590
57590
|
onSetSize: qe.func,
|
|
57591
57591
|
isOpen: qe.bool
|
|
57592
57592
|
};
|
|
57593
|
-
function
|
|
57593
|
+
function xS({
|
|
57594
57594
|
onSetSize: t,
|
|
57595
57595
|
isOpen: r
|
|
57596
57596
|
}) {
|
|
57597
57597
|
const {
|
|
57598
57598
|
t: s
|
|
57599
|
-
} = ts(), u = Cr(), g = Cr(), y = Cr(), T = Cr(), i = 100, [L, z] = dn(!0), [U, q] = vn(Q0), Z = Jt(Qd), J = Jt(ek), [ne, me] = dn(!1), [Oe, Ce] = vn(
|
|
57599
|
+
} = ts(), u = Cr(), g = Cr(), y = Cr(), T = Cr(), i = 100, [L, z] = dn(!0), [U, q] = vn(Q0), Z = Jt(Qd), J = Jt(ek), [ne, me] = dn(!1), [Oe, Ce] = vn(yS), ie = nf(), [se, de] = dn(), le = Jt(na), [, Pe] = vn(F0), [, we] = vn(Cc), [, Ge] = vn(cS), [ht, Le] = vn(ef), Ne = Jt(Bu), St = Ec(), yt = Jt(cl), [Ot, Ut] = dn(!1), Qt = Jt(fS), $t = $m(), [, Yt] = vn(e1), [Gt, pt] = dn(!1), Lt = Jt(ik), Ze = Jt(X0), Je = Jt(Vm), wt = Jt(vS);
|
|
57600
57600
|
function Ht(an) {
|
|
57601
57601
|
var Yn;
|
|
57602
57602
|
window.mapsindoors.services.LocationsService.getLocations({
|
|
@@ -57756,13 +57756,13 @@ function x2({
|
|
|
57756
57756
|
r && $t && U.length > 0 && l5(/* @__PURE__ */ je.jsx("div", { className: "search__scroll-buttons", children: /* @__PURE__ */ je.jsx("mi-scroll-buttons", { ref: g }) }), document.querySelector(".mapsindoors-map"))
|
|
57757
57757
|
] });
|
|
57758
57758
|
}
|
|
57759
|
-
|
|
57759
|
+
bS.propTypes = {
|
|
57760
57760
|
onLocationClick: qe.func.isRequired,
|
|
57761
57761
|
onBack: qe.func.isRequired,
|
|
57762
57762
|
locations: qe.arrayOf(qe.object),
|
|
57763
57763
|
onSetSize: qe.func
|
|
57764
57764
|
};
|
|
57765
|
-
function
|
|
57765
|
+
function bS({
|
|
57766
57766
|
onBack: t,
|
|
57767
57767
|
onLocationClick: r,
|
|
57768
57768
|
locations: s,
|
|
@@ -57814,7 +57814,7 @@ function ok({
|
|
|
57814
57814
|
function St() {
|
|
57815
57815
|
s(g.SEARCH), we(), ht([]);
|
|
57816
57816
|
}
|
|
57817
|
-
const yt = [/* @__PURE__ */ je.jsx(ud, { minHeight: le.length > 0 ? "136" : "80", preferredSizeSnapPoint: Ce, isOpen: u === g.SEARCH, children: /* @__PURE__ */ je.jsx(
|
|
57817
|
+
const yt = [/* @__PURE__ */ je.jsx(ud, { minHeight: le.length > 0 ? "136" : "80", preferredSizeSnapPoint: Ce, isOpen: u === g.SEARCH, children: /* @__PURE__ */ je.jsx(xS, { onSetSize: (Ot) => ie(Ot) }) }, "A"), /* @__PURE__ */ je.jsx(ud, { minHeight: "200", isOpen: u === g.EXTERNALIDS, preferredSizeSnapPoint: se, children: /* @__PURE__ */ je.jsx(bS, { onSetSize: (Ot) => de(Ot), onBack: () => St(), locations: Ge, onLocationClick: (Ot) => we(Ot), onLocationsFiltered: (Ot) => ht(Ot) }) }, "B"), /* @__PURE__ */ je.jsx(ud, { minHeight: "128", preferredSizeSnapPoint: i, isOpen: u === g.LOCATION_DETAILS, onSwipedToSnapPoint: (Ot) => U(Ot), children: /* @__PURE__ */ je.jsx(dS, { onSetSize: (Ot) => L(Ot), onStartWayfinding: () => s(g.WAYFINDING), onBack: () => Ne(), snapPointSwiped: z, onStartDirections: () => s(g.DIRECTIONS), isOpen: u === g.LOCATION_DETAILS }) }, "C"), /* @__PURE__ */ je.jsx(ud, { minHeight: "190", isOpen: u === g.WAYFINDING, preferredSizeSnapPoint: me, reFitWhenContentChanges: !0, children: /* @__PURE__ */ je.jsx(mS, { onSetSize: (Ot) => Oe(Ot), onStartDirections: () => s(g.DIRECTIONS), directionsToLocation: r, directionsFromLocation: t, onBack: () => s(Pe ? g.LOCATION_DETAILS : g.SEARCH), isActive: u === g.WAYFINDING }) }, "D"), /* @__PURE__ */ je.jsx(ud, { minHeight: "273", isOpen: u === g.DIRECTIONS, preferredSizeSnapPoint: q, onSwipedToSnapPoint: (Ot) => ne(Ot), children: /* @__PURE__ */ je.jsx(_S, { onSetSize: (Ot) => Z(Ot), isOpen: u === g.DIRECTIONS, onBack: () => s(g.WAYFINDING), snapPointSwiped: J, onRouteFinished: () => y() }) }, "E")];
|
|
57818
57818
|
return /* @__PURE__ */ je.jsx("div", { ref: T, className: "bottom-sheets", "data-sentry-component": "BottomSheet", "data-sentry-source-file": "BottomSheet.jsx", children: /* @__PURE__ */ je.jsx(zP.Provider, { value: T, "data-sentry-element": "unknown", "data-sentry-source-file": "BottomSheet.jsx", children: yt }) });
|
|
57819
57819
|
}
|
|
57820
57820
|
const wX = {
|
|
@@ -57849,7 +57849,7 @@ const wX = {
|
|
|
57849
57849
|
default: !1
|
|
57850
57850
|
});
|
|
57851
57851
|
function EX() {
|
|
57852
|
-
const t = Jt(
|
|
57852
|
+
const t = Jt(vS), [, r] = vn(ef), s = Xo(gS), u = Xo(Cc), g = Xo(q0), y = Xo(uS), T = Xo(cS), i = Xo(Kw), L = Xo(TX), z = Xo(jm), U = Xo(W0), q = Xo(Q0), Z = Xo(Z0), J = Xo(e1), ne = Xo(hP), me = Xo(Jw);
|
|
57853
57853
|
return () => {
|
|
57854
57854
|
s(), u(), g(), y(), T(), i(), L(), z(), U(), q(), Z(), J(), ne(), me(), t && r(t);
|
|
57855
57855
|
};
|
|
@@ -57909,7 +57909,7 @@ function sk({
|
|
|
57909
57909
|
function ne() {
|
|
57910
57910
|
s(q ? g.LOCATION_DETAILS : g.WAYFINDING);
|
|
57911
57911
|
}
|
|
57912
|
-
const me = [/* @__PURE__ */ je.jsx(hd, { isOpen: u === g.SEARCH, children: /* @__PURE__ */ je.jsx(
|
|
57912
|
+
const me = [/* @__PURE__ */ je.jsx(hd, { isOpen: u === g.SEARCH, children: /* @__PURE__ */ je.jsx(xS, { isOpen: u === g.SEARCH }) }, "A"), /* @__PURE__ */ je.jsx(hd, { isOpen: u === g.EXTERNALIDS, children: /* @__PURE__ */ je.jsx(bS, { onBack: () => J(), locations: L, onLocationClick: (Oe) => i(Oe), onLocationsFiltered: (Oe) => z(Oe) }) }, "B"), /* @__PURE__ */ je.jsx(hd, { isOpen: u === g.LOCATION_DETAILS, children: /* @__PURE__ */ je.jsx(dS, { onStartWayfinding: () => s(g.WAYFINDING), onBack: () => Z(), onStartDirections: () => s(g.DIRECTIONS), isOpen: u === g.LOCATION_DETAILS }) }, "C"), /* @__PURE__ */ je.jsx(hd, { isOpen: u === g.WAYFINDING, children: /* @__PURE__ */ je.jsx(mS, { onStartDirections: () => s(g.DIRECTIONS), directionsToLocation: r, directionsFromLocation: t, onBack: () => s(T ? g.LOCATION_DETAILS : g.SEARCH), isActive: u === g.WAYFINDING }) }, "D"), /* @__PURE__ */ je.jsx(hd, { isOpen: u === g.DIRECTIONS, children: /* @__PURE__ */ je.jsx(_S, { isOpen: u === g.DIRECTIONS, onBack: () => ne(), onRouteFinished: () => y() }) }, "E")];
|
|
57913
57913
|
return /* @__PURE__ */ je.jsx("div", { "data-sentry-component": "Sidebar", "data-sentry-source-file": "Sidebar.jsx", children: me });
|
|
57914
57914
|
}
|
|
57915
57915
|
const F3 = (t) => {
|
|
@@ -57931,7 +57931,7 @@ function IX() {
|
|
|
57931
57931
|
var Gm = {}, MX = function() {
|
|
57932
57932
|
return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
|
|
57933
57933
|
}, ak = {}, vs = {};
|
|
57934
|
-
let
|
|
57934
|
+
let wS;
|
|
57935
57935
|
const AX = [
|
|
57936
57936
|
0,
|
|
57937
57937
|
// Not used
|
|
@@ -57995,13 +57995,13 @@ vs.getBCHDigit = function(t) {
|
|
|
57995
57995
|
vs.setToSJISFunction = function(r) {
|
|
57996
57996
|
if (typeof r != "function")
|
|
57997
57997
|
throw new Error('"toSJISFunc" is not a valid function.');
|
|
57998
|
-
|
|
57998
|
+
wS = r;
|
|
57999
57999
|
};
|
|
58000
58000
|
vs.isKanjiModeEnabled = function() {
|
|
58001
|
-
return typeof
|
|
58001
|
+
return typeof wS < "u";
|
|
58002
58002
|
};
|
|
58003
58003
|
vs.toSJIS = function(r) {
|
|
58004
|
-
return
|
|
58004
|
+
return wS(r);
|
|
58005
58005
|
};
|
|
58006
58006
|
var t1 = {};
|
|
58007
58007
|
(function(t) {
|
|
@@ -58609,13 +58609,13 @@ r1.mul = function(r, s) {
|
|
|
58609
58609
|
};
|
|
58610
58610
|
})(dk);
|
|
58611
58611
|
const fk = dk;
|
|
58612
|
-
function
|
|
58612
|
+
function SS(t) {
|
|
58613
58613
|
this.genPoly = void 0, this.degree = t, this.degree && this.initialize(this.degree);
|
|
58614
58614
|
}
|
|
58615
|
-
|
|
58615
|
+
SS.prototype.initialize = function(r) {
|
|
58616
58616
|
this.degree = r, this.genPoly = fk.generateECPolynomial(this.degree);
|
|
58617
58617
|
};
|
|
58618
|
-
|
|
58618
|
+
SS.prototype.encode = function(r) {
|
|
58619
58619
|
if (!this.genPoly)
|
|
58620
58620
|
throw new Error("Encoder not initialized");
|
|
58621
58621
|
const s = new Uint8Array(r.length + this.degree);
|
|
@@ -58627,8 +58627,8 @@ S2.prototype.encode = function(r) {
|
|
|
58627
58627
|
}
|
|
58628
58628
|
return u;
|
|
58629
58629
|
};
|
|
58630
|
-
var kX =
|
|
58631
|
-
|
|
58630
|
+
var kX = SS, pk = {}, Ic = {}, TS = {};
|
|
58631
|
+
TS.isValid = function(r) {
|
|
58632
58632
|
return !isNaN(r) && r >= 1 && r <= 40;
|
|
58633
58633
|
};
|
|
58634
58634
|
var Pa = {};
|
|
@@ -58653,7 +58653,7 @@ Pa.testAlphanumeric = function(r) {
|
|
|
58653
58653
|
return BX.test(r);
|
|
58654
58654
|
};
|
|
58655
58655
|
(function(t) {
|
|
58656
|
-
const r =
|
|
58656
|
+
const r = TS, s = Pa;
|
|
58657
58657
|
t.NUMERIC = {
|
|
58658
58658
|
id: "Numeric",
|
|
58659
58659
|
bit: 1 << 0,
|
|
@@ -58714,7 +58714,7 @@ Pa.testAlphanumeric = function(r) {
|
|
|
58714
58714
|
};
|
|
58715
58715
|
})(Ic);
|
|
58716
58716
|
(function(t) {
|
|
58717
|
-
const r = vs, s = n1, u = t1, g = Ic, y =
|
|
58717
|
+
const r = vs, s = n1, u = t1, g = Ic, y = TS, T = 1 << 12 | 1 << 11 | 1 << 10 | 1 << 9 | 1 << 8 | 1 << 5 | 1 << 2 | 1 << 0, i = r.getBCHDigit(T);
|
|
58718
58718
|
function L(Z, J, ne) {
|
|
58719
58719
|
for (let me = 1; me <= 40; me++)
|
|
58720
58720
|
if (J <= t.getCapacity(me, ne, Z))
|
|
@@ -59279,7 +59279,7 @@ ak.create = function(r, s) {
|
|
|
59279
59279
|
let u = Rx.M, g, y;
|
|
59280
59280
|
return typeof s < "u" && (u = Rx.from(s.errorCorrectionLevel, Rx.M), g = Zy.from(s.version), y = Ub.from(s.maskPattern), s.toSJISFunc && i1.setToSJISFunction(s.toSJISFunc)), dK(r, g, u, y);
|
|
59281
59281
|
};
|
|
59282
|
-
var xk = {},
|
|
59282
|
+
var xk = {}, ES = {};
|
|
59283
59283
|
(function(t) {
|
|
59284
59284
|
function r(s) {
|
|
59285
59285
|
if (typeof s == "number" && (s = s.toString()), typeof s != "string")
|
|
@@ -59330,9 +59330,9 @@ var xk = {}, E2 = {};
|
|
|
59330
59330
|
u[ne++] = me.r, u[ne++] = me.g, u[ne++] = me.b, u[ne] = me.a;
|
|
59331
59331
|
}
|
|
59332
59332
|
};
|
|
59333
|
-
})(
|
|
59333
|
+
})(ES);
|
|
59334
59334
|
(function(t) {
|
|
59335
|
-
const r =
|
|
59335
|
+
const r = ES;
|
|
59336
59336
|
function s(g, y, T) {
|
|
59337
59337
|
g.clearRect(0, 0, y.width, y.height), y.style || (y.style = {}), y.height = T, y.width = T, y.style.height = T + "px", y.style.width = T + "px";
|
|
59338
59338
|
}
|
|
@@ -59356,7 +59356,7 @@ var xk = {}, E2 = {};
|
|
|
59356
59356
|
};
|
|
59357
59357
|
})(xk);
|
|
59358
59358
|
var bk = {};
|
|
59359
|
-
const fK =
|
|
59359
|
+
const fK = ES;
|
|
59360
59360
|
function j3(t, r) {
|
|
59361
59361
|
const s = t.a / 255, u = r + '="' + t.hex + '"';
|
|
59362
59362
|
return s < 1 ? u + " " + r + '-opacity="' + s.toFixed(2).slice(1) + '"' : u;
|
|
@@ -59379,7 +59379,7 @@ bk.render = function(r, s, u) {
|
|
|
59379
59379
|
return typeof u == "function" && u(null, Z), Z;
|
|
59380
59380
|
};
|
|
59381
59381
|
const mK = MX, jb = ak, wk = xk, gK = bk;
|
|
59382
|
-
function
|
|
59382
|
+
function CS(t, r, s, u, g) {
|
|
59383
59383
|
const y = [].slice.call(arguments, 1), T = y.length, i = typeof y[T - 1] == "function";
|
|
59384
59384
|
if (!i && !mK())
|
|
59385
59385
|
throw new Error("Callback required as last argument");
|
|
@@ -59407,9 +59407,9 @@ function C2(t, r, s, u, g) {
|
|
|
59407
59407
|
}
|
|
59408
59408
|
}
|
|
59409
59409
|
Gm.create = jb.create;
|
|
59410
|
-
Gm.toCanvas =
|
|
59411
|
-
Gm.toDataURL =
|
|
59412
|
-
Gm.toString =
|
|
59410
|
+
Gm.toCanvas = CS.bind(null, wk.render);
|
|
59411
|
+
Gm.toDataURL = CS.bind(null, wk.renderToDataURL);
|
|
59412
|
+
Gm.toString = CS.bind(null, function(t, r, s) {
|
|
59413
59413
|
return gK.render(t, s);
|
|
59414
59414
|
});
|
|
59415
59415
|
function _K() {
|
|
@@ -59469,7 +59469,7 @@ const Sk = $n({
|
|
|
59469
59469
|
key: "appConfig",
|
|
59470
59470
|
default: void 0
|
|
59471
59471
|
}), vK = () => {
|
|
59472
|
-
const [t, r] = vn(ef), s = Jt(Vm), u = Jt(na), g = Jt(Sk), [, y] = vn(Qd), [, T] = vn(Q0), i = Jt(
|
|
59472
|
+
const [t, r] = vn(ef), s = Jt(Vm), u = Jt(na), g = Jt(Sk), [, y] = vn(Qd), [, T] = vn(Q0), i = Jt(fS), [L, z] = vn(vS);
|
|
59473
59473
|
Bt(() => {
|
|
59474
59474
|
var Z;
|
|
59475
59475
|
!t && s.length && r((Z = U()) == null ? void 0 : Z.name);
|
|
@@ -59572,13 +59572,13 @@ function Tk({
|
|
|
59572
59572
|
}) {
|
|
59573
59573
|
const [Ut, Qt] = dn({
|
|
59574
59574
|
brandingColor: y
|
|
59575
|
-
}), [, $t] = vn(Zw), [, Yt] = vn(Yw), [, Gt] = vn(B0), [pt, Lt] = vn($0), [Ze, Je] = vn(Vm), [wt, Ht] = vn(Cc), kt = Jt(Qd), [, nn] = vn(j0), [, sn] = vn(La), [, Wt] = vn(
|
|
59575
|
+
}), [, $t] = vn(Zw), [, Yt] = vn(Yw), [, Gt] = vn(B0), [pt, Lt] = vn($0), [Ze, Je] = vn(Vm), [wt, Ht] = vn(Cc), kt = Jt(Qd), [, nn] = vn(j0), [, sn] = vn(La), [, Wt] = vn(aS), [, xe] = vn(CX), An = Jt(na), [dt, wn] = vn(Bu), [, gt] = vn(cl), [, dr] = vn(sP), [, an] = vn(lP), Yn = cP(), [, xn] = vn(HP), [, tr] = vn(ek), [, Nn] = vn(CP), [, Zr] = vn(yS), [, Wn] = vn(X0), [, Tr] = vn(nk), [, Et] = vn(EP), [, Ar] = vn(Y0), [, vi] = vn(IP), [, Bi] = vn(hS), [, Ei] = vn(dP), [Ai, $o] = dn(), Gi = Cr(), [, Ro] = vn(YP), ro = Jt(K0), [xo, mt] = dn(!0), [st, Xt] = dn(!0), Ft = F3(L), un = F3(z), [En, In] = dn(!1), [, Dn] = vn(U0), [Bn, Jn] = vn(F0), [Or, Kr] = dn(), [Qe, ee] = vn(Sk), [, oe] = vn(oP), [, be] = vn(rP), [, Re] = vn(aP), [, Ee] = vn(Xw), [, $e] = vn(V0), rt = Ec(), Ye = uP("(max-width: 991px)"), it = EX(), [ce, ze, et, bt, Ct, ln] = SX(), [Vt, en] = dn(!1), _n = Jt(e1), [kn, Fn] = dn(0), [Tn, nr] = vK();
|
|
59576
59576
|
function Br() {
|
|
59577
59577
|
return new Promise((zn) => {
|
|
59578
59578
|
if (window.mapsindoors !== void 0)
|
|
59579
59579
|
return zn();
|
|
59580
59580
|
const ii = document.createElement("script");
|
|
59581
|
-
ii.setAttribute("type", "text/javascript"), ii.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.
|
|
59581
|
+
ii.setAttribute("type", "text/javascript"), ii.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.40.1/mapsindoors-4.40.1.js.gz"), ii.setAttribute("integrity", "sha384-pUScOgCc5f53I44bt4sLyh+5pAXcQnXEDagUYVafNiG29kPrVJwQz8csFNzI0Y4/"), ii.setAttribute("crossorigin", "anonymous"), document.body.appendChild(ii), ii.onload = () => {
|
|
59582
59582
|
zn();
|
|
59583
59583
|
};
|
|
59584
59584
|
});
|
|
@@ -59865,4 +59865,4 @@ export {
|
|
|
59865
59865
|
eW as h,
|
|
59866
59866
|
TK as r
|
|
59867
59867
|
};
|
|
59868
|
-
//# sourceMappingURL=reactcomponent-
|
|
59868
|
+
//# sourceMappingURL=reactcomponent-37c94239.mjs.map
|