@expofp/floorplan 3.10.1 → 3.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Button-DdPvRBTh.js → Button-Bj5GinNb.js} +6 -6
- package/dist/browser/{CookieConsent-C39dYjaQ.js → CookieConsent-vekYv-WL.js} +7 -7
- package/dist/browser/{Debug-B5r6LCAX.js → Debug-B8Z6UAk7.js} +7 -7
- package/dist/browser/{Demo-Dbrjn3oi.js → Demo-DxKBQPXs.js} +10 -10
- package/dist/browser/{Free-DUcGDkLZ.js → Free-xJ581Tn5.js} +10 -10
- package/dist/browser/{Gallery-CvO5_8hs.js → Gallery-BCLvsYMq.js} +10 -10
- package/dist/browser/{GpsLoader-Cybs-6Z0.js → GpsLoader-D8b4YGWa.js} +19 -19
- package/dist/browser/{KioskStore-Df_lwtgJ.js → KioskStore-iac7BFkc.js} +30 -30
- package/dist/browser/{MaplibreAdapter-BgOzaHlx.js → MaplibreAdapter-hBzzKWxy.js} +749 -614
- package/dist/browser/{ModalContainer-DXVCm1fb.js → ModalContainer-CNFkEgVO.js} +11 -11
- package/dist/browser/{PermissionNotice-B0OJFFky.js → PermissionNotice-BjNUzq-I.js} +7 -7
- package/dist/browser/{SetKioskMode-BdOX40be.js → SetKioskMode-rZPgTzX2.js} +11 -11
- package/dist/browser/ShowKiosk-C0-HDdLS.js +28 -0
- package/dist/browser/{TouchHand-RDWCILm_.js → TouchHand-BpAIvJuD.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-BlCzm_mm.js → ViewerMenuPanel-B8HWceZY.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-lYBneebf.js → add-debug-secret-listener-DrG0zrQz.js} +1 -1
- package/dist/browser/{boolean-editor-C_bdHxC2.js → boolean-editor-CksHtQqy.js} +45 -45
- package/dist/browser/{bootIntercom-Bf4CaruD.js → bootIntercom-DIY2vGKD.js} +2 -2
- package/dist/browser/{booth-by-xy-WnHwiopn.js → booth-by-xy-CB4TcAKe.js} +276 -276
- package/dist/browser/{browser-BGtGwkTn.js → browser-BJI7T84p.js} +2 -2
- package/dist/browser/bundle.json +61 -61
- package/dist/browser/{classnames-DRy7JPyJ.js → classnames-DY5QZHM2.js} +2 -2
- package/dist/browser/{client-BE52OM0U.js → client-BKj8O-3N.js} +10 -10
- package/dist/browser/{components-BfKSs6sY.js → components-C9T4gWSC.js} +1675 -1675
- package/dist/browser/{debug-overlay-mKmIzOYk.js → debug-overlay-oxl07sGQ.js} +355 -355
- package/dist/browser/{debug-ui-DLxMK2XU.js → debug-ui-vcgITEra.js} +6 -6
- package/dist/browser/{dist-DSRSA5oz.js → dist-B6a_6LWa.js} +64 -63
- package/dist/browser/{dist-QsCYWHCu.js → dist-BD71uIJa.js} +5 -5
- package/dist/browser/{dist-eojWwYB5.js → dist-DQ-MzacE.js} +3 -3
- package/dist/browser/{efp-debug-init-C5HgsgC2.js → efp-debug-init-DeppnUIb.js} +2 -2
- package/dist/browser/{enum-editor-BqpFqXiM.js → enum-editor-CeBF-egH.js} +478 -478
- package/dist/browser/{es5-7bslpbjj.js → es5-DyEOE9h8.js} +2 -2
- package/dist/browser/{event-not-found-Bc1SpnKw.js → event-not-found--rNrnsfb.js} +1 -1
- package/dist/browser/{exports-CYJRF2aW.js → exports-CQRMT27z.js} +449 -443
- package/dist/browser/{favicon-CRiidRYo.js → favicon-Y_DfJIgc.js} +1 -1
- package/dist/browser/{fetch-retry.umd-Btwt1fg_.js → fetch-retry.umd-mDEk7YNi.js} +2 -2
- package/dist/browser/{flex-ITkzmA3C.js → flex-gMXInosq.js} +7 -7
- package/dist/browser/{floorplan.loader-DJVlfwah.js → floorplan.loader-CKHHfoqW.js} +1284 -1282
- package/dist/browser/{floorplan.ready-7KwBZy9I.js → floorplan.ready-Dk5rTB4-.js} +282 -282
- package/dist/browser/{fuse-CcYz7YAl.js → fuse-C0XgkQam.js} +4 -4
- package/dist/browser/{i18n-CeVxHTr1.js → i18n-DDp2WKLS.js} +19 -20
- package/dist/browser/index.js +12 -12
- package/dist/browser/{index.module-CV2WVv52.js → index.module-DJ1o-lSs.js} +4 -4
- package/dist/browser/{is-webview-BOqof5Uq.js → is-webview-DSeLj16c.js} +1 -1
- package/dist/browser/{jsx-runtime-BiSrB4Oo.js → jsx-runtime-4SB5tKoZ.js} +2 -2
- package/dist/browser/{lib-Dg9vXDVM.js → lib-CNsibyKE.js} +4 -4
- package/dist/browser/{loadImage-VYhbBgH6.js → loadImage-m5qxmKm8.js} +4 -4
- package/dist/browser/{logDeviceInfo-B8Mi-9H5.js → logDeviceInfo-DJbQFFfl.js} +9 -9
- package/dist/browser/{main-D6ItQIYj.js → main-Ci70zd7U.js} +1 -1
- package/dist/browser/{mobx-Deoo_wpx.js → mobx-85FEI3nE.js} +4 -4
- package/dist/browser/{particles.min-BNwqgit-.js → particles.min-Cjclve40.js} +2 -2
- package/dist/browser/{prop-types-CuEYshV7.js → prop-types-O5uO9swn.js} +2 -2
- package/dist/browser/{react-BMPhuMz9.js → react-938H1sny.js} +2 -2
- package/dist/browser/{react-dom-DSdkXj0b.js → react-dom-BB5-5CwA.js} +3 -3
- package/dist/browser/{reset-all-settings-C2yTiJ1V.js → reset-all-settings-C3UGYA7h.js} +7 -7
- package/dist/browser/{rolldown-runtime-I1EwXf_t.js → rolldown-runtime-D_bOcK0P.js} +1 -1
- package/dist/browser/{settings-Dr8bs0FB.js → settings-CuvIoKLw.js} +2 -2
- package/dist/browser/{settings-item-DjfyQTQB.js → settings-item-jhTAtSrk.js} +15 -15
- package/dist/browser/{store-CVdrQCza.js → store-g-LcmXc-.js} +5123 -5042
- package/dist/browser/{string-editor-3sN4j-ci.js → string-editor-CjVQpF6U.js} +22 -22
- package/dist/browser/{theme-BSTLt6eV.js → theme-DxKuEQUA.js} +927 -930
- package/dist/browser/{ui-CiFfwrN8.js → ui-BMAImlSF.js} +8 -8
- package/dist/browser/{useRenderTarget-DF7LdnYr.js → useRenderTarget-DL0u3FKy.js} +4 -4
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreWrapper.js +1 -1
- package/dist/esm/components/Maplibre/styles/mapbox-streets-bright.d.ts +3 -0
- package/dist/esm/components/Maplibre/styles/mapbox-streets-bright.js +16 -0
- package/dist/esm/components/Maplibre/styles/mapbox-streets.d.ts +3 -0
- package/dist/esm/components/Maplibre/styles/mapbox-streets.js +16 -0
- package/dist/esm/components/Maplibre/useCameraReactions.d.ts +4 -3
- package/dist/esm/components/Maplibre/useCameraReactions.js +1 -1
- package/dist/esm/components/Maplibre/utils/geo-config.d.ts +5 -8
- package/dist/esm/components/Maplibre/utils/geo-config.js +1 -1
- package/dist/esm/components/Maplibre/utils/map-helpers.js +1 -1
- package/dist/esm/components/Maplibre/utils/solver.d.ts +6 -7
- package/dist/esm/components/Maplibre/utils/solver.js +1 -1
- package/dist/esm/data/svg.d.ts +2 -1
- package/dist/esm/data/svg.js +1 -1
- package/dist/esm/renderer/RendererService.d.ts +2 -1
- package/dist/esm/renderer/RendererService.js +1 -1
- package/dist/esm/store/LayerStore.d.ts +1 -0
- package/dist/esm/store/LayerStore.js +1 -1
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/utils/gps.js +1 -1
- package/dist/esm/utils/planBearing.d.ts +14 -0
- package/dist/esm/utils/planBearing.js +1 -0
- package/dist/esm/utils/scene-bounds.d.ts +57 -0
- package/dist/esm/utils/scene-bounds.js +1 -0
- package/package.json +8 -8
- package/dist/browser/ShowKiosk-cvnSTpd2.js +0 -28
|
@@ -10,14 +10,13 @@ export interface TransformGeoConfig {
|
|
|
10
10
|
p2: GeoAnchorPoint;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* the floorplan correctly inside a Maplibre `CustomLayerInterface`.
|
|
13
|
+
* Affine matrix mapping plan (SVG) coordinates to Mercator, used as the
|
|
14
|
+
* `staticTransform` in the `SceneDef` so the renderer can position the floor
|
|
15
|
+
* plan inside a Maplibre `CustomLayerInterface`.
|
|
17
16
|
*
|
|
18
|
-
*
|
|
19
|
-
* to
|
|
20
|
-
*
|
|
17
|
+
* Solved by Gaussian elimination from 3 anchors. The third anchor is synthesized
|
|
18
|
+
* perpendicular to the p0->p2 diagonal, so the result is a similarity transform
|
|
19
|
+
* (uniform scale + rotation, no shear).
|
|
21
20
|
*/
|
|
22
21
|
export declare function calculateTransformMatrix(geoConfig: TransformGeoConfig, units?: string | null): number[];
|
|
23
22
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{MercatorCoordinate as F}from"maplibre-gl";const S=1e-12,g=3.28084,y=6371e3,O=1,k=.02;export function calculateTransformMatrix(t,i){let r,a;try{r=q(t),a="perpendicular"}catch(h){if(!t.p1)throw h;r=t.p1,a="explicit-fallback"}const o=G(t);a==="perpendicular"&&o?.inconsistent&&console.warn("Maplibre geo: ignoring inconsistent anchor p1; placing venue from the p0->p2 diagonal.",{angleErrorDeg:o.angleErrorDeg,sideRatioError:o.ratioError});const n=[t.p0,r,t.p2],s=[],c=[],e=[];for(const h of n){B(h),c.push([h.x,h.y]);const p=F.fromLngLat([h.lng,h.lat],0),d=p.meterInMercatorCoordinateUnits();M(p.x),M(p.y),M(d),s.push(d),e.push([p.x,p.y])}const l=[],E=[];for(let h=0;h<3;h++){const[p,d]=c[h],[A,L]=e[h];l.push([p,d,1,0,0,0]),E.push(A),l.push([0,0,0,p,d,1]),E.push(L)}const P=V(l,E),[R,w,D,T,I,N]=P,_=i?.toLowerCase?.().trim()==="ft"?1/g:1,v=s.reduce((h,p)=>h+p,0)/s.length*_,f=[R,T,0,0,w,I,0,0,0,0,v,0,D,N,0,1];if(!f.every(Number.isFinite))throw new Error("Cannot calculate Maplibre transform: geo anchor points produced a non-finite matrix.");return f}function G(t){const i=t.p1;if(!i)return null;const r=Z(t.p0.x,t.p0.y,i.x,i.y,t.p2.x,t.p2.y),a=j(t.p0,i,t.p2),o=Math.abs(r.angleDeg-a.angleDeg),n=Number.isFinite(a.axisRatio)&&a.axisRatio>0?Math.abs(r.axisRatio/a.axisRatio-1):1/0;return{angleErrorDeg:o,ratioError:n,inconsistent:o>O||n>k}}function Z(t,i,r,a,o,n){const s=Math.hypot(r-t,a-i),c=Math.hypot(o-t,n-i),e=(r-t)*(o-t)+(a-i)*(n-i),l=s>0&&c>0?e/(s*c):NaN;return{axisRatio:s>0?c/s:1/0,angleDeg:m(Math.acos(Math.max(-1,Math.min(1,l))))}}function j(t,i,r){const a=x(t.lat,t.lng,i.lat,i.lng),o=x(t.lat,t.lng,r.lat,r.lng),n=b(t.lat,t.lng,i.lat,i.lng),s=b(t.lat,t.lng,r.lat,r.lng);let c=Math.abs(s-n)%360;return c>180&&(c=360-c),{axisRatio:a>0?o/a:1/0,angleDeg:c}}function q(t){const i=t.p2.x-t.p0.x,r=t.p2.y-t.p0.y;if(i===0&&r===0)throw new Error("Cannot calculate Maplibre transform: p0 and p2 have identical SVG coordinates.");const a=t.p0.x-r,o=t.p0.y+i,n=x(t.p0.lat,t.p0.lng,t.p2.lat,t.p2.lng),s=b(t.p0.lat,t.p0.lng,t.p2.lat,t.p2.lng),[c,e]=U(t.p0.lat,t.p0.lng,n,s+90);return{x:a,y:o,lat:e,lng:c}}function B(t){M(t.x),M(t.y),M(t.lat),M(t.lng)}function M(t){if(!Number.isFinite(t))throw new Error("Cannot calculate Maplibre transform: geo anchor points contain invalid coordinates.")}function u(t){return t*Math.PI/180}function m(t){return t*180/Math.PI}function x(t,i,r,a){const o=u(t),n=u(r),s=u(r-t),c=u(a-i),e=Math.sin(s/2)*Math.sin(s/2)+Math.cos(o)*Math.cos(n)*Math.sin(c/2)*Math.sin(c/2),l=2*Math.atan2(Math.sqrt(e),Math.sqrt(1-e));return y*l}function b(t,i,r,a){const o=u(t),n=u(r),s=u(a-i),c=Math.sin(s)*Math.cos(n),e=Math.cos(o)*Math.sin(n)-Math.sin(o)*Math.cos(n)*Math.cos(s);return(m(Math.atan2(c,e))+360)%360}function U(t,i,r,a){const o=r/y,n=u(a),s=u(t),c=u(i),e=Math.asin(Math.sin(s)*Math.cos(o)+Math.cos(s)*Math.sin(o)*Math.cos(n)),l=c+Math.atan2(Math.sin(n)*Math.sin(o)*Math.cos(s),Math.cos(o)-Math.sin(s)*Math.sin(e));return[m(l),m(e)]}function V(t,i){const r=t.length,a=t.map((n,s)=>[...n,i[s]]);for(let n=0;n<r;n++){let s=n;for(let c=n+1;c<r;c++)Math.abs(a[c][n])>Math.abs(a[s][n])&&(s=c);if([a[n],a[s]]=[a[s],a[n]],Math.abs(a[n][n])<S)throw new Error("Cannot calculate Maplibre transform: geo anchor points are collinear or invalid.");for(let c=n+1;c<r;c++){const e=a[c][n]/a[n][n];for(let l=n;l<=r;l++)a[c][l]-=e*a[n][l]}}const o=new Array(r);for(let n=r-1;n>=0;n--){o[n]=a[n][r];for(let s=n+1;s<r;s++)o[n]-=a[n][s]*o[s];o[n]/=a[n][n]}return o}
|
package/dist/esm/data/svg.d.ts
CHANGED
|
@@ -2,11 +2,12 @@ import { Box } from '@expofp/geometry';
|
|
|
2
2
|
import { Layer } from '../store/LayerStore';
|
|
3
3
|
declare const svgViewBox: Box;
|
|
4
4
|
declare let svgArea: Box;
|
|
5
|
+
declare let svgAreaExplicit: boolean;
|
|
5
6
|
declare let floors: {
|
|
6
7
|
name: string | undefined;
|
|
7
8
|
rect: Box;
|
|
8
9
|
}[];
|
|
9
|
-
export { floors, svgArea, svgViewBox };
|
|
10
|
+
export { floors, svgArea, svgAreaExplicit, svgViewBox };
|
|
10
11
|
export declare function getTrianglesFromFpPaths(index: number, suffix: string): number[][][];
|
|
11
12
|
export declare let gtePathByIndex: (index: number, suffix?: string) => any;
|
|
12
13
|
export declare let getLayerSvg: (layer?: Layer | string) => SVGElement;
|
package/dist/esm/data/svg.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Box as
|
|
1
|
+
import{Box as g}from"@expofp/geometry";import*as a from"d3-selection";import{STRING_META_DELIMITER as _}from"../constants";import v from"../tools/logger";import A from"../tools/settings";import{extractMetaFromString as x}from"../utils/extractMetaFromString";import B from".";const r=new Map;function w(e,n=""){if(r.has(n))return r.get(n);const s=new DOMParser().parseFromString(e,"image/svg+xml").documentElement;s.firstChild.tagName==="parsererror"&&v.error("Parsed svg with error: ",c);const t=new Map;return a.select(s).selectAll("style").each(function(){const i=this.textContent,M=/\.([a-z0-9.]+)\s*{[^}]*fill\s*:\s*([^};]+);[^}]*}/gi;let h;for(;(h=M.exec(i))!==null;){const P=h[1],b=h[2];t.set(P,b)}}),a.select(s).selectAll("*[class]").each(function(){const i=this;i.style.fill=t.get(i.className.baseVal)}),E(s),r.set(n,s),s}let c=w(window.__fp);const l=window.__viewbox,p=a.select(c).select("rect#VIEWBOX").node(),d=c.viewBox.baseVal,m=new g(d.x,d.y,d.width,d.height);let f,u=!1;l?(f=new g(l.x,l.y,l.width,l.height),u=!0,p?.remove()):p?(f=g.fromSvg(p),u=!0,p.remove()):f=m.scale(1.1),a.select(c).attr("width",m.size.width),a.select(c).attr("height",m.size.height),v.log("svgArea",f,"svgViewBox",m),A.wayfinding=!!(!B.hideDirections&&window.__wfData);let S=window.__fpLayersMode?a.select(c).selectAll("[data-floor]").nodes().map(e=>(e.remove(),{name:e.dataset.floor,rect:g.fromSvg(e)})).sort():[];export{S as floors,f as svgArea,u as svgAreaExplicit,m as svgViewBox};export function getTrianglesFromFpPaths(e,n){const o=gtePathByIndex(e,n);for(const t of o.positions)t[1]=Math.abs(t[1]),t.length=2;const s=[];for(const t of o.cells)s.push([o.positions[t[0]],o.positions[t[1]],o.positions[t[2]]]);return s}export let gtePathByIndex=(e,n="")=>{try{return window[`__fpPaths${n}`][e]}catch{return window.__fpPaths[e]}},getLayerSvg=(e="")=>typeof e=="string"?r.has(e)?r.get(e):window[`__fp${e}`]?w(window[`__fp${e}`],e):r.get(""):e.rootParent?r.has(e.rootParent.name)?r.get(e.rootParent.name):window[`__fp${e.rootParent.name}`]?w(window[`__fp${e.rootParent.name}`],e.rootParent.name):r.get(""):window[`__fp${e.name}`]?w(window[`__fp${e.name}`],e.name):r.get("");function E(e){a.select(e).selectAll("[id], [data-name]").each(function(){const n=this;let o={};const s=n.getAttribute("data-name");if(s&&s.includes(_)){const{meta:i}=x(s);o={...o,...i}}const t=n.getAttribute("id");if(t&&t.includes(_)){const{meta:i}=x(t);o={...o,...i}}n.setAttribute("data-meta",JSON.stringify(o))})}
|
|
@@ -7,6 +7,7 @@ export declare class RendererService {
|
|
|
7
7
|
private _fontUrls;
|
|
8
8
|
private requestRepaint;
|
|
9
9
|
private currentPtScale;
|
|
10
|
+
private ptScaleCorrection;
|
|
10
11
|
private rendererEventsCleanup;
|
|
11
12
|
readonly ptScaleRegistry: HandlerRegistry<PtScaleHandler>;
|
|
12
13
|
readonly rollRegistry: HandlerRegistry<RollHandler>;
|
|
@@ -19,7 +20,7 @@ export declare class RendererService {
|
|
|
19
20
|
get angle(): number;
|
|
20
21
|
create(options: RendererOptions): Renderer;
|
|
21
22
|
start(scene: SceneDef): void;
|
|
22
|
-
attach(renderer: Renderer, scene: SceneDef, requestRepaint?: () => void): void;
|
|
23
|
+
attach(renderer: Renderer, scene: SceneDef, requestRepaint?: () => void, ptScaleCorrection?: number): void;
|
|
23
24
|
dispose(): void;
|
|
24
25
|
disposeIfCurrent(renderer: Renderer | null): void;
|
|
25
26
|
onPtScale(name: string, handler: PtScaleHandler): Disposer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Renderer as
|
|
1
|
+
import{Renderer as c}from"@expofp/renderer";import{HandlerRegistry as a}from"./HandlerRegistry";import{loadCustomFontsUrls as h}from"./index";import d from"../tools/logger";import{isDefaultScene as p}from"./engine-core/defs";export class RendererService{_renderer=null;_scene=null;_fontUrls=[];requestRepaint=null;currentPtScale=null;ptScaleCorrection=1;rendererEventsCleanup=null;ptScaleRegistry=new a;rollRegistry=new a;layerImagesRegistry=new a;get renderer(){return this._renderer?.isInitialized?this._renderer:null}get scene(){return this._scene}get fontUrls(){return this._fontUrls}getCameraState(){if(!this._renderer?.isInitialized){d.warn("Renderer is not initialized. Cannot get camera state.");return}return this._renderer.controls.getCameraState()}get scale(){return this.currentPtScale!==null?this.currentPtScale:this._renderer?.isInitialized?this._renderer.controls.getCameraState()?.ptScale??1:1}get angle(){return this._renderer?.isInitialized?this._renderer.controls.getCameraState()?.roll??0:0}create(e){return this._renderer=new c(e),this._fontUrls=h(),this.setupEventListeners(),this._renderer}start(e){if(this._scene=e,this.requestRepaint=null,!this._renderer)throw new Error("RendererService: renderer is not created.");this._renderer.init(e),this._renderer.start()}attach(e,r,l,n=1){this._renderer=e,this._scene=r,this._fontUrls=h(),this.requestRepaint=l??null,this.ptScaleCorrection=n,this.setupEventListeners()}dispose(){this.rendererEventsCleanup?.(),this.rendererEventsCleanup=null,this.ptScaleRegistry.clear(),this.rollRegistry.clear(),this.layerImagesRegistry.clear(),this._renderer?.dispose(),this._renderer=null,this._scene=null,this._fontUrls=[],this.requestRepaint=null,this.currentPtScale=null,this.ptScaleCorrection=1}disposeIfCurrent(e){if(!e||this._renderer!==e){e?.dispose();return}this.dispose()}onPtScale(e,r){return this.ptScaleRegistry.register(e,r)}onRoll(e,r){return this.rollRegistry.register(e,r)}onLayerImages(e,r){return this.layerImagesRegistry.register(e,r)}update(...e){if(this._renderer){if(!this._renderer.isInitialized){d.warn("Renderer is not initialized. Cannot update.");return}this._renderer.update(...e),this.requestRepaint?.()}}setupEventListeners(){this.rendererEventsCleanup?.(),this.rendererEventsCleanup=null;const e=this._renderer;if(!e)return;const r=n=>{const{ptScale:t,sceneId:i}=f(n);if(!p(i)||!Number.isFinite(t))return;const o=t*this.ptScaleCorrection;this.currentPtScale=o;const u=[...this.ptScaleRegistry.invoke(o)];u.length&&this.update(...u)},l=n=>{if(!Number.isFinite(n))return;const t=[];for(const i of this.rollRegistry.invoke(n))Array.isArray(i)?t.push(...i):t.push(i);t.length&&this.update(...t)};e.events.addEventListener("viewport:ptscale",r),e.events.addEventListener("navigation:roll",l),this.rendererEventsCleanup=()=>{e.events.removeEventListener("viewport:ptscale",r),e.events.removeEventListener("navigation:roll",l)}}}function f(s){return typeof s=="number"?{ptScale:s}:s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__esDecorate as
|
|
1
|
+
import{__esDecorate as s,__runInitializers as o}from"tslib";import{Box as O}from"@expofp/geometry";import{action as w,computed as u,observable as h,runInAction as j}from"mobx";import C from"../components/Map/drawing/config/config-load-layer";import{areLayersEnabled as B}from"../utils/areLayersEnabled";import{shortenName as D}from"../utils/shortenName";import n from".";export var LayersMode;(function(i){i[i.Default=0]="Default",i[i.Separated=1]="Separated",i[i.Radio=2]="Radio",i[i.CheckBox=3]="CheckBox"})(LayersMode||(LayersMode={}));export var LayerMode;(function(i){i[i.Unset=0]="Unset",i[i.AlwaysVisible=1]="AlwaysVisible",i[i.AlwaysHidden=2]="AlwaysHidden",i[i.TurnedOn=3]="TurnedOn",i[i.TurnedOff=4]="TurnedOff"})(LayerMode||(LayerMode={}));let W=(()=>{let i,y=[],m=[],p,v=[],b=[];return class{static{const c=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;i=[h],p=[h],s(null,null,i,{kind:"field",name:"loaded",static:!1,private:!1,access:{has:l=>"loaded"in l,get:l=>l.loaded,set:(l,f)=>{l.loaded=f}},metadata:c},y,m),s(null,null,p,{kind:"field",name:"visible",static:!1,private:!1,access:{has:l=>"visible"in l,get:l=>l.visible,set:(l,f)=>{l.visible=f}},metadata:c},v,b),c&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:c})}basePriority;name;description;frozen;rect=null;viewbox=null;configured;childLayers=[];rootParent=null;mode;children=[];pathway;floorIndex;loaded=o(this,y,void 0);visible=(o(this,m),o(this,v,void 0));get shortName(){return D(this.description)}constructor(){o(this,b)}}})();export{W as Layer};let N=(()=>{let i=[],y,m=[],p=[],v,b=[],_=[],c,l=[],f=[],L,x=[],S=[],k,P,R,A,I,z,T,V,E;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;y=[h],v=[h],c=[h],L=[h],k=[u({keepAlive:!0})],P=[u({keepAlive:!0})],R=[u({keepAlive:!0})],A=[u({keepAlive:!0})],I=[u],z=[u],T=[w],V=[w],E=[w],s(this,null,k,{kind:"getter",name:"visible",static:!1,private:!1,access:{has:e=>"visible"in e,get:e=>e.visible},metadata:t},null,i),s(this,null,P,{kind:"getter",name:"loaded",static:!1,private:!1,access:{has:e=>"loaded"in e,get:e=>e.loaded},metadata:t},null,i),s(this,null,R,{kind:"getter",name:"rectangle",static:!1,private:!1,access:{has:e=>"rectangle"in e,get:e=>e.rectangle},metadata:t},null,i),s(this,null,A,{kind:"getter",name:"viewboxRectangle",static:!1,private:!1,access:{has:e=>"viewboxRectangle"in e,get:e=>e.viewboxRectangle},metadata:t},null,i),s(this,null,I,{kind:"getter",name:"pathwayLayers",static:!1,private:!1,access:{has:e=>"pathwayLayers"in e,get:e=>e.pathwayLayers},metadata:t},null,i),s(this,null,z,{kind:"getter",name:"floors",static:!1,private:!1,access:{has:e=>"floors"in e,get:e=>e.floors},metadata:t},null,i),s(this,null,T,{kind:"method",name:"updateVisibility",static:!1,private:!1,access:{has:e=>"updateVisibility"in e,get:e=>e.updateVisibility},metadata:t},null,i),s(this,null,V,{kind:"method",name:"showPathWay",static:!1,private:!1,access:{has:e=>"showPathWay"in e,get:e=>e.showPathWay},metadata:t},null,i),s(this,null,E,{kind:"method",name:"hidePathways",static:!1,private:!1,access:{has:e=>"hidePathways"in e,get:e=>e.hidePathways},metadata:t},null,i),s(null,null,y,{kind:"field",name:"layers",static:!1,private:!1,access:{has:e=>"layers"in e,get:e=>e.layers,set:(e,a)=>{e.layers=a}},metadata:t},m,p),s(null,null,v,{kind:"field",name:"defaultLayer",static:!1,private:!1,access:{has:e=>"defaultLayer"in e,get:e=>e.defaultLayer,set:(e,a)=>{e.defaultLayer=a}},metadata:t},b,_),s(null,null,c,{kind:"field",name:"mode",static:!1,private:!1,access:{has:e=>"mode"in e,get:e=>e.mode,set:(e,a)=>{e.mode=a}},metadata:t},l,f),s(null,null,L,{kind:"field",name:"layersLoaded",static:!1,private:!1,access:{has:e=>"layersLoaded"in e,get:e=>e.layersLoaded,set:(e,a)=>{e.layersLoaded=a}},metadata:t},x,S),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}layers=(o(this,i),o(this,m,[]));defaultLayer=(o(this,p),o(this,b,void 0));mode=(o(this,_),o(this,l,void 0));layersLoaded=(o(this,f),o(this,x,!1));updateVisibilityTimeout=(o(this,S),0);get visible(){return this.layers.filter(t=>t.frozen||t.visible)}get loaded(){return this.layers.filter(t=>t.loaded)}get rectangle(){var t=this.visible.filter(e=>!e.frozen).map(e=>e.viewbox??e.rect);return this.mode!==LayersMode.Radio||!t.length?null:O.fromUnion(...t)||null}get viewboxRectangle(){var t=this.visible.filter(e=>!e.frozen&&e.viewbox).map(e=>e.viewbox);return t.length&&O.fromUnion(...t)||null}get pathwayLayers(){return this.layers.filter(t=>t.pathway)}get floors(){if(!B())return[];const t=new Set(this.layers.filter(a=>a&&!a.frozen&&!a.rootParent&&!a.pathway).concat(n.routeStore.layers.filter(a=>a&&a.mode!==LayerMode.AlwaysHidden&&a.mode!==LayerMode.AlwaysVisible))),e=Array.from(t).reverse();return e.map((a,r)=>{const d=n.routeStore.layers.length>0&&n.routeStore.layers.indexOf(a)===-1,g=n.toursStore.tourLayers.length>0&&n.toursStore.tourLayers.indexOf(a)===-1;return{layer:a,name:a.name,shortName:a.shortName,description:a.description,active:a.visible,disabled:!!(d||g),index:a.floorIndex??e.length-r-1}})}updateVisibility(t,e){if(this.mode===LayersMode.Radio&&!e)return;const a=t instanceof W?t:this.findLayer(t);if(!a||a.visible===e){a&&n.routeStore.currentRouteLayer!==a&&(n.routeStore.currentRouteLayer=a);return}C(a,n.rendererService).then(()=>{this.mode===LayersMode.Radio&&this.layers.filter(r=>!r.pathway).forEach(r=>{r.name!==a.name&&!r.frozen&&r.visible&&(r.visible=!1,r.childLayers.forEach(d=>{d.visible=!1}))}),a&&(a.visible=e,a.childLayers.forEach(r=>{r.visible=e}),e&&(n.routeStore.currentRouteLayer=a),typeof n.fp.onFloorActivated=="function"&&(clearTimeout(this.updateVisibilityTimeout),this.updateVisibilityTimeout=setTimeout(()=>{const r=n.fp.getFloors();n.fp.onFloorActivated(r.find(d=>d.name===a.name))})))})}findLayer(t){if(t==null)return null;const e=this.layers.filter(r=>!r.rootParent);if(typeof t=="number"&&(a=e.filter(r=>!r.frozen)[t],a))return a;t=t.toString().toLowerCase();var a=e.find(r=>{const d=(r.name.match(/(-?[0-9]+)/)||"")[0];return t===r?.name.toLowerCase()||t===r?.description.toLowerCase()||t===r?.shortName.toLowerCase()||t===d});return!a&&!/\D/.test(t)&&(a=e.filter(r=>!r.frozen)[parseInt(t)]),a}getPathwayList(){return this.layers.filter(t=>t.pathway)}async showPathWay(t){try{const e=this.findLayer(t);if(!e)throw new Error(`There is no pathway with this name. ${t}`);await C(e,n.rendererService);const a=this.getPathwayList();j(()=>{a.forEach(r=>{const d=r.name===t;r.visible=d,r.childLayers.forEach(g=>{g.visible=d})})})}catch(e){console.error("showPathWay",e)}}hidePathways(){this.getPathwayList().forEach(e=>{e.visible=!1,e.childLayers.forEach(a=>{a.visible=!1})})}}})();export default N;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__esDecorate as i,__runInitializers as a}from"tslib";import{Box as ql}from"@expofp/geometry";import{action as m,computed as c,observable as o}from"mobx";import{setKioskUrlParams as er}from"../components/Kiosk/kioskUrlParam";import{LANGUAGE_TYPE as A,MAP_SETTINGS_KEY as tr,MOBILE_BREAKPOINT as sr,PREVIEW_MODE_STORAGE_KEY as ir,UI_SCALE_STORAGE_KEY as Q,VIEWER_MODE_STORAGE_KEY as ar,VISIBILITY_STORAGE_KEY as Gl}from"../constants";import C from"../data";import{svgArea as lr}from"../data/svg";import{readFreeBannerDismissed as rr}from"../tools/freeBanner";import{hasUserConsent as or}from"../tools/gtag";import{hasHtmlTags as Ql}from"../tools/has-html-tags";import nr from"../tools/logger";import V from"../tools/settings";import{stripHtml as Yl}from"../tools/strip-html";import{remsToPixels as N}from"../utils";import $l from"../utils/browser";import{getLocale as cr,getLocales as dr,t as y}from"../utils/i18n";import{isLocalStorageAvailable as B}from"../utils/localStorage";import{getResponsiveClass as hr}from"../utils/responsiveClass";import{sanitizeStr as jl}from"../utils/sanitizeText";import{uiState as w}from".";import{BoothBase as b,RegularBooth as E,SpecialBooth as Y}from"./BoothStore";import{EventItem as F}from"./EventStore";import{Exhibitor as x}from"./ExhibitorStore";import{findEntityByExternalId as ur,Route as R}from"./RouteStore";import{SpeakerItem as $}from"./SpeakerStore";const fr=["dimensions25"];let mr=(()=>{var U,O,H,z,k;let l=[],T,j=[],W=[],Z,X=[],J=[],q,ee=[],te=[],se,ie=[],ae=[],le,re=[],oe=[],ne,ce=[],de=[],he,ue=[],fe=[],me,ge=[],pe=[],_e,ve=[],Se=[],ye,ke=[],Ie=[],be,xe=[],ze=[],Ce,Be=[],Me=[],Pe,we=[],Te=[],Re,Oe=[],De=[],Le,Ae=[],Ee=[],Fe,Ue=[],He=[],Ve,Ne=[],Ke=[],Ge,Qe=[],Ye=[],$e,je=[],We=[],Ze,Xe=[],Je=[],qe,et=[],tt=[],st,it=[],at=[],lt,rt=[],ot=[],nt,ct=[],dt=[],ht,ut=[],ft=[],mt,gt=[],pt=[],_t,vt=[],St=[],yt,kt=[],It=[],bt,xt=[],zt=[],Ct,Bt=[],Mt=[],Pt,wt=[],Tt=[],Rt,Ot=[],Dt=[],Lt,At=[],Et=[],Ft,Ut=[],Ht=[],Vt,Nt=[],Kt=[],Gt,Qt=[],Yt=[],$t,jt=[],Wt=[],Zt,Xt=[],Jt=[],qt,es=[],ts=[],ss,is=[],as=[],ls,rs=[],os=[],ns,cs=[],ds=[],hs,us=[],fs=[],ms,gs=[],ps=[],_s,vs=[],Ss=[],ys,ks=[],Is=[],bs,xs=[],zs=[],Cs,Bs=[],Ms=[],Ps,ws=[],Ts=[],Rs,Os=[],Ds=[],Ls,As=[],Es=[],Fs,Us=[],Hs=[],Vs,Ns=[],Ks=[],Gs,Qs=[],Ys=[],$s,js=[],Ws=[],Zs,Xs=[],Js=[],qs,ei=[],ti=[],si,ii=[],ai=[],li,ri=[],oi=[],ni,ci=[],di=[],hi,ui=[],fi=[],mi,gi=[],pi=[],_i,vi=[],Si=[],yi,ki=[],Ii=[],bi,xi=[],zi=[],Ci,Bi,Mi,Pi,wi,Ti,Ri,Oi,Di,Li,Ai,Ei,Fi,Ui,Hi,Vi,Ni,Ki,Gi,Qi,Yi,$i,ji,Wi,Zi,Xi,Ji,qi,ea,ta,sa,ia,aa,la,ra,oa,na,ca,da,ha,ua,fa,ma,ga,pa,_a,va,Sa,ya,ka,Ia,ba=[],xa=[],za,Ca,Ba,Ma,Pa,wa,Ta,Ra,Oa,Da,La,Aa,Ea,Fa,Ua,Ha,Va,Na,Ka,Ga,Qa,Ya,$a=[],ja=[],Wa,Za,Xa,Ja,qa,el,tl,sl,il,al,ll,rl,ol,nl,cl,dl,hl,ul,fl,ml,gl,pl=[],_l=[],vl,Sl,yl,kl=[],Il=[],bl,xl,zl=[],Cl=[],Bl,Ml,Pl,wl,Tl,Rl,Ol=[],Dl=[],Ll,Al,El=[],Fl=[],Ul;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;T=[(U=o).struct.bind(U)],Z=[(O=o).ref.bind(O)],q=[(H=o).ref.bind(H)],se=[(z=o).ref.bind(z)],le=[o],ne=[o],he=[o],me=[o],_e=[o],ye=[o],be=[o],Ce=[o],Pe=[o],Re=[o],Le=[o],Fe=[(k=o).struct.bind(k)],Ve=[o],Ge=[o],$e=[o],Ze=[o],qe=[o],st=[o],lt=[o],nt=[o],ht=[o],mt=[o],_t=[o],yt=[o],bt=[o],Ct=[o],Pt=[o],Rt=[o],Lt=[o],Ft=[o],Vt=[o],Gt=[o],$t=[o],Zt=[o],qt=[o],ss=[o],ls=[o],ns=[o],hs=[o],ms=[o],_s=[o],ys=[o],bs=[o],Cs=[o],Ps=[o],Rs=[o],Ls=[o],Fs=[o],Vs=[o],Gs=[o],$s=[o],Zs=[o],qs=[o],si=[o],li=[o],ni=[o],hi=[o],mi=[o],_i=[o],yi=[o],bi=[o],Ci=[m],Bi=[m],Mi=[m],Pi=[m],wi=[m],Ti=[m],Ri=[m],Oi=[m],Di=[m],Li=[m],Ai=[m],Ei=[c],Fi=[c],Ui=[c],Hi=[c({keepAlive:!0})],Vi=[c({keepAlive:!0})],Ni=[c({keepAlive:!0})],Ki=[c({keepAlive:!0})],Gi=[c({keepAlive:!0})],Qi=[c({keepAlive:!0})],Yi=[c({keepAlive:!0})],$i=[c({keepAlive:!0})],ji=[c({keepAlive:!0})],Wi=[c],Zi=[c],Xi=[c],Ji=[c],qi=[c],ea=[c],ta=[c],sa=[c],ia=[c({keepAlive:!0})],aa=[c],la=[c],ra=[c({keepAlive:!0})],oa=[c],na=[c],ca=[c],da=[c],ha=[c],ua=[c],fa=[c],ma=[c],ga=[c],pa=[c],_a=[c],va=[c],Sa=[c],ya=[c],ka=[c({keepAlive:!0})],Ia=[o],za=[m],Ca=[c],Ba=[c],Ma=[c],Pa=[c],wa=[c],Ta=[c],Ra=[c],Oa=[c],Da=[c],La=[c({keepAlive:!0})],Aa=[c({keepAlive:!0})],Ea=[c({keepAlive:!0})],Fa=[c],Ua=[m],Ha=[m],Va=[m],Na=[m],Ka=[m],Ga=[m],Qa=[c({keepAlive:!0})],Ya=[o],Wa=[m],Za=[m],Xa=[c],Ja=[c],qa=[c],el=[c],tl=[c],sl=[c],il=[c],al=[c],ll=[c],rl=[m],ol=[m],nl=[m],cl=[m],dl=[m],hl=[m],ul=[c],fl=[c],ml=[m],gl=[o],vl=[m],Sl=[c],yl=[o],bl=[m],xl=[o],Bl=[m],Ml=[m],Pl=[m],wl=[m],Tl=[m],Rl=[o],Ll=[m],Al=[o],Ul=[m],i(this,null,Ci,{kind:"method",name:"setSelectedCategoryFilters",static:!1,private:!1,access:{has:e=>"setSelectedCategoryFilters"in e,get:e=>e.setSelectedCategoryFilters},metadata:t},null,l),i(this,null,Bi,{kind:"method",name:"resetCategoryFilter",static:!1,private:!1,access:{has:e=>"resetCategoryFilter"in e,get:e=>e.resetCategoryFilter},metadata:t},null,l),i(this,null,Mi,{kind:"method",name:"setSearchClearMode",static:!1,private:!1,access:{has:e=>"setSearchClearMode"in e,get:e=>e.setSearchClearMode},metadata:t},null,l),i(this,null,Pi,{kind:"method",name:"setRouteTitle",static:!1,private:!1,access:{has:e=>"setRouteTitle"in e,get:e=>e.setRouteTitle},metadata:t},null,l),i(this,null,wi,{kind:"method",name:"setRouteDescription",static:!1,private:!1,access:{has:e=>"setRouteDescription"in e,get:e=>e.setRouteDescription},metadata:t},null,l),i(this,null,Ti,{kind:"method",name:"setIsMultiPointRoute",static:!1,private:!1,access:{has:e=>"setIsMultiPointRoute"in e,get:e=>e.setIsMultiPointRoute},metadata:t},null,l),i(this,null,Ri,{kind:"method",name:"setTourTitle",static:!1,private:!1,access:{has:e=>"setTourTitle"in e,get:e=>e.setTourTitle},metadata:t},null,l),i(this,null,Oi,{kind:"method",name:"setTourDescription",static:!1,private:!1,access:{has:e=>"setTourDescription"in e,get:e=>e.setTourDescription},metadata:t},null,l),i(this,null,Di,{kind:"method",name:"setIsMultiPointTour",static:!1,private:!1,access:{has:e=>"setIsMultiPointTour"in e,get:e=>e.setIsMultiPointTour},metadata:t},null,l),i(this,null,Li,{kind:"method",name:"setPathwayOnlyMode",static:!1,private:!1,access:{has:e=>"setPathwayOnlyMode"in e,get:e=>e.setPathwayOnlyMode},metadata:t},null,l),i(this,null,Ai,{kind:"method",name:"setMultiPointTourList",static:!1,private:!1,access:{has:e=>"setMultiPointTourList"in e,get:e=>e.setMultiPointTourList},metadata:t},null,l),i(this,null,Ei,{kind:"getter",name:"activePathwayLayers",static:!1,private:!1,access:{has:e=>"activePathwayLayers"in e,get:e=>e.activePathwayLayers},metadata:t},null,l),i(this,null,Fi,{kind:"getter",name:"highlightedBooths",static:!1,private:!1,access:{has:e=>"highlightedBooths"in e,get:e=>e.highlightedBooths},metadata:t},null,l),i(this,null,Ui,{kind:"getter",name:"rtl",static:!1,private:!1,access:{has:e=>"rtl"in e,get:e=>e.rtl},metadata:t},null,l),i(this,null,Hi,{kind:"getter",name:"noOverlay",static:!1,private:!1,access:{has:e=>"noOverlay"in e,get:e=>e.noOverlay},metadata:t},null,l),i(this,null,Vi,{kind:"getter",name:"selectedExhibitor",static:!1,private:!1,access:{has:e=>"selectedExhibitor"in e,get:e=>e.selectedExhibitor},metadata:t},null,l),i(this,null,Ni,{kind:"getter",name:"selectedBooth",static:!1,private:!1,access:{has:e=>"selectedBooth"in e,get:e=>e.selectedBooth},metadata:t},null,l),i(this,null,Ki,{kind:"getter",name:"selectedCategory",static:!1,private:!1,access:{has:e=>"selectedCategory"in e,get:e=>e.selectedCategory},metadata:t},null,l),i(this,null,Gi,{kind:"getter",name:"selectedRoute",static:!1,private:!1,access:{has:e=>"selectedRoute"in e,get:e=>e.selectedRoute},metadata:t},null,l),i(this,null,Qi,{kind:"getter",name:"selectedSpeaker",static:!1,private:!1,access:{has:e=>"selectedSpeaker"in e,get:e=>e.selectedSpeaker},metadata:t},null,l),i(this,null,Yi,{kind:"getter",name:"uiScale",static:!1,private:!1,access:{has:e=>"uiScale"in e,get:e=>e.uiScale},metadata:t},null,l),i(this,null,$i,{kind:"getter",name:"isGuidedToursActive",static:!1,private:!1,access:{has:e=>"isGuidedToursActive"in e,get:e=>e.isGuidedToursActive},metadata:t},null,l),i(this,null,ji,{kind:"getter",name:"getRouteNextFloor",static:!1,private:!1,access:{has:e=>"getRouteNextFloor"in e,get:e=>e.getRouteNextFloor},metadata:t},null,l),i(this,null,Wi,{kind:"getter",name:"headerHeightRem",static:!1,private:!1,access:{has:e=>"headerHeightRem"in e,get:e=>e.headerHeightRem},metadata:t},null,l),i(this,null,Zi,{kind:"getter",name:"headerHeightPx",static:!1,private:!1,access:{has:e=>"headerHeightPx"in e,get:e=>e.headerHeightPx},metadata:t},null,l),i(this,null,Xi,{kind:"getter",name:"overlayPosition",static:!1,private:!1,access:{has:e=>"overlayPosition"in e,get:e=>e.overlayPosition},metadata:t},null,l),i(this,null,Ji,{kind:"getter",name:"overlayCollapsed",static:!1,private:!1,access:{has:e=>"overlayCollapsed"in e,get:e=>e.overlayCollapsed},metadata:t},null,l),i(this,null,qi,{kind:"getter",name:"overlaySize",static:!1,private:!1,access:{has:e=>"overlaySize"in e,get:e=>e.overlaySize},metadata:t},null,l),i(this,null,ea,{kind:"getter",name:"overlayBottom",static:!1,private:!1,access:{has:e=>"overlayBottom"in e,get:e=>e.overlayBottom},metadata:t},null,l),i(this,null,ta,{kind:"getter",name:"overlayLeft",static:!1,private:!1,access:{has:e=>"overlayLeft"in e,get:e=>e.overlayLeft},metadata:t},null,l),i(this,null,sa,{kind:"getter",name:"overlayWidthPx",static:!1,private:!1,access:{has:e=>"overlayWidthPx"in e,get:e=>e.overlayWidthPx},metadata:t},null,l),i(this,null,ia,{kind:"getter",name:"wsImageHeightPx",static:!1,private:!1,access:{has:e=>"wsImageHeightPx"in e,get:e=>e.wsImageHeightPx},metadata:t},null,l),i(this,null,aa,{kind:"getter",name:"wsPaddingPx",static:!1,private:!1,access:{has:e=>"wsPaddingPx"in e,get:e=>e.wsPaddingPx},metadata:t},null,l),i(this,null,la,{kind:"getter",name:"wsOccupiedHeightPx",static:!1,private:!1,access:{has:e=>"wsOccupiedHeightPx"in e,get:e=>e.wsOccupiedHeightPx},metadata:t},null,l),i(this,null,ra,{kind:"getter",name:"wsShown",static:!1,private:!1,access:{has:e=>"wsShown"in e,get:e=>e.wsShown},metadata:t},null,l),i(this,null,oa,{kind:"getter",name:"wsDesktopPosition",static:!1,private:!1,access:{has:e=>"wsDesktopPosition"in e,get:e=>e.wsDesktopPosition},metadata:t},null,l),i(this,null,na,{kind:"getter",name:"wsPosition",static:!1,private:!1,access:{has:e=>"wsPosition"in e,get:e=>e.wsPosition},metadata:t},null,l),i(this,null,ca,{kind:"getter",name:"responsiveClass",static:!1,private:!1,access:{has:e=>"responsiveClass"in e,get:e=>e.responsiveClass},metadata:t},null,l),i(this,null,da,{kind:"getter",name:"mapVisibleTop",static:!1,private:!1,access:{has:e=>"mapVisibleTop"in e,get:e=>e.mapVisibleTop},metadata:t},null,l),i(this,null,ha,{kind:"getter",name:"mapVisibleBottom",static:!1,private:!1,access:{has:e=>"mapVisibleBottom"in e,get:e=>e.mapVisibleBottom},metadata:t},null,l),i(this,null,ua,{kind:"getter",name:"mapVisibleStart",static:!1,private:!1,access:{has:e=>"mapVisibleStart"in e,get:e=>e.mapVisibleStart},metadata:t},null,l),i(this,null,fa,{kind:"getter",name:"searchActionsHeightPx",static:!1,private:!1,access:{has:e=>"searchActionsHeightPx"in e,get:e=>e.searchActionsHeightPx},metadata:t},null,l),i(this,null,ma,{kind:"getter",name:"fullSizeOffset",static:!1,private:!1,access:{has:e=>"fullSizeOffset"in e,get:e=>e.fullSizeOffset},metadata:t},null,l),i(this,null,ga,{kind:"getter",name:"shouldShowSearchButtons",static:!1,private:!1,access:{has:e=>"shouldShowSearchButtons"in e,get:e=>e.shouldShowSearchButtons},metadata:t},null,l),i(this,null,pa,{kind:"getter",name:"canvasVisibleRectPx",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPx"in e,get:e=>e.canvasVisibleRectPx},metadata:t},null,l),i(this,null,_a,{kind:"getter",name:"shouldShiftMapRect",static:!1,private:!1,access:{has:e=>"shouldShiftMapRect"in e,get:e=>e.shouldShiftMapRect},metadata:t},null,l),i(this,null,va,{kind:"getter",name:"hasAppliedFilters",static:!1,private:!1,access:{has:e=>"hasAppliedFilters"in e,get:e=>e.hasAppliedFilters},metadata:t},null,l),i(this,null,Sa,{kind:"getter",name:"canvasVisibleRectPt",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPt"in e,get:e=>e.canvasVisibleRectPt},metadata:t},null,l),i(this,null,ya,{kind:"getter",name:"canvasSizePt",static:!1,private:!1,access:{has:e=>"canvasSizePt"in e,get:e=>e.canvasSizePt},metadata:t},null,l),i(this,null,ka,{kind:"getter",name:"shouldUseBackdrop",static:!1,private:!1,access:{has:e=>"shouldUseBackdrop"in e,get:e=>e.shouldUseBackdrop},metadata:t},null,l),i(this,null,za,{kind:"method",name:"setForceDim",static:!1,private:!1,access:{has:e=>"setForceDim"in e,get:e=>e.setForceDim},metadata:t},null,l),i(this,null,Ca,{kind:"getter",name:"dimmed",static:!1,private:!1,access:{has:e=>"dimmed"in e,get:e=>e.dimmed},metadata:t},null,l),i(this,null,Ba,{kind:"getter",name:"defaultSearchItems",static:!1,private:!1,access:{has:e=>"defaultSearchItems"in e,get:e=>e.defaultSearchItems},metadata:t},null,l),i(this,null,Ma,{kind:"getter",name:"searchItems",static:!1,private:!1,access:{has:e=>"searchItems"in e,get:e=>e.searchItems},metadata:t},null,l),i(this,null,Pa,{kind:"getter",name:"searchList",static:!1,private:!1,access:{has:e=>"searchList"in e,get:e=>e.searchList},metadata:t},null,l),i(this,null,wa,{kind:"getter",name:"foundInDescription",static:!1,private:!1,access:{has:e=>"foundInDescription"in e,get:e=>e.foundInDescription},metadata:t},null,l),i(this,null,Ta,{kind:"getter",name:"foundInDescriptionStruct",static:!1,private:!1,access:{has:e=>"foundInDescriptionStruct"in e,get:e=>e.foundInDescriptionStruct},metadata:t},null,l),i(this,null,Ra,{kind:"getter",name:"categoryFilteredSearchList",static:!1,private:!1,access:{has:e=>"categoryFilteredSearchList"in e,get:e=>e.categoryFilteredSearchList},metadata:t},null,l),i(this,null,Oa,{kind:"getter",name:"fuzzySearchItems",static:!1,private:!1,access:{has:e=>"fuzzySearchItems"in e,get:e=>e.fuzzySearchItems},metadata:t},null,l),i(this,null,Da,{kind:"getter",name:"listItems",static:!1,private:!1,access:{has:e=>"listItems"in e,get:e=>e.listItems},metadata:t},null,l),i(this,null,La,{kind:"getter",name:"listBooths",static:!1,private:!1,access:{has:e=>"listBooths"in e,get:e=>e.listBooths},metadata:t},null,l),i(this,null,Aa,{kind:"getter",name:"selectedBooths",static:!1,private:!1,access:{has:e=>"selectedBooths"in e,get:e=>e.selectedBooths},metadata:t},null,l),i(this,null,Ea,{kind:"getter",name:"hoveredBooths",static:!1,private:!1,access:{has:e=>"hoveredBooths"in e,get:e=>e.hoveredBooths},metadata:t},null,l),i(this,null,Fa,{kind:"getter",name:"visibility",static:!1,private:!1,access:{has:e=>"visibility"in e,get:e=>e.visibility},metadata:t},null,l),i(this,null,Ua,{kind:"method",name:"setVisibility",static:!1,private:!1,access:{has:e=>"setVisibility"in e,get:e=>e.setVisibility},metadata:t},null,l),i(this,null,Ha,{kind:"method",name:"toggleMapOverlay",static:!1,private:!1,access:{has:e=>"toggleMapOverlay"in e,get:e=>e.toggleMapOverlay},metadata:t},null,l),i(this,null,Va,{kind:"method",name:"changeZoom",static:!1,private:!1,access:{has:e=>"changeZoom"in e,get:e=>e.changeZoom},metadata:t},null,l),i(this,null,Na,{kind:"method",name:"zoomIn",static:!1,private:!1,access:{has:e=>"zoomIn"in e,get:e=>e.zoomIn},metadata:t},null,l),i(this,null,Ka,{kind:"method",name:"zoomOut",static:!1,private:!1,access:{has:e=>"zoomOut"in e,get:e=>e.zoomOut},metadata:t},null,l),i(this,null,Ga,{kind:"method",name:"fitBounds",static:!1,private:!1,access:{has:e=>"fitBounds"in e,get:e=>e.fitBounds},metadata:t},null,l),i(this,null,Qa,{kind:"getter",name:"selectedEventItem",static:!1,private:!1,access:{has:e=>"selectedEventItem"in e,get:e=>e.selectedEventItem},metadata:t},null,l),i(this,null,Wa,{kind:"method",name:"setMapSettings",static:!1,private:!1,access:{has:e=>"setMapSettings"in e,get:e=>e.setMapSettings},metadata:t},null,l),i(this,null,Za,{kind:"method",name:"resetMapSettings",static:!1,private:!1,access:{has:e=>"resetMapSettings"in e,get:e=>e.resetMapSettings},metadata:t},null,l),i(this,null,Xa,{kind:"getter",name:"baseQRCodeUrl",static:!1,private:!1,access:{has:e=>"baseQRCodeUrl"in e,get:e=>e.baseQRCodeUrl},metadata:t},null,l),i(this,null,Ja,{kind:"getter",name:"viewMapOnPhoneQRCodeUrl",static:!1,private:!1,access:{has:e=>"viewMapOnPhoneQRCodeUrl"in e,get:e=>e.viewMapOnPhoneQRCodeUrl},metadata:t},null,l),i(this,null,qa,{kind:"getter",name:"routeQRCodeUrl",static:!1,private:!1,access:{has:e=>"routeQRCodeUrl"in e,get:e=>e.routeQRCodeUrl},metadata:t},null,l),i(this,null,el,{kind:"getter",name:"isFeaturedExhibitorActive",static:!1,private:!1,access:{has:e=>"isFeaturedExhibitorActive"in e,get:e=>e.isFeaturedExhibitorActive},metadata:t},null,l),i(this,null,tl,{kind:"getter",name:"activeInterfaceData",static:!1,private:!1,access:{has:e=>"activeInterfaceData"in e,get:e=>e.activeInterfaceData},metadata:t},null,l),i(this,null,sl,{kind:"getter",name:"searchBoxConfig",static:!1,private:!1,access:{has:e=>"searchBoxConfig"in e,get:e=>e.searchBoxConfig},metadata:t},null,l),i(this,null,il,{kind:"getter",name:"searchBoxActions",static:!1,private:!1,access:{has:e=>"searchBoxActions"in e,get:e=>e.searchBoxActions},metadata:t},null,l),i(this,null,al,{kind:"getter",name:"overlayInterfaceClasses",static:!1,private:!1,access:{has:e=>"overlayInterfaceClasses"in e,get:e=>e.overlayInterfaceClasses},metadata:t},null,l),i(this,null,ll,{kind:"getter",name:"isOverlayOpen",static:!1,private:!1,access:{has:e=>"isOverlayOpen"in e,get:e=>e.isOverlayOpen},metadata:t},null,l),i(this,null,rl,{kind:"method",name:"setOverlayScrolled",static:!1,private:!1,access:{has:e=>"setOverlayScrolled"in e,get:e=>e.setOverlayScrolled},metadata:t},null,l),i(this,null,ol,{kind:"method",name:"setListScrollTop",static:!1,private:!1,access:{has:e=>"setListScrollTop"in e,get:e=>e.setListScrollTop},metadata:t},null,l),i(this,null,nl,{kind:"method",name:"setListScrollItemId",static:!1,private:!1,access:{has:e=>"setListScrollItemId"in e,get:e=>e.setListScrollItemId},metadata:t},null,l),i(this,null,cl,{kind:"method",name:"getListScrollTop",static:!1,private:!1,access:{has:e=>"getListScrollTop"in e,get:e=>e.getListScrollTop},metadata:t},null,l),i(this,null,dl,{kind:"method",name:"getListScrollItemId",static:!1,private:!1,access:{has:e=>"getListScrollItemId"in e,get:e=>e.getListScrollItemId},metadata:t},null,l),i(this,null,hl,{kind:"method",name:"clearListScroll",static:!1,private:!1,access:{has:e=>"clearListScroll"in e,get:e=>e.clearListScroll},metadata:t},null,l),i(this,null,ul,{kind:"getter",name:"bannerType",static:!1,private:!1,access:{has:e=>"bannerType"in e,get:e=>e.bannerType},metadata:t},null,l),i(this,null,fl,{kind:"getter",name:"isBannerVisible",static:!1,private:!1,access:{has:e=>"isBannerVisible"in e,get:e=>e.isBannerVisible},metadata:t},null,l),i(this,null,ml,{kind:"method",name:"setCurrentBanner",static:!1,private:!1,access:{has:e=>"setCurrentBanner"in e,get:e=>e.setCurrentBanner},metadata:t},null,l),i(this,null,vl,{kind:"method",name:"setForceShowDetails",static:!1,private:!1,access:{has:e=>"setForceShowDetails"in e,get:e=>e.setForceShowDetails},metadata:t},null,l),i(this,null,Sl,{kind:"getter",name:"showRouteInstantly",static:!1,private:!1,access:{has:e=>"showRouteInstantly"in e,get:e=>e.showRouteInstantly},metadata:t},null,l),i(this,null,bl,{kind:"method",name:"startBuildRoute",static:!1,private:!1,access:{has:e=>"startBuildRoute"in e,get:e=>e.startBuildRoute},metadata:t},null,l),i(this,null,Bl,{kind:"method",name:"setGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"setGlobalErrorMessage"in e,get:e=>e.setGlobalErrorMessage},metadata:t},null,l),i(this,null,Ml,{kind:"method",name:"popGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"popGlobalErrorMessage"in e,get:e=>e.popGlobalErrorMessage},metadata:t},null,l),i(this,null,Pl,{kind:"method",name:"initializeUIScale",static:!1,private:!1,access:{has:e=>"initializeUIScale"in e,get:e=>e.initializeUIScale},metadata:t},null,l),i(this,null,wl,{kind:"method",name:"setUIScale",static:!1,private:!1,access:{has:e=>"setUIScale"in e,get:e=>e.setUIScale},metadata:t},null,l),i(this,null,Tl,{kind:"method",name:"resetUIScale",static:!1,private:!1,access:{has:e=>"resetUIScale"in e,get:e=>e.resetUIScale},metadata:t},null,l),i(this,null,Ll,{kind:"method",name:"enableSetKioskMode",static:!1,private:!1,access:{has:e=>"enableSetKioskMode"in e,get:e=>e.enableSetKioskMode},metadata:t},null,l),i(this,null,Ul,{kind:"method",name:"setKioskData",static:!1,private:!1,access:{has:e=>"setKioskData"in e,get:e=>e.setKioskData},metadata:t},null,l),i(null,null,T,{kind:"field",name:"list",static:!1,private:!1,access:{has:e=>"list"in e,get:e=>e.list,set:(e,s)=>{e.list=s}},metadata:t},j,W),i(null,null,Z,{kind:"field",name:"details",static:!1,private:!1,access:{has:e=>"details"in e,get:e=>e.details,set:(e,s)=>{e.details=s}},metadata:t},X,J),i(null,null,q,{kind:"field",name:"hoveredExhibitor",static:!1,private:!1,access:{has:e=>"hoveredExhibitor"in e,get:e=>e.hoveredExhibitor,set:(e,s)=>{e.hoveredExhibitor=s}},metadata:t},ee,te),i(null,null,se,{kind:"field",name:"hoveredBooth",static:!1,private:!1,access:{has:e=>"hoveredBooth"in e,get:e=>e.hoveredBooth,set:(e,s)=>{e.hoveredBooth=s}},metadata:t},ie,ae),i(null,null,le,{kind:"field",name:"zoomBy",static:!1,private:!1,access:{has:e=>"zoomBy"in e,get:e=>e.zoomBy,set:(e,s)=>{e.zoomBy=s}},metadata:t},re,oe),i(null,null,ne,{kind:"field",name:"rollReset",static:!1,private:!1,access:{has:e=>"rollReset"in e,get:e=>e.rollReset,set:(e,s)=>{e.rollReset=s}},metadata:t},ce,de),i(null,null,he,{kind:"field",name:"moveToBooths",static:!1,private:!1,access:{has:e=>"moveToBooths"in e,get:e=>e.moveToBooths,set:(e,s)=>{e.moveToBooths=s}},metadata:t},ue,fe),i(null,null,me,{kind:"field",name:"moveToRect",static:!1,private:!1,access:{has:e=>"moveToRect"in e,get:e=>e.moveToRect,set:(e,s)=>{e.moveToRect=s}},metadata:t},ge,pe),i(null,null,_e,{kind:"field",name:"moveToLocation",static:!1,private:!1,access:{has:e=>"moveToLocation"in e,get:e=>e.moveToLocation,set:(e,s)=>{e.moveToLocation=s}},metadata:t},ve,Se),i(null,null,ye,{kind:"field",name:"menu",static:!1,private:!1,access:{has:e=>"menu"in e,get:e=>e.menu,set:(e,s)=>{e.menu=s}},metadata:t},ke,Ie),i(null,null,be,{kind:"field",name:"searchFocused",static:!1,private:!1,access:{has:e=>"searchFocused"in e,get:e=>e.searchFocused,set:(e,s)=>{e.searchFocused=s}},metadata:t},xe,ze),i(null,null,Ce,{kind:"field",name:"searchClearMode",static:!1,private:!1,access:{has:e=>"searchClearMode"in e,get:e=>e.searchClearMode,set:(e,s)=>{e.searchClearMode=s}},metadata:t},Be,Me),i(null,null,Pe,{kind:"field",name:"printingPdf",static:!1,private:!1,access:{has:e=>"printingPdf"in e,get:e=>e.printingPdf,set:(e,s)=>{e.printingPdf=s}},metadata:t},we,Te),i(null,null,Re,{kind:"field",name:"largeMessage",static:!1,private:!1,access:{has:e=>"largeMessage"in e,get:e=>e.largeMessage,set:(e,s)=>{e.largeMessage=s}},metadata:t},Oe,De),i(null,null,Le,{kind:"field",name:"largeMessageLastSet",static:!1,private:!1,access:{has:e=>"largeMessageLastSet"in e,get:e=>e.largeMessageLastSet,set:(e,s)=>{e.largeMessageLastSet=s}},metadata:t},Ae,Ee),i(null,null,Fe,{kind:"field",name:"screenSize",static:!1,private:!1,access:{has:e=>"screenSize"in e,get:e=>e.screenSize,set:(e,s)=>{e.screenSize=s}},metadata:t},Ue,He),i(null,null,Ve,{kind:"field",name:"desiredOverlaySize",static:!1,private:!1,access:{has:e=>"desiredOverlaySize"in e,get:e=>e.desiredOverlaySize,set:(e,s)=>{e.desiredOverlaySize=s}},metadata:t},Ne,Ke),i(null,null,Ge,{kind:"field",name:"overlayShowsAll",static:!1,private:!1,access:{has:e=>"overlayShowsAll"in e,get:e=>e.overlayShowsAll,set:(e,s)=>{e.overlayShowsAll=s}},metadata:t},Qe,Ye),i(null,null,$e,{kind:"field",name:"centerMap",static:!1,private:!1,access:{has:e=>"centerMap"in e,get:e=>e.centerMap,set:(e,s)=>{e.centerMap=s}},metadata:t},je,We),i(null,null,Ze,{kind:"field",name:"zoomAfTransformK",static:!1,private:!1,access:{has:e=>"zoomAfTransformK"in e,get:e=>e.zoomAfTransformK,set:(e,s)=>{e.zoomAfTransformK=s}},metadata:t},Xe,Je),i(null,null,qe,{kind:"field",name:"activeListIndex",static:!1,private:!1,access:{has:e=>"activeListIndex"in e,get:e=>e.activeListIndex,set:(e,s)=>{e.activeListIndex=s}},metadata:t},et,tt),i(null,null,st,{kind:"field",name:"devicePixelRatio",static:!1,private:!1,access:{has:e=>"devicePixelRatio"in e,get:e=>e.devicePixelRatio,set:(e,s)=>{e.devicePixelRatio=s}},metadata:t},it,at),i(null,null,lt,{kind:"field",name:"wsStarted",static:!1,private:!1,access:{has:e=>"wsStarted"in e,get:e=>e.wsStarted,set:(e,s)=>{e.wsStarted=s}},metadata:t},rt,ot),i(null,null,nt,{kind:"field",name:"canvasStarted",static:!1,private:!1,access:{has:e=>"canvasStarted"in e,get:e=>e.canvasStarted,set:(e,s)=>{e.canvasStarted=s}},metadata:t},ct,dt),i(null,null,ht,{kind:"field",name:"kiosk",static:!1,private:!1,access:{has:e=>"kiosk"in e,get:e=>e.kiosk,set:(e,s)=>{e.kiosk=s}},metadata:t},ut,ft),i(null,null,mt,{kind:"field",name:"inIdle",static:!1,private:!1,access:{has:e=>"inIdle"in e,get:e=>e.inIdle,set:(e,s)=>{e.inIdle=s}},metadata:t},gt,pt),i(null,null,_t,{kind:"field",name:"modalActive",static:!1,private:!1,access:{has:e=>"modalActive"in e,get:e=>e.modalActive,set:(e,s)=>{e.modalActive=s}},metadata:t},vt,St),i(null,null,yt,{kind:"field",name:"galleryActive",static:!1,private:!1,access:{has:e=>"galleryActive"in e,get:e=>e.galleryActive,set:(e,s)=>{e.galleryActive=s}},metadata:t},kt,It),i(null,null,bt,{kind:"field",name:"hideOverlay",static:!1,private:!1,access:{has:e=>"hideOverlay"in e,get:e=>e.hideOverlay,set:(e,s)=>{e.hideOverlay=s}},metadata:t},xt,zt),i(null,null,Ct,{kind:"field",name:"hideCookieConsent",static:!1,private:!1,access:{has:e=>"hideCookieConsent"in e,get:e=>e.hideCookieConsent,set:(e,s)=>{e.hideCookieConsent=s}},metadata:t},Bt,Mt),i(null,null,Pt,{kind:"field",name:"hideHeaderLogo",static:!1,private:!1,access:{has:e=>"hideHeaderLogo"in e,get:e=>e.hideHeaderLogo,set:(e,s)=>{e.hideHeaderLogo=s}},metadata:t},wt,Tt),i(null,null,Rt,{kind:"field",name:"hideLogoInBooth",static:!1,private:!1,access:{has:e=>"hideLogoInBooth"in e,get:e=>e.hideLogoInBooth,set:(e,s)=>{e.hideLogoInBooth=s}},metadata:t},Ot,Dt),i(null,null,Lt,{kind:"field",name:"disableBookmarked",static:!1,private:!1,access:{has:e=>"disableBookmarked"in e,get:e=>e.disableBookmarked,set:(e,s)=>{e.disableBookmarked=s}},metadata:t},At,Et),i(null,null,Ft,{kind:"field",name:"hideLanguage",static:!1,private:!1,access:{has:e=>"hideLanguage"in e,get:e=>e.hideLanguage,set:(e,s)=>{e.hideLanguage=s}},metadata:t},Ut,Ht),i(null,null,Vt,{kind:"field",name:"monochrome",static:!1,private:!1,access:{has:e=>"monochrome"in e,get:e=>e.monochrome,set:(e,s)=>{e.monochrome=s}},metadata:t},Nt,Kt),i(null,null,Gt,{kind:"field",name:"heatmap",static:!1,private:!1,access:{has:e=>"heatmap"in e,get:e=>e.heatmap,set:(e,s)=>{e.heatmap=s}},metadata:t},Qt,Yt),i(null,null,$t,{kind:"field",name:"heatmapYah",static:!1,private:!1,access:{has:e=>"heatmapYah"in e,get:e=>e.heatmapYah,set:(e,s)=>{e.heatmapYah=s}},metadata:t},jt,Wt),i(null,null,Zt,{kind:"field",name:"debugCircles",static:!1,private:!1,access:{has:e=>"debugCircles"in e,get:e=>e.debugCircles,set:(e,s)=>{e.debugCircles=s}},metadata:t},Xt,Jt),i(null,null,qt,{kind:"field",name:"mapControlsHidden",static:!1,private:!1,access:{has:e=>"mapControlsHidden"in e,get:e=>e.mapControlsHidden,set:(e,s)=>{e.mapControlsHidden=s}},metadata:t},es,ts),i(null,null,ss,{kind:"field",name:"floorsControlHidden",static:!1,private:!1,access:{has:e=>"floorsControlHidden"in e,get:e=>e.floorsControlHidden,set:(e,s)=>{e.floorsControlHidden=s}},metadata:t},is,as),i(null,null,ls,{kind:"field",name:"hideFreeOrDemo",static:!1,private:!1,access:{has:e=>"hideFreeOrDemo"in e,get:e=>e.hideFreeOrDemo,set:(e,s)=>{e.hideFreeOrDemo=s}},metadata:t},rs,os),i(null,null,ns,{kind:"field",name:"freeBannerDismissed",static:!1,private:!1,access:{has:e=>"freeBannerDismissed"in e,get:e=>e.freeBannerDismissed,set:(e,s)=>{e.freeBannerDismissed=s}},metadata:t},cs,ds),i(null,null,hs,{kind:"field",name:"currentBanner",static:!1,private:!1,access:{has:e=>"currentBanner"in e,get:e=>e.currentBanner,set:(e,s)=>{e.currentBanner=s}},metadata:t},us,fs),i(null,null,ms,{kind:"field",name:"sceneDefReady",static:!1,private:!1,access:{has:e=>"sceneDefReady"in e,get:e=>e.sceneDefReady,set:(e,s)=>{e.sceneDefReady=s}},metadata:t},gs,ps),i(null,null,_s,{kind:"field",name:"categoryFilterOpen",static:!1,private:!1,access:{has:e=>"categoryFilterOpen"in e,get:e=>e.categoryFilterOpen,set:(e,s)=>{e.categoryFilterOpen=s}},metadata:t},vs,Ss),i(null,null,ys,{kind:"field",name:"selectedCategoryFilters",static:!1,private:!1,access:{has:e=>"selectedCategoryFilters"in e,get:e=>e.selectedCategoryFilters,set:(e,s)=>{e.selectedCategoryFilters=s}},metadata:t},ks,Is),i(null,null,bs,{kind:"field",name:"selectedPoiTypeFilters",static:!1,private:!1,access:{has:e=>"selectedPoiTypeFilters"in e,get:e=>e.selectedPoiTypeFilters,set:(e,s)=>{e.selectedPoiTypeFilters=s}},metadata:t},xs,zs),i(null,null,Cs,{kind:"field",name:"selectedTrack",static:!1,private:!1,access:{has:e=>"selectedTrack"in e,get:e=>e.selectedTrack,set:(e,s)=>{e.selectedTrack=s}},metadata:t},Bs,Ms),i(null,null,Ps,{kind:"field",name:"subButtonsVisible",static:!1,private:!1,access:{has:e=>"subButtonsVisible"in e,get:e=>e.subButtonsVisible,set:(e,s)=>{e.subButtonsVisible=s}},metadata:t},ws,Ts),i(null,null,Rs,{kind:"field",name:"mapControlsDOMRect",static:!1,private:!1,access:{has:e=>"mapControlsDOMRect"in e,get:e=>e.mapControlsDOMRect,set:(e,s)=>{e.mapControlsDOMRect=s}},metadata:t},Os,Ds),i(null,null,Ls,{kind:"field",name:"searchBoxMode",static:!1,private:!1,access:{has:e=>"searchBoxMode"in e,get:e=>e.searchBoxMode,set:(e,s)=>{e.searchBoxMode=s}},metadata:t},As,Es),i(null,null,Fs,{kind:"field",name:"searchBoxTitle",static:!1,private:!1,access:{has:e=>"searchBoxTitle"in e,get:e=>e.searchBoxTitle,set:(e,s)=>{e.searchBoxTitle=s}},metadata:t},Us,Hs),i(null,null,Vs,{kind:"field",name:"searchBoxSubtitle",static:!1,private:!1,access:{has:e=>"searchBoxSubtitle"in e,get:e=>e.searchBoxSubtitle,set:(e,s)=>{e.searchBoxSubtitle=s}},metadata:t},Ns,Ks),i(null,null,Gs,{kind:"field",name:"routeTitle",static:!1,private:!1,access:{has:e=>"routeTitle"in e,get:e=>e.routeTitle,set:(e,s)=>{e.routeTitle=s}},metadata:t},Qs,Ys),i(null,null,$s,{kind:"field",name:"routeDescription",static:!1,private:!1,access:{has:e=>"routeDescription"in e,get:e=>e.routeDescription,set:(e,s)=>{e.routeDescription=s}},metadata:t},js,Ws),i(null,null,Zs,{kind:"field",name:"isMultiPointRoute",static:!1,private:!1,access:{has:e=>"isMultiPointRoute"in e,get:e=>e.isMultiPointRoute,set:(e,s)=>{e.isMultiPointRoute=s}},metadata:t},Xs,Js),i(null,null,qs,{kind:"field",name:"tourTitle",static:!1,private:!1,access:{has:e=>"tourTitle"in e,get:e=>e.tourTitle,set:(e,s)=>{e.tourTitle=s}},metadata:t},ei,ti),i(null,null,si,{kind:"field",name:"tourDescription",static:!1,private:!1,access:{has:e=>"tourDescription"in e,get:e=>e.tourDescription,set:(e,s)=>{e.tourDescription=s}},metadata:t},ii,ai),i(null,null,li,{kind:"field",name:"isMultiPointTour",static:!1,private:!1,access:{has:e=>"isMultiPointTour"in e,get:e=>e.isMultiPointTour,set:(e,s)=>{e.isMultiPointTour=s}},metadata:t},ri,oi),i(null,null,ni,{kind:"field",name:"pathwayOnlyMode",static:!1,private:!1,access:{has:e=>"pathwayOnlyMode"in e,get:e=>e.pathwayOnlyMode,set:(e,s)=>{e.pathwayOnlyMode=s}},metadata:t},ci,di),i(null,null,hi,{kind:"field",name:"isOverlayScrolled",static:!1,private:!1,access:{has:e=>"isOverlayScrolled"in e,get:e=>e.isOverlayScrolled,set:(e,s)=>{e.isOverlayScrolled=s}},metadata:t},ui,fi),i(null,null,mi,{kind:"field",name:"listScrollTop",static:!1,private:!1,access:{has:e=>"listScrollTop"in e,get:e=>e.listScrollTop,set:(e,s)=>{e.listScrollTop=s}},metadata:t},gi,pi),i(null,null,_i,{kind:"field",name:"listScrollItemId",static:!1,private:!1,access:{has:e=>"listScrollItemId"in e,get:e=>e.listScrollItemId,set:(e,s)=>{e.listScrollItemId=s}},metadata:t},vi,Si),i(null,null,yi,{kind:"field",name:"listScrollIndex",static:!1,private:!1,access:{has:e=>"listScrollIndex"in e,get:e=>e.listScrollIndex,set:(e,s)=>{e.listScrollIndex=s}},metadata:t},ki,Ii),i(null,null,bi,{kind:"field",name:"_customUIScale",static:!1,private:!1,access:{has:e=>"_customUIScale"in e,get:e=>e._customUIScale,set:(e,s)=>{e._customUIScale=s}},metadata:t},xi,zi),i(null,null,Ia,{kind:"field",name:"forceDim",static:!1,private:!1,access:{has:e=>"forceDim"in e,get:e=>e.forceDim,set:(e,s)=>{e.forceDim=s}},metadata:t},ba,xa),i(null,null,Ya,{kind:"field",name:"mapSettings",static:!1,private:!1,access:{has:e=>"mapSettings"in e,get:e=>e.mapSettings,set:(e,s)=>{e.mapSettings=s}},metadata:t},$a,ja),i(null,null,gl,{kind:"field",name:"forceShowDetails",static:!1,private:!1,access:{has:e=>"forceShowDetails"in e,get:e=>e.forceShowDetails,set:(e,s)=>{e.forceShowDetails=s}},metadata:t},pl,_l),i(null,null,yl,{kind:"field",name:"buildRoute",static:!1,private:!1,access:{has:e=>"buildRoute"in e,get:e=>e.buildRoute,set:(e,s)=>{e.buildRoute=s}},metadata:t},kl,Il),i(null,null,xl,{kind:"field",name:"globalErrorMessages",static:!1,private:!1,access:{has:e=>"globalErrorMessages"in e,get:e=>e.globalErrorMessages,set:(e,s)=>{e.globalErrorMessages=s}},metadata:t},zl,Cl),i(null,null,Rl,{kind:"field",name:"setKioskModeEnabled",static:!1,private:!1,access:{has:e=>"setKioskModeEnabled"in e,get:e=>e.setKioskModeEnabled,set:(e,s)=>{e.setKioskModeEnabled=s}},metadata:t},Ol,Dl),i(null,null,Al,{kind:"field",name:"kioskData",static:!1,private:!1,access:{has:e=>"kioskData"in e,get:e=>e.kioskData,set:(e,s)=>{e.kioskData=s}},metadata:t},El,Fl),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=a(this,l);interfaceMetadata=Object.freeze([{id:"menu",className:"efp-overlay-menu",priority:80,isActive:()=>this.menu,searchBoxConfig:()=>({mode:"interface",title:y("Menu")})},{id:"exhibitor",className:"efp-overlay-exhibitor",priority:70,isActive:()=>this.details instanceof x,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"booth",className:"efp-overlay-booth",priority:70,isActive:()=>this.details instanceof b,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:t.title||t.name}}},{id:"event",className:"efp-overlay-event",priority:70,isActive:()=>this.details instanceof F,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"route",className:"efp-overlay-route",priority:70,isActive:()=>this.details instanceof R,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:y("Directions")}}},{id:"search",className:"efp-overlay-search",priority:60,isActive:()=>!this.details&&!this.menu&&this.list.type==="search"&&(this.rootStore.fp.alwaysShowSidebar||this.heatmap||this.searchFocused||this.list.text.length>0||this.searchClearMode),searchBoxConfig:()=>({mode:"search",title:y("Search")})},{id:"exhibitors",className:"efp-overlay-exhibitors",priority:50,isActive:()=>this.list.type==="exhibitors"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Exhibitors")})},{id:"filter",className:"efp-overlay-filter",priority:50,isActive:()=>this.list.type==="filter"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Filter")})},{id:"bookmarks",className:"efp-overlay-bookmarks",priority:50,isActive:()=>this.list.type==="bookmarks"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:y("Bookmarks"),badge:this.rootStore.bookmarksStore.total})},{id:"visited",className:"efp-overlay-visited",priority:50,isActive:()=>this.list.type==="visited"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:y("Visited"),badge:this.rootStore.exhibitorStore.visited.length})},{id:A,className:"efp-overlay-language",priority:50,isActive:()=>this.list.type===A,searchBoxConfig:()=>({mode:"interface",title:y("Language")})},{id:"category",className:"efp-overlay-category",priority:50,isActive:()=>!w.menu&&!!w.selectedCategory,searchBoxConfig:()=>({mode:"interface",title:this.list.type==="category"&&this.list.category?.name||y("Categories")})},{id:"sessions",className:"efp-overlay-sessions",priority:50,isActive:()=>this.list.type==="sessions"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Sessions"),subtitle:this.selectedTrack?this.selectedTrack.name:void 0})},{id:"speakers",className:"efp-overlay-speakers",priority:50,isActive:()=>this.list.type==="speakers"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Speakers")})},{id:"speaker",className:"efp-overlay-speaker",priority:50,isActive:()=>this.details instanceof $,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"tours",className:"efp-overlay-tours",priority:50,isActive:()=>this.list.type==="tours"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Guided Tours")})},{id:"multi-point-wayfinding",className:"efp-overlay-multi-point",priority:75,isActive:()=>!!(this.isMultiPointRoute&&this.selectedRoute&&this.list.type!=="route-planner"),searchBoxConfig:()=>({mode:"interface",title:this.routeTitle||y("Multi-point route")})},{id:"multi-point-tour",className:"efp-overlay-multi-point-tour",priority:75,isActive:()=>this.list.type==="multi-point-tour"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:this.tourTitle||y("Multi-point route")})},{id:"route-planner",className:"efp-overlay-route-planner",priority:76,isActive:()=>this.list.type==="route-planner"&&(!this.details||this.details instanceof R),searchBoxConfig:()=>({mode:"interface",title:y("Route planner")})}].sort((t,e)=>e.priority-t.priority));list=a(this,j,{type:"search",text:"",focused:!1});details=(a(this,W),a(this,X,null));hoveredExhibitor=(a(this,J),a(this,ee,null));hoveredBooth=(a(this,te),a(this,ie,null));zoomBy=(a(this,ae),a(this,re,null));rollReset=(a(this,oe),a(this,ce,!1));moveToBooths=(a(this,de),a(this,ue,null));moveToRect=(a(this,fe),a(this,ge,null));moveToLocation=(a(this,pe),a(this,ve,!1));menu=(a(this,Se),a(this,ke,!1));searchFocused=(a(this,Ie),a(this,xe,!1));searchClearMode=(a(this,ze),a(this,Be,!1));printingPdf=(a(this,Me),a(this,we,!1));largeMessage=(a(this,Te),a(this,Oe,null));largeMessageLastSet=(a(this,De),a(this,Ae,null));screenSize=(a(this,Ee),a(this,Ue,void 0));desiredOverlaySize=(a(this,He),a(this,Ne,void 0));overlayShowsAll=(a(this,Ke),a(this,Qe,!1));centerMap=(a(this,Ye),a(this,je,!1));zoomAfTransformK=(a(this,We),a(this,Xe,1));activeListIndex=(a(this,Je),a(this,et,-1));devicePixelRatio=(a(this,tt),a(this,it,window.devicePixelRatio));previewExhibitor=(a(this,at),null);wsStarted=a(this,rt,!1);canvasStarted=(a(this,ot),a(this,ct,!1));kiosk=(a(this,dt),a(this,ut,!1));inIdle=(a(this,ft),a(this,gt,!1));modalActive=(a(this,pt),a(this,vt,{share:!1}));galleryActive=(a(this,St),a(this,kt,!1));hideOverlay=(a(this,It),a(this,xt,!1));hideCookieConsent=(a(this,zt),a(this,Bt,!!or()));hideHeaderLogo=(a(this,Mt),a(this,wt,!1));hideLogoInBooth=(a(this,Tt),a(this,Ot,!1));disableBookmarked=(a(this,Dt),a(this,At,!1));hideLanguage=(a(this,Et),a(this,Ut,!1));monochrome=(a(this,Ht),a(this,Nt,!1));heatmap=(a(this,Kt),a(this,Qt,!1));heatmapYah=(a(this,Yt),a(this,jt,!1));rootElement=a(this,Wt);debugCircles=a(this,Xt,[]);mapControlsHidden=(a(this,Jt),a(this,es,!1));floorsControlHidden=(a(this,ts),a(this,is,!1));hideFreeOrDemo=(a(this,as),a(this,rs,!1));freeBannerDismissed=(a(this,os),a(this,cs,rr(sessionStorage)));currentBanner=(a(this,ds),a(this,us,null));sceneDefReady=(a(this,fs),a(this,gs,!1));categoryFilterOpen=(a(this,ps),a(this,vs,!1));selectedCategoryFilters=(a(this,Ss),a(this,ks,[]));selectedPoiTypeFilters=(a(this,Is),a(this,xs,[]));selectedTrack=(a(this,zs),a(this,Bs,null));subButtonsVisible=(a(this,Ms),a(this,ws,!1));mapControlsDOMRect=(a(this,Ts),a(this,Os,void 0));searchBoxMode=(a(this,Ds),a(this,As,"search"));searchBoxTitle=(a(this,Es),a(this,Us,""));searchBoxSubtitle=(a(this,Hs),a(this,Ns,void 0));routeTitle=(a(this,Ks),a(this,Qs,void 0));routeDescription=(a(this,Ys),a(this,js,void 0));isMultiPointRoute=(a(this,Ws),a(this,Xs,!1));tourTitle=(a(this,Js),a(this,ei,void 0));tourDescription=(a(this,ti),a(this,ii,void 0));isMultiPointTour=(a(this,ai),a(this,ri,!1));pathwayOnlyMode=(a(this,oi),a(this,ci,!1));isOverlayScrolled=(a(this,di),a(this,ui,!1));listScrollTop=(a(this,fi),a(this,gi,0));listScrollItemId=(a(this,pi),a(this,vi,null));listScrollIndex=(a(this,Si),a(this,ki,0));scrollPositions=(a(this,Ii),new Map);scrollItemIds=new Map;_customUIScale=a(this,xi,null);searchFilterHeightPx=(a(this,zi),54);searchInputHeightPx=54;overlayUISizePx=390;overlayKioskSizePx=450;overlayMediumHeightRems=10;setSelectedCategoryFilters(t){this.selectedCategoryFilters=t}resetCategoryFilter(){this.selectedCategoryFilters=[],this.categoryFilterOpen=!1}setSearchClearMode(t){this.searchClearMode=t}setRouteTitle(t){this.routeTitle=t}setRouteDescription(t){this.routeDescription=t}setIsMultiPointRoute(t){this.isMultiPointRoute=t}setTourTitle(t){this.tourTitle=t}setTourDescription(t){this.tourDescription=t}setIsMultiPointTour(t){this.isMultiPointTour=t}setPathwayOnlyMode(t){this.pathwayOnlyMode=t}setMultiPointTourList(t){this.list={type:"multi-point-tour",tourId:t}}get activePathwayLayers(){return this.list?.type==="multi-point-tour"?this.rootStore.toursStore.getTourById(this.list.tourId)?.layers?.map(e=>e.id)||[]:[]}get highlightedBooths(){const t=new Set(this.rootStore.exhibitorStore.highlightedByExternalIds),e=new Set(this.rootStore.boothStore.highlightedByExternalIds),s=new Set([this.rootStore.exhibitorStore.exhibitors.filter(r=>t.has(r.externalId)).flatMap(r=>r.booths.filter(n=>n instanceof E)).map(r=>r.id.toString()),this.rootStore.boothStore.booths.filter(r=>e.has(r.externalId)).map(r=>r.id.toString())].flat());if(this.list?.type==="search"&&this.list?.text?.trim().length){s.clear();const r=this.fuzzySearchItems.filter(n=>n.score===0).map(n=>n.item);r.length?K(r,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems).forEach(n=>s.add(n.id.toString())):this.listBooths.forEach(n=>s.add(n.id.toString()))}if(this.list?.type==="filter"&&(s.clear(),this.list.items.flatMap(r=>r.booths.filter(n=>n instanceof E)).forEach(r=>s.add(r.id.toString()))),this.categoryFilterOpen&&this.selectedCategoryFilters.length>0?(s.clear(),this.selectedCategoryFilters.forEach(r=>{r.exhibitors.flatMap(n=>n.booths).forEach(n=>s.add(n.id.toString()))})):this.list?.type==="category"&&(s.clear(),this.list.category.exhibitors.flatMap(r=>r.booths).forEach(r=>s.add(r.id.toString()))),this.list?.type==="bookmarks"&&(s.clear(),K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems).forEach(r=>s.add(r.id.toString()))),this.list?.type==="visited"&&(s.clear(),K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems).forEach(r=>s.add(r.id.toString()))),this.list?.type==="exhibitors"){s.clear();const r=this.list.text?.toLowerCase().trim();let n=this.rootStore.exhibitorStore.exhibitors;r&&(n=n.filter(f=>f.name.toLowerCase().includes(r))),n.flatMap(f=>f.booths.filter(g=>g instanceof E)).forEach(f=>s.add(f.id.toString()))}if(this.selectedPoiTypeFilters.length>0&&(s.clear(),this.selectedPoiTypeFilters.forEach(r=>{this.rootStore.boothStore.booths.filter(n=>n.poiTypeId===r.id).forEach(n=>s.add(n.id.toString()))})),this.details instanceof R&&(s.clear(),this.details.from instanceof b&&s.add(this.details.from.id.toString()),this.details.to instanceof b&&s.add(this.details.to.id.toString()),this.details.waypoints?.forEach(r=>s.add(r.id.toString()))),this.details instanceof b&&(s.clear(),s.add(this.details.id.toString())),this.details instanceof x&&(s.clear(),this.details.booths.filter(r=>r instanceof E).forEach(r=>s.add(r.id.toString()))),this.details instanceof F){const r=this.details;if(r.boothId){s.clear();const n=this.rootStore.boothStore.booths.find(f=>f.id===r.boothId);n&&s.add(n.id.toString())}}return s.delete(void 0),s.delete(null),s}constructor(t){a(this,Fl),this.rootStore=t,this.initializeUIScale()}get rtl(){const t=cr();return t==="ar"||t==="he"}get noOverlay(){return this.rootStore.fp.noOverlay||this.hideOverlay}get onBoothClick(){return this.rootStore.fp.onBoothClick}get onMarkerClick(){return this.rootStore.fp.onMarkerClick}get onBookmarkClick(){return this.rootStore.fp.onBookmarkClick}get onVisitedClick(){return this.rootStore.fp.onVisitedClick}get onCategoryClick(){return this.rootStore.fp.onCategoryClick}get onDirection(){return this.rootStore.fp.onDirection}get onDetails(){return this.rootStore.fp.onDetails}get onExhibitorCustomButtonClick(){return this.rootStore.fp.onExhibitorCustomButtonClick}get onGetCoordsClick(){return this.rootStore.fp.onGetCoordsClick}get selectedExhibitor(){return this.details instanceof x?this.details:null}get selectedBooth(){return this.details instanceof b?this.details:null}get selectedCategory(){return this.list.type==="category"?this.list.category:null}get selectedRoute(){return this.details instanceof R?this.details:null}get selectedSpeaker(){return this.details instanceof $?this.details:null}get uiScale(){return this._customUIScale!==null?this._customUIScale:this.kiosk?1.2:1}get isGuidedToursActive(){return this.rootStore.toursStore.isActive}get getRouteNextFloor(){const t=this.rootStore.routeStore.pathLayers,e=this.rootStore.routeStore.currentRouteLayer?.name;if(!e)return null;const s=t.findIndex(u=>u.layer?.name===e);return s===-1?null:t[s+1]?.layer?.name}get headerHeightRem(){return 0}get headerHeightPx(){return N(this.headerHeightRem)}get overlayPosition(){return!this.screenSize||this.screenSize.width>sr||this.kiosk?"left":"bottom"}get overlayCollapsed(){return this.kiosk&&this.overlayPosition==="left"&&!this.searchFocused&&!this.menu&&!this.details&&!this.selectedCategory&&!this.selectedExhibitor&&this.list.type!=="bookmarks"&&this.list.type!==A&&!this.list.text?.length}get overlaySize(){return this.overlayLeft?"full":this.desiredOverlaySize}get overlayBottom(){return this.overlayPosition==="bottom"}get overlayLeft(){return this.overlayPosition==="left"}get overlayWidthPx(){return this.noOverlay?0:this.overlayLeft?this.kiosk?this.overlayKioskSizePx:this.overlayUISizePx:N(this.screenSize.width)}get wsImageHeightPx(){return 44}get wsPaddingPx(){return N(.25)}get wsOccupiedHeightPx(){return this.wsShown?this.wsImageHeightPx+this.wsPaddingPx*2:0}get wsShown(){return!this.hideHeaderLogo&&this.rootStore.exhibitorStore.advertised.length>0}get wsDesktopPosition(){return V.EXPO==="cbresupplypartner"?"bottom":"top"}get wsPosition(){return this.overlayBottom?"top":this.wsDesktopPosition}get responsiveClass(){return hr(this.screenSize.width)}get mapVisibleTop(){return(this.wsPosition==="top"?this.wsOccupiedHeightPx:0)+this.headerHeightPx}get mapVisibleBottom(){return this.overlayLeft||this.noOverlay?this.wsPosition==="bottom"?this.wsOccupiedHeightPx:0:N(this.overlayMediumHeightRems)}get mapVisibleStart(){return 0}get searchActionsHeightPx(){return this.overlayPosition==="bottom"?this.searchInputHeightPx+this.searchFilterHeightPx:this.searchInputHeightPx}get fullSizeOffset(){const t=this.wsShown?54:0,e=this.bannerType==="free"&&!this.freeBannerDismissed?40:0,s=20;if(this.details&&!(this.details instanceof R))return t+e+s;const u=54,r=this.shouldShowSearchButtons?54:0;return t+e+u+s+r}get shouldShowSearchButtons(){return this.rootStore.searchButtonsStore.hasAnySearchButtons&&!this.details&&!this.menu&&![A,"filter"].includes(this.list.type)}get canvasVisibleRectPx(){const t=this.screenSize;return ql.fromMinMax({x:w.rtl?0:this.mapVisibleStart,y:this.mapVisibleTop+this.searchActionsHeightPx},{x:w.rtl?t.width-this.mapVisibleStart:t.width,y:t.height-this.mapVisibleBottom})}get shouldShiftMapRect(){return this.overlayPosition==="left"&&(this.details||this.hasAppliedFilters||this.selectedRoute)}get hasAppliedFilters(){return this.selectedCategoryFilters.length>0||this.selectedPoiTypeFilters.length>0}get canvasVisibleRectPt(){return this.canvasVisibleRectPx.scale(this.devicePixelRatio,{x:0,y:0})}get canvasSizePt(){return this.screenSize.multiply(this.devicePixelRatio)}get shouldUseBackdrop(){if(w.overlayCollapsed)return!1;if(B&&localStorage.getItem("forcebackdrop")==="1")return!0;if(this.overlayBottom||this.selectedExhibitor?.leadingImageUrl&&!this.selectedExhibitor?.leadingImageLinkUrl)return!1;const t=$l.satisfies({safari:">=13"}),e=$l.satisfies({chrome:">=77"});var s=/(android)/i.test(navigator.userAgent);return s?!1:t||e&&w.canvasSizePt.height*w.canvasSizePt.width<3e6}forceDim=a(this,ba,!1);setForceDim(t){this.forceDim=t}get dimmed(){return this.forceDim||this.pathwayOnlyMode?!0:this.highlightedBooths.size>0||this.list?.type==="search"&&this.list?.text?.trim().length>0||this.list?.type==="exhibitors"}get defaultSearchItems(){const{exhibitorStore:t,categoryStore:e,boothStore:s,heatmapStore:u}=this.rootStore;let r=t.exhibitors;const n=e.categories.filter(p=>p.exhibitors.length),f=s.booths;this.selectedPoiTypeFilters.length>0&&(r=r.filter(p=>p.booths.some(_=>this.selectedPoiTypeFilters.some(S=>_.poiTypeId===S.id))));let g=[];const M=!this.selectedCategoryFilters.length&&C.showCategories?n.filter(p=>fr.includes(V.EXPO)?!p.name.includes("/"):!0):[],D=f.filter(p=>p instanceof Y);return this.selectedCategoryFilters.length>0?g=[...r]:(C.showCompaniesAndBooths&&(g=g.concat(r)),C.showOtherSpaces&&(g=g.concat(D))),this.heatmap?[...r,...f].sort((_,S)=>u.getClicksByType(S)-u.getClicksByType(_)):this.heatmapYah?u.heatmapData?.yah?.sort((p,_)=>u.getClicksByType(_)-u.getClicksByType(p))||[]:r.length===0?f:M.concat(g.sort((p,_)=>{const S=p instanceof x&&p.featured!==void 0,P=_ instanceof x&&_.featured!==void 0;if(S!==P)return S?-1:1;const L=p instanceof Y&&p.title?p.title:p.name,G=_ instanceof Y&&_.title?_.title:_.name;return L.localeCompare(G,void 0,{sensitivity:"base",numeric:!0})}))}get searchItems(){if(this.list.type!=="search")return[];let t=this.list.text?.trim().toLowerCase()||"";const{exhibitorStore:e,categoryStore:s,boothStore:u,eventStore:r,speakerStore:n,heatmapStore:f}=this.rootStore;let g=e.exhibitors;const M=s.categories.filter(d=>d.exhibitors.length),D=u.booths,p=r.eventItems,_=n.speakers;if(this.selectedCategoryFilters.length>0&&(g=g.filter(d=>this.selectedCategoryFilters.some(h=>d.categories.some(v=>v.id===h.id)))),this.selectedPoiTypeFilters.length>0&&(g=g.filter(d=>d.booths.some(h=>this.selectedPoiTypeFilters.some(v=>h.poiTypeId===v.id)))),!t)return this.defaultSearchItems;const S=[t.replace(/&[^&=]+=[^&]+/g,"")];if(this.heatmapYah)return f.heatmapData.yah.filter(h=>Number.isNaN(Number(t))?h:h.viewCount>=Number(t)).sort((h,v)=>f.getClicksByType(v)-f.getClicksByType(h));const P=[],L=new Set,G=new Set,Hl=new Set,Wl=new Set;function Vl(d){return d?d.replace(/[!@#$%^*-\.,\(\)^#$%:?_+'"\/]/g," ").replace(/\s\s+/g," "):""}function I(d,h){return!d||!h?!1:Vl(d).toLowerCase().includes(Vl(h).toLowerCase())}function Nl(d,h){return d?I(d,h)||I(C.levelTerm+" "+d,h):!1}g.forEach(d=>{S.some(h=>I(d.name,h)||d.booths.some(v=>!h&&I(v.name,h)||Nl(v.layer?.name??null,h)))&&L.add(d)}),this.selectedCategoryFilters.length>0&&D.forEach(d=>{(this.heatmap||!(d instanceof E)||!Array.from(L).find(v=>v.booths.includes(d)))&&S.some(v=>I(d.title||"",v)||I(d.name,v)||I(d.fullName,v)||Nl(d.layer?.name??null,v))&&G.add(d)});const Zl=p,Xl=_;if(Zl.forEach(d=>{S.some(h=>I(d.name||"",h)||I(d.description||"",h))&&Hl.add(d)}),Xl.forEach(d=>{S.some(h=>I(d.name,h)||I(d.company,h)||I(d.jobTitle,h))&&Wl.add(d)}),P.push(...Hl),P.push(...L),this.heatmap)return P.sort((d,h)=>f.getClicksByType(h)-f.getClicksByType(d));const Jl=new Map(P.map(d=>[d.id,d]));return P.map(d=>{if(!d.name)return null;const h=jl(d instanceof b&&d.fullName.toLowerCase()||d.name.toLowerCase()),v=h.indexOf(jl(t));if(v===-1)return null;const Kl={id:d.id,position:v,lowerCaseName:h,featured:!1};return d instanceof x&&(Kl.featured=d.featured),Kl}).filter(Boolean).sort((d,h)=>(d.featured||h.featured)&&d.featured!==h.featured?d.featured?-1:1:d.position!==h.position?d.position-h.position:d.lowerCaseName.localeCompare(h.lowerCaseName)||String(d.id).localeCompare(String(h.id))).map(({id:d})=>Jl.get(d))}get searchList(){return[...this.rootStore.eventStore.eventItems,...this.rootStore.speakerStore.speakers,...this.rootStore.categoryStore.categories.filter(t=>t.exhibitors.length),...this.rootStore.exhibitorStore.exhibitors,...this.rootStore.boothStore.booths]}get foundInDescription(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return[];const e=this.fuzzySearchItems.map(({item:n})=>n),s=new Set(e.map(n=>n.name)),u=this.categoryFilteredSearchList.filter(n=>!s.has(n.name)),r=[];for(const n of u){const f=n.description;if(!f)continue;const M=(Ql(f)?Yl(f):f).toLowerCase().indexOf(t);M!==-1&&r.push({item:n,pos:M})}return r.sort((n,f)=>n.pos-f.pos),r.map(n=>n.item)}get foundInDescriptionStruct(){const t={};if(this.list?.type!=="search")return t;const e=this.list?.text?.trim().toLowerCase();return this.foundInDescription.forEach(s=>{let u=s.description;if(!u)return;Ql(u)&&(u=Yl(u));const r=u.toLowerCase().indexOf(e);if(r===-1)return;const n=3,f=r>n?r-n:0,g=u.substring(f).trim();t[s.id]=r>0?`...${g}`:g}),t}get categoryFilteredSearchList(){return this.selectedCategoryFilters.length===0?this.searchList:this.searchList.filter(t=>t instanceof x&&this.selectedCategoryFilters.some(e=>t.categories.some(s=>s.id===e.id)))}get fuzzySearchItems(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return this.defaultSearchItems.map(r=>({item:r,score:0,matches:[]}));const e=this.rootStore.fuzzySearchEngineStore.search(this.categoryFilteredSearchList,t),s=[],u=[];for(const r of e){const n=r.item,f=n.entity.type,g=f==="booth"?n:null,M=f==="exhibitor"?n:null,D=[n.name?.toLowerCase()??"",g?.title?.toLowerCase()??"",g?.fullName?.toLowerCase()??"",...M?.booths?.map(_=>_.name?.toLowerCase()??"")??[]];let p=1/0;for(const _ of D){const S=_.indexOf(t);S!==-1&&S<p&&(p=S)}p!==1/0?s.push({result:{item:n,score:0},pos:p}):u.push(r)}return s.sort((r,n)=>r.pos-n.pos),[...s.map(r=>r.result),...u]}get listItems(){if(this.details instanceof R&&this.list.type!=="multi-point-tour")return[this.details.from,this.details.to].filter(t=>t instanceof b);switch(this.list.type){case"search":let t=!(this.heatmap||this.heatmapYah)&&this.rootStore.fuzzySearchEngineStore.engine?this.fuzzySearchItems.map(({item:r})=>r).concat(this.foundInDescription):this.searchItems;return t=t.filter(r=>r.entity.type==="booth"?!r.exhibitors.length:!0),this.hasAppliedFilters?t.filter(r=>{if(this.selectedCategoryFilters.length>0&&r instanceof x&&!this.selectedCategoryFilters.some(n=>r.categories.some(f=>f.id===n.id)))return!1;if(this.selectedPoiTypeFilters.length>0){if(r instanceof x&&!r.booths.some(n=>this.selectedPoiTypeFilters.some(f=>n.poiTypeId===f.id))||r instanceof b&&!this.selectedPoiTypeFilters.some(n=>r.poiTypeId===n.id))return!1;if(r instanceof F&&r.boothId){const n=this.rootStore.boothStore.booths.find(f=>f.id===r.boothId);if(!n||!this.selectedPoiTypeFilters.some(f=>n.poiTypeId===f.id))return!1}}return!0}):t;case"bookmarks":return[...this.rootStore.exhibitorStore.bookmarked,...this.rootStore.eventStore.bookmarked,...this.rootStore.speakerStore.bookmarked,...this.rootStore.boothStore.booths.filter(r=>r.exhibitors.length===0&&r.bookmarkedDirectly)];case"visited":return[...this.rootStore.exhibitorStore.visited,...this.rootStore.eventStore.visited];case"category":return this.list.category.exhibitors;case A:return dr();case"filter":return this.list.items;case"sessions":return this.rootStore.eventStore.eventItems;case"exhibitors":const e=this.rootStore.exhibitorStore.exhibitors,s=this.list.text?.toLowerCase().trim();return s?e.filter(r=>r.name.toLowerCase().includes(s)):e;case"multi-point-tour":const u=this.rootStore.toursStore.getTourById(this.list.tourId);return u?!u.points||u.points.length===0?[]:u.points.map(r=>{const n=parseInt(r);if(!isNaN(n)){const g=this.rootStore.boothStore.boothById.get(n);if(g)return g}return ur(r)?.entity||null}).filter(Boolean):[];case"route-planner":return this.rootStore.routePlannerStore.resolvedBooths}throw new Error("Unknown list.type")}get listBooths(){return K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems)}get selectedBooths(){let t=[];this.selectedExhibitor?t=this.selectedExhibitor.booths:this.selectedBooth&&(t=[this.selectedBooth]);const e=this.selectedRoute,s=[e?.from,e?.to,...e?.waypoints??[]].filter(u=>u instanceof b);return t.push(...s),new Set(t)}get hoveredBooths(){let t;return this.hoveredBooth?t=[this.hoveredBooth]:this.hoveredExhibitor&&(t=this.hoveredExhibitor.booths),new Set(t)}get visibility(){return{controls:!this.mapControlsHidden,levels:!this.floorsControlHidden,header:this.wsShown,overlay:!this.hideOverlay}}setVisibility(t){const e={...Object.keys(this.visibility).reduce((s,u)=>({...s,[u]:!0}),{}),...Object.keys(t).filter(s=>this.visibility.hasOwnProperty(s)).reduce((s,u)=>({...s,[u]:t[u]}),{})};Object.values(e).every(Boolean)?B&&localStorage.removeItem(Gl):B&&localStorage.setItem(Gl,JSON.stringify(e)),this.mapControlsHidden=!e.controls,this.floorsControlHidden=!e.levels,this.hideHeaderLogo=!e.header,this.hideFreeOrDemo=!e.header,this.hideOverlay=!e.overlay}toggleMapOverlay(){this.overlayPosition==="bottom"&&this.overlaySize==="full"?this.desiredOverlaySize="medium":this.overlayPosition==="bottom"&&this.overlaySize!=="full"&&(this.desiredOverlaySize="full")}changeZoom(t){this.zoomBy=t}zoomIn(){this.changeZoom(1.5)}zoomOut(){this.changeZoom(.66)}fitBounds(){this.moveToRect=this.rootStore.layerStore.rectangle||lr,this.rollReset=!0}get previewMode(){return B&&localStorage.getItem(ir)==="1"||this.rootStore.fp.previewMode}get viewerMode(){return B&&localStorage.getItem(ar)==="1"||this.rootStore.fp.viewerMode}get selectedEventItem(){return this.details instanceof F?this.details:null}get defaultMapSettings(){return{zoomtime:500,center:void 0,centerxy:void 0,z:void 0,bearing:0,roll:1}}mapSettings=(a(this,xa),a(this,$a,{...this.defaultMapSettings}));saveMapSettings(t){const e=JSON.stringify(this.mapSettings),s=JSON.stringify(t);e!==s&&sessionStorage.setItem(tr,JSON.stringify(t))}setMapSettings(t){const e={};for(const s in t)t[s]!=null&&(s==="zoomtime"?e[s]=Math.min(Math.max(t[s]||this.mapSettings.zoomtime,500),5e3):e[s]=t[s]);this.mapSettings={...this.mapSettings,...e},this.saveMapSettings(this.mapSettings)}resetMapSettings(){this.mapSettings={...this.defaultMapSettings},this.saveMapSettings(this.mapSettings)}get baseQRCodeUrl(){return`https://${V.EXPO}.expofp.com`}get viewMapOnPhoneQRCodeUrl(){if(C?.customKioskQrCodeUrl)return C.customKioskQrCodeUrl;const t=new URL(this.baseQRCodeUrl);t.search=window.location.search;const e=t.toString();return console.log("View Map On Phone QR Code Url",e),e}get routeQRCodeUrl(){const t=new URL(this.baseQRCodeUrl),e=this.selectedRoute?.from,s=this.selectedRoute?.to,u=e instanceof b?e.slug:"",r=s instanceof b?s.slug:"";t.search=`?route%3A${encodeURIComponent(r)}%3A${encodeURIComponent(u)}%3Afalse`,er(t.searchParams,this.kioskData,["x","y","z"]);const n=t.toString();return console.log("Route QR Code Url",n),n}get isFeaturedExhibitorActive(){return this.details instanceof x&&!!this.details.featured}get activeInterfaceData(){for(const t of this.interfaceMetadata)if(t.isActive())return t;return null}get searchBoxConfig(){const t=this.activeInterfaceData;return!t||!t.searchBoxConfig?{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}:t.searchBoxConfig()||{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}}get searchBoxActions(){return this.activeInterfaceData?.actions?.()??[]}get overlayInterfaceClasses(){const t=[],e=this.activeInterfaceData;return e&&(t.push(e.className),e.additionalClasses&&t.push(...e.additionalClasses())),this.details&&t.push("overlay-has-details"),this.list.type&&t.push(`overlay-list-${this.list.type}`),this.isFeaturedExhibitorActive&&t.push("overlay-exhibitor-featured"),t}get isOverlayOpen(){return this.noOverlay||this.hideOverlay?!1:this.activeInterfaceData!==null}setOverlayScrolled(t){this.isOverlayScrolled=t}setListScrollTop(t,e){this.listScrollTop=e,this.scrollPositions.set(t,e)}setListScrollItemId(t,e){this.listScrollItemId=e,this.scrollItemIds.set(t,e)}getListScrollTop(t){return this.scrollPositions.get(t)||0}getListScrollItemId(t){return this.scrollItemIds.get(t)||null}clearListScroll(t){this.scrollPositions.delete(t),this.scrollItemIds.delete(t),this.list.type===t&&(this.listScrollTop=0,this.listScrollItemId=null)}get bannerType(){return this.hideFreeOrDemo||this.heatmap?null:V.EXPO==="expo"?"demo":C.expoFpAd||C.isTrial?"free":null}get isBannerVisible(){return this.bannerType!==null}setCurrentBanner(t){this.currentBanner=t}forceShowDetails=(a(this,ja),a(this,pl,!1));setForceShowDetails(t){this.forceShowDetails=t}get showRouteInstantly(){return!!(this.kiosk&&!this.forceShowDetails)}buildRoute=(a(this,_l),a(this,kl,!1));startBuildRoute(){this.rootStore.selectSearch(""),this.mapControlsHidden=!0,this.floorsControlHidden=!0,this.hideHeaderLogo=!0,this.hideFreeOrDemo=!0,this.hideOverlay=!0,this.hideCookieConsent=!0,this.buildRoute=!0}globalErrorMessages=(a(this,Il),a(this,zl,[]));setGlobalErrorMessage(t){this.globalErrorMessages.push(t)}popGlobalErrorMessage(){this.globalErrorMessages.pop()}initializeUIScale(){if(new URLSearchParams(window.location.search).get("kiosk")!=="0"&&B){const e=localStorage.getItem(Q);if(e){const s=parseFloat(e);!isNaN(s)&&s>=.8&&s<=1.4&&(this._customUIScale=s)}}}minUIScale=(a(this,Cl),.8);maxUIScale=1.4;setUIScale(t,e=!0){if(isNaN(t)||t<this.minUIScale||t>this.maxUIScale){nr.warn(`Invalid ui-scale value: ${t}. Must be between ${this.minUIScale} and ${this.maxUIScale}.`);return}this._customUIScale=t,e&&B&&localStorage.setItem(Q,t.toString())}resetUIScale(){this._customUIScale=null,B&&localStorage.removeItem(Q)}setKioskModeEnabled=a(this,Ol,!1);enableSetKioskMode(t){this.setKioskModeEnabled=t}kioskData=(a(this,Dl),a(this,El,void 0));setKioskData(t){this.kioskData=t}}})();export default mr;function K(U,O,H=[]){const z=[];return U.forEach(k=>{k instanceof x?z.push(...k.booths):k instanceof b?z.push(k):k instanceof F?k.boothId&&z.push(O.find(l=>l.id===k.boothId)):k instanceof $&&H.filter(l=>l.speakers.some(T=>T.id===k.id)&&l.boothId).forEach(l=>z.push(O.find(T=>T.id===l.boothId)))}),new Set(z.filter(Boolean))}
|
|
1
|
+
import{__esDecorate as i,__runInitializers as a}from"tslib";import{Box as er}from"@expofp/geometry";import{action as m,computed as c,observable as o}from"mobx";import{setKioskUrlParams as tr}from"../components/Kiosk/kioskUrlParam";import{LANGUAGE_TYPE as A,MAP_SETTINGS_KEY as sr,MOBILE_BREAKPOINT as ir,PREVIEW_MODE_STORAGE_KEY as ar,UI_SCALE_STORAGE_KEY as Q,VIEWER_MODE_STORAGE_KEY as lr,VISIBILITY_STORAGE_KEY as Ql}from"../constants";import C from"../data";import{svgArea as Y,svgAreaExplicit as rr}from"../data/svg";import{readFreeBannerDismissed as or}from"../tools/freeBanner";import{hasUserConsent as nr}from"../tools/gtag";import{hasHtmlTags as Yl}from"../tools/has-html-tags";import cr from"../tools/logger";import V from"../tools/settings";import{stripHtml as $l}from"../tools/strip-html";import{remsToPixels as N}from"../utils";import jl from"../utils/browser";import{getLocale as dr,getLocales as hr,t as y}from"../utils/i18n";import{isLocalStorageAvailable as B}from"../utils/localStorage";import{getResponsiveClass as ur}from"../utils/responsiveClass";import{sanitizeStr as Wl}from"../utils/sanitizeText";import{resolveVenueFitRect as fr}from"../utils/scene-bounds";import{uiState as w}from".";import{BoothBase as b,RegularBooth as E,SpecialBooth as $}from"./BoothStore";import{EventItem as F}from"./EventStore";import{Exhibitor as x}from"./ExhibitorStore";import{findEntityByExternalId as mr,Route as R}from"./RouteStore";import{SpeakerItem as j}from"./SpeakerStore";const gr=["dimensions25"];let pr=(()=>{var U,O,H,z,k;let l=[],T,W=[],Z=[],X,J=[],q=[],ee,te=[],se=[],ie,ae=[],le=[],re,oe=[],ne=[],ce,de=[],he=[],ue,fe=[],me=[],ge,pe=[],_e=[],ve,Se=[],ye=[],ke,Ie=[],be=[],xe,ze=[],Ce=[],Be,Me=[],Pe=[],we,Te=[],Re=[],Oe,De=[],Le=[],Ae,Ee=[],Fe=[],Ue,He=[],Ve=[],Ne,Ke=[],Ge=[],Qe,Ye=[],$e=[],je,We=[],Ze=[],Xe,Je=[],qe=[],et,tt=[],st=[],it,at=[],lt=[],rt,ot=[],nt=[],ct,dt=[],ht=[],ut,ft=[],mt=[],gt,pt=[],_t=[],vt,St=[],yt=[],kt,It=[],bt=[],xt,zt=[],Ct=[],Bt,Mt=[],Pt=[],wt,Tt=[],Rt=[],Ot,Dt=[],Lt=[],At,Et=[],Ft=[],Ut,Ht=[],Vt=[],Nt,Kt=[],Gt=[],Qt,Yt=[],$t=[],jt,Wt=[],Zt=[],Xt,Jt=[],qt=[],es,ts=[],ss=[],is,as=[],ls=[],rs,os=[],ns=[],cs,ds=[],hs=[],us,fs=[],ms=[],gs,ps=[],_s=[],vs,Ss=[],ys=[],ks,Is=[],bs=[],xs,zs=[],Cs=[],Bs,Ms=[],Ps=[],ws,Ts=[],Rs=[],Os,Ds=[],Ls=[],As,Es=[],Fs=[],Us,Hs=[],Vs=[],Ns,Ks=[],Gs=[],Qs,Ys=[],$s=[],js,Ws=[],Zs=[],Xs,Js=[],qs=[],ei,ti=[],si=[],ii,ai=[],li=[],ri,oi=[],ni=[],ci,di=[],hi=[],ui,fi=[],mi=[],gi,pi=[],_i=[],vi,Si=[],yi=[],ki,Ii=[],bi=[],xi,zi=[],Ci=[],Bi,Mi,Pi,wi,Ti,Ri,Oi,Di,Li,Ai,Ei,Fi,Ui,Hi,Vi,Ni,Ki,Gi,Qi,Yi,$i,ji,Wi,Zi,Xi,Ji,qi,ea,ta,sa,ia,aa,la,ra,oa,na,ca,da,ha,ua,fa,ma,ga,pa,_a,va,Sa,ya,ka,Ia,ba,xa=[],za=[],Ca,Ba,Ma,Pa,wa,Ta,Ra,Oa,Da,La,Aa,Ea,Fa,Ua,Ha,Va,Na,Ka,Ga,Qa,Ya,$a,ja=[],Wa=[],Za,Xa,Ja,qa,el,tl,sl,il,al,ll,rl,ol,nl,cl,dl,hl,ul,fl,ml,gl,pl,_l=[],vl=[],Sl,yl,kl,Il=[],bl=[],xl,zl,Cl=[],Bl=[],Ml,Pl,wl,Tl,Rl,Ol,Dl=[],Ll=[],Al,El,Fl=[],Ul=[],Hl;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;T=[(U=o).struct.bind(U)],X=[(O=o).ref.bind(O)],ee=[(H=o).ref.bind(H)],ie=[(z=o).ref.bind(z)],re=[o],ce=[o],ue=[o],ge=[o],ve=[o],ke=[o],xe=[o],Be=[o],we=[o],Oe=[o],Ae=[o],Ue=[(k=o).struct.bind(k)],Ne=[o],Qe=[o],je=[o],Xe=[o],et=[o],it=[o],rt=[o],ct=[o],ut=[o],gt=[o],vt=[o],kt=[o],xt=[o],Bt=[o],wt=[o],Ot=[o],At=[o],Ut=[o],Nt=[o],Qt=[o],jt=[o],Xt=[o],es=[o],is=[o],rs=[o],cs=[o],us=[o],gs=[o],vs=[o],ks=[o],xs=[o],Bs=[o],ws=[o],Os=[o],As=[o],Us=[o],Ns=[o],Qs=[o],js=[o],Xs=[o],ei=[o],ii=[o],ri=[o],ci=[o],ui=[o],gi=[o],vi=[o],ki=[o],xi=[o],Bi=[m],Mi=[m],Pi=[m],wi=[m],Ti=[m],Ri=[m],Oi=[m],Di=[m],Li=[m],Ai=[m],Ei=[m],Fi=[c],Ui=[c],Hi=[c],Vi=[c({keepAlive:!0})],Ni=[c({keepAlive:!0})],Ki=[c({keepAlive:!0})],Gi=[c({keepAlive:!0})],Qi=[c({keepAlive:!0})],Yi=[c({keepAlive:!0})],$i=[c({keepAlive:!0})],ji=[c({keepAlive:!0})],Wi=[c({keepAlive:!0})],Zi=[c],Xi=[c],Ji=[c],qi=[c],ea=[c],ta=[c],sa=[c],ia=[c],aa=[c({keepAlive:!0})],la=[c],ra=[c],oa=[c({keepAlive:!0})],na=[c],ca=[c],da=[c],ha=[c],ua=[c],fa=[c],ma=[c],ga=[c],pa=[c],_a=[c],va=[c],Sa=[c],ya=[c],ka=[c],Ia=[c({keepAlive:!0})],ba=[o],Ca=[m],Ba=[c],Ma=[c],Pa=[c],wa=[c],Ta=[c],Ra=[c],Oa=[c],Da=[c],La=[c],Aa=[c({keepAlive:!0})],Ea=[c({keepAlive:!0})],Fa=[c({keepAlive:!0})],Ua=[c],Ha=[m],Va=[m],Na=[m],Ka=[m],Ga=[m],Qa=[m],Ya=[c({keepAlive:!0})],$a=[o],Za=[m],Xa=[m],Ja=[c],qa=[c],el=[c],tl=[c],sl=[c],il=[c],al=[c],ll=[c],rl=[c],ol=[m],nl=[m],cl=[m],dl=[m],hl=[m],ul=[m],fl=[c],ml=[c],gl=[m],pl=[o],Sl=[m],yl=[c],kl=[o],xl=[m],zl=[o],Ml=[m],Pl=[m],wl=[m],Tl=[m],Rl=[m],Ol=[o],Al=[m],El=[o],Hl=[m],i(this,null,Bi,{kind:"method",name:"setSelectedCategoryFilters",static:!1,private:!1,access:{has:e=>"setSelectedCategoryFilters"in e,get:e=>e.setSelectedCategoryFilters},metadata:t},null,l),i(this,null,Mi,{kind:"method",name:"resetCategoryFilter",static:!1,private:!1,access:{has:e=>"resetCategoryFilter"in e,get:e=>e.resetCategoryFilter},metadata:t},null,l),i(this,null,Pi,{kind:"method",name:"setSearchClearMode",static:!1,private:!1,access:{has:e=>"setSearchClearMode"in e,get:e=>e.setSearchClearMode},metadata:t},null,l),i(this,null,wi,{kind:"method",name:"setRouteTitle",static:!1,private:!1,access:{has:e=>"setRouteTitle"in e,get:e=>e.setRouteTitle},metadata:t},null,l),i(this,null,Ti,{kind:"method",name:"setRouteDescription",static:!1,private:!1,access:{has:e=>"setRouteDescription"in e,get:e=>e.setRouteDescription},metadata:t},null,l),i(this,null,Ri,{kind:"method",name:"setIsMultiPointRoute",static:!1,private:!1,access:{has:e=>"setIsMultiPointRoute"in e,get:e=>e.setIsMultiPointRoute},metadata:t},null,l),i(this,null,Oi,{kind:"method",name:"setTourTitle",static:!1,private:!1,access:{has:e=>"setTourTitle"in e,get:e=>e.setTourTitle},metadata:t},null,l),i(this,null,Di,{kind:"method",name:"setTourDescription",static:!1,private:!1,access:{has:e=>"setTourDescription"in e,get:e=>e.setTourDescription},metadata:t},null,l),i(this,null,Li,{kind:"method",name:"setIsMultiPointTour",static:!1,private:!1,access:{has:e=>"setIsMultiPointTour"in e,get:e=>e.setIsMultiPointTour},metadata:t},null,l),i(this,null,Ai,{kind:"method",name:"setPathwayOnlyMode",static:!1,private:!1,access:{has:e=>"setPathwayOnlyMode"in e,get:e=>e.setPathwayOnlyMode},metadata:t},null,l),i(this,null,Ei,{kind:"method",name:"setMultiPointTourList",static:!1,private:!1,access:{has:e=>"setMultiPointTourList"in e,get:e=>e.setMultiPointTourList},metadata:t},null,l),i(this,null,Fi,{kind:"getter",name:"activePathwayLayers",static:!1,private:!1,access:{has:e=>"activePathwayLayers"in e,get:e=>e.activePathwayLayers},metadata:t},null,l),i(this,null,Ui,{kind:"getter",name:"highlightedBooths",static:!1,private:!1,access:{has:e=>"highlightedBooths"in e,get:e=>e.highlightedBooths},metadata:t},null,l),i(this,null,Hi,{kind:"getter",name:"rtl",static:!1,private:!1,access:{has:e=>"rtl"in e,get:e=>e.rtl},metadata:t},null,l),i(this,null,Vi,{kind:"getter",name:"noOverlay",static:!1,private:!1,access:{has:e=>"noOverlay"in e,get:e=>e.noOverlay},metadata:t},null,l),i(this,null,Ni,{kind:"getter",name:"selectedExhibitor",static:!1,private:!1,access:{has:e=>"selectedExhibitor"in e,get:e=>e.selectedExhibitor},metadata:t},null,l),i(this,null,Ki,{kind:"getter",name:"selectedBooth",static:!1,private:!1,access:{has:e=>"selectedBooth"in e,get:e=>e.selectedBooth},metadata:t},null,l),i(this,null,Gi,{kind:"getter",name:"selectedCategory",static:!1,private:!1,access:{has:e=>"selectedCategory"in e,get:e=>e.selectedCategory},metadata:t},null,l),i(this,null,Qi,{kind:"getter",name:"selectedRoute",static:!1,private:!1,access:{has:e=>"selectedRoute"in e,get:e=>e.selectedRoute},metadata:t},null,l),i(this,null,Yi,{kind:"getter",name:"selectedSpeaker",static:!1,private:!1,access:{has:e=>"selectedSpeaker"in e,get:e=>e.selectedSpeaker},metadata:t},null,l),i(this,null,$i,{kind:"getter",name:"uiScale",static:!1,private:!1,access:{has:e=>"uiScale"in e,get:e=>e.uiScale},metadata:t},null,l),i(this,null,ji,{kind:"getter",name:"isGuidedToursActive",static:!1,private:!1,access:{has:e=>"isGuidedToursActive"in e,get:e=>e.isGuidedToursActive},metadata:t},null,l),i(this,null,Wi,{kind:"getter",name:"getRouteNextFloor",static:!1,private:!1,access:{has:e=>"getRouteNextFloor"in e,get:e=>e.getRouteNextFloor},metadata:t},null,l),i(this,null,Zi,{kind:"getter",name:"headerHeightRem",static:!1,private:!1,access:{has:e=>"headerHeightRem"in e,get:e=>e.headerHeightRem},metadata:t},null,l),i(this,null,Xi,{kind:"getter",name:"headerHeightPx",static:!1,private:!1,access:{has:e=>"headerHeightPx"in e,get:e=>e.headerHeightPx},metadata:t},null,l),i(this,null,Ji,{kind:"getter",name:"overlayPosition",static:!1,private:!1,access:{has:e=>"overlayPosition"in e,get:e=>e.overlayPosition},metadata:t},null,l),i(this,null,qi,{kind:"getter",name:"overlayCollapsed",static:!1,private:!1,access:{has:e=>"overlayCollapsed"in e,get:e=>e.overlayCollapsed},metadata:t},null,l),i(this,null,ea,{kind:"getter",name:"overlaySize",static:!1,private:!1,access:{has:e=>"overlaySize"in e,get:e=>e.overlaySize},metadata:t},null,l),i(this,null,ta,{kind:"getter",name:"overlayBottom",static:!1,private:!1,access:{has:e=>"overlayBottom"in e,get:e=>e.overlayBottom},metadata:t},null,l),i(this,null,sa,{kind:"getter",name:"overlayLeft",static:!1,private:!1,access:{has:e=>"overlayLeft"in e,get:e=>e.overlayLeft},metadata:t},null,l),i(this,null,ia,{kind:"getter",name:"overlayWidthPx",static:!1,private:!1,access:{has:e=>"overlayWidthPx"in e,get:e=>e.overlayWidthPx},metadata:t},null,l),i(this,null,aa,{kind:"getter",name:"wsImageHeightPx",static:!1,private:!1,access:{has:e=>"wsImageHeightPx"in e,get:e=>e.wsImageHeightPx},metadata:t},null,l),i(this,null,la,{kind:"getter",name:"wsPaddingPx",static:!1,private:!1,access:{has:e=>"wsPaddingPx"in e,get:e=>e.wsPaddingPx},metadata:t},null,l),i(this,null,ra,{kind:"getter",name:"wsOccupiedHeightPx",static:!1,private:!1,access:{has:e=>"wsOccupiedHeightPx"in e,get:e=>e.wsOccupiedHeightPx},metadata:t},null,l),i(this,null,oa,{kind:"getter",name:"wsShown",static:!1,private:!1,access:{has:e=>"wsShown"in e,get:e=>e.wsShown},metadata:t},null,l),i(this,null,na,{kind:"getter",name:"wsDesktopPosition",static:!1,private:!1,access:{has:e=>"wsDesktopPosition"in e,get:e=>e.wsDesktopPosition},metadata:t},null,l),i(this,null,ca,{kind:"getter",name:"wsPosition",static:!1,private:!1,access:{has:e=>"wsPosition"in e,get:e=>e.wsPosition},metadata:t},null,l),i(this,null,da,{kind:"getter",name:"responsiveClass",static:!1,private:!1,access:{has:e=>"responsiveClass"in e,get:e=>e.responsiveClass},metadata:t},null,l),i(this,null,ha,{kind:"getter",name:"mapVisibleTop",static:!1,private:!1,access:{has:e=>"mapVisibleTop"in e,get:e=>e.mapVisibleTop},metadata:t},null,l),i(this,null,ua,{kind:"getter",name:"mapVisibleBottom",static:!1,private:!1,access:{has:e=>"mapVisibleBottom"in e,get:e=>e.mapVisibleBottom},metadata:t},null,l),i(this,null,fa,{kind:"getter",name:"mapVisibleStart",static:!1,private:!1,access:{has:e=>"mapVisibleStart"in e,get:e=>e.mapVisibleStart},metadata:t},null,l),i(this,null,ma,{kind:"getter",name:"searchActionsHeightPx",static:!1,private:!1,access:{has:e=>"searchActionsHeightPx"in e,get:e=>e.searchActionsHeightPx},metadata:t},null,l),i(this,null,ga,{kind:"getter",name:"fullSizeOffset",static:!1,private:!1,access:{has:e=>"fullSizeOffset"in e,get:e=>e.fullSizeOffset},metadata:t},null,l),i(this,null,pa,{kind:"getter",name:"shouldShowSearchButtons",static:!1,private:!1,access:{has:e=>"shouldShowSearchButtons"in e,get:e=>e.shouldShowSearchButtons},metadata:t},null,l),i(this,null,_a,{kind:"getter",name:"canvasVisibleRectPx",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPx"in e,get:e=>e.canvasVisibleRectPx},metadata:t},null,l),i(this,null,va,{kind:"getter",name:"shouldShiftMapRect",static:!1,private:!1,access:{has:e=>"shouldShiftMapRect"in e,get:e=>e.shouldShiftMapRect},metadata:t},null,l),i(this,null,Sa,{kind:"getter",name:"hasAppliedFilters",static:!1,private:!1,access:{has:e=>"hasAppliedFilters"in e,get:e=>e.hasAppliedFilters},metadata:t},null,l),i(this,null,ya,{kind:"getter",name:"canvasVisibleRectPt",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPt"in e,get:e=>e.canvasVisibleRectPt},metadata:t},null,l),i(this,null,ka,{kind:"getter",name:"canvasSizePt",static:!1,private:!1,access:{has:e=>"canvasSizePt"in e,get:e=>e.canvasSizePt},metadata:t},null,l),i(this,null,Ia,{kind:"getter",name:"shouldUseBackdrop",static:!1,private:!1,access:{has:e=>"shouldUseBackdrop"in e,get:e=>e.shouldUseBackdrop},metadata:t},null,l),i(this,null,Ca,{kind:"method",name:"setForceDim",static:!1,private:!1,access:{has:e=>"setForceDim"in e,get:e=>e.setForceDim},metadata:t},null,l),i(this,null,Ba,{kind:"getter",name:"dimmed",static:!1,private:!1,access:{has:e=>"dimmed"in e,get:e=>e.dimmed},metadata:t},null,l),i(this,null,Ma,{kind:"getter",name:"defaultSearchItems",static:!1,private:!1,access:{has:e=>"defaultSearchItems"in e,get:e=>e.defaultSearchItems},metadata:t},null,l),i(this,null,Pa,{kind:"getter",name:"searchItems",static:!1,private:!1,access:{has:e=>"searchItems"in e,get:e=>e.searchItems},metadata:t},null,l),i(this,null,wa,{kind:"getter",name:"searchList",static:!1,private:!1,access:{has:e=>"searchList"in e,get:e=>e.searchList},metadata:t},null,l),i(this,null,Ta,{kind:"getter",name:"foundInDescription",static:!1,private:!1,access:{has:e=>"foundInDescription"in e,get:e=>e.foundInDescription},metadata:t},null,l),i(this,null,Ra,{kind:"getter",name:"foundInDescriptionStruct",static:!1,private:!1,access:{has:e=>"foundInDescriptionStruct"in e,get:e=>e.foundInDescriptionStruct},metadata:t},null,l),i(this,null,Oa,{kind:"getter",name:"categoryFilteredSearchList",static:!1,private:!1,access:{has:e=>"categoryFilteredSearchList"in e,get:e=>e.categoryFilteredSearchList},metadata:t},null,l),i(this,null,Da,{kind:"getter",name:"fuzzySearchItems",static:!1,private:!1,access:{has:e=>"fuzzySearchItems"in e,get:e=>e.fuzzySearchItems},metadata:t},null,l),i(this,null,La,{kind:"getter",name:"listItems",static:!1,private:!1,access:{has:e=>"listItems"in e,get:e=>e.listItems},metadata:t},null,l),i(this,null,Aa,{kind:"getter",name:"listBooths",static:!1,private:!1,access:{has:e=>"listBooths"in e,get:e=>e.listBooths},metadata:t},null,l),i(this,null,Ea,{kind:"getter",name:"selectedBooths",static:!1,private:!1,access:{has:e=>"selectedBooths"in e,get:e=>e.selectedBooths},metadata:t},null,l),i(this,null,Fa,{kind:"getter",name:"hoveredBooths",static:!1,private:!1,access:{has:e=>"hoveredBooths"in e,get:e=>e.hoveredBooths},metadata:t},null,l),i(this,null,Ua,{kind:"getter",name:"visibility",static:!1,private:!1,access:{has:e=>"visibility"in e,get:e=>e.visibility},metadata:t},null,l),i(this,null,Ha,{kind:"method",name:"setVisibility",static:!1,private:!1,access:{has:e=>"setVisibility"in e,get:e=>e.setVisibility},metadata:t},null,l),i(this,null,Va,{kind:"method",name:"toggleMapOverlay",static:!1,private:!1,access:{has:e=>"toggleMapOverlay"in e,get:e=>e.toggleMapOverlay},metadata:t},null,l),i(this,null,Na,{kind:"method",name:"changeZoom",static:!1,private:!1,access:{has:e=>"changeZoom"in e,get:e=>e.changeZoom},metadata:t},null,l),i(this,null,Ka,{kind:"method",name:"zoomIn",static:!1,private:!1,access:{has:e=>"zoomIn"in e,get:e=>e.zoomIn},metadata:t},null,l),i(this,null,Ga,{kind:"method",name:"zoomOut",static:!1,private:!1,access:{has:e=>"zoomOut"in e,get:e=>e.zoomOut},metadata:t},null,l),i(this,null,Qa,{kind:"method",name:"fitBounds",static:!1,private:!1,access:{has:e=>"fitBounds"in e,get:e=>e.fitBounds},metadata:t},null,l),i(this,null,Ya,{kind:"getter",name:"selectedEventItem",static:!1,private:!1,access:{has:e=>"selectedEventItem"in e,get:e=>e.selectedEventItem},metadata:t},null,l),i(this,null,Za,{kind:"method",name:"setMapSettings",static:!1,private:!1,access:{has:e=>"setMapSettings"in e,get:e=>e.setMapSettings},metadata:t},null,l),i(this,null,Xa,{kind:"method",name:"resetMapSettings",static:!1,private:!1,access:{has:e=>"resetMapSettings"in e,get:e=>e.resetMapSettings},metadata:t},null,l),i(this,null,Ja,{kind:"getter",name:"baseQRCodeUrl",static:!1,private:!1,access:{has:e=>"baseQRCodeUrl"in e,get:e=>e.baseQRCodeUrl},metadata:t},null,l),i(this,null,qa,{kind:"getter",name:"viewMapOnPhoneQRCodeUrl",static:!1,private:!1,access:{has:e=>"viewMapOnPhoneQRCodeUrl"in e,get:e=>e.viewMapOnPhoneQRCodeUrl},metadata:t},null,l),i(this,null,el,{kind:"getter",name:"routeQRCodeUrl",static:!1,private:!1,access:{has:e=>"routeQRCodeUrl"in e,get:e=>e.routeQRCodeUrl},metadata:t},null,l),i(this,null,tl,{kind:"getter",name:"isFeaturedExhibitorActive",static:!1,private:!1,access:{has:e=>"isFeaturedExhibitorActive"in e,get:e=>e.isFeaturedExhibitorActive},metadata:t},null,l),i(this,null,sl,{kind:"getter",name:"activeInterfaceData",static:!1,private:!1,access:{has:e=>"activeInterfaceData"in e,get:e=>e.activeInterfaceData},metadata:t},null,l),i(this,null,il,{kind:"getter",name:"searchBoxConfig",static:!1,private:!1,access:{has:e=>"searchBoxConfig"in e,get:e=>e.searchBoxConfig},metadata:t},null,l),i(this,null,al,{kind:"getter",name:"searchBoxActions",static:!1,private:!1,access:{has:e=>"searchBoxActions"in e,get:e=>e.searchBoxActions},metadata:t},null,l),i(this,null,ll,{kind:"getter",name:"overlayInterfaceClasses",static:!1,private:!1,access:{has:e=>"overlayInterfaceClasses"in e,get:e=>e.overlayInterfaceClasses},metadata:t},null,l),i(this,null,rl,{kind:"getter",name:"isOverlayOpen",static:!1,private:!1,access:{has:e=>"isOverlayOpen"in e,get:e=>e.isOverlayOpen},metadata:t},null,l),i(this,null,ol,{kind:"method",name:"setOverlayScrolled",static:!1,private:!1,access:{has:e=>"setOverlayScrolled"in e,get:e=>e.setOverlayScrolled},metadata:t},null,l),i(this,null,nl,{kind:"method",name:"setListScrollTop",static:!1,private:!1,access:{has:e=>"setListScrollTop"in e,get:e=>e.setListScrollTop},metadata:t},null,l),i(this,null,cl,{kind:"method",name:"setListScrollItemId",static:!1,private:!1,access:{has:e=>"setListScrollItemId"in e,get:e=>e.setListScrollItemId},metadata:t},null,l),i(this,null,dl,{kind:"method",name:"getListScrollTop",static:!1,private:!1,access:{has:e=>"getListScrollTop"in e,get:e=>e.getListScrollTop},metadata:t},null,l),i(this,null,hl,{kind:"method",name:"getListScrollItemId",static:!1,private:!1,access:{has:e=>"getListScrollItemId"in e,get:e=>e.getListScrollItemId},metadata:t},null,l),i(this,null,ul,{kind:"method",name:"clearListScroll",static:!1,private:!1,access:{has:e=>"clearListScroll"in e,get:e=>e.clearListScroll},metadata:t},null,l),i(this,null,fl,{kind:"getter",name:"bannerType",static:!1,private:!1,access:{has:e=>"bannerType"in e,get:e=>e.bannerType},metadata:t},null,l),i(this,null,ml,{kind:"getter",name:"isBannerVisible",static:!1,private:!1,access:{has:e=>"isBannerVisible"in e,get:e=>e.isBannerVisible},metadata:t},null,l),i(this,null,gl,{kind:"method",name:"setCurrentBanner",static:!1,private:!1,access:{has:e=>"setCurrentBanner"in e,get:e=>e.setCurrentBanner},metadata:t},null,l),i(this,null,Sl,{kind:"method",name:"setForceShowDetails",static:!1,private:!1,access:{has:e=>"setForceShowDetails"in e,get:e=>e.setForceShowDetails},metadata:t},null,l),i(this,null,yl,{kind:"getter",name:"showRouteInstantly",static:!1,private:!1,access:{has:e=>"showRouteInstantly"in e,get:e=>e.showRouteInstantly},metadata:t},null,l),i(this,null,xl,{kind:"method",name:"startBuildRoute",static:!1,private:!1,access:{has:e=>"startBuildRoute"in e,get:e=>e.startBuildRoute},metadata:t},null,l),i(this,null,Ml,{kind:"method",name:"setGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"setGlobalErrorMessage"in e,get:e=>e.setGlobalErrorMessage},metadata:t},null,l),i(this,null,Pl,{kind:"method",name:"popGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"popGlobalErrorMessage"in e,get:e=>e.popGlobalErrorMessage},metadata:t},null,l),i(this,null,wl,{kind:"method",name:"initializeUIScale",static:!1,private:!1,access:{has:e=>"initializeUIScale"in e,get:e=>e.initializeUIScale},metadata:t},null,l),i(this,null,Tl,{kind:"method",name:"setUIScale",static:!1,private:!1,access:{has:e=>"setUIScale"in e,get:e=>e.setUIScale},metadata:t},null,l),i(this,null,Rl,{kind:"method",name:"resetUIScale",static:!1,private:!1,access:{has:e=>"resetUIScale"in e,get:e=>e.resetUIScale},metadata:t},null,l),i(this,null,Al,{kind:"method",name:"enableSetKioskMode",static:!1,private:!1,access:{has:e=>"enableSetKioskMode"in e,get:e=>e.enableSetKioskMode},metadata:t},null,l),i(this,null,Hl,{kind:"method",name:"setKioskData",static:!1,private:!1,access:{has:e=>"setKioskData"in e,get:e=>e.setKioskData},metadata:t},null,l),i(null,null,T,{kind:"field",name:"list",static:!1,private:!1,access:{has:e=>"list"in e,get:e=>e.list,set:(e,s)=>{e.list=s}},metadata:t},W,Z),i(null,null,X,{kind:"field",name:"details",static:!1,private:!1,access:{has:e=>"details"in e,get:e=>e.details,set:(e,s)=>{e.details=s}},metadata:t},J,q),i(null,null,ee,{kind:"field",name:"hoveredExhibitor",static:!1,private:!1,access:{has:e=>"hoveredExhibitor"in e,get:e=>e.hoveredExhibitor,set:(e,s)=>{e.hoveredExhibitor=s}},metadata:t},te,se),i(null,null,ie,{kind:"field",name:"hoveredBooth",static:!1,private:!1,access:{has:e=>"hoveredBooth"in e,get:e=>e.hoveredBooth,set:(e,s)=>{e.hoveredBooth=s}},metadata:t},ae,le),i(null,null,re,{kind:"field",name:"zoomBy",static:!1,private:!1,access:{has:e=>"zoomBy"in e,get:e=>e.zoomBy,set:(e,s)=>{e.zoomBy=s}},metadata:t},oe,ne),i(null,null,ce,{kind:"field",name:"rollReset",static:!1,private:!1,access:{has:e=>"rollReset"in e,get:e=>e.rollReset,set:(e,s)=>{e.rollReset=s}},metadata:t},de,he),i(null,null,ue,{kind:"field",name:"moveToBooths",static:!1,private:!1,access:{has:e=>"moveToBooths"in e,get:e=>e.moveToBooths,set:(e,s)=>{e.moveToBooths=s}},metadata:t},fe,me),i(null,null,ge,{kind:"field",name:"moveToRect",static:!1,private:!1,access:{has:e=>"moveToRect"in e,get:e=>e.moveToRect,set:(e,s)=>{e.moveToRect=s}},metadata:t},pe,_e),i(null,null,ve,{kind:"field",name:"moveToLocation",static:!1,private:!1,access:{has:e=>"moveToLocation"in e,get:e=>e.moveToLocation,set:(e,s)=>{e.moveToLocation=s}},metadata:t},Se,ye),i(null,null,ke,{kind:"field",name:"menu",static:!1,private:!1,access:{has:e=>"menu"in e,get:e=>e.menu,set:(e,s)=>{e.menu=s}},metadata:t},Ie,be),i(null,null,xe,{kind:"field",name:"searchFocused",static:!1,private:!1,access:{has:e=>"searchFocused"in e,get:e=>e.searchFocused,set:(e,s)=>{e.searchFocused=s}},metadata:t},ze,Ce),i(null,null,Be,{kind:"field",name:"searchClearMode",static:!1,private:!1,access:{has:e=>"searchClearMode"in e,get:e=>e.searchClearMode,set:(e,s)=>{e.searchClearMode=s}},metadata:t},Me,Pe),i(null,null,we,{kind:"field",name:"printingPdf",static:!1,private:!1,access:{has:e=>"printingPdf"in e,get:e=>e.printingPdf,set:(e,s)=>{e.printingPdf=s}},metadata:t},Te,Re),i(null,null,Oe,{kind:"field",name:"largeMessage",static:!1,private:!1,access:{has:e=>"largeMessage"in e,get:e=>e.largeMessage,set:(e,s)=>{e.largeMessage=s}},metadata:t},De,Le),i(null,null,Ae,{kind:"field",name:"largeMessageLastSet",static:!1,private:!1,access:{has:e=>"largeMessageLastSet"in e,get:e=>e.largeMessageLastSet,set:(e,s)=>{e.largeMessageLastSet=s}},metadata:t},Ee,Fe),i(null,null,Ue,{kind:"field",name:"screenSize",static:!1,private:!1,access:{has:e=>"screenSize"in e,get:e=>e.screenSize,set:(e,s)=>{e.screenSize=s}},metadata:t},He,Ve),i(null,null,Ne,{kind:"field",name:"desiredOverlaySize",static:!1,private:!1,access:{has:e=>"desiredOverlaySize"in e,get:e=>e.desiredOverlaySize,set:(e,s)=>{e.desiredOverlaySize=s}},metadata:t},Ke,Ge),i(null,null,Qe,{kind:"field",name:"overlayShowsAll",static:!1,private:!1,access:{has:e=>"overlayShowsAll"in e,get:e=>e.overlayShowsAll,set:(e,s)=>{e.overlayShowsAll=s}},metadata:t},Ye,$e),i(null,null,je,{kind:"field",name:"centerMap",static:!1,private:!1,access:{has:e=>"centerMap"in e,get:e=>e.centerMap,set:(e,s)=>{e.centerMap=s}},metadata:t},We,Ze),i(null,null,Xe,{kind:"field",name:"zoomAfTransformK",static:!1,private:!1,access:{has:e=>"zoomAfTransformK"in e,get:e=>e.zoomAfTransformK,set:(e,s)=>{e.zoomAfTransformK=s}},metadata:t},Je,qe),i(null,null,et,{kind:"field",name:"activeListIndex",static:!1,private:!1,access:{has:e=>"activeListIndex"in e,get:e=>e.activeListIndex,set:(e,s)=>{e.activeListIndex=s}},metadata:t},tt,st),i(null,null,it,{kind:"field",name:"devicePixelRatio",static:!1,private:!1,access:{has:e=>"devicePixelRatio"in e,get:e=>e.devicePixelRatio,set:(e,s)=>{e.devicePixelRatio=s}},metadata:t},at,lt),i(null,null,rt,{kind:"field",name:"wsStarted",static:!1,private:!1,access:{has:e=>"wsStarted"in e,get:e=>e.wsStarted,set:(e,s)=>{e.wsStarted=s}},metadata:t},ot,nt),i(null,null,ct,{kind:"field",name:"canvasStarted",static:!1,private:!1,access:{has:e=>"canvasStarted"in e,get:e=>e.canvasStarted,set:(e,s)=>{e.canvasStarted=s}},metadata:t},dt,ht),i(null,null,ut,{kind:"field",name:"kiosk",static:!1,private:!1,access:{has:e=>"kiosk"in e,get:e=>e.kiosk,set:(e,s)=>{e.kiosk=s}},metadata:t},ft,mt),i(null,null,gt,{kind:"field",name:"inIdle",static:!1,private:!1,access:{has:e=>"inIdle"in e,get:e=>e.inIdle,set:(e,s)=>{e.inIdle=s}},metadata:t},pt,_t),i(null,null,vt,{kind:"field",name:"modalActive",static:!1,private:!1,access:{has:e=>"modalActive"in e,get:e=>e.modalActive,set:(e,s)=>{e.modalActive=s}},metadata:t},St,yt),i(null,null,kt,{kind:"field",name:"galleryActive",static:!1,private:!1,access:{has:e=>"galleryActive"in e,get:e=>e.galleryActive,set:(e,s)=>{e.galleryActive=s}},metadata:t},It,bt),i(null,null,xt,{kind:"field",name:"hideOverlay",static:!1,private:!1,access:{has:e=>"hideOverlay"in e,get:e=>e.hideOverlay,set:(e,s)=>{e.hideOverlay=s}},metadata:t},zt,Ct),i(null,null,Bt,{kind:"field",name:"hideCookieConsent",static:!1,private:!1,access:{has:e=>"hideCookieConsent"in e,get:e=>e.hideCookieConsent,set:(e,s)=>{e.hideCookieConsent=s}},metadata:t},Mt,Pt),i(null,null,wt,{kind:"field",name:"hideHeaderLogo",static:!1,private:!1,access:{has:e=>"hideHeaderLogo"in e,get:e=>e.hideHeaderLogo,set:(e,s)=>{e.hideHeaderLogo=s}},metadata:t},Tt,Rt),i(null,null,Ot,{kind:"field",name:"hideLogoInBooth",static:!1,private:!1,access:{has:e=>"hideLogoInBooth"in e,get:e=>e.hideLogoInBooth,set:(e,s)=>{e.hideLogoInBooth=s}},metadata:t},Dt,Lt),i(null,null,At,{kind:"field",name:"disableBookmarked",static:!1,private:!1,access:{has:e=>"disableBookmarked"in e,get:e=>e.disableBookmarked,set:(e,s)=>{e.disableBookmarked=s}},metadata:t},Et,Ft),i(null,null,Ut,{kind:"field",name:"hideLanguage",static:!1,private:!1,access:{has:e=>"hideLanguage"in e,get:e=>e.hideLanguage,set:(e,s)=>{e.hideLanguage=s}},metadata:t},Ht,Vt),i(null,null,Nt,{kind:"field",name:"monochrome",static:!1,private:!1,access:{has:e=>"monochrome"in e,get:e=>e.monochrome,set:(e,s)=>{e.monochrome=s}},metadata:t},Kt,Gt),i(null,null,Qt,{kind:"field",name:"heatmap",static:!1,private:!1,access:{has:e=>"heatmap"in e,get:e=>e.heatmap,set:(e,s)=>{e.heatmap=s}},metadata:t},Yt,$t),i(null,null,jt,{kind:"field",name:"heatmapYah",static:!1,private:!1,access:{has:e=>"heatmapYah"in e,get:e=>e.heatmapYah,set:(e,s)=>{e.heatmapYah=s}},metadata:t},Wt,Zt),i(null,null,Xt,{kind:"field",name:"debugCircles",static:!1,private:!1,access:{has:e=>"debugCircles"in e,get:e=>e.debugCircles,set:(e,s)=>{e.debugCircles=s}},metadata:t},Jt,qt),i(null,null,es,{kind:"field",name:"mapControlsHidden",static:!1,private:!1,access:{has:e=>"mapControlsHidden"in e,get:e=>e.mapControlsHidden,set:(e,s)=>{e.mapControlsHidden=s}},metadata:t},ts,ss),i(null,null,is,{kind:"field",name:"floorsControlHidden",static:!1,private:!1,access:{has:e=>"floorsControlHidden"in e,get:e=>e.floorsControlHidden,set:(e,s)=>{e.floorsControlHidden=s}},metadata:t},as,ls),i(null,null,rs,{kind:"field",name:"hideFreeOrDemo",static:!1,private:!1,access:{has:e=>"hideFreeOrDemo"in e,get:e=>e.hideFreeOrDemo,set:(e,s)=>{e.hideFreeOrDemo=s}},metadata:t},os,ns),i(null,null,cs,{kind:"field",name:"freeBannerDismissed",static:!1,private:!1,access:{has:e=>"freeBannerDismissed"in e,get:e=>e.freeBannerDismissed,set:(e,s)=>{e.freeBannerDismissed=s}},metadata:t},ds,hs),i(null,null,us,{kind:"field",name:"currentBanner",static:!1,private:!1,access:{has:e=>"currentBanner"in e,get:e=>e.currentBanner,set:(e,s)=>{e.currentBanner=s}},metadata:t},fs,ms),i(null,null,gs,{kind:"field",name:"sceneDefReady",static:!1,private:!1,access:{has:e=>"sceneDefReady"in e,get:e=>e.sceneDefReady,set:(e,s)=>{e.sceneDefReady=s}},metadata:t},ps,_s),i(null,null,vs,{kind:"field",name:"categoryFilterOpen",static:!1,private:!1,access:{has:e=>"categoryFilterOpen"in e,get:e=>e.categoryFilterOpen,set:(e,s)=>{e.categoryFilterOpen=s}},metadata:t},Ss,ys),i(null,null,ks,{kind:"field",name:"selectedCategoryFilters",static:!1,private:!1,access:{has:e=>"selectedCategoryFilters"in e,get:e=>e.selectedCategoryFilters,set:(e,s)=>{e.selectedCategoryFilters=s}},metadata:t},Is,bs),i(null,null,xs,{kind:"field",name:"selectedPoiTypeFilters",static:!1,private:!1,access:{has:e=>"selectedPoiTypeFilters"in e,get:e=>e.selectedPoiTypeFilters,set:(e,s)=>{e.selectedPoiTypeFilters=s}},metadata:t},zs,Cs),i(null,null,Bs,{kind:"field",name:"selectedTrack",static:!1,private:!1,access:{has:e=>"selectedTrack"in e,get:e=>e.selectedTrack,set:(e,s)=>{e.selectedTrack=s}},metadata:t},Ms,Ps),i(null,null,ws,{kind:"field",name:"subButtonsVisible",static:!1,private:!1,access:{has:e=>"subButtonsVisible"in e,get:e=>e.subButtonsVisible,set:(e,s)=>{e.subButtonsVisible=s}},metadata:t},Ts,Rs),i(null,null,Os,{kind:"field",name:"mapControlsDOMRect",static:!1,private:!1,access:{has:e=>"mapControlsDOMRect"in e,get:e=>e.mapControlsDOMRect,set:(e,s)=>{e.mapControlsDOMRect=s}},metadata:t},Ds,Ls),i(null,null,As,{kind:"field",name:"searchBoxMode",static:!1,private:!1,access:{has:e=>"searchBoxMode"in e,get:e=>e.searchBoxMode,set:(e,s)=>{e.searchBoxMode=s}},metadata:t},Es,Fs),i(null,null,Us,{kind:"field",name:"searchBoxTitle",static:!1,private:!1,access:{has:e=>"searchBoxTitle"in e,get:e=>e.searchBoxTitle,set:(e,s)=>{e.searchBoxTitle=s}},metadata:t},Hs,Vs),i(null,null,Ns,{kind:"field",name:"searchBoxSubtitle",static:!1,private:!1,access:{has:e=>"searchBoxSubtitle"in e,get:e=>e.searchBoxSubtitle,set:(e,s)=>{e.searchBoxSubtitle=s}},metadata:t},Ks,Gs),i(null,null,Qs,{kind:"field",name:"routeTitle",static:!1,private:!1,access:{has:e=>"routeTitle"in e,get:e=>e.routeTitle,set:(e,s)=>{e.routeTitle=s}},metadata:t},Ys,$s),i(null,null,js,{kind:"field",name:"routeDescription",static:!1,private:!1,access:{has:e=>"routeDescription"in e,get:e=>e.routeDescription,set:(e,s)=>{e.routeDescription=s}},metadata:t},Ws,Zs),i(null,null,Xs,{kind:"field",name:"isMultiPointRoute",static:!1,private:!1,access:{has:e=>"isMultiPointRoute"in e,get:e=>e.isMultiPointRoute,set:(e,s)=>{e.isMultiPointRoute=s}},metadata:t},Js,qs),i(null,null,ei,{kind:"field",name:"tourTitle",static:!1,private:!1,access:{has:e=>"tourTitle"in e,get:e=>e.tourTitle,set:(e,s)=>{e.tourTitle=s}},metadata:t},ti,si),i(null,null,ii,{kind:"field",name:"tourDescription",static:!1,private:!1,access:{has:e=>"tourDescription"in e,get:e=>e.tourDescription,set:(e,s)=>{e.tourDescription=s}},metadata:t},ai,li),i(null,null,ri,{kind:"field",name:"isMultiPointTour",static:!1,private:!1,access:{has:e=>"isMultiPointTour"in e,get:e=>e.isMultiPointTour,set:(e,s)=>{e.isMultiPointTour=s}},metadata:t},oi,ni),i(null,null,ci,{kind:"field",name:"pathwayOnlyMode",static:!1,private:!1,access:{has:e=>"pathwayOnlyMode"in e,get:e=>e.pathwayOnlyMode,set:(e,s)=>{e.pathwayOnlyMode=s}},metadata:t},di,hi),i(null,null,ui,{kind:"field",name:"isOverlayScrolled",static:!1,private:!1,access:{has:e=>"isOverlayScrolled"in e,get:e=>e.isOverlayScrolled,set:(e,s)=>{e.isOverlayScrolled=s}},metadata:t},fi,mi),i(null,null,gi,{kind:"field",name:"listScrollTop",static:!1,private:!1,access:{has:e=>"listScrollTop"in e,get:e=>e.listScrollTop,set:(e,s)=>{e.listScrollTop=s}},metadata:t},pi,_i),i(null,null,vi,{kind:"field",name:"listScrollItemId",static:!1,private:!1,access:{has:e=>"listScrollItemId"in e,get:e=>e.listScrollItemId,set:(e,s)=>{e.listScrollItemId=s}},metadata:t},Si,yi),i(null,null,ki,{kind:"field",name:"listScrollIndex",static:!1,private:!1,access:{has:e=>"listScrollIndex"in e,get:e=>e.listScrollIndex,set:(e,s)=>{e.listScrollIndex=s}},metadata:t},Ii,bi),i(null,null,xi,{kind:"field",name:"_customUIScale",static:!1,private:!1,access:{has:e=>"_customUIScale"in e,get:e=>e._customUIScale,set:(e,s)=>{e._customUIScale=s}},metadata:t},zi,Ci),i(null,null,ba,{kind:"field",name:"forceDim",static:!1,private:!1,access:{has:e=>"forceDim"in e,get:e=>e.forceDim,set:(e,s)=>{e.forceDim=s}},metadata:t},xa,za),i(null,null,$a,{kind:"field",name:"mapSettings",static:!1,private:!1,access:{has:e=>"mapSettings"in e,get:e=>e.mapSettings,set:(e,s)=>{e.mapSettings=s}},metadata:t},ja,Wa),i(null,null,pl,{kind:"field",name:"forceShowDetails",static:!1,private:!1,access:{has:e=>"forceShowDetails"in e,get:e=>e.forceShowDetails,set:(e,s)=>{e.forceShowDetails=s}},metadata:t},_l,vl),i(null,null,kl,{kind:"field",name:"buildRoute",static:!1,private:!1,access:{has:e=>"buildRoute"in e,get:e=>e.buildRoute,set:(e,s)=>{e.buildRoute=s}},metadata:t},Il,bl),i(null,null,zl,{kind:"field",name:"globalErrorMessages",static:!1,private:!1,access:{has:e=>"globalErrorMessages"in e,get:e=>e.globalErrorMessages,set:(e,s)=>{e.globalErrorMessages=s}},metadata:t},Cl,Bl),i(null,null,Ol,{kind:"field",name:"setKioskModeEnabled",static:!1,private:!1,access:{has:e=>"setKioskModeEnabled"in e,get:e=>e.setKioskModeEnabled,set:(e,s)=>{e.setKioskModeEnabled=s}},metadata:t},Dl,Ll),i(null,null,El,{kind:"field",name:"kioskData",static:!1,private:!1,access:{has:e=>"kioskData"in e,get:e=>e.kioskData,set:(e,s)=>{e.kioskData=s}},metadata:t},Fl,Ul),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=a(this,l);interfaceMetadata=Object.freeze([{id:"menu",className:"efp-overlay-menu",priority:80,isActive:()=>this.menu,searchBoxConfig:()=>({mode:"interface",title:y("Menu")})},{id:"exhibitor",className:"efp-overlay-exhibitor",priority:70,isActive:()=>this.details instanceof x,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"booth",className:"efp-overlay-booth",priority:70,isActive:()=>this.details instanceof b,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:t.title||t.name}}},{id:"event",className:"efp-overlay-event",priority:70,isActive:()=>this.details instanceof F,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"route",className:"efp-overlay-route",priority:70,isActive:()=>this.details instanceof R,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:y("Directions")}}},{id:"search",className:"efp-overlay-search",priority:60,isActive:()=>!this.details&&!this.menu&&this.list.type==="search"&&(this.rootStore.fp.alwaysShowSidebar||this.heatmap||this.searchFocused||this.list.text.length>0||this.searchClearMode),searchBoxConfig:()=>({mode:"search",title:y("Search")})},{id:"exhibitors",className:"efp-overlay-exhibitors",priority:50,isActive:()=>this.list.type==="exhibitors"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Exhibitors")})},{id:"filter",className:"efp-overlay-filter",priority:50,isActive:()=>this.list.type==="filter"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Filter")})},{id:"bookmarks",className:"efp-overlay-bookmarks",priority:50,isActive:()=>this.list.type==="bookmarks"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:y("Bookmarks"),badge:this.rootStore.bookmarksStore.total})},{id:"visited",className:"efp-overlay-visited",priority:50,isActive:()=>this.list.type==="visited"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:y("Visited"),badge:this.rootStore.exhibitorStore.visited.length})},{id:A,className:"efp-overlay-language",priority:50,isActive:()=>this.list.type===A,searchBoxConfig:()=>({mode:"interface",title:y("Language")})},{id:"category",className:"efp-overlay-category",priority:50,isActive:()=>!w.menu&&!!w.selectedCategory,searchBoxConfig:()=>({mode:"interface",title:this.list.type==="category"&&this.list.category?.name||y("Categories")})},{id:"sessions",className:"efp-overlay-sessions",priority:50,isActive:()=>this.list.type==="sessions"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Sessions"),subtitle:this.selectedTrack?this.selectedTrack.name:void 0})},{id:"speakers",className:"efp-overlay-speakers",priority:50,isActive:()=>this.list.type==="speakers"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Speakers")})},{id:"speaker",className:"efp-overlay-speaker",priority:50,isActive:()=>this.details instanceof j,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"tours",className:"efp-overlay-tours",priority:50,isActive:()=>this.list.type==="tours"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Guided Tours")})},{id:"multi-point-wayfinding",className:"efp-overlay-multi-point",priority:75,isActive:()=>!!(this.isMultiPointRoute&&this.selectedRoute&&this.list.type!=="route-planner"),searchBoxConfig:()=>({mode:"interface",title:this.routeTitle||y("Multi-point route")})},{id:"multi-point-tour",className:"efp-overlay-multi-point-tour",priority:75,isActive:()=>this.list.type==="multi-point-tour"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:this.tourTitle||y("Multi-point route")})},{id:"route-planner",className:"efp-overlay-route-planner",priority:76,isActive:()=>this.list.type==="route-planner"&&(!this.details||this.details instanceof R),searchBoxConfig:()=>({mode:"interface",title:y("Route planner")})}].sort((t,e)=>e.priority-t.priority));list=a(this,W,{type:"search",text:"",focused:!1});details=(a(this,Z),a(this,J,null));hoveredExhibitor=(a(this,q),a(this,te,null));hoveredBooth=(a(this,se),a(this,ae,null));zoomBy=(a(this,le),a(this,oe,null));rollReset=(a(this,ne),a(this,de,!1));moveToBooths=(a(this,he),a(this,fe,null));moveToRect=(a(this,me),a(this,pe,null));moveToLocation=(a(this,_e),a(this,Se,!1));menu=(a(this,ye),a(this,Ie,!1));searchFocused=(a(this,be),a(this,ze,!1));searchClearMode=(a(this,Ce),a(this,Me,!1));printingPdf=(a(this,Pe),a(this,Te,!1));largeMessage=(a(this,Re),a(this,De,null));largeMessageLastSet=(a(this,Le),a(this,Ee,null));screenSize=(a(this,Fe),a(this,He,void 0));desiredOverlaySize=(a(this,Ve),a(this,Ke,void 0));overlayShowsAll=(a(this,Ge),a(this,Ye,!1));centerMap=(a(this,$e),a(this,We,!1));zoomAfTransformK=(a(this,Ze),a(this,Je,1));activeListIndex=(a(this,qe),a(this,tt,-1));devicePixelRatio=(a(this,st),a(this,at,window.devicePixelRatio));previewExhibitor=(a(this,lt),null);wsStarted=a(this,ot,!1);canvasStarted=(a(this,nt),a(this,dt,!1));kiosk=(a(this,ht),a(this,ft,!1));inIdle=(a(this,mt),a(this,pt,!1));modalActive=(a(this,_t),a(this,St,{share:!1}));galleryActive=(a(this,yt),a(this,It,!1));hideOverlay=(a(this,bt),a(this,zt,!1));hideCookieConsent=(a(this,Ct),a(this,Mt,!!nr()));hideHeaderLogo=(a(this,Pt),a(this,Tt,!1));hideLogoInBooth=(a(this,Rt),a(this,Dt,!1));disableBookmarked=(a(this,Lt),a(this,Et,!1));hideLanguage=(a(this,Ft),a(this,Ht,!1));monochrome=(a(this,Vt),a(this,Kt,!1));heatmap=(a(this,Gt),a(this,Yt,!1));heatmapYah=(a(this,$t),a(this,Wt,!1));rootElement=a(this,Zt);debugCircles=a(this,Jt,[]);mapControlsHidden=(a(this,qt),a(this,ts,!1));floorsControlHidden=(a(this,ss),a(this,as,!1));hideFreeOrDemo=(a(this,ls),a(this,os,!1));freeBannerDismissed=(a(this,ns),a(this,ds,or(sessionStorage)));currentBanner=(a(this,hs),a(this,fs,null));sceneDefReady=(a(this,ms),a(this,ps,!1));categoryFilterOpen=(a(this,_s),a(this,Ss,!1));selectedCategoryFilters=(a(this,ys),a(this,Is,[]));selectedPoiTypeFilters=(a(this,bs),a(this,zs,[]));selectedTrack=(a(this,Cs),a(this,Ms,null));subButtonsVisible=(a(this,Ps),a(this,Ts,!1));mapControlsDOMRect=(a(this,Rs),a(this,Ds,void 0));searchBoxMode=(a(this,Ls),a(this,Es,"search"));searchBoxTitle=(a(this,Fs),a(this,Hs,""));searchBoxSubtitle=(a(this,Vs),a(this,Ks,void 0));routeTitle=(a(this,Gs),a(this,Ys,void 0));routeDescription=(a(this,$s),a(this,Ws,void 0));isMultiPointRoute=(a(this,Zs),a(this,Js,!1));tourTitle=(a(this,qs),a(this,ti,void 0));tourDescription=(a(this,si),a(this,ai,void 0));isMultiPointTour=(a(this,li),a(this,oi,!1));pathwayOnlyMode=(a(this,ni),a(this,di,!1));isOverlayScrolled=(a(this,hi),a(this,fi,!1));listScrollTop=(a(this,mi),a(this,pi,0));listScrollItemId=(a(this,_i),a(this,Si,null));listScrollIndex=(a(this,yi),a(this,Ii,0));scrollPositions=(a(this,bi),new Map);scrollItemIds=new Map;_customUIScale=a(this,zi,null);searchFilterHeightPx=(a(this,Ci),54);searchInputHeightPx=54;overlayUISizePx=390;overlayKioskSizePx=450;overlayMediumHeightRems=10;setSelectedCategoryFilters(t){this.selectedCategoryFilters=t}resetCategoryFilter(){this.selectedCategoryFilters=[],this.categoryFilterOpen=!1}setSearchClearMode(t){this.searchClearMode=t}setRouteTitle(t){this.routeTitle=t}setRouteDescription(t){this.routeDescription=t}setIsMultiPointRoute(t){this.isMultiPointRoute=t}setTourTitle(t){this.tourTitle=t}setTourDescription(t){this.tourDescription=t}setIsMultiPointTour(t){this.isMultiPointTour=t}setPathwayOnlyMode(t){this.pathwayOnlyMode=t}setMultiPointTourList(t){this.list={type:"multi-point-tour",tourId:t}}get activePathwayLayers(){return this.list?.type==="multi-point-tour"?this.rootStore.toursStore.getTourById(this.list.tourId)?.layers?.map(e=>e.id)||[]:[]}get highlightedBooths(){const t=new Set(this.rootStore.exhibitorStore.highlightedByExternalIds),e=new Set(this.rootStore.boothStore.highlightedByExternalIds),s=new Set([this.rootStore.exhibitorStore.exhibitors.filter(r=>t.has(r.externalId)).flatMap(r=>r.booths.filter(n=>n instanceof E)).map(r=>r.id.toString()),this.rootStore.boothStore.booths.filter(r=>e.has(r.externalId)).map(r=>r.id.toString())].flat());if(this.list?.type==="search"&&this.list?.text?.trim().length){s.clear();const r=this.fuzzySearchItems.filter(n=>n.score===0).map(n=>n.item);r.length?K(r,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems).forEach(n=>s.add(n.id.toString())):this.listBooths.forEach(n=>s.add(n.id.toString()))}if(this.list?.type==="filter"&&(s.clear(),this.list.items.flatMap(r=>r.booths.filter(n=>n instanceof E)).forEach(r=>s.add(r.id.toString()))),this.categoryFilterOpen&&this.selectedCategoryFilters.length>0?(s.clear(),this.selectedCategoryFilters.forEach(r=>{r.exhibitors.flatMap(n=>n.booths).forEach(n=>s.add(n.id.toString()))})):this.list?.type==="category"&&(s.clear(),this.list.category.exhibitors.flatMap(r=>r.booths).forEach(r=>s.add(r.id.toString()))),this.list?.type==="bookmarks"&&(s.clear(),K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems).forEach(r=>s.add(r.id.toString()))),this.list?.type==="visited"&&(s.clear(),K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems).forEach(r=>s.add(r.id.toString()))),this.list?.type==="exhibitors"){s.clear();const r=this.list.text?.toLowerCase().trim();let n=this.rootStore.exhibitorStore.exhibitors;r&&(n=n.filter(f=>f.name.toLowerCase().includes(r))),n.flatMap(f=>f.booths.filter(g=>g instanceof E)).forEach(f=>s.add(f.id.toString()))}if(this.selectedPoiTypeFilters.length>0&&(s.clear(),this.selectedPoiTypeFilters.forEach(r=>{this.rootStore.boothStore.booths.filter(n=>n.poiTypeId===r.id).forEach(n=>s.add(n.id.toString()))})),this.details instanceof R&&(s.clear(),this.details.from instanceof b&&s.add(this.details.from.id.toString()),this.details.to instanceof b&&s.add(this.details.to.id.toString()),this.details.waypoints?.forEach(r=>s.add(r.id.toString()))),this.details instanceof b&&(s.clear(),s.add(this.details.id.toString())),this.details instanceof x&&(s.clear(),this.details.booths.filter(r=>r instanceof E).forEach(r=>s.add(r.id.toString()))),this.details instanceof F){const r=this.details;if(r.boothId){s.clear();const n=this.rootStore.boothStore.booths.find(f=>f.id===r.boothId);n&&s.add(n.id.toString())}}return s.delete(void 0),s.delete(null),s}constructor(t){a(this,Ul),this.rootStore=t,this.initializeUIScale()}get rtl(){const t=dr();return t==="ar"||t==="he"}get noOverlay(){return this.rootStore.fp.noOverlay||this.hideOverlay}get onBoothClick(){return this.rootStore.fp.onBoothClick}get onMarkerClick(){return this.rootStore.fp.onMarkerClick}get onBookmarkClick(){return this.rootStore.fp.onBookmarkClick}get onVisitedClick(){return this.rootStore.fp.onVisitedClick}get onCategoryClick(){return this.rootStore.fp.onCategoryClick}get onDirection(){return this.rootStore.fp.onDirection}get onDetails(){return this.rootStore.fp.onDetails}get onExhibitorCustomButtonClick(){return this.rootStore.fp.onExhibitorCustomButtonClick}get onGetCoordsClick(){return this.rootStore.fp.onGetCoordsClick}get selectedExhibitor(){return this.details instanceof x?this.details:null}get selectedBooth(){return this.details instanceof b?this.details:null}get selectedCategory(){return this.list.type==="category"?this.list.category:null}get selectedRoute(){return this.details instanceof R?this.details:null}get selectedSpeaker(){return this.details instanceof j?this.details:null}get uiScale(){return this._customUIScale!==null?this._customUIScale:this.kiosk?1.2:1}get isGuidedToursActive(){return this.rootStore.toursStore.isActive}get getRouteNextFloor(){const t=this.rootStore.routeStore.pathLayers,e=this.rootStore.routeStore.currentRouteLayer?.name;if(!e)return null;const s=t.findIndex(u=>u.layer?.name===e);return s===-1?null:t[s+1]?.layer?.name}get headerHeightRem(){return 0}get headerHeightPx(){return N(this.headerHeightRem)}get overlayPosition(){return!this.screenSize||this.screenSize.width>ir||this.kiosk?"left":"bottom"}get overlayCollapsed(){return this.kiosk&&this.overlayPosition==="left"&&!this.searchFocused&&!this.menu&&!this.details&&!this.selectedCategory&&!this.selectedExhibitor&&this.list.type!=="bookmarks"&&this.list.type!==A&&!this.list.text?.length}get overlaySize(){return this.overlayLeft?"full":this.desiredOverlaySize}get overlayBottom(){return this.overlayPosition==="bottom"}get overlayLeft(){return this.overlayPosition==="left"}get overlayWidthPx(){return this.noOverlay?0:this.overlayLeft?this.kiosk?this.overlayKioskSizePx:this.overlayUISizePx:N(this.screenSize.width)}get wsImageHeightPx(){return 44}get wsPaddingPx(){return N(.25)}get wsOccupiedHeightPx(){return this.wsShown?this.wsImageHeightPx+this.wsPaddingPx*2:0}get wsShown(){return!this.hideHeaderLogo&&this.rootStore.exhibitorStore.advertised.length>0}get wsDesktopPosition(){return V.EXPO==="cbresupplypartner"?"bottom":"top"}get wsPosition(){return this.overlayBottom?"top":this.wsDesktopPosition}get responsiveClass(){return ur(this.screenSize.width)}get mapVisibleTop(){return(this.wsPosition==="top"?this.wsOccupiedHeightPx:0)+this.headerHeightPx}get mapVisibleBottom(){return this.overlayLeft||this.noOverlay?this.wsPosition==="bottom"?this.wsOccupiedHeightPx:0:N(this.overlayMediumHeightRems)}get mapVisibleStart(){return 0}get searchActionsHeightPx(){return this.overlayPosition==="bottom"?this.searchInputHeightPx+this.searchFilterHeightPx:this.searchInputHeightPx}get fullSizeOffset(){const t=this.wsShown?54:0,e=this.bannerType==="free"&&!this.freeBannerDismissed?40:0,s=20;if(this.details&&!(this.details instanceof R))return t+e+s;const u=54,r=this.shouldShowSearchButtons?54:0;return t+e+u+s+r}get shouldShowSearchButtons(){return this.rootStore.searchButtonsStore.hasAnySearchButtons&&!this.details&&!this.menu&&![A,"filter"].includes(this.list.type)}get canvasVisibleRectPx(){const t=this.screenSize;return er.fromMinMax({x:w.rtl?0:this.mapVisibleStart,y:this.mapVisibleTop+this.searchActionsHeightPx},{x:w.rtl?t.width-this.mapVisibleStart:t.width,y:t.height-this.mapVisibleBottom})}get shouldShiftMapRect(){return this.overlayPosition==="left"&&(this.details||this.hasAppliedFilters||this.selectedRoute)}get hasAppliedFilters(){return this.selectedCategoryFilters.length>0||this.selectedPoiTypeFilters.length>0}get canvasVisibleRectPt(){return this.canvasVisibleRectPx.scale(this.devicePixelRatio,{x:0,y:0})}get canvasSizePt(){return this.screenSize.multiply(this.devicePixelRatio)}get shouldUseBackdrop(){if(w.overlayCollapsed)return!1;if(B&&localStorage.getItem("forcebackdrop")==="1")return!0;if(this.overlayBottom||this.selectedExhibitor?.leadingImageUrl&&!this.selectedExhibitor?.leadingImageLinkUrl)return!1;const t=jl.satisfies({safari:">=13"}),e=jl.satisfies({chrome:">=77"});var s=/(android)/i.test(navigator.userAgent);return s?!1:t||e&&w.canvasSizePt.height*w.canvasSizePt.width<3e6}forceDim=a(this,xa,!1);setForceDim(t){this.forceDim=t}get dimmed(){return this.forceDim||this.pathwayOnlyMode?!0:this.highlightedBooths.size>0||this.list?.type==="search"&&this.list?.text?.trim().length>0||this.list?.type==="exhibitors"}get defaultSearchItems(){const{exhibitorStore:t,categoryStore:e,boothStore:s,heatmapStore:u}=this.rootStore;let r=t.exhibitors;const n=e.categories.filter(p=>p.exhibitors.length),f=s.booths;this.selectedPoiTypeFilters.length>0&&(r=r.filter(p=>p.booths.some(_=>this.selectedPoiTypeFilters.some(S=>_.poiTypeId===S.id))));let g=[];const M=!this.selectedCategoryFilters.length&&C.showCategories?n.filter(p=>gr.includes(V.EXPO)?!p.name.includes("/"):!0):[],D=f.filter(p=>p instanceof $);return this.selectedCategoryFilters.length>0?g=[...r]:(C.showCompaniesAndBooths&&(g=g.concat(r)),C.showOtherSpaces&&(g=g.concat(D))),this.heatmap?[...r,...f].sort((_,S)=>u.getClicksByType(S)-u.getClicksByType(_)):this.heatmapYah?u.heatmapData?.yah?.sort((p,_)=>u.getClicksByType(_)-u.getClicksByType(p))||[]:r.length===0?f:M.concat(g.sort((p,_)=>{const S=p instanceof x&&p.featured!==void 0,P=_ instanceof x&&_.featured!==void 0;if(S!==P)return S?-1:1;const L=p instanceof $&&p.title?p.title:p.name,G=_ instanceof $&&_.title?_.title:_.name;return L.localeCompare(G,void 0,{sensitivity:"base",numeric:!0})}))}get searchItems(){if(this.list.type!=="search")return[];let t=this.list.text?.trim().toLowerCase()||"";const{exhibitorStore:e,categoryStore:s,boothStore:u,eventStore:r,speakerStore:n,heatmapStore:f}=this.rootStore;let g=e.exhibitors;const M=s.categories.filter(d=>d.exhibitors.length),D=u.booths,p=r.eventItems,_=n.speakers;if(this.selectedCategoryFilters.length>0&&(g=g.filter(d=>this.selectedCategoryFilters.some(h=>d.categories.some(v=>v.id===h.id)))),this.selectedPoiTypeFilters.length>0&&(g=g.filter(d=>d.booths.some(h=>this.selectedPoiTypeFilters.some(v=>h.poiTypeId===v.id)))),!t)return this.defaultSearchItems;const S=[t.replace(/&[^&=]+=[^&]+/g,"")];if(this.heatmapYah)return f.heatmapData.yah.filter(h=>Number.isNaN(Number(t))?h:h.viewCount>=Number(t)).sort((h,v)=>f.getClicksByType(v)-f.getClicksByType(h));const P=[],L=new Set,G=new Set,Vl=new Set,Zl=new Set;function Nl(d){return d?d.replace(/[!@#$%^*-\.,\(\)^#$%:?_+'"\/]/g," ").replace(/\s\s+/g," "):""}function I(d,h){return!d||!h?!1:Nl(d).toLowerCase().includes(Nl(h).toLowerCase())}function Kl(d,h){return d?I(d,h)||I(C.levelTerm+" "+d,h):!1}g.forEach(d=>{S.some(h=>I(d.name,h)||d.booths.some(v=>!h&&I(v.name,h)||Kl(v.layer?.name??null,h)))&&L.add(d)}),this.selectedCategoryFilters.length>0&&D.forEach(d=>{(this.heatmap||!(d instanceof E)||!Array.from(L).find(v=>v.booths.includes(d)))&&S.some(v=>I(d.title||"",v)||I(d.name,v)||I(d.fullName,v)||Kl(d.layer?.name??null,v))&&G.add(d)});const Xl=p,Jl=_;if(Xl.forEach(d=>{S.some(h=>I(d.name||"",h)||I(d.description||"",h))&&Vl.add(d)}),Jl.forEach(d=>{S.some(h=>I(d.name,h)||I(d.company,h)||I(d.jobTitle,h))&&Zl.add(d)}),P.push(...Vl),P.push(...L),this.heatmap)return P.sort((d,h)=>f.getClicksByType(h)-f.getClicksByType(d));const ql=new Map(P.map(d=>[d.id,d]));return P.map(d=>{if(!d.name)return null;const h=Wl(d instanceof b&&d.fullName.toLowerCase()||d.name.toLowerCase()),v=h.indexOf(Wl(t));if(v===-1)return null;const Gl={id:d.id,position:v,lowerCaseName:h,featured:!1};return d instanceof x&&(Gl.featured=d.featured),Gl}).filter(Boolean).sort((d,h)=>(d.featured||h.featured)&&d.featured!==h.featured?d.featured?-1:1:d.position!==h.position?d.position-h.position:d.lowerCaseName.localeCompare(h.lowerCaseName)||String(d.id).localeCompare(String(h.id))).map(({id:d})=>ql.get(d))}get searchList(){return[...this.rootStore.eventStore.eventItems,...this.rootStore.speakerStore.speakers,...this.rootStore.categoryStore.categories.filter(t=>t.exhibitors.length),...this.rootStore.exhibitorStore.exhibitors,...this.rootStore.boothStore.booths]}get foundInDescription(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return[];const e=this.fuzzySearchItems.map(({item:n})=>n),s=new Set(e.map(n=>n.name)),u=this.categoryFilteredSearchList.filter(n=>!s.has(n.name)),r=[];for(const n of u){const f=n.description;if(!f)continue;const M=(Yl(f)?$l(f):f).toLowerCase().indexOf(t);M!==-1&&r.push({item:n,pos:M})}return r.sort((n,f)=>n.pos-f.pos),r.map(n=>n.item)}get foundInDescriptionStruct(){const t={};if(this.list?.type!=="search")return t;const e=this.list?.text?.trim().toLowerCase();return this.foundInDescription.forEach(s=>{let u=s.description;if(!u)return;Yl(u)&&(u=$l(u));const r=u.toLowerCase().indexOf(e);if(r===-1)return;const n=3,f=r>n?r-n:0,g=u.substring(f).trim();t[s.id]=r>0?`...${g}`:g}),t}get categoryFilteredSearchList(){return this.selectedCategoryFilters.length===0?this.searchList:this.searchList.filter(t=>t instanceof x&&this.selectedCategoryFilters.some(e=>t.categories.some(s=>s.id===e.id)))}get fuzzySearchItems(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return this.defaultSearchItems.map(r=>({item:r,score:0,matches:[]}));const e=this.rootStore.fuzzySearchEngineStore.search(this.categoryFilteredSearchList,t),s=[],u=[];for(const r of e){const n=r.item,f=n.entity.type,g=f==="booth"?n:null,M=f==="exhibitor"?n:null,D=[n.name?.toLowerCase()??"",g?.title?.toLowerCase()??"",g?.fullName?.toLowerCase()??"",...M?.booths?.map(_=>_.name?.toLowerCase()??"")??[]];let p=1/0;for(const _ of D){const S=_.indexOf(t);S!==-1&&S<p&&(p=S)}p!==1/0?s.push({result:{item:n,score:0},pos:p}):u.push(r)}return s.sort((r,n)=>r.pos-n.pos),[...s.map(r=>r.result),...u]}get listItems(){if(this.details instanceof R&&this.list.type!=="multi-point-tour")return[this.details.from,this.details.to].filter(t=>t instanceof b);switch(this.list.type){case"search":let t=!(this.heatmap||this.heatmapYah)&&this.rootStore.fuzzySearchEngineStore.engine?this.fuzzySearchItems.map(({item:r})=>r).concat(this.foundInDescription):this.searchItems;return t=t.filter(r=>r.entity.type==="booth"?!r.exhibitors.length:!0),this.hasAppliedFilters?t.filter(r=>{if(this.selectedCategoryFilters.length>0&&r instanceof x&&!this.selectedCategoryFilters.some(n=>r.categories.some(f=>f.id===n.id)))return!1;if(this.selectedPoiTypeFilters.length>0){if(r instanceof x&&!r.booths.some(n=>this.selectedPoiTypeFilters.some(f=>n.poiTypeId===f.id))||r instanceof b&&!this.selectedPoiTypeFilters.some(n=>r.poiTypeId===n.id))return!1;if(r instanceof F&&r.boothId){const n=this.rootStore.boothStore.booths.find(f=>f.id===r.boothId);if(!n||!this.selectedPoiTypeFilters.some(f=>n.poiTypeId===f.id))return!1}}return!0}):t;case"bookmarks":return[...this.rootStore.exhibitorStore.bookmarked,...this.rootStore.eventStore.bookmarked,...this.rootStore.speakerStore.bookmarked,...this.rootStore.boothStore.booths.filter(r=>r.exhibitors.length===0&&r.bookmarkedDirectly)];case"visited":return[...this.rootStore.exhibitorStore.visited,...this.rootStore.eventStore.visited];case"category":return this.list.category.exhibitors;case A:return hr();case"filter":return this.list.items;case"sessions":return this.rootStore.eventStore.eventItems;case"exhibitors":const e=this.rootStore.exhibitorStore.exhibitors,s=this.list.text?.toLowerCase().trim();return s?e.filter(r=>r.name.toLowerCase().includes(s)):e;case"multi-point-tour":const u=this.rootStore.toursStore.getTourById(this.list.tourId);return u?!u.points||u.points.length===0?[]:u.points.map(r=>{const n=parseInt(r);if(!isNaN(n)){const g=this.rootStore.boothStore.boothById.get(n);if(g)return g}return mr(r)?.entity||null}).filter(Boolean):[];case"route-planner":return this.rootStore.routePlannerStore.resolvedBooths}throw new Error("Unknown list.type")}get listBooths(){return K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems)}get selectedBooths(){let t=[];this.selectedExhibitor?t=this.selectedExhibitor.booths:this.selectedBooth&&(t=[this.selectedBooth]);const e=this.selectedRoute,s=[e?.from,e?.to,...e?.waypoints??[]].filter(u=>u instanceof b);return t.push(...s),new Set(t)}get hoveredBooths(){let t;return this.hoveredBooth?t=[this.hoveredBooth]:this.hoveredExhibitor&&(t=this.hoveredExhibitor.booths),new Set(t)}get visibility(){return{controls:!this.mapControlsHidden,levels:!this.floorsControlHidden,header:this.wsShown,overlay:!this.hideOverlay}}setVisibility(t){const e={...Object.keys(this.visibility).reduce((s,u)=>({...s,[u]:!0}),{}),...Object.keys(t).filter(s=>this.visibility.hasOwnProperty(s)).reduce((s,u)=>({...s,[u]:t[u]}),{})};Object.values(e).every(Boolean)?B&&localStorage.removeItem(Ql):B&&localStorage.setItem(Ql,JSON.stringify(e)),this.mapControlsHidden=!e.controls,this.floorsControlHidden=!e.levels,this.hideHeaderLogo=!e.header,this.hideFreeOrDemo=!e.header,this.hideOverlay=!e.overlay}toggleMapOverlay(){this.overlayPosition==="bottom"&&this.overlaySize==="full"?this.desiredOverlaySize="medium":this.overlayPosition==="bottom"&&this.overlaySize!=="full"&&(this.desiredOverlaySize="full")}changeZoom(t){this.zoomBy=t}zoomIn(){this.changeZoom(1.5)}zoomOut(){this.changeZoom(.66)}fitBounds(){if(this.rootStore.maplibreStore.showMaplibre){const{rect:t}=fr({layerViewbox:this.rootStore.layerStore.viewboxRectangle,explicitArea:rr?Y:null,layerRectangle:this.rootStore.layerStore.rectangle,sceneDef:this.rootStore.rendererService.scene,svgArea:Y});this.moveToRect=t}else this.moveToRect=this.rootStore.layerStore.rectangle||Y;this.rollReset=!0}get previewMode(){return B&&localStorage.getItem(ar)==="1"||this.rootStore.fp.previewMode}get viewerMode(){return B&&localStorage.getItem(lr)==="1"||this.rootStore.fp.viewerMode}get selectedEventItem(){return this.details instanceof F?this.details:null}get defaultMapSettings(){return{zoomtime:500,center:void 0,centerxy:void 0,z:void 0,bearing:0,roll:1}}mapSettings=(a(this,za),a(this,ja,{...this.defaultMapSettings}));saveMapSettings(t){const e=JSON.stringify(this.mapSettings),s=JSON.stringify(t);e!==s&&sessionStorage.setItem(sr,JSON.stringify(t))}setMapSettings(t){const e={};for(const s in t)t[s]!=null&&(s==="zoomtime"?e[s]=Math.min(Math.max(t[s]||this.mapSettings.zoomtime,500),5e3):e[s]=t[s]);this.mapSettings={...this.mapSettings,...e},this.saveMapSettings(this.mapSettings)}resetMapSettings(){this.mapSettings={...this.defaultMapSettings},this.saveMapSettings(this.mapSettings)}get baseQRCodeUrl(){return`https://${V.EXPO}.expofp.com`}get viewMapOnPhoneQRCodeUrl(){if(C?.customKioskQrCodeUrl)return C.customKioskQrCodeUrl;const t=new URL(this.baseQRCodeUrl);t.search=window.location.search;const e=t.toString();return console.log("View Map On Phone QR Code Url",e),e}get routeQRCodeUrl(){const t=new URL(this.baseQRCodeUrl),e=this.selectedRoute?.from,s=this.selectedRoute?.to,u=e instanceof b?e.slug:"",r=s instanceof b?s.slug:"";t.search=`?route%3A${encodeURIComponent(r)}%3A${encodeURIComponent(u)}%3Afalse`,tr(t.searchParams,this.kioskData,["x","y","z"]);const n=t.toString();return console.log("Route QR Code Url",n),n}get isFeaturedExhibitorActive(){return this.details instanceof x&&!!this.details.featured}get activeInterfaceData(){for(const t of this.interfaceMetadata)if(t.isActive())return t;return null}get searchBoxConfig(){const t=this.activeInterfaceData;return!t||!t.searchBoxConfig?{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}:t.searchBoxConfig()||{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}}get searchBoxActions(){return this.activeInterfaceData?.actions?.()??[]}get overlayInterfaceClasses(){const t=[],e=this.activeInterfaceData;return e&&(t.push(e.className),e.additionalClasses&&t.push(...e.additionalClasses())),this.details&&t.push("overlay-has-details"),this.list.type&&t.push(`overlay-list-${this.list.type}`),this.isFeaturedExhibitorActive&&t.push("overlay-exhibitor-featured"),t}get isOverlayOpen(){return this.noOverlay||this.hideOverlay?!1:this.activeInterfaceData!==null}setOverlayScrolled(t){this.isOverlayScrolled=t}setListScrollTop(t,e){this.listScrollTop=e,this.scrollPositions.set(t,e)}setListScrollItemId(t,e){this.listScrollItemId=e,this.scrollItemIds.set(t,e)}getListScrollTop(t){return this.scrollPositions.get(t)||0}getListScrollItemId(t){return this.scrollItemIds.get(t)||null}clearListScroll(t){this.scrollPositions.delete(t),this.scrollItemIds.delete(t),this.list.type===t&&(this.listScrollTop=0,this.listScrollItemId=null)}get bannerType(){return this.hideFreeOrDemo||this.heatmap?null:V.EXPO==="expo"?"demo":C.expoFpAd||C.isTrial?"free":null}get isBannerVisible(){return this.bannerType!==null}setCurrentBanner(t){this.currentBanner=t}forceShowDetails=(a(this,Wa),a(this,_l,!1));setForceShowDetails(t){this.forceShowDetails=t}get showRouteInstantly(){return!!(this.kiosk&&!this.forceShowDetails)}buildRoute=(a(this,vl),a(this,Il,!1));startBuildRoute(){this.rootStore.selectSearch(""),this.mapControlsHidden=!0,this.floorsControlHidden=!0,this.hideHeaderLogo=!0,this.hideFreeOrDemo=!0,this.hideOverlay=!0,this.hideCookieConsent=!0,this.buildRoute=!0}globalErrorMessages=(a(this,bl),a(this,Cl,[]));setGlobalErrorMessage(t){this.globalErrorMessages.push(t)}popGlobalErrorMessage(){this.globalErrorMessages.pop()}initializeUIScale(){if(new URLSearchParams(window.location.search).get("kiosk")!=="0"&&B){const e=localStorage.getItem(Q);if(e){const s=parseFloat(e);!isNaN(s)&&s>=.8&&s<=1.4&&(this._customUIScale=s)}}}minUIScale=(a(this,Bl),.8);maxUIScale=1.4;setUIScale(t,e=!0){if(isNaN(t)||t<this.minUIScale||t>this.maxUIScale){cr.warn(`Invalid ui-scale value: ${t}. Must be between ${this.minUIScale} and ${this.maxUIScale}.`);return}this._customUIScale=t,e&&B&&localStorage.setItem(Q,t.toString())}resetUIScale(){this._customUIScale=null,B&&localStorage.removeItem(Q)}setKioskModeEnabled=a(this,Dl,!1);enableSetKioskMode(t){this.setKioskModeEnabled=t}kioskData=(a(this,Ll),a(this,Fl,void 0));setKioskData(t){this.kioskData=t}}})();export default pr;function K(U,O,H=[]){const z=[];return U.forEach(k=>{k instanceof x?z.push(...k.booths):k instanceof b?z.push(k):k instanceof F?k.boothId&&z.push(O.find(l=>l.id===k.boothId)):k instanceof j&&H.filter(l=>l.speakers.some(T=>T.id===k.id)&&l.boothId).forEach(l=>z.push(O.find(T=>T.id===l.boothId)))}),new Set(z.filter(Boolean))}
|
package/dist/esm/utils/gps.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{haversineDistance as
|
|
1
|
+
import{haversineDistance as m,lineCenter as x,lineLength as d,pointDistance as v,projectGpsToLocal as b,projectLocalToGps as G}from"@expofp/geometry";import{fpGeo as y}from"../data/fpGeo";import p from"../tools/logger";import{planBearing as L}from"./planBearing";function c(e){return[{local:{x:e.p0.x,y:e.p0.y},geo:{lat:e.p0.lat,lng:e.p0.lng}},{local:{x:e.p2.x,y:e.p2.y},geo:{lat:e.p2.lat,lng:e.p2.lng}}]}export function isValidPointCoords(e){return typeof e=="number"&&Number.isFinite(e)}export function convertGpsToLocal({lat:e,lng:n,angle:o},l){if(!(isValidPointCoords(e)&&isValidPointCoords(n)))return null;let{p0:t,p2:r}=l;const i=m(t,r);if(!isValidPointCoords(i)||i<=0)return p.warn("Invalid GPS config: zero or negative distance",{fullGpsDistance:i,p0:t,p2:r}),null;const[s,u]=c(l);let a=b({lat:e,lng:n},s,u),g=d({p0:a,p1:x({p0:t,p1:r})}),f=v(t,r);return g>5*f?(p.warn("Current position too far"),null):{...a,angle:o}}export function convertLocalToGps(e,n,o){const[l,t]=c(o),{lat:r,lng:i}=G({x:e,y:n},l,t);return[i,r]}export function calculateRelativeBearing(e){const n=y?.properties?.config,o=n?L(n.p0,n.p2):NaN,l=Number.isFinite(o)?o:n?.bearing??0;return e?.angle===null?0:(((e.angle-l)%360+360)%360-90+360)%360}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface AnchorPoint {
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
lat: number;
|
|
5
|
+
lng: number;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Bearing (degrees, 0..360) that renders a floor plan upright on the map: the
|
|
9
|
+
* rotation from the p0->p2 anchor diagonal in plan coordinates to its direction
|
|
10
|
+
* in Web Mercator. Returns NaN for non-finite anchors.
|
|
11
|
+
*/
|
|
12
|
+
export declare function planBearing(p0: AnchorPoint, p2: AnchorPoint): number;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=planBearing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(t){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t*Math.PI/360)))/360}export function planBearing(t,a){const r=Math.atan2(e(a.lat)-e(t.lat),(a.lng-t.lng)/360),l=Math.atan2(a.y-t.y,a.x-t.x),n=(r-l)*180/Math.PI%360;return Number.isFinite(n)?(n+360)%360:NaN}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Box } from '@expofp/geometry';
|
|
2
|
+
import type { SceneDef } from '@expofp/renderer';
|
|
3
|
+
/**
|
|
4
|
+
* Bounding box (in local SVG units) of all drawn scene content, excluding the
|
|
5
|
+
* background "areamap" layer. This is the real venue extent and the rect that
|
|
6
|
+
* Fit-to-screen should target — the full SVG area (`svgArea`) instead spans the
|
|
7
|
+
* whole surrounding map (e.g. an entire city), which makes the fit zoom out far
|
|
8
|
+
* too much.
|
|
9
|
+
*
|
|
10
|
+
* Uses the same name-based areamap exclusion as MaplibreWrapper, so it needs no
|
|
11
|
+
* layer flags and degrades to "all content" for venue-only floorplans.
|
|
12
|
+
*/
|
|
13
|
+
export declare function getSceneVenueRect(sceneDef: SceneDef | null | undefined): Box | null;
|
|
14
|
+
/**
|
|
15
|
+
* Margin to leave around the venue when fitting, as a fraction of the venue
|
|
16
|
+
* size. Mirrors the legacy renderer's adaptive rule: a venue that is tiny
|
|
17
|
+
* relative to its surroundings gets more breathing room than one that already
|
|
18
|
+
* fills most of the available area.
|
|
19
|
+
*/
|
|
20
|
+
export declare function getVenueFitMarginPercent(venueRect: Box, baseRect: Box): number;
|
|
21
|
+
/** Grow a rect outward by `pct` of its size on each side. */
|
|
22
|
+
export declare function expandRectByPercent(rect: Box, pct: number): Box;
|
|
23
|
+
/**
|
|
24
|
+
* Canonical Fit-to-screen target: the venue extent grown by its adaptive margin.
|
|
25
|
+
* `baseRect` is the surrounding map area (`svgArea`) used to scale the margin.
|
|
26
|
+
* Returns null when the scene has no fittable content.
|
|
27
|
+
*/
|
|
28
|
+
export declare function getVenueFitRect(sceneDef: SceneDef | null | undefined, baseRect: Box): Box | null;
|
|
29
|
+
/** Where a resolved Fit-to-screen rectangle came from (most → least specific). */
|
|
30
|
+
export type VenueFitSource = 'layer-viewbox' | 'explicit-viewbox' | 'layer-rectangle' | 'scene-derived' | 'svg-area';
|
|
31
|
+
export interface VenueFitInputs {
|
|
32
|
+
/** Union of authored per-layer viewboxes (`LayerStore.viewboxRectangle`). */
|
|
33
|
+
layerViewbox?: Box | null;
|
|
34
|
+
/** `svgArea` when it was explicitly authored (`__viewbox` / `rect#VIEWBOX`). */
|
|
35
|
+
explicitArea?: Box | null;
|
|
36
|
+
/** Current-level geometry rect in radio mode (`LayerStore.rectangle`). */
|
|
37
|
+
layerRectangle?: Box | null;
|
|
38
|
+
/** Scene to derive the venue extent from when nothing above is authored. */
|
|
39
|
+
sceneDef?: SceneDef | null;
|
|
40
|
+
/** Whole-canvas fallback and margin base. */
|
|
41
|
+
svgArea: Box;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Single source of truth for the Fit-to-screen / initial-view target. Picks the
|
|
45
|
+
* most specific available reference in priority order. This is the seam a future
|
|
46
|
+
* multi-venue model plugs into: it would resolve the *active* venue's box here,
|
|
47
|
+
* leaving every call site unchanged.
|
|
48
|
+
*
|
|
49
|
+
* Authored boxes (`layer-viewbox`, `explicit-viewbox`) are returned as-is — the
|
|
50
|
+
* caller's fit already adds viewport padding. Geometry-derived boxes
|
|
51
|
+
* (`scene-derived`) carry their adaptive breathing-room margin.
|
|
52
|
+
*/
|
|
53
|
+
export declare function resolveVenueFitRect(inputs: VenueFitInputs): {
|
|
54
|
+
rect: Box;
|
|
55
|
+
source: VenueFitSource;
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=scene-bounds.d.ts.map
|