@expofp/floorplan 3.2.3 → 3.2.5
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-BjWaFysp.js → CookieConsent-Dg2oD8sN.js} +775 -775
- package/dist/browser/{Debug-BMQ8SfFR.js → Debug-CbQznba_.js} +6 -6
- package/dist/browser/{Demo-ieXEa2wh.js → Demo-BdNX6_TP.js} +8 -8
- package/dist/browser/{Free-Cea7PYh9.js → Free-BwoR5utw.js} +8 -8
- package/dist/browser/{Gallery-CCa34ys6.js → Gallery-CXfebPUO.js} +10 -10
- package/dist/browser/{GpsLoader-Cj-BJQaZ.js → GpsLoader-Br89Qdn5.js} +29 -29
- package/dist/browser/{KioskStore-BjowTLA0.js → KioskStore-B2-ZAICw.js} +15 -15
- package/dist/browser/{Mapbox-DEsddFI2.js → Mapbox-B5PiDpk1.js} +8 -8
- package/dist/browser/{SetKioskMode-gokOhIPX.js → SetKioskMode-CeBuv4Qc.js} +19 -19
- package/dist/browser/{ShowKiosk-DcA-Zx_R.js → ShowKiosk-CfxC8v7B.js} +11 -11
- package/dist/browser/{ThreeComponent-CJ6_n_Rl.js → ThreeComponent-yHjpVIkt.js} +9 -9
- package/dist/browser/{TouchHand-D-T5x7kN.js → TouchHand-BEAsV_dg.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-C7_ex3Bl.js → ViewerMenuPanel-Db8sxCQM.js} +21 -21
- package/dist/browser/{add-debug-secret-listener-C29UbTne.js → add-debug-secret-listener-BLEkj_Uk.js} +1 -1
- package/dist/browser/{boolean-editor-DNZuaoGD.js → boolean-editor-COimNwU3.js} +12 -12
- package/dist/browser/{bootIntercom-CMxFo3J8.js → bootIntercom-DjZFUOTC.js} +1 -1
- package/dist/browser/{box-DRinbqBx.js → box-BQZT5OqH.js} +16 -16
- package/dist/browser/{browser-zRPWCVwe.js → browser-8dPZoUbt.js} +2 -2
- package/dist/browser/bundle.json +53 -56
- package/dist/browser/{classnames-B7rnCsjB.js → classnames-BCwn2LMt.js} +2 -2
- package/dist/browser/{client-CJ9-09fR.js → client-Db8--ZUb.js} +9 -9
- package/dist/browser/{data-DlDWZI18.js → data-DmyuOKjY.js} +50 -50
- package/dist/browser/{debug-overlay-C5CPqrp6.js → debug-overlay-B4Z5LEoG.js} +27 -27
- package/dist/browser/{debug-ui-CTPaadQy.js → debug-ui-CvJwtvIB.js} +6 -6
- package/dist/browser/{dist-C3s2EJSp.js → dist-BG3wb6v1.js} +5 -5
- package/dist/browser/{dist-DinpbMpg.js → dist-C97JwCm0.js} +11 -11
- package/dist/browser/{dist-CDGPk2FL.js → dist-Dci3wfOd.js} +7 -7
- package/dist/browser/{efp-debug-init-Dy19u1Ti.js → efp-debug-init-p9zcimBs.js} +2 -2
- package/dist/browser/{enum-editor-Cq7IrrSA.js → enum-editor-o306HPmN.js} +14 -14
- package/dist/browser/{exports-CWZ_c0HJ.js → exports-CStWW5-w.js} +38 -37
- package/dist/browser/{favicon-BZ-OaL5G.js → favicon-BA1CtVMn.js} +1 -1
- package/dist/browser/{fetch-retry.umd-LWFsHf9L.js → fetch-retry.umd-Baj5gCtY.js} +2 -2
- package/dist/browser/{flex-BwBpygu1.js → flex-Bk7NLAwd.js} +8 -8
- package/dist/browser/{flex.props-CSoYeWjb.js → flex.props-DYJg7oQW.js} +4 -4
- package/dist/browser/{floorplan.loader-DOJ57WNq.js → floorplan.loader-DSLFX3Z1.js} +716 -684
- package/dist/browser/{floorplan.ready-CsgaADA6.js → floorplan.ready-D1C9tWKU.js} +267 -267
- package/dist/browser/{fuse-WHPykNSV.js → fuse-DHUSTGYM.js} +2 -2
- package/dist/browser/index.js +31 -30
- package/dist/browser/{is-debug-DyubFx37.js → is-debug-Hdaykk22.js} +4 -4
- package/dist/browser/{jsx-runtime-BICfBchw.js → jsx-runtime-BudMXsuy.js} +4 -4
- package/dist/browser/{lib-BOBi21y9.js → lib-Dl-Q0kBv.js} +5 -5
- package/dist/browser/{main-BZnuj_rf.js → main-C74Uu09R.js} +1 -1
- package/dist/browser/{mobx-B4yoAHaA.js → mobx-CqnQOCE3.js} +4 -4
- package/dist/browser/{particles.min-BRIIrex2.js → particles.min-By5wV8f0.js} +2 -2
- package/dist/browser/{prop-types-DHsQF0Hm.js → prop-types-PFP3f1FZ.js} +2 -2
- package/dist/browser/{react-CkPRU_Bs.js → react-COj6SqvB.js} +5 -5
- package/dist/browser/{react-dom-B0REPHo1.js → react-dom-BdCxtmki.js} +6 -6
- package/dist/browser/{reset-all-settings-Goz0Wk4q.js → reset-all-settings-BQEz2q9w.js} +7 -7
- package/dist/browser/{rolldown-runtime-CHY39iDV.js → rolldown-runtime-msuxsciZ.js} +1 -1
- package/dist/browser/{settings-BUujSniv.js → settings-C0lWPVRL.js} +2 -2
- package/dist/browser/{settings-item-T481NRWm.js → settings-item-Y4RmHiJ4.js} +8 -8
- package/dist/browser/{store-B01ClAzF.js → store-5PES-APA.js} +711 -695
- package/dist/browser/{string-editor-B1MRuAsA.js → string-editor-CDEAe6WK.js} +10 -10
- package/dist/browser/{theme-BYfCkbR5.js → theme-yitmRjt6.js} +29 -29
- package/dist/browser/{ui-DznZ-A7A.js → ui--XBIRzrF.js} +8 -8
- package/dist/esm/components/LevelSelector.js +1 -1
- package/dist/esm/load.js +3 -3
- 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
- package/dist/browser/template.html +0 -113
|
@@ -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.5" };
|
|
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] = "ac3393ca-94f4-4842-9df6-fe1c3f8d6b3d", e._sentryDebugIdIdentifier = "sentry-dbid-ac3393ca-94f4-4842-9df6-fe1c3f8d6b3d");
|
|
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-msuxsciZ.js";
|
|
11
|
+
import { t as n } from "./react-COj6SqvB.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-BudMXsuy.js";
|
|
13
|
+
import { t as i } from "./browser-8dPZoUbt.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-Hdaykk22.js";
|
|
15
|
+
import { t as be } from "./classnames-BCwn2LMt.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,31 @@ 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
|
-
if (!
|
|
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)), t = !(t && this.rootStore.uiState.details && !(this.rootStore.uiState.details instanceof lN)) && (this.focusEnabled || this.prevZ != (e == null ? void 0 : e.z)), this.focusEnabled && (this.focusEnabled = !1), this.prevZ = e == null || (r = e.z) == null ? void 0 : r.toString(), this.iconType = +!!n;
|
|
30464
|
+
let c = e ? iN(e) : null;
|
|
30465
|
+
if (!c) {
|
|
30358
30466
|
this.currentPosition = null;
|
|
30359
30467
|
return;
|
|
30360
30468
|
}
|
|
30361
|
-
let
|
|
30362
|
-
if (
|
|
30469
|
+
let u = Q.layerStore.findLayer(e.z), d = new uN(c.x, c.y, (u == null ? void 0 : u.name) || ((i = this.currentRouteLayer) == null ? void 0 : i.name), rj(c), e.lat, e.lng), f = $.selectedRoute, p = !((a = this.routeLines) != null && a.length);
|
|
30470
|
+
if (u && (o = this.routeLines) != null && o.length && (p = !!this.routeLines.find((e) => e.p0.layer === u.name || e.p1.layer === u.name)), t && p) {
|
|
30363
30471
|
let e = Q.rendererService.renderer;
|
|
30364
|
-
if (
|
|
30472
|
+
if (u && !(u != null && u.visible) && $R.updateVisibility(u, !0), !e) {
|
|
30365
30473
|
l.warn("Renderer is not initialized. Cannot pan to current position.");
|
|
30366
30474
|
return;
|
|
30367
30475
|
}
|
|
30368
|
-
e.controls.panTo(
|
|
30476
|
+
e.controls.panTo(d.x, d.y);
|
|
30369
30477
|
}
|
|
30370
|
-
let
|
|
30371
|
-
if (
|
|
30372
|
-
let e = Q.routeStore.getNearestBooth(
|
|
30373
|
-
Q.routeStore.selectRoute(new
|
|
30478
|
+
let m = (GA == null || (s = GA.properties) == null || (s = s.config) == null ? void 0 : s.enableExperimentalRerouting) && dN(d, this.routeLines) && !!DM(d, QR.booths, [f == null ? void 0 : f.to]);
|
|
30479
|
+
if (f && m) {
|
|
30480
|
+
let e = Q.routeStore.getNearestBooth(d);
|
|
30481
|
+
Q.routeStore.selectRoute(new lN(e, f == null ? void 0 : f.to), !1);
|
|
30374
30482
|
}
|
|
30375
|
-
this.currentPosition =
|
|
30483
|
+
this.currentPosition = d, this.gpsEnabled || (this.cpTimeout = setTimeout(() => {
|
|
30376
30484
|
this.currentPosition && this.selectCurrentPosition(null, !1);
|
|
30377
30485
|
}, 30 * 1e3));
|
|
30378
30486
|
}
|
|
@@ -30384,11 +30492,15 @@ var qM = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, JM = (wM
|
|
|
30384
30492
|
}
|
|
30385
30493
|
if (Q.routeStore.currentPosition) {
|
|
30386
30494
|
var e;
|
|
30387
|
-
let t = Q.routeStore.currentPosition, n = Yn.fromCxcywh(t.x, t.y, 100, 100);
|
|
30388
|
-
if (
|
|
30389
|
-
|
|
30390
|
-
|
|
30391
|
-
|
|
30495
|
+
let t = Q.routeStore.currentPosition, n = Yn.fromCxcywh(t.x, t.y, 100, 100), r;
|
|
30496
|
+
if (n.intersects(lr)) r = n;
|
|
30497
|
+
else {
|
|
30498
|
+
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);
|
|
30499
|
+
r = Yn.fromMultiple([n, o]);
|
|
30500
|
+
}
|
|
30501
|
+
localStorage.getItem("efp-compass-permission-granted") === "false" && (Q.routeStore.requestCompass = !0), $.moveToRect = r;
|
|
30502
|
+
let i = Q.layerStore.findLayer((e = Q.routeStore.currentPosition) == null ? void 0 : e.z);
|
|
30503
|
+
i && $R.updateVisibility(i, !0);
|
|
30392
30504
|
} else Q.selectBooth(Q.routeStore.defaultFrom);
|
|
30393
30505
|
}
|
|
30394
30506
|
}
|
|
@@ -30397,7 +30509,7 @@ var qM = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, JM = (wM
|
|
|
30397
30509
|
return e ? {
|
|
30398
30510
|
distance: `${e}${t}`,
|
|
30399
30511
|
units: t,
|
|
30400
|
-
time:
|
|
30512
|
+
time: vM(e, _M(t))
|
|
30401
30513
|
} : null;
|
|
30402
30514
|
}
|
|
30403
30515
|
updateRoute(e, t) {
|
|
@@ -30435,7 +30547,7 @@ var qM = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, JM = (wM
|
|
|
30435
30547
|
lines: this.routeLines,
|
|
30436
30548
|
distance: `${t}${n}`,
|
|
30437
30549
|
units: n,
|
|
30438
|
-
time:
|
|
30550
|
+
time: vM(t, _M(n))
|
|
30439
30551
|
});
|
|
30440
30552
|
}, 200);
|
|
30441
30553
|
}
|
|
@@ -30446,7 +30558,7 @@ var qM = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, JM = (wM
|
|
|
30446
30558
|
let n = e[t];
|
|
30447
30559
|
for (let r = t + 1; r < e.length; r++) {
|
|
30448
30560
|
let t = e[r];
|
|
30449
|
-
|
|
30561
|
+
tM(mM, fM(n), fM(t)).length || console.warn(`No route found from ${n.name} to ${t.name}`);
|
|
30450
30562
|
}
|
|
30451
30563
|
}
|
|
30452
30564
|
console.info("Route check done....");
|
|
@@ -30460,70 +30572,70 @@ var qM = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, JM = (wM
|
|
|
30460
30572
|
setOnlyAccessible(e) {
|
|
30461
30573
|
this.onlyAccessible = e;
|
|
30462
30574
|
}
|
|
30463
|
-
},
|
|
30575
|
+
}, LM = eN(G.prototype, "routeLines", [F], {
|
|
30464
30576
|
configurable: !0,
|
|
30465
30577
|
enumerable: !0,
|
|
30466
30578
|
writable: !0,
|
|
30467
30579
|
initializer: function() {
|
|
30468
30580
|
return [];
|
|
30469
30581
|
}
|
|
30470
|
-
}),
|
|
30582
|
+
}), RM = eN(G.prototype, "routeDistance", [F], {
|
|
30471
30583
|
configurable: !0,
|
|
30472
30584
|
enumerable: !0,
|
|
30473
30585
|
writable: !0,
|
|
30474
30586
|
initializer: function() {
|
|
30475
30587
|
return null;
|
|
30476
30588
|
}
|
|
30477
|
-
}),
|
|
30589
|
+
}), zM = eN(G.prototype, "currentPosition", [F], {
|
|
30478
30590
|
configurable: !0,
|
|
30479
30591
|
enumerable: !0,
|
|
30480
30592
|
writable: !0,
|
|
30481
30593
|
initializer: function() {
|
|
30482
30594
|
return null;
|
|
30483
30595
|
}
|
|
30484
|
-
}),
|
|
30596
|
+
}), BM = eN(G.prototype, "requestCompass", [F], {
|
|
30485
30597
|
configurable: !0,
|
|
30486
30598
|
enumerable: !0,
|
|
30487
30599
|
writable: !0,
|
|
30488
30600
|
initializer: function() {
|
|
30489
30601
|
return !1;
|
|
30490
30602
|
}
|
|
30491
|
-
}),
|
|
30603
|
+
}), VM = eN(G.prototype, "iconType", [F], {
|
|
30492
30604
|
configurable: !0,
|
|
30493
30605
|
enumerable: !0,
|
|
30494
30606
|
writable: !0,
|
|
30495
30607
|
initializer: function() {
|
|
30496
30608
|
return 0;
|
|
30497
30609
|
}
|
|
30498
|
-
}),
|
|
30610
|
+
}), HM = eN(G.prototype, "tempToBooth", [F], {
|
|
30499
30611
|
configurable: !0,
|
|
30500
30612
|
enumerable: !0,
|
|
30501
30613
|
writable: !0,
|
|
30502
30614
|
initializer: function() {
|
|
30503
30615
|
return null;
|
|
30504
30616
|
}
|
|
30505
|
-
}),
|
|
30617
|
+
}), UM = eN(G.prototype, "defaultFrom", [F], {
|
|
30506
30618
|
configurable: !0,
|
|
30507
30619
|
enumerable: !0,
|
|
30508
30620
|
writable: !0,
|
|
30509
30621
|
initializer: function() {
|
|
30510
30622
|
return null;
|
|
30511
30623
|
}
|
|
30512
|
-
}),
|
|
30624
|
+
}), WM = eN(G.prototype, "focusEnabled", [F], {
|
|
30513
30625
|
configurable: !0,
|
|
30514
30626
|
enumerable: !0,
|
|
30515
30627
|
writable: !0,
|
|
30516
30628
|
initializer: function() {
|
|
30517
30629
|
return !0;
|
|
30518
30630
|
}
|
|
30519
|
-
}),
|
|
30631
|
+
}), GM = eN(G.prototype, "prevZ", [F], {
|
|
30520
30632
|
configurable: !0,
|
|
30521
30633
|
enumerable: !0,
|
|
30522
30634
|
writable: !0,
|
|
30523
30635
|
initializer: function() {
|
|
30524
30636
|
return null;
|
|
30525
30637
|
}
|
|
30526
|
-
}),
|
|
30638
|
+
}), KM = eN(G.prototype, "markersData", [F], {
|
|
30527
30639
|
configurable: !0,
|
|
30528
30640
|
enumerable: !0,
|
|
30529
30641
|
writable: !0,
|
|
@@ -30533,67 +30645,67 @@ var qM = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, JM = (wM
|
|
|
30533
30645
|
markers: []
|
|
30534
30646
|
};
|
|
30535
30647
|
}
|
|
30536
|
-
}),
|
|
30648
|
+
}), qM = eN(G.prototype, "prevMarkers", [F], {
|
|
30537
30649
|
configurable: !0,
|
|
30538
30650
|
enumerable: !0,
|
|
30539
30651
|
writable: !0,
|
|
30540
30652
|
initializer: function() {
|
|
30541
30653
|
return [];
|
|
30542
30654
|
}
|
|
30543
|
-
}),
|
|
30655
|
+
}), JM = eN(G.prototype, "showAccessible", [F], {
|
|
30544
30656
|
configurable: !0,
|
|
30545
30657
|
enumerable: !0,
|
|
30546
30658
|
writable: !0,
|
|
30547
30659
|
initializer: function() {
|
|
30548
|
-
return !!
|
|
30660
|
+
return !!mM.getLines().find((e) => e.unaccessible);
|
|
30549
30661
|
}
|
|
30550
|
-
}),
|
|
30662
|
+
}), YM = eN(G.prototype, "onlyAccessible", [F], {
|
|
30551
30663
|
configurable: !0,
|
|
30552
30664
|
enumerable: !0,
|
|
30553
30665
|
writable: !0,
|
|
30554
30666
|
initializer: function() {
|
|
30555
30667
|
return !1;
|
|
30556
30668
|
}
|
|
30557
|
-
}),
|
|
30669
|
+
}), XM = eN(G.prototype, "currentRouteLayer", [F], {
|
|
30558
30670
|
configurable: !0,
|
|
30559
30671
|
enumerable: !0,
|
|
30560
30672
|
writable: !0,
|
|
30561
30673
|
initializer: function() {
|
|
30562
30674
|
return null;
|
|
30563
30675
|
}
|
|
30564
|
-
}),
|
|
30676
|
+
}), 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
30677
|
configurable: !0,
|
|
30566
30678
|
enumerable: !0,
|
|
30567
30679
|
writable: !0,
|
|
30568
30680
|
initializer: function() {
|
|
30569
30681
|
return "ft";
|
|
30570
30682
|
}
|
|
30571
|
-
}),
|
|
30683
|
+
}), 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
30684
|
configurable: !0,
|
|
30573
30685
|
enumerable: !0,
|
|
30574
30686
|
writable: !0,
|
|
30575
30687
|
initializer: function() {
|
|
30576
30688
|
return !0;
|
|
30577
30689
|
}
|
|
30578
|
-
}),
|
|
30579
|
-
function
|
|
30690
|
+
}), 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);
|
|
30691
|
+
function rN(e) {
|
|
30580
30692
|
return {
|
|
30581
30693
|
...e,
|
|
30582
|
-
x:
|
|
30583
|
-
y:
|
|
30584
|
-
lat:
|
|
30585
|
-
lng:
|
|
30694
|
+
x: tN(e.x),
|
|
30695
|
+
y: tN(e.y),
|
|
30696
|
+
lat: tN(e.lat),
|
|
30697
|
+
lng: tN(e.lng)
|
|
30586
30698
|
};
|
|
30587
30699
|
}
|
|
30588
|
-
function
|
|
30700
|
+
function iN(e) {
|
|
30589
30701
|
let t = null, n = null;
|
|
30590
|
-
return
|
|
30702
|
+
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
30703
|
}
|
|
30592
|
-
function
|
|
30704
|
+
function aN(e) {
|
|
30593
30705
|
var t;
|
|
30594
30706
|
return Q.boothStore.findBooth(e) || ((t = Q.exhibitorStore.findExhibitor(e)) == null ? void 0 : t.booths[0]);
|
|
30595
30707
|
}
|
|
30596
|
-
function
|
|
30708
|
+
function oN(e) {
|
|
30597
30709
|
let t = Q.boothStore.boothByExternalId.get(e);
|
|
30598
30710
|
if (t) return {
|
|
30599
30711
|
type: "booth",
|
|
@@ -30605,10 +30717,10 @@ function QM(e) {
|
|
|
30605
30717
|
entity: n
|
|
30606
30718
|
};
|
|
30607
30719
|
}
|
|
30608
|
-
function
|
|
30720
|
+
function sN(e) {
|
|
30609
30721
|
let t = [], n = [];
|
|
30610
30722
|
for (let r of e) {
|
|
30611
|
-
let e =
|
|
30723
|
+
let e = oN(r);
|
|
30612
30724
|
e && (e.type === "booth" ? t.push(r) : n.push(r));
|
|
30613
30725
|
}
|
|
30614
30726
|
return {
|
|
@@ -30616,22 +30728,22 @@ function $M(e) {
|
|
|
30616
30728
|
exhibitorExternalIds: n
|
|
30617
30729
|
};
|
|
30618
30730
|
}
|
|
30619
|
-
function
|
|
30731
|
+
function cN(e, t, n) {
|
|
30620
30732
|
var r, i;
|
|
30621
|
-
return new
|
|
30733
|
+
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
30734
|
}
|
|
30623
|
-
var
|
|
30735
|
+
var lN = class {
|
|
30624
30736
|
constructor(e, t, n) {
|
|
30625
30737
|
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
30738
|
}
|
|
30627
|
-
},
|
|
30739
|
+
}, uN = class extends Or.Point {
|
|
30628
30740
|
constructor(e, t, n, r, i, a) {
|
|
30629
30741
|
super(e, t), this.x = e, this.y = t, this.z = n, this.angle = r, this.lat = i, this.lng = a;
|
|
30630
30742
|
}
|
|
30631
30743
|
};
|
|
30632
|
-
function
|
|
30744
|
+
function dN(e, t, n = 10) {
|
|
30633
30745
|
if (!e || !(t != null && t.length)) return !1;
|
|
30634
|
-
let r =
|
|
30746
|
+
let r = wM({
|
|
30635
30747
|
layer: e.z ? String(e.z) : void 0,
|
|
30636
30748
|
x: e.x,
|
|
30637
30749
|
y: e.y
|
|
@@ -30640,7 +30752,7 @@ function rN(e, t, n = 10) {
|
|
|
30640
30752
|
}
|
|
30641
30753
|
//#endregion
|
|
30642
30754
|
//#region src/utils/getMostFrequent.ts
|
|
30643
|
-
function
|
|
30755
|
+
function fN(e) {
|
|
30644
30756
|
let t = {}, n = 0, r;
|
|
30645
30757
|
return e.forEach((e) => {
|
|
30646
30758
|
t[e] = (t[e] || 0) + 1, t[e] > n && (n = t[e], r = e);
|
|
@@ -30648,14 +30760,14 @@ function iN(e) {
|
|
|
30648
30760
|
}
|
|
30649
30761
|
//#endregion
|
|
30650
30762
|
//#region src/RouteCutIn.ts
|
|
30651
|
-
var
|
|
30763
|
+
var pN = class extends Qr {
|
|
30652
30764
|
constructor(e, t, n, r, i = {}) {
|
|
30653
30765
|
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
30766
|
let a = this.findClosestLineEnd(this.routePoint);
|
|
30655
30767
|
a && (this.rect = Yn.fromCxcywh(a.x, a.y, 1, 1)), Object.freeze(this);
|
|
30656
30768
|
}
|
|
30657
30769
|
findClosestRoutePoint() {
|
|
30658
|
-
let e =
|
|
30770
|
+
let e = mM.getLines(), t = hk() ? e.filter((e) => e.p0.layer === this.destination.layer && e.p1.layer === this.destination.layer) : e;
|
|
30659
30771
|
if (!(t != null && t.length)) return null;
|
|
30660
30772
|
let n = Infinity, r = null;
|
|
30661
30773
|
return t.forEach((e) => {
|
|
@@ -30685,7 +30797,7 @@ var aN = class extends Qr {
|
|
|
30685
30797
|
}
|
|
30686
30798
|
findClosestLineEnd(e) {
|
|
30687
30799
|
if (!e) return null;
|
|
30688
|
-
let t =
|
|
30800
|
+
let t = mM.getLineEnds(), n = hk() ? t.filter((t) => t.layer === e.layer) : t, r = null, i = Infinity;
|
|
30689
30801
|
function a(e, t, n, r) {
|
|
30690
30802
|
return Math.sqrt((n - e) ** 2 + (r - t) ** 2);
|
|
30691
30803
|
}
|
|
@@ -30697,7 +30809,7 @@ var aN = class extends Qr {
|
|
|
30697
30809
|
};
|
|
30698
30810
|
//#endregion
|
|
30699
30811
|
//#region src/components/Kiosk/SetKiosk/FormInput/RangeInput.tsx
|
|
30700
|
-
function
|
|
30812
|
+
function mN({ value: e, name: t, min: n, max: r, step: i, onChange: a, isDisabled: o, symbol: s }) {
|
|
30701
30813
|
let c = () => a(Math.min(e + i, r)), l = () => a(Math.max(e - i, n)), u = 0;
|
|
30702
30814
|
r !== n && (u = (e - n) / (r - n) * 100);
|
|
30703
30815
|
let d = "-50%";
|
|
@@ -30763,7 +30875,7 @@ function oN({ value: e, name: t, min: n, max: r, step: i, onChange: a, isDisable
|
|
|
30763
30875
|
}
|
|
30764
30876
|
//#endregion
|
|
30765
30877
|
//#region src/components/Button.tsx
|
|
30766
|
-
var
|
|
30878
|
+
var hN = /* @__PURE__ */ e(be(), 1), gN = (e) => {
|
|
30767
30879
|
let t = e.split(/(#\d+#)/), n = e.match(/#(\d+)#/), r = n ? n[1] : null;
|
|
30768
30880
|
return {
|
|
30769
30881
|
content: t.map((e, t) => e.match(/#\d+#/) ? /* @__PURE__ */ (0, z.jsx)("div", {
|
|
@@ -30772,11 +30884,11 @@ var sN = /* @__PURE__ */ e(be(), 1), cN = (e) => {
|
|
|
30772
30884
|
}, t) : /* @__PURE__ */ (0, z.jsx)("span", { children: e }, t)),
|
|
30773
30885
|
hasBadge: !!r
|
|
30774
30886
|
};
|
|
30775
|
-
},
|
|
30776
|
-
let p = e == null ? n : e, { content: m, hasBadge: h } = u && typeof p == "string" ?
|
|
30887
|
+
}, _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 }) => {
|
|
30888
|
+
let p = e == null ? n : e, { content: m, hasBadge: h } = u && typeof p == "string" ? gN(p) : {
|
|
30777
30889
|
content: p,
|
|
30778
30890
|
hasBadge: !1
|
|
30779
|
-
}, g = (0,
|
|
30891
|
+
}, g = (0, hN.default)("efp-button", `efp-button--${o}`, `efp-button--${s}`, {
|
|
30780
30892
|
"efp-button--inline": t,
|
|
30781
30893
|
"is-disabled": a,
|
|
30782
30894
|
"efp-button--round": d
|
|
@@ -30805,7 +30917,7 @@ var sN = /* @__PURE__ */ e(be(), 1), cN = (e) => {
|
|
|
30805
30917
|
};
|
|
30806
30918
|
//#endregion
|
|
30807
30919
|
//#region src/components/Kiosk/SetKiosk/SetKioskForm.tsx
|
|
30808
|
-
function
|
|
30920
|
+
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
30921
|
return /* @__PURE__ */ (0, z.jsx)("div", {
|
|
30810
30922
|
className: "efp-set-kiosk-form",
|
|
30811
30923
|
children: /* @__PURE__ */ (0, z.jsxs)("div", {
|
|
@@ -30813,7 +30925,7 @@ function uN({ onSave: e, onDelete: t, isSaveDisabled: n, isDeleteDisabled: r, ar
|
|
|
30813
30925
|
children: [/* @__PURE__ */ (0, z.jsxs)("div", {
|
|
30814
30926
|
className: "efp-set-kiosk-form__inputs",
|
|
30815
30927
|
children: [
|
|
30816
|
-
/* @__PURE__ */ (0, z.jsx)(
|
|
30928
|
+
/* @__PURE__ */ (0, z.jsx)(mN, {
|
|
30817
30929
|
value: a,
|
|
30818
30930
|
name: P("Icon rotation"),
|
|
30819
30931
|
min: 0,
|
|
@@ -30823,7 +30935,7 @@ function uN({ onSave: e, onDelete: t, isSaveDisabled: n, isDeleteDisabled: r, ar
|
|
|
30823
30935
|
isDisabled: i,
|
|
30824
30936
|
onChange: o
|
|
30825
30937
|
}),
|
|
30826
|
-
/* @__PURE__ */ (0, z.jsx)(
|
|
30938
|
+
/* @__PURE__ */ (0, z.jsx)(mN, {
|
|
30827
30939
|
value: f,
|
|
30828
30940
|
name: P("Icon size"),
|
|
30829
30941
|
min: 100,
|
|
@@ -30833,7 +30945,7 @@ function uN({ onSave: e, onDelete: t, isSaveDisabled: n, isDeleteDisabled: r, ar
|
|
|
30833
30945
|
isDisabled: i,
|
|
30834
30946
|
onChange: p
|
|
30835
30947
|
}),
|
|
30836
|
-
/* @__PURE__ */ (0, z.jsx)(
|
|
30948
|
+
/* @__PURE__ */ (0, z.jsx)(mN, {
|
|
30837
30949
|
value: Math.round(s * 100),
|
|
30838
30950
|
name: P("UI scale"),
|
|
30839
30951
|
min: c * 100,
|
|
@@ -30846,13 +30958,13 @@ function uN({ onSave: e, onDelete: t, isSaveDisabled: n, isDeleteDisabled: r, ar
|
|
|
30846
30958
|
]
|
|
30847
30959
|
}), /* @__PURE__ */ (0, z.jsxs)("div", {
|
|
30848
30960
|
className: "efp-set-kiosk-form__controls",
|
|
30849
|
-
children: [/* @__PURE__ */ (0, z.jsx)(
|
|
30961
|
+
children: [/* @__PURE__ */ (0, z.jsx)(_N, {
|
|
30850
30962
|
size: "md",
|
|
30851
30963
|
variant: "gray",
|
|
30852
30964
|
text: P("Delete kiosk"),
|
|
30853
30965
|
onClick: t,
|
|
30854
30966
|
disabled: r
|
|
30855
|
-
}), /* @__PURE__ */ (0, z.jsx)(
|
|
30967
|
+
}), /* @__PURE__ */ (0, z.jsx)(_N, {
|
|
30856
30968
|
size: "md",
|
|
30857
30969
|
variant: "primary",
|
|
30858
30970
|
text: P("Save"),
|
|
@@ -30865,7 +30977,7 @@ function uN({ onSave: e, onDelete: t, isSaveDisabled: n, isDeleteDisabled: r, ar
|
|
|
30865
30977
|
}
|
|
30866
30978
|
//#endregion
|
|
30867
30979
|
//#region src/components/Kiosk/SetKiosk/Message/InfoMessage.tsx
|
|
30868
|
-
function
|
|
30980
|
+
function yN({ list: e }) {
|
|
30869
30981
|
return e != null && e.length ? /* @__PURE__ */ (0, z.jsx)("div", {
|
|
30870
30982
|
className: "efp-info-message",
|
|
30871
30983
|
children: e.map(({ id: e, image: t, content: n }) => /* @__PURE__ */ (0, z.jsxs)("div", {
|
|
@@ -30882,7 +30994,7 @@ function dN({ list: e }) {
|
|
|
30882
30994
|
}
|
|
30883
30995
|
//#endregion
|
|
30884
30996
|
//#region src/components/Draggable.tsx
|
|
30885
|
-
var
|
|
30997
|
+
var bN = ({ children: e, className: t, translate: n }) => {
|
|
30886
30998
|
let [r, i] = (0, xe.useState)({
|
|
30887
30999
|
x: 0,
|
|
30888
31000
|
y: 0
|
|
@@ -30948,7 +31060,7 @@ var fN = ({ children: e, className: t, translate: n }) => {
|
|
|
30948
31060
|
};
|
|
30949
31061
|
//#endregion
|
|
30950
31062
|
//#region src/components/Kiosk/SetKiosk/Confirm/ConfirmDialog.tsx
|
|
30951
|
-
function
|
|
31063
|
+
function xN({ isDisabled: e, content: t, confirmLabel: n, cancelLabel: r, onConfirm: i, onCancel: a, confirmVariant: o, cancelVariant: s }) {
|
|
30952
31064
|
return /* @__PURE__ */ (0, z.jsxs)("div", {
|
|
30953
31065
|
className: "efp-confirm-dialog",
|
|
30954
31066
|
children: [t && /* @__PURE__ */ (0, z.jsx)("div", {
|
|
@@ -30956,13 +31068,13 @@ function pN({ isDisabled: e, content: t, confirmLabel: n, cancelLabel: r, onConf
|
|
|
30956
31068
|
children: t
|
|
30957
31069
|
}), /* @__PURE__ */ (0, z.jsxs)("div", {
|
|
30958
31070
|
className: "efp-confirm-dialog__controls",
|
|
30959
|
-
children: [/* @__PURE__ */ (0, z.jsx)(
|
|
31071
|
+
children: [/* @__PURE__ */ (0, z.jsx)(_N, {
|
|
30960
31072
|
size: "md",
|
|
30961
31073
|
text: n,
|
|
30962
31074
|
onClick: i,
|
|
30963
31075
|
disabled: e,
|
|
30964
31076
|
variant: o
|
|
30965
|
-
}), a && /* @__PURE__ */ (0, z.jsx)(
|
|
31077
|
+
}), a && /* @__PURE__ */ (0, z.jsx)(_N, {
|
|
30966
31078
|
size: "md",
|
|
30967
31079
|
text: r,
|
|
30968
31080
|
variant: s,
|
|
@@ -30974,13 +31086,13 @@ function pN({ isDisabled: e, content: t, confirmLabel: n, cancelLabel: r, onConf
|
|
|
30974
31086
|
}
|
|
30975
31087
|
//#endregion
|
|
30976
31088
|
//#region src/components/Kiosk/SetKiosk/SetKioskStatusMessages.tsx
|
|
30977
|
-
function
|
|
31089
|
+
function SN({ messages: e }) {
|
|
30978
31090
|
return e != null && e.length ? /* @__PURE__ */ (0, z.jsx)("div", {
|
|
30979
31091
|
className: "efp-status-messages",
|
|
30980
31092
|
children: e.map(({ id: e, variant: t, title: n }) => {
|
|
30981
31093
|
let r = t === "success", i = t === "error";
|
|
30982
31094
|
return /* @__PURE__ */ (0, z.jsxs)("div", {
|
|
30983
|
-
className: (0,
|
|
31095
|
+
className: (0, hN.default)("efp-status-messages__message", {
|
|
30984
31096
|
"efp-status-messages__message--success": r,
|
|
30985
31097
|
"efp-status-messages__message--error": i
|
|
30986
31098
|
}),
|
|
@@ -30995,9 +31107,9 @@ function mN({ messages: e }) {
|
|
|
30995
31107
|
}
|
|
30996
31108
|
//#endregion
|
|
30997
31109
|
//#region src/components/Kiosk/SetKiosk/SetKioskComponent.tsx
|
|
30998
|
-
function
|
|
31110
|
+
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
31111
|
let [g, _] = (0, xe.useState)(null);
|
|
31000
|
-
return /* @__PURE__ */ (0, z.jsxs)(
|
|
31112
|
+
return /* @__PURE__ */ (0, z.jsxs)(bN, {
|
|
31001
31113
|
className: "efp-set-kiosk-mode",
|
|
31002
31114
|
translate: {
|
|
31003
31115
|
x: window.innerWidth / 2,
|
|
@@ -31043,8 +31155,8 @@ function hN({ isSaveDisabled: e, isDeleteDisabled: t, areControlsDisabled: n, co
|
|
|
31043
31155
|
})
|
|
31044
31156
|
]
|
|
31045
31157
|
}),
|
|
31046
|
-
!g && /* @__PURE__ */ (0, z.jsx)(
|
|
31047
|
-
u ? /* @__PURE__ */ (0, z.jsx)(
|
|
31158
|
+
!g && /* @__PURE__ */ (0, z.jsx)(SN, { messages: d }),
|
|
31159
|
+
u ? /* @__PURE__ */ (0, z.jsx)(yN, { list: [{
|
|
31048
31160
|
id: "1",
|
|
31049
31161
|
image: {
|
|
31050
31162
|
src: `${S}icons/tap.svg`,
|
|
@@ -31062,7 +31174,7 @@ function hN({ isSaveDisabled: e, isDeleteDisabled: t, areControlsDisabled: n, co
|
|
|
31062
31174
|
alt: P("Zoom and rotate the map before saving.")
|
|
31063
31175
|
},
|
|
31064
31176
|
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)(
|
|
31177
|
+
}] }) : /* @__PURE__ */ (0, z.jsx)(z.Fragment, { children: g ? /* @__PURE__ */ (0, z.jsx)(xN, { ...g }) : /* @__PURE__ */ (0, z.jsx)(vN, {
|
|
31066
31178
|
isSaveDisabled: e,
|
|
31067
31179
|
isDeleteDisabled: t,
|
|
31068
31180
|
areControlsDisabled: n,
|
|
@@ -31100,22 +31212,22 @@ function hN({ isSaveDisabled: e, isDeleteDisabled: t, areControlsDisabled: n, co
|
|
|
31100
31212
|
}
|
|
31101
31213
|
//#endregion
|
|
31102
31214
|
//#region src/components/Kiosk/SetKiosk/constants.ts
|
|
31103
|
-
var
|
|
31215
|
+
var wN = "expofp-kiosk", TN = "interactive-kiosk", EN = "Interactive Kiosk", DN = "kiosk_", ON = () => EN, kN = () => TN;
|
|
31104
31216
|
//#endregion
|
|
31105
31217
|
//#region src/components/Kiosk/SetKiosk/getKioskUrlParamKey.ts
|
|
31106
|
-
function
|
|
31107
|
-
return `${
|
|
31218
|
+
function AN(e) {
|
|
31219
|
+
return `${DN}${e}`;
|
|
31108
31220
|
}
|
|
31109
31221
|
//#endregion
|
|
31110
31222
|
//#region src/components/Kiosk/SetKiosk/storage.ts
|
|
31111
|
-
async function
|
|
31112
|
-
localStorage.setItem(
|
|
31223
|
+
async function jN(e) {
|
|
31224
|
+
localStorage.setItem(wN, JSON.stringify(e));
|
|
31113
31225
|
}
|
|
31114
|
-
async function
|
|
31115
|
-
localStorage.removeItem(
|
|
31226
|
+
async function MN() {
|
|
31227
|
+
localStorage.removeItem(wN);
|
|
31116
31228
|
}
|
|
31117
|
-
function
|
|
31118
|
-
let e = localStorage.getItem(
|
|
31229
|
+
function NN() {
|
|
31230
|
+
let e = localStorage.getItem(wN);
|
|
31119
31231
|
if (e) try {
|
|
31120
31232
|
return JSON.parse(e);
|
|
31121
31233
|
} catch (e) {
|
|
@@ -31125,7 +31237,7 @@ function TN() {
|
|
|
31125
31237
|
}
|
|
31126
31238
|
//#endregion
|
|
31127
31239
|
//#region src/components/Kiosk/integrateKiosk.ts
|
|
31128
|
-
function
|
|
31240
|
+
function PN(e, t) {
|
|
31129
31241
|
e && E(() => {
|
|
31130
31242
|
Q.uiState.setKioskData(e), Q.uiState.kiosk = t, Q.uiState.setMapSettings({
|
|
31131
31243
|
centerxy: `${e.mapCenterX},${e.mapCenterY}`,
|
|
@@ -31134,7 +31246,7 @@ function EN(e, t) {
|
|
|
31134
31246
|
}), e.mapPtScale && Q.uiState.changeZoom(e.mapInitialPtScale / e.mapPtScale);
|
|
31135
31247
|
});
|
|
31136
31248
|
}
|
|
31137
|
-
function
|
|
31249
|
+
function FN(e) {
|
|
31138
31250
|
var t;
|
|
31139
31251
|
if (!e) return;
|
|
31140
31252
|
let n = {
|
|
@@ -31142,11 +31254,11 @@ function DN(e) {
|
|
|
31142
31254
|
y: e.y,
|
|
31143
31255
|
layer: (t = e.z) == null ? void 0 : t.toString()
|
|
31144
31256
|
};
|
|
31145
|
-
Q.routeStore.defaultFrom = new
|
|
31257
|
+
Q.routeStore.defaultFrom = new pN(2 ** 53 - 1, ON(), n, kN()), n.layer && Q.fp.activateFloor({ name: n.layer });
|
|
31146
31258
|
}
|
|
31147
31259
|
//#endregion
|
|
31148
31260
|
//#region src/components/Kiosk/kioskUrlParam.ts
|
|
31149
|
-
function
|
|
31261
|
+
function IN(e) {
|
|
31150
31262
|
let t = {};
|
|
31151
31263
|
try {
|
|
31152
31264
|
let n = (e) => {
|
|
@@ -31169,7 +31281,7 @@ function ON(e) {
|
|
|
31169
31281
|
mapPitch: n
|
|
31170
31282
|
};
|
|
31171
31283
|
for (let n in r) {
|
|
31172
|
-
let i =
|
|
31284
|
+
let i = AN(n), a = r[n](e.get(i));
|
|
31173
31285
|
a != null && (t[n] = a);
|
|
31174
31286
|
}
|
|
31175
31287
|
} catch (e) {
|
|
@@ -31178,39 +31290,39 @@ function ON(e) {
|
|
|
31178
31290
|
return t;
|
|
31179
31291
|
}
|
|
31180
31292
|
}
|
|
31181
|
-
function
|
|
31293
|
+
function LN(e, t, n) {
|
|
31182
31294
|
try {
|
|
31183
31295
|
if (!t) return;
|
|
31184
|
-
for (let r of Object.keys(t)) t[r] == null || n != null && n.length && !n.includes(r) || e.set(
|
|
31296
|
+
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
31297
|
} catch (e) {
|
|
31186
31298
|
console.error("setKioskUrlParams", e);
|
|
31187
31299
|
}
|
|
31188
31300
|
}
|
|
31189
31301
|
//#endregion
|
|
31190
31302
|
//#region src/components/Kiosk/recoverKioskFromUrlPrams.ts
|
|
31191
|
-
function
|
|
31192
|
-
let t =
|
|
31193
|
-
Object.values(t).length && (
|
|
31303
|
+
function RN(e) {
|
|
31304
|
+
let t = IN(e);
|
|
31305
|
+
Object.values(t).length && (PN(t, !1), FN(t));
|
|
31194
31306
|
}
|
|
31195
31307
|
//#endregion
|
|
31196
31308
|
//#region src/services/routing.ts
|
|
31197
|
-
var
|
|
31198
|
-
function
|
|
31199
|
-
return
|
|
31309
|
+
var zN = !1, BN = !1, VN = null, HN = null, UN = null, WN, GN = VA(), KN = window.location.pathname, qN = [];
|
|
31310
|
+
function JN() {
|
|
31311
|
+
return qN;
|
|
31200
31312
|
}
|
|
31201
|
-
function
|
|
31202
|
-
return
|
|
31313
|
+
function YN(e) {
|
|
31314
|
+
return KN + e;
|
|
31203
31315
|
}
|
|
31204
|
-
function
|
|
31205
|
-
|
|
31316
|
+
function XN(e) {
|
|
31317
|
+
zN || GN.push(YN(e));
|
|
31206
31318
|
}
|
|
31207
|
-
function
|
|
31208
|
-
|
|
31319
|
+
function ZN(e) {
|
|
31320
|
+
zN || GN.push(YN(e));
|
|
31209
31321
|
}
|
|
31210
|
-
function
|
|
31322
|
+
function QN(e) {
|
|
31211
31323
|
return e.replace(/=&/g, "&").replace(/=$/, "");
|
|
31212
31324
|
}
|
|
31213
|
-
function
|
|
31325
|
+
function $N() {
|
|
31214
31326
|
let e = "", t = $.selectedExhibitor, n = $.selectedBooth, r = $.selectedEventItem, i = $.selectedRoute, a = $.selectedSpeaker, o = $.setKioskModeEnabled;
|
|
31215
31327
|
if ($.list.type === "route-planner" && !t && !n && !r) {
|
|
31216
31328
|
var s;
|
|
@@ -31263,25 +31375,25 @@ function GN() {
|
|
|
31263
31375
|
break;
|
|
31264
31376
|
default: throw Error("Unkown list.type");
|
|
31265
31377
|
}
|
|
31266
|
-
if (
|
|
31378
|
+
if (BN) return;
|
|
31267
31379
|
let l = e ? "?" + encodeURIComponent(e) : "";
|
|
31268
|
-
|
|
31380
|
+
GN.location.search !== l && (t !== VN || n !== HN || r !== UN ? XN(l) : ZN(l), VN = t, HN = n, UN = r);
|
|
31269
31381
|
}
|
|
31270
|
-
function
|
|
31382
|
+
function eP() {
|
|
31271
31383
|
let e = $.selectedExhibitor, t = $.selectedEventItem, n = $.selectedSpeaker, r = "";
|
|
31272
31384
|
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
31385
|
}
|
|
31274
|
-
function
|
|
31275
|
-
return
|
|
31386
|
+
function tP() {
|
|
31387
|
+
return WA(GN.location.search.length > 1 ? decodeURIComponent(GN.location.search.substring(1)) : "", !1);
|
|
31276
31388
|
}
|
|
31277
|
-
function
|
|
31278
|
-
let e =
|
|
31279
|
-
|
|
31389
|
+
function nP() {
|
|
31390
|
+
let e = GN.location.search.length > 1 ? decodeURIComponent(GN.location.search.substring(1)) : "";
|
|
31391
|
+
BN = !0;
|
|
31280
31392
|
let t = Q.boothStore.booths.find((t) => {
|
|
31281
31393
|
var n, r, i;
|
|
31282
31394
|
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
31395
|
}), n = new URLSearchParams(decodeURIComponent(window.location.search));
|
|
31284
|
-
if (
|
|
31396
|
+
if (RN(n), cP(n), !tP()) if (n.has("yah")) WA(`${br} ${n.get("yah")}`, !0);
|
|
31285
31397
|
else if (n.has("kiosk")) {
|
|
31286
31398
|
let e = n.get(he);
|
|
31287
31399
|
e === "1" ? $.kiosk = !0 : e === "0" && ($.kiosk = !1, $.resetUIScale());
|
|
@@ -31290,7 +31402,7 @@ function JN() {
|
|
|
31290
31402
|
let t = e.split("=")[1], n = Q.toursStore.getTourById(t);
|
|
31291
31403
|
n ? Q.toursStore.launchTour(n, n.name, n.description) : (console.warn(`Route with id "${t}" not found`), Q.selectTours());
|
|
31292
31404
|
} else if (n.has("planner")) {
|
|
31293
|
-
let e = n.get(ie), t = n.get(fe), r = t ?
|
|
31405
|
+
let e = n.get(ie), t = n.get(fe), r = t ? aN(t) : null;
|
|
31294
31406
|
if (e === "bookmarks") Q.routePlannerStore.launchFromBookmarks(r == null ? void 0 : r);
|
|
31295
31407
|
else {
|
|
31296
31408
|
let e = (n.get("planner") || "").split(":").filter(Boolean);
|
|
@@ -31299,7 +31411,7 @@ function JN() {
|
|
|
31299
31411
|
} else if (e.startsWith("route")) {
|
|
31300
31412
|
let t = e.split(":");
|
|
31301
31413
|
Q.routeStore.setOnlyAccessible(t[3] === "true");
|
|
31302
|
-
let n =
|
|
31414
|
+
let n = cN(t[2], t[1], t.slice(4));
|
|
31303
31415
|
Q.routeStore.selectRoute(n);
|
|
31304
31416
|
let r = t.slice(4).length > 0;
|
|
31305
31417
|
Q.uiState.setIsMultiPointRoute(r);
|
|
@@ -31333,7 +31445,7 @@ function JN() {
|
|
|
31333
31445
|
}
|
|
31334
31446
|
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
31447
|
if (hk()) {
|
|
31336
|
-
let e =
|
|
31448
|
+
let e = fN(d.map((e) => e.layer.name));
|
|
31337
31449
|
e && Q.fp.activateFloor({ name: e });
|
|
31338
31450
|
}
|
|
31339
31451
|
(t.length > 0 || r.length > 0) && Q.fp.highlightEntities([...t, ...r]), Q.layerStore.showPathWay(e), d.length > 0 && E(() => {
|
|
@@ -31365,103 +31477,103 @@ function JN() {
|
|
|
31365
31477
|
}
|
|
31366
31478
|
}
|
|
31367
31479
|
}
|
|
31368
|
-
|
|
31480
|
+
BN = !1, $N(), eP();
|
|
31369
31481
|
}
|
|
31370
|
-
function
|
|
31371
|
-
let e =
|
|
31482
|
+
function rP() {
|
|
31483
|
+
let e = GN.location.search;
|
|
31372
31484
|
if (e.includes("heatmap")) {
|
|
31373
31485
|
let e = new URL(window.location.href);
|
|
31374
31486
|
if (e.searchParams.get("heatmap") === "true") if (e.searchParams.get("type") === "yah") {
|
|
31375
|
-
let t =
|
|
31376
|
-
|
|
31487
|
+
let t = QN(e.search);
|
|
31488
|
+
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
31489
|
} else {
|
|
31378
31490
|
e.searchParams.delete("heatmap");
|
|
31379
|
-
let t =
|
|
31380
|
-
|
|
31491
|
+
let t = QN(e.search);
|
|
31492
|
+
zN = !0, ZN(t), Q.uiState.heatmap = !0;
|
|
31381
31493
|
}
|
|
31382
31494
|
}
|
|
31383
|
-
if (e.startsWith("?preview="))
|
|
31384
|
-
else if (e.startsWith("?b="))
|
|
31495
|
+
if (e.startsWith("?preview=")) ZN("?");
|
|
31496
|
+
else if (e.startsWith("?b=")) ZN("?bookmarks");
|
|
31385
31497
|
else if (e.startsWith("?ba=")) {
|
|
31386
31498
|
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,
|
|
31499
|
+
ZN(n ? "?" + n.slug : "?bookmarks");
|
|
31500
|
+
} else e.startsWith("?mapbox=false") && (Q.mapboxStore.isMapbox = !1, ZN("?"));
|
|
31389
31501
|
if (e.includes("blue-dot")) {
|
|
31390
31502
|
let e = new URL(window.location.href), n = e.searchParams.get("blue-dot").split(",");
|
|
31391
31503
|
if (e.searchParams.delete("blue-dot"), n.length > 1) {
|
|
31392
31504
|
var t;
|
|
31393
|
-
let e = (t = Q.layerStore.findLayer(n[2])) == null ? void 0 : t.name, r = new
|
|
31505
|
+
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
31506
|
Q.layerStore.layersLoaded ? Q.routeStore.selectCurrentPosition(r, !1, 1) : I(() => Q.layerStore.layersLoaded, () => {
|
|
31395
31507
|
Q.routeStore.selectCurrentPosition(r, !1, 1);
|
|
31396
31508
|
});
|
|
31397
31509
|
}
|
|
31398
|
-
|
|
31510
|
+
ZN(QN(e.search));
|
|
31399
31511
|
}
|
|
31400
31512
|
if (e.includes("copy_exh")) {
|
|
31401
31513
|
let e = new URL(window.location.href);
|
|
31402
|
-
e.searchParams.get("copy_exh"), e.searchParams.delete("copy_exh"),
|
|
31514
|
+
e.searchParams.get("copy_exh"), e.searchParams.delete("copy_exh"), ZN("?");
|
|
31403
31515
|
}
|
|
31404
31516
|
if (e.includes("noOverlay")) {
|
|
31405
31517
|
let e = new URL(window.location.href), t = e.searchParams.get("noOverlay");
|
|
31406
31518
|
e.searchParams.delete("noOverlay");
|
|
31407
|
-
let n =
|
|
31408
|
-
t === "true" ? Q.uiState.hideOverlay = !0 : t === "false" && (Q.uiState.hideOverlay = !1),
|
|
31519
|
+
let n = QN(e.search);
|
|
31520
|
+
t === "true" ? Q.uiState.hideOverlay = !0 : t === "false" && (Q.uiState.hideOverlay = !1), ZN(n);
|
|
31409
31521
|
}
|
|
31410
31522
|
if (e.includes("allowConsent")) {
|
|
31411
31523
|
let e = new URL(window.location.href), t = e.searchParams.get("allowConsent");
|
|
31412
31524
|
e.searchParams.delete("allowConsent");
|
|
31413
|
-
let n =
|
|
31414
|
-
t === "true" ?
|
|
31525
|
+
let n = QN(e.search);
|
|
31526
|
+
t === "true" ? MP(!0) : t === "false" && MP(!1), ZN(n);
|
|
31415
31527
|
}
|
|
31416
31528
|
if (e.includes("hideHeaderLogo")) {
|
|
31417
31529
|
let e = new URL(window.location.href), t = e.searchParams.get("hideHeaderLogo");
|
|
31418
31530
|
e.searchParams.delete("hideHeaderLogo");
|
|
31419
|
-
let n =
|
|
31420
|
-
t === "true" && ($.hideHeaderLogo = !0),
|
|
31531
|
+
let n = QN(e.search);
|
|
31532
|
+
t === "true" && ($.hideHeaderLogo = !0), ZN(n);
|
|
31421
31533
|
}
|
|
31422
31534
|
if (e.includes("hideLogoInBooth")) {
|
|
31423
31535
|
let e = new URL(window.location.href), t = e.searchParams.get("hideLogoInBooth");
|
|
31424
31536
|
e.searchParams.delete("hideLogoInBooth");
|
|
31425
|
-
let n =
|
|
31426
|
-
t === "true" && ($.hideLogoInBooth = !0),
|
|
31537
|
+
let n = QN(e.search);
|
|
31538
|
+
t === "true" && ($.hideLogoInBooth = !0), ZN(n);
|
|
31427
31539
|
}
|
|
31428
31540
|
if (e.includes("disableFeatured")) {
|
|
31429
31541
|
let e = new URL(window.location.href), t = e.searchParams.get("disableFeatured");
|
|
31430
31542
|
e.searchParams.delete("disableFeatured");
|
|
31431
|
-
let n =
|
|
31432
|
-
t === "true" && Q.exhibitorStore.exhibitors.forEach((e) => e.featured = !1),
|
|
31543
|
+
let n = QN(e.search);
|
|
31544
|
+
t === "true" && Q.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), ZN(n);
|
|
31433
31545
|
}
|
|
31434
31546
|
if (e.includes("disableBookmarked")) {
|
|
31435
31547
|
let e = new URL(window.location.href), t = e.searchParams.get("disableBookmarked");
|
|
31436
31548
|
e.searchParams.delete("disableBookmarked");
|
|
31437
|
-
let n =
|
|
31438
|
-
t === "true" && ($.disableBookmarked = !0),
|
|
31549
|
+
let n = QN(e.search);
|
|
31550
|
+
t === "true" && ($.disableBookmarked = !0), ZN(n);
|
|
31439
31551
|
}
|
|
31440
31552
|
if (e.includes("disableGps")) {
|
|
31441
31553
|
let e = new URL(window.location.href), t = e.searchParams.get("disableGps");
|
|
31442
31554
|
e.searchParams.delete("disableGps");
|
|
31443
|
-
let n =
|
|
31444
|
-
t === "true" && Q.routeStore.setGpsTrackingEnabled(!1),
|
|
31555
|
+
let n = QN(e.search);
|
|
31556
|
+
t === "true" && Q.routeStore.setGpsTrackingEnabled(!1), ZN(n);
|
|
31445
31557
|
}
|
|
31446
31558
|
if (e.includes("monochrome")) {
|
|
31447
31559
|
let e = new URL(window.location.href), t = e.searchParams.get("monochrome");
|
|
31448
31560
|
e.searchParams.delete("monochrome");
|
|
31449
|
-
let n =
|
|
31450
|
-
t === "true" && ($.monochrome = !0),
|
|
31561
|
+
let n = QN(e.search);
|
|
31562
|
+
t === "true" && ($.monochrome = !0), ZN(n);
|
|
31451
31563
|
}
|
|
31452
|
-
if ((e.startsWith("?fbclid") || e.startsWith("?_ga")) &&
|
|
31564
|
+
if ((e.startsWith("?fbclid") || e.startsWith("?_ga")) && ZN("?"), e.includes("viewermode")) {
|
|
31453
31565
|
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),
|
|
31566
|
+
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
31567
|
}
|
|
31456
31568
|
if (e.includes("previewMode")) {
|
|
31457
31569
|
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),
|
|
31570
|
+
t === "true" ? A && localStorage.setItem("___preview_mode", "1") : t === "false" && A && localStorage.removeItem("___preview_mode"), e.searchParams.delete(w), ZN(QN(e.search));
|
|
31459
31571
|
}
|
|
31460
|
-
if ($.previewExhibitor &&
|
|
31461
|
-
let e =
|
|
31572
|
+
if ($.previewExhibitor && ZN("?" + $.previewExhibitor.slug), GN.location.search.includes("&") || GN.location.search.includes("%26")) {
|
|
31573
|
+
let e = GN.location.search;
|
|
31462
31574
|
e = e.startsWith("?") ? e.slice(1) : e;
|
|
31463
31575
|
let t = e.includes("&") ? "&" : "%26";
|
|
31464
|
-
|
|
31576
|
+
ZN("?" + e.split(t).map((e) => {
|
|
31465
31577
|
let t = Q.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
|
|
31466
31578
|
return t ? t.name : e;
|
|
31467
31579
|
}).join("&"));
|
|
@@ -31471,8 +31583,8 @@ function YN() {
|
|
|
31471
31583
|
Q.uiState.resetUIScale();
|
|
31472
31584
|
let e = new URL(window.location.href);
|
|
31473
31585
|
e.searchParams.delete(ye);
|
|
31474
|
-
let t =
|
|
31475
|
-
|
|
31586
|
+
let t = QN(e.search);
|
|
31587
|
+
zN = !0, ZN(t), zN = !1;
|
|
31476
31588
|
}
|
|
31477
31589
|
let r = n.get(D);
|
|
31478
31590
|
if (r) {
|
|
@@ -31480,39 +31592,39 @@ function YN() {
|
|
|
31480
31592
|
!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
31593
|
let n = new URL(window.location.href);
|
|
31482
31594
|
n.searchParams.delete(D);
|
|
31483
|
-
let i =
|
|
31484
|
-
|
|
31595
|
+
let i = QN(n.search);
|
|
31596
|
+
zN = !0, ZN(i), zN = !1;
|
|
31485
31597
|
}
|
|
31486
31598
|
}
|
|
31487
|
-
function
|
|
31488
|
-
|
|
31489
|
-
|
|
31490
|
-
}),
|
|
31491
|
-
Q.urlFilterManager && !Q.urlFilterManager.isInitialized && Q.urlFilterManager.initialize(),
|
|
31599
|
+
function iP(e = !1) {
|
|
31600
|
+
zN = e, !zN && YN(GN.location.search) === KN && qN.push(YN(GN.location.search)), WN = GN.listen((e, t) => {
|
|
31601
|
+
zN || (qN.push(YN(e.search)), l.log("history", t, e), t === "POP" && nP());
|
|
31602
|
+
}), rP(), tP(), I(() => Q.layerStore.layersLoaded, () => {
|
|
31603
|
+
Q.urlFilterManager && !Q.urlFilterManager.isInitialized && Q.urlFilterManager.initialize(), nP(), ce(eP), ce($N), $.viewerMode && ($.menu = !0);
|
|
31492
31604
|
});
|
|
31493
31605
|
}
|
|
31494
|
-
function
|
|
31495
|
-
|
|
31496
|
-
|
|
31606
|
+
function aP(e = "") {
|
|
31607
|
+
ZN("?" + decodeURIComponent(e.toString())), Q.layerStore.layersLoaded ? (rP(), nP()) : (tP(), I(() => Q.layerStore.layersLoaded, () => {
|
|
31608
|
+
rP(), nP();
|
|
31497
31609
|
}));
|
|
31498
31610
|
}
|
|
31499
|
-
function
|
|
31500
|
-
|
|
31611
|
+
function oP() {
|
|
31612
|
+
WN();
|
|
31501
31613
|
}
|
|
31502
|
-
function
|
|
31503
|
-
if (console.log("goBack"),
|
|
31504
|
-
|
|
31505
|
-
let e =
|
|
31506
|
-
return
|
|
31507
|
-
} else return
|
|
31614
|
+
function sP() {
|
|
31615
|
+
if (console.log("goBack"), qN.length > 1) {
|
|
31616
|
+
qN.pop();
|
|
31617
|
+
let e = qN[qN.length - 1].replace(KN, "");
|
|
31618
|
+
return zN = !0, GN.replace(e), zN = !1, nP(), !0;
|
|
31619
|
+
} else return GN.go(-1), !1;
|
|
31508
31620
|
}
|
|
31509
|
-
function
|
|
31621
|
+
function cP(e) {
|
|
31510
31622
|
try {
|
|
31511
31623
|
let t = {}, n = $.defaultMapSettings;
|
|
31512
|
-
if (new Set(e.keys()).size) t =
|
|
31624
|
+
if (new Set(e.keys()).size) t = lP(Object.fromEntries(e.entries()), n);
|
|
31513
31625
|
else {
|
|
31514
31626
|
let e = sessionStorage.getItem(_e);
|
|
31515
|
-
e && (t =
|
|
31627
|
+
e && (t = lP(JSON.parse(e), n));
|
|
31516
31628
|
}
|
|
31517
31629
|
if ($.setMapSettings(t), t.z) {
|
|
31518
31630
|
let e = Q.layerStore.layers.find((e) => e.name === t.z);
|
|
@@ -31522,7 +31634,7 @@ function eP(e) {
|
|
|
31522
31634
|
console.error("Failed to process or save map settings.", e);
|
|
31523
31635
|
}
|
|
31524
31636
|
}
|
|
31525
|
-
function
|
|
31637
|
+
function lP(e, t) {
|
|
31526
31638
|
let n = {};
|
|
31527
31639
|
for (let r in e) {
|
|
31528
31640
|
if (!Object.prototype.hasOwnProperty.call(t, r) || !Object.prototype.hasOwnProperty.call(e, r)) continue;
|
|
@@ -31533,7 +31645,7 @@ function tP(e, t) {
|
|
|
31533
31645
|
}
|
|
31534
31646
|
//#endregion
|
|
31535
31647
|
//#region src/components/Kiosk/requestKioskKey.ts
|
|
31536
|
-
async function
|
|
31648
|
+
async function uP(e, t) {
|
|
31537
31649
|
let n;
|
|
31538
31650
|
try {
|
|
31539
31651
|
let r = new URL("/api/kiosks", t);
|
|
@@ -31550,8 +31662,8 @@ async function nP(e, t) {
|
|
|
31550
31662
|
}
|
|
31551
31663
|
//#endregion
|
|
31552
31664
|
//#region src/tools/telemetry.ts
|
|
31553
|
-
var
|
|
31554
|
-
function
|
|
31665
|
+
var dP = "efp-telemetry", fP = 300 * 1e3, pP = 1e3;
|
|
31666
|
+
function mP(e = dP) {
|
|
31555
31667
|
return {
|
|
31556
31668
|
get() {
|
|
31557
31669
|
try {
|
|
@@ -31577,7 +31689,7 @@ function oP(e = rP) {
|
|
|
31577
31689
|
}
|
|
31578
31690
|
};
|
|
31579
31691
|
}
|
|
31580
|
-
function
|
|
31692
|
+
function hP(e) {
|
|
31581
31693
|
let t = e.headers.get("Retry-After");
|
|
31582
31694
|
if (!t) return 0;
|
|
31583
31695
|
let n = 0, r = Number(t);
|
|
@@ -31586,11 +31698,11 @@ function sP(e) {
|
|
|
31586
31698
|
let e = Date.parse(t);
|
|
31587
31699
|
isNaN(e) || (n = Math.max(0, e - Date.now()));
|
|
31588
31700
|
}
|
|
31589
|
-
return Math.min(n,
|
|
31701
|
+
return Math.min(n, fP);
|
|
31590
31702
|
}
|
|
31591
|
-
function
|
|
31703
|
+
function gP(e) {
|
|
31592
31704
|
var t;
|
|
31593
|
-
let { url: n, expo: r, expoId: i, storage: a =
|
|
31705
|
+
let { url: n, expo: r, expoId: i, storage: a = mP() } = e, o = (t = e.kioskId) == null ? "" : t;
|
|
31594
31706
|
function s() {
|
|
31595
31707
|
let e = a.get();
|
|
31596
31708
|
return e ? (e.expo = r, e.expoId = i, e.kioskId = o, e) : {
|
|
@@ -31625,7 +31737,7 @@ function cP(e) {
|
|
|
31625
31737
|
});
|
|
31626
31738
|
if (!i.ok) {
|
|
31627
31739
|
if (i.status === 429 || i.status === 503) {
|
|
31628
|
-
let e =
|
|
31740
|
+
let e = hP(i);
|
|
31629
31741
|
e > 0 && (d = performance.now() + e);
|
|
31630
31742
|
}
|
|
31631
31743
|
p(e), console.error(`Failed to send telemetry: HTTP ${i.status}`);
|
|
@@ -31638,11 +31750,11 @@ function cP(e) {
|
|
|
31638
31750
|
}
|
|
31639
31751
|
function p(e) {
|
|
31640
31752
|
let t = s();
|
|
31641
|
-
t.items = [...e.items, ...t.items], t.items.length >
|
|
31753
|
+
t.items = [...e.items, ...t.items], t.items.length > pP && (t.items = t.items.slice(-pP)), a.set(t);
|
|
31642
31754
|
}
|
|
31643
31755
|
function m(e) {
|
|
31644
31756
|
let t = s();
|
|
31645
|
-
t.items.push(e), t.items.length >
|
|
31757
|
+
t.items.push(e), t.items.length > pP && (t.items = t.items.slice(-pP)), a.set(t);
|
|
31646
31758
|
}
|
|
31647
31759
|
async function h(e) {
|
|
31648
31760
|
m(e), await f();
|
|
@@ -31656,9 +31768,9 @@ function cP(e) {
|
|
|
31656
31768
|
}
|
|
31657
31769
|
//#endregion
|
|
31658
31770
|
//#region src/tools/track-event.ts
|
|
31659
|
-
var
|
|
31660
|
-
function
|
|
31661
|
-
if (
|
|
31771
|
+
var _P;
|
|
31772
|
+
function vP() {
|
|
31773
|
+
if (_P) return _P;
|
|
31662
31774
|
let e = window.__efpEvent, t;
|
|
31663
31775
|
try {
|
|
31664
31776
|
let e = new URL(R.trackerUrl).searchParams.get("expoId");
|
|
@@ -31666,14 +31778,14 @@ function uP() {
|
|
|
31666
31778
|
} catch (e) {
|
|
31667
31779
|
l.error(e);
|
|
31668
31780
|
}
|
|
31669
|
-
return
|
|
31781
|
+
return _P = gP({
|
|
31670
31782
|
url: "https://app.expofp.com/api/telemetry",
|
|
31671
31783
|
expo: e,
|
|
31672
31784
|
expoId: t
|
|
31673
|
-
}),
|
|
31785
|
+
}), _P;
|
|
31674
31786
|
}
|
|
31675
|
-
function
|
|
31676
|
-
let n = localStorage.getItem(br), r =
|
|
31787
|
+
function yP(e, t) {
|
|
31788
|
+
let n = localStorage.getItem(br), r = JN(), i = r[r.length - 2];
|
|
31677
31789
|
return {
|
|
31678
31790
|
type: e,
|
|
31679
31791
|
value: t === void 0 ? "" : String(t),
|
|
@@ -31682,34 +31794,34 @@ function dP(e, t) {
|
|
|
31682
31794
|
referrer: i ? window.location.origin + i : ""
|
|
31683
31795
|
};
|
|
31684
31796
|
}
|
|
31685
|
-
function
|
|
31797
|
+
function bP() {
|
|
31686
31798
|
return !!(R != null && R.trackerUrl) && !$.heatmap;
|
|
31687
31799
|
}
|
|
31688
|
-
async function
|
|
31689
|
-
if (l.log("trackEvent", e, t),
|
|
31690
|
-
let n =
|
|
31800
|
+
async function xP(e, t) {
|
|
31801
|
+
if (l.log("trackEvent", e, t), bP()) try {
|
|
31802
|
+
let n = vP(), r = NN();
|
|
31691
31803
|
if (r) {
|
|
31692
|
-
let i = await
|
|
31804
|
+
let i = await SP(r);
|
|
31693
31805
|
if (i) n.setKioskId(i);
|
|
31694
31806
|
else {
|
|
31695
|
-
n.enqueue(
|
|
31807
|
+
n.enqueue(yP(e, t));
|
|
31696
31808
|
return;
|
|
31697
31809
|
}
|
|
31698
31810
|
}
|
|
31699
|
-
|
|
31811
|
+
wP(n), await n.send(yP(e, t));
|
|
31700
31812
|
} catch (e) {
|
|
31701
31813
|
l.error("trackEvent", String(e));
|
|
31702
31814
|
}
|
|
31703
31815
|
}
|
|
31704
|
-
async function
|
|
31816
|
+
async function SP(e) {
|
|
31705
31817
|
if (!e) return null;
|
|
31706
31818
|
let t = "expofp-kiosk-stats-id", n = localStorage.getItem(t);
|
|
31707
|
-
return n || (n = await
|
|
31819
|
+
return n || (n = await uP(e, "https://app.expofp.com/"), n ? (localStorage.setItem(t, n), n) : null);
|
|
31708
31820
|
}
|
|
31709
|
-
var
|
|
31710
|
-
function
|
|
31711
|
-
if (
|
|
31712
|
-
|
|
31821
|
+
var CP = !1;
|
|
31822
|
+
function wP(e) {
|
|
31823
|
+
if (CP) return;
|
|
31824
|
+
CP = !0;
|
|
31713
31825
|
let t = "efp-track-events";
|
|
31714
31826
|
try {
|
|
31715
31827
|
let r = localStorage.getItem(t);
|
|
@@ -31736,15 +31848,15 @@ function gP(e) {
|
|
|
31736
31848
|
}
|
|
31737
31849
|
//#endregion
|
|
31738
31850
|
//#region src/tools/gtag.ts
|
|
31739
|
-
var
|
|
31851
|
+
var TP = "G-78CKLYWFJK";
|
|
31740
31852
|
window.dataLayer = window.dataLayer || [];
|
|
31741
|
-
function
|
|
31853
|
+
function EP(...e) {
|
|
31742
31854
|
window.dataLayer.push(arguments);
|
|
31743
31855
|
}
|
|
31744
|
-
var
|
|
31856
|
+
var DP = /* @__PURE__ */ function(e) {
|
|
31745
31857
|
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
31858
|
}({});
|
|
31747
|
-
async function
|
|
31859
|
+
async function OP() {
|
|
31748
31860
|
try {
|
|
31749
31861
|
let e = fetch("https://consent.expofp.com/api/verify-ip/is-in-gdpr"), t = new Promise((e) => {
|
|
31750
31862
|
setTimeout(() => {
|
|
@@ -31756,94 +31868,94 @@ async function bP() {
|
|
|
31756
31868
|
return console.error(e), null;
|
|
31757
31869
|
}
|
|
31758
31870
|
}
|
|
31759
|
-
function
|
|
31871
|
+
function kP(e) {
|
|
31760
31872
|
if (e === !1 || e === !0) return e ? "granted" : "denied";
|
|
31761
31873
|
let t = document.cookie.split("; ").find((e) => e.startsWith("cookie_consent="));
|
|
31762
31874
|
if (t) return t === "cookie_consent=true" ? "granted" : "denied";
|
|
31763
31875
|
}
|
|
31764
|
-
function
|
|
31876
|
+
function AP(e) {
|
|
31765
31877
|
let t = 2592e3, n = N ? "localhost" : ".expofp.com";
|
|
31766
31878
|
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
31879
|
}
|
|
31768
|
-
function
|
|
31880
|
+
function jP() {
|
|
31769
31881
|
let e = document.cookie.split(";"), t = N ? "localhost" : ".expofp.com";
|
|
31770
31882
|
for (let n = 0; n < e.length; n++) {
|
|
31771
31883
|
let r = e[n], i = r.indexOf("="), a = i > -1 ? r.substr(0, i).trim() : r.trim();
|
|
31772
31884
|
a.startsWith("_ga") && (document.cookie = `${a}=;expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${t}`);
|
|
31773
31885
|
}
|
|
31774
31886
|
}
|
|
31775
|
-
function
|
|
31776
|
-
let t =
|
|
31777
|
-
t && (t === "denied" ? (
|
|
31887
|
+
function MP(e) {
|
|
31888
|
+
let t = kP(e);
|
|
31889
|
+
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
31890
|
analytics_storage: t,
|
|
31779
31891
|
ad_personalization: t
|
|
31780
31892
|
}));
|
|
31781
31893
|
}
|
|
31782
|
-
function
|
|
31894
|
+
function NP(e, t, n) {
|
|
31783
31895
|
switch (e) {
|
|
31784
|
-
case
|
|
31785
|
-
|
|
31896
|
+
case DP.ViewBooth:
|
|
31897
|
+
EP("event", "select_content", {
|
|
31786
31898
|
content_type: e,
|
|
31787
31899
|
content_id: t
|
|
31788
|
-
}),
|
|
31900
|
+
}), xP("booview", t);
|
|
31789
31901
|
break;
|
|
31790
|
-
case
|
|
31791
|
-
|
|
31902
|
+
case DP.ViewCategory:
|
|
31903
|
+
EP("event", "select_content", {
|
|
31792
31904
|
content_type: e,
|
|
31793
31905
|
content_id: t
|
|
31794
|
-
}),
|
|
31906
|
+
}), xP("catview", t);
|
|
31795
31907
|
break;
|
|
31796
|
-
case
|
|
31797
|
-
case
|
|
31798
|
-
case
|
|
31799
|
-
|
|
31908
|
+
case DP.ViewExhibitor:
|
|
31909
|
+
case DP.ViewGallery:
|
|
31910
|
+
case DP.ViewVideo:
|
|
31911
|
+
EP("event", "select_content", {
|
|
31800
31912
|
content_type: e,
|
|
31801
31913
|
content_id: t
|
|
31802
31914
|
});
|
|
31803
31915
|
break;
|
|
31804
|
-
case
|
|
31805
|
-
|
|
31916
|
+
case DP.Search:
|
|
31917
|
+
EP("event", "search", { search_term: t }), xP("search", t);
|
|
31806
31918
|
break;
|
|
31807
|
-
case
|
|
31808
|
-
case
|
|
31809
|
-
case
|
|
31810
|
-
case
|
|
31811
|
-
case
|
|
31812
|
-
case
|
|
31813
|
-
case
|
|
31814
|
-
case
|
|
31815
|
-
case
|
|
31816
|
-
case
|
|
31817
|
-
case
|
|
31818
|
-
|
|
31919
|
+
case DP.ClickCustomButton:
|
|
31920
|
+
case DP.ClickPhone:
|
|
31921
|
+
case DP.ClickEmail:
|
|
31922
|
+
case DP.ClickWebsite:
|
|
31923
|
+
case DP.ClickFacebook:
|
|
31924
|
+
case DP.ClickInstagaram:
|
|
31925
|
+
case DP.ClickLinkedin:
|
|
31926
|
+
case DP.ClickTwitter:
|
|
31927
|
+
case DP.ClickGooglePlus:
|
|
31928
|
+
case DP.ClickXing:
|
|
31929
|
+
case DP.ClickYoutube:
|
|
31930
|
+
EP("event", "share", {
|
|
31819
31931
|
content_type: e,
|
|
31820
31932
|
content_id: t
|
|
31821
|
-
}),
|
|
31933
|
+
}), xP("share", t);
|
|
31822
31934
|
break;
|
|
31823
|
-
case
|
|
31824
|
-
|
|
31935
|
+
case DP.ClickDirections:
|
|
31936
|
+
EP("event", "route", {
|
|
31825
31937
|
content_type: e,
|
|
31826
31938
|
content_id: t
|
|
31827
|
-
}),
|
|
31939
|
+
}), xP("route", t);
|
|
31828
31940
|
break;
|
|
31829
|
-
default:
|
|
31941
|
+
default: EP("event", e, {
|
|
31830
31942
|
content_type: n,
|
|
31831
31943
|
content_id: t
|
|
31832
31944
|
});
|
|
31833
31945
|
}
|
|
31834
31946
|
}
|
|
31835
|
-
var
|
|
31836
|
-
if (!
|
|
31837
|
-
|
|
31947
|
+
var PP, FP;
|
|
31948
|
+
if (!PP) {
|
|
31949
|
+
PP = document.createElement("script"), PP.type = "text/javascript", PP.async = !0, PP.src = `https://www.googletagmanager.com/gtag/js?id=${TP}`;
|
|
31838
31950
|
let e = document.getElementsByTagName("script")[0];
|
|
31839
|
-
e.parentNode.insertBefore(
|
|
31951
|
+
e.parentNode.insertBefore(PP, e), EP("js", /* @__PURE__ */ new Date());
|
|
31840
31952
|
}
|
|
31841
|
-
if (R.gtag && !
|
|
31842
|
-
|
|
31953
|
+
if (R.gtag && !FP) {
|
|
31954
|
+
FP = document.createElement("script"), FP.type = "text/javascript", FP.async = !0, FP.src = `https://www.googletagmanager.com/gtag/js?id=${R.gtag}`;
|
|
31843
31955
|
let e = document.getElementsByTagName("script")[0];
|
|
31844
|
-
e.parentNode.insertBefore(
|
|
31956
|
+
e.parentNode.insertBefore(FP, e), EP("config", R.gtag, { fp_key: $n.EXPO });
|
|
31845
31957
|
}
|
|
31846
|
-
|
|
31958
|
+
EP("config", TP, { fp_key: $n.EXPO }), window.gtag = EP, EP("consent", "default", {
|
|
31847
31959
|
ad_storage: "denied",
|
|
31848
31960
|
analytics_storage: "denied",
|
|
31849
31961
|
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 +31964,13 @@ vP("config", _P, { fp_key: $n.EXPO }), window.gtag = vP, vP("consent", "default"
|
|
|
31852
31964
|
security_storage: "denied",
|
|
31853
31965
|
ad_personalization: "denied"
|
|
31854
31966
|
});
|
|
31855
|
-
function
|
|
31856
|
-
|
|
31967
|
+
function IP() {
|
|
31968
|
+
PP && PP.parentNode && (PP.parentNode.removeChild(PP), PP = null), FP && FP.parentNode && (FP.parentNode.removeChild(FP), FP = null);
|
|
31857
31969
|
}
|
|
31858
31970
|
//#endregion
|
|
31859
31971
|
//#region src/store/MapboxStore.ts
|
|
31860
|
-
var
|
|
31861
|
-
function
|
|
31972
|
+
var LP, RP, zP, BP, VP, HP, UP;
|
|
31973
|
+
function WP(e, t, n, r) {
|
|
31862
31974
|
n && Object.defineProperty(e, t, {
|
|
31863
31975
|
enumerable: n.enumerable,
|
|
31864
31976
|
configurable: n.configurable,
|
|
@@ -31866,7 +31978,7 @@ function IP(e, t, n, r) {
|
|
|
31866
31978
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
31867
31979
|
});
|
|
31868
31980
|
}
|
|
31869
|
-
function
|
|
31981
|
+
function GP(e, t, n, r, i) {
|
|
31870
31982
|
var a = {};
|
|
31871
31983
|
return Object.keys(r).forEach(function(e) {
|
|
31872
31984
|
a[e] = r[e];
|
|
@@ -31874,9 +31986,9 @@ function LP(e, t, n, r, i) {
|
|
|
31874
31986
|
return r(e, t, n) || n;
|
|
31875
31987
|
}, 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
31988
|
}
|
|
31877
|
-
var
|
|
31989
|
+
var KP = (LP = j({ keepAlive: !0 }), RP = j({ keepAlive: !0 }), zP = class {
|
|
31878
31990
|
constructor(e) {
|
|
31879
|
-
this.rootStore = void 0,
|
|
31991
|
+
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
31992
|
}
|
|
31881
31993
|
activateMapbox() {
|
|
31882
31994
|
this.mapBoxSelected = !this.showMapbox, this.mapBoxActivated = !0;
|
|
@@ -31887,36 +31999,36 @@ var RP = (kP = j({ keepAlive: !0 }), AP = j({ keepAlive: !0 }), jP = class {
|
|
|
31887
31999
|
get showMapbox() {
|
|
31888
32000
|
return this.mapBoxEnabled && this.mapBoxSelected && this.mapBoxActivated;
|
|
31889
32001
|
}
|
|
31890
|
-
},
|
|
32002
|
+
}, BP = GP(zP.prototype, "mapBoxSelected", [F], {
|
|
31891
32003
|
configurable: !0,
|
|
31892
32004
|
enumerable: !0,
|
|
31893
32005
|
writable: !0,
|
|
31894
32006
|
initializer: function() {
|
|
31895
32007
|
return !0;
|
|
31896
32008
|
}
|
|
31897
|
-
}),
|
|
32009
|
+
}), VP = GP(zP.prototype, "isMapbox", [F], {
|
|
31898
32010
|
configurable: !0,
|
|
31899
32011
|
enumerable: !0,
|
|
31900
32012
|
writable: !0,
|
|
31901
32013
|
initializer: function() {
|
|
31902
32014
|
return !0;
|
|
31903
32015
|
}
|
|
31904
|
-
}),
|
|
32016
|
+
}), HP = GP(zP.prototype, "mapBoxActivated", [F], {
|
|
31905
32017
|
configurable: !0,
|
|
31906
32018
|
enumerable: !0,
|
|
31907
32019
|
writable: !0,
|
|
31908
32020
|
initializer: function() {
|
|
31909
32021
|
return !R.hide3dMapDefault;
|
|
31910
32022
|
}
|
|
31911
|
-
}),
|
|
32023
|
+
}), UP = GP(zP.prototype, "mapBoxEnabled", [F], {
|
|
31912
32024
|
configurable: !0,
|
|
31913
32025
|
enumerable: !0,
|
|
31914
32026
|
writable: !0,
|
|
31915
32027
|
initializer: function() {
|
|
31916
|
-
return !!
|
|
32028
|
+
return !!GA && R.allow3dView && !$.kiosk && window.navigator.onLine;
|
|
31917
32029
|
}
|
|
31918
|
-
}),
|
|
31919
|
-
function
|
|
32030
|
+
}), 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;
|
|
32031
|
+
function QP(e, t, n, r) {
|
|
31920
32032
|
n && Object.defineProperty(e, t, {
|
|
31921
32033
|
enumerable: n.enumerable,
|
|
31922
32034
|
configurable: n.configurable,
|
|
@@ -31924,7 +32036,7 @@ function WP(e, t, n, r) {
|
|
|
31924
32036
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
31925
32037
|
});
|
|
31926
32038
|
}
|
|
31927
|
-
function
|
|
32039
|
+
function $P(e, t, n, r, i) {
|
|
31928
32040
|
var a = {};
|
|
31929
32041
|
return Object.keys(r).forEach(function(e) {
|
|
31930
32042
|
a[e] = r[e];
|
|
@@ -31932,9 +32044,9 @@ function GP(e, t, n, r, i) {
|
|
|
31932
32044
|
return r(e, t, n) || n;
|
|
31933
32045
|
}, 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
32046
|
}
|
|
31935
|
-
var
|
|
32047
|
+
var eF = (qP = class {
|
|
31936
32048
|
constructor(e) {
|
|
31937
|
-
this.rootStore = void 0,
|
|
32049
|
+
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
32050
|
}
|
|
31939
32051
|
get resolvedBooths() {
|
|
31940
32052
|
let e = /* @__PURE__ */ new Map();
|
|
@@ -32055,7 +32167,7 @@ var KP = (zP = class {
|
|
|
32055
32167
|
entity: r,
|
|
32056
32168
|
booth: r.booths[0] || null
|
|
32057
32169
|
};
|
|
32058
|
-
let i =
|
|
32170
|
+
let i = aN(e);
|
|
32059
32171
|
return i ? {
|
|
32060
32172
|
type: "booth",
|
|
32061
32173
|
entity: i,
|
|
@@ -32089,7 +32201,7 @@ var KP = (zP = class {
|
|
|
32089
32201
|
this.rootStore.routeStore.updateRoute([]);
|
|
32090
32202
|
return;
|
|
32091
32203
|
}
|
|
32092
|
-
let c = s[0], l = s[s.length - 1], u = s.slice(1, -1), d = new
|
|
32204
|
+
let c = s[0], l = s[s.length - 1], u = s.slice(1, -1), d = new lN(c, l, u);
|
|
32093
32205
|
this.rootStore.routeStore.selectRoute(d, !1), this.rootStore.uiState.setIsMultiPointRoute(u.length > 0);
|
|
32094
32206
|
}
|
|
32095
32207
|
reorderItemsByNames(e) {
|
|
@@ -32127,35 +32239,35 @@ var KP = (zP = class {
|
|
|
32127
32239
|
focused: !1
|
|
32128
32240
|
}, this.rootStore.routeStore.selectRoute(null, !1);
|
|
32129
32241
|
}
|
|
32130
|
-
},
|
|
32242
|
+
}, JP = $P(qP.prototype, "items", [F], {
|
|
32131
32243
|
configurable: !0,
|
|
32132
32244
|
enumerable: !0,
|
|
32133
32245
|
writable: !0,
|
|
32134
32246
|
initializer: function() {
|
|
32135
32247
|
return [];
|
|
32136
32248
|
}
|
|
32137
|
-
}),
|
|
32249
|
+
}), YP = $P(qP.prototype, "startPoint", [F], {
|
|
32138
32250
|
configurable: !0,
|
|
32139
32251
|
enumerable: !0,
|
|
32140
32252
|
writable: !0,
|
|
32141
32253
|
initializer: function() {
|
|
32142
32254
|
return null;
|
|
32143
32255
|
}
|
|
32144
|
-
}),
|
|
32256
|
+
}), XP = $P(qP.prototype, "source", [F], {
|
|
32145
32257
|
configurable: !0,
|
|
32146
32258
|
enumerable: !0,
|
|
32147
32259
|
writable: !0,
|
|
32148
32260
|
initializer: function() {
|
|
32149
32261
|
return null;
|
|
32150
32262
|
}
|
|
32151
|
-
}),
|
|
32263
|
+
}), ZP = $P(qP.prototype, "excludedVisitedCount", [F], {
|
|
32152
32264
|
configurable: !0,
|
|
32153
32265
|
enumerable: !0,
|
|
32154
32266
|
writable: !0,
|
|
32155
32267
|
initializer: function() {
|
|
32156
32268
|
return 0;
|
|
32157
32269
|
}
|
|
32158
|
-
}),
|
|
32270
|
+
}), $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
32271
|
uitestdemo: [{
|
|
32160
32272
|
id: "connected-business-tour",
|
|
32161
32273
|
layers: [{
|
|
@@ -32550,8 +32662,8 @@ var KP = (zP = class {
|
|
|
32550
32662
|
"16529024"
|
|
32551
32663
|
]
|
|
32552
32664
|
}]
|
|
32553
|
-
},
|
|
32554
|
-
function
|
|
32665
|
+
}, nF, rF, iF, aF, oF;
|
|
32666
|
+
function sF(e, t, n, r) {
|
|
32555
32667
|
n && Object.defineProperty(e, t, {
|
|
32556
32668
|
enumerable: n.enumerable,
|
|
32557
32669
|
configurable: n.configurable,
|
|
@@ -32559,7 +32671,7 @@ function $P(e, t, n, r) {
|
|
|
32559
32671
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
32560
32672
|
});
|
|
32561
32673
|
}
|
|
32562
|
-
function
|
|
32674
|
+
function cF(e, t, n, r, i) {
|
|
32563
32675
|
var a = {};
|
|
32564
32676
|
return Object.keys(r).forEach(function(e) {
|
|
32565
32677
|
a[e] = r[e];
|
|
@@ -32567,17 +32679,17 @@ function eF(e, t, n, r, i) {
|
|
|
32567
32679
|
return r(e, t, n) || n;
|
|
32568
32680
|
}, 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
32681
|
}
|
|
32570
|
-
var
|
|
32682
|
+
var lF = 1, uF = (nF = class {
|
|
32571
32683
|
constructor(e) {
|
|
32572
|
-
this.rootStore = void 0,
|
|
32684
|
+
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
32685
|
}
|
|
32574
32686
|
loadTours() {
|
|
32575
32687
|
try {
|
|
32576
|
-
if (this.currentExpo = $n.EXPO || "default", this.toursLoadError = null, !this.isValidToursData(
|
|
32688
|
+
if (this.currentExpo = $n.EXPO || "default", this.toursLoadError = null, !this.isValidToursData(tF)) {
|
|
32577
32689
|
this.toursLoadError = "Invalid tours data format", this.resetTours();
|
|
32578
32690
|
return;
|
|
32579
32691
|
}
|
|
32580
|
-
let e =
|
|
32692
|
+
let e = tF[this.currentExpo] || [];
|
|
32581
32693
|
if (!this.validateToursStructure(e)) {
|
|
32582
32694
|
this.toursLoadError = "Invalid tour items structure", this.resetTours();
|
|
32583
32695
|
return;
|
|
@@ -32594,7 +32706,7 @@ var tF = 1, nF = (JP = class {
|
|
|
32594
32706
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
32595
32707
|
}
|
|
32596
32708
|
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 >=
|
|
32709
|
+
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
32710
|
}
|
|
32599
32711
|
get tourItems() {
|
|
32600
32712
|
return this.tours;
|
|
@@ -32609,7 +32721,7 @@ var tF = 1, nF = (JP = class {
|
|
|
32609
32721
|
});
|
|
32610
32722
|
}
|
|
32611
32723
|
getToursForExpo(e) {
|
|
32612
|
-
return this.isValidToursData(
|
|
32724
|
+
return this.isValidToursData(tF) && tF[e] || [];
|
|
32613
32725
|
}
|
|
32614
32726
|
get currentTour() {
|
|
32615
32727
|
let { list: e } = this.rootStore.uiState;
|
|
@@ -32639,164 +32751,59 @@ var tF = 1, nF = (JP = class {
|
|
|
32639
32751
|
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
32752
|
}
|
|
32641
32753
|
validateTourForLaunch(e) {
|
|
32642
|
-
return e.layers.length <
|
|
32754
|
+
return e.layers.length < lF ? `Tour must have at least ${lF} layer` : null;
|
|
32643
32755
|
}
|
|
32644
32756
|
stopTour() {
|
|
32645
|
-
this.rootStore.uiState.setIsMultiPointTour(!1), this.rootStore.uiState.setPathwayOnlyMode(!1)
|
|
32757
|
+
this.rootStore.uiState.setIsMultiPointTour(!1), this.rootStore.uiState.setPathwayOnlyMode(!1);
|
|
32758
|
+
let e = this.rootStore.uiState.list.type;
|
|
32759
|
+
(e === "tours" || e === "multi-point-tour") && (this.rootStore.uiState.list = {
|
|
32646
32760
|
type: "search",
|
|
32647
32761
|
text: "",
|
|
32648
32762
|
focused: !1
|
|
32649
32763
|
}), this.rootStore.fp.hidePathways();
|
|
32650
32764
|
}
|
|
32651
|
-
},
|
|
32765
|
+
}, rF = cF(nF.prototype, "tours", [F], {
|
|
32652
32766
|
configurable: !0,
|
|
32653
32767
|
enumerable: !0,
|
|
32654
32768
|
writable: !0,
|
|
32655
32769
|
initializer: function() {
|
|
32656
32770
|
return [];
|
|
32657
32771
|
}
|
|
32658
|
-
}),
|
|
32772
|
+
}), iF = cF(nF.prototype, "currentExpo", [F], {
|
|
32659
32773
|
configurable: !0,
|
|
32660
32774
|
enumerable: !0,
|
|
32661
32775
|
writable: !0,
|
|
32662
32776
|
initializer: function() {
|
|
32663
32777
|
return "";
|
|
32664
32778
|
}
|
|
32665
|
-
}),
|
|
32779
|
+
}), aF = cF(nF.prototype, "hasTours", [F], {
|
|
32666
32780
|
configurable: !0,
|
|
32667
32781
|
enumerable: !0,
|
|
32668
32782
|
writable: !0,
|
|
32669
32783
|
initializer: function() {
|
|
32670
32784
|
return !1;
|
|
32671
32785
|
}
|
|
32672
|
-
}),
|
|
32786
|
+
}), oF = cF(nF.prototype, "toursLoadError", [F], {
|
|
32673
32787
|
configurable: !0,
|
|
32674
32788
|
enumerable: !0,
|
|
32675
32789
|
writable: !0,
|
|
32676
32790
|
initializer: function() {
|
|
32677
32791
|
return null;
|
|
32678
32792
|
}
|
|
32679
|
-
}),
|
|
32793
|
+
}), 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
32794
|
xs: 0,
|
|
32681
32795
|
sm: 480,
|
|
32682
32796
|
md: 768,
|
|
32683
32797
|
lg: 998,
|
|
32684
32798
|
xl: 1100
|
|
32685
32799
|
};
|
|
32686
|
-
function
|
|
32687
|
-
let { sm: t, md: n, lg: r, xl: i } =
|
|
32800
|
+
function fF(e) {
|
|
32801
|
+
let { sm: t, md: n, lg: r, xl: i } = dF;
|
|
32688
32802
|
return e < t ? "xs" : e >= t && e < n ? "sm" : e >= n && e < r ? "md" : e >= r && e < i ? "lg" : "xl";
|
|
32689
32803
|
}
|
|
32690
32804
|
//#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, "");
|
|
32805
|
+
//#region src/utils/sanitizeText.ts
|
|
32806
|
+
var pF = (e) => e.trim().replace(/[^a-z0-9]/gi, "");
|
|
32800
32807
|
function mF(e, t = []) {
|
|
32801
32808
|
if (!e) return "";
|
|
32802
32809
|
let n = [
|
|
@@ -32805,7 +32812,7 @@ function mF(e, t = []) {
|
|
|
32805
32812
|
"fbclid=",
|
|
32806
32813
|
"lp_id=",
|
|
32807
32814
|
"lp_token=",
|
|
32808
|
-
`${
|
|
32815
|
+
`${kN()}=`
|
|
32809
32816
|
].concat(t || []), r = RegExp(`(^|\\?|&)(${n.join("|")})[^&]*`, "g");
|
|
32810
32817
|
return e.replace(r, "").replace(/(^|[?&])([^=&#]+)=(?=&|$)/g, (e, t, n) => `${t}${n}`);
|
|
32811
32818
|
}
|
|
@@ -32902,11 +32909,11 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
32902
32909
|
if (((e = this.list) == null ? void 0 : e.type) === "search" && !((t = this.list) == null || (t = t.text) == null) && t.trim().length) {
|
|
32903
32910
|
l.clear();
|
|
32904
32911
|
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()));
|
|
32912
|
+
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
32913
|
}
|
|
32907
32914
|
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
32915
|
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.
|
|
32916
|
+
})) : ((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
32917
|
var u;
|
|
32911
32918
|
l.clear();
|
|
32912
32919
|
let e = (u = this.list.text) == null ? void 0 : u.toLowerCase().trim(), t = this.rootStore.exhibitorStore.exhibitors;
|
|
@@ -32914,7 +32921,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
32914
32921
|
}
|
|
32915
32922
|
if (this.selectedPoiTypeFilters.length > 0 && (l.clear(), this.selectedPoiTypeFilters.forEach((e) => {
|
|
32916
32923
|
this.rootStore.boothStore.booths.filter((t) => t.poiTypeId === e.id).forEach((e) => l.add(e.id.toString()));
|
|
32917
|
-
})), this.details instanceof
|
|
32924
|
+
})), this.details instanceof lN) {
|
|
32918
32925
|
var d, f, p;
|
|
32919
32926
|
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
32927
|
}
|
|
@@ -32977,7 +32984,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
32977
32984
|
id: "route",
|
|
32978
32985
|
className: "efp-overlay-route",
|
|
32979
32986
|
priority: 70,
|
|
32980
|
-
isActive: () => this.details instanceof
|
|
32987
|
+
isActive: () => this.details instanceof lN,
|
|
32981
32988
|
searchBoxConfig: () => (this.details, {
|
|
32982
32989
|
mode: "details",
|
|
32983
32990
|
title: P("Directions")
|
|
@@ -33083,7 +33090,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33083
33090
|
id: "speaker",
|
|
33084
33091
|
className: "efp-overlay-speaker",
|
|
33085
33092
|
priority: 50,
|
|
33086
|
-
isActive: () => this.details instanceof
|
|
33093
|
+
isActive: () => this.details instanceof gA,
|
|
33087
33094
|
searchBoxConfig: () => ({
|
|
33088
33095
|
mode: "details",
|
|
33089
33096
|
title: this.details.name
|
|
@@ -33123,7 +33130,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33123
33130
|
id: "route-planner",
|
|
33124
33131
|
className: "efp-overlay-route-planner",
|
|
33125
33132
|
priority: 76,
|
|
33126
|
-
isActive: () => this.list.type === "route-planner" && (!this.details || this.details instanceof
|
|
33133
|
+
isActive: () => this.list.type === "route-planner" && (!this.details || this.details instanceof lN),
|
|
33127
33134
|
searchBoxConfig: () => ({
|
|
33128
33135
|
mode: "interface",
|
|
33129
33136
|
title: P("Route planner")
|
|
@@ -33175,10 +33182,10 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33175
33182
|
return this.list.type === "category" ? this.list.category : null;
|
|
33176
33183
|
}
|
|
33177
33184
|
get selectedRoute() {
|
|
33178
|
-
return this.details instanceof
|
|
33185
|
+
return this.details instanceof lN ? this.details : null;
|
|
33179
33186
|
}
|
|
33180
33187
|
get selectedSpeaker() {
|
|
33181
|
-
return this.details instanceof
|
|
33188
|
+
return this.details instanceof gA ? this.details : null;
|
|
33182
33189
|
}
|
|
33183
33190
|
get uiScale() {
|
|
33184
33191
|
return this._customUIScale === null ? this.kiosk ? 1.2 : 1 : this._customUIScale;
|
|
@@ -33240,7 +33247,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33240
33247
|
return this.overlayBottom ? "top" : this.wsDesktopPosition;
|
|
33241
33248
|
}
|
|
33242
33249
|
get responsiveClass() {
|
|
33243
|
-
return
|
|
33250
|
+
return fF(this.screenSize.width);
|
|
33244
33251
|
}
|
|
33245
33252
|
get mapVisibleTop() {
|
|
33246
33253
|
return (this.wsPosition === "top" ? this.wsOccupiedHeightPx : 0) + this.headerHeightPx;
|
|
@@ -33256,7 +33263,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33256
33263
|
}
|
|
33257
33264
|
get fullSizeOffset() {
|
|
33258
33265
|
let e = this.wsShown ? 54 : 0, t = this.bannerType === "free" && !this.freeBannerDismissed ? 40 : 0;
|
|
33259
|
-
if (this.details && !(this.details instanceof
|
|
33266
|
+
if (this.details && !(this.details instanceof lN)) return e + t + 20;
|
|
33260
33267
|
let n = this.shouldShowSearchButtons ? 54 : 0;
|
|
33261
33268
|
return e + t + 54 + 20 + n;
|
|
33262
33269
|
}
|
|
@@ -33439,7 +33446,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33439
33446
|
return i.sort((e, t) => e.pos - t.pos), [...i.map((e) => e.result), ...a];
|
|
33440
33447
|
}
|
|
33441
33448
|
get listItems() {
|
|
33442
|
-
if (this.details instanceof
|
|
33449
|
+
if (this.details instanceof lN && this.list.type !== "multi-point-tour") return [this.details.from, this.details.to].filter((e) => e);
|
|
33443
33450
|
switch (this.list.type) {
|
|
33444
33451
|
case "search":
|
|
33445
33452
|
let t = !(this.heatmap || this.heatmapYah) && this.rootStore.fuzzySearchEngineStore.engine ? this.fuzzySearchItems.map(({ item: e }) => e).concat(this.foundInDescription) : this.searchItems;
|
|
@@ -33477,7 +33484,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33477
33484
|
let e = this.rootStore.boothStore.boothById.get(t);
|
|
33478
33485
|
if (e) return e;
|
|
33479
33486
|
}
|
|
33480
|
-
let n =
|
|
33487
|
+
let n = oN(e);
|
|
33481
33488
|
return (n == null ? void 0 : n.entity) || null;
|
|
33482
33489
|
}).filter(Boolean);
|
|
33483
33490
|
case "route-planner": return this.rootStore.routePlannerStore.resolvedBooths;
|
|
@@ -33485,7 +33492,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33485
33492
|
throw Error("Unknown list.type");
|
|
33486
33493
|
}
|
|
33487
33494
|
get listBooths() {
|
|
33488
|
-
return lL(this.listItems, this.rootStore.boothStore.booths);
|
|
33495
|
+
return lL(this.listItems, this.rootStore.boothStore.booths, this.rootStore.eventStore.eventItems);
|
|
33489
33496
|
}
|
|
33490
33497
|
get selectedBooths() {
|
|
33491
33498
|
var e;
|
|
@@ -33582,7 +33589,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33582
33589
|
get routeQRCodeUrl() {
|
|
33583
33590
|
var e, t;
|
|
33584
33591
|
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`,
|
|
33592
|
+
n.search = `?route%3A${encodeURIComponent(r)}%3A${encodeURIComponent(i)}%3Afalse`, LN(n.searchParams, this.kioskData, [
|
|
33586
33593
|
"x",
|
|
33587
33594
|
"y",
|
|
33588
33595
|
"z"
|
|
@@ -33899,7 +33906,7 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
33899
33906
|
enumerable: !0,
|
|
33900
33907
|
writable: !0,
|
|
33901
33908
|
initializer: function() {
|
|
33902
|
-
return !!
|
|
33909
|
+
return !!kP();
|
|
33903
33910
|
}
|
|
33904
33911
|
}), yI = J(K.prototype, "hideHeaderLogo", [F], {
|
|
33905
33912
|
configurable: !0,
|
|
@@ -34182,11 +34189,11 @@ var sL = ["dimensions25"], cL = (SF = F.struct, CF = F.ref, wF = F.ref, TF = F.r
|
|
|
34182
34189
|
writable: !0,
|
|
34183
34190
|
initializer: null
|
|
34184
34191
|
}), J(K.prototype, "setKioskData", [M], Object.getOwnPropertyDescriptor(K.prototype, "setKioskData"), K.prototype), K);
|
|
34185
|
-
function lL(e, t) {
|
|
34186
|
-
let
|
|
34192
|
+
function lL(e, t, n = []) {
|
|
34193
|
+
let r = [];
|
|
34187
34194
|
return e.forEach((e) => {
|
|
34188
|
-
e instanceof _i ?
|
|
34189
|
-
}), new Set(
|
|
34195
|
+
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)));
|
|
34196
|
+
}), new Set(r.filter(Boolean));
|
|
34190
34197
|
}
|
|
34191
34198
|
//#endregion
|
|
34192
34199
|
//#region src/store/PoiTypeStore.ts
|
|
@@ -34220,7 +34227,7 @@ var hL = (dL = class {
|
|
|
34220
34227
|
}
|
|
34221
34228
|
async buildEngine() {
|
|
34222
34229
|
try {
|
|
34223
|
-
let { default: e } = await import("./fuse-
|
|
34230
|
+
let { default: e } = await import("./fuse-DHUSTGYM.js").then((e) => e.n);
|
|
34224
34231
|
E(() => {
|
|
34225
34232
|
this.engine = new e([], {
|
|
34226
34233
|
keys: this.keys,
|
|
@@ -34475,7 +34482,7 @@ var OL = class {
|
|
|
34475
34482
|
}
|
|
34476
34483
|
get searchBoxClass() {
|
|
34477
34484
|
return {
|
|
34478
|
-
"is-details": this.searchBoxMode === "details" && !(this.uiState.details instanceof
|
|
34485
|
+
"is-details": this.searchBoxMode === "details" && !(this.uiState.details instanceof lN),
|
|
34479
34486
|
"is-interface": this.searchBoxMode === "interface",
|
|
34480
34487
|
"has-shadow": this.shouldShowShadow,
|
|
34481
34488
|
"has-subtitle": !!this.searchBoxConfig.subtitle,
|
|
@@ -34483,7 +34490,7 @@ var OL = class {
|
|
|
34483
34490
|
"has-icon": !!this.searchBoxConfig.icon,
|
|
34484
34491
|
"is-overlay-full": this.uiState.isOverlayOpen && this.uiState.overlaySize === "full",
|
|
34485
34492
|
"is-featured-exhibitor": this.uiState.isFeaturedExhibitorActive,
|
|
34486
|
-
"is-route": this.uiState.details instanceof
|
|
34493
|
+
"is-route": this.uiState.details instanceof lN,
|
|
34487
34494
|
"is-guided-tours": this.uiState.isGuidedToursActive,
|
|
34488
34495
|
"is-overlay-scrolled": this.uiState.isOverlayScrolled,
|
|
34489
34496
|
"overlay-pulse": this.uiState.kiosk && this.uiState.inIdle && !this.uiState.setKioskModeEnabled
|
|
@@ -34521,7 +34528,7 @@ var OL = class {
|
|
|
34521
34528
|
return;
|
|
34522
34529
|
}
|
|
34523
34530
|
if (t.type === "route-planner") {
|
|
34524
|
-
this.rootStore.routePlannerStore.close(), this.rootStore.selectBookmarks(),
|
|
34531
|
+
this.rootStore.routePlannerStore.close(), this.rootStore.selectBookmarks(), sP();
|
|
34525
34532
|
return;
|
|
34526
34533
|
}
|
|
34527
34534
|
if (t.type === "multi-point-tour" && !e.details) {
|
|
@@ -34529,7 +34536,7 @@ var OL = class {
|
|
|
34529
34536
|
return;
|
|
34530
34537
|
}
|
|
34531
34538
|
if (e.details) {
|
|
34532
|
-
e.details = null,
|
|
34539
|
+
e.details = null, sP();
|
|
34533
34540
|
return;
|
|
34534
34541
|
}
|
|
34535
34542
|
if (e.menu) {
|
|
@@ -34548,7 +34555,7 @@ var OL = class {
|
|
|
34548
34555
|
}, this.setFocused(!0), this.isClearMode = !0, OL.closeMenu(e);
|
|
34549
34556
|
return;
|
|
34550
34557
|
}
|
|
34551
|
-
if (t.type === "tours" && e.details instanceof
|
|
34558
|
+
if (t.type === "tours" && e.details instanceof lN) {
|
|
34552
34559
|
e.details = null;
|
|
34553
34560
|
return;
|
|
34554
34561
|
}
|
|
@@ -34562,7 +34569,7 @@ var OL = class {
|
|
|
34562
34569
|
e.details = null;
|
|
34563
34570
|
return;
|
|
34564
34571
|
case "multi-point-tour":
|
|
34565
|
-
this.rootStore.fp.hidePathways(), OL.closeDetails(e) ? OL.returnToTours(e, !1) :
|
|
34572
|
+
this.rootStore.fp.hidePathways(), OL.closeDetails(e) ? OL.returnToTours(e, !1) : sP();
|
|
34566
34573
|
return;
|
|
34567
34574
|
case "category":
|
|
34568
34575
|
this.rootStore.selectCategory(t.category);
|
|
@@ -34650,7 +34657,7 @@ var OL = class {
|
|
|
34650
34657
|
return (e === "bookmarks" || e === "visited") && !this.uiState.details && !this.uiState.menu || this.shouldShowSearchInput && !this.searchText ? "menu" : "back";
|
|
34651
34658
|
}
|
|
34652
34659
|
get isMobileDetailsMode() {
|
|
34653
|
-
return window.innerWidth < 768 && this.uiState.details !== null && this.uiState.overlaySize === "full" && !(this.uiState.details instanceof
|
|
34660
|
+
return window.innerWidth < 768 && this.uiState.details !== null && this.uiState.overlaySize === "full" && !(this.uiState.details instanceof lN);
|
|
34654
34661
|
}
|
|
34655
34662
|
get shouldShowTitle() {
|
|
34656
34663
|
return !this.shouldShowSearchInput;
|
|
@@ -36356,12 +36363,12 @@ var XR = (Z = class {
|
|
|
36356
36363
|
this.resetCameraFn = e;
|
|
36357
36364
|
}
|
|
36358
36365
|
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
|
|
36366
|
+
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
36367
|
"name",
|
|
36361
36368
|
"title",
|
|
36362
36369
|
"fullName",
|
|
36363
36370
|
"booths.name"
|
|
36364
|
-
]), this.categoryFilterStore = new lA(this), this.sessionsFilterStore = new xL(this), this.speakerStore = new
|
|
36371
|
+
]), 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
36372
|
}
|
|
36366
36373
|
selectExhibitor(e, t = !0) {
|
|
36367
36374
|
this.uiState.hoveredExhibitor = null, this.uiState.details = e;
|
|
@@ -36484,7 +36491,7 @@ var XR = (Z = class {
|
|
|
36484
36491
|
this.uiState.onBoothClick(n);
|
|
36485
36492
|
}
|
|
36486
36493
|
e.exhibitors.length === 1 && e instanceof Zr ? (this.heatmapStore.forceTrack = {
|
|
36487
|
-
action:
|
|
36494
|
+
action: DP.ViewBooth,
|
|
36488
36495
|
label: e.name
|
|
36489
36496
|
}, this.selectExhibitor(e.exhibitors[0], !1)) : this.selectBooth(e, !1), this.showMap();
|
|
36490
36497
|
}
|
|
@@ -36510,7 +36517,16 @@ var XR = (Z = class {
|
|
|
36510
36517
|
e = e || this.uiState.listItems;
|
|
36511
36518
|
let t = [];
|
|
36512
36519
|
e.forEach((e) => {
|
|
36513
|
-
e instanceof _i
|
|
36520
|
+
if (e instanceof _i) t.push(...e.booths.filter((e) => e.visible));
|
|
36521
|
+
else if (e instanceof Xr) e.visible && t.push(e);
|
|
36522
|
+
else if (e instanceof ca && e.boothId) {
|
|
36523
|
+
let n = this.boothStore.boothById.get(e.boothId);
|
|
36524
|
+
n != null && n.visible && t.push(n);
|
|
36525
|
+
} else e instanceof gA && this.speakerStore.getEventsBySpeaker(e.id).forEach((e) => {
|
|
36526
|
+
if (!e.boothId) return;
|
|
36527
|
+
let n = this.boothStore.boothById.get(e.boothId);
|
|
36528
|
+
n != null && n.visible && t.push(n);
|
|
36529
|
+
});
|
|
36514
36530
|
}), this.uiState.moveToBooths = t;
|
|
36515
36531
|
}
|
|
36516
36532
|
moveToExhibitor(e) {
|
|
@@ -36602,7 +36618,7 @@ Q.categoryStore;
|
|
|
36602
36618
|
var $R = Q.layerStore, ez = Q.heatmapStore, tz = Q.searchStore;
|
|
36603
36619
|
Q.toursStore, window.__store = Q;
|
|
36604
36620
|
//#endregion
|
|
36605
|
-
export {
|
|
36621
|
+
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
36622
|
|
|
36607
36623
|
;/* vite-per-chunk-css */
|
|
36608
36624
|
__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);
|