@expofp/floorplan 3.35.2 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Button-BPQnJjoN.js → Button-CNs8VDGG.js} +5 -5
- package/dist/browser/{CookieConsent-CYpwXrw0.js → CookieConsent-CcBA-IqC.js} +7 -7
- package/dist/browser/{Debug-DJ02jJ5Q.js → Debug-DzeeojOv.js} +7 -7
- package/dist/browser/{DebugTools-BCx6s2Fc.js → DebugTools-Cg2kMVuz.js} +6 -6
- package/dist/browser/{Demo-EWDcqW4X.js → Demo-DlX2eRc5.js} +9 -9
- package/dist/browser/{Free-DKMv19Hs.js → Free-BPXxN14i.js} +9 -9
- package/dist/browser/{GalleryContainer-CvjywJze.js → GalleryContainer-D3PtNDq1.js} +10 -10
- package/dist/browser/{GpsLoader-DnZOaiOj.js → GpsLoader-MuKCP4hM.js} +29 -29
- package/dist/browser/KioskStore-DwJPzK8K.js +251 -0
- package/dist/browser/{MaplibreAdapter-DfUBzoCo.js → MaplibreAdapter-DzycfkS9.js} +1108 -1107
- package/dist/browser/{ModalContainer-iUxlX_EW.js → ModalContainer-U0c94Gcg.js} +10 -10
- package/dist/browser/{PermissionNotice-4GkEdwAt.js → PermissionNotice-DyTh0N80.js} +6 -6
- package/dist/browser/{SetKioskMode-r4WLFRA0.js → SetKioskMode-DFNqggA2.js} +13 -13
- package/dist/browser/{ShowKiosk-DmmyfPH3.js → ShowKiosk-BuXxL7Re.js} +11 -11
- package/dist/browser/{ViewerMenuPanel-G5WeOVxy.js → ViewerMenuPanel--flTFhEB.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-cqT9ixCW.js → add-debug-secret-listener-DvCB0ort.js} +1 -1
- package/dist/browser/{adopt-global-settings-TiK3bdw8.js → adopt-global-settings-CVQmrlox.js} +9 -9
- package/dist/browser/{boolean-editor-gv5KgSFC.js → boolean-editor-Bk6Lfd_2.js} +9 -9
- package/dist/browser/{bootIntercom-DSN5Oxb8.js → bootIntercom-iv5wse99.js} +2 -2
- package/dist/browser/bundle.json +71 -71
- package/dist/browser/{camera-events-BzzhQV7p.js → camera-events-Uyswpptc.js} +1 -1
- package/dist/browser/{classnames-DaTJg5Ke.js → classnames-TUIUYS3L.js} +2 -2
- package/dist/browser/{client-DXynaRJh.js → client-Bm485HWD.js} +5 -5
- package/dist/browser/{components-BJkZsl-J.js → components-DcbtuzgN.js} +1193 -1191
- package/dist/browser/{debug-context-DafSJe6V.js → debug-context-CiRcA5z7.js} +5 -5
- package/dist/browser/{debug-overlay-Cnht9M1f.js → debug-overlay-BaIOFaoE.js} +10 -10
- package/dist/browser/{debug-ui-CfgbL90e.js → debug-ui-B3yO6QTa.js} +6 -6
- package/dist/browser/{dimming-BTSxZdFU.js → dimming-y3MYb4O3.js} +262 -262
- package/dist/browser/{dist-TUAZaqFf.js → dist-BaXVVYa9.js} +5 -5
- package/dist/browser/{dist-CyuhMWuJ.js → dist-DAWn7KI8.js} +6 -6
- package/dist/browser/{dist-C5PCsTLB.js → dist-fMLrkr8V.js} +3 -3
- package/dist/browser/{efp-debug-init-Dmuf0OD9.js → efp-debug-init-CVDjWVXl.js} +3 -3
- package/dist/browser/{enum-editor-DhSd_imG.js → enum-editor-B-vJDdwf.js} +4 -4
- package/dist/browser/{es5-DjAesjxT.js → es5-CYKbplUA.js} +2 -2
- package/dist/browser/{event-head-CQJFTgLp.js → event-head-BtayW8HA.js} +1 -1
- package/dist/browser/{event-not-found-BD8VwBEd.js → event-not-found-B4Tz7V1H.js} +3 -3
- package/dist/browser/{exports-BWxS7e8x.js → exports-DTjBGI92.js} +1 -1
- package/dist/browser/{favicon-knUtM628.js → favicon-Bq3vaHM_.js} +1 -1
- package/dist/browser/{fetch-retry.umd-DW0ekhe-.js → fetch-retry.umd-Cw9OsA-s.js} +2 -2
- package/dist/browser/{flex-Di6JEi7f.js → flex-C0jlxRr9.js} +5 -5
- package/dist/browser/{floorplan.loader-yNOwUjHQ.js → floorplan.loader-B0b2d8rT.js} +10 -10
- package/dist/browser/{floorplan.ready-C1R3whps.js → floorplan.ready-Bi2mkI_V.js} +186 -191
- package/dist/browser/{fuse-CklOJAb0.js → fuse-CS-5RDcg.js} +2 -2
- package/dist/browser/{i18n-DOTxhE5G.js → i18n-LVijVdMb.js} +5 -5
- package/dist/browser/index.js +16 -16
- package/dist/browser/{index.module-mXl8MtT3.js → index.module-D7TtIVgi.js} +4 -4
- package/dist/browser/{integrateKiosk-b2AMRK5l.js → integrateKiosk-BmVtSyFv.js} +4 -4
- package/dist/browser/{is-own-domain-BZ3_6LnT.js → is-own-domain-BL66TBhN.js} +1 -1
- package/dist/browser/{is-webview-BwUFYV3U.js → is-webview-DwQBZFcX.js} +1 -1
- package/dist/browser/{jsx-runtime-BUFDOCAr.js → jsx-runtime-DS8yJ69h.js} +2 -2
- package/dist/browser/{kiosk-record-Dx28-RL0.js → kiosk-record-goZjGV8Y.js} +1 -1
- package/dist/browser/{lib-BSoYmy6y.js → lib-dIwLYV0z.js} +3 -3
- package/dist/browser/{loadImage-CT_B_63i.js → loadImage-BDk9loud.js} +4 -4
- package/dist/browser/{logDeviceInfo-D5aYLPIp.js → logDeviceInfo-227-j__X.js} +9 -9
- package/dist/browser/{mobx-DmvJdfvB.js → mobx-D3NRVJz0.js} +4 -4
- package/dist/browser/{optional-boolean-editor-DQP8ScA6.js → optional-boolean-editor-BtWARd1i.js} +3 -3
- package/dist/browser/{optional-enum-editor-CK8QdwSw.js → optional-enum-editor-CJEQ7pDc.js} +4 -4
- package/dist/browser/{optional-string-editor-DXnEx_OV.js → optional-string-editor-Bd6a7i5L.js} +4 -4
- package/dist/browser/{particles.min-DTfxDQ63.js → particles.min-CGC94f9R.js} +2 -2
- package/dist/browser/{react-BYD9sU4s.js → react-DUWO7pPs.js} +2 -2
- package/dist/browser/{react-dom-DcdoI_pK.js → react-dom-C08Q2osf.js} +3 -3
- package/dist/browser/{rolldown-runtime-D02yMjJw.js → rolldown-runtime-CooLcCzw.js} +1 -1
- package/dist/browser/{scheduler-CHcj0Ili.js → scheduler-DuPfkMc5.js} +2 -2
- package/dist/browser/{select-CVLafnyq.js → select-4KfoG4mp.js} +10 -10
- package/dist/browser/{settings-DTliQPIF.js → settings-Dbl2f0ow.js} +2 -2
- package/dist/browser/{settings-item-CSulAbWO.js → settings-item-CRyyzC8b.js} +6 -6
- package/dist/browser/{store-hAR4IdGb.js → store-BcEvlgIF.js} +3695 -3695
- package/dist/browser/{string-editor-Bjapa7B7.js → string-editor-lytU5wX-.js} +4 -4
- package/dist/browser/{text-field-dygdoVbb.js → text-field-BGvPdsaN.js} +5 -5
- package/dist/browser/{theme-mpY9s4gk.js → theme-CxFvVGHQ.js} +8 -8
- package/dist/browser/{ui-B7DDzAAp.js → ui-D3H7hMUC.js} +8 -8
- package/dist/browser/{useRenderTarget-M5MRh8Ft.js → useRenderTarget-DGSXEfzc.js} +4 -4
- package/dist/browser/{viewport-DOv49fSW.js → viewport-BczDYrg4.js} +3 -3
- package/dist/esm/components/Kiosk/KioskStore.d.ts +8 -0
- package/dist/esm/components/Kiosk/KioskStore.js +1 -1
- package/dist/esm/components/Kiosk/kiosk-mode.d.ts +18 -2
- package/dist/esm/components/Kiosk/kiosk-mode.js +1 -1
- package/dist/esm/components/Map/MapCamera.js +1 -1
- package/dist/esm/components/Map/camera-events.d.ts +9 -6
- package/dist/esm/components/Map/drawing/config/config-booths.d.ts +2 -2
- package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-load-layer.d.ts +2 -2
- package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
- package/dist/esm/components/Map/drawing/config/layer-images.d.ts +1 -17
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
- package/dist/esm/components/Map/pointer.d.ts +7 -5
- package/dist/esm/components/MapControlsContainer.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/dist/esm/components/Maplibre/useKioskCameraEvents.d.ts +20 -0
- package/dist/esm/components/Maplibre/useKioskCameraEvents.js +1 -0
- package/dist/esm/intercom/shouldLoad.js +1 -1
- package/dist/esm/store/UIState.d.ts +2 -0
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/init-ui.js +1 -1
- package/package.json +10 -10
- package/dist/browser/KioskStore-B_QD5WD2.js +0 -241
- package/dist/esm/components/Maplibre/useKioskIdleEvents.d.ts +0 -17
- package/dist/esm/components/Maplibre/useKioskIdleEvents.js +0 -1
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.37.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5863d103-7ddf-48d5-857e-af5fa070fd09", e._sentryDebugIdIdentifier = "sentry-dbid-5863d103-7ddf-48d5-857e-af5fa070fd09");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { a as t, c as n, i as r, l as i, n as a, o, r as s, s as c, t as l } from "./floorplan.loader-
|
|
11
|
-
import { At as u, Bt as d, Ct as f, Dt as ee, Et as te, Ft as ne,
|
|
12
|
-
import { s as Pe } from "./efp-debug-init-
|
|
13
|
-
import { t as Fe } from "./react-
|
|
14
|
-
import { t as Ie } from "./jsx-runtime-
|
|
15
|
-
import { r as Le } from "./loadImage-
|
|
16
|
-
import { n as
|
|
17
|
-
import { C as y, D as
|
|
18
|
-
import { t as
|
|
19
|
-
import { i as
|
|
20
|
-
import {
|
|
21
|
-
import { n as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-CooLcCzw.js";
|
|
10
|
+
import { a as t, c as n, i as r, l as i, n as a, o, r as s, s as c, t as l } from "./floorplan.loader-B0b2d8rT.js";
|
|
11
|
+
import { At as u, Bt as d, Ct as f, Dt as ee, Et as te, Ft as ne, It as re, K as ie, Lt as ae, Mt as oe, Nt as se, Ot as ce, Pt as le, Rt as p, St as ue, Tt as de, U as fe, W as pe, _t as me, bt as he, et as ge, f as _e, ft as m, ht as ve, jt as ye, kt as be, l as xe, lt as h, mt as Se, n as Ce, o as we, pt as Te, r as Ee, rt as De, ut as Oe, v as ke, vt as Ae, w as g, wt as je, xt as Me, y as Ne, zt as _ } from "./i18n-LVijVdMb.js";
|
|
12
|
+
import { s as Pe } from "./efp-debug-init-CVDjWVXl.js";
|
|
13
|
+
import { t as Fe } from "./react-DUWO7pPs.js";
|
|
14
|
+
import { t as Ie } from "./jsx-runtime-DS8yJ69h.js";
|
|
15
|
+
import { r as Le } from "./loadImage-BDk9loud.js";
|
|
16
|
+
import { n as v, t as Re } from "./is-own-domain-BL66TBhN.js";
|
|
17
|
+
import { C as y, D as ze, Q as Be, ht as b, i as Ve, n as He, w as Ue } from "./exports-DTjBGI92.js";
|
|
18
|
+
import { t as We } from "./client-Bm485HWD.js";
|
|
19
|
+
import { i as Ge, n as Ke, r as x, t as qe } from "./components-DcbtuzgN.js";
|
|
20
|
+
import { An as S, Bt as Je, C, E as Ye, En as Xe, G as Ze, H as Qe, J as $e, N as et, P as w, Q as tt, Rn as nt, S as rt, T, U as E, V as D, Z as it, at, c as O, ct as ot, dn as st, dt as ct, fn as k, gn as lt, hn as A, it as ut, j as dt, l as j, lt as ft, nt as pt, ot as M, q as N, rt as mt, sn as P, tt as F, ut as ht, w as gt, wn as _t, y as vt } from "./store-BcEvlgIF.js";
|
|
21
|
+
import { n as yt, t as bt } from "./integrateKiosk-BmVtSyFv.js";
|
|
22
22
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
|
|
23
23
|
function I(e = {}) {
|
|
24
24
|
let n = r.document, i = (n == null ? void 0 : n.head) || (n == null ? void 0 : n.body);
|
|
@@ -26,7 +26,7 @@ function I(e = {}) {
|
|
|
26
26
|
s && b.error("[showReportDialog] Global document not defined");
|
|
27
27
|
return;
|
|
28
28
|
}
|
|
29
|
-
let a =
|
|
29
|
+
let a = Ue(), o = y(), c = o == null ? void 0 : o.getDsn();
|
|
30
30
|
if (!c) {
|
|
31
31
|
s && b.error("[showReportDialog] DSN not configured");
|
|
32
32
|
return;
|
|
@@ -37,7 +37,7 @@ function I(e = {}) {
|
|
|
37
37
|
...a.getUser(),
|
|
38
38
|
...e.user
|
|
39
39
|
},
|
|
40
|
-
eventId: e.eventId ||
|
|
40
|
+
eventId: e.eventId || Ve()
|
|
41
41
|
}, u = r.document.createElement("script");
|
|
42
42
|
u.async = !0, u.crossOrigin = "anonymous", u.src = t(c, l);
|
|
43
43
|
let { onLoad: d, onClose: f } = l;
|
|
@@ -56,11 +56,11 @@ function I(e = {}) {
|
|
|
56
56
|
//#endregion
|
|
57
57
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/error.js
|
|
58
58
|
var L = /* @__PURE__ */ e(Fe());
|
|
59
|
-
function
|
|
59
|
+
function xt(e) {
|
|
60
60
|
let t = e.match(/^([^.]+)/);
|
|
61
61
|
return t !== null && parseInt(t[0]) >= 17;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function St(e, t) {
|
|
64
64
|
let n = /* @__PURE__ */ new WeakSet();
|
|
65
65
|
function r(e, t) {
|
|
66
66
|
if (!n.has(e)) {
|
|
@@ -70,20 +70,20 @@ function Ct(e, t) {
|
|
|
70
70
|
}
|
|
71
71
|
r(e, t);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
if (
|
|
73
|
+
function Ct(e, { componentStack: t }, n) {
|
|
74
|
+
if (xt(L.version) && Be(e) && t) {
|
|
75
75
|
let n = Error(e.message);
|
|
76
|
-
n.name = `React ErrorBoundary ${e.name}`, n.stack = t,
|
|
76
|
+
n.name = `React ErrorBoundary ${e.name}`, n.stack = t, St(e, n);
|
|
77
77
|
}
|
|
78
|
-
return
|
|
78
|
+
return He(e, n);
|
|
79
79
|
}
|
|
80
80
|
//#endregion
|
|
81
81
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/debug-build.js
|
|
82
|
-
var
|
|
82
|
+
var wt = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, R = {
|
|
83
83
|
componentStack: null,
|
|
84
84
|
error: null,
|
|
85
85
|
eventId: null
|
|
86
|
-
},
|
|
86
|
+
}, Tt = class extends L.Component {
|
|
87
87
|
constructor(e) {
|
|
88
88
|
super(e), this.state = R, this._openFallbackReportDialog = !0;
|
|
89
89
|
let t = y();
|
|
@@ -96,9 +96,9 @@ var Tt = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, R = {
|
|
|
96
96
|
}
|
|
97
97
|
componentDidCatch(e, t) {
|
|
98
98
|
let { componentStack: n } = t, { beforeCapture: r, onError: i, showDialog: a, dialogOptions: o } = this.props;
|
|
99
|
-
|
|
99
|
+
ze((s) => {
|
|
100
100
|
r && r(s, e, n);
|
|
101
|
-
let c =
|
|
101
|
+
let c = Ct(e, t, { mechanism: {
|
|
102
102
|
handled: this.props.handled == null ? !!this.props.fallback : this.props.handled,
|
|
103
103
|
type: "auto.function.react.error_boundary"
|
|
104
104
|
} });
|
|
@@ -133,22 +133,17 @@ var Tt = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, R = {
|
|
|
133
133
|
resetError: () => this.resetErrorBoundary(),
|
|
134
134
|
eventId: n.eventId
|
|
135
135
|
}) : e;
|
|
136
|
-
return L.isValidElement(r) ? r : (e &&
|
|
136
|
+
return L.isValidElement(r) ? r : (e && wt && b.warn("fallback did not produce a valid ReactElement"), null);
|
|
137
137
|
}
|
|
138
|
-
},
|
|
139
|
-
function
|
|
140
|
-
var t;
|
|
141
|
-
let n = new URLSearchParams(window.location.search).get(re), r = h ? window.localStorage.getItem(re) : null, i = n == null ? r : n;
|
|
142
|
-
return i == null ? h && Ye() != null || Object.keys((t = e.kiosk) == null ? {} : t).length > 0 : i === "1";
|
|
143
|
-
}
|
|
144
|
-
function jt() {
|
|
138
|
+
}, Et = /* @__PURE__ */ e(Pe(), 1), Dt = We(), Ot = nt();
|
|
139
|
+
function kt() {
|
|
145
140
|
let e = window.location.hostname.split(".");
|
|
146
141
|
return e.length >= 3 && e[e.length - 2] === "expofp" && e[e.length - 1] === "com";
|
|
147
142
|
}
|
|
148
|
-
function
|
|
149
|
-
return
|
|
143
|
+
function At() {
|
|
144
|
+
return kt() ? window.location.hostname.split(".")[0] : "main";
|
|
150
145
|
}
|
|
151
|
-
function
|
|
146
|
+
function jt(e) {
|
|
152
147
|
if ((e == null ? void 0 : e.free) === !0) return "Free";
|
|
153
148
|
let t = e == null ? void 0 : e.trialExpiresAt;
|
|
154
149
|
if (t) {
|
|
@@ -157,25 +152,25 @@ function Nt(e) {
|
|
|
157
152
|
}
|
|
158
153
|
return "Active";
|
|
159
154
|
}
|
|
160
|
-
function
|
|
155
|
+
function Mt() {
|
|
161
156
|
return !1;
|
|
162
157
|
}
|
|
163
|
-
function
|
|
158
|
+
function Nt(e) {
|
|
164
159
|
return e;
|
|
165
160
|
}
|
|
166
|
-
function
|
|
167
|
-
if (
|
|
168
|
-
let t =
|
|
169
|
-
subDomain:
|
|
170
|
-
subscriptionStatus:
|
|
161
|
+
function Pt(e) {
|
|
162
|
+
if (Mt() || !kt() || ct(e) || !window.navigator.onLine) return null;
|
|
163
|
+
let t = Nt({
|
|
164
|
+
subDomain: At(),
|
|
165
|
+
subscriptionStatus: jt(e)
|
|
171
166
|
});
|
|
172
167
|
return t.subDomain !== "demo" && t.subscriptionStatus !== "Free" && t.subscriptionStatus !== "Trial Expired" ? null : t;
|
|
173
168
|
}
|
|
174
169
|
//#endregion
|
|
175
170
|
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/mini/schemas.js
|
|
176
|
-
var z = /*@__PURE__*/
|
|
171
|
+
var z = /*@__PURE__*/ _("ZodMiniType", (e, t) => {
|
|
177
172
|
if (!e._zod) throw Error("Uninitialized schema in ZodMiniType.");
|
|
178
|
-
|
|
173
|
+
ye.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => oe(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => le(e, t, n), e.parseAsync = async (t, n) => se(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => ne(e, t, n), e.check = (...n) => {
|
|
179
174
|
var r;
|
|
180
175
|
return e.clone({
|
|
181
176
|
...t,
|
|
@@ -185,95 +180,95 @@ var z = /*@__PURE__*/ v("ZodMiniType", (e, t) => {
|
|
|
185
180
|
onattach: []
|
|
186
181
|
} } : e)]
|
|
187
182
|
}, { parent: !0 });
|
|
188
|
-
}, e.with = e.check, e.clone = (t, n) =>
|
|
189
|
-
}),
|
|
183
|
+
}, e.with = e.check, e.clone = (t, n) => re(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.apply = (t) => t(e);
|
|
184
|
+
}), Ft = /*@__PURE__*/ _("ZodMiniString", (e, t) => {
|
|
190
185
|
u.init(e, t), z.init(e, t);
|
|
191
186
|
});
|
|
192
187
|
// @__NO_SIDE_EFFECTS__
|
|
193
|
-
function
|
|
194
|
-
return f(
|
|
188
|
+
function It(e) {
|
|
189
|
+
return f(Ft, e);
|
|
195
190
|
}
|
|
196
|
-
var
|
|
191
|
+
var Lt = /*@__PURE__*/ _("ZodMiniNumber", (e, t) => {
|
|
197
192
|
ee.init(e, t), z.init(e, t);
|
|
198
193
|
});
|
|
199
194
|
// @__NO_SIDE_EFFECTS__
|
|
200
195
|
function B(e) {
|
|
201
|
-
return Me(
|
|
196
|
+
return Me(Lt, e);
|
|
202
197
|
}
|
|
203
|
-
var
|
|
198
|
+
var Rt = /*@__PURE__*/ _("ZodMiniNever", (e, t) => {
|
|
204
199
|
te.init(e, t), z.init(e, t);
|
|
205
200
|
});
|
|
206
201
|
// @__NO_SIDE_EFFECTS__
|
|
207
|
-
function
|
|
208
|
-
return
|
|
202
|
+
function zt(e) {
|
|
203
|
+
return he(Rt, e);
|
|
209
204
|
}
|
|
210
|
-
var
|
|
205
|
+
var Bt = /*@__PURE__*/ _("ZodMiniArray", (e, t) => {
|
|
211
206
|
je.init(e, t), z.init(e, t);
|
|
212
207
|
});
|
|
213
208
|
// @__NO_SIDE_EFFECTS__
|
|
214
|
-
function
|
|
215
|
-
return new
|
|
209
|
+
function Vt(e, t) {
|
|
210
|
+
return new Bt({
|
|
216
211
|
type: "array",
|
|
217
212
|
element: e,
|
|
218
213
|
...p(t)
|
|
219
214
|
});
|
|
220
215
|
}
|
|
221
|
-
var
|
|
222
|
-
|
|
216
|
+
var Ht = /*@__PURE__*/ _("ZodMiniObject", (e, t) => {
|
|
217
|
+
ce.init(e, t), z.init(e, t), ae(e, "shape", () => t.shape);
|
|
223
218
|
});
|
|
224
219
|
// @__NO_SIDE_EFFECTS__
|
|
225
220
|
function V(e, t) {
|
|
226
|
-
return new
|
|
221
|
+
return new Ht({
|
|
227
222
|
type: "object",
|
|
228
223
|
shape: e,
|
|
229
|
-
catchall: /* @__PURE__ */
|
|
224
|
+
catchall: /* @__PURE__ */ zt(),
|
|
230
225
|
...p(t)
|
|
231
226
|
});
|
|
232
227
|
}
|
|
233
|
-
var
|
|
234
|
-
|
|
228
|
+
var Ut = /*@__PURE__*/ _("ZodMiniOptional", (e, t) => {
|
|
229
|
+
be.init(e, t), z.init(e, t);
|
|
235
230
|
});
|
|
236
231
|
// @__NO_SIDE_EFFECTS__
|
|
237
232
|
function H(e) {
|
|
238
|
-
return new
|
|
233
|
+
return new Ut({
|
|
239
234
|
type: "optional",
|
|
240
235
|
innerType: e
|
|
241
236
|
});
|
|
242
237
|
}
|
|
243
|
-
var
|
|
244
|
-
|
|
238
|
+
var Wt = /*@__PURE__*/ _("ZodMiniCustom", (e, t) => {
|
|
239
|
+
de.init(e, t), z.init(e, t);
|
|
245
240
|
});
|
|
246
241
|
// @__NO_SIDE_EFFECTS__
|
|
247
|
-
function
|
|
248
|
-
return
|
|
242
|
+
function Gt(e, t = {}) {
|
|
243
|
+
return ue(Wt, e, t);
|
|
249
244
|
}
|
|
250
245
|
//#endregion
|
|
251
246
|
//#region src/schemas/sdk.schemas.ts
|
|
252
|
-
var
|
|
247
|
+
var Kt = /* @__PURE__ */ V({
|
|
253
248
|
x: /* @__PURE__ */ B(),
|
|
254
249
|
y: /* @__PURE__ */ B()
|
|
255
|
-
}),
|
|
256
|
-
leftTop:
|
|
257
|
-
rightBottom:
|
|
258
|
-
}),
|
|
259
|
-
name: /* @__PURE__ */ H(/* @__PURE__ */
|
|
260
|
-
externalId: /* @__PURE__ */ H(/* @__PURE__ */
|
|
261
|
-
})).check(/* @__PURE__ */
|
|
262
|
-
booths: /* @__PURE__ */ H(/* @__PURE__ */
|
|
263
|
-
exhibitors: /* @__PURE__ */ H(/* @__PURE__ */
|
|
264
|
-
})).check(/* @__PURE__ */
|
|
250
|
+
}), qt = /* @__PURE__ */ V({
|
|
251
|
+
leftTop: Kt,
|
|
252
|
+
rightBottom: Kt
|
|
253
|
+
}), Jt = (/* @__PURE__ */ V({
|
|
254
|
+
name: /* @__PURE__ */ H(/* @__PURE__ */ It()),
|
|
255
|
+
externalId: /* @__PURE__ */ H(/* @__PURE__ */ It())
|
|
256
|
+
})).check(/* @__PURE__ */ Gt((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")), Yt = (/* @__PURE__ */ V({
|
|
257
|
+
booths: /* @__PURE__ */ H(/* @__PURE__ */ Vt(Jt)),
|
|
258
|
+
exhibitors: /* @__PURE__ */ H(/* @__PURE__ */ Vt(Jt))
|
|
259
|
+
})).check(/* @__PURE__ */ Gt((e) => {
|
|
265
260
|
var t, n;
|
|
266
261
|
return !!((t = e.booths) != null && t.length || (n = e.exhibitors) != null && n.length);
|
|
267
|
-
}, "Selector must contain booths or exhibitors")),
|
|
262
|
+
}, "Selector must contain booths or exhibitors")), Xt = /* @__PURE__ */ H(/* @__PURE__ */ V({ padding: /* @__PURE__ */ H(/* @__PURE__ */ B()) }));
|
|
268
263
|
//#endregion
|
|
269
264
|
//#region src/components/Kiosk/recoverKioskFromUrlPrams.ts
|
|
270
|
-
function
|
|
271
|
-
let t =
|
|
272
|
-
Object.values(t).length && (
|
|
265
|
+
function Zt(e) {
|
|
266
|
+
let t = vt(e);
|
|
267
|
+
Object.values(t).length && (bt(t, !1), yt(t));
|
|
273
268
|
}
|
|
274
269
|
//#endregion
|
|
275
270
|
//#region src/utils/getMostFrequent.ts
|
|
276
|
-
function
|
|
271
|
+
function Qt(e) {
|
|
277
272
|
let t = {}, n = 0, r;
|
|
278
273
|
return e.forEach((e) => {
|
|
279
274
|
t[e] = (t[e] || 0) + 1, t[e] > n && (n = t[e], r = e);
|
|
@@ -281,7 +276,7 @@ function en(e) {
|
|
|
281
276
|
}
|
|
282
277
|
//#endregion
|
|
283
278
|
//#region src/services/multi-slug.ts
|
|
284
|
-
function
|
|
279
|
+
function $t(e, t) {
|
|
285
280
|
if (!e.includes("&") && !e.includes("%26")) return null;
|
|
286
281
|
let n = e.startsWith("?") ? e.slice(1) : e, r = n.includes("&") ? "&" : "%26", i = n.split(r), a = (e) => !!e && !m(e).includes("=");
|
|
287
282
|
return i.filter(a).length < 2 ? null : "?" + i.map((e) => a(e) && t(e) || e).join("&");
|
|
@@ -289,58 +284,58 @@ function tn(e, t) {
|
|
|
289
284
|
//#endregion
|
|
290
285
|
//#region src/services/url-dispatch.ts
|
|
291
286
|
var U = !1;
|
|
292
|
-
function
|
|
293
|
-
K(d()),
|
|
287
|
+
function en() {
|
|
288
|
+
K(d()), g(() => O.layerStore.layersLoaded, () => {
|
|
294
289
|
let e = d().camera;
|
|
295
|
-
Object.keys(e).length &&
|
|
290
|
+
Object.keys(e).length && vn(x(e));
|
|
296
291
|
let t = d().visibility;
|
|
297
|
-
Object.keys(t).length &&
|
|
292
|
+
Object.keys(t).length && j.setVisibility(t);
|
|
298
293
|
});
|
|
299
294
|
}
|
|
300
|
-
function
|
|
301
|
-
|
|
295
|
+
function tn(e) {
|
|
296
|
+
ut({
|
|
302
297
|
offHistory: e,
|
|
303
298
|
onNavigate: G
|
|
304
|
-
}),
|
|
305
|
-
O.urlFilterManager && !O.urlFilterManager.isInitialized && O.urlFilterManager.initialize(), G(),
|
|
299
|
+
}), sn(), W(), g(() => O.layerStore.layersLoaded, () => {
|
|
300
|
+
O.urlFilterManager && !O.urlFilterManager.isInitialized && O.urlFilterManager.initialize(), G(), _e(_n), _e(hn), j.viewerMode && (j.menu = !0);
|
|
306
301
|
});
|
|
307
302
|
}
|
|
308
|
-
function
|
|
309
|
-
|
|
303
|
+
function nn(e = "") {
|
|
304
|
+
M("?" + m(e.toString())), O.layerStore.layersLoaded ? rn(e) : (W(), g(() => O.layerStore.layersLoaded, () => rn(e)));
|
|
310
305
|
}
|
|
311
|
-
function
|
|
306
|
+
function rn(e) {
|
|
312
307
|
var t, n;
|
|
313
|
-
let r = "?" + m(e), a =
|
|
308
|
+
let r = "?" + m(e), a = dn(r), o = [...(t = a.intents) == null ? [] : t, ...Se(r).intents], { intents: s = [], ...c } = Te(r, {
|
|
314
309
|
visibility: a.visibility,
|
|
315
310
|
consent: a.consent,
|
|
316
311
|
intents: o
|
|
317
312
|
});
|
|
318
313
|
K(a), K(c);
|
|
319
314
|
let l = (n = a.consent) == null ? c.consent : n;
|
|
320
|
-
l && $e(l), a.camera && Object.keys(a.camera).length &&
|
|
315
|
+
l && $e(l), a.camera && Object.keys(a.camera).length && vn(x(a.camera)), a.visibility && Object.keys(a.visibility).length && j.setVisibility(a.visibility), sn(), G();
|
|
321
316
|
let u = [...o, ...s];
|
|
322
317
|
u.length && i(O.fp, u);
|
|
323
318
|
}
|
|
324
319
|
function W() {
|
|
325
|
-
let e =
|
|
326
|
-
return
|
|
320
|
+
let e = F();
|
|
321
|
+
return Ke(e.length > 1 ? m(e.substring(1)) : "");
|
|
327
322
|
}
|
|
328
323
|
function G() {
|
|
329
324
|
U = !0;
|
|
330
325
|
try {
|
|
331
|
-
|
|
332
|
-
let { primary: e } =
|
|
333
|
-
!W() && !t &&
|
|
326
|
+
Zt(new URLSearchParams(m(window.location.search)));
|
|
327
|
+
let { primary: e } = h(F()), t = e.type === "select" && (!e.slug || /^t=[^&]*$/.test(e.slug)) && (j.heatmap || j.heatmapYah);
|
|
328
|
+
!W() && !t && an(e);
|
|
334
329
|
} finally {
|
|
335
330
|
U = !1;
|
|
336
331
|
}
|
|
337
|
-
|
|
332
|
+
hn(), _n();
|
|
338
333
|
}
|
|
339
|
-
function
|
|
334
|
+
function an(e) {
|
|
340
335
|
let t = O.fp;
|
|
341
336
|
switch (e.type) {
|
|
342
337
|
case "kiosk":
|
|
343
|
-
e.enabled !== null && ht(
|
|
338
|
+
e.enabled !== null && ht(j, e.enabled);
|
|
344
339
|
return;
|
|
345
340
|
case "list":
|
|
346
341
|
t.showList(e.list);
|
|
@@ -357,7 +352,7 @@ function sn(e) {
|
|
|
357
352
|
return;
|
|
358
353
|
case "route":
|
|
359
354
|
var n, r;
|
|
360
|
-
O.routeStore.setOnlyAccessible(e.accessible), O.routeStore.selectRoute(
|
|
355
|
+
O.routeStore.setOnlyAccessible(e.accessible), O.routeStore.selectRoute(gt((n = e.from) == null ? "" : n, (r = e.to) == null ? "" : r, e.waypoints)), O.uiState.setIsMultiPointRoute(e.waypoints.length > 0), e.title && O.uiState.setRouteTitle(e.title);
|
|
361
356
|
return;
|
|
362
357
|
case "selectExhibitors":
|
|
363
358
|
setTimeout(() => t.selectExhibitor(e.values), 250);
|
|
@@ -371,38 +366,38 @@ function sn(e) {
|
|
|
371
366
|
return;
|
|
372
367
|
}
|
|
373
368
|
}
|
|
374
|
-
function
|
|
369
|
+
function on(e) {
|
|
375
370
|
let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i = O.boothStore.booths.filter((e) => n.includes(e.externalId)), a = O.exhibitorStore.exhibitors.filter((e) => r.includes(e.externalId)).flatMap((e) => e.booths), o = [...i, ...a];
|
|
376
|
-
if (
|
|
377
|
-
let e =
|
|
371
|
+
if (lt()) {
|
|
372
|
+
let e = Qt(o.map((e) => e.layer.name));
|
|
378
373
|
e && O.fp.activateFloor({ name: e });
|
|
379
374
|
}
|
|
380
375
|
(n.length > 0 || r.length > 0) && O.fp.highlightEntities([...n, ...r]), O.layerStore.showPathWay(t), o.length > 0 && Ne(() => {
|
|
381
|
-
O.uiState.moveToRect =
|
|
376
|
+
O.uiState.moveToRect = S.fromUnion(...o.map((e) => e.rect).filter(Boolean)), O.uiState.rollReset = !0;
|
|
382
377
|
});
|
|
383
378
|
}
|
|
384
|
-
function
|
|
385
|
-
let { oneShots: e } =
|
|
386
|
-
for (let t of e)
|
|
387
|
-
let t = Qe(
|
|
388
|
-
t !== null &&
|
|
379
|
+
function sn() {
|
|
380
|
+
let { oneShots: e } = h(F());
|
|
381
|
+
for (let t of e) cn(t);
|
|
382
|
+
let t = Qe(F());
|
|
383
|
+
t !== null && M("?" + t), j.previewExhibitor && M("?" + j.previewExhibitor.slug), un();
|
|
389
384
|
}
|
|
390
|
-
function
|
|
385
|
+
function cn(e) {
|
|
391
386
|
switch (e.type) {
|
|
392
387
|
case "heatmap":
|
|
393
|
-
|
|
388
|
+
ln(e.yah);
|
|
394
389
|
return;
|
|
395
390
|
case "blueDot": {
|
|
396
391
|
var t, n;
|
|
397
|
-
let r = new
|
|
398
|
-
|
|
392
|
+
let r = new rt(e.x, e.y, (t = O.layerStore.findLayer((n = e.layer) == null ? "" : n)) == null ? void 0 : t.name, void 0, e.lat, e.lng);
|
|
393
|
+
g(() => O.layerStore.layersLoaded, () => O.routeStore.selectCurrentPosition(r, !0, 1));
|
|
399
394
|
return;
|
|
400
395
|
}
|
|
401
396
|
case "viewerMode":
|
|
402
|
-
|
|
397
|
+
xe && (e.enabled ? localStorage.setItem(De, "true") : (localStorage.removeItem(De), localStorage.removeItem(ie)));
|
|
403
398
|
return;
|
|
404
399
|
case "previewMode":
|
|
405
|
-
|
|
400
|
+
xe && (e.enabled ? localStorage.setItem(ge, "true") : (localStorage.removeItem(ge), localStorage.removeItem(pe)));
|
|
406
401
|
return;
|
|
407
402
|
case "uiScale":
|
|
408
403
|
e.scale === null ? Le.warn(`Invalid ui-scale parameter: ${e.raw}. Must be a number between 0.8 and 1.4.`) : O.uiState.setUIScale(e.scale, !0);
|
|
@@ -412,31 +407,31 @@ function un(e) {
|
|
|
412
407
|
return;
|
|
413
408
|
}
|
|
414
409
|
}
|
|
415
|
-
function
|
|
416
|
-
mt(), e ? (
|
|
410
|
+
function ln(e) {
|
|
411
|
+
mt(), e ? (j.heatmapYah = !0, j.monochrome = !0, j.hideLogoInBooth = !0, j.hideHeaderLogo = !0, j.disableBookmarked = !0) : j.heatmap = !0;
|
|
417
412
|
}
|
|
418
|
-
function
|
|
419
|
-
let e =
|
|
413
|
+
function un() {
|
|
414
|
+
let e = $t(F(), (e) => {
|
|
420
415
|
let t = O.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
|
|
421
416
|
return t == null ? void 0 : t.name;
|
|
422
417
|
});
|
|
423
|
-
e !== null &&
|
|
418
|
+
e !== null && M(e);
|
|
424
419
|
}
|
|
425
420
|
function K(e) {
|
|
426
|
-
e.noOverlay !== void 0 && (
|
|
421
|
+
e.noOverlay !== void 0 && (j.hideOverlay = e.noOverlay), e.monochrome && (j.monochrome = !0), e.hideHeaderLogo && (j.hideHeaderLogo = !0), e.hideLogoInBooth && (j.hideLogoInBooth = !0), e.disableFeatured && O.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (j.disableBookmarked = !0), e.disableGps && O.routeStore.setGpsTrackingEnabled(!1), e.heatmap && a(e.heatmap) && ln(e.heatmap.variant === "yah");
|
|
427
422
|
}
|
|
428
|
-
function
|
|
429
|
-
return
|
|
423
|
+
function dn(e) {
|
|
424
|
+
return ve(me, e).value;
|
|
430
425
|
}
|
|
431
|
-
var
|
|
432
|
-
function
|
|
433
|
-
let { selection: e, exhibitor: t, booth: n, eventItem: r } =
|
|
426
|
+
var fn = null, pn = null, mn = null;
|
|
427
|
+
function hn() {
|
|
428
|
+
let { selection: e, exhibitor: t, booth: n, eventItem: r } = gn(), i = O.urlFilterManager.filterSearch();
|
|
434
429
|
if (U) return;
|
|
435
430
|
let a = Oe(e) || i;
|
|
436
|
-
|
|
431
|
+
F() !== a && (t !== fn || n !== pn || r !== mn ? at(a) : M(a), fn = t, pn = n, mn = r);
|
|
437
432
|
}
|
|
438
|
-
function
|
|
439
|
-
let e =
|
|
433
|
+
function gn() {
|
|
434
|
+
let e = j.selectedExhibitor, t = j.selectedBooth, n = j.selectedEventItem, r = j.selectedRoute, i = j.selectedSpeaker, a = j.setKioskModeEnabled, o = j.list, s;
|
|
440
435
|
if (o.type === "route-planner" && !e && !t && !n) {
|
|
441
436
|
var c;
|
|
442
437
|
let e = O.routePlannerStore;
|
|
@@ -446,7 +441,7 @@ function vn() {
|
|
|
446
441
|
items: e.items.map((e) => e.entity.slug).filter(Boolean),
|
|
447
442
|
from: ((c = e.startPoint) == null ? void 0 : c.slug) || void 0
|
|
448
443
|
};
|
|
449
|
-
} else if (r && !
|
|
444
|
+
} else if (r && !j.isMultiPointRoute) {
|
|
450
445
|
var l;
|
|
451
446
|
s = {
|
|
452
447
|
type: "route",
|
|
@@ -489,7 +484,7 @@ function vn() {
|
|
|
489
484
|
var u, d;
|
|
490
485
|
s = {
|
|
491
486
|
type: "slug",
|
|
492
|
-
slug: (u = (d =
|
|
487
|
+
slug: (u = (d = j.selectedCategory) == null ? void 0 : d.slug) == null ? "" : u
|
|
493
488
|
};
|
|
494
489
|
break;
|
|
495
490
|
case "search":
|
|
@@ -520,15 +515,15 @@ function vn() {
|
|
|
520
515
|
eventItem: n
|
|
521
516
|
};
|
|
522
517
|
}
|
|
523
|
-
function
|
|
518
|
+
function _n() {
|
|
524
519
|
var e;
|
|
525
|
-
if (!
|
|
526
|
-
let t =
|
|
527
|
-
t ? i = t.name : n ? i = n.name : r ? i = r.name :
|
|
520
|
+
if (!Re) return;
|
|
521
|
+
let t = j.selectedExhibitor, n = j.selectedEventItem, r = j.selectedSpeaker, i = "";
|
|
522
|
+
t ? i = t.name : n ? i = n.name : r ? i = r.name : j.list.type === "search" && j.list.text ? i = "`" + (j.list.text || "") + "`" : j.list.type === "multi-point-tour" && j.tourTitle && (i = j.tourTitle), i.length && (i += " – "), i += (e = o(Xe, v)) == null ? c(window.location.hostname, v) : e, document.title = i;
|
|
528
523
|
}
|
|
529
|
-
function
|
|
524
|
+
function vn(e) {
|
|
530
525
|
try {
|
|
531
|
-
if (
|
|
526
|
+
if (j.setMapSettings(e), e.z) {
|
|
532
527
|
let t = O.layerStore.layers.find((t) => t.name === e.z);
|
|
533
528
|
t && O.layerStore.updateVisibility(t, !0);
|
|
534
529
|
}
|
|
@@ -538,26 +533,26 @@ function bn(e) {
|
|
|
538
533
|
}
|
|
539
534
|
//#endregion
|
|
540
535
|
//#region src/store/details-events.ts
|
|
541
|
-
function
|
|
542
|
-
return ke(() =>
|
|
536
|
+
function yn() {
|
|
537
|
+
return ke(() => j.details, () => {
|
|
543
538
|
var e;
|
|
544
|
-
if (!
|
|
545
|
-
if (!
|
|
546
|
-
|
|
539
|
+
if (!j.onDetails) return;
|
|
540
|
+
if (!j.details) {
|
|
541
|
+
j.onDetails(null);
|
|
547
542
|
return;
|
|
548
543
|
}
|
|
549
|
-
let t =
|
|
550
|
-
if (
|
|
544
|
+
let t = j.details;
|
|
545
|
+
if (_t.EXPO === "wineparis" && (t instanceof P && (t = t.booths[0]), !t)) return;
|
|
551
546
|
let n = null, r = [];
|
|
552
|
-
if (t instanceof
|
|
547
|
+
if (t instanceof P) n = "exhibitor", r = t.booths.map((e) => e.name).sort((e, t) => {
|
|
553
548
|
var n, r;
|
|
554
549
|
return e == ((n = O.routeStore.tempToBooth) == null ? void 0 : n.name) ? -1 : +(t == ((r = O.routeStore.tempToBooth) == null ? void 0 : r.name));
|
|
555
550
|
});
|
|
556
551
|
else if (t instanceof k) n = "booth", r = [t.name];
|
|
557
|
-
else if (t instanceof
|
|
552
|
+
else if (t instanceof C) {
|
|
558
553
|
var i, a;
|
|
559
554
|
n = "route", r = [(i = t.from) == null ? void 0 : i.name, (a = t.to) == null ? void 0 : a.name].filter((e) => !!e);
|
|
560
|
-
} else t instanceof
|
|
555
|
+
} else t instanceof st && (n = "category", r = t.exhibitors.map((e) => e.booths.map((e) => e.name)).flat());
|
|
561
556
|
let o = t, s = {
|
|
562
557
|
type: n,
|
|
563
558
|
name: o == null ? void 0 : o.name,
|
|
@@ -565,7 +560,7 @@ function xn() {
|
|
|
565
560
|
externalId: o == null ? void 0 : o.externalId,
|
|
566
561
|
boothsNames: r
|
|
567
562
|
};
|
|
568
|
-
|
|
563
|
+
j.onDetails({
|
|
569
564
|
...s,
|
|
570
565
|
...n === "route" ? { routeInfo: (e = O.routeStore.routeInfo) == null ? void 0 : e } : {}
|
|
571
566
|
});
|
|
@@ -620,7 +615,7 @@ function q(e) {
|
|
|
620
615
|
entity: e.entity,
|
|
621
616
|
isEnded: e.isEnded
|
|
622
617
|
};
|
|
623
|
-
case
|
|
618
|
+
case fe: return {
|
|
624
619
|
id: e.id,
|
|
625
620
|
name: Y(e.name),
|
|
626
621
|
entity: e.entity
|
|
@@ -645,17 +640,17 @@ function Y(e) {
|
|
|
645
640
|
}
|
|
646
641
|
//#endregion
|
|
647
642
|
//#region src/floorplan.ready.tsx
|
|
648
|
-
var X = Ie(), Z = (0,
|
|
649
|
-
(0,
|
|
650
|
-
var
|
|
643
|
+
var X = Ie(), Z = (0, Et.default)("efp:api");
|
|
644
|
+
(0, Ot.install)();
|
|
645
|
+
var bn = class extends l {
|
|
651
646
|
constructor(...e) {
|
|
652
647
|
super(...e), this.root = void 0, this.disposeDetailsEvents = void 0, this.disposeBoothHitTest = void 0;
|
|
653
648
|
}
|
|
654
649
|
init() {
|
|
655
|
-
|
|
650
|
+
en(), this.ignoreQuery || tn(this.offHistory), tt("load"), ot(O), O.fp = this, this.disposeDetailsEvents = yn(), this.disposeBoothHitTest = Je(), $e(this.consent), N(E.Load, ""), this.root = (0, Dt.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, X.jsx)(Tt, { children: /* @__PURE__ */ (0, X.jsx)(qe, {
|
|
656
651
|
offHistory: this.offHistory,
|
|
657
652
|
consent: this.consent
|
|
658
|
-
}) })),
|
|
653
|
+
}) })), N(E.Rendered, ""), ke(() => O.layerStore.layersLoaded, () => {
|
|
659
654
|
let e = this.renderTarget.getRootNode(), t = e instanceof ShadowRoot ? e.host : this.renderTarget.parentElement;
|
|
660
655
|
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); t && this.element.firstChild && this.element.firstChild !== t;) this.element.removeChild(this.element.firstChild);
|
|
661
656
|
if (this.resolveReady(), !O.initialized) {
|
|
@@ -664,8 +659,8 @@ var Sn = class extends l {
|
|
|
664
659
|
}
|
|
665
660
|
O.initialized = !0;
|
|
666
661
|
});
|
|
667
|
-
let e =
|
|
668
|
-
e && import("./bootIntercom-
|
|
662
|
+
let e = Pt(Xe);
|
|
663
|
+
e && import("./bootIntercom-iv5wse99.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
|
|
669
664
|
}
|
|
670
665
|
selectBooth(e) {
|
|
671
666
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
@@ -690,7 +685,7 @@ var Sn = class extends l {
|
|
|
690
685
|
O.selectExhibitor(t[0]), O.moveToList([t[0]]);
|
|
691
686
|
return;
|
|
692
687
|
}
|
|
693
|
-
let n =
|
|
688
|
+
let n = Qt(t.flatMap((e) => e.booths.map((e) => e.layer)).map((e) => e.description));
|
|
694
689
|
n && O.layerStore.updateVisibility(n, !0), O.uiState.menu = !1, O.searchStore.resetSearchBox(), O.uiState.details = null, O.uiState.list = {
|
|
695
690
|
type: "filter",
|
|
696
691
|
items: t,
|
|
@@ -708,7 +703,7 @@ var Sn = class extends l {
|
|
|
708
703
|
}
|
|
709
704
|
highlightEntities(e) {
|
|
710
705
|
Array.isArray(e) || $("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
|
|
711
|
-
let { boothExternalIds: t, exhibitorExternalIds: n } =
|
|
706
|
+
let { boothExternalIds: t, exhibitorExternalIds: n } = Ye(e);
|
|
712
707
|
O.boothStore.highlightedByExternalIds = [...t], O.exhibitorStore.highlightedByExternalIds = [...n];
|
|
713
708
|
}
|
|
714
709
|
selectRoute(e, t) {
|
|
@@ -719,10 +714,10 @@ var Sn = class extends l {
|
|
|
719
714
|
$("selectRoute", "Invalid route format: When providing an array, it must include at least two points: a start and a destination.", "EFP000401");
|
|
720
715
|
return;
|
|
721
716
|
}
|
|
722
|
-
O.routeStore.selectRoute(new
|
|
717
|
+
O.routeStore.selectRoute(new C(Q(n), Q(r), t.map(Q)));
|
|
723
718
|
return;
|
|
724
719
|
}
|
|
725
|
-
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), O.routeStore.selectRoute(new
|
|
720
|
+
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), O.routeStore.selectRoute(new C(Q(e), Q(t)));
|
|
726
721
|
}
|
|
727
722
|
getOptimizedRoutes(e) {
|
|
728
723
|
if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
|
|
@@ -735,7 +730,7 @@ var Sn = class extends l {
|
|
|
735
730
|
let t = (r = (i = e.layer) == null ? void 0 : i.name) == null ? "" : r, a = n.get(t);
|
|
736
731
|
a ? a.push(e) : n.set(t, [e]);
|
|
737
732
|
}
|
|
738
|
-
return Array.from(n.values()).map((e) => ({ waypoints:
|
|
733
|
+
return Array.from(n.values()).map((e) => ({ waypoints: dt(e.map((e) => [e.name, {
|
|
739
734
|
x: e.rect.center.x,
|
|
740
735
|
y: e.rect.center.y
|
|
741
736
|
}])) }));
|
|
@@ -951,7 +946,7 @@ var Sn = class extends l {
|
|
|
951
946
|
O.uiState.startBuildRoute();
|
|
952
947
|
}
|
|
953
948
|
applyParameters(e) {
|
|
954
|
-
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"),
|
|
949
|
+
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), nn(e);
|
|
955
950
|
}
|
|
956
951
|
getVisibility() {
|
|
957
952
|
return O.uiState.visibility;
|
|
@@ -981,16 +976,16 @@ var Sn = class extends l {
|
|
|
981
976
|
O.uiState.setMapSettings(x(t.data));
|
|
982
977
|
}
|
|
983
978
|
getCamera() {
|
|
984
|
-
return
|
|
979
|
+
return Ge(O.uiState.mapSettings);
|
|
985
980
|
}
|
|
986
981
|
zoomTo(e, t) {
|
|
987
982
|
Z("zoomTo called with selectors=%O options=%O", e, t);
|
|
988
|
-
let n =
|
|
983
|
+
let n = Yt.safeParse(e);
|
|
989
984
|
if (!n.success) {
|
|
990
985
|
$("zoomTo", n.error.message, "EFP001600");
|
|
991
986
|
return;
|
|
992
987
|
}
|
|
993
|
-
let r =
|
|
988
|
+
let r = Xt.safeParse(t);
|
|
994
989
|
if (!r.success) {
|
|
995
990
|
$("zoomTo", r.error.message, "EFP001601");
|
|
996
991
|
return;
|
|
@@ -1001,7 +996,7 @@ var Sn = class extends l {
|
|
|
1001
996
|
getBounds(e) {
|
|
1002
997
|
var t, n;
|
|
1003
998
|
Z("getBounds called with selectors=%O", e);
|
|
1004
|
-
let r =
|
|
999
|
+
let r = Yt.safeParse(e);
|
|
1005
1000
|
if (!r.success) {
|
|
1006
1001
|
$("getBounds", r.error.message, "EFP001400");
|
|
1007
1002
|
return;
|
|
@@ -1017,7 +1012,7 @@ var Sn = class extends l {
|
|
|
1017
1012
|
e.rect && i.push(e.rect);
|
|
1018
1013
|
});
|
|
1019
1014
|
}), i.length === 0) return;
|
|
1020
|
-
let a =
|
|
1015
|
+
let a = S.fromUnion(...i);
|
|
1021
1016
|
return {
|
|
1022
1017
|
leftTop: {
|
|
1023
1018
|
x: a.min.x,
|
|
@@ -1034,17 +1029,17 @@ var Sn = class extends l {
|
|
|
1034
1029
|
O.uiState.fitBounds();
|
|
1035
1030
|
return;
|
|
1036
1031
|
}
|
|
1037
|
-
let n =
|
|
1032
|
+
let n = qt.safeParse(e);
|
|
1038
1033
|
if (!n.success) {
|
|
1039
1034
|
$("fitBounds", n.error.message, "EFP001500");
|
|
1040
1035
|
return;
|
|
1041
1036
|
}
|
|
1042
|
-
let r =
|
|
1037
|
+
let r = Xt.safeParse(t);
|
|
1043
1038
|
if (!r.success) {
|
|
1044
1039
|
$("fitBounds", r.error.message, "EFP001501");
|
|
1045
1040
|
return;
|
|
1046
1041
|
}
|
|
1047
|
-
let i =
|
|
1042
|
+
let i = S.fromMinMax({
|
|
1048
1043
|
x: e.leftTop.x,
|
|
1049
1044
|
y: e.leftTop.y
|
|
1050
1045
|
}, {
|
|
@@ -1057,7 +1052,7 @@ var Sn = class extends l {
|
|
|
1057
1052
|
var t;
|
|
1058
1053
|
typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00");
|
|
1059
1054
|
let n = (t = T(e)) == null ? void 0 : t.rect;
|
|
1060
|
-
return n ?
|
|
1055
|
+
return n ? Sn.fromBox(n) : void 0;
|
|
1061
1056
|
}
|
|
1062
1057
|
convertToGeo(e, t) {
|
|
1063
1058
|
var n;
|
|
@@ -1083,7 +1078,7 @@ var Sn = class extends l {
|
|
|
1083
1078
|
}
|
|
1084
1079
|
releaseResources() {
|
|
1085
1080
|
var e, t;
|
|
1086
|
-
window.removeEventListener("error", n), (e = this.disposeDetailsEvents) == null || e.call(this), this.disposeDetailsEvents = void 0, (t = this.disposeBoothHitTest) == null || t.call(this), this.disposeBoothHitTest = void 0, O.maplibreStore.dispose(),
|
|
1081
|
+
window.removeEventListener("error", n), (e = this.disposeDetailsEvents) == null || e.call(this), this.disposeDetailsEvents = void 0, (t = this.disposeBoothHitTest) == null || t.call(this), this.disposeBoothHitTest = void 0, O.maplibreStore.dispose(), pt(), ft(), Ze(), it(), this.root.unmount(), super.releaseResources();
|
|
1087
1082
|
}
|
|
1088
1083
|
search(e) {
|
|
1089
1084
|
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), O.fuzzySearchEngineStore.loadEngine().then(() => (O.searchStore.selectSearch(e), O.uiState.fuzzySearchItems.map((e) => ({
|
|
@@ -1129,11 +1124,11 @@ var Sn = class extends l {
|
|
|
1129
1124
|
}
|
|
1130
1125
|
}
|
|
1131
1126
|
showPathway(e, t) {
|
|
1132
|
-
let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ?
|
|
1127
|
+
let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ? Ye(t) : {
|
|
1133
1128
|
boothExternalIds: [],
|
|
1134
1129
|
exhibitorExternalIds: []
|
|
1135
1130
|
};
|
|
1136
|
-
|
|
1131
|
+
on({
|
|
1137
1132
|
pathwayId: e,
|
|
1138
1133
|
boothIds: n,
|
|
1139
1134
|
exhibitorIds: r
|
|
@@ -1157,11 +1152,11 @@ var Sn = class extends l {
|
|
|
1157
1152
|
changeLanguage(e) {
|
|
1158
1153
|
var t;
|
|
1159
1154
|
let n = e == null || (t = e.toLowerCase) == null ? void 0 : t.call(e);
|
|
1160
|
-
if (!
|
|
1161
|
-
$("changeLanguage", `Language "${e}" was not found. Available languages: ${
|
|
1155
|
+
if (!Ee(n)) {
|
|
1156
|
+
$("changeLanguage", `Language "${e}" was not found. Available languages: ${Ce().map((e) => e.id).join(",")}`, "EFP001300");
|
|
1162
1157
|
return;
|
|
1163
1158
|
}
|
|
1164
|
-
|
|
1159
|
+
we(n);
|
|
1165
1160
|
}
|
|
1166
1161
|
isGpsTrackingEnabled() {
|
|
1167
1162
|
return O.routeStore.gpsEnabled;
|
|
@@ -1188,7 +1183,7 @@ var Sn = class extends l {
|
|
|
1188
1183
|
function Q(e) {
|
|
1189
1184
|
return typeof e == "string" ? T(e) : O.routeStore.getNearestBooth(e);
|
|
1190
1185
|
}
|
|
1191
|
-
var
|
|
1186
|
+
var xn = 0;
|
|
1192
1187
|
function $(e, t, n) {
|
|
1193
1188
|
let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://js-sdk.expofp.com/api/packages";
|
|
1194
1189
|
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), O.fp.disableRuntimeAlerts) return;
|
|
@@ -1204,16 +1199,16 @@ function $(e, t, n) {
|
|
|
1204
1199
|
children: a
|
|
1205
1200
|
})
|
|
1206
1201
|
] })
|
|
1207
|
-
}), clearTimeout(
|
|
1202
|
+
}), clearTimeout(xn);
|
|
1208
1203
|
let o = 8e3;
|
|
1209
|
-
|
|
1204
|
+
xn = window.setTimeout(() => {
|
|
1210
1205
|
let e = async () => {
|
|
1211
1206
|
O.uiState.globalErrorMessages.length > 0 && (O.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
|
|
1212
1207
|
};
|
|
1213
1208
|
e();
|
|
1214
1209
|
}, o);
|
|
1215
1210
|
}
|
|
1216
|
-
var
|
|
1211
|
+
var Sn = class e {
|
|
1217
1212
|
get h() {
|
|
1218
1213
|
return Math.abs(this.y2 - this.y1);
|
|
1219
1214
|
}
|
|
@@ -1286,4 +1281,4 @@ var wn = class e {
|
|
|
1286
1281
|
}
|
|
1287
1282
|
};
|
|
1288
1283
|
//#endregion
|
|
1289
|
-
export {
|
|
1284
|
+
export { bn as default };
|