@expofp/floorplan 3.42.0 → 3.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/dist/browser/{Button-7vKTUMwa.js → Button-Bs_UxgiQ.js} +6 -6
  2. package/dist/browser/{CookieConsent-DZnUFAi1.js → CookieConsent-Dyu43_hP.js} +8 -8
  3. package/dist/browser/{Debug-Dsywuwjc.js → Debug-BsTTWQvE.js} +10 -10
  4. package/dist/browser/{DebugTools-NEHhoTT0.js → DebugTools-aXs-5eza.js} +7 -7
  5. package/dist/browser/{Demo-CdqpnPmk.js → Demo-B-7KGDMJ.js} +13 -13
  6. package/dist/browser/{Free-CknV-WFB.js → Free-CNL5OIgo.js} +16 -15
  7. package/dist/browser/{GalleryContainer-DiofTl5g.js → GalleryContainer-vKUdXOJc.js} +470 -469
  8. package/dist/browser/{GpsLoader-yBTov2Mi.js → GpsLoader-CTx41t_T.js} +40 -37
  9. package/dist/browser/{KioskStore-BhUGohiO.js → KioskStore-DryCUldq.js} +52 -48
  10. package/dist/browser/{store-C7bFMNRR.js → LayerStore-KA0vMV1s.js} +21398 -31273
  11. package/dist/browser/{MaplibreAdapter-alyJSU90.js → MaplibreAdapter-VThms9qo.js} +290 -285
  12. package/dist/browser/{ModalContainer-CRjFYu9I.js → ModalContainer-BnQWgJFk.js} +11 -11
  13. package/dist/browser/{PermissionNotice-QlgW3rD2.js → PermissionNotice-C6o0LjTv.js} +7 -7
  14. package/dist/browser/RouteStore-dygrca38.js +1203 -0
  15. package/dist/browser/SetKioskMode-BlUF1qvU.js +50 -0
  16. package/dist/browser/{ShowKiosk-CdtvEFA0.js → ShowKiosk-DFoRzTZf.js} +18 -17
  17. package/dist/browser/UIState-DOeFZ2L0.js +2026 -0
  18. package/dist/browser/{ViewerMenuPanel-ClN5-HkT.js → ViewerMenuPanel-BTQx7alw.js} +25 -24
  19. package/dist/browser/{add-debug-secret-listener-CRrpI_Kh.js → add-debug-secret-listener-DEG-kL4W.js} +1 -1
  20. package/dist/browser/{adopt-global-settings-Bfg8Afor.js → adopt-global-settings-CbCj9y4x.js} +10 -10
  21. package/dist/browser/{boolean-editor-D07VGVC2.js → boolean-editor-MewBldvq.js} +10 -10
  22. package/dist/browser/{bootIntercom-BiVMwUUy.js → bootIntercom-Dhf8kEsO.js} +3 -3
  23. package/dist/browser/bundle.json +110 -71
  24. package/dist/browser/{camera-events-DLOVTy6c.js → camera-events-BGPhoW-g.js} +1 -1
  25. package/dist/browser/{classnames-nqfwPBx9.js → classnames-CjOzT3Et.js} +2 -2
  26. package/dist/browser/{client-BiRIy1Co.js → client-B7ipF6CH.js} +6 -6
  27. package/dist/browser/{components-DEFGVG-x.js → components-z1AUvMqv.js} +1245 -1228
  28. package/dist/browser/create-live-plan-BV3wMQvQ.js +3650 -0
  29. package/dist/browser/{debug-context-CNrat8d3.js → debug-context-DHcoFmUh.js} +6 -6
  30. package/dist/browser/{debug-overlay-BUUrDM9l.js → debug-overlay-DyWRfHNB.js} +11 -11
  31. package/dist/browser/{debug-ui-CnrGzk6e.js → debug-ui--YQc14iG.js} +7 -7
  32. package/dist/browser/{dimming-D0giTIOt.js → dimming-B3eCxIBl.js} +277 -270
  33. package/dist/browser/{dist-DrIFPR9W.js → dist-CFpNRHGA.js} +6 -6
  34. package/dist/browser/{dist--ZX1xaYT.js → dist-DZnPa7Gt.js} +3 -3
  35. package/dist/browser/{dist-CV32Y46p.js → dist-d1mv4aS_.js} +7 -7
  36. package/dist/browser/{efp-debug-init-BbvlaL2_.js → efp-debug-init-Fe6M60if.js} +4 -4
  37. package/dist/browser/{enum-editor-CvWk2CYa.js → enum-editor-Bpqhj_kX.js} +5 -5
  38. package/dist/browser/{es5-Dcwx3Epy.js → es5-Tm811jgW.js} +2 -2
  39. package/dist/browser/{event-head-BSYCtvm2.js → event-head-DUUPR6gG.js} +1 -1
  40. package/dist/browser/{event-not-found-DbibmJ01.js → event-not-found-payUnjNK.js} +4 -4
  41. package/dist/browser/event-scoped-cache-C5u7vr_A.js +22 -0
  42. package/dist/browser/{exports-CBnfqlGn.js → exports-DqGDS1fu.js} +1 -1
  43. package/dist/browser/{favicon-DOUIGf88.js → favicon-DsfOrGNO.js} +1 -1
  44. package/dist/browser/{fetch-retry.umd-CESjFBn2.js → fetch-retry.umd-CC5xe8w5.js} +2 -2
  45. package/dist/browser/{flex-CkonIXcz.js → flex-CezZmi5f.js} +6 -6
  46. package/dist/browser/{floorplan.loader-D6Qw8CMQ.js → floorplan.loader-Dlxv8xv-.js} +658 -707
  47. package/dist/browser/{floorplan.ready-Cn5pmGNZ.js → floorplan.ready-Bet-4Pmf.js} +373 -359
  48. package/dist/browser/freeBanner-D8r4eSMx.js +31 -0
  49. package/dist/browser/{fuse-EvF4pTyh.js → fuse-hqr4jkDB.js} +2 -2
  50. package/dist/browser/{i18n-bazUgGYZ.js → i18n-CbKfwktv.js} +1821 -3872
  51. package/dist/browser/index.js +131 -47
  52. package/dist/browser/{index.module-Cd7A7ETP.js → index.module-BbVqiHXM.js} +17 -17
  53. package/dist/browser/init-ui-BqvkD2nz.js +286 -0
  54. package/dist/browser/integrateKiosk-DaSOYn36.js +35 -0
  55. package/dist/browser/{loadImage-7pQI5Tjs.js → is-debug-dWXc5YUy.js} +30 -14
  56. package/dist/browser/{is-own-domain-BBpQe8Jk.js → is-own-domain-D8anlQ_Q.js} +1 -1
  57. package/dist/browser/{is-webview-CvWOfDn6.js → is-webview-fqXWp538.js} +1 -1
  58. package/dist/browser/{jsx-runtime-CSQgoSxn.js → jsx-runtime-DO7PmxNL.js} +2 -2
  59. package/dist/browser/kiosk-mode-7b7iDbkP.js +33 -0
  60. package/dist/browser/{kiosk-record-CW_1KB9b.js → kiosk-record-UJxF1fjj.js} +1 -1
  61. package/dist/browser/kioskApi-CgpMBKhv.js +440 -0
  62. package/dist/browser/{lib-DM-z760g.js → lib-Czk5Lszd.js} +3 -3
  63. package/dist/browser/loadImage-CFo9-YJJ.js +17 -0
  64. package/dist/browser/{logDeviceInfo-Cn9Bhvpl.js → logDeviceInfo-DJjhYuqu.js} +9 -9
  65. package/dist/browser/{mobx-CtL28CVI.js → mobx-C81AIECP.js} +11 -11
  66. package/dist/browser/mobx.module-CWCYJWja.js +2064 -0
  67. package/dist/browser/{optional-boolean-editor-D9vSAE8_.js → optional-boolean-editor-B62ChR7X.js} +4 -4
  68. package/dist/browser/{optional-enum-editor-CGhySOL7.js → optional-enum-editor-BBO6A0hj.js} +5 -5
  69. package/dist/browser/{optional-string-editor-CZyRAOtc.js → optional-string-editor-7Q9UPGmg.js} +5 -5
  70. package/dist/browser/{particles.min-7s3EMxTb.js → particles.min-BKHVPr2d.js} +2 -2
  71. package/dist/browser/{react-Brm2MVUC.js → react-Cg2OORRh.js} +2 -2
  72. package/dist/browser/{react-dom-D9UnnQqq.js → react-dom-Ty-lfgLt.js} +3 -3
  73. package/dist/browser/{rolldown-runtime-B01qwuDw.js → rolldown-runtime-CWnoF_DQ.js} +1 -1
  74. package/dist/browser/scene-C5l_d13f.js +108 -0
  75. package/dist/browser/{scheduler-DZj4HovO.js → scheduler-BU0IIfqL.js} +2 -2
  76. package/dist/browser/{select-BC5N0CfJ.js → select-BzHMeDb4.js} +11 -11
  77. package/dist/browser/{settings-ChFxDoJk.js → settings-BtJgR42s.js} +2 -2
  78. package/dist/browser/{settings-item-DFO14ZCg.js → settings-item-DdFFETI3.js} +7 -7
  79. package/dist/browser/store-BTr1tlEV.js +58 -0
  80. package/dist/browser/{string-editor-C4gzTT4q.js → string-editor-BEEQ6kcc.js} +5 -5
  81. package/dist/browser/{text-field-61qAnXmd.js → text-field-DoMqPokj.js} +6 -6
  82. package/dist/browser/{theme-DSnFzQS0.js → theme-BvRXg3tc.js} +9 -9
  83. package/dist/browser/{ui-BFqga_Pg.js → ui-CjqBOwnM.js} +9 -9
  84. package/dist/browser/{useRenderTarget-BxS4Swp7.js → useRenderTarget-CaMfMKd3.js} +5 -5
  85. package/dist/browser/{viewport-CHeX03S_.js → viewport-D1DrneSN.js} +4 -3
  86. package/dist/browser/wayfinding-BFQ3ZTEN.js +2322 -0
  87. package/dist/esm/components/GalleryContainer.js +1 -1
  88. package/dist/esm/components/Kiosk/integrateKiosk.js +1 -1
  89. package/dist/esm/components/LogoOverlay.js +1 -1
  90. package/dist/esm/components/Map/Map.js +1 -1
  91. package/dist/esm/components/Map/MapCamera.js +1 -1
  92. package/dist/esm/components/Map/booth-by-xy.d.ts +8 -10
  93. package/dist/esm/components/Map/booth-by-xy.js +1 -1
  94. package/dist/esm/components/Map/drawing/config/BoothShape.d.ts +0 -1
  95. package/dist/esm/components/Map/drawing/config/BoothShape.js +1 -1
  96. package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
  97. package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
  98. package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
  99. package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
  100. package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
  101. package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
  102. package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
  103. package/dist/esm/components/Map/drawing/config/layer-images.d.ts +7 -2
  104. package/dist/esm/components/Map/drawing/config/layer-images.js +1 -1
  105. package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
  106. package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
  107. package/dist/esm/components/Maplibre/useCameraReactions.js +1 -1
  108. package/dist/esm/components/Maplibre/utils/geo-config.js +1 -1
  109. package/dist/esm/components/Maplibre/utils/map-helpers.js +1 -1
  110. package/dist/esm/components/Menu.js +1 -1
  111. package/dist/esm/data/fpGeo.d.ts +6 -1
  112. package/dist/esm/data/fpGeo.js +1 -1
  113. package/dist/esm/data/index.d.ts +9 -4
  114. package/dist/esm/data/index.js +1 -1
  115. package/dist/esm/data/svg.d.ts +15 -13
  116. package/dist/esm/data/svg.js +1 -1
  117. package/dist/esm/floorplan.loader.d.ts +6 -1
  118. package/dist/esm/floorplan.loader.js +1 -1
  119. package/dist/esm/floorplan.ready.d.ts +8 -2
  120. package/dist/esm/floorplan.ready.js +1 -1
  121. package/dist/esm/load.js +11 -11
  122. package/dist/esm/plan-lifecycle.d.ts +65 -0
  123. package/dist/esm/plan-lifecycle.js +1 -0
  124. package/dist/esm/services/URLFilterManager.js +1 -1
  125. package/dist/esm/services/url-dispatch.js +1 -1
  126. package/dist/esm/services/url-sync.d.ts +5 -1
  127. package/dist/esm/services/url-sync.js +1 -1
  128. package/dist/esm/store/MaplibreStore.js +1 -1
  129. package/dist/esm/store/OverlayStore.d.ts +15 -2
  130. package/dist/esm/store/OverlayStore.js +1 -1
  131. package/dist/esm/store/RouteStore.js +1 -1
  132. package/dist/esm/store/UIState.js +1 -1
  133. package/dist/esm/store/create-live-plan.d.ts +13 -0
  134. package/dist/esm/store/create-live-plan.js +1 -0
  135. package/dist/esm/store/index.d.ts +2 -13
  136. package/dist/esm/store/index.js +1 -1
  137. package/dist/esm/store/init/init-booths.js +1 -1
  138. package/dist/esm/store/init/init-events.js +1 -1
  139. package/dist/esm/store/init/init-exhibitors.js +1 -1
  140. package/dist/esm/store/init/init-layers.js +1 -1
  141. package/dist/esm/store/init/init-speakers.js +1 -1
  142. package/dist/esm/store/init/init-ui.d.ts +4 -6
  143. package/dist/esm/store/init/init-ui.js +1 -1
  144. package/dist/esm/store/live-store.d.ts +19 -0
  145. package/dist/esm/store/live-store.js +1 -0
  146. package/dist/esm/store/search-buttons/SearchButtonsStore.js +1 -1
  147. package/dist/esm/tools/event-scoped-cache.d.ts +13 -0
  148. package/dist/esm/tools/event-scoped-cache.js +1 -0
  149. package/dist/esm/tools/gtag.d.ts +15 -1
  150. package/dist/esm/tools/gtag.js +1 -1
  151. package/dist/esm/tools/reset.js +1 -1
  152. package/dist/esm/tools/settings.d.ts +7 -2
  153. package/dist/esm/tools/settings.js +1 -1
  154. package/dist/esm/tools/slug.js +1 -1
  155. package/dist/esm/tools/style-registry.d.ts +28 -0
  156. package/dist/esm/tools/style-registry.js +1 -0
  157. package/dist/esm/tools/track-event.js +1 -1
  158. package/dist/esm/types.d.ts +7 -1
  159. package/dist/esm/utils/entity-storage.js +1 -1
  160. package/dist/esm/utils/gps.js +1 -1
  161. package/dist/esm/utils/plan-reactions.d.ts +20 -0
  162. package/dist/esm/utils/plan-reactions.js +1 -0
  163. package/dist/esm/utils/preview-exhibitor.d.ts +9 -2
  164. package/dist/esm/utils/preview-exhibitor.js +1 -1
  165. package/dist/esm/utils/swappable-proxy.d.ts +28 -0
  166. package/dist/esm/utils/swappable-proxy.js +1 -0
  167. package/dist/esm/wayfinding/createWayfinding.js +1 -1
  168. package/package.json +32 -10
  169. package/dist/browser/SetKioskMode-DE_MMA2F.js +0 -48
  170. package/dist/browser/integrateKiosk-DskxWOv7.js +0 -34
@@ -1,23 +1,26 @@
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.42.0" };
4
+ e.SENTRY_RELEASE = { id: "3.43.0" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "0759b8fc-cc6f-41b5-bc01-fb128f26ba1a", e._sentryDebugIdIdentifier = "sentry-dbid-0759b8fc-cc6f-41b5-bc01-fb128f26ba1a");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "85785161-90b4-4cdd-819b-7abc9f715b37", e._sentryDebugIdIdentifier = "sentry-dbid-85785161-90b4-4cdd-819b-7abc9f715b37");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-B01qwuDw.js";
10
- import { q as t, s as n } from "./i18n-bazUgGYZ.js";
11
- import { t as r } from "./react-Brm2MVUC.js";
12
- import { t as i } from "./jsx-runtime-CSQgoSxn.js";
13
- import { r as a } from "./loadImage-7pQI5Tjs.js";
14
- import { An as o, C as s, Pt as c, c as l } from "./store-C7bFMNRR.js";
15
- import { t as u } from "./PermissionNotice-QlgW3rD2.js";
16
- import { t as d } from "./index.module-Cd7A7ETP.js";
17
- import { i as f } from "./mobx-CtL28CVI.js";
9
+ import { r as e } from "./rolldown-runtime-CWnoF_DQ.js";
10
+ import { M as t, s as n } from "./i18n-CbKfwktv.js";
11
+ import { t as r } from "./react-Cg2OORRh.js";
12
+ import { t as i } from "./jsx-runtime-DO7PmxNL.js";
13
+ import { o as a } from "./is-debug-dWXc5YUy.js";
14
+ import { t as o } from "./PermissionNotice-C6o0LjTv.js";
15
+ import { t as s } from "./index.module-BbVqiHXM.js";
16
+ import { l as c } from "./store-BTr1tlEV.js";
17
+ import { i as l } from "./mobx-C81AIECP.js";
18
+ import { x as u } from "./LayerStore-KA0vMV1s.js";
19
+ import { v as d } from "./wayfinding-BFQ3ZTEN.js";
20
+ import { t as f } from "./RouteStore-dygrca38.js";
18
21
  //#region src/components/gps/GpsPermissionRequest.tsx
19
- var p = /* @__PURE__ */ e(r(), 1), m = i(), h = d(function({ isOpen: e, onAllow: t, onCancel: r }) {
20
- return e ? /* @__PURE__ */ (0, m.jsx)(u, {
22
+ var p = /* @__PURE__ */ e(r(), 1), m = i(), h = s(function({ isOpen: e, onAllow: t, onCancel: r }) {
23
+ return e ? /* @__PURE__ */ (0, m.jsx)(o, {
21
24
  title: n("Show your position on the map"),
22
25
  acceptText: n("Allow compass access"),
23
26
  rejectText: n("Not now"),
@@ -30,28 +33,28 @@ function g(e) {
30
33
  return Math.floor(e);
31
34
  }
32
35
  function _(e, t) {
33
- return o(e, t) >= 3 || e.heading !== t.heading;
36
+ return d(e, t) >= 3 || e.heading !== t.heading;
34
37
  }
35
38
  //#endregion
36
39
  //#region src/components/gps/useUserLocationAndHeading.ts
37
40
  var v = 120, y = 3e3, b = 360;
38
41
  function x(e) {
39
- let t = (0, p.useRef)(null), n = (0, p.useRef)(null), r = (0, p.useRef)(0), i = (0, p.useRef)(null), s = (0, p.useRef)(!1), c = (0, p.useRef)(null), l = (0, p.useRef)(!1), u = (0, p.useRef)(null), d = (t) => e(t), f = (e) => {
42
+ let t = (0, p.useRef)(null), n = (0, p.useRef)(null), r = (0, p.useRef)(0), i = (0, p.useRef)(null), o = (0, p.useRef)(!1), s = (0, p.useRef)(null), c = (0, p.useRef)(!1), l = (0, p.useRef)(null), u = (t) => e(t), f = (e) => {
40
43
  let t = Date.now();
41
44
  if (t - r.current < v) return;
42
45
  let n = i.current;
43
- if (!c.current) {
44
- c.current = e, r.current = t, i.current = e, d(e);
46
+ if (!s.current) {
47
+ s.current = e, r.current = t, i.current = e, u(e);
45
48
  return;
46
49
  }
47
- let a = o(c.current, e), s;
48
- l.current ? a <= 3 ? (l.current = !1, c.current = e, s = {
49
- ...c.current,
50
+ let a = d(s.current, e), o;
51
+ c.current ? a <= 3 ? (c.current = !1, s.current = e, o = {
52
+ ...s.current,
50
53
  heading: e.heading
51
- }) : (c.current = e, s = e) : a >= 3 ? (l.current = !0, c.current = e, u.current = null, s = e) : (u.current == null && (u.current = t), t - u.current > y && (c.current = e), s = {
52
- ...c.current,
54
+ }) : (s.current = e, o = e) : a >= 3 ? (c.current = !0, s.current = e, l.current = null, o = e) : (l.current == null && (l.current = t), t - l.current > y && (s.current = e), o = {
55
+ ...s.current,
53
56
  heading: e.heading
54
- }), !(n && !_(n, s)) && (r.current = t, i.current = s, d(s));
57
+ }), !(n && !_(n, o)) && (r.current = t, i.current = o, u(o));
55
58
  }, m = (0, p.useCallback)((e) => {
56
59
  var t;
57
60
  let r = (t = e.webkitCompassHeading) == null ? e.alpha == null ? null : b - e.alpha : t;
@@ -76,30 +79,30 @@ function x(e) {
76
79
  }));
77
80
  },
78
81
  startOrientation: () => {
79
- s.current || (s.current = !0, window.addEventListener("deviceorientation", m, !0));
82
+ o.current || (o.current = !0, window.addEventListener("deviceorientation", m, !0));
80
83
  },
81
84
  stopGeolocation: () => {
82
- t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), c.current = null, l.current = !1;
85
+ t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), s.current = null, c.current = !1;
83
86
  },
84
87
  stopOrientation: () => {
85
- s.current = !1, window.removeEventListener("deviceorientation", m, !0);
88
+ o.current = !1, window.removeEventListener("deviceorientation", m, !0);
86
89
  }
87
90
  };
88
91
  }
89
92
  //#endregion
90
93
  //#region src/components/gps/GpsManager.tsx
91
94
  function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: r = "compass-permission-granted", requestCompass: i = !0, requestCompassAllowed: o = !0 }) {
92
- let { startOrientation: s, startGeolocation: l, stopOrientation: u, stopGeolocation: d } = x(e), [f, g] = (0, p.useState)(!1), [_, v] = (0, p.useState)(!1);
95
+ let { startOrientation: s, startGeolocation: c, stopOrientation: l, stopGeolocation: d } = x(e), [f, g] = (0, p.useState)(!1), [_, v] = (0, p.useState)(!1);
93
96
  (0, p.useEffect)(() => (navigator.geolocation.getCurrentPosition(() => {
94
- g(!0), l();
97
+ g(!0), c();
95
98
  }, (e) => {
96
99
  a.warn("Geolocation error:", e), g(!1);
97
100
  }), () => {
98
- u(), d();
101
+ l(), d();
99
102
  }), [
100
- l,
103
+ c,
101
104
  d,
102
- u
105
+ l
103
106
  ]);
104
107
  let y = async () => {
105
108
  typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(r, "true"), s(), v(!1), t == null || t());
@@ -107,7 +110,7 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
107
110
  localStorage.setItem(r, "false"), v(!1), n == null || n();
108
111
  }, [n]);
109
112
  return (0, p.useEffect)(() => {
110
- if (!f || !o || typeof navigator > "u" || !c) return;
113
+ if (!f || !o || typeof navigator > "u" || !u) return;
111
114
  let e = localStorage.getItem(r);
112
115
  if (!e || i) {
113
116
  v(!0);
@@ -129,15 +132,15 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
129
132
  //#region src/components/GpsLoader.tsx
130
133
  function C({ requestCompassAllowed: e }) {
131
134
  let [n, r] = (0, p.useState)(!1), i = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
132
- l.routeStore.selectCurrentPosition(new s(0, 0, 0, n || r, e, t), !1);
135
+ c.routeStore.selectCurrentPosition(new f(0, 0, 0, n || r, e, t), !1);
133
136
  }, []), a = (0, p.useCallback)(() => {
134
- l.routeStore.requestCompass = void 0, r(!1);
137
+ c.routeStore.requestCompass = void 0, r(!1);
135
138
  }, [r]), o = (0, p.useCallback)(() => {
136
- l.routeStore.requestCompass = void 0, r(!1);
139
+ c.routeStore.requestCompass = void 0, r(!1);
137
140
  }, [r]);
138
- return f(() => l.uiState.hideCookieConsent, (e) => {
141
+ return l(() => c.uiState.hideCookieConsent, (e) => {
139
142
  r(e);
140
- }), f(() => l.routeStore.requestCompass, (e) => {
143
+ }), l(() => c.routeStore.requestCompass, (e) => {
141
144
  r(e);
142
145
  }), /* @__PURE__ */ (0, m.jsx)(S, {
143
146
  requestCompass: n,
@@ -1,15 +1,19 @@
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.42.0" };
4
+ e.SENTRY_RELEASE = { id: "3.43.0" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "660d8c71-269f-4057-95ab-fcae98e122bc", e._sentryDebugIdIdentifier = "sentry-dbid-660d8c71-269f-4057-95ab-fcae98e122bc");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ea90f5f2-2738-478a-a3a5-99f43e141b9f", e._sentryDebugIdIdentifier = "sentry-dbid-ea90f5f2-2738-478a-a3a5-99f43e141b9f");
7
7
  } catch {}
8
8
  })();
9
- import { Bt as e, H as t, _ as n, d as r, l as i, m as a, s as o, w as s, x as c } from "./i18n-bazUgGYZ.js";
10
- import { B as l, _n as u, _t as d, c as f, gt as p, ht as m, mt as h, pt as g, tt as _ } from "./store-C7bFMNRR.js";
11
- import { r as v } from "./viewport-CHeX03S_.js";
12
- import { n as y, t as b } from "./kiosk-record-CW_1KB9b.js";
9
+ import { D as e, Tt as t, l as n, s as r } from "./i18n-CbKfwktv.js";
10
+ import { a as i, c as a, f as o, h as s, n as c } from "./mobx.module-CWCYJWja.js";
11
+ import { a as l, i as u, n as d, r as f } from "./kioskApi-CgpMBKhv.js";
12
+ import { l as p } from "./store-BTr1tlEV.js";
13
+ import { Mt as m, St as h } from "./LayerStore-KA0vMV1s.js";
14
+ import { r as g } from "./viewport-D1DrneSN.js";
15
+ import { i as _, r as v } from "./kiosk-mode-7b7iDbkP.js";
16
+ import { n as y, t as b } from "./kiosk-record-UJxF1fjj.js";
13
17
  //#region src/components/Kiosk/KioskStore.ts
14
18
  var x, S, C, w, T;
15
19
  function E(e, t, n, r) {
@@ -28,21 +32,21 @@ function D(e, t, n, r, i) {
28
32
  return r(e, t, n) || n;
29
33
  }, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
30
34
  }
31
- var O = 2e4, k = new (x = a({ keepAlive: !0 }), S = a({ keepAlive: !0 }), C = class {
35
+ var O = 2e4, k = new (x = i({ keepAlive: !0 }), S = i({ keepAlive: !0 }), C = class {
32
36
  constructor() {
33
37
  E(this, "savedKiosk", w, this), E(this, "statusMessages", T, this), this.statusMessageTimer = 0, this.isResettingCamera = !1, this.isRestoringFraming = !1, this.initialPtScale = void 0;
34
38
  }
35
39
  get kiosk() {
36
- return f.uiState.kioskData;
40
+ return p.uiState.kioskData;
37
41
  }
38
42
  setKiosk(e) {
39
- f.uiState.setKioskData(e);
43
+ p.uiState.setKioskData(e);
40
44
  }
41
45
  getCameraState() {
42
46
  var e;
43
- if (f.maplibreStore.showMaplibre) {
47
+ if (p.maplibreStore.showMaplibre) {
44
48
  var t;
45
- let e = (t = f.maplibreStore.cameraPort) == null ? void 0 : t.getCameraState();
49
+ let e = (t = p.maplibreStore.cameraPort) == null ? void 0 : t.getCameraState();
46
50
  return e ? {
47
51
  mapCenterLng: e.lng,
48
52
  mapCenterLat: e.lat,
@@ -51,7 +55,7 @@ var O = 2e4, k = new (x = a({ keepAlive: !0 }), S = a({ keepAlive: !0 }), C = cl
51
55
  mapPitchDegrees: e.pitch
52
56
  } : {};
53
57
  }
54
- let n = (e = l()) == null ? void 0 : e.state();
58
+ let n = (e = m()) == null ? void 0 : e.state();
55
59
  return n ? {
56
60
  mapInitialPtScale: this.initialPtScale,
57
61
  mapPtScale: n.pixelSize,
@@ -62,7 +66,7 @@ var O = 2e4, k = new (x = a({ keepAlive: !0 }), S = a({ keepAlive: !0 }), C = cl
62
66
  } : {};
63
67
  }
64
68
  get hasUnsavedChanges() {
65
- let e = this.savedKiosk, t = c(this.kiosk);
69
+ let e = this.savedKiosk, t = o(this.kiosk);
66
70
  if (!t || !e) return !!t != !!e;
67
71
  let n = Object.keys(e), r = Object.keys(t);
68
72
  if (n.length !== r.length) return !0;
@@ -85,7 +89,7 @@ var O = 2e4, k = new (x = a({ keepAlive: !0 }), S = a({ keepAlive: !0 }), C = cl
85
89
  if (!this.isResettingCamera) {
86
90
  this.isResettingCamera = !0;
87
91
  try {
88
- if (f.maplibreStore.showMaplibre && await this.resetMaplibreCamera()) {
92
+ if (p.maplibreStore.showMaplibre && await this.resetMaplibreCamera()) {
89
93
  this.isRestoringFraming = !0;
90
94
  return;
91
95
  }
@@ -99,9 +103,9 @@ var O = 2e4, k = new (x = a({ keepAlive: !0 }), S = a({ keepAlive: !0 }), C = cl
99
103
  let e = await this.waitForMaplibreCameraPort();
100
104
  if (!e) return !1;
101
105
  let t = this.kiosk;
102
- (t == null ? void 0 : t.z) != null && f.fp.activateFloor({ name: String(t.z) });
106
+ (t == null ? void 0 : t.z) != null && p.fp.activateFloor({ name: String(t.z) });
103
107
  let n = y(t == null ? void 0 : t.mapCenterLng), r = y(t == null ? void 0 : t.mapCenterLat), i = y(t == null ? void 0 : t.mapZoom);
104
- return n === void 0 || r === void 0 || i === void 0 ? (e.resetPitch(), f.uiState.fitBounds(), !0) : (e.applyCameraState({
108
+ return n === void 0 || r === void 0 || i === void 0 ? (e.resetPitch(), p.uiState.fitBounds(), !0) : (e.applyCameraState({
105
109
  lng: n,
106
110
  lat: r,
107
111
  zoom: i,
@@ -110,7 +114,7 @@ var O = 2e4, k = new (x = a({ keepAlive: !0 }), S = a({ keepAlive: !0 }), C = cl
110
114
  }), !0);
111
115
  }
112
116
  async waitForMaplibreCameraPort() {
113
- let { maplibreStore: e } = f;
117
+ let { maplibreStore: e } = p;
114
118
  if (e.cameraPort) return e.cameraPort;
115
119
  try {
116
120
  await s(() => !!e.cameraPort || !e.showMaplibre, { timeout: O });
@@ -120,7 +124,7 @@ var O = 2e4, k = new (x = a({ keepAlive: !0 }), S = a({ keepAlive: !0 }), C = cl
120
124
  return e.cameraPort;
121
125
  }
122
126
  async resetPlanCamera() {
123
- let e = l();
127
+ let e = m();
124
128
  if (!e) return !1;
125
129
  let t = this.kiosk;
126
130
  await e.api.reset({
@@ -128,7 +132,7 @@ var O = 2e4, k = new (x = a({ keepAlive: !0 }), S = a({ keepAlive: !0 }), C = cl
128
132
  zoom: !0,
129
133
  roll: !0,
130
134
  pitch: !0
131
- }, { immediate: !0 }), (t == null ? void 0 : t.z) != null && f.fp.activateFloor({ name: String(t.z) });
135
+ }, { immediate: !0 }), (t == null ? void 0 : t.z) != null && p.fp.activateFloor({ name: String(t.z) });
132
136
  let n = b(t);
133
137
  n !== void 0 && await e.api.zoomBy(n, { immediate: !0 });
134
138
  let r = y(t == null ? void 0 : t.mapCenterX), i = y(t == null ? void 0 : t.mapCenterY);
@@ -142,57 +146,57 @@ var O = 2e4, k = new (x = a({ keepAlive: !0 }), S = a({ keepAlive: !0 }), C = cl
142
146
  return o !== void 0 && await e.api.pitchTo(o, { immediate: !0 }), !0;
143
147
  }
144
148
  restoreData() {
145
- let e = m();
146
- this.savedKiosk = e == null ? null : e, e && (this.setKiosk(e), f.uiState.kiosk = !0);
149
+ let e = f();
150
+ this.savedKiosk = e == null ? null : e, e && (this.setKiosk(e), p.uiState.kiosk = !0);
147
151
  }
148
152
  handleSetupReady() {
149
- this.restoreData(), f.uiState.kiosk = !0, f.uiState.hideFreeOrDemo = !0, f.uiState.setForceDim(!0), f.searchStore.setSearchText(""), f.searchStore.setFocused(!1), this.resetCamera();
153
+ this.restoreData(), p.uiState.kiosk = !0, p.uiState.hideFreeOrDemo = !0, p.uiState.setForceDim(!0), p.searchStore.setSearchText(""), p.searchStore.setFocused(!1), this.resetCamera();
150
154
  }
151
155
  handleClose() {
152
- g(f.uiState) && h(e()) || (f.uiState.kiosk = !1), f.uiState.restoreUIScale(), this.setKiosk(null), f.uiState.setForceDim(!1), f.uiState.enableSetKioskMode(!1), f.searchStore.closeSearch();
156
+ v(p.uiState) && _(t()) || (p.uiState.kiosk = !1), p.uiState.restoreUIScale(), this.setKiosk(null), p.uiState.setForceDim(!1), p.uiState.enableSetKioskMode(!1), p.searchStore.closeSearch();
153
157
  }
154
158
  handleDelete() {
155
- i && localStorage.getItem("expofp-kiosk") !== null && localStorage.getItem("kiosk") === "1" && localStorage.removeItem(t), p(), this.savedKiosk = null, this.setKiosk(null), f.uiState.resetMapSettings(), f.uiState.resetUIScale(), this.addStatusMessage({
159
+ n && localStorage.getItem("expofp-kiosk") !== null && localStorage.getItem("kiosk") === "1" && localStorage.removeItem(e), u(), this.savedKiosk = null, this.setKiosk(null), p.uiState.resetMapSettings(), p.uiState.resetUIScale(), this.addStatusMessage({
156
160
  variant: "success",
157
- title: o("Deleted")
161
+ title: r("Deleted")
158
162
  });
159
163
  }
160
164
  handleSave() {
161
- let e = v();
162
- if (!e) return;
163
- let n = c(this.kiosk);
164
- if (!n) return;
165
- let r = this.getCameraState(), a = {
166
- ...n,
167
- ...r
165
+ let t = g();
166
+ if (!t) return;
167
+ let i = o(this.kiosk);
168
+ if (!i) return;
169
+ let a = this.getCameraState(), s = {
170
+ ...i,
171
+ ...a
168
172
  };
169
- if (!e.isVisible({
170
- x: a.x,
171
- y: a.y
173
+ if (!t.isVisible({
174
+ x: s.x,
175
+ y: s.y
172
176
  })) {
173
177
  this.addStatusMessage({
174
178
  variant: "error",
175
- title: o("Kiosk not visible")
179
+ title: r("Kiosk not visible")
176
180
  });
177
181
  return;
178
182
  }
179
- this.setKiosk(a), d(a), i && localStorage.setItem(t, "1"), _(a, "https://app.expofp.com/"), f.uiState.setUIScale(a.uiScale, !0), this.addStatusMessage({
183
+ this.setKiosk(s), l(s), n && localStorage.setItem(e, "1"), d(s, "https://app.expofp.com/"), p.uiState.setUIScale(s.uiScale, !0), this.addStatusMessage({
180
184
  variant: "success",
181
- title: o("Saved")
182
- }), this.savedKiosk = a;
185
+ title: r("Saved")
186
+ }), this.savedKiosk = s;
183
187
  }
184
188
  delayChange(e) {
185
189
  requestAnimationFrame(() => e == null ? void 0 : e());
186
190
  }
187
191
  handleChange(e) {
188
- let t = c(this.kiosk);
192
+ let t = o(this.kiosk);
189
193
  t && (Number.isFinite(e.angle) && this.setKiosk({
190
194
  ...t,
191
195
  heading: e.angle
192
196
  }), Number.isFinite(e.scale) && (this.setKiosk({
193
197
  ...t,
194
198
  uiScale: e.scale
195
- }), this.delayChange(() => f.uiState.setUIScale(e.scale, !1))), Number.isFinite(e.percent) && this.setKiosk({
199
+ }), this.delayChange(() => p.uiState.setUIScale(e.scale, !1))), Number.isFinite(e.percent) && this.setKiosk({
196
200
  ...t,
197
201
  iconSizePercent: e.percent
198
202
  }));
@@ -200,7 +204,7 @@ var O = 2e4, k = new (x = a({ keepAlive: !0 }), S = a({ keepAlive: !0 }), C = cl
200
204
  setInitialPtScale(e) {
201
205
  if (this.initialPtScale) return;
202
206
  this.initialPtScale = e;
203
- let t = c(this.kiosk);
207
+ let t = o(this.kiosk);
204
208
  t && this.setKiosk({
205
209
  ...t,
206
210
  mapInitialPtScale: e
@@ -208,13 +212,13 @@ var O = 2e4, k = new (x = a({ keepAlive: !0 }), S = a({ keepAlive: !0 }), C = cl
208
212
  }
209
213
  handleClick(e) {
210
214
  var t, n;
211
- let r = c(this.kiosk), i = f.fp.getFloors(), a = u() ? (t = (n = i.find((e) => e.active)) == null ? void 0 : n.name) == null ? null : t : null, o = f.uiState.uiScale;
215
+ let r = o(this.kiosk), i = p.fp.getFloors(), a = h() ? (t = (n = i.find((e) => e.active)) == null ? void 0 : n.name) == null ? null : t : null, s = p.uiState.uiScale;
212
216
  this.setKiosk({
213
217
  ...r,
214
218
  x: e.x,
215
219
  y: e.y,
216
220
  z: a,
217
- uiScale: (r == null ? void 0 : r.uiScale) || o,
221
+ uiScale: (r == null ? void 0 : r.uiScale) || s,
218
222
  heading: (r == null ? void 0 : r.heading) || 0,
219
223
  iconSizePercent: (r == null ? void 0 : r.iconSizePercent) || 100,
220
224
  ...this.getCameraState()
@@ -223,7 +227,7 @@ var O = 2e4, k = new (x = a({ keepAlive: !0 }), S = a({ keepAlive: !0 }), C = cl
223
227
  handleNavigationChange() {
224
228
  let e = this.isRestoringFraming;
225
229
  this.isRestoringFraming = !1;
226
- let t = c(this.kiosk);
230
+ let t = o(this.kiosk);
227
231
  if (!t) return;
228
232
  let n = this.getCameraState();
229
233
  this.setKiosk({
@@ -234,20 +238,20 @@ var O = 2e4, k = new (x = a({ keepAlive: !0 }), S = a({ keepAlive: !0 }), C = cl
234
238
  ...n
235
239
  });
236
240
  }
237
- }, D(C.prototype, "kiosk", [x], Object.getOwnPropertyDescriptor(C.prototype, "kiosk"), C.prototype), D(C.prototype, "setKiosk", [r], Object.getOwnPropertyDescriptor(C.prototype, "setKiosk"), C.prototype), w = D(C.prototype, "savedKiosk", [n], {
241
+ }, D(C.prototype, "kiosk", [x], Object.getOwnPropertyDescriptor(C.prototype, "kiosk"), C.prototype), D(C.prototype, "setKiosk", [c], Object.getOwnPropertyDescriptor(C.prototype, "setKiosk"), C.prototype), w = D(C.prototype, "savedKiosk", [a], {
238
242
  configurable: !0,
239
243
  enumerable: !0,
240
244
  writable: !0,
241
245
  initializer: function() {
242
246
  return null;
243
247
  }
244
- }), D(C.prototype, "hasUnsavedChanges", [S], Object.getOwnPropertyDescriptor(C.prototype, "hasUnsavedChanges"), C.prototype), T = D(C.prototype, "statusMessages", [n], {
248
+ }), D(C.prototype, "hasUnsavedChanges", [S], Object.getOwnPropertyDescriptor(C.prototype, "hasUnsavedChanges"), C.prototype), T = D(C.prototype, "statusMessages", [a], {
245
249
  configurable: !0,
246
250
  enumerable: !0,
247
251
  writable: !0,
248
252
  initializer: function() {
249
253
  return [];
250
254
  }
251
- }), D(C.prototype, "addStatusMessage", [r], Object.getOwnPropertyDescriptor(C.prototype, "addStatusMessage"), C.prototype), D(C.prototype, "clearStatusMessages", [r], Object.getOwnPropertyDescriptor(C.prototype, "clearStatusMessages"), C.prototype), D(C.prototype, "startCleanupMessages", [r], Object.getOwnPropertyDescriptor(C.prototype, "startCleanupMessages"), C.prototype), D(C.prototype, "resetCamera", [r], Object.getOwnPropertyDescriptor(C.prototype, "resetCamera"), C.prototype), D(C.prototype, "restoreData", [r], Object.getOwnPropertyDescriptor(C.prototype, "restoreData"), C.prototype), D(C.prototype, "handleSetupReady", [r], Object.getOwnPropertyDescriptor(C.prototype, "handleSetupReady"), C.prototype), D(C.prototype, "handleClose", [r], Object.getOwnPropertyDescriptor(C.prototype, "handleClose"), C.prototype), D(C.prototype, "handleDelete", [r], Object.getOwnPropertyDescriptor(C.prototype, "handleDelete"), C.prototype), D(C.prototype, "handleSave", [r], Object.getOwnPropertyDescriptor(C.prototype, "handleSave"), C.prototype), D(C.prototype, "handleChange", [r], Object.getOwnPropertyDescriptor(C.prototype, "handleChange"), C.prototype), D(C.prototype, "setInitialPtScale", [r], Object.getOwnPropertyDescriptor(C.prototype, "setInitialPtScale"), C.prototype), D(C.prototype, "handleClick", [r], Object.getOwnPropertyDescriptor(C.prototype, "handleClick"), C.prototype), D(C.prototype, "handleNavigationChange", [r], Object.getOwnPropertyDescriptor(C.prototype, "handleNavigationChange"), C.prototype), C)();
255
+ }), D(C.prototype, "addStatusMessage", [c], Object.getOwnPropertyDescriptor(C.prototype, "addStatusMessage"), C.prototype), D(C.prototype, "clearStatusMessages", [c], Object.getOwnPropertyDescriptor(C.prototype, "clearStatusMessages"), C.prototype), D(C.prototype, "startCleanupMessages", [c], Object.getOwnPropertyDescriptor(C.prototype, "startCleanupMessages"), C.prototype), D(C.prototype, "resetCamera", [c], Object.getOwnPropertyDescriptor(C.prototype, "resetCamera"), C.prototype), D(C.prototype, "restoreData", [c], Object.getOwnPropertyDescriptor(C.prototype, "restoreData"), C.prototype), D(C.prototype, "handleSetupReady", [c], Object.getOwnPropertyDescriptor(C.prototype, "handleSetupReady"), C.prototype), D(C.prototype, "handleClose", [c], Object.getOwnPropertyDescriptor(C.prototype, "handleClose"), C.prototype), D(C.prototype, "handleDelete", [c], Object.getOwnPropertyDescriptor(C.prototype, "handleDelete"), C.prototype), D(C.prototype, "handleSave", [c], Object.getOwnPropertyDescriptor(C.prototype, "handleSave"), C.prototype), D(C.prototype, "handleChange", [c], Object.getOwnPropertyDescriptor(C.prototype, "handleChange"), C.prototype), D(C.prototype, "setInitialPtScale", [c], Object.getOwnPropertyDescriptor(C.prototype, "setInitialPtScale"), C.prototype), D(C.prototype, "handleClick", [c], Object.getOwnPropertyDescriptor(C.prototype, "handleClick"), C.prototype), D(C.prototype, "handleNavigationChange", [c], Object.getOwnPropertyDescriptor(C.prototype, "handleNavigationChange"), C.prototype), C)();
252
256
  //#endregion
253
257
  export { k as t };