@expofp/floorplan 3.2.8 → 3.2.10
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-B1LE7YfT.js → CookieConsent-BtJXdP7g.js} +33 -36
- package/dist/browser/{Debug-DhDzWQYS.js → Debug-967-VpUy.js} +6 -6
- package/dist/browser/{Demo-D_175gLz.js → Demo-7QsDaZT4.js} +8 -8
- package/dist/browser/Free-DXK25Lwr.js +63 -0
- package/dist/browser/{Gallery-BA-pvWo8.js → Gallery-rpTD_EMy.js} +8 -8
- package/dist/browser/{GpsLoader-CfS8cpM_.js → GpsLoader-CdbJ6Wtv.js} +8 -8
- package/dist/browser/{KioskStore-D6ga9Qev.js → KioskStore-drksP-pK.js} +38 -19
- package/dist/browser/{Mapbox-B2UgukAw.js → Mapbox-CqJHsRDD.js} +8 -8
- package/dist/browser/{SetKioskMode-DN9dYtQq.js → SetKioskMode-kUSWKmn_.js} +7 -7
- package/dist/browser/{ShowKiosk-NOvinyaO.js → ShowKiosk-BljQrssJ.js} +9 -9
- package/dist/browser/{ThreeComponent-Dd6C-3ZE.js → ThreeComponent-BYyXNeiP.js} +9 -9
- package/dist/browser/{TouchHand-D4zCIp9f.js → TouchHand-B4WmBaw_.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-3gfsNYAC.js → ViewerMenuPanel-Cu3ctunS.js} +7 -7
- package/dist/browser/{add-debug-secret-listener-PCn2L2xn.js → add-debug-secret-listener-C9qq9krt.js} +1 -1
- package/dist/browser/{boolean-editor-C62I7paI.js → boolean-editor-C-X2A7PC.js} +10 -10
- package/dist/browser/{bootIntercom-CJp5myUd.js → bootIntercom-CnRNCIYM.js} +2 -2
- package/dist/browser/{box-BllGyNzW.js → box-6xYctg-7.js} +5 -5
- package/dist/browser/{browser-hErw7TCJ.js → browser-ztEe8e12.js} +2 -2
- package/dist/browser/bundle.json +53 -53
- package/dist/browser/{classnames-DZ15rBvY.js → classnames-BxLiR1zN.js} +2 -2
- package/dist/browser/{client-vSscuHGN.js → client-Cgg5K8i7.js} +4 -4
- package/dist/browser/{data-Pg90oQgy.js → data-DAcHRYEQ.js} +3 -3
- package/dist/browser/{debug-overlay-Cz0LzO7B.js → debug-overlay-C8MMERKX.js} +11 -11
- package/dist/browser/{debug-ui-HOJ52C7W.js → debug-ui-DQkKWVux.js} +6 -6
- package/dist/browser/{dist-B-j5Mwk6.js → dist-CVgpYonr.js} +5 -5
- package/dist/browser/{dist-Di6V6Vgc.js → dist-DFeNakeq.js} +3 -3
- package/dist/browser/{dist-D1FyJZyA.js → dist-cNbRX4Ll.js} +6 -6
- package/dist/browser/{efp-debug-init-GJ1wnZRj.js → efp-debug-init-BkhFS-uf.js} +2 -2
- package/dist/browser/{enum-editor-DDYy1Hf6.js → enum-editor-Dp0vDvar.js} +11 -11
- package/dist/browser/{exports-D2FWPMfV.js → exports-BQCu1lRb.js} +1 -1
- package/dist/browser/{favicon-CLnUT7_M.js → favicon-BlZTadtt.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CsTB0zFM.js → fetch-retry.umd-Ck1mU9F8.js} +2 -2
- package/dist/browser/{flex-fdrXlk1E.js → flex-BK0qbq1z.js} +6 -6
- package/dist/browser/{flex.props-CKl-laU4.js → flex.props-BOHhvtK7.js} +2 -2
- package/dist/browser/{floorplan.loader-B9u5roId.js → floorplan.loader-bF0m4B1-.js} +9 -9
- package/dist/browser/{floorplan.ready-DhqJ6xoZ.js → floorplan.ready-DO9giswS.js} +11 -11
- package/dist/browser/{fuse-BiPQjoVv.js → fuse-BtkF3kz5.js} +2 -2
- package/dist/browser/index.js +13 -13
- package/dist/browser/{is-debug-DatwRSE7.js → is-debug-opoXgip_.js} +3 -3
- package/dist/browser/{jsx-runtime-IE8skafD.js → jsx-runtime-CdGBYo41.js} +2 -2
- package/dist/browser/{lib-DeP5xNNM.js → lib-B8qB7TGp.js} +4 -4
- package/dist/browser/{main-DHo0y8hQ.js → main-D2sTc8dC.js} +1 -1
- package/dist/browser/{mobx-CrV9DCMJ.js → mobx-3HvxVp6t.js} +4 -4
- package/dist/browser/{particles.min-CvpZUl3e.js → particles.min-CrLYXoND.js} +2 -2
- package/dist/browser/{prop-types-BHwYgrUd.js → prop-types-8XbFXwqe.js} +2 -2
- package/dist/browser/{react-B3Fm-ZS0.js → react-bIVKZnR6.js} +2 -2
- package/dist/browser/{react-dom-CySklTOi.js → react-dom-8AX8CQeL.js} +3 -3
- package/dist/browser/{reset-all-settings-Cl74zGyE.js → reset-all-settings-Bqtagv1S.js} +7 -7
- package/dist/browser/{rolldown-runtime-BAuBEODA.js → rolldown-runtime-BTAldvAi.js} +1 -1
- package/dist/browser/{settings-BIgQOlLC.js → settings-i_-tNJvc.js} +2 -2
- package/dist/browser/{settings-item-CMHd9Vr7.js → settings-item-DZPmquvx.js} +6 -6
- package/dist/browser/{store-WG-XbhCX.js → store-Bb5KnC15.js} +121 -128
- package/dist/browser/{string-editor-Cdda3m3H.js → string-editor-B0Cpq_Js.js} +8 -8
- package/dist/browser/{theme-CEfCl0Wg.js → theme-BDV2utpr.js} +8 -8
- package/dist/browser/{ui-Cxw-zCCr.js → ui-DpEMbY0X.js} +8 -8
- package/dist/esm/components/Map/pointInConvexQuad.d.ts +3 -0
- package/dist/esm/components/Map/pointInConvexQuad.js +1 -0
- package/dist/esm/components/Map/visibleArea.d.ts +1 -0
- package/dist/esm/components/Map/visibleArea.js +1 -1
- package/dist/esm/load.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/wayfinding/adapters/boothToEndpoint.d.ts +2 -6
- package/dist/esm/wayfinding/adapters/boothToEndpoint.js +1 -1
- package/dist/esm/wayfinding/adapters/index.d.ts +0 -1
- package/dist/esm/wayfinding/adapters/index.js +1 -1
- package/dist/esm/wayfinding/bindMobxReactions.js +1 -1
- package/dist/esm/wayfinding/core/createWayfindingEngine.d.ts +3 -3
- package/dist/esm/wayfinding/core/geometry/pointInPolygon.d.ts +11 -0
- package/dist/esm/wayfinding/core/geometry/pointInPolygon.js +1 -0
- package/dist/esm/wayfinding/core/index.d.ts +1 -2
- package/dist/esm/wayfinding/core/index.js +1 -1
- package/dist/esm/wayfinding/core/position/snapToRoute.js +1 -1
- package/dist/esm/wayfinding/core/routing/findNearestGraphPoint.d.ts +5 -20
- package/dist/esm/wayfinding/core/routing/findNearestGraphPoint.js +1 -1
- package/dist/esm/wayfinding/core/routing/resolveWaypointCandidates.d.ts +3 -6
- package/dist/esm/wayfinding/core/routing/resolveWaypointCandidates.js +1 -1
- package/dist/esm/wayfinding/core/types.d.ts +9 -26
- package/dist/esm/wayfinding/runtime/createWayfindingRuntime.js +1 -1
- package/dist/esm/wayfinding/runtime/types.d.ts +1 -1
- package/package.json +3 -3
- package/dist/browser/Free-eF7PbjEi.js +0 -63
- package/dist/esm/wayfinding/adapters/boothToWaypoint.d.ts +0 -12
- package/dist/esm/wayfinding/adapters/boothToWaypoint.js +0 -1
|
@@ -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.10" };
|
|
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] = "d4952cb4-53a2-46d3-b98f-c3ea96458942", e._sentryDebugIdIdentifier = "sentry-dbid-d4952cb4-53a2-46d3-b98f-c3ea96458942");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
13
|
-
import { t as i } from "./browser-
|
|
14
|
-
import { C as a, Ct as o, D as s, E as c, Et as l, F as u, G as d, H as f, I as p, K as m, L as h, M as g, N as _, O as v, P as y, St as b, W as x, Y as S, _ as C, _t as w, a as T, b as E, bt as D, c as O, ct as k, d as A, et as ee, f as te, ft as ne, g as re, h as j, ht as ie, i as ae, j as oe, l as se, m as ce, mt as le, n as ue, o as de, p as M, pt as fe, q as pe, r as me, st as he, t as N, tt as ge, u as P, ut as _e, v as F, x as ve, xt as ye, y as I } from "./is-debug-
|
|
15
|
-
import { t as be } from "./classnames-
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-BTAldvAi.js";
|
|
11
|
+
import { t as n } from "./react-bIVKZnR6.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-CdGBYo41.js";
|
|
13
|
+
import { t as i } from "./browser-ztEe8e12.js";
|
|
14
|
+
import { C as a, Ct as o, D as s, E as c, Et as l, F as u, G as d, H as f, I as p, K as m, L as h, M as g, N as _, O as v, P as y, St as b, W as x, Y as S, _ as C, _t as w, a as T, b as E, bt as D, c as O, ct as k, d as A, et as ee, f as te, ft as ne, g as re, h as j, ht as ie, i as ae, j as oe, l as se, m as ce, mt as le, n as ue, o as de, p as M, pt as fe, q as pe, r as me, st as he, t as N, tt as ge, u as P, ut as _e, v as F, x as ve, xt as ye, y as I } from "./is-debug-opoXgip_.js";
|
|
15
|
+
import { t as be } from "./classnames-BxLiR1zN.js";
|
|
16
16
|
//#region ../../node_modules/.pnpm/mobx-react-lite@1.5.2_mobx@5.15.7_react@19.2.6/node_modules/mobx-react-lite/dist/index.module.js
|
|
17
17
|
var xe = /* @__PURE__ */ e(n());
|
|
18
18
|
if (!xe.useState) throw Error("mobx-react-lite requires React with Hooks support");
|
|
@@ -29889,52 +29889,68 @@ function Rj(e, t) {
|
|
|
29889
29889
|
};
|
|
29890
29890
|
}
|
|
29891
29891
|
//#endregion
|
|
29892
|
+
//#region src/wayfinding/core/geometry/pointInPolygon.ts
|
|
29893
|
+
var zj = .01;
|
|
29894
|
+
function Bj(e, t, n) {
|
|
29895
|
+
return Math.abs(.5 * (e.x * (t.y - n.y) + t.x * (n.y - e.y) + n.x * (e.y - t.y)));
|
|
29896
|
+
}
|
|
29897
|
+
function Vj(e) {
|
|
29898
|
+
if (e.length < 3) return 0;
|
|
29899
|
+
let t = 0;
|
|
29900
|
+
for (let n = 1; n < e.length - 1; n++) t += Bj(e[0], e[n], e[n + 1]);
|
|
29901
|
+
return t;
|
|
29902
|
+
}
|
|
29903
|
+
function Hj(e, t, n = Vj(t)) {
|
|
29904
|
+
if (n === 0) return !1;
|
|
29905
|
+
let r = 0;
|
|
29906
|
+
for (let n = 0, i = t.length - 1; n < t.length; i = n++) r += Bj(e, t[i], t[n]);
|
|
29907
|
+
return Math.abs(n - r) < n * zj;
|
|
29908
|
+
}
|
|
29909
|
+
//#endregion
|
|
29892
29910
|
//#region src/wayfinding/core/routing/findNearestGraphPoint.ts
|
|
29893
|
-
function
|
|
29894
|
-
|
|
29911
|
+
function Uj(e, t, n) {
|
|
29912
|
+
let r = Vj(t);
|
|
29913
|
+
return e.getLineEnds().filter((e) => (!n || e.layer === n) && Hj(e, t, r));
|
|
29895
29914
|
}
|
|
29896
|
-
function
|
|
29897
|
-
let n =
|
|
29898
|
-
for (let
|
|
29899
|
-
if (t.layer &&
|
|
29900
|
-
let
|
|
29901
|
-
|
|
29915
|
+
function Wj(e, t) {
|
|
29916
|
+
let n = null, r = Infinity;
|
|
29917
|
+
for (let i of e.getLineEnds()) {
|
|
29918
|
+
if (t.layer && i.layer !== t.layer) continue;
|
|
29919
|
+
let e = (0, Sr.lineLength)(i, t);
|
|
29920
|
+
e < r && (r = e, n = i);
|
|
29902
29921
|
}
|
|
29903
|
-
return
|
|
29922
|
+
return n;
|
|
29904
29923
|
}
|
|
29905
29924
|
//#endregion
|
|
29906
29925
|
//#region src/wayfinding/core/routing/resolveWaypointCandidates.ts
|
|
29907
|
-
function
|
|
29908
|
-
|
|
29909
|
-
|
|
29910
|
-
|
|
29911
|
-
|
|
29912
|
-
layer: t.layer
|
|
29913
|
-
});
|
|
29914
|
-
return n ? [n] : [];
|
|
29926
|
+
function Gj(e, t) {
|
|
29927
|
+
var n;
|
|
29928
|
+
if ((n = t.bounds) != null && n.length) return Uj(e.dataSource, t.bounds, t.layer);
|
|
29929
|
+
let r = Wj(e.dataSource, t);
|
|
29930
|
+
return r ? [r] : [];
|
|
29915
29931
|
}
|
|
29916
29932
|
//#endregion
|
|
29917
29933
|
//#region src/wayfinding/core/routing/optimizeWaypointOrder.ts
|
|
29918
|
-
var
|
|
29919
|
-
function
|
|
29934
|
+
var Kj = 100, qj = -.01;
|
|
29935
|
+
function Jj(e) {
|
|
29920
29936
|
let t = new Map(e), n = Array.from(t.keys());
|
|
29921
29937
|
if (n.length <= 2) return n;
|
|
29922
|
-
let r =
|
|
29923
|
-
return r.length < 4 ? r :
|
|
29938
|
+
let r = Xj(n, t);
|
|
29939
|
+
return r.length < 4 ? r : Zj(r, t);
|
|
29924
29940
|
}
|
|
29925
|
-
function
|
|
29941
|
+
function Yj(e) {
|
|
29926
29942
|
if (e.length <= 3) return e;
|
|
29927
29943
|
let t = e[0], n = e[e.length - 1], r = e.slice(1, -1);
|
|
29928
29944
|
return [
|
|
29929
29945
|
t,
|
|
29930
|
-
...
|
|
29946
|
+
...Jj(r.map((e, t) => [String(t), {
|
|
29931
29947
|
cx: e.x,
|
|
29932
29948
|
cy: e.y
|
|
29933
29949
|
}])).map((e) => r[Number(e)]),
|
|
29934
29950
|
n
|
|
29935
29951
|
];
|
|
29936
29952
|
}
|
|
29937
|
-
function
|
|
29953
|
+
function Xj(e, t) {
|
|
29938
29954
|
let n = [e[0]], r = new Set(e), i = e[0];
|
|
29939
29955
|
for (r.delete(e[0]); r.size > 0;) {
|
|
29940
29956
|
let e = t.get(i), a = "", o = Infinity;
|
|
@@ -29947,13 +29963,13 @@ function Kj(e, t) {
|
|
|
29947
29963
|
}
|
|
29948
29964
|
return n;
|
|
29949
29965
|
}
|
|
29950
|
-
function
|
|
29966
|
+
function Zj(e, t) {
|
|
29951
29967
|
let n = [...e], r = !0;
|
|
29952
|
-
for (let e = 0; r && e <
|
|
29968
|
+
for (let e = 0; r && e < Kj; e++) {
|
|
29953
29969
|
r = !1;
|
|
29954
29970
|
scan: for (let e = 1; e < n.length - 2; e++) for (let i = e + 1; i < n.length - 1; i++) {
|
|
29955
29971
|
let a = t.get(n[e - 1]), o = t.get(n[e]), s = t.get(n[i]), c = t.get(n[i + 1]);
|
|
29956
|
-
if (Math.abs(a.cx - s.cx) + Math.abs(a.cy - s.cy) + Math.abs(o.cx - c.cx) + Math.abs(o.cy - c.cy) - (Math.abs(a.cx - o.cx) + Math.abs(a.cy - o.cy)) - (Math.abs(s.cx - c.cx) + Math.abs(s.cy - c.cy)) <
|
|
29972
|
+
if (Math.abs(a.cx - s.cx) + Math.abs(a.cy - s.cy) + Math.abs(o.cx - c.cx) + Math.abs(o.cy - c.cy) - (Math.abs(a.cx - o.cx) + Math.abs(a.cy - o.cy)) - (Math.abs(s.cx - c.cx) + Math.abs(s.cy - c.cy)) < qj) {
|
|
29957
29973
|
for (let t = e, r = i; t < r; t++, r--) [n[t], n[r]] = [n[r], n[t]];
|
|
29958
29974
|
r = !0;
|
|
29959
29975
|
break scan;
|
|
@@ -29964,12 +29980,12 @@ function qj(e, t) {
|
|
|
29964
29980
|
}
|
|
29965
29981
|
//#endregion
|
|
29966
29982
|
//#region src/wayfinding/core/createWayfindingEngine.ts
|
|
29967
|
-
function
|
|
29983
|
+
function Qj(e) {
|
|
29968
29984
|
let t = jj();
|
|
29969
29985
|
return {
|
|
29970
29986
|
buildRoute(n, r, i) {
|
|
29971
29987
|
var a;
|
|
29972
|
-
let o = t.getOrBuild(e, (a = i == null ? void 0 : i.accessible) == null ? !1 : a), s = Lj(o,
|
|
29988
|
+
let o = t.getOrBuild(e, (a = i == null ? void 0 : i.accessible) == null ? !1 : a), s = Lj(o, Gj(o, n), Gj(o, r));
|
|
29973
29989
|
return {
|
|
29974
29990
|
lines: s.lines,
|
|
29975
29991
|
distance: s.totalDistance
|
|
@@ -29981,7 +29997,7 @@ function Jj(e) {
|
|
|
29981
29997
|
lines: [],
|
|
29982
29998
|
distance: 0
|
|
29983
29999
|
};
|
|
29984
|
-
let a = t.getOrBuild(e, (i = r == null ? void 0 : r.accessible) == null ? !1 : i), o = Rj(a, (r != null && r.fastest ?
|
|
30000
|
+
let a = t.getOrBuild(e, (i = r == null ? void 0 : r.accessible) == null ? !1 : i), o = Rj(a, (r != null && r.fastest ? Yj(n) : n).map((e) => Gj(a, e)));
|
|
29985
30001
|
return {
|
|
29986
30002
|
lines: o.lines,
|
|
29987
30003
|
distance: o.totalDistance
|
|
@@ -29991,36 +30007,36 @@ function Jj(e) {
|
|
|
29991
30007
|
}
|
|
29992
30008
|
//#endregion
|
|
29993
30009
|
//#region src/wayfinding/core/rendering/computeTransitionPoints.ts
|
|
29994
|
-
function
|
|
30010
|
+
function $j(e, t) {
|
|
29995
30011
|
return e.toLowerCase() === t.toLowerCase();
|
|
29996
30012
|
}
|
|
29997
|
-
function
|
|
29998
|
-
return e.findIndex((e) =>
|
|
30013
|
+
function eM(e, t) {
|
|
30014
|
+
return e.findIndex((e) => $j(e, t));
|
|
29999
30015
|
}
|
|
30000
|
-
function
|
|
30001
|
-
let r =
|
|
30016
|
+
function tM(e, t, n) {
|
|
30017
|
+
let r = eM(e, t), i = eM(e, n);
|
|
30002
30018
|
return r === -1 || i === -1 ? "neutral" : i > r ? "up" : "down";
|
|
30003
30019
|
}
|
|
30004
|
-
function
|
|
30005
|
-
return e.find((e) =>
|
|
30020
|
+
function nM(e, t, n) {
|
|
30021
|
+
return e.find((e) => $j(e.p0.layer, t) ? !n.has(e.p1.layer.toLowerCase()) : $j(e.p1.layer, t) ? !n.has(e.p0.layer.toLowerCase()) : !1);
|
|
30006
30022
|
}
|
|
30007
|
-
function
|
|
30023
|
+
function rM(e, t, n, r) {
|
|
30008
30024
|
if (t.has(r.toLowerCase())) return r;
|
|
30009
|
-
let i = r, a = new Set([n.toLowerCase(), i.toLowerCase()]), o =
|
|
30010
|
-
for (; o && (i =
|
|
30025
|
+
let i = r, a = new Set([n.toLowerCase(), i.toLowerCase()]), o = nM(e, i, a);
|
|
30026
|
+
for (; o && (i = $j(o.p0.layer, i) ? o.p1.layer : o.p0.layer, !t.has(i.toLowerCase()));) a.add(i.toLowerCase()), o = nM(e, i, a);
|
|
30011
30027
|
return i;
|
|
30012
30028
|
}
|
|
30013
|
-
function
|
|
30014
|
-
let { routeLines: t, currentLayerName: n, floorOrder: r } = e, i = t.filter((e) => e.virtual &&
|
|
30029
|
+
function iM(e) {
|
|
30030
|
+
let { routeLines: t, currentLayerName: n, floorOrder: r } = e, i = t.filter((e) => e.virtual && !$j(e.p0.layer, e.p1.layer)), a = /* @__PURE__ */ new Set();
|
|
30015
30031
|
for (let e of t) e.virtual || (a.add(e.p0.layer.toLowerCase()), a.add(e.p1.layer.toLowerCase()));
|
|
30016
|
-
let o = (n ? i.filter((e) =>
|
|
30017
|
-
let t = n ?
|
|
30032
|
+
let o = (n ? i.filter((e) => $j(e.p0.layer, n) || $j(e.p1.layer, n)) : i).map((e) => {
|
|
30033
|
+
let t = n ? $j(e.p0.layer, n) : !0, o = t ? e.p0 : e.p1, s = t ? e.p1 : e.p0, c = rM(i, a, o.layer, s.layer);
|
|
30018
30034
|
return {
|
|
30019
30035
|
x: o.x,
|
|
30020
30036
|
y: o.y,
|
|
30021
30037
|
layer: o.layer,
|
|
30022
30038
|
targetLayer: c,
|
|
30023
|
-
direction:
|
|
30039
|
+
direction: tM(r, o.layer, c),
|
|
30024
30040
|
role: n && t ? "entry" : "exit"
|
|
30025
30041
|
};
|
|
30026
30042
|
}), s = new Set(o.filter((e) => e.role === "exit").map((e) => `${e.x}:${e.y}`)), c = /* @__PURE__ */ new Set();
|
|
@@ -30031,8 +30047,8 @@ function eM(e) {
|
|
|
30031
30047
|
}
|
|
30032
30048
|
//#endregion
|
|
30033
30049
|
//#region src/wayfinding/core/rendering/computeTrailPoints.ts
|
|
30034
|
-
var
|
|
30035
|
-
function
|
|
30050
|
+
var aM = .4, oM = 8;
|
|
30051
|
+
function sM(e, t, n = oM, r = aM) {
|
|
30036
30052
|
let i = Math.hypot(t.x - e.x, t.y - e.y);
|
|
30037
30053
|
if (i === 0 || n <= 0) return [];
|
|
30038
30054
|
let a = Math.max(Math.ceil(i / n) + 1, 2), o = {
|
|
@@ -30041,11 +30057,11 @@ function rM(e, t, n = nM, r = tM) {
|
|
|
30041
30057
|
}, s = [];
|
|
30042
30058
|
for (let n = 0; n < a; n++) {
|
|
30043
30059
|
let r = n / (a - 1);
|
|
30044
|
-
s.push(
|
|
30060
|
+
s.push(cM(e, o, t, r));
|
|
30045
30061
|
}
|
|
30046
30062
|
return s;
|
|
30047
30063
|
}
|
|
30048
|
-
function
|
|
30064
|
+
function cM(e, t, n, r) {
|
|
30049
30065
|
let i = 1 - r;
|
|
30050
30066
|
return {
|
|
30051
30067
|
x: i * i * e.x + 2 * i * r * t.x + r * r * n.x,
|
|
@@ -30054,7 +30070,7 @@ function iM(e, t, n, r) {
|
|
|
30054
30070
|
}
|
|
30055
30071
|
//#endregion
|
|
30056
30072
|
//#region src/wayfinding/core/rendering/routeGeometry.ts
|
|
30057
|
-
function
|
|
30073
|
+
function lM(e) {
|
|
30058
30074
|
if (e.length === 0) return null;
|
|
30059
30075
|
let t = Infinity, n = Infinity, r = -Infinity, i = -Infinity;
|
|
30060
30076
|
for (let a of e) a.x < t && (t = a.x), a.y < n && (n = a.y), a.x > r && (r = a.x), a.y > i && (i = a.y);
|
|
@@ -30067,7 +30083,7 @@ function aM(e) {
|
|
|
30067
30083
|
}
|
|
30068
30084
|
//#endregion
|
|
30069
30085
|
//#region src/wayfinding/core/rendering/normalizeRouteDirection.ts
|
|
30070
|
-
function
|
|
30086
|
+
function uM(e, t, n) {
|
|
30071
30087
|
let r = 0, i = Infinity, a = Infinity, o = n.reduce((e, t) => e + t, 0);
|
|
30072
30088
|
for (let o = 0; o < t.length; o++) {
|
|
30073
30089
|
let s = t[o], c = n[o];
|
|
@@ -30089,8 +30105,8 @@ function oM(e, t, n) {
|
|
|
30089
30105
|
total: o
|
|
30090
30106
|
};
|
|
30091
30107
|
}
|
|
30092
|
-
function
|
|
30093
|
-
let r = e.map((e) => Math.hypot(e.p1.x - e.p0.x, e.p1.y - e.p0.y)), i =
|
|
30108
|
+
function dM(e, t, n) {
|
|
30109
|
+
let r = e.map((e) => Math.hypot(e.p1.x - e.p0.x, e.p1.y - e.p0.y)), i = uM(t, e, r), a = i.found ? i : uM(n, e, r);
|
|
30094
30110
|
if (!a.found) return e;
|
|
30095
30111
|
let o = a.fromStart, s = a.total - a.fromStart;
|
|
30096
30112
|
return (i.found ? s < o : o < s) ? e.slice().reverse().map((e) => ({
|
|
@@ -30101,21 +30117,21 @@ function sM(e, t, n) {
|
|
|
30101
30117
|
}
|
|
30102
30118
|
//#endregion
|
|
30103
30119
|
//#region src/wayfinding/core/position/gpsThreshold.ts
|
|
30104
|
-
var
|
|
30105
|
-
function
|
|
30120
|
+
var fM = 7.5, pM = 20;
|
|
30121
|
+
function mM(e, t) {
|
|
30106
30122
|
let { p0: n, p2: r } = t, i = PA(n.lat, n.lng, r.lat, r.lng), a = (0, Sr.lineLength)(n, r);
|
|
30107
30123
|
return !i || !a ? 0 : a / i * e;
|
|
30108
30124
|
}
|
|
30109
|
-
var
|
|
30125
|
+
var hM = (e) => {
|
|
30110
30126
|
if (typeof e == "number" && Number.isFinite(e)) return e;
|
|
30111
30127
|
};
|
|
30112
|
-
function
|
|
30128
|
+
function gM({ thresholdInMeters: e, gpsConfig: t }) {
|
|
30113
30129
|
let n = 0;
|
|
30114
|
-
return e && t && (n =
|
|
30130
|
+
return e && t && (n = mM(e, t)), n || (n = pM), n;
|
|
30115
30131
|
}
|
|
30116
30132
|
//#endregion
|
|
30117
30133
|
//#region src/wayfinding/core/position/distanceToRoute.ts
|
|
30118
|
-
function
|
|
30134
|
+
function _M(e, t, n, r, i, a) {
|
|
30119
30135
|
let o = i - n, s = a - r, c = e - n, l = t - r, u = o * o + s * s;
|
|
30120
30136
|
if (u === 0) return Math.hypot(e - n, t - r);
|
|
30121
30137
|
let d = (c * o + l * s) / u;
|
|
@@ -30123,21 +30139,21 @@ function pM(e, t, n, r, i, a) {
|
|
|
30123
30139
|
let f = n + d * o, p = r + d * s;
|
|
30124
30140
|
return Math.hypot(e - f, t - p);
|
|
30125
30141
|
}
|
|
30126
|
-
function
|
|
30142
|
+
function vM(e, t) {
|
|
30127
30143
|
let n = Infinity;
|
|
30128
30144
|
for (let r of t) {
|
|
30129
30145
|
if (e.layer && (r.p0.layer !== e.layer || r.p1.layer !== e.layer)) continue;
|
|
30130
|
-
let t =
|
|
30146
|
+
let t = _M(e.x, e.y, r.p0.x, r.p0.y, r.p1.x, r.p1.y);
|
|
30131
30147
|
t < n && (n = t);
|
|
30132
30148
|
}
|
|
30133
30149
|
return n;
|
|
30134
30150
|
}
|
|
30135
30151
|
//#endregion
|
|
30136
30152
|
//#region src/wayfinding/core/position/shouldReroute.ts
|
|
30137
|
-
var
|
|
30138
|
-
function
|
|
30153
|
+
var yM = 10;
|
|
30154
|
+
function bM(e, t, n = yM) {
|
|
30139
30155
|
if (!e || !t.length) return !1;
|
|
30140
|
-
let r =
|
|
30156
|
+
let r = vM({
|
|
30141
30157
|
layer: e.z == null ? "" : String(e.z),
|
|
30142
30158
|
x: e.x,
|
|
30143
30159
|
y: e.y
|
|
@@ -30146,24 +30162,7 @@ function gM(e, t, n = hM) {
|
|
|
30146
30162
|
}
|
|
30147
30163
|
//#endregion
|
|
30148
30164
|
//#region src/wayfinding/core/position/snapToRoute.ts
|
|
30149
|
-
|
|
30150
|
-
function vM(e, t, n, r) {
|
|
30151
|
-
let i = (e - n.x) * (r.y - n.y) - (t - n.y) * (r.x - n.x);
|
|
30152
|
-
if (Math.abs(i) > _M) return !1;
|
|
30153
|
-
let a = (e - n.x) * (r.x - n.x) + (t - n.y) * (r.y - n.y), o = (r.x - n.x) ** 2 + (r.y - n.y) ** 2;
|
|
30154
|
-
return a >= 0 && a <= o;
|
|
30155
|
-
}
|
|
30156
|
-
function yM(e, t, n) {
|
|
30157
|
-
if (n.length < 3) return !1;
|
|
30158
|
-
for (let r = 0, i = n.length - 1; r < n.length; i = r++) if (vM(e, t, n[i], n[r])) return !0;
|
|
30159
|
-
let r = !1;
|
|
30160
|
-
for (let i = 0, a = n.length - 1; i < n.length; a = i++) {
|
|
30161
|
-
let o = n[i].x, s = n[i].y, c = n[a].x, l = n[a].y;
|
|
30162
|
-
s > t != l > t && e < (c - o) * (t - s) / (l - s) + o && (r = !r);
|
|
30163
|
-
}
|
|
30164
|
-
return r;
|
|
30165
|
-
}
|
|
30166
|
-
function bM(e, t) {
|
|
30165
|
+
function xM(e, t) {
|
|
30167
30166
|
let n = 0;
|
|
30168
30167
|
for (let r of e) {
|
|
30169
30168
|
let e = Math.hypot(r.p1.x - r.p0.x, r.p1.y - r.p0.y);
|
|
@@ -30192,7 +30191,7 @@ function bM(e, t) {
|
|
|
30192
30191
|
line: r
|
|
30193
30192
|
};
|
|
30194
30193
|
}
|
|
30195
|
-
function
|
|
30194
|
+
function SM(e, t, n) {
|
|
30196
30195
|
let r = t.length;
|
|
30197
30196
|
if (!r) return { snapped: !1 };
|
|
30198
30197
|
let { snapThreshold: i, to: a, from: o, minRemainingUnits: s = .5 } = n, c = e.z == null ? null : String(e.z), l = Infinity, u = null, d = 0, f = c == null;
|
|
@@ -30214,8 +30213,11 @@ function xM(e, t, n) {
|
|
|
30214
30213
|
}
|
|
30215
30214
|
if (c != null && !f) return { snapped: !1 };
|
|
30216
30215
|
let p = d, m = t[0].p0, h = t[r - 1].p1, g = Math.hypot(a.x - m.x, a.y - m.y) <= Math.hypot(a.x - h.x, a.y - h.y), _ = Math.min(s, p);
|
|
30217
|
-
if (o != null && o.bounds && (c == null || !o.layer || o.layer === c) &&
|
|
30218
|
-
|
|
30216
|
+
if (o != null && o.bounds && (c == null || !o.layer || o.layer === c) && Hj({
|
|
30217
|
+
x: e.x,
|
|
30218
|
+
y: e.y
|
|
30219
|
+
}, o.bounds)) {
|
|
30220
|
+
let e = p, n = xM(t, g ? e : p - e);
|
|
30219
30221
|
return {
|
|
30220
30222
|
snapped: !0,
|
|
30221
30223
|
snappedPoint: n.point,
|
|
@@ -30223,8 +30225,11 @@ function xM(e, t, n) {
|
|
|
30223
30225
|
distance: e
|
|
30224
30226
|
};
|
|
30225
30227
|
}
|
|
30226
|
-
if (a.bounds && (c == null || !a.layer || a.layer === c) &&
|
|
30227
|
-
|
|
30228
|
+
if (a.bounds && (c == null || !a.layer || a.layer === c) && Hj({
|
|
30229
|
+
x: e.x,
|
|
30230
|
+
y: e.y
|
|
30231
|
+
}, a.bounds)) {
|
|
30232
|
+
let e = _, n = p - e, r = xM(t, g ? e : n);
|
|
30228
30233
|
return {
|
|
30229
30234
|
snapped: !0,
|
|
30230
30235
|
snappedPoint: r.point,
|
|
@@ -30235,7 +30240,7 @@ function xM(e, t, n) {
|
|
|
30235
30240
|
if (!u || l > i) return { snapped: !1 };
|
|
30236
30241
|
let v = g ? u.distanceFromPolylineStart : p - u.distanceFromPolylineStart;
|
|
30237
30242
|
v < _ && (v = _);
|
|
30238
|
-
let y = p - v, b =
|
|
30243
|
+
let y = p - v, b = xM(t, g ? v : y);
|
|
30239
30244
|
return {
|
|
30240
30245
|
snapped: !0,
|
|
30241
30246
|
snappedPoint: b.point,
|
|
@@ -30245,7 +30250,7 @@ function xM(e, t, n) {
|
|
|
30245
30250
|
}
|
|
30246
30251
|
//#endregion
|
|
30247
30252
|
//#region src/wayfinding/core/position/splitRouteByPoint.ts
|
|
30248
|
-
function
|
|
30253
|
+
function CM(e, t) {
|
|
30249
30254
|
let n = 1e-6, r = -1, i = 0, a = Infinity;
|
|
30250
30255
|
for (let o = 0; o < e.length; o++) {
|
|
30251
30256
|
let s = e[o];
|
|
@@ -30287,59 +30292,47 @@ function SM(e, t) {
|
|
|
30287
30292
|
}
|
|
30288
30293
|
//#endregion
|
|
30289
30294
|
//#region src/wayfinding/adapters/boothToEndpoint.ts
|
|
30290
|
-
function
|
|
30295
|
+
function wM(e) {
|
|
30291
30296
|
var t;
|
|
30292
30297
|
return ((t = e.entity) == null ? void 0 : t.type) === "route-cut-in";
|
|
30293
30298
|
}
|
|
30294
|
-
function
|
|
30299
|
+
function TM(e) {
|
|
30295
30300
|
var t, n;
|
|
30296
|
-
|
|
30297
|
-
|
|
30301
|
+
let r = (t = (n = e.layer) == null ? void 0 : n.name) == null ? "" : t;
|
|
30302
|
+
if (wM(e)) {
|
|
30298
30303
|
let t = e.destination;
|
|
30299
30304
|
return {
|
|
30300
30305
|
x: t.x,
|
|
30301
30306
|
y: t.y,
|
|
30302
|
-
layer:
|
|
30307
|
+
layer: r
|
|
30303
30308
|
};
|
|
30304
30309
|
}
|
|
30305
|
-
let
|
|
30310
|
+
let i = MO.fromRect(e.rect).rotate(e.rotate, e.rect.cx, e.rect.cy);
|
|
30306
30311
|
return {
|
|
30307
30312
|
x: e.rect.cx,
|
|
30308
30313
|
y: e.rect.cy,
|
|
30309
|
-
layer:
|
|
30314
|
+
layer: r,
|
|
30310
30315
|
bounds: [
|
|
30311
30316
|
{
|
|
30312
|
-
x:
|
|
30313
|
-
y:
|
|
30317
|
+
x: i.x1,
|
|
30318
|
+
y: i.y1
|
|
30314
30319
|
},
|
|
30315
30320
|
{
|
|
30316
|
-
x:
|
|
30317
|
-
y:
|
|
30321
|
+
x: i.x2,
|
|
30322
|
+
y: i.y2
|
|
30318
30323
|
},
|
|
30319
30324
|
{
|
|
30320
|
-
x:
|
|
30321
|
-
y:
|
|
30325
|
+
x: i.x3,
|
|
30326
|
+
y: i.y3
|
|
30322
30327
|
},
|
|
30323
30328
|
{
|
|
30324
|
-
x:
|
|
30325
|
-
y:
|
|
30329
|
+
x: i.x4,
|
|
30330
|
+
y: i.y4
|
|
30326
30331
|
}
|
|
30327
30332
|
]
|
|
30328
30333
|
};
|
|
30329
30334
|
}
|
|
30330
30335
|
//#endregion
|
|
30331
|
-
//#region src/wayfinding/adapters/boothToWaypoint.ts
|
|
30332
|
-
function TM(e) {
|
|
30333
|
-
var t;
|
|
30334
|
-
let n = MO.fromRect(e.rect).rotate(e.rotate, e.rect.cx, e.rect.cy);
|
|
30335
|
-
return {
|
|
30336
|
-
x: e.rect.cx,
|
|
30337
|
-
y: e.rect.cy,
|
|
30338
|
-
layer: (t = e.layer) == null ? void 0 : t.name,
|
|
30339
|
-
rect: new Sr.Rect(new Sr.Point(n.x1, n.y1), new Sr.Point(n.x2, n.y2), new Sr.Point(n.x3, n.y3), new Sr.Point(n.x4, n.y4))
|
|
30340
|
-
};
|
|
30341
|
-
}
|
|
30342
|
-
//#endregion
|
|
30343
30336
|
//#region src/utils/math.ts
|
|
30344
30337
|
var EM = Math.PI / 180, DM = (e) => e ? e * EM : 0;
|
|
30345
30338
|
function OM(e, t) {
|
|
@@ -30586,7 +30579,7 @@ var SN = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, CN = ($M
|
|
|
30586
30579
|
}
|
|
30587
30580
|
e.controls.panTo(p.x, p.y);
|
|
30588
30581
|
}
|
|
30589
|
-
let g = (NA == null || (s = NA.properties) == null || (s = s.config) == null ? void 0 : s.enableExperimentalRerouting) &&
|
|
30582
|
+
let g = (NA == null || (s = NA.properties) == null || (s = s.config) == null ? void 0 : s.enableExperimentalRerouting) && bM(p, this.routeLines) && !!QM(p, wz.booths, [m == null ? void 0 : m.to]);
|
|
30590
30583
|
if (t && m && g) {
|
|
30591
30584
|
let e = Q.routeStore.getNearestBooth(p);
|
|
30592
30585
|
Q.routeStore.selectRoute(new AN(e, m == null ? void 0 : m.to), !1);
|
|
@@ -30663,7 +30656,7 @@ var SN = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, CN = ($M
|
|
|
30663
30656
|
}, 200);
|
|
30664
30657
|
}
|
|
30665
30658
|
checkRoutes() {
|
|
30666
|
-
let e =
|
|
30659
|
+
let e = Qj(zM), t = Q.boothStore.booths;
|
|
30667
30660
|
console.info(`Route check started ${t.length}.... `);
|
|
30668
30661
|
for (let n = 0; n < t.length; n++) {
|
|
30669
30662
|
let r = t[n];
|
|
@@ -34367,7 +34360,7 @@ var VL = (LL = class {
|
|
|
34367
34360
|
}
|
|
34368
34361
|
async buildEngine() {
|
|
34369
34362
|
try {
|
|
34370
|
-
let { default: e } = await import("./fuse-
|
|
34363
|
+
let { default: e } = await import("./fuse-BtkF3kz5.js").then((e) => e.n);
|
|
34371
34364
|
E(() => {
|
|
34372
34365
|
this.engine = new e([], {
|
|
34373
34366
|
keys: this.keys,
|
|
@@ -36760,7 +36753,7 @@ Q.toursStore;
|
|
|
36760
36753
|
var Oz = Q.intercomStore;
|
|
36761
36754
|
window.__store = Q;
|
|
36762
36755
|
//#endregion
|
|
36763
|
-
export {
|
|
36756
|
+
export { iM as $, ze as $n, cm as $t, BN as A, td as An, wD as At, zM as B, di as Bn, Kv as Bt, wP as C, Mm as Cn, sO as Ct, QN as D, sh as Dn, kD as Dt, $N as E, ed as En, TD as Et, ON as F, sa as Fn, PD as Ft, CM as G, pr as Gn, Gu as Gt, FM as H, Gr as Hn, km as Ht, YM as I, na as In, hD as It, gM as J, R as Jn, th as Jt, SM as K, dr as Kn, Om as Kt, JM as L, Ji as Ln, vD as Lt, jN as M, Ec as Mn, DD as Mt, AN as N, ca as Nn, MD as Nt, ZN as O, B as On, OD as Ot, EN as P, pa as Pn, ND as Pt, sM as Q, Ne as Qn, lh as Qt, GM as R, Pi as Rn, aD as Rt, EP as S, jp as Sn, _O as St, tP as T, kc as Tn, RD as Tt, DM as U, Kr as Un, jc as Ut, LM as V, Wr as Vn, Jf as Vt, TM as W, xr as Wn, kf as Wt, dM as X, Yn as Xn, Bf as Xt, hM as Y, $n as Yn, ah as Yt, lM as Z, Je as Zn, Op as Zt, $P as _, od as _n, rk as _t, Dz as a, ju as an, UA as at, VP as b, Ac as bn, GO as bt, IR as c, Nf as cn, NA as ct, HF as d, Nc as dn, aA as dt, bm as en, Me as er, Qj as et, UF as f, Sp as fn, Hk as ft, YP as g, xm as gn, ik as gt, nF as h, Em as hn, vk as ht, Tz as i, Mf as in, HA as it, LN as j, Dc as jn, ED as jt, UN as k, V as kn, AD as kt, qF as l, Lm as ln, MA as lt, JP as m, jm as mn, yk as mt, Cz as n, vh as nn, Mj as nt, Q as o, Id as on, VA as ot, qP as p, Bp as pn, Ik as pt, fM as q, lr as qn, Vh as qt, Oz as r, Oc as rn, BA as rt, $ as s, op as sn, PA as st, wz as t, nh as tn, Jj as tt, KF as u, Im as un, sA as ut, QP as v, Fd as vn, nk as vt, eP as w, Bh as wn, JD as wt, TP as x, Yl as xn, HO as xt, XP as y, Lh as yn, ZO as yt, WM as z, _i as zn, Fb as zt };
|
|
36764
36757
|
|
|
36765
36758
|
;/* vite-per-chunk-css */
|
|
36766
36759
|
__vite_inject_css__(".rebooking-radio-group{padding:calc(1rem * var(--ui-scale))}.rebooking-radio-group__title{padding-bottom:calc(.625rem * var(--ui-scale));font-size:var(--font-size-lg);font-weight:var(--font-weight-medium)}.rebooking-radio-group__options{gap:calc(.625rem * var(--ui-scale));flex-flow:column wrap;display:flex}.rebooking-radio__icon{width:calc(1.5rem * var(--ui-scale));height:calc(1.5rem * var(--ui-scale));background:var(--rebooking-color-primary);border-radius:var(--border-radius-full);color:var(--color-white);justify-content:center;align-items:center;display:flex}.rebooking-radio__icon>i{font-size:18px;line-height:0}.rebooking-radio__label{font-size:var(--font-size-xl);font-weight:var(--font-weight-medium)}.rebooking-radio>input{display:none}.rebooking-radio>input~label{padding:calc(.75rem * var(--ui-scale)) calc(.875rem * var(--ui-scale)) calc(.75rem * var(--ui-scale)) calc(3rem * var(--ui-scale));background:var(--color-gray-200);border-radius:var(--border-radius-md);color:var(--color-black);cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;line-height:1;display:flex;position:relative}.rebooking-radio>input~label:before{content:\"\";top:50%;left:calc(.875rem * var(--ui-scale));width:calc(1.25rem * var(--ui-scale));height:calc(1.25rem * var(--ui-scale));margin-top:calc(-.625rem * var(--ui-scale));border:2px solid #98a2b3;border-radius:50%;position:absolute}.rebooking-radio>input~label:hover{background:#eaecf0}.rebooking-radio>input:checked~label{background:var(--rebooking-color-primary);color:var(--color-white)}.rebooking-radio>input:checked~label:before{border:5px solid var(--color-white)}.rebooking-radio>input:checked~label>.rebooking-radio__icon{background:var(--color-white);color:var(--rebooking-color-primary)}.rebooking-radio>input:disabled~label{background:var(--color-gray-200);color:var(--color-gray);cursor:default}.rebooking-radio>input:disabled~label:before{border-color:var(--color-gray-400)}.rebooking-radio>input:disabled~label>.rebooking-radio__icon{color:var(--color-gray)}.efp-set-kiosk-form{border-radius:var(--border-radius-xl);background:var(--color-white);padding:calc(1rem * var(--ui-scale)) calc(1.125rem * var(--ui-scale));display:grid;position:relative}.efp-set-kiosk-form__content{gap:calc(1rem * var(--ui-scale));display:grid}.efp-set-kiosk-form__inputs{gap:calc(.625rem * var(--ui-scale));display:grid}.efp-set-kiosk-form__controls{gap:calc(.625rem * var(--ui-scale));grid-template-columns:1fr 2fr;display:grid}.efp-range-input{gap:calc(.3125rem * var(--ui-scale));width:100%;font-size:var(--font-size-lg);display:grid}.efp-range-input__header{text-align:center;color:var(--color-black);font-size:var(--font-size-lg);font-weight:var(--font-weight-normal);grid-template-columns:auto 1fr auto;place-items:center;display:grid}.efp-range-input__header strong{font-weight:var(--font-weight-medium)}.efp-range-input__control{width:calc(1.25rem * var(--ui-scale));height:calc(1.25rem * var(--ui-scale));box-shadow:none;cursor:pointer;border:0;outline:none;place-content:center;place-items:center;margin:0;padding:0;display:grid}.efp-range-input__control i{font-size:var(--icon-size-xxs)}.efp-range-input__input-block{width:100%;height:calc(1.375rem * var(--ui-scale));place-items:center;display:grid;position:relative}.efp-range-input__input{opacity:0;z-index:2;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.efp-range-input__custom-input{height:calc(.375rem * var(--ui-scale));background:var(--color-gray-400);border-radius:calc(.1875rem * var(--ui-scale));pointer-events:none;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.efp-range-input__progress{background:var(--color-primary);border-radius:inherit;height:100%;position:absolute;top:0}.efp-range-input__progress:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.efp-range-input__progress:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.efp-range-input__progress:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.efp-range-input__progress:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.efp-range-input__thumb{width:calc(1.375rem * var(--ui-scale));height:calc(1.375rem * var(--ui-scale));background:var(--color-white);border:calc(.1875rem * var(--ui-scale)) solid var(--color-primary-dark);pointer-events:none;box-shadow:var(--shadow-sm);border-radius:50%;position:absolute;top:50%}.efp-range-input__thumb:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.efp-range-input__thumb:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.efp-range-input__thumb:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.efp-range-input__thumb:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.efp-button,a.efp-button{justify-content:center;align-items:center;gap:calc(.375rem * var(--ui-scale));width:100%;max-width:calc(25rem * var(--ui-scale));border-radius:var(--border-radius-full);font-family:var(--app-font-family);font-weight:var(--font-weight-medium);cursor:pointer;border:0;outline:none;text-decoration:none;transition:background-color .1s ease-in-out;display:flex}.efp-button:hover,a.efp-button:hover{background:var(--color-primary-dark);color:var(--color-white)}.efp-button:active,a.efp-button:active{box-shadow:0 0 8px #3d91f74d}.efp-button:disabled,.efp-button--disabled,a.efp-button:disabled,a.efp-button--disabled{background:var(--color-gray-500);pointer-events:none}.efp-button:disabled:hover,.efp-button:disabled:active,.efp-button--disabled:hover,.efp-button--disabled:active,a.efp-button:disabled:hover,a.efp-button:disabled:active,a.efp-button--disabled:hover,a.efp-button--disabled:active{background:var(--color-gray-500);box-shadow:unset}.efp-button--primary,a.efp-button--primary{background:var(--color-primary);color:var(--color-white)}.efp-button--primary .efp-button-badge,a.efp-button--primary .efp-button-badge,.efp-button--primary:hover,.efp-button--primary:active,a.efp-button--primary:hover,a.efp-button--primary:active{background:var(--color-primary-dark);color:var(--color-white)}.efp-button--primary:hover .efp-button-badge,.efp-button--primary:active .efp-button-badge,a.efp-button--primary:hover .efp-button-badge,a.efp-button--primary:active .efp-button-badge{background:var(--color-primary-ultra-dark)}.efp-button--secondary,a.efp-button--secondary{background:var(--color-primary-ultra-light);color:var(--color-primary)}.efp-button--secondary .efp-button-badge,a.efp-button--secondary .efp-button-badge{background:var(--color-white);color:var(--color-primary)}.efp-button--secondary:hover,.efp-button--secondary:active,a.efp-button--secondary:hover,a.efp-button--secondary:active{background:var(--color-primary-ultra-light);color:var(--color-primary-dark)}.efp-button--secondary:hover .efp-button-badge,.efp-button--secondary:active .efp-button-badge,a.efp-button--secondary:hover .efp-button-badge,a.efp-button--secondary:active .efp-button-badge{color:var(--color-primary-dark)}.efp-button--gray,a.efp-button--gray{background:var(--color-gray-200);color:var(--color-black)}.efp-button--gray .efp-button-badge,a.efp-button--gray .efp-button-badge,.efp-button--gray:hover,.efp-button--gray:active,a.efp-button--gray:hover,a.efp-button--gray:active{background:var(--color-gray-300);color:var(--color-black)}.efp-button--gray:disabled,.efp-button--gray--disabled,a.efp-button--gray:disabled,a.efp-button--gray--disabled,.efp-button--gray:disabled:hover,.efp-button--gray:disabled:active,.efp-button--gray--disabled:hover,.efp-button--gray--disabled:active,a.efp-button--gray:disabled:hover,a.efp-button--gray:disabled:active,a.efp-button--gray--disabled:hover,a.efp-button--gray--disabled:active{background:var(--color-gray-100);color:var(--color-gray-400)}.efp-viewer-mode .efp-button--gray,.efp-viewer-mode a.efp-button--gray{background:#ebeef3}.efp-button--gray-border,a.efp-button--gray-border{background:var(--color-white);border:1px solid var(--color-gray-300);color:var(--color-black)}.efp-button--gray-border .efp-button-badge,a.efp-button--gray-border .efp-button-badge{background:var(--color-gray-200);color:var(--color-black)}.efp-button--gray-border:hover,.efp-button--gray-border:active,a.efp-button--gray-border:hover,a.efp-button--gray-border:active{background:var(--color-gray-300);color:var(--color-black)}.efp-button--gray-border:hover .efp-button-badge,.efp-button--gray-border:active .efp-button-badge,a.efp-button--gray-border:hover .efp-button-badge,a.efp-button--gray-border:active .efp-button-badge{background:var(--color-gray-400)}.efp-button--ghost,a.efp-button--ghost{color:var(--color-gray-900);background:0 0;border:0}.efp-button--ghost .efp-button-badge,a.efp-button--ghost .efp-button-badge,.efp-button--ghost:hover,.efp-button--ghost:active,a.efp-button--ghost:hover,a.efp-button--ghost:active{background:var(--color-gray-200);color:var(--color-black)}.efp-button--ghost:hover .efp-button-badge,.efp-button--ghost:active .efp-button-badge,a.efp-button--ghost:hover .efp-button-badge,a.efp-button--ghost:active .efp-button-badge{background:var(--color-gray-300)}.efp-button--lg,a.efp-button--lg{min-width:calc(10rem * var(--ui-scale));min-height:calc(2.625rem * var(--ui-scale));padding:calc(.5rem * var(--ui-scale)) calc(1.25rem * var(--ui-scale));font-size:var(--font-size-xl)}.efp-button--lg .efp-button-badge,a.efp-button--lg .efp-button-badge{min-width:calc(1.875rem * var(--ui-scale));height:calc(1.875rem * var(--ui-scale));font-size:var(--font-size-md)}.efp-viewer-mode .efp-button--lg,.efp-viewer-mode a.efp-button--lg{min-height:calc(3.5rem * var(--ui-scale));font-size:calc(1.125rem * var(--ui-scale));font-weight:var(--font-weight-bold)}.efp-button--md,a.efp-button--md{min-width:calc(8.75rem * var(--ui-scale));min-height:calc(2.375rem * var(--ui-scale));padding:calc(.375rem * var(--ui-scale)) calc(1.125rem * var(--ui-scale));font-size:var(--font-size-lg)}.efp-button--md .efp-button-badge,a.efp-button--md .efp-button-badge{min-width:calc(1.625rem * var(--ui-scale));height:calc(1.625rem * var(--ui-scale));font-size:var(--font-size-md)}.efp-button--sm,a.efp-button--sm{min-width:calc(6.25rem * var(--ui-scale));min-height:calc(1.875rem * var(--ui-scale));padding:calc(.25rem * var(--ui-scale)) calc(1rem * var(--ui-scale));font-size:var(--font-size-md)}.efp-button--sm .efp-button-badge,a.efp-button--sm .efp-button-badge{min-width:calc(1.375rem * var(--ui-scale));height:calc(1.375rem * var(--ui-scale));font-size:var(--font-size-xs)}.efp-button--inline,a.efp-button--inline{width:auto;min-width:auto;display:inline-flex}.efp-button--round,a.efp-button--round{width:auto;min-width:auto;height:auto;min-height:auto;padding:calc(.5rem * var(--ui-scale))}.efp-button--round i,a.efp-button--round i{font-size:var(--icon-size-xs)}.efp-button--danger,a.efp-button--danger{background:var(--color-red);color:var(--color-white)}.efp-button--danger:hover,.efp-button--danger:active,a.efp-button--danger:hover,a.efp-button--danger:active{background:var(--color-red-dark)}.efp-button>i,a.efp-button>i{font-size:var(--icon-size-sm)}.efp-button-badge{padding:0 calc(.3125rem * var(--ui-scale));border-radius:var(--border-radius-full);justify-content:center;align-items:center;transition:background-color .1s ease-in-out;display:flex}.efp-info-message{border-radius:var(--border-radius-xl);padding:calc(1rem * var(--ui-scale)) calc(1.125rem * var(--ui-scale));background:var(--color-white);gap:calc(.5rem * var(--ui-scale));display:grid;position:relative}.efp-info-message__item{gap:calc(.625rem * var(--ui-scale));font-size:var(--font-size-xl);font-weight:var(--font-weight-normal);grid-auto-flow:column;place-content:flex-start;place-items:center;line-height:1;display:grid}.efp-info-message__item strong{font-weight:var(--font-weight-bold)}.efp-info-message__img{width:calc(1.875rem * var(--ui-scale));height:calc(1.875rem * var(--ui-scale))}.efp-set-kiosk-mode{left:.6rem;bottom:calc(1.25rem * var(--ui-scale));z-index:9999;width:calc(23.75rem * var(--ui-scale));background:var(--color-primary);box-shadow:var(--shadow-md);border-radius:var(--border-radius-xl);line-height:1;display:grid;position:fixed}.efp-set-kiosk-mode__header{text-align:center;padding:calc(.625rem * var(--ui-scale)) calc(1rem * var(--ui-scale));color:var(--color-white);font-size:var(--font-size-xl);font-weight:var(--font-weight-bold);grid-template-columns:auto 1fr auto;place-items:center;display:grid}.efp-set-kiosk-mode__header i{font-size:var(--icon-size-xl)}.efp-set-kiosk-mode__header img{width:var(--icon-size-xl);height:var(--icon-size-xl)}.efp-set-kiosk-mode__close{box-shadow:none;cursor:pointer;background:0 0;border:0;margin:0;padding:0}.efp-confirm-dialog{background:var(--color-white);box-shadow:var(--shadow-md);border-radius:var(--border-radius-xl);padding:calc(1rem * var(--ui-scale)) calc(1.125rem * var(--ui-scale));gap:calc(1rem * var(--ui-scale));display:grid;position:relative}.efp-confirm-dialog__content{font-size:var(--font-size-xl);font-weight:var(--font-weight-normal)}.efp-confirm-dialog__content strong{font-weight:var(--font-weight-medium)}.efp-confirm-dialog__controls{gap:calc(.625rem * var(--ui-scale));grid-template-columns:1fr 1fr;display:grid}.efp-status-messages{height:calc(calc(2.75rem * var(--ui-scale)) + var(--border-radius-2xl));border-radius:var(--border-radius-xl);grid-template-rows:1fr;display:grid;position:absolute;top:0;left:0;right:0;overflow:hidden}.efp-status-messages__message{gap:calc(.375rem * var(--ui-scale));color:var(--color-white);font-size:var(--font-size-xl);font-weight:var(--font-weight-bold);padding-bottom:var(--border-radius-2xl);grid-auto-flow:column;place-content:center;place-items:center;display:grid}.efp-status-messages__message i{font-size:var(--icon-size-md)}.efp-status-messages__message--success{background:var(--color-green)}.efp-status-messages__message--error{background:var(--color-red)}\n/*$vite$:1*/", "store.css", false);
|
|
@@ -1,18 +1,18 @@
|
|
|
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.10" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d6998a34-2e60-485b-acb4-511cd67af42e", e._sentryDebugIdIdentifier = "sentry-dbid-d6998a34-2e60-485b-acb4-511cd67af42e");
|
|
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 { E as r, c as i, l as a, o, r as s, v as c } from "./box-
|
|
13
|
-
import { t as l } from "./classnames-
|
|
14
|
-
import { t as u } from "./flex.props-
|
|
15
|
-
import { t as d } from "./settings-item-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BTAldvAi.js";
|
|
10
|
+
import { t } from "./react-bIVKZnR6.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-CdGBYo41.js";
|
|
12
|
+
import { E as r, c as i, l as a, o, r as s, v as c } from "./box-6xYctg-7.js";
|
|
13
|
+
import { t as l } from "./classnames-BxLiR1zN.js";
|
|
14
|
+
import { t as u } from "./flex.props-BOHhvtK7.js";
|
|
15
|
+
import { t as d } from "./settings-item-DZPmquvx.js";
|
|
16
16
|
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react@19.2._d6d76dcfd4c9de055b7c51247e12b902/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js
|
|
17
17
|
var f = {
|
|
18
18
|
size: {
|
|
@@ -1,18 +1,18 @@
|
|
|
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.10" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7ef9ec30-23fe-46ab-9eef-b60026a43ae8", e._sentryDebugIdIdentifier = "sentry-dbid-7ef9ec30-23fe-46ab-9eef-b60026a43ae8");
|
|
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 "./react-dom-
|
|
13
|
-
import { C as i, D as a, S as o, T as s, _ as c, a as l, g as u, w as d } from "./box-
|
|
14
|
-
import { c as f, i as p, n as m, o as h, r as g, s as _, t as v } from "./dist-
|
|
15
|
-
import { t as y } from "./classnames-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BTAldvAi.js";
|
|
10
|
+
import { t } from "./react-bIVKZnR6.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-CdGBYo41.js";
|
|
12
|
+
import { t as r } from "./react-dom-8AX8CQeL.js";
|
|
13
|
+
import { C as i, D as a, S as o, T as s, _ as c, a as l, g as u, w as d } from "./box-6xYctg-7.js";
|
|
14
|
+
import { c as f, i as p, n as m, o as h, r as g, s as _, t as v } from "./dist-cNbRX4Ll.js";
|
|
15
|
+
import { t as y } from "./classnames-BxLiR1zN.js";
|
|
16
16
|
//#region ../../node_modules/.pnpm/@radix-ui+react-visually-hidden@1.2.3_@types+react-dom@19.2.3_@types+react@19.2.14__@ty_d1be9c417e0b55d219bafdc186d26ce0/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
|
|
17
17
|
var b = /* @__PURE__ */ e(r(), 1), x = /* @__PURE__ */ e(t(), 1), S = n(), C = Object.freeze({
|
|
18
18
|
position: "absolute",
|
|
@@ -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.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.10" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "92182a39-8df3-47fb-a7de-39aa7bf1975b", e._sentryDebugIdIdentifier = "sentry-dbid-92182a39-8df3-47fb-a7de-39aa7bf1975b");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { i as t, r as n } from "./reset-all-settings-
|
|
11
|
-
import { t as r } from "./jsx-runtime-
|
|
12
|
-
import "./settings-
|
|
13
|
-
import { t as i } from "./browser-
|
|
14
|
-
import { t as a } from "./add-debug-secret-listener-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BTAldvAi.js";
|
|
10
|
+
import { i as t, r as n } from "./reset-all-settings-Bqtagv1S.js";
|
|
11
|
+
import { t as r } from "./jsx-runtime-CdGBYo41.js";
|
|
12
|
+
import "./settings-i_-tNJvc.js";
|
|
13
|
+
import { t as i } from "./browser-ztEe8e12.js";
|
|
14
|
+
import { t as a } from "./add-debug-secret-listener-C9qq9krt.js";
|
|
15
15
|
//#region ../debug/src/lib/ui/render-debug-ui.tsx
|
|
16
16
|
var o = /* @__PURE__ */ e(i(), 1), s = r(), c = !1;
|
|
17
17
|
function l() {
|
|
@@ -26,7 +26,7 @@ function l() {
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
let i = async (t) => {
|
|
29
|
-
let { DebugUi: n } = await import("./debug-ui-
|
|
29
|
+
let { DebugUi: n } = await import("./debug-ui-DQkKWVux.js"), { createRoot: i } = await import("./client-Cgg5K8i7.js").then((t) => /* @__PURE__ */ e(t.default, 1)), a = document.createElement("div");
|
|
30
30
|
document.body.appendChild(a), i(a).render(/* @__PURE__ */ (0, s.jsx)(n, {
|
|
31
31
|
useDebugButtonState: r.useState,
|
|
32
32
|
open: t
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function isPointInConvexQuad(i,r){let e=0;for(let n=0;n<4;n++){const t=r[n],o=r[(n+1)%4],s=(o.x-t.x)*(i.y-t.y)-(o.y-t.y)*(i.x-t.x);if(!Number.isFinite(s))return!1;if(s===0)continue;const f=s>0?1:-1;if(e===0)e=f;else if(e!==f)return!1}return e!==0}
|
|
@@ -9,6 +9,7 @@ export interface MapEngineVisibleArea {
|
|
|
9
9
|
top: number;
|
|
10
10
|
bottom: number;
|
|
11
11
|
center: Vector2Like;
|
|
12
|
+
corners: [Vector2Like, Vector2Like, Vector2Like, Vector2Like];
|
|
12
13
|
}
|
|
13
14
|
export declare function getVisibleArea(renderer: Renderer): MapEngineVisibleArea;
|
|
14
15
|
export declare function isPointVisible(renderer: Renderer, point: Vector2Like): boolean;
|