@expofp/floorplan 3.21.1 → 3.23.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-DyYB6xKN.js → Button-Cdcme0dW.js} +5 -5
- package/dist/browser/{CookieConsent-PGzI3yHO.js → CookieConsent-B7cDBqp6.js} +7 -7
- package/dist/browser/{Debug-COmrk222.js → Debug-C1YnJvnk.js} +7 -7
- package/dist/browser/{Demo-oeV20zP1.js → Demo-BIM3wFq3.js} +9 -9
- package/dist/browser/{Free-CegScEga.js → Free-D7U5AEcf.js} +12 -12
- package/dist/browser/{Gallery-_lawSGqx.js → Gallery-BXlz1tz4.js} +9 -9
- package/dist/browser/{GpsLoader-ClIbEGYM.js → GpsLoader-BdUzK_Wq.js} +29 -29
- package/dist/browser/{KioskStore-f0DC16TK.js → KioskStore-t38ARgcW.js} +33 -33
- package/dist/browser/{MaplibreAdapter-DeUL0xOU.js → MaplibreAdapter-CSAShUgd.js} +2098 -2047
- package/dist/browser/{ModalContainer-DLBgX5QP.js → ModalContainer-B33HKAAU.js} +10 -10
- package/dist/browser/{PermissionNotice-BAsy6jo0.js → PermissionNotice-F6g9pz0M.js} +6 -6
- package/dist/browser/{SetKioskMode-BfVNX_MG.js → SetKioskMode-CJoi2gHM.js} +11 -11
- package/dist/browser/{ShowKiosk-B1C0a6oU.js → ShowKiosk-H4rnBUGh.js} +11 -11
- package/dist/browser/{ViewerMenuPanel-D7HWRHcc.js → ViewerMenuPanel-BmJhh8Ln.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-DVydJSza.js → add-debug-secret-listener-BNoe6VU3.js} +1 -1
- package/dist/browser/{adopt-global-settings-BP7jeIs4.js → adopt-global-settings-DIweHmmO.js} +9 -9
- package/dist/browser/{boolean-editor-lXQibdbw.js → boolean-editor-C9fqoeTB.js} +9 -9
- package/dist/browser/{bootIntercom-g4N9mYqN.js → bootIntercom-BB5HdKln.js} +2 -2
- package/dist/browser/{booth-by-xy-DtDEluxt.js → booth-by-xy-BP9IYJhy.js} +254 -254
- package/dist/browser/bundle.json +65 -65
- package/dist/browser/{classnames-D1H49Ylw.js → classnames-Dmeqek3o.js} +2 -2
- package/dist/browser/{client-DJyhHF20.js → client-CBb2454O.js} +4 -4
- package/dist/browser/{components-DrPsXyP7.js → components-DyDFRZBC.js} +787 -738
- package/dist/browser/{debug-overlay-2-3s8Atk.js → debug-overlay-DXOrtUeJ.js} +10 -10
- package/dist/browser/{debug-ui-Dadmy3yG.js → debug-ui-tNUnR4wz.js} +6 -6
- package/dist/browser/{dist-Ch11tk4A.js → dist-BIFUFe-T.js} +5 -5
- package/dist/browser/{dist-CoV6SEDf.js → dist-DZfEO0RJ.js} +6 -6
- package/dist/browser/{dist-DpyoGiMq.js → dist-DcOtrqGG.js} +3 -3
- package/dist/browser/{efp-debug-init-NTJ55pbo.js → efp-debug-init-B4ddpmiL.js} +3 -3
- package/dist/browser/{enum-editor-P8k6CxpK.js → enum-editor-CJB3E-Vh.js} +4 -4
- package/dist/browser/{es5-BNAXdIXy.js → es5-DeTUpXm2.js} +2 -2
- package/dist/browser/{event-not-found-zrxmY-4I.js → event-not-found-WRXwMJms.js} +1 -1
- package/dist/browser/{exports-Cmt6qLmi.js → exports-C5uYtLxL.js} +1 -1
- package/dist/browser/{favicon-BcvdcBjJ.js → favicon-5gTCZLy9.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CwLHs7gm.js → fetch-retry.umd-BoyaQteS.js} +2 -2
- package/dist/browser/{flex-CZxVZLiS.js → flex-DjFgAKFt.js} +5 -5
- package/dist/browser/{floorplan.loader-CVqPWtRR.js → floorplan.loader-Ck3XnezM.js} +651 -636
- package/dist/browser/{floorplan.ready-Cku02kNV.js → floorplan.ready-CzTR8qqL.js} +315 -353
- package/dist/browser/{fuse-DAKoh9Sn.js → fuse-BR27GheK.js} +2 -2
- package/dist/browser/{i18n-oXBjISpK.js → i18n-DNH3sP4D.js} +2529 -2558
- package/dist/browser/index.js +35 -35
- package/dist/browser/{index.module-DV0zb8y6.js → index.module-DzGptmYn.js} +4 -4
- package/dist/browser/{integrateKiosk-BtlbXjk8.js → integrateKiosk-DN5HgMdz.js} +9 -8
- package/dist/browser/{is-webview-CDAwTE_T.js → is-webview-CEqtlsy5.js} +1 -1
- package/dist/browser/{jsx-runtime-C_M9qBpc.js → jsx-runtime-BRUHXGcL.js} +2 -2
- package/dist/browser/{kiosk-record-5DWijpUq.js → kiosk-record-C6KsyYH0.js} +1 -1
- package/dist/browser/{lib-DVQm4XG_.js → lib-BoYL1Y22.js} +3 -3
- package/dist/browser/{loadImage-Dkh3AoGR.js → loadImage-2JV_4hsV.js} +4 -4
- package/dist/browser/{logDeviceInfo-Ccvah0yg.js → logDeviceInfo-Bga4LjdT.js} +9 -9
- package/dist/browser/{main-B88omsdI.js → main-BUSluy8y.js} +1 -1
- package/dist/browser/{mobx-DdJZvHEB.js → mobx-Cp-RXiD6.js} +4 -4
- package/dist/browser/{optional-boolean-editor-9UNagXL6.js → optional-boolean-editor-biZOa4EF.js} +3 -3
- package/dist/browser/{optional-enum-editor-WnN344M7.js → optional-enum-editor-BuzYWVhL.js} +4 -4
- package/dist/browser/{optional-string-editor-BixGVxIr.js → optional-string-editor-1Gxph7oU.js} +4 -4
- package/dist/browser/{particles.min-DJy8aIR6.js → particles.min-Cq5SYO7P.js} +2 -2
- package/dist/browser/{react-DsyxxgJv.js → react-BCiZTNvQ.js} +2 -2
- package/dist/browser/{react-dom-BXP4j1KL.js → react-dom-Gayzbfmi.js} +3 -3
- package/dist/browser/{rolldown-runtime-foRd1umF.js → rolldown-runtime-C4CgTizo.js} +1 -1
- package/dist/browser/{select-Cn_RP7hP.js → select-BEAG7sfR.js} +10 -10
- package/dist/browser/{settings-Jt3zjfc9.js → settings-BJrS0XMO.js} +2 -2
- package/dist/browser/{settings-item-BdWruI_d.js → settings-item-C-rqGE6m.js} +6 -6
- package/dist/browser/{store-BEkesuqa.js → store-DH91iUcL.js} +7014 -7107
- package/dist/browser/{string-editor-Cz5tHqIH.js → string-editor-fs3xB248.js} +4 -4
- package/dist/browser/{text-field-CiqRIQkJ.js → text-field-CN-pynRC.js} +5 -5
- package/dist/browser/{theme-w6xowkim.js → theme-78GgHmsO.js} +8 -8
- package/dist/browser/{ui-CpE8-iDh.js → ui-BFQlKtKk.js} +8 -8
- package/dist/browser/{useRenderTarget-CseUnJfL.js → useRenderTarget-CtWSXh71.js} +4 -4
- package/dist/esm/components/Bookmarks.js +1 -1
- package/dist/esm/components/Kiosk/integrateKiosk.d.ts +8 -2
- package/dist/esm/components/Kiosk/integrateKiosk.js +1 -1
- package/dist/esm/components/Kiosk/kiosk-mode.d.ts +8 -0
- package/dist/esm/components/Kiosk/kiosk-mode.js +1 -0
- package/dist/esm/components/Kiosk/kiosk-record.d.ts +5 -1
- package/dist/esm/components/Kiosk/kioskUrlParam.d.ts +7 -3
- package/dist/esm/components/Kiosk/kioskUrlParam.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/dist/esm/components/Maplibre/useCameraReactions.js +1 -1
- package/dist/esm/components/Maplibre/utils/geo-config.d.ts +32 -0
- package/dist/esm/components/Maplibre/utils/geo-config.js +1 -1
- package/dist/esm/floorplan.loader.d.ts +6 -5
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/internal-settings.d.ts +13 -0
- package/dist/esm/internal-settings.js +1 -0
- package/dist/esm/services/multi-slug.d.ts +3 -3
- package/dist/esm/services/url-dispatch.d.ts +3 -5
- package/dist/esm/services/url-dispatch.js +1 -1
- package/dist/esm/store/BookmarksStore.d.ts +1 -4
- package/dist/esm/store/BookmarksStore.js +1 -2
- package/dist/esm/store/UIState.d.ts +13 -5
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/index.js +1 -1
- package/dist/esm/store/init/init-booths.d.ts +3 -3
- package/dist/esm/store/init/init-booths.js +1 -1
- package/dist/esm/store/init/init-ui.js +1 -1
- package/dist/esm/utils/customCommands.js +1 -1
- package/dist/esm/utils/scene-bounds.d.ts +7 -0
- package/dist/esm/utils/scene-bounds.js +1 -1
- package/package.json +10 -9
- package/dist/esm/store/init/init-bookmarks.d.ts +0 -9
- package/dist/esm/store/init/init-bookmarks.js +0 -1
|
@@ -2,32 +2,32 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.23.0" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "94a59891-5912-4003-af0e-22bf1d19a5fe", e._sentryDebugIdIdentifier = "sentry-dbid-94a59891-5912-4003-af0e-22bf1d19a5fe");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
11
|
-
import { A as n, P as r, T as i, _ as a, f as o, k as s, n as c, o as l, s as u, t as d, v as f, w as p } from "./i18n-
|
|
12
|
-
import { t as m } from "./react-
|
|
13
|
-
import { t as h } from "./jsx-runtime-
|
|
14
|
-
import { n as g, r as _ } from "./loadImage-
|
|
15
|
-
import { n as v } from "./exports-
|
|
16
|
-
import { t as y } from "./fuse-
|
|
17
|
-
import { t as b } from "./react-dom-
|
|
18
|
-
import { t as x } from "./classnames-
|
|
19
|
-
import { t as S } from "./Button-
|
|
20
|
-
import { $t as C,
|
|
21
|
-
import { t as
|
|
22
|
-
import { n as G, r as K, t as q } from "./index.module-
|
|
23
|
-
import "./CookieConsent-
|
|
24
|
-
import "./Demo-
|
|
25
|
-
import { n as
|
|
26
|
-
import "./Gallery-
|
|
27
|
-
import { t as
|
|
28
|
-
import { a as
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-C4CgTizo.js";
|
|
11
|
+
import { A as n, P as r, T as i, _ as a, f as o, k as s, n as c, o as l, s as u, t as d, v as f, w as p } from "./i18n-DNH3sP4D.js";
|
|
12
|
+
import { t as m } from "./react-BCiZTNvQ.js";
|
|
13
|
+
import { t as h } from "./jsx-runtime-BRUHXGcL.js";
|
|
14
|
+
import { n as g, r as _ } from "./loadImage-2JV_4hsV.js";
|
|
15
|
+
import { n as v } from "./exports-C5uYtLxL.js";
|
|
16
|
+
import { t as y } from "./fuse-BR27GheK.js";
|
|
17
|
+
import { t as b } from "./react-dom-Gayzbfmi.js";
|
|
18
|
+
import { t as x } from "./classnames-Dmeqek3o.js";
|
|
19
|
+
import { t as S } from "./Button-Cdcme0dW.js";
|
|
20
|
+
import { $t as C, B as w, Bt as T, Dt as E, G as D, Gt as O, H as k, J as A, Jt as j, K as M, Kt as N, Mt as P, Nt as ee, P as F, R as I, Rt as te, Sn as ne, St as re, T as ie, U as ae, Wt as oe, X as se, Xt as L, Y as ce, Yt as le, Zt as ue, a as R, an as de, bn as fe, bt as pe, c as z, cn as me, ct as he, dt as ge, en as _e, ft as ve, g as ye, h as be, ht as xe, i as Se, ln as B, n as Ce, nn as we, o as V, pn as Te, q as Ee, qt as De, r as Oe, rn as ke, s as H, sn as U, st as Ae, t as je, tn as W, un as Me, v as Ne, vt as Pe, wt as Fe, x as Ie, xn as Le, yt as Re, z as ze, zt as Be } from "./store-DH91iUcL.js";
|
|
21
|
+
import { t as Ve } from "./ModalContainer-B33HKAAU.js";
|
|
22
|
+
import { n as G, r as K, t as q } from "./index.module-DzGptmYn.js";
|
|
23
|
+
import "./CookieConsent-B7cDBqp6.js";
|
|
24
|
+
import "./Demo-BIM3wFq3.js";
|
|
25
|
+
import { n as He, r as J, t as Ue } from "./mobx-Cp-RXiD6.js";
|
|
26
|
+
import "./Gallery-BXlz1tz4.js";
|
|
27
|
+
import { t as We } from "./useRenderTarget-CtWSXh71.js";
|
|
28
|
+
import { a as Ge, c as Ke, i as qe, l as Je, o as Ye, r as Xe, s as Ze, t as Qe } from "./booth-by-xy-BP9IYJhy.js";
|
|
29
29
|
//#region ../ui/src/components/Alert/Alert.tsx
|
|
30
|
-
var Y = /* @__PURE__ */ e(x(), 1), X = /* @__PURE__ */ e(m(), 1), Z = h(),
|
|
30
|
+
var Y = /* @__PURE__ */ e(x(), 1), X = /* @__PURE__ */ e(m(), 1), Z = h(), $e = ({ children: e, position: t, variant: n = "info", inline: r = !1, showIcon: i = !0, size: a = "md", closable: o = !1, title: s, closeLabel: c, onClose: l }) => {
|
|
31
31
|
let u = () => {
|
|
32
32
|
switch (n) {
|
|
33
33
|
case "error": return "icon-close-solid";
|
|
@@ -67,8 +67,8 @@ var Y = /* @__PURE__ */ e(x(), 1), X = /* @__PURE__ */ e(m(), 1), Z = h(), et =
|
|
|
67
67
|
})
|
|
68
68
|
]
|
|
69
69
|
});
|
|
70
|
-
},
|
|
71
|
-
function
|
|
70
|
+
}, et = /* @__PURE__ */ e(b(), 1);
|
|
71
|
+
function tt(e, t, n = !0) {
|
|
72
72
|
let r = (0, X.useRef)(e), i = (0, X.useRef)(t);
|
|
73
73
|
(0, X.useEffect)(() => {
|
|
74
74
|
r.current = e, i.current = t;
|
|
@@ -88,7 +88,7 @@ function nt(e, t, n = !0) {
|
|
|
88
88
|
}
|
|
89
89
|
//#endregion
|
|
90
90
|
//#region ../ui/src/components/Autocomplete/Autocomplete.tsx
|
|
91
|
-
var
|
|
91
|
+
var nt = ({ placeholder: e, options: t, value: n, showClear: r = !1, onChange: i, renderTarget: a = document.body, noOptionsLabel: o, ariaLabel: s, clearLabel: c, getOptionKey: l = (e) => e.value }) => {
|
|
92
92
|
let u = a, d = (0, X.useRef)(null), f = (0, X.useRef)(null), p = (0, X.useRef)(null), m = (0, X.useRef)(null), h = (0, X.useId)(), g = (e) => `${h}-option-${e}`, _ = (e) => e.label, v = (e, t) => l(e) === l(t), y = (e) => t.findIndex((t) => v(t, e)), b = (e) => t.find((t) => v(t, e)), [x, S] = (0, X.useState)(null), [C, w] = (0, X.useState)(null), [T, E] = (0, X.useState)(!1), [D, O] = (0, X.useState)({
|
|
93
93
|
top: 0,
|
|
94
94
|
left: 0,
|
|
@@ -114,7 +114,7 @@ var rt = ({ placeholder: e, options: t, value: n, showClear: r = !1, onChange: i
|
|
|
114
114
|
}, [T]), (0, X.useEffect)(() => {
|
|
115
115
|
var e;
|
|
116
116
|
C === null || !p.current || (e = p.current.querySelectorAll("li")[C]) == null || e.scrollIntoView({ block: "nearest" });
|
|
117
|
-
}, [C]),
|
|
117
|
+
}, [C]), tt([d, p], () => E(!1), T), (0, X.useEffect)(() => () => {
|
|
118
118
|
m.current && clearTimeout(m.current);
|
|
119
119
|
}, []);
|
|
120
120
|
let P = (e) => {
|
|
@@ -207,7 +207,7 @@ var rt = ({ placeholder: e, options: t, value: n, showClear: r = !1, onChange: i
|
|
|
207
207
|
}
|
|
208
208
|
})]
|
|
209
209
|
})
|
|
210
|
-
}), T && u && (0,
|
|
210
|
+
}), T && u && (0, et.createPortal)(/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
211
211
|
ref: p,
|
|
212
212
|
className: "efp-autocomplete-options",
|
|
213
213
|
style: {
|
|
@@ -241,7 +241,7 @@ var rt = ({ placeholder: e, options: t, value: n, showClear: r = !1, onChange: i
|
|
|
241
241
|
})()
|
|
242
242
|
})
|
|
243
243
|
}), u)] });
|
|
244
|
-
},
|
|
244
|
+
}, rt = ({ children: e, variant: t = "ghost", size: n = "lg", noMargins: r, rounded: i, inline: a }) => /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
245
245
|
className: (0, Y.default)({
|
|
246
246
|
"efp-badge": !0,
|
|
247
247
|
[`efp-badge--${t}`]: !0,
|
|
@@ -251,7 +251,7 @@ var rt = ({ placeholder: e, options: t, value: n, showClear: r = !1, onChange: i
|
|
|
251
251
|
"is-inline": a
|
|
252
252
|
}),
|
|
253
253
|
children: e
|
|
254
|
-
}),
|
|
254
|
+
}), it = ({ checked: e, label: t, ariaLabel: n, className: r, onClick: i }) => {
|
|
255
255
|
let [a, o] = (0, X.useState)(!1);
|
|
256
256
|
return /* @__PURE__ */ (0, Z.jsxs)("button", {
|
|
257
257
|
type: "button",
|
|
@@ -272,7 +272,7 @@ var rt = ({ placeholder: e, options: t, value: n, showClear: r = !1, onChange: i
|
|
|
272
272
|
};
|
|
273
273
|
//#endregion
|
|
274
274
|
//#region ../ui/src/components/DownloadList/DownloadList.tsx
|
|
275
|
-
function
|
|
275
|
+
function at({ fileName: e, path: t, downloadLabel: n }) {
|
|
276
276
|
return /* @__PURE__ */ (0, Z.jsxs)("a", {
|
|
277
277
|
className: "efp-download-list__item",
|
|
278
278
|
href: t,
|
|
@@ -302,7 +302,7 @@ function ot({ fileName: e, path: t, downloadLabel: n }) {
|
|
|
302
302
|
]
|
|
303
303
|
});
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function ot({ list: e, title: t, downloadLabel: n }) {
|
|
306
306
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
307
307
|
className: "efp-download-list",
|
|
308
308
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
@@ -310,7 +310,7 @@ function st({ list: e, title: t, downloadLabel: n }) {
|
|
|
310
310
|
children: t
|
|
311
311
|
}), /* @__PURE__ */ (0, Z.jsx)("ul", {
|
|
312
312
|
className: "efp-download-list__list",
|
|
313
|
-
children: e.map((e) => /* @__PURE__ */ (0, Z.jsx)("li", { children: /* @__PURE__ */ (0, Z.jsx)(
|
|
313
|
+
children: e.map((e) => /* @__PURE__ */ (0, Z.jsx)("li", { children: /* @__PURE__ */ (0, Z.jsx)(at, {
|
|
314
314
|
fileName: e.fileName,
|
|
315
315
|
path: e.path,
|
|
316
316
|
downloadLabel: n
|
|
@@ -320,7 +320,7 @@ function st({ list: e, title: t, downloadLabel: n }) {
|
|
|
320
320
|
}
|
|
321
321
|
//#endregion
|
|
322
322
|
//#region ../ui/src/components/HighlightText/HighlightText.tsx
|
|
323
|
-
var
|
|
323
|
+
var st = "#FFFF99", ct = ({ text: e, highlight: t }) => {
|
|
324
324
|
if (!t || !e) return /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children: e });
|
|
325
325
|
let n = e.toLowerCase().indexOf(t.toLowerCase());
|
|
326
326
|
if (n === -1) return /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children: e });
|
|
@@ -328,12 +328,12 @@ var ct = "#FFFF99", lt = ({ text: e, highlight: t }) => {
|
|
|
328
328
|
return /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [
|
|
329
329
|
e.slice(0, n),
|
|
330
330
|
/* @__PURE__ */ (0, Z.jsx)("mark", {
|
|
331
|
-
style: { background: `linear-gradient(to top, ${
|
|
331
|
+
style: { background: `linear-gradient(to top, ${st}, transparent)` },
|
|
332
332
|
children: e.slice(n, r)
|
|
333
333
|
}),
|
|
334
334
|
e.slice(r)
|
|
335
335
|
] });
|
|
336
|
-
},
|
|
336
|
+
}, lt = ({ id: e, title: t, subtitle: n, image: r, icon: i, typeColor: a, iconClassName: o, variant: s = "default", titleBadge: c, datetime: l, subtitleLabel: u, additionalInfo: d = [], bookmarked: f = !1, featured: p = !1, visited: m, current: h = !1, heatmapColor: g, accentBorderColor: _, hideUserState: v = !1, compactDetails: y, secondaryText: b, highlight: x, featuredLabel: S, hallLabel: C, levelLabel: w, onClick: T }) => {
|
|
337
337
|
let E = !!(l != null && l.date || l != null && l.time), D = E || !!u || !!n;
|
|
338
338
|
return /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
339
339
|
role: "button",
|
|
@@ -384,13 +384,13 @@ var ct = "#FFFF99", lt = ({ text: e, highlight: t }) => {
|
|
|
384
384
|
children: [/* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
385
385
|
className: "efp-entity-item__title",
|
|
386
386
|
children: [
|
|
387
|
-
/* @__PURE__ */ (0, Z.jsx)(
|
|
387
|
+
/* @__PURE__ */ (0, Z.jsx)(ct, {
|
|
388
388
|
text: t,
|
|
389
389
|
highlight: x
|
|
390
390
|
}),
|
|
391
391
|
b && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
392
392
|
className: "efp-entity-item__description",
|
|
393
|
-
children: /* @__PURE__ */ (0, Z.jsx)(
|
|
393
|
+
children: /* @__PURE__ */ (0, Z.jsx)(ct, {
|
|
394
394
|
text: b,
|
|
395
395
|
highlight: x
|
|
396
396
|
})
|
|
@@ -420,7 +420,7 @@ var ct = "#FFFF99", lt = ({ text: e, highlight: t }) => {
|
|
|
420
420
|
children: [e.type === "location" && /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [
|
|
421
421
|
e.locationName && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
422
422
|
className: "efp-entity-item__details-item-booth",
|
|
423
|
-
children: /* @__PURE__ */ (0, Z.jsx)(
|
|
423
|
+
children: /* @__PURE__ */ (0, Z.jsx)(ct, {
|
|
424
424
|
text: e.locationName,
|
|
425
425
|
highlight: x
|
|
426
426
|
})
|
|
@@ -445,7 +445,7 @@ var ct = "#FFFF99", lt = ({ text: e, highlight: t }) => {
|
|
|
445
445
|
})]
|
|
446
446
|
})
|
|
447
447
|
});
|
|
448
|
-
},
|
|
448
|
+
}, ut = ({ status: e, statusLabel: t, showFullBadge: n = !1, fullLabel: r, isUrgent: i = !1, className: a = "" }) => {
|
|
449
449
|
let o = e === "none" ? null : /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
450
450
|
className: (0, Y.default)("efp-event-badge", `efp-event-badge--${e}`, { "is-urgent": i }, a),
|
|
451
451
|
children: t
|
|
@@ -454,7 +454,7 @@ var ct = "#FFFF99", lt = ({ text: e, highlight: t }) => {
|
|
|
454
454
|
className: (0, Y.default)("efp-event-badge", "efp-event-badge--full", a),
|
|
455
455
|
children: r
|
|
456
456
|
})] });
|
|
457
|
-
},
|
|
457
|
+
}, dt = ({ ticks: e, ariaLabel: t, className: n, style: r }) => {
|
|
458
458
|
if (e.length === 0) return null;
|
|
459
459
|
let i = e.map((e) => e.color), a = i.length === 1 ? i[0] : `linear-gradient(to right, ${i.join(", ")})`;
|
|
460
460
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
@@ -474,13 +474,13 @@ var ct = "#FFFF99", lt = ({ text: e, highlight: t }) => {
|
|
|
474
474
|
}, t))
|
|
475
475
|
})]
|
|
476
476
|
});
|
|
477
|
-
},
|
|
477
|
+
}, ft = (e) => /^\d+$/.test(e), pt = ({ level: e, levelLabel: t }) => e ? /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
478
478
|
className: "efp-level-badge",
|
|
479
|
-
children: /* @__PURE__ */ (0, Z.jsx)("span", { children:
|
|
479
|
+
children: /* @__PURE__ */ (0, Z.jsx)("span", { children: ft(e) ? `${t} ${e}` : e })
|
|
480
480
|
}) : null;
|
|
481
481
|
//#endregion
|
|
482
482
|
//#region ../ui/src/shared/hooks/useOnEscape.ts
|
|
483
|
-
function
|
|
483
|
+
function mt(e, t = !0) {
|
|
484
484
|
let n = (0, X.useRef)(e);
|
|
485
485
|
(0, X.useEffect)(() => {
|
|
486
486
|
n.current = e;
|
|
@@ -494,13 +494,13 @@ function ht(e, t = !0) {
|
|
|
494
494
|
}
|
|
495
495
|
//#endregion
|
|
496
496
|
//#region ../ui/src/components/LevelSelector/LevelSelector.tsx
|
|
497
|
-
function
|
|
497
|
+
function ht({ floors: e, layout: t, onSelect: n, floorSelectionLabel: r, currentFloorLabel: i, floorLabel: a }) {
|
|
498
498
|
var o, s;
|
|
499
499
|
let c = (0, X.useRef)(null), l = (0, X.useRef)(null), u = (0, X.useRef)(/* @__PURE__ */ new Map()), [d, f] = (0, X.useState)(!1), [p, m] = (0, X.useState)("down"), h = (0, X.useCallback)(() => {
|
|
500
500
|
var e;
|
|
501
501
|
f(!1), (e = l.current) == null || e.focus();
|
|
502
502
|
}, []);
|
|
503
|
-
|
|
503
|
+
tt([c, l], () => f(!1), d), mt(h, d), (0, X.useLayoutEffect)(() => {
|
|
504
504
|
if (d && l.current) {
|
|
505
505
|
let e = l.current.getBoundingClientRect(), t = window.innerHeight - e.bottom;
|
|
506
506
|
m(t < 200 ? "up" : "down");
|
|
@@ -626,9 +626,9 @@ function gt({ floors: e, layout: t, onSelect: n, floorSelectionLabel: r, current
|
|
|
626
626
|
}
|
|
627
627
|
//#endregion
|
|
628
628
|
//#region ../ui/src/components/MapControls/MapControls.tsx
|
|
629
|
-
var
|
|
629
|
+
var gt = ({ className: e, style: t, title: n, findLocationLabel: r, zoomInLabel: i, zoomOutLabel: a, viewModeLabel: o, fitToScreenLabel: s, layersLabel: c, isMap3d: l, showModeSwitch: u, showFindLocation: d, defaultLayersOpen: f = !1, layersList: p, layersActiveItems: m = [], layersWidth: h, onViewModeSwitch: g, onFindLocation: _, onZoomIn: v, onZoomOut: y, onFitToScreen: b, onChangeLayers: x }) => {
|
|
630
630
|
let S = (0, X.useRef)(null), C = (0, X.useRef)(null), w = (0, X.useId)(), [T, E] = (0, X.useState)(f), [D, O] = (0, X.useState)("down");
|
|
631
|
-
|
|
631
|
+
tt(S, () => E(!1), T), mt(() => {
|
|
632
632
|
var e;
|
|
633
633
|
E(!1), (e = C.current) == null || e.focus();
|
|
634
634
|
}, T), (0, X.useLayoutEffect)(() => {
|
|
@@ -752,7 +752,7 @@ var _t = ({ className: e, style: t, title: n, findLocationLabel: r, zoomInLabel:
|
|
|
752
752
|
};
|
|
753
753
|
//#endregion
|
|
754
754
|
//#region ../ui/src/components/MobileToggleButton/MobileToggleButton.tsx
|
|
755
|
-
function
|
|
755
|
+
function _t({ mode: e, label: t, ariaLabel: n, withBanner: r, onClick: i }) {
|
|
756
756
|
let a = e === "list";
|
|
757
757
|
return /* @__PURE__ */ (0, Z.jsxs)("button", {
|
|
758
758
|
className: (0, Y.default)("efp-mobile-toggle-button", { "efp-mobile-toggle-button--with-banner": r }, a ? "efp-mobile-toggle-button--list" : "efp-mobile-toggle-button--map"),
|
|
@@ -770,7 +770,7 @@ function vt({ mode: e, label: t, ariaLabel: n, withBanner: r, onClick: i }) {
|
|
|
770
770
|
}
|
|
771
771
|
//#endregion
|
|
772
772
|
//#region ../ui/src/components/ShowMoreButton/ShowMoreButton.tsx
|
|
773
|
-
function
|
|
773
|
+
function vt({ expanded: e, showMoreLabel: t, showLessLabel: n, className: r, suffix: i, ...a }) {
|
|
774
774
|
return /* @__PURE__ */ (0, Z.jsxs)("button", {
|
|
775
775
|
...a,
|
|
776
776
|
type: "button",
|
|
@@ -791,7 +791,7 @@ function yt({ expanded: e, showMoreLabel: t, showLessLabel: n, className: r, suf
|
|
|
791
791
|
}
|
|
792
792
|
//#endregion
|
|
793
793
|
//#region ../ui/src/components/MultiSelectGroups/MultiSelectGroups.tsx
|
|
794
|
-
var
|
|
794
|
+
var yt = X.memo(({ item: e, isSelected: t, variant: n, showCount: r, count: i, onClick: a, customRenderer: o }) => o ? /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children: o(e, t) }) : /* @__PURE__ */ (0, Z.jsxs)("button", {
|
|
795
795
|
type: "button",
|
|
796
796
|
className: (0, Y.default)("efp-multi-select-groups__item", {
|
|
797
797
|
"efp-multi-select-groups__item--selected": t,
|
|
@@ -809,7 +809,7 @@ var bt = X.memo(({ item: e, isSelected: t, variant: n, showCount: r, count: i, o
|
|
|
809
809
|
children: i
|
|
810
810
|
})]
|
|
811
811
|
}));
|
|
812
|
-
function
|
|
812
|
+
function bt({ groups: e = [], selectedIds: t = [], showItemCounts: n = !0, showGroupActions: r = !0, variant: i = "default", maxItemsVisible: a = 20, selectAllLabel: o, clearAllLabel: s, selectedLabel: c, showMoreLabel: l, showLessLabel: u, itemCountProvider: d, customItemRenderer: f, onChange: p }) {
|
|
813
813
|
let [m, h] = (0, X.useState)(() => /* @__PURE__ */ new Set()), g = (0, X.useCallback)((e) => {
|
|
814
814
|
p(t.includes(e) ? t.filter((t) => t !== e) : [...t, e]);
|
|
815
815
|
}, [t, p]), _ = (0, X.useCallback)((e) => {
|
|
@@ -856,7 +856,7 @@ function xt({ groups: e = [], selectedIds: t = [], showItemCounts: n = !0, showG
|
|
|
856
856
|
}),
|
|
857
857
|
/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
858
858
|
className: "efp-multi-select-groups__group-items",
|
|
859
|
-
children: C.map((e) => /* @__PURE__ */ (0, Z.jsx)(
|
|
859
|
+
children: C.map((e) => /* @__PURE__ */ (0, Z.jsx)(yt, {
|
|
860
860
|
item: e,
|
|
861
861
|
isSelected: x.has(e.id),
|
|
862
862
|
variant: i,
|
|
@@ -866,7 +866,7 @@ function xt({ groups: e = [], selectedIds: t = [], showItemCounts: n = !0, showG
|
|
|
866
866
|
customRenderer: f
|
|
867
867
|
}, e.id))
|
|
868
868
|
}),
|
|
869
|
-
t.length > a && /* @__PURE__ */ (0, Z.jsx)(
|
|
869
|
+
t.length > a && /* @__PURE__ */ (0, Z.jsx)(vt, {
|
|
870
870
|
className: "efp-multi-select-groups__show-more",
|
|
871
871
|
expanded: S,
|
|
872
872
|
showMoreLabel: l,
|
|
@@ -889,7 +889,7 @@ function xt({ groups: e = [], selectedIds: t = [], showItemCounts: n = !0, showG
|
|
|
889
889
|
}
|
|
890
890
|
//#endregion
|
|
891
891
|
//#region ../ui/src/components/OverlayGrip/OverlayGrip.tsx
|
|
892
|
-
var
|
|
892
|
+
var xt = ({ isFull: e, onToggle: t, ariaLabel: n, className: r }) => /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
893
893
|
type: "button",
|
|
894
894
|
className: (0, Y.default)("efp-overlay-grip", { "efp-overlay-grip--full": e }, r),
|
|
895
895
|
onClick: t,
|
|
@@ -902,7 +902,7 @@ var St = ({ isFull: e, onToggle: t, ariaLabel: n, className: r }) => /* @__PURE_
|
|
|
902
902
|
"aria-hidden": "true",
|
|
903
903
|
children: [/* @__PURE__ */ (0, Z.jsx)("path", { d: "M100,100 l 500 100 L 1100 100" }), /* @__PURE__ */ (0, Z.jsx)("path", { d: "M100,150 l 500 0 L 1100 150" })]
|
|
904
904
|
})
|
|
905
|
-
}),
|
|
905
|
+
}), St = ({ name: e, label: t, value: n, checked: r, disabled: i, className: a, ariaLabel: o, onChange: s }) => {
|
|
906
906
|
let c = (0, X.useId)();
|
|
907
907
|
return /* @__PURE__ */ (0, Z.jsxs)("label", {
|
|
908
908
|
htmlFor: c,
|
|
@@ -932,7 +932,7 @@ var St = ({ isFull: e, onToggle: t, ariaLabel: n, className: r }) => /* @__PURE_
|
|
|
932
932
|
})
|
|
933
933
|
]
|
|
934
934
|
});
|
|
935
|
-
},
|
|
935
|
+
}, Ct = ({ value: e, noteLabel: t, saveButtonLabel: n, saveButtonAriaLabel: r, onSave: i }) => {
|
|
936
936
|
let a = (0, X.useId)(), o = `${a}-label`, s = `${a}-textarea`, [c, l] = (0, X.useState)(e == null ? "" : e);
|
|
937
937
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
938
938
|
className: "rebooking-notes",
|
|
@@ -966,7 +966,7 @@ var St = ({ isFull: e, onToggle: t, ariaLabel: n, className: r }) => /* @__PURE_
|
|
|
966
966
|
})]
|
|
967
967
|
})]
|
|
968
968
|
});
|
|
969
|
-
},
|
|
969
|
+
}, wt = ({ options: e, value: t, title: n, onChange: r }) => {
|
|
970
970
|
let i = (0, X.useId)();
|
|
971
971
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
972
972
|
className: "rebooking-radio-group",
|
|
@@ -1005,7 +1005,7 @@ var St = ({ isFull: e, onToggle: t, ariaLabel: n, className: r }) => /* @__PURE_
|
|
|
1005
1005
|
})
|
|
1006
1006
|
})]
|
|
1007
1007
|
});
|
|
1008
|
-
},
|
|
1008
|
+
}, Tt = fe(), Et = 5, Dt = 768, Ot = ({ children: e, ariaLabel: t, leftAriaLabel: n, rightAriaLabel: r, className: i, scrollAmount: a = 150, mobileBreakpoint: o = Dt, showArrowsOnMobile: s = !1, arrowPosition: c = "inside", scrollBehavior: l = "smooth", isRtl: u = !1, enableDragScroll: d = !0, dragScrollSensitivity: f = 1, onScroll: p }) => {
|
|
1009
1009
|
let m = (0, X.useRef)(null), h = (0, X.useRef)(null), g = (0, X.useRef)(null), [_, v] = (0, X.useState)(!1), [y, b] = (0, X.useState)(!1), [x, S] = (0, X.useState)(!1), [C, w] = (0, X.useState)(0), [T, E] = (0, X.useState)(0), D = (0, X.useCallback)(() => window.innerWidth > o && !("ontouchstart" in window || navigator.maxTouchPoints > 0), [o]), O = (0, X.useCallback)((e, t, n) => {
|
|
1010
1010
|
let r = t - n;
|
|
1011
1011
|
return e < 0 ? Math.abs(e) : e > r / 2 ? r - e : e;
|
|
@@ -1023,8 +1023,8 @@ var St = ({ isFull: e, onToggle: t, ariaLabel: n, className: r }) => /* @__PURE_
|
|
|
1023
1023
|
}
|
|
1024
1024
|
if (u) {
|
|
1025
1025
|
let e = n - r, i = O(t, n, r);
|
|
1026
|
-
v(i >
|
|
1027
|
-
} else v(t >
|
|
1026
|
+
v(i > Et), b(i < e - Et);
|
|
1027
|
+
} else v(t > Et), b(t < n - r - Et);
|
|
1028
1028
|
}, [
|
|
1029
1029
|
o,
|
|
1030
1030
|
s,
|
|
@@ -1049,7 +1049,7 @@ var St = ({ isFull: e, onToggle: t, ariaLabel: n, className: r }) => /* @__PURE_
|
|
|
1049
1049
|
l,
|
|
1050
1050
|
u
|
|
1051
1051
|
]), M = (0, X.useCallback)((e) => {
|
|
1052
|
-
!d || !D() || !h.current ||
|
|
1052
|
+
!d || !D() || !h.current || ne(e.target) || (S(!0), w(e.pageX - h.current.offsetLeft), E(h.current.scrollLeft), e.preventDefault());
|
|
1053
1053
|
}, [d, D]), N = (0, X.useCallback)((e) => {
|
|
1054
1054
|
if (!x || !h.current) return;
|
|
1055
1055
|
e.preventDefault();
|
|
@@ -1074,7 +1074,7 @@ var St = ({ isFull: e, onToggle: t, ariaLabel: n, className: r }) => /* @__PURE_
|
|
|
1074
1074
|
]), (0, X.useEffect)(() => {
|
|
1075
1075
|
k();
|
|
1076
1076
|
let e = () => k();
|
|
1077
|
-
return window.addEventListener("resize", e), m.current && !g.current && (g.current = new
|
|
1077
|
+
return window.addEventListener("resize", e), m.current && !g.current && (g.current = new Tt.ResizeObserver(k), g.current.observe(m.current)), () => {
|
|
1078
1078
|
window.removeEventListener("resize", e), g.current && (g.current.disconnect(), g.current = null);
|
|
1079
1079
|
};
|
|
1080
1080
|
}, [k]);
|
|
@@ -1118,7 +1118,63 @@ var St = ({ isFull: e, onToggle: t, ariaLabel: n, className: r }) => /* @__PURE_
|
|
|
1118
1118
|
]
|
|
1119
1119
|
})
|
|
1120
1120
|
});
|
|
1121
|
-
},
|
|
1121
|
+
}, kt = /* @__PURE__ */ t(((e, t) => {
|
|
1122
|
+
t.exports = function() {
|
|
1123
|
+
var e = document.getSelection();
|
|
1124
|
+
if (!e.rangeCount) return function() {};
|
|
1125
|
+
for (var t = document.activeElement, n = [], r = 0; r < e.rangeCount; r++) n.push(e.getRangeAt(r));
|
|
1126
|
+
switch (t.tagName.toUpperCase()) {
|
|
1127
|
+
case "INPUT":
|
|
1128
|
+
case "TEXTAREA":
|
|
1129
|
+
t.blur();
|
|
1130
|
+
break;
|
|
1131
|
+
default:
|
|
1132
|
+
t = null;
|
|
1133
|
+
break;
|
|
1134
|
+
}
|
|
1135
|
+
return e.removeAllRanges(), function() {
|
|
1136
|
+
e.type === "Caret" && e.removeAllRanges(), e.rangeCount || n.forEach(function(t) {
|
|
1137
|
+
e.addRange(t);
|
|
1138
|
+
}), t && t.focus();
|
|
1139
|
+
};
|
|
1140
|
+
};
|
|
1141
|
+
})), At = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
1142
|
+
var n = kt(), r = {
|
|
1143
|
+
"text/plain": "Text",
|
|
1144
|
+
"text/html": "Url",
|
|
1145
|
+
default: "Text"
|
|
1146
|
+
}, i = "Copy to clipboard: #{key}, Enter";
|
|
1147
|
+
function a(e) {
|
|
1148
|
+
var t = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C";
|
|
1149
|
+
return e.replace(/#{\s*key\s*}/g, t);
|
|
1150
|
+
}
|
|
1151
|
+
function o(e, t) {
|
|
1152
|
+
var o, s, c, l, u, d, f = !1;
|
|
1153
|
+
t || (t = {}), o = t.debug || !1;
|
|
1154
|
+
try {
|
|
1155
|
+
if (c = n(), l = document.createRange(), u = document.getSelection(), d = document.createElement("span"), d.textContent = e, d.ariaHidden = "true", d.style.all = "unset", d.style.position = "fixed", d.style.top = 0, d.style.clip = "rect(0, 0, 0, 0)", d.style.whiteSpace = "pre", d.style.webkitUserSelect = "text", d.style.MozUserSelect = "text", d.style.msUserSelect = "text", d.style.userSelect = "text", d.addEventListener("copy", function(n) {
|
|
1156
|
+
if (n.stopPropagation(), t.format) if (n.preventDefault(), n.clipboardData === void 0) {
|
|
1157
|
+
o && console.warn("unable to use e.clipboardData"), o && console.warn("trying IE specific stuff"), window.clipboardData.clearData();
|
|
1158
|
+
var i = r[t.format] || r.default;
|
|
1159
|
+
window.clipboardData.setData(i, e);
|
|
1160
|
+
} else n.clipboardData.clearData(), n.clipboardData.setData(t.format, e);
|
|
1161
|
+
t.onCopy && (n.preventDefault(), t.onCopy(n.clipboardData));
|
|
1162
|
+
}), document.body.appendChild(d), l.selectNodeContents(d), u.addRange(l), !document.execCommand("copy")) throw Error("copy command was unsuccessful");
|
|
1163
|
+
f = !0;
|
|
1164
|
+
} catch (n) {
|
|
1165
|
+
o && console.error("unable to copy using execCommand: ", n), o && console.warn("trying IE specific stuff");
|
|
1166
|
+
try {
|
|
1167
|
+
window.clipboardData.setData(t.format || "text", e), t.onCopy && t.onCopy(window.clipboardData), f = !0;
|
|
1168
|
+
} catch (n) {
|
|
1169
|
+
o && console.error("unable to copy using clipboardData: ", n), o && console.error("falling back to prompt"), s = a("message" in t ? t.message : i), window.prompt(s, e);
|
|
1170
|
+
}
|
|
1171
|
+
} finally {
|
|
1172
|
+
u && (typeof u.removeRange == "function" ? u.removeRange(l) : u.removeAllRanges()), d && document.body.removeChild(d), c();
|
|
1173
|
+
}
|
|
1174
|
+
return f;
|
|
1175
|
+
}
|
|
1176
|
+
t.exports = o;
|
|
1177
|
+
})))(), 1), jt = {
|
|
1122
1178
|
facebook: "icon-facebook",
|
|
1123
1179
|
xcom: "icon-twitter-x",
|
|
1124
1180
|
linkedin: "icon-linkedin"
|
|
@@ -1195,7 +1251,7 @@ var St = ({ isFull: e, onToggle: t, ariaLabel: n, className: r }) => /* @__PURE_
|
|
|
1195
1251
|
"aria-hidden": "true"
|
|
1196
1252
|
}), c]
|
|
1197
1253
|
}),
|
|
1198
|
-
r && /* @__PURE__ */ (0, Z.jsx)(
|
|
1254
|
+
r && /* @__PURE__ */ (0, Z.jsx)(it, {
|
|
1199
1255
|
className: "efp-visited-btn",
|
|
1200
1256
|
ariaLabel: n ? l : u,
|
|
1201
1257
|
checked: n,
|
|
@@ -1364,19 +1420,19 @@ var St = ({ isFull: e, onToggle: t, ariaLabel: n, className: r }) => /* @__PURE_
|
|
|
1364
1420
|
})
|
|
1365
1421
|
})
|
|
1366
1422
|
});
|
|
1367
|
-
}, Rt = q((e) => /* @__PURE__ */ (0, Z.jsx)(
|
|
1423
|
+
}, Rt = q((e) => /* @__PURE__ */ (0, Z.jsx)($e, {
|
|
1368
1424
|
...e,
|
|
1369
1425
|
closeLabel: u("Close alert")
|
|
1370
1426
|
})), zt = q((e) => {
|
|
1371
|
-
let t =
|
|
1372
|
-
return /* @__PURE__ */ (0, Z.jsx)(
|
|
1427
|
+
let t = We();
|
|
1428
|
+
return /* @__PURE__ */ (0, Z.jsx)(nt, {
|
|
1373
1429
|
...e,
|
|
1374
1430
|
renderTarget: t,
|
|
1375
1431
|
noOptionsLabel: u("No options"),
|
|
1376
1432
|
ariaLabel: u("Search options"),
|
|
1377
1433
|
clearLabel: u("Clear")
|
|
1378
1434
|
});
|
|
1379
|
-
}), Bt = q((e) => /* @__PURE__ */ (0, Z.jsx)(
|
|
1435
|
+
}), Bt = q((e) => /* @__PURE__ */ (0, Z.jsx)(bt, {
|
|
1380
1436
|
...e,
|
|
1381
1437
|
selectAllLabel: u("Select all"),
|
|
1382
1438
|
clearAllLabel: u("Clear all"),
|
|
@@ -1405,7 +1461,7 @@ var St = ({ isFull: e, onToggle: t, ariaLabel: n, className: r }) => /* @__PURE_
|
|
|
1405
1461
|
return this.allCategories.length;
|
|
1406
1462
|
}
|
|
1407
1463
|
}));
|
|
1408
|
-
return /* @__PURE__ */ (0, Z.jsx)(
|
|
1464
|
+
return /* @__PURE__ */ (0, Z.jsx)(Ve, {
|
|
1409
1465
|
open: e.state.isOpen,
|
|
1410
1466
|
title: n,
|
|
1411
1467
|
onClose: () => {
|
|
@@ -1455,25 +1511,24 @@ var St = ({ isFull: e, onToggle: t, ariaLabel: n, className: r }) => /* @__PURE_
|
|
|
1455
1511
|
//#endregion
|
|
1456
1512
|
//#region src/components/Bookmarks.tsx
|
|
1457
1513
|
function Ut() {
|
|
1458
|
-
return K(() =>
|
|
1514
|
+
return K(() => !U.wayfinding || !H.bookmarksStore.hasRoutableBookmarks ? null : /* @__PURE__ */ (0, Z.jsx)(Ht, {
|
|
1459
1515
|
className: "efp-sidebar-actions--bookmarks",
|
|
1460
1516
|
showDirections: !1,
|
|
1461
1517
|
showBookmark: !1,
|
|
1462
|
-
showRoutePlanner:
|
|
1463
|
-
showShare: !
|
|
1464
|
-
onClickRoutePlanner: () =>
|
|
1465
|
-
|
|
1466
|
-
}) : null);
|
|
1518
|
+
showRoutePlanner: !0,
|
|
1519
|
+
showShare: !1,
|
|
1520
|
+
onClickRoutePlanner: () => H.routePlannerStore.launchFromBookmarks()
|
|
1521
|
+
}));
|
|
1467
1522
|
}
|
|
1468
1523
|
function Wt() {
|
|
1469
|
-
let e = (0, X.useRef)();
|
|
1524
|
+
let e = (0, X.useRef)(null);
|
|
1470
1525
|
return K(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [/* @__PURE__ */ (0, Z.jsx)(Ut, {}), /* @__PURE__ */ (0, Z.jsx)(Mn, { updatedScrollableRef: e })] }));
|
|
1471
1526
|
}
|
|
1472
|
-
var Gt = () => K(() => !
|
|
1473
|
-
let t = (0, X.useMemo)(() => e ?
|
|
1527
|
+
var Gt = () => K(() => !B.hideBookmarks && !z.details && z.list.type === "bookmarks" && /* @__PURE__ */ (0, Z.jsx)(Wt, {})), Kt = (e) => {
|
|
1528
|
+
let t = (0, X.useMemo)(() => e ? H.heatmapStore.getClicksByItem(e) : 0, [e]);
|
|
1474
1529
|
return {
|
|
1475
1530
|
clicks: t,
|
|
1476
|
-
background: (0, X.useMemo)(() =>
|
|
1531
|
+
background: (0, X.useMemo)(() => H.heatmapStore.getColorByClicks(t), [t])
|
|
1477
1532
|
};
|
|
1478
1533
|
}, qt = (e) => {
|
|
1479
1534
|
e.length === 4 && (e = e.replace(/^#([a-f\d])([a-f\d])([a-f\d])$/i, (e, t, n, r) => `#${t}${t}${n}${n}${r}${r}`));
|
|
@@ -1486,7 +1541,7 @@ var Gt = () => K(() => !H.hideBookmarks && !B.details && B.list.type === "bookma
|
|
|
1486
1541
|
}, Jt = (e) => {
|
|
1487
1542
|
let { clicks: t, background: n } = Kt(e);
|
|
1488
1543
|
return { heatmapBar: (0, X.useMemo)(() => {
|
|
1489
|
-
if (!
|
|
1544
|
+
if (!z.heatmap) return null;
|
|
1490
1545
|
let e = n.trim().toLowerCase(), r = 255, i = 255, a = 255;
|
|
1491
1546
|
if (e.startsWith("#") && (e.length === 7 || e.length === 4)) {
|
|
1492
1547
|
let t = qt(e);
|
|
@@ -1543,8 +1598,8 @@ var Gt = () => K(() => !H.hideBookmarks && !B.details && B.list.type === "bookma
|
|
|
1543
1598
|
let s = Xt[e], c = s.hasDatetime && (n || r) ? {
|
|
1544
1599
|
date: n,
|
|
1545
1600
|
time: r
|
|
1546
|
-
} : void 0, l =
|
|
1547
|
-
return /* @__PURE__ */ (0, Z.jsx)(
|
|
1601
|
+
} : void 0, l = z.list.type === "search" ? z.list.text : void 0;
|
|
1602
|
+
return /* @__PURE__ */ (0, Z.jsx)(lt, {
|
|
1548
1603
|
...a,
|
|
1549
1604
|
additionalInfo: i == null ? void 0 : i.map(Zt),
|
|
1550
1605
|
typeColor: s.typeColor,
|
|
@@ -1725,7 +1780,7 @@ var Gt = () => K(() => !H.hideBookmarks && !B.details && B.list.type === "bookma
|
|
|
1725
1780
|
i.includes(t.name.toLowerCase()) || e.removeAttribute(t.name);
|
|
1726
1781
|
});
|
|
1727
1782
|
}), a.innerHTML;
|
|
1728
|
-
}, tn = q((e) => /* @__PURE__ */ (0, Z.jsx)(
|
|
1783
|
+
}, tn = q((e) => /* @__PURE__ */ (0, Z.jsx)(vt, {
|
|
1729
1784
|
...e,
|
|
1730
1785
|
showMoreLabel: u("Show more"),
|
|
1731
1786
|
showLessLabel: u("Show less")
|
|
@@ -1758,7 +1813,7 @@ var an = q(({ events: e = [], descriptionMaxLength: t = 200, showBooths: n = !1,
|
|
|
1758
1813
|
return Array.isArray(r[t]) || (r[t] = []), r[t][n] || (r[t][n] = { showFullDescription: !1 }), r[t][n].showFullDescription = !r[t][n].showFullDescription, r;
|
|
1759
1814
|
});
|
|
1760
1815
|
}, m = (e, n) => e.length > t && !n ? e.slice(0, t) + "..." : e, h = (e) => {
|
|
1761
|
-
let t =
|
|
1816
|
+
let t = H.sessionsFilterStore.state.filters.use24hFormat.value;
|
|
1762
1817
|
return (0, Q.default)(new Date(e), t ? "HH:MM" : "h:MMtt");
|
|
1763
1818
|
}, g = (e) => {
|
|
1764
1819
|
let [t, n, r] = e.split("-"), i = new Date(parseInt(t), parseInt(n) - 1, parseInt(r));
|
|
@@ -1804,7 +1859,7 @@ var an = q(({ events: e = [], descriptionMaxLength: t = 200, showBooths: n = !1,
|
|
|
1804
1859
|
role: "list",
|
|
1805
1860
|
children: o.map((o, s) => {
|
|
1806
1861
|
var c, l;
|
|
1807
|
-
let u = o.boothId ?
|
|
1862
|
+
let u = o.boothId ? H.boothStore.boothById.get(Number(o.boothId)) : null, d = (c = (l = a[e]) == null || (l = l[s]) == null ? void 0 : l.showFullDescription) != null && c;
|
|
1808
1863
|
return /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
1809
1864
|
role: "listitem",
|
|
1810
1865
|
"data-event-id": o.id,
|
|
@@ -1862,7 +1917,7 @@ var an = q(({ events: e = [], descriptionMaxLength: t = 200, showBooths: n = !1,
|
|
|
1862
1917
|
className: "booth__content -reg",
|
|
1863
1918
|
children: [
|
|
1864
1919
|
/* @__PURE__ */ (0, Z.jsx)(ya, { level: t }),
|
|
1865
|
-
/* @__PURE__ */ (0, Z.jsxs)(
|
|
1920
|
+
/* @__PURE__ */ (0, Z.jsxs)(rt, {
|
|
1866
1921
|
variant: "orange",
|
|
1867
1922
|
children: [/* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-hand-solid" }), u("On Hold")]
|
|
1868
1923
|
}),
|
|
@@ -1878,7 +1933,7 @@ var an = q(({ events: e = [], descriptionMaxLength: t = 200, showBooths: n = !1,
|
|
|
1878
1933
|
className: "booth__info-body",
|
|
1879
1934
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
1880
1935
|
className: "booth__info-title",
|
|
1881
|
-
children: u("{{boothTerm}} Type", { boothTerm:
|
|
1936
|
+
children: u("{{boothTerm}} Type", { boothTerm: B.boothTerm })
|
|
1882
1937
|
}), /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
1883
1938
|
className: "booth__info-val",
|
|
1884
1939
|
children: e.type
|
|
@@ -1901,7 +1956,7 @@ var an = q(({ events: e = [], descriptionMaxLength: t = 200, showBooths: n = !1,
|
|
|
1901
1956
|
})]
|
|
1902
1957
|
})]
|
|
1903
1958
|
}),
|
|
1904
|
-
e.price && e.price !== "0" && !
|
|
1959
|
+
e.price && e.price !== "0" && !z.previewMode && /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
1905
1960
|
className: "booth__info is-onhold",
|
|
1906
1961
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
1907
1962
|
className: "booth__info-icon",
|
|
@@ -1941,7 +1996,7 @@ var un = q(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
1941
1996
|
let o = (t) => {
|
|
1942
1997
|
if (t) {
|
|
1943
1998
|
let n = new URL(t);
|
|
1944
|
-
return !n.searchParams.has("type") && e.type && n.searchParams.append("type", e.type), !n.searchParams.has("price") && e.price && !
|
|
1999
|
+
return !n.searchParams.has("type") && e.type && n.searchParams.append("type", e.type), !n.searchParams.has("price") && e.price && !z.previewMode && n.searchParams.append("price", e.price), n;
|
|
1945
2000
|
} else return null;
|
|
1946
2001
|
}, s = o(e.buyUrl), c = o(e.reserveUrl);
|
|
1947
2002
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
@@ -1960,7 +2015,7 @@ var un = q(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
1960
2015
|
className: "booth__info-body",
|
|
1961
2016
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
1962
2017
|
className: "booth__info-title",
|
|
1963
|
-
children: u("{{boothTerm}} Type", { boothTerm:
|
|
2018
|
+
children: u("{{boothTerm}} Type", { boothTerm: B.boothTerm })
|
|
1964
2019
|
}), /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
1965
2020
|
className: "booth__info-val",
|
|
1966
2021
|
children: e.type
|
|
@@ -1983,7 +2038,7 @@ var un = q(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
1983
2038
|
})]
|
|
1984
2039
|
})]
|
|
1985
2040
|
}),
|
|
1986
|
-
!i && e.price && e.price !== "0" && !
|
|
2041
|
+
!i && e.price && e.price !== "0" && !z.previewMode && /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
1987
2042
|
className: "booth__info",
|
|
1988
2043
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
1989
2044
|
className: "booth__info-icon",
|
|
@@ -2023,28 +2078,28 @@ var un = q(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2023
2078
|
var e, t;
|
|
2024
2079
|
let n = (0, X.useRef)(), r = G(() => ({
|
|
2025
2080
|
get booth() {
|
|
2026
|
-
return
|
|
2081
|
+
return z.selectedBooth;
|
|
2027
2082
|
},
|
|
2028
2083
|
get regular() {
|
|
2029
|
-
return this.booth instanceof
|
|
2084
|
+
return this.booth instanceof L ? this.booth : null;
|
|
2030
2085
|
},
|
|
2031
2086
|
get special() {
|
|
2032
|
-
return this.booth instanceof
|
|
2087
|
+
return this.booth instanceof ue ? this.booth : null;
|
|
2033
2088
|
},
|
|
2034
2089
|
get showReserve() {
|
|
2035
|
-
return !
|
|
2090
|
+
return !z.kiosk && this.regular && (this.regular.price === "0" && !!this.regular.buyUrl || !!this.regular.reserveUrl);
|
|
2036
2091
|
},
|
|
2037
2092
|
get showBuy() {
|
|
2038
|
-
return !
|
|
2093
|
+
return !z.kiosk && this.regular && this.regular.buyUrl && this.regular.price && this.regular.price !== "0";
|
|
2039
2094
|
},
|
|
2040
2095
|
get title() {
|
|
2041
2096
|
return this.booth.fullName;
|
|
2042
2097
|
},
|
|
2043
2098
|
get reserveTitle() {
|
|
2044
|
-
return
|
|
2099
|
+
return B.reserveButtonTerm || u("Reserve");
|
|
2045
2100
|
},
|
|
2046
2101
|
get descriptionCombined() {
|
|
2047
|
-
return this.booth.description ||
|
|
2102
|
+
return this.booth.description || B.reserveInstructions || "";
|
|
2048
2103
|
}
|
|
2049
2104
|
}));
|
|
2050
2105
|
(0, X.useEffect)(() => {
|
|
@@ -2065,10 +2120,10 @@ var un = q(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2065
2120
|
}, [r.booth.schedule]);
|
|
2066
2121
|
function i(e) {
|
|
2067
2122
|
let t = parseInt(e);
|
|
2068
|
-
|
|
2123
|
+
H.clickExhibitor(H.exhibitorStore.exhibitors.find((e) => e.id === t));
|
|
2069
2124
|
}
|
|
2070
2125
|
function a(e) {
|
|
2071
|
-
|
|
2126
|
+
H.selectEventItem(e, !0);
|
|
2072
2127
|
}
|
|
2073
2128
|
function o() {
|
|
2074
2129
|
r.booth.exhibitors.length === 0 && (r.booth.bookmarkedDirectly = !r.booth.bookmarkedDirectly);
|
|
@@ -2095,7 +2150,7 @@ var un = q(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2095
2150
|
})
|
|
2096
2151
|
}, e.id.toString());
|
|
2097
2152
|
});
|
|
2098
|
-
if (
|
|
2153
|
+
if (B.isRebooking) s = /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children: d });
|
|
2099
2154
|
else if (r.regular) {
|
|
2100
2155
|
let e = r.regular;
|
|
2101
2156
|
s = e.onHold ? /* @__PURE__ */ (0, Z.jsx)(on, {
|
|
@@ -2108,8 +2163,8 @@ var un = q(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2108
2163
|
}) : e.reserved ? /* @__PURE__ */ (0, Z.jsx)(sn, {}) : e.exhibitors.length === 0 ? /* @__PURE__ */ (0, Z.jsx)(un, {
|
|
2109
2164
|
booth: e,
|
|
2110
2165
|
description: r.descriptionCombined,
|
|
2111
|
-
showBuy: !
|
|
2112
|
-
showReserve: !
|
|
2166
|
+
showBuy: !z.previewMode && r.showBuy,
|
|
2167
|
+
showReserve: !z.previewMode && r.showReserve,
|
|
2113
2168
|
isRebooking: !1,
|
|
2114
2169
|
level: c
|
|
2115
2170
|
}) : /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children: d });
|
|
@@ -2144,34 +2199,34 @@ var un = q(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2144
2199
|
]
|
|
2145
2200
|
}), /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
2146
2201
|
type: "button",
|
|
2147
|
-
onClick: () =>
|
|
2202
|
+
onClick: () => H.searchStore.handleBackAction(),
|
|
2148
2203
|
className: "booth__header-close",
|
|
2149
2204
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-close" })
|
|
2150
2205
|
})]
|
|
2151
2206
|
}),
|
|
2152
|
-
!
|
|
2207
|
+
!B.isRebooking && U.wayfinding && !z.isGuidedToursActive && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
2153
2208
|
className: "exhibitor__directions",
|
|
2154
2209
|
style: {
|
|
2155
2210
|
paddingLeft: 15,
|
|
2156
2211
|
paddingRight: 15
|
|
2157
2212
|
},
|
|
2158
2213
|
children: /* @__PURE__ */ (0, Z.jsx)(Ht, {
|
|
2159
|
-
showBookmark: !
|
|
2214
|
+
showBookmark: !z.disableBookmarked && !B.hideBookmarks && !z.kiosk && r.booth.exhibitors.length === 0,
|
|
2160
2215
|
showShare: !1,
|
|
2161
2216
|
inBookmark: r.booth.exhibitors.length === 0 && r.booth.bookmarkedDirectly,
|
|
2162
2217
|
onClickBookmark: o,
|
|
2163
2218
|
onClickDirections: () => {
|
|
2164
|
-
|
|
2219
|
+
H.routeStore.clickRoute(null, r.booth);
|
|
2165
2220
|
}
|
|
2166
2221
|
})
|
|
2167
2222
|
}),
|
|
2168
2223
|
s,
|
|
2169
|
-
|
|
2224
|
+
B.isRebooking && r.regular && r.regular.exhibitors.length === 0 && /* @__PURE__ */ (0, Z.jsx)(un, {
|
|
2170
2225
|
showBuy: !1,
|
|
2171
2226
|
description: r.descriptionCombined,
|
|
2172
2227
|
showReserve: !1,
|
|
2173
2228
|
booth: r.regular,
|
|
2174
|
-
isRebooking:
|
|
2229
|
+
isRebooking: B.isRebooking,
|
|
2175
2230
|
level: c
|
|
2176
2231
|
}),
|
|
2177
2232
|
!!((t = r.booth.schedule) != null && t.length) && /* @__PURE__ */ (0, Z.jsx)(an, {
|
|
@@ -2182,20 +2237,20 @@ var un = q(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2182
2237
|
})
|
|
2183
2238
|
]
|
|
2184
2239
|
});
|
|
2185
|
-
}), fn = q(() => !
|
|
2240
|
+
}), fn = q(() => !z.menu && z.selectedBooth ? /* @__PURE__ */ (0, Z.jsx)(dn, {}) : null), pn = q(({ text: e }) => /* @__PURE__ */ (0, Z.jsx)(ct, {
|
|
2186
2241
|
text: e,
|
|
2187
|
-
highlight:
|
|
2242
|
+
highlight: z.list.type === "search" ? z.list.text : void 0
|
|
2188
2243
|
})), mn = ({ title: e, highlight: t = !0, style: n, ...r }) => /* @__PURE__ */ (0, Z.jsx)(Pt, {
|
|
2189
2244
|
...r,
|
|
2190
2245
|
title: t ? /* @__PURE__ */ (0, Z.jsx)(pn, { text: e }) : e,
|
|
2191
2246
|
style: {
|
|
2192
|
-
marginLeft:
|
|
2247
|
+
marginLeft: B.isRebooking ? "5px" : void 0,
|
|
2193
2248
|
...n
|
|
2194
2249
|
}
|
|
2195
2250
|
}), hn = ({ yah: e, active: t }) => {
|
|
2196
2251
|
let { clicks: n, background: r } = Kt(e);
|
|
2197
2252
|
return K(() => /* @__PURE__ */ (0, Z.jsx)(mn, {
|
|
2198
|
-
style: { background:
|
|
2253
|
+
style: { background: z.heatmapYah ? `linear-gradient(to right, transparent 98%, ${r} 93%) center / 100% 99% no-repeat` : null },
|
|
2199
2254
|
active: t,
|
|
2200
2255
|
slug: e.id.toString(),
|
|
2201
2256
|
onClick: i,
|
|
@@ -2205,17 +2260,17 @@ var un = q(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2205
2260
|
highlight: !1
|
|
2206
2261
|
}));
|
|
2207
2262
|
function i() {
|
|
2208
|
-
let t =
|
|
2209
|
-
t &&
|
|
2263
|
+
let t = R.findLayer(e.z);
|
|
2264
|
+
t && R.updateVisibility(t, !0), H.routeStore.selectMarker(e.id.toString(), !0);
|
|
2210
2265
|
}
|
|
2211
2266
|
}, gn = q(({ item: e, index: t, current: n, compactDetails: r, onClick: i }) => {
|
|
2212
2267
|
let a = {
|
|
2213
2268
|
background: void 0,
|
|
2214
2269
|
clicks: void 0
|
|
2215
2270
|
};
|
|
2216
|
-
|
|
2217
|
-
let o =
|
|
2218
|
-
if (e instanceof
|
|
2271
|
+
z.heatmap && (e instanceof oe || e instanceof le || e instanceof Be) && (a = Kt(e));
|
|
2272
|
+
let o = z.foundInDescriptionStruct[e.id];
|
|
2273
|
+
if (e instanceof oe) {
|
|
2219
2274
|
var s, c;
|
|
2220
2275
|
let t = "exhibitor";
|
|
2221
2276
|
return /* @__PURE__ */ (0, Z.jsx)(Qt, {
|
|
@@ -2230,13 +2285,13 @@ var un = q(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2230
2285
|
additionalInfo: e.booths.map((e) => ({
|
|
2231
2286
|
type: "location",
|
|
2232
2287
|
locationName: e.name,
|
|
2233
|
-
level: e.layer && (
|
|
2288
|
+
level: e.layer && (B.shortLevelName ? e.layer.shortName : e.layer.description) || ""
|
|
2234
2289
|
})),
|
|
2235
2290
|
current: n,
|
|
2236
2291
|
compactDetails: r,
|
|
2237
2292
|
heatmapColor: a.background,
|
|
2238
|
-
accentBorderColor:
|
|
2239
|
-
hideUserState:
|
|
2293
|
+
accentBorderColor: B.isRebooking ? (c = Pe[e.rebookingState]) == null ? void 0 : c.color.primary : void 0,
|
|
2294
|
+
hideUserState: z.kiosk,
|
|
2240
2295
|
secondaryText: o
|
|
2241
2296
|
});
|
|
2242
2297
|
}
|
|
@@ -2251,7 +2306,7 @@ var un = q(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2251
2306
|
heatmapColor: a.background,
|
|
2252
2307
|
secondaryText: o
|
|
2253
2308
|
});
|
|
2254
|
-
if (e instanceof
|
|
2309
|
+
if (e instanceof j) return /* @__PURE__ */ (0, Z.jsx)(Qt, {
|
|
2255
2310
|
onClick: (e) => i("category", e),
|
|
2256
2311
|
id: e.id.toString(),
|
|
2257
2312
|
itemsCount: e.exhibitors.length,
|
|
@@ -2260,7 +2315,7 @@ var un = q(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2260
2315
|
current: n,
|
|
2261
2316
|
secondaryText: o
|
|
2262
2317
|
});
|
|
2263
|
-
if (e instanceof
|
|
2318
|
+
if (e instanceof Ne) {
|
|
2264
2319
|
let t = [];
|
|
2265
2320
|
return e.jobTitle && t.push({
|
|
2266
2321
|
type: "text",
|
|
@@ -2273,13 +2328,13 @@ var un = q(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2273
2328
|
image: e.photoFile,
|
|
2274
2329
|
additionalInfo: t,
|
|
2275
2330
|
bookmarked: e.bookmarked,
|
|
2276
|
-
onClick: () =>
|
|
2331
|
+
onClick: () => H.selectSpeaker(e, !0),
|
|
2277
2332
|
secondaryText: o
|
|
2278
2333
|
}, e.id);
|
|
2279
2334
|
}
|
|
2280
|
-
if (e instanceof
|
|
2335
|
+
if (e instanceof De) {
|
|
2281
2336
|
var l, u;
|
|
2282
|
-
let t = e.boothId ?
|
|
2337
|
+
let t = e.boothId ? je.booths.find((t) => t.id === e.boothId) : null;
|
|
2283
2338
|
return /* @__PURE__ */ (0, Z.jsx)(Qt, {
|
|
2284
2339
|
id: e.id.toString(),
|
|
2285
2340
|
onClick: (e) => i("event", e),
|
|
@@ -2290,18 +2345,18 @@ var un = q(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2290
2345
|
additionalInfo: t ? [{
|
|
2291
2346
|
type: "location",
|
|
2292
2347
|
locationName: t.name,
|
|
2293
|
-
level:
|
|
2348
|
+
level: B.shortLevelName ? (l = t.layer) == null ? void 0 : l.shortName : (u = t.layer) == null ? void 0 : u.description
|
|
2294
2349
|
}] : [],
|
|
2295
2350
|
bookmarked: e.bookmarked,
|
|
2296
2351
|
visited: e.visited,
|
|
2297
2352
|
current: n,
|
|
2298
|
-
hideUserState:
|
|
2353
|
+
hideUserState: z.kiosk,
|
|
2299
2354
|
secondaryText: o
|
|
2300
2355
|
});
|
|
2301
2356
|
}
|
|
2302
|
-
return e instanceof
|
|
2357
|
+
return e instanceof Be ? /* @__PURE__ */ (0, Z.jsx)(hn, {
|
|
2303
2358
|
yah: e,
|
|
2304
|
-
active: t ===
|
|
2359
|
+
active: t === z.activeListIndex
|
|
2305
2360
|
}) : null;
|
|
2306
2361
|
}), _n = ({ onDragStart: e, onDragMove: t, onDragEnd: n }) => {
|
|
2307
2362
|
let r = (0, X.useRef)(!1), i = (0, X.useCallback)((t) => {
|
|
@@ -2366,13 +2421,13 @@ function yn(e, t) {
|
|
|
2366
2421
|
//#region src/components/OverlayParticles.tsx
|
|
2367
2422
|
function bn() {
|
|
2368
2423
|
let [t, n] = (0, X.useState)(!1), [r, i] = (0, X.useState)(), [a, o] = (0, X.useState)(!1), c = (0, X.useRef)();
|
|
2369
|
-
return
|
|
2424
|
+
return Ue(() => {
|
|
2370
2425
|
var e;
|
|
2371
|
-
return o(
|
|
2426
|
+
return o(z.overlayPosition === "left" && ((e = s.getEngine()) == null ? void 0 : e.name) !== "EdgeHTML");
|
|
2372
2427
|
}), (0, X.useEffect)(() => {
|
|
2373
2428
|
a && !r && import(
|
|
2374
2429
|
/* webpackChunkName: "particlesjs" */
|
|
2375
|
-
"./particles.min-
|
|
2430
|
+
"./particles.min-Cq5SYO7P.js"
|
|
2376
2431
|
).then((t) => /* @__PURE__ */ e(t.default, 1)).then((e) => {
|
|
2377
2432
|
i(e.default);
|
|
2378
2433
|
});
|
|
@@ -2445,17 +2500,17 @@ var xn = q(bn), Sn = (0, X.createContext)(null), Cn = 70, wn = "0.3s", Tn = 10,
|
|
|
2445
2500
|
e && e.style.removeProperty("overflow");
|
|
2446
2501
|
let t = N.current;
|
|
2447
2502
|
N.current = void 0, t !== void 0 && T !== void 0 && ne(T);
|
|
2448
|
-
}, [T, ne]),
|
|
2503
|
+
}, [T, ne]), oe = (0, X.useCallback)((e) => {
|
|
2449
2504
|
x || I(n === "small" ? "medium" : n === "medium" ? "full" : "small");
|
|
2450
2505
|
}, [
|
|
2451
2506
|
x,
|
|
2452
2507
|
n,
|
|
2453
2508
|
I
|
|
2454
|
-
]), { touchHandlers:
|
|
2509
|
+
]), { touchHandlers: se, mouseHandlers: L } = _n({
|
|
2455
2510
|
onDragStart: re,
|
|
2456
2511
|
onDragMove: ie,
|
|
2457
2512
|
onDragEnd: ae
|
|
2458
|
-
}),
|
|
2513
|
+
}), ce = (0, X.useCallback)(() => {
|
|
2459
2514
|
let e = F.current;
|
|
2460
2515
|
if (!e) return;
|
|
2461
2516
|
let t = e.scrollTop >= d;
|
|
@@ -2464,24 +2519,24 @@ var xn = q(bn), Sn = (0, X.createContext)(null), Cn = 70, wn = "0.3s", Tn = 10,
|
|
|
2464
2519
|
d,
|
|
2465
2520
|
k,
|
|
2466
2521
|
o
|
|
2467
|
-
]),
|
|
2522
|
+
]), le = (0, X.useMemo)(() => yn(() => {
|
|
2468
2523
|
var e, t;
|
|
2469
2524
|
(e = (t = window).__resett) == null || e.call(t);
|
|
2470
2525
|
}, 250), []);
|
|
2471
2526
|
return (0, X.useEffect)(() => {
|
|
2472
2527
|
if (!y || f) return;
|
|
2473
2528
|
let e = P.current, t = ee.current, n = F.current;
|
|
2474
|
-
return e && (e.ontouchstart =
|
|
2529
|
+
return e && (e.ontouchstart = se.onTouchStart, e.ontouchend = se.onTouchEnd, window.ontouchmove = se.onTouchMove, e.onmousedown = L.onMouseDown, e.onmouseup = L.onMouseUp, window.onmousemove = L.onMouseMove), t && t.addEventListener("mouseup", oe), n && (n.ontouchstart = () => {
|
|
2475
2530
|
C && C < _.full && n && (n.style.overflow = "hidden");
|
|
2476
2531
|
}), () => {
|
|
2477
|
-
e && (window.ontouchmove = null, window.onmousemove = null), t && t.removeEventListener("mouseup",
|
|
2532
|
+
e && (window.ontouchmove = null, window.onmousemove = null), t && t.removeEventListener("mouseup", oe);
|
|
2478
2533
|
};
|
|
2479
2534
|
}, [
|
|
2480
2535
|
y,
|
|
2481
2536
|
f,
|
|
2482
|
-
|
|
2483
|
-
R,
|
|
2537
|
+
se,
|
|
2484
2538
|
L,
|
|
2539
|
+
oe,
|
|
2485
2540
|
C,
|
|
2486
2541
|
_
|
|
2487
2542
|
]), (0, X.useEffect)(() => {
|
|
@@ -2548,7 +2603,7 @@ var xn = q(bn), Sn = (0, X.createContext)(null), Cn = 70, wn = "0.3s", Tn = 10,
|
|
|
2548
2603
|
className: "efp-overlay__scroll",
|
|
2549
2604
|
ref: F,
|
|
2550
2605
|
onScroll: (e) => {
|
|
2551
|
-
|
|
2606
|
+
ce(), le();
|
|
2552
2607
|
},
|
|
2553
2608
|
children: [r ? /* @__PURE__ */ (0, Z.jsx)(xn, {}) : null, /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
2554
2609
|
className: "efp-overlay__content",
|
|
@@ -2559,15 +2614,15 @@ var xn = q(bn), Sn = (0, X.createContext)(null), Cn = 70, wn = "0.3s", Tn = 10,
|
|
|
2559
2614
|
}) : null;
|
|
2560
2615
|
}, kn = () => import(
|
|
2561
2616
|
/* webpackChunkName: "react-virtuoso-entity-list" */
|
|
2562
|
-
"./dist-
|
|
2617
|
+
"./dist-BIFUFe-T.js"
|
|
2563
2618
|
).then((e) => ({ default: e.Virtuoso })).catch(() => new Promise((e) => setTimeout(() => e(kn()), 3e3))), An = (0, X.lazy)(kn), jn = ["ipia2025"], Mn = q(({ updatedScrollableRef: e, updateScroll: t }) => {
|
|
2564
|
-
let n = (0, X.useContext)(Sn), r = (0, X.useRef)(null), i =
|
|
2619
|
+
let n = (0, X.useContext)(Sn), r = (0, X.useRef)(null), i = z.getListScrollItemId(z.list.type), a = jn.includes(U.EXPO);
|
|
2565
2620
|
(0, X.useEffect)(() => {
|
|
2566
|
-
let e =
|
|
2621
|
+
let e = z.getListScrollTop(z.list.type), t = z.getListScrollItemId(z.list.type);
|
|
2567
2622
|
(e > 0 || t) && setTimeout(() => {
|
|
2568
2623
|
if (r.current) {
|
|
2569
2624
|
if (t) {
|
|
2570
|
-
let e =
|
|
2625
|
+
let e = z.listItems.findIndex((e) => {
|
|
2571
2626
|
var n;
|
|
2572
2627
|
return (e == null || (n = e.id) == null ? void 0 : n.toString()) === t.toString();
|
|
2573
2628
|
});
|
|
@@ -2586,46 +2641,46 @@ var xn = q(bn), Sn = (0, X.createContext)(null), Cn = 70, wn = "0.3s", Tn = 10,
|
|
|
2586
2641
|
});
|
|
2587
2642
|
}
|
|
2588
2643
|
}, 100);
|
|
2589
|
-
}, [
|
|
2590
|
-
let o =
|
|
2644
|
+
}, [z.list.type]);
|
|
2645
|
+
let o = z.showRouteInstantly, s = (0, X.useCallback)((t, n) => {
|
|
2591
2646
|
var i;
|
|
2592
2647
|
let a = parseInt(n, 10);
|
|
2593
|
-
if (
|
|
2648
|
+
if (z.setListScrollItemId((i = z.list) == null ? void 0 : i.type, a), r.current) r.current.getState((e) => {
|
|
2594
2649
|
var t;
|
|
2595
2650
|
let n = (e == null ? void 0 : e.scrollTop) || 0;
|
|
2596
|
-
|
|
2651
|
+
z.setListScrollTop((t = z.list) == null ? void 0 : t.type, n);
|
|
2597
2652
|
});
|
|
2598
2653
|
else if (e.current) {
|
|
2599
2654
|
var s;
|
|
2600
|
-
|
|
2655
|
+
z.setListScrollTop((s = z.list) == null ? void 0 : s.type, e.current.scrollTop || 0);
|
|
2601
2656
|
}
|
|
2602
2657
|
switch (t) {
|
|
2603
2658
|
case "exhibitor":
|
|
2604
|
-
let e =
|
|
2605
|
-
o ?
|
|
2659
|
+
let e = H.exhibitorStore.exhibitors.find((e) => e.id === a);
|
|
2660
|
+
o ? H.routeStore.clickRoute(null, H.routeStore.tempToBooth || e.booths[0]) : H.clickExhibitor(e);
|
|
2606
2661
|
break;
|
|
2607
2662
|
case "booth":
|
|
2608
|
-
let t =
|
|
2609
|
-
o ?
|
|
2663
|
+
let t = H.boothStore.booths.find((e) => e.id === a);
|
|
2664
|
+
o ? H.routeStore.clickRoute(null, t) : H.clickBoothInList2(t);
|
|
2610
2665
|
break;
|
|
2611
2666
|
case "category":
|
|
2612
|
-
|
|
2667
|
+
H.clickCategory(H.categoryStore.categories.find((e) => e.id === a));
|
|
2613
2668
|
break;
|
|
2614
2669
|
case "event":
|
|
2615
|
-
let n =
|
|
2670
|
+
let n = H.eventStore.eventItems.find((e) => e.id === a);
|
|
2616
2671
|
if (n) {
|
|
2617
|
-
let e =
|
|
2618
|
-
o && e ?
|
|
2672
|
+
let e = H.boothStore.booths.find((e) => e.id === n.boothId);
|
|
2673
|
+
o && e ? H.routeStore.clickRoute(null, e) : H.selectEventItem(n, !0);
|
|
2619
2674
|
}
|
|
2620
2675
|
break;
|
|
2621
2676
|
case "speaker": {
|
|
2622
|
-
let e =
|
|
2623
|
-
e &&
|
|
2677
|
+
let e = H.speakerStore.speakers.find((e) => e.id === a);
|
|
2678
|
+
e && H.selectSpeaker(e, !0);
|
|
2624
2679
|
break;
|
|
2625
2680
|
}
|
|
2626
2681
|
}
|
|
2627
2682
|
}, [o, e]);
|
|
2628
|
-
return n === null ||
|
|
2683
|
+
return n === null || z.setKioskModeEnabled ? null : z.listItems.length ? /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
2629
2684
|
style: {
|
|
2630
2685
|
height: "100%",
|
|
2631
2686
|
cursor: "pointer",
|
|
@@ -2640,8 +2695,8 @@ var xn = q(bn), Sn = (0, X.createContext)(null), Cn = 70, wn = "0.3s", Tn = 10,
|
|
|
2640
2695
|
children: /* @__PURE__ */ (0, Z.jsx)(An, {
|
|
2641
2696
|
ref: r,
|
|
2642
2697
|
className: "list-virtual",
|
|
2643
|
-
style: { minHeight:
|
|
2644
|
-
data:
|
|
2698
|
+
style: { minHeight: z.listItems.length ? "1px" : 0 },
|
|
2699
|
+
data: z.listItems,
|
|
2645
2700
|
itemContent: (e, t) => {
|
|
2646
2701
|
var n;
|
|
2647
2702
|
let r = t;
|
|
@@ -2656,15 +2711,15 @@ var xn = q(bn), Sn = (0, X.createContext)(null), Cn = 70, wn = "0.3s", Tn = 10,
|
|
|
2656
2711
|
itemsRendered: () => t && setTimeout(t),
|
|
2657
2712
|
totalListHeightChanged: () => t && t(),
|
|
2658
2713
|
customScrollParent: n,
|
|
2659
|
-
totalCount:
|
|
2714
|
+
totalCount: z.listItems.length,
|
|
2660
2715
|
overscan: 20,
|
|
2661
2716
|
increaseViewportBy: 200,
|
|
2662
|
-
initialItemCount: Math.min(
|
|
2717
|
+
initialItemCount: Math.min(z.listScrollIndex + 30, z.listItems.length)
|
|
2663
2718
|
})
|
|
2664
2719
|
})
|
|
2665
2720
|
}) : /* @__PURE__ */ (0, Z.jsx)(() => /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
2666
2721
|
className: "list-empty",
|
|
2667
|
-
children:
|
|
2722
|
+
children: z.list.type === "search" ? u("Oops, nothing found") : u("No items to show")
|
|
2668
2723
|
}), {});
|
|
2669
2724
|
});
|
|
2670
2725
|
//#endregion
|
|
@@ -2678,8 +2733,8 @@ function Nn() {
|
|
|
2678
2733
|
updatedScrollableRef: e
|
|
2679
2734
|
}));
|
|
2680
2735
|
}
|
|
2681
|
-
var Pn = () => K(() => !
|
|
2682
|
-
let { urlFilterManager: e, uiState: t } =
|
|
2736
|
+
var Pn = () => K(() => !z.menu && z.list.type === "category" && z.details instanceof j && /* @__PURE__ */ (0, Z.jsx)(Nn, {})), Fn = () => {
|
|
2737
|
+
let { urlFilterManager: e, uiState: t } = H, n = K(() => ({
|
|
2683
2738
|
categories: t.selectedCategoryFilters.map((e) => e.name),
|
|
2684
2739
|
poiType: t.selectedPoiTypeFilters.length > 0 ? t.selectedPoiTypeFilters[0].name : null,
|
|
2685
2740
|
exhibitors: e.currentFilters.exhibitors,
|
|
@@ -2703,7 +2758,7 @@ var Pn = () => K(() => !B.menu && B.list.type === "category" && B.details instan
|
|
|
2703
2758
|
};
|
|
2704
2759
|
}, In = q(() => {
|
|
2705
2760
|
let { currentFilters: e } = Fn(), t = (0, X.useMemo)(() => {
|
|
2706
|
-
let e =
|
|
2761
|
+
let e = H.categoryStore.categories || [], t = {}, n = [], r = [];
|
|
2707
2762
|
e.forEach((e) => {
|
|
2708
2763
|
if (!e || !e.exhibitors || e.exhibitors.length === 0) return;
|
|
2709
2764
|
let i = (e.name || "").split("/").map((e) => e.trim());
|
|
@@ -2730,25 +2785,25 @@ var Pn = () => K(() => !B.menu && B.list.type === "category" && B.details instan
|
|
|
2730
2785
|
let n = t[e];
|
|
2731
2786
|
n && n.items && n.items.length > 0 && i.push(n);
|
|
2732
2787
|
}), i;
|
|
2733
|
-
}, [
|
|
2788
|
+
}, [H.categoryStore.categories]);
|
|
2734
2789
|
return (0, X.useEffect)(() => {
|
|
2735
|
-
if (
|
|
2790
|
+
if (H.categoryFilterStore.state.isOpen && e.categories.length > 0) {
|
|
2736
2791
|
let t = e.categories.map((e) => {
|
|
2737
|
-
let t =
|
|
2792
|
+
let t = H.categoryStore.categories.find((t) => t.name.toLowerCase() === e.toLowerCase());
|
|
2738
2793
|
return t ? {
|
|
2739
2794
|
id: t.id,
|
|
2740
2795
|
name: t.name
|
|
2741
2796
|
} : null;
|
|
2742
2797
|
}).filter((e) => e !== null);
|
|
2743
|
-
t.length > 0 &&
|
|
2798
|
+
t.length > 0 && H.categoryFilterStore.setPendingItems(t);
|
|
2744
2799
|
}
|
|
2745
|
-
}, [
|
|
2746
|
-
store:
|
|
2747
|
-
rootStore:
|
|
2800
|
+
}, [H.categoryFilterStore.state.isOpen, e.categories]), /* @__PURE__ */ (0, Z.jsx)(Vt, {
|
|
2801
|
+
store: H.categoryFilterStore,
|
|
2802
|
+
rootStore: H,
|
|
2748
2803
|
title: u("Categories"),
|
|
2749
2804
|
groups: t
|
|
2750
2805
|
});
|
|
2751
|
-
}), Ln = q((e) => /* @__PURE__ */ (0, Z.jsx)(
|
|
2806
|
+
}), Ln = q((e) => /* @__PURE__ */ (0, Z.jsx)(ot, {
|
|
2752
2807
|
...e,
|
|
2753
2808
|
title: u("Read More"),
|
|
2754
2809
|
downloadLabel: (e) => u("Download {{fileName}}", { fileName: e })
|
|
@@ -2770,7 +2825,7 @@ var Pn = () => K(() => !B.menu && B.list.type === "category" && B.details instan
|
|
|
2770
2825
|
}
|
|
2771
2826
|
}, zn = [9148, 9151];
|
|
2772
2827
|
function Bn(e) {
|
|
2773
|
-
let t =
|
|
2828
|
+
let t = U.EXPO === "demo", n = zn.includes(e.id) || zn.includes(e.externalId);
|
|
2774
2829
|
return t && n;
|
|
2775
2830
|
}
|
|
2776
2831
|
//#endregion
|
|
@@ -2836,7 +2891,7 @@ function Kn(e) {
|
|
|
2836
2891
|
}
|
|
2837
2892
|
var qn = q(({ event: e, ...t }) => {
|
|
2838
2893
|
let { status: n, statusLabel: r, isUrgent: i } = Kn(e);
|
|
2839
|
-
return /* @__PURE__ */ (0, Z.jsx)(
|
|
2894
|
+
return /* @__PURE__ */ (0, Z.jsx)(ut, {
|
|
2840
2895
|
status: n,
|
|
2841
2896
|
statusLabel: r,
|
|
2842
2897
|
showFullBadge: Bn(e),
|
|
@@ -2859,11 +2914,11 @@ function Yn() {
|
|
|
2859
2914
|
collapsed: !0,
|
|
2860
2915
|
updateOverlayContent: null,
|
|
2861
2916
|
get event() {
|
|
2862
|
-
return
|
|
2917
|
+
return z.selectedEventItem;
|
|
2863
2918
|
},
|
|
2864
2919
|
get booth() {
|
|
2865
2920
|
var e;
|
|
2866
|
-
return (e = this.event) != null && e.boothId ?
|
|
2921
|
+
return (e = this.event) != null && e.boothId ? H.boothStore.booths.find((e) => e.id === this.event.boothId) : null;
|
|
2867
2922
|
},
|
|
2868
2923
|
get disableCollapse() {
|
|
2869
2924
|
var e;
|
|
@@ -2881,21 +2936,21 @@ function Yn() {
|
|
|
2881
2936
|
e.current && e.current.parentElement && (e.current.parentElement.scrollTop = 0), t.collapsed = !0, a(!1);
|
|
2882
2937
|
});
|
|
2883
2938
|
let s = (e) => {
|
|
2884
|
-
let t =
|
|
2939
|
+
let t = H.sessionsFilterStore.state.filters.use24hFormat.value;
|
|
2885
2940
|
return (0, Q.default)(new Date(e), t ? "HH:MM" : "h:MMtt");
|
|
2886
2941
|
}, c = (e) => (0, Q.default)(new Date(e), "dddd, mmmm d, yyyy");
|
|
2887
2942
|
return K(() => {
|
|
2888
2943
|
var e, r;
|
|
2889
2944
|
let l = t.event;
|
|
2890
2945
|
if (!l) return null;
|
|
2891
|
-
l.name,
|
|
2946
|
+
l.name, B.boothTerm;
|
|
2892
2947
|
let u = () => {
|
|
2893
2948
|
t.collapsed = !1, setTimeout(t.updateOverlayContent);
|
|
2894
2949
|
};
|
|
2895
2950
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
2896
2951
|
className: (0, Y.default)({
|
|
2897
2952
|
"efp-event": !0,
|
|
2898
|
-
[
|
|
2953
|
+
[z.responsiveClass]: !0
|
|
2899
2954
|
}),
|
|
2900
2955
|
children: [
|
|
2901
2956
|
/* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
@@ -2911,38 +2966,38 @@ function Yn() {
|
|
|
2911
2966
|
})]
|
|
2912
2967
|
}), /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
2913
2968
|
type: "button",
|
|
2914
|
-
onClick: () =>
|
|
2969
|
+
onClick: () => H.searchStore.handleBackAction(),
|
|
2915
2970
|
className: "efp-event__header-close",
|
|
2916
2971
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-close" })
|
|
2917
2972
|
})]
|
|
2918
2973
|
}),
|
|
2919
2974
|
/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
2920
2975
|
className: "efp-event__buttons",
|
|
2921
|
-
children: !
|
|
2922
|
-
showBookmark: !
|
|
2923
|
-
showDirections: t.booth &&
|
|
2976
|
+
children: !z.isGuidedToursActive && /* @__PURE__ */ (0, Z.jsx)(Ht, {
|
|
2977
|
+
showBookmark: !z.disableBookmarked && !B.hideBookmarks && !z.kiosk,
|
|
2978
|
+
showDirections: t.booth && U.wayfinding,
|
|
2924
2979
|
inBookmark: ((e = t.event) == null ? void 0 : e.bookmarked) || !1,
|
|
2925
2980
|
showShare: !0,
|
|
2926
|
-
showVisited: !
|
|
2981
|
+
showVisited: !z.kiosk,
|
|
2927
2982
|
visited: ((r = t.event) == null ? void 0 : r.visited) || !1,
|
|
2928
2983
|
onClickBookmark: Zn,
|
|
2929
2984
|
onClickShare: Xn,
|
|
2930
2985
|
onClickDirections: () => {
|
|
2931
|
-
t.booth &&
|
|
2986
|
+
t.booth && H.routeStore.clickRoute(null, t.booth);
|
|
2932
2987
|
},
|
|
2933
2988
|
onClickVisited: Qn
|
|
2934
2989
|
})
|
|
2935
2990
|
}),
|
|
2936
2991
|
/* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
2937
|
-
className: (0, Y.default)("efp-event__details", { "details-hidden":
|
|
2992
|
+
className: (0, Y.default)("efp-event__details", { "details-hidden": z.kiosk && n && !i }),
|
|
2938
2993
|
ref: o,
|
|
2939
2994
|
children: [
|
|
2940
2995
|
/* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
2941
|
-
className: (0, Y.default)("efp-event-booths", { "is-links-disabled":
|
|
2996
|
+
className: (0, Y.default)("efp-event-booths", { "is-links-disabled": z.isGuidedToursActive }),
|
|
2942
2997
|
children: [t.booth && /* @__PURE__ */ (0, Z.jsxs)("a", {
|
|
2943
2998
|
href: `?${t.booth.slug}`,
|
|
2944
2999
|
onClick: (e) => {
|
|
2945
|
-
e.preventDefault(),
|
|
3000
|
+
e.preventDefault(), H.toggleMapOverlay(), H.selectBooth(t.booth);
|
|
2946
3001
|
},
|
|
2947
3002
|
className: "efp-event-booths__booth",
|
|
2948
3003
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
@@ -2950,7 +3005,7 @@ function Yn() {
|
|
|
2950
3005
|
children: t.booth.name
|
|
2951
3006
|
}), t.booth.layer && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
2952
3007
|
className: "efp-event-categories__booth-level",
|
|
2953
|
-
children:
|
|
3008
|
+
children: B.shortLevelName ? t.booth.layer.shortName : t.booth.layer.description
|
|
2954
3009
|
})]
|
|
2955
3010
|
}), l.hasTracks && l.tracks.map((e) => /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
2956
3011
|
className: "efp-event-booths__track",
|
|
@@ -2995,7 +3050,7 @@ function Yn() {
|
|
|
2995
3050
|
children: l.speakers.map((e) => /* @__PURE__ */ (0, Z.jsxs)("a", {
|
|
2996
3051
|
href: `?${e.slug}`,
|
|
2997
3052
|
onClick: (t) => {
|
|
2998
|
-
t.preventDefault(),
|
|
3053
|
+
t.preventDefault(), H.selectSpeaker(e, !0);
|
|
2999
3054
|
},
|
|
3000
3055
|
className: "efp-event-list__block-item efp-event-list__block-item--clickable",
|
|
3001
3056
|
children: [e.photoFile && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
@@ -3019,7 +3074,7 @@ function Yn() {
|
|
|
3019
3074
|
})]
|
|
3020
3075
|
}),
|
|
3021
3076
|
(l.description || l.logoFile) && /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
3022
|
-
className: (0, Y.default)("efp-event-description", { collapsed: t.collapsed && !t.disableCollapse && !
|
|
3077
|
+
className: (0, Y.default)("efp-event-description", { collapsed: t.collapsed && !t.disableCollapse && !z.kiosk }),
|
|
3023
3078
|
children: [l.logoFile && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
3024
3079
|
className: (0, Y.default)("efp-event-description__logo", { "efp-event-description__logo--left": !l.description }),
|
|
3025
3080
|
children: /* @__PURE__ */ (0, Z.jsx)("img", {
|
|
@@ -3036,7 +3091,7 @@ function Yn() {
|
|
|
3036
3091
|
})
|
|
3037
3092
|
]
|
|
3038
3093
|
}),
|
|
3039
|
-
|
|
3094
|
+
z.kiosk && n && /* @__PURE__ */ (0, Z.jsx)(tn, {
|
|
3040
3095
|
className: (0, Y.default)("efp-event__show-more", { "is-sticky": i }),
|
|
3041
3096
|
expanded: i,
|
|
3042
3097
|
onClick: () => a((e) => !e)
|
|
@@ -3046,26 +3101,26 @@ function Yn() {
|
|
|
3046
3101
|
});
|
|
3047
3102
|
}
|
|
3048
3103
|
function Xn() {
|
|
3049
|
-
let e =
|
|
3050
|
-
e && (
|
|
3104
|
+
let e = z.selectedEventItem;
|
|
3105
|
+
e && (M(k.ClickCustomButton, e.name), H.toggleModal("share"));
|
|
3051
3106
|
}
|
|
3052
3107
|
function Zn() {
|
|
3053
|
-
let e =
|
|
3054
|
-
e && (e.bookmarked = !e.bookmarked,
|
|
3108
|
+
let e = z.selectedEventItem;
|
|
3109
|
+
e && (e.bookmarked = !e.bookmarked, z.onBookmarkClick && z.onBookmarkClick({
|
|
3055
3110
|
name: e.name,
|
|
3056
3111
|
bookmarked: e.bookmarked,
|
|
3057
3112
|
externalId: e.externalId
|
|
3058
|
-
}),
|
|
3113
|
+
}), M(k.ClickCustomButton, e.name));
|
|
3059
3114
|
}
|
|
3060
3115
|
function Qn() {
|
|
3061
|
-
let e =
|
|
3062
|
-
e && (e.visited = !e.visited,
|
|
3116
|
+
let e = z.selectedEventItem;
|
|
3117
|
+
e && (e.visited = !e.visited, z.onVisitedClick && z.onVisitedClick({
|
|
3063
3118
|
name: e.name,
|
|
3064
3119
|
visited: e.visited,
|
|
3065
3120
|
externalId: e.externalId
|
|
3066
|
-
}),
|
|
3121
|
+
}), M(k.ClickCustomButton, e.name));
|
|
3067
3122
|
}
|
|
3068
|
-
var $n = q(() =>
|
|
3123
|
+
var $n = q(() => z.selectedEventItem ? /* @__PURE__ */ (0, Z.jsx)(Yn, {}) : null);
|
|
3069
3124
|
//#endregion
|
|
3070
3125
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
3071
3126
|
function er(e, t) {
|
|
@@ -3135,14 +3190,14 @@ var or = { disabled: !1 }, sr = X.createContext(null), cr = function(e) {
|
|
|
3135
3190
|
}, n.updateStatus = function(e, t) {
|
|
3136
3191
|
if (e === void 0 && (e = !1), t !== null) if (this.cancelNextCallback(), t === "entering") {
|
|
3137
3192
|
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
3138
|
-
var n = this.props.nodeRef ? this.props.nodeRef.current :
|
|
3193
|
+
var n = this.props.nodeRef ? this.props.nodeRef.current : et.default.findDOMNode(this);
|
|
3139
3194
|
n && cr(n);
|
|
3140
3195
|
}
|
|
3141
3196
|
this.performEnter(e);
|
|
3142
3197
|
} else this.performExit();
|
|
3143
3198
|
else this.props.unmountOnExit && this.state.status === "exited" && this.setState({ status: lr });
|
|
3144
3199
|
}, n.performEnter = function(e) {
|
|
3145
|
-
var t = this, n = this.props.enter, r = this.context ? this.context.isMounting : e, i = this.props.nodeRef ? [r] : [
|
|
3200
|
+
var t = this, n = this.props.enter, r = this.context ? this.context.isMounting : e, i = this.props.nodeRef ? [r] : [et.default.findDOMNode(this), r], a = i[0], o = i[1], s = this.getTimeouts(), c = r ? s.appear : s.enter;
|
|
3146
3201
|
if (!e && !n || or.disabled) {
|
|
3147
3202
|
this.safeSetState({ status: fr }, function() {
|
|
3148
3203
|
t.props.onEntered(a);
|
|
@@ -3157,7 +3212,7 @@ var or = { disabled: !1 }, sr = X.createContext(null), cr = function(e) {
|
|
|
3157
3212
|
});
|
|
3158
3213
|
});
|
|
3159
3214
|
}, n.performExit = function() {
|
|
3160
|
-
var e = this, t = this.props.exit, n = this.getTimeouts(), r = this.props.nodeRef ? void 0 :
|
|
3215
|
+
var e = this, t = this.props.exit, n = this.getTimeouts(), r = this.props.nodeRef ? void 0 : et.default.findDOMNode(this);
|
|
3161
3216
|
if (!t || or.disabled) {
|
|
3162
3217
|
this.safeSetState({ status: ur }, function() {
|
|
3163
3218
|
e.props.onExited(r);
|
|
@@ -3184,7 +3239,7 @@ var or = { disabled: !1 }, sr = X.createContext(null), cr = function(e) {
|
|
|
3184
3239
|
}, this.nextCallback;
|
|
3185
3240
|
}, n.onTransitionEnd = function(e, t) {
|
|
3186
3241
|
this.setNextCallback(t);
|
|
3187
|
-
var n = this.props.nodeRef ? this.props.nodeRef.current :
|
|
3242
|
+
var n = this.props.nodeRef ? this.props.nodeRef.current : et.default.findDOMNode(this), r = e == null && !this.props.addEndListener;
|
|
3188
3243
|
if (!n || r) {
|
|
3189
3244
|
setTimeout(this.nextCallback, 0);
|
|
3190
3245
|
return;
|
|
@@ -3294,7 +3349,7 @@ var hr = function(e, t) {
|
|
|
3294
3349
|
var e = this.props;
|
|
3295
3350
|
e.classNames;
|
|
3296
3351
|
var t = er(e, ["classNames"]);
|
|
3297
|
-
return /*#__PURE__*/ X.createElement($,
|
|
3352
|
+
return /*#__PURE__*/ X.createElement($, he({}, t, {
|
|
3298
3353
|
onEnter: this.onEnter,
|
|
3299
3354
|
onEntered: this.onEntered,
|
|
3300
3355
|
onEntering: this.onEntering,
|
|
@@ -3404,7 +3459,7 @@ var Cr = Object.values || function(e) {
|
|
|
3404
3459
|
}, n.handleExited = function(e, t) {
|
|
3405
3460
|
var n = vr(this.props.children);
|
|
3406
3461
|
e.key in n || (e.props.onExited && e.props.onExited(t), this.mounted && this.setState(function(t) {
|
|
3407
|
-
var n =
|
|
3462
|
+
var n = he({}, t.children);
|
|
3408
3463
|
return delete n[e.key], { children: n };
|
|
3409
3464
|
}));
|
|
3410
3465
|
}, n.render = function() {
|
|
@@ -3415,43 +3470,43 @@ var Cr = Object.values || function(e) {
|
|
|
3415
3470
|
Tr.propTypes = {}, Tr.defaultProps = wr;
|
|
3416
3471
|
//#endregion
|
|
3417
3472
|
//#region src/components/RebookingNotesContainer.tsx
|
|
3418
|
-
var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(
|
|
3473
|
+
var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(Ct, {
|
|
3419
3474
|
noteLabel: u("Note"),
|
|
3420
3475
|
saveButtonLabel: u("Save note"),
|
|
3421
3476
|
saveButtonAriaLabel: u("Save rebooking note"),
|
|
3422
3477
|
...e
|
|
3423
3478
|
})), Dr = {
|
|
3424
|
-
[
|
|
3425
|
-
[
|
|
3426
|
-
[
|
|
3427
|
-
[
|
|
3428
|
-
}, Or = () => Object.entries(
|
|
3479
|
+
[O.Unasked]: "Unasked",
|
|
3480
|
+
[O.Accepted]: "Accepted",
|
|
3481
|
+
[O.Rejected]: "Rejected",
|
|
3482
|
+
[O.Undecided]: "Undecided"
|
|
3483
|
+
}, Or = () => Object.entries(Pe).map(([e, t]) => ({
|
|
3429
3484
|
value: e,
|
|
3430
3485
|
label: u(Dr[Number(e)]),
|
|
3431
3486
|
iconName: t.iconName,
|
|
3432
3487
|
color: t.color.primary
|
|
3433
3488
|
})), kr = q((e) => {
|
|
3434
3489
|
let { showTitle: t, ...n } = e;
|
|
3435
|
-
return /* @__PURE__ */ (0, Z.jsx)(
|
|
3490
|
+
return /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
3436
3491
|
options: Or(),
|
|
3437
3492
|
title: t ? u("Choose Rebooking offer") : void 0,
|
|
3438
3493
|
...n
|
|
3439
3494
|
});
|
|
3440
3495
|
}), Ar = X.lazy(() => import(
|
|
3441
3496
|
/* webpackChunkName: "gallery" */
|
|
3442
|
-
"./Gallery-
|
|
3497
|
+
"./Gallery-BXlz1tz4.js"
|
|
3443
3498
|
).then((e) => e.t)), jr = q(function() {
|
|
3444
3499
|
let e = (0, X.useRef)(null), t = G(() => ({
|
|
3445
3500
|
collapsed: !0,
|
|
3446
3501
|
updateOverlayContent: null,
|
|
3447
3502
|
get exhibitor() {
|
|
3448
|
-
return
|
|
3503
|
+
return z.selectedExhibitor;
|
|
3449
3504
|
},
|
|
3450
3505
|
get websiteTrimmed() {
|
|
3451
3506
|
return this.exhibitor.website ? this.exhibitor.website.replace(/^(http(s?):\/\/)([^/]+)(\/)?$/i, "$3") : "";
|
|
3452
3507
|
},
|
|
3453
3508
|
get anySocial() {
|
|
3454
|
-
return !
|
|
3509
|
+
return !z.kiosk && !![
|
|
3455
3510
|
"facebook",
|
|
3456
3511
|
"instagram",
|
|
3457
3512
|
"linkedin",
|
|
@@ -3477,10 +3532,10 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3477
3532
|
return !!(this.exhibitor.customButtonTitle || this.exhibitor.customButton2Title || this.exhibitor.customButton3Title);
|
|
3478
3533
|
},
|
|
3479
3534
|
get disableCollapse() {
|
|
3480
|
-
return !this.anySocial && !this.anyAddress && !this.anyMedia && !this.anyButtons ||
|
|
3535
|
+
return !this.anySocial && !this.anyAddress && !this.anyMedia && !this.anyButtons || z.overlayPosition === "left" && (this.exhibitor.description || "").length < 800;
|
|
3481
3536
|
},
|
|
3482
3537
|
get showEdit() {
|
|
3483
|
-
return !!(
|
|
3538
|
+
return !!(B.sendLoginLinkUrl && this.sendLinkEmail);
|
|
3484
3539
|
},
|
|
3485
3540
|
get sendLinkEmail() {
|
|
3486
3541
|
return this.exhibitor.privateEmail || this.exhibitor.email;
|
|
@@ -3492,25 +3547,25 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3492
3547
|
i(e > 300);
|
|
3493
3548
|
}
|
|
3494
3549
|
})(), () => {
|
|
3495
|
-
|
|
3550
|
+
H.exhibitorStore.rebookingStateChangeRequested = !1;
|
|
3496
3551
|
}), []), J(() => t.exhibitor, () => {
|
|
3497
3552
|
e.current && (e.current.parentElement.scrollTop = 0), t.collapsed = !0;
|
|
3498
3553
|
});
|
|
3499
3554
|
function c(e, t) {
|
|
3500
|
-
if (d(t),
|
|
3555
|
+
if (d(t), z.kiosk) return e.preventDefault();
|
|
3501
3556
|
}
|
|
3502
3557
|
function l(e, n, r) {
|
|
3503
|
-
|
|
3558
|
+
M(k.ClickCustomButton, t.exhibitor.name);
|
|
3504
3559
|
let i = {
|
|
3505
3560
|
externalId: t.exhibitor.externalId,
|
|
3506
3561
|
buttonNumber: e,
|
|
3507
3562
|
buttonUrl: n,
|
|
3508
3563
|
preventDefault: r.preventDefault.bind(r)
|
|
3509
3564
|
};
|
|
3510
|
-
|
|
3565
|
+
z.onExhibitorCustomButtonClick && z.onExhibitorCustomButtonClick(i);
|
|
3511
3566
|
}
|
|
3512
3567
|
function d(e) {
|
|
3513
|
-
|
|
3568
|
+
M(e, t.exhibitor.name);
|
|
3514
3569
|
}
|
|
3515
3570
|
let f = (0, X.useRef)(), p = {
|
|
3516
3571
|
entering: { opacity: 1 },
|
|
@@ -3520,9 +3575,9 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3520
3575
|
};
|
|
3521
3576
|
return K(() => {
|
|
3522
3577
|
var e, i, _, b, x;
|
|
3523
|
-
let C = t.exhibitor, w =
|
|
3578
|
+
let C = t.exhibitor, w = B.isRebooking ? (() => {
|
|
3524
3579
|
let e = /* @__PURE__ */ new Set();
|
|
3525
|
-
for (let t of C.booths) t instanceof
|
|
3580
|
+
for (let t of C.booths) t instanceof L && t.size && e.add(t.size);
|
|
3526
3581
|
let t = Array.from(e);
|
|
3527
3582
|
return /* @__PURE__ */ (0, Z.jsxs)("div", { children: [
|
|
3528
3583
|
t.length > 0 && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
@@ -3550,14 +3605,14 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3550
3605
|
}),
|
|
3551
3606
|
/* @__PURE__ */ (0, Z.jsx)(kr, {
|
|
3552
3607
|
value: C.rebookingState.toString(),
|
|
3553
|
-
onChange: (e) =>
|
|
3608
|
+
onChange: (e) => H.exhibitorStore.setRebookingState(C, parseInt(e), C.rebookingNote)
|
|
3554
3609
|
}),
|
|
3555
3610
|
/* @__PURE__ */ (0, Z.jsx)(Er, {
|
|
3556
3611
|
value: C.rebookingNote || "",
|
|
3557
|
-
onSave: (e) =>
|
|
3612
|
+
onSave: (e) => H.exhibitorStore.setRebookingState(C, C.rebookingState, e)
|
|
3558
3613
|
}, C.id),
|
|
3559
3614
|
/* @__PURE__ */ (0, Z.jsx)($, {
|
|
3560
|
-
in:
|
|
3615
|
+
in: H.exhibitorStore.rebookingStateChangeRequested,
|
|
3561
3616
|
nodeRef: f,
|
|
3562
3617
|
timeout: 150,
|
|
3563
3618
|
appear: !0,
|
|
@@ -3577,12 +3632,12 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3577
3632
|
...p[e]
|
|
3578
3633
|
},
|
|
3579
3634
|
children: /* @__PURE__ */ (0, Z.jsx)(Rt, {
|
|
3580
|
-
title:
|
|
3581
|
-
variant:
|
|
3635
|
+
title: H.exhibitorStore.rebookingStateSaved ? u("Changes saved") : u("Oops! Something went wrong"),
|
|
3636
|
+
variant: H.exhibitorStore.rebookingStateSaved ? "success" : "error",
|
|
3582
3637
|
inline: !0,
|
|
3583
3638
|
closable: !0,
|
|
3584
3639
|
onClose: () => {
|
|
3585
|
-
|
|
3640
|
+
H.exhibitorStore.rebookingStateChangeRequested = !1;
|
|
3586
3641
|
}
|
|
3587
3642
|
})
|
|
3588
3643
|
})
|
|
@@ -3592,12 +3647,12 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3592
3647
|
exhibitor: !0,
|
|
3593
3648
|
"is-featured": C.featured,
|
|
3594
3649
|
bookmarked: C.bookmarked,
|
|
3595
|
-
[
|
|
3650
|
+
[z.responsiveClass]: !0
|
|
3596
3651
|
}), E = () => {
|
|
3597
3652
|
t.collapsed = !1, setTimeout(t.updateOverlayContent);
|
|
3598
3653
|
};
|
|
3599
3654
|
function D(e, t, n) {
|
|
3600
|
-
return !e || !t ||
|
|
3655
|
+
return !e || !t || z.kiosk || z.previewMode ? null : /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
3601
3656
|
className: "exhibitor-custom-button",
|
|
3602
3657
|
children: /* @__PURE__ */ (0, Z.jsx)(S, {
|
|
3603
3658
|
link: t,
|
|
@@ -3621,17 +3676,17 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3621
3676
|
children: t
|
|
3622
3677
|
});
|
|
3623
3678
|
};
|
|
3624
|
-
function k() {
|
|
3625
|
-
return !H.hideShareButton && !B.kiosk && window.location.host.endsWith(".expofp.com") && V.EXPO !== "globalaltsmiami2024";
|
|
3626
|
-
}
|
|
3627
3679
|
function A() {
|
|
3680
|
+
return !B.hideShareButton && !z.kiosk && window.location.host.endsWith(".expofp.com") && U.EXPO !== "globalaltsmiami2024";
|
|
3681
|
+
}
|
|
3682
|
+
function j() {
|
|
3628
3683
|
t.updateOverlayContent();
|
|
3629
3684
|
}
|
|
3630
3685
|
let M = () => {
|
|
3631
|
-
|
|
3686
|
+
H.routeStore.clickRoute(null, H.routeStore.tempToBooth || C.booths[0]), H.routeStore.currentRouteExhibitor = C;
|
|
3632
3687
|
}, N = (e) => /^\d+$/.test(e), P = (e) => {
|
|
3633
3688
|
var t, n;
|
|
3634
|
-
return
|
|
3689
|
+
return B.shortLevelName ? (t = e.layer) == null ? void 0 : t.shortName : (n = e.layer) == null ? void 0 : n.description;
|
|
3635
3690
|
};
|
|
3636
3691
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
3637
3692
|
className: T,
|
|
@@ -3653,19 +3708,19 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3653
3708
|
]
|
|
3654
3709
|
}), /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
3655
3710
|
type: "button",
|
|
3656
|
-
onClick: () =>
|
|
3711
|
+
onClick: () => H.searchStore.handleBackAction(),
|
|
3657
3712
|
className: "exhibitor__header-close",
|
|
3658
3713
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-close" })
|
|
3659
3714
|
})]
|
|
3660
3715
|
}), w || /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [
|
|
3661
3716
|
/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
3662
3717
|
className: "exhibitor__buttons",
|
|
3663
|
-
children: !
|
|
3664
|
-
showBookmark: !
|
|
3665
|
-
showDirections: C.booths.length > 0 &&
|
|
3718
|
+
children: !z.isGuidedToursActive && /* @__PURE__ */ (0, Z.jsx)(Ht, {
|
|
3719
|
+
showBookmark: !z.disableBookmarked && !B.hideBookmarks && !z.kiosk,
|
|
3720
|
+
showDirections: C.booths.length > 0 && U.wayfinding,
|
|
3666
3721
|
inBookmark: C.bookmarked,
|
|
3667
|
-
showShare:
|
|
3668
|
-
showVisited: !
|
|
3722
|
+
showShare: A(),
|
|
3723
|
+
showVisited: !z.kiosk,
|
|
3669
3724
|
visited: C.visited,
|
|
3670
3725
|
onClickBookmark: v,
|
|
3671
3726
|
onClickShare: m,
|
|
@@ -3688,21 +3743,21 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3688
3743
|
}) : /* @__PURE__ */ (0, Z.jsx)(Rn, { children: /* @__PURE__ */ (0, Z.jsx)(X.Suspense, {
|
|
3689
3744
|
fallback: null,
|
|
3690
3745
|
children: /* @__PURE__ */ (0, Z.jsx)(Ar, {
|
|
3691
|
-
className:
|
|
3692
|
-
onOpenGallery: () =>
|
|
3693
|
-
onCloseGallery: () =>
|
|
3694
|
-
onImageLoadHeightUpdate:
|
|
3746
|
+
className: z.responsiveClass,
|
|
3747
|
+
onOpenGallery: () => H.openGallery(),
|
|
3748
|
+
onCloseGallery: () => H.closeGallery(),
|
|
3749
|
+
onImageLoadHeightUpdate: j,
|
|
3695
3750
|
leading: !0,
|
|
3696
3751
|
images: [C.leadingImageUrl]
|
|
3697
3752
|
})
|
|
3698
3753
|
}) })
|
|
3699
3754
|
}) : null,
|
|
3700
3755
|
/* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
3701
|
-
className: (0, Y.default)("exhibitor__details", { "details-hidden":
|
|
3756
|
+
className: (0, Y.default)("exhibitor__details", { "details-hidden": z.kiosk && r && !a }),
|
|
3702
3757
|
ref: s,
|
|
3703
3758
|
children: [
|
|
3704
3759
|
/* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
3705
|
-
className: (0, Y.default)("exhibitor-categories", { "is-links-disabled":
|
|
3760
|
+
className: (0, Y.default)("exhibitor-categories", { "is-links-disabled": z.isGuidedToursActive }),
|
|
3706
3761
|
children: [
|
|
3707
3762
|
C.featured && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
3708
3763
|
className: "exhibitor-featured",
|
|
@@ -3713,7 +3768,7 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3713
3768
|
return /* @__PURE__ */ (0, Z.jsxs)("a", {
|
|
3714
3769
|
href: `?${e.slug}`,
|
|
3715
3770
|
onClick: (t) => {
|
|
3716
|
-
t.preventDefault(),
|
|
3771
|
+
t.preventDefault(), H.toggleMapOverlay(), H.selectBooth(e);
|
|
3717
3772
|
},
|
|
3718
3773
|
className: "exhibitor-categories__booth",
|
|
3719
3774
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
@@ -3752,7 +3807,7 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3752
3807
|
}) : null]
|
|
3753
3808
|
}) : null,
|
|
3754
3809
|
(!!((_ = C.schedule) != null && _.length) || !!((b = C.booths[0]) != null && b.schedule.length)) && /* @__PURE__ */ (0, Z.jsx)(an, { events: [...C.schedule || ((x = C.booths[0]) == null ? void 0 : x.schedule) || []].sort((e, t) => new Date(e.startDate).getTime() - new Date(t.startDate).getTime()) }),
|
|
3755
|
-
!
|
|
3810
|
+
!z.kiosk && C.videoUrl && navigator.onLine && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
3756
3811
|
className: "exhibitor-video",
|
|
3757
3812
|
children: /* @__PURE__ */ (0, Z.jsx)("iframe", {
|
|
3758
3813
|
src: C.videoUrl,
|
|
@@ -3763,21 +3818,21 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3763
3818
|
}),
|
|
3764
3819
|
C.gallery && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
3765
3820
|
className: "exhibitor-slider",
|
|
3766
|
-
onClick: () => d(
|
|
3821
|
+
onClick: () => d(k.ViewGallery),
|
|
3767
3822
|
children: /* @__PURE__ */ (0, Z.jsx)(Rn, { children: /* @__PURE__ */ (0, Z.jsx)(X.Suspense, {
|
|
3768
3823
|
fallback: null,
|
|
3769
3824
|
children: /* @__PURE__ */ (0, Z.jsx)(Ar, {
|
|
3770
|
-
className:
|
|
3771
|
-
onOpenGallery: () =>
|
|
3772
|
-
onCloseGallery: () =>
|
|
3773
|
-
onImageLoadHeightUpdate:
|
|
3825
|
+
className: z.responsiveClass,
|
|
3826
|
+
onOpenGallery: () => H.openGallery(),
|
|
3827
|
+
onCloseGallery: () => H.closeGallery(),
|
|
3828
|
+
onImageLoadHeightUpdate: j,
|
|
3774
3829
|
images: C.gallery
|
|
3775
3830
|
})
|
|
3776
3831
|
}) })
|
|
3777
3832
|
}),
|
|
3778
|
-
!
|
|
3833
|
+
!z.kiosk && C.marketMaterials && /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [/* @__PURE__ */ (0, Z.jsx)("div", { className: "exhibitor-sep" }), /* @__PURE__ */ (0, Z.jsx)(Ln, { list: C.marketMaterials })] }),
|
|
3779
3834
|
t.showEdit && /* @__PURE__ */ (0, Z.jsx)("div", { className: "exhibitor-sep" }),
|
|
3780
|
-
!
|
|
3835
|
+
!z.kiosk && t.showEdit && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
3781
3836
|
className: "exhibitor-edit",
|
|
3782
3837
|
children: /* @__PURE__ */ (0, Z.jsx)(S, {
|
|
3783
3838
|
size: "sm",
|
|
@@ -3822,7 +3877,7 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3822
3877
|
dir: "ltr",
|
|
3823
3878
|
href: "tel:" + C.phone1,
|
|
3824
3879
|
className: "exhibitor-meta__link",
|
|
3825
|
-
onClick: (e) => c(e,
|
|
3880
|
+
onClick: (e) => c(e, k.ClickPhone),
|
|
3826
3881
|
children: C.phone1
|
|
3827
3882
|
})
|
|
3828
3883
|
})]
|
|
@@ -3839,7 +3894,7 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3839
3894
|
target: "_blank",
|
|
3840
3895
|
rel: "noopener noreferrer",
|
|
3841
3896
|
className: "exhibitor-meta__link",
|
|
3842
|
-
onClick: (e) => c(e,
|
|
3897
|
+
onClick: (e) => c(e, k.ClickWebsite),
|
|
3843
3898
|
children: t.websiteTrimmed
|
|
3844
3899
|
})
|
|
3845
3900
|
})]
|
|
@@ -3856,7 +3911,7 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3856
3911
|
target: "_blank",
|
|
3857
3912
|
rel: "noopener noreferrer",
|
|
3858
3913
|
className: "exhibitor-meta__link",
|
|
3859
|
-
onClick: (e) => c(e,
|
|
3914
|
+
onClick: (e) => c(e, k.ClickEmail),
|
|
3860
3915
|
children: C.email
|
|
3861
3916
|
})
|
|
3862
3917
|
})]
|
|
@@ -3867,7 +3922,7 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3867
3922
|
/* @__PURE__ */ (0, Z.jsx)("a", {
|
|
3868
3923
|
href: C.facebook,
|
|
3869
3924
|
className: "exhibitor-meta__social",
|
|
3870
|
-
onClick: () => d(
|
|
3925
|
+
onClick: () => d(k.ClickFacebook),
|
|
3871
3926
|
target: "_blank",
|
|
3872
3927
|
rel: "noopener noreferrer",
|
|
3873
3928
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-facebook" })
|
|
@@ -3875,7 +3930,7 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3875
3930
|
/* @__PURE__ */ (0, Z.jsx)("a", {
|
|
3876
3931
|
href: C.instagram,
|
|
3877
3932
|
className: "exhibitor-meta__social",
|
|
3878
|
-
onClick: () => d(
|
|
3933
|
+
onClick: () => d(k.ClickInstagaram),
|
|
3879
3934
|
target: "_blank",
|
|
3880
3935
|
rel: "noopener noreferrer",
|
|
3881
3936
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-instagram" })
|
|
@@ -3883,7 +3938,7 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3883
3938
|
/* @__PURE__ */ (0, Z.jsx)("a", {
|
|
3884
3939
|
href: C.linkedin,
|
|
3885
3940
|
className: "exhibitor-meta__social",
|
|
3886
|
-
onClick: () => d(
|
|
3941
|
+
onClick: () => d(k.ClickLinkedin),
|
|
3887
3942
|
target: "_blank",
|
|
3888
3943
|
rel: "noopener noreferrer",
|
|
3889
3944
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-linkedin" })
|
|
@@ -3891,7 +3946,7 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3891
3946
|
/* @__PURE__ */ (0, Z.jsx)("a", {
|
|
3892
3947
|
href: C.twitter,
|
|
3893
3948
|
className: "exhibitor-meta__social",
|
|
3894
|
-
onClick: () => d(
|
|
3949
|
+
onClick: () => d(k.ClickTwitter),
|
|
3895
3950
|
target: "_blank",
|
|
3896
3951
|
rel: "noopener noreferrer",
|
|
3897
3952
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-twitter-x" })
|
|
@@ -3899,7 +3954,7 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3899
3954
|
/* @__PURE__ */ (0, Z.jsx)("a", {
|
|
3900
3955
|
href: C.xing,
|
|
3901
3956
|
className: "exhibitor-meta__social",
|
|
3902
|
-
onClick: () => d(
|
|
3957
|
+
onClick: () => d(k.ClickXing),
|
|
3903
3958
|
target: "_blank",
|
|
3904
3959
|
rel: "noopener noreferrer",
|
|
3905
3960
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-xing" })
|
|
@@ -3907,7 +3962,7 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3907
3962
|
/* @__PURE__ */ (0, Z.jsx)("a", {
|
|
3908
3963
|
href: C.youtube,
|
|
3909
3964
|
className: "exhibitor-meta__social",
|
|
3910
|
-
onClick: () => d(
|
|
3965
|
+
onClick: () => d(k.ClickYoutube),
|
|
3911
3966
|
target: "_blank",
|
|
3912
3967
|
rel: "noopener noreferrer",
|
|
3913
3968
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-youtube" })
|
|
@@ -3919,7 +3974,7 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3919
3974
|
/* @__PURE__ */ (0, Z.jsx)(O, { exhibitor: C })
|
|
3920
3975
|
]
|
|
3921
3976
|
}),
|
|
3922
|
-
|
|
3977
|
+
z.kiosk && r && /* @__PURE__ */ (0, Z.jsx)(tn, {
|
|
3923
3978
|
className: (0, Y.default)("exhibitor__show-more", { "is-sticky": a }),
|
|
3924
3979
|
expanded: a,
|
|
3925
3980
|
onClick: () => o((e) => !e)
|
|
@@ -3929,21 +3984,21 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3929
3984
|
});
|
|
3930
3985
|
function m() {
|
|
3931
3986
|
let e = window.navigator, t = {
|
|
3932
|
-
title:
|
|
3987
|
+
title: z.selectedExhibitor.name,
|
|
3933
3988
|
url: window.location.href
|
|
3934
3989
|
};
|
|
3935
|
-
|
|
3990
|
+
pe && e != null && e.canShare && e.canShare(t) ? e.share(t) : H.toggleModal("share");
|
|
3936
3991
|
}
|
|
3937
3992
|
function h(e) {
|
|
3938
|
-
|
|
3993
|
+
H.clickCategory(e);
|
|
3939
3994
|
}
|
|
3940
3995
|
function g(e) {
|
|
3941
|
-
if (
|
|
3996
|
+
if (z.kiosk) return e.preventDefault();
|
|
3942
3997
|
e.target.blur();
|
|
3943
3998
|
let n = t.sendLinkEmail;
|
|
3944
|
-
if (!window.confirm(u("Send login instructions to {{email}} to edit profile?", { email: n })) ||
|
|
3999
|
+
if (!window.confirm(u("Send login instructions to {{email}} to edit profile?", { email: n })) || U.EXPO === "expo") return;
|
|
3945
4000
|
let r = new XMLHttpRequest();
|
|
3946
|
-
r.open("POST",
|
|
4001
|
+
r.open("POST", B.sendLoginLinkUrl), r.setRequestHeader("Content-Type", "application/json");
|
|
3947
4002
|
function i() {
|
|
3948
4003
|
alert(u("Error sending login instructions"));
|
|
3949
4004
|
}
|
|
@@ -3958,27 +4013,27 @@ var Er = q((e) => /* @__PURE__ */ (0, Z.jsx)(wt, {
|
|
|
3958
4013
|
}, r.send(JSON.stringify({ id: t.exhibitor.id }));
|
|
3959
4014
|
}
|
|
3960
4015
|
function v() {
|
|
3961
|
-
t.exhibitor.bookmarked = !t.exhibitor.bookmarked,
|
|
4016
|
+
t.exhibitor.bookmarked = !t.exhibitor.bookmarked, z.onBookmarkClick && z.onBookmarkClick({
|
|
3962
4017
|
name: t.exhibitor.name,
|
|
3963
4018
|
bookmarked: t.exhibitor.bookmarked,
|
|
3964
4019
|
externalId: t.exhibitor.externalId
|
|
3965
4020
|
});
|
|
3966
4021
|
}
|
|
3967
4022
|
function y() {
|
|
3968
|
-
t.exhibitor.visited = !t.exhibitor.visited,
|
|
4023
|
+
t.exhibitor.visited = !t.exhibitor.visited, z.onVisitedClick && z.onVisitedClick({
|
|
3969
4024
|
name: t.exhibitor.name,
|
|
3970
4025
|
visited: t.exhibitor.visited,
|
|
3971
4026
|
externalId: t.exhibitor.externalId
|
|
3972
4027
|
});
|
|
3973
4028
|
}
|
|
3974
|
-
}), Mr = () => K(() => /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children: !
|
|
4029
|
+
}), Mr = () => K(() => /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children: !z.menu && z.selectedExhibitor ? /* @__PURE__ */ (0, Z.jsx)(jr, {}) : null }));
|
|
3975
4030
|
//#endregion
|
|
3976
4031
|
//#region src/components/Filter.tsx
|
|
3977
4032
|
function Nr() {
|
|
3978
4033
|
let e = (0, X.useRef)(), t = G(() => ({
|
|
3979
4034
|
updateOverlayContent: null,
|
|
3980
4035
|
get list() {
|
|
3981
|
-
return
|
|
4036
|
+
return z.list;
|
|
3982
4037
|
}
|
|
3983
4038
|
})), n = (0, X.useCallback)(() => {
|
|
3984
4039
|
t.updateOverlayContent && t.updateOverlayContent();
|
|
@@ -3988,7 +4043,7 @@ function Nr() {
|
|
|
3988
4043
|
updatedScrollableRef: e
|
|
3989
4044
|
}));
|
|
3990
4045
|
}
|
|
3991
|
-
var Pr = () => K(() => /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children: !
|
|
4046
|
+
var Pr = () => K(() => /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children: !z.details && !z.menu && z.list.type === "filter" && /* @__PURE__ */ (0, Z.jsx)(Nr, {}) }));
|
|
3992
4047
|
//#endregion
|
|
3993
4048
|
//#region src/components/heatmap-legend-ticks.ts
|
|
3994
4049
|
function Fr(e, t, n) {
|
|
@@ -3997,20 +4052,20 @@ function Fr(e, t, n) {
|
|
|
3997
4052
|
let o = a / (i - 1), s = Math.round(e + (t - e) * o);
|
|
3998
4053
|
return {
|
|
3999
4054
|
value: s,
|
|
4000
|
-
color:
|
|
4055
|
+
color: T(s, e, t, n)
|
|
4001
4056
|
};
|
|
4002
4057
|
});
|
|
4003
4058
|
}
|
|
4004
4059
|
//#endregion
|
|
4005
4060
|
//#region src/components/HeatmapLegendContainer.tsx
|
|
4006
4061
|
var Ir = q((e) => {
|
|
4007
|
-
let { min: t, max: n } =
|
|
4008
|
-
return /* @__PURE__ */ (0, Z.jsx)(
|
|
4062
|
+
let { min: t, max: n } = Oe.minAndMaxClicks, r = Fr(t, n, U.heatmapColors);
|
|
4063
|
+
return /* @__PURE__ */ (0, Z.jsx)(dt, {
|
|
4009
4064
|
...e,
|
|
4010
4065
|
ticks: r,
|
|
4011
4066
|
ariaLabel: u("Heatmap intensity scale")
|
|
4012
4067
|
});
|
|
4013
|
-
}), Lr = q(({ item: e }) => /* @__PURE__ */ (0, Z.jsx)(
|
|
4068
|
+
}), Lr = q(({ item: e }) => /* @__PURE__ */ (0, Z.jsx)(St, {
|
|
4014
4069
|
name: "language",
|
|
4015
4070
|
label: e.name,
|
|
4016
4071
|
value: e.id,
|
|
@@ -4020,14 +4075,14 @@ var Ir = q((e) => {
|
|
|
4020
4075
|
onChange: () => l(e.id)
|
|
4021
4076
|
})), Rr = () => import(
|
|
4022
4077
|
/* webpackChunkName: "react-virtuoso-list" */
|
|
4023
|
-
"./dist-
|
|
4078
|
+
"./dist-BIFUFe-T.js"
|
|
4024
4079
|
).then((e) => ({ default: e.Virtuoso })).catch(() => new Promise((e) => setTimeout(() => e(Rr()), 3e3))), zr = (0, X.lazy)(Rr);
|
|
4025
4080
|
function Br({ updatedScrollableRef: e, updateScroll: t }) {
|
|
4026
4081
|
let [n, r] = (0, X.useState)(null), i = (0, X.useRef)(null);
|
|
4027
4082
|
(0, X.useEffect)(() => {
|
|
4028
4083
|
r(e == null ? null : e);
|
|
4029
4084
|
}, [e]), (0, X.useEffect)(() => {
|
|
4030
|
-
let e =
|
|
4085
|
+
let e = z.getListScrollTop(z.list.type);
|
|
4031
4086
|
if (e > 0) {
|
|
4032
4087
|
let t = setTimeout(() => {
|
|
4033
4088
|
i.current && i.current.scrollTo({
|
|
@@ -4037,23 +4092,23 @@ function Br({ updatedScrollableRef: e, updateScroll: t }) {
|
|
|
4037
4092
|
}, 100);
|
|
4038
4093
|
return () => clearTimeout(t);
|
|
4039
4094
|
}
|
|
4040
|
-
}, [
|
|
4095
|
+
}, [z.list.type]);
|
|
4041
4096
|
let a = (0, X.useCallback)(() => {
|
|
4042
4097
|
if (i.current) i.current.getState((e) => {
|
|
4043
4098
|
var t;
|
|
4044
4099
|
let n = (e == null ? void 0 : e.scrollTop) || 0;
|
|
4045
|
-
|
|
4100
|
+
z.setListScrollTop((t = z.list) == null ? void 0 : t.type, n);
|
|
4046
4101
|
});
|
|
4047
4102
|
else if (n != null && n.current) {
|
|
4048
4103
|
var e;
|
|
4049
|
-
|
|
4104
|
+
z.setListScrollTop((e = z.list) == null ? void 0 : e.type, n.current.scrollTop || 0);
|
|
4050
4105
|
}
|
|
4051
4106
|
}, [n]);
|
|
4052
4107
|
(0, X.useEffect)(() => () => {
|
|
4053
4108
|
a();
|
|
4054
4109
|
}, []);
|
|
4055
4110
|
let o = ({ index: e }) => {
|
|
4056
|
-
let t =
|
|
4111
|
+
let t = z.listItems[e];
|
|
4057
4112
|
return t.entity.type === "language" ? /* @__PURE__ */ (0, Z.jsx)(Lr, { item: t }, t.id) : (console.error("Invalid item type"), null);
|
|
4058
4113
|
}, s = () => {
|
|
4059
4114
|
t && setTimeout(t);
|
|
@@ -4061,7 +4116,7 @@ function Br({ updatedScrollableRef: e, updateScroll: t }) {
|
|
|
4061
4116
|
t && t();
|
|
4062
4117
|
};
|
|
4063
4118
|
return K(() => {
|
|
4064
|
-
let e =
|
|
4119
|
+
let e = z.listItems.findIndex((e) => e.id === d());
|
|
4065
4120
|
return /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
4066
4121
|
style: {
|
|
4067
4122
|
height: "100%",
|
|
@@ -4077,13 +4132,13 @@ function Br({ updatedScrollableRef: e, updateScroll: t }) {
|
|
|
4077
4132
|
children: /* @__PURE__ */ (0, Z.jsx)(zr, {
|
|
4078
4133
|
ref: i,
|
|
4079
4134
|
className: "list-virtual",
|
|
4080
|
-
style: { minHeight:
|
|
4081
|
-
data:
|
|
4135
|
+
style: { minHeight: z.listItems.length ? "1px" : 0 },
|
|
4136
|
+
data: z.listItems,
|
|
4082
4137
|
itemContent: (e) => o({ index: e }),
|
|
4083
4138
|
itemsRendered: s,
|
|
4084
4139
|
totalListHeightChanged: c,
|
|
4085
4140
|
customScrollParent: n.current,
|
|
4086
|
-
totalCount:
|
|
4141
|
+
totalCount: z.listItems.length,
|
|
4087
4142
|
overscan: 20,
|
|
4088
4143
|
increaseViewportBy: 200,
|
|
4089
4144
|
initialTopMostItemIndex: e === -1 ? 0 : e,
|
|
@@ -4100,21 +4155,21 @@ function Br({ updatedScrollableRef: e, updateScroll: t }) {
|
|
|
4100
4155
|
//#region src/components/Language.tsx
|
|
4101
4156
|
var Vr = q(() => {
|
|
4102
4157
|
let e = (0, X.useRef)();
|
|
4103
|
-
return !
|
|
4158
|
+
return !B.hideLanguage && !z.details && z.list.type === "language" && /* @__PURE__ */ (0, Z.jsx)(Br, { updatedScrollableRef: e });
|
|
4104
4159
|
}), Hr = q(() => {
|
|
4105
4160
|
var e;
|
|
4106
|
-
return (e =
|
|
4161
|
+
return (e = z.globalErrorMessages) != null && e.length ? /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
4107
4162
|
className: "global-error-message",
|
|
4108
|
-
children:
|
|
4163
|
+
children: z.globalErrorMessages.map((e, t) => /* @__PURE__ */ (0, Z.jsx)(Rt, {
|
|
4109
4164
|
variant: "error",
|
|
4110
4165
|
closable: !0,
|
|
4111
4166
|
title: e.title,
|
|
4112
|
-
onClose: () =>
|
|
4167
|
+
onClose: () => z.popGlobalErrorMessage(),
|
|
4113
4168
|
children: e.body
|
|
4114
4169
|
}, t))
|
|
4115
4170
|
}) : null;
|
|
4116
4171
|
}), Ur = q(function() {
|
|
4117
|
-
if (!Se.enabled ||
|
|
4172
|
+
if (!Se.enabled || z.kiosk) return null;
|
|
4118
4173
|
let e = () => {
|
|
4119
4174
|
let e = window;
|
|
4120
4175
|
typeof e.Intercom == "function" && e.Intercom("show");
|
|
@@ -4140,7 +4195,7 @@ var Vr = q(() => {
|
|
|
4140
4195
|
});
|
|
4141
4196
|
}), Wr = ["ice-gaming2026"];
|
|
4142
4197
|
function Gr(e) {
|
|
4143
|
-
return Wr.includes(
|
|
4198
|
+
return Wr.includes(U.EXPO) ? {
|
|
4144
4199
|
layout: "compact-list",
|
|
4145
4200
|
useShortNames: e
|
|
4146
4201
|
} : {
|
|
@@ -4149,59 +4204,59 @@ function Gr(e) {
|
|
|
4149
4204
|
};
|
|
4150
4205
|
}
|
|
4151
4206
|
var Kr = q(() => {
|
|
4152
|
-
let e =
|
|
4153
|
-
if (!(
|
|
4154
|
-
let { layout: t, useShortNames: n } = Gr(
|
|
4207
|
+
let e = H.layerStore.floors;
|
|
4208
|
+
if (!(H.layerStore.mode === ve.Radio || H.layerStore.mode === ve.CheckBox) || e.length === 0) return null;
|
|
4209
|
+
let { layout: t, useShortNames: n } = Gr(B.shortLevelName), r = e.map((e) => ({
|
|
4155
4210
|
id: e.layer.description,
|
|
4156
4211
|
label: n ? e.shortName : e.description,
|
|
4157
4212
|
active: e.active,
|
|
4158
4213
|
disabled: e.disabled
|
|
4159
4214
|
}));
|
|
4160
|
-
return /* @__PURE__ */ (0, Z.jsx)(
|
|
4215
|
+
return /* @__PURE__ */ (0, Z.jsx)(ht, {
|
|
4161
4216
|
floors: r,
|
|
4162
4217
|
layout: t,
|
|
4163
4218
|
onSelect: (t) => {
|
|
4164
4219
|
let n = e.find((e) => e.layer.description === t);
|
|
4165
|
-
!n || n.disabled ||
|
|
4220
|
+
!n || n.disabled || H.layerStore.selectFloor(n.layer);
|
|
4166
4221
|
},
|
|
4167
4222
|
floorSelectionLabel: u("Floor selection"),
|
|
4168
4223
|
currentFloorLabel: u("Current Floor"),
|
|
4169
4224
|
floorLabel: u("Floor")
|
|
4170
4225
|
});
|
|
4171
|
-
}), qr = document.referrer && (document.referrer.indexOf("app.expofp.com") > -1 || document.referrer.indexOf("app-show.expofp.com") > -1), Jr = (0, X.lazy)(() => import("./lib-
|
|
4226
|
+
}), qr = document.referrer && (document.referrer.indexOf("app.expofp.com") > -1 || document.referrer.indexOf("app-show.expofp.com") > -1), Jr = (0, X.lazy)(() => import("./lib-BoYL1Y22.js").then((t) => /* @__PURE__ */ e(t.default, 1)).then((e) => {
|
|
4172
4227
|
var t;
|
|
4173
4228
|
return { default: (t = e.QRCode) == null ? e.default : t };
|
|
4174
|
-
})), Yr = /* @__PURE__ */ e(
|
|
4229
|
+
})), Yr = /* @__PURE__ */ e(Me(), 1), Xr, Zr = ["info-techlive2025", "metstrade-superyacht2023"].includes(U.EXPO), Qr = U.backgroundColor !== "none" && (0, Yr.default)(U.backgroundColor).isDark() || (w == null || (Xr = w.properties) == null || (Xr = Xr.style) == null ? void 0 : Xr.includes("dark"));
|
|
4175
4230
|
function $r() {
|
|
4176
4231
|
var e, t, r;
|
|
4177
4232
|
let i = G(() => {
|
|
4178
4233
|
let e = (e, t, n, r) => ({
|
|
4179
4234
|
width: r,
|
|
4180
|
-
opacity: +!!
|
|
4181
|
-
}), t = Zr ||
|
|
4235
|
+
opacity: +!!z.wsStarted
|
|
4236
|
+
}), t = Zr || z.rtl ? "left" : "right";
|
|
4182
4237
|
return {
|
|
4183
4238
|
get style() {
|
|
4184
|
-
let n =
|
|
4185
|
-
if (
|
|
4186
|
-
let r =
|
|
4239
|
+
let n = W((z.overlayPosition, 1));
|
|
4240
|
+
if (z.overlayPosition === "left") {
|
|
4241
|
+
let r = z.mapVisibleBottom + n;
|
|
4187
4242
|
return e("bottom", t, r, "5rem");
|
|
4188
|
-
} else return
|
|
4243
|
+
} else return z.mapVisibleTop, H.maplibreStore.showMaplibre && W(.5), e("bottom", t, 20, "4.5rem");
|
|
4189
4244
|
},
|
|
4190
4245
|
get warningStyle() {
|
|
4191
|
-
let n =
|
|
4192
|
-
if (
|
|
4193
|
-
let r =
|
|
4246
|
+
let n = W(z.overlayPosition === "left" ? 1 : .5);
|
|
4247
|
+
if (z.overlayPosition === "left") {
|
|
4248
|
+
let r = z.mapVisibleBottom + 2 * n;
|
|
4194
4249
|
return e("bottom", t, r, "3rem");
|
|
4195
4250
|
} else {
|
|
4196
|
-
let r =
|
|
4197
|
-
return
|
|
4251
|
+
let r = z.mapVisibleTop + 2 * n;
|
|
4252
|
+
return H.maplibreStore.showMaplibre && (r = W(.5)), e("top", t, r, "2rem");
|
|
4198
4253
|
}
|
|
4199
4254
|
}
|
|
4200
4255
|
};
|
|
4201
|
-
}), a = Math.round(((e =
|
|
4256
|
+
}), a = Math.round(((e = me().__fpStat) == null ? void 0 : e.dataSize) / 1024 / 1024 || 0), o = qr && a >= 10, s = qr && !w && B.allow3dView && !z.kiosk && !z.heatmap, c = z.kiosk && !((t = z.selectedRoute) != null && t.to) && !((r = z.selectedRoute) != null && r.from), l = (0, Y.default)("efp-qr", { "is-right": Zr || z.rtl });
|
|
4202
4257
|
return K(() => /* @__PURE__ */ (0, Z.jsxs)("div", { children: [
|
|
4203
4258
|
/* @__PURE__ */ (0, Z.jsx)("a", {
|
|
4204
|
-
href:
|
|
4259
|
+
href: ye(be.SUBDOMAIN_LOGO),
|
|
4205
4260
|
target: "_blank",
|
|
4206
4261
|
rel: "noopener noreferrer",
|
|
4207
4262
|
className: (0, Y.default)("logo-overlay", { invert: Qr }),
|
|
@@ -4239,9 +4294,9 @@ function $r() {
|
|
|
4239
4294
|
c && /* @__PURE__ */ (0, Z.jsx)(X.Suspense, {
|
|
4240
4295
|
fallback: null,
|
|
4241
4296
|
children: /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
4242
|
-
className: (0, Y.default)(l, { "efp-semi-transparent":
|
|
4297
|
+
className: (0, Y.default)(l, { "efp-semi-transparent": z.setKioskModeEnabled }),
|
|
4243
4298
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", { children: u("View Map on Phone") }), /* @__PURE__ */ (0, Z.jsx)(Jr, {
|
|
4244
|
-
value:
|
|
4299
|
+
value: z.viewMapOnPhoneQRCodeUrl,
|
|
4245
4300
|
size: 100
|
|
4246
4301
|
})]
|
|
4247
4302
|
})
|
|
@@ -4267,40 +4322,40 @@ function ni(e) {
|
|
|
4267
4322
|
}
|
|
4268
4323
|
//#endregion
|
|
4269
4324
|
//#region src/components/Map/Map.tsx
|
|
4270
|
-
var ri = Number.isFinite(
|
|
4325
|
+
var ri = Number.isFinite(U.maxZoom) ? U.maxZoom : void 0, ii = ri !== void 0;
|
|
4271
4326
|
function ai() {
|
|
4272
4327
|
var e;
|
|
4273
4328
|
let t = {}, n = (0, X.useRef)(null), i = (0, X.useMemo)(() => a({
|
|
4274
4329
|
moving: !1,
|
|
4275
|
-
prevLevel:
|
|
4276
|
-
}), []), o =
|
|
4330
|
+
prevLevel: H.layerStore.layers.find((e) => !e.frozen && e.visible)
|
|
4331
|
+
}), []), o = H.rendererService, s = (0, X.useRef)(qe((e) => Xe(o, e))), c, l = (0, X.useRef)(null), u = (0, X.useRef)(null), d = null, p = null, m = null, h = !1;
|
|
4277
4332
|
function v() {
|
|
4278
|
-
|
|
4333
|
+
R.layers.forEach((e) => {
|
|
4279
4334
|
e.configured = !1, e.children = [], e.loaded = !1;
|
|
4280
4335
|
});
|
|
4281
4336
|
}
|
|
4282
4337
|
let [y, b] = (0, X.useState)(() => typeof window < "u" && window.localStorage ? localStorage.getItem(r) !== "false" : !0);
|
|
4283
|
-
J(() =>
|
|
4284
|
-
if (!o.scene || i.prevLevel ===
|
|
4285
|
-
let e = o.scene.rootLayer.children.filter((e) =>
|
|
4338
|
+
J(() => H.routeStore.currentRouteLayer, () => {
|
|
4339
|
+
if (!o.scene || i.prevLevel === H.routeStore.currentRouteLayer) return;
|
|
4340
|
+
let e = o.scene.rootLayer.children.filter((e) => H.layerStore.floors.some((t) => e.name.includes(t.name))), t = H.routeStore.currentRouteLayer.name;
|
|
4286
4341
|
if (!e.find((e) => e.name === t)) return;
|
|
4287
4342
|
let n = e == null ? void 0 : e.map((e) => {
|
|
4288
4343
|
var n;
|
|
4289
4344
|
return e.name === t && (e.hidden = !1), e.name === ((n = i.prevLevel) == null ? void 0 : n.name) && (e.hidden = !0), e;
|
|
4290
4345
|
});
|
|
4291
|
-
i.prevLevel =
|
|
4292
|
-
}), J(() =>
|
|
4293
|
-
!
|
|
4346
|
+
i.prevLevel = H.routeStore.currentRouteLayer, o.update(...n);
|
|
4347
|
+
}), J(() => z.centerMap, () => {
|
|
4348
|
+
!z.centerMap || H.maplibreStore.showMaplibre || (c.controls.resetCamera({ zoom: !!(z.list.type === "search" && z.list.text) }), z.centerMap = !1);
|
|
4294
4349
|
}), (0, X.useEffect)(() => {
|
|
4295
4350
|
if (!n.current) return;
|
|
4296
4351
|
async function e() {
|
|
4297
4352
|
let e = n.current;
|
|
4298
4353
|
if (!e) return;
|
|
4299
|
-
v(),
|
|
4354
|
+
v(), R.layersLoaded = !1;
|
|
4300
4355
|
let r = {};
|
|
4301
4356
|
try {
|
|
4302
4357
|
if (g) {
|
|
4303
|
-
let e = document.createElement("canvas").getContext("webgl2"), t = e && e.getExtension("EXT_disjoint_timer_query_webgl2"), n = (await import("./main-
|
|
4358
|
+
let e = document.createElement("canvas").getContext("webgl2"), t = e && e.getExtension("EXT_disjoint_timer_query_webgl2"), n = (await import("./main-BUSluy8y.js")).default, i = new n({
|
|
4304
4359
|
trackGPU: t,
|
|
4305
4360
|
horizontal: !0
|
|
4306
4361
|
}), a = u.current;
|
|
@@ -4316,91 +4371,91 @@ function ai() {
|
|
|
4316
4371
|
c = o.create({
|
|
4317
4372
|
canvas: e,
|
|
4318
4373
|
ui: r
|
|
4319
|
-
}), l.current = c, f(() =>
|
|
4320
|
-
e && (c.visibleRect =
|
|
4321
|
-
}, { fireImmediately: !0 }),
|
|
4374
|
+
}), l.current = c, f(() => z.canvasVisibleRectPx, (e, t) => {
|
|
4375
|
+
e && (c.visibleRect = Fe(e)), t.dispose();
|
|
4376
|
+
}, { fireImmediately: !0 }), Ze(o).then(({ layers: e, cleanup: n }) => {
|
|
4322
4377
|
var r;
|
|
4323
4378
|
if (h || l.current !== c) {
|
|
4324
4379
|
n();
|
|
4325
4380
|
return;
|
|
4326
4381
|
}
|
|
4327
|
-
m = n, g && console.log("Renderer settings", c), t =
|
|
4382
|
+
m = n, g && console.log("Renderer settings", c), t = E(e, de, (0, Yr.default)(U.backgroundColor === "none" ? "#ebebeb" : U.backgroundColor).string()), o.start(t), s.current.setTarget(z.dimmed, { immediate: !0 }), re(c, +!!H.fp.enableRotation), ri !== void 0 && c.viewport.setMaxZoom(ri), R.layersLoaded = !0, H.fp.onFpConfigured && ((r = H.fp) == null || r.onFpConfigured()), d = ie(o, H), p = Ke(o), xe(o);
|
|
4328
4383
|
}), c.events.addEventListener("pointer:move", ({ data: e }) => {
|
|
4329
|
-
if (
|
|
4330
|
-
let { point: t, defs: n } =
|
|
4331
|
-
|
|
4384
|
+
if (z.setKioskModeEnabled) return;
|
|
4385
|
+
let { point: t, defs: n } = P(e), r = Qe(t.x, t.y), i = T(n[0]);
|
|
4386
|
+
z.hoveredBooth = r || i;
|
|
4332
4387
|
}), c.events.addEventListener("pointer:out", () => {
|
|
4333
|
-
|
|
4388
|
+
z.setKioskModeEnabled || (z.hoveredBooth = null);
|
|
4334
4389
|
}), c.events.addEventListener("pointer:click", ({ data: e }) => {
|
|
4335
|
-
if (!(
|
|
4336
|
-
window.__resett && window.__resett(),
|
|
4337
|
-
let { point: t, defs: n } =
|
|
4338
|
-
if (
|
|
4339
|
-
let e =
|
|
4340
|
-
|
|
4390
|
+
if (!(z != null && z.rootElement)) return;
|
|
4391
|
+
window.__resett && window.__resett(), z.overlayPosition === "bottom" && z.overlaySize === "full" && H.showMap();
|
|
4392
|
+
let { point: t, defs: n } = P(e), { x: r, y: i } = t;
|
|
4393
|
+
if (z.onGetCoordsClick) {
|
|
4394
|
+
let e = H.layerStore.layers.find((e) => e.visible && (e.mode === ge.TurnedOn || e.mode === ge.TurnedOff));
|
|
4395
|
+
z.onGetCoordsClick({
|
|
4341
4396
|
x: r,
|
|
4342
4397
|
y: i,
|
|
4343
4398
|
z: (e == null ? void 0 : e.name) || null
|
|
4344
4399
|
});
|
|
4345
4400
|
}
|
|
4346
|
-
if (
|
|
4347
|
-
if (
|
|
4348
|
-
let e =
|
|
4349
|
-
g && console.log("marker", e),
|
|
4401
|
+
if (z.setKioskModeEnabled) return;
|
|
4402
|
+
if (z.onMarkerClick) {
|
|
4403
|
+
let e = Je(r, i, o.scale);
|
|
4404
|
+
g && console.log("marker", e), z.onMarkerClick(e);
|
|
4350
4405
|
}
|
|
4351
|
-
let a =
|
|
4352
|
-
g && console.log("boothIdFromClientXy", a, "boothByShape", s, "pointer:click point", t),
|
|
4406
|
+
let a = Qe(t.x, t.y), s = T(n[0]);
|
|
4407
|
+
g && console.log("boothIdFromClientXy", a, "boothByShape", s, "pointer:click point", t), H.clickBooth(a || s);
|
|
4353
4408
|
}), c.events.addEventListener("navigation:change", () => window.__resett && window.__resett());
|
|
4354
4409
|
}
|
|
4355
|
-
return e(),
|
|
4410
|
+
return e(), H.fp.getCenterCoordinates = S, () => x();
|
|
4356
4411
|
}, []);
|
|
4357
4412
|
function x() {
|
|
4358
|
-
h = !0, s.current.stop(), d == null || d(), p == null || p(), m == null || m(), v(),
|
|
4413
|
+
h = !0, s.current.stop(), d == null || d(), p == null || p(), m == null || m(), v(), R.layersLoaded = !1, o.disposeIfCurrent(l.current), l.current = null;
|
|
4359
4414
|
}
|
|
4360
4415
|
function S() {
|
|
4361
4416
|
let e = n.current;
|
|
4362
4417
|
if (!e) throw Error("Canvas not ready");
|
|
4363
|
-
let t =
|
|
4418
|
+
let t = ee(c.viewport.canvasToSvg({
|
|
4364
4419
|
x: e.clientWidth / 2,
|
|
4365
4420
|
y: e.clientHeight / 2
|
|
4366
|
-
})), r =
|
|
4421
|
+
})), r = H.layerStore.visible.find((e) => e.mode === ge.TurnedOff || e.mode === ge.TurnedOn), i = (r == null ? void 0 : r.name) || null;
|
|
4367
4422
|
return {
|
|
4368
4423
|
...t,
|
|
4369
4424
|
z: i
|
|
4370
4425
|
};
|
|
4371
4426
|
}
|
|
4372
|
-
function
|
|
4427
|
+
function T(e) {
|
|
4373
4428
|
var t;
|
|
4374
|
-
return !e || !e.shape || (t =
|
|
4429
|
+
return !e || !e.shape || (t = je.booths.find((t) => {
|
|
4375
4430
|
var n;
|
|
4376
4431
|
return (n = t.shapes) == null ? void 0 : n.find((t) => t.shape == e.shape);
|
|
4377
4432
|
})) == null ? null : t;
|
|
4378
4433
|
}
|
|
4379
|
-
J(() =>
|
|
4380
|
-
if (!
|
|
4381
|
-
let e =
|
|
4382
|
-
c.controls.zoomBy(e),
|
|
4383
|
-
}), J(() =>
|
|
4434
|
+
J(() => z.zoomBy, () => {
|
|
4435
|
+
if (!z.zoomBy || H.maplibreStore.showMaplibre) return;
|
|
4436
|
+
let e = z.zoomBy;
|
|
4437
|
+
c.controls.zoomBy(e), z.zoomBy = null;
|
|
4438
|
+
}), J(() => z.dimmed, (e) => {
|
|
4384
4439
|
s.current.setTarget(e);
|
|
4385
|
-
}), J(() =>
|
|
4440
|
+
}), J(() => z.details, () => {
|
|
4386
4441
|
var e;
|
|
4387
|
-
if (!
|
|
4388
|
-
if (!
|
|
4389
|
-
|
|
4442
|
+
if (!z.onDetails) return;
|
|
4443
|
+
if (!z.details) {
|
|
4444
|
+
z.onDetails(null);
|
|
4390
4445
|
return;
|
|
4391
4446
|
}
|
|
4392
|
-
let t =
|
|
4393
|
-
if (
|
|
4447
|
+
let t = z.details;
|
|
4448
|
+
if (U.EXPO === "wineparis" && (t instanceof oe && (t = t.booths[0]), !t)) return;
|
|
4394
4449
|
let n = null, r = [];
|
|
4395
|
-
if (t instanceof
|
|
4450
|
+
if (t instanceof oe) n = "exhibitor", r = t.booths.map((e) => e.name).sort((e, t) => {
|
|
4396
4451
|
var n, r;
|
|
4397
|
-
return e == ((n =
|
|
4452
|
+
return e == ((n = H.routeStore.tempToBooth) == null ? void 0 : n.name) ? -1 : +(t == ((r = H.routeStore.tempToBooth) == null ? void 0 : r.name));
|
|
4398
4453
|
});
|
|
4399
|
-
else if (t instanceof
|
|
4400
|
-
else if (t instanceof
|
|
4454
|
+
else if (t instanceof le) n = "booth", r = [t.name];
|
|
4455
|
+
else if (t instanceof Ie) {
|
|
4401
4456
|
var i, a;
|
|
4402
4457
|
n = "route", r = [(i = t.from) == null ? void 0 : i.name, (a = t.to) == null ? void 0 : a.name].filter((e) => !!e);
|
|
4403
|
-
} else t instanceof
|
|
4458
|
+
} else t instanceof j && (n = "category", r = t.exhibitors.map((e) => e.booths.map((e) => e.name)).flat());
|
|
4404
4459
|
let o = {
|
|
4405
4460
|
type: n,
|
|
4406
4461
|
name: t == null ? void 0 : t.name,
|
|
@@ -4408,27 +4463,27 @@ function ai() {
|
|
|
4408
4463
|
externalId: t == null ? void 0 : t.externalId,
|
|
4409
4464
|
boothsNames: r
|
|
4410
4465
|
};
|
|
4411
|
-
|
|
4466
|
+
z.onDetails({
|
|
4412
4467
|
...o,
|
|
4413
|
-
...n === "route" ? { routeInfo: (e =
|
|
4468
|
+
...n === "route" ? { routeInfo: (e = H.routeStore.routeInfo) == null ? void 0 : e } : {}
|
|
4414
4469
|
});
|
|
4415
|
-
}), J(() =>
|
|
4416
|
-
o.renderer && (o.renderer.visibleRect =
|
|
4417
|
-
}, { fireImmediately: !0 }), J(() =>
|
|
4418
|
-
!
|
|
4419
|
-
}), J(() =>
|
|
4420
|
-
e && (c.controls.resetCamera({ roll: !0 }),
|
|
4421
|
-
}), J(() =>
|
|
4422
|
-
if (_.log("this.moveToBooths",
|
|
4423
|
-
_.log("watched moveToBooths",
|
|
4424
|
-
let e =
|
|
4425
|
-
e.length !== 0 && (
|
|
4426
|
-
}), J(() =>
|
|
4427
|
-
if (!(
|
|
4428
|
-
e && e !==
|
|
4470
|
+
}), J(() => z.canvasVisibleRectPx, (e) => {
|
|
4471
|
+
o.renderer && (o.renderer.visibleRect = Fe(e));
|
|
4472
|
+
}, { fireImmediately: !0 }), J(() => z.moveToRect, () => {
|
|
4473
|
+
!z.moveToRect || H.maplibreStore.showMaplibre || (z.moveToRect && z.moveToRect.size.height !== Infinity && z.moveToRect.size.width !== Infinity && z.moveToRect.size.height > 0 && z.moveToRect.size.width > 0 && k(z.moveToRect, z.moveToRectPaddingPercent), z.moveToRect = null, z.moveToRectPaddingPercent = null);
|
|
4474
|
+
}), J(() => z.rollReset, (e) => {
|
|
4475
|
+
e && (c.controls.resetCamera({ roll: !0 }), z.rollReset = !1);
|
|
4476
|
+
}), J(() => z.moveToBooths, () => {
|
|
4477
|
+
if (_.log("this.moveToBooths", z.moveToBooths), !z.moveToBooths || H.maplibreStore.showMaplibre) return;
|
|
4478
|
+
_.log("watched moveToBooths", z.moveToBooths);
|
|
4479
|
+
let e = z.moveToBooths.filter((e) => e.rect).map((e) => e.rect);
|
|
4480
|
+
e.length !== 0 && (k(Te.fromUnion(...e)), z.moveToBooths = null);
|
|
4481
|
+
}), J(() => z.mapSettings, ({ zoomtime: e, center: t, centerxy: n, bearing: r, roll: i, z: a }) => {
|
|
4482
|
+
if (!(H.maplibreStore.showMaplibre || !o.renderer)) try {
|
|
4483
|
+
e && e !== z.defaultMapSettings.zoomtime && o.renderer.controls.configure({ zoomTime: e / 1e3 }), H.fp.enableRotation && re(c, i == null ? 0 : i);
|
|
4429
4484
|
let l;
|
|
4430
4485
|
if (t) {
|
|
4431
|
-
let e = ni(t), n =
|
|
4486
|
+
let e = ni(t), n = w == null ? void 0 : w.properties.config;
|
|
4432
4487
|
if (!n) throw Error("Map center given in GPS, but the plan has no GPS config");
|
|
4433
4488
|
if (e) {
|
|
4434
4489
|
var s;
|
|
@@ -4444,51 +4499,51 @@ function ai() {
|
|
|
4444
4499
|
y: e[1]
|
|
4445
4500
|
});
|
|
4446
4501
|
}
|
|
4447
|
-
a &&
|
|
4502
|
+
a && H.fp.activateFloor({ name: a }), l && o.renderer.controls.panTo(l.x, l.y), typeof r == "number" && Number.isFinite(r) && o.renderer.controls.rollTo(r);
|
|
4448
4503
|
} catch (e) {
|
|
4449
4504
|
_.error("Error in mapSettings reaction", e);
|
|
4450
4505
|
}
|
|
4451
|
-
}),
|
|
4452
|
-
enabled:
|
|
4506
|
+
}), Ye({
|
|
4507
|
+
enabled: R.layersLoaded && z.buildRoute,
|
|
4453
4508
|
rendererService: o
|
|
4454
4509
|
});
|
|
4455
|
-
let
|
|
4456
|
-
|
|
4457
|
-
permission:
|
|
4510
|
+
let D = "routes-api.expofp.com", O = (e = B.busRoutes) != null && e;
|
|
4511
|
+
Ge({
|
|
4512
|
+
permission: R.layersLoaded && O,
|
|
4458
4513
|
rendererService: o,
|
|
4459
|
-
dataJsonUrl: `https://${
|
|
4460
|
-
websocketUrl: `wss://${
|
|
4461
|
-
}), J(() =>
|
|
4514
|
+
dataJsonUrl: `https://${D}/v1/routes?expo=${U.EXPO}`,
|
|
4515
|
+
websocketUrl: `wss://${D}/locations?expo=${U.EXPO}`
|
|
4516
|
+
}), J(() => H.layerStore.visible, (e) => {
|
|
4462
4517
|
if (!o.scene) return;
|
|
4463
|
-
let t = e.filter((e) =>
|
|
4518
|
+
let t = e.filter((e) => te(e.name)), n = o.scene.rootLayer.children.filter((e) => te(e.name));
|
|
4464
4519
|
n.forEach((e) => {
|
|
4465
4520
|
e.hidden = !t.find((t) => t.name === e.name);
|
|
4466
4521
|
}), o.update(...n);
|
|
4467
4522
|
});
|
|
4468
|
-
function
|
|
4469
|
-
var
|
|
4470
|
-
let
|
|
4471
|
-
|
|
4472
|
-
let
|
|
4473
|
-
paddingPercent:
|
|
4523
|
+
function k(e, t) {
|
|
4524
|
+
var n, r, i;
|
|
4525
|
+
let a = e, o = t == null ? A(e, de) : t, s = (n = z.selectedRoute) == null ? void 0 : n.from, l = s instanceof le ? (r = s.layer) == null ? void 0 : r.name : s == null ? void 0 : s.layer;
|
|
4526
|
+
z.kioskData && (!C() || l === ((i = H.routeStore.currentRouteLayer) == null ? void 0 : i.name)) && (a = Te.fromUnion(e, new Te(z.kioskData.x, z.kioskData.y, 1, 1)));
|
|
4527
|
+
let u = Fe(a), d = {
|
|
4528
|
+
paddingPercent: o,
|
|
4474
4529
|
maxZoom: ii ? void 0 : 10
|
|
4475
|
-
},
|
|
4476
|
-
if (
|
|
4477
|
-
|
|
4478
|
-
...
|
|
4479
|
-
x:
|
|
4480
|
-
}, c.visibleRect =
|
|
4530
|
+
}, f = c.visibleRect;
|
|
4531
|
+
if (z.shouldShiftMapRect && f) {
|
|
4532
|
+
f.min = {
|
|
4533
|
+
...f.min,
|
|
4534
|
+
x: f.min.x + z.overlayWidthPx
|
|
4535
|
+
}, c.visibleRect = f;
|
|
4481
4536
|
try {
|
|
4482
|
-
c.controls.zoomTo(
|
|
4537
|
+
c.controls.zoomTo(u, d);
|
|
4483
4538
|
} finally {
|
|
4484
|
-
|
|
4485
|
-
...
|
|
4486
|
-
x:
|
|
4539
|
+
f.min = {
|
|
4540
|
+
...f.min,
|
|
4541
|
+
x: f.min.x - z.overlayWidthPx
|
|
4487
4542
|
};
|
|
4488
4543
|
}
|
|
4489
|
-
} else c.controls.zoomTo(
|
|
4544
|
+
} else c.controls.zoomTo(u, d);
|
|
4490
4545
|
}
|
|
4491
|
-
function
|
|
4546
|
+
function A(e, t) {
|
|
4492
4547
|
return !e || !t ? 0 : (e.area / t.area > .1 ? 15 : 25) / 100;
|
|
4493
4548
|
}
|
|
4494
4549
|
return K(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [/* @__PURE__ */ (0, Z.jsx)("canvas", {
|
|
@@ -4500,10 +4555,10 @@ function ai() {
|
|
|
4500
4555
|
className: (0, Y.default)({
|
|
4501
4556
|
map: !0,
|
|
4502
4557
|
moving: i.moving,
|
|
4503
|
-
hidden:
|
|
4558
|
+
hidden: H.maplibreStore.showMaplibre
|
|
4504
4559
|
}),
|
|
4505
4560
|
children: "ExpoFP.com"
|
|
4506
|
-
}), g && y && /* @__PURE__ */ (0, Z.jsxs)(
|
|
4561
|
+
}), g && y && /* @__PURE__ */ (0, Z.jsxs)(Le, {
|
|
4507
4562
|
className: "debug-fps",
|
|
4508
4563
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", { ref: u }), /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
4509
4564
|
onClick: () => {
|
|
@@ -4531,26 +4586,26 @@ var oi = q(() => {
|
|
|
4531
4586
|
controls: !0,
|
|
4532
4587
|
container: !0,
|
|
4533
4588
|
"-ready": !0,
|
|
4534
|
-
[
|
|
4589
|
+
[z.responsiveClass]: !0
|
|
4535
4590
|
});
|
|
4536
4591
|
},
|
|
4537
4592
|
get style() {
|
|
4538
4593
|
return {
|
|
4539
|
-
[
|
|
4540
|
-
bottom:
|
|
4594
|
+
[z.rtl ? "left" : "right"]: z.overlayPosition === "left" ? z.overlayCollapsed ? W(.9) : (z.kiosk ? 10 : 0) + W(.7) + "px" : "10px",
|
|
4595
|
+
bottom: z.kiosk ? W(4) : W(9.6)
|
|
4541
4596
|
};
|
|
4542
4597
|
},
|
|
4543
4598
|
get layers() {
|
|
4544
|
-
return
|
|
4599
|
+
return R.layers.filter((e) => e.mode !== ge.AlwaysHidden && e.mode !== ge.AlwaysVisible).map((e) => ({
|
|
4545
4600
|
id: e.name,
|
|
4546
4601
|
name: e.description
|
|
4547
4602
|
})).concat([]).reverse();
|
|
4548
4603
|
},
|
|
4549
4604
|
get visible() {
|
|
4550
|
-
return
|
|
4605
|
+
return R.layers.filter((e) => e.visible).map((e) => e.name);
|
|
4551
4606
|
}
|
|
4552
4607
|
}));
|
|
4553
|
-
return /* @__PURE__ */ (0, Z.jsx)(
|
|
4608
|
+
return /* @__PURE__ */ (0, Z.jsx)(gt, {
|
|
4554
4609
|
className: e.className,
|
|
4555
4610
|
style: e.style,
|
|
4556
4611
|
title: u("Map controls"),
|
|
@@ -4560,19 +4615,19 @@ var oi = q(() => {
|
|
|
4560
4615
|
viewModeLabel: u("View switch"),
|
|
4561
4616
|
fitToScreenLabel: u("Fit to screen"),
|
|
4562
4617
|
layersLabel: u("Layers"),
|
|
4563
|
-
onFindLocation: () =>
|
|
4564
|
-
onZoomIn: () =>
|
|
4565
|
-
onZoomOut: () =>
|
|
4566
|
-
onFitToScreen: () =>
|
|
4567
|
-
onViewModeSwitch: () =>
|
|
4568
|
-
showModeSwitch:
|
|
4569
|
-
isMap3d:
|
|
4570
|
-
showFindLocation:
|
|
4618
|
+
onFindLocation: () => H.routeStore.findLocation(),
|
|
4619
|
+
onZoomIn: () => z.zoomIn(),
|
|
4620
|
+
onZoomOut: () => z.zoomOut(),
|
|
4621
|
+
onFitToScreen: () => z.fitBounds(),
|
|
4622
|
+
onViewModeSwitch: () => H.maplibreStore.activateMaplibre(),
|
|
4623
|
+
showModeSwitch: H.maplibreStore.maplibreEnabled && !H.maplibreStore.hideModeSwitchButton,
|
|
4624
|
+
isMap3d: H.maplibreStore.isMap3d,
|
|
4625
|
+
showFindLocation: H.routeStore.canFindLocation && !z.setKioskModeEnabled,
|
|
4571
4626
|
layersActiveItems: e.visible,
|
|
4572
|
-
layersList:
|
|
4627
|
+
layersList: R.mode === ve.CheckBox ? e.layers : void 0,
|
|
4573
4628
|
onChangeLayers: (e) => {
|
|
4574
|
-
let t =
|
|
4575
|
-
t &&
|
|
4629
|
+
let t = R.layers.find((t) => t.name === e);
|
|
4630
|
+
t && R.updateVisibility(e, !t.visible);
|
|
4576
4631
|
}
|
|
4577
4632
|
});
|
|
4578
4633
|
});
|
|
@@ -4580,16 +4635,16 @@ var oi = q(() => {
|
|
|
4580
4635
|
//#region src/components/MobileToggleButtonContainer.tsx
|
|
4581
4636
|
function si() {
|
|
4582
4637
|
let e = (0, X.useCallback)(() => {
|
|
4583
|
-
|
|
4638
|
+
z.isOverlayOpen && z.overlaySize === "full" ? z.desiredOverlaySize = "small" : V.openOverlayWithoutInputFocus();
|
|
4584
4639
|
}, []);
|
|
4585
4640
|
return K(() => {
|
|
4586
|
-
if (!
|
|
4587
|
-
let t =
|
|
4588
|
-
return /* @__PURE__ */ (0, Z.jsx)(
|
|
4641
|
+
if (!z.shouldShowMobileToggle) return null;
|
|
4642
|
+
let t = z.mobileToggleIsListMode;
|
|
4643
|
+
return /* @__PURE__ */ (0, Z.jsx)(_t, {
|
|
4589
4644
|
mode: t ? "list" : "map",
|
|
4590
4645
|
label: u(t ? "List" : "Map"),
|
|
4591
4646
|
ariaLabel: u(t ? "Show list" : "Show map"),
|
|
4592
|
-
withBanner:
|
|
4647
|
+
withBanner: z.isBannerVisible,
|
|
4593
4648
|
onClick: e
|
|
4594
4649
|
});
|
|
4595
4650
|
});
|
|
@@ -4598,8 +4653,8 @@ function si() {
|
|
|
4598
4653
|
//#region src/components/Menu.tsx
|
|
4599
4654
|
var ci = X.lazy(() => import(
|
|
4600
4655
|
/* webpackChunkName: "viewer-menu-panel" */
|
|
4601
|
-
"./ViewerMenuPanel-
|
|
4602
|
-
)), li =
|
|
4656
|
+
"./ViewerMenuPanel-BmJhh8Ln.js"
|
|
4657
|
+
)), li = B.logo;
|
|
4603
4658
|
_.log("Logo url: ", li), window.setTimeout(function() {
|
|
4604
4659
|
let e = new Image();
|
|
4605
4660
|
e.onload = () => {
|
|
@@ -4612,35 +4667,35 @@ function ui({ consent: e, isGDPR: t }) {
|
|
|
4612
4667
|
shown: !1,
|
|
4613
4668
|
shownTimeout: void 0,
|
|
4614
4669
|
modalOpen: !1,
|
|
4615
|
-
selectedCategoryIds: (
|
|
4616
|
-
pendingSelectedIds: (
|
|
4670
|
+
selectedCategoryIds: (z.selectedCategoryFilters || []).map((e) => Number(e.id)),
|
|
4671
|
+
pendingSelectedIds: (z.selectedCategoryFilters || []).map((e) => Number(e.id))
|
|
4617
4672
|
}));
|
|
4618
4673
|
o(() => {
|
|
4619
|
-
|
|
4674
|
+
z.menu ? (n.shownTimeout = window.setTimeout(() => n.shown = !0, 1), z.list.type === "sessions" && H.searchStore.selectSearch()) : (n.shown = !1, n.shownTimeout && window.clearTimeout(n.shownTimeout));
|
|
4620
4675
|
});
|
|
4621
4676
|
function r(e) {
|
|
4622
|
-
if (
|
|
4677
|
+
if (z.kiosk) return e.preventDefault();
|
|
4623
4678
|
}
|
|
4624
4679
|
function i(e) {
|
|
4625
|
-
e.preventDefault(), l(),
|
|
4680
|
+
e.preventDefault(), l(), H.searchStore.selectSearch();
|
|
4626
4681
|
}
|
|
4627
4682
|
function a(e) {
|
|
4628
4683
|
var t, n;
|
|
4629
|
-
e.preventDefault(), (t =
|
|
4684
|
+
e.preventDefault(), (t = H.fp) == null || (n = t.onLeaveEvent) == null || n.call(t);
|
|
4630
4685
|
}
|
|
4631
4686
|
function s(e) {
|
|
4632
|
-
e.preventDefault(),
|
|
4687
|
+
e.preventDefault(), H.clickLanguage();
|
|
4633
4688
|
}
|
|
4634
4689
|
return K(() => {
|
|
4635
4690
|
var o, l, f;
|
|
4636
|
-
if (!
|
|
4637
|
-
let p =
|
|
4691
|
+
if (!z.menu) return null;
|
|
4692
|
+
let p = H.boothStore.booths.filter((e) => e.bookmarked).map((e) => e.name), m = (o = me().__fpSettings) != null && o.fpVer ? `https://d2.expofp.com/export/v2/${U.EXPO}/pdf` : `https://api.expofp.com/service/convert/${U.EXPO}/pdf`, h = z.viewerMode && typeof ((l = H.fp) == null ? void 0 : l.onLeaveEvent) == "function";
|
|
4638
4693
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
4639
4694
|
className: `menu ${n.shown ? "shown" : ""}`,
|
|
4640
4695
|
children: [ln ? /* @__PURE__ */ (0, Z.jsx)("div", { className: "menu__cover -empty" }) : /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
4641
4696
|
className: "menu__cover",
|
|
4642
4697
|
children: /* @__PURE__ */ (0, Z.jsx)("a", {
|
|
4643
|
-
href:
|
|
4698
|
+
href: B.homeUrl,
|
|
4644
4699
|
target: "_blank",
|
|
4645
4700
|
rel: "noopener noreferrer",
|
|
4646
4701
|
onClick: r,
|
|
@@ -4655,37 +4710,37 @@ function ui({ consent: e, isGDPR: t }) {
|
|
|
4655
4710
|
}), /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
4656
4711
|
className: "menu__content",
|
|
4657
4712
|
children: [
|
|
4658
|
-
|
|
4713
|
+
z.viewerMode && /* @__PURE__ */ (0, Z.jsx)(X.Suspense, {
|
|
4659
4714
|
fallback: null,
|
|
4660
4715
|
children: /* @__PURE__ */ (0, Z.jsx)(ci, {})
|
|
4661
4716
|
}),
|
|
4662
|
-
!
|
|
4717
|
+
!z.viewerMode && /* @__PURE__ */ (0, Z.jsx)("a", {
|
|
4663
4718
|
href: "/#",
|
|
4664
4719
|
onClick: i,
|
|
4665
4720
|
className: "menu__item",
|
|
4666
4721
|
children: u("Search")
|
|
4667
4722
|
}),
|
|
4668
|
-
!
|
|
4669
|
-
href:
|
|
4723
|
+
!B.hideEventHomeLink && !z.kiosk && !ln && !!B.homeUrl && /* @__PURE__ */ (0, Z.jsxs)("a", {
|
|
4724
|
+
href: B.homeUrl,
|
|
4670
4725
|
target: "_blank",
|
|
4671
4726
|
className: "menu__item",
|
|
4672
4727
|
rel: "noopener noreferrer",
|
|
4673
4728
|
children: [u("Event Home").replace(/ /g, "\xA0"), /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-link-external" })]
|
|
4674
4729
|
}),
|
|
4675
|
-
!
|
|
4676
|
-
href:
|
|
4730
|
+
!B.hideRegisterToAttendLink && !z.kiosk && !ln && !!B.registerUrl && /* @__PURE__ */ (0, Z.jsxs)("a", {
|
|
4731
|
+
href: B.registerUrl,
|
|
4677
4732
|
target: "_blank",
|
|
4678
4733
|
className: "menu__item",
|
|
4679
4734
|
rel: "noopener noreferrer",
|
|
4680
4735
|
children: [u("Register to Attend").replace(/ /g, "\xA0"), /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-link-external" })]
|
|
4681
4736
|
}),
|
|
4682
|
-
!
|
|
4737
|
+
!z.hideLanguage && !B.hideLanguage && !B.hideLanguageLink && /* @__PURE__ */ (0, Z.jsxs)("a", {
|
|
4683
4738
|
href: "?language",
|
|
4684
4739
|
onClick: s,
|
|
4685
4740
|
className: "menu__item -language",
|
|
4686
4741
|
children: [/* @__PURE__ */ (0, Z.jsxs)("span", { children: [u("Language"), " "] }), /* @__PURE__ */ (0, Z.jsxs)("span", {
|
|
4687
4742
|
className: "menu__icons",
|
|
4688
|
-
children: [/* @__PURE__ */ (0, Z.jsx)(
|
|
4743
|
+
children: [/* @__PURE__ */ (0, Z.jsx)(rt, {
|
|
4689
4744
|
variant: "gray",
|
|
4690
4745
|
size: "md",
|
|
4691
4746
|
noMargins: !0,
|
|
@@ -4694,18 +4749,18 @@ function ui({ consent: e, isGDPR: t }) {
|
|
|
4694
4749
|
}), /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-chevron-right" })]
|
|
4695
4750
|
})]
|
|
4696
4751
|
}),
|
|
4697
|
-
!
|
|
4752
|
+
!B.hideDownloadPdfLink && !z.kiosk && /* @__PURE__ */ (0, Z.jsx)("a", {
|
|
4698
4753
|
className: "menu__item -pdf",
|
|
4699
4754
|
target: "_blank",
|
|
4700
4755
|
rel: "noopener noreferrer",
|
|
4701
|
-
href: `${m}/?exhibitors=true&bookmarks=${p.join(",")}&layers=${(
|
|
4756
|
+
href: `${m}/?exhibitors=true&bookmarks=${p.join(",")}&layers=${(H.layerStore.layers.length >= H.layerStore.visible.length ? H.layerStore.visible.map((e) => e.name).join(",") : "").replace(/&/g, "%26")}`,
|
|
4702
4757
|
children: u("Download PDF")
|
|
4703
4758
|
}),
|
|
4704
4759
|
e === "ask" && t && /* @__PURE__ */ (0, Z.jsx)("a", {
|
|
4705
4760
|
href: "/#",
|
|
4706
4761
|
className: "menu__item -cookie-consent",
|
|
4707
4762
|
onClick: (e) => {
|
|
4708
|
-
e.preventDefault(),
|
|
4763
|
+
e.preventDefault(), z.hideCookieConsent = !1;
|
|
4709
4764
|
},
|
|
4710
4765
|
children: u("Review Cookie Consent")
|
|
4711
4766
|
}),
|
|
@@ -4723,10 +4778,10 @@ function ui({ consent: e, isGDPR: t }) {
|
|
|
4723
4778
|
});
|
|
4724
4779
|
});
|
|
4725
4780
|
function l() {
|
|
4726
|
-
|
|
4781
|
+
z.menu = !1;
|
|
4727
4782
|
}
|
|
4728
4783
|
}
|
|
4729
|
-
var di = ({ isGDPR: e, consent: t }) => K(() => /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children:
|
|
4784
|
+
var di = ({ isGDPR: e, consent: t }) => K(() => /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children: z.menu ? /* @__PURE__ */ (0, Z.jsx)(ui, {
|
|
4730
4785
|
isGDPR: e,
|
|
4731
4786
|
consent: t
|
|
4732
4787
|
}) : null })), fi = ({ floors: e, floorSelectionLabel: t, ...n }) => {
|
|
@@ -4743,7 +4798,7 @@ var di = ({ isGDPR: e, consent: t }) => K(() => /* @__PURE__ */ (0, Z.jsx)(Z.Fra
|
|
|
4743
4798
|
floorSelectionLabel: t == null ? u("Floor selection") : t
|
|
4744
4799
|
});
|
|
4745
4800
|
}, pi = q(() => {
|
|
4746
|
-
let e =
|
|
4801
|
+
let e = H.routePlannerStore, { from: t, stops: n, distance: r, travelTime: i } = e.subtitleParts;
|
|
4747
4802
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
4748
4803
|
className: "efp-planner__header",
|
|
4749
4804
|
children: [
|
|
@@ -4788,7 +4843,7 @@ var di = ({ isGDPR: e, consent: t }) => K(() => /* @__PURE__ */ (0, Z.jsx)(Z.Fra
|
|
|
4788
4843
|
fill: "white"
|
|
4789
4844
|
})]
|
|
4790
4845
|
}), hi = q(({ startPoint: e, onSelectStartPoint: t }) => {
|
|
4791
|
-
let n =
|
|
4846
|
+
let n = H.routePlannerStore, r = n.startPointBoothOptions, i = n.startPointAutocompleteOptions, a = (e) => {
|
|
4792
4847
|
t(r.find((t) => t.id.toString() === (e == null ? void 0 : e.value)) || null);
|
|
4793
4848
|
}, o = e ? i.find((t) => t.value === e.id.toString()) : void 0;
|
|
4794
4849
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
@@ -4817,7 +4872,7 @@ var di = ({ isGDPR: e, consent: t }) => K(() => /* @__PURE__ */ (0, Z.jsx)(Z.Fra
|
|
|
4817
4872
|
u,
|
|
4818
4873
|
d ? _i(d) ? `Level ${d}` : d : null
|
|
4819
4874
|
].filter(Boolean).join(", "), m = () => {
|
|
4820
|
-
a === "exhibitor" ?
|
|
4875
|
+
a === "exhibitor" ? H.selectExhibitor(o) : s && H.selectBooth(s), H.showMap();
|
|
4821
4876
|
};
|
|
4822
4877
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
4823
4878
|
className: (0, Y.default)("efp-planner__stop", { "is-last": t }),
|
|
@@ -4837,7 +4892,7 @@ var di = ({ isGDPR: e, consent: t }) => K(() => /* @__PURE__ */ (0, Z.jsx)(Z.Fra
|
|
|
4837
4892
|
onKeyDown: (e) => {
|
|
4838
4893
|
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), m());
|
|
4839
4894
|
},
|
|
4840
|
-
children: [/* @__PURE__ */ (0, Z.jsx)("strong", { children: l }), f && /* @__PURE__ */ (0, Z.jsxs)(
|
|
4895
|
+
children: [/* @__PURE__ */ (0, Z.jsx)("strong", { children: l }), f && /* @__PURE__ */ (0, Z.jsxs)(rt, {
|
|
4841
4896
|
variant: "location",
|
|
4842
4897
|
size: "xs",
|
|
4843
4898
|
inline: !0,
|
|
@@ -4851,7 +4906,7 @@ var di = ({ isGDPR: e, consent: t }) => K(() => /* @__PURE__ */ (0, Z.jsx)(Z.Fra
|
|
|
4851
4906
|
//#region src/components/RoutePlanner/RoutePlanner.tsx
|
|
4852
4907
|
function yi() {
|
|
4853
4908
|
return K(() => {
|
|
4854
|
-
let e =
|
|
4909
|
+
let e = H.routePlannerStore, t = e.items;
|
|
4855
4910
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
4856
4911
|
className: "efp-planner",
|
|
4857
4912
|
children: [
|
|
@@ -4881,26 +4936,26 @@ function yi() {
|
|
|
4881
4936
|
}
|
|
4882
4937
|
function bi() {
|
|
4883
4938
|
return K(() => {
|
|
4884
|
-
let e =
|
|
4885
|
-
return
|
|
4939
|
+
let e = z.details && !(z.details instanceof Ie);
|
|
4940
|
+
return z.list.type === "route-planner" && !z.menu && !e ? /* @__PURE__ */ (0, Z.jsx)(yi, {}) : null;
|
|
4886
4941
|
});
|
|
4887
4942
|
}
|
|
4888
4943
|
//#endregion
|
|
4889
4944
|
//#region src/components/ScrollableRowContainer.tsx
|
|
4890
|
-
var xi = q((e) => /* @__PURE__ */ (0, Z.jsx)(
|
|
4945
|
+
var xi = q((e) => /* @__PURE__ */ (0, Z.jsx)(Ot, {
|
|
4891
4946
|
...e,
|
|
4892
|
-
isRtl:
|
|
4947
|
+
isRtl: z.rtl,
|
|
4893
4948
|
leftAriaLabel: u("Scroll left"),
|
|
4894
4949
|
rightAriaLabel: u("Scroll right")
|
|
4895
4950
|
})), Si = (0, X.memo)(({ id: e, label: t, icon: n, enabled: r, active: i, tooltip: a, badge: o, variant: s = "default", showResetButton: c = !1, interfaceId: l }) => {
|
|
4896
4951
|
let d = (0, X.useCallback)(() => {
|
|
4897
|
-
r &&
|
|
4952
|
+
r && H.shortcutRegistry.handleShortcutClick(l, e);
|
|
4898
4953
|
}, [
|
|
4899
4954
|
r,
|
|
4900
4955
|
l,
|
|
4901
4956
|
e
|
|
4902
4957
|
]), f = (0, X.useCallback)((t) => {
|
|
4903
|
-
t.stopPropagation(), r && i &&
|
|
4958
|
+
t.stopPropagation(), r && i && H.shortcutRegistry.handleShortcutReset(l, e);
|
|
4904
4959
|
}, [
|
|
4905
4960
|
r,
|
|
4906
4961
|
i,
|
|
@@ -4941,20 +4996,20 @@ Si.displayName = "ShortcutButton";
|
|
|
4941
4996
|
//#endregion
|
|
4942
4997
|
//#region src/components/Shortcuts/ShortcutsFiltersButton.tsx
|
|
4943
4998
|
var Ci = (0, X.memo)(q(({ interfaceId: e, className: t }) => {
|
|
4944
|
-
let { shortcutRegistry: n } =
|
|
4945
|
-
e === "sessions" ? i =
|
|
4999
|
+
let { shortcutRegistry: n } = H, r = n.getShortcuts(e).filter((e) => e.active).length, i = 0;
|
|
5000
|
+
e === "sessions" ? i = H.sessionsFilterStore.activeFiltersCount : e === "speakers" && (i = H.speakerFilterStore.activeFiltersCount);
|
|
4946
5001
|
let a = Math.max(r, i);
|
|
4947
5002
|
return /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
4948
5003
|
className: (0, Y.default)("shortcuts-filters-button", t, { "is-active": a > 0 }),
|
|
4949
5004
|
onClick: () => {
|
|
4950
|
-
e === "sessions" ?
|
|
5005
|
+
e === "sessions" ? H.sessionsFilterStore.openFilterWithSections([
|
|
4951
5006
|
"tracks",
|
|
4952
5007
|
"venues",
|
|
4953
5008
|
"date",
|
|
4954
5009
|
"time",
|
|
4955
5010
|
"sort",
|
|
4956
5011
|
"settings"
|
|
4957
|
-
]) : e === "speakers" &&
|
|
5012
|
+
]) : e === "speakers" && H.speakerFilterStore.openFilterWithSections(["companies", "jobTitles"]);
|
|
4958
5013
|
},
|
|
4959
5014
|
type: "button",
|
|
4960
5015
|
"aria-label": u("Open filters"),
|
|
@@ -4966,7 +5021,7 @@ Ci.displayName = "ShortcutsFiltersButton";
|
|
|
4966
5021
|
//#endregion
|
|
4967
5022
|
//#region src/components/Shortcuts/ShortcutsToolbar.tsx
|
|
4968
5023
|
var wi = (0, X.memo)(q(({ interfaceId: e, showFiltersButton: t = !0, className: n }) => {
|
|
4969
|
-
let { shortcutRegistry: r } =
|
|
5024
|
+
let { shortcutRegistry: r } = H, i = r.getShortcuts(e);
|
|
4970
5025
|
return !r.shouldShowShortcuts(e) || i.length === 0 ? null : /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
4971
5026
|
className: (0, Y.default)("shortcuts-toolbar", n),
|
|
4972
5027
|
children: /* @__PURE__ */ (0, Z.jsxs)(xi, {
|
|
@@ -4989,7 +5044,7 @@ function Ti() {
|
|
|
4989
5044
|
let e = (0, X.useRef)(), t = G(() => ({
|
|
4990
5045
|
updateOverlayContent: null,
|
|
4991
5046
|
get text() {
|
|
4992
|
-
return
|
|
5047
|
+
return z.list.type === "search" || z.list.type === "exhibitors" ? z.list.text : "";
|
|
4993
5048
|
},
|
|
4994
5049
|
get showClose() {
|
|
4995
5050
|
return !!this.text;
|
|
@@ -4999,7 +5054,7 @@ function Ti() {
|
|
|
4999
5054
|
}
|
|
5000
5055
|
}));
|
|
5001
5056
|
(0, X.useEffect)(() => {
|
|
5002
|
-
|
|
5057
|
+
H.fuzzySearchEngineStore.loadEngine();
|
|
5003
5058
|
}, []);
|
|
5004
5059
|
let n = (0, X.useCallback)(() => {
|
|
5005
5060
|
t.updateOverlayContent && t.updateOverlayContent();
|
|
@@ -5012,8 +5067,8 @@ function Ti() {
|
|
|
5012
5067
|
updatedScrollableRef: e
|
|
5013
5068
|
})] }));
|
|
5014
5069
|
}
|
|
5015
|
-
var Ei = () => K(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [!
|
|
5016
|
-
let t =
|
|
5070
|
+
var Ei = () => K(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [!z.details && !z.menu && z.list.type === "exhibitors" ? /* @__PURE__ */ (0, Z.jsx)(Ti, {}) : null, !z.details && !z.menu && z.list.type === "search" && (H.fp.alwaysShowSidebar || z.heatmap || z.searchFocused || z.list.text.length > 0 || z.searchClearMode) ? /* @__PURE__ */ (0, Z.jsx)(Ti, {}) : null] })), Di = q(({ showFilters: e = !0 }) => {
|
|
5071
|
+
let t = H.eventStore.eventItems, { filters: { date: { value: n }, timeOfDay: { value: r }, sortOrder: { value: i }, showBookmarksOnly: { value: a }, showLiveOnly: { value: o }, selectedTracks: { value: s }, selectedVenues: { value: c } } } = H.sessionsFilterStore.state, l = (0, X.useMemo)(() => {
|
|
5017
5072
|
let e = /* @__PURE__ */ new Date();
|
|
5018
5073
|
e.setHours(0, 0, 0, 0);
|
|
5019
5074
|
let i = new Date(e);
|
|
@@ -5036,7 +5091,7 @@ var Ei = () => K(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [!B.d
|
|
|
5036
5091
|
case "afternoon": return t >= 18 && t <= 23;
|
|
5037
5092
|
default: return !0;
|
|
5038
5093
|
}
|
|
5039
|
-
})),
|
|
5094
|
+
})), z.selectedTrack && (l = l.filter((e) => e.tracks.some((e) => e.id === z.selectedTrack.id))), a && (l = l.filter((e) => e.bookmarked)), o) {
|
|
5040
5095
|
let e = /* @__PURE__ */ new Date();
|
|
5041
5096
|
l = l.filter((t) => {
|
|
5042
5097
|
let n = new Date(t.startDate), r = new Date(t.endDate);
|
|
@@ -5044,7 +5099,7 @@ var Ei = () => K(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [!B.d
|
|
|
5044
5099
|
});
|
|
5045
5100
|
}
|
|
5046
5101
|
s.length > 0 && (l = l.filter((e) => e.tracks.some((e) => s.includes(e.id)))), c.length > 0 && (l = l.filter((e) => e.boothId && c.includes(e.boothId)));
|
|
5047
|
-
let u =
|
|
5102
|
+
let u = H.searchStore.searchText;
|
|
5048
5103
|
return u && (l = new y(l, {
|
|
5049
5104
|
keys: ["name"],
|
|
5050
5105
|
threshold: .3,
|
|
@@ -5053,15 +5108,15 @@ var Ei = () => K(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [!B.d
|
|
|
5053
5108
|
}).search(u).map((e) => e.item)), l;
|
|
5054
5109
|
}, [
|
|
5055
5110
|
t,
|
|
5056
|
-
|
|
5111
|
+
H.searchStore.searchText,
|
|
5057
5112
|
n,
|
|
5058
5113
|
r,
|
|
5059
|
-
|
|
5114
|
+
z.selectedTrack,
|
|
5060
5115
|
a,
|
|
5061
5116
|
o,
|
|
5062
5117
|
s,
|
|
5063
5118
|
c,
|
|
5064
|
-
|
|
5119
|
+
H.sessionsFilterStore.state
|
|
5065
5120
|
]), d = (0, X.useMemo)(() => [...l].sort((e, t) => {
|
|
5066
5121
|
let n = new Date(e.startDate).getTime(), r = new Date(t.startDate).getTime();
|
|
5067
5122
|
return i === "asc" ? r - n : n - r;
|
|
@@ -5073,21 +5128,21 @@ var Ei = () => K(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [!B.d
|
|
|
5073
5128
|
showBooths: !0,
|
|
5074
5129
|
isSessions: !0,
|
|
5075
5130
|
onEventClick: (e) => {
|
|
5076
|
-
|
|
5131
|
+
H.selectEventItem(e, !0);
|
|
5077
5132
|
}
|
|
5078
5133
|
}) : /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
5079
5134
|
className: "efp-sessions-empty",
|
|
5080
|
-
children:
|
|
5135
|
+
children: H.sessionsFilterStore.activeFiltersCount > 0 || H.searchStore.searchText || z.selectedTrack ? u(a ? "No bookmarked events found. Try adjusting your filters." : "No events found. Try adjusting your filters.") : u("No events found")
|
|
5081
5136
|
})]
|
|
5082
5137
|
});
|
|
5083
|
-
}), Oi = q((e) =>
|
|
5138
|
+
}), Oi = q((e) => z.list.type !== "sessions" || z.details ? null : /* @__PURE__ */ (0, Z.jsx)(Di, { ...e })), ki = q(() => {
|
|
5084
5139
|
(0, X.useRef)(null);
|
|
5085
|
-
let e = (0, X.useRef)(null), [t, n] = (0, X.useState)(!1), r =
|
|
5140
|
+
let e = (0, X.useRef)(null), [t, n] = (0, X.useState)(!1), r = H.speakerStore.selectedSpeaker;
|
|
5086
5141
|
if (!r) return /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
5087
5142
|
className: "efp-speaker-empty",
|
|
5088
5143
|
children: u("Speaker not found")
|
|
5089
5144
|
});
|
|
5090
|
-
let i =
|
|
5145
|
+
let i = H.speakerStore.getEventsBySpeaker(r.id), a = (0, X.useMemo)(() => [...i].sort((e, t) => new Date(e.startDate).getTime() - new Date(t.startDate).getTime()), [i]);
|
|
5091
5146
|
(0, X.useEffect)(() => {
|
|
5092
5147
|
(() => {
|
|
5093
5148
|
if (e.current) {
|
|
@@ -5097,16 +5152,16 @@ var Ei = () => K(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [!B.d
|
|
|
5097
5152
|
})();
|
|
5098
5153
|
}, []);
|
|
5099
5154
|
let o = (e) => {
|
|
5100
|
-
|
|
5155
|
+
H.selectEventItem(e, !0);
|
|
5101
5156
|
}, s = () => {
|
|
5102
|
-
r.bookmarked = !r.bookmarked,
|
|
5157
|
+
r.bookmarked = !r.bookmarked, M(k.ClickCustomButton, r.name);
|
|
5103
5158
|
}, c = () => {
|
|
5104
|
-
|
|
5159
|
+
M(k.ClickCustomButton, r.name), H.toggleModal("share");
|
|
5105
5160
|
}, l = () => {
|
|
5106
|
-
|
|
5161
|
+
M(k.ClickCustomButton, r.name);
|
|
5107
5162
|
}, d = (0, Y.default)({
|
|
5108
5163
|
"efp-speaker": !0,
|
|
5109
|
-
[
|
|
5164
|
+
[z.responsiveClass]: !0
|
|
5110
5165
|
});
|
|
5111
5166
|
return K(() => /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
5112
5167
|
className: d,
|
|
@@ -5146,8 +5201,8 @@ var Ei = () => K(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [!B.d
|
|
|
5146
5201
|
}),
|
|
5147
5202
|
/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
5148
5203
|
className: "efp-speaker__buttons",
|
|
5149
|
-
children: !
|
|
5150
|
-
showBookmark: !
|
|
5204
|
+
children: !z.isGuidedToursActive && /* @__PURE__ */ (0, Z.jsx)(Ht, {
|
|
5205
|
+
showBookmark: !z.disableBookmarked && !B.hideBookmarks && !z.kiosk,
|
|
5151
5206
|
showDirections: !1,
|
|
5152
5207
|
inBookmark: r.bookmarked || !1,
|
|
5153
5208
|
showShare: !0,
|
|
@@ -5159,7 +5214,7 @@ var Ei = () => K(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [!B.d
|
|
|
5159
5214
|
})
|
|
5160
5215
|
}),
|
|
5161
5216
|
/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
5162
|
-
className: (0, Y.default)("efp-speaker__details", { "details-hidden":
|
|
5217
|
+
className: (0, Y.default)("efp-speaker__details", { "details-hidden": z.kiosk && t }),
|
|
5163
5218
|
ref: e,
|
|
5164
5219
|
children: a.length > 0 && /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
5165
5220
|
className: "efp-speaker-events",
|
|
@@ -5178,13 +5233,13 @@ var Ei = () => K(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [!B.d
|
|
|
5178
5233
|
}));
|
|
5179
5234
|
}), Ai = q(() => {
|
|
5180
5235
|
var e;
|
|
5181
|
-
let t =
|
|
5236
|
+
let t = H.uiState.details;
|
|
5182
5237
|
return !t || (t == null || (e = t.entity) == null ? void 0 : e.type) !== "speaker" ? null : /* @__PURE__ */ (0, Z.jsx)(ki, {});
|
|
5183
5238
|
}), ji = q(({ showFilters: e = !0 }) => {
|
|
5184
|
-
let t = (0, X.useRef)(), n =
|
|
5239
|
+
let t = (0, X.useRef)(), n = H.speakerStore.speakers, { filters: { selectedCompanies: { value: r }, selectedJobTitles: { value: i } } } = H.speakerFilterStore.state, a = (0, X.useMemo)(() => {
|
|
5185
5240
|
let e = n;
|
|
5186
5241
|
r.length > 0 && (e = e.filter((e) => r.includes(e.company))), i.length > 0 && (e = e.filter((e) => i.includes(e.jobTitle)));
|
|
5187
|
-
let t =
|
|
5242
|
+
let t = H.searchStore.searchText;
|
|
5188
5243
|
return t && (e = new y(e, {
|
|
5189
5244
|
keys: [
|
|
5190
5245
|
"name",
|
|
@@ -5197,10 +5252,10 @@ var Ei = () => K(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [!B.d
|
|
|
5197
5252
|
}).search(t).map((e) => e.item)), e;
|
|
5198
5253
|
}, [
|
|
5199
5254
|
n,
|
|
5200
|
-
|
|
5255
|
+
H.searchStore.searchText,
|
|
5201
5256
|
r,
|
|
5202
5257
|
i,
|
|
5203
|
-
|
|
5258
|
+
H.speakerFilterStore.state
|
|
5204
5259
|
]);
|
|
5205
5260
|
return K(() => /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
5206
5261
|
className: "efp-speakers-content",
|
|
@@ -5208,7 +5263,7 @@ var Ei = () => K(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [!B.d
|
|
|
5208
5263
|
className: "efp-speakers-list",
|
|
5209
5264
|
ref: t,
|
|
5210
5265
|
children: a.map((e) => {
|
|
5211
|
-
let t =
|
|
5266
|
+
let t = H.speakerStore.getEventsBySpeaker(e.id), n = [];
|
|
5212
5267
|
return e.jobTitle && n.push({
|
|
5213
5268
|
type: "text",
|
|
5214
5269
|
text: e.jobTitle
|
|
@@ -5221,39 +5276,39 @@ var Ei = () => K(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [!B.d
|
|
|
5221
5276
|
itemsCount: t.length,
|
|
5222
5277
|
additionalInfo: n,
|
|
5223
5278
|
bookmarked: e.bookmarked,
|
|
5224
|
-
onClick: () =>
|
|
5279
|
+
onClick: () => H.selectSpeaker(e, !0)
|
|
5225
5280
|
}, e.id);
|
|
5226
5281
|
})
|
|
5227
5282
|
}) : /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
5228
5283
|
className: "list-empty",
|
|
5229
|
-
children:
|
|
5284
|
+
children: H.speakerFilterStore.activeFiltersCount > 0 || H.searchStore.searchText ? u("No speakers found. Try adjusting your filters.") : u("No speakers found")
|
|
5230
5285
|
})]
|
|
5231
5286
|
}));
|
|
5232
|
-
}), Mi = q((e) =>
|
|
5287
|
+
}), Mi = q((e) => z.list.type !== "speakers" || z.details ? null : /* @__PURE__ */ (0, Z.jsx)(ji, { ...e })), Ni = () => {
|
|
5233
5288
|
let e = (0, X.useRef)(null);
|
|
5234
5289
|
return K(() => {
|
|
5235
|
-
let t =
|
|
5290
|
+
let t = H.toursStore.currentTour;
|
|
5236
5291
|
if (!t) return null;
|
|
5237
5292
|
let n = t.points && t.points.length > 0;
|
|
5238
5293
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
5239
|
-
className: (0, Y.default)("efp-tour-points", { hidden:
|
|
5240
|
-
children: [
|
|
5294
|
+
className: (0, Y.default)("efp-tour-points", { hidden: z.kiosk }),
|
|
5295
|
+
children: [z.tourDescription && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
5241
5296
|
className: "efp-wayfinding-description",
|
|
5242
|
-
children:
|
|
5297
|
+
children: z.tourDescription
|
|
5243
5298
|
}), n && /* @__PURE__ */ (0, Z.jsx)(Mn, { updatedScrollableRef: e })]
|
|
5244
5299
|
});
|
|
5245
5300
|
});
|
|
5246
|
-
}, Pi = () => K(() => !
|
|
5247
|
-
let e =
|
|
5248
|
-
let t = e, n =
|
|
5301
|
+
}, Pi = () => K(() => !z.menu && !z.details && H.toursStore.currentTour && /* @__PURE__ */ (0, Z.jsx)(Ni, {})), Fi = q(() => {
|
|
5302
|
+
let e = H.toursStore.tourItems, t = H.toursStore.hasTours, n = H.toursStore.currentExpo, r = H.toursStore.toursLoadError, i = (0, X.useMemo)(() => {
|
|
5303
|
+
let t = e, n = H.searchStore.searchText;
|
|
5249
5304
|
return n && (t = new y(t, {
|
|
5250
5305
|
keys: ["name"],
|
|
5251
5306
|
threshold: .3,
|
|
5252
5307
|
ignoreLocation: !0,
|
|
5253
5308
|
includeScore: !0
|
|
5254
5309
|
}).search(n).map((e) => e.item)), t;
|
|
5255
|
-
}, [e,
|
|
5256
|
-
|
|
5310
|
+
}, [e, H.searchStore.searchText]), a = (e, t, n) => {
|
|
5311
|
+
H.toursStore.launchTour(e, t, n);
|
|
5257
5312
|
};
|
|
5258
5313
|
return K(() => r ? /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
5259
5314
|
className: "efp-tours-content",
|
|
@@ -5288,14 +5343,14 @@ var Ei = () => K(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [!B.d
|
|
|
5288
5343
|
] })
|
|
5289
5344
|
})
|
|
5290
5345
|
}));
|
|
5291
|
-
}), Ii = q((e) =>
|
|
5346
|
+
}), Ii = q((e) => z.list.type !== "tours" || z.details ? null : /* @__PURE__ */ (0, Z.jsx)(Fi, { ...e }));
|
|
5292
5347
|
//#endregion
|
|
5293
5348
|
//#region src/components/Visited.tsx
|
|
5294
5349
|
function Li() {
|
|
5295
5350
|
let e = (0, X.useRef)();
|
|
5296
5351
|
return K(() => /* @__PURE__ */ (0, Z.jsx)(Mn, { updatedScrollableRef: e }));
|
|
5297
5352
|
}
|
|
5298
|
-
var Ri = () => K(() => !
|
|
5353
|
+
var Ri = () => K(() => !z.details && z.list.type === "visited" && /* @__PURE__ */ (0, Z.jsx)(Li, {})), zi = q(({ url: e }) => /* @__PURE__ */ (0, Z.jsx)(X.Suspense, {
|
|
5299
5354
|
fallback: null,
|
|
5300
5355
|
children: /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
5301
5356
|
className: "route-qr",
|
|
@@ -5462,7 +5517,7 @@ var Ri = () => K(() => !B.details && B.list.type === "visited" && /* @__PURE__ *
|
|
|
5462
5517
|
function Hi() {
|
|
5463
5518
|
var e;
|
|
5464
5519
|
let t = (0, X.useRef)(null), n = (0, X.useMemo)(() => {
|
|
5465
|
-
let e =
|
|
5520
|
+
let e = H.routeStore.pathLayers;
|
|
5466
5521
|
return e.map((t, n) => {
|
|
5467
5522
|
var r, i, a, o, s, c;
|
|
5468
5523
|
let l = e[n + 1], u = (r = (i = t.layer) == null ? void 0 : i.basePriority) == null ? 0 : r, d = (a = l == null || (o = l.layer) == null ? void 0 : o.basePriority) == null ? 0 : a, f = l ? d < u ? "up" : "down" : void 0;
|
|
@@ -5473,7 +5528,7 @@ function Hi() {
|
|
|
5473
5528
|
directionToNext: f
|
|
5474
5529
|
};
|
|
5475
5530
|
});
|
|
5476
|
-
}, [
|
|
5531
|
+
}, [H.routeStore.pathLayers]), [r, i] = (0, X.useState)(), [a, o] = (0, X.useState)({}), s = (e) => {
|
|
5477
5532
|
e && o((t) => ({
|
|
5478
5533
|
...t,
|
|
5479
5534
|
[e.value]: e
|
|
@@ -5481,36 +5536,36 @@ function Hi() {
|
|
|
5481
5536
|
};
|
|
5482
5537
|
(0, X.useEffect)(() => {
|
|
5483
5538
|
r || i(n[0]);
|
|
5484
|
-
}, [
|
|
5539
|
+
}, [H.routeStore.pathLayers, n]), (0, X.useEffect)(() => {
|
|
5485
5540
|
let e = n.find((e) => {
|
|
5486
5541
|
var t, n;
|
|
5487
|
-
return ((t = e.description) == null ? void 0 : t.toLowerCase()) === ((n =
|
|
5542
|
+
return ((t = e.description) == null ? void 0 : t.toLowerCase()) === ((n = H.routeStore.currentRouteLayer) == null || (n = n.description) == null ? void 0 : n.toLowerCase());
|
|
5488
5543
|
});
|
|
5489
5544
|
e && i(e);
|
|
5490
|
-
}, [
|
|
5545
|
+
}, [H.routeStore.currentRouteLayer, n]), (0, X.useEffect)(() => {
|
|
5491
5546
|
var e;
|
|
5492
|
-
let t =
|
|
5547
|
+
let t = z.selectedRoute;
|
|
5493
5548
|
if (!t) {
|
|
5494
|
-
|
|
5549
|
+
z.setIsMultiPointRoute(!1);
|
|
5495
5550
|
return;
|
|
5496
5551
|
}
|
|
5497
5552
|
let n = (((e = t.waypoints) == null ? void 0 : e.length) || 0) > 0;
|
|
5498
|
-
|
|
5499
|
-
}, [
|
|
5553
|
+
z.setIsMultiPointRoute(n);
|
|
5554
|
+
}, [z.selectedRoute]);
|
|
5500
5555
|
let c = () => {
|
|
5501
|
-
let { from: e, to: t } =
|
|
5556
|
+
let { from: e, to: t } = z.selectedRoute;
|
|
5502
5557
|
return !!(e && t);
|
|
5503
|
-
}, l = () =>
|
|
5558
|
+
}, l = () => z.overlaySize === "full", d = () => !!(c() && !l()), f = () => {
|
|
5504
5559
|
var e;
|
|
5505
|
-
let t =
|
|
5560
|
+
let t = z.selectedRoute;
|
|
5506
5561
|
return t ? (((e = t.waypoints) == null ? void 0 : e.length) || 0) > 0 ? "multi" : "simple" : "none";
|
|
5507
5562
|
};
|
|
5508
5563
|
(0, X.useEffect)(() => {
|
|
5509
|
-
f() === "multi" &&
|
|
5510
|
-
}, [
|
|
5564
|
+
f() === "multi" && z.selectedRoute;
|
|
5565
|
+
}, [z.selectedRoute]);
|
|
5511
5566
|
let p = (0, X.useMemo)(() => {
|
|
5512
|
-
let e = [], t =
|
|
5513
|
-
return
|
|
5567
|
+
let e = [], t = je.booths, n = t.filter((e) => e instanceof L), r = t.filter((e) => !(e instanceof L)), i = [];
|
|
5568
|
+
return Ce.exhibitors.forEach((t) => {
|
|
5514
5569
|
e.push(...t.booths.map((e) => e.id)), i.push(...t.booths.map((e) => ({
|
|
5515
5570
|
value: e.id.toString(),
|
|
5516
5571
|
label: t.name + " - " + e.fullName,
|
|
@@ -5527,30 +5582,30 @@ function Hi() {
|
|
|
5527
5582
|
label: e.fullName
|
|
5528
5583
|
});
|
|
5529
5584
|
}), i;
|
|
5530
|
-
}, [
|
|
5585
|
+
}, [Ce.exhibitors.length, je.booths.length]);
|
|
5531
5586
|
return (0, X.useEffect)(() => {
|
|
5532
5587
|
var e;
|
|
5533
|
-
let t = (e =
|
|
5588
|
+
let t = (e = z.selectedRoute) == null || (e = e.to) == null || (e = e.id) == null ? void 0 : e.toString(), n = H.routeStore.currentRouteExhibitor;
|
|
5534
5589
|
if (!n) return;
|
|
5535
5590
|
let r = p.find((e) => e.value === t && e.exhibitorId === n.id);
|
|
5536
|
-
|
|
5591
|
+
H.routeStore.currentRouteExhibitor = null, s(r);
|
|
5537
5592
|
}, [
|
|
5538
|
-
|
|
5539
|
-
(e =
|
|
5593
|
+
H.routeStore.currentRouteExhibitor,
|
|
5594
|
+
(e = z.selectedRoute) == null || (e = e.to) == null ? void 0 : e.id,
|
|
5540
5595
|
p
|
|
5541
5596
|
]), K(() => {
|
|
5542
5597
|
var e, i, o, c, l, m, h, g;
|
|
5543
5598
|
if (f() === "multi") {
|
|
5544
5599
|
var _, v;
|
|
5545
5600
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
5546
|
-
className: (0, Y.default)("main-wayfinding", { hidden:
|
|
5547
|
-
children: [
|
|
5601
|
+
className: (0, Y.default)("main-wayfinding", { hidden: z.kiosk && ((_ = z.selectedRoute) == null ? void 0 : _.from) && ((v = z.selectedRoute) == null ? void 0 : v.to) }),
|
|
5602
|
+
children: [z.routeDescription && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
5548
5603
|
className: "efp-wayfinding-description",
|
|
5549
|
-
children:
|
|
5604
|
+
children: z.routeDescription
|
|
5550
5605
|
}), /* @__PURE__ */ (0, Z.jsx)(Mn, { updatedScrollableRef: t })]
|
|
5551
5606
|
});
|
|
5552
5607
|
}
|
|
5553
|
-
let y = (e =
|
|
5608
|
+
let y = (e = z.selectedRoute) != null && e.from && !(z.selectedRoute.from instanceof le) ? z.selectedRoute.from : null, b = (i = z.selectedRoute) != null && i.to && !(z.selectedRoute.to instanceof le) ? z.selectedRoute.to : null, x = [];
|
|
5554
5609
|
y && x.push({
|
|
5555
5610
|
value: y.id,
|
|
5556
5611
|
label: y.name
|
|
@@ -5562,10 +5617,10 @@ function Hi() {
|
|
|
5562
5617
|
var n;
|
|
5563
5618
|
let r = e == null ? void 0 : e.value;
|
|
5564
5619
|
if (r === "current-position" || r === "kiosk-anchor") return;
|
|
5565
|
-
let i = (n =
|
|
5566
|
-
s(e), t ?
|
|
5620
|
+
let i = (n = je.booths.find((e) => e.id.toString() === r)) == null ? null : n, { from: a, to: o } = z.selectedRoute;
|
|
5621
|
+
s(e), t ? H.routeStore.selectRoute(new Ie(i, o)) : H.routeStore.selectRoute(new Ie(a, i));
|
|
5567
5622
|
}, C = (e) => {
|
|
5568
|
-
let t = [], n =
|
|
5623
|
+
let t = [], n = ke().getAttribute("units") || "ft", r = I(e, ze(n)), i = /* @__PURE__ */ new Date();
|
|
5569
5624
|
i.setMinutes(i.getMinutes() + r / 60);
|
|
5570
5625
|
let a = i.toLocaleTimeString([], {
|
|
5571
5626
|
hour: "2-digit",
|
|
@@ -5582,30 +5637,30 @@ function Hi() {
|
|
|
5582
5637
|
text: a
|
|
5583
5638
|
}), t;
|
|
5584
5639
|
}, w = () => {
|
|
5585
|
-
let { from: e, to: t } =
|
|
5586
|
-
(e == null ? void 0 : e.id) !== "current-position" &&
|
|
5587
|
-
}, T = ((o =
|
|
5640
|
+
let { from: e, to: t } = z.selectedRoute;
|
|
5641
|
+
(e == null ? void 0 : e.id) !== "current-position" && H.routeStore.selectRoute(new Ie(t, e));
|
|
5642
|
+
}, T = ((o = z.selectedRoute) == null ? void 0 : o.from) && ((c = z.selectedRoute) == null ? void 0 : c.to) && !H.routeStore.routeLines.length;
|
|
5588
5643
|
function E() {
|
|
5589
5644
|
var e;
|
|
5590
|
-
let t = (e =
|
|
5645
|
+
let t = (e = z.selectedRoute) == null || (e = e.from) == null || (e = e.id) == null ? void 0 : e.toString(), n = t ? a[t] : void 0;
|
|
5591
5646
|
return x.find((e) => n ? e.value === n.value && e.label === n.label : e.value === t);
|
|
5592
5647
|
}
|
|
5593
5648
|
function D() {
|
|
5594
5649
|
var e;
|
|
5595
|
-
let t = (e =
|
|
5650
|
+
let t = (e = z.selectedRoute) == null || (e = e.to) == null || (e = e.id) == null ? void 0 : e.toString(), n = t ? a[t] : void 0;
|
|
5596
5651
|
return x.find((e) => n ? e.value === n.value && e.label === n.label : e.value === t);
|
|
5597
5652
|
}
|
|
5598
|
-
let O = !!(!
|
|
5653
|
+
let O = !!(!B.hideWayInformation && U.EXPO !== "bloomberg" && (l = z.selectedRoute) != null && l.from && (m = z.selectedRoute) != null && m.to);
|
|
5599
5654
|
return /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
5600
|
-
className: (0, Y.default)("main-wayfinding", { hidden:
|
|
5655
|
+
className: (0, Y.default)("main-wayfinding", { hidden: z.kiosk && ((h = z.selectedRoute) == null ? void 0 : h.from) && ((g = z.selectedRoute) == null ? void 0 : g.to) }),
|
|
5601
5656
|
children: /* @__PURE__ */ (0, Z.jsx)(Vi, {
|
|
5602
5657
|
showForm: !d(),
|
|
5603
5658
|
showInfo: O,
|
|
5604
5659
|
floors: n,
|
|
5605
5660
|
currentFloor: r,
|
|
5606
5661
|
onClickFloor: (e) => {
|
|
5607
|
-
let t =
|
|
5608
|
-
t != null && t.layer &&
|
|
5662
|
+
let t = H.routeStore.pathLayers.find((t) => t.id === e.id);
|
|
5663
|
+
t != null && t.layer && H.layerStore.updateVisibility(t.layer, !0);
|
|
5609
5664
|
},
|
|
5610
5665
|
routeFound: !T,
|
|
5611
5666
|
options: x,
|
|
@@ -5618,21 +5673,21 @@ function Hi() {
|
|
|
5618
5673
|
onChangeFrom: (e) => S(e, !0),
|
|
5619
5674
|
onChangeTo: (e) => S(e, !1),
|
|
5620
5675
|
onSwitch: w,
|
|
5621
|
-
infoItems: C(
|
|
5622
|
-
infoAccessible:
|
|
5623
|
-
showAccessible:
|
|
5624
|
-
onAccessibleCheck: (e) =>
|
|
5625
|
-
onClickInfo: () =>
|
|
5626
|
-
routeUrl:
|
|
5627
|
-
isKiosk:
|
|
5628
|
-
showDetailsIcon:
|
|
5676
|
+
infoItems: C(H.routeStore.routeDistance),
|
|
5677
|
+
infoAccessible: H.routeStore.onlyAccessible,
|
|
5678
|
+
showAccessible: H.routeStore.showAccessible,
|
|
5679
|
+
onAccessibleCheck: (e) => H.routeStore.setOnlyAccessible(e),
|
|
5680
|
+
onClickInfo: () => H.showOverlay(),
|
|
5681
|
+
routeUrl: z.routeQRCodeUrl,
|
|
5682
|
+
isKiosk: z.kiosk,
|
|
5683
|
+
showDetailsIcon: z.showRouteInstantly,
|
|
5629
5684
|
onDetailsIconClick: () => {
|
|
5630
5685
|
var e;
|
|
5631
|
-
let { from: t, to: n } =
|
|
5686
|
+
let { from: t, to: n } = z.selectedRoute || {}, r = (e = n instanceof le ? n : null) == null ? t instanceof le ? t : null : e;
|
|
5632
5687
|
if (r) {
|
|
5633
5688
|
var i;
|
|
5634
5689
|
let e = r.id.toString(), t = (i = a[e]) == null ? x.find((t) => t.value === e) : i;
|
|
5635
|
-
|
|
5690
|
+
z.details = ((t == null ? void 0 : t.exhibitorId) == null ? r.exhibitors.find((e) => t == null ? void 0 : t.label.includes(e.name)) : r.exhibitors.find((e) => e.id === t.exhibitorId)) || r;
|
|
5636
5691
|
}
|
|
5637
5692
|
}
|
|
5638
5693
|
})
|
|
@@ -5640,7 +5695,7 @@ function Hi() {
|
|
|
5640
5695
|
});
|
|
5641
5696
|
}
|
|
5642
5697
|
function Ui() {
|
|
5643
|
-
return K(() =>
|
|
5698
|
+
return K(() => U.wayfinding && !z.menu && z.selectedRoute && z.list.type !== "route-planner" && /* @__PURE__ */ (0, Z.jsx)(Hi, {}));
|
|
5644
5699
|
}
|
|
5645
5700
|
//#endregion
|
|
5646
5701
|
//#region src/components/OverlayContainer.tsx
|
|
@@ -5648,46 +5703,46 @@ var Wi = {
|
|
|
5648
5703
|
full: "full",
|
|
5649
5704
|
medium: "medium",
|
|
5650
5705
|
small: "medium"
|
|
5651
|
-
}, Gi = (e) => Wi[e], Ki = () =>
|
|
5706
|
+
}, Gi = (e) => Wi[e], Ki = () => z.list.type === "search" || B.isRebooking && z.list.type === "exhibitors", qi = (e) => e ? 7 : z.details ? 3 : Ki() ? 9 : 3, Ji = q(({ isGDPR: e, consent: t }) => {
|
|
5652
5707
|
var n, r;
|
|
5653
5708
|
let i = (0, X.useCallback)((e) => {
|
|
5654
|
-
|
|
5709
|
+
z.desiredOverlaySize = e;
|
|
5655
5710
|
}, []), a = (0, X.useCallback)((e) => {
|
|
5656
|
-
|
|
5657
|
-
}, []), o = Gi(
|
|
5711
|
+
z.setOverlayScrolled(e);
|
|
5712
|
+
}, []), o = Gi(z.overlaySize), s = qi(!!((n = z.selectedRoute) != null && n.from && (r = z.selectedRoute) != null && r.to)), c = z.fullSizeOffset, l = (0, X.useMemo)(() => [z.list.type, z.details], [z.list.type, z.details]), u = (0, X.useMemo)(() => {
|
|
5658
5713
|
let e = (0, Y.default)({
|
|
5659
|
-
"-backdrop":
|
|
5660
|
-
"-no-transition":
|
|
5661
|
-
"-gallery-active":
|
|
5662
|
-
collapsed:
|
|
5663
|
-
kiosk:
|
|
5664
|
-
start:
|
|
5665
|
-
bottom:
|
|
5666
|
-
[
|
|
5667
|
-
}), t =
|
|
5714
|
+
"-backdrop": z.canvasStarted && z.shouldUseBackdrop && !z.dimmed && !z.galleryActive,
|
|
5715
|
+
"-no-transition": z.dimmed,
|
|
5716
|
+
"-gallery-active": z.galleryActive,
|
|
5717
|
+
collapsed: z.overlayCollapsed,
|
|
5718
|
+
kiosk: z.kiosk,
|
|
5719
|
+
start: z.overlayPosition === "left",
|
|
5720
|
+
bottom: z.overlayPosition !== "left",
|
|
5721
|
+
[z.overlaySize]: !0
|
|
5722
|
+
}), t = z.overlayInterfaceClasses.join(" ");
|
|
5668
5723
|
return t ? `${e} ${t}` : e;
|
|
5669
5724
|
}, [
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5725
|
+
z.canvasStarted,
|
|
5726
|
+
z.shouldUseBackdrop,
|
|
5727
|
+
z.dimmed,
|
|
5728
|
+
z.galleryActive,
|
|
5729
|
+
z.overlayCollapsed,
|
|
5730
|
+
z.kiosk,
|
|
5731
|
+
z.inIdle,
|
|
5732
|
+
z.setKioskModeEnabled,
|
|
5733
|
+
z.overlayPosition,
|
|
5734
|
+
z.overlaySize,
|
|
5735
|
+
z.overlayInterfaceClasses
|
|
5681
5736
|
]);
|
|
5682
5737
|
return /* @__PURE__ */ (0, Z.jsxs)(On, {
|
|
5683
|
-
open:
|
|
5738
|
+
open: z.isOverlayOpen,
|
|
5684
5739
|
size: o,
|
|
5685
|
-
particles:
|
|
5740
|
+
particles: z.isFeaturedExhibitorActive,
|
|
5686
5741
|
className: u,
|
|
5687
5742
|
mediumSizeMultiplier: s,
|
|
5688
5743
|
fullSizeOffset: c,
|
|
5689
|
-
disableDrag:
|
|
5690
|
-
forceFull:
|
|
5744
|
+
disableDrag: z.viewerMode && z.menu,
|
|
5745
|
+
forceFull: z.viewerMode && z.menu,
|
|
5691
5746
|
scrollResetKey: l,
|
|
5692
5747
|
onChangeSize: i,
|
|
5693
5748
|
onScrollStateChange: a,
|
|
@@ -5730,7 +5785,7 @@ function Yi() {
|
|
|
5730
5785
|
if (t === "1") localStorage.setItem(r, "true");
|
|
5731
5786
|
else if (t === "0") localStorage.setItem(r, "false");
|
|
5732
5787
|
else return;
|
|
5733
|
-
n && (e.searchParams.delete(n),
|
|
5788
|
+
n && (e.searchParams.delete(n), Ae(e.search) && window.location.reload());
|
|
5734
5789
|
} catch (e) {
|
|
5735
5790
|
console.error("Error in handleDebugMode:", e);
|
|
5736
5791
|
}
|
|
@@ -5740,20 +5795,14 @@ function Yi() {
|
|
|
5740
5795
|
function Xi(e) {
|
|
5741
5796
|
if (e = e.trim(), e.toLowerCase() === "__addcache") navigator.serviceWorker.getRegistrations().then((e) => {
|
|
5742
5797
|
if (!e.length) return alert("No registered service workers.");
|
|
5743
|
-
|
|
5744
|
-
|
|
5798
|
+
let t = [];
|
|
5799
|
+
H.exhibitorStore.exhibitors.forEach((e) => {
|
|
5745
5800
|
var n;
|
|
5746
5801
|
(n = e.logo) != null && n.url && t.push(e.logo.url), t.push(...e.gallery || []);
|
|
5747
5802
|
}), Promise.all(t.map((e) => fetch(e))).then((e) => alert(`${e.length} images loaded.`)).catch((e) => alert(e));
|
|
5748
5803
|
});
|
|
5749
|
-
else if (
|
|
5750
|
-
|
|
5751
|
-
if (t && !isNaN(parseInt(t[1]))) {
|
|
5752
|
-
let e = `${window.location.origin + window.location.pathname}?${t[0]}`;
|
|
5753
|
-
window.location.replace(e);
|
|
5754
|
-
}
|
|
5755
|
-
} else if (N()) return !0;
|
|
5756
|
-
else e.startsWith("debug") ? Yi() : e === (H.customSetKiosk || "setkiosk") && B.enableSetKioskMode(!0);
|
|
5804
|
+
else if (N()) return !0;
|
|
5805
|
+
else e.startsWith("debug") ? Yi() : e === (B.customSetKiosk || "setkiosk") && z.enableSetKioskMode(!0);
|
|
5757
5806
|
return !1;
|
|
5758
5807
|
}
|
|
5759
5808
|
//#endregion
|
|
@@ -5773,22 +5822,22 @@ function Qi({ className: e }) {
|
|
|
5773
5822
|
t = -1;
|
|
5774
5823
|
break;
|
|
5775
5824
|
case "Enter":
|
|
5776
|
-
e.preventDefault(),
|
|
5825
|
+
e.preventDefault(), H.openActiveListItem();
|
|
5777
5826
|
let n = i();
|
|
5778
5827
|
n && Xi(n.value);
|
|
5779
5828
|
return;
|
|
5780
5829
|
case "Escape":
|
|
5781
|
-
e.preventDefault(),
|
|
5830
|
+
e.preventDefault(), V.closeSearch();
|
|
5782
5831
|
return;
|
|
5783
5832
|
}
|
|
5784
|
-
t && (e.preventDefault(),
|
|
5833
|
+
t && (e.preventDefault(), H.changeActiveListIndex(t));
|
|
5785
5834
|
}
|
|
5786
5835
|
function i() {
|
|
5787
5836
|
return n.current;
|
|
5788
5837
|
}
|
|
5789
5838
|
let [a, o] = X.useState(""), [s, c] = X.useState(!1);
|
|
5790
|
-
|
|
5791
|
-
c(
|
|
5839
|
+
Ue(() => {
|
|
5840
|
+
c(H.uiState.kiosk && H.uiState.inIdle);
|
|
5792
5841
|
}), (0, X.useEffect)(() => {
|
|
5793
5842
|
if (!s) {
|
|
5794
5843
|
o("");
|
|
@@ -5806,67 +5855,67 @@ function Qi({ className: e }) {
|
|
|
5806
5855
|
!r && n === s.length ? (r = !0, c = 2e3) : r && n === 0 && (r = !1, t = (t + 1) % e.length, c = 500), i = setTimeout(a, c);
|
|
5807
5856
|
};
|
|
5808
5857
|
return a(), () => clearTimeout(i);
|
|
5809
|
-
}, [s]),
|
|
5858
|
+
}, [s]), Ue(() => {
|
|
5810
5859
|
let e = document.activeElement;
|
|
5811
|
-
if (
|
|
5860
|
+
if (H.uiState.overlaySize !== "full" && e === i() && !V.isFocused) {
|
|
5812
5861
|
var t;
|
|
5813
5862
|
(t = i()) == null || t.blur();
|
|
5814
5863
|
}
|
|
5815
|
-
}),
|
|
5816
|
-
|
|
5817
|
-
}),
|
|
5864
|
+
}), Ue(() => {
|
|
5865
|
+
H.uiState.menu && H.uiState.kiosk && V.setFocused(!1);
|
|
5866
|
+
}), Ue(() => {
|
|
5818
5867
|
let e = i(), t = document.activeElement;
|
|
5819
|
-
e &&
|
|
5868
|
+
e && V.isFocused && t !== e && !V.skipInputFocus && e.focus();
|
|
5820
5869
|
}), (0, X.useEffect)(() => {
|
|
5821
|
-
|
|
5870
|
+
H.fuzzySearchEngineStore.loadEngine();
|
|
5822
5871
|
}, []);
|
|
5823
5872
|
let l = (0, X.useCallback)(yn(() => {
|
|
5824
5873
|
var e, t;
|
|
5825
|
-
|
|
5874
|
+
V.searchText && M(k.Search, V.searchText), (e = (t = window).__resett) == null || e.call(t);
|
|
5826
5875
|
}, Zi), []);
|
|
5827
5876
|
function d() {
|
|
5828
5877
|
var e;
|
|
5829
|
-
|
|
5878
|
+
V.setSearchText(((e = i()) == null ? void 0 : e.value) || ""), l();
|
|
5830
5879
|
}
|
|
5831
5880
|
function f() {
|
|
5832
5881
|
var e, t;
|
|
5833
|
-
|
|
5882
|
+
V.setFocused(!0), (e = (t = window).__resett) == null || e.call(t);
|
|
5834
5883
|
}
|
|
5835
5884
|
function p() {
|
|
5836
|
-
|
|
5885
|
+
V.isFocused || (V.handleSearchAction(), setTimeout(() => {
|
|
5837
5886
|
var e;
|
|
5838
5887
|
(e = i()) == null || e.focus();
|
|
5839
5888
|
}, 100));
|
|
5840
5889
|
}
|
|
5841
5890
|
function m() {
|
|
5842
|
-
|
|
5891
|
+
V.handleBackAction();
|
|
5843
5892
|
}
|
|
5844
5893
|
function h() {
|
|
5845
|
-
|
|
5894
|
+
V.closeSearch();
|
|
5846
5895
|
}
|
|
5847
5896
|
return K(() => /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
5848
|
-
className: (0, Y.default)("search-box", e,
|
|
5897
|
+
className: (0, Y.default)("search-box", e, V.searchBoxClass, { "efp-semi-transparent": H.uiState.setKioskModeEnabled }),
|
|
5849
5898
|
ref: t,
|
|
5850
5899
|
children: [
|
|
5851
5900
|
/* @__PURE__ */ (0, Z.jsx)("button", {
|
|
5852
5901
|
className: (0, Y.default)("search-box__button", "search-box__button--back", {
|
|
5853
|
-
"is-mobile-details":
|
|
5854
|
-
"search-box__button--home":
|
|
5902
|
+
"is-mobile-details": V.isMobileDetailsMode,
|
|
5903
|
+
"search-box__button--home": V.backMode !== "back" && H.uiState.viewerMode
|
|
5855
5904
|
}),
|
|
5856
5905
|
onClick: m,
|
|
5857
5906
|
type: "button",
|
|
5858
|
-
"aria-label":
|
|
5859
|
-
children: /* @__PURE__ */ (0, Z.jsx)("i", { className:
|
|
5907
|
+
"aria-label": V.backMode === "back" ? u("Go back") : u("Main menu"),
|
|
5908
|
+
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: V.backMode === "back" ? "icon-chevron-left" : H.uiState.viewerMode ? "icon-home-solid" : "icon-menu" })
|
|
5860
5909
|
}),
|
|
5861
5910
|
/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
5862
5911
|
className: "search-box__input-wrapper",
|
|
5863
|
-
children:
|
|
5912
|
+
children: V.shouldShowSearchInput ? /* @__PURE__ */ (0, Z.jsx)("input", {
|
|
5864
5913
|
ref: n,
|
|
5865
5914
|
type: "search",
|
|
5866
5915
|
className: "search-box__input",
|
|
5867
|
-
placeholder: s ? a :
|
|
5916
|
+
placeholder: s ? a : V.placeholder,
|
|
5868
5917
|
"aria-label": "Search",
|
|
5869
|
-
value:
|
|
5918
|
+
value: V.searchText,
|
|
5870
5919
|
onChange: d,
|
|
5871
5920
|
onKeyDown: r,
|
|
5872
5921
|
onFocus: f,
|
|
@@ -5874,32 +5923,32 @@ function Qi({ className: e }) {
|
|
|
5874
5923
|
autoCorrect: "off",
|
|
5875
5924
|
autoCapitalize: "off",
|
|
5876
5925
|
spellCheck: "false",
|
|
5877
|
-
disabled:
|
|
5926
|
+
disabled: H.uiState.setKioskModeEnabled
|
|
5878
5927
|
}) : /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
5879
5928
|
className: "search-box__title",
|
|
5880
5929
|
children: [
|
|
5881
|
-
|
|
5930
|
+
V.searchBoxIcon && /* @__PURE__ */ (0, Z.jsx)("i", { className: (0, Y.default)("search-box__title-icon", V.searchBoxIcon) }),
|
|
5882
5931
|
/* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
5883
5932
|
className: "search-box__title-content",
|
|
5884
5933
|
children: [/* @__PURE__ */ (0, Z.jsx)("strong", {
|
|
5885
5934
|
className: "search-box__title-text",
|
|
5886
|
-
children:
|
|
5887
|
-
}),
|
|
5935
|
+
children: V.searchBoxTitle
|
|
5936
|
+
}), V.searchBoxSubtitle && /* @__PURE__ */ (0, Z.jsx)("span", {
|
|
5888
5937
|
className: "search-box__title-subtitle",
|
|
5889
|
-
children:
|
|
5938
|
+
children: V.searchBoxSubtitle
|
|
5890
5939
|
})]
|
|
5891
5940
|
}),
|
|
5892
|
-
|
|
5941
|
+
V.searchBoxBadge ? /* @__PURE__ */ (0, Z.jsx)(rt, {
|
|
5893
5942
|
variant: "lightgray",
|
|
5894
5943
|
size: "md",
|
|
5895
5944
|
rounded: !0,
|
|
5896
5945
|
noMargins: !0,
|
|
5897
|
-
children:
|
|
5946
|
+
children: V.searchBoxBadge
|
|
5898
5947
|
}) : null
|
|
5899
5948
|
]
|
|
5900
5949
|
})
|
|
5901
5950
|
}),
|
|
5902
|
-
!
|
|
5951
|
+
!V.shouldShowSearchInput && V.searchBoxActions.map((e) => /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
5903
5952
|
className: "search-box__button search-box__button--ui-action",
|
|
5904
5953
|
onClick: e.handler,
|
|
5905
5954
|
type: "button",
|
|
@@ -5909,10 +5958,10 @@ function Qi({ className: e }) {
|
|
|
5909
5958
|
}, e.id)),
|
|
5910
5959
|
/* @__PURE__ */ (0, Z.jsx)("button", {
|
|
5911
5960
|
className: "search-box__button search-box__button--action",
|
|
5912
|
-
onClick:
|
|
5961
|
+
onClick: V.shouldShowSearchInput ? V.shouldShowCloseButton ? h : p : h,
|
|
5913
5962
|
type: "button",
|
|
5914
|
-
"aria-label":
|
|
5915
|
-
children: /* @__PURE__ */ (0, Z.jsx)("i", { className:
|
|
5963
|
+
"aria-label": V.ariaLabel,
|
|
5964
|
+
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: V.actionButtonIcon })
|
|
5916
5965
|
})
|
|
5917
5966
|
]
|
|
5918
5967
|
}));
|
|
@@ -5970,7 +6019,7 @@ ea.displayName = "SearchSubButton";
|
|
|
5970
6019
|
//#endregion
|
|
5971
6020
|
//#region src/components/SearchButtons/SearchSubButtons.tsx
|
|
5972
6021
|
var ta = (0, X.memo)(q(() => {
|
|
5973
|
-
let { searchButtonsStore: e } =
|
|
6022
|
+
let { searchButtonsStore: e } = H, t = (0, X.useRef)(null);
|
|
5974
6023
|
(0, X.useEffect)(() => {
|
|
5975
6024
|
let t = (t) => {
|
|
5976
6025
|
t.key === "Escape" && e.shouldShowSubButtons && e.hideSubButtons();
|
|
@@ -5991,13 +6040,13 @@ ta.displayName = "SearchSubButtons";
|
|
|
5991
6040
|
//#endregion
|
|
5992
6041
|
//#region src/components/SearchButtons/SearchButtons.tsx
|
|
5993
6042
|
var na = q(() => {
|
|
5994
|
-
let { searchButtonsStore: e } =
|
|
6043
|
+
let { searchButtonsStore: e } = H, t = (0, X.useMemo)(() => e.searchButtons.filter((e) => e.enabled), [e.searchButtons]);
|
|
5995
6044
|
return e.shouldShow ? /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
5996
6045
|
className: (0, Y.default)("efp-search-buttons", {
|
|
5997
|
-
"is-overlay-full":
|
|
5998
|
-
"is-long-levels": !
|
|
5999
|
-
"is-standalone":
|
|
6000
|
-
"efp-semi-transparent":
|
|
6046
|
+
"is-overlay-full": H.uiState.isOverlayOpen && H.uiState.overlaySize === "full",
|
|
6047
|
+
"is-long-levels": !B.shortLevelName,
|
|
6048
|
+
"is-standalone": H.uiState.overlayOnDemand && !H.uiState.isOverlayOpen,
|
|
6049
|
+
"efp-semi-transparent": H.uiState.setKioskModeEnabled
|
|
6001
6050
|
}),
|
|
6002
6051
|
children: [/* @__PURE__ */ (0, Z.jsx)(xi, {
|
|
6003
6052
|
ariaLabel: u("Search filters"),
|
|
@@ -6006,7 +6055,7 @@ var na = q(() => {
|
|
|
6006
6055
|
arrowPosition: "inside",
|
|
6007
6056
|
children: t.map((e) => /* @__PURE__ */ (0, Z.jsx)($i, {
|
|
6008
6057
|
...e,
|
|
6009
|
-
isDisabled:
|
|
6058
|
+
isDisabled: H.uiState.setKioskModeEnabled
|
|
6010
6059
|
}, e.id))
|
|
6011
6060
|
}), e.subButtonsEnabled && /* @__PURE__ */ (0, Z.jsx)(ta, {})]
|
|
6012
6061
|
}) : null;
|
|
@@ -6044,7 +6093,7 @@ var na = q(() => {
|
|
|
6044
6093
|
let n = t.map((e) => Number(e));
|
|
6045
6094
|
e.setPending("selectedVenues", n);
|
|
6046
6095
|
}, d = n === void 0 ? e.state.isOpen : n, f = r || (() => e.closeFilter()), p = t || e.state.visibleSections;
|
|
6047
|
-
return /* @__PURE__ */ (0, Z.jsx)(
|
|
6096
|
+
return /* @__PURE__ */ (0, Z.jsx)(Ve, {
|
|
6048
6097
|
open: d,
|
|
6049
6098
|
title: u("Sessions Filters"),
|
|
6050
6099
|
maxWidth: 800,
|
|
@@ -6222,7 +6271,7 @@ var na = q(() => {
|
|
|
6222
6271
|
let n = t;
|
|
6223
6272
|
e.setPending("selectedJobTitles", n);
|
|
6224
6273
|
}, l = n === void 0 ? e.state.isOpen : n, d = r || (() => e.closeFilter()), f = t || e.state.visibleSections;
|
|
6225
|
-
return /* @__PURE__ */ (0, Z.jsx)(
|
|
6274
|
+
return /* @__PURE__ */ (0, Z.jsx)(Ve, {
|
|
6226
6275
|
open: l,
|
|
6227
6276
|
title: u("Speaker Filters"),
|
|
6228
6277
|
maxWidth: 800,
|
|
@@ -6276,7 +6325,7 @@ var na = q(() => {
|
|
|
6276
6325
|
leftToNextLoad: 0,
|
|
6277
6326
|
timeoutId: 0,
|
|
6278
6327
|
get sectionStyle() {
|
|
6279
|
-
let { wsStarted: e, wsPosition: t } =
|
|
6328
|
+
let { wsStarted: e, wsPosition: t } = z, n = t === "top", r = {
|
|
6280
6329
|
right: 0,
|
|
6281
6330
|
width: "100%",
|
|
6282
6331
|
opacity: +!!e
|
|
@@ -6285,11 +6334,11 @@ var na = q(() => {
|
|
|
6285
6334
|
}
|
|
6286
6335
|
})), t = (0, X.useCallback)(() => {
|
|
6287
6336
|
var t, n;
|
|
6288
|
-
let r = ((t = (n = e.el) == null ? void 0 : n.getBoundingClientRect().width) == null ? 0 : t) -
|
|
6337
|
+
let r = ((t = (n = e.el) == null ? void 0 : n.getBoundingClientRect().width) == null ? 0 : t) - W(.3) * 2, i = 0, a = [];
|
|
6289
6338
|
do {
|
|
6290
6339
|
let t = e.all[e.index % e.all.length], n = e.imgByExhibitorId.get(t.id);
|
|
6291
6340
|
if (!n) break;
|
|
6292
|
-
let o = n.width *
|
|
6341
|
+
let o = n.width * z.wsImageHeightPx / n.height + 20;
|
|
6293
6342
|
if (i + o > r && a.length) break;
|
|
6294
6343
|
i += o, a.push({
|
|
6295
6344
|
key: e.keySeq++,
|
|
@@ -6304,7 +6353,7 @@ var na = q(() => {
|
|
|
6304
6353
|
e.loading = !0;
|
|
6305
6354
|
let t = e.all.slice(e.index, e.index + e.batchSize);
|
|
6306
6355
|
t.length < e.batchSize && (t = t.concat(e.all.slice(0, e.batchSize - t.length)));
|
|
6307
|
-
let n = await
|
|
6356
|
+
let n = await Re(new Map(t.map((e) => {
|
|
6308
6357
|
var t;
|
|
6309
6358
|
return [e.id, { fallback: (t = e.logo) == null ? void 0 : t.url }];
|
|
6310
6359
|
})));
|
|
@@ -6319,15 +6368,15 @@ var na = q(() => {
|
|
|
6319
6368
|
};
|
|
6320
6369
|
clearTimeout(e.timeoutId), e.timeoutId = window.setTimeout(r, oa);
|
|
6321
6370
|
}, [n, t]);
|
|
6322
|
-
return
|
|
6371
|
+
return He(() => {
|
|
6323
6372
|
let i, a = !0;
|
|
6324
6373
|
return (async () => {
|
|
6325
|
-
e.all =
|
|
6374
|
+
e.all = we(Ce.advertised), e.imgByExhibitorId = await n(), a && (t(), r(), z.wsStarted = !0, i = f(() => z.screenSize, t));
|
|
6326
6375
|
})(), () => {
|
|
6327
6376
|
a = !1, i == null || i(), clearInterval(e.timeoutId);
|
|
6328
6377
|
};
|
|
6329
6378
|
}), K(() => /* @__PURE__ */ (0, Z.jsx)("section", {
|
|
6330
|
-
className: (0, Y.default)("ws", { "efp-semi-transparent":
|
|
6379
|
+
className: (0, Y.default)("ws", { "efp-semi-transparent": z.setKioskModeEnabled }),
|
|
6331
6380
|
ref: (t) => e.el = t,
|
|
6332
6381
|
onMouseOver: () => clearInterval(e.timeoutId),
|
|
6333
6382
|
onMouseOut: r,
|
|
@@ -6343,9 +6392,9 @@ var na = q(() => {
|
|
|
6343
6392
|
ref: e.nodeRef,
|
|
6344
6393
|
href: `?${e.e.slug}`,
|
|
6345
6394
|
className: "ws__exhibitor",
|
|
6346
|
-
style: { height: `${
|
|
6395
|
+
style: { height: `${z.wsImageHeightPx}px` },
|
|
6347
6396
|
onClick: (t) => {
|
|
6348
|
-
t.preventDefault(),
|
|
6397
|
+
t.preventDefault(), ce(e.e), H.clickExhibitor(e.e);
|
|
6349
6398
|
},
|
|
6350
6399
|
children: /* @__PURE__ */ (0, Z.jsx)("img", {
|
|
6351
6400
|
src: (t = e.e.logo) == null ? void 0 : t.url,
|
|
@@ -6357,85 +6406,85 @@ var na = q(() => {
|
|
|
6357
6406
|
})
|
|
6358
6407
|
})
|
|
6359
6408
|
}));
|
|
6360
|
-
}), ca = () => K(() =>
|
|
6409
|
+
}), ca = () => K(() => z.wsShown ? /* @__PURE__ */ (0, Z.jsx)(sa, {}) : null), la = X.lazy(() => import(
|
|
6361
6410
|
/* webpackChunkName: "demo" */
|
|
6362
|
-
"./Demo-
|
|
6411
|
+
"./Demo-BIM3wFq3.js"
|
|
6363
6412
|
).then((e) => e.t)), ua = X.lazy(() => import(
|
|
6364
6413
|
/* webpackChunkName: "free" */
|
|
6365
|
-
"./Free-
|
|
6414
|
+
"./Free-D7U5AEcf.js"
|
|
6366
6415
|
)), da = X.lazy(() => import(
|
|
6367
6416
|
/* webpackChunkName: "debug" */
|
|
6368
|
-
"./Debug-
|
|
6417
|
+
"./Debug-C1YnJvnk.js"
|
|
6369
6418
|
)), fa = X.lazy(() => import(
|
|
6370
6419
|
/* webpackChunkName: "maplibre" */
|
|
6371
|
-
"./MaplibreAdapter-
|
|
6372
|
-
)), pa = X.lazy(() => import("./ModalContainer-
|
|
6420
|
+
"./MaplibreAdapter-CSAShUgd.js"
|
|
6421
|
+
)), pa = X.lazy(() => import("./ModalContainer-B33HKAAU.js").then((e) => e.n)), ma = X.lazy(() => import(
|
|
6373
6422
|
/* webpackChunkName: "cc-script" */
|
|
6374
|
-
"./CookieConsent-
|
|
6423
|
+
"./CookieConsent-B7cDBqp6.js"
|
|
6375
6424
|
).then((e) => e.t)), ha = X.lazy(() => import(
|
|
6376
6425
|
/* webpackChunkName: "cc-script" */
|
|
6377
|
-
"./GpsLoader-
|
|
6426
|
+
"./GpsLoader-BdUzK_Wq.js"
|
|
6378
6427
|
)), ga = X.lazy(() => import(
|
|
6379
6428
|
/* webpackChunkName: "set-kiosk-mode" */
|
|
6380
|
-
"./SetKioskMode-
|
|
6429
|
+
"./SetKioskMode-CJoi2gHM.js"
|
|
6381
6430
|
)), _a = X.lazy(() => import(
|
|
6382
6431
|
/* webpackChunkName: "show-kiosk" */
|
|
6383
|
-
"./ShowKiosk-
|
|
6432
|
+
"./ShowKiosk-H4rnBUGh.js"
|
|
6384
6433
|
)), va = q(function({ offHistory: e, consent: t }) {
|
|
6385
6434
|
var n, r, i, a, o, s;
|
|
6386
|
-
let [c, l] = (0, X.useState)(!1), [d, f] = (0, X.useState)(!1), p =
|
|
6387
|
-
|
|
6435
|
+
let [c, l] = (0, X.useState)(!1), [d, f] = (0, X.useState)(!1), p = H.maplibreStore.showMaplibre, m = z.searchButtonsOverride !== !1 && (!z.noOverlay || z.overlayOnDemand), h = !z.noOverlay || z.overlayOnDemand && (d || z.isOverlayOpen), _ = null;
|
|
6436
|
+
z.bannerType === "demo" ? _ = /* @__PURE__ */ (0, Z.jsx)(la, {}) : z.bannerType === "free" && (_ = /* @__PURE__ */ (0, Z.jsx)(ua, {}));
|
|
6388
6437
|
let v = () => {
|
|
6389
|
-
|
|
6438
|
+
A(!0), Ee(), H.uiState.hideCookieConsent = !0;
|
|
6390
6439
|
}, y = () => {
|
|
6391
|
-
|
|
6440
|
+
A(!1), Ee(), H.uiState.hideCookieConsent = !0;
|
|
6392
6441
|
};
|
|
6393
6442
|
(0, X.useEffect)(() => {
|
|
6394
6443
|
async function e() {
|
|
6395
|
-
let e = await
|
|
6444
|
+
let e = await ae();
|
|
6396
6445
|
l(!!(e || e === null));
|
|
6397
6446
|
}
|
|
6398
|
-
|
|
6399
|
-
}, []), J(() =>
|
|
6400
|
-
|
|
6401
|
-
}), J(() =>
|
|
6402
|
-
let b = !
|
|
6447
|
+
D(t) ? l(!0) : e();
|
|
6448
|
+
}, []), J(() => z.isOverlayOpen, (e) => e && f(!0)), J(() => z.selectedExhibitor, (e) => {
|
|
6449
|
+
H.heatmapStore.forceTrack ? (M(H.heatmapStore.forceTrack.action, H.heatmapStore.forceTrack.label), H.heatmapStore.forceTrack = null) : e && (se("exview", e.id), M(k.ViewExhibitor, e.name));
|
|
6450
|
+
}), J(() => z.selectedBooth, (e) => (e == null ? void 0 : e.name) && M(k.ViewBooth, e.name)), J(() => z.selectedCategory, (e) => (e == null ? void 0 : e.name) && M(k.ViewCategory, e == null ? void 0 : e.name)), J(() => z.selectedEventItem, (e) => (e == null ? void 0 : e.name) && M(k.ViewExhibitor, e.name));
|
|
6451
|
+
let b = !z.hideCookieConsent && !z.kiosk && c && t === "ask";
|
|
6403
6452
|
return /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
6404
6453
|
id: "efp-layout",
|
|
6405
6454
|
className: (0, Y.default)("layout", {
|
|
6406
|
-
"efp-kiosk":
|
|
6407
|
-
"efp-kiosk-route-active":
|
|
6408
|
-
"efp-layers-mode":
|
|
6409
|
-
"efp-ws-mode":
|
|
6410
|
-
"efp-no-overlay":
|
|
6411
|
-
"efp-overlay-on-demand":
|
|
6412
|
-
"efp-top-banner":
|
|
6413
|
-
"efp-viewer-mode":
|
|
6455
|
+
"efp-kiosk": z.kiosk,
|
|
6456
|
+
"efp-kiosk-route-active": z.kiosk && ((n = z.selectedRoute) == null ? void 0 : n.from) && ((r = z.selectedRoute) == null ? void 0 : r.to),
|
|
6457
|
+
"efp-layers-mode": H.layerStore.mode,
|
|
6458
|
+
"efp-ws-mode": z.wsShown,
|
|
6459
|
+
"efp-no-overlay": z.overlayHiddenNow,
|
|
6460
|
+
"efp-overlay-on-demand": z.overlayOnDemand,
|
|
6461
|
+
"efp-top-banner": z.bannerType === "free" && !z.freeBannerDismissed,
|
|
6462
|
+
"efp-viewer-mode": z.viewerMode
|
|
6414
6463
|
}),
|
|
6415
|
-
dir:
|
|
6416
|
-
style: { "--ui-scale":
|
|
6464
|
+
dir: z.rtl ? "rtl" : "ltr",
|
|
6465
|
+
style: { "--ui-scale": z.uiScale.toString() },
|
|
6417
6466
|
children: /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
6418
|
-
className: `layout__fixed expo-${
|
|
6467
|
+
className: `layout__fixed expo-${U.EXPO} overlay-${H.uiState.overlayPosition}`,
|
|
6419
6468
|
children: [
|
|
6420
|
-
(
|
|
6421
|
-
h &&
|
|
6469
|
+
(R.mode === ve.Radio || R.mode === ve.CheckBox) && !z.floorsControlHidden && H.initialized && /* @__PURE__ */ (0, Z.jsx)(Kr, {}),
|
|
6470
|
+
h && H.initialized && /* @__PURE__ */ (0, Z.jsx)(Ji, {
|
|
6422
6471
|
isGDPR: c,
|
|
6423
6472
|
consent: t
|
|
6424
6473
|
}),
|
|
6425
|
-
|
|
6426
|
-
(!
|
|
6427
|
-
m &&
|
|
6428
|
-
!
|
|
6429
|
-
!
|
|
6474
|
+
H.initialized && /* @__PURE__ */ (0, Z.jsx)($r, {}),
|
|
6475
|
+
(!z.noOverlay || z.overlayOnDemand && z.isOverlayOpen) && H.initialized && !(z.viewerMode && z.menu) && /* @__PURE__ */ (0, Z.jsx)(Qi, {}),
|
|
6476
|
+
m && H.initialized && /* @__PURE__ */ (0, Z.jsx)(na, {}),
|
|
6477
|
+
!z.noOverlay && H.initialized && /* @__PURE__ */ (0, Z.jsx)(si, {}),
|
|
6478
|
+
!z.mapControlsHidden && H.initialized && /* @__PURE__ */ (0, Z.jsx)(oi, {}),
|
|
6430
6479
|
/* @__PURE__ */ (0, Z.jsx)(Ur, {}),
|
|
6431
|
-
!
|
|
6432
|
-
|
|
6433
|
-
|
|
6480
|
+
!z.hideHeaderLogo && H.initialized && /* @__PURE__ */ (0, Z.jsx)(ca, {}),
|
|
6481
|
+
H.routeStore.gpsEnabled && /* @__PURE__ */ (0, Z.jsx)(ha, { requestCompassAllowed: !b }),
|
|
6482
|
+
_e && !p && /* @__PURE__ */ (0, Z.jsx)(ai, {}),
|
|
6434
6483
|
p && /* @__PURE__ */ (0, Z.jsx)(Rn, { children: /* @__PURE__ */ (0, Z.jsx)(X.Suspense, {
|
|
6435
6484
|
fallback: /* @__PURE__ */ (0, Z.jsx)("div", {}),
|
|
6436
|
-
children: /* @__PURE__ */ (0, Z.jsx)(fa, { viewMode:
|
|
6485
|
+
children: /* @__PURE__ */ (0, Z.jsx)(fa, { viewMode: H.maplibreStore.mapViewMode })
|
|
6437
6486
|
}) }),
|
|
6438
|
-
_ && !
|
|
6487
|
+
_ && !z.hideFreeOrDemo && !z.heatmap ? /* @__PURE__ */ (0, Z.jsx)(X.Suspense, {
|
|
6439
6488
|
fallback: null,
|
|
6440
6489
|
children: _
|
|
6441
6490
|
}) : null,
|
|
@@ -6451,49 +6500,49 @@ var na = q(() => {
|
|
|
6451
6500
|
fallback: null,
|
|
6452
6501
|
children: /* @__PURE__ */ (0, Z.jsx)(da, {})
|
|
6453
6502
|
}) : null,
|
|
6454
|
-
|
|
6503
|
+
z.modalActive.share ? /* @__PURE__ */ (0, Z.jsx)(X.Suspense, {
|
|
6455
6504
|
fallback: null,
|
|
6456
6505
|
children: /* @__PURE__ */ (0, Z.jsx)(pa, {
|
|
6457
6506
|
variant: "share",
|
|
6458
6507
|
ariaLabel: u("Share"),
|
|
6459
|
-
open:
|
|
6460
|
-
onClose: () =>
|
|
6508
|
+
open: z.modalActive.share,
|
|
6509
|
+
onClose: () => H.toggleModal("share"),
|
|
6461
6510
|
children: /* @__PURE__ */ (0, Z.jsx)(ia, {
|
|
6462
|
-
title: ((i =
|
|
6463
|
-
url: e ? `${window.location.origin}?${encodeURI(((o =
|
|
6511
|
+
title: ((i = z.selectedExhibitor) == null ? void 0 : i.name) || ((a = z.selectedEventItem) == null ? void 0 : a.name) || "",
|
|
6512
|
+
url: e ? `${window.location.origin}?${encodeURI(((o = z.selectedExhibitor) == null ? void 0 : o.slug) || ((s = z.selectedEventItem) == null ? void 0 : s.slug))}` : window.location.href
|
|
6464
6513
|
})
|
|
6465
6514
|
})
|
|
6466
6515
|
}) : null,
|
|
6467
|
-
|
|
6468
|
-
style: { left: `calc(50% + ${
|
|
6469
|
-
className:
|
|
6516
|
+
z.heatmap || z.heatmapYah ? /* @__PURE__ */ (0, Z.jsx)(Ir, {
|
|
6517
|
+
style: { left: `calc(50% + ${H.uiState.mapVisibleStart / 2}px)` },
|
|
6518
|
+
className: z.responsiveClass
|
|
6470
6519
|
}) : null,
|
|
6471
|
-
/* @__PURE__ */ (0, Z.jsx)(Ft, { active: !
|
|
6520
|
+
/* @__PURE__ */ (0, Z.jsx)(Ft, { active: !R.layersLoaded }),
|
|
6472
6521
|
/* @__PURE__ */ (0, Z.jsx)("div", { id: "fps" }),
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
|
|
6522
|
+
H.initialized && /* @__PURE__ */ (0, Z.jsx)(In, {}),
|
|
6523
|
+
H.initialized && /* @__PURE__ */ (0, Z.jsx)(ra, { store: H.sessionsFilterStore }),
|
|
6524
|
+
H.initialized && /* @__PURE__ */ (0, Z.jsx)(aa, { store: H.speakerFilterStore }),
|
|
6476
6525
|
/* @__PURE__ */ (0, Z.jsx)(Hr, {}),
|
|
6477
|
-
|
|
6526
|
+
H.initialized && z.setKioskModeEnabled && /* @__PURE__ */ (0, Z.jsx)(X.Suspense, {
|
|
6478
6527
|
fallback: null,
|
|
6479
6528
|
children: /* @__PURE__ */ (0, Z.jsx)(ga, {})
|
|
6480
6529
|
}),
|
|
6481
|
-
|
|
6530
|
+
H.initialized && !z.setKioskModeEnabled && /* @__PURE__ */ (0, Z.jsx)(X.Suspense, {
|
|
6482
6531
|
fallback: null,
|
|
6483
6532
|
children: /* @__PURE__ */ (0, Z.jsx)(_a, {})
|
|
6484
6533
|
})
|
|
6485
6534
|
]
|
|
6486
6535
|
})
|
|
6487
6536
|
});
|
|
6488
|
-
}), ya = q((e) => /* @__PURE__ */ (0, Z.jsx)(
|
|
6537
|
+
}), ya = q((e) => /* @__PURE__ */ (0, Z.jsx)(pt, {
|
|
6489
6538
|
...e,
|
|
6490
6539
|
levelLabel: u("Level")
|
|
6491
6540
|
}));
|
|
6492
6541
|
q(() => {
|
|
6493
|
-
let e =
|
|
6494
|
-
return /* @__PURE__ */ (0, Z.jsx)(
|
|
6542
|
+
let e = z.overlaySize === "full";
|
|
6543
|
+
return /* @__PURE__ */ (0, Z.jsx)(xt, {
|
|
6495
6544
|
isFull: e,
|
|
6496
|
-
onToggle: () =>
|
|
6545
|
+
onToggle: () => z.toggleMapOverlay(),
|
|
6497
6546
|
ariaLabel: u(e ? "Collapse overlay" : "Expand overlay")
|
|
6498
6547
|
});
|
|
6499
6548
|
}), (0, X.createContext)(null);
|