@expofp/floorplan 3.1.5 → 3.1.7
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-CGFAI892.js → CookieConsent-DfE_fkts.js} +34 -32
- package/dist/browser/{Debug-BAAWHY1b.js → Debug-BjYRfFht.js} +6 -6
- package/dist/browser/{Demo-Cm_by3lL.js → Demo-Dbi2jpnc.js} +8 -8
- package/dist/browser/{Free-CUPxUHvY.js → Free-BSnZx5sK.js} +8 -8
- package/dist/browser/{Gallery-DtNCOKUl.js → Gallery-CXDwIc_X.js} +8 -8
- package/dist/browser/{GpsLoader-DKUaUUoH.js → GpsLoader-BxC0jQJL.js} +8 -8
- package/dist/browser/{KioskStore-BAmI2FTC.js → KioskStore-Bx9njFnf.js} +3 -3
- package/dist/browser/{Mapbox-DjOk35zh.js → Mapbox-BL4uCq3u.js} +8 -8
- package/dist/browser/{SetKioskMode-BMpt2zSm.js → SetKioskMode-CmUEpNr8.js} +7 -7
- package/dist/browser/{ShowKiosk-liYrlKC7.js → ShowKiosk-Dqk68IPs.js} +9 -9
- package/dist/browser/{ThreeComponent-Bw9_agz4.js → ThreeComponent-Bs4fIgXe.js} +9 -9
- package/dist/browser/{TouchHand-CyxZwo32.js → TouchHand-F4RwHukr.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-DMfQx5Ja.js → ViewerMenuPanel-Da8d4AKA.js} +7 -7
- package/dist/browser/{add-debug-secret-listener-mC8ioAqk.js → add-debug-secret-listener-CzY7rBoG.js} +1 -1
- package/dist/browser/{boolean-editor-CRYNpeqJ.js → boolean-editor-EtntC8E2.js} +6 -6
- package/dist/browser/{bootIntercom-_3LLB12h.js → bootIntercom-DgAJUEEd.js} +1 -1
- package/dist/browser/bundle.json +44 -44
- package/dist/browser/{chunk-CVMCP8yt.js → chunk-RBEdwIRm.js} +1 -1
- package/dist/browser/{classnames-BUX2Oklh.js → classnames-qZ9_2hbn.js} +2 -2
- package/dist/browser/{client-xgqRsUiA.js → client-C19UpouP.js} +4 -4
- package/dist/browser/{data-CydRbpN8.js → data-oHqnWMYj.js} +3 -3
- package/dist/browser/{debug-overlay-Bn2KbCKg.js → debug-overlay-BMB9VRVy.js} +8 -8
- package/dist/browser/{debug-ui-BFXB-AHK.js → debug-ui-CeUHj66R.js} +6 -6
- package/dist/browser/{dist-ClOaKySy.js → dist-DV-fRVqs.js} +5 -5
- package/dist/browser/{exports-C46oFGwo.js → exports-BLsk2ygZ.js} +1 -1
- package/dist/browser/{favicon-BVZCGJ03.js → favicon-DHl8ze48.js} +1 -1
- package/dist/browser/{fetch-retry.umd-GNk8060O.js → fetch-retry.umd-BeZhMPIj.js} +2 -2
- package/dist/browser/{flex-Dxc6hY3Z.js → flex-BiRWYXbM.js} +6 -6
- package/dist/browser/{floorplan.loader-BC-tDHoL.js → floorplan.loader-ic4sBsDi.js} +9 -9
- package/dist/browser/{floorplan.ready-CStDgQOC.js → floorplan.ready-DucQMO3I.js} +10 -10
- package/dist/browser/fuse-nzPqJLRF.js +1177 -0
- package/dist/browser/index.js +11 -11
- package/dist/browser/{is-debug-YMktIloe.js → is-debug-BTIP9fyG.js} +2 -2
- package/dist/browser/{jsx-runtime-C5d_Cwou.js → jsx-runtime-C40T-D9O.js} +2 -2
- package/dist/browser/{lib-zd-dWEXB.js → lib-CviNrhqa.js} +4 -4
- package/dist/browser/{main-iX2tegqy.js → main-B_zTGBSI.js} +1 -1
- package/dist/browser/{mobx-BMMCrtUu.js → mobx-B035tRw8.js} +4 -4
- package/dist/browser/{particles.min-DaqLS_tp.js → particles.min-DSPwSJ2J.js} +2 -2
- package/dist/browser/{prop-types-BGx1FmF8.js → prop-types-BW7NYwOo.js} +2 -2
- package/dist/browser/{react-VwIX1aro.js → react-BrB6NhR9.js} +2 -2
- package/dist/browser/{react-dom-CMGEX3eG.js → react-dom-D67jzu6q.js} +3 -3
- package/dist/browser/{reset-all-settings-CK1tFj38.js → reset-all-settings-B4otpIDL.js} +1 -1
- package/dist/browser/{settings-CRLQ_hS2.js → settings-CB1rylda.js} +6 -6
- package/dist/browser/{src-B0HnxTLj.js → src-DdXQDzCb.js} +4 -4
- package/dist/browser/{store-BKvT1wpF.js → store-BnxcP6Pt.js} +7 -7
- package/dist/browser/{ui-DU6ggbCR.js → ui-24Jpsemb.js} +6 -6
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/package.json +4 -4
- package/dist/browser/fuse-SiDaNxKZ.js +0 -887
package/dist/browser/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.7" };
|
|
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] = "561c747f-2059-4403-a8b0-9c3441efec85", e._sentryDebugIdIdentifier = "sentry-dbid-561c747f-2059-4403-a8b0-9c3441efec85");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./chunk-
|
|
10
|
-
import { Et as t } from "./is-debug-
|
|
11
|
-
import { a as n, t as r } from "./floorplan.loader-
|
|
9
|
+
import { r as e } from "./chunk-RBEdwIRm.js";
|
|
10
|
+
import { Et as t } from "./is-debug-BTIP9fyG.js";
|
|
11
|
+
import { a as n, t as r } from "./floorplan.loader-ic4sBsDi.js";
|
|
12
12
|
//#region ../utils/src/lib/deep-freeze.ts
|
|
13
13
|
function i(e) {
|
|
14
14
|
return typeof e != "object" || !e ? e : (Object.getOwnPropertyNames(e).forEach((t) => {
|
|
@@ -19,7 +19,7 @@ function i(e) {
|
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region ../utils/src/lib/fetch-with-retry.ts
|
|
21
21
|
var a, o = async function(...t) {
|
|
22
|
-
return a || (a = typeof window < "u" && typeof document < "u" ? window.fetch.bind(window) : (await import("./fetch-retry.umd-
|
|
22
|
+
return a || (a = typeof window < "u" && typeof document < "u" ? window.fetch.bind(window) : (await import("./fetch-retry.umd-BeZhMPIj.js").then((t) => /* @__PURE__ */ e(t.default, 1))).default(globalThis.fetch)), a(...t);
|
|
23
23
|
};
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region ../utils/src/lib/import-node-module.ts
|
|
@@ -88,7 +88,7 @@ function y() {
|
|
|
88
88
|
e.name = "viewport", e.content = "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no", document.head.appendChild(e);
|
|
89
89
|
}
|
|
90
90
|
let e = () => !!document.querySelector("link[rel=\"icon\"]");
|
|
91
|
-
e() || import("./favicon-
|
|
91
|
+
e() || import("./favicon-DHl8ze48.js").then(({ default: t }) => {
|
|
92
92
|
if (e()) return;
|
|
93
93
|
let n = document.createElement("link");
|
|
94
94
|
n.rel = "icon", n.type = "image/png", n.href = t, document.head.appendChild(n);
|
|
@@ -98,10 +98,10 @@ function y() {
|
|
|
98
98
|
//#region src/_misc_to_move/logBuildInfoImpl.ts
|
|
99
99
|
function b() {
|
|
100
100
|
let e = {
|
|
101
|
-
version: "3.1.
|
|
102
|
-
commit: "
|
|
101
|
+
version: "3.1.7",
|
|
102
|
+
commit: "1cf12ac27",
|
|
103
103
|
branch: "vite-main",
|
|
104
|
-
built: "2026-05-
|
|
104
|
+
built: "2026-05-04T15:34:20.390Z"
|
|
105
105
|
};
|
|
106
106
|
if (e) {
|
|
107
107
|
let t = new Date(e.built);
|
|
@@ -141,7 +141,7 @@ async function C(e, t) {
|
|
|
141
141
|
...n,
|
|
142
142
|
element: a
|
|
143
143
|
}), l = window.___fpResolve;
|
|
144
|
-
return window.___fp = c, l && (c.ready.then(() => l(c)), delete window.___fpResolve), c.ready.then(() => window.dispatchEvent(new CustomEvent("expofp:ready", { detail: { floorplan: c } }))), import("./src-
|
|
144
|
+
return window.___fp = c, l && (c.ready.then(() => l(c)), delete window.___fpResolve), c.ready.then(() => window.dispatchEvent(new CustomEvent("expofp:ready", { detail: { floorplan: c } }))), import("./src-DdXQDzCb.js").then(({ initDebug: e }) => e()).catch(() => {}), c;
|
|
145
145
|
}
|
|
146
146
|
function w(e) {
|
|
147
147
|
if (!document.adoptedStyleSheets) return;
|
|
@@ -1,12 +1,12 @@
|
|
|
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.7" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7f70a974-17d7-4e3e-a930-88c4acc453e1", e._sentryDebugIdIdentifier = "sentry-dbid-7f70a974-17d7-4e3e-a930-88c4acc453e1");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e, t } from "./chunk-
|
|
9
|
+
import { r as e, t } from "./chunk-RBEdwIRm.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js
|
|
11
11
|
var n = /* @__PURE__ */ t(((e, t) => {
|
|
12
12
|
var n = 1e3, r = n * 60, i = r * 60, a = i * 24, o = a * 7, s = a * 365.25;
|
|
@@ -1,12 +1,12 @@
|
|
|
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.7" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "185fe5dc-6878-459f-9755-10bdfd6a9608", e._sentryDebugIdIdentifier = "sentry-dbid-185fe5dc-6878-459f-9755-10bdfd6a9608");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./chunk-
|
|
9
|
+
import { t as e } from "./chunk-RBEdwIRm.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/react@19.2.5/node_modules/react/cjs/react-jsx-runtime.production.js
|
|
11
11
|
var t = /* @__PURE__ */ e(((e) => {
|
|
12
12
|
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
|
|
@@ -1,14 +1,14 @@
|
|
|
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.7" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "1bdbedd4-2bb9-4fab-8f4e-326dd66fac98", e._sentryDebugIdIdentifier = "sentry-dbid-1bdbedd4-2bb9-4fab-8f4e-326dd66fac98");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./chunk-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./prop-types-
|
|
9
|
+
import { t as e } from "./chunk-RBEdwIRm.js";
|
|
10
|
+
import { t } from "./react-BrB6NhR9.js";
|
|
11
|
+
import { t as n } from "./prop-types-BW7NYwOo.js";
|
|
12
12
|
//#region ../../node_modules/.pnpm/qr.js@0.0.0/node_modules/qr.js/lib/ErrorCorrectLevel.js
|
|
13
13
|
var r = /* @__PURE__ */ e(((e, t) => {
|
|
14
14
|
t.exports = {
|
|
@@ -2,7 +2,7 @@
|
|
|
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.7" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a5190037-4ae1-4b9d-9ef7-d38ebd0da919", e._sentryDebugIdIdentifier = "sentry-dbid-a5190037-4ae1-4b9d-9ef7-d38ebd0da919");
|
|
8
8
|
} catch {}
|
|
@@ -1,14 +1,14 @@
|
|
|
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.7" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5502080e-bef5-4a57-9d7d-8a45c2ec4b84", e._sentryDebugIdIdentifier = "sentry-dbid-5502080e-bef5-4a57-9d7d-8a45c2ec4b84");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./chunk-
|
|
10
|
-
import { m as t, y as n } from "./is-debug-
|
|
11
|
-
import { t as r } from "./react-
|
|
9
|
+
import { r as e } from "./chunk-RBEdwIRm.js";
|
|
10
|
+
import { m as t, y as n } from "./is-debug-BTIP9fyG.js";
|
|
11
|
+
import { t as r } from "./react-BrB6NhR9.js";
|
|
12
12
|
//#region src/utils/mobx.ts
|
|
13
13
|
var i = /* @__PURE__ */ e(r(), 1);
|
|
14
14
|
function a(e, n) {
|
|
@@ -1,12 +1,12 @@
|
|
|
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.7" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "77712fd0-4322-49b1-965e-1ad73d7fb0ee", e._sentryDebugIdIdentifier = "sentry-dbid-77712fd0-4322-49b1-965e-1ad73d7fb0ee");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./chunk-
|
|
9
|
+
import { t as e } from "./chunk-RBEdwIRm.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/particlesjs@https+++codeload.github.com+evgenyt1+particles.js+tar.gz+bcda28ac7422659d702713184cf1171b1673c248/node_modules/particlesjs/dist/particles.min.js
|
|
11
11
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
12
12
|
var n = function(e, t) {
|
|
@@ -1,12 +1,12 @@
|
|
|
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.7" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "53a9f97f-ec73-4665-8fad-4f690eff0e29", e._sentryDebugIdIdentifier = "sentry-dbid-53a9f97f-ec73-4665-8fad-4f690eff0e29");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./chunk-
|
|
9
|
+
import { t as e } from "./chunk-RBEdwIRm.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js
|
|
11
11
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
12
12
|
t.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
@@ -1,12 +1,12 @@
|
|
|
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.7" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f08151ab-17da-4df3-8641-ede95d910845", e._sentryDebugIdIdentifier = "sentry-dbid-f08151ab-17da-4df3-8641-ede95d910845");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./chunk-
|
|
9
|
+
import { t as e } from "./chunk-RBEdwIRm.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/react@19.2.5/node_modules/react/cjs/react.production.js
|
|
11
11
|
var t = /* @__PURE__ */ e(((e) => {
|
|
12
12
|
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), f = Symbol.for("react.activity"), p = Symbol.iterator;
|
|
@@ -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.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.7" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "1bad5344-0d18-49d7-92f3-094b72b90faf", e._sentryDebugIdIdentifier = "sentry-dbid-1bad5344-0d18-49d7-92f3-094b72b90faf");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./chunk-
|
|
10
|
-
import { t } from "./react-
|
|
9
|
+
import { t as e } from "./chunk-RBEdwIRm.js";
|
|
10
|
+
import { t } from "./react-BrB6NhR9.js";
|
|
11
11
|
//#region ../../node_modules/.pnpm/react-dom@19.2.5_react@19.2.5/node_modules/react-dom/cjs/react-dom.production.js
|
|
12
12
|
var n = /* @__PURE__ */ e(((e) => {
|
|
13
13
|
var n = t();
|
|
@@ -2,7 +2,7 @@
|
|
|
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.7" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "c0f1ac4c-d5ed-4e69-8554-7916bf87e3ee", e._sentryDebugIdIdentifier = "sentry-dbid-c0f1ac4c-d5ed-4e69-8554-7916bf87e3ee");
|
|
8
8
|
} catch {}
|
|
@@ -1,15 +1,15 @@
|
|
|
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.7" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f814f1eb-8b45-4ebe-9d75-3170e178d083", e._sentryDebugIdIdentifier = "sentry-dbid-f814f1eb-8b45-4ebe-9d75-3170e178d083");
|
|
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 { n as r, r as i } from "./reset-all-settings-
|
|
9
|
+
import { r as e } from "./chunk-RBEdwIRm.js";
|
|
10
|
+
import { t } from "./react-BrB6NhR9.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-C40T-D9O.js";
|
|
12
|
+
import { n as r, r as i } from "./reset-all-settings-B4otpIDL.js";
|
|
13
13
|
//#region ../debug/src/lib/settings/register-setting.tsx
|
|
14
14
|
var a = /* @__PURE__ */ e(t(), 1), o = n(), s = "efp-local-storage";
|
|
15
15
|
function c(e, t, n, c) {
|
|
@@ -63,7 +63,7 @@ function u(e) {
|
|
|
63
63
|
//#endregion
|
|
64
64
|
//#region ../debug/src/lib/settings/register-boolean-setting.ts
|
|
65
65
|
function d(e) {
|
|
66
|
-
return c(e, !1, a.lazy(() => import("./boolean-editor-
|
|
66
|
+
return c(e, !1, a.lazy(() => import("./boolean-editor-EtntC8E2.js").then((e) => ({ default: e.BooleanEditor }))));
|
|
67
67
|
}
|
|
68
68
|
//#endregion
|
|
69
69
|
export { c as n, d as t };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.7" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "296827ff-4fe5-4907-9b96-cec1ee89058c", e._sentryDebugIdIdentifier = "sentry-dbid-296827ff-4fe5-4907-9b96-cec1ee89058c");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import "./reset-all-settings-
|
|
10
|
-
import "./settings-
|
|
9
|
+
import "./reset-all-settings-B4otpIDL.js";
|
|
10
|
+
import "./settings-CB1rylda.js";
|
|
11
11
|
//#region ../debug/src/lib/init-debug.tsx
|
|
12
12
|
var e = !1;
|
|
13
13
|
function t() {
|
|
14
|
-
e || (e = !0, !(typeof window > "u" && typeof document > "u") && import("./ui-
|
|
14
|
+
e || (e = !0, !(typeof window > "u" && typeof document > "u") && import("./ui-24Jpsemb.js").then(({ renderDebugUi: e }) => {
|
|
15
15
|
e();
|
|
16
16
|
}).catch(() => {}));
|
|
17
17
|
}
|
|
@@ -2,16 +2,16 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.1.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.1.7" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "9ac08e03-9f1e-4686-ba05-0c79e562e821", e._sentryDebugIdIdentifier = "sentry-dbid-9ac08e03-9f1e-4686-ba05-0c79e562e821");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e, t } from "./chunk-
|
|
11
|
-
import { $ as n, C as r, D as i, E as a, Et as o, F as s, G as c, H as l, I as u, K as d, L as f, M as p, N as m, O as h, P as g, St as _, Tt as v, W as y, Y as b, _ as x, a as S, b as C, bt as w, c as T, d as E, dt as D, et as O, f as k, ft as ee, g as te, gt as ne, h as A, i as re, j as ie, l as ae, lt as oe, m as se, mt as ce, n as le, o as ue, ot as de, p as j, pt as fe, q as pe, r as me, st as he, t as ge, u as M, v as N, x as _e, xt as ve, y as P, yt as ye } from "./is-debug-
|
|
12
|
-
import { t as be } from "./react-
|
|
13
|
-
import { t as xe } from "./jsx-runtime-
|
|
14
|
-
import { t as Se } from "./classnames-
|
|
10
|
+
import { r as e, t } from "./chunk-RBEdwIRm.js";
|
|
11
|
+
import { $ as n, C as r, D as i, E as a, Et as o, F as s, G as c, H as l, I as u, K as d, L as f, M as p, N as m, O as h, P as g, St as _, Tt as v, W as y, Y as b, _ as x, a as S, b as C, bt as w, c as T, d as E, dt as D, et as O, f as k, ft as ee, g as te, gt as ne, h as A, i as re, j as ie, l as ae, lt as oe, m as se, mt as ce, n as le, o as ue, ot as de, p as j, pt as fe, q as pe, r as me, st as he, t as ge, u as M, v as N, x as _e, xt as ve, y as P, yt as ye } from "./is-debug-BTIP9fyG.js";
|
|
12
|
+
import { t as be } from "./react-BrB6NhR9.js";
|
|
13
|
+
import { t as xe } from "./jsx-runtime-C40T-D9O.js";
|
|
14
|
+
import { t as Se } from "./classnames-qZ9_2hbn.js";
|
|
15
15
|
//#region ../../node_modules/.pnpm/mobx-react-lite@1.5.2_mobx@5.15.7_react@19.2.5/node_modules/mobx-react-lite/dist/index.module.js
|
|
16
16
|
var Ce = /* @__PURE__ */ e(be());
|
|
17
17
|
if (!Ce.useState) throw Error("mobx-react-lite requires React with Hooks support");
|
|
@@ -34215,7 +34215,7 @@ var hL = (dL = class {
|
|
|
34215
34215
|
}
|
|
34216
34216
|
async buildEngine() {
|
|
34217
34217
|
try {
|
|
34218
|
-
let { default: e } = await import("./fuse-
|
|
34218
|
+
let { default: e } = await import("./fuse-nzPqJLRF.js").then((e) => e.n);
|
|
34219
34219
|
C(() => {
|
|
34220
34220
|
this.engine = new e([], {
|
|
34221
34221
|
keys: this.keys,
|
|
@@ -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.7" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "366e3673-c350-4f8b-b0f3-9cc93894014c", e._sentryDebugIdIdentifier = "sentry-dbid-366e3673-c350-4f8b-b0f3-9cc93894014c");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./chunk-
|
|
10
|
-
import { t } from "./jsx-runtime-
|
|
11
|
-
import { t as n } from "./settings-
|
|
12
|
-
import { t as r } from "./add-debug-secret-listener-
|
|
9
|
+
import { r as e } from "./chunk-RBEdwIRm.js";
|
|
10
|
+
import { t } from "./jsx-runtime-C40T-D9O.js";
|
|
11
|
+
import { t as n } from "./settings-CB1rylda.js";
|
|
12
|
+
import { t as r } from "./add-debug-secret-listener-CzY7rBoG.js";
|
|
13
13
|
//#region ../debug/src/lib/ui/render-debug-ui.tsx
|
|
14
14
|
var i = t(), a = !1;
|
|
15
15
|
function o() {
|
|
16
16
|
if (a) return;
|
|
17
17
|
a = !0;
|
|
18
18
|
let t = n("Show Debug Button Overlay"), o = async (n) => {
|
|
19
|
-
let { DebugUi: r } = await import("./debug-ui-
|
|
19
|
+
let { DebugUi: r } = await import("./debug-ui-CeUHj66R.js"), { createRoot: a } = await import("./client-C19UpouP.js").then((t) => /* @__PURE__ */ e(t.default, 1)), o = document.createElement("div");
|
|
20
20
|
document.body.appendChild(o), a(o).render(/* @__PURE__ */ (0, i.jsx)(r, {
|
|
21
21
|
useDebugButtonState: t.useState,
|
|
22
22
|
open: n
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useEffect as yt,useRef as L}from"react";import{getBounds as k}from"../../../renderer";import{getRouteLayerRegex as pt,getRouteStopLayerRegex as wt,TRAFFIC_VEHICLES as xt}from"./trafficLayers";import{loadImage as Et}from"../../../utils/loadImage";import{createImageCanvas as It}from"../drawing/config/canvases";import{UpdateQueue as Mt}from"./UpdateQueue";import Lt from"../../../tools/base-runtime-url";import{toRadians as bt}from"../../../utils/math";import{isDefaultScene as Rt}from"../../../renderer/engine-core/defs";const tt=2,Ft=tt*3.5,G=tt*12,it=G*.7,At=8,Tt="transport_locations",Pt=150,et="#a4aab6",at=1e3,vt=2e4,ut=500;export function useManageTraffic({permission:e,rendererService:n,dataJsonUrl:c,websocketUrl:i}){const t=L(window.devicePixelRatio),s=L(new Map),o=L(new Map),r=L(),y=L(),f=L(performance.now()),M=L(1),w=L(new Mt),A=L(new Map),x=L(),g=L(at),p=L(new Map),
|
|
1
|
+
import{useEffect as yt,useRef as L}from"react";import{getBounds as k}from"../../../renderer";import{getRouteLayerRegex as pt,getRouteStopLayerRegex as wt,TRAFFIC_VEHICLES as xt}from"./trafficLayers";import{loadImage as Et}from"../../../utils/loadImage";import{createImageCanvas as It}from"../drawing/config/canvases";import{UpdateQueue as Mt}from"./UpdateQueue";import Lt from"../../../tools/base-runtime-url";import{toRadians as bt}from"../../../utils/math";import{isDefaultScene as Rt}from"../../../renderer/engine-core/defs";const tt=2,Ft=tt*3.5,G=tt*12,it=G*.7,At=8,Tt="transport_locations",Pt=150,et="#a4aab6",at=1e3,vt=2e4,ut=500;export function useManageTraffic({permission:e,rendererService:n,dataJsonUrl:c,websocketUrl:i}){const t=L(window.devicePixelRatio),s=L(new Map),o=L(new Map),r=L(),y=L(),f=L(performance.now()),M=L(1),w=L(new Mt),A=L(new Map),x=L(),g=L(at),p=L(new Map),u=L();yt(()=>{async function S(){if(!(!e||!n.scene))try{let h;try{const a=await fetch(c,{method:"GET",headers:{"Content-Type":"application/json"}});if(!a.ok||a.status===204)return;h=await a.json()}catch(a){console.warn("useManageTraffic failed to get JSON",a)}if(!h||h?.disabled||h?.error)return;t.current=lt(n.scale);const V=new Map(h.routes.map(({id:a,color:E})=>[a,E])),C=n.scene.rootLayer.children,W=new Map;V.forEach(a=>{W.set(a,Ct({radius:Ft,color:a,scale:window.devicePixelRatio}))});const z=pt(),Y=C.filter(a=>z.test(a.name)),B=wt(),U=C.filter(a=>B.test(a.name));h.routes.slice(0,Y.length).forEach(({id:a,color:E,path:R,stops:D,hiddenPoints:I},d)=>{A.current.set(a,R);const T=Y[d];if(T){const N=new Map(I?.map(l=>[ot(l),l])??[]);for(let l=1;l<R.length;l++){const O=R[l-1],H=R[l];N.has(ot(O))||N.has(ot(H))||T.children.push({points:[O,H],color:E,width:tt})}T.children.length&&w.current.add(()=>n.update(T))}const m=U[d];if(m&&D?.length){const N=W.get(E);D.forEach(l=>{m.children.push({source:N,bounds:k(l.x,l.y,N.width,N.height,t.current)})}),m.children.length&&w.current.add(()=>n.update(m))}});const $=C.find(a=>a.name===xt),X=new Map;x.current=({ptScale:a,sceneId:E})=>{try{if(!Rt(E))return;t.current=lt(a);const R=[];for(let I=0;I<U.length;I++){const d=U[I].children;for(let T=0;T<d.length;T++){const m=d[T];m.bounds=k(m.bounds.center.x,m.bounds.center.y,m.source.width,m.source.height,t.current,m.bounds.rotation),R.push(m)}}const D=[...s.current.values()];for(let I=0;I<D.length;I++){const d=D[I];d.bounds=k(d.bounds.center.x,d.bounds.center.y,d.source.width,d.source.height,t.current,d.bounds.rotation)}w.current.add(()=>n.update(...R,...D))}catch(R){console.error("ptscale",R)}},n.renderer.events.addEventListener("viewport:ptscale",x.current),V.forEach((a,E)=>{X.set(E,ht({id:E,width:G,height:G,color:a,scale:window.devicePixelRatio}))}),X.set(et,ht({id:"orphan",width:G,height:G,color:et,scale:window.devicePixelRatio}));let j=null;try{const a=await Et(`${Lt}icons/bus-white.svg`);j=It(a,it,it,window.devicePixelRatio)}catch(a){console.error(a)}y.current=a=>{try{const E=JSON.parse(a.data);if(E.type!==Tt)return;const R=a.timeStamp||performance.now();M.current=Math.round(R-f.current),f.current=R;const D=Math.max(M.current??ut,ut),I=o.current,d=s.current,T=$.children,m=w.current;let N=!1;E.data.forEach(({id:l,x:O,y:H,route_id:ct,hidden:gt})=>{if(I.has(l)&&(I.get(l)?.(),I.delete(l)),gt&&d.has(l)&&d.has(Q(l))){const P=d.get(l);P.hidden=!0;const F=d.get(Q(l));F.hidden=!0,m.add(()=>n.update(P,F));return}if(p.current.set(l,performance.now()),!d.has(l)){const P=X.get(ct)||X.get(et),F={id:l,source:P,bounds:k(O,H,P.width,P.height,t.current,0)};if(d.set(l,F),j){const q=Q(l),rt={id:q,source:j,bounds:k(O,H,j.width,j.height,t.current,0)};j.setAttribute("id",q),d.set(q,rt),T.push(F,rt)}else T.push(F);N=!0;return}const Z=d.get(l),st=d.get(Q(l)),mt=Z.bounds.center,K=St(mt,{x:O,y:H},A.current.get(ct));if(K.reduce((P,F,q)=>q===0?P:P+nt(K[q-1],F),0)>=Pt||document.hidden)dt({rendererService:n,updateQueue:m,vehicle:Z,vehicleFinery:st,x:O,y:H,scale:t.current,angle:_t(Z.bounds.center,{x:O,y:H})});else{const P=Dt(K,D,F=>{dt({rendererService:n,updateQueue:m,vehicle:Z,vehicleFinery:st,x:F.x,y:F.y,scale:t.current,angle:F.angle})});I.set(l,P)}}),N&&m.add(()=>n.update($))}catch(E){console.error("handleSocketMessage",E)}},v(),_(h.config?(Number(h.config.vehicle_inactive_interval)||20)*1e3:vt)}catch(h){console.warn(h)}}S();function v(){r.current?.readyState===WebSocket.OPEN||r.current?.readyState===WebSocket.CONNECTING||(r.current=new WebSocket(i),r.current.onmessage=y.current,r.current.onopen=()=>{g.current=at},r.current.onclose=()=>{if(!navigator.onLine)return;setTimeout(v,g.current);const h=3e4;g.current=Math.min(g.current*2,h)})}function b(){v()}window.addEventListener("online",b);function _(h){clearInterval(u.current),u.current=window.setInterval(()=>{const V=performance.now(),C=[],W=[];p.current.forEach((z,Y)=>{if(V-z<h)return;const B=s.current.get(Y);B&&(B.hidden=!0,W.push(B),C.push(Y));const U=Q(Y),$=s.current.get(U);$&&($.hidden=!0,W.push($),C.push(U))}),W.length&&w.current.add(()=>n.update(...W)),C.forEach(z=>p.current.delete(z))},h)}return()=>{x.current&&n.renderer&&n.renderer.events.removeEventListener("viewport:ptscale",x.current),o.current.forEach(h=>h?.()),o.current.clear(),s.current.clear(),w.current.destroy(),window.removeEventListener("online",b),clearInterval(u.current)}},[e,n,c,i])}function lt(e){return Math.min(e||window.devicePixelRatio,At)}function _t(e,n){return Math.atan2(n.y-e.y,n.x-e.x)}function Ct({radius:e,scale:n,color:c}){const i=document.createElement("canvas"),t=i.getContext("2d");t.imageSmoothingEnabled=!1;const s=Math.ceil(e*2*n),o=s/2,r=e*.78,y=e*.33;return i.width=s,i.height=s,t.translate(o,o),t.scale(n,n),t.beginPath(),t.arc(0,0,e,0,2*Math.PI),t.fillStyle="#FFFFFF",t.fill(),t.beginPath(),t.arc(0,0,r,0,2*Math.PI),t.fillStyle=c,t.fill(),t.beginPath(),t.arc(0,0,y,0,2*Math.PI),t.fillStyle="#FFFFFF",t.fill(),i}function ht({id:e,width:n,height:c,color:i,scale:t}){const s=2*t,o=n/2*t,r=c*t,y=.6,f=.01,M=r*y,w=r,A=8*t,x=w+s+M/2+A*2,g=o*2+M+s+A*2,p=document.createElement("canvas");p.setAttribute("id",e),p.width=x,p.height=g;const u=p.getContext("2d"),S=x/2,v=g/2;u.save(),u.translate(S,v),u.rotate(-Math.PI/2),u.translate(-S,-v);const b=S,_=v-w/2+o,h=_+M;return u.shadowColor="rgba(16, 24, 40, 0.2)",u.shadowBlur=A/2,u.beginPath(),u.arc(b,_,o,Math.PI,0,!1),u.bezierCurveTo(b+o,_+r*.3,b+f*o,h,b,h),u.bezierCurveTo(b-f*o,h,b-o,_+r*.3,b-o,_),u.closePath(),u.fillStyle=i,u.fill(),u.strokeStyle="#FFFFFF",u.lineWidth=s,u.stroke(),u.restore(),p}function nt(e,n){return Math.hypot(e.x-n.x,e.y-n.y)}function Q(e){return`${e}_finery`}function dt({rendererService:e,updateQueue:n,vehicle:c,vehicleFinery:i,x:t,y:s,scale:o,angle:r}){c.bounds=k(t,s,c.source.width,c.source.height,o,r),c.hidden=!1,i?(i.bounds=k(t,s,i.source.width,i.source.height,o,bt(e.angle)),i.hidden=!1,n.add(()=>e.update(i,c))):n.add(()=>e.update(c))}function J(e,n,c){return{x:e.x+(n.x-e.x)*c,y:e.y+(n.y-e.y)*c}}function ft(e,n){let c=1/0,i={index:0,t:0};for(let t=0;t<n.length-1;t++){const s=n[t],o=n[t+1],r=o.x-s.x,y=o.y-s.y,f=r*r+y*y,M=f?((e.x-s.x)*r+(e.y-s.y)*y)/f:0,w=Math.max(0,Math.min(1,M)),A=J(s,o,w),x=nt(e,A);x<c&&(c=x,i={index:t,t:w})}return i}function Nt(e,n,c){const i=nt(e,n),t=Math.max(2,Math.ceil(i/c)+1),s=[];for(let o=0;o<t;o++){const r=o/(t-1),y=J(e,n,r);s.push({x:y.x,y:y.y})}return s}function St(e,n,c){if(!c||!c.length)return Nt(e,n,10);const i=ft(e,c),t=ft(n,c),s=[],o=r=>s.push({x:r.x,y:r.y});i.index+1<c.length?o(J(c[i.index],c[i.index+1],i.t)):o(c[i.index]);for(let r=i.index+1;r<=t.index&&r<c.length;r++)o(c[r]);return t.index+1<c.length?o(J(c[t.index],c[t.index+1],t.t)):o(c[t.index]),s}function Dt(e,n,c,i){if(e.length<2)return()=>{};let t=null,s;const o=[];let r=0;for(let f=0;f<e.length-1;f++){const M=Math.hypot(e[f+1].x-e[f].x,e[f+1].y-e[f].y);o.push(M),r+=M}const y=f=>{t||(t=f);const M=f-t,w=Math.min(M/n,1),A=w*r;let x=0,g=0;for(;g<o.length&&x+o[g]<A;)x+=o[g],g++;g>=o.length&&(g=o.length-1);const p=e[g],u=e[Math.min(g+1,e.length-1)],S=o[g]||0,v=S===0?0:(A-x)/S,b=p.x+(u.x-p.x)*v,_=p.y+(u.y-p.y)*v,h=u.x-p.x,V=u.y-p.y,C=h===0&&V===0?0:Math.atan2(V,h);c({x:b,y:_,angle:C}),w<1?s=requestAnimationFrame(y):i&&i()};return s=requestAnimationFrame(y),()=>{s&&cancelAnimationFrame(s)}}function ot(e){return`${e.x},${e.y}`}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/floorplan",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.7",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/expofp/efp-app.git",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"debug": "^4.4.3",
|
|
51
51
|
"deepmerge": "^4.2.2",
|
|
52
52
|
"fontfaceobserver": "^2.3.0",
|
|
53
|
-
"fuse.js": "
|
|
53
|
+
"fuse.js": "7.3.0",
|
|
54
54
|
"history": "^4.10.1",
|
|
55
55
|
"i18next": "^19.4.4",
|
|
56
56
|
"jspdf": "^1.5.3",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"twgl.js": "^4.14.0",
|
|
77
77
|
"uuid": "^9.0.1",
|
|
78
78
|
"zod": "4.3.5",
|
|
79
|
-
"@expofp/debug": "3.1.
|
|
80
|
-
"@expofp/resolve": "3.1.
|
|
79
|
+
"@expofp/debug": "3.1.7",
|
|
80
|
+
"@expofp/resolve": "3.1.7"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@babel/plugin-proposal-decorators": "^7.29.0",
|