@expofp/floorplan 3.24.3 → 3.25.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 (80) hide show
  1. package/dist/browser/{Button-p01mffmV.js → Button-4H7Y1oIu.js} +5 -5
  2. package/dist/browser/{CookieConsent-BF8pB73I.js → CookieConsent-CoWK7bx_.js} +7 -7
  3. package/dist/browser/{Debug-B5hyechZ.js → Debug-D-XXdsjt.js} +7 -7
  4. package/dist/browser/{Demo-knBpWccU.js → Demo-c-7YAVSW.js} +9 -9
  5. package/dist/browser/{Free-CMDOPW7B.js → Free-MaZo2dmm.js} +9 -9
  6. package/dist/browser/{GalleryContainer-Ba7QRGqJ.js → GalleryContainer-DOnJhv4I.js} +10 -10
  7. package/dist/browser/{GpsLoader-DOOP_ASm.js → GpsLoader-f-s46e4s.js} +10 -10
  8. package/dist/browser/{KioskStore-IZgF3XDx.js → KioskStore-B5S4imVV.js} +4 -4
  9. package/dist/browser/{MaplibreAdapter-BfUqF5P9.js → MaplibreAdapter-C848yf6N.js} +9 -9
  10. package/dist/browser/{ModalContainer-MRMe33uV.js → ModalContainer-aakS4vkf.js} +10 -10
  11. package/dist/browser/{PermissionNotice-DB5Ift9m.js → PermissionNotice-Bnrs8YcD.js} +6 -6
  12. package/dist/browser/{SetKioskMode-Bg4_U0Ov.js → SetKioskMode-DzZZyS6g.js} +8 -8
  13. package/dist/browser/{ShowKiosk-_EK6VmAV.js → ShowKiosk-O_w7S73S.js} +10 -10
  14. package/dist/browser/{ViewerMenuPanel-BostqgVg.js → ViewerMenuPanel-Db9A3MbQ.js} +9 -9
  15. package/dist/browser/{add-debug-secret-listener-ivErN3mk.js → add-debug-secret-listener-B7IVgt3l.js} +1 -1
  16. package/dist/browser/{adopt-global-settings-B6w6CagP.js → adopt-global-settings-CroPYwuh.js} +9 -9
  17. package/dist/browser/{boolean-editor-CUGJZwH-.js → boolean-editor-ACHtv3re.js} +9 -9
  18. package/dist/browser/{bootIntercom-D-rZAhCK.js → bootIntercom-wfCldz8i.js} +2 -2
  19. package/dist/browser/{booth-by-xy-DzhIUI-Q.js → booth-by-xy-BeNsPAK4.js} +6 -6
  20. package/dist/browser/bundle.json +65 -65
  21. package/dist/browser/{classnames-9nzeif8D.js → classnames-DNJ9erp0.js} +2 -2
  22. package/dist/browser/{client-BsLcgFfO.js → client-B0kI_Wgq.js} +4 -4
  23. package/dist/browser/{components-By6WCr5d.js → components-CH6jzgzD.js} +36 -36
  24. package/dist/browser/{debug-overlay-D6b9zd48.js → debug-overlay-DPLD8G41.js} +10 -10
  25. package/dist/browser/{debug-ui-Da7wcC3i.js → debug-ui-BcuP78GL.js} +6 -6
  26. package/dist/browser/{dist-BvZjZCdR.js → dist-D878OZ4g.js} +3 -3
  27. package/dist/browser/{dist-DhzSPs9e.js → dist-DFYO_yWm.js} +6 -6
  28. package/dist/browser/{dist-E6y2lqRa.js → dist-j5FbLfDv.js} +5 -5
  29. package/dist/browser/{efp-debug-init-4LtPCUPY.js → efp-debug-init-WBPOkifi.js} +3 -3
  30. package/dist/browser/{enum-editor-BghDWgeO.js → enum-editor-Bo1kcz2P.js} +4 -4
  31. package/dist/browser/{es5-B1foSeGv.js → es5-Dw3hh2hq.js} +2 -2
  32. package/dist/browser/{event-not-found-CEyhr6Cq.js → event-not-found-D8_q8mVF.js} +1 -1
  33. package/dist/browser/{exports-BeSO266J.js → exports-CoddzsKD.js} +1 -1
  34. package/dist/browser/{favicon-CWf1ojn0.js → favicon-BT321x5p.js} +1 -1
  35. package/dist/browser/{fetch-retry.umd-CWgAWfkB.js → fetch-retry.umd-CA8ymopQ.js} +2 -2
  36. package/dist/browser/{flex-C64hUG-Y.js → flex-D9q2kF6V.js} +5 -5
  37. package/dist/browser/{floorplan.loader-BF29NpFQ.js → floorplan.loader-CyQJ2YNJ.js} +683 -662
  38. package/dist/browser/{floorplan.ready-ByvBX6zB.js → floorplan.ready-CNRA40yt.js} +325 -339
  39. package/dist/browser/{fuse-B9jyODVz.js → fuse-mrwK1iZf.js} +2 -2
  40. package/dist/browser/{i18n-CyXUWmbq.js → i18n-DAfeAZ8S.js} +5 -5
  41. package/dist/browser/index.js +16 -16
  42. package/dist/browser/{index.module-DlRMnP0h.js → index.module-Dk3kAKpT.js} +4 -4
  43. package/dist/browser/{integrateKiosk-CqDd_6zK.js → integrateKiosk-DxVChOVT.js} +4 -4
  44. package/dist/browser/{is-webview-nZTrftS3.js → is-webview-Co4s-GiT.js} +1 -1
  45. package/dist/browser/{jsx-runtime-BvehpqN1.js → jsx-runtime-BLEarrXz.js} +2 -2
  46. package/dist/browser/{kiosk-record-3zDMdFbA.js → kiosk-record-Dtemk-B5.js} +1 -1
  47. package/dist/browser/{lib-BWguER4h.js → lib-CLrvaGLZ.js} +3 -3
  48. package/dist/browser/{loadImage-DlTxF7hO.js → loadImage-CKDCgeht.js} +4 -4
  49. package/dist/browser/{logDeviceInfo-DkyoRXga.js → logDeviceInfo-DIsLUyHd.js} +9 -9
  50. package/dist/browser/{main-CQISrN-R.js → main-CTB1lHrg.js} +1 -1
  51. package/dist/browser/{mobx-CclSjvoG.js → mobx-DuryiTxo.js} +4 -4
  52. package/dist/browser/{optional-boolean-editor-DQzKDlOi.js → optional-boolean-editor-CWY6Zx6h.js} +3 -3
  53. package/dist/browser/{optional-enum-editor-BoXlfU-Z.js → optional-enum-editor-C8w2_YdD.js} +4 -4
  54. package/dist/browser/{optional-string-editor-D5dIax4i.js → optional-string-editor-BAG27Bz5.js} +4 -4
  55. package/dist/browser/{particles.min-D9wmJdXA.js → particles.min-DG6IF5ip.js} +2 -2
  56. package/dist/browser/{react-6tMZPkhI.js → react-BjxCyCXo.js} +2 -2
  57. package/dist/browser/{react-dom-CutFn8wf.js → react-dom-BbWLMz4w.js} +3 -3
  58. package/dist/browser/{rolldown-runtime-dRo6A-vE.js → rolldown-runtime-D8LGmHLI.js} +1 -1
  59. package/dist/browser/{select-WMTRp4v8.js → select-CTX5p1zp.js} +10 -10
  60. package/dist/browser/{settings-DUe5ncnN.js → settings-XnHelA1L.js} +2 -2
  61. package/dist/browser/{settings-item-COWlJF9-.js → settings-item-Dgr7yr9v.js} +6 -6
  62. package/dist/browser/{store-B0pIa2x7.js → store-YlSxEv0I.js} +1270 -1259
  63. package/dist/browser/{string-editor-oB_Qkp2m.js → string-editor-B-DLDQmW.js} +4 -4
  64. package/dist/browser/{text-field-eEQqOs7Q.js → text-field-DlqnEhco.js} +5 -5
  65. package/dist/browser/{theme-BLk06fsq.js → theme-DHHsQVr7.js} +8 -8
  66. package/dist/browser/{ui-DCurqY1Z.js → ui-ffwGvnRO.js} +8 -8
  67. package/dist/browser/{useRenderTarget-BuFH1LJK.js → useRenderTarget-CAxp6qGQ.js} +4 -4
  68. package/dist/esm/components/Map/drawing/config/config-booth-labels-special.d.ts +3 -3
  69. package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
  70. package/dist/esm/components/Map/drawing/config/config-booth-labels.d.ts +4 -4
  71. package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
  72. package/dist/esm/components/Map/drawing/config/label-inset.d.ts +26 -0
  73. package/dist/esm/components/Map/drawing/config/label-inset.js +1 -0
  74. package/dist/esm/floorplan.loader.d.ts +30 -0
  75. package/dist/esm/floorplan.loader.js +1 -1
  76. package/dist/esm/floorplan.ready.d.ts +1 -1
  77. package/dist/esm/floorplan.ready.js +1 -1
  78. package/dist/esm/load.js +2 -2
  79. package/dist/esm/types.d.ts +29 -0
  80. package/package.json +9 -9
@@ -1,33 +1,33 @@
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.24.3" };
4
+ e.SENTRY_RELEASE = { id: "3.25.1" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "06c78a68-50ce-4420-9b26-1618a611b3ad", e._sentryDebugIdIdentifier = "sentry-dbid-06c78a68-50ce-4420-9b26-1618a611b3ad");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "02bff2e5-59fe-407e-854a-bb0adcb6413e", e._sentryDebugIdIdentifier = "sentry-dbid-02bff2e5-59fe-407e-854a-bb0adcb6413e");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-dRo6A-vE.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-BF29NpFQ.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 _e, ft as ve, gt as ye, jt as be, kt as xe, l as h, lt as Se, mt as Ce, n as we, nt as Te, o as Ee, pt as De, r as Oe, v as ke, wt as Ae, xt as je, y as Me, yt as Ne, zt as g } from "./i18n-CyXUWmbq.js";
12
- import { s as Pe } from "./efp-debug-init-4LtPCUPY.js";
13
- import { t as Fe } from "./react-6tMZPkhI.js";
14
- import { t as Ie } from "./jsx-runtime-BvehpqN1.js";
15
- import { r as Le } from "./loadImage-DlTxF7hO.js";
16
- import { C as Re, D as ze, Q as Be, ht as _, i as Ve, n as He, w as Ue } from "./exports-BeSO266J.js";
17
- import { t as We } from "./client-BsLcgFfO.js";
18
- import { i as Ge, n as Ke, r as v, t as qe } from "./components-By6WCr5d.js";
19
- import { C as Je, G as Ye, H as Xe, I as Ze, J as Qe, L as y, P as $e, Q as et, S as tt, Sn as nt, T as b, U as rt, V as x, Z as it, Zt as at, at as ot, c as S, ct as C, dn as w, dt as st, en as T, ft as ct, hn as E, it as lt, l as D, ot as ut, q as dt, rt as O, st as ft, tn as pt, ut as mt, v as ht, w as k, x as gt } from "./store-B0pIa2x7.js";
20
- import { n as _t, t as vt } from "./integrateKiosk-CqDd_6zK.js";
9
+ import { r as e } from "./rolldown-runtime-D8LGmHLI.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-CyQJ2YNJ.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 p, Mt as ae, Nt as oe, Ot as se, Pt as ce, Rt as m, St as le, Tt as ue, U as de, V as fe, _t as pe, bt as me, ct as he, dt as h, f as ge, 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-DAfeAZ8S.js";
12
+ import { s as Ne } from "./efp-debug-init-WBPOkifi.js";
13
+ import { t as Pe } from "./react-BjxCyCXo.js";
14
+ import { t as Fe } from "./jsx-runtime-BLEarrXz.js";
15
+ import { r as v } from "./loadImage-CKDCgeht.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-CoddzsKD.js";
17
+ import { t as Ve } from "./client-B0kI_Wgq.js";
18
+ import { i as He, n as Ue, r as x, t as We } from "./components-CH6jzgzD.js";
19
+ import { C as Ge, G as Ke, H as qe, I as Je, J as S, L as C, P as Ye, Q as Xe, S as w, Sn as Ze, T, U as E, V as D, Z as Qe, Zt as O, at as $e, c as k, ct as A, dn as j, dt as et, en as tt, ft as nt, hn as M, it as rt, l as N, ot as it, q as at, rt as P, st as ot, tn as st, ut as ct, v as lt, w as F, x as ut } from "./store-YlSxEv0I.js";
20
+ import { n as dt, t as ft } from "./integrateKiosk-DxVChOVT.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 yt(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
- a && _.error("[showReportDialog] Global document not defined");
25
+ a && b.error("[showReportDialog] Global document not defined");
26
26
  return;
27
27
  }
28
- let o = Ue(), s = Re(), 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
- a && _.error("[showReportDialog] DSN not configured");
30
+ a && b.error("[showReportDialog] DSN not configured");
31
31
  return;
32
32
  }
33
33
  let l = {
@@ -36,7 +36,7 @@ function yt(e = {}) {
36
36
  ...o.getUser(),
37
37
  ...e.user
38
38
  },
39
- eventId: e.eventId || Ve()
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 yt(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 A = /* @__PURE__ */ e(Fe());
58
- function bt(e) {
57
+ var I = /* @__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 xt(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 xt(e, t) {
69
69
  }
70
70
  r(e, t);
71
71
  }
72
- function St(e, { componentStack: t }, n) {
73
- if (bt(A.version) && Be(e) && t) {
72
+ function gt(e, { componentStack: t }, n) {
73
+ if (mt(I.version) && Le(e) && t) {
74
74
  let n = Error(e.message);
75
- n.name = `React ErrorBoundary ${e.name}`, n.stack = t, xt(e, n);
75
+ n.name = `React ErrorBoundary ${e.name}`, n.stack = t, ht(e, n);
76
76
  }
77
- return He(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 Ct = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, j = {
81
+ var _t = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, L = {
82
82
  componentStack: null,
83
83
  error: null,
84
84
  eventId: null
85
- }, wt = class extends A.Component {
85
+ }, vt = class extends I.Component {
86
86
  constructor(e) {
87
- super(e), this.state = j, this._openFallbackReportDialog = !0;
88
- let t = Re();
87
+ super(e), this.state = L, this._openFallbackReportDialog = !0;
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 && yt({
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 Ct = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, j = {
95
95
  }
96
96
  componentDidCatch(e, t) {
97
97
  let { componentStack: n } = t, { beforeCapture: r, onError: i, showDialog: a, dialogOptions: o } = this.props;
98
- ze((s) => {
98
+ Ie((s) => {
99
99
  r && r(s, e, n);
100
- let c = St(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 && yt({
104
+ i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog && pt({
105
105
  ...o,
106
106
  eventId: c
107
107
  })), this.setState({
@@ -117,37 +117,37 @@ var Ct = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, j = {
117
117
  }
118
118
  componentWillUnmount() {
119
119
  let { error: e, componentStack: t, eventId: n } = this.state, { onUnmount: r } = this.props;
120
- r && (this.state === j ? r(null, null, null) : r(e, t, n)), this._cleanupHook && (this._cleanupHook(), this._cleanupHook = void 0);
120
+ r && (this.state === L ? r(null, null, null) : r(e, t, n)), this._cleanupHook && (this._cleanupHook(), this._cleanupHook = void 0);
121
121
  }
122
122
  resetErrorBoundary() {
123
123
  let { onReset: e } = this.props, { error: t, componentStack: n, eventId: r } = this.state;
124
- e && e(t, n, r), this.setState(j);
124
+ e && e(t, n, r), this.setState(L);
125
125
  }
126
126
  render() {
127
127
  let { fallback: e, children: t } = this.props, n = this.state;
128
128
  if (n.componentStack === null) return typeof t == "function" ? t() : t;
129
- let r = typeof e == "function" ? A.createElement(e, {
129
+ let r = typeof e == "function" ? I.createElement(e, {
130
130
  error: n.error,
131
131
  componentStack: n.componentStack,
132
132
  resetError: () => this.resetErrorBoundary(),
133
133
  eventId: n.eventId
134
134
  }) : e;
135
- return A.isValidElement(r) ? r : (e && Ct && _.warn("fallback did not produce a valid ReactElement"), null);
135
+ return I.isValidElement(r) ? r : (e && _t && b.warn("fallback did not produce a valid ReactElement"), null);
136
136
  }
137
- }, Tt = /* @__PURE__ */ e(Pe(), 1), Et = We(), Dt = nt();
138
- function Ot(e) {
137
+ }, yt = /* @__PURE__ */ e(Ne(), 1), bt = Ve(), xt = Ze();
138
+ function St(e) {
139
139
  var t;
140
- let n = new URLSearchParams(window.location.search).get(pe), r = h ? window.localStorage.getItem(pe) : null, i = n == null ? r : n;
141
- return i == null ? h && et() != null || Object.keys((t = e.kiosk) == null ? {} : t).length > 0 : i === "1";
140
+ let n = new URLSearchParams(window.location.search).get(fe), r = g ? window.localStorage.getItem(fe) : null, i = n == null ? r : n;
141
+ return i == null ? g && Xe() != null || Object.keys((t = e.kiosk) == null ? {} : t).length > 0 : i === "1";
142
142
  }
143
- function kt() {
143
+ function Ct() {
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 At() {
148
- return kt() ? window.location.hostname.split(".")[0] : "main";
147
+ function wt() {
148
+ return Ct() ? window.location.hostname.split(".")[0] : "main";
149
149
  }
150
- function jt(e) {
150
+ function Tt(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 jt(e) {
156
156
  }
157
157
  return "Active";
158
158
  }
159
- function Mt() {
159
+ function Et() {
160
160
  return !1;
161
161
  }
162
- function Nt(e) {
162
+ function Dt(e) {
163
163
  return e;
164
164
  }
165
- function Pt(e) {
166
- if (Mt() || !kt() || Ot(e) || !window.navigator.onLine) return null;
167
- let t = Nt({
168
- subDomain: At(),
169
- subscriptionStatus: jt(e)
165
+ function Ot(e) {
166
+ if (Et() || !Ct() || St(e) || !window.navigator.onLine) return null;
167
+ let t = Dt({
168
+ subDomain: wt(),
169
+ subscriptionStatus: Tt(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 M = /*@__PURE__*/ p("ZodMiniType", (e, t) => {
175
+ var R = /*@__PURE__*/ m("ZodMiniType", (e, t) => {
176
176
  if (!e._zod) throw Error("Uninitialized schema in ZodMiniType.");
177
- l.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => be(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) => {
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) => oe(e, t, n), e.parseAsync = async (t, n) => ae(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => ce(e, t, n), e.check = (...n) => {
178
178
  var r;
179
179
  return e.clone({
180
180
  ...t,
@@ -185,94 +185,94 @@ var M = /*@__PURE__*/ p("ZodMiniType", (e, t) => {
185
185
  } } : e)]
186
186
  }, { parent: !0 });
187
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
- }), Ft = /*@__PURE__*/ p("ZodMiniString", (e, t) => {
189
- xe.init(e, t), M.init(e, t);
188
+ }), kt = /*@__PURE__*/ m("ZodMiniString", (e, t) => {
189
+ be.init(e, t), R.init(e, t);
190
190
  });
191
191
  // @__NO_SIDE_EFFECTS__
192
- function It(e) {
193
- return ue(Ft, e);
192
+ function At(e) {
193
+ return le(kt, e);
194
194
  }
195
- var Lt = /*@__PURE__*/ p("ZodMiniNumber", (e, t) => {
196
- ee.init(e, t), M.init(e, t);
195
+ var jt = /*@__PURE__*/ m("ZodMiniNumber", (e, t) => {
196
+ ee.init(e, t), R.init(e, t);
197
197
  });
198
198
  // @__NO_SIDE_EFFECTS__
199
- function N(e) {
200
- return he(Lt, e);
199
+ function z(e) {
200
+ return me(jt, e);
201
201
  }
202
- var Rt = /*@__PURE__*/ p("ZodMiniNever", (e, t) => {
203
- de.init(e, t), M.init(e, t);
202
+ var Mt = /*@__PURE__*/ m("ZodMiniNever", (e, t) => {
203
+ ue.init(e, t), R.init(e, t);
204
204
  });
205
205
  // @__NO_SIDE_EFFECTS__
206
- function zt(e) {
207
- return Ne(Rt, e);
206
+ function Nt(e) {
207
+ return Me(Mt, e);
208
208
  }
209
- var Bt = /*@__PURE__*/ p("ZodMiniArray", (e, t) => {
210
- d.init(e, t), M.init(e, t);
209
+ var Pt = /*@__PURE__*/ m("ZodMiniArray", (e, t) => {
210
+ d.init(e, t), R.init(e, t);
211
211
  });
212
212
  // @__NO_SIDE_EFFECTS__
213
- function P(e, t) {
214
- return new Bt({
213
+ function Ft(e, t) {
214
+ return new Pt({
215
215
  type: "array",
216
216
  element: e,
217
- ...ae(t)
217
+ ...p(t)
218
218
  });
219
219
  }
220
- var Vt = /*@__PURE__*/ p("ZodMiniObject", (e, t) => {
221
- f.init(e, t), M.init(e, t), ie(e, "shape", () => t.shape);
220
+ var It = /*@__PURE__*/ m("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
- function F(e, t) {
225
- return new Vt({
224
+ function B(e, t) {
225
+ return new It({
226
226
  type: "object",
227
227
  shape: e,
228
- catchall: /* @__PURE__ */ zt(),
229
- ...ae(t)
228
+ catchall: /* @__PURE__ */ Nt(),
229
+ ...p(t)
230
230
  });
231
231
  }
232
- var Ht = /*@__PURE__*/ p("ZodMiniOptional", (e, t) => {
233
- ce.init(e, t), M.init(e, t);
232
+ var Lt = /*@__PURE__*/ m("ZodMiniOptional", (e, t) => {
233
+ se.init(e, t), R.init(e, t);
234
234
  });
235
235
  // @__NO_SIDE_EFFECTS__
236
- function I(e) {
237
- return new Ht({
236
+ function V(e) {
237
+ return new Lt({
238
238
  type: "optional",
239
239
  innerType: e
240
240
  });
241
241
  }
242
- var Ut = /*@__PURE__*/ p("ZodMiniCustom", (e, t) => {
243
- Ae.init(e, t), M.init(e, t);
242
+ var Rt = /*@__PURE__*/ m("ZodMiniCustom", (e, t) => {
243
+ ke.init(e, t), R.init(e, t);
244
244
  });
245
245
  // @__NO_SIDE_EFFECTS__
246
- function L(e, t = {}) {
247
- return je(Ut, e, t);
246
+ function zt(e, t = {}) {
247
+ return Ae(Rt, e, t);
248
248
  }
249
249
  //#endregion
250
250
  //#region src/schemas/sdk.schemas.ts
251
- var R = /* @__PURE__ */ F({
252
- x: /* @__PURE__ */ N(),
253
- y: /* @__PURE__ */ N()
254
- }), Wt = /* @__PURE__ */ F({
255
- leftTop: R,
256
- rightBottom: R
257
- }), z = (/* @__PURE__ */ F({
258
- name: /* @__PURE__ */ I(/* @__PURE__ */ It()),
259
- externalId: /* @__PURE__ */ I(/* @__PURE__ */ It())
260
- })).check(/* @__PURE__ */ L((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")), B = (/* @__PURE__ */ F({
261
- booths: /* @__PURE__ */ I(/* @__PURE__ */ P(z)),
262
- exhibitors: /* @__PURE__ */ I(/* @__PURE__ */ P(z))
263
- })).check(/* @__PURE__ */ L((e) => {
251
+ var Bt = /* @__PURE__ */ B({
252
+ x: /* @__PURE__ */ z(),
253
+ y: /* @__PURE__ */ z()
254
+ }), Vt = /* @__PURE__ */ B({
255
+ leftTop: Bt,
256
+ rightBottom: Bt
257
+ }), Ht = (/* @__PURE__ */ B({
258
+ name: /* @__PURE__ */ V(/* @__PURE__ */ At()),
259
+ externalId: /* @__PURE__ */ V(/* @__PURE__ */ At())
260
+ })).check(/* @__PURE__ */ zt((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")), Ut = (/* @__PURE__ */ B({
261
+ booths: /* @__PURE__ */ V(/* @__PURE__ */ Ft(Ht)),
262
+ exhibitors: /* @__PURE__ */ V(/* @__PURE__ */ Ft(Ht))
263
+ })).check(/* @__PURE__ */ zt((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")), Gt = /* @__PURE__ */ I(/* @__PURE__ */ F({ padding: /* @__PURE__ */ I(/* @__PURE__ */ N()) }));
266
+ }, "Selector must contain booths or exhibitors")), Wt = /* @__PURE__ */ V(/* @__PURE__ */ B({ padding: /* @__PURE__ */ V(/* @__PURE__ */ z()) }));
267
267
  //#endregion
268
268
  //#region src/components/Kiosk/recoverKioskFromUrlPrams.ts
269
- function Kt(e) {
270
- let t = ht(e);
271
- Object.values(t).length && (vt(t, !1), _t(t));
269
+ function Gt(e) {
270
+ let t = lt(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 qt(e) {
275
+ function Kt(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,66 +280,66 @@ function qt(e) {
280
280
  }
281
281
  //#endregion
282
282
  //#region src/services/multi-slug.ts
283
- function Jt(e, t) {
283
+ function qt(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 && !m(e).includes("=");
285
+ let n = e.startsWith("?") ? e.slice(1) : e, r = n.includes("&") ? "&" : "%26", i = n.split(r), a = (e) => !!e && !h(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
- var V = !1;
291
- function Yt() {
292
- W(g()), u(() => S.layerStore.layersLoaded, () => {
293
- let e = g().camera;
294
- Object.keys(e).length && fn(v(e));
295
- let t = g().visibility;
296
- Object.keys(t).length && D.setVisibility(t);
290
+ var H = !1;
291
+ function Jt() {
292
+ G(_()), u(() => k.layerStore.layersLoaded, () => {
293
+ let e = _().camera;
294
+ Object.keys(e).length && dn(x(e));
295
+ let t = _().visibility;
296
+ Object.keys(t).length && N.setVisibility(t);
297
297
  });
298
298
  }
299
- function Xt(e) {
300
- ut({
299
+ function Yt(e) {
300
+ it({
301
301
  offHistory: e,
302
- onNavigate: U
303
- }), tn(), H(), u(() => S.layerStore.layersLoaded, () => {
304
- S.urlFilterManager && !S.urlFilterManager.isInitialized && S.urlFilterManager.initialize(), U(), _e(dn), _e(G), D.viewerMode && (D.menu = !0);
302
+ onNavigate: W
303
+ }), en(), U(), u(() => k.layerStore.layersLoaded, () => {
304
+ k.urlFilterManager && !k.urlFilterManager.isInitialized && k.urlFilterManager.initialize(), W(), ge(un), ge(K), N.viewerMode && (N.menu = !0);
305
305
  });
306
306
  }
307
- function Zt(e = "") {
308
- C("?" + m(e.toString())), S.layerStore.layersLoaded ? Qt(e) : (H(), u(() => S.layerStore.layersLoaded, () => Qt(e)));
307
+ function Xt(e = "") {
308
+ A("?" + h(e.toString())), k.layerStore.layersLoaded ? Zt(e) : (U(), u(() => k.layerStore.layersLoaded, () => Zt(e)));
309
309
  }
310
- function Qt(e) {
310
+ function Zt(e) {
311
311
  var t, n;
312
- let r = "?" + m(e), i = on(r), a = [...(t = i.intents) == null ? [] : t, ...De(r).intents], { intents: s = [], ...c } = ve(r, {
312
+ let r = "?" + h(e), i = an(r), a = [...(t = i.intents) == null ? [] : t, ...Ee(r).intents], { intents: s = [], ...c } = _e(r, {
313
313
  visibility: i.visibility,
314
314
  consent: i.consent,
315
315
  intents: a
316
316
  });
317
- W(i), W(c);
317
+ G(i), G(c);
318
318
  let l = (n = i.consent) == null ? c.consent : n;
319
- l && Qe(l), i.camera && Object.keys(i.camera).length && fn(v(i.camera)), i.visibility && Object.keys(i.visibility).length && D.setVisibility(i.visibility), tn(), U();
319
+ l && S(l), i.camera && Object.keys(i.camera).length && dn(x(i.camera)), i.visibility && Object.keys(i.visibility).length && N.setVisibility(i.visibility), en(), W();
320
320
  let u = [...a, ...s];
321
- u.length && o(S.fp, u);
322
- }
323
- function H() {
324
- let e = O();
325
- return Ke(e.length > 1 ? m(e.substring(1)) : "");
321
+ u.length && o(k.fp, u);
326
322
  }
327
323
  function U() {
328
- V = !0;
324
+ let e = P();
325
+ return Ue(e.length > 1 ? h(e.substring(1)) : "");
326
+ }
327
+ function W() {
328
+ H = !0;
329
329
  try {
330
- Kt(new URLSearchParams(m(window.location.search)));
331
- let { primary: e } = ge(O()), t = e.type === "select" && (!e.slug || /^t=[^&]*$/.test(e.slug)) && (D.heatmap || D.heatmapYah);
332
- !H() && !t && $t(e);
330
+ Gt(new URLSearchParams(h(window.location.search)));
331
+ let { primary: e } = he(P()), t = e.type === "select" && (!e.slug || /^t=[^&]*$/.test(e.slug)) && (N.heatmap || N.heatmapYah);
332
+ !U() && !t && Qt(e);
333
333
  } finally {
334
- V = !1;
334
+ H = !1;
335
335
  }
336
- G(), dn();
336
+ K(), un();
337
337
  }
338
- function $t(e) {
339
- let t = S.fp;
338
+ function Qt(e) {
339
+ let t = k.fp;
340
340
  switch (e.type) {
341
341
  case "kiosk":
342
- e.enabled !== null && ct(D, e.enabled);
342
+ e.enabled !== null && nt(N, e.enabled);
343
343
  return;
344
344
  case "list":
345
345
  t.showList(e.list);
@@ -356,13 +356,13 @@ function $t(e) {
356
356
  return;
357
357
  case "route":
358
358
  var n, r;
359
- S.routeStore.setOnlyAccessible(e.accessible), S.routeStore.selectRoute(Je((n = e.from) == null ? "" : n, (r = e.to) == null ? "" : r, e.waypoints)), S.uiState.setIsMultiPointRoute(e.waypoints.length > 0), e.title && S.uiState.setRouteTitle(e.title);
359
+ k.routeStore.setOnlyAccessible(e.accessible), k.routeStore.selectRoute(Ge((n = e.from) == null ? "" : n, (r = e.to) == null ? "" : r, e.waypoints)), k.uiState.setIsMultiPointRoute(e.waypoints.length > 0), e.title && k.uiState.setRouteTitle(e.title);
360
360
  return;
361
361
  case "selectExhibitors":
362
362
  setTimeout(() => t.selectExhibitor(e.values), 250);
363
363
  return;
364
364
  case "ownedByFilters":
365
- Le.log("Skipping filter parameters in dispatchFromUrl (owned by URLFilterManager)");
365
+ v.log("Skipping filter parameters in dispatchFromUrl (owned by URLFilterManager)");
366
366
  return;
367
367
  case "ownedByConfig": return;
368
368
  case "select":
@@ -370,88 +370,88 @@ function $t(e) {
370
370
  return;
371
371
  }
372
372
  }
373
- function en(e) {
374
- let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i = S.boothStore.booths.filter((e) => n.includes(e.externalId)), a = S.exhibitorStore.exhibitors.filter((e) => r.includes(e.externalId)).flatMap((e) => e.booths), o = [...i, ...a];
375
- if (pt()) {
376
- let e = qt(o.map((e) => e.layer.name));
377
- e && S.fp.activateFloor({ name: e });
378
- }
379
- (n.length > 0 || r.length > 0) && S.fp.highlightEntities([...n, ...r]), S.layerStore.showPathWay(t), o.length > 0 && Me(() => {
380
- S.uiState.moveToRect = E.fromUnion(...o.map((e) => e.rect).filter(Boolean)), S.uiState.rollReset = !0;
373
+ function $t(e) {
374
+ let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i = k.boothStore.booths.filter((e) => n.includes(e.externalId)), a = k.exhibitorStore.exhibitors.filter((e) => r.includes(e.externalId)).flatMap((e) => e.booths), o = [...i, ...a];
375
+ if (st()) {
376
+ let e = Kt(o.map((e) => e.layer.name));
377
+ e && k.fp.activateFloor({ name: e });
378
+ }
379
+ (n.length > 0 || r.length > 0) && k.fp.highlightEntities([...n, ...r]), k.layerStore.showPathWay(t), o.length > 0 && je(() => {
380
+ k.uiState.moveToRect = M.fromUnion(...o.map((e) => e.rect).filter(Boolean)), k.uiState.rollReset = !0;
381
381
  });
382
382
  }
383
- function tn() {
384
- let { oneShots: e } = ge(O());
385
- for (let t of e) nn(t);
386
- let t = Xe(O());
387
- t !== null && C("?" + t), D.previewExhibitor && C("?" + D.previewExhibitor.slug), an();
383
+ function en() {
384
+ let { oneShots: e } = he(P());
385
+ for (let t of e) tn(t);
386
+ let t = qe(P());
387
+ t !== null && A("?" + t), N.previewExhibitor && A("?" + N.previewExhibitor.slug), rn();
388
388
  }
389
- function nn(e) {
389
+ function tn(e) {
390
390
  switch (e.type) {
391
391
  case "heatmap":
392
- rn(e.yah);
392
+ nn(e.yah);
393
393
  return;
394
394
  case "blueDot": {
395
395
  var t, n;
396
- let r = new gt(e.x, e.y, (t = S.layerStore.findLayer((n = e.layer) == null ? "" : n)) == null ? void 0 : t.name, void 0, e.lat, e.lng);
397
- u(() => S.layerStore.layersLoaded, () => S.routeStore.selectCurrentPosition(r, !0, 1));
396
+ let r = new ut(e.x, e.y, (t = k.layerStore.findLayer((n = e.layer) == null ? "" : n)) == null ? void 0 : t.name, void 0, e.lat, e.lng);
397
+ u(() => k.layerStore.layersLoaded, () => k.routeStore.selectCurrentPosition(r, !0, 1));
398
398
  return;
399
399
  }
400
400
  case "viewerMode":
401
- h && (e.enabled ? localStorage.setItem(Te, "true") : (localStorage.removeItem(Te), localStorage.removeItem(ne)));
401
+ g && (e.enabled ? localStorage.setItem(we, "true") : (localStorage.removeItem(we), localStorage.removeItem(ne)));
402
402
  return;
403
403
  case "previewMode":
404
- h && (e.enabled ? localStorage.setItem(c, "true") : (localStorage.removeItem(c), localStorage.removeItem(fe)));
404
+ g && (e.enabled ? localStorage.setItem(c, "true") : (localStorage.removeItem(c), localStorage.removeItem(de)));
405
405
  return;
406
406
  case "uiScale":
407
- e.scale === null ? Le.warn(`Invalid ui-scale parameter: ${e.raw}. Must be a number between 0.8 and 1.4.`) : S.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.`) : k.uiState.setUIScale(e.scale, !0);
408
408
  return;
409
409
  case "resetUiScale":
410
- S.uiState.resetUIScale();
410
+ k.uiState.resetUIScale();
411
411
  return;
412
412
  }
413
413
  }
414
- function rn(e) {
415
- ot(), e ? (D.heatmapYah = !0, D.monochrome = !0, D.hideLogoInBooth = !0, D.hideHeaderLogo = !0, D.disableBookmarked = !0) : D.heatmap = !0;
414
+ function nn(e) {
415
+ $e(), e ? (N.heatmapYah = !0, N.monochrome = !0, N.hideLogoInBooth = !0, N.hideHeaderLogo = !0, N.disableBookmarked = !0) : N.heatmap = !0;
416
416
  }
417
- function an() {
418
- let e = Jt(O(), (e) => {
419
- let t = S.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
417
+ function rn() {
418
+ let e = qt(P(), (e) => {
419
+ let t = k.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
420
420
  return t == null ? void 0 : t.name;
421
421
  });
422
- e !== null && C(e);
422
+ e !== null && A(e);
423
423
  }
424
- function W(e) {
425
- e.noOverlay !== void 0 && (D.hideOverlay = e.noOverlay), e.monochrome && (D.monochrome = !0), e.hideHeaderLogo && (D.hideHeaderLogo = !0), e.hideLogoInBooth && (D.hideLogoInBooth = !0), e.disableFeatured && S.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (D.disableBookmarked = !0), e.disableGps && S.routeStore.setGpsTrackingEnabled(!1), e.heatmap && r(e.heatmap) && rn(e.heatmap.variant === "yah");
424
+ function G(e) {
425
+ e.noOverlay !== void 0 && (N.hideOverlay = e.noOverlay), e.monochrome && (N.monochrome = !0), e.hideHeaderLogo && (N.hideHeaderLogo = !0), e.hideLogoInBooth && (N.hideLogoInBooth = !0), e.disableFeatured && k.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (N.disableBookmarked = !0), e.disableGps && k.routeStore.setGpsTrackingEnabled(!1), e.heatmap && r(e.heatmap) && nn(e.heatmap.variant === "yah");
426
426
  }
427
- function on(e) {
428
- return Ce(ye, e).value;
427
+ function an(e) {
428
+ return Se(ve, e).value;
429
429
  }
430
- var sn = null, cn = null, ln = null;
431
- function G() {
432
- let { selection: e, exhibitor: t, booth: n, eventItem: r } = un(), i = S.urlFilterManager.filterSearch();
433
- if (V) return;
434
- let a = Se(e) || i;
435
- O() !== a && (t !== sn || n !== cn || r !== ln ? ft(a) : C(a), sn = t, cn = n, ln = r);
430
+ var on = null, sn = null, cn = null;
431
+ function K() {
432
+ let { selection: e, exhibitor: t, booth: n, eventItem: r } = ln(), i = k.urlFilterManager.filterSearch();
433
+ if (H) return;
434
+ let a = xe(e) || i;
435
+ P() !== a && (t !== on || n !== sn || r !== cn ? ot(a) : A(a), on = t, sn = n, cn = r);
436
436
  }
437
- function un() {
438
- let e = D.selectedExhibitor, t = D.selectedBooth, n = D.selectedEventItem, r = D.selectedRoute, i = D.selectedSpeaker, a = D.setKioskModeEnabled, o = D.list, s;
437
+ function ln() {
438
+ let e = N.selectedExhibitor, t = N.selectedBooth, n = N.selectedEventItem, r = N.selectedRoute, i = N.selectedSpeaker, a = N.setKioskModeEnabled, o = N.list, s;
439
439
  if (o.type === "route-planner" && !e && !t && !n) {
440
440
  var c;
441
- let e = S.routePlannerStore;
441
+ let e = k.routePlannerStore;
442
442
  s = {
443
443
  type: "planner",
444
444
  fromBookmarks: e.source === "bookmarks",
445
445
  items: e.items.map((e) => e.entity.slug).filter(Boolean),
446
446
  from: ((c = e.startPoint) == null ? void 0 : c.slug) || void 0
447
447
  };
448
- } else if (r && !D.isMultiPointRoute) {
448
+ } else if (r && !N.isMultiPointRoute) {
449
449
  var l;
450
450
  s = {
451
451
  type: "route",
452
- to: r.to instanceof at ? r.to.slug : void 0,
453
- from: r.from instanceof at ? r.from.slug : void 0,
454
- accessible: S.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: k.routeStore.onlyAccessible,
455
455
  waypoints: (l = r.waypoints) == null ? void 0 : l.map((e) => e.slug)
456
456
  };
457
457
  } else if (e) s = {
@@ -488,7 +488,7 @@ function un() {
488
488
  var u, d;
489
489
  s = {
490
490
  type: "slug",
491
- slug: (u = (d = D.selectedCategory) == null ? void 0 : d.slug) == null ? "" : u
491
+ slug: (u = (d = N.selectedCategory) == null ? void 0 : d.slug) == null ? "" : u
492
492
  };
493
493
  break;
494
494
  case "search":
@@ -519,34 +519,21 @@ function un() {
519
519
  eventItem: n
520
520
  };
521
521
  }
522
- function dn() {
523
- let e = D.selectedExhibitor, t = D.selectedEventItem, n = D.selectedSpeaker, r = "";
524
- e ? r = e.name : t ? r = t.name : n ? r = n.name : D.list.type === "search" && D.list.text ? r = "`" + (D.list.text || "") + "`" : D.list.type === "multi-point-tour" && D.tourTitle && (r = D.tourTitle), r.length && (r += " – "), r += w.title, w.subtitle && (r += " – " + w.subtitle), r += " – Expo Floor Plan by ExpoFP", document.title = r;
522
+ function un() {
523
+ let e = N.selectedExhibitor, t = N.selectedEventItem, n = N.selectedSpeaker, r = "";
524
+ e ? r = e.name : t ? r = t.name : n ? r = n.name : N.list.type === "search" && N.list.text ? r = "`" + (N.list.text || "") + "`" : N.list.type === "multi-point-tour" && N.tourTitle && (r = N.tourTitle), r.length && (r += " – "), r += j.title, j.subtitle && (r += " – " + j.subtitle), r += " – Expo Floor Plan by ExpoFP", document.title = r;
525
525
  }
526
- function fn(e) {
526
+ function dn(e) {
527
527
  try {
528
- if (D.setMapSettings(e), e.z) {
529
- let t = S.layerStore.layers.find((t) => t.name === e.z);
530
- t && S.layerStore.updateVisibility(t, !0);
528
+ if (N.setMapSettings(e), e.z) {
529
+ let t = k.layerStore.layers.find((t) => t.name === e.z);
530
+ t && k.layerStore.updateVisibility(t, !0);
531
531
  }
532
532
  } catch (e) {
533
533
  console.error("Failed to process map settings.", e);
534
534
  }
535
535
  }
536
536
  //#endregion
537
- //#region src/tools/reset.ts
538
- function pn() {
539
- K("floorplan"), K("__searchi"), K("__mobxGlobals"), K("__store"), K("__mobxInstanceCount");
540
- for (let e in window) e !== "__efpStyleElements" && (e.includes("__fp") || e.includes("__efp")) && K(e);
541
- }
542
- function K(e) {
543
- mn(e) ? delete window[e] : window[e] = void 0;
544
- }
545
- function mn(e) {
546
- let t = Object.getOwnPropertyDescriptor(window, e);
547
- return t && t.configurable;
548
- }
549
- //#endregion
550
537
  //#region src/utils/mapEntity.ts
551
538
  function q(e) {
552
539
  switch (e.entity.type) {
@@ -620,33 +607,33 @@ function Y(e) {
620
607
  }
621
608
  //#endregion
622
609
  //#region src/floorplan.ready.tsx
623
- var X = Ie(), Z = (0, Tt.default)("efp:api");
624
- (0, Dt.install)();
625
- var hn = class extends s {
610
+ var X = Fe(), Z = (0, yt.default)("efp:api");
611
+ (0, xt.install)();
612
+ var fn = class extends s {
626
613
  constructor(...e) {
627
614
  super(...e), this.root = void 0;
628
615
  }
629
616
  init() {
630
- Yt(), this.ignoreQuery || Xt(this.offHistory), it("load"), mt(S), S.fp = this, Qe(this.consent), dt(rt.Load, ""), this.root = (0, Et.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, X.jsx)(wt, { children: /* @__PURE__ */ (0, X.jsx)(qe, {
617
+ Jt(), this.ignoreQuery || Yt(this.offHistory), Qe("load"), ct(k), k.fp = this, S(this.consent), at(E.Load, ""), this.root = (0, bt.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, X.jsx)(vt, { children: /* @__PURE__ */ (0, X.jsx)(We, {
631
618
  offHistory: this.offHistory,
632
619
  consent: this.consent
633
- }) })), dt(rt.Rendered, ""), ke(() => S.layerStore.layersLoaded, () => {
634
- if (this.resolveReady(), !S.initialized) {
620
+ }) })), at(E.Rendered, ""), Oe(() => k.layerStore.layersLoaded, () => {
621
+ if (this.resolveReady(), !k.initialized) {
635
622
  var e;
636
623
  (e = this.onInit) == null || e.call(this, this);
637
624
  }
638
- S.initialized = !0;
625
+ k.initialized = !0;
639
626
  });
640
- let e = Pt(w);
641
- e && import("./bootIntercom-D-rZAhCK.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
627
+ let e = Ot(j);
628
+ e && import("./bootIntercom-wfCldz8i.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
642
629
  }
643
630
  selectBooth(e) {
644
631
  if (typeof e != "string" && !Array.isArray(e)) {
645
632
  $("selectBooth", "Parameter must be a string or an array of strings.", "EFP000000");
646
633
  return;
647
634
  }
648
- let t = S.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
649
- S.selectBooth(t);
635
+ let t = k.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
636
+ k.selectBooth(t);
650
637
  }
651
638
  selectExhibitor(e) {
652
639
  if (typeof e != "string" && !Array.isArray(e)) {
@@ -654,35 +641,35 @@ var hn = class extends s {
654
641
  return;
655
642
  }
656
643
  if (!(e != null && e.length)) {
657
- S.uiState.menu = !1, S.searchStore.resetSearchBox(), S.uiState.details = null;
644
+ k.uiState.menu = !1, k.searchStore.resetSearchBox(), k.uiState.details = null;
658
645
  return;
659
646
  }
660
- let t = S.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
647
+ let t = k.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
661
648
  if (!(t != null && t.length)) return;
662
649
  if (typeof e == "string") {
663
- S.selectExhibitor(t[0]), S.moveToList([t[0]]);
650
+ k.selectExhibitor(t[0]), k.moveToList([t[0]]);
664
651
  return;
665
652
  }
666
- let n = qt(t.flatMap((e) => e.booths.map((e) => e.layer)).map((e) => e.description));
667
- n && S.layerStore.updateVisibility(n, !0), S.uiState.menu = !1, S.searchStore.resetSearchBox(), S.uiState.details = null, S.uiState.list = {
653
+ let n = Kt(t.flatMap((e) => e.booths.map((e) => e.layer)).map((e) => e.description));
654
+ n && k.layerStore.updateVisibility(n, !0), k.uiState.menu = !1, k.searchStore.resetSearchBox(), k.uiState.details = null, k.uiState.list = {
668
655
  type: "filter",
669
656
  items: t,
670
657
  query: {
671
658
  key: "exhibitors",
672
659
  value: t.map((e) => e.name).join(",")
673
660
  }
674
- }, S.moveToList();
661
+ }, k.moveToList();
675
662
  }
676
663
  highlightExhibitors(e) {
677
- Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), S.boothStore.highlightedByExternalIds = [], S.exhibitorStore.highlightedByExternalIds = [...e];
664
+ Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), k.boothStore.highlightedByExternalIds = [], k.exhibitorStore.highlightedByExternalIds = [...e];
678
665
  }
679
666
  highlightBooths(e) {
680
- Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), S.exhibitorStore.highlightedByExternalIds = [], S.boothStore.highlightedByExternalIds = [...e];
667
+ Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), k.exhibitorStore.highlightedByExternalIds = [], k.boothStore.highlightedByExternalIds = [...e];
681
668
  }
682
669
  highlightEntities(e) {
683
670
  Array.isArray(e) || $("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
684
- let { boothExternalIds: t, exhibitorExternalIds: n } = b(e);
685
- S.boothStore.highlightedByExternalIds = [...t], S.exhibitorStore.highlightedByExternalIds = [...n];
671
+ let { boothExternalIds: t, exhibitorExternalIds: n } = T(e);
672
+ k.boothStore.highlightedByExternalIds = [...t], k.exhibitorStore.highlightedByExternalIds = [...n];
686
673
  }
687
674
  selectRoute(e, t) {
688
675
  if (Array.isArray(e)) {
@@ -692,10 +679,10 @@ var hn = class extends s {
692
679
  $("selectRoute", "Invalid route format: When providing an array, it must include at least two points: a start and a destination.", "EFP000401");
693
680
  return;
694
681
  }
695
- S.routeStore.selectRoute(new tt(Q(n), Q(r), t.map(Q)));
682
+ k.routeStore.selectRoute(new w(Q(n), Q(r), t.map(Q)));
696
683
  return;
697
684
  }
698
- e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), S.routeStore.selectRoute(new tt(Q(e), Q(t)));
685
+ e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), k.routeStore.selectRoute(new w(Q(e), Q(t)));
699
686
  }
700
687
  getOptimizedRoutes(e) {
701
688
  if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
@@ -708,19 +695,19 @@ var hn = class extends s {
708
695
  let t = (r = (i = e.layer) == null ? void 0 : i.name) == null ? "" : r, a = n.get(t);
709
696
  a ? a.push(e) : n.set(t, [e]);
710
697
  }
711
- return Array.from(n.values()).map((e) => ({ waypoints: $e(e.map((e) => [e.name, {
698
+ return Array.from(n.values()).map((e) => ({ waypoints: Ye(e.map((e) => [e.name, {
712
699
  x: e.rect.center.x,
713
700
  y: e.rect.center.y
714
701
  }])) }));
715
702
  }
716
703
  selectCurrentPosition(e, t, n) {
717
704
  var r;
718
- let i = y(e.x) && y(e.y), a = y(e.lng) && y(e.lat);
719
- !i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), S.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
705
+ let i = C(e.x) && C(e.y), a = C(e.lng) && C(e.lat);
706
+ !i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), k.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
720
707
  }
721
708
  setBookmarks(e) {
722
709
  (!Array.isArray(e) || !e.length) && $("setBookmarks", "Parameter must be an array.", "EFP000700"), e.forEach((e) => {
723
- let t = S.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
710
+ let t = k.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
724
711
  t && (t.bookmarked = e.bookmarked);
725
712
  });
726
713
  }
@@ -739,29 +726,29 @@ var hn = class extends s {
739
726
  $("setEntitiesBookmarks", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000702");
740
727
  return;
741
728
  }
742
- let r = T("bookmarked"), i = {
729
+ let r = tt("bookmarked"), i = {
743
730
  exhibitor: {
744
731
  existingIds: new Set(r.exhibitors || []),
745
- finder: (e) => S.exhibitorStore.findExhibitor(e),
746
- replacer: (e) => S.exhibitorStore.replaceBookmarked(e)
732
+ finder: (e) => k.exhibitorStore.findExhibitor(e),
733
+ replacer: (e) => k.exhibitorStore.replaceBookmarked(e)
747
734
  },
748
735
  event: {
749
736
  existingIds: new Set(r.events || []),
750
- finder: (e) => S.eventStore.findByNameOrSlug(e),
751
- replacer: (e) => S.eventStore.replaceBookmarked(e)
737
+ finder: (e) => k.eventStore.findByNameOrSlug(e),
738
+ replacer: (e) => k.eventStore.replaceBookmarked(e)
752
739
  },
753
740
  speaker: {
754
741
  existingIds: new Set(r.speakers || []),
755
- finder: (e) => S.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
756
- replacer: (e) => S.speakerStore.replaceBookmarked(e)
742
+ finder: (e) => k.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
743
+ replacer: (e) => k.speakerStore.replaceBookmarked(e)
757
744
  },
758
745
  booth: {
759
746
  existingIds: new Set(r.booths || []),
760
747
  finder: (e) => {
761
- let t = S.boothStore.findBooth(e);
748
+ let t = k.boothStore.findBooth(e);
762
749
  return (t == null ? void 0 : t.exhibitors.length) === 0 ? t : void 0;
763
750
  },
764
- replacer: (e) => S.boothStore.replaceBookmarked(e)
751
+ replacer: (e) => k.boothStore.replaceBookmarked(e)
765
752
  }
766
753
  };
767
754
  e.forEach((e) => {
@@ -781,16 +768,16 @@ var hn = class extends s {
781
768
  $("setEntitiesVisited", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000704");
782
769
  return;
783
770
  }
784
- let r = T("visited"), i = {
771
+ let r = tt("visited"), i = {
785
772
  exhibitor: {
786
773
  existingIds: new Set(r.exhibitors || []),
787
- finder: (e) => S.exhibitorStore.findExhibitor(e),
788
- replacer: (e) => S.exhibitorStore.replaceVisited(e)
774
+ finder: (e) => k.exhibitorStore.findExhibitor(e),
775
+ replacer: (e) => k.exhibitorStore.replaceVisited(e)
789
776
  },
790
777
  event: {
791
778
  existingIds: new Set(r.events || []),
792
- finder: (e) => S.eventStore.findByNameOrSlug(e),
793
- replacer: (e) => S.eventStore.replaceVisited(e)
779
+ finder: (e) => k.eventStore.findByNameOrSlug(e),
780
+ replacer: (e) => k.eventStore.replaceVisited(e)
794
781
  }
795
782
  };
796
783
  e.forEach((e) => {
@@ -805,94 +792,94 @@ var hn = class extends s {
805
792
  $("setMarkers", "Invalid input.", "EFP000800");
806
793
  return;
807
794
  }
808
- S.routeStore.setMarkers(e);
795
+ k.routeStore.setMarkers(e);
809
796
  }
810
797
  selectMarker(e, t = !0) {
811
- return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), S.routeStore.selectMarker(e, t);
798
+ return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), k.routeStore.selectMarker(e, t);
812
799
  }
813
800
  drawCircles(e) {
814
- Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), S.uiState.debugCircles = e;
801
+ Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), k.uiState.debugCircles = e;
815
802
  }
816
803
  checkRoutes() {
817
- S.routeStore.checkRoutes();
804
+ k.routeStore.checkRoutes();
818
805
  }
819
806
  updateLayerVisibility(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"), S.layerStore.updateVisibility(e, t);
807
+ 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"), k.layerStore.updateVisibility(e, t);
821
808
  }
822
809
  getCenterCoordinates() {
823
- return S.fp.getCenterCoordinates();
810
+ return k.fp.getCenterCoordinates();
824
811
  }
825
812
  exhibitorsList() {
826
- return S.exhibitorStore.exhibitors.map((e) => q(e));
813
+ return k.exhibitorStore.exhibitors.map((e) => q(e));
827
814
  }
828
815
  boothsList() {
829
- return S.boothStore.booths.map((e) => q(e));
816
+ return k.boothStore.booths.map((e) => q(e));
830
817
  }
831
818
  categoriesList() {
832
- return S.categoryStore.categories.map((e) => q(e));
819
+ return k.categoryStore.categories.map((e) => q(e));
833
820
  }
834
821
  selectCategory(e) {
835
822
  if (e == null || typeof e != "string") {
836
- S.searchStore.selectSearch();
823
+ k.searchStore.selectSearch();
837
824
  return;
838
825
  }
839
- let t = e == null ? void 0 : e.toLowerCase(), n = S.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
826
+ let t = e == null ? void 0 : e.toLowerCase(), n = k.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
840
827
  if (!n) {
841
828
  $("selectCategory", `Category ${e} not found.`, "EFP000C01");
842
829
  return;
843
830
  }
844
- S.selectCategory(n);
831
+ k.selectCategory(n);
845
832
  }
846
833
  select(e) {
847
834
  if (typeof e != "string") {
848
835
  $("select", "Parameter must be a string.", "EFP001700");
849
836
  return;
850
837
  }
851
- let t = e, n = t == null ? void 0 : t.toLowerCase(), r = S.boothStore.booths.find((e) => {
838
+ let t = e, n = t == null ? void 0 : t.toLowerCase(), r = k.boothStore.booths.find((e) => {
852
839
  var t, r, i;
853
840
  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;
854
841
  });
855
842
  if (r) {
856
- setTimeout(() => S.selectBooth(r), 250);
843
+ setTimeout(() => k.selectBooth(r), 250);
857
844
  return;
858
845
  }
859
- let i = S.eventStore.eventItems.find((e) => {
846
+ let i = k.eventStore.eventItems.find((e) => {
860
847
  var t, r;
861
848
  return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
862
849
  });
863
850
  if (i) {
864
- S.selectEventItem(i, !0);
851
+ k.selectEventItem(i, !0);
865
852
  return;
866
853
  }
867
- let a = S.exhibitorStore.exhibitors.find((e) => {
854
+ let a = k.exhibitorStore.exhibitors.find((e) => {
868
855
  var t, r;
869
856
  return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
870
857
  });
871
858
  if (a) {
872
- setTimeout(() => S.clickExhibitor(a), 250);
859
+ setTimeout(() => k.clickExhibitor(a), 250);
873
860
  return;
874
861
  }
875
- let o = S.categoryStore.categories.find((e) => e.slug === t);
862
+ let o = k.categoryStore.categories.find((e) => e.slug === t);
876
863
  if (o) {
877
- S.selectCategory(o);
864
+ k.selectCategory(o);
878
865
  return;
879
866
  }
880
- let s = S.speakerStore.findBySlug(t);
867
+ let s = k.speakerStore.findBySlug(t);
881
868
  if (s) {
882
- S.selectSpeaker(s, !0);
869
+ k.selectSpeaker(s, !0);
883
870
  return;
884
871
  }
885
- t.includes("heatmap=true") || S.searchStore.selectSearch(t);
872
+ t.includes("heatmap=true") || k.searchStore.selectSearch(t);
886
873
  }
887
874
  showList(e) {
888
875
  let t = {
889
- bookmarks: () => S.selectBookmarks(),
890
- visited: () => S.selectVisited(),
891
- sessions: () => S.selectSessions(),
892
- exhibitors: () => S.selectExhibitors(),
893
- speakers: () => S.selectSpeakers(),
894
- tours: () => S.selectTours(),
895
- language: () => S.selectLanguage()
876
+ bookmarks: () => k.selectBookmarks(),
877
+ visited: () => k.selectVisited(),
878
+ sessions: () => k.selectSessions(),
879
+ exhibitors: () => k.selectExhibitors(),
880
+ speakers: () => k.selectSpeakers(),
881
+ tours: () => k.selectTours(),
882
+ language: () => k.selectLanguage()
896
883
  }, n = t[e];
897
884
  if (!n) {
898
885
  $("showList", `Unknown list "${e}". Must be one of: ${Object.keys(t).join(", ")}.`, "EFP001800");
@@ -905,65 +892,65 @@ var hn = class extends s {
905
892
  $("selectTour", "A tour id must be passed.", "EFP001900");
906
893
  return;
907
894
  }
908
- let t = S.toursStore.getTourById(e);
909
- t ? S.toursStore.launchTour(t, t.name, t.description) : (console.warn(`Route with id "${e}" not found`), S.selectTours());
895
+ let t = k.toursStore.getTourById(e);
896
+ t ? k.toursStore.launchTour(t, t.name, t.description) : (console.warn(`Route with id "${e}" not found`), k.selectTours());
910
897
  }
911
898
  openPlanner(e = {}) {
912
899
  if (typeof e != "object" || !e) {
913
900
  $("openPlanner", "An options object must be passed.", "EFP001A00");
914
901
  return;
915
902
  }
916
- let t = e.from ? k(e.from) : null;
917
- if (e.fromBookmarks) S.routePlannerStore.launchFromBookmarks(t == null ? void 0 : t);
903
+ let t = e.from ? F(e.from) : null;
904
+ if (e.fromBookmarks) k.routePlannerStore.launchFromBookmarks(t == null ? void 0 : t);
918
905
  else {
919
906
  var n;
920
- S.routePlannerStore.launchFromSlugs((n = e.items) == null ? [] : n, t == null ? void 0 : t);
907
+ k.routePlannerStore.launchFromSlugs((n = e.items) == null ? [] : n, t == null ? void 0 : t);
921
908
  }
922
909
  }
923
910
  startBuildRoute() {
924
- S.uiState.startBuildRoute();
911
+ k.uiState.startBuildRoute();
925
912
  }
926
913
  applyParameters(e) {
927
- typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), Zt(e);
914
+ typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), Xt(e);
928
915
  }
929
916
  getVisibility() {
930
- return S.uiState.visibility;
917
+ return k.uiState.visibility;
931
918
  }
932
919
  setVisibility(e) {
933
- (typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), S.uiState.setVisibility(e);
920
+ (typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), k.uiState.setVisibility(e);
934
921
  }
935
922
  findLocation() {
936
- S.routeStore.findLocation();
923
+ k.routeStore.findLocation();
937
924
  }
938
925
  zoomIn() {
939
- S.uiState.zoomIn();
926
+ k.uiState.zoomIn();
940
927
  }
941
928
  zoomOut() {
942
- S.uiState.zoomOut();
929
+ k.uiState.zoomOut();
943
930
  }
944
931
  switchView() {
945
- S.maplibreStore.activateMaplibre();
932
+ k.maplibreStore.activateMaplibre();
946
933
  }
947
934
  setCamera(e) {
948
935
  Z("setCamera called with camera=%O", e);
949
- let t = me.safeParse(e);
936
+ let t = pe.safeParse(e);
950
937
  if (!t.success) {
951
938
  $("setCamera", t.error.message, "EFP001B00");
952
939
  return;
953
940
  }
954
- S.uiState.setMapSettings(v(t.data));
941
+ k.uiState.setMapSettings(x(t.data));
955
942
  }
956
943
  getCamera() {
957
- return Ge(S.uiState.mapSettings);
944
+ return He(k.uiState.mapSettings);
958
945
  }
959
946
  zoomTo(e, t) {
960
947
  Z("zoomTo called with selectors=%O options=%O", e, t);
961
- let n = B.safeParse(e);
948
+ let n = Ut.safeParse(e);
962
949
  if (!n.success) {
963
950
  $("zoomTo", n.error.message, "EFP001600");
964
951
  return;
965
952
  }
966
- let r = Gt.safeParse(t);
953
+ let r = Wt.safeParse(t);
967
954
  if (!r.success) {
968
955
  $("zoomTo", r.error.message, "EFP001601");
969
956
  return;
@@ -974,7 +961,7 @@ var hn = class extends s {
974
961
  getBounds(e) {
975
962
  var t, n;
976
963
  Z("getBounds called with selectors=%O", e);
977
- let r = B.safeParse(e);
964
+ let r = Ut.safeParse(e);
978
965
  if (!r.success) {
979
966
  $("getBounds", r.error.message, "EFP001400");
980
967
  return;
@@ -982,15 +969,15 @@ var hn = class extends s {
982
969
  let i = [];
983
970
  if ((t = e.booths) == null || t.forEach((e) => {
984
971
  let t;
985
- e.externalId ? t = S.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = S.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
972
+ e.externalId ? t = k.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = k.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
986
973
  }), (n = e.exhibitors) == null || n.forEach((e) => {
987
974
  var t;
988
975
  let n;
989
- e.externalId ? n = S.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = S.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
976
+ e.externalId ? n = k.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = k.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
990
977
  e.rect && i.push(e.rect);
991
978
  });
992
979
  }), i.length === 0) return;
993
- let a = E.fromUnion(...i);
980
+ let a = M.fromUnion(...i);
994
981
  return {
995
982
  leftTop: {
996
983
  x: a.min.x,
@@ -1004,37 +991,37 @@ var hn = class extends s {
1004
991
  }
1005
992
  fitBounds(e, t) {
1006
993
  if (Z("fitBounds called with bounds=%O options=%O", e, t), !e) {
1007
- S.uiState.fitBounds();
994
+ k.uiState.fitBounds();
1008
995
  return;
1009
996
  }
1010
- let n = Wt.safeParse(e);
997
+ let n = Vt.safeParse(e);
1011
998
  if (!n.success) {
1012
999
  $("fitBounds", n.error.message, "EFP001500");
1013
1000
  return;
1014
1001
  }
1015
- let r = Gt.safeParse(t);
1002
+ let r = Wt.safeParse(t);
1016
1003
  if (!r.success) {
1017
1004
  $("fitBounds", r.error.message, "EFP001501");
1018
1005
  return;
1019
1006
  }
1020
- let i = E.fromMinMax({
1007
+ let i = M.fromMinMax({
1021
1008
  x: e.leftTop.x,
1022
1009
  y: e.leftTop.y
1023
1010
  }, {
1024
1011
  x: e.rightBottom.x,
1025
1012
  y: e.rightBottom.y
1026
1013
  });
1027
- S.uiState.moveToRect = t != null && t.padding ? i.expand(t.padding) : i;
1014
+ k.uiState.moveToRect = t != null && t.padding ? i.expand(t.padding) : i;
1028
1015
  }
1029
1016
  getBoothRect(e) {
1030
1017
  var t;
1031
1018
  typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00");
1032
- let n = (t = k(e)) == null ? void 0 : t.rect;
1033
- return n ? _n.fromBox(n) : void 0;
1019
+ let n = (t = F(e)) == null ? void 0 : t.rect;
1020
+ return n ? mn.fromBox(n) : void 0;
1034
1021
  }
1035
1022
  convertToGeo(e, t) {
1036
1023
  var n;
1037
- if (!(!(x == null || (n = x.properties) == null) && n.config)) {
1024
+ if (!(!(D == null || (n = D.properties) == null) && n.config)) {
1038
1025
  $("convertToGeo", "The coordinates cannot be converted because the GPS configuration is not defined.", "EFP001000");
1039
1026
  return;
1040
1027
  }
@@ -1042,11 +1029,11 @@ var hn = class extends s {
1042
1029
  $("convertToGeo", "Both coordinates must be passed.", "EFP001001");
1043
1030
  return;
1044
1031
  }
1045
- return Ze(e, t, x.properties.config);
1032
+ return Je(e, t, D.properties.config);
1046
1033
  }
1047
1034
  getGeoConfig() {
1048
1035
  var e, t;
1049
- let n = x == null || (e = x.properties) == null ? void 0 : e.config;
1036
+ let n = D == null || (e = D.properties) == null ? void 0 : e.config;
1050
1037
  return n ? {
1051
1038
  bearing: (t = n.bearing) == null ? 0 : t,
1052
1039
  p0: n.p0,
@@ -1054,18 +1041,17 @@ var hn = class extends s {
1054
1041
  p2: n.p2
1055
1042
  } : null;
1056
1043
  }
1057
- unstable_destroy() {
1058
- let e = window.__efpElement.firstChild;
1059
- pn(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", i), S.maplibreStore.dispose(), lt(), st(), Ye(), this.root.unmount(), e.remove();
1044
+ releaseResources() {
1045
+ window.removeEventListener("error", i), k.maplibreStore.dispose(), rt(), et(), Ke(), this.root.unmount(), super.releaseResources();
1060
1046
  }
1061
1047
  search(e) {
1062
- return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), S.fuzzySearchEngineStore.loadEngine().then(() => (S.searchStore.selectSearch(e), S.uiState.fuzzySearchItems.map((e) => ({
1048
+ return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), k.fuzzySearchEngineStore.loadEngine().then(() => (k.searchStore.selectSearch(e), k.uiState.fuzzySearchItems.map((e) => ({
1063
1049
  item: q(e.item),
1064
1050
  score: e.score
1065
1051
  }))));
1066
1052
  }
1067
1053
  getFloors() {
1068
- return S.layerStore.floors.map((e) => ({
1054
+ return k.layerStore.floors.map((e) => ({
1069
1055
  name: e.name,
1070
1056
  shortName: e.shortName,
1071
1057
  description: e.description,
@@ -1102,70 +1088,70 @@ var hn = class extends s {
1102
1088
  }
1103
1089
  }
1104
1090
  showPathway(e, t) {
1105
- let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ? b(t) : {
1091
+ let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ? T(t) : {
1106
1092
  boothExternalIds: [],
1107
1093
  exhibitorExternalIds: []
1108
1094
  };
1109
- en({
1095
+ $t({
1110
1096
  pathwayId: e,
1111
1097
  boothIds: n,
1112
1098
  exhibitorIds: r
1113
1099
  });
1114
1100
  }
1115
1101
  showPathwayOnly(e, t) {
1116
- this.activateFloor({ name: t }), S.layerStore.showPathWay(e), S.uiState.setPathwayOnlyMode(!0);
1117
- let n = S.layerStore.findLayer(e), r = S.layerStore.findLayer(t), i = n != null && n.rect || n != null && n.viewbox ? n : r;
1102
+ this.activateFloor({ name: t }), k.layerStore.showPathWay(e), k.uiState.setPathwayOnlyMode(!0);
1103
+ let n = k.layerStore.findLayer(e), r = k.layerStore.findLayer(t), i = n != null && n.rect || n != null && n.viewbox ? n : r;
1118
1104
  if (i != null && i.rect || i != null && i.viewbox) {
1119
1105
  var a;
1120
1106
  let e = (a = i.viewbox) == null ? i.rect : a;
1121
- S.uiState.moveToRect = e.clone();
1107
+ k.uiState.moveToRect = e.clone();
1122
1108
  }
1123
1109
  }
1124
1110
  hidePathways() {
1125
- this.highlightBooths([]), S.layerStore.hidePathways(), S.uiState.setPathwayOnlyMode(!1);
1111
+ this.highlightBooths([]), k.layerStore.hidePathways(), k.uiState.setPathwayOnlyMode(!1);
1126
1112
  }
1127
1113
  showSearch() {
1128
- S.selectSearch("");
1114
+ k.selectSearch("");
1129
1115
  }
1130
1116
  changeLanguage(e) {
1131
1117
  var t;
1132
1118
  let n = e == null || (t = e.toLowerCase) == null ? void 0 : t.call(e);
1133
- if (!Oe(n)) {
1134
- $("changeLanguage", `Language "${e}" was not found. Available languages: ${we().map((e) => e.id).join(",")}`, "EFP001300");
1119
+ if (!De(n)) {
1120
+ $("changeLanguage", `Language "${e}" was not found. Available languages: ${Ce().map((e) => e.id).join(",")}`, "EFP001300");
1135
1121
  return;
1136
1122
  }
1137
- Ee(n);
1123
+ Te(n);
1138
1124
  }
1139
1125
  isGpsTrackingEnabled() {
1140
- return S.routeStore.gpsEnabled;
1126
+ return k.routeStore.gpsEnabled;
1141
1127
  }
1142
1128
  setGpsTrackingEnabled(e) {
1143
- S.routeStore.setGpsTrackingEnabled(e);
1129
+ k.routeStore.setGpsTrackingEnabled(e);
1144
1130
  }
1145
1131
  deselectCurrentPosition() {
1146
- S.routeStore.selectCurrentPosition(null, !1);
1132
+ k.routeStore.selectCurrentPosition(null, !1);
1147
1133
  }
1148
1134
  deselectRoute() {
1149
- S.routeStore.selectRoute(null), S.routeStore.setOnlyAccessible(!1);
1135
+ k.routeStore.selectRoute(null), k.routeStore.setOnlyAccessible(!1);
1150
1136
  }
1151
1137
  reset() {
1152
- if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), S.uiState.kioskData && S.resetCameraFn) {
1138
+ if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), k.uiState.kioskData && k.resetCameraFn) {
1153
1139
  var e;
1154
- (e = S.resetCameraFn) == null || e.call(S);
1140
+ (e = k.resetCameraFn) == null || e.call(k);
1155
1141
  } else this.fitBounds();
1156
1142
  }
1157
1143
  selectAccessibleRoute(e) {
1158
- S.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
1144
+ k.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
1159
1145
  }
1160
1146
  };
1161
1147
  function Q(e) {
1162
- return typeof e == "string" ? k(e) : S.routeStore.getNearestBooth(e);
1148
+ return typeof e == "string" ? F(e) : k.routeStore.getNearestBooth(e);
1163
1149
  }
1164
- var gn = 0;
1150
+ var pn = 0;
1165
1151
  function $(e, t, n) {
1166
1152
  let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://js-sdk.expofp.com/api/packages";
1167
- if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), S.fp.disableRuntimeAlerts) return;
1168
- S.uiState.setGlobalErrorMessage({
1153
+ if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), k.fp.disableRuntimeAlerts) return;
1154
+ k.uiState.setGlobalErrorMessage({
1169
1155
  title: r,
1170
1156
  body: /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [
1171
1157
  i,
@@ -1177,16 +1163,16 @@ function $(e, t, n) {
1177
1163
  children: a
1178
1164
  })
1179
1165
  ] })
1180
- }), clearTimeout(gn);
1166
+ }), clearTimeout(pn);
1181
1167
  let o = 8e3;
1182
- gn = window.setTimeout(() => {
1168
+ pn = window.setTimeout(() => {
1183
1169
  let e = async () => {
1184
- S.uiState.globalErrorMessages.length > 0 && (S.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
1170
+ k.uiState.globalErrorMessages.length > 0 && (k.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
1185
1171
  };
1186
1172
  e();
1187
1173
  }, o);
1188
1174
  }
1189
- var _n = class e {
1175
+ var mn = class e {
1190
1176
  get h() {
1191
1177
  return Math.abs(this.y2 - this.y1);
1192
1178
  }
@@ -1259,4 +1245,4 @@ var _n = class e {
1259
1245
  }
1260
1246
  };
1261
1247
  //#endregion
1262
- export { hn as default };
1248
+ export { fn as default };