@expofp/floorplan 3.7.14 → 3.7.16
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/{Button-4OtQtOG8.js → Button-CjtFTyzR.js} +36 -176
- package/dist/browser/{CookieConsent-Dm81FEY7.js → CookieConsent-CxzQ4NKQ.js} +8 -8
- package/dist/browser/{Debug-CSmIMhir.js → Debug-sUGx7yjo.js} +8 -8
- package/dist/browser/{Demo-Dbx4V8Am.js → Demo-DJkxdhsK.js} +12 -12
- package/dist/browser/{Free-DSEXaC59.js → Free-CMj5_sOK.js} +12 -12
- package/dist/browser/{Gallery-Dr3GctSL.js → Gallery-CO2oAxhp.js} +10 -10
- package/dist/browser/{GpsLoader-Dk4JZZx5.js → GpsLoader-GENe0D-6.js} +10 -10
- package/dist/browser/{KioskStore-W-Hz1t-w.js → KioskStore-D0To4HWV.js} +17 -17
- package/dist/browser/{MaplibreAdapter-AoRQBAcj.js → MaplibreAdapter-DHXfG9I7.js} +88 -88
- package/dist/browser/ModalContainer-DJXx-Dpp.js +143 -0
- package/dist/browser/{PermissionNotice-JyxyrSUM.js → PermissionNotice-Cr9iy6ED.js} +7 -7
- package/dist/browser/{SetKioskMode-BPOGUgkg.js → SetKioskMode-jQmIPKPu.js} +9 -9
- package/dist/browser/ShowKiosk-DyaUJmSm.js +28 -0
- package/dist/browser/{TouchHand-DZSuCWr6.js → TouchHand-CSDv-0f5.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-BdY41W_c.js → ViewerMenuPanel-DHdJQRhs.js} +10 -9
- package/dist/browser/{add-debug-secret-listener-CGOLQUgG.js → add-debug-secret-listener-DjsOy3Gq.js} +1 -1
- package/dist/browser/{boolean-editor-DI_vvFTP.js → boolean-editor-D8afncMt.js} +9 -9
- package/dist/browser/{bootIntercom-quAPFZAE.js → bootIntercom-CSWtIMFV.js} +3 -3
- package/dist/browser/{browser-DlhYrwXK.js → browser-jkQElf_j.js} +2 -2
- package/dist/browser/bundle.json +63 -60
- package/dist/browser/{classnames-BVuXstWD.js → classnames-DerROiP3.js} +2 -2
- package/dist/browser/{client-DUDp3FO6.js → client-Vh95j-4Q.js} +4 -4
- package/dist/browser/components-B84vWumL.js +6428 -0
- package/dist/browser/{createWayfinding-9R1Ad54u.js → createWayfinding-CvBZJycA.js} +287 -287
- package/dist/browser/{debug-overlay-BBkpUI_U.js → debug-overlay-2VT9jNwO.js} +10 -10
- package/dist/browser/{debug-ui-DPXgzWj0.js → debug-ui-B1rCZ_20.js} +6 -6
- package/dist/browser/{dist-BqrsnXFB.js → dist-B1GjLRER.js} +3 -3
- package/dist/browser/{dist-DaevYQLF.js → dist-CzB3q54J.js} +5 -5
- package/dist/browser/{dist-DI7wNQDr.js → dist-DlO0STw3.js} +6 -6
- package/dist/browser/{efp-debug-init-D8AFmzIs.js → efp-debug-init-DHecVGAB.js} +2 -2
- package/dist/browser/{enum-editor-BHdQQ9YQ.js → enum-editor-CYok5EWK.js} +11 -11
- package/dist/browser/{es5-aZZVJGwp.js → es5-B6ZCP3Nf.js} +2 -2
- package/dist/browser/{event-not-found-kDjGLV71.js → event-not-found-CnZ50wHB.js} +1 -1
- package/dist/browser/{exports-BNiZgURk.js → exports-Bkiz-xsy.js} +1 -1
- package/dist/browser/{favicon-BSJGUX6s.js → favicon-CnAVgZ0M.js} +1 -1
- package/dist/browser/{fetch-retry.umd-Dro6WyY0.js → fetch-retry.umd-DBGHQyaB.js} +2 -2
- package/dist/browser/{flex-DuO5mbMx.js → flex-D4pQUlUP.js} +5 -5
- package/dist/browser/{floorplan.loader-DPjrz3qN.js → floorplan.loader-cJkA6gUT.js} +11 -11
- package/dist/browser/{floorplan.ready-C7fMAZwR.js → floorplan.ready-2H0Etexv.js} +276 -276
- package/dist/browser/{fuse-BIsJdqTh.js → fuse-DchetBTf.js} +2 -2
- package/dist/browser/{i18n-CmO0-klU.js → i18n-BxzWqmMz.js} +4 -4
- package/dist/browser/index.js +12 -12
- package/dist/browser/index.module-c39ZrI4i.js +153 -0
- package/dist/browser/{is-webview-XdlsikhT.js → is-webview-Cf05uzxP.js} +1 -1
- package/dist/browser/{jsx-runtime-Bie-olX0.js → jsx-runtime-CpBZ_Xu9.js} +2 -2
- package/dist/browser/{lib-BYZ5PF0i.js → lib-BLeI_T8z.js} +4 -4
- package/dist/browser/{loadImage-BwaNRNg0.js → loadImage-D0OiaH3g.js} +4 -4
- package/dist/browser/{logDeviceInfo-BC1TDW1S.js → logDeviceInfo-pCQ1SwDY.js} +9 -9
- package/dist/browser/{main-NShWO1p7.js → main-BQOT4eqL.js} +1 -1
- package/dist/browser/{mobx-Bt0-8mq_.js → mobx-CR2pTm02.js} +4 -4
- package/dist/browser/{particles.min-BlWWxwbi.js → particles.min-CNUDOoq0.js} +2 -2
- package/dist/browser/{prop-types-CFnvasfK.js → prop-types-BOYxjTWi.js} +2 -2
- package/dist/browser/{react-BoKK15JS.js → react-CIU0fTyL.js} +2 -2
- package/dist/browser/{react-dom-C_amxX3E.js → react-dom-BYBThAht.js} +3 -3
- package/dist/browser/{reset-all-settings-Dvo1ZxIV.js → reset-all-settings-BhzcLM6d.js} +7 -7
- package/dist/browser/{rolldown-runtime-C99yYids.js → rolldown-runtime-BbFBHYUl.js} +1 -1
- package/dist/browser/{settings-Dv03O6N0.js → settings-3mNrotnD.js} +2 -2
- package/dist/browser/{settings-item-Ck5y4AAY.js → settings-item-DNQSLrXW.js} +6 -6
- package/dist/browser/{store-BFcLRTV3.js → store-CbkLKghg.js} +4436 -4486
- package/dist/browser/{string-editor-k7g-yojj.js → string-editor-DbizsPe5.js} +7 -7
- package/dist/browser/{theme-aANVI2Xd.js → theme-CSXyl6GN.js} +8 -8
- package/dist/browser/{ui-C37p2j8b.js → ui-D8gVz9vz.js} +8 -8
- package/dist/browser/{useRenderTarget-kmCBLSgD.js → useRenderTarget-Bzj4QCqf.js} +5 -5
- package/dist/esm/components/AutocompleteContainer.d.ts +1 -1
- package/dist/esm/components/BaseFilterModal.d.ts +1 -1
- package/dist/esm/components/BaseFilterModal.js +1 -1
- package/dist/esm/components/EntityListRow.d.ts +1 -1
- package/dist/esm/components/EntityListRow.js +1 -1
- package/dist/esm/components/Event.js +1 -1
- package/dist/esm/components/EventBadgeContainer.d.ts +8 -0
- package/dist/esm/components/EventBadgeContainer.js +1 -0
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/LanguageRowContainer.d.ts +6 -0
- package/dist/esm/components/LanguageRowContainer.js +1 -0
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/List.js +1 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/ModalContainer.d.ts +41 -0
- package/dist/esm/components/ModalContainer.js +1 -0
- package/dist/esm/components/RebookingNotesContainer.d.ts +4 -0
- package/dist/esm/components/RebookingNotesContainer.js +1 -0
- package/dist/esm/components/RebookingRadioGroupContainer.d.ts +6 -0
- package/dist/esm/components/RebookingRadioGroupContainer.js +1 -0
- package/dist/esm/components/RouteQR.js +1 -1
- package/dist/esm/components/Schedule.js +1 -1
- package/dist/esm/components/SessionsFiltersModal.js +1 -1
- package/dist/esm/components/ShareContainer.d.ts +7 -0
- package/dist/esm/components/ShareContainer.js +1 -0
- package/dist/esm/components/SpeakersFiltersModal.js +1 -1
- package/dist/esm/components/index.d.ts +59 -58
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/data/svg.d.ts +1 -1
- package/dist/esm/data/svg.js +1 -1
- package/dist/esm/store/ExhibitorStore.d.ts +8 -2
- package/dist/esm/store/ExhibitorStore.js +1 -1
- package/dist/esm/store/init/init-exhibitors.js +1 -1
- package/dist/esm/tools/rebooking-config.d.ts +10 -0
- package/dist/esm/tools/rebooking-config.js +1 -0
- package/dist/esm/ui/EventBadge/EventBadge.d.ts +13 -0
- package/dist/esm/ui/EventBadge/EventBadge.js +1 -0
- package/dist/esm/ui/EventBadge/index.d.ts +3 -0
- package/dist/esm/ui/EventBadge/index.js +1 -0
- package/dist/esm/ui/Modal/Modal.d.ts +34 -0
- package/dist/esm/ui/Modal/Modal.js +1 -0
- package/dist/esm/ui/Modal/index.d.ts +3 -0
- package/dist/esm/ui/Modal/index.js +1 -0
- package/dist/esm/ui/RebookingNotes/RebookingNotes.d.ts +11 -0
- package/dist/esm/ui/RebookingNotes/RebookingNotes.js +1 -0
- package/dist/esm/ui/RebookingNotes/index.d.ts +3 -0
- package/dist/esm/ui/RebookingNotes/index.js +1 -0
- package/dist/esm/ui/RebookingRadioGroup/RebookingRadioGroup.d.ts +17 -0
- package/dist/esm/ui/RebookingRadioGroup/RebookingRadioGroup.js +1 -0
- package/dist/esm/ui/RebookingRadioGroup/index.d.ts +3 -0
- package/dist/esm/ui/RebookingRadioGroup/index.js +1 -0
- package/dist/esm/ui/Share/Share.d.ts +22 -0
- package/dist/esm/ui/Share/Share.js +1 -0
- package/dist/esm/ui/Share/index.d.ts +3 -0
- package/dist/esm/ui/Share/index.js +1 -0
- package/dist/esm/utils/eventTime.d.ts +4 -3
- package/dist/esm/utils/eventTime.js +1 -1
- package/dist/esm/{components/QrCode.d.ts → utils/lazy-qr-code.d.ts} +1 -1
- package/package.json +3 -3
- package/dist/browser/Modal-DWUur9BF.js +0 -105
- package/dist/browser/ShowKiosk-CWLlKXZx.js +0 -28
- package/dist/browser/components-BzdtZ8we.js +0 -6361
- package/dist/esm/components/EventBadge.d.ts +0 -10
- package/dist/esm/components/EventBadge.js +0 -1
- package/dist/esm/components/LanguageRow.d.ts +0 -7
- package/dist/esm/components/LanguageRow.js +0 -1
- package/dist/esm/components/Modal.d.ts +0 -38
- package/dist/esm/components/Modal.js +0 -1
- package/dist/esm/components/RebookingNotes.d.ts +0 -12
- package/dist/esm/components/RebookingNotes.js +0 -1
- package/dist/esm/components/RebookingRadioGroup.d.ts +0 -24
- package/dist/esm/components/RebookingRadioGroup.js +0 -1
- package/dist/esm/components/Share.d.ts +0 -9
- package/dist/esm/components/Share.js +0 -1
- /package/dist/esm/{components/QrCode.js → utils/lazy-qr-code.js} +0 -0
|
@@ -2,21 +2,21 @@ 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.7.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.7.16" };
|
|
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] = "2bf3e129-fbf3-4456-9a09-99d74b08beb9", e._sentryDebugIdIdentifier = "sentry-dbid-2bf3e129-fbf3-4456-9a09-99d74b08beb9");
|
|
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 { v as i } from "./i18n-
|
|
14
|
-
import {
|
|
15
|
-
import { At as o, Ht as s, Kt as c, Lt as l,
|
|
16
|
-
import { r as C } from "./mobx-
|
|
17
|
-
import { a as w, c as T, i as E, l as D, n as O, o as k, r as A, s as j, t as M, u as ee } from "./createWayfinding-
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-BbFBHYUl.js";
|
|
11
|
+
import { t as n } from "./react-CIU0fTyL.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-CpBZ_Xu9.js";
|
|
13
|
+
import { v as i } from "./i18n-BxzWqmMz.js";
|
|
14
|
+
import { t as a } from "./index.module-c39ZrI4i.js";
|
|
15
|
+
import { At as o, Ht as s, Kt as c, Lt as l, Tt as u, cn as d, ct as f, dn as p, o as m, on as h, pn as g, qt as _, rt as v, s as y, t as b, un as x, xt as S } from "./store-CbkLKghg.js";
|
|
16
|
+
import { r as C } from "./mobx-CR2pTm02.js";
|
|
17
|
+
import { a as w, c as T, i as E, l as D, n as O, o as k, r as A, s as j, t as M, u as ee } from "./createWayfinding-CvBZJycA.js";
|
|
18
18
|
//#region ../../node_modules/.pnpm/maplibre-gl@5.24.0/node_modules/maplibre-gl/dist/maplibre-gl.css
|
|
19
|
-
var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(
|
|
19
|
+
var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__PURE__ */ t(((e, t) => {
|
|
20
20
|
(function(n, r) {
|
|
21
21
|
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self, n.maplibregl = r());
|
|
22
22
|
})(e, (function() {
|
|
@@ -34590,8 +34590,8 @@ function Ct({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34590
34590
|
if (!c.current) return;
|
|
34591
34591
|
let { sceneDef: n, geoConfig: r, staticTransform: i, tileSource: a, mapOptions: o } = m.current, s = !1, h = { ...n };
|
|
34592
34592
|
h.rootLayer = { ...n.rootLayer };
|
|
34593
|
-
let
|
|
34594
|
-
h.rootLayer.children =
|
|
34593
|
+
let g = n.rootLayer.children;
|
|
34594
|
+
h.rootLayer.children = g.filter((e) => {
|
|
34595
34595
|
var t;
|
|
34596
34596
|
return (e == null || (t = e.name) == null ? void 0 : t.toString().toLowerCase()) !== "areamap";
|
|
34597
34597
|
}), h.background = void 0, h.staticTransform = i, St();
|
|
@@ -34627,7 +34627,7 @@ function Ct({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34627
34627
|
onAdd(e, t) {
|
|
34628
34628
|
var n;
|
|
34629
34629
|
if (s) return;
|
|
34630
|
-
let r = new
|
|
34630
|
+
let r = new _({
|
|
34631
34631
|
canvas: y.getCanvas(),
|
|
34632
34632
|
gl: t
|
|
34633
34633
|
});
|
|
@@ -34679,26 +34679,26 @@ function Ct({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34679
34679
|
var wt = .02, Tt = .15;
|
|
34680
34680
|
function Et(e) {
|
|
34681
34681
|
let t = [
|
|
34682
|
-
[
|
|
34683
|
-
[
|
|
34684
|
-
[
|
|
34685
|
-
[
|
|
34686
|
-
].map(([t, n]) =>
|
|
34682
|
+
[d.x1, d.y1],
|
|
34683
|
+
[d.x2, d.y1],
|
|
34684
|
+
[d.x2, d.y2],
|
|
34685
|
+
[d.x1, d.y2]
|
|
34686
|
+
].map(([t, n]) => v(t, n, e));
|
|
34687
34687
|
if (!t.every(([e, t]) => Number.isFinite(e) && Number.isFinite(t))) return;
|
|
34688
34688
|
let n = t.map(([e]) => e), r = t.map(([, e]) => e), i = Math.min(...n), a = Math.max(...n), o = Math.min(...r), s = Math.max(...r), c = Math.max((a - i) * 3, wt), l = Math.max((s - o) * 3, wt);
|
|
34689
34689
|
return [[i - c, o - l], [a + c, s + l]];
|
|
34690
34690
|
}
|
|
34691
34691
|
function Dt(e, t) {
|
|
34692
34692
|
let n = [
|
|
34693
|
-
|
|
34694
|
-
|
|
34695
|
-
|
|
34696
|
-
|
|
34693
|
+
v(e.x1, e.y1, t),
|
|
34694
|
+
v(e.x2, e.y1, t),
|
|
34695
|
+
v(e.x2, e.y2, t),
|
|
34696
|
+
v(e.x1, e.y2, t)
|
|
34697
34697
|
], r = n.map(([e]) => e), i = n.map(([, e]) => e);
|
|
34698
34698
|
return [[Math.min(...r), Math.min(...i)], [Math.max(...r), Math.max(...i)]];
|
|
34699
34699
|
}
|
|
34700
34700
|
function Ot(e = 0) {
|
|
34701
|
-
let t =
|
|
34701
|
+
let t = y.canvasVisibleRectPx, n = y.screenSize;
|
|
34702
34702
|
return !t || !n ? {
|
|
34703
34703
|
top: e,
|
|
34704
34704
|
bottom: e,
|
|
@@ -34713,8 +34713,8 @@ function Ot(e = 0) {
|
|
|
34713
34713
|
}
|
|
34714
34714
|
function kt() {
|
|
34715
34715
|
var e, t;
|
|
34716
|
-
if (!(!(
|
|
34717
|
-
let n =
|
|
34716
|
+
if (!(!(f == null || (e = f.properties) == null) && e.config)) return null;
|
|
34717
|
+
let n = f.properties.config;
|
|
34718
34718
|
return {
|
|
34719
34719
|
center: [(n.p0.lng + n.p2.lng) / 2, (n.p0.lat + n.p2.lat) / 2],
|
|
34720
34720
|
bearing: (t = n.bearing) == null ? 0 : t,
|
|
@@ -34734,7 +34734,7 @@ function At(e, t, n, r = {}) {
|
|
|
34734
34734
|
}
|
|
34735
34735
|
//#endregion
|
|
34736
34736
|
//#region src/components/Maplibre/useCameraReactions.ts
|
|
34737
|
-
var jt =
|
|
34737
|
+
var jt = y;
|
|
34738
34738
|
function Mt(e, t) {
|
|
34739
34739
|
C(() => jt.moveToBooths, (n) => {
|
|
34740
34740
|
let r = e.current;
|
|
@@ -34742,7 +34742,7 @@ function Mt(e, t) {
|
|
|
34742
34742
|
let i = n.filter((e) => e.rect);
|
|
34743
34743
|
if (i.length === 0) return;
|
|
34744
34744
|
let a = i.map((e) => e.rect);
|
|
34745
|
-
At(r,
|
|
34745
|
+
At(r, x.fromMultiple(a), t), jt.moveToBooths = null;
|
|
34746
34746
|
}), C(() => jt.moveToRect, (n) => {
|
|
34747
34747
|
let r = e.current;
|
|
34748
34748
|
!n || !r || !t || (At(r, n, t), jt.moveToRect = null);
|
|
@@ -34753,25 +34753,25 @@ function Mt(e, t) {
|
|
|
34753
34753
|
animate: !0,
|
|
34754
34754
|
duration: 500
|
|
34755
34755
|
}), jt.zoomBy = null);
|
|
34756
|
-
}), C(() =>
|
|
34757
|
-
let r = e.current, i =
|
|
34756
|
+
}), C(() => y.moveToLocation, (n) => {
|
|
34757
|
+
let r = e.current, i = m.routeStore.currentPosition;
|
|
34758
34758
|
if (!n || !r || !i) return;
|
|
34759
34759
|
let { lng: a, lat: o } = i, s = typeof a == "number" && Number.isFinite(a) && typeof o == "number" && Number.isFinite(o), c;
|
|
34760
34760
|
if (s) c = [a, o];
|
|
34761
34761
|
else {
|
|
34762
34762
|
if (!t) return;
|
|
34763
|
-
c =
|
|
34763
|
+
c = v(i.x, i.y, t.gpsConfig);
|
|
34764
34764
|
}
|
|
34765
34765
|
r.flyTo({
|
|
34766
34766
|
center: c,
|
|
34767
34767
|
animate: !0,
|
|
34768
34768
|
duration: 1e3
|
|
34769
34769
|
}), r.once("moveend", () => {
|
|
34770
|
-
|
|
34770
|
+
y.moveToLocation = !1;
|
|
34771
34771
|
});
|
|
34772
|
-
}), C(() =>
|
|
34772
|
+
}), C(() => y.centerMap, (n) => {
|
|
34773
34773
|
let r = e.current;
|
|
34774
|
-
!n || !r || !t || (
|
|
34774
|
+
!n || !r || !t || (y.list.type === "search" && !y.list.text || At(r, m.layerStore.rectangle || d, t, { padding: 0 }), y.centerMap = !1);
|
|
34775
34775
|
});
|
|
34776
34776
|
}
|
|
34777
34777
|
//#endregion
|
|
@@ -34803,7 +34803,7 @@ function W(e, t, n = !1) {
|
|
|
34803
34803
|
}
|
|
34804
34804
|
function Rt() {
|
|
34805
34805
|
var e, t;
|
|
34806
|
-
let n = (e = (t =
|
|
34806
|
+
let n = (e = (t = m.fp) == null ? void 0 : t.maplibre) == null ? window.__efpMaplibre : e;
|
|
34807
34807
|
return n != null && n.style ? { style: n.style } : n != null && n.styleUrl ? { style: n.styleUrl } : Nt;
|
|
34808
34808
|
}
|
|
34809
34809
|
//#endregion
|
|
@@ -34823,7 +34823,7 @@ function zt(e, t) {
|
|
|
34823
34823
|
return r.current = t, i.current = a, () => {
|
|
34824
34824
|
t.stop(), a.stop(), r.current = null, i.current = null;
|
|
34825
34825
|
};
|
|
34826
|
-
}, [e]), C(() =>
|
|
34826
|
+
}, [e]), C(() => y.dimmed, (e) => {
|
|
34827
34827
|
var t, n;
|
|
34828
34828
|
(t = r.current) == null || t.setTarget(e), (n = i.current) == null || n.setTarget(e);
|
|
34829
34829
|
}), {
|
|
@@ -34831,7 +34831,7 @@ function zt(e, t) {
|
|
|
34831
34831
|
venueDimAnimatorRef: i,
|
|
34832
34832
|
handleMapDimLayerReady: (0, N.useCallback)((e) => {
|
|
34833
34833
|
var t, n;
|
|
34834
|
-
It(e, ((t = (n = r.current) == null ? void 0 : n.getValue()) == null ? +!!
|
|
34834
|
+
It(e, ((t = (n = r.current) == null ? void 0 : n.getValue()) == null ? +!!y.dimmed : t) * A);
|
|
34835
34835
|
}, [])
|
|
34836
34836
|
};
|
|
34837
34837
|
}
|
|
@@ -34857,7 +34857,7 @@ function Vt(e) {
|
|
|
34857
34857
|
//#region src/components/Maplibre/useLayerVisibilitySync.ts
|
|
34858
34858
|
function G(e, t, n) {
|
|
34859
34859
|
let r = (0, N.useRef)(null), i = (0, N.useRef)(null);
|
|
34860
|
-
C(() =>
|
|
34860
|
+
C(() => m.layerStore.layers.map((e) => `${e.name}:${+!!e.visible}`), () => {
|
|
34861
34861
|
var a, o;
|
|
34862
34862
|
let s = e.scene;
|
|
34863
34863
|
if (!s) return;
|
|
@@ -34866,7 +34866,7 @@ function G(e, t, n) {
|
|
|
34866
34866
|
defsByName: Bt(s.rootLayer)
|
|
34867
34867
|
});
|
|
34868
34868
|
let c = r.current.defsByName, l = [];
|
|
34869
|
-
for (let e of
|
|
34869
|
+
for (let e of m.layerStore.layers) {
|
|
34870
34870
|
let t = c.get(e.name);
|
|
34871
34871
|
if (t != null && t.length) for (let n of t) {
|
|
34872
34872
|
let t = !e.visible;
|
|
@@ -34874,42 +34874,42 @@ function G(e, t, n) {
|
|
|
34874
34874
|
}
|
|
34875
34875
|
}
|
|
34876
34876
|
l.length && e.update(...l);
|
|
34877
|
-
let u =
|
|
34877
|
+
let u = m.layerStore.layers.find((e) => e.visible && !e.frozen && !e.rootParent && !e.pathway);
|
|
34878
34878
|
!u || i.current === u.name || (i.current = u.name, At(t.current, (o = u.viewbox) == null ? u.rect : o, n));
|
|
34879
34879
|
});
|
|
34880
34880
|
}
|
|
34881
34881
|
//#endregion
|
|
34882
34882
|
//#region src/components/Maplibre/useRendererEvents.ts
|
|
34883
|
-
var Ht =
|
|
34883
|
+
var Ht = y;
|
|
34884
34884
|
function Ut(e, t) {
|
|
34885
34885
|
(0, N.useEffect)(() => {
|
|
34886
34886
|
if (!e) return;
|
|
34887
34887
|
let n = ({ data: e }) => {
|
|
34888
|
-
if (
|
|
34888
|
+
if (y.setKioskModeEnabled) return;
|
|
34889
34889
|
let { point: t, defs: n } = s(e), r = O(t.x, t.y), i = Vt(n[0]);
|
|
34890
34890
|
Ht.hoveredBooth = r || i;
|
|
34891
34891
|
}, r = () => {
|
|
34892
|
-
|
|
34892
|
+
y.setKioskModeEnabled || (Ht.hoveredBooth = null);
|
|
34893
34893
|
}, i = ({ data: e }) => {
|
|
34894
34894
|
var n, r;
|
|
34895
|
-
if (!(
|
|
34896
|
-
(n = (r = window).__resett) == null || n.call(r),
|
|
34895
|
+
if (!(y != null && y.rootElement)) return;
|
|
34896
|
+
(n = (r = window).__resett) == null || n.call(r), y.overlayPosition === "bottom" && y.overlaySize === "full" && m.showMap();
|
|
34897
34897
|
let { point: i, defs: a } = s(e), { x: o, y: c } = i;
|
|
34898
|
-
if (
|
|
34899
|
-
let e =
|
|
34900
|
-
|
|
34898
|
+
if (y.onGetCoordsClick) {
|
|
34899
|
+
let e = m.layerStore.layers.find((e) => e.visible && (e.mode === S.TurnedOn || e.mode === S.TurnedOff));
|
|
34900
|
+
y.onGetCoordsClick({
|
|
34901
34901
|
x: o,
|
|
34902
34902
|
y: c,
|
|
34903
34903
|
z: (e == null ? void 0 : e.name) || null
|
|
34904
34904
|
});
|
|
34905
34905
|
}
|
|
34906
|
-
if (
|
|
34907
|
-
if (
|
|
34906
|
+
if (y.setKioskModeEnabled) return;
|
|
34907
|
+
if (y.onMarkerClick) {
|
|
34908
34908
|
let e = ee(o, c, t.scale);
|
|
34909
|
-
|
|
34909
|
+
y.onMarkerClick(e);
|
|
34910
34910
|
}
|
|
34911
34911
|
let l = O(i.x, i.y), u = Vt(a[0]);
|
|
34912
|
-
|
|
34912
|
+
m.clickBooth(l || u);
|
|
34913
34913
|
}, a = () => {
|
|
34914
34914
|
var e, t;
|
|
34915
34915
|
return (e = (t = window).__resett) == null ? void 0 : e.call(t);
|
|
@@ -35044,9 +35044,9 @@ function rn(e, t) {
|
|
|
35044
35044
|
var an = "routes-api.expofp.com";
|
|
35045
35045
|
function on() {
|
|
35046
35046
|
i(() => {
|
|
35047
|
-
|
|
35047
|
+
m.layerStore.layers.forEach((e) => {
|
|
35048
35048
|
e.configured = !1, e.children = [], e.loaded = !1;
|
|
35049
|
-
}),
|
|
35049
|
+
}), m.layerStore.layersLoaded = !1;
|
|
35050
35050
|
});
|
|
35051
35051
|
}
|
|
35052
35052
|
function sn(e, t) {
|
|
@@ -35055,28 +35055,28 @@ function sn(e, t) {
|
|
|
35055
35055
|
n.length && e.update(...n);
|
|
35056
35056
|
}
|
|
35057
35057
|
var K = a(function({ viewMode: e }) {
|
|
35058
|
-
let [t, n] = (0, N.useState)(null), [r, i] = (0, N.useState)(null), a =
|
|
35059
|
-
center:
|
|
35060
|
-
bearing:
|
|
35061
|
-
zoom:
|
|
35062
|
-
bounds: Dt(
|
|
35058
|
+
let [t, n] = (0, N.useState)(null), [r, i] = (0, N.useState)(null), a = m.rendererService, s = (0, N.useRef)(null), f = (0, N.useRef)(null), p = (0, N.useRef)(null), _ = (0, N.useRef)(null), v = (0, N.useMemo)(() => kt(), []), b = (0, N.useMemo)(() => v ? {
|
|
35059
|
+
center: v.center,
|
|
35060
|
+
bearing: v.bearing,
|
|
35061
|
+
zoom: v.zoom,
|
|
35062
|
+
bounds: Dt(d, v.gpsConfig),
|
|
35063
35063
|
fitPadding: Ot(0),
|
|
35064
35064
|
zoomAdjustment: Tt
|
|
35065
|
-
} : null, [
|
|
35065
|
+
} : null, [v]), x = (0, N.useMemo)(() => {
|
|
35066
35066
|
var e;
|
|
35067
|
-
return
|
|
35068
|
-
}, [
|
|
35067
|
+
return v ? Jt(v.gpsConfig, (e = h()) == null ? void 0 : e.getAttribute("units")) : null;
|
|
35068
|
+
}, [v]), S = (0, N.useMemo)(() => ({
|
|
35069
35069
|
...e === "map2d" ? Ft : Pt,
|
|
35070
|
-
maxBounds:
|
|
35071
|
-
}), [
|
|
35070
|
+
maxBounds: v ? Et(v.gpsConfig) : void 0
|
|
35071
|
+
}), [v, e]), C = (0, N.useRef)(S), w = (0, N.useMemo)(() => Rt(), []), { mapDimAnimatorRef: E, venueDimAnimatorRef: D, handleMapDimLayerReady: O } = zt(f, a);
|
|
35072
35072
|
(0, N.useEffect)(() => {
|
|
35073
|
-
if (!
|
|
35073
|
+
if (!v) return;
|
|
35074
35074
|
let e = !1;
|
|
35075
35075
|
on();
|
|
35076
35076
|
let t = T(a).then((t) => {
|
|
35077
35077
|
if (e) return;
|
|
35078
|
-
let r = (0, te.default)(
|
|
35079
|
-
n(l(t, c.fromCoreRect(
|
|
35078
|
+
let r = (0, te.default)(g.backgroundColor === "none" ? "#ebebeb" : g.backgroundColor).string();
|
|
35079
|
+
n(l(t, c.fromCoreRect(d), r));
|
|
35080
35080
|
}).catch((t) => {
|
|
35081
35081
|
e || console.warn("Maplibre scene configuration failed.", t);
|
|
35082
35082
|
}), r = E.current, o = D.current;
|
|
@@ -35084,50 +35084,50 @@ var K = a(function({ viewMode: e }) {
|
|
|
35084
35084
|
var n;
|
|
35085
35085
|
e = !0, on();
|
|
35086
35086
|
let c = s.current;
|
|
35087
|
-
t.finally(() => a.disposeIfCurrent(c)), (n = p.current) == null || n.call(p), p.current = null, s.current = null,
|
|
35087
|
+
t.finally(() => a.disposeIfCurrent(c)), (n = p.current) == null || n.call(p), p.current = null, s.current = null, f.current = null, _.current = null, i(null), r == null || r.stop(), o == null || o.stop(), y.sceneDefReady = !1;
|
|
35088
35088
|
};
|
|
35089
35089
|
}, [
|
|
35090
|
-
|
|
35090
|
+
v,
|
|
35091
35091
|
E,
|
|
35092
35092
|
a,
|
|
35093
35093
|
D
|
|
35094
35094
|
]);
|
|
35095
35095
|
let A = (0, N.useCallback)((e, t, n, r) => {
|
|
35096
|
-
var c, l,
|
|
35097
|
-
s.current = e,
|
|
35098
|
-
let
|
|
35099
|
-
t.on("rotate",
|
|
35100
|
-
t.off("rotate",
|
|
35101
|
-
},
|
|
35096
|
+
var c, l, d;
|
|
35097
|
+
s.current = e, f.current = t, _.current = r, i(e), a.attach(e, n, r), W(t, C.current), (c = E.current) == null || c.setTarget(y.dimmed, { immediate: !0 }), (l = D.current) == null || l.setTarget(y.dimmed, { immediate: !0 }), (d = p.current) == null || d.call(p);
|
|
35098
|
+
let h = () => sn(a, o(t.getBearing()));
|
|
35099
|
+
t.on("rotate", h), t.on("rotateend", h), p.current = () => {
|
|
35100
|
+
t.off("rotate", h), t.off("rotateend", h);
|
|
35101
|
+
}, u(a);
|
|
35102
35102
|
let g = a.ptScaleRegistry.invoke(a.scale || 1);
|
|
35103
|
-
g.length && a.update(...g), sn(a, o(t.getBearing())),
|
|
35103
|
+
g.length && a.update(...g), sn(a, o(t.getBearing())), m.layerStore.layersLoaded = !0, m.fp.onFpConfigured && m.fp.onFpConfigured(), y.sceneDefReady = !0, r();
|
|
35104
35104
|
}, [
|
|
35105
35105
|
a,
|
|
35106
35106
|
E,
|
|
35107
35107
|
D
|
|
35108
35108
|
]);
|
|
35109
35109
|
(0, N.useEffect)(() => {
|
|
35110
|
-
C.current =
|
|
35111
|
-
}, [
|
|
35112
|
-
enabled:
|
|
35110
|
+
C.current = S, W(f.current, S, !0);
|
|
35111
|
+
}, [S]), Ut(r, a), Wt(r, a), G(a, f, v), Mt(f, v), j({
|
|
35112
|
+
enabled: m.layerStore.layersLoaded && y.buildRoute,
|
|
35113
35113
|
rendererService: a
|
|
35114
35114
|
}), k({
|
|
35115
|
-
permission:
|
|
35115
|
+
permission: m.layerStore.layersLoaded,
|
|
35116
35116
|
rendererService: a,
|
|
35117
|
-
dataJsonUrl: `https://${an}/v1/routes?expo=${
|
|
35118
|
-
websocketUrl: `wss://${an}/locations?expo=${
|
|
35117
|
+
dataJsonUrl: `https://${an}/v1/routes?expo=${g.EXPO}`,
|
|
35118
|
+
websocketUrl: `wss://${an}/locations?expo=${g.EXPO}`
|
|
35119
35119
|
});
|
|
35120
35120
|
let M = (0, N.useCallback)((e) => {
|
|
35121
|
-
console.warn("Maplibre map failed to load; falling back to floorplan mode.", e),
|
|
35121
|
+
console.warn("Maplibre map failed to load; falling back to floorplan mode.", e), m.maplibreStore.deactivateMaplibre();
|
|
35122
35122
|
}, []);
|
|
35123
|
-
if (!
|
|
35124
|
-
let ee = `${
|
|
35123
|
+
if (!v || !b || !x || !t) return null;
|
|
35124
|
+
let ee = `${b.center.join(",")}:${b.bearing}:${b.zoom}`;
|
|
35125
35125
|
return /* @__PURE__ */ (0, ut.jsx)(Ct, {
|
|
35126
35126
|
sceneDef: t,
|
|
35127
|
-
geoConfig:
|
|
35128
|
-
staticTransform:
|
|
35127
|
+
geoConfig: b,
|
|
35128
|
+
staticTransform: x,
|
|
35129
35129
|
tileSource: w,
|
|
35130
|
-
mapOptions:
|
|
35130
|
+
mapOptions: S,
|
|
35131
35131
|
onRendererReady: A,
|
|
35132
35132
|
onMapDimLayerReady: O,
|
|
35133
35133
|
onMapLoadError: M
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='undefined') return; var shadow=!forceLightDom&&typeof window!=='undefined'&&window.__efpShadowDOMStyleParent; var parent=shadow||document.head; var s=document.createElement('style'); s.setAttribute('data-chunk-style', id); s.appendChild(document.createTextNode(css)); parent.appendChild(s);}
|
|
2
|
+
(function() {
|
|
3
|
+
try {
|
|
4
|
+
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.7.16" };
|
|
6
|
+
var t = new e.Error().stack;
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "9f82e1dc-3a21-403a-9b61-3130f8c0d6e2", e._sentryDebugIdIdentifier = "sentry-dbid-9f82e1dc-3a21-403a-9b61-3130f8c0d6e2");
|
|
8
|
+
} catch {}
|
|
9
|
+
})();
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-BbFBHYUl.js";
|
|
11
|
+
import { t as n } from "./react-CIU0fTyL.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-CpBZ_Xu9.js";
|
|
13
|
+
import { s as i } from "./i18n-BxzWqmMz.js";
|
|
14
|
+
import { t as a } from "./react-dom-BYBThAht.js";
|
|
15
|
+
import { t as o } from "./classnames-DerROiP3.js";
|
|
16
|
+
import { t as s } from "./index.module-c39ZrI4i.js";
|
|
17
|
+
import { t as c } from "./Button-CjtFTyzR.js";
|
|
18
|
+
import { t as l } from "./useRenderTarget-Bzj4QCqf.js";
|
|
19
|
+
//#region src/ui/Modal/Modal.tsx
|
|
20
|
+
var u = /* @__PURE__ */ t(o(), 1), d = /* @__PURE__ */ t(n(), 1), f = /* @__PURE__ */ t(a(), 1), p = r(), m = 200, h = (e) => e.getClientRects().length > 0 && getComputedStyle(e).visibility !== "hidden", g = ({ open: e, className: t, variant: n = "default", title: r, ariaLabel: i, maxWidth: a, children: o, closeLabel: s, renderTarget: l, footerLeft: g = [], footerRight: _ = [], onClose: v }) => {
|
|
21
|
+
let y = (0, d.useRef)(null), b = (0, d.useRef)(null), x = (0, d.useId)(), [S, C] = (0, d.useState)(e), [w, T] = (0, d.useState)(e);
|
|
22
|
+
if ((0, d.useEffect)(() => {
|
|
23
|
+
if (!e) {
|
|
24
|
+
var t;
|
|
25
|
+
let e = requestAnimationFrame(() => C(!1)), n = setTimeout(() => T(!1), m);
|
|
26
|
+
return (t = b.current) == null || t.focus(), b.current = null, () => {
|
|
27
|
+
cancelAnimationFrame(e), clearTimeout(n);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
b.current || (b.current = document.activeElement);
|
|
31
|
+
let n = document.body.style.overflow;
|
|
32
|
+
document.body.style.overflow = "hidden";
|
|
33
|
+
let r = 0, i = requestAnimationFrame(() => {
|
|
34
|
+
T(!0), r = requestAnimationFrame(() => C(!0));
|
|
35
|
+
});
|
|
36
|
+
return () => {
|
|
37
|
+
cancelAnimationFrame(i), cancelAnimationFrame(r), document.body.style.overflow = n;
|
|
38
|
+
};
|
|
39
|
+
}, [e]), (0, d.useEffect)(() => {
|
|
40
|
+
if (!e) return;
|
|
41
|
+
let t = (e) => {
|
|
42
|
+
if (e.key === "Escape") {
|
|
43
|
+
e.preventDefault(), e.stopImmediatePropagation(), v();
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
if (e.key !== "Tab") return;
|
|
47
|
+
let t = y.current;
|
|
48
|
+
if (!t) return;
|
|
49
|
+
let n = Array.from(t.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")).filter(h);
|
|
50
|
+
if (n.length === 0) {
|
|
51
|
+
e.preventDefault();
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
let r = n[0], i = n[n.length - 1], a = document.activeElement;
|
|
55
|
+
e.shiftKey ? (a === r || a === t) && (e.preventDefault(), i.focus()) : a === i && (e.preventDefault(), r.focus());
|
|
56
|
+
};
|
|
57
|
+
return document.addEventListener("keydown", t), () => document.removeEventListener("keydown", t);
|
|
58
|
+
}, [e, v]), (0, d.useEffect)(() => {
|
|
59
|
+
if (!S) return;
|
|
60
|
+
let e = 0, t = requestAnimationFrame(() => {
|
|
61
|
+
e = requestAnimationFrame(() => {
|
|
62
|
+
var e;
|
|
63
|
+
return (e = y.current) == null ? void 0 : e.focus();
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
return () => {
|
|
67
|
+
cancelAnimationFrame(t), cancelAnimationFrame(e);
|
|
68
|
+
};
|
|
69
|
+
}, [S]), !w || !l) return null;
|
|
70
|
+
let E = (e) => e == null ? void 0 : e.map(({ label: e, onClick: t, variant: n = "primary", disabled: r, withBadge: i }, a) => /* @__PURE__ */ (0, p.jsx)(c, {
|
|
71
|
+
onClick: t,
|
|
72
|
+
variant: n,
|
|
73
|
+
size: "md",
|
|
74
|
+
inline: !0,
|
|
75
|
+
disabled: r,
|
|
76
|
+
withBadge: i,
|
|
77
|
+
children: e
|
|
78
|
+
}, a));
|
|
79
|
+
return (0, f.createPortal)(/* @__PURE__ */ (0, p.jsx)("div", {
|
|
80
|
+
className: (0, u.default)("efp-modal", `efp-modal--${n}`, { "efp-modal--open": S }, t),
|
|
81
|
+
role: "dialog",
|
|
82
|
+
"aria-modal": "true",
|
|
83
|
+
"aria-labelledby": r ? x : void 0,
|
|
84
|
+
"aria-label": r ? void 0 : i,
|
|
85
|
+
ref: y,
|
|
86
|
+
tabIndex: -1,
|
|
87
|
+
onClick: v,
|
|
88
|
+
children: /* @__PURE__ */ (0, p.jsxs)("div", {
|
|
89
|
+
className: "efp-modal__box",
|
|
90
|
+
style: a ? { maxWidth: `${a}px` } : void 0,
|
|
91
|
+
onClick: (e) => e.stopPropagation(),
|
|
92
|
+
children: [
|
|
93
|
+
/* @__PURE__ */ (0, p.jsxs)("div", {
|
|
94
|
+
className: "efp-modal__header",
|
|
95
|
+
children: [r && /* @__PURE__ */ (0, p.jsx)("div", {
|
|
96
|
+
className: "efp-modal__title-container",
|
|
97
|
+
children: /* @__PURE__ */ (0, p.jsx)("h2", {
|
|
98
|
+
className: "efp-modal__title",
|
|
99
|
+
id: x,
|
|
100
|
+
children: r
|
|
101
|
+
})
|
|
102
|
+
}), /* @__PURE__ */ (0, p.jsx)("button", {
|
|
103
|
+
type: "button",
|
|
104
|
+
className: "efp-modal__close",
|
|
105
|
+
onClick: v,
|
|
106
|
+
"aria-label": s,
|
|
107
|
+
title: s,
|
|
108
|
+
children: /* @__PURE__ */ (0, p.jsx)("i", {
|
|
109
|
+
className: "icon-close",
|
|
110
|
+
"aria-hidden": "true"
|
|
111
|
+
})
|
|
112
|
+
})]
|
|
113
|
+
}),
|
|
114
|
+
/* @__PURE__ */ (0, p.jsx)("div", {
|
|
115
|
+
className: "efp-modal__body",
|
|
116
|
+
children: o
|
|
117
|
+
}),
|
|
118
|
+
(g.length > 0 || _.length > 0) && /* @__PURE__ */ (0, p.jsxs)("div", {
|
|
119
|
+
className: "efp-modal__footer",
|
|
120
|
+
children: [/* @__PURE__ */ (0, p.jsx)("div", {
|
|
121
|
+
className: "efp-modal__footer-left",
|
|
122
|
+
children: g.length > 0 && E(g)
|
|
123
|
+
}), _.length > 0 && /* @__PURE__ */ (0, p.jsx)("div", {
|
|
124
|
+
className: "efp-modal__footer-right",
|
|
125
|
+
children: E(_)
|
|
126
|
+
})]
|
|
127
|
+
})
|
|
128
|
+
]
|
|
129
|
+
})
|
|
130
|
+
}), l);
|
|
131
|
+
}, _ = /* @__PURE__ */ e({ default: () => v }), v = s((e) => {
|
|
132
|
+
let t = l();
|
|
133
|
+
return /* @__PURE__ */ (0, p.jsx)(g, {
|
|
134
|
+
...e,
|
|
135
|
+
renderTarget: t,
|
|
136
|
+
closeLabel: i("Close")
|
|
137
|
+
});
|
|
138
|
+
});
|
|
139
|
+
//#endregion
|
|
140
|
+
export { _ as n, v as t };
|
|
141
|
+
|
|
142
|
+
;/* vite-per-chunk-css */
|
|
143
|
+
__vite_inject_css__(".efp-modal{z-index:999;width:100%;height:100%;padding:calc(1.25rem * var(--ui-scale));opacity:0;visibility:hidden;background:#a3a8afcc;justify-content:center;align-items:center;transition:opacity .2s,visibility .2s;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.efp-modal__box{width:100%;max-height:94vh;background:var(--color-white);border-radius:var(--border-radius-xl);max-height:94dvh;box-shadow:var(--shadow-md);opacity:0;flex-direction:column;transition:opacity .1s,transform .2s;display:flex;position:relative;overflow:hidden;transform:translateY(100px)}.efp-modal__header{width:100%;min-height:calc(3.75rem * var(--ui-scale));padding-inline:calc(1.5rem * var(--ui-scale)) calc(3.125rem * var(--ui-scale));border-bottom:1px solid var(--color-gray-200);flex-shrink:0;align-items:center;display:flex}.efp-modal__title-container{align-items:center;gap:calc(1.25rem * var(--ui-scale));display:flex}.efp-modal__title{align-items:center;gap:calc(.625rem * var(--ui-scale));font-size:var(--font-size-xxl);font-weight:var(--font-weight-bold);margin:0;display:flex}.efp-modal__close{top:calc(.5rem * var(--ui-scale));right:calc(.5rem * var(--ui-scale));width:calc(2.5rem * var(--ui-scale));height:calc(2.5rem * var(--ui-scale));border-radius:var(--border-radius-md);opacity:.6;color:var(--color-gray-700);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;transition:opacity .1s,background-color .1s;display:flex;position:absolute}.efp-modal__close:hover{background-color:var(--color-gray-100);opacity:1;color:var(--color-black)}.efp-modal__body{padding:calc(1.5rem * var(--ui-scale)) calc(1.25rem * var(--ui-scale));flex:1;min-height:0;overflow:auto}.efp-modal__footer{justify-content:space-between;gap:calc(.625rem * var(--ui-scale));padding:calc(1.25rem * var(--ui-scale));border-top:1px solid var(--color-gray-200);flex-flow:wrap;flex-shrink:0;display:flex}@media (max-width:480px){.efp-modal__footer{padding:calc(.875rem * var(--ui-scale)) calc(1.25rem * var(--ui-scale));gap:calc(.875rem * var(--ui-scale))}.efp-modal__footer .efp-button{width:100%;max-width:100%}}.efp-modal__footer-left,.efp-modal__footer-right{align-items:center;gap:calc(0rem * var(--ui-scale));display:flex}.efp-modal__footer-right{flex:1;justify-content:flex-end}@media (max-width:480px){.efp-modal__footer-right{align-self:flex-end}}.efp-modal--default .efp-modal__box{max-width:900px}.efp-modal--share .efp-modal__box{max-width:420px}.efp-modal--open{opacity:1;visibility:visible}.efp-modal--open .efp-modal__box{opacity:1;transform:translateY(0)}@media (max-width:768px){.efp-modal{padding:calc(1.25rem * var(--ui-scale)) 0 0 0;align-items:flex-end}.efp-modal .efp-modal__box{border-radius:0;border-top-left-radius:var(--border-radius-xl);border-top-right-radius:var(--border-radius-xl)}}[dir=rtl] .efp-modal__close{right:unset;left:0}\n/*$vite$:1*/", "ModalContainer.css", false);
|
|
@@ -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.7.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.7.16" };
|
|
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] = "5f7b68b9-7472-473d-961a-aa5558589af2", e._sentryDebugIdIdentifier = "sentry-dbid-5f7b68b9-7472-473d-961a-aa5558589af2");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e } from "./rolldown-runtime-
|
|
11
|
-
import { t } from "./react-
|
|
12
|
-
import { t as n } from "./jsx-runtime-
|
|
13
|
-
import { t as r } from "./classnames-
|
|
14
|
-
import { t as i } from "./Button-
|
|
10
|
+
import { r as e } from "./rolldown-runtime-BbFBHYUl.js";
|
|
11
|
+
import { t } from "./react-CIU0fTyL.js";
|
|
12
|
+
import { t as n } from "./jsx-runtime-CpBZ_Xu9.js";
|
|
13
|
+
import { t as r } from "./classnames-DerROiP3.js";
|
|
14
|
+
import { t as i } from "./Button-CjtFTyzR.js";
|
|
15
15
|
//#region src/ui/PermissionNotice/PermissionNotice.tsx
|
|
16
16
|
var a = /* @__PURE__ */ e(r(), 1), o = /* @__PURE__ */ e(t(), 1), s = n(), c = ({ title: e, acceptText: t, rejectText: n, children: r, placement: c = "bottom-right", onAccept: l, onReject: u, className: d }) => {
|
|
17
17
|
let f = (0, o.useId)(), p = (0, o.useId)();
|
|
@@ -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.7.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.7.16" };
|
|
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] = "9f669504-e866-4611-a31e-86e3b2f1e091", e._sentryDebugIdIdentifier = "sentry-dbid-9f669504-e866-4611-a31e-86e3b2f1e091");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import {
|
|
13
|
-
import { Ht as i, Vt as a,
|
|
14
|
-
import { n as c } from "./mobx-
|
|
15
|
-
import { t as l } from "./KioskStore-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BbFBHYUl.js";
|
|
10
|
+
import { t } from "./react-CIU0fTyL.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-CpBZ_Xu9.js";
|
|
12
|
+
import { t as r } from "./index.module-c39ZrI4i.js";
|
|
13
|
+
import { Ht as i, Vt as a, ht as o, o as s } from "./store-CbkLKghg.js";
|
|
14
|
+
import { n as c } from "./mobx-CR2pTm02.js";
|
|
15
|
+
import { t as l } from "./KioskStore-D0To4HWV.js";
|
|
16
16
|
//#region src/components/Kiosk/SetKioskMode.tsx
|
|
17
17
|
var u = /* @__PURE__ */ e(t(), 1), d = n(), f = r(() => {
|
|
18
18
|
var e, t, n;
|
|
@@ -0,0 +1,28 @@
|
|
|
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.7.16" };
|
|
5
|
+
var t = new e.Error().stack;
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "26b953ae-2311-4500-b58c-f1a4cfb22319", e._sentryDebugIdIdentifier = "sentry-dbid-26b953ae-2311-4500-b58c-f1a4cfb22319");
|
|
7
|
+
} catch {}
|
|
8
|
+
})();
|
|
9
|
+
import "./rolldown-runtime-BbFBHYUl.js";
|
|
10
|
+
import { t as e } from "./react-CIU0fTyL.js";
|
|
11
|
+
import { t } from "./jsx-runtime-CpBZ_Xu9.js";
|
|
12
|
+
import "./i18n-BxzWqmMz.js";
|
|
13
|
+
import { t as n } from "./index.module-c39ZrI4i.js";
|
|
14
|
+
import { lt as r, o as i, ut as a } from "./store-CbkLKghg.js";
|
|
15
|
+
import { n as o } from "./mobx-CR2pTm02.js";
|
|
16
|
+
import { t as s } from "./KioskStore-D0To4HWV.js";
|
|
17
|
+
import { t as c } from "./TouchHand-CSDv-0f5.js";
|
|
18
|
+
e();
|
|
19
|
+
var l = t(), u = n(() => (o(() => {
|
|
20
|
+
if (localStorage.getItem("kiosk") === "0") return;
|
|
21
|
+
s.restoreData();
|
|
22
|
+
let e = s.kiosk;
|
|
23
|
+
if (e) return r(e, !0), a(e), s.resetCamera(), i.setResetCameraFn(() => s.resetCamera()), () => {
|
|
24
|
+
i.uiState.setKioskData(null), i.uiState.resetMapSettings();
|
|
25
|
+
};
|
|
26
|
+
}), i.uiState.kiosk && i.uiState.inIdle ? /* @__PURE__ */ (0, l.jsx)(c, {}) : null));
|
|
27
|
+
//#endregion
|
|
28
|
+
export { u as default };
|
|
@@ -2,14 +2,14 @@ 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.7.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.7.16" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ad650164-f46f-41ec-83c4-6105bb484f8f", e._sentryDebugIdIdentifier = "sentry-dbid-ad650164-f46f-41ec-83c4-6105bb484f8f");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import "./rolldown-runtime-
|
|
11
|
-
import { t as e } from "./react-
|
|
12
|
-
import { t } from "./jsx-runtime-
|
|
10
|
+
import "./rolldown-runtime-BbFBHYUl.js";
|
|
11
|
+
import { t as e } from "./react-CIU0fTyL.js";
|
|
12
|
+
import { t } from "./jsx-runtime-CpBZ_Xu9.js";
|
|
13
13
|
e();
|
|
14
14
|
var n = t(), r = () => /* @__PURE__ */ (0, n.jsx)("div", {
|
|
15
15
|
className: "efp-touch-hand",
|