@expofp/floorplan 3.2.4 → 3.2.6
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-DxjnilXa.js → CookieConsent-AXeH9_mR.js} +775 -775
- package/dist/browser/{Debug-CYfYlmQR.js → Debug-D5ilpjt9.js} +6 -6
- package/dist/browser/{Demo-OpFQUqfW.js → Demo-D2ZQ82R-.js} +8 -8
- package/dist/browser/{Free-81sEARRq.js → Free-Cmu2GELK.js} +8 -8
- package/dist/browser/{Gallery-DSoNvSm7.js → Gallery-CHhf9uSJ.js} +10 -10
- package/dist/browser/{GpsLoader-C9x6eoAW.js → GpsLoader-D1p1K7tv.js} +29 -29
- package/dist/browser/{KioskStore-CpB7cXhl.js → KioskStore-B5seJF_w.js} +15 -15
- package/dist/browser/{Mapbox-BBrRfWTk.js → Mapbox-vm-JvDPW.js} +8 -8
- package/dist/browser/{SetKioskMode-oHoXiSt9.js → SetKioskMode-CsvIhnEp.js} +19 -19
- package/dist/browser/{ShowKiosk-ClNZHBo0.js → ShowKiosk-BL9nfBDf.js} +11 -11
- package/dist/browser/{ThreeComponent-Cz5TFtaJ.js → ThreeComponent-l50EC7kp.js} +9 -9
- package/dist/browser/{TouchHand-DKHjKLvy.js → TouchHand-CzIhbCk_.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-D8vz2kYo.js → ViewerMenuPanel-DN5BiNZZ.js} +21 -21
- package/dist/browser/{add-debug-secret-listener-C8puBVkG.js → add-debug-secret-listener-BP0ji46o.js} +1 -1
- package/dist/browser/{boolean-editor-CTx04IQD.js → boolean-editor-BIXc9xad.js} +12 -12
- package/dist/browser/{bootIntercom-CPsCj7Ip.js → bootIntercom-D3i1xdrZ.js} +1 -1
- package/dist/browser/{box-BTnS_rH1.js → box-Cj2OPB5o.js} +16 -16
- package/dist/browser/{browser-Br9eNuwH.js → browser-iEBlxETL.js} +2 -2
- package/dist/browser/bundle.json +53 -53
- package/dist/browser/{classnames-DHNSfHSb.js → classnames-BdEjlCJw.js} +2 -2
- package/dist/browser/{client-2OiIi5Xp.js → client-AFMbhyej.js} +9 -9
- package/dist/browser/{data-DJdE1Pr_.js → data-BNcMQJM9.js} +50 -50
- package/dist/browser/{debug-overlay-ccDwkn4h.js → debug-overlay-BvzIl4S5.js} +27 -27
- package/dist/browser/{debug-ui-J99PpgZ1.js → debug-ui-Cjk1VEBj.js} +6 -6
- package/dist/browser/{dist-B2h2xaao.js → dist-B03hOAXP.js} +5 -5
- package/dist/browser/{dist-DKUGEtHU.js → dist-CCy_DoUq.js} +11 -11
- package/dist/browser/{dist-VsPxUywg.js → dist-CpONuUgR.js} +7 -7
- package/dist/browser/{efp-debug-init-BGZbxySb.js → efp-debug-init-DjqnYMK4.js} +2 -2
- package/dist/browser/{enum-editor-CF4ldw_T.js → enum-editor-DNavJMSd.js} +14 -14
- package/dist/browser/{exports-CtobKgXM.js → exports-BaXbuICo.js} +38 -37
- package/dist/browser/{favicon-DrMjQnYk.js → favicon-CPIIkXVW.js} +1 -1
- package/dist/browser/{fetch-retry.umd-NPdYgYHJ.js → fetch-retry.umd-DuhpKOAv.js} +2 -2
- package/dist/browser/{flex-B9BzRTPi.js → flex-BEEq9bN8.js} +8 -8
- package/dist/browser/{flex.props-B7vEGitw.js → flex.props-DxAZIGSj.js} +4 -4
- package/dist/browser/{floorplan.loader-B6D2IjCA.js → floorplan.loader-KZ3u0Juq.js} +716 -684
- package/dist/browser/{floorplan.ready-DCHrZ_3Z.js → floorplan.ready-DMR98iUb.js} +267 -267
- package/dist/browser/{fuse-XIKzHPwA.js → fuse-CjSkZXtV.js} +2 -2
- package/dist/browser/index.js +12 -12
- package/dist/browser/{is-debug-BO7GCDVj.js → is-debug-DPDBcjeg.js} +4 -4
- package/dist/browser/{jsx-runtime-DvLE2ntA.js → jsx-runtime-DnQmxKxk.js} +4 -4
- package/dist/browser/{lib-D1fy_0DC.js → lib-BXRYaEmQ.js} +5 -5
- package/dist/browser/{main-vqUee6Co.js → main-Bw8nBuIh.js} +1 -1
- package/dist/browser/{mobx-Q0iv6xO-.js → mobx-DsBbHmhw.js} +4 -4
- package/dist/browser/{particles.min-C7xHJ13B.js → particles.min-BmgWvtXZ.js} +2 -2
- package/dist/browser/{prop-types-DCAZXDlE.js → prop-types-CRT2Qy-L.js} +2 -2
- package/dist/browser/{react-Bllx8O4C.js → react-BCrcyjAU.js} +5 -5
- package/dist/browser/{react-dom-B_RTCRNw.js → react-dom-z6XbaPl9.js} +6 -6
- package/dist/browser/{reset-all-settings-BK_jTF-p.js → reset-all-settings-BOrTf1Lp.js} +7 -7
- package/dist/browser/{rolldown-runtime-hpSZkt-6.js → rolldown-runtime-BSQQuCTD.js} +1 -1
- package/dist/browser/{settings-CZ9_Jwxo.js → settings-DTDJKJjP.js} +2 -2
- package/dist/browser/{settings-item-Dui_Fze-.js → settings-item-DdnzmVZj.js} +8 -8
- package/dist/browser/{store-BbHNyIVK.js → store-CB1U4gvI.js} +713 -695
- package/dist/browser/{string-editor-DxoTu7Zc.js → string-editor-BEncfiNG.js} +10 -10
- package/dist/browser/{theme-yhP2DiJq.js → theme-RyeKAHMc.js} +29 -29
- package/dist/browser/{ui-CCPtrCDp.js → ui-D5E2lSMl.js} +8 -8
- package/dist/esm/components/LevelSelector.js +1 -1
- package/dist/esm/store/BoothStore.js +1 -1
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/ToursStore.js +1 -1
- package/dist/esm/store/UIState.js +1 -1
- package/package.json +9 -9
|
@@ -2,18 +2,18 @@ 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.6" };
|
|
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] = "1d183443-00cd-4e76-8286-704c4769e2a3", e._sentryDebugIdIdentifier = "sentry-dbid-1d183443-00cd-4e76-8286-704c4769e2a3");
|
|
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-
|
|
16
|
-
//#region ../../node_modules/.pnpm/mobx-react-lite@1.5.2_mobx@5.15.7_react@19.2.
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-BSQQuCTD.js";
|
|
11
|
+
import { t as n } from "./react-BCrcyjAU.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-DnQmxKxk.js";
|
|
13
|
+
import { t as i } from "./browser-iEBlxETL.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-DPDBcjeg.js";
|
|
15
|
+
import { t as be } from "./classnames-BdEjlCJw.js";
|
|
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");
|
|
19
19
|
if (!ve) throw Error("mobx-react-lite requires mobx at least version 4 to be available");
|
|
@@ -4005,7 +4005,8 @@ var Yr = (zr = j({ keepAlive: !0 }), Br = j({ keepAlive: !0 }), Vr = j({ keepAli
|
|
|
4005
4005
|
this.store = void 0, this.id = void 0, this.name = void 0, this.externalId = void 0, this.title = void 0, this.rect = void 0, this.borderWidth = void 0, this.borderColor = void 0, this.noLabels = void 0, this.rotate = void 0, this.paths = void 0, this.pathsWithRect = void 0, this.slug = void 0, this.error = void 0, this.description = void 0, this.exhibitors = void 0, this.labelColor = void 0, this.schedule = void 0, this.poiTypeId = void 0, this.poiType = void 0, this.poiIcon = void 0, this.yah = void 0, this.meta = void 0, qr(this, "layer", Lr, this), qr(this, "bookmarkedDirectly", Rr, this);
|
|
4006
4006
|
}
|
|
4007
4007
|
get bookmarked() {
|
|
4008
|
-
|
|
4008
|
+
var e;
|
|
4009
|
+
return $.disableBookmarked ? !1 : (e = this.schedule) != null && e.some((e) => e.bookmarked) ? !0 : this.exhibitors.length > 0 ? !!this.exhibitors.find((e) => e.bookmarked) : this.bookmarkedDirectly;
|
|
4009
4010
|
}
|
|
4010
4011
|
get uiState() {
|
|
4011
4012
|
return this.store.rootStore.uiState;
|
|
@@ -23660,7 +23661,7 @@ var PC = class {
|
|
|
23660
23661
|
}
|
|
23661
23662
|
};
|
|
23662
23663
|
//#endregion
|
|
23663
|
-
//#region \0@oxc-project+runtime@0.
|
|
23664
|
+
//#region \0@oxc-project+runtime@0.128.0/helpers/typeof.js
|
|
23664
23665
|
function FC(e) {
|
|
23665
23666
|
"@babel/helpers - typeof";
|
|
23666
23667
|
return FC = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -23670,7 +23671,7 @@ function FC(e) {
|
|
|
23670
23671
|
}, FC(e);
|
|
23671
23672
|
}
|
|
23672
23673
|
//#endregion
|
|
23673
|
-
//#region \0@oxc-project+runtime@0.
|
|
23674
|
+
//#region \0@oxc-project+runtime@0.128.0/helpers/toPrimitive.js
|
|
23674
23675
|
function IC(e, t) {
|
|
23675
23676
|
if (FC(e) != "object" || !e) return e;
|
|
23676
23677
|
var n = e[Symbol.toPrimitive];
|
|
@@ -23682,13 +23683,13 @@ function IC(e, t) {
|
|
|
23682
23683
|
return (t === "string" ? String : Number)(e);
|
|
23683
23684
|
}
|
|
23684
23685
|
//#endregion
|
|
23685
|
-
//#region \0@oxc-project+runtime@0.
|
|
23686
|
+
//#region \0@oxc-project+runtime@0.128.0/helpers/toPropertyKey.js
|
|
23686
23687
|
function LC(e) {
|
|
23687
23688
|
var t = IC(e, "string");
|
|
23688
23689
|
return FC(t) == "symbol" ? t : t + "";
|
|
23689
23690
|
}
|
|
23690
23691
|
//#endregion
|
|
23691
|
-
//#region \0@oxc-project+runtime@0.
|
|
23692
|
+
//#region \0@oxc-project+runtime@0.128.0/helpers/defineProperty.js
|
|
23692
23693
|
function U(e, t, n) {
|
|
23693
23694
|
return (t = LC(t)) in e ? Object.defineProperty(e, t, {
|
|
23694
23695
|
value: n,
|
|
@@ -28900,31 +28901,138 @@ var lA = (sA = class extends oA {
|
|
|
28900
28901
|
focused: !1
|
|
28901
28902
|
}, this.rootStore.urlFilterManager.setCategories([]);
|
|
28902
28903
|
}
|
|
28903
|
-
}, cA(sA.prototype, "filteredExhibitors", [j], Object.getOwnPropertyDescriptor(sA.prototype, "filteredExhibitors"), sA.prototype), cA(sA.prototype, "filteredBooths", [j], Object.getOwnPropertyDescriptor(sA.prototype, "filteredBooths"), sA.prototype), cA(sA.prototype, "resetFilter", [M], Object.getOwnPropertyDescriptor(sA.prototype, "resetFilter"), sA.prototype), sA);
|
|
28904
|
+
}, cA(sA.prototype, "filteredExhibitors", [j], Object.getOwnPropertyDescriptor(sA.prototype, "filteredExhibitors"), sA.prototype), cA(sA.prototype, "filteredBooths", [j], Object.getOwnPropertyDescriptor(sA.prototype, "filteredBooths"), sA.prototype), cA(sA.prototype, "resetFilter", [M], Object.getOwnPropertyDescriptor(sA.prototype, "resetFilter"), sA.prototype), sA), uA, dA, fA, pA;
|
|
28905
|
+
function mA(e, t, n, r) {
|
|
28906
|
+
n && Object.defineProperty(e, t, {
|
|
28907
|
+
enumerable: n.enumerable,
|
|
28908
|
+
configurable: n.configurable,
|
|
28909
|
+
writable: n.writable,
|
|
28910
|
+
value: n.initializer ? n.initializer.call(r) : void 0
|
|
28911
|
+
});
|
|
28912
|
+
}
|
|
28913
|
+
function hA(e, t, n, r, i) {
|
|
28914
|
+
var a = {};
|
|
28915
|
+
return Object.keys(r).forEach(function(e) {
|
|
28916
|
+
a[e] = r[e];
|
|
28917
|
+
}), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = n.slice().reverse().reduce(function(n, r) {
|
|
28918
|
+
return r(e, t, n) || n;
|
|
28919
|
+
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
28920
|
+
}
|
|
28921
|
+
var gA = (uA = class {
|
|
28922
|
+
constructor(e, t, n, r, i, a, o = { type: "speaker" }) {
|
|
28923
|
+
this.id = e, this.externalId = t, this.name = n, this.company = r, this.jobTitle = i, this.photoFile = a, this.entity = o, this.slug = void 0, mA(this, "bookmarked", dA, this), this.slug = yr(n || `speaker-${e}`);
|
|
28924
|
+
}
|
|
28925
|
+
get displayName() {
|
|
28926
|
+
return this.name;
|
|
28927
|
+
}
|
|
28928
|
+
get fullTitle() {
|
|
28929
|
+
let e = [this.name];
|
|
28930
|
+
return this.jobTitle && e.push(this.jobTitle), this.company && e.push(this.company), e.join(" - ");
|
|
28931
|
+
}
|
|
28932
|
+
get hasPhoto() {
|
|
28933
|
+
return !!this.photoFile;
|
|
28934
|
+
}
|
|
28935
|
+
get hasCompany() {
|
|
28936
|
+
return !!this.company;
|
|
28937
|
+
}
|
|
28938
|
+
get hasJobTitle() {
|
|
28939
|
+
return !!this.jobTitle;
|
|
28940
|
+
}
|
|
28941
|
+
}, dA = hA(uA.prototype, "bookmarked", [F], {
|
|
28942
|
+
configurable: !0,
|
|
28943
|
+
enumerable: !0,
|
|
28944
|
+
writable: !0,
|
|
28945
|
+
initializer: function() {
|
|
28946
|
+
return !1;
|
|
28947
|
+
}
|
|
28948
|
+
}), uA), _A = (fA = class {
|
|
28949
|
+
constructor(e) {
|
|
28950
|
+
this.rootStore = void 0, this.speakersMap = /* @__PURE__ */ new Map(), mA(this, "selectedSpeaker", pA, this), this.rootStore = e;
|
|
28951
|
+
}
|
|
28952
|
+
get speakers() {
|
|
28953
|
+
return Array.from(this.speakersMap.values()).sort((e, t) => e.name.localeCompare(t.name));
|
|
28954
|
+
}
|
|
28955
|
+
getSpeakerById(e) {
|
|
28956
|
+
return this.speakersMap.get(e);
|
|
28957
|
+
}
|
|
28958
|
+
getSpeakerBySlug(e) {
|
|
28959
|
+
return Array.from(this.speakersMap.values()).find((t) => t.slug === e);
|
|
28960
|
+
}
|
|
28961
|
+
addSpeaker(e) {
|
|
28962
|
+
if (this.speakersMap.has(e.id)) return this.speakersMap.get(e.id);
|
|
28963
|
+
let t = new gA(e.id, e.externalId, e.name, e.company, e.jobTitle, e.photoFile);
|
|
28964
|
+
return this.speakersMap.set(e.id, t), t;
|
|
28965
|
+
}
|
|
28966
|
+
get companies() {
|
|
28967
|
+
let e = /* @__PURE__ */ new Set();
|
|
28968
|
+
return this.speakers.forEach((t) => {
|
|
28969
|
+
t.company && e.add(t.company);
|
|
28970
|
+
}), Array.from(e).sort();
|
|
28971
|
+
}
|
|
28972
|
+
get jobTitles() {
|
|
28973
|
+
let e = /* @__PURE__ */ new Set();
|
|
28974
|
+
return this.speakers.forEach((t) => {
|
|
28975
|
+
t.jobTitle && e.add(t.jobTitle);
|
|
28976
|
+
}), Array.from(e).sort();
|
|
28977
|
+
}
|
|
28978
|
+
getSpeakersByCompany(e) {
|
|
28979
|
+
return this.speakers.filter((t) => t.company === e);
|
|
28980
|
+
}
|
|
28981
|
+
getSpeakersByJobTitle(e) {
|
|
28982
|
+
return this.speakers.filter((t) => t.jobTitle === e);
|
|
28983
|
+
}
|
|
28984
|
+
getEventsBySpeaker(e) {
|
|
28985
|
+
return this.rootStore.eventStore.eventItems.filter((t) => t.speakers.some((t) => t.id === e));
|
|
28986
|
+
}
|
|
28987
|
+
findBySlug(e) {
|
|
28988
|
+
return this.getSpeakerBySlug(e);
|
|
28989
|
+
}
|
|
28990
|
+
selectSpeaker(e, t = !0) {
|
|
28991
|
+
this.selectedSpeaker = e, this.rootStore.uiState.details = e, this.rootStore.uiState.desiredOverlaySize = "medium";
|
|
28992
|
+
}
|
|
28993
|
+
get bookmarked() {
|
|
28994
|
+
return this.speakers.filter((e) => e.bookmarked);
|
|
28995
|
+
}
|
|
28996
|
+
replaceBookmarked(e) {
|
|
28997
|
+
let t = (e || []).map((e) => this.speakersMap.get(e)).filter((e) => e), n = new Set(t), r = this.bookmarked.filter((e) => !n.has(e));
|
|
28998
|
+
for (let e of r) e.bookmarked = !1;
|
|
28999
|
+
for (let e of t) e.bookmarked = !0;
|
|
29000
|
+
}
|
|
29001
|
+
clearSelectedSpeaker() {
|
|
29002
|
+
this.selectedSpeaker = null, this.rootStore.uiState.details = null;
|
|
29003
|
+
}
|
|
29004
|
+
}, pA = hA(fA.prototype, "selectedSpeaker", [F], {
|
|
29005
|
+
configurable: !0,
|
|
29006
|
+
enumerable: !0,
|
|
29007
|
+
writable: !0,
|
|
29008
|
+
initializer: function() {
|
|
29009
|
+
return null;
|
|
29010
|
+
}
|
|
29011
|
+
}), hA(fA.prototype, "speakers", [j], Object.getOwnPropertyDescriptor(fA.prototype, "speakers"), fA.prototype), hA(fA.prototype, "companies", [j], Object.getOwnPropertyDescriptor(fA.prototype, "companies"), fA.prototype), hA(fA.prototype, "jobTitles", [j], Object.getOwnPropertyDescriptor(fA.prototype, "jobTitles"), fA.prototype), hA(fA.prototype, "selectSpeaker", [M], Object.getOwnPropertyDescriptor(fA.prototype, "selectSpeaker"), fA.prototype), hA(fA.prototype, "bookmarked", [j], Object.getOwnPropertyDescriptor(fA.prototype, "bookmarked"), fA.prototype), hA(fA.prototype, "replaceBookmarked", [M], Object.getOwnPropertyDescriptor(fA.prototype, "replaceBookmarked"), fA.prototype), hA(fA.prototype, "clearSelectedSpeaker", [M], Object.getOwnPropertyDescriptor(fA.prototype, "clearSelectedSpeaker"), fA.prototype), fA);
|
|
28904
29012
|
//#endregion
|
|
28905
29013
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/extends.js
|
|
28906
|
-
function
|
|
28907
|
-
return
|
|
29014
|
+
function vA() {
|
|
29015
|
+
return vA = Object.assign ? Object.assign.bind() : function(e) {
|
|
28908
29016
|
for (var t = 1; t < arguments.length; t++) {
|
|
28909
29017
|
var n = arguments[t];
|
|
28910
29018
|
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
28911
29019
|
}
|
|
28912
29020
|
return e;
|
|
28913
|
-
},
|
|
29021
|
+
}, vA.apply(null, arguments);
|
|
28914
29022
|
}
|
|
28915
29023
|
//#endregion
|
|
28916
29024
|
//#region ../../node_modules/.pnpm/resolve-pathname@3.0.0/node_modules/resolve-pathname/esm/resolve-pathname.js
|
|
28917
|
-
function
|
|
29025
|
+
function yA(e) {
|
|
28918
29026
|
return e.charAt(0) === "/";
|
|
28919
29027
|
}
|
|
28920
|
-
function
|
|
29028
|
+
function bA(e, t) {
|
|
28921
29029
|
for (var n = t, r = n + 1, i = e.length; r < i; n += 1, r += 1) e[n] = e[r];
|
|
28922
29030
|
e.pop();
|
|
28923
29031
|
}
|
|
28924
|
-
function
|
|
29032
|
+
function xA(e, t) {
|
|
28925
29033
|
t === void 0 && (t = "");
|
|
28926
|
-
var n = e && e.split("/") || [], r = t && t.split("/") || [], i = e &&
|
|
28927
|
-
if (e &&
|
|
29034
|
+
var n = e && e.split("/") || [], r = t && t.split("/") || [], i = e && yA(e), a = t && yA(t), o = i || a;
|
|
29035
|
+
if (e && yA(e) ? r = n : n.length && (r.pop(), r = r.concat(n)), !r.length) return "/";
|
|
28928
29036
|
var s;
|
|
28929
29037
|
if (r.length) {
|
|
28930
29038
|
var c = r[r.length - 1];
|
|
@@ -28932,38 +29040,38 @@ function pA(e, t) {
|
|
|
28932
29040
|
} else s = !1;
|
|
28933
29041
|
for (var l = 0, u = r.length; u >= 0; u--) {
|
|
28934
29042
|
var d = r[u];
|
|
28935
|
-
d === "." ?
|
|
29043
|
+
d === "." ? bA(r, u) : d === ".." ? (bA(r, u), l++) : l && (bA(r, u), l--);
|
|
28936
29044
|
}
|
|
28937
29045
|
if (!o) for (; l--;) r.unshift("..");
|
|
28938
|
-
o && r[0] !== "" && (!r[0] || !
|
|
29046
|
+
o && r[0] !== "" && (!r[0] || !yA(r[0])) && r.unshift("");
|
|
28939
29047
|
var f = r.join("/");
|
|
28940
29048
|
return s && f.substr(-1) !== "/" && (f += "/"), f;
|
|
28941
29049
|
}
|
|
28942
29050
|
//#endregion
|
|
28943
29051
|
//#region ../../node_modules/.pnpm/tiny-invariant@1.3.3/node_modules/tiny-invariant/dist/esm/tiny-invariant.js
|
|
28944
|
-
var
|
|
28945
|
-
function
|
|
29052
|
+
var SA = !0, CA = "Invariant failed";
|
|
29053
|
+
function wA(e, t) {
|
|
28946
29054
|
if (!e) {
|
|
28947
|
-
if (
|
|
28948
|
-
var n = typeof t == "function" ? t() : t, r = n ? `${
|
|
29055
|
+
if (SA) throw Error(CA);
|
|
29056
|
+
var n = typeof t == "function" ? t() : t, r = n ? `${CA}: ${n}` : CA;
|
|
28949
29057
|
throw Error(r);
|
|
28950
29058
|
}
|
|
28951
29059
|
}
|
|
28952
29060
|
//#endregion
|
|
28953
29061
|
//#region ../../node_modules/.pnpm/history@4.10.1/node_modules/history/esm/history.js
|
|
28954
|
-
function
|
|
29062
|
+
function TA(e) {
|
|
28955
29063
|
return e.charAt(0) === "/" ? e : "/" + e;
|
|
28956
29064
|
}
|
|
28957
|
-
function
|
|
29065
|
+
function EA(e, t) {
|
|
28958
29066
|
return e.toLowerCase().indexOf(t.toLowerCase()) === 0 && "/?#".indexOf(e.charAt(t.length)) !== -1;
|
|
28959
29067
|
}
|
|
28960
|
-
function
|
|
28961
|
-
return
|
|
29068
|
+
function DA(e, t) {
|
|
29069
|
+
return EA(e, t) ? e.substr(t.length) : e;
|
|
28962
29070
|
}
|
|
28963
|
-
function
|
|
29071
|
+
function OA(e) {
|
|
28964
29072
|
return e.charAt(e.length - 1) === "/" ? e.slice(0, -1) : e;
|
|
28965
29073
|
}
|
|
28966
|
-
function
|
|
29074
|
+
function kA(e) {
|
|
28967
29075
|
var t = e || "/", n = "", r = "", i = t.indexOf("#");
|
|
28968
29076
|
i !== -1 && (r = t.substr(i), t = t.substr(0, i));
|
|
28969
29077
|
var a = t.indexOf("?");
|
|
@@ -28973,21 +29081,21 @@ function xA(e) {
|
|
|
28973
29081
|
hash: r === "#" ? "" : r
|
|
28974
29082
|
};
|
|
28975
29083
|
}
|
|
28976
|
-
function
|
|
29084
|
+
function AA(e) {
|
|
28977
29085
|
var t = e.pathname, n = e.search, r = e.hash, i = t || "/";
|
|
28978
29086
|
return n && n !== "?" && (i += n.charAt(0) === "?" ? n : "?" + n), r && r !== "#" && (i += r.charAt(0) === "#" ? r : "#" + r), i;
|
|
28979
29087
|
}
|
|
28980
|
-
function
|
|
29088
|
+
function jA(e, t, n, r) {
|
|
28981
29089
|
var i;
|
|
28982
|
-
typeof e == "string" ? (i =
|
|
29090
|
+
typeof e == "string" ? (i = kA(e), i.state = t) : (i = vA({}, e), i.pathname === void 0 && (i.pathname = ""), i.search ? i.search.charAt(0) !== "?" && (i.search = "?" + i.search) : i.search = "", i.hash ? i.hash.charAt(0) !== "#" && (i.hash = "#" + i.hash) : i.hash = "", t !== void 0 && i.state === void 0 && (i.state = t));
|
|
28983
29091
|
try {
|
|
28984
29092
|
i.pathname = decodeURI(i.pathname);
|
|
28985
29093
|
} catch (e) {
|
|
28986
29094
|
throw e instanceof URIError ? URIError("Pathname \"" + i.pathname + "\" could not be decoded. This is likely caused by an invalid percent-encoding.") : e;
|
|
28987
29095
|
}
|
|
28988
|
-
return n && (i.key = n), r ? i.pathname ? i.pathname.charAt(0) !== "/" && (i.pathname =
|
|
29096
|
+
return n && (i.key = n), r ? i.pathname ? i.pathname.charAt(0) !== "/" && (i.pathname = xA(i.pathname, r.pathname)) : i.pathname = r.pathname : i.pathname || (i.pathname = "/"), i;
|
|
28989
29097
|
}
|
|
28990
|
-
function
|
|
29098
|
+
function MA() {
|
|
28991
29099
|
var e = null;
|
|
28992
29100
|
function t(t) {
|
|
28993
29101
|
return e = t, function() {
|
|
@@ -29025,47 +29133,47 @@ function wA() {
|
|
|
29025
29133
|
notifyListeners: a
|
|
29026
29134
|
};
|
|
29027
29135
|
}
|
|
29028
|
-
var
|
|
29029
|
-
function
|
|
29136
|
+
var NA = !!(typeof window < "u" && window.document && window.document.createElement);
|
|
29137
|
+
function PA(e, t) {
|
|
29030
29138
|
t(window.confirm(e));
|
|
29031
29139
|
}
|
|
29032
|
-
function
|
|
29140
|
+
function FA() {
|
|
29033
29141
|
var e = window.navigator.userAgent;
|
|
29034
29142
|
return (e.indexOf("Android 2.") !== -1 || e.indexOf("Android 4.0") !== -1) && e.indexOf("Mobile Safari") !== -1 && e.indexOf("Chrome") === -1 && e.indexOf("Windows Phone") === -1 ? !1 : window.history && "pushState" in window.history;
|
|
29035
29143
|
}
|
|
29036
|
-
function
|
|
29144
|
+
function IA() {
|
|
29037
29145
|
return window.navigator.userAgent.indexOf("Trident") === -1;
|
|
29038
29146
|
}
|
|
29039
|
-
function
|
|
29147
|
+
function LA(e) {
|
|
29040
29148
|
return e.state === void 0 && navigator.userAgent.indexOf("CriOS") === -1;
|
|
29041
29149
|
}
|
|
29042
|
-
var
|
|
29043
|
-
function
|
|
29150
|
+
var RA = "popstate", zA = "hashchange";
|
|
29151
|
+
function BA() {
|
|
29044
29152
|
try {
|
|
29045
29153
|
return window.history.state || {};
|
|
29046
29154
|
} catch {
|
|
29047
29155
|
return {};
|
|
29048
29156
|
}
|
|
29049
29157
|
}
|
|
29050
|
-
function
|
|
29051
|
-
e === void 0 && (e = {}), !
|
|
29052
|
-
var t = window.history, n =
|
|
29158
|
+
function VA(e) {
|
|
29159
|
+
e === void 0 && (e = {}), !NA && wA(!1);
|
|
29160
|
+
var t = window.history, n = FA(), r = !IA(), i = e, a = i.forceRefresh, o = a === void 0 ? !1 : a, s = i.getUserConfirmation, c = s === void 0 ? PA : s, l = i.keyLength, u = l === void 0 ? 6 : l, d = e.basename ? OA(TA(e.basename)) : "";
|
|
29053
29161
|
function f(e) {
|
|
29054
29162
|
var t = e || {}, n = t.key, r = t.state, i = window.location, a = i.pathname, o = i.search, s = i.hash, c = a + o + s;
|
|
29055
|
-
return d && (c =
|
|
29163
|
+
return d && (c = DA(c, d)), jA(c, r, n);
|
|
29056
29164
|
}
|
|
29057
29165
|
function p() {
|
|
29058
29166
|
return Math.random().toString(36).substr(2, u);
|
|
29059
29167
|
}
|
|
29060
|
-
var m =
|
|
29168
|
+
var m = MA();
|
|
29061
29169
|
function h(e) {
|
|
29062
|
-
|
|
29170
|
+
vA(re, e), re.length = t.length, m.notifyListeners(re.location, re.action);
|
|
29063
29171
|
}
|
|
29064
29172
|
function g(e) {
|
|
29065
|
-
|
|
29173
|
+
LA(e) || y(f(e.state));
|
|
29066
29174
|
}
|
|
29067
29175
|
function _() {
|
|
29068
|
-
y(f(
|
|
29176
|
+
y(f(BA()));
|
|
29069
29177
|
}
|
|
29070
29178
|
var v = !1;
|
|
29071
29179
|
function y(e) {
|
|
@@ -29088,12 +29196,12 @@ function NA(e) {
|
|
|
29088
29196
|
var i = n - r;
|
|
29089
29197
|
i && (v = !0, E(i));
|
|
29090
29198
|
}
|
|
29091
|
-
var x = f(
|
|
29199
|
+
var x = f(BA()), S = [x.key];
|
|
29092
29200
|
function C(e) {
|
|
29093
|
-
return d +
|
|
29201
|
+
return d + AA(e);
|
|
29094
29202
|
}
|
|
29095
29203
|
function w(e, r) {
|
|
29096
|
-
var i = "PUSH", a =
|
|
29204
|
+
var i = "PUSH", a = jA(e, r, p(), re.location);
|
|
29097
29205
|
m.confirmTransitionTo(a, i, c, function(e) {
|
|
29098
29206
|
if (e) {
|
|
29099
29207
|
var r = C(a), s = a.key, c = a.state;
|
|
@@ -29113,7 +29221,7 @@ function NA(e) {
|
|
|
29113
29221
|
});
|
|
29114
29222
|
}
|
|
29115
29223
|
function T(e, r) {
|
|
29116
|
-
var i = "REPLACE", a =
|
|
29224
|
+
var i = "REPLACE", a = jA(e, r, p(), re.location);
|
|
29117
29225
|
m.confirmTransitionTo(a, i, c, function(e) {
|
|
29118
29226
|
if (e) {
|
|
29119
29227
|
var r = C(a), s = a.key, c = a.state;
|
|
@@ -29143,7 +29251,7 @@ function NA(e) {
|
|
|
29143
29251
|
}
|
|
29144
29252
|
var k = 0;
|
|
29145
29253
|
function A(e) {
|
|
29146
|
-
k += e, k === 1 && e === 1 ? (window.addEventListener(
|
|
29254
|
+
k += e, k === 1 && e === 1 ? (window.addEventListener(RA, g), r && window.addEventListener(zA, _)) : k === 0 && (window.removeEventListener(RA, g), r && window.removeEventListener(zA, _));
|
|
29147
29255
|
}
|
|
29148
29256
|
var ee = !1;
|
|
29149
29257
|
function te(e) {
|
|
@@ -29176,7 +29284,7 @@ function NA(e) {
|
|
|
29176
29284
|
}
|
|
29177
29285
|
//#endregion
|
|
29178
29286
|
//#region src/tools/handleDebugMode.ts
|
|
29179
|
-
function
|
|
29287
|
+
function HA() {
|
|
29180
29288
|
try {
|
|
29181
29289
|
let e = new URL(window.location.href), t = null, n = null;
|
|
29182
29290
|
for (let [r, i] of e.searchParams) if (r === "debug") {
|
|
@@ -29196,8 +29304,8 @@ function PA() {
|
|
|
29196
29304
|
}
|
|
29197
29305
|
//#endregion
|
|
29198
29306
|
//#region src/utils/customCommands.ts
|
|
29199
|
-
var
|
|
29200
|
-
function
|
|
29307
|
+
var UA = pO || me;
|
|
29308
|
+
function WA(e, t) {
|
|
29201
29309
|
if (e = e.trim(), e.startsWith("__yah")) {
|
|
29202
29310
|
let r = e.substr(br.length).trim();
|
|
29203
29311
|
var n = window.location.origin + window.location.pathname;
|
|
@@ -29205,10 +29313,10 @@ function IA(e, t) {
|
|
|
29205
29313
|
let e = wr();
|
|
29206
29314
|
alert(`"You are here" coordinantes: ${e[0]} ${e[1]}, scale ${e[2]}`);
|
|
29207
29315
|
} else if (r === "none") Sr(), A && localStorage.removeItem("kiosk"), t && window.location.replace(n);
|
|
29208
|
-
else if (r.split(",").length === 1) xr(r.split(",")[0]), A && !
|
|
29316
|
+
else if (r.split(",").length === 1) xr(r.split(",")[0]), A && !UA && (localStorage.setItem(he, "1"), $.kiosk = !0), t && window.location.replace(n);
|
|
29209
29317
|
else if (r.split(",").length === 2 || r.split(",").length === 3) {
|
|
29210
29318
|
let e = r.split(","), i = parseFloat(e[0].trim()), a = parseFloat(e[1].trim()), o = 1;
|
|
29211
|
-
r.split(",").length === 3 && (o = parseFloat(e[2].trim())), i && a && (xr(`${i},${a},${o}`), A && !
|
|
29319
|
+
r.split(",").length === 3 && (o = parseFloat(e[2].trim())), i && a && (xr(`${i},${a},${o}`), A && !UA && (localStorage.setItem(he, "1"), $.kiosk = !0), t && window.location.replace(n));
|
|
29212
29320
|
}
|
|
29213
29321
|
return !0;
|
|
29214
29322
|
} else if (e.toLowerCase() === "__addcache") navigator.serviceWorker.getRegistrations().then((e) => {
|
|
@@ -29225,27 +29333,27 @@ function IA(e, t) {
|
|
|
29225
29333
|
window.location.replace(e);
|
|
29226
29334
|
}
|
|
29227
29335
|
} else if (pe()) return !0;
|
|
29228
|
-
else e.startsWith("debug") ?
|
|
29336
|
+
else e.startsWith("debug") ? HA() : e.toLowerCase().startsWith("setkiosk") && $.enableSetKioskMode(!0);
|
|
29229
29337
|
return !1;
|
|
29230
29338
|
}
|
|
29231
29339
|
//#endregion
|
|
29232
29340
|
//#region src/data/fpGeo.ts
|
|
29233
|
-
var
|
|
29234
|
-
function
|
|
29341
|
+
var GA = window.__fpGeo, KA = 6371e3, qA = -180, JA = 180, YA = (e) => e * Math.PI / 180, XA = (e) => e * 180 / Math.PI;
|
|
29342
|
+
function ZA(e, t, n, r) {
|
|
29235
29343
|
let i = e * Math.PI / 180, a = n * Math.PI / 180, o = (n - e) * Math.PI / 180, s = (r - t) * Math.PI / 180, c = Math.sin(o / 2) * Math.sin(o / 2) + Math.cos(i) * Math.cos(a) * Math.sin(s / 2) * Math.sin(s / 2);
|
|
29236
29344
|
return 6371e3 * (2 * Math.atan2(Math.sqrt(c), Math.sqrt(1 - c)));
|
|
29237
29345
|
}
|
|
29238
|
-
function
|
|
29346
|
+
function QA(e, t, n, r) {
|
|
29239
29347
|
let i = e * Math.PI / 180, a = n * Math.PI / 180, o = (r - t) * Math.PI / 180, s = Math.sin(o) * Math.cos(a), c = Math.cos(i) * Math.sin(a) - Math.sin(i) * Math.cos(a) * Math.cos(o);
|
|
29240
29348
|
return (Math.atan2(s, c) * 180 / Math.PI + 360) % 360;
|
|
29241
29349
|
}
|
|
29242
|
-
function
|
|
29350
|
+
function $A(e) {
|
|
29243
29351
|
return typeof e == "number" && Number.isFinite(e);
|
|
29244
29352
|
}
|
|
29245
|
-
function
|
|
29246
|
-
if (!(
|
|
29247
|
-
let { p0: i, p2: a } = r, o =
|
|
29248
|
-
if (
|
|
29353
|
+
function ej({ lat: e, lng: t, angle: n }, r) {
|
|
29354
|
+
if (!($A(e) && $A(t))) return null;
|
|
29355
|
+
let { p0: i, p2: a } = r, o = ZA(i.lat, i.lng, a.lat, a.lng), s = QA(i.lat, i.lng, a.lat, a.lng), c = (0, Or.lineLength)(i, a), u = (0, Or.lineAngle)(i, a), d = ZA(i.lat, i.lng, e, t), f = QA(i.lat, i.lng, e, t) - s;
|
|
29356
|
+
if (!$A(o) || o <= 0) return l.warn("Invalid GPS config: zero or negative distance", {
|
|
29249
29357
|
fullGpsDistance: o,
|
|
29250
29358
|
p0: i,
|
|
29251
29359
|
p2: a
|
|
@@ -29256,7 +29364,7 @@ function KA({ lat: e, lng: t, angle: n }, r) {
|
|
|
29256
29364
|
angle: n
|
|
29257
29365
|
};
|
|
29258
29366
|
}
|
|
29259
|
-
function
|
|
29367
|
+
function tj(e, t, n) {
|
|
29260
29368
|
var r = -(0, Or.getAngle)(n.p0, n.p2, {
|
|
29261
29369
|
x: n.p0.x + 1e4,
|
|
29262
29370
|
y: n.p0.y
|
|
@@ -29269,21 +29377,21 @@ function qA(e, t, n) {
|
|
|
29269
29377
|
}) - r, a = (0, Or.lineLength)(n.p2, n.p0), o = (0, Or.lineLength)(n.p0, {
|
|
29270
29378
|
x: e,
|
|
29271
29379
|
y: t
|
|
29272
|
-
}) / a *
|
|
29273
|
-
return
|
|
29380
|
+
}) / a * ZA(n.p0.lat, n.p0.lng, n.p2.lat, n.p2.lng), s = QA(n.p0.lat, n.p0.lng, n.p2.lat, n.p2.lng);
|
|
29381
|
+
return nj(n.p0.lat, n.p0.lng, o, s + i);
|
|
29274
29382
|
}
|
|
29275
|
-
function
|
|
29276
|
-
var i = n /
|
|
29277
|
-
return (u <
|
|
29383
|
+
function nj(e, t, n, r) {
|
|
29384
|
+
var i = n / KA, a = YA(r), o = YA(e), s = YA(t), c = Math.asin(Math.sin(o) * Math.cos(i) + Math.cos(o) * Math.sin(i) * Math.cos(a)), l = s + Math.atan2(Math.sin(a) * Math.sin(i) * Math.cos(o), Math.cos(i) - Math.sin(o) * Math.sin(c)), u = XA(l);
|
|
29385
|
+
return (u < qA || u > JA) && (l = (l + 3 * Math.PI) % (2 * Math.PI) - Math.PI, u = XA(l)), [u, XA(c)];
|
|
29278
29386
|
}
|
|
29279
|
-
function
|
|
29387
|
+
function rj(e) {
|
|
29280
29388
|
var t, n;
|
|
29281
|
-
let r = (t =
|
|
29389
|
+
let r = (t = GA == null || (n = GA.properties) == null || (n = n.config) == null ? void 0 : n.bearing) == null ? 0 : t;
|
|
29282
29390
|
return (e == null ? void 0 : e.angle) === null ? 0 : (((e.angle - r) % 360 + 360) % 360 - 90 + 360) % 360;
|
|
29283
29391
|
}
|
|
29284
29392
|
//#endregion
|
|
29285
29393
|
//#region src/wayfinding/graph/buildGraph.ts
|
|
29286
|
-
function
|
|
29394
|
+
function ij(e, t, n) {
|
|
29287
29395
|
var r, i;
|
|
29288
29396
|
return t.build(e.getLines(), {
|
|
29289
29397
|
oriented: (r = n.oriented) == null ? !0 : r,
|
|
@@ -29296,53 +29404,53 @@ function XA(e, t, n) {
|
|
|
29296
29404
|
}
|
|
29297
29405
|
//#endregion
|
|
29298
29406
|
//#region src/wayfinding/graph/utils/a-star/defaultSettings.js
|
|
29299
|
-
var
|
|
29300
|
-
typeof Object.freeze == "function" && Object.freeze(
|
|
29301
|
-
var
|
|
29302
|
-
heuristic:
|
|
29303
|
-
distance:
|
|
29304
|
-
blocked:
|
|
29305
|
-
compareFScore:
|
|
29306
|
-
NO_PATH:
|
|
29307
|
-
setHeapIndex:
|
|
29308
|
-
setH1:
|
|
29309
|
-
setH2:
|
|
29310
|
-
compareF1Score:
|
|
29311
|
-
compareF2Score:
|
|
29407
|
+
var aj = [];
|
|
29408
|
+
typeof Object.freeze == "function" && Object.freeze(aj);
|
|
29409
|
+
var oj = {
|
|
29410
|
+
heuristic: sj,
|
|
29411
|
+
distance: cj,
|
|
29412
|
+
blocked: lj,
|
|
29413
|
+
compareFScore: uj,
|
|
29414
|
+
NO_PATH: aj,
|
|
29415
|
+
setHeapIndex: dj,
|
|
29416
|
+
setH1: mj,
|
|
29417
|
+
setH2: hj,
|
|
29418
|
+
compareF1Score: fj,
|
|
29419
|
+
compareF2Score: pj
|
|
29312
29420
|
};
|
|
29313
|
-
function
|
|
29421
|
+
function sj() {
|
|
29314
29422
|
return 0;
|
|
29315
29423
|
}
|
|
29316
|
-
function
|
|
29424
|
+
function cj() {
|
|
29317
29425
|
return 1;
|
|
29318
29426
|
}
|
|
29319
|
-
function
|
|
29427
|
+
function lj() {
|
|
29320
29428
|
return !1;
|
|
29321
29429
|
}
|
|
29322
|
-
function
|
|
29430
|
+
function uj(e, t) {
|
|
29323
29431
|
return e.fScore - t.fScore;
|
|
29324
29432
|
}
|
|
29325
|
-
function
|
|
29433
|
+
function dj(e, t) {
|
|
29326
29434
|
e.heapIndex = t;
|
|
29327
29435
|
}
|
|
29328
|
-
function
|
|
29436
|
+
function fj(e, t) {
|
|
29329
29437
|
return e.f1 - t.f1;
|
|
29330
29438
|
}
|
|
29331
|
-
function
|
|
29439
|
+
function pj(e, t) {
|
|
29332
29440
|
return e.f2 - t.f2;
|
|
29333
29441
|
}
|
|
29334
|
-
function
|
|
29442
|
+
function mj(e, t) {
|
|
29335
29443
|
e.h1 = t;
|
|
29336
29444
|
}
|
|
29337
|
-
function
|
|
29445
|
+
function hj(e, t) {
|
|
29338
29446
|
e.h2 = t;
|
|
29339
29447
|
}
|
|
29340
29448
|
//#endregion
|
|
29341
29449
|
//#region src/wayfinding/graph/utils/a-star/makeSearchStatePool.js
|
|
29342
|
-
function
|
|
29450
|
+
function gj(e) {
|
|
29343
29451
|
this.node = e, this.parent = null, this.closed = !1, this.open = 0, this.distanceToSource = Infinity, this.fScore = Infinity, this.heapIndex = -1;
|
|
29344
29452
|
}
|
|
29345
|
-
function
|
|
29453
|
+
function _j() {
|
|
29346
29454
|
let e = 0, t = [];
|
|
29347
29455
|
return {
|
|
29348
29456
|
createNewState: r,
|
|
@@ -29353,21 +29461,21 @@ function lj() {
|
|
|
29353
29461
|
}
|
|
29354
29462
|
function r(n) {
|
|
29355
29463
|
let r = t[e];
|
|
29356
|
-
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
|
|
29464
|
+
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 gj(n), t[e] = r), e++, r;
|
|
29357
29465
|
}
|
|
29358
29466
|
}
|
|
29359
29467
|
//#endregion
|
|
29360
29468
|
//#region src/wayfinding/graph/utils/a-star/NodeHeap.js
|
|
29361
|
-
function
|
|
29362
|
-
if (!(this instanceof
|
|
29363
|
-
if (Array.isArray(e) || (t = e, e = []), t = t || {}, this.data = e || [], this.length = this.data.length, this.compare = t.compare ||
|
|
29469
|
+
function vj(e, t) {
|
|
29470
|
+
if (!(this instanceof vj)) return new vj(e, t);
|
|
29471
|
+
if (Array.isArray(e) || (t = e, e = []), t = t || {}, this.data = e || [], this.length = this.data.length, this.compare = t.compare || bj, this.setNodeId = t.setNodeId || yj, this.length > 0) for (let e = this.length >> 1; e >= 0; e--) this._down(e);
|
|
29364
29472
|
if (t.setNodeId) for (let e = 0; e < this.length; ++e) this.setNodeId(this.data[e], e);
|
|
29365
29473
|
}
|
|
29366
|
-
function
|
|
29367
|
-
function
|
|
29474
|
+
function yj() {}
|
|
29475
|
+
function bj(e, t) {
|
|
29368
29476
|
return e - t;
|
|
29369
29477
|
}
|
|
29370
|
-
|
|
29478
|
+
vj.prototype = {
|
|
29371
29479
|
push: function(e) {
|
|
29372
29480
|
this.data.push(e), this.setNodeId(e, this.length), this.length++, this._up(this.length - 1);
|
|
29373
29481
|
},
|
|
@@ -29403,16 +29511,16 @@ uj.prototype = {
|
|
|
29403
29511
|
};
|
|
29404
29512
|
//#endregion
|
|
29405
29513
|
//#region src/wayfinding/graph/utils/a-star/a-star.js
|
|
29406
|
-
var
|
|
29407
|
-
function
|
|
29514
|
+
var xj = oj.NO_PATH;
|
|
29515
|
+
function Sj(e, t) {
|
|
29408
29516
|
t = t || {};
|
|
29409
29517
|
let n = t.oriented, r = t.blocked;
|
|
29410
|
-
r || (r =
|
|
29518
|
+
r || (r = oj.blocked);
|
|
29411
29519
|
let i = t.heuristic;
|
|
29412
|
-
i || (i =
|
|
29520
|
+
i || (i = oj.heuristic);
|
|
29413
29521
|
let a = t.distance;
|
|
29414
|
-
a || (a =
|
|
29415
|
-
let o =
|
|
29522
|
+
a || (a = oj.distance);
|
|
29523
|
+
let o = _j();
|
|
29416
29524
|
return { find: s };
|
|
29417
29525
|
function s(t, s) {
|
|
29418
29526
|
let c = e.getNode(t);
|
|
@@ -29420,17 +29528,17 @@ function mj(e, t) {
|
|
|
29420
29528
|
let l = e.getNode(s);
|
|
29421
29529
|
if (!l) throw Error("toId is not defined in this graph: " + s);
|
|
29422
29530
|
o.reset();
|
|
29423
|
-
let u = /* @__PURE__ */ new Map(), d = new
|
|
29424
|
-
compare:
|
|
29425
|
-
setNodeId:
|
|
29531
|
+
let u = /* @__PURE__ */ new Map(), d = new vj({
|
|
29532
|
+
compare: oj.compareFScore,
|
|
29533
|
+
setNodeId: oj.setHeapIndex
|
|
29426
29534
|
}), f = o.createNewState(c);
|
|
29427
29535
|
u.set(t, f), f.fScore = i(c, l), f.distanceToSource = 0, d.push(f), f.open = 1;
|
|
29428
29536
|
let p;
|
|
29429
29537
|
for (; d.length > 0;) {
|
|
29430
|
-
if (p = d.pop(),
|
|
29538
|
+
if (p = d.pop(), Cj(p, l)) return wj(p);
|
|
29431
29539
|
p.closed = !0, e.forEachLinkedNode(p.node.id, m, n);
|
|
29432
29540
|
}
|
|
29433
|
-
return
|
|
29541
|
+
return xj;
|
|
29434
29542
|
function m(e, t) {
|
|
29435
29543
|
let n = u.get(e.id);
|
|
29436
29544
|
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;
|
|
@@ -29439,17 +29547,17 @@ function mj(e, t) {
|
|
|
29439
29547
|
}
|
|
29440
29548
|
}
|
|
29441
29549
|
}
|
|
29442
|
-
function
|
|
29550
|
+
function Cj(e, t) {
|
|
29443
29551
|
return e.node === t;
|
|
29444
29552
|
}
|
|
29445
|
-
function
|
|
29553
|
+
function wj(e) {
|
|
29446
29554
|
let t = [e.node], n = e.parent;
|
|
29447
29555
|
for (; n;) t.push(n.node), n = n.parent;
|
|
29448
29556
|
return t;
|
|
29449
29557
|
}
|
|
29450
29558
|
//#endregion
|
|
29451
29559
|
//#region ../../node_modules/.pnpm/ngraph.events@1.4.0/node_modules/ngraph.events/dist/ngraph.events.cjs
|
|
29452
|
-
var
|
|
29560
|
+
var Tj = /* @__PURE__ */ t(((e, t) => {
|
|
29453
29561
|
function n(e) {
|
|
29454
29562
|
i(e);
|
|
29455
29563
|
let t = r(e);
|
|
@@ -29498,9 +29606,9 @@ var _j = /* @__PURE__ */ t(((e, t) => {
|
|
|
29498
29606
|
for (let n = 0; n < t.length; ++n) if (e.hasOwnProperty(t[n])) throw Error("Subject cannot be eventified, since it already has property '" + t[n] + "'");
|
|
29499
29607
|
}
|
|
29500
29608
|
t.exports = n;
|
|
29501
|
-
})),
|
|
29609
|
+
})), Ej = /* @__PURE__ */ t(((e, t) => {
|
|
29502
29610
|
t.exports = r;
|
|
29503
|
-
var n =
|
|
29611
|
+
var n = Tj();
|
|
29504
29612
|
function r(e) {
|
|
29505
29613
|
if (e = e || {}, "uniqueLinkId" in e && (console.warn("ngraph.graph: Starting from version 0.14 `uniqueLinkId` is deprecated.\nUse `multigraph` option instead\n", "\n", "Note: there is also change in default behavior: From now on each graph\nis considered to be not a multigraph by default (each edge is unique)."), e.multigraph = e.uniqueLinkId), e.multigraph === void 0 && (e.multigraph = !1), typeof Map != "function") throw Error("ngraph.graph requires `Map` to be defined. Please polyfill it before using ngraph");
|
|
29506
29614
|
var t = /* @__PURE__ */ new Map(), r = [], l = {}, u = 0, d = e.multigraph ? E : T, f = [], p = ae, m = ae, h = ae, g = ae, _ = {
|
|
@@ -29667,22 +29775,22 @@ var _j = /* @__PURE__ */ t(((e, t) => {
|
|
|
29667
29775
|
function c(e, t) {
|
|
29668
29776
|
return e.toString() + "👉 " + t.toString();
|
|
29669
29777
|
}
|
|
29670
|
-
})),
|
|
29671
|
-
function
|
|
29672
|
-
return e.find((e) =>
|
|
29778
|
+
})), Dj = (e) => `${e.layer}_${e.x}_${e.y}`, Oj = 1, kj = (e, t) => e.layer === t.layer && (0, Or.lineLength)(e, t) <= Oj, Aj = (e, t, n) => kj(e.p0, t) && kj(e.p1, n) || kj(e.p0, n) && kj(e.p1, t);
|
|
29779
|
+
function jj(e, t, n) {
|
|
29780
|
+
return e.find((e) => Aj(e, t, n));
|
|
29673
29781
|
}
|
|
29674
|
-
var
|
|
29675
|
-
function
|
|
29782
|
+
var Mj = 5;
|
|
29783
|
+
function Nj(e, t) {
|
|
29676
29784
|
if (e.virtual !== t.virtual) return !1;
|
|
29677
29785
|
let n = (0, Or.lineAngle)(e.p0, e.p1), r = (0, Or.lineAngle)(t.p0, t.p1), i = Math.abs(r - n);
|
|
29678
|
-
return i > 180 && (i = 360 - i), i <=
|
|
29786
|
+
return i > 180 && (i = 360 - i), i <= Mj;
|
|
29679
29787
|
}
|
|
29680
|
-
function
|
|
29788
|
+
function Pj(e, t) {
|
|
29681
29789
|
let n = [];
|
|
29682
29790
|
for (let r = 1; r < e.length; r++) {
|
|
29683
|
-
let i = e[r - 1], a = e[r], o =
|
|
29791
|
+
let i = e[r - 1], a = e[r], o = jj(t, i, a);
|
|
29684
29792
|
if (!o) {
|
|
29685
|
-
console.warn(`WF: buildRouteSegments — no line found between ${
|
|
29793
|
+
console.warn(`WF: buildRouteSegments — no line found between ${Dj(i)} and ${Dj(a)}`);
|
|
29686
29794
|
continue;
|
|
29687
29795
|
}
|
|
29688
29796
|
let s = {
|
|
@@ -29693,7 +29801,7 @@ function Ej(e, t) {
|
|
|
29693
29801
|
virtual: o.virtual,
|
|
29694
29802
|
weight: o.weight
|
|
29695
29803
|
}, c = n[n.length - 1];
|
|
29696
|
-
c &&
|
|
29804
|
+
c && Nj(c, s) ? n[n.length - 1] = {
|
|
29697
29805
|
...c,
|
|
29698
29806
|
p1: s.p1
|
|
29699
29807
|
} : n.push(s);
|
|
@@ -29702,26 +29810,26 @@ function Ej(e, t) {
|
|
|
29702
29810
|
}
|
|
29703
29811
|
//#endregion
|
|
29704
29812
|
//#region src/wayfinding/graph/linkCost.ts
|
|
29705
|
-
var
|
|
29706
|
-
function
|
|
29813
|
+
var Fj = 4;
|
|
29814
|
+
function Ij(e) {
|
|
29707
29815
|
var t;
|
|
29708
|
-
return e.virtual ? (t = e.virtualLength) == null ? 0 : t : (0, Or.lineLength)(e.p0, e.p1) / (e.weight ||
|
|
29816
|
+
return e.virtual ? (t = e.virtualLength) == null ? 0 : t : (0, Or.lineLength)(e.p0, e.p1) / (e.weight || Fj);
|
|
29709
29817
|
}
|
|
29710
29818
|
//#endregion
|
|
29711
29819
|
//#region src/wayfinding/graph/buildNGraph.ts
|
|
29712
|
-
var
|
|
29713
|
-
function
|
|
29714
|
-
let { oriented: n, onlyAccessible: r } = t, i = (0,
|
|
29820
|
+
var Lj = /* @__PURE__ */ e(Ej(), 1);
|
|
29821
|
+
function Rj(e, t) {
|
|
29822
|
+
let { oriented: n, onlyAccessible: r } = t, i = (0, Lj.default)();
|
|
29715
29823
|
for (let t of e) {
|
|
29716
29824
|
if (r && t.unaccessible) continue;
|
|
29717
|
-
let e =
|
|
29825
|
+
let e = Dj(t.p0), a = Dj(t.p1), o = Ij(t);
|
|
29718
29826
|
i.addLink(e, a, { distance: o }), n && !t.unidirection && i.addLink(a, e, { distance: o });
|
|
29719
29827
|
}
|
|
29720
29828
|
return i;
|
|
29721
29829
|
}
|
|
29722
29830
|
//#endregion
|
|
29723
29831
|
//#region src/wayfinding/graph/pathfinder/parseNodeId.ts
|
|
29724
|
-
function
|
|
29832
|
+
function zj(e) {
|
|
29725
29833
|
let t = e.lastIndexOf("_"), n = e.lastIndexOf("_", t - 1);
|
|
29726
29834
|
if (n === -1) throw Error(`WF: invalid node ID format "${e}", expected "{layer}_{x}_{y}"`);
|
|
29727
29835
|
return [
|
|
@@ -29732,12 +29840,12 @@ function jj(e) {
|
|
|
29732
29840
|
}
|
|
29733
29841
|
//#endregion
|
|
29734
29842
|
//#region src/wayfinding/graph/pathfinder/aStarPathFinder.ts
|
|
29735
|
-
var
|
|
29736
|
-
function
|
|
29843
|
+
var Bj = 1.01;
|
|
29844
|
+
function Vj() {
|
|
29737
29845
|
return function(e, t, n) {
|
|
29738
29846
|
let r = 1;
|
|
29739
29847
|
if (t.parent) {
|
|
29740
|
-
let [, n, i] =
|
|
29848
|
+
let [, n, i] = zj(t.parent.node.id), [, a, o] = zj(t.node.id), [, s, c] = zj(e.id);
|
|
29741
29849
|
(0, Or.lineAngle)({
|
|
29742
29850
|
x: n,
|
|
29743
29851
|
y: i
|
|
@@ -29750,18 +29858,18 @@ function Nj() {
|
|
|
29750
29858
|
}, {
|
|
29751
29859
|
x: s,
|
|
29752
29860
|
y: c
|
|
29753
|
-
}) && (r =
|
|
29861
|
+
}) && (r = Bj);
|
|
29754
29862
|
}
|
|
29755
29863
|
return r * n.data.distance;
|
|
29756
29864
|
};
|
|
29757
29865
|
}
|
|
29758
|
-
function
|
|
29866
|
+
function Hj() {
|
|
29759
29867
|
let e = null, t = null;
|
|
29760
29868
|
return {
|
|
29761
29869
|
build(n, r) {
|
|
29762
|
-
t =
|
|
29870
|
+
t = Rj(n, r), e = Sj(t, {
|
|
29763
29871
|
oriented: r.oriented,
|
|
29764
|
-
distance:
|
|
29872
|
+
distance: Vj()
|
|
29765
29873
|
});
|
|
29766
29874
|
},
|
|
29767
29875
|
hasNode(e) {
|
|
@@ -29771,7 +29879,7 @@ function Pj() {
|
|
|
29771
29879
|
if (!e) return [];
|
|
29772
29880
|
let r = e.find(t, n);
|
|
29773
29881
|
return r.length ? r.map((e) => {
|
|
29774
|
-
let [t, n, r] =
|
|
29882
|
+
let [t, n, r] = zj(e.id);
|
|
29775
29883
|
return {
|
|
29776
29884
|
id: e.id,
|
|
29777
29885
|
layer: t,
|
|
@@ -29784,10 +29892,10 @@ function Pj() {
|
|
|
29784
29892
|
}
|
|
29785
29893
|
//#endregion
|
|
29786
29894
|
//#region src/wayfinding/graph/graphCache.ts
|
|
29787
|
-
function
|
|
29895
|
+
function Uj() {
|
|
29788
29896
|
let e = null, t = !1;
|
|
29789
29897
|
return { getOrBuild(n, r) {
|
|
29790
|
-
return e && t === r ? e : (e =
|
|
29898
|
+
return e && t === r ? e : (e = ij(n, Hj(), {
|
|
29791
29899
|
oriented: !0,
|
|
29792
29900
|
onlyAccessible: r
|
|
29793
29901
|
}), t = r, e);
|
|
@@ -29795,71 +29903,71 @@ function Fj() {
|
|
|
29795
29903
|
}
|
|
29796
29904
|
//#endregion
|
|
29797
29905
|
//#region src/wayfinding/routing/getRouteLength.ts
|
|
29798
|
-
function
|
|
29906
|
+
function Wj(e) {
|
|
29799
29907
|
return e.reduce((e, t) => e + (0, Or.lineLength)(t.p0, t.p1), 0);
|
|
29800
29908
|
}
|
|
29801
29909
|
//#endregion
|
|
29802
29910
|
//#region src/wayfinding/graph/findShortestPath.ts
|
|
29803
|
-
function
|
|
29911
|
+
function Gj(e, t, n) {
|
|
29804
29912
|
return {
|
|
29805
29913
|
layer: e,
|
|
29806
29914
|
x: t,
|
|
29807
29915
|
y: n
|
|
29808
29916
|
};
|
|
29809
29917
|
}
|
|
29810
|
-
function
|
|
29918
|
+
function Kj(e, t) {
|
|
29811
29919
|
let n = 0;
|
|
29812
29920
|
for (let r = 1; r < e.length; r++) {
|
|
29813
|
-
let i =
|
|
29814
|
-
i && (n +=
|
|
29921
|
+
let i = jj(t, e[r - 1], e[r]);
|
|
29922
|
+
i && (n += Ij(i));
|
|
29815
29923
|
}
|
|
29816
29924
|
return n;
|
|
29817
29925
|
}
|
|
29818
|
-
function
|
|
29926
|
+
function qj(e, t, n) {
|
|
29819
29927
|
let r = e.dataSource.getLines(), i = null, a = Infinity;
|
|
29820
29928
|
for (let o of t) for (let t of n) {
|
|
29821
|
-
let n =
|
|
29929
|
+
let n = Dj(o), s = Dj(t);
|
|
29822
29930
|
if (!e.finder.hasNode(n) || !e.finder.hasNode(s)) {
|
|
29823
29931
|
console.debug(`WF. findShortestPath: node not in graph, skipping pair ${n} → ${s}`);
|
|
29824
29932
|
continue;
|
|
29825
29933
|
}
|
|
29826
29934
|
let c = e.finder.find(n, s);
|
|
29827
29935
|
if (!c.length) continue;
|
|
29828
|
-
let l = c.map((e) =>
|
|
29936
|
+
let l = c.map((e) => Gj(e.layer, e.x, e.y)), u = Pj(l, r);
|
|
29829
29937
|
if (!u.length) continue;
|
|
29830
|
-
let d =
|
|
29938
|
+
let d = Kj(l, r);
|
|
29831
29939
|
d < a && (a = d, i = {
|
|
29832
29940
|
lines: u,
|
|
29833
|
-
distance:
|
|
29941
|
+
distance: Wj(u)
|
|
29834
29942
|
});
|
|
29835
29943
|
}
|
|
29836
29944
|
return i;
|
|
29837
29945
|
}
|
|
29838
29946
|
//#endregion
|
|
29839
29947
|
//#region src/wayfinding/routing/routeResult.ts
|
|
29840
|
-
var
|
|
29948
|
+
var Jj = () => ({
|
|
29841
29949
|
lines: [],
|
|
29842
29950
|
totalDistance: 0
|
|
29843
29951
|
});
|
|
29844
29952
|
//#endregion
|
|
29845
29953
|
//#region src/wayfinding/routing/buildRoute.ts
|
|
29846
|
-
function
|
|
29847
|
-
if (!t.length || !n.length) return
|
|
29848
|
-
let r =
|
|
29954
|
+
function Yj(e, t, n) {
|
|
29955
|
+
if (!t.length || !n.length) return Jj();
|
|
29956
|
+
let r = qj(e, t, n);
|
|
29849
29957
|
return r ? {
|
|
29850
29958
|
lines: r.lines,
|
|
29851
29959
|
totalDistance: r.distance
|
|
29852
|
-
} :
|
|
29960
|
+
} : Jj();
|
|
29853
29961
|
}
|
|
29854
29962
|
//#endregion
|
|
29855
29963
|
//#region src/wayfinding/routing/buildMultiPointRoute.ts
|
|
29856
|
-
function
|
|
29857
|
-
if (t.length < 2) return
|
|
29964
|
+
function Xj(e, t) {
|
|
29965
|
+
if (t.length < 2) return Jj();
|
|
29858
29966
|
let n = t.filter((e, n) => n === 0 || n === t.length - 1 ? !0 : e.length > 0);
|
|
29859
|
-
if (n.length < 2) return
|
|
29860
|
-
if (n.length === 2) return
|
|
29967
|
+
if (n.length < 2) return Jj();
|
|
29968
|
+
if (n.length === 2) return Yj(e, n[0], n[1]);
|
|
29861
29969
|
let r = [];
|
|
29862
|
-
for (let t = 0; t < n.length - 1; t++) r.push(
|
|
29970
|
+
for (let t = 0; t < n.length - 1; t++) r.push(Yj(e, n[t], n[t + 1]));
|
|
29863
29971
|
return r.reverse(), {
|
|
29864
29972
|
lines: r.flatMap((e) => e.lines),
|
|
29865
29973
|
totalDistance: r.reduce((e, t) => e + t.totalDistance, 0)
|
|
@@ -29867,10 +29975,10 @@ function Hj(e, t) {
|
|
|
29867
29975
|
}
|
|
29868
29976
|
//#endregion
|
|
29869
29977
|
//#region src/wayfinding/routing/findNearestGraphPoint.ts
|
|
29870
|
-
function
|
|
29978
|
+
function Zj(e, t, n) {
|
|
29871
29979
|
return e.getLineEnds().filter((e) => (!n || e.layer === n) && (0, Or.pointInsideRectangle)(e, t));
|
|
29872
29980
|
}
|
|
29873
|
-
function
|
|
29981
|
+
function Qj(e, t) {
|
|
29874
29982
|
let n = e.dataSource.getLineEnds(), r = null, i = Infinity;
|
|
29875
29983
|
for (let e of n) {
|
|
29876
29984
|
if (t.layer && e.layer !== t.layer) continue;
|
|
@@ -29881,56 +29989,56 @@ function Wj(e, t) {
|
|
|
29881
29989
|
}
|
|
29882
29990
|
//#endregion
|
|
29883
29991
|
//#region src/wayfinding/routing/getGraphLines.ts
|
|
29884
|
-
var
|
|
29885
|
-
function
|
|
29886
|
-
if (t.rect) return
|
|
29887
|
-
let n =
|
|
29992
|
+
var $j = Uj();
|
|
29993
|
+
function eM(e, t) {
|
|
29994
|
+
if (t.rect) return Zj(e.dataSource, t.rect, t.layer);
|
|
29995
|
+
let n = Qj(e, {
|
|
29888
29996
|
x: t.x,
|
|
29889
29997
|
y: t.y,
|
|
29890
29998
|
layer: t.layer
|
|
29891
29999
|
});
|
|
29892
30000
|
return n ? [n] : [];
|
|
29893
30001
|
}
|
|
29894
|
-
function
|
|
29895
|
-
let a = performance.now(), o =
|
|
30002
|
+
function tM(e, t, n, r = !1, i = []) {
|
|
30003
|
+
let a = performance.now(), o = $j.getOrBuild(e, r), s = eM(o, t), c = eM(o, n), l = i.length > 0 ? Xj(o, [
|
|
29896
30004
|
s,
|
|
29897
|
-
...i.map((e) =>
|
|
30005
|
+
...i.map((e) => eM(o, e)),
|
|
29898
30006
|
c
|
|
29899
|
-
]) :
|
|
30007
|
+
]) : Yj(o, s, c);
|
|
29900
30008
|
return console.debug(`WF. Get graph lines: ${l.lines.length} ~ ${performance.now() - a}ms.`), l.lines;
|
|
29901
30009
|
}
|
|
29902
30010
|
//#endregion
|
|
29903
30011
|
//#region src/wayfinding/rendering/computeTransitionPoints.ts
|
|
29904
|
-
function
|
|
30012
|
+
function nM(e, t) {
|
|
29905
30013
|
return e.toLowerCase() === t.toLowerCase();
|
|
29906
30014
|
}
|
|
29907
|
-
function
|
|
29908
|
-
return e.findIndex((e) =>
|
|
30015
|
+
function rM(e, t) {
|
|
30016
|
+
return e.findIndex((e) => nM(e, t));
|
|
29909
30017
|
}
|
|
29910
|
-
function
|
|
29911
|
-
let r =
|
|
30018
|
+
function iM(e, t, n) {
|
|
30019
|
+
let r = rM(e, t), i = rM(e, n);
|
|
29912
30020
|
return r === -1 || i === -1 ? "neutral" : i > r ? "up" : "down";
|
|
29913
30021
|
}
|
|
29914
|
-
function
|
|
29915
|
-
return e.find((e) =>
|
|
30022
|
+
function aM(e, t, n) {
|
|
30023
|
+
return e.find((e) => nM(e.p0.layer, t) ? !n.has(e.p1.layer.toLowerCase()) : nM(e.p1.layer, t) ? !n.has(e.p0.layer.toLowerCase()) : !1);
|
|
29916
30024
|
}
|
|
29917
|
-
function
|
|
30025
|
+
function oM(e, t, n, r) {
|
|
29918
30026
|
if (t.has(r.toLowerCase())) return r;
|
|
29919
|
-
let i = r, a = new Set([n.toLowerCase(), i.toLowerCase()]), o =
|
|
29920
|
-
for (; o && (i =
|
|
30027
|
+
let i = r, a = new Set([n.toLowerCase(), i.toLowerCase()]), o = aM(e, i, a);
|
|
30028
|
+
for (; o && (i = nM(o.p0.layer, i) ? o.p1.layer : o.p0.layer, !t.has(i.toLowerCase()));) a.add(i.toLowerCase()), o = aM(e, i, a);
|
|
29921
30029
|
return i;
|
|
29922
30030
|
}
|
|
29923
|
-
function
|
|
29924
|
-
let { routeLines: t, currentLayerName: n, floorOrder: r } = e, i = t.filter((e) => e.virtual && !
|
|
30031
|
+
function sM(e) {
|
|
30032
|
+
let { routeLines: t, currentLayerName: n, floorOrder: r } = e, i = t.filter((e) => e.virtual && !nM(e.p0.layer, e.p1.layer)), a = /* @__PURE__ */ new Set();
|
|
29925
30033
|
for (let e of t) e.virtual || (a.add(e.p0.layer.toLowerCase()), a.add(e.p1.layer.toLowerCase()));
|
|
29926
|
-
let o = (n ? i.filter((e) =>
|
|
29927
|
-
let t = n ?
|
|
30034
|
+
let o = (n ? i.filter((e) => nM(e.p0.layer, n) || nM(e.p1.layer, n)) : i).map((e) => {
|
|
30035
|
+
let t = n ? nM(e.p0.layer, n) : !0, o = t ? e.p0 : e.p1, s = t ? e.p1 : e.p0, c = oM(i, a, o.layer, s.layer);
|
|
29928
30036
|
return {
|
|
29929
30037
|
x: o.x,
|
|
29930
30038
|
y: o.y,
|
|
29931
30039
|
layer: o.layer,
|
|
29932
30040
|
targetLayer: c,
|
|
29933
|
-
direction:
|
|
30041
|
+
direction: iM(r, o.layer, c),
|
|
29934
30042
|
role: n && t ? "entry" : "exit"
|
|
29935
30043
|
};
|
|
29936
30044
|
}), s = /* @__PURE__ */ new Set();
|
|
@@ -29941,7 +30049,7 @@ function $j(e) {
|
|
|
29941
30049
|
}
|
|
29942
30050
|
//#endregion
|
|
29943
30051
|
//#region src/wayfinding/rendering/normalizeRouteDirection.ts
|
|
29944
|
-
function
|
|
30052
|
+
function cM(e, t, n) {
|
|
29945
30053
|
let r = 0, i = Infinity, a = Infinity, o = n.reduce((e, t) => e + t, 0);
|
|
29946
30054
|
for (let o = 0; o < t.length; o++) {
|
|
29947
30055
|
let s = t[o], c = n[o];
|
|
@@ -29963,9 +30071,9 @@ function eM(e, t, n) {
|
|
|
29963
30071
|
total: o
|
|
29964
30072
|
};
|
|
29965
30073
|
}
|
|
29966
|
-
function
|
|
30074
|
+
function lM(e, t, n, r) {
|
|
29967
30075
|
if (!t.length) return t;
|
|
29968
|
-
let i = e.map((e) => Math.hypot(e.p1.x - e.p0.x, e.p1.y - e.p0.y)), a =
|
|
30076
|
+
let i = e.map((e) => Math.hypot(e.p1.x - e.p0.x, e.p1.y - e.p0.y)), a = cM(n, e, i), o = a.found ? a : cM(r, e, i);
|
|
29969
30077
|
if (!o.found) return t;
|
|
29970
30078
|
let s = o.fromStart, c = o.total - o.fromStart;
|
|
29971
30079
|
return (a.found ? c < s : s < c) ? t.slice().reverse().map((e) => ({
|
|
@@ -29976,7 +30084,7 @@ function tM(e, t, n, r) {
|
|
|
29976
30084
|
}
|
|
29977
30085
|
//#endregion
|
|
29978
30086
|
//#region src/wayfinding/rendering/routeGeometry.ts
|
|
29979
|
-
function
|
|
30087
|
+
function uM(e, t) {
|
|
29980
30088
|
if (e.length === 0) return {
|
|
29981
30089
|
x: 0,
|
|
29982
30090
|
y: 0
|
|
@@ -29990,9 +30098,9 @@ function nM(e, t) {
|
|
|
29990
30098
|
y: a
|
|
29991
30099
|
});
|
|
29992
30100
|
}
|
|
29993
|
-
return
|
|
30101
|
+
return uM(n, t);
|
|
29994
30102
|
}
|
|
29995
|
-
function
|
|
30103
|
+
function dM(e, t) {
|
|
29996
30104
|
if (e.length === 0) return [];
|
|
29997
30105
|
if (t <= 0) return [e[0].p0, e[e.length - 1].p1];
|
|
29998
30106
|
let n = [], r = 0;
|
|
@@ -30025,7 +30133,7 @@ function rM(e, t) {
|
|
|
30025
30133
|
}
|
|
30026
30134
|
//#endregion
|
|
30027
30135
|
//#region src/wayfinding/adapters/boothToWaypoint.ts
|
|
30028
|
-
function
|
|
30136
|
+
function fM(e) {
|
|
30029
30137
|
var t;
|
|
30030
30138
|
let n = RO.fromRect(e.rect).rotate(e.rotate, e.rect.cx, e.rect.cy);
|
|
30031
30139
|
return {
|
|
@@ -30037,31 +30145,31 @@ function iM(e) {
|
|
|
30037
30145
|
}
|
|
30038
30146
|
//#endregion
|
|
30039
30147
|
//#region src/wayfinding/adapters/graphDataSource.ts
|
|
30040
|
-
function
|
|
30148
|
+
function pM() {
|
|
30041
30149
|
return window.__wfData;
|
|
30042
30150
|
}
|
|
30043
|
-
var
|
|
30151
|
+
var mM = {
|
|
30044
30152
|
getLines: () => {
|
|
30045
30153
|
var e, t;
|
|
30046
|
-
return (e = (t =
|
|
30154
|
+
return (e = (t = pM()) == null ? void 0 : t.lines) == null ? [] : e;
|
|
30047
30155
|
},
|
|
30048
30156
|
getLineEnds: () => {
|
|
30049
30157
|
var e, t;
|
|
30050
|
-
return (e = (t =
|
|
30158
|
+
return (e = (t = pM()) == null ? void 0 : t.lineEnds) == null ? [] : e;
|
|
30051
30159
|
}
|
|
30052
|
-
},
|
|
30053
|
-
function
|
|
30160
|
+
}, hM = 1.4, gM = 4.2;
|
|
30161
|
+
function _M(e) {
|
|
30054
30162
|
var t;
|
|
30055
|
-
return (e == null || (t = e.toLowerCase) == null ? void 0 : t.call(e).trim()) === "m" ?
|
|
30163
|
+
return (e == null || (t = e.toLowerCase) == null ? void 0 : t.call(e).trim()) === "m" ? hM : gM;
|
|
30056
30164
|
}
|
|
30057
30165
|
//#endregion
|
|
30058
30166
|
//#region src/utils/calcTravelTime.ts
|
|
30059
|
-
function
|
|
30167
|
+
function vM(e, t) {
|
|
30060
30168
|
return Math.round(e / t);
|
|
30061
30169
|
}
|
|
30062
30170
|
//#endregion
|
|
30063
30171
|
//#region src/components/Map/drawing/config/route-snapping/splitRouteByPoint.ts
|
|
30064
|
-
function
|
|
30172
|
+
function yM(e, t) {
|
|
30065
30173
|
let n = 1e-6, r = -1, i = 0, a = Infinity;
|
|
30066
30174
|
for (let o = 0; o < e.length; o++) {
|
|
30067
30175
|
let s = e[o];
|
|
@@ -30103,11 +30211,11 @@ function dM(e, t) {
|
|
|
30103
30211
|
}
|
|
30104
30212
|
//#endregion
|
|
30105
30213
|
//#region src/components/Map/drawing/config/route-snapping/snapPositionToRoute.ts
|
|
30106
|
-
var
|
|
30107
|
-
function
|
|
30214
|
+
var bM = 7.5;
|
|
30215
|
+
function xM(e, t) {
|
|
30108
30216
|
return e.x >= t.x1 && e.x <= t.x2 && e.y >= t.y1 && e.y <= t.y2;
|
|
30109
30217
|
}
|
|
30110
|
-
function
|
|
30218
|
+
function SM(e, t) {
|
|
30111
30219
|
let n = 0;
|
|
30112
30220
|
for (let r of e) {
|
|
30113
30221
|
let e = Math.hypot(r.p1.x - r.p0.x, r.p1.y - r.p0.y);
|
|
@@ -30136,7 +30244,7 @@ function mM(e, t) {
|
|
|
30136
30244
|
line: r
|
|
30137
30245
|
};
|
|
30138
30246
|
}
|
|
30139
|
-
function
|
|
30247
|
+
function CM(e, t, n) {
|
|
30140
30248
|
let r = t.length;
|
|
30141
30249
|
if (!r) return { snapped: !1 };
|
|
30142
30250
|
let { snapThreshold: i, toPoint: a, minRemainingUnits: o = .5, fromPoint: s, fromRect: c, toRect: l } = n, u = e.z == null ? null : String(e.z), d = Infinity, f = null, p = 0, m = u == null;
|
|
@@ -30162,16 +30270,16 @@ function hM(e, t, n) {
|
|
|
30162
30270
|
x: e.x,
|
|
30163
30271
|
y: e.y
|
|
30164
30272
|
};
|
|
30165
|
-
if (c && s && (u == null || String(s.layer) === u) &&
|
|
30166
|
-
let e = h, n =
|
|
30273
|
+
if (c && s && (u == null || String(s.layer) === u) && xM(b, c)) {
|
|
30274
|
+
let e = h, n = SM(t, v ? e : h - e);
|
|
30167
30275
|
return {
|
|
30168
30276
|
snapped: !0,
|
|
30169
30277
|
snappedPoint: n.point,
|
|
30170
30278
|
snappedLine: n.line
|
|
30171
30279
|
};
|
|
30172
30280
|
}
|
|
30173
|
-
if (l && (u == null || String(a.layer) === u) &&
|
|
30174
|
-
let e = y, n = h - e, r =
|
|
30281
|
+
if (l && (u == null || String(a.layer) === u) && xM(b, l)) {
|
|
30282
|
+
let e = y, n = h - e, r = SM(t, v ? e : n);
|
|
30175
30283
|
return {
|
|
30176
30284
|
snapped: !0,
|
|
30177
30285
|
snappedPoint: r.point,
|
|
@@ -30181,7 +30289,7 @@ function hM(e, t, n) {
|
|
|
30181
30289
|
if (!f || d > i) return { snapped: !1 };
|
|
30182
30290
|
let x = v ? f.distanceFromPolylineStart : h - f.distanceFromPolylineStart;
|
|
30183
30291
|
x < y && (x = y);
|
|
30184
|
-
let S = h - x, C =
|
|
30292
|
+
let S = h - x, C = SM(t, v ? x : S);
|
|
30185
30293
|
return {
|
|
30186
30294
|
snapped: !0,
|
|
30187
30295
|
snappedPoint: C.point,
|
|
@@ -30190,16 +30298,16 @@ function hM(e, t, n) {
|
|
|
30190
30298
|
}
|
|
30191
30299
|
//#endregion
|
|
30192
30300
|
//#region src/components/Map/drawing/config/route-snapping/utils.ts
|
|
30193
|
-
function
|
|
30301
|
+
function wM(e, t) {
|
|
30194
30302
|
let n = Infinity;
|
|
30195
30303
|
for (let r of t) {
|
|
30196
30304
|
if (e.layer && (r.p0.layer !== e.layer || r.p1.layer !== e.layer)) continue;
|
|
30197
|
-
let t =
|
|
30305
|
+
let t = TM(e.x, e.y, r.p0.x, r.p0.y, r.p1.x, r.p1.y);
|
|
30198
30306
|
t < n && (n = t);
|
|
30199
30307
|
}
|
|
30200
30308
|
return n;
|
|
30201
30309
|
}
|
|
30202
|
-
function
|
|
30310
|
+
function TM(e, t, n, r, i, a) {
|
|
30203
30311
|
let o = i - n, s = a - r, c = e - n, l = t - r, u = o * o + s * s;
|
|
30204
30312
|
if (u === 0) return Math.hypot(e - n, t - r);
|
|
30205
30313
|
let d = (c * o + l * s) / u;
|
|
@@ -30207,8 +30315,8 @@ function _M(e, t, n, r, i, a) {
|
|
|
30207
30315
|
let f = n + d * o, p = r + d * s;
|
|
30208
30316
|
return Math.hypot(e - f, t - p);
|
|
30209
30317
|
}
|
|
30210
|
-
var
|
|
30211
|
-
function
|
|
30318
|
+
var EM = 20;
|
|
30319
|
+
function DM(e, t, n, r = EM) {
|
|
30212
30320
|
if (!e || !(t != null && t.length)) return null;
|
|
30213
30321
|
let i = e.z ? String(e.z) : null, a = r * r, o = /* @__PURE__ */ new Set();
|
|
30214
30322
|
n == null || n.forEach((e) => (e == null ? void 0 : e.id) && o.add(String(e.id)));
|
|
@@ -30236,21 +30344,21 @@ function yM(e, t, n, r = vM) {
|
|
|
30236
30344
|
}
|
|
30237
30345
|
return l;
|
|
30238
30346
|
}
|
|
30239
|
-
var
|
|
30347
|
+
var OM = 20, kM = (e) => {
|
|
30240
30348
|
if (typeof e == "number" && Number.isFinite(e)) return e;
|
|
30241
30349
|
};
|
|
30242
|
-
function
|
|
30243
|
-
let { p0: n, p2: r } = t, i =
|
|
30350
|
+
function AM(e, t) {
|
|
30351
|
+
let { p0: n, p2: r } = t, i = ZA(n.lat, n.lng, r.lat, r.lng), a = (0, Or.lineLength)(n, r);
|
|
30244
30352
|
return !i || !a ? 0 : a / i * e;
|
|
30245
30353
|
}
|
|
30246
|
-
function
|
|
30354
|
+
function jM({ thresholdInMeters: e, gpsConfig: t }) {
|
|
30247
30355
|
let n = 0;
|
|
30248
|
-
return e && t && (n =
|
|
30356
|
+
return e && t && (n = AM(e, t)), n || (n = OM), n;
|
|
30249
30357
|
}
|
|
30250
30358
|
//#endregion
|
|
30251
30359
|
//#region src/store/RouteStore.ts
|
|
30252
|
-
var
|
|
30253
|
-
function
|
|
30360
|
+
var MM, NM, PM, FM, IM, G, LM, RM, zM, BM, VM, HM, UM, WM, GM, KM, qM, JM, YM, XM, ZM, QM;
|
|
30361
|
+
function $M(e, t, n, r) {
|
|
30254
30362
|
n && Object.defineProperty(e, t, {
|
|
30255
30363
|
enumerable: n.enumerable,
|
|
30256
30364
|
configurable: n.configurable,
|
|
@@ -30258,7 +30366,7 @@ function GM(e, t, n, r) {
|
|
|
30258
30366
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
30259
30367
|
});
|
|
30260
30368
|
}
|
|
30261
|
-
function
|
|
30369
|
+
function eN(e, t, n, r, i) {
|
|
30262
30370
|
var a = {};
|
|
30263
30371
|
return Object.keys(r).forEach(function(e) {
|
|
30264
30372
|
a[e] = r[e];
|
|
@@ -30266,9 +30374,9 @@ function KM(e, t, n, r, i) {
|
|
|
30266
30374
|
return r(e, t, n) || n;
|
|
30267
30375
|
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
30268
30376
|
}
|
|
30269
|
-
var
|
|
30377
|
+
var tN = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, nN = (MM = j({ keepAlive: !0 }), NM = j({ keepAlive: !0 }), PM = j({ keepAlive: !0 }), FM = j({ keepAlive: !0 }), IM = j({ keepAlive: !0 }), G = class {
|
|
30270
30378
|
constructor(e) {
|
|
30271
|
-
this.rootStore = void 0, this.cpTimeout = void 0,
|
|
30379
|
+
this.rootStore = void 0, this.cpTimeout = void 0, $M(this, "routeLines", LM, this), $M(this, "routeDistance", RM, this), $M(this, "currentPosition", zM, this), $M(this, "requestCompass", BM, this), $M(this, "iconType", VM, this), $M(this, "tempToBooth", HM, this), $M(this, "defaultFrom", UM, this), $M(this, "focusEnabled", WM, this), $M(this, "prevZ", GM, this), $M(this, "markersData", KM, this), $M(this, "prevMarkers", qM, this), $M(this, "showAccessible", JM, this), $M(this, "onlyAccessible", YM, this), $M(this, "currentRouteLayer", XM, this), $M(this, "routeUnits", ZM, this), $M(this, "isGpsTrackingEnabled", QM, this), this.rootStore = e, this.focusEnabled = !window.location.search;
|
|
30272
30380
|
}
|
|
30273
30381
|
get canFindLocation() {
|
|
30274
30382
|
return !!this.defaultFrom || !!this.currentPosition;
|
|
@@ -30285,13 +30393,13 @@ var qM = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, JM = (wM
|
|
|
30285
30393
|
this.rootStore.showMap();
|
|
30286
30394
|
}, navigator.userAgent.toLowerCase().indexOf("android") > -1 ? 400 : 50), !(e == null || (n = e.from) == null) && n.visible && i.push(e.from), !(e == null || (r = e.to) == null) && r.visible && (this.tempToBooth = null, i.push(e.to)), !e && Q.fp.onDirection && Q.fp.onDirection(null), setTimeout(() => {
|
|
30287
30395
|
var n, r, a;
|
|
30288
|
-
this.rootStore.moveToList(i), $.details = e, e && (!e.from || !e.to) && Q.showOverlay(), e != null && e.to && !(e == null || (n = e.from) == null) && n.layer && this.rootStore.layerStore.updateVisibility(e.from.layer, !0), !this.currentRouteLayer && !(e == null || (r = e.from) == null) && r.layer && (this.currentRouteLayer = e == null || (a = e.from) == null ? void 0 : a.layer), t && e != null && e.from && e != null && e.to &&
|
|
30396
|
+
this.rootStore.moveToList(i), $.details = e, e && (!e.from || !e.to) && Q.showOverlay(), e != null && e.to && !(e == null || (n = e.from) == null) && n.layer && this.rootStore.layerStore.updateVisibility(e.from.layer, !0), !this.currentRouteLayer && !(e == null || (r = e.from) == null) && r.layer && (this.currentRouteLayer = e == null || (a = e.from) == null ? void 0 : a.layer), t && e != null && e.from && e != null && e.to && NP(DP.ClickDirections, `${e != null && e.from ? "From " + e.from.name : ""} ${e != null && e.to ? "To " + e.to.name : ""}`);
|
|
30289
30397
|
}, 200);
|
|
30290
30398
|
}
|
|
30291
30399
|
setStartPoint(e) {
|
|
30292
30400
|
let t = $.selectedRoute;
|
|
30293
30401
|
if (t != null && t.to && !(t != null && t.from) && e) {
|
|
30294
|
-
let n = new
|
|
30402
|
+
let n = new lN(e, t.to, t.waypoints);
|
|
30295
30403
|
this.selectRoute(n);
|
|
30296
30404
|
}
|
|
30297
30405
|
}
|
|
@@ -30307,7 +30415,7 @@ var qM = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, JM = (wM
|
|
|
30307
30415
|
}
|
|
30308
30416
|
getNearestBooth(e) {
|
|
30309
30417
|
if (!e) return null;
|
|
30310
|
-
let t = this.rootStore.layerStore.findLayer(e.z), n = e.lat && e.lng ?
|
|
30418
|
+
let t = this.rootStore.layerStore.findLayer(e.z), n = e.lat && e.lng ? ej(e, GA.properties.config) : e;
|
|
30311
30419
|
return this.rootStore.boothStore.booths.filter((n) => {
|
|
30312
30420
|
if ($R.mode === kk.Default || !t) return n.visible && n.rect;
|
|
30313
30421
|
var r;
|
|
@@ -30322,7 +30430,7 @@ var qM = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, JM = (wM
|
|
|
30322
30430
|
}
|
|
30323
30431
|
setMarkers(e) {
|
|
30324
30432
|
var t, n;
|
|
30325
|
-
this.markersData.markers = ((t = e == null ? void 0 : e.markers) == null ? [] : t).map(
|
|
30433
|
+
this.markersData.markers = ((t = e == null ? void 0 : e.markers) == null ? [] : t).map(rN), this.markersData.icons = (n = e == null ? void 0 : e.icons) == null ? [] : n;
|
|
30326
30434
|
}
|
|
30327
30435
|
selectMarker(e, t) {
|
|
30328
30436
|
let n = this.markersData.markers.find((t) => t.id === e);
|
|
@@ -30348,31 +30456,33 @@ var qM = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, JM = (wM
|
|
|
30348
30456
|
type: "search",
|
|
30349
30457
|
text: "",
|
|
30350
30458
|
focused: !1
|
|
30351
|
-
}), this.selectRoute(new
|
|
30459
|
+
}), this.selectRoute(new lN(this.defaultFrom || e, t));
|
|
30352
30460
|
}
|
|
30353
30461
|
selectCurrentPosition(e, t = !0, n) {
|
|
30354
|
-
var r, i, a, o;
|
|
30355
|
-
clearTimeout(this.cpTimeout), e && (e.x =
|
|
30356
|
-
let
|
|
30357
|
-
|
|
30462
|
+
var r, i, a, o, s;
|
|
30463
|
+
clearTimeout(this.cpTimeout), e && (e.x = tN(e.x), e.y = tN(e.y), e.lat = tN(e.lat), e.lng = tN(e.lng), hk() || (e.z = null));
|
|
30464
|
+
let c = t && this.rootStore.uiState.details && !(this.rootStore.uiState.details instanceof lN), u = t && !c && (this.focusEnabled || this.prevZ != (e == null ? void 0 : e.z));
|
|
30465
|
+
this.focusEnabled && (this.focusEnabled = !1), this.prevZ = e == null || (r = e.z) == null ? void 0 : r.toString(), this.iconType = +!!n;
|
|
30466
|
+
let d = e ? iN(e) : null;
|
|
30467
|
+
if (!d) {
|
|
30358
30468
|
this.currentPosition = null;
|
|
30359
30469
|
return;
|
|
30360
30470
|
}
|
|
30361
|
-
let
|
|
30362
|
-
if (
|
|
30471
|
+
let f = Q.layerStore.findLayer(e.z), p = new uN(d.x, d.y, (f == null ? void 0 : f.name) || ((i = this.currentRouteLayer) == null ? void 0 : i.name), rj(d), e.lat, e.lng), m = $.selectedRoute, h = !((a = this.routeLines) != null && a.length);
|
|
30472
|
+
if (f && (o = this.routeLines) != null && o.length && (h = !!this.routeLines.find((e) => e.p0.layer === f.name || e.p1.layer === f.name)), u && h) {
|
|
30363
30473
|
let e = Q.rendererService.renderer;
|
|
30364
|
-
if (
|
|
30474
|
+
if (f && !(f != null && f.visible) && $R.updateVisibility(f, !0), !e) {
|
|
30365
30475
|
l.warn("Renderer is not initialized. Cannot pan to current position.");
|
|
30366
30476
|
return;
|
|
30367
30477
|
}
|
|
30368
|
-
e.controls.panTo(
|
|
30478
|
+
e.controls.panTo(p.x, p.y);
|
|
30369
30479
|
}
|
|
30370
|
-
let
|
|
30371
|
-
if (
|
|
30372
|
-
let e = Q.routeStore.getNearestBooth(
|
|
30373
|
-
Q.routeStore.selectRoute(new
|
|
30480
|
+
let g = (GA == null || (s = GA.properties) == null || (s = s.config) == null ? void 0 : s.enableExperimentalRerouting) && dN(p, this.routeLines) && !!DM(p, QR.booths, [m == null ? void 0 : m.to]);
|
|
30481
|
+
if (t && m && g) {
|
|
30482
|
+
let e = Q.routeStore.getNearestBooth(p);
|
|
30483
|
+
Q.routeStore.selectRoute(new lN(e, m == null ? void 0 : m.to), !1);
|
|
30374
30484
|
}
|
|
30375
|
-
this.currentPosition =
|
|
30485
|
+
this.currentPosition = p, this.gpsEnabled || (this.cpTimeout = setTimeout(() => {
|
|
30376
30486
|
this.currentPosition && this.selectCurrentPosition(null, !1);
|
|
30377
30487
|
}, 30 * 1e3));
|
|
30378
30488
|
}
|
|
@@ -30384,11 +30494,15 @@ var qM = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, JM = (wM
|
|
|
30384
30494
|
}
|
|
30385
30495
|
if (Q.routeStore.currentPosition) {
|
|
30386
30496
|
var e;
|
|
30387
|
-
let t = Q.routeStore.currentPosition, n = Yn.fromCxcywh(t.x, t.y, 100, 100);
|
|
30388
|
-
if (
|
|
30389
|
-
|
|
30390
|
-
|
|
30391
|
-
|
|
30497
|
+
let t = Q.routeStore.currentPosition, n = Yn.fromCxcywh(t.x, t.y, 100, 100), r;
|
|
30498
|
+
if (n.intersects(lr)) r = n;
|
|
30499
|
+
else {
|
|
30500
|
+
let e = Math.max(lr.x1, Math.min(t.x, lr.x2)), i = Math.max(lr.y1, Math.min(t.y, lr.y2)), a = Math.min(lr.w, lr.h) * .3, o = Yn.fromCxcywh(e, i, a, a).getIntersection(lr);
|
|
30501
|
+
r = Yn.fromMultiple([n, o]);
|
|
30502
|
+
}
|
|
30503
|
+
localStorage.getItem("efp-compass-permission-granted") === "false" && (Q.routeStore.requestCompass = !0), $.moveToRect = r;
|
|
30504
|
+
let i = Q.layerStore.findLayer((e = Q.routeStore.currentPosition) == null ? void 0 : e.z);
|
|
30505
|
+
i && $R.updateVisibility(i, !0);
|
|
30392
30506
|
} else Q.selectBooth(Q.routeStore.defaultFrom);
|
|
30393
30507
|
}
|
|
30394
30508
|
}
|
|
@@ -30397,7 +30511,7 @@ var qM = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, JM = (wM
|
|
|
30397
30511
|
return e ? {
|
|
30398
30512
|
distance: `${e}${t}`,
|
|
30399
30513
|
units: t,
|
|
30400
|
-
time:
|
|
30514
|
+
time: vM(e, _M(t))
|
|
30401
30515
|
} : null;
|
|
30402
30516
|
}
|
|
30403
30517
|
updateRoute(e, t) {
|
|
@@ -30435,7 +30549,7 @@ var qM = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, JM = (wM
|
|
|
30435
30549
|
lines: this.routeLines,
|
|
30436
30550
|
distance: `${t}${n}`,
|
|
30437
30551
|
units: n,
|
|
30438
|
-
time:
|
|
30552
|
+
time: vM(t, _M(n))
|
|
30439
30553
|
});
|
|
30440
30554
|
}, 200);
|
|
30441
30555
|
}
|
|
@@ -30446,7 +30560,7 @@ var qM = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, JM = (wM
|
|
|
30446
30560
|
let n = e[t];
|
|
30447
30561
|
for (let r = t + 1; r < e.length; r++) {
|
|
30448
30562
|
let t = e[r];
|
|
30449
|
-
|
|
30563
|
+
tM(mM, fM(n), fM(t)).length || console.warn(`No route found from ${n.name} to ${t.name}`);
|
|
30450
30564
|
}
|
|
30451
30565
|
}
|
|
30452
30566
|
console.info("Route check done....");
|
|
@@ -30460,70 +30574,70 @@ var qM = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, JM = (wM
|
|
|
30460
30574
|
setOnlyAccessible(e) {
|
|
30461
30575
|
this.onlyAccessible = e;
|
|
30462
30576
|
}
|
|
30463
|
-
},
|
|
30577
|
+
}, LM = eN(G.prototype, "routeLines", [F], {
|
|
30464
30578
|
configurable: !0,
|
|
30465
30579
|
enumerable: !0,
|
|
30466
30580
|
writable: !0,
|
|
30467
30581
|
initializer: function() {
|
|
30468
30582
|
return [];
|
|
30469
30583
|
}
|
|
30470
|
-
}),
|
|
30584
|
+
}), RM = eN(G.prototype, "routeDistance", [F], {
|
|
30471
30585
|
configurable: !0,
|
|
30472
30586
|
enumerable: !0,
|
|
30473
30587
|
writable: !0,
|
|
30474
30588
|
initializer: function() {
|
|
30475
30589
|
return null;
|
|
30476
30590
|
}
|
|
30477
|
-
}),
|
|
30591
|
+
}), zM = eN(G.prototype, "currentPosition", [F], {
|
|
30478
30592
|
configurable: !0,
|
|
30479
30593
|
enumerable: !0,
|
|
30480
30594
|
writable: !0,
|
|
30481
30595
|
initializer: function() {
|
|
30482
30596
|
return null;
|
|
30483
30597
|
}
|
|
30484
|
-
}),
|
|
30598
|
+
}), BM = eN(G.prototype, "requestCompass", [F], {
|
|
30485
30599
|
configurable: !0,
|
|
30486
30600
|
enumerable: !0,
|
|
30487
30601
|
writable: !0,
|
|
30488
30602
|
initializer: function() {
|
|
30489
30603
|
return !1;
|
|
30490
30604
|
}
|
|
30491
|
-
}),
|
|
30605
|
+
}), VM = eN(G.prototype, "iconType", [F], {
|
|
30492
30606
|
configurable: !0,
|
|
30493
30607
|
enumerable: !0,
|
|
30494
30608
|
writable: !0,
|
|
30495
30609
|
initializer: function() {
|
|
30496
30610
|
return 0;
|
|
30497
30611
|
}
|
|
30498
|
-
}),
|
|
30612
|
+
}), HM = eN(G.prototype, "tempToBooth", [F], {
|
|
30499
30613
|
configurable: !0,
|
|
30500
30614
|
enumerable: !0,
|
|
30501
30615
|
writable: !0,
|
|
30502
30616
|
initializer: function() {
|
|
30503
30617
|
return null;
|
|
30504
30618
|
}
|
|
30505
|
-
}),
|
|
30619
|
+
}), UM = eN(G.prototype, "defaultFrom", [F], {
|
|
30506
30620
|
configurable: !0,
|
|
30507
30621
|
enumerable: !0,
|
|
30508
30622
|
writable: !0,
|
|
30509
30623
|
initializer: function() {
|
|
30510
30624
|
return null;
|
|
30511
30625
|
}
|
|
30512
|
-
}),
|
|
30626
|
+
}), WM = eN(G.prototype, "focusEnabled", [F], {
|
|
30513
30627
|
configurable: !0,
|
|
30514
30628
|
enumerable: !0,
|
|
30515
30629
|
writable: !0,
|
|
30516
30630
|
initializer: function() {
|
|
30517
30631
|
return !0;
|
|
30518
30632
|
}
|
|
30519
|
-
}),
|
|
30633
|
+
}), GM = eN(G.prototype, "prevZ", [F], {
|
|
30520
30634
|
configurable: !0,
|
|
30521
30635
|
enumerable: !0,
|
|
30522
30636
|
writable: !0,
|
|
30523
30637
|
initializer: function() {
|
|
30524
30638
|
return null;
|
|
30525
30639
|
}
|
|
30526
|
-
}),
|
|
30640
|
+
}), KM = eN(G.prototype, "markersData", [F], {
|
|
30527
30641
|
configurable: !0,
|
|
30528
30642
|
enumerable: !0,
|
|
30529
30643
|
writable: !0,
|
|
@@ -30533,67 +30647,67 @@ var qM = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, JM = (wM
|
|
|
30533
30647
|
markers: []
|
|
30534
30648
|
};
|
|
30535
30649
|
}
|
|
30536
|
-
}),
|
|
30650
|
+
}), qM = eN(G.prototype, "prevMarkers", [F], {
|
|
30537
30651
|
configurable: !0,
|
|
30538
30652
|
enumerable: !0,
|
|
30539
30653
|
writable: !0,
|
|
30540
30654
|
initializer: function() {
|
|
30541
30655
|
return [];
|
|
30542
30656
|
}
|
|
30543
|
-
}),
|
|
30657
|
+
}), JM = eN(G.prototype, "showAccessible", [F], {
|
|
30544
30658
|
configurable: !0,
|
|
30545
30659
|
enumerable: !0,
|
|
30546
30660
|
writable: !0,
|
|
30547
30661
|
initializer: function() {
|
|
30548
|
-
return !!
|
|
30662
|
+
return !!mM.getLines().find((e) => e.unaccessible);
|
|
30549
30663
|
}
|
|
30550
|
-
}),
|
|
30664
|
+
}), YM = eN(G.prototype, "onlyAccessible", [F], {
|
|
30551
30665
|
configurable: !0,
|
|
30552
30666
|
enumerable: !0,
|
|
30553
30667
|
writable: !0,
|
|
30554
30668
|
initializer: function() {
|
|
30555
30669
|
return !1;
|
|
30556
30670
|
}
|
|
30557
|
-
}),
|
|
30671
|
+
}), XM = eN(G.prototype, "currentRouteLayer", [F], {
|
|
30558
30672
|
configurable: !0,
|
|
30559
30673
|
enumerable: !0,
|
|
30560
30674
|
writable: !0,
|
|
30561
30675
|
initializer: function() {
|
|
30562
30676
|
return null;
|
|
30563
30677
|
}
|
|
30564
|
-
}),
|
|
30678
|
+
}), eN(G.prototype, "canFindLocation", [j], Object.getOwnPropertyDescriptor(G.prototype, "canFindLocation"), G.prototype), eN(G.prototype, "selectRoute", [M], Object.getOwnPropertyDescriptor(G.prototype, "selectRoute"), G.prototype), eN(G.prototype, "setStartPoint", [M], Object.getOwnPropertyDescriptor(G.prototype, "setStartPoint"), G.prototype), eN(G.prototype, "pathLayers", [MM], Object.getOwnPropertyDescriptor(G.prototype, "pathLayers"), G.prototype), eN(G.prototype, "nearestBooth", [NM], Object.getOwnPropertyDescriptor(G.prototype, "nearestBooth"), G.prototype), eN(G.prototype, "setMarkers", [M], Object.getOwnPropertyDescriptor(G.prototype, "setMarkers"), G.prototype), eN(G.prototype, "selectMarker", [M], Object.getOwnPropertyDescriptor(G.prototype, "selectMarker"), G.prototype), eN(G.prototype, "selectedMarkers", [PM], Object.getOwnPropertyDescriptor(G.prototype, "selectedMarkers"), G.prototype), eN(G.prototype, "layers", [FM], Object.getOwnPropertyDescriptor(G.prototype, "layers"), G.prototype), eN(G.prototype, "clickRoute", [M], Object.getOwnPropertyDescriptor(G.prototype, "clickRoute"), G.prototype), eN(G.prototype, "selectCurrentPosition", [M], Object.getOwnPropertyDescriptor(G.prototype, "selectCurrentPosition"), G.prototype), eN(G.prototype, "findLocation", [M], Object.getOwnPropertyDescriptor(G.prototype, "findLocation"), G.prototype), ZM = eN(G.prototype, "routeUnits", [F], {
|
|
30565
30679
|
configurable: !0,
|
|
30566
30680
|
enumerable: !0,
|
|
30567
30681
|
writable: !0,
|
|
30568
30682
|
initializer: function() {
|
|
30569
30683
|
return "ft";
|
|
30570
30684
|
}
|
|
30571
|
-
}),
|
|
30685
|
+
}), eN(G.prototype, "routeInfo", [j], Object.getOwnPropertyDescriptor(G.prototype, "routeInfo"), G.prototype), eN(G.prototype, "updateRoute", [M], Object.getOwnPropertyDescriptor(G.prototype, "updateRoute"), G.prototype), eN(G.prototype, "updateRouteDistance", [M], Object.getOwnPropertyDescriptor(G.prototype, "updateRouteDistance"), G.prototype), eN(G.prototype, "updateRoutePoints", [M], Object.getOwnPropertyDescriptor(G.prototype, "updateRoutePoints"), G.prototype), eN(G.prototype, "checkRoutes", [M], Object.getOwnPropertyDescriptor(G.prototype, "checkRoutes"), G.prototype), QM = eN(G.prototype, "isGpsTrackingEnabled", [F], {
|
|
30572
30686
|
configurable: !0,
|
|
30573
30687
|
enumerable: !0,
|
|
30574
30688
|
writable: !0,
|
|
30575
30689
|
initializer: function() {
|
|
30576
30690
|
return !0;
|
|
30577
30691
|
}
|
|
30578
|
-
}),
|
|
30579
|
-
function
|
|
30692
|
+
}), eN(G.prototype, "setGpsTrackingEnabled", [M], Object.getOwnPropertyDescriptor(G.prototype, "setGpsTrackingEnabled"), G.prototype), eN(G.prototype, "gpsEnabled", [IM], Object.getOwnPropertyDescriptor(G.prototype, "gpsEnabled"), G.prototype), eN(G.prototype, "setOnlyAccessible", [M], Object.getOwnPropertyDescriptor(G.prototype, "setOnlyAccessible"), G.prototype), G);
|
|
30693
|
+
function rN(e) {
|
|
30580
30694
|
return {
|
|
30581
30695
|
...e,
|
|
30582
|
-
x:
|
|
30583
|
-
y:
|
|
30584
|
-
lat:
|
|
30585
|
-
lng:
|
|
30696
|
+
x: tN(e.x),
|
|
30697
|
+
y: tN(e.y),
|
|
30698
|
+
lat: tN(e.lat),
|
|
30699
|
+
lng: tN(e.lng)
|
|
30586
30700
|
};
|
|
30587
30701
|
}
|
|
30588
|
-
function
|
|
30702
|
+
function iN(e) {
|
|
30589
30703
|
let t = null, n = null;
|
|
30590
|
-
return
|
|
30704
|
+
return GA && (t = GA.properties.config), t && e.x >= t.p0.x && e.x <= t.p2.x && e.y >= t.p0.y && e.y <= t.p2.y ? n = { ...e } : t && $A(e.lat) && $A(e.lng) ? n = ej(e, t) : t || (n = e), n || null;
|
|
30591
30705
|
}
|
|
30592
|
-
function
|
|
30706
|
+
function aN(e) {
|
|
30593
30707
|
var t;
|
|
30594
30708
|
return Q.boothStore.findBooth(e) || ((t = Q.exhibitorStore.findExhibitor(e)) == null ? void 0 : t.booths[0]);
|
|
30595
30709
|
}
|
|
30596
|
-
function
|
|
30710
|
+
function oN(e) {
|
|
30597
30711
|
let t = Q.boothStore.boothByExternalId.get(e);
|
|
30598
30712
|
if (t) return {
|
|
30599
30713
|
type: "booth",
|
|
@@ -30605,10 +30719,10 @@ function QM(e) {
|
|
|
30605
30719
|
entity: n
|
|
30606
30720
|
};
|
|
30607
30721
|
}
|
|
30608
|
-
function
|
|
30722
|
+
function sN(e) {
|
|
30609
30723
|
let t = [], n = [];
|
|
30610
30724
|
for (let r of e) {
|
|
30611
|
-
let e =
|
|
30725
|
+
let e = oN(r);
|
|
30612
30726
|
e && (e.type === "booth" ? t.push(r) : n.push(r));
|
|
30613
30727
|
}
|
|
30614
30728
|
return {
|
|
@@ -30616,22 +30730,22 @@ function $M(e) {
|
|
|
30616
30730
|
exhibitorExternalIds: n
|
|
30617
30731
|
};
|
|
30618
30732
|
}
|
|
30619
|
-
function
|
|
30733
|
+
function cN(e, t, n) {
|
|
30620
30734
|
var r, i;
|
|
30621
|
-
return new
|
|
30735
|
+
return new lN((r = (i = aN(e)) == null ? Q.routeStore.defaultFrom : i) == null ? null : r, aN(t), n == null ? void 0 : n.map((e) => aN(e)));
|
|
30622
30736
|
}
|
|
30623
|
-
var
|
|
30737
|
+
var lN = class {
|
|
30624
30738
|
constructor(e, t, n) {
|
|
30625
30739
|
this.from = e, this.to = t, this.waypoints = n, this.waypoints = n == null ? void 0 : n.filter((n) => n && n.id !== (e == null ? void 0 : e.id) && n.id !== (t == null ? void 0 : t.id));
|
|
30626
30740
|
}
|
|
30627
|
-
},
|
|
30741
|
+
}, uN = class extends Or.Point {
|
|
30628
30742
|
constructor(e, t, n, r, i, a) {
|
|
30629
30743
|
super(e, t), this.x = e, this.y = t, this.z = n, this.angle = r, this.lat = i, this.lng = a;
|
|
30630
30744
|
}
|
|
30631
30745
|
};
|
|
30632
|
-
function
|
|
30746
|
+
function dN(e, t, n = 10) {
|
|
30633
30747
|
if (!e || !(t != null && t.length)) return !1;
|
|
30634
|
-
let r =
|
|
30748
|
+
let r = wM({
|
|
30635
30749
|
layer: e.z ? String(e.z) : void 0,
|
|
30636
30750
|
x: e.x,
|
|
30637
30751
|
y: e.y
|
|
@@ -30640,7 +30754,7 @@ function rN(e, t, n = 10) {
|
|
|
30640
30754
|
}
|
|
30641
30755
|
//#endregion
|
|
30642
30756
|
//#region src/utils/getMostFrequent.ts
|
|
30643
|
-
function
|
|
30757
|
+
function fN(e) {
|
|
30644
30758
|
let t = {}, n = 0, r;
|
|
30645
30759
|
return e.forEach((e) => {
|
|
30646
30760
|
t[e] = (t[e] || 0) + 1, t[e] > n && (n = t[e], r = e);
|
|
@@ -30648,14 +30762,14 @@ function iN(e) {
|
|
|
30648
30762
|
}
|
|
30649
30763
|
//#endregion
|
|
30650
30764
|
//#region src/RouteCutIn.ts
|
|
30651
|
-
var
|
|
30765
|
+
var pN = class extends Qr {
|
|
30652
30766
|
constructor(e, t, n, r, i = {}) {
|
|
30653
30767
|
super(), this.id = e, this.name = t, this.destination = n, this.slug = r, this.meta = i, this.store = Q.boothStore, this.exhibitors = [], this.paths = [], this.routePoint = void 0, this.rect = Yn.fromCxcywh(0, 0, 0, 0), this.entity = { type: "route-cut-in" }, this.layer = Q.layerStore.findLayer(n.layer), this.routePoint = this.findClosestRoutePoint();
|
|
30654
30768
|
let a = this.findClosestLineEnd(this.routePoint);
|
|
30655
30769
|
a && (this.rect = Yn.fromCxcywh(a.x, a.y, 1, 1)), Object.freeze(this);
|
|
30656
30770
|
}
|
|
30657
30771
|
findClosestRoutePoint() {
|
|
30658
|
-
let e =
|
|
30772
|
+
let e = mM.getLines(), t = hk() ? e.filter((e) => e.p0.layer === this.destination.layer && e.p1.layer === this.destination.layer) : e;
|
|
30659
30773
|
if (!(t != null && t.length)) return null;
|
|
30660
30774
|
let n = Infinity, r = null;
|
|
30661
30775
|
return t.forEach((e) => {
|
|
@@ -30685,7 +30799,7 @@ var aN = class extends Qr {
|
|
|
30685
30799
|
}
|
|
30686
30800
|
findClosestLineEnd(e) {
|
|
30687
30801
|
if (!e) return null;
|
|
30688
|
-
let t =
|
|
30802
|
+
let t = mM.getLineEnds(), n = hk() ? t.filter((t) => t.layer === e.layer) : t, r = null, i = Infinity;
|
|
30689
30803
|
function a(e, t, n, r) {
|
|
30690
30804
|
return Math.sqrt((n - e) ** 2 + (r - t) ** 2);
|
|
30691
30805
|
}
|
|
@@ -30697,7 +30811,7 @@ var aN = class extends Qr {
|
|
|
30697
30811
|
};
|
|
30698
30812
|
//#endregion
|
|
30699
30813
|
//#region src/components/Kiosk/SetKiosk/FormInput/RangeInput.tsx
|
|
30700
|
-
function
|
|
30814
|
+
function mN({ value: e, name: t, min: n, max: r, step: i, onChange: a, isDisabled: o, symbol: s }) {
|
|
30701
30815
|
let c = () => a(Math.min(e + i, r)), l = () => a(Math.max(e - i, n)), u = 0;
|
|
30702
30816
|
r !== n && (u = (e - n) / (r - n) * 100);
|
|
30703
30817
|
let d = "-50%";
|
|
@@ -30763,7 +30877,7 @@ function oN({ value: e, name: t, min: n, max: r, step: i, onChange: a, isDisable
|
|
|
30763
30877
|
}
|
|
30764
30878
|
//#endregion
|
|
30765
30879
|
//#region src/components/Button.tsx
|
|
30766
|
-
var
|
|
30880
|
+
var hN = /* @__PURE__ */ e(be(), 1), gN = (e) => {
|
|
30767
30881
|
let t = e.split(/(#\d+#)/), n = e.match(/#(\d+)#/), r = n ? n[1] : null;
|
|
30768
30882
|
return {
|
|
30769
30883
|
content: t.map((e, t) => e.match(/#\d+#/) ? /* @__PURE__ */ (0, z.jsx)("div", {
|
|
@@ -30772,11 +30886,11 @@ var sN = /* @__PURE__ */ e(be(), 1), cN = (e) => {
|
|
|
30772
30886
|
}, t) : /* @__PURE__ */ (0, z.jsx)("span", { children: e }, t)),
|
|
30773
30887
|
hasBadge: !!r
|
|
30774
30888
|
};
|
|
30775
|
-
},
|
|
30776
|
-
let p = e == null ? n : e, { content: m, hasBadge: h } = u && typeof p == "string" ?
|
|
30889
|
+
}, _N = ({ children: e, inline: t = !1, text: n, link: r, target: i = "_self", disabled: a = !1, variant: o = "primary", size: s = "lg", ariaLabel: c, title: l, withBadge: u = !1, round: d, onClick: f }) => {
|
|
30890
|
+
let p = e == null ? n : e, { content: m, hasBadge: h } = u && typeof p == "string" ? gN(p) : {
|
|
30777
30891
|
content: p,
|
|
30778
30892
|
hasBadge: !1
|
|
30779
|
-
}, g = (0,
|
|
30893
|
+
}, g = (0, hN.default)("efp-button", `efp-button--${o}`, `efp-button--${s}`, {
|
|
30780
30894
|
"efp-button--inline": t,
|
|
30781
30895
|
"is-disabled": a,
|
|
30782
30896
|
"efp-button--round": d
|
|
@@ -30805,7 +30919,7 @@ var sN = /* @__PURE__ */ e(be(), 1), cN = (e) => {
|
|
|
30805
30919
|
};
|
|
30806
30920
|
//#endregion
|
|
30807
30921
|
//#region src/components/Kiosk/SetKiosk/SetKioskForm.tsx
|
|
30808
|
-
function
|
|
30922
|
+
function vN({ onSave: e, onDelete: t, isSaveDisabled: n, isDeleteDisabled: r, areControlsDisabled: i, angle: a, onRotateIcon: o, uiScale: s, minUiScale: c, maxUiScale: l, uiScaleStep: u, onUiScaleChange: d, iconSizePercent: f, onChangeIconSizePercent: p }) {
|
|
30809
30923
|
return /* @__PURE__ */ (0, z.jsx)("div", {
|
|
30810
30924
|
className: "efp-set-kiosk-form",
|
|
30811
30925
|
children: /* @__PURE__ */ (0, z.jsxs)("div", {
|
|
@@ -30813,7 +30927,7 @@ function uN({ onSave: e, onDelete: t, isSaveDisabled: n, isDeleteDisabled: r, ar
|
|
|
30813
30927
|
children: [/* @__PURE__ */ (0, z.jsxs)("div", {
|
|
30814
30928
|
className: "efp-set-kiosk-form__inputs",
|
|
30815
30929
|
children: [
|
|
30816
|
-
/* @__PURE__ */ (0, z.jsx)(
|
|
30930
|
+
/* @__PURE__ */ (0, z.jsx)(mN, {
|
|
30817
30931
|
value: a,
|
|
30818
30932
|
name: P("Icon rotation"),
|
|
30819
30933
|
min: 0,
|
|
@@ -30823,7 +30937,7 @@ function uN({ onSave: e, onDelete: t, isSaveDisabled: n, isDeleteDisabled: r, ar
|
|
|
30823
30937
|
isDisabled: i,
|
|
30824
30938
|
onChange: o
|
|
30825
30939
|
}),
|
|
30826
|
-
/* @__PURE__ */ (0, z.jsx)(
|
|
30940
|
+
/* @__PURE__ */ (0, z.jsx)(mN, {
|
|
30827
30941
|
value: f,
|
|
30828
30942
|
name: P("Icon size"),
|
|
30829
30943
|
min: 100,
|
|
@@ -30833,7 +30947,7 @@ function uN({ onSave: e, onDelete: t, isSaveDisabled: n, isDeleteDisabled: r, ar
|
|
|
30833
30947
|
isDisabled: i,
|
|
30834
30948
|
onChange: p
|
|
30835
30949
|
}),
|
|
30836
|
-
/* @__PURE__ */ (0, z.jsx)(
|
|
30950
|
+
/* @__PURE__ */ (0, z.jsx)(mN, {
|
|
30837
30951
|
value: Math.round(s * 100),
|
|
30838
30952
|
name: P("UI scale"),
|
|
30839
30953
|
min: c * 100,
|
|
@@ -30846,13 +30960,13 @@ function uN({ onSave: e, onDelete: t, isSaveDisabled: n, isDeleteDisabled: r, ar
|
|
|
30846
30960
|
]
|
|
30847
30961
|
}), /* @__PURE__ */ (0, z.jsxs)("div", {
|
|
30848
30962
|
className: "efp-set-kiosk-form__controls",
|
|
30849
|
-
children: [/* @__PURE__ */ (0, z.jsx)(
|
|
30963
|
+
children: [/* @__PURE__ */ (0, z.jsx)(_N, {
|
|
30850
30964
|
size: "md",
|
|
30851
30965
|
variant: "gray",
|
|
30852
30966
|
text: P("Delete kiosk"),
|
|
30853
30967
|
onClick: t,
|
|
30854
30968
|
disabled: r
|
|
30855
|
-
}), /* @__PURE__ */ (0, z.jsx)(
|
|
30969
|
+
}), /* @__PURE__ */ (0, z.jsx)(_N, {
|
|
30856
30970
|
size: "md",
|
|
30857
30971
|
variant: "primary",
|
|
30858
30972
|
text: P("Save"),
|
|
@@ -30865,7 +30979,7 @@ function uN({ onSave: e, onDelete: t, isSaveDisabled: n, isDeleteDisabled: r, ar
|
|
|
30865
30979
|
}
|
|
30866
30980
|
//#endregion
|
|
30867
30981
|
//#region src/components/Kiosk/SetKiosk/Message/InfoMessage.tsx
|
|
30868
|
-
function
|
|
30982
|
+
function yN({ list: e }) {
|
|
30869
30983
|
return e != null && e.length ? /* @__PURE__ */ (0, z.jsx)("div", {
|
|
30870
30984
|
className: "efp-info-message",
|
|
30871
30985
|
children: e.map(({ id: e, image: t, content: n }) => /* @__PURE__ */ (0, z.jsxs)("div", {
|
|
@@ -30882,7 +30996,7 @@ function dN({ list: e }) {
|
|
|
30882
30996
|
}
|
|
30883
30997
|
//#endregion
|
|
30884
30998
|
//#region src/components/Draggable.tsx
|
|
30885
|
-
var
|
|
30999
|
+
var bN = ({ children: e, className: t, translate: n }) => {
|
|
30886
31000
|
let [r, i] = (0, xe.useState)({
|
|
30887
31001
|
x: 0,
|
|
30888
31002
|
y: 0
|
|
@@ -30948,7 +31062,7 @@ var fN = ({ children: e, className: t, translate: n }) => {
|
|
|
30948
31062
|
};
|
|
30949
31063
|
//#endregion
|
|
30950
31064
|
//#region src/components/Kiosk/SetKiosk/Confirm/ConfirmDialog.tsx
|
|
30951
|
-
function
|
|
31065
|
+
function xN({ isDisabled: e, content: t, confirmLabel: n, cancelLabel: r, onConfirm: i, onCancel: a, confirmVariant: o, cancelVariant: s }) {
|
|
30952
31066
|
return /* @__PURE__ */ (0, z.jsxs)("div", {
|
|
30953
31067
|
className: "efp-confirm-dialog",
|
|
30954
31068
|
children: [t && /* @__PURE__ */ (0, z.jsx)("div", {
|
|
@@ -30956,13 +31070,13 @@ function pN({ isDisabled: e, content: t, confirmLabel: n, cancelLabel: r, onConf
|
|
|
30956
31070
|
children: t
|
|
30957
31071
|
}), /* @__PURE__ */ (0, z.jsxs)("div", {
|
|
30958
31072
|
className: "efp-confirm-dialog__controls",
|
|
30959
|
-
children: [/* @__PURE__ */ (0, z.jsx)(
|
|
31073
|
+
children: [/* @__PURE__ */ (0, z.jsx)(_N, {
|
|
30960
31074
|
size: "md",
|
|
30961
31075
|
text: n,
|
|
30962
31076
|
onClick: i,
|
|
30963
31077
|
disabled: e,
|
|
30964
31078
|
variant: o
|
|
30965
|
-
}), a && /* @__PURE__ */ (0, z.jsx)(
|
|
31079
|
+
}), a && /* @__PURE__ */ (0, z.jsx)(_N, {
|
|
30966
31080
|
size: "md",
|
|
30967
31081
|
text: r,
|
|
30968
31082
|
variant: s,
|
|
@@ -30974,13 +31088,13 @@ function pN({ isDisabled: e, content: t, confirmLabel: n, cancelLabel: r, onConf
|
|
|
30974
31088
|
}
|
|
30975
31089
|
//#endregion
|
|
30976
31090
|
//#region src/components/Kiosk/SetKiosk/SetKioskStatusMessages.tsx
|
|
30977
|
-
function
|
|
31091
|
+
function SN({ messages: e }) {
|
|
30978
31092
|
return e != null && e.length ? /* @__PURE__ */ (0, z.jsx)("div", {
|
|
30979
31093
|
className: "efp-status-messages",
|
|
30980
31094
|
children: e.map(({ id: e, variant: t, title: n }) => {
|
|
30981
31095
|
let r = t === "success", i = t === "error";
|
|
30982
31096
|
return /* @__PURE__ */ (0, z.jsxs)("div", {
|
|
30983
|
-
className: (0,
|
|
31097
|
+
className: (0, hN.default)("efp-status-messages__message", {
|
|
30984
31098
|
"efp-status-messages__message--success": r,
|
|
30985
31099
|
"efp-status-messages__message--error": i
|
|
30986
31100
|
}),
|
|
@@ -30995,9 +31109,9 @@ function mN({ messages: e }) {
|
|
|
30995
31109
|
}
|
|
30996
31110
|
//#endregion
|
|
30997
31111
|
//#region src/components/Kiosk/SetKiosk/SetKioskComponent.tsx
|
|
30998
|
-
function
|
|
31112
|
+
function CN({ isSaveDisabled: e, isDeleteDisabled: t, areControlsDisabled: n, confirmOnClose: r, angle: i, uiScale: a, minUiScale: o, maxUiScale: s, uiScaleStep: c, iconSizePercent: l, isInfoVisible: u, statusMessages: d, onClose: f, onDelete: p, onSave: m, onChange: h }) {
|
|
30999
31113
|
let [g, _] = (0, xe.useState)(null);
|
|
31000
|
-
return /* @__PURE__ */ (0, z.jsxs)(
|
|
31114
|
+
return /* @__PURE__ */ (0, z.jsxs)(bN, {
|
|
31001
31115
|
className: "efp-set-kiosk-mode",
|
|
31002
31116
|
translate: {
|
|
31003
31117
|
x: window.innerWidth / 2,
|
|
@@ -31043,8 +31157,8 @@ function hN({ isSaveDisabled: e, isDeleteDisabled: t, areControlsDisabled: n, co
|
|
|
31043
31157
|
})
|
|
31044
31158
|
]
|
|
31045
31159
|
}),
|
|
31046
|
-
!g && /* @__PURE__ */ (0, z.jsx)(
|
|
31047
|
-
u ? /* @__PURE__ */ (0, z.jsx)(
|
|
31160
|
+
!g && /* @__PURE__ */ (0, z.jsx)(SN, { messages: d }),
|
|
31161
|
+
u ? /* @__PURE__ */ (0, z.jsx)(yN, { list: [{
|
|
31048
31162
|
id: "1",
|
|
31049
31163
|
image: {
|
|
31050
31164
|
src: `${S}icons/tap.svg`,
|
|
@@ -31062,7 +31176,7 @@ function hN({ isSaveDisabled: e, isDeleteDisabled: t, areControlsDisabled: n, co
|
|
|
31062
31176
|
alt: P("Zoom and rotate the map before saving.")
|
|
31063
31177
|
},
|
|
31064
31178
|
content: /* @__PURE__ */ (0, z.jsxs)("span", { children: [/* @__PURE__ */ (0, z.jsx)("strong", { children: P("Zoom and rotate") }), P(" the map before saving.")] })
|
|
31065
|
-
}] }) : /* @__PURE__ */ (0, z.jsx)(z.Fragment, { children: g ? /* @__PURE__ */ (0, z.jsx)(
|
|
31179
|
+
}] }) : /* @__PURE__ */ (0, z.jsx)(z.Fragment, { children: g ? /* @__PURE__ */ (0, z.jsx)(xN, { ...g }) : /* @__PURE__ */ (0, z.jsx)(vN, {
|
|
31066
31180
|
isSaveDisabled: e,
|
|
31067
31181
|
isDeleteDisabled: t,
|
|
31068
31182
|
areControlsDisabled: n,
|
|
@@ -31100,22 +31214,22 @@ function hN({ isSaveDisabled: e, isDeleteDisabled: t, areControlsDisabled: n, co
|
|
|
31100
31214
|
}
|
|
31101
31215
|
//#endregion
|
|
31102
31216
|
//#region src/components/Kiosk/SetKiosk/constants.ts
|
|
31103
|
-
var
|
|
31217
|
+
var wN = "expofp-kiosk", TN = "interactive-kiosk", EN = "Interactive Kiosk", DN = "kiosk_", ON = () => EN, kN = () => TN;
|
|
31104
31218
|
//#endregion
|
|
31105
31219
|
//#region src/components/Kiosk/SetKiosk/getKioskUrlParamKey.ts
|
|
31106
|
-
function
|
|
31107
|
-
return `${
|
|
31220
|
+
function AN(e) {
|
|
31221
|
+
return `${DN}${e}`;
|
|
31108
31222
|
}
|
|
31109
31223
|
//#endregion
|
|
31110
31224
|
//#region src/components/Kiosk/SetKiosk/storage.ts
|
|
31111
|
-
async function
|
|
31112
|
-
localStorage.setItem(
|
|
31225
|
+
async function jN(e) {
|
|
31226
|
+
localStorage.setItem(wN, JSON.stringify(e));
|
|
31113
31227
|
}
|
|
31114
|
-
async function
|
|
31115
|
-
localStorage.removeItem(
|
|
31228
|
+
async function MN() {
|
|
31229
|
+
localStorage.removeItem(wN);
|
|
31116
31230
|
}
|
|
31117
|
-
function
|
|
31118
|
-
let e = localStorage.getItem(
|
|
31231
|
+
function NN() {
|
|
31232
|
+
let e = localStorage.getItem(wN);
|
|
31119
31233
|
if (e) try {
|
|
31120
31234
|
return JSON.parse(e);
|
|
31121
31235
|
} catch (e) {
|
|
@@ -31125,7 +31239,7 @@ function TN() {
|
|
|
31125
31239
|
}
|
|
31126
31240
|
//#endregion
|
|
31127
31241
|
//#region src/components/Kiosk/integrateKiosk.ts
|
|
31128
|
-
function
|
|
31242
|
+
function PN(e, t) {
|
|
31129
31243
|
e && E(() => {
|
|
31130
31244
|
Q.uiState.setKioskData(e), Q.uiState.kiosk = t, Q.uiState.setMapSettings({
|
|
31131
31245
|
centerxy: `${e.mapCenterX},${e.mapCenterY}`,
|
|
@@ -31134,7 +31248,7 @@ function EN(e, t) {
|
|
|
31134
31248
|
}), e.mapPtScale && Q.uiState.changeZoom(e.mapInitialPtScale / e.mapPtScale);
|
|
31135
31249
|
});
|
|
31136
31250
|
}
|
|
31137
|
-
function
|
|
31251
|
+
function FN(e) {
|
|
31138
31252
|
var t;
|
|
31139
31253
|
if (!e) return;
|
|
31140
31254
|
let n = {
|
|
@@ -31142,11 +31256,11 @@ function DN(e) {
|
|
|
31142
31256
|
y: e.y,
|
|
31143
31257
|
layer: (t = e.z) == null ? void 0 : t.toString()
|
|
31144
31258
|
};
|
|
31145
|
-
Q.routeStore.defaultFrom = new
|
|
31259
|
+
Q.routeStore.defaultFrom = new pN(2 ** 53 - 1, ON(), n, kN()), n.layer && Q.fp.activateFloor({ name: n.layer });
|
|
31146
31260
|
}
|
|
31147
31261
|
//#endregion
|
|
31148
31262
|
//#region src/components/Kiosk/kioskUrlParam.ts
|
|
31149
|
-
function
|
|
31263
|
+
function IN(e) {
|
|
31150
31264
|
let t = {};
|
|
31151
31265
|
try {
|
|
31152
31266
|
let n = (e) => {
|
|
@@ -31169,7 +31283,7 @@ function ON(e) {
|
|
|
31169
31283
|
mapPitch: n
|
|
31170
31284
|
};
|
|
31171
31285
|
for (let n in r) {
|
|
31172
|
-
let i =
|
|
31286
|
+
let i = AN(n), a = r[n](e.get(i));
|
|
31173
31287
|
a != null && (t[n] = a);
|
|
31174
31288
|
}
|
|
31175
31289
|
} catch (e) {
|
|
@@ -31178,39 +31292,39 @@ function ON(e) {
|
|
|
31178
31292
|
return t;
|
|
31179
31293
|
}
|
|
31180
31294
|
}
|
|
31181
|
-
function
|
|
31295
|
+
function LN(e, t, n) {
|
|
31182
31296
|
try {
|
|
31183
31297
|
if (!t) return;
|
|
31184
|
-
for (let r of Object.keys(t)) t[r] == null || n != null && n.length && !n.includes(r) || e.set(
|
|
31298
|
+
for (let r of Object.keys(t)) t[r] == null || n != null && n.length && !n.includes(r) || e.set(AN(r), typeof t[r] == "number" ? t[r].toFixed(2) : `${t[r]}`);
|
|
31185
31299
|
} catch (e) {
|
|
31186
31300
|
console.error("setKioskUrlParams", e);
|
|
31187
31301
|
}
|
|
31188
31302
|
}
|
|
31189
31303
|
//#endregion
|
|
31190
31304
|
//#region src/components/Kiosk/recoverKioskFromUrlPrams.ts
|
|
31191
|
-
function
|
|
31192
|
-
let t =
|
|
31193
|
-
Object.values(t).length && (
|
|
31305
|
+
function RN(e) {
|
|
31306
|
+
let t = IN(e);
|
|
31307
|
+
Object.values(t).length && (PN(t, !1), FN(t));
|
|
31194
31308
|
}
|
|
31195
31309
|
//#endregion
|
|
31196
31310
|
//#region src/services/routing.ts
|
|
31197
|
-
var
|
|
31198
|
-
function
|
|
31199
|
-
return
|
|
31311
|
+
var zN = !1, BN = !1, VN = null, HN = null, UN = null, WN, GN = VA(), KN = window.location.pathname, qN = [];
|
|
31312
|
+
function JN() {
|
|
31313
|
+
return qN;
|
|
31200
31314
|
}
|
|
31201
|
-
function
|
|
31202
|
-
return
|
|
31315
|
+
function YN(e) {
|
|
31316
|
+
return KN + e;
|
|
31203
31317
|
}
|
|
31204
|
-
function
|
|
31205
|
-
|
|
31318
|
+
function XN(e) {
|
|
31319
|
+
zN || GN.push(YN(e));
|
|
31206
31320
|
}
|
|
31207
|
-
function
|
|
31208
|
-
|
|
31321
|
+
function ZN(e) {
|
|
31322
|
+
zN || GN.push(YN(e));
|
|
31209
31323
|
}
|
|
31210
|
-
function
|
|
31324
|
+
function QN(e) {
|
|
31211
31325
|
return e.replace(/=&/g, "&").replace(/=$/, "");
|
|
31212
31326
|
}
|
|
31213
|
-
function
|
|
31327
|
+
function $N() {
|
|
31214
31328
|
let e = "", t = $.selectedExhibitor, n = $.selectedBooth, r = $.selectedEventItem, i = $.selectedRoute, a = $.selectedSpeaker, o = $.setKioskModeEnabled;
|
|
31215
31329
|
if ($.list.type === "route-planner" && !t && !n && !r) {
|
|
31216
31330
|
var s;
|
|
@@ -31263,25 +31377,25 @@ function GN() {
|
|
|
31263
31377
|
break;
|
|
31264
31378
|
default: throw Error("Unkown list.type");
|
|
31265
31379
|
}
|
|
31266
|
-
if (
|
|
31380
|
+
if (BN) return;
|
|
31267
31381
|
let l = e ? "?" + encodeURIComponent(e) : "";
|
|
31268
|
-
|
|
31382
|
+
GN.location.search !== l && (t !== VN || n !== HN || r !== UN ? XN(l) : ZN(l), VN = t, HN = n, UN = r);
|
|
31269
31383
|
}
|
|
31270
|
-
function
|
|
31384
|
+
function eP() {
|
|
31271
31385
|
let e = $.selectedExhibitor, t = $.selectedEventItem, n = $.selectedSpeaker, r = "";
|
|
31272
31386
|
e ? r = e.name : t ? r = t.name : n ? r = n.name : $.list.type === "search" && $.list.text ? r = "`" + ($.list.text || "") + "`" : $.list.type === "multi-point-tour" && $.tourTitle && (r = $.tourTitle), r.length && (r += " – "), r += R.title, R.subtitle && (r += " – " + R.subtitle), r += " – Expo Floor Plan by ExpoFP", document.title = r;
|
|
31273
31387
|
}
|
|
31274
|
-
function
|
|
31275
|
-
return
|
|
31388
|
+
function tP() {
|
|
31389
|
+
return WA(GN.location.search.length > 1 ? decodeURIComponent(GN.location.search.substring(1)) : "", !1);
|
|
31276
31390
|
}
|
|
31277
|
-
function
|
|
31278
|
-
let e =
|
|
31279
|
-
|
|
31391
|
+
function nP() {
|
|
31392
|
+
let e = GN.location.search.length > 1 ? decodeURIComponent(GN.location.search.substring(1)) : "";
|
|
31393
|
+
BN = !0;
|
|
31280
31394
|
let t = Q.boothStore.booths.find((t) => {
|
|
31281
31395
|
var n, r, i;
|
|
31282
31396
|
return ((n = t.slug) == null ? void 0 : n.toLowerCase()) === (e == null ? void 0 : e.toLowerCase()) || ((r = t.externalId) == null ? void 0 : r.toLowerCase()) === (e == null ? void 0 : e.toLowerCase()) || ((i = t.externalId) == null || (i = i.toLowerCase()) == null ? void 0 : i.replace(/\s+/g, "")) === (e == null ? void 0 : e.toLowerCase());
|
|
31283
31397
|
}), n = new URLSearchParams(decodeURIComponent(window.location.search));
|
|
31284
|
-
if (
|
|
31398
|
+
if (RN(n), cP(n), !tP()) if (n.has("yah")) WA(`${br} ${n.get("yah")}`, !0);
|
|
31285
31399
|
else if (n.has("kiosk")) {
|
|
31286
31400
|
let e = n.get(he);
|
|
31287
31401
|
e === "1" ? $.kiosk = !0 : e === "0" && ($.kiosk = !1, $.resetUIScale());
|
|
@@ -31290,7 +31404,7 @@ function JN() {
|
|
|
31290
31404
|
let t = e.split("=")[1], n = Q.toursStore.getTourById(t);
|
|
31291
31405
|
n ? Q.toursStore.launchTour(n, n.name, n.description) : (console.warn(`Route with id "${t}" not found`), Q.selectTours());
|
|
31292
31406
|
} else if (n.has("planner")) {
|
|
31293
|
-
let e = n.get(ie), t = n.get(fe), r = t ?
|
|
31407
|
+
let e = n.get(ie), t = n.get(fe), r = t ? aN(t) : null;
|
|
31294
31408
|
if (e === "bookmarks") Q.routePlannerStore.launchFromBookmarks(r == null ? void 0 : r);
|
|
31295
31409
|
else {
|
|
31296
31410
|
let e = (n.get("planner") || "").split(":").filter(Boolean);
|
|
@@ -31299,7 +31413,7 @@ function JN() {
|
|
|
31299
31413
|
} else if (e.startsWith("route")) {
|
|
31300
31414
|
let t = e.split(":");
|
|
31301
31415
|
Q.routeStore.setOnlyAccessible(t[3] === "true");
|
|
31302
|
-
let n =
|
|
31416
|
+
let n = cN(t[2], t[1], t.slice(4));
|
|
31303
31417
|
Q.routeStore.selectRoute(n);
|
|
31304
31418
|
let r = t.slice(4).length > 0;
|
|
31305
31419
|
Q.uiState.setIsMultiPointRoute(r);
|
|
@@ -31333,7 +31447,7 @@ function JN() {
|
|
|
31333
31447
|
}
|
|
31334
31448
|
let s = Q.boothStore.booths, c = Q.exhibitorStore.exhibitors, l = s.filter((e) => t.includes(e.externalId)), u = c.filter((e) => r.includes(e.externalId)).flatMap((e) => e.booths), d = [...l, ...u];
|
|
31335
31449
|
if (hk()) {
|
|
31336
|
-
let e =
|
|
31450
|
+
let e = fN(d.map((e) => e.layer.name));
|
|
31337
31451
|
e && Q.fp.activateFloor({ name: e });
|
|
31338
31452
|
}
|
|
31339
31453
|
(t.length > 0 || r.length > 0) && Q.fp.highlightEntities([...t, ...r]), Q.layerStore.showPathWay(e), d.length > 0 && E(() => {
|
|
@@ -31365,103 +31479,103 @@ function JN() {
|
|
|
31365
31479
|
}
|
|
31366
31480
|
}
|
|
31367
31481
|
}
|
|
31368
|
-
|
|
31482
|
+
BN = !1, $N(), eP();
|
|
31369
31483
|
}
|
|
31370
|
-
function
|
|
31371
|
-
let e =
|
|
31484
|
+
function rP() {
|
|
31485
|
+
let e = GN.location.search;
|
|
31372
31486
|
if (e.includes("heatmap")) {
|
|
31373
31487
|
let e = new URL(window.location.href);
|
|
31374
31488
|
if (e.searchParams.get("heatmap") === "true") if (e.searchParams.get("type") === "yah") {
|
|
31375
|
-
let t =
|
|
31376
|
-
|
|
31489
|
+
let t = QN(e.search);
|
|
31490
|
+
zN = !0, ZN(t), Q.uiState.heatmapYah = !0, Q.uiState.monochrome = !0, Q.uiState.hideLogoInBooth = !0, Q.uiState.hideHeaderLogo = !0, Q.uiState.disableBookmarked = !0;
|
|
31377
31491
|
} else {
|
|
31378
31492
|
e.searchParams.delete("heatmap");
|
|
31379
|
-
let t =
|
|
31380
|
-
|
|
31493
|
+
let t = QN(e.search);
|
|
31494
|
+
zN = !0, ZN(t), Q.uiState.heatmap = !0;
|
|
31381
31495
|
}
|
|
31382
31496
|
}
|
|
31383
|
-
if (e.startsWith("?preview="))
|
|
31384
|
-
else if (e.startsWith("?b="))
|
|
31497
|
+
if (e.startsWith("?preview=")) ZN("?");
|
|
31498
|
+
else if (e.startsWith("?b=")) ZN("?bookmarks");
|
|
31385
31499
|
else if (e.startsWith("?ba=")) {
|
|
31386
31500
|
let e = new URL(window.location.href), t = parseInt(e.searchParams.get("ba")), n = Q.exhibitorStore.exhibitorById.get(t);
|
|
31387
|
-
|
|
31388
|
-
} else e.startsWith("?mapbox=false") && (Q.mapboxStore.isMapbox = !1,
|
|
31501
|
+
ZN(n ? "?" + n.slug : "?bookmarks");
|
|
31502
|
+
} else e.startsWith("?mapbox=false") && (Q.mapboxStore.isMapbox = !1, ZN("?"));
|
|
31389
31503
|
if (e.includes("blue-dot")) {
|
|
31390
31504
|
let e = new URL(window.location.href), n = e.searchParams.get("blue-dot").split(",");
|
|
31391
31505
|
if (e.searchParams.delete("blue-dot"), n.length > 1) {
|
|
31392
31506
|
var t;
|
|
31393
|
-
let e = (t = Q.layerStore.findLayer(n[2])) == null ? void 0 : t.name, r = new
|
|
31507
|
+
let e = (t = Q.layerStore.findLayer(n[2])) == null ? void 0 : t.name, r = new uN(Number(n[0]) || void 0, Number(n[1]) || void 0, e, void 0, Number(n[3]) || void 0, Number(n[4]) || void 0);
|
|
31394
31508
|
Q.layerStore.layersLoaded ? Q.routeStore.selectCurrentPosition(r, !1, 1) : I(() => Q.layerStore.layersLoaded, () => {
|
|
31395
31509
|
Q.routeStore.selectCurrentPosition(r, !1, 1);
|
|
31396
31510
|
});
|
|
31397
31511
|
}
|
|
31398
|
-
|
|
31512
|
+
ZN(QN(e.search));
|
|
31399
31513
|
}
|
|
31400
31514
|
if (e.includes("copy_exh")) {
|
|
31401
31515
|
let e = new URL(window.location.href);
|
|
31402
|
-
e.searchParams.get("copy_exh"), e.searchParams.delete("copy_exh"),
|
|
31516
|
+
e.searchParams.get("copy_exh"), e.searchParams.delete("copy_exh"), ZN("?");
|
|
31403
31517
|
}
|
|
31404
31518
|
if (e.includes("noOverlay")) {
|
|
31405
31519
|
let e = new URL(window.location.href), t = e.searchParams.get("noOverlay");
|
|
31406
31520
|
e.searchParams.delete("noOverlay");
|
|
31407
|
-
let n =
|
|
31408
|
-
t === "true" ? Q.uiState.hideOverlay = !0 : t === "false" && (Q.uiState.hideOverlay = !1),
|
|
31521
|
+
let n = QN(e.search);
|
|
31522
|
+
t === "true" ? Q.uiState.hideOverlay = !0 : t === "false" && (Q.uiState.hideOverlay = !1), ZN(n);
|
|
31409
31523
|
}
|
|
31410
31524
|
if (e.includes("allowConsent")) {
|
|
31411
31525
|
let e = new URL(window.location.href), t = e.searchParams.get("allowConsent");
|
|
31412
31526
|
e.searchParams.delete("allowConsent");
|
|
31413
|
-
let n =
|
|
31414
|
-
t === "true" ?
|
|
31527
|
+
let n = QN(e.search);
|
|
31528
|
+
t === "true" ? MP(!0) : t === "false" && MP(!1), ZN(n);
|
|
31415
31529
|
}
|
|
31416
31530
|
if (e.includes("hideHeaderLogo")) {
|
|
31417
31531
|
let e = new URL(window.location.href), t = e.searchParams.get("hideHeaderLogo");
|
|
31418
31532
|
e.searchParams.delete("hideHeaderLogo");
|
|
31419
|
-
let n =
|
|
31420
|
-
t === "true" && ($.hideHeaderLogo = !0),
|
|
31533
|
+
let n = QN(e.search);
|
|
31534
|
+
t === "true" && ($.hideHeaderLogo = !0), ZN(n);
|
|
31421
31535
|
}
|
|
31422
31536
|
if (e.includes("hideLogoInBooth")) {
|
|
31423
31537
|
let e = new URL(window.location.href), t = e.searchParams.get("hideLogoInBooth");
|
|
31424
31538
|
e.searchParams.delete("hideLogoInBooth");
|
|
31425
|
-
let n =
|
|
31426
|
-
t === "true" && ($.hideLogoInBooth = !0),
|
|
31539
|
+
let n = QN(e.search);
|
|
31540
|
+
t === "true" && ($.hideLogoInBooth = !0), ZN(n);
|
|
31427
31541
|
}
|
|
31428
31542
|
if (e.includes("disableFeatured")) {
|
|
31429
31543
|
let e = new URL(window.location.href), t = e.searchParams.get("disableFeatured");
|
|
31430
31544
|
e.searchParams.delete("disableFeatured");
|
|
31431
|
-
let n =
|
|
31432
|
-
t === "true" && Q.exhibitorStore.exhibitors.forEach((e) => e.featured = !1),
|
|
31545
|
+
let n = QN(e.search);
|
|
31546
|
+
t === "true" && Q.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), ZN(n);
|
|
31433
31547
|
}
|
|
31434
31548
|
if (e.includes("disableBookmarked")) {
|
|
31435
31549
|
let e = new URL(window.location.href), t = e.searchParams.get("disableBookmarked");
|
|
31436
31550
|
e.searchParams.delete("disableBookmarked");
|
|
31437
|
-
let n =
|
|
31438
|
-
t === "true" && ($.disableBookmarked = !0),
|
|
31551
|
+
let n = QN(e.search);
|
|
31552
|
+
t === "true" && ($.disableBookmarked = !0), ZN(n);
|
|
31439
31553
|
}
|
|
31440
31554
|
if (e.includes("disableGps")) {
|
|
31441
31555
|
let e = new URL(window.location.href), t = e.searchParams.get("disableGps");
|
|
31442
31556
|
e.searchParams.delete("disableGps");
|
|
31443
|
-
let n =
|
|
31444
|
-
t === "true" && Q.routeStore.setGpsTrackingEnabled(!1),
|
|
31557
|
+
let n = QN(e.search);
|
|
31558
|
+
t === "true" && Q.routeStore.setGpsTrackingEnabled(!1), ZN(n);
|
|
31445
31559
|
}
|
|
31446
31560
|
if (e.includes("monochrome")) {
|
|
31447
31561
|
let e = new URL(window.location.href), t = e.searchParams.get("monochrome");
|
|
31448
31562
|
e.searchParams.delete("monochrome");
|
|
31449
|
-
let n =
|
|
31450
|
-
t === "true" && ($.monochrome = !0),
|
|
31563
|
+
let n = QN(e.search);
|
|
31564
|
+
t === "true" && ($.monochrome = !0), ZN(n);
|
|
31451
31565
|
}
|
|
31452
|
-
if ((e.startsWith("?fbclid") || e.startsWith("?_ga")) &&
|
|
31566
|
+
if ((e.startsWith("?fbclid") || e.startsWith("?_ga")) && ZN("?"), e.includes("viewermode")) {
|
|
31453
31567
|
let e = new URL(window.location.href), t = e.searchParams.get(o);
|
|
31454
|
-
t === "1" || t === "true" ? A && localStorage.setItem("___viewer_mode", "1") : (t === "0" || t === "false") && A && localStorage.removeItem("___viewer_mode"), e.searchParams.delete(o),
|
|
31568
|
+
t === "1" || t === "true" ? A && localStorage.setItem("___viewer_mode", "1") : (t === "0" || t === "false") && A && localStorage.removeItem("___viewer_mode"), e.searchParams.delete(o), ZN(QN(e.search));
|
|
31455
31569
|
}
|
|
31456
31570
|
if (e.includes("previewMode")) {
|
|
31457
31571
|
let e = new URL(window.location.href), t = e.searchParams.get(w);
|
|
31458
|
-
t === "true" ? A && localStorage.setItem("___preview_mode", "1") : t === "false" && A && localStorage.removeItem("___preview_mode"), e.searchParams.delete(w),
|
|
31572
|
+
t === "true" ? A && localStorage.setItem("___preview_mode", "1") : t === "false" && A && localStorage.removeItem("___preview_mode"), e.searchParams.delete(w), ZN(QN(e.search));
|
|
31459
31573
|
}
|
|
31460
|
-
if ($.previewExhibitor &&
|
|
31461
|
-
let e =
|
|
31574
|
+
if ($.previewExhibitor && ZN("?" + $.previewExhibitor.slug), GN.location.search.includes("&") || GN.location.search.includes("%26")) {
|
|
31575
|
+
let e = GN.location.search;
|
|
31462
31576
|
e = e.startsWith("?") ? e.slice(1) : e;
|
|
31463
31577
|
let t = e.includes("&") ? "&" : "%26";
|
|
31464
|
-
|
|
31578
|
+
ZN("?" + e.split(t).map((e) => {
|
|
31465
31579
|
let t = Q.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
|
|
31466
31580
|
return t ? t.name : e;
|
|
31467
31581
|
}).join("&"));
|
|
@@ -31471,8 +31585,8 @@ function YN() {
|
|
|
31471
31585
|
Q.uiState.resetUIScale();
|
|
31472
31586
|
let e = new URL(window.location.href);
|
|
31473
31587
|
e.searchParams.delete(ye);
|
|
31474
|
-
let t =
|
|
31475
|
-
|
|
31588
|
+
let t = QN(e.search);
|
|
31589
|
+
zN = !0, ZN(t), zN = !1;
|
|
31476
31590
|
}
|
|
31477
31591
|
let r = n.get(D);
|
|
31478
31592
|
if (r) {
|
|
@@ -31480,39 +31594,39 @@ function YN() {
|
|
|
31480
31594
|
!isNaN(t) && t >= .8 && t <= 1.4 ? Q.uiState.setUIScale(t, !0) : l.warn(`Invalid ui-scale parameter: ${r}. Must be a number between 0.8 and 1.4.`);
|
|
31481
31595
|
let n = new URL(window.location.href);
|
|
31482
31596
|
n.searchParams.delete(D);
|
|
31483
|
-
let i =
|
|
31484
|
-
|
|
31597
|
+
let i = QN(n.search);
|
|
31598
|
+
zN = !0, ZN(i), zN = !1;
|
|
31485
31599
|
}
|
|
31486
31600
|
}
|
|
31487
|
-
function
|
|
31488
|
-
|
|
31489
|
-
|
|
31490
|
-
}),
|
|
31491
|
-
Q.urlFilterManager && !Q.urlFilterManager.isInitialized && Q.urlFilterManager.initialize(),
|
|
31601
|
+
function iP(e = !1) {
|
|
31602
|
+
zN = e, !zN && YN(GN.location.search) === KN && qN.push(YN(GN.location.search)), WN = GN.listen((e, t) => {
|
|
31603
|
+
zN || (qN.push(YN(e.search)), l.log("history", t, e), t === "POP" && nP());
|
|
31604
|
+
}), rP(), tP(), I(() => Q.layerStore.layersLoaded, () => {
|
|
31605
|
+
Q.urlFilterManager && !Q.urlFilterManager.isInitialized && Q.urlFilterManager.initialize(), nP(), ce(eP), ce($N), $.viewerMode && ($.menu = !0);
|
|
31492
31606
|
});
|
|
31493
31607
|
}
|
|
31494
|
-
function
|
|
31495
|
-
|
|
31496
|
-
|
|
31608
|
+
function aP(e = "") {
|
|
31609
|
+
ZN("?" + decodeURIComponent(e.toString())), Q.layerStore.layersLoaded ? (rP(), nP()) : (tP(), I(() => Q.layerStore.layersLoaded, () => {
|
|
31610
|
+
rP(), nP();
|
|
31497
31611
|
}));
|
|
31498
31612
|
}
|
|
31499
|
-
function
|
|
31500
|
-
|
|
31613
|
+
function oP() {
|
|
31614
|
+
WN();
|
|
31501
31615
|
}
|
|
31502
|
-
function
|
|
31503
|
-
if (console.log("goBack"),
|
|
31504
|
-
|
|
31505
|
-
let e =
|
|
31506
|
-
return
|
|
31507
|
-
} else return
|
|
31616
|
+
function sP() {
|
|
31617
|
+
if (console.log("goBack"), qN.length > 1) {
|
|
31618
|
+
qN.pop();
|
|
31619
|
+
let e = qN[qN.length - 1].replace(KN, "");
|
|
31620
|
+
return zN = !0, GN.replace(e), zN = !1, nP(), !0;
|
|
31621
|
+
} else return GN.go(-1), !1;
|
|
31508
31622
|
}
|
|
31509
|
-
function
|
|
31623
|
+
function cP(e) {
|
|
31510
31624
|
try {
|
|
31511
31625
|
let t = {}, n = $.defaultMapSettings;
|
|
31512
|
-
if (new Set(e.keys()).size) t =
|
|
31626
|
+
if (new Set(e.keys()).size) t = lP(Object.fromEntries(e.entries()), n);
|
|
31513
31627
|
else {
|
|
31514
31628
|
let e = sessionStorage.getItem(_e);
|
|
31515
|
-
e && (t =
|
|
31629
|
+
e && (t = lP(JSON.parse(e), n));
|
|
31516
31630
|
}
|
|
31517
31631
|
if ($.setMapSettings(t), t.z) {
|
|
31518
31632
|
let e = Q.layerStore.layers.find((e) => e.name === t.z);
|
|
@@ -31522,7 +31636,7 @@ function eP(e) {
|
|
|
31522
31636
|
console.error("Failed to process or save map settings.", e);
|
|
31523
31637
|
}
|
|
31524
31638
|
}
|
|
31525
|
-
function
|
|
31639
|
+
function lP(e, t) {
|
|
31526
31640
|
let n = {};
|
|
31527
31641
|
for (let r in e) {
|
|
31528
31642
|
if (!Object.prototype.hasOwnProperty.call(t, r) || !Object.prototype.hasOwnProperty.call(e, r)) continue;
|
|
@@ -31533,7 +31647,7 @@ function tP(e, t) {
|
|
|
31533
31647
|
}
|
|
31534
31648
|
//#endregion
|
|
31535
31649
|
//#region src/components/Kiosk/requestKioskKey.ts
|
|
31536
|
-
async function
|
|
31650
|
+
async function uP(e, t) {
|
|
31537
31651
|
let n;
|
|
31538
31652
|
try {
|
|
31539
31653
|
let r = new URL("/api/kiosks", t);
|
|
@@ -31550,8 +31664,8 @@ async function nP(e, t) {
|
|
|
31550
31664
|
}
|
|
31551
31665
|
//#endregion
|
|
31552
31666
|
//#region src/tools/telemetry.ts
|
|
31553
|
-
var
|
|
31554
|
-
function
|
|
31667
|
+
var dP = "efp-telemetry", fP = 300 * 1e3, pP = 1e3;
|
|
31668
|
+
function mP(e = dP) {
|
|
31555
31669
|
return {
|
|
31556
31670
|
get() {
|
|
31557
31671
|
try {
|
|
@@ -31577,7 +31691,7 @@ function oP(e = rP) {
|
|
|
31577
31691
|
}
|
|
31578
31692
|
};
|
|
31579
31693
|
}
|
|
31580
|
-
function
|
|
31694
|
+
function hP(e) {
|
|
31581
31695
|
let t = e.headers.get("Retry-After");
|
|
31582
31696
|
if (!t) return 0;
|
|
31583
31697
|
let n = 0, r = Number(t);
|
|
@@ -31586,11 +31700,11 @@ function sP(e) {
|
|
|
31586
31700
|
let e = Date.parse(t);
|
|
31587
31701
|
isNaN(e) || (n = Math.max(0, e - Date.now()));
|
|
31588
31702
|
}
|
|
31589
|
-
return Math.min(n,
|
|
31703
|
+
return Math.min(n, fP);
|
|
31590
31704
|
}
|
|
31591
|
-
function
|
|
31705
|
+
function gP(e) {
|
|
31592
31706
|
var t;
|
|
31593
|
-
let { url: n, expo: r, expoId: i, storage: a =
|
|
31707
|
+
let { url: n, expo: r, expoId: i, storage: a = mP() } = e, o = (t = e.kioskId) == null ? "" : t;
|
|
31594
31708
|
function s() {
|
|
31595
31709
|
let e = a.get();
|
|
31596
31710
|
return e ? (e.expo = r, e.expoId = i, e.kioskId = o, e) : {
|
|
@@ -31625,7 +31739,7 @@ function cP(e) {
|
|
|
31625
31739
|
});
|
|
31626
31740
|
if (!i.ok) {
|
|
31627
31741
|
if (i.status === 429 || i.status === 503) {
|
|
31628
|
-
let e =
|
|
31742
|
+
let e = hP(i);
|
|
31629
31743
|
e > 0 && (d = performance.now() + e);
|
|
31630
31744
|
}
|
|
31631
31745
|
p(e), console.error(`Failed to send telemetry: HTTP ${i.status}`);
|
|
@@ -31638,11 +31752,11 @@ function cP(e) {
|
|
|
31638
31752
|
}
|
|
31639
31753
|
function p(e) {
|
|
31640
31754
|
let t = s();
|
|
31641
|
-
t.items = [...e.items, ...t.items], t.items.length >
|
|
31755
|
+
t.items = [...e.items, ...t.items], t.items.length > pP && (t.items = t.items.slice(-pP)), a.set(t);
|
|
31642
31756
|
}
|
|
31643
31757
|
function m(e) {
|
|
31644
31758
|
let t = s();
|
|
31645
|
-
t.items.push(e), t.items.length >
|
|
31759
|
+
t.items.push(e), t.items.length > pP && (t.items = t.items.slice(-pP)), a.set(t);
|
|
31646
31760
|
}
|
|
31647
31761
|
async function h(e) {
|
|
31648
31762
|
m(e), await f();
|
|
@@ -31656,9 +31770,9 @@ function cP(e) {
|
|
|
31656
31770
|
}
|
|
31657
31771
|
//#endregion
|
|
31658
31772
|
//#region src/tools/track-event.ts
|
|
31659
|
-
var
|
|
31660
|
-
function
|
|
31661
|
-
if (
|
|
31773
|
+
var _P;
|
|
31774
|
+
function vP() {
|
|
31775
|
+
if (_P) return _P;
|
|
31662
31776
|
let e = window.__efpEvent, t;
|
|
31663
31777
|
try {
|
|
31664
31778
|
let e = new URL(R.trackerUrl).searchParams.get("expoId");
|
|
@@ -31666,14 +31780,14 @@ function uP() {
|
|
|
31666
31780
|
} catch (e) {
|
|
31667
31781
|
l.error(e);
|
|
31668
31782
|
}
|
|
31669
|
-
return
|
|
31783
|
+
return _P = gP({
|
|
31670
31784
|
url: "https://app.expofp.com/api/telemetry",
|
|
31671
31785
|
expo: e,
|
|
31672
31786
|
expoId: t
|
|
31673
|
-
}),
|
|
31787
|
+
}), _P;
|
|
31674
31788
|
}
|
|
31675
|
-
function
|
|
31676
|
-
let n = localStorage.getItem(br), r =
|
|
31789
|
+
function yP(e, t) {
|
|
31790
|
+
let n = localStorage.getItem(br), r = JN(), i = r[r.length - 2];
|
|
31677
31791
|
return {
|
|
31678
31792
|
type: e,
|
|
31679
31793
|
value: t === void 0 ? "" : String(t),
|
|
@@ -31682,34 +31796,34 @@ function dP(e, t) {
|
|
|
31682
31796
|
referrer: i ? window.location.origin + i : ""
|
|
31683
31797
|
};
|
|
31684
31798
|
}
|
|
31685
|
-
function
|
|
31799
|
+
function bP() {
|
|
31686
31800
|
return !!(R != null && R.trackerUrl) && !$.heatmap;
|
|
31687
31801
|
}
|
|
31688
|
-
async function
|
|
31689
|
-
if (l.log("trackEvent", e, t),
|
|
31690
|
-
let n =
|
|
31802
|
+
async function xP(e, t) {
|
|
31803
|
+
if (l.log("trackEvent", e, t), bP()) try {
|
|
31804
|
+
let n = vP(), r = NN();
|
|
31691
31805
|
if (r) {
|
|
31692
|
-
let i = await
|
|
31806
|
+
let i = await SP(r);
|
|
31693
31807
|
if (i) n.setKioskId(i);
|
|
31694
31808
|
else {
|
|
31695
|
-
n.enqueue(
|
|
31809
|
+
n.enqueue(yP(e, t));
|
|
31696
31810
|
return;
|
|
31697
31811
|
}
|
|
31698
31812
|
}
|
|
31699
|
-
|
|
31813
|
+
wP(n), await n.send(yP(e, t));
|
|
31700
31814
|
} catch (e) {
|
|
31701
31815
|
l.error("trackEvent", String(e));
|
|
31702
31816
|
}
|
|
31703
31817
|
}
|
|
31704
|
-
async function
|
|
31818
|
+
async function SP(e) {
|
|
31705
31819
|
if (!e) return null;
|
|
31706
31820
|
let t = "expofp-kiosk-stats-id", n = localStorage.getItem(t);
|
|
31707
|
-
return n || (n = await
|
|
31821
|
+
return n || (n = await uP(e, "https://app.expofp.com/"), n ? (localStorage.setItem(t, n), n) : null);
|
|
31708
31822
|
}
|
|
31709
|
-
var
|
|
31710
|
-
function
|
|
31711
|
-
if (
|
|
31712
|
-
|
|
31823
|
+
var CP = !1;
|
|
31824
|
+
function wP(e) {
|
|
31825
|
+
if (CP) return;
|
|
31826
|
+
CP = !0;
|
|
31713
31827
|
let t = "efp-track-events";
|
|
31714
31828
|
try {
|
|
31715
31829
|
let r = localStorage.getItem(t);
|
|
@@ -31736,15 +31850,15 @@ function gP(e) {
|
|
|
31736
31850
|
}
|
|
31737
31851
|
//#endregion
|
|
31738
31852
|
//#region src/tools/gtag.ts
|
|
31739
|
-
var
|
|
31853
|
+
var TP = "G-78CKLYWFJK";
|
|
31740
31854
|
window.dataLayer = window.dataLayer || [];
|
|
31741
|
-
function
|
|
31855
|
+
function EP(...e) {
|
|
31742
31856
|
window.dataLayer.push(arguments);
|
|
31743
31857
|
}
|
|
31744
|
-
var
|
|
31858
|
+
var DP = /* @__PURE__ */ function(e) {
|
|
31745
31859
|
return e.Load = "Load floor plan", e.ViewBooth = "View booth", e.ViewExhibitor = "View exhibitor", e.ViewCategory = "View category", e.Search = "Search", e.ClickCustomButton = "Click custom button", e.ViewVideo = "View video", e.ViewGallery = "View gallery", e.ClickPhone = "Click phone", e.ClickEmail = "Click email", e.ClickWebsite = "Click website", e.ClickFacebook = "Click Facebook", e.ClickInstagaram = "Click Instagram", e.ClickLinkedin = "Click Linkedin", e.ClickTwitter = "Click Twitter", e.ClickGooglePlus = "Click Google Plus", e.ClickXing = "Click Xing", e.ClickYoutube = "Click Youtube", e.ClickDirections = "Click Directions", e.Rendered = "Floor plan rendered", e;
|
|
31746
31860
|
}({});
|
|
31747
|
-
async function
|
|
31861
|
+
async function OP() {
|
|
31748
31862
|
try {
|
|
31749
31863
|
let e = fetch("https://consent.expofp.com/api/verify-ip/is-in-gdpr"), t = new Promise((e) => {
|
|
31750
31864
|
setTimeout(() => {
|
|
@@ -31756,94 +31870,94 @@ async function bP() {
|
|
|
31756
31870
|
return console.error(e), null;
|
|
31757
31871
|
}
|
|
31758
31872
|
}
|
|
31759
|
-
function
|
|
31873
|
+
function kP(e) {
|
|
31760
31874
|
if (e === !1 || e === !0) return e ? "granted" : "denied";
|
|
31761
31875
|
let t = document.cookie.split("; ").find((e) => e.startsWith("cookie_consent="));
|
|
31762
31876
|
if (t) return t === "cookie_consent=true" ? "granted" : "denied";
|
|
31763
31877
|
}
|
|
31764
|
-
function
|
|
31878
|
+
function AP(e) {
|
|
31765
31879
|
let t = 2592e3, n = N ? "localhost" : ".expofp.com";
|
|
31766
31880
|
document.cookie = `cookie_consent=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${n}`, document.cookie = "cookie_consent=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/", document.cookie = e ? `cookie_consent=${e}; max-age=${t}; domain=${n}; path=/` : `cookie_consent=${e}; max-age=${t}; path=/`;
|
|
31767
31881
|
}
|
|
31768
|
-
function
|
|
31882
|
+
function jP() {
|
|
31769
31883
|
let e = document.cookie.split(";"), t = N ? "localhost" : ".expofp.com";
|
|
31770
31884
|
for (let n = 0; n < e.length; n++) {
|
|
31771
31885
|
let r = e[n], i = r.indexOf("="), a = i > -1 ? r.substr(0, i).trim() : r.trim();
|
|
31772
31886
|
a.startsWith("_ga") && (document.cookie = `${a}=;expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${t}`);
|
|
31773
31887
|
}
|
|
31774
31888
|
}
|
|
31775
|
-
function
|
|
31776
|
-
let t =
|
|
31777
|
-
t && (t === "denied" ? (
|
|
31889
|
+
function MP(e) {
|
|
31890
|
+
let t = kP(e);
|
|
31891
|
+
t && (t === "denied" ? (jP(), R.gtag && (window[`ga-disable-${R.gtag}`] = !0), window[`ga-disable-${TP}`] = !0) : (R.gtag && (window[`ga-disable-${R.gtag}`] = !1), window[`ga-disable-${TP}`] = !1), EP("consent", "update", {
|
|
31778
31892
|
analytics_storage: t,
|
|
31779
31893
|
ad_personalization: t
|
|
31780
31894
|
}));
|
|
31781
31895
|
}
|
|
31782
|
-
function
|
|
31896
|
+
function NP(e, t, n) {
|
|
31783
31897
|
switch (e) {
|
|
31784
|
-
case
|
|
31785
|
-
|
|
31898
|
+
case DP.ViewBooth:
|
|
31899
|
+
EP("event", "select_content", {
|
|
31786
31900
|
content_type: e,
|
|
31787
31901
|
content_id: t
|
|
31788
|
-
}),
|
|
31902
|
+
}), xP("booview", t);
|
|
31789
31903
|
break;
|
|
31790
|
-
case
|
|
31791
|
-
|
|
31904
|
+
case DP.ViewCategory:
|
|
31905
|
+
EP("event", "select_content", {
|
|
31792
31906
|
content_type: e,
|
|
31793
31907
|
content_id: t
|
|
31794
|
-
}),
|
|
31908
|
+
}), xP("catview", t);
|
|
31795
31909
|
break;
|
|
31796
|
-
case
|
|
31797
|
-
case
|
|
31798
|
-
case
|
|
31799
|
-
|
|
31910
|
+
case DP.ViewExhibitor:
|
|
31911
|
+
case DP.ViewGallery:
|
|
31912
|
+
case DP.ViewVideo:
|
|
31913
|
+
EP("event", "select_content", {
|
|
31800
31914
|
content_type: e,
|
|
31801
31915
|
content_id: t
|
|
31802
31916
|
});
|
|
31803
31917
|
break;
|
|
31804
|
-
case
|
|
31805
|
-
|
|
31918
|
+
case DP.Search:
|
|
31919
|
+
EP("event", "search", { search_term: t }), xP("search", t);
|
|
31806
31920
|
break;
|
|
31807
|
-
case
|
|
31808
|
-
case
|
|
31809
|
-
case
|
|
31810
|
-
case
|
|
31811
|
-
case
|
|
31812
|
-
case
|
|
31813
|
-
case
|
|
31814
|
-
case
|
|
31815
|
-
case
|
|
31816
|
-
case
|
|
31817
|
-
case
|
|
31818
|
-
|
|
31921
|
+
case DP.ClickCustomButton:
|
|
31922
|
+
case DP.ClickPhone:
|
|
31923
|
+
case DP.ClickEmail:
|
|
31924
|
+
case DP.ClickWebsite:
|
|
31925
|
+
case DP.ClickFacebook:
|
|
31926
|
+
case DP.ClickInstagaram:
|
|
31927
|
+
case DP.ClickLinkedin:
|
|
31928
|
+
case DP.ClickTwitter:
|
|
31929
|
+
case DP.ClickGooglePlus:
|
|
31930
|
+
case DP.ClickXing:
|
|
31931
|
+
case DP.ClickYoutube:
|
|
31932
|
+
EP("event", "share", {
|
|
31819
31933
|
content_type: e,
|
|
31820
31934
|
content_id: t
|
|
31821
|
-
}),
|
|
31935
|
+
}), xP("share", t);
|
|
31822
31936
|
break;
|
|
31823
|
-
case
|
|
31824
|
-
|
|
31937
|
+
case DP.ClickDirections:
|
|
31938
|
+
EP("event", "route", {
|
|
31825
31939
|
content_type: e,
|
|
31826
31940
|
content_id: t
|
|
31827
|
-
}),
|
|
31941
|
+
}), xP("route", t);
|
|
31828
31942
|
break;
|
|
31829
|
-
default:
|
|
31943
|
+
default: EP("event", e, {
|
|
31830
31944
|
content_type: n,
|
|
31831
31945
|
content_id: t
|
|
31832
31946
|
});
|
|
31833
31947
|
}
|
|
31834
31948
|
}
|
|
31835
|
-
var
|
|
31836
|
-
if (!
|
|
31837
|
-
|
|
31949
|
+
var PP, FP;
|
|
31950
|
+
if (!PP) {
|
|
31951
|
+
PP = document.createElement("script"), PP.type = "text/javascript", PP.async = !0, PP.src = `https://www.googletagmanager.com/gtag/js?id=${TP}`;
|
|
31838
31952
|
let e = document.getElementsByTagName("script")[0];
|
|
31839
|
-
e.parentNode.insertBefore(
|
|
31953
|
+
e.parentNode.insertBefore(PP, e), EP("js", /* @__PURE__ */ new Date());
|
|
31840
31954
|
}
|
|
31841
|
-
if (R.gtag && !
|
|
31842
|
-
|
|
31955
|
+
if (R.gtag && !FP) {
|
|
31956
|
+
FP = document.createElement("script"), FP.type = "text/javascript", FP.async = !0, FP.src = `https://www.googletagmanager.com/gtag/js?id=${R.gtag}`;
|
|
31843
31957
|
let e = document.getElementsByTagName("script")[0];
|
|
31844
|
-
e.parentNode.insertBefore(
|
|
31958
|
+
e.parentNode.insertBefore(FP, e), EP("config", R.gtag, { fp_key: $n.EXPO });
|
|
31845
31959
|
}
|
|
31846
|
-
|
|
31960
|
+
EP("config", TP, { fp_key: $n.EXPO }), window.gtag = EP, EP("consent", "default", {
|
|
31847
31961
|
ad_storage: "denied",
|
|
31848
31962
|
analytics_storage: "denied",
|
|
31849
31963
|
region: /* @__PURE__ */ "BE.BG.CZ.DK.DE.EE.IE.EL.ES.FR.HR.IT.CY.LV.LT.LU.HU.MT.NL.AT.PL.PT.RO.SI.SK.FI.SE.UK.IS.NO.LI.CH.MK.AL.RS.TR".split("."),
|
|
@@ -31852,13 +31966,13 @@ vP("config", _P, { fp_key: $n.EXPO }), window.gtag = vP, vP("consent", "default"
|
|
|
31852
31966
|
security_storage: "denied",
|
|
31853
31967
|
ad_personalization: "denied"
|
|
31854
31968
|
});
|
|
31855
|
-
function
|
|
31856
|
-
|
|
31969
|
+
function IP() {
|
|
31970
|
+
PP && PP.parentNode && (PP.parentNode.removeChild(PP), PP = null), FP && FP.parentNode && (FP.parentNode.removeChild(FP), FP = null);
|
|
31857
31971
|
}
|
|
31858
31972
|
//#endregion
|
|
31859
31973
|
//#region src/store/MapboxStore.ts
|
|
31860
|
-
var
|
|
31861
|
-
function
|
|
31974
|
+
var LP, RP, zP, BP, VP, HP, UP;
|
|
31975
|
+
function WP(e, t, n, r) {
|
|
31862
31976
|
n && Object.defineProperty(e, t, {
|
|
31863
31977
|
enumerable: n.enumerable,
|
|
31864
31978
|
configurable: n.configurable,
|
|
@@ -31866,7 +31980,7 @@ function IP(e, t, n, r) {
|
|
|
31866
31980
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
31867
31981
|
});
|
|
31868
31982
|
}
|
|
31869
|
-
function
|
|
31983
|
+
function GP(e, t, n, r, i) {
|
|
31870
31984
|
var a = {};
|
|
31871
31985
|
return Object.keys(r).forEach(function(e) {
|
|
31872
31986
|
a[e] = r[e];
|
|
@@ -31874,9 +31988,9 @@ function LP(e, t, n, r, i) {
|
|
|
31874
31988
|
return r(e, t, n) || n;
|
|
31875
31989
|
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
31876
31990
|
}
|
|
31877
|
-
var
|
|
31991
|
+
var KP = (LP = j({ keepAlive: !0 }), RP = j({ keepAlive: !0 }), zP = class {
|
|
31878
31992
|
constructor(e) {
|
|
31879
|
-
this.rootStore = void 0,
|
|
31993
|
+
this.rootStore = void 0, WP(this, "mapBoxSelected", BP, this), WP(this, "isMapbox", VP, this), WP(this, "mapBoxActivated", HP, this), WP(this, "mapBoxEnabled", UP, this), this.rootStore = e;
|
|
31880
31994
|
}
|
|
31881
31995
|
activateMapbox() {
|
|
31882
31996
|
this.mapBoxSelected = !this.showMapbox, this.mapBoxActivated = !0;
|
|
@@ -31887,36 +32001,36 @@ var RP = (kP = j({ keepAlive: !0 }), AP = j({ keepAlive: !0 }), jP = class {
|
|
|
31887
32001
|
get showMapbox() {
|
|
31888
32002
|
return this.mapBoxEnabled && this.mapBoxSelected && this.mapBoxActivated;
|
|
31889
32003
|
}
|
|
31890
|
-
},
|
|
32004
|
+
}, BP = GP(zP.prototype, "mapBoxSelected", [F], {
|
|
31891
32005
|
configurable: !0,
|
|
31892
32006
|
enumerable: !0,
|
|
31893
32007
|
writable: !0,
|
|
31894
32008
|
initializer: function() {
|
|
31895
32009
|
return !0;
|
|
31896
32010
|
}
|
|
31897
|
-
}),
|
|
32011
|
+
}), VP = GP(zP.prototype, "isMapbox", [F], {
|
|
31898
32012
|
configurable: !0,
|
|
31899
32013
|
enumerable: !0,
|
|
31900
32014
|
writable: !0,
|
|
31901
32015
|
initializer: function() {
|
|
31902
32016
|
return !0;
|
|
31903
32017
|
}
|
|
31904
|
-
}),
|
|
32018
|
+
}), HP = GP(zP.prototype, "mapBoxActivated", [F], {
|
|
31905
32019
|
configurable: !0,
|
|
31906
32020
|
enumerable: !0,
|
|
31907
32021
|
writable: !0,
|
|
31908
32022
|
initializer: function() {
|
|
31909
32023
|
return !R.hide3dMapDefault;
|
|
31910
32024
|
}
|
|
31911
|
-
}),
|
|
32025
|
+
}), UP = GP(zP.prototype, "mapBoxEnabled", [F], {
|
|
31912
32026
|
configurable: !0,
|
|
31913
32027
|
enumerable: !0,
|
|
31914
32028
|
writable: !0,
|
|
31915
32029
|
initializer: function() {
|
|
31916
|
-
return !!
|
|
32030
|
+
return !!GA && R.allow3dView && !$.kiosk && window.navigator.onLine;
|
|
31917
32031
|
}
|
|
31918
|
-
}),
|
|
31919
|
-
function
|
|
32032
|
+
}), GP(zP.prototype, "activateMapbox", [M], Object.getOwnPropertyDescriptor(zP.prototype, "activateMapbox"), zP.prototype), GP(zP.prototype, "hideModeSwitchButton", [LP], Object.getOwnPropertyDescriptor(zP.prototype, "hideModeSwitchButton"), zP.prototype), GP(zP.prototype, "showMapbox", [RP], Object.getOwnPropertyDescriptor(zP.prototype, "showMapbox"), zP.prototype), zP), qP, JP, YP, XP, ZP;
|
|
32033
|
+
function QP(e, t, n, r) {
|
|
31920
32034
|
n && Object.defineProperty(e, t, {
|
|
31921
32035
|
enumerable: n.enumerable,
|
|
31922
32036
|
configurable: n.configurable,
|
|
@@ -31924,7 +32038,7 @@ function WP(e, t, n, r) {
|
|
|
31924
32038
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
31925
32039
|
});
|
|
31926
32040
|
}
|
|
31927
|
-
function
|
|
32041
|
+
function $P(e, t, n, r, i) {
|
|
31928
32042
|
var a = {};
|
|
31929
32043
|
return Object.keys(r).forEach(function(e) {
|
|
31930
32044
|
a[e] = r[e];
|
|
@@ -31932,9 +32046,9 @@ function GP(e, t, n, r, i) {
|
|
|
31932
32046
|
return r(e, t, n) || n;
|
|
31933
32047
|
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
31934
32048
|
}
|
|
31935
|
-
var
|
|
32049
|
+
var eF = (qP = class {
|
|
31936
32050
|
constructor(e) {
|
|
31937
|
-
this.rootStore = void 0,
|
|
32051
|
+
this.rootStore = void 0, QP(this, "items", JP, this), QP(this, "startPoint", YP, this), QP(this, "source", XP, this), QP(this, "excludedVisitedCount", ZP, this), this.rootStore = e;
|
|
31938
32052
|
}
|
|
31939
32053
|
get resolvedBooths() {
|
|
31940
32054
|
let e = /* @__PURE__ */ new Map();
|
|
@@ -32055,7 +32169,7 @@ var KP = (zP = class {
|
|
|
32055
32169
|
entity: r,
|
|
32056
32170
|
booth: r.booths[0] || null
|
|
32057
32171
|
};
|
|
32058
|
-
let i =
|
|
32172
|
+
let i = aN(e);
|
|
32059
32173
|
return i ? {
|
|
32060
32174
|
type: "booth",
|
|
32061
32175
|
entity: i,
|
|
@@ -32089,7 +32203,7 @@ var KP = (zP = class {
|
|
|
32089
32203
|
this.rootStore.routeStore.updateRoute([]);
|
|
32090
32204
|
return;
|
|
32091
32205
|
}
|
|
32092
|
-
let c = s[0], l = s[s.length - 1], u = s.slice(1, -1), d = new
|
|
32206
|
+
let c = s[0], l = s[s.length - 1], u = s.slice(1, -1), d = new lN(c, l, u);
|
|
32093
32207
|
this.rootStore.routeStore.selectRoute(d, !1), this.rootStore.uiState.setIsMultiPointRoute(u.length > 0);
|
|
32094
32208
|
}
|
|
32095
32209
|
reorderItemsByNames(e) {
|
|
@@ -32127,35 +32241,35 @@ var KP = (zP = class {
|
|
|
32127
32241
|
focused: !1
|
|
32128
32242
|
}, this.rootStore.routeStore.selectRoute(null, !1);
|
|
32129
32243
|
}
|
|
32130
|
-
},
|
|
32244
|
+
}, JP = $P(qP.prototype, "items", [F], {
|
|
32131
32245
|
configurable: !0,
|
|
32132
32246
|
enumerable: !0,
|
|
32133
32247
|
writable: !0,
|
|
32134
32248
|
initializer: function() {
|
|
32135
32249
|
return [];
|
|
32136
32250
|
}
|
|
32137
|
-
}),
|
|
32251
|
+
}), YP = $P(qP.prototype, "startPoint", [F], {
|
|
32138
32252
|
configurable: !0,
|
|
32139
32253
|
enumerable: !0,
|
|
32140
32254
|
writable: !0,
|
|
32141
32255
|
initializer: function() {
|
|
32142
32256
|
return null;
|
|
32143
32257
|
}
|
|
32144
|
-
}),
|
|
32258
|
+
}), XP = $P(qP.prototype, "source", [F], {
|
|
32145
32259
|
configurable: !0,
|
|
32146
32260
|
enumerable: !0,
|
|
32147
32261
|
writable: !0,
|
|
32148
32262
|
initializer: function() {
|
|
32149
32263
|
return null;
|
|
32150
32264
|
}
|
|
32151
|
-
}),
|
|
32265
|
+
}), ZP = $P(qP.prototype, "excludedVisitedCount", [F], {
|
|
32152
32266
|
configurable: !0,
|
|
32153
32267
|
enumerable: !0,
|
|
32154
32268
|
writable: !0,
|
|
32155
32269
|
initializer: function() {
|
|
32156
32270
|
return 0;
|
|
32157
32271
|
}
|
|
32158
|
-
}),
|
|
32272
|
+
}), $P(qP.prototype, "resolvedBooths", [j], Object.getOwnPropertyDescriptor(qP.prototype, "resolvedBooths"), qP.prototype), $P(qP.prototype, "stopsCount", [j], Object.getOwnPropertyDescriptor(qP.prototype, "stopsCount"), qP.prototype), $P(qP.prototype, "startPointBoothOptions", [j], Object.getOwnPropertyDescriptor(qP.prototype, "startPointBoothOptions"), qP.prototype), $P(qP.prototype, "startPointAutocompleteOptions", [j], Object.getOwnPropertyDescriptor(qP.prototype, "startPointAutocompleteOptions"), qP.prototype), $P(qP.prototype, "title", [j], Object.getOwnPropertyDescriptor(qP.prototype, "title"), qP.prototype), $P(qP.prototype, "subtitleParts", [j], Object.getOwnPropertyDescriptor(qP.prototype, "subtitleParts"), qP.prototype), $P(qP.prototype, "routeFloors", [j], Object.getOwnPropertyDescriptor(qP.prototype, "routeFloors"), qP.prototype), $P(qP.prototype, "currentRouteFloor", [j], Object.getOwnPropertyDescriptor(qP.prototype, "currentRouteFloor"), qP.prototype), $P(qP.prototype, "setRouteFloor", [M], Object.getOwnPropertyDescriptor(qP.prototype, "setRouteFloor"), qP.prototype), $P(qP.prototype, "launch", [M], Object.getOwnPropertyDescriptor(qP.prototype, "launch"), qP.prototype), $P(qP.prototype, "launchFromBookmarks", [M], Object.getOwnPropertyDescriptor(qP.prototype, "launchFromBookmarks"), qP.prototype), $P(qP.prototype, "launchFromSlugs", [M], Object.getOwnPropertyDescriptor(qP.prototype, "launchFromSlugs"), qP.prototype), $P(qP.prototype, "buildRoute", [M], Object.getOwnPropertyDescriptor(qP.prototype, "buildRoute"), qP.prototype), $P(qP.prototype, "setStartPoint", [M], Object.getOwnPropertyDescriptor(qP.prototype, "setStartPoint"), qP.prototype), $P(qP.prototype, "removeItem", [M], Object.getOwnPropertyDescriptor(qP.prototype, "removeItem"), qP.prototype), $P(qP.prototype, "reorderItems", [M], Object.getOwnPropertyDescriptor(qP.prototype, "reorderItems"), qP.prototype), $P(qP.prototype, "close", [M], Object.getOwnPropertyDescriptor(qP.prototype, "close"), qP.prototype), qP), tF = {
|
|
32159
32273
|
uitestdemo: [{
|
|
32160
32274
|
id: "connected-business-tour",
|
|
32161
32275
|
layers: [{
|
|
@@ -32550,8 +32664,8 @@ var KP = (zP = class {
|
|
|
32550
32664
|
"16529024"
|
|
32551
32665
|
]
|
|
32552
32666
|
}]
|
|
32553
|
-
},
|
|
32554
|
-
function
|
|
32667
|
+
}, nF, rF, iF, aF, oF;
|
|
32668
|
+
function sF(e, t, n, r) {
|
|
32555
32669
|
n && Object.defineProperty(e, t, {
|
|
32556
32670
|
enumerable: n.enumerable,
|
|
32557
32671
|
configurable: n.configurable,
|
|
@@ -32559,7 +32673,7 @@ function $P(e, t, n, r) {
|
|
|
32559
32673
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
32560
32674
|
});
|
|
32561
32675
|
}
|
|
32562
|
-
function
|
|
32676
|
+
function cF(e, t, n, r, i) {
|
|
32563
32677
|
var a = {};
|
|
32564
32678
|
return Object.keys(r).forEach(function(e) {
|
|
32565
32679
|
a[e] = r[e];
|
|
@@ -32567,17 +32681,17 @@ function eF(e, t, n, r, i) {
|
|
|
32567
32681
|
return r(e, t, n) || n;
|
|
32568
32682
|
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
32569
32683
|
}
|
|
32570
|
-
var
|
|
32684
|
+
var lF = 1, uF = (nF = class {
|
|
32571
32685
|
constructor(e) {
|
|
32572
|
-
this.rootStore = void 0,
|
|
32686
|
+
this.rootStore = void 0, sF(this, "tours", rF, this), sF(this, "currentExpo", iF, this), sF(this, "hasTours", aF, this), sF(this, "toursLoadError", oF, this), this.rootStore = e, this.loadTours();
|
|
32573
32687
|
}
|
|
32574
32688
|
loadTours() {
|
|
32575
32689
|
try {
|
|
32576
|
-
if (this.currentExpo = $n.EXPO || "default", this.toursLoadError = null, !this.isValidToursData(
|
|
32690
|
+
if (this.currentExpo = $n.EXPO || "default", this.toursLoadError = null, !this.isValidToursData(tF)) {
|
|
32577
32691
|
this.toursLoadError = "Invalid tours data format", this.resetTours();
|
|
32578
32692
|
return;
|
|
32579
32693
|
}
|
|
32580
|
-
let e =
|
|
32694
|
+
let e = tF[this.currentExpo] || [];
|
|
32581
32695
|
if (!this.validateToursStructure(e)) {
|
|
32582
32696
|
this.toursLoadError = "Invalid tour items structure", this.resetTours();
|
|
32583
32697
|
return;
|
|
@@ -32594,7 +32708,7 @@ var tF = 1, nF = (JP = class {
|
|
|
32594
32708
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
32595
32709
|
}
|
|
32596
32710
|
validateToursStructure(e) {
|
|
32597
|
-
return Array.isArray(e) ? e.every((e) => e && typeof e == "object" && typeof e.id == "string" && Array.isArray(e.layers) && e.layers.length >=
|
|
32711
|
+
return Array.isArray(e) ? e.every((e) => e && typeof e == "object" && typeof e.id == "string" && Array.isArray(e.layers) && e.layers.length >= lF && (e.points === void 0 || Array.isArray(e.points))) : !1;
|
|
32598
32712
|
}
|
|
32599
32713
|
get tourItems() {
|
|
32600
32714
|
return this.tours;
|
|
@@ -32609,7 +32723,7 @@ var tF = 1, nF = (JP = class {
|
|
|
32609
32723
|
});
|
|
32610
32724
|
}
|
|
32611
32725
|
getToursForExpo(e) {
|
|
32612
|
-
return this.isValidToursData(
|
|
32726
|
+
return this.isValidToursData(tF) && tF[e] || [];
|
|
32613
32727
|
}
|
|
32614
32728
|
get currentTour() {
|
|
32615
32729
|
let { list: e } = this.rootStore.uiState;
|
|
@@ -32639,164 +32753,59 @@ var tF = 1, nF = (JP = class {
|
|
|
32639
32753
|
return e.points && e.points.length > 0 ? this.rootStore.fp.showPathway(i, e.points) : this.rootStore.fp.showPathwayOnly(i, a), this.rootStore.uiState.setTourTitle(t), this.rootStore.uiState.setTourDescription(n), this.rootStore.uiState.setIsMultiPointTour(!0), this.rootStore.uiState.setMultiPointTourList(e.id), !0;
|
|
32640
32754
|
}
|
|
32641
32755
|
validateTourForLaunch(e) {
|
|
32642
|
-
return e.layers.length <
|
|
32756
|
+
return e.layers.length < lF ? `Tour must have at least ${lF} layer` : null;
|
|
32643
32757
|
}
|
|
32644
32758
|
stopTour() {
|
|
32645
|
-
this.rootStore.uiState.setIsMultiPointTour(!1), this.rootStore.uiState.setPathwayOnlyMode(!1)
|
|
32759
|
+
this.rootStore.uiState.setIsMultiPointTour(!1), this.rootStore.uiState.setPathwayOnlyMode(!1);
|
|
32760
|
+
let e = this.rootStore.uiState.list.type;
|
|
32761
|
+
(e === "tours" || e === "multi-point-tour") && (this.rootStore.uiState.list = {
|
|
32646
32762
|
type: "search",
|
|
32647
32763
|
text: "",
|
|
32648
32764
|
focused: !1
|
|
32649
32765
|
}), this.rootStore.fp.hidePathways();
|
|
32650
32766
|
}
|
|
32651
|
-
},
|
|
32767
|
+
}, rF = cF(nF.prototype, "tours", [F], {
|
|
32652
32768
|
configurable: !0,
|
|
32653
32769
|
enumerable: !0,
|
|
32654
32770
|
writable: !0,
|
|
32655
32771
|
initializer: function() {
|
|
32656
32772
|
return [];
|
|
32657
32773
|
}
|
|
32658
|
-
}),
|
|
32774
|
+
}), iF = cF(nF.prototype, "currentExpo", [F], {
|
|
32659
32775
|
configurable: !0,
|
|
32660
32776
|
enumerable: !0,
|
|
32661
32777
|
writable: !0,
|
|
32662
32778
|
initializer: function() {
|
|
32663
32779
|
return "";
|
|
32664
32780
|
}
|
|
32665
|
-
}),
|
|
32781
|
+
}), aF = cF(nF.prototype, "hasTours", [F], {
|
|
32666
32782
|
configurable: !0,
|
|
32667
32783
|
enumerable: !0,
|
|
32668
32784
|
writable: !0,
|
|
32669
32785
|
initializer: function() {
|
|
32670
32786
|
return !1;
|
|
32671
32787
|
}
|
|
32672
|
-
}),
|
|
32788
|
+
}), oF = cF(nF.prototype, "toursLoadError", [F], {
|
|
32673
32789
|
configurable: !0,
|
|
32674
32790
|
enumerable: !0,
|
|
32675
32791
|
writable: !0,
|
|
32676
32792
|
initializer: function() {
|
|
32677
32793
|
return null;
|
|
32678
32794
|
}
|
|
32679
|
-
}),
|
|
32795
|
+
}), cF(nF.prototype, "loadTours", [M], Object.getOwnPropertyDescriptor(nF.prototype, "loadTours"), nF.prototype), cF(nF.prototype, "resetTours", [M], Object.getOwnPropertyDescriptor(nF.prototype, "resetTours"), nF.prototype), cF(nF.prototype, "tourItems", [j], Object.getOwnPropertyDescriptor(nF.prototype, "tourItems"), nF.prototype), cF(nF.prototype, "currentTour", [j], Object.getOwnPropertyDescriptor(nF.prototype, "currentTour"), nF.prototype), cF(nF.prototype, "isActive", [j], Object.getOwnPropertyDescriptor(nF.prototype, "isActive"), nF.prototype), cF(nF.prototype, "tourLayers", [j], Object.getOwnPropertyDescriptor(nF.prototype, "tourLayers"), nF.prototype), cF(nF.prototype, "launchTour", [M], Object.getOwnPropertyDescriptor(nF.prototype, "launchTour"), nF.prototype), cF(nF.prototype, "stopTour", [M], Object.getOwnPropertyDescriptor(nF.prototype, "stopTour"), nF.prototype), nF), dF = {
|
|
32680
32796
|
xs: 0,
|
|
32681
32797
|
sm: 480,
|
|
32682
32798
|
md: 768,
|
|
32683
32799
|
lg: 998,
|
|
32684
32800
|
xl: 1100
|
|
32685
32801
|
};
|
|
32686
|
-
function
|
|
32687
|
-
let { sm: t, md: n, lg: r, xl: i } =
|
|
32802
|
+
function fF(e) {
|
|
32803
|
+
let { sm: t, md: n, lg: r, xl: i } = dF;
|
|
32688
32804
|
return e < t ? "xs" : e >= t && e < n ? "sm" : e >= n && e < r ? "md" : e >= r && e < i ? "lg" : "xl";
|
|
32689
32805
|
}
|
|
32690
32806
|
//#endregion
|
|
32691
|
-
//#region src/
|
|
32692
|
-
var
|
|
32693
|
-
function lF(e, t, n, r) {
|
|
32694
|
-
n && Object.defineProperty(e, t, {
|
|
32695
|
-
enumerable: n.enumerable,
|
|
32696
|
-
configurable: n.configurable,
|
|
32697
|
-
writable: n.writable,
|
|
32698
|
-
value: n.initializer ? n.initializer.call(r) : void 0
|
|
32699
|
-
});
|
|
32700
|
-
}
|
|
32701
|
-
function uF(e, t, n, r, i) {
|
|
32702
|
-
var a = {};
|
|
32703
|
-
return Object.keys(r).forEach(function(e) {
|
|
32704
|
-
a[e] = r[e];
|
|
32705
|
-
}), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = n.slice().reverse().reduce(function(n, r) {
|
|
32706
|
-
return r(e, t, n) || n;
|
|
32707
|
-
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
32708
|
-
}
|
|
32709
|
-
var dF = (aF = class {
|
|
32710
|
-
constructor(e, t, n, r, i, a, o = { type: "speaker" }) {
|
|
32711
|
-
this.id = e, this.externalId = t, this.name = n, this.company = r, this.jobTitle = i, this.photoFile = a, this.entity = o, this.slug = void 0, lF(this, "bookmarked", oF, this), this.slug = yr(n || `speaker-${e}`);
|
|
32712
|
-
}
|
|
32713
|
-
get displayName() {
|
|
32714
|
-
return this.name;
|
|
32715
|
-
}
|
|
32716
|
-
get fullTitle() {
|
|
32717
|
-
let e = [this.name];
|
|
32718
|
-
return this.jobTitle && e.push(this.jobTitle), this.company && e.push(this.company), e.join(" - ");
|
|
32719
|
-
}
|
|
32720
|
-
get hasPhoto() {
|
|
32721
|
-
return !!this.photoFile;
|
|
32722
|
-
}
|
|
32723
|
-
get hasCompany() {
|
|
32724
|
-
return !!this.company;
|
|
32725
|
-
}
|
|
32726
|
-
get hasJobTitle() {
|
|
32727
|
-
return !!this.jobTitle;
|
|
32728
|
-
}
|
|
32729
|
-
}, oF = uF(aF.prototype, "bookmarked", [F], {
|
|
32730
|
-
configurable: !0,
|
|
32731
|
-
enumerable: !0,
|
|
32732
|
-
writable: !0,
|
|
32733
|
-
initializer: function() {
|
|
32734
|
-
return !1;
|
|
32735
|
-
}
|
|
32736
|
-
}), aF), fF = (sF = class {
|
|
32737
|
-
constructor(e) {
|
|
32738
|
-
this.rootStore = void 0, this.speakersMap = /* @__PURE__ */ new Map(), lF(this, "selectedSpeaker", cF, this), this.rootStore = e;
|
|
32739
|
-
}
|
|
32740
|
-
get speakers() {
|
|
32741
|
-
return Array.from(this.speakersMap.values()).sort((e, t) => e.name.localeCompare(t.name));
|
|
32742
|
-
}
|
|
32743
|
-
getSpeakerById(e) {
|
|
32744
|
-
return this.speakersMap.get(e);
|
|
32745
|
-
}
|
|
32746
|
-
getSpeakerBySlug(e) {
|
|
32747
|
-
return Array.from(this.speakersMap.values()).find((t) => t.slug === e);
|
|
32748
|
-
}
|
|
32749
|
-
addSpeaker(e) {
|
|
32750
|
-
if (this.speakersMap.has(e.id)) return this.speakersMap.get(e.id);
|
|
32751
|
-
let t = new dF(e.id, e.externalId, e.name, e.company, e.jobTitle, e.photoFile);
|
|
32752
|
-
return this.speakersMap.set(e.id, t), t;
|
|
32753
|
-
}
|
|
32754
|
-
get companies() {
|
|
32755
|
-
let e = /* @__PURE__ */ new Set();
|
|
32756
|
-
return this.speakers.forEach((t) => {
|
|
32757
|
-
t.company && e.add(t.company);
|
|
32758
|
-
}), Array.from(e).sort();
|
|
32759
|
-
}
|
|
32760
|
-
get jobTitles() {
|
|
32761
|
-
let e = /* @__PURE__ */ new Set();
|
|
32762
|
-
return this.speakers.forEach((t) => {
|
|
32763
|
-
t.jobTitle && e.add(t.jobTitle);
|
|
32764
|
-
}), Array.from(e).sort();
|
|
32765
|
-
}
|
|
32766
|
-
getSpeakersByCompany(e) {
|
|
32767
|
-
return this.speakers.filter((t) => t.company === e);
|
|
32768
|
-
}
|
|
32769
|
-
getSpeakersByJobTitle(e) {
|
|
32770
|
-
return this.speakers.filter((t) => t.jobTitle === e);
|
|
32771
|
-
}
|
|
32772
|
-
getEventsBySpeaker(e) {
|
|
32773
|
-
return this.rootStore.eventStore.eventItems.filter((t) => t.speakers.some((t) => t.id === e));
|
|
32774
|
-
}
|
|
32775
|
-
findBySlug(e) {
|
|
32776
|
-
return this.getSpeakerBySlug(e);
|
|
32777
|
-
}
|
|
32778
|
-
selectSpeaker(e, t = !0) {
|
|
32779
|
-
this.selectedSpeaker = e, this.rootStore.uiState.details = e, this.rootStore.uiState.desiredOverlaySize = "medium";
|
|
32780
|
-
}
|
|
32781
|
-
get bookmarked() {
|
|
32782
|
-
return this.speakers.filter((e) => e.bookmarked);
|
|
32783
|
-
}
|
|
32784
|
-
replaceBookmarked(e) {
|
|
32785
|
-
let t = (e || []).map((e) => this.speakersMap.get(e)).filter((e) => e), n = new Set(t), r = this.bookmarked.filter((e) => !n.has(e));
|
|
32786
|
-
for (let e of r) e.bookmarked = !1;
|
|
32787
|
-
for (let e of t) e.bookmarked = !0;
|
|
32788
|
-
}
|
|
32789
|
-
clearSelectedSpeaker() {
|
|
32790
|
-
this.selectedSpeaker = null, this.rootStore.uiState.details = null;
|
|
32791
|
-
}
|
|
32792
|
-
}, cF = uF(sF.prototype, "selectedSpeaker", [F], {
|
|
32793
|
-
configurable: !0,
|
|
32794
|
-
enumerable: !0,
|
|
32795
|
-
writable: !0,
|
|
32796
|
-
initializer: function() {
|
|
32797
|
-
return null;
|
|
32798
|
-
}
|
|
32799
|
-
}), uF(sF.prototype, "speakers", [j], Object.getOwnPropertyDescriptor(sF.prototype, "speakers"), sF.prototype), uF(sF.prototype, "companies", [j], Object.getOwnPropertyDescriptor(sF.prototype, "companies"), sF.prototype), uF(sF.prototype, "jobTitles", [j], Object.getOwnPropertyDescriptor(sF.prototype, "jobTitles"), sF.prototype), uF(sF.prototype, "selectSpeaker", [M], Object.getOwnPropertyDescriptor(sF.prototype, "selectSpeaker"), sF.prototype), uF(sF.prototype, "bookmarked", [j], Object.getOwnPropertyDescriptor(sF.prototype, "bookmarked"), sF.prototype), uF(sF.prototype, "replaceBookmarked", [M], Object.getOwnPropertyDescriptor(sF.prototype, "replaceBookmarked"), sF.prototype), uF(sF.prototype, "clearSelectedSpeaker", [M], Object.getOwnPropertyDescriptor(sF.prototype, "clearSelectedSpeaker"), sF.prototype), sF), pF = (e) => e.trim().replace(/[^a-z0-9]/gi, "");
|
|
32807
|
+
//#region src/utils/sanitizeText.ts
|
|
32808
|
+
var pF = (e) => e.trim().replace(/[^a-z0-9]/gi, "");
|
|
32800
32809
|
function mF(e, t = []) {
|
|
32801
32810
|
if (!e) return "";
|
|
32802
32811
|
let n = [
|
|
@@ -32805,7 +32814,7 @@ function mF(e, t = []) {
|
|
|
32805
32814
|
"fbclid=",
|
|
32806
32815
|
"lp_id=",
|
|
32807
32816
|
"lp_token=",
|
|
32808
|
-
`${
|
|
32817
|
+
`${kN()}=`
|
|
32809
32818
|
].concat(t || []), r = RegExp(`(^|\\?|&)(${n.join("|")})[^&]*`, "g");
|
|
32810
32819
|
return e.replace(r, "").replace(/(^|[?&])([^=&#]+)=(?=&|$)/g, (e, t, n) => `${t}${n}`);
|
|
32811
32820
|
}
|
|
@@ -32902,11 +32911,11 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
32902
32911
|
if (((e = this.list) == null ? void 0 : e.type) === "search" && !((t = this.list) == null || (t = t.text) == null) && t.trim().length) {
|
|
32903
32912
|
l.clear();
|
|
32904
32913
|
let e = this.fuzzySearchItems.filter((e) => e.score === 0).map((e) => e.item);
|
|
32905
|
-
e.length ? lL(e, this.rootStore.boothStore.booths).forEach((e) => l.add(e.id.toString())) : this.listBooths.forEach((e) => l.add(e.id.toString()));
|
|
32914
|
+
e.length ? lL(e, this.rootStore.boothStore.booths, this.rootStore.eventStore.eventItems).forEach((e) => l.add(e.id.toString())) : this.listBooths.forEach((e) => l.add(e.id.toString()));
|
|
32906
32915
|
}
|
|
32907
32916
|
if (((n = this.list) == null ? void 0 : n.type) === "filter" && (l.clear(), this.list.items.flatMap((e) => e.booths.filter((e) => e instanceof Zr)).forEach((e) => l.add(e.id.toString()))), this.categoryFilterOpen && this.selectedCategoryFilters.length > 0 ? (l.clear(), this.selectedCategoryFilters.forEach((e) => {
|
|
32908
32917
|
e.exhibitors.flatMap((e) => e.booths).forEach((e) => l.add(e.id.toString()));
|
|
32909
|
-
})) : ((r = this.list) == null ? void 0 : r.type) === "category" && (l.clear(), this.list.category.exhibitors.flatMap((e) => e.booths).forEach((e) => l.add(e.id.toString()))), ((i = this.list) == null ? void 0 : i.type) === "bookmarks" && (l.clear(), this.
|
|
32918
|
+
})) : ((r = this.list) == null ? void 0 : r.type) === "category" && (l.clear(), this.list.category.exhibitors.flatMap((e) => e.booths).forEach((e) => l.add(e.id.toString()))), ((i = this.list) == null ? void 0 : i.type) === "bookmarks" && (l.clear(), lL(this.listItems, this.rootStore.boothStore.booths, this.rootStore.eventStore.eventItems).forEach((e) => l.add(e.id.toString()))), ((a = this.list) == null ? void 0 : a.type) === "visited" && (l.clear(), lL(this.listItems, this.rootStore.boothStore.booths, this.rootStore.eventStore.eventItems).forEach((e) => l.add(e.id.toString()))), ((o = this.list) == null ? void 0 : o.type) === "exhibitors") {
|
|
32910
32919
|
var u;
|
|
32911
32920
|
l.clear();
|
|
32912
32921
|
let e = (u = this.list.text) == null ? void 0 : u.toLowerCase().trim(), t = this.rootStore.exhibitorStore.exhibitors;
|
|
@@ -32914,7 +32923,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
32914
32923
|
}
|
|
32915
32924
|
if (this.selectedPoiTypeFilters.length > 0 && (l.clear(), this.selectedPoiTypeFilters.forEach((e) => {
|
|
32916
32925
|
this.rootStore.boothStore.booths.filter((t) => t.poiTypeId === e.id).forEach((e) => l.add(e.id.toString()));
|
|
32917
|
-
})), this.details instanceof
|
|
32926
|
+
})), this.details instanceof lN) {
|
|
32918
32927
|
var d, f, p;
|
|
32919
32928
|
l.clear(), l.add((d = this.details.from) == null ? void 0 : d.id.toString()), l.add((f = this.details.to) == null ? void 0 : f.id.toString()), (p = this.details.waypoints) == null || p.forEach((e) => l.add(e.id.toString()));
|
|
32920
32929
|
}
|
|
@@ -32977,7 +32986,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
32977
32986
|
id: "route",
|
|
32978
32987
|
className: "efp-overlay-route",
|
|
32979
32988
|
priority: 70,
|
|
32980
|
-
isActive: () => this.details instanceof
|
|
32989
|
+
isActive: () => this.details instanceof lN,
|
|
32981
32990
|
searchBoxConfig: () => (this.details, {
|
|
32982
32991
|
mode: "details",
|
|
32983
32992
|
title: P("Directions")
|
|
@@ -33083,7 +33092,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33083
33092
|
id: "speaker",
|
|
33084
33093
|
className: "efp-overlay-speaker",
|
|
33085
33094
|
priority: 50,
|
|
33086
|
-
isActive: () => this.details instanceof
|
|
33095
|
+
isActive: () => this.details instanceof gA,
|
|
33087
33096
|
searchBoxConfig: () => ({
|
|
33088
33097
|
mode: "details",
|
|
33089
33098
|
title: this.details.name
|
|
@@ -33123,7 +33132,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33123
33132
|
id: "route-planner",
|
|
33124
33133
|
className: "efp-overlay-route-planner",
|
|
33125
33134
|
priority: 76,
|
|
33126
|
-
isActive: () => this.list.type === "route-planner" && (!this.details || this.details instanceof
|
|
33135
|
+
isActive: () => this.list.type === "route-planner" && (!this.details || this.details instanceof lN),
|
|
33127
33136
|
searchBoxConfig: () => ({
|
|
33128
33137
|
mode: "interface",
|
|
33129
33138
|
title: P("Route planner")
|
|
@@ -33175,10 +33184,10 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33175
33184
|
return this.list.type === "category" ? this.list.category : null;
|
|
33176
33185
|
}
|
|
33177
33186
|
get selectedRoute() {
|
|
33178
|
-
return this.details instanceof
|
|
33187
|
+
return this.details instanceof lN ? this.details : null;
|
|
33179
33188
|
}
|
|
33180
33189
|
get selectedSpeaker() {
|
|
33181
|
-
return this.details instanceof
|
|
33190
|
+
return this.details instanceof gA ? this.details : null;
|
|
33182
33191
|
}
|
|
33183
33192
|
get uiScale() {
|
|
33184
33193
|
return this._customUIScale === null ? this.kiosk ? 1.2 : 1 : this._customUIScale;
|
|
@@ -33240,7 +33249,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33240
33249
|
return this.overlayBottom ? "top" : this.wsDesktopPosition;
|
|
33241
33250
|
}
|
|
33242
33251
|
get responsiveClass() {
|
|
33243
|
-
return
|
|
33252
|
+
return fF(this.screenSize.width);
|
|
33244
33253
|
}
|
|
33245
33254
|
get mapVisibleTop() {
|
|
33246
33255
|
return (this.wsPosition === "top" ? this.wsOccupiedHeightPx : 0) + this.headerHeightPx;
|
|
@@ -33256,7 +33265,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33256
33265
|
}
|
|
33257
33266
|
get fullSizeOffset() {
|
|
33258
33267
|
let e = this.wsShown ? 54 : 0, t = this.bannerType === "free" && !this.freeBannerDismissed ? 40 : 0;
|
|
33259
|
-
if (this.details && !(this.details instanceof
|
|
33268
|
+
if (this.details && !(this.details instanceof lN)) return e + t + 20;
|
|
33260
33269
|
let n = this.shouldShowSearchButtons ? 54 : 0;
|
|
33261
33270
|
return e + t + 54 + 20 + n;
|
|
33262
33271
|
}
|
|
@@ -33439,7 +33448,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33439
33448
|
return i.sort((e, t) => e.pos - t.pos), [...i.map((e) => e.result), ...a];
|
|
33440
33449
|
}
|
|
33441
33450
|
get listItems() {
|
|
33442
|
-
if (this.details instanceof
|
|
33451
|
+
if (this.details instanceof lN && this.list.type !== "multi-point-tour") return [this.details.from, this.details.to].filter((e) => e);
|
|
33443
33452
|
switch (this.list.type) {
|
|
33444
33453
|
case "search":
|
|
33445
33454
|
let t = !(this.heatmap || this.heatmapYah) && this.rootStore.fuzzySearchEngineStore.engine ? this.fuzzySearchItems.map(({ item: e }) => e).concat(this.foundInDescription) : this.searchItems;
|
|
@@ -33477,7 +33486,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33477
33486
|
let e = this.rootStore.boothStore.boothById.get(t);
|
|
33478
33487
|
if (e) return e;
|
|
33479
33488
|
}
|
|
33480
|
-
let n =
|
|
33489
|
+
let n = oN(e);
|
|
33481
33490
|
return (n == null ? void 0 : n.entity) || null;
|
|
33482
33491
|
}).filter(Boolean);
|
|
33483
33492
|
case "route-planner": return this.rootStore.routePlannerStore.resolvedBooths;
|
|
@@ -33485,7 +33494,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33485
33494
|
throw Error("Unknown list.type");
|
|
33486
33495
|
}
|
|
33487
33496
|
get listBooths() {
|
|
33488
|
-
return lL(this.listItems, this.rootStore.boothStore.booths);
|
|
33497
|
+
return lL(this.listItems, this.rootStore.boothStore.booths, this.rootStore.eventStore.eventItems);
|
|
33489
33498
|
}
|
|
33490
33499
|
get selectedBooths() {
|
|
33491
33500
|
var e;
|
|
@@ -33582,7 +33591,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33582
33591
|
get routeQRCodeUrl() {
|
|
33583
33592
|
var e, t;
|
|
33584
33593
|
let n = new URL(this.baseQRCodeUrl), r = ((e = this.selectedRoute) == null || (e = e.to) == null ? void 0 : e.slug) || "", i = ((t = this.selectedRoute) == null || (t = t.from) == null ? void 0 : t.slug) || "";
|
|
33585
|
-
n.search = `?route%3A${encodeURIComponent(r)}%3A${encodeURIComponent(i)}%3Afalse`,
|
|
33594
|
+
n.search = `?route%3A${encodeURIComponent(r)}%3A${encodeURIComponent(i)}%3Afalse`, LN(n.searchParams, this.kioskData, [
|
|
33586
33595
|
"x",
|
|
33587
33596
|
"y",
|
|
33588
33597
|
"z"
|
|
@@ -33899,7 +33908,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33899
33908
|
enumerable: !0,
|
|
33900
33909
|
writable: !0,
|
|
33901
33910
|
initializer: function() {
|
|
33902
|
-
return !!
|
|
33911
|
+
return !!kP();
|
|
33903
33912
|
}
|
|
33904
33913
|
}), yI = J(K.prototype, "hideHeaderLogo", [F], {
|
|
33905
33914
|
configurable: !0,
|
|
@@ -34182,11 +34191,11 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
34182
34191
|
writable: !0,
|
|
34183
34192
|
initializer: null
|
|
34184
34193
|
}), J(K.prototype, "setKioskData", [M], Object.getOwnPropertyDescriptor(K.prototype, "setKioskData"), K.prototype), K);
|
|
34185
|
-
function lL(e, t) {
|
|
34186
|
-
let
|
|
34194
|
+
function lL(e, t, n = []) {
|
|
34195
|
+
let r = [];
|
|
34187
34196
|
return e.forEach((e) => {
|
|
34188
|
-
e instanceof _i ?
|
|
34189
|
-
}), new Set(
|
|
34197
|
+
e instanceof _i ? r.push(...e.booths) : e instanceof Xr ? r.push(e) : e instanceof ca ? e.boothId && r.push(t.find((t) => t.id === e.boothId)) : e instanceof gA && n.filter((t) => t.speakers.some((t) => t.id === e.id) && t.boothId).forEach((e) => r.push(t.find((t) => t.id === e.boothId)));
|
|
34198
|
+
}), new Set(r.filter(Boolean));
|
|
34190
34199
|
}
|
|
34191
34200
|
//#endregion
|
|
34192
34201
|
//#region src/store/PoiTypeStore.ts
|
|
@@ -34220,7 +34229,7 @@ var hL = (dL = class {
|
|
|
34220
34229
|
}
|
|
34221
34230
|
async buildEngine() {
|
|
34222
34231
|
try {
|
|
34223
|
-
let { default: e } = await import("./fuse-
|
|
34232
|
+
let { default: e } = await import("./fuse-CjSkZXtV.js").then((e) => e.n);
|
|
34224
34233
|
E(() => {
|
|
34225
34234
|
this.engine = new e([], {
|
|
34226
34235
|
keys: this.keys,
|
|
@@ -34475,7 +34484,7 @@ var OL = class {
|
|
|
34475
34484
|
}
|
|
34476
34485
|
get searchBoxClass() {
|
|
34477
34486
|
return {
|
|
34478
|
-
"is-details": this.searchBoxMode === "details" && !(this.uiState.details instanceof
|
|
34487
|
+
"is-details": this.searchBoxMode === "details" && !(this.uiState.details instanceof lN),
|
|
34479
34488
|
"is-interface": this.searchBoxMode === "interface",
|
|
34480
34489
|
"has-shadow": this.shouldShowShadow,
|
|
34481
34490
|
"has-subtitle": !!this.searchBoxConfig.subtitle,
|
|
@@ -34483,7 +34492,7 @@ var OL = class {
|
|
|
34483
34492
|
"has-icon": !!this.searchBoxConfig.icon,
|
|
34484
34493
|
"is-overlay-full": this.uiState.isOverlayOpen && this.uiState.overlaySize === "full",
|
|
34485
34494
|
"is-featured-exhibitor": this.uiState.isFeaturedExhibitorActive,
|
|
34486
|
-
"is-route": this.uiState.details instanceof
|
|
34495
|
+
"is-route": this.uiState.details instanceof lN,
|
|
34487
34496
|
"is-guided-tours": this.uiState.isGuidedToursActive,
|
|
34488
34497
|
"is-overlay-scrolled": this.uiState.isOverlayScrolled,
|
|
34489
34498
|
"overlay-pulse": this.uiState.kiosk && this.uiState.inIdle && !this.uiState.setKioskModeEnabled
|
|
@@ -34521,7 +34530,7 @@ var OL = class {
|
|
|
34521
34530
|
return;
|
|
34522
34531
|
}
|
|
34523
34532
|
if (t.type === "route-planner") {
|
|
34524
|
-
this.rootStore.routePlannerStore.close(), this.rootStore.selectBookmarks(),
|
|
34533
|
+
this.rootStore.routePlannerStore.close(), this.rootStore.selectBookmarks(), sP();
|
|
34525
34534
|
return;
|
|
34526
34535
|
}
|
|
34527
34536
|
if (t.type === "multi-point-tour" && !e.details) {
|
|
@@ -34529,7 +34538,7 @@ var OL = class {
|
|
|
34529
34538
|
return;
|
|
34530
34539
|
}
|
|
34531
34540
|
if (e.details) {
|
|
34532
|
-
e.details = null,
|
|
34541
|
+
e.details = null, sP();
|
|
34533
34542
|
return;
|
|
34534
34543
|
}
|
|
34535
34544
|
if (e.menu) {
|
|
@@ -34548,7 +34557,7 @@ var OL = class {
|
|
|
34548
34557
|
}, this.setFocused(!0), this.isClearMode = !0, OL.closeMenu(e);
|
|
34549
34558
|
return;
|
|
34550
34559
|
}
|
|
34551
|
-
if (t.type === "tours" && e.details instanceof
|
|
34560
|
+
if (t.type === "tours" && e.details instanceof lN) {
|
|
34552
34561
|
e.details = null;
|
|
34553
34562
|
return;
|
|
34554
34563
|
}
|
|
@@ -34562,7 +34571,7 @@ var OL = class {
|
|
|
34562
34571
|
e.details = null;
|
|
34563
34572
|
return;
|
|
34564
34573
|
case "multi-point-tour":
|
|
34565
|
-
this.rootStore.fp.hidePathways(), OL.closeDetails(e) ? OL.returnToTours(e, !1) :
|
|
34574
|
+
this.rootStore.fp.hidePathways(), OL.closeDetails(e) ? OL.returnToTours(e, !1) : sP();
|
|
34566
34575
|
return;
|
|
34567
34576
|
case "category":
|
|
34568
34577
|
this.rootStore.selectCategory(t.category);
|
|
@@ -34650,7 +34659,7 @@ var OL = class {
|
|
|
34650
34659
|
return (e === "bookmarks" || e === "visited") && !this.uiState.details && !this.uiState.menu || this.shouldShowSearchInput && !this.searchText ? "menu" : "back";
|
|
34651
34660
|
}
|
|
34652
34661
|
get isMobileDetailsMode() {
|
|
34653
|
-
return window.innerWidth < 768 && this.uiState.details !== null && this.uiState.overlaySize === "full" && !(this.uiState.details instanceof
|
|
34662
|
+
return window.innerWidth < 768 && this.uiState.details !== null && this.uiState.overlaySize === "full" && !(this.uiState.details instanceof lN);
|
|
34654
34663
|
}
|
|
34655
34664
|
get shouldShowTitle() {
|
|
34656
34665
|
return !this.shouldShowSearchInput;
|
|
@@ -36356,12 +36365,12 @@ var XR = (Z = class {
|
|
|
36356
36365
|
this.resetCameraFn = e;
|
|
36357
36366
|
}
|
|
36358
36367
|
constructor() {
|
|
36359
|
-
this.categoryStore = void 0, this.exhibitorStore = void 0, this.boothStore = void 0, this.uiState = void 0, this.routeStore = void 0, this.routePlannerStore = void 0, this.toursStore = void 0, this.mapboxStore = void 0, this.layerStore = void 0, this.eventStore = void 0, this.poiTypeStore = void 0, this.heatmapStore = void 0, this.fuzzySearchEngineStore = void 0, this.categoryFilterStore = void 0, this.sessionsFilterStore = void 0, this.speakerStore = void 0, this.speakerFilterStore = void 0, this.searchStore = void 0, this.searchButtonsStore = void 0, this.bookmarksStore = void 0, this.urlFilterManager = void 0, this.shortcutRegistry = void 0, this.rendererService = new nO(), this.fp = void 0, JR(this, "initialized", KR, this), JR(this, "resetCameraFn", qR, this), this.categoryStore = new zi(this), this.exhibitorStore = new gi(this), this.boothStore = new Yr(this), this.routeStore = new
|
|
36368
|
+
this.categoryStore = void 0, this.exhibitorStore = void 0, this.boothStore = void 0, this.uiState = void 0, this.routeStore = void 0, this.routePlannerStore = void 0, this.toursStore = void 0, this.mapboxStore = void 0, this.layerStore = void 0, this.eventStore = void 0, this.poiTypeStore = void 0, this.heatmapStore = void 0, this.fuzzySearchEngineStore = void 0, this.categoryFilterStore = void 0, this.sessionsFilterStore = void 0, this.speakerStore = void 0, this.speakerFilterStore = void 0, this.searchStore = void 0, this.searchButtonsStore = void 0, this.bookmarksStore = void 0, this.urlFilterManager = void 0, this.shortcutRegistry = void 0, this.rendererService = new nO(), this.fp = void 0, JR(this, "initialized", KR, this), JR(this, "resetCameraFn", qR, this), this.categoryStore = new zi(this), this.exhibitorStore = new gi(this), this.boothStore = new Yr(this), this.routeStore = new nN(this), this.routePlannerStore = new eF(this), this.toursStore = new uF(this), this.uiState = new cL(this), this.mapboxStore = new KP(this), this.layerStore = new Mk(), this.eventStore = new sa(this), this.heatmapStore = new fa(this), this.poiTypeStore = new uL(this), this.fuzzySearchEngineStore = new hL([
|
|
36360
36369
|
"name",
|
|
36361
36370
|
"title",
|
|
36362
36371
|
"fullName",
|
|
36363
36372
|
"booths.name"
|
|
36364
|
-
]), this.categoryFilterStore = new lA(this), this.sessionsFilterStore = new xL(this), this.speakerStore = new
|
|
36373
|
+
]), this.categoryFilterStore = new lA(this), this.sessionsFilterStore = new xL(this), this.speakerStore = new _A(this), this.speakerFilterStore = new zR(this), this.searchStore = new kL(this), this.searchButtonsStore = new pR(this), this.bookmarksStore = new vR(this), this.urlFilterManager = new TR(this), this.shortcutRegistry = new ER(), this.registerShortcutProviders();
|
|
36365
36374
|
}
|
|
36366
36375
|
selectExhibitor(e, t = !0) {
|
|
36367
36376
|
this.uiState.hoveredExhibitor = null, this.uiState.details = e;
|
|
@@ -36484,7 +36493,7 @@ var XR = (Z = class {
|
|
|
36484
36493
|
this.uiState.onBoothClick(n);
|
|
36485
36494
|
}
|
|
36486
36495
|
e.exhibitors.length === 1 && e instanceof Zr ? (this.heatmapStore.forceTrack = {
|
|
36487
|
-
action:
|
|
36496
|
+
action: DP.ViewBooth,
|
|
36488
36497
|
label: e.name
|
|
36489
36498
|
}, this.selectExhibitor(e.exhibitors[0], !1)) : this.selectBooth(e, !1), this.showMap();
|
|
36490
36499
|
}
|
|
@@ -36510,7 +36519,16 @@ var XR = (Z = class {
|
|
|
36510
36519
|
e = e || this.uiState.listItems;
|
|
36511
36520
|
let t = [];
|
|
36512
36521
|
e.forEach((e) => {
|
|
36513
|
-
e instanceof _i
|
|
36522
|
+
if (e instanceof _i) t.push(...e.booths.filter((e) => e.visible));
|
|
36523
|
+
else if (e instanceof Xr) e.visible && t.push(e);
|
|
36524
|
+
else if (e instanceof ca && e.boothId) {
|
|
36525
|
+
let n = this.boothStore.boothById.get(e.boothId);
|
|
36526
|
+
n != null && n.visible && t.push(n);
|
|
36527
|
+
} else e instanceof gA && this.speakerStore.getEventsBySpeaker(e.id).forEach((e) => {
|
|
36528
|
+
if (!e.boothId) return;
|
|
36529
|
+
let n = this.boothStore.boothById.get(e.boothId);
|
|
36530
|
+
n != null && n.visible && t.push(n);
|
|
36531
|
+
});
|
|
36514
36532
|
}), this.uiState.moveToBooths = t;
|
|
36515
36533
|
}
|
|
36516
36534
|
moveToExhibitor(e) {
|
|
@@ -36602,7 +36620,7 @@ Q.categoryStore;
|
|
|
36602
36620
|
var $R = Q.layerStore, ez = Q.heatmapStore, tz = Q.searchStore;
|
|
36603
36621
|
Q.toursStore, window.__store = Q;
|
|
36604
36622
|
//#endregion
|
|
36605
|
-
export {
|
|
36623
|
+
export { ZA as $, Hd as $t, _N as A, va as An, wD as At, vM as B, Qr as Bn, qh as Bt, PN as C, sd as Cn, AD as Ct, jN as D, ha as Dn, zD as Dt, MN as E, _a as En, RD as Et, jM as F, Bi as Fn, Fm as Ft, dM as G, lr as Gn, hh as Gt, mM as H, wr as Hn, dh as Ht, kM as I, Ci as In, Lc as It, tM as J, Yn as Jn, ch as Jt, lM as K, R as Kn, mm as Kt, bM as L, _i as Ln, Ff as Lt, lN as M, pa as Mn, Vb as Mt, aN as N, ca as Nn, Qv as Nt, CN as O, ma as On, BD as Ot, sN as P, ea as Pn, ep as Pt, tj as Q, Me as Qn, Lu as Qt, CM as R, Xr as Rn, Zu as Rt, iP as S, V as Sn, ID as St, NN as T, Mc as Tn, ND as Tt, fM as U, pr as Un, Kf as Ut, _M as V, Dr as Vn, sh as Vt, uM as W, dr as Wn, Pp as Wt, QA as X, Ne as Xn, Pc as Xt, Wj as Y, Je as Yn, wh as Yt, ej as Z, ze as Zn, Rf as Zt, MP as _, Kh as _n, eO as _t, Q as a, Op as an, $k as at, aP as b, ph as bn, FD as bt, xF as c, Mm as cn, kk as ct, _F as d, Vd as dn, pk as dt, fp as en, $A as et, DP as f, Uh as fn, ck as ft, NP as g, Rm as gn, pO as gt, kP as h, Lp as hn, CO as ht, tz as i, zc as in, gA as it, uN as j, ya as jn, dD as jt, bN as k, ga as kn, xD as kt, bF as l, Dm as ln, hk as lt, IP as m, tu as mn, $O as mt, ZR as n, Um as nn, WA as nt, $ as o, Kp as on, qk as ot, OP as p, Ic as pn, nk as pt, sM as q, $n as qn, Em as qt, $R as r, Hm as rn, vA as rt, uR as s, Lm as sn, Ak as st, QR as t, zf as tn, GA as tt, gF as u, fd as un, mk as ut, AP as v, Fc as vn, WD as vt, FN as w, Nc as wn, MD as wt, oP as x, B as xn, PD as xt, xP as y, od as yn, jD as yt, yM as z, Zr as zn, Pm as zt };
|
|
36606
36624
|
|
|
36607
36625
|
;/* vite-per-chunk-css */
|
|
36608
36626
|
__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);
|