@expofp/floorplan 3.42.0 → 3.43.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-7vKTUMwa.js → Button-Bs_UxgiQ.js} +6 -6
- package/dist/browser/{CookieConsent-DZnUFAi1.js → CookieConsent-Dyu43_hP.js} +8 -8
- package/dist/browser/{Debug-Dsywuwjc.js → Debug-BsTTWQvE.js} +10 -10
- package/dist/browser/{DebugTools-NEHhoTT0.js → DebugTools-aXs-5eza.js} +7 -7
- package/dist/browser/{Demo-CdqpnPmk.js → Demo-B-7KGDMJ.js} +13 -13
- package/dist/browser/{Free-CknV-WFB.js → Free-CNL5OIgo.js} +16 -15
- package/dist/browser/{GalleryContainer-DiofTl5g.js → GalleryContainer-vKUdXOJc.js} +470 -469
- package/dist/browser/{GpsLoader-yBTov2Mi.js → GpsLoader-CTx41t_T.js} +40 -37
- package/dist/browser/{KioskStore-BhUGohiO.js → KioskStore-DryCUldq.js} +52 -48
- package/dist/browser/{store-C7bFMNRR.js → LayerStore-KA0vMV1s.js} +21398 -31273
- package/dist/browser/{MaplibreAdapter-alyJSU90.js → MaplibreAdapter-VThms9qo.js} +290 -285
- package/dist/browser/{ModalContainer-CRjFYu9I.js → ModalContainer-BnQWgJFk.js} +11 -11
- package/dist/browser/{PermissionNotice-QlgW3rD2.js → PermissionNotice-C6o0LjTv.js} +7 -7
- package/dist/browser/RouteStore-dygrca38.js +1203 -0
- package/dist/browser/SetKioskMode-BlUF1qvU.js +50 -0
- package/dist/browser/{ShowKiosk-CdtvEFA0.js → ShowKiosk-DFoRzTZf.js} +18 -17
- package/dist/browser/UIState-DOeFZ2L0.js +2026 -0
- package/dist/browser/{ViewerMenuPanel-ClN5-HkT.js → ViewerMenuPanel-BTQx7alw.js} +25 -24
- package/dist/browser/{add-debug-secret-listener-CRrpI_Kh.js → add-debug-secret-listener-DEG-kL4W.js} +1 -1
- package/dist/browser/{adopt-global-settings-Bfg8Afor.js → adopt-global-settings-CbCj9y4x.js} +10 -10
- package/dist/browser/{boolean-editor-D07VGVC2.js → boolean-editor-MewBldvq.js} +10 -10
- package/dist/browser/{bootIntercom-BiVMwUUy.js → bootIntercom-Dhf8kEsO.js} +3 -3
- package/dist/browser/bundle.json +110 -71
- package/dist/browser/{camera-events-DLOVTy6c.js → camera-events-BGPhoW-g.js} +1 -1
- package/dist/browser/{classnames-nqfwPBx9.js → classnames-CjOzT3Et.js} +2 -2
- package/dist/browser/{client-BiRIy1Co.js → client-B7ipF6CH.js} +6 -6
- package/dist/browser/{components-DEFGVG-x.js → components-z1AUvMqv.js} +1245 -1228
- package/dist/browser/create-live-plan-BV3wMQvQ.js +3650 -0
- package/dist/browser/{debug-context-CNrat8d3.js → debug-context-DHcoFmUh.js} +6 -6
- package/dist/browser/{debug-overlay-BUUrDM9l.js → debug-overlay-DyWRfHNB.js} +11 -11
- package/dist/browser/{debug-ui-CnrGzk6e.js → debug-ui--YQc14iG.js} +7 -7
- package/dist/browser/{dimming-D0giTIOt.js → dimming-B3eCxIBl.js} +277 -270
- package/dist/browser/{dist-DrIFPR9W.js → dist-CFpNRHGA.js} +6 -6
- package/dist/browser/{dist--ZX1xaYT.js → dist-DZnPa7Gt.js} +3 -3
- package/dist/browser/{dist-CV32Y46p.js → dist-d1mv4aS_.js} +7 -7
- package/dist/browser/{efp-debug-init-BbvlaL2_.js → efp-debug-init-Fe6M60if.js} +4 -4
- package/dist/browser/{enum-editor-CvWk2CYa.js → enum-editor-Bpqhj_kX.js} +5 -5
- package/dist/browser/{es5-Dcwx3Epy.js → es5-Tm811jgW.js} +2 -2
- package/dist/browser/{event-head-BSYCtvm2.js → event-head-DUUPR6gG.js} +1 -1
- package/dist/browser/{event-not-found-DbibmJ01.js → event-not-found-payUnjNK.js} +4 -4
- package/dist/browser/event-scoped-cache-C5u7vr_A.js +22 -0
- package/dist/browser/{exports-CBnfqlGn.js → exports-DqGDS1fu.js} +1 -1
- package/dist/browser/{favicon-DOUIGf88.js → favicon-DsfOrGNO.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CESjFBn2.js → fetch-retry.umd-CC5xe8w5.js} +2 -2
- package/dist/browser/{flex-CkonIXcz.js → flex-CezZmi5f.js} +6 -6
- package/dist/browser/{floorplan.loader-D6Qw8CMQ.js → floorplan.loader-Dlxv8xv-.js} +658 -707
- package/dist/browser/{floorplan.ready-Cn5pmGNZ.js → floorplan.ready-Bet-4Pmf.js} +373 -359
- package/dist/browser/freeBanner-D8r4eSMx.js +31 -0
- package/dist/browser/{fuse-EvF4pTyh.js → fuse-hqr4jkDB.js} +2 -2
- package/dist/browser/{i18n-bazUgGYZ.js → i18n-CbKfwktv.js} +1821 -3872
- package/dist/browser/index.js +131 -47
- package/dist/browser/{index.module-Cd7A7ETP.js → index.module-BbVqiHXM.js} +17 -17
- package/dist/browser/init-ui-BqvkD2nz.js +286 -0
- package/dist/browser/integrateKiosk-DaSOYn36.js +35 -0
- package/dist/browser/{loadImage-7pQI5Tjs.js → is-debug-dWXc5YUy.js} +30 -14
- package/dist/browser/{is-own-domain-BBpQe8Jk.js → is-own-domain-D8anlQ_Q.js} +1 -1
- package/dist/browser/{is-webview-CvWOfDn6.js → is-webview-fqXWp538.js} +1 -1
- package/dist/browser/{jsx-runtime-CSQgoSxn.js → jsx-runtime-DO7PmxNL.js} +2 -2
- package/dist/browser/kiosk-mode-7b7iDbkP.js +33 -0
- package/dist/browser/{kiosk-record-CW_1KB9b.js → kiosk-record-UJxF1fjj.js} +1 -1
- package/dist/browser/kioskApi-CgpMBKhv.js +440 -0
- package/dist/browser/{lib-DM-z760g.js → lib-Czk5Lszd.js} +3 -3
- package/dist/browser/loadImage-CFo9-YJJ.js +17 -0
- package/dist/browser/{logDeviceInfo-Cn9Bhvpl.js → logDeviceInfo-DJjhYuqu.js} +9 -9
- package/dist/browser/{mobx-CtL28CVI.js → mobx-C81AIECP.js} +11 -11
- package/dist/browser/mobx.module-CWCYJWja.js +2064 -0
- package/dist/browser/{optional-boolean-editor-D9vSAE8_.js → optional-boolean-editor-B62ChR7X.js} +4 -4
- package/dist/browser/{optional-enum-editor-CGhySOL7.js → optional-enum-editor-BBO6A0hj.js} +5 -5
- package/dist/browser/{optional-string-editor-CZyRAOtc.js → optional-string-editor-7Q9UPGmg.js} +5 -5
- package/dist/browser/{particles.min-7s3EMxTb.js → particles.min-BKHVPr2d.js} +2 -2
- package/dist/browser/{react-Brm2MVUC.js → react-Cg2OORRh.js} +2 -2
- package/dist/browser/{react-dom-D9UnnQqq.js → react-dom-Ty-lfgLt.js} +3 -3
- package/dist/browser/{rolldown-runtime-B01qwuDw.js → rolldown-runtime-CWnoF_DQ.js} +1 -1
- package/dist/browser/scene-C5l_d13f.js +108 -0
- package/dist/browser/{scheduler-DZj4HovO.js → scheduler-BU0IIfqL.js} +2 -2
- package/dist/browser/{select-BC5N0CfJ.js → select-BzHMeDb4.js} +11 -11
- package/dist/browser/{settings-ChFxDoJk.js → settings-BtJgR42s.js} +2 -2
- package/dist/browser/{settings-item-DFO14ZCg.js → settings-item-DdFFETI3.js} +7 -7
- package/dist/browser/store-BTr1tlEV.js +58 -0
- package/dist/browser/{string-editor-C4gzTT4q.js → string-editor-BEEQ6kcc.js} +5 -5
- package/dist/browser/{text-field-61qAnXmd.js → text-field-DoMqPokj.js} +6 -6
- package/dist/browser/{theme-DSnFzQS0.js → theme-BvRXg3tc.js} +9 -9
- package/dist/browser/{ui-BFqga_Pg.js → ui-CjqBOwnM.js} +9 -9
- package/dist/browser/{useRenderTarget-BxS4Swp7.js → useRenderTarget-CaMfMKd3.js} +5 -5
- package/dist/browser/{viewport-CHeX03S_.js → viewport-D1DrneSN.js} +4 -3
- package/dist/browser/wayfinding-BFQ3ZTEN.js +2322 -0
- package/dist/esm/components/GalleryContainer.js +1 -1
- package/dist/esm/components/Kiosk/integrateKiosk.js +1 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/MapCamera.js +1 -1
- package/dist/esm/components/Map/booth-by-xy.d.ts +8 -10
- package/dist/esm/components/Map/booth-by-xy.js +1 -1
- package/dist/esm/components/Map/drawing/config/BoothShape.d.ts +0 -1
- package/dist/esm/components/Map/drawing/config/BoothShape.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
- package/dist/esm/components/Map/drawing/config/layer-images.d.ts +7 -2
- package/dist/esm/components/Map/drawing/config/layer-images.js +1 -1
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/dist/esm/components/Maplibre/useCameraReactions.js +1 -1
- package/dist/esm/components/Maplibre/utils/geo-config.js +1 -1
- package/dist/esm/components/Maplibre/utils/map-helpers.js +1 -1
- package/dist/esm/components/Menu.js +1 -1
- package/dist/esm/data/fpGeo.d.ts +6 -1
- package/dist/esm/data/fpGeo.js +1 -1
- package/dist/esm/data/index.d.ts +9 -4
- package/dist/esm/data/index.js +1 -1
- package/dist/esm/data/svg.d.ts +15 -13
- package/dist/esm/data/svg.js +1 -1
- package/dist/esm/floorplan.loader.d.ts +6 -1
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.d.ts +8 -2
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/load.js +11 -11
- package/dist/esm/plan-lifecycle.d.ts +65 -0
- package/dist/esm/plan-lifecycle.js +1 -0
- package/dist/esm/services/URLFilterManager.js +1 -1
- package/dist/esm/services/url-dispatch.js +1 -1
- package/dist/esm/services/url-sync.d.ts +5 -1
- package/dist/esm/services/url-sync.js +1 -1
- package/dist/esm/store/MaplibreStore.js +1 -1
- package/dist/esm/store/OverlayStore.d.ts +15 -2
- package/dist/esm/store/OverlayStore.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/create-live-plan.d.ts +13 -0
- package/dist/esm/store/create-live-plan.js +1 -0
- package/dist/esm/store/index.d.ts +2 -13
- package/dist/esm/store/index.js +1 -1
- package/dist/esm/store/init/init-booths.js +1 -1
- package/dist/esm/store/init/init-events.js +1 -1
- package/dist/esm/store/init/init-exhibitors.js +1 -1
- package/dist/esm/store/init/init-layers.js +1 -1
- package/dist/esm/store/init/init-speakers.js +1 -1
- package/dist/esm/store/init/init-ui.d.ts +4 -6
- package/dist/esm/store/init/init-ui.js +1 -1
- package/dist/esm/store/live-store.d.ts +19 -0
- package/dist/esm/store/live-store.js +1 -0
- package/dist/esm/store/search-buttons/SearchButtonsStore.js +1 -1
- package/dist/esm/tools/event-scoped-cache.d.ts +13 -0
- package/dist/esm/tools/event-scoped-cache.js +1 -0
- package/dist/esm/tools/gtag.d.ts +15 -1
- package/dist/esm/tools/gtag.js +1 -1
- package/dist/esm/tools/reset.js +1 -1
- package/dist/esm/tools/settings.d.ts +7 -2
- package/dist/esm/tools/settings.js +1 -1
- package/dist/esm/tools/slug.js +1 -1
- package/dist/esm/tools/style-registry.d.ts +28 -0
- package/dist/esm/tools/style-registry.js +1 -0
- package/dist/esm/tools/track-event.js +1 -1
- package/dist/esm/types.d.ts +7 -1
- package/dist/esm/utils/entity-storage.js +1 -1
- package/dist/esm/utils/gps.js +1 -1
- package/dist/esm/utils/plan-reactions.d.ts +20 -0
- package/dist/esm/utils/plan-reactions.js +1 -0
- package/dist/esm/utils/preview-exhibitor.d.ts +9 -2
- package/dist/esm/utils/preview-exhibitor.js +1 -1
- package/dist/esm/utils/swappable-proxy.d.ts +28 -0
- package/dist/esm/utils/swappable-proxy.js +1 -0
- package/dist/esm/wayfinding/createWayfinding.js +1 -1
- package/package.json +32 -10
- package/dist/browser/SetKioskMode-DE_MMA2F.js +0 -48
- package/dist/browser/integrateKiosk-DskxWOv7.js +0 -34
|
@@ -0,0 +1,1203 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
try {
|
|
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.43.0" };
|
|
5
|
+
var t = new e.Error().stack;
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2fcf35ca-2448-4bfb-a114-7bee1492089b", e._sentryDebugIdIdentifier = "sentry-dbid-2fcf35ca-2448-4bfb-a114-7bee1492089b");
|
|
7
|
+
} catch {}
|
|
8
|
+
})();
|
|
9
|
+
import { Et as e, X as t } from "./i18n-CbKfwktv.js";
|
|
10
|
+
import { a as n, o as r, t as i } from "./is-debug-dWXc5YUy.js";
|
|
11
|
+
import { a, c as o, h as s, n as c } from "./mobx.module-CWCYJWja.js";
|
|
12
|
+
import { c as l, o as u, r as d, t as f } from "./kioskApi-CgpMBKhv.js";
|
|
13
|
+
import { a as p, l as m, u as h } from "./store-BTr1tlEV.js";
|
|
14
|
+
import { n as g } from "./event-scoped-cache-C5u7vr_A.js";
|
|
15
|
+
import { At as _, Ct as v, Ft as y, It as ee, Mt as b, St as x, Tt as S, Vt as te, q as C, r as w, wt as ne } from "./LayerStore-KA0vMV1s.js";
|
|
16
|
+
import { a as re, c as T, d as E, f as D, g as ie, i as ae, m as O, o as oe, r as se, s as ce, t as le } from "./wayfinding-BFQ3ZTEN.js";
|
|
17
|
+
//#region src/components/Kiosk/SetKiosk/getName.ts
|
|
18
|
+
var ue = () => u;
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js
|
|
21
|
+
function k() {
|
|
22
|
+
return k = Object.assign ? Object.assign.bind() : function(e) {
|
|
23
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
24
|
+
var n = arguments[t];
|
|
25
|
+
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
26
|
+
}
|
|
27
|
+
return e;
|
|
28
|
+
}, k.apply(null, arguments);
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region ../../node_modules/.pnpm/resolve-pathname@3.0.0/node_modules/resolve-pathname/esm/resolve-pathname.js
|
|
32
|
+
function A(e) {
|
|
33
|
+
return e.charAt(0) === "/";
|
|
34
|
+
}
|
|
35
|
+
function j(e, t) {
|
|
36
|
+
for (var n = t, r = n + 1, i = e.length; r < i; n += 1, r += 1) e[n] = e[r];
|
|
37
|
+
e.pop();
|
|
38
|
+
}
|
|
39
|
+
function de(e, t) {
|
|
40
|
+
t === void 0 && (t = "");
|
|
41
|
+
var n = e && e.split("/") || [], r = t && t.split("/") || [], i = e && A(e), a = t && A(t), o = i || a;
|
|
42
|
+
if (e && A(e) ? r = n : n.length && (r.pop(), r = r.concat(n)), !r.length) return "/";
|
|
43
|
+
var s;
|
|
44
|
+
if (r.length) {
|
|
45
|
+
var c = r[r.length - 1];
|
|
46
|
+
s = c === "." || c === ".." || c === "";
|
|
47
|
+
} else s = !1;
|
|
48
|
+
for (var l = 0, u = r.length; u >= 0; u--) {
|
|
49
|
+
var d = r[u];
|
|
50
|
+
d === "." ? j(r, u) : d === ".." ? (j(r, u), l++) : l && (j(r, u), l--);
|
|
51
|
+
}
|
|
52
|
+
if (!o) for (; l--;) r.unshift("..");
|
|
53
|
+
o && r[0] !== "" && (!r[0] || !A(r[0])) && r.unshift("");
|
|
54
|
+
var f = r.join("/");
|
|
55
|
+
return s && f.substr(-1) !== "/" && (f += "/"), f;
|
|
56
|
+
}
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region ../../node_modules/.pnpm/tiny-invariant@1.3.3/node_modules/tiny-invariant/dist/esm/tiny-invariant.js
|
|
59
|
+
var fe = "Invariant failed";
|
|
60
|
+
function pe(e, t) {
|
|
61
|
+
if (!e) throw Error(fe);
|
|
62
|
+
}
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region ../../node_modules/.pnpm/history@4.10.1/node_modules/history/esm/history.js
|
|
65
|
+
function me(e) {
|
|
66
|
+
return e.charAt(0) === "/" ? e : "/" + e;
|
|
67
|
+
}
|
|
68
|
+
function he(e, t) {
|
|
69
|
+
return e.toLowerCase().indexOf(t.toLowerCase()) === 0 && "/?#".indexOf(e.charAt(t.length)) !== -1;
|
|
70
|
+
}
|
|
71
|
+
function ge(e, t) {
|
|
72
|
+
return he(e, t) ? e.substr(t.length) : e;
|
|
73
|
+
}
|
|
74
|
+
function _e(e) {
|
|
75
|
+
return e.charAt(e.length - 1) === "/" ? e.slice(0, -1) : e;
|
|
76
|
+
}
|
|
77
|
+
function ve(e) {
|
|
78
|
+
var t = e || "/", n = "", r = "", i = t.indexOf("#");
|
|
79
|
+
i !== -1 && (r = t.substr(i), t = t.substr(0, i));
|
|
80
|
+
var a = t.indexOf("?");
|
|
81
|
+
return a !== -1 && (n = t.substr(a), t = t.substr(0, a)), {
|
|
82
|
+
pathname: t,
|
|
83
|
+
search: n === "?" ? "" : n,
|
|
84
|
+
hash: r === "#" ? "" : r
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
function ye(e) {
|
|
88
|
+
var t = e.pathname, n = e.search, r = e.hash, i = t || "/";
|
|
89
|
+
return n && n !== "?" && (i += n.charAt(0) === "?" ? n : "?" + n), r && r !== "#" && (i += r.charAt(0) === "#" ? r : "#" + r), i;
|
|
90
|
+
}
|
|
91
|
+
function M(e, t, n, r) {
|
|
92
|
+
var i;
|
|
93
|
+
typeof e == "string" ? (i = ve(e), i.state = t) : (i = k({}, e), i.pathname === void 0 && (i.pathname = ""), i.search ? i.search.charAt(0) !== "?" && (i.search = "?" + i.search) : i.search = "", i.hash ? i.hash.charAt(0) !== "#" && (i.hash = "#" + i.hash) : i.hash = "", t !== void 0 && i.state === void 0 && (i.state = t));
|
|
94
|
+
try {
|
|
95
|
+
i.pathname = decodeURI(i.pathname);
|
|
96
|
+
} catch (e) {
|
|
97
|
+
throw e instanceof URIError ? URIError("Pathname \"" + i.pathname + "\" could not be decoded. This is likely caused by an invalid percent-encoding.") : e;
|
|
98
|
+
}
|
|
99
|
+
return n && (i.key = n), r ? i.pathname ? i.pathname.charAt(0) !== "/" && (i.pathname = de(i.pathname, r.pathname)) : i.pathname = r.pathname : i.pathname || (i.pathname = "/"), i;
|
|
100
|
+
}
|
|
101
|
+
function be() {
|
|
102
|
+
var e = null;
|
|
103
|
+
function t(t) {
|
|
104
|
+
return e = t, function() {
|
|
105
|
+
e === t && (e = null);
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
function n(t, n, r, i) {
|
|
109
|
+
if (e != null) {
|
|
110
|
+
var a = typeof e == "function" ? e(t, n) : e;
|
|
111
|
+
typeof a == "string" ? typeof r == "function" ? r(a, i) : i(!0) : i(a !== !1);
|
|
112
|
+
} else i(!0);
|
|
113
|
+
}
|
|
114
|
+
var r = [];
|
|
115
|
+
function i(e) {
|
|
116
|
+
var t = !0;
|
|
117
|
+
function n() {
|
|
118
|
+
t && e.apply(void 0, arguments);
|
|
119
|
+
}
|
|
120
|
+
return r.push(n), function() {
|
|
121
|
+
t = !1, r = r.filter(function(e) {
|
|
122
|
+
return e !== n;
|
|
123
|
+
});
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
function a() {
|
|
127
|
+
var e = [...arguments];
|
|
128
|
+
r.forEach(function(t) {
|
|
129
|
+
return t.apply(void 0, e);
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
return {
|
|
133
|
+
setPrompt: t,
|
|
134
|
+
confirmTransitionTo: n,
|
|
135
|
+
appendListener: i,
|
|
136
|
+
notifyListeners: a
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
var xe = !!(typeof window < "u" && window.document && window.document.createElement);
|
|
140
|
+
function Se(e, t) {
|
|
141
|
+
t(window.confirm(e));
|
|
142
|
+
}
|
|
143
|
+
function Ce() {
|
|
144
|
+
var e = window.navigator.userAgent;
|
|
145
|
+
return (e.indexOf("Android 2.") !== -1 || e.indexOf("Android 4.0") !== -1) && e.indexOf("Mobile Safari") !== -1 && e.indexOf("Chrome") === -1 && e.indexOf("Windows Phone") === -1 ? !1 : window.history && "pushState" in window.history;
|
|
146
|
+
}
|
|
147
|
+
function we() {
|
|
148
|
+
return window.navigator.userAgent.indexOf("Trident") === -1;
|
|
149
|
+
}
|
|
150
|
+
function Te(e) {
|
|
151
|
+
return e.state === void 0 && navigator.userAgent.indexOf("CriOS") === -1;
|
|
152
|
+
}
|
|
153
|
+
var Ee = "popstate", De = "hashchange";
|
|
154
|
+
function Oe() {
|
|
155
|
+
try {
|
|
156
|
+
return window.history.state || {};
|
|
157
|
+
} catch {
|
|
158
|
+
return {};
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
function ke(e) {
|
|
162
|
+
e === void 0 && (e = {}), !xe && pe(!1);
|
|
163
|
+
var t = window.history, n = Ce(), r = !we(), i = e, a = i.forceRefresh, o = a !== void 0 && a, s = i.getUserConfirmation, c = s === void 0 ? Se : s, l = i.keyLength, u = l === void 0 ? 6 : l, d = e.basename ? _e(me(e.basename)) : "";
|
|
164
|
+
function f(e) {
|
|
165
|
+
var t = e || {}, n = t.key, r = t.state, i = window.location, a = i.pathname, o = i.search, s = i.hash, c = a + o + s;
|
|
166
|
+
return d && (c = ge(c, d)), M(c, r, n);
|
|
167
|
+
}
|
|
168
|
+
function p() {
|
|
169
|
+
return Math.random().toString(36).substr(2, u);
|
|
170
|
+
}
|
|
171
|
+
var m = be();
|
|
172
|
+
function h(e) {
|
|
173
|
+
k(O, e), O.length = t.length, m.notifyListeners(O.location, O.action);
|
|
174
|
+
}
|
|
175
|
+
function g(e) {
|
|
176
|
+
Te(e) || y(f(e.state));
|
|
177
|
+
}
|
|
178
|
+
function _() {
|
|
179
|
+
y(f(Oe()));
|
|
180
|
+
}
|
|
181
|
+
var v = !1;
|
|
182
|
+
function y(e) {
|
|
183
|
+
if (v) v = !1, h();
|
|
184
|
+
else {
|
|
185
|
+
var t = "POP";
|
|
186
|
+
m.confirmTransitionTo(e, t, c, function(n) {
|
|
187
|
+
n ? h({
|
|
188
|
+
action: t,
|
|
189
|
+
location: e
|
|
190
|
+
}) : ee(e);
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
function ee(e) {
|
|
195
|
+
var t = O.location, n = x.indexOf(t.key);
|
|
196
|
+
n === -1 && (n = 0);
|
|
197
|
+
var r = x.indexOf(e.key);
|
|
198
|
+
r === -1 && (r = 0);
|
|
199
|
+
var i = n - r;
|
|
200
|
+
i && (v = !0, w(i));
|
|
201
|
+
}
|
|
202
|
+
var b = f(Oe()), x = [b.key];
|
|
203
|
+
function S(e) {
|
|
204
|
+
return d + ye(e);
|
|
205
|
+
}
|
|
206
|
+
function te(e, r) {
|
|
207
|
+
var i = "PUSH", a = M(e, r, p(), O.location);
|
|
208
|
+
m.confirmTransitionTo(a, i, c, function(e) {
|
|
209
|
+
if (e) {
|
|
210
|
+
var r = S(a), s = a.key, c = a.state;
|
|
211
|
+
if (n) if (t.pushState({
|
|
212
|
+
key: s,
|
|
213
|
+
state: c
|
|
214
|
+
}, null, r), o) window.location.href = r;
|
|
215
|
+
else {
|
|
216
|
+
var l = x.indexOf(O.location.key), u = x.slice(0, l + 1);
|
|
217
|
+
u.push(a.key), x = u, h({
|
|
218
|
+
action: i,
|
|
219
|
+
location: a
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
else window.location.href = r;
|
|
223
|
+
}
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
function C(e, r) {
|
|
227
|
+
var i = "REPLACE", a = M(e, r, p(), O.location);
|
|
228
|
+
m.confirmTransitionTo(a, i, c, function(e) {
|
|
229
|
+
if (e) {
|
|
230
|
+
var r = S(a), s = a.key, c = a.state;
|
|
231
|
+
if (n) if (t.replaceState({
|
|
232
|
+
key: s,
|
|
233
|
+
state: c
|
|
234
|
+
}, null, r), o) window.location.replace(r);
|
|
235
|
+
else {
|
|
236
|
+
var l = x.indexOf(O.location.key);
|
|
237
|
+
l !== -1 && (x[l] = a.key), h({
|
|
238
|
+
action: i,
|
|
239
|
+
location: a
|
|
240
|
+
});
|
|
241
|
+
}
|
|
242
|
+
else window.location.replace(r);
|
|
243
|
+
}
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
function w(e) {
|
|
247
|
+
t.go(e);
|
|
248
|
+
}
|
|
249
|
+
function ne() {
|
|
250
|
+
w(-1);
|
|
251
|
+
}
|
|
252
|
+
function re() {
|
|
253
|
+
w(1);
|
|
254
|
+
}
|
|
255
|
+
var T = 0;
|
|
256
|
+
function E(e) {
|
|
257
|
+
T += e, T === 1 && e === 1 ? (window.addEventListener(Ee, g), r && window.addEventListener(De, _)) : T === 0 && (window.removeEventListener(Ee, g), r && window.removeEventListener(De, _));
|
|
258
|
+
}
|
|
259
|
+
var D = !1;
|
|
260
|
+
function ie(e) {
|
|
261
|
+
e === void 0 && (e = !1);
|
|
262
|
+
var t = m.setPrompt(e);
|
|
263
|
+
return D || (E(1), D = !0), function() {
|
|
264
|
+
return D && (D = !1, E(-1)), t();
|
|
265
|
+
};
|
|
266
|
+
}
|
|
267
|
+
function ae(e) {
|
|
268
|
+
var t = m.appendListener(e);
|
|
269
|
+
return E(1), function() {
|
|
270
|
+
E(-1), t();
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
var O = {
|
|
274
|
+
length: t.length,
|
|
275
|
+
action: "POP",
|
|
276
|
+
location: b,
|
|
277
|
+
createHref: S,
|
|
278
|
+
push: te,
|
|
279
|
+
replace: C,
|
|
280
|
+
go: w,
|
|
281
|
+
goBack: ne,
|
|
282
|
+
goForward: re,
|
|
283
|
+
block: ie,
|
|
284
|
+
listen: ae
|
|
285
|
+
};
|
|
286
|
+
return O;
|
|
287
|
+
}
|
|
288
|
+
//#endregion
|
|
289
|
+
//#region src/services/url-sync.ts
|
|
290
|
+
var N = ke();
|
|
291
|
+
function P() {
|
|
292
|
+
return window.location.pathname;
|
|
293
|
+
}
|
|
294
|
+
var F = g(() => []), I = "", L = !1, R = !1, z = 0, B = () => void 0, V;
|
|
295
|
+
function Ae() {
|
|
296
|
+
return F();
|
|
297
|
+
}
|
|
298
|
+
function je(e) {
|
|
299
|
+
if (!I) return P() + e;
|
|
300
|
+
let n = t(e).search, r = n === "?" ? "" : n;
|
|
301
|
+
return P() + (r ? `${r}&${I}` : `?${I}`);
|
|
302
|
+
}
|
|
303
|
+
function Me() {
|
|
304
|
+
return t(N.location.search).search;
|
|
305
|
+
}
|
|
306
|
+
function Ne(e) {
|
|
307
|
+
!L && !R && N.push(je(e));
|
|
308
|
+
}
|
|
309
|
+
function Pe(e) {
|
|
310
|
+
return L || R ? !1 : (N.replace(je(e)), !0);
|
|
311
|
+
}
|
|
312
|
+
function Fe() {
|
|
313
|
+
n(Le), L = !0;
|
|
314
|
+
}
|
|
315
|
+
function Ie(e) {
|
|
316
|
+
n(Le), L || (L = e.offHistory), B = e.onNavigate, I = t(N.location.search).platform, L || F().push(P() + N.location.search), V = N.listen((e, t) => {
|
|
317
|
+
if (Re(), L) return;
|
|
318
|
+
let n = F(), i = P() + e.search;
|
|
319
|
+
n[n.length - 1] !== i && n.push(i), r.log("history", t, e), t === "POP" && B();
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
function Le() {
|
|
323
|
+
L = !1, I = "", B = () => void 0, F().length = 0, Re(), V == null || V(), V = void 0;
|
|
324
|
+
}
|
|
325
|
+
function Re() {
|
|
326
|
+
R = !1, window.clearTimeout(z);
|
|
327
|
+
}
|
|
328
|
+
function ze() {
|
|
329
|
+
R = !0, window.clearTimeout(z), z = window.setTimeout(Re, 1e3), N.goBack();
|
|
330
|
+
}
|
|
331
|
+
//#endregion
|
|
332
|
+
//#region src/tools/telemetry.ts
|
|
333
|
+
var Be = "efp-telemetry", Ve = 300 * 1e3, He = 1e3, Ue = 63e3;
|
|
334
|
+
function We(e) {
|
|
335
|
+
return e ? `${Be}:${e}` : Be;
|
|
336
|
+
}
|
|
337
|
+
function Ge(e = Be) {
|
|
338
|
+
return {
|
|
339
|
+
get() {
|
|
340
|
+
try {
|
|
341
|
+
let t = localStorage.getItem(e);
|
|
342
|
+
return t ? JSON.parse(t) : null;
|
|
343
|
+
} catch {
|
|
344
|
+
return null;
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
set(t) {
|
|
348
|
+
try {
|
|
349
|
+
localStorage.setItem(e, JSON.stringify(t));
|
|
350
|
+
} catch (e) {
|
|
351
|
+
console.error("Failed to persist telemetry data", e);
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
clear() {
|
|
355
|
+
try {
|
|
356
|
+
localStorage.removeItem(e);
|
|
357
|
+
} catch (e) {
|
|
358
|
+
console.error("Failed to clear telemetry data", e);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
function Ke(e, t) {
|
|
364
|
+
if (!t) return e;
|
|
365
|
+
let n = e.indexOf("#"), r = n === -1 ? e : e.slice(0, n), i = n === -1 ? "" : e.slice(n), a = "?";
|
|
366
|
+
return r.includes("?") && (a = r.endsWith("?") || r.endsWith("&") ? "" : "&"), `${r}${a}expo=${encodeURIComponent(t)}${i}`;
|
|
367
|
+
}
|
|
368
|
+
function qe(e) {
|
|
369
|
+
let t = new TextEncoder(), n = [], r = t.encode(JSON.stringify({
|
|
370
|
+
...e,
|
|
371
|
+
items: []
|
|
372
|
+
})).byteLength;
|
|
373
|
+
for (let i of e.items) {
|
|
374
|
+
let e = t.encode(JSON.stringify(i)).byteLength, a = n.length > 0 ? e + 1 : e;
|
|
375
|
+
if (n.length > 0 && r + a > Ue) break;
|
|
376
|
+
r += a, n.push(i);
|
|
377
|
+
}
|
|
378
|
+
let i = n.length === e.items.length ? e : {
|
|
379
|
+
...e,
|
|
380
|
+
items: n
|
|
381
|
+
};
|
|
382
|
+
return {
|
|
383
|
+
payload: i,
|
|
384
|
+
body: JSON.stringify(i),
|
|
385
|
+
bytes: r
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
function Je(e) {
|
|
389
|
+
return e >= 400 && e < 500 && e !== 408 && e !== 429;
|
|
390
|
+
}
|
|
391
|
+
function Ye(e) {
|
|
392
|
+
return e.length <= He ? e : (console.warn(`Telemetry queue full: dropping ${e.length - He} oldest events`), e.slice(-1e3));
|
|
393
|
+
}
|
|
394
|
+
function Xe(e) {
|
|
395
|
+
let t = e.headers.get("Retry-After");
|
|
396
|
+
if (!t) return 0;
|
|
397
|
+
let n = 0, r = Number(t);
|
|
398
|
+
if (Number.isFinite(r)) n = r * 1e3;
|
|
399
|
+
else {
|
|
400
|
+
let e = Date.parse(t);
|
|
401
|
+
isNaN(e) || (n = Math.max(0, e - Date.now()));
|
|
402
|
+
}
|
|
403
|
+
return Math.min(n, Ve);
|
|
404
|
+
}
|
|
405
|
+
function Ze(e) {
|
|
406
|
+
var t;
|
|
407
|
+
let { url: n, expo: r, expoId: i, storage: a = Ge(We(r)) } = e, o = Ke(n, r), s = (t = e.kioskId) == null ? "" : t;
|
|
408
|
+
function c() {
|
|
409
|
+
let e = a.get();
|
|
410
|
+
return e ? (e.expo = r, e.expoId = i, e.kioskId = s, e) : {
|
|
411
|
+
expo: r,
|
|
412
|
+
expoId: i,
|
|
413
|
+
kioskId: s,
|
|
414
|
+
items: []
|
|
415
|
+
};
|
|
416
|
+
}
|
|
417
|
+
function l(e) {
|
|
418
|
+
s = e;
|
|
419
|
+
}
|
|
420
|
+
let u = !1, d = !1, f = 0;
|
|
421
|
+
async function p() {
|
|
422
|
+
if (u) {
|
|
423
|
+
d = !0;
|
|
424
|
+
return;
|
|
425
|
+
}
|
|
426
|
+
u = !0;
|
|
427
|
+
try {
|
|
428
|
+
do {
|
|
429
|
+
if (d = !1, performance.now() < f) break;
|
|
430
|
+
let e = null;
|
|
431
|
+
try {
|
|
432
|
+
let t = c().items.length;
|
|
433
|
+
for (; t > 0;) {
|
|
434
|
+
let n = c();
|
|
435
|
+
if (n.items.length === 0) break;
|
|
436
|
+
let { payload: r, body: i, bytes: a } = qe(n), s = r.items.length;
|
|
437
|
+
m(n, n.items.slice(s)), e = r.items, t -= s;
|
|
438
|
+
let l = await fetch(o, {
|
|
439
|
+
method: "POST",
|
|
440
|
+
body: i,
|
|
441
|
+
headers: { "Content-Type": "application/json" },
|
|
442
|
+
credentials: "omit",
|
|
443
|
+
keepalive: a <= Ue
|
|
444
|
+
});
|
|
445
|
+
if (await l.text().catch(() => void 0), e = null, !l.ok) {
|
|
446
|
+
if (Je(l.status)) {
|
|
447
|
+
console.error(`Telemetry batch refused by the endpoint: HTTP ${l.status} (dropped: ${s})`);
|
|
448
|
+
continue;
|
|
449
|
+
}
|
|
450
|
+
if (l.status === 429 || l.status === 503) {
|
|
451
|
+
let e = Xe(l);
|
|
452
|
+
e > 0 && (f = performance.now() + e);
|
|
453
|
+
}
|
|
454
|
+
h(r.items), console.error(`Failed to send telemetry: HTTP ${l.status} (requeued: ${s})`);
|
|
455
|
+
break;
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
} catch (t) {
|
|
459
|
+
e && h(e), console.error("Failed to send telemetry", t);
|
|
460
|
+
}
|
|
461
|
+
} while (d);
|
|
462
|
+
} finally {
|
|
463
|
+
u = !1;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
function m(e, t) {
|
|
467
|
+
t.length === 0 ? a.clear() : a.set({
|
|
468
|
+
...e,
|
|
469
|
+
items: t
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
function h(e) {
|
|
473
|
+
if (e.length === 0) return;
|
|
474
|
+
let t = c();
|
|
475
|
+
m(t, Ye([...e, ...t.items]));
|
|
476
|
+
}
|
|
477
|
+
function g(e) {
|
|
478
|
+
let t = c();
|
|
479
|
+
t.items.push(e), m(t, Ye(t.items));
|
|
480
|
+
}
|
|
481
|
+
async function _(e) {
|
|
482
|
+
g(e), await p();
|
|
483
|
+
}
|
|
484
|
+
return {
|
|
485
|
+
enqueue: g,
|
|
486
|
+
send: _,
|
|
487
|
+
flush: p,
|
|
488
|
+
setKioskId: l
|
|
489
|
+
};
|
|
490
|
+
}
|
|
491
|
+
//#endregion
|
|
492
|
+
//#region src/tools/track-event.ts
|
|
493
|
+
var H, Qe;
|
|
494
|
+
function $e() {
|
|
495
|
+
let t = window.__efpEvent;
|
|
496
|
+
if (H && Qe === t) return H;
|
|
497
|
+
H == null || H.flush();
|
|
498
|
+
let i;
|
|
499
|
+
try {
|
|
500
|
+
var a, o;
|
|
501
|
+
let t = new URL((a = (o = e()) == null ? void 0 : o.trackerUrl) == null ? "" : a).searchParams.get("expoId");
|
|
502
|
+
i = t ? Number(t) : void 0;
|
|
503
|
+
} catch (e) {
|
|
504
|
+
r.error(e);
|
|
505
|
+
}
|
|
506
|
+
return H = Ze({
|
|
507
|
+
url: "https://app.expofp.com/api/telemetry",
|
|
508
|
+
expo: t,
|
|
509
|
+
expoId: i
|
|
510
|
+
}), Qe = t, n(it), H;
|
|
511
|
+
}
|
|
512
|
+
function et(e, t, n) {
|
|
513
|
+
let r = Ae(), i = r[r.length - 2];
|
|
514
|
+
return {
|
|
515
|
+
type: e,
|
|
516
|
+
subtype: n,
|
|
517
|
+
value: t == null ? "" : String(t),
|
|
518
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
519
|
+
url: window.location.href,
|
|
520
|
+
referrer: i ? window.location.origin + i : ""
|
|
521
|
+
};
|
|
522
|
+
}
|
|
523
|
+
function tt() {
|
|
524
|
+
var t;
|
|
525
|
+
return !!window.__efpEvent && !!((t = e()) != null && t.trackerUrl) && !h.heatmap;
|
|
526
|
+
}
|
|
527
|
+
async function U(e, t, n) {
|
|
528
|
+
if (r.log("trackEvent", e, t, n), tt()) try {
|
|
529
|
+
var i;
|
|
530
|
+
let r = et(e, t, n), a = d(), o = null;
|
|
531
|
+
if (a ? o = await nt(a) : localStorage.removeItem(l), !tt()) return;
|
|
532
|
+
let s = $e();
|
|
533
|
+
if (a && !o) {
|
|
534
|
+
s.enqueue(r);
|
|
535
|
+
return;
|
|
536
|
+
}
|
|
537
|
+
s.setKioskId((i = o) == null ? "" : i), at(s), await s.send(r);
|
|
538
|
+
} catch (e) {
|
|
539
|
+
r.error("trackEvent", String(e));
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
var W;
|
|
543
|
+
async function nt(e) {
|
|
544
|
+
if (!e) return null;
|
|
545
|
+
let t = localStorage.getItem(l);
|
|
546
|
+
if (t) return t;
|
|
547
|
+
if (!W) {
|
|
548
|
+
let t = window.__efpEvent;
|
|
549
|
+
W = f(e, "https://app.expofp.com/").then((e) => !e || window.__efpEvent !== t ? null : (localStorage.setItem(l, e), e)).finally(() => {
|
|
550
|
+
W = void 0;
|
|
551
|
+
});
|
|
552
|
+
}
|
|
553
|
+
return W;
|
|
554
|
+
}
|
|
555
|
+
var rt = !1;
|
|
556
|
+
function it() {
|
|
557
|
+
H == null || H.flush(), H = void 0, Qe = void 0, rt = !1;
|
|
558
|
+
}
|
|
559
|
+
function at(e) {
|
|
560
|
+
if (rt) return;
|
|
561
|
+
rt = !0;
|
|
562
|
+
let t = "efp-track-events";
|
|
563
|
+
try {
|
|
564
|
+
let r = localStorage.getItem(t);
|
|
565
|
+
if (!r) return;
|
|
566
|
+
let i = JSON.parse(r);
|
|
567
|
+
if (!Array.isArray(i)) {
|
|
568
|
+
localStorage.removeItem(t);
|
|
569
|
+
return;
|
|
570
|
+
}
|
|
571
|
+
for (let t of i) {
|
|
572
|
+
var n;
|
|
573
|
+
!t || typeof t != "object" || !t.headers || e.enqueue({
|
|
574
|
+
type: t.type,
|
|
575
|
+
value: t.value == null ? "" : String(t.value),
|
|
576
|
+
timestamp: t.timeStamp,
|
|
577
|
+
url: t.headers["X-href"],
|
|
578
|
+
referrer: (n = t.headers["X-ref"]) == null ? "" : n
|
|
579
|
+
});
|
|
580
|
+
}
|
|
581
|
+
localStorage.removeItem(t);
|
|
582
|
+
} catch (e) {
|
|
583
|
+
localStorage.removeItem(t), r.error("Failed to migrate old events.", String(e));
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
//#endregion
|
|
587
|
+
//#region src/tools/gtag.ts
|
|
588
|
+
var G = "G-78CKLYWFJK";
|
|
589
|
+
window.dataLayer = window.dataLayer || [];
|
|
590
|
+
function K(...e) {
|
|
591
|
+
var t, n;
|
|
592
|
+
((n = (t = window).dataLayer) == null ? t.dataLayer = [] : n).push(arguments);
|
|
593
|
+
}
|
|
594
|
+
var q = /*#__PURE__*/ function(e) {
|
|
595
|
+
return e.Load = "Load floor plan", e.ViewBooth = "View booth", e.ViewExhibitor = "View exhibitor", e.ViewCategory = "View category", e.Search = "Search", e.ClickCustomButton = "Click custom button", e.ViewVideo = "View video", e.ViewGallery = "View gallery", e.ClickPhone = "Click phone", e.ClickEmail = "Click email", e.ClickWebsite = "Click website", e.ClickFacebook = "Click Facebook", e.ClickInstagaram = "Click Instagram", e.ClickLinkedin = "Click Linkedin", e.ClickTwitter = "Click Twitter", e.ClickGooglePlus = "Click Google Plus", e.ClickXing = "Click Xing", e.ClickYoutube = "Click Youtube", e.ClickBookmark = "Click bookmark", e.ClickDirections = "Click Directions", e.Rendered = "Floor plan rendered", e.WsExhibitorClick = "ws_exhibitor_click", e;
|
|
596
|
+
}({});
|
|
597
|
+
async function ot() {
|
|
598
|
+
try {
|
|
599
|
+
let e = fetch("https://consent.expofp.com/api/verify-ip/is-in-gdpr"), t = new Promise((e) => {
|
|
600
|
+
setTimeout(() => {
|
|
601
|
+
e(null);
|
|
602
|
+
}, 5e3);
|
|
603
|
+
}), n = await Promise.race([e, t]);
|
|
604
|
+
return n instanceof Response && n.ok ? (await n.json()).result : null;
|
|
605
|
+
} catch (e) {
|
|
606
|
+
return console.error(e), null;
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
function st(e) {
|
|
610
|
+
if (e === "granted" || e === "denied") return e;
|
|
611
|
+
let t = document.cookie.split("; ").find((e) => e.startsWith("cookie_consent="));
|
|
612
|
+
if (t) return t === "cookie_consent=true" ? "granted" : "denied";
|
|
613
|
+
}
|
|
614
|
+
function ct(e) {
|
|
615
|
+
let t = 2592e3, n = i ? "localhost" : ".expofp.com";
|
|
616
|
+
document.cookie = `cookie_consent=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${n}`, document.cookie = "cookie_consent=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/", document.cookie = e ? `cookie_consent=${e}; max-age=${t}; domain=${n}; path=/` : `cookie_consent=${e}; max-age=${t}; path=/`;
|
|
617
|
+
}
|
|
618
|
+
function lt() {
|
|
619
|
+
let e = document.cookie.split(";"), t = i ? "localhost" : ".expofp.com";
|
|
620
|
+
for (let n = 0; n < e.length; n++) {
|
|
621
|
+
let r = e[n], i = r.indexOf("="), a = i > -1 ? r.substr(0, i).trim() : r.trim();
|
|
622
|
+
a.startsWith("_ga") && (document.cookie = `${a}=;expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${t}`);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
function ut(e) {
|
|
626
|
+
let t = st(e);
|
|
627
|
+
t && (t === "denied" ? (lt(), _.gtag && (window[`ga-disable-${_.gtag}`] = !0), window[`ga-disable-${G}`] = !0) : (_.gtag && (window[`ga-disable-${_.gtag}`] = !1), window[`ga-disable-${G}`] = !1), K("consent", "update", {
|
|
628
|
+
analytics_storage: t,
|
|
629
|
+
ad_personalization: t
|
|
630
|
+
}));
|
|
631
|
+
}
|
|
632
|
+
function dt(e, t, n) {
|
|
633
|
+
switch (e) {
|
|
634
|
+
case q.ViewBooth:
|
|
635
|
+
K("event", "select_content", {
|
|
636
|
+
content_type: e,
|
|
637
|
+
content_id: t
|
|
638
|
+
}), U("booview", t);
|
|
639
|
+
break;
|
|
640
|
+
case q.ViewCategory:
|
|
641
|
+
K("event", "select_content", {
|
|
642
|
+
content_type: e,
|
|
643
|
+
content_id: t
|
|
644
|
+
}), U("catview", t);
|
|
645
|
+
break;
|
|
646
|
+
case q.ViewExhibitor:
|
|
647
|
+
case q.ViewGallery:
|
|
648
|
+
case q.ViewVideo:
|
|
649
|
+
K("event", "select_content", {
|
|
650
|
+
content_type: e,
|
|
651
|
+
content_id: t
|
|
652
|
+
});
|
|
653
|
+
break;
|
|
654
|
+
case q.Search:
|
|
655
|
+
K("event", "search", { search_term: t }), U("search", t);
|
|
656
|
+
break;
|
|
657
|
+
case q.ClickCustomButton:
|
|
658
|
+
case q.ClickPhone:
|
|
659
|
+
case q.ClickEmail:
|
|
660
|
+
case q.ClickWebsite:
|
|
661
|
+
case q.ClickFacebook:
|
|
662
|
+
case q.ClickInstagaram:
|
|
663
|
+
case q.ClickLinkedin:
|
|
664
|
+
case q.ClickTwitter:
|
|
665
|
+
case q.ClickGooglePlus:
|
|
666
|
+
case q.ClickXing:
|
|
667
|
+
case q.ClickYoutube:
|
|
668
|
+
K("event", "share", {
|
|
669
|
+
content_type: e,
|
|
670
|
+
content_id: t
|
|
671
|
+
}), U("share", t);
|
|
672
|
+
break;
|
|
673
|
+
case q.ClickBookmark:
|
|
674
|
+
K("event", "share", {
|
|
675
|
+
content_type: q.ClickCustomButton,
|
|
676
|
+
content_id: t
|
|
677
|
+
});
|
|
678
|
+
break;
|
|
679
|
+
case q.ClickDirections:
|
|
680
|
+
K("event", "route", {
|
|
681
|
+
content_type: e,
|
|
682
|
+
content_id: t
|
|
683
|
+
}), U("route", t);
|
|
684
|
+
break;
|
|
685
|
+
default: K("event", e, {
|
|
686
|
+
content_type: n,
|
|
687
|
+
content_id: t
|
|
688
|
+
});
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
function ft(e, t) {
|
|
692
|
+
K("event", e, {
|
|
693
|
+
...t,
|
|
694
|
+
fp_key: v.EXPO
|
|
695
|
+
});
|
|
696
|
+
}
|
|
697
|
+
function pt(e) {
|
|
698
|
+
ft(q.WsExhibitorClick, {
|
|
699
|
+
exhibitor_id: e.id,
|
|
700
|
+
exhibitor_name: e.name,
|
|
701
|
+
exhibitor_external_id: e.externalId,
|
|
702
|
+
creative_slot: "ws_slider"
|
|
703
|
+
}), U("ws_exhibitor_click", e.id);
|
|
704
|
+
}
|
|
705
|
+
window.gtag = K;
|
|
706
|
+
function mt(e) {
|
|
707
|
+
let t = document.createElement("script");
|
|
708
|
+
t.type = "text/javascript", t.async = !0, t.src = `https://www.googletagmanager.com/gtag/js?id=${e}`;
|
|
709
|
+
let n = document.getElementsByTagName("script")[0];
|
|
710
|
+
return n != null && n.parentNode ? n.parentNode.insertBefore(t, n) : document.head.appendChild(t), t;
|
|
711
|
+
}
|
|
712
|
+
var ht;
|
|
713
|
+
function gt() {
|
|
714
|
+
if (ht || (ht = mt(G), K("js", /* @__PURE__ */ new Date())), _.gtag) {
|
|
715
|
+
let e = mt(_.gtag);
|
|
716
|
+
K("config", _.gtag, { fp_key: v.EXPO }), n(() => e.remove());
|
|
717
|
+
}
|
|
718
|
+
K("config", G, { fp_key: v.EXPO });
|
|
719
|
+
}
|
|
720
|
+
K("consent", "default", {
|
|
721
|
+
ad_storage: "denied",
|
|
722
|
+
analytics_storage: "denied",
|
|
723
|
+
region: /* @__PURE__ */ "BE.BG.CZ.DK.DE.EE.IE.EL.ES.FR.HR.IT.CY.LV.LT.LU.HU.MT.NL.AT.PL.PT.RO.SI.SK.FI.SE.UK.IS.NO.LI.CH.MK.AL.RS.TR".split("."),
|
|
724
|
+
functionality_storage: "denied",
|
|
725
|
+
personalization_storage: "denied",
|
|
726
|
+
security_storage: "denied",
|
|
727
|
+
ad_personalization: "denied"
|
|
728
|
+
});
|
|
729
|
+
//#endregion
|
|
730
|
+
//#region src/utils/calcSpeed.ts
|
|
731
|
+
var _t = 1.4, vt = 4.2;
|
|
732
|
+
function yt(e) {
|
|
733
|
+
var t;
|
|
734
|
+
return (e == null || (t = e.toLowerCase) == null ? void 0 : t.call(e).trim()) === "m" ? _t : vt;
|
|
735
|
+
}
|
|
736
|
+
//#endregion
|
|
737
|
+
//#region src/utils/calcTravelTime.ts
|
|
738
|
+
function bt(e, t) {
|
|
739
|
+
return Math.round(e / t);
|
|
740
|
+
}
|
|
741
|
+
//#endregion
|
|
742
|
+
//#region src/store/reveal-layer.ts
|
|
743
|
+
var xt = () => void 0;
|
|
744
|
+
function St({ layer: e, show: t, then: n }) {
|
|
745
|
+
return !e || e.visible ? (n(), xt) : (t(e), s(() => e.visible, n));
|
|
746
|
+
}
|
|
747
|
+
//#endregion
|
|
748
|
+
//#region src/store/RouteStore.ts
|
|
749
|
+
var Ct, wt, Tt, Et, J, Dt, Ot, kt, At, jt, Mt, Nt, Pt, Ft, It, Lt, Rt, zt, Bt, Vt, Ht;
|
|
750
|
+
function Y(e, t, n, r) {
|
|
751
|
+
n && Object.defineProperty(e, t, {
|
|
752
|
+
enumerable: n.enumerable,
|
|
753
|
+
configurable: n.configurable,
|
|
754
|
+
writable: n.writable,
|
|
755
|
+
value: n.initializer ? n.initializer.call(r) : void 0
|
|
756
|
+
});
|
|
757
|
+
}
|
|
758
|
+
function X(e, t, n, r, i) {
|
|
759
|
+
var a = {};
|
|
760
|
+
return Object.keys(r).forEach(function(e) {
|
|
761
|
+
a[e] = r[e];
|
|
762
|
+
}), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = n.slice().reverse().reduce(function(n, r) {
|
|
763
|
+
return r(e, t, n) || n;
|
|
764
|
+
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
765
|
+
}
|
|
766
|
+
function Z(e) {
|
|
767
|
+
return typeof e == "string" ? Number(e.replace(",", ".")) : e;
|
|
768
|
+
}
|
|
769
|
+
var Ut = (Ct = a({ keepAlive: !0 }), wt = a({ keepAlive: !0 }), Tt = a({ keepAlive: !0 }), Et = a({ keepAlive: !0 }), J = class {
|
|
770
|
+
constructor(e) {
|
|
771
|
+
this.rootStore = void 0, this.cpTimeout = void 0, Y(this, "routeLines", Dt, this), Y(this, "routeDistance", Ot, this), Y(this, "currentPosition", kt, this), Y(this, "requestCompass", At, this), Y(this, "iconType", jt, this), Y(this, "tempToBooth", Mt, this), Y(this, "focusEnabled", Nt, this), Y(this, "prevZ", Pt, this), Y(this, "markersData", Ft, this), Y(this, "prevMarkers", It, this), this.pendingReveal = null, Y(this, "showAccessible", Lt, this), Y(this, "onlyAccessible", Rt, this), Y(this, "currentRouteLayer", zt, this), Y(this, "currentRouteExhibitor", Bt, this), Y(this, "routeUnits", Vt, this), Y(this, "isGpsTrackingEnabled", Ht, this), this.rootStore = e, this.focusEnabled = !window.location.search;
|
|
772
|
+
}
|
|
773
|
+
get canFindLocation() {
|
|
774
|
+
return !!h.kioskData || !!this.currentPosition;
|
|
775
|
+
}
|
|
776
|
+
selectRoute(e, t = !0, n = !1) {
|
|
777
|
+
if (t && (h.list = {
|
|
778
|
+
type: "search",
|
|
779
|
+
text: "",
|
|
780
|
+
focused: !1
|
|
781
|
+
}), e && !e.from && e.to) {
|
|
782
|
+
let t = this.resolveFallbackFrom();
|
|
783
|
+
t && (e = new $(t, e.to, e.waypoints));
|
|
784
|
+
}
|
|
785
|
+
e != null && e.from && e != null && e.to && e.from === e.to && (e = null);
|
|
786
|
+
let r = [];
|
|
787
|
+
e != null && e.from && e != null && e.to && window.setTimeout(() => {
|
|
788
|
+
this.rootStore.showMap();
|
|
789
|
+
}, navigator.userAgent.toLowerCase().indexOf("android") > -1 ? 400 : 50), (e == null ? void 0 : e.from) instanceof C && e.from.visible && r.push(e.from), (e == null ? void 0 : e.to) instanceof C && e.to.visible && (this.tempToBooth = null, r.push(e.to)), !e && m.fp.onDirection && m.fp.onDirection(null);
|
|
790
|
+
let i = c(() => {
|
|
791
|
+
if (this.rootStore.moveToList(r), h.details = e, e && (!e.from || !e.to) && h.overlayBottom && (h.desiredOverlaySize = "medium"), e != null && e.to && e != null && e.from) {
|
|
792
|
+
let t = Wt(e.from);
|
|
793
|
+
t && this.rootStore.layerStore.updateVisibility(t, !0);
|
|
794
|
+
}
|
|
795
|
+
if (!this.currentRouteLayer) {
|
|
796
|
+
let t = Gt(this.rootStore.layerStore, e == null ? void 0 : e.from), n = Gt(this.rootStore.layerStore, e == null ? void 0 : e.to);
|
|
797
|
+
t ? this.currentRouteLayer = t : n && (this.currentRouteLayer = n);
|
|
798
|
+
}
|
|
799
|
+
t && e != null && e.from && e != null && e.to && dt(q.ClickDirections, `${e != null && e.from ? "From " + e.from.name : ""} ${e != null && e.to ? "To " + e.to.name : ""}`);
|
|
800
|
+
});
|
|
801
|
+
n ? i() : setTimeout(i, 200);
|
|
802
|
+
}
|
|
803
|
+
rebuildRouteFromPosition(e) {
|
|
804
|
+
let t = h.selectedRoute;
|
|
805
|
+
t != null && t.to && this.selectRoute(new $(e, t.to, t.waypoints), !1, !0);
|
|
806
|
+
}
|
|
807
|
+
resolveFallbackFrom() {
|
|
808
|
+
var e;
|
|
809
|
+
if (this.currentPosition) return ce(this.currentPosition, re, T);
|
|
810
|
+
let t = h.kioskData;
|
|
811
|
+
return t ? ce({
|
|
812
|
+
x: t.x,
|
|
813
|
+
y: t.y,
|
|
814
|
+
z: (e = t.z) == null ? void 0 : e
|
|
815
|
+
}, ue(), oe) : null;
|
|
816
|
+
}
|
|
817
|
+
setStartPoint(e) {
|
|
818
|
+
let t = h.selectedRoute;
|
|
819
|
+
if (t != null && t.to && !(t != null && t.from) && e) {
|
|
820
|
+
let n = new $(e, t.to, t.waypoints);
|
|
821
|
+
this.selectRoute(n);
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
get pathLayers() {
|
|
825
|
+
var e;
|
|
826
|
+
return (e = m.routeStore.routeLines) == null || (e = e.map((e) => e.p0.layer)) == null ? void 0 : e.filter((e, t, n) => n.indexOf(e) === t).map((e, t) => ({
|
|
827
|
+
id: t + 1,
|
|
828
|
+
layer: m.layerStore.findLayer(e)
|
|
829
|
+
}));
|
|
830
|
+
}
|
|
831
|
+
getNearestBooth(e) {
|
|
832
|
+
var t;
|
|
833
|
+
if (!e) return null;
|
|
834
|
+
let n = this.rootStore.layerStore.findLayer(e.z), r = (t = ie()) == null ? void 0 : t.properties.config, i = !!(e.lat && e.lng), a = r && i ? D(e, r) : e;
|
|
835
|
+
return !a || !O(a.x) || !O(a.y) ? null : this.rootStore.boothStore.booths.filter((t) => {
|
|
836
|
+
if (p.mode === w.Default || !n) return t.visible && t.rect;
|
|
837
|
+
var r;
|
|
838
|
+
return t.rect && (typeof e.z != "number" && !e.z && t.visible || n.name === ((r = t.layer) == null ? void 0 : r.name));
|
|
839
|
+
}).sort((e, t) => te(a, e.rect.center) - te(a, t.rect.center))[0] || null;
|
|
840
|
+
}
|
|
841
|
+
setMarkers(e) {
|
|
842
|
+
var t, n;
|
|
843
|
+
this.markersData.markers = ((t = e == null ? void 0 : e.markers) == null ? [] : t).map(Kt), this.markersData.icons = (n = e == null ? void 0 : e.icons) == null ? [] : n;
|
|
844
|
+
}
|
|
845
|
+
selectMarker(e, t) {
|
|
846
|
+
let n = this.markersData.markers.find((t) => t.id === e);
|
|
847
|
+
this.markersData.markers.forEach((e) => e.active = !1), n && (n.active = !0);
|
|
848
|
+
let i = m.layerStore.findLayer(n == null ? void 0 : n.z);
|
|
849
|
+
if (t && n) {
|
|
850
|
+
i && !(i != null && i.visible) && p.updateVisibility(i, !0);
|
|
851
|
+
let e = b();
|
|
852
|
+
return e ? e.api.panTo({
|
|
853
|
+
x: n.x,
|
|
854
|
+
y: n.y
|
|
855
|
+
}) : (r.warn("Map camera is not mounted. Cannot pan to marker."), Promise.resolve());
|
|
856
|
+
}
|
|
857
|
+
return Promise.resolve();
|
|
858
|
+
}
|
|
859
|
+
get selectedMarkers() {
|
|
860
|
+
return this.markersData.markers.filter((e) => e.active);
|
|
861
|
+
}
|
|
862
|
+
get layers() {
|
|
863
|
+
var e;
|
|
864
|
+
let t = [];
|
|
865
|
+
return (e = m.routeStore.routeLines) == null || e.map((e) => e.p0.layer).forEach((e) => {
|
|
866
|
+
t.indexOf(e) === -1 && t.push(e);
|
|
867
|
+
}), t.map((e) => m.layerStore.layers.find((t) => t.name === e)).filter((e) => !!e);
|
|
868
|
+
}
|
|
869
|
+
clickRoute(e, t) {
|
|
870
|
+
window.__resett && window.__resett(), this.rootStore.uiState.menu = !1, h.list.type === "route-planner" && (h.list = {
|
|
871
|
+
type: "search",
|
|
872
|
+
text: "",
|
|
873
|
+
focused: !1
|
|
874
|
+
}), this.selectRoute(new $(e, t));
|
|
875
|
+
}
|
|
876
|
+
selectCurrentPosition(e, t = !0, n) {
|
|
877
|
+
var r, i, a, o, s;
|
|
878
|
+
clearTimeout(this.cpTimeout), e && (e.x = Z(e.x), e.y = Z(e.y), e.lat !== void 0 && (e.lat = Z(e.lat)), e.lng !== void 0 && (e.lng = Z(e.lng)), x() || (e.z = void 0));
|
|
879
|
+
let c = t && this.rootStore.uiState.details && !(this.rootStore.uiState.details instanceof $), l = t && !c && (this.focusEnabled || this.prevZ != (e == null ? void 0 : e.z));
|
|
880
|
+
this.focusEnabled && (this.focusEnabled = !1), this.prevZ = (r = e == null || (i = e.z) == null ? void 0 : i.toString()) == null ? null : r, this.iconType = +!!n;
|
|
881
|
+
let u = e ? qt(e) : null;
|
|
882
|
+
if (!e || !u) {
|
|
883
|
+
this.currentPosition = null;
|
|
884
|
+
return;
|
|
885
|
+
}
|
|
886
|
+
let d = m.layerStore.findLayer(e.z), f = new Qt(u.x, u.y, (d == null ? void 0 : d.name) || ((a = this.currentRouteLayer) == null ? void 0 : a.name), E(u), e.lat, e.lng), p = !((o = this.routeLines) != null && o.length);
|
|
887
|
+
d && (s = this.routeLines) != null && s.length && (p = !!this.routeLines.find((e) => e.p0.layer === d.name || e.p1.layer === d.name));
|
|
888
|
+
let h = l && p;
|
|
889
|
+
this.currentPosition = f, h && this.focusOnPosition(f, d), this.gpsEnabled || (this.cpTimeout = setTimeout(() => {
|
|
890
|
+
this.currentPosition && this.selectCurrentPosition(null, !1);
|
|
891
|
+
}, 30 * 1e3));
|
|
892
|
+
}
|
|
893
|
+
findLocation() {
|
|
894
|
+
var e, t;
|
|
895
|
+
if (!this.canFindLocation) return;
|
|
896
|
+
let n = (e = this.currentPosition) == null ? h.kioskData : e;
|
|
897
|
+
n && (this.currentPosition && localStorage.getItem("efp-compass-permission-granted") === "false" && (m.routeStore.requestCompass = !0), (t = this.pendingReveal) == null || t.call(this), this.pendingReveal = St({
|
|
898
|
+
layer: m.layerStore.findLayer(n.z),
|
|
899
|
+
show: (e) => p.updateVisibility(e, !0),
|
|
900
|
+
then: () => {
|
|
901
|
+
h.moveToRect = this.findLocationRect(n);
|
|
902
|
+
}
|
|
903
|
+
}));
|
|
904
|
+
}
|
|
905
|
+
findLocationRect(e) {
|
|
906
|
+
let t = y.fromCenter(e, {
|
|
907
|
+
x: 100,
|
|
908
|
+
y: 100
|
|
909
|
+
}), n = S();
|
|
910
|
+
if (t.intersects(n)) return t;
|
|
911
|
+
let r = Math.max(n.min.x, Math.min(e.x, n.max.x)), i = Math.max(n.min.y, Math.min(e.y, n.max.y)), a = Math.min(n.size.width, n.size.height) * .3, o = y.fromCenter({
|
|
912
|
+
x: r,
|
|
913
|
+
y: i
|
|
914
|
+
}, {
|
|
915
|
+
x: a,
|
|
916
|
+
y: a
|
|
917
|
+
}).intersection(n);
|
|
918
|
+
return o ? y.fromUnion(t, o) : t;
|
|
919
|
+
}
|
|
920
|
+
focusOnPosition(e, t) {
|
|
921
|
+
var n;
|
|
922
|
+
(n = this.pendingReveal) == null || n.call(this), this.pendingReveal = St({
|
|
923
|
+
layer: t,
|
|
924
|
+
show: (e) => p.updateVisibility(e, !0),
|
|
925
|
+
then: () => {
|
|
926
|
+
if (m.maplibreStore.showMaplibre) {
|
|
927
|
+
h.moveToLocation = !0;
|
|
928
|
+
return;
|
|
929
|
+
}
|
|
930
|
+
let t = b();
|
|
931
|
+
if (t) {
|
|
932
|
+
t.api.panTo({
|
|
933
|
+
x: e.x,
|
|
934
|
+
y: e.y
|
|
935
|
+
});
|
|
936
|
+
return;
|
|
937
|
+
}
|
|
938
|
+
r.warn("Map camera is not mounted. Cannot pan to current position.");
|
|
939
|
+
}
|
|
940
|
+
});
|
|
941
|
+
}
|
|
942
|
+
get routeInfo() {
|
|
943
|
+
let e = this.routeDistance, t = this.routeUnits;
|
|
944
|
+
return e ? {
|
|
945
|
+
distance: `${e}${t}`,
|
|
946
|
+
units: t,
|
|
947
|
+
time: bt(e, yt(t))
|
|
948
|
+
} : null;
|
|
949
|
+
}
|
|
950
|
+
updateRoute(e, t) {
|
|
951
|
+
!(e != null && e.length) && !this.routeLines.length || (this.routeLines = e, this.updateRoutePoints());
|
|
952
|
+
}
|
|
953
|
+
updateRouteDistance(e) {
|
|
954
|
+
var t, n, r, i;
|
|
955
|
+
if (e == null) return;
|
|
956
|
+
let a = ne(), o = (t = (n = a.getAttribute("units") || "ft").toLowerCase) == null ? void 0 : t.call(n).trim(), s = (r = (i = a.getAttribute("fp-ver")) == null ? void 0 : i.startsWith("5")) != null && r;
|
|
957
|
+
this.routeDistance = Math.round(e / (s ? 1 : 10)), this.routeUnits = o, this.updateRoutePoints();
|
|
958
|
+
}
|
|
959
|
+
updateRoutePoints() {
|
|
960
|
+
let e = h.selectedRoute, t = this.routeDistance, n = this.routeUnits;
|
|
961
|
+
m.fp.onDirection && setTimeout(() => {
|
|
962
|
+
var r, i;
|
|
963
|
+
m.fp.onDirection({
|
|
964
|
+
from: Zt((r = e == null ? void 0 : e.from) == null ? null : r),
|
|
965
|
+
to: Zt((i = e == null ? void 0 : e.to) == null ? null : i),
|
|
966
|
+
lines: this.routeLines,
|
|
967
|
+
distance: t == null ? "" : `${t}${n}`,
|
|
968
|
+
units: n,
|
|
969
|
+
time: bt(t == null ? 0 : t, yt(n))
|
|
970
|
+
});
|
|
971
|
+
}, 200);
|
|
972
|
+
}
|
|
973
|
+
checkRoutes() {
|
|
974
|
+
if (!se()) {
|
|
975
|
+
console.warn("checkRoutes: wayfinding is not initialized — call createWayfinding() first. Skipping route check.");
|
|
976
|
+
return;
|
|
977
|
+
}
|
|
978
|
+
let e = m.boothStore.booths;
|
|
979
|
+
console.info(`Route check started ${e.length}.... `);
|
|
980
|
+
for (let t = 0; t < e.length; t++) {
|
|
981
|
+
let n = e[t];
|
|
982
|
+
for (let r = t + 1; r < e.length; r++) {
|
|
983
|
+
let t = e[r];
|
|
984
|
+
le(ae(n), ae(t)).lines.length || console.warn(`No route found from ${n.name} to ${t.name}`);
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
console.info("Route check done....");
|
|
988
|
+
}
|
|
989
|
+
setGpsTrackingEnabled(e) {
|
|
990
|
+
this.isGpsTrackingEnabled = e;
|
|
991
|
+
}
|
|
992
|
+
get gpsEnabled() {
|
|
993
|
+
return _.autoTrackingGps && this.isGpsTrackingEnabled && !_.enableIPS;
|
|
994
|
+
}
|
|
995
|
+
setOnlyAccessible(e) {
|
|
996
|
+
this.onlyAccessible = e;
|
|
997
|
+
}
|
|
998
|
+
}, Dt = X(J.prototype, "routeLines", [o], {
|
|
999
|
+
configurable: !0,
|
|
1000
|
+
enumerable: !0,
|
|
1001
|
+
writable: !0,
|
|
1002
|
+
initializer: function() {
|
|
1003
|
+
return [];
|
|
1004
|
+
}
|
|
1005
|
+
}), Ot = X(J.prototype, "routeDistance", [o], {
|
|
1006
|
+
configurable: !0,
|
|
1007
|
+
enumerable: !0,
|
|
1008
|
+
writable: !0,
|
|
1009
|
+
initializer: function() {
|
|
1010
|
+
return null;
|
|
1011
|
+
}
|
|
1012
|
+
}), kt = X(J.prototype, "currentPosition", [o], {
|
|
1013
|
+
configurable: !0,
|
|
1014
|
+
enumerable: !0,
|
|
1015
|
+
writable: !0,
|
|
1016
|
+
initializer: function() {
|
|
1017
|
+
return null;
|
|
1018
|
+
}
|
|
1019
|
+
}), At = X(J.prototype, "requestCompass", [o], {
|
|
1020
|
+
configurable: !0,
|
|
1021
|
+
enumerable: !0,
|
|
1022
|
+
writable: !0,
|
|
1023
|
+
initializer: function() {
|
|
1024
|
+
return !1;
|
|
1025
|
+
}
|
|
1026
|
+
}), jt = X(J.prototype, "iconType", [o], {
|
|
1027
|
+
configurable: !0,
|
|
1028
|
+
enumerable: !0,
|
|
1029
|
+
writable: !0,
|
|
1030
|
+
initializer: function() {
|
|
1031
|
+
return 0;
|
|
1032
|
+
}
|
|
1033
|
+
}), Mt = X(J.prototype, "tempToBooth", [o], {
|
|
1034
|
+
configurable: !0,
|
|
1035
|
+
enumerable: !0,
|
|
1036
|
+
writable: !0,
|
|
1037
|
+
initializer: function() {
|
|
1038
|
+
return null;
|
|
1039
|
+
}
|
|
1040
|
+
}), Nt = X(J.prototype, "focusEnabled", [o], {
|
|
1041
|
+
configurable: !0,
|
|
1042
|
+
enumerable: !0,
|
|
1043
|
+
writable: !0,
|
|
1044
|
+
initializer: function() {
|
|
1045
|
+
return !0;
|
|
1046
|
+
}
|
|
1047
|
+
}), Pt = X(J.prototype, "prevZ", [o], {
|
|
1048
|
+
configurable: !0,
|
|
1049
|
+
enumerable: !0,
|
|
1050
|
+
writable: !0,
|
|
1051
|
+
initializer: function() {
|
|
1052
|
+
return null;
|
|
1053
|
+
}
|
|
1054
|
+
}), Ft = X(J.prototype, "markersData", [o], {
|
|
1055
|
+
configurable: !0,
|
|
1056
|
+
enumerable: !0,
|
|
1057
|
+
writable: !0,
|
|
1058
|
+
initializer: function() {
|
|
1059
|
+
return {
|
|
1060
|
+
icons: [],
|
|
1061
|
+
markers: []
|
|
1062
|
+
};
|
|
1063
|
+
}
|
|
1064
|
+
}), It = X(J.prototype, "prevMarkers", [o], {
|
|
1065
|
+
configurable: !0,
|
|
1066
|
+
enumerable: !0,
|
|
1067
|
+
writable: !0,
|
|
1068
|
+
initializer: function() {
|
|
1069
|
+
return [];
|
|
1070
|
+
}
|
|
1071
|
+
}), Lt = X(J.prototype, "showAccessible", [o], {
|
|
1072
|
+
configurable: !0,
|
|
1073
|
+
enumerable: !0,
|
|
1074
|
+
writable: !0,
|
|
1075
|
+
initializer: function() {
|
|
1076
|
+
return !1;
|
|
1077
|
+
}
|
|
1078
|
+
}), Rt = X(J.prototype, "onlyAccessible", [o], {
|
|
1079
|
+
configurable: !0,
|
|
1080
|
+
enumerable: !0,
|
|
1081
|
+
writable: !0,
|
|
1082
|
+
initializer: function() {
|
|
1083
|
+
return !1;
|
|
1084
|
+
}
|
|
1085
|
+
}), zt = X(J.prototype, "currentRouteLayer", [o], {
|
|
1086
|
+
configurable: !0,
|
|
1087
|
+
enumerable: !0,
|
|
1088
|
+
writable: !0,
|
|
1089
|
+
initializer: function() {
|
|
1090
|
+
return null;
|
|
1091
|
+
}
|
|
1092
|
+
}), Bt = X(J.prototype, "currentRouteExhibitor", [o], {
|
|
1093
|
+
configurable: !0,
|
|
1094
|
+
enumerable: !0,
|
|
1095
|
+
writable: !0,
|
|
1096
|
+
initializer: function() {
|
|
1097
|
+
return null;
|
|
1098
|
+
}
|
|
1099
|
+
}), X(J.prototype, "canFindLocation", [a], Object.getOwnPropertyDescriptor(J.prototype, "canFindLocation"), J.prototype), X(J.prototype, "selectRoute", [c], Object.getOwnPropertyDescriptor(J.prototype, "selectRoute"), J.prototype), X(J.prototype, "rebuildRouteFromPosition", [c], Object.getOwnPropertyDescriptor(J.prototype, "rebuildRouteFromPosition"), J.prototype), X(J.prototype, "setStartPoint", [c], Object.getOwnPropertyDescriptor(J.prototype, "setStartPoint"), J.prototype), X(J.prototype, "pathLayers", [Ct], Object.getOwnPropertyDescriptor(J.prototype, "pathLayers"), J.prototype), X(J.prototype, "setMarkers", [c], Object.getOwnPropertyDescriptor(J.prototype, "setMarkers"), J.prototype), X(J.prototype, "selectMarker", [c], Object.getOwnPropertyDescriptor(J.prototype, "selectMarker"), J.prototype), X(J.prototype, "selectedMarkers", [wt], Object.getOwnPropertyDescriptor(J.prototype, "selectedMarkers"), J.prototype), X(J.prototype, "layers", [Tt], Object.getOwnPropertyDescriptor(J.prototype, "layers"), J.prototype), X(J.prototype, "clickRoute", [c], Object.getOwnPropertyDescriptor(J.prototype, "clickRoute"), J.prototype), X(J.prototype, "selectCurrentPosition", [c], Object.getOwnPropertyDescriptor(J.prototype, "selectCurrentPosition"), J.prototype), X(J.prototype, "findLocation", [c], Object.getOwnPropertyDescriptor(J.prototype, "findLocation"), J.prototype), Vt = X(J.prototype, "routeUnits", [o], {
|
|
1100
|
+
configurable: !0,
|
|
1101
|
+
enumerable: !0,
|
|
1102
|
+
writable: !0,
|
|
1103
|
+
initializer: function() {
|
|
1104
|
+
return "ft";
|
|
1105
|
+
}
|
|
1106
|
+
}), X(J.prototype, "routeInfo", [a], Object.getOwnPropertyDescriptor(J.prototype, "routeInfo"), J.prototype), X(J.prototype, "updateRoute", [c], Object.getOwnPropertyDescriptor(J.prototype, "updateRoute"), J.prototype), X(J.prototype, "updateRouteDistance", [c], Object.getOwnPropertyDescriptor(J.prototype, "updateRouteDistance"), J.prototype), X(J.prototype, "updateRoutePoints", [c], Object.getOwnPropertyDescriptor(J.prototype, "updateRoutePoints"), J.prototype), X(J.prototype, "checkRoutes", [c], Object.getOwnPropertyDescriptor(J.prototype, "checkRoutes"), J.prototype), Ht = X(J.prototype, "isGpsTrackingEnabled", [o], {
|
|
1107
|
+
configurable: !0,
|
|
1108
|
+
enumerable: !0,
|
|
1109
|
+
writable: !0,
|
|
1110
|
+
initializer: function() {
|
|
1111
|
+
return !0;
|
|
1112
|
+
}
|
|
1113
|
+
}), X(J.prototype, "setGpsTrackingEnabled", [c], Object.getOwnPropertyDescriptor(J.prototype, "setGpsTrackingEnabled"), J.prototype), X(J.prototype, "gpsEnabled", [Et], Object.getOwnPropertyDescriptor(J.prototype, "gpsEnabled"), J.prototype), X(J.prototype, "setOnlyAccessible", [c], Object.getOwnPropertyDescriptor(J.prototype, "setOnlyAccessible"), J.prototype), J);
|
|
1114
|
+
function Wt(e) {
|
|
1115
|
+
var t;
|
|
1116
|
+
if (e) return e instanceof C ? (t = e.layer) == null ? void 0 : t.name : e.layer;
|
|
1117
|
+
}
|
|
1118
|
+
function Gt(e, t) {
|
|
1119
|
+
var n;
|
|
1120
|
+
return t ? t instanceof C ? (n = t.layer) == null ? null : n : e.findLayer(t.layer) : null;
|
|
1121
|
+
}
|
|
1122
|
+
function Kt(e) {
|
|
1123
|
+
return {
|
|
1124
|
+
...e,
|
|
1125
|
+
x: Z(e.x),
|
|
1126
|
+
y: Z(e.y),
|
|
1127
|
+
lat: e.lat === void 0 ? void 0 : Z(e.lat),
|
|
1128
|
+
lng: e.lng === void 0 ? void 0 : Z(e.lng)
|
|
1129
|
+
};
|
|
1130
|
+
}
|
|
1131
|
+
function qt(e) {
|
|
1132
|
+
var t, n;
|
|
1133
|
+
let r = (t = (n = ie()) == null ? void 0 : n.properties.config) == null ? null : t, i = null;
|
|
1134
|
+
return r && ee({
|
|
1135
|
+
min: r.p0,
|
|
1136
|
+
max: r.p2
|
|
1137
|
+
}, e) ? i = { ...e } : r && O(e.lat) && O(e.lng) ? i = D(e, r) : r || (i = e), i || null;
|
|
1138
|
+
}
|
|
1139
|
+
function Q(e) {
|
|
1140
|
+
var t;
|
|
1141
|
+
return m.boothStore.findBooth(e) || ((t = m.exhibitorStore.findExhibitor(e)) == null ? void 0 : t.booths[0]);
|
|
1142
|
+
}
|
|
1143
|
+
function Jt(e) {
|
|
1144
|
+
let t = m.boothStore.boothByExternalId.get(e);
|
|
1145
|
+
if (t) return {
|
|
1146
|
+
type: "booth",
|
|
1147
|
+
entity: t
|
|
1148
|
+
};
|
|
1149
|
+
let n = m.exhibitorStore.exhibitorByExternalId.get(e);
|
|
1150
|
+
if (n) return {
|
|
1151
|
+
type: "exhibitor",
|
|
1152
|
+
entity: n
|
|
1153
|
+
};
|
|
1154
|
+
}
|
|
1155
|
+
function Yt(e) {
|
|
1156
|
+
let t = [], n = [];
|
|
1157
|
+
for (let r of e) {
|
|
1158
|
+
let e = Jt(r);
|
|
1159
|
+
e && (e.type === "booth" ? t.push(r) : n.push(r));
|
|
1160
|
+
}
|
|
1161
|
+
return {
|
|
1162
|
+
boothExternalIds: t,
|
|
1163
|
+
exhibitorExternalIds: n
|
|
1164
|
+
};
|
|
1165
|
+
}
|
|
1166
|
+
function Xt(e, t, n) {
|
|
1167
|
+
var r, i;
|
|
1168
|
+
return new $((r = Q(e)) == null ? null : r, (i = Q(t)) == null ? null : i, n == null ? void 0 : n.map((e) => Q(e)).filter((e) => !!e));
|
|
1169
|
+
}
|
|
1170
|
+
var $ = class {
|
|
1171
|
+
constructor(e, t, n) {
|
|
1172
|
+
this.from = e, this.to = t, this.waypoints = n;
|
|
1173
|
+
let r = e instanceof C ? e.id : void 0, i = t instanceof C ? t.id : void 0;
|
|
1174
|
+
this.waypoints = n == null ? void 0 : n.filter((e) => e && e.id !== r && e.id !== i);
|
|
1175
|
+
}
|
|
1176
|
+
};
|
|
1177
|
+
function Zt(e) {
|
|
1178
|
+
var t, n;
|
|
1179
|
+
return e ? e instanceof C ? {
|
|
1180
|
+
id: e.id,
|
|
1181
|
+
name: e.name,
|
|
1182
|
+
externalId: e.externalId,
|
|
1183
|
+
layer: {
|
|
1184
|
+
name: (t = e.layer) == null ? void 0 : t.name,
|
|
1185
|
+
description: (n = e.layer) == null ? void 0 : n.description
|
|
1186
|
+
}
|
|
1187
|
+
} : {
|
|
1188
|
+
id: 2 ** 53 - 1,
|
|
1189
|
+
name: e.name,
|
|
1190
|
+
externalId: void 0,
|
|
1191
|
+
layer: {
|
|
1192
|
+
name: e.layer,
|
|
1193
|
+
description: void 0
|
|
1194
|
+
}
|
|
1195
|
+
} : null;
|
|
1196
|
+
}
|
|
1197
|
+
var Qt = class {
|
|
1198
|
+
constructor(e, t, n, r, i, a) {
|
|
1199
|
+
this.x = e, this.y = t, this.z = n, this.angle = r, this.lat = i, this.lng = a;
|
|
1200
|
+
}
|
|
1201
|
+
};
|
|
1202
|
+
//#endregion
|
|
1203
|
+
export { Ne as C, Ie as S, k as T, pt as _, Q as a, Fe as b, bt as c, ot as d, st as f, ct as g, ut as h, Xt as i, yt as l, dt as m, $ as n, Jt as o, gt as p, Ut as r, Yt as s, Qt as t, q as u, U as v, Pe as w, ze as x, Me as y };
|