@expofp/floorplan 3.0.4 → 3.1.1
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/README.md +8 -0
- package/dist/browser/{CookieConsent-20OSplsa.js → CookieConsent-CDxonlwe.js} +1263 -1261
- package/dist/browser/{Debug-DVY7QSH3.js → Debug-i-1KdTDk.js} +7 -7
- package/dist/browser/{Demo-qAITctPP.js → Demo-CQJkm6mN.js} +11 -11
- package/dist/browser/Free-Cvsndo_8.js +63 -0
- package/dist/browser/{Gallery-BhQo5kwQ.js → Gallery-DqmanL-9.js} +16 -16
- package/dist/browser/{GpsLoader-CiHW2urc.js → GpsLoader-C2C18oPB.js} +21 -21
- package/dist/browser/{KioskStore-CwZLrrqy.js → KioskStore-CTuYNXTK.js} +16 -16
- package/dist/browser/{Mapbox-C65ZvpNQ.js → Mapbox-CWd5ouuI.js} +18 -18
- package/dist/browser/{SetKioskMode-C4z7Sz25.js → SetKioskMode-D82xnccT.js} +19 -19
- package/dist/browser/ShowKiosk-BPbgvj4h.js +26 -0
- package/dist/browser/{ThreeComponent-BXwxseVE.js → ThreeComponent-BVyzwq47.js} +282 -282
- package/dist/browser/{TouchHand-Dz318pf9.js → TouchHand-B7utOQAe.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-CAK4bMYg.js → ViewerMenuPanel-Ar4nlACL.js} +19 -19
- package/dist/browser/{add-debug-secret-listener-Bji6Xb0a.js → add-debug-secret-listener-BdeqSuVN.js} +1 -1
- package/dist/browser/{boolean-editor-D6nJvUln.js → boolean-editor-2nqTGUWk.js} +6 -6
- package/dist/browser/bundle.json +43 -43
- package/dist/browser/{chunk-DtdTVMkx.js → chunk-QeH1YbGo.js} +1 -1
- package/dist/browser/{classnames-DLO4G2Aq.js → classnames-D3zxbGlx.js} +2 -2
- package/dist/browser/{client-D4nNjEPG.js → client-D5a9T5Yr.js} +4 -4
- package/dist/browser/{data-RX6r34oF.js → data-BmQ2xFdm.js} +565 -565
- package/dist/browser/{debug-overlay-rk1N_z9_.js → debug-overlay-DsTlabIM.js} +8 -8
- package/dist/browser/{debug-ui-DE0fncQV.js → debug-ui-z1z7xjCf.js} +6 -6
- package/dist/browser/{dist-tX7hWUmY.js → dist-BNSxJ8Gf.js} +5 -5
- package/dist/browser/{exports-Pb-YuGCR.js → exports-CHb8xfg4.js} +1 -1
- package/dist/browser/{favicon-DwSbd3PB.js → favicon-4wtTdmCZ.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BI9-HPVK.js → fetch-retry.umd-BIAQZiTB.js} +5 -5
- package/dist/browser/{flex-D-cGnQFh.js → flex-DdZZAOSi.js} +6 -6
- package/dist/browser/{floorplan.loader-C01OVaKo.js → floorplan.loader-CHuvNZrC.js} +583 -528
- package/dist/browser/{floorplan.ready-BIdCL_qu.js → floorplan.ready-BoT8xaxE.js} +122 -122
- package/dist/browser/{fuse-DXAWz_SJ.js → fuse-CJxwj0ga.js} +2 -2
- package/dist/browser/index.js +11 -11
- package/dist/browser/{is-debug-2b59TgVY.js → is-debug-WU3-PF6o.js} +47 -47
- package/dist/browser/{jsx-runtime-BQn2tbwC.js → jsx-runtime-Cw27xoLY.js} +2 -2
- package/dist/browser/{lib-D4g_-i_A.js → lib-BAapOsxS.js} +4 -4
- package/dist/browser/{main-C7b3KFSJ.js → main-qKxcSrwP.js} +1 -1
- package/dist/browser/{mobx-Cl5IBMNd.js → mobx-Bk-gFdVC.js} +4 -4
- package/dist/browser/{particles.min-fCrqBF0H.js → particles.min-jdgqFSl5.js} +2 -2
- package/dist/browser/{prop-types-CBcnHoAH.js → prop-types-CSJl6-43.js} +2 -2
- package/dist/browser/{react-CuflrHKC.js → react-DocWE6xn.js} +2 -2
- package/dist/browser/{react-dom-C7lq59RX.js → react-dom-CBQsjumL.js} +3 -3
- package/dist/browser/{reset-all-settings-DbcfYPlT.js → reset-all-settings-C_IhY9Uk.js} +1 -1
- package/dist/browser/{settings-CgR5mVuh.js → settings-C9z2GvpQ.js} +6 -6
- package/dist/browser/{src-C9-vYgd8.js → src-BRY4SgeD.js} +4 -4
- package/dist/browser/{store-BCWrifaL.js → store-CBwwf4CP.js} +383 -354
- package/dist/browser/{ui-BUETQfZK.js → ui-qs_XcPuJ.js} +6 -6
- package/dist/esm/components/Controls.js +1 -1
- package/dist/esm/components/CookieConsent.js +1 -1
- package/dist/esm/components/Free.js +1 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/PermissionNotice/PermissionNotice.d.ts +1 -0
- package/dist/esm/components/PermissionNotice/PermissionNotice.js +1 -1
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/store/UIState.d.ts +1 -0
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/tools/expofpUrl.d.ts +7 -0
- package/dist/esm/tools/expofpUrl.js +1 -0
- package/dist/esm/tools/freeBanner.d.ts +5 -0
- package/dist/esm/tools/freeBanner.js +1 -0
- package/dist/esm/tools/intercom.d.ts +12 -0
- package/dist/esm/tools/intercom.js +19 -0
- package/package.json +4 -7
- package/dist/browser/Free-DAX07Faq.js +0 -66
- package/dist/browser/ShowKiosk-stxqqSB7.js +0 -26
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.1" };
|
|
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] = "b567df44-5ef9-4b97-b8ec-6828974fbf8f", e._sentryDebugIdIdentifier = "sentry-dbid-b567df44-5ef9-4b97-b8ec-6828974fbf8f");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./chunk-
|
|
10
|
-
import { Et as t, a as n, ct as r, dt as i, o as a, st as o, y as s } from "./is-debug-
|
|
11
|
-
import { a as c, i as l, n as u, r as d, t as f } from "./floorplan.loader-
|
|
12
|
-
import { S as p, T as m, X as ee, ft as h, i as te, n as ne, x as re } from "./exports-
|
|
13
|
-
import { t as ie } from "./react-
|
|
14
|
-
import { t as ae } from "./client-
|
|
15
|
-
import { t as oe } from "./jsx-runtime-
|
|
16
|
-
import {
|
|
17
|
-
import { i as
|
|
9
|
+
import { r as e } from "./chunk-QeH1YbGo.js";
|
|
10
|
+
import { Et as t, a as n, ct as r, dt as i, o as a, st as o, y as s } from "./is-debug-WU3-PF6o.js";
|
|
11
|
+
import { a as c, i as l, n as u, r as d, t as f } from "./floorplan.loader-CHuvNZrC.js";
|
|
12
|
+
import { S as p, T as m, X as ee, ft as h, i as te, n as ne, x as re } from "./exports-CHb8xfg4.js";
|
|
13
|
+
import { t as ie } from "./react-DocWE6xn.js";
|
|
14
|
+
import { t as ae } from "./client-D5a9T5Yr.js";
|
|
15
|
+
import { t as oe } from "./jsx-runtime-Cw27xoLY.js";
|
|
16
|
+
import { $ as se, C as ce, F as g, Gn as _, N as le, Nn as v, P as y, S as ue, _ as de, a as b, at as fe, b as pe, h as me, nt as x, ot as he, p as S, tt as C, v as ge, x as _e } from "./store-CBwwf4CP.js";
|
|
17
|
+
import { i as ve } from "./CookieConsent-CDxonlwe.js";
|
|
18
18
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
|
|
19
|
-
function
|
|
19
|
+
function w(e = {}) {
|
|
20
20
|
let t = d.document, n = (t == null ? void 0 : t.head) || (t == null ? void 0 : t.body);
|
|
21
21
|
if (!n) {
|
|
22
22
|
u && h.error("[showReportDialog] Global document not defined");
|
|
@@ -84,7 +84,7 @@ var Se = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, E = {
|
|
|
84
84
|
super(e), this.state = E, this._openFallbackReportDialog = !0;
|
|
85
85
|
let t = re();
|
|
86
86
|
t && e.showDialog && (this._openFallbackReportDialog = !1, this._cleanupHook = t.on("afterSendEvent", (t) => {
|
|
87
|
-
!t.type && this._lastEventId && t.event_id === this._lastEventId &&
|
|
87
|
+
!t.type && this._lastEventId && t.event_id === this._lastEventId && w({
|
|
88
88
|
...e.dialogOptions,
|
|
89
89
|
eventId: this._lastEventId
|
|
90
90
|
});
|
|
@@ -98,7 +98,7 @@ var Se = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, E = {
|
|
|
98
98
|
handled: this.props.handled == null ? !!this.props.fallback : this.props.handled,
|
|
99
99
|
type: "auto.function.react.error_boundary"
|
|
100
100
|
} });
|
|
101
|
-
i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog &&
|
|
101
|
+
i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog && w({
|
|
102
102
|
...o,
|
|
103
103
|
eventId: c
|
|
104
104
|
})), this.setState({
|
|
@@ -131,7 +131,7 @@ var Se = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, E = {
|
|
|
131
131
|
}) : e;
|
|
132
132
|
return T.isValidElement(r) ? r : (e && Se && h.warn("fallback did not produce a valid ReactElement"), null);
|
|
133
133
|
}
|
|
134
|
-
}, we = ae(), Te =
|
|
134
|
+
}, we = ae(), Te = he();
|
|
135
135
|
function Ee() {
|
|
136
136
|
D("floorplan"), D("__data"), D("__dataUrlBase"), D("__searchi"), D("__wfData"), D("__mobxGlobals"), D("__store"), D("__mobxInstanceCount");
|
|
137
137
|
for (let e in window) e !== "__efpStyleElements" && (e.includes("__fp") || e.includes("__efp")) && D(e);
|
|
@@ -253,16 +253,16 @@ var M = class extends Error {
|
|
|
253
253
|
constructor() {
|
|
254
254
|
super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
|
|
255
255
|
}
|
|
256
|
-
},
|
|
257
|
-
function
|
|
258
|
-
return e && Object.assign(
|
|
256
|
+
}, Oe = {};
|
|
257
|
+
function N(e) {
|
|
258
|
+
return e && Object.assign(Oe, e), Oe;
|
|
259
259
|
}
|
|
260
260
|
//#endregion
|
|
261
261
|
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.js
|
|
262
|
-
function
|
|
262
|
+
function ke(e, t) {
|
|
263
263
|
return typeof t == "bigint" ? t.toString() : t;
|
|
264
264
|
}
|
|
265
|
-
function
|
|
265
|
+
function Ae(e) {
|
|
266
266
|
return { get value() {
|
|
267
267
|
{
|
|
268
268
|
let t = e();
|
|
@@ -271,16 +271,16 @@ function ke(e) {
|
|
|
271
271
|
throw Error("cached value already set");
|
|
272
272
|
} };
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function je(e) {
|
|
275
275
|
let t = +!!e.startsWith("^"), n = e.endsWith("$") ? e.length - 1 : e.length;
|
|
276
276
|
return e.slice(t, n);
|
|
277
277
|
}
|
|
278
|
-
var
|
|
279
|
-
function
|
|
278
|
+
var Me = Symbol("evaluating");
|
|
279
|
+
function P(e, t, n) {
|
|
280
280
|
let r;
|
|
281
281
|
Object.defineProperty(e, t, {
|
|
282
282
|
get() {
|
|
283
|
-
if (r !==
|
|
283
|
+
if (r !== Me) return r === void 0 && (r = Me, r = n()), r;
|
|
284
284
|
},
|
|
285
285
|
set(n) {
|
|
286
286
|
Object.defineProperty(e, t, { value: n });
|
|
@@ -288,15 +288,15 @@ function I(e, t, n) {
|
|
|
288
288
|
configurable: !0
|
|
289
289
|
});
|
|
290
290
|
}
|
|
291
|
-
var
|
|
292
|
-
function
|
|
291
|
+
var F = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {};
|
|
292
|
+
function Ne(e) {
|
|
293
293
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function Pe(e, t, n) {
|
|
296
296
|
let r = new e._zod.constr(t == null ? e._zod.def : t);
|
|
297
297
|
return (!t || n != null && n.parent) && (r._zod.parent = e), r;
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function I(e) {
|
|
300
300
|
let t = e;
|
|
301
301
|
if (!t) return {};
|
|
302
302
|
if (typeof t == "string") return { error: () => t };
|
|
@@ -309,11 +309,11 @@ function R(e) {
|
|
|
309
309
|
error: () => t.error
|
|
310
310
|
} : t;
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function Fe(e) {
|
|
313
313
|
return Object.keys(e).filter((t) => e[t]._zod.optin === "optional" && e[t]._zod.optout === "optional");
|
|
314
314
|
}
|
|
315
315
|
-Number.MAX_VALUE, Number.MAX_VALUE;
|
|
316
|
-
function
|
|
316
|
+
function L(e, t = 0) {
|
|
317
317
|
if (e.aborted === !0) return !0;
|
|
318
318
|
for (let r = t; r < e.issues.length; r++) {
|
|
319
319
|
var n;
|
|
@@ -321,16 +321,16 @@ function z(e, t = 0) {
|
|
|
321
321
|
}
|
|
322
322
|
return !1;
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function R(e, t) {
|
|
325
325
|
return t.map((t) => {
|
|
326
326
|
var n;
|
|
327
327
|
return (n = t).path != null || (n.path = []), t.path.unshift(e), t;
|
|
328
328
|
});
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function z(e) {
|
|
331
331
|
return typeof e == "string" ? e : e == null ? void 0 : e.message;
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function B(e, t, n) {
|
|
334
334
|
var r;
|
|
335
335
|
let i = {
|
|
336
336
|
...e,
|
|
@@ -338,11 +338,11 @@ function V(e, t, n) {
|
|
|
338
338
|
};
|
|
339
339
|
if (!e.message) {
|
|
340
340
|
var a, o, s, c, l, u, d, f, p;
|
|
341
|
-
i.message = (a = (o = (s = (c =
|
|
341
|
+
i.message = (a = (o = (s = (c = z((l = e.inst) == null || (l = l._zod.def) == null || (u = l.error) == null ? void 0 : u.call(l, e))) == null ? z(t == null || (d = t.error) == null ? void 0 : d.call(t, e)) : c) == null ? z((f = n.customError) == null ? void 0 : f.call(n, e)) : s) == null ? z((p = n.localeError) == null ? void 0 : p.call(n, e)) : o) == null ? "Invalid input" : a;
|
|
342
342
|
}
|
|
343
343
|
return delete i.inst, delete i.continue, t != null && t.reportInput || delete i.input, i;
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function Ie(...e) {
|
|
346
346
|
let [t, n, r] = e;
|
|
347
347
|
return typeof t == "string" ? {
|
|
348
348
|
message: t,
|
|
@@ -353,18 +353,18 @@ function Fe(...e) {
|
|
|
353
353
|
}
|
|
354
354
|
//#endregion
|
|
355
355
|
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.js
|
|
356
|
-
var
|
|
356
|
+
var V = (e, t) => {
|
|
357
357
|
e.name = "$ZodError", Object.defineProperty(e, "_zod", {
|
|
358
358
|
value: e._zod,
|
|
359
359
|
enumerable: !1
|
|
360
360
|
}), Object.defineProperty(e, "issues", {
|
|
361
361
|
value: t,
|
|
362
362
|
enumerable: !1
|
|
363
|
-
}), e.message = JSON.stringify(t,
|
|
363
|
+
}), e.message = JSON.stringify(t, ke, 2), Object.defineProperty(e, "toString", {
|
|
364
364
|
value: () => e.message,
|
|
365
365
|
enumerable: !1
|
|
366
366
|
});
|
|
367
|
-
}, Le = j("$ZodError",
|
|
367
|
+
}, Le = j("$ZodError", V), H = j("$ZodError", V, { Parent: Error }), Re = /* @__PURE__ */ ((e) => (t, n, r, i) => {
|
|
368
368
|
let a = r ? Object.assign(r, { async: !1 }) : { async: !1 }, o = t._zod.run({
|
|
369
369
|
value: n,
|
|
370
370
|
issues: []
|
|
@@ -372,8 +372,8 @@ var Ie = (e, t) => {
|
|
|
372
372
|
if (o instanceof Promise) throw new M();
|
|
373
373
|
if (o.issues.length) {
|
|
374
374
|
var s;
|
|
375
|
-
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) =>
|
|
376
|
-
throw
|
|
375
|
+
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) => B(e, a, N())));
|
|
376
|
+
throw F(t, i == null ? void 0 : i.callee), t;
|
|
377
377
|
}
|
|
378
378
|
return o.value;
|
|
379
379
|
})(H), ze = /* @__PURE__ */ ((e) => async (t, n, r, i) => {
|
|
@@ -383,8 +383,8 @@ var Ie = (e, t) => {
|
|
|
383
383
|
}, a);
|
|
384
384
|
if (o instanceof Promise && (o = await o), o.issues.length) {
|
|
385
385
|
var s;
|
|
386
|
-
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) =>
|
|
387
|
-
throw
|
|
386
|
+
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) => B(e, a, N())));
|
|
387
|
+
throw F(t, i == null ? void 0 : i.callee), t;
|
|
388
388
|
}
|
|
389
389
|
return o.value;
|
|
390
390
|
})(H), Be = /* @__PURE__ */ ((e) => (t, n, r) => {
|
|
@@ -398,7 +398,7 @@ var Ie = (e, t) => {
|
|
|
398
398
|
if (a instanceof Promise) throw new M();
|
|
399
399
|
return a.issues.length ? {
|
|
400
400
|
success: !1,
|
|
401
|
-
error: new (e == null ? Le : e)(a.issues.map((e) =>
|
|
401
|
+
error: new (e == null ? Le : e)(a.issues.map((e) => B(e, i, N())))
|
|
402
402
|
} : {
|
|
403
403
|
success: !0,
|
|
404
404
|
data: a.value
|
|
@@ -410,7 +410,7 @@ var Ie = (e, t) => {
|
|
|
410
410
|
}, i);
|
|
411
411
|
return a instanceof Promise && (a = await a), a.issues.length ? {
|
|
412
412
|
success: !1,
|
|
413
|
-
error: new e(a.issues.map((e) =>
|
|
413
|
+
error: new e(a.issues.map((e) => B(e, i, N())))
|
|
414
414
|
} : {
|
|
415
415
|
success: !0,
|
|
416
416
|
data: a.value
|
|
@@ -439,7 +439,7 @@ var Ie = (e, t) => {
|
|
|
439
439
|
});
|
|
440
440
|
} else {
|
|
441
441
|
let t = (e, t, n) => {
|
|
442
|
-
let r =
|
|
442
|
+
let r = L(e), i;
|
|
443
443
|
for (let o of t) {
|
|
444
444
|
if (o._zod.def.when) {
|
|
445
445
|
if (!o._zod.def.when(e)) continue;
|
|
@@ -449,16 +449,16 @@ var Ie = (e, t) => {
|
|
|
449
449
|
if (i || s instanceof Promise) {
|
|
450
450
|
var a;
|
|
451
451
|
i = ((a = i) == null ? Promise.resolve() : a).then(async () => {
|
|
452
|
-
await s, e.issues.length !== t && (r || (r =
|
|
452
|
+
await s, e.issues.length !== t && (r || (r = L(e, t)));
|
|
453
453
|
});
|
|
454
454
|
} else {
|
|
455
455
|
if (e.issues.length === t) continue;
|
|
456
|
-
r || (r =
|
|
456
|
+
r || (r = L(e, t));
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
return i ? i.then(() => e) : e;
|
|
460
460
|
}, n = (n, r, a) => {
|
|
461
|
-
if (
|
|
461
|
+
if (L(n)) return n.aborted = !0, n;
|
|
462
462
|
let o = t(r, i, a);
|
|
463
463
|
if (o instanceof Promise) {
|
|
464
464
|
if (a.async === !1) throw new M();
|
|
@@ -486,7 +486,7 @@ var Ie = (e, t) => {
|
|
|
486
486
|
return t(o, i, a);
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
|
-
|
|
489
|
+
P(e, "~standard", () => ({
|
|
490
490
|
validate: (t) => {
|
|
491
491
|
try {
|
|
492
492
|
var n;
|
|
@@ -541,7 +541,7 @@ var Ie = (e, t) => {
|
|
|
541
541
|
}), t);
|
|
542
542
|
});
|
|
543
543
|
function Ye(e, t, n) {
|
|
544
|
-
e.issues.length && t.issues.push(...
|
|
544
|
+
e.issues.length && t.issues.push(...R(n, e.issues)), t.value[n] = e.value;
|
|
545
545
|
}
|
|
546
546
|
var Xe = /* @__PURE__ */ j("$ZodArray", (e, t) => {
|
|
547
547
|
U.init(e, t), e._zod.parse = (n, r) => {
|
|
@@ -567,7 +567,7 @@ var Xe = /* @__PURE__ */ j("$ZodArray", (e, t) => {
|
|
|
567
567
|
function W(e, t, n, r, i) {
|
|
568
568
|
if (e.issues.length) {
|
|
569
569
|
if (i && !(n in r)) return;
|
|
570
|
-
t.issues.push(...
|
|
570
|
+
t.issues.push(...R(n, e.issues));
|
|
571
571
|
}
|
|
572
572
|
e.value === void 0 ? n in r && (t.value[n] = void 0) : t.value[n] = e.value;
|
|
573
573
|
}
|
|
@@ -577,7 +577,7 @@ function Ze(e) {
|
|
|
577
577
|
var n;
|
|
578
578
|
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`);
|
|
579
579
|
}
|
|
580
|
-
let r =
|
|
580
|
+
let r = Fe(e.shape);
|
|
581
581
|
return {
|
|
582
582
|
...e,
|
|
583
583
|
keys: t,
|
|
@@ -617,8 +617,8 @@ var $e = /* @__PURE__ */ j("$ZodObject", (e, t) => {
|
|
|
617
617
|
return Object.defineProperty(t, "shape", { value: n }), n;
|
|
618
618
|
} });
|
|
619
619
|
}
|
|
620
|
-
let r =
|
|
621
|
-
|
|
620
|
+
let r = Ae(() => Ze(t));
|
|
621
|
+
P(e._zod, "propValues", () => {
|
|
622
622
|
let e = t.shape, n = {};
|
|
623
623
|
for (let t in e) {
|
|
624
624
|
let r = e[t]._zod;
|
|
@@ -629,7 +629,7 @@ var $e = /* @__PURE__ */ j("$ZodObject", (e, t) => {
|
|
|
629
629
|
}
|
|
630
630
|
return n;
|
|
631
631
|
});
|
|
632
|
-
let i =
|
|
632
|
+
let i = Ne, a = t.catchall, o;
|
|
633
633
|
e._zod.parse = (t, n) => {
|
|
634
634
|
o != null || (o = r.value);
|
|
635
635
|
let s = t.value;
|
|
@@ -658,9 +658,9 @@ function et(e, t) {
|
|
|
658
658
|
} : e;
|
|
659
659
|
}
|
|
660
660
|
var tt = /* @__PURE__ */ j("$ZodOptional", (e, t) => {
|
|
661
|
-
U.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional",
|
|
661
|
+
U.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", P(e._zod, "values", () => t.innerType._zod.values ? new Set([...t.innerType._zod.values, void 0]) : void 0), P(e._zod, "pattern", () => {
|
|
662
662
|
let e = t.innerType._zod.pattern;
|
|
663
|
-
return e ? RegExp(`^(${
|
|
663
|
+
return e ? RegExp(`^(${je(e.source)})?$`) : void 0;
|
|
664
664
|
}), e._zod.parse = (e, n) => {
|
|
665
665
|
if (t.innerType._zod.optin === "optional") {
|
|
666
666
|
let r = t.innerType._zod.run(e, n);
|
|
@@ -685,7 +685,7 @@ function rt(e, t, n, r) {
|
|
|
685
685
|
path: [...(i = r._zod.def.path) == null ? [] : i],
|
|
686
686
|
continue: !r._zod.def.abort
|
|
687
687
|
};
|
|
688
|
-
r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(
|
|
688
|
+
r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(Ie(e));
|
|
689
689
|
}
|
|
690
690
|
}
|
|
691
691
|
//#endregion
|
|
@@ -694,7 +694,7 @@ function rt(e, t, n, r) {
|
|
|
694
694
|
function it(e, t) {
|
|
695
695
|
return new e({
|
|
696
696
|
type: "string",
|
|
697
|
-
...
|
|
697
|
+
...I(t)
|
|
698
698
|
});
|
|
699
699
|
}
|
|
700
700
|
/* @__NO_SIDE_EFFECTS__ */
|
|
@@ -702,14 +702,14 @@ function at(e, t) {
|
|
|
702
702
|
return new e({
|
|
703
703
|
type: "number",
|
|
704
704
|
checks: [],
|
|
705
|
-
...
|
|
705
|
+
...I(t)
|
|
706
706
|
});
|
|
707
707
|
}
|
|
708
708
|
/* @__NO_SIDE_EFFECTS__ */
|
|
709
709
|
function ot(e, t) {
|
|
710
710
|
return new e({
|
|
711
711
|
type: "never",
|
|
712
|
-
...
|
|
712
|
+
...I(t)
|
|
713
713
|
});
|
|
714
714
|
}
|
|
715
715
|
/* @__NO_SIDE_EFFECTS__ */
|
|
@@ -718,7 +718,7 @@ function st(e, t, n) {
|
|
|
718
718
|
type: "custom",
|
|
719
719
|
check: "custom",
|
|
720
720
|
fn: t,
|
|
721
|
-
...
|
|
721
|
+
...I(n)
|
|
722
722
|
});
|
|
723
723
|
}
|
|
724
724
|
//#endregion
|
|
@@ -735,7 +735,7 @@ var G = /* @__PURE__ */ j("ZodMiniType", (e, t) => {
|
|
|
735
735
|
onattach: []
|
|
736
736
|
} } : e)]
|
|
737
737
|
}, { parent: !0 });
|
|
738
|
-
}, e.with = e.check, e.clone = (t, n) =>
|
|
738
|
+
}, 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);
|
|
739
739
|
}), ct = /* @__PURE__ */ j("ZodMiniString", (e, t) => {
|
|
740
740
|
Ke.init(e, t), G.init(e, t);
|
|
741
741
|
});
|
|
@@ -765,11 +765,11 @@ function mt(e, t) {
|
|
|
765
765
|
return new pt({
|
|
766
766
|
type: "array",
|
|
767
767
|
element: e,
|
|
768
|
-
...
|
|
768
|
+
...I(t)
|
|
769
769
|
});
|
|
770
770
|
}
|
|
771
771
|
var ht = /* @__PURE__ */ j("ZodMiniObject", (e, t) => {
|
|
772
|
-
$e.init(e, t), G.init(e, t),
|
|
772
|
+
$e.init(e, t), G.init(e, t), P(e, "shape", () => t.shape);
|
|
773
773
|
});
|
|
774
774
|
/* @__NO_SIDE_EFFECTS__ */
|
|
775
775
|
function q(e, t) {
|
|
@@ -777,7 +777,7 @@ function q(e, t) {
|
|
|
777
777
|
type: "object",
|
|
778
778
|
shape: e,
|
|
779
779
|
catchall: /* @__PURE__ */ ft(),
|
|
780
|
-
...
|
|
780
|
+
...I(t)
|
|
781
781
|
});
|
|
782
782
|
}
|
|
783
783
|
var gt = /* @__PURE__ */ j("ZodMiniOptional", (e, t) => {
|
|
@@ -794,34 +794,34 @@ var _t = /* @__PURE__ */ j("ZodMiniCustom", (e, t) => {
|
|
|
794
794
|
nt.init(e, t), G.init(e, t);
|
|
795
795
|
});
|
|
796
796
|
/* @__NO_SIDE_EFFECTS__ */
|
|
797
|
-
function
|
|
797
|
+
function Y(e, t = {}) {
|
|
798
798
|
return /* @__PURE__ */ st(_t, e, t);
|
|
799
799
|
}
|
|
800
800
|
//#endregion
|
|
801
801
|
//#region src/schemas/sdk.schemas.ts
|
|
802
|
-
var
|
|
802
|
+
var vt = /* @__PURE__ */ q({
|
|
803
803
|
x: /* @__PURE__ */ K(),
|
|
804
804
|
y: /* @__PURE__ */ K()
|
|
805
|
-
}),
|
|
806
|
-
leftTop:
|
|
807
|
-
rightBottom:
|
|
808
|
-
}),
|
|
805
|
+
}), yt = /* @__PURE__ */ q({
|
|
806
|
+
leftTop: vt,
|
|
807
|
+
rightBottom: vt
|
|
808
|
+
}), bt = (/* @__PURE__ */ q({
|
|
809
809
|
name: /* @__PURE__ */ J(/* @__PURE__ */ lt()),
|
|
810
810
|
externalId: /* @__PURE__ */ J(/* @__PURE__ */ lt())
|
|
811
|
-
})).check(/* @__PURE__ */
|
|
812
|
-
booths: /* @__PURE__ */ J(/* @__PURE__ */ mt(
|
|
813
|
-
exhibitors: /* @__PURE__ */ J(/* @__PURE__ */ mt(
|
|
814
|
-
})).check(/* @__PURE__ */
|
|
811
|
+
})).check(/* @__PURE__ */ Y((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")), xt = (/* @__PURE__ */ q({
|
|
812
|
+
booths: /* @__PURE__ */ J(/* @__PURE__ */ mt(bt)),
|
|
813
|
+
exhibitors: /* @__PURE__ */ J(/* @__PURE__ */ mt(bt))
|
|
814
|
+
})).check(/* @__PURE__ */ Y((e) => {
|
|
815
815
|
var t, n;
|
|
816
816
|
return !!((t = e.booths) != null && t.length || (n = e.exhibitors) != null && n.length);
|
|
817
|
-
}, "Selector must contain booths or exhibitors")),
|
|
818
|
-
function
|
|
817
|
+
}, "Selector must contain booths or exhibitors")), St = /* @__PURE__ */ J(/* @__PURE__ */ q({ padding: /* @__PURE__ */ J(/* @__PURE__ */ K()) })), Ct = /* @__PURE__ */ e(t(), 1), wt = 100, Tt = -.01;
|
|
818
|
+
function Et(e) {
|
|
819
819
|
let t = new Map(e), n = Array.from(t.keys());
|
|
820
820
|
if (n.length <= 2) return n;
|
|
821
|
-
let r =
|
|
822
|
-
return r.length < 4 ? r :
|
|
821
|
+
let r = Dt(n, t);
|
|
822
|
+
return r.length < 4 ? r : Ot(r, t);
|
|
823
823
|
}
|
|
824
|
-
function
|
|
824
|
+
function Dt(e, t) {
|
|
825
825
|
let n = [e[0]], r = new Set(e);
|
|
826
826
|
r.delete(e[0]);
|
|
827
827
|
let i = e[0];
|
|
@@ -836,13 +836,13 @@ function Ot(e, t) {
|
|
|
836
836
|
}
|
|
837
837
|
return n;
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function Ot(e, t) {
|
|
840
840
|
let n = [...e], r = !0;
|
|
841
|
-
for (let e = 0; r && e <
|
|
841
|
+
for (let e = 0; r && e < wt; e++) {
|
|
842
842
|
r = !1;
|
|
843
843
|
scan: for (let e = 1; e < n.length - 2; e++) for (let i = e + 1; i < n.length - 1; i++) {
|
|
844
844
|
let a = t.get(n[e - 1]), o = t.get(n[e]), s = t.get(n[i]), c = t.get(n[i + 1]);
|
|
845
|
-
if (Math.abs(a.cx - s.cx) + Math.abs(a.cy - s.cy) + Math.abs(o.cx - c.cx) + Math.abs(o.cy - c.cy) - (Math.abs(a.cx - o.cx) + Math.abs(a.cy - o.cy)) - (Math.abs(s.cx - c.cx) + Math.abs(s.cy - c.cy)) <
|
|
845
|
+
if (Math.abs(a.cx - s.cx) + Math.abs(a.cy - s.cy) + Math.abs(o.cx - c.cx) + Math.abs(o.cy - c.cy) - (Math.abs(a.cx - o.cx) + Math.abs(a.cy - o.cy)) - (Math.abs(s.cx - c.cx) + Math.abs(s.cy - c.cy)) < Tt) {
|
|
846
846
|
for (let t = e, r = i; t < r; t++, r--) [n[t], n[r]] = [n[r], n[t]];
|
|
847
847
|
r = !0;
|
|
848
848
|
break scan;
|
|
@@ -853,17 +853,17 @@ function kt(e, t) {
|
|
|
853
853
|
}
|
|
854
854
|
//#endregion
|
|
855
855
|
//#region src/floorplan.ready.tsx
|
|
856
|
-
var
|
|
856
|
+
var X = oe(), Z = (0, Ct.default)("efp:api");
|
|
857
857
|
(0, Te.install)();
|
|
858
|
-
var
|
|
858
|
+
var kt = class extends f {
|
|
859
859
|
constructor(...e) {
|
|
860
860
|
super(...e), this.root = void 0;
|
|
861
861
|
}
|
|
862
862
|
init() {
|
|
863
|
-
this.ignoreQuery ||
|
|
863
|
+
this.ignoreQuery || ce(this.offHistory), pe("load"), b.fp = this, ge(this.allowConsent), de(S.Load, ""), this.root = (0, we.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, X.jsx)(Ce, { children: /* @__PURE__ */ (0, X.jsx)(ve, {
|
|
864
864
|
offHistory: this.offHistory,
|
|
865
865
|
allowConsent: this.allowConsent
|
|
866
|
-
}) })),
|
|
866
|
+
}) })), de(S.Rendered, ""), s(() => b.layerStore.layersLoaded, () => {
|
|
867
867
|
if (this.resolveReady(), !b.initialized) {
|
|
868
868
|
var e;
|
|
869
869
|
(e = this.onInit) == null || e.call(this, this);
|
|
@@ -916,7 +916,7 @@ var At = class extends f {
|
|
|
916
916
|
}
|
|
917
917
|
highlightEntities(e) {
|
|
918
918
|
Array.isArray(e) || $("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
|
|
919
|
-
let { boothExternalIds: t, exhibitorExternalIds: n } =
|
|
919
|
+
let { boothExternalIds: t, exhibitorExternalIds: n } = g(e);
|
|
920
920
|
b.boothStore.highlightedByExternalIds = [...t], b.exhibitorStore.highlightedByExternalIds = [...n];
|
|
921
921
|
}
|
|
922
922
|
selectRoute(e, t) {
|
|
@@ -927,15 +927,15 @@ var At = class extends f {
|
|
|
927
927
|
$("selectRoute", "Invalid route format: When providing an array, it must include at least two points: a start and a destination.", "EFP000401");
|
|
928
928
|
return;
|
|
929
929
|
}
|
|
930
|
-
b.routeStore.selectRoute(new
|
|
930
|
+
b.routeStore.selectRoute(new le(Q(n), Q(r), t.map(Q)));
|
|
931
931
|
return;
|
|
932
932
|
}
|
|
933
|
-
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), b.routeStore.selectRoute(new
|
|
933
|
+
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), b.routeStore.selectRoute(new le(Q(e), Q(t)));
|
|
934
934
|
}
|
|
935
935
|
getOptimizedRoutes(e) {
|
|
936
936
|
if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
|
|
937
937
|
if (e.length > 8) throw Error("The maximum number of waypoints is 8.");
|
|
938
|
-
let t = e.map(
|
|
938
|
+
let t = e.map(Q).filter((e) => !!e);
|
|
939
939
|
if (!t.length) throw Error("No booths found for the provided waypoints.");
|
|
940
940
|
let n = /* @__PURE__ */ new Map();
|
|
941
941
|
for (let e of t) {
|
|
@@ -943,14 +943,14 @@ var At = class extends f {
|
|
|
943
943
|
let t = (r = (i = e.layer) == null ? void 0 : i.name) == null ? "" : r, a = n.get(t);
|
|
944
944
|
a ? a.push(e) : n.set(t, [e]);
|
|
945
945
|
}
|
|
946
|
-
return Array.from(n.values()).map((e) => ({ waypoints:
|
|
946
|
+
return Array.from(n.values()).map((e) => ({ waypoints: Et(e.map((e) => [e.name, {
|
|
947
947
|
cx: e.rect.cx,
|
|
948
948
|
cy: e.rect.cy
|
|
949
949
|
}])) }));
|
|
950
950
|
}
|
|
951
951
|
selectCurrentPosition(e, t, n) {
|
|
952
952
|
var r;
|
|
953
|
-
let i =
|
|
953
|
+
let i = C(e.x) && C(e.y), a = C(e.lng) && C(e.lat);
|
|
954
954
|
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), b.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
|
|
955
955
|
}
|
|
956
956
|
setBookmarks(e) {
|
|
@@ -974,7 +974,7 @@ var At = class extends f {
|
|
|
974
974
|
$("setEntitiesBookmarks", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000702");
|
|
975
975
|
return;
|
|
976
976
|
}
|
|
977
|
-
let r =
|
|
977
|
+
let r = v("bookmarked"), i = {
|
|
978
978
|
exhibitor: {
|
|
979
979
|
existingIds: new Set(r.exhibitors || []),
|
|
980
980
|
finder: (e) => b.exhibitorStore.findExhibitor(e),
|
|
@@ -1016,7 +1016,7 @@ var At = class extends f {
|
|
|
1016
1016
|
$("setEntitiesVisited", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000704");
|
|
1017
1017
|
return;
|
|
1018
1018
|
}
|
|
1019
|
-
let r =
|
|
1019
|
+
let r = v("visited"), i = {
|
|
1020
1020
|
exhibitor: {
|
|
1021
1021
|
existingIds: new Set(r.exhibitors || []),
|
|
1022
1022
|
finder: (e) => b.exhibitorStore.findExhibitor(e),
|
|
@@ -1079,7 +1079,7 @@ var At = class extends f {
|
|
|
1079
1079
|
b.selectCategory(n);
|
|
1080
1080
|
}
|
|
1081
1081
|
applyParameters(e) {
|
|
1082
|
-
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"),
|
|
1082
|
+
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), _e(e);
|
|
1083
1083
|
}
|
|
1084
1084
|
getVisibility() {
|
|
1085
1085
|
return b.uiState.visibility;
|
|
@@ -1100,13 +1100,13 @@ var At = class extends f {
|
|
|
1100
1100
|
b.mapboxStore.activateMapbox();
|
|
1101
1101
|
}
|
|
1102
1102
|
zoomTo(e, t) {
|
|
1103
|
-
|
|
1104
|
-
let n =
|
|
1103
|
+
Z("zoomTo called with selectors=%O options=%O", e, t);
|
|
1104
|
+
let n = xt.safeParse(e);
|
|
1105
1105
|
if (!n.success) {
|
|
1106
1106
|
$("zoomTo", n.error.message, "EFP001600");
|
|
1107
1107
|
return;
|
|
1108
1108
|
}
|
|
1109
|
-
let r =
|
|
1109
|
+
let r = St.safeParse(t);
|
|
1110
1110
|
if (!r.success) {
|
|
1111
1111
|
$("zoomTo", r.error.message, "EFP001601");
|
|
1112
1112
|
return;
|
|
@@ -1116,8 +1116,8 @@ var At = class extends f {
|
|
|
1116
1116
|
}
|
|
1117
1117
|
getBounds(e) {
|
|
1118
1118
|
var t, n;
|
|
1119
|
-
|
|
1120
|
-
let r =
|
|
1119
|
+
Z("getBounds called with selectors=%O", e);
|
|
1120
|
+
let r = xt.safeParse(e);
|
|
1121
1121
|
if (!r.success) {
|
|
1122
1122
|
$("getBounds", r.error.message, "EFP001400");
|
|
1123
1123
|
return;
|
|
@@ -1133,7 +1133,7 @@ var At = class extends f {
|
|
|
1133
1133
|
e.rect && i.push(e.rect);
|
|
1134
1134
|
});
|
|
1135
1135
|
}), i.length === 0) return;
|
|
1136
|
-
let a =
|
|
1136
|
+
let a = _.fromMultiple(i);
|
|
1137
1137
|
return {
|
|
1138
1138
|
leftTop: {
|
|
1139
1139
|
x: a.x1,
|
|
@@ -1146,16 +1146,16 @@ var At = class extends f {
|
|
|
1146
1146
|
};
|
|
1147
1147
|
}
|
|
1148
1148
|
fitBounds(e, t) {
|
|
1149
|
-
if (
|
|
1149
|
+
if (Z("fitBounds called with bounds=%O options=%O", e, t), !e) {
|
|
1150
1150
|
b.uiState.fitBounds();
|
|
1151
1151
|
return;
|
|
1152
1152
|
}
|
|
1153
|
-
let n =
|
|
1153
|
+
let n = yt.safeParse(e);
|
|
1154
1154
|
if (!n.success) {
|
|
1155
1155
|
$("fitBounds", n.error.message, "EFP001500");
|
|
1156
1156
|
return;
|
|
1157
1157
|
}
|
|
1158
|
-
let r =
|
|
1158
|
+
let r = St.safeParse(t);
|
|
1159
1159
|
if (!r.success) {
|
|
1160
1160
|
$("fitBounds", r.error.message, "EFP001501");
|
|
1161
1161
|
return;
|
|
@@ -1163,17 +1163,17 @@ var At = class extends f {
|
|
|
1163
1163
|
let i;
|
|
1164
1164
|
if (t != null && t.padding) {
|
|
1165
1165
|
let n = t.padding;
|
|
1166
|
-
i =
|
|
1167
|
-
} else i =
|
|
1166
|
+
i = _.fromX1y1x2y2(e.leftTop.x - n, e.leftTop.y - n, e.rightBottom.x + n, e.rightBottom.y + n);
|
|
1167
|
+
} else i = _.fromX1y1x2y2(e.leftTop.x, e.leftTop.y, e.rightBottom.x, e.rightBottom.y);
|
|
1168
1168
|
b.uiState.moveToRect = i;
|
|
1169
1169
|
}
|
|
1170
1170
|
getBoothRect(e) {
|
|
1171
1171
|
var t;
|
|
1172
|
-
return typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00"), (t =
|
|
1172
|
+
return typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00"), (t = y(e)) == null ? void 0 : t.rect;
|
|
1173
1173
|
}
|
|
1174
1174
|
convertToGeo(e, t) {
|
|
1175
1175
|
var n;
|
|
1176
|
-
if (!(!(
|
|
1176
|
+
if (!(!(x == null || (n = x.properties) == null) && n.config)) {
|
|
1177
1177
|
$("convertToGeo", "The coordinates cannot be converted because the GPS configuration is not defined.", "EFP001000");
|
|
1178
1178
|
return;
|
|
1179
1179
|
}
|
|
@@ -1181,11 +1181,11 @@ var At = class extends f {
|
|
|
1181
1181
|
$("convertToGeo", "Both coordinates must be passed.", "EFP001001");
|
|
1182
1182
|
return;
|
|
1183
1183
|
}
|
|
1184
|
-
return se(e, t,
|
|
1184
|
+
return se(e, t, x.properties.config);
|
|
1185
1185
|
}
|
|
1186
1186
|
unstable_destroy() {
|
|
1187
1187
|
let e = window.__efpElement.firstChild;
|
|
1188
|
-
Ee(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", c),
|
|
1188
|
+
Ee(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", c), ue(), fe(), 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();
|
|
1189
1189
|
}
|
|
1190
1190
|
search(e) {
|
|
1191
1191
|
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), b.fuzzySearchEngineStore.loadEngine().then(() => (b.searchStore.selectSearch(e), b.uiState.fuzzySearchItems.map((e) => ({
|
|
@@ -1233,7 +1233,7 @@ var At = class extends f {
|
|
|
1233
1233
|
showPathway(e, t) {
|
|
1234
1234
|
let n = new URLSearchParams();
|
|
1235
1235
|
if (n.set(i, e), t != null && t.length) {
|
|
1236
|
-
let { boothExternalIds: e, exhibitorExternalIds: r } =
|
|
1236
|
+
let { boothExternalIds: e, exhibitorExternalIds: r } = g(t);
|
|
1237
1237
|
e.length > 0 && n.set("booths", e.join(",")), r.length > 0 && n.set("exhibitors", r.join(","));
|
|
1238
1238
|
}
|
|
1239
1239
|
this.applyParameters(n.toString());
|
|
@@ -1244,7 +1244,7 @@ var At = class extends f {
|
|
|
1244
1244
|
if (i != null && i.rect || i != null && i.viewbox) {
|
|
1245
1245
|
var a;
|
|
1246
1246
|
let e = (a = i.viewbox) == null ? i.rect : a;
|
|
1247
|
-
b.uiState.moveToRect =
|
|
1247
|
+
b.uiState.moveToRect = _.fromX1y1x2y2(e.x1, e.y1, e.x2, e.y2);
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
1250
1250
|
hidePathways() {
|
|
@@ -1282,27 +1282,27 @@ var At = class extends f {
|
|
|
1282
1282
|
} else this.fitBounds();
|
|
1283
1283
|
}
|
|
1284
1284
|
};
|
|
1285
|
-
function
|
|
1286
|
-
return typeof e == "string" ?
|
|
1285
|
+
function Q(e) {
|
|
1286
|
+
return typeof e == "string" ? y(e) : b.routeStore.getNearestBooth(e);
|
|
1287
1287
|
}
|
|
1288
|
-
var
|
|
1288
|
+
var At = 0;
|
|
1289
1289
|
function $(e, t, n) {
|
|
1290
1290
|
let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://developer.expofp.com/guide/java-script-api-reference";
|
|
1291
1291
|
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), b.fp.disableRuntimeAlerts) return;
|
|
1292
1292
|
b.uiState.setGlobalErrorMessage({
|
|
1293
1293
|
title: r,
|
|
1294
|
-
body: /* @__PURE__ */ (0,
|
|
1294
|
+
body: /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [
|
|
1295
1295
|
i,
|
|
1296
1296
|
" ",
|
|
1297
|
-
/* @__PURE__ */ (0,
|
|
1297
|
+
/* @__PURE__ */ (0, X.jsx)("a", {
|
|
1298
1298
|
href: a,
|
|
1299
1299
|
target: "_blank",
|
|
1300
1300
|
children: a
|
|
1301
1301
|
})
|
|
1302
1302
|
] })
|
|
1303
|
-
}), clearTimeout(
|
|
1303
|
+
}), clearTimeout(At);
|
|
1304
1304
|
let o = 8e3;
|
|
1305
|
-
|
|
1305
|
+
At = window.setTimeout(() => {
|
|
1306
1306
|
let e = async () => {
|
|
1307
1307
|
b.uiState.globalErrorMessages.length > 0 && (b.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
|
|
1308
1308
|
};
|
|
@@ -1310,4 +1310,4 @@ function $(e, t, n) {
|
|
|
1310
1310
|
}, o);
|
|
1311
1311
|
}
|
|
1312
1312
|
//#endregion
|
|
1313
|
-
export {
|
|
1313
|
+
export { kt as default };
|