@expofp/floorplan 3.45.8 → 3.45.10
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-Of0kS76k.js → Button-Cn1vdWpK.js} +5 -5
- package/dist/browser/{CookieConsent-CkMPBtgB.js → CookieConsent-B86DJhbx.js} +7 -7
- package/dist/browser/{Debug-BQnY6Dtf.js → Debug-DB1mRd90.js} +7 -7
- package/dist/browser/{DebugTools-CbVV7fXW.js → DebugTools-IbULZveE.js} +6 -6
- package/dist/browser/{Demo-CBcH_wFl.js → Demo-CqPR8hsE.js} +9 -9
- package/dist/browser/{Free-svMiaKzi.js → Free-B1xsBVOL.js} +10 -10
- package/dist/browser/{GalleryContainer-E_XPBp3t.js → GalleryContainer-H_2tKz7h.js} +11 -11
- package/dist/browser/{GpsLoader-CSlBa5m-.js → GpsLoader-CnvIlzWW.js} +14 -14
- package/dist/browser/{KioskStore-FoxtKeFt.js → KioskStore-Dtdh2J4k.js} +19 -19
- package/dist/browser/{LayerStore-BFXkmjl_.js → LayerStore-SBDWbV0w.js} +2272 -2247
- package/dist/browser/{MaplibreAdapter-BUIYode0.js → MaplibreAdapter-pvULARk2.js} +2491 -2491
- package/dist/browser/{ModalContainer-Dk-G5fuv.js → ModalContainer-D1h6LZB2.js} +10 -10
- package/dist/browser/{PermissionNotice-DFDZVvBx.js → PermissionNotice-BfdlHWCQ.js} +6 -6
- package/dist/browser/{RouteStore-k3MKHXUN.js → RouteStore-DbHHcj0h.js} +71 -71
- package/dist/browser/{SetKioskMode-hjzql7W8.js → SetKioskMode-DNH_BNX4.js} +12 -12
- package/dist/browser/{ShowKiosk-DMSrhzix.js → ShowKiosk-qPmQOL4G.js} +11 -11
- package/dist/browser/{UIState-_e_B3ZFn.js → UIState-CMIMqMqX.js} +115 -109
- package/dist/browser/{ViewerMenuPanel-Beq69W0z.js → ViewerMenuPanel-P3LG6zDW.js} +11 -11
- package/dist/browser/{add-debug-secret-listener-LGlUHPLr.js → add-debug-secret-listener-CoOEwFmI.js} +1 -1
- package/dist/browser/{adopt-global-settings-TLUgYzwY.js → adopt-global-settings-ruN5U0qT.js} +9 -9
- package/dist/browser/{boolean-editor-OpgeVww1.js → boolean-editor-rVXdWa2W.js} +9 -9
- package/dist/browser/{bootIntercom-BkmtsWro.js → bootIntercom-uAQFMl_Y.js} +2 -2
- package/dist/browser/bundle.json +85 -85
- package/dist/browser/{camera-events-yH5CDxOl.js → camera-events-B81jOQQJ.js} +1 -1
- package/dist/browser/{classnames-5XeoH4tE.js → classnames-DGlmSG5g.js} +2 -2
- package/dist/browser/{client-C2qPJPTC.js → client-BV8CXptc.js} +5 -5
- package/dist/browser/{components-BYHBiKdv.js → components-BviMGmcU.js} +1199 -1217
- package/dist/browser/{create-live-plan-CfDsnD5_.js → create-live-plan-zgR26apm.js} +86 -86
- package/dist/browser/{debug-context-CKL3Gvh_.js → debug-context-BzYX4R05.js} +5 -5
- package/dist/browser/{debug-overlay-DQzMXjwS.js → debug-overlay-DD26ktTR.js} +10 -10
- package/dist/browser/{debug-ui-BDCCaQ5W.js → debug-ui-DAUh0PoT.js} +6 -6
- package/dist/browser/{dist-W8W9s8Hx.js → dist-CxbqGkvV.js} +5 -5
- package/dist/browser/{dist-BxlV2q1t.js → dist-DUMP9Ngs.js} +6 -6
- package/dist/browser/{dist-zoKCL1Rp.js → dist-d3SiKCT6.js} +3 -3
- package/dist/browser/{efp-debug-init-tPmPsCeZ.js → efp-debug-init-ClI_mZe_.js} +3 -3
- package/dist/browser/{enum-editor-B_AhMuIP.js → enum-editor-BSkeY63c.js} +4 -4
- package/dist/browser/{es5-iSzgOdF9.js → es5-BXMfWl58.js} +2 -2
- package/dist/browser/{event-head-Dqww5d1r.js → event-head-COBKP4DX.js} +1 -1
- package/dist/browser/{event-not-found-orn8dOR4.js → event-not-found-CiSyp3iV.js} +3 -3
- package/dist/browser/{event-scoped-cache-Cte4L-8S.js → event-scoped-cache-tvMtbdwa.js} +3 -3
- package/dist/browser/{expofpUrl-Dizuj1zx.js → expofpUrl-rAb79DIE.js} +1 -1
- package/dist/browser/{exports-oxBtkOAK.js → exports-bjuTfLa2.js} +1 -1
- package/dist/browser/{favicon-Xk98ONX1.js → favicon-BFIFqOtn.js} +1 -1
- package/dist/browser/{fetch-retry.umd-Cn8Vsfv5.js → fetch-retry.umd-CWMyBasR.js} +2 -2
- package/dist/browser/{flex-Cxgaiw9i.js → flex-Rzrsjfvc.js} +5 -5
- package/dist/browser/{floorplan.loader-Cj4Lr8nt.js → floorplan.loader-Bw97TZhZ.js} +35 -35
- package/dist/browser/{floorplan.ready-BQFqz2ES.js → floorplan.ready-DTWewU99.js} +238 -238
- package/dist/browser/{framing-rect-xZ79JGgr.js → framing-rect-eOrPRnEg.js} +400 -400
- package/dist/browser/{freeBanner-CLErUm9v.js → freeBanner-BC-9yp8S.js} +2 -2
- package/dist/browser/{fuse-jxkP-SL_.js → fuse-DZJPc4yg.js} +2 -2
- package/dist/browser/{i18n-DBIRzGXv.js → i18n-BJiBcpGl.js} +8 -8
- package/dist/browser/index.js +33 -33
- package/dist/browser/{index.module-DMhfkagX.js → index.module-BIyLBspP.js} +4 -4
- package/dist/browser/{init-ui-DASETgLP.js → init-ui-Cj1apWvD.js} +53 -51
- package/dist/browser/{integrateKiosk-De556iee.js → integrateKiosk-CznUWFW9.js} +6 -6
- package/dist/browser/{is-debug-BAIHxR4J.js → is-debug-CV5nQhPi.js} +5 -5
- package/dist/browser/{is-own-domain-C50vpSTB.js → is-own-domain-C4azibE9.js} +1 -1
- package/dist/browser/{is-webview-BJLNWNSo.js → is-webview-BzqxZB25.js} +1 -1
- package/dist/browser/{jsx-runtime-C5BPrCL2.js → jsx-runtime-5PBs1pEQ.js} +2 -2
- package/dist/browser/{kiosk-mode-BD7W2PsD.js → kiosk-mode-B6qtwO0G.js} +4 -4
- package/dist/browser/{kiosk-record-Bg_T9xGM.js → kiosk-record-g2_Wdj6A.js} +1 -1
- package/dist/browser/{kioskApi-L7bEgcD7.js → kioskApi-ChUHRhgw.js} +8 -8
- package/dist/browser/{lib-BA6oZRHo.js → lib-CbLqEjFm.js} +3 -3
- package/dist/browser/{loadImage-BZw83FUw.js → loadImage-NV7Sut6Q.js} +1 -1
- package/dist/browser/{logDeviceInfo-Cot_JQrb.js → logDeviceInfo-Bj7a8S5-.js} +9 -9
- package/dist/browser/{mobx-Doox5BD6.js → mobx-tOUQ4H8i.js} +4 -4
- package/dist/browser/{mobx.module-DaI2354T.js → mobx.module-DmU1vhUy.js} +1 -1
- package/dist/browser/{optional-boolean-editor-axHyDEz_.js → optional-boolean-editor-C7qYMklB.js} +3 -3
- package/dist/browser/{optional-enum-editor-BXYUNENY.js → optional-enum-editor-C1YeLduB.js} +4 -4
- package/dist/browser/{optional-string-editor-B3MFrhEo.js → optional-string-editor-DKHOSrcb.js} +4 -4
- package/dist/browser/{particles.min-DJmVUZNU.js → particles.min-Bi0Olzpy.js} +2 -2
- package/dist/browser/{react-Dp6Pz4mX.js → react-DhABhf7P.js} +2 -2
- package/dist/browser/{react-dom-VHdsjwDc.js → react-dom-CokSt-Nr.js} +3 -3
- package/dist/browser/{rolldown-runtime-XhvrR50k.js → rolldown-runtime-Xs9k3_fC.js} +1 -1
- package/dist/browser/{scene-BcsDeczd.js → scene-sTDBQo8U.js} +6 -6
- package/dist/browser/{scheduler-ngRPi3Pv.js → scheduler-BOSQkAHm.js} +2 -2
- package/dist/browser/{select-BlGy2hOq.js → select-zIJ_mWmQ.js} +10 -10
- package/dist/browser/{settings-CyJ1RuB5.js → settings-BGYsl7pu.js} +2 -2
- package/dist/browser/{settings-item-BCa7bwJ9.js → settings-item-ZEeKLhxL.js} +6 -6
- package/dist/browser/{store-C0EBKjUA.js → store-BCPx9hgL.js} +2 -2
- package/dist/browser/{string-editor-7w12GwWw.js → string-editor-5wVa_A4f.js} +4 -4
- package/dist/browser/{text-field-B1zXq9p3.js → text-field-CttplX4-.js} +5 -5
- package/dist/browser/{theme-DK8rYm96.js → theme-CaYU9Gun.js} +8 -8
- package/dist/browser/{ui-gGg9QlsC.js → ui-BYT86KhK.js} +8 -8
- package/dist/browser/{useRenderTarget-Dt04guaR.js → useRenderTarget-BbHxq2ss.js} +4 -4
- package/dist/browser/{viewport-DyBQ89Vr.js → viewport-B2CPk_gF.js} +3 -3
- package/dist/browser/{wayfinding-D2KfmXQu.js → wayfinding-6SGJbKrj.js} +280 -280
- package/dist/esm/components/HeaderLogos/HeaderLogos.d.ts +8 -0
- package/dist/esm/components/HeaderLogos/HeaderLogos.js +1 -0
- package/dist/esm/components/HeaderLogos/header-logos-config.d.ts +23 -0
- package/dist/esm/components/HeaderLogos/header-logos-config.js +1 -0
- package/dist/esm/components/HeaderLogos/logo-page.d.ts +32 -0
- package/dist/esm/components/HeaderLogos/logo-page.js +1 -0
- package/dist/esm/components/HeaderLogos/use-logo-preload.d.ts +30 -0
- package/dist/esm/components/HeaderLogos/use-logo-preload.js +1 -0
- package/dist/esm/components/HeaderLogos/use-logo-rotation.d.ts +43 -0
- package/dist/esm/components/HeaderLogos/use-logo-rotation.js +1 -0
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/index.d.ts +1 -1
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/store/OverlayStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +17 -2
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/init-ui.js +1 -1
- package/dist/esm/test/store-harness.js +1 -1
- package/package.json +10 -10
- package/dist/esm/components/Ws.d.ts +0 -5
- package/dist/esm/components/Ws.js +0 -1
|
@@ -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.45.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.45.10" };
|
|
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] = "22fdb7f1-ce4f-40aa-915d-2a5c272ee74d", e._sentryDebugIdIdentifier = "sentry-dbid-22fdb7f1-ce4f-40aa-915d-2a5c272ee74d");
|
|
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,
|
|
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 {
|
|
25
|
-
import { g as T, m as E, p as ct, u as lt } from "./wayfinding-
|
|
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-Xs9k3_fC.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-Bw97TZhZ.js";
|
|
11
|
+
import { $ as l, A as u, Ct as d, D as f, Dt as p, Et as m, H as ee, J as te, O as ne, Q as re, R as ie, St as ae, Tt as oe, Y as se, Z as h, _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, pt as Ce, r as we, rt as Te, st as Ee, tt as De, ut as Oe, vt as ke, wt as Ae, xt as je, yt as Me } from "./i18n-BJiBcpGl.js";
|
|
12
|
+
import { s as Ne } from "./efp-debug-init-ClI_mZe_.js";
|
|
13
|
+
import { t as Pe } from "./react-DhABhf7P.js";
|
|
14
|
+
import { t as Fe } from "./jsx-runtime-5PBs1pEQ.js";
|
|
15
|
+
import { a as g, o as Ie } from "./is-debug-CV5nQhPi.js";
|
|
16
|
+
import { n as Le, t as Re } from "./is-own-domain-C4azibE9.js";
|
|
17
|
+
import { C as ze, D as Be, Q as Ve, ht as _, i as He, n as Ue, w as We } from "./exports-bjuTfLa2.js";
|
|
18
|
+
import { l as Ge, u as Ke } from "./mobx.module-DmU1vhUy.js";
|
|
19
|
+
import { t as qe } from "./client-BV8CXptc.js";
|
|
20
|
+
import { i as Je, n as Ye, r as v, t as Xe } from "./components-BviMGmcU.js";
|
|
21
|
+
import { a as Ze, h as Qe, i as $e, p as et } from "./UIState-CMIMqMqX.js";
|
|
22
|
+
import { l as y, u as b } from "./store-BCPx9hgL.js";
|
|
23
|
+
import { n as tt } from "./event-scoped-cache-tvMtbdwa.js";
|
|
24
|
+
import { $ as x, A as nt, C as rt, Kt as it, M as S, N as at, Rt as ot, Zt as C, h as w, zt as st } from "./LayerStore-SBDWbV0w.js";
|
|
25
|
+
import { g as T, m as E, p as ct, u as lt } from "./wayfinding-6SGJbKrj.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-DbHHcj0h.js";
|
|
27
|
+
import { r as xt, t as St } from "./kiosk-mode-B6qtwO0G.js";
|
|
28
|
+
import { n as Ct, t as wt } from "./integrateKiosk-CznUWFW9.js";
|
|
29
|
+
import { t as Tt } from "./init-ui-Cj1apWvD.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 && _.error("[showReportDialog] Global document not defined");
|
|
35
35
|
return;
|
|
36
36
|
}
|
|
37
|
-
let a =
|
|
37
|
+
let a = We(), s = ze(), c = s == null ? void 0 : s.getDsn();
|
|
38
38
|
if (!c) {
|
|
39
|
-
o &&
|
|
39
|
+
o && _.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 || He()
|
|
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(Pe());
|
|
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) && Ve(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 Ue(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 = ze();
|
|
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
|
+
Be((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 && _.warn("fallback did not produce a valid ReactElement"), null);
|
|
145
145
|
}
|
|
146
|
-
}, Mt = /* @__PURE__ */ e(
|
|
146
|
+
}, Mt = /* @__PURE__ */ e(Ne(), 1), Nt = qe(), Pt = Qe();
|
|
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__*/ m("ZodMiniType", (e, t) => {
|
|
180
180
|
if (!e._zod) throw Error("Uninitialized schema in ZodMiniType.");
|
|
181
|
-
|
|
181
|
+
ke.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => Me(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => je(e, t, n), e.parseAsync = async (t, n) => ue(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => ae(e, t, n), e.check = (...n) => {
|
|
182
182
|
var r;
|
|
183
183
|
return e.clone({
|
|
184
184
|
...t,
|
|
@@ -188,29 +188,29 @@ var P = /*@__PURE__*/ d("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) => d(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.apply = (t) => t(e);
|
|
192
|
+
}), Bt = /*@__PURE__*/ m("ZodMiniString", (e, t) => {
|
|
193
|
+
ce.init(e, t), P.init(e, t);
|
|
194
194
|
});
|
|
195
195
|
// @__NO_SIDE_EFFECTS__
|
|
196
196
|
function F(e) {
|
|
197
|
-
return
|
|
197
|
+
return Oe(Bt, e);
|
|
198
198
|
}
|
|
199
|
-
var Vt = /*@__PURE__*/
|
|
200
|
-
|
|
199
|
+
var Vt = /*@__PURE__*/ m("ZodMiniNumber", (e, t) => {
|
|
200
|
+
be.init(e, t), P.init(e, t);
|
|
201
201
|
});
|
|
202
202
|
// @__NO_SIDE_EFFECTS__
|
|
203
203
|
function I(e) {
|
|
204
|
-
return
|
|
204
|
+
return de(Vt, e);
|
|
205
205
|
}
|
|
206
|
-
var Ht = /*@__PURE__*/
|
|
207
|
-
|
|
206
|
+
var Ht = /*@__PURE__*/ m("ZodMiniNever", (e, t) => {
|
|
207
|
+
Ce.init(e, t), P.init(e, t);
|
|
208
208
|
});
|
|
209
209
|
// @__NO_SIDE_EFFECTS__
|
|
210
210
|
function Ut(e) {
|
|
211
|
-
return
|
|
211
|
+
return Ee(Ht, e);
|
|
212
212
|
}
|
|
213
|
-
var Wt = /*@__PURE__*/
|
|
213
|
+
var Wt = /*@__PURE__*/ m("ZodMiniArray", (e, t) => {
|
|
214
214
|
fe.init(e, t), P.init(e, t);
|
|
215
215
|
});
|
|
216
216
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -218,11 +218,11 @@ function L(e, t) {
|
|
|
218
218
|
return new Wt({
|
|
219
219
|
type: "array",
|
|
220
220
|
element: e,
|
|
221
|
-
...
|
|
221
|
+
...oe(t)
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
|
-
var Gt = /*@__PURE__*/
|
|
225
|
-
|
|
224
|
+
var Gt = /*@__PURE__*/ m("ZodMiniObject", (e, t) => {
|
|
225
|
+
ge.init(e, t), P.init(e, t), Ae(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
|
+
...oe(t)
|
|
234
234
|
});
|
|
235
235
|
}
|
|
236
|
-
var Kt = /*@__PURE__*/
|
|
237
|
-
|
|
236
|
+
var Kt = /*@__PURE__*/ m("ZodMiniOptional", (e, t) => {
|
|
237
|
+
he.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__*/ m("ZodMiniCustom", (e, t) => {
|
|
247
|
+
me.init(e, t), P.init(e, t);
|
|
248
248
|
});
|
|
249
249
|
// @__NO_SIDE_EFFECTS__
|
|
250
250
|
function Jt(e, t = {}) {
|
|
251
|
-
return
|
|
251
|
+
return ye(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 = Ze(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 && !h(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(p()),
|
|
296
|
+
W(p()), S(() => y.layerStore.layersLoaded, () => {
|
|
297
297
|
let e = p().camera;
|
|
298
|
-
Object.keys(e).length && xn(
|
|
298
|
+
Object.keys(e).length && xn(v(e));
|
|
299
299
|
let t = p().visibility;
|
|
300
|
-
Object.keys(t).length &&
|
|
300
|
+
Object.keys(t).length && b.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(), S(() => y.layerStore.layersLoaded, () => {
|
|
308
|
+
y.urlFilterManager && !y.urlFilterManager.isInitialized && y.urlFilterManager.initialize(), V = !0;
|
|
309
309
|
try {
|
|
310
310
|
U();
|
|
311
311
|
} finally {
|
|
312
312
|
V = !1;
|
|
313
313
|
}
|
|
314
|
-
|
|
314
|
+
nt(G), nt(_n), b.viewerMode && (b.menu = !0);
|
|
315
315
|
});
|
|
316
316
|
}
|
|
317
317
|
function on(e = "") {
|
|
318
|
-
k("?" +
|
|
318
|
+
k("?" + h(e.toString())), y.layerStore.layersLoaded ? sn(e) : (H(), S(() => y.layerStore.layersLoaded, () => sn(e)));
|
|
319
319
|
}
|
|
320
320
|
function sn(e) {
|
|
321
321
|
var t, r;
|
|
322
|
-
let i = "?" +
|
|
322
|
+
let i = "?" + h(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(v(a.camera)), a.visibility && Object.keys(a.visibility).length && b.setVisibility(a.visibility), dn(), U();
|
|
330
330
|
let d = [...o, ...s];
|
|
331
|
-
d.length && n(
|
|
331
|
+
d.length && n(y.fp, d);
|
|
332
332
|
}
|
|
333
333
|
function H() {
|
|
334
334
|
let e = A();
|
|
335
|
-
return
|
|
335
|
+
return Ye(e.length > 1 ? h(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 } =
|
|
340
|
+
en(new URLSearchParams(h(window.location.search)));
|
|
341
|
+
let { primary: t } = te(A()), n = t.type === "select" && (!t.slug || /^t=[^&]*$/.test(t.slug)) && (b.heatmap || b.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" ?
|
|
354
|
-
let { intents: t } =
|
|
355
|
-
n(
|
|
353
|
+
e.type === "list" && e.list === "sessions" ? y.fp.showSessions() : ln(e);
|
|
354
|
+
let { intents: t } = l(A());
|
|
355
|
+
n(y.fp, t.filter((e) => e.name === "showSessions"));
|
|
356
356
|
}
|
|
357
357
|
function ln(e) {
|
|
358
|
-
let t =
|
|
358
|
+
let t = y.fp;
|
|
359
359
|
switch (e.type) {
|
|
360
360
|
case "kiosk":
|
|
361
|
-
e.enabled !== null && St(
|
|
361
|
+
e.enabled !== null && St(b, 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 && y.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
|
+
y.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) && y.searchButtonsStore.keepFiltersOnNextNavigation(), y.routeStore.selectRoute(t), y.uiState.setIsMultiPointRoute(e.waypoints.length > 0), e.title && y.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
|
+
Ie.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 = y.boothStore.booths.filter((e) => n.includes(e.externalId)), a = y.exhibitorStore.exhibitors.filter((e) => r.includes(e.externalId)).flatMap((e) => e.booths), o = [...i, ...a];
|
|
397
|
+
if (ot()) {
|
|
398
398
|
let e = tn(o.map((e) => e.layer.name));
|
|
399
|
-
e &&
|
|
399
|
+
e && y.fp.activateFloor({ name: e });
|
|
400
400
|
}
|
|
401
|
-
(n.length > 0 || r.length > 0) &&
|
|
402
|
-
|
|
401
|
+
(n.length > 0 || r.length > 0) && y.fp.highlightEntities([...n, ...r]), y.layerStore.showPathWay(t), o.length > 0 && Ke(() => {
|
|
402
|
+
y.uiState.moveToRect = C.fromUnion(...o.map((e) => e.rect).filter(Boolean)), y.uiState.rollReset = !0;
|
|
403
403
|
});
|
|
404
404
|
}
|
|
405
405
|
function dn() {
|
|
406
|
-
let { oneShots: e } =
|
|
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 = $e(A());
|
|
409
|
+
t !== null && k("?" + t), b.previewExhibitor && k("?" + b.previewExhibitor.slug), mn();
|
|
410
410
|
}
|
|
411
411
|
function fn(e) {
|
|
412
412
|
switch (e.type) {
|
|
@@ -415,57 +415,57 @@ 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 = y.layerStore.findLayer((n = e.layer) == null ? "" : n)) == null ? void 0 : t.name, void 0, e.lat, e.lng);
|
|
419
|
+
S(() => y.layerStore.layersLoaded, () => y.routeStore.selectCurrentPosition(r, !0, 1));
|
|
420
420
|
return;
|
|
421
421
|
}
|
|
422
422
|
case "viewerMode":
|
|
423
|
-
|
|
423
|
+
ve && (e.enabled ? localStorage.setItem(ee, "true") : (localStorage.removeItem(ee), 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 ? Ie.warn(`Invalid ui-scale parameter: ${e.raw}. Must be a number between 0.8 and 1.4.`) : y.uiState.setUIScale(e.scale, !0);
|
|
430
430
|
return;
|
|
431
431
|
case "resetUiScale":
|
|
432
|
-
|
|
432
|
+
y.uiState.resetUIScale();
|
|
433
433
|
return;
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
function pn(e) {
|
|
437
|
-
ft(), e ? (
|
|
437
|
+
ft(), e ? (b.heatmapYah = !0, b.monochrome = !0, b.hideLogoInBooth = !0, b.hideHeaderLogo = !0, b.disableBookmarked = !0) : b.heatmap = !0;
|
|
438
438
|
}
|
|
439
439
|
function mn() {
|
|
440
440
|
let e = nn(A(), (e) => {
|
|
441
|
-
let t =
|
|
441
|
+
let t = y.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 && (b.hideOverlay = e.noOverlay), e.monochrome && (b.monochrome = !0), e.hideHeaderLogo && (b.hideHeaderLogo = !0), e.hideLogoInBooth && (b.hideLogoInBooth = !0), e.disableFeatured && y.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (b.disableBookmarked = !0), e.disableGps && y.routeStore.setGpsTrackingEnabled(!1), e.heatmap && i(e.heatmap) && pn(e.heatmap.variant === "yah");
|
|
448
448
|
}
|
|
449
449
|
function hn(e) {
|
|
450
|
-
return
|
|
450
|
+
return De(Te, e).value;
|
|
451
451
|
}
|
|
452
|
-
var gn =
|
|
452
|
+
var gn = tt(() => ({
|
|
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 = y.urlFilterManager.filterSearch(), a = vn(e);
|
|
459
459
|
if (B) return;
|
|
460
|
-
let o = a ||
|
|
460
|
+
let o = a || se(e) || i;
|
|
461
461
|
if (A() === o) return;
|
|
462
462
|
let s = gn();
|
|
463
463
|
t !== s.exhibitor || n !== s.booth || r !== s.eventItem ? ut(o) : k(o), s.exhibitor = t, s.booth = n, s.eventItem = r;
|
|
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 } =
|
|
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 ? "?" +
|
|
467
|
+
let { selectedTracks: t, selectedVenues: n, date: r, timeOfDay: i, showBookmarksOnly: a, showLiveOnly: o } = y.sessionsFilterStore.state.filters, s = {};
|
|
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]
|
|
471
471
|
}) : "";
|
|
@@ -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 = b.selectedExhibitor, t = b.selectedBooth, n = b.selectedEventItem, r = b.selectedRoute, i = b.selectedSpeaker, a = b.setKioskModeEnabled, o = b.list, s;
|
|
478
478
|
if (o.type === "route-planner" && !e && !t && !n) {
|
|
479
479
|
var c;
|
|
480
|
-
let e =
|
|
480
|
+
let e = y.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 && !b.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 x ? r.to.slug : void 0,
|
|
492
|
+
from: r.from instanceof x ? r.from.slug : void 0,
|
|
493
|
+
accessible: y.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 = b.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 (!Re) return;
|
|
564
|
+
let t = b.selectedExhibitor, n = b.selectedEventItem, r = b.selectedSpeaker, i = "";
|
|
565
|
+
t ? i = t.name : n ? i = n.name : r ? i = r.name : b.list.type === "search" && b.list.text ? i = "`" + (b.list.text || "") + "`" : b.list.type === "multi-point-tour" && b.tourTitle && (i = b.tourTitle), i.length && (i += " – "), i += (e = a(it, Le)) == null ? s(window.location.hostname, Le) : e, document.title = i;
|
|
566
566
|
}
|
|
567
567
|
function xn(e) {
|
|
568
568
|
try {
|
|
569
|
-
if (
|
|
570
|
-
let t =
|
|
571
|
-
t &&
|
|
569
|
+
if (b.setMapSettings(e), e.z) {
|
|
570
|
+
let t = y.layerStore.layers.find((t) => t.name === e.z);
|
|
571
|
+
t && y.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 Ge(() => b.details, () => {
|
|
581
581
|
var e;
|
|
582
|
-
if (!
|
|
583
|
-
if (!
|
|
584
|
-
|
|
582
|
+
if (!b.onDetails) return;
|
|
583
|
+
if (!b.details) {
|
|
584
|
+
b.onDetails(null);
|
|
585
585
|
return;
|
|
586
586
|
}
|
|
587
|
-
let t =
|
|
588
|
-
if (
|
|
587
|
+
let t = b.details;
|
|
588
|
+
if (st.EXPO === "wineparis" && (t instanceof w && (t = t.booths[0]), !t)) return;
|
|
589
589
|
let n = null, r = [];
|
|
590
|
-
if (t instanceof
|
|
590
|
+
if (t instanceof w) 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 = y.routeStore.tempToBooth) == null ? void 0 : n.name) ? -1 : +(t == ((r = y.routeStore.tempToBooth) == null ? void 0 : r.name));
|
|
593
593
|
});
|
|
594
|
-
else if (t instanceof
|
|
594
|
+
else if (t instanceof x) 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 et && (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
|
+
b.onDetails({
|
|
607
607
|
...s,
|
|
608
|
-
...n === "route" ? { routeInfo: (e =
|
|
608
|
+
...n === "route" ? { routeInfo: (e = y.routeStore.routeInfo) == null ? void 0 : e } : {}
|
|
609
609
|
});
|
|
610
610
|
});
|
|
611
611
|
}
|
|
@@ -658,7 +658,7 @@ function K(e) {
|
|
|
658
658
|
entity: e.entity,
|
|
659
659
|
isEnded: e.isEnded
|
|
660
660
|
};
|
|
661
|
-
case
|
|
661
|
+
case f: return {
|
|
662
662
|
id: e.id,
|
|
663
663
|
name: J(e.name),
|
|
664
664
|
entity: e.entity
|
|
@@ -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 = Fe(), 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(y), y.fp = this, g(Sn()), rt(), 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)(Xe, {
|
|
694
694
|
offHistory: this.offHistory,
|
|
695
695
|
consent: this.consent
|
|
696
|
-
}) })), ht(yt.Rendered, ""),
|
|
696
|
+
}) })), ht(yt.Rendered, ""), g(Ge(() => y.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(), !y.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
|
+
y.initialized = !0;
|
|
704
|
+
})), g(() => clearTimeout(Q));
|
|
705
|
+
let e = zt(it);
|
|
706
|
+
e && import("./bootIntercom-uAQFMl_Y.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 = y.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
714
|
+
y.selectBooth(t);
|
|
715
715
|
}
|
|
716
716
|
selectExhibitor(e) {
|
|
717
717
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
@@ -719,35 +719,35 @@ var Cn = class extends c {
|
|
|
719
719
|
return;
|
|
720
720
|
}
|
|
721
721
|
if (!(e != null && e.length)) {
|
|
722
|
-
|
|
722
|
+
y.uiState.menu = !1, y.searchStore.resetSearchBox(), y.uiState.details = null;
|
|
723
723
|
return;
|
|
724
724
|
}
|
|
725
|
-
let t =
|
|
725
|
+
let t = y.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
|
+
y.selectExhibitor(t[0]), y.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 && y.layerStore.updateVisibility(n, !0), y.uiState.menu = !1, y.searchStore.resetSearchBox(), y.uiState.details = null, y.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
|
+
}, y.moveToList();
|
|
740
740
|
}
|
|
741
741
|
highlightExhibitors(e) {
|
|
742
|
-
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"),
|
|
742
|
+
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), y.boothStore.highlightedByExternalIds = [], y.exhibitorStore.highlightedByExternalIds = [...e];
|
|
743
743
|
}
|
|
744
744
|
highlightBooths(e) {
|
|
745
|
-
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"),
|
|
745
|
+
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), y.exhibitorStore.highlightedByExternalIds = [], y.boothStore.highlightedByExternalIds = [...e];
|
|
746
746
|
}
|
|
747
747
|
highlightEntities(e) {
|
|
748
748
|
Array.isArray(e) || $("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
|
|
749
749
|
let { boothExternalIds: t, exhibitorExternalIds: n } = _t(e);
|
|
750
|
-
|
|
750
|
+
y.boothStore.highlightedByExternalIds = [...t], y.exhibitorStore.highlightedByExternalIds = [...n];
|
|
751
751
|
}
|
|
752
752
|
selectRoute(e, t) {
|
|
753
753
|
if (Array.isArray(e)) {
|
|
@@ -758,10 +758,10 @@ var Cn = class extends c {
|
|
|
758
758
|
return;
|
|
759
759
|
}
|
|
760
760
|
let i = t.map(Z).filter((e) => e !== null);
|
|
761
|
-
|
|
761
|
+
y.routeStore.selectRoute(new O(Z(n), Z(r), i));
|
|
762
762
|
return;
|
|
763
763
|
}
|
|
764
|
-
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"),
|
|
764
|
+
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), y.routeStore.selectRoute(new O(Z(e), t ? Z(t) : null));
|
|
765
765
|
}
|
|
766
766
|
getOptimizedRoutes(e) {
|
|
767
767
|
if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
|
|
@@ -782,11 +782,11 @@ var Cn = class extends c {
|
|
|
782
782
|
selectCurrentPosition(e, t, n) {
|
|
783
783
|
var r;
|
|
784
784
|
let i = E(e.x) && E(e.y), a = E(e.lng) && E(e.lat);
|
|
785
|
-
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"),
|
|
785
|
+
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), y.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
|
|
786
786
|
}
|
|
787
787
|
setBookmarks(e) {
|
|
788
788
|
(!Array.isArray(e) || !e.length) && $("setBookmarks", "Parameter must be an array.", "EFP000700"), e.forEach((e) => {
|
|
789
|
-
let t =
|
|
789
|
+
let t = y.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
|
|
790
790
|
t && (t.bookmarked = e.bookmarked);
|
|
791
791
|
});
|
|
792
792
|
}
|
|
@@ -805,29 +805,29 @@ var Cn = class extends c {
|
|
|
805
805
|
$("setEntitiesBookmarks", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000702");
|
|
806
806
|
return;
|
|
807
807
|
}
|
|
808
|
-
let r =
|
|
808
|
+
let r = at("bookmarked"), i = {
|
|
809
809
|
exhibitor: {
|
|
810
810
|
existingIds: new Set(r.exhibitors || []),
|
|
811
|
-
finder: (e) =>
|
|
812
|
-
replacer: (e) =>
|
|
811
|
+
finder: (e) => y.exhibitorStore.findExhibitor(e),
|
|
812
|
+
replacer: (e) => y.exhibitorStore.replaceBookmarked(e)
|
|
813
813
|
},
|
|
814
814
|
event: {
|
|
815
815
|
existingIds: new Set(r.events || []),
|
|
816
|
-
finder: (e) =>
|
|
817
|
-
replacer: (e) =>
|
|
816
|
+
finder: (e) => y.eventStore.findByNameOrSlug(e),
|
|
817
|
+
replacer: (e) => y.eventStore.replaceBookmarked(e)
|
|
818
818
|
},
|
|
819
819
|
speaker: {
|
|
820
820
|
existingIds: new Set(r.speakers || []),
|
|
821
|
-
finder: (e) =>
|
|
822
|
-
replacer: (e) =>
|
|
821
|
+
finder: (e) => y.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
|
|
822
|
+
replacer: (e) => y.speakerStore.replaceBookmarked(e)
|
|
823
823
|
},
|
|
824
824
|
booth: {
|
|
825
825
|
existingIds: new Set(r.booths || []),
|
|
826
826
|
finder: (e) => {
|
|
827
|
-
let t =
|
|
827
|
+
let t = y.boothStore.findBooth(e);
|
|
828
828
|
return (t == null ? void 0 : t.exhibitors.length) === 0 ? t : void 0;
|
|
829
829
|
},
|
|
830
|
-
replacer: (e) =>
|
|
830
|
+
replacer: (e) => y.boothStore.replaceBookmarked(e)
|
|
831
831
|
}
|
|
832
832
|
};
|
|
833
833
|
e.forEach((e) => {
|
|
@@ -847,16 +847,16 @@ var Cn = class extends c {
|
|
|
847
847
|
$("setEntitiesVisited", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000704");
|
|
848
848
|
return;
|
|
849
849
|
}
|
|
850
|
-
let r =
|
|
850
|
+
let r = at("visited"), i = {
|
|
851
851
|
exhibitor: {
|
|
852
852
|
existingIds: new Set(r.exhibitors || []),
|
|
853
|
-
finder: (e) =>
|
|
854
|
-
replacer: (e) =>
|
|
853
|
+
finder: (e) => y.exhibitorStore.findExhibitor(e),
|
|
854
|
+
replacer: (e) => y.exhibitorStore.replaceVisited(e)
|
|
855
855
|
},
|
|
856
856
|
event: {
|
|
857
857
|
existingIds: new Set(r.events || []),
|
|
858
|
-
finder: (e) =>
|
|
859
|
-
replacer: (e) =>
|
|
858
|
+
finder: (e) => y.eventStore.findByNameOrSlug(e),
|
|
859
|
+
replacer: (e) => y.eventStore.replaceVisited(e)
|
|
860
860
|
}
|
|
861
861
|
};
|
|
862
862
|
e.forEach((e) => {
|
|
@@ -871,94 +871,94 @@ var Cn = class extends c {
|
|
|
871
871
|
$("setMarkers", "Invalid input.", "EFP000800");
|
|
872
872
|
return;
|
|
873
873
|
}
|
|
874
|
-
|
|
874
|
+
y.routeStore.setMarkers(e);
|
|
875
875
|
}
|
|
876
876
|
selectMarker(e, t = !0) {
|
|
877
|
-
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"),
|
|
877
|
+
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), y.routeStore.selectMarker(e, t);
|
|
878
878
|
}
|
|
879
879
|
drawCircles(e) {
|
|
880
|
-
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"),
|
|
880
|
+
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), y.uiState.debugCircles = e;
|
|
881
881
|
}
|
|
882
882
|
checkRoutes() {
|
|
883
|
-
|
|
883
|
+
y.routeStore.checkRoutes();
|
|
884
884
|
}
|
|
885
885
|
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"),
|
|
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"), y.layerStore.updateVisibility(e, t);
|
|
887
887
|
}
|
|
888
888
|
getCenterCoordinates() {
|
|
889
|
-
return
|
|
889
|
+
return y.fp.getCenterCoordinates();
|
|
890
890
|
}
|
|
891
891
|
exhibitorsList() {
|
|
892
|
-
return
|
|
892
|
+
return y.exhibitorStore.exhibitors.map((e) => K(e));
|
|
893
893
|
}
|
|
894
894
|
boothsList() {
|
|
895
|
-
return
|
|
895
|
+
return y.boothStore.booths.map((e) => K(e));
|
|
896
896
|
}
|
|
897
897
|
categoriesList() {
|
|
898
|
-
return
|
|
898
|
+
return y.categoryStore.categories.map((e) => K(e));
|
|
899
899
|
}
|
|
900
900
|
selectCategory(e) {
|
|
901
901
|
if (e == null || typeof e != "string") {
|
|
902
|
-
|
|
902
|
+
y.searchStore.selectSearch();
|
|
903
903
|
return;
|
|
904
904
|
}
|
|
905
|
-
let t = e == null ? void 0 : e.toLowerCase(), n =
|
|
905
|
+
let t = e == null ? void 0 : e.toLowerCase(), n = y.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
|
|
906
906
|
if (!n) {
|
|
907
907
|
$("selectCategory", `Category ${e} not found.`, "EFP000C01");
|
|
908
908
|
return;
|
|
909
909
|
}
|
|
910
|
-
|
|
910
|
+
y.selectCategory(n);
|
|
911
911
|
}
|
|
912
912
|
select(e) {
|
|
913
913
|
if (typeof e != "string") {
|
|
914
914
|
$("select", "Parameter must be a string.", "EFP001700");
|
|
915
915
|
return;
|
|
916
916
|
}
|
|
917
|
-
let t = e, n = t == null ? void 0 : t.toLowerCase(), r =
|
|
917
|
+
let t = e, n = t == null ? void 0 : t.toLowerCase(), r = y.boothStore.booths.find((e) => {
|
|
918
918
|
var t, r, i;
|
|
919
919
|
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
920
|
});
|
|
921
921
|
if (r) {
|
|
922
|
-
setTimeout(() =>
|
|
922
|
+
setTimeout(() => y.selectBooth(r), 250);
|
|
923
923
|
return;
|
|
924
924
|
}
|
|
925
|
-
let i =
|
|
925
|
+
let i = y.eventStore.eventItems.find((e) => {
|
|
926
926
|
var t, r;
|
|
927
927
|
return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
|
|
928
928
|
});
|
|
929
929
|
if (i) {
|
|
930
|
-
|
|
930
|
+
y.selectEventItem(i, !0);
|
|
931
931
|
return;
|
|
932
932
|
}
|
|
933
|
-
let a =
|
|
933
|
+
let a = y.exhibitorStore.exhibitors.find((e) => {
|
|
934
934
|
var t, r;
|
|
935
935
|
return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
|
|
936
936
|
});
|
|
937
937
|
if (a) {
|
|
938
|
-
setTimeout(() =>
|
|
938
|
+
setTimeout(() => y.clickExhibitor(a), 250);
|
|
939
939
|
return;
|
|
940
940
|
}
|
|
941
|
-
let o =
|
|
941
|
+
let o = y.categoryStore.categories.find((e) => e.slug === t);
|
|
942
942
|
if (o) {
|
|
943
|
-
|
|
943
|
+
y.selectCategory(o);
|
|
944
944
|
return;
|
|
945
945
|
}
|
|
946
|
-
let s =
|
|
946
|
+
let s = y.speakerStore.findBySlug(t);
|
|
947
947
|
if (s) {
|
|
948
|
-
|
|
948
|
+
y.selectSpeaker(s, !0);
|
|
949
949
|
return;
|
|
950
950
|
}
|
|
951
|
-
t.includes("heatmap=true") ||
|
|
951
|
+
t.includes("heatmap=true") || y.searchStore.selectSearch(t);
|
|
952
952
|
}
|
|
953
953
|
showList(e) {
|
|
954
954
|
let t = {
|
|
955
|
-
bookmarks: () =>
|
|
956
|
-
visited: () =>
|
|
957
|
-
sessions: () =>
|
|
958
|
-
exhibitors: () =>
|
|
959
|
-
speakers: () =>
|
|
960
|
-
tours: () =>
|
|
961
|
-
language: () =>
|
|
955
|
+
bookmarks: () => y.selectBookmarks(),
|
|
956
|
+
visited: () => y.selectVisited(),
|
|
957
|
+
sessions: () => y.selectSessions(),
|
|
958
|
+
exhibitors: () => y.selectExhibitors(),
|
|
959
|
+
speakers: () => y.selectSpeakers(),
|
|
960
|
+
tours: () => y.selectTours(),
|
|
961
|
+
language: () => y.selectLanguage()
|
|
962
962
|
}, n = t[e];
|
|
963
963
|
if (!n) {
|
|
964
964
|
$("showList", `Unknown list "${e}". Must be one of: ${Object.keys(t).join(", ")}.`, "EFP001800");
|
|
@@ -968,15 +968,15 @@ var Cn = class extends c {
|
|
|
968
968
|
}
|
|
969
969
|
showSessions(e = {}) {
|
|
970
970
|
X("showSessions called with filters=%O", e);
|
|
971
|
-
let t =
|
|
971
|
+
let t = _e.safeParse(e);
|
|
972
972
|
if (!t.success) {
|
|
973
973
|
$("showSessions", t.error.message, "EFP001C00");
|
|
974
974
|
return;
|
|
975
975
|
}
|
|
976
|
-
let n = t.data, { eventStore: r, sessionsFilterStore: i } =
|
|
977
|
-
|
|
976
|
+
let n = t.data, { eventStore: r, sessionsFilterStore: i } = y;
|
|
977
|
+
Ke(() => {
|
|
978
978
|
var e, t, a, o;
|
|
979
|
-
|
|
979
|
+
b.details = null, y.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
980
|
});
|
|
981
981
|
}
|
|
982
982
|
selectTour(e) {
|
|
@@ -984,8 +984,8 @@ var Cn = class extends c {
|
|
|
984
984
|
$("selectTour", "A tour id must be passed.", "EFP001900");
|
|
985
985
|
return;
|
|
986
986
|
}
|
|
987
|
-
let t =
|
|
988
|
-
t ?
|
|
987
|
+
let t = y.toursStore.getTourById(e);
|
|
988
|
+
t ? y.toursStore.launchTour(t, t.name, t.description) : (console.warn(`Route with id "${e}" not found`), y.selectTours());
|
|
989
989
|
}
|
|
990
990
|
openPlanner(e = {}) {
|
|
991
991
|
if (typeof e != "object" || !e) {
|
|
@@ -993,47 +993,47 @@ var Cn = class extends c {
|
|
|
993
993
|
return;
|
|
994
994
|
}
|
|
995
995
|
let t = e.from ? D(e.from) : null;
|
|
996
|
-
if (e.fromBookmarks)
|
|
996
|
+
if (e.fromBookmarks) y.routePlannerStore.launchFromBookmarks(t == null ? void 0 : t);
|
|
997
997
|
else {
|
|
998
998
|
var n;
|
|
999
|
-
|
|
999
|
+
y.routePlannerStore.launchFromSlugs((n = e.items) == null ? [] : n, t == null ? void 0 : t);
|
|
1000
1000
|
}
|
|
1001
1001
|
}
|
|
1002
1002
|
startBuildRoute() {
|
|
1003
|
-
|
|
1003
|
+
y.uiState.startBuildRoute();
|
|
1004
1004
|
}
|
|
1005
1005
|
applyParameters(e) {
|
|
1006
1006
|
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), on(e);
|
|
1007
1007
|
}
|
|
1008
1008
|
getVisibility() {
|
|
1009
|
-
return
|
|
1009
|
+
return y.uiState.visibility;
|
|
1010
1010
|
}
|
|
1011
1011
|
setVisibility(e) {
|
|
1012
|
-
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"),
|
|
1012
|
+
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), y.uiState.setVisibility(e);
|
|
1013
1013
|
}
|
|
1014
1014
|
findLocation() {
|
|
1015
|
-
|
|
1015
|
+
y.routeStore.findLocation();
|
|
1016
1016
|
}
|
|
1017
1017
|
zoomIn() {
|
|
1018
|
-
|
|
1018
|
+
y.uiState.zoomIn();
|
|
1019
1019
|
}
|
|
1020
1020
|
zoomOut() {
|
|
1021
|
-
|
|
1021
|
+
y.uiState.zoomOut();
|
|
1022
1022
|
}
|
|
1023
1023
|
switchView() {
|
|
1024
|
-
|
|
1024
|
+
y.maplibreStore.activateMaplibre();
|
|
1025
1025
|
}
|
|
1026
1026
|
setCamera(e) {
|
|
1027
1027
|
X("setCamera called with camera=%O", e);
|
|
1028
|
-
let t =
|
|
1028
|
+
let t = le.safeParse(e);
|
|
1029
1029
|
if (!t.success) {
|
|
1030
1030
|
$("setCamera", t.error.message, "EFP001B00");
|
|
1031
1031
|
return;
|
|
1032
1032
|
}
|
|
1033
|
-
|
|
1033
|
+
y.uiState.setMapSettings(v(t.data));
|
|
1034
1034
|
}
|
|
1035
1035
|
getCamera() {
|
|
1036
|
-
return
|
|
1036
|
+
return Je(y.uiState.mapSettings);
|
|
1037
1037
|
}
|
|
1038
1038
|
zoomTo(e, t) {
|
|
1039
1039
|
X("zoomTo called with selectors=%O options=%O", e, t);
|
|
@@ -1061,11 +1061,11 @@ var Cn = class extends c {
|
|
|
1061
1061
|
let i = [];
|
|
1062
1062
|
if ((t = e.booths) == null || t.forEach((e) => {
|
|
1063
1063
|
let t;
|
|
1064
|
-
e.externalId ? t =
|
|
1064
|
+
e.externalId ? t = y.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = y.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
|
|
1065
1065
|
}), (n = e.exhibitors) == null || n.forEach((e) => {
|
|
1066
1066
|
var t;
|
|
1067
1067
|
let n;
|
|
1068
|
-
e.externalId ? n =
|
|
1068
|
+
e.externalId ? n = y.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = y.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
|
|
1069
1069
|
e.rect && i.push(e.rect);
|
|
1070
1070
|
});
|
|
1071
1071
|
}), i.length === 0) return;
|
|
@@ -1083,7 +1083,7 @@ var Cn = class extends c {
|
|
|
1083
1083
|
}
|
|
1084
1084
|
fitBounds(e, t) {
|
|
1085
1085
|
if (X("fitBounds called with bounds=%O options=%O", e, t), !e) {
|
|
1086
|
-
|
|
1086
|
+
y.uiState.fitBounds();
|
|
1087
1087
|
return;
|
|
1088
1088
|
}
|
|
1089
1089
|
let n = Xt.safeParse(e);
|
|
@@ -1103,7 +1103,7 @@ var Cn = class extends c {
|
|
|
1103
1103
|
x: e.rightBottom.x,
|
|
1104
1104
|
y: e.rightBottom.y
|
|
1105
1105
|
});
|
|
1106
|
-
|
|
1106
|
+
y.uiState.moveToRect = t != null && t.padding ? i.expand(t.padding) : i;
|
|
1107
1107
|
}
|
|
1108
1108
|
getBoothRect(e) {
|
|
1109
1109
|
var t;
|
|
@@ -1136,16 +1136,16 @@ var Cn = class extends c {
|
|
|
1136
1136
|
}
|
|
1137
1137
|
releaseResources() {
|
|
1138
1138
|
var e;
|
|
1139
|
-
|
|
1139
|
+
y.maplibreStore.dispose(), (e = this.root) == null || e.unmount(), super.releaseResources();
|
|
1140
1140
|
}
|
|
1141
1141
|
search(e) {
|
|
1142
|
-
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"),
|
|
1142
|
+
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), y.fuzzySearchEngineStore.loadEngine().then(() => (y.searchStore.selectSearch(e), y.uiState.fuzzySearchItems.map((e) => ({
|
|
1143
1143
|
item: K(e.item),
|
|
1144
1144
|
score: e.score
|
|
1145
1145
|
}))));
|
|
1146
1146
|
}
|
|
1147
1147
|
getFloors() {
|
|
1148
|
-
return
|
|
1148
|
+
return y.layerStore.floors.map((e) => ({
|
|
1149
1149
|
name: e.name,
|
|
1150
1150
|
shortName: e.shortName,
|
|
1151
1151
|
description: e.description,
|
|
@@ -1194,45 +1194,45 @@ var Cn = class extends c {
|
|
|
1194
1194
|
}
|
|
1195
1195
|
showPathwayOnly(e, t) {
|
|
1196
1196
|
var n;
|
|
1197
|
-
this.activateFloor({ name: t }),
|
|
1198
|
-
let r =
|
|
1199
|
-
o && (
|
|
1197
|
+
this.activateFloor({ name: t }), y.layerStore.showPathWay(e), y.uiState.setPathwayOnlyMode(!0);
|
|
1198
|
+
let r = y.layerStore.findLayer(e), i = y.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;
|
|
1199
|
+
o && (y.uiState.moveToRect = o.clone());
|
|
1200
1200
|
}
|
|
1201
1201
|
hidePathways() {
|
|
1202
|
-
this.highlightBooths([]),
|
|
1202
|
+
this.highlightBooths([]), y.layerStore.hidePathways(), y.uiState.setPathwayOnlyMode(!1);
|
|
1203
1203
|
}
|
|
1204
1204
|
showSearch() {
|
|
1205
|
-
|
|
1205
|
+
y.selectSearch("");
|
|
1206
1206
|
}
|
|
1207
1207
|
changeLanguage(e) {
|
|
1208
1208
|
var t;
|
|
1209
1209
|
let n = e == null || (t = e.toLowerCase) == null ? void 0 : t.call(e);
|
|
1210
|
-
if (!
|
|
1211
|
-
$("changeLanguage", `Language "${e}" was not found. Available languages: ${
|
|
1210
|
+
if (!we(n)) {
|
|
1211
|
+
$("changeLanguage", `Language "${e}" was not found. Available languages: ${xe().map((e) => e.id).join(",")}`, "EFP001300");
|
|
1212
1212
|
return;
|
|
1213
1213
|
}
|
|
1214
1214
|
Se(n);
|
|
1215
1215
|
}
|
|
1216
1216
|
isGpsTrackingEnabled() {
|
|
1217
|
-
return
|
|
1217
|
+
return y.routeStore.gpsEnabled;
|
|
1218
1218
|
}
|
|
1219
1219
|
setGpsTrackingEnabled(e) {
|
|
1220
|
-
|
|
1220
|
+
y.routeStore.setGpsTrackingEnabled(e);
|
|
1221
1221
|
}
|
|
1222
1222
|
deselectCurrentPosition() {
|
|
1223
|
-
|
|
1223
|
+
y.routeStore.selectCurrentPosition(null, !1);
|
|
1224
1224
|
}
|
|
1225
1225
|
deselectRoute() {
|
|
1226
|
-
|
|
1226
|
+
y.routeStore.selectRoute(null), y.routeStore.setOnlyAccessible(!1);
|
|
1227
1227
|
}
|
|
1228
1228
|
reset() {
|
|
1229
|
-
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]),
|
|
1229
|
+
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), y.uiState.kioskData && y.resetCameraFn) {
|
|
1230
1230
|
var e;
|
|
1231
|
-
(e =
|
|
1231
|
+
(e = y.resetCameraFn) == null || e.call(y);
|
|
1232
1232
|
} else this.fitBounds();
|
|
1233
1233
|
}
|
|
1234
1234
|
selectAccessibleRoute(e) {
|
|
1235
|
-
|
|
1235
|
+
y.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
|
|
1236
1236
|
}
|
|
1237
1237
|
};
|
|
1238
1238
|
function wn(e = [], t, n) {
|
|
@@ -1251,14 +1251,14 @@ function wn(e = [], t, n) {
|
|
|
1251
1251
|
return [...r];
|
|
1252
1252
|
}
|
|
1253
1253
|
function Z(e) {
|
|
1254
|
-
let t = typeof e == "string" ? D(e) :
|
|
1254
|
+
let t = typeof e == "string" ? D(e) : y.routeStore.getNearestBooth(e);
|
|
1255
1255
|
return t == null ? null : t;
|
|
1256
1256
|
}
|
|
1257
1257
|
var Q = 0;
|
|
1258
1258
|
function $(e, t, n) {
|
|
1259
1259
|
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
|
-
|
|
1260
|
+
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), y.fp.disableRuntimeAlerts) return;
|
|
1261
|
+
y.uiState.setGlobalErrorMessage({
|
|
1262
1262
|
title: r,
|
|
1263
1263
|
body: /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [
|
|
1264
1264
|
i,
|
|
@@ -1274,7 +1274,7 @@ function $(e, t, n) {
|
|
|
1274
1274
|
let o = 8e3;
|
|
1275
1275
|
Q = window.setTimeout(() => {
|
|
1276
1276
|
let e = async () => {
|
|
1277
|
-
|
|
1277
|
+
y.uiState.globalErrorMessages.length > 0 && (y.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
|
|
1278
1278
|
};
|
|
1279
1279
|
e();
|
|
1280
1280
|
}, o);
|