@expofp/floorplan 3.46.0 → 3.47.0
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/{Button-CJtSs2s5.js → Button-DyqVe4xL.js} +5 -5
- package/dist/browser/{CookieConsent-C4fi9Tyh.js → CookieConsent-Dne5UXwi.js} +7 -7
- package/dist/browser/{Debug-Cd610X28.js → Debug-CSY6FmRs.js} +7 -7
- package/dist/browser/{DebugTools-D9g4_7Cc.js → DebugTools-CSGF0Uqi.js} +6 -6
- package/dist/browser/{Demo-CryvOcgl.js → Demo-AI-22qbf.js} +9 -9
- package/dist/browser/{Free-CJXdChTu.js → Free-BmItczwV.js} +10 -10
- package/dist/browser/{GalleryContainer-DJEByROk.js → GalleryContainer-Do5QXu8h.js} +11 -11
- package/dist/browser/{GpsLoader-DSsG-xT8.js → GpsLoader-D6boL0AQ.js} +14 -14
- package/dist/browser/{KioskStore-DOB-av5O.js → KioskStore-DodjzUdk.js} +19 -19
- package/dist/browser/{LayerStore-CRZuLMs5.js → LayerStore-DCg-juRT.js} +289 -270
- package/dist/browser/{MaplibreAdapter-C_5hoa-Y.js → MaplibreAdapter-D838jbrB.js} +148 -148
- package/dist/browser/{ModalContainer-Ch8bqPHR.js → ModalContainer-DAh3OT88.js} +10 -10
- package/dist/browser/{PermissionNotice-CiR8SfU0.js → PermissionNotice-D9dFiy8Z.js} +6 -6
- package/dist/browser/{RouteStore-D5yYhhPl.js → RouteStore-B82dztUW.js} +342 -327
- package/dist/browser/{SetKioskMode-PiwwpWpN.js → SetKioskMode-DcQFm_UG.js} +12 -12
- package/dist/browser/{ShowKiosk-uWNhreCd.js → ShowKiosk-BnuT9vM-.js} +11 -11
- package/dist/browser/{UIState-Bi4-Ri9M.js → UIState-Dd6fvko0.js} +97 -97
- package/dist/browser/{ViewerMenuPanel-B3vtTFpG.js → ViewerMenuPanel-C3B3OmlN.js} +11 -11
- package/dist/browser/{add-debug-secret-listener-Db76vB7o.js → add-debug-secret-listener-BJu3pH2x.js} +1 -1
- package/dist/browser/{adopt-global-settings-67S2v_mo.js → adopt-global-settings-BerG23m2.js} +9 -9
- package/dist/browser/{boolean-editor-B1nYYAEd.js → boolean-editor-C1i1ID8g.js} +9 -9
- package/dist/browser/{bootIntercom-BQDnVlyT.js → bootIntercom-C3tqD4Ct.js} +2 -2
- package/dist/browser/bundle.json +87 -87
- package/dist/browser/{camera-events-dIlK_9kU.js → camera-events-DzSywgw0.js} +1 -1
- package/dist/browser/{classnames-CnT6VKND.js → classnames-CQMYVTW5.js} +2 -2
- package/dist/browser/{client-iKoOfnTw.js → client-DbQnuxsE.js} +5 -5
- package/dist/browser/{components-CEmFE-HF.js → components-CzNKFauU.js} +2211 -2160
- package/dist/browser/{create-live-plan-VYe8zgCt.js → create-live-plan-D17jzmnD.js} +505 -439
- package/dist/browser/{debug-context-SM4t83oS.js → debug-context-CLE9u3W1.js} +6 -6
- package/dist/browser/{debug-overlay-BLs-zKon.js → debug-overlay-CqyQd6Tu.js} +10 -10
- package/dist/browser/{debug-ui-COzdQWZH.js → debug-ui-CopIbPwZ.js} +6 -6
- package/dist/browser/{dist-Dxs4B_bo.js → dist-CXSdtHNF.js} +6 -6
- package/dist/browser/{dist-B-cTdqLW.js → dist-DrhAFaXl.js} +5 -5
- package/dist/browser/{dist-C7DmTDRb.js → dist-mSjAoqZa.js} +3 -3
- package/dist/browser/{efp-debug-init-B_S1vuGu.js → efp-debug-init-D3gNE8Zq.js} +3 -3
- package/dist/browser/{enum-editor-CNXjKr2S.js → enum-editor-DfEZj9xj.js} +4 -4
- package/dist/browser/{es5-DXybUgTP.js → es5-CRZbJ3RK.js} +2 -2
- package/dist/browser/{event-head-ClLbm9Br.js → event-head-C5Pqy8aE.js} +1 -1
- package/dist/browser/{event-not-found-DH79zTW9.js → event-not-found-y-baKtlx.js} +3 -3
- package/dist/browser/{event-scoped-cache-DpaRX7uc.js → event-scoped-cache-CUHa0QyF.js} +3 -3
- package/dist/browser/{expofpUrl-n296mHS4.js → expofpUrl-CUIqO5kL.js} +1 -1
- package/dist/browser/{exports-lzdhlipZ.js → exports-CnYQMV4a.js} +1 -1
- package/dist/browser/{favicon-DIM65QuL.js → favicon-DtPw8IL3.js} +1 -1
- package/dist/browser/{fetch-retry.umd-vSI4xMC_.js → fetch-retry.umd-DjnZ3Ut9.js} +2 -2
- package/dist/browser/{flex-BAVIARsK.js → flex-C5mQXGq5.js} +5 -5
- package/dist/browser/{floorplan.loader-eMUdl6jt.js → floorplan.loader-DEaS-fgT.js} +12 -12
- package/dist/browser/{floorplan.ready-1Txw5bTb.js → floorplan.ready-BOnFLVHj.js} +269 -243
- package/dist/browser/{framing-rect-BTpvle_p.js → framing-rect-BIpsCqTB.js} +426 -351
- package/dist/browser/{freeBanner-F3TTYS8Q.js → freeBanner-BQ-1hI0V.js} +2 -2
- package/dist/browser/{fuse-CaTg1KbU.js → fuse-jVBfzHic.js} +2 -2
- package/dist/browser/{i18n-C_4TK-u4.js → i18n-DlquqKCP.js} +333 -318
- package/dist/browser/index.js +33 -33
- package/dist/browser/{index.module-DRBCPeTj.js → index.module-CN0EtZcO.js} +4 -4
- package/dist/browser/{init-ui-BYGB5Nye.js → init-ui-BQ7d5hKB.js} +19 -19
- package/dist/browser/{integrateKiosk-BYXxa3GA.js → integrateKiosk-CumGPvbc.js} +6 -6
- package/dist/browser/{is-debug-D3IYeseH.js → is-debug-IkNSAGo8.js} +4 -4
- package/dist/browser/{is-own-domain-Sd0Gyaz6.js → is-own-domain-yrTLx04R.js} +1 -1
- package/dist/browser/{is-webview-DkUEFd5j.js → is-webview-DA6FLdme.js} +1 -1
- package/dist/browser/{jsx-runtime-Z0-uGdH1.js → jsx-runtime-BzLvm2y2.js} +2 -2
- package/dist/browser/{kiosk-mode-D9JdlNtc.js → kiosk-mode-zD8K_fUT.js} +3 -3
- package/dist/browser/{kiosk-record-U7MDU1j1.js → kiosk-record-Ckxa0L0B.js} +1 -1
- package/dist/browser/{kioskApi-CZmWdnyx.js → kioskApi-CG3QGuUx.js} +7 -7
- package/dist/browser/{ktx2-DBt1EdxU.js → ktx2-Dx_h97CR.js} +2 -2
- package/dist/browser/{lib-Bpc7qOXg.js → lib-5KOc2jVl.js} +3 -3
- package/dist/browser/{loadImage-Dy1_5knL.js → loadImage-iqS2KHgN.js} +1 -1
- package/dist/browser/{logDeviceInfo-DFiuu0JW.js → logDeviceInfo-DhvfxT2K.js} +9 -9
- package/dist/browser/{mobx-NvAhKUmy.js → mobx-CUFHrL57.js} +4 -4
- package/dist/browser/{mobx.module-Bv5V3v5d.js → mobx.module-BTnTbXnp.js} +1 -1
- package/dist/browser/{optional-boolean-editor-BEOwiXCN.js → optional-boolean-editor-C3k-DXeF.js} +3 -3
- package/dist/browser/{optional-enum-editor-C6KjlpRA.js → optional-enum-editor-CeY1nCnF.js} +4 -4
- package/dist/browser/{optional-string-editor-CFrCSmMd.js → optional-string-editor-DrVHjvsL.js} +4 -4
- package/dist/browser/{particles.min-C2A0DA4i.js → particles.min-BPS1Hdpf.js} +2 -2
- package/dist/browser/{react-CabZjr3N.js → react-XuvSZP7j.js} +2 -2
- package/dist/browser/{react-dom-RP6YFh3Z.js → react-dom-Cg1Pcvni.js} +3 -3
- package/dist/browser/{rolldown-runtime-fogUk23q.js → rolldown-runtime-5rOLGCTp.js} +1 -1
- package/dist/browser/{scene-DuvbPaPD.js → scene-CeKqMicD.js} +10 -10
- package/dist/browser/{scheduler-k2rbX-LJ.js → scheduler-D5sEY0Dn.js} +2 -2
- package/dist/browser/{select-DDC9fvlH.js → select-Cbv7ufJV.js} +10 -10
- package/dist/browser/{settings-BozBuwXD.js → settings-DgySPhLO.js} +2 -2
- package/dist/browser/{settings-item-D4rlEKz6.js → settings-item-e3YLYS4G.js} +6 -6
- package/dist/browser/{store-CbRrBMLs.js → store-DTvNQcN7.js} +2 -2
- package/dist/browser/{string-editor-CExhbakJ.js → string-editor-Dbv6xI9s.js} +4 -4
- package/dist/browser/{text-field-BV3Vp6cI.js → text-field-Cg5awwlh.js} +5 -5
- package/dist/browser/{theme-E8keDBEa.js → theme-BRoMMdQq.js} +8 -8
- package/dist/browser/{three.core-C_nLFu2C.js → three.core-DvpRLNmt.js} +1 -1
- package/dist/browser/{ui-CgHs1m5h.js → ui-DNMlY_VB.js} +8 -8
- package/dist/browser/{useRenderTarget-D7wRx7QW.js → useRenderTarget-C__MnkX7.js} +4 -4
- package/dist/browser/{viewport-BH6xyD06.js → viewport-DBuFXrrj.js} +3 -3
- package/dist/browser/{wayfinding-BiZuXF9Q.js → wayfinding-BUQns13Y.js} +516 -510
- package/dist/esm/components/BaseFilterModal.d.ts +4 -2
- package/dist/esm/components/BaseFilterModal.js +1 -1
- package/dist/esm/components/CategoryFilterModal.js +1 -1
- package/dist/esm/components/Map/drawing/config/booth-badge-anchor.d.ts +57 -5
- package/dist/esm/components/Map/drawing/config/booth-badge-anchor.js +1 -1
- package/dist/esm/components/Map/drawing/config/booth-fill-color.d.ts +16 -0
- package/dist/esm/components/Map/drawing/config/booth-fill-color.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/SearchButtons/SearchButton.d.ts +1 -0
- package/dist/esm/components/SearchButtons/SearchButton.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/services/URLFilterManager.d.ts +8 -0
- package/dist/esm/services/URLFilterManager.js +1 -1
- package/dist/esm/store/CategoryFilterStore.d.ts +33 -1
- package/dist/esm/store/CategoryFilterStore.js +1 -1
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RouteStore.d.ts +9 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/SearchStore.js +1 -1
- package/dist/esm/store/providers/SearchShortcutProvider.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsActions.d.ts +7 -0
- package/dist/esm/store/search-buttons/SearchButtonsActions.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFactory.d.ts +2 -2
- package/dist/esm/store/search-buttons/SearchButtonsFactory.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFilters.d.ts +2 -2
- package/dist/esm/store/search-buttons/SearchButtonsFilters.js +1 -1
- package/dist/esm/store/search-buttons/constants.d.ts +0 -3
- package/dist/esm/store/search-buttons/constants.js +1 -1
- package/dist/esm/store/search-buttons/utils.d.ts +23 -2
- package/dist/esm/store/search-buttons/utils.js +1 -1
- package/dist/esm/store/types.d.ts +5 -0
- package/dist/esm/test/store-harness.js +1 -1
- package/dist/esm/utils/filter-groups.d.ts +9 -0
- package/dist/esm/utils/filter-groups.js +1 -0
- package/dist/esm/utils/gps.d.ts +5 -1
- package/dist/esm/utils/gps.js +1 -1
- package/package.json +10 -10
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.47.0" };
|
|
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] = "0c1d7a9c-ce2d-44c1-9cd0-5bd3fb53e1a5", e._sentryDebugIdIdentifier = "sentry-dbid-0c1d7a9c-ce2d-44c1-9cd0-5bd3fb53e1a5");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { a as t, c as n, i as r, n as i, o as a, r as o, s, t as c } from "./floorplan.loader-
|
|
11
|
-
import { $ as l, A as u, Ct as d, D as f, Dt as p, Et as
|
|
12
|
-
import { s as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { a as
|
|
16
|
-
import { n as
|
|
17
|
-
import { C as
|
|
18
|
-
import { l as
|
|
19
|
-
import { t as
|
|
20
|
-
import { i as
|
|
21
|
-
import { a as
|
|
22
|
-
import { l as
|
|
23
|
-
import { n as
|
|
24
|
-
import { $ as
|
|
25
|
-
import {
|
|
26
|
-
import { C as ut, S as dt, a as D, b as ft, h as pt, i as mt, m as ht, n as O, p as gt, s as _t, t as vt, u as yt, v as bt, w as k, y as A } from "./RouteStore-
|
|
27
|
-
import { r as xt, t as St } from "./kiosk-mode-
|
|
28
|
-
import { n as Ct, t as wt } from "./integrateKiosk-
|
|
29
|
-
import { t as Tt } from "./init-ui-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-5rOLGCTp.js";
|
|
10
|
+
import { a as t, c as n, i as r, n as i, o as a, r as o, s, t as c } from "./floorplan.loader-DEaS-fgT.js";
|
|
11
|
+
import { $ as l, A as u, Ct as d, D as f, Dt as p, Et as ee, H as m, J as te, O as ne, Ot as h, Q as re, R as ie, St as ae, Tt as oe, Y as se, Z as g, _t as ce, at as le, bt as ue, ct as de, dt as fe, et as pe, ft as me, gt as he, ht as ge, it as _e, l as ve, lt as ye, mt as be, n as xe, o as Se, ot as Ce, pt as we, r as Te, tt as Ee, ut as De, vt as Oe, wt as ke, xt as Ae, yt as je } from "./i18n-DlquqKCP.js";
|
|
12
|
+
import { s as Me } from "./efp-debug-init-D3gNE8Zq.js";
|
|
13
|
+
import { t as Ne } from "./react-XuvSZP7j.js";
|
|
14
|
+
import { t as Pe } from "./jsx-runtime-BzLvm2y2.js";
|
|
15
|
+
import { a as _, o as Fe } from "./is-debug-IkNSAGo8.js";
|
|
16
|
+
import { n as Ie, t as Le } from "./is-own-domain-yrTLx04R.js";
|
|
17
|
+
import { C as Re, D as ze, Q as Be, ht as v, i as Ve, n as He, w as Ue } from "./exports-CnYQMV4a.js";
|
|
18
|
+
import { l as We, u as Ge } from "./mobx.module-BTnTbXnp.js";
|
|
19
|
+
import { t as Ke } from "./client-DbQnuxsE.js";
|
|
20
|
+
import { i as qe, n as Je, r as y, t as Ye } from "./components-CzNKFauU.js";
|
|
21
|
+
import { a as Xe, h as Ze, i as Qe, p as $e } from "./UIState-Dd6fvko0.js";
|
|
22
|
+
import { l as b, u as x } from "./store-DTvNQcN7.js";
|
|
23
|
+
import { n as et } from "./event-scoped-cache-CUHa0QyF.js";
|
|
24
|
+
import { $t as S, Bt as tt, Jt as nt, N as C, P as rt, Vt as it, et as w, g as at, j as ot, w as st } from "./LayerStore-DCg-juRT.js";
|
|
25
|
+
import { m as T, p as ct, u as lt, v as E } from "./wayfinding-BUQns13Y.js";
|
|
26
|
+
import { C as ut, S as dt, a as D, b as ft, h as pt, i as mt, m as ht, n as O, p as gt, s as _t, t as vt, u as yt, v as bt, w as k, y as A } from "./RouteStore-B82dztUW.js";
|
|
27
|
+
import { r as xt, t as St } from "./kiosk-mode-zD8K_fUT.js";
|
|
28
|
+
import { n as Ct, t as wt } from "./integrateKiosk-CumGPvbc.js";
|
|
29
|
+
import { t as Tt } from "./init-ui-BQ7d5hKB.js";
|
|
30
30
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
|
|
31
31
|
function Et(e = {}) {
|
|
32
32
|
let n = r.document, i = (n == null ? void 0 : n.head) || (n == null ? void 0 : n.body);
|
|
33
33
|
if (!i) {
|
|
34
|
-
o &&
|
|
34
|
+
o && v.error("[showReportDialog] Global document not defined");
|
|
35
35
|
return;
|
|
36
36
|
}
|
|
37
|
-
let a =
|
|
37
|
+
let a = Ue(), s = Re(), c = s == null ? void 0 : s.getDsn();
|
|
38
38
|
if (!c) {
|
|
39
|
-
o &&
|
|
39
|
+
o && v.error("[showReportDialog] DSN not configured");
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
42
|
let l = {
|
|
@@ -45,7 +45,7 @@ function Et(e = {}) {
|
|
|
45
45
|
...a.getUser(),
|
|
46
46
|
...e.user
|
|
47
47
|
},
|
|
48
|
-
eventId: e.eventId ||
|
|
48
|
+
eventId: e.eventId || Ve()
|
|
49
49
|
}, u = r.document.createElement("script");
|
|
50
50
|
u.async = !0, u.crossOrigin = "anonymous", u.src = t(c, l);
|
|
51
51
|
let { onLoad: d, onClose: f } = l;
|
|
@@ -63,7 +63,7 @@ function Et(e = {}) {
|
|
|
63
63
|
}
|
|
64
64
|
//#endregion
|
|
65
65
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/error.js
|
|
66
|
-
var j = /* @__PURE__ */ e(
|
|
66
|
+
var j = /* @__PURE__ */ e(Ne());
|
|
67
67
|
function Dt(e) {
|
|
68
68
|
let t = e.match(/^([^.]+)/);
|
|
69
69
|
return t !== null && parseInt(t[0]) >= 17;
|
|
@@ -79,11 +79,11 @@ function Ot(e, t) {
|
|
|
79
79
|
r(e, t);
|
|
80
80
|
}
|
|
81
81
|
function kt(e, { componentStack: t }, n) {
|
|
82
|
-
if (Dt(j.version) &&
|
|
82
|
+
if (Dt(j.version) && Be(e) && t) {
|
|
83
83
|
let n = Error(e.message);
|
|
84
84
|
n.name = `React ErrorBoundary ${e.name}`, n.stack = t, Ot(e, n);
|
|
85
85
|
}
|
|
86
|
-
return
|
|
86
|
+
return He(e, n);
|
|
87
87
|
}
|
|
88
88
|
//#endregion
|
|
89
89
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/debug-build.js
|
|
@@ -94,7 +94,7 @@ var At = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, M = {
|
|
|
94
94
|
}, jt = class extends j.Component {
|
|
95
95
|
constructor(e) {
|
|
96
96
|
super(e), this.state = M, this._openFallbackReportDialog = !0;
|
|
97
|
-
let t =
|
|
97
|
+
let t = Re();
|
|
98
98
|
t && e.showDialog && (this._openFallbackReportDialog = !1, this._cleanupHook = t.on("afterSendEvent", (t) => {
|
|
99
99
|
!t.type && this._lastEventId && t.event_id === this._lastEventId && Et({
|
|
100
100
|
...e.dialogOptions,
|
|
@@ -104,7 +104,7 @@ var At = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, M = {
|
|
|
104
104
|
}
|
|
105
105
|
componentDidCatch(e, t) {
|
|
106
106
|
let { componentStack: n } = t, { beforeCapture: r, onError: i, showDialog: a, dialogOptions: o } = this.props;
|
|
107
|
-
|
|
107
|
+
ze((s) => {
|
|
108
108
|
r && r(s, e, n);
|
|
109
109
|
let c = kt(e, t, { mechanism: {
|
|
110
110
|
handled: this.props.handled == null ? !!this.props.fallback : this.props.handled,
|
|
@@ -141,9 +141,9 @@ var At = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, M = {
|
|
|
141
141
|
resetError: () => this.resetErrorBoundary(),
|
|
142
142
|
eventId: n.eventId
|
|
143
143
|
}) : e;
|
|
144
|
-
return j.isValidElement(r) ? r : (e && At &&
|
|
144
|
+
return j.isValidElement(r) ? r : (e && At && v.warn("fallback did not produce a valid ReactElement"), null);
|
|
145
145
|
}
|
|
146
|
-
}, Mt = /* @__PURE__ */ e(
|
|
146
|
+
}, Mt = /* @__PURE__ */ e(Me(), 1), Nt = Ke(), Pt = Ze();
|
|
147
147
|
function N() {
|
|
148
148
|
let e = window.location.hostname.split(".");
|
|
149
149
|
return e.length >= 3 && e[e.length - 2] === "expofp" && e[e.length - 1] === "com";
|
|
@@ -176,9 +176,9 @@ function zt(e) {
|
|
|
176
176
|
}
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/mini/schemas.js
|
|
179
|
-
var P = /*@__PURE__*/
|
|
179
|
+
var P = /*@__PURE__*/ p("ZodMiniType", (e, t) => {
|
|
180
180
|
if (!e._zod) throw Error("Uninitialized schema in ZodMiniType.");
|
|
181
|
-
|
|
181
|
+
je.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => ue(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => ae(e, t, n), e.parseAsync = async (t, n) => Ae(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => d(e, t, n), e.check = (...n) => {
|
|
182
182
|
var r;
|
|
183
183
|
return e.clone({
|
|
184
184
|
...t,
|
|
@@ -188,41 +188,41 @@ var P = /*@__PURE__*/ m("ZodMiniType", (e, t) => {
|
|
|
188
188
|
onattach: []
|
|
189
189
|
} } : e)]
|
|
190
190
|
}, { parent: !0 });
|
|
191
|
-
}, e.with = e.check, e.clone = (t, n) =>
|
|
192
|
-
}), Bt = /*@__PURE__*/
|
|
193
|
-
|
|
191
|
+
}, e.with = e.check, e.clone = (t, n) => ke(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.apply = (t) => t(e);
|
|
192
|
+
}), Bt = /*@__PURE__*/ p("ZodMiniString", (e, t) => {
|
|
193
|
+
Oe.init(e, t), P.init(e, t);
|
|
194
194
|
});
|
|
195
195
|
// @__NO_SIDE_EFFECTS__
|
|
196
196
|
function F(e) {
|
|
197
|
-
return
|
|
197
|
+
return fe(Bt, e);
|
|
198
198
|
}
|
|
199
|
-
var Vt = /*@__PURE__*/
|
|
200
|
-
|
|
199
|
+
var Vt = /*@__PURE__*/ p("ZodMiniNumber", (e, t) => {
|
|
200
|
+
ge.init(e, t), P.init(e, t);
|
|
201
201
|
});
|
|
202
202
|
// @__NO_SIDE_EFFECTS__
|
|
203
203
|
function I(e) {
|
|
204
|
-
return
|
|
204
|
+
return ye(Vt, e);
|
|
205
205
|
}
|
|
206
|
-
var Ht = /*@__PURE__*/
|
|
207
|
-
|
|
206
|
+
var Ht = /*@__PURE__*/ p("ZodMiniNever", (e, t) => {
|
|
207
|
+
be.init(e, t), P.init(e, t);
|
|
208
208
|
});
|
|
209
209
|
// @__NO_SIDE_EFFECTS__
|
|
210
210
|
function Ut(e) {
|
|
211
|
-
return
|
|
211
|
+
return de(Ht, e);
|
|
212
212
|
}
|
|
213
|
-
var Wt = /*@__PURE__*/
|
|
214
|
-
|
|
213
|
+
var Wt = /*@__PURE__*/ p("ZodMiniArray", (e, t) => {
|
|
214
|
+
me.init(e, t), P.init(e, t);
|
|
215
215
|
});
|
|
216
216
|
// @__NO_SIDE_EFFECTS__
|
|
217
217
|
function L(e, t) {
|
|
218
218
|
return new Wt({
|
|
219
219
|
type: "array",
|
|
220
220
|
element: e,
|
|
221
|
-
...
|
|
221
|
+
...ee(t)
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
|
-
var Gt = /*@__PURE__*/
|
|
225
|
-
|
|
224
|
+
var Gt = /*@__PURE__*/ p("ZodMiniObject", (e, t) => {
|
|
225
|
+
he.init(e, t), P.init(e, t), oe(e, "shape", () => t.shape);
|
|
226
226
|
});
|
|
227
227
|
// @__NO_SIDE_EFFECTS__
|
|
228
228
|
function R(e, t) {
|
|
@@ -230,11 +230,11 @@ function R(e, t) {
|
|
|
230
230
|
type: "object",
|
|
231
231
|
shape: e,
|
|
232
232
|
catchall: /* @__PURE__ */ Ut(),
|
|
233
|
-
...
|
|
233
|
+
...ee(t)
|
|
234
234
|
});
|
|
235
235
|
}
|
|
236
|
-
var Kt = /*@__PURE__*/
|
|
237
|
-
|
|
236
|
+
var Kt = /*@__PURE__*/ p("ZodMiniOptional", (e, t) => {
|
|
237
|
+
ce.init(e, t), P.init(e, t);
|
|
238
238
|
});
|
|
239
239
|
// @__NO_SIDE_EFFECTS__
|
|
240
240
|
function z(e) {
|
|
@@ -243,12 +243,12 @@ function z(e) {
|
|
|
243
243
|
innerType: e
|
|
244
244
|
});
|
|
245
245
|
}
|
|
246
|
-
var qt = /*@__PURE__*/
|
|
247
|
-
|
|
246
|
+
var qt = /*@__PURE__*/ p("ZodMiniCustom", (e, t) => {
|
|
247
|
+
we.init(e, t), P.init(e, t);
|
|
248
248
|
});
|
|
249
249
|
// @__NO_SIDE_EFFECTS__
|
|
250
250
|
function Jt(e, t = {}) {
|
|
251
|
-
return
|
|
251
|
+
return De(qt, e, t);
|
|
252
252
|
}
|
|
253
253
|
//#endregion
|
|
254
254
|
//#region src/schemas/sdk.schemas.ts
|
|
@@ -271,7 +271,7 @@ var Yt = /* @__PURE__ */ R({
|
|
|
271
271
|
//#endregion
|
|
272
272
|
//#region src/components/Kiosk/recoverKioskFromUrlPrams.ts
|
|
273
273
|
function en(e) {
|
|
274
|
-
let t =
|
|
274
|
+
let t = Xe(e);
|
|
275
275
|
Object.values(t).length && (wt(t, !1), Ct(t));
|
|
276
276
|
}
|
|
277
277
|
//#endregion
|
|
@@ -286,59 +286,59 @@ function tn(e) {
|
|
|
286
286
|
//#region src/services/multi-slug.ts
|
|
287
287
|
function nn(e, t) {
|
|
288
288
|
if (!e.includes("&") && !e.includes("%26")) return null;
|
|
289
|
-
let n = e.startsWith("?") ? e.slice(1) : e, r = n.includes("&") ? "&" : "%26", i = n.split(r), a = (e) => !!e && !
|
|
289
|
+
let n = e.startsWith("?") ? e.slice(1) : e, r = n.includes("&") ? "&" : "%26", i = n.split(r), a = (e) => !!e && !g(e).includes("=");
|
|
290
290
|
return i.filter(a).length < 2 ? null : "?" + i.map((e) => a(e) && t(e) || e).join("&");
|
|
291
291
|
}
|
|
292
292
|
//#endregion
|
|
293
293
|
//#region src/services/url-dispatch.ts
|
|
294
294
|
var B = !1, V = !1;
|
|
295
295
|
function rn() {
|
|
296
|
-
W(
|
|
297
|
-
let e =
|
|
298
|
-
Object.keys(e).length && xn(
|
|
299
|
-
let t =
|
|
300
|
-
Object.keys(t).length &&
|
|
296
|
+
W(h()), C(() => b.layerStore.layersLoaded, () => {
|
|
297
|
+
let e = h().camera;
|
|
298
|
+
Object.keys(e).length && xn(y(e));
|
|
299
|
+
let t = h().visibility;
|
|
300
|
+
Object.keys(t).length && x.setVisibility(t);
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
303
|
function an(e) {
|
|
304
304
|
dt({
|
|
305
305
|
offHistory: e,
|
|
306
306
|
onNavigate: () => U({ backForward: !0 })
|
|
307
|
-
}), dn(), H(),
|
|
308
|
-
|
|
307
|
+
}), dn(), H(), C(() => b.layerStore.layersLoaded, () => {
|
|
308
|
+
b.urlFilterManager && !b.urlFilterManager.isInitialized && b.urlFilterManager.initialize(), V = !0;
|
|
309
309
|
try {
|
|
310
310
|
U();
|
|
311
311
|
} finally {
|
|
312
312
|
V = !1;
|
|
313
313
|
}
|
|
314
|
-
|
|
314
|
+
ot(G), ot(_n), x.viewerMode && (x.menu = !0);
|
|
315
315
|
});
|
|
316
316
|
}
|
|
317
317
|
function on(e = "") {
|
|
318
|
-
k("?" +
|
|
318
|
+
k("?" + g(e.toString())), b.layerStore.layersLoaded ? sn(e) : (H(), C(() => b.layerStore.layersLoaded, () => sn(e)));
|
|
319
319
|
}
|
|
320
320
|
function sn(e) {
|
|
321
321
|
var t, r;
|
|
322
|
-
let i = "?" +
|
|
322
|
+
let i = "?" + g(e), a = hn(i), o = [...(t = a.intents) == null ? [] : t, ...l(i).intents], { intents: s = [], ...c } = re(i, {
|
|
323
323
|
visibility: a.visibility,
|
|
324
324
|
consent: a.consent,
|
|
325
325
|
intents: o
|
|
326
326
|
});
|
|
327
327
|
W(a), W(c);
|
|
328
328
|
let u = (r = a.consent) == null ? c.consent : r;
|
|
329
|
-
u && pt(u), a.camera && Object.keys(a.camera).length && xn(
|
|
329
|
+
u && pt(u), a.camera && Object.keys(a.camera).length && xn(y(a.camera)), a.visibility && Object.keys(a.visibility).length && x.setVisibility(a.visibility), dn(), U();
|
|
330
330
|
let d = [...o, ...s];
|
|
331
|
-
d.length && n(
|
|
331
|
+
d.length && n(b.fp, d);
|
|
332
332
|
}
|
|
333
333
|
function H() {
|
|
334
334
|
let e = A();
|
|
335
|
-
return
|
|
335
|
+
return Je(e.length > 1 ? g(e.substring(1)) : "");
|
|
336
336
|
}
|
|
337
337
|
function U(e = {}) {
|
|
338
338
|
B = !0;
|
|
339
339
|
try {
|
|
340
|
-
en(new URLSearchParams(
|
|
341
|
-
let { primary: t } = te(A()), n = t.type === "select" && (!t.slug || /^t=[^&]*$/.test(t.slug)) && (
|
|
340
|
+
en(new URLSearchParams(g(window.location.search)));
|
|
341
|
+
let { primary: t } = te(A()), n = t.type === "select" && (!t.slug || /^t=[^&]*$/.test(t.slug)) && (x.heatmap || x.heatmapYah);
|
|
342
342
|
!H() && !n && (e.backForward ? cn(t) : ln(t));
|
|
343
343
|
} finally {
|
|
344
344
|
B = !1;
|
|
@@ -350,15 +350,15 @@ function U(e = {}) {
|
|
|
350
350
|
_n(), G();
|
|
351
351
|
}
|
|
352
352
|
function cn(e) {
|
|
353
|
-
e.type === "list" && e.list === "sessions" ?
|
|
353
|
+
e.type === "list" && e.list === "sessions" ? b.fp.showSessions() : ln(e);
|
|
354
354
|
let { intents: t } = l(A());
|
|
355
|
-
n(
|
|
355
|
+
n(b.fp, t.filter((e) => e.name === "showSessions"));
|
|
356
356
|
}
|
|
357
357
|
function ln(e) {
|
|
358
|
-
let t =
|
|
358
|
+
let t = b.fp;
|
|
359
359
|
switch (e.type) {
|
|
360
360
|
case "kiosk":
|
|
361
|
-
e.enabled !== null && St(
|
|
361
|
+
e.enabled !== null && St(x, e.enabled);
|
|
362
362
|
return;
|
|
363
363
|
case "list":
|
|
364
364
|
t.showList(e.list);
|
|
@@ -367,7 +367,7 @@ function ln(e) {
|
|
|
367
367
|
t.selectTour(e.tourId);
|
|
368
368
|
return;
|
|
369
369
|
case "planner":
|
|
370
|
-
V &&
|
|
370
|
+
V && b.searchButtonsStore.keepFiltersOnNextNavigation(), t.openPlanner({
|
|
371
371
|
items: e.items,
|
|
372
372
|
from: e.from,
|
|
373
373
|
fromBookmarks: e.fromBookmarks
|
|
@@ -375,16 +375,16 @@ function ln(e) {
|
|
|
375
375
|
return;
|
|
376
376
|
case "route": {
|
|
377
377
|
var n, r;
|
|
378
|
-
|
|
378
|
+
b.routeStore.setOnlyAccessible(e.accessible);
|
|
379
379
|
let t = mt((n = e.from) == null ? "" : n, (r = e.to) == null ? "" : r, e.waypoints);
|
|
380
|
-
V && !(t.from && t.from === t.to) &&
|
|
380
|
+
V && !(t.from && t.from === t.to) && b.searchButtonsStore.keepFiltersOnNextNavigation(), b.routeStore.selectRoute(t), b.uiState.setIsMultiPointRoute(e.waypoints.length > 0), e.title && b.uiState.setRouteTitle(e.title);
|
|
381
381
|
return;
|
|
382
382
|
}
|
|
383
383
|
case "selectExhibitors":
|
|
384
384
|
setTimeout(() => t.selectExhibitor(e.values), 250);
|
|
385
385
|
return;
|
|
386
386
|
case "ownedByFilters":
|
|
387
|
-
|
|
387
|
+
Fe.log("Skipping filter parameters in dispatchFromUrl (owned by URLFilterManager)");
|
|
388
388
|
return;
|
|
389
389
|
case "ownedByConfig": return;
|
|
390
390
|
case "select":
|
|
@@ -393,20 +393,20 @@ function ln(e) {
|
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
395
|
function un(e) {
|
|
396
|
-
let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i =
|
|
397
|
-
if (
|
|
396
|
+
let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i = b.boothStore.booths.filter((e) => n.includes(e.externalId)), a = b.exhibitorStore.exhibitors.filter((e) => r.includes(e.externalId)).flatMap((e) => e.booths), o = [...i, ...a];
|
|
397
|
+
if (tt()) {
|
|
398
398
|
let e = tn(o.map((e) => e.layer.name));
|
|
399
|
-
e &&
|
|
399
|
+
e && b.fp.activateFloor({ name: e });
|
|
400
400
|
}
|
|
401
|
-
(n.length > 0 || r.length > 0) &&
|
|
402
|
-
|
|
401
|
+
(n.length > 0 || r.length > 0) && b.fp.highlightEntities([...n, ...r]), b.layerStore.showPathWay(t), o.length > 0 && Ge(() => {
|
|
402
|
+
b.uiState.moveToRect = S.fromUnion(...o.map((e) => e.rect).filter(Boolean)), b.uiState.rollReset = !0;
|
|
403
403
|
});
|
|
404
404
|
}
|
|
405
405
|
function dn() {
|
|
406
406
|
let { oneShots: e } = te(A());
|
|
407
407
|
for (let t of e) fn(t);
|
|
408
|
-
let t =
|
|
409
|
-
t !== null && k("?" + t),
|
|
408
|
+
let t = Qe(A());
|
|
409
|
+
t !== null && k("?" + t), x.previewExhibitor && k("?" + x.previewExhibitor.slug), mn();
|
|
410
410
|
}
|
|
411
411
|
function fn(e) {
|
|
412
412
|
switch (e.type) {
|
|
@@ -415,47 +415,47 @@ function fn(e) {
|
|
|
415
415
|
return;
|
|
416
416
|
case "blueDot": {
|
|
417
417
|
var t, n;
|
|
418
|
-
let r = new vt(e.x, e.y, (t =
|
|
419
|
-
|
|
418
|
+
let r = new vt(e.x, e.y, (t = b.layerStore.findLayer((n = e.layer) == null ? "" : n)) == null ? void 0 : t.name, void 0, e.lat, e.lng);
|
|
419
|
+
C(() => b.layerStore.layersLoaded, () => b.routeStore.selectCurrentPosition(r, !0, 1));
|
|
420
420
|
return;
|
|
421
421
|
}
|
|
422
422
|
case "viewerMode":
|
|
423
|
-
ve && (e.enabled ? localStorage.setItem(
|
|
423
|
+
ve && (e.enabled ? localStorage.setItem(m, "true") : (localStorage.removeItem(m), localStorage.removeItem(u)));
|
|
424
424
|
return;
|
|
425
425
|
case "previewMode":
|
|
426
426
|
ve && (e.enabled ? localStorage.setItem(ie, "true") : (localStorage.removeItem(ie), localStorage.removeItem(ne)));
|
|
427
427
|
return;
|
|
428
428
|
case "uiScale":
|
|
429
|
-
e.scale === null ?
|
|
429
|
+
e.scale === null ? Fe.warn(`Invalid ui-scale parameter: ${e.raw}. Must be a number between 0.8 and 1.4.`) : b.uiState.setUIScale(e.scale, !0);
|
|
430
430
|
return;
|
|
431
431
|
case "resetUiScale":
|
|
432
|
-
|
|
432
|
+
b.uiState.resetUIScale();
|
|
433
433
|
return;
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
function pn(e) {
|
|
437
|
-
ft(), e ? (
|
|
437
|
+
ft(), e ? (x.heatmapYah = !0, x.monochrome = !0, x.hideLogoInBooth = !0, x.hideHeaderLogo = !0, x.disableBookmarked = !0) : x.heatmap = !0;
|
|
438
438
|
}
|
|
439
439
|
function mn() {
|
|
440
440
|
let e = nn(A(), (e) => {
|
|
441
|
-
let t =
|
|
441
|
+
let t = b.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
|
|
442
442
|
return t == null ? void 0 : t.name;
|
|
443
443
|
});
|
|
444
444
|
e !== null && k(e);
|
|
445
445
|
}
|
|
446
446
|
function W(e) {
|
|
447
|
-
e.noOverlay !== void 0 && (
|
|
447
|
+
e.noOverlay !== void 0 && (x.hideOverlay = e.noOverlay), e.monochrome && (x.monochrome = !0), e.hideHeaderLogo && (x.hideHeaderLogo = !0), e.hideLogoInBooth && (x.hideLogoInBooth = !0), e.disableFeatured && b.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (x.disableBookmarked = !0), e.disableGps && b.routeStore.setGpsTrackingEnabled(!1), e.heatmap && i(e.heatmap) && pn(e.heatmap.variant === "yah");
|
|
448
448
|
}
|
|
449
449
|
function hn(e) {
|
|
450
|
-
return
|
|
450
|
+
return Ee(_e, e).value;
|
|
451
451
|
}
|
|
452
|
-
var gn =
|
|
452
|
+
var gn = et(() => ({
|
|
453
453
|
exhibitor: null,
|
|
454
454
|
booth: null,
|
|
455
455
|
eventItem: null
|
|
456
456
|
}));
|
|
457
457
|
function _n() {
|
|
458
|
-
let { selection: e, exhibitor: t, booth: n, eventItem: r } = bn(), i =
|
|
458
|
+
let { selection: e, exhibitor: t, booth: n, eventItem: r } = bn(), i = b.urlFilterManager.filterSearch(), a = vn(e);
|
|
459
459
|
if (B) return;
|
|
460
460
|
let o = a || se(e) || i;
|
|
461
461
|
if (A() === o) return;
|
|
@@ -464,7 +464,7 @@ function _n() {
|
|
|
464
464
|
}
|
|
465
465
|
function vn(e) {
|
|
466
466
|
if (e.type !== "list" || e.list !== "sessions") return "";
|
|
467
|
-
let { selectedTracks: t, selectedVenues: n, date: r, timeOfDay: i, showBookmarksOnly: a, showLiveOnly: o } =
|
|
467
|
+
let { selectedTracks: t, selectedVenues: n, date: r, timeOfDay: i, showBookmarksOnly: a, showLiveOnly: o } = b.sessionsFilterStore.state.filters, s = {};
|
|
468
468
|
return t.value.length && (s.tracks = yn(t.value)), n.value.length && (s.venues = yn(n.value)), r.value !== "all" && (s.date = r.value), r.value === "today" && i.value !== "all" && (s.time = i.value), a.value && (s.bookmarked = !0), o.value && (s.live = !0), Object.keys(s).length ? "?" + pe({
|
|
469
469
|
name: "showSessions",
|
|
470
470
|
args: [s]
|
|
@@ -474,23 +474,23 @@ function yn(e) {
|
|
|
474
474
|
return [...e].sort((e, t) => e - t).map(String);
|
|
475
475
|
}
|
|
476
476
|
function bn() {
|
|
477
|
-
let e =
|
|
477
|
+
let e = x.selectedExhibitor, t = x.selectedBooth, n = x.selectedEventItem, r = x.selectedRoute, i = x.selectedSpeaker, a = x.setKioskModeEnabled, o = x.list, s;
|
|
478
478
|
if (o.type === "route-planner" && !e && !t && !n) {
|
|
479
479
|
var c;
|
|
480
|
-
let e =
|
|
480
|
+
let e = b.routePlannerStore;
|
|
481
481
|
s = {
|
|
482
482
|
type: "planner",
|
|
483
483
|
fromBookmarks: e.source === "bookmarks",
|
|
484
484
|
items: e.items.map((e) => e.entity.slug).filter(Boolean),
|
|
485
485
|
from: ((c = e.startPoint) == null ? void 0 : c.slug) || void 0
|
|
486
486
|
};
|
|
487
|
-
} else if (r && !
|
|
487
|
+
} else if (r && !x.isMultiPointRoute) {
|
|
488
488
|
var l;
|
|
489
489
|
s = {
|
|
490
490
|
type: "route",
|
|
491
|
-
to: r.to instanceof
|
|
492
|
-
from: r.from instanceof
|
|
493
|
-
accessible:
|
|
491
|
+
to: r.to instanceof w ? r.to.slug : void 0,
|
|
492
|
+
from: r.from instanceof w ? r.from.slug : void 0,
|
|
493
|
+
accessible: b.routeStore.onlyAccessible,
|
|
494
494
|
waypoints: (l = r.waypoints) == null ? void 0 : l.map((e) => e.slug)
|
|
495
495
|
};
|
|
496
496
|
} else if (e) s = {
|
|
@@ -527,7 +527,7 @@ function bn() {
|
|
|
527
527
|
var u, d;
|
|
528
528
|
s = {
|
|
529
529
|
type: "slug",
|
|
530
|
-
slug: (u = (d =
|
|
530
|
+
slug: (u = (d = x.selectedCategory) == null ? void 0 : d.slug) == null ? "" : u
|
|
531
531
|
};
|
|
532
532
|
break;
|
|
533
533
|
case "search":
|
|
@@ -560,15 +560,15 @@ function bn() {
|
|
|
560
560
|
}
|
|
561
561
|
function G() {
|
|
562
562
|
var e;
|
|
563
|
-
if (!
|
|
564
|
-
let t =
|
|
565
|
-
t ? i = t.name : n ? i = n.name : r ? i = r.name :
|
|
563
|
+
if (!Le) return;
|
|
564
|
+
let t = x.selectedExhibitor, n = x.selectedEventItem, r = x.selectedSpeaker, i = "";
|
|
565
|
+
t ? i = t.name : n ? i = n.name : r ? i = r.name : x.list.type === "search" && x.list.text ? i = "`" + (x.list.text || "") + "`" : x.list.type === "multi-point-tour" && x.tourTitle && (i = x.tourTitle), i.length && (i += " – "), i += (e = a(nt, Ie)) == null ? s(window.location.hostname, Ie) : e, document.title = i;
|
|
566
566
|
}
|
|
567
567
|
function xn(e) {
|
|
568
568
|
try {
|
|
569
|
-
if (
|
|
570
|
-
let t =
|
|
571
|
-
t &&
|
|
569
|
+
if (x.setMapSettings(e), e.z) {
|
|
570
|
+
let t = b.layerStore.layers.find((t) => t.name === e.z);
|
|
571
|
+
t && b.layerStore.updateVisibility(t, !0);
|
|
572
572
|
}
|
|
573
573
|
} catch (e) {
|
|
574
574
|
console.error("Failed to process map settings.", e);
|
|
@@ -577,25 +577,25 @@ function xn(e) {
|
|
|
577
577
|
//#endregion
|
|
578
578
|
//#region src/store/details-events.ts
|
|
579
579
|
function Sn() {
|
|
580
|
-
return
|
|
580
|
+
return We(() => x.details, () => {
|
|
581
581
|
var e;
|
|
582
|
-
if (!
|
|
583
|
-
if (!
|
|
584
|
-
|
|
582
|
+
if (!x.onDetails) return;
|
|
583
|
+
if (!x.details) {
|
|
584
|
+
x.onDetails(null);
|
|
585
585
|
return;
|
|
586
586
|
}
|
|
587
|
-
let t =
|
|
588
|
-
if (
|
|
587
|
+
let t = x.details;
|
|
588
|
+
if (it.EXPO === "wineparis" && (t instanceof at && (t = t.booths[0]), !t)) return;
|
|
589
589
|
let n = null, r = [];
|
|
590
|
-
if (t instanceof
|
|
590
|
+
if (t instanceof at) n = "exhibitor", r = t.booths.map((e) => e.name).sort((e, t) => {
|
|
591
591
|
var n, r;
|
|
592
|
-
return e == ((n =
|
|
592
|
+
return e == ((n = b.routeStore.tempToBooth) == null ? void 0 : n.name) ? -1 : +(t == ((r = b.routeStore.tempToBooth) == null ? void 0 : r.name));
|
|
593
593
|
});
|
|
594
|
-
else if (t instanceof
|
|
594
|
+
else if (t instanceof w) n = "booth", r = [t.name];
|
|
595
595
|
else if (t instanceof O) {
|
|
596
596
|
var i, a;
|
|
597
597
|
n = "route", r = [(i = t.from) == null ? void 0 : i.name, (a = t.to) == null ? void 0 : a.name].filter((e) => !!e);
|
|
598
|
-
} else t instanceof
|
|
598
|
+
} else t instanceof $e && (n = "category", r = t.exhibitors.map((e) => e.booths.map((e) => e.name)).flat());
|
|
599
599
|
let o = t, s = {
|
|
600
600
|
type: n,
|
|
601
601
|
name: o == null ? void 0 : o.name,
|
|
@@ -603,9 +603,9 @@ function Sn() {
|
|
|
603
603
|
externalId: o == null ? void 0 : o.externalId,
|
|
604
604
|
boothsNames: r
|
|
605
605
|
};
|
|
606
|
-
|
|
606
|
+
x.onDetails({
|
|
607
607
|
...s,
|
|
608
|
-
...n === "route" ? { routeInfo: (e =
|
|
608
|
+
...n === "route" ? { routeInfo: (e = b.routeStore.routeInfo) == null ? void 0 : e } : {}
|
|
609
609
|
});
|
|
610
610
|
});
|
|
611
611
|
}
|
|
@@ -683,35 +683,35 @@ function J(e) {
|
|
|
683
683
|
}
|
|
684
684
|
//#endregion
|
|
685
685
|
//#region src/floorplan.ready.tsx
|
|
686
|
-
var Y =
|
|
686
|
+
var Y = Pe(), X = (0, Mt.default)("efp:api");
|
|
687
687
|
(0, Pt.install)();
|
|
688
688
|
var Cn = class extends c {
|
|
689
689
|
constructor(...e) {
|
|
690
690
|
super(...e), this.root = void 0;
|
|
691
691
|
}
|
|
692
692
|
init() {
|
|
693
|
-
gt(), rn(), this.ignoreQuery || an(this.offHistory), bt("load"), Tt(
|
|
693
|
+
gt(), rn(), this.ignoreQuery || an(this.offHistory), bt("load"), Tt(b), b.fp = this, _(Sn()), st(), pt(this.consent), ht(yt.Load, ""), this.root = (0, Nt.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, Y.jsx)(jt, { children: /* @__PURE__ */ (0, Y.jsx)(Ye, {
|
|
694
694
|
offHistory: this.offHistory,
|
|
695
695
|
consent: this.consent
|
|
696
|
-
}) })), ht(yt.Rendered, ""),
|
|
696
|
+
}) })), ht(yt.Rendered, ""), _(We(() => b.layerStore.layersLoaded, () => {
|
|
697
697
|
let e = this.renderTarget.getRootNode(), t = e instanceof ShadowRoot ? e.host : this.renderTarget.parentElement;
|
|
698
698
|
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); t && this.element.firstChild && this.element.firstChild !== t;) this.element.removeChild(this.element.firstChild);
|
|
699
|
-
if (this.resolveReady(), !
|
|
699
|
+
if (this.resolveReady(), !b.initialized) {
|
|
700
700
|
var n;
|
|
701
701
|
(n = this.onInit) == null || n.call(this, this);
|
|
702
702
|
}
|
|
703
|
-
|
|
704
|
-
})),
|
|
705
|
-
let e = zt(
|
|
706
|
-
e && import("./bootIntercom-
|
|
703
|
+
b.initialized = !0;
|
|
704
|
+
})), _(() => clearTimeout(Q));
|
|
705
|
+
let e = zt(nt);
|
|
706
|
+
e && import("./bootIntercom-C3tqD4Ct.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
|
|
707
707
|
}
|
|
708
708
|
selectBooth(e) {
|
|
709
709
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
710
710
|
$("selectBooth", "Parameter must be a string or an array of strings.", "EFP000000");
|
|
711
711
|
return;
|
|
712
712
|
}
|
|
713
|
-
let t =
|
|
714
|
-
|
|
713
|
+
let t = b.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
714
|
+
b.selectBooth(t);
|
|
715
715
|
}
|
|
716
716
|
selectExhibitor(e) {
|
|
717
717
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
@@ -719,35 +719,46 @@ var Cn = class extends c {
|
|
|
719
719
|
return;
|
|
720
720
|
}
|
|
721
721
|
if (!(e != null && e.length)) {
|
|
722
|
-
|
|
722
|
+
b.uiState.menu = !1, b.searchStore.resetSearchBox(), b.uiState.details = null;
|
|
723
723
|
return;
|
|
724
724
|
}
|
|
725
|
-
let t =
|
|
725
|
+
let t = b.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
726
726
|
if (!(t != null && t.length)) return;
|
|
727
727
|
if (typeof e == "string") {
|
|
728
|
-
|
|
728
|
+
b.selectExhibitor(t[0]), b.moveToList([t[0]]);
|
|
729
729
|
return;
|
|
730
730
|
}
|
|
731
731
|
let n = tn(t.flatMap((e) => e.booths.map((e) => e.layer)).map((e) => e.description));
|
|
732
|
-
n &&
|
|
732
|
+
n && b.layerStore.updateVisibility(n, !0), b.uiState.menu = !1, b.searchStore.resetSearchBox(), b.uiState.details = null, b.uiState.list = {
|
|
733
733
|
type: "filter",
|
|
734
734
|
items: t,
|
|
735
735
|
query: {
|
|
736
736
|
key: "exhibitors",
|
|
737
737
|
value: t.map((e) => e.name).join(",")
|
|
738
738
|
}
|
|
739
|
-
},
|
|
739
|
+
}, b.moveToList();
|
|
740
740
|
}
|
|
741
741
|
highlightExhibitors(e) {
|
|
742
|
-
Array.isArray(e)
|
|
742
|
+
if (!Array.isArray(e)) {
|
|
743
|
+
$("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200");
|
|
744
|
+
return;
|
|
745
|
+
}
|
|
746
|
+
b.boothStore.highlightedByExternalIds = [], b.exhibitorStore.highlightedByExternalIds = [...e];
|
|
743
747
|
}
|
|
744
748
|
highlightBooths(e) {
|
|
745
|
-
Array.isArray(e)
|
|
749
|
+
if (!Array.isArray(e)) {
|
|
750
|
+
$("highlightBooths", "Parameter must be an array of strings.", "EFP000300");
|
|
751
|
+
return;
|
|
752
|
+
}
|
|
753
|
+
b.exhibitorStore.highlightedByExternalIds = [], b.boothStore.highlightedByExternalIds = [...e];
|
|
746
754
|
}
|
|
747
755
|
highlightEntities(e) {
|
|
748
|
-
Array.isArray(e)
|
|
756
|
+
if (!Array.isArray(e)) {
|
|
757
|
+
$("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
|
|
758
|
+
return;
|
|
759
|
+
}
|
|
749
760
|
let { boothExternalIds: t, exhibitorExternalIds: n } = _t(e);
|
|
750
|
-
|
|
761
|
+
b.boothStore.highlightedByExternalIds = [...t], b.exhibitorStore.highlightedByExternalIds = [...n];
|
|
751
762
|
}
|
|
752
763
|
selectRoute(e, t) {
|
|
753
764
|
if (Array.isArray(e)) {
|
|
@@ -758,10 +769,10 @@ var Cn = class extends c {
|
|
|
758
769
|
return;
|
|
759
770
|
}
|
|
760
771
|
let i = t.map(Z).filter((e) => e !== null);
|
|
761
|
-
|
|
772
|
+
b.routeStore.selectRoute(new O(Z(n), Z(r), i));
|
|
762
773
|
return;
|
|
763
774
|
}
|
|
764
|
-
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"),
|
|
775
|
+
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), b.routeStore.selectRoute(new O(Z(e), t ? Z(t) : null));
|
|
765
776
|
}
|
|
766
777
|
getOptimizedRoutes(e) {
|
|
767
778
|
if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
|
|
@@ -781,12 +792,20 @@ var Cn = class extends c {
|
|
|
781
792
|
}
|
|
782
793
|
selectCurrentPosition(e, t, n) {
|
|
783
794
|
var r;
|
|
784
|
-
let i =
|
|
785
|
-
!i && !a
|
|
795
|
+
let i = T(e.x) && T(e.y), a = T(e.lng) && T(e.lat);
|
|
796
|
+
if (!i && !a) {
|
|
797
|
+
$("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600");
|
|
798
|
+
return;
|
|
799
|
+
}
|
|
800
|
+
b.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
|
|
786
801
|
}
|
|
787
802
|
setBookmarks(e) {
|
|
788
|
-
(!Array.isArray(e) || !e.length)
|
|
789
|
-
|
|
803
|
+
if (!Array.isArray(e) || !e.length) {
|
|
804
|
+
$("setBookmarks", "Parameter must be an array.", "EFP000700");
|
|
805
|
+
return;
|
|
806
|
+
}
|
|
807
|
+
e.forEach((e) => {
|
|
808
|
+
let t = b.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
|
|
790
809
|
t && (t.bookmarked = e.bookmarked);
|
|
791
810
|
});
|
|
792
811
|
}
|
|
@@ -805,29 +824,29 @@ var Cn = class extends c {
|
|
|
805
824
|
$("setEntitiesBookmarks", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000702");
|
|
806
825
|
return;
|
|
807
826
|
}
|
|
808
|
-
let r =
|
|
827
|
+
let r = rt("bookmarked"), i = {
|
|
809
828
|
exhibitor: {
|
|
810
829
|
existingIds: new Set(r.exhibitors || []),
|
|
811
|
-
finder: (e) =>
|
|
812
|
-
replacer: (e) =>
|
|
830
|
+
finder: (e) => b.exhibitorStore.findExhibitor(e),
|
|
831
|
+
replacer: (e) => b.exhibitorStore.replaceBookmarked(e)
|
|
813
832
|
},
|
|
814
833
|
event: {
|
|
815
834
|
existingIds: new Set(r.events || []),
|
|
816
|
-
finder: (e) =>
|
|
817
|
-
replacer: (e) =>
|
|
835
|
+
finder: (e) => b.eventStore.findByNameOrSlug(e),
|
|
836
|
+
replacer: (e) => b.eventStore.replaceBookmarked(e)
|
|
818
837
|
},
|
|
819
838
|
speaker: {
|
|
820
839
|
existingIds: new Set(r.speakers || []),
|
|
821
|
-
finder: (e) =>
|
|
822
|
-
replacer: (e) =>
|
|
840
|
+
finder: (e) => b.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
|
|
841
|
+
replacer: (e) => b.speakerStore.replaceBookmarked(e)
|
|
823
842
|
},
|
|
824
843
|
booth: {
|
|
825
844
|
existingIds: new Set(r.booths || []),
|
|
826
845
|
finder: (e) => {
|
|
827
|
-
let t =
|
|
846
|
+
let t = b.boothStore.findBooth(e);
|
|
828
847
|
return (t == null ? void 0 : t.exhibitors.length) === 0 ? t : void 0;
|
|
829
848
|
},
|
|
830
|
-
replacer: (e) =>
|
|
849
|
+
replacer: (e) => b.boothStore.replaceBookmarked(e)
|
|
831
850
|
}
|
|
832
851
|
};
|
|
833
852
|
e.forEach((e) => {
|
|
@@ -847,16 +866,16 @@ var Cn = class extends c {
|
|
|
847
866
|
$("setEntitiesVisited", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000704");
|
|
848
867
|
return;
|
|
849
868
|
}
|
|
850
|
-
let r =
|
|
869
|
+
let r = rt("visited"), i = {
|
|
851
870
|
exhibitor: {
|
|
852
871
|
existingIds: new Set(r.exhibitors || []),
|
|
853
|
-
finder: (e) =>
|
|
854
|
-
replacer: (e) =>
|
|
872
|
+
finder: (e) => b.exhibitorStore.findExhibitor(e),
|
|
873
|
+
replacer: (e) => b.exhibitorStore.replaceVisited(e)
|
|
855
874
|
},
|
|
856
875
|
event: {
|
|
857
876
|
existingIds: new Set(r.events || []),
|
|
858
|
-
finder: (e) =>
|
|
859
|
-
replacer: (e) =>
|
|
877
|
+
finder: (e) => b.eventStore.findByNameOrSlug(e),
|
|
878
|
+
replacer: (e) => b.eventStore.replaceVisited(e)
|
|
860
879
|
}
|
|
861
880
|
};
|
|
862
881
|
e.forEach((e) => {
|
|
@@ -871,94 +890,98 @@ var Cn = class extends c {
|
|
|
871
890
|
$("setMarkers", "Invalid input.", "EFP000800");
|
|
872
891
|
return;
|
|
873
892
|
}
|
|
874
|
-
|
|
893
|
+
b.routeStore.setMarkers(e);
|
|
875
894
|
}
|
|
876
895
|
selectMarker(e, t = !0) {
|
|
877
|
-
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"),
|
|
896
|
+
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), b.routeStore.selectMarker(e, t);
|
|
878
897
|
}
|
|
879
898
|
drawCircles(e) {
|
|
880
|
-
Array.isArray(e)
|
|
899
|
+
if (!Array.isArray(e)) {
|
|
900
|
+
$("drawCircles", "Invalid input.", "EFP000A00");
|
|
901
|
+
return;
|
|
902
|
+
}
|
|
903
|
+
b.uiState.debugCircles = e;
|
|
881
904
|
}
|
|
882
905
|
checkRoutes() {
|
|
883
|
-
|
|
906
|
+
b.routeStore.checkRoutes();
|
|
884
907
|
}
|
|
885
908
|
updateLayerVisibility(e, t) {
|
|
886
|
-
typeof e != "string" && $("updateLayerVisibility", "The layer name (string) must be passed.", "EFP000B00"), t || $("updateLayerVisibility", "Passing a false value to visible will have no effect.", "EFP000B01"),
|
|
909
|
+
typeof e != "string" && $("updateLayerVisibility", "The layer name (string) must be passed.", "EFP000B00"), t || $("updateLayerVisibility", "Passing a false value to visible will have no effect.", "EFP000B01"), b.layerStore.updateVisibility(e, t);
|
|
887
910
|
}
|
|
888
911
|
getCenterCoordinates() {
|
|
889
|
-
return
|
|
912
|
+
return b.fp.getCenterCoordinates();
|
|
890
913
|
}
|
|
891
914
|
exhibitorsList() {
|
|
892
|
-
return
|
|
915
|
+
return b.exhibitorStore.exhibitors.map((e) => K(e));
|
|
893
916
|
}
|
|
894
917
|
boothsList() {
|
|
895
|
-
return
|
|
918
|
+
return b.boothStore.booths.map((e) => K(e));
|
|
896
919
|
}
|
|
897
920
|
categoriesList() {
|
|
898
|
-
return
|
|
921
|
+
return b.categoryStore.categories.map((e) => K(e));
|
|
899
922
|
}
|
|
900
923
|
selectCategory(e) {
|
|
901
924
|
if (e == null || typeof e != "string") {
|
|
902
|
-
|
|
925
|
+
b.searchStore.selectSearch();
|
|
903
926
|
return;
|
|
904
927
|
}
|
|
905
|
-
let t = e == null ? void 0 : e.toLowerCase(), n =
|
|
928
|
+
let t = e == null ? void 0 : e.toLowerCase(), n = b.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
|
|
906
929
|
if (!n) {
|
|
907
930
|
$("selectCategory", `Category ${e} not found.`, "EFP000C01");
|
|
908
931
|
return;
|
|
909
932
|
}
|
|
910
|
-
|
|
933
|
+
b.selectCategory(n);
|
|
911
934
|
}
|
|
912
935
|
select(e) {
|
|
913
936
|
if (typeof e != "string") {
|
|
914
937
|
$("select", "Parameter must be a string.", "EFP001700");
|
|
915
938
|
return;
|
|
916
939
|
}
|
|
917
|
-
let t = e, n = t == null ? void 0 : t.toLowerCase(), r =
|
|
940
|
+
let t = e, n = t == null ? void 0 : t.toLowerCase(), r = b.boothStore.booths.find((e) => {
|
|
918
941
|
var t, r, i;
|
|
919
942
|
return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n || ((i = e.externalId) == null || (i = i.toLowerCase()) == null ? void 0 : i.replace(/\s+/g, "")) === n;
|
|
920
943
|
});
|
|
921
944
|
if (r) {
|
|
922
|
-
setTimeout(() =>
|
|
945
|
+
setTimeout(() => b.selectBooth(r), 250);
|
|
923
946
|
return;
|
|
924
947
|
}
|
|
925
|
-
let i =
|
|
948
|
+
let i = b.eventStore.eventItems.find((e) => {
|
|
926
949
|
var t, r;
|
|
927
950
|
return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
|
|
928
951
|
});
|
|
929
952
|
if (i) {
|
|
930
|
-
|
|
953
|
+
b.selectEventItem(i, !0);
|
|
931
954
|
return;
|
|
932
955
|
}
|
|
933
|
-
let a =
|
|
956
|
+
let a = b.exhibitorStore.exhibitors.find((e) => {
|
|
934
957
|
var t, r;
|
|
935
958
|
return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
|
|
936
959
|
});
|
|
937
960
|
if (a) {
|
|
938
|
-
setTimeout(() =>
|
|
961
|
+
setTimeout(() => b.clickExhibitor(a), 250);
|
|
939
962
|
return;
|
|
940
963
|
}
|
|
941
|
-
let o =
|
|
964
|
+
let o = b.categoryStore.categories.find((e) => e.slug === t);
|
|
942
965
|
if (o) {
|
|
943
|
-
|
|
966
|
+
b.selectCategory(o);
|
|
944
967
|
return;
|
|
945
968
|
}
|
|
946
|
-
let s =
|
|
969
|
+
let s = b.speakerStore.findBySlug(t);
|
|
947
970
|
if (s) {
|
|
948
|
-
|
|
971
|
+
b.selectSpeaker(s, !0);
|
|
949
972
|
return;
|
|
950
973
|
}
|
|
951
|
-
t.includes("heatmap=true") ||
|
|
974
|
+
t.includes("heatmap=true") || b.searchStore.selectSearch(t);
|
|
952
975
|
}
|
|
953
976
|
showList(e) {
|
|
954
977
|
let t = {
|
|
955
|
-
bookmarks: () =>
|
|
956
|
-
visited: () =>
|
|
957
|
-
sessions: () =>
|
|
958
|
-
exhibitors: () =>
|
|
959
|
-
speakers: () =>
|
|
960
|
-
tours: () =>
|
|
961
|
-
language: () =>
|
|
978
|
+
bookmarks: () => b.selectBookmarks(),
|
|
979
|
+
visited: () => b.selectVisited(),
|
|
980
|
+
sessions: () => b.selectSessions(),
|
|
981
|
+
exhibitors: () => b.selectExhibitors(),
|
|
982
|
+
speakers: () => b.selectSpeakers(),
|
|
983
|
+
tours: () => b.selectTours(),
|
|
984
|
+
language: () => b.selectLanguage()
|
|
962
985
|
}, n = t[e];
|
|
963
986
|
if (!n) {
|
|
964
987
|
$("showList", `Unknown list "${e}". Must be one of: ${Object.keys(t).join(", ")}.`, "EFP001800");
|
|
@@ -968,15 +991,15 @@ var Cn = class extends c {
|
|
|
968
991
|
}
|
|
969
992
|
showSessions(e = {}) {
|
|
970
993
|
X("showSessions called with filters=%O", e);
|
|
971
|
-
let t =
|
|
994
|
+
let t = le.safeParse(e);
|
|
972
995
|
if (!t.success) {
|
|
973
996
|
$("showSessions", t.error.message, "EFP001C00");
|
|
974
997
|
return;
|
|
975
998
|
}
|
|
976
|
-
let n = t.data, { eventStore: r, sessionsFilterStore: i } =
|
|
977
|
-
|
|
999
|
+
let n = t.data, { eventStore: r, sessionsFilterStore: i } = b;
|
|
1000
|
+
Ge(() => {
|
|
978
1001
|
var e, t, a, o;
|
|
979
|
-
|
|
1002
|
+
x.details = null, b.selectSessions(), i.closeFilter(), i.setPending("selectedTracks", wn(n.tracks, r.tracks, "track")), i.setPending("selectedVenues", wn(n.venues, r.venues, "venue")), i.setPending("date", (e = n.date) == null ? "all" : e), i.setPending("timeOfDay", (t = n.time) == null ? "all" : t), i.setPending("showBookmarksOnly", (a = n.bookmarked) != null && a), i.setPending("showLiveOnly", (o = n.live) != null && o), i.commitFilters();
|
|
980
1003
|
});
|
|
981
1004
|
}
|
|
982
1005
|
selectTour(e) {
|
|
@@ -984,8 +1007,8 @@ var Cn = class extends c {
|
|
|
984
1007
|
$("selectTour", "A tour id must be passed.", "EFP001900");
|
|
985
1008
|
return;
|
|
986
1009
|
}
|
|
987
|
-
let t =
|
|
988
|
-
t ?
|
|
1010
|
+
let t = b.toursStore.getTourById(e);
|
|
1011
|
+
t ? b.toursStore.launchTour(t, t.name, t.description) : (console.warn(`Route with id "${e}" not found`), b.selectTours());
|
|
989
1012
|
}
|
|
990
1013
|
openPlanner(e = {}) {
|
|
991
1014
|
if (typeof e != "object" || !e) {
|
|
@@ -993,47 +1016,47 @@ var Cn = class extends c {
|
|
|
993
1016
|
return;
|
|
994
1017
|
}
|
|
995
1018
|
let t = e.from ? D(e.from) : null;
|
|
996
|
-
if (e.fromBookmarks)
|
|
1019
|
+
if (e.fromBookmarks) b.routePlannerStore.launchFromBookmarks(t == null ? void 0 : t);
|
|
997
1020
|
else {
|
|
998
1021
|
var n;
|
|
999
|
-
|
|
1022
|
+
b.routePlannerStore.launchFromSlugs((n = e.items) == null ? [] : n, t == null ? void 0 : t);
|
|
1000
1023
|
}
|
|
1001
1024
|
}
|
|
1002
1025
|
startBuildRoute() {
|
|
1003
|
-
|
|
1026
|
+
b.uiState.startBuildRoute();
|
|
1004
1027
|
}
|
|
1005
1028
|
applyParameters(e) {
|
|
1006
1029
|
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), on(e);
|
|
1007
1030
|
}
|
|
1008
1031
|
getVisibility() {
|
|
1009
|
-
return
|
|
1032
|
+
return b.uiState.visibility;
|
|
1010
1033
|
}
|
|
1011
1034
|
setVisibility(e) {
|
|
1012
|
-
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"),
|
|
1035
|
+
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), b.uiState.setVisibility(e);
|
|
1013
1036
|
}
|
|
1014
1037
|
findLocation() {
|
|
1015
|
-
|
|
1038
|
+
b.routeStore.findLocation();
|
|
1016
1039
|
}
|
|
1017
1040
|
zoomIn() {
|
|
1018
|
-
|
|
1041
|
+
b.uiState.zoomIn();
|
|
1019
1042
|
}
|
|
1020
1043
|
zoomOut() {
|
|
1021
|
-
|
|
1044
|
+
b.uiState.zoomOut();
|
|
1022
1045
|
}
|
|
1023
1046
|
switchView() {
|
|
1024
|
-
|
|
1047
|
+
b.maplibreStore.activateMaplibre();
|
|
1025
1048
|
}
|
|
1026
1049
|
setCamera(e) {
|
|
1027
1050
|
X("setCamera called with camera=%O", e);
|
|
1028
|
-
let t =
|
|
1051
|
+
let t = Ce.safeParse(e);
|
|
1029
1052
|
if (!t.success) {
|
|
1030
1053
|
$("setCamera", t.error.message, "EFP001B00");
|
|
1031
1054
|
return;
|
|
1032
1055
|
}
|
|
1033
|
-
|
|
1056
|
+
b.uiState.setMapSettings(y(t.data));
|
|
1034
1057
|
}
|
|
1035
1058
|
getCamera() {
|
|
1036
|
-
return
|
|
1059
|
+
return qe(b.uiState.mapSettings);
|
|
1037
1060
|
}
|
|
1038
1061
|
zoomTo(e, t) {
|
|
1039
1062
|
X("zoomTo called with selectors=%O options=%O", e, t);
|
|
@@ -1061,15 +1084,15 @@ var Cn = class extends c {
|
|
|
1061
1084
|
let i = [];
|
|
1062
1085
|
if ((t = e.booths) == null || t.forEach((e) => {
|
|
1063
1086
|
let t;
|
|
1064
|
-
e.externalId ? t =
|
|
1087
|
+
e.externalId ? t = b.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = b.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
|
|
1065
1088
|
}), (n = e.exhibitors) == null || n.forEach((e) => {
|
|
1066
1089
|
var t;
|
|
1067
1090
|
let n;
|
|
1068
|
-
e.externalId ? n =
|
|
1091
|
+
e.externalId ? n = b.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = b.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
|
|
1069
1092
|
e.rect && i.push(e.rect);
|
|
1070
1093
|
});
|
|
1071
1094
|
}), i.length === 0) return;
|
|
1072
|
-
let a =
|
|
1095
|
+
let a = S.fromUnion(...i);
|
|
1073
1096
|
return {
|
|
1074
1097
|
leftTop: {
|
|
1075
1098
|
x: a.min.x,
|
|
@@ -1083,7 +1106,7 @@ var Cn = class extends c {
|
|
|
1083
1106
|
}
|
|
1084
1107
|
fitBounds(e, t) {
|
|
1085
1108
|
if (X("fitBounds called with bounds=%O options=%O", e, t), !e) {
|
|
1086
|
-
|
|
1109
|
+
b.uiState.fitBounds();
|
|
1087
1110
|
return;
|
|
1088
1111
|
}
|
|
1089
1112
|
let n = Xt.safeParse(e);
|
|
@@ -1096,24 +1119,27 @@ var Cn = class extends c {
|
|
|
1096
1119
|
$("fitBounds", r.error.message, "EFP001501");
|
|
1097
1120
|
return;
|
|
1098
1121
|
}
|
|
1099
|
-
let i =
|
|
1122
|
+
let i = S.fromMinMax({
|
|
1100
1123
|
x: e.leftTop.x,
|
|
1101
1124
|
y: e.leftTop.y
|
|
1102
1125
|
}, {
|
|
1103
1126
|
x: e.rightBottom.x,
|
|
1104
1127
|
y: e.rightBottom.y
|
|
1105
1128
|
});
|
|
1106
|
-
|
|
1129
|
+
b.uiState.moveToRect = t != null && t.padding ? i.expand(t.padding) : i;
|
|
1107
1130
|
}
|
|
1108
1131
|
getBoothRect(e) {
|
|
1109
1132
|
var t;
|
|
1110
|
-
typeof e != "string"
|
|
1133
|
+
if (typeof e != "string") {
|
|
1134
|
+
$("getBoothRect", "A booth name must be passed.", "EFP000F00");
|
|
1135
|
+
return;
|
|
1136
|
+
}
|
|
1111
1137
|
let n = (t = D(e)) == null ? void 0 : t.rect;
|
|
1112
1138
|
return n ? Tn.fromBox(n) : void 0;
|
|
1113
1139
|
}
|
|
1114
1140
|
convertToGeo(e, t) {
|
|
1115
1141
|
var n;
|
|
1116
|
-
let r = (n =
|
|
1142
|
+
let r = (n = E()) == null || (n = n.properties) == null ? void 0 : n.config;
|
|
1117
1143
|
if (!r) {
|
|
1118
1144
|
$("convertToGeo", "The coordinates cannot be converted because the GPS configuration is not defined.", "EFP001000");
|
|
1119
1145
|
return;
|
|
@@ -1126,7 +1152,7 @@ var Cn = class extends c {
|
|
|
1126
1152
|
}
|
|
1127
1153
|
getGeoConfig() {
|
|
1128
1154
|
var e, t;
|
|
1129
|
-
let n = (e =
|
|
1155
|
+
let n = (e = E()) == null || (e = e.properties) == null ? void 0 : e.config;
|
|
1130
1156
|
return n ? {
|
|
1131
1157
|
bearing: (t = n.bearing) == null ? 0 : t,
|
|
1132
1158
|
p0: n.p0,
|
|
@@ -1136,16 +1162,16 @@ var Cn = class extends c {
|
|
|
1136
1162
|
}
|
|
1137
1163
|
releaseResources() {
|
|
1138
1164
|
var e;
|
|
1139
|
-
|
|
1165
|
+
b.maplibreStore.dispose(), (e = this.root) == null || e.unmount(), super.releaseResources();
|
|
1140
1166
|
}
|
|
1141
1167
|
search(e) {
|
|
1142
|
-
return typeof e
|
|
1168
|
+
return typeof e == "string" ? b.fuzzySearchEngineStore.loadEngine().then(() => (b.searchStore.selectSearch(e), b.uiState.fuzzySearchItems.map((e) => ({
|
|
1143
1169
|
item: K(e.item),
|
|
1144
1170
|
score: e.score
|
|
1145
|
-
}))));
|
|
1171
|
+
})))) : ($("search", "A search string must be passed.", "EFP001100"), Promise.resolve([]));
|
|
1146
1172
|
}
|
|
1147
1173
|
getFloors() {
|
|
1148
|
-
return
|
|
1174
|
+
return b.layerStore.floors.map((e) => ({
|
|
1149
1175
|
name: e.name,
|
|
1150
1176
|
shortName: e.shortName,
|
|
1151
1177
|
description: e.description,
|
|
@@ -1194,45 +1220,45 @@ var Cn = class extends c {
|
|
|
1194
1220
|
}
|
|
1195
1221
|
showPathwayOnly(e, t) {
|
|
1196
1222
|
var n;
|
|
1197
|
-
this.activateFloor({ name: t }),
|
|
1198
|
-
let r =
|
|
1199
|
-
o && (
|
|
1223
|
+
this.activateFloor({ name: t }), b.layerStore.showPathWay(e), b.uiState.setPathwayOnlyMode(!0);
|
|
1224
|
+
let r = b.layerStore.findLayer(e), i = b.layerStore.findLayer(t), a = r != null && r.rect || r != null && r.viewbox ? r : i, o = (n = a == null ? void 0 : a.viewbox) == null ? a == null ? void 0 : a.rect : n;
|
|
1225
|
+
o && (b.uiState.moveToRect = o.clone());
|
|
1200
1226
|
}
|
|
1201
1227
|
hidePathways() {
|
|
1202
|
-
this.highlightBooths([]),
|
|
1228
|
+
this.highlightBooths([]), b.layerStore.hidePathways(), b.uiState.setPathwayOnlyMode(!1);
|
|
1203
1229
|
}
|
|
1204
1230
|
showSearch() {
|
|
1205
|
-
|
|
1231
|
+
b.selectSearch("");
|
|
1206
1232
|
}
|
|
1207
1233
|
changeLanguage(e) {
|
|
1208
1234
|
var t;
|
|
1209
1235
|
let n = e == null || (t = e.toLowerCase) == null ? void 0 : t.call(e);
|
|
1210
|
-
if (!
|
|
1236
|
+
if (!Te(n)) {
|
|
1211
1237
|
$("changeLanguage", `Language "${e}" was not found. Available languages: ${xe().map((e) => e.id).join(",")}`, "EFP001300");
|
|
1212
1238
|
return;
|
|
1213
1239
|
}
|
|
1214
1240
|
Se(n);
|
|
1215
1241
|
}
|
|
1216
1242
|
isGpsTrackingEnabled() {
|
|
1217
|
-
return
|
|
1243
|
+
return b.routeStore.gpsEnabled;
|
|
1218
1244
|
}
|
|
1219
1245
|
setGpsTrackingEnabled(e) {
|
|
1220
|
-
|
|
1246
|
+
b.routeStore.setGpsTrackingEnabled(e);
|
|
1221
1247
|
}
|
|
1222
1248
|
deselectCurrentPosition() {
|
|
1223
|
-
|
|
1249
|
+
b.routeStore.selectCurrentPosition(null, !1);
|
|
1224
1250
|
}
|
|
1225
1251
|
deselectRoute() {
|
|
1226
|
-
|
|
1252
|
+
b.routeStore.selectRoute(null), b.routeStore.setOnlyAccessible(!1);
|
|
1227
1253
|
}
|
|
1228
1254
|
reset() {
|
|
1229
|
-
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]),
|
|
1255
|
+
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), b.uiState.kioskData && b.resetCameraFn) {
|
|
1230
1256
|
var e;
|
|
1231
|
-
(e =
|
|
1257
|
+
(e = b.resetCameraFn) == null || e.call(b);
|
|
1232
1258
|
} else this.fitBounds();
|
|
1233
1259
|
}
|
|
1234
1260
|
selectAccessibleRoute(e) {
|
|
1235
|
-
|
|
1261
|
+
b.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
|
|
1236
1262
|
}
|
|
1237
1263
|
};
|
|
1238
1264
|
function wn(e = [], t, n) {
|
|
@@ -1251,14 +1277,14 @@ function wn(e = [], t, n) {
|
|
|
1251
1277
|
return [...r];
|
|
1252
1278
|
}
|
|
1253
1279
|
function Z(e) {
|
|
1254
|
-
let t = typeof e == "string" ? D(e) :
|
|
1280
|
+
let t = typeof e == "string" ? D(e) : b.routeStore.getNearestBooth(e);
|
|
1255
1281
|
return t == null ? null : t;
|
|
1256
1282
|
}
|
|
1257
1283
|
var Q = 0;
|
|
1258
1284
|
function $(e, t, n) {
|
|
1259
1285
|
let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://js-sdk.expofp.com/api/packages";
|
|
1260
|
-
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`),
|
|
1261
|
-
|
|
1286
|
+
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), b.fp.disableRuntimeAlerts) return;
|
|
1287
|
+
b.uiState.setGlobalErrorMessage({
|
|
1262
1288
|
title: r,
|
|
1263
1289
|
body: /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [
|
|
1264
1290
|
i,
|
|
@@ -1274,7 +1300,7 @@ function $(e, t, n) {
|
|
|
1274
1300
|
let o = 8e3;
|
|
1275
1301
|
Q = window.setTimeout(() => {
|
|
1276
1302
|
let e = async () => {
|
|
1277
|
-
|
|
1303
|
+
b.uiState.globalErrorMessages.length > 0 && (b.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
|
|
1278
1304
|
};
|
|
1279
1305
|
e();
|
|
1280
1306
|
}, o);
|