@expofp/floorplan 3.7.15 → 3.7.17
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-Bw2rU4DR.js → Button-CalAncSt.js} +5 -5
- package/dist/browser/{CookieConsent-Cg6F_bop.js → CookieConsent-ZygvYtDb.js} +7 -7
- package/dist/browser/{Debug-D2FxPAx6.js → Debug-D0iAX94G.js} +7 -7
- package/dist/browser/{Demo-CbKUORDI.js → Demo-DtZnCrNU.js} +9 -9
- package/dist/browser/{Free-CCt5diJn.js → Free-CY2ZgfTi.js} +9 -9
- package/dist/browser/{Gallery-DikV7y2O.js → Gallery-BJyU80Q8.js} +9 -9
- package/dist/browser/{GpsLoader-DK17fABw.js → GpsLoader-C4Az3Ogj.js} +9 -9
- package/dist/browser/{KioskStore-D2IzX4PD.js → KioskStore-D3xv5iMJ.js} +3 -3
- package/dist/browser/{MaplibreAdapter-Cdj_O3dc.js → MaplibreAdapter-BI5hr4DA.js} +9 -9
- package/dist/browser/ModalContainer-CGy7G3W-.js +143 -0
- package/dist/browser/{PermissionNotice-Qy5OZjJx.js → PermissionNotice-BQl-Eh0U.js} +6 -6
- package/dist/browser/{SetKioskMode-D-rkGumI.js → SetKioskMode-puXODfKF.js} +8 -8
- package/dist/browser/{ShowKiosk-C4ifT0ai.js → ShowKiosk-78DDAGCM.js} +10 -10
- package/dist/browser/{TouchHand-2RuQPusV.js → TouchHand-DjRl3mqw.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-DB-Xo9_R.js → ViewerMenuPanel-DwpOTh1A.js} +9 -9
- package/dist/browser/{add-debug-secret-listener-B6vQoW5d.js → add-debug-secret-listener-0zbOfR23.js} +1 -1
- package/dist/browser/{boolean-editor-BztUNp5J.js → boolean-editor-Ct-PRF2J.js} +9 -9
- package/dist/browser/{bootIntercom-CyhvNq9r.js → bootIntercom-CNJJMQLU.js} +2 -2
- package/dist/browser/{browser-Dl6QqUVd.js → browser-Dvk9Y0QP.js} +2 -2
- package/dist/browser/bundle.json +61 -61
- package/dist/browser/{classnames-C1vHtapl.js → classnames-N7RelmSW.js} +2 -2
- package/dist/browser/{client-DpUyEvQj.js → client-B3oB_gzf.js} +4 -4
- package/dist/browser/{components-DtWIsIkq.js → components-DCWqd4OH.js} +45 -46
- package/dist/browser/{createWayfinding-BVv2hHV9.js → createWayfinding-DCYv9I1K.js} +6 -6
- package/dist/browser/{debug-overlay-DmoQp6EX.js → debug-overlay-C1zmn9JP.js} +10 -10
- package/dist/browser/{debug-ui-Bz5JDxPC.js → debug-ui-Dk4TQW1Q.js} +6 -6
- package/dist/browser/{dist-Z8RrpBkv.js → dist-BjWXGdvS.js} +6 -6
- package/dist/browser/{dist-cXeLYynN.js → dist-CZ9F3ShM.js} +5 -5
- package/dist/browser/{dist-Cbw0umP3.js → dist-Dhhxwn3m.js} +3 -3
- package/dist/browser/{efp-debug-init-CPBlk_82.js → efp-debug-init-BY441NPw.js} +2 -2
- package/dist/browser/{enum-editor-BNgThR3i.js → enum-editor-wsFvRjdm.js} +11 -11
- package/dist/browser/{es5-CMwwFDWC.js → es5--a3vRB-s.js} +2 -2
- package/dist/browser/{event-not-found-wOgWWQj_.js → event-not-found-C08dNiXm.js} +1 -1
- package/dist/browser/{exports-B7YBEfSt.js → exports-DnnAyWkZ.js} +1 -1
- package/dist/browser/{favicon-C5TytmGw.js → favicon-BUBgyUNE.js} +1 -1
- package/dist/browser/{fetch-retry.umd-diPTbDpQ.js → fetch-retry.umd-DqWbcFb6.js} +2 -2
- package/dist/browser/{flex-tQ_pRPMh.js → flex-BJvbUFUw.js} +5 -5
- package/dist/browser/{floorplan.loader-C37lEsAw.js → floorplan.loader-DtRqhN7h.js} +11 -11
- package/dist/browser/{floorplan.ready-BqAKsSHu.js → floorplan.ready-DU_ul7oy.js} +12 -12
- package/dist/browser/{fuse-C5oNpAqA.js → fuse-C1gHDLf6.js} +2 -2
- package/dist/browser/{i18n-C4cY1vPb.js → i18n-GqZrkrT3.js} +4 -4
- package/dist/browser/index.js +12 -12
- package/dist/browser/{index.module-D43jVtM-.js → index.module-ClFPQstA.js} +4 -4
- package/dist/browser/{is-webview-DGy3FIDn.js → is-webview-Ubd69hDX.js} +1 -1
- package/dist/browser/{jsx-runtime-BtHP4gKJ.js → jsx-runtime-CcqjcKRn.js} +2 -2
- package/dist/browser/{lib-B7gHIqUz.js → lib-D-VhTz7u.js} +4 -4
- package/dist/browser/{loadImage-Bbdo2oJg.js → loadImage-BSgOJpEi.js} +4 -4
- package/dist/browser/{logDeviceInfo-8PaHmUQI.js → logDeviceInfo-CqPbQalh.js} +9 -9
- package/dist/browser/{main-Zc4W3FhR.js → main-D02oALU5.js} +1 -1
- package/dist/browser/{mobx-DkKmIOWe.js → mobx-9haaaJQN.js} +4 -4
- package/dist/browser/{particles.min-BAHCca3J.js → particles.min-Cy0_xv2F.js} +2 -2
- package/dist/browser/{prop-types-XYJZaoNk.js → prop-types-CGmwvRRk.js} +2 -2
- package/dist/browser/{react-CNjituVz.js → react-C94g1dWf.js} +2 -2
- package/dist/browser/{react-dom-Dg0lPUat.js → react-dom-VzzznUin.js} +3 -3
- package/dist/browser/{reset-all-settings-DC1I9Z62.js → reset-all-settings-Bs45R4UK.js} +7 -7
- package/dist/browser/{rolldown-runtime-DB-F2T_p.js → rolldown-runtime-DDajFMnr.js} +1 -1
- package/dist/browser/{settings-BbUH3X-c.js → settings-B89NEO7Z.js} +2 -2
- package/dist/browser/{settings-item-Bx-ykFAz.js → settings-item-CTgteXDw.js} +6 -6
- package/dist/browser/{store-BBGqjwE5.js → store-39MLQcdz.js} +72 -71
- package/dist/browser/{string-editor-KHIwnccQ.js → string-editor-4uawnaDY.js} +7 -7
- package/dist/browser/{theme-CpvxRxec.js → theme-CWzone56.js} +8 -8
- package/dist/browser/{ui-DjzupJ1a.js → ui-D8Gz1TVh.js} +8 -8
- package/dist/browser/{useRenderTarget-EL-n_0Va.js → useRenderTarget-BSjQ_3rd.js} +4 -4
- package/dist/esm/components/BaseFilterModal.d.ts +1 -1
- package/dist/esm/components/BaseFilterModal.js +1 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/ModalContainer.d.ts +41 -0
- package/dist/esm/components/ModalContainer.js +1 -0
- package/dist/esm/components/SessionsFiltersModal.js +1 -1
- package/dist/esm/components/SpeakersFiltersModal.js +1 -1
- package/dist/esm/components/index.d.ts +2 -2
- package/dist/esm/components/index.js +1 -1
- 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/wayfinding/core/graph/constants.d.ts +16 -2
- package/dist/esm/wayfinding/core/graph/constants.js +1 -1
- package/dist/esm/wayfinding/core/graph/linkCost.js +1 -1
- package/dist/esm/wayfinding/core/graph/pathfinder/aStarPathFinder.js +1 -1
- package/dist/esm/wayfinding/core/types.d.ts +3 -2
- package/package.json +3 -3
- package/dist/browser/Modal-BZ1LsZ64.js +0 -105
- package/dist/esm/components/Modal.d.ts +0 -38
- package/dist/esm/components/Modal.js +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.7.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.7.17" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "83b129d9-1970-4a9f-927d-8eae0b08dfb3", e._sentryDebugIdIdentifier = "sentry-dbid-83b129d9-1970-4a9f-927d-8eae0b08dfb3");
|
|
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-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-DDajFMnr.js";
|
|
10
|
+
import { t } from "./react-C94g1dWf.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-CcqjcKRn.js";
|
|
12
12
|
//#region ../debug/src/lib/settings/setting-registry.ts
|
|
13
13
|
var r = /* @__PURE__ */ e(t(), 1), i = [], a = [], o = n(), s = "efp-local-storage";
|
|
14
14
|
function c(e) {
|
|
@@ -66,7 +66,7 @@ function l(e) {
|
|
|
66
66
|
//#region ../debug/src/lib/settings/register-boolean-setting.ts
|
|
67
67
|
function u(e) {
|
|
68
68
|
var t;
|
|
69
|
-
let n = r.lazy(() => import("./boolean-editor-
|
|
69
|
+
let n = r.lazy(() => import("./boolean-editor-Ct-PRF2J.js").then((e) => ({ default: e.BooleanEditor })));
|
|
70
70
|
return c({
|
|
71
71
|
key: e.key,
|
|
72
72
|
default: (t = e.default) == null ? !1 : t,
|
|
@@ -77,7 +77,7 @@ function u(e) {
|
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region ../debug/src/lib/settings/register-enum-setting.ts
|
|
79
79
|
function d(e) {
|
|
80
|
-
let t = r.lazy(() => import("./enum-editor-
|
|
80
|
+
let t = r.lazy(() => import("./enum-editor-wsFvRjdm.js").then((e) => ({ default: e.EnumEditor })));
|
|
81
81
|
return c({
|
|
82
82
|
key: e.key,
|
|
83
83
|
default: e.default,
|
|
@@ -90,7 +90,7 @@ function d(e) {
|
|
|
90
90
|
//#region ../debug/src/lib/settings/register-string-setting.ts
|
|
91
91
|
function f(e) {
|
|
92
92
|
var t;
|
|
93
|
-
let n = r.lazy(() => import("./string-editor-
|
|
93
|
+
let n = r.lazy(() => import("./string-editor-4uawnaDY.js").then((e) => ({ default: e.StringEditor })));
|
|
94
94
|
return c({
|
|
95
95
|
key: e.key,
|
|
96
96
|
default: (t = e.default) == null ? "" : t,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.7.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.7.17" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4a11513d-0070-4205-b636-a85d593cfa99", e._sentryDebugIdIdentifier = "sentry-dbid-4a11513d-0070-4205-b636-a85d593cfa99");
|
|
8
8
|
} catch {}
|
|
@@ -1,9 +1,9 @@
|
|
|
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.17" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "0a3595ef-9aa6-450c-ac03-85d9c3295c13", e._sentryDebugIdIdentifier = "sentry-dbid-0a3595ef-9aa6-450c-ac03-85d9c3295c13");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import "./reset-all-settings-
|
|
9
|
+
import "./reset-all-settings-Bs45R4UK.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
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.17" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "9cdf6ee1-ca8c-43b1-b08c-7b3d7dde15e9", e._sentryDebugIdIdentifier = "sentry-dbid-9cdf6ee1-ca8c-43b1-b08c-7b3d7dde15e9");
|
|
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 { c as r, l as i, t as a, u as o, y as s } from "./flex-
|
|
13
|
-
import { t as c } from "./classnames-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-DDajFMnr.js";
|
|
10
|
+
import { t } from "./react-C94g1dWf.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-CcqjcKRn.js";
|
|
12
|
+
import { c as r, l as i, t as a, u as o, y as s } from "./flex-BJvbUFUw.js";
|
|
13
|
+
import { t as c } from "./classnames-N7RelmSW.js";
|
|
14
14
|
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@19.2._925f851475345a9e5e368d312bb98178/node_modules/@radix-ui/themes/dist/esm/components/separator.props.js
|
|
15
15
|
var l = /* @__PURE__ */ e(t()), u = /* @__PURE__ */ e(c()), d = {
|
|
16
16
|
orientation: {
|
|
@@ -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.17" };
|
|
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] = "7852fb71-36f6-444b-9a88-09598e0979e3", e._sentryDebugIdIdentifier = "sentry-dbid-7852fb71-36f6-444b-9a88-09598e0979e3");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { i as r } from "./reset-all-settings-
|
|
13
|
-
import { t as i } from "./jsx-runtime-
|
|
14
|
-
import { _ as a, a as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, p as g, r as _, t as v, u as y } from "./loadImage-
|
|
15
|
-
import { t as b } from "./browser-
|
|
16
|
-
import { $ as x, A as S, H as C, I as w, J as T, K as E, L as D, O, R as k, S as A, U as ee, V as te, W as ne, X as re, Y as ie, Z as ae, _ as oe, a as se, at as ce, c as le, ct as j, d as ue, g as M, it as de, j as fe, m as pe, n as me, nt as he, o as ge, p as N, r as _e, rt as ve, s as P, t as ye, u as F, v as be, z as xe } from "./i18n-
|
|
17
|
-
import { t as Se } from "./is-webview-
|
|
18
|
-
import { t as I } from "./classnames-
|
|
19
|
-
import { t as Ce } from "./Button-
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-DDajFMnr.js";
|
|
11
|
+
import { t as n } from "./react-C94g1dWf.js";
|
|
12
|
+
import { i as r } from "./reset-all-settings-Bs45R4UK.js";
|
|
13
|
+
import { t as i } from "./jsx-runtime-CcqjcKRn.js";
|
|
14
|
+
import { _ as a, a as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, p as g, r as _, t as v, u as y } from "./loadImage-BSgOJpEi.js";
|
|
15
|
+
import { t as b } from "./browser-Dvk9Y0QP.js";
|
|
16
|
+
import { $ as x, A as S, H as C, I as w, J as T, K as E, L as D, O, R as k, S as A, U as ee, V as te, W as ne, X as re, Y as ie, Z as ae, _ as oe, a as se, at as ce, c as le, ct as j, d as ue, g as M, it as de, j as fe, m as pe, n as me, nt as he, o as ge, p as N, r as _e, rt as ve, s as P, t as ye, u as F, v as be, z as xe } from "./i18n-GqZrkrT3.js";
|
|
17
|
+
import { t as Se } from "./is-webview-Ubd69hDX.js";
|
|
18
|
+
import { t as I } from "./classnames-N7RelmSW.js";
|
|
19
|
+
import { t as Ce } from "./Button-CalAncSt.js";
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/tools/settings.ts
|
|
22
22
|
var we = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
@@ -33698,73 +33698,75 @@ function HP(e, t) {
|
|
|
33698
33698
|
return n;
|
|
33699
33699
|
}
|
|
33700
33700
|
//#endregion
|
|
33701
|
+
//#region src/wayfinding/core/graph/constants.ts
|
|
33702
|
+
var UP = 1e4, WP = 1.01;
|
|
33703
|
+
//#endregion
|
|
33701
33704
|
//#region src/wayfinding/core/graph/linkCost.ts
|
|
33702
|
-
|
|
33703
|
-
function WP(e) {
|
|
33705
|
+
function GP(e) {
|
|
33704
33706
|
var t;
|
|
33705
|
-
return e.virtual ? (t = e.virtualLength) == null ?
|
|
33707
|
+
return e.virtual ? (t = e.virtualLength) == null ? UP : t : (0, mr.lineLength)(e.p0, e.p1) / (e.weight || 4);
|
|
33706
33708
|
}
|
|
33707
33709
|
//#endregion
|
|
33708
33710
|
//#region src/wayfinding/core/graph/buildNGraph.ts
|
|
33709
|
-
var
|
|
33710
|
-
function
|
|
33711
|
-
let { oriented: n, onlyAccessible: r } = t, i = (0,
|
|
33711
|
+
var KP = /* @__PURE__ */ e(PP(), 1);
|
|
33712
|
+
function qP(e, t) {
|
|
33713
|
+
let { oriented: n, onlyAccessible: r } = t, i = (0, KP.default)();
|
|
33712
33714
|
for (let t of e) {
|
|
33713
33715
|
if (r && t.unaccessible) continue;
|
|
33714
|
-
let e = FP(t.p0), a = FP(t.p1), o =
|
|
33716
|
+
let e = FP(t.p0), a = FP(t.p1), o = GP(t);
|
|
33715
33717
|
i.addLink(e, a, { distance: o }), n && !t.unidirection && i.addLink(a, e, { distance: o });
|
|
33716
33718
|
}
|
|
33717
33719
|
return i;
|
|
33718
33720
|
}
|
|
33719
33721
|
//#endregion
|
|
33720
33722
|
//#region src/wayfinding/core/graph/utils/a-star/defaultSettings.js
|
|
33721
|
-
var
|
|
33722
|
-
typeof Object.freeze == "function" && Object.freeze(
|
|
33723
|
-
var
|
|
33724
|
-
heuristic:
|
|
33725
|
-
distance:
|
|
33726
|
-
blocked:
|
|
33727
|
-
compareFScore:
|
|
33728
|
-
NO_PATH:
|
|
33729
|
-
setHeapIndex:
|
|
33730
|
-
setH1:
|
|
33731
|
-
setH2:
|
|
33732
|
-
compareF1Score:
|
|
33733
|
-
compareF2Score:
|
|
33723
|
+
var JP = [];
|
|
33724
|
+
typeof Object.freeze == "function" && Object.freeze(JP);
|
|
33725
|
+
var YP = {
|
|
33726
|
+
heuristic: XP,
|
|
33727
|
+
distance: ZP,
|
|
33728
|
+
blocked: QP,
|
|
33729
|
+
compareFScore: $P,
|
|
33730
|
+
NO_PATH: JP,
|
|
33731
|
+
setHeapIndex: eF,
|
|
33732
|
+
setH1: rF,
|
|
33733
|
+
setH2: iF,
|
|
33734
|
+
compareF1Score: tF,
|
|
33735
|
+
compareF2Score: nF
|
|
33734
33736
|
};
|
|
33735
|
-
function
|
|
33737
|
+
function XP() {
|
|
33736
33738
|
return 0;
|
|
33737
33739
|
}
|
|
33738
|
-
function
|
|
33740
|
+
function ZP() {
|
|
33739
33741
|
return 1;
|
|
33740
33742
|
}
|
|
33741
|
-
function
|
|
33743
|
+
function QP() {
|
|
33742
33744
|
return !1;
|
|
33743
33745
|
}
|
|
33744
|
-
function
|
|
33746
|
+
function $P(e, t) {
|
|
33745
33747
|
return e.fScore - t.fScore;
|
|
33746
33748
|
}
|
|
33747
|
-
function
|
|
33749
|
+
function eF(e, t) {
|
|
33748
33750
|
e.heapIndex = t;
|
|
33749
33751
|
}
|
|
33750
|
-
function
|
|
33752
|
+
function tF(e, t) {
|
|
33751
33753
|
return e.f1 - t.f1;
|
|
33752
33754
|
}
|
|
33753
|
-
function
|
|
33755
|
+
function nF(e, t) {
|
|
33754
33756
|
return e.f2 - t.f2;
|
|
33755
33757
|
}
|
|
33756
|
-
function
|
|
33758
|
+
function rF(e, t) {
|
|
33757
33759
|
e.h1 = t;
|
|
33758
33760
|
}
|
|
33759
|
-
function
|
|
33761
|
+
function iF(e, t) {
|
|
33760
33762
|
e.h2 = t;
|
|
33761
33763
|
}
|
|
33762
33764
|
//#endregion
|
|
33763
33765
|
//#region src/wayfinding/core/graph/utils/a-star/makeSearchStatePool.js
|
|
33764
|
-
function
|
|
33766
|
+
function aF(e) {
|
|
33765
33767
|
this.node = e, this.parent = null, this.closed = !1, this.open = 0, this.distanceToSource = Infinity, this.fScore = Infinity, this.heapIndex = -1;
|
|
33766
33768
|
}
|
|
33767
|
-
function
|
|
33769
|
+
function oF() {
|
|
33768
33770
|
let e = 0, t = [];
|
|
33769
33771
|
return {
|
|
33770
33772
|
createNewState: r,
|
|
@@ -33775,21 +33777,21 @@ function aF() {
|
|
|
33775
33777
|
}
|
|
33776
33778
|
function r(n) {
|
|
33777
33779
|
let r = t[e];
|
|
33778
|
-
return r ? (r.node = n, r.parent = null, r.closed = !1, r.open = 0, r.distanceToSource = Infinity, r.fScore = Infinity, r.heapIndex = -1) : (r = new
|
|
33780
|
+
return r ? (r.node = n, r.parent = null, r.closed = !1, r.open = 0, r.distanceToSource = Infinity, r.fScore = Infinity, r.heapIndex = -1) : (r = new aF(n), t[e] = r), e++, r;
|
|
33779
33781
|
}
|
|
33780
33782
|
}
|
|
33781
33783
|
//#endregion
|
|
33782
33784
|
//#region src/wayfinding/core/graph/utils/a-star/NodeHeap.js
|
|
33783
|
-
function
|
|
33784
|
-
if (!(this instanceof
|
|
33785
|
-
if (Array.isArray(e) || (t = e, e = []), t = t || {}, this.data = e || [], this.length = this.data.length, this.compare = t.compare ||
|
|
33785
|
+
function sF(e, t) {
|
|
33786
|
+
if (!(this instanceof sF)) return new sF(e, t);
|
|
33787
|
+
if (Array.isArray(e) || (t = e, e = []), t = t || {}, this.data = e || [], this.length = this.data.length, this.compare = t.compare || lF, this.setNodeId = t.setNodeId || cF, this.length > 0) for (let e = this.length >> 1; e >= 0; e--) this._down(e);
|
|
33786
33788
|
if (t.setNodeId) for (let e = 0; e < this.length; ++e) this.setNodeId(this.data[e], e);
|
|
33787
33789
|
}
|
|
33788
|
-
function
|
|
33789
|
-
function
|
|
33790
|
+
function cF() {}
|
|
33791
|
+
function lF(e, t) {
|
|
33790
33792
|
return e - t;
|
|
33791
33793
|
}
|
|
33792
|
-
|
|
33794
|
+
sF.prototype = {
|
|
33793
33795
|
push: function(e) {
|
|
33794
33796
|
this.data.push(e), this.setNodeId(e, this.length), this.length++, this._up(this.length - 1);
|
|
33795
33797
|
},
|
|
@@ -33825,16 +33827,16 @@ oF.prototype = {
|
|
|
33825
33827
|
};
|
|
33826
33828
|
//#endregion
|
|
33827
33829
|
//#region src/wayfinding/core/graph/utils/a-star/a-star.js
|
|
33828
|
-
var
|
|
33829
|
-
function
|
|
33830
|
+
var uF = YP.NO_PATH;
|
|
33831
|
+
function dF(e, t) {
|
|
33830
33832
|
t = t || {};
|
|
33831
33833
|
let n = t.oriented, r = t.blocked;
|
|
33832
|
-
r || (r =
|
|
33834
|
+
r || (r = YP.blocked);
|
|
33833
33835
|
let i = t.heuristic;
|
|
33834
|
-
i || (i =
|
|
33836
|
+
i || (i = YP.heuristic);
|
|
33835
33837
|
let a = t.distance;
|
|
33836
|
-
a || (a =
|
|
33837
|
-
let o =
|
|
33838
|
+
a || (a = YP.distance);
|
|
33839
|
+
let o = oF();
|
|
33838
33840
|
return { find: s };
|
|
33839
33841
|
function s(t, s) {
|
|
33840
33842
|
let c = e.getNode(t);
|
|
@@ -33842,17 +33844,17 @@ function uF(e, t) {
|
|
|
33842
33844
|
let l = e.getNode(s);
|
|
33843
33845
|
if (!l) throw Error("toId is not defined in this graph: " + s);
|
|
33844
33846
|
o.reset();
|
|
33845
|
-
let u = /* @__PURE__ */ new Map(), d = new
|
|
33846
|
-
compare:
|
|
33847
|
-
setNodeId:
|
|
33847
|
+
let u = /* @__PURE__ */ new Map(), d = new sF({
|
|
33848
|
+
compare: YP.compareFScore,
|
|
33849
|
+
setNodeId: YP.setHeapIndex
|
|
33848
33850
|
}), f = o.createNewState(c);
|
|
33849
33851
|
u.set(t, f), f.fScore = i(c, l), f.distanceToSource = 0, d.push(f), f.open = 1;
|
|
33850
33852
|
let p;
|
|
33851
33853
|
for (; d.length > 0;) {
|
|
33852
|
-
if (p = d.pop(),
|
|
33854
|
+
if (p = d.pop(), fF(p, l)) return pF(p);
|
|
33853
33855
|
p.closed = !0, e.forEachLinkedNode(p.node.id, m, n);
|
|
33854
33856
|
}
|
|
33855
|
-
return
|
|
33857
|
+
return uF;
|
|
33856
33858
|
function m(e, t) {
|
|
33857
33859
|
let n = u.get(e.id);
|
|
33858
33860
|
if (n || (n = o.createNewState(e), u.set(e.id, n)), n.closed || (n.open === 0 && (d.push(n), n.open = 1), r(e, p.node, t))) return;
|
|
@@ -33861,17 +33863,17 @@ function uF(e, t) {
|
|
|
33861
33863
|
}
|
|
33862
33864
|
}
|
|
33863
33865
|
}
|
|
33864
|
-
function
|
|
33866
|
+
function fF(e, t) {
|
|
33865
33867
|
return e.node === t;
|
|
33866
33868
|
}
|
|
33867
|
-
function
|
|
33869
|
+
function pF(e) {
|
|
33868
33870
|
let t = [e.node], n = e.parent;
|
|
33869
33871
|
for (; n;) t.push(n.node), n = n.parent;
|
|
33870
33872
|
return t;
|
|
33871
33873
|
}
|
|
33872
33874
|
//#endregion
|
|
33873
33875
|
//#region src/wayfinding/core/graph/pathfinder/parseNodeId.ts
|
|
33874
|
-
function
|
|
33876
|
+
function mF(e) {
|
|
33875
33877
|
let t = e.lastIndexOf("_"), n = e.lastIndexOf("_", t - 1);
|
|
33876
33878
|
if (n === -1) throw Error(`WF: invalid node ID format "${e}", expected "{layer}_{x}_{y}"`);
|
|
33877
33879
|
return [
|
|
@@ -33882,12 +33884,11 @@ function pF(e) {
|
|
|
33882
33884
|
}
|
|
33883
33885
|
//#endregion
|
|
33884
33886
|
//#region src/wayfinding/core/graph/pathfinder/aStarPathFinder.ts
|
|
33885
|
-
var mF = 1.01;
|
|
33886
33887
|
function hF() {
|
|
33887
33888
|
return function(e, t, n) {
|
|
33888
33889
|
let r = 1;
|
|
33889
33890
|
if (t.parent) {
|
|
33890
|
-
let [, n, i] =
|
|
33891
|
+
let [, n, i] = mF(t.parent.node.id), [, a, o] = mF(t.node.id), [, s, c] = mF(e.id);
|
|
33891
33892
|
(0, mr.lineAngle)({
|
|
33892
33893
|
x: n,
|
|
33893
33894
|
y: i
|
|
@@ -33900,7 +33901,7 @@ function hF() {
|
|
|
33900
33901
|
}, {
|
|
33901
33902
|
x: s,
|
|
33902
33903
|
y: c
|
|
33903
|
-
}) && (r =
|
|
33904
|
+
}) && (r = WP);
|
|
33904
33905
|
}
|
|
33905
33906
|
return r * n.data.distance;
|
|
33906
33907
|
};
|
|
@@ -33909,7 +33910,7 @@ function gF() {
|
|
|
33909
33910
|
let e = null, t = null;
|
|
33910
33911
|
return {
|
|
33911
33912
|
build(n, r) {
|
|
33912
|
-
t =
|
|
33913
|
+
t = qP(n, r), e = dF(t, {
|
|
33913
33914
|
oriented: r.oriented,
|
|
33914
33915
|
distance: hF()
|
|
33915
33916
|
});
|
|
@@ -33921,7 +33922,7 @@ function gF() {
|
|
|
33921
33922
|
if (!e) return [];
|
|
33922
33923
|
let r = e.find(t, n);
|
|
33923
33924
|
return r.length ? r.map((e) => {
|
|
33924
|
-
let [t, n, r] =
|
|
33925
|
+
let [t, n, r] = mF(e.id);
|
|
33925
33926
|
return {
|
|
33926
33927
|
id: e.id,
|
|
33927
33928
|
layer: t,
|
|
@@ -33961,7 +33962,7 @@ function bF(e, t) {
|
|
|
33961
33962
|
let n = 0;
|
|
33962
33963
|
for (let r = 1; r < e.length; r++) {
|
|
33963
33964
|
let i = zP(t, e[r - 1], e[r]);
|
|
33964
|
-
i && (n +=
|
|
33965
|
+
i && (n += GP(i));
|
|
33965
33966
|
}
|
|
33966
33967
|
return n;
|
|
33967
33968
|
}
|
|
@@ -35867,7 +35868,7 @@ var bR = (gR = class {
|
|
|
35867
35868
|
}
|
|
35868
35869
|
async buildEngine() {
|
|
35869
35870
|
try {
|
|
35870
|
-
let { default: e } = await import("./fuse-
|
|
35871
|
+
let { default: e } = await import("./fuse-C1gHDLf6.js").then((e) => e.n);
|
|
35871
35872
|
be(() => {
|
|
35872
35873
|
this.engine = new e([], {
|
|
35873
35874
|
keys: this.keys,
|
|
@@ -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.7.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.7.17" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "888fc155-fb35-4159-9302-91880886e35d", e._sentryDebugIdIdentifier = "sentry-dbid-888fc155-fb35-4159-9302-91880886e35d");
|
|
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 { D as r, i, l as a, n as o, s, u as c, y as l } from "./flex-
|
|
13
|
-
import { t as u } from "./classnames-
|
|
14
|
-
import { t as d } from "./settings-item-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-DDajFMnr.js";
|
|
10
|
+
import { t } from "./react-C94g1dWf.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-CcqjcKRn.js";
|
|
12
|
+
import { D as r, i, l as a, n as o, s, u as c, y as l } from "./flex-BJvbUFUw.js";
|
|
13
|
+
import { t as u } from "./classnames-N7RelmSW.js";
|
|
14
|
+
import { t as d } from "./settings-item-CTgteXDw.js";
|
|
15
15
|
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@19.2._925f851475345a9e5e368d312bb98178/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js
|
|
16
16
|
var f = {
|
|
17
17
|
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.7.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.7.17" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "b674b3f0-1e85-4d5b-b554-fb365f6d1945", e._sentryDebugIdIdentifier = "sentry-dbid-b674b3f0-1e85-4d5b-b554-fb365f6d1945");
|
|
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, E as a, O as o, T as s, _ as c, o as l, v as u, w as d } from "./flex-
|
|
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-DDajFMnr.js";
|
|
10
|
+
import { t } from "./react-C94g1dWf.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-CcqjcKRn.js";
|
|
12
|
+
import { t as r } from "./react-dom-VzzznUin.js";
|
|
13
|
+
import { C as i, E as a, O as o, T as s, _ as c, o as l, v as u, w as d } from "./flex-BJvbUFUw.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-BjWXGdvS.js";
|
|
15
|
+
import { t as y } from "./classnames-N7RelmSW.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.17__@ty_070bcfa32421a5876e7dcb93369fcbee/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.7.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.7.17" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "43912113-9328-4069-8890-5091c8745c34", e._sentryDebugIdIdentifier = "sentry-dbid-43912113-9328-4069-8890-5091c8745c34");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { a 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-DDajFMnr.js";
|
|
10
|
+
import { a as t, r as n } from "./reset-all-settings-Bs45R4UK.js";
|
|
11
|
+
import { t as r } from "./jsx-runtime-CcqjcKRn.js";
|
|
12
|
+
import "./settings-B89NEO7Z.js";
|
|
13
|
+
import { t as i } from "./browser-Dvk9Y0QP.js";
|
|
14
|
+
import { t as a } from "./add-debug-secret-listener-0zbOfR23.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-Dk4TQW1Q.js"), { createRoot: i } = await import("./client-B3oB_gzf.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
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.7.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.7.17" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d4febe97-784c-4cf8-93f1-f2e3b29f8347", e._sentryDebugIdIdentifier = "sentry-dbid-d4febe97-784c-4cf8-93f1-f2e3b29f8347");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { s as n } from "./store-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-DDajFMnr.js";
|
|
10
|
+
import { t } from "./react-C94g1dWf.js";
|
|
11
|
+
import { s as n } from "./store-39MLQcdz.js";
|
|
12
12
|
//#region src/utils/getRenderTargetFromRoot.ts
|
|
13
13
|
var r = /* @__PURE__ */ e(t(), 1);
|
|
14
14
|
function i(e) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{observer as u,useLocalStore as C}from"mobx-react-lite";import{t as a}from"../utils/i18n";import{ModalContainer as I,MultiSelectGroups as S}from"./";export const BaseFilterModal=u(({store:t,rootStore:r,title:d,groups:s})=>{const n=C(()=>({get pendingSelectedIds(){return t.state.pendingItems.map(e=>e.id)},get totalItemsCount(){return t.state.pendingItems.length===0?t.getFilteredItems().length:r.exhibitorStore.exhibitors.filter(e=>e.categories.some(l=>t.state.pendingItems.some(i=>i.id===l.id))).length},get allCategories(){return s.flatMap(e=>e.items)},get isAllSelected(){return this.allCategories.every(e=>this.pendingSelectedIds.includes(e.id))},get isPartiallySelected(){const e=this.allCategories.filter(l=>this.pendingSelectedIds.includes(l.id)).length;return e>0&&e<this.allCategories.length},get totalCategoriesCount(){return this.allCategories.length}})),g=e=>{const l=s.flatMap(i=>i.items).filter(i=>e.includes(i.id));t.setPendingItems(l)},c=()=>{t.applyFilter()},h=()=>{t.closeFilter()},m=()=>{t.clearPendingItems()},f=e=>{const l=n.allCategories;t.setPendingItems(e?l:[])},p=()=>t.state.isOpen;return o(I,{open:t.state.isOpen,title:d,onClose:h,footerLeft:[{label:a("Clear all"),onClick:m,variant:"gray",disabled:n.pendingSelectedIds.length===0}],footerRight:[{label:n.pendingSelectedIds.length>0?a("Show #{{count}}# Matching Exhibitors",{count:n.totalItemsCount}):a("Show All Exhibitors"),onClick:c,variant:"primary",withBadge:!0,disabled:!p()}],children:o(S,{groups:s,selectedIds:n.pendingSelectedIds,variant:"categories",onChange:g,itemCountProvider:e=>r.categoryStore.categoryById.get(Number(e.id))?.exhibitors?.length||0})})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as o,jsxs as z}from"react/jsx-runtime";import"../styles/main.scss";import"./Layout.scss";import M from"classnames";import{observer as x}from"mobx-react-lite";import r,{Suspense as a,useEffect as E,useState as R}from"react";import t,{layersStore as c,uiState as e}from"../store";import{LayersMode as y}from"../store/LayerStore";import{checkUserIsGDPR as
|
|
1
|
+
import{jsx as o,jsxs as z}from"react/jsx-runtime";import"../styles/main.scss";import"./Layout.scss";import M from"classnames";import{observer as x}from"mobx-react-lite";import r,{Suspense as a,useEffect as E,useState as R}from"react";import t,{layersStore as c,uiState as e}from"../store";import{LayersMode as y}from"../store/LayerStore";import{checkUserIsGDPR as L,GaEventActions as s,hasUserConsent as D,sendEventToGa as l,setConsentSettings as S,setCookieConsent as v}from"../tools/gtag";import C from"../tools/settings";import O from"../tools/track-event";import B from"../ui/Spinner";import{isWebGlSupported as G}from"../utils";import{t as T}from"../utils/i18n";import A from"../utils/is-debug";import F from"../utils/is-iframe";import{useReaction as m}from"../utils/mobx";import{CategoryFilterModal as I}from"./CategoryFilterModal";import j from"./Controls";import P from"./ErrorBoundary";import V from"./GlobalErrorMessage";import $ from"./HeatmapLegendContainer";import H from"./IntercomLauncher";import K from"./LargeMessage";import _ from"./LevelSelector";import N from"./LogoOverlay";import U from"./Map/Map";import W from"./MobileToggleButton";import q from"./OverlayContainer";import X from"./SearchBox";import Y from"./SearchButtons/SearchButtons";import J from"./SessionsFiltersModal";import Q from"./ShareContainer";import Z from"./SpeakersFiltersModal";import ee from"./Ws";const oe=r.lazy(()=>import("./Demo")),te=r.lazy(()=>import("./Free")),ie=r.lazy(()=>import("./Debug")),re=r.lazy(()=>import("./Maplibre/MaplibreAdapter")),ae=r.lazy(()=>import("./ModalContainer")),le=r.lazy(()=>import("./CookieConsent")),ne=r.lazy(()=>import("./GpsLoader")),se=r.lazy(()=>import("./Kiosk/SetKioskMode")),me=r.lazy(()=>import("./Kiosk/ShowKiosk"));export default x(function({offHistory:b,allowConsent:p}){const[f,d]=R(!1),u=t.maplibreStore.showMaplibre;let n=null;e.bannerType==="demo"?n=o(oe,{}):e.bannerType==="free"&&(n=o(te,{}));const g=()=>{v(!0),S(),t.uiState.hideCookieConsent=!0},w=()=>{v(!1),S(),t.uiState.hideCookieConsent=!0};E(()=>{async function i(){const k=await L();d(!!(k||k===null))}D(p)?d(!0):i()},[]),m(()=>e.selectedExhibitor,i=>{t.heatmapStore.forceTrack?(l(t.heatmapStore.forceTrack.action,t.heatmapStore.forceTrack.label),t.heatmapStore.forceTrack=null):i&&(O("exview",i.id),l(s.ViewExhibitor,i.name))}),m(()=>e.selectedBooth,i=>i?.name&&l(s.ViewBooth,i.name)),m(()=>e.selectedCategory,i=>i?.name&&l(s.ViewCategory,i?.name)),m(()=>e.selectedEventItem,i=>i?.name&&l(s.ViewExhibitor,i.name));const h=!e.hideCookieConsent&&!e.kiosk&&f&&p===void 0;return o("div",{id:"efp-layout",className:M("layout",{"efp-kiosk":e.kiosk,"efp-kiosk-route-active":e.kiosk&&e.selectedRoute?.from&&e.selectedRoute?.to,"efp-layers-mode":t.layerStore.mode,"efp-ws-mode":e.wsShown,"efp-no-overlay":e.noOverlay,"efp-top-banner":e.bannerType==="free"&&!e.freeBannerDismissed,"efp-viewer-mode":e.viewerMode}),dir:e.rtl?"rtl":"ltr",style:{"--ui-scale":e.uiScale.toString()},children:z("div",{className:`layout__fixed expo-${C.EXPO} overlay-${t.uiState.overlayPosition}`,children:[(c.mode===y.Radio||c.mode===y.CheckBox)&&!e.floorsControlHidden&&t.initialized&&o(_,{}),!e.noOverlay&&t.initialized&&o(q,{isGDPR:f,allowConsent:p}),t.initialized&&o(N,{}),!e.noOverlay&&t.initialized&&!(e.viewerMode&&e.menu)&&o(X,{}),!e.noOverlay&&t.initialized&&o(Y,{}),!e.noOverlay&&t.initialized&&o(W,{}),!e.mapControlsHidden&&t.initialized&&o(j,{}),o(H,{}),!e.hideHeaderLogo&&t.initialized&&o(ee,{}),t.routeStore.gpsEnabled&&o(ne,{requestCompassAllowed:!h}),G&&!u&&o(U,{}),u&&o(P,{children:o(a,{fallback:o("div",{}),children:o(re,{viewMode:t.maplibreStore.mapViewMode})})}),n&&!e.hideFreeOrDemo&&!e.heatmap?o(a,{fallback:null,children:n}):null,h&&o(a,{fallback:null,children:o(le,{link:"https://expofp.com/pages/viewer-cookie-consent",onAccept:g,onReject:w})}),A?o(a,{fallback:null,children:o(ie,{})}):null,F&&o(K,{}),e.modalActive.share?o(a,{fallback:null,children:o(ae,{variant:"share",ariaLabel:T("Share"),open:e.modalActive.share,onClose:()=>t.toggleModal("share"),children:o(Q,{title:e.selectedExhibitor?.name||e.selectedEventItem?.name||"",url:b?`${window.location.origin}?${encodeURI(e.selectedExhibitor?.slug||e.selectedEventItem?.slug)}`:window.location.href})})}):null,e.heatmap||e.heatmapYah?o($,{style:{left:`calc(50% + ${t.uiState.mapVisibleStart/2}px)`},className:e.responsiveClass,max:t.heatmapStore.minAndMaxClicks.max,min:t.heatmapStore.minAndMaxClicks.min,palette:C.heatmapColors}):null,o(B,{active:!c.layersLoaded}),o("div",{id:"fps"}),t.initialized&&o(I,{}),t.initialized&&o(J,{store:t.sessionsFilterStore}),t.initialized&&o(Z,{store:t.speakerFilterStore}),o(V,{}),t.initialized&&e.setKioskModeEnabled&&o(a,{fallback:null,children:o(se,{})}),t.initialized&&!e.setKioskModeEnabled&&o(a,{fallback:null,children:o(me,{})})]})})});
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const ModalContainer: import("react").FunctionComponent<Omit<{
|
|
2
|
+
title: string;
|
|
3
|
+
ariaLabel?: string;
|
|
4
|
+
} & {
|
|
5
|
+
open: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
variant?: import("../ui/Modal").ModalVariant;
|
|
8
|
+
maxWidth?: number;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
closeLabel: string;
|
|
11
|
+
renderTarget?: HTMLElement | null;
|
|
12
|
+
footerLeft?: {
|
|
13
|
+
label: string;
|
|
14
|
+
disabled?: boolean | undefined;
|
|
15
|
+
variant?: import(".").ButtonVariant | undefined;
|
|
16
|
+
onClick: () => void;
|
|
17
|
+
}[];
|
|
18
|
+
footerRight?: import("../ui/Modal").ModalButton[];
|
|
19
|
+
onClose: () => void;
|
|
20
|
+
}, "closeLabel" | "renderTarget"> | Omit<{
|
|
21
|
+
title?: undefined;
|
|
22
|
+
ariaLabel: string;
|
|
23
|
+
} & {
|
|
24
|
+
open: boolean;
|
|
25
|
+
className?: string;
|
|
26
|
+
variant?: import("../ui/Modal").ModalVariant;
|
|
27
|
+
maxWidth?: number;
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
closeLabel: string;
|
|
30
|
+
renderTarget?: HTMLElement | null;
|
|
31
|
+
footerLeft?: {
|
|
32
|
+
label: string;
|
|
33
|
+
disabled?: boolean | undefined;
|
|
34
|
+
variant?: import(".").ButtonVariant | undefined;
|
|
35
|
+
onClick: () => void;
|
|
36
|
+
}[];
|
|
37
|
+
footerRight?: import("../ui/Modal").ModalButton[];
|
|
38
|
+
onClose: () => void;
|
|
39
|
+
}, "closeLabel" | "renderTarget">>;
|
|
40
|
+
export default ModalContainer;
|
|
41
|
+
//# sourceMappingURL=ModalContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{observer as t}from"mobx-react-lite";import m from"../ui/Modal";import{t as a}from"../utils/i18n";import{useRenderTarget as s}from"../utils/useRenderTarget";const n=t(r=>{const e=s();return o(m,{...r,renderTarget:e,closeLabel:a("Close")})});export default n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as n,jsxs as o}from"react/jsx-runtime";import"./SessionsFiltersModal.scss";import d from"classnames";import{observer as C}from"mobx-react-lite";import{useMemo as m}from"react";import{t as i}from"../utils/i18n";import{
|
|
1
|
+
import{jsx as n,jsxs as o}from"react/jsx-runtime";import"./SessionsFiltersModal.scss";import d from"classnames";import{observer as C}from"mobx-react-lite";import{useMemo as m}from"react";import{t as i}from"../utils/i18n";import{ModalContainer as y,MultiSelectGroups as g,ToggleSwitch as p}from"./";const O=C(({store:s,visibleSections:v,open:u,onClose:a})=>{const t=s.state.filters,w=t.date.pending!=="all"||t.sortOrder.pending!=="desc"||t.use24hFormat.pending!==!1||t.showBookmarksOnly.pending!==!1||t.selectedTracks.pending.length>0||t.selectedVenues.pending.length>0,_=m(()=>s.rootStore.eventStore.futureEvents.length,[s.rootStore.eventStore.futureEvents]),h=m(()=>{const e=s.rootStore.eventStore.tracks;return e.length?[{groupName:"Tracks",items:e.map(l=>({id:l.id,name:l.name,color:l.color,countProvider:()=>s.rootStore.eventStore.getEventsByTrack(l.id).length})),showGroupActions:!0,fullWidth:!0}]:[]},[s.rootStore.eventStore.tracks]),f=m(()=>{const e=s.rootStore.eventStore.venues;return e.length?[{groupName:"Venues",items:e.map(l=>({id:l.id,name:l.name,countProvider:()=>s.rootStore.eventStore.getEventsByVenue(l.id).length})),showGroupActions:!0,fullWidth:!0}]:[]},[s.rootStore.eventStore.venues]),k=e=>{const l=e.map(c=>Number(c));s.setPending("selectedTracks",l)},S=e=>{const l=e.map(c=>Number(c));s.setPending("selectedVenues",l)},b=u!==void 0?u:s.state.isOpen,N=a||(()=>s.closeFilter()),r=v||s.state.visibleSections;return n(y,{open:b,title:i("Sessions Filters"),maxWidth:800,footerLeft:[{label:i("Clear all"),variant:"gray",disabled:t.selectedTracks.pending.length===0&&t.selectedVenues.pending.length===0,onClick:()=>{s.resetFilters(),a&&a()}}],footerRight:[{label:i("Apply"),variant:"primary",onClick:()=>{s.applyFilters(),a&&a()}}],onClose:N,children:o("div",{className:"efp-sessions-filters-modal",children:[r.includes("tracks")&&h.length>0&&n("div",{className:"efp-sessions-filters-modal__section",children:n(g,{groups:h,selectedIds:t.selectedTracks.pending,onChange:k,showItemCounts:!0})}),r.includes("venues")&&f.length>0&&n("div",{className:"efp-sessions-filters-modal__section",children:n(g,{groups:f,selectedIds:t.selectedVenues.pending,onChange:S,showItemCounts:!0})}),r.includes("date")&&o("div",{className:"efp-sessions-filters-modal__section",children:[n("h3",{children:i("Date")}),n("div",{className:"efp-sessions-filters-modal__buttons",children:["all","today","tomorrow"].map(e=>n("button",{className:d("efp-sessions-filters-modal__btn",{"is-active":t.date.pending===e}),onClick:()=>s.setPending("date",e),children:i(e==="all"?"All dates":e.charAt(0).toUpperCase()+e.slice(1))},e))})]}),r.includes("time")&&_>=30&&o("div",{className:"efp-sessions-filters-modal__section",children:[n("h3",{children:i("Session time")}),n("div",{className:"efp-sessions-filters-modal__buttons",children:["all","morning","midday","afternoon"].map(e=>n("button",{className:d("efp-sessions-filters-modal__btn",{"is-active":t.timeOfDay.pending===e}),onClick:()=>s.setPending("timeOfDay",e),children:i(e==="all"?"All times":e.charAt(0).toUpperCase()+e.slice(1))},e))})]}),r.includes("sort")&&o("div",{className:"efp-sessions-filters-modal__section",children:[n("h3",{children:i("Sort order")}),o("div",{className:"efp-sessions-filters-modal__buttons",children:[n("button",{className:d("efp-sessions-filters-modal__btn",{"is-active":t.sortOrder.pending==="desc"}),onClick:()=>s.setPending("sortOrder","desc"),children:i("Earliest first")}),n("button",{className:d("efp-sessions-filters-modal__btn",{"is-active":t.sortOrder.pending==="asc"}),onClick:()=>s.setPending("sortOrder","asc"),children:i("Latest first")})]})]}),r.includes("settings")&&o("div",{className:"efp-sessions-filters-modal__section",children:[n("h3",{children:i("Additional settings")}),n("div",{className:"efp-sessions-filters-modal__toggle",children:n(p,{name:"showBookmarksOnly",label:i("Show bookmarks only"),value:t.showBookmarksOnly.pending,onChange:e=>s.setPending("showBookmarksOnly",e)})}),n("div",{className:"efp-sessions-filters-modal__toggle",children:n(p,{name:"use24hFormat",label:i("Show time in 24h format"),value:t.use24hFormat.pending,onChange:e=>s.setPending("use24hFormat",e)})})]})]})})});export default O;
|