@expofp/floorplan 3.7.2 → 3.7.3

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 (70) hide show
  1. package/dist/browser/{CookieConsent-CkkD8OHp.js → CookieConsent-B9r34uCC.js} +8 -8
  2. package/dist/browser/{Debug-BrHTtyi7.js → Debug-DunksSNj.js} +9 -9
  3. package/dist/browser/{Demo-CSTu7D1l.js → Demo-891f5t9l.js} +9 -9
  4. package/dist/browser/{Free-AIxncv0_.js → Free-DVER8MHL.js} +11 -11
  5. package/dist/browser/{Gallery-DUrcB2Hy.js → Gallery-CyRq9QY2.js} +10 -10
  6. package/dist/browser/{GpsLoader-pgJ3wuc6.js → GpsLoader-9_3XrM1S.js} +22 -22
  7. package/dist/browser/{KioskStore-D5MdQYvR.js → KioskStore-BOSyfMyO.js} +44 -40
  8. package/dist/browser/{MaplibreAdapter-D4hkJUuG.js → MaplibreAdapter-C9a80Y5u.js} +325 -325
  9. package/dist/browser/{Modal-BmKq1A8F.js → Modal-DcLxiT8t.js} +10 -10
  10. package/dist/browser/{PermissionNotice-DxFR3SY4.js → PermissionNotice-DWddxvUt.js} +7 -7
  11. package/dist/browser/{SetKioskMode-C2BbFaaM.js → SetKioskMode-CgzKiK3y.js} +16 -16
  12. package/dist/browser/ShowKiosk-DRR5jjXM.js +26 -0
  13. package/dist/browser/{TouchHand-B7Gid0ls.js → TouchHand-B6PlZY3K.js} +4 -4
  14. package/dist/browser/{ViewerMenuPanel-CdYO6Ot1.js → ViewerMenuPanel-B46Uw94g.js} +21 -21
  15. package/dist/browser/{add-debug-secret-listener-Bc2yTTBY.js → add-debug-secret-listener-DprGe6C-.js} +1 -1
  16. package/dist/browser/{boolean-editor-aHLubje4.js → boolean-editor-CdhFegqG.js} +9 -9
  17. package/dist/browser/{bootIntercom-CqV4IGcS.js → bootIntercom-C2w8EmqK.js} +2 -2
  18. package/dist/browser/{browser-BDLTg20Y.js → browser-D4L-gjqm.js} +2 -2
  19. package/dist/browser/bundle.json +56 -56
  20. package/dist/browser/{classnames-ngmqxqQM.js → classnames-CDxP0X2-.js} +2 -2
  21. package/dist/browser/{client-sAA6D0bl.js → client-BUGY3NJ-.js} +4 -4
  22. package/dist/browser/{components-DxUnx2fx.js → components-C9eYt8L8.js} +1730 -1730
  23. package/dist/browser/{createWayfinding-BeI3-x8g.js → createWayfinding-B9PG8HXm.js} +406 -406
  24. package/dist/browser/{debug-overlay-hLm6UgxA.js → debug-overlay-DHL2Ipq8.js} +10 -10
  25. package/dist/browser/{debug-ui-DZ3tn3fo.js → debug-ui-BE-7wgWb.js} +6 -6
  26. package/dist/browser/{dist-B09t6czH.js → dist-BY2VkOah.js} +5 -5
  27. package/dist/browser/{dist-CRcolEwF.js → dist-C6qlzHIi.js} +6 -6
  28. package/dist/browser/{dist-RBsN5IVo.js → dist-DPH_nXx1.js} +3 -3
  29. package/dist/browser/{efp-debug-init-B5ItQkLj.js → efp-debug-init-YS7dfyN-.js} +2 -2
  30. package/dist/browser/{enum-editor-CUh-_kSv.js → enum-editor-D_zEjkiJ.js} +11 -11
  31. package/dist/browser/{event-not-found-DFg5mwbq.js → event-not-found-FYtE_1nu.js} +1 -1
  32. package/dist/browser/{exports-DbA4--a7.js → exports-Cjz1yZKk.js} +1 -1
  33. package/dist/browser/{favicon-ruW3WAVt.js → favicon-DrjHpzP4.js} +1 -1
  34. package/dist/browser/{fetch-retry.umd-CGE75NS5.js → fetch-retry.umd-Cid9TH8f.js} +2 -2
  35. package/dist/browser/{flex-Ompowu3M.js → flex-DeqbUH21.js} +5 -5
  36. package/dist/browser/{floorplan.loader-l2aNftbI.js → floorplan.loader-Bj-l8uDr.js} +36 -36
  37. package/dist/browser/{floorplan.ready-CI29paDM.js → floorplan.ready-ISdK-pOq.js} +304 -304
  38. package/dist/browser/{fuse-BEjRK6fK.js → fuse-DuhtQS_C.js} +2 -2
  39. package/dist/browser/{i18n-Cv7u46Kc.js → i18n-topUIylF.js} +3 -3
  40. package/dist/browser/index.js +11 -11
  41. package/dist/browser/{jsx-runtime-Cd-5cs8d.js → jsx-runtime-BqvudT0U.js} +2 -2
  42. package/dist/browser/{lib-CVT3RpU0.js → lib-Cs6Jo7Wv.js} +4 -4
  43. package/dist/browser/{main-B7rO04Ru.js → main-BEqsYQfj.js} +1 -1
  44. package/dist/browser/{mobx-CmXg9qBa.js → mobx-C5AHTMbx.js} +4 -4
  45. package/dist/browser/{particles.min-5m7QV5vA.js → particles.min-COvnIi42.js} +2 -2
  46. package/dist/browser/{prop-types-fzqk8XTC.js → prop-types-H1ekLSgm.js} +2 -2
  47. package/dist/browser/{react-68YGwxL1.js → react-CDj0nSIt.js} +2 -2
  48. package/dist/browser/{react-dom-CpUFygXt.js → react-dom-F1fx5UfT.js} +3 -3
  49. package/dist/browser/{reset-all-settings-6gkdxdE4.js → reset-all-settings-Dj1Hc9SL.js} +7 -7
  50. package/dist/browser/{rolldown-runtime-CBPdtkTI.js → rolldown-runtime-CJ4NSGHF.js} +1 -1
  51. package/dist/browser/{settings-vKSgvNe6.js → settings-bv5D0Jdx.js} +2 -2
  52. package/dist/browser/{settings-item-BkC5gNNZ.js → settings-item-BBkCXqTe.js} +6 -6
  53. package/dist/browser/{storage-CveWsSQC.js → storage-DQBS2cde.js} +10 -10
  54. package/dist/browser/{store-C9IczNWg.js → store-CG3Lvb_Y.js} +5837 -5821
  55. package/dist/browser/{string-editor-DxCmy8-a.js → string-editor-DWJwFIbn.js} +7 -7
  56. package/dist/browser/{theme-CD1xwI4C.js → theme-Bn3nZG-N.js} +8 -8
  57. package/dist/browser/{ui-CAdbLhWa.js → ui-B_JKKY6c.js} +8 -8
  58. package/dist/browser/{useRenderTarget-CHkfvzge.js → useRenderTarget-cPhKH67H.js} +4 -4
  59. package/dist/esm/components/Kiosk/KioskStore.d.ts +8 -7
  60. package/dist/esm/components/Kiosk/KioskStore.js +1 -1
  61. package/dist/esm/components/Kiosk/SetKiosk/constants.d.ts +1 -0
  62. package/dist/esm/components/Kiosk/SetKiosk/constants.js +1 -1
  63. package/dist/esm/components/Kiosk/SetKiosk/types.d.ts +1 -1
  64. package/dist/esm/components/Kiosk/kioskApi.d.ts +4 -0
  65. package/dist/esm/components/Kiosk/kioskApi.js +1 -0
  66. package/dist/esm/tools/track-event.js +1 -1
  67. package/package.json +3 -3
  68. package/dist/browser/ShowKiosk-9IO_9oCi.js +0 -26
  69. package/dist/esm/components/Kiosk/requestKioskKey.d.ts +0 -3
  70. package/dist/esm/components/Kiosk/requestKioskKey.js +0 -1
@@ -1,17 +1,17 @@
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.7.2" };
4
+ e.SENTRY_RELEASE = { id: "3.7.3" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d386aa57-4584-435d-8447-ff72413856bc", e._sentryDebugIdIdentifier = "sentry-dbid-d386aa57-4584-435d-8447-ff72413856bc");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3adc265b-0c67-4b60-b192-d6e82d7b42b1", e._sentryDebugIdIdentifier = "sentry-dbid-3adc265b-0c67-4b60-b192-d6e82d7b42b1");
7
7
  } catch {}
8
8
  })();
9
- import { n as e } from "./rolldown-runtime-CBPdtkTI.js";
10
- import { t } from "./react-68YGwxL1.js";
11
- import { t as n } from "./jsx-runtime-Cd-5cs8d.js";
12
- import { s as r } from "./i18n-Cv7u46Kc.js";
13
- import { un as i } from "./store-C9IczNWg.js";
14
- import { t as a } from "./PermissionNotice-DxFR3SY4.js";
9
+ import { n as e } from "./rolldown-runtime-CJ4NSGHF.js";
10
+ import { t } from "./react-CDj0nSIt.js";
11
+ import { t as n } from "./jsx-runtime-BqvudT0U.js";
12
+ import { s as r } from "./i18n-topUIylF.js";
13
+ import { dn as i } from "./store-CG3Lvb_Y.js";
14
+ import { t as a } from "./PermissionNotice-DWddxvUt.js";
15
15
  //#region src/components/CookieConsent.tsx
16
16
  var o = /* @__PURE__ */ e({ default: () => c });
17
17
  t();
@@ -2,16 +2,16 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.7.2" };
5
+ e.SENTRY_RELEASE = { id: "3.7.3" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7bf6e91e-38c7-4eff-b5b0-74bc64f867a7", e._sentryDebugIdIdentifier = "sentry-dbid-7bf6e91e-38c7-4eff-b5b0-74bc64f867a7");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7fec9db8-ee3f-4eda-bc80-cbe116687b37", e._sentryDebugIdIdentifier = "sentry-dbid-7fec9db8-ee3f-4eda-bc80-cbe116687b37");
8
8
  } catch {}
9
9
  })();
10
- import "./rolldown-runtime-CBPdtkTI.js";
11
- import { t as e } from "./react-68YGwxL1.js";
12
- import { t } from "./jsx-runtime-Cd-5cs8d.js";
13
- import { s as n } from "./i18n-Cv7u46Kc.js";
14
- import { fn as r, o as i, s as a } from "./store-C9IczNWg.js";
10
+ import "./rolldown-runtime-CJ4NSGHF.js";
11
+ import { t as e } from "./react-CDj0nSIt.js";
12
+ import { t } from "./jsx-runtime-BqvudT0U.js";
13
+ import { s as n } from "./i18n-topUIylF.js";
14
+ import { o as r, pn as i, s as a } from "./store-CG3Lvb_Y.js";
15
15
  e();
16
16
  var o = [], s = t();
17
17
  function c() {
@@ -36,7 +36,7 @@ function c() {
36
36
  className: "debug",
37
37
  children: [
38
38
  /* @__PURE__ */ (0, s.jsx)("button", {
39
- onClick: () => i.searchStore.selectSearch(""),
39
+ onClick: () => r.searchStore.selectSearch(""),
40
40
  children: n("Close")
41
41
  }),
42
42
  /* @__PURE__ */ (0, s.jsxs)("div", { children: ["Total square: ", e] }),
@@ -44,7 +44,7 @@ function c() {
44
44
  ]
45
45
  });
46
46
  }
47
- var l = () => r(() => /* @__PURE__ */ (0, s.jsx)(s.Fragment, { children: a.list.type === "search" && a.list.text === "q1" ? /* @__PURE__ */ (0, s.jsx)(c, {}) : null }));
47
+ var l = () => i(() => /* @__PURE__ */ (0, s.jsx)(s.Fragment, { children: a.list.type === "search" && a.list.text === "q1" ? /* @__PURE__ */ (0, s.jsx)(c, {}) : null }));
48
48
  //#endregion
49
49
  export { l as default };
50
50
 
@@ -2,18 +2,18 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.7.2" };
5
+ e.SENTRY_RELEASE = { id: "3.7.3" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2037404f-a45d-4057-a162-c98b164c6d38", e._sentryDebugIdIdentifier = "sentry-dbid-2037404f-a45d-4057-a162-c98b164c6d38");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5ddd5991-3454-4672-a224-a79c80de788b", e._sentryDebugIdIdentifier = "sentry-dbid-5ddd5991-3454-4672-a224-a79c80de788b");
8
8
  } catch {}
9
9
  })();
10
- import { n as e, r as t } from "./rolldown-runtime-CBPdtkTI.js";
11
- import { t as n } from "./react-68YGwxL1.js";
12
- import { t as r } from "./jsx-runtime-Cd-5cs8d.js";
13
- import { s as i } from "./i18n-Cv7u46Kc.js";
14
- import { t as a } from "./classnames-ngmqxqQM.js";
15
- import { dn as o, fn as s, s as c } from "./store-C9IczNWg.js";
16
- import { n as l } from "./mobx-CmXg9qBa.js";
10
+ import { n as e, r as t } from "./rolldown-runtime-CJ4NSGHF.js";
11
+ import { t as n } from "./react-CDj0nSIt.js";
12
+ import { t as r } from "./jsx-runtime-BqvudT0U.js";
13
+ import { s as i } from "./i18n-topUIylF.js";
14
+ import { t as a } from "./classnames-CDxP0X2-.js";
15
+ import { fn as o, pn as s, s as c } from "./store-CG3Lvb_Y.js";
16
+ import { n as l } from "./mobx-C5AHTMbx.js";
17
17
  n();
18
18
  var u = /* @__PURE__ */ t(a(), 1), d = /* @__PURE__ */ e({ default: () => m }), f = r(), p = "note-dismissed5";
19
19
  function m() {
@@ -2,18 +2,18 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.7.2" };
5
+ e.SENTRY_RELEASE = { id: "3.7.3" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "479b63b2-4817-45ef-a72d-6bbda9bbf43b", e._sentryDebugIdIdentifier = "sentry-dbid-479b63b2-4817-45ef-a72d-6bbda9bbf43b");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "1c804d88-814d-4837-be52-7fc1d5bc4ec0", e._sentryDebugIdIdentifier = "sentry-dbid-1c804d88-814d-4837-be52-7fc1d5bc4ec0");
8
8
  } catch {}
9
9
  })();
10
- import { r as e } from "./rolldown-runtime-CBPdtkTI.js";
11
- import { t } from "./react-68YGwxL1.js";
12
- import { t as n } from "./jsx-runtime-Cd-5cs8d.js";
13
- import { s as r } from "./i18n-Cv7u46Kc.js";
14
- import { t as i } from "./classnames-ngmqxqQM.js";
15
- import { dn as a, fn as o, l as s, s as c, u as l } from "./store-C9IczNWg.js";
16
- import { n as u } from "./mobx-CmXg9qBa.js";
10
+ import { r as e } from "./rolldown-runtime-CJ4NSGHF.js";
11
+ import { t } from "./react-CDj0nSIt.js";
12
+ import { t as n } from "./jsx-runtime-BqvudT0U.js";
13
+ import { s as r } from "./i18n-topUIylF.js";
14
+ import { t as i } from "./classnames-CDxP0X2-.js";
15
+ import { fn as a, l as o, pn as s, s as c, u as l } from "./store-CG3Lvb_Y.js";
16
+ import { n as u } from "./mobx-C5AHTMbx.js";
17
17
  t();
18
18
  var d = /* @__PURE__ */ e(i(), 1), f = n();
19
19
  function p() {
@@ -27,7 +27,7 @@ function p() {
27
27
  c.freeBannerDismissed || window.setTimeout(() => {
28
28
  e.hidden = !1;
29
29
  }, 2e3);
30
- }), o(() => /* @__PURE__ */ (0, f.jsx)("div", {
30
+ }), s(() => /* @__PURE__ */ (0, f.jsx)("div", {
31
31
  className: e.classes,
32
32
  children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
33
33
  className: "free__message",
@@ -35,7 +35,7 @@ function p() {
35
35
  r("Create a free floor plan at"),
36
36
  "\xA0",
37
37
  /* @__PURE__ */ (0, f.jsx)("a", {
38
- href: s(),
38
+ href: o(),
39
39
  target: "_blank",
40
40
  rel: "noopener noreferrer",
41
41
  children: "ExpoFP.com"
@@ -2,19 +2,19 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.7.2" };
5
+ e.SENTRY_RELEASE = { id: "3.7.3" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8b7c8771-998d-4226-943f-68437b85782b", e._sentryDebugIdIdentifier = "sentry-dbid-8b7c8771-998d-4226-943f-68437b85782b");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5dc20e5c-1b09-4e93-807f-57ef913834f4", e._sentryDebugIdIdentifier = "sentry-dbid-5dc20e5c-1b09-4e93-807f-57ef913834f4");
8
8
  } catch {}
9
9
  })();
10
- import { n as e, r as t } from "./rolldown-runtime-CBPdtkTI.js";
11
- import { t as n } from "./react-68YGwxL1.js";
12
- import { t as r } from "./jsx-runtime-Cd-5cs8d.js";
13
- import { s as i } from "./i18n-Cv7u46Kc.js";
14
- import { t as a } from "./react-dom-CpUFygXt.js";
15
- import { t as o } from "./classnames-ngmqxqQM.js";
16
- import { un as s } from "./store-C9IczNWg.js";
17
- import { t as c } from "./useRenderTarget-CHkfvzge.js";
10
+ import { n as e, r as t } from "./rolldown-runtime-CJ4NSGHF.js";
11
+ import { t as n } from "./react-CDj0nSIt.js";
12
+ import { t as r } from "./jsx-runtime-BqvudT0U.js";
13
+ import { s as i } from "./i18n-topUIylF.js";
14
+ import { t as a } from "./react-dom-F1fx5UfT.js";
15
+ import { t as o } from "./classnames-CDxP0X2-.js";
16
+ import { dn as s } from "./store-CG3Lvb_Y.js";
17
+ import { t as c } from "./useRenderTarget-cPhKH67H.js";
18
18
  //#region src/components/Gallery/GalleryBadges/GalleryBadges.tsx
19
19
  var l = /* @__PURE__ */ t(o(), 1), u = /* @__PURE__ */ t(n(), 1), d = r(), f = ({ count: e, onFullscreen: t }) => /* @__PURE__ */ (0, d.jsxs)(d.Fragment, { children: [/* @__PURE__ */ (0, d.jsxs)("div", {
20
20
  className: "gallery__badge gallery__badge-count",
@@ -1,31 +1,31 @@
1
1
  (function() {
2
2
  try {
3
3
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.7.2" };
4
+ e.SENTRY_RELEASE = { id: "3.7.3" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "02c769e5-0987-4eac-9440-869513ec1964", e._sentryDebugIdIdentifier = "sentry-dbid-02c769e5-0987-4eac-9440-869513ec1964");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "788edd4a-39a3-4915-9834-e45fc11e7e68", e._sentryDebugIdIdentifier = "sentry-dbid-788edd4a-39a3-4915-9834-e45fc11e7e68");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-CBPdtkTI.js";
10
- import { t } from "./react-68YGwxL1.js";
11
- import { t as n } from "./jsx-runtime-Cd-5cs8d.js";
12
- import { ct as r, q as i, s as a } from "./i18n-Cv7u46Kc.js";
13
- import { E as o, Et as s, lt as c, o as l, un as u } from "./store-C9IczNWg.js";
14
- import { t as d } from "./PermissionNotice-DxFR3SY4.js";
15
- import { r as f } from "./mobx-CmXg9qBa.js";
9
+ import { r as e } from "./rolldown-runtime-CJ4NSGHF.js";
10
+ import { t } from "./react-CDj0nSIt.js";
11
+ import { t as n } from "./jsx-runtime-BqvudT0U.js";
12
+ import { ct as r, q as i, s as a } from "./i18n-topUIylF.js";
13
+ import { Dt as o, E as s, dn as c, o as l, ot as u } from "./store-CG3Lvb_Y.js";
14
+ import { t as d } from "./PermissionNotice-DWddxvUt.js";
15
+ import { r as f } from "./mobx-C5AHTMbx.js";
16
16
  //#region src/components/gps/utils.ts
17
17
  var p = /* @__PURE__ */ e(t(), 1);
18
18
  function m(e) {
19
19
  return Math.floor(e);
20
20
  }
21
21
  function h(e, t) {
22
- return c(e.lat, e.lng, t.lat, t.lng) >= 3 ? !0 : e.heading !== t.heading;
22
+ return u(e.lat, e.lng, t.lat, t.lng) >= 3 ? !0 : e.heading !== t.heading;
23
23
  }
24
24
  //#endregion
25
25
  //#region src/components/gps/useUserLocationAndHeading.ts
26
26
  var g = 120, _ = 3e3, v = 360;
27
27
  function y(e) {
28
- let t = (0, p.useRef)(null), n = (0, p.useRef)(null), i = (0, p.useRef)(0), a = (0, p.useRef)(null), o = (0, p.useRef)(!1), s = (0, p.useRef)(null), l = (0, p.useRef)(!1), u = (0, p.useRef)(null), d = (t) => e(t), f = (e) => {
28
+ let t = (0, p.useRef)(null), n = (0, p.useRef)(null), i = (0, p.useRef)(0), a = (0, p.useRef)(null), o = (0, p.useRef)(!1), s = (0, p.useRef)(null), c = (0, p.useRef)(!1), l = (0, p.useRef)(null), d = (t) => e(t), f = (e) => {
29
29
  let t = Date.now();
30
30
  if (t - i.current < g) return;
31
31
  let n = a.current;
@@ -33,11 +33,11 @@ function y(e) {
33
33
  s.current = e, i.current = t, a.current = e, d(e);
34
34
  return;
35
35
  }
36
- let r = c(s.current.lat, s.current.lng, e.lat, e.lng), o;
37
- l.current ? r <= 3 ? (l.current = !1, s.current = e, o = {
36
+ let r = u(s.current.lat, s.current.lng, e.lat, e.lng), o;
37
+ c.current ? r <= 3 ? (c.current = !1, s.current = e, o = {
38
38
  ...s.current,
39
39
  heading: e.heading
40
- }) : (s.current = e, o = e) : r >= 3 ? (l.current = !0, s.current = e, u.current = null, o = e) : (u.current == null && (u.current = t), t - u.current > _ && (s.current = e), o = {
40
+ }) : (s.current = e, o = e) : r >= 3 ? (c.current = !0, s.current = e, l.current = null, o = e) : (l.current == null && (l.current = t), t - l.current > _ && (s.current = e), o = {
41
41
  ...s.current,
42
42
  heading: e.heading
43
43
  }), !(n && !h(n, o)) && (i.current = t, a.current = o, d(o));
@@ -68,7 +68,7 @@ function y(e) {
68
68
  o.current || (o.current = !0, window.addEventListener("deviceorientation", y, !0));
69
69
  },
70
70
  stopGeolocation: () => {
71
- t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), s.current = null, l.current = !1;
71
+ t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), s.current = null, c.current = !1;
72
72
  },
73
73
  stopOrientation: () => {
74
74
  o.current = !1, window.removeEventListener("deviceorientation", y, !0);
@@ -77,7 +77,7 @@ function y(e) {
77
77
  }
78
78
  //#endregion
79
79
  //#region src/components/gps/GpsPermissionRequest.tsx
80
- var b = n(), x = u(function({ isOpen: e, onAllow: t, onCancel: n }) {
80
+ var b = n(), x = c(function({ isOpen: e, onAllow: t, onCancel: n }) {
81
81
  return e ? /* @__PURE__ */ (0, b.jsx)(d, {
82
82
  title: a("Show your position on the map"),
83
83
  acceptText: a("Allow compass access"),
@@ -89,7 +89,7 @@ var b = n(), x = u(function({ isOpen: e, onAllow: t, onCancel: n }) {
89
89
  });
90
90
  //#endregion
91
91
  //#region src/components/gps/GpsManager.tsx
92
- function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: i = "compass-permission-granted", requestCompass: a = !0, requestCompassAllowed: o = !0 }) {
92
+ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: i = "compass-permission-granted", requestCompass: a = !0, requestCompassAllowed: s = !0 }) {
93
93
  let { startOrientation: c, startGeolocation: l, stopOrientation: u, stopGeolocation: d } = y(e), [f, m] = (0, p.useState)(!1), [h, g] = (0, p.useState)(!1);
94
94
  (0, p.useEffect)(() => (navigator.geolocation.getCurrentPosition(() => {
95
95
  m(!0), l();
@@ -108,7 +108,7 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
108
108
  localStorage.setItem(i, "false"), g(!1), n == null || n();
109
109
  }, [n]);
110
110
  return (0, p.useEffect)(() => {
111
- if (!f || !o || typeof navigator > "u" || !s) return;
111
+ if (!f || !s || typeof navigator > "u" || !o) return;
112
112
  let e = localStorage.getItem(i);
113
113
  if (!e || a) {
114
114
  g(!0);
@@ -118,7 +118,7 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
118
118
  }, [
119
119
  f,
120
120
  a,
121
- o,
121
+ s,
122
122
  _
123
123
  ]), /* @__PURE__ */ (0, b.jsx)(x, {
124
124
  isOpen: h,
@@ -130,10 +130,10 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
130
130
  //#region src/components/GpsLoader.tsx
131
131
  function C({ requestCompassAllowed: e }) {
132
132
  let [t, n] = (0, p.useState)(!1), r = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
133
- l.routeStore.selectCurrentPosition(new o(0, 0, 0, n || r, e, t), !1);
133
+ l.routeStore.selectCurrentPosition(new s(0, 0, 0, n || r, e, t), !1);
134
134
  }, []), a = (0, p.useCallback)(() => {
135
135
  l.routeStore.requestCompass = void 0, n(!1);
136
- }, [n]), s = (0, p.useCallback)(() => {
136
+ }, [n]), o = (0, p.useCallback)(() => {
137
137
  l.routeStore.requestCompass = void 0, n(!1);
138
138
  }, [n]);
139
139
  return f(() => l.uiState.hideCookieConsent, (e) => {
@@ -144,7 +144,7 @@ function C({ requestCompassAllowed: e }) {
144
144
  requestCompass: t,
145
145
  requestCompassAllowed: e,
146
146
  onRejectCompass: a,
147
- onAllowCompass: s,
147
+ onAllowCompass: o,
148
148
  orientationStorageKey: i,
149
149
  onPositionUpdate: r
150
150
  });
@@ -1,16 +1,16 @@
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.7.2" };
4
+ e.SENTRY_RELEASE = { id: "3.7.3" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ccf808b6-ff9f-4734-92d3-9480d3cb638c", e._sentryDebugIdIdentifier = "sentry-dbid-ccf808b6-ff9f-4734-92d3-9480d3cb638c");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2924b441-d9e8-4166-baf3-75b1efedf545", e._sentryDebugIdIdentifier = "sentry-dbid-2924b441-d9e8-4166-baf3-75b1efedf545");
7
7
  } catch {}
8
8
  })();
9
- import { n as e, r as t, t as n } from "./storage-CveWsSQC.js";
10
- import { b as r, g as i, p as a, s as o, u as s, v as c } from "./i18n-Cv7u46Kc.js";
11
- import { Rt as l, o as u, yt as d } from "./store-C9IczNWg.js";
9
+ import { n as e, r as t, t as n } from "./storage-DQBS2cde.js";
10
+ import { b as r, g as i, p as a, s as o, u as s, v as c } from "./i18n-topUIylF.js";
11
+ import { bt as l, o as u, pt as d, zt as f } from "./store-CG3Lvb_Y.js";
12
12
  //#region src/components/Map/pointInConvexQuad.ts
13
- function f(e, t) {
13
+ function p(e, t) {
14
14
  let n = 0;
15
15
  for (let r = 0; r < 4; r++) {
16
16
  let i = t[r], a = t[(r + 1) % 4], o = (a.x - i.x) * (e.y - i.y) - (a.y - i.y) * (e.x - i.x);
@@ -24,17 +24,17 @@ function f(e, t) {
24
24
  }
25
25
  //#endregion
26
26
  //#region src/components/Map/visibleArea.ts
27
- function p(e) {
28
- let t = l(e.viewport.canvasToSvg({
27
+ function m(e) {
28
+ let t = f(e.viewport.canvasToSvg({
29
29
  x: 0,
30
30
  y: 0
31
- })), n = l(e.viewport.canvasToSvg({
31
+ })), n = f(e.viewport.canvasToSvg({
32
32
  x: e.canvas.clientWidth,
33
33
  y: 0
34
- })), r = l(e.viewport.canvasToSvg({
34
+ })), r = f(e.viewport.canvasToSvg({
35
35
  x: 0,
36
36
  y: e.canvas.clientHeight
37
- })), i = l(e.viewport.canvasToSvg({
37
+ })), i = f(e.viewport.canvasToSvg({
38
38
  x: e.canvas.clientWidth,
39
39
  y: e.canvas.clientHeight
40
40
  })), a = Math.min(t.x, n.x, r.x, i.x), o = Math.max(t.x, n.x, r.x, i.x), s = Math.min(t.y, n.y, r.y, i.y), c = Math.max(t.y, n.y, r.y, i.y);
@@ -59,13 +59,13 @@ function p(e) {
59
59
  ]
60
60
  };
61
61
  }
62
- function m(e, t) {
63
- return f(t, p(e).corners);
62
+ function h(e, t) {
63
+ return p(t, m(e).corners);
64
64
  }
65
65
  //#endregion
66
66
  //#region src/components/Kiosk/KioskStore.ts
67
- var h, g, _;
68
- function v(e, t, n, r) {
67
+ var g, _, v, y, b, x;
68
+ function S(e, t, n, r) {
69
69
  n && Object.defineProperty(e, t, {
70
70
  enumerable: n.enumerable,
71
71
  configurable: n.configurable,
@@ -73,7 +73,7 @@ function v(e, t, n, r) {
73
73
  value: n.initializer ? n.initializer.call(r) : void 0
74
74
  });
75
75
  }
76
- function y(e, t, n, r, i) {
76
+ function C(e, t, n, r, i) {
77
77
  var a = {};
78
78
  return Object.keys(r).forEach(function(e) {
79
79
  a[e] = r[e];
@@ -81,9 +81,9 @@ function y(e, t, n, r, i) {
81
81
  return r(e, t, n) || n;
82
82
  }, 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;
83
83
  }
84
- var b = new (h = class {
84
+ var w = new (g = a({ keepAlive: !0 }), _ = a({ keepAlive: !0 }), v = a({ keepAlive: !0 }), y = class {
85
85
  constructor() {
86
- v(this, "savedKiosk", g, this), v(this, "statusMessages", _, this), this.statusMessageTimer = 0, this.initialPtScale = void 0;
86
+ S(this, "savedKiosk", b, this), S(this, "statusMessages", x, this), this.statusMessageTimer = 0, this.initialPtScale = void 0;
87
87
  }
88
88
  get kiosk() {
89
89
  return u.uiState.kioskData;
@@ -126,15 +126,15 @@ var b = new (h = class {
126
126
  clearTimeout(this.statusMessageTimer), this.statusMessageTimer = window.setTimeout(() => this.clearStatusMessages(), 1e3);
127
127
  }
128
128
  async resetCamera() {
129
- let { z: e, mapRollDegrees: t, mapInitialPtScale: n, mapPtScale: r, mapCenterX: i, mapCenterY: a } = this.kiosk || {};
130
- await this.renderer.controls.resetCamera({
129
+ let { z: e, mapRollDegrees: t, mapInitialPtScale: n, mapPtScale: r, mapCenterX: i, mapCenterY: a } = this.kiosk || {}, o = this.renderer;
130
+ o && (await o.controls.resetCamera({
131
131
  pan: !0,
132
132
  zoom: !0,
133
133
  roll: !0,
134
134
  pitch: !0
135
135
  }, !0), c(() => {
136
- Number.isFinite(n) && Number.isFinite(r) && r > 0 && this.renderer.controls.zoomBy(n / r, !0), Number.isFinite(i) && Number.isFinite(a) && this.renderer.controls.panTo(i, a, !0), Number.isFinite(t) && this.renderer.controls.rollTo(t, !0), e && u.fp.activateFloor({ name: e });
137
- });
136
+ Number.isFinite(n) && Number.isFinite(r) && r > 0 && o.controls.zoomBy(n / r, !0), Number.isFinite(i) && Number.isFinite(a) && o.controls.panTo(i, a, !0), Number.isFinite(t) && o.controls.rollTo(t, !0), e && u.fp.activateFloor({ name: e });
137
+ }));
138
138
  }
139
139
  restoreData() {
140
140
  let e = n();
@@ -153,21 +153,23 @@ var b = new (h = class {
153
153
  });
154
154
  }
155
155
  handleSave() {
156
- let e = r(this.kiosk), n = this.getCameraState(), i = {
157
- ...e,
158
- ...n
156
+ let e = this.renderer;
157
+ if (!e) return;
158
+ let n = r(this.kiosk), i = this.getCameraState(), a = {
159
+ ...n,
160
+ ...i
159
161
  };
160
- if (!m(this.renderer, i)) {
162
+ if (!h(e, a)) {
161
163
  this.addStatusMessage({
162
164
  variant: "error",
163
165
  title: o("Kiosk not visible")
164
166
  });
165
167
  return;
166
168
  }
167
- this.setKiosk(i), t(i), u.uiState.setUIScale(i.uiScale, !0), this.addStatusMessage({
169
+ this.setKiosk(a), t(a), d(a, "https://app.expofp.com/"), u.uiState.setUIScale(a.uiScale, !0), this.addStatusMessage({
168
170
  variant: "success",
169
171
  title: o("Saved")
170
- }), this.savedKiosk = i;
172
+ }), this.savedKiosk = a;
171
173
  }
172
174
  delayChange(e) {
173
175
  requestAnimationFrame(() => e == null ? void 0 : e());
@@ -195,16 +197,16 @@ var b = new (h = class {
195
197
  });
196
198
  }
197
199
  handleClick(e) {
198
- var t;
199
- let n = r(this.kiosk), i = u.fp.getFloors(), a = d() ? (t = i.find((e) => e.active)) == null ? void 0 : t.name : null, o = u.uiState.uiScale;
200
+ var t, n;
201
+ let i = r(this.kiosk), a = u.fp.getFloors(), o = l() ? (t = (n = a.find((e) => e.active)) == null ? void 0 : n.name) == null ? null : t : null, s = u.uiState.uiScale;
200
202
  this.setKiosk({
201
- ...n,
203
+ ...i,
202
204
  x: e.x,
203
205
  y: e.y,
204
- z: a,
205
- uiScale: (n == null ? void 0 : n.uiScale) || o,
206
- heading: (n == null ? void 0 : n.heading) || 0,
207
- iconSizePercent: (n == null ? void 0 : n.iconSizePercent) || 100,
206
+ z: o,
207
+ uiScale: (i == null ? void 0 : i.uiScale) || s,
208
+ heading: (i == null ? void 0 : i.heading) || 0,
209
+ iconSizePercent: (i == null ? void 0 : i.iconSizePercent) || 100,
208
210
  ...this.getCameraState()
209
211
  });
210
212
  }
@@ -215,18 +217,20 @@ var b = new (h = class {
215
217
  ...this.getCameraState()
216
218
  });
217
219
  }
218
- }, y(h.prototype, "kiosk", [a], Object.getOwnPropertyDescriptor(h.prototype, "kiosk"), h.prototype), y(h.prototype, "setKiosk", [s], Object.getOwnPropertyDescriptor(h.prototype, "setKiosk"), h.prototype), y(h.prototype, "renderer", [a], Object.getOwnPropertyDescriptor(h.prototype, "renderer"), h.prototype), g = y(h.prototype, "savedKiosk", [i], {
220
+ }, C(y.prototype, "kiosk", [g], Object.getOwnPropertyDescriptor(y.prototype, "kiosk"), y.prototype), C(y.prototype, "setKiosk", [s], Object.getOwnPropertyDescriptor(y.prototype, "setKiosk"), y.prototype), C(y.prototype, "renderer", [_], Object.getOwnPropertyDescriptor(y.prototype, "renderer"), y.prototype), b = C(y.prototype, "savedKiosk", [i], {
219
221
  configurable: !0,
220
222
  enumerable: !0,
221
223
  writable: !0,
222
- initializer: null
223
- }), y(h.prototype, "hasUnsavedChanges", [a], Object.getOwnPropertyDescriptor(h.prototype, "hasUnsavedChanges"), h.prototype), _ = y(h.prototype, "statusMessages", [i], {
224
+ initializer: function() {
225
+ return null;
226
+ }
227
+ }), C(y.prototype, "hasUnsavedChanges", [v], Object.getOwnPropertyDescriptor(y.prototype, "hasUnsavedChanges"), y.prototype), x = C(y.prototype, "statusMessages", [i], {
224
228
  configurable: !0,
225
229
  enumerable: !0,
226
230
  writable: !0,
227
231
  initializer: function() {
228
232
  return [];
229
233
  }
230
- }), y(h.prototype, "addStatusMessage", [s], Object.getOwnPropertyDescriptor(h.prototype, "addStatusMessage"), h.prototype), y(h.prototype, "clearStatusMessages", [s], Object.getOwnPropertyDescriptor(h.prototype, "clearStatusMessages"), h.prototype), y(h.prototype, "startCleanupMessages", [s], Object.getOwnPropertyDescriptor(h.prototype, "startCleanupMessages"), h.prototype), y(h.prototype, "resetCamera", [s], Object.getOwnPropertyDescriptor(h.prototype, "resetCamera"), h.prototype), y(h.prototype, "restoreData", [s], Object.getOwnPropertyDescriptor(h.prototype, "restoreData"), h.prototype), y(h.prototype, "handleSetupReady", [s], Object.getOwnPropertyDescriptor(h.prototype, "handleSetupReady"), h.prototype), y(h.prototype, "handleClose", [s], Object.getOwnPropertyDescriptor(h.prototype, "handleClose"), h.prototype), y(h.prototype, "handleDelete", [s], Object.getOwnPropertyDescriptor(h.prototype, "handleDelete"), h.prototype), y(h.prototype, "handleSave", [s], Object.getOwnPropertyDescriptor(h.prototype, "handleSave"), h.prototype), y(h.prototype, "handleChange", [s], Object.getOwnPropertyDescriptor(h.prototype, "handleChange"), h.prototype), y(h.prototype, "setInitialPtScale", [s], Object.getOwnPropertyDescriptor(h.prototype, "setInitialPtScale"), h.prototype), y(h.prototype, "handleClick", [s], Object.getOwnPropertyDescriptor(h.prototype, "handleClick"), h.prototype), y(h.prototype, "handleNavigationChange", [s], Object.getOwnPropertyDescriptor(h.prototype, "handleNavigationChange"), h.prototype), h)();
234
+ }), C(y.prototype, "addStatusMessage", [s], Object.getOwnPropertyDescriptor(y.prototype, "addStatusMessage"), y.prototype), C(y.prototype, "clearStatusMessages", [s], Object.getOwnPropertyDescriptor(y.prototype, "clearStatusMessages"), y.prototype), C(y.prototype, "startCleanupMessages", [s], Object.getOwnPropertyDescriptor(y.prototype, "startCleanupMessages"), y.prototype), C(y.prototype, "resetCamera", [s], Object.getOwnPropertyDescriptor(y.prototype, "resetCamera"), y.prototype), C(y.prototype, "restoreData", [s], Object.getOwnPropertyDescriptor(y.prototype, "restoreData"), y.prototype), C(y.prototype, "handleSetupReady", [s], Object.getOwnPropertyDescriptor(y.prototype, "handleSetupReady"), y.prototype), C(y.prototype, "handleClose", [s], Object.getOwnPropertyDescriptor(y.prototype, "handleClose"), y.prototype), C(y.prototype, "handleDelete", [s], Object.getOwnPropertyDescriptor(y.prototype, "handleDelete"), y.prototype), C(y.prototype, "handleSave", [s], Object.getOwnPropertyDescriptor(y.prototype, "handleSave"), y.prototype), C(y.prototype, "handleChange", [s], Object.getOwnPropertyDescriptor(y.prototype, "handleChange"), y.prototype), C(y.prototype, "setInitialPtScale", [s], Object.getOwnPropertyDescriptor(y.prototype, "setInitialPtScale"), y.prototype), C(y.prototype, "handleClick", [s], Object.getOwnPropertyDescriptor(y.prototype, "handleClick"), y.prototype), C(y.prototype, "handleNavigationChange", [s], Object.getOwnPropertyDescriptor(y.prototype, "handleNavigationChange"), y.prototype), y)();
231
235
  //#endregion
232
- export { b as t };
236
+ export { w as t };