@expofp/floorplan 3.1.2 → 3.1.4
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-YALfakcg.js → CookieConsent-A4g2GEnB.js} +1104 -1098
- package/dist/browser/{Debug-Dienfacq.js → Debug-okM_H6zB.js} +7 -7
- package/dist/browser/{Demo-BbY4PJhj.js → Demo-3Yx1xi6F.js} +11 -11
- package/dist/browser/{Free-BlfLzpZ4.js → Free-Iqh_45NP.js} +11 -11
- package/dist/browser/{Gallery-BJ8RKc0W.js → Gallery-CMu4jjUa.js} +16 -16
- package/dist/browser/{GpsLoader-C-qC7AlJ.js → GpsLoader-xmUlSf3T.js} +27 -27
- package/dist/browser/{KioskStore-umOa7R8-.js → KioskStore-DomUDeuw.js} +39 -39
- package/dist/browser/{Mapbox-BQKwe6gC.js → Mapbox-D3-e_F58.js} +14 -14
- package/dist/browser/SetKioskMode-BOvxWaGI.js +54 -0
- package/dist/browser/ShowKiosk-xp1WbCm-.js +26 -0
- package/dist/browser/{ThreeComponent-YJ6J3gEv.js → ThreeComponent-C7dPjvKl.js} +219 -219
- package/dist/browser/{TouchHand-DtBzj-Bj.js → TouchHand-QzRQPyEl.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-Cv7KW_rT.js → ViewerMenuPanel-lREjYMl2.js} +20 -20
- package/dist/browser/{add-debug-secret-listener-BRth-pLl.js → add-debug-secret-listener-s_Acfb_j.js} +1 -1
- package/dist/browser/{boolean-editor-D_18BAC7.js → boolean-editor-BN7VDvLb.js} +6 -6
- package/dist/browser/bootIntercom-BsKv9v5g.js +40 -0
- package/dist/browser/bundle.json +46 -43
- package/dist/browser/{chunk-BjP-W_8B.js → chunk-CilcQ-DK.js} +1 -1
- package/dist/browser/{classnames-nDCZdn8S.js → classnames-BG0vlDcj.js} +2 -2
- package/dist/browser/{client-CHtTpwEK.js → client-CfMi8siJ.js} +4 -4
- package/dist/browser/{data-DRzLxQO7.js → data-a-dtD_1P.js} +49 -49
- package/dist/browser/{debug-overlay-B8CWKuKY.js → debug-overlay-CoH7X4al.js} +8 -8
- package/dist/browser/{debug-ui-DUF5K4cu.js → debug-ui-DouD3wg5.js} +6 -6
- package/dist/browser/{dist-C0wOn0VY.js → dist-CzsjAsAg.js} +5 -5
- package/dist/browser/{exports-DJDFfUko.js → exports-BWEh5Wje.js} +1 -1
- package/dist/browser/{favicon-DtqguaGB.js → favicon-CmG6QFs2.js} +1 -1
- package/dist/browser/{fetch-retry.umd-B8F2bkss.js → fetch-retry.umd-B_g_JELw.js} +2 -2
- package/dist/browser/{flex-DCHbgjnw.js → flex-BQA_6ztI.js} +6 -6
- package/dist/browser/{floorplan.loader-CTycsBPj.js → floorplan.loader-CrKDeH3d.js} +656 -679
- package/dist/browser/{floorplan.ready-D8TO96JJ.js → floorplan.ready-xulLyTpM.js} +16 -15
- package/dist/browser/{fuse-BEUAG1Xp.js → fuse-Cxy73jl3.js} +2 -2
- package/dist/browser/index.js +11 -11
- package/dist/browser/{is-debug-C1gwybh0.js → is-debug-BMJczZcU.js} +2 -2
- package/dist/browser/{jsx-runtime-CGa6rouk.js → jsx-runtime-DDrJF8xL.js} +2 -2
- package/dist/browser/{lib-B-kSneKQ.js → lib-B1mH8TSv.js} +4 -4
- package/dist/browser/locales/ar.json +56 -16
- package/dist/browser/locales/de.json +56 -16
- package/dist/browser/locales/es.json +56 -16
- package/dist/browser/locales/fr.json +56 -16
- package/dist/browser/locales/he.json +56 -16
- package/dist/browser/locales/it.json +56 -16
- package/dist/browser/locales/kk.json +56 -16
- package/dist/browser/locales/ko.json +56 -16
- package/dist/browser/locales/mn.json +56 -16
- package/dist/browser/locales/nl.json +56 -16
- package/dist/browser/locales/pl.json +56 -16
- package/dist/browser/locales/pt.json +56 -16
- package/dist/browser/locales/ru.json +60 -20
- package/dist/browser/locales/sv.json +56 -16
- package/dist/browser/locales/th.json +56 -16
- package/dist/browser/locales/tr.json +56 -16
- package/dist/browser/locales/uk.json +56 -16
- package/dist/browser/locales/vi.json +56 -16
- package/dist/browser/locales/zh.json +56 -16
- package/dist/browser/{main-DscTVUQ0.js → main-CTfIntH-.js} +1 -1
- package/dist/browser/{mobx-DfjpWyaW.js → mobx-CNTM25Oc.js} +4 -4
- package/dist/browser/{particles.min-Biy-VbhD.js → particles.min-DHOz1yro.js} +2 -2
- package/dist/browser/{prop-types-BKhIyeNo.js → prop-types-B-y83www.js} +2 -2
- package/dist/browser/{react-19U-5m1O.js → react-VoeHpohi.js} +2 -2
- package/dist/browser/{react-dom-BeWJor3U.js → react-dom-CN7XBo22.js} +3 -3
- package/dist/browser/{reset-all-settings-DbzRwd74.js → reset-all-settings-x3j4rKGC.js} +1 -1
- package/dist/browser/{settings-CH8qvuVX.js → settings-DYv1eHiY.js} +6 -6
- package/dist/browser/{src-_zgzV95f.js → src-CdV1RTUv.js} +4 -4
- package/dist/browser/{store-CwvDErjP.js → store-BkBqfYWF.js} +3803 -3345
- package/dist/browser/{ui-I67QXE1I.js → ui-DqL_r_LU.js} +6 -6
- package/dist/esm/components/Alert.js +1 -1
- package/dist/esm/components/Autocomplete.js +1 -1
- package/dist/esm/components/BaseFilterModal.js +1 -1
- package/dist/esm/components/EntityItem.js +1 -1
- package/dist/esm/components/EntityList.js +1 -1
- package/dist/esm/components/EventBadge.js +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/HeatmapLegend.js +1 -1
- package/dist/esm/components/Kiosk/KioskStore.d.ts +3 -2
- package/dist/esm/components/Kiosk/KioskStore.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/FormInput/RangeInput.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.js +1 -1
- package/dist/esm/components/Kiosk/SetKioskMode.js +1 -1
- package/dist/esm/components/LanguageRow.js +1 -1
- package/dist/esm/components/LevelBadge.js +1 -1
- package/dist/esm/components/LevelSelector.js +1 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/canvases.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-wf.js +1 -1
- package/dist/esm/components/Map/traffic/useBuildRoute.js +4 -4
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/components/Map/visibleArea.d.ts +3 -3
- package/dist/esm/components/Map/visibleArea.js +1 -1
- package/dist/esm/components/MarketMaterialList.js +1 -1
- package/dist/esm/components/Overlay.js +1 -1
- package/dist/esm/components/OverlayGrip.d.ts +0 -1
- package/dist/esm/components/OverlayGrip.js +1 -1
- package/dist/esm/components/Share.js +1 -1
- package/dist/esm/components/Shortcuts/ShortcutButton.js +1 -1
- package/dist/esm/components/Shortcuts/ShortcutsFiltersButton.js +1 -1
- package/dist/esm/components/ViewerMenuPanel.js +1 -1
- package/dist/esm/components/WayInformation.js +1 -1
- package/dist/esm/components/WayfindingFloorSelector.js +1 -1
- package/dist/esm/components/YahRow.js +1 -1
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/intercom/bootIntercom.d.ts +3 -0
- package/dist/esm/intercom/bootIntercom.js +19 -0
- package/dist/esm/intercom/index.d.ts +3 -0
- package/dist/esm/intercom/index.js +1 -0
- package/dist/esm/intercom/shouldLoad.d.ts +4 -0
- package/dist/esm/intercom/shouldLoad.js +1 -0
- package/dist/esm/intercom/types.d.ts +6 -0
- package/dist/esm/intercom/types.js +1 -0
- package/dist/esm/renderer/RendererService.js +1 -1
- package/dist/esm/renderer/engine-core/defs.d.ts +7 -1
- package/dist/esm/renderer/engine-core/defs.js +3 -3
- package/dist/esm/store/SearchButtonsStore.d.ts +1 -1
- package/dist/esm/store/SearchStore.d.ts +1 -1
- package/dist/esm/store/SearchStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +1 -1
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/init-heatmap.js +1 -1
- package/dist/esm/store/init/init-ui.js +1 -1
- package/package.json +4 -4
- package/dist/browser/SetKioskMode-B4WkaonJ.js +0 -49
- package/dist/browser/ShowKiosk-CwQsYu6G.js +0 -26
- package/dist/esm/tools/intercom.d.ts +0 -12
- package/dist/esm/tools/intercom.js +0 -19
|
@@ -2,16 +2,16 @@ 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.1.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.1.4" };
|
|
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] = "896389ad-b982-498e-ba61-f3ece315351f", e._sentryDebugIdIdentifier = "sentry-dbid-896389ad-b982-498e-ba61-f3ece315351f");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import { u as e } from "./is-debug-
|
|
12
|
-
import { t } from "./react-
|
|
13
|
-
import { t as n } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
10
|
+
import "./chunk-CilcQ-DK.js";
|
|
11
|
+
import { u as e } from "./is-debug-BMJczZcU.js";
|
|
12
|
+
import { t } from "./react-VoeHpohi.js";
|
|
13
|
+
import { t as n } from "./jsx-runtime-DDrJF8xL.js";
|
|
14
|
+
import { Qn as r, a as i, o as a } from "./store-BkBqfYWF.js";
|
|
15
15
|
t();
|
|
16
16
|
var o = [], s = n();
|
|
17
17
|
function c() {
|
|
@@ -2,22 +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.1.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.1.4" };
|
|
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] = "96ecd900-9200-4906-b02b-d72f83e49455", e._sentryDebugIdIdentifier = "sentry-dbid-96ecd900-9200-4906-b02b-d72f83e49455");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./chunk-
|
|
11
|
-
import { u as n } from "./is-debug-
|
|
12
|
-
import { t as r } from "./react-
|
|
13
|
-
import { t as i } from "./jsx-runtime-
|
|
14
|
-
import { t as a } from "./classnames-
|
|
15
|
-
import {
|
|
16
|
-
import { n as l } from "./mobx-
|
|
10
|
+
import { n as e, r as t } from "./chunk-CilcQ-DK.js";
|
|
11
|
+
import { u as n } from "./is-debug-BMJczZcU.js";
|
|
12
|
+
import { t as r } from "./react-VoeHpohi.js";
|
|
13
|
+
import { t as i } from "./jsx-runtime-DDrJF8xL.js";
|
|
14
|
+
import { t as a } from "./classnames-BG0vlDcj.js";
|
|
15
|
+
import { Qn as o, Zn as s, o as c } from "./store-BkBqfYWF.js";
|
|
16
|
+
import { n as l } from "./mobx-CNTM25Oc.js";
|
|
17
17
|
r();
|
|
18
18
|
var u = /* @__PURE__ */ t(a(), 1), d = /* @__PURE__ */ e({ default: () => m }), f = i(), p = "note-dismissed5";
|
|
19
19
|
function m() {
|
|
20
|
-
let e =
|
|
20
|
+
let e = s(() => ({
|
|
21
21
|
hidden: !0,
|
|
22
22
|
get top() {
|
|
23
23
|
return c.screenSize.width <= 820;
|
|
@@ -34,7 +34,7 @@ function m() {
|
|
|
34
34
|
sessionStorage.getItem(p) || window.setTimeout(() => {
|
|
35
35
|
e.hidden = !1;
|
|
36
36
|
}, 2e3);
|
|
37
|
-
}),
|
|
37
|
+
}), o(() => /* @__PURE__ */ (0, f.jsx)("div", {
|
|
38
38
|
className: e.classes,
|
|
39
39
|
children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
|
|
40
40
|
className: "demo__message",
|
|
@@ -2,22 +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.1.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.1.4" };
|
|
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] = "ec6a3712-3880-46f5-a401-542b8c9311d4", e._sentryDebugIdIdentifier = "sentry-dbid-ec6a3712-3880-46f5-a401-542b8c9311d4");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e } from "./chunk-
|
|
11
|
-
import { u as t } from "./is-debug-
|
|
12
|
-
import { t as n } from "./react-
|
|
13
|
-
import { t as r } from "./jsx-runtime-
|
|
14
|
-
import { t as i } from "./classnames-
|
|
15
|
-
import {
|
|
16
|
-
import { n as u } from "./mobx-
|
|
10
|
+
import { r as e } from "./chunk-CilcQ-DK.js";
|
|
11
|
+
import { u as t } from "./is-debug-BMJczZcU.js";
|
|
12
|
+
import { t as n } from "./react-VoeHpohi.js";
|
|
13
|
+
import { t as r } from "./jsx-runtime-DDrJF8xL.js";
|
|
14
|
+
import { t as i } from "./classnames-BG0vlDcj.js";
|
|
15
|
+
import { Qn as a, Zn as o, c as s, l as c, o as l } from "./store-BkBqfYWF.js";
|
|
16
|
+
import { n as u } from "./mobx-CNTM25Oc.js";
|
|
17
17
|
n();
|
|
18
18
|
var d = /* @__PURE__ */ e(i(), 1), f = r();
|
|
19
19
|
function p() {
|
|
20
|
-
let e =
|
|
20
|
+
let e = o(() => ({
|
|
21
21
|
hidden: !0,
|
|
22
22
|
get classes() {
|
|
23
23
|
return (0, d.default)("free", { hidden: this.hidden });
|
|
@@ -27,7 +27,7 @@ function p() {
|
|
|
27
27
|
l.freeBannerDismissed || window.setTimeout(() => {
|
|
28
28
|
e.hidden = !1;
|
|
29
29
|
}, 2e3);
|
|
30
|
-
}),
|
|
30
|
+
}), a(() => /* @__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",
|
|
@@ -2,18 +2,18 @@ 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.1.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.1.4" };
|
|
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] = "1d240964-2269-41f2-9fd1-2aca2c00471c", e._sentryDebugIdIdentifier = "sentry-dbid-1d240964-2269-41f2-9fd1-2aca2c00471c");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./chunk-
|
|
11
|
-
import { u as n } from "./is-debug-
|
|
12
|
-
import { t as r } from "./react-
|
|
13
|
-
import { t as i } from "./react-dom-
|
|
14
|
-
import { t as a } from "./jsx-runtime-
|
|
15
|
-
import { t as o } from "./classnames-
|
|
16
|
-
import {
|
|
10
|
+
import { n as e, r as t } from "./chunk-CilcQ-DK.js";
|
|
11
|
+
import { u as n } from "./is-debug-BMJczZcU.js";
|
|
12
|
+
import { t as r } from "./react-VoeHpohi.js";
|
|
13
|
+
import { t as i } from "./react-dom-CN7XBo22.js";
|
|
14
|
+
import { t as a } from "./jsx-runtime-DDrJF8xL.js";
|
|
15
|
+
import { t as o } from "./classnames-BG0vlDcj.js";
|
|
16
|
+
import { Xn as s, o as c } from "./store-BkBqfYWF.js";
|
|
17
17
|
//#region src/utils/getRenderTargetFromRoot.ts
|
|
18
18
|
var l = /* @__PURE__ */ t(r(), 1), u = /* @__PURE__ */ t(i(), 1), d = a(), f = /* @__PURE__ */ t(o(), 1);
|
|
19
19
|
function p(e) {
|
|
@@ -29,16 +29,16 @@ function p(e) {
|
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/utils/useRenderTarget.ts
|
|
31
31
|
var m = () => {
|
|
32
|
-
let [e, t] = (0, l.useState)(() => p(
|
|
32
|
+
let [e, t] = (0, l.useState)(() => p(c.rootElement));
|
|
33
33
|
return (0, l.useEffect)(() => {
|
|
34
34
|
var e, n;
|
|
35
|
-
if (typeof window > "u" || !
|
|
35
|
+
if (typeof window > "u" || !c.rootElement) return;
|
|
36
36
|
let r = !1, i = null, a = () => {
|
|
37
|
-
let e = p(
|
|
37
|
+
let e = p(c.rootElement);
|
|
38
38
|
return e && !r ? (t((t) => t === e ? t : e), !0) : !1;
|
|
39
39
|
};
|
|
40
40
|
if (a()) return;
|
|
41
|
-
let o = (e = (n =
|
|
41
|
+
let o = (e = (n = c.rootElement.firstElementChild) == null ? void 0 : n.shadowRoot) == null ? c.rootElement : e;
|
|
42
42
|
return i = new MutationObserver(() => {
|
|
43
43
|
a() && i && i.disconnect();
|
|
44
44
|
}), i.observe(o, {
|
|
@@ -47,7 +47,7 @@ var m = () => {
|
|
|
47
47
|
}), () => {
|
|
48
48
|
r = !0, i && i.disconnect();
|
|
49
49
|
};
|
|
50
|
-
}, [
|
|
50
|
+
}, [c.rootElement]), e;
|
|
51
51
|
}, h = ({ count: e, onFullscreen: t }) => /* @__PURE__ */ (0, d.jsxs)(d.Fragment, { children: [/* @__PURE__ */ (0, d.jsxs)("div", {
|
|
52
52
|
className: "gallery__badge gallery__badge-count",
|
|
53
53
|
children: [/* @__PURE__ */ (0, d.jsx)("i", { className: "icon-image" }), /* @__PURE__ */ (0, d.jsx)("span", { children: e })]
|
|
@@ -3096,7 +3096,7 @@ var Ar = function(e) {
|
|
|
3096
3096
|
r(), n == null || n();
|
|
3097
3097
|
};
|
|
3098
3098
|
}, [e, t]);
|
|
3099
|
-
}, Nr =
|
|
3099
|
+
}, Nr = s(({ zoomIn: e, zoomOut: t, onClose: r }) => /* @__PURE__ */ (0, d.jsxs)("div", {
|
|
3100
3100
|
className: "gallery-slider__controls",
|
|
3101
3101
|
children: [
|
|
3102
3102
|
/* @__PURE__ */ (0, d.jsx)("button", {
|
|
@@ -3140,7 +3140,7 @@ var Ar = function(e) {
|
|
|
3140
3140
|
leading: t,
|
|
3141
3141
|
url: n
|
|
3142
3142
|
})
|
|
3143
|
-
})), Fr =
|
|
3143
|
+
})), Fr = s((e) => {
|
|
3144
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 = {
|
|
3145
3145
|
initialSlide: i,
|
|
3146
3146
|
draggable: !1,
|
|
@@ -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.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.4" };
|
|
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] = "9b0d3f71-968e-4367-a40d-dc3c6e9810ec", e._sentryDebugIdIdentifier = "sentry-dbid-9b0d3f71-968e-4367-a40d-dc3c6e9810ec");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./chunk-
|
|
10
|
-
import { Tt as t, u as n, ut as r } from "./is-debug-
|
|
11
|
-
import { t as i } from "./react-
|
|
12
|
-
import { t as a } from "./jsx-runtime-
|
|
13
|
-
import { M as o,
|
|
14
|
-
import { n as d } from "./CookieConsent-
|
|
15
|
-
import { r as f } from "./mobx-
|
|
9
|
+
import { r as e } from "./chunk-CilcQ-DK.js";
|
|
10
|
+
import { Tt as t, u as n, ut as r } from "./is-debug-BMJczZcU.js";
|
|
11
|
+
import { t as i } from "./react-VoeHpohi.js";
|
|
12
|
+
import { t as a } from "./jsx-runtime-DDrJF8xL.js";
|
|
13
|
+
import { M as o, Xn as s, a as c, et as l, gt as u } from "./store-BkBqfYWF.js";
|
|
14
|
+
import { n as d } from "./CookieConsent-A4g2GEnB.js";
|
|
15
|
+
import { r as f } from "./mobx-CNTM25Oc.js";
|
|
16
16
|
//#region src/components/gps/utils.ts
|
|
17
17
|
var p = /* @__PURE__ */ e(i(), 1);
|
|
18
18
|
function m(e) {
|
|
19
19
|
return Math.floor(e);
|
|
20
20
|
}
|
|
21
21
|
function h(e, t) {
|
|
22
|
-
return
|
|
22
|
+
return l(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 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),
|
|
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), c = (0, p.useRef)(!1), u = (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 =
|
|
37
|
-
|
|
36
|
+
let r = l(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 ? (
|
|
40
|
+
}) : (s.current = e, o = e) : r >= 3 ? (c.current = !0, s.current = e, u.current = null, o = e) : (u.current == null && (u.current = t), t - u.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
|
-
n.current != null && (navigator.geolocation.clearWatch(n.current), n.current = null), s.current = null,
|
|
71
|
+
n.current != null && (navigator.geolocation.clearWatch(n.current), n.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 = a(), x =
|
|
80
|
+
var b = a(), x = s(function({ isOpen: e, onAllow: t, onCancel: r }) {
|
|
81
81
|
return e ? /* @__PURE__ */ (0, b.jsx)(d, {
|
|
82
82
|
title: n("Show your position on the map"),
|
|
83
83
|
acceptText: n("Allow compass access"),
|
|
@@ -90,17 +90,17 @@ var b = a(), x = u(function({ isOpen: e, onAllow: t, onCancel: r }) {
|
|
|
90
90
|
//#endregion
|
|
91
91
|
//#region src/components/gps/GpsManager.tsx
|
|
92
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:
|
|
93
|
+
let { startOrientation: s, startGeolocation: c, stopOrientation: l, 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), c();
|
|
96
96
|
}, (e) => {
|
|
97
97
|
t.warn("Geolocation error:", e), m(!1);
|
|
98
98
|
}), () => {
|
|
99
|
-
|
|
99
|
+
l(), d();
|
|
100
100
|
}), [
|
|
101
101
|
c,
|
|
102
102
|
d,
|
|
103
|
-
|
|
103
|
+
l
|
|
104
104
|
]);
|
|
105
105
|
let _ = async () => {
|
|
106
106
|
typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(i, "true"), s(), g(!1), n == null || n());
|
|
@@ -108,7 +108,7 @@ function S({ onPositionUpdate: e, onAllowCompass: n, onRejectCompass: r, orienta
|
|
|
108
108
|
localStorage.setItem(i, "false"), g(!1), r == null || r();
|
|
109
109
|
}, [r]);
|
|
110
110
|
return (0, p.useEffect)(() => {
|
|
111
|
-
if (!f || !o || typeof navigator > "u" || !
|
|
111
|
+
if (!f || !o || typeof navigator > "u" || !u) return;
|
|
112
112
|
let e = localStorage.getItem(i);
|
|
113
113
|
if (!e || a) {
|
|
114
114
|
g(!0);
|
|
@@ -130,21 +130,21 @@ function S({ onPositionUpdate: e, onAllowCompass: n, onRejectCompass: r, orienta
|
|
|
130
130
|
//#region src/components/GpsLoader.tsx
|
|
131
131
|
function C({ requestCompassAllowed: e }) {
|
|
132
132
|
let [t, n] = (0, p.useState)(!1), i = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
|
|
133
|
-
|
|
133
|
+
c.routeStore.selectCurrentPosition(new o(0, 0, 0, n || r, e, t), !1);
|
|
134
134
|
}, []), a = (0, p.useCallback)(() => {
|
|
135
|
-
|
|
136
|
-
}, [n]),
|
|
137
|
-
|
|
135
|
+
c.routeStore.requestCompass = void 0, n(!1);
|
|
136
|
+
}, [n]), s = (0, p.useCallback)(() => {
|
|
137
|
+
c.routeStore.requestCompass = void 0, n(!1);
|
|
138
138
|
}, [n]);
|
|
139
|
-
return f(() =>
|
|
139
|
+
return f(() => c.uiState.hideCookieConsent, (e) => {
|
|
140
140
|
n(e);
|
|
141
|
-
}), f(() =>
|
|
141
|
+
}), f(() => c.routeStore.requestCompass, (e) => {
|
|
142
142
|
n(e);
|
|
143
143
|
}), /* @__PURE__ */ (0, b.jsx)(S, {
|
|
144
144
|
requestCompass: t,
|
|
145
145
|
requestCompassAllowed: e,
|
|
146
146
|
onRejectCompass: a,
|
|
147
|
-
onAllowCompass:
|
|
147
|
+
onAllowCompass: s,
|
|
148
148
|
orientationStorageKey: r,
|
|
149
149
|
onPositionUpdate: i
|
|
150
150
|
});
|
|
@@ -1,28 +1,28 @@
|
|
|
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.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.4" };
|
|
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] = "ccd369f8-096f-4998-ace0-eb63bb05de11", e._sentryDebugIdIdentifier = "sentry-dbid-ccd369f8-096f-4998-ace0-eb63bb05de11");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { S as e, b as t, h as n, p as r,
|
|
10
|
-
import { D as
|
|
9
|
+
import { S as e, b as t, h as n, p as r, u as i, v as a } from "./is-debug-BMJczZcU.js";
|
|
10
|
+
import { D as o, E as s, O as c, Ot as l, a as u, lt as d } from "./store-BkBqfYWF.js";
|
|
11
11
|
//#region src/components/Map/visibleArea.ts
|
|
12
|
-
function
|
|
13
|
-
let t = e.viewport.canvasToSvg({
|
|
12
|
+
function f(e) {
|
|
13
|
+
let t = l(e.viewport.canvasToSvg({
|
|
14
14
|
x: 0,
|
|
15
15
|
y: 0
|
|
16
|
-
}), n = e.viewport.canvasToSvg({
|
|
16
|
+
})), n = l(e.viewport.canvasToSvg({
|
|
17
17
|
x: e.canvas.clientWidth,
|
|
18
18
|
y: 0
|
|
19
|
-
}), r = e.viewport.canvasToSvg({
|
|
19
|
+
})), r = l(e.viewport.canvasToSvg({
|
|
20
20
|
x: 0,
|
|
21
21
|
y: e.canvas.clientHeight
|
|
22
|
-
}), i = e.viewport.canvasToSvg({
|
|
22
|
+
})), i = l(e.viewport.canvasToSvg({
|
|
23
23
|
x: e.canvas.clientWidth,
|
|
24
24
|
y: e.canvas.clientHeight
|
|
25
|
-
}), 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);
|
|
25
|
+
})), 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);
|
|
26
26
|
return {
|
|
27
27
|
x: a,
|
|
28
28
|
y: s,
|
|
@@ -38,14 +38,14 @@ function u(e) {
|
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
let n =
|
|
41
|
+
function p(e, t) {
|
|
42
|
+
let n = f(e);
|
|
43
43
|
return t.x >= n.left && t.x <= n.right && t.y >= n.bottom && t.y <= n.top;
|
|
44
44
|
}
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region src/components/Kiosk/KioskStore.ts
|
|
47
|
-
var
|
|
48
|
-
function
|
|
47
|
+
var m, h, g;
|
|
48
|
+
function _(e, t, n, r) {
|
|
49
49
|
n && Object.defineProperty(e, t, {
|
|
50
50
|
enumerable: n.enumerable,
|
|
51
51
|
configurable: n.configurable,
|
|
@@ -53,7 +53,7 @@ function h(e, t, n, r) {
|
|
|
53
53
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function v(e, t, n, r, i) {
|
|
57
57
|
var a = {};
|
|
58
58
|
return Object.keys(r).forEach(function(e) {
|
|
59
59
|
a[e] = r[e];
|
|
@@ -61,21 +61,21 @@ function g(e, t, n, r, i) {
|
|
|
61
61
|
return r(e, t, n) || n;
|
|
62
62
|
}, 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;
|
|
63
63
|
}
|
|
64
|
-
var
|
|
64
|
+
var y = new (m = class {
|
|
65
65
|
constructor() {
|
|
66
|
-
|
|
66
|
+
_(this, "savedKiosk", h, this), _(this, "statusMessages", g, this), this.statusMessageTimer = 0, this.initialPtScale = void 0;
|
|
67
67
|
}
|
|
68
68
|
get kiosk() {
|
|
69
|
-
return
|
|
69
|
+
return u.uiState.kioskData;
|
|
70
70
|
}
|
|
71
71
|
setKiosk(e) {
|
|
72
|
-
|
|
72
|
+
u.uiState.setKioskData(e);
|
|
73
73
|
}
|
|
74
74
|
get renderer() {
|
|
75
|
-
return
|
|
75
|
+
return u.rendererService.renderer;
|
|
76
76
|
}
|
|
77
77
|
getCameraState() {
|
|
78
|
-
let e =
|
|
78
|
+
let e = u.rendererService.getCameraState();
|
|
79
79
|
return e ? {
|
|
80
80
|
mapInitialPtScale: this.initialPtScale,
|
|
81
81
|
mapPtScale: e.ptScale,
|
|
@@ -113,23 +113,23 @@ var _ = new (f = class {
|
|
|
113
113
|
roll: !0,
|
|
114
114
|
pitch: !0
|
|
115
115
|
}, !0), t(() => {
|
|
116
|
-
Number.isFinite(r) && Number.isFinite(i) && i > 0 && this.renderer.controls.zoomBy(r / i, !0), Number.isFinite(a) && Number.isFinite(o) && this.renderer.controls.panTo(a, o, !0), Number.isFinite(n) && this.renderer.controls.rollTo(n, !0), e &&
|
|
116
|
+
Number.isFinite(r) && Number.isFinite(i) && i > 0 && this.renderer.controls.zoomBy(r / i, !0), Number.isFinite(a) && Number.isFinite(o) && this.renderer.controls.panTo(a, o, !0), Number.isFinite(n) && this.renderer.controls.rollTo(n, !0), e && u.fp.activateFloor({ name: e });
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
119
|
restoreData() {
|
|
120
|
-
let e =
|
|
121
|
-
return e && (this.setKiosk(e), this.savedKiosk = e,
|
|
120
|
+
let e = s();
|
|
121
|
+
return e && (this.setKiosk(e), this.savedKiosk = e, u.uiState.kiosk = !0, this.resetCamera()), e;
|
|
122
122
|
}
|
|
123
123
|
handleSetupReady() {
|
|
124
|
-
this.restoreData(),
|
|
124
|
+
this.restoreData(), u.uiState.kiosk = !0, u.uiState.hideFreeOrDemo = !0, u.uiState.setForceDimm(!0), u.searchStore.setSearchText(""), u.searchStore.setFocused(!1);
|
|
125
125
|
}
|
|
126
126
|
handleClose() {
|
|
127
|
-
this.setKiosk(null),
|
|
127
|
+
this.setKiosk(null), u.uiState.setForceDimm(!1), u.uiState.enableSetKioskMode(!1), u.searchStore.closeSearch(), this.resetCamera();
|
|
128
128
|
}
|
|
129
129
|
handleDelete() {
|
|
130
|
-
|
|
130
|
+
o(), this.setKiosk(null), u.uiState.resetMapSettings(), u.uiState.resetUIScale(), this.resetCamera(), this.addStatusMessage({
|
|
131
131
|
variant: "success",
|
|
132
|
-
title: "Deleted"
|
|
132
|
+
title: i("Deleted")
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
135
|
handleSave() {
|
|
@@ -137,16 +137,16 @@ var _ = new (f = class {
|
|
|
137
137
|
...t,
|
|
138
138
|
...n
|
|
139
139
|
};
|
|
140
|
-
if (!
|
|
140
|
+
if (!p(this.renderer, r)) {
|
|
141
141
|
this.addStatusMessage({
|
|
142
142
|
variant: "error",
|
|
143
|
-
title: "Kiosk not visible"
|
|
143
|
+
title: i("Kiosk not visible")
|
|
144
144
|
});
|
|
145
145
|
return;
|
|
146
146
|
}
|
|
147
|
-
this.setKiosk(r),
|
|
147
|
+
this.setKiosk(r), c(r), u.uiState.setUIScale(r.uiScale, !0), this.addStatusMessage({
|
|
148
148
|
variant: "success",
|
|
149
|
-
title: "Saved"
|
|
149
|
+
title: i("Saved")
|
|
150
150
|
}), this.savedKiosk = r;
|
|
151
151
|
}
|
|
152
152
|
delayChange(e) {
|
|
@@ -160,7 +160,7 @@ var _ = new (f = class {
|
|
|
160
160
|
}), Number.isFinite(t.scale) && (this.setKiosk({
|
|
161
161
|
...n,
|
|
162
162
|
uiScale: t.scale
|
|
163
|
-
}), this.delayChange(() =>
|
|
163
|
+
}), this.delayChange(() => u.uiState.setUIScale(t.scale, !1))), Number.isFinite(t.percent) && this.setKiosk({
|
|
164
164
|
...n,
|
|
165
165
|
iconSizePercent: t.percent
|
|
166
166
|
}));
|
|
@@ -174,9 +174,9 @@ var _ = new (f = class {
|
|
|
174
174
|
mapInitialPtScale: t
|
|
175
175
|
});
|
|
176
176
|
}
|
|
177
|
-
handleClick(
|
|
177
|
+
handleClick(t) {
|
|
178
178
|
var n;
|
|
179
|
-
let r = e(this.kiosk), i =
|
|
179
|
+
let r = e(this.kiosk), i = u.fp.getFloors(), a = d() ? (n = i.find((e) => e.active)) == null ? void 0 : n.name : null, o = u.uiState.uiScale;
|
|
180
180
|
this.setKiosk({
|
|
181
181
|
...r,
|
|
182
182
|
x: t.x,
|
|
@@ -195,18 +195,18 @@ var _ = new (f = class {
|
|
|
195
195
|
...this.getCameraState()
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
},
|
|
198
|
+
}, v(m.prototype, "kiosk", [n], Object.getOwnPropertyDescriptor(m.prototype, "kiosk"), m.prototype), v(m.prototype, "setKiosk", [r], Object.getOwnPropertyDescriptor(m.prototype, "setKiosk"), m.prototype), v(m.prototype, "renderer", [n], Object.getOwnPropertyDescriptor(m.prototype, "renderer"), m.prototype), h = v(m.prototype, "savedKiosk", [a], {
|
|
199
199
|
configurable: !0,
|
|
200
200
|
enumerable: !0,
|
|
201
201
|
writable: !0,
|
|
202
202
|
initializer: null
|
|
203
|
-
}),
|
|
203
|
+
}), v(m.prototype, "hasUnsavedChanges", [n], Object.getOwnPropertyDescriptor(m.prototype, "hasUnsavedChanges"), m.prototype), g = v(m.prototype, "statusMessages", [a], {
|
|
204
204
|
configurable: !0,
|
|
205
205
|
enumerable: !0,
|
|
206
206
|
writable: !0,
|
|
207
207
|
initializer: function() {
|
|
208
208
|
return [];
|
|
209
209
|
}
|
|
210
|
-
}),
|
|
210
|
+
}), v(m.prototype, "addStatusMessage", [r], Object.getOwnPropertyDescriptor(m.prototype, "addStatusMessage"), m.prototype), v(m.prototype, "clearStatusMessages", [r], Object.getOwnPropertyDescriptor(m.prototype, "clearStatusMessages"), m.prototype), v(m.prototype, "startCleanupMessages", [r], Object.getOwnPropertyDescriptor(m.prototype, "startCleanupMessages"), m.prototype), v(m.prototype, "resetCamera", [r], Object.getOwnPropertyDescriptor(m.prototype, "resetCamera"), m.prototype), v(m.prototype, "restoreData", [r], Object.getOwnPropertyDescriptor(m.prototype, "restoreData"), m.prototype), v(m.prototype, "handleSetupReady", [r], Object.getOwnPropertyDescriptor(m.prototype, "handleSetupReady"), m.prototype), v(m.prototype, "handleClose", [r], Object.getOwnPropertyDescriptor(m.prototype, "handleClose"), m.prototype), v(m.prototype, "handleDelete", [r], Object.getOwnPropertyDescriptor(m.prototype, "handleDelete"), m.prototype), v(m.prototype, "handleSave", [r], Object.getOwnPropertyDescriptor(m.prototype, "handleSave"), m.prototype), v(m.prototype, "handleChange", [r], Object.getOwnPropertyDescriptor(m.prototype, "handleChange"), m.prototype), v(m.prototype, "setInitialPtScale", [r], Object.getOwnPropertyDescriptor(m.prototype, "setInitialPtScale"), m.prototype), v(m.prototype, "handleClick", [r], Object.getOwnPropertyDescriptor(m.prototype, "handleClick"), m.prototype), v(m.prototype, "handleNavigationChange", [r], Object.getOwnPropertyDescriptor(m.prototype, "handleNavigationChange"), m.prototype), m)();
|
|
211
211
|
//#endregion
|
|
212
|
-
export {
|
|
212
|
+
export { y as t };
|
|
@@ -1,22 +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.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.4" };
|
|
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] = "0d8b796c-a748-449c-8ed2-96cc32de21e5", e._sentryDebugIdIdentifier = "sentry-dbid-0d8b796c-a748-449c-8ed2-96cc32de21e5");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./chunk-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { t as r } from "./classnames-
|
|
13
|
-
import { Gn as i,
|
|
14
|
-
import { r as d } from "./mobx-
|
|
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-
|
|
9
|
+
import { r as e } from "./chunk-CilcQ-DK.js";
|
|
10
|
+
import { t } from "./react-VoeHpohi.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-DDrJF8xL.js";
|
|
12
|
+
import { t as r } from "./classnames-BG0vlDcj.js";
|
|
13
|
+
import { Gn as i, Jn as a, Qn as o, Zn as s, a as c, o as l, t as u } from "./store-BkBqfYWF.js";
|
|
14
|
+
import { r as d } from "./mobx-CNTM25Oc.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-a-dtD_1P.js";
|
|
16
16
|
//#region src/components/Mapbox/Mapbox.tsx
|
|
17
17
|
var E = /* @__PURE__ */ e(r(), 1), D = /* @__PURE__ */ e(f(), 1), O = /* @__PURE__ */ e(t(), 1), k = n();
|
|
18
18
|
function A() {
|
|
19
|
-
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 = s(() => ({
|
|
20
20
|
get initselected() {
|
|
21
21
|
return ![...l.selectedBooths].filter((e) => e.rect);
|
|
22
22
|
},
|
|
@@ -43,7 +43,7 @@ function A() {
|
|
|
43
43
|
accessToken: x.token
|
|
44
44
|
}), T(t.current), t.current.on("load", async () => {
|
|
45
45
|
var e;
|
|
46
|
-
setTimeout(() => p(f.initselected ?
|
|
46
|
+
setTimeout(() => p(f.initselected ? a.fromMultiple([...l.selectedBooths].filter((e) => e.rect).map((e) => e.rect)) : i, 15, 4e3), 1500), t.current.setLight({
|
|
47
47
|
anchor: "viewport",
|
|
48
48
|
color: "white",
|
|
49
49
|
intensity: 0
|
|
@@ -99,15 +99,15 @@ function A() {
|
|
|
99
99
|
g(c.mapboxStore.showMapbox);
|
|
100
100
|
}), d(() => l.moveToBooths, () => {
|
|
101
101
|
if (!l.moveToBooths || !c.mapboxStore.showMapbox) return;
|
|
102
|
-
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 = a.fromMultiple(e);
|
|
103
103
|
e.length && p(t), l.moveToBooths = null;
|
|
104
104
|
}), d(() => l.moveToRect, () => {
|
|
105
105
|
!l.moveToRect || !c.mapboxStore.showMapbox || (p(l.moveToRect, 15), l.moveToRect = null);
|
|
106
106
|
}), d(() => l.moveToLocation, () => {
|
|
107
107
|
!l.moveToLocation || !c.mapboxStore.showMapbox || v();
|
|
108
108
|
}), d(() => l.centerMap, () => {
|
|
109
|
-
!l.centerMap || !c.mapboxStore.showMapbox || (p(
|
|
110
|
-
}), d(() => c.routeStore.routeLines, () => b(c.routeStore)), d(() => f.actualCurrentPosition, () => h("cp", f.actualCurrentPosition)),
|
|
109
|
+
!l.centerMap || !c.mapboxStore.showMapbox || (p(a.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)), o(() => /* @__PURE__ */ (0, k.jsx)("div", {
|
|
111
111
|
style: f.style,
|
|
112
112
|
className: (0, E.default)("map-container", { hidden: !c.mapboxStore.showMapbox }),
|
|
113
113
|
children: /* @__PURE__ */ (0, k.jsx)("div", {
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
try {
|
|
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.1.4" };
|
|
5
|
+
var t = new e.Error().stack;
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7c1fd42b-9427-4588-b75d-37df80154ac8", e._sentryDebugIdIdentifier = "sentry-dbid-7c1fd42b-9427-4588-b75d-37df80154ac8");
|
|
7
|
+
} catch {}
|
|
8
|
+
})();
|
|
9
|
+
import { r as e } from "./chunk-CilcQ-DK.js";
|
|
10
|
+
import { t } from "./react-VoeHpohi.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-DDrJF8xL.js";
|
|
12
|
+
import { Dt as r, Et as i, Xn as a, a as o, k as s } from "./store-BkBqfYWF.js";
|
|
13
|
+
import { n as c } from "./mobx-CNTM25Oc.js";
|
|
14
|
+
import { t as l } from "./KioskStore-DomUDeuw.js";
|
|
15
|
+
//#region src/components/Kiosk/SetKioskMode.tsx
|
|
16
|
+
var u = /* @__PURE__ */ e(t(), 1), d = n(), f = a(() => {
|
|
17
|
+
var e, t, n;
|
|
18
|
+
c(() => l.handleSetupReady()), (0, u.useEffect)(() => {
|
|
19
|
+
let e = ({ ptScale: e, sceneId: t }) => {
|
|
20
|
+
i(t) && l.setInitialPtScale(e);
|
|
21
|
+
};
|
|
22
|
+
l.renderer.events.addEventListener("viewport:ptscale", e);
|
|
23
|
+
let t = ({ data: e }) => {
|
|
24
|
+
let { point: t } = r(e);
|
|
25
|
+
l.handleClick(t);
|
|
26
|
+
};
|
|
27
|
+
l.renderer.events.addEventListener("pointer:click", t);
|
|
28
|
+
let n = () => l.handleNavigationChange();
|
|
29
|
+
return l.renderer.events.addEventListener("navigation:change", n), () => {
|
|
30
|
+
l.renderer.events.removeEventListener("viewport:ptscale", e), l.renderer.events.removeEventListener("pointer:click", t), l.renderer.events.removeEventListener("navigation:change", n);
|
|
31
|
+
};
|
|
32
|
+
}, [l.renderer]);
|
|
33
|
+
let a = !!l.kiosk;
|
|
34
|
+
return /* @__PURE__ */ (0, d.jsx)(s, {
|
|
35
|
+
isSaveDisabled: a ? !l.hasUnsavedChanges : !0,
|
|
36
|
+
isDeleteDisabled: !a,
|
|
37
|
+
areControlsDisabled: !a,
|
|
38
|
+
confirmOnClose: a ? l.hasUnsavedChanges : !1,
|
|
39
|
+
angle: ((e = l.kiosk) == null ? void 0 : e.heading) || 0,
|
|
40
|
+
uiScale: ((t = l.kiosk) == null ? void 0 : t.uiScale) || o.uiState.uiScale,
|
|
41
|
+
minUiScale: o.uiState.minUIScale,
|
|
42
|
+
maxUiScale: o.uiState.maxUIScale,
|
|
43
|
+
uiScaleStep: .01,
|
|
44
|
+
iconSizePercent: ((n = l.kiosk) == null ? void 0 : n.iconSizePercent) || 100,
|
|
45
|
+
isInfoVisible: !a,
|
|
46
|
+
statusMessages: l.statusMessages,
|
|
47
|
+
onClose: () => l.handleClose(),
|
|
48
|
+
onDelete: () => l.handleDelete(),
|
|
49
|
+
onSave: () => l.handleSave(),
|
|
50
|
+
onChange: (e) => l.handleChange(e)
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
//#endregion
|
|
54
|
+
export { f as default };
|