@expofp/floorplan 3.46.0 → 3.46.1

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.
Files changed (103) hide show
  1. package/dist/browser/{Button-CJtSs2s5.js → Button-OKcMiyWO.js} +5 -5
  2. package/dist/browser/{CookieConsent-C4fi9Tyh.js → CookieConsent-6ulFPlqA.js} +7 -7
  3. package/dist/browser/{Debug-Cd610X28.js → Debug-BxskUF4D.js} +7 -7
  4. package/dist/browser/{DebugTools-D9g4_7Cc.js → DebugTools-C1is5dXX.js} +6 -6
  5. package/dist/browser/{Demo-CryvOcgl.js → Demo-Dx8IKR7Q.js} +9 -9
  6. package/dist/browser/{Free-CJXdChTu.js → Free-BaIZnChc.js} +10 -10
  7. package/dist/browser/{GalleryContainer-DJEByROk.js → GalleryContainer-BXomiMwG.js} +11 -11
  8. package/dist/browser/{GpsLoader-DSsG-xT8.js → GpsLoader-Ccwug0hj.js} +14 -14
  9. package/dist/browser/{KioskStore-DOB-av5O.js → KioskStore-D_Ejv_K0.js} +13 -13
  10. package/dist/browser/{LayerStore-CRZuLMs5.js → LayerStore-DKg7vekG.js} +268 -249
  11. package/dist/browser/{MaplibreAdapter-C_5hoa-Y.js → MaplibreAdapter-Dh_ASXEG.js} +148 -148
  12. package/dist/browser/{ModalContainer-Ch8bqPHR.js → ModalContainer-DXN2lQG-.js} +10 -10
  13. package/dist/browser/{PermissionNotice-CiR8SfU0.js → PermissionNotice-CljwxHGD.js} +6 -6
  14. package/dist/browser/{RouteStore-D5yYhhPl.js → RouteStore-4r6xqu2L.js} +334 -319
  15. package/dist/browser/{SetKioskMode-PiwwpWpN.js → SetKioskMode-3YCa73LZ.js} +12 -12
  16. package/dist/browser/{ShowKiosk-uWNhreCd.js → ShowKiosk-CmozIEWm.js} +10 -10
  17. package/dist/browser/{UIState-Bi4-Ri9M.js → UIState-DOVwNW-h.js} +97 -97
  18. package/dist/browser/{ViewerMenuPanel-B3vtTFpG.js → ViewerMenuPanel-ukfCjPlv.js} +11 -11
  19. package/dist/browser/{add-debug-secret-listener-Db76vB7o.js → add-debug-secret-listener-DiW9122w.js} +1 -1
  20. package/dist/browser/{adopt-global-settings-67S2v_mo.js → adopt-global-settings-C8NxCufU.js} +9 -9
  21. package/dist/browser/{boolean-editor-B1nYYAEd.js → boolean-editor-DAUiSxaZ.js} +9 -9
  22. package/dist/browser/{bootIntercom-BQDnVlyT.js → bootIntercom-Cxu_tGyN.js} +2 -2
  23. package/dist/browser/bundle.json +87 -87
  24. package/dist/browser/{camera-events-dIlK_9kU.js → camera-events-BzkvmmVT.js} +1 -1
  25. package/dist/browser/{classnames-CnT6VKND.js → classnames-ht7j544T.js} +2 -2
  26. package/dist/browser/{client-iKoOfnTw.js → client-cb0OfXbM.js} +5 -5
  27. package/dist/browser/{components-CEmFE-HF.js → components-D1hWFJkH.js} +164 -164
  28. package/dist/browser/{create-live-plan-VYe8zgCt.js → create-live-plan-BYQmwyu_.js} +110 -110
  29. package/dist/browser/{debug-context-SM4t83oS.js → debug-context-D-Az5hsc.js} +6 -6
  30. package/dist/browser/{debug-overlay-BLs-zKon.js → debug-overlay-Cx_TzAOa.js} +10 -10
  31. package/dist/browser/{debug-ui-COzdQWZH.js → debug-ui-BWGZ29bU.js} +6 -6
  32. package/dist/browser/{dist-Dxs4B_bo.js → dist-CxdNXcdm.js} +6 -6
  33. package/dist/browser/{dist-B-cTdqLW.js → dist-DI0TDNHP.js} +5 -5
  34. package/dist/browser/{dist-C7DmTDRb.js → dist-TE6VoTiX.js} +3 -3
  35. package/dist/browser/{efp-debug-init-B_S1vuGu.js → efp-debug-init-pyajqRUx.js} +3 -3
  36. package/dist/browser/{enum-editor-CNXjKr2S.js → enum-editor-CtGMxTY9.js} +4 -4
  37. package/dist/browser/{es5-DXybUgTP.js → es5-CaaQfpSO.js} +2 -2
  38. package/dist/browser/{event-head-ClLbm9Br.js → event-head-BM-eM_Bb.js} +1 -1
  39. package/dist/browser/{event-not-found-DH79zTW9.js → event-not-found-B65hzXQP.js} +3 -3
  40. package/dist/browser/{event-scoped-cache-DpaRX7uc.js → event-scoped-cache-Dy_k6CT0.js} +2 -2
  41. package/dist/browser/{expofpUrl-n296mHS4.js → expofpUrl-CtHaWZhI.js} +1 -1
  42. package/dist/browser/{exports-lzdhlipZ.js → exports-B117IH-s.js} +1 -1
  43. package/dist/browser/{favicon-DIM65QuL.js → favicon-BZ8MgZoI.js} +1 -1
  44. package/dist/browser/{fetch-retry.umd-vSI4xMC_.js → fetch-retry.umd-CZoakvnh.js} +2 -2
  45. package/dist/browser/{flex-BAVIARsK.js → flex-DqZnQXWR.js} +5 -5
  46. package/dist/browser/{floorplan.loader-eMUdl6jt.js → floorplan.loader-Dj1p_2Uj.js} +12 -12
  47. package/dist/browser/{floorplan.ready-1Txw5bTb.js → floorplan.ready-DV6RYY5y.js} +265 -239
  48. package/dist/browser/{framing-rect-BTpvle_p.js → framing-rect-BPQPxCHJ.js} +426 -351
  49. package/dist/browser/{freeBanner-F3TTYS8Q.js → freeBanner-CV-7PVgM.js} +2 -2
  50. package/dist/browser/{fuse-CaTg1KbU.js → fuse-o5_aSzm4.js} +2 -2
  51. package/dist/browser/{i18n-C_4TK-u4.js → i18n-DT4SjeA3.js} +6 -6
  52. package/dist/browser/index.js +17 -17
  53. package/dist/browser/{index.module-DRBCPeTj.js → index.module-AwGISzVZ.js} +4 -4
  54. package/dist/browser/{init-ui-BYGB5Nye.js → init-ui-_JZLWvuF.js} +19 -19
  55. package/dist/browser/{integrateKiosk-BYXxa3GA.js → integrateKiosk-LP784XEO.js} +6 -6
  56. package/dist/browser/{is-debug-D3IYeseH.js → is-debug-sgFB2_R1.js} +4 -4
  57. package/dist/browser/{is-own-domain-Sd0Gyaz6.js → is-own-domain-Cgslc30X.js} +1 -1
  58. package/dist/browser/{is-webview-DkUEFd5j.js → is-webview-Cbjly4fl.js} +1 -1
  59. package/dist/browser/{jsx-runtime-Z0-uGdH1.js → jsx-runtime-DJq9zytl.js} +2 -2
  60. package/dist/browser/{kiosk-mode-D9JdlNtc.js → kiosk-mode-D0Muk9LN.js} +3 -3
  61. package/dist/browser/{kiosk-record-U7MDU1j1.js → kiosk-record-QLKP2NTE.js} +1 -1
  62. package/dist/browser/{kioskApi-CZmWdnyx.js → kioskApi-Cm0aHEDq.js} +7 -7
  63. package/dist/browser/{ktx2-DBt1EdxU.js → ktx2-D9vr5u5B.js} +2 -2
  64. package/dist/browser/{lib-Bpc7qOXg.js → lib-Cu-YSKSO.js} +3 -3
  65. package/dist/browser/{loadImage-Dy1_5knL.js → loadImage-DC3BioQw.js} +1 -1
  66. package/dist/browser/{logDeviceInfo-DFiuu0JW.js → logDeviceInfo-U-dghNEE.js} +9 -9
  67. package/dist/browser/{mobx-NvAhKUmy.js → mobx-B3ugy_Uo.js} +4 -4
  68. package/dist/browser/{mobx.module-Bv5V3v5d.js → mobx.module-C9pJfT4z.js} +1 -1
  69. package/dist/browser/{optional-boolean-editor-BEOwiXCN.js → optional-boolean-editor-B6peoFdP.js} +3 -3
  70. package/dist/browser/{optional-enum-editor-C6KjlpRA.js → optional-enum-editor-DdGc6bGo.js} +4 -4
  71. package/dist/browser/{optional-string-editor-CFrCSmMd.js → optional-string-editor-D-mZ5TcA.js} +4 -4
  72. package/dist/browser/{particles.min-C2A0DA4i.js → particles.min-r05NeIIO.js} +2 -2
  73. package/dist/browser/{react-CabZjr3N.js → react-CAiPe_Qk.js} +2 -2
  74. package/dist/browser/{react-dom-RP6YFh3Z.js → react-dom-B-n3e4uH.js} +3 -3
  75. package/dist/browser/{rolldown-runtime-fogUk23q.js → rolldown-runtime-BkAGFH-3.js} +1 -1
  76. package/dist/browser/{scene-DuvbPaPD.js → scene-DBB57-1M.js} +10 -10
  77. package/dist/browser/{scheduler-k2rbX-LJ.js → scheduler-Btu7810I.js} +2 -2
  78. package/dist/browser/{select-DDC9fvlH.js → select-1x7gpaD6.js} +10 -10
  79. package/dist/browser/{settings-BozBuwXD.js → settings-Clb327Gp.js} +2 -2
  80. package/dist/browser/{settings-item-D4rlEKz6.js → settings-item-9ehuHN7w.js} +6 -6
  81. package/dist/browser/{store-CbRrBMLs.js → store-B618He5O.js} +2 -2
  82. package/dist/browser/{string-editor-CExhbakJ.js → string-editor-zH6d37oA.js} +4 -4
  83. package/dist/browser/{text-field-BV3Vp6cI.js → text-field-hTc5zeaz.js} +5 -5
  84. package/dist/browser/{theme-E8keDBEa.js → theme-rkMDBBl_.js} +8 -8
  85. package/dist/browser/{three.core-C_nLFu2C.js → three.core-CoaBWF0W.js} +1 -1
  86. package/dist/browser/{ui-CgHs1m5h.js → ui-d7u7XbmX.js} +8 -8
  87. package/dist/browser/{useRenderTarget-D7wRx7QW.js → useRenderTarget-Dsf3ugHo.js} +4 -4
  88. package/dist/browser/{viewport-BH6xyD06.js → viewport-BDI0afn8.js} +3 -3
  89. package/dist/browser/{wayfinding-BiZuXF9Q.js → wayfinding-BkpHRhUO.js} +516 -510
  90. package/dist/esm/components/Map/drawing/config/booth-badge-anchor.d.ts +57 -5
  91. package/dist/esm/components/Map/drawing/config/booth-badge-anchor.js +1 -1
  92. package/dist/esm/components/Map/drawing/config/booth-fill-color.d.ts +16 -0
  93. package/dist/esm/components/Map/drawing/config/booth-fill-color.js +1 -0
  94. package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
  95. package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
  96. package/dist/esm/floorplan.ready.js +1 -1
  97. package/dist/esm/store/RootStore.js +1 -1
  98. package/dist/esm/store/RouteStore.d.ts +9 -1
  99. package/dist/esm/store/RouteStore.js +1 -1
  100. package/dist/esm/test/store-harness.js +1 -1
  101. package/dist/esm/utils/gps.d.ts +5 -1
  102. package/dist/esm/utils/gps.js +1 -1
  103. package/package.json +10 -10
@@ -1,45 +1,45 @@
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.46.0" };
4
+ e.SENTRY_RELEASE = { id: "3.46.1" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3f3842f1-709f-4cd7-8248-b4f5d75f2399", e._sentryDebugIdIdentifier = "sentry-dbid-3f3842f1-709f-4cd7-8248-b4f5d75f2399");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "be9e3bba-ce8c-4c30-99f1-a9aaf8f6aec4", e._sentryDebugIdIdentifier = "sentry-dbid-be9e3bba-ce8c-4c30-99f1-a9aaf8f6aec4");
7
7
  } catch {}
8
8
  })();
9
- import { Ot as e, X as t } from "./i18n-C_4TK-u4.js";
10
- import { a as n, o as r, t as i } from "./is-debug-D3IYeseH.js";
11
- import { a, c as o, h as s, n as c } from "./mobx.module-Bv5V3v5d.js";
12
- import { c as l, o as u, r as d, t as f } from "./kioskApi-CZmWdnyx.js";
13
- import { a as p, l as m, u as h } from "./store-CbRrBMLs.js";
14
- import { n as g } from "./event-scoped-cache-DpaRX7uc.js";
15
- import { $ as _, $t as v, Bt as y, Ht as ee, Qt as b, Vt as x, Yt as S, in as te, qt as C, r as w, zt as ne } from "./LayerStore-CRZuLMs5.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-BiZuXF9Q.js";
9
+ import { Ot as e, X as t } from "./i18n-DT4SjeA3.js";
10
+ import { a as n, o as r, t as i } from "./is-debug-sgFB2_R1.js";
11
+ import { a, c as o, h as s, i as c, n as l } from "./mobx.module-C9pJfT4z.js";
12
+ import { c as u, o as d, r as f, t as p } from "./kioskApi-Cm0aHEDq.js";
13
+ import { a as m, l as h, u as g } from "./store-B618He5O.js";
14
+ import { n as _ } from "./event-scoped-cache-Dy_k6CT0.js";
15
+ import { $t as v, Bt as y, Ht as ee, Jt as b, Ut as x, Vt as S, Xt as te, an as C, en as w, et as T, r as ne } from "./LayerStore-DKg7vekG.js";
16
+ import { a as E, c as D, d as O, f as re, g as k, h as A, i as ie, o as ae, r as oe, s as se, t as ce, v as le } from "./wayfinding-BkpHRhUO.js";
17
17
  //#region src/components/Kiosk/SetKiosk/getName.ts
18
- var ue = () => u;
18
+ var ue = () => d;
19
19
  //#endregion
20
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) {
21
+ function j() {
22
+ return j = Object.assign ? Object.assign.bind() : function(e) {
23
23
  for (var t = 1; t < arguments.length; t++) {
24
24
  var n = arguments[t];
25
25
  for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
26
26
  }
27
27
  return e;
28
- }, k.apply(null, arguments);
28
+ }, j.apply(null, arguments);
29
29
  }
30
30
  //#endregion
31
31
  //#region ../../node_modules/.pnpm/resolve-pathname@3.0.0/node_modules/resolve-pathname/esm/resolve-pathname.js
32
- function A(e) {
32
+ function M(e) {
33
33
  return e.charAt(0) === "/";
34
34
  }
35
- function j(e, t) {
35
+ function de(e, t) {
36
36
  for (var n = t, r = n + 1, i = e.length; r < i; n += 1, r += 1) e[n] = e[r];
37
37
  e.pop();
38
38
  }
39
- function de(e, t) {
39
+ function fe(e, t) {
40
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 "/";
41
+ var n = e && e.split("/") || [], r = t && t.split("/") || [], i = e && M(e), a = t && M(t), o = i || a;
42
+ if (e && M(e) ? r = n : n.length && (r.pop(), r = r.concat(n)), !r.length) return "/";
43
43
  var s;
44
44
  if (r.length) {
45
45
  var c = r[r.length - 1];
@@ -47,34 +47,34 @@ function de(e, t) {
47
47
  } else s = !1;
48
48
  for (var l = 0, u = r.length; u >= 0; u--) {
49
49
  var d = r[u];
50
- d === "." ? j(r, u) : d === ".." ? (j(r, u), l++) : l && (j(r, u), l--);
50
+ d === "." ? de(r, u) : d === ".." ? (de(r, u), l++) : l && (de(r, u), l--);
51
51
  }
52
52
  if (!o) for (; l--;) r.unshift("..");
53
- o && r[0] !== "" && (!r[0] || !A(r[0])) && r.unshift("");
53
+ o && r[0] !== "" && (!r[0] || !M(r[0])) && r.unshift("");
54
54
  var f = r.join("/");
55
55
  return s && f.substr(-1) !== "/" && (f += "/"), f;
56
56
  }
57
57
  //#endregion
58
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);
59
+ var pe = "Invariant failed";
60
+ function me(e, t) {
61
+ if (!e) throw Error(pe);
62
62
  }
63
63
  //#endregion
64
64
  //#region ../../node_modules/.pnpm/history@4.10.1/node_modules/history/esm/history.js
65
- function me(e) {
65
+ function he(e) {
66
66
  return e.charAt(0) === "/" ? e : "/" + e;
67
67
  }
68
- function he(e, t) {
68
+ function ge(e, t) {
69
69
  return e.toLowerCase().indexOf(t.toLowerCase()) === 0 && "/?#".indexOf(e.charAt(t.length)) !== -1;
70
70
  }
71
- function ge(e, t) {
72
- return he(e, t) ? e.substr(t.length) : e;
71
+ function _e(e, t) {
72
+ return ge(e, t) ? e.substr(t.length) : e;
73
73
  }
74
- function _e(e) {
74
+ function ve(e) {
75
75
  return e.charAt(e.length - 1) === "/" ? e.slice(0, -1) : e;
76
76
  }
77
- function ve(e) {
77
+ function ye(e) {
78
78
  var t = e || "/", n = "", r = "", i = t.indexOf("#");
79
79
  i !== -1 && (r = t.substr(i), t = t.substr(0, i));
80
80
  var a = t.indexOf("?");
@@ -84,21 +84,21 @@ function ve(e) {
84
84
  hash: r === "#" ? "" : r
85
85
  };
86
86
  }
87
- function ye(e) {
87
+ function be(e) {
88
88
  var t = e.pathname, n = e.search, r = e.hash, i = t || "/";
89
89
  return n && n !== "?" && (i += n.charAt(0) === "?" ? n : "?" + n), r && r !== "#" && (i += r.charAt(0) === "#" ? r : "#" + r), i;
90
90
  }
91
- function M(e, t, n, r) {
91
+ function xe(e, t, n, r) {
92
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));
93
+ typeof e == "string" ? (i = ye(e), i.state = t) : (i = j({}, 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
94
  try {
95
95
  i.pathname = decodeURI(i.pathname);
96
96
  } catch (e) {
97
97
  throw e instanceof URIError ? URIError("Pathname \"" + i.pathname + "\" could not be decoded. This is likely caused by an invalid percent-encoding.") : e;
98
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;
99
+ return n && (i.key = n), r ? i.pathname ? i.pathname.charAt(0) !== "/" && (i.pathname = fe(i.pathname, r.pathname)) : i.pathname = r.pathname : i.pathname || (i.pathname = "/"), i;
100
100
  }
101
- function be() {
101
+ function Se() {
102
102
  var e = null;
103
103
  function t(t) {
104
104
  return e = t, function() {
@@ -136,47 +136,47 @@ function be() {
136
136
  notifyListeners: a
137
137
  };
138
138
  }
139
- var xe = !!(typeof window < "u" && window.document && window.document.createElement);
140
- function Se(e, t) {
139
+ var Ce = !!(typeof window < "u" && window.document && window.document.createElement);
140
+ function we(e, t) {
141
141
  t(window.confirm(e));
142
142
  }
143
- function Ce() {
143
+ function Te() {
144
144
  var e = window.navigator.userAgent;
145
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
146
  }
147
- function we() {
147
+ function Ee() {
148
148
  return window.navigator.userAgent.indexOf("Trident") === -1;
149
149
  }
150
- function Te(e) {
150
+ function De(e) {
151
151
  return e.state === void 0 && navigator.userAgent.indexOf("CriOS") === -1;
152
152
  }
153
- var Ee = "popstate", De = "hashchange";
154
- function Oe() {
153
+ var Oe = "popstate", ke = "hashchange";
154
+ function Ae() {
155
155
  try {
156
156
  return window.history.state || {};
157
157
  } catch {
158
158
  return {};
159
159
  }
160
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)) : "";
161
+ function je(e) {
162
+ e === void 0 && (e = {}), !Ce && me(!1);
163
+ var t = window.history, n = Te(), r = !Ee(), i = e, a = i.forceRefresh, o = a !== void 0 && a, s = i.getUserConfirmation, c = s === void 0 ? we : s, l = i.keyLength, u = l === void 0 ? 6 : l, d = e.basename ? ve(he(e.basename)) : "";
164
164
  function f(e) {
165
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);
166
+ return d && (c = _e(c, d)), xe(c, r, n);
167
167
  }
168
168
  function p() {
169
169
  return Math.random().toString(36).substr(2, u);
170
170
  }
171
- var m = be();
171
+ var m = Se();
172
172
  function h(e) {
173
- k(O, e), O.length = t.length, m.notifyListeners(O.location, O.action);
173
+ j(A, e), A.length = t.length, m.notifyListeners(A.location, A.action);
174
174
  }
175
175
  function g(e) {
176
- Te(e) || y(f(e.state));
176
+ De(e) || y(f(e.state));
177
177
  }
178
178
  function _() {
179
- y(f(Oe()));
179
+ y(f(Ae()));
180
180
  }
181
181
  var v = !1;
182
182
  function y(e) {
@@ -192,19 +192,19 @@ function ke(e) {
192
192
  }
193
193
  }
194
194
  function ee(e) {
195
- var t = O.location, n = x.indexOf(t.key);
195
+ var t = A.location, n = x.indexOf(t.key);
196
196
  n === -1 && (n = 0);
197
197
  var r = x.indexOf(e.key);
198
198
  r === -1 && (r = 0);
199
199
  var i = n - r;
200
200
  i && (v = !0, w(i));
201
201
  }
202
- var b = f(Oe()), x = [b.key];
202
+ var b = f(Ae()), x = [b.key];
203
203
  function S(e) {
204
- return d + ye(e);
204
+ return d + be(e);
205
205
  }
206
206
  function te(e, r) {
207
- var i = "PUSH", a = M(e, r, p(), O.location);
207
+ var i = "PUSH", a = xe(e, r, p(), A.location);
208
208
  m.confirmTransitionTo(a, i, c, function(e) {
209
209
  if (e) {
210
210
  var r = S(a), s = a.key, c = a.state;
@@ -213,7 +213,7 @@ function ke(e) {
213
213
  state: c
214
214
  }, null, r), o) window.location.href = r;
215
215
  else {
216
- var l = x.indexOf(O.location.key), u = x.slice(0, l + 1);
216
+ var l = x.indexOf(A.location.key), u = x.slice(0, l + 1);
217
217
  u.push(a.key), x = u, h({
218
218
  action: i,
219
219
  location: a
@@ -224,7 +224,7 @@ function ke(e) {
224
224
  });
225
225
  }
226
226
  function C(e, r) {
227
- var i = "REPLACE", a = M(e, r, p(), O.location);
227
+ var i = "REPLACE", a = xe(e, r, p(), A.location);
228
228
  m.confirmTransitionTo(a, i, c, function(e) {
229
229
  if (e) {
230
230
  var r = S(a), s = a.key, c = a.state;
@@ -233,7 +233,7 @@ function ke(e) {
233
233
  state: c
234
234
  }, null, r), o) window.location.replace(r);
235
235
  else {
236
- var l = x.indexOf(O.location.key);
236
+ var l = x.indexOf(A.location.key);
237
237
  l !== -1 && (x[l] = a.key), h({
238
238
  action: i,
239
239
  location: a
@@ -246,31 +246,31 @@ function ke(e) {
246
246
  function w(e) {
247
247
  t.go(e);
248
248
  }
249
- function ne() {
249
+ function T() {
250
250
  w(-1);
251
251
  }
252
- function re() {
252
+ function ne() {
253
253
  w(1);
254
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, _));
255
+ var E = 0;
256
+ function D(e) {
257
+ E += e, E === 1 && e === 1 ? (window.addEventListener(Oe, g), r && window.addEventListener(ke, _)) : E === 0 && (window.removeEventListener(Oe, g), r && window.removeEventListener(ke, _));
258
258
  }
259
- var D = !1;
260
- function ie(e) {
259
+ var O = !1;
260
+ function re(e) {
261
261
  e === void 0 && (e = !1);
262
262
  var t = m.setPrompt(e);
263
- return D || (E(1), D = !0), function() {
264
- return D && (D = !1, E(-1)), t();
263
+ return O || (D(1), O = !0), function() {
264
+ return O && (O = !1, D(-1)), t();
265
265
  };
266
266
  }
267
- function ae(e) {
267
+ function k(e) {
268
268
  var t = m.appendListener(e);
269
- return E(1), function() {
270
- E(-1), t();
269
+ return D(1), function() {
270
+ D(-1), t();
271
271
  };
272
272
  }
273
- var O = {
273
+ var A = {
274
274
  length: t.length,
275
275
  action: "POP",
276
276
  location: b,
@@ -278,63 +278,63 @@ function ke(e) {
278
278
  push: te,
279
279
  replace: C,
280
280
  go: w,
281
- goBack: ne,
282
- goForward: re,
283
- block: ie,
284
- listen: ae
281
+ goBack: T,
282
+ goForward: ne,
283
+ block: re,
284
+ listen: k
285
285
  };
286
- return O;
286
+ return A;
287
287
  }
288
288
  //#endregion
289
289
  //#region src/services/url-sync.ts
290
- var N = ke();
290
+ var N = je();
291
291
  function P() {
292
292
  return window.location.pathname;
293
293
  }
294
- var F = g(() => []), I = "", L = !1, R = !1, z = 0, B = () => void 0, V;
295
- function Ae() {
294
+ var F = _(() => []), I = "", L = !1, R = !1, Me = 0, z = () => void 0, B;
295
+ function Ne() {
296
296
  return F();
297
297
  }
298
- function je(e) {
298
+ function Pe(e) {
299
299
  if (!I) return P() + e;
300
300
  let n = t(e).search, r = n === "?" ? "" : n;
301
301
  return P() + (r ? `${r}&${I}` : `?${I}`);
302
302
  }
303
- function Me() {
303
+ function Fe() {
304
304
  return t(N.location.search).search;
305
305
  }
306
- function Ne(e) {
307
- !L && !R && N.push(je(e));
306
+ function Ie(e) {
307
+ !L && !R && N.push(Pe(e));
308
308
  }
309
- function Pe(e) {
310
- return L || R ? !1 : (N.replace(je(e)), !0);
309
+ function Le(e) {
310
+ return L || R ? !1 : (N.replace(Pe(e)), !0);
311
311
  }
312
- function Fe() {
313
- n(Le), L = !0;
312
+ function Re() {
313
+ n(Be), L = !0;
314
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;
315
+ function ze(e) {
316
+ n(Be), L || (L = e.offHistory), z = e.onNavigate, I = t(N.location.search).platform, L || F().push(P() + N.location.search), B = N.listen((e, t) => {
317
+ if (V(), L) return;
318
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();
319
+ n[n.length - 1] !== i && n.push(i), r.log("history", t, e), t === "POP" && z();
320
320
  });
321
321
  }
322
- function Le() {
323
- L = !1, I = "", B = () => void 0, F().length = 0, Re(), V == null || V(), V = void 0;
322
+ function Be() {
323
+ L = !1, I = "", z = () => void 0, F().length = 0, V(), B == null || B(), B = void 0;
324
324
  }
325
- function Re() {
326
- R = !1, window.clearTimeout(z);
325
+ function V() {
326
+ R = !1, window.clearTimeout(Me);
327
327
  }
328
- function ze() {
329
- R = !0, window.clearTimeout(z), z = window.setTimeout(Re, 1e3), N.goBack();
328
+ function Ve() {
329
+ R = !0, window.clearTimeout(Me), Me = window.setTimeout(V, 1e3), N.goBack();
330
330
  }
331
331
  //#endregion
332
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;
333
+ var He = "efp-telemetry", Ue = 300 * 1e3, We = 1e3, Ge = 63e3;
334
+ function Ke(e) {
335
+ return e ? `${He}:${e}` : He;
336
336
  }
337
- function Ge(e = Be) {
337
+ function qe(e = He) {
338
338
  return {
339
339
  get() {
340
340
  try {
@@ -360,19 +360,19 @@ function Ge(e = Be) {
360
360
  }
361
361
  };
362
362
  }
363
- function Ke(e, t) {
363
+ function Je(e, t) {
364
364
  if (!t) return e;
365
365
  let n = e.indexOf("#"), r = n === -1 ? e : e.slice(0, n), i = n === -1 ? "" : e.slice(n), a = "?";
366
366
  return r.includes("?") && (a = r.endsWith("?") || r.endsWith("&") ? "" : "&"), `${r}${a}expo=${encodeURIComponent(t)}${i}`;
367
367
  }
368
- function qe(e) {
368
+ function Ye(e) {
369
369
  let t = new TextEncoder(), n = [], r = t.encode(JSON.stringify({
370
370
  ...e,
371
371
  items: []
372
372
  })).byteLength;
373
373
  for (let i of e.items) {
374
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;
375
+ if (n.length > 0 && r + a > Ge) break;
376
376
  r += a, n.push(i);
377
377
  }
378
378
  let i = n.length === e.items.length ? e : {
@@ -385,13 +385,13 @@ function qe(e) {
385
385
  bytes: r
386
386
  };
387
387
  }
388
- function Je(e) {
388
+ function Xe(e) {
389
389
  return e >= 400 && e < 500 && e !== 408 && e !== 429;
390
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));
391
+ function Ze(e) {
392
+ return e.length <= We ? e : (console.warn(`Telemetry queue full: dropping ${e.length - We} oldest events`), e.slice(-1e3));
393
393
  }
394
- function Xe(e) {
394
+ function Qe(e) {
395
395
  let t = e.headers.get("Retry-After");
396
396
  if (!t) return 0;
397
397
  let n = 0, r = Number(t);
@@ -400,11 +400,11 @@ function Xe(e) {
400
400
  let e = Date.parse(t);
401
401
  isNaN(e) || (n = Math.max(0, e - Date.now()));
402
402
  }
403
- return Math.min(n, Ve);
403
+ return Math.min(n, Ue);
404
404
  }
405
- function Ze(e) {
405
+ function $e(e) {
406
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;
407
+ let { url: n, expo: r, expoId: i, storage: a = qe(Ke(r)) } = e, o = Je(n, r), s = (t = e.kioskId) == null ? "" : t;
408
408
  function c() {
409
409
  let e = a.get();
410
410
  return e ? (e.expo = r, e.expoId = i, e.kioskId = s, e) : {
@@ -433,22 +433,22 @@ function Ze(e) {
433
433
  for (; t > 0;) {
434
434
  let n = c();
435
435
  if (n.items.length === 0) break;
436
- let { payload: r, body: i, bytes: a } = qe(n), s = r.items.length;
436
+ let { payload: r, body: i, bytes: a } = Ye(n), s = r.items.length;
437
437
  m(n, n.items.slice(s)), e = r.items, t -= s;
438
438
  let l = await fetch(o, {
439
439
  method: "POST",
440
440
  body: i,
441
441
  headers: { "Content-Type": "application/json" },
442
442
  credentials: "omit",
443
- keepalive: a <= Ue
443
+ keepalive: a <= Ge
444
444
  });
445
445
  if (await l.text().catch(() => void 0), e = null, !l.ok) {
446
- if (Je(l.status)) {
446
+ if (Xe(l.status)) {
447
447
  console.error(`Telemetry batch refused by the endpoint: HTTP ${l.status} (dropped: ${s})`);
448
448
  continue;
449
449
  }
450
450
  if (l.status === 429 || l.status === 503) {
451
- let e = Xe(l);
451
+ let e = Qe(l);
452
452
  e > 0 && (f = performance.now() + e);
453
453
  }
454
454
  h(r.items), console.error(`Failed to send telemetry: HTTP ${l.status} (requeued: ${s})`);
@@ -472,11 +472,11 @@ function Ze(e) {
472
472
  function h(e) {
473
473
  if (e.length === 0) return;
474
474
  let t = c();
475
- m(t, Ye([...e, ...t.items]));
475
+ m(t, Ze([...e, ...t.items]));
476
476
  }
477
477
  function g(e) {
478
478
  let t = c();
479
- t.items.push(e), m(t, Ye(t.items));
479
+ t.items.push(e), m(t, Ze(t.items));
480
480
  }
481
481
  async function _(e) {
482
482
  g(e), await p();
@@ -490,10 +490,10 @@ function Ze(e) {
490
490
  }
491
491
  //#endregion
492
492
  //#region src/tools/track-event.ts
493
- var H, Qe;
494
- function $e() {
493
+ var H, et;
494
+ function tt() {
495
495
  let t = window.__efpEvent;
496
- if (H && Qe === t) return H;
496
+ if (H && et === t) return H;
497
497
  H == null || H.flush();
498
498
  let i;
499
499
  try {
@@ -503,14 +503,14 @@ function $e() {
503
503
  } catch (e) {
504
504
  r.error(e);
505
505
  }
506
- return H = Ze({
506
+ return H = $e({
507
507
  url: "https://app.expofp.com/api/telemetry",
508
508
  expo: t,
509
509
  expoId: i
510
- }), Qe = t, n(it), H;
510
+ }), et = t, n(at), H;
511
511
  }
512
- function et(e, t, n) {
513
- let r = Ae(), i = r[r.length - 2];
512
+ function nt(e, t, n) {
513
+ let r = Ne(), i = r[r.length - 2];
514
514
  return {
515
515
  type: e,
516
516
  subtype: n,
@@ -520,45 +520,45 @@ function et(e, t, n) {
520
520
  referrer: i ? window.location.origin + i : ""
521
521
  };
522
522
  }
523
- function tt() {
523
+ function rt() {
524
524
  var t;
525
- return !!window.__efpEvent && !!((t = e()) != null && t.trackerUrl) && !h.heatmap;
525
+ return !!window.__efpEvent && !!((t = e()) != null && t.trackerUrl) && !g.heatmap;
526
526
  }
527
527
  async function U(e, t, n) {
528
- if (r.log("trackEvent", e, t, n), tt()) try {
528
+ if (r.log("trackEvent", e, t, n), rt()) try {
529
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();
530
+ let r = nt(e, t, n), a = f(), o = null;
531
+ if (a ? o = await it(a) : localStorage.removeItem(u), !rt()) return;
532
+ let s = tt();
533
533
  if (a && !o) {
534
534
  s.enqueue(r);
535
535
  return;
536
536
  }
537
- s.setKioskId((i = o) == null ? "" : i), at(s), await s.send(r);
537
+ s.setKioskId((i = o) == null ? "" : i), ot(s), await s.send(r);
538
538
  } catch (e) {
539
539
  r.error("trackEvent", String(e));
540
540
  }
541
541
  }
542
542
  var W;
543
- async function nt(e) {
543
+ async function it(e) {
544
544
  if (!e) return null;
545
- let t = localStorage.getItem(l);
545
+ let t = localStorage.getItem(u);
546
546
  if (t) return t;
547
547
  if (!W) {
548
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(() => {
549
+ W = p(e, "https://app.expofp.com/").then((e) => !e || window.__efpEvent !== t ? null : (localStorage.setItem(u, e), e)).finally(() => {
550
550
  W = void 0;
551
551
  });
552
552
  }
553
553
  return W;
554
554
  }
555
- var rt = !1;
556
- function it() {
557
- H == null || H.flush(), H = void 0, Qe = void 0, rt = !1;
555
+ var G = !1;
556
+ function at() {
557
+ H == null || H.flush(), H = void 0, et = void 0, G = !1;
558
558
  }
559
- function at(e) {
560
- if (rt) return;
561
- rt = !0;
559
+ function ot(e) {
560
+ if (G) return;
561
+ G = !0;
562
562
  let t = "efp-track-events";
563
563
  try {
564
564
  let r = localStorage.getItem(t);
@@ -585,16 +585,16 @@ function at(e) {
585
585
  }
586
586
  //#endregion
587
587
  //#region src/tools/gtag.ts
588
- var G = "G-78CKLYWFJK";
588
+ var K = "G-78CKLYWFJK";
589
589
  window.dataLayer = window.dataLayer || [];
590
- function K(...e) {
590
+ function q(...e) {
591
591
  var t, n;
592
592
  ((n = (t = window).dataLayer) == null ? t.dataLayer = [] : n).push(arguments);
593
593
  }
594
- var q = /*#__PURE__*/ function(e) {
594
+ var J = /*#__PURE__*/ function(e) {
595
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
596
  }({});
597
- async function ot() {
597
+ async function st() {
598
598
  try {
599
599
  let e = fetch("https://consent.expofp.com/api/verify-ip/is-in-gdpr"), t = new Promise((e) => {
600
600
  setTimeout(() => {
@@ -606,118 +606,118 @@ async function ot() {
606
606
  return console.error(e), null;
607
607
  }
608
608
  }
609
- function st(e) {
609
+ function ct(e) {
610
610
  if (e === "granted" || e === "denied") return e;
611
611
  let t = document.cookie.split("; ").find((e) => e.startsWith("cookie_consent="));
612
612
  if (t) return t === "cookie_consent=true" ? "granted" : "denied";
613
613
  }
614
- function ct(e) {
614
+ function lt(e) {
615
615
  let t = 2592e3, n = i ? "localhost" : ".expofp.com";
616
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
617
  }
618
- function lt() {
618
+ function ut() {
619
619
  let e = document.cookie.split(";"), t = i ? "localhost" : ".expofp.com";
620
620
  for (let n = 0; n < e.length; n++) {
621
621
  let r = e[n], i = r.indexOf("="), a = i > -1 ? r.substr(0, i).trim() : r.trim();
622
622
  a.startsWith("_ga") && (document.cookie = `${a}=;expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${t}`);
623
623
  }
624
624
  }
625
- function ut(e) {
626
- let t = st(e);
627
- t && (t === "denied" ? (lt(), C.gtag && (window[`ga-disable-${C.gtag}`] = !0), window[`ga-disable-${G}`] = !0) : (C.gtag && (window[`ga-disable-${C.gtag}`] = !1), window[`ga-disable-${G}`] = !1), K("consent", "update", {
625
+ function dt(e) {
626
+ let t = ct(e);
627
+ t && (t === "denied" ? (ut(), b.gtag && (window[`ga-disable-${b.gtag}`] = !0), window[`ga-disable-${K}`] = !0) : (b.gtag && (window[`ga-disable-${b.gtag}`] = !1), window[`ga-disable-${K}`] = !1), q("consent", "update", {
628
628
  analytics_storage: t,
629
629
  ad_personalization: t
630
630
  }));
631
631
  }
632
- function dt(e, t, n) {
632
+ function ft(e, t, n) {
633
633
  switch (e) {
634
- case q.ViewBooth:
635
- K("event", "select_content", {
634
+ case J.ViewBooth:
635
+ q("event", "select_content", {
636
636
  content_type: e,
637
637
  content_id: t
638
638
  }), U("booview", t);
639
639
  break;
640
- case q.ViewCategory:
641
- K("event", "select_content", {
640
+ case J.ViewCategory:
641
+ q("event", "select_content", {
642
642
  content_type: e,
643
643
  content_id: t
644
644
  }), U("catview", t);
645
645
  break;
646
- case q.ViewExhibitor:
647
- case q.ViewGallery:
648
- case q.ViewVideo:
649
- K("event", "select_content", {
646
+ case J.ViewExhibitor:
647
+ case J.ViewGallery:
648
+ case J.ViewVideo:
649
+ q("event", "select_content", {
650
650
  content_type: e,
651
651
  content_id: t
652
652
  });
653
653
  break;
654
- case q.Search:
655
- K("event", "search", { search_term: t }), U("search", t);
654
+ case J.Search:
655
+ q("event", "search", { search_term: t }), U("search", t);
656
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", {
657
+ case J.ClickCustomButton:
658
+ case J.ClickPhone:
659
+ case J.ClickEmail:
660
+ case J.ClickWebsite:
661
+ case J.ClickFacebook:
662
+ case J.ClickInstagaram:
663
+ case J.ClickLinkedin:
664
+ case J.ClickTwitter:
665
+ case J.ClickGooglePlus:
666
+ case J.ClickXing:
667
+ case J.ClickYoutube:
668
+ q("event", "share", {
669
669
  content_type: e,
670
670
  content_id: t
671
671
  }), U("share", t);
672
672
  break;
673
- case q.ClickBookmark:
674
- K("event", "share", {
675
- content_type: q.ClickCustomButton,
673
+ case J.ClickBookmark:
674
+ q("event", "share", {
675
+ content_type: J.ClickCustomButton,
676
676
  content_id: t
677
677
  });
678
678
  break;
679
- case q.ClickDirections:
680
- K("event", "route", {
679
+ case J.ClickDirections:
680
+ q("event", "route", {
681
681
  content_type: e,
682
682
  content_id: t
683
683
  }), U("route", t);
684
684
  break;
685
- default: K("event", e, {
685
+ default: q("event", e, {
686
686
  content_type: n,
687
687
  content_id: t
688
688
  });
689
689
  }
690
690
  }
691
- function ft(e, t) {
692
- K("event", e, {
691
+ function pt(e, t) {
692
+ q("event", e, {
693
693
  ...t,
694
- fp_key: y.EXPO
694
+ fp_key: S.EXPO
695
695
  });
696
696
  }
697
- function pt(e) {
698
- ft(q.WsExhibitorClick, {
697
+ function mt(e) {
698
+ pt(J.WsExhibitorClick, {
699
699
  exhibitor_id: e.id,
700
700
  exhibitor_name: e.name,
701
701
  exhibitor_external_id: e.externalId,
702
702
  creative_slot: "ws_slider"
703
703
  }), U("ws_exhibitor_click", e.id);
704
704
  }
705
- window.gtag = K;
706
- function mt(e) {
705
+ window.gtag = q;
706
+ function ht(e) {
707
707
  let t = document.createElement("script");
708
708
  t.type = "text/javascript", t.async = !0, t.src = `https://www.googletagmanager.com/gtag/js?id=${e}`;
709
709
  let n = document.getElementsByTagName("script")[0];
710
710
  return n != null && n.parentNode ? n.parentNode.insertBefore(t, n) : document.head.appendChild(t), t;
711
711
  }
712
- var ht;
713
- function gt() {
714
- if (ht || (ht = mt(G), K("js", /* @__PURE__ */ new Date())), C.gtag) {
715
- let e = mt(C.gtag);
716
- K("config", C.gtag, { fp_key: y.EXPO }), n(() => e.remove());
712
+ var gt;
713
+ function _t() {
714
+ if (gt || (gt = ht(K), q("js", /* @__PURE__ */ new Date())), b.gtag) {
715
+ let e = ht(b.gtag);
716
+ q("config", b.gtag, { fp_key: S.EXPO }), n(() => e.remove());
717
717
  }
718
- K("config", G, { fp_key: y.EXPO });
718
+ q("config", K, { fp_key: S.EXPO });
719
719
  }
720
- K("consent", "default", {
720
+ q("consent", "default", {
721
721
  ad_storage: "denied",
722
722
  analytics_storage: "denied",
723
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("."),
@@ -728,26 +728,26 @@ K("consent", "default", {
728
728
  });
729
729
  //#endregion
730
730
  //#region src/utils/calcSpeed.ts
731
- var _t = 1.4, vt = 4.2;
732
- function yt(e) {
731
+ var vt = 1.4, yt = 4.2;
732
+ function bt(e) {
733
733
  var t;
734
- return (e == null || (t = e.toLowerCase) == null ? void 0 : t.call(e).trim()) === "m" ? _t : vt;
734
+ return (e == null || (t = e.toLowerCase) == null ? void 0 : t.call(e).trim()) === "m" ? vt : yt;
735
735
  }
736
736
  //#endregion
737
737
  //#region src/utils/calcTravelTime.ts
738
- function bt(e, t) {
738
+ function xt(e, t) {
739
739
  return Math.round(e / t);
740
740
  }
741
741
  //#endregion
742
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));
743
+ var St = () => void 0;
744
+ function Ct({ layer: e, show: t, then: n }) {
745
+ return !e || e.visible ? (n(), St) : (t(e), s(() => e.visible, n));
746
746
  }
747
747
  //#endregion
748
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) {
749
+ var wt, Tt, Et, Dt, Y, Ot, kt, At, jt, Mt, Nt, Pt, Ft, It, Lt, Rt, zt, Bt, Vt, Ht, Ut;
750
+ function X(e, t, n, r) {
751
751
  n && Object.defineProperty(e, t, {
752
752
  enumerable: n.enumerable,
753
753
  configurable: n.configurable,
@@ -755,7 +755,7 @@ function Y(e, t, n, r) {
755
755
  value: n.initializer ? n.initializer.call(r) : void 0
756
756
  });
757
757
  }
758
- function X(e, t, n, r, i) {
758
+ function Z(e, t, n, r, i) {
759
759
  var a = {};
760
760
  return Object.keys(r).forEach(function(e) {
761
761
  a[e] = r[e];
@@ -763,25 +763,22 @@ function X(e, t, n, r, i) {
763
763
  return r(e, t, n) || n;
764
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
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 {
766
+ var Wt = (wt = a({ keepAlive: !0 }), Tt = a({ keepAlive: !0 }), Et = a({ keepAlive: !0 }), Dt = a({ keepAlive: !0 }), Y = class {
770
767
  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, "tappedBooth", 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;
768
+ this.rootStore = void 0, this.cpTimeout = void 0, X(this, "routeLines", Ot, this), X(this, "routeDistance", kt, this), X(this, "currentPosition", At, this), X(this, "requestCompass", jt, this), X(this, "iconType", Mt, this), X(this, "tappedBooth", Nt, this), X(this, "focusEnabled", Pt, this), X(this, "prevZ", Ft, this), X(this, "markersData", It, this), X(this, "prevMarkers", Lt, this), this.pendingReveal = null, this.lastDirection = void 0, this.directionScheduled = !1, this.pendingDetails = void 0, X(this, "showAccessible", Rt, this), X(this, "onlyAccessible", zt, this), X(this, "currentRouteLayer", Bt, this), X(this, "currentRouteExhibitor", Vt, this), X(this, "routeUnits", Ht, this), X(this, "isGpsTrackingEnabled", Ut, this), this.rootStore = e, this.focusEnabled = !window.location.search;
772
769
  }
773
770
  get tempToBooth() {
774
771
  let e = this.tappedBooth;
775
- return e != null && e.exhibitors.some((e) => e === h.details) ? e : null;
772
+ return e != null && e.exhibitors.some((e) => e === g.details) ? e : null;
776
773
  }
777
774
  set tempToBooth(e) {
778
775
  this.tappedBooth = e;
779
776
  }
780
777
  get canFindLocation() {
781
- return !!h.kioskData || !!this.currentPosition;
778
+ return !!g.kioskData || !!this.currentPosition;
782
779
  }
783
780
  selectRoute(e, t = !0, n = !1) {
784
- if (t && (h.list = {
781
+ if (t && (g.list = {
785
782
  type: "search",
786
783
  text: "",
787
784
  focused: !1
@@ -793,36 +790,44 @@ var Ut = (Ct = a({ keepAlive: !0 }), wt = a({ keepAlive: !0 }), Tt = a({ keepAli
793
790
  let r = [];
794
791
  e != null && e.from && e != null && e.to && window.setTimeout(() => {
795
792
  this.rootStore.showMap();
796
- }, navigator.userAgent.toLowerCase().indexOf("android") > -1 ? 400 : 50), (e == null ? void 0 : e.from) instanceof _ && e.from.visible && r.push(e.from), (e == null ? void 0 : e.to) instanceof _ && e.to.visible && (this.tempToBooth = null, r.push(e.to)), !e && m.fp.onDirection && m.fp.onDirection(null);
797
- let i = c(() => {
798
- 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) {
799
- let t = Wt(e.from);
793
+ }, navigator.userAgent.toLowerCase().indexOf("android") > -1 ? 400 : 50), (e == null ? void 0 : e.from) instanceof T && e.from.visible && r.push(e.from), (e == null ? void 0 : e.to) instanceof T && e.to.visible && (this.tempToBooth = null, r.push(e.to)), e || this.emitDirection(null);
794
+ let i = l(() => {
795
+ if (this.rootStore.moveToList(r), g.details = e, e && (this.lastDirection = void 0), e && (!e.from || !e.to) && g.overlayBottom && (g.desiredOverlaySize = "medium"), e != null && e.to && e != null && e.from) {
796
+ let t = Gt(e.from);
800
797
  t && this.rootStore.layerStore.updateVisibility(t, !0);
801
798
  }
802
799
  if (!this.currentRouteLayer) {
803
- let t = Gt(this.rootStore.layerStore, e == null ? void 0 : e.from), n = Gt(this.rootStore.layerStore, e == null ? void 0 : e.to);
800
+ let t = Kt(this.rootStore.layerStore, e == null ? void 0 : e.from), n = Kt(this.rootStore.layerStore, e == null ? void 0 : e.to);
804
801
  t ? this.currentRouteLayer = t : n && (this.currentRouteLayer = n);
805
802
  }
806
- 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 : ""}`);
803
+ t && e != null && e.from && e != null && e.to && ft(J.ClickDirections, `${e != null && e.from ? "From " + e.from.name : ""} ${e != null && e.to ? "To " + e.to.name : ""}`);
807
804
  });
808
- n ? i() : setTimeout(i, 200);
805
+ if (clearTimeout(this.pendingDetails), this.pendingDetails = void 0, n || !e) {
806
+ i();
807
+ return;
808
+ }
809
+ let a = g.details;
810
+ this.pendingDetails = window.setTimeout(() => {
811
+ this.pendingDetails = void 0, g.details === a && i();
812
+ }, 200);
809
813
  }
810
814
  rebuildRouteFromPosition(e) {
811
- let t = h.selectedRoute;
815
+ if (this.pendingDetails !== void 0) return;
816
+ let t = g.selectedRoute;
812
817
  t != null && t.to && this.selectRoute(new $(e, t.to, t.waypoints), !1, !0);
813
818
  }
814
819
  resolveFallbackFrom() {
815
820
  var e;
816
- if (this.currentPosition) return ce(this.currentPosition, re, T);
817
- let t = h.kioskData;
818
- return t ? ce({
821
+ if (this.currentPosition) return se(this.currentPosition, E, D);
822
+ let t = g.kioskData;
823
+ return t ? se({
819
824
  x: t.x,
820
825
  y: t.y,
821
826
  z: (e = t.z) == null ? void 0 : e
822
- }, ue(), oe) : null;
827
+ }, ue(), ae) : null;
823
828
  }
824
829
  setStartPoint(e) {
825
- let t = h.selectedRoute;
830
+ let t = g.selectedRoute;
826
831
  if (t != null && t.to && !(t != null && t.from) && e) {
827
832
  let n = new $(e, t.to, t.waypoints);
828
833
  this.selectRoute(n);
@@ -830,32 +835,32 @@ var Ut = (Ct = a({ keepAlive: !0 }), wt = a({ keepAlive: !0 }), Tt = a({ keepAli
830
835
  }
831
836
  get pathLayers() {
832
837
  var e;
833
- 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) => ({
838
+ return (e = h.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) => ({
834
839
  id: t + 1,
835
- layer: m.layerStore.findLayer(e)
840
+ layer: h.layerStore.findLayer(e)
836
841
  }));
837
842
  }
838
843
  getNearestBooth(e) {
839
844
  var t;
840
845
  if (!e) return null;
841
- 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;
842
- return !a || !O(a.x) || !O(a.y) ? null : this.rootStore.boothStore.booths.filter((t) => {
843
- if (p.mode === w.Default || !n) return t.visible && t.rect;
846
+ let n = this.rootStore.layerStore.findLayer(e.z), r = (t = le()) == null ? void 0 : t.properties.config, i = !!(e.lat && e.lng), a = r && i ? re(e, r) : e;
847
+ return !a || !A(a.x) || !A(a.y) ? null : this.rootStore.boothStore.booths.filter((t) => {
848
+ if (m.mode === ne.Default || !n) return t.visible && t.rect;
844
849
  var r;
845
850
  return t.rect && (typeof e.z != "number" && !e.z && t.visible || n.name === ((r = t.layer) == null ? void 0 : r.name));
846
- }).sort((e, t) => te(a, e.rect.center) - te(a, t.rect.center))[0] || null;
851
+ }).sort((e, t) => C(a, e.rect.center) - C(a, t.rect.center))[0] || null;
847
852
  }
848
853
  setMarkers(e) {
849
854
  var t, n;
850
- 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;
855
+ this.markersData.markers = ((t = e == null ? void 0 : e.markers) == null ? [] : t).map(qt), this.markersData.icons = (n = e == null ? void 0 : e.icons) == null ? [] : n;
851
856
  }
852
857
  selectMarker(e, t) {
853
858
  let n = this.markersData.markers.find((t) => t.id === e);
854
859
  this.markersData.markers.forEach((e) => e.active = !1), n && (n.active = !0);
855
- let i = m.layerStore.findLayer(n == null ? void 0 : n.z);
860
+ let i = h.layerStore.findLayer(n == null ? void 0 : n.z);
856
861
  if (t && n) {
857
- i && !(i != null && i.visible) && p.updateVisibility(i, !0);
858
- let e = S();
862
+ i && !(i != null && i.visible) && m.updateVisibility(i, !0);
863
+ let e = te();
859
864
  return e ? e.api.panTo({
860
865
  x: n.x,
861
866
  y: n.y
@@ -869,12 +874,12 @@ var Ut = (Ct = a({ keepAlive: !0 }), wt = a({ keepAlive: !0 }), Tt = a({ keepAli
869
874
  get layers() {
870
875
  var e;
871
876
  let t = [];
872
- return (e = m.routeStore.routeLines) == null || e.map((e) => e.p0.layer).forEach((e) => {
877
+ return (e = h.routeStore.routeLines) == null || e.map((e) => e.p0.layer).forEach((e) => {
873
878
  t.indexOf(e) === -1 && t.push(e);
874
- }), t.map((e) => m.layerStore.layers.find((t) => t.name === e)).filter((e) => !!e);
879
+ }), t.map((e) => h.layerStore.layers.find((t) => t.name === e)).filter((e) => !!e);
875
880
  }
876
881
  clickRoute(e, t) {
877
- window.__resett && window.__resett(), this.rootStore.uiState.menu = !1, h.list.type === "route-planner" && (h.list = {
882
+ window.__resett && window.__resett(), this.rootStore.uiState.menu = !1, g.list.type === "route-planner" && (g.list = {
878
883
  type: "search",
879
884
  text: "",
880
885
  focused: !1
@@ -882,59 +887,59 @@ var Ut = (Ct = a({ keepAlive: !0 }), wt = a({ keepAlive: !0 }), Tt = a({ keepAli
882
887
  }
883
888
  selectCurrentPosition(e, t = !0, n) {
884
889
  var r, i, a, o, s;
885
- 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)), ne() || (e.z = void 0));
890
+ clearTimeout(this.cpTimeout), e && (e.x = k(e.x), e.y = k(e.y), e.lat !== void 0 && (e.lat = k(e.lat)), e.lng !== void 0 && (e.lng = k(e.lng)), y() || (e.z = void 0));
886
891
  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));
887
892
  this.focusEnabled && (this.focusEnabled = !1), this.prevZ = (r = e == null || (i = e.z) == null ? void 0 : i.toString()) == null ? null : r, this.iconType = +!!n;
888
- let u = e ? qt(e) : null;
893
+ let u = e ? Jt(e) : null;
889
894
  if (!e || !u) {
890
895
  this.currentPosition = null;
891
896
  return;
892
897
  }
893
- 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);
898
+ let d = h.layerStore.findLayer(e.z), f = new en(u.x, u.y, (d == null ? void 0 : d.name) || ((a = this.currentRouteLayer) == null ? void 0 : a.name), O(u), e.lat, e.lng), p = !((o = this.routeLines) != null && o.length);
894
899
  d && (s = this.routeLines) != null && s.length && (p = !!this.routeLines.find((e) => e.p0.layer === d.name || e.p1.layer === d.name));
895
- let h = l && p;
896
- this.currentPosition = f, h && this.focusOnPosition(f, d), this.gpsEnabled || (this.cpTimeout = setTimeout(() => {
900
+ let m = l && p;
901
+ this.currentPosition = f, m && this.focusOnPosition(f, d), this.gpsEnabled || (this.cpTimeout = setTimeout(() => {
897
902
  this.currentPosition && this.selectCurrentPosition(null, !1);
898
903
  }, 30 * 1e3));
899
904
  }
900
905
  findLocation() {
901
906
  var e, t;
902
907
  if (!this.canFindLocation) return;
903
- let n = (e = this.currentPosition) == null ? h.kioskData : e;
904
- n && (this.currentPosition && localStorage.getItem("efp-compass-permission-granted") === "false" && (m.routeStore.requestCompass = !0), (t = this.pendingReveal) == null || t.call(this), this.pendingReveal = St({
905
- layer: m.layerStore.findLayer(n.z),
906
- show: (e) => p.updateVisibility(e, !0),
908
+ let n = (e = this.currentPosition) == null ? g.kioskData : e;
909
+ n && (this.currentPosition && localStorage.getItem("efp-compass-permission-granted") === "false" && (h.routeStore.requestCompass = !0), (t = this.pendingReveal) == null || t.call(this), this.pendingReveal = Ct({
910
+ layer: h.layerStore.findLayer(n.z),
911
+ show: (e) => m.updateVisibility(e, !0),
907
912
  then: () => {
908
- h.moveToRect = this.findLocationRect(n);
913
+ g.moveToRect = this.findLocationRect(n);
909
914
  }
910
915
  }));
911
916
  }
912
917
  findLocationRect(e) {
913
- let t = b.fromCenter(e, {
918
+ let t = v.fromCenter(e, {
914
919
  x: 100,
915
920
  y: 100
916
- }), n = ee();
921
+ }), n = x();
917
922
  if (t.intersects(n)) return t;
918
- 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 = b.fromCenter({
923
+ 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 = v.fromCenter({
919
924
  x: r,
920
925
  y: i
921
926
  }, {
922
927
  x: a,
923
928
  y: a
924
929
  }).intersection(n);
925
- return o ? b.fromUnion(t, o) : t;
930
+ return o ? v.fromUnion(t, o) : t;
926
931
  }
927
932
  focusOnPosition(e, t) {
928
933
  var n;
929
- (n = this.pendingReveal) == null || n.call(this), this.pendingReveal = St({
934
+ (n = this.pendingReveal) == null || n.call(this), this.pendingReveal = Ct({
930
935
  layer: t,
931
- show: (e) => p.updateVisibility(e, !0),
936
+ show: (e) => m.updateVisibility(e, !0),
932
937
  then: () => {
933
- if (m.maplibreStore.showMaplibre) {
934
- h.moveToLocation = !0;
938
+ if (h.maplibreStore.showMaplibre) {
939
+ g.moveToLocation = !0;
935
940
  return;
936
941
  }
937
- let t = S();
942
+ let t = te();
938
943
  if (t) {
939
944
  t.api.panTo({
940
945
  x: e.x,
@@ -951,44 +956,51 @@ var Ut = (Ct = a({ keepAlive: !0 }), wt = a({ keepAlive: !0 }), Tt = a({ keepAli
951
956
  return e ? {
952
957
  distance: `${e}${t}`,
953
958
  units: t,
954
- time: bt(e, yt(t))
959
+ time: xt(e, bt(t))
955
960
  } : null;
956
961
  }
957
962
  updateRoute(e, t) {
958
- !(e != null && e.length) && !this.routeLines.length || (this.routeLines = e, this.updateRoutePoints());
963
+ !(e != null && e.length) && !this.routeLines.length || (this.routeLines = e, this.scheduleDirection());
959
964
  }
960
965
  updateRouteDistance(e) {
961
966
  var t, n, r, i;
962
967
  if (e == null) return;
963
- let a = x(), 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;
964
- this.routeDistance = Math.round(e / (s ? 1 : 10)), this.routeUnits = o, this.updateRoutePoints();
965
- }
966
- updateRoutePoints() {
967
- let e = h.selectedRoute, t = this.routeDistance, n = this.routeUnits;
968
- m.fp.onDirection && setTimeout(() => {
969
- var r, i;
970
- m.fp.onDirection({
971
- from: Zt((r = e == null ? void 0 : e.from) == null ? null : r),
972
- to: Zt((i = e == null ? void 0 : e.to) == null ? null : i),
973
- lines: this.routeLines,
974
- distance: t == null ? "" : `${t}${n}`,
975
- units: n,
976
- time: bt(t == null ? 0 : t, yt(n))
977
- });
978
- }, 200);
968
+ let a = ee(), 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;
969
+ this.routeDistance = Math.round(e / (s ? 1 : 10)), this.routeUnits = o, this.scheduleDirection();
970
+ }
971
+ scheduleDirection() {
972
+ this.directionScheduled || (this.directionScheduled = !0, Promise.resolve().then(() => {
973
+ this.directionScheduled = !1, this.emitDirection(this.directionPayload());
974
+ }));
975
+ }
976
+ directionPayload() {
977
+ var e, t;
978
+ let n = g.selectedRoute, r = this.routeDistance, i = this.routeUnits;
979
+ return {
980
+ from: Qt((e = n == null ? void 0 : n.from) == null ? null : e),
981
+ to: Qt((t = n == null ? void 0 : n.to) == null ? null : t),
982
+ lines: this.routeLines,
983
+ distance: r == null ? "" : `${r}${i}`,
984
+ units: i,
985
+ time: xt(r == null ? 0 : r, bt(i))
986
+ };
987
+ }
988
+ emitDirection(e) {
989
+ var t, n;
990
+ e && $t(this.lastDirection, e) || (this.lastDirection = e, (t = (n = this.rootStore.fp).onDirection) == null || t.call(n, e));
979
991
  }
980
992
  checkRoutes() {
981
- if (!se()) {
993
+ if (!oe()) {
982
994
  console.warn("checkRoutes: wayfinding is not initialized — call createWayfinding() first. Skipping route check.");
983
995
  return;
984
996
  }
985
- let e = m.boothStore.booths;
997
+ let e = h.boothStore.booths;
986
998
  console.info(`Route check started ${e.length}.... `);
987
999
  for (let t = 0; t < e.length; t++) {
988
1000
  let n = e[t];
989
1001
  for (let r = t + 1; r < e.length; r++) {
990
1002
  let t = e[r];
991
- le(ae(n), ae(t)).lines.length || console.warn(`No route found from ${n.name} to ${t.name}`);
1003
+ ce(ie(n), ie(t)).lines.length || console.warn(`No route found from ${n.name} to ${t.name}`);
992
1004
  }
993
1005
  }
994
1006
  console.info("Route check done....");
@@ -997,68 +1009,68 @@ var Ut = (Ct = a({ keepAlive: !0 }), wt = a({ keepAlive: !0 }), Tt = a({ keepAli
997
1009
  this.isGpsTrackingEnabled = e;
998
1010
  }
999
1011
  get gpsEnabled() {
1000
- return C.autoTrackingGps && this.isGpsTrackingEnabled && !C.enableIPS;
1012
+ return b.autoTrackingGps && this.isGpsTrackingEnabled && !b.enableIPS;
1001
1013
  }
1002
1014
  setOnlyAccessible(e) {
1003
1015
  this.onlyAccessible = e;
1004
1016
  }
1005
- }, Dt = X(J.prototype, "routeLines", [o], {
1017
+ }, Ot = Z(Y.prototype, "routeLines", [o], {
1006
1018
  configurable: !0,
1007
1019
  enumerable: !0,
1008
1020
  writable: !0,
1009
1021
  initializer: function() {
1010
1022
  return [];
1011
1023
  }
1012
- }), Ot = X(J.prototype, "routeDistance", [o], {
1024
+ }), kt = Z(Y.prototype, "routeDistance", [o], {
1013
1025
  configurable: !0,
1014
1026
  enumerable: !0,
1015
1027
  writable: !0,
1016
1028
  initializer: function() {
1017
1029
  return null;
1018
1030
  }
1019
- }), kt = X(J.prototype, "currentPosition", [o], {
1031
+ }), At = Z(Y.prototype, "currentPosition", [o], {
1020
1032
  configurable: !0,
1021
1033
  enumerable: !0,
1022
1034
  writable: !0,
1023
1035
  initializer: function() {
1024
1036
  return null;
1025
1037
  }
1026
- }), At = X(J.prototype, "requestCompass", [o], {
1038
+ }), jt = Z(Y.prototype, "requestCompass", [o], {
1027
1039
  configurable: !0,
1028
1040
  enumerable: !0,
1029
1041
  writable: !0,
1030
1042
  initializer: function() {
1031
1043
  return !1;
1032
1044
  }
1033
- }), jt = X(J.prototype, "iconType", [o], {
1045
+ }), Mt = Z(Y.prototype, "iconType", [o], {
1034
1046
  configurable: !0,
1035
1047
  enumerable: !0,
1036
1048
  writable: !0,
1037
1049
  initializer: function() {
1038
1050
  return 0;
1039
1051
  }
1040
- }), Mt = X(J.prototype, "tappedBooth", [o], {
1052
+ }), Nt = Z(Y.prototype, "tappedBooth", [o], {
1041
1053
  configurable: !0,
1042
1054
  enumerable: !0,
1043
1055
  writable: !0,
1044
1056
  initializer: function() {
1045
1057
  return null;
1046
1058
  }
1047
- }), Nt = X(J.prototype, "focusEnabled", [o], {
1059
+ }), Pt = Z(Y.prototype, "focusEnabled", [o], {
1048
1060
  configurable: !0,
1049
1061
  enumerable: !0,
1050
1062
  writable: !0,
1051
1063
  initializer: function() {
1052
1064
  return !0;
1053
1065
  }
1054
- }), Pt = X(J.prototype, "prevZ", [o], {
1066
+ }), Ft = Z(Y.prototype, "prevZ", [o], {
1055
1067
  configurable: !0,
1056
1068
  enumerable: !0,
1057
1069
  writable: !0,
1058
1070
  initializer: function() {
1059
1071
  return null;
1060
1072
  }
1061
- }), Ft = X(J.prototype, "markersData", [o], {
1073
+ }), It = Z(Y.prototype, "markersData", [o], {
1062
1074
  configurable: !0,
1063
1075
  enumerable: !0,
1064
1076
  writable: !0,
@@ -1068,101 +1080,101 @@ var Ut = (Ct = a({ keepAlive: !0 }), wt = a({ keepAlive: !0 }), Tt = a({ keepAli
1068
1080
  markers: []
1069
1081
  };
1070
1082
  }
1071
- }), It = X(J.prototype, "prevMarkers", [o], {
1083
+ }), Lt = Z(Y.prototype, "prevMarkers", [o], {
1072
1084
  configurable: !0,
1073
1085
  enumerable: !0,
1074
1086
  writable: !0,
1075
1087
  initializer: function() {
1076
1088
  return [];
1077
1089
  }
1078
- }), Lt = X(J.prototype, "showAccessible", [o], {
1090
+ }), Rt = Z(Y.prototype, "showAccessible", [o], {
1079
1091
  configurable: !0,
1080
1092
  enumerable: !0,
1081
1093
  writable: !0,
1082
1094
  initializer: function() {
1083
1095
  return !1;
1084
1096
  }
1085
- }), Rt = X(J.prototype, "onlyAccessible", [o], {
1097
+ }), zt = Z(Y.prototype, "onlyAccessible", [o], {
1086
1098
  configurable: !0,
1087
1099
  enumerable: !0,
1088
1100
  writable: !0,
1089
1101
  initializer: function() {
1090
1102
  return !1;
1091
1103
  }
1092
- }), zt = X(J.prototype, "currentRouteLayer", [o], {
1104
+ }), Bt = Z(Y.prototype, "currentRouteLayer", [o], {
1093
1105
  configurable: !0,
1094
1106
  enumerable: !0,
1095
1107
  writable: !0,
1096
1108
  initializer: function() {
1097
1109
  return null;
1098
1110
  }
1099
- }), Bt = X(J.prototype, "currentRouteExhibitor", [o], {
1111
+ }), Vt = Z(Y.prototype, "currentRouteExhibitor", [o], {
1100
1112
  configurable: !0,
1101
1113
  enumerable: !0,
1102
1114
  writable: !0,
1103
1115
  initializer: function() {
1104
1116
  return null;
1105
1117
  }
1106
- }), 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], {
1118
+ }), Z(Y.prototype, "canFindLocation", [a], Object.getOwnPropertyDescriptor(Y.prototype, "canFindLocation"), Y.prototype), Z(Y.prototype, "selectRoute", [l], Object.getOwnPropertyDescriptor(Y.prototype, "selectRoute"), Y.prototype), Z(Y.prototype, "rebuildRouteFromPosition", [l], Object.getOwnPropertyDescriptor(Y.prototype, "rebuildRouteFromPosition"), Y.prototype), Z(Y.prototype, "setStartPoint", [l], Object.getOwnPropertyDescriptor(Y.prototype, "setStartPoint"), Y.prototype), Z(Y.prototype, "pathLayers", [wt], Object.getOwnPropertyDescriptor(Y.prototype, "pathLayers"), Y.prototype), Z(Y.prototype, "setMarkers", [l], Object.getOwnPropertyDescriptor(Y.prototype, "setMarkers"), Y.prototype), Z(Y.prototype, "selectMarker", [l], Object.getOwnPropertyDescriptor(Y.prototype, "selectMarker"), Y.prototype), Z(Y.prototype, "selectedMarkers", [Tt], Object.getOwnPropertyDescriptor(Y.prototype, "selectedMarkers"), Y.prototype), Z(Y.prototype, "layers", [Et], Object.getOwnPropertyDescriptor(Y.prototype, "layers"), Y.prototype), Z(Y.prototype, "clickRoute", [l], Object.getOwnPropertyDescriptor(Y.prototype, "clickRoute"), Y.prototype), Z(Y.prototype, "selectCurrentPosition", [l], Object.getOwnPropertyDescriptor(Y.prototype, "selectCurrentPosition"), Y.prototype), Z(Y.prototype, "findLocation", [l], Object.getOwnPropertyDescriptor(Y.prototype, "findLocation"), Y.prototype), Ht = Z(Y.prototype, "routeUnits", [o], {
1107
1119
  configurable: !0,
1108
1120
  enumerable: !0,
1109
1121
  writable: !0,
1110
1122
  initializer: function() {
1111
1123
  return "ft";
1112
1124
  }
1113
- }), 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], {
1125
+ }), Z(Y.prototype, "routeInfo", [a], Object.getOwnPropertyDescriptor(Y.prototype, "routeInfo"), Y.prototype), Z(Y.prototype, "updateRoute", [l], Object.getOwnPropertyDescriptor(Y.prototype, "updateRoute"), Y.prototype), Z(Y.prototype, "updateRouteDistance", [l], Object.getOwnPropertyDescriptor(Y.prototype, "updateRouteDistance"), Y.prototype), Z(Y.prototype, "checkRoutes", [l], Object.getOwnPropertyDescriptor(Y.prototype, "checkRoutes"), Y.prototype), Ut = Z(Y.prototype, "isGpsTrackingEnabled", [o], {
1114
1126
  configurable: !0,
1115
1127
  enumerable: !0,
1116
1128
  writable: !0,
1117
1129
  initializer: function() {
1118
1130
  return !0;
1119
1131
  }
1120
- }), 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);
1121
- function Wt(e) {
1132
+ }), Z(Y.prototype, "setGpsTrackingEnabled", [l], Object.getOwnPropertyDescriptor(Y.prototype, "setGpsTrackingEnabled"), Y.prototype), Z(Y.prototype, "gpsEnabled", [Dt], Object.getOwnPropertyDescriptor(Y.prototype, "gpsEnabled"), Y.prototype), Z(Y.prototype, "setOnlyAccessible", [l], Object.getOwnPropertyDescriptor(Y.prototype, "setOnlyAccessible"), Y.prototype), Y);
1133
+ function Gt(e) {
1122
1134
  var t;
1123
- if (e) return e instanceof _ ? (t = e.layer) == null ? void 0 : t.name : e.layer;
1135
+ if (e) return e instanceof T ? (t = e.layer) == null ? void 0 : t.name : e.layer;
1124
1136
  }
1125
- function Gt(e, t) {
1137
+ function Kt(e, t) {
1126
1138
  var n;
1127
- return t ? t instanceof _ ? (n = t.layer) == null ? null : n : e.findLayer(t.layer) : null;
1139
+ return t ? t instanceof T ? (n = t.layer) == null ? null : n : e.findLayer(t.layer) : null;
1128
1140
  }
1129
- function Kt(e) {
1141
+ function qt(e) {
1130
1142
  return {
1131
1143
  ...e,
1132
- x: Z(e.x),
1133
- y: Z(e.y),
1134
- lat: e.lat === void 0 ? void 0 : Z(e.lat),
1135
- lng: e.lng === void 0 ? void 0 : Z(e.lng)
1144
+ x: k(e.x),
1145
+ y: k(e.y),
1146
+ lat: e.lat === void 0 ? void 0 : k(e.lat),
1147
+ lng: e.lng === void 0 ? void 0 : k(e.lng)
1136
1148
  };
1137
1149
  }
1138
- function qt(e) {
1150
+ function Jt(e) {
1139
1151
  var t, n;
1140
- let r = (t = (n = ie()) == null ? void 0 : n.properties.config) == null ? null : t, i = null;
1141
- return r && v({
1152
+ let r = (t = (n = le()) == null ? void 0 : n.properties.config) == null ? null : t, i = null;
1153
+ return r && w({
1142
1154
  min: r.p0,
1143
1155
  max: r.p2
1144
- }, e) ? i = { ...e } : r && O(e.lat) && O(e.lng) ? i = D(e, r) : r || (i = e), i || null;
1156
+ }, e) ? i = { ...e } : r && A(e.lat) && A(e.lng) ? i = re(e, r) : r || (i = e), i || null;
1145
1157
  }
1146
1158
  function Q(e) {
1147
1159
  var t;
1148
- return m.boothStore.findBooth(e) || ((t = m.exhibitorStore.findExhibitor(e)) == null ? void 0 : t.booths[0]);
1160
+ return h.boothStore.findBooth(e) || ((t = h.exhibitorStore.findExhibitor(e)) == null ? void 0 : t.booths[0]);
1149
1161
  }
1150
- function Jt(e) {
1151
- let t = m.boothStore.boothByExternalId.get(e);
1162
+ function Yt(e) {
1163
+ let t = h.boothStore.boothByExternalId.get(e);
1152
1164
  if (t) return {
1153
1165
  type: "booth",
1154
1166
  entity: t
1155
1167
  };
1156
- let n = m.exhibitorStore.exhibitorByExternalId.get(e);
1168
+ let n = h.exhibitorStore.exhibitorByExternalId.get(e);
1157
1169
  if (n) return {
1158
1170
  type: "exhibitor",
1159
1171
  entity: n
1160
1172
  };
1161
1173
  }
1162
- function Yt(e) {
1174
+ function Xt(e) {
1163
1175
  let t = [], n = [];
1164
1176
  for (let r of e) {
1165
- let e = Jt(r);
1177
+ let e = Yt(r);
1166
1178
  e && (e.type === "booth" ? t.push(r) : n.push(r));
1167
1179
  }
1168
1180
  return {
@@ -1170,20 +1182,20 @@ function Yt(e) {
1170
1182
  exhibitorExternalIds: n
1171
1183
  };
1172
1184
  }
1173
- function Xt(e, t, n) {
1185
+ function Zt(e, t, n) {
1174
1186
  var r, i;
1175
1187
  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));
1176
1188
  }
1177
1189
  var $ = class {
1178
1190
  constructor(e, t, n) {
1179
1191
  this.from = e, this.to = t, this.waypoints = n;
1180
- let r = e instanceof _ ? e.id : void 0, i = t instanceof _ ? t.id : void 0;
1192
+ let r = e instanceof T ? e.id : void 0, i = t instanceof T ? t.id : void 0;
1181
1193
  this.waypoints = n == null ? void 0 : n.filter((e) => e && e.id !== r && e.id !== i);
1182
1194
  }
1183
1195
  };
1184
- function Zt(e) {
1196
+ function Qt(e) {
1185
1197
  var t, n;
1186
- return e ? e instanceof _ ? {
1198
+ return e ? e instanceof T ? {
1187
1199
  id: e.id,
1188
1200
  name: e.name,
1189
1201
  externalId: e.externalId,
@@ -1201,10 +1213,13 @@ function Zt(e) {
1201
1213
  }
1202
1214
  } : null;
1203
1215
  }
1204
- var Qt = class {
1216
+ function $t(e, t) {
1217
+ return e === void 0 ? !1 : e === null ? !t.from && !t.to && !t.lines.length : c.structural(e, t);
1218
+ }
1219
+ var en = class {
1205
1220
  constructor(e, t, n, r, i, a) {
1206
1221
  this.x = e, this.y = t, this.z = n, this.angle = r, this.lat = i, this.lng = a;
1207
1222
  }
1208
1223
  };
1209
1224
  //#endregion
1210
- export { Ne as C, Ie as S, 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 };
1225
+ export { Ie as C, ze as S, mt as _, Q as a, Re as b, xt as c, st as d, ct as f, lt as g, dt as h, Zt as i, bt as l, ft as m, $ as n, Yt as o, _t as p, Wt as r, Xt as s, en as t, J as u, U as v, Le as w, Ve as x, Fe as y };