@expofp/floorplan 3.1.2 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{CookieConsent-YALfakcg.js → CookieConsent-A4g2GEnB.js} +1104 -1098
- package/dist/browser/{Debug-Dienfacq.js → Debug-okM_H6zB.js} +7 -7
- package/dist/browser/{Demo-BbY4PJhj.js → Demo-3Yx1xi6F.js} +11 -11
- package/dist/browser/{Free-BlfLzpZ4.js → Free-Iqh_45NP.js} +11 -11
- package/dist/browser/{Gallery-BJ8RKc0W.js → Gallery-CMu4jjUa.js} +16 -16
- package/dist/browser/{GpsLoader-C-qC7AlJ.js → GpsLoader-xmUlSf3T.js} +27 -27
- package/dist/browser/{KioskStore-umOa7R8-.js → KioskStore-DomUDeuw.js} +39 -39
- package/dist/browser/{Mapbox-BQKwe6gC.js → Mapbox-D3-e_F58.js} +14 -14
- package/dist/browser/SetKioskMode-BOvxWaGI.js +54 -0
- package/dist/browser/ShowKiosk-xp1WbCm-.js +26 -0
- package/dist/browser/{ThreeComponent-YJ6J3gEv.js → ThreeComponent-C7dPjvKl.js} +219 -219
- package/dist/browser/{TouchHand-DtBzj-Bj.js → TouchHand-QzRQPyEl.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-Cv7KW_rT.js → ViewerMenuPanel-lREjYMl2.js} +20 -20
- package/dist/browser/{add-debug-secret-listener-BRth-pLl.js → add-debug-secret-listener-s_Acfb_j.js} +1 -1
- package/dist/browser/{boolean-editor-D_18BAC7.js → boolean-editor-BN7VDvLb.js} +6 -6
- package/dist/browser/bootIntercom-BsKv9v5g.js +40 -0
- package/dist/browser/bundle.json +46 -43
- package/dist/browser/{chunk-BjP-W_8B.js → chunk-CilcQ-DK.js} +1 -1
- package/dist/browser/{classnames-nDCZdn8S.js → classnames-BG0vlDcj.js} +2 -2
- package/dist/browser/{client-CHtTpwEK.js → client-CfMi8siJ.js} +4 -4
- package/dist/browser/{data-DRzLxQO7.js → data-a-dtD_1P.js} +49 -49
- package/dist/browser/{debug-overlay-B8CWKuKY.js → debug-overlay-CoH7X4al.js} +8 -8
- package/dist/browser/{debug-ui-DUF5K4cu.js → debug-ui-DouD3wg5.js} +6 -6
- package/dist/browser/{dist-C0wOn0VY.js → dist-CzsjAsAg.js} +5 -5
- package/dist/browser/{exports-DJDFfUko.js → exports-BWEh5Wje.js} +1 -1
- package/dist/browser/{favicon-DtqguaGB.js → favicon-CmG6QFs2.js} +1 -1
- package/dist/browser/{fetch-retry.umd-B8F2bkss.js → fetch-retry.umd-B_g_JELw.js} +2 -2
- package/dist/browser/{flex-DCHbgjnw.js → flex-BQA_6ztI.js} +6 -6
- package/dist/browser/{floorplan.loader-CTycsBPj.js → floorplan.loader-CrKDeH3d.js} +656 -679
- package/dist/browser/{floorplan.ready-D8TO96JJ.js → floorplan.ready-xulLyTpM.js} +16 -15
- package/dist/browser/{fuse-BEUAG1Xp.js → fuse-Cxy73jl3.js} +2 -2
- package/dist/browser/index.js +11 -11
- package/dist/browser/{is-debug-C1gwybh0.js → is-debug-BMJczZcU.js} +2 -2
- package/dist/browser/{jsx-runtime-CGa6rouk.js → jsx-runtime-DDrJF8xL.js} +2 -2
- package/dist/browser/{lib-B-kSneKQ.js → lib-B1mH8TSv.js} +4 -4
- package/dist/browser/locales/ar.json +56 -16
- package/dist/browser/locales/de.json +56 -16
- package/dist/browser/locales/es.json +56 -16
- package/dist/browser/locales/fr.json +56 -16
- package/dist/browser/locales/he.json +56 -16
- package/dist/browser/locales/it.json +56 -16
- package/dist/browser/locales/kk.json +56 -16
- package/dist/browser/locales/ko.json +56 -16
- package/dist/browser/locales/mn.json +56 -16
- package/dist/browser/locales/nl.json +56 -16
- package/dist/browser/locales/pl.json +56 -16
- package/dist/browser/locales/pt.json +56 -16
- package/dist/browser/locales/ru.json +60 -20
- package/dist/browser/locales/sv.json +56 -16
- package/dist/browser/locales/th.json +56 -16
- package/dist/browser/locales/tr.json +56 -16
- package/dist/browser/locales/uk.json +56 -16
- package/dist/browser/locales/vi.json +56 -16
- package/dist/browser/locales/zh.json +56 -16
- package/dist/browser/{main-DscTVUQ0.js → main-CTfIntH-.js} +1 -1
- package/dist/browser/{mobx-DfjpWyaW.js → mobx-CNTM25Oc.js} +4 -4
- package/dist/browser/{particles.min-Biy-VbhD.js → particles.min-DHOz1yro.js} +2 -2
- package/dist/browser/{prop-types-BKhIyeNo.js → prop-types-B-y83www.js} +2 -2
- package/dist/browser/{react-19U-5m1O.js → react-VoeHpohi.js} +2 -2
- package/dist/browser/{react-dom-BeWJor3U.js → react-dom-CN7XBo22.js} +3 -3
- package/dist/browser/{reset-all-settings-DbzRwd74.js → reset-all-settings-x3j4rKGC.js} +1 -1
- package/dist/browser/{settings-CH8qvuVX.js → settings-DYv1eHiY.js} +6 -6
- package/dist/browser/{src-_zgzV95f.js → src-CdV1RTUv.js} +4 -4
- package/dist/browser/{store-CwvDErjP.js → store-BkBqfYWF.js} +3803 -3345
- package/dist/browser/{ui-I67QXE1I.js → ui-DqL_r_LU.js} +6 -6
- package/dist/esm/components/Alert.js +1 -1
- package/dist/esm/components/Autocomplete.js +1 -1
- package/dist/esm/components/BaseFilterModal.js +1 -1
- package/dist/esm/components/EntityItem.js +1 -1
- package/dist/esm/components/EntityList.js +1 -1
- package/dist/esm/components/EventBadge.js +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/HeatmapLegend.js +1 -1
- package/dist/esm/components/Kiosk/KioskStore.d.ts +3 -2
- package/dist/esm/components/Kiosk/KioskStore.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/FormInput/RangeInput.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.js +1 -1
- package/dist/esm/components/Kiosk/SetKioskMode.js +1 -1
- package/dist/esm/components/LanguageRow.js +1 -1
- package/dist/esm/components/LevelBadge.js +1 -1
- package/dist/esm/components/LevelSelector.js +1 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/canvases.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-wf.js +1 -1
- package/dist/esm/components/Map/traffic/useBuildRoute.js +4 -4
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/components/Map/visibleArea.d.ts +3 -3
- package/dist/esm/components/Map/visibleArea.js +1 -1
- package/dist/esm/components/MarketMaterialList.js +1 -1
- package/dist/esm/components/Overlay.js +1 -1
- package/dist/esm/components/OverlayGrip.d.ts +0 -1
- package/dist/esm/components/OverlayGrip.js +1 -1
- package/dist/esm/components/Share.js +1 -1
- package/dist/esm/components/Shortcuts/ShortcutButton.js +1 -1
- package/dist/esm/components/Shortcuts/ShortcutsFiltersButton.js +1 -1
- package/dist/esm/components/ViewerMenuPanel.js +1 -1
- package/dist/esm/components/WayInformation.js +1 -1
- package/dist/esm/components/WayfindingFloorSelector.js +1 -1
- package/dist/esm/components/YahRow.js +1 -1
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/intercom/bootIntercom.d.ts +3 -0
- package/dist/esm/intercom/bootIntercom.js +19 -0
- package/dist/esm/intercom/index.d.ts +3 -0
- package/dist/esm/intercom/index.js +1 -0
- package/dist/esm/intercom/shouldLoad.d.ts +4 -0
- package/dist/esm/intercom/shouldLoad.js +1 -0
- package/dist/esm/intercom/types.d.ts +6 -0
- package/dist/esm/intercom/types.js +1 -0
- package/dist/esm/renderer/RendererService.js +1 -1
- package/dist/esm/renderer/engine-core/defs.d.ts +7 -1
- package/dist/esm/renderer/engine-core/defs.js +3 -3
- package/dist/esm/store/SearchButtonsStore.d.ts +1 -1
- package/dist/esm/store/SearchStore.d.ts +1 -1
- package/dist/esm/store/SearchStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +1 -1
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/init-heatmap.js +1 -1
- package/dist/esm/store/init/init-ui.js +1 -1
- package/package.json +4 -4
- package/dist/browser/SetKioskMode-B4WkaonJ.js +0 -49
- package/dist/browser/ShowKiosk-CwQsYu6G.js +0 -26
- package/dist/esm/tools/intercom.d.ts +0 -12
- package/dist/esm/tools/intercom.js +0 -19
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__esDecorate as s,__runInitializers as u}from"tslib";import{action as c,computed as l,observable as d}from"mobx";import{t as h}from"../utils/i18n";import f from"../data";import{exhibitorStore as le}from"./index";import re from"../tools/settings";import{sanitizeSearch as ce}from"../utils/sanitizeText";import{Route as S}from"./RouteStore";import{goBack as p}from"../services/routing";import{MOBILE_BREAKPOINT as he,LANGUAGE_TYPE as ne}from"../constants";class i{static closeDetails(r){return r.details?(r.details=null,!0):!1}static closeMultiPointTour(r){return r.rootStore.fp.hidePathways(),!0}static clearSearchAndFocus(r){return r.searchText?(r.setSearchText(""),r.setFocused(!0),!0):!1}static returnToSearch(r,n=!1){r.list={type:"search",text:"",focused:n}}static returnToSessions(r,n=!1){r.list={type:"sessions",text:"",focused:n}}static returnToTours(r,n=!1){r.list={type:"tours",text:"",focused:n}}static openMenu(r){r.menu=!0}static closeMenu(r){r.menu=!1}static clearListScroll(r,n){r.clearListScroll(n)}static resetActiveListIndex(r){r.activeListIndex=-1}}let ue=(()=>{let a=[],r,n=[],m=[],x,g=[],_=[],B,y=[],F=[],k,b=[],v=[],T,I,M,C,A,w,z,L,O,E,P,W,D,U,j,G,K,N,R,X,Y,H,V,$,q,J,Q,Z,ee,te,se,ae,ie;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;r=[d],x=[d],B=[d],k=[d],T=[l],I=[l],M=[l],C=[l],A=[l],w=[l],z=[l],L=[l],O=[l],E=[l],P=[l],W=[l],D=[l],U=[l],j=[c],G=[c],K=[c],N=[c],R=[c],X=[c],Y=[c],H=[c],V=[c],$=[c],q=[c],J=[c],Q=[c],Z=[l],ee=[c],te=[l],se=[l],ae=[l],ie=[l],s(this,null,T,{kind:"getter",name:"searchBoxConfig",static:!1,private:!1,access:{has:e=>"searchBoxConfig"in e,get:e=>e.searchBoxConfig},metadata:t},null,a),s(this,null,I,{kind:"getter",name:"searchBoxMode",static:!1,private:!1,access:{has:e=>"searchBoxMode"in e,get:e=>e.searchBoxMode},metadata:t},null,a),s(this,null,M,{kind:"getter",name:"searchBoxTitle",static:!1,private:!1,access:{has:e=>"searchBoxTitle"in e,get:e=>e.searchBoxTitle},metadata:t},null,a),s(this,null,C,{kind:"getter",name:"searchBoxSubtitle",static:!1,private:!1,access:{has:e=>"searchBoxSubtitle"in e,get:e=>e.searchBoxSubtitle},metadata:t},null,a),s(this,null,A,{kind:"getter",name:"searchBoxBadge",static:!1,private:!1,access:{has:e=>"searchBoxBadge"in e,get:e=>e.searchBoxBadge},metadata:t},null,a),s(this,null,w,{kind:"getter",name:"searchBoxIcon",static:!1,private:!1,access:{has:e=>"searchBoxIcon"in e,get:e=>e.searchBoxIcon},metadata:t},null,a),s(this,null,z,{kind:"getter",name:"searchBoxActions",static:!1,private:!1,access:{has:e=>"searchBoxActions"in e,get:e=>e.searchBoxActions},metadata:t},null,a),s(this,null,L,{kind:"getter",name:"shouldShowSearchInput",static:!1,private:!1,access:{has:e=>"shouldShowSearchInput"in e,get:e=>e.shouldShowSearchInput},metadata:t},null,a),s(this,null,O,{kind:"getter",name:"shouldShowCloseButton",static:!1,private:!1,access:{has:e=>"shouldShowCloseButton"in e,get:e=>e.shouldShowCloseButton},metadata:t},null,a),s(this,null,E,{kind:"getter",name:"closeButtonAction",static:!1,private:!1,access:{has:e=>"closeButtonAction"in e,get:e=>e.closeButtonAction},metadata:t},null,a),s(this,null,P,{kind:"getter",name:"shouldShowShadow",static:!1,private:!1,access:{has:e=>"shouldShowShadow"in e,get:e=>e.shouldShowShadow},metadata:t},null,a),s(this,null,W,{kind:"getter",name:"placeholder",static:!1,private:!1,access:{has:e=>"placeholder"in e,get:e=>e.placeholder},metadata:t},null,a),s(this,null,D,{kind:"getter",name:"searchBoxClass",static:!1,private:!1,access:{has:e=>"searchBoxClass"in e,get:e=>e.searchBoxClass},metadata:t},null,a),s(this,null,U,{kind:"getter",name:"ariaLabel",static:!1,private:!1,access:{has:e=>"ariaLabel"in e,get:e=>e.ariaLabel},metadata:t},null,a),s(this,null,j,{kind:"method",name:"selectSearch",static:!1,private:!1,access:{has:e=>"selectSearch"in e,get:e=>e.selectSearch},metadata:t},null,a),s(this,null,G,{kind:"method",name:"selectSearchAndFocus",static:!1,private:!1,access:{has:e=>"selectSearchAndFocus"in e,get:e=>e.selectSearchAndFocus},metadata:t},null,a),s(this,null,K,{kind:"method",name:"setSearchText",static:!1,private:!1,access:{has:e=>"setSearchText"in e,get:e=>e.setSearchText},metadata:t},null,a),s(this,null,N,{kind:"method",name:"setFocused",static:!1,private:!1,access:{has:e=>"setFocused"in e,get:e=>e.setFocused},metadata:t},null,a),s(this,null,R,{kind:"method",name:"handleBackAction",static:!1,private:!1,access:{has:e=>"handleBackAction"in e,get:e=>e.handleBackAction},metadata:t},null,a),s(this,null,X,{kind:"method",name:"closeSearch",static:!1,private:!1,access:{has:e=>"closeSearch"in e,get:e=>e.closeSearch},metadata:t},null,a),s(this,null,Y,{kind:"method",name:"clearActiveFilters",static:!1,private:!1,access:{has:e=>"clearActiveFilters"in e,get:e=>e.clearActiveFilters},metadata:t},null,a),s(this,null,H,{kind:"method",name:"handleSearchAction",static:!1,private:!1,access:{has:e=>"handleSearchAction"in e,get:e=>e.handleSearchAction},metadata:t},null,a),s(this,null,V,{kind:"method",name:"openOverlayWithoutInputFocus",static:!1,private:!1,access:{has:e=>"openOverlayWithoutInputFocus"in e,get:e=>e.openOverlayWithoutInputFocus},metadata:t},null,a),s(this,null,$,{kind:"method",name:"closeSessions",static:!1,private:!1,access:{has:e=>"closeSessions"in e,get:e=>e.closeSessions},metadata:t},null,a),s(this,null,q,{kind:"method",name:"closeExhibitors",static:!1,private:!1,access:{has:e=>"closeExhibitors"in e,get:e=>e.closeExhibitors},metadata:t},null,a),s(this,null,J,{kind:"method",name:"resetSearchBox",static:!1,private:!1,access:{has:e=>"resetSearchBox"in e,get:e=>e.resetSearchBox},metadata:t},null,a),s(this,null,Q,{kind:"method",name:"syncWithUIState",static:!1,private:!1,access:{has:e=>"syncWithUIState"in e,get:e=>e.syncWithUIState},metadata:t},null,a),s(this,null,Z,{kind:"getter",name:"actionButtonIcon",static:!1,private:!1,access:{has:e=>"actionButtonIcon"in e,get:e=>e.actionButtonIcon},metadata:t},null,a),s(this,null,ee,{kind:"method",name:"clearAndSelectSearch",static:!1,private:!1,access:{has:e=>"clearAndSelectSearch"in e,get:e=>e.clearAndSelectSearch},metadata:t},null,a),s(this,null,te,{kind:"getter",name:"backMode",static:!1,private:!1,access:{has:e=>"backMode"in e,get:e=>e.backMode},metadata:t},null,a),s(this,null,se,{kind:"getter",name:"isMobileDetailsMode",static:!1,private:!1,access:{has:e=>"isMobileDetailsMode"in e,get:e=>e.isMobileDetailsMode},metadata:t},null,a),s(this,null,ae,{kind:"getter",name:"shouldShowTitle",static:!1,private:!1,access:{has:e=>"shouldShowTitle"in e,get:e=>e.shouldShowTitle},metadata:t},null,a),s(this,null,ie,{kind:"getter",name:"searchState",static:!1,private:!1,access:{has:e=>"searchState"in e,get:e=>e.searchState},metadata:t},null,a),s(null,null,r,{kind:"field",name:"searchText",static:!1,private:!1,access:{has:e=>"searchText"in e,get:e=>e.searchText,set:(e,o)=>{e.searchText=o}},metadata:t},n,m),s(null,null,x,{kind:"field",name:"isFocused",static:!1,private:!1,access:{has:e=>"isFocused"in e,get:e=>e.isFocused,set:(e,o)=>{e.isFocused=o}},metadata:t},g,_),s(null,null,B,{kind:"field",name:"isClearMode",static:!1,private:!1,access:{has:e=>"isClearMode"in e,get:e=>e.isClearMode,set:(e,o)=>{e.isClearMode=o}},metadata:t},y,F),s(null,null,k,{kind:"field",name:"skipInputFocus",static:!1,private:!1,access:{has:e=>"skipInputFocus"in e,get:e=>e.skipInputFocus,set:(e,o)=>{e.skipInputFocus=o}},metadata:t},b,v),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=u(this,a);searchText=u(this,n,"");isFocused=(u(this,m),u(this,g,!1));isClearMode=(u(this,_),u(this,y,!1));skipInputFocus=(u(this,F),u(this,b,!1));constructor(t){u(this,v),this.rootStore=t}get uiState(){return this.rootStore.uiState}get searchBoxConfig(){return this.uiState.searchBoxConfig}get searchBoxMode(){return this.searchBoxConfig.mode}get searchBoxTitle(){return this.searchBoxConfig.title}get searchBoxSubtitle(){return this.searchBoxConfig.subtitle}get searchBoxBadge(){return this.searchBoxConfig.badge}get searchBoxIcon(){return this.searchBoxConfig.icon}get searchBoxActions(){return this.uiState.searchBoxActions}get shouldShowSearchInput(){return this.searchBoxMode==="search"}get shouldShowCloseButton(){const{menu:t,details:e,list:o}=this.uiState;return!this.shouldShowSearchInput||o.type==="sessions"||o.type==="tours"||o.type==="speakers"||o.type==="exhibitors"?!0:t||e!==null||!!this.searchText||this.isClearMode||this.isFocused}get closeButtonAction(){return!this.shouldShowSearchInput||this.searchBoxMode==="details"||this.uiState.list.type==="sessions"||this.uiState.list.type==="speakers"||this.uiState.list.type==="exhibitors"?"close":this.searchText?"clear":"close"}get shouldShowShadow(){const{menu:t,details:e,list:o}=this.uiState,oe=o.type==="search"&&!!o.text;return!(this.rootStore.fp.alwaysShowSidebar||t||e!==null||o.type!=="search"||oe||this.isFocused||this.uiState.heatmap)}get placeholder(){const{list:t,heatmapYah:e}=this.uiState;if(t.type==="sessions")return h("Search sessions");if(t.type==="tours")return h("Search Guided Tours");if(t.type==="exhibitors")return h("Search exhibitors");if(t.type==="speakers")return h("Search speakers");if(re.EXPO.startsWith("lenzerheidemotorclassics"))return"SUCHE";if(re.EXPO.startsWith("jetlag"))return"Search location or artist";if(e)return h("Find scans above");if(this.uiState.hasAppliedFilters)return h("Search");const o=f.boothTerm.toLowerCase();return!f.searchText&&le.exhibitors.length===0?h("Search {{boothTerm}}",{boothTerm:o}):f.searchText||h("Search")}get searchBoxClass(){return{"is-details":this.searchBoxMode==="details"&&!(this.uiState.details instanceof S),"is-interface":this.searchBoxMode==="interface","has-shadow":this.shouldShowShadow,"has-subtitle":!!this.searchBoxConfig.subtitle,"has-badge":!!this.searchBoxConfig.badge,"has-icon":!!this.searchBoxConfig.icon,"is-overlay-full":this.uiState.isOverlayOpen&&this.uiState.overlaySize==="full","is-featured-exhibitor":this.uiState.isFeaturedExhibitorActive,"is-route":this.uiState.details instanceof S,"is-guided-tours":this.uiState.isGuidedToursActive,"is-overlay-scrolled":this.uiState.isOverlayScrolled,"overlay-pulse":this.uiState.kiosk&&this.uiState.inIdle&&!this.uiState.setKioskModeEnabled}}get ariaLabel(){return!this.shouldShowSearchInput||this.searchBoxMode==="details"?h("Close"):this.searchText?h("Clear search"):h("Close")}selectSearch(t){window.__resett&&window.__resett(),this.uiState.details=null;const e=ce(t||"",Object.keys(this.uiState.mapSettings).map(o=>`${o}=`));this.setSearchText(e),this.uiState.activeListIndex=-1}selectSearchAndFocus(t){this.selectSearch(t),this.setFocused(!0)}setSearchText(t){this.searchText=t,this.uiState.hasAppliedFilters?this.rootStore.moveToList():this.uiState.centerMap=!0,this.uiState.activeListIndex=t?0:-1,this.uiState.list.type!=="sessions"&&this.uiState.list.type!=="tours"&&this.uiState.list.type!=="speakers"&&this.uiState.list.type!=="exhibitors"?this.uiState.list={type:"search",text:t,focused:this.isFocused}:this.uiState.list.type==="exhibitors"&&(this.uiState.list={type:"exhibitors",text:t,focused:this.isFocused}),this.uiState.searchClearMode=this.isClearMode}setFocused(t){this.isFocused=t,this.isClearMode=!1,this.skipInputFocus=!1,this.uiState.searchFocused=t,this.uiState.searchClearMode=!1,this.uiState.desiredOverlaySize="full"}handleBackAction(){const{uiState:t}=this,{list:e}=t;if(t.desiredOverlaySize="full",e.type==="route-planner"){this.rootStore.routePlannerStore.close(),this.rootStore.selectBookmarks(),p();return}if(e.type==="multi-point-tour"&&!t.details){i.returnToTours(t,!1),this.rootStore.fp.hidePathways();return}if(t.details){t.details=null,p();return}if(t.menu){e.type==="sessions"?t.list={type:"sessions",text:"",focused:!0}:e.type==="exhibitors"?t.list={type:"exhibitors",text:"",focused:!0}:t.list={type:"search",text:"",focused:!0},this.setFocused(!0),this.isClearMode=!0,i.closeMenu(t);return}if(e.type==="tours"&&t.details instanceof S){t.details=null;return}if(e.type==="sessions"||e.type==="tours"||e.type==="exhibitors"||this.uiState.hasAppliedFilters){if(i.closeDetails(t))return;this.clearActiveFilters(),i.returnToSearch(t,!1),this.selectSearchAndFocus();return}switch(e.type){case"filter":t.details=null;return;case"multi-point-tour":this.rootStore.fp.hidePathways(),i.closeDetails(t)?i.returnToTours(t,!1):p();return;case"category":this.rootStore.selectCategory(e.category);return;case"speakers":if(i.closeDetails(t))return;i.returnToSessions(t,!1);return;case"bookmarks":case"visited":if(i.closeDetails(t))return;this.selectSearchAndFocus();return;case ne:i.returnToSearch(t,!1),i.openMenu(t);return}i.closeDetails(t)||i.clearSearchAndFocus(this)||i.openMenu(t)}closeSearch(){const{uiState:t}=this,{list:e}=t;if(e.type==="route-planner"){this.rootStore.routePlannerStore.close(),i.returnToSearch(t,!1),this.resetSearchBox();return}if(i.closeDetails(t),i.clearListScroll(t,e.type),i.closeMultiPointTour(t),e.type==="bookmarks"){i.returnToSearch(t,!1),this.resetSearchBox();return}if(t.selectedCategory){i.returnToSearch(t,!1),this.resetSearchBox();return}if(e.type==="sessions"){this.closeSessions();return}if(e.type==="exhibitors"){this.closeExhibitors();return}if(t.menu){i.closeMenu(t),this.resetSearchBox();return}if(this.searchBoxMode==="search"&&!t.details&&this.searchText){this.setSearchText(""),this.isClearMode=!0,this.clearActiveFilters();return}i.returnToSearch(t,!1),this.searchText="",this.resetSearchBox(),t.details=null,this.clearActiveFilters()}clearActiveFilters(){this.rootStore.searchButtonsStore.setPoiFilterId(null),this.rootStore.uiState.selectedPoiTypeFilters=[],this.rootStore.uiState.selectedCategoryFilters=[],this.rootStore.categoryFilterStore.state.selectedItems=[],this.rootStore.categoryFilterStore.state.pendingItems=[],this.rootStore.searchButtonsStore.searchShortcutState.activeParentId=null,this.rootStore.searchButtonsStore.searchShortcutState.activeChildren.clear(),this.rootStore.searchButtonsStore.searchShortcutState.isShortcutsVisible=!1,this.rootStore.urlFilterManager&&this.rootStore.urlFilterManager.isInitialized&&this.rootStore.urlFilterManager.clearAllFilters()}handleSearchAction(){this.isFocused||this.setFocused(!0)}openOverlayWithoutInputFocus(){this.skipInputFocus=!0,this.isFocused=!0,this.isClearMode=!1,this.uiState.searchFocused=!0,this.uiState.searchClearMode=!1,this.uiState.desiredOverlaySize="full"}closeSessions(){this.searchText="",i.returnToSearch(this.uiState,!1),this.uiState.details=null,i.resetActiveListIndex(this.uiState),this.uiState.selectedTrack=null,this.rootStore.searchButtonsStore.setSubButtonId(null),this.rootStore.searchButtonsStore.hideSubButtons()}closeExhibitors(){this.searchText="",i.returnToSearch(this.uiState,!1),this.uiState.details=null,i.resetActiveListIndex(this.uiState)}resetSearchBox(){this.setFocused(!1),this.isClearMode=!1,this.syncWithUIState()}syncWithUIState(){this.searchText=(this.uiState.list.type==="search"||this.uiState.list.type==="exhibitors")&&this.uiState.list.text||"",this.isFocused=this.uiState.searchFocused,this.isClearMode=this.uiState.searchClearMode}get actionButtonIcon(){return this.shouldShowSearchInput?this.shouldShowCloseButton?"icon-close":"icon-search":"icon-close"}clearAndSelectSearch(){this.selectSearch(""),this.setFocused(!1)}get backMode(){return this.uiState.list.type==="speakers"||this.uiState.list.type==="sessions"||this.uiState.list.type==="tours"||this.uiState.list.type==="exhibitors"||this.uiState.hasAppliedFilters?"back":this.shouldShowSearchInput&&!this.searchText?"menu":"back"}get isMobileDetailsMode(){return window.innerWidth<he&&this.uiState.details!==null&&this.uiState.overlaySize==="full"&&!(this.uiState.details instanceof S)}get shouldShowTitle(){return!this.shouldShowSearchInput}get searchState(){return{text:this.searchText,isFocused:this.isFocused,isClearMode:this.isClearMode,mode:this.searchBoxMode,title:this.searchBoxConfig.title,subtitle:this.searchBoxConfig.subtitle,badge:this.searchBoxConfig.badge,icon:this.searchBoxConfig.icon}}}})();export default ue;
|
|
1
|
+
import{__esDecorate as s,__runInitializers as u}from"tslib";import{action as c,computed as o,observable as d}from"mobx";import{t as n}from"../utils/i18n";import oe from"../data";import ie from"../tools/settings";import{sanitizeSearch as le}from"../utils/sanitizeText";import{Route as S}from"./RouteStore";import{goBack as f}from"../services/routing";import{MOBILE_BREAKPOINT as ce,LANGUAGE_TYPE as he}from"../constants";class i{static closeDetails(r){return r.details?(r.details=null,!0):!1}static closeMultiPointTour(r){return r.rootStore.fp.hidePathways(),!0}static clearSearchAndFocus(r){return r.searchText?(r.setSearchText(""),r.setFocused(!0),!0):!1}static returnToSearch(r,h=!1){r.list={type:"search",text:"",focused:h}}static returnToSessions(r,h=!1){r.list={type:"sessions",text:"",focused:h}}static returnToTours(r,h=!1){r.list={type:"tours",text:"",focused:h}}static openMenu(r){r.menu=!0}static closeMenu(r){r.menu=!1}static clearListScroll(r,h){r.clearListScroll(h)}static resetActiveListIndex(r){r.activeListIndex=-1}}let ne=(()=>{let a=[],r,h=[],p=[],g,x=[],m=[],_,B=[],y=[],F,k=[],v=[],b,T,I,M,C,A,w,z,O,L,E,P,W,D,U,j,G,K,N,R,X,Y,H,V,$,q,J,Q,Z,ee,te,se,ae;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;r=[d],g=[d],_=[d],F=[d],b=[o],T=[o],I=[o],M=[o],C=[o],A=[o],w=[o],z=[o],O=[o],L=[o],E=[o],P=[o],W=[o],D=[o],U=[c],j=[c],G=[c],K=[c],N=[c],R=[c],X=[c],Y=[c],H=[c],V=[c],$=[c],q=[c],J=[c],Q=[o],Z=[c],ee=[o],te=[o],se=[o],ae=[o],s(this,null,b,{kind:"getter",name:"searchBoxConfig",static:!1,private:!1,access:{has:e=>"searchBoxConfig"in e,get:e=>e.searchBoxConfig},metadata:t},null,a),s(this,null,T,{kind:"getter",name:"searchBoxMode",static:!1,private:!1,access:{has:e=>"searchBoxMode"in e,get:e=>e.searchBoxMode},metadata:t},null,a),s(this,null,I,{kind:"getter",name:"searchBoxTitle",static:!1,private:!1,access:{has:e=>"searchBoxTitle"in e,get:e=>e.searchBoxTitle},metadata:t},null,a),s(this,null,M,{kind:"getter",name:"searchBoxSubtitle",static:!1,private:!1,access:{has:e=>"searchBoxSubtitle"in e,get:e=>e.searchBoxSubtitle},metadata:t},null,a),s(this,null,C,{kind:"getter",name:"searchBoxBadge",static:!1,private:!1,access:{has:e=>"searchBoxBadge"in e,get:e=>e.searchBoxBadge},metadata:t},null,a),s(this,null,A,{kind:"getter",name:"searchBoxIcon",static:!1,private:!1,access:{has:e=>"searchBoxIcon"in e,get:e=>e.searchBoxIcon},metadata:t},null,a),s(this,null,w,{kind:"getter",name:"searchBoxActions",static:!1,private:!1,access:{has:e=>"searchBoxActions"in e,get:e=>e.searchBoxActions},metadata:t},null,a),s(this,null,z,{kind:"getter",name:"shouldShowSearchInput",static:!1,private:!1,access:{has:e=>"shouldShowSearchInput"in e,get:e=>e.shouldShowSearchInput},metadata:t},null,a),s(this,null,O,{kind:"getter",name:"shouldShowCloseButton",static:!1,private:!1,access:{has:e=>"shouldShowCloseButton"in e,get:e=>e.shouldShowCloseButton},metadata:t},null,a),s(this,null,L,{kind:"getter",name:"closeButtonAction",static:!1,private:!1,access:{has:e=>"closeButtonAction"in e,get:e=>e.closeButtonAction},metadata:t},null,a),s(this,null,E,{kind:"getter",name:"shouldShowShadow",static:!1,private:!1,access:{has:e=>"shouldShowShadow"in e,get:e=>e.shouldShowShadow},metadata:t},null,a),s(this,null,P,{kind:"getter",name:"placeholder",static:!1,private:!1,access:{has:e=>"placeholder"in e,get:e=>e.placeholder},metadata:t},null,a),s(this,null,W,{kind:"getter",name:"searchBoxClass",static:!1,private:!1,access:{has:e=>"searchBoxClass"in e,get:e=>e.searchBoxClass},metadata:t},null,a),s(this,null,D,{kind:"getter",name:"ariaLabel",static:!1,private:!1,access:{has:e=>"ariaLabel"in e,get:e=>e.ariaLabel},metadata:t},null,a),s(this,null,U,{kind:"method",name:"selectSearch",static:!1,private:!1,access:{has:e=>"selectSearch"in e,get:e=>e.selectSearch},metadata:t},null,a),s(this,null,j,{kind:"method",name:"selectSearchAndFocus",static:!1,private:!1,access:{has:e=>"selectSearchAndFocus"in e,get:e=>e.selectSearchAndFocus},metadata:t},null,a),s(this,null,G,{kind:"method",name:"setSearchText",static:!1,private:!1,access:{has:e=>"setSearchText"in e,get:e=>e.setSearchText},metadata:t},null,a),s(this,null,K,{kind:"method",name:"setFocused",static:!1,private:!1,access:{has:e=>"setFocused"in e,get:e=>e.setFocused},metadata:t},null,a),s(this,null,N,{kind:"method",name:"handleBackAction",static:!1,private:!1,access:{has:e=>"handleBackAction"in e,get:e=>e.handleBackAction},metadata:t},null,a),s(this,null,R,{kind:"method",name:"closeSearch",static:!1,private:!1,access:{has:e=>"closeSearch"in e,get:e=>e.closeSearch},metadata:t},null,a),s(this,null,X,{kind:"method",name:"clearActiveFilters",static:!1,private:!1,access:{has:e=>"clearActiveFilters"in e,get:e=>e.clearActiveFilters},metadata:t},null,a),s(this,null,Y,{kind:"method",name:"handleSearchAction",static:!1,private:!1,access:{has:e=>"handleSearchAction"in e,get:e=>e.handleSearchAction},metadata:t},null,a),s(this,null,H,{kind:"method",name:"openOverlayWithoutInputFocus",static:!1,private:!1,access:{has:e=>"openOverlayWithoutInputFocus"in e,get:e=>e.openOverlayWithoutInputFocus},metadata:t},null,a),s(this,null,V,{kind:"method",name:"closeSessions",static:!1,private:!1,access:{has:e=>"closeSessions"in e,get:e=>e.closeSessions},metadata:t},null,a),s(this,null,$,{kind:"method",name:"closeExhibitors",static:!1,private:!1,access:{has:e=>"closeExhibitors"in e,get:e=>e.closeExhibitors},metadata:t},null,a),s(this,null,q,{kind:"method",name:"resetSearchBox",static:!1,private:!1,access:{has:e=>"resetSearchBox"in e,get:e=>e.resetSearchBox},metadata:t},null,a),s(this,null,J,{kind:"method",name:"syncWithUIState",static:!1,private:!1,access:{has:e=>"syncWithUIState"in e,get:e=>e.syncWithUIState},metadata:t},null,a),s(this,null,Q,{kind:"getter",name:"actionButtonIcon",static:!1,private:!1,access:{has:e=>"actionButtonIcon"in e,get:e=>e.actionButtonIcon},metadata:t},null,a),s(this,null,Z,{kind:"method",name:"clearAndSelectSearch",static:!1,private:!1,access:{has:e=>"clearAndSelectSearch"in e,get:e=>e.clearAndSelectSearch},metadata:t},null,a),s(this,null,ee,{kind:"getter",name:"backMode",static:!1,private:!1,access:{has:e=>"backMode"in e,get:e=>e.backMode},metadata:t},null,a),s(this,null,te,{kind:"getter",name:"isMobileDetailsMode",static:!1,private:!1,access:{has:e=>"isMobileDetailsMode"in e,get:e=>e.isMobileDetailsMode},metadata:t},null,a),s(this,null,se,{kind:"getter",name:"shouldShowTitle",static:!1,private:!1,access:{has:e=>"shouldShowTitle"in e,get:e=>e.shouldShowTitle},metadata:t},null,a),s(this,null,ae,{kind:"getter",name:"searchState",static:!1,private:!1,access:{has:e=>"searchState"in e,get:e=>e.searchState},metadata:t},null,a),s(null,null,r,{kind:"field",name:"searchText",static:!1,private:!1,access:{has:e=>"searchText"in e,get:e=>e.searchText,set:(e,l)=>{e.searchText=l}},metadata:t},h,p),s(null,null,g,{kind:"field",name:"isFocused",static:!1,private:!1,access:{has:e=>"isFocused"in e,get:e=>e.isFocused,set:(e,l)=>{e.isFocused=l}},metadata:t},x,m),s(null,null,_,{kind:"field",name:"isClearMode",static:!1,private:!1,access:{has:e=>"isClearMode"in e,get:e=>e.isClearMode,set:(e,l)=>{e.isClearMode=l}},metadata:t},B,y),s(null,null,F,{kind:"field",name:"skipInputFocus",static:!1,private:!1,access:{has:e=>"skipInputFocus"in e,get:e=>e.skipInputFocus,set:(e,l)=>{e.skipInputFocus=l}},metadata:t},k,v),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=u(this,a);searchText=u(this,h,"");isFocused=(u(this,p),u(this,x,!1));isClearMode=(u(this,m),u(this,B,!1));skipInputFocus=(u(this,y),u(this,k,!1));constructor(t){u(this,v),this.rootStore=t}get uiState(){return this.rootStore.uiState}get searchBoxConfig(){return this.uiState.searchBoxConfig}get searchBoxMode(){return this.searchBoxConfig.mode}get searchBoxTitle(){return this.searchBoxConfig.title}get searchBoxSubtitle(){return this.searchBoxConfig.subtitle}get searchBoxBadge(){return this.searchBoxConfig.badge}get searchBoxIcon(){return this.searchBoxConfig.icon}get searchBoxActions(){return this.uiState.searchBoxActions}get shouldShowSearchInput(){return this.searchBoxMode==="search"}get shouldShowCloseButton(){const{menu:t,details:e,list:l}=this.uiState;return!this.shouldShowSearchInput||l.type==="sessions"||l.type==="tours"||l.type==="speakers"||l.type==="exhibitors"?!0:t||e!==null||!!this.searchText||this.isClearMode||this.isFocused}get closeButtonAction(){return!this.shouldShowSearchInput||this.searchBoxMode==="details"||this.uiState.list.type==="sessions"||this.uiState.list.type==="speakers"||this.uiState.list.type==="exhibitors"?"close":this.searchText?"clear":"close"}get shouldShowShadow(){const{menu:t,details:e,list:l}=this.uiState,re=l.type==="search"&&!!l.text;return!(this.rootStore.fp.alwaysShowSidebar||t||e!==null||l.type!=="search"||re||this.isFocused||this.uiState.heatmap)}get placeholder(){const{list:t,heatmapYah:e}=this.uiState;return t.type==="sessions"?n("Search sessions"):t.type==="tours"?n("Search Guided Tours"):t.type==="exhibitors"?n("Search exhibitors"):t.type==="speakers"?n("Search speakers"):ie.EXPO.startsWith("lenzerheidemotorclassics")?"SUCHE":ie.EXPO.startsWith("jetlag")?"Search location or artist":e?n("Find values greater than"):this.uiState.hasAppliedFilters?n("Search"):oe.searchText||n("Search")}get searchBoxClass(){return{"is-details":this.searchBoxMode==="details"&&!(this.uiState.details instanceof S),"is-interface":this.searchBoxMode==="interface","has-shadow":this.shouldShowShadow,"has-subtitle":!!this.searchBoxConfig.subtitle,"has-badge":!!this.searchBoxConfig.badge,"has-icon":!!this.searchBoxConfig.icon,"is-overlay-full":this.uiState.isOverlayOpen&&this.uiState.overlaySize==="full","is-featured-exhibitor":this.uiState.isFeaturedExhibitorActive,"is-route":this.uiState.details instanceof S,"is-guided-tours":this.uiState.isGuidedToursActive,"is-overlay-scrolled":this.uiState.isOverlayScrolled,"overlay-pulse":this.uiState.kiosk&&this.uiState.inIdle&&!this.uiState.setKioskModeEnabled}}get ariaLabel(){return!this.shouldShowSearchInput||this.searchBoxMode==="details"?n("Close"):this.searchText?n("Clear search"):n("Close")}selectSearch(t){window.__resett&&window.__resett(),this.uiState.details=null;const e=le(t||"",Object.keys(this.uiState.mapSettings).map(l=>`${l}=`));this.setSearchText(e),this.uiState.activeListIndex=-1}selectSearchAndFocus(t){this.selectSearch(t),this.setFocused(!0)}setSearchText(t){this.searchText=t,this.uiState.hasAppliedFilters?this.rootStore.moveToList():this.uiState.centerMap=!0,this.uiState.activeListIndex=t?0:-1,this.uiState.list.type!=="sessions"&&this.uiState.list.type!=="tours"&&this.uiState.list.type!=="speakers"&&this.uiState.list.type!=="exhibitors"?this.uiState.list={type:"search",text:t,focused:this.isFocused}:this.uiState.list.type==="exhibitors"&&(this.uiState.list={type:"exhibitors",text:t,focused:this.isFocused}),this.uiState.searchClearMode=this.isClearMode}setFocused(t){this.isFocused=t,this.isClearMode=!1,this.skipInputFocus=!1,this.uiState.searchFocused=t,this.uiState.searchClearMode=!1,this.uiState.desiredOverlaySize="full"}handleBackAction(){const{uiState:t}=this,{list:e}=t;if(t.desiredOverlaySize="full",e.type==="route-planner"){this.rootStore.routePlannerStore.close(),this.rootStore.selectBookmarks(),f();return}if(e.type==="multi-point-tour"&&!t.details){i.returnToTours(t,!1),this.rootStore.fp.hidePathways();return}if(t.details){t.details=null,f();return}if(t.menu){e.type==="sessions"?t.list={type:"sessions",text:"",focused:!0}:e.type==="exhibitors"?t.list={type:"exhibitors",text:"",focused:!0}:t.list={type:"search",text:"",focused:!0},this.setFocused(!0),this.isClearMode=!0,i.closeMenu(t);return}if(e.type==="tours"&&t.details instanceof S){t.details=null;return}if(e.type==="sessions"||e.type==="tours"||e.type==="exhibitors"||this.uiState.hasAppliedFilters){if(i.closeDetails(t))return;this.clearActiveFilters(),i.returnToSearch(t,!1),this.selectSearchAndFocus();return}switch(e.type){case"filter":t.details=null;return;case"multi-point-tour":this.rootStore.fp.hidePathways(),i.closeDetails(t)?i.returnToTours(t,!1):f();return;case"category":this.rootStore.selectCategory(e.category);return;case"speakers":if(i.closeDetails(t))return;i.returnToSessions(t,!1);return;case"bookmarks":case"visited":if(i.closeDetails(t))return;this.selectSearchAndFocus();return;case he:i.returnToSearch(t,!1),i.openMenu(t);return}i.closeDetails(t)||i.clearSearchAndFocus(this)||i.openMenu(t)}closeSearch(){const{uiState:t}=this,{list:e}=t;if(e.type==="route-planner"){this.rootStore.routePlannerStore.close(),i.returnToSearch(t,!1),this.resetSearchBox();return}if(i.closeDetails(t),i.clearListScroll(t,e.type),i.closeMultiPointTour(t),e.type==="bookmarks"){i.returnToSearch(t,!1),this.resetSearchBox();return}if(t.selectedCategory){i.returnToSearch(t,!1),this.resetSearchBox();return}if(e.type==="sessions"){this.closeSessions();return}if(e.type==="exhibitors"){this.closeExhibitors();return}if(t.menu){i.closeMenu(t),this.resetSearchBox();return}if(this.searchBoxMode==="search"&&!t.details&&this.searchText){this.setSearchText(""),this.isClearMode=!0,this.clearActiveFilters();return}i.returnToSearch(t,!1),this.searchText="",this.resetSearchBox(),t.details=null,this.clearActiveFilters()}clearActiveFilters(){this.rootStore.searchButtonsStore.setPoiFilterId(null),this.rootStore.uiState.selectedPoiTypeFilters=[],this.rootStore.uiState.selectedCategoryFilters=[],this.rootStore.categoryFilterStore.state.selectedItems=[],this.rootStore.categoryFilterStore.state.pendingItems=[],this.rootStore.searchButtonsStore.searchShortcutState.activeParentId=null,this.rootStore.searchButtonsStore.searchShortcutState.activeChildren.clear(),this.rootStore.searchButtonsStore.searchShortcutState.isShortcutsVisible=!1,this.rootStore.urlFilterManager&&this.rootStore.urlFilterManager.isInitialized&&this.rootStore.urlFilterManager.clearAllFilters()}handleSearchAction(){this.isFocused||this.setFocused(!0)}openOverlayWithoutInputFocus(){this.skipInputFocus=!0,this.isFocused=!0,this.isClearMode=!1,this.uiState.searchFocused=!0,this.uiState.searchClearMode=!1,this.uiState.desiredOverlaySize="full"}closeSessions(){this.searchText="",i.returnToSearch(this.uiState,!1),this.uiState.details=null,i.resetActiveListIndex(this.uiState),this.uiState.selectedTrack=null,this.rootStore.searchButtonsStore.setSubButtonId(null),this.rootStore.searchButtonsStore.hideSubButtons()}closeExhibitors(){this.searchText="",i.returnToSearch(this.uiState,!1),this.uiState.details=null,i.resetActiveListIndex(this.uiState)}resetSearchBox(){this.setFocused(!1),this.isClearMode=!1,this.syncWithUIState()}syncWithUIState(){this.searchText=(this.uiState.list.type==="search"||this.uiState.list.type==="exhibitors")&&this.uiState.list.text||"",this.isFocused=this.uiState.searchFocused,this.isClearMode=this.uiState.searchClearMode}get actionButtonIcon(){return this.shouldShowSearchInput?this.shouldShowCloseButton?"icon-close":"icon-search":"icon-close"}clearAndSelectSearch(){this.selectSearch(""),this.setFocused(!1)}get backMode(){return this.uiState.list.type==="speakers"||this.uiState.list.type==="sessions"||this.uiState.list.type==="tours"||this.uiState.list.type==="exhibitors"||this.uiState.hasAppliedFilters?"back":this.shouldShowSearchInput&&!this.searchText?"menu":"back"}get isMobileDetailsMode(){return window.innerWidth<ce&&this.uiState.details!==null&&this.uiState.overlaySize==="full"&&!(this.uiState.details instanceof S)}get shouldShowTitle(){return!this.shouldShowSearchInput}get searchState(){return{text:this.searchText,isFocused:this.isFocused,isClearMode:this.isClearMode,mode:this.searchBoxMode,title:this.searchBoxConfig.title,subtitle:this.searchBoxConfig.subtitle,badge:this.searchBoxConfig.badge,icon:this.searchBoxConfig.icon}}}})();export default ne;
|
|
@@ -166,7 +166,7 @@ export default class UIState {
|
|
|
166
166
|
get fullSizeOffset(): number;
|
|
167
167
|
get shouldShowSearchButtons(): false;
|
|
168
168
|
get canvasVisibleRectPx(): Rect;
|
|
169
|
-
get shouldShiftMapRect(): false | Booth | Exhibitor |
|
|
169
|
+
get shouldShiftMapRect(): false | Booth | Exhibitor | Route | Category | EventItem | SpeakerItem;
|
|
170
170
|
get hasAppliedFilters(): boolean;
|
|
171
171
|
get canvasVisibleRectPt(): Rect;
|
|
172
172
|
get canvasSizePt(): Size;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__esDecorate as i,__runInitializers as a}from"tslib";import{action as u,computed as c,observable as o}from"mobx";import{uiState as P}from".";import{MAP_SETTINGS_KEY as Xl,MOBILE_BREAKPOINT as Jl,PREVIEW_MODE_STORAGE_KEY as ql,UI_SCALE_STORAGE_KEY as K,VIEWER_MODE_STORAGE_KEY as er,VISIBILITY_STORAGE_KEY as Nl,LANGUAGE_TYPE as L}from"../constants";import tr from"../tools/logger";import sr from"../core/Rect";import x from"../data";import{svgArea as ir}from"../data/svg";import{hasUserConsent as ar}from"../tools/gtag";import H from"../tools/settings";import{remsToPixels as V}from"../utils";import Kl from"../utils/browser";import{getLocale as lr,getLocales as rr,t as y}from"../utils/i18n";import{isLocalStorageAvailable as z}from"../utils/localStorage";import{getResponsiveClass as or}from"../utils/responsiveClass";import{BoothBase as T,RegularBooth as M,SpecialBooth as G}from"./BoothStore";import{Exhibitor as I}from"./ExhibitorStore";import{Route as R,findEntityByExternalId as nr}from"./RouteStore";import{EventItem as A}from"./EventStore";import{SpeakerItem as Gl}from"./SpeakerStore";import{sanitizeStr as Ql}from"../utils/sanitizeText";import{getRawYah as cr}from"../utils/yah";import{setKioskUrlParams as dr}from"../components/Kiosk/kioskUrlParam";import{readFreeBannerDismissed as hr}from"../tools/freeBanner";const ur=["dimensions25"];let fr=(()=>{var E,F,C,b,U;let l=[],Q,Y=[],$=[],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,Pe=[],Me=[],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,Pt=[],Mt=[],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,Ps=[],Ms=[],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,Pi,Mi,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,Pa,Ma,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,Pl,Ml,wl,Tl=[],Rl=[],Ol,Dl,Ll=[],Al=[],El;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;Q=[(E=o).struct.bind(E)],j=[(F=o).ref.bind(F)],X=[(C=o).ref.bind(C)],ee=[(b=o).ref.bind(b)],ie=[o],re=[o],ce=[o],ue=[o],ge=[o],ve=[o],ke=[o],xe=[o],Be=[o],we=[o],Oe=[o],Ae=[(U=o).struct.bind(U)],Ue=[o],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=[u],zi=[u],Ci=[u],Bi=[u],Pi=[u],Mi=[u],wi=[u],Ti=[u],Ri=[u],Oi=[u],Di=[u],Li=[c],Ai=[c],Ei=[c],Fi=[c({keepAlive:!0})],Ui=[c({keepAlive:!0})],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],ji=[c],Wi=[c],Zi=[c],Xi=[c],Ji=[c],qi=[c],ea=[c],ta=[c({keepAlive:!0})],sa=[c],ia=[c],aa=[c({keepAlive:!0})],la=[c],ra=[c],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({keepAlive:!0})],ya=[o],ba=[u],xa=[c],za=[c],Ca=[c],Ba=[c],Pa=[c],Ma=[c],wa=[c],Ta=[c],Ra=[c],Oa=[c({keepAlive:!0})],Da=[c({keepAlive:!0})],La=[c({keepAlive:!0})],Aa=[c],Ea=[u],Fa=[u],Ua=[u],Ha=[u],Va=[u],Na=[u],Ka=[c({keepAlive:!0})],Ga=[o],$a=[u],ja=[u],Wa=[c],Za=[c],Xa=[c],Ja=[c],qa=[c],el=[c],tl=[c],sl=[c],il=[c],al=[u],ll=[u],rl=[u],ol=[u],nl=[u],cl=[u],dl=[c],hl=[c],ul=[u],fl=[o],pl=[u],_l=[c],vl=[o],kl=[u],Il=[o],zl=[u],Cl=[u],Bl=[u],Pl=[u],Ml=[u],wl=[o],Ol=[u],Dl=[o],El=[u],i(this,null,xi,{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,zi,{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,Ci,{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,Bi,{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,Pi,{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,Mi,{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,wi,{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,Ti,{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,Ri,{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,Oi,{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,Di,{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,Li,{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,Ai,{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,Ei,{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,Fi,{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,Ui,{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,Hi,{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,Vi,{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,Ni,{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,Ki,{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,Gi,{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,Qi,{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,Yi,{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,$i,{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,ji,{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,Wi,{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,Zi,{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,Xi,{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,Ji,{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,qi,{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,ea,{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,ta,{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,sa,{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,ia,{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,aa,{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,la,{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,ra,{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,oa,{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,na,{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,ca,{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,da,{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,ha,{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,ua,{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,fa,{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,ma,{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,ga,{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,pa,{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,_a,{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,va,{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,Sa,{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,ba,{kind:"method",name:"setForceDimm",static:!1,private:!1,access:{has:e=>"setForceDimm"in e,get:e=>e.setForceDimm},metadata:t},null,l),i(this,null,xa,{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,za,{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,Ca,{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,Ba,{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,Pa,{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,Ma,{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,wa,{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,Ta,{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,Ra,{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,Oa,{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,Da,{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,La,{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,Aa,{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,Ea,{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,Fa,{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,Ua,{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,Ha,{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,Va,{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,Na,{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,Ka,{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,$a,{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,ja,{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,Wa,{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,Za,{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,Xa,{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,Ja,{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,qa,{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,el,{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,tl,{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,sl,{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,il,{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,al,{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,ll,{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,rl,{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,ol,{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,nl,{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,cl,{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,dl,{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,hl,{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,ul,{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,pl,{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,_l,{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,kl,{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,zl,{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,Cl,{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,Bl,{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,Pl,{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,Ml,{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,Ol,{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,El,{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,Q,{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},Y,$),i(null,null,j,{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},W,Z),i(null,null,X,{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},J,q),i(null,null,ee,{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},te,se),i(null,null,ie,{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},ae,le),i(null,null,re,{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},oe,ne),i(null,null,ce,{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},de,he),i(null,null,ue,{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},fe,me),i(null,null,ge,{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},pe,_e),i(null,null,ve,{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},Se,ye),i(null,null,ke,{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},Ie,be),i(null,null,xe,{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},ze,Ce),i(null,null,Be,{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},Pe,Me),i(null,null,we,{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},Te,Re),i(null,null,Oe,{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},De,Le),i(null,null,Ae,{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},Ee,Fe),i(null,null,Ue,{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},He,Ve),i(null,null,Ne,{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},Ke,Ge),i(null,null,Qe,{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},Ye,$e),i(null,null,je,{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},We,Ze),i(null,null,Xe,{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},Je,qe),i(null,null,et,{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},tt,st),i(null,null,it,{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},at,lt),i(null,null,rt,{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},ot,nt),i(null,null,ct,{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},dt,ht),i(null,null,ut,{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},ft,mt),i(null,null,gt,{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},pt,_t),i(null,null,vt,{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},St,yt),i(null,null,kt,{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},It,bt),i(null,null,xt,{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},zt,Ct),i(null,null,Bt,{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},Pt,Mt),i(null,null,wt,{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},Tt,Rt),i(null,null,Ot,{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},Dt,Lt),i(null,null,At,{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},Et,Ft),i(null,null,Ut,{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},Ht,Vt),i(null,null,Nt,{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},Kt,Gt),i(null,null,Qt,{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},Yt,$t),i(null,null,jt,{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},Wt,Zt),i(null,null,Xt,{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},Jt,qt),i(null,null,es,{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},ts,ss),i(null,null,is,{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},as,ls),i(null,null,rs,{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},os,ns),i(null,null,cs,{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},ds,hs),i(null,null,us,{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},fs,ms),i(null,null,gs,{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},ps,_s),i(null,null,vs,{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},Ss,ys),i(null,null,ks,{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},Is,bs),i(null,null,xs,{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},zs,Cs),i(null,null,Bs,{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},Ps,Ms),i(null,null,ws,{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},Ts,Rs),i(null,null,Os,{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},Ds,Ls),i(null,null,As,{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},Es,Fs),i(null,null,Us,{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},Hs,Vs),i(null,null,Ns,{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},Ks,Gs),i(null,null,Qs,{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},Ys,$s),i(null,null,js,{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},Ws,Zs),i(null,null,Xs,{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},Js,qs),i(null,null,ei,{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},ti,si),i(null,null,ii,{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},ai,li),i(null,null,ri,{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},oi,ni),i(null,null,ci,{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},di,hi),i(null,null,ui,{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},fi,mi),i(null,null,gi,{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},pi,_i),i(null,null,vi,{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},Si,yi),i(null,null,ki,{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},Ii,bi),i(null,null,ya,{kind:"field",name:"forceDimm",static:!1,private:!1,access:{has:e=>"forceDimm"in e,get:e=>e.forceDimm,set:(e,s)=>{e.forceDimm=s}},metadata:t},ka,Ia),i(null,null,Ga,{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},Qa,Ya),i(null,null,fl,{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},ml,gl),i(null,null,vl,{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},Sl,yl),i(null,null,Il,{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},bl,xl),i(null,null,wl,{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},Tl,Rl),i(null,null,Dl,{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},Ll,Al),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 I,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"booth",className:"efp-overlay-booth",priority:70,isActive:()=>this.details instanceof T,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 A,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:L,className:"efp-overlay-language",priority:50,isActive:()=>this.list.type===L,searchBoxConfig:()=>({mode:"interface",title:y("Language")})},{id:"category",className:"efp-overlay-category",priority:50,isActive:()=>!P.menu&&!!P.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 Gl,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,Y,{type:"search",text:"",focused:!1});details=(a(this,$),a(this,W,null));hoveredExhibitor=(a(this,Z),a(this,J,null));hoveredBooth=(a(this,q),a(this,te,null));zoomBy=(a(this,se),a(this,ae,null));rollReset=(a(this,le),a(this,oe,!1));moveToBooths=(a(this,ne),a(this,de,null));moveToRect=(a(this,he),a(this,fe,null));moveToLocation=(a(this,me),a(this,pe,!1));menu=(a(this,_e),a(this,Se,!1));searchFocused=(a(this,ye),a(this,Ie,!1));searchClearMode=(a(this,be),a(this,ze,!1));printingPdf=(a(this,Ce),a(this,Pe,!1));largeMessage=(a(this,Me),a(this,Te,null));largeMessageLastSet=(a(this,Re),a(this,De,null));screenSize=(a(this,Le),a(this,Ee,void 0));desiredOverlaySize=(a(this,Fe),a(this,He,void 0));overlayShowsAll=(a(this,Ve),a(this,Ke,!1));centerMap=(a(this,Ge),a(this,Ye,!1));zoomAfTransformK=(a(this,$e),a(this,We,1));activeListIndex=(a(this,Ze),a(this,Je,-1));devicePixelRatio=(a(this,qe),a(this,tt,window.devicePixelRatio));previewExhibitor=(a(this,st),null);wsStarted=a(this,at,!1);canvasStarted=(a(this,lt),a(this,ot,!1));kiosk=(a(this,nt),a(this,dt,!1));inIdle=(a(this,ht),a(this,ft,!1));modalActive=(a(this,mt),a(this,pt,{share:!1}));galleryActive=(a(this,_t),a(this,St,!1));hideOverlay=(a(this,yt),a(this,It,!1));hideCookieConsent=(a(this,bt),a(this,zt,!!ar()));hideHeaderLogo=(a(this,Ct),a(this,Pt,!1));hideLogoInBooth=(a(this,Mt),a(this,Tt,!1));disableBookmarked=(a(this,Rt),a(this,Dt,!1));hideLanguage=(a(this,Lt),a(this,Et,!1));monochrome=(a(this,Ft),a(this,Ht,!1));heatmap=(a(this,Vt),a(this,Kt,!1));heatmapYah=(a(this,Gt),a(this,Yt,!1));rootElement=a(this,$t);debugCircles=a(this,Wt,[]);mapControlsHidden=(a(this,Zt),a(this,Jt,!1));floorsControlHidden=(a(this,qt),a(this,ts,!1));hideFreeOrDemo=(a(this,ss),a(this,as,!1));freeBannerDismissed=(a(this,ls),a(this,os,hr(sessionStorage)));currentBanner=(a(this,ns),a(this,ds,null));sceneDefReady=(a(this,hs),a(this,fs,!1));categoryFilterOpen=(a(this,ms),a(this,ps,!1));selectedCategoryFilters=(a(this,_s),a(this,Ss,[]));selectedPoiTypeFilters=(a(this,ys),a(this,Is,[]));selectedTrack=(a(this,bs),a(this,zs,null));subButtonsVisible=(a(this,Cs),a(this,Ps,!1));mapControlsDOMRect=(a(this,Ms),a(this,Ts,void 0));searchBoxMode=(a(this,Rs),a(this,Ds,"search"));searchBoxTitle=(a(this,Ls),a(this,Es,""));searchBoxSubtitle=(a(this,Fs),a(this,Hs,void 0));routeTitle=(a(this,Vs),a(this,Ks,void 0));routeDescription=(a(this,Gs),a(this,Ys,void 0));isMultiPointRoute=(a(this,$s),a(this,Ws,!1));tourTitle=(a(this,Zs),a(this,Js,void 0));tourDescription=(a(this,qs),a(this,ti,void 0));isMultiPointTour=(a(this,si),a(this,ai,!1));pathwayOnlyMode=(a(this,li),a(this,oi,!1));isOverlayScrolled=(a(this,ni),a(this,di,!1));listScrollTop=(a(this,hi),a(this,fi,0));listScrollItemId=(a(this,mi),a(this,pi,null));listScrollIndex=(a(this,_i),a(this,Si,0));scrollPositions=(a(this,yi),new Map);scrollItemIds=new Map;_customUIScale=a(this,Ii,null);searchFilterHeightPx=(a(this,bi),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 M)).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?Yl(r,this.rootStore.boothStore.booths).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 M)).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(),this.rootStore.exhibitorStore.exhibitors.filter(r=>r.bookmarked).flatMap(r=>r.booths.filter(n=>n instanceof M)).forEach(r=>s.add(r.id.toString())),this.rootStore.boothStore.booths.filter(r=>r.exhibitors.length===0&&r.bookmarkedDirectly).forEach(r=>s.add(r.id.toString()))),this.list?.type==="visited"&&(s.clear(),this.rootStore.exhibitorStore.visited.flatMap(r=>r.booths.filter(n=>n instanceof M)).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(m=>m.name.toLowerCase().includes(r))),n.flatMap(m=>m.booths.filter(g=>g instanceof M)).forEach(m=>s.add(m.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(),s.add(this.details.from?.id.toString()),s.add(this.details.to?.id.toString()),this.details.waypoints?.forEach(r=>s.add(r.id.toString()))),this.details instanceof T&&(s.clear(),s.add(this.details.id.toString())),this.details instanceof I&&(s.clear(),this.details.booths.filter(r=>r instanceof M).forEach(r=>s.add(r.id.toString()))),this.details instanceof A){const r=this.details;if(r.boothId){s.clear();const n=this.rootStore.boothStore.booths.find(m=>m.id===r.boothId);n&&s.add(n.id.toString())}}return s.delete(void 0),s.delete(null),s}constructor(t){a(this,Al),this.rootStore=t,this.initializeUIScale()}get rtl(){const t=lr();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 I?this.details:null}get selectedBooth(){return this.details instanceof T?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 Gl?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(f=>f.layer?.name===e);return s===-1?null:t[s+1]?.layer?.name}get headerHeightRem(){return 0}get headerHeightPx(){return V(this.headerHeightRem)}get overlayPosition(){return!this.screenSize||this.screenSize.width>Jl||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!==L&&!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:V(this.screenSize.width)}get wsImageHeightPx(){return 44}get wsPaddingPx(){return V(.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 H.EXPO==="cbresupplypartner"?"bottom":"top"}get wsPosition(){return this.overlayBottom?"top":this.wsDesktopPosition}get responsiveClass(){return or(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:V(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 f=54,r=this.shouldShowSearchButtons?54:0;return t+e+f+s+r}get shouldShowSearchButtons(){return this.rootStore.searchButtonsStore.hasAnySearchButtons&&!this.details&&!this.menu&&![L,"filter"].includes(this.list.type)}get canvasVisibleRectPx(){const t=this.screenSize;return sr.fromX1y1x2y2(P.rtl?0:this.mapVisibleStart,this.mapVisibleTop+this.searchActionsHeightPx,P.rtl?t.width-this.mapVisibleStart:t.width,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)}get canvasSizePt(){return this.screenSize.scale(this.devicePixelRatio)}get shouldUseBackdrop(){if(P.overlayCollapsed)return!1;if(z&&localStorage.getItem("forcebackdrop")==="1")return!0;if(this.overlayBottom||this.selectedExhibitor?.leadingImageUrl&&!this.selectedExhibitor?.leadingImageLinkUrl)return!1;const t=Kl.satisfies({safari:">=13"}),e=Kl.satisfies({chrome:">=77"});var s=/(android)/i.test(navigator.userAgent);return s?!1:t||e&&P.canvasSizePt.height*P.canvasSizePt.width<3e6}forceDimm=a(this,ka,!1);setForceDimm(t){this.forceDimm=t}get dimmed(){return this.forceDimm||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:f}=this.rootStore;let r=t.exhibitors;const n=e.categories.filter(p=>p.exhibitors.length),m=s.booths;this.selectedPoiTypeFilters.length>0&&(r=r.filter(p=>p.booths.some(_=>this.selectedPoiTypeFilters.some(S=>_.poiTypeId===S.id))));let g=[];const w=!this.selectedCategoryFilters.length&&x.showCategories?n.filter(p=>ur.includes(H.EXPO)?!p.name.includes("/"):!0):[],O=m.filter(p=>p instanceof G);return this.selectedCategoryFilters.length>0?g=[...r]:(x.showCompaniesAndBooths&&(g=g.concat(r)),x.showOtherSpaces&&(g=g.concat(O))),this.heatmap?[...r,...m].sort((_,S)=>f.getClicksByType(S)-f.getClicksByType(_)):this.heatmapYah?f.heatmapData?.yah?.sort((p,_)=>f.getClicksByType(_)-f.getClicksByType(p))||[]:r.length===0?m:w.concat(g.sort((p,_)=>{const S=p instanceof I&&p.featured!==void 0,B=_ instanceof I&&_.featured!==void 0;if(S!==B)return S?-1:1;const D=p instanceof G&&p.title?p.title:p.name,N=_ instanceof G&&_.title?_.title:_.name;return D.localeCompare(N,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:f,eventStore:r,speakerStore:n,heatmapStore:m}=this.rootStore;let g=e.exhibitors;const w=s.categories.filter(d=>d.exhibitors.length),O=f.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 m.heatmapData.yah.filter(h=>Number.isNaN(Number(t))?h:h.viewCount>=Number(t)).sort((h,v)=>m.getClicksByType(v)-m.getClicksByType(h));const B=[],D=new Set,N=new Set,Fl=new Set,$l=new Set;function Ul(d){return d?d.replace(/[!@#$%^*-\.,\(\)^#$%:?_+'"\/]/g," ").replace(/\s\s+/g," "):""}function k(d,h){return!d||!h?!1:Ul(d).toLowerCase().includes(Ul(h).toLowerCase())}function Hl(d,h){return d?k(d,h)||k(x.levelTerm+" "+d,h):!1}g.forEach(d=>{S.some(h=>k(d.name,h)||d.booths.some(v=>!h&&k(v.name,h)||Hl(v.layer?.name??null,h)))&&D.add(d)}),this.selectedCategoryFilters.length>0&&O.forEach(d=>{(this.heatmap||!(d instanceof M)||!Array.from(D).find(v=>v.booths.includes(d)))&&S.some(v=>k(d.title||"",v)||k(d.name,v)||k(d.fullName,v)||Hl(d.layer?.name??null,v))&&N.add(d)});const jl=p,Wl=_;if(jl.forEach(d=>{S.some(h=>k(d.name||"",h)||k(d.description||"",h))&&Fl.add(d)}),Wl.forEach(d=>{S.some(h=>k(d.name,h)||k(d.company,h)||k(d.jobTitle,h))&&$l.add(d)}),B.push(...Fl),B.push(...D),this.heatmap)return B.sort((d,h)=>m.getClicksByType(h)-m.getClicksByType(d));const Zl=new Map(B.map(d=>[d.id,d]));return B.map(d=>{if(!d.name)return null;const h=Ql(d instanceof T&&d.fullName.toLowerCase()||d.name.toLowerCase()),v=h.indexOf(Ql(t));if(v===-1)return null;const Vl={id:d.id,position:v,lowerCaseName:h,featured:!1};return d instanceof I&&(Vl.featured=d.featured),Vl}).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})=>Zl.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)),r=this.categoryFilteredSearchList.filter(n=>!s.has(n.name)).filter(n=>n.description&&n.description?.includes(t));return r.sort((n,m)=>{const g=n.description?.toLowerCase().indexOf(t),w=m.description?.toLowerCase().indexOf(t);return g-w}),r}get foundInDescriptionStruct(){const t={};if(this.list?.type!=="search")return t;const e=this.list?.text?.trim().toLowerCase();return this.foundInDescription.forEach(s=>{const f=s.description;if(!f)return;const r=f.indexOf(e);if(r===-1)return;const n=3,m=r>n?r-n:0,g=f.substring(m).trim();t[s.id]=r>0?`...${g}`:g}),t}get categoryFilteredSearchList(){return this.selectedCategoryFilters.length===0?this.searchList:this.searchList.filter(t=>t instanceof I&&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=[],f=[];for(const r of e){const n=r.item,m=n.entity.type,g=m==="booth"?n:null,w=m==="exhibitor"?n:null,O=[n.name?.toLowerCase()??"",g?.title?.toLowerCase()??"",g?.fullName?.toLowerCase()??"",...w?.booths?.map(_=>_.name?.toLowerCase()??"")??[]];let p=1/0;for(const _ of O){const S=_.indexOf(t);S!==-1&&S<p&&(p=S)}p!==1/0?s.push({result:{item:n,score:0},pos:p}):f.push(r)}return s.sort((r,n)=>r.pos-n.pos),[...s.map(r=>r.result),...f]}get listItems(){if(this.details instanceof R&&this.list.type!=="multi-point-tour")return[this.details.from,this.details.to].filter(t=>t);switch(this.list.type){case"search":let t=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 I&&!this.selectedCategoryFilters.some(n=>r.categories.some(m=>m.id===n.id)))return!1;if(this.selectedPoiTypeFilters.length>0){if(r instanceof I&&!r.booths.some(n=>this.selectedPoiTypeFilters.some(m=>n.poiTypeId===m.id))||r instanceof T&&!this.selectedPoiTypeFilters.some(n=>r.poiTypeId===n.id))return!1;if(r instanceof A&&r.boothId){const n=this.rootStore.boothStore.booths.find(m=>m.id===r.boothId);if(!n||!this.selectedPoiTypeFilters.some(m=>n.poiTypeId===m.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 L:return rr();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 f=this.rootStore.toursStore.getTourById(this.list.tourId);return f?!f.points||f.points.length===0?[]:f.points.map(r=>{const n=parseInt(r);if(!isNaN(n)){const g=this.rootStore.boothStore.boothById.get(n);if(g)return g}return nr(r)?.entity||null}).filter(Boolean):[];case"route-planner":return this.rootStore.routePlannerStore.resolvedBooths}throw new Error("Unknown list.type")}get listBooths(){return Yl(this.listItems,this.rootStore.boothStore.booths)}get selectedBooths(){let t=[];this.selectedExhibitor?t=this.selectedExhibitor.booths:this.selectedBooth&&(t=[this.selectedBooth]);const e=this.selectedRoute;return e?.from&&t.push(e.from),e?.to&&t.push(e.to),e?.waypoints&&e?.waypoints?.forEach(s=>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,f)=>({...s,[f]:!0}),{}),...Object.keys(t).filter(s=>this.visibility.hasOwnProperty(s)).reduce((s,f)=>({...s,[f]:t[f]}),{})};Object.values(e).every(Boolean)?z&&localStorage.removeItem(Nl):z&&localStorage.setItem(Nl,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||ir,this.rollReset=!0}get previewMode(){return z&&localStorage.getItem(ql)==="1"||this.rootStore.fp.previewMode}get viewerMode(){return z&&localStorage.getItem(er)==="1"||this.rootStore.fp.viewerMode}get selectedEventItem(){return this.details instanceof A?this.details:null}get defaultMapSettings(){return{zoomtime:500,center:void 0,centerxy:void 0,z:void 0,bearing:0,roll:1}}mapSettings=(a(this,Ia),a(this,Qa,{...this.defaultMapSettings}));saveMapSettings(t){const e=JSON.stringify(this.mapSettings),s=JSON.stringify(t);e!==s&&sessionStorage.setItem(Xl,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://${H.EXPO}.expofp.com`}get viewMapOnPhoneQRCodeUrl(){if(x?.customKioskQrCodeUrl)return x.customKioskQrCodeUrl;const t=new URL(this.baseQRCodeUrl);t.search=window.location.search;const e=cr();e&&t.searchParams.set("yah",e);const s=t.toString();return console.log("View Map On Phone QR Code Url",s),s}get routeQRCodeUrl(){const t=new URL(this.baseQRCodeUrl),e=this.selectedRoute?.to?.slug||"",s=this.selectedRoute?.from?.slug||"";t.search=`?route%3A${encodeURIComponent(e)}%3A${encodeURIComponent(s)}%3Afalse`,dr(t.searchParams,this.kioskData,["x","y","z"]);const f=t.toString();return console.log("Route QR Code Url",f),f}get isFeaturedExhibitorActive(){return this.details instanceof I&&!!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:H.EXPO==="expo"?"demo":x.expoFpAd||x.isTrial?"free":null}get isBannerVisible(){return this.bannerType!==null}setCurrentBanner(t){this.currentBanner=t}forceShowDetails=(a(this,Ya),a(this,ml,!1));setForceShowDetails(t){this.forceShowDetails=t}get showRouteInstantly(){return!!(this.kiosk&&!this.forceShowDetails)}buildRoute=(a(this,gl),a(this,Sl,!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,yl),a(this,bl,[]));setGlobalErrorMessage(t){this.globalErrorMessages.push(t)}popGlobalErrorMessage(){this.globalErrorMessages.pop()}initializeUIScale(){if(new URLSearchParams(window.location.search).get("kiosk")!=="0"&&z){const e=localStorage.getItem(K);if(e){const s=parseFloat(e);!isNaN(s)&&s>=.8&&s<=1.4&&(this._customUIScale=s)}}}minUIScale=(a(this,xl),.8);maxUIScale=1.4;setUIScale(t,e=!0){if(isNaN(t)||t<this.minUIScale||t>this.maxUIScale){tr.warn(`Invalid ui-scale value: ${t}. Must be between ${this.minUIScale} and ${this.maxUIScale}.`);return}this._customUIScale=t,e&&z&&localStorage.setItem(K,t.toString())}resetUIScale(){this._customUIScale=null,z&&localStorage.removeItem(K)}setKioskModeEnabled=a(this,Tl,!1);enableSetKioskMode(t){this.setKioskModeEnabled=t}kioskData=(a(this,Rl),a(this,Ll,void 0));setKioskData(t){this.kioskData=t}}})();export default fr;function Yl(E,F){const C=[];return E.forEach(b=>{b instanceof I?C.push(...b.booths):b instanceof T?C.push(b):b instanceof A&&b.boothId&&C.push(F.find(U=>U.id===b.boothId))}),new Set(C.filter(Boolean))}
|
|
1
|
+
import{__esDecorate as i,__runInitializers as a}from"tslib";import{action as u,computed as c,observable as o}from"mobx";import{uiState as P}from".";import{MAP_SETTINGS_KEY as Xl,MOBILE_BREAKPOINT as Jl,PREVIEW_MODE_STORAGE_KEY as ql,UI_SCALE_STORAGE_KEY as K,VIEWER_MODE_STORAGE_KEY as er,VISIBILITY_STORAGE_KEY as Nl,LANGUAGE_TYPE as L}from"../constants";import tr from"../tools/logger";import sr from"../core/Rect";import x from"../data";import{svgArea as ir}from"../data/svg";import{hasUserConsent as ar}from"../tools/gtag";import H from"../tools/settings";import{remsToPixels as V}from"../utils";import Kl from"../utils/browser";import{getLocale as lr,getLocales as rr,t as y}from"../utils/i18n";import{isLocalStorageAvailable as z}from"../utils/localStorage";import{getResponsiveClass as or}from"../utils/responsiveClass";import{BoothBase as T,RegularBooth as M,SpecialBooth as G}from"./BoothStore";import{Exhibitor as I}from"./ExhibitorStore";import{Route as R,findEntityByExternalId as nr}from"./RouteStore";import{EventItem as A}from"./EventStore";import{SpeakerItem as Gl}from"./SpeakerStore";import{sanitizeStr as Ql}from"../utils/sanitizeText";import{getRawYah as cr}from"../utils/yah";import{setKioskUrlParams as dr}from"../components/Kiosk/kioskUrlParam";import{readFreeBannerDismissed as hr}from"../tools/freeBanner";const ur=["dimensions25"];let fr=(()=>{var E,F,C,b,U;let l=[],Q,Y=[],$=[],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,Pe=[],Me=[],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,Pt=[],Mt=[],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,Ps=[],Ms=[],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,Pi,Mi,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,Pa,Ma,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,Pl,Ml,wl,Tl=[],Rl=[],Ol,Dl,Ll=[],Al=[],El;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;Q=[(E=o).struct.bind(E)],j=[(F=o).ref.bind(F)],X=[(C=o).ref.bind(C)],ee=[(b=o).ref.bind(b)],ie=[o],re=[o],ce=[o],ue=[o],ge=[o],ve=[o],ke=[o],xe=[o],Be=[o],we=[o],Oe=[o],Ae=[(U=o).struct.bind(U)],Ue=[o],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=[u],zi=[u],Ci=[u],Bi=[u],Pi=[u],Mi=[u],wi=[u],Ti=[u],Ri=[u],Oi=[u],Di=[u],Li=[c],Ai=[c],Ei=[c],Fi=[c({keepAlive:!0})],Ui=[c({keepAlive:!0})],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],ji=[c],Wi=[c],Zi=[c],Xi=[c],Ji=[c],qi=[c],ea=[c],ta=[c({keepAlive:!0})],sa=[c],ia=[c],aa=[c({keepAlive:!0})],la=[c],ra=[c],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({keepAlive:!0})],ya=[o],ba=[u],xa=[c],za=[c],Ca=[c],Ba=[c],Pa=[c],Ma=[c],wa=[c],Ta=[c],Ra=[c],Oa=[c({keepAlive:!0})],Da=[c({keepAlive:!0})],La=[c({keepAlive:!0})],Aa=[c],Ea=[u],Fa=[u],Ua=[u],Ha=[u],Va=[u],Na=[u],Ka=[c({keepAlive:!0})],Ga=[o],$a=[u],ja=[u],Wa=[c],Za=[c],Xa=[c],Ja=[c],qa=[c],el=[c],tl=[c],sl=[c],il=[c],al=[u],ll=[u],rl=[u],ol=[u],nl=[u],cl=[u],dl=[c],hl=[c],ul=[u],fl=[o],pl=[u],_l=[c],vl=[o],kl=[u],Il=[o],zl=[u],Cl=[u],Bl=[u],Pl=[u],Ml=[u],wl=[o],Ol=[u],Dl=[o],El=[u],i(this,null,xi,{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,zi,{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,Ci,{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,Bi,{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,Pi,{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,Mi,{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,wi,{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,Ti,{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,Ri,{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,Oi,{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,Di,{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,Li,{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,Ai,{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,Ei,{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,Fi,{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,Ui,{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,Hi,{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,Vi,{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,Ni,{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,Ki,{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,Gi,{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,Qi,{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,Yi,{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,$i,{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,ji,{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,Wi,{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,Zi,{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,Xi,{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,Ji,{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,qi,{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,ea,{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,ta,{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,sa,{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,ia,{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,aa,{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,la,{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,ra,{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,oa,{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,na,{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,ca,{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,da,{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,ha,{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,ua,{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,fa,{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,ma,{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,ga,{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,pa,{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,_a,{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,va,{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,Sa,{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,ba,{kind:"method",name:"setForceDimm",static:!1,private:!1,access:{has:e=>"setForceDimm"in e,get:e=>e.setForceDimm},metadata:t},null,l),i(this,null,xa,{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,za,{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,Ca,{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,Ba,{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,Pa,{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,Ma,{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,wa,{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,Ta,{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,Ra,{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,Oa,{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,Da,{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,La,{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,Aa,{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,Ea,{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,Fa,{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,Ua,{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,Ha,{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,Va,{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,Na,{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,Ka,{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,$a,{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,ja,{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,Wa,{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,Za,{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,Xa,{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,Ja,{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,qa,{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,el,{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,tl,{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,sl,{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,il,{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,al,{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,ll,{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,rl,{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,ol,{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,nl,{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,cl,{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,dl,{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,hl,{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,ul,{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,pl,{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,_l,{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,kl,{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,zl,{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,Cl,{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,Bl,{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,Pl,{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,Ml,{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,Ol,{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,El,{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,Q,{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},Y,$),i(null,null,j,{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},W,Z),i(null,null,X,{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},J,q),i(null,null,ee,{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},te,se),i(null,null,ie,{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},ae,le),i(null,null,re,{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},oe,ne),i(null,null,ce,{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},de,he),i(null,null,ue,{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},fe,me),i(null,null,ge,{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},pe,_e),i(null,null,ve,{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},Se,ye),i(null,null,ke,{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},Ie,be),i(null,null,xe,{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},ze,Ce),i(null,null,Be,{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},Pe,Me),i(null,null,we,{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},Te,Re),i(null,null,Oe,{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},De,Le),i(null,null,Ae,{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},Ee,Fe),i(null,null,Ue,{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},He,Ve),i(null,null,Ne,{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},Ke,Ge),i(null,null,Qe,{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},Ye,$e),i(null,null,je,{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},We,Ze),i(null,null,Xe,{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},Je,qe),i(null,null,et,{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},tt,st),i(null,null,it,{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},at,lt),i(null,null,rt,{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},ot,nt),i(null,null,ct,{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},dt,ht),i(null,null,ut,{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},ft,mt),i(null,null,gt,{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},pt,_t),i(null,null,vt,{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},St,yt),i(null,null,kt,{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},It,bt),i(null,null,xt,{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},zt,Ct),i(null,null,Bt,{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},Pt,Mt),i(null,null,wt,{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},Tt,Rt),i(null,null,Ot,{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},Dt,Lt),i(null,null,At,{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},Et,Ft),i(null,null,Ut,{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},Ht,Vt),i(null,null,Nt,{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},Kt,Gt),i(null,null,Qt,{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},Yt,$t),i(null,null,jt,{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},Wt,Zt),i(null,null,Xt,{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},Jt,qt),i(null,null,es,{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},ts,ss),i(null,null,is,{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},as,ls),i(null,null,rs,{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},os,ns),i(null,null,cs,{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},ds,hs),i(null,null,us,{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},fs,ms),i(null,null,gs,{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},ps,_s),i(null,null,vs,{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},Ss,ys),i(null,null,ks,{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},Is,bs),i(null,null,xs,{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},zs,Cs),i(null,null,Bs,{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},Ps,Ms),i(null,null,ws,{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},Ts,Rs),i(null,null,Os,{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},Ds,Ls),i(null,null,As,{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},Es,Fs),i(null,null,Us,{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},Hs,Vs),i(null,null,Ns,{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},Ks,Gs),i(null,null,Qs,{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},Ys,$s),i(null,null,js,{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},Ws,Zs),i(null,null,Xs,{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},Js,qs),i(null,null,ei,{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},ti,si),i(null,null,ii,{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},ai,li),i(null,null,ri,{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},oi,ni),i(null,null,ci,{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},di,hi),i(null,null,ui,{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},fi,mi),i(null,null,gi,{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},pi,_i),i(null,null,vi,{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},Si,yi),i(null,null,ki,{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},Ii,bi),i(null,null,ya,{kind:"field",name:"forceDimm",static:!1,private:!1,access:{has:e=>"forceDimm"in e,get:e=>e.forceDimm,set:(e,s)=>{e.forceDimm=s}},metadata:t},ka,Ia),i(null,null,Ga,{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},Qa,Ya),i(null,null,fl,{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},ml,gl),i(null,null,vl,{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},Sl,yl),i(null,null,Il,{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},bl,xl),i(null,null,wl,{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},Tl,Rl),i(null,null,Dl,{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},Ll,Al),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 I,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"booth",className:"efp-overlay-booth",priority:70,isActive:()=>this.details instanceof T,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 A,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:L,className:"efp-overlay-language",priority:50,isActive:()=>this.list.type===L,searchBoxConfig:()=>({mode:"interface",title:y("Language")})},{id:"category",className:"efp-overlay-category",priority:50,isActive:()=>!P.menu&&!!P.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 Gl,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,Y,{type:"search",text:"",focused:!1});details=(a(this,$),a(this,W,null));hoveredExhibitor=(a(this,Z),a(this,J,null));hoveredBooth=(a(this,q),a(this,te,null));zoomBy=(a(this,se),a(this,ae,null));rollReset=(a(this,le),a(this,oe,!1));moveToBooths=(a(this,ne),a(this,de,null));moveToRect=(a(this,he),a(this,fe,null));moveToLocation=(a(this,me),a(this,pe,!1));menu=(a(this,_e),a(this,Se,!1));searchFocused=(a(this,ye),a(this,Ie,!1));searchClearMode=(a(this,be),a(this,ze,!1));printingPdf=(a(this,Ce),a(this,Pe,!1));largeMessage=(a(this,Me),a(this,Te,null));largeMessageLastSet=(a(this,Re),a(this,De,null));screenSize=(a(this,Le),a(this,Ee,void 0));desiredOverlaySize=(a(this,Fe),a(this,He,void 0));overlayShowsAll=(a(this,Ve),a(this,Ke,!1));centerMap=(a(this,Ge),a(this,Ye,!1));zoomAfTransformK=(a(this,$e),a(this,We,1));activeListIndex=(a(this,Ze),a(this,Je,-1));devicePixelRatio=(a(this,qe),a(this,tt,window.devicePixelRatio));previewExhibitor=(a(this,st),null);wsStarted=a(this,at,!1);canvasStarted=(a(this,lt),a(this,ot,!1));kiosk=(a(this,nt),a(this,dt,!1));inIdle=(a(this,ht),a(this,ft,!1));modalActive=(a(this,mt),a(this,pt,{share:!1}));galleryActive=(a(this,_t),a(this,St,!1));hideOverlay=(a(this,yt),a(this,It,!1));hideCookieConsent=(a(this,bt),a(this,zt,!!ar()));hideHeaderLogo=(a(this,Ct),a(this,Pt,!1));hideLogoInBooth=(a(this,Mt),a(this,Tt,!1));disableBookmarked=(a(this,Rt),a(this,Dt,!1));hideLanguage=(a(this,Lt),a(this,Et,!1));monochrome=(a(this,Ft),a(this,Ht,!1));heatmap=(a(this,Vt),a(this,Kt,!1));heatmapYah=(a(this,Gt),a(this,Yt,!1));rootElement=a(this,$t);debugCircles=a(this,Wt,[]);mapControlsHidden=(a(this,Zt),a(this,Jt,!1));floorsControlHidden=(a(this,qt),a(this,ts,!1));hideFreeOrDemo=(a(this,ss),a(this,as,!1));freeBannerDismissed=(a(this,ls),a(this,os,hr(sessionStorage)));currentBanner=(a(this,ns),a(this,ds,null));sceneDefReady=(a(this,hs),a(this,fs,!1));categoryFilterOpen=(a(this,ms),a(this,ps,!1));selectedCategoryFilters=(a(this,_s),a(this,Ss,[]));selectedPoiTypeFilters=(a(this,ys),a(this,Is,[]));selectedTrack=(a(this,bs),a(this,zs,null));subButtonsVisible=(a(this,Cs),a(this,Ps,!1));mapControlsDOMRect=(a(this,Ms),a(this,Ts,void 0));searchBoxMode=(a(this,Rs),a(this,Ds,"search"));searchBoxTitle=(a(this,Ls),a(this,Es,""));searchBoxSubtitle=(a(this,Fs),a(this,Hs,void 0));routeTitle=(a(this,Vs),a(this,Ks,void 0));routeDescription=(a(this,Gs),a(this,Ys,void 0));isMultiPointRoute=(a(this,$s),a(this,Ws,!1));tourTitle=(a(this,Zs),a(this,Js,void 0));tourDescription=(a(this,qs),a(this,ti,void 0));isMultiPointTour=(a(this,si),a(this,ai,!1));pathwayOnlyMode=(a(this,li),a(this,oi,!1));isOverlayScrolled=(a(this,ni),a(this,di,!1));listScrollTop=(a(this,hi),a(this,fi,0));listScrollItemId=(a(this,mi),a(this,pi,null));listScrollIndex=(a(this,_i),a(this,Si,0));scrollPositions=(a(this,yi),new Map);scrollItemIds=new Map;_customUIScale=a(this,Ii,null);searchFilterHeightPx=(a(this,bi),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 M)).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?Yl(r,this.rootStore.boothStore.booths).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 M)).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(),this.rootStore.exhibitorStore.exhibitors.filter(r=>r.bookmarked).flatMap(r=>r.booths.filter(n=>n instanceof M)).forEach(r=>s.add(r.id.toString())),this.rootStore.boothStore.booths.filter(r=>r.exhibitors.length===0&&r.bookmarkedDirectly).forEach(r=>s.add(r.id.toString()))),this.list?.type==="visited"&&(s.clear(),this.rootStore.exhibitorStore.visited.flatMap(r=>r.booths.filter(n=>n instanceof M)).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(m=>m.name.toLowerCase().includes(r))),n.flatMap(m=>m.booths.filter(g=>g instanceof M)).forEach(m=>s.add(m.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(),s.add(this.details.from?.id.toString()),s.add(this.details.to?.id.toString()),this.details.waypoints?.forEach(r=>s.add(r.id.toString()))),this.details instanceof T&&(s.clear(),s.add(this.details.id.toString())),this.details instanceof I&&(s.clear(),this.details.booths.filter(r=>r instanceof M).forEach(r=>s.add(r.id.toString()))),this.details instanceof A){const r=this.details;if(r.boothId){s.clear();const n=this.rootStore.boothStore.booths.find(m=>m.id===r.boothId);n&&s.add(n.id.toString())}}return s.delete(void 0),s.delete(null),s}constructor(t){a(this,Al),this.rootStore=t,this.initializeUIScale()}get rtl(){const t=lr();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 I?this.details:null}get selectedBooth(){return this.details instanceof T?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 Gl?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(f=>f.layer?.name===e);return s===-1?null:t[s+1]?.layer?.name}get headerHeightRem(){return 0}get headerHeightPx(){return V(this.headerHeightRem)}get overlayPosition(){return!this.screenSize||this.screenSize.width>Jl||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!==L&&!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:V(this.screenSize.width)}get wsImageHeightPx(){return 44}get wsPaddingPx(){return V(.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 H.EXPO==="cbresupplypartner"?"bottom":"top"}get wsPosition(){return this.overlayBottom?"top":this.wsDesktopPosition}get responsiveClass(){return or(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:V(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 f=54,r=this.shouldShowSearchButtons?54:0;return t+e+f+s+r}get shouldShowSearchButtons(){return this.rootStore.searchButtonsStore.hasAnySearchButtons&&!this.details&&!this.menu&&![L,"filter"].includes(this.list.type)}get canvasVisibleRectPx(){const t=this.screenSize;return sr.fromX1y1x2y2(P.rtl?0:this.mapVisibleStart,this.mapVisibleTop+this.searchActionsHeightPx,P.rtl?t.width-this.mapVisibleStart:t.width,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)}get canvasSizePt(){return this.screenSize.scale(this.devicePixelRatio)}get shouldUseBackdrop(){if(P.overlayCollapsed)return!1;if(z&&localStorage.getItem("forcebackdrop")==="1")return!0;if(this.overlayBottom||this.selectedExhibitor?.leadingImageUrl&&!this.selectedExhibitor?.leadingImageLinkUrl)return!1;const t=Kl.satisfies({safari:">=13"}),e=Kl.satisfies({chrome:">=77"});var s=/(android)/i.test(navigator.userAgent);return s?!1:t||e&&P.canvasSizePt.height*P.canvasSizePt.width<3e6}forceDimm=a(this,ka,!1);setForceDimm(t){this.forceDimm=t}get dimmed(){return this.forceDimm||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:f}=this.rootStore;let r=t.exhibitors;const n=e.categories.filter(p=>p.exhibitors.length),m=s.booths;this.selectedPoiTypeFilters.length>0&&(r=r.filter(p=>p.booths.some(_=>this.selectedPoiTypeFilters.some(S=>_.poiTypeId===S.id))));let g=[];const w=!this.selectedCategoryFilters.length&&x.showCategories?n.filter(p=>ur.includes(H.EXPO)?!p.name.includes("/"):!0):[],O=m.filter(p=>p instanceof G);return this.selectedCategoryFilters.length>0?g=[...r]:(x.showCompaniesAndBooths&&(g=g.concat(r)),x.showOtherSpaces&&(g=g.concat(O))),this.heatmap?[...r,...m].sort((_,S)=>f.getClicksByType(S)-f.getClicksByType(_)):this.heatmapYah?f.heatmapData?.yah?.sort((p,_)=>f.getClicksByType(_)-f.getClicksByType(p))||[]:r.length===0?m:w.concat(g.sort((p,_)=>{const S=p instanceof I&&p.featured!==void 0,B=_ instanceof I&&_.featured!==void 0;if(S!==B)return S?-1:1;const D=p instanceof G&&p.title?p.title:p.name,N=_ instanceof G&&_.title?_.title:_.name;return D.localeCompare(N,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:f,eventStore:r,speakerStore:n,heatmapStore:m}=this.rootStore;let g=e.exhibitors;const w=s.categories.filter(d=>d.exhibitors.length),O=f.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 m.heatmapData.yah.filter(h=>Number.isNaN(Number(t))?h:h.viewCount>=Number(t)).sort((h,v)=>m.getClicksByType(v)-m.getClicksByType(h));const B=[],D=new Set,N=new Set,Fl=new Set,$l=new Set;function Ul(d){return d?d.replace(/[!@#$%^*-\.,\(\)^#$%:?_+'"\/]/g," ").replace(/\s\s+/g," "):""}function k(d,h){return!d||!h?!1:Ul(d).toLowerCase().includes(Ul(h).toLowerCase())}function Hl(d,h){return d?k(d,h)||k(x.levelTerm+" "+d,h):!1}g.forEach(d=>{S.some(h=>k(d.name,h)||d.booths.some(v=>!h&&k(v.name,h)||Hl(v.layer?.name??null,h)))&&D.add(d)}),this.selectedCategoryFilters.length>0&&O.forEach(d=>{(this.heatmap||!(d instanceof M)||!Array.from(D).find(v=>v.booths.includes(d)))&&S.some(v=>k(d.title||"",v)||k(d.name,v)||k(d.fullName,v)||Hl(d.layer?.name??null,v))&&N.add(d)});const jl=p,Wl=_;if(jl.forEach(d=>{S.some(h=>k(d.name||"",h)||k(d.description||"",h))&&Fl.add(d)}),Wl.forEach(d=>{S.some(h=>k(d.name,h)||k(d.company,h)||k(d.jobTitle,h))&&$l.add(d)}),B.push(...Fl),B.push(...D),this.heatmap)return B.sort((d,h)=>m.getClicksByType(h)-m.getClicksByType(d));const Zl=new Map(B.map(d=>[d.id,d]));return B.map(d=>{if(!d.name)return null;const h=Ql(d instanceof T&&d.fullName.toLowerCase()||d.name.toLowerCase()),v=h.indexOf(Ql(t));if(v===-1)return null;const Vl={id:d.id,position:v,lowerCaseName:h,featured:!1};return d instanceof I&&(Vl.featured=d.featured),Vl}).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})=>Zl.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)),r=this.categoryFilteredSearchList.filter(n=>!s.has(n.name)).filter(n=>n.description&&n.description?.includes(t));return r.sort((n,m)=>{const g=n.description?.toLowerCase().indexOf(t),w=m.description?.toLowerCase().indexOf(t);return g-w}),r}get foundInDescriptionStruct(){const t={};if(this.list?.type!=="search")return t;const e=this.list?.text?.trim().toLowerCase();return this.foundInDescription.forEach(s=>{const f=s.description;if(!f)return;const r=f.indexOf(e);if(r===-1)return;const n=3,m=r>n?r-n:0,g=f.substring(m).trim();t[s.id]=r>0?`...${g}`:g}),t}get categoryFilteredSearchList(){return this.selectedCategoryFilters.length===0?this.searchList:this.searchList.filter(t=>t instanceof I&&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=[],f=[];for(const r of e){const n=r.item,m=n.entity.type,g=m==="booth"?n:null,w=m==="exhibitor"?n:null,O=[n.name?.toLowerCase()??"",g?.title?.toLowerCase()??"",g?.fullName?.toLowerCase()??"",...w?.booths?.map(_=>_.name?.toLowerCase()??"")??[]];let p=1/0;for(const _ of O){const S=_.indexOf(t);S!==-1&&S<p&&(p=S)}p!==1/0?s.push({result:{item:n,score:0},pos:p}):f.push(r)}return s.sort((r,n)=>r.pos-n.pos),[...s.map(r=>r.result),...f]}get listItems(){if(this.details instanceof R&&this.list.type!=="multi-point-tour")return[this.details.from,this.details.to].filter(t=>t);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 I&&!this.selectedCategoryFilters.some(n=>r.categories.some(m=>m.id===n.id)))return!1;if(this.selectedPoiTypeFilters.length>0){if(r instanceof I&&!r.booths.some(n=>this.selectedPoiTypeFilters.some(m=>n.poiTypeId===m.id))||r instanceof T&&!this.selectedPoiTypeFilters.some(n=>r.poiTypeId===n.id))return!1;if(r instanceof A&&r.boothId){const n=this.rootStore.boothStore.booths.find(m=>m.id===r.boothId);if(!n||!this.selectedPoiTypeFilters.some(m=>n.poiTypeId===m.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 L:return rr();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 f=this.rootStore.toursStore.getTourById(this.list.tourId);return f?!f.points||f.points.length===0?[]:f.points.map(r=>{const n=parseInt(r);if(!isNaN(n)){const g=this.rootStore.boothStore.boothById.get(n);if(g)return g}return nr(r)?.entity||null}).filter(Boolean):[];case"route-planner":return this.rootStore.routePlannerStore.resolvedBooths}throw new Error("Unknown list.type")}get listBooths(){return Yl(this.listItems,this.rootStore.boothStore.booths)}get selectedBooths(){let t=[];this.selectedExhibitor?t=this.selectedExhibitor.booths:this.selectedBooth&&(t=[this.selectedBooth]);const e=this.selectedRoute;return e?.from&&t.push(e.from),e?.to&&t.push(e.to),e?.waypoints&&e?.waypoints?.forEach(s=>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,f)=>({...s,[f]:!0}),{}),...Object.keys(t).filter(s=>this.visibility.hasOwnProperty(s)).reduce((s,f)=>({...s,[f]:t[f]}),{})};Object.values(e).every(Boolean)?z&&localStorage.removeItem(Nl):z&&localStorage.setItem(Nl,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||ir,this.rollReset=!0}get previewMode(){return z&&localStorage.getItem(ql)==="1"||this.rootStore.fp.previewMode}get viewerMode(){return z&&localStorage.getItem(er)==="1"||this.rootStore.fp.viewerMode}get selectedEventItem(){return this.details instanceof A?this.details:null}get defaultMapSettings(){return{zoomtime:500,center:void 0,centerxy:void 0,z:void 0,bearing:0,roll:1}}mapSettings=(a(this,Ia),a(this,Qa,{...this.defaultMapSettings}));saveMapSettings(t){const e=JSON.stringify(this.mapSettings),s=JSON.stringify(t);e!==s&&sessionStorage.setItem(Xl,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://${H.EXPO}.expofp.com`}get viewMapOnPhoneQRCodeUrl(){if(x?.customKioskQrCodeUrl)return x.customKioskQrCodeUrl;const t=new URL(this.baseQRCodeUrl);t.search=window.location.search;const e=cr();e&&t.searchParams.set("yah",e);const s=t.toString();return console.log("View Map On Phone QR Code Url",s),s}get routeQRCodeUrl(){const t=new URL(this.baseQRCodeUrl),e=this.selectedRoute?.to?.slug||"",s=this.selectedRoute?.from?.slug||"";t.search=`?route%3A${encodeURIComponent(e)}%3A${encodeURIComponent(s)}%3Afalse`,dr(t.searchParams,this.kioskData,["x","y","z"]);const f=t.toString();return console.log("Route QR Code Url",f),f}get isFeaturedExhibitorActive(){return this.details instanceof I&&!!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:H.EXPO==="expo"?"demo":x.expoFpAd||x.isTrial?"free":null}get isBannerVisible(){return this.bannerType!==null}setCurrentBanner(t){this.currentBanner=t}forceShowDetails=(a(this,Ya),a(this,ml,!1));setForceShowDetails(t){this.forceShowDetails=t}get showRouteInstantly(){return!!(this.kiosk&&!this.forceShowDetails)}buildRoute=(a(this,gl),a(this,Sl,!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,yl),a(this,bl,[]));setGlobalErrorMessage(t){this.globalErrorMessages.push(t)}popGlobalErrorMessage(){this.globalErrorMessages.pop()}initializeUIScale(){if(new URLSearchParams(window.location.search).get("kiosk")!=="0"&&z){const e=localStorage.getItem(K);if(e){const s=parseFloat(e);!isNaN(s)&&s>=.8&&s<=1.4&&(this._customUIScale=s)}}}minUIScale=(a(this,xl),.8);maxUIScale=1.4;setUIScale(t,e=!0){if(isNaN(t)||t<this.minUIScale||t>this.maxUIScale){tr.warn(`Invalid ui-scale value: ${t}. Must be between ${this.minUIScale} and ${this.maxUIScale}.`);return}this._customUIScale=t,e&&z&&localStorage.setItem(K,t.toString())}resetUIScale(){this._customUIScale=null,z&&localStorage.removeItem(K)}setKioskModeEnabled=a(this,Tl,!1);enableSetKioskMode(t){this.setKioskModeEnabled=t}kioskData=(a(this,Rl),a(this,Ll,void 0));setKioskData(t){this.kioskData=t}}})();export default fr;function Yl(E,F){const C=[];return E.forEach(b=>{b instanceof I?C.push(...b.booths):b instanceof T?C.push(b):b instanceof A&&b.boothId&&C.push(F.find(U=>U.id===b.boothId))}),new Set(C.filter(Boolean))}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{HeatmapYah as
|
|
1
|
+
import{HeatmapYah as c}from"../HeatmapStore";import{createCurrentCanvas as h}from"../../components/Map/drawing/config/canvases";export function initHeatmap(e){if(window.__heatmapData)e.heatmapStore.heatmapData=window.__heatmapData;else if(window.__heatmapDataYah){e.heatmapStore.heatmapData.yah=window.__heatmapDataYah.yah.map(a=>{const t=new c;return t.id=a.id,t.name=a.name,t.viewCount=a.viewCount,t.x=a.x,t.y=a.y,t.z=a.z,t});const o=e.heatmapStore.heatmapData.yah.map(a=>{const t=e.heatmapStore.getColorByClicks(a.viewCount),r=e.uiState.devicePixelRatio,n=h(r,t,void 0,95,120,a.viewCount.toString()),p=n.toDataURL();return{name:a.id.toString(),scale:1,width:n.width,height:n.height,content:p}}),i=e.heatmapStore.heatmapData.yah.map(a=>({id:a.id.toString(),x:a.x,y:a.y,z:a.z,position:"lefttop",icon:a.id.toString(),selectedIcon:a.id.toString()}));e.routeStore.setMarkers({markers:i,icons:o}),e.selectSearch(" ")}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{autorun as s,reaction as S,runInAction as h}from"mobx";import v from"../../core/Size";import{isWebGlSupported as
|
|
1
|
+
import{autorun as s,reaction as S,runInAction as h}from"mobx";import v from"../../core/Size";import{isWebGlSupported as g}from"../../utils";import l from"../../utils/preview-exhibitor";import{ResizeObserver as w}from"resize-observer";import{isLocalStorageAvailable as a}from"../../utils/localStorage";import{KIOSK_ENABLE_KEY as c,VISIBILITY_STORAGE_KEY as k}from"../../constants";import{detectLimitedModeViaImage as E}from"../../utils/detectLimitedModeViaImage";import y from"../../tools/logger";let o;export default function x(i){const{uiState:e,exhibitorStore:u,searchStore:b}=i;e.rootElement=window.__efpElement,f(e.rootElement.clientWidth,e.rootElement.clientHeight),o=new w(t=>{t.forEach(r=>{f(r.contentRect.width,r.contentRect.height)})}),o.observe(e.rootElement),l&&(e.previewExhibitor=u.exhibitorById.get(l.id));const n=typeof matchMedia<"u"?matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`):null;n&&n.addEventListener&&n.addEventListener("change",()=>{e.devicePixelRatio=window.devicePixelRatio}),e.desiredOverlaySize=l||!g?"full":"medium",s(()=>{(e.searchFocused||e.menu)&&e.overlayPosition!=="left"&&(e.desiredOverlaySize="full")}),s(()=>{e.overlaySize!=="full"&&e.menu&&(e.menu=!1)}),e.wsShown||(e.wsStarted=!0),e.kiosk=a&&localStorage.getItem(c)==="1",window.__resett=d;function p(){i.reset()}var m;function d(){e.kiosk&&(y.log("zzz2","reset timer"),clearTimeout(m),m=setTimeout(p,3e4),e.inIdle=!1)}s(()=>{const t=e.list;t.type==="search"&&(t.text==="kkiosk"?e.kiosk=!0:t.text==="nokkiosk"&&(e.kiosk=!1))}),S(()=>e.kiosk,t=>{a&&(t?(localStorage.setItem(c,"1"),d()):localStorage.setItem(c,"0"))}),a&&e.setVisibility(JSON.parse(localStorage.getItem(k))||{});function f(t,r){h("uiState.screenSize",()=>{e.screenSize=new v(t,r)})}I(i)}export function destroyUiHandlers(){o&&(o.disconnect(),o=null)}async function I(i){try{if(!await E())return;i.uiState.setGlobalErrorMessage({title:"Unsupported Environment Detected",body:`
|
|
2
2
|
This application requires a proper server environment to function correctly.
|
|
3
3
|
For full functionality, please ensure the application is served through an HTTP/HTTPS server.
|
|
4
4
|
Some features may not work as expected in the current setup.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/floorplan",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.4",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/expofp/efp-app.git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"!dist/stats.json"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@expofp/renderer": "
|
|
38
|
+
"@expofp/renderer": "3.1.3",
|
|
39
39
|
"@sentry/core": "^10.51.0",
|
|
40
40
|
"@sentry/react": "^10.51.0",
|
|
41
41
|
"bowser": "^2.7.0",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"twgl.js": "^4.14.0",
|
|
77
77
|
"uuid": "^9.0.1",
|
|
78
78
|
"zod": "4.3.5",
|
|
79
|
-
"@expofp/resolve": "3.1.
|
|
80
|
-
"@expofp/debug": "3.1.
|
|
79
|
+
"@expofp/resolve": "3.1.4",
|
|
80
|
+
"@expofp/debug": "3.1.4"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@babel/plugin-proposal-decorators": "^7.29.0",
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
3
|
-
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.1.2" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e52b582f-d273-4e93-828b-cb90884730fc", e._sentryDebugIdIdentifier = "sentry-dbid-e52b582f-d273-4e93-828b-cb90884730fc");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import { r as e } from "./chunk-BjP-W_8B.js";
|
|
10
|
-
import { t } from "./react-19U-5m1O.js";
|
|
11
|
-
import { t as n } from "./jsx-runtime-CGa6rouk.js";
|
|
12
|
-
import { a as r, k as i, qn as a } from "./store-CwvDErjP.js";
|
|
13
|
-
import { n as o } from "./mobx-DfjpWyaW.js";
|
|
14
|
-
import { t as s } from "./KioskStore-umOa7R8-.js";
|
|
15
|
-
//#region src/components/Kiosk/SetKioskMode.tsx
|
|
16
|
-
var c = /* @__PURE__ */ e(t(), 1), l = n(), u = a(() => {
|
|
17
|
-
var e, t, n;
|
|
18
|
-
o(() => s.handleSetupReady()), (0, c.useEffect)(() => {
|
|
19
|
-
let e = (e) => s.setInitialPtScale(e);
|
|
20
|
-
s.renderer.events.addEventListener("viewport:ptscale", e);
|
|
21
|
-
let t = (e) => s.handleClick(e);
|
|
22
|
-
s.renderer.events.addEventListener("pointer:click", t);
|
|
23
|
-
let n = () => s.handleNavigationChange();
|
|
24
|
-
return s.renderer.events.addEventListener("navigation:change", n), () => {
|
|
25
|
-
s.renderer.events.removeEventListener("viewport:ptscale", e), s.renderer.events.removeEventListener("pointer:click", t), s.renderer.events.removeEventListener("navigation:change", n);
|
|
26
|
-
};
|
|
27
|
-
}, [s.renderer]);
|
|
28
|
-
let a = !!s.kiosk;
|
|
29
|
-
return /* @__PURE__ */ (0, l.jsx)(i, {
|
|
30
|
-
isSaveDisabled: a ? !s.hasUnsavedChanges : !0,
|
|
31
|
-
isDeleteDisabled: !a,
|
|
32
|
-
areControlsDisabled: !a,
|
|
33
|
-
confirmOnClose: a ? s.hasUnsavedChanges : !1,
|
|
34
|
-
angle: ((e = s.kiosk) == null ? void 0 : e.heading) || 0,
|
|
35
|
-
uiScale: ((t = s.kiosk) == null ? void 0 : t.uiScale) || r.uiState.uiScale,
|
|
36
|
-
minUiScale: r.uiState.minUIScale,
|
|
37
|
-
maxUiScale: r.uiState.maxUIScale,
|
|
38
|
-
uiScaleStep: .01,
|
|
39
|
-
iconSizePercent: ((n = s.kiosk) == null ? void 0 : n.iconSizePercent) || 100,
|
|
40
|
-
isInfoVisible: !a,
|
|
41
|
-
statusMessages: s.statusMessages,
|
|
42
|
-
onClose: () => s.handleClose(),
|
|
43
|
-
onDelete: () => s.handleDelete(),
|
|
44
|
-
onSave: () => s.handleSave(),
|
|
45
|
-
onChange: (e) => s.handleChange(e)
|
|
46
|
-
});
|
|
47
|
-
});
|
|
48
|
-
//#endregion
|
|
49
|
-
export { u as default };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
3
|
-
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.1.2" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "1cd9eecc-709b-4b78-940a-cbf60fb3a80f", e._sentryDebugIdIdentifier = "sentry-dbid-1cd9eecc-709b-4b78-940a-cbf60fb3a80f");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import "./chunk-BjP-W_8B.js";
|
|
10
|
-
import "./is-debug-C1gwybh0.js";
|
|
11
|
-
import { t as e } from "./react-19U-5m1O.js";
|
|
12
|
-
import { t } from "./jsx-runtime-CGa6rouk.js";
|
|
13
|
-
import { T as n, a as r, qn as i, w as a } from "./store-CwvDErjP.js";
|
|
14
|
-
import { n as o } from "./mobx-DfjpWyaW.js";
|
|
15
|
-
import { t as s } from "./TouchHand-DtBzj-Bj.js";
|
|
16
|
-
import { t as c } from "./KioskStore-umOa7R8-.js";
|
|
17
|
-
e();
|
|
18
|
-
var l = t(), u = i(() => (o(() => {
|
|
19
|
-
if (localStorage.getItem("kiosk") === "0") return;
|
|
20
|
-
let e = c.restoreData();
|
|
21
|
-
if (e) return a(e, !0), n(e), r.setResetCameraFn(() => c.resetCamera()), () => {
|
|
22
|
-
r.uiState.setKioskData(null), r.uiState.resetMapSettings(), c.resetCamera();
|
|
23
|
-
};
|
|
24
|
-
}), r.uiState.kiosk && r.uiState.inIdle ? /* @__PURE__ */ (0, l.jsx)(s, {}) : null));
|
|
25
|
-
//#endregion
|
|
26
|
-
export { u as default };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Data } from "../data/Data";
|
|
2
|
-
type SubscriptionStatus = "Active" | "Trial Active" | "Trial Expired" | "Free";
|
|
3
|
-
type IntercomContext = {
|
|
4
|
-
subDomain: string;
|
|
5
|
-
subscriptionStatus: SubscriptionStatus;
|
|
6
|
-
};
|
|
7
|
-
export declare function getIntercomContext(data: Data): IntercomContext;
|
|
8
|
-
export declare function getSubDomain(): string;
|
|
9
|
-
export declare function getSubscriptionStatus(data: Data): SubscriptionStatus;
|
|
10
|
-
export default function bootIntercom(data: Data): void;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=intercom.d.ts.map
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
const a="k5f7wyx2";let c=!1;export function getIntercomContext(t){const e={subDomain:getSubDomain(),subscriptionStatus:getSubscriptionStatus(t)};return process.env.NODE_ENV==="production"?e:p(e)}function p(t){const e=new URLSearchParams(window.location.search),n=e.get("__intercom_subdomain"),i=e.get("__intercom_status"),s=i&&["Active","Trial Active","Trial Expired","Free"].includes(i)?i:t.subscriptionStatus;return{subDomain:n??t.subDomain,subscriptionStatus:s}}function m(){if(process.env.NODE_ENV==="production")return!1;const t=new URLSearchParams(window.location.search);return!t.has("__intercom_subdomain")&&!t.has("__intercom_status")}export function getSubDomain(){const t=window.location.hostname.split(".");return t.length>=3&&t[t.length-2]==="expofp"&&t[t.length-1]==="com"?t[0]:"main"}export function getSubscriptionStatus(t){if(t?.free===!0)return"Free";const e=t?.trialExpiresAt;if(e){const n=new Date(e).getTime();if(!Number.isNaN(n))return Date.now()<n?"Trial Active":"Trial Expired"}return"Active"}function u(){if(document.getElementById("efp-intercom-position"))return;const t=document.createElement("style");t.id="efp-intercom-position",t.textContent=`
|
|
2
|
-
.intercom-namespace,
|
|
3
|
-
.intercom-lightweight-app,
|
|
4
|
-
.intercom-app,
|
|
5
|
-
[class*="intercom-with-namespace-"]:not(.intercom-messenger-frame) {
|
|
6
|
-
z-index: 20 !important;
|
|
7
|
-
}
|
|
8
|
-
.intercom-lightweight-app-launcher,
|
|
9
|
-
.intercom-app > [class*="intercom-with-namespace-"]:not(.intercom-messenger-frame) {
|
|
10
|
-
right: 10px !important;
|
|
11
|
-
bottom: 50px !important;
|
|
12
|
-
}
|
|
13
|
-
@media (max-width: 767px) {
|
|
14
|
-
.intercom-lightweight-app-launcher,
|
|
15
|
-
.intercom-app > [class*="intercom-with-namespace-"]:not(.intercom-messenger-frame) {
|
|
16
|
-
bottom: 80px !important;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
`,document.head.appendChild(t)}export default function d(t){if(m()||c)return;const{subDomain:e,subscriptionStatus:n}=getIntercomContext(t);if(e!=="demo"&&n!=="Free"&&n!=="Trial Expired")return;c=!0;const i=window;i.intercomSettings={api_base:"https://api-iam.intercom.io",app_id:a,alignment:"right",expofp_subdomain:e,expofp_subscription_status:n},u();const o=function(){o.c(arguments)};o.q=[],o.c=function(r){o.q.push(r)},i.Intercom=o;const s=()=>{const r=document.createElement("script");r.type="text/javascript",r.async=!0,r.src=`https://widget.intercom.io/widget/${a}`,document.head.appendChild(r)};document.readyState==="complete"?s():window.addEventListener("load",s,!1)}
|