@expofp/floorplan 0.0.0-experimental.2d6c681 → 0.0.0-experimental.6dabc65
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/browser/{CookieConsent-BIsWzAiP.js → CookieConsent-DYjf8elV.js} +1 -1
- package/dist/browser/{Debug-B5mmo0ZX.js → Debug-CK-BLY-v.js} +1 -1
- package/dist/browser/{Demo-B2klxORi.js → Demo-B677YULI.js} +1 -1
- package/dist/browser/{Free-suULW-LU.js → Free-B_nU7Krr.js} +1 -1
- package/dist/browser/{GalleryContainer-BGBNGRKU.js → GalleryContainer-DcZrZnJz.js} +2 -2
- package/dist/browser/{GpsLoader-Idv0kq5D.js → GpsLoader-D9ghVrHk.js} +5 -5
- package/dist/browser/{KioskStore-Dg9jaX5d.js → KioskStore-BY2LVJPr.js} +4 -4
- package/dist/browser/{LayerStore-CK6wLW56.js → LayerStore-Cdwr6Hsw.js} +5 -5
- package/dist/browser/{MaplibreAdapter-uZUhZfFW.js → MaplibreAdapter-aWJl2IuA.js} +58 -59
- package/dist/browser/{ModalContainer-DWm8vEaI.js → ModalContainer-DnZxo0qA.js} +1 -1
- package/dist/browser/{RouteStore-NE2I9tiF.js → RouteStore-DTRRmaH_.js} +1552 -740
- package/dist/browser/{SetKioskMode-Dwlf5w7q.js → SetKioskMode-KMjCaliE.js} +2 -2
- package/dist/browser/{ShowKiosk-Cr-QmIUT.js → ShowKiosk-C_gEEGg7.js} +3 -3
- package/dist/browser/{ViewerMenuPanel-CTAjGsq2.js → ViewerMenuPanel-CbkSUP3L.js} +3 -3
- package/dist/browser/bundle.json +31 -34
- package/dist/browser/{components-BjEhhgf2.js → components-DRXsdUhs.js} +727 -727
- package/dist/browser/{create-live-plan-BaEGBhGA.js → create-live-plan-DnaL_dh7.js} +386 -725
- package/dist/browser/{floorplan.loader-CGzIMplb.js → floorplan.loader-151P9pJo.js} +6 -6
- package/dist/browser/{floorplan.ready-r96zV9bP.js → floorplan.ready-CCnzh5dy.js} +470 -378
- package/dist/browser/{i18n-BgFBhYOU.js → i18n-DRDvImjG.js} +7 -2
- package/dist/browser/index.js +8 -8
- package/dist/browser/{venue-public-BA3x-n4N.js → init-ui-DsRfN2rh.js} +8 -18
- package/dist/browser/{integrateKiosk-D45vYRsm.js → integrateKiosk-w_EetoNQ.js} +1 -1
- package/dist/browser/{is-debug-BRHdrnKr.js → is-debug-6YYr83sg.js} +2 -2
- package/dist/browser/{journey-plan-DtL28HMP.js → journey-plan-CEf1fFZz.js} +16 -16
- package/dist/browser/{kiosk-mode-DfkGlDkT.js → kiosk-mode-Ck1FQGr9.js} +2 -2
- package/dist/browser/{kioskUrlParam-CnYhnC_7.js → kioskUrlParam-BinDd3Gf.js} +1 -1
- package/dist/browser/{loadImage-DzSnRAxX.js → loadImage-CenmkrfL.js} +1 -1
- package/dist/browser/{logDeviceInfo-BTqyv9Xe.js → logDeviceInfo-OsKRXOu4.js} +4 -4
- package/dist/browser/{debounce-raMZ2DqK.js → venue-selection-DLUrexiA.js} +8 -18
- package/dist/browser/{viewport-B7plho3P.js → viewport-CBi835qx.js} +1 -1
- package/dist/esm/floorplan.ready.js +10 -0
- package/dist/esm/store/RouteStore.d.ts +10 -0
- package/dist/esm/store/RouteStore.js +48 -16
- package/dist/esm/store/VenueStore.d.ts +7 -0
- package/dist/esm/store/VenueStore.js +9 -0
- package/dist/esm/tools/sdk-telemetry.d.ts +10 -0
- package/dist/esm/tools/sdk-telemetry.js +122 -0
- package/dist/esm/tools/settings.js +1 -1
- package/package.json +10 -10
- package/dist/browser/venues-DKpIy-87.js +0 -447
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
4
|
e.SENTRY_RELEASE = { id: "3.45.6" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "18c66287-8236-45af-a61d-489d7438c23a", e._sentryDebugIdIdentifier = "sentry-dbid-18c66287-8236-45af-a61d-489d7438c23a");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
9
|
import { r as e, t } from "./rolldown-runtime-DUb2xvRc.js";
|
|
@@ -3826,7 +3826,9 @@ var rs = U({
|
|
|
3826
3826
|
customSetKiosk: L().optional(),
|
|
3827
3827
|
hideBoothBadges: B().optional(),
|
|
3828
3828
|
crossVenueJourneys: B().optional(),
|
|
3829
|
-
busRoutes: B().optional()
|
|
3829
|
+
busRoutes: B().optional(),
|
|
3830
|
+
ignoreUnknownFloorIndex: B().optional(),
|
|
3831
|
+
sdkTelemetry: B().optional()
|
|
3830
3832
|
}), _s = U({
|
|
3831
3833
|
styleUrl: L(),
|
|
3832
3834
|
style: $a(),
|
|
@@ -4317,6 +4319,7 @@ var ic = U({
|
|
|
4317
4319
|
enableExperimentalOutdoorMarkers: !0,
|
|
4318
4320
|
enableExperimentalVenueFraming: !0,
|
|
4319
4321
|
enableExperimentalNorthUp: !0,
|
|
4322
|
+
sdkTelemetry: !0,
|
|
4320
4323
|
debugMode: !0,
|
|
4321
4324
|
debugPattern: !0,
|
|
4322
4325
|
showDebugButton: !0,
|
|
@@ -4407,6 +4410,8 @@ var ic = U({
|
|
|
4407
4410
|
hideBoothBadges: !1,
|
|
4408
4411
|
crossVenueJourneys: !0,
|
|
4409
4412
|
busRoutes: !1,
|
|
4413
|
+
ignoreUnknownFloorIndex: !1,
|
|
4414
|
+
sdkTelemetry: !1,
|
|
4410
4415
|
debugMode: !1,
|
|
4411
4416
|
debugPattern: "",
|
|
4412
4417
|
showDebugButton: !1,
|
package/dist/browser/index.js
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
4
|
e.SENTRY_RELEASE = { id: "3.45.6" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "6e6f8d32-30d8-4519-8465-479344fc21f4", e._sentryDebugIdIdentifier = "sentry-dbid-6e6f8d32-30d8-4519-8465-479344fc21f4");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
9
|
import { r as e } from "./rolldown-runtime-DUb2xvRc.js";
|
|
10
|
-
import { c as t, o as n, s as r, t as i } from "./floorplan.loader-
|
|
11
|
-
import { A as a, B as o, G as s, H as c, Mt as l, U as u, it as d, l as f, lt as p, z as m } from "./i18n-
|
|
10
|
+
import { c as t, o as n, s as r, t as i } from "./floorplan.loader-151P9pJo.js";
|
|
11
|
+
import { A as a, B as o, G as s, H as c, Mt as l, U as u, it as d, l as f, lt as p, z as m } from "./i18n-DRDvImjG.js";
|
|
12
12
|
import { o as h, s as g } from "./efp-debug-init-CozbueIl.js";
|
|
13
13
|
import { r as _ } from "./adopt-global-settings-U-KbyxMd.js";
|
|
14
14
|
import "./settings-D74eG9h8.js";
|
|
15
|
-
import { a as v, m as y, n as b, r as x } from "./is-debug-
|
|
15
|
+
import { a as v, m as y, n as b, r as x } from "./is-debug-6YYr83sg.js";
|
|
16
16
|
import { n as S, t as C } from "./is-own-domain-DNvxb9Ph.js";
|
|
17
17
|
import { n as w, t as T } from "./event-head-C_inMpbD.js";
|
|
18
18
|
//#region src/tools/report-error.ts
|
|
@@ -113,9 +113,9 @@ function M() {
|
|
|
113
113
|
function N() {
|
|
114
114
|
let e = {
|
|
115
115
|
version: "3.45.6",
|
|
116
|
-
commit: "
|
|
117
|
-
branch: "feat/
|
|
118
|
-
built: "2026-
|
|
116
|
+
commit: "6dabc65",
|
|
117
|
+
branch: "feat/ignore-current-position-z",
|
|
118
|
+
built: "2026-11-10T10:30:11.177Z"
|
|
119
119
|
};
|
|
120
120
|
if (e) {
|
|
121
121
|
let t = new Date(e.built);
|
|
@@ -152,7 +152,7 @@ async function L(e, t = {}) {
|
|
|
152
152
|
}
|
|
153
153
|
async function R(e, r = {}) {
|
|
154
154
|
var a, o;
|
|
155
|
-
window.addEventListener("error", D), v(() => window.removeEventListener("error", D)), M(), N(), (0, j.default)("efp:device").enabled && import("./logDeviceInfo-
|
|
155
|
+
window.addEventListener("error", D), v(() => window.removeEventListener("error", D)), M(), N(), (0, j.default)("efp:device").enabled && import("./logDeviceInfo-OsKRXOu4.js").then((e) => e.logDeviceInfo()).catch(() => {});
|
|
156
156
|
let c = r.element, u;
|
|
157
157
|
if (typeof c == "string") {
|
|
158
158
|
let e = document.querySelector(c);
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
4
|
e.SENTRY_RELEASE = { id: "3.45.6" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8d425b7b-a152-4f87-90a3-88eedd0124d2", e._sentryDebugIdIdentifier = "sentry-dbid-8d425b7b-a152-4f87-90a3-88eedd0124d2");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
9
|
import { r as e, t } from "./rolldown-runtime-DUb2xvRc.js";
|
|
10
|
-
import { g as n, l as r } from "./i18n-
|
|
11
|
-
import { a as i, m as a } from "./is-debug-
|
|
12
|
-
import { t as o } from "./loadImage-
|
|
10
|
+
import { g as n, l as r } from "./i18n-DRDvImjG.js";
|
|
11
|
+
import { a as i, m as a } from "./is-debug-6YYr83sg.js";
|
|
12
|
+
import { t as o } from "./loadImage-CenmkrfL.js";
|
|
13
13
|
import { i as s, u as c } from "./mobx.module-BOCLFB5I.js";
|
|
14
|
-
import {
|
|
15
|
-
import { A as u, F as d, Xt as f, j as p, vn as m } from "./LayerStore-
|
|
16
|
-
import { t as h } from "./kiosk-mode-
|
|
14
|
+
import { v as l } from "./venue-selection-DLUrexiA.js";
|
|
15
|
+
import { A as u, F as d, Xt as f, j as p, vn as m } from "./LayerStore-Cdwr6Hsw.js";
|
|
16
|
+
import { t as h } from "./kiosk-mode-Ck1FQGr9.js";
|
|
17
17
|
//#region src/utils/detectLimitedModeViaImage.ts
|
|
18
18
|
var g = l(), _ = `${n}expofp-overlay.png`;
|
|
19
19
|
async function v(e = _) {
|
|
@@ -283,14 +283,4 @@ async function O(e) {
|
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
//#endregion
|
|
286
|
-
|
|
287
|
-
function k(e, t) {
|
|
288
|
-
return {
|
|
289
|
-
id: e.id,
|
|
290
|
-
name: e.name,
|
|
291
|
-
order: e.order,
|
|
292
|
-
active: t
|
|
293
|
-
};
|
|
294
|
-
}
|
|
295
|
-
//#endregion
|
|
296
|
-
export { C as i, T as n, E as r, k as t };
|
|
286
|
+
export { E as n, C as r, T as t };
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
9
|
import { u as e } from "./mobx.module-BOCLFB5I.js";
|
|
10
|
-
import { M as t } from "./LayerStore-
|
|
10
|
+
import { M as t } from "./LayerStore-Cdwr6Hsw.js";
|
|
11
11
|
import { l as n } from "./store-q_CTsixH.js";
|
|
12
12
|
import { t as r } from "./kiosk-record-JAEq8SV6.js";
|
|
13
13
|
//#region src/components/Kiosk/integrateKiosk.ts
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
9
|
import { r as e } from "./rolldown-runtime-DUb2xvRc.js";
|
|
10
|
-
import { At as t, J as n, K as r, l as i, q as a } from "./i18n-
|
|
10
|
+
import { At as t, J as n, K as r, l as i, q as a } from "./i18n-DRDvImjG.js";
|
|
11
11
|
import { s as o } from "./efp-debug-init-CozbueIl.js";
|
|
12
|
-
import { n as s } from "./loadImage-
|
|
12
|
+
import { n as s } from "./loadImage-CenmkrfL.js";
|
|
13
13
|
//#region src/tools/logger.ts
|
|
14
14
|
var c = /* @__PURE__ */ e(o(), 1), l = class {
|
|
15
15
|
constructor() {
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
4
|
e.SENTRY_RELEASE = { id: "3.45.6" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "9b486379-48a0-491f-8a9c-c0041f15a9d4", e._sentryDebugIdIdentifier = "sentry-dbid-9b486379-48a0-491f-8a9c-c0041f15a9d4");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
9
|
import { r as e } from "./rolldown-runtime-DUb2xvRc.js";
|
|
10
|
-
import { at as t, g as n, nt as r, ot as i, rt as a } from "./i18n-
|
|
10
|
+
import { at as t, g as n, nt as r, ot as i, rt as a } from "./i18n-DRDvImjG.js";
|
|
11
11
|
import { t as o } from "./react-DqPP-mkq.js";
|
|
12
|
-
import { t as s } from "./loadImage-
|
|
12
|
+
import { t as s } from "./loadImage-CenmkrfL.js";
|
|
13
13
|
import { c, i as l, l as u } from "./mobx.module-BOCLFB5I.js";
|
|
14
14
|
import { r as d } from "./debug-context-CNBgUWR8.js";
|
|
15
|
-
import { $ as f, At as p, Bt as m, Ct as h, Et as g, Ft as _, G as v, It as y, J as b, Jt as x, K as S, Lt as C, Mt as w, Nt as T, O as E, Pt as D, Q as ee, Qt as O, St as k, Tt as te, Ut as A, X as ne, Xt as j, Y as re, Z as ie, a as ae, at as oe, b as se, d as ce, f as le, fn as ue, hn as de, it as fe, jt as pe, ot as me, pn as M, pt as N, t as he, tt as ge, un as P, vt as _e, x as ve, xn as F, xt as ye, yn as I, yt as be, zt as xe } from "./LayerStore-
|
|
15
|
+
import { $ as f, At as p, Bt as m, Ct as h, Et as g, Ft as _, G as v, It as y, J as b, Jt as x, K as S, Lt as C, Mt as w, Nt as T, O as E, Pt as D, Q as ee, Qt as O, St as k, Tt as te, Ut as A, X as ne, Xt as j, Y as re, Z as ie, a as ae, at as oe, b as se, d as ce, f as le, fn as ue, hn as de, it as fe, jt as pe, ot as me, pn as M, pt as N, t as he, tt as ge, un as P, vt as _e, x as ve, xn as F, xt as ye, yn as I, yt as be, zt as xe } from "./LayerStore-Cdwr6Hsw.js";
|
|
16
16
|
import { a as Se, l as L, t as Ce, u as R } from "./store-q_CTsixH.js";
|
|
17
|
-
import {
|
|
18
|
-
import { a as Ne, n as Pe, o as Fe } from "./kioskUrlParam-
|
|
19
|
-
import { i as Ie, n as Le } from "./viewport-
|
|
17
|
+
import { E as we, G as Te, J as Ee, K as De, Y as Oe, _ as ke, h as Ae, n as je, y as Me } from "./RouteStore-DTRRmaH_.js";
|
|
18
|
+
import { a as Ne, n as Pe, o as Fe } from "./kioskUrlParam-BinDd3Gf.js";
|
|
19
|
+
import { i as Ie, n as Le } from "./viewport-CBi835qx.js";
|
|
20
20
|
//#region src/components/Map/traffic/trafficLayers.ts
|
|
21
21
|
var Re = "traffic_route", ze = "traffic_route_stop", z = "traffic_vehicles", Be = "build_route_lines", Ve = "build_route_dots", He = 5;
|
|
22
22
|
function Ue() {
|
|
@@ -790,7 +790,7 @@ function an() {
|
|
|
790
790
|
var t;
|
|
791
791
|
let n = S(St, []);
|
|
792
792
|
n.overlay = R.is3DView;
|
|
793
|
-
let r = R.is3DView ? on() : void 0, i =
|
|
793
|
+
let r = R.is3DView ? on() : void 0, i = Me({ overlay: R.is3DView }), a = [], o = [];
|
|
794
794
|
for (let t of e.flat()) E(t.name) ? (t.dim = 0, o.push(t)) : a.push(t);
|
|
795
795
|
let { layer: s, cleanup: c } = bt("root", Ce.booths);
|
|
796
796
|
return {
|
|
@@ -1371,7 +1371,7 @@ function Rn(e) {
|
|
|
1371
1371
|
return Math.min(e || 1, Tn);
|
|
1372
1372
|
}
|
|
1373
1373
|
function zn(e, t) {
|
|
1374
|
-
return
|
|
1374
|
+
return De(e, t);
|
|
1375
1375
|
}
|
|
1376
1376
|
function Bn({ radius: e, scale: t, color: n }) {
|
|
1377
1377
|
let r = Math.ceil(e * 2 * t), i = ye(r, r, t);
|
|
@@ -1462,7 +1462,7 @@ function Yn(e, t, n, r) {
|
|
|
1462
1462
|
n({
|
|
1463
1463
|
x: h.x + (g.x - h.x) * v,
|
|
1464
1464
|
y: h.y + (g.y - h.y) * v,
|
|
1465
|
-
angle:
|
|
1465
|
+
angle: De(h, g)
|
|
1466
1466
|
}), d < 1 ? a = requestAnimationFrame(c) : r && r();
|
|
1467
1467
|
};
|
|
1468
1468
|
return a = requestAnimationFrame(c), () => {
|
|
@@ -1560,7 +1560,7 @@ function hr(e, t, n) {
|
|
|
1560
1560
|
if (!Z(t.geo)) continue;
|
|
1561
1561
|
let e = i ? I(t.local, i) : 0;
|
|
1562
1562
|
if (e > o) continue;
|
|
1563
|
-
let r =
|
|
1563
|
+
let r = Ee(n, t.geo);
|
|
1564
1564
|
e === o && r >= s || (a = t, o = e, s = r);
|
|
1565
1565
|
}
|
|
1566
1566
|
return a;
|
|
@@ -1612,7 +1612,7 @@ function _r(e) {
|
|
|
1612
1612
|
connector: {
|
|
1613
1613
|
from: m,
|
|
1614
1614
|
to: g.geo,
|
|
1615
|
-
distanceMeters:
|
|
1615
|
+
distanceMeters: Ee(m, g.geo)
|
|
1616
1616
|
},
|
|
1617
1617
|
provider: f,
|
|
1618
1618
|
url: dr(f, g.geo, a.kind === "live-position" ? void 0 : m)
|
|
@@ -1636,7 +1636,7 @@ function _r(e) {
|
|
|
1636
1636
|
var vr = (e) => Number.isFinite(e == null ? void 0 : e.x) && Number.isFinite(e == null ? void 0 : e.y) && Number.isFinite(e == null ? void 0 : e.lat) && Number.isFinite(e == null ? void 0 : e.lng);
|
|
1637
1637
|
function Q(e, t) {
|
|
1638
1638
|
if (!t || !vr(t.p0) || !vr(t.p2)) return;
|
|
1639
|
-
let n =
|
|
1639
|
+
let n = Oe(e, ...we(t));
|
|
1640
1640
|
return Z(n) ? n : void 0;
|
|
1641
1641
|
}
|
|
1642
1642
|
function yr(e, t) {
|
|
@@ -1778,7 +1778,7 @@ function zr() {
|
|
|
1778
1778
|
});
|
|
1779
1779
|
return i ? wr({
|
|
1780
1780
|
venues: L.venueStore,
|
|
1781
|
-
gpsConfig: (t =
|
|
1781
|
+
gpsConfig: (t = Te()) == null || (t = t.properties) == null ? void 0 : t.config,
|
|
1782
1782
|
enabled: j.crossVenueJourneys === !0,
|
|
1783
1783
|
platform: Sr(),
|
|
1784
1784
|
providerOverride: j.mapsProvider
|
|
@@ -1815,11 +1815,11 @@ function Ur(e) {
|
|
|
1815
1815
|
function Wr(e, t) {
|
|
1816
1816
|
let n = $.get(), r = Ar(e, t), i = r == null ? void 0 : r.door;
|
|
1817
1817
|
if (!n || !r || !(i != null && i.layerName)) return;
|
|
1818
|
-
let a =
|
|
1818
|
+
let a = ke({
|
|
1819
1819
|
x: i.local.x,
|
|
1820
1820
|
y: i.local.y,
|
|
1821
1821
|
z: i.layerName
|
|
1822
|
-
}, r.label,
|
|
1822
|
+
}, r.label, Ae), o = r.kind === "exit" ? new je(n.request.from, a) : new je(a, n.request.to);
|
|
1823
1823
|
$.set({
|
|
1824
1824
|
...n,
|
|
1825
1825
|
legRoute: o
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "78c98ca4-4255-4ad6-8fd7-fbc8ca4f0e98", e._sentryDebugIdIdentifier = "sentry-dbid-78c98ca4-4255-4ad6-8fd7-fbc8ca4f0e98");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { D as e, l as t } from "./i18n-
|
|
10
|
-
import { en as n } from "./LayerStore-
|
|
9
|
+
import { D as e, l as t } from "./i18n-DRDvImjG.js";
|
|
10
|
+
import { en as n } from "./LayerStore-Cdwr6Hsw.js";
|
|
11
11
|
//#region src/components/Kiosk/kiosk-mode.ts
|
|
12
12
|
function r(n, r) {
|
|
13
13
|
n.kiosk = r, r || n.resetUIScale(), t && window.localStorage.setItem(e, r ? "1" : "0");
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
9
|
import { t as e } from "./is-webview-cTH4yz8f.js";
|
|
10
|
-
import { E as t, _t as n, gt as r, ln as i, mt as a, sn as o, un as s } from "./LayerStore-
|
|
10
|
+
import { E as t, _t as n, gt as r, ln as i, mt as a, sn as o, un as s } from "./LayerStore-Cdwr6Hsw.js";
|
|
11
11
|
//#region src/components/Kiosk/SetKiosk/getKioskUrlParamKey.ts
|
|
12
12
|
function c(e) {
|
|
13
13
|
return `${o}${e}`;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "27a90edf-89fd-4877-acdf-30d87d983c21", e._sentryDebugIdIdentifier = "sentry-dbid-27a90edf-89fd-4877-acdf-30d87d983c21");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { jt as e } from "./i18n-
|
|
9
|
+
import { jt as e } from "./i18n-DRDvImjG.js";
|
|
10
10
|
//#region src/tools/event-scoped-cache.ts
|
|
11
11
|
function t(t) {
|
|
12
12
|
let n, r = !1, i;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
4
|
e.SENTRY_RELEASE = { id: "3.45.6" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "776a9a9a-712d-4f3e-ac7f-c006777bbd39", e._sentryDebugIdIdentifier = "sentry-dbid-776a9a9a-712d-4f3e-ac7f-c006777bbd39");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
9
|
import { r as e } from "./rolldown-runtime-DUb2xvRc.js";
|
|
@@ -43,9 +43,9 @@ function c(e) {
|
|
|
43
43
|
t && u.push(`${e}: ${t}`);
|
|
44
44
|
}, f = {
|
|
45
45
|
version: "3.45.6",
|
|
46
|
-
commit: "
|
|
47
|
-
branch: "feat/
|
|
48
|
-
built: "2026-
|
|
46
|
+
commit: "6dabc65",
|
|
47
|
+
branch: "feat/ignore-current-position-z",
|
|
48
|
+
built: "2026-11-10T10:30:11.177Z"
|
|
49
49
|
};
|
|
50
50
|
f && d("SDK", `${f.version} (${f.commit} on ${f.branch}, built ${f.built})`);
|
|
51
51
|
let p = window.devicePixelRatio || 1;
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
4
|
e.SENTRY_RELEASE = { id: "3.45.6" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "70ec8518-4ab9-4738-bd4e-0d13d77631b2", e._sentryDebugIdIdentifier = "sentry-dbid-70ec8518-4ab9-4738-bd4e-0d13d77631b2");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
9
|
import { r as e, t } from "./rolldown-runtime-DUb2xvRc.js";
|
|
10
|
-
import { A as n, H as r, O as i, W as a, h as o, j as s, k as c, l, n as u, s as d, t as f } from "./i18n-
|
|
11
|
-
import { m as p } from "./is-debug-
|
|
10
|
+
import { A as n, H as r, O as i, W as a, h as o, j as s, k as c, l, n as u, s as d, t as f } from "./i18n-DRDvImjG.js";
|
|
11
|
+
import { m as p } from "./is-debug-6YYr83sg.js";
|
|
12
12
|
import { a as m, c as h, n as g } from "./mobx.module-BOCLFB5I.js";
|
|
13
|
-
import { $ as _, I as v, Ut as y, W as b, Xt as x, Yt as S, in as C, m as w, nt as T, qt as E, tt as D, un as ee, vn as te, vt as ne } from "./LayerStore-
|
|
13
|
+
import { $ as _, I as v, Ut as y, W as b, Xt as x, Yt as S, in as C, m as w, nt as T, qt as E, tt as D, un as ee, vn as te, vt as ne } from "./LayerStore-Cdwr6Hsw.js";
|
|
14
14
|
import { u as O } from "./store-q_CTsixH.js";
|
|
15
15
|
import { n as re } from "./freeBanner-CnrBc9Tl.js";
|
|
16
|
-
import {
|
|
17
|
-
import { a as A, c as oe, l as se, n as ce, r as le, u as ue } from "./kioskUrlParam-
|
|
18
|
-
import { n as de } from "./kiosk-mode-
|
|
16
|
+
import { j as ie, n as k, o as ae } from "./RouteStore-DTRRmaH_.js";
|
|
17
|
+
import { a as A, c as oe, l as se, n as ce, r as le, u as ue } from "./kioskUrlParam-BinDd3Gf.js";
|
|
18
|
+
import { n as de } from "./kiosk-mode-Ck1FQGr9.js";
|
|
19
19
|
//#region ../../node_modules/.pnpm/resize-observer@1.0.4/node_modules/resize-observer/lib/ContentRect.js
|
|
20
20
|
var fe = /* @__PURE__ */ t(((e) => {
|
|
21
21
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.ContentRect = function(e) {
|
|
@@ -2089,14 +2089,4 @@ function jn(e, t) {
|
|
|
2089
2089
|
});
|
|
2090
2090
|
}
|
|
2091
2091
|
//#endregion
|
|
2092
|
-
|
|
2093
|
-
function Mn(e, t) {
|
|
2094
|
-
let n;
|
|
2095
|
-
return (...r) => {
|
|
2096
|
-
clearTimeout(n), n = setTimeout(() => {
|
|
2097
|
-
e(...r);
|
|
2098
|
-
}, t);
|
|
2099
|
-
};
|
|
2100
|
-
}
|
|
2101
|
-
//#endregion
|
|
2102
|
-
export { F as _, jn as a, Fe as c, Ee as d, Se as f, ve as g, H as h, An as i, Ne as l, ye as m, On as n, wn as o, W as p, kn as r, xn as s, Mn as t, J as u, _e as v, he as y };
|
|
2092
|
+
export { _e as _, wn as a, Ne as c, Se as d, W as f, F as g, ve as h, jn as i, J as l, H as m, kn as n, xn as o, ye as p, An as r, Fe as s, On as t, Ee as u, he as v };
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8061fd30-b7d3-48a5-b02d-285dfa346e6c", e._sentryDebugIdIdentifier = "sentry-dbid-8061fd30-b7d3-48a5-b02d-285dfa346e6c");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./LayerStore-
|
|
9
|
+
import { t as e } from "./LayerStore-Cdwr6Hsw.js";
|
|
10
10
|
import { l as t } from "./store-q_CTsixH.js";
|
|
11
11
|
//#region src/components/Map/viewport.ts
|
|
12
12
|
function n(e) {
|
|
@@ -24,6 +24,7 @@ import { bindJourneyProgress } from './store/journey-plan';
|
|
|
24
24
|
import { findBooth, Route, separateExternalIds, } from './store/RouteStore';
|
|
25
25
|
import { toPublicVenue } from './store/venue-public';
|
|
26
26
|
import { GaEventActions, initGtag, sendEventToGa, setConsentSettings } from './tools/gtag.js';
|
|
27
|
+
import { queuePositionTelemetry, sendSdkTelemetry } from './tools/sdk-telemetry.js';
|
|
27
28
|
import settings from './tools/settings';
|
|
28
29
|
import trackEvent from './tools/track-event.js';
|
|
29
30
|
import { cameraToMapSettings, mapSettingsToCamera } from './utils/camera-map-settings';
|
|
@@ -46,6 +47,7 @@ export default class FloorPlanReady extends FloorPlanLoader {
|
|
|
46
47
|
initUrlRouting(this.offHistory);
|
|
47
48
|
}
|
|
48
49
|
trackEvent('load');
|
|
50
|
+
sendSdkTelemetry('load');
|
|
49
51
|
// `initUi` already bound the container the loader created; re-point before
|
|
50
52
|
// the UI mounts so the measurement is taken against the render target this
|
|
51
53
|
// instance actually uses.
|
|
@@ -238,7 +240,15 @@ export default class FloorPlanReady extends FloorPlanLoader {
|
|
|
238
240
|
if (!hasXY && !hasLatLng) {
|
|
239
241
|
showSdkError('selectCurrentPosition', 'A point must be passed. Either (x,y) or (lat,lng) are required.', 'EFP000600');
|
|
240
242
|
}
|
|
243
|
+
// the arguments as the host passed them: the store normalizes the point in place
|
|
244
|
+
const params = { point: { ...point }, focus, icon };
|
|
241
245
|
store.routeStore.selectCurrentPosition(point, focus, icon);
|
|
246
|
+
queuePositionTelemetry({
|
|
247
|
+
...params,
|
|
248
|
+
floor: store.routeStore.currentPosition?.z ?? null,
|
|
249
|
+
routeFloor: store.routeStore.currentRouteLayer?.name ?? null,
|
|
250
|
+
placed: !!store.routeStore.currentPosition,
|
|
251
|
+
});
|
|
242
252
|
this.onCurrentPositionChanged?.(point);
|
|
243
253
|
}
|
|
244
254
|
setBookmarks(bookmarks) {
|
|
@@ -38,6 +38,16 @@ export default class RouteStore {
|
|
|
38
38
|
id: number;
|
|
39
39
|
layer: Layer | null;
|
|
40
40
|
}[];
|
|
41
|
+
/**
|
|
42
|
+
* The floor a plan point stands on — a position fix, or a coordinate route endpoint. Floors
|
|
43
|
+
* belong to venues, so on a venue-model plan the outline the point lies in decides: outdoors it
|
|
44
|
+
* stands on none, whatever floor it reports; inside a venue it keeps the reported floor only when
|
|
45
|
+
* that floor is one of the venue's own levels, and otherwise takes the venue's
|
|
46
|
+
* (`venueLevelForFix`). Another hall's floor would scope the point to that hall — read as off a
|
|
47
|
+
* route right under it, and start a route "from here" at that hall's nearest walkway. Off a
|
|
48
|
+
* venue model the reported floor stands as is.
|
|
49
|
+
*/
|
|
50
|
+
private pointLayer;
|
|
41
51
|
/**
|
|
42
52
|
* Used only by the SDK `getBooth(RouteWaypoint)` path for coord-form
|
|
43
53
|
* waypoints (`floorplan.ready.tsx`). Internal callers prefer
|
|
@@ -9,6 +9,7 @@ import { getFpGeo } from '../data/fpGeo.js';
|
|
|
9
9
|
import { getLayerSvg, getSvgArea } from '../data/svg.js';
|
|
10
10
|
import { GaEventActions, sendEventToGa } from '../tools/gtag';
|
|
11
11
|
import logger from '../tools/logger';
|
|
12
|
+
import settings from '../tools/settings';
|
|
12
13
|
import { areLayersEnabled } from '../utils/areLayersEnabled';
|
|
13
14
|
import { calcSpeed } from '../utils/calcSpeed';
|
|
14
15
|
import { calcTravelTime } from '../utils/calcTravelTime';
|
|
@@ -18,6 +19,7 @@ import store, { layersStore, uiState } from '.';
|
|
|
18
19
|
import { BoothBase } from './BoothStore';
|
|
19
20
|
import { LayersMode } from './LayerStore';
|
|
20
21
|
import { revealLayer } from './reveal-layer.js';
|
|
22
|
+
import { venueLevelForFix } from './VenueStore.js';
|
|
21
23
|
/** A coordinate as the SDK may deliver it — `1.5`, or `"1,5"` from a comma locale. */
|
|
22
24
|
function replaceCommasWithDot(value) {
|
|
23
25
|
if (typeof value === 'string') {
|
|
@@ -107,9 +109,14 @@ export default class RouteStore {
|
|
|
107
109
|
return;
|
|
108
110
|
if (destinationReady) {
|
|
109
111
|
void destinationReady.then(() => {
|
|
110
|
-
if (selectRouteRequest
|
|
111
|
-
|
|
112
|
-
|
|
112
|
+
if (selectRouteRequest !== this.selectRouteRequest)
|
|
113
|
+
return;
|
|
114
|
+
// A route the engine has already drawn framed itself as it did (`onRouteUpdate`), and
|
|
115
|
+
// this focus, held back for the destination's level, would land after that fit and
|
|
116
|
+
// pull the camera onto the listed booths — from the blue dot, the destination alone.
|
|
117
|
+
if (this.routedRoute === route && this.routeLines.length)
|
|
118
|
+
return;
|
|
119
|
+
this.rootStore.moveToList(list, true);
|
|
113
120
|
});
|
|
114
121
|
}
|
|
115
122
|
else {
|
|
@@ -172,6 +179,23 @@ export default class RouteStore {
|
|
|
172
179
|
?.filter((name, i, self) => self.indexOf(name) === i);
|
|
173
180
|
return routeSteps(layers ?? [], this.campusLayersBox.get(), (name) => Boolean(store.layerStore.findLayer(name))).map((name, i) => ({ id: i + 1, layer: store.layerStore.findLayer(name) }));
|
|
174
181
|
}
|
|
182
|
+
/**
|
|
183
|
+
* The floor a plan point stands on — a position fix, or a coordinate route endpoint. Floors
|
|
184
|
+
* belong to venues, so on a venue-model plan the outline the point lies in decides: outdoors it
|
|
185
|
+
* stands on none, whatever floor it reports; inside a venue it keeps the reported floor only when
|
|
186
|
+
* that floor is one of the venue's own levels, and otherwise takes the venue's
|
|
187
|
+
* (`venueLevelForFix`). Another hall's floor would scope the point to that hall — read as off a
|
|
188
|
+
* route right under it, and start a route "from here" at that hall's nearest walkway. Off a
|
|
189
|
+
* venue model the reported floor stands as is.
|
|
190
|
+
*/
|
|
191
|
+
pointLayer(point, z) {
|
|
192
|
+
const reported = this.rootStore.layerStore.findLayer(z);
|
|
193
|
+
const venueStore = this.rootStore.venueStore;
|
|
194
|
+
if (!venueStore?.hasVenueModel)
|
|
195
|
+
return reported;
|
|
196
|
+
const venue = venueStore.venueAt(point);
|
|
197
|
+
return venue ? venueLevelForFix(venue, reported?.name).layer : null;
|
|
198
|
+
}
|
|
175
199
|
/**
|
|
176
200
|
* Used only by the SDK `getBooth(RouteWaypoint)` path for coord-form
|
|
177
201
|
* waypoints (`floorplan.ready.tsx`). Internal callers prefer
|
|
@@ -181,7 +205,6 @@ export default class RouteStore {
|
|
|
181
205
|
getNearestBooth(position) {
|
|
182
206
|
if (!position)
|
|
183
207
|
return null;
|
|
184
|
-
const layerExists = this.rootStore.layerStore.findLayer(position.z);
|
|
185
208
|
const gpsConfig = getFpGeo()?.properties.config;
|
|
186
209
|
const isGpsFix = Boolean(position.lat && position.lng);
|
|
187
210
|
const localPoint = gpsConfig && isGpsFix ? convertGpsToLocal(position, gpsConfig) : position;
|
|
@@ -190,15 +213,17 @@ export default class RouteStore {
|
|
|
190
213
|
if (!localPoint || !isValidPointCoords(localPoint.x) || !isValidPointCoords(localPoint.y)) {
|
|
191
214
|
return null;
|
|
192
215
|
}
|
|
216
|
+
const layer = this.pointLayer(localPoint, position.z);
|
|
217
|
+
// Off a venue model an empty `z` can still match a layer by name, and such a floorless fix keeps
|
|
218
|
+
// every visible booth in play, as before; on one, the floor `pointLayer` decided is the answer.
|
|
219
|
+
const floorless = !this.rootStore.venueStore?.hasVenueModel && typeof position.z !== 'number' && !position.z;
|
|
193
220
|
return (this.rootStore.boothStore.booths
|
|
194
221
|
.filter((b) => {
|
|
195
|
-
if (
|
|
222
|
+
if (this.rootStore.layerStore.mode === LayersMode.Default || !layer) {
|
|
196
223
|
return b.visible && b.rect;
|
|
197
224
|
}
|
|
198
225
|
else {
|
|
199
|
-
return
|
|
200
|
-
((typeof position.z !== 'number' && !position.z && b.visible) ||
|
|
201
|
-
layerExists.name === b.layer?.name));
|
|
226
|
+
return b.rect && ((floorless && b.visible) || layer.name === b.layer?.name);
|
|
202
227
|
}
|
|
203
228
|
})
|
|
204
229
|
.sort((b1, b2) => pointDistance(localPoint, b1.rect.center) - pointDistance(localPoint, b2.rect.center))[0] || null);
|
|
@@ -271,7 +296,14 @@ export default class RouteStore {
|
|
|
271
296
|
point.lat = replaceCommasWithDot(point.lat);
|
|
272
297
|
if (point.lng !== undefined)
|
|
273
298
|
point.lng = replaceCommasWithDot(point.lng);
|
|
274
|
-
|
|
299
|
+
// A numeric `z` is a floor index (as `LayerStore.findLayer` reads a number). With
|
|
300
|
+
// `ignoreUnknownFloorIndex`, one with no floor at it reports no floor, rather than one whose
|
|
301
|
+
// name merely holds the number (13 → Hall13).
|
|
302
|
+
const floors = this.rootStore.layerStore.layers.filter((layer) => !layer.rootParent && !layer.frozen);
|
|
303
|
+
const noFloorAtIndex = typeof point.z === 'number' && !floors[point.z];
|
|
304
|
+
if (settings.EXPO === 'eurotier2026' ||
|
|
305
|
+
(data.ignoreUnknownFloorIndex === true && noFloorAtIndex) ||
|
|
306
|
+
!areLayersEnabled()) {
|
|
275
307
|
point.z = undefined;
|
|
276
308
|
}
|
|
277
309
|
}
|
|
@@ -287,13 +319,13 @@ export default class RouteStore {
|
|
|
287
319
|
this.currentPosition = null;
|
|
288
320
|
return;
|
|
289
321
|
}
|
|
290
|
-
|
|
291
|
-
//
|
|
292
|
-
//
|
|
293
|
-
const
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
const newPosition = new CurrentPosition(position.x, position.y,
|
|
322
|
+
const layer = this.pointLayer(position, point.z);
|
|
323
|
+
// Off a venue model, a fix without a floor takes the route's; on one, `pointLayer` has
|
|
324
|
+
// already decided — no floor outdoors, the venue's own inside an outline.
|
|
325
|
+
const routeLayerFallback = this.rootStore.venueStore?.hasVenueModel
|
|
326
|
+
? undefined
|
|
327
|
+
: this.currentRouteLayer?.name;
|
|
328
|
+
const newPosition = new CurrentPosition(position.x, position.y, layer?.name || routeLayerFallback, calculateRelativeBearing(position), point.lat, point.lng);
|
|
297
329
|
let isPositionAndRouteOnTheSameLayer = !this.routeLines?.length;
|
|
298
330
|
if (layer && this.routeLines?.length) {
|
|
299
331
|
isPositionAndRouteOnTheSameLayer = !!this.routeLines.find((line) => line.p0.layer === layer.name || line.p1.layer === layer.name);
|
|
@@ -94,6 +94,13 @@ export declare class Venue {
|
|
|
94
94
|
/** Full floor detail currently visible (R6); unevaluated counts as visible. */
|
|
95
95
|
get detailVisible(): boolean;
|
|
96
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* The level of `venue` that a position fix inside it stands on: the reported floor when it is one
|
|
99
|
+
* of the venue's own levels, otherwise the level the venue shows. The outline a fix lies in names
|
|
100
|
+
* its venue beyond doubt; the floor it reports can be wrong — a positioning system may carry an
|
|
101
|
+
* indoor floor over onto later GPS fixes, or number the floors its own way.
|
|
102
|
+
*/
|
|
103
|
+
export declare function venueLevelForFix(venue: Pick<Venue, 'levels' | 'activeLevel'>, reportedLayerName: string | undefined): VenueLevel;
|
|
97
104
|
/**
|
|
98
105
|
* Owns the venue model of a multi-venue plan: the venue list, viewport focus,
|
|
99
106
|
* and each venue's active level. Levels stay owned by LayerStore; a venue
|
|
@@ -89,6 +89,15 @@ export class Venue {
|
|
|
89
89
|
return this._presentationState.get()?.detailVisible ?? true;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
+
/**
|
|
93
|
+
* The level of `venue` that a position fix inside it stands on: the reported floor when it is one
|
|
94
|
+
* of the venue's own levels, otherwise the level the venue shows. The outline a fix lies in names
|
|
95
|
+
* its venue beyond doubt; the floor it reports can be wrong — a positioning system may carry an
|
|
96
|
+
* indoor floor over onto later GPS fixes, or number the floors its own way.
|
|
97
|
+
*/
|
|
98
|
+
export function venueLevelForFix(venue, reportedLayerName) {
|
|
99
|
+
return venue.levels.find((level) => level.layer.name === reportedLayerName) ?? venue.activeLevel;
|
|
100
|
+
}
|
|
92
101
|
/**
|
|
93
102
|
* Owns the venue model of a multi-venue plan: the venue list, viewport focus,
|
|
94
103
|
* and each venue's active level. Levels stay owned by LayerStore; a venue
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Sends one event while SDK telemetry is on. Never throws. */
|
|
2
|
+
export declare function sendSdkTelemetry(event: string): void;
|
|
3
|
+
/**
|
|
4
|
+
* Queues one `selectCurrentPosition` call in localStorage, where it outlives
|
|
5
|
+
* the page, and sends the queue as one event once the previous request is done
|
|
6
|
+
* and the interval since it has passed. A batch that never reached the intake
|
|
7
|
+
* (offline, network error) stays queued for the next send.
|
|
8
|
+
*/
|
|
9
|
+
export declare function queuePositionTelemetry(item: Record<string, unknown>): void;
|
|
10
|
+
//# sourceMappingURL=sdk-telemetry.d.ts.map
|