@expofp/floorplan 3.5.2 → 3.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/dist/browser/{CookieConsent-SW2eXIC8.js → CookieConsent-7RHQNfPi.js} +8 -8
  2. package/dist/browser/{Debug-t7OzIN-8.js → Debug-DSE0G1X0.js} +7 -7
  3. package/dist/browser/{Demo-DJ98mlUr.js → Demo-CGLXtx_J.js} +11 -11
  4. package/dist/browser/{Free-B9JCPcnr.js → Free-BUwTP1Pf.js} +11 -11
  5. package/dist/browser/{Gallery-CPBGS9q7.js → Gallery-DOvcwDSP.js} +10 -10
  6. package/dist/browser/{GpsLoader-vcgurCKn.js → GpsLoader-CaxnWRT4.js} +42 -42
  7. package/dist/browser/{KioskStore-DzLhE0fK.js → KioskStore-n7sNyISt.js} +36 -36
  8. package/dist/browser/{MaplibreAdapter-CAGVMAol.js → MaplibreAdapter-DRETosPg.js} +98 -98
  9. package/dist/browser/{Modal-DBVl72uz.js → Modal-jkCNhc5W.js} +10 -10
  10. package/dist/browser/{PermissionNotice-BDny4W7h.js → PermissionNotice-CUfYOzWa.js} +7 -7
  11. package/dist/browser/{SetKioskMode-CjKFTXwj.js → SetKioskMode-BTMes6Qv.js} +11 -11
  12. package/dist/browser/{ShowKiosk-bwEsTLSP.js → ShowKiosk-f-dRGxyO.js} +10 -10
  13. package/dist/browser/{TouchHand-DFPQ2vE8.js → TouchHand-CCDAq3if.js} +4 -4
  14. package/dist/browser/{ViewerMenuPanel-DK-DJHgD.js → ViewerMenuPanel-O7HHZhKd.js} +12 -12
  15. package/dist/browser/{add-debug-secret-listener-ND2YIuwE.js → add-debug-secret-listener-BpT8IiY7.js} +1 -1
  16. package/dist/browser/{boolean-editor-BXVL077p.js → boolean-editor-CDMX2vVS.js} +9 -9
  17. package/dist/browser/{bootIntercom-DLTAHEbT.js → bootIntercom-D_XUSIsZ.js} +2 -2
  18. package/dist/browser/{browser-V3D46fyx.js → browser-C2T1Beyd.js} +2 -2
  19. package/dist/browser/bundle.json +59 -56
  20. package/dist/browser/{classnames-Dxv3Iqu-.js → classnames-bu9CKQ9B.js} +2 -2
  21. package/dist/browser/{client-C1kJisHy.js → client-CRHe4rvq.js} +4 -4
  22. package/dist/browser/compat-helper.js +1 -0
  23. package/dist/browser/{components-B8Qifx-N.js → components-Bo47YnR8.js} +1522 -1514
  24. package/dist/browser/{createWayfinding-C8Pmd2H5.js → createWayfinding-BadUdVb3.js} +598 -614
  25. package/dist/browser/{debug-overlay-DWJkUc3u.js → debug-overlay-D1j-kvcX.js} +10 -10
  26. package/dist/browser/{debug-ui-jAj6--ux.js → debug-ui-DSlWZ4sC.js} +6 -6
  27. package/dist/browser/{dist-CPyShXna.js → dist-DfuOQuyQ.js} +5 -5
  28. package/dist/browser/{dist-BHV9ghY4.js → dist-DlacjPUu.js} +6 -6
  29. package/dist/browser/{dist-DUIasJnS.js → dist-DmKlo6QJ.js} +3 -3
  30. package/dist/browser/{efp-debug-init-AR3Fvs_0.js → efp-debug-init-Bm0MVP2h.js} +2 -2
  31. package/dist/browser/{enum-editor-FiZIrNXM.js → enum-editor-siCO7Xfo.js} +11 -11
  32. package/dist/browser/{event-not-found-BzPx68a_.js → event-not-found-D0nWb3qT.js} +1 -1
  33. package/dist/browser/{exports-DlEzkzSC.js → exports-B3z1iY3M.js} +1 -1
  34. package/dist/browser/{favicon-Dobo0b59.js → favicon-CwfYl17D.js} +1 -1
  35. package/dist/browser/{fetch-retry.umd-CXT8SYkm.js → fetch-retry.umd-0wqPcBus.js} +2 -2
  36. package/dist/browser/{flex-DGR_Loqd.js → flex-3cepd5kd.js} +5 -5
  37. package/dist/browser/{floorplan.loader-GMByEo0q.js → floorplan.loader-CMiIp9U5.js} +48 -47
  38. package/dist/browser/{floorplan.ready-DTwVRPUA.js → floorplan.ready-C1Ih8AXF.js} +232 -232
  39. package/dist/browser/{fuse-CoX8SCVF.js → fuse-1C6moGnL.js} +2 -2
  40. package/dist/browser/{i18n-CONnsQk4.js → i18n-s1qY7lAy.js} +570 -543
  41. package/dist/browser/icons/departure_inactive.svg +5 -0
  42. package/dist/browser/index.js +11 -11
  43. package/dist/browser/{jsx-runtime-iIXfJE8d.js → jsx-runtime-DkIKrO9X.js} +2 -2
  44. package/dist/browser/{lib-CAUtTowO.js → lib-CQEgphr9.js} +4 -4
  45. package/dist/browser/{main-5p-fstPx.js → main-CIw-sA9x.js} +1 -1
  46. package/dist/browser/{mobx-CP3094rF.js → mobx-BWVP8GMN.js} +8 -8
  47. package/dist/browser/{particles.min-BvP0Ecuj.js → particles.min-CGCC5E7s.js} +2 -2
  48. package/dist/browser/{prop-types-CtPkc8Dm.js → prop-types-BLMbF9Gx.js} +2 -2
  49. package/dist/browser/{react-DgvgFS2Z.js → react-DWv1jiJx.js} +2 -2
  50. package/dist/browser/{react-dom-Bi44rMnr.js → react-dom-B1kJrfKr.js} +3 -3
  51. package/dist/browser/{reset-all-settings-CB8d29KN.js → reset-all-settings-CBz-vDc5.js} +7 -7
  52. package/dist/browser/{rolldown-runtime-D0nkOxqx.js → rolldown-runtime-r-_hAitn.js} +1 -1
  53. package/dist/browser/{settings-CTPClT89.js → settings-CGEJf2_B.js} +2 -2
  54. package/dist/browser/{settings-item-DFxxEXOa.js → settings-item-BbG-b-eF.js} +6 -6
  55. package/dist/browser/{storage-DvQIEAC7.js → storage-CQsko9cP.js} +5 -5
  56. package/dist/browser/{store-BlZ4xT_G.js → store-CaZsJa12.js} +5746 -5681
  57. package/dist/browser/{string-editor-YIMEKgRw.js → string-editor-Baea8YX3.js} +7 -7
  58. package/dist/browser/{theme-Gip68cNV.js → theme-BHkNtMJn.js} +8 -8
  59. package/dist/browser/{ui-CZUswZut.js → ui-DmzqbuSF.js} +8 -8
  60. package/dist/browser/{useRenderTarget-DTeVFvZz.js → useRenderTarget-BGCa_TOt.js} +4 -4
  61. package/dist/esm/components/Kiosk/integrateKiosk.js +1 -1
  62. package/dist/esm/components/Map/Map.js +1 -1
  63. package/dist/esm/components/Map/drawing/config/config-all.js +1 -1
  64. package/dist/esm/components/Wayfinding.js +1 -1
  65. package/dist/esm/data/Flags.d.ts +9 -0
  66. package/dist/esm/services/routing.js +1 -1
  67. package/dist/esm/store/RootStore.js +1 -1
  68. package/dist/esm/store/RoutePlannerStore.js +1 -1
  69. package/dist/esm/store/RouteStore.d.ts +15 -6
  70. package/dist/esm/store/RouteStore.js +1 -1
  71. package/dist/esm/store/UIState.d.ts +1 -1
  72. package/dist/esm/store/UIState.js +1 -1
  73. package/dist/esm/types.d.ts +1 -1
  74. package/dist/esm/utils/loadIcons.js +1 -1
  75. package/dist/esm/wayfinding/adapters/arbitraryPoint.d.ts +28 -0
  76. package/dist/esm/wayfinding/adapters/arbitraryPoint.js +1 -0
  77. package/dist/esm/wayfinding/adapters/boothToEndpoint.d.ts +3 -3
  78. package/dist/esm/wayfinding/adapters/boothToEndpoint.js +1 -1
  79. package/dist/esm/wayfinding/adapters/canvasIconProvider.js +1 -1
  80. package/dist/esm/wayfinding/adapters/iconProvider.d.ts +1 -1
  81. package/dist/esm/wayfinding/adapters/index.d.ts +2 -0
  82. package/dist/esm/wayfinding/adapters/index.js +1 -1
  83. package/dist/esm/wayfinding/bindMobxReactions.d.ts +9 -1
  84. package/dist/esm/wayfinding/bindMobxReactions.js +1 -1
  85. package/dist/esm/wayfinding/core/createWayfindingEngine.js +1 -1
  86. package/dist/esm/wayfinding/core/geometry/projectPointOnSegment.d.ts +23 -0
  87. package/dist/esm/wayfinding/core/geometry/projectPointOnSegment.js +1 -0
  88. package/dist/esm/wayfinding/core/index.d.ts +6 -3
  89. package/dist/esm/wayfinding/core/index.js +1 -1
  90. package/dist/esm/wayfinding/core/position/gpsThreshold.d.ts +9 -0
  91. package/dist/esm/wayfinding/core/position/gpsThreshold.js +1 -1
  92. package/dist/esm/wayfinding/core/position/rerouteController.d.ts +10 -0
  93. package/dist/esm/wayfinding/core/position/rerouteController.js +1 -0
  94. package/dist/esm/wayfinding/core/position/snapToRoute.d.ts +2 -2
  95. package/dist/esm/wayfinding/core/position/snapToRoute.js +1 -1
  96. package/dist/esm/wayfinding/core/routing/{findNearestGraphPoint.d.ts → graphPointResolvers.d.ts} +1 -3
  97. package/dist/esm/wayfinding/core/routing/graphPointResolvers.js +1 -0
  98. package/dist/esm/wayfinding/core/routing/resolveWaypointCandidates.d.ts +17 -3
  99. package/dist/esm/wayfinding/core/routing/resolveWaypointCandidates.js +1 -1
  100. package/dist/esm/wayfinding/core/types.d.ts +5 -6
  101. package/dist/esm/wayfinding/createWayfinding.js +1 -1
  102. package/dist/esm/wayfinding/layers.d.ts +1 -0
  103. package/dist/esm/wayfinding/layers.js +1 -1
  104. package/dist/esm/wayfinding/runtime/createWayfindingRuntime.js +1 -1
  105. package/dist/esm/wayfinding/runtime/endpointView.d.ts +4 -1
  106. package/dist/esm/wayfinding/runtime/endpointView.js +1 -1
  107. package/dist/esm/wayfinding/runtime/positionTrailView.d.ts +14 -20
  108. package/dist/esm/wayfinding/runtime/positionTrailView.js +1 -1
  109. package/dist/esm/wayfinding/runtime/positionView.d.ts +1 -0
  110. package/dist/esm/wayfinding/runtime/positionView.js +1 -1
  111. package/dist/esm/wayfinding/runtime/routeRenderData.d.ts +1 -1
  112. package/dist/esm/wayfinding/runtime/types.d.ts +1 -0
  113. package/package.json +9 -3
  114. package/dist/esm/RouteCutIn.d.ts +0 -23
  115. package/dist/esm/RouteCutIn.js +0 -1
  116. package/dist/esm/wayfinding/core/position/shouldReroute.d.ts +0 -3
  117. package/dist/esm/wayfinding/core/position/shouldReroute.js +0 -1
  118. package/dist/esm/wayfinding/core/routing/findNearestGraphPoint.js +0 -1
  119. package/dist/esm/wayfinding/utils/findBoothInRadius.d.ts +0 -4
  120. package/dist/esm/wayfinding/utils/findBoothInRadius.js +0 -1
@@ -1 +1 @@
1
- import{__esDecorate as i,__runInitializers as r}from"tslib";import{action as m,computed as x,observable as d}from"mobx";import{Point as Ke,lineLength as Oe}from"simple-geometry";import n,{boothStore as Xe,layersStore as T}from".";import{fpGeo as E}from"../data/fpGeo";import z from"../core/Rect";import{GaEventActions as He,sendEventToGa as Je}from"../tools/gtag";import{convertGpsToLocal as Ue,isValidPointCoords as Ne,calculateRelativeBearing as Qe}from"../utils/gps";import{getLayerSvg as et,svgArea as k}from"../data/svg";import{createWayfindingEngine as tt}from"../wayfinding/core";import{boothToEndpoint as Ze,graphDataSource as qe}from"../wayfinding/adapters";import{LayersMode as st}from"./LayerStore";import{uiState as y}from"./index";import{calcSpeed as $e}from"../utils/calcSpeed";import{calcTravelTime as Ve}from"../utils/calcTravelTime";import{DEFAULT_UNITS as je,ORIENTATION_GRANTED_KEY as at}from"../constants";import{areLayersEnabled as it}from"../utils/areLayersEnabled";import{shouldReroute as rt}from"../wayfinding/core";import{findBoothInRadius as nt}from"../wayfinding/utils/findBoothInRadius";import P from"../data";import We from"../tools/logger";const b=a=>typeof a=="string"?Number(a.replace(",",".")):a;let ot=(()=>{let a=[],o,l=[],f=[],h,S=[],L=[],D,I=[],w=[],A,M=[],C=[],B,F=[],G=[],O,U=[],N=[],Z,q=[],$=[],V,j=[],W=[],Y,K=[],X=[],H,J=[],Q=[],ee,te=[],se=[],ae,ie=[],re=[],ne,oe=[],le=[],ce,ue=[],de=[],fe,me,he,pe,_e,ge,ye,ke,be,ve,xe,Re,Se,Le=[],Te=[],Ee,ze,Pe,De,Ie,we,Ae=[],Me=[],Ce,Be,Fe;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;o=[d],h=[d],D=[d],A=[d],B=[d],O=[d],Z=[d],V=[d],Y=[d],H=[d],ee=[d],ae=[d],ne=[d],ce=[d],fe=[x],me=[m],he=[m],pe=[x({keepAlive:!0})],_e=[x({keepAlive:!0})],ge=[m],ye=[m],ke=[x({keepAlive:!0})],be=[x({keepAlive:!0})],ve=[m],xe=[m],Re=[m],Se=[d],Ee=[x],ze=[m],Pe=[m],De=[m],Ie=[m],we=[d],Ce=[m],Be=[x({keepAlive:!0})],Fe=[m],i(this,null,fe,{kind:"getter",name:"canFindLocation",static:!1,private:!1,access:{has:e=>"canFindLocation"in e,get:e=>e.canFindLocation},metadata:t},null,a),i(this,null,me,{kind:"method",name:"selectRoute",static:!1,private:!1,access:{has:e=>"selectRoute"in e,get:e=>e.selectRoute},metadata:t},null,a),i(this,null,he,{kind:"method",name:"setStartPoint",static:!1,private:!1,access:{has:e=>"setStartPoint"in e,get:e=>e.setStartPoint},metadata:t},null,a),i(this,null,pe,{kind:"getter",name:"pathLayers",static:!1,private:!1,access:{has:e=>"pathLayers"in e,get:e=>e.pathLayers},metadata:t},null,a),i(this,null,_e,{kind:"getter",name:"nearestBooth",static:!1,private:!1,access:{has:e=>"nearestBooth"in e,get:e=>e.nearestBooth},metadata:t},null,a),i(this,null,ge,{kind:"method",name:"setMarkers",static:!1,private:!1,access:{has:e=>"setMarkers"in e,get:e=>e.setMarkers},metadata:t},null,a),i(this,null,ye,{kind:"method",name:"selectMarker",static:!1,private:!1,access:{has:e=>"selectMarker"in e,get:e=>e.selectMarker},metadata:t},null,a),i(this,null,ke,{kind:"getter",name:"selectedMarkers",static:!1,private:!1,access:{has:e=>"selectedMarkers"in e,get:e=>e.selectedMarkers},metadata:t},null,a),i(this,null,be,{kind:"getter",name:"layers",static:!1,private:!1,access:{has:e=>"layers"in e,get:e=>e.layers},metadata:t},null,a),i(this,null,ve,{kind:"method",name:"clickRoute",static:!1,private:!1,access:{has:e=>"clickRoute"in e,get:e=>e.clickRoute},metadata:t},null,a),i(this,null,xe,{kind:"method",name:"selectCurrentPosition",static:!1,private:!1,access:{has:e=>"selectCurrentPosition"in e,get:e=>e.selectCurrentPosition},metadata:t},null,a),i(this,null,Re,{kind:"method",name:"findLocation",static:!1,private:!1,access:{has:e=>"findLocation"in e,get:e=>e.findLocation},metadata:t},null,a),i(this,null,Ee,{kind:"getter",name:"routeInfo",static:!1,private:!1,access:{has:e=>"routeInfo"in e,get:e=>e.routeInfo},metadata:t},null,a),i(this,null,ze,{kind:"method",name:"updateRoute",static:!1,private:!1,access:{has:e=>"updateRoute"in e,get:e=>e.updateRoute},metadata:t},null,a),i(this,null,Pe,{kind:"method",name:"updateRouteDistance",static:!1,private:!1,access:{has:e=>"updateRouteDistance"in e,get:e=>e.updateRouteDistance},metadata:t},null,a),i(this,null,De,{kind:"method",name:"updateRoutePoints",static:!1,private:!1,access:{has:e=>"updateRoutePoints"in e,get:e=>e.updateRoutePoints},metadata:t},null,a),i(this,null,Ie,{kind:"method",name:"checkRoutes",static:!1,private:!1,access:{has:e=>"checkRoutes"in e,get:e=>e.checkRoutes},metadata:t},null,a),i(this,null,Ce,{kind:"method",name:"setGpsTrackingEnabled",static:!1,private:!1,access:{has:e=>"setGpsTrackingEnabled"in e,get:e=>e.setGpsTrackingEnabled},metadata:t},null,a),i(this,null,Be,{kind:"getter",name:"gpsEnabled",static:!1,private:!1,access:{has:e=>"gpsEnabled"in e,get:e=>e.gpsEnabled},metadata:t},null,a),i(this,null,Fe,{kind:"method",name:"setOnlyAccessible",static:!1,private:!1,access:{has:e=>"setOnlyAccessible"in e,get:e=>e.setOnlyAccessible},metadata:t},null,a),i(null,null,o,{kind:"field",name:"routeLines",static:!1,private:!1,access:{has:e=>"routeLines"in e,get:e=>e.routeLines,set:(e,s)=>{e.routeLines=s}},metadata:t},l,f),i(null,null,h,{kind:"field",name:"routeDistance",static:!1,private:!1,access:{has:e=>"routeDistance"in e,get:e=>e.routeDistance,set:(e,s)=>{e.routeDistance=s}},metadata:t},S,L),i(null,null,D,{kind:"field",name:"currentPosition",static:!1,private:!1,access:{has:e=>"currentPosition"in e,get:e=>e.currentPosition,set:(e,s)=>{e.currentPosition=s}},metadata:t},I,w),i(null,null,A,{kind:"field",name:"requestCompass",static:!1,private:!1,access:{has:e=>"requestCompass"in e,get:e=>e.requestCompass,set:(e,s)=>{e.requestCompass=s}},metadata:t},M,C),i(null,null,B,{kind:"field",name:"iconType",static:!1,private:!1,access:{has:e=>"iconType"in e,get:e=>e.iconType,set:(e,s)=>{e.iconType=s}},metadata:t},F,G),i(null,null,O,{kind:"field",name:"tempToBooth",static:!1,private:!1,access:{has:e=>"tempToBooth"in e,get:e=>e.tempToBooth,set:(e,s)=>{e.tempToBooth=s}},metadata:t},U,N),i(null,null,Z,{kind:"field",name:"defaultFrom",static:!1,private:!1,access:{has:e=>"defaultFrom"in e,get:e=>e.defaultFrom,set:(e,s)=>{e.defaultFrom=s}},metadata:t},q,$),i(null,null,V,{kind:"field",name:"focusEnabled",static:!1,private:!1,access:{has:e=>"focusEnabled"in e,get:e=>e.focusEnabled,set:(e,s)=>{e.focusEnabled=s}},metadata:t},j,W),i(null,null,Y,{kind:"field",name:"prevZ",static:!1,private:!1,access:{has:e=>"prevZ"in e,get:e=>e.prevZ,set:(e,s)=>{e.prevZ=s}},metadata:t},K,X),i(null,null,H,{kind:"field",name:"markersData",static:!1,private:!1,access:{has:e=>"markersData"in e,get:e=>e.markersData,set:(e,s)=>{e.markersData=s}},metadata:t},J,Q),i(null,null,ee,{kind:"field",name:"prevMarkers",static:!1,private:!1,access:{has:e=>"prevMarkers"in e,get:e=>e.prevMarkers,set:(e,s)=>{e.prevMarkers=s}},metadata:t},te,se),i(null,null,ae,{kind:"field",name:"showAccessible",static:!1,private:!1,access:{has:e=>"showAccessible"in e,get:e=>e.showAccessible,set:(e,s)=>{e.showAccessible=s}},metadata:t},ie,re),i(null,null,ne,{kind:"field",name:"onlyAccessible",static:!1,private:!1,access:{has:e=>"onlyAccessible"in e,get:e=>e.onlyAccessible,set:(e,s)=>{e.onlyAccessible=s}},metadata:t},oe,le),i(null,null,ce,{kind:"field",name:"currentRouteLayer",static:!1,private:!1,access:{has:e=>"currentRouteLayer"in e,get:e=>e.currentRouteLayer,set:(e,s)=>{e.currentRouteLayer=s}},metadata:t},ue,de),i(null,null,Se,{kind:"field",name:"routeUnits",static:!1,private:!1,access:{has:e=>"routeUnits"in e,get:e=>e.routeUnits,set:(e,s)=>{e.routeUnits=s}},metadata:t},Le,Te),i(null,null,we,{kind:"field",name:"isGpsTrackingEnabled",static:!1,private:!1,access:{has:e=>"isGpsTrackingEnabled"in e,get:e=>e.isGpsTrackingEnabled,set:(e,s)=>{e.isGpsTrackingEnabled=s}},metadata:t},Ae,Me),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=r(this,a);cpTimeout;routeLines=r(this,l,[]);routeDistance=(r(this,f),r(this,S,null));currentPosition=(r(this,L),r(this,I,null));requestCompass=(r(this,w),r(this,M,!1));iconType=(r(this,C),r(this,F,0));tempToBooth=(r(this,G),r(this,U,null));defaultFrom=(r(this,N),r(this,q,null));focusEnabled=(r(this,$),r(this,j,!0));prevZ=(r(this,W),r(this,K,null));markersData=(r(this,X),r(this,J,{icons:[],markers:[]}));prevMarkers=(r(this,Q),r(this,te,[]));showAccessible=(r(this,se),r(this,ie,!!qe.getLines().find(t=>t.unaccessible)));onlyAccessible=(r(this,re),r(this,oe,!1));currentRouteLayer=(r(this,le),r(this,ue,null));constructor(t){r(this,Me),this.rootStore=t,this.focusEnabled=!window.location.search}get canFindLocation(){return!!this.defaultFrom||!!this.currentPosition}selectRoute(t,e=!0){e&&(y.list={type:"search",text:"",focused:!1}),!t?.from&&t?.to&&this.currentPosition&&(t.from=this.nearestBooth),t?.from&&t?.to&&t.from===t.to&&(t=null);let s=[];t?.from&&t?.to&&window.setTimeout(()=>{this.rootStore.showMap()},navigator.userAgent.toLowerCase().indexOf("android")>-1?400:50),t?.from?.visible&&s.push(t.from),t?.to?.visible&&(this.tempToBooth=null,s.push(t.to)),!t&&n.fp.onDirection&&n.fp.onDirection(null),setTimeout(()=>{this.rootStore.moveToList(s),y.details=t,t&&(!t.from||!t.to)&&n.showOverlay(),t?.to&&t?.from?.layer&&this.rootStore.layerStore.updateVisibility(t.from.layer,!0),!this.currentRouteLayer&&t?.from?.layer&&(this.currentRouteLayer=t?.from?.layer),e&&t?.from&&t?.to&&Je(He.ClickDirections,`${t?.from?"From "+t.from.name:""} ${t?.to?"To "+t.to.name:""}`)},200)}setStartPoint(t){const e=y.selectedRoute;if(e?.to&&!e?.from&&t){const s=new Route(t,e.to,e.waypoints);this.selectRoute(s)}}get pathLayers(){return n.routeStore.routeLines?.map(t=>t.p0.layer)?.filter((t,e,s)=>s.indexOf(t)===e).reverse().map((t,e)=>({id:e+1,layer:n.layerStore.findLayer(t)}))}get nearestBooth(){return this.getNearestBooth(this.currentPosition)}getNearestBooth(t){if(!t)return null;let e=this.rootStore.layerStore.findLayer(t.z);const s=t.lat&&t.lng?Ue(t,E.properties.config):t;return this.rootStore.boothStore.booths.filter(c=>T.mode===st.Default||!e?c.visible&&c.rect:c.rect&&(typeof t.z!="number"&&!t.z&&c.visible||e.name===c.layer?.name)).sort((c,u)=>Oe(s,{x:c.rect.cx,y:c.rect.cy})-Oe(s,{x:u.rect.cx,y:u.rect.cy}))[0]||null}setMarkers(t){this.markersData.markers=(t?.markers??[]).map(lt),this.markersData.icons=t?.icons??[]}selectMarker(t,e){const s=this.markersData.markers.find(u=>u.id===t);this.markersData.markers.forEach(u=>u.active=!1),s&&(s.active=!0);let c=n.layerStore.findLayer(s?.z);if(e&&s){const u=n.rendererService.renderer;return c&&!c?.visible&&T.updateVisibility(c,!0),u?u.controls.panTo(s.x,s.y):(We.warn("Renderer is not initialized. Cannot pan to marker."),Promise.resolve())}return Promise.resolve()}get selectedMarkers(){return this.markersData.markers.filter(t=>t.active)}get layers(){var t=[];return n.routeStore.routeLines?.map(e=>e.p0.layer).reverse().forEach(e=>{t.indexOf(e)===-1&&t.push(e)}),t.map(e=>n.layerStore.layers.find(s=>s.name===e))}clickRoute(t,e){window.__resett&&window.__resett(),this.rootStore.uiState.menu=null,y.list.type==="route-planner"&&(y.list={type:"search",text:"",focused:!1}),this.selectRoute(new Route(this.defaultFrom||t,e))}selectCurrentPosition(t,e=!0,s){clearTimeout(this.cpTimeout),t&&(t.x=b(t.x),t.y=b(t.y),t.lat=b(t.lat),t.lng=b(t.lng),it()||(t.z=null));const c=e&&this.rootStore.uiState.details&&!(this.rootStore.uiState.details instanceof Route),u=e&&!c&&(this.focusEnabled||this.prevZ!=t?.z);this.focusEnabled&&(this.focusEnabled=!1),this.prevZ=t?.z?.toString(),this.iconType=s?1:0;const _=t?ct(t):null;if(!_){this.currentPosition=null;return}const p=n.layerStore.findLayer(t.z),g=new CurrentPosition(_.x,_.y,p?.name||this.currentRouteLayer?.name,Qe(_),t.lat,t.lng),R=y.selectedRoute;let Ge=!this.routeLines?.length;if(p&&this.routeLines?.length&&(Ge=!!this.routeLines.find(v=>v.p0.layer===p.name||v.p1.layer===p.name)),u&&Ge){const v=n.rendererService.renderer;if(p&&!p?.visible&&T.updateVisibility(p,!0),!v){We.warn("Renderer is not initialized. Cannot pan to current position.");return}v.controls.panTo(g.x,g.y)}const Ye=(P.flags?.enableExperimentalRerouting||E?.properties?.config?.enableExperimentalRerouting)&&rt(g,this.routeLines)&&!!nt(g,Xe.booths,[R?.to]);if(e&&R&&Ye){const v=n.routeStore.getNearestBooth(g);n.routeStore.selectRoute(new Route(v,R?.to),!1)}this.currentPosition=g,this.gpsEnabled||(this.cpTimeout=setTimeout(()=>{this.currentPosition&&this.selectCurrentPosition(null,!1)},30*1e3))}findLocation(){if(this.canFindLocation){if(n.maplibreStore.showMaplibre){y.moveToLocation=!0;return}if(n.routeStore.currentPosition){const t=n.routeStore.currentPosition,e=z.fromCxcywh(t.x,t.y,100,100);let s;if(e.intersects(k))s=e;else{const _=Math.max(k.x1,Math.min(t.x,k.x2)),p=Math.max(k.y1,Math.min(t.y,k.y2)),g=Math.min(k.w,k.h)*.3,R=z.fromCxcywh(_,p,g,g).getIntersection(k);s=z.fromMultiple([e,R])}localStorage.getItem(at)==="false"&&(n.routeStore.requestCompass=!0),y.moveToRect=s;const u=n.layerStore.findLayer(n.routeStore.currentPosition?.z);u&&T.updateVisibility(u,!0)}else n.selectBooth(n.routeStore.defaultFrom)}}routeUnits=(r(this,de),r(this,Le,je));get routeInfo(){const t=this.routeDistance,e=this.routeUnits;return t?{distance:`${t}${e}`,units:e,time:Ve(t,$e(e))}:null}updateRoute(t,e){!t?.length&&!this.routeLines.length||(this.routeLines=t,this.updateRoutePoints())}updateRouteDistance(t){if(t==null)return;const e=et(),s=(e.getAttribute("units")||je).toLowerCase?.().trim(),c=e.getAttribute("fp-ver")?.startsWith("5")??!1;this.routeDistance=Math.round(t/(c?1:10)),this.routeUnits=s,this.updateRoutePoints()}updateRoutePoints(){const t=y.selectedRoute,e=this.routeDistance,s=this.routeUnits;n.fp.onDirection&&setTimeout(()=>{n.fp.onDirection({from:t?.from?{id:t.from.id,name:t.from.name,externalId:t.from.externalId,layer:{name:t.from?.layer?.name,description:t.from?.layer?.description}}:null,to:t?.to?{id:t.to.id,name:t.to.name,externalId:t.to.externalId,layer:{name:t.to.layer?.name,description:t.to.layer?.description}}:null,lines:this.routeLines,distance:`${e}${s}`,units:s,time:Ve(e,$e(s))})},200)}checkRoutes(){const t=tt(qe),e=n.boothStore.booths;console.info(`Route check started ${e.length}.... `);for(let s=0;s<e.length;s++){const c=e[s];for(let u=s+1;u<e.length;u++){const _=e[u];t.buildRoute(Ze(c),Ze(_)).lines.length||console.warn(`No route found from ${c.name} to ${_.name}`)}}console.info("Route check done....")}isGpsTrackingEnabled=(r(this,Te),r(this,Ae,!0));setGpsTrackingEnabled(t){this.isGpsTrackingEnabled=t}get gpsEnabled(){return P.autoTrackingGps&&this.isGpsTrackingEnabled&&!P.enableIPS}setOnlyAccessible(t){this.onlyAccessible=t}}})();export default ot;function lt(a){return{...a,x:b(a.x),y:b(a.y),lat:b(a.lat),lng:b(a.lng)}}function ct(a){let o=null,l=null;return E&&(o=E.properties.config),o&&a.x>=o.p0.x&&a.x<=o.p2.x&&a.y>=o.p0.y&&a.y<=o.p2.y?l={...a}:o&&Ne(a.lat)&&Ne(a.lng)?l=Ue(a,o):o||(l=a),l||null}export function findBooth(a){return n.boothStore.findBooth(a)||n.exhibitorStore.findExhibitor(a)?.booths[0]}export function findEntityByExternalId(a){const o=n.boothStore.boothByExternalId.get(a);if(o)return{type:"booth",entity:o};const l=n.exhibitorStore.exhibitorByExternalId.get(a);if(l)return{type:"exhibitor",entity:l}}export function separateExternalIds(a){const o=[],l=[];for(const f of a){const h=findEntityByExternalId(f);h&&(h.type==="booth"?o.push(f):l.push(f))}return{boothExternalIds:o,exhibitorExternalIds:l}}export function extractRoute(a,o,l){return new Route(findBooth(a)??n.routeStore.defaultFrom??null,findBooth(o),l?.map(f=>findBooth(f)))}export class Route{from;to;waypoints;constructor(o,l,f){this.from=o,this.to=l,this.waypoints=f,this.waypoints=f?.filter(h=>h&&h.id!==o?.id&&h.id!==l?.id)}}export class CurrentPosition extends Ke{x;y;z;angle;lat;lng;constructor(o,l,f,h,S,L){super(o,l),this.x=o,this.y=l,this.z=f,this.angle=h,this.lat=S,this.lng=L}}
1
+ import{__esDecorate as i,__runInitializers as n}from"tslib";import{action as h,computed as x,observable as f}from"mobx";import{Point as We,lineLength as Ce}from"simple-geometry";import u,{layersStore as S}from".";import{fpGeo as E}from"../data/fpGeo";import P from"../core/Rect";import{GaEventActions as Xe,sendEventToGa as Ye}from"../tools/gtag";import{convertGpsToLocal as Ge,isValidPointCoords as Oe,calculateRelativeBearing as He}from"../utils/gps";import{getLayerSvg as Je,svgArea as k}from"../data/svg";import{createWayfindingEngine as Qe}from"../wayfinding/core";import{CURRENT_LOCATION_NAME as et,CURRENT_POSITION_POINT_ID as tt,KIOSK_ANCHOR_POINT_ID as st,boothToEndpoint as Fe,graphDataSource as Ne,toArbitraryPoint as Be}from"../wayfinding/adapters";import{getName as at}from"../components/Kiosk/SetKiosk";import{BoothBase as v}from"./BoothStore";import{LayersMode as it}from"./LayerStore";import{uiState as _}from"./index";import{calcSpeed as Ue}from"../utils/calcSpeed";import{calcTravelTime as Ze}from"../utils/calcTravelTime";import{DEFAULT_UNITS as qe,ORIENTATION_GRANTED_KEY as rt}from"../constants";import{areLayersEnabled as nt}from"../utils/areLayersEnabled";import $e from"../data";import Ve from"../tools/logger";const b=s=>typeof s=="string"?Number(s.replace(",",".")):s;let ot=(()=>{let s=[],r,l=[],p=[],y,R=[],g=[],z,D=[],I=[],A,w=[],M=[],C,G=[],O=[],F,N=[],B=[],U,Z=[],q=[],$,V=[],K=[],j,W=[],X=[],Y,H=[],J=[],Q,ee=[],te=[],se,ae=[],ie=[],re,ne=[],oe=[],le,ce,ue,de,fe,me,he,pe,_e,ye,ge,ke,be,ve=[],Re=[],xe,Le,Te,Se,Ee,Pe,ze=[],De=[],Ie,Ae,we;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;r=[f],y=[f],z=[f],A=[f],C=[f],F=[f],U=[f],$=[f],j=[f],Y=[f],Q=[f],se=[f],re=[f],le=[x],ce=[h],ue=[h],de=[h],fe=[x({keepAlive:!0})],me=[h],he=[h],pe=[x({keepAlive:!0})],_e=[x({keepAlive:!0})],ye=[h],ge=[h],ke=[h],be=[f],xe=[x],Le=[h],Te=[h],Se=[h],Ee=[h],Pe=[f],Ie=[h],Ae=[x({keepAlive:!0})],we=[h],i(this,null,le,{kind:"getter",name:"canFindLocation",static:!1,private:!1,access:{has:e=>"canFindLocation"in e,get:e=>e.canFindLocation},metadata:t},null,s),i(this,null,ce,{kind:"method",name:"selectRoute",static:!1,private:!1,access:{has:e=>"selectRoute"in e,get:e=>e.selectRoute},metadata:t},null,s),i(this,null,ue,{kind:"method",name:"rebuildRouteFromPosition",static:!1,private:!1,access:{has:e=>"rebuildRouteFromPosition"in e,get:e=>e.rebuildRouteFromPosition},metadata:t},null,s),i(this,null,de,{kind:"method",name:"setStartPoint",static:!1,private:!1,access:{has:e=>"setStartPoint"in e,get:e=>e.setStartPoint},metadata:t},null,s),i(this,null,fe,{kind:"getter",name:"pathLayers",static:!1,private:!1,access:{has:e=>"pathLayers"in e,get:e=>e.pathLayers},metadata:t},null,s),i(this,null,me,{kind:"method",name:"setMarkers",static:!1,private:!1,access:{has:e=>"setMarkers"in e,get:e=>e.setMarkers},metadata:t},null,s),i(this,null,he,{kind:"method",name:"selectMarker",static:!1,private:!1,access:{has:e=>"selectMarker"in e,get:e=>e.selectMarker},metadata:t},null,s),i(this,null,pe,{kind:"getter",name:"selectedMarkers",static:!1,private:!1,access:{has:e=>"selectedMarkers"in e,get:e=>e.selectedMarkers},metadata:t},null,s),i(this,null,_e,{kind:"getter",name:"layers",static:!1,private:!1,access:{has:e=>"layers"in e,get:e=>e.layers},metadata:t},null,s),i(this,null,ye,{kind:"method",name:"clickRoute",static:!1,private:!1,access:{has:e=>"clickRoute"in e,get:e=>e.clickRoute},metadata:t},null,s),i(this,null,ge,{kind:"method",name:"selectCurrentPosition",static:!1,private:!1,access:{has:e=>"selectCurrentPosition"in e,get:e=>e.selectCurrentPosition},metadata:t},null,s),i(this,null,ke,{kind:"method",name:"findLocation",static:!1,private:!1,access:{has:e=>"findLocation"in e,get:e=>e.findLocation},metadata:t},null,s),i(this,null,xe,{kind:"getter",name:"routeInfo",static:!1,private:!1,access:{has:e=>"routeInfo"in e,get:e=>e.routeInfo},metadata:t},null,s),i(this,null,Le,{kind:"method",name:"updateRoute",static:!1,private:!1,access:{has:e=>"updateRoute"in e,get:e=>e.updateRoute},metadata:t},null,s),i(this,null,Te,{kind:"method",name:"updateRouteDistance",static:!1,private:!1,access:{has:e=>"updateRouteDistance"in e,get:e=>e.updateRouteDistance},metadata:t},null,s),i(this,null,Se,{kind:"method",name:"updateRoutePoints",static:!1,private:!1,access:{has:e=>"updateRoutePoints"in e,get:e=>e.updateRoutePoints},metadata:t},null,s),i(this,null,Ee,{kind:"method",name:"checkRoutes",static:!1,private:!1,access:{has:e=>"checkRoutes"in e,get:e=>e.checkRoutes},metadata:t},null,s),i(this,null,Ie,{kind:"method",name:"setGpsTrackingEnabled",static:!1,private:!1,access:{has:e=>"setGpsTrackingEnabled"in e,get:e=>e.setGpsTrackingEnabled},metadata:t},null,s),i(this,null,Ae,{kind:"getter",name:"gpsEnabled",static:!1,private:!1,access:{has:e=>"gpsEnabled"in e,get:e=>e.gpsEnabled},metadata:t},null,s),i(this,null,we,{kind:"method",name:"setOnlyAccessible",static:!1,private:!1,access:{has:e=>"setOnlyAccessible"in e,get:e=>e.setOnlyAccessible},metadata:t},null,s),i(null,null,r,{kind:"field",name:"routeLines",static:!1,private:!1,access:{has:e=>"routeLines"in e,get:e=>e.routeLines,set:(e,a)=>{e.routeLines=a}},metadata:t},l,p),i(null,null,y,{kind:"field",name:"routeDistance",static:!1,private:!1,access:{has:e=>"routeDistance"in e,get:e=>e.routeDistance,set:(e,a)=>{e.routeDistance=a}},metadata:t},R,g),i(null,null,z,{kind:"field",name:"currentPosition",static:!1,private:!1,access:{has:e=>"currentPosition"in e,get:e=>e.currentPosition,set:(e,a)=>{e.currentPosition=a}},metadata:t},D,I),i(null,null,A,{kind:"field",name:"requestCompass",static:!1,private:!1,access:{has:e=>"requestCompass"in e,get:e=>e.requestCompass,set:(e,a)=>{e.requestCompass=a}},metadata:t},w,M),i(null,null,C,{kind:"field",name:"iconType",static:!1,private:!1,access:{has:e=>"iconType"in e,get:e=>e.iconType,set:(e,a)=>{e.iconType=a}},metadata:t},G,O),i(null,null,F,{kind:"field",name:"tempToBooth",static:!1,private:!1,access:{has:e=>"tempToBooth"in e,get:e=>e.tempToBooth,set:(e,a)=>{e.tempToBooth=a}},metadata:t},N,B),i(null,null,U,{kind:"field",name:"focusEnabled",static:!1,private:!1,access:{has:e=>"focusEnabled"in e,get:e=>e.focusEnabled,set:(e,a)=>{e.focusEnabled=a}},metadata:t},Z,q),i(null,null,$,{kind:"field",name:"prevZ",static:!1,private:!1,access:{has:e=>"prevZ"in e,get:e=>e.prevZ,set:(e,a)=>{e.prevZ=a}},metadata:t},V,K),i(null,null,j,{kind:"field",name:"markersData",static:!1,private:!1,access:{has:e=>"markersData"in e,get:e=>e.markersData,set:(e,a)=>{e.markersData=a}},metadata:t},W,X),i(null,null,Y,{kind:"field",name:"prevMarkers",static:!1,private:!1,access:{has:e=>"prevMarkers"in e,get:e=>e.prevMarkers,set:(e,a)=>{e.prevMarkers=a}},metadata:t},H,J),i(null,null,Q,{kind:"field",name:"showAccessible",static:!1,private:!1,access:{has:e=>"showAccessible"in e,get:e=>e.showAccessible,set:(e,a)=>{e.showAccessible=a}},metadata:t},ee,te),i(null,null,se,{kind:"field",name:"onlyAccessible",static:!1,private:!1,access:{has:e=>"onlyAccessible"in e,get:e=>e.onlyAccessible,set:(e,a)=>{e.onlyAccessible=a}},metadata:t},ae,ie),i(null,null,re,{kind:"field",name:"currentRouteLayer",static:!1,private:!1,access:{has:e=>"currentRouteLayer"in e,get:e=>e.currentRouteLayer,set:(e,a)=>{e.currentRouteLayer=a}},metadata:t},ne,oe),i(null,null,be,{kind:"field",name:"routeUnits",static:!1,private:!1,access:{has:e=>"routeUnits"in e,get:e=>e.routeUnits,set:(e,a)=>{e.routeUnits=a}},metadata:t},ve,Re),i(null,null,Pe,{kind:"field",name:"isGpsTrackingEnabled",static:!1,private:!1,access:{has:e=>"isGpsTrackingEnabled"in e,get:e=>e.isGpsTrackingEnabled,set:(e,a)=>{e.isGpsTrackingEnabled=a}},metadata:t},ze,De),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=n(this,s);cpTimeout;routeLines=n(this,l,[]);routeDistance=(n(this,p),n(this,R,null));currentPosition=(n(this,g),n(this,D,null));requestCompass=(n(this,I),n(this,w,!1));iconType=(n(this,M),n(this,G,0));tempToBooth=(n(this,O),n(this,N,null));focusEnabled=(n(this,B),n(this,Z,!0));prevZ=(n(this,q),n(this,V,null));markersData=(n(this,K),n(this,W,{icons:[],markers:[]}));prevMarkers=(n(this,X),n(this,H,[]));showAccessible=(n(this,J),n(this,ee,!!Ne.getLines().find(t=>t.unaccessible)));onlyAccessible=(n(this,te),n(this,ae,!1));currentRouteLayer=(n(this,ie),n(this,ne,null));constructor(t){n(this,De),this.rootStore=t,this.focusEnabled=!window.location.search}get canFindLocation(){return!!_.kioskData||!!this.currentPosition}selectRoute(t,e=!0,a=!1){if(e&&(_.list={type:"search",text:"",focused:!1}),t&&!t.from&&t.to){const d=this.resolveFallbackFrom();d&&(t=new Route(d,t.to,t.waypoints))}t?.from&&t?.to&&t.from===t.to&&(t=null);let o=[];t?.from&&t?.to&&window.setTimeout(()=>{this.rootStore.showMap()},navigator.userAgent.toLowerCase().indexOf("android")>-1?400:50),t?.from instanceof v&&t.from.visible&&o.push(t.from),t?.to instanceof v&&t.to.visible&&(this.tempToBooth=null,o.push(t.to)),!t&&u.fp.onDirection&&u.fp.onDirection(null);const c=()=>{if(this.rootStore.moveToList(o),_.details=t,t&&(!t.from||!t.to)&&u.showOverlay(),t?.to&&t?.from){const d=lt(t.from);d&&this.rootStore.layerStore.updateVisibility(d,!0)}if(!this.currentRouteLayer){const d=Ke(this.rootStore.layerStore,t?.from),m=Ke(this.rootStore.layerStore,t?.to);d?this.currentRouteLayer=d:m&&(this.currentRouteLayer=m)}e&&t?.from&&t?.to&&Ye(Xe.ClickDirections,`${t?.from?"From "+t.from.name:""} ${t?.to?"To "+t.to.name:""}`)};a?c():setTimeout(c,200)}rebuildRouteFromPosition(t){const e=_.selectedRoute;e?.to&&this.selectRoute(new Route(t,e.to,e.waypoints),!1,!0)}resolveFallbackFrom(){if(this.currentPosition)return Be(this.currentPosition,et,tt);const t=_.kioskData;return t?Be({x:t.x,y:t.y,z:t.z},at(),st):null}setStartPoint(t){const e=_.selectedRoute;if(e?.to&&!e?.from&&t){const a=new Route(t,e.to,e.waypoints);this.selectRoute(a)}}get pathLayers(){return u.routeStore.routeLines?.map(t=>t.p0.layer)?.filter((t,e,a)=>a.indexOf(t)===e).reverse().map((t,e)=>({id:e+1,layer:u.layerStore.findLayer(t)}))}getNearestBooth(t){if(!t)return null;let e=this.rootStore.layerStore.findLayer(t.z);const a=t.lat&&t.lng?Ge(t,E.properties.config):t;return this.rootStore.boothStore.booths.filter(o=>S.mode===it.Default||!e?o.visible&&o.rect:o.rect&&(typeof t.z!="number"&&!t.z&&o.visible||e.name===o.layer?.name)).sort((o,c)=>Ce(a,{x:o.rect.cx,y:o.rect.cy})-Ce(a,{x:c.rect.cx,y:c.rect.cy}))[0]||null}setMarkers(t){this.markersData.markers=(t?.markers??[]).map(ct),this.markersData.icons=t?.icons??[]}selectMarker(t,e){const a=this.markersData.markers.find(c=>c.id===t);this.markersData.markers.forEach(c=>c.active=!1),a&&(a.active=!0);let o=u.layerStore.findLayer(a?.z);if(e&&a){const c=u.rendererService.renderer;return o&&!o?.visible&&S.updateVisibility(o,!0),c?c.controls.panTo(a.x,a.y):(Ve.warn("Renderer is not initialized. Cannot pan to marker."),Promise.resolve())}return Promise.resolve()}get selectedMarkers(){return this.markersData.markers.filter(t=>t.active)}get layers(){var t=[];return u.routeStore.routeLines?.map(e=>e.p0.layer).reverse().forEach(e=>{t.indexOf(e)===-1&&t.push(e)}),t.map(e=>u.layerStore.layers.find(a=>a.name===e))}clickRoute(t,e){window.__resett&&window.__resett(),this.rootStore.uiState.menu=null,_.list.type==="route-planner"&&(_.list={type:"search",text:"",focused:!1}),this.selectRoute(new Route(t,e))}selectCurrentPosition(t,e=!0,a){clearTimeout(this.cpTimeout),t&&(t.x=b(t.x),t.y=b(t.y),t.lat=b(t.lat),t.lng=b(t.lng),nt()||(t.z=null));const o=e&&this.rootStore.uiState.details&&!(this.rootStore.uiState.details instanceof Route),c=e&&!o&&(this.focusEnabled||this.prevZ!=t?.z);this.focusEnabled&&(this.focusEnabled=!1),this.prevZ=t?.z?.toString(),this.iconType=a?1:0;const d=t?ut(t):null;if(!d){this.currentPosition=null;return}const m=u.layerStore.findLayer(t.z),L=new CurrentPosition(d.x,d.y,m?.name||this.currentRouteLayer?.name,He(d),t.lat,t.lng);let Me=!this.routeLines?.length;if(m&&this.routeLines?.length&&(Me=!!this.routeLines.find(T=>T.p0.layer===m.name||T.p1.layer===m.name)),c&&Me){const T=u.rendererService.renderer;if(m&&!m?.visible&&S.updateVisibility(m,!0),!T){Ve.warn("Renderer is not initialized. Cannot pan to current position.");return}T.controls.panTo(L.x,L.y)}this.currentPosition=L,this.gpsEnabled||(this.cpTimeout=setTimeout(()=>{this.currentPosition&&this.selectCurrentPosition(null,!1)},30*1e3))}findLocation(){if(!this.canFindLocation)return;if(u.maplibreStore.showMaplibre){_.moveToLocation=!0;return}const t=this.currentPosition??_.kioskData;if(!t)return;this.currentPosition&&localStorage.getItem(rt)==="false"&&(u.routeStore.requestCompass=!0);const e=P.fromCxcywh(t.x,t.y,100,100);let a;if(e.intersects(k))a=e;else{const c=Math.max(k.x1,Math.min(t.x,k.x2)),d=Math.max(k.y1,Math.min(t.y,k.y2)),m=Math.min(k.w,k.h)*.3,L=P.fromCxcywh(c,d,m,m).getIntersection(k);a=P.fromMultiple([e,L])}_.moveToRect=a;const o=u.layerStore.findLayer(t.z);o&&S.updateVisibility(o,!0)}routeUnits=(n(this,oe),n(this,ve,qe));get routeInfo(){const t=this.routeDistance,e=this.routeUnits;return t?{distance:`${t}${e}`,units:e,time:Ze(t,Ue(e))}:null}updateRoute(t,e){!t?.length&&!this.routeLines.length||(this.routeLines=t,this.updateRoutePoints())}updateRouteDistance(t){if(t==null)return;const e=Je(),a=(e.getAttribute("units")||qe).toLowerCase?.().trim(),o=e.getAttribute("fp-ver")?.startsWith("5")??!1;this.routeDistance=Math.round(t/(o?1:10)),this.routeUnits=a,this.updateRoutePoints()}updateRoutePoints(){const t=_.selectedRoute,e=this.routeDistance,a=this.routeUnits;u.fp.onDirection&&setTimeout(()=>{u.fp.onDirection({from:je(t?.from??null),to:je(t?.to??null),lines:this.routeLines,distance:`${e}${a}`,units:a,time:Ze(e,Ue(a))})},200)}checkRoutes(){const t=Qe(Ne),e=u.boothStore.booths;console.info(`Route check started ${e.length}.... `);for(let a=0;a<e.length;a++){const o=e[a];for(let c=a+1;c<e.length;c++){const d=e[c];t.buildRoute(Fe(o),Fe(d)).lines.length||console.warn(`No route found from ${o.name} to ${d.name}`)}}console.info("Route check done....")}isGpsTrackingEnabled=(n(this,Re),n(this,ze,!0));setGpsTrackingEnabled(t){this.isGpsTrackingEnabled=t}get gpsEnabled(){return $e.autoTrackingGps&&this.isGpsTrackingEnabled&&!$e.enableIPS}setOnlyAccessible(t){this.onlyAccessible=t}}})();export default ot;function lt(s){if(s)return s instanceof v?s.layer?.name:s.layer}function Ke(s,r){return r?r instanceof v?r.layer??null:s.findLayer(r.layer):null}function ct(s){return{...s,x:b(s.x),y:b(s.y),lat:b(s.lat),lng:b(s.lng)}}function ut(s){let r=null,l=null;return E&&(r=E.properties.config),r&&s.x>=r.p0.x&&s.x<=r.p2.x&&s.y>=r.p0.y&&s.y<=r.p2.y?l={...s}:r&&Oe(s.lat)&&Oe(s.lng)?l=Ge(s,r):r||(l=s),l||null}export function findBooth(s){return u.boothStore.findBooth(s)||u.exhibitorStore.findExhibitor(s)?.booths[0]}export function findEntityByExternalId(s){const r=u.boothStore.boothByExternalId.get(s);if(r)return{type:"booth",entity:r};const l=u.exhibitorStore.exhibitorByExternalId.get(s);if(l)return{type:"exhibitor",entity:l}}export function separateExternalIds(s){const r=[],l=[];for(const p of s){const y=findEntityByExternalId(p);y&&(y.type==="booth"?r.push(p):l.push(p))}return{boothExternalIds:r,exhibitorExternalIds:l}}export function extractRoute(s,r,l){return new Route(findBooth(s)??null,findBooth(r)??null,l?.map(p=>findBooth(p)))}export class Route{from;to;waypoints;constructor(r,l,p){this.from=r,this.to=l,this.waypoints=p;const y=r instanceof v?r.id:void 0,R=l instanceof v?l.id:void 0;this.waypoints=p?.filter(g=>g&&g.id!==y&&g.id!==R)}}function je(s){return s?s instanceof v?{id:s.id,name:s.name,externalId:s.externalId,layer:{name:s.layer?.name,description:s.layer?.description}}:{id:Number.MAX_SAFE_INTEGER,name:s.name,externalId:void 0,layer:{name:s.layer,description:void 0}}:null}export class CurrentPosition extends We{x;y;z;angle;lat;lng;constructor(r,l,p,y,R,g){super(r,l),this.x=r,this.y=l,this.z=p,this.angle=y,this.lat=R,this.lng=g}}
@@ -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 | Route | Category | EventItem | SpeakerItem;
169
+ get shouldShiftMapRect(): false | Booth | Exhibitor | Category | EventItem | SpeakerItem | Route;
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 m,computed as c,observable as o}from"mobx";import{uiState as M}from".";import{MAP_SETTINGS_KEY as ql,MOBILE_BREAKPOINT as er,PREVIEW_MODE_STORAGE_KEY as tr,UI_SCALE_STORAGE_KEY as Q,VIEWER_MODE_STORAGE_KEY as sr,VISIBILITY_STORAGE_KEY as Gl,LANGUAGE_TYPE as A}from"../constants";import ir from"../tools/logger";import ar from"../core/Rect";import z from"../data";import{svgArea as lr}from"../data/svg";import{hasUserConsent as rr}from"../tools/gtag";import V from"../tools/settings";import{remsToPixels as N}from"../utils";import Ql from"../utils/browser";import{getLocale as or,getLocales as nr,t as y}from"../utils/i18n";import{isLocalStorageAvailable as C}from"../utils/localStorage";import{getResponsiveClass as cr}from"../utils/responsiveClass";import{BoothBase as T,RegularBooth as E,SpecialBooth as Y}from"./BoothStore";import{Exhibitor as b}from"./ExhibitorStore";import{Route as R,findEntityByExternalId as dr}from"./RouteStore";import{EventItem as F}from"./EventStore";import{SpeakerItem as $}from"./SpeakerStore";import{sanitizeStr as Yl}from"../utils/sanitizeText";import{setKioskUrlParams as hr}from"../components/Kiosk/kioskUrlParam";import{readFreeBannerDismissed as ur}from"../tools/freeBanner";import{stripHtml as $l}from"../tools/strip-html";import{hasHtmlTags as jl}from"../tools/has-html-tags";const fr=["dimensions25"];let mr=(()=>{var U,O,H,x,k;let l=[],w,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=[],Fl=[],Ul;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;w=[(U=o).struct.bind(U)],Z=[(O=o).ref.bind(O)],q=[(H=o).ref.bind(H)],se=[(x=o).ref.bind(x)],le=[o],ne=[o],he=[o],me=[o],_e=[o],ye=[o],be=[o],Ce=[o],Me=[o],Re=[o],Le=[o],Fe=[(k=o).struct.bind(k)],Ve=[o],Ge=[o],$e=[o],Ze=[o],qe=[o],st=[o],lt=[o],nt=[o],ht=[o],mt=[o],_t=[o],yt=[o],bt=[o],Ct=[o],Mt=[o],Rt=[o],Lt=[o],Ft=[o],Vt=[o],Gt=[o],$t=[o],Zt=[o],qt=[o],ss=[o],ls=[o],ns=[o],hs=[o],ms=[o],_s=[o],ys=[o],bs=[o],Cs=[o],Ms=[o],Rs=[o],Ls=[o],Fs=[o],Vs=[o],Gs=[o],$s=[o],Zs=[o],qs=[o],si=[o],li=[o],ni=[o],hi=[o],mi=[o],_i=[o],yi=[o],bi=[o],Ci=[m],Bi=[m],Pi=[m],Mi=[m],wi=[m],Ti=[m],Ri=[m],Oi=[m],Di=[m],Li=[m],Ai=[m],Ei=[c],Fi=[c],Ui=[c],Hi=[c({keepAlive:!0})],Vi=[c({keepAlive:!0})],Ni=[c({keepAlive:!0})],Ki=[c({keepAlive:!0})],Gi=[c({keepAlive:!0})],Qi=[c({keepAlive:!0})],Yi=[c({keepAlive:!0})],$i=[c({keepAlive:!0})],ji=[c({keepAlive:!0})],Wi=[c],Zi=[c],Xi=[c],Ji=[c],qi=[c],ea=[c],ta=[c],sa=[c],ia=[c({keepAlive:!0})],aa=[c],la=[c],ra=[c({keepAlive:!0})],oa=[c],na=[c],ca=[c],da=[c],ha=[c],ua=[c],fa=[c],ma=[c],ga=[c],pa=[c],_a=[c],va=[c],Sa=[c],ya=[c],ka=[c({keepAlive:!0})],Ia=[o],za=[m],Ca=[c],Ba=[c],Pa=[c],Ma=[c],wa=[c],Ta=[c],Ra=[c],Oa=[c],Da=[c],La=[c({keepAlive:!0})],Aa=[c({keepAlive:!0})],Ea=[c({keepAlive:!0})],Fa=[c],Ua=[m],Ha=[m],Va=[m],Na=[m],Ka=[m],Ga=[m],Qa=[c({keepAlive:!0})],Ya=[o],Wa=[m],Za=[m],Xa=[c],Ja=[c],qa=[c],el=[c],tl=[c],sl=[c],il=[c],al=[c],ll=[c],rl=[m],ol=[m],nl=[m],cl=[m],dl=[m],hl=[m],ul=[c],fl=[c],ml=[m],gl=[o],vl=[m],Sl=[c],yl=[o],bl=[m],xl=[o],Bl=[m],Pl=[m],Ml=[m],wl=[m],Tl=[m],Rl=[o],Ll=[m],Al=[o],Ul=[m],i(this,null,Ci,{kind:"method",name:"setSelectedCategoryFilters",static:!1,private:!1,access:{has:e=>"setSelectedCategoryFilters"in e,get:e=>e.setSelectedCategoryFilters},metadata:t},null,l),i(this,null,Bi,{kind:"method",name:"resetCategoryFilter",static:!1,private:!1,access:{has:e=>"resetCategoryFilter"in e,get:e=>e.resetCategoryFilter},metadata:t},null,l),i(this,null,Pi,{kind:"method",name:"setSearchClearMode",static:!1,private:!1,access:{has:e=>"setSearchClearMode"in e,get:e=>e.setSearchClearMode},metadata:t},null,l),i(this,null,Mi,{kind:"method",name:"setRouteTitle",static:!1,private:!1,access:{has:e=>"setRouteTitle"in e,get:e=>e.setRouteTitle},metadata:t},null,l),i(this,null,wi,{kind:"method",name:"setRouteDescription",static:!1,private:!1,access:{has:e=>"setRouteDescription"in e,get:e=>e.setRouteDescription},metadata:t},null,l),i(this,null,Ti,{kind:"method",name:"setIsMultiPointRoute",static:!1,private:!1,access:{has:e=>"setIsMultiPointRoute"in e,get:e=>e.setIsMultiPointRoute},metadata:t},null,l),i(this,null,Ri,{kind:"method",name:"setTourTitle",static:!1,private:!1,access:{has:e=>"setTourTitle"in e,get:e=>e.setTourTitle},metadata:t},null,l),i(this,null,Oi,{kind:"method",name:"setTourDescription",static:!1,private:!1,access:{has:e=>"setTourDescription"in e,get:e=>e.setTourDescription},metadata:t},null,l),i(this,null,Di,{kind:"method",name:"setIsMultiPointTour",static:!1,private:!1,access:{has:e=>"setIsMultiPointTour"in e,get:e=>e.setIsMultiPointTour},metadata:t},null,l),i(this,null,Li,{kind:"method",name:"setPathwayOnlyMode",static:!1,private:!1,access:{has:e=>"setPathwayOnlyMode"in e,get:e=>e.setPathwayOnlyMode},metadata:t},null,l),i(this,null,Ai,{kind:"method",name:"setMultiPointTourList",static:!1,private:!1,access:{has:e=>"setMultiPointTourList"in e,get:e=>e.setMultiPointTourList},metadata:t},null,l),i(this,null,Ei,{kind:"getter",name:"activePathwayLayers",static:!1,private:!1,access:{has:e=>"activePathwayLayers"in e,get:e=>e.activePathwayLayers},metadata:t},null,l),i(this,null,Fi,{kind:"getter",name:"highlightedBooths",static:!1,private:!1,access:{has:e=>"highlightedBooths"in e,get:e=>e.highlightedBooths},metadata:t},null,l),i(this,null,Ui,{kind:"getter",name:"rtl",static:!1,private:!1,access:{has:e=>"rtl"in e,get:e=>e.rtl},metadata:t},null,l),i(this,null,Hi,{kind:"getter",name:"noOverlay",static:!1,private:!1,access:{has:e=>"noOverlay"in e,get:e=>e.noOverlay},metadata:t},null,l),i(this,null,Vi,{kind:"getter",name:"selectedExhibitor",static:!1,private:!1,access:{has:e=>"selectedExhibitor"in e,get:e=>e.selectedExhibitor},metadata:t},null,l),i(this,null,Ni,{kind:"getter",name:"selectedBooth",static:!1,private:!1,access:{has:e=>"selectedBooth"in e,get:e=>e.selectedBooth},metadata:t},null,l),i(this,null,Ki,{kind:"getter",name:"selectedCategory",static:!1,private:!1,access:{has:e=>"selectedCategory"in e,get:e=>e.selectedCategory},metadata:t},null,l),i(this,null,Gi,{kind:"getter",name:"selectedRoute",static:!1,private:!1,access:{has:e=>"selectedRoute"in e,get:e=>e.selectedRoute},metadata:t},null,l),i(this,null,Qi,{kind:"getter",name:"selectedSpeaker",static:!1,private:!1,access:{has:e=>"selectedSpeaker"in e,get:e=>e.selectedSpeaker},metadata:t},null,l),i(this,null,Yi,{kind:"getter",name:"uiScale",static:!1,private:!1,access:{has:e=>"uiScale"in e,get:e=>e.uiScale},metadata:t},null,l),i(this,null,$i,{kind:"getter",name:"isGuidedToursActive",static:!1,private:!1,access:{has:e=>"isGuidedToursActive"in e,get:e=>e.isGuidedToursActive},metadata:t},null,l),i(this,null,ji,{kind:"getter",name:"getRouteNextFloor",static:!1,private:!1,access:{has:e=>"getRouteNextFloor"in e,get:e=>e.getRouteNextFloor},metadata:t},null,l),i(this,null,Wi,{kind:"getter",name:"headerHeightRem",static:!1,private:!1,access:{has:e=>"headerHeightRem"in e,get:e=>e.headerHeightRem},metadata:t},null,l),i(this,null,Zi,{kind:"getter",name:"headerHeightPx",static:!1,private:!1,access:{has:e=>"headerHeightPx"in e,get:e=>e.headerHeightPx},metadata:t},null,l),i(this,null,Xi,{kind:"getter",name:"overlayPosition",static:!1,private:!1,access:{has:e=>"overlayPosition"in e,get:e=>e.overlayPosition},metadata:t},null,l),i(this,null,Ji,{kind:"getter",name:"overlayCollapsed",static:!1,private:!1,access:{has:e=>"overlayCollapsed"in e,get:e=>e.overlayCollapsed},metadata:t},null,l),i(this,null,qi,{kind:"getter",name:"overlaySize",static:!1,private:!1,access:{has:e=>"overlaySize"in e,get:e=>e.overlaySize},metadata:t},null,l),i(this,null,ea,{kind:"getter",name:"overlayBottom",static:!1,private:!1,access:{has:e=>"overlayBottom"in e,get:e=>e.overlayBottom},metadata:t},null,l),i(this,null,ta,{kind:"getter",name:"overlayLeft",static:!1,private:!1,access:{has:e=>"overlayLeft"in e,get:e=>e.overlayLeft},metadata:t},null,l),i(this,null,sa,{kind:"getter",name:"overlayWidthPx",static:!1,private:!1,access:{has:e=>"overlayWidthPx"in e,get:e=>e.overlayWidthPx},metadata:t},null,l),i(this,null,ia,{kind:"getter",name:"wsImageHeightPx",static:!1,private:!1,access:{has:e=>"wsImageHeightPx"in e,get:e=>e.wsImageHeightPx},metadata:t},null,l),i(this,null,aa,{kind:"getter",name:"wsPaddingPx",static:!1,private:!1,access:{has:e=>"wsPaddingPx"in e,get:e=>e.wsPaddingPx},metadata:t},null,l),i(this,null,la,{kind:"getter",name:"wsOccupiedHeightPx",static:!1,private:!1,access:{has:e=>"wsOccupiedHeightPx"in e,get:e=>e.wsOccupiedHeightPx},metadata:t},null,l),i(this,null,ra,{kind:"getter",name:"wsShown",static:!1,private:!1,access:{has:e=>"wsShown"in e,get:e=>e.wsShown},metadata:t},null,l),i(this,null,oa,{kind:"getter",name:"wsDesktopPosition",static:!1,private:!1,access:{has:e=>"wsDesktopPosition"in e,get:e=>e.wsDesktopPosition},metadata:t},null,l),i(this,null,na,{kind:"getter",name:"wsPosition",static:!1,private:!1,access:{has:e=>"wsPosition"in e,get:e=>e.wsPosition},metadata:t},null,l),i(this,null,ca,{kind:"getter",name:"responsiveClass",static:!1,private:!1,access:{has:e=>"responsiveClass"in e,get:e=>e.responsiveClass},metadata:t},null,l),i(this,null,da,{kind:"getter",name:"mapVisibleTop",static:!1,private:!1,access:{has:e=>"mapVisibleTop"in e,get:e=>e.mapVisibleTop},metadata:t},null,l),i(this,null,ha,{kind:"getter",name:"mapVisibleBottom",static:!1,private:!1,access:{has:e=>"mapVisibleBottom"in e,get:e=>e.mapVisibleBottom},metadata:t},null,l),i(this,null,ua,{kind:"getter",name:"mapVisibleStart",static:!1,private:!1,access:{has:e=>"mapVisibleStart"in e,get:e=>e.mapVisibleStart},metadata:t},null,l),i(this,null,fa,{kind:"getter",name:"searchActionsHeightPx",static:!1,private:!1,access:{has:e=>"searchActionsHeightPx"in e,get:e=>e.searchActionsHeightPx},metadata:t},null,l),i(this,null,ma,{kind:"getter",name:"fullSizeOffset",static:!1,private:!1,access:{has:e=>"fullSizeOffset"in e,get:e=>e.fullSizeOffset},metadata:t},null,l),i(this,null,ga,{kind:"getter",name:"shouldShowSearchButtons",static:!1,private:!1,access:{has:e=>"shouldShowSearchButtons"in e,get:e=>e.shouldShowSearchButtons},metadata:t},null,l),i(this,null,pa,{kind:"getter",name:"canvasVisibleRectPx",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPx"in e,get:e=>e.canvasVisibleRectPx},metadata:t},null,l),i(this,null,_a,{kind:"getter",name:"shouldShiftMapRect",static:!1,private:!1,access:{has:e=>"shouldShiftMapRect"in e,get:e=>e.shouldShiftMapRect},metadata:t},null,l),i(this,null,va,{kind:"getter",name:"hasAppliedFilters",static:!1,private:!1,access:{has:e=>"hasAppliedFilters"in e,get:e=>e.hasAppliedFilters},metadata:t},null,l),i(this,null,Sa,{kind:"getter",name:"canvasVisibleRectPt",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPt"in e,get:e=>e.canvasVisibleRectPt},metadata:t},null,l),i(this,null,ya,{kind:"getter",name:"canvasSizePt",static:!1,private:!1,access:{has:e=>"canvasSizePt"in e,get:e=>e.canvasSizePt},metadata:t},null,l),i(this,null,ka,{kind:"getter",name:"shouldUseBackdrop",static:!1,private:!1,access:{has:e=>"shouldUseBackdrop"in e,get:e=>e.shouldUseBackdrop},metadata:t},null,l),i(this,null,za,{kind:"method",name:"setForceDimm",static:!1,private:!1,access:{has:e=>"setForceDimm"in e,get:e=>e.setForceDimm},metadata:t},null,l),i(this,null,Ca,{kind:"getter",name:"dimmed",static:!1,private:!1,access:{has:e=>"dimmed"in e,get:e=>e.dimmed},metadata:t},null,l),i(this,null,Ba,{kind:"getter",name:"defaultSearchItems",static:!1,private:!1,access:{has:e=>"defaultSearchItems"in e,get:e=>e.defaultSearchItems},metadata:t},null,l),i(this,null,Pa,{kind:"getter",name:"searchItems",static:!1,private:!1,access:{has:e=>"searchItems"in e,get:e=>e.searchItems},metadata:t},null,l),i(this,null,Ma,{kind:"getter",name:"searchList",static:!1,private:!1,access:{has:e=>"searchList"in e,get:e=>e.searchList},metadata:t},null,l),i(this,null,wa,{kind:"getter",name:"foundInDescription",static:!1,private:!1,access:{has:e=>"foundInDescription"in e,get:e=>e.foundInDescription},metadata:t},null,l),i(this,null,Ta,{kind:"getter",name:"foundInDescriptionStruct",static:!1,private:!1,access:{has:e=>"foundInDescriptionStruct"in e,get:e=>e.foundInDescriptionStruct},metadata:t},null,l),i(this,null,Ra,{kind:"getter",name:"categoryFilteredSearchList",static:!1,private:!1,access:{has:e=>"categoryFilteredSearchList"in e,get:e=>e.categoryFilteredSearchList},metadata:t},null,l),i(this,null,Oa,{kind:"getter",name:"fuzzySearchItems",static:!1,private:!1,access:{has:e=>"fuzzySearchItems"in e,get:e=>e.fuzzySearchItems},metadata:t},null,l),i(this,null,Da,{kind:"getter",name:"listItems",static:!1,private:!1,access:{has:e=>"listItems"in e,get:e=>e.listItems},metadata:t},null,l),i(this,null,La,{kind:"getter",name:"listBooths",static:!1,private:!1,access:{has:e=>"listBooths"in e,get:e=>e.listBooths},metadata:t},null,l),i(this,null,Aa,{kind:"getter",name:"selectedBooths",static:!1,private:!1,access:{has:e=>"selectedBooths"in e,get:e=>e.selectedBooths},metadata:t},null,l),i(this,null,Ea,{kind:"getter",name:"hoveredBooths",static:!1,private:!1,access:{has:e=>"hoveredBooths"in e,get:e=>e.hoveredBooths},metadata:t},null,l),i(this,null,Fa,{kind:"getter",name:"visibility",static:!1,private:!1,access:{has:e=>"visibility"in e,get:e=>e.visibility},metadata:t},null,l),i(this,null,Ua,{kind:"method",name:"setVisibility",static:!1,private:!1,access:{has:e=>"setVisibility"in e,get:e=>e.setVisibility},metadata:t},null,l),i(this,null,Ha,{kind:"method",name:"toggleMapOverlay",static:!1,private:!1,access:{has:e=>"toggleMapOverlay"in e,get:e=>e.toggleMapOverlay},metadata:t},null,l),i(this,null,Va,{kind:"method",name:"changeZoom",static:!1,private:!1,access:{has:e=>"changeZoom"in e,get:e=>e.changeZoom},metadata:t},null,l),i(this,null,Na,{kind:"method",name:"zoomIn",static:!1,private:!1,access:{has:e=>"zoomIn"in e,get:e=>e.zoomIn},metadata:t},null,l),i(this,null,Ka,{kind:"method",name:"zoomOut",static:!1,private:!1,access:{has:e=>"zoomOut"in e,get:e=>e.zoomOut},metadata:t},null,l),i(this,null,Ga,{kind:"method",name:"fitBounds",static:!1,private:!1,access:{has:e=>"fitBounds"in e,get:e=>e.fitBounds},metadata:t},null,l),i(this,null,Qa,{kind:"getter",name:"selectedEventItem",static:!1,private:!1,access:{has:e=>"selectedEventItem"in e,get:e=>e.selectedEventItem},metadata:t},null,l),i(this,null,Wa,{kind:"method",name:"setMapSettings",static:!1,private:!1,access:{has:e=>"setMapSettings"in e,get:e=>e.setMapSettings},metadata:t},null,l),i(this,null,Za,{kind:"method",name:"resetMapSettings",static:!1,private:!1,access:{has:e=>"resetMapSettings"in e,get:e=>e.resetMapSettings},metadata:t},null,l),i(this,null,Xa,{kind:"getter",name:"baseQRCodeUrl",static:!1,private:!1,access:{has:e=>"baseQRCodeUrl"in e,get:e=>e.baseQRCodeUrl},metadata:t},null,l),i(this,null,Ja,{kind:"getter",name:"viewMapOnPhoneQRCodeUrl",static:!1,private:!1,access:{has:e=>"viewMapOnPhoneQRCodeUrl"in e,get:e=>e.viewMapOnPhoneQRCodeUrl},metadata:t},null,l),i(this,null,qa,{kind:"getter",name:"routeQRCodeUrl",static:!1,private:!1,access:{has:e=>"routeQRCodeUrl"in e,get:e=>e.routeQRCodeUrl},metadata:t},null,l),i(this,null,el,{kind:"getter",name:"isFeaturedExhibitorActive",static:!1,private:!1,access:{has:e=>"isFeaturedExhibitorActive"in e,get:e=>e.isFeaturedExhibitorActive},metadata:t},null,l),i(this,null,tl,{kind:"getter",name:"activeInterfaceData",static:!1,private:!1,access:{has:e=>"activeInterfaceData"in e,get:e=>e.activeInterfaceData},metadata:t},null,l),i(this,null,sl,{kind:"getter",name:"searchBoxConfig",static:!1,private:!1,access:{has:e=>"searchBoxConfig"in e,get:e=>e.searchBoxConfig},metadata:t},null,l),i(this,null,il,{kind:"getter",name:"searchBoxActions",static:!1,private:!1,access:{has:e=>"searchBoxActions"in e,get:e=>e.searchBoxActions},metadata:t},null,l),i(this,null,al,{kind:"getter",name:"overlayInterfaceClasses",static:!1,private:!1,access:{has:e=>"overlayInterfaceClasses"in e,get:e=>e.overlayInterfaceClasses},metadata:t},null,l),i(this,null,ll,{kind:"getter",name:"isOverlayOpen",static:!1,private:!1,access:{has:e=>"isOverlayOpen"in e,get:e=>e.isOverlayOpen},metadata:t},null,l),i(this,null,rl,{kind:"method",name:"setOverlayScrolled",static:!1,private:!1,access:{has:e=>"setOverlayScrolled"in e,get:e=>e.setOverlayScrolled},metadata:t},null,l),i(this,null,ol,{kind:"method",name:"setListScrollTop",static:!1,private:!1,access:{has:e=>"setListScrollTop"in e,get:e=>e.setListScrollTop},metadata:t},null,l),i(this,null,nl,{kind:"method",name:"setListScrollItemId",static:!1,private:!1,access:{has:e=>"setListScrollItemId"in e,get:e=>e.setListScrollItemId},metadata:t},null,l),i(this,null,cl,{kind:"method",name:"getListScrollTop",static:!1,private:!1,access:{has:e=>"getListScrollTop"in e,get:e=>e.getListScrollTop},metadata:t},null,l),i(this,null,dl,{kind:"method",name:"getListScrollItemId",static:!1,private:!1,access:{has:e=>"getListScrollItemId"in e,get:e=>e.getListScrollItemId},metadata:t},null,l),i(this,null,hl,{kind:"method",name:"clearListScroll",static:!1,private:!1,access:{has:e=>"clearListScroll"in e,get:e=>e.clearListScroll},metadata:t},null,l),i(this,null,ul,{kind:"getter",name:"bannerType",static:!1,private:!1,access:{has:e=>"bannerType"in e,get:e=>e.bannerType},metadata:t},null,l),i(this,null,fl,{kind:"getter",name:"isBannerVisible",static:!1,private:!1,access:{has:e=>"isBannerVisible"in e,get:e=>e.isBannerVisible},metadata:t},null,l),i(this,null,ml,{kind:"method",name:"setCurrentBanner",static:!1,private:!1,access:{has:e=>"setCurrentBanner"in e,get:e=>e.setCurrentBanner},metadata:t},null,l),i(this,null,vl,{kind:"method",name:"setForceShowDetails",static:!1,private:!1,access:{has:e=>"setForceShowDetails"in e,get:e=>e.setForceShowDetails},metadata:t},null,l),i(this,null,Sl,{kind:"getter",name:"showRouteInstantly",static:!1,private:!1,access:{has:e=>"showRouteInstantly"in e,get:e=>e.showRouteInstantly},metadata:t},null,l),i(this,null,bl,{kind:"method",name:"startBuildRoute",static:!1,private:!1,access:{has:e=>"startBuildRoute"in e,get:e=>e.startBuildRoute},metadata:t},null,l),i(this,null,Bl,{kind:"method",name:"setGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"setGlobalErrorMessage"in e,get:e=>e.setGlobalErrorMessage},metadata:t},null,l),i(this,null,Pl,{kind:"method",name:"popGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"popGlobalErrorMessage"in e,get:e=>e.popGlobalErrorMessage},metadata:t},null,l),i(this,null,Ml,{kind:"method",name:"initializeUIScale",static:!1,private:!1,access:{has:e=>"initializeUIScale"in e,get:e=>e.initializeUIScale},metadata:t},null,l),i(this,null,wl,{kind:"method",name:"setUIScale",static:!1,private:!1,access:{has:e=>"setUIScale"in e,get:e=>e.setUIScale},metadata:t},null,l),i(this,null,Tl,{kind:"method",name:"resetUIScale",static:!1,private:!1,access:{has:e=>"resetUIScale"in e,get:e=>e.resetUIScale},metadata:t},null,l),i(this,null,Ll,{kind:"method",name:"enableSetKioskMode",static:!1,private:!1,access:{has:e=>"enableSetKioskMode"in e,get:e=>e.enableSetKioskMode},metadata:t},null,l),i(this,null,Ul,{kind:"method",name:"setKioskData",static:!1,private:!1,access:{has:e=>"setKioskData"in e,get:e=>e.setKioskData},metadata:t},null,l),i(null,null,w,{kind:"field",name:"list",static:!1,private:!1,access:{has:e=>"list"in e,get:e=>e.list,set:(e,s)=>{e.list=s}},metadata:t},j,W),i(null,null,Z,{kind:"field",name:"details",static:!1,private:!1,access:{has:e=>"details"in e,get:e=>e.details,set:(e,s)=>{e.details=s}},metadata:t},X,J),i(null,null,q,{kind:"field",name:"hoveredExhibitor",static:!1,private:!1,access:{has:e=>"hoveredExhibitor"in e,get:e=>e.hoveredExhibitor,set:(e,s)=>{e.hoveredExhibitor=s}},metadata:t},ee,te),i(null,null,se,{kind:"field",name:"hoveredBooth",static:!1,private:!1,access:{has:e=>"hoveredBooth"in e,get:e=>e.hoveredBooth,set:(e,s)=>{e.hoveredBooth=s}},metadata:t},ie,ae),i(null,null,le,{kind:"field",name:"zoomBy",static:!1,private:!1,access:{has:e=>"zoomBy"in e,get:e=>e.zoomBy,set:(e,s)=>{e.zoomBy=s}},metadata:t},re,oe),i(null,null,ne,{kind:"field",name:"rollReset",static:!1,private:!1,access:{has:e=>"rollReset"in e,get:e=>e.rollReset,set:(e,s)=>{e.rollReset=s}},metadata:t},ce,de),i(null,null,he,{kind:"field",name:"moveToBooths",static:!1,private:!1,access:{has:e=>"moveToBooths"in e,get:e=>e.moveToBooths,set:(e,s)=>{e.moveToBooths=s}},metadata:t},ue,fe),i(null,null,me,{kind:"field",name:"moveToRect",static:!1,private:!1,access:{has:e=>"moveToRect"in e,get:e=>e.moveToRect,set:(e,s)=>{e.moveToRect=s}},metadata:t},ge,pe),i(null,null,_e,{kind:"field",name:"moveToLocation",static:!1,private:!1,access:{has:e=>"moveToLocation"in e,get:e=>e.moveToLocation,set:(e,s)=>{e.moveToLocation=s}},metadata:t},ve,Se),i(null,null,ye,{kind:"field",name:"menu",static:!1,private:!1,access:{has:e=>"menu"in e,get:e=>e.menu,set:(e,s)=>{e.menu=s}},metadata:t},ke,Ie),i(null,null,be,{kind:"field",name:"searchFocused",static:!1,private:!1,access:{has:e=>"searchFocused"in e,get:e=>e.searchFocused,set:(e,s)=>{e.searchFocused=s}},metadata:t},xe,ze),i(null,null,Ce,{kind:"field",name:"searchClearMode",static:!1,private:!1,access:{has:e=>"searchClearMode"in e,get:e=>e.searchClearMode,set:(e,s)=>{e.searchClearMode=s}},metadata:t},Be,Pe),i(null,null,Me,{kind:"field",name:"printingPdf",static:!1,private:!1,access:{has:e=>"printingPdf"in e,get:e=>e.printingPdf,set:(e,s)=>{e.printingPdf=s}},metadata:t},we,Te),i(null,null,Re,{kind:"field",name:"largeMessage",static:!1,private:!1,access:{has:e=>"largeMessage"in e,get:e=>e.largeMessage,set:(e,s)=>{e.largeMessage=s}},metadata:t},Oe,De),i(null,null,Le,{kind:"field",name:"largeMessageLastSet",static:!1,private:!1,access:{has:e=>"largeMessageLastSet"in e,get:e=>e.largeMessageLastSet,set:(e,s)=>{e.largeMessageLastSet=s}},metadata:t},Ae,Ee),i(null,null,Fe,{kind:"field",name:"screenSize",static:!1,private:!1,access:{has:e=>"screenSize"in e,get:e=>e.screenSize,set:(e,s)=>{e.screenSize=s}},metadata:t},Ue,He),i(null,null,Ve,{kind:"field",name:"desiredOverlaySize",static:!1,private:!1,access:{has:e=>"desiredOverlaySize"in e,get:e=>e.desiredOverlaySize,set:(e,s)=>{e.desiredOverlaySize=s}},metadata:t},Ne,Ke),i(null,null,Ge,{kind:"field",name:"overlayShowsAll",static:!1,private:!1,access:{has:e=>"overlayShowsAll"in e,get:e=>e.overlayShowsAll,set:(e,s)=>{e.overlayShowsAll=s}},metadata:t},Qe,Ye),i(null,null,$e,{kind:"field",name:"centerMap",static:!1,private:!1,access:{has:e=>"centerMap"in e,get:e=>e.centerMap,set:(e,s)=>{e.centerMap=s}},metadata:t},je,We),i(null,null,Ze,{kind:"field",name:"zoomAfTransformK",static:!1,private:!1,access:{has:e=>"zoomAfTransformK"in e,get:e=>e.zoomAfTransformK,set:(e,s)=>{e.zoomAfTransformK=s}},metadata:t},Xe,Je),i(null,null,qe,{kind:"field",name:"activeListIndex",static:!1,private:!1,access:{has:e=>"activeListIndex"in e,get:e=>e.activeListIndex,set:(e,s)=>{e.activeListIndex=s}},metadata:t},et,tt),i(null,null,st,{kind:"field",name:"devicePixelRatio",static:!1,private:!1,access:{has:e=>"devicePixelRatio"in e,get:e=>e.devicePixelRatio,set:(e,s)=>{e.devicePixelRatio=s}},metadata:t},it,at),i(null,null,lt,{kind:"field",name:"wsStarted",static:!1,private:!1,access:{has:e=>"wsStarted"in e,get:e=>e.wsStarted,set:(e,s)=>{e.wsStarted=s}},metadata:t},rt,ot),i(null,null,nt,{kind:"field",name:"canvasStarted",static:!1,private:!1,access:{has:e=>"canvasStarted"in e,get:e=>e.canvasStarted,set:(e,s)=>{e.canvasStarted=s}},metadata:t},ct,dt),i(null,null,ht,{kind:"field",name:"kiosk",static:!1,private:!1,access:{has:e=>"kiosk"in e,get:e=>e.kiosk,set:(e,s)=>{e.kiosk=s}},metadata:t},ut,ft),i(null,null,mt,{kind:"field",name:"inIdle",static:!1,private:!1,access:{has:e=>"inIdle"in e,get:e=>e.inIdle,set:(e,s)=>{e.inIdle=s}},metadata:t},gt,pt),i(null,null,_t,{kind:"field",name:"modalActive",static:!1,private:!1,access:{has:e=>"modalActive"in e,get:e=>e.modalActive,set:(e,s)=>{e.modalActive=s}},metadata:t},vt,St),i(null,null,yt,{kind:"field",name:"galleryActive",static:!1,private:!1,access:{has:e=>"galleryActive"in e,get:e=>e.galleryActive,set:(e,s)=>{e.galleryActive=s}},metadata:t},kt,It),i(null,null,bt,{kind:"field",name:"hideOverlay",static:!1,private:!1,access:{has:e=>"hideOverlay"in e,get:e=>e.hideOverlay,set:(e,s)=>{e.hideOverlay=s}},metadata:t},xt,zt),i(null,null,Ct,{kind:"field",name:"hideCookieConsent",static:!1,private:!1,access:{has:e=>"hideCookieConsent"in e,get:e=>e.hideCookieConsent,set:(e,s)=>{e.hideCookieConsent=s}},metadata:t},Bt,Pt),i(null,null,Mt,{kind:"field",name:"hideHeaderLogo",static:!1,private:!1,access:{has:e=>"hideHeaderLogo"in e,get:e=>e.hideHeaderLogo,set:(e,s)=>{e.hideHeaderLogo=s}},metadata:t},wt,Tt),i(null,null,Rt,{kind:"field",name:"hideLogoInBooth",static:!1,private:!1,access:{has:e=>"hideLogoInBooth"in e,get:e=>e.hideLogoInBooth,set:(e,s)=>{e.hideLogoInBooth=s}},metadata:t},Ot,Dt),i(null,null,Lt,{kind:"field",name:"disableBookmarked",static:!1,private:!1,access:{has:e=>"disableBookmarked"in e,get:e=>e.disableBookmarked,set:(e,s)=>{e.disableBookmarked=s}},metadata:t},At,Et),i(null,null,Ft,{kind:"field",name:"hideLanguage",static:!1,private:!1,access:{has:e=>"hideLanguage"in e,get:e=>e.hideLanguage,set:(e,s)=>{e.hideLanguage=s}},metadata:t},Ut,Ht),i(null,null,Vt,{kind:"field",name:"monochrome",static:!1,private:!1,access:{has:e=>"monochrome"in e,get:e=>e.monochrome,set:(e,s)=>{e.monochrome=s}},metadata:t},Nt,Kt),i(null,null,Gt,{kind:"field",name:"heatmap",static:!1,private:!1,access:{has:e=>"heatmap"in e,get:e=>e.heatmap,set:(e,s)=>{e.heatmap=s}},metadata:t},Qt,Yt),i(null,null,$t,{kind:"field",name:"heatmapYah",static:!1,private:!1,access:{has:e=>"heatmapYah"in e,get:e=>e.heatmapYah,set:(e,s)=>{e.heatmapYah=s}},metadata:t},jt,Wt),i(null,null,Zt,{kind:"field",name:"debugCircles",static:!1,private:!1,access:{has:e=>"debugCircles"in e,get:e=>e.debugCircles,set:(e,s)=>{e.debugCircles=s}},metadata:t},Xt,Jt),i(null,null,qt,{kind:"field",name:"mapControlsHidden",static:!1,private:!1,access:{has:e=>"mapControlsHidden"in e,get:e=>e.mapControlsHidden,set:(e,s)=>{e.mapControlsHidden=s}},metadata:t},es,ts),i(null,null,ss,{kind:"field",name:"floorsControlHidden",static:!1,private:!1,access:{has:e=>"floorsControlHidden"in e,get:e=>e.floorsControlHidden,set:(e,s)=>{e.floorsControlHidden=s}},metadata:t},is,as),i(null,null,ls,{kind:"field",name:"hideFreeOrDemo",static:!1,private:!1,access:{has:e=>"hideFreeOrDemo"in e,get:e=>e.hideFreeOrDemo,set:(e,s)=>{e.hideFreeOrDemo=s}},metadata:t},rs,os),i(null,null,ns,{kind:"field",name:"freeBannerDismissed",static:!1,private:!1,access:{has:e=>"freeBannerDismissed"in e,get:e=>e.freeBannerDismissed,set:(e,s)=>{e.freeBannerDismissed=s}},metadata:t},cs,ds),i(null,null,hs,{kind:"field",name:"currentBanner",static:!1,private:!1,access:{has:e=>"currentBanner"in e,get:e=>e.currentBanner,set:(e,s)=>{e.currentBanner=s}},metadata:t},us,fs),i(null,null,ms,{kind:"field",name:"sceneDefReady",static:!1,private:!1,access:{has:e=>"sceneDefReady"in e,get:e=>e.sceneDefReady,set:(e,s)=>{e.sceneDefReady=s}},metadata:t},gs,ps),i(null,null,_s,{kind:"field",name:"categoryFilterOpen",static:!1,private:!1,access:{has:e=>"categoryFilterOpen"in e,get:e=>e.categoryFilterOpen,set:(e,s)=>{e.categoryFilterOpen=s}},metadata:t},vs,Ss),i(null,null,ys,{kind:"field",name:"selectedCategoryFilters",static:!1,private:!1,access:{has:e=>"selectedCategoryFilters"in e,get:e=>e.selectedCategoryFilters,set:(e,s)=>{e.selectedCategoryFilters=s}},metadata:t},ks,Is),i(null,null,bs,{kind:"field",name:"selectedPoiTypeFilters",static:!1,private:!1,access:{has:e=>"selectedPoiTypeFilters"in e,get:e=>e.selectedPoiTypeFilters,set:(e,s)=>{e.selectedPoiTypeFilters=s}},metadata:t},xs,zs),i(null,null,Cs,{kind:"field",name:"selectedTrack",static:!1,private:!1,access:{has:e=>"selectedTrack"in e,get:e=>e.selectedTrack,set:(e,s)=>{e.selectedTrack=s}},metadata:t},Bs,Ps),i(null,null,Ms,{kind:"field",name:"subButtonsVisible",static:!1,private:!1,access:{has:e=>"subButtonsVisible"in e,get:e=>e.subButtonsVisible,set:(e,s)=>{e.subButtonsVisible=s}},metadata:t},ws,Ts),i(null,null,Rs,{kind:"field",name:"mapControlsDOMRect",static:!1,private:!1,access:{has:e=>"mapControlsDOMRect"in e,get:e=>e.mapControlsDOMRect,set:(e,s)=>{e.mapControlsDOMRect=s}},metadata:t},Os,Ds),i(null,null,Ls,{kind:"field",name:"searchBoxMode",static:!1,private:!1,access:{has:e=>"searchBoxMode"in e,get:e=>e.searchBoxMode,set:(e,s)=>{e.searchBoxMode=s}},metadata:t},As,Es),i(null,null,Fs,{kind:"field",name:"searchBoxTitle",static:!1,private:!1,access:{has:e=>"searchBoxTitle"in e,get:e=>e.searchBoxTitle,set:(e,s)=>{e.searchBoxTitle=s}},metadata:t},Us,Hs),i(null,null,Vs,{kind:"field",name:"searchBoxSubtitle",static:!1,private:!1,access:{has:e=>"searchBoxSubtitle"in e,get:e=>e.searchBoxSubtitle,set:(e,s)=>{e.searchBoxSubtitle=s}},metadata:t},Ns,Ks),i(null,null,Gs,{kind:"field",name:"routeTitle",static:!1,private:!1,access:{has:e=>"routeTitle"in e,get:e=>e.routeTitle,set:(e,s)=>{e.routeTitle=s}},metadata:t},Qs,Ys),i(null,null,$s,{kind:"field",name:"routeDescription",static:!1,private:!1,access:{has:e=>"routeDescription"in e,get:e=>e.routeDescription,set:(e,s)=>{e.routeDescription=s}},metadata:t},js,Ws),i(null,null,Zs,{kind:"field",name:"isMultiPointRoute",static:!1,private:!1,access:{has:e=>"isMultiPointRoute"in e,get:e=>e.isMultiPointRoute,set:(e,s)=>{e.isMultiPointRoute=s}},metadata:t},Xs,Js),i(null,null,qs,{kind:"field",name:"tourTitle",static:!1,private:!1,access:{has:e=>"tourTitle"in e,get:e=>e.tourTitle,set:(e,s)=>{e.tourTitle=s}},metadata:t},ei,ti),i(null,null,si,{kind:"field",name:"tourDescription",static:!1,private:!1,access:{has:e=>"tourDescription"in e,get:e=>e.tourDescription,set:(e,s)=>{e.tourDescription=s}},metadata:t},ii,ai),i(null,null,li,{kind:"field",name:"isMultiPointTour",static:!1,private:!1,access:{has:e=>"isMultiPointTour"in e,get:e=>e.isMultiPointTour,set:(e,s)=>{e.isMultiPointTour=s}},metadata:t},ri,oi),i(null,null,ni,{kind:"field",name:"pathwayOnlyMode",static:!1,private:!1,access:{has:e=>"pathwayOnlyMode"in e,get:e=>e.pathwayOnlyMode,set:(e,s)=>{e.pathwayOnlyMode=s}},metadata:t},ci,di),i(null,null,hi,{kind:"field",name:"isOverlayScrolled",static:!1,private:!1,access:{has:e=>"isOverlayScrolled"in e,get:e=>e.isOverlayScrolled,set:(e,s)=>{e.isOverlayScrolled=s}},metadata:t},ui,fi),i(null,null,mi,{kind:"field",name:"listScrollTop",static:!1,private:!1,access:{has:e=>"listScrollTop"in e,get:e=>e.listScrollTop,set:(e,s)=>{e.listScrollTop=s}},metadata:t},gi,pi),i(null,null,_i,{kind:"field",name:"listScrollItemId",static:!1,private:!1,access:{has:e=>"listScrollItemId"in e,get:e=>e.listScrollItemId,set:(e,s)=>{e.listScrollItemId=s}},metadata:t},vi,Si),i(null,null,yi,{kind:"field",name:"listScrollIndex",static:!1,private:!1,access:{has:e=>"listScrollIndex"in e,get:e=>e.listScrollIndex,set:(e,s)=>{e.listScrollIndex=s}},metadata:t},ki,Ii),i(null,null,bi,{kind:"field",name:"_customUIScale",static:!1,private:!1,access:{has:e=>"_customUIScale"in e,get:e=>e._customUIScale,set:(e,s)=>{e._customUIScale=s}},metadata:t},xi,zi),i(null,null,Ia,{kind:"field",name:"forceDimm",static:!1,private:!1,access:{has:e=>"forceDimm"in e,get:e=>e.forceDimm,set:(e,s)=>{e.forceDimm=s}},metadata:t},ba,xa),i(null,null,Ya,{kind:"field",name:"mapSettings",static:!1,private:!1,access:{has:e=>"mapSettings"in e,get:e=>e.mapSettings,set:(e,s)=>{e.mapSettings=s}},metadata:t},$a,ja),i(null,null,gl,{kind:"field",name:"forceShowDetails",static:!1,private:!1,access:{has:e=>"forceShowDetails"in e,get:e=>e.forceShowDetails,set:(e,s)=>{e.forceShowDetails=s}},metadata:t},pl,_l),i(null,null,yl,{kind:"field",name:"buildRoute",static:!1,private:!1,access:{has:e=>"buildRoute"in e,get:e=>e.buildRoute,set:(e,s)=>{e.buildRoute=s}},metadata:t},kl,Il),i(null,null,xl,{kind:"field",name:"globalErrorMessages",static:!1,private:!1,access:{has:e=>"globalErrorMessages"in e,get:e=>e.globalErrorMessages,set:(e,s)=>{e.globalErrorMessages=s}},metadata:t},zl,Cl),i(null,null,Rl,{kind:"field",name:"setKioskModeEnabled",static:!1,private:!1,access:{has:e=>"setKioskModeEnabled"in e,get:e=>e.setKioskModeEnabled,set:(e,s)=>{e.setKioskModeEnabled=s}},metadata:t},Ol,Dl),i(null,null,Al,{kind:"field",name:"kioskData",static:!1,private:!1,access:{has:e=>"kioskData"in e,get:e=>e.kioskData,set:(e,s)=>{e.kioskData=s}},metadata:t},El,Fl),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=a(this,l);interfaceMetadata=Object.freeze([{id:"menu",className:"efp-overlay-menu",priority:80,isActive:()=>this.menu,searchBoxConfig:()=>({mode:"interface",title:y("Menu")})},{id:"exhibitor",className:"efp-overlay-exhibitor",priority:70,isActive:()=>this.details instanceof b,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 F,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"route",className:"efp-overlay-route",priority:70,isActive:()=>this.details instanceof R,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:y("Directions")}}},{id:"search",className:"efp-overlay-search",priority:60,isActive:()=>!this.details&&!this.menu&&this.list.type==="search"&&(this.rootStore.fp.alwaysShowSidebar||this.heatmap||this.searchFocused||this.list.text.length>0||this.searchClearMode),searchBoxConfig:()=>({mode:"search",title:y("Search")})},{id:"exhibitors",className:"efp-overlay-exhibitors",priority:50,isActive:()=>this.list.type==="exhibitors"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Exhibitors")})},{id:"filter",className:"efp-overlay-filter",priority:50,isActive:()=>this.list.type==="filter"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Filter")})},{id:"bookmarks",className:"efp-overlay-bookmarks",priority:50,isActive:()=>this.list.type==="bookmarks"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:y("Bookmarks"),badge:this.rootStore.bookmarksStore.total})},{id:"visited",className:"efp-overlay-visited",priority:50,isActive:()=>this.list.type==="visited"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:y("Visited"),badge:this.rootStore.exhibitorStore.visited.length})},{id:A,className:"efp-overlay-language",priority:50,isActive:()=>this.list.type===A,searchBoxConfig:()=>({mode:"interface",title:y("Language")})},{id:"category",className:"efp-overlay-category",priority:50,isActive:()=>!M.menu&&!!M.selectedCategory,searchBoxConfig:()=>({mode:"interface",title:this.list.type==="category"&&this.list.category?.name||y("Categories")})},{id:"sessions",className:"efp-overlay-sessions",priority:50,isActive:()=>this.list.type==="sessions"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Sessions"),subtitle:this.selectedTrack?this.selectedTrack.name:void 0})},{id:"speakers",className:"efp-overlay-speakers",priority:50,isActive:()=>this.list.type==="speakers"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Speakers")})},{id:"speaker",className:"efp-overlay-speaker",priority:50,isActive:()=>this.details instanceof $,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"tours",className:"efp-overlay-tours",priority:50,isActive:()=>this.list.type==="tours"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Guided Tours")})},{id:"multi-point-wayfinding",className:"efp-overlay-multi-point",priority:75,isActive:()=>!!(this.isMultiPointRoute&&this.selectedRoute&&this.list.type!=="route-planner"),searchBoxConfig:()=>({mode:"interface",title:this.routeTitle||y("Multi-point route")})},{id:"multi-point-tour",className:"efp-overlay-multi-point-tour",priority:75,isActive:()=>this.list.type==="multi-point-tour"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:this.tourTitle||y("Multi-point route")})},{id:"route-planner",className:"efp-overlay-route-planner",priority:76,isActive:()=>this.list.type==="route-planner"&&(!this.details||this.details instanceof R),searchBoxConfig:()=>({mode:"interface",title:y("Route planner")})}].sort((t,e)=>e.priority-t.priority));list=a(this,j,{type:"search",text:"",focused:!1});details=(a(this,W),a(this,X,null));hoveredExhibitor=(a(this,J),a(this,ee,null));hoveredBooth=(a(this,te),a(this,ie,null));zoomBy=(a(this,ae),a(this,re,null));rollReset=(a(this,oe),a(this,ce,!1));moveToBooths=(a(this,de),a(this,ue,null));moveToRect=(a(this,fe),a(this,ge,null));moveToLocation=(a(this,pe),a(this,ve,!1));menu=(a(this,Se),a(this,ke,!1));searchFocused=(a(this,Ie),a(this,xe,!1));searchClearMode=(a(this,ze),a(this,Be,!1));printingPdf=(a(this,Pe),a(this,we,!1));largeMessage=(a(this,Te),a(this,Oe,null));largeMessageLastSet=(a(this,De),a(this,Ae,null));screenSize=(a(this,Ee),a(this,Ue,void 0));desiredOverlaySize=(a(this,He),a(this,Ne,void 0));overlayShowsAll=(a(this,Ke),a(this,Qe,!1));centerMap=(a(this,Ye),a(this,je,!1));zoomAfTransformK=(a(this,We),a(this,Xe,1));activeListIndex=(a(this,Je),a(this,et,-1));devicePixelRatio=(a(this,tt),a(this,it,window.devicePixelRatio));previewExhibitor=(a(this,at),null);wsStarted=a(this,rt,!1);canvasStarted=(a(this,ot),a(this,ct,!1));kiosk=(a(this,dt),a(this,ut,!1));inIdle=(a(this,ft),a(this,gt,!1));modalActive=(a(this,pt),a(this,vt,{share:!1}));galleryActive=(a(this,St),a(this,kt,!1));hideOverlay=(a(this,It),a(this,xt,!1));hideCookieConsent=(a(this,zt),a(this,Bt,!!rr()));hideHeaderLogo=(a(this,Pt),a(this,wt,!1));hideLogoInBooth=(a(this,Tt),a(this,Ot,!1));disableBookmarked=(a(this,Dt),a(this,At,!1));hideLanguage=(a(this,Et),a(this,Ut,!1));monochrome=(a(this,Ht),a(this,Nt,!1));heatmap=(a(this,Kt),a(this,Qt,!1));heatmapYah=(a(this,Yt),a(this,jt,!1));rootElement=a(this,Wt);debugCircles=a(this,Xt,[]);mapControlsHidden=(a(this,Jt),a(this,es,!1));floorsControlHidden=(a(this,ts),a(this,is,!1));hideFreeOrDemo=(a(this,as),a(this,rs,!1));freeBannerDismissed=(a(this,os),a(this,cs,ur(sessionStorage)));currentBanner=(a(this,ds),a(this,us,null));sceneDefReady=(a(this,fs),a(this,gs,!1));categoryFilterOpen=(a(this,ps),a(this,vs,!1));selectedCategoryFilters=(a(this,Ss),a(this,ks,[]));selectedPoiTypeFilters=(a(this,Is),a(this,xs,[]));selectedTrack=(a(this,zs),a(this,Bs,null));subButtonsVisible=(a(this,Ps),a(this,ws,!1));mapControlsDOMRect=(a(this,Ts),a(this,Os,void 0));searchBoxMode=(a(this,Ds),a(this,As,"search"));searchBoxTitle=(a(this,Es),a(this,Us,""));searchBoxSubtitle=(a(this,Hs),a(this,Ns,void 0));routeTitle=(a(this,Ks),a(this,Qs,void 0));routeDescription=(a(this,Ys),a(this,js,void 0));isMultiPointRoute=(a(this,Ws),a(this,Xs,!1));tourTitle=(a(this,Js),a(this,ei,void 0));tourDescription=(a(this,ti),a(this,ii,void 0));isMultiPointTour=(a(this,ai),a(this,ri,!1));pathwayOnlyMode=(a(this,oi),a(this,ci,!1));isOverlayScrolled=(a(this,di),a(this,ui,!1));listScrollTop=(a(this,fi),a(this,gi,0));listScrollItemId=(a(this,pi),a(this,vi,null));listScrollIndex=(a(this,Si),a(this,ki,0));scrollPositions=(a(this,Ii),new Map);scrollItemIds=new Map;_customUIScale=a(this,xi,null);searchFilterHeightPx=(a(this,zi),54);searchInputHeightPx=54;overlayUISizePx=390;overlayKioskSizePx=450;overlayMediumHeightRems=10;setSelectedCategoryFilters(t){this.selectedCategoryFilters=t}resetCategoryFilter(){this.selectedCategoryFilters=[],this.categoryFilterOpen=!1}setSearchClearMode(t){this.searchClearMode=t}setRouteTitle(t){this.routeTitle=t}setRouteDescription(t){this.routeDescription=t}setIsMultiPointRoute(t){this.isMultiPointRoute=t}setTourTitle(t){this.tourTitle=t}setTourDescription(t){this.tourDescription=t}setIsMultiPointTour(t){this.isMultiPointTour=t}setPathwayOnlyMode(t){this.pathwayOnlyMode=t}setMultiPointTourList(t){this.list={type:"multi-point-tour",tourId:t}}get activePathwayLayers(){return this.list?.type==="multi-point-tour"?this.rootStore.toursStore.getTourById(this.list.tourId)?.layers?.map(e=>e.id)||[]:[]}get highlightedBooths(){const t=new Set(this.rootStore.exhibitorStore.highlightedByExternalIds),e=new Set(this.rootStore.boothStore.highlightedByExternalIds),s=new Set([this.rootStore.exhibitorStore.exhibitors.filter(r=>t.has(r.externalId)).flatMap(r=>r.booths.filter(n=>n instanceof E)).map(r=>r.id.toString()),this.rootStore.boothStore.booths.filter(r=>e.has(r.externalId)).map(r=>r.id.toString())].flat());if(this.list?.type==="search"&&this.list?.text?.trim().length){s.clear();const r=this.fuzzySearchItems.filter(n=>n.score===0).map(n=>n.item);r.length?K(r,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems).forEach(n=>s.add(n.id.toString())):this.listBooths.forEach(n=>s.add(n.id.toString()))}if(this.list?.type==="filter"&&(s.clear(),this.list.items.flatMap(r=>r.booths.filter(n=>n instanceof E)).forEach(r=>s.add(r.id.toString()))),this.categoryFilterOpen&&this.selectedCategoryFilters.length>0?(s.clear(),this.selectedCategoryFilters.forEach(r=>{r.exhibitors.flatMap(n=>n.booths).forEach(n=>s.add(n.id.toString()))})):this.list?.type==="category"&&(s.clear(),this.list.category.exhibitors.flatMap(r=>r.booths).forEach(r=>s.add(r.id.toString()))),this.list?.type==="bookmarks"&&(s.clear(),K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems).forEach(r=>s.add(r.id.toString()))),this.list?.type==="visited"&&(s.clear(),K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems).forEach(r=>s.add(r.id.toString()))),this.list?.type==="exhibitors"){s.clear();const r=this.list.text?.toLowerCase().trim();let n=this.rootStore.exhibitorStore.exhibitors;r&&(n=n.filter(u=>u.name.toLowerCase().includes(r))),n.flatMap(u=>u.booths.filter(g=>g instanceof E)).forEach(u=>s.add(u.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 b&&(s.clear(),this.details.booths.filter(r=>r instanceof E).forEach(r=>s.add(r.id.toString()))),this.details instanceof F){const r=this.details;if(r.boothId){s.clear();const n=this.rootStore.boothStore.booths.find(u=>u.id===r.boothId);n&&s.add(n.id.toString())}}return s.delete(void 0),s.delete(null),s}constructor(t){a(this,Fl),this.rootStore=t,this.initializeUIScale()}get rtl(){const t=or();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 b?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 $?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 N(this.headerHeightRem)}get overlayPosition(){return!this.screenSize||this.screenSize.width>er||this.kiosk?"left":"bottom"}get overlayCollapsed(){return this.kiosk&&this.overlayPosition==="left"&&!this.searchFocused&&!this.menu&&!this.details&&!this.selectedCategory&&!this.selectedExhibitor&&this.list.type!=="bookmarks"&&this.list.type!==A&&!this.list.text?.length}get overlaySize(){return this.overlayLeft?"full":this.desiredOverlaySize}get overlayBottom(){return this.overlayPosition==="bottom"}get overlayLeft(){return this.overlayPosition==="left"}get overlayWidthPx(){return this.noOverlay?0:this.overlayLeft?this.kiosk?this.overlayKioskSizePx:this.overlayUISizePx:N(this.screenSize.width)}get wsImageHeightPx(){return 44}get wsPaddingPx(){return N(.25)}get wsOccupiedHeightPx(){return this.wsShown?this.wsImageHeightPx+this.wsPaddingPx*2:0}get wsShown(){return!this.hideHeaderLogo&&this.rootStore.exhibitorStore.advertised.length>0}get wsDesktopPosition(){return V.EXPO==="cbresupplypartner"?"bottom":"top"}get wsPosition(){return this.overlayBottom?"top":this.wsDesktopPosition}get responsiveClass(){return cr(this.screenSize.width)}get mapVisibleTop(){return(this.wsPosition==="top"?this.wsOccupiedHeightPx:0)+this.headerHeightPx}get mapVisibleBottom(){return this.overlayLeft||this.noOverlay?this.wsPosition==="bottom"?this.wsOccupiedHeightPx:0:N(this.overlayMediumHeightRems)}get mapVisibleStart(){return 0}get searchActionsHeightPx(){return this.overlayPosition==="bottom"?this.searchInputHeightPx+this.searchFilterHeightPx:this.searchInputHeightPx}get fullSizeOffset(){const t=this.wsShown?54:0,e=this.bannerType==="free"&&!this.freeBannerDismissed?40:0,s=20;if(this.details&&!(this.details instanceof R))return t+e+s;const f=54,r=this.shouldShowSearchButtons?54:0;return t+e+f+s+r}get shouldShowSearchButtons(){return this.rootStore.searchButtonsStore.hasAnySearchButtons&&!this.details&&!this.menu&&![A,"filter"].includes(this.list.type)}get canvasVisibleRectPx(){const t=this.screenSize;return ar.fromX1y1x2y2(M.rtl?0:this.mapVisibleStart,this.mapVisibleTop+this.searchActionsHeightPx,M.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(M.overlayCollapsed)return!1;if(C&&localStorage.getItem("forcebackdrop")==="1")return!0;if(this.overlayBottom||this.selectedExhibitor?.leadingImageUrl&&!this.selectedExhibitor?.leadingImageLinkUrl)return!1;const t=Ql.satisfies({safari:">=13"}),e=Ql.satisfies({chrome:">=77"});var s=/(android)/i.test(navigator.userAgent);return s?!1:t||e&&M.canvasSizePt.height*M.canvasSizePt.width<3e6}forceDimm=a(this,ba,!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),u=s.booths;this.selectedPoiTypeFilters.length>0&&(r=r.filter(p=>p.booths.some(_=>this.selectedPoiTypeFilters.some(S=>_.poiTypeId===S.id))));let g=[];const B=!this.selectedCategoryFilters.length&&z.showCategories?n.filter(p=>fr.includes(V.EXPO)?!p.name.includes("/"):!0):[],D=u.filter(p=>p instanceof Y);return this.selectedCategoryFilters.length>0?g=[...r]:(z.showCompaniesAndBooths&&(g=g.concat(r)),z.showOtherSpaces&&(g=g.concat(D))),this.heatmap?[...r,...u].sort((_,S)=>f.getClicksByType(S)-f.getClicksByType(_)):this.heatmapYah?f.heatmapData?.yah?.sort((p,_)=>f.getClicksByType(_)-f.getClicksByType(p))||[]:r.length===0?u:B.concat(g.sort((p,_)=>{const S=p instanceof b&&p.featured!==void 0,P=_ instanceof b&&_.featured!==void 0;if(S!==P)return S?-1:1;const L=p instanceof Y&&p.title?p.title:p.name,G=_ instanceof Y&&_.title?_.title:_.name;return L.localeCompare(G,void 0,{sensitivity:"base",numeric:!0})}))}get searchItems(){if(this.list.type!=="search")return[];let t=this.list.text?.trim().toLowerCase()||"";const{exhibitorStore:e,categoryStore:s,boothStore:f,eventStore:r,speakerStore:n,heatmapStore:u}=this.rootStore;let g=e.exhibitors;const B=s.categories.filter(d=>d.exhibitors.length),D=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 u.heatmapData.yah.filter(h=>Number.isNaN(Number(t))?h:h.viewCount>=Number(t)).sort((h,v)=>u.getClicksByType(v)-u.getClicksByType(h));const P=[],L=new Set,G=new Set,Hl=new Set,Wl=new Set;function Vl(d){return d?d.replace(/[!@#$%^*-\.,\(\)^#$%:?_+'"\/]/g," ").replace(/\s\s+/g," "):""}function I(d,h){return!d||!h?!1:Vl(d).toLowerCase().includes(Vl(h).toLowerCase())}function Nl(d,h){return d?I(d,h)||I(z.levelTerm+" "+d,h):!1}g.forEach(d=>{S.some(h=>I(d.name,h)||d.booths.some(v=>!h&&I(v.name,h)||Nl(v.layer?.name??null,h)))&&L.add(d)}),this.selectedCategoryFilters.length>0&&D.forEach(d=>{(this.heatmap||!(d instanceof E)||!Array.from(L).find(v=>v.booths.includes(d)))&&S.some(v=>I(d.title||"",v)||I(d.name,v)||I(d.fullName,v)||Nl(d.layer?.name??null,v))&&G.add(d)});const Zl=p,Xl=_;if(Zl.forEach(d=>{S.some(h=>I(d.name||"",h)||I(d.description||"",h))&&Hl.add(d)}),Xl.forEach(d=>{S.some(h=>I(d.name,h)||I(d.company,h)||I(d.jobTitle,h))&&Wl.add(d)}),P.push(...Hl),P.push(...L),this.heatmap)return P.sort((d,h)=>u.getClicksByType(h)-u.getClicksByType(d));const Jl=new Map(P.map(d=>[d.id,d]));return P.map(d=>{if(!d.name)return null;const h=Yl(d instanceof T&&d.fullName.toLowerCase()||d.name.toLowerCase()),v=h.indexOf(Yl(t));if(v===-1)return null;const Kl={id:d.id,position:v,lowerCaseName:h,featured:!1};return d instanceof b&&(Kl.featured=d.featured),Kl}).filter(Boolean).sort((d,h)=>(d.featured||h.featured)&&d.featured!==h.featured?d.featured?-1:1:d.position!==h.position?d.position-h.position:d.lowerCaseName.localeCompare(h.lowerCaseName)||String(d.id).localeCompare(String(h.id))).map(({id:d})=>Jl.get(d))}get searchList(){return[...this.rootStore.eventStore.eventItems,...this.rootStore.speakerStore.speakers,...this.rootStore.categoryStore.categories.filter(t=>t.exhibitors.length),...this.rootStore.exhibitorStore.exhibitors,...this.rootStore.boothStore.booths]}get foundInDescription(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return[];const e=this.fuzzySearchItems.map(({item:n})=>n),s=new Set(e.map(n=>n.name)),f=this.categoryFilteredSearchList.filter(n=>!s.has(n.name)),r=[];for(const n of f){const u=n.description;if(!u)continue;const B=(jl(u)?$l(u):u).toLowerCase().indexOf(t);B!==-1&&r.push({item:n,pos:B})}return r.sort((n,u)=>n.pos-u.pos),r.map(n=>n.item)}get foundInDescriptionStruct(){const t={};if(this.list?.type!=="search")return t;const e=this.list?.text?.trim().toLowerCase();return this.foundInDescription.forEach(s=>{let f=s.description;if(!f)return;jl(f)&&(f=$l(f));const r=f.toLowerCase().indexOf(e);if(r===-1)return;const n=3,u=r>n?r-n:0,g=f.substring(u).trim();t[s.id]=r>0?`...${g}`:g}),t}get categoryFilteredSearchList(){return this.selectedCategoryFilters.length===0?this.searchList:this.searchList.filter(t=>t instanceof b&&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,u=n.entity.type,g=u==="booth"?n:null,B=u==="exhibitor"?n:null,D=[n.name?.toLowerCase()??"",g?.title?.toLowerCase()??"",g?.fullName?.toLowerCase()??"",...B?.booths?.map(_=>_.name?.toLowerCase()??"")??[]];let p=1/0;for(const _ of D){const S=_.indexOf(t);S!==-1&&S<p&&(p=S)}p!==1/0?s.push({result:{item:n,score:0},pos:p}):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 b&&!this.selectedCategoryFilters.some(n=>r.categories.some(u=>u.id===n.id)))return!1;if(this.selectedPoiTypeFilters.length>0){if(r instanceof b&&!r.booths.some(n=>this.selectedPoiTypeFilters.some(u=>n.poiTypeId===u.id))||r instanceof T&&!this.selectedPoiTypeFilters.some(n=>r.poiTypeId===n.id))return!1;if(r instanceof F&&r.boothId){const n=this.rootStore.boothStore.booths.find(u=>u.id===r.boothId);if(!n||!this.selectedPoiTypeFilters.some(u=>n.poiTypeId===u.id))return!1}}return!0}):t;case"bookmarks":return[...this.rootStore.exhibitorStore.bookmarked,...this.rootStore.eventStore.bookmarked,...this.rootStore.speakerStore.bookmarked,...this.rootStore.boothStore.booths.filter(r=>r.exhibitors.length===0&&r.bookmarkedDirectly)];case"visited":return[...this.rootStore.exhibitorStore.visited,...this.rootStore.eventStore.visited];case"category":return this.list.category.exhibitors;case A:return nr();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 dr(r)?.entity||null}).filter(Boolean):[];case"route-planner":return this.rootStore.routePlannerStore.resolvedBooths}throw new Error("Unknown list.type")}get listBooths(){return K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems)}get selectedBooths(){let t=[];this.selectedExhibitor?t=this.selectedExhibitor.booths:this.selectedBooth&&(t=[this.selectedBooth]);const e=this.selectedRoute;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)?C&&localStorage.removeItem(Gl):C&&localStorage.setItem(Gl,JSON.stringify(e)),this.mapControlsHidden=!e.controls,this.floorsControlHidden=!e.levels,this.hideHeaderLogo=!e.header,this.hideFreeOrDemo=!e.header,this.hideOverlay=!e.overlay}toggleMapOverlay(){this.overlayPosition==="bottom"&&this.overlaySize==="full"?this.desiredOverlaySize="medium":this.overlayPosition==="bottom"&&this.overlaySize!=="full"&&(this.desiredOverlaySize="full")}changeZoom(t){this.zoomBy=t}zoomIn(){this.changeZoom(1.5)}zoomOut(){this.changeZoom(.66)}fitBounds(){this.moveToRect=this.rootStore.layerStore.rectangle||lr,this.rollReset=!0}get previewMode(){return C&&localStorage.getItem(tr)==="1"||this.rootStore.fp.previewMode}get viewerMode(){return C&&localStorage.getItem(sr)==="1"||this.rootStore.fp.viewerMode}get selectedEventItem(){return this.details instanceof F?this.details:null}get defaultMapSettings(){return{zoomtime:500,center:void 0,centerxy:void 0,z:void 0,bearing:0,roll:1}}mapSettings=(a(this,xa),a(this,$a,{...this.defaultMapSettings}));saveMapSettings(t){const e=JSON.stringify(this.mapSettings),s=JSON.stringify(t);e!==s&&sessionStorage.setItem(ql,JSON.stringify(t))}setMapSettings(t){const e={};for(const s in t)t[s]!=null&&(s==="zoomtime"?e[s]=Math.min(Math.max(t[s]||this.mapSettings.zoomtime,500),5e3):e[s]=t[s]);this.mapSettings={...this.mapSettings,...e},this.saveMapSettings(this.mapSettings)}resetMapSettings(){this.mapSettings={...this.defaultMapSettings},this.saveMapSettings(this.mapSettings)}get baseQRCodeUrl(){return`https://${V.EXPO}.expofp.com`}get viewMapOnPhoneQRCodeUrl(){if(z?.customKioskQrCodeUrl)return z.customKioskQrCodeUrl;const t=new URL(this.baseQRCodeUrl);t.search=window.location.search;const e=t.toString();return console.log("View Map On Phone QR Code Url",e),e}get routeQRCodeUrl(){const t=new URL(this.baseQRCodeUrl),e=this.selectedRoute?.to?.slug||"",s=this.selectedRoute?.from?.slug||"";t.search=`?route%3A${encodeURIComponent(e)}%3A${encodeURIComponent(s)}%3Afalse`,hr(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 b&&!!this.details.featured}get activeInterfaceData(){for(const t of this.interfaceMetadata)if(t.isActive())return t;return null}get searchBoxConfig(){const t=this.activeInterfaceData;return!t||!t.searchBoxConfig?{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}:t.searchBoxConfig()||{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}}get searchBoxActions(){return this.activeInterfaceData?.actions?.()??[]}get overlayInterfaceClasses(){const t=[],e=this.activeInterfaceData;return e&&(t.push(e.className),e.additionalClasses&&t.push(...e.additionalClasses())),this.details&&t.push("overlay-has-details"),this.list.type&&t.push(`overlay-list-${this.list.type}`),this.isFeaturedExhibitorActive&&t.push("overlay-exhibitor-featured"),t}get isOverlayOpen(){return this.noOverlay||this.hideOverlay?!1:this.activeInterfaceData!==null}setOverlayScrolled(t){this.isOverlayScrolled=t}setListScrollTop(t,e){this.listScrollTop=e,this.scrollPositions.set(t,e)}setListScrollItemId(t,e){this.listScrollItemId=e,this.scrollItemIds.set(t,e)}getListScrollTop(t){return this.scrollPositions.get(t)||0}getListScrollItemId(t){return this.scrollItemIds.get(t)||null}clearListScroll(t){this.scrollPositions.delete(t),this.scrollItemIds.delete(t),this.list.type===t&&(this.listScrollTop=0,this.listScrollItemId=null)}get bannerType(){return this.hideFreeOrDemo||this.heatmap?null:V.EXPO==="expo"?"demo":z.expoFpAd||z.isTrial?"free":null}get isBannerVisible(){return this.bannerType!==null}setCurrentBanner(t){this.currentBanner=t}forceShowDetails=(a(this,ja),a(this,pl,!1));setForceShowDetails(t){this.forceShowDetails=t}get showRouteInstantly(){return!!(this.kiosk&&!this.forceShowDetails)}buildRoute=(a(this,_l),a(this,kl,!1));startBuildRoute(){this.rootStore.selectSearch(""),this.mapControlsHidden=!0,this.floorsControlHidden=!0,this.hideHeaderLogo=!0,this.hideFreeOrDemo=!0,this.hideOverlay=!0,this.hideCookieConsent=!0,this.buildRoute=!0}globalErrorMessages=(a(this,Il),a(this,zl,[]));setGlobalErrorMessage(t){this.globalErrorMessages.push(t)}popGlobalErrorMessage(){this.globalErrorMessages.pop()}initializeUIScale(){if(new URLSearchParams(window.location.search).get("kiosk")!=="0"&&C){const e=localStorage.getItem(Q);if(e){const s=parseFloat(e);!isNaN(s)&&s>=.8&&s<=1.4&&(this._customUIScale=s)}}}minUIScale=(a(this,Cl),.8);maxUIScale=1.4;setUIScale(t,e=!0){if(isNaN(t)||t<this.minUIScale||t>this.maxUIScale){ir.warn(`Invalid ui-scale value: ${t}. Must be between ${this.minUIScale} and ${this.maxUIScale}.`);return}this._customUIScale=t,e&&C&&localStorage.setItem(Q,t.toString())}resetUIScale(){this._customUIScale=null,C&&localStorage.removeItem(Q)}setKioskModeEnabled=a(this,Ol,!1);enableSetKioskMode(t){this.setKioskModeEnabled=t}kioskData=(a(this,Dl),a(this,El,void 0));setKioskData(t){this.kioskData=t}}})();export default mr;function K(U,O,H=[]){const x=[];return U.forEach(k=>{k instanceof b?x.push(...k.booths):k instanceof T?x.push(k):k instanceof F?k.boothId&&x.push(O.find(l=>l.id===k.boothId)):k instanceof $&&H.filter(l=>l.speakers.some(w=>w.id===k.id)&&l.boothId).forEach(l=>x.push(O.find(w=>w.id===l.boothId)))}),new Set(x.filter(Boolean))}
1
+ import{__esDecorate as i,__runInitializers as a}from"tslib";import{action as m,computed as c,observable as o}from"mobx";import{uiState as w}from".";import{MAP_SETTINGS_KEY as ql,MOBILE_BREAKPOINT as er,PREVIEW_MODE_STORAGE_KEY as tr,UI_SCALE_STORAGE_KEY as Q,VIEWER_MODE_STORAGE_KEY as sr,VISIBILITY_STORAGE_KEY as Gl,LANGUAGE_TYPE as A}from"../constants";import ir from"../tools/logger";import ar from"../core/Rect";import C from"../data";import{svgArea as lr}from"../data/svg";import{hasUserConsent as rr}from"../tools/gtag";import V from"../tools/settings";import{remsToPixels as N}from"../utils";import Ql from"../utils/browser";import{getLocale as or,getLocales as nr,t as y}from"../utils/i18n";import{isLocalStorageAvailable as B}from"../utils/localStorage";import{getResponsiveClass as cr}from"../utils/responsiveClass";import{BoothBase as b,RegularBooth as E,SpecialBooth as Y}from"./BoothStore";import{Exhibitor as x}from"./ExhibitorStore";import{Route as R,findEntityByExternalId as dr}from"./RouteStore";import{EventItem as F}from"./EventStore";import{SpeakerItem as $}from"./SpeakerStore";import{sanitizeStr as Yl}from"../utils/sanitizeText";import{setKioskUrlParams as hr}from"../components/Kiosk/kioskUrlParam";import{readFreeBannerDismissed as ur}from"../tools/freeBanner";import{stripHtml as $l}from"../tools/strip-html";import{hasHtmlTags as jl}from"../tools/has-html-tags";const fr=["dimensions25"];let mr=(()=>{var U,O,H,z,k;let l=[],T,j=[],W=[],Z,X=[],J=[],q,ee=[],te=[],se,ie=[],ae=[],le,re=[],oe=[],ne,ce=[],de=[],he,ue=[],fe=[],me,ge=[],pe=[],_e,ve=[],Se=[],ye,ke=[],Ie=[],be,xe=[],ze=[],Ce,Be=[],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=[],Fl=[],Ul;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;T=[(U=o).struct.bind(U)],Z=[(O=o).ref.bind(O)],q=[(H=o).ref.bind(H)],se=[(z=o).ref.bind(z)],le=[o],ne=[o],he=[o],me=[o],_e=[o],ye=[o],be=[o],Ce=[o],Me=[o],Re=[o],Le=[o],Fe=[(k=o).struct.bind(k)],Ve=[o],Ge=[o],$e=[o],Ze=[o],qe=[o],st=[o],lt=[o],nt=[o],ht=[o],mt=[o],_t=[o],yt=[o],bt=[o],Ct=[o],Mt=[o],Rt=[o],Lt=[o],Ft=[o],Vt=[o],Gt=[o],$t=[o],Zt=[o],qt=[o],ss=[o],ls=[o],ns=[o],hs=[o],ms=[o],_s=[o],ys=[o],bs=[o],Cs=[o],Ms=[o],Rs=[o],Ls=[o],Fs=[o],Vs=[o],Gs=[o],$s=[o],Zs=[o],qs=[o],si=[o],li=[o],ni=[o],hi=[o],mi=[o],_i=[o],yi=[o],bi=[o],Ci=[m],Bi=[m],Pi=[m],Mi=[m],wi=[m],Ti=[m],Ri=[m],Oi=[m],Di=[m],Li=[m],Ai=[m],Ei=[c],Fi=[c],Ui=[c],Hi=[c({keepAlive:!0})],Vi=[c({keepAlive:!0})],Ni=[c({keepAlive:!0})],Ki=[c({keepAlive:!0})],Gi=[c({keepAlive:!0})],Qi=[c({keepAlive:!0})],Yi=[c({keepAlive:!0})],$i=[c({keepAlive:!0})],ji=[c({keepAlive:!0})],Wi=[c],Zi=[c],Xi=[c],Ji=[c],qi=[c],ea=[c],ta=[c],sa=[c],ia=[c({keepAlive:!0})],aa=[c],la=[c],ra=[c({keepAlive:!0})],oa=[c],na=[c],ca=[c],da=[c],ha=[c],ua=[c],fa=[c],ma=[c],ga=[c],pa=[c],_a=[c],va=[c],Sa=[c],ya=[c],ka=[c({keepAlive:!0})],Ia=[o],za=[m],Ca=[c],Ba=[c],Pa=[c],Ma=[c],wa=[c],Ta=[c],Ra=[c],Oa=[c],Da=[c],La=[c({keepAlive:!0})],Aa=[c({keepAlive:!0})],Ea=[c({keepAlive:!0})],Fa=[c],Ua=[m],Ha=[m],Va=[m],Na=[m],Ka=[m],Ga=[m],Qa=[c({keepAlive:!0})],Ya=[o],Wa=[m],Za=[m],Xa=[c],Ja=[c],qa=[c],el=[c],tl=[c],sl=[c],il=[c],al=[c],ll=[c],rl=[m],ol=[m],nl=[m],cl=[m],dl=[m],hl=[m],ul=[c],fl=[c],ml=[m],gl=[o],vl=[m],Sl=[c],yl=[o],bl=[m],xl=[o],Bl=[m],Pl=[m],Ml=[m],wl=[m],Tl=[m],Rl=[o],Ll=[m],Al=[o],Ul=[m],i(this,null,Ci,{kind:"method",name:"setSelectedCategoryFilters",static:!1,private:!1,access:{has:e=>"setSelectedCategoryFilters"in e,get:e=>e.setSelectedCategoryFilters},metadata:t},null,l),i(this,null,Bi,{kind:"method",name:"resetCategoryFilter",static:!1,private:!1,access:{has:e=>"resetCategoryFilter"in e,get:e=>e.resetCategoryFilter},metadata:t},null,l),i(this,null,Pi,{kind:"method",name:"setSearchClearMode",static:!1,private:!1,access:{has:e=>"setSearchClearMode"in e,get:e=>e.setSearchClearMode},metadata:t},null,l),i(this,null,Mi,{kind:"method",name:"setRouteTitle",static:!1,private:!1,access:{has:e=>"setRouteTitle"in e,get:e=>e.setRouteTitle},metadata:t},null,l),i(this,null,wi,{kind:"method",name:"setRouteDescription",static:!1,private:!1,access:{has:e=>"setRouteDescription"in e,get:e=>e.setRouteDescription},metadata:t},null,l),i(this,null,Ti,{kind:"method",name:"setIsMultiPointRoute",static:!1,private:!1,access:{has:e=>"setIsMultiPointRoute"in e,get:e=>e.setIsMultiPointRoute},metadata:t},null,l),i(this,null,Ri,{kind:"method",name:"setTourTitle",static:!1,private:!1,access:{has:e=>"setTourTitle"in e,get:e=>e.setTourTitle},metadata:t},null,l),i(this,null,Oi,{kind:"method",name:"setTourDescription",static:!1,private:!1,access:{has:e=>"setTourDescription"in e,get:e=>e.setTourDescription},metadata:t},null,l),i(this,null,Di,{kind:"method",name:"setIsMultiPointTour",static:!1,private:!1,access:{has:e=>"setIsMultiPointTour"in e,get:e=>e.setIsMultiPointTour},metadata:t},null,l),i(this,null,Li,{kind:"method",name:"setPathwayOnlyMode",static:!1,private:!1,access:{has:e=>"setPathwayOnlyMode"in e,get:e=>e.setPathwayOnlyMode},metadata:t},null,l),i(this,null,Ai,{kind:"method",name:"setMultiPointTourList",static:!1,private:!1,access:{has:e=>"setMultiPointTourList"in e,get:e=>e.setMultiPointTourList},metadata:t},null,l),i(this,null,Ei,{kind:"getter",name:"activePathwayLayers",static:!1,private:!1,access:{has:e=>"activePathwayLayers"in e,get:e=>e.activePathwayLayers},metadata:t},null,l),i(this,null,Fi,{kind:"getter",name:"highlightedBooths",static:!1,private:!1,access:{has:e=>"highlightedBooths"in e,get:e=>e.highlightedBooths},metadata:t},null,l),i(this,null,Ui,{kind:"getter",name:"rtl",static:!1,private:!1,access:{has:e=>"rtl"in e,get:e=>e.rtl},metadata:t},null,l),i(this,null,Hi,{kind:"getter",name:"noOverlay",static:!1,private:!1,access:{has:e=>"noOverlay"in e,get:e=>e.noOverlay},metadata:t},null,l),i(this,null,Vi,{kind:"getter",name:"selectedExhibitor",static:!1,private:!1,access:{has:e=>"selectedExhibitor"in e,get:e=>e.selectedExhibitor},metadata:t},null,l),i(this,null,Ni,{kind:"getter",name:"selectedBooth",static:!1,private:!1,access:{has:e=>"selectedBooth"in e,get:e=>e.selectedBooth},metadata:t},null,l),i(this,null,Ki,{kind:"getter",name:"selectedCategory",static:!1,private:!1,access:{has:e=>"selectedCategory"in e,get:e=>e.selectedCategory},metadata:t},null,l),i(this,null,Gi,{kind:"getter",name:"selectedRoute",static:!1,private:!1,access:{has:e=>"selectedRoute"in e,get:e=>e.selectedRoute},metadata:t},null,l),i(this,null,Qi,{kind:"getter",name:"selectedSpeaker",static:!1,private:!1,access:{has:e=>"selectedSpeaker"in e,get:e=>e.selectedSpeaker},metadata:t},null,l),i(this,null,Yi,{kind:"getter",name:"uiScale",static:!1,private:!1,access:{has:e=>"uiScale"in e,get:e=>e.uiScale},metadata:t},null,l),i(this,null,$i,{kind:"getter",name:"isGuidedToursActive",static:!1,private:!1,access:{has:e=>"isGuidedToursActive"in e,get:e=>e.isGuidedToursActive},metadata:t},null,l),i(this,null,ji,{kind:"getter",name:"getRouteNextFloor",static:!1,private:!1,access:{has:e=>"getRouteNextFloor"in e,get:e=>e.getRouteNextFloor},metadata:t},null,l),i(this,null,Wi,{kind:"getter",name:"headerHeightRem",static:!1,private:!1,access:{has:e=>"headerHeightRem"in e,get:e=>e.headerHeightRem},metadata:t},null,l),i(this,null,Zi,{kind:"getter",name:"headerHeightPx",static:!1,private:!1,access:{has:e=>"headerHeightPx"in e,get:e=>e.headerHeightPx},metadata:t},null,l),i(this,null,Xi,{kind:"getter",name:"overlayPosition",static:!1,private:!1,access:{has:e=>"overlayPosition"in e,get:e=>e.overlayPosition},metadata:t},null,l),i(this,null,Ji,{kind:"getter",name:"overlayCollapsed",static:!1,private:!1,access:{has:e=>"overlayCollapsed"in e,get:e=>e.overlayCollapsed},metadata:t},null,l),i(this,null,qi,{kind:"getter",name:"overlaySize",static:!1,private:!1,access:{has:e=>"overlaySize"in e,get:e=>e.overlaySize},metadata:t},null,l),i(this,null,ea,{kind:"getter",name:"overlayBottom",static:!1,private:!1,access:{has:e=>"overlayBottom"in e,get:e=>e.overlayBottom},metadata:t},null,l),i(this,null,ta,{kind:"getter",name:"overlayLeft",static:!1,private:!1,access:{has:e=>"overlayLeft"in e,get:e=>e.overlayLeft},metadata:t},null,l),i(this,null,sa,{kind:"getter",name:"overlayWidthPx",static:!1,private:!1,access:{has:e=>"overlayWidthPx"in e,get:e=>e.overlayWidthPx},metadata:t},null,l),i(this,null,ia,{kind:"getter",name:"wsImageHeightPx",static:!1,private:!1,access:{has:e=>"wsImageHeightPx"in e,get:e=>e.wsImageHeightPx},metadata:t},null,l),i(this,null,aa,{kind:"getter",name:"wsPaddingPx",static:!1,private:!1,access:{has:e=>"wsPaddingPx"in e,get:e=>e.wsPaddingPx},metadata:t},null,l),i(this,null,la,{kind:"getter",name:"wsOccupiedHeightPx",static:!1,private:!1,access:{has:e=>"wsOccupiedHeightPx"in e,get:e=>e.wsOccupiedHeightPx},metadata:t},null,l),i(this,null,ra,{kind:"getter",name:"wsShown",static:!1,private:!1,access:{has:e=>"wsShown"in e,get:e=>e.wsShown},metadata:t},null,l),i(this,null,oa,{kind:"getter",name:"wsDesktopPosition",static:!1,private:!1,access:{has:e=>"wsDesktopPosition"in e,get:e=>e.wsDesktopPosition},metadata:t},null,l),i(this,null,na,{kind:"getter",name:"wsPosition",static:!1,private:!1,access:{has:e=>"wsPosition"in e,get:e=>e.wsPosition},metadata:t},null,l),i(this,null,ca,{kind:"getter",name:"responsiveClass",static:!1,private:!1,access:{has:e=>"responsiveClass"in e,get:e=>e.responsiveClass},metadata:t},null,l),i(this,null,da,{kind:"getter",name:"mapVisibleTop",static:!1,private:!1,access:{has:e=>"mapVisibleTop"in e,get:e=>e.mapVisibleTop},metadata:t},null,l),i(this,null,ha,{kind:"getter",name:"mapVisibleBottom",static:!1,private:!1,access:{has:e=>"mapVisibleBottom"in e,get:e=>e.mapVisibleBottom},metadata:t},null,l),i(this,null,ua,{kind:"getter",name:"mapVisibleStart",static:!1,private:!1,access:{has:e=>"mapVisibleStart"in e,get:e=>e.mapVisibleStart},metadata:t},null,l),i(this,null,fa,{kind:"getter",name:"searchActionsHeightPx",static:!1,private:!1,access:{has:e=>"searchActionsHeightPx"in e,get:e=>e.searchActionsHeightPx},metadata:t},null,l),i(this,null,ma,{kind:"getter",name:"fullSizeOffset",static:!1,private:!1,access:{has:e=>"fullSizeOffset"in e,get:e=>e.fullSizeOffset},metadata:t},null,l),i(this,null,ga,{kind:"getter",name:"shouldShowSearchButtons",static:!1,private:!1,access:{has:e=>"shouldShowSearchButtons"in e,get:e=>e.shouldShowSearchButtons},metadata:t},null,l),i(this,null,pa,{kind:"getter",name:"canvasVisibleRectPx",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPx"in e,get:e=>e.canvasVisibleRectPx},metadata:t},null,l),i(this,null,_a,{kind:"getter",name:"shouldShiftMapRect",static:!1,private:!1,access:{has:e=>"shouldShiftMapRect"in e,get:e=>e.shouldShiftMapRect},metadata:t},null,l),i(this,null,va,{kind:"getter",name:"hasAppliedFilters",static:!1,private:!1,access:{has:e=>"hasAppliedFilters"in e,get:e=>e.hasAppliedFilters},metadata:t},null,l),i(this,null,Sa,{kind:"getter",name:"canvasVisibleRectPt",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPt"in e,get:e=>e.canvasVisibleRectPt},metadata:t},null,l),i(this,null,ya,{kind:"getter",name:"canvasSizePt",static:!1,private:!1,access:{has:e=>"canvasSizePt"in e,get:e=>e.canvasSizePt},metadata:t},null,l),i(this,null,ka,{kind:"getter",name:"shouldUseBackdrop",static:!1,private:!1,access:{has:e=>"shouldUseBackdrop"in e,get:e=>e.shouldUseBackdrop},metadata:t},null,l),i(this,null,za,{kind:"method",name:"setForceDimm",static:!1,private:!1,access:{has:e=>"setForceDimm"in e,get:e=>e.setForceDimm},metadata:t},null,l),i(this,null,Ca,{kind:"getter",name:"dimmed",static:!1,private:!1,access:{has:e=>"dimmed"in e,get:e=>e.dimmed},metadata:t},null,l),i(this,null,Ba,{kind:"getter",name:"defaultSearchItems",static:!1,private:!1,access:{has:e=>"defaultSearchItems"in e,get:e=>e.defaultSearchItems},metadata:t},null,l),i(this,null,Pa,{kind:"getter",name:"searchItems",static:!1,private:!1,access:{has:e=>"searchItems"in e,get:e=>e.searchItems},metadata:t},null,l),i(this,null,Ma,{kind:"getter",name:"searchList",static:!1,private:!1,access:{has:e=>"searchList"in e,get:e=>e.searchList},metadata:t},null,l),i(this,null,wa,{kind:"getter",name:"foundInDescription",static:!1,private:!1,access:{has:e=>"foundInDescription"in e,get:e=>e.foundInDescription},metadata:t},null,l),i(this,null,Ta,{kind:"getter",name:"foundInDescriptionStruct",static:!1,private:!1,access:{has:e=>"foundInDescriptionStruct"in e,get:e=>e.foundInDescriptionStruct},metadata:t},null,l),i(this,null,Ra,{kind:"getter",name:"categoryFilteredSearchList",static:!1,private:!1,access:{has:e=>"categoryFilteredSearchList"in e,get:e=>e.categoryFilteredSearchList},metadata:t},null,l),i(this,null,Oa,{kind:"getter",name:"fuzzySearchItems",static:!1,private:!1,access:{has:e=>"fuzzySearchItems"in e,get:e=>e.fuzzySearchItems},metadata:t},null,l),i(this,null,Da,{kind:"getter",name:"listItems",static:!1,private:!1,access:{has:e=>"listItems"in e,get:e=>e.listItems},metadata:t},null,l),i(this,null,La,{kind:"getter",name:"listBooths",static:!1,private:!1,access:{has:e=>"listBooths"in e,get:e=>e.listBooths},metadata:t},null,l),i(this,null,Aa,{kind:"getter",name:"selectedBooths",static:!1,private:!1,access:{has:e=>"selectedBooths"in e,get:e=>e.selectedBooths},metadata:t},null,l),i(this,null,Ea,{kind:"getter",name:"hoveredBooths",static:!1,private:!1,access:{has:e=>"hoveredBooths"in e,get:e=>e.hoveredBooths},metadata:t},null,l),i(this,null,Fa,{kind:"getter",name:"visibility",static:!1,private:!1,access:{has:e=>"visibility"in e,get:e=>e.visibility},metadata:t},null,l),i(this,null,Ua,{kind:"method",name:"setVisibility",static:!1,private:!1,access:{has:e=>"setVisibility"in e,get:e=>e.setVisibility},metadata:t},null,l),i(this,null,Ha,{kind:"method",name:"toggleMapOverlay",static:!1,private:!1,access:{has:e=>"toggleMapOverlay"in e,get:e=>e.toggleMapOverlay},metadata:t},null,l),i(this,null,Va,{kind:"method",name:"changeZoom",static:!1,private:!1,access:{has:e=>"changeZoom"in e,get:e=>e.changeZoom},metadata:t},null,l),i(this,null,Na,{kind:"method",name:"zoomIn",static:!1,private:!1,access:{has:e=>"zoomIn"in e,get:e=>e.zoomIn},metadata:t},null,l),i(this,null,Ka,{kind:"method",name:"zoomOut",static:!1,private:!1,access:{has:e=>"zoomOut"in e,get:e=>e.zoomOut},metadata:t},null,l),i(this,null,Ga,{kind:"method",name:"fitBounds",static:!1,private:!1,access:{has:e=>"fitBounds"in e,get:e=>e.fitBounds},metadata:t},null,l),i(this,null,Qa,{kind:"getter",name:"selectedEventItem",static:!1,private:!1,access:{has:e=>"selectedEventItem"in e,get:e=>e.selectedEventItem},metadata:t},null,l),i(this,null,Wa,{kind:"method",name:"setMapSettings",static:!1,private:!1,access:{has:e=>"setMapSettings"in e,get:e=>e.setMapSettings},metadata:t},null,l),i(this,null,Za,{kind:"method",name:"resetMapSettings",static:!1,private:!1,access:{has:e=>"resetMapSettings"in e,get:e=>e.resetMapSettings},metadata:t},null,l),i(this,null,Xa,{kind:"getter",name:"baseQRCodeUrl",static:!1,private:!1,access:{has:e=>"baseQRCodeUrl"in e,get:e=>e.baseQRCodeUrl},metadata:t},null,l),i(this,null,Ja,{kind:"getter",name:"viewMapOnPhoneQRCodeUrl",static:!1,private:!1,access:{has:e=>"viewMapOnPhoneQRCodeUrl"in e,get:e=>e.viewMapOnPhoneQRCodeUrl},metadata:t},null,l),i(this,null,qa,{kind:"getter",name:"routeQRCodeUrl",static:!1,private:!1,access:{has:e=>"routeQRCodeUrl"in e,get:e=>e.routeQRCodeUrl},metadata:t},null,l),i(this,null,el,{kind:"getter",name:"isFeaturedExhibitorActive",static:!1,private:!1,access:{has:e=>"isFeaturedExhibitorActive"in e,get:e=>e.isFeaturedExhibitorActive},metadata:t},null,l),i(this,null,tl,{kind:"getter",name:"activeInterfaceData",static:!1,private:!1,access:{has:e=>"activeInterfaceData"in e,get:e=>e.activeInterfaceData},metadata:t},null,l),i(this,null,sl,{kind:"getter",name:"searchBoxConfig",static:!1,private:!1,access:{has:e=>"searchBoxConfig"in e,get:e=>e.searchBoxConfig},metadata:t},null,l),i(this,null,il,{kind:"getter",name:"searchBoxActions",static:!1,private:!1,access:{has:e=>"searchBoxActions"in e,get:e=>e.searchBoxActions},metadata:t},null,l),i(this,null,al,{kind:"getter",name:"overlayInterfaceClasses",static:!1,private:!1,access:{has:e=>"overlayInterfaceClasses"in e,get:e=>e.overlayInterfaceClasses},metadata:t},null,l),i(this,null,ll,{kind:"getter",name:"isOverlayOpen",static:!1,private:!1,access:{has:e=>"isOverlayOpen"in e,get:e=>e.isOverlayOpen},metadata:t},null,l),i(this,null,rl,{kind:"method",name:"setOverlayScrolled",static:!1,private:!1,access:{has:e=>"setOverlayScrolled"in e,get:e=>e.setOverlayScrolled},metadata:t},null,l),i(this,null,ol,{kind:"method",name:"setListScrollTop",static:!1,private:!1,access:{has:e=>"setListScrollTop"in e,get:e=>e.setListScrollTop},metadata:t},null,l),i(this,null,nl,{kind:"method",name:"setListScrollItemId",static:!1,private:!1,access:{has:e=>"setListScrollItemId"in e,get:e=>e.setListScrollItemId},metadata:t},null,l),i(this,null,cl,{kind:"method",name:"getListScrollTop",static:!1,private:!1,access:{has:e=>"getListScrollTop"in e,get:e=>e.getListScrollTop},metadata:t},null,l),i(this,null,dl,{kind:"method",name:"getListScrollItemId",static:!1,private:!1,access:{has:e=>"getListScrollItemId"in e,get:e=>e.getListScrollItemId},metadata:t},null,l),i(this,null,hl,{kind:"method",name:"clearListScroll",static:!1,private:!1,access:{has:e=>"clearListScroll"in e,get:e=>e.clearListScroll},metadata:t},null,l),i(this,null,ul,{kind:"getter",name:"bannerType",static:!1,private:!1,access:{has:e=>"bannerType"in e,get:e=>e.bannerType},metadata:t},null,l),i(this,null,fl,{kind:"getter",name:"isBannerVisible",static:!1,private:!1,access:{has:e=>"isBannerVisible"in e,get:e=>e.isBannerVisible},metadata:t},null,l),i(this,null,ml,{kind:"method",name:"setCurrentBanner",static:!1,private:!1,access:{has:e=>"setCurrentBanner"in e,get:e=>e.setCurrentBanner},metadata:t},null,l),i(this,null,vl,{kind:"method",name:"setForceShowDetails",static:!1,private:!1,access:{has:e=>"setForceShowDetails"in e,get:e=>e.setForceShowDetails},metadata:t},null,l),i(this,null,Sl,{kind:"getter",name:"showRouteInstantly",static:!1,private:!1,access:{has:e=>"showRouteInstantly"in e,get:e=>e.showRouteInstantly},metadata:t},null,l),i(this,null,bl,{kind:"method",name:"startBuildRoute",static:!1,private:!1,access:{has:e=>"startBuildRoute"in e,get:e=>e.startBuildRoute},metadata:t},null,l),i(this,null,Bl,{kind:"method",name:"setGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"setGlobalErrorMessage"in e,get:e=>e.setGlobalErrorMessage},metadata:t},null,l),i(this,null,Pl,{kind:"method",name:"popGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"popGlobalErrorMessage"in e,get:e=>e.popGlobalErrorMessage},metadata:t},null,l),i(this,null,Ml,{kind:"method",name:"initializeUIScale",static:!1,private:!1,access:{has:e=>"initializeUIScale"in e,get:e=>e.initializeUIScale},metadata:t},null,l),i(this,null,wl,{kind:"method",name:"setUIScale",static:!1,private:!1,access:{has:e=>"setUIScale"in e,get:e=>e.setUIScale},metadata:t},null,l),i(this,null,Tl,{kind:"method",name:"resetUIScale",static:!1,private:!1,access:{has:e=>"resetUIScale"in e,get:e=>e.resetUIScale},metadata:t},null,l),i(this,null,Ll,{kind:"method",name:"enableSetKioskMode",static:!1,private:!1,access:{has:e=>"enableSetKioskMode"in e,get:e=>e.enableSetKioskMode},metadata:t},null,l),i(this,null,Ul,{kind:"method",name:"setKioskData",static:!1,private:!1,access:{has:e=>"setKioskData"in e,get:e=>e.setKioskData},metadata:t},null,l),i(null,null,T,{kind:"field",name:"list",static:!1,private:!1,access:{has:e=>"list"in e,get:e=>e.list,set:(e,s)=>{e.list=s}},metadata:t},j,W),i(null,null,Z,{kind:"field",name:"details",static:!1,private:!1,access:{has:e=>"details"in e,get:e=>e.details,set:(e,s)=>{e.details=s}},metadata:t},X,J),i(null,null,q,{kind:"field",name:"hoveredExhibitor",static:!1,private:!1,access:{has:e=>"hoveredExhibitor"in e,get:e=>e.hoveredExhibitor,set:(e,s)=>{e.hoveredExhibitor=s}},metadata:t},ee,te),i(null,null,se,{kind:"field",name:"hoveredBooth",static:!1,private:!1,access:{has:e=>"hoveredBooth"in e,get:e=>e.hoveredBooth,set:(e,s)=>{e.hoveredBooth=s}},metadata:t},ie,ae),i(null,null,le,{kind:"field",name:"zoomBy",static:!1,private:!1,access:{has:e=>"zoomBy"in e,get:e=>e.zoomBy,set:(e,s)=>{e.zoomBy=s}},metadata:t},re,oe),i(null,null,ne,{kind:"field",name:"rollReset",static:!1,private:!1,access:{has:e=>"rollReset"in e,get:e=>e.rollReset,set:(e,s)=>{e.rollReset=s}},metadata:t},ce,de),i(null,null,he,{kind:"field",name:"moveToBooths",static:!1,private:!1,access:{has:e=>"moveToBooths"in e,get:e=>e.moveToBooths,set:(e,s)=>{e.moveToBooths=s}},metadata:t},ue,fe),i(null,null,me,{kind:"field",name:"moveToRect",static:!1,private:!1,access:{has:e=>"moveToRect"in e,get:e=>e.moveToRect,set:(e,s)=>{e.moveToRect=s}},metadata:t},ge,pe),i(null,null,_e,{kind:"field",name:"moveToLocation",static:!1,private:!1,access:{has:e=>"moveToLocation"in e,get:e=>e.moveToLocation,set:(e,s)=>{e.moveToLocation=s}},metadata:t},ve,Se),i(null,null,ye,{kind:"field",name:"menu",static:!1,private:!1,access:{has:e=>"menu"in e,get:e=>e.menu,set:(e,s)=>{e.menu=s}},metadata:t},ke,Ie),i(null,null,be,{kind:"field",name:"searchFocused",static:!1,private:!1,access:{has:e=>"searchFocused"in e,get:e=>e.searchFocused,set:(e,s)=>{e.searchFocused=s}},metadata:t},xe,ze),i(null,null,Ce,{kind:"field",name:"searchClearMode",static:!1,private:!1,access:{has:e=>"searchClearMode"in e,get:e=>e.searchClearMode,set:(e,s)=>{e.searchClearMode=s}},metadata:t},Be,Pe),i(null,null,Me,{kind:"field",name:"printingPdf",static:!1,private:!1,access:{has:e=>"printingPdf"in e,get:e=>e.printingPdf,set:(e,s)=>{e.printingPdf=s}},metadata:t},we,Te),i(null,null,Re,{kind:"field",name:"largeMessage",static:!1,private:!1,access:{has:e=>"largeMessage"in e,get:e=>e.largeMessage,set:(e,s)=>{e.largeMessage=s}},metadata:t},Oe,De),i(null,null,Le,{kind:"field",name:"largeMessageLastSet",static:!1,private:!1,access:{has:e=>"largeMessageLastSet"in e,get:e=>e.largeMessageLastSet,set:(e,s)=>{e.largeMessageLastSet=s}},metadata:t},Ae,Ee),i(null,null,Fe,{kind:"field",name:"screenSize",static:!1,private:!1,access:{has:e=>"screenSize"in e,get:e=>e.screenSize,set:(e,s)=>{e.screenSize=s}},metadata:t},Ue,He),i(null,null,Ve,{kind:"field",name:"desiredOverlaySize",static:!1,private:!1,access:{has:e=>"desiredOverlaySize"in e,get:e=>e.desiredOverlaySize,set:(e,s)=>{e.desiredOverlaySize=s}},metadata:t},Ne,Ke),i(null,null,Ge,{kind:"field",name:"overlayShowsAll",static:!1,private:!1,access:{has:e=>"overlayShowsAll"in e,get:e=>e.overlayShowsAll,set:(e,s)=>{e.overlayShowsAll=s}},metadata:t},Qe,Ye),i(null,null,$e,{kind:"field",name:"centerMap",static:!1,private:!1,access:{has:e=>"centerMap"in e,get:e=>e.centerMap,set:(e,s)=>{e.centerMap=s}},metadata:t},je,We),i(null,null,Ze,{kind:"field",name:"zoomAfTransformK",static:!1,private:!1,access:{has:e=>"zoomAfTransformK"in e,get:e=>e.zoomAfTransformK,set:(e,s)=>{e.zoomAfTransformK=s}},metadata:t},Xe,Je),i(null,null,qe,{kind:"field",name:"activeListIndex",static:!1,private:!1,access:{has:e=>"activeListIndex"in e,get:e=>e.activeListIndex,set:(e,s)=>{e.activeListIndex=s}},metadata:t},et,tt),i(null,null,st,{kind:"field",name:"devicePixelRatio",static:!1,private:!1,access:{has:e=>"devicePixelRatio"in e,get:e=>e.devicePixelRatio,set:(e,s)=>{e.devicePixelRatio=s}},metadata:t},it,at),i(null,null,lt,{kind:"field",name:"wsStarted",static:!1,private:!1,access:{has:e=>"wsStarted"in e,get:e=>e.wsStarted,set:(e,s)=>{e.wsStarted=s}},metadata:t},rt,ot),i(null,null,nt,{kind:"field",name:"canvasStarted",static:!1,private:!1,access:{has:e=>"canvasStarted"in e,get:e=>e.canvasStarted,set:(e,s)=>{e.canvasStarted=s}},metadata:t},ct,dt),i(null,null,ht,{kind:"field",name:"kiosk",static:!1,private:!1,access:{has:e=>"kiosk"in e,get:e=>e.kiosk,set:(e,s)=>{e.kiosk=s}},metadata:t},ut,ft),i(null,null,mt,{kind:"field",name:"inIdle",static:!1,private:!1,access:{has:e=>"inIdle"in e,get:e=>e.inIdle,set:(e,s)=>{e.inIdle=s}},metadata:t},gt,pt),i(null,null,_t,{kind:"field",name:"modalActive",static:!1,private:!1,access:{has:e=>"modalActive"in e,get:e=>e.modalActive,set:(e,s)=>{e.modalActive=s}},metadata:t},vt,St),i(null,null,yt,{kind:"field",name:"galleryActive",static:!1,private:!1,access:{has:e=>"galleryActive"in e,get:e=>e.galleryActive,set:(e,s)=>{e.galleryActive=s}},metadata:t},kt,It),i(null,null,bt,{kind:"field",name:"hideOverlay",static:!1,private:!1,access:{has:e=>"hideOverlay"in e,get:e=>e.hideOverlay,set:(e,s)=>{e.hideOverlay=s}},metadata:t},xt,zt),i(null,null,Ct,{kind:"field",name:"hideCookieConsent",static:!1,private:!1,access:{has:e=>"hideCookieConsent"in e,get:e=>e.hideCookieConsent,set:(e,s)=>{e.hideCookieConsent=s}},metadata:t},Bt,Pt),i(null,null,Mt,{kind:"field",name:"hideHeaderLogo",static:!1,private:!1,access:{has:e=>"hideHeaderLogo"in e,get:e=>e.hideHeaderLogo,set:(e,s)=>{e.hideHeaderLogo=s}},metadata:t},wt,Tt),i(null,null,Rt,{kind:"field",name:"hideLogoInBooth",static:!1,private:!1,access:{has:e=>"hideLogoInBooth"in e,get:e=>e.hideLogoInBooth,set:(e,s)=>{e.hideLogoInBooth=s}},metadata:t},Ot,Dt),i(null,null,Lt,{kind:"field",name:"disableBookmarked",static:!1,private:!1,access:{has:e=>"disableBookmarked"in e,get:e=>e.disableBookmarked,set:(e,s)=>{e.disableBookmarked=s}},metadata:t},At,Et),i(null,null,Ft,{kind:"field",name:"hideLanguage",static:!1,private:!1,access:{has:e=>"hideLanguage"in e,get:e=>e.hideLanguage,set:(e,s)=>{e.hideLanguage=s}},metadata:t},Ut,Ht),i(null,null,Vt,{kind:"field",name:"monochrome",static:!1,private:!1,access:{has:e=>"monochrome"in e,get:e=>e.monochrome,set:(e,s)=>{e.monochrome=s}},metadata:t},Nt,Kt),i(null,null,Gt,{kind:"field",name:"heatmap",static:!1,private:!1,access:{has:e=>"heatmap"in e,get:e=>e.heatmap,set:(e,s)=>{e.heatmap=s}},metadata:t},Qt,Yt),i(null,null,$t,{kind:"field",name:"heatmapYah",static:!1,private:!1,access:{has:e=>"heatmapYah"in e,get:e=>e.heatmapYah,set:(e,s)=>{e.heatmapYah=s}},metadata:t},jt,Wt),i(null,null,Zt,{kind:"field",name:"debugCircles",static:!1,private:!1,access:{has:e=>"debugCircles"in e,get:e=>e.debugCircles,set:(e,s)=>{e.debugCircles=s}},metadata:t},Xt,Jt),i(null,null,qt,{kind:"field",name:"mapControlsHidden",static:!1,private:!1,access:{has:e=>"mapControlsHidden"in e,get:e=>e.mapControlsHidden,set:(e,s)=>{e.mapControlsHidden=s}},metadata:t},es,ts),i(null,null,ss,{kind:"field",name:"floorsControlHidden",static:!1,private:!1,access:{has:e=>"floorsControlHidden"in e,get:e=>e.floorsControlHidden,set:(e,s)=>{e.floorsControlHidden=s}},metadata:t},is,as),i(null,null,ls,{kind:"field",name:"hideFreeOrDemo",static:!1,private:!1,access:{has:e=>"hideFreeOrDemo"in e,get:e=>e.hideFreeOrDemo,set:(e,s)=>{e.hideFreeOrDemo=s}},metadata:t},rs,os),i(null,null,ns,{kind:"field",name:"freeBannerDismissed",static:!1,private:!1,access:{has:e=>"freeBannerDismissed"in e,get:e=>e.freeBannerDismissed,set:(e,s)=>{e.freeBannerDismissed=s}},metadata:t},cs,ds),i(null,null,hs,{kind:"field",name:"currentBanner",static:!1,private:!1,access:{has:e=>"currentBanner"in e,get:e=>e.currentBanner,set:(e,s)=>{e.currentBanner=s}},metadata:t},us,fs),i(null,null,ms,{kind:"field",name:"sceneDefReady",static:!1,private:!1,access:{has:e=>"sceneDefReady"in e,get:e=>e.sceneDefReady,set:(e,s)=>{e.sceneDefReady=s}},metadata:t},gs,ps),i(null,null,_s,{kind:"field",name:"categoryFilterOpen",static:!1,private:!1,access:{has:e=>"categoryFilterOpen"in e,get:e=>e.categoryFilterOpen,set:(e,s)=>{e.categoryFilterOpen=s}},metadata:t},vs,Ss),i(null,null,ys,{kind:"field",name:"selectedCategoryFilters",static:!1,private:!1,access:{has:e=>"selectedCategoryFilters"in e,get:e=>e.selectedCategoryFilters,set:(e,s)=>{e.selectedCategoryFilters=s}},metadata:t},ks,Is),i(null,null,bs,{kind:"field",name:"selectedPoiTypeFilters",static:!1,private:!1,access:{has:e=>"selectedPoiTypeFilters"in e,get:e=>e.selectedPoiTypeFilters,set:(e,s)=>{e.selectedPoiTypeFilters=s}},metadata:t},xs,zs),i(null,null,Cs,{kind:"field",name:"selectedTrack",static:!1,private:!1,access:{has:e=>"selectedTrack"in e,get:e=>e.selectedTrack,set:(e,s)=>{e.selectedTrack=s}},metadata:t},Bs,Ps),i(null,null,Ms,{kind:"field",name:"subButtonsVisible",static:!1,private:!1,access:{has:e=>"subButtonsVisible"in e,get:e=>e.subButtonsVisible,set:(e,s)=>{e.subButtonsVisible=s}},metadata:t},ws,Ts),i(null,null,Rs,{kind:"field",name:"mapControlsDOMRect",static:!1,private:!1,access:{has:e=>"mapControlsDOMRect"in e,get:e=>e.mapControlsDOMRect,set:(e,s)=>{e.mapControlsDOMRect=s}},metadata:t},Os,Ds),i(null,null,Ls,{kind:"field",name:"searchBoxMode",static:!1,private:!1,access:{has:e=>"searchBoxMode"in e,get:e=>e.searchBoxMode,set:(e,s)=>{e.searchBoxMode=s}},metadata:t},As,Es),i(null,null,Fs,{kind:"field",name:"searchBoxTitle",static:!1,private:!1,access:{has:e=>"searchBoxTitle"in e,get:e=>e.searchBoxTitle,set:(e,s)=>{e.searchBoxTitle=s}},metadata:t},Us,Hs),i(null,null,Vs,{kind:"field",name:"searchBoxSubtitle",static:!1,private:!1,access:{has:e=>"searchBoxSubtitle"in e,get:e=>e.searchBoxSubtitle,set:(e,s)=>{e.searchBoxSubtitle=s}},metadata:t},Ns,Ks),i(null,null,Gs,{kind:"field",name:"routeTitle",static:!1,private:!1,access:{has:e=>"routeTitle"in e,get:e=>e.routeTitle,set:(e,s)=>{e.routeTitle=s}},metadata:t},Qs,Ys),i(null,null,$s,{kind:"field",name:"routeDescription",static:!1,private:!1,access:{has:e=>"routeDescription"in e,get:e=>e.routeDescription,set:(e,s)=>{e.routeDescription=s}},metadata:t},js,Ws),i(null,null,Zs,{kind:"field",name:"isMultiPointRoute",static:!1,private:!1,access:{has:e=>"isMultiPointRoute"in e,get:e=>e.isMultiPointRoute,set:(e,s)=>{e.isMultiPointRoute=s}},metadata:t},Xs,Js),i(null,null,qs,{kind:"field",name:"tourTitle",static:!1,private:!1,access:{has:e=>"tourTitle"in e,get:e=>e.tourTitle,set:(e,s)=>{e.tourTitle=s}},metadata:t},ei,ti),i(null,null,si,{kind:"field",name:"tourDescription",static:!1,private:!1,access:{has:e=>"tourDescription"in e,get:e=>e.tourDescription,set:(e,s)=>{e.tourDescription=s}},metadata:t},ii,ai),i(null,null,li,{kind:"field",name:"isMultiPointTour",static:!1,private:!1,access:{has:e=>"isMultiPointTour"in e,get:e=>e.isMultiPointTour,set:(e,s)=>{e.isMultiPointTour=s}},metadata:t},ri,oi),i(null,null,ni,{kind:"field",name:"pathwayOnlyMode",static:!1,private:!1,access:{has:e=>"pathwayOnlyMode"in e,get:e=>e.pathwayOnlyMode,set:(e,s)=>{e.pathwayOnlyMode=s}},metadata:t},ci,di),i(null,null,hi,{kind:"field",name:"isOverlayScrolled",static:!1,private:!1,access:{has:e=>"isOverlayScrolled"in e,get:e=>e.isOverlayScrolled,set:(e,s)=>{e.isOverlayScrolled=s}},metadata:t},ui,fi),i(null,null,mi,{kind:"field",name:"listScrollTop",static:!1,private:!1,access:{has:e=>"listScrollTop"in e,get:e=>e.listScrollTop,set:(e,s)=>{e.listScrollTop=s}},metadata:t},gi,pi),i(null,null,_i,{kind:"field",name:"listScrollItemId",static:!1,private:!1,access:{has:e=>"listScrollItemId"in e,get:e=>e.listScrollItemId,set:(e,s)=>{e.listScrollItemId=s}},metadata:t},vi,Si),i(null,null,yi,{kind:"field",name:"listScrollIndex",static:!1,private:!1,access:{has:e=>"listScrollIndex"in e,get:e=>e.listScrollIndex,set:(e,s)=>{e.listScrollIndex=s}},metadata:t},ki,Ii),i(null,null,bi,{kind:"field",name:"_customUIScale",static:!1,private:!1,access:{has:e=>"_customUIScale"in e,get:e=>e._customUIScale,set:(e,s)=>{e._customUIScale=s}},metadata:t},xi,zi),i(null,null,Ia,{kind:"field",name:"forceDimm",static:!1,private:!1,access:{has:e=>"forceDimm"in e,get:e=>e.forceDimm,set:(e,s)=>{e.forceDimm=s}},metadata:t},ba,xa),i(null,null,Ya,{kind:"field",name:"mapSettings",static:!1,private:!1,access:{has:e=>"mapSettings"in e,get:e=>e.mapSettings,set:(e,s)=>{e.mapSettings=s}},metadata:t},$a,ja),i(null,null,gl,{kind:"field",name:"forceShowDetails",static:!1,private:!1,access:{has:e=>"forceShowDetails"in e,get:e=>e.forceShowDetails,set:(e,s)=>{e.forceShowDetails=s}},metadata:t},pl,_l),i(null,null,yl,{kind:"field",name:"buildRoute",static:!1,private:!1,access:{has:e=>"buildRoute"in e,get:e=>e.buildRoute,set:(e,s)=>{e.buildRoute=s}},metadata:t},kl,Il),i(null,null,xl,{kind:"field",name:"globalErrorMessages",static:!1,private:!1,access:{has:e=>"globalErrorMessages"in e,get:e=>e.globalErrorMessages,set:(e,s)=>{e.globalErrorMessages=s}},metadata:t},zl,Cl),i(null,null,Rl,{kind:"field",name:"setKioskModeEnabled",static:!1,private:!1,access:{has:e=>"setKioskModeEnabled"in e,get:e=>e.setKioskModeEnabled,set:(e,s)=>{e.setKioskModeEnabled=s}},metadata:t},Ol,Dl),i(null,null,Al,{kind:"field",name:"kioskData",static:!1,private:!1,access:{has:e=>"kioskData"in e,get:e=>e.kioskData,set:(e,s)=>{e.kioskData=s}},metadata:t},El,Fl),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=a(this,l);interfaceMetadata=Object.freeze([{id:"menu",className:"efp-overlay-menu",priority:80,isActive:()=>this.menu,searchBoxConfig:()=>({mode:"interface",title:y("Menu")})},{id:"exhibitor",className:"efp-overlay-exhibitor",priority:70,isActive:()=>this.details instanceof x,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"booth",className:"efp-overlay-booth",priority:70,isActive:()=>this.details instanceof b,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:t.title||t.name}}},{id:"event",className:"efp-overlay-event",priority:70,isActive:()=>this.details instanceof F,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"route",className:"efp-overlay-route",priority:70,isActive:()=>this.details instanceof R,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:y("Directions")}}},{id:"search",className:"efp-overlay-search",priority:60,isActive:()=>!this.details&&!this.menu&&this.list.type==="search"&&(this.rootStore.fp.alwaysShowSidebar||this.heatmap||this.searchFocused||this.list.text.length>0||this.searchClearMode),searchBoxConfig:()=>({mode:"search",title:y("Search")})},{id:"exhibitors",className:"efp-overlay-exhibitors",priority:50,isActive:()=>this.list.type==="exhibitors"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Exhibitors")})},{id:"filter",className:"efp-overlay-filter",priority:50,isActive:()=>this.list.type==="filter"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Filter")})},{id:"bookmarks",className:"efp-overlay-bookmarks",priority:50,isActive:()=>this.list.type==="bookmarks"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:y("Bookmarks"),badge:this.rootStore.bookmarksStore.total})},{id:"visited",className:"efp-overlay-visited",priority:50,isActive:()=>this.list.type==="visited"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:y("Visited"),badge:this.rootStore.exhibitorStore.visited.length})},{id:A,className:"efp-overlay-language",priority:50,isActive:()=>this.list.type===A,searchBoxConfig:()=>({mode:"interface",title:y("Language")})},{id:"category",className:"efp-overlay-category",priority:50,isActive:()=>!w.menu&&!!w.selectedCategory,searchBoxConfig:()=>({mode:"interface",title:this.list.type==="category"&&this.list.category?.name||y("Categories")})},{id:"sessions",className:"efp-overlay-sessions",priority:50,isActive:()=>this.list.type==="sessions"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Sessions"),subtitle:this.selectedTrack?this.selectedTrack.name:void 0})},{id:"speakers",className:"efp-overlay-speakers",priority:50,isActive:()=>this.list.type==="speakers"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Speakers")})},{id:"speaker",className:"efp-overlay-speaker",priority:50,isActive:()=>this.details instanceof $,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"tours",className:"efp-overlay-tours",priority:50,isActive:()=>this.list.type==="tours"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Guided Tours")})},{id:"multi-point-wayfinding",className:"efp-overlay-multi-point",priority:75,isActive:()=>!!(this.isMultiPointRoute&&this.selectedRoute&&this.list.type!=="route-planner"),searchBoxConfig:()=>({mode:"interface",title:this.routeTitle||y("Multi-point route")})},{id:"multi-point-tour",className:"efp-overlay-multi-point-tour",priority:75,isActive:()=>this.list.type==="multi-point-tour"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:this.tourTitle||y("Multi-point route")})},{id:"route-planner",className:"efp-overlay-route-planner",priority:76,isActive:()=>this.list.type==="route-planner"&&(!this.details||this.details instanceof R),searchBoxConfig:()=>({mode:"interface",title:y("Route planner")})}].sort((t,e)=>e.priority-t.priority));list=a(this,j,{type:"search",text:"",focused:!1});details=(a(this,W),a(this,X,null));hoveredExhibitor=(a(this,J),a(this,ee,null));hoveredBooth=(a(this,te),a(this,ie,null));zoomBy=(a(this,ae),a(this,re,null));rollReset=(a(this,oe),a(this,ce,!1));moveToBooths=(a(this,de),a(this,ue,null));moveToRect=(a(this,fe),a(this,ge,null));moveToLocation=(a(this,pe),a(this,ve,!1));menu=(a(this,Se),a(this,ke,!1));searchFocused=(a(this,Ie),a(this,xe,!1));searchClearMode=(a(this,ze),a(this,Be,!1));printingPdf=(a(this,Pe),a(this,we,!1));largeMessage=(a(this,Te),a(this,Oe,null));largeMessageLastSet=(a(this,De),a(this,Ae,null));screenSize=(a(this,Ee),a(this,Ue,void 0));desiredOverlaySize=(a(this,He),a(this,Ne,void 0));overlayShowsAll=(a(this,Ke),a(this,Qe,!1));centerMap=(a(this,Ye),a(this,je,!1));zoomAfTransformK=(a(this,We),a(this,Xe,1));activeListIndex=(a(this,Je),a(this,et,-1));devicePixelRatio=(a(this,tt),a(this,it,window.devicePixelRatio));previewExhibitor=(a(this,at),null);wsStarted=a(this,rt,!1);canvasStarted=(a(this,ot),a(this,ct,!1));kiosk=(a(this,dt),a(this,ut,!1));inIdle=(a(this,ft),a(this,gt,!1));modalActive=(a(this,pt),a(this,vt,{share:!1}));galleryActive=(a(this,St),a(this,kt,!1));hideOverlay=(a(this,It),a(this,xt,!1));hideCookieConsent=(a(this,zt),a(this,Bt,!!rr()));hideHeaderLogo=(a(this,Pt),a(this,wt,!1));hideLogoInBooth=(a(this,Tt),a(this,Ot,!1));disableBookmarked=(a(this,Dt),a(this,At,!1));hideLanguage=(a(this,Et),a(this,Ut,!1));monochrome=(a(this,Ht),a(this,Nt,!1));heatmap=(a(this,Kt),a(this,Qt,!1));heatmapYah=(a(this,Yt),a(this,jt,!1));rootElement=a(this,Wt);debugCircles=a(this,Xt,[]);mapControlsHidden=(a(this,Jt),a(this,es,!1));floorsControlHidden=(a(this,ts),a(this,is,!1));hideFreeOrDemo=(a(this,as),a(this,rs,!1));freeBannerDismissed=(a(this,os),a(this,cs,ur(sessionStorage)));currentBanner=(a(this,ds),a(this,us,null));sceneDefReady=(a(this,fs),a(this,gs,!1));categoryFilterOpen=(a(this,ps),a(this,vs,!1));selectedCategoryFilters=(a(this,Ss),a(this,ks,[]));selectedPoiTypeFilters=(a(this,Is),a(this,xs,[]));selectedTrack=(a(this,zs),a(this,Bs,null));subButtonsVisible=(a(this,Ps),a(this,ws,!1));mapControlsDOMRect=(a(this,Ts),a(this,Os,void 0));searchBoxMode=(a(this,Ds),a(this,As,"search"));searchBoxTitle=(a(this,Es),a(this,Us,""));searchBoxSubtitle=(a(this,Hs),a(this,Ns,void 0));routeTitle=(a(this,Ks),a(this,Qs,void 0));routeDescription=(a(this,Ys),a(this,js,void 0));isMultiPointRoute=(a(this,Ws),a(this,Xs,!1));tourTitle=(a(this,Js),a(this,ei,void 0));tourDescription=(a(this,ti),a(this,ii,void 0));isMultiPointTour=(a(this,ai),a(this,ri,!1));pathwayOnlyMode=(a(this,oi),a(this,ci,!1));isOverlayScrolled=(a(this,di),a(this,ui,!1));listScrollTop=(a(this,fi),a(this,gi,0));listScrollItemId=(a(this,pi),a(this,vi,null));listScrollIndex=(a(this,Si),a(this,ki,0));scrollPositions=(a(this,Ii),new Map);scrollItemIds=new Map;_customUIScale=a(this,xi,null);searchFilterHeightPx=(a(this,zi),54);searchInputHeightPx=54;overlayUISizePx=390;overlayKioskSizePx=450;overlayMediumHeightRems=10;setSelectedCategoryFilters(t){this.selectedCategoryFilters=t}resetCategoryFilter(){this.selectedCategoryFilters=[],this.categoryFilterOpen=!1}setSearchClearMode(t){this.searchClearMode=t}setRouteTitle(t){this.routeTitle=t}setRouteDescription(t){this.routeDescription=t}setIsMultiPointRoute(t){this.isMultiPointRoute=t}setTourTitle(t){this.tourTitle=t}setTourDescription(t){this.tourDescription=t}setIsMultiPointTour(t){this.isMultiPointTour=t}setPathwayOnlyMode(t){this.pathwayOnlyMode=t}setMultiPointTourList(t){this.list={type:"multi-point-tour",tourId:t}}get activePathwayLayers(){return this.list?.type==="multi-point-tour"?this.rootStore.toursStore.getTourById(this.list.tourId)?.layers?.map(e=>e.id)||[]:[]}get highlightedBooths(){const t=new Set(this.rootStore.exhibitorStore.highlightedByExternalIds),e=new Set(this.rootStore.boothStore.highlightedByExternalIds),s=new Set([this.rootStore.exhibitorStore.exhibitors.filter(r=>t.has(r.externalId)).flatMap(r=>r.booths.filter(n=>n instanceof E)).map(r=>r.id.toString()),this.rootStore.boothStore.booths.filter(r=>e.has(r.externalId)).map(r=>r.id.toString())].flat());if(this.list?.type==="search"&&this.list?.text?.trim().length){s.clear();const r=this.fuzzySearchItems.filter(n=>n.score===0).map(n=>n.item);r.length?K(r,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems).forEach(n=>s.add(n.id.toString())):this.listBooths.forEach(n=>s.add(n.id.toString()))}if(this.list?.type==="filter"&&(s.clear(),this.list.items.flatMap(r=>r.booths.filter(n=>n instanceof E)).forEach(r=>s.add(r.id.toString()))),this.categoryFilterOpen&&this.selectedCategoryFilters.length>0?(s.clear(),this.selectedCategoryFilters.forEach(r=>{r.exhibitors.flatMap(n=>n.booths).forEach(n=>s.add(n.id.toString()))})):this.list?.type==="category"&&(s.clear(),this.list.category.exhibitors.flatMap(r=>r.booths).forEach(r=>s.add(r.id.toString()))),this.list?.type==="bookmarks"&&(s.clear(),K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems).forEach(r=>s.add(r.id.toString()))),this.list?.type==="visited"&&(s.clear(),K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems).forEach(r=>s.add(r.id.toString()))),this.list?.type==="exhibitors"){s.clear();const r=this.list.text?.toLowerCase().trim();let n=this.rootStore.exhibitorStore.exhibitors;r&&(n=n.filter(f=>f.name.toLowerCase().includes(r))),n.flatMap(f=>f.booths.filter(g=>g instanceof E)).forEach(f=>s.add(f.id.toString()))}if(this.selectedPoiTypeFilters.length>0&&(s.clear(),this.selectedPoiTypeFilters.forEach(r=>{this.rootStore.boothStore.booths.filter(n=>n.poiTypeId===r.id).forEach(n=>s.add(n.id.toString()))})),this.details instanceof R&&(s.clear(),this.details.from instanceof b&&s.add(this.details.from.id.toString()),this.details.to instanceof b&&s.add(this.details.to.id.toString()),this.details.waypoints?.forEach(r=>s.add(r.id.toString()))),this.details instanceof b&&(s.clear(),s.add(this.details.id.toString())),this.details instanceof x&&(s.clear(),this.details.booths.filter(r=>r instanceof E).forEach(r=>s.add(r.id.toString()))),this.details instanceof F){const r=this.details;if(r.boothId){s.clear();const n=this.rootStore.boothStore.booths.find(f=>f.id===r.boothId);n&&s.add(n.id.toString())}}return s.delete(void 0),s.delete(null),s}constructor(t){a(this,Fl),this.rootStore=t,this.initializeUIScale()}get rtl(){const t=or();return t==="ar"||t==="he"}get noOverlay(){return this.rootStore.fp.noOverlay||this.hideOverlay}get onBoothClick(){return this.rootStore.fp.onBoothClick}get onMarkerClick(){return this.rootStore.fp.onMarkerClick}get onBookmarkClick(){return this.rootStore.fp.onBookmarkClick}get onVisitedClick(){return this.rootStore.fp.onVisitedClick}get onCategoryClick(){return this.rootStore.fp.onCategoryClick}get onDirection(){return this.rootStore.fp.onDirection}get onDetails(){return this.rootStore.fp.onDetails}get onExhibitorCustomButtonClick(){return this.rootStore.fp.onExhibitorCustomButtonClick}get onGetCoordsClick(){return this.rootStore.fp.onGetCoordsClick}get selectedExhibitor(){return this.details instanceof x?this.details:null}get selectedBooth(){return this.details instanceof b?this.details:null}get selectedCategory(){return this.list.type==="category"?this.list.category:null}get selectedRoute(){return this.details instanceof R?this.details:null}get selectedSpeaker(){return this.details instanceof $?this.details:null}get uiScale(){return this._customUIScale!==null?this._customUIScale:this.kiosk?1.2:1}get isGuidedToursActive(){return this.rootStore.toursStore.isActive}get getRouteNextFloor(){const t=this.rootStore.routeStore.pathLayers,e=this.rootStore.routeStore.currentRouteLayer?.name;if(!e)return null;const s=t.findIndex(u=>u.layer?.name===e);return s===-1?null:t[s+1]?.layer?.name}get headerHeightRem(){return 0}get headerHeightPx(){return N(this.headerHeightRem)}get overlayPosition(){return!this.screenSize||this.screenSize.width>er||this.kiosk?"left":"bottom"}get overlayCollapsed(){return this.kiosk&&this.overlayPosition==="left"&&!this.searchFocused&&!this.menu&&!this.details&&!this.selectedCategory&&!this.selectedExhibitor&&this.list.type!=="bookmarks"&&this.list.type!==A&&!this.list.text?.length}get overlaySize(){return this.overlayLeft?"full":this.desiredOverlaySize}get overlayBottom(){return this.overlayPosition==="bottom"}get overlayLeft(){return this.overlayPosition==="left"}get overlayWidthPx(){return this.noOverlay?0:this.overlayLeft?this.kiosk?this.overlayKioskSizePx:this.overlayUISizePx:N(this.screenSize.width)}get wsImageHeightPx(){return 44}get wsPaddingPx(){return N(.25)}get wsOccupiedHeightPx(){return this.wsShown?this.wsImageHeightPx+this.wsPaddingPx*2:0}get wsShown(){return!this.hideHeaderLogo&&this.rootStore.exhibitorStore.advertised.length>0}get wsDesktopPosition(){return V.EXPO==="cbresupplypartner"?"bottom":"top"}get wsPosition(){return this.overlayBottom?"top":this.wsDesktopPosition}get responsiveClass(){return cr(this.screenSize.width)}get mapVisibleTop(){return(this.wsPosition==="top"?this.wsOccupiedHeightPx:0)+this.headerHeightPx}get mapVisibleBottom(){return this.overlayLeft||this.noOverlay?this.wsPosition==="bottom"?this.wsOccupiedHeightPx:0:N(this.overlayMediumHeightRems)}get mapVisibleStart(){return 0}get searchActionsHeightPx(){return this.overlayPosition==="bottom"?this.searchInputHeightPx+this.searchFilterHeightPx:this.searchInputHeightPx}get fullSizeOffset(){const t=this.wsShown?54:0,e=this.bannerType==="free"&&!this.freeBannerDismissed?40:0,s=20;if(this.details&&!(this.details instanceof R))return t+e+s;const u=54,r=this.shouldShowSearchButtons?54:0;return t+e+u+s+r}get shouldShowSearchButtons(){return this.rootStore.searchButtonsStore.hasAnySearchButtons&&!this.details&&!this.menu&&![A,"filter"].includes(this.list.type)}get canvasVisibleRectPx(){const t=this.screenSize;return ar.fromX1y1x2y2(w.rtl?0:this.mapVisibleStart,this.mapVisibleTop+this.searchActionsHeightPx,w.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(w.overlayCollapsed)return!1;if(B&&localStorage.getItem("forcebackdrop")==="1")return!0;if(this.overlayBottom||this.selectedExhibitor?.leadingImageUrl&&!this.selectedExhibitor?.leadingImageLinkUrl)return!1;const t=Ql.satisfies({safari:">=13"}),e=Ql.satisfies({chrome:">=77"});var s=/(android)/i.test(navigator.userAgent);return s?!1:t||e&&w.canvasSizePt.height*w.canvasSizePt.width<3e6}forceDimm=a(this,ba,!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:u}=this.rootStore;let r=t.exhibitors;const n=e.categories.filter(p=>p.exhibitors.length),f=s.booths;this.selectedPoiTypeFilters.length>0&&(r=r.filter(p=>p.booths.some(_=>this.selectedPoiTypeFilters.some(S=>_.poiTypeId===S.id))));let g=[];const P=!this.selectedCategoryFilters.length&&C.showCategories?n.filter(p=>fr.includes(V.EXPO)?!p.name.includes("/"):!0):[],D=f.filter(p=>p instanceof Y);return this.selectedCategoryFilters.length>0?g=[...r]:(C.showCompaniesAndBooths&&(g=g.concat(r)),C.showOtherSpaces&&(g=g.concat(D))),this.heatmap?[...r,...f].sort((_,S)=>u.getClicksByType(S)-u.getClicksByType(_)):this.heatmapYah?u.heatmapData?.yah?.sort((p,_)=>u.getClicksByType(_)-u.getClicksByType(p))||[]:r.length===0?f:P.concat(g.sort((p,_)=>{const S=p instanceof x&&p.featured!==void 0,M=_ instanceof x&&_.featured!==void 0;if(S!==M)return S?-1:1;const L=p instanceof Y&&p.title?p.title:p.name,G=_ instanceof Y&&_.title?_.title:_.name;return L.localeCompare(G,void 0,{sensitivity:"base",numeric:!0})}))}get searchItems(){if(this.list.type!=="search")return[];let t=this.list.text?.trim().toLowerCase()||"";const{exhibitorStore:e,categoryStore:s,boothStore:u,eventStore:r,speakerStore:n,heatmapStore:f}=this.rootStore;let g=e.exhibitors;const P=s.categories.filter(d=>d.exhibitors.length),D=u.booths,p=r.eventItems,_=n.speakers;if(this.selectedCategoryFilters.length>0&&(g=g.filter(d=>this.selectedCategoryFilters.some(h=>d.categories.some(v=>v.id===h.id)))),this.selectedPoiTypeFilters.length>0&&(g=g.filter(d=>d.booths.some(h=>this.selectedPoiTypeFilters.some(v=>h.poiTypeId===v.id)))),!t)return this.defaultSearchItems;const S=[t.replace(/&[^&=]+=[^&]+/g,"")];if(this.heatmapYah)return f.heatmapData.yah.filter(h=>Number.isNaN(Number(t))?h:h.viewCount>=Number(t)).sort((h,v)=>f.getClicksByType(v)-f.getClicksByType(h));const M=[],L=new Set,G=new Set,Hl=new Set,Wl=new Set;function Vl(d){return d?d.replace(/[!@#$%^*-\.,\(\)^#$%:?_+'"\/]/g," ").replace(/\s\s+/g," "):""}function I(d,h){return!d||!h?!1:Vl(d).toLowerCase().includes(Vl(h).toLowerCase())}function Nl(d,h){return d?I(d,h)||I(C.levelTerm+" "+d,h):!1}g.forEach(d=>{S.some(h=>I(d.name,h)||d.booths.some(v=>!h&&I(v.name,h)||Nl(v.layer?.name??null,h)))&&L.add(d)}),this.selectedCategoryFilters.length>0&&D.forEach(d=>{(this.heatmap||!(d instanceof E)||!Array.from(L).find(v=>v.booths.includes(d)))&&S.some(v=>I(d.title||"",v)||I(d.name,v)||I(d.fullName,v)||Nl(d.layer?.name??null,v))&&G.add(d)});const Zl=p,Xl=_;if(Zl.forEach(d=>{S.some(h=>I(d.name||"",h)||I(d.description||"",h))&&Hl.add(d)}),Xl.forEach(d=>{S.some(h=>I(d.name,h)||I(d.company,h)||I(d.jobTitle,h))&&Wl.add(d)}),M.push(...Hl),M.push(...L),this.heatmap)return M.sort((d,h)=>f.getClicksByType(h)-f.getClicksByType(d));const Jl=new Map(M.map(d=>[d.id,d]));return M.map(d=>{if(!d.name)return null;const h=Yl(d instanceof b&&d.fullName.toLowerCase()||d.name.toLowerCase()),v=h.indexOf(Yl(t));if(v===-1)return null;const Kl={id:d.id,position:v,lowerCaseName:h,featured:!1};return d instanceof x&&(Kl.featured=d.featured),Kl}).filter(Boolean).sort((d,h)=>(d.featured||h.featured)&&d.featured!==h.featured?d.featured?-1:1:d.position!==h.position?d.position-h.position:d.lowerCaseName.localeCompare(h.lowerCaseName)||String(d.id).localeCompare(String(h.id))).map(({id:d})=>Jl.get(d))}get searchList(){return[...this.rootStore.eventStore.eventItems,...this.rootStore.speakerStore.speakers,...this.rootStore.categoryStore.categories.filter(t=>t.exhibitors.length),...this.rootStore.exhibitorStore.exhibitors,...this.rootStore.boothStore.booths]}get foundInDescription(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return[];const e=this.fuzzySearchItems.map(({item:n})=>n),s=new Set(e.map(n=>n.name)),u=this.categoryFilteredSearchList.filter(n=>!s.has(n.name)),r=[];for(const n of u){const f=n.description;if(!f)continue;const P=(jl(f)?$l(f):f).toLowerCase().indexOf(t);P!==-1&&r.push({item:n,pos:P})}return r.sort((n,f)=>n.pos-f.pos),r.map(n=>n.item)}get foundInDescriptionStruct(){const t={};if(this.list?.type!=="search")return t;const e=this.list?.text?.trim().toLowerCase();return this.foundInDescription.forEach(s=>{let u=s.description;if(!u)return;jl(u)&&(u=$l(u));const r=u.toLowerCase().indexOf(e);if(r===-1)return;const n=3,f=r>n?r-n:0,g=u.substring(f).trim();t[s.id]=r>0?`...${g}`:g}),t}get categoryFilteredSearchList(){return this.selectedCategoryFilters.length===0?this.searchList:this.searchList.filter(t=>t instanceof x&&this.selectedCategoryFilters.some(e=>t.categories.some(s=>s.id===e.id)))}get fuzzySearchItems(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return this.defaultSearchItems.map(r=>({item:r,score:0,matches:[]}));const e=this.rootStore.fuzzySearchEngineStore.search(this.categoryFilteredSearchList,t),s=[],u=[];for(const r of e){const n=r.item,f=n.entity.type,g=f==="booth"?n:null,P=f==="exhibitor"?n:null,D=[n.name?.toLowerCase()??"",g?.title?.toLowerCase()??"",g?.fullName?.toLowerCase()??"",...P?.booths?.map(_=>_.name?.toLowerCase()??"")??[]];let p=1/0;for(const _ of D){const S=_.indexOf(t);S!==-1&&S<p&&(p=S)}p!==1/0?s.push({result:{item:n,score:0},pos:p}):u.push(r)}return s.sort((r,n)=>r.pos-n.pos),[...s.map(r=>r.result),...u]}get listItems(){if(this.details instanceof R&&this.list.type!=="multi-point-tour")return[this.details.from,this.details.to].filter(t=>t instanceof b);switch(this.list.type){case"search":let t=!(this.heatmap||this.heatmapYah)&&this.rootStore.fuzzySearchEngineStore.engine?this.fuzzySearchItems.map(({item:r})=>r).concat(this.foundInDescription):this.searchItems;return t=t.filter(r=>r.entity.type==="booth"?!r.exhibitors.length:!0),this.hasAppliedFilters?t.filter(r=>{if(this.selectedCategoryFilters.length>0&&r instanceof x&&!this.selectedCategoryFilters.some(n=>r.categories.some(f=>f.id===n.id)))return!1;if(this.selectedPoiTypeFilters.length>0){if(r instanceof x&&!r.booths.some(n=>this.selectedPoiTypeFilters.some(f=>n.poiTypeId===f.id))||r instanceof b&&!this.selectedPoiTypeFilters.some(n=>r.poiTypeId===n.id))return!1;if(r instanceof F&&r.boothId){const n=this.rootStore.boothStore.booths.find(f=>f.id===r.boothId);if(!n||!this.selectedPoiTypeFilters.some(f=>n.poiTypeId===f.id))return!1}}return!0}):t;case"bookmarks":return[...this.rootStore.exhibitorStore.bookmarked,...this.rootStore.eventStore.bookmarked,...this.rootStore.speakerStore.bookmarked,...this.rootStore.boothStore.booths.filter(r=>r.exhibitors.length===0&&r.bookmarkedDirectly)];case"visited":return[...this.rootStore.exhibitorStore.visited,...this.rootStore.eventStore.visited];case"category":return this.list.category.exhibitors;case A:return nr();case"filter":return this.list.items;case"sessions":return this.rootStore.eventStore.eventItems;case"exhibitors":const e=this.rootStore.exhibitorStore.exhibitors,s=this.list.text?.toLowerCase().trim();return s?e.filter(r=>r.name.toLowerCase().includes(s)):e;case"multi-point-tour":const u=this.rootStore.toursStore.getTourById(this.list.tourId);return u?!u.points||u.points.length===0?[]:u.points.map(r=>{const n=parseInt(r);if(!isNaN(n)){const g=this.rootStore.boothStore.boothById.get(n);if(g)return g}return dr(r)?.entity||null}).filter(Boolean):[];case"route-planner":return this.rootStore.routePlannerStore.resolvedBooths}throw new Error("Unknown list.type")}get listBooths(){return K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems)}get selectedBooths(){let t=[];this.selectedExhibitor?t=this.selectedExhibitor.booths:this.selectedBooth&&(t=[this.selectedBooth]);const e=this.selectedRoute,s=[e?.from,e?.to,...e?.waypoints??[]].filter(u=>u instanceof b);return t.push(...s),new Set(t)}get hoveredBooths(){let t;return this.hoveredBooth?t=[this.hoveredBooth]:this.hoveredExhibitor&&(t=this.hoveredExhibitor.booths),new Set(t)}get visibility(){return{controls:!this.mapControlsHidden,levels:!this.floorsControlHidden,header:this.wsShown,overlay:!this.hideOverlay}}setVisibility(t){const e={...Object.keys(this.visibility).reduce((s,u)=>({...s,[u]:!0}),{}),...Object.keys(t).filter(s=>this.visibility.hasOwnProperty(s)).reduce((s,u)=>({...s,[u]:t[u]}),{})};Object.values(e).every(Boolean)?B&&localStorage.removeItem(Gl):B&&localStorage.setItem(Gl,JSON.stringify(e)),this.mapControlsHidden=!e.controls,this.floorsControlHidden=!e.levels,this.hideHeaderLogo=!e.header,this.hideFreeOrDemo=!e.header,this.hideOverlay=!e.overlay}toggleMapOverlay(){this.overlayPosition==="bottom"&&this.overlaySize==="full"?this.desiredOverlaySize="medium":this.overlayPosition==="bottom"&&this.overlaySize!=="full"&&(this.desiredOverlaySize="full")}changeZoom(t){this.zoomBy=t}zoomIn(){this.changeZoom(1.5)}zoomOut(){this.changeZoom(.66)}fitBounds(){this.moveToRect=this.rootStore.layerStore.rectangle||lr,this.rollReset=!0}get previewMode(){return B&&localStorage.getItem(tr)==="1"||this.rootStore.fp.previewMode}get viewerMode(){return B&&localStorage.getItem(sr)==="1"||this.rootStore.fp.viewerMode}get selectedEventItem(){return this.details instanceof F?this.details:null}get defaultMapSettings(){return{zoomtime:500,center:void 0,centerxy:void 0,z:void 0,bearing:0,roll:1}}mapSettings=(a(this,xa),a(this,$a,{...this.defaultMapSettings}));saveMapSettings(t){const e=JSON.stringify(this.mapSettings),s=JSON.stringify(t);e!==s&&sessionStorage.setItem(ql,JSON.stringify(t))}setMapSettings(t){const e={};for(const s in t)t[s]!=null&&(s==="zoomtime"?e[s]=Math.min(Math.max(t[s]||this.mapSettings.zoomtime,500),5e3):e[s]=t[s]);this.mapSettings={...this.mapSettings,...e},this.saveMapSettings(this.mapSettings)}resetMapSettings(){this.mapSettings={...this.defaultMapSettings},this.saveMapSettings(this.mapSettings)}get baseQRCodeUrl(){return`https://${V.EXPO}.expofp.com`}get viewMapOnPhoneQRCodeUrl(){if(C?.customKioskQrCodeUrl)return C.customKioskQrCodeUrl;const t=new URL(this.baseQRCodeUrl);t.search=window.location.search;const e=t.toString();return console.log("View Map On Phone QR Code Url",e),e}get routeQRCodeUrl(){const t=new URL(this.baseQRCodeUrl),e=this.selectedRoute?.from,s=this.selectedRoute?.to,u=e instanceof b?e.slug:"",r=s instanceof b?s.slug:"";t.search=`?route%3A${encodeURIComponent(r)}%3A${encodeURIComponent(u)}%3Afalse`,hr(t.searchParams,this.kioskData,["x","y","z"]);const n=t.toString();return console.log("Route QR Code Url",n),n}get isFeaturedExhibitorActive(){return this.details instanceof x&&!!this.details.featured}get activeInterfaceData(){for(const t of this.interfaceMetadata)if(t.isActive())return t;return null}get searchBoxConfig(){const t=this.activeInterfaceData;return!t||!t.searchBoxConfig?{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}:t.searchBoxConfig()||{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}}get searchBoxActions(){return this.activeInterfaceData?.actions?.()??[]}get overlayInterfaceClasses(){const t=[],e=this.activeInterfaceData;return e&&(t.push(e.className),e.additionalClasses&&t.push(...e.additionalClasses())),this.details&&t.push("overlay-has-details"),this.list.type&&t.push(`overlay-list-${this.list.type}`),this.isFeaturedExhibitorActive&&t.push("overlay-exhibitor-featured"),t}get isOverlayOpen(){return this.noOverlay||this.hideOverlay?!1:this.activeInterfaceData!==null}setOverlayScrolled(t){this.isOverlayScrolled=t}setListScrollTop(t,e){this.listScrollTop=e,this.scrollPositions.set(t,e)}setListScrollItemId(t,e){this.listScrollItemId=e,this.scrollItemIds.set(t,e)}getListScrollTop(t){return this.scrollPositions.get(t)||0}getListScrollItemId(t){return this.scrollItemIds.get(t)||null}clearListScroll(t){this.scrollPositions.delete(t),this.scrollItemIds.delete(t),this.list.type===t&&(this.listScrollTop=0,this.listScrollItemId=null)}get bannerType(){return this.hideFreeOrDemo||this.heatmap?null:V.EXPO==="expo"?"demo":C.expoFpAd||C.isTrial?"free":null}get isBannerVisible(){return this.bannerType!==null}setCurrentBanner(t){this.currentBanner=t}forceShowDetails=(a(this,ja),a(this,pl,!1));setForceShowDetails(t){this.forceShowDetails=t}get showRouteInstantly(){return!!(this.kiosk&&!this.forceShowDetails)}buildRoute=(a(this,_l),a(this,kl,!1));startBuildRoute(){this.rootStore.selectSearch(""),this.mapControlsHidden=!0,this.floorsControlHidden=!0,this.hideHeaderLogo=!0,this.hideFreeOrDemo=!0,this.hideOverlay=!0,this.hideCookieConsent=!0,this.buildRoute=!0}globalErrorMessages=(a(this,Il),a(this,zl,[]));setGlobalErrorMessage(t){this.globalErrorMessages.push(t)}popGlobalErrorMessage(){this.globalErrorMessages.pop()}initializeUIScale(){if(new URLSearchParams(window.location.search).get("kiosk")!=="0"&&B){const e=localStorage.getItem(Q);if(e){const s=parseFloat(e);!isNaN(s)&&s>=.8&&s<=1.4&&(this._customUIScale=s)}}}minUIScale=(a(this,Cl),.8);maxUIScale=1.4;setUIScale(t,e=!0){if(isNaN(t)||t<this.minUIScale||t>this.maxUIScale){ir.warn(`Invalid ui-scale value: ${t}. Must be between ${this.minUIScale} and ${this.maxUIScale}.`);return}this._customUIScale=t,e&&B&&localStorage.setItem(Q,t.toString())}resetUIScale(){this._customUIScale=null,B&&localStorage.removeItem(Q)}setKioskModeEnabled=a(this,Ol,!1);enableSetKioskMode(t){this.setKioskModeEnabled=t}kioskData=(a(this,Dl),a(this,El,void 0));setKioskData(t){this.kioskData=t}}})();export default mr;function K(U,O,H=[]){const z=[];return U.forEach(k=>{k instanceof x?z.push(...k.booths):k instanceof b?z.push(k):k instanceof F?k.boothId&&z.push(O.find(l=>l.id===k.boothId)):k instanceof $&&H.filter(l=>l.speakers.some(T=>T.id===k.id)&&l.boothId).forEach(l=>z.push(O.find(T=>T.id===l.boothId)))}),new Set(z.filter(Boolean))}
@@ -249,7 +249,7 @@ export interface ExpoData {
249
249
  exhibitors: FloorPlanExhibitor[];
250
250
  categories: FloorPlanCategory[];
251
251
  }
252
- export type FloorPlanIcon = 'departure' | 'destination' | 'direction' | 'transition' | 'transition_up' | 'transition_down' | 'kiosk' | 'yah';
252
+ export type FloorPlanIcon = 'departure' | 'departure_inactive' | 'destination' | 'direction' | 'transition' | 'transition_up' | 'transition_down' | 'kiosk' | 'yah';
253
253
  export interface LayerPoint extends Point {
254
254
  layer: string;
255
255
  }
@@ -1 +1 @@
1
- import a from"../tools/base-runtime-url";import{loadImage as e}from"./loadImage";export async function loadIcons(o){try{(await Promise.allSettled(Object.entries({departure:"icons/departure.svg",destination:"icons/destination.svg",direction:"icons/direction.svg",transition:"icons/transition.svg",transition_up:"icons/transition_up.svg",transition_down:"icons/transition_down.svg",kiosk:"icons/kiosk.svg",yah:"icons/yah.svg"}).map(([i,n])=>e(a+n).then(s=>[i,s])))).filter(i=>i.status==="fulfilled").map(i=>i.value).forEach(([i,n])=>o.set(i,n))}catch(t){console.warn(t)}}
1
+ import e from"../tools/base-runtime-url";import{loadImage as a}from"./loadImage";export async function loadIcons(s){try{(await Promise.allSettled(Object.entries({departure:"icons/departure.svg",departure_inactive:"icons/departure_inactive.svg",destination:"icons/destination.svg",direction:"icons/direction.svg",transition:"icons/transition.svg",transition_up:"icons/transition_up.svg",transition_down:"icons/transition_down.svg",kiosk:"icons/kiosk.svg",yah:"icons/yah.svg"}).map(([i,n])=>a(e+n).then(o=>[i,o])))).filter(i=>i.status==="fulfilled").map(i=>i.value).forEach(([i,n])=>s.set(i,n))}catch(t){console.warn(t)}}
@@ -0,0 +1,28 @@
1
+ import { CURRENT_POSITION_POINT_ID } from "../runtime/positionView";
2
+ /** Display name for an {@link ArbitraryPoint} derived from the current GPS position. */
3
+ export declare const CURRENT_LOCATION_NAME = "Your Location";
4
+ export { CURRENT_POSITION_POINT_ID };
5
+ /** Stable id for the static kiosk-anchor `ArbitraryPoint`. */
6
+ export declare const KIOSK_ANCHOR_POINT_ID = "kiosk-anchor";
7
+ /** Discriminator id carried by `ArbitraryPoint` — drives runtime decisions
8
+ * (source-icon visibility, off-graph trail) without coupling the engine to UI. */
9
+ export type ArbitraryPointId = typeof CURRENT_POSITION_POINT_ID | typeof KIOSK_ANCHOR_POINT_ID;
10
+ /** Off-graph endpoint (kiosk anchor, live GPS). `id` discriminates the source for runtime
11
+ * policy (icon/trail); `name` is the UI display label. */
12
+ export interface ArbitraryPoint {
13
+ readonly id: ArbitraryPointId;
14
+ readonly x: number;
15
+ readonly y: number;
16
+ readonly layer: string;
17
+ readonly name: string;
18
+ }
19
+ /**
20
+ * Builds an `ArbitraryPoint` from any `{x, y, z?}`-shaped value (CurrentPosition,
21
+ * Kiosk descriptor, freeform coords). Normalises `z` to a string `layer`.
22
+ */
23
+ export declare function toArbitraryPoint(point: {
24
+ x: number;
25
+ y: number;
26
+ z?: number | string;
27
+ }, name: string, id: ArbitraryPointId): ArbitraryPoint;
28
+ //# sourceMappingURL=arbitraryPoint.d.ts.map
@@ -0,0 +1 @@
1
+ import{CURRENT_POSITION_POINT_ID as I}from"../runtime/positionView";export const CURRENT_LOCATION_NAME="Your Location";export{I as CURRENT_POSITION_POINT_ID};export const KIOSK_ANCHOR_POINT_ID="kiosk-anchor";export function toArbitraryPoint(r,o,t){return{id:t,x:r.x,y:r.y,layer:r.z!=null?String(r.z):"",name:o}}
@@ -1,9 +1,9 @@
1
1
  import type { Booth } from "../../store/BoothStore";
2
2
  import type { RouteEndpoint } from "../core";
3
3
  /**
4
- * Converts an efp `Booth` to a neutral {@link RouteEndpoint}.
5
- * Regular booth centroid + 4-vertex rotated polygon as `bounds`.
6
- * RouteCutIn (kiosk) kiosk's physical point, **no `bounds`** (runtime draws a dotted trail).
4
+ * Converts an efp `Booth` to a neutral {@link RouteEndpoint}. The booth's
5
+ * (possibly rotated) rectangle becomes a 4-vertex polygon used by the engine
6
+ * as a containment region for graph-point lookup.
7
7
  */
8
8
  export declare function boothToEndpoint(booth: Booth): RouteEndpoint;
9
9
  //# sourceMappingURL=boothToEndpoint.d.ts.map
@@ -1 +1 @@
1
- import y from"../../core/Polygon";function c(t){return t.entity?.type==="route-cut-in"}export function boothToEndpoint(t){const n=t.layer?.name??"";if(c(t)){const r=t.destination;return{x:r.x,y:r.y,layer:n}}const e=y.fromRect(t.rect).rotate(t.rotate,t.rect.cx,t.rect.cy);return{x:t.rect.cx,y:t.rect.cy,layer:n,bounds:[{x:e.x1,y:e.y1},{x:e.x2,y:e.y2},{x:e.x3,y:e.y3},{x:e.x4,y:e.y4}]}}
1
+ import e from"../../core/Polygon";export function boothToEndpoint(y){const r=e.fromRect(y.rect).rotate(y.rotate,y.rect.cx,y.rect.cy);return{x:y.rect.cx,y:y.rect.cy,layer:y.layer?.name??"",bounds:[{x:r.x1,y:r.y1},{x:r.x2,y:r.y2},{x:r.x3,y:r.y3},{x:r.x4,y:r.y4}]}}
@@ -1 +1 @@
1
- import{createArrowCurrentCanvas as w,createCurrentCanvas as C,createImageCanvas as h,createTargetCanvas as g,createYahCanvas as v}from"../../components/Map/drawing/config/canvases";import{createCircleCanvas as F}from"../../renderer";import{decreaseByPercentage as _}from"../../utils/math";const I="#00A2FF",O="#FF9F06",e=34;function c(o,n,t,s,u,r){const i=o.get(n);return i?(i.id=n,h(i,t,s,u)):r()}function m(o,n,t,s,u){const r=o.get(n);return r?(r.id=n,h(r,t,s,u)):null}function a(o){return{canvas:o,width:o.width,height:o.height}}export function createCanvasIconProvider(o){const{iconMap:n,pixelRatio:t}=o,s=o.sourceColor??I,u=o.destinationColor??O,r=new Map;r.set("destination",a(c(n,"destination",e,e,t,()=>g(t,u)))),r.set("source",a(c(n,"departure",e,e,t,()=>C(t,s))));const i=C(t,s);i.id="current-location",r.set("current",a(i));const d=c(n,"transition",e,e,t,()=>C(t,s));r.set("transition",a(d)),r.set("transition_up",a(m(n,"transition_up",56,e,t)??d)),r.set("transition_down",a(m(n,"transition_down",56,e,t)??d)),r.set("transition_entry",a(c(n,"departure",e,e,t,()=>C(t,s)))),r.set("current_arrow",a(c(n,"direction",e,e,t,()=>w(t,s))));const f=c(n,"yah",_(64,32),_(90,32),t,()=>v(t,"#ff4343"));return f.id="current-location-2",r.set("yah",a(f)),r.set("trail",a(F(4,"#b5b7bc"))),{getIcon(l){const p=r.get(l);if(!p)throw new Error(`Unknown icon: ${l}`);return p}}}
1
+ import{createArrowCurrentCanvas as m,createCurrentCanvas as C,createImageCanvas as _,createTargetCanvas as w,createYahCanvas as g}from"../../components/Map/drawing/config/canvases";import{createCircleCanvas as F}from"../../renderer";import{decreaseByPercentage as h}from"../../utils/math";const I="#00A2FF",O="#FF9F06",e=34;function s(o,n,t,i,u,r){const c=o.get(n);return c?(c.id=n,_(c,t,i,u)):r()}function v(o,n,t,i,u){const r=o.get(n);return r?(r.id=n,_(r,t,i,u)):null}function a(o){return{canvas:o,width:o.width,height:o.height}}export function createCanvasIconProvider(o){const{iconMap:n,pixelRatio:t}=o,i=o.sourceColor??I,u=o.destinationColor??O,r=new Map;r.set("destination",a(s(n,"destination",e,e,t,()=>w(t,u)))),r.set("source",a(s(n,"departure",e,e,t,()=>C(t,i)))),r.set("source_inactive",a(s(n,"departure_inactive",e,e,t,()=>C(t,i))));const c=C(t,i);c.id="current-location",r.set("current",a(c));const d=s(n,"transition",e,e,t,()=>C(t,i));r.set("transition",a(d)),r.set("transition_up",a(v(n,"transition_up",56,e,t)??d)),r.set("transition_down",a(v(n,"transition_down",56,e,t)??d)),r.set("transition_entry",a(s(n,"departure",e,e,t,()=>C(t,i)))),r.set("current_arrow",a(s(n,"direction",e,e,t,()=>m(t,i))));const p=s(n,"yah",h(64,32),h(90,32),t,()=>g(t,"#ff4343"));return p.id="current-location-2",r.set("yah",a(p)),r.set("trail",a(F(4,"#b5b7bc"))),{getIcon(f){const l=r.get(f);if(!l)throw new Error(`Unknown icon: ${f}`);return l}}}
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Abstracts away how icon canvases are created (custom image vs fallback).
5
5
  */
6
- export type IconName = "source" | "destination" | "current" | "current_arrow" | "yah" | "transition" | "transition_up" | "transition_down" | "transition_entry" | "trail";
6
+ export type IconName = "source" | "source_inactive" | "destination" | "current" | "current_arrow" | "yah" | "transition" | "transition_up" | "transition_down" | "transition_entry" | "trail";
7
7
  export interface IconAsset {
8
8
  readonly canvas: HTMLCanvasElement;
9
9
  readonly width: number;
@@ -3,6 +3,8 @@ export { createCanvasIconProvider } from "./canvasIconProvider";
3
3
  export { createFloorContext } from "./floorContext";
4
4
  export { graphDataSource } from "./graphDataSource";
5
5
  export { createKioskCanvas } from "./kioskCanvas";
6
+ export { CURRENT_LOCATION_NAME, CURRENT_POSITION_POINT_ID, KIOSK_ANCHOR_POINT_ID, toArbitraryPoint, } from "./arbitraryPoint";
7
+ export type { ArbitraryPoint, ArbitraryPointId } from "./arbitraryPoint";
6
8
  export { positionInput } from "./positionInput";
7
9
  export type { IconAsset, IconName, IconProvider } from "./iconProvider";
8
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- export{boothToEndpoint}from"./boothToEndpoint";export{createCanvasIconProvider}from"./canvasIconProvider";export{createFloorContext}from"./floorContext";export{graphDataSource}from"./graphDataSource";export{createKioskCanvas}from"./kioskCanvas";export{positionInput}from"./positionInput";
1
+ export{boothToEndpoint}from"./boothToEndpoint";export{createCanvasIconProvider}from"./canvasIconProvider";export{createFloorContext}from"./floorContext";export{graphDataSource}from"./graphDataSource";export{createKioskCanvas}from"./kioskCanvas";export{CURRENT_LOCATION_NAME,CURRENT_POSITION_POINT_ID,KIOSK_ANCHOR_POINT_ID,toArbitraryPoint}from"./arbitraryPoint";export{positionInput}from"./positionInput";
@@ -13,15 +13,23 @@ interface BindMobxReactionsArgs {
13
13
  readonly uiState: UIState;
14
14
  readonly layerStore: LayerStore;
15
15
  };
16
+ /** Plan-scale-aware reroute threshold (SVG units). Computed by
17
+ * `createWayfinding` from `fpGeo` and passed in — keeps this module
18
+ * free of plan-config knowledge. */
19
+ readonly rerouteThresholdSvg: number;
16
20
  }
17
21
  /**
18
22
  * Wires the observable efp stores to the imperative wayfinding runtime and
19
23
  * the efp-side kiosk/yah handlers. Each reaction translates observable
20
24
  * changes into neutral-typed imperative calls.
21
25
  *
26
+ * Also owns the reroute controller (closure-scoped, no module globals) and
27
+ * triggers `routeStore.rebuildRouteFromPosition` when the live CP needs to
28
+ * become (or refresh) the route's FROM.
29
+ *
22
30
  * Returns a dispose function that tears down all reactions plus the deferred
23
31
  * floor-change timeout.
24
32
  */
25
- export declare function bindMobxReactions({ runtime, kioskHandler, yahHandler, stores: { routeStore, uiState, layerStore }, }: BindMobxReactionsArgs): () => void;
33
+ export declare function bindMobxReactions({ runtime, kioskHandler, yahHandler, stores: { routeStore, uiState, layerStore }, rerouteThresholdSvg, }: BindMobxReactionsArgs): () => void;
26
34
  export {};
27
35
  //# sourceMappingURL=bindMobxReactions.d.ts.map
@@ -1 +1 @@
1
- import{reaction as u}from"mobx";import{boothToEndpoint as d,positionInput as g}from"./adapters";export function bindMobxReactions({runtime:e,kioskHandler:h,yahHandler:p,stores:{routeStore:t,uiState:n,layerStore:l}}){const f=[];function a(){const o=n.selectedRoute?.from,s=n.selectedRoute?.to;if(!o?.rect||!s?.rect){e.clearRoute();return}e.setRoute({from:d(o),to:d(s),waypoints:n.selectedRoute?.waypoints?.map(d),accessible:t.onlyAccessible})===!1&&console.error(new Error(`Route not found: ${o.name} \u2192 ${s.name}`))}function c(){const o=t.currentPosition,s=t.iconType!==0,m=!!(n.selectedRoute?.from&&n.selectedRoute?.to),b=s&&!m;if(!o){e.onPositionChanged(null),p(null);return}const r=g(o);b?(e.onPositionChanged(null),p({x:r.x,y:r.y,layer:r.layer})):(p(null),e.onPositionChanged(r))}function R(){const o=l.floors.find(s=>s.active)?.name;h(n.kioskData??null,o,l.mode)}f.push(u(()=>l.layersLoaded,()=>{a(),c()}),u(()=>[n.selectedRoute,t.onlyAccessible],()=>{a(),c()}),u(()=>t.currentPosition,()=>c()),u(()=>[n.kioskData,l.floors.find(o=>o.active)],()=>R()));let i=null;const y=u(()=>[t.currentRouteLayer,n.getRouteNextFloor],()=>{l.layersLoaded&&(i!==null&&clearTimeout(i),i=setTimeout(()=>{e.onFloorChanged(),c(),i=null},0))});return f.push(()=>{i!==null&&clearTimeout(i),y()}),a(),c(),R(),()=>{for(const o of f)o();f.length=0}}
1
+ import{comparer as E,reaction as c}from"mobx";import{CURRENT_LOCATION_NAME as P,CURRENT_POSITION_POINT_ID as a,boothToEndpoint as C,positionInput as x,toArbitraryPoint as T}from"./adapters";import{createRerouteController as k}from"./core";const b=i=>"rect"in i?C(i):i;export function bindMobxReactions({runtime:i,kioskHandler:A,yahHandler:R,stores:{routeStore:t,uiState:e,layerStore:l},rerouteThresholdSvg:g}){const f=[],F=k(g);function m(){const o=e.selectedRoute,n=o?.from?b(o.from):null,s=o?.to?b(o.to):null;if(!n||!s){i.clearRoute();return}i.setRoute({from:n,to:s,waypoints:o?.waypoints?.map(C),accessible:t.onlyAccessible})===!1&&console.error(new Error(`Route not found: (${n.x},${n.y}) \u2192 (${s.x},${s.y})`))}function u(){const o=t.currentPosition,n=t.iconType!==0,s=e.selectedRoute,d=!!(s?.from&&s?.to),y=n&&!d;if(!o){i.onPositionChanged(null),R(null);return}const p=x(o);y?(i.onPositionChanged(null),R({x:p.x,y:p.y,layer:p.layer})):(R(null),i.onPositionChanged(p))}function I(){const o=t.currentPosition,n=e.selectedRoute;if(!o||!n?.to)return;const s=!n.from,y=n.from?.id===a&&F.shouldReroute(x(o),t.routeLines);!s&&!y||t.rebuildRouteFromPosition(T(o,P,a))}function h(){const o=l.floors.find(n=>n.active)?.name;A(e.kioskData??null,o,l.mode)}function L(){const o=e.selectedRoute,n=t.currentPosition;if(!o?.to||!n||o.from?.id!==a||t.routeLines.length>0)return;const s=n.z!=null?String(n.z):"";o.from.x===n.x&&o.from.y===n.y&&o.from.layer===s||t.rebuildRouteFromPosition(T(n,P,a))}f.push(c(()=>l.layersLoaded,()=>{m(),u()}),c(()=>[e.selectedRoute,t.onlyAccessible],()=>{m(),u()}),c(()=>t.currentPosition,()=>{u()}),c(()=>{const o=t.currentPosition;return o?{x:o.x,y:o.y,z:o.z}:null},()=>{I(),L()},{equals:E.structural}),c(()=>[e.kioskData,l.floors.find(o=>o.active)],()=>h()));let r=null;const N=c(()=>[t.currentRouteLayer,e.getRouteNextFloor],()=>{l.layersLoaded&&(r!==null&&clearTimeout(r),r=setTimeout(()=>{i.onFloorChanged(),u(),r=null},0))});return f.push(()=>{r!==null&&clearTimeout(r),N()}),m(),u(),h(),()=>{for(const o of f)o();f.length=0}}