@mapsindoors/map-template 1.81.3 → 1.81.4
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-ba4ec5cf.mjs → _commonjsHelpers-ba3f0406-5776c50e.mjs} +2 -2
- package/dist/{combo-box-item.entry-21e58067.mjs → combo-box-item.entry-6057d372.mjs} +2 -2
- package/dist/{icon-b8d01d6f-6e0294c6.mjs → icon-b8d01d6f-3d42051c.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 +389 -389
- package/dist/mapsindoors-webcomponent.umd.js +2 -2
- package/dist/{mi-card_2.entry-7be71a53.mjs → mi-card_2.entry-497f71c8.mjs} +2 -2
- package/dist/{mi-chip.entry-11c462c2.mjs → mi-chip.entry-d31e2a38.mjs} +2 -2
- package/dist/{mi-column.entry-581dec8b.mjs → mi-column.entry-7f36f3ae.mjs} +2 -2
- package/dist/{mi-combo-box.entry-fa83a707.mjs → mi-combo-box.entry-426514dc.mjs} +4 -4
- package/dist/{mi-data-table.entry-ccc7be41.mjs → mi-data-table.entry-7b25a50a.mjs} +3 -3
- package/dist/{mi-distance_2.entry-614a8e17.mjs → mi-distance_2.entry-92f37a51.mjs} +3 -3
- package/dist/{mi-dropdown-item.entry-b7388dcd.mjs → mi-dropdown-item.entry-bc28eac8.mjs} +2 -2
- package/dist/{mi-dropdown.entry-7c783765.mjs → mi-dropdown.entry-c6db2c56.mjs} +4 -4
- package/dist/{mi-floor-selector.entry-af2fac46.mjs → mi-floor-selector.entry-95f28615.mjs} +2 -2
- package/dist/{mi-keyboard.entry-a66c0ab4.mjs → mi-keyboard.entry-d1b6867b.mjs} +3 -3
- package/dist/{mi-list-item-category.entry-9eaeec00.mjs → mi-list-item-category.entry-d6579659.mjs} +4 -4
- package/dist/{mi-list-item-location.entry-678a17ba.mjs → mi-list-item-location.entry-0d3e61f7.mjs} +4 -4
- package/dist/{mi-list.entry-769097c2.mjs → mi-list.entry-1aa8ce70.mjs} +2 -2
- package/dist/{mi-location-booking.entry-df2415f6.mjs → mi-location-booking.entry-78a8efc5.mjs} +3 -3
- package/dist/{mi-location-info.entry-f21c11b6.mjs → mi-location-info.entry-88b70d19.mjs} +2 -2
- package/dist/{mi-map-googlemaps.entry-ff40930f.mjs → mi-map-googlemaps.entry-fa1fca3c.mjs} +3 -3
- package/dist/{mi-map-mapbox.entry-7b45e3a3.mjs → mi-map-mapbox.entry-bebb47c5.mjs} +3 -3
- package/dist/{mi-metric-card.entry-f662d88b.mjs → mi-metric-card.entry-45e0aca6.mjs} +3 -3
- package/dist/{mi-my-position.entry-ac239dec.mjs → mi-my-position.entry-20e65b9a.mjs} +3 -3
- package/dist/{mi-notification.entry-1a2d6055.mjs → mi-notification.entry-c5ffd907.mjs} +2 -2
- package/dist/{mi-route-instructions-heading.entry-9cc9ebe8.mjs → mi-route-instructions-heading.entry-dafe6b06.mjs} +4 -4
- package/dist/{mi-route-instructions-maneuver-legacy.entry-b0d53248.mjs → mi-route-instructions-maneuver-legacy.entry-7d70d463.mjs} +3 -3
- package/dist/{mi-route-instructions-maneuver.entry-e4a7d458.mjs → mi-route-instructions-maneuver.entry-769ee215.mjs} +3 -3
- package/dist/{mi-route-instructions-step-legacy.entry-f230233f.mjs → mi-route-instructions-step-legacy.entry-22a830fc.mjs} +4 -4
- package/dist/{mi-route-instructions-step.entry-fe65364b.mjs → mi-route-instructions-step.entry-028eee13.mjs} +4 -4
- package/dist/{mi-route-instructions.entry-5c929ec9.mjs → mi-route-instructions.entry-0357e12c.mjs} +5 -5
- package/dist/{mi-scroll-buttons.entry-d25f0822.mjs → mi-scroll-buttons.entry-101c7a78.mjs} +2 -2
- package/dist/{mi-search.entry-a7368cea.mjs → mi-search.entry-336c3a84.mjs} +3 -3
- package/dist/{mi-share-sms.entry-2aa3e81f.mjs → mi-share-sms.entry-d00c89f9.mjs} +2 -2
- package/dist/{mi-step-switcher.entry-280b94d4.mjs → mi-step-switcher.entry-1debd131.mjs} +2 -2
- package/dist/{mi-tab-panel.entry-9cb96ad3.mjs → mi-tab-panel.entry-37d52412.mjs} +2 -2
- package/dist/{mi-tab.entry-c98dc785.mjs → mi-tab.entry-99917303.mjs} +2 -2
- package/dist/{mi-tabs.entry-06bf631f.mjs → mi-tabs.entry-ee5ed456.mjs} +2 -2
- package/dist/{mi-time.entry-2b7ab65a.mjs → mi-time.entry-df183bd2.mjs} +2 -2
- package/dist/{mi-variables-9a6c8d4d-40975d08.mjs → mi-variables-9a6c8d4d-c2450494.mjs} +2 -2
- package/dist/{reactcomponent-bfec8ca7.mjs → reactcomponent-5343254a.mjs} +163 -163
- package/dist/{route-travel-mode.enum-7f4ce9c7-c9549fb4.mjs → route-travel-mode.enum-7f4ce9c7-ececca69.mjs} +2 -2
- package/dist/{sort-order.enum-64ce8998-6a55f831.mjs → sort-order.enum-64ce8998-abc95d37.mjs} +3 -3
- package/dist/{unit-system.enum-eaefb53e-218e5846.mjs → unit-system.enum-eaefb53e-84f2bcd5.mjs} +2 -2
- package/dist/{utils-ae714467-fd1172f0.mjs → utils-ae714467-417b7ba2.mjs} +2 -2
- package/package.json +1 -1
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
|
|
5
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
5
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "05c513e4-682c-4350-9506-30d763a3035c", e._sentryDebugIdIdentifier = "sentry-dbid-05c513e4-682c-4350-9506-30d763a3035c");
|
|
6
6
|
} catch {
|
|
7
7
|
}
|
|
8
8
|
})();
|
|
9
9
|
var TQ = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
|
-
TQ.SENTRY_RELEASE = { id: "map-template@1.81.
|
|
10
|
+
TQ.SENTRY_RELEASE = { id: "map-template@1.81.3" };
|
|
11
11
|
var uO = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
12
12
|
function Lm(e) {
|
|
13
13
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -18374,12 +18374,12 @@ function are(e, t) {
|
|
|
18374
18374
|
yield t(r, n++);
|
|
18375
18375
|
}();
|
|
18376
18376
|
}
|
|
18377
|
-
var
|
|
18377
|
+
var e3 = are;
|
|
18378
18378
|
class WP {
|
|
18379
18379
|
}
|
|
18380
18380
|
const lre = new WP(), Fd = /* @__PURE__ */ new Map(), ND = /* @__PURE__ */ new Map();
|
|
18381
18381
|
function cre(e) {
|
|
18382
|
-
return
|
|
18382
|
+
return e3(e, (t) => Xr(ND.get(t)));
|
|
18383
18383
|
}
|
|
18384
18384
|
function ure(e) {
|
|
18385
18385
|
if (Fd.has(e)) {
|
|
@@ -19015,7 +19015,7 @@ let Nre = 0;
|
|
|
19015
19015
|
const Lre = () => Nre++;
|
|
19016
19016
|
let kre = 0;
|
|
19017
19017
|
const zre = () => kre++;
|
|
19018
|
-
var
|
|
19018
|
+
var t3 = {
|
|
19019
19019
|
getNextTreeStateVersion: Are,
|
|
19020
19020
|
getNextStoreID: Lre,
|
|
19021
19021
|
getNextComponentID: zre
|
|
@@ -19026,7 +19026,7 @@ const {
|
|
|
19026
19026
|
graph: Ore
|
|
19027
19027
|
} = Sy, {
|
|
19028
19028
|
getNextTreeStateVersion: XP
|
|
19029
|
-
} =
|
|
19029
|
+
} = t3;
|
|
19030
19030
|
function JP() {
|
|
19031
19031
|
const e = XP();
|
|
19032
19032
|
return {
|
|
@@ -19071,7 +19071,7 @@ class tB {
|
|
|
19071
19071
|
function Rre() {
|
|
19072
19072
|
return new tB();
|
|
19073
19073
|
}
|
|
19074
|
-
var
|
|
19074
|
+
var n3 = {
|
|
19075
19075
|
RetentionZone: tB,
|
|
19076
19076
|
retentionZone: Rre
|
|
19077
19077
|
};
|
|
@@ -19128,7 +19128,7 @@ const {
|
|
|
19128
19128
|
recoilValuesForKeys: L8
|
|
19129
19129
|
} = Qs, {
|
|
19130
19130
|
RetentionZone: k8
|
|
19131
|
-
} =
|
|
19131
|
+
} = n3, {
|
|
19132
19132
|
setByAddingToSet: Gre
|
|
19133
19133
|
} = nB, Zre = Object.freeze(/* @__PURE__ */ new Set());
|
|
19134
19134
|
class Wre extends Error {
|
|
@@ -19228,7 +19228,7 @@ function noe(e, t, n) {
|
|
|
19228
19228
|
var _, s;
|
|
19229
19229
|
return {
|
|
19230
19230
|
nodes: L8(zD(oB(e, t, /* @__PURE__ */ new Set([n])), (S) => S !== n)),
|
|
19231
|
-
components:
|
|
19231
|
+
components: e3((_ = (s = r.nodeToComponentSubscriptions.get(n)) === null || s === void 0 ? void 0 : s.values()) !== null && _ !== void 0 ? _ : [], ([S]) => ({
|
|
19232
19232
|
name: S
|
|
19233
19233
|
}))
|
|
19234
19234
|
};
|
|
@@ -19274,7 +19274,7 @@ const {
|
|
|
19274
19274
|
setNodeValue: soe
|
|
19275
19275
|
} = Mh, {
|
|
19276
19276
|
getNextComponentID: aoe
|
|
19277
|
-
} =
|
|
19277
|
+
} = t3, {
|
|
19278
19278
|
getNode: loe,
|
|
19279
19279
|
getNodeMaybe: cB
|
|
19280
19280
|
} = Qs, {
|
|
@@ -19365,7 +19365,7 @@ function uB(e, t) {
|
|
|
19365
19365
|
return dB(e, r), poe(), r;
|
|
19366
19366
|
});
|
|
19367
19367
|
}
|
|
19368
|
-
function
|
|
19368
|
+
function i3(e, t) {
|
|
19369
19369
|
if (D1.length) {
|
|
19370
19370
|
const n = D1[D1.length - 1];
|
|
19371
19371
|
let r = n.get(e);
|
|
@@ -19398,7 +19398,7 @@ function dB(e, t) {
|
|
|
19398
19398
|
}
|
|
19399
19399
|
}
|
|
19400
19400
|
function fB(e, t, n) {
|
|
19401
|
-
|
|
19401
|
+
i3(e, {
|
|
19402
19402
|
type: "set",
|
|
19403
19403
|
recoilValue: t,
|
|
19404
19404
|
valueOrUpdater: n
|
|
@@ -19407,20 +19407,20 @@ function fB(e, t, n) {
|
|
|
19407
19407
|
function xoe(e, t, n) {
|
|
19408
19408
|
if (n instanceof jD)
|
|
19409
19409
|
return fB(e, t, n);
|
|
19410
|
-
|
|
19410
|
+
i3(e, {
|
|
19411
19411
|
type: "setLoadable",
|
|
19412
19412
|
recoilValue: t,
|
|
19413
19413
|
loadable: n
|
|
19414
19414
|
});
|
|
19415
19415
|
}
|
|
19416
19416
|
function boe(e, t) {
|
|
19417
|
-
|
|
19417
|
+
i3(e, {
|
|
19418
19418
|
type: "markModified",
|
|
19419
19419
|
recoilValue: t
|
|
19420
19420
|
});
|
|
19421
19421
|
}
|
|
19422
19422
|
function Moe(e, t, n) {
|
|
19423
|
-
|
|
19423
|
+
i3(e, {
|
|
19424
19424
|
type: "setUnvalidated",
|
|
19425
19425
|
recoilValue: t,
|
|
19426
19426
|
unvalidatedValue: n
|
|
@@ -19488,7 +19488,7 @@ const {
|
|
|
19488
19488
|
getNode: pB
|
|
19489
19489
|
} = Qs, {
|
|
19490
19490
|
RetentionZone: mB
|
|
19491
|
-
} =
|
|
19491
|
+
} = n3, Coe = 12e4, gB = /* @__PURE__ */ new Set();
|
|
19492
19492
|
function yB(e, t) {
|
|
19493
19493
|
const n = e.getState(), r = n.currentTree;
|
|
19494
19494
|
if (n.nextTree)
|
|
@@ -19663,7 +19663,7 @@ const Hoe = (e) => {
|
|
|
19663
19663
|
}
|
|
19664
19664
|
});
|
|
19665
19665
|
};
|
|
19666
|
-
var
|
|
19666
|
+
var r3 = {
|
|
19667
19667
|
getBatcher: Qoe,
|
|
19668
19668
|
setBatcher: Hoe,
|
|
19669
19669
|
batchUpdates: Yoe
|
|
@@ -19679,7 +19679,7 @@ const bB = (
|
|
|
19679
19679
|
typeof Window > "u" || typeof window > "u"
|
|
19680
19680
|
), Zoe = (e) => !bB && // $FlowFixMe(site=recoil) Window does not have a FlowType definition https://github.com/facebook/flow/issues/6709
|
|
19681
19681
|
(e === window || e instanceof Window), Woe = typeof navigator < "u" && navigator.product === "ReactNative";
|
|
19682
|
-
var
|
|
19682
|
+
var o3 = {
|
|
19683
19683
|
isSSR: bB,
|
|
19684
19684
|
isReactNative: Woe,
|
|
19685
19685
|
isWindow: Zoe
|
|
@@ -19715,14 +19715,14 @@ var Joe = {
|
|
|
19715
19715
|
};
|
|
19716
19716
|
const {
|
|
19717
19717
|
batchUpdates: pS
|
|
19718
|
-
} =
|
|
19718
|
+
} = r3, {
|
|
19719
19719
|
initializeNode: ese,
|
|
19720
19720
|
peekNodeInfo: tse
|
|
19721
19721
|
} = Mh, {
|
|
19722
19722
|
graph: nse
|
|
19723
19723
|
} = Sy, {
|
|
19724
19724
|
getNextStoreID: ise
|
|
19725
|
-
} =
|
|
19725
|
+
} = t3, {
|
|
19726
19726
|
DEFAULT_VALUE: rse,
|
|
19727
19727
|
recoilValues: z8,
|
|
19728
19728
|
recoilValuesForKeys: O8
|
|
@@ -19740,10 +19740,10 @@ const {
|
|
|
19740
19740
|
makeEmptyStoreState: use
|
|
19741
19741
|
} = eB, {
|
|
19742
19742
|
isSSR: hse
|
|
19743
|
-
} =
|
|
19743
|
+
} = o3, {
|
|
19744
19744
|
memoizeOneWithArgsHashAndInvalidation: dse
|
|
19745
19745
|
} = Joe;
|
|
19746
|
-
class
|
|
19746
|
+
class s3 {
|
|
19747
19747
|
// eslint-disable-next-line fb-www/no-uninitialized-properties
|
|
19748
19748
|
constructor(t, n) {
|
|
19749
19749
|
Hi(this, "_store", void 0), Hi(this, "_refCount", 1), Hi(this, "getLoadable", (r) => (this.checkRefCount_INTERNAL(), sse(this._store, r))), Hi(this, "getPromise", (r) => (this.checkRefCount_INTERNAL(), this.getLoadable(r).toPromise())), Hi(this, "getNodes_UNSTABLE", (r) => {
|
|
@@ -19873,12 +19873,12 @@ function MB(e, t, n = !1) {
|
|
|
19873
19873
|
// FIXME here's a copy
|
|
19874
19874
|
// Create blank cleanup handlers for atoms so snapshots don't re-run
|
|
19875
19875
|
// atom effects.
|
|
19876
|
-
nodeCleanupFunctions: new Map(
|
|
19876
|
+
nodeCleanupFunctions: new Map(e3(r.nodeCleanupFunctions.entries(), ([d]) => [d, () => {
|
|
19877
19877
|
}]))
|
|
19878
19878
|
};
|
|
19879
19879
|
}
|
|
19880
19880
|
function fse(e) {
|
|
19881
|
-
const t = new
|
|
19881
|
+
const t = new s3(use());
|
|
19882
19882
|
return e != null ? t.map(e) : t;
|
|
19883
19883
|
}
|
|
19884
19884
|
const [R8, wB] = dse(
|
|
@@ -19886,7 +19886,7 @@ const [R8, wB] = dse(
|
|
|
19886
19886
|
(e, t) => {
|
|
19887
19887
|
var n;
|
|
19888
19888
|
const r = e.getState(), a = t === "latest" ? (n = r.nextTree) !== null && n !== void 0 ? n : r.currentTree : Xr(r.previousTree);
|
|
19889
|
-
return new
|
|
19889
|
+
return new s3(MB(e, a), e.storeID);
|
|
19890
19890
|
},
|
|
19891
19891
|
(e, t) => {
|
|
19892
19892
|
var n, r;
|
|
@@ -19898,7 +19898,7 @@ function pse(e, t = "latest") {
|
|
|
19898
19898
|
const n = R8(e, t);
|
|
19899
19899
|
return n.isRetained() ? n : (wB(), R8(e, t));
|
|
19900
19900
|
}
|
|
19901
|
-
class mS extends
|
|
19901
|
+
class mS extends s3 {
|
|
19902
19902
|
constructor(t, n) {
|
|
19903
19903
|
super(MB(t.getStore_INTERNAL(), t.getStore_INTERNAL().getState().currentTree, !0), t.getStoreID()), Hi(this, "_batch", void 0), Hi(this, "set", (r, a) => {
|
|
19904
19904
|
this.checkRefCount_INTERNAL();
|
|
@@ -19922,12 +19922,12 @@ class mS extends sw {
|
|
|
19922
19922
|
}), this._batch = n;
|
|
19923
19923
|
}
|
|
19924
19924
|
}
|
|
19925
|
-
var
|
|
19926
|
-
Snapshot:
|
|
19925
|
+
var a3 = {
|
|
19926
|
+
Snapshot: s3,
|
|
19927
19927
|
MutableSnapshot: mS,
|
|
19928
19928
|
freshSnapshot: fse,
|
|
19929
19929
|
cloneSnapshot: pse
|
|
19930
|
-
}, mse =
|
|
19930
|
+
}, mse = a3.Snapshot, gse = a3.MutableSnapshot, yse = a3.freshSnapshot, _se = a3.cloneSnapshot, l3 = /* @__PURE__ */ Object.freeze({
|
|
19931
19931
|
__proto__: null,
|
|
19932
19932
|
Snapshot: mse,
|
|
19933
19933
|
MutableSnapshot: gse,
|
|
@@ -19965,7 +19965,7 @@ const {
|
|
|
19965
19965
|
cloneGraph: Ase
|
|
19966
19966
|
} = Sy, {
|
|
19967
19967
|
getNextStoreID: SB
|
|
19968
|
-
} =
|
|
19968
|
+
} = t3, {
|
|
19969
19969
|
createMutableSource: y5,
|
|
19970
19970
|
reactMode: TB
|
|
19971
19971
|
} = Iy, {
|
|
@@ -19974,7 +19974,7 @@ const {
|
|
|
19974
19974
|
releaseScheduledRetainablesNow: EB
|
|
19975
19975
|
} = qd, {
|
|
19976
19976
|
freshSnapshot: Lse
|
|
19977
|
-
} =
|
|
19977
|
+
} = l3, {
|
|
19978
19978
|
useCallback: kse,
|
|
19979
19979
|
useContext: DB,
|
|
19980
19980
|
useEffect: gS,
|
|
@@ -20012,7 +20012,7 @@ function B8(e) {
|
|
|
20012
20012
|
}
|
|
20013
20013
|
const AB = or.createContext({
|
|
20014
20014
|
current: CB
|
|
20015
|
-
}),
|
|
20015
|
+
}), c3 = () => DB(AB), NB = or.createContext(null);
|
|
20016
20016
|
function Rse() {
|
|
20017
20017
|
return DB(NB);
|
|
20018
20018
|
}
|
|
@@ -20055,7 +20055,7 @@ function Pse(e) {
|
|
|
20055
20055
|
function Bse({
|
|
20056
20056
|
setNotifyBatcherOfChange: e
|
|
20057
20057
|
}) {
|
|
20058
|
-
const t =
|
|
20058
|
+
const t = c3(), [, n] = jse([]);
|
|
20059
20059
|
return e(() => n({})), gS(() => (e(() => n({})), () => {
|
|
20060
20060
|
e(() => {
|
|
20061
20061
|
});
|
|
@@ -20175,15 +20175,15 @@ function $se(e) {
|
|
|
20175
20175
|
const {
|
|
20176
20176
|
override: t,
|
|
20177
20177
|
...n
|
|
20178
|
-
} = e, r =
|
|
20178
|
+
} = e, r = c3();
|
|
20179
20179
|
return t === !1 && r.current !== CB ? e.children : /* @__PURE__ */ or.createElement(Vse, n);
|
|
20180
20180
|
}
|
|
20181
20181
|
function Hse() {
|
|
20182
|
-
return
|
|
20182
|
+
return c3().current.storeID;
|
|
20183
20183
|
}
|
|
20184
20184
|
var Rc = {
|
|
20185
20185
|
RecoilRoot: $se,
|
|
20186
|
-
useStoreRef:
|
|
20186
|
+
useStoreRef: c3,
|
|
20187
20187
|
useRecoilMutableSource: Rse,
|
|
20188
20188
|
useRecoilStoreID: Hse,
|
|
20189
20189
|
notifyComponents_FOR_TESTING: PD,
|
|
@@ -20219,12 +20219,12 @@ const {
|
|
|
20219
20219
|
updateRetainCount: J0
|
|
20220
20220
|
} = qd, {
|
|
20221
20221
|
RetentionZone: Xse
|
|
20222
|
-
} =
|
|
20222
|
+
} = n3, {
|
|
20223
20223
|
useEffect: Jse,
|
|
20224
20224
|
useRef: eae
|
|
20225
20225
|
} = or, {
|
|
20226
20226
|
isSSR: F8
|
|
20227
|
-
} =
|
|
20227
|
+
} = o3;
|
|
20228
20228
|
function tae(e) {
|
|
20229
20229
|
if (zr("recoil_memory_managament_2020"))
|
|
20230
20230
|
return nae(e);
|
|
@@ -20267,7 +20267,7 @@ function iae() {
|
|
|
20267
20267
|
var Ey = iae;
|
|
20268
20268
|
const {
|
|
20269
20269
|
batchUpdates: rae
|
|
20270
|
-
} =
|
|
20270
|
+
} = r3, {
|
|
20271
20271
|
DEFAULT_VALUE: zB
|
|
20272
20272
|
} = Qs, {
|
|
20273
20273
|
currentRendererSupportsUseSyncExternalStore: oae,
|
|
@@ -20293,7 +20293,7 @@ const {
|
|
|
20293
20293
|
setByAddingToSet: uae
|
|
20294
20294
|
} = nB, {
|
|
20295
20295
|
isSSR: hae
|
|
20296
|
-
} =
|
|
20296
|
+
} = o3;
|
|
20297
20297
|
function FD(e, t, n) {
|
|
20298
20298
|
if (e.state === "hasValue")
|
|
20299
20299
|
return e.contents;
|
|
@@ -20487,7 +20487,7 @@ function jB(e) {
|
|
|
20487
20487
|
const t = Zl(), n = VD(e);
|
|
20488
20488
|
return FD(n, e, t);
|
|
20489
20489
|
}
|
|
20490
|
-
function
|
|
20490
|
+
function u3(e) {
|
|
20491
20491
|
const t = Zl();
|
|
20492
20492
|
return $s((n) => {
|
|
20493
20493
|
db(t.current, e, n);
|
|
@@ -20500,10 +20500,10 @@ function yae(e) {
|
|
|
20500
20500
|
}, [t, e]);
|
|
20501
20501
|
}
|
|
20502
20502
|
function _ae(e) {
|
|
20503
|
-
return [jB(e),
|
|
20503
|
+
return [jB(e), u3(e)];
|
|
20504
20504
|
}
|
|
20505
20505
|
function vae(e) {
|
|
20506
|
-
return [VD(e),
|
|
20506
|
+
return [VD(e), u3(e)];
|
|
20507
20507
|
}
|
|
20508
20508
|
function xae() {
|
|
20509
20509
|
const e = Zl();
|
|
@@ -20521,7 +20521,7 @@ function PB(e) {
|
|
|
20521
20521
|
return FD(n, e, t);
|
|
20522
20522
|
}
|
|
20523
20523
|
function bae(e) {
|
|
20524
|
-
return [PB(e),
|
|
20524
|
+
return [PB(e), u3(e)];
|
|
20525
20525
|
}
|
|
20526
20526
|
var Mae = {
|
|
20527
20527
|
recoilComponentGetRecoilValueCount_FOR_TESTING: fae,
|
|
@@ -20531,7 +20531,7 @@ var Mae = {
|
|
|
20531
20531
|
useRecoilValue: jB,
|
|
20532
20532
|
useRecoilValueLoadable: VD,
|
|
20533
20533
|
useResetRecoilState: yae,
|
|
20534
|
-
useSetRecoilState:
|
|
20534
|
+
useSetRecoilState: u3,
|
|
20535
20535
|
useSetUnvalidatedAtomValues: xae,
|
|
20536
20536
|
useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE: RB,
|
|
20537
20537
|
useRecoilValue_TRANSITION_SUPPORT_UNSTABLE: PB,
|
|
@@ -20564,7 +20564,7 @@ function Eae(...e) {
|
|
|
20564
20564
|
var Dae = Eae;
|
|
20565
20565
|
const {
|
|
20566
20566
|
batchUpdates: Cae
|
|
20567
|
-
} =
|
|
20567
|
+
} = r3, {
|
|
20568
20568
|
DEFAULT_VALUE: Aae,
|
|
20569
20569
|
getNode: BB,
|
|
20570
20570
|
nodes: Nae
|
|
@@ -20577,15 +20577,15 @@ const {
|
|
|
20577
20577
|
SUSPENSE_TIMEOUT_MS: zae
|
|
20578
20578
|
} = qd, {
|
|
20579
20579
|
cloneSnapshot: fb
|
|
20580
|
-
} =
|
|
20581
|
-
useCallback:
|
|
20580
|
+
} = l3, {
|
|
20581
|
+
useCallback: h3,
|
|
20582
20582
|
useEffect: UB,
|
|
20583
20583
|
useRef: V8,
|
|
20584
20584
|
useState: Oae
|
|
20585
20585
|
} = or, {
|
|
20586
20586
|
isSSR: $8
|
|
20587
|
-
} =
|
|
20588
|
-
function
|
|
20587
|
+
} = o3;
|
|
20588
|
+
function d3(e) {
|
|
20589
20589
|
const t = $D();
|
|
20590
20590
|
UB(() => t.current.subscribeToTransactions(e).release, [e, t]);
|
|
20591
20591
|
}
|
|
@@ -20597,7 +20597,7 @@ function H8(e) {
|
|
|
20597
20597
|
return Dae(e.nonvalidatedAtoms.toMap(), n);
|
|
20598
20598
|
}
|
|
20599
20599
|
function jae(e) {
|
|
20600
|
-
|
|
20600
|
+
d3(h3((t) => {
|
|
20601
20601
|
let n = t.getState().previousTree;
|
|
20602
20602
|
const r = t.getState().currentTree;
|
|
20603
20603
|
n || (n = t.getState().currentTree);
|
|
@@ -20622,7 +20622,7 @@ function jae(e) {
|
|
|
20622
20622
|
}, [e]));
|
|
20623
20623
|
}
|
|
20624
20624
|
function Rae(e) {
|
|
20625
|
-
|
|
20625
|
+
d3(h3((t) => {
|
|
20626
20626
|
const n = fb(t, "latest"), r = fb(t, "previous");
|
|
20627
20627
|
e({
|
|
20628
20628
|
snapshot: n,
|
|
@@ -20632,7 +20632,7 @@ function Rae(e) {
|
|
|
20632
20632
|
}
|
|
20633
20633
|
function Pae() {
|
|
20634
20634
|
const e = $D(), [t, n] = Oae(() => fb(e.current)), r = kB(t), a = V8(), d = V8();
|
|
20635
|
-
if (
|
|
20635
|
+
if (d3(h3((s) => n(fb(s)), [])), UB(() => {
|
|
20636
20636
|
const s = t.retain();
|
|
20637
20637
|
if (a.current && !$8) {
|
|
20638
20638
|
var S;
|
|
@@ -20673,7 +20673,7 @@ function FB(e, t) {
|
|
|
20673
20673
|
}
|
|
20674
20674
|
function Bae() {
|
|
20675
20675
|
const e = $D();
|
|
20676
|
-
return
|
|
20676
|
+
return h3((t) => FB(e.current, t), [e]);
|
|
20677
20677
|
}
|
|
20678
20678
|
var VB = {
|
|
20679
20679
|
useRecoilSnapshot: Pae,
|
|
@@ -20681,7 +20681,7 @@ var VB = {
|
|
|
20681
20681
|
useGotoRecoilSnapshot: Bae,
|
|
20682
20682
|
useRecoilTransactionObserver: Rae,
|
|
20683
20683
|
useTransactionObservation_DEPRECATED: jae,
|
|
20684
|
-
useTransactionSubscription_DEPRECATED:
|
|
20684
|
+
useTransactionSubscription_DEPRECATED: d3
|
|
20685
20685
|
};
|
|
20686
20686
|
const {
|
|
20687
20687
|
peekNodeInfo: Uae
|
|
@@ -20791,7 +20791,7 @@ const {
|
|
|
20791
20791
|
atomicUpdater: ule
|
|
20792
20792
|
} = $B, {
|
|
20793
20793
|
batchUpdates: hle
|
|
20794
|
-
} =
|
|
20794
|
+
} = r3, {
|
|
20795
20795
|
DEFAULT_VALUE: dle
|
|
20796
20796
|
} = Qs, {
|
|
20797
20797
|
useStoreRef: fle
|
|
@@ -20800,7 +20800,7 @@ const {
|
|
|
20800
20800
|
setRecoilValue: Y8
|
|
20801
20801
|
} = Gl, {
|
|
20802
20802
|
cloneSnapshot: mle
|
|
20803
|
-
} =
|
|
20803
|
+
} = l3, {
|
|
20804
20804
|
gotoSnapshot: gle
|
|
20805
20805
|
} = VB, {
|
|
20806
20806
|
useCallback: yle
|
|
@@ -21148,7 +21148,7 @@ function $le(e, t = {
|
|
|
21148
21148
|
}) {
|
|
21149
21149
|
return al(e, t);
|
|
21150
21150
|
}
|
|
21151
|
-
var
|
|
21151
|
+
var f3 = $le;
|
|
21152
21152
|
const {
|
|
21153
21153
|
TreeCache: Hle
|
|
21154
21154
|
} = ZB, ax = {
|
|
@@ -21169,7 +21169,7 @@ function Yle(e) {
|
|
|
21169
21169
|
case "reference":
|
|
21170
21170
|
return (t) => t;
|
|
21171
21171
|
case "value":
|
|
21172
|
-
return (t) =>
|
|
21172
|
+
return (t) => f3(t);
|
|
21173
21173
|
}
|
|
21174
21174
|
throw Gi(`Unrecognized equality policy ${e}`);
|
|
21175
21175
|
}
|
|
@@ -21416,7 +21416,7 @@ function XB(e) {
|
|
|
21416
21416
|
return xe.state === "loading" ? (Qe(T, ge, xe, _e, P), te(T, ge)) : (ft(T), _t(P, xe, _e)), xe;
|
|
21417
21417
|
}
|
|
21418
21418
|
function $e(T, P) {
|
|
21419
|
-
const G = xB([z.has(T) ? [Xr(z.get(T))] : [],
|
|
21419
|
+
const G = xB([z.has(T) ? [Xr(z.get(T))] : [], e3(zD(z, ([re]) => re !== T), ([, re]) => re)]);
|
|
21420
21420
|
function q(re) {
|
|
21421
21421
|
for (const [ge, xe] of re)
|
|
21422
21422
|
if (!cx(T, P, ge).is(xe))
|
|
@@ -21900,7 +21900,7 @@ function Ece(e) {
|
|
|
21900
21900
|
case "reference":
|
|
21901
21901
|
return (t) => t;
|
|
21902
21902
|
case "value":
|
|
21903
|
-
return (t) =>
|
|
21903
|
+
return (t) => f3(t);
|
|
21904
21904
|
}
|
|
21905
21905
|
throw Gi(`Unrecognized equality policy ${e}`);
|
|
21906
21906
|
}
|
|
@@ -21947,7 +21947,7 @@ function Ace(e) {
|
|
|
21947
21947
|
) : new Promise(() => {
|
|
21948
21948
|
}), V = tU({
|
|
21949
21949
|
...z,
|
|
21950
|
-
key: `${e.key}__${(d =
|
|
21950
|
+
key: `${e.key}__${(d = f3(a)) !== null && d !== void 0 ? d : "void"}`,
|
|
21951
21951
|
default: typeof R == "function" ? (
|
|
21952
21952
|
// The default was parameterized
|
|
21953
21953
|
// Flow doesn't know that T isn't a function, so we need to case to any
|
|
@@ -21991,7 +21991,7 @@ function zce(e) {
|
|
|
21991
21991
|
}
|
|
21992
21992
|
if (_ != null)
|
|
21993
21993
|
return _;
|
|
21994
|
-
const s = `${e.key}__selectorFamily/${(d =
|
|
21994
|
+
const s = `${e.key}__selectorFamily/${(d = f3(a, {
|
|
21995
21995
|
// It is possible to use functions in parameters if the user uses
|
|
21996
21996
|
// a cache with reference equality thanks to the incrementing index.
|
|
21997
21997
|
allowFunctions: !0
|
|
@@ -22055,7 +22055,7 @@ const {
|
|
|
22055
22055
|
loadableWithPromise: rU,
|
|
22056
22056
|
loadableWithValue: oU
|
|
22057
22057
|
} = wy;
|
|
22058
|
-
function
|
|
22058
|
+
function p3(e, t) {
|
|
22059
22059
|
const n = Array(t.length).fill(void 0), r = Array(t.length).fill(void 0);
|
|
22060
22060
|
for (const [a, d] of t.entries())
|
|
22061
22061
|
try {
|
|
@@ -22068,7 +22068,7 @@ function pw(e, t) {
|
|
|
22068
22068
|
function $ce(e) {
|
|
22069
22069
|
return e != null && !Qr(e);
|
|
22070
22070
|
}
|
|
22071
|
-
function
|
|
22071
|
+
function m3(e) {
|
|
22072
22072
|
return Array.isArray(e) ? e : Object.getOwnPropertyNames(e).map((t) => e[t]);
|
|
22073
22073
|
}
|
|
22074
22074
|
function xS(e, t) {
|
|
@@ -22101,7 +22101,7 @@ const Qce = wh({
|
|
|
22101
22101
|
get: (e) => ({
|
|
22102
22102
|
get: t
|
|
22103
22103
|
}) => {
|
|
22104
|
-
const n =
|
|
22104
|
+
const n = m3(e), [r, a] = p3(t, n);
|
|
22105
22105
|
return nm(e, r, a);
|
|
22106
22106
|
},
|
|
22107
22107
|
dangerouslyAllowMutability: !0
|
|
@@ -22110,7 +22110,7 @@ const Qce = wh({
|
|
|
22110
22110
|
get: (e) => ({
|
|
22111
22111
|
get: t
|
|
22112
22112
|
}) => {
|
|
22113
|
-
const n =
|
|
22113
|
+
const n = m3(e), [r, a] = p3(t, n);
|
|
22114
22114
|
return a.some((d) => !Qr(d)) ? nm(e, r, a) : new Promise((d) => {
|
|
22115
22115
|
for (const [_, s] of a.entries())
|
|
22116
22116
|
Qr(s) && s.then((S) => {
|
|
@@ -22126,7 +22126,7 @@ const Qce = wh({
|
|
|
22126
22126
|
get: (e) => ({
|
|
22127
22127
|
get: t
|
|
22128
22128
|
}) => {
|
|
22129
|
-
const n =
|
|
22129
|
+
const n = m3(e), [r, a] = p3(t, n);
|
|
22130
22130
|
if (a.every((_) => _ == null))
|
|
22131
22131
|
return xS(e, r);
|
|
22132
22132
|
const d = a.find($ce);
|
|
@@ -22140,7 +22140,7 @@ const Qce = wh({
|
|
|
22140
22140
|
get: (e) => ({
|
|
22141
22141
|
get: t
|
|
22142
22142
|
}) => {
|
|
22143
|
-
const n =
|
|
22143
|
+
const n = m3(e), [r, a] = p3(t, n);
|
|
22144
22144
|
return a.every((d) => !Qr(d)) ? nm(e, r, a) : Promise.all(a.map((d, _) => Qr(d) ? d.then((s) => {
|
|
22145
22145
|
r[_] = s, a[_] = void 0;
|
|
22146
22146
|
}).catch((s) => {
|
|
@@ -22179,9 +22179,9 @@ const {
|
|
|
22179
22179
|
isRecoilValue: tue
|
|
22180
22180
|
} = bm, {
|
|
22181
22181
|
retentionZone: nue
|
|
22182
|
-
} =
|
|
22182
|
+
} = n3, {
|
|
22183
22183
|
freshSnapshot: iue
|
|
22184
|
-
} =
|
|
22184
|
+
} = l3, {
|
|
22185
22185
|
useRecoilState: rue,
|
|
22186
22186
|
useRecoilState_TRANSITION_SUPPORT_UNSTABLE: oue,
|
|
22187
22187
|
useRecoilStateLoadable: sue,
|
|
@@ -22253,7 +22253,7 @@ var Gm = {
|
|
|
22253
22253
|
// Memory Management
|
|
22254
22254
|
useRetain: BD,
|
|
22255
22255
|
retentionZone: nue
|
|
22256
|
-
}, Mue = Gm.RecoilRoot, di = Gm.atom,
|
|
22256
|
+
}, Mue = Gm.RecoilRoot, di = Gm.atom, g3 = Gm.selector, En = Gm.useRecoilValue, Gn = Gm.useRecoilState, co = Gm.useResetRecoilState;
|
|
22257
22257
|
const wue = (e, t) => {
|
|
22258
22258
|
const n = e[t];
|
|
22259
22259
|
return n ? typeof n == "function" ? n() : Promise.resolve(n) : new Promise((r, a) => {
|
|
@@ -22425,7 +22425,7 @@ const st = (e, t, ...n) => {
|
|
|
22425
22425
|
sU = n.tagName, r.$attrsToReflect$ && (d.$attrs$ = d.$attrs$ || {}, r.$attrsToReflect$.map(([_, s]) => d.$attrs$[s] = n[_])), d.$tag$ = null, d.$flags$ |= 4, e.$vnode$ = d, d.$elm$ = a.$elm$ = n.shadowRoot || n, Bx = n["s-sc"], xp(a, d);
|
|
22426
22426
|
}, pU = (e, t) => {
|
|
22427
22427
|
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
|
|
22428
|
-
},
|
|
22428
|
+
}, y3 = (e, t) => {
|
|
22429
22429
|
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
22430
22430
|
e.$flags$ |= 512;
|
|
22431
22431
|
return;
|
|
@@ -22453,11 +22453,11 @@ const st = (e, t, ...n) => {
|
|
|
22453
22453
|
return null;
|
|
22454
22454
|
}, Fue = (e) => {
|
|
22455
22455
|
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, r = zc("postUpdate", t), a = e.$lazyInstance$, d = e.$ancestorComponent$;
|
|
22456
|
-
kd(a, "componentDidRender"), e.$flags$ & 64 ? r() : (e.$flags$ |= 64, gU(n), kd(a, "componentDidLoad"), r(), e.$onReadyResolve$(n), d || mU()), e.$onInstanceResolve$(n), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && GD(() =>
|
|
22456
|
+
kd(a, "componentDidRender"), e.$flags$ & 64 ? r() : (e.$flags$ |= 64, gU(n), kd(a, "componentDidLoad"), r(), e.$onReadyResolve$(n), d || mU()), e.$onInstanceResolve$(n), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && GD(() => y3(e, !1)), e.$flags$ &= -517;
|
|
22457
22457
|
}, b5 = (e) => {
|
|
22458
22458
|
{
|
|
22459
22459
|
const t = Ih(e), n = t.$hostElement$.isConnected;
|
|
22460
|
-
return n && (t.$flags$ & 18) === 2 &&
|
|
22460
|
+
return n && (t.$flags$ & 18) === 2 && y3(t, !1), n;
|
|
22461
22461
|
}
|
|
22462
22462
|
}, mU = (e) => {
|
|
22463
22463
|
gU($l.documentElement), GD(() => lU(Cy, "appload", { detail: { namespace: Iue } }));
|
|
@@ -22483,7 +22483,7 @@ const st = (e, t, ...n) => {
|
|
|
22483
22483
|
}
|
|
22484
22484
|
});
|
|
22485
22485
|
}
|
|
22486
|
-
(s & 18) === 2 &&
|
|
22486
|
+
(s & 18) === 2 && y3(a, !1);
|
|
22487
22487
|
}
|
|
22488
22488
|
}, yU = (e, t, n) => {
|
|
22489
22489
|
if (t.$members$) {
|
|
@@ -22557,7 +22557,7 @@ const st = (e, t, ...n) => {
|
|
|
22557
22557
|
}
|
|
22558
22558
|
}
|
|
22559
22559
|
}
|
|
22560
|
-
const d = t.$ancestorComponent$, _ = () =>
|
|
22560
|
+
const d = t.$ancestorComponent$, _ = () => y3(t, !0);
|
|
22561
22561
|
d && d["s-rc"] ? d["s-rc"].push(_) : _();
|
|
22562
22562
|
}, _U = (e) => {
|
|
22563
22563
|
kd(e, "connectedCallback");
|
|
@@ -22741,7 +22741,7 @@ class gb {
|
|
|
22741
22741
|
}
|
|
22742
22742
|
}
|
|
22743
22743
|
var Hl = new gb();
|
|
22744
|
-
class
|
|
22744
|
+
class _3 {
|
|
22745
22745
|
constructor() {
|
|
22746
22746
|
this.observers = {};
|
|
22747
22747
|
}
|
|
@@ -22897,7 +22897,7 @@ function _b(e, t) {
|
|
|
22897
22897
|
function vb(e) {
|
|
22898
22898
|
return e && e.indexOf("_") > 0 ? e.replace("_", "-") : e;
|
|
22899
22899
|
}
|
|
22900
|
-
class hz extends
|
|
22900
|
+
class hz extends _3 {
|
|
22901
22901
|
constructor(t) {
|
|
22902
22902
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
22903
22903
|
ns: ["translation"],
|
|
@@ -22983,7 +22983,7 @@ var IU = {
|
|
|
22983
22983
|
}
|
|
22984
22984
|
};
|
|
22985
22985
|
const dz = {};
|
|
22986
|
-
class xb extends
|
|
22986
|
+
class xb extends _3 {
|
|
22987
22987
|
constructor(t) {
|
|
22988
22988
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
22989
22989
|
super(), rhe(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Hl.create("translator");
|
|
@@ -23759,7 +23759,7 @@ class vhe {
|
|
|
23759
23759
|
function xhe(e, t) {
|
|
23760
23760
|
e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
|
|
23761
23761
|
}
|
|
23762
|
-
class bhe extends
|
|
23762
|
+
class bhe extends _3 {
|
|
23763
23763
|
constructor(t, n, r) {
|
|
23764
23764
|
let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
23765
23765
|
super(), this.backend = t, this.store = n, this.services = r, this.languageUtils = r.languageUtils, this.options = a, this.logger = Hl.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = a.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = a.maxRetries >= 0 ? a.maxRetries : 5, this.retryTimeout = a.retryTimeout >= 1 ? a.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(r, a.backend, a);
|
|
@@ -23962,7 +23962,7 @@ function Mhe(e) {
|
|
|
23962
23962
|
typeof e[n] == "function" && (e[n] = e[n].bind(e));
|
|
23963
23963
|
});
|
|
23964
23964
|
}
|
|
23965
|
-
class iy extends
|
|
23965
|
+
class iy extends _3 {
|
|
23966
23966
|
constructor() {
|
|
23967
23967
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
|
|
23968
23968
|
if (super(), this.options = yz(t), this.services = {}, this.logger = Hl, this.modules = {
|
|
@@ -27079,7 +27079,7 @@ var NU = { exports: {} };
|
|
|
27079
27079
|
g.cancel(), h();
|
|
27080
27080
|
} };
|
|
27081
27081
|
};
|
|
27082
|
-
var Th, qm, Km, va = { exports: {} }, ef = { exports: {} }, Vy = { exports: {} }, $
|
|
27082
|
+
var Th, qm, Km, va = { exports: {} }, ef = { exports: {} }, Vy = { exports: {} }, $3 = function() {
|
|
27083
27083
|
if (Km)
|
|
27084
27084
|
return va.exports;
|
|
27085
27085
|
Km = 1;
|
|
@@ -27110,7 +27110,7 @@ var NU = { exports: {} };
|
|
|
27110
27110
|
return y = 1540483477 * (65535 & (y ^= y >>> 13)) + ((1540483477 * (y >>> 16) & 65535) << 16), (y ^= y >>> 15) >>> 0;
|
|
27111
27111
|
}), Vy.exports);
|
|
27112
27112
|
return va.exports = u, va.exports.murmur3 = u, va.exports.murmur2 = i, va.exports;
|
|
27113
|
-
}(), ns = S($
|
|
27113
|
+
}(), ns = S($3);
|
|
27114
27114
|
class vl {
|
|
27115
27115
|
constructor(i, ...l) {
|
|
27116
27116
|
Zn(this, l[0] || {}), this.type = i;
|
|
@@ -27237,10 +27237,10 @@ var NU = { exports: {} };
|
|
|
27237
27237
|
}
|
|
27238
27238
|
toRenderColor(i) {
|
|
27239
27239
|
const { r: l, g: h, b: g, a: f } = this;
|
|
27240
|
-
return new
|
|
27240
|
+
return new H3(i, l, h, g, f);
|
|
27241
27241
|
}
|
|
27242
27242
|
}
|
|
27243
|
-
class
|
|
27243
|
+
class H3 {
|
|
27244
27244
|
constructor(i, l, h, g, f) {
|
|
27245
27245
|
if (i) {
|
|
27246
27246
|
const y = i.image.height, M = y * y;
|
|
@@ -27758,7 +27758,7 @@ var NU = { exports: {} };
|
|
|
27758
27758
|
}), i;
|
|
27759
27759
|
}
|
|
27760
27760
|
}
|
|
27761
|
-
const
|
|
27761
|
+
const Q3 = ["Unknown", "Point", "LineString", "Polygon"];
|
|
27762
27762
|
class Qy {
|
|
27763
27763
|
constructor(i, l) {
|
|
27764
27764
|
this.globals = null, this.feature = null, this.featureState = null, this.formattedSection = null, this._parseColorCache = {}, this.availableImages = null, this.canonical = null, this.featureTileCoord = null, this.featureDistanceData = null, this.scope = i, this.options = l;
|
|
@@ -27767,7 +27767,7 @@ var NU = { exports: {} };
|
|
|
27767
27767
|
return this.feature && this.feature.id !== void 0 ? this.feature.id : null;
|
|
27768
27768
|
}
|
|
27769
27769
|
geometryType() {
|
|
27770
|
-
return this.feature ? typeof this.feature.type == "number" ?
|
|
27770
|
+
return this.feature ? typeof this.feature.type == "number" ? Q3[this.feature.type] : this.feature.type : null;
|
|
27771
27771
|
}
|
|
27772
27772
|
geometry() {
|
|
27773
27773
|
return this.feature && "geometry" in this.feature ? this.feature.geometry : null;
|
|
@@ -27851,7 +27851,7 @@ var NU = { exports: {} };
|
|
|
27851
27851
|
if (M.length === 1)
|
|
27852
27852
|
l.errors.push(...D.errors);
|
|
27853
27853
|
else {
|
|
27854
|
-
const x = (M.length ? M : y.map(([A]) => A)).map(
|
|
27854
|
+
const x = (M.length ? M : y.map(([A]) => A)).map(Y3).join(" | "), E = [];
|
|
27855
27855
|
for (let A = 1; A < i.length; A++) {
|
|
27856
27856
|
const I = l.parse(i[A], 1 + E.length);
|
|
27857
27857
|
if (!I)
|
|
@@ -27868,7 +27868,7 @@ var NU = { exports: {} };
|
|
|
27868
27868
|
i[h] = rs;
|
|
27869
27869
|
}
|
|
27870
27870
|
}
|
|
27871
|
-
function
|
|
27871
|
+
function Y3(u) {
|
|
27872
27872
|
return Array.isArray(u) ? `(${u.map(Nr).join(", ")})` : `(${Nr(u.type)}...)`;
|
|
27873
27873
|
}
|
|
27874
27874
|
class sf {
|
|
@@ -27928,7 +27928,7 @@ var NU = { exports: {} };
|
|
|
27928
27928
|
function tu(u, i) {
|
|
27929
27929
|
return u < i ? -1 : u > i ? 1 : 0;
|
|
27930
27930
|
}
|
|
27931
|
-
function
|
|
27931
|
+
function G3(u) {
|
|
27932
27932
|
let i = 0;
|
|
27933
27933
|
for (let l, h, g = 0, f = u.length, y = f - 1; g < f; y = g++)
|
|
27934
27934
|
l = u[g], h = u[y], i += (h.x - l.x) * (l.y + h.y);
|
|
@@ -27940,7 +27940,7 @@ var NU = { exports: {} };
|
|
|
27940
27940
|
function ec(u, i) {
|
|
27941
27941
|
return !(u[0] <= i[0] || u[2] >= i[2] || u[1] <= i[1] || u[3] >= i[3]);
|
|
27942
27942
|
}
|
|
27943
|
-
function
|
|
27943
|
+
function Z3(u, i, l) {
|
|
27944
27944
|
const h = u[0] - i[0], g = u[1] - i[1], f = u[0] - l[0], y = u[1] - l[1];
|
|
27945
27945
|
return h * y - f * g == 0 && h * f <= 0 && g * y <= 0;
|
|
27946
27946
|
}
|
|
@@ -27950,7 +27950,7 @@ var NU = { exports: {} };
|
|
|
27950
27950
|
const N = i[M];
|
|
27951
27951
|
for (let x = 0, E = N.length, A = E - 1; x < E; A = x++) {
|
|
27952
27952
|
const I = N[A], C = N[x];
|
|
27953
|
-
if (
|
|
27953
|
+
if (Z3(u, I, C))
|
|
27954
27954
|
return l;
|
|
27955
27955
|
(f = I)[1] > (g = u)[1] != (y = C)[1] > g[1] && g[0] < (y[0] - f[0]) * (g[1] - f[1]) / (y[1] - f[1]) + f[0] && (h = !h);
|
|
27956
27956
|
}
|
|
@@ -28646,7 +28646,7 @@ var NU = { exports: {} };
|
|
|
28646
28646
|
const I = [];
|
|
28647
28647
|
let C, k;
|
|
28648
28648
|
for (let B = 0; B < A; B++) {
|
|
28649
|
-
const F =
|
|
28649
|
+
const F = G3(x[B]);
|
|
28650
28650
|
F !== 0 && (x[B].area = Math.abs(F), k === void 0 && (k = F < 0), k === F < 0 ? (C && I.push(C), C = [x[B]]) : C.push(x[B]));
|
|
28651
28651
|
}
|
|
28652
28652
|
return C && I.push(C), I;
|
|
@@ -28954,9 +28954,9 @@ var NU = { exports: {} };
|
|
|
28954
28954
|
return i;
|
|
28955
28955
|
}
|
|
28956
28956
|
}
|
|
28957
|
-
const r_ = 0.95047, o_ = 1.08883, s_ = 4 / 29, uu = 6 / 29, a_ = 3 * uu * uu,
|
|
28957
|
+
const r_ = 0.95047, o_ = 1.08883, s_ = 4 / 29, uu = 6 / 29, a_ = 3 * uu * uu, W3 = uu * uu * uu, q3 = Math.PI / 180, K3 = 180 / Math.PI;
|
|
28958
28958
|
function fg(u) {
|
|
28959
|
-
return u >
|
|
28959
|
+
return u > W3 ? Math.pow(u, 1 / 3) : u / a_ + s_;
|
|
28960
28960
|
}
|
|
28961
28961
|
function pg(u) {
|
|
28962
28962
|
return u > uu ? u * u * u : a_ * (u - s_);
|
|
@@ -28975,20 +28975,20 @@ var NU = { exports: {} };
|
|
|
28975
28975
|
let i = (u.l + 16) / 116, l = isNaN(u.a) ? i : i + u.a / 500, h = isNaN(u.b) ? i : i - u.b / 200;
|
|
28976
28976
|
return i = 1 * pg(i), l = r_ * pg(l), h = o_ * pg(h), new Qi(mg(3.2404542 * l - 1.5371385 * i - 0.4985314 * h), mg(-0.969266 * l + 1.8760108 * i + 0.041556 * h), mg(0.0556434 * l - 0.2040259 * i + 1.0572252 * h), u.alpha);
|
|
28977
28977
|
}
|
|
28978
|
-
function
|
|
28978
|
+
function X3(u, i, l) {
|
|
28979
28979
|
const h = i - u;
|
|
28980
28980
|
return u + l * (h > 180 || h < -180 ? h - 360 * Math.round(h / 360) : h);
|
|
28981
28981
|
}
|
|
28982
28982
|
const Rh = { forward: l_, reverse: c_, interpolate: function(u, i, l) {
|
|
28983
28983
|
return { l: Jn(u.l, i.l, l), a: Jn(u.a, i.a, l), b: Jn(u.b, i.b, l), alpha: Jn(u.alpha, i.alpha, l) };
|
|
28984
28984
|
} }, Ph = { forward: function(u) {
|
|
28985
|
-
const { l: i, a: l, b: h } = l_(u), g = Math.atan2(h, l) *
|
|
28985
|
+
const { l: i, a: l, b: h } = l_(u), g = Math.atan2(h, l) * K3;
|
|
28986
28986
|
return { h: g < 0 ? g + 360 : g, c: Math.sqrt(l * l + h * h), l: i, alpha: u.a };
|
|
28987
28987
|
}, reverse: function(u) {
|
|
28988
|
-
const i = u.h *
|
|
28988
|
+
const i = u.h * q3, l = u.c;
|
|
28989
28989
|
return c_({ l: u.l, a: Math.cos(i) * l, b: Math.sin(i) * l, alpha: u.alpha });
|
|
28990
28990
|
}, interpolate: function(u, i, l) {
|
|
28991
|
-
return { h:
|
|
28991
|
+
return { h: X3(u.h, i.h, l), c: Jn(u.c, i.c, l), l: Jn(u.l, i.l, l), alpha: Jn(u.alpha, i.alpha, l) };
|
|
28992
28992
|
} };
|
|
28993
28993
|
var u_ = Object.freeze({ __proto__: null, hcl: Ph, lab: Rh });
|
|
28994
28994
|
class vs {
|
|
@@ -29498,7 +29498,7 @@ var NU = { exports: {} };
|
|
|
29498
29498
|
}
|
|
29499
29499
|
};
|
|
29500
29500
|
}
|
|
29501
|
-
const
|
|
29501
|
+
const J3 = hu("==", function(u, i, l) {
|
|
29502
29502
|
return i === l;
|
|
29503
29503
|
}, h_), d_ = hu("!=", function(u, i, l) {
|
|
29504
29504
|
return i !== l;
|
|
@@ -29599,7 +29599,7 @@ var NU = { exports: {} };
|
|
|
29599
29599
|
return i = i + Math.imul(i ^ i >>> 7, 61 | i) ^ i, ((i ^ i >>> 14) >>> 0) / 4294967296;
|
|
29600
29600
|
};
|
|
29601
29601
|
}
|
|
29602
|
-
const fu = { "==":
|
|
29602
|
+
const fu = { "==": J3, "!=": d_, ">": du, "<": f_, ">=": m_, "<=": p_, array: Ks, at: _g, boolean: Ks, case: Bh, coalesce: xf, collator: sf, format: Jc, image: Xl, in: vg, "index-of": Mf, interpolate: vs, "interpolate-hcl": vs, "interpolate-lab": vs, length: Uh, let: bf, literal: qs, match: xg, number: Ks, "number-format": Mg, object: Ks, slice: wf, step: jh, string: Ks, "to-boolean": Fa, "to-color": Fa, "to-number": Fa, "to-string": Fa, var: nr, within: bl, distance: Ml, config: lu };
|
|
29603
29603
|
function g_(u, [i, l, h, g]) {
|
|
29604
29604
|
i = i.evaluate(u), l = l.evaluate(u), h = h.evaluate(u);
|
|
29605
29605
|
const f = g ? g.evaluate(u) : 1, y = Hy(i, l, h, f);
|
|
@@ -29664,16 +29664,16 @@ var NU = { exports: {} };
|
|
|
29664
29664
|
if (f === "exponential")
|
|
29665
29665
|
y = Ag;
|
|
29666
29666
|
else if (f === "interval")
|
|
29667
|
-
y =
|
|
29667
|
+
y = tw;
|
|
29668
29668
|
else if (f === "categorical") {
|
|
29669
|
-
y =
|
|
29669
|
+
y = ew, M = /* @__PURE__ */ Object.create(null);
|
|
29670
29670
|
for (const N of u.stops)
|
|
29671
29671
|
M[N[0]] = N[1];
|
|
29672
29672
|
D = typeof u.stops[0][0];
|
|
29673
29673
|
} else {
|
|
29674
29674
|
if (f !== "identity")
|
|
29675
29675
|
throw new Error(`Unknown function type "${f}"`);
|
|
29676
|
-
y =
|
|
29676
|
+
y = nw;
|
|
29677
29677
|
}
|
|
29678
29678
|
if (h) {
|
|
29679
29679
|
const N = {}, x = [];
|
|
@@ -29699,10 +29699,10 @@ var NU = { exports: {} };
|
|
|
29699
29699
|
function Fh(u, i, l) {
|
|
29700
29700
|
return u !== void 0 ? u : i !== void 0 ? i : l !== void 0 ? l : void 0;
|
|
29701
29701
|
}
|
|
29702
|
-
function
|
|
29702
|
+
function ew(u, i, l, h, g) {
|
|
29703
29703
|
return Fh(typeof l === g ? h[l] : void 0, u.default, i.default);
|
|
29704
29704
|
}
|
|
29705
|
-
function
|
|
29705
|
+
function tw(u, i, l) {
|
|
29706
29706
|
if (Jl(l) !== "number")
|
|
29707
29707
|
return Fh(u.default, i.default);
|
|
29708
29708
|
const h = u.stops.length;
|
|
@@ -29737,7 +29737,7 @@ var NU = { exports: {} };
|
|
|
29737
29737
|
return N(E, A, y);
|
|
29738
29738
|
} } : N(M, D, y);
|
|
29739
29739
|
}
|
|
29740
|
-
function
|
|
29740
|
+
function nw(u, i, l) {
|
|
29741
29741
|
return i.type === "color" ? l = Qi.parse(l) : i.type === "formatted" ? l = zo.fromString(l.toString()) : i.type === "resolvedImage" ? l = Vo.fromString(l.toString()) : Jl(l) === i.type || i.type === "enum" && i.values[l] || (l = void 0), Fh(l, u.default, i.default);
|
|
29742
29742
|
}
|
|
29743
29743
|
rs.register(fu, { error: [{ kind: "error" }, [Ii], (u, [i]) => {
|
|
@@ -30103,11 +30103,11 @@ var NU = { exports: {} };
|
|
|
30103
30103
|
}
|
|
30104
30104
|
function b_(u) {
|
|
30105
30105
|
for (const i of u)
|
|
30106
|
-
if (!
|
|
30106
|
+
if (!iw(i.charCodeAt(0)))
|
|
30107
30107
|
return !1;
|
|
30108
30108
|
return !0;
|
|
30109
30109
|
}
|
|
30110
|
-
function
|
|
30110
|
+
function iw(u) {
|
|
30111
30111
|
return !(jn.Arabic(u) || jn["Arabic Supplement"](u) || jn["Arabic Extended-A"](u) || jn["Arabic Presentation Forms-A"](u) || jn["Arabic Presentation Forms-B"](u));
|
|
30112
30112
|
}
|
|
30113
30113
|
function mu(u) {
|
|
@@ -30124,7 +30124,7 @@ var NU = { exports: {} };
|
|
|
30124
30124
|
function M_(u, i) {
|
|
30125
30125
|
return !(!i && Hh(u) || u >= 2304 && u <= 3583 || u >= 3840 && u <= 4255 || jn.Khmer(u));
|
|
30126
30126
|
}
|
|
30127
|
-
function
|
|
30127
|
+
function rw(u) {
|
|
30128
30128
|
for (const i of u)
|
|
30129
30129
|
if (Hh(i.charCodeAt(0)))
|
|
30130
30130
|
return !0;
|
|
@@ -30288,7 +30288,7 @@ var NU = { exports: {} };
|
|
|
30288
30288
|
return !1;
|
|
30289
30289
|
}
|
|
30290
30290
|
}
|
|
30291
|
-
class
|
|
30291
|
+
class ow {
|
|
30292
30292
|
constructor(i, l, h) {
|
|
30293
30293
|
this._properties = i, this._values = Object.create(i.defaultPropertyValues), this._scope = l, this._options = h, this.configDependencies = /* @__PURE__ */ new Set();
|
|
30294
30294
|
}
|
|
@@ -30479,7 +30479,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
30479
30479
|
if (!Array.isArray(u))
|
|
30480
30480
|
return u;
|
|
30481
30481
|
const i = function(l) {
|
|
30482
|
-
if (
|
|
30482
|
+
if (sw.has(l[0])) {
|
|
30483
30483
|
for (let h = 1; h < l.length; h++)
|
|
30484
30484
|
if (Xs(l[h]))
|
|
30485
30485
|
return !0;
|
|
@@ -30520,8 +30520,8 @@ ${JSON.stringify(g, null, 2)}
|
|
|
30520
30520
|
return !0;
|
|
30521
30521
|
return !1;
|
|
30522
30522
|
}
|
|
30523
|
-
const
|
|
30524
|
-
function
|
|
30523
|
+
const sw = /* @__PURE__ */ new Set(["in", "==", "!=", ">", ">=", "<", "<=", "to-boolean"]);
|
|
30524
|
+
function aw(u, i) {
|
|
30525
30525
|
return u < i ? -1 : u > i ? 1 : 0;
|
|
30526
30526
|
}
|
|
30527
30527
|
function D_(u) {
|
|
@@ -30560,7 +30560,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
30560
30560
|
case "$id":
|
|
30561
30561
|
return ["filter-id-in", ["literal", i]];
|
|
30562
30562
|
default:
|
|
30563
|
-
return i.length > 200 && !i.some((l) => typeof l != typeof i[0]) ? ["filter-in-large", u, ["literal", i.sort(
|
|
30563
|
+
return i.length > 200 && !i.some((l) => typeof l != typeof i[0]) ? ["filter-in-large", u, ["literal", i.sort(aw)]] : ["filter-in-small", u, ["literal", i]];
|
|
30564
30564
|
}
|
|
30565
30565
|
}
|
|
30566
30566
|
function Of(u) {
|
|
@@ -30589,7 +30589,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
30589
30589
|
const y = pu(this.filter, wt[`filter_${i.type}`]);
|
|
30590
30590
|
y.result !== "error" && (this.configDependencies = /* @__PURE__ */ new Set([...this.configDependencies, ...y.value.configDependencies]));
|
|
30591
30591
|
}
|
|
30592
|
-
if (i.slot && (this.slot = i.slot), l.layout && (this._unevaluatedLayout = new
|
|
30592
|
+
if (i.slot && (this.slot = i.slot), l.layout && (this._unevaluatedLayout = new ow(l.layout, this.scope, f), this.configDependencies = /* @__PURE__ */ new Set([...this.configDependencies, ...this._unevaluatedLayout.configDependencies])), l.paint) {
|
|
30593
30593
|
this._transitionablePaint = new S_(l.paint, this.scope, f);
|
|
30594
30594
|
for (const y in i.paint)
|
|
30595
30595
|
this.setPaintProperty(y, i.paint[y]);
|
|
@@ -31541,7 +31541,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
31541
31541
|
}
|
|
31542
31542
|
}
|
|
31543
31543
|
Tn(n0, "FillExtrusionWallArray");
|
|
31544
|
-
const
|
|
31544
|
+
const lw = zi([{ name: "a_pos", components: 2, type: "Int16" }], 4), cw = zi([{ name: "a_pos_3", components: 3, type: "Int16" }, { name: "a_pos_normal_3", components: 3, type: "Int16" }]);
|
|
31545
31545
|
class Cr {
|
|
31546
31546
|
constructor(i = []) {
|
|
31547
31547
|
this.segments = i;
|
|
@@ -31569,7 +31569,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
31569
31569
|
return 256 * (u = nt(Math.floor(u), 0, 255)) + nt(Math.floor(i), 0, 255);
|
|
31570
31570
|
}
|
|
31571
31571
|
Cr.MAX_VERTEX_ARRAY_LENGTH = Math.pow(2, 16) - 1, Tn(Cr, "SegmentVector");
|
|
31572
|
-
const
|
|
31572
|
+
const uw = zi([{ name: "a_pattern", components: 4, type: "Uint16" }, { name: "a_pixel_ratio", components: 1, type: "Float32" }]), hw = zi([{ name: "a_dash", components: 4, type: "Uint16" }]);
|
|
31573
31573
|
class td {
|
|
31574
31574
|
constructor() {
|
|
31575
31575
|
this.ids = [], this.uniqueIds = [], this.positions = [], this.indexed = !1;
|
|
@@ -31703,7 +31703,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
31703
31703
|
}
|
|
31704
31704
|
}
|
|
31705
31705
|
}
|
|
31706
|
-
const
|
|
31706
|
+
const dw = new Float32Array(9), $_ = new Float32Array(4);
|
|
31707
31707
|
class Zf extends Za {
|
|
31708
31708
|
constructor(i) {
|
|
31709
31709
|
super(i), this.current = $_;
|
|
@@ -31817,7 +31817,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
31817
31817
|
}
|
|
31818
31818
|
class qa {
|
|
31819
31819
|
constructor(i, l, h, g, f) {
|
|
31820
|
-
this.expression = i, this.layerId = f, this.paintVertexAttributes = (h === "array" ?
|
|
31820
|
+
this.expression = i, this.layerId = f, this.paintVertexAttributes = (h === "array" ? hw : uw).members;
|
|
31821
31821
|
for (let y = 0; y < l.length; ++y)
|
|
31822
31822
|
;
|
|
31823
31823
|
this.paintVertexArray = new g();
|
|
@@ -31854,7 +31854,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
31854
31854
|
const y = i.paint.get(f);
|
|
31855
31855
|
if (!h(f) || !(y instanceof gu && ic(y.property.specification)))
|
|
31856
31856
|
continue;
|
|
31857
|
-
const M =
|
|
31857
|
+
const M = pw(f, i.type), D = y.value, N = y.property.specification.type, x = !!y.property.useIntegerZoom, E = f === "line-dasharray" || f.endsWith("pattern"), A = f === "line-dasharray" && i.layout.get("line-cap").value.kind !== "constant";
|
|
31858
31858
|
if (D.kind !== "constant" || A)
|
|
31859
31859
|
if (D.kind === "source" || A || E) {
|
|
31860
31860
|
const I = H_(f, N, "source");
|
|
@@ -32010,14 +32010,14 @@ ${JSON.stringify(g, null, 2)}
|
|
|
32010
32010
|
this.programConfigurations[i].destroy();
|
|
32011
32011
|
}
|
|
32012
32012
|
}
|
|
32013
|
-
const
|
|
32014
|
-
function
|
|
32015
|
-
return
|
|
32013
|
+
const fw = { "text-opacity": ["opacity"], "icon-opacity": ["opacity"], "text-occlusion-opacity": ["occlusion_opacity"], "icon-occlusion-opacity": ["occlusion_opacity"], "text-color": ["fill_color"], "icon-color": ["fill_color"], "text-emissive-strength": ["emissive_strength"], "icon-emissive-strength": ["emissive_strength"], "text-halo-color": ["halo_color"], "icon-halo-color": ["halo_color"], "text-halo-blur": ["halo_blur"], "icon-halo-blur": ["halo_blur"], "text-halo-width": ["halo_width"], "icon-halo-width": ["halo_width"], "symbol-z-offset": ["z_offset"], "line-gap-width": ["gapwidth"], "line-pattern": ["pattern", "pixel_ratio"], "fill-pattern": ["pattern", "pixel_ratio"], "fill-extrusion-pattern": ["pattern", "pixel_ratio"], "line-dasharray": ["dash"] };
|
|
32014
|
+
function pw(u, i) {
|
|
32015
|
+
return fw[u] || [u.replace(`${i}-`, "").replace(/-/g, "_")];
|
|
32016
32016
|
}
|
|
32017
|
-
const
|
|
32017
|
+
const mw = { "line-pattern": { source: Ga, composite: Ga }, "fill-pattern": { source: Ga, composite: Ga }, "fill-extrusion-pattern": { source: Ga, composite: Ga }, "line-dasharray": { source: Pf, composite: Pf } }, gw = { color: { source: Xh, composite: Ya }, number: { source: Iu, composite: Xh } };
|
|
32018
32018
|
function H_(u, i, l) {
|
|
32019
|
-
const h =
|
|
32020
|
-
return h && h[l] ||
|
|
32019
|
+
const h = mw[u];
|
|
32020
|
+
return h && h[l] || gw[i][l];
|
|
32021
32021
|
}
|
|
32022
32022
|
Tn(id, "ConstantBinder"), Tn(Tu, "PatternConstantBinder"), Tn(Wa, "SourceExpressionBinder"), Tn(qa, "PatternCompositeBinder"), Tn(Js, "CompositeExpressionBinder"), Tn(Ka, "ProgramConfiguration", { omit: ["_buffers"] }), Tn(wa, "ProgramConfigurationSet");
|
|
32023
32023
|
const So = mn / Math.PI / 2, Q_ = 5, p = 6, o = 16383, c = 64, m = [c, 32, 16], v = -So, b = So;
|
|
@@ -32303,7 +32303,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
32303
32303
|
return !this.uploaded || this.programConfigurations.needsUpload;
|
|
32304
32304
|
}
|
|
32305
32305
|
upload(i) {
|
|
32306
|
-
this.uploaded || (this.layoutVertexBuffer = i.createVertexBuffer(this.layoutVertexArray,
|
|
32306
|
+
this.uploaded || (this.layoutVertexBuffer = i.createVertexBuffer(this.layoutVertexArray, lw.members), this.indexBuffer = i.createIndexBuffer(this.indexArray), this.globeExtVertexArray && (this.globeExtVertexBuffer = i.createVertexBuffer(this.globeExtVertexArray, cw.members))), this.programConfigurations.upload(i), this.uploaded = !0;
|
|
32307
32307
|
}
|
|
32308
32308
|
destroy() {
|
|
32309
32309
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.globeExtVertexBuffer && this.globeExtVertexBuffer.destroy());
|
|
@@ -32835,7 +32835,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
32835
32835
|
function El(u) {
|
|
32836
32836
|
if (u.z <= 1)
|
|
32837
32837
|
return s0[u.z + 2 * u.y + u.x];
|
|
32838
|
-
const i =
|
|
32838
|
+
const i = yw(Y_(u));
|
|
32839
32839
|
return Fi.fromPoints(i);
|
|
32840
32840
|
}
|
|
32841
32841
|
function hc(u, i, l) {
|
|
@@ -32851,7 +32851,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
32851
32851
|
const Te = El(l).getCorners();
|
|
32852
32852
|
return k6(Te, f, g), Fi.fromPoints(Te);
|
|
32853
32853
|
}
|
|
32854
|
-
const y = Y_(l, h), M =
|
|
32854
|
+
const y = Y_(l, h), M = yw(y, So + Eu(u._tileCoverLift));
|
|
32855
32855
|
k6(M, f, g);
|
|
32856
32856
|
const D = Number.MAX_VALUE, N = [-D, -D, -D], x = [D, D, D];
|
|
32857
32857
|
if (y.contains(u.center)) {
|
|
@@ -32899,7 +32899,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
32899
32899
|
const g = 1 / (1 << l), f = new j(we(u * g), i === (1 << l) - 1 && h ? -90 : Ae((i + 1) * g)), y = new j(we((u + 1) * g), i === 0 && h ? 90 : Ae(i * g));
|
|
32900
32900
|
return new $(f, y);
|
|
32901
32901
|
}
|
|
32902
|
-
function
|
|
32902
|
+
function yw(u, i = So) {
|
|
32903
32903
|
const l = ut(u.getNorth()), h = ut(u.getSouth()), g = Math.cos(l), f = Math.cos(h), y = Math.sin(l), M = Math.sin(h), D = u.getWest(), N = u.getEast();
|
|
32904
32904
|
return [w(f, M, D, i), w(f, M, N, i), w(g, y, N, i), w(g, y, D, i)];
|
|
32905
32905
|
}
|
|
@@ -32915,11 +32915,11 @@ ${JSON.stringify(g, null, 2)}
|
|
|
32915
32915
|
const i = G_(u), l = X.mat4.fromScaling(O6, [i, i, i]);
|
|
32916
32916
|
return X.mat4.translate(l, l, X.vec3.negate([], u.min));
|
|
32917
32917
|
}
|
|
32918
|
-
function
|
|
32918
|
+
function _w(u) {
|
|
32919
32919
|
const i = X.mat4.fromTranslation(O6, u.min), l = 1 / G_(u);
|
|
32920
32920
|
return X.mat4.scale(i, i, [l, l, l]);
|
|
32921
32921
|
}
|
|
32922
|
-
function
|
|
32922
|
+
function vw(u) {
|
|
32923
32923
|
const i = mn / (2 * Math.PI);
|
|
32924
32924
|
return u / (2 * Math.PI) / i;
|
|
32925
32925
|
}
|
|
@@ -32927,7 +32927,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
32927
32927
|
return mn / (512 * Math.pow(2, u)) * G_(El(i));
|
|
32928
32928
|
}
|
|
32929
32929
|
function R6(u, i, l, h, g) {
|
|
32930
|
-
const f =
|
|
32930
|
+
const f = vw(l), y = [u, i, -l / (2 * Math.PI)], M = X.mat4.identity(new Float64Array(16));
|
|
32931
32931
|
return X.mat4.translate(M, M, y), X.mat4.scale(M, M, [f, f, f]), X.mat4.rotateX(M, M, ut(-g)), X.mat4.rotateY(M, M, ut(-h)), M;
|
|
32932
32932
|
}
|
|
32933
32933
|
function Cu(u) {
|
|
@@ -32944,7 +32944,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
32944
32944
|
}(u), g = X.vec3.subtract([], h, l);
|
|
32945
32945
|
return X.vec3.angle(g, l);
|
|
32946
32946
|
}
|
|
32947
|
-
function
|
|
32947
|
+
function xw(u, i) {
|
|
32948
32948
|
return P6(u, i) > Math.PI / 2 * 1.01;
|
|
32949
32949
|
}
|
|
32950
32950
|
const B6 = ut(85), ZV = Math.cos(B6), WV = Math.sin(B6), qV = X.mat4.create(), U6 = (u) => {
|
|
@@ -32997,9 +32997,9 @@ ${JSON.stringify(g, null, 2)}
|
|
|
32997
32997
|
}
|
|
32998
32998
|
function W6(u, i, l) {
|
|
32999
32999
|
const { width: h, height: g } = i;
|
|
33000
|
-
h === u.width && g === u.height || (
|
|
33000
|
+
h === u.width && g === u.height || (bw(u, i, { x: 0, y: 0 }, { x: 0, y: 0 }, { width: Math.min(u.width, h), height: Math.min(u.height, g) }, l, null), u.width = h, u.height = g, u.data = i.data);
|
|
33001
33001
|
}
|
|
33002
|
-
function
|
|
33002
|
+
function bw(u, i, l, h, g, f, y, M) {
|
|
33003
33003
|
if (g.width === 0 || g.height === 0)
|
|
33004
33004
|
return i;
|
|
33005
33005
|
if (g.width > u.width || g.height > u.height || l.x > u.width - g.width || l.y > u.height - g.height)
|
|
@@ -33037,7 +33037,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33037
33037
|
return new Au({ width: this.width, height: this.height }, new Uint8Array(this.data));
|
|
33038
33038
|
}
|
|
33039
33039
|
static copy(i, l, h, g, f) {
|
|
33040
|
-
|
|
33040
|
+
bw(i, l, h, g, f, 1, null);
|
|
33041
33041
|
}
|
|
33042
33042
|
}
|
|
33043
33043
|
class Qo {
|
|
@@ -33054,7 +33054,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33054
33054
|
return new Qo({ width: this.width, height: this.height }, new Uint8Array(this.data));
|
|
33055
33055
|
}
|
|
33056
33056
|
static copy(i, l, h, g, f, y, M) {
|
|
33057
|
-
|
|
33057
|
+
bw(i, l, h, g, f, 4, y, M);
|
|
33058
33058
|
}
|
|
33059
33059
|
}
|
|
33060
33060
|
class q6 {
|
|
@@ -33146,7 +33146,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33146
33146
|
!y && f && function(D, N, x, E) {
|
|
33147
33147
|
let A = D;
|
|
33148
33148
|
do
|
|
33149
|
-
A.z === 0 && (A.z =
|
|
33149
|
+
A.z === 0 && (A.z = Mw(A.x, A.y, N, x, E)), A.prevZ = A.prev, A.nextZ = A.next, A = A.next;
|
|
33150
33150
|
while (A !== D);
|
|
33151
33151
|
A.prevZ.nextZ = null, A.prevZ = null, function(I) {
|
|
33152
33152
|
let C, k = 1;
|
|
@@ -33196,7 +33196,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33196
33196
|
const g = u.prev, f = u, y = u.next;
|
|
33197
33197
|
if (to(g, f, y) >= 0)
|
|
33198
33198
|
return !1;
|
|
33199
|
-
const M = g.x, D = f.x, N = y.x, x = g.y, E = f.y, A = y.y, I = M < D ? M < N ? M : N : D < N ? D : N, C = x < E ? x < A ? x : A : E < A ? E : A, k = M > D ? M > N ? M : N : D > N ? D : N, B = x > E ? x > A ? x : A : E > A ? E : A, F =
|
|
33199
|
+
const M = g.x, D = f.x, N = y.x, x = g.y, E = f.y, A = y.y, I = M < D ? M < N ? M : N : D < N ? D : N, C = x < E ? x < A ? x : A : E < A ? E : A, k = M > D ? M > N ? M : N : D > N ? D : N, B = x > E ? x > A ? x : A : E > A ? E : A, F = Mw(I, C, i, l, h), Z = Mw(k, B, i, l, h);
|
|
33200
33200
|
let W = u.prevZ, H = u.nextZ;
|
|
33201
33201
|
for (; W && W.z >= F && H && H.z <= Z; ) {
|
|
33202
33202
|
if (W.x >= I && W.x <= k && W.y >= C && W.y <= B && W !== g && W !== y && Wf(M, x, D, E, N, A, W.x, W.y) && to(W.prev, W, W.next) >= 0 || (W = W.prevZ, H.x >= I && H.x <= k && H.y >= C && H.y <= B && H !== g && H !== y && Wf(M, x, D, E, N, A, H.x, H.y) && to(H.prev, H, H.next) >= 0))
|
|
@@ -33275,7 +33275,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33275
33275
|
function l$(u, i) {
|
|
33276
33276
|
return to(u.prev, u, i.prev) < 0 && to(i.next, u, u.next) < 0;
|
|
33277
33277
|
}
|
|
33278
|
-
function
|
|
33278
|
+
function Mw(u, i, l, h, g) {
|
|
33279
33279
|
return (u = 1431655765 & ((u = 858993459 & ((u = 252645135 & ((u = 16711935 & ((u = (u - l) * g | 0) | u << 8)) | u << 4)) | u << 2)) | u << 1)) | (i = 1431655765 & ((i = 858993459 & ((i = 252645135 & ((i = 16711935 & ((i = (i - h) * g | 0) | i << 8)) | i << 4)) | i << 2)) | i << 1)) << 1;
|
|
33280
33280
|
}
|
|
33281
33281
|
function c$(u) {
|
|
@@ -33326,17 +33326,17 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33326
33326
|
return to(u.prev, u, u.next) < 0 ? to(u, i, u.next) >= 0 && to(u, u.prev, i) >= 0 : to(u, i, u.prev) < 0 || to(u, u.next, i) < 0;
|
|
33327
33327
|
}
|
|
33328
33328
|
function J6(u, i) {
|
|
33329
|
-
const l =
|
|
33329
|
+
const l = ww(u.i, u.x, u.y), h = ww(i.i, i.x, i.y), g = u.next, f = i.prev;
|
|
33330
33330
|
return u.next = i, i.prev = u, l.next = g, g.prev = l, h.next = l, l.prev = h, f.next = h, h.prev = f, h;
|
|
33331
33331
|
}
|
|
33332
33332
|
function eC(u, i, l, h) {
|
|
33333
|
-
const g =
|
|
33333
|
+
const g = ww(u, i, l);
|
|
33334
33334
|
return h ? (g.next = h.next, g.prev = h, h.next.prev = g, h.next = g) : (g.prev = g, g.next = g), g;
|
|
33335
33335
|
}
|
|
33336
33336
|
function f0(u) {
|
|
33337
33337
|
u.next.prev = u.prev, u.prev.next = u.next, u.prevZ && (u.prevZ.nextZ = u.nextZ), u.nextZ && (u.nextZ.prevZ = u.prevZ);
|
|
33338
33338
|
}
|
|
33339
|
-
function
|
|
33339
|
+
function ww(u, i, l) {
|
|
33340
33340
|
return { i: u, x: i, y: l, prev: null, next: null, z: 0, prevZ: null, nextZ: null, steiner: !1 };
|
|
33341
33341
|
}
|
|
33342
33342
|
function X_(u, i) {
|
|
@@ -33357,7 +33357,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33357
33357
|
function h$(u, i) {
|
|
33358
33358
|
return i.area - u.area;
|
|
33359
33359
|
}
|
|
33360
|
-
function
|
|
33360
|
+
function Iw(u, i, l) {
|
|
33361
33361
|
const h = l.patternDependencies;
|
|
33362
33362
|
let g = !1;
|
|
33363
33363
|
for (const f of i) {
|
|
@@ -33368,7 +33368,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33368
33368
|
}
|
|
33369
33369
|
return g;
|
|
33370
33370
|
}
|
|
33371
|
-
function
|
|
33371
|
+
function Sw(u, i, l, h, g) {
|
|
33372
33372
|
const f = g.patternDependencies;
|
|
33373
33373
|
for (const y of i) {
|
|
33374
33374
|
const M = y.paint.get(`${u}-pattern`).value;
|
|
@@ -33379,14 +33379,14 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33379
33379
|
}
|
|
33380
33380
|
return l;
|
|
33381
33381
|
}
|
|
33382
|
-
class
|
|
33382
|
+
class Tw {
|
|
33383
33383
|
constructor(i) {
|
|
33384
33384
|
this.zoom = i.zoom, this.overscaling = i.overscaling, this.layers = i.layers, this.layerIds = this.layers.map((l) => l.fqid), this.index = i.index, this.hasPattern = !1, this.patternFeatures = [], this.layoutVertexArray = new Il(), this.indexArray = new br(), this.indexArray2 = new Tl(), this.programConfigurations = new wa(i.layers, { zoom: i.zoom, lut: i.lut }), this.segments = new Cr(), this.segments2 = new Cr(), this.stateDependentLayerIds = this.layers.filter((l) => l.isStateDependent()).map((l) => l.id), this.projection = i.projection;
|
|
33385
33385
|
}
|
|
33386
33386
|
updateFootprints(i, l) {
|
|
33387
33387
|
}
|
|
33388
33388
|
populate(i, l, h, g) {
|
|
33389
|
-
this.hasPattern =
|
|
33389
|
+
this.hasPattern = Iw("fill", this.layers, l);
|
|
33390
33390
|
const f = this.layers[0].layout.get("fill-sort-key"), y = [];
|
|
33391
33391
|
for (const { feature: M, id: D, index: N, sourceLayerIndex: x } of i) {
|
|
33392
33392
|
const E = this.layers[0]._featureFilter.needGeometry, A = Vt(M, E);
|
|
@@ -33399,7 +33399,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33399
33399
|
for (const M of y) {
|
|
33400
33400
|
const { geometry: D, index: N, sourceLayerIndex: x } = M;
|
|
33401
33401
|
if (this.hasPattern) {
|
|
33402
|
-
const E =
|
|
33402
|
+
const E = Sw("fill", this.layers, M, this.zoom, l);
|
|
33403
33403
|
this.patternFeatures.push(E);
|
|
33404
33404
|
} else
|
|
33405
33405
|
this.addFeature(M, D, N, h, {}, l.availableImages, l.brightness);
|
|
@@ -33451,8 +33451,8 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33451
33451
|
}
|
|
33452
33452
|
}
|
|
33453
33453
|
let tC, nC, iC, rC;
|
|
33454
|
-
Tn(
|
|
33455
|
-
class
|
|
33454
|
+
Tn(Tw, "FillBucket", { omit: ["layers", "patternFeatures"] });
|
|
33455
|
+
class Ew {
|
|
33456
33456
|
constructor(i, l, h, g) {
|
|
33457
33457
|
if (this.triangleCount = l.length / 3, this.min = new Ce(0, 0), this.max = new Ce(0, 0), this.xScale = 0, this.yScale = 0, this.cellsX = 0, this.cellsY = 0, this.cells = [], this.payload = [], this.triangleCount === 0 || i.length === 0)
|
|
33458
33458
|
return;
|
|
@@ -33528,7 +33528,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33528
33528
|
function Dl(u, i, l) {
|
|
33529
33529
|
return Math.max(0, Math.min(l - 1, Math.floor(u * i)));
|
|
33530
33530
|
}
|
|
33531
|
-
Tn(
|
|
33531
|
+
Tn(Ew, "TriangleGridIndex");
|
|
33532
33532
|
class oC {
|
|
33533
33533
|
constructor(i) {
|
|
33534
33534
|
this.zoom = i.zoom, this.layers = i.layers, this.layerIds = this.layers.map((l) => l.fqid), this.index = i.index, this.hasPattern = !1, this.stateDependentLayerIds = this.layers.filter((l) => l.isStateDependent()).map((l) => l.id), this.footprints = [];
|
|
@@ -33572,17 +33572,17 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33572
33572
|
for (let F = 0; F < B.length; F++)
|
|
33573
33573
|
x.push(B[F].x), x.push(B[F].y), N.push(B[F]), A.x = Math.min(A.x, B[F].x), A.y = Math.min(A.y, B[F].y), I.x = Math.max(I.x, B[F].x), I.y = Math.max(I.y, B[F].y);
|
|
33574
33574
|
}
|
|
33575
|
-
const C = u0(x, E), k = new
|
|
33575
|
+
const C = u0(x, E), k = new Ew(N, C, 8, 256);
|
|
33576
33576
|
this.footprints.push({ vertices: N, indices: C, grid: k, min: A, max: I });
|
|
33577
33577
|
}
|
|
33578
33578
|
}
|
|
33579
33579
|
}
|
|
33580
33580
|
Tn(oC, "ClipBucket", { omit: ["layers"] });
|
|
33581
33581
|
const d$ = zi([{ name: "a_pos_normal_ed", components: 4, type: "Int16" }]), f$ = zi([{ name: "a_pos_end", components: 4, type: "Int16" }, { name: "a_angular_offset_factor", components: 1, type: "Int16" }]), p$ = zi([{ name: "a_centroid_pos", components: 2, type: "Uint16" }]), m$ = zi([{ name: "a_join_normal_inside", components: 3, type: "Int16" }]), g$ = zi([{ name: "a_hidden_by_landmark", components: 1, type: "Uint8" }]), y$ = zi([{ name: "a_pos_3", components: 3, type: "Int16" }, { name: "a_pos_normal_3", components: 3, type: "Int16" }]), { members: _$ } = d$;
|
|
33582
|
-
var
|
|
33582
|
+
var Dw, sC, Cw, aC, Aw, lC, cC, J_ = {};
|
|
33583
33583
|
function uC() {
|
|
33584
33584
|
if (sC)
|
|
33585
|
-
return
|
|
33585
|
+
return Dw;
|
|
33586
33586
|
sC = 1;
|
|
33587
33587
|
var u = Ye();
|
|
33588
33588
|
function i(g, f, y, M, D) {
|
|
@@ -33601,7 +33601,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33601
33601
|
M += ((y = g[x]).x - (f = g[D]).x) * (f.y + y.y);
|
|
33602
33602
|
return M;
|
|
33603
33603
|
}
|
|
33604
|
-
return
|
|
33604
|
+
return Dw = i, i.types = ["Unknown", "Point", "LineString", "Polygon"], i.prototype.loadGeometry = function() {
|
|
33605
33605
|
var g = this._pbf;
|
|
33606
33606
|
g.pos = this._geometry;
|
|
33607
33607
|
for (var f, y = g.readVarint() + g.pos, M = 1, D = 0, N = 0, x = 0, E = []; g.pos < y; ) {
|
|
@@ -33668,11 +33668,11 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33668
33668
|
A.length === 1 ? A = A[0] : I = "Multi" + I;
|
|
33669
33669
|
var B = { type: "Feature", geometry: { type: I, coordinates: A }, properties: this.properties };
|
|
33670
33670
|
return "id" in this && (B.id = this.id), B;
|
|
33671
|
-
},
|
|
33671
|
+
}, Dw;
|
|
33672
33672
|
}
|
|
33673
33673
|
function hC() {
|
|
33674
33674
|
if (aC)
|
|
33675
|
-
return
|
|
33675
|
+
return Cw;
|
|
33676
33676
|
aC = 1;
|
|
33677
33677
|
var u = uC();
|
|
33678
33678
|
function i(h, g) {
|
|
@@ -33687,18 +33687,18 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33687
33687
|
return M;
|
|
33688
33688
|
}(f));
|
|
33689
33689
|
}
|
|
33690
|
-
return
|
|
33690
|
+
return Cw = i, i.prototype.feature = function(h) {
|
|
33691
33691
|
if (h < 0 || h >= this._features.length)
|
|
33692
33692
|
throw new Error("feature index out of bounds");
|
|
33693
33693
|
this._pbf.pos = this._features[h];
|
|
33694
33694
|
var g = this._pbf.readVarint() + this._pbf.pos;
|
|
33695
33695
|
return new u(this._pbf, g, this.extent, this._keys, this._values);
|
|
33696
|
-
},
|
|
33696
|
+
}, Cw;
|
|
33697
33697
|
}
|
|
33698
33698
|
function dC() {
|
|
33699
33699
|
return cC || (cC = 1, J_.VectorTile = function() {
|
|
33700
33700
|
if (lC)
|
|
33701
|
-
return
|
|
33701
|
+
return Aw;
|
|
33702
33702
|
lC = 1;
|
|
33703
33703
|
var u = hC();
|
|
33704
33704
|
function i(l, h, g) {
|
|
@@ -33707,9 +33707,9 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33707
33707
|
f.length && (h[f.name] = f);
|
|
33708
33708
|
}
|
|
33709
33709
|
}
|
|
33710
|
-
return
|
|
33710
|
+
return Aw = function(l, h) {
|
|
33711
33711
|
this.layers = l.readFields(i, {}, h);
|
|
33712
|
-
},
|
|
33712
|
+
}, Aw;
|
|
33713
33713
|
}(), J_.VectorTileFeature = uC(), J_.VectorTileLayer = hC()), J_;
|
|
33714
33714
|
}
|
|
33715
33715
|
var qf = dC();
|
|
@@ -33770,10 +33770,10 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33770
33770
|
function yC(u, i) {
|
|
33771
33771
|
return nv(u.min, i.min) === 0 && nv(u.max, i.max) === 0;
|
|
33772
33772
|
}
|
|
33773
|
-
function
|
|
33773
|
+
function Nw(u, i) {
|
|
33774
33774
|
return !(u.min.x > i.max.x || u.max.x < i.min.x || u.min.y > i.max.y || u.max.y < i.min.y);
|
|
33775
33775
|
}
|
|
33776
|
-
function
|
|
33776
|
+
function Lw(u, i) {
|
|
33777
33777
|
if (u.length !== i.length)
|
|
33778
33778
|
return !1;
|
|
33779
33779
|
for (let l = 0; l < u.length; l++)
|
|
@@ -33829,21 +33829,21 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33829
33829
|
}
|
|
33830
33830
|
return !1;
|
|
33831
33831
|
}
|
|
33832
|
-
const
|
|
33832
|
+
const kw = [new Ce(0, 0), new Ce(mn, 0), new Ce(mn, mn), new Ce(0, mn)];
|
|
33833
33833
|
function wC(u, i) {
|
|
33834
33834
|
const l = [];
|
|
33835
33835
|
let h = [];
|
|
33836
33836
|
if (!i || u.length < 2)
|
|
33837
33837
|
return [u];
|
|
33838
33838
|
if (u.length === 2)
|
|
33839
|
-
return Ci(u[0], u[1],
|
|
33839
|
+
return Ci(u[0], u[1], kw) ? [u] : [];
|
|
33840
33840
|
for (let g = 0; g < u.length + 2; g++) {
|
|
33841
|
-
const f = u[g % u.length], y = u[(g + 1) % u.length], M = Ci(g === 0 ? u[u.length - 1] : u[(g - 1) % u.length], f,
|
|
33841
|
+
const f = u[g % u.length], y = u[(g + 1) % u.length], M = Ci(g === 0 ? u[u.length - 1] : u[(g - 1) % u.length], f, kw), D = Ci(f, y, kw), N = M || D;
|
|
33842
33842
|
N && h.push(f), N && D || h.length > 0 && (h.length > 1 && l.push(h), h = []);
|
|
33843
33843
|
}
|
|
33844
33844
|
return h.length > 1 && l.push(h), l;
|
|
33845
33845
|
}
|
|
33846
|
-
const
|
|
33846
|
+
const zw = qf.VectorTileFeature.types, x$ = ["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"], b$ = ["fill-extrusion-flood-light-ground-radius"], M$ = Math.pow(2, 13), w$ = Math.pow(2, 15) - 1, IC = new Ce(0, 1), Nu = 2147483648;
|
|
33847
33847
|
function p0(u, i, l, h, g, f, y, M) {
|
|
33848
33848
|
u.emplaceBack((i << 1) + y, (l << 1) + f, (Math.floor(h * M$) << 1) + g, Math.round(M));
|
|
33849
33849
|
}
|
|
@@ -33950,7 +33950,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
33950
33950
|
}
|
|
33951
33951
|
for (let N = 0; N < f; N++) {
|
|
33952
33952
|
const x = N === f - 1 ? 0 : N + 1, E = i[N], A = i[x], I = i[x === f - 1 ? 0 : x + 1], C = A.sub(E)._perp()._unit(), k = DC(C, I.sub(A)._perp()._unit()), B = D, F = k;
|
|
33953
|
-
if (
|
|
33953
|
+
if (Ow(E, A, l) || g && LC(E, l) && LC(A, l)) {
|
|
33954
33954
|
D = k;
|
|
33955
33955
|
continue;
|
|
33956
33956
|
}
|
|
@@ -34033,14 +34033,14 @@ ${JSON.stringify(g, null, 2)}
|
|
|
34033
34033
|
updateFootprints(i, l) {
|
|
34034
34034
|
}
|
|
34035
34035
|
populate(i, l, h, g) {
|
|
34036
|
-
this.features = [], this.hasPattern =
|
|
34036
|
+
this.features = [], this.hasPattern = Iw("fill-extrusion", this.layers, l), this.featuresOnBorder = [], this.borderFeatureIndices = [[], [], [], []], this.borderDoneWithNeighborZ = [-1, -1, -1, -1], this.tileToMeter = We(h), this.edgeRadius = this.layers[0].layout.get("fill-extrusion-edge-radius") / this.tileToMeter, this.wallMode = this.layers[0].paint.get("fill-extrusion-line-width").constantOr(1) !== 0;
|
|
34037
34037
|
for (const { feature: f, id: y, index: M, sourceLayerIndex: D } of i) {
|
|
34038
34038
|
const N = this.layers[0]._featureFilter.needGeometry, x = Vt(f, N);
|
|
34039
34039
|
if (!this.layers[0]._featureFilter.filter(new wr(this.zoom), x, h))
|
|
34040
34040
|
continue;
|
|
34041
|
-
const E = { id: y, sourceLayerIndex: D, index: M, geometry: N ? x.geometry : ht(f, h, g), properties: f.properties, type: f.type, patterns: {} }, A = this.layoutVertexArray.length, I =
|
|
34041
|
+
const E = { id: y, sourceLayerIndex: D, index: M, geometry: N ? x.geometry : ht(f, h, g), properties: f.properties, type: f.type, patterns: {} }, A = this.layoutVertexArray.length, I = zw[E.type] === "Polygon";
|
|
34042
34042
|
if (this.hasPattern)
|
|
34043
|
-
this.features.push(
|
|
34043
|
+
this.features.push(Sw("fill-extrusion", this.layers, E, this.zoom, l));
|
|
34044
34044
|
else if (this.wallMode)
|
|
34045
34045
|
for (const C of E.geometry)
|
|
34046
34046
|
for (const k of wC(C, I))
|
|
@@ -34053,7 +34053,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
34053
34053
|
}
|
|
34054
34054
|
addFeatures(i, l, h, g, f, y) {
|
|
34055
34055
|
for (const M of this.features) {
|
|
34056
|
-
const D =
|
|
34056
|
+
const D = zw[M.type] === "Polygon", { geometry: N } = M;
|
|
34057
34057
|
if (this.wallMode)
|
|
34058
34058
|
for (const x of N)
|
|
34059
34059
|
for (const E of wC(x, D))
|
|
@@ -34086,7 +34086,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
34086
34086
|
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());
|
|
34087
34087
|
}
|
|
34088
34088
|
addFeature(i, l, h, g, f, y, M, D) {
|
|
34089
|
-
const N = this.layers[0].paint.get("fill-extrusion-flood-light-ground-radius").evaluate(i, {}) / this.tileToMeter, x = [new Ce(0, 0), new Ce(mn, mn)], E = M.projection, A = E.name === "globe", I = this.wallMode ||
|
|
34089
|
+
const N = this.layers[0].paint.get("fill-extrusion-flood-light-ground-radius").evaluate(i, {}) / this.tileToMeter, x = [new Ce(0, 0), new Ce(mn, mn)], E = M.projection, A = E.name === "globe", I = this.wallMode || zw[i.type] === "Polygon", C = new EC();
|
|
34090
34090
|
C.centroidDataIndex = this.centroidData.length;
|
|
34091
34091
|
const k = new TC(), B = this.layers[0].paint.get("fill-extrusion-base").evaluate(i, {}, g) <= 0, F = this.layers[0].paint.get("fill-extrusion-height").evaluate(i, {}, g);
|
|
34092
34092
|
let Z;
|
|
@@ -34214,7 +34214,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
34214
34214
|
for (let Wt = 1, Qn = 0; Wt < Tt.length; Wt++) {
|
|
34215
34215
|
let wn = Tt[Wt - 1], Cn = Tt[Wt];
|
|
34216
34216
|
const ri = Tt[Wt === Tt.length - 1 ? 1 : Wt + 1];
|
|
34217
|
-
if (C.appendEdge(k, Cn, wn),
|
|
34217
|
+
if (C.appendEdge(k, Cn, wn), Ow(Cn, wn, Ze)) {
|
|
34218
34218
|
ye && (Sn = ri.sub(Cn)._perp()._unit(), sn = !sn);
|
|
34219
34219
|
continue;
|
|
34220
34220
|
}
|
|
@@ -34238,7 +34238,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
34238
34238
|
}
|
|
34239
34239
|
if (et.vertexLength += 4, this.indexArray.emplaceBack(fi + 0, fi + 1, fi + 2), this.indexArray.emplaceBack(fi + 1, fi + 3, fi + 2), et.primitiveLength += 2, ye) {
|
|
34240
34240
|
const ei = Ee + (Wt === 1 ? Tt.length - 2 : Wt - 2), Bi = Wt === 1 ? Ee : ei + 1;
|
|
34241
|
-
if (this.indexArray.emplaceBack(fi + 1, ei, fi + 3), this.indexArray.emplaceBack(ei, Bi, fi + 3), et.primitiveLength += 2, Ot === void 0 && (Ot = fi), !
|
|
34241
|
+
if (this.indexArray.emplaceBack(fi + 1, ei, fi + 3), this.indexArray.emplaceBack(ei, Bi, fi + 3), et.primitiveLength += 2, Ot === void 0 && (Ot = fi), !Ow(ri, Tt[Wt], Ze)) {
|
|
34242
34242
|
const Vi = Wt === Tt.length - 1 ? Ot : et.vertexLength;
|
|
34243
34243
|
this.indexArray.emplaceBack(fi + 2, fi + 3, Vi), this.indexArray.emplaceBack(fi + 3, Vi + 1, Vi), this.indexArray.emplaceBack(fi + 3, Bi, Vi + 1), et.primitiveLength += 3;
|
|
34244
34244
|
}
|
|
@@ -34379,7 +34379,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
34379
34379
|
return;
|
|
34380
34380
|
this.replacementUpdateTime = l.updateTime;
|
|
34381
34381
|
const g = l.getReplacementRegionsForTile(i.toUnwrapped());
|
|
34382
|
-
if (
|
|
34382
|
+
if (Lw(this.activeReplacements, g))
|
|
34383
34383
|
return;
|
|
34384
34384
|
if (this.activeReplacements = g, this.centroidVertexArray.length === 0)
|
|
34385
34385
|
this.createCentroidsBuffer();
|
|
@@ -34446,7 +34446,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
34446
34446
|
const f = Math.sqrt(1 - h * h);
|
|
34447
34447
|
return Math.min(u.dist(i) / 3, i.dist(l) / 3, g * f / h);
|
|
34448
34448
|
}
|
|
34449
|
-
function
|
|
34449
|
+
function Ow(u, i, l) {
|
|
34450
34450
|
return u.x < l[0].x && i.x < l[0].x || u.x > l[1].x && i.x > l[1].x || u.y < l[0].y && i.y < l[0].y || u.y > l[1].y && i.y > l[1].y;
|
|
34451
34451
|
}
|
|
34452
34452
|
function LC(u, i) {
|
|
@@ -34633,7 +34633,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
34633
34633
|
}
|
|
34634
34634
|
Tn(FC, "LineAtlas");
|
|
34635
34635
|
const O$ = qf.VectorTileFeature.types, j$ = Math.cos(Math.PI / 180 * 37.5), R$ = Math.cos(Math.PI / 180 * 5);
|
|
34636
|
-
class
|
|
34636
|
+
class jw {
|
|
34637
34637
|
constructor(i) {
|
|
34638
34638
|
this.evaluationGlobals = { zoom: 0, lineProgress: void 0 }, this.zoom = i.zoom, this.evaluationGlobals.zoom = this.zoom, this.overscaling = i.overscaling, this.layers = i.layers, this.layerIds = this.layers.map((l) => l.fqid), this.index = i.index, this.projection = i.projection, this.hasPattern = !1, this.hasZOffset = !1, this.hasCrossSlope = !1, this.patternFeatures = [], this.lineClipsArray = [], this.gradients = {}, this.layers.forEach((l) => {
|
|
34639
34639
|
this.gradients[l.id] = {};
|
|
@@ -34642,7 +34642,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
34642
34642
|
updateFootprints(i, l) {
|
|
34643
34643
|
}
|
|
34644
34644
|
populate(i, l, h, g) {
|
|
34645
|
-
this.hasPattern =
|
|
34645
|
+
this.hasPattern = Iw("line", this.layers, l);
|
|
34646
34646
|
const f = this.layers[0].layout.get("line-sort-key");
|
|
34647
34647
|
this.hasZOffset = !this.layers[0].isDraped();
|
|
34648
34648
|
const y = this.layers[0].layout.get("line-elevation-reference");
|
|
@@ -34662,7 +34662,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
34662
34662
|
for (const A of D) {
|
|
34663
34663
|
const { geometry: I, index: C, sourceLayerIndex: k } = A;
|
|
34664
34664
|
if (E && this.addFeatureDashes(A, N), this.hasPattern) {
|
|
34665
|
-
const B =
|
|
34665
|
+
const B = Sw("line", this.layers, A, this.zoom, l);
|
|
34666
34666
|
this.patternFeatures.push(B);
|
|
34667
34667
|
} else
|
|
34668
34668
|
this.addFeature(A, I, C, h, N.positions, l.availableImages, l.brightness);
|
|
@@ -34790,7 +34790,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
34790
34790
|
if (Te < M)
|
|
34791
34791
|
J = "miter";
|
|
34792
34792
|
else if (Te <= 2) {
|
|
34793
|
-
const et =
|
|
34793
|
+
const et = Rw(I, -10, mn + 10);
|
|
34794
34794
|
J = this.hasZOffset && (et || this.hasCrossSlope) ? "miter" : "fakeround";
|
|
34795
34795
|
}
|
|
34796
34796
|
}
|
|
@@ -34864,11 +34864,11 @@ ${JSON.stringify(g, null, 2)}
|
|
|
34864
34864
|
addCurrentVertex(i, l, h, g, f, y, M = !1) {
|
|
34865
34865
|
const D = l.x + l.y * h, N = l.y - l.x * h, x = l.y * g - l.x, E = -l.y - l.x * g;
|
|
34866
34866
|
if (y != null) {
|
|
34867
|
-
const I = mn + 10, C = y, k = new fC(i.x, i.y, C, this.lineSoFar), B =
|
|
34867
|
+
const I = mn + 10, C = y, k = new fC(i.x, i.y, C, this.lineSoFar), B = Rw(i, -10, I), F = this.lineSoFar, Z = this.distance;
|
|
34868
34868
|
if (this.currentVertex)
|
|
34869
34869
|
if (B) {
|
|
34870
34870
|
const W = this.currentVertexIsOutside, H = this.currentVertex, J = new fC(i.x, i.y, C, this.lineSoFar);
|
|
34871
|
-
if (mC(H, J, -10, I), !
|
|
34871
|
+
if (mC(H, J, -10, I), !Rw(J, -10, I)) {
|
|
34872
34872
|
if (W) {
|
|
34873
34873
|
this.e1 = this.e2 = -1, this.distance -= H.dist(k), this.lineSoFar = H.w;
|
|
34874
34874
|
const ae = this.evaluateElevationValue(H.w - this.totalFeatureLength * (this.lineClips ? this.lineClips.start : 0));
|
|
@@ -34903,14 +34903,14 @@ ${JSON.stringify(g, null, 2)}
|
|
|
34903
34903
|
this.prevDistance = this.distance, this.distance += i.dist(l), this.updateScaledDistance();
|
|
34904
34904
|
}
|
|
34905
34905
|
}
|
|
34906
|
-
function
|
|
34906
|
+
function Rw(u, i, l) {
|
|
34907
34907
|
return u.x < i || u.x > l || u.y < i || u.y > l;
|
|
34908
34908
|
}
|
|
34909
34909
|
let VC, $C;
|
|
34910
34910
|
function HC(u, i, l) {
|
|
34911
34911
|
return i * (mn / (u.tileSize * Math.pow(2, l - u.tileID.overscaledZ)));
|
|
34912
34912
|
}
|
|
34913
|
-
Tn(
|
|
34913
|
+
Tn(jw, "LineBucket", { omit: ["layers", "patternFeatures", "currentVertex", "currentVertexIsOutside"] });
|
|
34914
34914
|
const QC = (u, i, l) => (1 - l) * u + l * i;
|
|
34915
34915
|
function YC(u, i) {
|
|
34916
34916
|
return 1 / HC(u, 1, i.tileZoom);
|
|
@@ -34930,8 +34930,8 @@ ${JSON.stringify(g, null, 2)}
|
|
|
34930
34930
|
const i = u.paint.get("line-dasharray").value;
|
|
34931
34931
|
return i.value || i.kind !== "constant";
|
|
34932
34932
|
}
|
|
34933
|
-
let
|
|
34934
|
-
const qC = () =>
|
|
34933
|
+
let Pw;
|
|
34934
|
+
const qC = () => Pw || (Pw = { layout: VC || (VC = new ur({ "line-cap": new Fn(wt.layout_line["line-cap"]), "line-join": new Fn(wt.layout_line["line-join"]), "line-miter-limit": new ln(wt.layout_line["line-miter-limit"]), "line-round-limit": new ln(wt.layout_line["line-round-limit"]), "line-sort-key": new Fn(wt.layout_line["line-sort-key"]), "line-z-offset": new Fn(wt.layout_line["line-z-offset"]), "line-elevation-reference": new ln(wt.layout_line["line-elevation-reference"]), "line-cross-slope": new ln(wt.layout_line["line-cross-slope"]), visibility: new ln(wt.layout_line.visibility) })), paint: $C || ($C = new ur({ "line-opacity": new Fn(wt.paint_line["line-opacity"]), "line-color": new Fn(wt.paint_line["line-color"]), "line-translate": new ln(wt.paint_line["line-translate"]), "line-translate-anchor": new ln(wt.paint_line["line-translate-anchor"]), "line-width": new Fn(wt.paint_line["line-width"]), "line-gap-width": new Fn(wt.paint_line["line-gap-width"]), "line-offset": new Fn(wt.paint_line["line-offset"]), "line-blur": new Fn(wt.paint_line["line-blur"]), "line-dasharray": new Fn(wt.paint_line["line-dasharray"]), "line-pattern": new Fn(wt.paint_line["line-pattern"]), "line-gradient": new _u(wt.paint_line["line-gradient"]), "line-trim-offset": new ln(wt.paint_line["line-trim-offset"]), "line-trim-fade-range": new ln(wt.paint_line["line-trim-fade-range"]), "line-trim-color": new ln(wt.paint_line["line-trim-color"]), "line-emissive-strength": new ln(wt.paint_line["line-emissive-strength"]), "line-border-width": new Fn(wt.paint_line["line-border-width"]), "line-border-color": new Fn(wt.paint_line["line-border-color"]), "line-occlusion-opacity": new ln(wt.paint_line["line-occlusion-opacity"]) })) }, Pw);
|
|
34935
34935
|
class P$ extends Fn {
|
|
34936
34936
|
possiblyEvaluate(i, l) {
|
|
34937
34937
|
return l = new wr(Math.floor(l.zoom), { now: l.now, fadeDuration: l.fadeDuration, transition: l.transition }), super.possiblyEvaluate(i, l);
|
|
@@ -34952,7 +34952,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
34952
34952
|
zi([{ name: "triangle", components: 3, type: "Uint16" }]), zi([{ 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" }]), zi([{ 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" }]), zi([{ type: "Float32", name: "offsetX" }]), zi([{ type: "Int16", name: "x" }, { type: "Int16", name: "y" }]);
|
|
34953
34953
|
var To = 24;
|
|
34954
34954
|
const Ja = 128;
|
|
34955
|
-
function
|
|
34955
|
+
function Bw(u, i) {
|
|
34956
34956
|
const { expression: l } = i;
|
|
34957
34957
|
if (l.kind === "constant")
|
|
34958
34958
|
return { kind: "constant", layoutSize: l.evaluate(new wr(u + 1)) };
|
|
@@ -34985,7 +34985,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
34985
34985
|
}
|
|
34986
34986
|
return { uSizeT: h, uSize: g };
|
|
34987
34987
|
}
|
|
34988
|
-
var G$ = Object.freeze({ __proto__: null, SIZE_PACK_FACTOR: Ja, evaluateSizeForFeature: ov, evaluateSizeForZoom: Kf, getSizeData:
|
|
34988
|
+
var G$ = Object.freeze({ __proto__: null, SIZE_PACK_FACTOR: Ja, evaluateSizeForFeature: ov, evaluateSizeForZoom: Kf, getSizeData: Bw });
|
|
34989
34989
|
function Z$(u, i, l) {
|
|
34990
34990
|
return u.sections.forEach((h) => {
|
|
34991
34991
|
h.text = function(g, f, y) {
|
|
@@ -35001,10 +35001,10 @@ ${JSON.stringify(g, null, 2)}
|
|
|
35001
35001
|
function q$(u) {
|
|
35002
35002
|
return u === "︵" || u === "﹇" || u === "︷" || u === "﹃" || u === "﹁" || u === "︽" || u === "︻" || u === "︹" || u === "︗" || u === "︿";
|
|
35003
35003
|
}
|
|
35004
|
-
var JC,
|
|
35004
|
+
var JC, Uw, eA, Fw = {};
|
|
35005
35005
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
35006
35006
|
function K$() {
|
|
35007
|
-
return JC || (JC = 1,
|
|
35007
|
+
return JC || (JC = 1, Fw.read = function(u, i, l, h, g) {
|
|
35008
35008
|
var f, y, M = 8 * g - h - 1, D = (1 << M) - 1, N = D >> 1, x = -7, E = l ? g - 1 : 0, A = l ? -1 : 1, I = u[i + E];
|
|
35009
35009
|
for (E += A, f = I & (1 << -x) - 1, I >>= -x, x += M; x > 0; f = 256 * f + u[i + E], E += A, x -= 8)
|
|
35010
35010
|
;
|
|
@@ -35018,19 +35018,19 @@ ${JSON.stringify(g, null, 2)}
|
|
|
35018
35018
|
y += Math.pow(2, h), f -= N;
|
|
35019
35019
|
}
|
|
35020
35020
|
return (I ? -1 : 1) * y * Math.pow(2, f - h);
|
|
35021
|
-
},
|
|
35021
|
+
}, Fw.write = function(u, i, l, h, g, f) {
|
|
35022
35022
|
var y, M, D, N = 8 * f - g - 1, x = (1 << N) - 1, E = x >> 1, A = g === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, I = h ? 0 : f - 1, C = h ? 1 : -1, k = i < 0 || i === 0 && 1 / i < 0 ? 1 : 0;
|
|
35023
35023
|
for (i = Math.abs(i), isNaN(i) || i === 1 / 0 ? (M = isNaN(i) ? 1 : 0, y = x) : (y = Math.floor(Math.log(i) / Math.LN2), i * (D = Math.pow(2, -y)) < 1 && (y--, D *= 2), (i += y + E >= 1 ? A / D : A * Math.pow(2, 1 - E)) * D >= 2 && (y++, D /= 2), y + E >= x ? (M = 0, y = x) : y + E >= 1 ? (M = (i * D - 1) * Math.pow(2, g), y += E) : (M = i * Math.pow(2, E - 1) * Math.pow(2, g), y = 0)); g >= 8; u[l + I] = 255 & M, I += C, M /= 256, g -= 8)
|
|
35024
35024
|
;
|
|
35025
35025
|
for (y = y << g | M, N += g; N > 0; u[l + I] = 255 & y, I += C, y /= 256, N -= 8)
|
|
35026
35026
|
;
|
|
35027
35027
|
u[l + I - C] |= 128 * k;
|
|
35028
|
-
}),
|
|
35028
|
+
}), Fw;
|
|
35029
35029
|
}
|
|
35030
35030
|
function tA() {
|
|
35031
35031
|
if (eA)
|
|
35032
|
-
return
|
|
35033
|
-
eA = 1,
|
|
35032
|
+
return Uw;
|
|
35033
|
+
eA = 1, Uw = i;
|
|
35034
35034
|
var u = K$();
|
|
35035
35035
|
function i(H) {
|
|
35036
35036
|
this.buf = ArrayBuffer.isView && ArrayBuffer.isView(H) ? H : new Uint8Array(H || 0), this.pos = 0, this.type = 0, this.length = this.buf.length;
|
|
@@ -35345,24 +35345,24 @@ ${JSON.stringify(g, null, 2)}
|
|
|
35345
35345
|
this.writeTag(H, i.Fixed64), this.writeDouble(J);
|
|
35346
35346
|
}, writeBooleanField: function(H, J) {
|
|
35347
35347
|
this.writeVarintField(H, !!J);
|
|
35348
|
-
} },
|
|
35348
|
+
} }, Uw;
|
|
35349
35349
|
}
|
|
35350
35350
|
var sv = S(tA());
|
|
35351
|
-
const
|
|
35351
|
+
const Vw = 3;
|
|
35352
35352
|
function X$(u, i, l) {
|
|
35353
35353
|
i.glyphs = [], u === 1 && l.readMessage(J$, i);
|
|
35354
35354
|
}
|
|
35355
35355
|
function J$(u, i, l) {
|
|
35356
35356
|
if (u === 3) {
|
|
35357
35357
|
const { id: h, bitmap: g, width: f, height: y, left: M, top: D, advance: N } = l.readMessage(eH, {});
|
|
35358
|
-
i.glyphs.push({ id: h, bitmap: new Au({ width: f + 2 *
|
|
35358
|
+
i.glyphs.push({ id: h, bitmap: new Au({ width: f + 2 * Vw, height: y + 2 * Vw }, g), metrics: { width: f, height: y, left: M, top: D, advance: N } });
|
|
35359
35359
|
} else
|
|
35360
35360
|
u === 4 ? i.ascender = l.readSVarint() : u === 5 && (i.descender = l.readSVarint());
|
|
35361
35361
|
}
|
|
35362
35362
|
function eH(u, i, l) {
|
|
35363
35363
|
u === 1 ? i.id = l.readVarint() : u === 2 ? i.bitmap = l.readBytes() : u === 3 ? i.width = l.readVarint() : u === 4 ? i.height = l.readVarint() : u === 5 ? i.left = l.readSVarint() : u === 6 ? i.top = l.readSVarint() : u === 7 && (i.advance = l.readVarint());
|
|
35364
35364
|
}
|
|
35365
|
-
const nA =
|
|
35365
|
+
const nA = Vw, ta = { horizontal: 1, vertical: 2, horizontalOnly: 3 };
|
|
35366
35366
|
class x0 {
|
|
35367
35367
|
constructor() {
|
|
35368
35368
|
this.scale = 1, this.fontStack = "", this.imageName = null;
|
|
@@ -35449,7 +35449,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
35449
35449
|
return this.imageSectionID ? this.imageSectionID >= 63743 ? null : ++this.imageSectionID : (this.imageSectionID = 57344, this.imageSectionID);
|
|
35450
35450
|
}
|
|
35451
35451
|
}
|
|
35452
|
-
function $
|
|
35452
|
+
function $w(u, i, l, h, g, f, y, M, D, N, x, E, A, I, C) {
|
|
35453
35453
|
const k = Xf.fromFeature(u, g);
|
|
35454
35454
|
E === ta.vertical && k.verticalizePunctuation(A);
|
|
35455
35455
|
let B = [];
|
|
@@ -35564,7 +35564,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
35564
35564
|
ui.lineOffset = Math.max(li, ri), dt += rr, ++Sn;
|
|
35565
35565
|
}
|
|
35566
35566
|
var dn;
|
|
35567
|
-
const sn = dt, { horizontalAlign: Wt, verticalAlign: Qn } =
|
|
35567
|
+
const sn = dt, { horizontalAlign: Wt, verticalAlign: Qn } = Hw(Ee);
|
|
35568
35568
|
(function(wn, Cn, ri, ui, hi, li) {
|
|
35569
35569
|
const yi = (Cn - ri) * hi, fi = -li * ui;
|
|
35570
35570
|
for (const rr of wn)
|
|
@@ -35608,7 +35608,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
35608
35608
|
function sA(u) {
|
|
35609
35609
|
return u ? sA(u.priorBreak).concat(u.index) : [];
|
|
35610
35610
|
}
|
|
35611
|
-
function
|
|
35611
|
+
function Hw(u) {
|
|
35612
35612
|
let i = 0.5, l = 0.5;
|
|
35613
35613
|
switch (u) {
|
|
35614
35614
|
case "right":
|
|
@@ -35642,7 +35642,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
35642
35642
|
u[D].x -= M, u[D].y += l + h + g;
|
|
35643
35643
|
}
|
|
35644
35644
|
function iH(u, i, l, h) {
|
|
35645
|
-
const { horizontalAlign: g, verticalAlign: f } =
|
|
35645
|
+
const { horizontalAlign: g, verticalAlign: f } = Hw(h), y = l[0] - u.displaySize[0] * g, M = l[1] - u.displaySize[1] * f;
|
|
35646
35646
|
return { imagePrimary: u, imageSecondary: i, top: M, bottom: M + u.displaySize[1], left: y, right: y + u.displaySize[0] };
|
|
35647
35647
|
}
|
|
35648
35648
|
function lA(u, i, l, h, g, f) {
|
|
@@ -35772,7 +35772,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
35772
35772
|
}
|
|
35773
35773
|
Tn(dc, "Anchor");
|
|
35774
35774
|
const b0 = 1;
|
|
35775
|
-
class
|
|
35775
|
+
class Qw {
|
|
35776
35776
|
constructor(i, { pixelRatio: l, version: h, stretchX: g, stretchY: f, content: y }, M) {
|
|
35777
35777
|
this.paddedRect = i, this.pixelRatio = l, this.stretchX = g, this.stretchY = f, this.content = y, this.version = h, this.padding = M;
|
|
35778
35778
|
}
|
|
@@ -35808,7 +35808,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
35808
35808
|
addImages(i, l, h, g) {
|
|
35809
35809
|
for (const f in i) {
|
|
35810
35810
|
const y = i[f], M = { x: 0, y: 0, w: y.data.width + 2 * h, h: y.data.height + 2 * h };
|
|
35811
|
-
g.push(M), l[f] = new
|
|
35811
|
+
g.push(M), l[f] = new Qw(M, y, h), y.hasRenderCallback && this.haveRenderCallbacks.push(f);
|
|
35812
35812
|
}
|
|
35813
35813
|
}
|
|
35814
35814
|
patchUpdatedImages(i, l, h) {
|
|
@@ -35824,7 +35824,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
35824
35824
|
h.update(l.data, { position: { x: g, y: f } });
|
|
35825
35825
|
}
|
|
35826
35826
|
}
|
|
35827
|
-
Tn(
|
|
35827
|
+
Tn(Qw, "ImagePosition"), Tn(gA, "ImageAtlas");
|
|
35828
35828
|
const M0 = 1e20;
|
|
35829
35829
|
function yA(u, i, l, h, g, f, y, M, D) {
|
|
35830
35830
|
for (let N = i; N < i + h; N++)
|
|
@@ -35850,7 +35850,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
35850
35850
|
u[i + M * l] = g[N] + x * x;
|
|
35851
35851
|
}
|
|
35852
35852
|
}
|
|
35853
|
-
const el = 2,
|
|
35853
|
+
const el = 2, Yw = { none: 0, ideographs: 1, all: 2 };
|
|
35854
35854
|
class Jf {
|
|
35855
35855
|
constructor(i, l, h) {
|
|
35856
35856
|
this.requestManager = i, this.localGlyphMode = l, this.localFontFamily = h, this.urls = {}, this.entries = {}, this.localGlyphs = { 200: {}, 400: {}, 500: {}, 900: {} };
|
|
@@ -35902,7 +35902,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
35902
35902
|
});
|
|
35903
35903
|
}
|
|
35904
35904
|
_doesCharSupportLocalGlyph(i) {
|
|
35905
|
-
return this.localGlyphMode !==
|
|
35905
|
+
return this.localGlyphMode !== Yw.none && (this.localGlyphMode === Yw.all ? !!this.localFontFamily : !!this.localFontFamily && (jn["CJK Unified Ideographs"](i) || jn["Hangul Syllables"](i) || jn.Hiragana(i) || jn.Katakana(i) || jn["CJK Symbols and Punctuation"](i) || jn["CJK Unified Ideographs Extension A"](i) || jn["CJK Unified Ideographs Extension B"](i) || jn.Osage(i)));
|
|
35906
35906
|
}
|
|
35907
35907
|
_tinySDF(i, l, h) {
|
|
35908
35908
|
const g = this.localFontFamily;
|
|
@@ -36072,10 +36072,10 @@ ${JSON.stringify(g, null, 2)}
|
|
|
36072
36072
|
}(this.p, g), this.max = this.d + this.h * Math.SQRT2;
|
|
36073
36073
|
}
|
|
36074
36074
|
}
|
|
36075
|
-
const
|
|
36075
|
+
const Gw = Number.POSITIVE_INFINITY, cH = Math.sqrt(2);
|
|
36076
36076
|
function bA(u, [i, l]) {
|
|
36077
36077
|
let h = 0, g = 0;
|
|
36078
|
-
if (l ===
|
|
36078
|
+
if (l === Gw) {
|
|
36079
36079
|
i < 0 && (i = 0);
|
|
36080
36080
|
const f = i / cH;
|
|
36081
36081
|
switch (u) {
|
|
@@ -36134,7 +36134,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
36134
36134
|
}
|
|
36135
36135
|
return [h, g];
|
|
36136
36136
|
}
|
|
36137
|
-
function
|
|
36137
|
+
function Zw(u) {
|
|
36138
36138
|
switch (u) {
|
|
36139
36139
|
case "right":
|
|
36140
36140
|
case "top-right":
|
|
@@ -36170,10 +36170,10 @@ ${JSON.stringify(g, null, 2)}
|
|
|
36170
36170
|
let WN = ns("");
|
|
36171
36171
|
const dd = Qn ? Qn.anchor : Wt, S4 = li.layout.get("icon-text-fit").evaluate(Sr, {}, dr) !== "none";
|
|
36172
36172
|
let T4 = 0, E4 = 0;
|
|
36173
|
-
if (li._unevaluatedLayout.getValue("text-radial-offset") === void 0 ? [T4, E4] = li.layout.get("text-offset").evaluate(Sr, {}, dr).map((zs) => zs * To) : (T4 = li.layout.get("text-radial-offset").evaluate(Sr, {}, dr) * To, E4 =
|
|
36173
|
+
if (li._unevaluatedLayout.getValue("text-radial-offset") === void 0 ? [T4, E4] = li.layout.get("text-offset").evaluate(Sr, {}, dr).map((zs) => zs * To) : (T4 = li.layout.get("text-radial-offset").evaluate(Sr, {}, dr) * To, E4 = Gw), sn.allowVerticalPlacement && Cn.vertical) {
|
|
36174
36174
|
const zs = Cn.vertical;
|
|
36175
36175
|
if (Bi)
|
|
36176
|
-
$N =
|
|
36176
|
+
$N = Ww(zs), hi && (HN = Ww(hi));
|
|
36177
36177
|
else {
|
|
36178
36178
|
const Os = li.layout.get("text-rotate").evaluate(Sr, {}, dr) + 90;
|
|
36179
36179
|
Ru = hv(yi, dd, Wt, fi, rr, qi, zs, ei, Os, Vi), hi && (hd = hv(yi, dd, Wt, fi, rr, qi, hi, Lr, Os));
|
|
@@ -36188,7 +36188,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
36188
36188
|
}
|
|
36189
36189
|
for (const zs in Cn.horizontal) {
|
|
36190
36190
|
const Os = Cn.horizontal[zs];
|
|
36191
|
-
Ea || (WN = ns(Os.text), Bi ? F0 =
|
|
36191
|
+
Ea || (WN = ns(Os.text), Bi ? F0 = Ww(Os) : Ea = hv(yi, dd, Wt, fi, rr, qi, Os, ei, li.layout.get("text-rotate").evaluate(Sr, {}, dr), Vi));
|
|
36192
36192
|
const lp = Os.positionedLines.length === 1;
|
|
36193
36193
|
if (GN += MA(sn, Qn, Wt, Os, ui, li, Bi, Sr, Vi, Ta, Cn.vertical ? ta.horizontal : ta.horizontalOnly, lp ? Object.keys(Cn.horizontal) : [zs], Cl, w4, Rr, Eo, dr, ws), lp)
|
|
36194
36194
|
break;
|
|
@@ -36308,7 +36308,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
36308
36308
|
}
|
|
36309
36309
|
return u.emplaceBack(i.x, i.y, i.z, l.x, l.y, A, x, I, E, M, h, g, f), u.length - 1;
|
|
36310
36310
|
}
|
|
36311
|
-
function
|
|
36311
|
+
function Ww(u) {
|
|
36312
36312
|
u.collisionPadding && (u.top -= u.collisionPadding[1], u.bottom += u.collisionPadding[3]);
|
|
36313
36313
|
const i = u.bottom - u.top;
|
|
36314
36314
|
return i > 0 ? Math.max(10, i) : null;
|
|
@@ -36574,7 +36574,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
36574
36574
|
return this.pixelsPerMeter(i, l) / f;
|
|
36575
36575
|
}
|
|
36576
36576
|
createTileMatrix(i, l, h) {
|
|
36577
|
-
const g =
|
|
36577
|
+
const g = _w(El(h.canonical));
|
|
36578
36578
|
return X.mat4.multiply(new Float64Array(16), i.globeMatrix, g);
|
|
36579
36579
|
}
|
|
36580
36580
|
createInversionMatrix(i, l) {
|
|
@@ -36659,11 +36659,11 @@ ${JSON.stringify(g, null, 2)}
|
|
|
36659
36659
|
}
|
|
36660
36660
|
function MH(u) {
|
|
36661
36661
|
for (const i of u.sections)
|
|
36662
|
-
if (
|
|
36662
|
+
if (rw(i.text))
|
|
36663
36663
|
return !0;
|
|
36664
36664
|
return !1;
|
|
36665
36665
|
}
|
|
36666
|
-
class
|
|
36666
|
+
class qw {
|
|
36667
36667
|
constructor(i) {
|
|
36668
36668
|
this.layoutVertexArray = new xu(), this.indexArray = new br(), this.programConfigurations = i, this.segments = new Cr(), this.dynamicLayoutVertexArray = new Ya(), this.opacityVertexArray = new Wg(), this.placedSymbolArray = new e0(), this.iconTransitioningVertexArray = new Tl(), this.globeExtVertexArray = new Zg(), this.zOffsetVertexArray = new Iu();
|
|
36669
36669
|
}
|
|
@@ -36677,8 +36677,8 @@ ${JSON.stringify(g, null, 2)}
|
|
|
36677
36677
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.dynamicLayoutVertexBuffer.destroy(), this.opacityVertexBuffer.destroy(), this.iconTransitioningVertexBuffer && this.iconTransitioningVertexBuffer.destroy(), this.globeExtVertexBuffer && this.globeExtVertexBuffer.destroy(), this.zOffsetVertexBuffer && this.zOffsetVertexBuffer.destroy());
|
|
36678
36678
|
}
|
|
36679
36679
|
}
|
|
36680
|
-
Tn(
|
|
36681
|
-
class
|
|
36680
|
+
Tn(qw, "SymbolBuffers");
|
|
36681
|
+
class Kw {
|
|
36682
36682
|
constructor(i, l, h) {
|
|
36683
36683
|
this.layoutVertexArray = new i(), this.layoutAttributes = l, this.indexArray = new h(), this.segments = new Cr(), this.collisionVertexArray = new Mu(), this.collisionVertexArrayExt = new Ya();
|
|
36684
36684
|
}
|
|
@@ -36689,17 +36689,17 @@ ${JSON.stringify(g, null, 2)}
|
|
|
36689
36689
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.segments.destroy(), this.collisionVertexBuffer.destroy(), this.collisionVertexBufferExt.destroy());
|
|
36690
36690
|
}
|
|
36691
36691
|
}
|
|
36692
|
-
Tn(
|
|
36692
|
+
Tn(Kw, "CollisionBuffers");
|
|
36693
36693
|
class _v {
|
|
36694
36694
|
constructor(i) {
|
|
36695
36695
|
this.collisionBoxArray = i.collisionBoxArray, this.zoom = i.zoom, this.lut = i.lut, this.overscaling = i.overscaling, this.layers = i.layers, this.layerIds = this.layers.map((y) => y.fqid), this.index = i.index, this.pixelRatio = i.pixelRatio, this.sourceLayerIndex = i.sourceLayerIndex, this.hasPattern = !1, this.hasRTLText = !1, this.fullyClipped = !1, this.hasAnyIconTextFit = !1, this.sortKeyRanges = [], this.collisionCircleArray = [], this.placementInvProjMatrix = X.mat4.identity([]), this.placementViewportMatrix = X.mat4.identity([]);
|
|
36696
36696
|
const l = this.layers[0]._unevaluatedLayout._values;
|
|
36697
|
-
this.textSizeData =
|
|
36697
|
+
this.textSizeData = Bw(this.zoom, l["text-size"]), this.iconSizeData = Bw(this.zoom, l["icon-size"]);
|
|
36698
36698
|
const h = this.layers[0].layout, g = h.get("symbol-sort-key"), f = h.get("symbol-z-order");
|
|
36699
36699
|
this.canOverlap = h.get("text-allow-overlap") || h.get("icon-allow-overlap") || h.get("text-ignore-placement") || h.get("icon-ignore-placement"), this.sortFeaturesByKey = f !== "viewport-y" && g.constantOr(1) !== void 0, this.sortFeaturesByY = (f === "viewport-y" || f === "auto" && !this.sortFeaturesByKey) && this.canOverlap, this.writingModes = h.get("text-writing-mode").map((y) => ta[y]), this.stateDependentLayerIds = this.layers.filter((y) => y.isStateDependent()).map((y) => y.id), this.sourceID = i.sourceID, this.projection = i.projection, this.hasAnyZOffset = !1, this.zOffsetSortDirty = !1, this.zOffsetBuffersNeedUpload = h.get("symbol-z-elevate"), this.activeReplacements = [], this.replacementUpdateTime = 0;
|
|
36700
36700
|
}
|
|
36701
36701
|
createArrays() {
|
|
36702
|
-
this.text = new
|
|
36702
|
+
this.text = new qw(new wa(this.layers, { zoom: this.zoom, lut: this.lut }, (i) => i.startsWith("text") || i.startsWith("symbol"))), this.icon = new qw(new wa(this.layers, { zoom: this.zoom, lut: this.lut }, (i) => i.startsWith("icon") || i.startsWith("symbol"))), this.glyphOffsetArray = new O_(), this.lineVertexArray = new Qf(), this.symbolInstances = new t0();
|
|
36703
36703
|
}
|
|
36704
36704
|
calculateGlyphDependencies(i, l, h, g, f) {
|
|
36705
36705
|
for (const y of i) {
|
|
@@ -36719,7 +36719,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
36719
36719
|
return !1;
|
|
36720
36720
|
this.replacementUpdateTime = l.updateTime;
|
|
36721
36721
|
const h = l.getReplacementRegionsForTile(i.toUnwrapped(), !0);
|
|
36722
|
-
return !
|
|
36722
|
+
return !Lw(this.activeReplacements, h) && (this.activeReplacements = h, !0);
|
|
36723
36723
|
}
|
|
36724
36724
|
populate(i, l, h, g) {
|
|
36725
36725
|
const f = this.layers[0], y = f.layout, M = this.projection.name === "globe", D = y.get("text-font"), N = y.get("text-field"), x = y.get("icon-image"), E = (N.value.kind !== "constant" || N.value.value instanceof zo && !N.value.value.isEmpty() || N.value.value.toString().length > 0) && (D.value.kind !== "constant" || D.value.value.length > 0), A = x.value.kind !== "constant" || !!x.value.value || Object.keys(x.parameters).length > 0, I = y.get("symbol-sort-key");
|
|
@@ -36893,7 +36893,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
36893
36893
|
}
|
|
36894
36894
|
}
|
|
36895
36895
|
generateCollisionDebugBuffers(i, l, h) {
|
|
36896
|
-
this.hasDebugData() && this.destroyDebugData(), this.textCollisionBox = new
|
|
36896
|
+
this.hasDebugData() && this.destroyDebugData(), this.textCollisionBox = new Kw(Bf, XC.members, Tl), this.iconCollisionBox = new Kw(Bf, XC.members, Tl);
|
|
36897
36897
|
const g = Kf(this.iconSizeData, i), f = Kf(this.textSizeData, i, h);
|
|
36898
36898
|
for (let y = 0; y < this.symbolInstances.length; y++) {
|
|
36899
36899
|
const M = this.symbolInstances.get(y);
|
|
@@ -37022,7 +37022,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
37022
37022
|
}
|
|
37023
37023
|
}
|
|
37024
37024
|
}
|
|
37025
|
-
let NA, LA,
|
|
37025
|
+
let NA, LA, Xw;
|
|
37026
37026
|
Tn(_v, "SymbolBucket", { omit: ["layers", "collisionBoxArray", "features", "compareText"] }), _v.addDynamicAttributes = yv;
|
|
37027
37027
|
class kA {
|
|
37028
37028
|
constructor(i) {
|
|
@@ -37047,10 +37047,10 @@ ${JSON.stringify(g, null, 2)}
|
|
|
37047
37047
|
}
|
|
37048
37048
|
}
|
|
37049
37049
|
Tn(kA, "FormatSectionOverride", { omit: ["defaultValue"] });
|
|
37050
|
-
const
|
|
37050
|
+
const Jw = () => Xw || (Xw = { layout: NA || (NA = new ur({ "symbol-placement": new ln(wt.layout_symbol["symbol-placement"]), "symbol-spacing": new ln(wt.layout_symbol["symbol-spacing"]), "symbol-avoid-edges": new ln(wt.layout_symbol["symbol-avoid-edges"]), "symbol-sort-key": new Fn(wt.layout_symbol["symbol-sort-key"]), "symbol-z-order": new ln(wt.layout_symbol["symbol-z-order"]), "symbol-z-elevate": new ln(wt.layout_symbol["symbol-z-elevate"]), "symbol-elevation-reference": new ln(wt.layout_symbol["symbol-elevation-reference"]), "icon-allow-overlap": new ln(wt.layout_symbol["icon-allow-overlap"]), "icon-ignore-placement": new ln(wt.layout_symbol["icon-ignore-placement"]), "icon-optional": new ln(wt.layout_symbol["icon-optional"]), "icon-rotation-alignment": new ln(wt.layout_symbol["icon-rotation-alignment"]), "icon-size": new Fn(wt.layout_symbol["icon-size"]), "icon-size-scale-range": new ln(wt.layout_symbol["icon-size-scale-range"]), "icon-text-fit": new Fn(wt.layout_symbol["icon-text-fit"]), "icon-text-fit-padding": new Fn(wt.layout_symbol["icon-text-fit-padding"]), "icon-image": new Fn(wt.layout_symbol["icon-image"]), "icon-rotate": new Fn(wt.layout_symbol["icon-rotate"]), "icon-padding": new ln(wt.layout_symbol["icon-padding"]), "icon-keep-upright": new ln(wt.layout_symbol["icon-keep-upright"]), "icon-offset": new Fn(wt.layout_symbol["icon-offset"]), "icon-anchor": new Fn(wt.layout_symbol["icon-anchor"]), "icon-pitch-alignment": new ln(wt.layout_symbol["icon-pitch-alignment"]), "text-pitch-alignment": new ln(wt.layout_symbol["text-pitch-alignment"]), "text-rotation-alignment": new ln(wt.layout_symbol["text-rotation-alignment"]), "text-field": new Fn(wt.layout_symbol["text-field"]), "text-font": new Fn(wt.layout_symbol["text-font"]), "text-size": new Fn(wt.layout_symbol["text-size"]), "text-size-scale-range": new ln(wt.layout_symbol["text-size-scale-range"]), "text-max-width": new Fn(wt.layout_symbol["text-max-width"]), "text-line-height": new Fn(wt.layout_symbol["text-line-height"]), "text-letter-spacing": new Fn(wt.layout_symbol["text-letter-spacing"]), "text-justify": new Fn(wt.layout_symbol["text-justify"]), "text-radial-offset": new Fn(wt.layout_symbol["text-radial-offset"]), "text-variable-anchor": new ln(wt.layout_symbol["text-variable-anchor"]), "text-anchor": new Fn(wt.layout_symbol["text-anchor"]), "text-max-angle": new ln(wt.layout_symbol["text-max-angle"]), "text-writing-mode": new ln(wt.layout_symbol["text-writing-mode"]), "text-rotate": new Fn(wt.layout_symbol["text-rotate"]), "text-padding": new ln(wt.layout_symbol["text-padding"]), "text-keep-upright": new ln(wt.layout_symbol["text-keep-upright"]), "text-transform": new Fn(wt.layout_symbol["text-transform"]), "text-offset": new Fn(wt.layout_symbol["text-offset"]), "text-allow-overlap": new ln(wt.layout_symbol["text-allow-overlap"]), "text-ignore-placement": new ln(wt.layout_symbol["text-ignore-placement"]), "text-optional": new ln(wt.layout_symbol["text-optional"]), visibility: new ln(wt.layout_symbol.visibility) })), paint: LA || (LA = new ur({ "icon-opacity": new Fn(wt.paint_symbol["icon-opacity"]), "icon-occlusion-opacity": new Fn(wt.paint_symbol["icon-occlusion-opacity"]), "icon-emissive-strength": new Fn(wt.paint_symbol["icon-emissive-strength"]), "text-emissive-strength": new Fn(wt.paint_symbol["text-emissive-strength"]), "icon-color": new Fn(wt.paint_symbol["icon-color"]), "icon-halo-color": new Fn(wt.paint_symbol["icon-halo-color"]), "icon-halo-width": new Fn(wt.paint_symbol["icon-halo-width"]), "icon-halo-blur": new Fn(wt.paint_symbol["icon-halo-blur"]), "icon-translate": new ln(wt.paint_symbol["icon-translate"]), "icon-translate-anchor": new ln(wt.paint_symbol["icon-translate-anchor"]), "icon-image-cross-fade": new Fn(wt.paint_symbol["icon-image-cross-fade"]), "text-opacity": new Fn(wt.paint_symbol["text-opacity"]), "text-occlusion-opacity": new Fn(wt.paint_symbol["text-occlusion-opacity"]), "text-color": new Fn(wt.paint_symbol["text-color"], { runtimeType: is, getOverride: (u) => u.textColor, hasOverride: (u) => !!u.textColor }), "text-halo-color": new Fn(wt.paint_symbol["text-halo-color"]), "text-halo-width": new Fn(wt.paint_symbol["text-halo-width"]), "text-halo-blur": new Fn(wt.paint_symbol["text-halo-blur"]), "text-translate": new ln(wt.paint_symbol["text-translate"]), "text-translate-anchor": new ln(wt.paint_symbol["text-translate-anchor"]), "icon-color-saturation": new ln(wt.paint_symbol["icon-color-saturation"]), "icon-color-contrast": new ln(wt.paint_symbol["icon-color-contrast"]), "icon-color-brightness-min": new ln(wt.paint_symbol["icon-color-brightness-min"]), "icon-color-brightness-max": new ln(wt.paint_symbol["icon-color-brightness-max"]), "symbol-z-offset": new Fn(wt.paint_symbol["symbol-z-offset"]) })) }, Xw);
|
|
37051
37051
|
class vv extends Ho {
|
|
37052
37052
|
constructor(i, l, h, g) {
|
|
37053
|
-
super(i,
|
|
37053
|
+
super(i, Jw(), l, h, g), this._colorAdjustmentMatrix = X.mat4.identity([]), this.hasInitialOcclusionOpacityProperties = i.paint !== void 0 && ("icon-occlusion-opacity" in i.paint || "text-occlusion-opacity" in i.paint);
|
|
37054
37054
|
}
|
|
37055
37055
|
recalculate(i, l) {
|
|
37056
37056
|
super.recalculate(i, l), this.layout.get("icon-rotation-alignment") === "auto" && (this.layout._values["icon-rotation-alignment"] = this.layout.get("symbol-placement") !== "point" ? "map" : "viewport"), this.layout.get("text-rotation-alignment") === "auto" && (this.layout._values["text-rotation-alignment"] = this.layout.get("symbol-placement") !== "point" ? "map" : "viewport"), this.layout.get("text-pitch-alignment") === "auto" && (this.layout._values["text-pitch-alignment"] = this.layout.get("text-rotation-alignment")), this.layout.get("icon-pitch-alignment") === "auto" && (this.layout._values["icon-pitch-alignment"] = this.layout.get("icon-rotation-alignment"));
|
|
@@ -37087,7 +37087,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
37087
37087
|
return !1;
|
|
37088
37088
|
}
|
|
37089
37089
|
_setPaintOverrides() {
|
|
37090
|
-
for (const i of
|
|
37090
|
+
for (const i of Jw().paint.overridableProperties) {
|
|
37091
37091
|
if (!vv.hasPaintOverride(this.layout, i))
|
|
37092
37092
|
continue;
|
|
37093
37093
|
const l = this.paint.get(i), h = new kA(l), g = new Ng(h, l.property.specification, this.scope, this.options);
|
|
@@ -37099,7 +37099,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
37099
37099
|
return !(!this.layout || l.isDataDriven() || h.isDataDriven()) && vv.hasPaintOverride(this.layout, i);
|
|
37100
37100
|
}
|
|
37101
37101
|
static hasPaintOverride(i, l) {
|
|
37102
|
-
const h = i.get("text-field"), g =
|
|
37102
|
+
const h = i.get("text-field"), g = Jw().paint.properties[l];
|
|
37103
37103
|
let f = !1;
|
|
37104
37104
|
const y = (M) => {
|
|
37105
37105
|
for (const D of M)
|
|
@@ -37532,7 +37532,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
37532
37532
|
}
|
|
37533
37533
|
function s4(u, i, l = !1) {
|
|
37534
37534
|
const h = Cu(i.zoom), g = function(f, y, M) {
|
|
37535
|
-
const D = y.worldSize, N = [f[12], f[13], f[14]], x = Ae(N[1] / D), E = we(N[0] / D), A = X.mat4.identity([]), I = he(1, x) * D, C = he(1, 0) * D * Re(x, y.zoom), k = 1 /
|
|
37535
|
+
const D = y.worldSize, N = [f[12], f[13], f[14]], x = Ae(N[1] / D), E = we(N[0] / D), A = X.mat4.identity([]), I = he(1, x) * D, C = he(1, 0) * D * Re(x, y.zoom), k = 1 / vw(D);
|
|
37536
37536
|
let B = C * k;
|
|
37537
37537
|
if (M) {
|
|
37538
37538
|
const H = wv(y.projection, y.zoom, y.width, y.height, 1024);
|
|
@@ -37552,7 +37552,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
37552
37552
|
}(u, i, l);
|
|
37553
37553
|
if (h > 0) {
|
|
37554
37554
|
const f = function(y, M) {
|
|
37555
|
-
const D = M.worldSize, N = he(1, 0) * D * Re(M.center.lat, M.zoom) /
|
|
37555
|
+
const D = M.worldSize, N = he(1, 0) * D * Re(M.center.lat, M.zoom) / vw(D), x = he(1, M.center.lat) * D, E = X.mat4.identity([]);
|
|
37556
37556
|
return X.mat4.rotateY(E, E, ut(M.center.lng)), X.mat4.rotateX(E, E, ut(M.center.lat)), X.mat4.translate(E, E, [0, 0, So]), X.mat4.scale(E, E, [N, N, N * x]), X.mat4.translate(E, E, [M.point.x - 0.5 * D, M.point.y - 0.5 * D, 0]), X.mat4.multiply(E, E, y), X.mat4.multiply(E, M.globeMatrix, E);
|
|
37557
37557
|
}(u, i);
|
|
37558
37558
|
return function(y, M, D) {
|
|
@@ -37662,7 +37662,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
37662
37662
|
return !1;
|
|
37663
37663
|
this.replacementUpdateTime = l.updateTime;
|
|
37664
37664
|
const f = l.getReplacementRegionsForTile(i.toUnwrapped(), !0);
|
|
37665
|
-
if (
|
|
37665
|
+
if (Lw(this.activeReplacements, f))
|
|
37666
37666
|
return !1;
|
|
37667
37667
|
this.activeReplacements = f;
|
|
37668
37668
|
let y = !1;
|
|
@@ -38264,7 +38264,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
38264
38264
|
l.value.kind === "constant" && l.value.value === void 0 && (this.paint._values["fill-outline-color"] = this.paint._values["fill-color"]);
|
|
38265
38265
|
}
|
|
38266
38266
|
createBucket(u) {
|
|
38267
|
-
return new
|
|
38267
|
+
return new Tw(u);
|
|
38268
38268
|
}
|
|
38269
38269
|
queryRadius() {
|
|
38270
38270
|
return gi(this.paint.get("fill-translate"));
|
|
@@ -38399,7 +38399,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
38399
38399
|
})().possiblyEvaluate(this._transitioningPaint._values["line-width"].value, u);
|
|
38400
38400
|
}
|
|
38401
38401
|
createBucket(u) {
|
|
38402
|
-
return new
|
|
38402
|
+
return new jw(u);
|
|
38403
38403
|
}
|
|
38404
38404
|
getProgramIds() {
|
|
38405
38405
|
return [this.paint.get("line-pattern").constantOr(1) ? "linePattern" : "line"];
|
|
@@ -39791,7 +39791,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
39791
39791
|
function vQ(u) {
|
|
39792
39792
|
if (u.vertices.length === 0 || u.indices.length === 0)
|
|
39793
39793
|
return null;
|
|
39794
|
-
const i = new
|
|
39794
|
+
const i = new Ew(u.vertices, u.indices, 8, 256), [l, h] = [i.min.clone(), i.max.clone()];
|
|
39795
39795
|
return { vertices: u.vertices, indices: u.indices, grid: i, min: l, max: h };
|
|
39796
39796
|
}
|
|
39797
39797
|
function xQ(u) {
|
|
@@ -40164,7 +40164,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
40164
40164
|
return g * g + f * f;
|
|
40165
40165
|
}
|
|
40166
40166
|
s.$ = S_, s.A = class extends Sv {
|
|
40167
|
-
}, s.B = Jl, s.C = Zc, s.D = Vg, s.E = Gc, s.F = Eg, s.G = ic, s.H = Tg, s.I =
|
|
40167
|
+
}, s.B = Jl, s.C = Zc, s.D = Vg, s.E = Gc, s.F = Eg, s.G = ic, s.H = Tg, s.I = Qw, s.J = Tf, s.K = ac, s.L = rc, s.M = pu, s.N = _f, s.O = cu, s.P = Ce, s.Q = zh, s.R = Hc, s.S = rs, s.T = i4, s.U = eg, s.V = Sv, s.W = $g, s.X = Dg, s.Y = __, s.Z = function(u) {
|
|
40168
40168
|
const i = u.value;
|
|
40169
40169
|
let l = [];
|
|
40170
40170
|
if (!i)
|
|
@@ -40235,7 +40235,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
40235
40235
|
return u.indexOf(Gh) >= 0;
|
|
40236
40236
|
}, s.aL = I0, s.aM = we, s.aN = Ae, s.aO = vu, s.aP = br, s.aQ = Rn, s.aR = Hf, s.aS = _v, s.aT = function() {
|
|
40237
40237
|
bs.isLoading() || bs.isLoaded() || Ug() !== "deferred" || I_();
|
|
40238
|
-
}, s.aU = kf, s.aV = Vt, s.aW = N0, s.aX = qn, s.aY =
|
|
40238
|
+
}, s.aU = kf, s.aV = Vt, s.aW = N0, s.aX = qn, s.aY = jw, s.aZ = Tw, s.a_ = ht, s.aa = Jn, s.ab = mn, s.ac = Dh, s.ad = class {
|
|
40239
40239
|
constructor(u) {
|
|
40240
40240
|
this.specification = u;
|
|
40241
40241
|
}
|
|
@@ -40316,7 +40316,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
40316
40316
|
const l = Cu(i.zoom);
|
|
40317
40317
|
if (l === 0)
|
|
40318
40318
|
return El(u);
|
|
40319
|
-
const h = Y_(u), g =
|
|
40319
|
+
const h = Y_(u), g = yw(h), f = le(h.getWest()) * i.worldSize, y = le(h.getEast()) * i.worldSize, M = de(h.getNorth()) * i.worldSize, D = de(h.getSouth()) * i.worldSize, N = [f, M, 0], x = [y, M, 0], E = [f, D, 0], A = [y, D, 0], I = X.mat4.invert([], i.globeMatrix);
|
|
40320
40320
|
return X.vec3.transformMat4(N, N, I), X.vec3.transformMat4(x, x, I), X.vec3.transformMat4(E, E, I), X.vec3.transformMat4(A, A, I), g[0] = hc(g[0], E, l), g[1] = hc(g[1], A, l), g[2] = hc(g[2], x, l), g[3] = hc(g[3], N, l), Fi.fromPoints(g);
|
|
40321
40321
|
}, s.b6 = Z_, s.b7 = l0, s.b8 = hc, s.b9 = Rf, s.bA = Qi, s.bB = an, s.bC = ut, s.bD = ti, s.bE = he, s.bF = function(u, i, l) {
|
|
40322
40322
|
u[4 * i + 0] = l[0], u[4 * i + 1] = l[1], u[4 * i + 2] = l[2], u[4 * i + 3] = l[3];
|
|
@@ -40334,7 +40334,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
40334
40334
|
const i = X.mat4.identity(new Float64Array(16));
|
|
40335
40335
|
X.mat4.multiply(i, u.pixelMatrix, u.globeMatrix);
|
|
40336
40336
|
const l = [0, v, 0], h = [0, b, 0];
|
|
40337
|
-
return X.vec3.transformMat4(l, l, i), X.vec3.transformMat4(h, h, i), [l[0] > 0 && l[0] <= u.width && l[1] > 0 && l[1] <= u.height && !
|
|
40337
|
+
return X.vec3.transformMat4(l, l, i), X.vec3.transformMat4(h, h, i), [l[0] > 0 && l[0] <= u.width && l[1] > 0 && l[1] <= u.height && !xw(u, new j(u.center.lat, 90)), h[0] > 0 && h[0] <= u.width && h[1] > 0 && h[1] <= u.height && !xw(u, new j(u.center.lat, -90))];
|
|
40338
40338
|
}, s.bX = function(u, i) {
|
|
40339
40339
|
const { scale: l } = u.tileTransform, h = l * mn / (u.tileSize * Math.pow(2, i.zoom - u.tileID.overscaledZ + u.tileID.canonical.z));
|
|
40340
40340
|
return X.mat2.scale(new Float32Array(4), i.inverseAdjustmentMatrix, [h, h]);
|
|
@@ -40353,11 +40353,11 @@ ${JSON.stringify(g, null, 2)}
|
|
|
40353
40353
|
return l;
|
|
40354
40354
|
}, s.bg = xn, s.bh = ["type", "source", "source-layer", "minzoom", "maxzoom", "filter", "layout"], s.bi = Ge, s.bj = function(u, i) {
|
|
40355
40355
|
const { x: l, y: h } = u.point, g = R6(l, h, u.worldSize / u._pixelsPerMercatorPixel, 0, 0);
|
|
40356
|
-
return X.mat4.multiply(g, g,
|
|
40356
|
+
return X.mat4.multiply(g, g, _w(El(i)));
|
|
40357
40357
|
}, s.bk = Kf, s.bl = ta, s.bm = ov, s.bn = function(u, i, l, h, g) {
|
|
40358
40358
|
const f = 5 * i + 2;
|
|
40359
40359
|
u.float32[f + 0] = l, u.float32[f + 1] = h, u.float32[f + 2] = g;
|
|
40360
|
-
}, s.bo = yv, s.bp = pA, s.bq = Ut, s.br = To, s.bs = gC, s.bt = XA, s.bu = bC, s.bv = MC, s.bw =
|
|
40360
|
+
}, s.bo = yv, s.bp = pA, s.bq = Ut, s.br = To, s.bs = gC, s.bt = XA, s.bu = bC, s.bv = MC, s.bw = Zw, s.bx = bA, s.by = Hw, s.bz = x4, s.c = Fe, s.c$ = ir, s.c0 = function(u) {
|
|
40361
40361
|
const { x: i, y: l } = u.point, { lng: h, lat: g } = u._center;
|
|
40362
40362
|
return R6(i, l, u.worldSize, h, g);
|
|
40363
40363
|
}, s.c1 = zt, s.c2 = Ri, s.c3 = Q_, s.c4 = function(u) {
|
|
@@ -40507,7 +40507,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
40507
40507
|
return [Math.pow(u[0], 1 / 2.2), Math.pow(u[1], 1 / 2.2), Math.pow(u[2], 1 / 2.2)];
|
|
40508
40508
|
}, s.cd = function(u) {
|
|
40509
40509
|
return u({ pluginStatus: Io, pluginURL: xs }), Bg.on("pluginStateChange", u), u;
|
|
40510
|
-
}, s.ce = rp, s.cf = Cv, s.cg = Jf, s.ch =
|
|
40510
|
+
}, s.ce = rp, s.cf = Cv, s.cg = Jf, s.ch = Yw, s.ci = $n, s.cj = w_, s.ck = Yt, s.cl = ns, s.cm = mt, s.cn = function(u) {
|
|
40511
40511
|
const i = u.indexOf(Gh);
|
|
40512
40512
|
return i >= 0 ? u.slice(0, i) : u;
|
|
40513
40513
|
}, s.co = function(u) {
|
|
@@ -40520,7 +40520,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
40520
40520
|
return u.type === "custom" ? new IH(u, i) : new jH[u.type](u, i, l, h);
|
|
40521
40521
|
}, s.cr = Et, s.cs = Bg, s.ct = Zi, s.cu = r0, s.cv = class extends Za {
|
|
40522
40522
|
constructor(u) {
|
|
40523
|
-
super(u), this.current =
|
|
40523
|
+
super(u), this.current = dw;
|
|
40524
40524
|
}
|
|
40525
40525
|
set(u, i, l) {
|
|
40526
40526
|
if (this.fetchUniformLocation(u, i)) {
|
|
@@ -40539,7 +40539,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
40539
40539
|
return X.mat4.translate(h, h, [u.point.x, u.point.y, 0]), X.mat4.scale(h, h, [l, l, i]), Float32Array.from(h);
|
|
40540
40540
|
}, s.cz = Y_, s.d = function(u) {
|
|
40541
40541
|
return ze.API_TILEJSON_REGEX.test(u);
|
|
40542
|
-
}, s.d$ = S, s.d0 = rv, s.d1 = Nu, s.d2 = 450, s.d3 = 7, s.d4 = wH, s.d5 = zi, s.d6 = Vf, s.d7 = 256, s.d8 =
|
|
40542
|
+
}, s.d$ = S, s.d0 = rv, s.d1 = Nu, s.d2 = 450, s.d3 = 7, s.d4 = wH, s.d5 = zi, s.d6 = Vf, s.d7 = 256, s.d8 = _w, s.d9 = Sl, s.dA = P6, s.dB = function(u) {
|
|
40543
40543
|
const i = [0, 0, 0], l = X.mat4.identity(new Float64Array(16));
|
|
40544
40544
|
return X.mat4.multiply(l, u.pixelMatrix, u.globeMatrix), X.vec3.transformMat4(i, i, l), new Ce(i[0], i[1]);
|
|
40545
40545
|
}, s.dC = function(u, i, l = !1) {
|
|
@@ -40587,14 +40587,14 @@ ${JSON.stringify(g, null, 2)}
|
|
|
40587
40587
|
const Ee = ye.toString(), He = A.get("text-letter-spacing").evaluate(Z, {}, M) * To, et = A.get("text-line-height").evaluate(Z, {}, M) * To, tt = b_(Ee) ? He : 0, lt = A.get("text-anchor").evaluate(Z, {}, M), xt = A.get("text-variable-anchor");
|
|
40588
40588
|
if (!xt) {
|
|
40589
40589
|
const Ot = A.get("text-radial-offset").evaluate(Z, {}, M);
|
|
40590
|
-
Te = Ot ? bA(lt, [Ot * To,
|
|
40590
|
+
Te = Ot ? bA(lt, [Ot * To, Gw]) : A.get("text-offset").evaluate(Z, {}, M).map((Sn) => Sn * To);
|
|
40591
40591
|
}
|
|
40592
40592
|
let Tt = k ? "center" : A.get("text-justify").evaluate(Z, {}, M);
|
|
40593
40593
|
const dt = A.get("symbol-placement") === "point", Rt = dt ? A.get("text-max-width").evaluate(Z, {}, M) * To : 1 / 0, tn = (Ot) => {
|
|
40594
|
-
u.allowVerticalPlacement && Og(Ee) && (ae.vertical = $
|
|
40594
|
+
u.allowVerticalPlacement && Og(Ee) && (ae.vertical = $w(ye, i, l, g, W, Rt, et, lt, Ot, tt, Te, ta.vertical, !0, J, H));
|
|
40595
40595
|
};
|
|
40596
40596
|
if (!k && xt) {
|
|
40597
|
-
const Ot = Tt === "auto" ? xt.map((dn) =>
|
|
40597
|
+
const Ot = Tt === "auto" ? xt.map((dn) => Zw(dn)) : [Tt];
|
|
40598
40598
|
let Sn = !1;
|
|
40599
40599
|
for (let dn = 0; dn < Ot.length; dn++) {
|
|
40600
40600
|
const sn = Ot[dn];
|
|
@@ -40602,14 +40602,14 @@ ${JSON.stringify(g, null, 2)}
|
|
|
40602
40602
|
if (Sn)
|
|
40603
40603
|
ae.horizontal[sn] = ae.horizontal[0];
|
|
40604
40604
|
else {
|
|
40605
|
-
const Wt = $
|
|
40605
|
+
const Wt = $w(ye, i, l, g, W, Rt, et, "center", sn, tt, Te, ta.horizontal, !1, J, H);
|
|
40606
40606
|
Wt && (ae.horizontal[sn] = Wt, Sn = Wt.positionedLines.length === 1);
|
|
40607
40607
|
}
|
|
40608
40608
|
}
|
|
40609
40609
|
tn("left");
|
|
40610
40610
|
} else {
|
|
40611
|
-
if (Tt === "auto" && (Tt =
|
|
40612
|
-
const Ot = $
|
|
40611
|
+
if (Tt === "auto" && (Tt = Zw(lt)), dt || A.get("text-writing-mode").indexOf("horizontal") >= 0 || !Og(Ee)) {
|
|
40612
|
+
const Ot = $w(ye, i, l, g, W, Rt, et, lt, Tt, tt, Te, ta.horizontal, !1, J, H);
|
|
40613
40613
|
Ot && (ae.horizontal[Tt] = Ot);
|
|
40614
40614
|
}
|
|
40615
40615
|
tn(dt ? "left" : Tt);
|
|
@@ -40652,10 +40652,10 @@ ${JSON.stringify(g, null, 2)}
|
|
|
40652
40652
|
}
|
|
40653
40653
|
getReplacementRegionsForTile(u, i = !1) {
|
|
40654
40654
|
const l = _C(new Ce(0, 0), new Ce(mn, mn), u), h = [];
|
|
40655
|
-
if (i && !
|
|
40655
|
+
if (i && !Nw(l, this._globalClipBounds))
|
|
40656
40656
|
return h;
|
|
40657
40657
|
for (const g of this._activeRegions) {
|
|
40658
|
-
if (g.hiddenByOverlap || !
|
|
40658
|
+
if (g.hiddenByOverlap || !Nw(l, g))
|
|
40659
40659
|
continue;
|
|
40660
40660
|
const f = v$(g.min, g.max, u);
|
|
40661
40661
|
h.push({ min: f.min, max: f.max, sourceId: this._sourceIds[g.priority], footprint: g.footprint, footprintTileId: g.tileId, order: g.order, clipMask: g.clipMask, clipScope: g.clipScope });
|
|
@@ -40721,7 +40721,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
40721
40721
|
y.hiddenByOverlap = !1;
|
|
40722
40722
|
for (let M = 0; M < f; M++) {
|
|
40723
40723
|
const D = this._activeRegions[M];
|
|
40724
|
-
if (!D.hiddenByOverlap && y.order === tv &&
|
|
40724
|
+
if (!D.hiddenByOverlap && y.order === tv && Nw(y, D) && (y.hiddenByOverlap = xC(y.footprint, y.tileId, D.footprint, D.tileId), y.hiddenByOverlap))
|
|
40725
40725
|
break;
|
|
40726
40726
|
}
|
|
40727
40727
|
++g;
|
|
@@ -40827,7 +40827,7 @@ ${JSON.stringify(g, null, 2)}
|
|
|
40827
40827
|
}(u) && i && (i.match("Version/15.4") || i.match("Version/15.5") || i.match(/CPU (OS|iPhone OS) (15_4|15_5) like Mac OS X/));
|
|
40828
40828
|
}, s.dy = function(u, i) {
|
|
40829
40829
|
hn = u, vn = i;
|
|
40830
|
-
}, s.dz =
|
|
40830
|
+
}, s.dz = xw, s.e = ze, s.e0 = function(u) {
|
|
40831
40831
|
let i = 0;
|
|
40832
40832
|
if (new Uint32Array(u, 0, 1)[0] !== AN) {
|
|
40833
40833
|
const l = new Uint32Array(u, 0, 7), [, , h, g, f, y] = l;
|
|
@@ -44692,7 +44692,7 @@ Use an identity property function instead: ${K}.`)];
|
|
|
44692
44692
|
this.remove(m.value.tileID, m);
|
|
44693
44693
|
}
|
|
44694
44694
|
}
|
|
44695
|
-
class $
|
|
44695
|
+
class $3 {
|
|
44696
44696
|
constructor() {
|
|
44697
44697
|
this.state = {}, this.stateChanges = {}, this.deletedStates = {};
|
|
44698
44698
|
}
|
|
@@ -44786,7 +44786,7 @@ Use an identity property function instead: ${K}.`)];
|
|
|
44786
44786
|
v.dataType === "source" && v.sourceDataType === "metadata" && (this._sourceLoaded = !0), this._sourceLoaded && !this._paused && v.dataType === "source" && v.sourceDataType === "content" && (this.reload(), this.transform && this.update(this.transform));
|
|
44787
44787
|
}), c.on("error", () => {
|
|
44788
44788
|
this._sourceErrored = !0;
|
|
44789
|
-
}), this._source = c, this._tiles = {}, this._cache = new Vy(0, this._unloadTile.bind(this)), this._timers = {}, this._cacheTimers = {}, this._minTileCacheSize = c.minTileCacheSize, this._maxTileCacheSize = c.maxTileCacheSize, this._loadedParentTiles = {}, this.castsShadows = !1, this.tileCoverLift = 0, this._coveredTiles = {}, this._shadowCasterTiles = {}, this._state = new $
|
|
44789
|
+
}), this._source = c, this._tiles = {}, this._cache = new Vy(0, this._unloadTile.bind(this)), this._timers = {}, this._cacheTimers = {}, this._minTileCacheSize = c.minTileCacheSize, this._maxTileCacheSize = c.maxTileCacheSize, this._loadedParentTiles = {}, this.castsShadows = !1, this.tileCoverLift = 0, this._coveredTiles = {}, this._shadowCasterTiles = {}, this._state = new $3(), this._isRaster = this._source.type === "raster" || this._source.type === "raster-dem" || this._source.type === "raster-array" || this._source.type === "custom" && this._source._dataType === "raster";
|
|
44790
44790
|
}
|
|
44791
44791
|
onAdd(o) {
|
|
44792
44792
|
this.map = o, this._minTileCacheSize = this._minTileCacheSize === void 0 && o ? o._minTileCacheSize : this._minTileCacheSize, this._maxTileCacheSize = this._maxTileCacheSize === void 0 && o ? o._maxTileCacheSize : this._maxTileCacheSize;
|
|
@@ -45338,7 +45338,7 @@ Use an identity property function instead: ${K}.`)];
|
|
|
45338
45338
|
function Qi(p, o, c) {
|
|
45339
45339
|
o.push({ command: Ai.removeSource, args: [p] }), c[p] = !0;
|
|
45340
45340
|
}
|
|
45341
|
-
function
|
|
45341
|
+
function H3(p, o, c, m) {
|
|
45342
45342
|
Qi(p, c, m), eg(p, o, c);
|
|
45343
45343
|
}
|
|
45344
45344
|
function Jn(p, o, c) {
|
|
@@ -46176,17 +46176,17 @@ Use an identity property function instead: ${K}.`)];
|
|
|
46176
46176
|
function of(p, o, c, m, v, b, w) {
|
|
46177
46177
|
p.emplaceBack(o ? 1 : 0, c ? 1 : 0, b || 0, w || 0, m, v ? 1 : 0), p.emplaceBack(o ? 1 : 0, c ? 1 : 0, b || 0, w || 0, m, v ? 1 : 0), p.emplaceBack(o ? 1 : 0, c ? 1 : 0, b || 0, w || 0, m, v ? 1 : 0), p.emplaceBack(o ? 1 : 0, c ? 1 : 0, b || 0, w || 0, m, v ? 1 : 0);
|
|
46178
46178
|
}
|
|
46179
|
-
const Fa = Math.pow(2, 25),
|
|
46179
|
+
const Fa = Math.pow(2, 25), Q3 = Math.pow(2, 24), Qy = Math.pow(2, 17), rs = Math.pow(2, 16), Y3 = Math.pow(2, 9), sf = Math.pow(2, 8), Yy = Math.pow(2, 1);
|
|
46180
46180
|
function eu(p) {
|
|
46181
46181
|
if (p.opacity === 0 && !p.placed)
|
|
46182
46182
|
return 0;
|
|
46183
46183
|
if (p.opacity === 1 && p.placed)
|
|
46184
46184
|
return 4294967295;
|
|
46185
46185
|
const o = p.placed ? 1 : 0, c = Math.floor(127 * p.opacity);
|
|
46186
|
-
return c * Fa + o *
|
|
46186
|
+
return c * Fa + o * Q3 + c * Qy + o * rs + c * Y3 + o * sf + c * Yy + o;
|
|
46187
46187
|
}
|
|
46188
46188
|
const tu = 0;
|
|
46189
|
-
class
|
|
46189
|
+
class G3 {
|
|
46190
46190
|
constructor(o) {
|
|
46191
46191
|
this._sortAcrossTiles = o.layout.get("symbol-z-order") !== "viewport-y" && o.layout.get("symbol-sort-key").constantOr(1) !== void 0, this._currentTileIndex = 0, this._currentPartIndex = 0, this._seenCrossTileIDs = /* @__PURE__ */ new Set(), this._bucketParts = [];
|
|
46192
46192
|
}
|
|
@@ -46218,7 +46218,7 @@ Use an identity property function instead: ${K}.`)];
|
|
|
46218
46218
|
for (; this._currentPlacementIndex >= 0; ) {
|
|
46219
46219
|
const O = c[o[this._currentPlacementIndex]], U = this.placement.collisionIndex.transform.zoom;
|
|
46220
46220
|
if (O.type === "symbol" && (!O.minzoom || O.minzoom <= U) && (!O.maxzoom || O.maxzoom > U)) {
|
|
46221
|
-
const j = O, $ = j.layout.get("symbol-z-elevate"), Y = j.layout.get("symbol-sort-key").constantOr(1) !== void 0, K = j.layout.get("symbol-z-order"), ce = K === "viewport-y" || K === "auto" && !(K !== "viewport-y" && Y), le = j.layout.get("text-allow-overlap") || j.layout.get("icon-allow-overlap") || j.layout.get("text-ignore-placement") || j.layout.get("icon-ignore-placement"), de = ce && le, he = this._inProgressLayer = this._inProgressLayer || new
|
|
46221
|
+
const j = O, $ = j.layout.get("symbol-z-elevate"), Y = j.layout.get("symbol-sort-key").constantOr(1) !== void 0, K = j.layout.get("symbol-z-order"), ce = K === "viewport-y" || K === "auto" && !(K !== "viewport-y" && Y), le = j.layout.get("text-allow-overlap") || j.layout.get("icon-allow-overlap") || j.layout.get("text-ignore-placement") || j.layout.get("icon-ignore-placement"), de = ce && le, he = this._inProgressLayer = this._inProgressLayer || new G3(j), we = s.av(O.source, O.scope);
|
|
46222
46222
|
if (he.continuePlacement($ || de ? v[we] : m[we], this.placement, this._showCollisionBoxes, O, L, b))
|
|
46223
46223
|
return;
|
|
46224
46224
|
delete this._inProgressLayer;
|
|
@@ -46232,7 +46232,7 @@ Use an identity property function instead: ${K}.`)];
|
|
|
46232
46232
|
}
|
|
46233
46233
|
}
|
|
46234
46234
|
const ec = 512 / s.ab / 2;
|
|
46235
|
-
class
|
|
46235
|
+
class Z3 {
|
|
46236
46236
|
constructor(o, c, m) {
|
|
46237
46237
|
this.tileID = o, this.bucketInstanceId = m, this.index = new s.bz(c.length, 16, Int32Array), this.keys = [], this.crossTileIDs = [];
|
|
46238
46238
|
const v = o.canonical.x * s.ab, b = o.canonical.y * s.ab;
|
|
@@ -46310,7 +46310,7 @@ Use an identity property function instead: ${K}.`)];
|
|
|
46310
46310
|
const w = c.symbolInstances.get(b);
|
|
46311
46311
|
w.crossTileID || (w.crossTileID = m.generate(), v.add(w.crossTileID));
|
|
46312
46312
|
}
|
|
46313
|
-
return this.indexes[o.overscaledZ] === void 0 && (this.indexes[o.overscaledZ] = {}), this.indexes[o.overscaledZ][o.key] = new
|
|
46313
|
+
return this.indexes[o.overscaledZ] === void 0 && (this.indexes[o.overscaledZ] = {}), this.indexes[o.overscaledZ][o.key] = new Z3(o, c.symbolInstances, c.bucketInstanceId), !0;
|
|
46314
46314
|
}
|
|
46315
46315
|
removeBucketCrossTileIDs(o, c) {
|
|
46316
46316
|
for (const m of c.crossTileIDs)
|
|
@@ -48242,7 +48242,7 @@ Use an identity property function instead: ${K}.`)];
|
|
|
48242
48242
|
if (!ce.hasOwnProperty(he))
|
|
48243
48243
|
continue;
|
|
48244
48244
|
const we = ce[he];
|
|
48245
|
-
K.hasOwnProperty(he) ? s.bi(K[he], we) || (K[he].type === "geojson" && we.type === "geojson" && Jn(K, ce, he) ? le.push({ command: Ai.setGeoJSONSourceData, args: [he, we.data] }) :
|
|
48245
|
+
K.hasOwnProperty(he) ? s.bi(K[he], we) || (K[he].type === "geojson" && we.type === "geojson" && Jn(K, ce, he) ? le.push({ command: Ai.setGeoJSONSourceData, args: [he, we.data] }) : H3(he, ce, le, de)) : eg(he, ce, le);
|
|
48246
48246
|
}
|
|
48247
48247
|
})(w.sources, L.sources, j, U);
|
|
48248
48248
|
const $ = [];
|
|
@@ -51868,7 +51868,7 @@ uniform ${$} ${Y} u_${K};
|
|
|
51868
51868
|
(o[0] !== c[0] || o[1] !== c[1] || this.dirty) && (this.gl.depthRange(o[0], o[1]), this.current = o, this.dirty = !1);
|
|
51869
51869
|
}
|
|
51870
51870
|
}
|
|
51871
|
-
class
|
|
51871
|
+
class W3 extends nr {
|
|
51872
51872
|
getDefault() {
|
|
51873
51873
|
return !1;
|
|
51874
51874
|
}
|
|
@@ -51879,7 +51879,7 @@ uniform ${$} ${Y} u_${K};
|
|
|
51879
51879
|
o ? c.enable(c.DEPTH_TEST) : c.disable(c.DEPTH_TEST), this.current = o, this.dirty = !1;
|
|
51880
51880
|
}
|
|
51881
51881
|
}
|
|
51882
|
-
class
|
|
51882
|
+
class q3 extends nr {
|
|
51883
51883
|
getDefault() {
|
|
51884
51884
|
return this.gl.LESS;
|
|
51885
51885
|
}
|
|
@@ -51887,7 +51887,7 @@ uniform ${$} ${Y} u_${K};
|
|
|
51887
51887
|
(o !== this.current || this.dirty) && (this.gl.depthFunc(o), this.current = o, this.dirty = !1);
|
|
51888
51888
|
}
|
|
51889
51889
|
}
|
|
51890
|
-
class
|
|
51890
|
+
class K3 extends nr {
|
|
51891
51891
|
getDefault() {
|
|
51892
51892
|
return !1;
|
|
51893
51893
|
}
|
|
@@ -51952,7 +51952,7 @@ uniform ${$} ${Y} u_${K};
|
|
|
51952
51952
|
(o !== this.current || this.dirty) && (this.gl.frontFace(o), this.current = o, this.dirty = !1);
|
|
51953
51953
|
}
|
|
51954
51954
|
}
|
|
51955
|
-
let
|
|
51955
|
+
let X3 = class extends nr {
|
|
51956
51956
|
getDefault() {
|
|
51957
51957
|
return null;
|
|
51958
51958
|
}
|
|
@@ -52121,7 +52121,7 @@ uniform ${$} ${Y} u_${K};
|
|
|
52121
52121
|
return this.gl.DEPTH_STENCIL_ATTACHMENT;
|
|
52122
52122
|
}
|
|
52123
52123
|
}
|
|
52124
|
-
const
|
|
52124
|
+
const J3 = (p, o, c) => ({ u_matrix: p, u_image0: 0, u_skirt_height: o, u_ground_shadow_factor: c }), d_ = (p, o, c, m, v, b, w, L, O, U, j, $, Y, K, ce, le) => ({ u_proj_matrix: Float32Array.from(p), u_globe_matrix: o, u_normalize_matrix: Float32Array.from(m), u_merc_matrix: c, u_zoom_transition: v, u_merc_center: b, u_image0: 0, u_frustum_tl: w, u_frustum_tr: L, u_frustum_br: O, u_frustum_bl: U, u_globe_pos: j, u_globe_radius: $, u_viewport: Y, u_grid_matrix: le ? Float32Array.from(le) : new Float32Array(9), u_skirt_height: K, u_far_z_cutoff: ce });
|
|
52125
52125
|
function f_(p, o) {
|
|
52126
52126
|
return p != null && o != null && !(!p.hasData() || !o.hasData()) && p.demTexture != null && o.demTexture != null && p.tileID.key !== o.tileID.key;
|
|
52127
52127
|
}
|
|
@@ -52527,7 +52527,7 @@ This leads to lower resolution of hillshade. For full hillshade resolution but h
|
|
|
52527
52527
|
const Ct = du.getMorphValuesForProxy(Ue.key), jt = Ct ? 1 : 0;
|
|
52528
52528
|
let Qt;
|
|
52529
52529
|
Ct && (Qt = { morphing: { srcDemTile: Ct.from, dstDemTile: Ct.to, phase: s.cw(Ct.phase) } });
|
|
52530
|
-
const rn =
|
|
52530
|
+
const rn = J3(Ue.projMatrix, Mg(Ue.canonical, we.renderWorldCopies) ? Ae / 10 : Ae, Ne);
|
|
52531
52531
|
if (le(jt), !$)
|
|
52532
52532
|
continue;
|
|
52533
52533
|
b.setupElevationDraw(We, $, Qt);
|
|
@@ -53071,11 +53071,11 @@ ${m.vertexSource}`;
|
|
|
53071
53071
|
}, Eg = (p, o, c, m, v, b) => ({ u_matrix: p, u_edge_radius: o, u_width_scale: c, u_vertical_scale: m, u_height_type: ic[v], u_base_type: ic[b] }), Dg = (p, o, c, m, v, b, w, L, O, U, j, $, Y, K, ce, le, de) => {
|
|
53072
53072
|
const he = Tg(p, o, c, m, v, b, w, L, U, j, $, Y, K, ce, le, de, 1, [0, 0, 0]), we = { u_height_factor: -Math.pow(2, L.overscaledZ) / O.tileSize / 8 };
|
|
53073
53073
|
return s.l(he, Sf(o, O), we);
|
|
53074
|
-
}, v_ = (p, o) => ({ u_matrix: p, u_emissive_strength: o }), Cg = (p, o, c, m) => s.l(v_(p, o), Sf(c, m)), Fh = (p, o, c) => ({ u_matrix: p, u_world: c, u_emissive_strength: o }),
|
|
53074
|
+
}, v_ = (p, o) => ({ u_matrix: p, u_emissive_strength: o }), Cg = (p, o, c, m) => s.l(v_(p, o), Sf(c, m)), Fh = (p, o, c) => ({ u_matrix: p, u_world: c, u_emissive_strength: o }), ew = (p, o, c, m, v) => s.l(Cg(p, o, c, m), { u_world: v }), tw = (p, o, c, m) => {
|
|
53075
53075
|
const v = s.ab / c.tileSize;
|
|
53076
53076
|
return { u_matrix: p, u_camera_to_center_distance: o.getCameraToCenterDistance(m), u_extrude_scale: [o.pixelsToGLUnits[0] / v, o.pixelsToGLUnits[1] / v] };
|
|
53077
|
-
}, Ag = (p, o, c = 1) => ({ u_matrix: p, u_color: o.toRenderColor(null), u_overlay: 0, u_overlay_scale: c }),
|
|
53078
|
-
const L = p.transform, O = L.projection.name === "globe", U = O ? s.cI(L.zoom, o.canonical) * L._pixelsPerMercatorPixel : s.ak(c, 1, b), j = { u_matrix: o.projMatrix, u_extrude_scale: U, u_intensity: w, u_inv_rot_matrix:
|
|
53077
|
+
}, Ag = (p, o, c = 1) => ({ u_matrix: p, u_color: o.toRenderColor(null), u_overlay: 0, u_overlay_scale: c }), nw = s.a6.mat4.create(), Ng = (p, o, c, m, v, b, w) => {
|
|
53078
|
+
const L = p.transform, O = L.projection.name === "globe", U = O ? s.cI(L.zoom, o.canonical) * L._pixelsPerMercatorPixel : s.ak(c, 1, b), j = { u_matrix: o.projMatrix, u_extrude_scale: U, u_intensity: w, u_inv_rot_matrix: nw, u_merc_center: [0, 0], u_tile_id: [0, 0, 0], u_zoom_transition: 0, u_up_dir: [0, 0, 0] };
|
|
53079
53079
|
if (O) {
|
|
53080
53080
|
j.u_inv_rot_matrix = m, j.u_merc_center = v, j.u_tile_id = [o.canonical.x, o.canonical.y, 1 << o.canonical.z], j.u_zoom_transition = s.a9(L.zoom);
|
|
53081
53081
|
const $ = v[0] * s.ab, Y = v[1] * s.ab;
|
|
@@ -53188,9 +53188,9 @@ ${m.vertexSource}`;
|
|
|
53188
53188
|
o.deleteFramebuffer(this.framebuffer);
|
|
53189
53189
|
}
|
|
53190
53190
|
}
|
|
53191
|
-
class
|
|
53191
|
+
class iw {
|
|
53192
53192
|
constructor(o, c) {
|
|
53193
|
-
this.gl = o, this.clearColor = new hg(this), this.clearDepth = new i_(this), this.clearStencil = new dg(this), this.colorMask = new vf(this), this.depthMask = new jh(this), this.stencilMask = new r_(this), this.stencilFunc = new o_(this), this.stencilOp = new s_(this), this.stencilTest = new uu(this), this.depthRange = new a_(this), this.depthTest = new
|
|
53193
|
+
this.gl = o, this.clearColor = new hg(this), this.clearDepth = new i_(this), this.clearStencil = new dg(this), this.colorMask = new vf(this), this.depthMask = new jh(this), this.stencilMask = new r_(this), this.stencilFunc = new o_(this), this.stencilOp = new s_(this), this.stencilTest = new uu(this), this.depthRange = new a_(this), this.depthTest = new W3(this), this.depthFunc = new q3(this), this.blend = new K3(this), this.blendFunc = new fg(this), this.blendColor = new pg(this), this.blendEquation = new mg(this), this.cullFace = new gg(this), this.cullFaceSide = new l_(this), this.frontFace = new c_(this), this.program = new X3(this), this.activeTexture = new Rh(this), this.viewport = new Ph(this), this.bindFramebuffer = new u_(this), this.bindRenderbuffer = new vs(this), this.bindTexture = new yg(this), this.bindVertexBuffer = new xf(this), this.bindElementBuffer = new bf(this), this.bindVertexArrayOES = new _g(this), this.pixelStoreUnpack = new vg(this), this.pixelStoreUnpackPremultiplyAlpha = new Mf(this), this.pixelStoreUnpackFlipY = new xg(this), this.options = c ? { ...c } : {}, this.options.extTextureFilterAnisotropicForceOff || (this.extTextureFilterAnisotropic = o.getExtension("EXT_texture_filter_anisotropic") || o.getExtension("MOZ_EXT_texture_filter_anisotropic") || o.getExtension("WEBKIT_EXT_texture_filter_anisotropic"), this.extTextureFilterAnisotropic && (this.extTextureFilterAnisotropicMax = o.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT))), this.extDebugRendererInfo = o.getExtension("WEBGL_debug_renderer_info"), this.extDebugRendererInfo && (this.renderer = o.getParameter(this.extDebugRendererInfo.UNMASKED_RENDERER_WEBGL), this.vendor = o.getParameter(this.extDebugRendererInfo.UNMASKED_VENDOR_WEBGL)), this.options.extTextureFloatLinearForceOff || (this.extTextureFloatLinear = o.getExtension("OES_texture_float_linear")), this.extRenderToTextureHalfFloat = o.getExtension("EXT_color_buffer_half_float"), this.extTimerQuery = o.getExtension("EXT_disjoint_timer_query_webgl2"), this.maxTextureSize = o.getParameter(o.MAX_TEXTURE_SIZE), this.maxPointSize = o.getParameter(o.ALIASED_POINT_SIZE_RANGE)[1];
|
|
53194
53194
|
}
|
|
53195
53195
|
setDefault() {
|
|
53196
53196
|
this.unbindVAO(), this.clearColor.setDefault(), this.clearDepth.setDefault(), this.clearStencil.setDefault(), this.colorMask.setDefault(), this.depthMask.setDefault(), this.stencilMask.setDefault(), this.stencilFunc.setDefault(), this.stencilOp.setDefault(), this.stencilTest.setDefault(), this.depthRange.setDefault(), this.depthTest.setDefault(), this.depthFunc.setDefault(), this.blend.setDefault(), this.blendFunc.setDefault(), this.blendColor.setDefault(), this.blendEquation.setDefault(), this.cullFace.setDefault(), this.cullFaceSide.setDefault(), this.frontFace.setDefault(), this.program.setDefault(), this.activeTexture.setDefault(), this.bindFramebuffer.setDefault(), this.pixelStoreUnpack.setDefault(), this.pixelStoreUnpackPremultiplyAlpha.setDefault(), this.pixelStoreUnpackFlipY.setDefault();
|
|
@@ -53248,7 +53248,7 @@ ${m.vertexSource}`;
|
|
|
53248
53248
|
const Ke = s.a6.mat4.create(), Ct = We;
|
|
53249
53249
|
s.a6.mat4.mul(Ke, Re.placementInvProjMatrix, U.glCoordMatrix), s.a6.mat4.mul(Ke, Ke, Re.placementViewportMatrix), $.push({ circleArray: Xe, circleOffset: K, transform: Ct, invTransform: Ke, projection: Re.getProjection() }), Y += Xe.length / 4, K = Y;
|
|
53250
53250
|
}
|
|
53251
|
-
it && (p.terrain && p.terrain.setupElevationDraw(Be, j), j.draw(p, O.LINES, Wn.disabled, si.disabled, p.colorModeForRenderPass(), ii.disabled,
|
|
53251
|
+
it && (p.terrain && p.terrain.setupElevationDraw(Be, j), j.draw(p, O.LINES, Wn.disabled, si.disabled, p.colorModeForRenderPass(), ii.disabled, tw(We, U, Be, Re.getProjection()), c.id, it.layoutVertexBuffer, it.indexBuffer, it.segments, null, U.zoom, null, [it.collisionVertexBuffer, it.collisionVertexBufferExt]));
|
|
53252
53252
|
}
|
|
53253
53253
|
if (!w || !$.length)
|
|
53254
53254
|
return;
|
|
@@ -53284,7 +53284,7 @@ ${m.vertexSource}`;
|
|
|
53284
53284
|
const m = [0, 0, 0], v = [0, 1, 0, 0];
|
|
53285
53285
|
return s.a6.vec4.transformMat4(v, v, c), m[0] = v[0], m[1] = v[1], m[2] = v[2], s.a6.vec3.normalize(m, m), m;
|
|
53286
53286
|
}
|
|
53287
|
-
function
|
|
53287
|
+
function rw({ width: p, height: o, anchor: c, textOffset: m, textScale: v }, b) {
|
|
53288
53288
|
const { horizontalAlign: w, verticalAlign: L } = s.by(c), O = -(w - 0.5) * p, U = -(L - 0.5) * o, j = s.bx(c, m);
|
|
53289
53289
|
return new s.P((O / v + j[0]) * b, (U / v + j[1]) * b);
|
|
53290
53290
|
}
|
|
@@ -53303,7 +53303,7 @@ ${m.vertexSource}`;
|
|
|
53303
53303
|
const rn = Di(b.getCameraToCenterDistance(le), Qt);
|
|
53304
53304
|
let un = v.evaluateSizeForFeature(p.textSizeData, U, Ne) * rn / s.br;
|
|
53305
53305
|
c && (un *= p.tilePixelRatio / O);
|
|
53306
|
-
const ht =
|
|
53306
|
+
const ht = rw(Ue, un);
|
|
53307
53307
|
c ? ({ x: Ke, y: Ct, z: jt } = le.projectTilePoint(je + ht.x, Be + ht.y, L.canonical), [Ke, Ct, jt] = ko(Ke + We, Ct + it, jt + Xe, w)) : (o && ht._rotate(-b.angle), Ke += ht.x, Ct += ht.y, jt = 0);
|
|
53308
53308
|
const Vt = p.allowVerticalPlacement && Ne.placedOrientation === s.bl.vertical ? Math.PI / 2 : 0;
|
|
53309
53309
|
for (let kt = 0; kt < Re; kt++)
|
|
@@ -53423,7 +53423,7 @@ ${m.vertexSource}`;
|
|
|
53423
53423
|
if (w) {
|
|
53424
53424
|
le = Ae.indexBuffer2, de = Ae.segments2;
|
|
53425
53425
|
const it = p.terrain && p.terrain.renderingToTexture ? p.terrain.drapeBufferSize : [L.drawingBufferWidth, L.drawingBufferHeight];
|
|
53426
|
-
ce = K === "fillOutlinePattern" && $ ?
|
|
53426
|
+
ce = K === "fillOutlinePattern" && $ ? ew(Ue, We, p, we, it) : Fh(Ue, We, it);
|
|
53427
53427
|
} else
|
|
53428
53428
|
le = Ae.indexBuffer, de = Ae.segments, ce = $ ? Cg(Ue, We, p, we) : v_(Ue, We);
|
|
53429
53429
|
p.uploadCommonUniforms(p.context, Be, he.toUnwrapped()), Be.draw(p, Y, v, U ? j : p.stencilModeForClipping(he), b, ii.disabled, ce, c.id, Ae.layoutVertexBuffer, le, de, c.paint, p.transform.zoom, Ne, void 0);
|
|
@@ -53694,7 +53694,7 @@ ${m.vertexSource}`;
|
|
|
53694
53694
|
let j = !1;
|
|
53695
53695
|
return U === "uint32" && (j = !0, b[3] = 0, b = Tf(s.d7, b, [0, c.paint.get("raster-particle-max-speed")]), w = pu(s.d7, w, [0, c.paint.get("raster-particle-max-speed")])), { texture: v, textureOffset: [O / (L + 2 * O), L / (L + 2 * O)], tileSize: L, scalarData: j, scale: b, offset: w, defines: ["RASTER_ARRAY", { uint8: "DATA_FORMAT_UINT8", uint16: "DATA_FORMAT_UINT16", uint32: "DATA_FORMAT_UINT32" }[U]] };
|
|
53696
53696
|
}
|
|
53697
|
-
function
|
|
53697
|
+
function ow(p) {
|
|
53698
53698
|
const o = p._nearZ, c = p.projection.farthestPixelDistance(p), m = c - o, v = 0.2 * p.height, b = o + v;
|
|
53699
53699
|
return [o, c, (b - v - o) / m, (b - o) / m];
|
|
53700
53700
|
}
|
|
@@ -53748,13 +53748,13 @@ ${m.vertexSource}`;
|
|
|
53748
53748
|
const w = p.context.gl, L = o.paint.get("sky-atmosphere-color"), O = o.paint.get("sky-atmosphere-halo-color"), U = o.paint.get("sky-atmosphere-sun-intensity"), j = (($, Y, K, ce, le) => ({ u_matrix_3f: $, u_sun_direction: Y, u_sun_intensity: K, u_color_tint_r: [ce.r, ce.g, ce.b, ce.a], u_color_tint_m: [le.r, le.g, le.b, le.a], u_luminance: 5e-5 }))(s.a6.mat3.fromMat4(s.a6.mat3.create(), m), v, U, L, O);
|
|
53749
53749
|
w.framebufferTexture2D(w.FRAMEBUFFER, w.COLOR_ATTACHMENT0, w.TEXTURE_CUBE_MAP_POSITIVE_X + b, o.skyboxTexture, 0), c.draw(p, w.TRIANGLES, Wn.disabled, si.disabled, _i.unblended, ii.frontCW, j, "skyboxCapture", o.skyboxGeometry.vertexBuffer, o.skyboxGeometry.indexBuffer, o.skyboxGeometry.segment);
|
|
53750
53750
|
}
|
|
53751
|
-
const
|
|
53752
|
-
class
|
|
53751
|
+
const sw = s.d5([{ type: "Float32", name: "a_pos", components: 3 }, { type: "Float32", name: "a_uv", components: 2 }]);
|
|
53752
|
+
class aw {
|
|
53753
53753
|
constructor(o) {
|
|
53754
53754
|
const c = new s.da();
|
|
53755
53755
|
c.emplaceBack(-1, 1, 1, 0, 0), c.emplaceBack(1, 1, 1, 1, 0), c.emplaceBack(1, -1, 1, 1, 1), c.emplaceBack(-1, -1, 1, 0, 1);
|
|
53756
53756
|
const m = new s.aP();
|
|
53757
|
-
m.emplaceBack(0, 1, 2), m.emplaceBack(2, 3, 0), this.vertexBuffer = o.createVertexBuffer(c,
|
|
53757
|
+
m.emplaceBack(0, 1, 2), m.emplaceBack(2, 3, 0), this.vertexBuffer = o.createVertexBuffer(c, sw.members), this.indexBuffer = o.createIndexBuffer(m), this.segments = s.b2.simpleSegment(0, 0, 4, 2);
|
|
53758
53758
|
}
|
|
53759
53759
|
destroy() {
|
|
53760
53760
|
this.vertexBuffer.destroy(), this.indexBuffer.destroy(), this.segments.destroy();
|
|
@@ -53779,7 +53779,7 @@ ${m.vertexSource}`;
|
|
|
53779
53779
|
update(o) {
|
|
53780
53780
|
const c = o.context;
|
|
53781
53781
|
if (!this.atmosphereBuffer || this.updateNeeded) {
|
|
53782
|
-
this.updateNeeded = !1, this.atmosphereBuffer = new
|
|
53782
|
+
this.updateNeeded = !1, this.atmosphereBuffer = new aw(c);
|
|
53783
53783
|
const m = this.params.sizeRange, v = this.params.intensityRange, b = function(j) {
|
|
53784
53784
|
const $ = s.dd(30), Y = [];
|
|
53785
53785
|
for (let K = 0; K < j; ++K) {
|
|
@@ -54486,7 +54486,7 @@ ${m.vertexSource}`;
|
|
|
54486
54486
|
const it = L.findLoadedParent(je, 0), Xe = If(Re, it, L, w.transform, We);
|
|
54487
54487
|
let Ke, Ct;
|
|
54488
54488
|
w.terrain && w.terrain.prepareDrawTile(), $.activeTexture.set(Y.TEXTURE0), Ue.targetColorTexture.bind(Y.LINEAR, Y.CLAMP_TO_EDGE), $.activeTexture.set(Y.TEXTURE1), it && it.rasterParticleState ? (it.rasterParticleState.targetColorTexture.bind(Y.LINEAR, Y.CLAMP_TO_EDGE), Ke = Math.pow(2, it.tileID.overscaledZ - Re.tileID.overscaledZ), Ct = [Re.tileID.canonical.x * Ke % 1, Re.tileID.canonical.y * Ke % 1]) : Ue.targetColorTexture.bind(Y.LINEAR, Y.CLAMP_TO_EDGE);
|
|
54489
|
-
const jt = de ? Float32Array.from(w.transform.expandedFarZProjMatrix) : w.transform.calculateProjMatrix(Be, le), Qt = w.transform, rn =
|
|
54489
|
+
const jt = de ? Float32Array.from(w.transform.expandedFarZProjMatrix) : w.transform.calculateProjMatrix(Be, le), Qt = w.transform, rn = ow(Qt), un = s.cz(je.canonical), ht = s.cA(un.getCenter().lat);
|
|
54490
54490
|
let Vt, kt, $t, Zt, Ut;
|
|
54491
54491
|
de ? (Vt = Float32Array.from(s.b6(s.cC(je.canonical))), kt = Float32Array.from(Qt.globeMatrix), $t = Float32Array.from(s.cy(Qt)), Zt = [s.am(Qt.center.lng), s.at(Qt.center.lat)], Ut = Float32Array.from(s.cB(je.canonical, un, ht, Qt.worldSize / Qt._pixelsPerMercatorPixel))) : (Vt = new Float32Array(16), kt = new Float32Array(9), $t = new Float32Array(16), Zt = [0, 0], Ut = new Float32Array(9));
|
|
54492
54492
|
const gn = Df(jt, Vt, kt, $t, Ut, Ct || [0, 0], s.a9(w.transform.zoom), Zt, rn, Ke || 1, Xe, ce), kn = w.isTileAffectedByFog(je), Hn = w.getOrCreateProgram("rasterParticle", { defines: Ae, overrideFog: kn });
|
|
@@ -54830,7 +54830,7 @@ ${m.vertexSource}`;
|
|
|
54830
54830
|
} };
|
|
54831
54831
|
class Sl {
|
|
54832
54832
|
constructor(o, c, m, v, b) {
|
|
54833
|
-
this.context = new
|
|
54833
|
+
this.context = new iw(o, c), this.transform = m, this._tileTextures = {}, this.frameCopies = [], this.loadTimeStamps = [], this.tp = b, this._timeStamp = s.q.now(), this._averageFPS = 0, this._fpsHistory = [], this._dt = 0, this._debugParams = { forceEnablePrecipitation: !1, showTerrainProxyTiles: !1, fpsWindow: 30, continousRedraw: !1, enabledLayers: {} };
|
|
54834
54834
|
const w = ["fill", "line", "symbol", "circle", "heatmap", "fill-extrusion", "raster", "raster-particle", "hillshade", "model", "background", "sky"];
|
|
54835
54835
|
for (const O of w)
|
|
54836
54836
|
this._debugParams.enabledLayers[O] = !0;
|
|
@@ -56086,10 +56086,10 @@ ${m.vertexSource}`;
|
|
|
56086
56086
|
function B_(p) {
|
|
56087
56087
|
return p * (2 - p);
|
|
56088
56088
|
}
|
|
56089
|
-
const n0 = 4.000244140625,
|
|
56090
|
-
class
|
|
56089
|
+
const n0 = 4.000244140625, lw = 1 / 450;
|
|
56090
|
+
class cw {
|
|
56091
56091
|
constructor(o, c) {
|
|
56092
|
-
this._map = o, this._el = o.getCanvasContainer(), this._handler = c, this._delta = 0, this._lastDelta = 0, this._defaultZoomRate = 0.01, this._wheelZoomRate =
|
|
56092
|
+
this._map = o, this._el = o.getCanvasContainer(), this._handler = c, this._delta = 0, this._lastDelta = 0, this._defaultZoomRate = 0.01, this._wheelZoomRate = lw, s.aJ(["_onTimeout", "_addScrollZoomBlocker", "_showBlockerAlert"], this);
|
|
56093
56093
|
}
|
|
56094
56094
|
setZoomRate(o) {
|
|
56095
56095
|
this._defaultZoomRate = o;
|
|
@@ -56228,7 +56228,7 @@ ${m.vertexSource}`;
|
|
|
56228
56228
|
return this._active;
|
|
56229
56229
|
}
|
|
56230
56230
|
}
|
|
56231
|
-
class
|
|
56231
|
+
class uw {
|
|
56232
56232
|
constructor() {
|
|
56233
56233
|
this._tap = new Kh({ numTouches: 1, numTaps: 1 }), this.reset();
|
|
56234
56234
|
}
|
|
@@ -56268,7 +56268,7 @@ ${m.vertexSource}`;
|
|
|
56268
56268
|
return this._active;
|
|
56269
56269
|
}
|
|
56270
56270
|
}
|
|
56271
|
-
class
|
|
56271
|
+
class hw {
|
|
56272
56272
|
constructor(o, c, m) {
|
|
56273
56273
|
this._el = o, this._mousePan = c, this._touchPan = m;
|
|
56274
56274
|
}
|
|
@@ -56372,17 +56372,17 @@ ${m.vertexSource}`;
|
|
|
56372
56372
|
this._add("boxZoom", v);
|
|
56373
56373
|
const b = new Jg(), w = new U_();
|
|
56374
56374
|
c.doubleClickZoom = new Cr(w, b), this._add("tapZoom", b), this._add("clickZoom", w);
|
|
56375
|
-
const L = new
|
|
56375
|
+
const L = new uw();
|
|
56376
56376
|
this._add("tapDragZoom", L);
|
|
56377
56377
|
const O = c.touchPitch = new j_(c);
|
|
56378
56378
|
this._add("touchPitch", O);
|
|
56379
56379
|
const U = new Vf(o), j = new $f(o);
|
|
56380
56380
|
c.dragRotate = new td(o, U, j), this._add("mouseRotate", U, ["mousePitch"]), this._add("mousePitch", j, ["mouseRotate"]);
|
|
56381
56381
|
const $ = new Ff(o), Y = new k_(c, o);
|
|
56382
|
-
c.dragPan = new
|
|
56382
|
+
c.dragPan = new hw(m, $, Y), this._add("mousePan", $), this._add("touchPan", Y, ["touchZoom", "touchRotate"]);
|
|
56383
56383
|
const K = new O_(), ce = new z_();
|
|
56384
56384
|
c.touchZoomRotate = new F_(m, ce, K, L), this._add("touchRotate", K, ["touchPan", "touchZoom"]), this._add("touchZoom", ce, ["touchPan", "touchRotate"]), this._add("blockableMapEvent", new cc(c));
|
|
56385
|
-
const le = c.scrollZoom = new
|
|
56385
|
+
const le = c.scrollZoom = new cw(c, this);
|
|
56386
56386
|
this._add("scrollZoom", le, ["mousePan"]);
|
|
56387
56387
|
const de = c.keyboard = new P_();
|
|
56388
56388
|
this._add("keyboard", de);
|
|
@@ -57019,7 +57019,7 @@ ${m.vertexSource}`;
|
|
|
57019
57019
|
this._start = this.getValue(c), this._end = o, this._startTime = c, this._endTime = c + m;
|
|
57020
57020
|
}
|
|
57021
57021
|
}
|
|
57022
|
-
const
|
|
57022
|
+
const dw = { "AttributionControl.ToggleAttribution": "Toggle attribution", "FullscreenControl.Enter": "Enter fullscreen", "FullscreenControl.Exit": "Exit fullscreen", "GeolocateControl.FindMyLocation": "Find my location", "GeolocateControl.LocationNotAvailable": "Location not available", "LogoControl.Title": "Mapbox homepage", "Map.Title": "Map", "NavigationControl.ResetBearing": "Reset bearing to north", "NavigationControl.ZoomIn": "Zoom in", "NavigationControl.ZoomOut": "Zoom out", "ScrollZoomBlocker.CtrlMessage": "Use ctrl + scroll to zoom the map", "ScrollZoomBlocker.CmdMessage": "Use ⌘ + scroll to zoom the map", "TouchPanBlocker.Message": "Use two fingers to move the map" }, $_ = ["mouseenter", "mouseover", "mouseleave", "mouseout"];
|
|
57023
57023
|
class Zf extends s.x {
|
|
57024
57024
|
constructor(o, c, m, v) {
|
|
57025
57025
|
const { point: b, lngLat: w, originalEvent: L, target: O } = o;
|
|
@@ -57357,7 +57357,7 @@ ${m.vertexSource}`;
|
|
|
57357
57357
|
return this._occludedOpacity;
|
|
57358
57358
|
}
|
|
57359
57359
|
}
|
|
57360
|
-
const
|
|
57360
|
+
const fw = { positionOptions: { enableHighAccuracy: !1, maximumAge: 0, timeout: 6e3 }, fitBoundsOptions: { maxZoom: 15 }, trackUserLocation: !1, showAccuracyCircle: !0, showUserLocation: !0, showUserHeading: !1 }, pw = { maxWidth: 100, unit: "metric" }, mw = { kilometer: "km", meter: "m", mile: "mi", foot: "ft", "nautical-mile": "nm" }, gw = { closeButton: !0, closeOnClick: !0, focusAfterOpen: !0, className: "", maxWidth: "240px" }, H_ = ["a[href]", "[tabindex]:not([tabindex='-1'])", "[contenteditable]:not([contenteditable='false'])", "button:not([disabled])", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].join(", ");
|
|
57361
57361
|
function So(p = new s.P(0, 0), o = "bottom") {
|
|
57362
57362
|
if (typeof p == "number") {
|
|
57363
57363
|
const c = Math.round(Math.sqrt(0.5 * Math.pow(p, 2)));
|
|
@@ -57395,7 +57395,7 @@ ${m.vertexSource}`;
|
|
|
57395
57395
|
throw new Error("minPitch must be greater than or equal to 0");
|
|
57396
57396
|
if (p.maxPitch != null && p.maxPitch > 85)
|
|
57397
57397
|
throw new Error("maxPitch must be less than or equal to 85");
|
|
57398
|
-
if (p.antialias && s.dx(window) && (p.antialias = !1, s.w("Antialiasing is disabled for this WebGL context to avoid browser bug: https://github.com/mapbox/mapbox-gl-js/issues/11609")), super(new uf(p.minZoom, p.maxZoom, p.minPitch, p.maxPitch, p.renderWorldCopies), p), this._repaint = !!p.repaint, this._interactive = p.interactive, this._minTileCacheSize = p.minTileCacheSize, this._maxTileCacheSize = p.maxTileCacheSize, this._failIfMajorPerformanceCaveat = p.failIfMajorPerformanceCaveat, this._preserveDrawingBuffer = p.preserveDrawingBuffer, this._antialias = p.antialias, this._trackResize = p.trackResize, this._bearingSnap = p.bearingSnap, this._refreshExpiredTiles = p.refreshExpiredTiles, this._fadeDuration = p.fadeDuration, this._isInitialLoad = !0, this._crossSourceCollisions = p.crossSourceCollisions, this._collectResourceTiming = p.collectResourceTiming, this._language = this._parseLanguage(p.language), this._worldview = p.worldview, this._renderTaskQueue = new V_(), this._domRenderTaskQueue = new V_(), this._controls = [], this._markers = [], this._popups = [], this._mapId = s.aQ(), this._locale = s.l({},
|
|
57398
|
+
if (p.antialias && s.dx(window) && (p.antialias = !1, s.w("Antialiasing is disabled for this WebGL context to avoid browser bug: https://github.com/mapbox/mapbox-gl-js/issues/11609")), super(new uf(p.minZoom, p.maxZoom, p.minPitch, p.maxPitch, p.renderWorldCopies), p), this._repaint = !!p.repaint, this._interactive = p.interactive, this._minTileCacheSize = p.minTileCacheSize, this._maxTileCacheSize = p.maxTileCacheSize, this._failIfMajorPerformanceCaveat = p.failIfMajorPerformanceCaveat, this._preserveDrawingBuffer = p.preserveDrawingBuffer, this._antialias = p.antialias, this._trackResize = p.trackResize, this._bearingSnap = p.bearingSnap, this._refreshExpiredTiles = p.refreshExpiredTiles, this._fadeDuration = p.fadeDuration, this._isInitialLoad = !0, this._crossSourceCollisions = p.crossSourceCollisions, this._collectResourceTiming = p.collectResourceTiming, this._language = this._parseLanguage(p.language), this._worldview = p.worldview, this._renderTaskQueue = new V_(), this._domRenderTaskQueue = new V_(), this._controls = [], this._markers = [], this._popups = [], this._mapId = s.aQ(), this._locale = s.l({}, dw, p.locale), this._clickTolerance = p.clickTolerance, this._cooperativeGestures = p.cooperativeGestures, this._performanceMetricsCollection = p.performanceMetricsCollection, this._tessellationStep = p.tessellationStep, this._containerWidth = 0, this._containerHeight = 0, this._showParseStatus = !0, this._precompilePrograms = p.precompilePrograms, this._scaleFactorChanged = !1, this._averageElevationLastSampledAt = -1 / 0, this._averageElevationExaggeration = 0, this._averageElevation = new nd(0), this._interactionRange = [1 / 0, -1 / 0], this._visibilityHidden = 0, this._useExplicitProjection = !1, this._frameId = 0, this._scaleFactor = p.scaleFactor, this._requestManager = new qt(p.transformRequest, p.accessToken, p.testMode), this._silenceAuthErrors = !!p.testMode, this._contextCreateOptions = p.contextCreateOptions ? { ...p.contextCreateOptions } : {}, typeof p.container == "string") {
|
|
57399
57399
|
const c = document.getElementById(p.container);
|
|
57400
57400
|
if (!c)
|
|
57401
57401
|
throw new Error(`Container '${p.container.toString()}' not found.`);
|
|
@@ -58278,7 +58278,7 @@ ${m.vertexSource}`;
|
|
|
58278
58278
|
constructor(p = {}) {
|
|
58279
58279
|
super();
|
|
58280
58280
|
const o = navigator.geolocation;
|
|
58281
|
-
this.options = s.l({ geolocation: o },
|
|
58281
|
+
this.options = s.l({ geolocation: o }, fw, p), s.aJ(["_onSuccess", "_onError", "_onZoom", "_finish", "_setupUI", "_updateCamera", "_updateMarker", "_updateMarkerRotation", "_onDeviceOrientation"], this), this._updateMarkerRotationThrottled = Ga(this._updateMarkerRotation, 20), this._numberOfWatches = 0;
|
|
58282
58282
|
}
|
|
58283
58283
|
onAdd(p) {
|
|
58284
58284
|
return this._map = p, this._container = ve("div", "mapboxgl-ctrl mapboxgl-ctrl-group"), this._checkGeolocationSupport(this._setupUI), this._container;
|
|
@@ -58439,7 +58439,7 @@ ${m.vertexSource}`;
|
|
|
58439
58439
|
}
|
|
58440
58440
|
}, AttributionControl: Gf, ScaleControl: class {
|
|
58441
58441
|
constructor(p = {}) {
|
|
58442
|
-
this.options = s.l({},
|
|
58442
|
+
this.options = s.l({}, pw, p), this._isNumberFormatSupported = function() {
|
|
58443
58443
|
try {
|
|
58444
58444
|
return new Intl.NumberFormat("en", { style: "unit", unitDisplay: "short", unit: "meter" }), !0;
|
|
58445
58445
|
} catch {
|
|
@@ -58468,7 +58468,7 @@ ${m.vertexSource}`;
|
|
|
58468
58468
|
return Math.round(O * U) / U;
|
|
58469
58469
|
}(L), w * L;
|
|
58470
58470
|
}(o), v = m / o;
|
|
58471
|
-
this._container.innerHTML = this._isNumberFormatSupported && c !== "nautical-mile" ? new Intl.NumberFormat(this._language, { style: "unit", unitDisplay: "short", unit: c }).format(m) : `${m} ${
|
|
58471
|
+
this._container.innerHTML = this._isNumberFormatSupported && c !== "nautical-mile" ? new Intl.NumberFormat(this._language, { style: "unit", unitDisplay: "short", unit: c }).format(m) : `${m} ${mw[c]}`, this._container.style.width = p * v + "px";
|
|
58472
58472
|
});
|
|
58473
58473
|
}
|
|
58474
58474
|
onAdd(p) {
|
|
@@ -58518,7 +58518,7 @@ ${m.vertexSource}`;
|
|
|
58518
58518
|
}
|
|
58519
58519
|
}, Popup: class extends s.E {
|
|
58520
58520
|
constructor(p) {
|
|
58521
|
-
super(), this.options = s.l(Object.create(
|
|
58521
|
+
super(), this.options = s.l(Object.create(gw), p), s.aJ(["_update", "_onClose", "remove", "_onMouseEvent"], this), this._classList = new Set(p && p.className ? p.className.trim().split(/\s+/) : []);
|
|
58522
58522
|
}
|
|
58523
58523
|
addTo(p) {
|
|
58524
58524
|
return this._map && this.remove(), this._map = p, this.options.closeOnClick && p.on("preclick", this._onClose), this.options.closeOnMove && p.on("move", this._onClose), p.on("remove", this.remove), this._update(), p._addPopup(this), this._focusFirstElement(), this._trackPointer ? (p.on("mousemove", this._onMouseEvent), p.on("mouseup", this._onMouseEvent), p._canvasContainer.classList.add("mapboxgl-track-pointer")) : p.on("move", this._update), this.fire(new s.x("open")), this;
|
|
@@ -59291,13 +59291,13 @@ const Zo = {
|
|
|
59291
59291
|
}
|
|
59292
59292
|
})();
|
|
59293
59293
|
}, [e, t]);
|
|
59294
|
-
},
|
|
59294
|
+
}, v3 = di({
|
|
59295
59295
|
key: "userPosition",
|
|
59296
59296
|
default: null
|
|
59297
59297
|
}), qD = di({
|
|
59298
59298
|
key: "directionsService",
|
|
59299
59299
|
default: null
|
|
59300
|
-
}),
|
|
59300
|
+
}), x3 = di({
|
|
59301
59301
|
key: "mapType",
|
|
59302
59302
|
default: void 0
|
|
59303
59303
|
}), KD = di({
|
|
@@ -59306,13 +59306,13 @@ const Zo = {
|
|
|
59306
59306
|
}), XD = di({
|
|
59307
59307
|
key: "gmApiKey",
|
|
59308
59308
|
default: null
|
|
59309
|
-
}),
|
|
59309
|
+
}), b3 = di({
|
|
59310
59310
|
key: "mapboxAccessToken",
|
|
59311
59311
|
default: null
|
|
59312
|
-
}),
|
|
59312
|
+
}), M3 = di({
|
|
59313
59313
|
key: "filteredLocations",
|
|
59314
59314
|
default: void 0
|
|
59315
|
-
}),
|
|
59315
|
+
}), w3 = di({
|
|
59316
59316
|
key: "filteredLocationsByExternalID",
|
|
59317
59317
|
default: void 0
|
|
59318
59318
|
}), PU = di({
|
|
@@ -59326,7 +59326,7 @@ const Zo = {
|
|
|
59326
59326
|
}), JD = di({
|
|
59327
59327
|
key: "bearing",
|
|
59328
59328
|
default: 0
|
|
59329
|
-
}),
|
|
59329
|
+
}), I3 = di({
|
|
59330
59330
|
key: "pitch",
|
|
59331
59331
|
default: null
|
|
59332
59332
|
}), UU = di({
|
|
@@ -59358,7 +59358,7 @@ const Ny = di({
|
|
|
59358
59358
|
}), FU = di({
|
|
59359
59359
|
key: "kioskOriginLocationId",
|
|
59360
59360
|
default: void 0
|
|
59361
|
-
}),
|
|
59361
|
+
}), S3 = di({
|
|
59362
59362
|
key: "locationId",
|
|
59363
59363
|
default: void 0
|
|
59364
59364
|
}), VU = di({
|
|
@@ -59373,7 +59373,7 @@ const Ny = di({
|
|
|
59373
59373
|
}), e6 = di({
|
|
59374
59374
|
key: "venueWasSelected",
|
|
59375
59375
|
default: !1
|
|
59376
|
-
}),
|
|
59376
|
+
}), T3 = di({
|
|
59377
59377
|
key: "isMapReady",
|
|
59378
59378
|
default: !1
|
|
59379
59379
|
});
|
|
@@ -59410,7 +59410,7 @@ const $U = di({
|
|
|
59410
59410
|
default: void 0
|
|
59411
59411
|
});
|
|
59412
59412
|
function HU() {
|
|
59413
|
-
const [e, t] = Se.useState(!1), n = En(
|
|
59413
|
+
const [e, t] = Se.useState(!1), n = En(T3), r = En($U);
|
|
59414
59414
|
return Se.useEffect(() => {
|
|
59415
59415
|
if (!n || !r)
|
|
59416
59416
|
return;
|
|
@@ -59440,10 +59440,10 @@ const QU = (e) => {
|
|
|
59440
59440
|
initial3D: 1,
|
|
59441
59441
|
clicked3D: 2,
|
|
59442
59442
|
clicked2D: 3
|
|
59443
|
-
}), ude =
|
|
59443
|
+
}), ude = g3({
|
|
59444
59444
|
key: "currentPitch",
|
|
59445
59445
|
get: ({ get: e }) => {
|
|
59446
|
-
const t = e(
|
|
59446
|
+
const t = e(I3), n = e(YU);
|
|
59447
59447
|
let r;
|
|
59448
59448
|
switch (n) {
|
|
59449
59449
|
case w5.initial3D:
|
|
@@ -60249,7 +60249,7 @@ function ry(e) {
|
|
|
60249
60249
|
return e.coordinates;
|
|
60250
60250
|
throw new Error("coords must be GeoJSON Feature, Geometry Object or an Array");
|
|
60251
60251
|
}
|
|
60252
|
-
function
|
|
60252
|
+
function E3(e) {
|
|
60253
60253
|
return e.type === "Feature" ? e.geometry : e;
|
|
60254
60254
|
}
|
|
60255
60255
|
function oy(e, t, n) {
|
|
@@ -60257,7 +60257,7 @@ function oy(e, t, n) {
|
|
|
60257
60257
|
throw new Error("point is required");
|
|
60258
60258
|
if (!t)
|
|
60259
60259
|
throw new Error("polygon is required");
|
|
60260
|
-
var r = Pde(e), a =
|
|
60260
|
+
var r = Pde(e), a = E3(t), d = a.type, _ = t.bbox, s = a.coordinates;
|
|
60261
60261
|
if (_ && Bde(r, _) === !1)
|
|
60262
60262
|
return !1;
|
|
60263
60263
|
d === "Polygon" && (s = [s]);
|
|
@@ -60660,7 +60660,7 @@ function Ez(e, t) {
|
|
|
60660
60660
|
}
|
|
60661
60661
|
function DS(e, t) {
|
|
60662
60662
|
t === void 0 && (t = {});
|
|
60663
|
-
var n =
|
|
60663
|
+
var n = E3(e);
|
|
60664
60664
|
switch (!t.properties && e.type === "Feature" && (t.properties = e.properties), n.type) {
|
|
60665
60665
|
case "Polygon":
|
|
60666
60666
|
return Kde(n, t);
|
|
@@ -60672,12 +60672,12 @@ function DS(e, t) {
|
|
|
60672
60672
|
}
|
|
60673
60673
|
function Kde(e, t) {
|
|
60674
60674
|
t === void 0 && (t = {});
|
|
60675
|
-
var n =
|
|
60675
|
+
var n = E3(e), r = n.coordinates, a = t.properties ? t.properties : e.type === "Feature" ? e.properties : {};
|
|
60676
60676
|
return oF(r, a);
|
|
60677
60677
|
}
|
|
60678
60678
|
function Xde(e, t) {
|
|
60679
60679
|
t === void 0 && (t = {});
|
|
60680
|
-
var n =
|
|
60680
|
+
var n = E3(e), r = n.coordinates, a = t.properties ? t.properties : e.type === "Feature" ? e.properties : {}, d = [];
|
|
60681
60681
|
return r.forEach(function(_) {
|
|
60682
60682
|
d.push(oF(_, a));
|
|
60683
60683
|
}), mh(d);
|
|
@@ -60780,7 +60780,7 @@ function ofe(e, t) {
|
|
|
60780
60780
|
}), n;
|
|
60781
60781
|
}
|
|
60782
60782
|
const sfe = () => {
|
|
60783
|
-
const [e, t] = Se.useState(!1), [n, r] = Se.useState(!1), a = Wl(), d = HU(), _ = En(JD), s = En(Ny), S = En(FU), z = En(
|
|
60783
|
+
const [e, t] = Se.useState(!1), [n, r] = Se.useState(!1), a = Wl(), d = HU(), _ = En(JD), s = En(Ny), S = En(FU), z = En(S3), R = En(Ua), V = En(I3), Q = En(VU), oe = En(Ly), ne = En(ude), ve = En(e6), [Pe, pe] = Se.useState(!1), [te, ie] = Gn(Xd), se = Gn(T3), [Me] = Gn(GU), [me, Ie] = Se.useState({ id: null, originalRule: null });
|
|
60784
60784
|
Se.useEffect(() => {
|
|
60785
60785
|
d && Je();
|
|
60786
60786
|
}, [d]), Se.useEffect(() => {
|
|
@@ -61075,7 +61075,7 @@ function cF({
|
|
|
61075
61075
|
currentLanguage: z,
|
|
61076
61076
|
setLanguage: R
|
|
61077
61077
|
}) {
|
|
61078
|
-
const V = En(KD), Q = En(XD), oe = En(
|
|
61078
|
+
const V = En(KD), Q = En(XD), oe = En(b3), [ne, ve] = Gn(x3), [Pe, pe] = Gn(Ua), [, te] = Gn(v3), [, ie] = Gn(qD), se = En(M3), Me = En(w3), me = En(PU), Ie = En(JD), Je = En(I3), [, $e] = Gn(BU), Oe = En(UU), [, Qe] = Gn(Ay), gt = En(sF), ft = En(c6), [qt, yt] = Se.useState(!1), [_t, Ft] = Se.useState(!1);
|
|
61079
61079
|
cde(V);
|
|
61080
61080
|
const [bt, It] = sfe();
|
|
61081
61081
|
Se.useEffect(() => {
|
|
@@ -61455,7 +61455,7 @@ function pF({
|
|
|
61455
61455
|
] })
|
|
61456
61456
|
] });
|
|
61457
61457
|
}
|
|
61458
|
-
const
|
|
61458
|
+
const D3 = di({
|
|
61459
61459
|
key: "isLocationClicked",
|
|
61460
61460
|
default: !1
|
|
61461
61461
|
});
|
|
@@ -61471,7 +61471,7 @@ function mF({
|
|
|
61471
61471
|
}) {
|
|
61472
61472
|
const {
|
|
61473
61473
|
t: r
|
|
61474
|
-
} = es(), a = Se.useRef(null), d = En(Ly), [, _] = Gn(e6), [s, S] = Gn(Xd), [, z] = Gn(
|
|
61474
|
+
} = es(), a = Se.useRef(null), d = En(Ly), [, _] = Gn(e6), [s, S] = Gn(Xd), [, z] = Gn(D3), R = document.querySelector(".venue-selector-portal"), V = (ne) => {
|
|
61475
61475
|
_(!0), S(ne.name), Q();
|
|
61476
61476
|
}, Q = () => {
|
|
61477
61477
|
n ? t() : e();
|
|
@@ -61761,11 +61761,11 @@ function Rz(e) {
|
|
|
61761
61761
|
const zy = di({
|
|
61762
61762
|
key: "directionsResponse",
|
|
61763
61763
|
default: null
|
|
61764
|
-
}),
|
|
61764
|
+
}), C3 = di({
|
|
61765
61765
|
key: "hasFoundRoute",
|
|
61766
61766
|
default: !0
|
|
61767
61767
|
}), _F = (e, t, n, r, a) => {
|
|
61768
|
-
const [d, _] = Se.useState(), [s, S] = Se.useState(), [z, R] = Gn(
|
|
61768
|
+
const [d, _] = Se.useState(), [s, S] = Se.useState(), [z, R] = Gn(C3), [, V] = Gn(zy), [Q, oe] = Se.useState();
|
|
61769
61769
|
return Se.useEffect(() => {
|
|
61770
61770
|
oe(!1);
|
|
61771
61771
|
let ne = !0;
|
|
@@ -61806,12 +61806,12 @@ const zy = di({
|
|
|
61806
61806
|
}), jy = di({
|
|
61807
61807
|
key: "accessibilityOn",
|
|
61808
61808
|
default: !1
|
|
61809
|
-
}),
|
|
61809
|
+
}), A3 = di({
|
|
61810
61810
|
key: "showExternalIDs",
|
|
61811
61811
|
default: !1
|
|
61812
61812
|
});
|
|
61813
61813
|
function vF(e, t) {
|
|
61814
|
-
const n = En(
|
|
61814
|
+
const n = En(x3), [r, a] = Se.useState(!1), d = e.getMap();
|
|
61815
61815
|
Se.useEffect(() => {
|
|
61816
61816
|
t && a(!1);
|
|
61817
61817
|
}, [t]);
|
|
@@ -61900,7 +61900,7 @@ function xF({
|
|
|
61900
61900
|
isClosed: !1
|
|
61901
61901
|
};
|
|
61902
61902
|
}, ve = Se.useCallback((se) => {
|
|
61903
|
-
if (!se || se.closedAllDay)
|
|
61903
|
+
if (!se || se.closedAllDay || !se.startHours)
|
|
61904
61904
|
return !1;
|
|
61905
61905
|
const Me = /* @__PURE__ */ new Date(), me = Me.getHours() * 60 + Me.getMinutes(), [Ie, Je] = se.startTime.split(":"), [$e, Oe] = se.endTime.split(":"), Qe = parseInt(Ie) * 60 + parseInt(Je), gt = parseInt($e) * 60 + parseInt(Oe);
|
|
61906
61906
|
return me >= Qe && me <= gt;
|
|
@@ -61982,16 +61982,16 @@ var E5 = { click: "onClick", focusin: "onFocus", focusout: "onFocus", mousedown:
|
|
|
61982
61982
|
} }, ve, Q(ve)), oe, Q(oe)), ne, Q(ne))));
|
|
61983
61983
|
};
|
|
61984
61984
|
bF.displayName = "ClickAwayListener";
|
|
61985
|
-
const
|
|
61985
|
+
const N3 = di({
|
|
61986
61986
|
key: "searchAllVenues",
|
|
61987
61987
|
default: !1
|
|
61988
61988
|
}), d6 = di({
|
|
61989
61989
|
key: "searchExternalLocations",
|
|
61990
61990
|
default: !0
|
|
61991
|
-
}), MF =
|
|
61991
|
+
}), MF = g3({
|
|
61992
61992
|
key: "baseLink",
|
|
61993
61993
|
get: ({ get: e }) => {
|
|
61994
|
-
const t = e(XD), n = e(
|
|
61994
|
+
const t = e(XD), n = e(b3), r = e(KD), a = e(Bc), d = e(Jd), _ = e(N3), s = e(d6), S = e(u6), z = window.location.origin + window.location.pathname.replace(/\/$/, ""), R = new URLSearchParams(window.location.search), V = new URLSearchParams();
|
|
61995
61995
|
return [
|
|
61996
61996
|
["gmApiKey", t],
|
|
61997
61997
|
["mapboxAccessToken", n],
|
|
@@ -62050,7 +62050,7 @@ const Ofe = (e) => /* @__PURE__ */ Se.createElement("svg", { width: 24, height:
|
|
|
62050
62050
|
stroke: "#737373",
|
|
62051
62051
|
stroke: "color(display-p3 0.4510 0.4510 0.4510)",
|
|
62052
62052
|
strokeOpacity: 1
|
|
62053
|
-
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })),
|
|
62053
|
+
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), L3 = di({
|
|
62054
62054
|
key: "qrCodeLink",
|
|
62055
62055
|
default: null
|
|
62056
62056
|
}), IF = di({
|
|
@@ -62067,7 +62067,7 @@ function SF({
|
|
|
62067
62067
|
}) {
|
|
62068
62068
|
const {
|
|
62069
62069
|
t: n
|
|
62070
|
-
} = es(), [r, a] = Se.useState(!1), d = En(MF), [_, s] = Se.useState(), S = En(IF), [z, R] = Se.useState(!1), [V, Q] = Se.useState(!1), oe = En(Vc), [, ne] = Gn(
|
|
62070
|
+
} = es(), [r, a] = Se.useState(!1), d = En(MF), [_, s] = Se.useState(), S = En(IF), [z, R] = Se.useState(!1), [V, Q] = Se.useState(!1), oe = En(Vc), [, ne] = Gn(L3), ve = Wl();
|
|
62071
62071
|
Se.useEffect(() => {
|
|
62072
62072
|
d && e && s(d + "&locationId=" + e.id);
|
|
62073
62073
|
}, [d, e]), Se.useEffect(() => {
|
|
@@ -62154,7 +62154,7 @@ function f6({
|
|
|
62154
62154
|
var Ce, Ge;
|
|
62155
62155
|
const {
|
|
62156
62156
|
t: _
|
|
62157
|
-
} = es(), s = Se.useRef(null), S = Se.useRef(null), z = Se.useRef(null), R = Se.useRef(null), V = Se.useRef(null), [Q, oe] = Se.useState(!1), [ne, ve] = Se.useState(!1), [Pe, pe] = Se.useState(!1), te = Se.useRef(!1), [ie, se] = Se.useState(null), Me = En(Ua), me = En(Fc), Ie = (Ce = me == null ? void 0 : me.properties) == null ? void 0 : Ce.additionalDetails, Je = (Ge = Ie == null ? void 0 : Ie.find((ot) => ot.key.toLowerCase().includes("openinghours") && ot.active === !0)) == null ? void 0 : Ge.openingHours, [$e, Oe] = Afe(me, z), Qe = Wm(), gt = En(Bc), ft = En(Vc), qt = En(qD), [yt, _t] = Se.useState(), [Ft, bt] = Se.useState(), It = Wl(), ee = En(Oy), fe = En(jy), [, , T] = _F(Ft, yt, qt, ee, fe), P = En(
|
|
62157
|
+
} = es(), s = Se.useRef(null), S = Se.useRef(null), z = Se.useRef(null), R = Se.useRef(null), V = Se.useRef(null), [Q, oe] = Se.useState(!1), [ne, ve] = Se.useState(!1), [Pe, pe] = Se.useState(!1), te = Se.useRef(!1), [ie, se] = Se.useState(null), Me = En(Ua), me = En(Fc), Ie = (Ce = me == null ? void 0 : me.properties) == null ? void 0 : Ce.additionalDetails, Je = (Ge = Ie == null ? void 0 : Ie.find((ot) => ot.key.toLowerCase().includes("openinghours") && ot.active === !0)) == null ? void 0 : Ge.openingHours, [$e, Oe] = Afe(me, z), Qe = Wm(), gt = En(Bc), ft = En(Vc), qt = En(qD), [yt, _t] = Se.useState(), [Ft, bt] = Se.useState(), It = Wl(), ee = En(Oy), fe = En(jy), [, , T] = _F(Ft, yt, qt, ee, fe), P = En(A3), G = vF(Me, a);
|
|
62158
62158
|
Se.useEffect(() => () => {
|
|
62159
62159
|
se(null), _t(), bt();
|
|
62160
62160
|
}, []);
|
|
@@ -62253,13 +62253,13 @@ function f6({
|
|
|
62253
62253
|
] }) });
|
|
62254
62254
|
}
|
|
62255
62255
|
const Rfe = (e) => /* @__PURE__ */ Se.createElement("svg", { width: 16, height: 17, viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Se.createElement("g", { clipPath: "url(#clip0_1663_3931)" }, /* @__PURE__ */ Se.createElement("path", { d: "M8 0.5C6.41775 0.5 4.87104 0.969192 3.55544 1.84824C2.23985 2.72729 1.21447 3.97672 0.608967 5.43853C0.00346629 6.90034 -0.15496 8.50887 0.153721 10.0607C0.462403 11.6126 1.22433 13.038 2.34315 14.1569C3.46197 15.2757 4.88743 16.0376 6.43928 16.3463C7.99113 16.655 9.59966 16.4965 11.0615 15.891C12.5233 15.2855 13.7727 14.2602 14.6518 12.9446C15.5308 11.629 16 10.0823 16 8.5C16 6.37827 15.1571 4.34344 13.6569 2.84315C12.1566 1.34285 10.1217 0.5 8 0.5ZM11.4667 11.98C11.4074 12.0452 11.3358 12.098 11.2559 12.1353C11.1761 12.1726 11.0897 12.1937 11.0017 12.1974C10.9136 12.2012 10.8258 12.1874 10.7431 12.1569C10.6604 12.1265 10.5846 12.0799 10.52 12.02L7.18667 8.99333C7.12364 8.92813 7.07457 8.85074 7.04247 8.76591C7.01038 8.68109 6.99592 8.5906 7 8.5V4.83333C7 4.65652 7.07024 4.48695 7.19527 4.36193C7.32029 4.23691 7.48986 4.16667 7.66667 4.16667C7.84348 4.16667 8.01305 4.23691 8.13807 4.36193C8.2631 4.48695 8.33334 4.65652 8.33334 4.83333V8.20667L11.42 11.04C11.5506 11.1586 11.6288 11.3242 11.6375 11.5004C11.6463 11.6765 11.5848 11.849 11.4667 11.98Z", fill: "#707070" })), /* @__PURE__ */ Se.createElement("defs", null, /* @__PURE__ */ Se.createElement("clipPath", { id: "clip0_1663_3931" }, /* @__PURE__ */ Se.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0 0.5)" })))), Bz = (e) => /* @__PURE__ */ Se.createElement("svg", { width: 13, height: 20, viewBox: "0 0 13 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Se.createElement("path", { d: "M9.61194 2.82846C9.61194 3.93033 8.7187 4.82357 7.61683 4.82357C6.51495 4.82357 5.62171 3.93033 5.62171 2.82846C5.62171 1.72659 6.51495 0.833344 7.61683 0.833344C8.7187 0.833344 9.61194 1.72659 9.61194 2.82846Z", fill: "#4B5563" }), /* @__PURE__ */ Se.createElement("path", { d: "M3.85618 7.89573L2.70342 8.26942C2.51461 8.33063 2.38005 8.49797 2.36081 8.69552L2.15675 10.7898C2.10483 11.3227 1.64157 11.7195 1.10705 11.6891C0.529883 11.6562 0.101401 11.1412 0.174055 10.5677L0.562276 7.5031C0.609594 7.12957 0.863193 6.8145 1.21798 6.68846L5.43314 5.19101C5.91287 4.94642 6.49458 4.90944 7.02868 5.14168C7.58278 5.38261 7.96247 5.86074 8.09808 6.40693C8.10564 6.42543 8.11266 6.44417 8.11911 6.46314L8.13434 6.50792C8.1531 6.56308 8.17666 6.6165 8.20475 6.66755L9.12944 8.34823C9.24374 8.55597 9.4283 8.71621 9.65003 8.80021L11.6264 9.54897C12.2431 9.78262 12.4674 10.5397 12.0776 11.0716C11.8078 11.4397 11.3226 11.5778 10.8994 11.4069L8.27831 10.3486C8.07383 10.266 7.90247 10.118 7.79102 9.92774L7.36282 9.1966L6.28886 11.8906C6.2887 11.8929 6.2885 11.8952 6.28824 11.8974C6.28503 11.9259 6.28989 11.9548 6.30227 11.9807L6.30571 11.9879L9.7205 18.1483C10.0544 18.7506 9.83675 19.5096 9.23443 19.8434C8.6321 20.1773 7.87316 19.9597 7.53929 19.3574L4.94329 14.6741L2.97868 19.1924C2.70407 19.8239 1.96948 20.1133 1.33793 19.8387C0.706382 19.5641 0.417021 18.8295 0.691627 18.1979L3.26686 12.2753L3.30923 12.1729C3.31648 12.1479 3.31685 12.1215 3.3104 12.0965C2.88761 11.4405 2.77915 10.5975 3.08907 9.82005L3.85618 7.89573Z", fill: "#4B5563" })), Pfe = (e) => /* @__PURE__ */ Se.createElement("svg", { width: 20, height: 24, viewBox: "0 0 20 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Se.createElement("path", { d: "M4.48045 5.12001C4.0861 5.12526 3.70969 5.28562 3.4327 5.56636C3.15571 5.84709 3.00042 6.22562 3.00045 6.62001V16.73C3.00045 16.7963 2.97411 16.8599 2.92723 16.9068C2.88035 16.9537 2.81676 16.98 2.75045 16.98H1.48045C1.30245 16.979 1.1274 17.0255 0.973367 17.1147C0.819338 17.2039 0.691916 17.3326 0.60426 17.4876C0.516604 17.6425 0.471891 17.818 0.474737 17.996C0.477584 18.174 0.527887 18.348 0.620453 18.5L3.62045 23.5C3.709 23.6492 3.83484 23.7728 3.98563 23.8587C4.13641 23.9446 4.30694 23.9897 4.48045 23.9897C4.65397 23.9897 4.8245 23.9446 4.97528 23.8587C5.12606 23.7728 5.25191 23.6492 5.34045 23.5L8.34045 18.5C8.42797 18.3484 8.47417 18.1765 8.47444 18.0015C8.4747 17.8265 8.42903 17.6544 8.34197 17.5026C8.25491 17.3508 8.12953 17.2244 7.97834 17.1362C7.82716 17.048 7.65548 17.0011 7.48045 17H6.23045C6.19758 16.9975 6.16554 16.9885 6.13616 16.9735C6.10679 16.9586 6.08066 16.938 6.05928 16.9129C6.03791 16.8878 6.0217 16.8587 6.01161 16.8273C6.00151 16.7959 5.99772 16.7629 6.00045 16.73V6.62001C6.00047 6.42133 5.96102 6.22463 5.88439 6.04132C5.80776 5.85802 5.69548 5.69176 5.55407 5.55221C5.41265 5.41266 5.24493 5.30259 5.06062 5.2284C4.87632 5.1542 4.67911 5.11736 4.48045 5.12001Z", fill: "#707070" }), /* @__PURE__ */ Se.createElement("path", { d: "M15.5203 18.84C15.9182 18.84 16.2997 18.6819 16.581 18.4006C16.8623 18.1193 17.0203 17.7378 17.0203 17.34V7.22995C17.0254 7.16717 17.0539 7.10861 17.1003 7.06597C17.1466 7.02332 17.2074 6.99975 17.2703 6.99995H18.5203C18.6968 6.99992 18.8702 6.95317 19.0228 6.86446C19.1754 6.77574 19.3018 6.64822 19.3891 6.49485C19.4765 6.34148 19.5217 6.16771 19.5201 5.99122C19.5186 5.81472 19.4704 5.64177 19.3803 5.48995L16.3803 0.48995C16.2918 0.340728 16.1659 0.217112 16.0152 0.131252C15.8644 0.0453926 15.6938 0.000244141 15.5203 0.000244141C15.3468 0.000244141 15.1763 0.0453926 15.0255 0.131252C14.8747 0.217112 14.7489 0.340728 14.6603 0.48995L11.6603 5.48995C11.5703 5.64177 11.5221 5.81472 11.5205 5.99122C11.519 6.16771 11.5642 6.34148 11.6516 6.49485C11.7389 6.64822 11.8653 6.77574 12.0179 6.86446C12.1705 6.95317 12.3438 6.99992 12.5203 6.99995H13.7703C13.8366 6.99995 13.9002 7.02629 13.9471 7.07317C13.994 7.12006 14.0203 7.18365 14.0203 7.24995V17.34C14.0203 17.7378 14.1784 18.1193 14.4597 18.4006C14.741 18.6819 15.1225 18.84 15.5203 18.84Z", fill: "#707070" }));
|
|
62256
|
-
|
|
62256
|
+
k3.propTypes = {
|
|
62257
62257
|
location: St.object,
|
|
62258
62258
|
locationClicked: St.func,
|
|
62259
62259
|
icon: St.string,
|
|
62260
62260
|
isHovered: St.bool
|
|
62261
62261
|
};
|
|
62262
|
-
function
|
|
62262
|
+
function k3({
|
|
62263
62263
|
location: e,
|
|
62264
62264
|
locationClicked: t,
|
|
62265
62265
|
icon: n,
|
|
@@ -62267,7 +62267,7 @@ function kw({
|
|
|
62267
62267
|
}) {
|
|
62268
62268
|
const {
|
|
62269
62269
|
t: a
|
|
62270
|
-
} = es(), d = Se.useRef(), _ = En(Ua), s = En(
|
|
62270
|
+
} = es(), d = Se.useRef(), _ = En(Ua), s = En(A3);
|
|
62271
62271
|
return Se.useEffect(() => {
|
|
62272
62272
|
var Q;
|
|
62273
62273
|
const S = (oe) => t(oe.detail), z = () => {
|
|
@@ -62287,7 +62287,7 @@ function kw({
|
|
|
62287
62287
|
}, [e, t, r]), /* @__PURE__ */ Ve.jsx("mi-list-item-location", { level: a("Level"), ref: d, "show-external-id": s, "data-sentry-element": "mi-list-item-location", "data-sentry-component": "ListItemLocation", "data-sentry-source-file": "ListItemLocation.jsx" });
|
|
62288
62288
|
}
|
|
62289
62289
|
const Bfe = () => {
|
|
62290
|
-
const [e, t] = Se.useState(), n = En(Ua), r = En(
|
|
62290
|
+
const [e, t] = Se.useState(), n = En(Ua), r = En(T3);
|
|
62291
62291
|
return Se.useEffect(() => {
|
|
62292
62292
|
function a() {
|
|
62293
62293
|
const d = n.getMapView().getCenter();
|
|
@@ -62312,10 +62312,10 @@ const Bfe = () => {
|
|
|
62312
62312
|
google: R,
|
|
62313
62313
|
mapbox: V,
|
|
62314
62314
|
disabled: Q = !1
|
|
62315
|
-
} = t, oe = Se.useRef(), ne = En(
|
|
62315
|
+
} = t, oe = Se.useRef(), ne = En(v3), ve = En(Jd), [, Pe] = Gn(p6), pe = sessionStorage.getItem("mapboxPlacesSessionToken"), te = {
|
|
62316
62316
|
longitude: ne == null ? void 0 : ne.coords.longitude,
|
|
62317
62317
|
latitude: ne == null ? void 0 : ne.coords.latitude
|
|
62318
|
-
}, ie = Bfe(), se = En(Xd), Me = En(
|
|
62318
|
+
}, ie = Bfe(), se = En(Xd), Me = En(N3);
|
|
62319
62319
|
return Se.useImperativeHandle(n, () => ({
|
|
62320
62320
|
triggerSearch() {
|
|
62321
62321
|
oe.current.triggerSearch();
|
|
@@ -62421,7 +62421,7 @@ function $fe(e, t) {
|
|
|
62421
62421
|
});
|
|
62422
62422
|
});
|
|
62423
62423
|
}
|
|
62424
|
-
const Hfe =
|
|
62424
|
+
const Hfe = g3({
|
|
62425
62425
|
key: "unitSystem",
|
|
62426
62426
|
get: ({ get: e }) => e(Jd) === "en-US" ? "imperial" : "metric"
|
|
62427
62427
|
});
|
|
@@ -62467,7 +62467,7 @@ function g6({
|
|
|
62467
62467
|
}) {
|
|
62468
62468
|
const {
|
|
62469
62469
|
t: _
|
|
62470
|
-
} = es(), s = Se.useRef(), S = Se.useRef(), z = Se.useRef(), R = Se.useRef(), V = En(qD), Q = En(
|
|
62470
|
+
} = es(), s = Se.useRef(), S = Se.useRef(), z = Se.useRef(), R = Se.useRef(), V = En(qD), Q = En(v3), oe = En(Fc), ne = En(x3), ve = En(Bc), [Pe, pe] = Gn(DF), [te, ie] = Se.useState(), [, se] = Gn(C3), [Me, me] = Se.useState(!0), [Ie, Je] = Se.useState(!1), [$e, Oe] = Se.useState([]), [Qe, gt] = Se.useState(), [ft, qt] = Se.useState(), yt = En(jy), _t = Wm(), [Ft, bt] = Se.useState(!1), [It, ee] = Gn(Oy), [fe, T] = Se.useState(!1), P = En(b3), G = En(Hfe), [q, re, ge, xe] = _F(ft, Qe, V, It, yt), _e = En(d6);
|
|
62471
62471
|
function X(nt) {
|
|
62472
62472
|
return ne === Zo.Google && nt.properties.type === "google_places" ? Ufe(nt) : ne === Zo.Mapbox && nt.properties.type === "mapbox_places" ? $fe(nt, P) : Promise.resolve(nt);
|
|
62473
62473
|
}
|
|
@@ -62568,7 +62568,7 @@ function g6({
|
|
|
62568
62568
|
_("My position")
|
|
62569
62569
|
] }),
|
|
62570
62570
|
$e.length > 0 && /* @__PURE__ */ Ve.jsx("div", { className: "wayfinding__scrollable", ..._t, children: /* @__PURE__ */ Ve.jsxs("div", { className: "wayfinding__results", children: [
|
|
62571
|
-
$e.map((nt) => /* @__PURE__ */ Ve.jsx(
|
|
62571
|
+
$e.map((nt) => /* @__PURE__ */ Ve.jsx(k3, { icon: nt.properties.type === "google_places" || nt.properties.type === "mapbox_places" ? Qfe : void 0, location: nt, locationClicked: (Xt) => qe(Xt) }, nt.id)),
|
|
62572
62572
|
Ft && /* @__PURE__ */ Ve.jsx("img", { className: "wayfinding__google", alt: "Powered by Google", src: Ffe })
|
|
62573
62573
|
] }) }),
|
|
62574
62574
|
!Ie && !fe && ge && !Ft && ft && Qe && /* @__PURE__ */ Ve.jsxs("div", { className: "wayfinding__details", ref: S, children: [
|
|
@@ -62620,10 +62620,10 @@ function g6({
|
|
|
62620
62620
|
] })
|
|
62621
62621
|
] });
|
|
62622
62622
|
}
|
|
62623
|
-
const Yfe = (e) => /* @__PURE__ */ Se.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Se.createElement("path", { d: "M4 12H20M20 12L14 6M20 12L14 18", stroke: "#111827", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Gfe = (e) => /* @__PURE__ */ Se.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Se.createElement("path", { d: "M20 12H4M4 12L10 6M4 12L10 18", stroke: "#111827", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })),
|
|
62623
|
+
const Yfe = (e) => /* @__PURE__ */ Se.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Se.createElement("path", { d: "M4 12H20M20 12L14 6M20 12L14 18", stroke: "#111827", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Gfe = (e) => /* @__PURE__ */ Se.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Se.createElement("path", { d: "M20 12H4M4 12L10 6M4 12L10 18", stroke: "#111827", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), z3 = di({
|
|
62624
62624
|
key: "activeStep",
|
|
62625
62625
|
default: 0
|
|
62626
|
-
}),
|
|
62626
|
+
}), O3 = di({
|
|
62627
62627
|
key: "substepsToggled",
|
|
62628
62628
|
default: !1
|
|
62629
62629
|
}), Zfe = di({
|
|
@@ -62642,7 +62642,7 @@ const Yfe = (e) => /* @__PURE__ */ Se.createElement("svg", { width: 24, height:
|
|
|
62642
62642
|
directions: s
|
|
62643
62643
|
} = t, S = Se.useRef(), {
|
|
62644
62644
|
t: z
|
|
62645
|
-
} = es(), [R, V] = Gn(
|
|
62645
|
+
} = es(), [R, V] = Gn(O3), [, Q] = Gn(Zfe), oe = Ry();
|
|
62646
62646
|
Se.useImperativeHandle(n, () => ({
|
|
62647
62647
|
openSubsteps() {
|
|
62648
62648
|
S.current.openSubsteps();
|
|
@@ -62724,7 +62724,7 @@ function NF({
|
|
|
62724
62724
|
}) {
|
|
62725
62725
|
const {
|
|
62726
62726
|
t: d
|
|
62727
|
-
} = es(), _ = Wm(), s = Se.useRef(), [S, z] = Se.useState(), [R, V] = Gn(
|
|
62727
|
+
} = es(), _ = Wm(), s = Se.useRef(), [S, z] = Se.useState(), [R, V] = Gn(z3), [Q, oe] = Se.useState(), ne = En(zy), ve = En(O3), [, Pe] = Gn(AF), pe = Ry();
|
|
62728
62728
|
Se.useEffect(() => {
|
|
62729
62729
|
oe(e);
|
|
62730
62730
|
}, [e]), Se.useEffect(() => {
|
|
@@ -62769,7 +62769,7 @@ function y6({
|
|
|
62769
62769
|
}) {
|
|
62770
62770
|
const {
|
|
62771
62771
|
t: d
|
|
62772
|
-
} = es(), _ = Se.useRef(), [s, S] = Se.useState(null), z = Se.useRef(null), [R, V] = Se.useState(), Q = En(Ua), oe = En(Oy), ne = En(zy), [, ve] = Gn(
|
|
62772
|
+
} = es(), _ = Se.useRef(), [s, S] = Se.useState(null), z = Se.useRef(null), [R, V] = Se.useState(), Q = En(Ua), oe = En(Oy), ne = En(zy), [, ve] = Gn(z3), [Pe, pe] = Gn(O3), te = En(Vc), ie = Wl(), [, se] = Gn(L3), Me = En(AF), me = En(Bc), Ie = Ry(), Je = En(A3), $e = En(MF), Oe = En(Fc), Qe = En(x3);
|
|
62773
62773
|
Se.useEffect(() => () => {
|
|
62774
62774
|
S(null);
|
|
62775
62775
|
}, []), Se.useEffect(() => {
|
|
@@ -62905,7 +62905,7 @@ const kF = di({
|
|
|
62905
62905
|
zF.propTypes = {
|
|
62906
62906
|
searchInputElement: St.instanceOf(HTMLInputElement)
|
|
62907
62907
|
};
|
|
62908
|
-
const
|
|
62908
|
+
const j3 = di({
|
|
62909
62909
|
key: "searchResults",
|
|
62910
62910
|
default: []
|
|
62911
62911
|
}), _6 = di({
|
|
@@ -62951,7 +62951,7 @@ function kS({
|
|
|
62951
62951
|
handleBack: d,
|
|
62952
62952
|
selectedCategoriesArray: _
|
|
62953
62953
|
}) {
|
|
62954
|
-
const s = En(Ny), S = Wl(), [z, R] = Gn(_6), [, V] = Gn(
|
|
62954
|
+
const s = En(Ny), S = Wl(), [z, R] = Gn(_6), [, V] = Gn(j3), [, Q] = Gn(M3), oe = Wm(), [ne, ve] = Se.useState(), Pe = En(qfe), pe = En(OF), te = En(Ua), ie = vF(te, r), [se, Me] = Se.useState([]), [me, Ie] = Se.useState([]), {
|
|
62955
62955
|
t: Je
|
|
62956
62956
|
} = es();
|
|
62957
62957
|
function $e(Qe) {
|
|
@@ -63003,10 +63003,10 @@ const Xfe = (e) => /* @__PURE__ */ Se.createElement("svg", { width: 24, height:
|
|
|
63003
63003
|
stroke: "#111827",
|
|
63004
63004
|
stroke: "color(display-p3 0.0667 0.0941 0.1529)",
|
|
63005
63005
|
strokeOpacity: 1
|
|
63006
|
-
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })),
|
|
63006
|
+
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), R3 = di({
|
|
63007
63007
|
key: "isLegendDialogVisible",
|
|
63008
63008
|
default: !1
|
|
63009
|
-
}), jF =
|
|
63009
|
+
}), jF = g3({
|
|
63010
63010
|
key: "legendFields",
|
|
63011
63011
|
get: ({ get: e }) => {
|
|
63012
63012
|
const t = e(Vc);
|
|
@@ -63046,7 +63046,7 @@ function x6({
|
|
|
63046
63046
|
}) {
|
|
63047
63047
|
const {
|
|
63048
63048
|
t: n
|
|
63049
|
-
} = es(), r = Se.useRef(), a = Se.useRef(), d = Se.useRef(), _ = Se.useRef(), s = Se.useRef(), S = 100, [z, R] = Se.useState(!0), [V, Q] = Gn(
|
|
63049
|
+
} = es(), r = Se.useRef(), a = Se.useRef(), d = Se.useRef(), _ = Se.useRef(), s = Se.useRef(), S = 100, [z, R] = Se.useState(!0), [V, Q] = Gn(j3), oe = En(Ny), ne = En(kF), [ve, Pe] = Se.useState(!1), [pe, te] = Gn(_6), ie = Wm(), [se, Me] = Se.useState(), me = En(Ua), [, Ie] = Gn(M3), [, Je] = Gn(Fc), [, $e] = Gn(D3), [Oe, Qe] = Gn(Xd), gt = En(Jd), ft = Wl(), qt = En(Vc), [yt, _t] = Se.useState(!1), Ft = En(p6), bt = Ry(), [, It] = Gn(R3), [ee, fe] = Se.useState(!1), T = En(jF), P = En(N3), G = En(Ly), q = En(v6), [re, ge] = Se.useState(!1), xe = Se.useRef([]), [_e, X] = Se.useState([]);
|
|
63050
63050
|
function qe() {
|
|
63051
63051
|
var Mt, nt, Xt;
|
|
63052
63052
|
xe.current.length === 1 ? (te(null), Q([]), Ie([]), Ye(Li.FIT), ge(!0), ((nt = (Mt = _.current) == null ? void 0 : Mt.getValue()) == null ? void 0 : nt.trim()) ? _.current.triggerSearch() : (Xt = _.current) == null || Xt.clear(), xe.current.pop()) : (xe.current.pop(), te(xe.current[0]));
|
|
@@ -63220,7 +63220,7 @@ function x6({
|
|
|
63220
63220
|
] }),
|
|
63221
63221
|
V.length > 0 && /* @__PURE__ */ Ve.jsxs("div", { className: "search__results prevent-scroll", ...ie, children: [
|
|
63222
63222
|
pe && /* @__PURE__ */ Ve.jsx(kS, { handleBack: qe, getFilteredLocations: (Mt) => rt(Mt), onLocationClicked: zt, childKeys: _e, topLevelCategory: !1, selectedCategoriesArray: xe }),
|
|
63223
|
-
/* @__PURE__ */ Ve.jsx("div", { className: "search__results", children: V.map((Mt) => /* @__PURE__ */ Ve.jsx(
|
|
63223
|
+
/* @__PURE__ */ Ve.jsx("div", { className: "search__results", children: V.map((Mt) => /* @__PURE__ */ Ve.jsx(k3, { location: Mt, locationClicked: () => zt(Mt), isHovered: (Mt == null ? void 0 : Mt.id) === (se == null ? void 0 : se.id) }, Mt.id)) })
|
|
63224
63224
|
] }),
|
|
63225
63225
|
yt && ft && /* @__PURE__ */ Ve.jsx(zF, { ref: s, searchInputElement: Ft }),
|
|
63226
63226
|
t && bt && V.length > 0 && Zd.createPortal(/* @__PURE__ */ Ve.jsx("div", { className: "search__scroll-buttons", children: /* @__PURE__ */ Ve.jsx("mi-scroll-buttons", { ref: a }) }), document.querySelector(".mapsindoors-map"))
|
|
@@ -63255,7 +63255,7 @@ function b6({
|
|
|
63255
63255
|
] }),
|
|
63256
63256
|
/* @__PURE__ */ Ve.jsx("button", { className: "locations-list__close", onClick: () => e(), "aria-label": a("Close"), children: /* @__PURE__ */ Ve.jsx(ky, { "data-sentry-element": "CloseIcon", "data-sentry-source-file": "LocationsList.jsx" }) })
|
|
63257
63257
|
] }),
|
|
63258
|
-
/* @__PURE__ */ Ve.jsx("div", { className: "locations-list__scrollable prevent-scroll", ...d, children: /* @__PURE__ */ Ve.jsx("div", { className: "locations-list__list", children: n == null ? void 0 : n.map((s) => /* @__PURE__ */ Ve.jsx(
|
|
63258
|
+
/* @__PURE__ */ Ve.jsx("div", { className: "locations-list__scrollable prevent-scroll", ...d, children: /* @__PURE__ */ Ve.jsx("div", { className: "locations-list__list", children: n == null ? void 0 : n.map((s) => /* @__PURE__ */ Ve.jsx(k3, { location: s, locationClicked: (S) => t(S) }, s.id)) }) })
|
|
63259
63259
|
] });
|
|
63260
63260
|
}
|
|
63261
63261
|
RF.propTypes = {
|
|
@@ -63274,7 +63274,7 @@ function RF({
|
|
|
63274
63274
|
appViews: a,
|
|
63275
63275
|
onRouteFinished: d
|
|
63276
63276
|
}) {
|
|
63277
|
-
const _ = Se.useRef(), s = Se.useRef(), S = Se.useRef(), z = Se.useRef(), R = Se.useRef(), V = Se.useRef(), [Q, oe] = Gn(Fc), [ne, ve] = Se.useState(!1), [Pe, pe] = Gn(
|
|
63277
|
+
const _ = Se.useRef(), s = Se.useRef(), S = Se.useRef(), z = Se.useRef(), R = Se.useRef(), V = Se.useRef(), [Q, oe] = Gn(Fc), [ne, ve] = Se.useState(!1), [Pe, pe] = Gn(w3), [, te] = Gn(S3);
|
|
63278
63278
|
Se.useEffect(() => {
|
|
63279
63279
|
e && t && r === a.DIRECTIONS || (e && t || e ? n(a.WAYFINDING) : Q ? n(a.LOCATION_DETAILS, Q) : (Pe == null ? void 0 : Pe.length) > 1 ? n(a.EXTERNALIDS) : (Pe == null ? void 0 : Pe.length) === 1 ? (oe(Pe[0]), te(Pe[0].id)) : n(a.SEARCH));
|
|
63280
63280
|
}, [Q, e, t, Pe]), Se.useEffect(() => {
|
|
@@ -63324,7 +63324,7 @@ const Jfe = {
|
|
|
63324
63324
|
default: !1
|
|
63325
63325
|
});
|
|
63326
63326
|
function npe() {
|
|
63327
|
-
const e = En(v6), [, t] = Gn(Xd), n = co(
|
|
63327
|
+
const e = En(v6), [, t] = Gn(Xd), n = co(z3), r = co(Fc), a = co(zy), d = co(C3), _ = co(D3), s = co(Ay), S = co(tpe), z = co(O3), R = co(Oy), V = co(j3), Q = co(jy), oe = co(R3), ne = co(YU), ve = co(e6);
|
|
63328
63328
|
return () => {
|
|
63329
63329
|
n(), r(), a(), d(), _(), s(), S(), z(), R(), V(), Q(), oe(), ne(), ve(), e && t(e);
|
|
63330
63330
|
};
|
|
@@ -63371,7 +63371,7 @@ function PF({
|
|
|
63371
63371
|
appViews: a,
|
|
63372
63372
|
onRouteFinished: d
|
|
63373
63373
|
}) {
|
|
63374
|
-
const [_, s] = Gn(Fc), [S, z] = Gn(
|
|
63374
|
+
const [_, s] = Gn(Fc), [S, z] = Gn(w3), [, R] = Gn(S3), V = En(Vc);
|
|
63375
63375
|
Se.useEffect(() => {
|
|
63376
63376
|
e && t && r === a.DIRECTIONS || (e && t || e ? n(a.WAYFINDING) : _ ? n(a.LOCATION_DETAILS, _) : (S == null ? void 0 : S.length) > 1 ? n(a.EXTERNALIDS) : (S == null ? void 0 : S.length) === 1 ? (s(S[0]), R(S[0].id)) : n(a.SEARCH));
|
|
63377
63377
|
}, [_, e, t, S]);
|
|
@@ -63388,7 +63388,7 @@ function PF({
|
|
|
63388
63388
|
return /* @__PURE__ */ Ve.jsx("div", { "data-sentry-component": "Sidebar", "data-sentry-source-file": "Sidebar.jsx", children: ve });
|
|
63389
63389
|
}
|
|
63390
63390
|
const Vz = (e) => {
|
|
63391
|
-
const [t, n] = Se.useState(), r = En(
|
|
63391
|
+
const [t, n] = Se.useState(), r = En(v3), a = En(BU);
|
|
63392
63392
|
return Se.useEffect(() => {
|
|
63393
63393
|
a && e && (e === "USER_POSITION" && !r ? (n("USER_POSITION_PENDING"), a.watchPosition()) : e !== "USER_POSITION" && window.mapsindoors.services.LocationsService.getLocation(e).then((d) => n(d)), r && e === "USER_POSITION" && n(LS(r)));
|
|
63394
63394
|
}, [e, r, a]), t;
|
|
@@ -63478,7 +63478,7 @@ ya.isKanjiModeEnabled = function() {
|
|
|
63478
63478
|
ya.toSJIS = function(t) {
|
|
63479
63479
|
return M6(t);
|
|
63480
63480
|
};
|
|
63481
|
-
var
|
|
63481
|
+
var P3 = {};
|
|
63482
63482
|
(function(e) {
|
|
63483
63483
|
e.L = { bit: 1 }, e.M = { bit: 0 }, e.Q = { bit: 3 }, e.H = { bit: 2 };
|
|
63484
63484
|
function t(n) {
|
|
@@ -63512,7 +63512,7 @@ var Pw = {};
|
|
|
63512
63512
|
return a;
|
|
63513
63513
|
}
|
|
63514
63514
|
};
|
|
63515
|
-
})(
|
|
63515
|
+
})(P3);
|
|
63516
63516
|
function UF() {
|
|
63517
63517
|
this.buffer = [], this.length = 0;
|
|
63518
63518
|
}
|
|
@@ -63682,8 +63682,8 @@ var $F = {};
|
|
|
63682
63682
|
return s;
|
|
63683
63683
|
};
|
|
63684
63684
|
})($F);
|
|
63685
|
-
var
|
|
63686
|
-
const Ju =
|
|
63685
|
+
var B3 = {};
|
|
63686
|
+
const Ju = P3, px = [
|
|
63687
63687
|
// L M Q H
|
|
63688
63688
|
1,
|
|
63689
63689
|
1,
|
|
@@ -64008,7 +64008,7 @@ const Ju = Pw, px = [
|
|
|
64008
64008
|
2040,
|
|
64009
64009
|
2430
|
|
64010
64010
|
];
|
|
64011
|
-
|
|
64011
|
+
B3.getBlocksCount = function(t, n) {
|
|
64012
64012
|
switch (n) {
|
|
64013
64013
|
case Ju.L:
|
|
64014
64014
|
return px[(t - 1) * 4 + 0];
|
|
@@ -64022,7 +64022,7 @@ Bw.getBlocksCount = function(t, n) {
|
|
|
64022
64022
|
return;
|
|
64023
64023
|
}
|
|
64024
64024
|
};
|
|
64025
|
-
|
|
64025
|
+
B3.getTotalCodewordsCount = function(t, n) {
|
|
64026
64026
|
switch (n) {
|
|
64027
64027
|
case Ju.L:
|
|
64028
64028
|
return mx[(t - 1) * 4 + 0];
|
|
@@ -64036,7 +64036,7 @@ Bw.getTotalCodewordsCount = function(t, n) {
|
|
|
64036
64036
|
return;
|
|
64037
64037
|
}
|
|
64038
64038
|
};
|
|
64039
|
-
var HF = {},
|
|
64039
|
+
var HF = {}, U3 = {};
|
|
64040
64040
|
const A1 = new Uint8Array(512), Tb = new Uint8Array(256);
|
|
64041
64041
|
(function() {
|
|
64042
64042
|
let t = 1;
|
|
@@ -64045,19 +64045,19 @@ const A1 = new Uint8Array(512), Tb = new Uint8Array(256);
|
|
|
64045
64045
|
for (let n = 255; n < 512; n++)
|
|
64046
64046
|
A1[n] = A1[n - 255];
|
|
64047
64047
|
})();
|
|
64048
|
-
|
|
64048
|
+
U3.log = function(t) {
|
|
64049
64049
|
if (t < 1)
|
|
64050
64050
|
throw new Error("log(" + t + ")");
|
|
64051
64051
|
return Tb[t];
|
|
64052
64052
|
};
|
|
64053
|
-
|
|
64053
|
+
U3.exp = function(t) {
|
|
64054
64054
|
return A1[t];
|
|
64055
64055
|
};
|
|
64056
|
-
|
|
64056
|
+
U3.mul = function(t, n) {
|
|
64057
64057
|
return t === 0 || n === 0 ? 0 : A1[Tb[t] + Tb[n]];
|
|
64058
64058
|
};
|
|
64059
64059
|
(function(e) {
|
|
64060
|
-
const t =
|
|
64060
|
+
const t = U3;
|
|
64061
64061
|
e.mul = function(r, a) {
|
|
64062
64062
|
const d = new Uint8Array(r.length + a.length - 1);
|
|
64063
64063
|
for (let _ = 0; _ < r.length; _++)
|
|
@@ -64189,7 +64189,7 @@ ql.testAlphanumeric = function(t) {
|
|
|
64189
64189
|
};
|
|
64190
64190
|
})(Sh);
|
|
64191
64191
|
(function(e) {
|
|
64192
|
-
const t = ya, n =
|
|
64192
|
+
const t = ya, n = B3, r = P3, a = Sh, d = I6, _ = 1 << 12 | 1 << 11 | 1 << 10 | 1 << 9 | 1 << 8 | 1 << 5 | 1 << 2 | 1 << 0, s = t.getBCHDigit(_);
|
|
64193
64193
|
function S(Q, oe, ne) {
|
|
64194
64194
|
for (let ve = 1; ve <= 40; ve++)
|
|
64195
64195
|
if (oe <= e.getCapacity(ve, ne, Q))
|
|
@@ -64622,7 +64622,7 @@ var Dpe = KF.exports;
|
|
|
64622
64622
|
);
|
|
64623
64623
|
};
|
|
64624
64624
|
})(qF);
|
|
64625
|
-
const
|
|
64625
|
+
const F3 = ya, A5 = P3, Cpe = ape, Ape = lpe, Npe = FF, Lpe = VF, OS = $F, jS = B3, kpe = upe, Eb = YF, zpe = ZF, Ope = Sh, N5 = qF;
|
|
64626
64626
|
function jpe(e, t) {
|
|
64627
64627
|
const n = e.size, r = Lpe.getPositions(t);
|
|
64628
64628
|
for (let a = 0; a < r.length; a++) {
|
|
@@ -64683,7 +64683,7 @@ function Fpe(e, t, n) {
|
|
|
64683
64683
|
n.forEach(function(S) {
|
|
64684
64684
|
r.put(S.mode.bit, 4), r.put(S.getLength(), Ope.getCharCountIndicator(S.mode, e)), S.write(r);
|
|
64685
64685
|
});
|
|
64686
|
-
const a =
|
|
64686
|
+
const a = F3.getSymbolTotalCodewords(e), d = jS.getTotalCodewordsCount(e, t), _ = (a - d) * 8;
|
|
64687
64687
|
for (r.getLengthInBits() + 4 <= _ && r.put(0, 4); r.getLengthInBits() % 8 !== 0; )
|
|
64688
64688
|
r.putBit(0);
|
|
64689
64689
|
const s = (_ - r.getLengthInBits()) / 8;
|
|
@@ -64692,7 +64692,7 @@ function Fpe(e, t, n) {
|
|
|
64692
64692
|
return Vpe(r, e, t);
|
|
64693
64693
|
}
|
|
64694
64694
|
function Vpe(e, t, n) {
|
|
64695
|
-
const r =
|
|
64695
|
+
const r = F3.getSymbolTotalCodewords(t), a = jS.getTotalCodewordsCount(t, n), d = r - a, _ = jS.getBlocksCount(t, n), s = r % _, S = _ - s, z = Math.floor(r / _), R = Math.floor(d / _), V = R + 1, Q = z - R, oe = new kpe(Q);
|
|
64696
64696
|
let ne = 0;
|
|
64697
64697
|
const ve = new Array(_), Pe = new Array(_);
|
|
64698
64698
|
let pe = 0;
|
|
@@ -64736,7 +64736,7 @@ The chosen QR Code version cannot contain this amount of data.
|
|
|
64736
64736
|
Minimum version required to store current data is: ` + d + `.
|
|
64737
64737
|
`
|
|
64738
64738
|
);
|
|
64739
|
-
const _ = Fpe(t, n, a), s =
|
|
64739
|
+
const _ = Fpe(t, n, a), s = F3.getSymbolSize(t), S = new Ape(s);
|
|
64740
64740
|
return jpe(S, t), Rpe(S), Ppe(S, t), L5(S, n, 0), t >= 7 && Bpe(S, t), Upe(S, _), isNaN(r) && (r = OS.getBestMask(
|
|
64741
64741
|
S,
|
|
64742
64742
|
L5.bind(null, S, n)
|
|
@@ -64752,7 +64752,7 @@ BF.create = function(t, n) {
|
|
|
64752
64752
|
if (typeof t > "u" || t === "")
|
|
64753
64753
|
throw new Error("No input text");
|
|
64754
64754
|
let r = A5.M, a, d;
|
|
64755
|
-
return typeof n < "u" && (r = A5.from(n.errorCorrectionLevel, A5.M), a = Eb.from(n.version), d = OS.from(n.maskPattern), n.toSJISFunc &&
|
|
64755
|
+
return typeof n < "u" && (r = A5.from(n.errorCorrectionLevel, A5.M), a = Eb.from(n.version), d = OS.from(n.maskPattern), n.toSJISFunc && F3.setToSJISFunction(n.toSJISFunc)), $pe(t, a, r, d);
|
|
64756
64756
|
};
|
|
64757
64757
|
var XF = {}, S6 = {};
|
|
64758
64758
|
(function(e) {
|
|
@@ -64890,7 +64890,7 @@ Py.toString = T6.bind(null, function(e, t, n) {
|
|
|
64890
64890
|
function Zpe() {
|
|
64891
64891
|
const {
|
|
64892
64892
|
t: e
|
|
64893
|
-
} = es(), [t, n] = Gn(
|
|
64893
|
+
} = es(), [t, n] = Gn(L3), r = Se.useRef(), a = En(Bc);
|
|
64894
64894
|
return Se.useEffect(() => {
|
|
64895
64895
|
const d = {
|
|
64896
64896
|
errorCorrectionLevel: "L",
|
|
@@ -64918,7 +64918,7 @@ const Wpe = di({
|
|
|
64918
64918
|
function qpe() {
|
|
64919
64919
|
const {
|
|
64920
64920
|
t: e
|
|
64921
|
-
} = es(), t = En(Bc), n = En(jF), r = Ry(), a = Se.useRef(), d = Se.useRef(), _ = Se.useRef(), [s, S] = Gn(
|
|
64921
|
+
} = es(), t = En(Bc), n = En(jF), r = Ry(), a = Se.useRef(), d = Se.useRef(), _ = Se.useRef(), [s, S] = Gn(R3), [z, R] = Se.useState(!1), V = Se.useRef();
|
|
64922
64922
|
let Q = 700;
|
|
64923
64923
|
return Se.useEffect(() => {
|
|
64924
64924
|
s && r && R(V.current.clientHeight > Q);
|
|
@@ -64945,7 +64945,7 @@ function qpe() {
|
|
|
64945
64945
|
] });
|
|
64946
64946
|
}
|
|
64947
64947
|
const Kpe = () => {
|
|
64948
|
-
const [e, t] = Gn(Xd), n = En(Ly), r = En(Ua), a = En(c6), [, d] = Gn(Ny), [, _] = Gn(
|
|
64948
|
+
const [e, t] = Gn(Xd), n = En(Ly), r = En(Ua), a = En(c6), [, d] = Gn(Ny), [, _] = Gn(j3), s = En(p6), [S, z] = Gn(v6);
|
|
64949
64949
|
Se.useEffect(() => {
|
|
64950
64950
|
var Q;
|
|
64951
64951
|
!e && n.length && t((Q = R()) == null ? void 0 : Q.name);
|
|
@@ -64988,7 +64988,7 @@ const Kpe = () => {
|
|
|
64988
64988
|
default: !0
|
|
64989
64989
|
});
|
|
64990
64990
|
function Jpe() {
|
|
64991
|
-
const e = co(
|
|
64991
|
+
const e = co(z3), t = co(Fc), n = co(zy), r = co(C3), a = co(D3), d = co(Ay), _ = co(Oy), s = co(jy);
|
|
64992
64992
|
return () => {
|
|
64993
64993
|
e(), t(), n(), r(), a(), d(), _(), s();
|
|
64994
64994
|
};
|
|
@@ -65064,7 +65064,7 @@ function tV({
|
|
|
65064
65064
|
}) {
|
|
65065
65065
|
const [_t, Ft] = Se.useState(!1), [bt, It] = Se.useState({
|
|
65066
65066
|
brandingColor: d
|
|
65067
|
-
}), [, ee] = Gn(KD), [, fe] = Gn(XD), [, T] = Gn(
|
|
65067
|
+
}), [, ee] = Gn(KD), [, fe] = Gn(XD), [, T] = Gn(b3), [P, G] = Gn(T3), [q, re] = Gn(Ly), [ge, xe] = Gn(Fc), _e = En(Ny), [, X] = Gn(S3), [qe, rt] = Gn(Bc), [, Ye] = Gn(u6), [, Ce] = Gn(ipe), Ge = En(Ua), [ot, vt] = Gn(Jd), [, ut] = Gn(Vc), [, zt] = Gn(FU), [, Bt] = Gn($U), Ht = HU(), [, Kt] = Gn(IF), [, Mt] = Gn(kF), [, nt] = Gn(Wpe), [, Xt] = Gn(_6), [, an] = Gn(N3), [, xn] = Gn(OF), [, Zn] = Gn(sF), [, Ln] = Gn(A3), [, Rn] = Gn(Xpe), [, pi] = Gn(d6), [, ni] = Gn(GU), [Bn, ci] = Se.useState(), Et = Se.useRef(), [, mt] = Gn(DF), en = En(L3), [Pt, Jt] = Se.useState(!0), [cn, fn] = Se.useState(!0), Nn = Vz(S), qn = Vz(z), [Un, ti] = Se.useState(!1), [, Mi] = Gn(w3), [pt, ue] = Gn(M3), [be, ze] = Se.useState(), [ke, Fe] = Gn(c6), [, at] = Gn(UU), [, At] = Gn(PU), [, ct] = Gn(VU), [, Dt] = Gn(JD), [, Lt] = Gn(I3), Nt = Wl(), Gt = QU("(max-width: 991px)"), on = npe(), [pn, Yt, nn, hn, vn, In] = epe(), [yn, On] = Se.useState(!1), bn = En(R3), [Mn, Pn] = Se.useState(0), [Xn, mi] = Kpe(), er = Jpe(), [, vo] = Gn(Ay);
|
|
65068
65068
|
function tr() {
|
|
65069
65069
|
return new Promise(($n) => {
|
|
65070
65070
|
if (window.mapsindoors !== void 0)
|
|
@@ -66187,7 +66187,7 @@ function Eme(e) {
|
|
|
66187
66187
|
function vx(e) {
|
|
66188
66188
|
return e == null;
|
|
66189
66189
|
}
|
|
66190
|
-
function
|
|
66190
|
+
function V3() {
|
|
66191
66191
|
return !!(navigator.userAgent.match(/Trident/g) || navigator.userAgent.match(/MSIE/g));
|
|
66192
66192
|
}
|
|
66193
66193
|
function Dme(e) {
|
|
@@ -75229,7 +75229,7 @@ var WT;
|
|
|
75229
75229
|
})(WT || (WT = {}));
|
|
75230
75230
|
const Pve = 'a.mi-button{cursor:default}.mi-button{border-radius:4px;border-width:1px;border-style:solid;font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:500;padding-left:16px;padding-right:16px;padding-top:12px;padding-bottom:12px;display:inline-flex;align-items:center}.mi-button:disabled{opacity:0.48;cursor:not-allowed}.mi-button object{filter:invert(9%) sepia(13%) saturate(692%) hue-rotate(185deg) brightness(98%) contrast(91%);width:16px;height:16px}.mi-button--small{padding-left:12px;padding-right:12px;padding-top:8px;padding-bottom:8px;font-size:0.875rem;height:32px}.mi-button--small object{width:16px;height:16px}.mi-button--large{padding-left:16px;padding-right:16px;font-size:1.25rem}.mi-button--large object{width:20px;height:20px}.mi-button--full-width{width:100%;justify-content:center}.mi-button--icon-left{padding-left:12px}.mi-button--icon-left object{margin-right:8px}.mi-button--icon-right{padding-right:12px}.mi-button--icon-right object{margin-left:8px}.mi-button--icon-both{padding-top:12px;padding-bottom:12px}.mi-button--icon-both object:first-of-type{margin-right:8px}.mi-button--icon-both object:last-of-type{margin-left:8px}.mi-button--base{background:linear-gradient(#f5f7fa, #ebeff5);color:#1e2025;border-color:#c8d0e0}.mi-button--base:not(:disabled):hover{background:linear-gradient(#ebeff5, #dee3ed);border-color:#aeb9cb}.mi-button--base:not(:disabled):active{background:linear-gradient(#dee3ed, #ebeff5)}.mi-button--primary{color:#ffffff;border-color:#20693e;background:linear-gradient(#3ba064, #2a844e)}.mi-button--primary object{filter:invert(100%) sepia(93%) saturate(0%) hue-rotate(201deg) brightness(106%) contrast(106%)}.mi-button--primary:not(:disabled):hover{background:linear-gradient(#2a844e, #20693e)}.mi-button--primary:not(:disabled):active{background:linear-gradient(#20693e, #2a844e)}.mi-button--delete{background:linear-gradient(#f55151, #de1b1b);color:#ffffff;border-color:#ba0d0d}.mi-button--delete object{filter:invert(100%) sepia(93%) saturate(0%) hue-rotate(201deg) brightness(106%) contrast(106%)}.mi-button--delete:not(:disabled):hover{background:linear-gradient(#de1b1b, #ba0d0d)}.mi-button--delete:not(:disabled):active{background:linear-gradient(#ba0d0d, #de1b1b)}.mi-button--outline{color:#3071d9;border-color:#3071d9;background-color:transparent}.mi-button--outline object{filter:invert(38%) sepia(97%) saturate(742%) hue-rotate(188deg) brightness(86%) contrast(97%)}.mi-button--outline:not(:disabled):hover{color:#1d5bbf;border-color:#1d5bbf;background-color:#eef4fc}.mi-button--outline:not(:disabled):active{color:#1d5bbf;border-color:#1d5bbf;background-color:#cfe0fc}.mi-button--link{color:#3071d9;border-style:none;background-color:transparent;cursor:pointer}.mi-button--link object{filter:invert(38%) sepia(97%) saturate(742%) hue-rotate(188deg) brightness(86%) contrast(97%)}.mi-button--link:not(:disabled):hover{color:#1d5bbf;border-color:#1d5bbf;background-color:#eef4fc}.mi-button--link:disabled:hover{cursor:not-allowed}.mi-button--link:not(:disabled):active{color:#1d5bbf;border-color:#1d5bbf;background-color:#cfe0fc}:host{display:block;box-sizing:border-box}ul{list-style:none;padding-left:0}li{font-size:1.25rem;margin-top:12px;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}.booking-icon{width:16px;height:16px;margin-right:4px;background-color:white}.booking-icon--blocked{background-color:rgba(0, 0, 0, 0.247);}', DV = class {
|
|
75231
75231
|
constructor(e) {
|
|
75232
|
-
ar(this, e), this.bookingCompleted = Tr(this, "bookingCompleted", 7), this.bookingFailed = Tr(this, "bookingFailed", 7), this.cancelCompleted = Tr(this, "cancelCompleted", 7), this.cancelFailed = Tr(this, "cancelFailed", 7), this.isInternetExplorer =
|
|
75232
|
+
ar(this, e), this.bookingCompleted = Tr(this, "bookingCompleted", 7), this.bookingFailed = Tr(this, "bookingFailed", 7), this.cancelCompleted = Tr(this, "cancelCompleted", 7), this.cancelFailed = Tr(this, "cancelFailed", 7), this.isInternetExplorer = V3(), this.location = void 0, this.duration = WT.min30, this.translations = {
|
|
75233
75233
|
book: "Book",
|
|
75234
75234
|
cancel: "Cancel",
|
|
75235
75235
|
booked: "Booked"
|
|
@@ -76995,7 +76995,7 @@ const wxe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76995
76995
|
mi_route_instructions_maneuver: BV
|
|
76996
76996
|
}, Symbol.toStringTag, { value: "Module" })), Ixe = ':host{display:block;font-family:Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.step{display:grid;grid-template-columns:40px 1fr 40px;grid-template-areas:"actionicon heading heading" "modeicon description toggle" "modeicon substeps substeps"}.step__action-icon{-ms-grid-row:1;-ms-grid-column:1;display:flex;justify-content:center;align-items:center;grid-area:actionicon}.step__action-icon--circled{position:relative}.step__action-icon--circled::before{position:absolute;width:24px;height:24px;border:1px solid #1c1917;content:"";border-radius:50%}.step__action-icon mi-icon{display:block;width:12px;height:12px}.step__heading{-ms-grid-row:1;-ms-grid-column:2;-ms-grid-column-span:2;grid-area:heading;font-size:1rem;margin:0;border-bottom:1px solid #DCDCDF;border-top:1px solid #DCDCDF;padding:12px}.step__heading>span{font-size:0.875rem;color:#6b7280}.step__travel-mode{-ms-grid-row:2;-ms-grid-row-span:2;-ms-grid-column:1;grid-area:modeicon;display:flex;justify-content:center;align-items:center;position:relative;min-height:72px}.step__travel-mode::before{position:absolute;width:calc(50% - 2px);left:0;height:100%;content:""}.step__travel-mode--dotted::before{border-right:4px dotted #bfdbfe}.step__travel-mode--solid::before{border-right:4px solid #bfdbfe}.step__travel-mode-icon{position:absolute;left:50%;top:24px;transform:translateX(-50%);background-color:#fcfcfc;padding:3px;border-radius:4px}.step__travel-mode-icon mi-icon{width:16px;height:16px;background-color:#6b7280;display:block}.step__description{-ms-grid-row:2;-ms-grid-column:2;grid-area:description;padding:12px}.step__short-name{margin-right:4px;padding:2px 4px;font-size:0.875rem;color:#fcfcfc;background-color:#6b7280;border-radius:2px}.step__distance-duration{color:#6b7280;font-size:0.875rem}.step__toggle{-ms-grid-row:2;-ms-grid-column:3;grid-area:toggle;display:flex;justify-content:center;align-items:center;transition:transform 300ms;cursor:pointer}.step__toggle--open{transform:rotate(180deg)}.step__toggle mi-icon{width:16px;height:16px;display:block;background-color:#3b82f6}.step__substeps{-ms-grid-row:3;-ms-grid-column:2;-ms-grid-column-span:2;grid-area:substeps}', UV = class {
|
|
76997
76997
|
constructor(e) {
|
|
76998
|
-
ar(this, e), this.stepClicked = Tr(this, "stepClicked", 7), this.isInternetExplorer =
|
|
76998
|
+
ar(this, e), this.stepClicked = Tr(this, "stepClicked", 7), this.isInternetExplorer = V3(), this.step = void 0, this.stepData = void 0, this.hideIndoorSubsteps = !0, this.fromRouteContext = "", this.fromTravelMode = void 0, this.fromTransitStop = void 0, this.unit = Oa.Metric, this.translations = void 0, this.translationsData = void 0, this.substepsAreOpen = !1;
|
|
76999
76999
|
}
|
|
77000
77000
|
parseStepProp() {
|
|
77001
77001
|
this.step && (this.stepData = JSON.parse(this.step));
|
|
@@ -77191,7 +77191,7 @@ const Sxe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
77191
77191
|
mi_route_instructions_step_legacy: UV
|
|
77192
77192
|
}, Symbol.toStringTag, { value: "Module" })), Txe = ':host{display:block;font-family:Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.step{display:grid;gap:16px;justify-items:center}.step__info{display:grid;grid-auto-flow:column;align-items:center;justify-content:space-between;width:100%;position:sticky;top:50px;background:white;z-index:1000;padding-bottom:8px}.step__destination{display:grid;gap:8px;align-items:center;justify-content:center;grid-auto-flow:column}.step__heading{font-weight:500;font-size:1.25rem;margin:0}.step__heading>span{font-size:0.875rem;color:#6b7280}.step__travel-mode{display:flex;justify-content:center;align-items:center;position:relative;min-height:72px}.step__travel-mode::before{position:absolute;width:calc(50% - 2px);left:0;height:100%;content:""}.step__travel-mode--dotted::before{border-right:4px dotted #bfdbfe}.step__travel-mode--solid::before{border-right:4px solid #bfdbfe}.step__travel-mode-icon{position:absolute;left:50%;top:24px;transform:translateX(-50%);background-color:#fcfcfc;padding:3px;border-radius:4px}.step__travel-mode-icon mi-icon{width:16px;height:16px;background-color:#6b7280;display:block}.step__short-name{margin-right:4px;padding:2px 4px;font-size:0.875rem;color:#fcfcfc;background-color:#6b7280;border-radius:2px}.step__distance-duration{color:#6b7280;font-size:0.875rem}.step__toggle{display:grid;justify-content:center}.step__toggle mi-icon{width:24px;height:24px;display:block}.step__details{display:grid;gap:24px;width:100%}', FV = class {
|
|
77193
77193
|
constructor(e) {
|
|
77194
|
-
ar(this, e), this.stepClicked = Tr(this, "stepClicked", 7), this.substepsToggled = Tr(this, "substepsToggled", 7), this.isInternetExplorer =
|
|
77194
|
+
ar(this, e), this.stepClicked = Tr(this, "stepClicked", 7), this.substepsToggled = Tr(this, "substepsToggled", 7), this.isInternetExplorer = V3(), this.step = void 0, this.stepData = void 0, this.hideIndoorSubsteps = !0, this.fromRouteContext = "", this.fromTravelMode = void 0, this.fromTransitStop = void 0, this.unit = navigator.language === "en-US" ? Oa.Imperial : Oa.Metric, this.showToggleButton = !0, this.translations = void 0, this.translationsData = void 0, this.substepsAreOpen = !1;
|
|
77195
77195
|
}
|
|
77196
77196
|
parseStepProp() {
|
|
77197
77197
|
this.step && (this.stepData = JSON.parse(this.step));
|
|
@@ -77542,7 +77542,7 @@ const Exe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
77542
77542
|
* @returns {JSX.Element}
|
|
77543
77543
|
*/
|
|
77544
77544
|
renderDestination() {
|
|
77545
|
-
return st("div", { class: "instructions-destination" }, st("div", { class: "instructions-destination-icon" },
|
|
77545
|
+
return st("div", { class: "instructions-destination" }, st("div", { class: "instructions-destination-icon" }, V3() ? null : st("mi-icon", { "icon-name": "marker" })), st("div", { part: "instructions-destination", class: "instructions-destination-details" }, this.destinationLocation ? this.destinationLocation.properties.name : this.destinationName, this.destinationLocation ? st("mi-location-info", { part: "instructions-destination-info", location: this.destinationLocation }) : null));
|
|
77546
77546
|
}
|
|
77547
77547
|
};
|
|
77548
77548
|
VV.style = Dxe;
|