@expofp/floorplan 3.2.14 → 3.2.15
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.
- package/dist/browser/{CookieConsent-bTG3GDKg.js → CookieConsent-Dae_Y5BJ.js} +8 -8
- package/dist/browser/{Debug-CjX9xriA.js → Debug-bswylrH2.js} +7 -8
- package/dist/browser/{Demo-D66SE96z.js → Demo-Bk-80OvM.js} +11 -12
- package/dist/browser/{Free-ouV3S0cy.js → Free-BpAyC_92.js} +11 -12
- package/dist/browser/{Gallery-Bm4oVw4n.js → Gallery-Cbp4RpXi.js} +10 -10
- package/dist/browser/{GpsLoader-BheKXFiI.js → GpsLoader-eZj9tBQe.js} +24 -25
- package/dist/browser/{KioskStore-CYaE9WLG.js → KioskStore-_SCgPIgh.js} +4 -4
- package/dist/browser/{Mapbox-CDlR6UrM.js → Mapbox-BGYasjkn.js} +14 -15
- package/dist/browser/{Modal-DS2N0vIo.js → Modal-vg_G_kdG.js} +10 -10
- package/dist/browser/{SetKioskMode-DofzJB3e.js → SetKioskMode-BLpVUtjo.js} +17 -18
- package/dist/browser/{ShowKiosk-UX2N2NU3.js → ShowKiosk-DtkYNvwf.js} +10 -11
- package/dist/browser/{ThreeComponent-CglSG5wI.js → ThreeComponent-Dj2UW0ZG.js} +201 -202
- package/dist/browser/{TouchHand-DvgAAuKo.js → TouchHand-BRrA4ToI.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-KPn2i2KL.js → ViewerMenuPanel-D_mwk9-v.js} +8 -9
- package/dist/browser/{add-debug-secret-listener-BN00-9E4.js → add-debug-secret-listener-lt3Ldih0.js} +1 -1
- package/dist/browser/{boolean-editor-fbHiF9vJ.js → boolean-editor-P2t_i735.js} +12 -12
- package/dist/browser/{bootIntercom-CKo2IztD.js → bootIntercom-Y7Rt9tpe.js} +3 -3
- package/dist/browser/{box-B2jxGgXa.js → box-BVQN1PiO.js} +16 -16
- package/dist/browser/{browser-vqeti97Y.js → browser-KjAO0dHT.js} +2 -2
- package/dist/browser/bundle.json +57 -60
- package/dist/browser/{classnames-CHmxGkvV.js → classnames-BqJalg-Q.js} +2 -2
- package/dist/browser/{client-pnzfy6PK.js → client-BGPoeGx3.js} +4 -4
- package/dist/browser/{components-DVzc3v5I.js → components-CgzWABt2.js} +2181 -2182
- package/dist/browser/{data-BmUUjPca.js → data-skwk1u79.js} +14 -16
- package/dist/browser/{debug-overlay-B_1ADa5Y.js → debug-overlay-DCbIKiXk.js} +26 -26
- package/dist/browser/{debug-ui-DBOzEUkM.js → debug-ui-D-W370eg.js} +6 -6
- package/dist/browser/{dist-BpuX8MZ6.js → dist-DCpIeA0L.js} +11 -11
- package/dist/browser/{dist-0qGu5ADv.js → dist-DNiyzclY.js} +5 -5
- package/dist/browser/{dist-DblWkNUV.js → dist-DlflAB4U.js} +5 -5
- package/dist/browser/{efp-debug-init-BwJWCRkJ.js → efp-debug-init-DhEyPlIF.js} +2 -2
- package/dist/browser/{enum-editor-BYkKqvGq.js → enum-editor-Lkwuqlnb.js} +14 -14
- package/dist/browser/{exports-BRRDMtlG.js → exports-CcL9FNnp.js} +254 -197
- package/dist/browser/{favicon-C_bgpvWA.js → favicon-COEqU9sn.js} +1 -1
- package/dist/browser/{fetch-retry.umd-Dinto0ag.js → fetch-retry.umd-BZuDHgV0.js} +2 -2
- package/dist/browser/{flex-uHBCXaOV.js → flex-BY1B51-2.js} +8 -8
- package/dist/browser/{flex.props-eBOcuRMU.js → flex.props-Dv-tEl54.js} +4 -4
- package/dist/browser/{floorplan.loader-CMXBnLtZ.js → floorplan.loader-DLVjZBwm.js} +940 -772
- package/dist/browser/{floorplan.ready-UbtSin_R.js → floorplan.ready-DuwKXwkl.js} +134 -134
- package/dist/browser/{fuse-CgTQNNsn.js → fuse-CYDYMWQ6.js} +2 -2
- package/dist/browser/{i18n-BOl9oxrx.js → i18n-CP_v4NP8.js} +3 -3
- package/dist/browser/index.js +12 -12
- package/dist/browser/{is-debug-DMN58EYn.js → is-debug-DX-JKVOb.js} +2 -2
- package/dist/browser/{jsx-runtime-B2BgIlMm.js → jsx-runtime-GedjzT5I.js} +2 -2
- package/dist/browser/{lib-DByP5YwC.js → lib-BC_h9VBA.js} +4 -4
- package/dist/browser/{main-D3mbrWsr.js → main-n6nfwV4g.js} +1 -1
- package/dist/browser/{mobx-CdvsVcc9.js → mobx-CekPL2_6.js} +4 -4
- package/dist/browser/{particles.min-DfI3C-qp.js → particles.min-DJ82z7qx.js} +2 -2
- package/dist/browser/{prop-types-B6zERU6Z.js → prop-types-DkApiaaC.js} +2 -2
- package/dist/browser/{react-dom-sBqrMskT.js → react-dom-DkrEia96.js} +3 -3
- package/dist/browser/{react-C3o_QT06.js → react-rZ_JGNQ0.js} +2 -2
- package/dist/browser/{reset-all-settings-BwKg7iVu.js → reset-all-settings-B_HmwZyi.js} +7 -7
- package/dist/browser/{rolldown-runtime-DB8Ddt08.js → rolldown-runtime-CjpvzON0.js} +1 -1
- package/dist/browser/{settings-BLMQJ1yq.js → settings-DhK6N0bU.js} +2 -2
- package/dist/browser/{settings-item-C19s0haM.js → settings-item-B2U6kpeM.js} +8 -8
- package/dist/browser/{store-CQE29UCE.js → store-Bu3dElQ9.js} +5276 -5093
- package/dist/browser/{string-editor-DyFEQo_P.js → string-editor-DB2Bv9YQ.js} +10 -10
- package/dist/browser/{theme-CrwkiIG5.js → theme-ybZBBTOS.js} +29 -29
- package/dist/browser/{ui-MUJDbhD1.js → ui-CU_2TUl4.js} +8 -8
- package/dist/browser/{useRenderTarget-Pk0fGZOz.js → useRenderTarget-CakmKdKK.js} +5 -5
- package/dist/esm/store/ToursStore.js +1 -1
- package/package.json +10 -10
- package/dist/browser/Button-BdvuWzrR.js +0 -204
|
@@ -2,17 +2,17 @@ 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.2.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.2.15" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a5f36802-790b-4956-bf07-417d10eea341", e._sentryDebugIdIdentifier = "sentry-dbid-a5f36802-790b-4956-bf07-417d10eea341");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
13
|
-
import { s as i } from "./i18n-
|
|
14
|
-
import { t as a } from "./classnames-
|
|
15
|
-
import {
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-CjpvzON0.js";
|
|
11
|
+
import { t as n } from "./react-rZ_JGNQ0.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-GedjzT5I.js";
|
|
13
|
+
import { s as i } from "./i18n-CP_v4NP8.js";
|
|
14
|
+
import { t as a } from "./classnames-BqJalg-Q.js";
|
|
15
|
+
import { Qn as o, Zn as s } from "./store-Bu3dElQ9.js";
|
|
16
16
|
n();
|
|
17
17
|
var c = /* @__PURE__ */ t(a(), 1), l = r(), u = ({ onClickAccept: e, onClickReject: t, rejectText: n, children: r, acceptText: i, title: a, className: o }) => /* @__PURE__ */ (0, l.jsxs)("div", {
|
|
18
18
|
className: (0, c.default)("permission-notice", o),
|
|
@@ -2,17 +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.2.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.2.15" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "6683d22c-49f7-4d91-8584-1818b9472b63", e._sentryDebugIdIdentifier = "sentry-dbid-6683d22c-49f7-4d91-8584-1818b9472b63");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import "./rolldown-runtime-
|
|
11
|
-
import { t as e } from "./react-
|
|
12
|
-
import { t } from "./jsx-runtime-
|
|
13
|
-
import { s as n } from "./i18n-
|
|
14
|
-
import {
|
|
15
|
-
import { o as i, s as a } from "./store-CQE29UCE.js";
|
|
10
|
+
import "./rolldown-runtime-CjpvzON0.js";
|
|
11
|
+
import { t as e } from "./react-rZ_JGNQ0.js";
|
|
12
|
+
import { t } from "./jsx-runtime-GedjzT5I.js";
|
|
13
|
+
import { s as n } from "./i18n-CP_v4NP8.js";
|
|
14
|
+
import { er as r, o as i, s as a } from "./store-Bu3dElQ9.js";
|
|
16
15
|
e();
|
|
17
16
|
var o = [], s = t();
|
|
18
17
|
function c() {
|
|
@@ -2,23 +2,22 @@ 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.2.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.2.15" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "64cf97af-897a-484d-9853-1d59b495cddd", e._sentryDebugIdIdentifier = "sentry-dbid-64cf97af-897a-484d-9853-1d59b495cddd");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
13
|
-
import { s as i } from "./i18n-
|
|
14
|
-
import { t as a } from "./classnames-
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { n as l } from "./mobx-CdvsVcc9.js";
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-CjpvzON0.js";
|
|
11
|
+
import { t as n } from "./react-rZ_JGNQ0.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-GedjzT5I.js";
|
|
13
|
+
import { s as i } from "./i18n-CP_v4NP8.js";
|
|
14
|
+
import { t as a } from "./classnames-BqJalg-Q.js";
|
|
15
|
+
import { $n as o, er as s, s as c } from "./store-Bu3dElQ9.js";
|
|
16
|
+
import { n as l } from "./mobx-CekPL2_6.js";
|
|
18
17
|
n();
|
|
19
18
|
var u = /* @__PURE__ */ t(a(), 1), d = /* @__PURE__ */ e({ default: () => m }), f = r(), p = "note-dismissed5";
|
|
20
19
|
function m() {
|
|
21
|
-
let e =
|
|
20
|
+
let e = o(() => ({
|
|
22
21
|
hidden: !0,
|
|
23
22
|
get top() {
|
|
24
23
|
return c.screenSize.width <= 820;
|
|
@@ -35,7 +34,7 @@ function m() {
|
|
|
35
34
|
sessionStorage.getItem(p) || window.setTimeout(() => {
|
|
36
35
|
e.hidden = !1;
|
|
37
36
|
}, 2e3);
|
|
38
|
-
}),
|
|
37
|
+
}), s(() => /* @__PURE__ */ (0, f.jsx)("div", {
|
|
39
38
|
className: e.classes,
|
|
40
39
|
children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
|
|
41
40
|
className: "demo__message",
|
|
@@ -2,23 +2,22 @@ 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.2.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.2.15" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8c11968d-24d2-423f-bb35-87db13a24129", e._sentryDebugIdIdentifier = "sentry-dbid-8c11968d-24d2-423f-bb35-87db13a24129");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e } from "./rolldown-runtime-
|
|
11
|
-
import { t } from "./react-
|
|
12
|
-
import { t as n } from "./jsx-runtime-
|
|
13
|
-
import { s as r } from "./i18n-
|
|
14
|
-
import { t as i } from "./classnames-
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { n as u } from "./mobx-CdvsVcc9.js";
|
|
10
|
+
import { r as e } from "./rolldown-runtime-CjpvzON0.js";
|
|
11
|
+
import { t } from "./react-rZ_JGNQ0.js";
|
|
12
|
+
import { t as n } from "./jsx-runtime-GedjzT5I.js";
|
|
13
|
+
import { s as r } from "./i18n-CP_v4NP8.js";
|
|
14
|
+
import { t as i } from "./classnames-BqJalg-Q.js";
|
|
15
|
+
import { $n as a, er as o, l as s, s as c, u as l } from "./store-Bu3dElQ9.js";
|
|
16
|
+
import { n as u } from "./mobx-CekPL2_6.js";
|
|
18
17
|
t();
|
|
19
18
|
var d = /* @__PURE__ */ e(i(), 1), f = n();
|
|
20
19
|
function p() {
|
|
21
|
-
let e =
|
|
20
|
+
let e = a(() => ({
|
|
22
21
|
hidden: !0,
|
|
23
22
|
get classes() {
|
|
24
23
|
return (0, d.default)("free", { hidden: this.hidden });
|
|
@@ -28,7 +27,7 @@ function p() {
|
|
|
28
27
|
c.freeBannerDismissed || window.setTimeout(() => {
|
|
29
28
|
e.hidden = !1;
|
|
30
29
|
}, 2e3);
|
|
31
|
-
}),
|
|
30
|
+
}), o(() => /* @__PURE__ */ (0, f.jsx)("div", {
|
|
32
31
|
className: e.classes,
|
|
33
32
|
children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
|
|
34
33
|
className: "free__message",
|
|
@@ -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.2.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.2.15" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f2559cfb-c092-4be0-879f-745936b63c9b", e._sentryDebugIdIdentifier = "sentry-dbid-f2559cfb-c092-4be0-879f-745936b63c9b");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
13
|
-
import { s as i } from "./i18n-
|
|
14
|
-
import { t as a } from "./react-dom-
|
|
15
|
-
import { t as o } from "./classnames-
|
|
16
|
-
import {
|
|
17
|
-
import { t as c } from "./useRenderTarget-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-CjpvzON0.js";
|
|
11
|
+
import { t as n } from "./react-rZ_JGNQ0.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-GedjzT5I.js";
|
|
13
|
+
import { s as i } from "./i18n-CP_v4NP8.js";
|
|
14
|
+
import { t as a } from "./react-dom-DkrEia96.js";
|
|
15
|
+
import { t as o } from "./classnames-BqJalg-Q.js";
|
|
16
|
+
import { Qn as s } from "./store-Bu3dElQ9.js";
|
|
17
|
+
import { t as c } from "./useRenderTarget-CakmKdKK.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,48 +1,47 @@
|
|
|
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.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.15" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2f32bf94-22a1-4907-9dd5-c75a15fcf2a2", e._sentryDebugIdIdentifier = "sentry-dbid-2f32bf94-22a1-4907-9dd5-c75a15fcf2a2");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { K as r, s as i, st as a } from "./i18n-
|
|
13
|
-
import {
|
|
14
|
-
import { n as
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import "./components-DVzc3v5I.js";
|
|
9
|
+
import { r as e } from "./rolldown-runtime-CjpvzON0.js";
|
|
10
|
+
import { t } from "./react-rZ_JGNQ0.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-GedjzT5I.js";
|
|
12
|
+
import { K as r, s as i, st as a } from "./i18n-CP_v4NP8.js";
|
|
13
|
+
import { Qn as o, St as s, j as c, o as l, ot as u } from "./store-Bu3dElQ9.js";
|
|
14
|
+
import { n as d } from "./CookieConsent-Dae_Y5BJ.js";
|
|
15
|
+
import { r as f } from "./mobx-CekPL2_6.js";
|
|
16
|
+
import "./components-CgzWABt2.js";
|
|
18
17
|
//#region src/components/gps/utils.ts
|
|
19
18
|
var p = /* @__PURE__ */ e(t(), 1);
|
|
20
19
|
function m(e) {
|
|
21
20
|
return Math.floor(e);
|
|
22
21
|
}
|
|
23
22
|
function h(e, t) {
|
|
24
|
-
return
|
|
23
|
+
return u(e.lat, e.lng, t.lat, t.lng) >= 3 ? !0 : e.heading !== t.heading;
|
|
25
24
|
}
|
|
26
25
|
//#endregion
|
|
27
26
|
//#region src/components/gps/useUserLocationAndHeading.ts
|
|
28
27
|
var g = 120, _ = 3e3, v = 360;
|
|
29
28
|
function y(e) {
|
|
30
|
-
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),
|
|
29
|
+
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), d = (t) => e(t), f = (e) => {
|
|
31
30
|
let t = Date.now();
|
|
32
31
|
if (t - r.current < g) return;
|
|
33
32
|
let n = i.current;
|
|
34
33
|
if (!s.current) {
|
|
35
|
-
s.current = e, r.current = t, i.current = e,
|
|
34
|
+
s.current = e, r.current = t, i.current = e, d(e);
|
|
36
35
|
return;
|
|
37
36
|
}
|
|
38
|
-
let a =
|
|
37
|
+
let a = u(s.current.lat, s.current.lng, e.lat, e.lng), o;
|
|
39
38
|
c.current ? a <= 3 ? (c.current = !1, s.current = e, o = {
|
|
40
39
|
...s.current,
|
|
41
40
|
heading: e.heading
|
|
42
41
|
}) : (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 > _ && (s.current = e), o = {
|
|
43
42
|
...s.current,
|
|
44
43
|
heading: e.heading
|
|
45
|
-
}), !(n && !h(n, o)) && (r.current = t, i.current = o,
|
|
44
|
+
}), !(n && !h(n, o)) && (r.current = t, i.current = o, d(o));
|
|
46
45
|
}, y = (0, p.useCallback)((e) => {
|
|
47
46
|
var t;
|
|
48
47
|
let r = (t = e.webkitCompassHeading) == null ? e.alpha == null ? null : v - e.alpha : t;
|
|
@@ -80,7 +79,7 @@ function y(e) {
|
|
|
80
79
|
//#endregion
|
|
81
80
|
//#region src/components/gps/GpsPermissionRequest.tsx
|
|
82
81
|
var b = n(), x = o(function({ isOpen: e, onAllow: t, onCancel: n }) {
|
|
83
|
-
return e ? /* @__PURE__ */ (0, b.jsx)(
|
|
82
|
+
return e ? /* @__PURE__ */ (0, b.jsx)(d, {
|
|
84
83
|
title: i("Show your position on the map"),
|
|
85
84
|
acceptText: i("Allow compass access"),
|
|
86
85
|
rejectText: i("Not now"),
|
|
@@ -92,7 +91,7 @@ var b = n(), x = o(function({ isOpen: e, onAllow: t, onCancel: n }) {
|
|
|
92
91
|
//#endregion
|
|
93
92
|
//#region src/components/gps/GpsManager.tsx
|
|
94
93
|
function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: r = "compass-permission-granted", requestCompass: i = !0, requestCompassAllowed: o = !0 }) {
|
|
95
|
-
let { startOrientation:
|
|
94
|
+
let { startOrientation: c, startGeolocation: l, stopOrientation: u, stopGeolocation: d } = y(e), [f, m] = (0, p.useState)(!1), [h, g] = (0, p.useState)(!1);
|
|
96
95
|
(0, p.useEffect)(() => (navigator.geolocation.getCurrentPosition(() => {
|
|
97
96
|
m(!0), l();
|
|
98
97
|
}, (e) => {
|
|
@@ -105,12 +104,12 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
|
|
|
105
104
|
u
|
|
106
105
|
]);
|
|
107
106
|
let _ = async () => {
|
|
108
|
-
typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(r, "true"),
|
|
107
|
+
typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(r, "true"), c(), g(!1), t == null || t());
|
|
109
108
|
}, v = (0, p.useCallback)(() => {
|
|
110
109
|
localStorage.setItem(r, "false"), g(!1), n == null || n();
|
|
111
110
|
}, [n]);
|
|
112
111
|
return (0, p.useEffect)(() => {
|
|
113
|
-
if (!f || !o || typeof navigator > "u" || !
|
|
112
|
+
if (!f || !o || typeof navigator > "u" || !s) return;
|
|
114
113
|
let e = localStorage.getItem(r);
|
|
115
114
|
if (!e || i) {
|
|
116
115
|
g(!0);
|
|
@@ -132,15 +131,15 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
|
|
|
132
131
|
//#region src/components/GpsLoader.tsx
|
|
133
132
|
function C({ requestCompassAllowed: e }) {
|
|
134
133
|
let [t, n] = (0, p.useState)(!1), i = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
|
|
135
|
-
|
|
134
|
+
l.routeStore.selectCurrentPosition(new c(0, 0, 0, n || r, e, t), !1);
|
|
136
135
|
}, []), a = (0, p.useCallback)(() => {
|
|
137
|
-
|
|
136
|
+
l.routeStore.requestCompass = void 0, n(!1);
|
|
138
137
|
}, [n]), o = (0, p.useCallback)(() => {
|
|
139
|
-
|
|
138
|
+
l.routeStore.requestCompass = void 0, n(!1);
|
|
140
139
|
}, [n]);
|
|
141
|
-
return f(() =>
|
|
140
|
+
return f(() => l.uiState.hideCookieConsent, (e) => {
|
|
142
141
|
n(e);
|
|
143
|
-
}), f(() =>
|
|
142
|
+
}), f(() => l.routeStore.requestCompass, (e) => {
|
|
144
143
|
n(e);
|
|
145
144
|
}), /* @__PURE__ */ (0, b.jsx)(S, {
|
|
146
145
|
requestCompass: t,
|
|
@@ -1,13 +1,13 @@
|
|
|
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.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.15" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f4e2f61e-d13c-4ac6-ba84-bdce8bae792d", e._sentryDebugIdIdentifier = "sentry-dbid-f4e2f61e-d13c-4ac6-ba84-bdce8bae792d");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { _ as e, f as t, h as n, s as r, u as i, y as a } from "./i18n-
|
|
10
|
-
import { D as o, E as s, O as c, Pt as l, ht as u, o as d } from "./store-
|
|
9
|
+
import { _ as e, f as t, h as n, s as r, u as i, y as a } from "./i18n-CP_v4NP8.js";
|
|
10
|
+
import { D as o, E as s, O as c, Pt as l, ht as u, o as d } from "./store-Bu3dElQ9.js";
|
|
11
11
|
//#region src/components/Map/pointInConvexQuad.ts
|
|
12
12
|
function f(e, t) {
|
|
13
13
|
let n = 0;
|
|
@@ -1,23 +1,22 @@
|
|
|
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.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.15" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e063d492-8473-41c7-a0a4-d52e4927e636", e._sentryDebugIdIdentifier = "sentry-dbid-e063d492-8473-41c7-a0a4-d52e4927e636");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { t as r } from "./classnames-
|
|
13
|
-
import { i,
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { _ as f, a as p, c as m, d as h, f as g, h as _, i as v, l as y, m as b, o as x, p as S, r as C, s as w, u as T } from "./data-BmUUjPca.js";
|
|
9
|
+
import { r as e } from "./rolldown-runtime-CjpvzON0.js";
|
|
10
|
+
import { t } from "./react-rZ_JGNQ0.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-GedjzT5I.js";
|
|
12
|
+
import { t as r } from "./classnames-BqJalg-Q.js";
|
|
13
|
+
import { $n as i, Kn as a, Yn as o, er as s, o as c, s as l, t as u } from "./store-Bu3dElQ9.js";
|
|
14
|
+
import { r as d } from "./mobx-CekPL2_6.js";
|
|
15
|
+
import { _ as f, a as p, c as m, d as h, f as g, h as _, i as v, l as y, m as b, o as x, p as S, r as C, s as w, u as T } from "./data-skwk1u79.js";
|
|
17
16
|
//#region src/components/Mapbox/Mapbox.tsx
|
|
18
17
|
var E = /* @__PURE__ */ e(r(), 1), D = /* @__PURE__ */ e(f(), 1), O = /* @__PURE__ */ e(t(), 1), k = n();
|
|
19
18
|
function A() {
|
|
20
|
-
let e = (0, O.useRef)(null), t = (0, O.useRef)(null), n = null, r = [], f =
|
|
19
|
+
let e = (0, O.useRef)(null), t = (0, O.useRef)(null), n = null, r = [], f = i(() => ({
|
|
21
20
|
get initselected() {
|
|
22
21
|
return ![...l.selectedBooths].filter((e) => e.rect);
|
|
23
22
|
},
|
|
@@ -44,7 +43,7 @@ function A() {
|
|
|
44
43
|
accessToken: x.token
|
|
45
44
|
}), T(t.current), t.current.on("load", async () => {
|
|
46
45
|
var e;
|
|
47
|
-
setTimeout(() => p(f.initselected ?
|
|
46
|
+
setTimeout(() => p(f.initselected ? o.fromMultiple([...l.selectedBooths].filter((e) => e.rect).map((e) => e.rect)) : a, 15, 4e3), 1500), t.current.setLight({
|
|
48
47
|
anchor: "viewport",
|
|
49
48
|
color: "white",
|
|
50
49
|
intensity: 0
|
|
@@ -100,15 +99,15 @@ function A() {
|
|
|
100
99
|
g(c.mapboxStore.showMapbox);
|
|
101
100
|
}), d(() => l.moveToBooths, () => {
|
|
102
101
|
if (!l.moveToBooths || !c.mapboxStore.showMapbox) return;
|
|
103
|
-
let e = l.moveToBooths.filter((e) => e.rect).map((e) => e.rect), t =
|
|
102
|
+
let e = l.moveToBooths.filter((e) => e.rect).map((e) => e.rect), t = o.fromMultiple(e);
|
|
104
103
|
e.length && p(t), l.moveToBooths = null;
|
|
105
104
|
}), d(() => l.moveToRect, () => {
|
|
106
105
|
!l.moveToRect || !c.mapboxStore.showMapbox || (p(l.moveToRect, 15), l.moveToRect = null);
|
|
107
106
|
}), d(() => l.moveToLocation, () => {
|
|
108
107
|
!l.moveToLocation || !c.mapboxStore.showMapbox || v();
|
|
109
108
|
}), d(() => l.centerMap, () => {
|
|
110
|
-
!l.centerMap || !c.mapboxStore.showMapbox || (p(
|
|
111
|
-
}), d(() => c.routeStore.routeLines, () => b(c.routeStore)), d(() => f.actualCurrentPosition, () => h("cp", f.actualCurrentPosition)),
|
|
109
|
+
!l.centerMap || !c.mapboxStore.showMapbox || (p(o.fromMultiple(u.booths.map((e) => e.rect)), 15), l.centerMap = !1);
|
|
110
|
+
}), d(() => c.routeStore.routeLines, () => b(c.routeStore)), d(() => f.actualCurrentPosition, () => h("cp", f.actualCurrentPosition)), s(() => /* @__PURE__ */ (0, k.jsx)("div", {
|
|
112
111
|
style: f.style,
|
|
113
112
|
className: (0, E.default)("map-container", { hidden: !c.mapboxStore.showMapbox }),
|
|
114
113
|
children: /* @__PURE__ */ (0, k.jsx)("div", {
|
|
@@ -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.2.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.2.15" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "76060991-bd3d-4f5b-b33e-f3546313814d", e._sentryDebugIdIdentifier = "sentry-dbid-76060991-bd3d-4f5b-b33e-f3546313814d");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
13
|
-
import { s as i } from "./i18n-
|
|
14
|
-
import { t as a } from "./react-dom-
|
|
15
|
-
import { t as o } from "./classnames-
|
|
16
|
-
import {
|
|
17
|
-
import { t as c } from "./useRenderTarget-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-CjpvzON0.js";
|
|
11
|
+
import { t as n } from "./react-rZ_JGNQ0.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-GedjzT5I.js";
|
|
13
|
+
import { s as i } from "./i18n-CP_v4NP8.js";
|
|
14
|
+
import { t as a } from "./react-dom-DkrEia96.js";
|
|
15
|
+
import { t as o } from "./classnames-BqJalg-Q.js";
|
|
16
|
+
import { Zn as s } from "./store-Bu3dElQ9.js";
|
|
17
|
+
import { t as c } from "./useRenderTarget-CakmKdKK.js";
|
|
18
18
|
//#region src/components/Modal.scss
|
|
19
19
|
var l = /* @__PURE__ */ t(n(), 1), u = /* @__PURE__ */ t(a(), 1), d = /* @__PURE__ */ t(o(), 1), f = /* @__PURE__ */ e({ default: () => m }), p = r(), m = ({ open: e, className: t, type: n = "default", title: r, badge: a, maxWidth: o, children: f, closeLabel: m, footerLeft: h = [], footerRight: g = [], onClickClose: _ }) => {
|
|
20
20
|
let v = c(), y = (0, l.useRef)(null), [b, x] = (0, l.useState)(e), [S, C] = (0, l.useState)(e);
|
|
@@ -1,30 +1,29 @@
|
|
|
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.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.15" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "47b86c50-5b4a-4587-a3c2-5cbc0ebaf519", e._sentryDebugIdIdentifier = "sentry-dbid-47b86c50-5b4a-4587-a3c2-5cbc0ebaf519");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { t as l } from "./KioskStore-CYaE9WLG.js";
|
|
9
|
+
import { r as e } from "./rolldown-runtime-CjpvzON0.js";
|
|
10
|
+
import { t } from "./react-rZ_JGNQ0.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-GedjzT5I.js";
|
|
12
|
+
import { Mt as r, Nt as i, Qn as a, k as o, o as s } from "./store-Bu3dElQ9.js";
|
|
13
|
+
import { n as c } from "./mobx-CekPL2_6.js";
|
|
14
|
+
import { t as l } from "./KioskStore-_SCgPIgh.js";
|
|
16
15
|
//#region src/components/Kiosk/SetKioskMode.tsx
|
|
17
|
-
var u = /* @__PURE__ */ e(t(), 1), d = n(), f =
|
|
16
|
+
var u = /* @__PURE__ */ e(t(), 1), d = n(), f = a(() => {
|
|
18
17
|
var e, t, n;
|
|
19
18
|
c(() => {
|
|
20
19
|
Promise.resolve().then(() => l.handleSetupReady());
|
|
21
20
|
}), (0, u.useEffect)(() => {
|
|
22
21
|
let e = ({ ptScale: e, sceneId: t }) => {
|
|
23
|
-
|
|
22
|
+
r(t) && l.setInitialPtScale(e);
|
|
24
23
|
};
|
|
25
24
|
l.renderer.events.addEventListener("viewport:ptscale", e);
|
|
26
25
|
let t = ({ data: e }) => {
|
|
27
|
-
let { point: t } =
|
|
26
|
+
let { point: t } = i(e);
|
|
28
27
|
l.handleClick(t);
|
|
29
28
|
};
|
|
30
29
|
l.renderer.events.addEventListener("pointer:click", t);
|
|
@@ -33,19 +32,19 @@ var u = /* @__PURE__ */ e(t(), 1), d = n(), f = r(() => {
|
|
|
33
32
|
l.renderer.events.removeEventListener("viewport:ptscale", e), l.renderer.events.removeEventListener("pointer:click", t), l.renderer.events.removeEventListener("navigation:change", n);
|
|
34
33
|
};
|
|
35
34
|
}, [l.renderer]);
|
|
36
|
-
let
|
|
35
|
+
let a = !!l.kiosk;
|
|
37
36
|
return /* @__PURE__ */ (0, d.jsx)(o, {
|
|
38
|
-
isSaveDisabled:
|
|
39
|
-
isDeleteDisabled: !
|
|
40
|
-
areControlsDisabled: !
|
|
41
|
-
confirmOnClose:
|
|
37
|
+
isSaveDisabled: a ? !l.hasUnsavedChanges : !0,
|
|
38
|
+
isDeleteDisabled: !a,
|
|
39
|
+
areControlsDisabled: !a,
|
|
40
|
+
confirmOnClose: a ? l.hasUnsavedChanges : !1,
|
|
42
41
|
angle: ((e = l.kiosk) == null ? void 0 : e.heading) || 0,
|
|
43
42
|
uiScale: ((t = l.kiosk) == null ? void 0 : t.uiScale) || s.uiState.uiScale,
|
|
44
43
|
minUiScale: s.uiState.minUIScale,
|
|
45
44
|
maxUiScale: s.uiState.maxUIScale,
|
|
46
45
|
uiScaleStep: .01,
|
|
47
46
|
iconSizePercent: ((n = l.kiosk) == null ? void 0 : n.iconSizePercent) || 100,
|
|
48
|
-
isInfoVisible: !
|
|
47
|
+
isInfoVisible: !a,
|
|
49
48
|
statusMessages: l.statusMessages,
|
|
50
49
|
onClose: () => l.handleClose(),
|
|
51
50
|
onDelete: () => l.handleDelete(),
|
|
@@ -1,20 +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.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.15" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "93573005-960c-470c-86f8-eb036d915ea6", e._sentryDebugIdIdentifier = "sentry-dbid-93573005-960c-470c-86f8-eb036d915ea6");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import "./rolldown-runtime-
|
|
10
|
-
import { t as e } from "./react-
|
|
11
|
-
import { t } from "./jsx-runtime-
|
|
12
|
-
import "./i18n-
|
|
13
|
-
import { n } from "./
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as c } from "./KioskStore-CYaE9WLG.js";
|
|
9
|
+
import "./rolldown-runtime-CjpvzON0.js";
|
|
10
|
+
import { t as e } from "./react-rZ_JGNQ0.js";
|
|
11
|
+
import { t } from "./jsx-runtime-GedjzT5I.js";
|
|
12
|
+
import "./i18n-CP_v4NP8.js";
|
|
13
|
+
import { Qn as n, T as r, o as i, w as a } from "./store-Bu3dElQ9.js";
|
|
14
|
+
import { n as o } from "./mobx-CekPL2_6.js";
|
|
15
|
+
import { t as s } from "./TouchHand-BRrA4ToI.js";
|
|
16
|
+
import { t as c } from "./KioskStore-_SCgPIgh.js";
|
|
18
17
|
e();
|
|
19
18
|
var l = t(), u = n(() => (o(() => {
|
|
20
19
|
if (localStorage.getItem("kiosk") === "0") return;
|