@expofp/floorplan 3.0.3 → 3.1.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 (65) hide show
  1. package/dist/browser/{CookieConsent-CqkxkIwX.js → CookieConsent-Dmv0fV6C.js} +1608 -1604
  2. package/dist/browser/{Debug-Dks0egsG.js → Debug-Bcinws3Z.js} +11 -10
  3. package/dist/browser/{Demo-DBNmcPwz.js → Demo-DS47GBXP.js} +14 -13
  4. package/dist/browser/Free-rMJSKekB.js +63 -0
  5. package/dist/browser/{Gallery-D9sKC8mp.js → Gallery-DfAH39db.js} +28 -27
  6. package/dist/browser/{GpsLoader-Dfum4xB9.js → GpsLoader-g5ZbaNN8.js} +40 -39
  7. package/dist/browser/{KioskStore-DnhZo-Ov.js → KioskStore-BkI0W5G_.js} +44 -44
  8. package/dist/browser/{Mapbox-BWK98Zf_.js → Mapbox-U0Xp-dJy.js} +18 -18
  9. package/dist/browser/{SetKioskMode-DPOCqSzq.js → SetKioskMode-Mtfet5Gv.js} +19 -19
  10. package/dist/browser/ShowKiosk-S_x_8I5m.js +26 -0
  11. package/dist/browser/{ThreeComponent-COgPMNab.js → ThreeComponent-Cn-bMeXV.js} +282 -281
  12. package/dist/browser/{TouchHand-Ky80pfba.js → TouchHand-CkxqOSSr.js} +5 -5
  13. package/dist/browser/{ViewerMenuPanel-DJ6pZIMD.js → ViewerMenuPanel-1IlAn-bB.js} +27 -26
  14. package/dist/browser/{add-debug-secret-listener-CXd4jWZG.js → add-debug-secret-listener-DRPQKt-Q.js} +1 -1
  15. package/dist/browser/{boolean-editor-SHR1RkFd.js → boolean-editor-B4geQ7PH.js} +7 -7
  16. package/dist/browser/bundle.json +51 -39
  17. package/dist/browser/{chunk-DFRW9JAK.js → chunk-BRl5Kkpd.js} +1 -1
  18. package/dist/browser/{classnames-D5RYoiaD.js → classnames-CCxYAYKJ.js} +2 -2
  19. package/dist/browser/{client-B-AFqibD.js → client-B7XtGJWm.js} +5 -5
  20. package/dist/browser/{data-BPNnd1Ub.js → data-C-4ggWJI.js} +565 -565
  21. package/dist/browser/{debug-overlay-Dm7tnN3s.js → debug-overlay-BygOMeRE.js} +9 -9
  22. package/dist/browser/{debug-ui-T7mEy9PT.js → debug-ui-CMv0d865.js} +7 -7
  23. package/dist/browser/{dist-Bxi6YEB1.js → dist-waqn7yPH.js} +6 -6
  24. package/dist/browser/exports-DNYbSw5O.js +1495 -0
  25. package/dist/browser/{favicon-CDOxAL2U.js → favicon-DzIGribB.js} +1 -1
  26. package/dist/browser/{fetch-retry.umd-BBS0NAgY.js → fetch-retry.umd-BU4QgqQf.js} +5 -5
  27. package/dist/browser/{flex-CjUXae7J.js → flex-DV5_d5uA.js} +7 -7
  28. package/dist/browser/floorplan.loader-C6blBYy5.js +2885 -0
  29. package/dist/browser/{floorplan.ready-Vi6d8S_t.js → floorplan.ready-m2MeP7t6.js} +148 -145
  30. package/dist/browser/{fuse-B9KABHXb.js → fuse-eB0NJP2Y.js} +2 -2
  31. package/dist/browser/index.js +61 -10535
  32. package/dist/browser/is-debug-DNx7lu9r.js +5901 -0
  33. package/dist/browser/{jsx-runtime-EyUcoQPo.js → jsx-runtime-Dx6Zx-sv.js} +2 -2
  34. package/dist/browser/{lib-DCBNlykb.js → lib-BqFjGC1G.js} +5 -5
  35. package/dist/browser/{main-DoISipn5.js → main-6qqL0RDN.js} +1 -1
  36. package/dist/browser/mobx-DSw3E2kR.js +24 -0
  37. package/dist/browser/{particles.min-CBF3r8H5.js → particles.min-Ba1191wA.js} +2 -2
  38. package/dist/browser/{prop-types-bwVnWQ95.js → prop-types-Cq4o6XvT.js} +2 -2
  39. package/dist/browser/react-DgeLxkYu.js +301 -0
  40. package/dist/browser/{react-dom-DNErX4mG.js → react-dom-Beeufw5z.js} +4 -4
  41. package/dist/browser/{reset-all-settings-BP45RcR6.js → reset-all-settings-D5a3_fuL.js} +1 -1
  42. package/dist/browser/{settings-Dbk4UG1-.js → settings-R89Rs7v3.js} +7 -7
  43. package/dist/browser/{src-C46xGkrC.js → src-Cq6JROJE.js} +5 -5
  44. package/dist/browser/{store-COH1sU9Z.js → store-Csjg3ohh.js} +3047 -3017
  45. package/dist/browser/{ui-CmIShfKe.js → ui-DZGXCYdz.js} +7 -7
  46. package/dist/esm/components/Controls.js +1 -1
  47. package/dist/esm/components/CookieConsent.js +1 -1
  48. package/dist/esm/components/Free.js +1 -1
  49. package/dist/esm/components/Layout.js +1 -1
  50. package/dist/esm/components/LogoOverlay.js +1 -1
  51. package/dist/esm/components/PermissionNotice/PermissionNotice.d.ts +1 -0
  52. package/dist/esm/components/PermissionNotice/PermissionNotice.js +1 -1
  53. package/dist/esm/floorplan.loader.js +1 -1
  54. package/dist/esm/store/UIState.d.ts +1 -0
  55. package/dist/esm/store/UIState.js +1 -1
  56. package/dist/esm/tools/expofpUrl.d.ts +7 -0
  57. package/dist/esm/tools/expofpUrl.js +1 -0
  58. package/dist/esm/tools/freeBanner.d.ts +5 -0
  59. package/dist/esm/tools/freeBanner.js +1 -0
  60. package/dist/esm/tools/intercom.d.ts +12 -0
  61. package/dist/esm/tools/intercom.js +19 -0
  62. package/package.json +3 -3
  63. package/dist/browser/Free-BnsFOhog.js +0 -65
  64. package/dist/browser/ShowKiosk-CWHtQFiJ.js +0 -25
  65. package/dist/browser/mobx-DezH6kY5.js +0 -23
@@ -2,19 +2,20 @@ function __vite_inject_css__(css, id){ if (typeof document==='undefined') retur
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.0.3" };
5
+ e.SENTRY_RELEASE = { id: "3.1.0" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "aef9b91f-ddef-4301-b888-afec74378503", e._sentryDebugIdIdentifier = "sentry-dbid-aef9b91f-ddef-4301-b888-afec74378503");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "01bb3e48-0ee2-49f2-9848-14b7cf9ac31d", e._sentryDebugIdIdentifier = "sentry-dbid-01bb3e48-0ee2-49f2-9848-14b7cf9ac31d");
8
8
  } catch {}
9
9
  })();
10
- import "./chunk-DFRW9JAK.js";
11
- import { n as e, x as t } from "./index.js";
12
- import { t as n } from "./jsx-runtime-EyUcoQPo.js";
13
- import { Gn as r, a as i, o as a } from "./store-COH1sU9Z.js";
14
- e();
10
+ import "./chunk-BRl5Kkpd.js";
11
+ import { u as e } from "./is-debug-DNx7lu9r.js";
12
+ import { t } from "./react-DgeLxkYu.js";
13
+ import { t as n } from "./jsx-runtime-Dx6Zx-sv.js";
14
+ import { Yn as r, a as i, o as a } from "./store-Csjg3ohh.js";
15
+ t();
15
16
  var o = [], s = n();
16
17
  function c() {
17
- let e = o.map((e) => e.width * e.height).reduce((e, t) => e += t, 0), n = o.map((e) => /* @__PURE__ */ (0, s.jsxs)("div", {
18
+ let t = o.map((e) => e.width * e.height).reduce((e, t) => e += t, 0), n = o.map((e) => /* @__PURE__ */ (0, s.jsxs)("div", {
18
19
  className: "debug__canvas",
19
20
  id: e.toDataURL(),
20
21
  children: [
@@ -36,9 +37,9 @@ function c() {
36
37
  children: [
37
38
  /* @__PURE__ */ (0, s.jsx)("button", {
38
39
  onClick: () => i.searchStore.selectSearch(""),
39
- children: t("Close")
40
+ children: e("Close")
40
41
  }),
41
- /* @__PURE__ */ (0, s.jsxs)("div", { children: ["Total square: ", e] }),
42
+ /* @__PURE__ */ (0, s.jsxs)("div", { children: ["Total square: ", t] }),
42
43
  n
43
44
  ]
44
45
  });
@@ -2,21 +2,22 @@ function __vite_inject_css__(css, id){ if (typeof document==='undefined') retur
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.0.3" };
5
+ e.SENTRY_RELEASE = { id: "3.1.0" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "98e72ec9-09c3-44f2-9848-dc991401b1d5", e._sentryDebugIdIdentifier = "sentry-dbid-98e72ec9-09c3-44f2-9848-dc991401b1d5");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "92ca4a2d-214e-4426-8a66-742f77bece38", e._sentryDebugIdIdentifier = "sentry-dbid-92ca4a2d-214e-4426-8a66-742f77bece38");
8
8
  } catch {}
9
9
  })();
10
- import { n as e, r as t } from "./chunk-DFRW9JAK.js";
11
- import { n, x as r } from "./index.js";
12
- import { t as i } from "./jsx-runtime-EyUcoQPo.js";
13
- import { t as a } from "./classnames-D5RYoiaD.js";
14
- import { Gn as o, Wn as s, o as c } from "./store-COH1sU9Z.js";
15
- import { n as l } from "./mobx-DezH6kY5.js";
16
- n();
10
+ import { n as e, r as t } from "./chunk-BRl5Kkpd.js";
11
+ import { u as n } from "./is-debug-DNx7lu9r.js";
12
+ import { t as r } from "./react-DgeLxkYu.js";
13
+ import { t as i } from "./jsx-runtime-Dx6Zx-sv.js";
14
+ import { t as a } from "./classnames-CCxYAYKJ.js";
15
+ import { Jn as o, Yn as s, o as c } from "./store-Csjg3ohh.js";
16
+ import { n as l } from "./mobx-DSw3E2kR.js";
17
+ r();
17
18
  var u = /* @__PURE__ */ t(a(), 1), d = /* @__PURE__ */ e({ default: () => m }), f = i(), p = "note-dismissed5";
18
19
  function m() {
19
- let e = s(() => ({
20
+ let e = o(() => ({
20
21
  hidden: !0,
21
22
  get top() {
22
23
  return c.screenSize.width <= 820;
@@ -33,12 +34,12 @@ function m() {
33
34
  sessionStorage.getItem(p) || window.setTimeout(() => {
34
35
  e.hidden = !1;
35
36
  }, 2e3);
36
- }), o(() => /* @__PURE__ */ (0, f.jsx)("div", {
37
+ }), s(() => /* @__PURE__ */ (0, f.jsx)("div", {
37
38
  className: e.classes,
38
39
  children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
39
40
  className: "demo__message",
40
41
  children: /* @__PURE__ */ (0, f.jsxs)("span", { children: [
41
- r("Get your free floor plan at"),
42
+ n("Get your free floor plan at"),
42
43
  "\xA0",
43
44
  /* @__PURE__ */ (0, f.jsx)("a", {
44
45
  href: "https://expofp.com/",
@@ -51,7 +52,7 @@ function m() {
51
52
  href: "/",
52
53
  onClick: t,
53
54
  className: "demo__dismiss",
54
- children: r("Dismiss")
55
+ children: n("Dismiss")
55
56
  })] })
56
57
  }));
57
58
  function t(t) {
@@ -0,0 +1,63 @@
1
+ function __vite_inject_css__(css, id){ if (typeof document==='undefined') return; var parent=(typeof window!=='undefined'&&window.__efpShadowDOMStyleParent)||document.head; var s=document.createElement('style'); s.setAttribute('data-chunk-style', id); s.appendChild(document.createTextNode(css)); parent.appendChild(s);}
2
+ (function() {
3
+ try {
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.1.0" };
6
+ var t = new e.Error().stack;
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2fab5f17-97fc-49c1-932b-644719897a2d", e._sentryDebugIdIdentifier = "sentry-dbid-2fab5f17-97fc-49c1-932b-644719897a2d");
8
+ } catch {}
9
+ })();
10
+ import { r as e } from "./chunk-BRl5Kkpd.js";
11
+ import { u as t } from "./is-debug-DNx7lu9r.js";
12
+ import { t as n } from "./react-DgeLxkYu.js";
13
+ import { t as r } from "./jsx-runtime-Dx6Zx-sv.js";
14
+ import { t as i } from "./classnames-CCxYAYKJ.js";
15
+ import { Jn as a, Yn as o, c as s, l as c, o as l } from "./store-Csjg3ohh.js";
16
+ import { n as u } from "./mobx-DSw3E2kR.js";
17
+ n();
18
+ var d = /* @__PURE__ */ e(i(), 1), f = r();
19
+ function p() {
20
+ let e = a(() => ({
21
+ hidden: !0,
22
+ get classes() {
23
+ return (0, d.default)("free", { hidden: this.hidden });
24
+ }
25
+ }));
26
+ return u(() => {
27
+ l.freeBannerDismissed || window.setTimeout(() => {
28
+ e.hidden = !1;
29
+ }, 2e3);
30
+ }), o(() => /* @__PURE__ */ (0, f.jsx)("div", {
31
+ className: e.classes,
32
+ children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
33
+ className: "free__message",
34
+ children: /* @__PURE__ */ (0, f.jsxs)("span", { children: [
35
+ t("Create a free floor plan at"),
36
+ "\xA0",
37
+ /* @__PURE__ */ (0, f.jsx)("a", {
38
+ href: s(),
39
+ target: "_blank",
40
+ rel: "noopener noreferrer",
41
+ children: "ExpoFP.com"
42
+ })
43
+ ] })
44
+ }), /* @__PURE__ */ (0, f.jsx)("button", {
45
+ type: "button",
46
+ className: "free__dismiss",
47
+ onClick: n,
48
+ "aria-label": t("Dismiss"),
49
+ children: /* @__PURE__ */ (0, f.jsx)("i", {
50
+ className: "icon-close",
51
+ "aria-hidden": "true"
52
+ })
53
+ })] })
54
+ }));
55
+ function n() {
56
+ e.hidden = !0, c(sessionStorage), l.freeBannerDismissed = !0;
57
+ }
58
+ }
59
+ //#endregion
60
+ export { p as default };
61
+
62
+ ;/* vite-per-chunk-css */
63
+ __vite_inject_css__(".free{opacity:1;background:linear-gradient(90deg,#e5175c,#5c17e5);justify-content:center;width:100%;min-height:2.5rem;transition:all .5s;display:flex;position:absolute;top:0}.free>section{-webkit-user-select:none;user-select:none;padding:.2rem .5rem;font-size:.8rem;display:flex}.free__message{color:#fff;align-items:center;display:flex}.free__message a{color:#fff;text-decoration:underline}.free__dismiss{opacity:.8;color:#fff;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;font-size:1rem;line-height:1;transition:opacity .2s;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.free__dismiss:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:.5rem}.free__dismiss:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:.5rem}.free__dismiss:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:.5rem}.free__dismiss:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:.5rem}.free__dismiss:hover{opacity:1}@media print{.free__dismiss{display:none}}@media (min-width:768px){.free{min-height:3.25rem}.free>section{padding:.5rem}.free .free__message{color:#ffffffe6;font-size:1.5rem;font-weight:300}.free .free__dismiss{font-size:1.5rem}}.free.hidden{transform:translateY(-100%)}\n/*$vite$:1*/", "Free.css");
@@ -2,19 +2,20 @@ function __vite_inject_css__(css, id){ if (typeof document==='undefined') retur
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.0.3" };
5
+ e.SENTRY_RELEASE = { id: "3.1.0" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "dad92f03-82da-4360-ba25-23b779105862", e._sentryDebugIdIdentifier = "sentry-dbid-dad92f03-82da-4360-ba25-23b779105862");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "b85747d7-6d57-4199-876f-a070f35dc72c", e._sentryDebugIdIdentifier = "sentry-dbid-b85747d7-6d57-4199-876f-a070f35dc72c");
8
8
  } catch {}
9
9
  })();
10
- import { n as e, r as t } from "./chunk-DFRW9JAK.js";
11
- import { n, x as r } from "./index.js";
12
- import { t as i } from "./react-dom-DNErX4mG.js";
13
- import { t as a } from "./jsx-runtime-EyUcoQPo.js";
14
- import { t as o } from "./classnames-D5RYoiaD.js";
15
- import { Un as s, o as c } from "./store-COH1sU9Z.js";
10
+ import { n as e, r as t } from "./chunk-BRl5Kkpd.js";
11
+ import { u as n } from "./is-debug-DNx7lu9r.js";
12
+ import { t as r } from "./react-DgeLxkYu.js";
13
+ import { t as i } from "./react-dom-Beeufw5z.js";
14
+ import { t as a } from "./jsx-runtime-Dx6Zx-sv.js";
15
+ import { t as o } from "./classnames-CCxYAYKJ.js";
16
+ import { o as s, qn as c } from "./store-Csjg3ohh.js";
16
17
  //#region src/utils/getRenderTargetFromRoot.ts
17
- var l = /* @__PURE__ */ t(n(), 1), u = /* @__PURE__ */ t(i(), 1), d = a(), f = /* @__PURE__ */ t(o(), 1);
18
+ var l = /* @__PURE__ */ t(r(), 1), u = /* @__PURE__ */ t(i(), 1), d = a(), f = /* @__PURE__ */ t(o(), 1);
18
19
  function p(e) {
19
20
  var t;
20
21
  if (!e) return console.error("[getRenderTargetFromRoot] rootElement is null"), null;
@@ -28,16 +29,16 @@ function p(e) {
28
29
  //#endregion
29
30
  //#region src/utils/useRenderTarget.ts
30
31
  var m = () => {
31
- let [e, t] = (0, l.useState)(() => p(c.rootElement));
32
+ let [e, t] = (0, l.useState)(() => p(s.rootElement));
32
33
  return (0, l.useEffect)(() => {
33
34
  var e, n;
34
- if (typeof window > "u" || !c.rootElement) return;
35
+ if (typeof window > "u" || !s.rootElement) return;
35
36
  let r = !1, i = null, a = () => {
36
- let e = p(c.rootElement);
37
+ let e = p(s.rootElement);
37
38
  return e && !r ? (t((t) => t === e ? t : e), !0) : !1;
38
39
  };
39
40
  if (a()) return;
40
- let o = (e = (n = c.rootElement.firstElementChild) == null ? void 0 : n.shadowRoot) == null ? c.rootElement : e;
41
+ let o = (e = (n = s.rootElement.firstElementChild) == null ? void 0 : n.shadowRoot) == null ? s.rootElement : e;
41
42
  return i = new MutationObserver(() => {
42
43
  a() && i && i.disconnect();
43
44
  }), i.observe(o, {
@@ -46,7 +47,7 @@ var m = () => {
46
47
  }), () => {
47
48
  r = !0, i && i.disconnect();
48
49
  };
49
- }, [c.rootElement]), e;
50
+ }, [s.rootElement]), e;
50
51
  }, h = ({ count: e, onFullscreen: t }) => /* @__PURE__ */ (0, d.jsxs)(d.Fragment, { children: [/* @__PURE__ */ (0, d.jsxs)("div", {
51
52
  className: "gallery__badge gallery__badge-count",
52
53
  children: [/* @__PURE__ */ (0, d.jsx)("i", { className: "icon-image" }), /* @__PURE__ */ (0, d.jsx)("span", { children: e })]
@@ -3095,14 +3096,14 @@ var Ar = function(e) {
3095
3096
  r(), n == null || n();
3096
3097
  };
3097
3098
  }, [e, t]);
3098
- }, Nr = s(({ zoomIn: e, zoomOut: t, onClose: n }) => /* @__PURE__ */ (0, d.jsxs)("div", {
3099
+ }, Nr = c(({ zoomIn: e, zoomOut: t, onClose: r }) => /* @__PURE__ */ (0, d.jsxs)("div", {
3099
3100
  className: "gallery-slider__controls",
3100
3101
  children: [
3101
3102
  /* @__PURE__ */ (0, d.jsx)("button", {
3102
3103
  className: "gallery-slider__btn close",
3103
- title: r("Close"),
3104
- "aria-label": r("Close"),
3105
- onClick: n,
3104
+ title: n("Close"),
3105
+ "aria-label": n("Close"),
3106
+ onClick: r,
3106
3107
  children: /* @__PURE__ */ (0, d.jsx)("i", {
3107
3108
  className: "icon-close",
3108
3109
  "aria-hidden": "true"
@@ -3110,8 +3111,8 @@ var Ar = function(e) {
3110
3111
  }),
3111
3112
  /* @__PURE__ */ (0, d.jsx)("button", {
3112
3113
  className: "gallery-slider__btn zoom-in",
3113
- title: r("Zoom In"),
3114
- "aria-label": r("Zoom In"),
3114
+ title: n("Zoom In"),
3115
+ "aria-label": n("Zoom In"),
3115
3116
  onClick: () => e(),
3116
3117
  children: /* @__PURE__ */ (0, d.jsx)("i", {
3117
3118
  className: "icon-zoom-in",
@@ -3120,8 +3121,8 @@ var Ar = function(e) {
3120
3121
  }),
3121
3122
  /* @__PURE__ */ (0, d.jsx)("button", {
3122
3123
  className: "gallery-slider__btn zoom-out",
3123
- title: r("Zoom Out"),
3124
- "aria-label": r("Zoom Out"),
3124
+ title: n("Zoom Out"),
3125
+ "aria-label": n("Zoom Out"),
3125
3126
  onClick: () => t(),
3126
3127
  children: /* @__PURE__ */ (0, d.jsx)("i", {
3127
3128
  className: "icon-zoom-out",
@@ -3139,8 +3140,8 @@ var Ar = function(e) {
3139
3140
  leading: t,
3140
3141
  url: n
3141
3142
  })
3142
- })), Fr = s((e) => {
3143
- let { images: t, leading: n, initialSlideIndex: i, onClose: a, className: o } = e, s = m(), [c, p] = (0, l.useState)(i), [h, g] = (0, l.useState)([]), _ = (0, l.useRef)(null), v = (0, l.useRef)(null), y = (0, l.useRef)(null), b = {
3143
+ })), Fr = c((e) => {
3144
+ let { images: t, leading: r, initialSlideIndex: i, onClose: a, className: o } = e, s = m(), [c, p] = (0, l.useState)(i), [h, g] = (0, l.useState)([]), _ = (0, l.useRef)(null), v = (0, l.useRef)(null), y = (0, l.useRef)(null), b = {
3144
3145
  initialSlide: i,
3145
3146
  draggable: !1,
3146
3147
  modules: [Nt],
@@ -3169,14 +3170,14 @@ var Ar = function(e) {
3169
3170
  }) : null,
3170
3171
  t.length > 1 && /* @__PURE__ */ (0, d.jsx)("button", {
3171
3172
  ref: y,
3172
- title: r("Next slide"),
3173
+ title: n("Next slide"),
3173
3174
  "aria-label": "˃",
3174
3175
  className: "gallery-slider__btn next",
3175
3176
  children: /* @__PURE__ */ (0, d.jsx)("i", { className: "icon-chevron-right" })
3176
3177
  }),
3177
3178
  t.length > 1 && /* @__PURE__ */ (0, d.jsx)("button", {
3178
3179
  ref: v,
3179
- title: r("Prev slide"),
3180
+ title: n("Prev slide"),
3180
3181
  "aria-label": "˂",
3181
3182
  className: "gallery-slider__btn prev",
3182
3183
  children: /* @__PURE__ */ (0, d.jsx)("i", { className: "icon-chevron-left" })
@@ -3191,7 +3192,7 @@ var Ar = function(e) {
3191
3192
  g((t) => [...t, e]);
3192
3193
  },
3193
3194
  children: /* @__PURE__ */ (0, d.jsx)(Pr, {
3194
- leading: n,
3195
+ leading: r,
3195
3196
  swiperRef: _,
3196
3197
  url: e
3197
3198
  })
@@ -1,19 +1,20 @@
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.0.3" };
4
+ e.SENTRY_RELEASE = { id: "3.1.0" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "10510170-f667-42c1-ac1e-62c8440377b4", e._sentryDebugIdIdentifier = "sentry-dbid-10510170-f667-42c1-ac1e-62c8440377b4");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "c88bffff-4176-438e-9059-9a3ba1992d06", e._sentryDebugIdIdentifier = "sentry-dbid-c88bffff-4176-438e-9059-9a3ba1992d06");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./chunk-DFRW9JAK.js";
10
- import { gt as t, jt as n, n as r, x as i } from "./index.js";
11
- import { t as a } from "./jsx-runtime-EyUcoQPo.js";
12
- import { O as o, Un as s, X as c, a as l, ft as u } from "./store-COH1sU9Z.js";
13
- import { n as d } from "./CookieConsent-CqkxkIwX.js";
14
- import { r as f } from "./mobx-DezH6kY5.js";
9
+ import { r as e } from "./chunk-BRl5Kkpd.js";
10
+ import { Tt as t, u as n, ut as r } from "./is-debug-DNx7lu9r.js";
11
+ import { t as i } from "./react-DgeLxkYu.js";
12
+ import { t as a } from "./jsx-runtime-Dx6Zx-sv.js";
13
+ import { M as o, a as s, et as c, gt as l, qn as u } from "./store-Csjg3ohh.js";
14
+ import { n as d } from "./CookieConsent-Dmv0fV6C.js";
15
+ import { r as f } from "./mobx-DSw3E2kR.js";
15
16
  //#region src/components/gps/utils.ts
16
- var p = /* @__PURE__ */ e(r(), 1);
17
+ var p = /* @__PURE__ */ e(i(), 1);
17
18
  function m(e) {
18
19
  return Math.floor(e);
19
20
  }
@@ -24,7 +25,7 @@ function h(e, t) {
24
25
  //#region src/components/gps/useUserLocationAndHeading.ts
25
26
  var g = 120, _ = 3e3, v = 360;
26
27
  function y(e) {
27
- let t = (0, p.useRef)(null), r = (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 n = (0, p.useRef)(null), r = (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
29
  let t = Date.now();
29
30
  if (t - i.current < g) return;
30
31
  let n = a.current;
@@ -52,13 +53,13 @@ function y(e) {
52
53
  }, [e]);
53
54
  return {
54
55
  startGeolocation: () => {
55
- t.current == null && (t.current = navigator.geolocation.watchPosition((e) => {
56
+ n.current == null && (n.current = navigator.geolocation.watchPosition((e) => {
56
57
  f({
57
58
  lat: e.coords.latitude,
58
59
  lng: e.coords.longitude,
59
60
  heading: r.current
60
61
  });
61
- }, (e) => n.warn("Geolocation watch error:", e), {
62
+ }, (e) => t.warn("Geolocation watch error:", e), {
62
63
  enableHighAccuracy: !0,
63
64
  maximumAge: 0
64
65
  }));
@@ -67,7 +68,7 @@ function y(e) {
67
68
  o.current || (o.current = !0, window.addEventListener("deviceorientation", y, !0));
68
69
  },
69
70
  stopGeolocation: () => {
70
- t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), s.current = null, l.current = !1;
71
+ n.current != null && (navigator.geolocation.clearWatch(n.current), n.current = null), s.current = null, l.current = !1;
71
72
  },
72
73
  stopOrientation: () => {
73
74
  o.current = !1, window.removeEventListener("deviceorientation", y, !0);
@@ -76,38 +77,38 @@ function y(e) {
76
77
  }
77
78
  //#endregion
78
79
  //#region src/components/gps/GpsPermissionRequest.tsx
79
- var b = a(), x = s(function({ isOpen: e, onAllow: t, onCancel: n }) {
80
+ var b = a(), x = u(function({ isOpen: e, onAllow: t, onCancel: r }) {
80
81
  return e ? /* @__PURE__ */ (0, b.jsx)(d, {
81
- title: i("Show your position on the map"),
82
- acceptText: i("Allow compass access"),
83
- rejectText: i("Not now"),
82
+ title: n("Show your position on the map"),
83
+ acceptText: n("Allow compass access"),
84
+ rejectText: n("Not now"),
84
85
  onClickAccept: t,
85
- onClickReject: n,
86
- children: i("To display your current position and orient the map around you, we’ll ask for permission to access your device orientation")
86
+ onClickReject: r,
87
+ children: n("To display your current position and orient the map around you, we’ll ask for permission to access your device orientation")
87
88
  }) : null;
88
89
  });
89
90
  //#endregion
90
91
  //#region src/components/gps/GpsManager.tsx
91
- function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: r, orientationStorageKey: i = "compass-permission-granted", requestCompass: a = !0, requestCompassAllowed: o = !0 }) {
92
- let { startOrientation: s, startGeolocation: c, stopOrientation: l, stopGeolocation: d } = y(e), [f, m] = (0, p.useState)(!1), [h, g] = (0, p.useState)(!1);
92
+ function S({ onPositionUpdate: e, onAllowCompass: n, onRejectCompass: r, orientationStorageKey: i = "compass-permission-granted", requestCompass: a = !0, requestCompassAllowed: o = !0 }) {
93
+ let { startOrientation: s, startGeolocation: c, stopOrientation: u, stopGeolocation: d } = y(e), [f, m] = (0, p.useState)(!1), [h, g] = (0, p.useState)(!1);
93
94
  (0, p.useEffect)(() => (navigator.geolocation.getCurrentPosition(() => {
94
95
  m(!0), c();
95
96
  }, (e) => {
96
- n.warn("Geolocation error:", e), m(!1);
97
+ t.warn("Geolocation error:", e), m(!1);
97
98
  }), () => {
98
- l(), d();
99
+ u(), d();
99
100
  }), [
100
101
  c,
101
102
  d,
102
- l
103
+ u
103
104
  ]);
104
105
  let _ = async () => {
105
- typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(i, "true"), s(), g(!1), t == null || t());
106
+ typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(i, "true"), s(), g(!1), n == null || n());
106
107
  }, v = (0, p.useCallback)(() => {
107
108
  localStorage.setItem(i, "false"), g(!1), r == null || r();
108
109
  }, [r]);
109
110
  return (0, p.useEffect)(() => {
110
- if (!f || !o || typeof navigator > "u" || !u) return;
111
+ if (!f || !o || typeof navigator > "u" || !l) return;
111
112
  let e = localStorage.getItem(i);
112
113
  if (!e || a) {
113
114
  g(!0);
@@ -128,23 +129,23 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: r, orienta
128
129
  //#endregion
129
130
  //#region src/components/GpsLoader.tsx
130
131
  function C({ requestCompassAllowed: e }) {
131
- let [n, r] = (0, p.useState)(!1), i = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
132
- l.routeStore.selectCurrentPosition(new o(0, 0, 0, n || r, e, t), !1);
132
+ let [t, n] = (0, p.useState)(!1), i = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
133
+ s.routeStore.selectCurrentPosition(new o(0, 0, 0, n || r, e, t), !1);
133
134
  }, []), a = (0, p.useCallback)(() => {
134
- l.routeStore.requestCompass = void 0, r(!1);
135
- }, [r]), s = (0, p.useCallback)(() => {
136
- l.routeStore.requestCompass = void 0, r(!1);
137
- }, [r]);
138
- return f(() => l.uiState.hideCookieConsent, (e) => {
139
- r(e);
140
- }), f(() => l.routeStore.requestCompass, (e) => {
141
- r(e);
135
+ s.routeStore.requestCompass = void 0, n(!1);
136
+ }, [n]), c = (0, p.useCallback)(() => {
137
+ s.routeStore.requestCompass = void 0, n(!1);
138
+ }, [n]);
139
+ return f(() => s.uiState.hideCookieConsent, (e) => {
140
+ n(e);
141
+ }), f(() => s.routeStore.requestCompass, (e) => {
142
+ n(e);
142
143
  }), /* @__PURE__ */ (0, b.jsx)(S, {
143
- requestCompass: n,
144
+ requestCompass: t,
144
145
  requestCompassAllowed: e,
145
146
  onRejectCompass: a,
146
- onAllowCompass: s,
147
- orientationStorageKey: t,
147
+ onAllowCompass: c,
148
+ orientationStorageKey: r,
148
149
  onPositionUpdate: i
149
150
  });
150
151
  }