@expofp/floorplan 3.0.3 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{CookieConsent-CqkxkIwX.js → CookieConsent-20OSplsa.js} +487 -485
- package/dist/browser/{Debug-Dks0egsG.js → Debug-DVY7QSH3.js} +11 -10
- package/dist/browser/{Demo-DBNmcPwz.js → Demo-qAITctPP.js} +12 -11
- package/dist/browser/{Free-BnsFOhog.js → Free-DAX07Faq.js} +14 -13
- package/dist/browser/{Gallery-D9sKC8mp.js → Gallery-BhQo5kwQ.js} +22 -21
- package/dist/browser/{GpsLoader-Dfum4xB9.js → GpsLoader-CiHW2urc.js} +32 -31
- package/dist/browser/{KioskStore-DnhZo-Ov.js → KioskStore-CwZLrrqy.js} +35 -35
- package/dist/browser/{Mapbox-BWK98Zf_.js → Mapbox-C65ZvpNQ.js} +9 -9
- package/dist/browser/{SetKioskMode-DPOCqSzq.js → SetKioskMode-C4z7Sz25.js} +8 -8
- package/dist/browser/{ShowKiosk-CWHtQFiJ.js → ShowKiosk-stxqqSB7.js} +10 -9
- package/dist/browser/{ThreeComponent-COgPMNab.js → ThreeComponent-BXwxseVE.js} +10 -9
- package/dist/browser/{TouchHand-Ky80pfba.js → TouchHand-Dz318pf9.js} +5 -5
- package/dist/browser/{ViewerMenuPanel-DJ6pZIMD.js → ViewerMenuPanel-CAK4bMYg.js} +18 -17
- package/dist/browser/{add-debug-secret-listener-CXd4jWZG.js → add-debug-secret-listener-Bji6Xb0a.js} +1 -1
- package/dist/browser/{boolean-editor-SHR1RkFd.js → boolean-editor-D6nJvUln.js} +7 -7
- package/dist/browser/bundle.json +51 -39
- package/dist/browser/{chunk-DFRW9JAK.js → chunk-DtdTVMkx.js} +1 -1
- package/dist/browser/{classnames-D5RYoiaD.js → classnames-DLO4G2Aq.js} +2 -2
- package/dist/browser/{client-B-AFqibD.js → client-D4nNjEPG.js} +5 -5
- package/dist/browser/{data-BPNnd1Ub.js → data-RX6r34oF.js} +4 -4
- package/dist/browser/{debug-overlay-Dm7tnN3s.js → debug-overlay-rk1N_z9_.js} +9 -9
- package/dist/browser/{debug-ui-T7mEy9PT.js → debug-ui-DE0fncQV.js} +7 -7
- package/dist/browser/{dist-Bxi6YEB1.js → dist-tX7hWUmY.js} +6 -6
- package/dist/browser/exports-Pb-YuGCR.js +1495 -0
- package/dist/browser/{favicon-CDOxAL2U.js → favicon-DwSbd3PB.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BBS0NAgY.js → fetch-retry.umd-BI9-HPVK.js} +2 -2
- package/dist/browser/{flex-CjUXae7J.js → flex-D-cGnQFh.js} +7 -7
- package/dist/browser/floorplan.loader-C01OVaKo.js +2830 -0
- package/dist/browser/{floorplan.ready-Vi6d8S_t.js → floorplan.ready-BIdCL_qu.js} +41 -38
- package/dist/browser/{fuse-B9KABHXb.js → fuse-DXAWz_SJ.js} +2 -2
- package/dist/browser/index.js +61 -10535
- package/dist/browser/is-debug-2b59TgVY.js +5901 -0
- package/dist/browser/{jsx-runtime-EyUcoQPo.js → jsx-runtime-BQn2tbwC.js} +2 -2
- package/dist/browser/{lib-DCBNlykb.js → lib-D4g_-i_A.js} +5 -5
- package/dist/browser/{main-DoISipn5.js → main-C7b3KFSJ.js} +1 -1
- package/dist/browser/mobx-Cl5IBMNd.js +24 -0
- package/dist/browser/{particles.min-CBF3r8H5.js → particles.min-fCrqBF0H.js} +2 -2
- package/dist/browser/{prop-types-bwVnWQ95.js → prop-types-CBcnHoAH.js} +2 -2
- package/dist/browser/react-CuflrHKC.js +301 -0
- package/dist/browser/{react-dom-DNErX4mG.js → react-dom-C7lq59RX.js} +4 -4
- package/dist/browser/{reset-all-settings-BP45RcR6.js → reset-all-settings-DbcfYPlT.js} +1 -1
- package/dist/browser/{settings-Dbk4UG1-.js → settings-CgR5mVuh.js} +7 -7
- package/dist/browser/{src-C46xGkrC.js → src-C9-vYgd8.js} +5 -5
- package/dist/browser/{store-COH1sU9Z.js → store-BCWrifaL.js} +2788 -2787
- package/dist/browser/{ui-CmIShfKe.js → ui-BUETQfZK.js} +7 -7
- package/package.json +3 -3
- package/dist/browser/mobx-DezH6kY5.js +0 -23
|
@@ -2,24 +2,26 @@ function __vite_inject_css__(css, id){ if (typeof document==='undefined') retur
|
|
|
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.0.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.0.4" };
|
|
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] = "03b15eb6-7a3f-44b9-85ea-df7a4a7502c1", e._sentryDebugIdIdentifier = "sentry-dbid-03b15eb6-7a3f-44b9-85ea-df7a4a7502c1");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t, t as n } from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
10
|
+
import { n as e, r as t, t as n } from "./chunk-DtdTVMkx.js";
|
|
11
|
+
import { D as r, O as i, T as a, Tt as o, U as s, W as c, Y as l, a as u, dt as d, i as f, k as p, l as m, m as h, n as g, t as _, u as v, v as y, w as b, y as x } from "./is-debug-2b59TgVY.js";
|
|
12
|
+
import { n as S } from "./exports-Pb-YuGCR.js";
|
|
13
|
+
import { t as C } from "./react-CuflrHKC.js";
|
|
14
|
+
import { t as w } from "./fuse-DXAWz_SJ.js";
|
|
15
|
+
import { t as T } from "./react-dom-C7lq59RX.js";
|
|
16
|
+
import { t as E } from "./jsx-runtime-BQn2tbwC.js";
|
|
17
|
+
import { t as D } from "./classnames-DLO4G2Aq.js";
|
|
18
|
+
import { $ as O, An as k, B as A, Bn as j, Cn as ee, Ct as M, D as N, Dn as P, E as F, En as te, F as ne, Fn as re, G as ie, Gn as I, H as ae, Hn as oe, I as se, In as ce, J as le, K as ue, L as de, Ln as fe, M as pe, Mn as me, N as he, Nn as ge, O as _e, On as ve, Pn as ye, Q as be, R as xe, Rn as Se, Sn as Ce, St as we, Tn as Te, U as Ee, Un as L, V as De, Vn as Oe, W as ke, Wn as R, _n as Ae, _t as je, a as z, at as Me, bn as Ne, bt as Pe, c as Fe, dt as Ie, et as Le, f as Re, ft as ze, g as Be, gt as Ve, h as He, ht as Ue, i as B, it as We, jn as Ge, k as Ke, l as V, lt as qe, m as Je, mt as Ye, n as Xe, nt as Ze, o as H, ot as Qe, p as U, pt as $e, r as W, rt as et, s as tt, st as nt, t as rt, u as it, ut as at, vn as ot, vt as st, wn as ct, wt as lt, xn as ut, xt as dt, yn as ft, yt as pt, z as mt, zn as G } from "./store-BCWrifaL.js";
|
|
19
|
+
import { n as ht, r as K, t as gt } from "./mobx-Cl5IBMNd.js";
|
|
20
|
+
import { n as _t } from "./Gallery-BhQo5kwQ.js";
|
|
21
|
+
import "./Demo-qAITctPP.js";
|
|
22
|
+
import "./TouchHand-Dz318pf9.js";
|
|
21
23
|
//#region src/components/SessionsFiltersModal.tsx
|
|
22
|
-
var q = /* @__PURE__ */ t(
|
|
24
|
+
var q = /* @__PURE__ */ t(C(), 1), J = /* @__PURE__ */ t(D(), 1), Y = E(), vt = L(({ store: e, visibleSections: t, open: n, onClose: r }) => {
|
|
23
25
|
let i = e.state.filters;
|
|
24
26
|
i.date.pending !== "all" || i.sortOrder.pending !== "desc" || i.use24hFormat.pending !== !1 || i.showBookmarksOnly.pending !== !1 || i.selectedTracks.pending.length > 0 || i.selectedVenues.pending.length;
|
|
25
27
|
let a = (0, q.useMemo)(() => e.rootStore.eventStore.futureEvents.length, [e.rootStore.eventStore.futureEvents]), o = (0, q.useMemo)(() => {
|
|
@@ -56,11 +58,11 @@ var q = /* @__PURE__ */ t(v(), 1), J = /* @__PURE__ */ t(D(), 1), Y = E(), vt =
|
|
|
56
58
|
}, u = n === void 0 ? e.state.isOpen : n, d = r || (() => e.closeFilter()), f = t || e.state.visibleSections;
|
|
57
59
|
return /* @__PURE__ */ (0, Y.jsx)(Cs, {
|
|
58
60
|
open: u,
|
|
59
|
-
title:
|
|
61
|
+
title: v("Sessions Filters"),
|
|
60
62
|
badge: e.activeFiltersCount > 0 ? e.activeFiltersCount : void 0,
|
|
61
63
|
maxWidth: 800,
|
|
62
64
|
footerLeft: [{
|
|
63
|
-
label:
|
|
65
|
+
label: v("Clear all"),
|
|
64
66
|
variant: "gray",
|
|
65
67
|
disabled: i.selectedTracks.pending.length === 0 && i.selectedVenues.pending.length === 0,
|
|
66
68
|
onClick: () => {
|
|
@@ -68,7 +70,7 @@ var q = /* @__PURE__ */ t(v(), 1), J = /* @__PURE__ */ t(D(), 1), Y = E(), vt =
|
|
|
68
70
|
}
|
|
69
71
|
}],
|
|
70
72
|
footerRight: [{
|
|
71
|
-
label:
|
|
73
|
+
label: v("Apply"),
|
|
72
74
|
variant: "primary",
|
|
73
75
|
onClick: () => {
|
|
74
76
|
e.applyFilters(), r && r();
|
|
@@ -98,7 +100,7 @@ var q = /* @__PURE__ */ t(v(), 1), J = /* @__PURE__ */ t(D(), 1), Y = E(), vt =
|
|
|
98
100
|
}),
|
|
99
101
|
f.includes("date") && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
100
102
|
className: "efp-sessions-filters-modal__section",
|
|
101
|
-
children: [/* @__PURE__ */ (0, Y.jsx)("h3", { children:
|
|
103
|
+
children: [/* @__PURE__ */ (0, Y.jsx)("h3", { children: v("Date") }), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
102
104
|
className: "efp-sessions-filters-modal__buttons",
|
|
103
105
|
children: [
|
|
104
106
|
"all",
|
|
@@ -107,13 +109,13 @@ var q = /* @__PURE__ */ t(v(), 1), J = /* @__PURE__ */ t(D(), 1), Y = E(), vt =
|
|
|
107
109
|
].map((t) => /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
108
110
|
className: (0, J.default)("efp-sessions-filters-modal__btn", { "is-active": i.date.pending === t }),
|
|
109
111
|
onClick: () => e.setPending("date", t),
|
|
110
|
-
children:
|
|
112
|
+
children: v(t === "all" ? "All dates" : t.charAt(0).toUpperCase() + t.slice(1))
|
|
111
113
|
}, t))
|
|
112
114
|
})]
|
|
113
115
|
}),
|
|
114
116
|
f.includes("time") && a >= 30 && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
115
117
|
className: "efp-sessions-filters-modal__section",
|
|
116
|
-
children: [/* @__PURE__ */ (0, Y.jsx)("h3", { children:
|
|
118
|
+
children: [/* @__PURE__ */ (0, Y.jsx)("h3", { children: v("Session time") }), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
117
119
|
className: "efp-sessions-filters-modal__buttons",
|
|
118
120
|
children: [
|
|
119
121
|
"all",
|
|
@@ -123,34 +125,34 @@ var q = /* @__PURE__ */ t(v(), 1), J = /* @__PURE__ */ t(D(), 1), Y = E(), vt =
|
|
|
123
125
|
].map((t) => /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
124
126
|
className: (0, J.default)("efp-sessions-filters-modal__btn", { "is-active": i.timeOfDay.pending === t }),
|
|
125
127
|
onClick: () => e.setPending("timeOfDay", t),
|
|
126
|
-
children:
|
|
128
|
+
children: v(t === "all" ? "All times" : t.charAt(0).toUpperCase() + t.slice(1))
|
|
127
129
|
}, t))
|
|
128
130
|
})]
|
|
129
131
|
}),
|
|
130
132
|
f.includes("sort") && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
131
133
|
className: "efp-sessions-filters-modal__section",
|
|
132
|
-
children: [/* @__PURE__ */ (0, Y.jsx)("h3", { children:
|
|
134
|
+
children: [/* @__PURE__ */ (0, Y.jsx)("h3", { children: v("Sort order") }), /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
133
135
|
className: "efp-sessions-filters-modal__buttons",
|
|
134
136
|
children: [/* @__PURE__ */ (0, Y.jsx)("button", {
|
|
135
137
|
className: (0, J.default)("efp-sessions-filters-modal__btn", { "is-active": i.sortOrder.pending === "desc" }),
|
|
136
138
|
onClick: () => e.setPending("sortOrder", "desc"),
|
|
137
|
-
children:
|
|
139
|
+
children: v("Earliest first")
|
|
138
140
|
}), /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
139
141
|
className: (0, J.default)("efp-sessions-filters-modal__btn", { "is-active": i.sortOrder.pending === "asc" }),
|
|
140
142
|
onClick: () => e.setPending("sortOrder", "asc"),
|
|
141
|
-
children:
|
|
143
|
+
children: v("Latest first")
|
|
142
144
|
})]
|
|
143
145
|
})]
|
|
144
146
|
}),
|
|
145
147
|
f.includes("settings") && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
146
148
|
className: "efp-sessions-filters-modal__section",
|
|
147
149
|
children: [
|
|
148
|
-
/* @__PURE__ */ (0, Y.jsx)("h3", { children:
|
|
150
|
+
/* @__PURE__ */ (0, Y.jsx)("h3", { children: v("Additional settings") }),
|
|
149
151
|
/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
150
152
|
className: "efp-sessions-filters-modal__toggle",
|
|
151
153
|
children: /* @__PURE__ */ (0, Y.jsx)(Io, {
|
|
152
154
|
name: "showBookmarksOnly",
|
|
153
|
-
label:
|
|
155
|
+
label: v("Show bookmarks only"),
|
|
154
156
|
value: i.showBookmarksOnly.pending,
|
|
155
157
|
onChange: (t) => e.setPending("showBookmarksOnly", t)
|
|
156
158
|
})
|
|
@@ -159,7 +161,7 @@ var q = /* @__PURE__ */ t(v(), 1), J = /* @__PURE__ */ t(D(), 1), Y = E(), vt =
|
|
|
159
161
|
className: "efp-sessions-filters-modal__toggle",
|
|
160
162
|
children: /* @__PURE__ */ (0, Y.jsx)(Io, {
|
|
161
163
|
name: "use24hFormat",
|
|
162
|
-
label:
|
|
164
|
+
label: v("Show time in 24h format"),
|
|
163
165
|
value: i.use24hFormat.pending,
|
|
164
166
|
onChange: (t) => e.setPending("use24hFormat", t)
|
|
165
167
|
})
|
|
@@ -234,8 +236,8 @@ var bt = (0, q.memo)(L(({ interfaceId: e, className: t }) => {
|
|
|
234
236
|
]) : e === "speakers" && z.speakerFilterStore.openFilterWithSections(["companies", "jobTitles"]);
|
|
235
237
|
},
|
|
236
238
|
type: "button",
|
|
237
|
-
"aria-label":
|
|
238
|
-
title:
|
|
239
|
+
"aria-label": v("Filters"),
|
|
240
|
+
title: v("Open filters"),
|
|
239
241
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-filter-horizontal-solid" })
|
|
240
242
|
});
|
|
241
243
|
}));
|
|
@@ -456,7 +458,7 @@ var Ot = L(({ showFilters: e = !0 }) => {
|
|
|
456
458
|
}
|
|
457
459
|
}) : /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
458
460
|
className: "efp-sessions-empty",
|
|
459
|
-
children: z.sessionsFilterStore.activeFiltersCount > 0 || z.searchStore.searchText || H.selectedTrack ?
|
|
461
|
+
children: z.sessionsFilterStore.activeFiltersCount > 0 || z.searchStore.searchText || H.selectedTrack ? v(a ? "No bookmarked events found. Try adjusting your filters." : "No events found. Try adjusting your filters.") : v("No events found")
|
|
460
462
|
})]
|
|
461
463
|
});
|
|
462
464
|
}), kt = L((e) => H.list.type !== "sessions" || H.details ? null : /* @__PURE__ */ (0, Y.jsx)(Ot, { ...e })), At = L(() => {
|
|
@@ -476,7 +478,7 @@ var Ot = L(({ showFilters: e = !0 }) => {
|
|
|
476
478
|
children: /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
477
479
|
className: "efp-tours-empty",
|
|
478
480
|
children: /* @__PURE__ */ (0, Y.jsxs)("p", { children: [
|
|
479
|
-
|
|
481
|
+
v("Error loading Guided Tours"),
|
|
480
482
|
": ",
|
|
481
483
|
r
|
|
482
484
|
] })
|
|
@@ -485,7 +487,7 @@ var Ot = L(({ showFilters: e = !0 }) => {
|
|
|
485
487
|
className: "efp-tours-content",
|
|
486
488
|
children: /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
487
489
|
className: "efp-tours-empty",
|
|
488
|
-
children: /* @__PURE__ */ (0, Y.jsx)("p", { children:
|
|
490
|
+
children: /* @__PURE__ */ (0, Y.jsx)("p", { children: v("No Guided Tours found matching your search") })
|
|
489
491
|
})
|
|
490
492
|
}) : /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
491
493
|
className: "efp-tours-content",
|
|
@@ -498,7 +500,7 @@ var Ot = L(({ showFilters: e = !0 }) => {
|
|
|
498
500
|
children: /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
499
501
|
className: "efp-tours-empty",
|
|
500
502
|
children: /* @__PURE__ */ (0, Y.jsxs)("p", { children: [
|
|
501
|
-
|
|
503
|
+
v("No Guided Tours available for"),
|
|
502
504
|
" ",
|
|
503
505
|
n
|
|
504
506
|
] })
|
|
@@ -946,11 +948,11 @@ function Ht() {
|
|
|
946
948
|
let [e, n] = (0, q.useState)(!1), [r, i] = (0, q.useState)(), [a, o] = (0, q.useState)(!1), s = (0, q.useRef)();
|
|
947
949
|
return gt(() => {
|
|
948
950
|
var e;
|
|
949
|
-
return o(H.overlayPosition === "left" && ((e =
|
|
951
|
+
return o(H.overlayPosition === "left" && ((e = c.getEngine()) == null ? void 0 : e.name) !== "EdgeHTML");
|
|
950
952
|
}), (0, q.useEffect)(() => {
|
|
951
953
|
a && !r && import(
|
|
952
954
|
/* webpackChunkName: "particlesjs" */
|
|
953
|
-
"./particles.min-
|
|
955
|
+
"./particles.min-fCrqBF0H.js"
|
|
954
956
|
).then((e) => /* @__PURE__ */ t(e.default, 1)).then((e) => {
|
|
955
957
|
i(e.default);
|
|
956
958
|
});
|
|
@@ -1204,7 +1206,7 @@ var Ut = L(Ht), Wt = () => {
|
|
|
1204
1206
|
})
|
|
1205
1207
|
}), en = () => import(
|
|
1206
1208
|
/* webpackChunkName: "react-virtuoso-entity-list" */
|
|
1207
|
-
"./dist-
|
|
1209
|
+
"./dist-tX7hWUmY.js"
|
|
1208
1210
|
).then((e) => ({ default: e.Virtuoso })).catch(() => new Promise((e) => setTimeout(() => e(en()), 3e3))), tn = (0, q.lazy)(en), nn = ["ipia2025"], rn = L(({ updatedScrollableRef: e, updateScroll: t }) => {
|
|
1209
1211
|
let n = (0, q.useContext)(Kt), r = (0, q.useRef)(null), i = H.getListScrollItemId(H.list.type), a = nn.includes(j.EXPO);
|
|
1210
1212
|
(0, q.useEffect)(() => {
|
|
@@ -1331,7 +1333,7 @@ var Ut = L(Ht), Wt = () => {
|
|
|
1331
1333
|
};
|
|
1332
1334
|
return e.length === 0 ? /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1333
1335
|
className: "efp-tours-empty",
|
|
1334
|
-
children: /* @__PURE__ */ (0, Y.jsx)("p", { children:
|
|
1336
|
+
children: /* @__PURE__ */ (0, Y.jsx)("p", { children: v("No Guided Tours found") })
|
|
1335
1337
|
}) : /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1336
1338
|
className: "efp-tours-list",
|
|
1337
1339
|
children: e.map((e) => /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
@@ -1609,7 +1611,7 @@ var un = /* @__PURE__ */ t(T(), 1), dn = {
|
|
|
1609
1611
|
e.closeFilter();
|
|
1610
1612
|
},
|
|
1611
1613
|
footerLeft: [{
|
|
1612
|
-
label:
|
|
1614
|
+
label: v("Clear all"),
|
|
1613
1615
|
onClick: () => {
|
|
1614
1616
|
e.clearPendingItems();
|
|
1615
1617
|
},
|
|
@@ -1617,7 +1619,7 @@ var un = /* @__PURE__ */ t(T(), 1), dn = {
|
|
|
1617
1619
|
disabled: i.pendingSelectedIds.length === 0
|
|
1618
1620
|
}],
|
|
1619
1621
|
footerRight: [{
|
|
1620
|
-
label: i.pendingSelectedIds.length > 0 ? `Show #${i.totalItemsCount}# Matching Exhibitors` :
|
|
1622
|
+
label: i.pendingSelectedIds.length > 0 ? `Show #${i.totalItemsCount}# Matching Exhibitors` : v("Show All Exhibitors"),
|
|
1621
1623
|
onClick: () => {
|
|
1622
1624
|
e.applyFilter();
|
|
1623
1625
|
},
|
|
@@ -1669,25 +1671,25 @@ var un = /* @__PURE__ */ t(T(), 1), dn = {
|
|
|
1669
1671
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
1670
1672
|
className: (0, J.default)("efp-sidebarActions", e),
|
|
1671
1673
|
role: "toolbar",
|
|
1672
|
-
"aria-label":
|
|
1674
|
+
"aria-label": v("Sidebar Actions"),
|
|
1673
1675
|
children: [
|
|
1674
1676
|
a && /* @__PURE__ */ (0, Y.jsxs)("button", {
|
|
1675
1677
|
type: "button",
|
|
1676
1678
|
className: "efp-actionButton efp-actionButton--directions",
|
|
1677
1679
|
onClick: u,
|
|
1678
|
-
title:
|
|
1679
|
-
"aria-label":
|
|
1680
|
+
title: v("Directions"),
|
|
1681
|
+
"aria-label": v("Directions"),
|
|
1680
1682
|
children: [/* @__PURE__ */ (0, Y.jsx)("i", {
|
|
1681
1683
|
className: "icon-directions",
|
|
1682
1684
|
"aria-hidden": "true"
|
|
1683
|
-
}),
|
|
1685
|
+
}), v("Directions")]
|
|
1684
1686
|
}),
|
|
1685
1687
|
r && /* @__PURE__ */ (0, Y.jsx)(hn, {
|
|
1686
1688
|
className: "efp-visited-btn",
|
|
1687
|
-
"aria-label":
|
|
1689
|
+
"aria-label": v(n ? "Visited" : "Not visited"),
|
|
1688
1690
|
"aria-pressed": n,
|
|
1689
1691
|
checked: n,
|
|
1690
|
-
label:
|
|
1692
|
+
label: v("Visited"),
|
|
1691
1693
|
onClick: l == null ? (() => {}) : l
|
|
1692
1694
|
}),
|
|
1693
1695
|
i && /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
@@ -1696,8 +1698,8 @@ var un = /* @__PURE__ */ t(T(), 1), dn = {
|
|
|
1696
1698
|
isActive: t,
|
|
1697
1699
|
animate: p
|
|
1698
1700
|
}),
|
|
1699
|
-
title:
|
|
1700
|
-
"aria-label":
|
|
1701
|
+
title: v(t ? "Remove from Bookmarks" : "Save to Bookmarks"),
|
|
1702
|
+
"aria-label": v(t ? "Remove from Bookmarks" : "Save to Bookmarks"),
|
|
1701
1703
|
"aria-pressed": t,
|
|
1702
1704
|
onClick: () => {
|
|
1703
1705
|
m(!0), c(), setTimeout(() => {
|
|
@@ -1712,19 +1714,19 @@ var un = /* @__PURE__ */ t(T(), 1), dn = {
|
|
|
1712
1714
|
o && /* @__PURE__ */ (0, Y.jsxs)("button", {
|
|
1713
1715
|
type: "button",
|
|
1714
1716
|
className: "efp-actionButton efp-actionButton--route-planner",
|
|
1715
|
-
title:
|
|
1716
|
-
"aria-label":
|
|
1717
|
+
title: v("Route planner"),
|
|
1718
|
+
"aria-label": v("Route planner"),
|
|
1717
1719
|
onClick: d,
|
|
1718
1720
|
children: [/* @__PURE__ */ (0, Y.jsx)("i", {
|
|
1719
1721
|
className: "icon-route-solid",
|
|
1720
1722
|
"aria-hidden": "true"
|
|
1721
|
-
}),
|
|
1723
|
+
}), v("Route planner")]
|
|
1722
1724
|
}),
|
|
1723
1725
|
s && /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
1724
1726
|
type: "button",
|
|
1725
1727
|
className: "efp-actionButton efp-actionButton--share",
|
|
1726
|
-
title:
|
|
1727
|
-
"aria-label":
|
|
1728
|
+
title: v("Share"),
|
|
1729
|
+
"aria-label": v("Share"),
|
|
1728
1730
|
onClick: f,
|
|
1729
1731
|
children: /* @__PURE__ */ (0, Y.jsx)("i", {
|
|
1730
1732
|
className: "icon-share",
|
|
@@ -1839,7 +1841,7 @@ var Tn = L(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1839
1841
|
onClick: o,
|
|
1840
1842
|
children: e
|
|
1841
1843
|
});
|
|
1842
|
-
},
|
|
1844
|
+
}, y = (e, s = !1) => Object.entries(e).map(([e, s]) => {
|
|
1843
1845
|
let c = g(e);
|
|
1844
1846
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
1845
1847
|
className: "efp-schedule__item",
|
|
@@ -1897,7 +1899,7 @@ var Tn = L(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1897
1899
|
onClick: (t) => p(t, e, c),
|
|
1898
1900
|
"aria-expanded": f,
|
|
1899
1901
|
"aria-controls": `event-desc-${e}-${c}`,
|
|
1900
|
-
children:
|
|
1902
|
+
children: v(f ? "Show Less" : "Show More")
|
|
1901
1903
|
})]
|
|
1902
1904
|
})
|
|
1903
1905
|
]
|
|
@@ -1909,10 +1911,10 @@ var Tn = L(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1909
1911
|
});
|
|
1910
1912
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
1911
1913
|
className: (0, J.default)("efp-schedule", { "is-sessions": i }),
|
|
1912
|
-
children: [
|
|
1914
|
+
children: [y(d), Object.keys(f).length > 0 && /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1913
1915
|
className: "efp-schedule__past-events-header",
|
|
1914
|
-
children:
|
|
1915
|
-
}),
|
|
1916
|
+
children: v("Past Sessions")
|
|
1917
|
+
}), y(f, !0)] })]
|
|
1916
1918
|
});
|
|
1917
1919
|
}), En = L(({ booth: e, level: t }) => /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
1918
1920
|
className: "booth__content -reg",
|
|
@@ -1920,7 +1922,7 @@ var Tn = L(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1920
1922
|
/* @__PURE__ */ (0, Y.jsx)(xs, { level: t }),
|
|
1921
1923
|
/* @__PURE__ */ (0, Y.jsxs)(mn, {
|
|
1922
1924
|
variant: "orange",
|
|
1923
|
-
children: [/* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-hand-solid" }),
|
|
1925
|
+
children: [/* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-hand-solid" }), v("On Hold")]
|
|
1924
1926
|
}),
|
|
1925
1927
|
/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
1926
1928
|
className: "booth__infos",
|
|
@@ -1934,7 +1936,7 @@ var Tn = L(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1934
1936
|
className: "booth__info-body",
|
|
1935
1937
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1936
1938
|
className: "booth__info-title",
|
|
1937
|
-
children:
|
|
1939
|
+
children: v("{{boothTerm}} Type", { boothTerm: G.boothTerm })
|
|
1938
1940
|
}), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1939
1941
|
className: "booth__info-val",
|
|
1940
1942
|
children: e.type
|
|
@@ -1950,7 +1952,7 @@ var Tn = L(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1950
1952
|
className: "booth__info-body",
|
|
1951
1953
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1952
1954
|
className: "booth__info-title",
|
|
1953
|
-
children:
|
|
1955
|
+
children: v("Size")
|
|
1954
1956
|
}), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1955
1957
|
className: "booth__info-val",
|
|
1956
1958
|
children: e.size
|
|
@@ -1966,7 +1968,7 @@ var Tn = L(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1966
1968
|
className: "booth__info-body",
|
|
1967
1969
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1968
1970
|
className: "booth__info-title",
|
|
1969
|
-
children:
|
|
1971
|
+
children: v("Price")
|
|
1970
1972
|
}), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1971
1973
|
className: "booth__info-val",
|
|
1972
1974
|
children: e.price
|
|
@@ -1978,7 +1980,7 @@ var Tn = L(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1978
1980
|
]
|
|
1979
1981
|
})), Dn = L(() => /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1980
1982
|
className: "booth__content -reg",
|
|
1981
|
-
children: /* @__PURE__ */ (0, Y.jsx)("div", { children:
|
|
1983
|
+
children: /* @__PURE__ */ (0, Y.jsx)("div", { children: v("Reserved") })
|
|
1982
1984
|
}));
|
|
1983
1985
|
//#endregion
|
|
1984
1986
|
//#region src/utils/is-iframe.ts
|
|
@@ -1990,7 +1992,7 @@ function On() {
|
|
|
1990
1992
|
}
|
|
1991
1993
|
}
|
|
1992
1994
|
var kn = On();
|
|
1993
|
-
|
|
1995
|
+
o.log("Running in iframe: ", kn);
|
|
1994
1996
|
//#endregion
|
|
1995
1997
|
//#region src/components/Booth/BoothWithoutExhibitor.tsx
|
|
1996
1998
|
var An = L(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking: i, level: a }) => {
|
|
@@ -2016,7 +2018,7 @@ var An = L(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2016
2018
|
className: "booth__info-body",
|
|
2017
2019
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
2018
2020
|
className: "booth__info-title",
|
|
2019
|
-
children:
|
|
2021
|
+
children: v("{{boothTerm}} Type", { boothTerm: G.boothTerm })
|
|
2020
2022
|
}), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
2021
2023
|
className: "booth__info-val",
|
|
2022
2024
|
children: e.type
|
|
@@ -2032,7 +2034,7 @@ var An = L(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2032
2034
|
className: "booth__info-body",
|
|
2033
2035
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
2034
2036
|
className: "booth__info-title",
|
|
2035
|
-
children:
|
|
2037
|
+
children: v("Size")
|
|
2036
2038
|
}), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
2037
2039
|
className: "booth__info-val",
|
|
2038
2040
|
children: e.size
|
|
@@ -2048,7 +2050,7 @@ var An = L(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2048
2050
|
className: "booth__info-body",
|
|
2049
2051
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
2050
2052
|
className: "booth__info-title",
|
|
2051
|
-
children:
|
|
2053
|
+
children: v("Price")
|
|
2052
2054
|
}), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
2053
2055
|
className: "booth__info-val",
|
|
2054
2056
|
children: e.price
|
|
@@ -2066,11 +2068,11 @@ var An = L(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2066
2068
|
children: [!i && n && /* @__PURE__ */ (0, Y.jsx)(N, {
|
|
2067
2069
|
link: s == null ? void 0 : s.href,
|
|
2068
2070
|
target: kn ? "_blank" : "_self",
|
|
2069
|
-
children:
|
|
2071
|
+
children: v("Buy")
|
|
2070
2072
|
}), !i && r && /* @__PURE__ */ (0, Y.jsx)(N, {
|
|
2071
2073
|
link: (c == null ? void 0 : c.href) || (s == null ? void 0 : s.href),
|
|
2072
2074
|
target: kn ? "_blank" : "_self",
|
|
2073
|
-
children:
|
|
2075
|
+
children: v("Reserve")
|
|
2074
2076
|
})]
|
|
2075
2077
|
})
|
|
2076
2078
|
]
|
|
@@ -2141,7 +2143,7 @@ var An = L(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2141
2143
|
return this.booth.fullName;
|
|
2142
2144
|
},
|
|
2143
2145
|
get reserveTitle() {
|
|
2144
|
-
return G.reserveButtonTerm ||
|
|
2146
|
+
return G.reserveButtonTerm || v("Reserve");
|
|
2145
2147
|
},
|
|
2146
2148
|
get descriptionCombined() {
|
|
2147
2149
|
return this.booth.description || G.reserveInstructions || "";
|
|
@@ -2359,7 +2361,7 @@ var In = () => I(() => !H.menu && H.list.type === "category" && H.details instan
|
|
|
2359
2361
|
}, [z.categoryFilterStore.state.isOpen, e.categories]), /* @__PURE__ */ (0, Y.jsx)(pn, {
|
|
2360
2362
|
store: z.categoryFilterStore,
|
|
2361
2363
|
rootStore: z,
|
|
2362
|
-
title:
|
|
2364
|
+
title: v("Categories"),
|
|
2363
2365
|
groups: t
|
|
2364
2366
|
});
|
|
2365
2367
|
}), zn = ({ className: e, style: t, title: n, titles: r, viewMode: i, viewModeSwitch: a, findLocation: o, layersOpen: s = !1, layersList: c, layersActiveItems: l = [], layersWidth: u, onViewModeSwitch: d, onClickFindLocation: f, onClickZoomIn: p, onClickZoomOut: m, onClickByWidth: h, onChangeLayers: g }) => {
|
|
@@ -2498,8 +2500,8 @@ function Bn() {
|
|
|
2498
2500
|
},
|
|
2499
2501
|
get style() {
|
|
2500
2502
|
return {
|
|
2501
|
-
[H.rtl ? "left" : "right"]: H.overlayPosition === "left" ? H.overlayCollapsed ?
|
|
2502
|
-
bottom: H.overlayPosition === "left" ?
|
|
2503
|
+
[H.rtl ? "left" : "right"]: H.overlayPosition === "left" ? H.overlayCollapsed ? i(.9) : (H.kiosk ? 10 : 0) + i(.7) + "px" : "10px",
|
|
2504
|
+
bottom: H.overlayPosition === "left" ? i(4) : i(9.6)
|
|
2503
2505
|
};
|
|
2504
2506
|
},
|
|
2505
2507
|
get layers() {
|
|
@@ -2516,14 +2518,14 @@ function Bn() {
|
|
|
2516
2518
|
return I(() => /* @__PURE__ */ (0, Y.jsx)(zn, {
|
|
2517
2519
|
className: e.className,
|
|
2518
2520
|
style: e.style,
|
|
2519
|
-
title:
|
|
2521
|
+
title: v("Map controls"),
|
|
2520
2522
|
titles: [
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2523
|
+
v("Find your location"),
|
|
2524
|
+
v("Zoom In"),
|
|
2525
|
+
v("Zoom Out"),
|
|
2526
|
+
v("View switch"),
|
|
2527
|
+
v("Fit to screen"),
|
|
2528
|
+
v("Layers")
|
|
2527
2529
|
],
|
|
2528
2530
|
onClickFindLocation: () => z.routeStore.findLocation(),
|
|
2529
2531
|
onClickZoomIn: () => H.zoomIn(),
|
|
@@ -2550,7 +2552,7 @@ var Vn = class extends q.Component {
|
|
|
2550
2552
|
return { hasError: !0 };
|
|
2551
2553
|
}
|
|
2552
2554
|
componentDidCatch(e, t) {
|
|
2553
|
-
|
|
2555
|
+
S(e, { contexts: { react: { componentStack: t.componentStack } } });
|
|
2554
2556
|
}
|
|
2555
2557
|
render() {
|
|
2556
2558
|
return this.state.hasError ? /* @__PURE__ */ (0, Y.jsx)("h4", {
|
|
@@ -2673,7 +2675,7 @@ function Yn() {
|
|
|
2673
2675
|
};
|
|
2674
2676
|
function d(e) {
|
|
2675
2677
|
if (e === null) return "";
|
|
2676
|
-
let t = e.split(RegExp("(?=!\\*\\/\\/\\|\\|\\^\\^[a-z]{2}\\^\\^\\/\\/\\|\\|\\*!)")), n = `!*//||^^${
|
|
2678
|
+
let t = e.split(RegExp("(?=!\\*\\/\\/\\|\\|\\^\\^[a-z]{2}\\^\\^\\/\\/\\|\\|\\*!)")), n = `!*//||^^${f()}^^//||*!`, r = t.find((e) => e.startsWith(n));
|
|
2677
2679
|
return r == null ? t[0].startsWith("!*//||^^") && t[0].length > 18 ? t[0].substring(18) : t[0] : r.substring(18);
|
|
2678
2680
|
}
|
|
2679
2681
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
@@ -2824,7 +2826,7 @@ function Yn() {
|
|
|
2824
2826
|
children: /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
2825
2827
|
type: "button",
|
|
2826
2828
|
onClick: () => a(!0),
|
|
2827
|
-
children:
|
|
2829
|
+
children: v("Show More")
|
|
2828
2830
|
})
|
|
2829
2831
|
}) : null,
|
|
2830
2832
|
H.kiosk && n && i ? /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
@@ -2972,7 +2974,7 @@ var rr = L(() => {
|
|
|
2972
2974
|
className: "market-materials",
|
|
2973
2975
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
2974
2976
|
className: "market-materials__title font-medium",
|
|
2975
|
-
children:
|
|
2977
|
+
children: v("Read More")
|
|
2976
2978
|
}), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
2977
2979
|
className: "market-materials__list",
|
|
2978
2980
|
role: "list",
|
|
@@ -2988,7 +2990,7 @@ var rr = L(() => {
|
|
|
2988
2990
|
className: "rebooking-notes__view-header",
|
|
2989
2991
|
children: /* @__PURE__ */ (0, Y.jsx)("strong", {
|
|
2990
2992
|
id: "note-label",
|
|
2991
|
-
children:
|
|
2993
|
+
children: v("Note")
|
|
2992
2994
|
})
|
|
2993
2995
|
}), /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
2994
2996
|
className: "rebooking-notes__edit",
|
|
@@ -3010,8 +3012,8 @@ var rr = L(() => {
|
|
|
3010
3012
|
r(e), a(e);
|
|
3011
3013
|
},
|
|
3012
3014
|
disabled: t === i,
|
|
3013
|
-
"aria-label":
|
|
3014
|
-
children:
|
|
3015
|
+
"aria-label": v("Save rebooking note"),
|
|
3016
|
+
children: v("Save note")
|
|
3015
3017
|
})
|
|
3016
3018
|
})]
|
|
3017
3019
|
})]
|
|
@@ -3031,7 +3033,7 @@ function sr(e, t) {
|
|
|
3031
3033
|
//#endregion
|
|
3032
3034
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
|
|
3033
3035
|
function cr(e, t) {
|
|
3034
|
-
e.prototype = Object.create(t.prototype), e.prototype.constructor = e,
|
|
3036
|
+
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, b(e, t);
|
|
3035
3037
|
}
|
|
3036
3038
|
//#endregion
|
|
3037
3039
|
//#region ../../node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/hasClass.js
|
|
@@ -3337,7 +3339,7 @@ var jr = Object.values || function(e) {
|
|
|
3337
3339
|
var r = e.call(this, t, n) || this;
|
|
3338
3340
|
return r.state = {
|
|
3339
3341
|
contextValue: { isMounting: !0 },
|
|
3340
|
-
handleExited: r.handleExited.bind(
|
|
3342
|
+
handleExited: r.handleExited.bind(a(r)),
|
|
3341
3343
|
firstRender: !0
|
|
3342
3344
|
}, r;
|
|
3343
3345
|
}
|
|
@@ -3368,7 +3370,7 @@ Nr.propTypes = {}, Nr.defaultProps = Mr;
|
|
|
3368
3370
|
//#region src/components/Exhibitor.tsx
|
|
3369
3371
|
var Pr = q.lazy(() => import(
|
|
3370
3372
|
/* webpackChunkName: "gallery" */
|
|
3371
|
-
"./Gallery-
|
|
3373
|
+
"./Gallery-BhQo5kwQ.js"
|
|
3372
3374
|
).then((e) => e.t));
|
|
3373
3375
|
function Fr() {
|
|
3374
3376
|
let e = (0, q.useRef)(), t = R(() => ({
|
|
@@ -3415,10 +3417,10 @@ function Fr() {
|
|
|
3415
3417
|
get sendLinkEmail() {
|
|
3416
3418
|
return this.exhibitor.privateEmail || this.exhibitor.email;
|
|
3417
3419
|
}
|
|
3418
|
-
})), { heatmapBar: n } = Mn(t.exhibitor), [r, i] = (0, q.useState)(!1), [a,
|
|
3420
|
+
})), { heatmapBar: n } = Mn(t.exhibitor), [r, i] = (0, q.useState)(!1), [a, s] = (0, q.useState)(!1), c = (0, q.useRef)(null);
|
|
3419
3421
|
(0, q.useEffect)(() => ((() => {
|
|
3420
|
-
if (
|
|
3421
|
-
let e =
|
|
3422
|
+
if (c.current) {
|
|
3423
|
+
let e = c.current.offsetHeight;
|
|
3422
3424
|
i(e > 300);
|
|
3423
3425
|
}
|
|
3424
3426
|
})(), () => {
|
|
@@ -3426,10 +3428,10 @@ function Fr() {
|
|
|
3426
3428
|
}), []), K(() => t.exhibitor, () => {
|
|
3427
3429
|
e.current && (e.current.parentElement.scrollTop = 0), t.collapsed = !0;
|
|
3428
3430
|
});
|
|
3429
|
-
function
|
|
3430
|
-
if (
|
|
3431
|
+
function l(e, t) {
|
|
3432
|
+
if (d(t), H.kiosk) return e.preventDefault();
|
|
3431
3433
|
}
|
|
3432
|
-
function
|
|
3434
|
+
function u(e, n, r) {
|
|
3433
3435
|
U(V.ClickCustomButton, t.exhibitor.name);
|
|
3434
3436
|
let i = {
|
|
3435
3437
|
externalId: t.exhibitor.externalId,
|
|
@@ -3439,20 +3441,20 @@ function Fr() {
|
|
|
3439
3441
|
};
|
|
3440
3442
|
H.onExhibitorCustomButtonClick && H.onExhibitorCustomButtonClick(i);
|
|
3441
3443
|
}
|
|
3442
|
-
function
|
|
3444
|
+
function d(e) {
|
|
3443
3445
|
U(e, t.exhibitor.name);
|
|
3444
3446
|
}
|
|
3445
|
-
let
|
|
3447
|
+
let p = (0, q.useRef)(), m = {
|
|
3446
3448
|
entering: { opacity: 1 },
|
|
3447
3449
|
entered: { opacity: 1 },
|
|
3448
3450
|
exiting: { opacity: 0 },
|
|
3449
3451
|
exited: { opacity: 0 }
|
|
3450
3452
|
};
|
|
3451
3453
|
return I(() => {
|
|
3452
|
-
var e, i,
|
|
3453
|
-
let
|
|
3454
|
+
var e, i, o;
|
|
3455
|
+
let x = t.exhibitor, S = G.isRebooking ? (() => {
|
|
3454
3456
|
let e = /* @__PURE__ */ new Set();
|
|
3455
|
-
for (let t of
|
|
3457
|
+
for (let t of x.booths) t instanceof me && t.size && e.add(t.size);
|
|
3456
3458
|
let t = Array.from(e);
|
|
3457
3459
|
return /* @__PURE__ */ (0, Y.jsxs)("div", { children: [
|
|
3458
3460
|
t.length > 0 && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
@@ -3470,7 +3472,7 @@ function Fr() {
|
|
|
3470
3472
|
className: "booth__info-body",
|
|
3471
3473
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3472
3474
|
className: "booth__info-title",
|
|
3473
|
-
children:
|
|
3475
|
+
children: v("Size")
|
|
3474
3476
|
}), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3475
3477
|
className: "booth__info-val",
|
|
3476
3478
|
children: t.join(", ")
|
|
@@ -3481,17 +3483,17 @@ function Fr() {
|
|
|
3481
3483
|
/* @__PURE__ */ (0, Y.jsx)(Ae, {
|
|
3482
3484
|
showTitle: !1,
|
|
3483
3485
|
options: ot,
|
|
3484
|
-
checked:
|
|
3485
|
-
onChange: (e) => z.exhibitorStore.setRebookingState(
|
|
3486
|
+
checked: x.rebookingState.toString(),
|
|
3487
|
+
onChange: (e) => z.exhibitorStore.setRebookingState(x, parseInt(e.target.value), x.rebookingNote)
|
|
3486
3488
|
}),
|
|
3487
3489
|
/* @__PURE__ */ (0, Y.jsx)(or, {
|
|
3488
3490
|
state: "default",
|
|
3489
|
-
value:
|
|
3490
|
-
onClickSave: (e) => z.exhibitorStore.setRebookingState(
|
|
3491
|
+
value: x.rebookingNote || "",
|
|
3492
|
+
onClickSave: (e) => z.exhibitorStore.setRebookingState(x, x.rebookingState, e)
|
|
3491
3493
|
}),
|
|
3492
3494
|
/* @__PURE__ */ (0, Y.jsx)(xr, {
|
|
3493
3495
|
in: z.exhibitorStore.rebookingStateChangeRequested,
|
|
3494
|
-
nodeRef:
|
|
3496
|
+
nodeRef: p,
|
|
3495
3497
|
timeout: 150,
|
|
3496
3498
|
appear: !0,
|
|
3497
3499
|
enter: !0,
|
|
@@ -3499,7 +3501,7 @@ function Fr() {
|
|
|
3499
3501
|
mountOnEnter: !0,
|
|
3500
3502
|
unmountOnExit: !0,
|
|
3501
3503
|
children: (e) => /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3502
|
-
ref:
|
|
3504
|
+
ref: p,
|
|
3503
3505
|
style: {
|
|
3504
3506
|
position: "fixed",
|
|
3505
3507
|
bottom: "1rem",
|
|
@@ -3507,10 +3509,10 @@ function Fr() {
|
|
|
3507
3509
|
zIndex: 9999,
|
|
3508
3510
|
transition: "opacity 150ms ease-in-out",
|
|
3509
3511
|
opacity: 0,
|
|
3510
|
-
...
|
|
3512
|
+
...m[e]
|
|
3511
3513
|
},
|
|
3512
3514
|
children: /* @__PURE__ */ (0, Y.jsx)(cn, {
|
|
3513
|
-
title: z.exhibitorStore.rebookingStateSaved ?
|
|
3515
|
+
title: z.exhibitorStore.rebookingStateSaved ? v("Changes saved") : v("Oops! Something went wrong"),
|
|
3514
3516
|
variant: z.exhibitorStore.rebookingStateSaved ? "success" : "error",
|
|
3515
3517
|
inline: !0,
|
|
3516
3518
|
closable: !0,
|
|
@@ -3523,8 +3525,8 @@ function Fr() {
|
|
|
3523
3525
|
] });
|
|
3524
3526
|
})() : null, C = (0, J.default)({
|
|
3525
3527
|
exhibitor: !0,
|
|
3526
|
-
"is-featured":
|
|
3527
|
-
bookmarked:
|
|
3528
|
+
"is-featured": x.featured,
|
|
3529
|
+
bookmarked: x.bookmarked,
|
|
3528
3530
|
[H.responsiveClass]: !0
|
|
3529
3531
|
}), w = () => {
|
|
3530
3532
|
t.collapsed = !1, setTimeout(t.updateOverlayContent);
|
|
@@ -3536,7 +3538,7 @@ function Fr() {
|
|
|
3536
3538
|
link: t,
|
|
3537
3539
|
inline: !0,
|
|
3538
3540
|
onClick: (e) => {
|
|
3539
|
-
|
|
3541
|
+
u(n, t, e);
|
|
3540
3542
|
},
|
|
3541
3543
|
target: "_blank",
|
|
3542
3544
|
children: e
|
|
@@ -3556,7 +3558,7 @@ function Fr() {
|
|
|
3556
3558
|
};
|
|
3557
3559
|
function D(e) {
|
|
3558
3560
|
if (e === null) return "";
|
|
3559
|
-
let t = e.split(RegExp("(?=!\\*\\/\\/\\|\\|\\^\\^[a-z]{2}\\^\\^\\/\\/\\|\\|\\*!)")), n = `!*//||^^${
|
|
3561
|
+
let t = e.split(RegExp("(?=!\\*\\/\\/\\|\\|\\^\\^[a-z]{2}\\^\\^\\/\\/\\|\\|\\*!)")), n = `!*//||^^${f()}^^//||*!`, r = t.find((e) => e.startsWith(n));
|
|
3560
3562
|
return r == null ? t[0].startsWith("!*//||^^") && t[0].length > 18 ? t[0].substring(18) : t[0] : r.substring(18);
|
|
3561
3563
|
}
|
|
3562
3564
|
function O() {
|
|
@@ -3571,7 +3573,7 @@ function Fr() {
|
|
|
3571
3573
|
};
|
|
3572
3574
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
3573
3575
|
className: C,
|
|
3574
|
-
"aria-label":
|
|
3576
|
+
"aria-label": v("Details"),
|
|
3575
3577
|
children: [
|
|
3576
3578
|
/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
3577
3579
|
className: "exhibitor__header",
|
|
@@ -3584,7 +3586,7 @@ function Fr() {
|
|
|
3584
3586
|
}),
|
|
3585
3587
|
/* @__PURE__ */ (0, Y.jsx)("span", {
|
|
3586
3588
|
dir: "auto",
|
|
3587
|
-
children:
|
|
3589
|
+
children: x.name
|
|
3588
3590
|
}),
|
|
3589
3591
|
n
|
|
3590
3592
|
]
|
|
@@ -3595,32 +3597,32 @@ function Fr() {
|
|
|
3595
3597
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-close" })
|
|
3596
3598
|
})]
|
|
3597
3599
|
}),
|
|
3598
|
-
|
|
3600
|
+
S || /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [
|
|
3599
3601
|
/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3600
3602
|
className: "exhibitor__buttons",
|
|
3601
3603
|
children: !H.isGuidedToursActive && /* @__PURE__ */ (0, Y.jsx)(gn, {
|
|
3602
3604
|
showBookmark: !H.disableBookmarked && !G.hideBookmarks && !H.kiosk,
|
|
3603
|
-
showDirections:
|
|
3605
|
+
showDirections: x.booths.length > 0 && j.wayfinding,
|
|
3604
3606
|
inBookmark: t.exhibitor.bookmarked,
|
|
3605
3607
|
showShare: O(),
|
|
3606
3608
|
showVisited: !H.kiosk,
|
|
3607
3609
|
visited: t.exhibitor.visited,
|
|
3608
|
-
onClickBookmark:
|
|
3609
|
-
onClickShare:
|
|
3610
|
+
onClickBookmark: y,
|
|
3611
|
+
onClickShare: h,
|
|
3610
3612
|
onClickDirections: () => {
|
|
3611
|
-
z.routeStore.clickRoute(null, z.routeStore.tempToBooth ||
|
|
3613
|
+
z.routeStore.clickRoute(null, z.routeStore.tempToBooth || x.booths[0]);
|
|
3612
3614
|
},
|
|
3613
|
-
onClickVisited:
|
|
3615
|
+
onClickVisited: b
|
|
3614
3616
|
})
|
|
3615
3617
|
}),
|
|
3616
|
-
|
|
3618
|
+
x.leadingImageUrl ? /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3617
3619
|
className: "exhibitor__leading-image-container exhibitor-slider",
|
|
3618
|
-
children:
|
|
3619
|
-
href:
|
|
3620
|
+
children: x.leadingImageLinkUrl ? /* @__PURE__ */ (0, Y.jsx)("a", {
|
|
3621
|
+
href: x.leadingImageLinkUrl,
|
|
3620
3622
|
target: "_blank",
|
|
3621
3623
|
rel: "noopener noreferrer",
|
|
3622
3624
|
children: /* @__PURE__ */ (0, Y.jsx)("img", {
|
|
3623
|
-
src:
|
|
3625
|
+
src: x.leadingImageUrl,
|
|
3624
3626
|
className: "exhibitor__leading-image",
|
|
3625
3627
|
alt: "",
|
|
3626
3628
|
crossOrigin: "anonymous"
|
|
@@ -3633,22 +3635,22 @@ function Fr() {
|
|
|
3633
3635
|
onCloseGallery: () => z.closeGallery(),
|
|
3634
3636
|
onImageLoadHeightUpdate: k,
|
|
3635
3637
|
leading: !0,
|
|
3636
|
-
images: [
|
|
3638
|
+
images: [x.leadingImageUrl]
|
|
3637
3639
|
})
|
|
3638
3640
|
}) })
|
|
3639
3641
|
}) : null,
|
|
3640
3642
|
/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
3641
3643
|
className: (0, J.default)("exhibitor__details", { "details-hidden": H.kiosk && r && !a }),
|
|
3642
|
-
ref:
|
|
3644
|
+
ref: c,
|
|
3643
3645
|
children: [
|
|
3644
3646
|
/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
3645
3647
|
className: (0, J.default)("exhibitor-categories", { "is-links-disabled": H.isGuidedToursActive }),
|
|
3646
3648
|
children: [
|
|
3647
|
-
|
|
3649
|
+
x.featured && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3648
3650
|
className: "exhibitor-featured",
|
|
3649
3651
|
children: "Featured"
|
|
3650
3652
|
}),
|
|
3651
|
-
|
|
3653
|
+
x.booths.map((e) => {
|
|
3652
3654
|
let t = ee(e);
|
|
3653
3655
|
return /* @__PURE__ */ (0, Y.jsxs)("a", {
|
|
3654
3656
|
href: `?${e.slug}`,
|
|
@@ -3665,7 +3667,7 @@ function Fr() {
|
|
|
3665
3667
|
})]
|
|
3666
3668
|
}, e.id);
|
|
3667
3669
|
}),
|
|
3668
|
-
|
|
3670
|
+
x.categories.map((e) => /* @__PURE__ */ (0, Y.jsx)("a", {
|
|
3669
3671
|
href: "?" + encodeURIComponent(e.slug),
|
|
3670
3672
|
onClick: (t) => {
|
|
3671
3673
|
t.preventDefault(), g(e);
|
|
@@ -3675,35 +3677,35 @@ function Fr() {
|
|
|
3675
3677
|
}, e.id))
|
|
3676
3678
|
]
|
|
3677
3679
|
}),
|
|
3678
|
-
|
|
3680
|
+
x.description || x.logo ? /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
3679
3681
|
className: (0, J.default)("exhibitor-description", { collapsed: t.collapsed && !t.disableCollapse }),
|
|
3680
|
-
children: [
|
|
3681
|
-
className: (0, J.default)("exhibitor-description__logo", { "exhibitor-description__logo--left": !
|
|
3682
|
+
children: [x.logo ? /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3683
|
+
className: (0, J.default)("exhibitor-description__logo", { "exhibitor-description__logo--left": !x.description }),
|
|
3682
3684
|
children: /* @__PURE__ */ (0, Y.jsx)("img", {
|
|
3683
|
-
src:
|
|
3684
|
-
alt:
|
|
3685
|
+
src: x.logo,
|
|
3686
|
+
alt: x.name,
|
|
3685
3687
|
crossOrigin: "anonymous"
|
|
3686
3688
|
})
|
|
3687
|
-
}) : null,
|
|
3689
|
+
}) : null, x.description ? /* @__PURE__ */ (0, Y.jsx)("span", {
|
|
3688
3690
|
className: "exhibitor-description__content",
|
|
3689
3691
|
dir: "auto",
|
|
3690
|
-
dangerouslySetInnerHTML: { __html: D(
|
|
3692
|
+
dangerouslySetInnerHTML: { __html: D(x.description) },
|
|
3691
3693
|
onClick: w
|
|
3692
3694
|
}) : null]
|
|
3693
3695
|
}) : null,
|
|
3694
|
-
(!!((e =
|
|
3695
|
-
!H.kiosk &&
|
|
3696
|
+
(!!((e = x.schedule) != null && e.length) || !!((i = x.booths[0]) != null && i.schedule.length)) && /* @__PURE__ */ (0, Y.jsx)(Tn, { events: [...x.schedule || ((o = x.booths[0]) == null ? void 0 : o.schedule) || []].sort((e, t) => new Date(e.startDate).getTime() - new Date(t.startDate).getTime()) }),
|
|
3697
|
+
!H.kiosk && x.videoUrl && navigator.onLine && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3696
3698
|
className: "exhibitor-video",
|
|
3697
3699
|
children: /* @__PURE__ */ (0, Y.jsx)("iframe", {
|
|
3698
|
-
src:
|
|
3700
|
+
src: x.videoUrl,
|
|
3699
3701
|
"data-allow": "encrypted-media; autoplay; fullscreen",
|
|
3700
|
-
title:
|
|
3702
|
+
title: v("Exhibitor Video"),
|
|
3701
3703
|
allowFullScreen: !0
|
|
3702
3704
|
})
|
|
3703
3705
|
}),
|
|
3704
|
-
|
|
3706
|
+
x.gallery && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3705
3707
|
className: "exhibitor-slider",
|
|
3706
|
-
onClick: () =>
|
|
3708
|
+
onClick: () => d(V.ViewGallery),
|
|
3707
3709
|
children: /* @__PURE__ */ (0, Y.jsx)(Vn, { children: /* @__PURE__ */ (0, Y.jsx)(q.Suspense, {
|
|
3708
3710
|
fallback: null,
|
|
3709
3711
|
children: /* @__PURE__ */ (0, Y.jsx)(Pr, {
|
|
@@ -3711,11 +3713,11 @@ function Fr() {
|
|
|
3711
3713
|
onOpenGallery: () => z.openGallery(),
|
|
3712
3714
|
onCloseGallery: () => z.closeGallery(),
|
|
3713
3715
|
onImageLoadHeightUpdate: k,
|
|
3714
|
-
images:
|
|
3716
|
+
images: x.gallery
|
|
3715
3717
|
})
|
|
3716
3718
|
}) })
|
|
3717
3719
|
}),
|
|
3718
|
-
!H.kiosk &&
|
|
3720
|
+
!H.kiosk && x.marketMaterials && /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsx)("div", { className: "exhibitor-sep" }), /* @__PURE__ */ (0, Y.jsx)(ar, { list: x.marketMaterials })] }),
|
|
3719
3721
|
t.showEdit && /* @__PURE__ */ (0, Y.jsx)("div", { className: "exhibitor-sep" }),
|
|
3720
3722
|
!H.kiosk && t.showEdit && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3721
3723
|
className: "exhibitor-edit",
|
|
@@ -3723,13 +3725,13 @@ function Fr() {
|
|
|
3723
3725
|
size: "sm",
|
|
3724
3726
|
variant: "secondary",
|
|
3725
3727
|
onClick: _,
|
|
3726
|
-
children:
|
|
3728
|
+
children: v("Edit")
|
|
3727
3729
|
})
|
|
3728
3730
|
}),
|
|
3729
3731
|
t.anyAddress && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
3730
3732
|
className: "exhibitor-meta",
|
|
3731
3733
|
children: [
|
|
3732
|
-
!!(
|
|
3734
|
+
!!(x.address || x.address2) && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
3733
3735
|
className: "exhibitor-meta__item",
|
|
3734
3736
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3735
3737
|
className: "exhibitor-meta__icon",
|
|
@@ -3737,21 +3739,21 @@ function Fr() {
|
|
|
3737
3739
|
}), /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
3738
3740
|
className: "exhibitor-meta__content",
|
|
3739
3741
|
children: [
|
|
3740
|
-
|
|
3741
|
-
!!
|
|
3742
|
-
!!(
|
|
3743
|
-
|
|
3744
|
-
!!(
|
|
3745
|
-
|
|
3746
|
-
!!(
|
|
3742
|
+
x.address,
|
|
3743
|
+
!!x.address2 && /* @__PURE__ */ (0, Y.jsx)("div", { children: x.address2 }),
|
|
3744
|
+
!!(x.city || x.state || x.zip) && /* @__PURE__ */ (0, Y.jsxs)("div", { children: [
|
|
3745
|
+
x.city,
|
|
3746
|
+
!!(x.city && x.state) && /* @__PURE__ */ (0, Y.jsx)("span", { children: " " }),
|
|
3747
|
+
x.state,
|
|
3748
|
+
!!(x.state && x.zip) && /* @__PURE__ */ (0, Y.jsx)("span", { children: "\xA0" }),
|
|
3747
3749
|
" ",
|
|
3748
|
-
|
|
3750
|
+
x.zip
|
|
3749
3751
|
] }),
|
|
3750
|
-
!!
|
|
3752
|
+
!!x.country && /* @__PURE__ */ (0, Y.jsx)("div", { children: x.country })
|
|
3751
3753
|
]
|
|
3752
3754
|
})]
|
|
3753
3755
|
}),
|
|
3754
|
-
!!
|
|
3756
|
+
!!x.phone1 && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
3755
3757
|
className: "exhibitor-meta__item",
|
|
3756
3758
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3757
3759
|
className: "exhibitor-meta__icon",
|
|
@@ -3760,14 +3762,14 @@ function Fr() {
|
|
|
3760
3762
|
className: "exhibitor-meta__content",
|
|
3761
3763
|
children: /* @__PURE__ */ (0, Y.jsx)("a", {
|
|
3762
3764
|
dir: "ltr",
|
|
3763
|
-
href: "tel:" +
|
|
3765
|
+
href: "tel:" + x.phone1,
|
|
3764
3766
|
className: "exhibitor-meta__link",
|
|
3765
|
-
onClick: (e) =>
|
|
3766
|
-
children:
|
|
3767
|
+
onClick: (e) => l(e, V.ClickPhone),
|
|
3768
|
+
children: x.phone1
|
|
3767
3769
|
})
|
|
3768
3770
|
})]
|
|
3769
3771
|
}),
|
|
3770
|
-
!!
|
|
3772
|
+
!!x.website && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
3771
3773
|
className: "exhibitor-meta__item",
|
|
3772
3774
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3773
3775
|
className: "exhibitor-meta__icon",
|
|
@@ -3775,16 +3777,16 @@ function Fr() {
|
|
|
3775
3777
|
}), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3776
3778
|
className: "exhibitor-meta__content",
|
|
3777
3779
|
children: /* @__PURE__ */ (0, Y.jsx)("a", {
|
|
3778
|
-
href:
|
|
3780
|
+
href: x.website,
|
|
3779
3781
|
target: "_blank",
|
|
3780
3782
|
rel: "noopener noreferrer",
|
|
3781
3783
|
className: "exhibitor-meta__link",
|
|
3782
|
-
onClick: (e) =>
|
|
3784
|
+
onClick: (e) => l(e, V.ClickWebsite),
|
|
3783
3785
|
children: t.websiteTrimmed
|
|
3784
3786
|
})
|
|
3785
3787
|
})]
|
|
3786
3788
|
}),
|
|
3787
|
-
!!
|
|
3789
|
+
!!x.email && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
3788
3790
|
className: "exhibitor-meta__item",
|
|
3789
3791
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3790
3792
|
className: "exhibitor-meta__icon",
|
|
@@ -3792,12 +3794,12 @@ function Fr() {
|
|
|
3792
3794
|
}), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3793
3795
|
className: "exhibitor-meta__content",
|
|
3794
3796
|
children: /* @__PURE__ */ (0, Y.jsx)("a", {
|
|
3795
|
-
href: "mailto:" +
|
|
3797
|
+
href: "mailto:" + x.email,
|
|
3796
3798
|
target: "_blank",
|
|
3797
3799
|
rel: "noopener noreferrer",
|
|
3798
3800
|
className: "exhibitor-meta__link",
|
|
3799
|
-
onClick: (e) =>
|
|
3800
|
-
children:
|
|
3801
|
+
onClick: (e) => l(e, V.ClickEmail),
|
|
3802
|
+
children: x.email
|
|
3801
3803
|
})
|
|
3802
3804
|
})]
|
|
3803
3805
|
}),
|
|
@@ -3805,49 +3807,49 @@ function Fr() {
|
|
|
3805
3807
|
className: "exhibitor-meta__socials",
|
|
3806
3808
|
children: [
|
|
3807
3809
|
/* @__PURE__ */ (0, Y.jsx)("a", {
|
|
3808
|
-
href:
|
|
3810
|
+
href: x.facebook,
|
|
3809
3811
|
className: "exhibitor-meta__social",
|
|
3810
|
-
onClick: () =>
|
|
3812
|
+
onClick: () => d(V.ClickFacebook),
|
|
3811
3813
|
target: "_blank",
|
|
3812
3814
|
rel: "noopener noreferrer",
|
|
3813
3815
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-facebook" })
|
|
3814
3816
|
}),
|
|
3815
3817
|
/* @__PURE__ */ (0, Y.jsx)("a", {
|
|
3816
|
-
href:
|
|
3818
|
+
href: x.instagram,
|
|
3817
3819
|
className: "exhibitor-meta__social",
|
|
3818
|
-
onClick: () =>
|
|
3820
|
+
onClick: () => d(V.ClickInstagaram),
|
|
3819
3821
|
target: "_blank",
|
|
3820
3822
|
rel: "noopener noreferrer",
|
|
3821
3823
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-instagram" })
|
|
3822
3824
|
}),
|
|
3823
3825
|
/* @__PURE__ */ (0, Y.jsx)("a", {
|
|
3824
|
-
href:
|
|
3826
|
+
href: x.linkedin,
|
|
3825
3827
|
className: "exhibitor-meta__social",
|
|
3826
|
-
onClick: () =>
|
|
3828
|
+
onClick: () => d(V.ClickLinkedin),
|
|
3827
3829
|
target: "_blank",
|
|
3828
3830
|
rel: "noopener noreferrer",
|
|
3829
3831
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-linkedin" })
|
|
3830
3832
|
}),
|
|
3831
3833
|
/* @__PURE__ */ (0, Y.jsx)("a", {
|
|
3832
|
-
href:
|
|
3834
|
+
href: x.twitter,
|
|
3833
3835
|
className: "exhibitor-meta__social",
|
|
3834
|
-
onClick: () =>
|
|
3836
|
+
onClick: () => d(V.ClickTwitter),
|
|
3835
3837
|
target: "_blank",
|
|
3836
3838
|
rel: "noopener noreferrer",
|
|
3837
3839
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-twitter-x" })
|
|
3838
3840
|
}),
|
|
3839
3841
|
/* @__PURE__ */ (0, Y.jsx)("a", {
|
|
3840
|
-
href:
|
|
3842
|
+
href: x.xing,
|
|
3841
3843
|
className: "exhibitor-meta__social",
|
|
3842
|
-
onClick: () =>
|
|
3844
|
+
onClick: () => d(V.ClickXing),
|
|
3843
3845
|
target: "_blank",
|
|
3844
3846
|
rel: "noopener noreferrer",
|
|
3845
3847
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-xing" })
|
|
3846
3848
|
}),
|
|
3847
3849
|
/* @__PURE__ */ (0, Y.jsx)("a", {
|
|
3848
|
-
href:
|
|
3850
|
+
href: x.youtube,
|
|
3849
3851
|
className: "exhibitor-meta__social",
|
|
3850
|
-
onClick: () =>
|
|
3852
|
+
onClick: () => d(V.ClickYoutube),
|
|
3851
3853
|
target: "_blank",
|
|
3852
3854
|
rel: "noopener noreferrer",
|
|
3853
3855
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-youtube" })
|
|
@@ -3856,28 +3858,28 @@ function Fr() {
|
|
|
3856
3858
|
})
|
|
3857
3859
|
]
|
|
3858
3860
|
}),
|
|
3859
|
-
/* @__PURE__ */ (0, Y.jsx)(E, { exhibitor:
|
|
3861
|
+
/* @__PURE__ */ (0, Y.jsx)(E, { exhibitor: x })
|
|
3860
3862
|
]
|
|
3861
3863
|
}),
|
|
3862
3864
|
H.kiosk && r && !a ? /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3863
3865
|
className: "show-details-button",
|
|
3864
3866
|
children: /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
3865
3867
|
type: "button",
|
|
3866
|
-
onClick: () =>
|
|
3867
|
-
children:
|
|
3868
|
+
onClick: () => s(!0),
|
|
3869
|
+
children: v("Show More")
|
|
3868
3870
|
})
|
|
3869
3871
|
}) : null
|
|
3870
3872
|
] }),
|
|
3871
3873
|
H.kiosk && r && a ? /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
3872
3874
|
type: "button",
|
|
3873
3875
|
className: "hide-details-button",
|
|
3874
|
-
onClick: () =>
|
|
3876
|
+
onClick: () => s(!1),
|
|
3875
3877
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-chevron-up-narrow" })
|
|
3876
3878
|
}) : null
|
|
3877
3879
|
]
|
|
3878
3880
|
});
|
|
3879
3881
|
});
|
|
3880
|
-
function
|
|
3882
|
+
function h() {
|
|
3881
3883
|
let e = window.navigator, t = {
|
|
3882
3884
|
title: H.selectedExhibitor.name,
|
|
3883
3885
|
url: window.location.href
|
|
@@ -3891,30 +3893,30 @@ function Fr() {
|
|
|
3891
3893
|
if (H.kiosk) return e.preventDefault();
|
|
3892
3894
|
e.target.blur();
|
|
3893
3895
|
let n = t.sendLinkEmail;
|
|
3894
|
-
if (!window.confirm(
|
|
3896
|
+
if (!window.confirm(v("Send login instructions to {{email}} to edit profile?", { email: n })) || j.EXPO === "expo") return;
|
|
3895
3897
|
let r = new XMLHttpRequest();
|
|
3896
3898
|
r.open("POST", G.sendLoginLinkUrl), r.setRequestHeader("Content-Type", "application/json");
|
|
3897
3899
|
function i() {
|
|
3898
|
-
alert(
|
|
3900
|
+
alert(v("Error sending login instructions"));
|
|
3899
3901
|
}
|
|
3900
3902
|
r.onload = function(e) {
|
|
3901
3903
|
if (this.status !== 200) {
|
|
3902
3904
|
i();
|
|
3903
3905
|
return;
|
|
3904
3906
|
}
|
|
3905
|
-
alert(
|
|
3907
|
+
alert(v("A link to edit profile was sent to {{email}}", { email: n }));
|
|
3906
3908
|
}, r.onerror = function(e) {
|
|
3907
|
-
|
|
3909
|
+
o.error("Error", e), i();
|
|
3908
3910
|
}, r.send(JSON.stringify({ id: t.exhibitor.id }));
|
|
3909
3911
|
}
|
|
3910
|
-
function
|
|
3912
|
+
function y() {
|
|
3911
3913
|
t.exhibitor.bookmarked = !t.exhibitor.bookmarked, H.onBookmarkClick && H.onBookmarkClick({
|
|
3912
3914
|
name: t.exhibitor.name,
|
|
3913
3915
|
bookmarked: t.exhibitor.bookmarked,
|
|
3914
3916
|
externalId: t.exhibitor.externalId
|
|
3915
3917
|
});
|
|
3916
3918
|
}
|
|
3917
|
-
function
|
|
3919
|
+
function b() {
|
|
3918
3920
|
t.exhibitor.visited = !t.exhibitor.visited, H.onVisitedClick && H.onVisitedClick({
|
|
3919
3921
|
name: t.exhibitor.name,
|
|
3920
3922
|
visited: t.exhibitor.visited,
|
|
@@ -4033,15 +4035,15 @@ function Hr() {
|
|
|
4033
4035
|
return u === "compact-list" ? /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
4034
4036
|
className: (0, J.default)("efp-level-selector", "efp-level-selector--compact-list", { "is-ready": s.length }),
|
|
4035
4037
|
role: "radiogroup",
|
|
4036
|
-
"aria-label":
|
|
4038
|
+
"aria-label": v("Floor Selection"),
|
|
4037
4039
|
children: s.map((e) => /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
4038
4040
|
className: (0, J.default)("efp-level-selector__item", {
|
|
4039
4041
|
"is-active": e.active,
|
|
4040
4042
|
"is-disabled": e.disabled
|
|
4041
4043
|
}),
|
|
4042
4044
|
role: "radio",
|
|
4043
|
-
title: `${e.active ?
|
|
4044
|
-
"aria-label": `${e.active ?
|
|
4045
|
+
title: `${e.active ? v("Current Floor") : v("Floor")} ${e.layer.description}`,
|
|
4046
|
+
"aria-label": `${e.active ? v("Current Floor") : v("Floor")} ${e.layer.description}`,
|
|
4045
4047
|
"aria-checked": e.active,
|
|
4046
4048
|
"aria-disabled": e.disabled,
|
|
4047
4049
|
tabIndex: e.disabled ? -1 : 0,
|
|
@@ -4059,7 +4061,7 @@ function Hr() {
|
|
|
4059
4061
|
onClick: () => i(!r),
|
|
4060
4062
|
"aria-haspopup": "listbox",
|
|
4061
4063
|
"aria-expanded": r,
|
|
4062
|
-
"aria-label": `${
|
|
4064
|
+
"aria-label": `${v("Current Floor")}: ${(e = f == null ? void 0 : f.description) == null ? "" : e}`,
|
|
4063
4065
|
children: [/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
4064
4066
|
className: "efp-level-selector__trigger-text",
|
|
4065
4067
|
children: [/* @__PURE__ */ (0, Y.jsx)("i", {
|
|
@@ -4080,7 +4082,7 @@ function Hr() {
|
|
|
4080
4082
|
"is-opens-down": a === "down"
|
|
4081
4083
|
}),
|
|
4082
4084
|
role: "listbox",
|
|
4083
|
-
"aria-label":
|
|
4085
|
+
"aria-label": v("Floor Selection"),
|
|
4084
4086
|
children: s.map((e) => /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
4085
4087
|
className: (0, J.default)("efp-level-selector__dropdown-item", {
|
|
4086
4088
|
"is-active": e.active,
|
|
@@ -4172,13 +4174,13 @@ var Ur = ({ min: e, max: t, className: n, style: r }) => {
|
|
|
4172
4174
|
}, Gr = L(({ item: e }) => /* @__PURE__ */ (0, Y.jsx)(Wr, {
|
|
4173
4175
|
label: e.name,
|
|
4174
4176
|
value: e.id,
|
|
4175
|
-
checked: e.id ===
|
|
4177
|
+
checked: e.id === f(),
|
|
4176
4178
|
className: "language-row",
|
|
4177
4179
|
"aria-label": `Change language to ${e.name}`,
|
|
4178
|
-
onChange: () =>
|
|
4180
|
+
onChange: () => m(e.id)
|
|
4179
4181
|
})), Kr = () => import(
|
|
4180
4182
|
/* webpackChunkName: "react-virtuoso-list" */
|
|
4181
|
-
"./dist-
|
|
4183
|
+
"./dist-tX7hWUmY.js"
|
|
4182
4184
|
).then((e) => ({ default: e.Virtuoso })).catch(() => new Promise((e) => setTimeout(() => e(Kr()), 3e3))), qr = (0, q.lazy)(Kr);
|
|
4183
4185
|
function Jr({ updatedScrollableRef: e, updateScroll: t }) {
|
|
4184
4186
|
let [n, r] = (0, q.useState)(null), i = (0, q.useRef)(null);
|
|
@@ -4219,7 +4221,7 @@ function Jr({ updatedScrollableRef: e, updateScroll: t }) {
|
|
|
4219
4221
|
t && t();
|
|
4220
4222
|
};
|
|
4221
4223
|
return I(() => {
|
|
4222
|
-
let e = H.listItems.findIndex((e) => e.id ===
|
|
4224
|
+
let e = H.listItems.findIndex((e) => e.id === f());
|
|
4223
4225
|
return /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
4224
4226
|
style: {
|
|
4225
4227
|
height: "100%",
|
|
@@ -4268,13 +4270,13 @@ function Zr() {
|
|
|
4268
4270
|
}));
|
|
4269
4271
|
return ht(() => {
|
|
4270
4272
|
let t;
|
|
4271
|
-
|
|
4272
|
-
H.largeMessageLastSet && (window.clearTimeout(t),
|
|
4273
|
+
x(() => H.largeMessageLastSet, () => {
|
|
4274
|
+
H.largeMessageLastSet && (window.clearTimeout(t), o.log("Showing large message"), e.shouldShow = !0, t = window.setTimeout(() => {
|
|
4273
4275
|
e.shouldShow = !1;
|
|
4274
4276
|
}, Xr));
|
|
4275
4277
|
}, { fireImmediately: !0 });
|
|
4276
4278
|
let n;
|
|
4277
|
-
|
|
4279
|
+
h(() => {
|
|
4278
4280
|
window.clearTimeout(n), e.shouldShow ? (e.transitioning = !0, n = window.setTimeout(() => {
|
|
4279
4281
|
e.visible = !0;
|
|
4280
4282
|
}, 1)) : (e.visible = !1, n = window.setTimeout(() => {
|
|
@@ -4293,7 +4295,7 @@ function Zr() {
|
|
|
4293
4295
|
//#region src/components/QrCode.tsx
|
|
4294
4296
|
var Qr = (0, q.lazy)(() => import(
|
|
4295
4297
|
/* webpackChunkName: "react-qr-code" */
|
|
4296
|
-
"./lib-
|
|
4298
|
+
"./lib-D4g_-i_A.js"
|
|
4297
4299
|
).then((e) => /* @__PURE__ */ t(e.default, 1))), $r = /* @__PURE__ */ t(oe(), 1), ei, ti = ["info-techlive2025", "metstrade-superyacht2023"].includes(j.EXPO), ni = j.backgroundColor !== "none" && (0, $r.default)(j.backgroundColor).isDark() || (be == null || (ei = be.properties) == null || (ei = ei.style) == null ? void 0 : ei.includes("dark"));
|
|
4298
4300
|
function ri() {
|
|
4299
4301
|
var e, t, n;
|
|
@@ -4304,19 +4306,19 @@ function ri() {
|
|
|
4304
4306
|
}), t = ti || H.rtl ? "left" : "right";
|
|
4305
4307
|
return {
|
|
4306
4308
|
get style() {
|
|
4307
|
-
let n =
|
|
4308
|
-
return H.overlayPosition === "left" ? e("bottom", t, H.mapVisibleBottom + n, "5rem") : (H.mapVisibleTop, z.mapboxStore.showMapbox &&
|
|
4309
|
+
let n = i((H.overlayPosition, 1));
|
|
4310
|
+
return H.overlayPosition === "left" ? e("bottom", t, H.mapVisibleBottom + n, "5rem") : (H.mapVisibleTop, z.mapboxStore.showMapbox && i(.5), e("bottom", t, 20, "4.5rem"));
|
|
4309
4311
|
},
|
|
4310
4312
|
get warningStyle() {
|
|
4311
|
-
let n =
|
|
4313
|
+
let n = i(H.overlayPosition === "left" ? 1 : .5);
|
|
4312
4314
|
if (H.overlayPosition === "left") return e("bottom", t, H.mapVisibleBottom + 2 * n, "3rem");
|
|
4313
4315
|
{
|
|
4314
4316
|
let r = H.mapVisibleTop + 2 * n;
|
|
4315
|
-
return z.mapboxStore.showMapbox && (r =
|
|
4317
|
+
return z.mapboxStore.showMapbox && (r = i(.5)), e("top", t, r, "2rem");
|
|
4316
4318
|
}
|
|
4317
4319
|
}
|
|
4318
4320
|
};
|
|
4319
|
-
}),
|
|
4321
|
+
}), a = Math.round(((e = window.__fpStat) == null ? void 0 : e.dataSize) / 1024 / 1024 || 0), o = s && a >= 10, c = s && !be && G.allow3dView && !H.kiosk && !H.heatmap, u = H.kiosk && !((t = H.selectedRoute) != null && t.to) && !((n = H.selectedRoute) != null && n.from), d = (0, J.default)("efp-qr", { "is-right": ti || H.rtl });
|
|
4320
4322
|
return I(() => /* @__PURE__ */ (0, Y.jsxs)("div", { children: [
|
|
4321
4323
|
/* @__PURE__ */ (0, Y.jsx)("a", {
|
|
4322
4324
|
href: "https://expofp.com/",
|
|
@@ -4325,12 +4327,12 @@ function ri() {
|
|
|
4325
4327
|
className: (0, J.default)("logo-overlay", { invert: ni }),
|
|
4326
4328
|
style: r.style,
|
|
4327
4329
|
children: /* @__PURE__ */ (0, Y.jsx)("img", {
|
|
4328
|
-
src: `${
|
|
4329
|
-
alt:
|
|
4330
|
+
src: `${l}expofp-overlay.png`,
|
|
4331
|
+
alt: v("Made with ExpoFP"),
|
|
4330
4332
|
crossOrigin: "anonymous"
|
|
4331
4333
|
})
|
|
4332
4334
|
}),
|
|
4333
|
-
|
|
4335
|
+
o && /* @__PURE__ */ (0, Y.jsx)(cn, {
|
|
4334
4336
|
title: "This floor plan is too big",
|
|
4335
4337
|
variant: "warning",
|
|
4336
4338
|
showIcon: !0,
|
|
@@ -4339,10 +4341,10 @@ function ri() {
|
|
|
4339
4341
|
rel: "noopener noreferrer",
|
|
4340
4342
|
target: "_blank",
|
|
4341
4343
|
href: "https://expofp.com/pages/huge-fp-warning",
|
|
4342
|
-
children:
|
|
4344
|
+
children: v("Read how to optimize it")
|
|
4343
4345
|
})
|
|
4344
4346
|
}),
|
|
4345
|
-
|
|
4347
|
+
c && /* @__PURE__ */ (0, Y.jsx)(cn, {
|
|
4346
4348
|
title: "3D view is hidden",
|
|
4347
4349
|
variant: "warning",
|
|
4348
4350
|
showIcon: !0,
|
|
@@ -4351,14 +4353,14 @@ function ri() {
|
|
|
4351
4353
|
rel: "noopener noreferrer",
|
|
4352
4354
|
target: "_blank",
|
|
4353
4355
|
href: "https://expofp.com/pages/expofp-mapbox-integration",
|
|
4354
|
-
children:
|
|
4356
|
+
children: v("Setup mapbox first")
|
|
4355
4357
|
})
|
|
4356
4358
|
}),
|
|
4357
|
-
|
|
4359
|
+
u && /* @__PURE__ */ (0, Y.jsx)(q.Suspense, {
|
|
4358
4360
|
fallback: null,
|
|
4359
4361
|
children: /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
4360
|
-
className: (0, J.default)(
|
|
4361
|
-
children: [/* @__PURE__ */ (0, Y.jsx)("div", { children:
|
|
4362
|
+
className: (0, J.default)(d, { "efp-semi-transparent": H.setKioskModeEnabled }),
|
|
4363
|
+
children: [/* @__PURE__ */ (0, Y.jsx)("div", { children: v("View Map on Phone") }), /* @__PURE__ */ (0, Y.jsx)(Qr, {
|
|
4362
4364
|
value: H.viewMapOnPhoneQRCodeUrl,
|
|
4363
4365
|
size: 100
|
|
4364
4366
|
})]
|
|
@@ -4405,10 +4407,10 @@ function ai({ className: e }) {
|
|
|
4405
4407
|
return;
|
|
4406
4408
|
}
|
|
4407
4409
|
let e = [
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4410
|
+
v("Find Companies..."),
|
|
4411
|
+
v("Find Categories..."),
|
|
4412
|
+
v("Find Sessions..."),
|
|
4413
|
+
v("Search...")
|
|
4412
4414
|
], t = 0, n = 0, r = !1, i, a = () => {
|
|
4413
4415
|
let s = e[t];
|
|
4414
4416
|
r ? (o(s.substring(0, n - 1)), n--) : (o(s.substring(0, n + 1)), n++);
|
|
@@ -4462,7 +4464,7 @@ function ai({ className: e }) {
|
|
|
4462
4464
|
className: (0, J.default)("search-box__button", "search-box__button--back", { "is-mobile-details": B.isMobileDetailsMode }),
|
|
4463
4465
|
onClick: p,
|
|
4464
4466
|
type: "button",
|
|
4465
|
-
"aria-label": B.backMode === "back" ?
|
|
4467
|
+
"aria-label": B.backMode === "back" ? v("Go back") : v("Main menu"),
|
|
4466
4468
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: B.backMode === "back" ? "icon-chevron-left" : z.uiState.viewerMode ? "icon-home" : "icon-menu" })
|
|
4467
4469
|
}),
|
|
4468
4470
|
/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
@@ -4533,12 +4535,12 @@ function oi() {
|
|
|
4533
4535
|
return I(() => {
|
|
4534
4536
|
let t = z.uiState.list.type === "route-planner";
|
|
4535
4537
|
if (!(z.uiState.overlayPosition === "bottom" && (t || !z.uiState.details && !z.uiState.menu && z.uiState.list.type !== "language" && z.uiState.list.type !== "bookmarks" && z.uiState.list.type !== "sessions"))) return null;
|
|
4536
|
-
let n = !z.uiState.isOverlayOpen || z.uiState.overlaySize !== "full", r =
|
|
4538
|
+
let n = !z.uiState.isOverlayOpen || z.uiState.overlaySize !== "full", r = v(n ? "List" : "Map"), i = n ? "is-list" : "is-map", a = n ? "icon-list" : "icon-map";
|
|
4537
4539
|
return /* @__PURE__ */ (0, Y.jsxs)("button", {
|
|
4538
4540
|
className: (0, J.default)("efp-mobile-toggle-button", { "is-with-banner": z.uiState.isBannerVisible }, i),
|
|
4539
4541
|
onClick: e,
|
|
4540
4542
|
type: "button",
|
|
4541
|
-
"aria-label":
|
|
4543
|
+
"aria-label": v(n ? "List" : "Map"),
|
|
4542
4544
|
children: [/* @__PURE__ */ (0, Y.jsx)("i", { className: a }), /* @__PURE__ */ (0, Y.jsx)("span", {
|
|
4543
4545
|
className: "efp-mobile-toggle-button__text",
|
|
4544
4546
|
children: r
|
|
@@ -4582,11 +4584,11 @@ var si = L(({ store: e, visibleSections: t, open: n, onClose: r }) => {
|
|
|
4582
4584
|
}, l = n === void 0 ? e.state.isOpen : n, u = r || (() => e.closeFilter()), d = t || e.state.visibleSections;
|
|
4583
4585
|
return /* @__PURE__ */ (0, Y.jsx)(Cs, {
|
|
4584
4586
|
open: l,
|
|
4585
|
-
title:
|
|
4587
|
+
title: v("Speaker Filters"),
|
|
4586
4588
|
badge: e.activeFiltersCount > 0 ? e.activeFiltersCount : void 0,
|
|
4587
4589
|
maxWidth: 800,
|
|
4588
4590
|
footerLeft: [{
|
|
4589
|
-
label:
|
|
4591
|
+
label: v("Clear all"),
|
|
4590
4592
|
variant: "gray",
|
|
4591
4593
|
disabled: i.selectedCompanies.pending.length === 0 && i.selectedJobTitles.pending.length === 0,
|
|
4592
4594
|
onClick: () => {
|
|
@@ -4594,7 +4596,7 @@ var si = L(({ store: e, visibleSections: t, open: n, onClose: r }) => {
|
|
|
4594
4596
|
}
|
|
4595
4597
|
}],
|
|
4596
4598
|
footerRight: [{
|
|
4597
|
-
label:
|
|
4599
|
+
label: v("Apply"),
|
|
4598
4600
|
variant: "primary",
|
|
4599
4601
|
onClick: () => {
|
|
4600
4602
|
e.applyFilters();
|
|
@@ -4739,13 +4741,13 @@ function Pi() {
|
|
|
4739
4741
|
var Fi = "wf-trail-points", Ii = "wf-points", Li = "wf-current-position", Ri = "wf-lines", zi = "wf-lines-animated";
|
|
4740
4742
|
function Bi(e) {
|
|
4741
4743
|
var t, n;
|
|
4742
|
-
let
|
|
4744
|
+
let r = null, i = [], a = null, o = y.box([]), s = y.box([], { deep: !1 }), c = [], l = y.box([], { deep: !1 }), u = e.scene.rootLayer.children, d = u.find((e) => e.name === Ii), f = u.find((e) => e.name === Li), p = u.find((e) => e.name === Ri), m = u.find((e) => e.name === Fi), h = u.find((e) => e.name === zi), g = pe({
|
|
4743
4745
|
thresholdInMeters: he(be == null || (t = be.properties) == null || (t = t.config) == null ? void 0 : t.snapThreshold) || 7.5,
|
|
4744
4746
|
gpsConfig: be == null || (n = be.properties) == null ? void 0 : n.config
|
|
4745
|
-
}),
|
|
4746
|
-
|
|
4747
|
-
let
|
|
4748
|
-
|
|
4747
|
+
}), _ = [], v = z.fp.icons.get("destination");
|
|
4748
|
+
v ? (v.id = "destination", Si = ut(v, bi, bi, X)) : Si = Ce(X, _i.hex()), $ = Ue(Si, M(0, 0, Si.width, Si.height), { hidden: !0 });
|
|
4749
|
+
let b = z.fp.icons.get("departure");
|
|
4750
|
+
b ? (b.id = "departure", xi = ut(b, bi, bi, X)) : xi = Ne(X, gi.hex()), Q = Ue(xi, M(0, 0, xi.width, xi.height), { hidden: !0 }), Ci = Ne(X, gi.hex()), Ci.id = "current-location", ji = Ue(Ci, M(0, 0, Ci.width, Ci.height), {
|
|
4749
4751
|
hidden: !0,
|
|
4750
4752
|
origin: [.5, .5]
|
|
4751
4753
|
});
|
|
@@ -4754,7 +4756,7 @@ function Bi(e) {
|
|
|
4754
4756
|
let C = z.fp.icons.get("transition_up");
|
|
4755
4757
|
C && (C.id = "transition_up", Di = ut(C, 56, 34, X));
|
|
4756
4758
|
let w = z.fp.icons.get("transition_down");
|
|
4757
|
-
w && (w.id = "transition_down", Oi = ut(w, 56, 34, X)), ki =
|
|
4759
|
+
w && (w.id = "transition_down", Oi = ut(w, 56, 34, X)), ki = b ? ut(b, bi, bi, X) : Ne(X, gi.hex());
|
|
4758
4760
|
let T = z.fp.icons.get("direction");
|
|
4759
4761
|
T ? (T.id = "direction", wi = ut(T, bi, bi, X)) : wi = ft(X, gi.hex()), Mi = Ue(wi, M(0, 0, wi.width, wi.height), { hidden: !0 });
|
|
4760
4762
|
let E = z.fp.icons.get("yah");
|
|
@@ -4765,7 +4767,7 @@ function Bi(e) {
|
|
|
4765
4767
|
function D(t = null) {
|
|
4766
4768
|
var n, r;
|
|
4767
4769
|
let i = z.layerStore.visible.map((e) => e.name);
|
|
4768
|
-
if (mi = [],
|
|
4770
|
+
if (mi = [], o.set([]), t || (Z = []), i.length && !((n = H.selectedRoute) == null || (n = n.from) == null) && n.rect && !((r = H.selectedRoute) == null || (r = r.to) == null) && r.rect) {
|
|
4769
4771
|
let n = H.selectedRoute.from, r = H.selectedRoute.to;
|
|
4770
4772
|
if (!Z.length && !t) {
|
|
4771
4773
|
var a;
|
|
@@ -4775,10 +4777,10 @@ function Bi(e) {
|
|
|
4775
4777
|
if (z.routeStore.updateRoute(Z), z.routeStore.updateRouteDistance(0), n.name !== r.name) throw Error(`Route not found. From: ${n.name} to: ${r.name}`);
|
|
4776
4778
|
return;
|
|
4777
4779
|
}
|
|
4778
|
-
let { rect: i, lines: o, addTrailPoints:
|
|
4779
|
-
o.length ? (Vi(e.scale), Wi(e.scale,
|
|
4780
|
+
let { rect: i, lines: o, addTrailPoints: l } = Pi();
|
|
4781
|
+
o.length ? (Vi(e.scale), Wi(e.scale, s, c), Ki(e, m, !l), e.ptScaleRegistry.unregisterByName(m.name), l && e.onPtScale(m.name, () => (m.children = Ki(e, m) || [], m))) : e.ptScaleRegistry.unregisterByName(m.name), _ = o, P(), i && (H.moveToRect = i);
|
|
4780
4782
|
} else Q.hidden = !0, $.hidden = !0;
|
|
4781
|
-
z.routeStore.updateRoute(Z.filter((e) => !e.virtual)),
|
|
4783
|
+
z.routeStore.updateRoute(Z.filter((e) => !e.virtual)), o.get() || (Q.hidden = !0, $.hidden = !0);
|
|
4782
4784
|
}
|
|
4783
4785
|
function O() {
|
|
4784
4786
|
var t, n, r, i, a, o;
|
|
@@ -4792,16 +4794,16 @@ function Bi(e) {
|
|
|
4792
4794
|
Q.hidden = ((d = H.selectedRoute) == null || (d = d.from) == null || (d = d.entity) == null ? void 0 : d.type) === "route-cut-in" && (e == null ? void 0 : e.name) === ((f = H.selectedRoute) == null || (f = f.from) == null || (f = f.layer) == null ? void 0 : f.name), $.hidden = ((p = H.selectedRoute) == null || (p = p.to) == null || (p = p.entity) == null ? void 0 : p.type) === "route-cut-in" && (e == null ? void 0 : e.name) === ((m = H.selectedRoute) == null || (m = m.to) == null || (m = m.layer) == null ? void 0 : m.name);
|
|
4793
4795
|
}
|
|
4794
4796
|
if (s) {
|
|
4795
|
-
var h,
|
|
4796
|
-
let t = (h = (
|
|
4797
|
-
z.routeStore.iconType === 0 || (
|
|
4797
|
+
var h, _, v, y;
|
|
4798
|
+
let t = (h = (_ = W.findLayer(s.z)) == null ? void 0 : _.visible) == null ? !0 : h;
|
|
4799
|
+
z.routeStore.iconType === 0 || (v = H.selectedRoute) != null && v.from && (y = H.selectedRoute) != null && y.to ? (Ni.hidden = !0, ji.hidden = !t, ji.dim = !t, ji.bounds = M(s.x, s.y, Ci.width, Ci.height, e.scale), c == null ? Mi.hidden = !0 : (ji.hidden = !0, Mi.hidden = !t, Mi.dim = !t, Mi.bounds = M(s.x, s.y, wi.width, wi.height, e.scale, c))) : (ji.hidden = !0, Mi.hidden = !0, Ni.dim = !t, Ni.hidden = !t, Ni.bounds = M(s.x, s.y, Ti.width, Ti.height, e.scale));
|
|
4798
4800
|
} else ji.hidden = !0, Ni.hidden = !0, Mi.hidden = !0, N(), P();
|
|
4799
4801
|
if (!s || !mi.length) {
|
|
4800
4802
|
e.update(Mi, ji, Ni);
|
|
4801
4803
|
return;
|
|
4802
4804
|
}
|
|
4803
4805
|
let b = (r = H.selectedRoute) == null ? void 0 : r.to, x = (i = H.selectedRoute) == null ? void 0 : i.from, S = ne(s, u, {
|
|
4804
|
-
snapThreshold:
|
|
4806
|
+
snapThreshold: g,
|
|
4805
4807
|
fromPoint: {
|
|
4806
4808
|
layer: x == null || (a = x.layer) == null ? void 0 : a.name,
|
|
4807
4809
|
x: Q.bounds.center.x,
|
|
@@ -4832,18 +4834,18 @@ function Bi(e) {
|
|
|
4832
4834
|
name: "wf-current-location-2"
|
|
4833
4835
|
}
|
|
4834
4836
|
];
|
|
4835
|
-
|
|
4837
|
+
f.children = t.map(({ point: e }) => e), t.forEach(({ point: e, name: t }) => F(e, t)), e.update(f);
|
|
4836
4838
|
}
|
|
4837
4839
|
function j(t = !1) {
|
|
4838
4840
|
let n = [
|
|
4839
4841
|
Q,
|
|
4840
4842
|
$,
|
|
4841
|
-
...
|
|
4842
|
-
...
|
|
4843
|
+
...s.get(),
|
|
4844
|
+
...l.get()
|
|
4843
4845
|
];
|
|
4844
|
-
t && (re(!0),
|
|
4846
|
+
t && (re(!0), m.children = [], n.forEach((e) => {
|
|
4845
4847
|
e.source.id.includes("kiosk") || (e.hidden = !0);
|
|
4846
|
-
})),
|
|
4848
|
+
})), d.children = n, e.update(d, m);
|
|
4847
4849
|
}
|
|
4848
4850
|
function N(e, t) {
|
|
4849
4851
|
var n, r, i, a, o, s, c, l, u;
|
|
@@ -4862,7 +4864,7 @@ function Bi(e) {
|
|
|
4862
4864
|
var n, r, i, a, o, s, c;
|
|
4863
4865
|
let l = (n = H.selectedRoute) == null ? void 0 : n.from, u = (r = H.selectedRoute) == null ? void 0 : r.to;
|
|
4864
4866
|
if (!l || !u) return;
|
|
4865
|
-
let d = (i = Z[0]) == null ? void 0 : i.p0.layer, f = Ee(Z,
|
|
4867
|
+
let d = (i = Z[0]) == null ? void 0 : i.p0.layer, f = Ee(Z, _, {
|
|
4866
4868
|
layer: (a = (o = l.layer) == null ? void 0 : o.name) == null ? d : a,
|
|
4867
4869
|
x: l.rect.cx,
|
|
4868
4870
|
y: l.rect.cy
|
|
@@ -4888,69 +4890,69 @@ function Bi(e) {
|
|
|
4888
4890
|
return n !== void 0 && (t.bounds.rotation = t.bounds.rotation + n), t;
|
|
4889
4891
|
});
|
|
4890
4892
|
function re(t) {
|
|
4891
|
-
|
|
4893
|
+
r && (r.stop(), r = null), h.children = [], t && (p.children = []), e.update(h, p);
|
|
4892
4894
|
}
|
|
4893
|
-
function I(t = [], n = [],
|
|
4895
|
+
function I(t = [], n = [], i = !1) {
|
|
4894
4896
|
var a;
|
|
4895
4897
|
let o = 0;
|
|
4896
|
-
if (
|
|
4897
|
-
|
|
4898
|
+
if (r && (i && (o = r.getProgress()), r.stop(), r = null), p.children = [...t, ...n], !n.length) {
|
|
4899
|
+
h.children = [], e.update(h, p);
|
|
4898
4900
|
return;
|
|
4899
4901
|
}
|
|
4900
4902
|
let s = n.map((e) => ({
|
|
4901
4903
|
...e,
|
|
4902
4904
|
color: yi
|
|
4903
4905
|
}));
|
|
4904
|
-
|
|
4905
|
-
r ?
|
|
4906
|
-
}, () => e.scale, o)) == null ? null : a, e.update(
|
|
4906
|
+
r = (a = fi(s, (t, n, r) => {
|
|
4907
|
+
r ? h.children = [] : h.children = [...s.slice(0, n), t], e.update(h);
|
|
4908
|
+
}, () => e.scale, o)) == null ? null : a, e.update(p);
|
|
4907
4909
|
}
|
|
4908
|
-
|
|
4910
|
+
i.push(x(() => [z.layerStore.layersLoaded], () => {
|
|
4909
4911
|
D(), O(), j();
|
|
4910
4912
|
}));
|
|
4911
|
-
let ae =
|
|
4912
|
-
z.layerStore.layersLoaded && (
|
|
4913
|
-
D(z.routeStore.currentRouteLayer), O(), j(),
|
|
4913
|
+
let ae = x(() => [z.routeStore.currentRouteLayer, H.getRouteNextFloor], () => {
|
|
4914
|
+
z.layerStore.layersLoaded && (a !== null && clearTimeout(a), a = setTimeout(() => {
|
|
4915
|
+
D(z.routeStore.currentRouteLayer), O(), j(), a = null;
|
|
4914
4916
|
}, 0));
|
|
4915
4917
|
});
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
}),
|
|
4918
|
+
i.push(() => {
|
|
4919
|
+
a !== null && (clearTimeout(a), a = null), ae();
|
|
4920
|
+
}), i.push(x(() => [H.selectedRoute, z.routeStore.onlyAccessible], () => {
|
|
4919
4921
|
D(), O(), j(!H.selectedRoute);
|
|
4920
|
-
})),
|
|
4922
|
+
})), i.push(x(() => z.routeStore.currentPosition, () => {
|
|
4921
4923
|
O(), j();
|
|
4922
|
-
})),
|
|
4924
|
+
})), i.push(x(() => s.get(), (t) => {
|
|
4923
4925
|
let n = "transitionPoints";
|
|
4924
4926
|
e.ptScaleRegistry.unregisterByPrefix(n), e.rollRegistry.unregisterByPrefix(n), t.length && t.forEach((e, t) => {
|
|
4925
4927
|
let r = `${n}-${t}`;
|
|
4926
4928
|
F(e, r), te(e, r);
|
|
4927
4929
|
});
|
|
4928
|
-
})),
|
|
4929
|
-
let t =
|
|
4930
|
+
})), i.push(x(() => [l.get()], () => {
|
|
4931
|
+
let t = l.get(), n = "kioskArrows";
|
|
4930
4932
|
e.ptScaleRegistry.unregisterByPrefix(n), t.length && t.forEach((e, t) => F(e, `${n}-${t}`));
|
|
4931
|
-
})),
|
|
4933
|
+
})), i.push(x(() => [
|
|
4932
4934
|
H.kioskData,
|
|
4933
4935
|
W.floors.find((e) => e.active),
|
|
4934
4936
|
H.selectedRoute
|
|
4935
4937
|
], ([t, n]) => {
|
|
4936
|
-
|
|
4938
|
+
l.set([]);
|
|
4937
4939
|
let r = Me() ? (t == null ? void 0 : t.z) === (n == null ? void 0 : n.name) : !0;
|
|
4938
4940
|
t && r && Gi(t, {
|
|
4939
4941
|
skipdim: !0,
|
|
4940
4942
|
visible: !0,
|
|
4941
4943
|
pixelRatio: X
|
|
4942
|
-
}, e.scale,
|
|
4944
|
+
}, e.scale, l), j();
|
|
4943
4945
|
}));
|
|
4944
4946
|
function oe({ defs: e }) {
|
|
4945
|
-
let t =
|
|
4947
|
+
let t = c.find((t) => e.includes(t.imageDef));
|
|
4946
4948
|
t && z.layerStore.updateVisibility(t.targetLayer, !0);
|
|
4947
4949
|
}
|
|
4948
|
-
e.renderer.events.addEventListener("pointer:click", oe),
|
|
4950
|
+
e.renderer.events.addEventListener("pointer:click", oe), i.push(() => e.renderer.events.removeEventListener("pointer:click", oe));
|
|
4949
4951
|
function ce({ defs: t }) {
|
|
4950
|
-
let n =
|
|
4952
|
+
let n = c.some((e) => t.includes(e.imageDef));
|
|
4951
4953
|
e.renderer.canvas.style.cursor = n ? "pointer" : "";
|
|
4952
4954
|
}
|
|
4953
|
-
e.renderer.events.addEventListener("pointer:move", ce),
|
|
4955
|
+
e.renderer.events.addEventListener("pointer:move", ce), i.push(() => e.renderer.events.removeEventListener("pointer:move", ce)), [{
|
|
4954
4956
|
point: Q,
|
|
4955
4957
|
name: "wf-source"
|
|
4956
4958
|
}, {
|
|
@@ -4960,7 +4962,7 @@ function Bi(e) {
|
|
|
4960
4962
|
F(e, t), te(e, t);
|
|
4961
4963
|
}), j(), O(), k();
|
|
4962
4964
|
function le() {
|
|
4963
|
-
|
|
4965
|
+
r && (r.stop(), r = null), i.forEach((e) => e()), i.length = 0;
|
|
4964
4966
|
}
|
|
4965
4967
|
return le;
|
|
4966
4968
|
}
|
|
@@ -5068,8 +5070,8 @@ function Ki(e, t, n = !1) {
|
|
|
5068
5070
|
//#region src/components/Map/drawing/config/config-markers.ts
|
|
5069
5071
|
var qi = "_selected", Ji = "markers";
|
|
5070
5072
|
function Yi(e) {
|
|
5071
|
-
let t = [], n = /* @__PURE__ */ new Map(),
|
|
5072
|
-
async function
|
|
5073
|
+
let t = [], n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = [], a = e.scene.rootLayer.children.find((e) => e.name === Ji);
|
|
5074
|
+
async function o(e) {
|
|
5073
5075
|
let t = [];
|
|
5074
5076
|
e.forEach((e) => {
|
|
5075
5077
|
let { name: r, content: i, width: a, height: o, scale: s } = e;
|
|
@@ -5089,34 +5091,34 @@ function Yi(e) {
|
|
|
5089
5091
|
t.push(l), c.src = i, c.crossOrigin = "anonymous";
|
|
5090
5092
|
}), await Promise.all(t);
|
|
5091
5093
|
}
|
|
5092
|
-
let
|
|
5094
|
+
let s = (e) => `marker-ptScaleHandlers-${e.id}`, c = (e) => `marker-rollHandlers-${e.id}`, l = (t, n) => {
|
|
5093
5095
|
e.onPtScale(n, (e) => {
|
|
5094
5096
|
let { center: n, rotation: r } = t.bounds, { width: i, height: a } = t.source;
|
|
5095
5097
|
return t.bounds = M(n.x, n.y, i, a, e, r), t;
|
|
5096
5098
|
});
|
|
5097
|
-
},
|
|
5099
|
+
}, u = (t, n) => {
|
|
5098
5100
|
e.onRoll(n, (e) => (t.bounds.rotation = e, t));
|
|
5099
5101
|
};
|
|
5100
|
-
function
|
|
5102
|
+
function d() {
|
|
5101
5103
|
let t = z.routeStore.markersData.markers;
|
|
5102
5104
|
if (!t.length) return;
|
|
5103
|
-
|
|
5104
|
-
let
|
|
5105
|
+
i = [];
|
|
5106
|
+
let o = e.getCameraState(), d = (o == null ? void 0 : o.ptScale) || 1, f = li(o == null ? void 0 : o.roll) || 0;
|
|
5105
5107
|
t.forEach((e) => {
|
|
5106
|
-
var t,
|
|
5108
|
+
var t, a;
|
|
5107
5109
|
let o = n.get(e.icon);
|
|
5108
5110
|
if (!o) return;
|
|
5109
|
-
let
|
|
5110
|
-
if (!
|
|
5111
|
-
let e = ut(o.img, o.width, o.height,
|
|
5112
|
-
|
|
5111
|
+
let s = o.scale || window.devicePixelRatio, c = e.icon;
|
|
5112
|
+
if (!r.has(c)) {
|
|
5113
|
+
let e = ut(o.img, o.width, o.height, s);
|
|
5114
|
+
r.set(c, e);
|
|
5113
5115
|
}
|
|
5114
|
-
let
|
|
5115
|
-
if (!
|
|
5116
|
-
let e = ut(o.img,
|
|
5117
|
-
|
|
5116
|
+
let l = r.get(c), u = n.get(e.selectedIcon), p = e.selectedIcon;
|
|
5117
|
+
if (!r.has(p)) {
|
|
5118
|
+
let e = ut(o.img, u.width, u.height, s);
|
|
5119
|
+
r.set(p, e);
|
|
5118
5120
|
}
|
|
5119
|
-
let m =
|
|
5121
|
+
let m = r.get(p), h = (t = (a = W.findLayer(e.z)) == null ? void 0 : a.visible) == null ? !0 : t, g = M(e.x, e.y, l.width, l.height, d, f), _ = M(e.x, e.y, m.width, m.height, d, f), v;
|
|
5120
5122
|
switch (e.position) {
|
|
5121
5123
|
case "lefttop":
|
|
5122
5124
|
v = [0, 0];
|
|
@@ -5130,49 +5132,49 @@ function Yi(e) {
|
|
|
5130
5132
|
default: v = [.5, .5];
|
|
5131
5133
|
}
|
|
5132
5134
|
let y = {
|
|
5133
|
-
...Ue(
|
|
5135
|
+
...Ue(l, g, {
|
|
5134
5136
|
hidden: !h,
|
|
5135
5137
|
origin: v
|
|
5136
5138
|
}),
|
|
5137
5139
|
id: e.id,
|
|
5138
|
-
scale:
|
|
5140
|
+
scale: s
|
|
5139
5141
|
}, b = {
|
|
5140
5142
|
...Ue(m, _, {
|
|
5141
5143
|
hidden: !(h && e.active),
|
|
5142
5144
|
origin: v
|
|
5143
5145
|
}),
|
|
5144
5146
|
id: `${e.id}${qi}`,
|
|
5145
|
-
scale:
|
|
5147
|
+
scale: s
|
|
5146
5148
|
};
|
|
5147
|
-
|
|
5148
|
-
}),
|
|
5149
|
-
|
|
5149
|
+
i.push(y, b);
|
|
5150
|
+
}), a.children = i, i.forEach((e) => {
|
|
5151
|
+
l(e, s(e)), u(e, c(e));
|
|
5150
5152
|
});
|
|
5151
5153
|
}
|
|
5152
|
-
function
|
|
5153
|
-
|
|
5154
|
-
e.ptScaleRegistry.unregisterByName(
|
|
5155
|
-
}),
|
|
5154
|
+
function f() {
|
|
5155
|
+
i.forEach((t) => {
|
|
5156
|
+
e.ptScaleRegistry.unregisterByName(s(t)), e.rollRegistry.unregisterByName(c(t));
|
|
5157
|
+
}), a.children = [], i = [];
|
|
5156
5158
|
}
|
|
5157
|
-
function
|
|
5159
|
+
function p() {
|
|
5158
5160
|
let e = z.routeStore.markersData.markers;
|
|
5159
5161
|
e.length && e.forEach((e) => {
|
|
5160
5162
|
var t, n;
|
|
5161
|
-
let r =
|
|
5163
|
+
let r = i.find((t) => t.id === e.id), a = i.find((t) => t.id === `${e.id}${qi}`);
|
|
5162
5164
|
if (!r) return;
|
|
5163
5165
|
let o = (t = (n = W.findLayer(e.z)) == null ? void 0 : n.visible) == null ? !0 : t;
|
|
5164
|
-
e.active ? (r.hidden = !0,
|
|
5166
|
+
e.active ? (r.hidden = !0, a.hidden = !(o && e.active)) : (r.hidden = !o, a.hidden = !0);
|
|
5165
5167
|
});
|
|
5166
5168
|
}
|
|
5167
|
-
return t.push(
|
|
5169
|
+
return t.push(x(() => [z.routeStore.selectedMarkers, z.layerStore.visible], () => {
|
|
5168
5170
|
if (!z.routeStore.markersData.markers.length) {
|
|
5169
|
-
|
|
5171
|
+
f(), e.update(a);
|
|
5170
5172
|
return;
|
|
5171
5173
|
}
|
|
5172
|
-
|
|
5173
|
-
})), t.push(
|
|
5174
|
-
|
|
5175
|
-
|
|
5174
|
+
p(), e.update(...i);
|
|
5175
|
+
})), t.push(x(() => z.routeStore.markersData.markers, () => {
|
|
5176
|
+
o(z.routeStore.markersData.icons).then(() => {
|
|
5177
|
+
d(), e.update(a);
|
|
5176
5178
|
});
|
|
5177
5179
|
})), function() {
|
|
5178
5180
|
t.forEach((e) => e()), t.length = 0;
|
|
@@ -5332,38 +5334,38 @@ function ka(e) {
|
|
|
5332
5334
|
return ((t = e.paths) == null ? void 0 : t.length) > 1 && Oa(e.paths[e.paths.length - 1].color) || n;
|
|
5333
5335
|
}
|
|
5334
5336
|
function Aa(e, t) {
|
|
5335
|
-
let n = xa(t.title || t.name),
|
|
5337
|
+
let n = xa(t.title || t.name), r = ka(t), i = tt((0, $r.default)(r).hex()), a = window.devicePixelRatio || 1;
|
|
5336
5338
|
ba.font = ct(ga, da);
|
|
5337
|
-
let
|
|
5338
|
-
let n = e / 2, r = t / 2, i =
|
|
5339
|
+
let o = ba.measureText(n).width, s = Math.ceil(o + _a * 2), c = ga + va * 2, l = (t.borderWidth || rt.borderWidth) / 2, u = s * ya, d = c * ya, f = t.rotate ? -t.rotate : 0, p = t.rect.w, m = t.rect.h, h = Math.min(p > 0 ? p * fa / u : Infinity, m > 0 ? m * pa / d : Infinity), g = Sa(t), { x: _, y: v } = Da(t, g, l, f), y = Ta(g, _, v, u, d, h), b = Math.cos(f), S = Math.sin(f), C = (e, t) => {
|
|
5340
|
+
let n = e / 2, r = t / 2, i = _ + n * b - r * S, a = v + n * S + r * b;
|
|
5339
5341
|
return new lt({
|
|
5340
5342
|
x: i - n,
|
|
5341
5343
|
y: a - r
|
|
5342
5344
|
}, {
|
|
5343
5345
|
x: i + n,
|
|
5344
5346
|
y: a + r
|
|
5345
|
-
},
|
|
5347
|
+
}, f);
|
|
5346
5348
|
}, w = (e) => {
|
|
5347
|
-
let t = Math.min(e,
|
|
5348
|
-
return C(
|
|
5349
|
-
}, T = Ie(da, e.fontUrls), E = pt(C(1, 1),
|
|
5349
|
+
let t = Math.min(e, y);
|
|
5350
|
+
return C(u * t, d * t);
|
|
5351
|
+
}, T = Ie(da, e.fontUrls), E = pt(C(1, 1), r);
|
|
5350
5352
|
E.hidden = !0, E.dim = t.skipDim ? !1 : void 0;
|
|
5351
|
-
let D = Pe(dt([[n], []],
|
|
5353
|
+
let D = Pe(dt([[n], []], i, 0, [T, T]), C(1, 1), [0, 0], {
|
|
5352
5354
|
horizontal: "center",
|
|
5353
5355
|
vertical: "center"
|
|
5354
5356
|
});
|
|
5355
5357
|
D.hidden = !0, D.dim = t.skipDim ? !1 : void 0;
|
|
5356
5358
|
let O = () => !!(t.layer && !t.layer.visible);
|
|
5357
|
-
return
|
|
5359
|
+
return x(() => t.skipDim, (t) => {
|
|
5358
5360
|
E.dim = t ? !1 : void 0, D.dim = t ? !1 : void 0, e.update(E, D);
|
|
5359
|
-
}),
|
|
5361
|
+
}), x(() => {
|
|
5360
5362
|
var e, n;
|
|
5361
5363
|
return (e = (n = t.layer) == null ? void 0 : n.visible) == null ? !0 : e;
|
|
5362
5364
|
}, (t) => {
|
|
5363
5365
|
E.hidden = !t, D.hidden = !t, e.update(E, D);
|
|
5364
5366
|
}), e.onPtScale(`badge-bg-${t.id}`, (e) => (E.shape = w(e), E.hidden = O(), E)), e.onPtScale(`badge-text-${t.id}`, (e) => {
|
|
5365
|
-
let t = Math.min(e,
|
|
5366
|
-
return D.lines[0].fontSize = ha /
|
|
5367
|
+
let t = Math.min(e, y);
|
|
5368
|
+
return D.lines[0].fontSize = ha / a * t, D.bounds = w(e), D.hidden = O(), D;
|
|
5367
5369
|
}), {
|
|
5368
5370
|
bg: E,
|
|
5369
5371
|
text: D
|
|
@@ -5697,9 +5699,9 @@ function Ga({ enabled: e, rendererService: t }) {
|
|
|
5697
5699
|
//#region src/components/Map/traffic/useManageTraffic.ts
|
|
5698
5700
|
var Ka = 2, qa = Ka * 3.5, Ja = Ka * 12, Ya = Ja * .7, Xa = 8, Za = "transport_locations", Qa = 150, $a = "#a4aab6", eo = 1e3, to = 2e4, no = 500;
|
|
5699
5701
|
function ro({ permission: e, rendererService: t, dataJsonUrl: n, websocketUrl: r }) {
|
|
5700
|
-
let i = (0, q.useRef)(window.devicePixelRatio), a = (0, q.useRef)(/* @__PURE__ */ new Map()), o = (0, q.useRef)(/* @__PURE__ */ new Map()), s = (0, q.useRef)(), c = (0, q.useRef)(),
|
|
5702
|
+
let i = (0, q.useRef)(window.devicePixelRatio), a = (0, q.useRef)(/* @__PURE__ */ new Map()), o = (0, q.useRef)(/* @__PURE__ */ new Map()), s = (0, q.useRef)(), c = (0, q.useRef)(), u = (0, q.useRef)(performance.now()), d = (0, q.useRef)(1), f = (0, q.useRef)(new Na()), p = (0, q.useRef)(/* @__PURE__ */ new Map()), m = (0, q.useRef)(), h = (0, q.useRef)(eo), _ = (0, q.useRef)(/* @__PURE__ */ new Map()), v = (0, q.useRef)();
|
|
5701
5703
|
(0, q.useEffect)(() => {
|
|
5702
|
-
async function
|
|
5704
|
+
async function y() {
|
|
5703
5705
|
if (!(!e || !t.scene)) try {
|
|
5704
5706
|
let e;
|
|
5705
5707
|
try {
|
|
@@ -5712,18 +5714,18 @@ function ro({ permission: e, rendererService: t, dataJsonUrl: n, websocketUrl: r
|
|
|
5712
5714
|
}
|
|
5713
5715
|
if (!e || e != null && e.disabled || e != null && e.error) return;
|
|
5714
5716
|
i.current = io(t.scale);
|
|
5715
|
-
let r = new Map(e.routes.map(({ id: e, color: t }) => [e, t])), s = t.scene.rootLayer.children,
|
|
5717
|
+
let r = new Map(e.routes.map(({ id: e, color: t }) => [e, t])), s = t.scene.rootLayer.children, h = /* @__PURE__ */ new Map();
|
|
5716
5718
|
r.forEach((e) => {
|
|
5717
|
-
|
|
5719
|
+
h.set(e, oo({
|
|
5718
5720
|
radius: qa,
|
|
5719
5721
|
color: e,
|
|
5720
5722
|
scale: window.devicePixelRatio
|
|
5721
5723
|
}));
|
|
5722
5724
|
});
|
|
5723
|
-
let
|
|
5724
|
-
e.routes.slice(0,
|
|
5725
|
-
|
|
5726
|
-
let c =
|
|
5725
|
+
let v = ca(), y = s.filter((e) => v.test(e.name)), x = la(), C = s.filter((e) => x.test(e.name));
|
|
5726
|
+
e.routes.slice(0, y.length).forEach(({ id: e, color: n, path: r, stops: a, hiddenPoints: o }, s) => {
|
|
5727
|
+
p.current.set(e, r);
|
|
5728
|
+
let c = y[s];
|
|
5727
5729
|
if (c) {
|
|
5728
5730
|
var l;
|
|
5729
5731
|
let e = new Map((l = o == null ? void 0 : o.map((e) => [_o(e), e])) == null ? [] : l);
|
|
@@ -5735,21 +5737,21 @@ function ro({ permission: e, rendererService: t, dataJsonUrl: n, websocketUrl: r
|
|
|
5735
5737
|
width: Ka
|
|
5736
5738
|
});
|
|
5737
5739
|
}
|
|
5738
|
-
c.children.length &&
|
|
5740
|
+
c.children.length && f.current.add(() => t.update(c));
|
|
5739
5741
|
}
|
|
5740
5742
|
let u = C[s];
|
|
5741
5743
|
if (u && a != null && a.length) {
|
|
5742
|
-
let e =
|
|
5744
|
+
let e = h.get(n);
|
|
5743
5745
|
a.forEach((t) => {
|
|
5744
5746
|
u.children.push({
|
|
5745
5747
|
source: e,
|
|
5746
5748
|
bounds: M(t.x, t.y, e.width, e.height, i.current)
|
|
5747
5749
|
});
|
|
5748
|
-
}), u.children.length &&
|
|
5750
|
+
}), u.children.length && f.current.add(() => t.update(u));
|
|
5749
5751
|
}
|
|
5750
5752
|
});
|
|
5751
5753
|
let w = s.find((e) => e.name === ta), T = /* @__PURE__ */ new Map();
|
|
5752
|
-
|
|
5754
|
+
m.current = (e) => {
|
|
5753
5755
|
try {
|
|
5754
5756
|
i.current = io(e);
|
|
5755
5757
|
let n = [];
|
|
@@ -5765,11 +5767,11 @@ function ro({ permission: e, rendererService: t, dataJsonUrl: n, websocketUrl: r
|
|
|
5765
5767
|
let t = r[e];
|
|
5766
5768
|
t.bounds = M(t.bounds.center.x, t.bounds.center.y, t.source.width, t.source.height, i.current, t.bounds.rotation);
|
|
5767
5769
|
}
|
|
5768
|
-
|
|
5770
|
+
f.current.add(() => t.update(...n, ...r));
|
|
5769
5771
|
} catch (e) {
|
|
5770
5772
|
console.error("ptscale", e);
|
|
5771
5773
|
}
|
|
5772
|
-
}, t.renderer.events.addEventListener("viewport:ptscale",
|
|
5774
|
+
}, t.renderer.events.addEventListener("viewport:ptscale", m.current), r.forEach((e, t) => {
|
|
5773
5775
|
T.set(t, so({
|
|
5774
5776
|
id: t,
|
|
5775
5777
|
width: Ja,
|
|
@@ -5786,7 +5788,7 @@ function ro({ permission: e, rendererService: t, dataJsonUrl: n, websocketUrl: r
|
|
|
5786
5788
|
}));
|
|
5787
5789
|
let E = null;
|
|
5788
5790
|
try {
|
|
5789
|
-
E = ut(await
|
|
5791
|
+
E = ut(await g(`${l}icons/bus-white.svg`), Ya, Ya, window.devicePixelRatio);
|
|
5790
5792
|
} catch (e) {
|
|
5791
5793
|
console.error(e);
|
|
5792
5794
|
}
|
|
@@ -5796,21 +5798,21 @@ function ro({ permission: e, rendererService: t, dataJsonUrl: n, websocketUrl: r
|
|
|
5796
5798
|
let r = JSON.parse(e.data);
|
|
5797
5799
|
if (r.type !== Za) return;
|
|
5798
5800
|
let s = e.timeStamp || performance.now();
|
|
5799
|
-
|
|
5800
|
-
let c = Math.max((n =
|
|
5801
|
+
d.current = Math.round(s - u.current), u.current = s;
|
|
5802
|
+
let c = Math.max((n = d.current) == null ? no : n, no), l = o.current, m = a.current, h = w.children, g = f.current, v = !1;
|
|
5801
5803
|
r.data.forEach(({ id: e, x: n, y: r, route_id: a, hidden: o }) => {
|
|
5802
|
-
if (
|
|
5804
|
+
if (l.has(e)) {
|
|
5803
5805
|
var s;
|
|
5804
|
-
(s =
|
|
5806
|
+
(s = l.get(e)) == null || s(), l.delete(e);
|
|
5805
5807
|
}
|
|
5806
5808
|
if (o && m.has(e) && m.has(lo(e))) {
|
|
5807
5809
|
let n = m.get(e);
|
|
5808
5810
|
n.hidden = !0;
|
|
5809
5811
|
let r = m.get(lo(e));
|
|
5810
|
-
r.hidden = !0,
|
|
5812
|
+
r.hidden = !0, g.add(() => t.update(n, r));
|
|
5811
5813
|
return;
|
|
5812
5814
|
}
|
|
5813
|
-
if (
|
|
5815
|
+
if (_.current.set(e, performance.now()), !m.has(e)) {
|
|
5814
5816
|
let t = T.get(a) || T.get($a), o = {
|
|
5815
5817
|
id: e,
|
|
5816
5818
|
source: t,
|
|
@@ -5822,24 +5824,24 @@ function ro({ permission: e, rendererService: t, dataJsonUrl: n, websocketUrl: r
|
|
|
5822
5824
|
source: E,
|
|
5823
5825
|
bounds: M(n, r, E.width, E.height, i.current, 0)
|
|
5824
5826
|
};
|
|
5825
|
-
E.setAttribute("id", t), m.set(t, a),
|
|
5826
|
-
} else
|
|
5827
|
+
E.setAttribute("id", t), m.set(t, a), h.push(o, a);
|
|
5828
|
+
} else h.push(o);
|
|
5827
5829
|
v = !0;
|
|
5828
5830
|
return;
|
|
5829
5831
|
}
|
|
5830
|
-
let
|
|
5832
|
+
let u = m.get(e), d = m.get(lo(e)), f = u.bounds.center, y = ho(f, {
|
|
5831
5833
|
x: n,
|
|
5832
5834
|
y: r
|
|
5833
|
-
},
|
|
5835
|
+
}, p.current.get(a));
|
|
5834
5836
|
if (y.reduce((e, t, n) => n === 0 ? e : e + co(y[n - 1], t), 0) >= Qa || document.hidden) uo({
|
|
5835
5837
|
rendererService: t,
|
|
5836
|
-
updateQueue:
|
|
5837
|
-
vehicle:
|
|
5838
|
-
vehicleFinery:
|
|
5838
|
+
updateQueue: g,
|
|
5839
|
+
vehicle: u,
|
|
5840
|
+
vehicleFinery: d,
|
|
5839
5841
|
x: n,
|
|
5840
5842
|
y: r,
|
|
5841
5843
|
scale: i.current,
|
|
5842
|
-
angle: ao(
|
|
5844
|
+
angle: ao(u.bounds.center, {
|
|
5843
5845
|
x: n,
|
|
5844
5846
|
y: r
|
|
5845
5847
|
})
|
|
@@ -5848,53 +5850,53 @@ function ro({ permission: e, rendererService: t, dataJsonUrl: n, websocketUrl: r
|
|
|
5848
5850
|
let n = go(y, c, (e) => {
|
|
5849
5851
|
uo({
|
|
5850
5852
|
rendererService: t,
|
|
5851
|
-
updateQueue:
|
|
5852
|
-
vehicle:
|
|
5853
|
-
vehicleFinery:
|
|
5853
|
+
updateQueue: g,
|
|
5854
|
+
vehicle: u,
|
|
5855
|
+
vehicleFinery: d,
|
|
5854
5856
|
x: e.x,
|
|
5855
5857
|
y: e.y,
|
|
5856
5858
|
scale: i.current,
|
|
5857
5859
|
angle: e.angle
|
|
5858
5860
|
});
|
|
5859
5861
|
});
|
|
5860
|
-
|
|
5862
|
+
l.set(e, n);
|
|
5861
5863
|
}
|
|
5862
|
-
}), v &&
|
|
5864
|
+
}), v && g.add(() => t.update(w));
|
|
5863
5865
|
} catch (e) {
|
|
5864
5866
|
console.error("handleSocketMessage", e);
|
|
5865
5867
|
}
|
|
5866
|
-
},
|
|
5868
|
+
}, b(), S(e.config ? (Number(e.config.vehicle_inactive_interval) || 20) * 1e3 : to);
|
|
5867
5869
|
} catch (e) {
|
|
5868
5870
|
console.warn(e);
|
|
5869
5871
|
}
|
|
5870
5872
|
}
|
|
5871
|
-
|
|
5872
|
-
function
|
|
5873
|
+
y();
|
|
5874
|
+
function b() {
|
|
5873
5875
|
var e, t;
|
|
5874
5876
|
((e = s.current) == null ? void 0 : e.readyState) === WebSocket.OPEN || ((t = s.current) == null ? void 0 : t.readyState) === WebSocket.CONNECTING || (s.current = new WebSocket(r), s.current.onmessage = c.current, s.current.onopen = () => {
|
|
5875
|
-
|
|
5877
|
+
h.current = eo;
|
|
5876
5878
|
}, s.current.onclose = () => {
|
|
5877
|
-
navigator.onLine && (setTimeout(
|
|
5879
|
+
navigator.onLine && (setTimeout(b, h.current), h.current = Math.min(h.current * 2, 3e4));
|
|
5878
5880
|
});
|
|
5879
5881
|
}
|
|
5880
|
-
function
|
|
5881
|
-
|
|
5882
|
+
function x() {
|
|
5883
|
+
b();
|
|
5882
5884
|
}
|
|
5883
|
-
window.addEventListener("online",
|
|
5885
|
+
window.addEventListener("online", x);
|
|
5884
5886
|
function S(e) {
|
|
5885
|
-
clearInterval(
|
|
5887
|
+
clearInterval(v.current), v.current = window.setInterval(() => {
|
|
5886
5888
|
let n = performance.now(), r = [], i = [];
|
|
5887
|
-
|
|
5889
|
+
_.current.forEach((t, o) => {
|
|
5888
5890
|
if (n - t < e) return;
|
|
5889
5891
|
let s = a.current.get(o);
|
|
5890
5892
|
s && (s.hidden = !0, i.push(s), r.push(o));
|
|
5891
5893
|
let c = lo(o), l = a.current.get(c);
|
|
5892
5894
|
l && (l.hidden = !0, i.push(l), r.push(c));
|
|
5893
|
-
}), i.length &&
|
|
5895
|
+
}), i.length && f.current.add(() => t.update(...i)), r.forEach((e) => _.current.delete(e));
|
|
5894
5896
|
}, e);
|
|
5895
5897
|
}
|
|
5896
5898
|
return () => {
|
|
5897
|
-
|
|
5899
|
+
m.current && t.renderer && t.renderer.events.removeEventListener("viewport:ptscale", m.current), o.current.forEach((e) => e == null ? void 0 : e()), o.current.clear(), a.current.clear(), f.current.destroy(), window.removeEventListener("online", x), clearInterval(v.current);
|
|
5898
5900
|
};
|
|
5899
5901
|
}, [
|
|
5900
5902
|
e,
|
|
@@ -6018,9 +6020,9 @@ function wo() {
|
|
|
6018
6020
|
let c = yo.filter((e) => s.intersects(e));
|
|
6019
6021
|
So.set(s, c);
|
|
6020
6022
|
}
|
|
6021
|
-
|
|
6023
|
+
o.log("hover segmentToRects", So);
|
|
6022
6024
|
}
|
|
6023
|
-
|
|
6025
|
+
x(() => [
|
|
6024
6026
|
rt.booths,
|
|
6025
6027
|
W.loaded,
|
|
6026
6028
|
W.visible
|
|
@@ -6048,10 +6050,10 @@ function Eo(e, t) {
|
|
|
6048
6050
|
//#region src/components/Map/Map.tsx
|
|
6049
6051
|
var Do = Number.isFinite(j.maxZoom);
|
|
6050
6052
|
function Oo() {
|
|
6051
|
-
let e = {}, t = (0, q.useRef)(), n = (0, q.useMemo)(() =>
|
|
6053
|
+
let e = {}, t = (0, q.useRef)(), n = (0, q.useMemo)(() => y({
|
|
6052
6054
|
moving: !1,
|
|
6053
6055
|
prevLevel: z.layerStore.layers.find((e) => !e.frozen && e.visible)
|
|
6054
|
-
}), []), r = z.rendererService, i, a = (0, q.useRef)(null),
|
|
6056
|
+
}), []), r = z.rendererService, i, a = (0, q.useRef)(null), s = null, c = null, [l, u] = (0, q.useState)(() => typeof window < "u" && window.localStorage ? localStorage.getItem("debug") !== "0" : !0);
|
|
6055
6057
|
K(() => z.routeStore.currentRouteLayer, () => {
|
|
6056
6058
|
if (!r.scene || n.prevLevel === z.routeStore.currentRouteLayer) return;
|
|
6057
6059
|
let e = r.scene.rootLayer.children.filter((e) => z.layerStore.floors.some((t) => e.name.includes(t.name))), t = z.routeStore.currentRouteLayer.name;
|
|
@@ -6068,8 +6070,8 @@ function Oo() {
|
|
|
6068
6070
|
async function n() {
|
|
6069
6071
|
let n = {};
|
|
6070
6072
|
try {
|
|
6071
|
-
if (
|
|
6072
|
-
let e = document.createElement("canvas").getContext("webgl2"), t = e && e.getExtension("EXT_disjoint_timer_query_webgl2"), r = (await import("./main-
|
|
6073
|
+
if (_) {
|
|
6074
|
+
let e = document.createElement("canvas").getContext("webgl2"), t = e && e.getExtension("EXT_disjoint_timer_query_webgl2"), r = (await import("./main-C7b3KFSJ.js")).default, i = new r({
|
|
6073
6075
|
trackGPU: t,
|
|
6074
6076
|
horizontal: !0
|
|
6075
6077
|
}), o = a.current;
|
|
@@ -6087,12 +6089,12 @@ function Oo() {
|
|
|
6087
6089
|
ui: n
|
|
6088
6090
|
}), H.canvasVisibleRectPx && (i.visibleRect = lt.fromCoreRect(H.canvasVisibleRectPx)), Ma(r).then((t) => {
|
|
6089
6091
|
var n;
|
|
6090
|
-
|
|
6092
|
+
_ && console.log("Renderer settings", i);
|
|
6091
6093
|
let a = (0, $r.default)(j.backgroundColor === "none" ? "#ebebeb" : j.backgroundColor).string("rgba");
|
|
6092
|
-
e = st(t, lt.fromCoreRect(Se), a), r.start(e), $e(i, +!!z.fp.enableRotation), Do && i.viewport.setMaxZoom(j.maxZoom), W.layersLoaded = !0, z.fp.onFpConfigured && ((n = z.fp) == null || n.onFpConfigured()),
|
|
6094
|
+
e = st(t, lt.fromCoreRect(Se), a), r.start(e), $e(i, +!!z.fp.enableRotation), Do && i.viewport.setMaxZoom(j.maxZoom), W.layersLoaded = !0, z.fp.onFpConfigured && ((n = z.fp) == null || n.onFpConfigured()), s = Bi(r), c = Yi(r), qe(r);
|
|
6093
6095
|
}), i.events.addEventListener("pointer:move", ({ point: e, defs: t }) => {
|
|
6094
6096
|
if (H.setKioskModeEnabled) return;
|
|
6095
|
-
let n = Eo(e.x, e.y), r =
|
|
6097
|
+
let n = Eo(e.x, e.y), r = m(t[0]);
|
|
6096
6098
|
H.hoveredBooth = n || r;
|
|
6097
6099
|
}), i.events.addEventListener("pointer:out", () => {
|
|
6098
6100
|
H.setKioskModeEnabled || (H.hoveredBooth = null);
|
|
@@ -6111,18 +6113,18 @@ function Oo() {
|
|
|
6111
6113
|
if (H.setKioskModeEnabled) return;
|
|
6112
6114
|
if (H.onMarkerClick) {
|
|
6113
6115
|
let e = Xi(n, i, r.scale);
|
|
6114
|
-
|
|
6116
|
+
_ && console.log("marker", e), H.onMarkerClick(e);
|
|
6115
6117
|
}
|
|
6116
|
-
let a = Eo(t.x, t.y), o =
|
|
6117
|
-
|
|
6118
|
+
let a = Eo(t.x, t.y), o = m(e[0]);
|
|
6119
|
+
_ && console.log("boothIdFromClientXy", a, "boothByShape", o, "pointer:click point", t), z.clickBooth(a || o);
|
|
6118
6120
|
}), i.events.addEventListener("navigation:change", () => window.__resett && window.__resett());
|
|
6119
6121
|
}
|
|
6120
|
-
return n(), z.fp.getCenterCoordinates =
|
|
6122
|
+
return n(), z.fp.getCenterCoordinates = p, () => f();
|
|
6121
6123
|
}, []);
|
|
6122
|
-
function
|
|
6123
|
-
|
|
6124
|
+
function f() {
|
|
6125
|
+
s == null || s(), c == null || c(), r.dispose();
|
|
6124
6126
|
}
|
|
6125
|
-
function
|
|
6127
|
+
function p() {
|
|
6126
6128
|
let e = t.current;
|
|
6127
6129
|
if (!t.current) throw Error("Canvas not ready");
|
|
6128
6130
|
let n = i.viewport.canvasToSvg({
|
|
@@ -6134,7 +6136,7 @@ function Oo() {
|
|
|
6134
6136
|
z: a
|
|
6135
6137
|
};
|
|
6136
6138
|
}
|
|
6137
|
-
function
|
|
6139
|
+
function m(e) {
|
|
6138
6140
|
return !e || !e.shape ? null : rt.booths.find((t) => {
|
|
6139
6141
|
var n;
|
|
6140
6142
|
return (n = t.shapes) == null ? void 0 : n.find((t) => t.shape == e.shape);
|
|
@@ -6180,50 +6182,50 @@ function Oo() {
|
|
|
6180
6182
|
}), K(() => H.canvasVisibleRectPx, () => {
|
|
6181
6183
|
r.renderer && (r.renderer.visibleRect = lt.fromCoreRect(H.canvasVisibleRectPx));
|
|
6182
6184
|
}, { fireImmediately: !0 }), K(() => H.moveToRect, () => {
|
|
6183
|
-
!H.moveToRect || z.mapboxStore.showMapbox || (H.moveToRect && H.moveToRect.h !== Infinity && H.moveToRect.w !== Infinity && H.moveToRect.h > 0 && H.moveToRect.w > 0 &&
|
|
6185
|
+
!H.moveToRect || z.mapboxStore.showMapbox || (H.moveToRect && H.moveToRect.h !== Infinity && H.moveToRect.w !== Infinity && H.moveToRect.h > 0 && H.moveToRect.w > 0 && g(H.moveToRect), H.moveToRect = null);
|
|
6184
6186
|
}), K(() => H.rollReset, (e) => {
|
|
6185
6187
|
e && (i.controls.resetCamera({ roll: !0 }), H.rollReset = !1);
|
|
6186
6188
|
}), K(() => H.moveToBooths, () => {
|
|
6187
|
-
if (
|
|
6188
|
-
|
|
6189
|
+
if (o.log("this.moveToBooths", H.moveToBooths), !H.moveToBooths || z.mapboxStore.showMapbox) return;
|
|
6190
|
+
o.log("watched moveToBooths", H.moveToBooths);
|
|
6189
6191
|
let e = H.moveToBooths.filter((e) => e.rect).map((e) => e.rect);
|
|
6190
|
-
e.length !== 0 && (
|
|
6191
|
-
}), K(() => H.mapSettings, ({ zoomtime: e, center: t, centerxy: n, bearing: a, roll:
|
|
6192
|
+
e.length !== 0 && (g(Oe.fromMultiple(e)), H.moveToBooths = null);
|
|
6193
|
+
}), K(() => H.mapSettings, ({ zoomtime: e, center: t, centerxy: n, bearing: a, roll: s, z: c }) => {
|
|
6192
6194
|
if (!(z.mapboxStore.showMapbox || !r.renderer)) try {
|
|
6193
|
-
e && e !== H.defaultMapSettings.zoomtime && r.renderer.controls.configure({ zoomTime: e / 1e3 }), z.fp.enableRotation && $e(i,
|
|
6194
|
-
let
|
|
6195
|
+
e && e !== H.defaultMapSettings.zoomtime && r.renderer.controls.configure({ zoomTime: e / 1e3 }), z.fp.enableRotation && $e(i, s);
|
|
6196
|
+
let o;
|
|
6195
6197
|
if (t) {
|
|
6196
6198
|
let e = t.split(",").map(Number);
|
|
6197
|
-
|
|
6199
|
+
o = le(new _e(void 0, void 0, void 0, void 0, e[0], e[1]), be.properties.config);
|
|
6198
6200
|
} else if (n) {
|
|
6199
6201
|
let e = n.split(",").map(Number);
|
|
6200
|
-
|
|
6202
|
+
o = {
|
|
6201
6203
|
x: e[0],
|
|
6202
6204
|
y: e[1]
|
|
6203
6205
|
};
|
|
6204
6206
|
}
|
|
6205
|
-
|
|
6207
|
+
c && z.fp.activateFloor({ name: c }), (o != null && o.x || o != null && o.y) && r.renderer.controls.panTo(o.x, o.y), Number.isFinite(a) && r.renderer.controls.rollTo(a);
|
|
6206
6208
|
} catch (e) {
|
|
6207
|
-
|
|
6209
|
+
o.error("Error in mapSettings reaction", e);
|
|
6208
6210
|
}
|
|
6209
6211
|
}), Ga({
|
|
6210
6212
|
enabled: W.layersLoaded && H.buildRoute,
|
|
6211
6213
|
rendererService: r
|
|
6212
6214
|
});
|
|
6213
|
-
let
|
|
6215
|
+
let h = "routes-api.expofp.com";
|
|
6214
6216
|
ro({
|
|
6215
6217
|
permission: W.layersLoaded,
|
|
6216
6218
|
rendererService: r,
|
|
6217
|
-
dataJsonUrl: `https://${
|
|
6218
|
-
websocketUrl: `wss://${
|
|
6219
|
+
dataJsonUrl: `https://${h}/v1/routes?expo=${j.EXPO}`,
|
|
6220
|
+
websocketUrl: `wss://${h}/locations?expo=${j.EXPO}`
|
|
6219
6221
|
}), K(() => z.layerStore.visible, (e) => {
|
|
6220
6222
|
if (!r.scene) return;
|
|
6221
|
-
let t = e.filter((e) => e.name.toLowerCase().includes(
|
|
6223
|
+
let t = e.filter((e) => e.name.toLowerCase().includes(d)), n = r.scene.rootLayer.children.filter((e) => e.name.toLowerCase().includes(d));
|
|
6222
6224
|
n.forEach((e) => {
|
|
6223
6225
|
e.hidden = !t.find((t) => t.name === e.name);
|
|
6224
6226
|
}), r.update(...n);
|
|
6225
6227
|
});
|
|
6226
|
-
function
|
|
6228
|
+
function g(e) {
|
|
6227
6229
|
var t, n;
|
|
6228
6230
|
let r = e, a = v(e, Se);
|
|
6229
6231
|
H.kioskData && (!Me() || ((t = z.routeStore.defaultFrom) == null || (t = t.layer) == null ? void 0 : t.name) === ((n = z.routeStore.currentRouteLayer) == null ? void 0 : n.name)) && (r = Oe.fromMultiple([e, Oe.fromXywh(H.kioskData.x, H.kioskData.y, 1, 1)]));
|
|
@@ -6261,11 +6263,11 @@ function Oo() {
|
|
|
6261
6263
|
hidden: z.mapboxStore.showMapbox
|
|
6262
6264
|
}),
|
|
6263
6265
|
children: "ExpoFP.com"
|
|
6264
|
-
}),
|
|
6266
|
+
}), _ && l && /* @__PURE__ */ (0, Y.jsxs)(F, {
|
|
6265
6267
|
className: "debug-fps",
|
|
6266
6268
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", { ref: a }), /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
6267
6269
|
onClick: () => {
|
|
6268
|
-
typeof window < "u" && window.localStorage && localStorage.setItem("debug", "0"),
|
|
6270
|
+
typeof window < "u" && window.localStorage && localStorage.setItem("debug", "0"), u(!1);
|
|
6269
6271
|
},
|
|
6270
6272
|
style: {
|
|
6271
6273
|
padding: "4px 8px",
|
|
@@ -6308,12 +6310,12 @@ function ko() {
|
|
|
6308
6310
|
//#region src/components/Menu.tsx
|
|
6309
6311
|
var Ao = q.lazy(() => import(
|
|
6310
6312
|
/* webpackChunkName: "viewer-menu-panel" */
|
|
6311
|
-
"./ViewerMenuPanel-
|
|
6313
|
+
"./ViewerMenuPanel-CAK4bMYg.js"
|
|
6312
6314
|
)), jo = /^https?:\/\//i.test(G.logo) ? G.logo : window.__dataUrlBase + G.logo;
|
|
6313
|
-
|
|
6315
|
+
o.log("Logo url: ", jo), window.setTimeout(function() {
|
|
6314
6316
|
let e = new Image();
|
|
6315
6317
|
e.onload = () => {
|
|
6316
|
-
|
|
6318
|
+
o.log("Logo image loaded");
|
|
6317
6319
|
}, e.crossOrigin = "anonymous", e.src = jo;
|
|
6318
6320
|
}, 1500);
|
|
6319
6321
|
function Mo({ allowConsent: e, isGDPR: t }) {
|
|
@@ -6325,7 +6327,7 @@ function Mo({ allowConsent: e, isGDPR: t }) {
|
|
|
6325
6327
|
selectedCategoryIds: (H.selectedCategoryFilters || []).map((e) => Number(e.id)),
|
|
6326
6328
|
pendingSelectedIds: (H.selectedCategoryFilters || []).map((e) => Number(e.id))
|
|
6327
6329
|
}));
|
|
6328
|
-
|
|
6330
|
+
h(() => {
|
|
6329
6331
|
H.menu ? (n.shownTimeout = window.setTimeout(() => n.shown = !0, 1), H.list.type === "sessions" && z.searchStore.selectSearch()) : (n.shown = !1, n.shownTimeout && window.clearTimeout(n.shownTimeout));
|
|
6330
6332
|
});
|
|
6331
6333
|
function r(e) {
|
|
@@ -6344,7 +6346,7 @@ function Mo({ allowConsent: e, isGDPR: t }) {
|
|
|
6344
6346
|
return I(() => {
|
|
6345
6347
|
var s, c;
|
|
6346
6348
|
if (!H.menu) return null;
|
|
6347
|
-
let l = z.boothStore.booths.filter((e) => e.bookmarked).map((e) => e.name),
|
|
6349
|
+
let l = z.boothStore.booths.filter((e) => e.bookmarked).map((e) => e.name), d = (s = window.__fpSettings) != null && s.fpVer ? `https://api-v2.expofp.com/export/v2/${j.EXPO}/pdf` : `https://api.expofp.com/service/convert/${j.EXPO}/pdf`;
|
|
6348
6350
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
6349
6351
|
className: `menu ${n.shown ? "shown" : ""}`,
|
|
6350
6352
|
children: [kn ? /* @__PURE__ */ (0, Y.jsx)("div", { className: "menu__cover -empty" }) : /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
@@ -6373,7 +6375,7 @@ function Mo({ allowConsent: e, isGDPR: t }) {
|
|
|
6373
6375
|
href: "/#",
|
|
6374
6376
|
onClick: i,
|
|
6375
6377
|
className: "menu__item",
|
|
6376
|
-
children:
|
|
6378
|
+
children: v("Search")
|
|
6377
6379
|
}),
|
|
6378
6380
|
!G.hideEventHomeLink && !H.kiosk && !kn && !!G.homeUrl && /* @__PURE__ */ (0, Y.jsxs)("a", {
|
|
6379
6381
|
href: G.homeUrl,
|
|
@@ -6381,7 +6383,7 @@ function Mo({ allowConsent: e, isGDPR: t }) {
|
|
|
6381
6383
|
className: "menu__item",
|
|
6382
6384
|
rel: "noopener noreferrer",
|
|
6383
6385
|
children: [
|
|
6384
|
-
|
|
6386
|
+
v("Event Home").replace(/ /g, "\xA0"),
|
|
6385
6387
|
"\xA0",
|
|
6386
6388
|
/* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-link-external" })
|
|
6387
6389
|
]
|
|
@@ -6392,7 +6394,7 @@ function Mo({ allowConsent: e, isGDPR: t }) {
|
|
|
6392
6394
|
className: "menu__item",
|
|
6393
6395
|
rel: "noopener noreferrer",
|
|
6394
6396
|
children: [
|
|
6395
|
-
|
|
6397
|
+
v("Register to Attend").replace(/ /g, "\xA0"),
|
|
6396
6398
|
"\xA0",
|
|
6397
6399
|
/* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-link-external" })
|
|
6398
6400
|
]
|
|
@@ -6401,13 +6403,13 @@ function Mo({ allowConsent: e, isGDPR: t }) {
|
|
|
6401
6403
|
href: "?language",
|
|
6402
6404
|
onClick: o,
|
|
6403
6405
|
className: "menu__item -language",
|
|
6404
|
-
children: [/* @__PURE__ */ (0, Y.jsxs)("span", { children: [
|
|
6406
|
+
children: [/* @__PURE__ */ (0, Y.jsxs)("span", { children: [v("Language"), " "] }), /* @__PURE__ */ (0, Y.jsxs)("span", {
|
|
6405
6407
|
className: "menu__icons",
|
|
6406
6408
|
children: [/* @__PURE__ */ (0, Y.jsx)(mn, {
|
|
6407
6409
|
variant: "gray",
|
|
6408
6410
|
size: "md",
|
|
6409
6411
|
noMargins: !0,
|
|
6410
|
-
children: (c =
|
|
6412
|
+
children: (c = u().find((e) => e.id === f())) == null ? void 0 : c.name
|
|
6411
6413
|
}), /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-chevron-right" })]
|
|
6412
6414
|
})]
|
|
6413
6415
|
}),
|
|
@@ -6415,8 +6417,8 @@ function Mo({ allowConsent: e, isGDPR: t }) {
|
|
|
6415
6417
|
className: "menu__item -pdf",
|
|
6416
6418
|
target: "_blank",
|
|
6417
6419
|
rel: "noopener noreferrer",
|
|
6418
|
-
href: `${
|
|
6419
|
-
children:
|
|
6420
|
+
href: `${d}/?exhibitors=true&bookmarks=${l.join(",")}&layers=${(z.layerStore.layers.length >= z.layerStore.visible.length ? z.layerStore.visible.map((e) => e.name).join(",") : "").replace(/&/g, "%26")}`,
|
|
6421
|
+
children: v("Download PDF")
|
|
6420
6422
|
}),
|
|
6421
6423
|
e === void 0 && t && /* @__PURE__ */ (0, Y.jsx)("a", {
|
|
6422
6424
|
href: "/#",
|
|
@@ -6424,13 +6426,13 @@ function Mo({ allowConsent: e, isGDPR: t }) {
|
|
|
6424
6426
|
onClick: (e) => {
|
|
6425
6427
|
e.preventDefault(), H.hideCookieConsent = !1;
|
|
6426
6428
|
},
|
|
6427
|
-
children:
|
|
6429
|
+
children: v("Review Cookie Consent")
|
|
6428
6430
|
}),
|
|
6429
6431
|
H.viewerMode && /* @__PURE__ */ (0, Y.jsx)("a", {
|
|
6430
6432
|
href: "/#",
|
|
6431
6433
|
className: "menu__item -leave-event menu__leave-link",
|
|
6432
6434
|
onClick: a,
|
|
6433
|
-
children:
|
|
6435
|
+
children: v("Select another event")
|
|
6434
6436
|
})
|
|
6435
6437
|
]
|
|
6436
6438
|
})]
|
|
@@ -6580,18 +6582,18 @@ var Fo = () => I(() => /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [!H.d
|
|
|
6580
6582
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
6581
6583
|
className: "route-qr__code",
|
|
6582
6584
|
role: "img",
|
|
6583
|
-
"aria-label":
|
|
6585
|
+
"aria-label": v("QR code to open the route on your phone"),
|
|
6584
6586
|
children: /* @__PURE__ */ (0, Y.jsx)(Qr, {
|
|
6585
6587
|
value: e,
|
|
6586
6588
|
size: 80
|
|
6587
6589
|
})
|
|
6588
6590
|
}), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
6589
6591
|
className: "route-qr__label",
|
|
6590
|
-
children:
|
|
6592
|
+
children: v("Scan to see route on your phone")
|
|
6591
6593
|
})]
|
|
6592
6594
|
})
|
|
6593
6595
|
})
|
|
6594
|
-
})), Bo = L(({ options: e = [], fromValue: t = "", toValue: n = "", showForm: r = !0, showAccessible: i = !1, showInfo: a = !1, routeFound: o = !1, infoItems: s = [], infoAccessible: c, floors: l, currentFloor: u, routeUrl: d, isKiosk: f, onChangeFrom: p, onChangeTo: m, onSwitch: h, onClickInfo: g, onClickFloor: _, onAccessibleCheck:
|
|
6596
|
+
})), Bo = L(({ options: e = [], fromValue: t = "", toValue: n = "", showForm: r = !0, showAccessible: i = !1, showInfo: a = !1, routeFound: o = !1, infoItems: s = [], infoAccessible: c, floors: l, currentFloor: u, routeUrl: d, isKiosk: f, onChangeFrom: p, onChangeTo: m, onSwitch: h, onClickInfo: g, onClickFloor: _, onAccessibleCheck: y, showDetailsIcon: b, onDetailsIconClick: x }) => /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
6595
6597
|
className: (0, J.default)("efp-wayfinding", { isCollapsed: !r }),
|
|
6596
6598
|
children: [
|
|
6597
6599
|
r && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
@@ -6668,13 +6670,13 @@ var Fo = () => I(() => /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [!H.d
|
|
|
6668
6670
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
6669
6671
|
style: { marginBottom: 10 },
|
|
6670
6672
|
children: /* @__PURE__ */ (0, Y.jsx)(fn, {
|
|
6671
|
-
placeholder:
|
|
6673
|
+
placeholder: v("Choose starting point"),
|
|
6672
6674
|
options: e,
|
|
6673
6675
|
value: t,
|
|
6674
6676
|
onChange: p
|
|
6675
6677
|
})
|
|
6676
6678
|
}), /* @__PURE__ */ (0, Y.jsx)("div", { children: /* @__PURE__ */ (0, Y.jsx)(fn, {
|
|
6677
|
-
placeholder:
|
|
6679
|
+
placeholder: v("Choose destination point"),
|
|
6678
6680
|
options: e,
|
|
6679
6681
|
value: n,
|
|
6680
6682
|
onChange: m
|
|
@@ -6686,10 +6688,10 @@ var Fo = () => I(() => /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [!H.d
|
|
|
6686
6688
|
type: "button",
|
|
6687
6689
|
className: "efp-wayfindingForm__switch",
|
|
6688
6690
|
onClick: h
|
|
6689
|
-
}),
|
|
6691
|
+
}), b && /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
6690
6692
|
type: "button",
|
|
6691
6693
|
className: "efp-wayfindingForm__details",
|
|
6692
|
-
onClick:
|
|
6694
|
+
onClick: x
|
|
6693
6695
|
})]
|
|
6694
6696
|
})
|
|
6695
6697
|
]
|
|
@@ -6697,9 +6699,9 @@ var Fo = () => I(() => /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [!H.d
|
|
|
6697
6699
|
className: "efp-wayfindingForm__accessible",
|
|
6698
6700
|
children: /* @__PURE__ */ (0, Y.jsx)(Io, {
|
|
6699
6701
|
name: "onlyAccessible",
|
|
6700
|
-
label:
|
|
6702
|
+
label: v("Accessible"),
|
|
6701
6703
|
value: c,
|
|
6702
|
-
onChange: (e) =>
|
|
6704
|
+
onChange: (e) => y(e)
|
|
6703
6705
|
})
|
|
6704
6706
|
})]
|
|
6705
6707
|
}),
|
|
@@ -6716,7 +6718,7 @@ var Fo = () => I(() => /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [!H.d
|
|
|
6716
6718
|
onClick: g
|
|
6717
6719
|
}), f && /* @__PURE__ */ (0, Y.jsx)(zo, { url: d })] }) : /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
6718
6720
|
className: "efp-wayfindingError",
|
|
6719
|
-
children:
|
|
6721
|
+
children: v("Route not found")
|
|
6720
6722
|
})
|
|
6721
6723
|
})
|
|
6722
6724
|
]
|
|
@@ -6774,26 +6776,26 @@ function Vo() {
|
|
|
6774
6776
|
}), /* @__PURE__ */ (0, Y.jsx)(rn, { updatedScrollableRef: e })]
|
|
6775
6777
|
});
|
|
6776
6778
|
}
|
|
6777
|
-
let _ = [],
|
|
6779
|
+
let _ = [], y = () => z.routeStore.defaultFrom ? rt.booths.concat([z.routeStore.defaultFrom]) : rt.booths, b = y().filter((e) => e instanceof me), x = y().filter((e) => !(e instanceof me)), S = () => {
|
|
6778
6780
|
let e = [];
|
|
6779
6781
|
return Xe.exhibitors.forEach((t) => {
|
|
6780
6782
|
_.push(...t.booths.map((e) => e.id)), e.push(...t.booths.map((e) => ({
|
|
6781
6783
|
value: e.id.toString(),
|
|
6782
6784
|
label: t.name + " - " + e.fullName
|
|
6783
6785
|
})));
|
|
6784
|
-
}),
|
|
6786
|
+
}), x.filter((e) => _.indexOf(e.id) === -1).forEach((t) => {
|
|
6785
6787
|
e.push({
|
|
6786
6788
|
value: t.id.toString(),
|
|
6787
6789
|
label: t.fullName
|
|
6788
6790
|
});
|
|
6789
|
-
}), e = e.sort((e, t) => e.label.localeCompare(t.label, void 0, { sensitivity: "base" })),
|
|
6791
|
+
}), e = e.sort((e, t) => e.label.localeCompare(t.label, void 0, { sensitivity: "base" })), b.filter((e) => _.indexOf(e.id) === -1).forEach((t) => {
|
|
6790
6792
|
e.push({
|
|
6791
6793
|
value: t.id.toString(),
|
|
6792
6794
|
label: t.fullName
|
|
6793
6795
|
});
|
|
6794
6796
|
}), e;
|
|
6795
6797
|
}, C = (e, t = !0) => {
|
|
6796
|
-
let n =
|
|
6798
|
+
let n = y().filter((t) => t.id.toString() === e)[0], { from: r, to: i } = H.selectedRoute;
|
|
6797
6799
|
t ? z.routeStore.selectRoute(new Ke(n || null, i)) : z.routeStore.selectRoute(new Ke(r, n || null));
|
|
6798
6800
|
}, w = (e) => {
|
|
6799
6801
|
let t = [], n = ce().getAttribute("units") || "ft", r = de(e, xe(n)), i = /* @__PURE__ */ new Date();
|
|
@@ -6803,13 +6805,13 @@ function Vo() {
|
|
|
6803
6805
|
minute: "2-digit"
|
|
6804
6806
|
});
|
|
6805
6807
|
return t.push({
|
|
6806
|
-
title:
|
|
6808
|
+
title: v("Travel time"),
|
|
6807
6809
|
text: r < 60 ? "< 1 min" : `~ ${Math.round(r / 60)} min`
|
|
6808
6810
|
}, {
|
|
6809
|
-
title:
|
|
6811
|
+
title: v("Distance"),
|
|
6810
6812
|
text: Math.round(e) + ` ${n}`
|
|
6811
6813
|
}, {
|
|
6812
|
-
title:
|
|
6814
|
+
title: v("Est arrival"),
|
|
6813
6815
|
text: a
|
|
6814
6816
|
}), t;
|
|
6815
6817
|
}, T = () => {
|
|
@@ -6828,7 +6830,7 @@ function Vo() {
|
|
|
6828
6830
|
t != null && t.layer && z.layerStore.updateVisibility(t.layer, !0);
|
|
6829
6831
|
},
|
|
6830
6832
|
routeFound: !E,
|
|
6831
|
-
options:
|
|
6833
|
+
options: S(),
|
|
6832
6834
|
fromValue: ((f = H.selectedRoute) == null || (f = f.from) == null || (f = f.id) == null ? void 0 : f.toString()) || "",
|
|
6833
6835
|
toValue: ((p = H.selectedRoute) == null || (p = p.to) == null || (p = p.id) == null ? void 0 : p.toString()) || "",
|
|
6834
6836
|
onChangeFrom: (e) => C(e, !0),
|
|
@@ -6846,7 +6848,7 @@ function Vo() {
|
|
|
6846
6848
|
var e;
|
|
6847
6849
|
let t = (e = z.routeStore.defaultFrom) == null ? void 0 : e.id, { from: n, to: r } = H.selectedRoute || {}, i = [r, n].find((e) => (e == null ? void 0 : e.id) !== t);
|
|
6848
6850
|
if (i) {
|
|
6849
|
-
let e =
|
|
6851
|
+
let e = S().find((e) => e.value === i.id.toString());
|
|
6850
6852
|
H.details = i.exhibitors.find((t) => e.label.includes(t.name)) || i;
|
|
6851
6853
|
}
|
|
6852
6854
|
}
|
|
@@ -6906,7 +6908,7 @@ var Uo = L(({ showFilters: e = !0 }) => {
|
|
|
6906
6908
|
})
|
|
6907
6909
|
}) : /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
6908
6910
|
className: "list-empty",
|
|
6909
|
-
children: z.speakerFilterStore.activeFiltersCount > 0 || z.searchStore.searchText ?
|
|
6911
|
+
children: z.speakerFilterStore.activeFiltersCount > 0 || z.searchStore.searchText ? v("No speakers found. Try adjusting your filters.") : v("No speakers found")
|
|
6910
6912
|
})]
|
|
6911
6913
|
}));
|
|
6912
6914
|
}), Wo = L((e) => H.list.type !== "speakers" || H.details ? null : /* @__PURE__ */ (0, Y.jsx)(Uo, { ...e })), Go = L(() => {
|
|
@@ -6934,7 +6936,7 @@ var Uo = L(({ showFilters: e = !0 }) => {
|
|
|
6934
6936
|
inline: !0,
|
|
6935
6937
|
showIcon: !1,
|
|
6936
6938
|
size: "sm",
|
|
6937
|
-
children:
|
|
6939
|
+
children: v("{{count}} visited bookmarks excluded", { count: e.excludedVisitedCount })
|
|
6938
6940
|
})
|
|
6939
6941
|
})
|
|
6940
6942
|
]
|
|
@@ -6965,7 +6967,7 @@ var Uo = L(({ showFilters: e = !0 }) => {
|
|
|
6965
6967
|
}), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
6966
6968
|
className: "efp-planner__stop-content",
|
|
6967
6969
|
children: /* @__PURE__ */ (0, Y.jsx)(fn, {
|
|
6968
|
-
placeholder:
|
|
6970
|
+
placeholder: v("Select starting point"),
|
|
6969
6971
|
options: a,
|
|
6970
6972
|
value: (e == null || (n = e.id) == null ? void 0 : n.toString()) || "",
|
|
6971
6973
|
onChange: (e) => {
|
|
@@ -7041,7 +7043,7 @@ function Zo() {
|
|
|
7041
7043
|
}),
|
|
7042
7044
|
t.length === 0 && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
7043
7045
|
className: "efp-planner__empty",
|
|
7044
|
-
children:
|
|
7046
|
+
children: v("Add stops to build a route")
|
|
7045
7047
|
})
|
|
7046
7048
|
]
|
|
7047
7049
|
});
|
|
@@ -7060,7 +7062,7 @@ var $o = L(() => {
|
|
|
7060
7062
|
let e = (0, q.useRef)(null), [t, n] = (0, q.useState)(!1), r = z.speakerStore.selectedSpeaker;
|
|
7061
7063
|
if (!r) return /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
7062
7064
|
className: "efp-speaker-empty",
|
|
7063
|
-
children:
|
|
7065
|
+
children: v("Speaker not found")
|
|
7064
7066
|
});
|
|
7065
7067
|
let i = z.speakerStore.getEventsBySpeaker(r.id), a = (0, q.useMemo)(() => [...i].sort((e, t) => new Date(e.startDate).getTime() - new Date(t.startDate).getTime()), [i]);
|
|
7066
7068
|
(0, q.useEffect)(() => {
|
|
@@ -7140,7 +7142,7 @@ var $o = L(() => {
|
|
|
7140
7142
|
className: "efp-speaker-events",
|
|
7141
7143
|
children: [/* @__PURE__ */ (0, Y.jsx)("h3", {
|
|
7142
7144
|
className: "efp-speaker-events__title",
|
|
7143
|
-
children:
|
|
7145
|
+
children: v("Sessions")
|
|
7144
7146
|
}), /* @__PURE__ */ (0, Y.jsx)(Tn, {
|
|
7145
7147
|
events: a,
|
|
7146
7148
|
showBooths: !0,
|
|
@@ -7234,7 +7236,7 @@ var $o = L(() => {
|
|
|
7234
7236
|
className: "share",
|
|
7235
7237
|
children: [
|
|
7236
7238
|
/* @__PURE__ */ (0, Y.jsxs)("h3", { children: [
|
|
7237
|
-
|
|
7239
|
+
v("Share"),
|
|
7238
7240
|
" ",
|
|
7239
7241
|
e
|
|
7240
7242
|
] }),
|
|
@@ -7296,7 +7298,7 @@ var $o = L(() => {
|
|
|
7296
7298
|
}),
|
|
7297
7299
|
/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
7298
7300
|
className: "share__copy",
|
|
7299
|
-
children: [/* @__PURE__ */ (0, Y.jsx)("span", { children:
|
|
7301
|
+
children: [/* @__PURE__ */ (0, Y.jsx)("span", { children: v("or copy link") }), /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
7300
7302
|
className: "share__copy-input",
|
|
7301
7303
|
children: [/* @__PURE__ */ (0, Y.jsx)("input", {
|
|
7302
7304
|
type: "text",
|
|
@@ -7309,11 +7311,11 @@ var $o = L(() => {
|
|
|
7309
7311
|
onClick: () => {
|
|
7310
7312
|
navigator.clipboard.writeText(t), r(!0), setTimeout(() => r(!1), 2e3);
|
|
7311
7313
|
},
|
|
7312
|
-
"aria-label":
|
|
7314
|
+
"aria-label": v("Copy link to clipboard"),
|
|
7313
7315
|
children: n ? /* @__PURE__ */ (0, Y.jsxs)("span", {
|
|
7314
7316
|
"aria-live": "polite",
|
|
7315
|
-
children: [
|
|
7316
|
-
}) :
|
|
7317
|
+
children: [v("Copied"), "!"]
|
|
7318
|
+
}) : v("Copy")
|
|
7317
7319
|
})]
|
|
7318
7320
|
})]
|
|
7319
7321
|
})
|
|
@@ -7341,28 +7343,28 @@ var $o = L(() => {
|
|
|
7341
7343
|
}
|
|
7342
7344
|
})), t = (0, q.useCallback)(() => {
|
|
7343
7345
|
var t, n;
|
|
7344
|
-
let r = ((t = (n = e.el) == null ? void 0 : n.getBoundingClientRect().width) == null ? 0 : t) -
|
|
7346
|
+
let r = ((t = (n = e.el) == null ? void 0 : n.getBoundingClientRect().width) == null ? 0 : t) - i(.3) * 2, a = 0, o = [];
|
|
7345
7347
|
do {
|
|
7346
7348
|
let t = e.all[e.index % e.all.length], n = e.imgByExhibitorId.get(t.id);
|
|
7347
7349
|
if (!n) break;
|
|
7348
|
-
let
|
|
7349
|
-
if (
|
|
7350
|
-
|
|
7350
|
+
let i = n.width * H.wsImageHeightPx / n.height + 20;
|
|
7351
|
+
if (a + i > r && o.length) break;
|
|
7352
|
+
a += i, o.push({
|
|
7351
7353
|
key: e.keySeq++,
|
|
7352
7354
|
e: t
|
|
7353
7355
|
}), e.index = (e.index + 1) % e.all.length;
|
|
7354
7356
|
} while (!0);
|
|
7355
|
-
e.adv =
|
|
7357
|
+
e.adv = o.map((e) => ({
|
|
7356
7358
|
...e,
|
|
7357
7359
|
nodeRef: (0, q.createRef)()
|
|
7358
|
-
})), e.leftToNextLoad = Math.max(0, e.leftToNextLoad -
|
|
7360
|
+
})), e.leftToNextLoad = Math.max(0, e.leftToNextLoad - o.length);
|
|
7359
7361
|
}, [e]), n = (0, q.useCallback)(async () => {
|
|
7360
7362
|
e.loading = !0;
|
|
7361
7363
|
let t = e.all.slice(e.index, e.index + e.batchSize);
|
|
7362
7364
|
t.length < e.batchSize && (t = t.concat(e.all.slice(0, e.batchSize - t.length)));
|
|
7363
7365
|
let n = await at(new Map(t.map((e) => [e.id, { fallback: e.logo }])));
|
|
7364
7366
|
return e.leftToNextLoad = n.size, e.loading = !1, n;
|
|
7365
|
-
}, [e]),
|
|
7367
|
+
}, [e]), r = (0, q.useCallback)(() => {
|
|
7366
7368
|
let r = async () => {
|
|
7367
7369
|
if (e.loading) {
|
|
7368
7370
|
e.timeoutId = window.setTimeout(r, as);
|
|
@@ -7373,17 +7375,17 @@ var $o = L(() => {
|
|
|
7373
7375
|
clearTimeout(e.timeoutId), e.timeoutId = window.setTimeout(r, as);
|
|
7374
7376
|
}, [n, t]);
|
|
7375
7377
|
return ht(() => {
|
|
7376
|
-
let
|
|
7378
|
+
let i, a = !0;
|
|
7377
7379
|
return (async () => {
|
|
7378
|
-
e.all =
|
|
7380
|
+
e.all = p(Xe.advertised), e.imgByExhibitorId = await n(), a && (t(), r(), H.wsStarted = !0, i = x(() => H.screenSize, t));
|
|
7379
7381
|
})(), () => {
|
|
7380
|
-
|
|
7382
|
+
a = !1, i == null || i(), clearInterval(e.timeoutId);
|
|
7381
7383
|
};
|
|
7382
7384
|
}), I(() => /* @__PURE__ */ (0, Y.jsx)("section", {
|
|
7383
7385
|
className: (0, J.default)("ws", { "efp-semi-transparent": H.setKioskModeEnabled }),
|
|
7384
7386
|
ref: (t) => e.el = t,
|
|
7385
7387
|
onMouseOver: () => clearInterval(e.timeoutId),
|
|
7386
|
-
onMouseOut:
|
|
7388
|
+
onMouseOut: r,
|
|
7387
7389
|
style: e.sectionStyle,
|
|
7388
7390
|
children: /* @__PURE__ */ (0, Y.jsx)(Nr, {
|
|
7389
7391
|
component: null,
|
|
@@ -7421,30 +7423,30 @@ var $o = L(() => {
|
|
|
7421
7423
|
}) : null;
|
|
7422
7424
|
}), ls = q.lazy(() => import(
|
|
7423
7425
|
/* webpackChunkName: "demo" */
|
|
7424
|
-
"./Demo-
|
|
7426
|
+
"./Demo-qAITctPP.js"
|
|
7425
7427
|
).then((e) => e.t)), us = q.lazy(() => import(
|
|
7426
7428
|
/* webpackChunkName: "free" */
|
|
7427
|
-
"./Free-
|
|
7429
|
+
"./Free-DAX07Faq.js"
|
|
7428
7430
|
)), ds = q.lazy(() => import(
|
|
7429
7431
|
/* webpackChunkName: "debug" */
|
|
7430
|
-
"./Debug-
|
|
7432
|
+
"./Debug-DVY7QSH3.js"
|
|
7431
7433
|
)), fs = q.lazy(() => import(
|
|
7432
7434
|
/* webpackChunkName: "mapbox" */
|
|
7433
|
-
"./Mapbox-
|
|
7435
|
+
"./Mapbox-C65ZvpNQ.js"
|
|
7434
7436
|
)), ps = q.lazy(() => import(
|
|
7435
7437
|
/* webpackChunkName: "threejs" */
|
|
7436
|
-
"./ThreeComponent-
|
|
7438
|
+
"./ThreeComponent-BXwxseVE.js"
|
|
7437
7439
|
)), ms = q.lazy(() => Promise.resolve().then(() => Ss)), hs = q.lazy(() => Promise.resolve().then(() => Os)), gs = q.lazy(() => import(
|
|
7438
7440
|
/* webpackChunkName: "cc-script" */
|
|
7439
|
-
"./GpsLoader-
|
|
7441
|
+
"./GpsLoader-CiHW2urc.js"
|
|
7440
7442
|
)), _s = q.lazy(() => import(
|
|
7441
7443
|
/* webpackChunkName: "set-kiosk-mode" */
|
|
7442
|
-
"./SetKioskMode-
|
|
7444
|
+
"./SetKioskMode-C4z7Sz25.js"
|
|
7443
7445
|
)), vs = q.lazy(() => import(
|
|
7444
7446
|
/* webpackChunkName: "show-kiosk" */
|
|
7445
|
-
"./ShowKiosk-
|
|
7447
|
+
"./ShowKiosk-stxqqSB7.js"
|
|
7446
7448
|
)), ys = L(function({ offHistory: e, allowConsent: t }) {
|
|
7447
|
-
var n,
|
|
7449
|
+
var n, i, a, o, s, c, l;
|
|
7448
7450
|
let [u, d] = (0, q.useState)(!1), f = null;
|
|
7449
7451
|
H.bannerType === "demo" ? f = /* @__PURE__ */ (0, Y.jsx)(ls, {}) : H.bannerType === "free" && (f = /* @__PURE__ */ (0, Y.jsx)(us, {}));
|
|
7450
7452
|
let p = () => {
|
|
@@ -7466,7 +7468,7 @@ var $o = L(() => {
|
|
|
7466
7468
|
id: "efp-layout",
|
|
7467
7469
|
className: (0, J.default)("layout", {
|
|
7468
7470
|
"efp-kiosk": H.kiosk,
|
|
7469
|
-
"efp-kiosk-route-active": H.kiosk && ((n = H.selectedRoute) == null ? void 0 : n.from) && ((
|
|
7471
|
+
"efp-kiosk-route-active": H.kiosk && ((n = H.selectedRoute) == null ? void 0 : n.from) && ((i = H.selectedRoute) == null ? void 0 : i.to),
|
|
7470
7472
|
"efp-layers-mode": z.layerStore.mode,
|
|
7471
7473
|
"efp-ws-mode": H.wsShown,
|
|
7472
7474
|
"efp-no-overlay": H.noOverlay
|
|
@@ -7488,10 +7490,10 @@ var $o = L(() => {
|
|
|
7488
7490
|
!H.mapControlsHidden && z.initialized && /* @__PURE__ */ (0, Y.jsx)(Bn, {}),
|
|
7489
7491
|
!H.hideHeaderLogo && z.initialized && /* @__PURE__ */ (0, Y.jsx)(ss, {}),
|
|
7490
7492
|
z.routeStore.gpsEnabled && /* @__PURE__ */ (0, Y.jsx)(gs, { requestCompassAllowed: !h }),
|
|
7491
|
-
|
|
7493
|
+
r && /* @__PURE__ */ (0, Y.jsx)(Oo, {}),
|
|
7492
7494
|
z.mapboxStore.mapBoxActivated && z.mapboxStore.mapBoxEnabled && /* @__PURE__ */ (0, Y.jsx)(q.Suspense, {
|
|
7493
7495
|
fallback: /* @__PURE__ */ (0, Y.jsx)(ko, {}),
|
|
7494
|
-
children: (be == null || (
|
|
7496
|
+
children: (be == null || (a = be.properties) == null ? void 0 : a.mode) === "threejs" ? /* @__PURE__ */ (0, Y.jsx)(ps, {
|
|
7495
7497
|
isMapbox: z.mapboxStore.isMapbox,
|
|
7496
7498
|
expo: j.EXPO
|
|
7497
7499
|
}) : /* @__PURE__ */ (0, Y.jsx)(fs, {})
|
|
@@ -7508,7 +7510,7 @@ var $o = L(() => {
|
|
|
7508
7510
|
onClickReject: m
|
|
7509
7511
|
})
|
|
7510
7512
|
}),
|
|
7511
|
-
|
|
7513
|
+
_ ? /* @__PURE__ */ (0, Y.jsx)(q.Suspense, {
|
|
7512
7514
|
fallback: null,
|
|
7513
7515
|
children: /* @__PURE__ */ (0, Y.jsx)(ds, {})
|
|
7514
7516
|
}) : null,
|
|
@@ -7520,7 +7522,7 @@ var $o = L(() => {
|
|
|
7520
7522
|
open: H.modalActive.share,
|
|
7521
7523
|
onClickClose: () => z.toggleModal("share"),
|
|
7522
7524
|
children: /* @__PURE__ */ (0, Y.jsx)(is, {
|
|
7523
|
-
title: ((
|
|
7525
|
+
title: ((o = H.selectedExhibitor) == null ? void 0 : o.name) || ((s = H.selectedEventItem) == null ? void 0 : s.name) || "",
|
|
7524
7526
|
url: e ? `${window.location.origin}?${encodeURI(((c = H.selectedExhibitor) == null ? void 0 : c.slug) || ((l = H.selectedEventItem) == null ? void 0 : l.slug))}` : window.location.href
|
|
7525
7527
|
})
|
|
7526
7528
|
})
|
|
@@ -7669,7 +7671,7 @@ var $o = L(() => {
|
|
|
7669
7671
|
className: "multi-select-groups__list",
|
|
7670
7672
|
children: e.map((e) => {
|
|
7671
7673
|
if (!(e != null && e.groupName) || !Array.isArray(e.items)) return null;
|
|
7672
|
-
let t = e.items.filter((e) => e.id), o = t.filter((e) => g.has(e.id)), c = o.length === t.length && t.length > 0, u = o.length > 0 && !c, _ = l.has(e.groupName),
|
|
7674
|
+
let t = e.items.filter((e) => e.id), o = t.filter((e) => g.has(e.id)), c = o.length === t.length && t.length > 0, u = o.length > 0 && !c, _ = l.has(e.groupName), y = _ || t.length <= a ? t : t.slice(0, a), b = t.length - y.length > 0 ? t.slice(a).filter((e) => g.has(e.id)).length : 0;
|
|
7673
7675
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
7674
7676
|
className: (0, J.default)("multi-select-groups__group", { "multi-select-groups__group--full-width": e.fullWidth }, e.customGroupClass),
|
|
7675
7677
|
children: [/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
@@ -7683,17 +7685,17 @@ var $o = L(() => {
|
|
|
7683
7685
|
type: "button",
|
|
7684
7686
|
className: "multi-select-groups__action-btn",
|
|
7685
7687
|
onClick: () => f(e),
|
|
7686
|
-
children:
|
|
7688
|
+
children: v("Select all")
|
|
7687
7689
|
}), (u || c) && /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
7688
7690
|
type: "button",
|
|
7689
7691
|
className: "multi-select-groups__action-btn",
|
|
7690
7692
|
onClick: () => p(e),
|
|
7691
|
-
children:
|
|
7693
|
+
children: v("Clear all")
|
|
7692
7694
|
})]
|
|
7693
7695
|
})]
|
|
7694
7696
|
}), /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
7695
7697
|
className: "multi-select-groups__group-items",
|
|
7696
|
-
children: [
|
|
7698
|
+
children: [y.map((e) => /* @__PURE__ */ (0, Y.jsx)(ws, {
|
|
7697
7699
|
item: e,
|
|
7698
7700
|
isSelected: g.has(e.id),
|
|
7699
7701
|
variant: i,
|
|
@@ -7710,13 +7712,13 @@ var $o = L(() => {
|
|
|
7710
7712
|
className: _ ? "icon-chevron-up" : "icon-chevron-down",
|
|
7711
7713
|
"aria-hidden": "true"
|
|
7712
7714
|
}),
|
|
7713
|
-
|
|
7714
|
-
!_ &&
|
|
7715
|
+
v(_ ? "Show Less" : "Show More"),
|
|
7716
|
+
!_ && b > 0 && /* @__PURE__ */ (0, Y.jsxs)("span", {
|
|
7715
7717
|
className: "multi-select-groups__show-more-badge",
|
|
7716
7718
|
children: [
|
|
7717
|
-
|
|
7719
|
+
b,
|
|
7718
7720
|
" ",
|
|
7719
|
-
|
|
7721
|
+
v("selected")
|
|
7720
7722
|
]
|
|
7721
7723
|
})
|
|
7722
7724
|
]
|
|
@@ -7786,20 +7788,20 @@ var Ds = ({ onClickAccept: e, onClickReject: t, rejectText: n, children: r, acce
|
|
|
7786
7788
|
})
|
|
7787
7789
|
]
|
|
7788
7790
|
}), Os = /* @__PURE__ */ e({ default: () => ks }), ks = L(({ link: e, onClickAccept: t, onClickReject: n }) => /* @__PURE__ */ (0, Y.jsxs)(Ds, {
|
|
7789
|
-
title:
|
|
7790
|
-
acceptText:
|
|
7791
|
-
rejectText:
|
|
7791
|
+
title: v("Cookie Consent"),
|
|
7792
|
+
acceptText: v("Accept cookies"),
|
|
7793
|
+
rejectText: v("Reject"),
|
|
7792
7794
|
onClickAccept: t,
|
|
7793
7795
|
onClickReject: n,
|
|
7794
7796
|
children: [
|
|
7795
|
-
|
|
7797
|
+
v("We use cookies for analytics only"),
|
|
7796
7798
|
"\xA0",
|
|
7797
7799
|
e && /* @__PURE__ */ (0, Y.jsx)("a", {
|
|
7798
7800
|
href: e,
|
|
7799
7801
|
target: "_blank",
|
|
7800
7802
|
rel: "noopener noreferrer",
|
|
7801
|
-
"aria-label":
|
|
7802
|
-
children:
|
|
7803
|
+
"aria-label": v("Read more about cookie usage in a new tab"),
|
|
7804
|
+
children: v("Read More")
|
|
7803
7805
|
})
|
|
7804
7806
|
]
|
|
7805
7807
|
}));
|