@expofp/floorplan 3.2.13 → 3.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/Button-BdvuWzrR.js +204 -0
- package/dist/browser/CookieConsent-bTG3GDKg.js +71 -0
- package/dist/browser/{Debug-DGpD6gi3.js → Debug-CjX9xriA.js} +8 -7
- package/dist/browser/{Demo-D58NFoyc.js → Demo-D66SE96z.js} +12 -11
- package/dist/browser/{Free-0cQAwFKa.js → Free-ouV3S0cy.js} +12 -11
- package/dist/browser/{Gallery-CPVZPQ00.js → Gallery-Bm4oVw4n.js} +608 -642
- package/dist/browser/{GpsLoader-qwW4aTNa.js → GpsLoader-BheKXFiI.js} +49 -47
- package/dist/browser/{KioskStore-IujhAAGe.js → KioskStore-CYaE9WLG.js} +62 -62
- package/dist/browser/{Mapbox-BEIVuKI-.js → Mapbox-CDlR6UrM.js} +40 -39
- package/dist/browser/Modal-DS2N0vIo.js +105 -0
- package/dist/browser/{SetKioskMode-DlUxPyq5.js → SetKioskMode-DofzJB3e.js} +18 -17
- package/dist/browser/{ShowKiosk-DzPcuttS.js → ShowKiosk-UX2N2NU3.js} +11 -10
- package/dist/browser/{ThreeComponent-D7GyVwct.js → ThreeComponent-CglSG5wI.js} +248 -247
- package/dist/browser/{TouchHand-DUyEIum1.js → TouchHand-DvgAAuKo.js} +15 -14
- package/dist/browser/{ViewerMenuPanel-DQds_0Se.js → ViewerMenuPanel-KPn2i2KL.js} +22 -21
- package/dist/browser/{add-debug-secret-listener-BoLrZL18.js → add-debug-secret-listener-BN00-9E4.js} +1 -1
- package/dist/browser/{boolean-editor-D439oELN.js → boolean-editor-fbHiF9vJ.js} +11 -11
- package/dist/browser/{bootIntercom-C0fIuZrS.js → bootIntercom-CKo2IztD.js} +3 -3
- package/dist/browser/{box-DQ37DLtr.js → box-B2jxGgXa.js} +6 -6
- package/dist/browser/{browser-BWeq0ALX.js → browser-vqeti97Y.js} +2 -2
- package/dist/browser/bundle.json +68 -53
- package/dist/browser/{classnames-BqhGxx8b.js → classnames-CHmxGkvV.js} +2 -2
- package/dist/browser/{client-DpMmqnL3.js → client-pnzfy6PK.js} +5 -5
- package/dist/browser/components-DVzc3v5I.js +8145 -0
- package/dist/browser/{data-BGGzJSZ3.js → data-BmUUjPca.js} +43 -43
- package/dist/browser/{debug-overlay-DyHs08sf.js → debug-overlay-B_1ADa5Y.js} +12 -12
- package/dist/browser/{debug-ui-Ds2r10P8.js → debug-ui-DBOzEUkM.js} +7 -7
- package/dist/browser/{dist-CXnrXk8a.js → dist-0qGu5ADv.js} +3 -3
- package/dist/browser/{dist-C8-R05Uf.js → dist-BpuX8MZ6.js} +7 -7
- package/dist/browser/{dist-DeJCQ-ni.js → dist-DblWkNUV.js} +6 -6
- package/dist/browser/{efp-debug-init-BAaVZ-Sv.js → efp-debug-init-BwJWCRkJ.js} +3 -3
- package/dist/browser/{enum-editor-bO-7z_65.js → enum-editor-BYkKqvGq.js} +12 -12
- package/dist/browser/{exports-DuxaY9F1.js → exports-BRRDMtlG.js} +1 -1
- package/dist/browser/{favicon-BiX13mYV.js → favicon-C_bgpvWA.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BxHhVEQ9.js → fetch-retry.umd-Dinto0ag.js} +2 -2
- package/dist/browser/{flex-DznufWy4.js → flex-uHBCXaOV.js} +7 -7
- package/dist/browser/{flex.props-CBBCApDT.js → flex.props-eBOcuRMU.js} +3 -3
- package/dist/browser/{floorplan.loader-CYCz53F2.js → floorplan.loader-CMXBnLtZ.js} +650 -649
- package/dist/browser/{floorplan.ready-t0OqKoP2.js → floorplan.ready-UbtSin_R.js} +215 -215
- package/dist/browser/{fuse-2x0Yl6bu.js → fuse-CgTQNNsn.js} +2 -2
- package/dist/browser/{is-debug-Dj3mKaHR.js → i18n-BOl9oxrx.js} +774 -883
- package/dist/browser/index.js +12 -12
- package/dist/browser/is-debug-DMN58EYn.js +122 -0
- package/dist/browser/{jsx-runtime-DS_WWXud.js → jsx-runtime-B2BgIlMm.js} +2 -2
- package/dist/browser/{lib-Bt7PWtNh.js → lib-DByP5YwC.js} +5 -5
- package/dist/browser/{main-DK2hJr48.js → main-D3mbrWsr.js} +1 -1
- package/dist/browser/{mobx-BcjkYuCb.js → mobx-CdvsVcc9.js} +5 -5
- package/dist/browser/{particles.min-BGHzdrAw.js → particles.min-DfI3C-qp.js} +2 -2
- package/dist/browser/{prop-types-DwnAO0Yi.js → prop-types-B6zERU6Z.js} +2 -2
- package/dist/browser/{react-DddeiwYl.js → react-C3o_QT06.js} +2 -2
- package/dist/browser/{react-dom-D8AyYBO2.js → react-dom-sBqrMskT.js} +3 -3
- package/dist/browser/{reset-all-settings-BMiI_ZFm.js → reset-all-settings-BwKg7iVu.js} +8 -8
- package/dist/browser/{rolldown-runtime-DaP-Mfpn.js → rolldown-runtime-DB8Ddt08.js} +1 -1
- package/dist/browser/{settings-Bbym8GNQ.js → settings-BLMQJ1yq.js} +2 -2
- package/dist/browser/{settings-item-D8MTM1Pj.js → settings-item-C19s0haM.js} +7 -7
- package/dist/browser/{store-nbxV99WZ.js → store-CQE29UCE.js} +5684 -5862
- package/dist/browser/{string-editor-BSj1Zdr7.js → string-editor-DyFEQo_P.js} +9 -9
- package/dist/browser/{theme-Bo2UyA3Q.js → theme-CrwkiIG5.js} +9 -9
- package/dist/browser/{ui-C5q_HiUr.js → ui-MUJDbhD1.js} +9 -9
- package/dist/browser/useRenderTarget-Pk0fGZOz.js +48 -0
- package/dist/esm/components/AlertContainer.d.ts +5 -0
- package/dist/esm/components/AlertContainer.js +1 -0
- package/dist/esm/components/Booth/Booth.js +1 -1
- package/dist/esm/components/CookieConsent.js +1 -1
- package/dist/esm/components/EntityItem.d.ts +1 -0
- package/dist/esm/components/EntityItem.js +1 -1
- package/dist/esm/components/EntityItemContainer.d.ts +5 -0
- package/dist/esm/components/EntityItemContainer.js +1 -0
- package/dist/esm/components/EntityList.js +1 -1
- package/dist/esm/components/EntityListRow.js +1 -1
- package/dist/esm/components/Event.js +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/GlobalErrorMessage.js +1 -1
- package/dist/esm/components/HighlightTextContainer.d.ts +6 -0
- package/dist/esm/components/HighlightTextContainer.js +1 -0
- package/dist/esm/components/Kiosk/KioskStore.d.ts +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/Confirm/ConfirmDialog.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/types.d.ts +2 -2
- package/dist/esm/components/Kiosk/ShowKiosk.js +1 -1
- package/dist/esm/components/LanguageRow.js +1 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/List.js +1 -1
- package/dist/esm/components/LogoOverlay.d.ts +0 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/Menu.js +1 -1
- package/dist/esm/components/Modal.d.ts +2 -1
- package/dist/esm/components/Modal.js +1 -1
- package/dist/esm/components/Overlay.d.ts +1 -0
- package/dist/esm/components/Overlay.js +1 -1
- package/dist/esm/components/OverlayContainer.js +1 -1
- package/dist/esm/components/PermissionNotice/PermissionNotice.js +1 -1
- package/dist/esm/components/RebookingNotes.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlanner.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlannerHeader.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +1 -1
- package/dist/esm/components/SidebarActions.js +1 -1
- package/dist/esm/components/SimpleRow.js +1 -1
- package/dist/esm/components/Speakers.js +1 -1
- package/dist/esm/components/ToursList.js +1 -1
- package/dist/esm/components/Wayfinding.js +1 -1
- package/dist/esm/components/WayfindingFloorSelectorContainer.d.ts +5 -0
- package/dist/esm/components/WayfindingFloorSelectorContainer.js +1 -0
- package/dist/esm/components/WayfindingTemplate.d.ts +6 -8
- package/dist/esm/components/WayfindingTemplate.js +1 -1
- package/dist/esm/components/index.d.ts +22 -22
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/stories/CookieConsent.stories.js +1 -1
- package/dist/esm/components/stories/Modal.stories.d.ts +5 -0
- package/dist/esm/components/stories/Modal.stories.js +1 -0
- package/dist/esm/components/stories/Share.stories.d.ts +5 -0
- package/dist/esm/components/stories/Share.stories.js +1 -0
- package/dist/esm/components/stories/{CheckboxButton.stories.d.ts → WayInformation.stories.d.ts} +1 -1
- package/dist/esm/components/stories/WayfindingTemplate.stories.d.ts +5 -0
- package/dist/esm/components/stories/WayfindingTemplate.stories.js +1 -0
- package/dist/esm/store/RoutePlannerStore.d.ts +1 -1
- package/dist/esm/store/RoutePlannerStore.js +1 -1
- package/dist/esm/storybook/store/index.stub.d.ts +4 -0
- package/dist/esm/storybook/store/index.stub.js +1 -1
- package/dist/esm/{components → ui/Alert}/Alert.d.ts +3 -3
- package/dist/esm/ui/Alert/Alert.js +1 -0
- package/dist/esm/{components/stories → ui/Alert}/Alert.stories.d.ts +1 -1
- package/dist/esm/ui/Alert/Alert.stories.js +1 -0
- package/dist/esm/ui/Alert/index.d.ts +3 -0
- package/dist/esm/ui/Alert/index.js +1 -0
- package/dist/esm/{components → ui/Badge}/Badge.d.ts +1 -2
- package/dist/esm/ui/Badge/Badge.stories.d.ts +5 -0
- package/dist/esm/ui/Badge/Badge.stories.js +1 -0
- package/dist/esm/ui/Badge/index.d.ts +3 -0
- package/dist/esm/ui/Badge/index.js +1 -0
- package/dist/esm/{components → ui/Button}/Button.d.ts +2 -2
- package/dist/esm/ui/Button/Button.js +1 -0
- package/dist/esm/ui/Button/Button.stories.d.ts +5 -0
- package/dist/esm/ui/Button/Button.stories.js +1 -0
- package/dist/esm/ui/Button/index.d.ts +3 -0
- package/dist/esm/ui/Button/index.js +1 -0
- package/dist/esm/ui/Checkbox/Checkbox.d.ts +18 -0
- package/dist/esm/ui/Checkbox/Checkbox.js +1 -0
- package/dist/esm/ui/Checkbox/Checkbox.stories.d.ts +5 -0
- package/dist/esm/ui/Checkbox/Checkbox.stories.js +1 -0
- package/dist/esm/ui/Checkbox/index.d.ts +3 -0
- package/dist/esm/ui/Checkbox/index.js +1 -0
- package/dist/esm/ui/CheckboxButton/CheckboxButton.d.ts +11 -0
- package/dist/esm/ui/CheckboxButton/CheckboxButton.js +1 -0
- package/dist/esm/ui/CheckboxButton/CheckboxButton.stories.d.ts +5 -0
- package/dist/esm/ui/CheckboxButton/CheckboxButton.stories.js +1 -0
- package/dist/esm/ui/CheckboxButton/index.d.ts +3 -0
- package/dist/esm/ui/CheckboxButton/index.js +1 -0
- package/dist/esm/ui/HighlightText/HighlightText.d.ts +6 -0
- package/dist/esm/ui/HighlightText/HighlightText.js +1 -0
- package/dist/esm/ui/HighlightText/HighlightText.stories.d.ts +7 -0
- package/dist/esm/ui/HighlightText/HighlightText.stories.js +1 -0
- package/dist/esm/ui/HighlightText/index.d.ts +2 -0
- package/dist/esm/ui/HighlightText/index.js +1 -0
- package/dist/esm/ui/Radio/Radio.d.ts +14 -0
- package/dist/esm/ui/Radio/Radio.js +1 -0
- package/dist/esm/ui/Radio/Radio.stories.d.ts +18 -0
- package/dist/esm/ui/Radio/Radio.stories.js +1 -0
- package/dist/esm/ui/Radio/index.d.ts +3 -0
- package/dist/esm/ui/Radio/index.js +1 -0
- package/dist/esm/ui/Spinner/Spinner.d.ts +8 -0
- package/dist/esm/ui/Spinner/Spinner.js +1 -0
- package/dist/esm/ui/Spinner/Spinner.stories.d.ts +5 -0
- package/dist/esm/ui/Spinner/Spinner.stories.js +1 -0
- package/dist/esm/ui/Spinner/index.d.ts +3 -0
- package/dist/esm/ui/Spinner/index.js +1 -0
- package/dist/esm/ui/ToggleButton/ToggleButton.d.ts +16 -0
- package/dist/esm/ui/ToggleButton/ToggleButton.js +1 -0
- package/dist/esm/ui/ToggleButton/ToggleButton.stories.d.ts +5 -0
- package/dist/esm/ui/ToggleButton/ToggleButton.stories.js +1 -0
- package/dist/esm/ui/ToggleButton/index.d.ts +3 -0
- package/dist/esm/ui/ToggleButton/index.js +1 -0
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.d.ts +17 -0
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.js +1 -0
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.stories.d.ts +5 -0
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.stories.js +1 -0
- package/dist/esm/ui/ToggleSwitch/index.d.ts +3 -0
- package/dist/esm/ui/ToggleSwitch/index.js +1 -0
- package/dist/esm/ui/TouchHand/TouchHand.d.ts +4 -0
- package/dist/esm/ui/TouchHand/TouchHand.js +1 -0
- package/dist/esm/ui/TouchHand/TouchHand.stories.d.ts +5 -0
- package/dist/esm/ui/TouchHand/TouchHand.stories.js +1 -0
- package/dist/esm/ui/TouchHand/index.d.ts +2 -0
- package/dist/esm/ui/TouchHand/index.js +1 -0
- package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.d.ts +23 -0
- package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.js +1 -0
- package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.stories.d.ts +5 -0
- package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.stories.js +1 -0
- package/dist/esm/ui/WayfindingFloorSelector/index.d.ts +3 -0
- package/dist/esm/ui/WayfindingFloorSelector/index.js +1 -0
- package/package.json +3 -3
- package/dist/browser/CookieConsent-l5gCtFOx.js +0 -8234
- package/dist/esm/components/Alert.js +0 -1
- package/dist/esm/components/Button.js +0 -1
- package/dist/esm/components/Checkbox.d.ts +0 -13
- package/dist/esm/components/Checkbox.js +0 -1
- package/dist/esm/components/CheckboxButton.d.ts +0 -11
- package/dist/esm/components/CheckboxButton.js +0 -1
- package/dist/esm/components/HighlightText.d.ts +0 -6
- package/dist/esm/components/HighlightText.js +0 -1
- package/dist/esm/components/LayersLoading.d.ts +0 -9
- package/dist/esm/components/LayersLoading.js +0 -1
- package/dist/esm/components/Radio.d.ts +0 -12
- package/dist/esm/components/Radio.js +0 -1
- package/dist/esm/components/ToggleButton.d.ts +0 -11
- package/dist/esm/components/ToggleButton.js +0 -1
- package/dist/esm/components/ToggleSwitch.d.ts +0 -12
- package/dist/esm/components/ToggleSwitch.js +0 -1
- package/dist/esm/components/TouchHand.d.ts +0 -4
- package/dist/esm/components/TouchHand.js +0 -1
- package/dist/esm/components/WayfindingFloorSelector.d.ts +0 -21
- package/dist/esm/components/WayfindingFloorSelector.js +0 -1
- package/dist/esm/components/stories/Alert.stories.js +0 -1
- package/dist/esm/components/stories/Badge.stories.d.ts +0 -5
- package/dist/esm/components/stories/Badge.stories.js +0 -1
- package/dist/esm/components/stories/Button.stories.d.ts +0 -5
- package/dist/esm/components/stories/Button.stories.js +0 -1
- package/dist/esm/components/stories/Checkbox.stories.d.ts +0 -5
- package/dist/esm/components/stories/Checkbox.stories.js +0 -1
- package/dist/esm/components/stories/CheckboxButton.stories.js +0 -1
- package/dist/esm/components/stories/Loading.stories.d.ts +0 -5
- package/dist/esm/components/stories/Loading.stories.js +0 -1
- package/dist/esm/components/stories/Modal.storiesss.d.ts +0 -5
- package/dist/esm/components/stories/Modal.storiesss.js +0 -1
- package/dist/esm/components/stories/Radio.stories.d.ts +0 -10
- package/dist/esm/components/stories/Radio.stories.js +0 -1
- package/dist/esm/components/stories/Share.storiesSS.d.ts +0 -5
- package/dist/esm/components/stories/Share.storiesSS.js +0 -1
- package/dist/esm/components/stories/ToggleButton.stories.d.ts +0 -5
- package/dist/esm/components/stories/ToggleButton.stories.js +0 -1
- package/dist/esm/components/stories/ToggleSwitch.stories.d.ts +0 -5
- package/dist/esm/components/stories/ToggleSwitch.stories.js +0 -1
- package/dist/esm/components/stories/TouchHand.stories.d.ts +0 -5
- package/dist/esm/components/stories/TouchHand.stories.js +0 -1
- package/dist/esm/components/stories/WayInformation.storiesss.d.ts +0 -5
- package/dist/esm/components/stories/WayfindingFloorSelector.storiesss.d.ts +0 -5
- package/dist/esm/components/stories/WayfindingFloorSelector.storiesss.js +0 -1
- package/dist/esm/components/stories/WayfindingTemplate.storiesss.d.ts +0 -5
- package/dist/esm/components/stories/WayfindingTemplate.storiesss.js +0 -1
- /package/dist/esm/components/stories/{WayInformation.storiesss.js → WayInformation.stories.js} +0 -0
- /package/dist/esm/{components → ui/Badge}/Badge.js +0 -0
|
@@ -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.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.14" };
|
|
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] = "02d0d71c-f344-415c-a64f-61a7a6160f3a", e._sentryDebugIdIdentifier = "sentry-dbid-02d0d71c-f344-415c-a64f-61a7a6160f3a");
|
|
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
|
|
16
|
-
import { t as
|
|
17
|
-
import { C as
|
|
18
|
-
import {
|
|
9
|
+
import { r as e } from "./rolldown-runtime-DB8Ddt08.js";
|
|
10
|
+
import { t } from "./react-C3o_QT06.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-B2BgIlMm.js";
|
|
12
|
+
import { t as r } from "./browser-vqeti97Y.js";
|
|
13
|
+
import { U as i, W as a, g as o, n as s, q as c, r as l } from "./i18n-BOl9oxrx.js";
|
|
14
|
+
import { a as u, i as d, n as f, r as p, t as ee } from "./floorplan.loader-CMXBnLtZ.js";
|
|
15
|
+
import { C as m, D as te, Q as ne, i as re, mt as h, n as ie, w as ae } from "./exports-BRRDMtlG.js";
|
|
16
|
+
import { t as oe } from "./client-pnzfy6PK.js";
|
|
17
|
+
import { C as se, M as g, N as _, P as v, Rn as y, S as ce, Yn as b, _ as le, at as x, b as ue, dt as de, et as fe, ft as pe, h as me, it as he, o as S, p as ge, st as C, v as _e, x as ve } from "./store-CQE29UCE.js";
|
|
18
|
+
import { t as ye } from "./components-DVzc3v5I.js";
|
|
19
19
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
|
|
20
20
|
function be(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 && h.error("[showReportDialog] Global document not defined");
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
26
|
-
let r =
|
|
26
|
+
let r = ae(), i = m(), a = i == null ? void 0 : i.getDsn();
|
|
27
27
|
if (!a) {
|
|
28
|
-
f &&
|
|
28
|
+
f && h.error("[showReportDialog] DSN not configured");
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
31
|
let o = {
|
|
@@ -34,7 +34,7 @@ function be(e = {}) {
|
|
|
34
34
|
...r.getUser(),
|
|
35
35
|
...e.user
|
|
36
36
|
},
|
|
37
|
-
eventId: e.eventId ||
|
|
37
|
+
eventId: e.eventId || re()
|
|
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 Se(e, t) {
|
|
|
68
68
|
r(e, t);
|
|
69
69
|
}
|
|
70
70
|
function Ce(e, { componentStack: t }, n) {
|
|
71
|
-
if (xe(w.version) &&
|
|
71
|
+
if (xe(w.version) && ne(e) && t) {
|
|
72
72
|
let n = Error(e.message);
|
|
73
73
|
n.name = `React ErrorBoundary ${e.name}`, n.stack = t, Se(e, n);
|
|
74
74
|
}
|
|
75
|
-
return
|
|
75
|
+
return te((r) => (r.setContext("react", { componentStack: t }), ie(e, n)));
|
|
76
76
|
}
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region ../../node_modules/.pnpm/@sentry+react@10.52.0_react@19.2.6/node_modules/@sentry/react/build/esm/debug-build.js
|
|
@@ -83,7 +83,7 @@ var we = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, T = {
|
|
|
83
83
|
}, Te = class extends w.Component {
|
|
84
84
|
constructor(e) {
|
|
85
85
|
super(e), this.state = T, this._openFallbackReportDialog = !0;
|
|
86
|
-
let t =
|
|
86
|
+
let t = m();
|
|
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 && be({
|
|
89
89
|
...e.dialogOptions,
|
|
@@ -93,7 +93,7 @@ var we = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, T = {
|
|
|
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
|
+
te((s) => {
|
|
97
97
|
r && r(s, e, n);
|
|
98
98
|
let c = Ce(e, t, { mechanism: {
|
|
99
99
|
handled: this.props.handled == null ? !!this.props.fallback : this.props.handled,
|
|
@@ -130,9 +130,9 @@ var we = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, T = {
|
|
|
130
130
|
resetError: () => this.resetErrorBoundary(),
|
|
131
131
|
eventId: n.eventId
|
|
132
132
|
}) : e;
|
|
133
|
-
return w.isValidElement(r) ? r : (e && we &&
|
|
133
|
+
return w.isValidElement(r) ? r : (e && we && h.warn("fallback did not produce a valid ReactElement"), null);
|
|
134
134
|
}
|
|
135
|
-
}, Ee =
|
|
135
|
+
}, Ee = oe(), De = pe();
|
|
136
136
|
function Oe() {
|
|
137
137
|
E("floorplan"), E("__data"), E("__dataUrlBase"), E("__searchi"), E("__wfData"), E("__mobxGlobals"), E("__store"), E("__mobxInstanceCount");
|
|
138
138
|
for (let e in window) e !== "__efpStyleElements" && (e.includes("__fp") || e.includes("__efp")) && E(e);
|
|
@@ -193,7 +193,7 @@ function D(e) {
|
|
|
193
193
|
entity: e.entity,
|
|
194
194
|
isEnded: e.isEnded
|
|
195
195
|
};
|
|
196
|
-
case
|
|
196
|
+
case i: return {
|
|
197
197
|
id: e.id,
|
|
198
198
|
name: k(e.name),
|
|
199
199
|
entity: e.entity
|
|
@@ -354,7 +354,7 @@ function Ie(...e) {
|
|
|
354
354
|
}
|
|
355
355
|
//#endregion
|
|
356
356
|
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.js
|
|
357
|
-
var
|
|
357
|
+
var Le = (e, t) => {
|
|
358
358
|
e.name = "$ZodError", Object.defineProperty(e, "_zod", {
|
|
359
359
|
value: e._zod,
|
|
360
360
|
enumerable: !1
|
|
@@ -365,7 +365,7 @@ var H = (e, t) => {
|
|
|
365
365
|
value: () => e.message,
|
|
366
366
|
enumerable: !1
|
|
367
367
|
});
|
|
368
|
-
},
|
|
368
|
+
}, Re = A("$ZodError", Le), H = A("$ZodError", Le, { Parent: Error }), ze = /* @__PURE__ */ ((e) => (t, n, r, i) => {
|
|
369
369
|
let a = r ? Object.assign(r, { async: !1 }) : { async: !1 }, o = t._zod.run({
|
|
370
370
|
value: n,
|
|
371
371
|
issues: []
|
|
@@ -377,7 +377,7 @@ var H = (e, t) => {
|
|
|
377
377
|
throw I(t, i == null ? void 0 : i.callee), t;
|
|
378
378
|
}
|
|
379
379
|
return o.value;
|
|
380
|
-
})(
|
|
380
|
+
})(H), Be = /* @__PURE__ */ ((e) => async (t, n, r, i) => {
|
|
381
381
|
let a = r ? Object.assign(r, { async: !0 }) : { async: !0 }, o = t._zod.run({
|
|
382
382
|
value: n,
|
|
383
383
|
issues: []
|
|
@@ -388,7 +388,7 @@ var H = (e, t) => {
|
|
|
388
388
|
throw I(t, i == null ? void 0 : i.callee), t;
|
|
389
389
|
}
|
|
390
390
|
return o.value;
|
|
391
|
-
})(
|
|
391
|
+
})(H), Ve = /* @__PURE__ */ ((e) => (t, n, r) => {
|
|
392
392
|
let i = r ? {
|
|
393
393
|
...r,
|
|
394
394
|
async: !1
|
|
@@ -399,12 +399,12 @@ var H = (e, t) => {
|
|
|
399
399
|
if (a instanceof Promise) throw new j();
|
|
400
400
|
return a.issues.length ? {
|
|
401
401
|
success: !1,
|
|
402
|
-
error: new (e == null ?
|
|
402
|
+
error: new (e == null ? Re : e)(a.issues.map((e) => V(e, i, N())))
|
|
403
403
|
} : {
|
|
404
404
|
success: !0,
|
|
405
405
|
data: a.value
|
|
406
406
|
};
|
|
407
|
-
})(
|
|
407
|
+
})(H), 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 H = (e, t) => {
|
|
|
416
416
|
success: !0,
|
|
417
417
|
data: a.value
|
|
418
418
|
};
|
|
419
|
-
})(
|
|
419
|
+
})(H), 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__ */ A("$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__ */ A("$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);
|
|
@@ -491,10 +491,10 @@ var H = (e, t) => {
|
|
|
491
491
|
validate: (t) => {
|
|
492
492
|
try {
|
|
493
493
|
var n;
|
|
494
|
-
let r =
|
|
494
|
+
let r = Ve(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 H = (e, t) => {
|
|
|
503
503
|
vendor: "zod",
|
|
504
504
|
version: 1
|
|
505
505
|
}));
|
|
506
|
-
}),
|
|
506
|
+
}), qe = /* @__PURE__ */ A("$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 H = (e, t) => {
|
|
|
516
516
|
inst: e
|
|
517
517
|
}), n;
|
|
518
518
|
};
|
|
519
|
-
}),
|
|
519
|
+
}), Je = /* @__PURE__ */ A("$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 H = (e, t) => {
|
|
|
533
533
|
...a ? { received: a } : {}
|
|
534
534
|
}), n;
|
|
535
535
|
};
|
|
536
|
-
}),
|
|
537
|
-
|
|
536
|
+
}), Ye = /* @__PURE__ */ A("$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(...z(n, e.issues)), t.value[n] = e.value;
|
|
546
546
|
}
|
|
547
|
-
var
|
|
548
|
-
|
|
547
|
+
var Ze = /* @__PURE__ */ A("$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__ */ A("$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(...z(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__ */ A("$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__ */ A("$ZodObject", (e, t) => {
|
|
|
618
618
|
return Object.defineProperty(t, "shape", { value: n }), n;
|
|
619
619
|
} });
|
|
620
620
|
}
|
|
621
|
-
let r = je(() =>
|
|
621
|
+
let r = je(() => Qe(t));
|
|
622
622
|
F(e._zod, "propValues", () => {
|
|
623
623
|
let e = t.shape, n = {};
|
|
624
624
|
for (let t in e) {
|
|
@@ -647,36 +647,36 @@ var $e = /* @__PURE__ */ A("$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__ */ A("$ZodOptional", (e, t) => {
|
|
662
|
+
U.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", F(e._zod, "values", () => t.innerType._zod.values ? new Set([...t.innerType._zod.values, void 0]) : void 0), F(e._zod, "pattern", () => {
|
|
663
663
|
let e = t.innerType._zod.pattern;
|
|
664
664
|
return e ? RegExp(`^(${Me(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__ */ A("$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
|
...L(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
|
...L(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__ */ A("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) => ze(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => Ve(e, t, n), e.parseAsync = async (t, n) => Be(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__ */ A("ZodMiniType", (e, t) => {
|
|
|
737
737
|
} } : e)]
|
|
738
738
|
}, { parent: !0 });
|
|
739
739
|
}, e.with = e.check, e.clone = (t, n) => Pe(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__ */ A("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__ */ A("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__ */ A("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__ */ A("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
|
...L(t)
|
|
770
770
|
});
|
|
771
771
|
}
|
|
772
|
-
var
|
|
773
|
-
|
|
772
|
+
var gt = /* @__PURE__ */ A("ZodMiniObject", (e, t) => {
|
|
773
|
+
et.init(e, t), G.init(e, t), F(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
|
...L(t)
|
|
782
782
|
});
|
|
783
783
|
}
|
|
784
|
-
var
|
|
785
|
-
|
|
784
|
+
var _t = /* @__PURE__ */ A("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__ */ A("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")), wt = /* @__PURE__ */ J(/* @__PURE__ */ q({ padding: /* @__PURE__ */ J(/* @__PURE__ */ K()) })), Tt = /* @__PURE__ */ e(r(), 1), Y = n(), X = (0, Tt.default)("efp:api");
|
|
819
819
|
(0, De.install)();
|
|
820
|
-
var
|
|
820
|
+
var Et = 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 || se(this.offHistory), ue("load"), S.fp = this, _e(this.allowConsent), le(ge.Load, ""), this.root = (0, Ee.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, Y.jsx)(Te, { children: /* @__PURE__ */ (0, Y.jsx)(ye, {
|
|
826
826
|
offHistory: this.offHistory,
|
|
827
827
|
allowConsent: this.allowConsent
|
|
828
|
-
}) })),
|
|
829
|
-
if (this.resolveReady(), !
|
|
828
|
+
}) })), le(ge.Rendered, ""), o(() => S.layerStore.layersLoaded, () => {
|
|
829
|
+
if (this.resolveReady(), !S.initialized) {
|
|
830
830
|
var e;
|
|
831
831
|
(e = this.onInit) == null || e.call(this, this);
|
|
832
832
|
}
|
|
833
|
-
|
|
833
|
+
S.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 = S.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
842
|
+
S.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
|
+
S.uiState.menu = !1, S.searchStore.resetSearchBox(), S.uiState.details = null;
|
|
851
851
|
return;
|
|
852
852
|
}
|
|
853
|
-
let t =
|
|
853
|
+
let t = S.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
|
+
S.selectExhibitor(t[0]), S.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
|
+
S.layerStore.updateVisibility(r, !0), S.uiState.menu = !1, S.searchStore.resetSearchBox(), S.uiState.details = null, S.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
|
+
}, S.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"), S.boothStore.highlightedByExternalIds = [], S.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"), S.exhibitorStore.highlightedByExternalIds = [], S.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 } = v(e);
|
|
882
|
+
S.boothStore.highlightedByExternalIds = [...t], S.exhibitorStore.highlightedByExternalIds = [...n];
|
|
883
883
|
}
|
|
884
884
|
selectRoute(e, t) {
|
|
885
885
|
if (Array.isArray(e)) {
|
|
@@ -889,15 +889,15 @@ 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
|
+
S.routeStore.selectRoute(new g(Z(n), Z(r), t.map(Z)));
|
|
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"), S.routeStore.selectRoute(new g(Z(e), Z(t)));
|
|
896
896
|
}
|
|
897
897
|
getOptimizedRoutes(e) {
|
|
898
898
|
if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
|
|
899
899
|
if (e.length > 8) throw Error("The maximum number of waypoints is 8.");
|
|
900
|
-
let t = e.map(
|
|
900
|
+
let t = e.map(Z).filter((e) => !!e);
|
|
901
901
|
if (!t.length) throw Error("No booths found for the provided waypoints.");
|
|
902
902
|
let n = /* @__PURE__ */ new Map();
|
|
903
903
|
for (let e of t) {
|
|
@@ -905,7 +905,7 @@ 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: fe(e.map((e) => [e.name, {
|
|
909
909
|
cx: e.rect.cx,
|
|
910
910
|
cy: e.rect.cy
|
|
911
911
|
}])) }));
|
|
@@ -913,11 +913,11 @@ var Tt = class extends ee {
|
|
|
913
913
|
selectCurrentPosition(e, t, n) {
|
|
914
914
|
var r;
|
|
915
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"),
|
|
916
|
+
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), S.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 = S.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 = y("bookmarked"), i = {
|
|
940
940
|
exhibitor: {
|
|
941
941
|
existingIds: new Set(r.exhibitors || []),
|
|
942
|
-
finder: (e) =>
|
|
943
|
-
replacer: (e) =>
|
|
942
|
+
finder: (e) => S.exhibitorStore.findExhibitor(e),
|
|
943
|
+
replacer: (e) => S.exhibitorStore.replaceBookmarked(e)
|
|
944
944
|
},
|
|
945
945
|
event: {
|
|
946
946
|
existingIds: new Set(r.events || []),
|
|
947
|
-
finder: (e) =>
|
|
948
|
-
replacer: (e) =>
|
|
947
|
+
finder: (e) => S.eventStore.findByNameOrSlug(e),
|
|
948
|
+
replacer: (e) => S.eventStore.replaceBookmarked(e)
|
|
949
949
|
},
|
|
950
950
|
speaker: {
|
|
951
951
|
existingIds: new Set(r.speakers || []),
|
|
952
|
-
finder: (e) =>
|
|
953
|
-
replacer: (e) =>
|
|
952
|
+
finder: (e) => S.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
|
|
953
|
+
replacer: (e) => S.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 = S.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) => S.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 = y("visited"), i = {
|
|
982
982
|
exhibitor: {
|
|
983
983
|
existingIds: new Set(r.exhibitors || []),
|
|
984
|
-
finder: (e) =>
|
|
985
|
-
replacer: (e) =>
|
|
984
|
+
finder: (e) => S.exhibitorStore.findExhibitor(e),
|
|
985
|
+
replacer: (e) => S.exhibitorStore.replaceVisited(e)
|
|
986
986
|
},
|
|
987
987
|
event: {
|
|
988
988
|
existingIds: new Set(r.events || []),
|
|
989
|
-
finder: (e) =>
|
|
990
|
-
replacer: (e) =>
|
|
989
|
+
finder: (e) => S.eventStore.findByNameOrSlug(e),
|
|
990
|
+
replacer: (e) => S.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
|
+
S.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"), S.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"), S.uiState.debugCircles = e;
|
|
1012
1012
|
}
|
|
1013
1013
|
checkRoutes() {
|
|
1014
|
-
|
|
1014
|
+
S.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"), S.layerStore.updateVisibility(e, t);
|
|
1018
1018
|
}
|
|
1019
1019
|
getCenterCoordinates() {
|
|
1020
|
-
return
|
|
1020
|
+
return S.fp.getCenterCoordinates();
|
|
1021
1021
|
}
|
|
1022
1022
|
exhibitorsList() {
|
|
1023
|
-
return
|
|
1023
|
+
return S.exhibitorStore.exhibitors.map((e) => D(e));
|
|
1024
1024
|
}
|
|
1025
1025
|
boothsList() {
|
|
1026
|
-
return
|
|
1026
|
+
return S.boothStore.booths.map((e) => D(e));
|
|
1027
1027
|
}
|
|
1028
1028
|
categoriesList() {
|
|
1029
|
-
return
|
|
1029
|
+
return S.categoryStore.categories.map((e) => D(e));
|
|
1030
1030
|
}
|
|
1031
1031
|
selectCategory(e) {
|
|
1032
1032
|
if (e == null || typeof e != "string") {
|
|
1033
|
-
|
|
1033
|
+
S.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 = S.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
|
+
S.selectCategory(n);
|
|
1042
1042
|
}
|
|
1043
1043
|
applyParameters(e) {
|
|
1044
1044
|
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), ve(e);
|
|
1045
1045
|
}
|
|
1046
1046
|
getVisibility() {
|
|
1047
|
-
return
|
|
1047
|
+
return S.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"), S.uiState.setVisibility(e);
|
|
1051
1051
|
}
|
|
1052
1052
|
findLocation() {
|
|
1053
|
-
|
|
1053
|
+
S.routeStore.findLocation();
|
|
1054
1054
|
}
|
|
1055
1055
|
zoomIn() {
|
|
1056
|
-
|
|
1056
|
+
S.uiState.zoomIn();
|
|
1057
1057
|
}
|
|
1058
1058
|
zoomOut() {
|
|
1059
|
-
|
|
1059
|
+
S.uiState.zoomOut();
|
|
1060
1060
|
}
|
|
1061
1061
|
switchView() {
|
|
1062
|
-
|
|
1062
|
+
S.mapboxStore.activateMapbox();
|
|
1063
1063
|
}
|
|
1064
1064
|
zoomTo(e, t) {
|
|
1065
|
-
|
|
1066
|
-
let n =
|
|
1065
|
+
X("zoomTo called with selectors=%O options=%O", e, t);
|
|
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 = wt.safeParse(t);
|
|
1072
1072
|
if (!r.success) {
|
|
1073
1073
|
$("zoomTo", r.error.message, "EFP001601");
|
|
1074
1074
|
return;
|
|
@@ -1078,8 +1078,8 @@ var Tt = class extends ee {
|
|
|
1078
1078
|
}
|
|
1079
1079
|
getBounds(e) {
|
|
1080
1080
|
var t, n;
|
|
1081
|
-
|
|
1082
|
-
let r =
|
|
1081
|
+
X("getBounds called with selectors=%O", e);
|
|
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 = S.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = S.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 = S.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = S.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,
|
|
@@ -1108,16 +1108,16 @@ var Tt = class extends ee {
|
|
|
1108
1108
|
};
|
|
1109
1109
|
}
|
|
1110
1110
|
fitBounds(e, t) {
|
|
1111
|
-
if (
|
|
1112
|
-
|
|
1111
|
+
if (X("fitBounds called with bounds=%O options=%O", e, t), !e) {
|
|
1112
|
+
S.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 = wt.safeParse(t);
|
|
1121
1121
|
if (!r.success) {
|
|
1122
1122
|
$("fitBounds", r.error.message, "EFP001501");
|
|
1123
1123
|
return;
|
|
@@ -1125,9 +1125,9 @@ 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
|
+
S.uiState.moveToRect = i;
|
|
1131
1131
|
}
|
|
1132
1132
|
getBoothRect(e) {
|
|
1133
1133
|
var t;
|
|
@@ -1135,7 +1135,7 @@ var Tt = class extends ee {
|
|
|
1135
1135
|
}
|
|
1136
1136
|
convertToGeo(e, t) {
|
|
1137
1137
|
var n;
|
|
1138
|
-
if (!(!(
|
|
1138
|
+
if (!(!(C == null || (n = C.properties) == null) && n.config)) {
|
|
1139
1139
|
$("convertToGeo", "The coordinates cannot be converted because the GPS configuration is not defined.", "EFP001000");
|
|
1140
1140
|
return;
|
|
1141
1141
|
}
|
|
@@ -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 he(e, t, C.properties.config);
|
|
1147
1147
|
}
|
|
1148
1148
|
unstable_destroy() {
|
|
1149
1149
|
let e = window.__efpElement.firstChild;
|
|
1150
|
-
Oe(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", u),
|
|
1150
|
+
Oe(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", u), ce(), de(), me(), [...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"), S.fuzzySearchEngineStore.loadEngine().then(() => (S.searchStore.selectSearch(e), S.uiState.fuzzySearchItems.map((e) => ({
|
|
1154
1154
|
item: D(e.item),
|
|
1155
1155
|
score: e.score
|
|
1156
1156
|
}))));
|
|
1157
1157
|
}
|
|
1158
1158
|
getFloors() {
|
|
1159
|
-
return
|
|
1159
|
+
return S.layerStore.floors.map((e) => ({
|
|
1160
1160
|
name: e.name,
|
|
1161
1161
|
shortName: e.shortName,
|
|
1162
1162
|
description: e.description,
|
|
@@ -1194,86 +1194,86 @@ 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(c, e), t != null && t.length) {
|
|
1198
|
+
let { boothExternalIds: e, exhibitorExternalIds: r } = v(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 }), S.layerStore.showPathWay(e), S.uiState.setPathwayOnlyMode(!0);
|
|
1205
|
+
let n = S.layerStore.findLayer(e), r = S.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
|
+
S.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([]), S.layerStore.hidePathways(), S.uiState.setPathwayOnlyMode(!1);
|
|
1214
1214
|
}
|
|
1215
1215
|
showSearch() {
|
|
1216
|
-
|
|
1216
|
+
S.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
|
-
if (!
|
|
1222
|
-
$("changeLanguage", `Language "${e}" was not found. Available languages: ${
|
|
1221
|
+
if (!l(n)) {
|
|
1222
|
+
$("changeLanguage", `Language "${e}" was not found. Available languages: ${s().map((e) => e.id).join(",")}`, "EFP001300");
|
|
1223
1223
|
return;
|
|
1224
1224
|
}
|
|
1225
1225
|
let r = new URLSearchParams();
|
|
1226
|
-
r.set(
|
|
1226
|
+
r.set(a, n), this.applyParameters(r.toString());
|
|
1227
1227
|
}
|
|
1228
1228
|
isGpsTrackingEnabled() {
|
|
1229
|
-
return
|
|
1229
|
+
return S.routeStore.gpsEnabled;
|
|
1230
1230
|
}
|
|
1231
1231
|
setGpsTrackingEnabled(e) {
|
|
1232
|
-
|
|
1232
|
+
S.routeStore.setGpsTrackingEnabled(e);
|
|
1233
1233
|
}
|
|
1234
1234
|
deselectCurrentPosition() {
|
|
1235
|
-
|
|
1235
|
+
S.routeStore.selectCurrentPosition(null, !1);
|
|
1236
1236
|
}
|
|
1237
1237
|
deselectRoute() {
|
|
1238
|
-
|
|
1238
|
+
S.routeStore.selectRoute(null), S.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([]), S.uiState.kioskData && S.resetCameraFn) {
|
|
1242
1242
|
var e;
|
|
1243
|
-
(e =
|
|
1243
|
+
(e = S.resetCameraFn) == null || e.call(S);
|
|
1244
1244
|
} else this.fitBounds();
|
|
1245
1245
|
}
|
|
1246
1246
|
selectAccessibleRoute(e) {
|
|
1247
|
-
|
|
1247
|
+
S.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
|
|
1248
1248
|
}
|
|
1249
1249
|
};
|
|
1250
|
-
function
|
|
1251
|
-
return typeof e == "string" ? _(e) :
|
|
1250
|
+
function Z(e) {
|
|
1251
|
+
return typeof e == "string" ? _(e) : S.routeStore.getNearestBooth(e);
|
|
1252
1252
|
}
|
|
1253
|
-
var
|
|
1253
|
+
var Q = 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}`), S.fp.disableRuntimeAlerts) return;
|
|
1257
|
+
S.uiState.setGlobalErrorMessage({
|
|
1258
1258
|
title: r,
|
|
1259
|
-
body: /* @__PURE__ */ (0,
|
|
1259
|
+
body: /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [
|
|
1260
1260
|
i,
|
|
1261
1261
|
" ",
|
|
1262
|
-
/* @__PURE__ */ (0,
|
|
1262
|
+
/* @__PURE__ */ (0, Y.jsx)("a", {
|
|
1263
1263
|
href: a,
|
|
1264
1264
|
target: "_blank",
|
|
1265
1265
|
rel: "noreferrer",
|
|
1266
1266
|
children: a
|
|
1267
1267
|
})
|
|
1268
1268
|
] })
|
|
1269
|
-
}), clearTimeout(
|
|
1269
|
+
}), clearTimeout(Q);
|
|
1270
1270
|
let o = 8e3;
|
|
1271
|
-
|
|
1271
|
+
Q = window.setTimeout(() => {
|
|
1272
1272
|
let e = async () => {
|
|
1273
|
-
|
|
1273
|
+
S.uiState.globalErrorMessages.length > 0 && (S.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
|
|
1274
1274
|
};
|
|
1275
1275
|
e();
|
|
1276
1276
|
}, o);
|
|
1277
1277
|
}
|
|
1278
1278
|
//#endregion
|
|
1279
|
-
export {
|
|
1279
|
+
export { Et as default };
|