@expofp/floorplan 3.22.0 → 3.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/dist/browser/{Button-PkkC8fYi.js → Button-Cdcme0dW.js} +5 -5
  2. package/dist/browser/{CookieConsent-COPAytjc.js → CookieConsent-B7cDBqp6.js} +7 -7
  3. package/dist/browser/{Debug-CWVwWCU0.js → Debug-C1YnJvnk.js} +7 -7
  4. package/dist/browser/{Demo-yP6tHJE2.js → Demo-BIM3wFq3.js} +9 -9
  5. package/dist/browser/{Free-rILAyXya.js → Free-D7U5AEcf.js} +12 -12
  6. package/dist/browser/{Gallery-DbQ6bxpv.js → Gallery-BXlz1tz4.js} +9 -9
  7. package/dist/browser/{GpsLoader-U0qUOF4J.js → GpsLoader-BdUzK_Wq.js} +29 -29
  8. package/dist/browser/{KioskStore-D25GX7Yv.js → KioskStore-t38ARgcW.js} +33 -33
  9. package/dist/browser/{MaplibreAdapter-CMX6Q9zs.js → MaplibreAdapter-CSAShUgd.js} +2098 -2047
  10. package/dist/browser/{ModalContainer-TVi_WpAy.js → ModalContainer-B33HKAAU.js} +10 -10
  11. package/dist/browser/{PermissionNotice-SMHSj2qI.js → PermissionNotice-F6g9pz0M.js} +6 -6
  12. package/dist/browser/{SetKioskMode-BwSFzzos.js → SetKioskMode-CJoi2gHM.js} +11 -11
  13. package/dist/browser/{ShowKiosk-D0lj2wzz.js → ShowKiosk-H4rnBUGh.js} +11 -11
  14. package/dist/browser/{ViewerMenuPanel-9A84e6XT.js → ViewerMenuPanel-BmJhh8Ln.js} +10 -10
  15. package/dist/browser/{add-debug-secret-listener-CyjybhbR.js → add-debug-secret-listener-BNoe6VU3.js} +1 -1
  16. package/dist/browser/{adopt-global-settings-BhJX0B0D.js → adopt-global-settings-DIweHmmO.js} +9 -9
  17. package/dist/browser/{boolean-editor-3IdccOj-.js → boolean-editor-C9fqoeTB.js} +9 -9
  18. package/dist/browser/{bootIntercom-CkHVzOj8.js → bootIntercom-BB5HdKln.js} +2 -2
  19. package/dist/browser/{booth-by-xy-CQvcHK_A.js → booth-by-xy-BP9IYJhy.js} +254 -254
  20. package/dist/browser/bundle.json +65 -65
  21. package/dist/browser/{classnames-6bU7zOpA.js → classnames-Dmeqek3o.js} +2 -2
  22. package/dist/browser/{client-BkHWS5lm.js → client-CBb2454O.js} +4 -4
  23. package/dist/browser/{components-Btgwx55F.js → components-DyDFRZBC.js} +787 -738
  24. package/dist/browser/{debug-overlay-D9Gq5tnJ.js → debug-overlay-DXOrtUeJ.js} +10 -10
  25. package/dist/browser/{debug-ui-CclRARRM.js → debug-ui-tNUnR4wz.js} +6 -6
  26. package/dist/browser/{dist-nmYmVc14.js → dist-BIFUFe-T.js} +5 -5
  27. package/dist/browser/{dist-YXQi1KHp.js → dist-DZfEO0RJ.js} +6 -6
  28. package/dist/browser/{dist-D4vUke_M.js → dist-DcOtrqGG.js} +3 -3
  29. package/dist/browser/{efp-debug-init-BNS4_yDX.js → efp-debug-init-B4ddpmiL.js} +3 -3
  30. package/dist/browser/{enum-editor-YeDXZjkr.js → enum-editor-CJB3E-Vh.js} +4 -4
  31. package/dist/browser/{es5-CNjSlyOY.js → es5-DeTUpXm2.js} +2 -2
  32. package/dist/browser/{event-not-found-BQMzvSOp.js → event-not-found-WRXwMJms.js} +1 -1
  33. package/dist/browser/{exports-BPkLTIY6.js → exports-C5uYtLxL.js} +1 -1
  34. package/dist/browser/{favicon-D09E0ggy.js → favicon-5gTCZLy9.js} +1 -1
  35. package/dist/browser/{fetch-retry.umd-CyeSNjOO.js → fetch-retry.umd-BoyaQteS.js} +2 -2
  36. package/dist/browser/{flex-DFe-lnRY.js → flex-DjFgAKFt.js} +5 -5
  37. package/dist/browser/{floorplan.loader-CtqFPg5v.js → floorplan.loader-Ck3XnezM.js} +20 -20
  38. package/dist/browser/{floorplan.ready-mvJLjOT8.js → floorplan.ready-CzTR8qqL.js} +315 -353
  39. package/dist/browser/{fuse-CH8SDiG4.js → fuse-BR27GheK.js} +2 -2
  40. package/dist/browser/{i18n-pREdf4o-.js → i18n-DNH3sP4D.js} +2528 -2559
  41. package/dist/browser/index.js +35 -35
  42. package/dist/browser/{index.module-4MYJQyVQ.js → index.module-DzGptmYn.js} +4 -4
  43. package/dist/browser/{integrateKiosk-BuctRtHM.js → integrateKiosk-DN5HgMdz.js} +9 -8
  44. package/dist/browser/{is-webview-Dk7i6iyE.js → is-webview-CEqtlsy5.js} +1 -1
  45. package/dist/browser/{jsx-runtime-BXQ7PX-y.js → jsx-runtime-BRUHXGcL.js} +2 -2
  46. package/dist/browser/{kiosk-record-Dz3E7PjP.js → kiosk-record-C6KsyYH0.js} +1 -1
  47. package/dist/browser/{lib-BfXVjQQV.js → lib-BoYL1Y22.js} +3 -3
  48. package/dist/browser/{loadImage-CUg38cMx.js → loadImage-2JV_4hsV.js} +4 -4
  49. package/dist/browser/{logDeviceInfo-CgIqRuAY.js → logDeviceInfo-Bga4LjdT.js} +9 -9
  50. package/dist/browser/{main-BzXd5H0A.js → main-BUSluy8y.js} +1 -1
  51. package/dist/browser/{mobx-BEFSh5R7.js → mobx-Cp-RXiD6.js} +4 -4
  52. package/dist/browser/{optional-boolean-editor-DH0Yj5mx.js → optional-boolean-editor-biZOa4EF.js} +3 -3
  53. package/dist/browser/{optional-enum-editor-DdsG6-RD.js → optional-enum-editor-BuzYWVhL.js} +4 -4
  54. package/dist/browser/{optional-string-editor-DdFnggla.js → optional-string-editor-1Gxph7oU.js} +4 -4
  55. package/dist/browser/{particles.min-C6YCIw7u.js → particles.min-Cq5SYO7P.js} +2 -2
  56. package/dist/browser/{react-Cq6vsgZS.js → react-BCiZTNvQ.js} +2 -2
  57. package/dist/browser/{react-dom-CioKdINL.js → react-dom-Gayzbfmi.js} +3 -3
  58. package/dist/browser/{rolldown-runtime-CEmdmqfC.js → rolldown-runtime-C4CgTizo.js} +1 -1
  59. package/dist/browser/{select-BREAzzuP.js → select-BEAG7sfR.js} +10 -10
  60. package/dist/browser/{settings-C17jPyNg.js → settings-BJrS0XMO.js} +2 -2
  61. package/dist/browser/{settings-item-BYt2Yu8n.js → settings-item-C-rqGE6m.js} +6 -6
  62. package/dist/browser/{store-BzaR1IVp.js → store-DH91iUcL.js} +7014 -7107
  63. package/dist/browser/{string-editor-XaVb33Ez.js → string-editor-fs3xB248.js} +4 -4
  64. package/dist/browser/{text-field-D70wZ5kg.js → text-field-CN-pynRC.js} +5 -5
  65. package/dist/browser/{theme-BLZVltm4.js → theme-78GgHmsO.js} +8 -8
  66. package/dist/browser/{ui-DyGGq9Ts.js → ui-BFQlKtKk.js} +8 -8
  67. package/dist/browser/{useRenderTarget-CMhjhwNe.js → useRenderTarget-CtWSXh71.js} +4 -4
  68. package/dist/esm/components/Bookmarks.js +1 -1
  69. package/dist/esm/components/Kiosk/integrateKiosk.d.ts +8 -2
  70. package/dist/esm/components/Kiosk/integrateKiosk.js +1 -1
  71. package/dist/esm/components/Kiosk/kiosk-mode.d.ts +8 -0
  72. package/dist/esm/components/Kiosk/kiosk-mode.js +1 -0
  73. package/dist/esm/components/Kiosk/kiosk-record.d.ts +5 -1
  74. package/dist/esm/components/Kiosk/kioskUrlParam.d.ts +7 -3
  75. package/dist/esm/components/Kiosk/kioskUrlParam.js +1 -1
  76. package/dist/esm/components/Map/Map.js +1 -1
  77. package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
  78. package/dist/esm/components/Maplibre/useCameraReactions.js +1 -1
  79. package/dist/esm/components/Maplibre/utils/geo-config.d.ts +32 -0
  80. package/dist/esm/components/Maplibre/utils/geo-config.js +1 -1
  81. package/dist/esm/floorplan.ready.js +1 -1
  82. package/dist/esm/services/multi-slug.d.ts +3 -3
  83. package/dist/esm/services/url-dispatch.d.ts +3 -5
  84. package/dist/esm/services/url-dispatch.js +1 -1
  85. package/dist/esm/store/BookmarksStore.d.ts +1 -4
  86. package/dist/esm/store/BookmarksStore.js +1 -2
  87. package/dist/esm/store/UIState.d.ts +8 -0
  88. package/dist/esm/store/UIState.js +1 -1
  89. package/dist/esm/store/init/index.js +1 -1
  90. package/dist/esm/store/init/init-booths.d.ts +3 -3
  91. package/dist/esm/store/init/init-booths.js +1 -1
  92. package/dist/esm/store/init/init-ui.js +1 -1
  93. package/dist/esm/utils/customCommands.js +1 -1
  94. package/dist/esm/utils/scene-bounds.d.ts +7 -0
  95. package/dist/esm/utils/scene-bounds.js +1 -1
  96. package/package.json +10 -9
  97. package/dist/esm/store/init/init-bookmarks.d.ts +0 -9
  98. package/dist/esm/store/init/init-bookmarks.js +0 -1
@@ -1,31 +1,31 @@
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.22.0" };
4
+ e.SENTRY_RELEASE = { id: "3.23.0" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "252ace16-34cb-422c-9388-e5cd6a3c8cae", e._sentryDebugIdIdentifier = "sentry-dbid-252ace16-34cb-422c-9388-e5cd6a3c8cae");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "44679cdd-b052-44a8-9d1a-ba17d346f9ea", e._sentryDebugIdIdentifier = "sentry-dbid-44679cdd-b052-44a8-9d1a-ba17d346f9ea");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-CEmdmqfC.js";
10
- import { a as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./floorplan.loader-CtqFPg5v.js";
11
- import { $ as c, At as l, C as u, Ct as d, Dt as f, Et as ee, Ft as te, G as ne, H as re, It as p, Lt as m, Mt as ie, Nt as ae, Ot as oe, Pt as se, Rt as h, St as ce, Tt as le, U as ue, V as de, at as fe, bt as pe, dt as me, f as he, gt as ge, ht as _e, jt as ve, kt as ye, l as g, n as be, nt as xe, o as Se, ot as Ce, pt as _, r as we, ut as v, v as Te, vt as Ee, wt as De, xt as Oe, y, yt as ke } from "./i18n-pREdf4o-.js";
12
- import { s as Ae } from "./efp-debug-init-BNS4_yDX.js";
13
- import { t as je } from "./react-Cq6vsgZS.js";
14
- import { t as Me } from "./jsx-runtime-BXQ7PX-y.js";
15
- import { r as Ne } from "./loadImage-CUg38cMx.js";
16
- import { C as Pe, D as Fe, Q as Ie, ht as b, i as Le, n as Re, w as ze } from "./exports-BPkLTIY6.js";
17
- import { t as Be } from "./client-BkHWS5lm.js";
18
- import { i as Ve, n as He, r as x, t as Ue } from "./components-Btgwx55F.js";
19
- import { B as We, C as Ge, F as S, G as Ke, K as qe, M as Je, P as Ye, S as C, U as Xe, V as w, X as Ze, Xt as Qe, Y as $e, at as et, b as T, c as E, cn as D, ct as tt, g as nt, hn as O, in as k, it as rt, nt as it, ot as A, qt as j, rt as at, s as M, tt as N, x as ot, y as st, yn as ct, z as P } from "./store-BzaR1IVp.js";
20
- import { n as lt, t as ut } from "./integrateKiosk-BuctRtHM.js";
9
+ import { r as e } from "./rolldown-runtime-C4CgTizo.js";
10
+ import { a as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./floorplan.loader-Ck3XnezM.js";
11
+ import { $ as c, At as l, C as u, Ct as d, Dt as f, Et as ee, Ft as te, G as ne, H as re, It as ie, Lt as ae, Mt as oe, Nt as se, Ot as ce, Pt as le, Rt as p, St as ue, Tt as de, U as fe, V as pe, _t as me, bt as he, ct as ge, dt as m, f as h, ft as _e, gt as ve, jt as ye, kt as be, l as g, lt as xe, mt as Se, n as Ce, nt as we, o as Te, pt as Ee, r as De, v as Oe, wt as ke, xt as Ae, y as je, yt as Me, zt as _ } from "./i18n-DNH3sP4D.js";
12
+ import { s as Ne } from "./efp-debug-init-B4ddpmiL.js";
13
+ import { t as Pe } from "./react-BCiZTNvQ.js";
14
+ import { t as Fe } from "./jsx-runtime-BRUHXGcL.js";
15
+ import { r as v } from "./loadImage-2JV_4hsV.js";
16
+ import { C as y, D as Ie, Q as Le, ht as b, i as Re, n as ze, w as Be } from "./exports-C5uYtLxL.js";
17
+ import { t as Ve } from "./client-CBb2454O.js";
18
+ import { i as He, n as Ue, r as x, t as We } from "./components-DyDFRZBC.js";
19
+ import { $t as Ge, B as S, C, F as Ke, H as w, I as T, K as E, N as qe, Qt as D, S as Je, V as Ye, W as Xe, X as Ze, Yt as O, Z as Qe, _ as $e, at as et, b as tt, bn as nt, c as k, it as rt, ln as A, lt as it, nt as j, ot as at, pn as M, q as ot, rt as st, s as N, st as P, ut as ct, w as lt, x as ut } from "./store-DH91iUcL.js";
20
+ import { n as dt, t as ft } from "./integrateKiosk-DN5HgMdz.js";
21
21
  //#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
22
- function dt(e = {}) {
22
+ function pt(e = {}) {
23
23
  let r = n.document, i = (r == null ? void 0 : r.head) || (r == null ? void 0 : r.body);
24
24
  if (!i) {
25
25
  a && b.error("[showReportDialog] Global document not defined");
26
26
  return;
27
27
  }
28
- let o = ze(), s = Pe(), c = s == null ? void 0 : s.getDsn();
28
+ let o = Be(), s = y(), c = s == null ? void 0 : s.getDsn();
29
29
  if (!c) {
30
30
  a && b.error("[showReportDialog] DSN not configured");
31
31
  return;
@@ -36,7 +36,7 @@ function dt(e = {}) {
36
36
  ...o.getUser(),
37
37
  ...e.user
38
38
  },
39
- eventId: e.eventId || Le()
39
+ eventId: e.eventId || Re()
40
40
  }, u = n.document.createElement("script");
41
41
  u.async = !0, u.crossOrigin = "anonymous", u.src = t(c, l);
42
42
  let { onLoad: d, onClose: f } = l;
@@ -54,12 +54,12 @@ function dt(e = {}) {
54
54
  }
55
55
  //#endregion
56
56
  //#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/error.js
57
- var F = /* @__PURE__ */ e(je());
58
- function ft(e) {
57
+ var F = /* @__PURE__ */ e(Pe());
58
+ function mt(e) {
59
59
  let t = e.match(/^([^.]+)/);
60
60
  return t !== null && parseInt(t[0]) >= 17;
61
61
  }
62
- function pt(e, t) {
62
+ function ht(e, t) {
63
63
  let n = /* @__PURE__ */ new WeakSet();
64
64
  function r(e, t) {
65
65
  if (!n.has(e)) {
@@ -69,25 +69,25 @@ function pt(e, t) {
69
69
  }
70
70
  r(e, t);
71
71
  }
72
- function mt(e, { componentStack: t }, n) {
73
- if (ft(F.version) && Ie(e) && t) {
72
+ function gt(e, { componentStack: t }, n) {
73
+ if (mt(F.version) && Le(e) && t) {
74
74
  let n = Error(e.message);
75
- n.name = `React ErrorBoundary ${e.name}`, n.stack = t, pt(e, n);
75
+ n.name = `React ErrorBoundary ${e.name}`, n.stack = t, ht(e, n);
76
76
  }
77
- return Re(e, n);
77
+ return ze(e, n);
78
78
  }
79
79
  //#endregion
80
80
  //#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/debug-build.js
81
- var ht = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, I = {
81
+ var _t = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, I = {
82
82
  componentStack: null,
83
83
  error: null,
84
84
  eventId: null
85
- }, gt = class extends F.Component {
85
+ }, vt = class extends F.Component {
86
86
  constructor(e) {
87
87
  super(e), this.state = I, this._openFallbackReportDialog = !0;
88
- let t = Pe();
88
+ let t = y();
89
89
  t && e.showDialog && (this._openFallbackReportDialog = !1, this._cleanupHook = t.on("afterSendEvent", (t) => {
90
- !t.type && this._lastEventId && t.event_id === this._lastEventId && dt({
90
+ !t.type && this._lastEventId && t.event_id === this._lastEventId && pt({
91
91
  ...e.dialogOptions,
92
92
  eventId: this._lastEventId
93
93
  });
@@ -95,13 +95,13 @@ var ht = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, I = {
95
95
  }
96
96
  componentDidCatch(e, t) {
97
97
  let { componentStack: n } = t, { beforeCapture: r, onError: i, showDialog: a, dialogOptions: o } = this.props;
98
- Fe((s) => {
98
+ Ie((s) => {
99
99
  r && r(s, e, n);
100
- let c = mt(e, t, { mechanism: {
100
+ let c = gt(e, t, { mechanism: {
101
101
  handled: this.props.handled == null ? !!this.props.fallback : this.props.handled,
102
102
  type: "auto.function.react.error_boundary"
103
103
  } });
104
- i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog && dt({
104
+ i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog && pt({
105
105
  ...o,
106
106
  eventId: c
107
107
  })), this.setState({
@@ -132,22 +132,22 @@ var ht = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, I = {
132
132
  resetError: () => this.resetErrorBoundary(),
133
133
  eventId: n.eventId
134
134
  }) : e;
135
- return F.isValidElement(r) ? r : (e && ht && b.warn("fallback did not produce a valid ReactElement"), null);
135
+ return F.isValidElement(r) ? r : (e && _t && b.warn("fallback did not produce a valid ReactElement"), null);
136
136
  }
137
- }, _t = /* @__PURE__ */ e(Ae(), 1), vt = Be(), yt = ct();
138
- function bt(e) {
137
+ }, yt = /* @__PURE__ */ e(Ne(), 1), bt = Ve(), xt = nt();
138
+ function St(e) {
139
139
  var t;
140
- let n = new URLSearchParams(window.location.search).get(de), r = g ? window.localStorage.getItem(de) : null, i = n == null ? r : n;
141
- return i == null ? g && Ze() != null || Object.keys((t = e.kiosk) == null ? {} : t).length > 0 : i === "1";
140
+ let n = new URLSearchParams(window.location.search).get(pe), r = g ? window.localStorage.getItem(pe) : null, i = n == null ? r : n;
141
+ return i == null ? g && Qe() != null || Object.keys((t = e.kiosk) == null ? {} : t).length > 0 : i === "1";
142
142
  }
143
- function xt() {
143
+ function L() {
144
144
  let e = window.location.hostname.split(".");
145
145
  return e.length >= 3 && e[e.length - 2] === "expofp" && e[e.length - 1] === "com";
146
146
  }
147
- function St() {
148
- return xt() ? window.location.hostname.split(".")[0] : "main";
147
+ function Ct() {
148
+ return L() ? window.location.hostname.split(".")[0] : "main";
149
149
  }
150
- function Ct(e) {
150
+ function wt(e) {
151
151
  if ((e == null ? void 0 : e.free) === !0) return "Free";
152
152
  let t = e == null ? void 0 : e.trialExpiresAt;
153
153
  if (t) {
@@ -156,25 +156,25 @@ function Ct(e) {
156
156
  }
157
157
  return "Active";
158
158
  }
159
- function wt() {
159
+ function Tt() {
160
160
  return !1;
161
161
  }
162
- function Tt(e) {
162
+ function Et(e) {
163
163
  return e;
164
164
  }
165
- function Et(e) {
166
- if (wt() || !xt() || bt(e) || !window.navigator.onLine) return null;
167
- let t = Tt({
168
- subDomain: St(),
169
- subscriptionStatus: Ct(e)
165
+ function Dt(e) {
166
+ if (Tt() || !L() || St(e) || !window.navigator.onLine) return null;
167
+ let t = Et({
168
+ subDomain: Ct(),
169
+ subscriptionStatus: wt(e)
170
170
  });
171
171
  return t.subDomain !== "demo" && t.subscriptionStatus !== "Free" && t.subscriptionStatus !== "Trial Expired" ? null : t;
172
172
  }
173
173
  //#endregion
174
174
  //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/mini/schemas.js
175
- var L = /*@__PURE__*/ m("ZodMiniType", (e, t) => {
175
+ var R = /*@__PURE__*/ p("ZodMiniType", (e, t) => {
176
176
  if (!e._zod) throw Error("Uninitialized schema in ZodMiniType.");
177
- ye.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => l(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => ie(e, t, n), e.parseAsync = async (t, n) => ve(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => ae(e, t, n), e.check = (...n) => {
177
+ l.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => ye(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => se(e, t, n), e.parseAsync = async (t, n) => oe(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => le(e, t, n), e.check = (...n) => {
178
178
  var r;
179
179
  return e.clone({
180
180
  ...t,
@@ -184,95 +184,95 @@ var L = /*@__PURE__*/ m("ZodMiniType", (e, t) => {
184
184
  onattach: []
185
185
  } } : e)]
186
186
  }, { parent: !0 });
187
- }, e.with = e.check, e.clone = (t, n) => se(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.apply = (t) => t(e);
188
- }), Dt = /*@__PURE__*/ m("ZodMiniString", (e, t) => {
189
- oe.init(e, t), L.init(e, t);
187
+ }, e.with = e.check, e.clone = (t, n) => te(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.apply = (t) => t(e);
188
+ }), Ot = /*@__PURE__*/ p("ZodMiniString", (e, t) => {
189
+ be.init(e, t), R.init(e, t);
190
190
  });
191
191
  // @__NO_SIDE_EFFECTS__
192
- function R(e) {
193
- return Oe(Dt, e);
192
+ function kt(e) {
193
+ return ue(Ot, e);
194
194
  }
195
- var Ot = /*@__PURE__*/ m("ZodMiniNumber", (e, t) => {
196
- le.init(e, t), L.init(e, t);
195
+ var At = /*@__PURE__*/ p("ZodMiniNumber", (e, t) => {
196
+ ee.init(e, t), R.init(e, t);
197
197
  });
198
198
  // @__NO_SIDE_EFFECTS__
199
199
  function z(e) {
200
- return ke(Ot, e);
200
+ return he(At, e);
201
201
  }
202
- var kt = /*@__PURE__*/ m("ZodMiniNever", (e, t) => {
203
- De.init(e, t), L.init(e, t);
202
+ var jt = /*@__PURE__*/ p("ZodMiniNever", (e, t) => {
203
+ de.init(e, t), R.init(e, t);
204
204
  });
205
205
  // @__NO_SIDE_EFFECTS__
206
- function At(e) {
207
- return Ee(kt, e);
206
+ function Mt(e) {
207
+ return Me(jt, e);
208
208
  }
209
- var jt = /*@__PURE__*/ m("ZodMiniArray", (e, t) => {
210
- ce.init(e, t), L.init(e, t);
209
+ var Nt = /*@__PURE__*/ p("ZodMiniArray", (e, t) => {
210
+ d.init(e, t), R.init(e, t);
211
211
  });
212
212
  // @__NO_SIDE_EFFECTS__
213
- function Mt(e, t) {
214
- return new jt({
213
+ function Pt(e, t) {
214
+ return new Nt({
215
215
  type: "array",
216
216
  element: e,
217
- ...p(t)
217
+ ...ae(t)
218
218
  });
219
219
  }
220
- var Nt = /*@__PURE__*/ m("ZodMiniObject", (e, t) => {
221
- ee.init(e, t), L.init(e, t), te(e, "shape", () => t.shape);
220
+ var Ft = /*@__PURE__*/ p("ZodMiniObject", (e, t) => {
221
+ f.init(e, t), R.init(e, t), ie(e, "shape", () => t.shape);
222
222
  });
223
223
  // @__NO_SIDE_EFFECTS__
224
224
  function B(e, t) {
225
- return new Nt({
225
+ return new Ft({
226
226
  type: "object",
227
227
  shape: e,
228
- catchall: /* @__PURE__ */ At(),
229
- ...p(t)
228
+ catchall: /* @__PURE__ */ Mt(),
229
+ ...ae(t)
230
230
  });
231
231
  }
232
- var Pt = /*@__PURE__*/ m("ZodMiniOptional", (e, t) => {
233
- f.init(e, t), L.init(e, t);
232
+ var It = /*@__PURE__*/ p("ZodMiniOptional", (e, t) => {
233
+ ce.init(e, t), R.init(e, t);
234
234
  });
235
235
  // @__NO_SIDE_EFFECTS__
236
236
  function V(e) {
237
- return new Pt({
237
+ return new It({
238
238
  type: "optional",
239
239
  innerType: e
240
240
  });
241
241
  }
242
- var Ft = /*@__PURE__*/ m("ZodMiniCustom", (e, t) => {
243
- d.init(e, t), L.init(e, t);
242
+ var Lt = /*@__PURE__*/ p("ZodMiniCustom", (e, t) => {
243
+ ke.init(e, t), R.init(e, t);
244
244
  });
245
245
  // @__NO_SIDE_EFFECTS__
246
- function It(e, t = {}) {
247
- return pe(Ft, e, t);
246
+ function Rt(e, t = {}) {
247
+ return Ae(Lt, e, t);
248
248
  }
249
249
  //#endregion
250
250
  //#region src/schemas/sdk.schemas.ts
251
- var Lt = /* @__PURE__ */ B({
251
+ var zt = /* @__PURE__ */ B({
252
252
  x: /* @__PURE__ */ z(),
253
253
  y: /* @__PURE__ */ z()
254
- }), Rt = /* @__PURE__ */ B({
255
- leftTop: Lt,
256
- rightBottom: Lt
257
- }), zt = (/* @__PURE__ */ B({
258
- name: /* @__PURE__ */ V(/* @__PURE__ */ R()),
259
- externalId: /* @__PURE__ */ V(/* @__PURE__ */ R())
260
- })).check(/* @__PURE__ */ It((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")), Bt = (/* @__PURE__ */ B({
261
- booths: /* @__PURE__ */ V(/* @__PURE__ */ Mt(zt)),
262
- exhibitors: /* @__PURE__ */ V(/* @__PURE__ */ Mt(zt))
263
- })).check(/* @__PURE__ */ It((e) => {
254
+ }), Bt = /* @__PURE__ */ B({
255
+ leftTop: zt,
256
+ rightBottom: zt
257
+ }), Vt = (/* @__PURE__ */ B({
258
+ name: /* @__PURE__ */ V(/* @__PURE__ */ kt()),
259
+ externalId: /* @__PURE__ */ V(/* @__PURE__ */ kt())
260
+ })).check(/* @__PURE__ */ Rt((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")), Ht = (/* @__PURE__ */ B({
261
+ booths: /* @__PURE__ */ V(/* @__PURE__ */ Pt(Vt)),
262
+ exhibitors: /* @__PURE__ */ V(/* @__PURE__ */ Pt(Vt))
263
+ })).check(/* @__PURE__ */ Rt((e) => {
264
264
  var t, n;
265
265
  return !!((t = e.booths) != null && t.length || (n = e.exhibitors) != null && n.length);
266
- }, "Selector must contain booths or exhibitors")), Vt = /* @__PURE__ */ V(/* @__PURE__ */ B({ padding: /* @__PURE__ */ V(/* @__PURE__ */ z()) }));
266
+ }, "Selector must contain booths or exhibitors")), Ut = /* @__PURE__ */ V(/* @__PURE__ */ B({ padding: /* @__PURE__ */ V(/* @__PURE__ */ z()) }));
267
267
  //#endregion
268
268
  //#region src/components/Kiosk/recoverKioskFromUrlPrams.ts
269
- function Ht(e) {
270
- let t = nt(e);
271
- Object.values(t).length && (ut(t, !1), lt(t));
269
+ function Wt(e) {
270
+ let t = $e(e);
271
+ Object.values(t).length && (ft(t, !1), dt(t));
272
272
  }
273
273
  //#endregion
274
274
  //#region src/utils/getMostFrequent.ts
275
- function Ut(e) {
275
+ function Gt(e) {
276
276
  let t = {}, n = 0, r;
277
277
  return e.forEach((e) => {
278
278
  t[e] = (t[e] || 0) + 1, t[e] > n && (n = t[e], r = e);
@@ -280,68 +280,66 @@ function Ut(e) {
280
280
  }
281
281
  //#endregion
282
282
  //#region src/services/multi-slug.ts
283
- function Wt(e, t) {
283
+ function Kt(e, t) {
284
284
  if (!e.includes("&") && !e.includes("%26")) return null;
285
- let n = e.startsWith("?") ? e.slice(1) : e, r = n.includes("&") ? "&" : "%26", i = n.split(r), a = (e) => !!e && !_(e).includes("=");
285
+ let n = e.startsWith("?") ? e.slice(1) : e, r = n.includes("&") ? "&" : "%26", i = n.split(r), a = (e) => !!e && !m(e).includes("=");
286
286
  return i.filter(a).length < 2 ? null : "?" + i.map((e) => a(e) && t(e) || e).join("&");
287
287
  }
288
288
  //#endregion
289
289
  //#region src/services/url-dispatch.ts
290
290
  var H = !1;
291
- function Gt() {
292
- tn(h()), u(() => M.layerStore.layersLoaded, () => {
293
- let e = h().camera;
294
- Object.keys(e).length && G(x(e));
295
- let t = h().visibility;
296
- Object.keys(t).length && E.setVisibility(t);
291
+ function qt() {
292
+ G(_()), u(() => N.layerStore.layersLoaded, () => {
293
+ let e = _().camera;
294
+ Object.keys(e).length && dn(x(e));
295
+ let t = _().visibility;
296
+ Object.keys(t).length && k.setVisibility(t);
297
297
  });
298
298
  }
299
- function Kt(e) {
300
- rt({
299
+ function Jt(e) {
300
+ et({
301
301
  offHistory: e,
302
302
  onNavigate: W
303
- }), Zt(), U(), u(() => M.layerStore.layersLoaded, () => {
304
- M.urlFilterManager && !M.urlFilterManager.isInitialized && M.urlFilterManager.initialize(), W(), he(ln), he(sn), E.viewerMode && (E.menu = !0);
303
+ }), $t(), U(), u(() => N.layerStore.layersLoaded, () => {
304
+ N.urlFilterManager && !N.urlFilterManager.isInitialized && N.urlFilterManager.initialize(), W(), h(un), h(cn), k.viewerMode && (k.menu = !0);
305
305
  });
306
306
  }
307
- function qt(e = "") {
308
- A("?" + _(e.toString())), M.layerStore.layersLoaded ? Jt(e) : (U(), u(() => M.layerStore.layersLoaded, () => Jt(e)));
307
+ function Yt(e = "") {
308
+ P("?" + m(e.toString())), N.layerStore.layersLoaded ? Xt(e) : (U(), u(() => N.layerStore.layersLoaded, () => Xt(e)));
309
309
  }
310
- function Jt(e) {
311
- var t;
312
- let n = "?" + _(e), r = nn(n);
313
- tn(r), r.consent && qe(r.consent), r.camera && Object.keys(r.camera).length && G(x(r.camera)), r.visibility && Object.keys(r.visibility).length && E.setVisibility(r.visibility), Zt(), W();
314
- let i = [...(t = r.intents) == null ? [] : t, ...fe(n).intents];
315
- i.length && o(M.fp, i);
310
+ function Xt(e) {
311
+ var t, n;
312
+ let r = "?" + m(e), i = rn(r), a = [...(t = i.intents) == null ? [] : t, ...Ee(r).intents], { intents: s = [], ...c } = _e(r, {
313
+ visibility: i.visibility,
314
+ consent: i.consent,
315
+ intents: a
316
+ });
317
+ G(i), G(c);
318
+ let l = (n = i.consent) == null ? c.consent : n;
319
+ l && ot(l), i.camera && Object.keys(i.camera).length && dn(x(i.camera)), i.visibility && Object.keys(i.visibility).length && k.setVisibility(i.visibility), $t(), W();
320
+ let u = [...a, ...s];
321
+ u.length && o(N.fp, u);
316
322
  }
317
323
  function U() {
318
- let e = N();
319
- return He(e.length > 1 ? _(e.substring(1)) : "");
324
+ let e = j();
325
+ return Ue(e.length > 1 ? m(e.substring(1)) : "");
320
326
  }
321
327
  function W() {
322
328
  H = !0;
323
329
  try {
324
- Ht(new URLSearchParams(_(window.location.search)));
325
- let { primary: e, oneShots: t } = v(N()), n = t.find((e) => e.type === "camera");
326
- if (n) {
327
- let e = n.roll;
328
- G({
329
- ...x(n.camera),
330
- roll: e
331
- });
332
- }
333
- let r = e.type === "select" && (!e.slug || /^t=[^&]*$/.test(e.slug)) && (E.heatmap || E.heatmapYah);
334
- !U() && !r && Yt(e);
330
+ Wt(new URLSearchParams(m(window.location.search)));
331
+ let { primary: e } = ge(j()), t = e.type === "select" && (!e.slug || /^t=[^&]*$/.test(e.slug)) && (k.heatmap || k.heatmapYah);
332
+ !U() && !t && Zt(e);
335
333
  } finally {
336
334
  H = !1;
337
335
  }
338
- sn(), ln();
336
+ cn(), un();
339
337
  }
340
- function Yt(e) {
341
- let t = M.fp;
338
+ function Zt(e) {
339
+ let t = N.fp;
342
340
  switch (e.type) {
343
341
  case "kiosk":
344
- e.enabled === !0 ? E.kiosk = !0 : e.enabled === !1 && (E.kiosk = !1, E.resetUIScale());
342
+ e.enabled !== null && ct(k, e.enabled);
345
343
  return;
346
344
  case "list":
347
345
  t.showList(e.list);
@@ -358,31 +356,13 @@ function Yt(e) {
358
356
  return;
359
357
  case "route":
360
358
  var n, r;
361
- M.routeStore.setOnlyAccessible(e.accessible), M.routeStore.selectRoute(ot((n = e.from) == null ? "" : n, (r = e.to) == null ? "" : r, e.waypoints)), M.uiState.setIsMultiPointRoute(e.waypoints.length > 0), e.title && M.uiState.setRouteTitle(e.title);
362
- return;
363
- case "language":
364
- we(e.langId) && Se(e.langId);
365
- return;
366
- case "printPdf":
367
- M.uiState.printingPdf = !0;
368
- return;
369
- case "visibility":
370
- M.uiState.setVisibility(e.hidden.reduce((e, t) => ({
371
- ...e,
372
- [t]: !1
373
- }), {}));
374
- return;
375
- case "buildRoute":
376
- t.startBuildRoute();
377
- return;
378
- case "pathway":
379
- Xt(e);
359
+ N.routeStore.setOnlyAccessible(e.accessible), N.routeStore.selectRoute(Je((n = e.from) == null ? "" : n, (r = e.to) == null ? "" : r, e.waypoints)), N.uiState.setIsMultiPointRoute(e.waypoints.length > 0), e.title && N.uiState.setRouteTitle(e.title);
380
360
  return;
381
361
  case "selectExhibitors":
382
362
  setTimeout(() => t.selectExhibitor(e.values), 250);
383
363
  return;
384
364
  case "ownedByFilters":
385
- Ne.log("Skipping filter parameters in dispatchFromUrl (owned by URLFilterManager)");
365
+ v.log("Skipping filter parameters in dispatchFromUrl (owned by URLFilterManager)");
386
366
  return;
387
367
  case "ownedByConfig": return;
388
368
  case "select":
@@ -390,102 +370,88 @@ function Yt(e) {
390
370
  return;
391
371
  }
392
372
  }
393
- function Xt(e) {
394
- let { pathwayId: t, boothIds: n, exhibitorIds: r, tourId: i } = e;
395
- if (i) {
396
- let e = M.toursStore.getTourById(i);
397
- e && y(() => {
398
- var t;
399
- M.uiState.setTourTitle(e.name), M.uiState.setTourDescription((t = e.description) == null ? "" : t), M.uiState.setIsMultiPointTour(!0), M.uiState.setMultiPointTourList(e.id);
400
- });
401
- }
402
- let a = M.boothStore.booths.filter((e) => n.includes(e.externalId)), o = M.exhibitorStore.exhibitors.filter((e) => r.includes(e.externalId)).flatMap((e) => e.booths), s = [...a, ...o];
403
- if (Qe()) {
404
- let e = Ut(s.map((e) => e.layer.name));
405
- e && M.fp.activateFloor({ name: e });
373
+ function Qt(e) {
374
+ let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i = N.boothStore.booths.filter((e) => n.includes(e.externalId)), a = N.exhibitorStore.exhibitors.filter((e) => r.includes(e.externalId)).flatMap((e) => e.booths), o = [...i, ...a];
375
+ if (Ge()) {
376
+ let e = Gt(o.map((e) => e.layer.name));
377
+ e && N.fp.activateFloor({ name: e });
406
378
  }
407
- (n.length > 0 || r.length > 0) && M.fp.highlightEntities([...n, ...r]), M.layerStore.showPathWay(t), s.length > 0 && y(() => {
408
- M.uiState.moveToRect = D.fromUnion(...s.map((e) => e.rect).filter(Boolean)), M.uiState.rollReset = !0;
379
+ (n.length > 0 || r.length > 0) && N.fp.highlightEntities([...n, ...r]), N.layerStore.showPathWay(t), o.length > 0 && je(() => {
380
+ N.uiState.moveToRect = M.fromUnion(...o.map((e) => e.rect).filter(Boolean)), N.uiState.rollReset = !0;
409
381
  });
410
382
  }
411
- function Zt() {
412
- let e = N(), { oneShots: t } = v(e);
413
- for (let e of t) Qt(e);
414
- e.startsWith("?preview=") && A("?"), N().includes("copy_exh") && A("?");
415
- let n = We(N());
416
- n !== null && A("?" + n), E.previewExhibitor && A("?" + E.previewExhibitor.slug), en();
383
+ function $t() {
384
+ let { oneShots: e } = ge(j());
385
+ for (let t of e) en(t);
386
+ let t = Ye(j());
387
+ t !== null && P("?" + t), k.previewExhibitor && P("?" + k.previewExhibitor.slug), nn();
417
388
  }
418
- function Qt(e) {
389
+ function en(e) {
419
390
  switch (e.type) {
420
391
  case "heatmap":
421
- $t(e.yah);
392
+ tn(e.yah);
422
393
  return;
423
394
  case "blueDot": {
424
395
  var t, n;
425
- let r = new st(e.x, e.y, (t = M.layerStore.findLayer((n = e.layer) == null ? "" : n)) == null ? void 0 : t.name, void 0, e.lat, e.lng);
426
- u(() => M.layerStore.layersLoaded, () => M.routeStore.selectCurrentPosition(r, !0, 1));
396
+ let r = new tt(e.x, e.y, (t = N.layerStore.findLayer((n = e.layer) == null ? "" : n)) == null ? void 0 : t.name, void 0, e.lat, e.lng);
397
+ u(() => N.layerStore.layersLoaded, () => N.routeStore.selectCurrentPosition(r, !0, 1));
427
398
  return;
428
399
  }
429
400
  case "viewerMode":
430
- g && (e.enabled ? localStorage.setItem(xe, "true") : (localStorage.removeItem(xe), localStorage.removeItem(ne)));
401
+ g && (e.enabled ? localStorage.setItem(we, "true") : (localStorage.removeItem(we), localStorage.removeItem(ne)));
431
402
  return;
432
403
  case "previewMode":
433
- g && (e.enabled ? localStorage.setItem(c, "true") : (localStorage.removeItem(c), localStorage.removeItem(ue)));
404
+ g && (e.enabled ? localStorage.setItem(c, "true") : (localStorage.removeItem(c), localStorage.removeItem(fe)));
434
405
  return;
435
406
  case "uiScale":
436
- e.scale === null ? Ne.warn(`Invalid ui-scale parameter: ${e.raw}. Must be a number between 0.8 and 1.4.`) : M.uiState.setUIScale(e.scale, !0);
407
+ e.scale === null ? v.warn(`Invalid ui-scale parameter: ${e.raw}. Must be a number between 0.8 and 1.4.`) : N.uiState.setUIScale(e.scale, !0);
437
408
  return;
438
409
  case "resetUiScale":
439
- M.uiState.resetUIScale();
440
- return;
441
- case "legacyBookmarks": {
442
- let t = e.appendExhibitorId === null ? void 0 : M.exhibitorStore.exhibitorById.get(e.appendExhibitorId);
443
- A(t ? "?" + t.slug : "?bookmarks");
410
+ N.uiState.resetUIScale();
444
411
  return;
445
- }
446
412
  }
447
413
  }
448
- function $t(e) {
449
- at(), e ? (E.heatmapYah = !0, E.monochrome = !0, E.hideLogoInBooth = !0, E.hideHeaderLogo = !0, E.disableBookmarked = !0) : E.heatmap = !0;
414
+ function tn(e) {
415
+ rt(), e ? (k.heatmapYah = !0, k.monochrome = !0, k.hideLogoInBooth = !0, k.hideHeaderLogo = !0, k.disableBookmarked = !0) : k.heatmap = !0;
450
416
  }
451
- function en() {
452
- let e = Wt(N(), (e) => {
453
- let t = M.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
417
+ function nn() {
418
+ let e = Kt(j(), (e) => {
419
+ let t = N.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
454
420
  return t == null ? void 0 : t.name;
455
421
  });
456
- e !== null && A(e);
422
+ e !== null && P(e);
457
423
  }
458
- function tn(e) {
459
- e.noOverlay !== void 0 && (E.hideOverlay = e.noOverlay), e.monochrome && (E.monochrome = !0), e.hideHeaderLogo && (E.hideHeaderLogo = !0), e.hideLogoInBooth && (E.hideLogoInBooth = !0), e.disableFeatured && M.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (E.disableBookmarked = !0), e.disableGps && M.routeStore.setGpsTrackingEnabled(!1), e.heatmap && r(e.heatmap) && $t(e.heatmap.variant === "yah");
424
+ function G(e) {
425
+ e.noOverlay !== void 0 && (k.hideOverlay = e.noOverlay), e.monochrome && (k.monochrome = !0), e.hideHeaderLogo && (k.hideHeaderLogo = !0), e.hideLogoInBooth && (k.hideLogoInBooth = !0), e.disableFeatured && N.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (k.disableBookmarked = !0), e.disableGps && N.routeStore.setGpsTrackingEnabled(!1), e.heatmap && r(e.heatmap) && tn(e.heatmap.variant === "yah");
460
426
  }
461
- function nn(e) {
462
- return Ce(_e, e).value;
427
+ function rn(e) {
428
+ return Se(ve, e).value;
463
429
  }
464
- var rn = null, an = null, on = null;
465
- function sn() {
466
- let { selection: e, exhibitor: t, booth: n, eventItem: r } = cn(), i = M.urlFilterManager.filterSearch();
430
+ var an = null, on = null, sn = null;
431
+ function cn() {
432
+ let { selection: e, exhibitor: t, booth: n, eventItem: r } = ln(), i = N.urlFilterManager.filterSearch();
467
433
  if (H) return;
468
- let a = me(e) || i;
469
- N() !== a && (t !== rn || n !== an || r !== on ? et(a) : A(a), rn = t, an = n, on = r);
434
+ let a = xe(e) || i;
435
+ j() !== a && (t !== an || n !== on || r !== sn ? at(a) : P(a), an = t, on = n, sn = r);
470
436
  }
471
- function cn() {
472
- let e = E.selectedExhibitor, t = E.selectedBooth, n = E.selectedEventItem, r = E.selectedRoute, i = E.selectedSpeaker, a = E.setKioskModeEnabled, o = E.list, s;
437
+ function ln() {
438
+ let e = k.selectedExhibitor, t = k.selectedBooth, n = k.selectedEventItem, r = k.selectedRoute, i = k.selectedSpeaker, a = k.setKioskModeEnabled, o = k.list, s;
473
439
  if (o.type === "route-planner" && !e && !t && !n) {
474
440
  var c;
475
- let e = M.routePlannerStore;
441
+ let e = N.routePlannerStore;
476
442
  s = {
477
443
  type: "planner",
478
444
  fromBookmarks: e.source === "bookmarks",
479
445
  items: e.items.map((e) => e.entity.slug).filter(Boolean),
480
446
  from: ((c = e.startPoint) == null ? void 0 : c.slug) || void 0
481
447
  };
482
- } else if (r && !E.isMultiPointRoute) {
448
+ } else if (r && !k.isMultiPointRoute) {
483
449
  var l;
484
450
  s = {
485
451
  type: "route",
486
- to: r.to instanceof j ? r.to.slug : void 0,
487
- from: r.from instanceof j ? r.from.slug : void 0,
488
- accessible: M.routeStore.onlyAccessible,
452
+ to: r.to instanceof O ? r.to.slug : void 0,
453
+ from: r.from instanceof O ? r.from.slug : void 0,
454
+ accessible: N.routeStore.onlyAccessible,
489
455
  waypoints: (l = r.waypoints) == null ? void 0 : l.map((e) => e.slug)
490
456
  };
491
457
  } else if (e) s = {
@@ -522,7 +488,7 @@ function cn() {
522
488
  var u, d;
523
489
  s = {
524
490
  type: "slug",
525
- slug: (u = (d = E.selectedCategory) == null ? void 0 : d.slug) == null ? "" : u
491
+ slug: (u = (d = k.selectedCategory) == null ? void 0 : d.slug) == null ? "" : u
526
492
  };
527
493
  break;
528
494
  case "search":
@@ -553,15 +519,15 @@ function cn() {
553
519
  eventItem: n
554
520
  };
555
521
  }
556
- function ln() {
557
- let e = E.selectedExhibitor, t = E.selectedEventItem, n = E.selectedSpeaker, r = "";
558
- e ? r = e.name : t ? r = t.name : n ? r = n.name : E.list.type === "search" && E.list.text ? r = "`" + (E.list.text || "") + "`" : E.list.type === "multi-point-tour" && E.tourTitle && (r = E.tourTitle), r.length && (r += " – "), r += k.title, k.subtitle && (r += " – " + k.subtitle), r += " – Expo Floor Plan by ExpoFP", document.title = r;
522
+ function un() {
523
+ let e = k.selectedExhibitor, t = k.selectedEventItem, n = k.selectedSpeaker, r = "";
524
+ e ? r = e.name : t ? r = t.name : n ? r = n.name : k.list.type === "search" && k.list.text ? r = "`" + (k.list.text || "") + "`" : k.list.type === "multi-point-tour" && k.tourTitle && (r = k.tourTitle), r.length && (r += " – "), r += A.title, A.subtitle && (r += " – " + A.subtitle), r += " – Expo Floor Plan by ExpoFP", document.title = r;
559
525
  }
560
- function G(e) {
526
+ function dn(e) {
561
527
  try {
562
- if (E.setMapSettings(e), e.z) {
563
- let t = M.layerStore.layers.find((t) => t.name === e.z);
564
- t && M.layerStore.updateVisibility(t, !0);
528
+ if (k.setMapSettings(e), e.z) {
529
+ let t = N.layerStore.layers.find((t) => t.name === e.z);
530
+ t && N.layerStore.updateVisibility(t, !0);
565
531
  }
566
532
  } catch (e) {
567
533
  console.error("Failed to process map settings.", e);
@@ -569,14 +535,14 @@ function G(e) {
569
535
  }
570
536
  //#endregion
571
537
  //#region src/tools/reset.ts
572
- function un() {
538
+ function fn() {
573
539
  K("floorplan"), K("__searchi"), K("__mobxGlobals"), K("__store"), K("__mobxInstanceCount");
574
540
  for (let e in window) e !== "__efpStyleElements" && (e.includes("__fp") || e.includes("__efp")) && K(e);
575
541
  }
576
542
  function K(e) {
577
- dn(e) ? delete window[e] : window[e] = void 0;
543
+ pn(e) ? delete window[e] : window[e] = void 0;
578
544
  }
579
- function dn(e) {
545
+ function pn(e) {
580
546
  let t = Object.getOwnPropertyDescriptor(window, e);
581
547
  return t && t.configurable;
582
548
  }
@@ -654,33 +620,33 @@ function Y(e) {
654
620
  }
655
621
  //#endregion
656
622
  //#region src/floorplan.ready.tsx
657
- var X = Me(), Z = (0, _t.default)("efp:api");
658
- (0, yt.install)();
659
- var fn = class extends s {
623
+ var X = Fe(), Z = (0, yt.default)("efp:api");
624
+ (0, xt.install)();
625
+ var mn = class extends s {
660
626
  constructor(...e) {
661
627
  super(...e), this.root = void 0;
662
628
  }
663
629
  init() {
664
- Gt(), this.ignoreQuery || Kt(this.offHistory), $e("load"), M.fp = this, qe(this.consent), Ke(w.Load, ""), this.root = (0, vt.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, X.jsx)(gt, { children: /* @__PURE__ */ (0, X.jsx)(Ue, {
630
+ qt(), this.ignoreQuery || Jt(this.offHistory), Ze("load"), N.fp = this, ot(this.consent), E(w.Load, ""), this.root = (0, bt.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, X.jsx)(vt, { children: /* @__PURE__ */ (0, X.jsx)(We, {
665
631
  offHistory: this.offHistory,
666
632
  consent: this.consent
667
- }) })), Ke(w.Rendered, ""), Te(() => M.layerStore.layersLoaded, () => {
668
- if (this.resolveReady(), !M.initialized) {
633
+ }) })), E(w.Rendered, ""), Oe(() => N.layerStore.layersLoaded, () => {
634
+ if (this.resolveReady(), !N.initialized) {
669
635
  var e;
670
636
  (e = this.onInit) == null || e.call(this, this);
671
637
  }
672
- M.initialized = !0;
638
+ N.initialized = !0;
673
639
  });
674
- let e = Et(k);
675
- e && import("./bootIntercom-CkHVzOj8.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
640
+ let e = Dt(A);
641
+ e && import("./bootIntercom-BB5HdKln.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
676
642
  }
677
643
  selectBooth(e) {
678
644
  if (typeof e != "string" && !Array.isArray(e)) {
679
645
  $("selectBooth", "Parameter must be a string or an array of strings.", "EFP000000");
680
646
  return;
681
647
  }
682
- let t = M.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
683
- M.selectBooth(t);
648
+ let t = N.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
649
+ N.selectBooth(t);
684
650
  }
685
651
  selectExhibitor(e) {
686
652
  if (typeof e != "string" && !Array.isArray(e)) {
@@ -688,39 +654,35 @@ var fn = class extends s {
688
654
  return;
689
655
  }
690
656
  if (!(e != null && e.length)) {
691
- M.uiState.menu = !1, M.searchStore.resetSearchBox(), M.uiState.details = null;
657
+ N.uiState.menu = !1, N.searchStore.resetSearchBox(), N.uiState.details = null;
692
658
  return;
693
659
  }
694
- let t = M.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
660
+ let t = N.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
695
661
  if (!(t != null && t.length)) return;
696
662
  if (typeof e == "string") {
697
- M.selectExhibitor(t[0]), M.moveToList([t[0]]);
663
+ N.selectExhibitor(t[0]), N.moveToList([t[0]]);
698
664
  return;
699
665
  }
700
- let n = t.flatMap((e) => e.booths.map((e) => e.layer)), { description: r } = n.reduce((e, t) => (e.freq[t.description] = (e.freq[t.description] || 0) + 1, e.freq[t.description] > e.maxCount && (e.maxCount = e.freq[t.description], e.mostFrequent = t), e), {
701
- freq: {},
702
- mostFrequent: n[0],
703
- maxCount: 0
704
- }).mostFrequent;
705
- M.layerStore.updateVisibility(r, !0), M.uiState.menu = !1, M.searchStore.resetSearchBox(), M.uiState.details = null, M.uiState.list = {
666
+ let n = Gt(t.flatMap((e) => e.booths.map((e) => e.layer)).map((e) => e.description));
667
+ n && N.layerStore.updateVisibility(n, !0), N.uiState.menu = !1, N.searchStore.resetSearchBox(), N.uiState.details = null, N.uiState.list = {
706
668
  type: "filter",
707
669
  items: t,
708
670
  query: {
709
671
  key: "exhibitors",
710
- value: t.map((e) => e.externalId).join(",")
672
+ value: t.map((e) => e.name).join(",")
711
673
  }
712
- }, M.moveToList();
674
+ }, N.moveToList();
713
675
  }
714
676
  highlightExhibitors(e) {
715
- Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), M.boothStore.highlightedByExternalIds = [], M.exhibitorStore.highlightedByExternalIds = [...e];
677
+ Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), N.boothStore.highlightedByExternalIds = [], N.exhibitorStore.highlightedByExternalIds = [...e];
716
678
  }
717
679
  highlightBooths(e) {
718
- Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), M.exhibitorStore.highlightedByExternalIds = [], M.boothStore.highlightedByExternalIds = [...e];
680
+ Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), N.exhibitorStore.highlightedByExternalIds = [], N.boothStore.highlightedByExternalIds = [...e];
719
681
  }
720
682
  highlightEntities(e) {
721
683
  Array.isArray(e) || $("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
722
- let { boothExternalIds: t, exhibitorExternalIds: n } = Ge(e);
723
- M.boothStore.highlightedByExternalIds = [...t], M.exhibitorStore.highlightedByExternalIds = [...n];
684
+ let { boothExternalIds: t, exhibitorExternalIds: n } = lt(e);
685
+ N.boothStore.highlightedByExternalIds = [...t], N.exhibitorStore.highlightedByExternalIds = [...n];
724
686
  }
725
687
  selectRoute(e, t) {
726
688
  if (Array.isArray(e)) {
@@ -730,10 +692,10 @@ var fn = class extends s {
730
692
  $("selectRoute", "Invalid route format: When providing an array, it must include at least two points: a start and a destination.", "EFP000401");
731
693
  return;
732
694
  }
733
- M.routeStore.selectRoute(new T(Q(n), Q(r), t.map(Q)));
695
+ N.routeStore.selectRoute(new ut(Q(n), Q(r), t.map(Q)));
734
696
  return;
735
697
  }
736
- e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), M.routeStore.selectRoute(new T(Q(e), Q(t)));
698
+ e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), N.routeStore.selectRoute(new ut(Q(e), Q(t)));
737
699
  }
738
700
  getOptimizedRoutes(e) {
739
701
  if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
@@ -746,19 +708,19 @@ var fn = class extends s {
746
708
  let t = (r = (i = e.layer) == null ? void 0 : i.name) == null ? "" : r, a = n.get(t);
747
709
  a ? a.push(e) : n.set(t, [e]);
748
710
  }
749
- return Array.from(n.values()).map((e) => ({ waypoints: Je(e.map((e) => [e.name, {
711
+ return Array.from(n.values()).map((e) => ({ waypoints: qe(e.map((e) => [e.name, {
750
712
  x: e.rect.center.x,
751
713
  y: e.rect.center.y
752
714
  }])) }));
753
715
  }
754
716
  selectCurrentPosition(e, t, n) {
755
717
  var r;
756
- let i = S(e.x) && S(e.y), a = S(e.lng) && S(e.lat);
757
- !i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), M.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
718
+ let i = T(e.x) && T(e.y), a = T(e.lng) && T(e.lat);
719
+ !i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), N.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
758
720
  }
759
721
  setBookmarks(e) {
760
722
  (!Array.isArray(e) || !e.length) && $("setBookmarks", "Parameter must be an array.", "EFP000700"), e.forEach((e) => {
761
- let t = M.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
723
+ let t = N.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
762
724
  t && (t.bookmarked = e.bookmarked);
763
725
  });
764
726
  }
@@ -777,29 +739,29 @@ var fn = class extends s {
777
739
  $("setEntitiesBookmarks", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000702");
778
740
  return;
779
741
  }
780
- let r = O("bookmarked"), i = {
742
+ let r = D("bookmarked"), i = {
781
743
  exhibitor: {
782
744
  existingIds: new Set(r.exhibitors || []),
783
- finder: (e) => M.exhibitorStore.findExhibitor(e),
784
- replacer: (e) => M.exhibitorStore.replaceBookmarked(e)
745
+ finder: (e) => N.exhibitorStore.findExhibitor(e),
746
+ replacer: (e) => N.exhibitorStore.replaceBookmarked(e)
785
747
  },
786
748
  event: {
787
749
  existingIds: new Set(r.events || []),
788
- finder: (e) => M.eventStore.findByNameOrSlug(e),
789
- replacer: (e) => M.eventStore.replaceBookmarked(e)
750
+ finder: (e) => N.eventStore.findByNameOrSlug(e),
751
+ replacer: (e) => N.eventStore.replaceBookmarked(e)
790
752
  },
791
753
  speaker: {
792
754
  existingIds: new Set(r.speakers || []),
793
- finder: (e) => M.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
794
- replacer: (e) => M.speakerStore.replaceBookmarked(e)
755
+ finder: (e) => N.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
756
+ replacer: (e) => N.speakerStore.replaceBookmarked(e)
795
757
  },
796
758
  booth: {
797
759
  existingIds: new Set(r.booths || []),
798
760
  finder: (e) => {
799
- let t = M.boothStore.findBooth(e);
761
+ let t = N.boothStore.findBooth(e);
800
762
  return (t == null ? void 0 : t.exhibitors.length) === 0 ? t : void 0;
801
763
  },
802
- replacer: (e) => M.boothStore.replaceBookmarked(e)
764
+ replacer: (e) => N.boothStore.replaceBookmarked(e)
803
765
  }
804
766
  };
805
767
  e.forEach((e) => {
@@ -819,16 +781,16 @@ var fn = class extends s {
819
781
  $("setEntitiesVisited", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000704");
820
782
  return;
821
783
  }
822
- let r = O("visited"), i = {
784
+ let r = D("visited"), i = {
823
785
  exhibitor: {
824
786
  existingIds: new Set(r.exhibitors || []),
825
- finder: (e) => M.exhibitorStore.findExhibitor(e),
826
- replacer: (e) => M.exhibitorStore.replaceVisited(e)
787
+ finder: (e) => N.exhibitorStore.findExhibitor(e),
788
+ replacer: (e) => N.exhibitorStore.replaceVisited(e)
827
789
  },
828
790
  event: {
829
791
  existingIds: new Set(r.events || []),
830
- finder: (e) => M.eventStore.findByNameOrSlug(e),
831
- replacer: (e) => M.eventStore.replaceVisited(e)
792
+ finder: (e) => N.eventStore.findByNameOrSlug(e),
793
+ replacer: (e) => N.eventStore.replaceVisited(e)
832
794
  }
833
795
  };
834
796
  e.forEach((e) => {
@@ -843,94 +805,94 @@ var fn = class extends s {
843
805
  $("setMarkers", "Invalid input.", "EFP000800");
844
806
  return;
845
807
  }
846
- M.routeStore.setMarkers(e);
808
+ N.routeStore.setMarkers(e);
847
809
  }
848
810
  selectMarker(e, t = !0) {
849
- return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), M.routeStore.selectMarker(e, t);
811
+ return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), N.routeStore.selectMarker(e, t);
850
812
  }
851
813
  drawCircles(e) {
852
- Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), M.uiState.debugCircles = e;
814
+ Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), N.uiState.debugCircles = e;
853
815
  }
854
816
  checkRoutes() {
855
- M.routeStore.checkRoutes();
817
+ N.routeStore.checkRoutes();
856
818
  }
857
819
  updateLayerVisibility(e, t) {
858
- typeof e != "string" && $("updateLayerVisibility", "The layer name (string) must be passed.", "EFP000B00"), t || $("updateLayerVisibility", "Passing a false value to visible will have no effect.", "EFP000B01"), M.layerStore.updateVisibility(e, t);
820
+ typeof e != "string" && $("updateLayerVisibility", "The layer name (string) must be passed.", "EFP000B00"), t || $("updateLayerVisibility", "Passing a false value to visible will have no effect.", "EFP000B01"), N.layerStore.updateVisibility(e, t);
859
821
  }
860
822
  getCenterCoordinates() {
861
- return M.fp.getCenterCoordinates();
823
+ return N.fp.getCenterCoordinates();
862
824
  }
863
825
  exhibitorsList() {
864
- return M.exhibitorStore.exhibitors.map((e) => q(e));
826
+ return N.exhibitorStore.exhibitors.map((e) => q(e));
865
827
  }
866
828
  boothsList() {
867
- return M.boothStore.booths.map((e) => q(e));
829
+ return N.boothStore.booths.map((e) => q(e));
868
830
  }
869
831
  categoriesList() {
870
- return M.categoryStore.categories.map((e) => q(e));
832
+ return N.categoryStore.categories.map((e) => q(e));
871
833
  }
872
834
  selectCategory(e) {
873
835
  if (e == null || typeof e != "string") {
874
- M.searchStore.selectSearch();
836
+ N.searchStore.selectSearch();
875
837
  return;
876
838
  }
877
- let t = e == null ? void 0 : e.toLowerCase(), n = M.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
839
+ let t = e == null ? void 0 : e.toLowerCase(), n = N.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
878
840
  if (!n) {
879
841
  $("selectCategory", `Category ${e} not found.`, "EFP000C01");
880
842
  return;
881
843
  }
882
- M.selectCategory(n);
844
+ N.selectCategory(n);
883
845
  }
884
846
  select(e) {
885
847
  if (typeof e != "string") {
886
848
  $("select", "Parameter must be a string.", "EFP001700");
887
849
  return;
888
850
  }
889
- let t = e, n = t == null ? void 0 : t.toLowerCase(), r = M.boothStore.booths.find((e) => {
851
+ let t = e, n = t == null ? void 0 : t.toLowerCase(), r = N.boothStore.booths.find((e) => {
890
852
  var t, r, i;
891
853
  return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n || ((i = e.externalId) == null || (i = i.toLowerCase()) == null ? void 0 : i.replace(/\s+/g, "")) === n;
892
854
  });
893
855
  if (r) {
894
- setTimeout(() => M.selectBooth(r), 250);
856
+ setTimeout(() => N.selectBooth(r), 250);
895
857
  return;
896
858
  }
897
- let i = M.eventStore.eventItems.find((e) => {
859
+ let i = N.eventStore.eventItems.find((e) => {
898
860
  var t, r;
899
861
  return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
900
862
  });
901
863
  if (i) {
902
- M.selectEventItem(i, !0);
864
+ N.selectEventItem(i, !0);
903
865
  return;
904
866
  }
905
- let a = M.exhibitorStore.exhibitors.find((e) => {
867
+ let a = N.exhibitorStore.exhibitors.find((e) => {
906
868
  var t, r;
907
869
  return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
908
870
  });
909
871
  if (a) {
910
- setTimeout(() => M.clickExhibitor(a), 250);
872
+ setTimeout(() => N.clickExhibitor(a), 250);
911
873
  return;
912
874
  }
913
- let o = M.categoryStore.categories.find((e) => e.slug === t);
875
+ let o = N.categoryStore.categories.find((e) => e.slug === t);
914
876
  if (o) {
915
- M.selectCategory(o);
877
+ N.selectCategory(o);
916
878
  return;
917
879
  }
918
- let s = M.speakerStore.findBySlug(t);
880
+ let s = N.speakerStore.findBySlug(t);
919
881
  if (s) {
920
- M.selectSpeaker(s, !0);
882
+ N.selectSpeaker(s, !0);
921
883
  return;
922
884
  }
923
- t.includes("heatmap=true") || M.searchStore.selectSearch(t);
885
+ t.includes("heatmap=true") || N.searchStore.selectSearch(t);
924
886
  }
925
887
  showList(e) {
926
888
  let t = {
927
- bookmarks: () => M.selectBookmarks(),
928
- visited: () => M.selectVisited(),
929
- sessions: () => M.selectSessions(),
930
- exhibitors: () => M.selectExhibitors(),
931
- speakers: () => M.selectSpeakers(),
932
- tours: () => M.selectTours(),
933
- language: () => M.selectLanguage()
889
+ bookmarks: () => N.selectBookmarks(),
890
+ visited: () => N.selectVisited(),
891
+ sessions: () => N.selectSessions(),
892
+ exhibitors: () => N.selectExhibitors(),
893
+ speakers: () => N.selectSpeakers(),
894
+ tours: () => N.selectTours(),
895
+ language: () => N.selectLanguage()
934
896
  }, n = t[e];
935
897
  if (!n) {
936
898
  $("showList", `Unknown list "${e}". Must be one of: ${Object.keys(t).join(", ")}.`, "EFP001800");
@@ -943,8 +905,8 @@ var fn = class extends s {
943
905
  $("selectTour", "A tour id must be passed.", "EFP001900");
944
906
  return;
945
907
  }
946
- let t = M.toursStore.getTourById(e);
947
- t ? M.toursStore.launchTour(t, t.name, t.description) : (console.warn(`Route with id "${e}" not found`), M.selectTours());
908
+ let t = N.toursStore.getTourById(e);
909
+ t ? N.toursStore.launchTour(t, t.name, t.description) : (console.warn(`Route with id "${e}" not found`), N.selectTours());
948
910
  }
949
911
  openPlanner(e = {}) {
950
912
  if (typeof e != "object" || !e) {
@@ -952,56 +914,56 @@ var fn = class extends s {
952
914
  return;
953
915
  }
954
916
  let t = e.from ? C(e.from) : null;
955
- if (e.fromBookmarks) M.routePlannerStore.launchFromBookmarks(t == null ? void 0 : t);
917
+ if (e.fromBookmarks) N.routePlannerStore.launchFromBookmarks(t == null ? void 0 : t);
956
918
  else {
957
919
  var n;
958
- M.routePlannerStore.launchFromSlugs((n = e.items) == null ? [] : n, t == null ? void 0 : t);
920
+ N.routePlannerStore.launchFromSlugs((n = e.items) == null ? [] : n, t == null ? void 0 : t);
959
921
  }
960
922
  }
961
923
  startBuildRoute() {
962
- M.uiState.startBuildRoute();
924
+ N.uiState.startBuildRoute();
963
925
  }
964
926
  applyParameters(e) {
965
- typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), qt(e);
927
+ typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), Yt(e);
966
928
  }
967
929
  getVisibility() {
968
- return M.uiState.visibility;
930
+ return N.uiState.visibility;
969
931
  }
970
932
  setVisibility(e) {
971
- (typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), M.uiState.setVisibility(e);
933
+ (typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), N.uiState.setVisibility(e);
972
934
  }
973
935
  findLocation() {
974
- M.routeStore.findLocation();
936
+ N.routeStore.findLocation();
975
937
  }
976
938
  zoomIn() {
977
- M.uiState.zoomIn();
939
+ N.uiState.zoomIn();
978
940
  }
979
941
  zoomOut() {
980
- M.uiState.zoomOut();
942
+ N.uiState.zoomOut();
981
943
  }
982
944
  switchView() {
983
- M.maplibreStore.activateMaplibre();
945
+ N.maplibreStore.activateMaplibre();
984
946
  }
985
947
  setCamera(e) {
986
948
  Z("setCamera called with camera=%O", e);
987
- let t = ge.safeParse(e);
949
+ let t = me.safeParse(e);
988
950
  if (!t.success) {
989
951
  $("setCamera", t.error.message, "EFP001B00");
990
952
  return;
991
953
  }
992
- M.uiState.setMapSettings(x(t.data));
954
+ N.uiState.setMapSettings(x(t.data));
993
955
  }
994
956
  getCamera() {
995
- return Ve(M.uiState.mapSettings);
957
+ return He(N.uiState.mapSettings);
996
958
  }
997
959
  zoomTo(e, t) {
998
960
  Z("zoomTo called with selectors=%O options=%O", e, t);
999
- let n = Bt.safeParse(e);
961
+ let n = Ht.safeParse(e);
1000
962
  if (!n.success) {
1001
963
  $("zoomTo", n.error.message, "EFP001600");
1002
964
  return;
1003
965
  }
1004
- let r = Vt.safeParse(t);
966
+ let r = Ut.safeParse(t);
1005
967
  if (!r.success) {
1006
968
  $("zoomTo", r.error.message, "EFP001601");
1007
969
  return;
@@ -1012,7 +974,7 @@ var fn = class extends s {
1012
974
  getBounds(e) {
1013
975
  var t, n;
1014
976
  Z("getBounds called with selectors=%O", e);
1015
- let r = Bt.safeParse(e);
977
+ let r = Ht.safeParse(e);
1016
978
  if (!r.success) {
1017
979
  $("getBounds", r.error.message, "EFP001400");
1018
980
  return;
@@ -1020,15 +982,15 @@ var fn = class extends s {
1020
982
  let i = [];
1021
983
  if ((t = e.booths) == null || t.forEach((e) => {
1022
984
  let t;
1023
- e.externalId ? t = M.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = M.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
985
+ e.externalId ? t = N.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = N.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
1024
986
  }), (n = e.exhibitors) == null || n.forEach((e) => {
1025
987
  var t;
1026
988
  let n;
1027
- e.externalId ? n = M.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = M.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
989
+ e.externalId ? n = N.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = N.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
1028
990
  e.rect && i.push(e.rect);
1029
991
  });
1030
992
  }), i.length === 0) return;
1031
- let a = D.fromUnion(...i);
993
+ let a = M.fromUnion(...i);
1032
994
  return {
1033
995
  leftTop: {
1034
996
  x: a.min.x,
@@ -1042,37 +1004,37 @@ var fn = class extends s {
1042
1004
  }
1043
1005
  fitBounds(e, t) {
1044
1006
  if (Z("fitBounds called with bounds=%O options=%O", e, t), !e) {
1045
- M.uiState.fitBounds();
1007
+ N.uiState.fitBounds();
1046
1008
  return;
1047
1009
  }
1048
- let n = Rt.safeParse(e);
1010
+ let n = Bt.safeParse(e);
1049
1011
  if (!n.success) {
1050
1012
  $("fitBounds", n.error.message, "EFP001500");
1051
1013
  return;
1052
1014
  }
1053
- let r = Vt.safeParse(t);
1015
+ let r = Ut.safeParse(t);
1054
1016
  if (!r.success) {
1055
1017
  $("fitBounds", r.error.message, "EFP001501");
1056
1018
  return;
1057
1019
  }
1058
- let i = D.fromMinMax({
1020
+ let i = M.fromMinMax({
1059
1021
  x: e.leftTop.x,
1060
1022
  y: e.leftTop.y
1061
1023
  }, {
1062
1024
  x: e.rightBottom.x,
1063
1025
  y: e.rightBottom.y
1064
1026
  });
1065
- M.uiState.moveToRect = t != null && t.padding ? i.expand(t.padding) : i;
1027
+ N.uiState.moveToRect = t != null && t.padding ? i.expand(t.padding) : i;
1066
1028
  }
1067
1029
  getBoothRect(e) {
1068
1030
  var t;
1069
1031
  typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00");
1070
1032
  let n = (t = C(e)) == null ? void 0 : t.rect;
1071
- return n ? mn.fromBox(n) : void 0;
1033
+ return n ? gn.fromBox(n) : void 0;
1072
1034
  }
1073
1035
  convertToGeo(e, t) {
1074
1036
  var n;
1075
- if (!(!(P == null || (n = P.properties) == null) && n.config)) {
1037
+ if (!(!(S == null || (n = S.properties) == null) && n.config)) {
1076
1038
  $("convertToGeo", "The coordinates cannot be converted because the GPS configuration is not defined.", "EFP001000");
1077
1039
  return;
1078
1040
  }
@@ -1080,11 +1042,11 @@ var fn = class extends s {
1080
1042
  $("convertToGeo", "Both coordinates must be passed.", "EFP001001");
1081
1043
  return;
1082
1044
  }
1083
- return Ye(e, t, P.properties.config);
1045
+ return Ke(e, t, S.properties.config);
1084
1046
  }
1085
1047
  getGeoConfig() {
1086
1048
  var e, t;
1087
- let n = P == null || (e = P.properties) == null ? void 0 : e.config;
1049
+ let n = S == null || (e = S.properties) == null ? void 0 : e.config;
1088
1050
  return n ? {
1089
1051
  bearing: (t = n.bearing) == null ? 0 : t,
1090
1052
  p0: n.p0,
@@ -1094,16 +1056,16 @@ var fn = class extends s {
1094
1056
  }
1095
1057
  unstable_destroy() {
1096
1058
  let e = window.__efpElement.firstChild;
1097
- un(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", i), M.maplibreStore.dispose(), it(), tt(), Xe(), this.root.unmount(), e.remove();
1059
+ fn(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", i), N.maplibreStore.dispose(), st(), it(), Xe(), this.root.unmount(), e.remove();
1098
1060
  }
1099
1061
  search(e) {
1100
- return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), M.fuzzySearchEngineStore.loadEngine().then(() => (M.searchStore.selectSearch(e), M.uiState.fuzzySearchItems.map((e) => ({
1062
+ return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), N.fuzzySearchEngineStore.loadEngine().then(() => (N.searchStore.selectSearch(e), N.uiState.fuzzySearchItems.map((e) => ({
1101
1063
  item: q(e.item),
1102
1064
  score: e.score
1103
1065
  }))));
1104
1066
  }
1105
1067
  getFloors() {
1106
- return M.layerStore.floors.map((e) => ({
1068
+ return N.layerStore.floors.map((e) => ({
1107
1069
  name: e.name,
1108
1070
  shortName: e.shortName,
1109
1071
  description: e.description,
@@ -1140,70 +1102,70 @@ var fn = class extends s {
1140
1102
  }
1141
1103
  }
1142
1104
  showPathway(e, t) {
1143
- let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ? Ge(t) : {
1105
+ let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ? lt(t) : {
1144
1106
  boothExternalIds: [],
1145
1107
  exhibitorExternalIds: []
1146
1108
  };
1147
- Xt({
1109
+ Qt({
1148
1110
  pathwayId: e,
1149
1111
  boothIds: n,
1150
1112
  exhibitorIds: r
1151
1113
  });
1152
1114
  }
1153
1115
  showPathwayOnly(e, t) {
1154
- this.activateFloor({ name: t }), M.layerStore.showPathWay(e), M.uiState.setPathwayOnlyMode(!0);
1155
- let n = M.layerStore.findLayer(e), r = M.layerStore.findLayer(t), i = n != null && n.rect || n != null && n.viewbox ? n : r;
1116
+ this.activateFloor({ name: t }), N.layerStore.showPathWay(e), N.uiState.setPathwayOnlyMode(!0);
1117
+ let n = N.layerStore.findLayer(e), r = N.layerStore.findLayer(t), i = n != null && n.rect || n != null && n.viewbox ? n : r;
1156
1118
  if (i != null && i.rect || i != null && i.viewbox) {
1157
1119
  var a;
1158
1120
  let e = (a = i.viewbox) == null ? i.rect : a;
1159
- M.uiState.moveToRect = e.clone();
1121
+ N.uiState.moveToRect = e.clone();
1160
1122
  }
1161
1123
  }
1162
1124
  hidePathways() {
1163
- this.highlightBooths([]), M.layerStore.hidePathways(), M.uiState.setPathwayOnlyMode(!1);
1125
+ this.highlightBooths([]), N.layerStore.hidePathways(), N.uiState.setPathwayOnlyMode(!1);
1164
1126
  }
1165
1127
  showSearch() {
1166
- M.selectSearch("");
1128
+ N.selectSearch("");
1167
1129
  }
1168
1130
  changeLanguage(e) {
1169
1131
  var t;
1170
1132
  let n = e == null || (t = e.toLowerCase) == null ? void 0 : t.call(e);
1171
- if (!we(n)) {
1172
- $("changeLanguage", `Language "${e}" was not found. Available languages: ${be().map((e) => e.id).join(",")}`, "EFP001300");
1133
+ if (!De(n)) {
1134
+ $("changeLanguage", `Language "${e}" was not found. Available languages: ${Ce().map((e) => e.id).join(",")}`, "EFP001300");
1173
1135
  return;
1174
1136
  }
1175
- Se(n);
1137
+ Te(n);
1176
1138
  }
1177
1139
  isGpsTrackingEnabled() {
1178
- return M.routeStore.gpsEnabled;
1140
+ return N.routeStore.gpsEnabled;
1179
1141
  }
1180
1142
  setGpsTrackingEnabled(e) {
1181
- M.routeStore.setGpsTrackingEnabled(e);
1143
+ N.routeStore.setGpsTrackingEnabled(e);
1182
1144
  }
1183
1145
  deselectCurrentPosition() {
1184
- M.routeStore.selectCurrentPosition(null, !1);
1146
+ N.routeStore.selectCurrentPosition(null, !1);
1185
1147
  }
1186
1148
  deselectRoute() {
1187
- M.routeStore.selectRoute(null), M.routeStore.setOnlyAccessible(!1);
1149
+ N.routeStore.selectRoute(null), N.routeStore.setOnlyAccessible(!1);
1188
1150
  }
1189
1151
  reset() {
1190
- if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), M.uiState.kioskData && M.resetCameraFn) {
1152
+ if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), N.uiState.kioskData && N.resetCameraFn) {
1191
1153
  var e;
1192
- (e = M.resetCameraFn) == null || e.call(M);
1154
+ (e = N.resetCameraFn) == null || e.call(N);
1193
1155
  } else this.fitBounds();
1194
1156
  }
1195
1157
  selectAccessibleRoute(e) {
1196
- M.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
1158
+ N.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
1197
1159
  }
1198
1160
  };
1199
1161
  function Q(e) {
1200
- return typeof e == "string" ? C(e) : M.routeStore.getNearestBooth(e);
1162
+ return typeof e == "string" ? C(e) : N.routeStore.getNearestBooth(e);
1201
1163
  }
1202
- var pn = 0;
1164
+ var hn = 0;
1203
1165
  function $(e, t, n) {
1204
1166
  let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://js-sdk.expofp.com/api/packages";
1205
- if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), M.fp.disableRuntimeAlerts) return;
1206
- M.uiState.setGlobalErrorMessage({
1167
+ if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), N.fp.disableRuntimeAlerts) return;
1168
+ N.uiState.setGlobalErrorMessage({
1207
1169
  title: r,
1208
1170
  body: /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [
1209
1171
  i,
@@ -1215,16 +1177,16 @@ function $(e, t, n) {
1215
1177
  children: a
1216
1178
  })
1217
1179
  ] })
1218
- }), clearTimeout(pn);
1180
+ }), clearTimeout(hn);
1219
1181
  let o = 8e3;
1220
- pn = window.setTimeout(() => {
1182
+ hn = window.setTimeout(() => {
1221
1183
  let e = async () => {
1222
- M.uiState.globalErrorMessages.length > 0 && (M.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
1184
+ N.uiState.globalErrorMessages.length > 0 && (N.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
1223
1185
  };
1224
1186
  e();
1225
1187
  }, o);
1226
1188
  }
1227
- var mn = class e {
1189
+ var gn = class e {
1228
1190
  get h() {
1229
1191
  return Math.abs(this.y2 - this.y1);
1230
1192
  }
@@ -1297,4 +1259,4 @@ var mn = class e {
1297
1259
  }
1298
1260
  };
1299
1261
  //#endregion
1300
- export { fn as default };
1262
+ export { mn as default };