@expofp/floorplan 0.0.0-experimental.2d6c681 → 0.0.0-experimental.6dabc65

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 (41) hide show
  1. package/dist/browser/{CookieConsent-BIsWzAiP.js → CookieConsent-DYjf8elV.js} +1 -1
  2. package/dist/browser/{Debug-B5mmo0ZX.js → Debug-CK-BLY-v.js} +1 -1
  3. package/dist/browser/{Demo-B2klxORi.js → Demo-B677YULI.js} +1 -1
  4. package/dist/browser/{Free-suULW-LU.js → Free-B_nU7Krr.js} +1 -1
  5. package/dist/browser/{GalleryContainer-BGBNGRKU.js → GalleryContainer-DcZrZnJz.js} +2 -2
  6. package/dist/browser/{GpsLoader-Idv0kq5D.js → GpsLoader-D9ghVrHk.js} +5 -5
  7. package/dist/browser/{KioskStore-Dg9jaX5d.js → KioskStore-BY2LVJPr.js} +4 -4
  8. package/dist/browser/{LayerStore-CK6wLW56.js → LayerStore-Cdwr6Hsw.js} +5 -5
  9. package/dist/browser/{MaplibreAdapter-uZUhZfFW.js → MaplibreAdapter-aWJl2IuA.js} +58 -59
  10. package/dist/browser/{ModalContainer-DWm8vEaI.js → ModalContainer-DnZxo0qA.js} +1 -1
  11. package/dist/browser/{RouteStore-NE2I9tiF.js → RouteStore-DTRRmaH_.js} +1552 -740
  12. package/dist/browser/{SetKioskMode-Dwlf5w7q.js → SetKioskMode-KMjCaliE.js} +2 -2
  13. package/dist/browser/{ShowKiosk-Cr-QmIUT.js → ShowKiosk-C_gEEGg7.js} +3 -3
  14. package/dist/browser/{ViewerMenuPanel-CTAjGsq2.js → ViewerMenuPanel-CbkSUP3L.js} +3 -3
  15. package/dist/browser/bundle.json +31 -34
  16. package/dist/browser/{components-BjEhhgf2.js → components-DRXsdUhs.js} +727 -727
  17. package/dist/browser/{create-live-plan-BaEGBhGA.js → create-live-plan-DnaL_dh7.js} +386 -725
  18. package/dist/browser/{floorplan.loader-CGzIMplb.js → floorplan.loader-151P9pJo.js} +6 -6
  19. package/dist/browser/{floorplan.ready-r96zV9bP.js → floorplan.ready-CCnzh5dy.js} +470 -378
  20. package/dist/browser/{i18n-BgFBhYOU.js → i18n-DRDvImjG.js} +7 -2
  21. package/dist/browser/index.js +8 -8
  22. package/dist/browser/{venue-public-BA3x-n4N.js → init-ui-DsRfN2rh.js} +8 -18
  23. package/dist/browser/{integrateKiosk-D45vYRsm.js → integrateKiosk-w_EetoNQ.js} +1 -1
  24. package/dist/browser/{is-debug-BRHdrnKr.js → is-debug-6YYr83sg.js} +2 -2
  25. package/dist/browser/{journey-plan-DtL28HMP.js → journey-plan-CEf1fFZz.js} +16 -16
  26. package/dist/browser/{kiosk-mode-DfkGlDkT.js → kiosk-mode-Ck1FQGr9.js} +2 -2
  27. package/dist/browser/{kioskUrlParam-CnYhnC_7.js → kioskUrlParam-BinDd3Gf.js} +1 -1
  28. package/dist/browser/{loadImage-DzSnRAxX.js → loadImage-CenmkrfL.js} +1 -1
  29. package/dist/browser/{logDeviceInfo-BTqyv9Xe.js → logDeviceInfo-OsKRXOu4.js} +4 -4
  30. package/dist/browser/{debounce-raMZ2DqK.js → venue-selection-DLUrexiA.js} +8 -18
  31. package/dist/browser/{viewport-B7plho3P.js → viewport-CBi835qx.js} +1 -1
  32. package/dist/esm/floorplan.ready.js +10 -0
  33. package/dist/esm/store/RouteStore.d.ts +10 -0
  34. package/dist/esm/store/RouteStore.js +48 -16
  35. package/dist/esm/store/VenueStore.d.ts +7 -0
  36. package/dist/esm/store/VenueStore.js +9 -0
  37. package/dist/esm/tools/sdk-telemetry.d.ts +10 -0
  38. package/dist/esm/tools/sdk-telemetry.js +122 -0
  39. package/dist/esm/tools/settings.js +1 -1
  40. package/package.json +10 -10
  41. package/dist/browser/venues-DKpIy-87.js +0 -447
@@ -3,41 +3,41 @@
3
3
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
4
  e.SENTRY_RELEASE = { id: "3.45.6" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "aee52c64-b755-4fe8-abc8-5e6e4f7febaf", e._sentryDebugIdIdentifier = "sentry-dbid-aee52c64-b755-4fe8-abc8-5e6e4f7febaf");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "9bae8bb2-d1f1-4432-868d-e46a8aa69d4d", e._sentryDebugIdIdentifier = "sentry-dbid-9bae8bb2-d1f1-4432-868d-e46a8aa69d4d");
7
7
  } catch {}
8
8
  })();
9
9
  import { r as e } from "./rolldown-runtime-DUb2xvRc.js";
10
- import { a as t, c as n, i as r, n as i, o as a, r as o, s, t as c } from "./floorplan.loader-CGzIMplb.js";
11
- import { $ as l, At as u, Ct as d, Dt as f, Et as ee, O as te, Ot as p, Q as m, St as ne, Tt as re, U as ie, X as ae, Y as oe, _t as se, at as ce, bt as le, ct as ue, dt as de, et as fe, ft as pe, gt as me, ht as he, j as ge, k as _e, kt as h, l as ve, mt as ye, n as be, nt as xe, o as Se, pt as Ce, r as we, st as Te, tt as Ee, ut as De, vt as Oe, wt as ke, xt as Ae, yt as je, z as Me } from "./i18n-BgFBhYOU.js";
12
- import { s as Ne } from "./efp-debug-init-CozbueIl.js";
13
- import { t as Pe } from "./react-DqPP-mkq.js";
14
- import { t as Fe } from "./jsx-runtime-DQgnuS-I.js";
15
- import { a as g, m as _ } from "./is-debug-BRHdrnKr.js";
16
- import { n as Ie, t as Le } from "./is-own-domain-DNvxb9Ph.js";
17
- import { r as Re } from "./loadImage-DzSnRAxX.js";
18
- import { C as ze, D as Be, Q as Ve, ht as v, i as He, n as Ue, w as We } from "./exports-CvUYw1h6.js";
19
- import { l as Ge, u as Ke } from "./mobx.module-BOCLFB5I.js";
20
- import { t as qe } from "./client-BcPpS_Gj.js";
21
- import { i as Je, n as Ye, r as y, t as Xe } from "./components-BjEhhgf2.js";
22
- import { _ as Ze, l as Qe, n as $e, y as et } from "./debounce-raMZ2DqK.js";
23
- import { $ as b, A as tt, Bt as nt, M as x, N as rt, S as it, Ut as S, Xt as C, m as at, un as w } from "./LayerStore-CK6wLW56.js";
24
- import { l as T, u as E } from "./store-q_CTsixH.js";
25
- import { B as ot, D as st, I as ct, L as lt, M as ut, N as D, O as dt, P as ft, R as O, _ as pt, a as k, c as mt, h as ht, i as gt, k as _t, n as A, t as vt, v as j, w as yt } from "./RouteStore-NE2I9tiF.js";
26
- import { t as bt } from "./kioskUrlParam-CnYhnC_7.js";
27
- import { r as xt, t as St } from "./kiosk-mode-DfkGlDkT.js";
28
- import { n as Ct, t as wt } from "./integrateKiosk-D45vYRsm.js";
29
- import { c as Tt, n as Et } from "./journey-plan-DtL28HMP.js";
30
- import { n as Dt, t as Ot } from "./venue-public-BA3x-n4N.js";
10
+ import { a as t, c as n, i as r, n as i, o as a, r as o, s, t as c } from "./floorplan.loader-151P9pJo.js";
11
+ import { $ as l, At as u, Ct as d, Dt as f, Et as ee, O as te, Ot as ne, Q as p, St as re, Tt as ie, U as ae, X as oe, Y as se, _t as ce, at as le, bt as ue, ct as de, dt as fe, et as pe, ft as me, gt as he, ht as ge, j as _e, jt as ve, k as ye, kt as m, l as be, mt as xe, n as Se, nt as Ce, o as we, pt as Te, r as Ee, st as De, tt as Oe, ut as ke, vt as Ae, wt as je, xt as Me, yt as Ne, z as Pe } from "./i18n-DRDvImjG.js";
12
+ import { s as Fe } from "./efp-debug-init-CozbueIl.js";
13
+ import { t as Ie } from "./react-DqPP-mkq.js";
14
+ import { t as Le } from "./jsx-runtime-DQgnuS-I.js";
15
+ import { a as h, m as g } from "./is-debug-6YYr83sg.js";
16
+ import { n as Re, t as ze } from "./is-own-domain-DNvxb9Ph.js";
17
+ import { r as Be } from "./loadImage-CenmkrfL.js";
18
+ import { C as Ve, D as He, Q as Ue, ht as _, i as We, n as Ge, w as Ke } from "./exports-CvUYw1h6.js";
19
+ import { l as qe, u as Je } from "./mobx.module-BOCLFB5I.js";
20
+ import { t as Ye } from "./client-BcPpS_Gj.js";
21
+ import { i as Xe, n as Ze, r as v, t as Qe } from "./components-DRXsdUhs.js";
22
+ import { c as $e, g as et, t as tt, v as nt } from "./venue-selection-DLUrexiA.js";
23
+ import { $ as y, A as rt, Bt as it, M as b, N as at, S as ot, Ut as x, Xt as S, m as st, un as C } from "./LayerStore-Cdwr6Hsw.js";
24
+ import { l as w, u as T } from "./store-q_CTsixH.js";
25
+ import { C as E, G as ct, H as lt, L as ut, M as dt, N as ft, P as pt, R as D, S as mt, U as O, V as ht, a as k, b as gt, c as _t, i as vt, k as yt, n as A, t as bt, u as xt, z as St } from "./RouteStore-DTRRmaH_.js";
26
+ import { t as Ct } from "./kioskUrlParam-BinDd3Gf.js";
27
+ import { r as wt, t as Tt } from "./kiosk-mode-Ck1FQGr9.js";
28
+ import { n as Et, t as Dt } from "./integrateKiosk-w_EetoNQ.js";
29
+ import { c as Ot, n as kt } from "./journey-plan-CEf1fFZz.js";
30
+ import { t as At } from "./init-ui-DsRfN2rh.js";
31
31
  //#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
32
- function kt(e = {}) {
32
+ function jt(e = {}) {
33
33
  let n = r.document, i = (n == null ? void 0 : n.head) || (n == null ? void 0 : n.body);
34
34
  if (!i) {
35
- o && v.error("[showReportDialog] Global document not defined");
35
+ o && _.error("[showReportDialog] Global document not defined");
36
36
  return;
37
37
  }
38
- let a = We(), s = ze(), c = s == null ? void 0 : s.getDsn();
38
+ let a = Ke(), s = Ve(), c = s == null ? void 0 : s.getDsn();
39
39
  if (!c) {
40
- o && v.error("[showReportDialog] DSN not configured");
40
+ o && _.error("[showReportDialog] DSN not configured");
41
41
  return;
42
42
  }
43
43
  let l = {
@@ -46,7 +46,7 @@ function kt(e = {}) {
46
46
  ...a.getUser(),
47
47
  ...e.user
48
48
  },
49
- eventId: e.eventId || He()
49
+ eventId: e.eventId || We()
50
50
  }, u = r.document.createElement("script");
51
51
  u.async = !0, u.crossOrigin = "anonymous", u.src = t(c, l);
52
52
  let { onLoad: d, onClose: f } = l;
@@ -64,12 +64,12 @@ function kt(e = {}) {
64
64
  }
65
65
  //#endregion
66
66
  //#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/error.js
67
- var M = /* @__PURE__ */ e(Pe());
68
- function At(e) {
67
+ var j = /* @__PURE__ */ e(Ie());
68
+ function Mt(e) {
69
69
  let t = e.match(/^([^.]+)/);
70
70
  return t !== null && parseInt(t[0]) >= 17;
71
71
  }
72
- function jt(e, t) {
72
+ function Nt(e, t) {
73
73
  let n = /* @__PURE__ */ new WeakSet();
74
74
  function r(e, t) {
75
75
  if (!n.has(e)) {
@@ -79,25 +79,25 @@ function jt(e, t) {
79
79
  }
80
80
  r(e, t);
81
81
  }
82
- function Mt(e, { componentStack: t }, n) {
83
- if (At(M.version) && Ve(e) && t) {
82
+ function Pt(e, { componentStack: t }, n) {
83
+ if (Mt(j.version) && Ue(e) && t) {
84
84
  let n = Error(e.message);
85
- n.name = `React ErrorBoundary ${e.name}`, n.stack = t, jt(e, n);
85
+ n.name = `React ErrorBoundary ${e.name}`, n.stack = t, Nt(e, n);
86
86
  }
87
- return Ue(e, n);
87
+ return Ge(e, n);
88
88
  }
89
89
  //#endregion
90
90
  //#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/debug-build.js
91
- var Nt = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, N = {
91
+ var Ft = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, M = {
92
92
  componentStack: null,
93
93
  error: null,
94
94
  eventId: null
95
- }, Pt = class extends M.Component {
95
+ }, It = class extends j.Component {
96
96
  constructor(e) {
97
- super(e), this.state = N, this._openFallbackReportDialog = !0;
98
- let t = ze();
97
+ super(e), this.state = M, this._openFallbackReportDialog = !0;
98
+ let t = Ve();
99
99
  t && e.showDialog && (this._openFallbackReportDialog = !1, this._cleanupHook = t.on("afterSendEvent", (t) => {
100
- !t.type && this._lastEventId && t.event_id === this._lastEventId && kt({
100
+ !t.type && this._lastEventId && t.event_id === this._lastEventId && jt({
101
101
  ...e.dialogOptions,
102
102
  eventId: this._lastEventId
103
103
  });
@@ -105,13 +105,13 @@ var Nt = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, N = {
105
105
  }
106
106
  componentDidCatch(e, t) {
107
107
  let { componentStack: n } = t, { beforeCapture: r, onError: i, showDialog: a, dialogOptions: o } = this.props;
108
- Be((s) => {
108
+ He((s) => {
109
109
  r && r(s, e, n);
110
- let c = Mt(e, t, { mechanism: {
110
+ let c = Pt(e, t, { mechanism: {
111
111
  handled: this.props.handled == null ? !!this.props.fallback : this.props.handled,
112
112
  type: "auto.function.react.error_boundary"
113
113
  } });
114
- i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog && kt({
114
+ i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog && jt({
115
115
  ...o,
116
116
  eventId: c
117
117
  })), this.setState({
@@ -127,32 +127,32 @@ var Nt = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, N = {
127
127
  }
128
128
  componentWillUnmount() {
129
129
  let { error: e, componentStack: t, eventId: n } = this.state, { onUnmount: r } = this.props;
130
- r && (this.state === N ? r(null, null, null) : r(e, t, n)), this._cleanupHook && (this._cleanupHook(), this._cleanupHook = void 0);
130
+ r && (this.state === M ? r(null, null, null) : r(e, t, n)), this._cleanupHook && (this._cleanupHook(), this._cleanupHook = void 0);
131
131
  }
132
132
  resetErrorBoundary() {
133
133
  let { onReset: e } = this.props, { error: t, componentStack: n, eventId: r } = this.state;
134
- e && e(t, n, r), this.setState(N);
134
+ e && e(t, n, r), this.setState(M);
135
135
  }
136
136
  render() {
137
137
  let { fallback: e, children: t } = this.props, n = this.state;
138
138
  if (n.componentStack === null) return typeof t == "function" ? t() : t;
139
- let r = typeof e == "function" ? M.createElement(e, {
139
+ let r = typeof e == "function" ? j.createElement(e, {
140
140
  error: n.error,
141
141
  componentStack: n.componentStack,
142
142
  resetError: () => this.resetErrorBoundary(),
143
143
  eventId: n.eventId
144
144
  }) : e;
145
- return M.isValidElement(r) ? r : (e && Nt && v.warn("fallback did not produce a valid ReactElement"), null);
145
+ return j.isValidElement(r) ? r : (e && Ft && _.warn("fallback did not produce a valid ReactElement"), null);
146
146
  }
147
- }, Ft = /* @__PURE__ */ e(Ne(), 1), It = qe(), Lt = et();
148
- function P() {
147
+ }, Lt = /* @__PURE__ */ e(Fe(), 1), Rt = Ye(), zt = nt();
148
+ function Bt() {
149
149
  let e = window.location.hostname.split(".");
150
150
  return e.length >= 3 && e[e.length - 2] === "expofp" && e[e.length - 1] === "com";
151
151
  }
152
- function Rt() {
153
- return P() ? window.location.hostname.split(".")[0] : "main";
152
+ function Vt() {
153
+ return Bt() ? window.location.hostname.split(".")[0] : "main";
154
154
  }
155
- function zt(e) {
155
+ function Ht(e) {
156
156
  if ((e == null ? void 0 : e.free) === !0) return "Free";
157
157
  let t = e == null ? void 0 : e.trialExpiresAt;
158
158
  if (t) {
@@ -161,25 +161,25 @@ function zt(e) {
161
161
  }
162
162
  return "Active";
163
163
  }
164
- function Bt() {
164
+ function Ut() {
165
165
  return !1;
166
166
  }
167
- function Vt(e) {
167
+ function Wt(e) {
168
168
  return e;
169
169
  }
170
- function Ht(e) {
171
- if (Bt() || !P() || xt(e) || !window.navigator.onLine) return null;
172
- let t = Vt({
173
- subDomain: Rt(),
174
- subscriptionStatus: zt(e)
170
+ function Gt(e) {
171
+ if (Ut() || !Bt() || wt(e) || !window.navigator.onLine) return null;
172
+ let t = Wt({
173
+ subDomain: Vt(),
174
+ subscriptionStatus: Ht(e)
175
175
  });
176
176
  return t.subDomain !== "demo" && t.subscriptionStatus !== "Free" && t.subscriptionStatus !== "Trial Expired" ? null : t;
177
177
  }
178
178
  //#endregion
179
179
  //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/mini/schemas.js
180
- var F = /*@__PURE__*/ h("ZodMiniType", (e, t) => {
180
+ var N = /*@__PURE__*/ m("ZodMiniType", (e, t) => {
181
181
  if (!e._zod) throw Error("Uninitialized schema in ZodMiniType.");
182
- Ae.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => ne(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => ke(e, t, n), e.parseAsync = async (t, n) => d(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => re(e, t, n), e.check = (...n) => {
182
+ Me.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => re(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => je(e, t, n), e.parseAsync = async (t, n) => d(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => ie(e, t, n), e.check = (...n) => {
183
183
  var r;
184
184
  return e.clone({
185
185
  ...t,
@@ -190,94 +190,94 @@ var F = /*@__PURE__*/ h("ZodMiniType", (e, t) => {
190
190
  } } : e)]
191
191
  }, { parent: !0 });
192
192
  }, e.with = e.check, e.clone = (t, n) => ee(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.apply = (t) => t(e);
193
- }), Ut = /*@__PURE__*/ h("ZodMiniString", (e, t) => {
194
- le.init(e, t), F.init(e, t);
193
+ }), Kt = /*@__PURE__*/ m("ZodMiniString", (e, t) => {
194
+ ue.init(e, t), N.init(e, t);
195
195
  });
196
196
  // @__NO_SIDE_EFFECTS__
197
- function I(e) {
198
- return Ce(Ut, e);
197
+ function qt(e) {
198
+ return Te(Kt, e);
199
199
  }
200
- var Wt = /*@__PURE__*/ h("ZodMiniNumber", (e, t) => {
201
- se.init(e, t), F.init(e, t);
200
+ var Jt = /*@__PURE__*/ m("ZodMiniNumber", (e, t) => {
201
+ ce.init(e, t), N.init(e, t);
202
202
  });
203
203
  // @__NO_SIDE_EFFECTS__
204
- function L(e) {
205
- return de(Wt, e);
204
+ function P(e) {
205
+ return fe(Jt, e);
206
206
  }
207
- var Gt = /*@__PURE__*/ h("ZodMiniNever", (e, t) => {
208
- me.init(e, t), F.init(e, t);
207
+ var Yt = /*@__PURE__*/ m("ZodMiniNever", (e, t) => {
208
+ he.init(e, t), N.init(e, t);
209
209
  });
210
210
  // @__NO_SIDE_EFFECTS__
211
- function Kt(e) {
212
- return De(Gt, e);
211
+ function Xt(e) {
212
+ return ke(Yt, e);
213
213
  }
214
- var qt = /*@__PURE__*/ h("ZodMiniArray", (e, t) => {
215
- ye.init(e, t), F.init(e, t);
214
+ var Zt = /*@__PURE__*/ m("ZodMiniArray", (e, t) => {
215
+ xe.init(e, t), N.init(e, t);
216
216
  });
217
217
  // @__NO_SIDE_EFFECTS__
218
- function Jt(e, t) {
219
- return new qt({
218
+ function Qt(e, t) {
219
+ return new Zt({
220
220
  type: "array",
221
221
  element: e,
222
- ...p(t)
222
+ ...ne(t)
223
223
  });
224
224
  }
225
- var Yt = /*@__PURE__*/ h("ZodMiniObject", (e, t) => {
226
- Oe.init(e, t), F.init(e, t), f(e, "shape", () => t.shape);
225
+ var $t = /*@__PURE__*/ m("ZodMiniObject", (e, t) => {
226
+ Ae.init(e, t), N.init(e, t), f(e, "shape", () => t.shape);
227
227
  });
228
228
  // @__NO_SIDE_EFFECTS__
229
- function R(e, t) {
230
- return new Yt({
229
+ function F(e, t) {
230
+ return new $t({
231
231
  type: "object",
232
232
  shape: e,
233
- catchall: /* @__PURE__ */ Kt(),
234
- ...p(t)
233
+ catchall: /* @__PURE__ */ Xt(),
234
+ ...ne(t)
235
235
  });
236
236
  }
237
- var Xt = /*@__PURE__*/ h("ZodMiniOptional", (e, t) => {
238
- je.init(e, t), F.init(e, t);
237
+ var en = /*@__PURE__*/ m("ZodMiniOptional", (e, t) => {
238
+ Ne.init(e, t), N.init(e, t);
239
239
  });
240
240
  // @__NO_SIDE_EFFECTS__
241
- function z(e) {
242
- return new Xt({
241
+ function I(e) {
242
+ return new en({
243
243
  type: "optional",
244
244
  innerType: e
245
245
  });
246
246
  }
247
- var Zt = /*@__PURE__*/ h("ZodMiniCustom", (e, t) => {
248
- he.init(e, t), F.init(e, t);
247
+ var tn = /*@__PURE__*/ m("ZodMiniCustom", (e, t) => {
248
+ ge.init(e, t), N.init(e, t);
249
249
  });
250
250
  // @__NO_SIDE_EFFECTS__
251
- function Qt(e, t = {}) {
252
- return pe(Zt, e, t);
251
+ function nn(e, t = {}) {
252
+ return me(tn, e, t);
253
253
  }
254
254
  //#endregion
255
255
  //#region src/schemas/sdk.schemas.ts
256
- var $t = /* @__PURE__ */ R({
257
- x: /* @__PURE__ */ L(),
258
- y: /* @__PURE__ */ L()
259
- }), en = /* @__PURE__ */ R({
260
- leftTop: $t,
261
- rightBottom: $t
262
- }), tn = (/* @__PURE__ */ R({
263
- name: /* @__PURE__ */ z(/* @__PURE__ */ I()),
264
- externalId: /* @__PURE__ */ z(/* @__PURE__ */ I())
265
- })).check(/* @__PURE__ */ Qt((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")), nn = (/* @__PURE__ */ R({
266
- booths: /* @__PURE__ */ z(/* @__PURE__ */ Jt(tn)),
267
- exhibitors: /* @__PURE__ */ z(/* @__PURE__ */ Jt(tn))
268
- })).check(/* @__PURE__ */ Qt((e) => {
256
+ var rn = /* @__PURE__ */ F({
257
+ x: /* @__PURE__ */ P(),
258
+ y: /* @__PURE__ */ P()
259
+ }), an = /* @__PURE__ */ F({
260
+ leftTop: rn,
261
+ rightBottom: rn
262
+ }), on = (/* @__PURE__ */ F({
263
+ name: /* @__PURE__ */ I(/* @__PURE__ */ qt()),
264
+ externalId: /* @__PURE__ */ I(/* @__PURE__ */ qt())
265
+ })).check(/* @__PURE__ */ nn((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")), sn = (/* @__PURE__ */ F({
266
+ booths: /* @__PURE__ */ I(/* @__PURE__ */ Qt(on)),
267
+ exhibitors: /* @__PURE__ */ I(/* @__PURE__ */ Qt(on))
268
+ })).check(/* @__PURE__ */ nn((e) => {
269
269
  var t, n;
270
270
  return !!((t = e.booths) != null && t.length || (n = e.exhibitors) != null && n.length);
271
- }, "Selector must contain booths or exhibitors")), B = /* @__PURE__ */ z(/* @__PURE__ */ R({ padding: /* @__PURE__ */ z(/* @__PURE__ */ L()) }));
271
+ }, "Selector must contain booths or exhibitors")), cn = /* @__PURE__ */ I(/* @__PURE__ */ F({ padding: /* @__PURE__ */ I(/* @__PURE__ */ P()) }));
272
272
  //#endregion
273
273
  //#region src/components/Kiosk/recoverKioskFromUrlPrams.ts
274
- function rn(e) {
275
- let t = bt(e);
276
- Object.values(t).length && (wt(t, !1), Ct(t));
274
+ function ln(e) {
275
+ let t = Ct(e);
276
+ Object.values(t).length && (Dt(t, !1), Et(t));
277
277
  }
278
278
  //#endregion
279
279
  //#region src/utils/getMostFrequent.ts
280
- function an(e) {
280
+ function un(e) {
281
281
  let t = {}, n = 0, r;
282
282
  return e.forEach((e) => {
283
283
  t[e] = (t[e] || 0) + 1, t[e] > n && (n = t[e], r = e);
@@ -285,85 +285,85 @@ function an(e) {
285
285
  }
286
286
  //#endregion
287
287
  //#region src/services/multi-slug.ts
288
- function on(e, t) {
288
+ function dn(e, t) {
289
289
  if (!e.includes("&") && !e.includes("%26")) return null;
290
- let n = e.startsWith("?") ? e.slice(1) : e, r = n.includes("&") ? "&" : "%26", i = n.split(r), a = (e) => !!e && !m(e).includes("=");
290
+ let n = e.startsWith("?") ? e.slice(1) : e, r = n.includes("&") ? "&" : "%26", i = n.split(r), a = (e) => !!e && !p(e).includes("=");
291
291
  return i.filter(a).length < 2 ? null : "?" + i.map((e) => a(e) && t(e) || e).join("&");
292
292
  }
293
293
  //#endregion
294
294
  //#region src/services/url-dispatch.ts
295
- var V = !1, H = !1;
296
- function sn() {
297
- G(u()), x(() => T.layerStore.layersLoaded, () => {
295
+ var L = !1, R = !1;
296
+ function fn() {
297
+ V(u()), b(() => w.layerStore.layersLoaded, () => {
298
298
  let e = u().camera;
299
- Object.keys(e).length && En(y(e));
299
+ Object.keys(e).length && jn(v(e));
300
300
  let t = u().visibility;
301
- Object.keys(t).length && E.setVisibility(t);
301
+ Object.keys(t).length && T.setVisibility(t);
302
302
  });
303
303
  }
304
- function cn(e) {
305
- ct({
304
+ function pn(e) {
305
+ ht({
306
306
  offHistory: e,
307
- onNavigate: () => W({ backForward: !0 })
308
- }), hn(), U(), x(() => T.layerStore.layersLoaded, () => {
309
- T.urlFilterManager && !T.urlFilterManager.isInitialized && T.urlFilterManager.initialize(), H = !0;
307
+ onNavigate: () => B({ backForward: !0 })
308
+ }), bn(), z(), b(() => w.layerStore.layersLoaded, () => {
309
+ w.urlFilterManager && !w.urlFilterManager.isInitialized && w.urlFilterManager.initialize(), R = !0;
310
310
  try {
311
- W();
311
+ B();
312
312
  } finally {
313
- H = !1;
313
+ R = !1;
314
314
  }
315
- tt(Tn), tt(xn), E.viewerMode && (E.menu = !0);
315
+ rt(An), rt(En), T.viewerMode && (T.menu = !0);
316
316
  });
317
317
  }
318
- function ln(e = "") {
319
- O("?" + m(e.toString())), T.layerStore.layersLoaded ? un(e) : (U(), x(() => T.layerStore.layersLoaded, () => un(e)));
318
+ function mn(e = "") {
319
+ O("?" + p(e.toString())), w.layerStore.layersLoaded ? hn(e) : (z(), b(() => w.layerStore.layersLoaded, () => hn(e)));
320
320
  }
321
- function un(e) {
321
+ function hn(e) {
322
322
  var t, r;
323
- let i = "?" + m(e), a = yn(i), o = [...(t = a.intents) == null ? [] : t, ...fe(i).intents], { intents: s = [], ...c } = l(i, {
323
+ let i = "?" + p(e), a = wn(i), o = [...(t = a.intents) == null ? [] : t, ...pe(i).intents], { intents: s = [], ...c } = l(i, {
324
324
  visibility: a.visibility,
325
325
  consent: a.consent,
326
326
  intents: o
327
327
  });
328
- G(a), G(c);
328
+ V(a), V(c);
329
329
  let u = (r = a.consent) == null ? c.consent : r;
330
- u && _t(u), a.camera && Object.keys(a.camera).length && En(y(a.camera)), a.visibility && Object.keys(a.visibility).length && E.setVisibility(a.visibility), hn(), W();
330
+ u && pt(u), a.camera && Object.keys(a.camera).length && jn(v(a.camera)), a.visibility && Object.keys(a.visibility).length && T.setVisibility(a.visibility), bn(), B();
331
331
  let d = [...o, ...s];
332
- d.length && n(T.fp, d);
332
+ d.length && n(w.fp, d);
333
333
  }
334
- function U() {
334
+ function z() {
335
335
  let e = D();
336
- return Ye(e.length > 1 ? m(e.substring(1)) : "");
336
+ return Ze(e.length > 1 ? p(e.substring(1)) : "");
337
337
  }
338
- function W(e = {}) {
339
- V = !0;
338
+ function B(e = {}) {
339
+ L = !0;
340
340
  try {
341
- rn(new URLSearchParams(m(window.location.search)));
342
- let { primary: t } = oe(D()), n = t.type === "select" && (!t.slug || /^t=[^&]*$/.test(t.slug)) && (E.heatmap || E.heatmapYah);
343
- !U() && !n && (e.backForward ? fn(t) : pn(t)), dn();
341
+ ln(new URLSearchParams(p(window.location.search)));
342
+ let { primary: t } = se(D()), n = t.type === "select" && (!t.slug || /^t=[^&]*$/.test(t.slug)) && (T.heatmap || T.heatmapYah);
343
+ !z() && !n && (e.backForward ? _n(t) : vn(t)), gn();
344
344
  } finally {
345
- V = !1;
345
+ L = !1;
346
346
  }
347
347
  if (e.backForward) {
348
- let { exhibitor: e, booth: t, eventItem: n } = wn(), r = bn();
348
+ let { exhibitor: e, booth: t, eventItem: n } = kn(), r = Tn();
349
349
  r.exhibitor = e, r.booth = t, r.eventItem = n;
350
350
  }
351
- xn(), Tn();
351
+ En(), An();
352
352
  }
353
- function dn() {
354
- let e = Tt(D(), { selectRoute: (e, t) => T.routeStore.selectRoute(gt(e, t, [])) });
355
- e && _.log("Journey deep link", e);
353
+ function gn() {
354
+ let e = Ot(D(), { selectRoute: (e, t) => w.routeStore.selectRoute(vt(e, t, [])) });
355
+ e && g.log("Journey deep link", e);
356
356
  }
357
- function fn(e) {
358
- e.type === "list" && e.list === "sessions" ? T.fp.showSessions() : pn(e);
359
- let { intents: t } = fe(D());
360
- n(T.fp, t.filter((e) => e.name === "showSessions"));
357
+ function _n(e) {
358
+ e.type === "list" && e.list === "sessions" ? w.fp.showSessions() : vn(e);
359
+ let { intents: t } = pe(D());
360
+ n(w.fp, t.filter((e) => e.name === "showSessions"));
361
361
  }
362
- function pn(e) {
363
- let t = T.fp;
362
+ function vn(e) {
363
+ let t = w.fp;
364
364
  switch (e.type) {
365
365
  case "kiosk":
366
- e.enabled !== null && St(E, e.enabled);
366
+ e.enabled !== null && Tt(T, e.enabled);
367
367
  return;
368
368
  case "list":
369
369
  t.showList(e.list);
@@ -372,7 +372,7 @@ function pn(e) {
372
372
  t.selectTour(e.tourId);
373
373
  return;
374
374
  case "planner":
375
- H && T.searchButtonsStore.keepFiltersOnNextNavigation(), t.openPlanner({
375
+ R && w.searchButtonsStore.keepFiltersOnNextNavigation(), t.openPlanner({
376
376
  items: e.items,
377
377
  from: e.from,
378
378
  fromBookmarks: e.fromBookmarks
@@ -380,16 +380,16 @@ function pn(e) {
380
380
  return;
381
381
  case "route": {
382
382
  var n, r;
383
- T.routeStore.setOnlyAccessible(e.accessible);
384
- let t = gt((n = e.from) == null ? "" : n, (r = e.to) == null ? "" : r, e.waypoints);
385
- H && !(t.from && t.from === t.to) && T.searchButtonsStore.keepFiltersOnNextNavigation(), T.routeStore.selectRoute(t), T.uiState.setIsMultiPointRoute(e.waypoints.length > 0), e.title && T.uiState.setRouteTitle(e.title);
383
+ w.routeStore.setOnlyAccessible(e.accessible);
384
+ let t = vt((n = e.from) == null ? "" : n, (r = e.to) == null ? "" : r, e.waypoints);
385
+ R && !(t.from && t.from === t.to) && w.searchButtonsStore.keepFiltersOnNextNavigation(), w.routeStore.selectRoute(t), w.uiState.setIsMultiPointRoute(e.waypoints.length > 0), e.title && w.uiState.setRouteTitle(e.title);
386
386
  return;
387
387
  }
388
388
  case "selectExhibitors":
389
389
  setTimeout(() => t.selectExhibitor(e.values), 250);
390
390
  return;
391
391
  case "ownedByFilters":
392
- _.log("Skipping filter parameters in dispatchFromUrl (owned by URLFilterManager)");
392
+ g.log("Skipping filter parameters in dispatchFromUrl (owned by URLFilterManager)");
393
393
  return;
394
394
  case "ownedByConfig": return;
395
395
  case "select":
@@ -397,105 +397,105 @@ function pn(e) {
397
397
  return;
398
398
  }
399
399
  }
400
- function mn(e) {
401
- let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i = T.boothStore.booths.filter((e) => n.includes(e.externalId)), a = T.exhibitorStore.exhibitors.filter((e) => r.includes(e.externalId)).flatMap((e) => e.booths), o = [...i, ...a];
402
- if (nt()) {
403
- let e = an(o.map((e) => e.layer.name));
404
- e && T.fp.activateFloor({ name: e });
405
- }
406
- (n.length > 0 || r.length > 0) && T.fp.highlightEntities([...n, ...r]), T.layerStore.showPathWay(t), o.length > 0 && Ke(() => {
407
- T.uiState.moveToRect = w.fromUnion(...o.map((e) => e.rect).filter(Boolean)), T.uiState.rollReset = !0;
400
+ function yn(e) {
401
+ let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i = w.boothStore.booths.filter((e) => n.includes(e.externalId)), a = w.exhibitorStore.exhibitors.filter((e) => r.includes(e.externalId)).flatMap((e) => e.booths), o = [...i, ...a];
402
+ if (it()) {
403
+ let e = un(o.map((e) => e.layer.name));
404
+ e && w.fp.activateFloor({ name: e });
405
+ }
406
+ (n.length > 0 || r.length > 0) && w.fp.highlightEntities([...n, ...r]), w.layerStore.showPathWay(t), o.length > 0 && Je(() => {
407
+ w.uiState.moveToRect = C.fromUnion(...o.map((e) => e.rect).filter(Boolean)), w.uiState.rollReset = !0;
408
408
  });
409
409
  }
410
- function hn() {
411
- let { oneShots: e } = oe(D());
412
- for (let t of e) gn(t);
413
- let t = Qe(D());
414
- t !== null && O("?" + t), E.previewExhibitor && O("?" + E.previewExhibitor.slug), vn();
410
+ function bn() {
411
+ let { oneShots: e } = se(D());
412
+ for (let t of e) xn(t);
413
+ let t = $e(D());
414
+ t !== null && O("?" + t), T.previewExhibitor && O("?" + T.previewExhibitor.slug), Cn();
415
415
  }
416
- function gn(e) {
416
+ function xn(e) {
417
417
  switch (e.type) {
418
418
  case "heatmap":
419
- _n(e.yah);
419
+ Sn(e.yah);
420
420
  return;
421
421
  case "blueDot": {
422
422
  var t, n;
423
- let r = new vt(e.x, e.y, (t = T.layerStore.findLayer((n = e.layer) == null ? "" : n)) == null ? void 0 : t.name, void 0, e.lat, e.lng);
424
- x(() => T.layerStore.layersLoaded, () => T.routeStore.selectCurrentPosition(r, !0, 1));
423
+ let r = new bt(e.x, e.y, (t = w.layerStore.findLayer((n = e.layer) == null ? "" : n)) == null ? void 0 : t.name, void 0, e.lat, e.lng);
424
+ b(() => w.layerStore.layersLoaded, () => w.routeStore.selectCurrentPosition(r, !0, 1));
425
425
  return;
426
426
  }
427
427
  case "viewerMode":
428
- ve && (e.enabled ? localStorage.setItem(ie, "true") : (localStorage.removeItem(ie), localStorage.removeItem(ge)));
428
+ be && (e.enabled ? localStorage.setItem(ae, "true") : (localStorage.removeItem(ae), localStorage.removeItem(_e)));
429
429
  return;
430
430
  case "previewMode":
431
- ve && (e.enabled ? localStorage.setItem(Me, "true") : (localStorage.removeItem(Me), localStorage.removeItem(_e)));
431
+ be && (e.enabled ? localStorage.setItem(Pe, "true") : (localStorage.removeItem(Pe), localStorage.removeItem(ye)));
432
432
  return;
433
433
  case "uiScale":
434
- e.scale === null ? _.warn(`Invalid ui-scale parameter: ${e.raw}. Must be a number between 0.8 and 1.4.`) : T.uiState.setUIScale(e.scale, !0);
434
+ e.scale === null ? g.warn(`Invalid ui-scale parameter: ${e.raw}. Must be a number between 0.8 and 1.4.`) : w.uiState.setUIScale(e.scale, !0);
435
435
  return;
436
436
  case "resetUiScale":
437
- T.uiState.resetUIScale();
437
+ w.uiState.resetUIScale();
438
438
  return;
439
439
  }
440
440
  }
441
- function _n(e) {
442
- ft(), e ? (E.heatmapYah = !0, E.monochrome = !0, E.hideLogoInBooth = !0, E.hideHeaderLogo = !0, E.disableBookmarked = !0) : E.heatmap = !0;
441
+ function Sn(e) {
442
+ St(), e ? (T.heatmapYah = !0, T.monochrome = !0, T.hideLogoInBooth = !0, T.hideHeaderLogo = !0, T.disableBookmarked = !0) : T.heatmap = !0;
443
443
  }
444
- function vn() {
445
- let e = on(D(), (e) => {
446
- let t = T.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
444
+ function Cn() {
445
+ let e = dn(D(), (e) => {
446
+ let t = w.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
447
447
  return t == null ? void 0 : t.name;
448
448
  });
449
449
  e !== null && O(e);
450
450
  }
451
- function G(e) {
452
- 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 && T.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (E.disableBookmarked = !0), e.disableGps && T.routeStore.setGpsTrackingEnabled(!1), e.heatmap && i(e.heatmap) && _n(e.heatmap.variant === "yah");
451
+ function V(e) {
452
+ e.noOverlay !== void 0 && (T.hideOverlay = e.noOverlay), e.monochrome && (T.monochrome = !0), e.hideHeaderLogo && (T.hideHeaderLogo = !0), e.hideLogoInBooth && (T.hideLogoInBooth = !0), e.disableFeatured && w.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (T.disableBookmarked = !0), e.disableGps && w.routeStore.setGpsTrackingEnabled(!1), e.heatmap && i(e.heatmap) && Sn(e.heatmap.variant === "yah");
453
453
  }
454
- function yn(e) {
455
- return xe(ce, e).value;
454
+ function wn(e) {
455
+ return Ce(le, e).value;
456
456
  }
457
- var bn = Re(() => ({
457
+ var Tn = Be(() => ({
458
458
  exhibitor: null,
459
459
  booth: null,
460
460
  eventItem: null
461
461
  }));
462
- function xn() {
463
- let { selection: e, exhibitor: t, booth: n, eventItem: r } = wn(), i = T.urlFilterManager.filterSearch(), a = Sn(e);
464
- if (V) return;
465
- let o = a || ae(e) || i;
462
+ function En() {
463
+ let { selection: e, exhibitor: t, booth: n, eventItem: r } = kn(), i = w.urlFilterManager.filterSearch(), a = Dn(e);
464
+ if (L) return;
465
+ let o = a || oe(e) || i;
466
466
  if (D() === o) return;
467
- let s = bn();
467
+ let s = Tn();
468
468
  t !== s.exhibitor || n !== s.booth || r !== s.eventItem ? lt(o) : O(o), s.exhibitor = t, s.booth = n, s.eventItem = r;
469
469
  }
470
- function Sn(e) {
470
+ function Dn(e) {
471
471
  if (e.type !== "list" || e.list !== "sessions") return "";
472
- let { selectedTracks: t, selectedVenues: n, date: r, timeOfDay: i, showBookmarksOnly: a, showLiveOnly: o } = T.sessionsFilterStore.state.filters, s = {};
473
- return t.value.length && (s.tracks = Cn(t.value)), n.value.length && (s.venues = Cn(n.value)), r.value !== "all" && (s.date = r.value), r.value === "today" && i.value !== "all" && (s.time = i.value), a.value && (s.bookmarked = !0), o.value && (s.live = !0), Object.keys(s).length ? "?" + Ee({
472
+ let { selectedTracks: t, selectedVenues: n, date: r, timeOfDay: i, showBookmarksOnly: a, showLiveOnly: o } = w.sessionsFilterStore.state.filters, s = {};
473
+ return t.value.length && (s.tracks = On(t.value)), n.value.length && (s.venues = On(n.value)), r.value !== "all" && (s.date = r.value), r.value === "today" && i.value !== "all" && (s.time = i.value), a.value && (s.bookmarked = !0), o.value && (s.live = !0), Object.keys(s).length ? "?" + Oe({
474
474
  name: "showSessions",
475
475
  args: [s]
476
476
  }) : "";
477
477
  }
478
- function Cn(e) {
478
+ function On(e) {
479
479
  return [...e].sort((e, t) => e - t).map(String);
480
480
  }
481
- function wn() {
482
- let e = E.selectedExhibitor, t = E.selectedBooth, n = E.selectedEventItem, r = E.selectedRoute, i = E.selectedSpeaker, a = E.setKioskModeEnabled, o = E.list, s;
481
+ function kn() {
482
+ let e = T.selectedExhibitor, t = T.selectedBooth, n = T.selectedEventItem, r = T.selectedRoute, i = T.selectedSpeaker, a = T.setKioskModeEnabled, o = T.list, s;
483
483
  if (o.type === "route-planner" && !e && !t && !n) {
484
484
  var c;
485
- let e = T.routePlannerStore;
485
+ let e = w.routePlannerStore;
486
486
  s = {
487
487
  type: "planner",
488
488
  fromBookmarks: e.source === "bookmarks",
489
489
  items: e.items.map((e) => e.entity.slug).filter(Boolean),
490
490
  from: ((c = e.startPoint) == null ? void 0 : c.slug) || void 0
491
491
  };
492
- } else if (r && !E.isMultiPointRoute) {
492
+ } else if (r && !T.isMultiPointRoute) {
493
493
  var l;
494
494
  s = {
495
495
  type: "route",
496
- to: r.to instanceof b ? r.to.slug : void 0,
497
- from: r.from instanceof b ? r.from.slug : void 0,
498
- accessible: T.routeStore.onlyAccessible,
496
+ to: r.to instanceof y ? r.to.slug : void 0,
497
+ from: r.from instanceof y ? r.from.slug : void 0,
498
+ accessible: w.routeStore.onlyAccessible,
499
499
  waypoints: (l = r.waypoints) == null ? void 0 : l.map((e) => e.slug)
500
500
  };
501
501
  } else if (e) s = {
@@ -532,7 +532,7 @@ function wn() {
532
532
  var u, d;
533
533
  s = {
534
534
  type: "slug",
535
- slug: (u = (d = E.selectedCategory) == null ? void 0 : d.slug) == null ? "" : u
535
+ slug: (u = (d = T.selectedCategory) == null ? void 0 : d.slug) == null ? "" : u
536
536
  };
537
537
  break;
538
538
  case "search":
@@ -563,18 +563,18 @@ function wn() {
563
563
  eventItem: n
564
564
  };
565
565
  }
566
- function Tn() {
566
+ function An() {
567
567
  var e;
568
- if (!Le) return;
569
- let t = E.selectedExhibitor, n = E.selectedEventItem, r = E.selectedSpeaker, i = "";
570
- t ? i = t.name : n ? i = n.name : r ? i = r.name : E.list.type === "search" && E.list.text ? i = "`" + (E.list.text || "") + "`" : E.list.type === "multi-point-tour" && E.tourTitle && (i = E.tourTitle), i.length && (i += " – "), i += (e = a(C, Ie)) == null ? s(window.location.hostname, Ie) : e, document.title = i;
568
+ if (!ze) return;
569
+ let t = T.selectedExhibitor, n = T.selectedEventItem, r = T.selectedSpeaker, i = "";
570
+ t ? i = t.name : n ? i = n.name : r ? i = r.name : T.list.type === "search" && T.list.text ? i = "`" + (T.list.text || "") + "`" : T.list.type === "multi-point-tour" && T.tourTitle && (i = T.tourTitle), i.length && (i += " – "), i += (e = a(S, Re)) == null ? s(window.location.hostname, Re) : e, document.title = i;
571
571
  }
572
- function En(e) {
572
+ function jn(e) {
573
573
  try {
574
- if (E.setMapSettings(e), $e(T.venueStore, e.venue, e.z)) return;
574
+ if (T.setMapSettings(e), tt(w.venueStore, e.venue, e.z)) return;
575
575
  if (e.z) {
576
- let t = T.layerStore.layers.find((t) => t.name === e.z);
577
- t && T.layerStore.updateVisibility(t, !0);
576
+ let t = w.layerStore.layers.find((t) => t.name === e.z);
577
+ t && w.layerStore.updateVisibility(t, !0);
578
578
  }
579
579
  } catch (e) {
580
580
  console.error("Failed to process map settings.", e);
@@ -582,26 +582,26 @@ function En(e) {
582
582
  }
583
583
  //#endregion
584
584
  //#region src/store/details-events.ts
585
- function Dn() {
586
- return Ge(() => E.details, () => {
585
+ function Mn() {
586
+ return qe(() => T.details, () => {
587
587
  var e;
588
- if (!E.onDetails) return;
589
- if (!E.details) {
590
- E.onDetails(null);
588
+ if (!T.onDetails) return;
589
+ if (!T.details) {
590
+ T.onDetails(null);
591
591
  return;
592
592
  }
593
- let t = E.details;
594
- if (S.EXPO === "wineparis" && (t instanceof at && (t = t.booths[0]), !t)) return;
593
+ let t = T.details;
594
+ if (x.EXPO === "wineparis" && (t instanceof st && (t = t.booths[0]), !t)) return;
595
595
  let n = null, r = [];
596
- if (t instanceof at) n = "exhibitor", r = t.booths.map((e) => e.name).sort((e, t) => {
596
+ if (t instanceof st) n = "exhibitor", r = t.booths.map((e) => e.name).sort((e, t) => {
597
597
  var n, r;
598
- return e == ((n = T.routeStore.tempToBooth) == null ? void 0 : n.name) ? -1 : +(t == ((r = T.routeStore.tempToBooth) == null ? void 0 : r.name));
598
+ return e == ((n = w.routeStore.tempToBooth) == null ? void 0 : n.name) ? -1 : +(t == ((r = w.routeStore.tempToBooth) == null ? void 0 : r.name));
599
599
  });
600
- else if (t instanceof b) n = "booth", r = [t.name];
600
+ else if (t instanceof y) n = "booth", r = [t.name];
601
601
  else if (t instanceof A) {
602
602
  var i, a;
603
603
  n = "route", r = [(i = t.from) == null ? void 0 : i.name, (a = t.to) == null ? void 0 : a.name].filter((e) => !!e);
604
- } else t instanceof Ze && (n = "category", r = t.exhibitors.map((e) => e.booths.map((e) => e.name)).flat());
604
+ } else t instanceof et && (n = "category", r = t.exhibitors.map((e) => e.booths.map((e) => e.name)).flat());
605
605
  let o = t, s = {
606
606
  type: n,
607
607
  name: o == null ? void 0 : o.name,
@@ -609,15 +609,96 @@ function Dn() {
609
609
  externalId: o == null ? void 0 : o.externalId,
610
610
  boothsNames: r
611
611
  };
612
- E.onDetails({
612
+ T.onDetails({
613
613
  ...s,
614
- ...n === "route" ? { routeInfo: (e = T.routeStore.routeInfo) == null ? void 0 : e } : {}
614
+ ...n === "route" ? { routeInfo: (e = w.routeStore.routeInfo) == null ? void 0 : e } : {}
615
615
  });
616
616
  });
617
617
  }
618
618
  //#endregion
619
+ //#region src/tools/sdk-telemetry.ts
620
+ var H = (0, Lt.default)("efp:sdk-telemetry"), Nn = "https://sdk-telemetry.expofp.com/sdk-data/floorplan-sdk-web", Pn = "KaptzDWTgJ_GXhb5Jg7ByTW0KK_poitr21X_-IcJeE4", Fn = "efp-sdk-telemetry-positions:", In = 1e3, Ln = 6e4, U = !1, Rn = -Infinity, W = 0;
621
+ function zn(e) {
622
+ let t = Wn();
623
+ t && Un(t.expo, { event: e });
624
+ }
625
+ function Bn(e) {
626
+ let t = Wn();
627
+ if (!t) return;
628
+ let n = Fn + t.expo;
629
+ K(n, [...G(n), {
630
+ ts: (/* @__PURE__ */ new Date()).toISOString(),
631
+ ...e
632
+ }]), Vn();
633
+ }
634
+ function Vn() {
635
+ if (U) return;
636
+ U = !0;
637
+ let e = Math.min(In * 2 ** W, Ln), t = Math.max(0, Rn + e - performance.now());
638
+ setTimeout(() => void Hn(), t);
639
+ }
640
+ async function Hn() {
641
+ var e;
642
+ let t = Wn(), n = Fn + ((e = t == null ? void 0 : t.expo) == null ? "" : e), r = G(n);
643
+ if (!t || r.length === 0 || navigator.onLine === !1) {
644
+ U = !1;
645
+ return;
646
+ }
647
+ K(n, []), Rn = performance.now();
648
+ let i = await Un(t.expo, {
649
+ event: "selectCurrentPosition",
650
+ items: r
651
+ });
652
+ i === void 0 && K(n, [...r, ...G(n)]), W = i === 200 ? 0 : W + 1, U = !1, G(n).length > 0 && Vn();
653
+ }
654
+ async function Un(e, t) {
655
+ try {
656
+ let n = await fetch(Nn, {
657
+ method: "POST",
658
+ headers: {
659
+ Authorization: `Bearer ${Pn}`,
660
+ "Content-Type": "application/json"
661
+ },
662
+ body: JSON.stringify({
663
+ ts: (/* @__PURE__ */ new Date()).toISOString(),
664
+ version: {
665
+ version: "3.45.6",
666
+ commit: "6dabc65",
667
+ branch: "feat/ignore-current-position-z",
668
+ built: "2026-11-10T10:30:11.177Z"
669
+ }.version,
670
+ expo: e,
671
+ ...t
672
+ })
673
+ });
674
+ return n.status !== 200 && H("event refused", n.status, await n.text().catch(() => "")), n.status;
675
+ } catch (e) {
676
+ H("event not sent", e);
677
+ return;
678
+ }
679
+ }
680
+ function G(e) {
681
+ try {
682
+ var t;
683
+ return JSON.parse((t = localStorage.getItem(e)) == null ? "[]" : t);
684
+ } catch {
685
+ return [];
686
+ }
687
+ }
688
+ function K(e, t) {
689
+ try {
690
+ t.length === 0 ? localStorage.removeItem(e) : localStorage.setItem(e, JSON.stringify(t.slice(-3e3)));
691
+ } catch (e) {
692
+ H("position queue not stored", e);
693
+ }
694
+ }
695
+ function Wn() {
696
+ let e = ve();
697
+ return (e == null ? void 0 : e.sdkTelemetry) === !0 ? e : void 0;
698
+ }
699
+ //#endregion
619
700
  //#region src/utils/mapEntity.ts
620
- function K(e) {
701
+ function q(e) {
621
702
  switch (e.entity.type) {
622
703
  case "booth":
623
704
  var t, n;
@@ -626,7 +707,7 @@ function K(e) {
626
707
  name: J(e.name),
627
708
  externalId: J(e.externalId),
628
709
  isSpecial: e.entity.variant === "special",
629
- exhibitors: q(e.exhibitors),
710
+ exhibitors: Gn(e.exhibitors),
630
711
  layer: {
631
712
  name: J((t = e.layer) == null ? void 0 : t.name),
632
713
  description: J((n = e.layer) == null ? void 0 : n.description)
@@ -639,7 +720,7 @@ function K(e) {
639
720
  case "category": return {
640
721
  id: e.id,
641
722
  name: J(e.name),
642
- exhibitors: q(e.exhibitors),
723
+ exhibitors: Gn(e.exhibitors),
643
724
  entity: e.entity,
644
725
  slug: J(e.slug)
645
726
  };
@@ -647,7 +728,7 @@ function K(e) {
647
728
  id: e.id,
648
729
  name: J(e.name),
649
730
  externalId: J(e.externalId),
650
- booths: q(e.booths),
731
+ booths: Gn(e.booths),
651
732
  entity: e.entity,
652
733
  slug: J(e.slug)
653
734
  };
@@ -681,7 +762,7 @@ function K(e) {
681
762
  default: return e;
682
763
  }
683
764
  }
684
- function q(e) {
765
+ function Gn(e) {
685
766
  return Array.isArray(e) ? e.filter(Boolean).map((e) => e.id).filter(Boolean) : [];
686
767
  }
687
768
  function J(e) {
@@ -689,26 +770,26 @@ function J(e) {
689
770
  }
690
771
  //#endregion
691
772
  //#region src/floorplan.ready.tsx
692
- var Y = Fe(), X = (0, Ft.default)("efp:api");
693
- (0, Lt.install)();
694
- var On = class extends c {
773
+ var Y = Le(), X = (0, Lt.default)("efp:api");
774
+ (0, zt.install)();
775
+ var Kn = class extends c {
695
776
  constructor(...e) {
696
777
  super(...e), this.root = void 0;
697
778
  }
698
779
  init() {
699
- st(), sn(), this.ignoreQuery || cn(this.offHistory), ut("load"), Dt(T), T.fp = this, g(Dn()), it(), _t(this.consent), dt(yt.Load, ""), this.root = (0, It.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, Y.jsx)(Pt, { children: /* @__PURE__ */ (0, Y.jsx)(Xe, {
780
+ dt(), fn(), this.ignoreQuery || pn(this.offHistory), ut("load"), zn("load"), At(w), w.fp = this, h(Mn()), ot(), pt(this.consent), ft(yt.Load, ""), this.root = (0, Rt.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, Y.jsx)(It, { children: /* @__PURE__ */ (0, Y.jsx)(Qe, {
700
781
  offHistory: this.offHistory,
701
782
  consent: this.consent
702
- }) })), dt(yt.Rendered, ""), g(Ge(() => T.layerStore.layersLoaded, () => {
783
+ }) })), ft(yt.Rendered, ""), h(qe(() => w.layerStore.layersLoaded, () => {
703
784
  let e = this.renderTarget.getRootNode(), t = e instanceof ShadowRoot ? e.host : this.renderTarget.parentElement;
704
785
  for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); t && this.element.firstChild && this.element.firstChild !== t;) this.element.removeChild(this.element.firstChild);
705
- if (this.resolveReady(), !T.initialized) {
786
+ if (this.resolveReady(), !w.initialized) {
706
787
  var n;
707
788
  (n = this.onInit) == null || n.call(this, this);
708
789
  }
709
- T.initialized = !0;
710
- })), g(() => clearTimeout(Q)), g(Et());
711
- let e = Ht(C);
790
+ w.initialized = !0;
791
+ })), h(() => clearTimeout(Q)), h(kt());
792
+ let e = Gt(S);
712
793
  e && import("./bootIntercom-BqQsnxII.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
713
794
  }
714
795
  selectBooth(e) {
@@ -716,8 +797,8 @@ var On = class extends c {
716
797
  $("selectBooth", "Parameter must be a string or an array of strings.", "EFP000000");
717
798
  return;
718
799
  }
719
- let t = T.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
720
- T.selectBooth(t);
800
+ let t = w.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
801
+ w.selectBooth(t);
721
802
  }
722
803
  selectExhibitor(e) {
723
804
  if (typeof e != "string" && !Array.isArray(e)) {
@@ -725,35 +806,35 @@ var On = class extends c {
725
806
  return;
726
807
  }
727
808
  if (!(e != null && e.length)) {
728
- T.uiState.menu = !1, T.searchStore.resetSearchBox(), T.uiState.details = null;
809
+ w.uiState.menu = !1, w.searchStore.resetSearchBox(), w.uiState.details = null;
729
810
  return;
730
811
  }
731
- let t = T.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
812
+ let t = w.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
732
813
  if (!(t != null && t.length)) return;
733
814
  if (typeof e == "string") {
734
- T.selectExhibitor(t[0]), T.moveToList([t[0]]);
815
+ w.selectExhibitor(t[0]), w.moveToList([t[0]]);
735
816
  return;
736
817
  }
737
- let n = an(t.flatMap((e) => e.booths.map((e) => e.layer)).map((e) => e.description));
738
- n && T.layerStore.updateVisibility(n, !0), T.uiState.menu = !1, T.searchStore.resetSearchBox(), T.uiState.details = null, T.uiState.list = {
818
+ let n = un(t.flatMap((e) => e.booths.map((e) => e.layer)).map((e) => e.description));
819
+ n && w.layerStore.updateVisibility(n, !0), w.uiState.menu = !1, w.searchStore.resetSearchBox(), w.uiState.details = null, w.uiState.list = {
739
820
  type: "filter",
740
821
  items: t,
741
822
  query: {
742
823
  key: "exhibitors",
743
824
  value: t.map((e) => e.name).join(",")
744
825
  }
745
- }, T.moveToList();
826
+ }, w.moveToList();
746
827
  }
747
828
  highlightExhibitors(e) {
748
- Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), T.boothStore.highlightedByExternalIds = [], T.exhibitorStore.highlightedByExternalIds = [...e];
829
+ Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), w.boothStore.highlightedByExternalIds = [], w.exhibitorStore.highlightedByExternalIds = [...e];
749
830
  }
750
831
  highlightBooths(e) {
751
- Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), T.exhibitorStore.highlightedByExternalIds = [], T.boothStore.highlightedByExternalIds = [...e];
832
+ Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), w.exhibitorStore.highlightedByExternalIds = [], w.boothStore.highlightedByExternalIds = [...e];
752
833
  }
753
834
  highlightEntities(e) {
754
835
  Array.isArray(e) || $("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
755
- let { boothExternalIds: t, exhibitorExternalIds: n } = mt(e);
756
- T.boothStore.highlightedByExternalIds = [...t], T.exhibitorStore.highlightedByExternalIds = [...n];
836
+ let { boothExternalIds: t, exhibitorExternalIds: n } = _t(e);
837
+ w.boothStore.highlightedByExternalIds = [...t], w.exhibitorStore.highlightedByExternalIds = [...n];
757
838
  }
758
839
  selectRoute(e, t) {
759
840
  if (Array.isArray(e)) {
@@ -764,10 +845,10 @@ var On = class extends c {
764
845
  return;
765
846
  }
766
847
  let i = t.map(Z).filter((e) => e !== null);
767
- T.routeStore.selectRoute(new A(Z(n), Z(r), i));
848
+ w.routeStore.selectRoute(new A(Z(n), Z(r), i));
768
849
  return;
769
850
  }
770
- e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), T.routeStore.selectRoute(new A(Z(e), t ? Z(t) : null));
851
+ e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), w.routeStore.selectRoute(new A(Z(e), t ? Z(t) : null));
771
852
  }
772
853
  getOptimizedRoutes(e) {
773
854
  if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
@@ -780,19 +861,30 @@ var On = class extends c {
780
861
  let t = (r = (i = e.layer) == null ? void 0 : i.name) == null ? "" : r, a = n.get(t);
781
862
  a ? a.push(e) : n.set(t, [e]);
782
863
  }
783
- return Array.from(n.values()).map((e) => ({ waypoints: ht(e.map((e) => [e.name, {
864
+ return Array.from(n.values()).map((e) => ({ waypoints: gt(e.map((e) => [e.name, {
784
865
  x: e.rect.center.x,
785
866
  y: e.rect.center.y
786
867
  }])) }));
787
868
  }
788
869
  selectCurrentPosition(e, t, n) {
789
- var r;
790
- let i = j(e.x) && j(e.y), a = j(e.lng) && j(e.lat);
791
- !i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), T.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
870
+ var r, i, a, o, s;
871
+ let c = E(e.x) && E(e.y), l = E(e.lng) && E(e.lat);
872
+ !c && !l && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600");
873
+ let u = {
874
+ point: { ...e },
875
+ focus: t,
876
+ icon: n
877
+ };
878
+ w.routeStore.selectCurrentPosition(e, t, n), Bn({
879
+ ...u,
880
+ floor: (r = (i = w.routeStore.currentPosition) == null ? void 0 : i.z) == null ? null : r,
881
+ routeFloor: (a = (o = w.routeStore.currentRouteLayer) == null ? void 0 : o.name) == null ? null : a,
882
+ placed: !!w.routeStore.currentPosition
883
+ }), (s = this.onCurrentPositionChanged) == null || s.call(this, e);
792
884
  }
793
885
  setBookmarks(e) {
794
886
  (!Array.isArray(e) || !e.length) && $("setBookmarks", "Parameter must be an array.", "EFP000700"), e.forEach((e) => {
795
- let t = T.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
887
+ let t = w.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
796
888
  t && (t.bookmarked = e.bookmarked);
797
889
  });
798
890
  }
@@ -811,29 +903,29 @@ var On = class extends c {
811
903
  $("setEntitiesBookmarks", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000702");
812
904
  return;
813
905
  }
814
- let r = rt("bookmarked"), i = {
906
+ let r = at("bookmarked"), i = {
815
907
  exhibitor: {
816
908
  existingIds: new Set(r.exhibitors || []),
817
- finder: (e) => T.exhibitorStore.findExhibitor(e),
818
- replacer: (e) => T.exhibitorStore.replaceBookmarked(e)
909
+ finder: (e) => w.exhibitorStore.findExhibitor(e),
910
+ replacer: (e) => w.exhibitorStore.replaceBookmarked(e)
819
911
  },
820
912
  event: {
821
913
  existingIds: new Set(r.events || []),
822
- finder: (e) => T.eventStore.findByNameOrSlug(e),
823
- replacer: (e) => T.eventStore.replaceBookmarked(e)
914
+ finder: (e) => w.eventStore.findByNameOrSlug(e),
915
+ replacer: (e) => w.eventStore.replaceBookmarked(e)
824
916
  },
825
917
  speaker: {
826
918
  existingIds: new Set(r.speakers || []),
827
- finder: (e) => T.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
828
- replacer: (e) => T.speakerStore.replaceBookmarked(e)
919
+ finder: (e) => w.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
920
+ replacer: (e) => w.speakerStore.replaceBookmarked(e)
829
921
  },
830
922
  booth: {
831
923
  existingIds: new Set(r.booths || []),
832
924
  finder: (e) => {
833
- let t = T.boothStore.findBooth(e);
925
+ let t = w.boothStore.findBooth(e);
834
926
  return (t == null ? void 0 : t.exhibitors.length) === 0 ? t : void 0;
835
927
  },
836
- replacer: (e) => T.boothStore.replaceBookmarked(e)
928
+ replacer: (e) => w.boothStore.replaceBookmarked(e)
837
929
  }
838
930
  };
839
931
  e.forEach((e) => {
@@ -853,16 +945,16 @@ var On = class extends c {
853
945
  $("setEntitiesVisited", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000704");
854
946
  return;
855
947
  }
856
- let r = rt("visited"), i = {
948
+ let r = at("visited"), i = {
857
949
  exhibitor: {
858
950
  existingIds: new Set(r.exhibitors || []),
859
- finder: (e) => T.exhibitorStore.findExhibitor(e),
860
- replacer: (e) => T.exhibitorStore.replaceVisited(e)
951
+ finder: (e) => w.exhibitorStore.findExhibitor(e),
952
+ replacer: (e) => w.exhibitorStore.replaceVisited(e)
861
953
  },
862
954
  event: {
863
955
  existingIds: new Set(r.events || []),
864
- finder: (e) => T.eventStore.findByNameOrSlug(e),
865
- replacer: (e) => T.eventStore.replaceVisited(e)
956
+ finder: (e) => w.eventStore.findByNameOrSlug(e),
957
+ replacer: (e) => w.eventStore.replaceVisited(e)
866
958
  }
867
959
  };
868
960
  e.forEach((e) => {
@@ -877,94 +969,94 @@ var On = class extends c {
877
969
  $("setMarkers", "Invalid input.", "EFP000800");
878
970
  return;
879
971
  }
880
- T.routeStore.setMarkers(e);
972
+ w.routeStore.setMarkers(e);
881
973
  }
882
974
  selectMarker(e, t = !0) {
883
- return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), T.routeStore.selectMarker(e, t);
975
+ return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), w.routeStore.selectMarker(e, t);
884
976
  }
885
977
  drawCircles(e) {
886
- Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), T.uiState.debugCircles = e;
978
+ Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), w.uiState.debugCircles = e;
887
979
  }
888
980
  checkRoutes() {
889
- T.routeStore.checkRoutes();
981
+ w.routeStore.checkRoutes();
890
982
  }
891
983
  updateLayerVisibility(e, t) {
892
- 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"), T.layerStore.updateVisibility(e, t);
984
+ 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"), w.layerStore.updateVisibility(e, t);
893
985
  }
894
986
  getCenterCoordinates() {
895
- return T.fp.getCenterCoordinates();
987
+ return w.fp.getCenterCoordinates();
896
988
  }
897
989
  exhibitorsList() {
898
- return T.exhibitorStore.exhibitors.map((e) => K(e));
990
+ return w.exhibitorStore.exhibitors.map((e) => q(e));
899
991
  }
900
992
  boothsList() {
901
- return T.boothStore.booths.map((e) => K(e));
993
+ return w.boothStore.booths.map((e) => q(e));
902
994
  }
903
995
  categoriesList() {
904
- return T.categoryStore.categories.map((e) => K(e));
996
+ return w.categoryStore.categories.map((e) => q(e));
905
997
  }
906
998
  selectCategory(e) {
907
999
  if (e == null || typeof e != "string") {
908
- T.searchStore.selectSearch();
1000
+ w.searchStore.selectSearch();
909
1001
  return;
910
1002
  }
911
- let t = e == null ? void 0 : e.toLowerCase(), n = T.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
1003
+ let t = e == null ? void 0 : e.toLowerCase(), n = w.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
912
1004
  if (!n) {
913
1005
  $("selectCategory", `Category ${e} not found.`, "EFP000C01");
914
1006
  return;
915
1007
  }
916
- T.selectCategory(n);
1008
+ w.selectCategory(n);
917
1009
  }
918
1010
  select(e) {
919
1011
  if (typeof e != "string") {
920
1012
  $("select", "Parameter must be a string.", "EFP001700");
921
1013
  return;
922
1014
  }
923
- let t = e, n = t == null ? void 0 : t.toLowerCase(), r = T.boothStore.booths.find((e) => {
1015
+ let t = e, n = t == null ? void 0 : t.toLowerCase(), r = w.boothStore.booths.find((e) => {
924
1016
  var t, r, i;
925
1017
  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;
926
1018
  });
927
1019
  if (r) {
928
- setTimeout(() => T.selectBooth(r), 250);
1020
+ setTimeout(() => w.selectBooth(r), 250);
929
1021
  return;
930
1022
  }
931
- let i = T.eventStore.eventItems.find((e) => {
1023
+ let i = w.eventStore.eventItems.find((e) => {
932
1024
  var t, r;
933
1025
  return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
934
1026
  });
935
1027
  if (i) {
936
- T.selectEventItem(i, !0);
1028
+ w.selectEventItem(i, !0);
937
1029
  return;
938
1030
  }
939
- let a = T.exhibitorStore.exhibitors.find((e) => {
1031
+ let a = w.exhibitorStore.exhibitors.find((e) => {
940
1032
  var t, r;
941
1033
  return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
942
1034
  });
943
1035
  if (a) {
944
- setTimeout(() => T.clickExhibitor(a), 250);
1036
+ setTimeout(() => w.clickExhibitor(a), 250);
945
1037
  return;
946
1038
  }
947
- let o = T.categoryStore.categories.find((e) => e.slug === t);
1039
+ let o = w.categoryStore.categories.find((e) => e.slug === t);
948
1040
  if (o) {
949
- T.selectCategory(o);
1041
+ w.selectCategory(o);
950
1042
  return;
951
1043
  }
952
- let s = T.speakerStore.findBySlug(t);
1044
+ let s = w.speakerStore.findBySlug(t);
953
1045
  if (s) {
954
- T.selectSpeaker(s, !0);
1046
+ w.selectSpeaker(s, !0);
955
1047
  return;
956
1048
  }
957
- t.includes("heatmap=true") || T.searchStore.selectSearch(t);
1049
+ t.includes("heatmap=true") || w.searchStore.selectSearch(t);
958
1050
  }
959
1051
  showList(e) {
960
1052
  let t = {
961
- bookmarks: () => T.selectBookmarks(),
962
- visited: () => T.selectVisited(),
963
- sessions: () => T.selectSessions(),
964
- exhibitors: () => T.selectExhibitors(),
965
- speakers: () => T.selectSpeakers(),
966
- tours: () => T.selectTours(),
967
- language: () => T.selectLanguage()
1053
+ bookmarks: () => w.selectBookmarks(),
1054
+ visited: () => w.selectVisited(),
1055
+ sessions: () => w.selectSessions(),
1056
+ exhibitors: () => w.selectExhibitors(),
1057
+ speakers: () => w.selectSpeakers(),
1058
+ tours: () => w.selectTours(),
1059
+ language: () => w.selectLanguage()
968
1060
  }, n = t[e];
969
1061
  if (!n) {
970
1062
  $("showList", `Unknown list "${e}". Must be one of: ${Object.keys(t).join(", ")}.`, "EFP001800");
@@ -974,15 +1066,15 @@ var On = class extends c {
974
1066
  }
975
1067
  showSessions(e = {}) {
976
1068
  X("showSessions called with filters=%O", e);
977
- let t = Te.safeParse(e);
1069
+ let t = De.safeParse(e);
978
1070
  if (!t.success) {
979
1071
  $("showSessions", t.error.message, "EFP001C00");
980
1072
  return;
981
1073
  }
982
- let n = t.data, { eventStore: r, sessionsFilterStore: i } = T;
983
- Ke(() => {
1074
+ let n = t.data, { eventStore: r, sessionsFilterStore: i } = w;
1075
+ Je(() => {
984
1076
  var e, t, a, o;
985
- E.details = null, T.selectSessions(), i.closeFilter(), i.setPending("selectedTracks", kn(n.tracks, r.tracks, "track")), i.setPending("selectedVenues", kn(n.venues, r.venues, "venue")), i.setPending("date", (e = n.date) == null ? "all" : e), i.setPending("timeOfDay", (t = n.time) == null ? "all" : t), i.setPending("showBookmarksOnly", (a = n.bookmarked) != null && a), i.setPending("showLiveOnly", (o = n.live) != null && o), i.commitFilters();
1077
+ T.details = null, w.selectSessions(), i.closeFilter(), i.setPending("selectedTracks", qn(n.tracks, r.tracks, "track")), i.setPending("selectedVenues", qn(n.venues, r.venues, "venue")), i.setPending("date", (e = n.date) == null ? "all" : e), i.setPending("timeOfDay", (t = n.time) == null ? "all" : t), i.setPending("showBookmarksOnly", (a = n.bookmarked) != null && a), i.setPending("showLiveOnly", (o = n.live) != null && o), i.commitFilters();
986
1078
  });
987
1079
  }
988
1080
  selectTour(e) {
@@ -990,8 +1082,8 @@ var On = class extends c {
990
1082
  $("selectTour", "A tour id must be passed.", "EFP001900");
991
1083
  return;
992
1084
  }
993
- let t = T.toursStore.getTourById(e);
994
- t ? T.toursStore.launchTour(t, t.name, t.description) : (console.warn(`Route with id "${e}" not found`), T.selectTours());
1085
+ let t = w.toursStore.getTourById(e);
1086
+ t ? w.toursStore.launchTour(t, t.name, t.description) : (console.warn(`Route with id "${e}" not found`), w.selectTours());
995
1087
  }
996
1088
  openPlanner(e = {}) {
997
1089
  if (typeof e != "object" || !e) {
@@ -999,56 +1091,56 @@ var On = class extends c {
999
1091
  return;
1000
1092
  }
1001
1093
  let t = e.from ? k(e.from) : null;
1002
- if (e.fromBookmarks) T.routePlannerStore.launchFromBookmarks(t == null ? void 0 : t);
1094
+ if (e.fromBookmarks) w.routePlannerStore.launchFromBookmarks(t == null ? void 0 : t);
1003
1095
  else {
1004
1096
  var n;
1005
- T.routePlannerStore.launchFromSlugs((n = e.items) == null ? [] : n, t == null ? void 0 : t);
1097
+ w.routePlannerStore.launchFromSlugs((n = e.items) == null ? [] : n, t == null ? void 0 : t);
1006
1098
  }
1007
1099
  }
1008
1100
  startBuildRoute() {
1009
- T.uiState.startBuildRoute();
1101
+ w.uiState.startBuildRoute();
1010
1102
  }
1011
1103
  applyParameters(e) {
1012
- typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), ln(e);
1104
+ typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), mn(e);
1013
1105
  }
1014
1106
  getVisibility() {
1015
- return T.uiState.visibility;
1107
+ return w.uiState.visibility;
1016
1108
  }
1017
1109
  setVisibility(e) {
1018
- (typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), T.uiState.setVisibility(e);
1110
+ (typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), w.uiState.setVisibility(e);
1019
1111
  }
1020
1112
  findLocation() {
1021
- T.routeStore.findLocation();
1113
+ w.routeStore.findLocation();
1022
1114
  }
1023
1115
  zoomIn() {
1024
- T.uiState.zoomIn();
1116
+ w.uiState.zoomIn();
1025
1117
  }
1026
1118
  zoomOut() {
1027
- T.uiState.zoomOut();
1119
+ w.uiState.zoomOut();
1028
1120
  }
1029
1121
  switchView() {
1030
- T.maplibreStore.activateMaplibre();
1122
+ w.maplibreStore.activateMaplibre();
1031
1123
  }
1032
1124
  setCamera(e) {
1033
1125
  X("setCamera called with camera=%O", e);
1034
- let t = ue.safeParse(e);
1126
+ let t = de.safeParse(e);
1035
1127
  if (!t.success) {
1036
1128
  $("setCamera", t.error.message, "EFP001B00");
1037
1129
  return;
1038
1130
  }
1039
- T.uiState.setMapSettings(y(t.data));
1131
+ w.uiState.setMapSettings(v(t.data));
1040
1132
  }
1041
1133
  getCamera() {
1042
- return Je(T.uiState.mapSettings);
1134
+ return Xe(w.uiState.mapSettings);
1043
1135
  }
1044
1136
  zoomTo(e, t) {
1045
1137
  X("zoomTo called with selectors=%O options=%O", e, t);
1046
- let n = nn.safeParse(e);
1138
+ let n = sn.safeParse(e);
1047
1139
  if (!n.success) {
1048
1140
  $("zoomTo", n.error.message, "EFP001600");
1049
1141
  return;
1050
1142
  }
1051
- let r = B.safeParse(t);
1143
+ let r = cn.safeParse(t);
1052
1144
  if (!r.success) {
1053
1145
  $("zoomTo", r.error.message, "EFP001601");
1054
1146
  return;
@@ -1059,7 +1151,7 @@ var On = class extends c {
1059
1151
  getBounds(e) {
1060
1152
  var t, n;
1061
1153
  X("getBounds called with selectors=%O", e);
1062
- let r = nn.safeParse(e);
1154
+ let r = sn.safeParse(e);
1063
1155
  if (!r.success) {
1064
1156
  $("getBounds", r.error.message, "EFP001400");
1065
1157
  return;
@@ -1067,15 +1159,15 @@ var On = class extends c {
1067
1159
  let i = [];
1068
1160
  if ((t = e.booths) == null || t.forEach((e) => {
1069
1161
  let t;
1070
- e.externalId ? t = T.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = T.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
1162
+ e.externalId ? t = w.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = w.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
1071
1163
  }), (n = e.exhibitors) == null || n.forEach((e) => {
1072
1164
  var t;
1073
1165
  let n;
1074
- e.externalId ? n = T.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = T.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
1166
+ e.externalId ? n = w.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = w.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
1075
1167
  e.rect && i.push(e.rect);
1076
1168
  });
1077
1169
  }), i.length === 0) return;
1078
- let a = w.fromUnion(...i);
1170
+ let a = C.fromUnion(...i);
1079
1171
  return {
1080
1172
  leftTop: {
1081
1173
  x: a.min.x,
@@ -1089,37 +1181,37 @@ var On = class extends c {
1089
1181
  }
1090
1182
  fitBounds(e, t) {
1091
1183
  if (X("fitBounds called with bounds=%O options=%O", e, t), !e) {
1092
- T.uiState.fitBounds();
1184
+ w.uiState.fitBounds();
1093
1185
  return;
1094
1186
  }
1095
- let n = en.safeParse(e);
1187
+ let n = an.safeParse(e);
1096
1188
  if (!n.success) {
1097
1189
  $("fitBounds", n.error.message, "EFP001500");
1098
1190
  return;
1099
1191
  }
1100
- let r = B.safeParse(t);
1192
+ let r = cn.safeParse(t);
1101
1193
  if (!r.success) {
1102
1194
  $("fitBounds", r.error.message, "EFP001501");
1103
1195
  return;
1104
1196
  }
1105
- let i = w.fromMinMax({
1197
+ let i = C.fromMinMax({
1106
1198
  x: e.leftTop.x,
1107
1199
  y: e.leftTop.y
1108
1200
  }, {
1109
1201
  x: e.rightBottom.x,
1110
1202
  y: e.rightBottom.y
1111
1203
  });
1112
- T.uiState.moveToRect = t != null && t.padding ? i.expand(t.padding) : i;
1204
+ w.uiState.moveToRect = t != null && t.padding ? i.expand(t.padding) : i;
1113
1205
  }
1114
1206
  getBoothRect(e) {
1115
1207
  var t;
1116
1208
  typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00");
1117
1209
  let n = (t = k(e)) == null ? void 0 : t.rect;
1118
- return n ? Mn.fromBox(n) : void 0;
1210
+ return n ? Xn.fromBox(n) : void 0;
1119
1211
  }
1120
1212
  convertToGeo(e, t) {
1121
1213
  var n;
1122
- let r = (n = ot()) == null || (n = n.properties) == null ? void 0 : n.config;
1214
+ let r = (n = ct()) == null || (n = n.properties) == null ? void 0 : n.config;
1123
1215
  if (!r) {
1124
1216
  $("convertToGeo", "The coordinates cannot be converted because the GPS configuration is not defined.", "EFP001000");
1125
1217
  return;
@@ -1128,11 +1220,11 @@ var On = class extends c {
1128
1220
  $("convertToGeo", "Both coordinates must be passed.", "EFP001001");
1129
1221
  return;
1130
1222
  }
1131
- return pt(e, t, r);
1223
+ return mt(e, t, r);
1132
1224
  }
1133
1225
  getGeoConfig() {
1134
1226
  var e, t;
1135
- let n = (e = ot()) == null || (e = e.properties) == null ? void 0 : e.config;
1227
+ let n = (e = ct()) == null || (e = e.properties) == null ? void 0 : e.config;
1136
1228
  return n ? {
1137
1229
  bearing: (t = n.bearing) == null ? 0 : t,
1138
1230
  p0: n.p0,
@@ -1142,16 +1234,16 @@ var On = class extends c {
1142
1234
  }
1143
1235
  releaseResources() {
1144
1236
  var e;
1145
- T.maplibreStore.dispose(), (e = this.root) == null || e.unmount(), super.releaseResources();
1237
+ w.maplibreStore.dispose(), (e = this.root) == null || e.unmount(), super.releaseResources();
1146
1238
  }
1147
1239
  search(e) {
1148
- return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), T.fuzzySearchEngineStore.loadEngine().then(() => (T.searchStore.selectSearch(e), T.uiState.fuzzySearchItems.map((e) => ({
1149
- item: K(e.item),
1240
+ return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), w.fuzzySearchEngineStore.loadEngine().then(() => (w.searchStore.selectSearch(e), w.uiState.fuzzySearchItems.map((e) => ({
1241
+ item: q(e.item),
1150
1242
  score: e.score
1151
1243
  }))));
1152
1244
  }
1153
1245
  getFloors() {
1154
- let e = T.venueStore;
1246
+ let e = w.venueStore;
1155
1247
  if (e.hasVenueModel) {
1156
1248
  let t = e.activeVenue;
1157
1249
  return t ? t.levels.map((e) => {
@@ -1169,7 +1261,7 @@ var On = class extends c {
1169
1261
  };
1170
1262
  }) : [];
1171
1263
  }
1172
- return T.layerStore.floors.map((e) => ({
1264
+ return w.layerStore.floors.map((e) => ({
1173
1265
  name: e.name,
1174
1266
  shortName: e.shortName,
1175
1267
  description: e.description,
@@ -1179,22 +1271,22 @@ var On = class extends c {
1179
1271
  }));
1180
1272
  }
1181
1273
  getVenues() {
1182
- let e = T.venueStore;
1183
- if (e.venues.length === 0) return [An()];
1274
+ let e = w.venueStore;
1275
+ if (e.venues.length === 0) return [Jn()];
1184
1276
  let t = e.activeVenue;
1185
- return e.orderedVenues.map((e) => Ot(e, e === t));
1277
+ return e.orderedVenues.map((e) => xt(e, e === t));
1186
1278
  }
1187
1279
  getVenueDiagnostics() {
1188
- return T.venueStore.diagnostics.map((e) => ({ ...e }));
1280
+ return w.venueStore.diagnostics.map((e) => ({ ...e }));
1189
1281
  }
1190
1282
  activateVenue(e) {
1191
1283
  if (!(e != null && e.id)) {
1192
1284
  $("activateVenue", "Invalid venueId. It must contain an id.", "EFP001210");
1193
1285
  return;
1194
1286
  }
1195
- let t = T.venueStore;
1287
+ let t = w.venueStore;
1196
1288
  if (t.venues.length === 0) {
1197
- if (jn(e.id)) return;
1289
+ if (Yn(e.id)) return;
1198
1290
  } else {
1199
1291
  let n = t.findVenue(e.id);
1200
1292
  if (n) {
@@ -1209,7 +1301,7 @@ var On = class extends c {
1209
1301
  $("activateFloor", "Invalid floorId. It must contain either a name or an index.", "EFP001200");
1210
1302
  return;
1211
1303
  }
1212
- let t = T.venueStore;
1304
+ let t = w.venueStore;
1213
1305
  if (t.hasVenueModel) {
1214
1306
  let n;
1215
1307
  if (e.name) {
@@ -1264,11 +1356,11 @@ var On = class extends c {
1264
1356
  }
1265
1357
  }
1266
1358
  showPathway(e, t) {
1267
- let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ? mt(t) : {
1359
+ let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ? _t(t) : {
1268
1360
  boothExternalIds: [],
1269
1361
  exhibitorExternalIds: []
1270
1362
  };
1271
- mn({
1363
+ yn({
1272
1364
  pathwayId: e,
1273
1365
  boothIds: n,
1274
1366
  exhibitorIds: r
@@ -1276,48 +1368,48 @@ var On = class extends c {
1276
1368
  }
1277
1369
  showPathwayOnly(e, t) {
1278
1370
  var n;
1279
- this.activateFloor({ name: t }), T.layerStore.showPathWay(e), T.uiState.setPathwayOnlyMode(!0);
1280
- let r = T.layerStore.findLayer(e), i = T.layerStore.findLayer(t), a = r != null && r.rect || r != null && r.viewbox ? r : i, o = (n = a == null ? void 0 : a.viewbox) == null ? a == null ? void 0 : a.rect : n;
1281
- o && (T.uiState.moveToRect = o.clone());
1371
+ this.activateFloor({ name: t }), w.layerStore.showPathWay(e), w.uiState.setPathwayOnlyMode(!0);
1372
+ let r = w.layerStore.findLayer(e), i = w.layerStore.findLayer(t), a = r != null && r.rect || r != null && r.viewbox ? r : i, o = (n = a == null ? void 0 : a.viewbox) == null ? a == null ? void 0 : a.rect : n;
1373
+ o && (w.uiState.moveToRect = o.clone());
1282
1374
  }
1283
1375
  hidePathways() {
1284
- this.highlightBooths([]), T.layerStore.hidePathways(), T.uiState.setPathwayOnlyMode(!1);
1376
+ this.highlightBooths([]), w.layerStore.hidePathways(), w.uiState.setPathwayOnlyMode(!1);
1285
1377
  }
1286
1378
  showSearch() {
1287
- T.selectSearch("");
1379
+ w.selectSearch("");
1288
1380
  }
1289
1381
  changeLanguage(e) {
1290
1382
  var t;
1291
1383
  let n = e == null || (t = e.toLowerCase) == null ? void 0 : t.call(e);
1292
- if (!we(n)) {
1293
- $("changeLanguage", `Language "${e}" was not found. Available languages: ${be().map((e) => e.id).join(",")}`, "EFP001300");
1384
+ if (!Ee(n)) {
1385
+ $("changeLanguage", `Language "${e}" was not found. Available languages: ${Se().map((e) => e.id).join(",")}`, "EFP001300");
1294
1386
  return;
1295
1387
  }
1296
- Se(n);
1388
+ we(n);
1297
1389
  }
1298
1390
  isGpsTrackingEnabled() {
1299
- return T.routeStore.gpsEnabled;
1391
+ return w.routeStore.gpsEnabled;
1300
1392
  }
1301
1393
  setGpsTrackingEnabled(e) {
1302
- T.routeStore.setGpsTrackingEnabled(e);
1394
+ w.routeStore.setGpsTrackingEnabled(e);
1303
1395
  }
1304
1396
  deselectCurrentPosition() {
1305
- T.routeStore.selectCurrentPosition(null, !1);
1397
+ w.routeStore.selectCurrentPosition(null, !1);
1306
1398
  }
1307
1399
  deselectRoute() {
1308
- T.routeStore.selectRoute(null), T.routeStore.setOnlyAccessible(!1);
1400
+ w.routeStore.selectRoute(null), w.routeStore.setOnlyAccessible(!1);
1309
1401
  }
1310
1402
  reset() {
1311
- if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), T.uiState.kioskData && T.resetCameraFn) {
1403
+ if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), w.uiState.kioskData && w.resetCameraFn) {
1312
1404
  var e;
1313
- (e = T.resetCameraFn) == null || e.call(T);
1314
- } else T.venueStore.isCampusMode ? T.venueStore.viewAllVenues() : this.fitBounds();
1405
+ (e = w.resetCameraFn) == null || e.call(w);
1406
+ } else w.venueStore.isCampusMode ? w.venueStore.viewAllVenues() : this.fitBounds();
1315
1407
  }
1316
1408
  selectAccessibleRoute(e) {
1317
- T.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
1409
+ w.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
1318
1410
  }
1319
1411
  };
1320
- function kn(e = [], t, n) {
1412
+ function qn(e = [], t, n) {
1321
1413
  let r = /* @__PURE__ */ new Set();
1322
1414
  for (let o of e) {
1323
1415
  var i, a;
@@ -1333,25 +1425,25 @@ function kn(e = [], t, n) {
1333
1425
  return [...r];
1334
1426
  }
1335
1427
  function Z(e) {
1336
- let t = typeof e == "string" ? k(e) : T.routeStore.getNearestBooth(e);
1428
+ let t = typeof e == "string" ? k(e) : w.routeStore.getNearestBooth(e);
1337
1429
  return t == null ? null : t;
1338
1430
  }
1339
- function An() {
1431
+ function Jn() {
1340
1432
  return {
1341
- id: S.EXPO,
1342
- name: C.title || S.EXPO,
1433
+ id: x.EXPO,
1434
+ name: S.title || x.EXPO,
1343
1435
  order: 0,
1344
1436
  active: !0
1345
1437
  };
1346
1438
  }
1347
- function jn(e) {
1348
- return e.toLowerCase() === An().id.toLowerCase();
1439
+ function Yn(e) {
1440
+ return e.toLowerCase() === Jn().id.toLowerCase();
1349
1441
  }
1350
1442
  var Q = 0;
1351
1443
  function $(e, t, n) {
1352
1444
  let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://js-sdk.expofp.com/api/packages";
1353
- if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), T.fp.disableRuntimeAlerts) return;
1354
- T.uiState.setGlobalErrorMessage({
1445
+ if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), w.fp.disableRuntimeAlerts) return;
1446
+ w.uiState.setGlobalErrorMessage({
1355
1447
  title: r,
1356
1448
  body: /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [
1357
1449
  i,
@@ -1367,12 +1459,12 @@ function $(e, t, n) {
1367
1459
  let o = 8e3;
1368
1460
  Q = window.setTimeout(() => {
1369
1461
  let e = async () => {
1370
- T.uiState.globalErrorMessages.length > 0 && (T.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
1462
+ w.uiState.globalErrorMessages.length > 0 && (w.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
1371
1463
  };
1372
1464
  e();
1373
1465
  }, o);
1374
1466
  }
1375
- var Mn = class e {
1467
+ var Xn = class e {
1376
1468
  get h() {
1377
1469
  return Math.abs(this.y2 - this.y1);
1378
1470
  }
@@ -1445,4 +1537,4 @@ var Mn = class e {
1445
1537
  }
1446
1538
  };
1447
1539
  //#endregion
1448
- export { On as default };
1540
+ export { Kn as default };