@expofp/floorplan 3.3.7 → 3.3.8
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-DhAS93Nm.js +38 -0
- package/dist/browser/{Debug-A2TjoZQK.js → Debug-DciNEVl6.js} +7 -7
- package/dist/browser/{Demo-iK72mOgP.js → Demo-Dh3K6IRU.js} +11 -11
- package/dist/browser/{Free-BcbAZA3y.js → Free-BHUzZwj9.js} +11 -11
- package/dist/browser/{Gallery-U-ldyITy.js → Gallery-C0nPxxJB.js} +10 -10
- package/dist/browser/{GpsLoader-DqPTky-0.js → GpsLoader-De8VPIEW.js} +32 -33
- package/dist/browser/{KioskStore-DIKp1HfX.js → KioskStore-D1jnGTbv.js} +17 -17
- package/dist/browser/{Mapbox-ChPNLhVw.js → Mapbox-CzVyYzjj.js} +11 -11
- package/dist/browser/{Modal-BLjdiYfi.js → Modal-D8kuOldj.js} +10 -10
- package/dist/browser/PermissionNotice-v9vhrWnr.js +54 -0
- package/dist/browser/{SetKioskMode-CIDQnVVK.js → SetKioskMode-D2cDGv9V.js} +17 -17
- package/dist/browser/ShowKiosk-DjrDUQUM.js +26 -0
- package/dist/browser/{ThreeComponent-CtqPjAlQ.js → ThreeComponent-CUKVDY94.js} +176 -176
- package/dist/browser/{TouchHand-4OAXEmLA.js → TouchHand-hrkQyTE4.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-BFEwT9oC.js → ViewerMenuPanel-BVfEToAO.js} +17 -17
- package/dist/browser/{add-debug-secret-listener-B2ugeAcj.js → add-debug-secret-listener-CdWQ5IqR.js} +1 -1
- package/dist/browser/{boolean-editor-Cc1GCvQj.js → boolean-editor-D24_ATfB.js} +10 -10
- package/dist/browser/{bootIntercom-BVGw_SpO.js → bootIntercom-DSRi4yws.js} +2 -2
- package/dist/browser/{box-CaErtqkj.js → box-BXDPYk7M.js} +5 -5
- package/dist/browser/{browser-_paBhqQW.js → browser-Dk-lVBqy.js} +2 -2
- package/dist/browser/bundle.json +61 -58
- package/dist/browser/{classnames-CVk0A91C.js → classnames-DNY5NR54.js} +2 -2
- package/dist/browser/{client-B70Nbh5h.js → client-CWN096Nx.js} +4 -4
- package/dist/browser/{components-XkvqySvZ.js → components-D9o158HA.js} +868 -883
- package/dist/browser/{data-DshpY4Eh.js → data-ZH4_sxkL.js} +44 -44
- package/dist/browser/{debug-overlay-CyYqgTdj.js → debug-overlay-DQG-UfZv.js} +11 -11
- package/dist/browser/{debug-ui-D9A6yzed.js → debug-ui-yYN-_8G_.js} +6 -6
- package/dist/browser/{dist-BrWnw-Ri.js → dist-7_sOACbd.js} +5 -5
- package/dist/browser/{dist-BPljQLT7.js → dist-CAs4SFEJ.js} +3 -3
- package/dist/browser/{dist-BUD3zJ9Z.js → dist-uPMox8hh.js} +6 -6
- package/dist/browser/{efp-debug-init-CL7ckXKd.js → efp-debug-init-Dwp-psKk.js} +2 -2
- package/dist/browser/{enum-editor-Djt6vsG1.js → enum-editor-PV_iv0tr.js} +11 -11
- package/dist/browser/{event-not-found-CAUywrB2.js → event-not-found-BjBg31r7.js} +1 -1
- package/dist/browser/{exports-D5aj-cpr.js → exports-lMrT2XbM.js} +1 -1
- package/dist/browser/{favicon-B3ilFIzN.js → favicon-qwrv2N2K.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CC6nRZde.js → fetch-retry.umd-D_06P7tx.js} +2 -2
- package/dist/browser/{flex-SCSgjwpS.js → flex-DMyWG2k5.js} +6 -6
- package/dist/browser/{flex.props-DM7y21yG.js → flex.props-DJYmgUbO.js} +2 -2
- package/dist/browser/{floorplan.loader-BmVUKCxN.js → floorplan.loader-CkEu28br.js} +11 -11
- package/dist/browser/{floorplan.ready-da1pQZ1-.js → floorplan.ready-CL42thhp.js} +248 -248
- package/dist/browser/{fuse-DY6Kjf36.js → fuse-BrJpK9Lv.js} +2 -2
- package/dist/browser/{i18n-1-u98ly9.js → i18n-ST-5I_Xd.js} +3 -3
- package/dist/browser/index.js +12 -12
- package/dist/browser/{jsx-runtime-BESB6cP1.js → jsx-runtime-z-VgZsNI.js} +2 -2
- package/dist/browser/{lib-BhhCH6-T.js → lib-resthkmx.js} +4 -4
- package/dist/browser/{main-D2NmCv2H.js → main-BOaUt8eX.js} +1 -1
- package/dist/browser/{mobx-Cfh5Vfk6.js → mobx-BGVJo_6r.js} +4 -4
- package/dist/browser/{particles.min-B5qlVBuL.js → particles.min-D3-LD_RC.js} +2 -2
- package/dist/browser/{prop-types-DZ8VfWUb.js → prop-types-xS5Y65WT.js} +2 -2
- package/dist/browser/{react-cXsgFw41.js → react-CDDaD-I1.js} +2 -2
- package/dist/browser/{react-dom-l5Q31Wma.js → react-dom-B1aPQ40g.js} +3 -3
- package/dist/browser/{reset-all-settings-B6K1EwXP.js → reset-all-settings-DHgz1Ud7.js} +7 -7
- package/dist/browser/{rolldown-runtime-hPqAdzN2.js → rolldown-runtime-Bb8iYlSJ.js} +1 -1
- package/dist/browser/{settings-BZyvLLph.js → settings-BD9hHBVE.js} +2 -2
- package/dist/browser/{settings-item-zDeA5cv4.js → settings-item-BMJ0aBEh.js} +6 -6
- package/dist/browser/{storage-CneO9F9t.js → storage-B0mOBJql.js} +2 -2
- package/dist/browser/{store-CQphSXxk.js → store-Dyrv6nnP.js} +685 -696
- package/dist/browser/{string-editor-BJn1AFSw.js → string-editor-DoAiUhFX.js} +8 -8
- package/dist/browser/{theme-DoAOOaRE.js → theme-7rduvM4D.js} +8 -8
- package/dist/browser/{ui-DNF4wGZh.js → ui-CgRQk7e0.js} +8 -8
- package/dist/browser/{useRenderTarget-BYpCY_A9.js → useRenderTarget-rq9Hu7Z3.js} +4 -4
- package/dist/esm/components/AlertContainer.d.ts +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/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/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +3 -2
- 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/store/HeatmapStore.js +1 -1
- 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/package.json +3 -3
- package/dist/browser/CookieConsent-DeA-DR4A.js +0 -71
- package/dist/browser/ShowKiosk-CprbVv29.js +0 -26
- 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/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/tools/Color.d.ts +0 -2
- package/dist/esm/tools/Color.js +0 -1
|
@@ -1,29 +1,29 @@
|
|
|
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.3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.3.8" };
|
|
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] = "8ffdf4fe-1d99-4272-aa06-e91f49bb431c", e._sentryDebugIdIdentifier = "sentry-dbid-8ffdf4fe-1d99-4272-aa06-e91f49bb431c");
|
|
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 { U as i, W as a, g as o, n as s, q as c, r as l } from "./i18n-
|
|
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 oe } from "./client-
|
|
17
|
-
import { A as g, C as se,
|
|
18
|
-
import { t as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-Bb8iYlSJ.js";
|
|
10
|
+
import { t } from "./react-CDDaD-I1.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-z-VgZsNI.js";
|
|
12
|
+
import { t as r } from "./browser-Dk-lVBqy.js";
|
|
13
|
+
import { U as i, W as a, g as o, n as s, q as c, r as l } from "./i18n-ST-5I_Xd.js";
|
|
14
|
+
import { a as u, i as d, n as f, r as p, t as ee } from "./floorplan.loader-CkEu28br.js";
|
|
15
|
+
import { C as te, E as ne, S as m, Z as re, i as ie, n as ae, pt as h } from "./exports-lMrT2XbM.js";
|
|
16
|
+
import { t as oe } from "./client-CWN096Nx.js";
|
|
17
|
+
import { A as g, C as se, M as _, Q as ce, Rn as v, S as le, Yn as y, _ as ue, at as b, b as de, h as fe, j as pe, lt as me, nt as he, o as x, p as S, rt as C, ut as ge, v as _e, x as ve } from "./store-Dyrv6nnP.js";
|
|
18
|
+
import { t as ye } from "./components-D9o158HA.js";
|
|
19
19
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.56.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
|
|
20
|
-
function
|
|
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
23
|
f && h.error("[showReportDialog] Global document not defined");
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
26
|
-
let r = te(), i =
|
|
26
|
+
let r = te(), i = m(), a = i == null ? void 0 : i.getDsn();
|
|
27
27
|
if (!a) {
|
|
28
28
|
f && h.error("[showReportDialog] DSN not configured");
|
|
29
29
|
return;
|
|
@@ -52,12 +52,12 @@ function S(e = {}) {
|
|
|
52
52
|
}
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region ../../node_modules/.pnpm/@sentry+react@10.56.0_react@19.2.7/node_modules/@sentry/react/build/esm/error.js
|
|
55
|
-
var
|
|
56
|
-
function
|
|
55
|
+
var w = /* @__PURE__ */ e(t());
|
|
56
|
+
function xe(e) {
|
|
57
57
|
let t = e.match(/^([^.]+)/);
|
|
58
58
|
return t !== null && parseInt(t[0]) >= 17;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function Se(e, t) {
|
|
61
61
|
let n = /* @__PURE__ */ new WeakSet();
|
|
62
62
|
function r(e, t) {
|
|
63
63
|
if (!n.has(e)) {
|
|
@@ -67,25 +67,25 @@ function Ce(e, t) {
|
|
|
67
67
|
}
|
|
68
68
|
r(e, t);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
if (
|
|
70
|
+
function Ce(e, { componentStack: t }, n) {
|
|
71
|
+
if (xe(w.version) && re(e) && t) {
|
|
72
72
|
let n = Error(e.message);
|
|
73
|
-
n.name = `React ErrorBoundary ${e.name}`, n.stack = t,
|
|
73
|
+
n.name = `React ErrorBoundary ${e.name}`, n.stack = t, Se(e, n);
|
|
74
74
|
}
|
|
75
|
-
return
|
|
75
|
+
return ne((r) => (r.setContext("react", { componentStack: t }), ae(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
|
|
79
|
-
var
|
|
79
|
+
var we = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, T = {
|
|
80
80
|
componentStack: null,
|
|
81
81
|
error: null,
|
|
82
82
|
eventId: null
|
|
83
|
-
},
|
|
83
|
+
}, Te = class extends w.Component {
|
|
84
84
|
constructor(e) {
|
|
85
|
-
super(e), this.state =
|
|
86
|
-
let t =
|
|
85
|
+
super(e), this.state = T, this._openFallbackReportDialog = !0;
|
|
86
|
+
let t = m();
|
|
87
87
|
t && e.showDialog && (this._openFallbackReportDialog = !1, this._cleanupHook = t.on("afterSendEvent", (t) => {
|
|
88
|
-
!t.type && this._lastEventId && t.event_id === this._lastEventId &&
|
|
88
|
+
!t.type && this._lastEventId && t.event_id === this._lastEventId && be({
|
|
89
89
|
...e.dialogOptions,
|
|
90
90
|
eventId: this._lastEventId
|
|
91
91
|
});
|
|
@@ -93,13 +93,13 @@ 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
|
-
let c =
|
|
98
|
+
let c = Ce(e, t, { mechanism: {
|
|
99
99
|
handled: this.props.handled == null ? !!this.props.fallback : this.props.handled,
|
|
100
100
|
type: "auto.function.react.error_boundary"
|
|
101
101
|
} });
|
|
102
|
-
i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog &&
|
|
102
|
+
i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog && be({
|
|
103
103
|
...o,
|
|
104
104
|
eventId: c
|
|
105
105
|
})), this.setState({
|
|
@@ -115,92 +115,92 @@ var Te = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, w = {
|
|
|
115
115
|
}
|
|
116
116
|
componentWillUnmount() {
|
|
117
117
|
let { error: e, componentStack: t, eventId: n } = this.state, { onUnmount: r } = this.props;
|
|
118
|
-
r && (this.state ===
|
|
118
|
+
r && (this.state === T ? r(null, null, null) : r(e, t, n)), this._cleanupHook && (this._cleanupHook(), this._cleanupHook = void 0);
|
|
119
119
|
}
|
|
120
120
|
resetErrorBoundary() {
|
|
121
121
|
let { onReset: e } = this.props, { error: t, componentStack: n, eventId: r } = this.state;
|
|
122
|
-
e && e(t, n, r), this.setState(
|
|
122
|
+
e && e(t, n, r), this.setState(T);
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
125
|
let { fallback: e, children: t } = this.props, n = this.state;
|
|
126
126
|
if (n.componentStack === null) return typeof t == "function" ? t() : t;
|
|
127
|
-
let r = typeof e == "function" ?
|
|
127
|
+
let r = typeof e == "function" ? w.createElement(e, {
|
|
128
128
|
error: n.error,
|
|
129
129
|
componentStack: n.componentStack,
|
|
130
130
|
resetError: () => this.resetErrorBoundary(),
|
|
131
131
|
eventId: n.eventId
|
|
132
132
|
}) : e;
|
|
133
|
-
return
|
|
133
|
+
return w.isValidElement(r) ? r : (e && we && h.warn("fallback did not produce a valid ReactElement"), null);
|
|
134
134
|
}
|
|
135
|
-
},
|
|
136
|
-
function
|
|
137
|
-
|
|
138
|
-
for (let e in window) e !== "__efpStyleElements" && (e.includes("__fp") || e.includes("__efp")) &&
|
|
135
|
+
}, Ee = oe(), De = ge();
|
|
136
|
+
function Oe() {
|
|
137
|
+
E("floorplan"), E("__data"), E("__dataUrlBase"), E("__searchi"), E("__wfData"), E("__mobxGlobals"), E("__store"), E("__mobxInstanceCount");
|
|
138
|
+
for (let e in window) e !== "__efpStyleElements" && (e.includes("__fp") || e.includes("__efp")) && E(e);
|
|
139
139
|
}
|
|
140
|
-
function
|
|
141
|
-
|
|
140
|
+
function E(e) {
|
|
141
|
+
ke(e) ? delete window[e] : window[e] = void 0;
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function ke(e) {
|
|
144
144
|
let t = Object.getOwnPropertyDescriptor(window, e);
|
|
145
145
|
return t && t.configurable;
|
|
146
146
|
}
|
|
147
147
|
//#endregion
|
|
148
148
|
//#region src/utils/mapEntity.ts
|
|
149
|
-
function
|
|
149
|
+
function D(e) {
|
|
150
150
|
switch (e.entity.type) {
|
|
151
151
|
case "booth":
|
|
152
152
|
var t, n;
|
|
153
153
|
return {
|
|
154
154
|
id: e.id,
|
|
155
|
-
name:
|
|
156
|
-
externalId:
|
|
155
|
+
name: k(e.name),
|
|
156
|
+
externalId: k(e.externalId),
|
|
157
157
|
isSpecial: e.entity.variant === "special",
|
|
158
|
-
exhibitors:
|
|
158
|
+
exhibitors: O(e.exhibitors),
|
|
159
159
|
layer: {
|
|
160
|
-
name:
|
|
161
|
-
description:
|
|
160
|
+
name: k((t = e.layer) == null ? void 0 : t.name),
|
|
161
|
+
description: k((n = e.layer) == null ? void 0 : n.description)
|
|
162
162
|
},
|
|
163
163
|
meta: e.meta,
|
|
164
|
-
description:
|
|
164
|
+
description: k(e.description),
|
|
165
165
|
entity: e.entity,
|
|
166
|
-
title:
|
|
166
|
+
title: k(e.title)
|
|
167
167
|
};
|
|
168
168
|
case "category": return {
|
|
169
169
|
id: e.id,
|
|
170
|
-
name:
|
|
171
|
-
exhibitors:
|
|
170
|
+
name: k(e.name),
|
|
171
|
+
exhibitors: O(e.exhibitors),
|
|
172
172
|
entity: e.entity,
|
|
173
|
-
slug:
|
|
173
|
+
slug: k(e.slug)
|
|
174
174
|
};
|
|
175
175
|
case "exhibitor": return {
|
|
176
176
|
id: e.id,
|
|
177
|
-
name:
|
|
178
|
-
externalId:
|
|
179
|
-
booths:
|
|
177
|
+
name: k(e.name),
|
|
178
|
+
externalId: k(e.externalId),
|
|
179
|
+
booths: O(e.booths),
|
|
180
180
|
entity: e.entity,
|
|
181
|
-
slug:
|
|
181
|
+
slug: k(e.slug)
|
|
182
182
|
};
|
|
183
183
|
case "schedule": return {
|
|
184
184
|
id: e.id,
|
|
185
|
-
externalId:
|
|
185
|
+
externalId: k(e.externalId),
|
|
186
186
|
boothId: e.boothId,
|
|
187
187
|
exhibitorId: e.exhibitorId,
|
|
188
|
-
name:
|
|
189
|
-
description:
|
|
190
|
-
startDate:
|
|
191
|
-
endDate:
|
|
192
|
-
link:
|
|
188
|
+
name: k(e.name),
|
|
189
|
+
description: k(e.description),
|
|
190
|
+
startDate: k(e.startDate),
|
|
191
|
+
endDate: k(e.endDate),
|
|
192
|
+
link: k(e.link),
|
|
193
193
|
entity: e.entity,
|
|
194
194
|
isEnded: e.isEnded
|
|
195
195
|
};
|
|
196
196
|
case i: return {
|
|
197
197
|
id: e.id,
|
|
198
|
-
name:
|
|
198
|
+
name: k(e.name),
|
|
199
199
|
entity: e.entity
|
|
200
200
|
};
|
|
201
201
|
case "heatmap-yah": return {
|
|
202
|
-
id:
|
|
203
|
-
name:
|
|
202
|
+
id: k(e.id),
|
|
203
|
+
name: k(e.name),
|
|
204
204
|
viewCount: e.viewCount || 0,
|
|
205
205
|
x: e.x || 0,
|
|
206
206
|
y: e.y || 0,
|
|
@@ -210,14 +210,14 @@ function E(e) {
|
|
|
210
210
|
default: return e;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function O(e) {
|
|
214
214
|
return Array.isArray(e) ? e.filter(Boolean).map((e) => e.id).filter(Boolean) : [];
|
|
215
215
|
}
|
|
216
|
-
function
|
|
216
|
+
function k(e) {
|
|
217
217
|
return typeof e == "string" ? e : "";
|
|
218
218
|
}
|
|
219
219
|
Object.freeze({ status: "aborted" });
|
|
220
|
-
function
|
|
220
|
+
function A(e, t, n) {
|
|
221
221
|
var r;
|
|
222
222
|
function i(n, r) {
|
|
223
223
|
if (n._zod || Object.defineProperty(n, "_zod", {
|
|
@@ -250,20 +250,20 @@ function k(e, t, n) {
|
|
|
250
250
|
return n != null && n.Parent && t instanceof n.Parent ? !0 : t == null || (r = t._zod) == null || (r = r.traits) == null ? void 0 : r.has(e);
|
|
251
251
|
} }), Object.defineProperty(s, "name", { value: e }), s;
|
|
252
252
|
}
|
|
253
|
-
var
|
|
253
|
+
var j = class extends Error {
|
|
254
254
|
constructor() {
|
|
255
255
|
super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
|
|
256
256
|
}
|
|
257
|
-
},
|
|
258
|
-
function
|
|
259
|
-
return e && Object.assign(
|
|
257
|
+
}, M = {};
|
|
258
|
+
function N(e) {
|
|
259
|
+
return e && Object.assign(M, e), M;
|
|
260
260
|
}
|
|
261
261
|
//#endregion
|
|
262
262
|
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.js
|
|
263
|
-
function
|
|
263
|
+
function Ae(e, t) {
|
|
264
264
|
return typeof t == "bigint" ? t.toString() : t;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function je(e) {
|
|
267
267
|
return { get value() {
|
|
268
268
|
{
|
|
269
269
|
let t = e();
|
|
@@ -272,16 +272,16 @@ function Ne(e) {
|
|
|
272
272
|
throw Error("cached value already set");
|
|
273
273
|
} };
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function Me(e) {
|
|
276
276
|
let t = +!!e.startsWith("^"), n = e.endsWith("$") ? e.length - 1 : e.length;
|
|
277
277
|
return e.slice(t, n);
|
|
278
278
|
}
|
|
279
|
-
var
|
|
280
|
-
function
|
|
279
|
+
var P = Symbol("evaluating");
|
|
280
|
+
function F(e, t, n) {
|
|
281
281
|
let r;
|
|
282
282
|
Object.defineProperty(e, t, {
|
|
283
283
|
get() {
|
|
284
|
-
if (r !==
|
|
284
|
+
if (r !== P) return r === void 0 && (r = P, r = n()), r;
|
|
285
285
|
},
|
|
286
286
|
set(n) {
|
|
287
287
|
Object.defineProperty(e, t, { value: n });
|
|
@@ -289,15 +289,15 @@ function N(e, t, n) {
|
|
|
289
289
|
configurable: !0
|
|
290
290
|
});
|
|
291
291
|
}
|
|
292
|
-
var
|
|
293
|
-
function
|
|
292
|
+
var I = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {};
|
|
293
|
+
function Ne(e) {
|
|
294
294
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function Pe(e, t, n) {
|
|
297
297
|
let r = new e._zod.constr(t == null ? e._zod.def : t);
|
|
298
298
|
return (!t || n != null && n.parent) && (r._zod.parent = e), r;
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function L(e) {
|
|
301
301
|
let t = e;
|
|
302
302
|
if (!t) return {};
|
|
303
303
|
if (typeof t == "string") return { error: () => t };
|
|
@@ -310,11 +310,11 @@ function F(e) {
|
|
|
310
310
|
error: () => t.error
|
|
311
311
|
} : t;
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function Fe(e) {
|
|
314
314
|
return Object.keys(e).filter((t) => e[t]._zod.optin === "optional" && e[t]._zod.optout === "optional");
|
|
315
315
|
}
|
|
316
316
|
-Number.MAX_VALUE, Number.MAX_VALUE;
|
|
317
|
-
function
|
|
317
|
+
function R(e, t = 0) {
|
|
318
318
|
if (e.aborted === !0) return !0;
|
|
319
319
|
for (let r = t; r < e.issues.length; r++) {
|
|
320
320
|
var n;
|
|
@@ -322,16 +322,16 @@ function I(e, t = 0) {
|
|
|
322
322
|
}
|
|
323
323
|
return !1;
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function z(e, t) {
|
|
326
326
|
return t.map((t) => {
|
|
327
327
|
var n;
|
|
328
328
|
return (n = t).path != null || (n.path = []), t.path.unshift(e), t;
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function B(e) {
|
|
332
332
|
return typeof e == "string" ? e : e == null ? void 0 : e.message;
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function V(e, t, n) {
|
|
335
335
|
var r;
|
|
336
336
|
let i = {
|
|
337
337
|
...e,
|
|
@@ -339,11 +339,11 @@ function z(e, t, n) {
|
|
|
339
339
|
};
|
|
340
340
|
if (!e.message) {
|
|
341
341
|
var a, o, s, c, l, u, d, f, p;
|
|
342
|
-
i.message = (a = (o = (s = (c =
|
|
342
|
+
i.message = (a = (o = (s = (c = B((l = e.inst) == null || (l = l._zod.def) == null || (u = l.error) == null ? void 0 : u.call(l, e))) == null ? B(t == null || (d = t.error) == null ? void 0 : d.call(t, e)) : c) == null ? B((f = n.customError) == null ? void 0 : f.call(n, e)) : s) == null ? B((p = n.localeError) == null ? void 0 : p.call(n, e)) : o) == null ? "Invalid input" : a;
|
|
343
343
|
}
|
|
344
344
|
return delete i.inst, delete i.continue, t != null && t.reportInput || delete i.input, i;
|
|
345
345
|
}
|
|
346
|
-
function
|
|
346
|
+
function Ie(...e) {
|
|
347
347
|
let [t, n, r] = e;
|
|
348
348
|
return typeof t == "string" ? {
|
|
349
349
|
message: t,
|
|
@@ -354,41 +354,41 @@ function Re(...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
|
|
361
361
|
}), Object.defineProperty(e, "issues", {
|
|
362
362
|
value: t,
|
|
363
363
|
enumerable: !1
|
|
364
|
-
}), e.message = JSON.stringify(t,
|
|
364
|
+
}), e.message = JSON.stringify(t, Ae, 2), Object.defineProperty(e, "toString", {
|
|
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: []
|
|
372
372
|
}, a);
|
|
373
|
-
if (o instanceof Promise) throw new
|
|
373
|
+
if (o instanceof Promise) throw new j();
|
|
374
374
|
if (o.issues.length) {
|
|
375
375
|
var s;
|
|
376
|
-
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) =>
|
|
377
|
-
throw
|
|
376
|
+
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) => V(e, a, N())));
|
|
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: []
|
|
384
384
|
}, a);
|
|
385
385
|
if (o instanceof Promise && (o = await o), o.issues.length) {
|
|
386
386
|
var s;
|
|
387
|
-
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) =>
|
|
388
|
-
throw
|
|
387
|
+
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) => V(e, a, N())));
|
|
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
|
|
@@ -396,40 +396,40 @@ var B = (e, t) => {
|
|
|
396
396
|
value: n,
|
|
397
397
|
issues: []
|
|
398
398
|
}, i);
|
|
399
|
-
if (a instanceof Promise) throw new
|
|
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: []
|
|
411
411
|
}, i);
|
|
412
412
|
return a instanceof Promise && (a = await a), a.issues.length ? {
|
|
413
413
|
success: !1,
|
|
414
|
-
error: new e(a.issues.map((e) =>
|
|
414
|
+
error: new e(a.issues.map((e) => V(e, i, N())))
|
|
415
415
|
} : {
|
|
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);
|
|
@@ -440,29 +440,29 @@ var B = (e, t) => {
|
|
|
440
440
|
});
|
|
441
441
|
} else {
|
|
442
442
|
let t = (e, t, n) => {
|
|
443
|
-
let r =
|
|
443
|
+
let r = R(e), i;
|
|
444
444
|
for (let o of t) {
|
|
445
445
|
if (o._zod.def.when) {
|
|
446
446
|
if (!o._zod.def.when(e)) continue;
|
|
447
447
|
} else if (r) continue;
|
|
448
448
|
let t = e.issues.length, s = o._zod.check(e);
|
|
449
|
-
if (s instanceof Promise && (n == null ? void 0 : n.async) === !1) throw new
|
|
449
|
+
if (s instanceof Promise && (n == null ? void 0 : n.async) === !1) throw new j();
|
|
450
450
|
if (i || s instanceof Promise) {
|
|
451
451
|
var a;
|
|
452
452
|
i = ((a = i) == null ? Promise.resolve() : a).then(async () => {
|
|
453
|
-
await s, e.issues.length !== t && (r || (r =
|
|
453
|
+
await s, e.issues.length !== t && (r || (r = R(e, t)));
|
|
454
454
|
});
|
|
455
455
|
} else {
|
|
456
456
|
if (e.issues.length === t) continue;
|
|
457
|
-
r || (r =
|
|
457
|
+
r || (r = R(e, t));
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
return i ? i.then(() => e) : e;
|
|
461
461
|
}, n = (n, r, a) => {
|
|
462
|
-
if (
|
|
462
|
+
if (R(n)) return n.aborted = !0, n;
|
|
463
463
|
let o = t(r, i, a);
|
|
464
464
|
if (o instanceof Promise) {
|
|
465
|
-
if (a.async === !1) throw new
|
|
465
|
+
if (a.async === !1) throw new j();
|
|
466
466
|
return o.then((t) => e._zod.parse(t, a));
|
|
467
467
|
}
|
|
468
468
|
return e._zod.parse(o, a);
|
|
@@ -481,20 +481,20 @@ var B = (e, t) => {
|
|
|
481
481
|
}
|
|
482
482
|
let o = e._zod.parse(r, a);
|
|
483
483
|
if (o instanceof Promise) {
|
|
484
|
-
if (a.async === !1) throw new
|
|
484
|
+
if (a.async === !1) throw new j();
|
|
485
485
|
return o.then((e) => t(e, i, a));
|
|
486
486
|
}
|
|
487
487
|
return t(o, i, a);
|
|
488
488
|
};
|
|
489
489
|
}
|
|
490
|
-
|
|
490
|
+
F(e, "~standard", () => ({
|
|
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 B = (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 B = (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 B = (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
|
|
545
|
-
e.issues.length && t.issues.push(...
|
|
544
|
+
function Xe(e, t, n) {
|
|
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,25 +560,25 @@ 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
|
-
t.issues.push(...
|
|
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;
|
|
579
579
|
if (!(!((n = e.shape) == null || (n = n[r]) == null || (n = n._zod) == null || (n = n.traits) == null) && n.has("$ZodType"))) throw Error(`Invalid element at key "${r}": expected a Zod schema`);
|
|
580
580
|
}
|
|
581
|
-
let r =
|
|
581
|
+
let r = Fe(e.shape);
|
|
582
582
|
return {
|
|
583
583
|
...e,
|
|
584
584
|
keys: t,
|
|
@@ -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,8 +618,8 @@ var $e = /*@__PURE__*/ k("$ZodObject", (e, t) => {
|
|
|
618
618
|
return Object.defineProperty(t, "shape", { value: n }), n;
|
|
619
619
|
} });
|
|
620
620
|
}
|
|
621
|
-
let r =
|
|
622
|
-
|
|
621
|
+
let r = je(() => Qe(t));
|
|
622
|
+
F(e._zod, "propValues", () => {
|
|
623
623
|
let e = t.shape, n = {};
|
|
624
624
|
for (let t in e) {
|
|
625
625
|
let r = e[t]._zod;
|
|
@@ -630,7 +630,7 @@ var $e = /*@__PURE__*/ k("$ZodObject", (e, t) => {
|
|
|
630
630
|
}
|
|
631
631
|
return n;
|
|
632
632
|
});
|
|
633
|
-
let i =
|
|
633
|
+
let i = Ne, a = t.catchall, o;
|
|
634
634
|
e._zod.parse = (t, n) => {
|
|
635
635
|
o != null || (o = r.value);
|
|
636
636
|
let s = t.value;
|
|
@@ -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__*/ 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
|
-
return e ? RegExp(`^(${
|
|
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 = {
|
|
@@ -686,47 +686,47 @@ function rt(e, t, n, r) {
|
|
|
686
686
|
path: [...(i = r._zod.def.path) == null ? [] : i],
|
|
687
687
|
continue: !r._zod.def.abort
|
|
688
688
|
};
|
|
689
|
-
r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(
|
|
689
|
+
r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(Ie(e));
|
|
690
690
|
}
|
|
691
691
|
}
|
|
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: [],
|
|
706
|
-
...
|
|
706
|
+
...L(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",
|
|
721
721
|
fn: t,
|
|
722
|
-
...
|
|
722
|
+
...L(n)
|
|
723
723
|
});
|
|
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,
|
|
@@ -736,96 +736,96 @@ var K = /*@__PURE__*/ k("ZodMiniType", (e, t) => {
|
|
|
736
736
|
onattach: []
|
|
737
737
|
} } : e)]
|
|
738
738
|
}, { parent: !0 });
|
|
739
|
-
}, e.with = e.check, e.clone = (t, n) =>
|
|
740
|
-
}),
|
|
741
|
-
|
|
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
|
+
}), 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__ */
|
|
781
|
-
...
|
|
780
|
+
catchall: /* @__PURE__ */ pt(),
|
|
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")),
|
|
819
|
-
(0,
|
|
820
|
-
var
|
|
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
|
+
(0, De.install)();
|
|
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 || se(this.offHistory), de("load"), x.fp = this,
|
|
825
|
+
this.ignoreQuery || se(this.offHistory), de("load"), x.fp = this, _e(this.allowConsent), ue(S.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
|
-
}) })), ue(
|
|
828
|
+
}) })), ue(S.Rendered, ""), o(() => x.layerStore.layersLoaded, () => {
|
|
829
829
|
if (this.resolveReady(), !x.initialized) {
|
|
830
830
|
var e;
|
|
831
831
|
(e = this.onInit) == null || e.call(this, this);
|
|
@@ -878,7 +878,7 @@ var Tt = class extends ee {
|
|
|
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 } =
|
|
881
|
+
let { boothExternalIds: t, exhibitorExternalIds: n } = _(e);
|
|
882
882
|
x.boothStore.highlightedByExternalIds = [...t], x.exhibitorStore.highlightedByExternalIds = [...n];
|
|
883
883
|
}
|
|
884
884
|
selectRoute(e, t) {
|
|
@@ -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
|
-
x.routeStore.selectRoute(new
|
|
892
|
+
x.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"), x.routeStore.selectRoute(new
|
|
895
|
+
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), x.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,14 +905,14 @@ 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: ce(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 =
|
|
915
|
+
let i = C(e.x) && C(e.y), a = C(e.lng) && C(e.lat);
|
|
916
916
|
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), x.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
|
|
917
917
|
}
|
|
918
918
|
setBookmarks(e) {
|
|
@@ -1020,13 +1020,13 @@ var Tt = class extends ee {
|
|
|
1020
1020
|
return x.fp.getCenterCoordinates();
|
|
1021
1021
|
}
|
|
1022
1022
|
exhibitorsList() {
|
|
1023
|
-
return x.exhibitorStore.exhibitors.map((e) =>
|
|
1023
|
+
return x.exhibitorStore.exhibitors.map((e) => D(e));
|
|
1024
1024
|
}
|
|
1025
1025
|
boothsList() {
|
|
1026
|
-
return x.boothStore.booths.map((e) =>
|
|
1026
|
+
return x.boothStore.booths.map((e) => D(e));
|
|
1027
1027
|
}
|
|
1028
1028
|
categoriesList() {
|
|
1029
|
-
return x.categoryStore.categories.map((e) =>
|
|
1029
|
+
return x.categoryStore.categories.map((e) => D(e));
|
|
1030
1030
|
}
|
|
1031
1031
|
selectCategory(e) {
|
|
1032
1032
|
if (e == null || typeof e != "string") {
|
|
@@ -1041,7 +1041,7 @@ var Tt = class extends ee {
|
|
|
1041
1041
|
x.selectCategory(n);
|
|
1042
1042
|
}
|
|
1043
1043
|
applyParameters(e) {
|
|
1044
|
-
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"),
|
|
1044
|
+
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), ve(e);
|
|
1045
1045
|
}
|
|
1046
1046
|
getVisibility() {
|
|
1047
1047
|
return x.uiState.visibility;
|
|
@@ -1062,13 +1062,13 @@ var Tt = class extends ee {
|
|
|
1062
1062
|
x.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;
|
|
@@ -1095,7 +1095,7 @@ var Tt = class extends ee {
|
|
|
1095
1095
|
e.rect && i.push(e.rect);
|
|
1096
1096
|
});
|
|
1097
1097
|
}), i.length === 0) return;
|
|
1098
|
-
let a =
|
|
1098
|
+
let a = y.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 (
|
|
1111
|
+
if (X("fitBounds called with bounds=%O options=%O", e, t), !e) {
|
|
1112
1112
|
x.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,17 +1125,17 @@ 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 =
|
|
1128
|
+
i = y.fromX1y1x2y2(e.leftTop.x - n, e.leftTop.y - n, e.rightBottom.x + n, e.rightBottom.y + n);
|
|
1129
|
+
} else i = y.fromX1y1x2y2(e.leftTop.x, e.leftTop.y, e.rightBottom.x, e.rightBottom.y);
|
|
1130
1130
|
x.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 = pe(e)) == null ? void 0 : t.rect;
|
|
1135
1135
|
}
|
|
1136
1136
|
convertToGeo(e, t) {
|
|
1137
1137
|
var n;
|
|
1138
|
-
if (!(!(
|
|
1138
|
+
if (!(!(b == null || (n = b.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,15 +1143,15 @@ 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, b.properties.config);
|
|
1147
1147
|
}
|
|
1148
1148
|
unstable_destroy() {
|
|
1149
1149
|
let e = window.__efpElement.firstChild;
|
|
1150
|
-
|
|
1150
|
+
Oe(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", u), le(), me(), fe(), [...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
1153
|
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), x.fuzzySearchEngineStore.loadEngine().then(() => (x.searchStore.selectSearch(e), x.uiState.fuzzySearchItems.map((e) => ({
|
|
1154
|
-
item:
|
|
1154
|
+
item: D(e.item),
|
|
1155
1155
|
score: e.score
|
|
1156
1156
|
}))));
|
|
1157
1157
|
}
|
|
@@ -1195,7 +1195,7 @@ var Tt = class extends ee {
|
|
|
1195
1195
|
showPathway(e, t) {
|
|
1196
1196
|
let n = new URLSearchParams();
|
|
1197
1197
|
if (n.set(c, e), t != null && t.length) {
|
|
1198
|
-
let { boothExternalIds: e, exhibitorExternalIds: r } =
|
|
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());
|
|
@@ -1206,7 +1206,7 @@ var Tt = class extends ee {
|
|
|
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
|
-
x.uiState.moveToRect =
|
|
1209
|
+
x.uiState.moveToRect = y.fromX1y1x2y2(e.x1, e.y1, e.x2, e.y2);
|
|
1210
1210
|
}
|
|
1211
1211
|
}
|
|
1212
1212
|
hidePathways() {
|
|
@@ -1247,28 +1247,28 @@ var Tt = class extends ee {
|
|
|
1247
1247
|
x.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
|
|
1248
1248
|
}
|
|
1249
1249
|
};
|
|
1250
|
-
function
|
|
1251
|
-
return typeof e == "string" ?
|
|
1250
|
+
function Z(e) {
|
|
1251
|
+
return typeof e == "string" ? pe(e) : x.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
1256
|
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), x.fp.disableRuntimeAlerts) return;
|
|
1257
1257
|
x.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
|
x.uiState.globalErrorMessages.length > 0 && (x.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
|
|
1274
1274
|
};
|
|
@@ -1276,4 +1276,4 @@ function $(e, t, n) {
|
|
|
1276
1276
|
}, o);
|
|
1277
1277
|
}
|
|
1278
1278
|
//#endregion
|
|
1279
|
-
export {
|
|
1279
|
+
export { Et as default };
|