@expofp/floorplan 3.3.7 → 3.4.0
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-BgzFI0o5.js +38 -0
- package/dist/browser/{Debug-A2TjoZQK.js → Debug-DwwZ0jVT.js} +9 -9
- package/dist/browser/{Demo-iK72mOgP.js → Demo-Bhv7muKd.js} +11 -11
- package/dist/browser/{Free-BcbAZA3y.js → Free-EaDzP7U5.js} +12 -12
- package/dist/browser/{Gallery-U-ldyITy.js → Gallery-BFio06PY.js} +10 -10
- package/dist/browser/{GpsLoader-DqPTky-0.js → GpsLoader-BhYirpWa.js} +46 -47
- package/dist/browser/{KioskStore-DIKp1HfX.js → KioskStore-DiTPaFb2.js} +17 -17
- package/dist/browser/MaplibreAdapter-BKj3sK8A.js +35131 -0
- package/dist/browser/{Modal-BLjdiYfi.js → Modal-DVY124d5.js} +10 -10
- package/dist/browser/PermissionNotice-CrAxf_da.js +54 -0
- package/dist/browser/{SetKioskMode-CIDQnVVK.js → SetKioskMode-Cj1IbMbn.js} +11 -11
- package/dist/browser/ShowKiosk-CqmJT8yJ.js +26 -0
- package/dist/browser/{TouchHand-4OAXEmLA.js → TouchHand-BdZWU_I1.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-BFEwT9oC.js → ViewerMenuPanel-DbVIwrJO.js} +19 -19
- package/dist/browser/{add-debug-secret-listener-B2ugeAcj.js → add-debug-secret-listener-B8gxDWmn.js} +1 -1
- package/dist/browser/{boolean-editor-Cc1GCvQj.js → boolean-editor-CIT7g6C5.js} +10 -10
- package/dist/browser/{bootIntercom-BVGw_SpO.js → bootIntercom-CcgHFRAw.js} +2 -2
- package/dist/browser/{box-CaErtqkj.js → box-CydZk4HJ.js} +5 -5
- package/dist/browser/{browser-_paBhqQW.js → browser-DlMYMMvJ.js} +2 -2
- package/dist/browser/bundle.json +61 -61
- package/dist/browser/{classnames-CVk0A91C.js → classnames-DmdaKMoa.js} +2 -2
- package/dist/browser/{client-B70Nbh5h.js → client-8ygU_jvu.js} +4 -4
- package/dist/browser/components-BgwIl1Lu.js +6289 -0
- package/dist/browser/createWayfinding-D9tuHHx5.js +1889 -0
- package/dist/browser/{debug-overlay-CyYqgTdj.js → debug-overlay-Dos3Ate2.js} +11 -11
- package/dist/browser/{debug-ui-D9A6yzed.js → debug-ui-BjmKfkgV.js} +6 -6
- package/dist/browser/{dist-BUD3zJ9Z.js → dist-B3Y58WKJ.js} +6 -6
- package/dist/browser/{dist-BPljQLT7.js → dist-Bm6VKnC2.js} +3 -3
- package/dist/browser/{dist-BrWnw-Ri.js → dist-_wJOZ0rm.js} +5 -5
- package/dist/browser/{efp-debug-init-CL7ckXKd.js → efp-debug-init-yyCWZRTx.js} +5 -4
- package/dist/browser/{enum-editor-Djt6vsG1.js → enum-editor-D8X_uabc.js} +11 -11
- package/dist/browser/{event-not-found-CAUywrB2.js → event-not-found-Bm_W5xxA.js} +1 -1
- package/dist/browser/{exports-D5aj-cpr.js → exports-DnHrfjiU.js} +1 -1
- package/dist/browser/{favicon-B3ilFIzN.js → favicon-Bnz633J6.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CC6nRZde.js → fetch-retry.umd-BunUcQza.js} +2 -2
- package/dist/browser/{flex-SCSgjwpS.js → flex-DwDJlblp.js} +6 -6
- package/dist/browser/{flex.props-DM7y21yG.js → flex.props-BAGkFvkN.js} +2 -2
- package/dist/browser/{floorplan.loader-BmVUKCxN.js → floorplan.loader-B3PUqtqn.js} +30 -31
- package/dist/browser/{floorplan.ready-da1pQZ1-.js → floorplan.ready-BAnq_GdS.js} +196 -196
- package/dist/browser/{fuse-DY6Kjf36.js → fuse-Bhsd7fBU.js} +2 -2
- package/dist/browser/{i18n-1-u98ly9.js → i18n-C5BBGKZk.js} +5 -5
- package/dist/browser/index.js +13 -13
- package/dist/browser/{jsx-runtime-BESB6cP1.js → jsx-runtime-Dk2--jeN.js} +2 -2
- package/dist/browser/{lib-BhhCH6-T.js → lib-Brd2BCh_.js} +4 -4
- package/dist/browser/locales/ar.json +0 -1
- package/dist/browser/locales/de.json +0 -1
- package/dist/browser/locales/es.json +0 -1
- package/dist/browser/locales/fr.json +0 -1
- package/dist/browser/locales/he.json +0 -1
- package/dist/browser/locales/it.json +0 -1
- package/dist/browser/locales/kk.json +0 -1
- package/dist/browser/locales/ko.json +0 -1
- package/dist/browser/locales/mn.json +0 -1
- package/dist/browser/locales/nl.json +0 -1
- package/dist/browser/locales/pl.json +0 -1
- package/dist/browser/locales/pt.json +0 -1
- package/dist/browser/locales/ru.json +0 -1
- package/dist/browser/locales/sv.json +0 -1
- package/dist/browser/locales/th.json +0 -1
- package/dist/browser/locales/tr.json +0 -1
- package/dist/browser/locales/uk.json +0 -1
- package/dist/browser/locales/vi.json +0 -1
- package/dist/browser/locales/zh.json +0 -1
- package/dist/browser/{main-D2NmCv2H.js → main-pIcuVUIg.js} +1 -1
- package/dist/browser/{mobx-Cfh5Vfk6.js → mobx-BfCD0EQ-.js} +4 -4
- package/dist/browser/{particles.min-B5qlVBuL.js → particles.min-ChGMv-bm.js} +2 -2
- package/dist/browser/{prop-types-DZ8VfWUb.js → prop-types-xdXFFTmm.js} +2 -2
- package/dist/browser/{react-cXsgFw41.js → react-BbZc5Oeq.js} +2 -2
- package/dist/browser/{react-dom-l5Q31Wma.js → react-dom-BBDOhlbP.js} +3 -3
- package/dist/browser/{reset-all-settings-B6K1EwXP.js → reset-all-settings-BQC7zljW.js} +7 -7
- package/dist/browser/{rolldown-runtime-hPqAdzN2.js → rolldown-runtime-DS4W77DU.js} +1 -1
- package/dist/browser/{settings-BZyvLLph.js → settings-CK-qRFM8.js} +2 -2
- package/dist/browser/{settings-item-zDeA5cv4.js → settings-item-CUnGC7xO.js} +6 -6
- package/dist/browser/{storage-CneO9F9t.js → storage-0QGL3b8S.js} +3 -3
- package/dist/browser/{store-CQphSXxk.js → store-Bm4aFC2V.js} +4543 -4998
- package/dist/browser/{string-editor-BJn1AFSw.js → string-editor-BNry84Oh.js} +8 -8
- package/dist/browser/{theme-DoAOOaRE.js → theme-BIXywNMw.js} +8 -8
- package/dist/browser/{ui-DNF4wGZh.js → ui-AzubEvGd.js} +8 -8
- package/dist/browser/{useRenderTarget-BYpCY_A9.js → useRenderTarget-Bf7cQRFi.js} +4 -4
- package/dist/esm/_misc_to_move/manifest.d.ts +1 -0
- package/dist/esm/components/AlertContainer.d.ts +1 -1
- package/dist/esm/components/Controls.js +1 -1
- package/dist/esm/components/CookieConsent.d.ts +3 -3
- package/dist/esm/components/CookieConsent.js +1 -1
- package/dist/esm/components/EntityItemContainer.d.ts +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/HeatmapLegendContainer.d.ts +6 -0
- package/dist/esm/components/HeatmapLegendContainer.js +1 -0
- package/dist/esm/components/HighlightTextContainer.d.ts +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +1 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/LevelBadgeContainer.d.ts +6 -0
- package/dist/esm/components/LevelBadgeContainer.js +1 -0
- package/dist/esm/components/LevelSelector.js +1 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +3 -2
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreAdapter.d.ts +14 -0
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -0
- package/dist/esm/components/Maplibre/MaplibreWrapper.d.ts +69 -0
- package/dist/esm/components/Maplibre/MaplibreWrapper.js +1 -0
- package/dist/esm/components/Maplibre/useCameraReactions.d.ts +10 -0
- package/dist/esm/components/Maplibre/useCameraReactions.js +1 -0
- package/dist/esm/components/Maplibre/useDimming.d.ts +16 -0
- package/dist/esm/components/Maplibre/useDimming.js +1 -0
- package/dist/esm/components/Maplibre/useLayerVisibilitySync.d.ts +11 -0
- package/dist/esm/components/Maplibre/useLayerVisibilitySync.js +1 -0
- package/dist/esm/components/Maplibre/useRendererEvents.d.ts +9 -0
- package/dist/esm/components/Maplibre/useRendererEvents.js +1 -0
- package/dist/esm/components/Maplibre/useWayfindingAndMarkers.d.ts +8 -0
- package/dist/esm/components/Maplibre/useWayfindingAndMarkers.js +1 -0
- package/dist/esm/components/Maplibre/utils/geo-config.d.ts +30 -0
- package/dist/esm/components/Maplibre/utils/geo-config.js +1 -0
- package/dist/esm/components/Maplibre/utils/layer-defs.d.ts +4 -0
- package/dist/esm/components/Maplibre/utils/layer-defs.js +1 -0
- package/dist/esm/components/Maplibre/utils/map-helpers.d.ts +9 -0
- package/dist/esm/components/Maplibre/utils/map-helpers.js +1 -0
- package/dist/esm/components/Maplibre/utils/solver.d.ts +24 -0
- package/dist/esm/components/Maplibre/utils/solver.js +1 -0
- package/dist/esm/components/OverlayContainer.d.ts +1 -1
- package/dist/esm/components/OverlayGripContainer.d.ts +4 -0
- package/dist/esm/components/OverlayGripContainer.js +1 -0
- package/dist/esm/components/ScrollableRowContainer.d.ts +6 -0
- package/dist/esm/components/ScrollableRowContainer.js +1 -0
- package/dist/esm/components/SearchButtons/SearchButtons.d.ts +1 -1
- package/dist/esm/components/SearchButtons/SearchButtons.js +1 -1
- package/dist/esm/components/Shortcuts/ShortcutsToolbar.d.ts +1 -1
- package/dist/esm/components/Shortcuts/ShortcutsToolbar.js +1 -1
- package/dist/esm/components/WayfindingFloorSelectorContainer.d.ts +1 -1
- package/dist/esm/components/gps/GpsPermissionRequest.js +1 -1
- package/dist/esm/components/index.d.ts +9 -8
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/data/Flags.d.ts +1 -0
- package/dist/esm/data/fpGeo.d.ts +20 -1
- package/dist/esm/floorplan.loader.d.ts +1 -0
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/renderer/RendererService.d.ts +5 -0
- package/dist/esm/renderer/RendererService.js +1 -1
- package/dist/esm/services/routing.js +1 -1
- package/dist/esm/store/HeatmapStore.js +1 -1
- package/dist/esm/store/MaplibreStore.d.ts +22 -0
- package/dist/esm/store/MaplibreStore.js +1 -0
- package/dist/esm/store/RootStore.d.ts +2 -2
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/init/init-booths.js +1 -1
- package/dist/esm/types.d.ts +9 -0
- package/dist/esm/ui/Draggable/Draggable.d.ts +9 -0
- package/dist/esm/ui/Draggable/Draggable.js +1 -0
- package/dist/esm/ui/Draggable/index.d.ts +3 -0
- package/dist/esm/ui/Draggable/index.js +1 -0
- package/dist/esm/ui/HeatmapLegend/HeatmapLegend.d.ts +13 -0
- package/dist/esm/ui/HeatmapLegend/HeatmapLegend.js +1 -0
- package/dist/esm/ui/HeatmapLegend/index.d.ts +3 -0
- package/dist/esm/ui/HeatmapLegend/index.js +1 -0
- package/dist/esm/ui/LevelBadge/LevelBadge.d.ts +9 -0
- package/dist/esm/ui/LevelBadge/LevelBadge.js +1 -0
- package/dist/esm/ui/LevelBadge/index.d.ts +3 -0
- package/dist/esm/ui/LevelBadge/index.js +1 -0
- package/dist/esm/ui/OverlayGrip/OverlayGrip.d.ts +11 -0
- package/dist/esm/ui/OverlayGrip/OverlayGrip.js +1 -0
- package/dist/esm/ui/OverlayGrip/index.d.ts +3 -0
- package/dist/esm/ui/OverlayGrip/index.js +1 -0
- package/dist/esm/ui/PermissionNotice/PermissionNotice.d.ts +16 -0
- package/dist/esm/ui/PermissionNotice/PermissionNotice.js +1 -0
- package/dist/esm/ui/PermissionNotice/index.d.ts +3 -0
- package/dist/esm/ui/PermissionNotice/index.js +1 -0
- package/dist/esm/{components → ui/ScrollableRow}/ScrollableRow.d.ts +5 -4
- package/dist/esm/ui/ScrollableRow/ScrollableRow.js +1 -0
- package/dist/esm/ui/ScrollableRow/index.d.ts +3 -0
- package/dist/esm/ui/ScrollableRow/index.js +1 -0
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.d.ts +4 -10
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.js +1 -1
- package/dist/esm/ui/shared/interactive.d.ts +2 -0
- package/dist/esm/ui/shared/interactive.js +1 -0
- package/dist/esm/utils/color-gradient.d.ts +2 -0
- package/dist/esm/utils/color-gradient.js +1 -0
- package/dist/esm/utils/dimming.d.ts +16 -0
- package/dist/esm/utils/dimming.js +1 -0
- package/dist/esm/wayfinding/core/position/gpsThreshold.d.ts +1 -1
- package/package.json +5 -9
- package/dist/browser/CookieConsent-DeA-DR4A.js +0 -71
- package/dist/browser/Mapbox-ChPNLhVw.js +0 -120
- package/dist/browser/ShowKiosk-CprbVv29.js +0 -26
- package/dist/browser/ThreeComponent-CtqPjAlQ.js +0 -1494
- package/dist/browser/components-XkvqySvZ.js +0 -8143
- package/dist/browser/data-DshpY4Eh.js +0 -27967
- package/dist/browser/vendor/mapbox/mapbox-gl.css +0 -1
- package/dist/esm/components/BookmarkSvg.d.ts +0 -4
- package/dist/esm/components/BookmarkSvg.js +0 -1
- package/dist/esm/components/Draggable.d.ts +0 -10
- package/dist/esm/components/Draggable.js +0 -1
- package/dist/esm/components/HeatmapLegend.d.ts +0 -12
- package/dist/esm/components/HeatmapLegend.js +0 -1
- package/dist/esm/components/LevelBadge.d.ts +0 -8
- package/dist/esm/components/LevelBadge.js +0 -1
- package/dist/esm/components/Mapbox/Button.d.ts +0 -10
- package/dist/esm/components/Mapbox/Button.js +0 -1
- package/dist/esm/components/Mapbox/Dot.d.ts +0 -10
- package/dist/esm/components/Mapbox/Dot.js +0 -1
- package/dist/esm/components/Mapbox/MapLoader.d.ts +0 -4
- package/dist/esm/components/Mapbox/MapLoader.js +0 -1
- package/dist/esm/components/Mapbox/Mapbox.d.ts +0 -4
- package/dist/esm/components/Mapbox/Mapbox.js +0 -1
- package/dist/esm/components/Mapbox/utils/data.d.ts +0 -38
- package/dist/esm/components/Mapbox/utils/data.js +0 -1
- package/dist/esm/components/OverlayGrip.d.ts +0 -5
- package/dist/esm/components/OverlayGrip.js +0 -1
- package/dist/esm/components/PermissionNotice/PermissionNotice.d.ts +0 -14
- package/dist/esm/components/PermissionNotice/PermissionNotice.js +0 -1
- package/dist/esm/components/ScrollableRow.js +0 -1
- package/dist/esm/components/Threejs/ThreeComponent.d.ts +0 -7
- package/dist/esm/components/Threejs/ThreeComponent.js +0 -1
- package/dist/esm/components/Threejs/UIManager.d.ts +0 -28
- package/dist/esm/components/Threejs/UIManager.js +0 -1
- package/dist/esm/components/Threejs/common/BoothMesh.d.ts +0 -20
- package/dist/esm/components/Threejs/common/BoothMesh.js +0 -1
- package/dist/esm/components/Threejs/common/Scene.d.ts +0 -13
- package/dist/esm/components/Threejs/common/Scene.js +0 -1
- package/dist/esm/components/Threejs/common/SpriteMesh.d.ts +0 -5
- package/dist/esm/components/Threejs/common/SpriteMesh.js +0 -1
- package/dist/esm/components/Threejs/common/dataLoader.d.ts +0 -31
- package/dist/esm/components/Threejs/common/dataLoader.js +0 -1
- package/dist/esm/components/Threejs/common/modelLoader.d.ts +0 -3
- package/dist/esm/components/Threejs/common/modelLoader.js +0 -1
- package/dist/esm/components/Threejs/common/sceneLoader.d.ts +0 -7
- package/dist/esm/components/Threejs/common/sceneLoader.js +0 -1
- package/dist/esm/components/Threejs/index.d.ts +0 -4
- package/dist/esm/components/Threejs/index.js +0 -1
- package/dist/esm/components/Threejs/mapbox/configureWebGLForMapbox.d.ts +0 -2
- package/dist/esm/components/Threejs/mapbox/configureWebGLForMapbox.js +0 -1
- package/dist/esm/components/Threejs/mapbox/index_mapbox.d.ts +0 -4
- package/dist/esm/components/Threejs/mapbox/index_mapbox.js +0 -1
- package/dist/esm/components/Threejs/mapbox/init-mapbox.d.ts +0 -3
- package/dist/esm/components/Threejs/mapbox/init-mapbox.js +0 -1
- package/dist/esm/components/Threejs/utils/canvasFromText.d.ts +0 -2
- package/dist/esm/components/Threejs/utils/canvasFromText.js +0 -1
- package/dist/esm/components/Threejs/utils/textureMerger.d.ts +0 -60
- package/dist/esm/components/Threejs/utils/textureMerger.js +0 -1
- package/dist/esm/store/MapboxStore.d.ts +0 -13
- package/dist/esm/store/MapboxStore.js +0 -1
- package/dist/esm/tools/Color.d.ts +0 -2
- package/dist/esm/tools/Color.js +0 -1
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.4.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "61626e5d-4aca-4d95-b8e0-d556a78aadb6", e._sentryDebugIdIdentifier = "sentry-dbid-61626e5d-4aca-4d95-b8e0-d556a78aadb6");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { t as r } from "./browser-
|
|
13
|
-
import {
|
|
14
|
-
import { a as u, i as d, n as f, r as p, t as ee } from "./floorplan.loader-
|
|
15
|
-
import { C as te, E as
|
|
16
|
-
import { t as
|
|
17
|
-
import { A as
|
|
18
|
-
import { t as xe } from "./components-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-DS4W77DU.js";
|
|
10
|
+
import { t } from "./react-BbZc5Oeq.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-Dk2--jeN.js";
|
|
12
|
+
import { t as r } from "./browser-DlMYMMvJ.js";
|
|
13
|
+
import { H as i, K as a, U as o, g as s, n as c, r as l } from "./i18n-C5BBGKZk.js";
|
|
14
|
+
import { a as u, i as d, n as f, r as p, t as ee } from "./floorplan.loader-B3PUqtqn.js";
|
|
15
|
+
import { C as te, E as ne, S as re, Z as ie, i as ae, n as oe, pt as m } from "./exports-DnHrfjiU.js";
|
|
16
|
+
import { t as se } from "./client-8ygU_jvu.js";
|
|
17
|
+
import { A as h, C as ce, Gt as g, M as _, S as le, Z as ue, _ as de, b as fe, ct as pe, et as me, h as he, j as ge, o as v, p as _e, rt as y, st as ve, tn as b, tt as x, v as ye, x as be } from "./store-Bm4aFC2V.js";
|
|
18
|
+
import { t as xe } from "./components-BgwIl1Lu.js";
|
|
19
19
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.56.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
|
|
20
20
|
function S(e = {}) {
|
|
21
21
|
let t = p.document, n = (t == null ? void 0 : t.head) || (t == null ? void 0 : t.body);
|
|
22
22
|
if (!n) {
|
|
23
|
-
f &&
|
|
23
|
+
f && m.error("[showReportDialog] Global document not defined");
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
26
|
-
let r = te(), i =
|
|
26
|
+
let r = te(), i = re(), a = i == null ? void 0 : i.getDsn();
|
|
27
27
|
if (!a) {
|
|
28
|
-
f &&
|
|
28
|
+
f && m.error("[showReportDialog] DSN not configured");
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
31
|
let o = {
|
|
@@ -34,7 +34,7 @@ function S(e = {}) {
|
|
|
34
34
|
...r.getUser(),
|
|
35
35
|
...e.user
|
|
36
36
|
},
|
|
37
|
-
eventId: e.eventId ||
|
|
37
|
+
eventId: e.eventId || ae()
|
|
38
38
|
}, s = p.document.createElement("script");
|
|
39
39
|
s.async = !0, s.crossOrigin = "anonymous", s.src = d(a, o);
|
|
40
40
|
let { onLoad: c, onClose: l } = o;
|
|
@@ -68,11 +68,11 @@ function Ce(e, t) {
|
|
|
68
68
|
r(e, t);
|
|
69
69
|
}
|
|
70
70
|
function we(e, { componentStack: t }, n) {
|
|
71
|
-
if (Se(C.version) &&
|
|
71
|
+
if (Se(C.version) && ie(e) && t) {
|
|
72
72
|
let n = Error(e.message);
|
|
73
73
|
n.name = `React ErrorBoundary ${e.name}`, n.stack = t, Ce(e, n);
|
|
74
74
|
}
|
|
75
|
-
return
|
|
75
|
+
return ne((r) => (r.setContext("react", { componentStack: t }), oe(e, n)));
|
|
76
76
|
}
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region ../../node_modules/.pnpm/@sentry+react@10.56.0_react@19.2.7/node_modules/@sentry/react/build/esm/debug-build.js
|
|
@@ -83,7 +83,7 @@ var Te = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, w = {
|
|
|
83
83
|
}, Ee = class extends C.Component {
|
|
84
84
|
constructor(e) {
|
|
85
85
|
super(e), this.state = w, this._openFallbackReportDialog = !0;
|
|
86
|
-
let t =
|
|
86
|
+
let t = re();
|
|
87
87
|
t && e.showDialog && (this._openFallbackReportDialog = !1, this._cleanupHook = t.on("afterSendEvent", (t) => {
|
|
88
88
|
!t.type && this._lastEventId && t.event_id === this._lastEventId && S({
|
|
89
89
|
...e.dialogOptions,
|
|
@@ -93,7 +93,7 @@ var Te = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, w = {
|
|
|
93
93
|
}
|
|
94
94
|
componentDidCatch(e, t) {
|
|
95
95
|
let { componentStack: n } = t, { beforeCapture: r, onError: i, showDialog: a, dialogOptions: o } = this.props;
|
|
96
|
-
|
|
96
|
+
ne((s) => {
|
|
97
97
|
r && r(s, e, n);
|
|
98
98
|
let c = we(e, t, { mechanism: {
|
|
99
99
|
handled: this.props.handled == null ? !!this.props.fallback : this.props.handled,
|
|
@@ -130,9 +130,9 @@ var Te = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, w = {
|
|
|
130
130
|
resetError: () => this.resetErrorBoundary(),
|
|
131
131
|
eventId: n.eventId
|
|
132
132
|
}) : e;
|
|
133
|
-
return C.isValidElement(r) ? r : (e && Te &&
|
|
133
|
+
return C.isValidElement(r) ? r : (e && Te && m.warn("fallback did not produce a valid ReactElement"), null);
|
|
134
134
|
}
|
|
135
|
-
}, De =
|
|
135
|
+
}, De = se(), Oe = pe();
|
|
136
136
|
function ke() {
|
|
137
137
|
T("floorplan"), T("__data"), T("__dataUrlBase"), T("__searchi"), T("__wfData"), T("__mobxGlobals"), T("__store"), T("__mobxInstanceCount");
|
|
138
138
|
for (let e in window) e !== "__efpStyleElements" && (e.includes("__fp") || e.includes("__efp")) && T(e);
|
|
@@ -404,7 +404,7 @@ var B = (e, t) => {
|
|
|
404
404
|
success: !0,
|
|
405
405
|
data: a.value
|
|
406
406
|
};
|
|
407
|
-
})(V),
|
|
407
|
+
})(V), He = /* @__PURE__*/ ((e) => async (t, n, r) => {
|
|
408
408
|
let i = r ? Object.assign(r, { async: !0 }) : { async: !0 }, a = t._zod.run({
|
|
409
409
|
value: n,
|
|
410
410
|
issues: []
|
|
@@ -416,20 +416,20 @@ var B = (e, t) => {
|
|
|
416
416
|
success: !0,
|
|
417
417
|
data: a.value
|
|
418
418
|
};
|
|
419
|
-
})(V),
|
|
419
|
+
})(V), Ue = (e) => {
|
|
420
420
|
var t, n;
|
|
421
421
|
let r = e ? `[\\s\\S]{${(t = e == null ? void 0 : e.minimum) == null ? 0 : t},${(n = e == null ? void 0 : e.maximum) == null ? "" : n}}` : "[\\s\\S]*";
|
|
422
422
|
return RegExp(`^${r}$`);
|
|
423
|
-
},
|
|
423
|
+
}, We = /^-?\d+(?:\.\d+)?$/, Ge = /*@__PURE__*/ k("$ZodCheck", (e, t) => {
|
|
424
424
|
var n;
|
|
425
425
|
e._zod != null || (e._zod = {}), e._zod.def = t, (n = e._zod).onattach != null || (n.onattach = []);
|
|
426
|
-
}),
|
|
426
|
+
}), Ke = {
|
|
427
427
|
major: 4,
|
|
428
428
|
minor: 3,
|
|
429
429
|
patch: 5
|
|
430
|
-
},
|
|
430
|
+
}, U = /*@__PURE__*/ k("$ZodType", (e, t) => {
|
|
431
431
|
var n, r;
|
|
432
|
-
e != null || (e = {}), e._zod.def = t, e._zod.bag = e._zod.bag || {}, e._zod.version =
|
|
432
|
+
e != null || (e = {}), e._zod.def = t, e._zod.bag = e._zod.bag || {}, e._zod.version = Ke;
|
|
433
433
|
let i = [...(n = e._zod.def.checks) == null ? [] : n];
|
|
434
434
|
e._zod.traits.has("$ZodCheck") && i.unshift(e);
|
|
435
435
|
for (let t of i) for (let n of t._zod.onattach) n(e);
|
|
@@ -494,7 +494,7 @@ var B = (e, t) => {
|
|
|
494
494
|
let r = H(e, t);
|
|
495
495
|
return r.success ? { value: r.data } : { issues: (n = r.error) == null ? void 0 : n.issues };
|
|
496
496
|
} catch {
|
|
497
|
-
return
|
|
497
|
+
return He(e, t).then((e) => {
|
|
498
498
|
var t;
|
|
499
499
|
return e.success ? { value: e.data } : { issues: (t = e.error) == null ? void 0 : t.issues };
|
|
500
500
|
});
|
|
@@ -503,9 +503,9 @@ var B = (e, t) => {
|
|
|
503
503
|
vendor: "zod",
|
|
504
504
|
version: 1
|
|
505
505
|
}));
|
|
506
|
-
}),
|
|
506
|
+
}), qe = /*@__PURE__*/ k("$ZodString", (e, t) => {
|
|
507
507
|
var n, r, i;
|
|
508
|
-
|
|
508
|
+
U.init(e, t), e._zod.pattern = (n = [...(r = e == null || (i = e._zod.bag) == null ? void 0 : i.patterns) == null ? [] : r].pop()) == null ? Ue(e._zod.bag) : n, e._zod.parse = (n, r) => {
|
|
509
509
|
if (t.coerce) try {
|
|
510
510
|
n.value = String(n.value);
|
|
511
511
|
} catch {}
|
|
@@ -516,9 +516,9 @@ var B = (e, t) => {
|
|
|
516
516
|
inst: e
|
|
517
517
|
}), n;
|
|
518
518
|
};
|
|
519
|
-
}),
|
|
519
|
+
}), Je = /*@__PURE__*/ k("$ZodNumber", (e, t) => {
|
|
520
520
|
var n;
|
|
521
|
-
|
|
521
|
+
U.init(e, t), e._zod.pattern = (n = e._zod.bag.pattern) == null ? We : n, e._zod.parse = (n, r) => {
|
|
522
522
|
if (t.coerce) try {
|
|
523
523
|
n.value = Number(n.value);
|
|
524
524
|
} catch {}
|
|
@@ -533,19 +533,19 @@ var B = (e, t) => {
|
|
|
533
533
|
...a ? { received: a } : {}
|
|
534
534
|
}), n;
|
|
535
535
|
};
|
|
536
|
-
}),
|
|
537
|
-
|
|
536
|
+
}), Ye = /*@__PURE__*/ k("$ZodNever", (e, t) => {
|
|
537
|
+
U.init(e, t), e._zod.parse = (t, n) => (t.issues.push({
|
|
538
538
|
expected: "never",
|
|
539
539
|
code: "invalid_type",
|
|
540
540
|
input: t.value,
|
|
541
541
|
inst: e
|
|
542
542
|
}), t);
|
|
543
543
|
});
|
|
544
|
-
function
|
|
544
|
+
function Xe(e, t, n) {
|
|
545
545
|
e.issues.length && t.issues.push(...L(n, e.issues)), t.value[n] = e.value;
|
|
546
546
|
}
|
|
547
|
-
var
|
|
548
|
-
|
|
547
|
+
var Ze = /*@__PURE__*/ k("$ZodArray", (e, t) => {
|
|
548
|
+
U.init(e, t), e._zod.parse = (n, r) => {
|
|
549
549
|
let i = n.value;
|
|
550
550
|
if (!Array.isArray(i)) return n.issues.push({
|
|
551
551
|
expected: "array",
|
|
@@ -560,19 +560,19 @@ var Xe = /*@__PURE__*/ k("$ZodArray", (e, t) => {
|
|
|
560
560
|
value: o,
|
|
561
561
|
issues: []
|
|
562
562
|
}, r);
|
|
563
|
-
s instanceof Promise ? a.push(s.then((t) =>
|
|
563
|
+
s instanceof Promise ? a.push(s.then((t) => Xe(t, n, e))) : Xe(s, n, e);
|
|
564
564
|
}
|
|
565
565
|
return a.length ? Promise.all(a).then(() => n) : n;
|
|
566
566
|
};
|
|
567
567
|
});
|
|
568
|
-
function
|
|
568
|
+
function W(e, t, n, r, i) {
|
|
569
569
|
if (e.issues.length) {
|
|
570
570
|
if (i && !(n in r)) return;
|
|
571
571
|
t.issues.push(...L(n, e.issues));
|
|
572
572
|
}
|
|
573
573
|
e.value === void 0 ? n in r && (t.value[n] = void 0) : t.value[n] = e.value;
|
|
574
574
|
}
|
|
575
|
-
function
|
|
575
|
+
function Qe(e) {
|
|
576
576
|
let t = Object.keys(e.shape);
|
|
577
577
|
for (let r of t) {
|
|
578
578
|
var n;
|
|
@@ -587,7 +587,7 @@ function Ze(e) {
|
|
|
587
587
|
optionalKeys: new Set(r)
|
|
588
588
|
};
|
|
589
589
|
}
|
|
590
|
-
function
|
|
590
|
+
function $e(e, t, n, r, i, a) {
|
|
591
591
|
let o = [], s = i.keySet, c = i.catchall._zod, l = c.def.type, u = c.optout === "optional";
|
|
592
592
|
for (let i in t) {
|
|
593
593
|
if (s.has(i)) continue;
|
|
@@ -599,7 +599,7 @@ function Qe(e, t, n, r, i, a) {
|
|
|
599
599
|
value: t[i],
|
|
600
600
|
issues: []
|
|
601
601
|
}, r);
|
|
602
|
-
a instanceof Promise ? e.push(a.then((e) =>
|
|
602
|
+
a instanceof Promise ? e.push(a.then((e) => W(e, n, i, t, u))) : W(a, n, i, t, u);
|
|
603
603
|
}
|
|
604
604
|
return o.length && n.issues.push({
|
|
605
605
|
code: "unrecognized_keys",
|
|
@@ -608,8 +608,8 @@ function Qe(e, t, n, r, i, a) {
|
|
|
608
608
|
inst: a
|
|
609
609
|
}), e.length ? Promise.all(e).then(() => n) : n;
|
|
610
610
|
}
|
|
611
|
-
var
|
|
612
|
-
|
|
611
|
+
var et = /*@__PURE__*/ k("$ZodObject", (e, t) => {
|
|
612
|
+
U.init(e, t);
|
|
613
613
|
let n = Object.getOwnPropertyDescriptor(t, "shape");
|
|
614
614
|
if (!(n != null && n.get)) {
|
|
615
615
|
let e = t.shape;
|
|
@@ -618,7 +618,7 @@ var $e = /*@__PURE__*/ k("$ZodObject", (e, t) => {
|
|
|
618
618
|
return Object.defineProperty(t, "shape", { value: n }), n;
|
|
619
619
|
} });
|
|
620
620
|
}
|
|
621
|
-
let r = Ne(() =>
|
|
621
|
+
let r = Ne(() => Qe(t));
|
|
622
622
|
N(e._zod, "propValues", () => {
|
|
623
623
|
let e = t.shape, n = {};
|
|
624
624
|
for (let t in e) {
|
|
@@ -647,36 +647,36 @@ var $e = /*@__PURE__*/ k("$ZodObject", (e, t) => {
|
|
|
647
647
|
value: s[e],
|
|
648
648
|
issues: []
|
|
649
649
|
}, n);
|
|
650
|
-
a instanceof Promise ? c.push(a.then((n) =>
|
|
650
|
+
a instanceof Promise ? c.push(a.then((n) => W(n, t, e, s, i))) : W(a, t, e, s, i);
|
|
651
651
|
}
|
|
652
|
-
return a ?
|
|
652
|
+
return a ? $e(c, s, t, n, r.value, e) : c.length ? Promise.all(c).then(() => t) : t;
|
|
653
653
|
};
|
|
654
654
|
});
|
|
655
|
-
function
|
|
655
|
+
function tt(e, t) {
|
|
656
656
|
return e.issues.length && t === void 0 ? {
|
|
657
657
|
issues: [],
|
|
658
658
|
value: void 0
|
|
659
659
|
} : e;
|
|
660
660
|
}
|
|
661
|
-
var
|
|
662
|
-
|
|
661
|
+
var nt = /*@__PURE__*/ k("$ZodOptional", (e, t) => {
|
|
662
|
+
U.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", N(e._zod, "values", () => t.innerType._zod.values ? new Set([...t.innerType._zod.values, void 0]) : void 0), N(e._zod, "pattern", () => {
|
|
663
663
|
let e = t.innerType._zod.pattern;
|
|
664
664
|
return e ? RegExp(`^(${Pe(e.source)})?$`) : void 0;
|
|
665
665
|
}), e._zod.parse = (e, n) => {
|
|
666
666
|
if (t.innerType._zod.optin === "optional") {
|
|
667
667
|
let r = t.innerType._zod.run(e, n);
|
|
668
|
-
return r instanceof Promise ? r.then((t) =>
|
|
668
|
+
return r instanceof Promise ? r.then((t) => tt(t, e.value)) : tt(r, e.value);
|
|
669
669
|
}
|
|
670
670
|
return e.value === void 0 ? e : t.innerType._zod.run(e, n);
|
|
671
671
|
};
|
|
672
|
-
}),
|
|
673
|
-
|
|
672
|
+
}), rt = /*@__PURE__*/ k("$ZodCustom", (e, t) => {
|
|
673
|
+
Ge.init(e, t), U.init(e, t), e._zod.parse = (e, t) => e, e._zod.check = (n) => {
|
|
674
674
|
let r = n.value, i = t.fn(r);
|
|
675
|
-
if (i instanceof Promise) return i.then((t) =>
|
|
676
|
-
|
|
675
|
+
if (i instanceof Promise) return i.then((t) => it(t, n, r, e));
|
|
676
|
+
it(i, n, r, e);
|
|
677
677
|
};
|
|
678
678
|
});
|
|
679
|
-
function
|
|
679
|
+
function it(e, t, n, r) {
|
|
680
680
|
if (!e) {
|
|
681
681
|
var i;
|
|
682
682
|
let e = {
|
|
@@ -692,14 +692,14 @@ function rt(e, t, n, r) {
|
|
|
692
692
|
//#endregion
|
|
693
693
|
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/api.js
|
|
694
694
|
// @__NO_SIDE_EFFECTS__
|
|
695
|
-
function
|
|
695
|
+
function at(e, t) {
|
|
696
696
|
return new e({
|
|
697
697
|
type: "string",
|
|
698
698
|
...F(t)
|
|
699
699
|
});
|
|
700
700
|
}
|
|
701
701
|
// @__NO_SIDE_EFFECTS__
|
|
702
|
-
function
|
|
702
|
+
function ot(e, t) {
|
|
703
703
|
return new e({
|
|
704
704
|
type: "number",
|
|
705
705
|
checks: [],
|
|
@@ -707,14 +707,14 @@ function at(e, t) {
|
|
|
707
707
|
});
|
|
708
708
|
}
|
|
709
709
|
// @__NO_SIDE_EFFECTS__
|
|
710
|
-
function
|
|
710
|
+
function st(e, t) {
|
|
711
711
|
return new e({
|
|
712
712
|
type: "never",
|
|
713
713
|
...F(t)
|
|
714
714
|
});
|
|
715
715
|
}
|
|
716
716
|
// @__NO_SIDE_EFFECTS__
|
|
717
|
-
function
|
|
717
|
+
function ct(e, t, n) {
|
|
718
718
|
return new e({
|
|
719
719
|
type: "custom",
|
|
720
720
|
check: "custom",
|
|
@@ -724,9 +724,9 @@ function st(e, t, n) {
|
|
|
724
724
|
}
|
|
725
725
|
//#endregion
|
|
726
726
|
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/mini/schemas.js
|
|
727
|
-
var
|
|
727
|
+
var G = /*@__PURE__*/ k("ZodMiniType", (e, t) => {
|
|
728
728
|
if (!e._zod) throw Error("Uninitialized schema in ZodMiniType.");
|
|
729
|
-
|
|
729
|
+
U.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => Be(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => H(e, t, n), e.parseAsync = async (t, n) => Ve(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => He(e, t, n), e.check = (...n) => {
|
|
730
730
|
var r;
|
|
731
731
|
return e.clone({
|
|
732
732
|
...t,
|
|
@@ -737,100 +737,100 @@ var K = /*@__PURE__*/ k("ZodMiniType", (e, t) => {
|
|
|
737
737
|
} } : e)]
|
|
738
738
|
}, { parent: !0 });
|
|
739
739
|
}, e.with = e.check, e.clone = (t, n) => Ie(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.apply = (t) => t(e);
|
|
740
|
-
}),
|
|
741
|
-
|
|
740
|
+
}), lt = /*@__PURE__*/ k("ZodMiniString", (e, t) => {
|
|
741
|
+
qe.init(e, t), G.init(e, t);
|
|
742
742
|
});
|
|
743
743
|
// @__NO_SIDE_EFFECTS__
|
|
744
|
-
function
|
|
745
|
-
return /* @__PURE__ */
|
|
744
|
+
function ut(e) {
|
|
745
|
+
return /* @__PURE__ */ at(lt, e);
|
|
746
746
|
}
|
|
747
|
-
var
|
|
748
|
-
|
|
747
|
+
var dt = /*@__PURE__*/ k("ZodMiniNumber", (e, t) => {
|
|
748
|
+
Je.init(e, t), G.init(e, t);
|
|
749
749
|
});
|
|
750
750
|
// @__NO_SIDE_EFFECTS__
|
|
751
|
-
function
|
|
752
|
-
return /* @__PURE__ */
|
|
751
|
+
function K(e) {
|
|
752
|
+
return /* @__PURE__ */ ot(dt, e);
|
|
753
753
|
}
|
|
754
|
-
var
|
|
755
|
-
|
|
754
|
+
var ft = /*@__PURE__*/ k("ZodMiniNever", (e, t) => {
|
|
755
|
+
Ye.init(e, t), G.init(e, t);
|
|
756
756
|
});
|
|
757
757
|
// @__NO_SIDE_EFFECTS__
|
|
758
|
-
function
|
|
759
|
-
return /* @__PURE__ */
|
|
758
|
+
function pt(e) {
|
|
759
|
+
return /* @__PURE__ */ st(ft, e);
|
|
760
760
|
}
|
|
761
|
-
var
|
|
762
|
-
|
|
761
|
+
var mt = /*@__PURE__*/ k("ZodMiniArray", (e, t) => {
|
|
762
|
+
Ze.init(e, t), G.init(e, t);
|
|
763
763
|
});
|
|
764
764
|
// @__NO_SIDE_EFFECTS__
|
|
765
|
-
function
|
|
766
|
-
return new
|
|
765
|
+
function ht(e, t) {
|
|
766
|
+
return new mt({
|
|
767
767
|
type: "array",
|
|
768
768
|
element: e,
|
|
769
769
|
...F(t)
|
|
770
770
|
});
|
|
771
771
|
}
|
|
772
|
-
var
|
|
773
|
-
|
|
772
|
+
var gt = /*@__PURE__*/ k("ZodMiniObject", (e, t) => {
|
|
773
|
+
et.init(e, t), G.init(e, t), N(e, "shape", () => t.shape);
|
|
774
774
|
});
|
|
775
775
|
// @__NO_SIDE_EFFECTS__
|
|
776
|
-
function
|
|
777
|
-
return new
|
|
776
|
+
function q(e, t) {
|
|
777
|
+
return new gt({
|
|
778
778
|
type: "object",
|
|
779
779
|
shape: e,
|
|
780
|
-
catchall: /* @__PURE__ */
|
|
780
|
+
catchall: /* @__PURE__ */ pt(),
|
|
781
781
|
...F(t)
|
|
782
782
|
});
|
|
783
783
|
}
|
|
784
|
-
var
|
|
785
|
-
|
|
784
|
+
var _t = /*@__PURE__*/ k("ZodMiniOptional", (e, t) => {
|
|
785
|
+
nt.init(e, t), G.init(e, t);
|
|
786
786
|
});
|
|
787
787
|
// @__NO_SIDE_EFFECTS__
|
|
788
|
-
function
|
|
789
|
-
return new
|
|
788
|
+
function J(e) {
|
|
789
|
+
return new _t({
|
|
790
790
|
type: "optional",
|
|
791
791
|
innerType: e
|
|
792
792
|
});
|
|
793
793
|
}
|
|
794
|
-
var
|
|
795
|
-
|
|
794
|
+
var vt = /*@__PURE__*/ k("ZodMiniCustom", (e, t) => {
|
|
795
|
+
rt.init(e, t), G.init(e, t);
|
|
796
796
|
});
|
|
797
797
|
// @__NO_SIDE_EFFECTS__
|
|
798
|
-
function
|
|
799
|
-
return /* @__PURE__ */
|
|
798
|
+
function yt(e, t = {}) {
|
|
799
|
+
return /* @__PURE__ */ ct(vt, e, t);
|
|
800
800
|
}
|
|
801
801
|
//#endregion
|
|
802
802
|
//#region src/schemas/sdk.schemas.ts
|
|
803
|
-
var
|
|
804
|
-
x: /* @__PURE__ */
|
|
805
|
-
y: /* @__PURE__ */
|
|
806
|
-
}),
|
|
807
|
-
leftTop:
|
|
808
|
-
rightBottom:
|
|
809
|
-
}),
|
|
810
|
-
name: /* @__PURE__ */
|
|
811
|
-
externalId: /* @__PURE__ */
|
|
812
|
-
})).check(/* @__PURE__ */
|
|
813
|
-
booths: /* @__PURE__ */
|
|
814
|
-
exhibitors: /* @__PURE__ */
|
|
815
|
-
})).check(/* @__PURE__ */
|
|
803
|
+
var bt = /* @__PURE__ */ q({
|
|
804
|
+
x: /* @__PURE__ */ K(),
|
|
805
|
+
y: /* @__PURE__ */ K()
|
|
806
|
+
}), xt = /* @__PURE__ */ q({
|
|
807
|
+
leftTop: bt,
|
|
808
|
+
rightBottom: bt
|
|
809
|
+
}), St = (/* @__PURE__ */ q({
|
|
810
|
+
name: /* @__PURE__ */ J(/* @__PURE__ */ ut()),
|
|
811
|
+
externalId: /* @__PURE__ */ J(/* @__PURE__ */ ut())
|
|
812
|
+
})).check(/* @__PURE__ */ yt((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")), Ct = (/* @__PURE__ */ q({
|
|
813
|
+
booths: /* @__PURE__ */ J(/* @__PURE__ */ ht(St)),
|
|
814
|
+
exhibitors: /* @__PURE__ */ J(/* @__PURE__ */ ht(St))
|
|
815
|
+
})).check(/* @__PURE__ */ yt((e) => {
|
|
816
816
|
var t, n;
|
|
817
817
|
return !!((t = e.booths) != null && t.length || (n = e.exhibitors) != null && n.length);
|
|
818
|
-
}, "Selector must contain booths or exhibitors")),
|
|
818
|
+
}, "Selector must contain booths or exhibitors")), Y = /* @__PURE__ */ J(/* @__PURE__ */ q({ padding: /* @__PURE__ */ J(/* @__PURE__ */ K()) })), wt = /* @__PURE__ */ e(r(), 1), X = n(), Z = (0, wt.default)("efp:api");
|
|
819
819
|
(0, Oe.install)();
|
|
820
820
|
var Tt = class extends ee {
|
|
821
821
|
constructor(...e) {
|
|
822
822
|
super(...e), this.root = void 0;
|
|
823
823
|
}
|
|
824
824
|
init() {
|
|
825
|
-
this.ignoreQuery ||
|
|
825
|
+
this.ignoreQuery || ce(this.offHistory), fe("load"), v.fp = this, ye(this.allowConsent), de(_e.Load, ""), this.root = (0, De.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, X.jsx)(Ee, { children: /* @__PURE__ */ (0, X.jsx)(xe, {
|
|
826
826
|
offHistory: this.offHistory,
|
|
827
827
|
allowConsent: this.allowConsent
|
|
828
|
-
}) })),
|
|
829
|
-
if (this.resolveReady(), !
|
|
828
|
+
}) })), de(_e.Rendered, ""), s(() => v.layerStore.layersLoaded, () => {
|
|
829
|
+
if (this.resolveReady(), !v.initialized) {
|
|
830
830
|
var e;
|
|
831
831
|
(e = this.onInit) == null || e.call(this, this);
|
|
832
832
|
}
|
|
833
|
-
|
|
833
|
+
v.initialized = !0;
|
|
834
834
|
});
|
|
835
835
|
}
|
|
836
836
|
selectBooth(e) {
|
|
@@ -838,8 +838,8 @@ var Tt = class extends ee {
|
|
|
838
838
|
$("selectBooth", "Parameter must be a string or an array of strings.", "EFP000000");
|
|
839
839
|
return;
|
|
840
840
|
}
|
|
841
|
-
let t =
|
|
842
|
-
|
|
841
|
+
let t = v.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
842
|
+
v.selectBooth(t);
|
|
843
843
|
}
|
|
844
844
|
selectExhibitor(e) {
|
|
845
845
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
@@ -847,13 +847,13 @@ var Tt = class extends ee {
|
|
|
847
847
|
return;
|
|
848
848
|
}
|
|
849
849
|
if (!(e != null && e.length)) {
|
|
850
|
-
|
|
850
|
+
v.uiState.menu = !1, v.searchStore.resetSearchBox(), v.uiState.details = null;
|
|
851
851
|
return;
|
|
852
852
|
}
|
|
853
|
-
let t =
|
|
853
|
+
let t = v.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
854
854
|
if (!(t != null && t.length)) return;
|
|
855
855
|
if (typeof e == "string") {
|
|
856
|
-
|
|
856
|
+
v.selectExhibitor(t[0]), v.moveToList([t[0]]);
|
|
857
857
|
return;
|
|
858
858
|
}
|
|
859
859
|
let n = t.flatMap((e) => e.booths.map((e) => e.layer)), { description: r } = n.reduce((e, t) => (e.freq[t.description] = (e.freq[t.description] || 0) + 1, e.freq[t.description] > e.maxCount && (e.maxCount = e.freq[t.description], e.mostFrequent = t), e), {
|
|
@@ -861,25 +861,25 @@ var Tt = class extends ee {
|
|
|
861
861
|
mostFrequent: n[0],
|
|
862
862
|
maxCount: 0
|
|
863
863
|
}).mostFrequent;
|
|
864
|
-
|
|
864
|
+
v.layerStore.updateVisibility(r, !0), v.uiState.menu = !1, v.searchStore.resetSearchBox(), v.uiState.details = null, v.uiState.list = {
|
|
865
865
|
type: "filter",
|
|
866
866
|
items: t,
|
|
867
867
|
query: {
|
|
868
868
|
key: "exhibitors",
|
|
869
869
|
value: t.map((e) => e.externalId).join(",")
|
|
870
870
|
}
|
|
871
|
-
},
|
|
871
|
+
}, v.moveToList();
|
|
872
872
|
}
|
|
873
873
|
highlightExhibitors(e) {
|
|
874
|
-
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"),
|
|
874
|
+
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), v.boothStore.highlightedByExternalIds = [], v.exhibitorStore.highlightedByExternalIds = [...e];
|
|
875
875
|
}
|
|
876
876
|
highlightBooths(e) {
|
|
877
|
-
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"),
|
|
877
|
+
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), v.exhibitorStore.highlightedByExternalIds = [], v.boothStore.highlightedByExternalIds = [...e];
|
|
878
878
|
}
|
|
879
879
|
highlightEntities(e) {
|
|
880
880
|
Array.isArray(e) || $("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
|
|
881
|
-
let { boothExternalIds: t, exhibitorExternalIds: n } =
|
|
882
|
-
|
|
881
|
+
let { boothExternalIds: t, exhibitorExternalIds: n } = _(e);
|
|
882
|
+
v.boothStore.highlightedByExternalIds = [...t], v.exhibitorStore.highlightedByExternalIds = [...n];
|
|
883
883
|
}
|
|
884
884
|
selectRoute(e, t) {
|
|
885
885
|
if (Array.isArray(e)) {
|
|
@@ -889,10 +889,10 @@ var Tt = class extends ee {
|
|
|
889
889
|
$("selectRoute", "Invalid route format: When providing an array, it must include at least two points: a start and a destination.", "EFP000401");
|
|
890
890
|
return;
|
|
891
891
|
}
|
|
892
|
-
|
|
892
|
+
v.routeStore.selectRoute(new h(Q(n), Q(r), t.map(Q)));
|
|
893
893
|
return;
|
|
894
894
|
}
|
|
895
|
-
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"),
|
|
895
|
+
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), v.routeStore.selectRoute(new h(Q(e), Q(t)));
|
|
896
896
|
}
|
|
897
897
|
getOptimizedRoutes(e) {
|
|
898
898
|
if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
|
|
@@ -905,19 +905,19 @@ var Tt = class extends ee {
|
|
|
905
905
|
let t = (r = (i = e.layer) == null ? void 0 : i.name) == null ? "" : r, a = n.get(t);
|
|
906
906
|
a ? a.push(e) : n.set(t, [e]);
|
|
907
907
|
}
|
|
908
|
-
return Array.from(n.values()).map((e) => ({ waypoints:
|
|
908
|
+
return Array.from(n.values()).map((e) => ({ waypoints: ue(e.map((e) => [e.name, {
|
|
909
909
|
cx: e.rect.cx,
|
|
910
910
|
cy: e.rect.cy
|
|
911
911
|
}])) }));
|
|
912
912
|
}
|
|
913
913
|
selectCurrentPosition(e, t, n) {
|
|
914
914
|
var r;
|
|
915
|
-
let i =
|
|
916
|
-
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"),
|
|
915
|
+
let i = x(e.x) && x(e.y), a = x(e.lng) && x(e.lat);
|
|
916
|
+
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), v.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
|
|
917
917
|
}
|
|
918
918
|
setBookmarks(e) {
|
|
919
919
|
(!Array.isArray(e) || !e.length) && $("setBookmarks", "Parameter must be an array.", "EFP000700"), e.forEach((e) => {
|
|
920
|
-
let t =
|
|
920
|
+
let t = v.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
|
|
921
921
|
t && (t.bookmarked = e.bookmarked);
|
|
922
922
|
});
|
|
923
923
|
}
|
|
@@ -936,29 +936,29 @@ var Tt = class extends ee {
|
|
|
936
936
|
$("setEntitiesBookmarks", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000702");
|
|
937
937
|
return;
|
|
938
938
|
}
|
|
939
|
-
let r =
|
|
939
|
+
let r = g("bookmarked"), i = {
|
|
940
940
|
exhibitor: {
|
|
941
941
|
existingIds: new Set(r.exhibitors || []),
|
|
942
|
-
finder: (e) =>
|
|
943
|
-
replacer: (e) =>
|
|
942
|
+
finder: (e) => v.exhibitorStore.findExhibitor(e),
|
|
943
|
+
replacer: (e) => v.exhibitorStore.replaceBookmarked(e)
|
|
944
944
|
},
|
|
945
945
|
event: {
|
|
946
946
|
existingIds: new Set(r.events || []),
|
|
947
|
-
finder: (e) =>
|
|
948
|
-
replacer: (e) =>
|
|
947
|
+
finder: (e) => v.eventStore.findByNameOrSlug(e),
|
|
948
|
+
replacer: (e) => v.eventStore.replaceBookmarked(e)
|
|
949
949
|
},
|
|
950
950
|
speaker: {
|
|
951
951
|
existingIds: new Set(r.speakers || []),
|
|
952
|
-
finder: (e) =>
|
|
953
|
-
replacer: (e) =>
|
|
952
|
+
finder: (e) => v.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
|
|
953
|
+
replacer: (e) => v.speakerStore.replaceBookmarked(e)
|
|
954
954
|
},
|
|
955
955
|
booth: {
|
|
956
956
|
existingIds: new Set(r.booths || []),
|
|
957
957
|
finder: (e) => {
|
|
958
|
-
let t =
|
|
958
|
+
let t = v.boothStore.findBooth(e);
|
|
959
959
|
return (t == null ? void 0 : t.exhibitors.length) === 0 ? t : void 0;
|
|
960
960
|
},
|
|
961
|
-
replacer: (e) =>
|
|
961
|
+
replacer: (e) => v.boothStore.replaceBookmarked(e)
|
|
962
962
|
}
|
|
963
963
|
};
|
|
964
964
|
e.forEach((e) => {
|
|
@@ -978,16 +978,16 @@ var Tt = class extends ee {
|
|
|
978
978
|
$("setEntitiesVisited", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000704");
|
|
979
979
|
return;
|
|
980
980
|
}
|
|
981
|
-
let r =
|
|
981
|
+
let r = g("visited"), i = {
|
|
982
982
|
exhibitor: {
|
|
983
983
|
existingIds: new Set(r.exhibitors || []),
|
|
984
|
-
finder: (e) =>
|
|
985
|
-
replacer: (e) =>
|
|
984
|
+
finder: (e) => v.exhibitorStore.findExhibitor(e),
|
|
985
|
+
replacer: (e) => v.exhibitorStore.replaceVisited(e)
|
|
986
986
|
},
|
|
987
987
|
event: {
|
|
988
988
|
existingIds: new Set(r.events || []),
|
|
989
|
-
finder: (e) =>
|
|
990
|
-
replacer: (e) =>
|
|
989
|
+
finder: (e) => v.eventStore.findByNameOrSlug(e),
|
|
990
|
+
replacer: (e) => v.eventStore.replaceVisited(e)
|
|
991
991
|
}
|
|
992
992
|
};
|
|
993
993
|
e.forEach((e) => {
|
|
@@ -1002,73 +1002,73 @@ var Tt = class extends ee {
|
|
|
1002
1002
|
$("setMarkers", "Invalid input.", "EFP000800");
|
|
1003
1003
|
return;
|
|
1004
1004
|
}
|
|
1005
|
-
|
|
1005
|
+
v.routeStore.setMarkers(e);
|
|
1006
1006
|
}
|
|
1007
1007
|
selectMarker(e, t = !0) {
|
|
1008
|
-
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"),
|
|
1008
|
+
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), v.routeStore.selectMarker(e, t);
|
|
1009
1009
|
}
|
|
1010
1010
|
drawCircles(e) {
|
|
1011
|
-
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"),
|
|
1011
|
+
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), v.uiState.debugCircles = e;
|
|
1012
1012
|
}
|
|
1013
1013
|
checkRoutes() {
|
|
1014
|
-
|
|
1014
|
+
v.routeStore.checkRoutes();
|
|
1015
1015
|
}
|
|
1016
1016
|
updateLayerVisibility(e, t) {
|
|
1017
|
-
typeof e != "string" && $("updateLayerVisibility", "The layer name (string) must be passed.", "EFP000B00"), t || $("updateLayerVisibility", "Passing a false value to visible will have no effect.", "EFP000B01"),
|
|
1017
|
+
typeof e != "string" && $("updateLayerVisibility", "The layer name (string) must be passed.", "EFP000B00"), t || $("updateLayerVisibility", "Passing a false value to visible will have no effect.", "EFP000B01"), v.layerStore.updateVisibility(e, t);
|
|
1018
1018
|
}
|
|
1019
1019
|
getCenterCoordinates() {
|
|
1020
|
-
return
|
|
1020
|
+
return v.fp.getCenterCoordinates();
|
|
1021
1021
|
}
|
|
1022
1022
|
exhibitorsList() {
|
|
1023
|
-
return
|
|
1023
|
+
return v.exhibitorStore.exhibitors.map((e) => E(e));
|
|
1024
1024
|
}
|
|
1025
1025
|
boothsList() {
|
|
1026
|
-
return
|
|
1026
|
+
return v.boothStore.booths.map((e) => E(e));
|
|
1027
1027
|
}
|
|
1028
1028
|
categoriesList() {
|
|
1029
|
-
return
|
|
1029
|
+
return v.categoryStore.categories.map((e) => E(e));
|
|
1030
1030
|
}
|
|
1031
1031
|
selectCategory(e) {
|
|
1032
1032
|
if (e == null || typeof e != "string") {
|
|
1033
|
-
|
|
1033
|
+
v.searchStore.selectSearch();
|
|
1034
1034
|
return;
|
|
1035
1035
|
}
|
|
1036
|
-
let t = e == null ? void 0 : e.toLowerCase(), n =
|
|
1036
|
+
let t = e == null ? void 0 : e.toLowerCase(), n = v.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
|
|
1037
1037
|
if (!n) {
|
|
1038
1038
|
$("selectCategory", `Category ${e} not found.`, "EFP000C01");
|
|
1039
1039
|
return;
|
|
1040
1040
|
}
|
|
1041
|
-
|
|
1041
|
+
v.selectCategory(n);
|
|
1042
1042
|
}
|
|
1043
1043
|
applyParameters(e) {
|
|
1044
1044
|
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), be(e);
|
|
1045
1045
|
}
|
|
1046
1046
|
getVisibility() {
|
|
1047
|
-
return
|
|
1047
|
+
return v.uiState.visibility;
|
|
1048
1048
|
}
|
|
1049
1049
|
setVisibility(e) {
|
|
1050
|
-
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"),
|
|
1050
|
+
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), v.uiState.setVisibility(e);
|
|
1051
1051
|
}
|
|
1052
1052
|
findLocation() {
|
|
1053
|
-
|
|
1053
|
+
v.routeStore.findLocation();
|
|
1054
1054
|
}
|
|
1055
1055
|
zoomIn() {
|
|
1056
|
-
|
|
1056
|
+
v.uiState.zoomIn();
|
|
1057
1057
|
}
|
|
1058
1058
|
zoomOut() {
|
|
1059
|
-
|
|
1059
|
+
v.uiState.zoomOut();
|
|
1060
1060
|
}
|
|
1061
1061
|
switchView() {
|
|
1062
|
-
|
|
1062
|
+
v.maplibreStore.activateMaplibre();
|
|
1063
1063
|
}
|
|
1064
1064
|
zoomTo(e, t) {
|
|
1065
1065
|
Z("zoomTo called with selectors=%O options=%O", e, t);
|
|
1066
|
-
let n =
|
|
1066
|
+
let n = Ct.safeParse(e);
|
|
1067
1067
|
if (!n.success) {
|
|
1068
1068
|
$("zoomTo", n.error.message, "EFP001600");
|
|
1069
1069
|
return;
|
|
1070
1070
|
}
|
|
1071
|
-
let r =
|
|
1071
|
+
let r = Y.safeParse(t);
|
|
1072
1072
|
if (!r.success) {
|
|
1073
1073
|
$("zoomTo", r.error.message, "EFP001601");
|
|
1074
1074
|
return;
|
|
@@ -1079,7 +1079,7 @@ var Tt = class extends ee {
|
|
|
1079
1079
|
getBounds(e) {
|
|
1080
1080
|
var t, n;
|
|
1081
1081
|
Z("getBounds called with selectors=%O", e);
|
|
1082
|
-
let r =
|
|
1082
|
+
let r = Ct.safeParse(e);
|
|
1083
1083
|
if (!r.success) {
|
|
1084
1084
|
$("getBounds", r.error.message, "EFP001400");
|
|
1085
1085
|
return;
|
|
@@ -1087,15 +1087,15 @@ var Tt = class extends ee {
|
|
|
1087
1087
|
let i = [];
|
|
1088
1088
|
if ((t = e.booths) == null || t.forEach((e) => {
|
|
1089
1089
|
let t;
|
|
1090
|
-
e.externalId ? t =
|
|
1090
|
+
e.externalId ? t = v.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = v.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
|
|
1091
1091
|
}), (n = e.exhibitors) == null || n.forEach((e) => {
|
|
1092
1092
|
var t;
|
|
1093
1093
|
let n;
|
|
1094
|
-
e.externalId ? n =
|
|
1094
|
+
e.externalId ? n = v.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = v.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
|
|
1095
1095
|
e.rect && i.push(e.rect);
|
|
1096
1096
|
});
|
|
1097
1097
|
}), i.length === 0) return;
|
|
1098
|
-
let a =
|
|
1098
|
+
let a = b.fromMultiple(i);
|
|
1099
1099
|
return {
|
|
1100
1100
|
leftTop: {
|
|
1101
1101
|
x: a.x1,
|
|
@@ -1109,15 +1109,15 @@ var Tt = class extends ee {
|
|
|
1109
1109
|
}
|
|
1110
1110
|
fitBounds(e, t) {
|
|
1111
1111
|
if (Z("fitBounds called with bounds=%O options=%O", e, t), !e) {
|
|
1112
|
-
|
|
1112
|
+
v.uiState.fitBounds();
|
|
1113
1113
|
return;
|
|
1114
1114
|
}
|
|
1115
|
-
let n =
|
|
1115
|
+
let n = xt.safeParse(e);
|
|
1116
1116
|
if (!n.success) {
|
|
1117
1117
|
$("fitBounds", n.error.message, "EFP001500");
|
|
1118
1118
|
return;
|
|
1119
1119
|
}
|
|
1120
|
-
let r =
|
|
1120
|
+
let r = Y.safeParse(t);
|
|
1121
1121
|
if (!r.success) {
|
|
1122
1122
|
$("fitBounds", r.error.message, "EFP001501");
|
|
1123
1123
|
return;
|
|
@@ -1125,13 +1125,13 @@ var Tt = class extends ee {
|
|
|
1125
1125
|
let i;
|
|
1126
1126
|
if (t != null && t.padding) {
|
|
1127
1127
|
let n = t.padding;
|
|
1128
|
-
i =
|
|
1129
|
-
} else i =
|
|
1130
|
-
|
|
1128
|
+
i = b.fromX1y1x2y2(e.leftTop.x - n, e.leftTop.y - n, e.rightBottom.x + n, e.rightBottom.y + n);
|
|
1129
|
+
} else i = b.fromX1y1x2y2(e.leftTop.x, e.leftTop.y, e.rightBottom.x, e.rightBottom.y);
|
|
1130
|
+
v.uiState.moveToRect = i;
|
|
1131
1131
|
}
|
|
1132
1132
|
getBoothRect(e) {
|
|
1133
1133
|
var t;
|
|
1134
|
-
return typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00"), (t =
|
|
1134
|
+
return typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00"), (t = ge(e)) == null ? void 0 : t.rect;
|
|
1135
1135
|
}
|
|
1136
1136
|
convertToGeo(e, t) {
|
|
1137
1137
|
var n;
|
|
@@ -1143,20 +1143,20 @@ var Tt = class extends ee {
|
|
|
1143
1143
|
$("convertToGeo", "Both coordinates must be passed.", "EFP001001");
|
|
1144
1144
|
return;
|
|
1145
1145
|
}
|
|
1146
|
-
return
|
|
1146
|
+
return me(e, t, y.properties.config);
|
|
1147
1147
|
}
|
|
1148
1148
|
unstable_destroy() {
|
|
1149
1149
|
let e = window.__efpElement.firstChild;
|
|
1150
|
-
ke(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", u),
|
|
1150
|
+
ke(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", u), v.maplibreStore.dispose(), le(), ve(), he(), [...document.getElementsByTagName("script")].filter((e) => e.src.indexOf("/fp.svg") > -1 || e.src.indexOf("/wf.data.js") > -1 || e.src.indexOf("/data.js") > -1).forEach((e) => e.remove()), this.root.unmount(), e.remove();
|
|
1151
1151
|
}
|
|
1152
1152
|
search(e) {
|
|
1153
|
-
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"),
|
|
1153
|
+
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), v.fuzzySearchEngineStore.loadEngine().then(() => (v.searchStore.selectSearch(e), v.uiState.fuzzySearchItems.map((e) => ({
|
|
1154
1154
|
item: E(e.item),
|
|
1155
1155
|
score: e.score
|
|
1156
1156
|
}))));
|
|
1157
1157
|
}
|
|
1158
1158
|
getFloors() {
|
|
1159
|
-
return
|
|
1159
|
+
return v.layerStore.floors.map((e) => ({
|
|
1160
1160
|
name: e.name,
|
|
1161
1161
|
shortName: e.shortName,
|
|
1162
1162
|
description: e.description,
|
|
@@ -1194,67 +1194,67 @@ var Tt = class extends ee {
|
|
|
1194
1194
|
}
|
|
1195
1195
|
showPathway(e, t) {
|
|
1196
1196
|
let n = new URLSearchParams();
|
|
1197
|
-
if (n.set(
|
|
1198
|
-
let { boothExternalIds: e, exhibitorExternalIds: r } =
|
|
1197
|
+
if (n.set(a, e), t != null && t.length) {
|
|
1198
|
+
let { boothExternalIds: e, exhibitorExternalIds: r } = _(t);
|
|
1199
1199
|
e.length > 0 && n.set("booths", e.join(",")), r.length > 0 && n.set("exhibitors", r.join(","));
|
|
1200
1200
|
}
|
|
1201
1201
|
this.applyParameters(n.toString());
|
|
1202
1202
|
}
|
|
1203
1203
|
showPathwayOnly(e, t) {
|
|
1204
|
-
this.activateFloor({ name: t }),
|
|
1205
|
-
let n =
|
|
1204
|
+
this.activateFloor({ name: t }), v.layerStore.showPathWay(e), v.uiState.setPathwayOnlyMode(!0);
|
|
1205
|
+
let n = v.layerStore.findLayer(e), r = v.layerStore.findLayer(t), i = n != null && n.rect || n != null && n.viewbox ? n : r;
|
|
1206
1206
|
if (i != null && i.rect || i != null && i.viewbox) {
|
|
1207
1207
|
var a;
|
|
1208
1208
|
let e = (a = i.viewbox) == null ? i.rect : a;
|
|
1209
|
-
|
|
1209
|
+
v.uiState.moveToRect = b.fromX1y1x2y2(e.x1, e.y1, e.x2, e.y2);
|
|
1210
1210
|
}
|
|
1211
1211
|
}
|
|
1212
1212
|
hidePathways() {
|
|
1213
|
-
this.highlightBooths([]),
|
|
1213
|
+
this.highlightBooths([]), v.layerStore.hidePathways(), v.uiState.setPathwayOnlyMode(!1);
|
|
1214
1214
|
}
|
|
1215
1215
|
showSearch() {
|
|
1216
|
-
|
|
1216
|
+
v.selectSearch("");
|
|
1217
1217
|
}
|
|
1218
1218
|
changeLanguage(e) {
|
|
1219
1219
|
var t;
|
|
1220
1220
|
let n = e == null || (t = e.toLowerCase) == null ? void 0 : t.call(e);
|
|
1221
1221
|
if (!l(n)) {
|
|
1222
|
-
$("changeLanguage", `Language "${e}" was not found. Available languages: ${
|
|
1222
|
+
$("changeLanguage", `Language "${e}" was not found. Available languages: ${c().map((e) => e.id).join(",")}`, "EFP001300");
|
|
1223
1223
|
return;
|
|
1224
1224
|
}
|
|
1225
1225
|
let r = new URLSearchParams();
|
|
1226
|
-
r.set(
|
|
1226
|
+
r.set(o, n), this.applyParameters(r.toString());
|
|
1227
1227
|
}
|
|
1228
1228
|
isGpsTrackingEnabled() {
|
|
1229
|
-
return
|
|
1229
|
+
return v.routeStore.gpsEnabled;
|
|
1230
1230
|
}
|
|
1231
1231
|
setGpsTrackingEnabled(e) {
|
|
1232
|
-
|
|
1232
|
+
v.routeStore.setGpsTrackingEnabled(e);
|
|
1233
1233
|
}
|
|
1234
1234
|
deselectCurrentPosition() {
|
|
1235
|
-
|
|
1235
|
+
v.routeStore.selectCurrentPosition(null, !1);
|
|
1236
1236
|
}
|
|
1237
1237
|
deselectRoute() {
|
|
1238
|
-
|
|
1238
|
+
v.routeStore.selectRoute(null), v.routeStore.setOnlyAccessible(!1);
|
|
1239
1239
|
}
|
|
1240
1240
|
reset() {
|
|
1241
|
-
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]),
|
|
1241
|
+
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), v.uiState.kioskData && v.resetCameraFn) {
|
|
1242
1242
|
var e;
|
|
1243
|
-
(e =
|
|
1243
|
+
(e = v.resetCameraFn) == null || e.call(v);
|
|
1244
1244
|
} else this.fitBounds();
|
|
1245
1245
|
}
|
|
1246
1246
|
selectAccessibleRoute(e) {
|
|
1247
|
-
|
|
1247
|
+
v.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
|
|
1248
1248
|
}
|
|
1249
1249
|
};
|
|
1250
1250
|
function Q(e) {
|
|
1251
|
-
return typeof e == "string" ?
|
|
1251
|
+
return typeof e == "string" ? ge(e) : v.routeStore.getNearestBooth(e);
|
|
1252
1252
|
}
|
|
1253
1253
|
var Et = 0;
|
|
1254
1254
|
function $(e, t, n) {
|
|
1255
1255
|
let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://js-sdk.expofp.com/api/packages";
|
|
1256
|
-
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`),
|
|
1257
|
-
|
|
1256
|
+
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), v.fp.disableRuntimeAlerts) return;
|
|
1257
|
+
v.uiState.setGlobalErrorMessage({
|
|
1258
1258
|
title: r,
|
|
1259
1259
|
body: /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [
|
|
1260
1260
|
i,
|
|
@@ -1270,7 +1270,7 @@ function $(e, t, n) {
|
|
|
1270
1270
|
let o = 8e3;
|
|
1271
1271
|
Et = window.setTimeout(() => {
|
|
1272
1272
|
let e = async () => {
|
|
1273
|
-
|
|
1273
|
+
v.uiState.globalErrorMessages.length > 0 && (v.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
|
|
1274
1274
|
};
|
|
1275
1275
|
e();
|
|
1276
1276
|
}, o);
|