@expofp/floorplan 3.7.17 → 3.9.0

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 (193) hide show
  1. package/dist/browser/{Button-CalAncSt.js → Button-D6kSs8oT.js} +5 -5
  2. package/dist/browser/{CookieConsent-ZygvYtDb.js → CookieConsent-COR-7PnR.js} +7 -7
  3. package/dist/browser/{Debug-D0iAX94G.js → Debug-hcVDK_6B.js} +7 -7
  4. package/dist/browser/{Demo-DtZnCrNU.js → Demo-CXfqKcNa.js} +9 -9
  5. package/dist/browser/{Free-CY2ZgfTi.js → Free-UltUjcsW.js} +9 -9
  6. package/dist/browser/{Gallery-BJyU80Q8.js → Gallery-Dw_l4-HJ.js} +9 -9
  7. package/dist/browser/{GpsLoader-C4Az3Ogj.js → GpsLoader-BeUr-tWe.js} +36 -36
  8. package/dist/browser/{KioskStore-D3xv5iMJ.js → KioskStore-rXGF6ISj.js} +67 -67
  9. package/dist/browser/{MaplibreAdapter-BI5hr4DA.js → MaplibreAdapter-DBu4xFLx.js} +941 -960
  10. package/dist/browser/{ModalContainer-CGy7G3W-.js → ModalContainer-CHubcxXg.js} +10 -10
  11. package/dist/browser/{PermissionNotice-BQl-Eh0U.js → PermissionNotice-Dcyf-h-X.js} +6 -6
  12. package/dist/browser/{SetKioskMode-puXODfKF.js → SetKioskMode-Dsaeb_7s.js} +11 -11
  13. package/dist/browser/ShowKiosk-B33TvvNh.js +28 -0
  14. package/dist/browser/{TouchHand-DjRl3mqw.js → TouchHand-BglJHdqZ.js} +4 -4
  15. package/dist/browser/{ViewerMenuPanel-DwpOTh1A.js → ViewerMenuPanel-6hwMrGsD.js} +10 -10
  16. package/dist/browser/{add-debug-secret-listener-0zbOfR23.js → add-debug-secret-listener-CrjDiiDe.js} +1 -1
  17. package/dist/browser/{boolean-editor-Ct-PRF2J.js → boolean-editor-B8TY5r_7.js} +9 -9
  18. package/dist/browser/{bootIntercom-CNJJMQLU.js → bootIntercom-BLVUFUo9.js} +2 -2
  19. package/dist/browser/{browser-Dvk9Y0QP.js → browser-C0ZAqhfq.js} +2 -2
  20. package/dist/browser/bundle.json +61 -61
  21. package/dist/browser/{classnames-N7RelmSW.js → classnames-CORO_J9N.js} +2 -2
  22. package/dist/browser/{client-B3oB_gzf.js → client-B8k3_zlK.js} +4 -4
  23. package/dist/browser/{components-DCWqd4OH.js → components-Br23UmiD.js} +1857 -1861
  24. package/dist/browser/{createWayfinding-DCYv9I1K.js → createWayfinding-CywBuuhE.js} +552 -533
  25. package/dist/browser/{debug-overlay-C1zmn9JP.js → debug-overlay-OnJ9mpi3.js} +10 -10
  26. package/dist/browser/{debug-ui-Dk4TQW1Q.js → debug-ui-BGxXBqCM.js} +6 -6
  27. package/dist/browser/{dist-CZ9F3ShM.js → dist-Bwo0bena.js} +5 -5
  28. package/dist/browser/{dist-Dhhxwn3m.js → dist-DJcDQ9wl.js} +3 -3
  29. package/dist/browser/{dist-BjWXGdvS.js → dist-DeenbCqa.js} +6 -6
  30. package/dist/browser/{efp-debug-init-BY441NPw.js → efp-debug-init-D4xpSVxZ.js} +2 -2
  31. package/dist/browser/{enum-editor-wsFvRjdm.js → enum-editor-BtQ7q_B6.js} +11 -11
  32. package/dist/browser/{es5--a3vRB-s.js → es5-DyYwMIHo.js} +2 -2
  33. package/dist/browser/{event-not-found-C08dNiXm.js → event-not-found-DHZml9YG.js} +1 -1
  34. package/dist/browser/{exports-DnnAyWkZ.js → exports-BSvGPafo.js} +1 -1
  35. package/dist/browser/{favicon-BUBgyUNE.js → favicon-7eGefoDS.js} +1 -1
  36. package/dist/browser/{fetch-retry.umd-DqWbcFb6.js → fetch-retry.umd-D4q_0lN2.js} +2 -2
  37. package/dist/browser/{flex-BJvbUFUw.js → flex-BNMB3s0s.js} +5 -5
  38. package/dist/browser/{floorplan.loader-DtRqhN7h.js → floorplan.loader-C464BfTl.js} +45 -45
  39. package/dist/browser/{floorplan.ready-DU_ul7oy.js → floorplan.ready-F-rEW40x.js} +309 -233
  40. package/dist/browser/{fuse-C1gHDLf6.js → fuse-BOOzXNLy.js} +2 -2
  41. package/dist/browser/{i18n-GqZrkrT3.js → i18n-CJxFIIru.js} +9 -9
  42. package/dist/browser/index.js +12 -12
  43. package/dist/browser/{index.module-ClFPQstA.js → index.module-CkT4oOvs.js} +26 -26
  44. package/dist/browser/{is-webview-Ubd69hDX.js → is-webview-B86RAuQv.js} +1 -1
  45. package/dist/browser/{jsx-runtime-CcqjcKRn.js → jsx-runtime-3_7049j-.js} +2 -2
  46. package/dist/browser/{lib-D-VhTz7u.js → lib-CjZn5G8Q.js} +4 -4
  47. package/dist/browser/{loadImage-BSgOJpEi.js → loadImage-CV72jhce.js} +5 -5
  48. package/dist/browser/locales/ar.json +4 -1
  49. package/dist/browser/locales/da.json +4 -1
  50. package/dist/browser/locales/de.json +4 -1
  51. package/dist/browser/locales/es.json +4 -1
  52. package/dist/browser/locales/fr.json +4 -1
  53. package/dist/browser/locales/he.json +4 -1
  54. package/dist/browser/locales/it.json +4 -1
  55. package/dist/browser/locales/kk.json +4 -1
  56. package/dist/browser/locales/ko.json +4 -1
  57. package/dist/browser/locales/mn.json +4 -1
  58. package/dist/browser/locales/nl.json +4 -1
  59. package/dist/browser/locales/pl.json +4 -1
  60. package/dist/browser/locales/pt.json +4 -1
  61. package/dist/browser/locales/ru.json +4 -1
  62. package/dist/browser/locales/sv.json +4 -1
  63. package/dist/browser/locales/th.json +4 -1
  64. package/dist/browser/locales/tr.json +4 -1
  65. package/dist/browser/locales/uk.json +4 -1
  66. package/dist/browser/locales/vi.json +4 -1
  67. package/dist/browser/locales/zh.json +4 -1
  68. package/dist/browser/{logDeviceInfo-CqPbQalh.js → logDeviceInfo-CH_mwixN.js} +9 -9
  69. package/dist/browser/{main-D02oALU5.js → main-DBcClnTP.js} +1 -1
  70. package/dist/browser/{mobx-9haaaJQN.js → mobx-Cnc_mxKS.js} +8 -8
  71. package/dist/browser/{particles.min-Cy0_xv2F.js → particles.min-Bdddyoyn.js} +2 -2
  72. package/dist/browser/{prop-types-CGmwvRRk.js → prop-types-D9saedjy.js} +2 -2
  73. package/dist/browser/{react-C94g1dWf.js → react-CtAjLpE4.js} +2 -2
  74. package/dist/browser/{react-dom-VzzznUin.js → react-dom-9Z9grXEI.js} +3 -3
  75. package/dist/browser/{reset-all-settings-Bs45R4UK.js → reset-all-settings-D2rGLtD9.js} +7 -7
  76. package/dist/browser/{rolldown-runtime-DDajFMnr.js → rolldown-runtime-6HCGHF5o.js} +1 -1
  77. package/dist/browser/{settings-item-CTgteXDw.js → settings-item-CmuDoi0N.js} +6 -6
  78. package/dist/browser/{settings-B89NEO7Z.js → settings-r2jCygEX.js} +2 -2
  79. package/dist/browser/{store-39MLQcdz.js → store-hsXE5nII.js} +6753 -6669
  80. package/dist/browser/{string-editor-4uawnaDY.js → string-editor-UncyEsWj.js} +7 -7
  81. package/dist/browser/{theme-CWzone56.js → theme-DmuulesT.js} +8 -8
  82. package/dist/browser/{ui-D8Gz1TVh.js → ui-CBeseOX-.js} +8 -8
  83. package/dist/browser/{useRenderTarget-BSjQ_3rd.js → useRenderTarget-C5lcypnV.js} +4 -4
  84. package/dist/esm/components/LevelSelector.js +1 -1
  85. package/dist/esm/components/Map/Map.js +1 -1
  86. package/dist/esm/components/Map/booth-by-xy.js +1 -1
  87. package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
  88. package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
  89. package/dist/esm/components/Map/drawing/config/config-booth-bookmark.d.ts +1 -1
  90. package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
  91. package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
  92. package/dist/esm/components/Map/drawing/config/config-booth-labels-special.d.ts +1 -2
  93. package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
  94. package/dist/esm/components/Map/drawing/config/config-booth-labels.d.ts +4 -4
  95. package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
  96. package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
  97. package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
  98. package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
  99. package/dist/esm/components/Map/drawing/config/loadBoothsImages.d.ts +10 -4
  100. package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
  101. package/dist/esm/components/Map/traffic/useBuildRoute.js +5 -5
  102. package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
  103. package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
  104. package/dist/esm/components/Maplibre/useCameraReactions.d.ts +2 -2
  105. package/dist/esm/components/Maplibre/useCameraReactions.js +1 -1
  106. package/dist/esm/components/Maplibre/useLayerVisibilitySync.d.ts +2 -2
  107. package/dist/esm/components/Maplibre/useLayerVisibilitySync.js +1 -1
  108. package/dist/esm/components/Maplibre/utils/geo-config.d.ts +6 -6
  109. package/dist/esm/components/Maplibre/utils/geo-config.js +1 -1
  110. package/dist/esm/components/Maplibre/utils/solver.js +1 -1
  111. package/dist/esm/components/gps/useUserLocationAndHeading.d.ts +1 -1
  112. package/dist/esm/components/gps/useUserLocationAndHeading.js +1 -1
  113. package/dist/esm/components/gps/utils.d.ts +1 -1
  114. package/dist/esm/components/gps/utils.js +1 -1
  115. package/dist/esm/data/svg.d.ts +4 -4
  116. package/dist/esm/data/svg.js +1 -1
  117. package/dist/esm/floorplan.ready.d.ts +39 -2
  118. package/dist/esm/floorplan.ready.js +1 -1
  119. package/dist/esm/renderer/engine-core/canvases.d.ts +1 -1
  120. package/dist/esm/renderer/engine-core/canvases.js +1 -1
  121. package/dist/esm/renderer/engine-core/defs.d.ts +23 -4
  122. package/dist/esm/renderer/engine-core/defs.js +3 -3
  123. package/dist/esm/renderer/engine-core/types.d.ts +13 -2
  124. package/dist/esm/renderer/engine-core/update-def.d.ts +3 -2
  125. package/dist/esm/renderer/engine-core/update-def.js +1 -1
  126. package/dist/esm/renderer/engine-core/utils/rotation.d.ts +13 -1
  127. package/dist/esm/renderer/index.d.ts +2 -2
  128. package/dist/esm/renderer/index.js +1 -1
  129. package/dist/esm/services/routing.js +1 -1
  130. package/dist/esm/store/BoothStore.d.ts +14 -2
  131. package/dist/esm/store/BoothStore.js +1 -1
  132. package/dist/esm/store/LayerStore.d.ts +4 -4
  133. package/dist/esm/store/LayerStore.js +1 -1
  134. package/dist/esm/store/RouteStore.d.ts +3 -3
  135. package/dist/esm/store/RouteStore.js +1 -1
  136. package/dist/esm/store/UIState.d.ts +6 -7
  137. package/dist/esm/store/UIState.js +1 -1
  138. package/dist/esm/store/init/init-booths.js +1 -1
  139. package/dist/esm/store/init/init-layers.js +1 -1
  140. package/dist/esm/store/init/init-ui.js +1 -1
  141. package/dist/esm/store/search-buttons/SearchButtonsFactory.js +1 -1
  142. package/dist/esm/utils/gps.d.ts +0 -1
  143. package/dist/esm/utils/gps.js +1 -1
  144. package/dist/esm/utils/i18n.d.ts +9 -0
  145. package/dist/esm/utils/i18n.js +1 -1
  146. package/dist/esm/utils/imageloader.d.ts +1 -3
  147. package/dist/esm/utils/imageloader.js +1 -1
  148. package/dist/esm/utils/math.d.ts +0 -1
  149. package/dist/esm/utils/math.js +1 -1
  150. package/dist/esm/wayfinding/adapters/boothToEndpoint.d.ts +4 -0
  151. package/dist/esm/wayfinding/adapters/boothToEndpoint.js +1 -1
  152. package/dist/esm/wayfinding/core/geometry/projectPointOnSegment.d.ts +7 -6
  153. package/dist/esm/wayfinding/core/geometry/projectPointOnSegment.js +1 -1
  154. package/dist/esm/wayfinding/core/graph/graphHelpers.js +1 -1
  155. package/dist/esm/wayfinding/core/graph/linkCost.js +1 -1
  156. package/dist/esm/wayfinding/core/graph/pathfinder/aStarPathFinder.js +1 -1
  157. package/dist/esm/wayfinding/core/index.d.ts +0 -1
  158. package/dist/esm/wayfinding/core/position/distanceToRoute.d.ts +1 -1
  159. package/dist/esm/wayfinding/core/position/distanceToRoute.js +1 -1
  160. package/dist/esm/wayfinding/core/position/gpsThreshold.js +1 -1
  161. package/dist/esm/wayfinding/core/position/rerouteController.d.ts +1 -1
  162. package/dist/esm/wayfinding/core/position/rerouteController.js +1 -1
  163. package/dist/esm/wayfinding/core/position/snapToRoute.js +1 -1
  164. package/dist/esm/wayfinding/core/rendering/computeTrailPoints.d.ts +2 -2
  165. package/dist/esm/wayfinding/core/rendering/computeTrailPoints.js +1 -1
  166. package/dist/esm/wayfinding/core/rendering/normalizeRouteDirection.d.ts +1 -1
  167. package/dist/esm/wayfinding/core/rendering/normalizeRouteDirection.js +1 -1
  168. package/dist/esm/wayfinding/core/rendering/routeGeometry.d.ts +4 -8
  169. package/dist/esm/wayfinding/core/rendering/routeGeometry.js +1 -1
  170. package/dist/esm/wayfinding/core/routing/getRouteLength.js +1 -1
  171. package/dist/esm/wayfinding/createWayfinding.js +1 -1
  172. package/dist/esm/wayfinding/handlers/kioskHandler.js +1 -1
  173. package/dist/esm/wayfinding/renderer/iconManager.js +1 -1
  174. package/dist/esm/wayfinding/runtime/createWayfindingRuntime.js +1 -1
  175. package/dist/esm/wayfinding/runtime/positionView.d.ts +3 -3
  176. package/dist/esm/wayfinding/runtime/positionView.js +1 -1
  177. package/dist/esm/wayfinding/runtime/routeUpdate.d.ts +6 -5
  178. package/dist/esm/wayfinding/runtime/routeUpdate.js +1 -1
  179. package/dist/esm/wayfinding/runtime/types.d.ts +4 -3
  180. package/package.json +4 -4
  181. package/dist/browser/ShowKiosk-78DDAGCM.js +0 -28
  182. package/dist/esm/components/Map/drawing/config/Rect.d.ts +0 -7
  183. package/dist/esm/components/Map/drawing/config/Rect.js +0 -1
  184. package/dist/esm/core/Line.d.ts +0 -12
  185. package/dist/esm/core/Line.js +0 -1
  186. package/dist/esm/core/Polygon.d.ts +0 -16
  187. package/dist/esm/core/Polygon.js +0 -1
  188. package/dist/esm/core/Rect.d.ts +0 -36
  189. package/dist/esm/core/Rect.js +0 -1
  190. package/dist/esm/core/Size.d.ts +0 -7
  191. package/dist/esm/core/Size.js +0 -1
  192. package/dist/esm/utils/haversineDistance.d.ts +0 -7
  193. package/dist/esm/utils/haversineDistance.js +0 -1
@@ -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{setKioskUrlParams as ql}from"../components/Kiosk/kioskUrlParam";import{LANGUAGE_TYPE as A,MAP_SETTINGS_KEY as er,MOBILE_BREAKPOINT as tr,PREVIEW_MODE_STORAGE_KEY as sr,UI_SCALE_STORAGE_KEY as Q,VIEWER_MODE_STORAGE_KEY as ir,VISIBILITY_STORAGE_KEY as Gl}from"../constants";import ar from"../core/Rect";import C from"../data";import{svgArea as lr}from"../data/svg";import{readFreeBannerDismissed as rr}from"../tools/freeBanner";import{hasUserConsent as or}from"../tools/gtag";import{hasHtmlTags as Ql}from"../tools/has-html-tags";import nr from"../tools/logger";import V from"../tools/settings";import{stripHtml as Yl}from"../tools/strip-html";import{remsToPixels as N}from"../utils";import $l from"../utils/browser";import{getLocale as cr,getLocales as dr,t as y}from"../utils/i18n";import{isLocalStorageAvailable as B}from"../utils/localStorage";import{getResponsiveClass as hr}from"../utils/responsiveClass";import{sanitizeStr as jl}from"../utils/sanitizeText";import{uiState as w}from".";import{BoothBase as b,RegularBooth as E,SpecialBooth as Y}from"./BoothStore";import{EventItem as F}from"./EventStore";import{Exhibitor as x}from"./ExhibitorStore";import{findEntityByExternalId as ur,Route as R}from"./RouteStore";import{SpeakerItem as $}from"./SpeakerStore";const fr=["dimensions25"];let mr=(()=>{var U,O,H,z,k;let l=[],T,j=[],W=[],Z,X=[],J=[],q,ee=[],te=[],se,ie=[],ae=[],le,re=[],oe=[],ne,ce=[],de=[],he,ue=[],fe=[],me,ge=[],pe=[],_e,ve=[],Se=[],ye,ke=[],Ie=[],be,xe=[],ze=[],Ce,Be=[],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:"setForceDim",static:!1,private:!1,access:{has:e=>"setForceDim"in e,get:e=>e.setForceDim},metadata:t},null,l),i(this,null,Ca,{kind:"getter",name:"dimmed",static:!1,private:!1,access:{has:e=>"dimmed"in e,get:e=>e.dimmed},metadata:t},null,l),i(this,null,Ba,{kind:"getter",name:"defaultSearchItems",static:!1,private:!1,access:{has:e=>"defaultSearchItems"in e,get:e=>e.defaultSearchItems},metadata:t},null,l),i(this,null,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:"forceDim",static:!1,private:!1,access:{has:e=>"forceDim"in e,get:e=>e.forceDim,set:(e,s)=>{e.forceDim=s}},metadata:t},ba,xa),i(null,null,Ya,{kind:"field",name:"mapSettings",static:!1,private:!1,access:{has:e=>"mapSettings"in e,get:e=>e.mapSettings,set:(e,s)=>{e.mapSettings=s}},metadata:t},$a,ja),i(null,null,gl,{kind:"field",name:"forceShowDetails",static:!1,private:!1,access:{has:e=>"forceShowDetails"in e,get:e=>e.forceShowDetails,set:(e,s)=>{e.forceShowDetails=s}},metadata:t},pl,_l),i(null,null,yl,{kind:"field",name:"buildRoute",static:!1,private:!1,access:{has:e=>"buildRoute"in e,get:e=>e.buildRoute,set:(e,s)=>{e.buildRoute=s}},metadata:t},kl,Il),i(null,null,xl,{kind:"field",name:"globalErrorMessages",static:!1,private:!1,access:{has:e=>"globalErrorMessages"in e,get:e=>e.globalErrorMessages,set:(e,s)=>{e.globalErrorMessages=s}},metadata:t},zl,Cl),i(null,null,Rl,{kind:"field",name:"setKioskModeEnabled",static:!1,private:!1,access:{has:e=>"setKioskModeEnabled"in e,get:e=>e.setKioskModeEnabled,set:(e,s)=>{e.setKioskModeEnabled=s}},metadata:t},Ol,Dl),i(null,null,Al,{kind:"field",name:"kioskData",static:!1,private:!1,access:{has:e=>"kioskData"in e,get:e=>e.kioskData,set:(e,s)=>{e.kioskData=s}},metadata:t},El,Fl),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=a(this,l);interfaceMetadata=Object.freeze([{id:"menu",className:"efp-overlay-menu",priority:80,isActive:()=>this.menu,searchBoxConfig:()=>({mode:"interface",title:y("Menu")})},{id:"exhibitor",className:"efp-overlay-exhibitor",priority:70,isActive:()=>this.details instanceof x,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"booth",className:"efp-overlay-booth",priority:70,isActive:()=>this.details instanceof b,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:t.title||t.name}}},{id:"event",className:"efp-overlay-event",priority:70,isActive:()=>this.details instanceof F,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"route",className:"efp-overlay-route",priority:70,isActive:()=>this.details instanceof R,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:y("Directions")}}},{id:"search",className:"efp-overlay-search",priority:60,isActive:()=>!this.details&&!this.menu&&this.list.type==="search"&&(this.rootStore.fp.alwaysShowSidebar||this.heatmap||this.searchFocused||this.list.text.length>0||this.searchClearMode),searchBoxConfig:()=>({mode:"search",title:y("Search")})},{id:"exhibitors",className:"efp-overlay-exhibitors",priority:50,isActive:()=>this.list.type==="exhibitors"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Exhibitors")})},{id:"filter",className:"efp-overlay-filter",priority:50,isActive:()=>this.list.type==="filter"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Filter")})},{id:"bookmarks",className:"efp-overlay-bookmarks",priority:50,isActive:()=>this.list.type==="bookmarks"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:y("Bookmarks"),badge:this.rootStore.bookmarksStore.total})},{id:"visited",className:"efp-overlay-visited",priority:50,isActive:()=>this.list.type==="visited"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:y("Visited"),badge:this.rootStore.exhibitorStore.visited.length})},{id:A,className:"efp-overlay-language",priority:50,isActive:()=>this.list.type===A,searchBoxConfig:()=>({mode:"interface",title:y("Language")})},{id:"category",className:"efp-overlay-category",priority:50,isActive:()=>!w.menu&&!!w.selectedCategory,searchBoxConfig:()=>({mode:"interface",title:this.list.type==="category"&&this.list.category?.name||y("Categories")})},{id:"sessions",className:"efp-overlay-sessions",priority:50,isActive:()=>this.list.type==="sessions"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Sessions"),subtitle:this.selectedTrack?this.selectedTrack.name:void 0})},{id:"speakers",className:"efp-overlay-speakers",priority:50,isActive:()=>this.list.type==="speakers"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Speakers")})},{id:"speaker",className:"efp-overlay-speaker",priority:50,isActive:()=>this.details instanceof $,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"tours",className:"efp-overlay-tours",priority:50,isActive:()=>this.list.type==="tours"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Guided Tours")})},{id:"multi-point-wayfinding",className:"efp-overlay-multi-point",priority:75,isActive:()=>!!(this.isMultiPointRoute&&this.selectedRoute&&this.list.type!=="route-planner"),searchBoxConfig:()=>({mode:"interface",title:this.routeTitle||y("Multi-point route")})},{id:"multi-point-tour",className:"efp-overlay-multi-point-tour",priority:75,isActive:()=>this.list.type==="multi-point-tour"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:this.tourTitle||y("Multi-point route")})},{id:"route-planner",className:"efp-overlay-route-planner",priority:76,isActive:()=>this.list.type==="route-planner"&&(!this.details||this.details instanceof R),searchBoxConfig:()=>({mode:"interface",title:y("Route planner")})}].sort((t,e)=>e.priority-t.priority));list=a(this,j,{type:"search",text:"",focused:!1});details=(a(this,W),a(this,X,null));hoveredExhibitor=(a(this,J),a(this,ee,null));hoveredBooth=(a(this,te),a(this,ie,null));zoomBy=(a(this,ae),a(this,re,null));rollReset=(a(this,oe),a(this,ce,!1));moveToBooths=(a(this,de),a(this,ue,null));moveToRect=(a(this,fe),a(this,ge,null));moveToLocation=(a(this,pe),a(this,ve,!1));menu=(a(this,Se),a(this,ke,!1));searchFocused=(a(this,Ie),a(this,xe,!1));searchClearMode=(a(this,ze),a(this,Be,!1));printingPdf=(a(this,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,!!or()));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,rr(sessionStorage)));currentBanner=(a(this,ds),a(this,us,null));sceneDefReady=(a(this,fs),a(this,gs,!1));categoryFilterOpen=(a(this,ps),a(this,vs,!1));selectedCategoryFilters=(a(this,Ss),a(this,ks,[]));selectedPoiTypeFilters=(a(this,Is),a(this,xs,[]));selectedTrack=(a(this,zs),a(this,Bs,null));subButtonsVisible=(a(this,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=cr();return t==="ar"||t==="he"}get noOverlay(){return this.rootStore.fp.noOverlay||this.hideOverlay}get onBoothClick(){return this.rootStore.fp.onBoothClick}get onMarkerClick(){return this.rootStore.fp.onMarkerClick}get onBookmarkClick(){return this.rootStore.fp.onBookmarkClick}get onVisitedClick(){return this.rootStore.fp.onVisitedClick}get onCategoryClick(){return this.rootStore.fp.onCategoryClick}get onDirection(){return this.rootStore.fp.onDirection}get onDetails(){return this.rootStore.fp.onDetails}get onExhibitorCustomButtonClick(){return this.rootStore.fp.onExhibitorCustomButtonClick}get onGetCoordsClick(){return this.rootStore.fp.onGetCoordsClick}get selectedExhibitor(){return this.details instanceof x?this.details:null}get selectedBooth(){return this.details instanceof b?this.details:null}get selectedCategory(){return this.list.type==="category"?this.list.category:null}get selectedRoute(){return this.details instanceof R?this.details:null}get selectedSpeaker(){return this.details instanceof $?this.details:null}get uiScale(){return this._customUIScale!==null?this._customUIScale:this.kiosk?1.2:1}get isGuidedToursActive(){return this.rootStore.toursStore.isActive}get getRouteNextFloor(){const t=this.rootStore.routeStore.pathLayers,e=this.rootStore.routeStore.currentRouteLayer?.name;if(!e)return null;const s=t.findIndex(u=>u.layer?.name===e);return s===-1?null:t[s+1]?.layer?.name}get headerHeightRem(){return 0}get headerHeightPx(){return N(this.headerHeightRem)}get overlayPosition(){return!this.screenSize||this.screenSize.width>tr||this.kiosk?"left":"bottom"}get overlayCollapsed(){return this.kiosk&&this.overlayPosition==="left"&&!this.searchFocused&&!this.menu&&!this.details&&!this.selectedCategory&&!this.selectedExhibitor&&this.list.type!=="bookmarks"&&this.list.type!==A&&!this.list.text?.length}get overlaySize(){return this.overlayLeft?"full":this.desiredOverlaySize}get overlayBottom(){return this.overlayPosition==="bottom"}get overlayLeft(){return this.overlayPosition==="left"}get overlayWidthPx(){return this.noOverlay?0:this.overlayLeft?this.kiosk?this.overlayKioskSizePx:this.overlayUISizePx:N(this.screenSize.width)}get wsImageHeightPx(){return 44}get wsPaddingPx(){return N(.25)}get wsOccupiedHeightPx(){return this.wsShown?this.wsImageHeightPx+this.wsPaddingPx*2:0}get wsShown(){return!this.hideHeaderLogo&&this.rootStore.exhibitorStore.advertised.length>0}get wsDesktopPosition(){return V.EXPO==="cbresupplypartner"?"bottom":"top"}get wsPosition(){return this.overlayBottom?"top":this.wsDesktopPosition}get responsiveClass(){return hr(this.screenSize.width)}get mapVisibleTop(){return(this.wsPosition==="top"?this.wsOccupiedHeightPx:0)+this.headerHeightPx}get mapVisibleBottom(){return this.overlayLeft||this.noOverlay?this.wsPosition==="bottom"?this.wsOccupiedHeightPx:0:N(this.overlayMediumHeightRems)}get mapVisibleStart(){return 0}get searchActionsHeightPx(){return this.overlayPosition==="bottom"?this.searchInputHeightPx+this.searchFilterHeightPx:this.searchInputHeightPx}get fullSizeOffset(){const t=this.wsShown?54:0,e=this.bannerType==="free"&&!this.freeBannerDismissed?40:0,s=20;if(this.details&&!(this.details instanceof R))return t+e+s;const u=54,r=this.shouldShowSearchButtons?54:0;return t+e+u+s+r}get shouldShowSearchButtons(){return this.rootStore.searchButtonsStore.hasAnySearchButtons&&!this.details&&!this.menu&&![A,"filter"].includes(this.list.type)}get canvasVisibleRectPx(){const t=this.screenSize;return 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=$l.satisfies({safari:">=13"}),e=$l.satisfies({chrome:">=77"});var s=/(android)/i.test(navigator.userAgent);return s?!1:t||e&&w.canvasSizePt.height*w.canvasSizePt.width<3e6}forceDim=a(this,ba,!1);setForceDim(t){this.forceDim=t}get dimmed(){return this.forceDim||this.pathwayOnlyMode?!0:this.highlightedBooths.size>0||this.list?.type==="search"&&this.list?.text?.trim().length>0||this.list?.type==="exhibitors"}get defaultSearchItems(){const{exhibitorStore:t,categoryStore:e,boothStore:s,heatmapStore:u}=this.rootStore;let r=t.exhibitors;const n=e.categories.filter(p=>p.exhibitors.length),f=s.booths;this.selectedPoiTypeFilters.length>0&&(r=r.filter(p=>p.booths.some(_=>this.selectedPoiTypeFilters.some(S=>_.poiTypeId===S.id))));let g=[];const 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=jl(d instanceof b&&d.fullName.toLowerCase()||d.name.toLowerCase()),v=h.indexOf(jl(t));if(v===-1)return null;const Kl={id:d.id,position:v,lowerCaseName:h,featured:!1};return d instanceof x&&(Kl.featured=d.featured),Kl}).filter(Boolean).sort((d,h)=>(d.featured||h.featured)&&d.featured!==h.featured?d.featured?-1:1:d.position!==h.position?d.position-h.position:d.lowerCaseName.localeCompare(h.lowerCaseName)||String(d.id).localeCompare(String(h.id))).map(({id:d})=>Jl.get(d))}get searchList(){return[...this.rootStore.eventStore.eventItems,...this.rootStore.speakerStore.speakers,...this.rootStore.categoryStore.categories.filter(t=>t.exhibitors.length),...this.rootStore.exhibitorStore.exhibitors,...this.rootStore.boothStore.booths]}get foundInDescription(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return[];const e=this.fuzzySearchItems.map(({item:n})=>n),s=new Set(e.map(n=>n.name)),u=this.categoryFilteredSearchList.filter(n=>!s.has(n.name)),r=[];for(const n of u){const f=n.description;if(!f)continue;const P=(Ql(f)?Yl(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;Ql(u)&&(u=Yl(u));const r=u.toLowerCase().indexOf(e);if(r===-1)return;const n=3,f=r>n?r-n:0,g=u.substring(f).trim();t[s.id]=r>0?`...${g}`:g}),t}get categoryFilteredSearchList(){return this.selectedCategoryFilters.length===0?this.searchList:this.searchList.filter(t=>t instanceof x&&this.selectedCategoryFilters.some(e=>t.categories.some(s=>s.id===e.id)))}get fuzzySearchItems(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return this.defaultSearchItems.map(r=>({item:r,score:0,matches:[]}));const e=this.rootStore.fuzzySearchEngineStore.search(this.categoryFilteredSearchList,t),s=[],u=[];for(const r of e){const n=r.item,f=n.entity.type,g=f==="booth"?n:null,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 dr();case"filter":return this.list.items;case"sessions":return this.rootStore.eventStore.eventItems;case"exhibitors":const e=this.rootStore.exhibitorStore.exhibitors,s=this.list.text?.toLowerCase().trim();return s?e.filter(r=>r.name.toLowerCase().includes(s)):e;case"multi-point-tour":const u=this.rootStore.toursStore.getTourById(this.list.tourId);return u?!u.points||u.points.length===0?[]:u.points.map(r=>{const n=parseInt(r);if(!isNaN(n)){const g=this.rootStore.boothStore.boothById.get(n);if(g)return g}return ur(r)?.entity||null}).filter(Boolean):[];case"route-planner":return this.rootStore.routePlannerStore.resolvedBooths}throw new Error("Unknown list.type")}get listBooths(){return K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems)}get selectedBooths(){let t=[];this.selectedExhibitor?t=this.selectedExhibitor.booths:this.selectedBooth&&(t=[this.selectedBooth]);const e=this.selectedRoute,s=[e?.from,e?.to,...e?.waypoints??[]].filter(u=>u instanceof b);return t.push(...s),new Set(t)}get hoveredBooths(){let t;return this.hoveredBooth?t=[this.hoveredBooth]:this.hoveredExhibitor&&(t=this.hoveredExhibitor.booths),new Set(t)}get visibility(){return{controls:!this.mapControlsHidden,levels:!this.floorsControlHidden,header:this.wsShown,overlay:!this.hideOverlay}}setVisibility(t){const e={...Object.keys(this.visibility).reduce((s,u)=>({...s,[u]:!0}),{}),...Object.keys(t).filter(s=>this.visibility.hasOwnProperty(s)).reduce((s,u)=>({...s,[u]:t[u]}),{})};Object.values(e).every(Boolean)?B&&localStorage.removeItem(Gl):B&&localStorage.setItem(Gl,JSON.stringify(e)),this.mapControlsHidden=!e.controls,this.floorsControlHidden=!e.levels,this.hideHeaderLogo=!e.header,this.hideFreeOrDemo=!e.header,this.hideOverlay=!e.overlay}toggleMapOverlay(){this.overlayPosition==="bottom"&&this.overlaySize==="full"?this.desiredOverlaySize="medium":this.overlayPosition==="bottom"&&this.overlaySize!=="full"&&(this.desiredOverlaySize="full")}changeZoom(t){this.zoomBy=t}zoomIn(){this.changeZoom(1.5)}zoomOut(){this.changeZoom(.66)}fitBounds(){this.moveToRect=this.rootStore.layerStore.rectangle||lr,this.rollReset=!0}get previewMode(){return B&&localStorage.getItem(sr)==="1"||this.rootStore.fp.previewMode}get viewerMode(){return B&&localStorage.getItem(ir)==="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(er,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`,ql(t.searchParams,this.kioskData,["x","y","z"]);const n=t.toString();return console.log("Route QR Code Url",n),n}get isFeaturedExhibitorActive(){return this.details instanceof x&&!!this.details.featured}get activeInterfaceData(){for(const t of this.interfaceMetadata)if(t.isActive())return t;return null}get searchBoxConfig(){const t=this.activeInterfaceData;return!t||!t.searchBoxConfig?{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}:t.searchBoxConfig()||{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}}get searchBoxActions(){return this.activeInterfaceData?.actions?.()??[]}get overlayInterfaceClasses(){const t=[],e=this.activeInterfaceData;return e&&(t.push(e.className),e.additionalClasses&&t.push(...e.additionalClasses())),this.details&&t.push("overlay-has-details"),this.list.type&&t.push(`overlay-list-${this.list.type}`),this.isFeaturedExhibitorActive&&t.push("overlay-exhibitor-featured"),t}get isOverlayOpen(){return this.noOverlay||this.hideOverlay?!1:this.activeInterfaceData!==null}setOverlayScrolled(t){this.isOverlayScrolled=t}setListScrollTop(t,e){this.listScrollTop=e,this.scrollPositions.set(t,e)}setListScrollItemId(t,e){this.listScrollItemId=e,this.scrollItemIds.set(t,e)}getListScrollTop(t){return this.scrollPositions.get(t)||0}getListScrollItemId(t){return this.scrollItemIds.get(t)||null}clearListScroll(t){this.scrollPositions.delete(t),this.scrollItemIds.delete(t),this.list.type===t&&(this.listScrollTop=0,this.listScrollItemId=null)}get bannerType(){return this.hideFreeOrDemo||this.heatmap?null:V.EXPO==="expo"?"demo":C.expoFpAd||C.isTrial?"free":null}get isBannerVisible(){return this.bannerType!==null}setCurrentBanner(t){this.currentBanner=t}forceShowDetails=(a(this,ja),a(this,pl,!1));setForceShowDetails(t){this.forceShowDetails=t}get showRouteInstantly(){return!!(this.kiosk&&!this.forceShowDetails)}buildRoute=(a(this,_l),a(this,kl,!1));startBuildRoute(){this.rootStore.selectSearch(""),this.mapControlsHidden=!0,this.floorsControlHidden=!0,this.hideHeaderLogo=!0,this.hideFreeOrDemo=!0,this.hideOverlay=!0,this.hideCookieConsent=!0,this.buildRoute=!0}globalErrorMessages=(a(this,Il),a(this,zl,[]));setGlobalErrorMessage(t){this.globalErrorMessages.push(t)}popGlobalErrorMessage(){this.globalErrorMessages.pop()}initializeUIScale(){if(new URLSearchParams(window.location.search).get("kiosk")!=="0"&&B){const e=localStorage.getItem(Q);if(e){const s=parseFloat(e);!isNaN(s)&&s>=.8&&s<=1.4&&(this._customUIScale=s)}}}minUIScale=(a(this,Cl),.8);maxUIScale=1.4;setUIScale(t,e=!0){if(isNaN(t)||t<this.minUIScale||t>this.maxUIScale){nr.warn(`Invalid ui-scale value: ${t}. Must be between ${this.minUIScale} and ${this.maxUIScale}.`);return}this._customUIScale=t,e&&B&&localStorage.setItem(Q,t.toString())}resetUIScale(){this._customUIScale=null,B&&localStorage.removeItem(Q)}setKioskModeEnabled=a(this,Ol,!1);enableSetKioskMode(t){this.setKioskModeEnabled=t}kioskData=(a(this,Dl),a(this,El,void 0));setKioskData(t){this.kioskData=t}}})();export default mr;function K(U,O,H=[]){const z=[];return U.forEach(k=>{k instanceof x?z.push(...k.booths):k instanceof b?z.push(k):k instanceof F?k.boothId&&z.push(O.find(l=>l.id===k.boothId)):k instanceof $&&H.filter(l=>l.speakers.some(T=>T.id===k.id)&&l.boothId).forEach(l=>z.push(O.find(T=>T.id===l.boothId)))}),new Set(z.filter(Boolean))}
1
+ import{__esDecorate as i,__runInitializers as a}from"tslib";import{Box as ql}from"@expofp/geometry";import{action as m,computed as c,observable as o}from"mobx";import{setKioskUrlParams as er}from"../components/Kiosk/kioskUrlParam";import{LANGUAGE_TYPE as A,MAP_SETTINGS_KEY as tr,MOBILE_BREAKPOINT as sr,PREVIEW_MODE_STORAGE_KEY as ir,UI_SCALE_STORAGE_KEY as Q,VIEWER_MODE_STORAGE_KEY as ar,VISIBILITY_STORAGE_KEY as Gl}from"../constants";import C from"../data";import{svgArea as lr}from"../data/svg";import{readFreeBannerDismissed as rr}from"../tools/freeBanner";import{hasUserConsent as or}from"../tools/gtag";import{hasHtmlTags as Ql}from"../tools/has-html-tags";import nr from"../tools/logger";import V from"../tools/settings";import{stripHtml as Yl}from"../tools/strip-html";import{remsToPixels as N}from"../utils";import $l from"../utils/browser";import{getLocale as cr,getLocales as dr,t as y}from"../utils/i18n";import{isLocalStorageAvailable as B}from"../utils/localStorage";import{getResponsiveClass as hr}from"../utils/responsiveClass";import{sanitizeStr as jl}from"../utils/sanitizeText";import{uiState as w}from".";import{BoothBase as b,RegularBooth as E,SpecialBooth as Y}from"./BoothStore";import{EventItem as F}from"./EventStore";import{Exhibitor as x}from"./ExhibitorStore";import{findEntityByExternalId as ur,Route as R}from"./RouteStore";import{SpeakerItem as $}from"./SpeakerStore";const fr=["dimensions25"];let mr=(()=>{var U,O,H,z,k;let l=[],T,j=[],W=[],Z,X=[],J=[],q,ee=[],te=[],se,ie=[],ae=[],le,re=[],oe=[],ne,ce=[],de=[],he,ue=[],fe=[],me,ge=[],pe=[],_e,ve=[],Se=[],ye,ke=[],Ie=[],be,xe=[],ze=[],Ce,Be=[],Me=[],Pe,we=[],Te=[],Re,Oe=[],De=[],Le,Ae=[],Ee=[],Fe,Ue=[],He=[],Ve,Ne=[],Ke=[],Ge,Qe=[],Ye=[],$e,je=[],We=[],Ze,Xe=[],Je=[],qe,et=[],tt=[],st,it=[],at=[],lt,rt=[],ot=[],nt,ct=[],dt=[],ht,ut=[],ft=[],mt,gt=[],pt=[],_t,vt=[],St=[],yt,kt=[],It=[],bt,xt=[],zt=[],Ct,Bt=[],Mt=[],Pt,wt=[],Tt=[],Rt,Ot=[],Dt=[],Lt,At=[],Et=[],Ft,Ut=[],Ht=[],Vt,Nt=[],Kt=[],Gt,Qt=[],Yt=[],$t,jt=[],Wt=[],Zt,Xt=[],Jt=[],qt,es=[],ts=[],ss,is=[],as=[],ls,rs=[],os=[],ns,cs=[],ds=[],hs,us=[],fs=[],ms,gs=[],ps=[],_s,vs=[],Ss=[],ys,ks=[],Is=[],bs,xs=[],zs=[],Cs,Bs=[],Ms=[],Ps,ws=[],Ts=[],Rs,Os=[],Ds=[],Ls,As=[],Es=[],Fs,Us=[],Hs=[],Vs,Ns=[],Ks=[],Gs,Qs=[],Ys=[],$s,js=[],Ws=[],Zs,Xs=[],Js=[],qs,ei=[],ti=[],si,ii=[],ai=[],li,ri=[],oi=[],ni,ci=[],di=[],hi,ui=[],fi=[],mi,gi=[],pi=[],_i,vi=[],Si=[],yi,ki=[],Ii=[],bi,xi=[],zi=[],Ci,Bi,Mi,Pi,wi,Ti,Ri,Oi,Di,Li,Ai,Ei,Fi,Ui,Hi,Vi,Ni,Ki,Gi,Qi,Yi,$i,ji,Wi,Zi,Xi,Ji,qi,ea,ta,sa,ia,aa,la,ra,oa,na,ca,da,ha,ua,fa,ma,ga,pa,_a,va,Sa,ya,ka,Ia,ba=[],xa=[],za,Ca,Ba,Ma,Pa,wa,Ta,Ra,Oa,Da,La,Aa,Ea,Fa,Ua,Ha,Va,Na,Ka,Ga,Qa,Ya,$a=[],ja=[],Wa,Za,Xa,Ja,qa,el,tl,sl,il,al,ll,rl,ol,nl,cl,dl,hl,ul,fl,ml,gl,pl=[],_l=[],vl,Sl,yl,kl=[],Il=[],bl,xl,zl=[],Cl=[],Bl,Ml,Pl,wl,Tl,Rl,Ol=[],Dl=[],Ll,Al,El=[],Fl=[],Ul;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;T=[(U=o).struct.bind(U)],Z=[(O=o).ref.bind(O)],q=[(H=o).ref.bind(H)],se=[(z=o).ref.bind(z)],le=[o],ne=[o],he=[o],me=[o],_e=[o],ye=[o],be=[o],Ce=[o],Pe=[o],Re=[o],Le=[o],Fe=[(k=o).struct.bind(k)],Ve=[o],Ge=[o],$e=[o],Ze=[o],qe=[o],st=[o],lt=[o],nt=[o],ht=[o],mt=[o],_t=[o],yt=[o],bt=[o],Ct=[o],Pt=[o],Rt=[o],Lt=[o],Ft=[o],Vt=[o],Gt=[o],$t=[o],Zt=[o],qt=[o],ss=[o],ls=[o],ns=[o],hs=[o],ms=[o],_s=[o],ys=[o],bs=[o],Cs=[o],Ps=[o],Rs=[o],Ls=[o],Fs=[o],Vs=[o],Gs=[o],$s=[o],Zs=[o],qs=[o],si=[o],li=[o],ni=[o],hi=[o],mi=[o],_i=[o],yi=[o],bi=[o],Ci=[m],Bi=[m],Mi=[m],Pi=[m],wi=[m],Ti=[m],Ri=[m],Oi=[m],Di=[m],Li=[m],Ai=[m],Ei=[c],Fi=[c],Ui=[c],Hi=[c({keepAlive:!0})],Vi=[c({keepAlive:!0})],Ni=[c({keepAlive:!0})],Ki=[c({keepAlive:!0})],Gi=[c({keepAlive:!0})],Qi=[c({keepAlive:!0})],Yi=[c({keepAlive:!0})],$i=[c({keepAlive:!0})],ji=[c({keepAlive:!0})],Wi=[c],Zi=[c],Xi=[c],Ji=[c],qi=[c],ea=[c],ta=[c],sa=[c],ia=[c({keepAlive:!0})],aa=[c],la=[c],ra=[c({keepAlive:!0})],oa=[c],na=[c],ca=[c],da=[c],ha=[c],ua=[c],fa=[c],ma=[c],ga=[c],pa=[c],_a=[c],va=[c],Sa=[c],ya=[c],ka=[c({keepAlive:!0})],Ia=[o],za=[m],Ca=[c],Ba=[c],Ma=[c],Pa=[c],wa=[c],Ta=[c],Ra=[c],Oa=[c],Da=[c],La=[c({keepAlive:!0})],Aa=[c({keepAlive:!0})],Ea=[c({keepAlive:!0})],Fa=[c],Ua=[m],Ha=[m],Va=[m],Na=[m],Ka=[m],Ga=[m],Qa=[c({keepAlive:!0})],Ya=[o],Wa=[m],Za=[m],Xa=[c],Ja=[c],qa=[c],el=[c],tl=[c],sl=[c],il=[c],al=[c],ll=[c],rl=[m],ol=[m],nl=[m],cl=[m],dl=[m],hl=[m],ul=[c],fl=[c],ml=[m],gl=[o],vl=[m],Sl=[c],yl=[o],bl=[m],xl=[o],Bl=[m],Ml=[m],Pl=[m],wl=[m],Tl=[m],Rl=[o],Ll=[m],Al=[o],Ul=[m],i(this,null,Ci,{kind:"method",name:"setSelectedCategoryFilters",static:!1,private:!1,access:{has:e=>"setSelectedCategoryFilters"in e,get:e=>e.setSelectedCategoryFilters},metadata:t},null,l),i(this,null,Bi,{kind:"method",name:"resetCategoryFilter",static:!1,private:!1,access:{has:e=>"resetCategoryFilter"in e,get:e=>e.resetCategoryFilter},metadata:t},null,l),i(this,null,Mi,{kind:"method",name:"setSearchClearMode",static:!1,private:!1,access:{has:e=>"setSearchClearMode"in e,get:e=>e.setSearchClearMode},metadata:t},null,l),i(this,null,Pi,{kind:"method",name:"setRouteTitle",static:!1,private:!1,access:{has:e=>"setRouteTitle"in e,get:e=>e.setRouteTitle},metadata:t},null,l),i(this,null,wi,{kind:"method",name:"setRouteDescription",static:!1,private:!1,access:{has:e=>"setRouteDescription"in e,get:e=>e.setRouteDescription},metadata:t},null,l),i(this,null,Ti,{kind:"method",name:"setIsMultiPointRoute",static:!1,private:!1,access:{has:e=>"setIsMultiPointRoute"in e,get:e=>e.setIsMultiPointRoute},metadata:t},null,l),i(this,null,Ri,{kind:"method",name:"setTourTitle",static:!1,private:!1,access:{has:e=>"setTourTitle"in e,get:e=>e.setTourTitle},metadata:t},null,l),i(this,null,Oi,{kind:"method",name:"setTourDescription",static:!1,private:!1,access:{has:e=>"setTourDescription"in e,get:e=>e.setTourDescription},metadata:t},null,l),i(this,null,Di,{kind:"method",name:"setIsMultiPointTour",static:!1,private:!1,access:{has:e=>"setIsMultiPointTour"in e,get:e=>e.setIsMultiPointTour},metadata:t},null,l),i(this,null,Li,{kind:"method",name:"setPathwayOnlyMode",static:!1,private:!1,access:{has:e=>"setPathwayOnlyMode"in e,get:e=>e.setPathwayOnlyMode},metadata:t},null,l),i(this,null,Ai,{kind:"method",name:"setMultiPointTourList",static:!1,private:!1,access:{has:e=>"setMultiPointTourList"in e,get:e=>e.setMultiPointTourList},metadata:t},null,l),i(this,null,Ei,{kind:"getter",name:"activePathwayLayers",static:!1,private:!1,access:{has:e=>"activePathwayLayers"in e,get:e=>e.activePathwayLayers},metadata:t},null,l),i(this,null,Fi,{kind:"getter",name:"highlightedBooths",static:!1,private:!1,access:{has:e=>"highlightedBooths"in e,get:e=>e.highlightedBooths},metadata:t},null,l),i(this,null,Ui,{kind:"getter",name:"rtl",static:!1,private:!1,access:{has:e=>"rtl"in e,get:e=>e.rtl},metadata:t},null,l),i(this,null,Hi,{kind:"getter",name:"noOverlay",static:!1,private:!1,access:{has:e=>"noOverlay"in e,get:e=>e.noOverlay},metadata:t},null,l),i(this,null,Vi,{kind:"getter",name:"selectedExhibitor",static:!1,private:!1,access:{has:e=>"selectedExhibitor"in e,get:e=>e.selectedExhibitor},metadata:t},null,l),i(this,null,Ni,{kind:"getter",name:"selectedBooth",static:!1,private:!1,access:{has:e=>"selectedBooth"in e,get:e=>e.selectedBooth},metadata:t},null,l),i(this,null,Ki,{kind:"getter",name:"selectedCategory",static:!1,private:!1,access:{has:e=>"selectedCategory"in e,get:e=>e.selectedCategory},metadata:t},null,l),i(this,null,Gi,{kind:"getter",name:"selectedRoute",static:!1,private:!1,access:{has:e=>"selectedRoute"in e,get:e=>e.selectedRoute},metadata:t},null,l),i(this,null,Qi,{kind:"getter",name:"selectedSpeaker",static:!1,private:!1,access:{has:e=>"selectedSpeaker"in e,get:e=>e.selectedSpeaker},metadata:t},null,l),i(this,null,Yi,{kind:"getter",name:"uiScale",static:!1,private:!1,access:{has:e=>"uiScale"in e,get:e=>e.uiScale},metadata:t},null,l),i(this,null,$i,{kind:"getter",name:"isGuidedToursActive",static:!1,private:!1,access:{has:e=>"isGuidedToursActive"in e,get:e=>e.isGuidedToursActive},metadata:t},null,l),i(this,null,ji,{kind:"getter",name:"getRouteNextFloor",static:!1,private:!1,access:{has:e=>"getRouteNextFloor"in e,get:e=>e.getRouteNextFloor},metadata:t},null,l),i(this,null,Wi,{kind:"getter",name:"headerHeightRem",static:!1,private:!1,access:{has:e=>"headerHeightRem"in e,get:e=>e.headerHeightRem},metadata:t},null,l),i(this,null,Zi,{kind:"getter",name:"headerHeightPx",static:!1,private:!1,access:{has:e=>"headerHeightPx"in e,get:e=>e.headerHeightPx},metadata:t},null,l),i(this,null,Xi,{kind:"getter",name:"overlayPosition",static:!1,private:!1,access:{has:e=>"overlayPosition"in e,get:e=>e.overlayPosition},metadata:t},null,l),i(this,null,Ji,{kind:"getter",name:"overlayCollapsed",static:!1,private:!1,access:{has:e=>"overlayCollapsed"in e,get:e=>e.overlayCollapsed},metadata:t},null,l),i(this,null,qi,{kind:"getter",name:"overlaySize",static:!1,private:!1,access:{has:e=>"overlaySize"in e,get:e=>e.overlaySize},metadata:t},null,l),i(this,null,ea,{kind:"getter",name:"overlayBottom",static:!1,private:!1,access:{has:e=>"overlayBottom"in e,get:e=>e.overlayBottom},metadata:t},null,l),i(this,null,ta,{kind:"getter",name:"overlayLeft",static:!1,private:!1,access:{has:e=>"overlayLeft"in e,get:e=>e.overlayLeft},metadata:t},null,l),i(this,null,sa,{kind:"getter",name:"overlayWidthPx",static:!1,private:!1,access:{has:e=>"overlayWidthPx"in e,get:e=>e.overlayWidthPx},metadata:t},null,l),i(this,null,ia,{kind:"getter",name:"wsImageHeightPx",static:!1,private:!1,access:{has:e=>"wsImageHeightPx"in e,get:e=>e.wsImageHeightPx},metadata:t},null,l),i(this,null,aa,{kind:"getter",name:"wsPaddingPx",static:!1,private:!1,access:{has:e=>"wsPaddingPx"in e,get:e=>e.wsPaddingPx},metadata:t},null,l),i(this,null,la,{kind:"getter",name:"wsOccupiedHeightPx",static:!1,private:!1,access:{has:e=>"wsOccupiedHeightPx"in e,get:e=>e.wsOccupiedHeightPx},metadata:t},null,l),i(this,null,ra,{kind:"getter",name:"wsShown",static:!1,private:!1,access:{has:e=>"wsShown"in e,get:e=>e.wsShown},metadata:t},null,l),i(this,null,oa,{kind:"getter",name:"wsDesktopPosition",static:!1,private:!1,access:{has:e=>"wsDesktopPosition"in e,get:e=>e.wsDesktopPosition},metadata:t},null,l),i(this,null,na,{kind:"getter",name:"wsPosition",static:!1,private:!1,access:{has:e=>"wsPosition"in e,get:e=>e.wsPosition},metadata:t},null,l),i(this,null,ca,{kind:"getter",name:"responsiveClass",static:!1,private:!1,access:{has:e=>"responsiveClass"in e,get:e=>e.responsiveClass},metadata:t},null,l),i(this,null,da,{kind:"getter",name:"mapVisibleTop",static:!1,private:!1,access:{has:e=>"mapVisibleTop"in e,get:e=>e.mapVisibleTop},metadata:t},null,l),i(this,null,ha,{kind:"getter",name:"mapVisibleBottom",static:!1,private:!1,access:{has:e=>"mapVisibleBottom"in e,get:e=>e.mapVisibleBottom},metadata:t},null,l),i(this,null,ua,{kind:"getter",name:"mapVisibleStart",static:!1,private:!1,access:{has:e=>"mapVisibleStart"in e,get:e=>e.mapVisibleStart},metadata:t},null,l),i(this,null,fa,{kind:"getter",name:"searchActionsHeightPx",static:!1,private:!1,access:{has:e=>"searchActionsHeightPx"in e,get:e=>e.searchActionsHeightPx},metadata:t},null,l),i(this,null,ma,{kind:"getter",name:"fullSizeOffset",static:!1,private:!1,access:{has:e=>"fullSizeOffset"in e,get:e=>e.fullSizeOffset},metadata:t},null,l),i(this,null,ga,{kind:"getter",name:"shouldShowSearchButtons",static:!1,private:!1,access:{has:e=>"shouldShowSearchButtons"in e,get:e=>e.shouldShowSearchButtons},metadata:t},null,l),i(this,null,pa,{kind:"getter",name:"canvasVisibleRectPx",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPx"in e,get:e=>e.canvasVisibleRectPx},metadata:t},null,l),i(this,null,_a,{kind:"getter",name:"shouldShiftMapRect",static:!1,private:!1,access:{has:e=>"shouldShiftMapRect"in e,get:e=>e.shouldShiftMapRect},metadata:t},null,l),i(this,null,va,{kind:"getter",name:"hasAppliedFilters",static:!1,private:!1,access:{has:e=>"hasAppliedFilters"in e,get:e=>e.hasAppliedFilters},metadata:t},null,l),i(this,null,Sa,{kind:"getter",name:"canvasVisibleRectPt",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPt"in e,get:e=>e.canvasVisibleRectPt},metadata:t},null,l),i(this,null,ya,{kind:"getter",name:"canvasSizePt",static:!1,private:!1,access:{has:e=>"canvasSizePt"in e,get:e=>e.canvasSizePt},metadata:t},null,l),i(this,null,ka,{kind:"getter",name:"shouldUseBackdrop",static:!1,private:!1,access:{has:e=>"shouldUseBackdrop"in e,get:e=>e.shouldUseBackdrop},metadata:t},null,l),i(this,null,za,{kind:"method",name:"setForceDim",static:!1,private:!1,access:{has:e=>"setForceDim"in e,get:e=>e.setForceDim},metadata:t},null,l),i(this,null,Ca,{kind:"getter",name:"dimmed",static:!1,private:!1,access:{has:e=>"dimmed"in e,get:e=>e.dimmed},metadata:t},null,l),i(this,null,Ba,{kind:"getter",name:"defaultSearchItems",static:!1,private:!1,access:{has:e=>"defaultSearchItems"in e,get:e=>e.defaultSearchItems},metadata:t},null,l),i(this,null,Ma,{kind:"getter",name:"searchItems",static:!1,private:!1,access:{has:e=>"searchItems"in e,get:e=>e.searchItems},metadata:t},null,l),i(this,null,Pa,{kind:"getter",name:"searchList",static:!1,private:!1,access:{has:e=>"searchList"in e,get:e=>e.searchList},metadata:t},null,l),i(this,null,wa,{kind:"getter",name:"foundInDescription",static:!1,private:!1,access:{has:e=>"foundInDescription"in e,get:e=>e.foundInDescription},metadata:t},null,l),i(this,null,Ta,{kind:"getter",name:"foundInDescriptionStruct",static:!1,private:!1,access:{has:e=>"foundInDescriptionStruct"in e,get:e=>e.foundInDescriptionStruct},metadata:t},null,l),i(this,null,Ra,{kind:"getter",name:"categoryFilteredSearchList",static:!1,private:!1,access:{has:e=>"categoryFilteredSearchList"in e,get:e=>e.categoryFilteredSearchList},metadata:t},null,l),i(this,null,Oa,{kind:"getter",name:"fuzzySearchItems",static:!1,private:!1,access:{has:e=>"fuzzySearchItems"in e,get:e=>e.fuzzySearchItems},metadata:t},null,l),i(this,null,Da,{kind:"getter",name:"listItems",static:!1,private:!1,access:{has:e=>"listItems"in e,get:e=>e.listItems},metadata:t},null,l),i(this,null,La,{kind:"getter",name:"listBooths",static:!1,private:!1,access:{has:e=>"listBooths"in e,get:e=>e.listBooths},metadata:t},null,l),i(this,null,Aa,{kind:"getter",name:"selectedBooths",static:!1,private:!1,access:{has:e=>"selectedBooths"in e,get:e=>e.selectedBooths},metadata:t},null,l),i(this,null,Ea,{kind:"getter",name:"hoveredBooths",static:!1,private:!1,access:{has:e=>"hoveredBooths"in e,get:e=>e.hoveredBooths},metadata:t},null,l),i(this,null,Fa,{kind:"getter",name:"visibility",static:!1,private:!1,access:{has:e=>"visibility"in e,get:e=>e.visibility},metadata:t},null,l),i(this,null,Ua,{kind:"method",name:"setVisibility",static:!1,private:!1,access:{has:e=>"setVisibility"in e,get:e=>e.setVisibility},metadata:t},null,l),i(this,null,Ha,{kind:"method",name:"toggleMapOverlay",static:!1,private:!1,access:{has:e=>"toggleMapOverlay"in e,get:e=>e.toggleMapOverlay},metadata:t},null,l),i(this,null,Va,{kind:"method",name:"changeZoom",static:!1,private:!1,access:{has:e=>"changeZoom"in e,get:e=>e.changeZoom},metadata:t},null,l),i(this,null,Na,{kind:"method",name:"zoomIn",static:!1,private:!1,access:{has:e=>"zoomIn"in e,get:e=>e.zoomIn},metadata:t},null,l),i(this,null,Ka,{kind:"method",name:"zoomOut",static:!1,private:!1,access:{has:e=>"zoomOut"in e,get:e=>e.zoomOut},metadata:t},null,l),i(this,null,Ga,{kind:"method",name:"fitBounds",static:!1,private:!1,access:{has:e=>"fitBounds"in e,get:e=>e.fitBounds},metadata:t},null,l),i(this,null,Qa,{kind:"getter",name:"selectedEventItem",static:!1,private:!1,access:{has:e=>"selectedEventItem"in e,get:e=>e.selectedEventItem},metadata:t},null,l),i(this,null,Wa,{kind:"method",name:"setMapSettings",static:!1,private:!1,access:{has:e=>"setMapSettings"in e,get:e=>e.setMapSettings},metadata:t},null,l),i(this,null,Za,{kind:"method",name:"resetMapSettings",static:!1,private:!1,access:{has:e=>"resetMapSettings"in e,get:e=>e.resetMapSettings},metadata:t},null,l),i(this,null,Xa,{kind:"getter",name:"baseQRCodeUrl",static:!1,private:!1,access:{has:e=>"baseQRCodeUrl"in e,get:e=>e.baseQRCodeUrl},metadata:t},null,l),i(this,null,Ja,{kind:"getter",name:"viewMapOnPhoneQRCodeUrl",static:!1,private:!1,access:{has:e=>"viewMapOnPhoneQRCodeUrl"in e,get:e=>e.viewMapOnPhoneQRCodeUrl},metadata:t},null,l),i(this,null,qa,{kind:"getter",name:"routeQRCodeUrl",static:!1,private:!1,access:{has:e=>"routeQRCodeUrl"in e,get:e=>e.routeQRCodeUrl},metadata:t},null,l),i(this,null,el,{kind:"getter",name:"isFeaturedExhibitorActive",static:!1,private:!1,access:{has:e=>"isFeaturedExhibitorActive"in e,get:e=>e.isFeaturedExhibitorActive},metadata:t},null,l),i(this,null,tl,{kind:"getter",name:"activeInterfaceData",static:!1,private:!1,access:{has:e=>"activeInterfaceData"in e,get:e=>e.activeInterfaceData},metadata:t},null,l),i(this,null,sl,{kind:"getter",name:"searchBoxConfig",static:!1,private:!1,access:{has:e=>"searchBoxConfig"in e,get:e=>e.searchBoxConfig},metadata:t},null,l),i(this,null,il,{kind:"getter",name:"searchBoxActions",static:!1,private:!1,access:{has:e=>"searchBoxActions"in e,get:e=>e.searchBoxActions},metadata:t},null,l),i(this,null,al,{kind:"getter",name:"overlayInterfaceClasses",static:!1,private:!1,access:{has:e=>"overlayInterfaceClasses"in e,get:e=>e.overlayInterfaceClasses},metadata:t},null,l),i(this,null,ll,{kind:"getter",name:"isOverlayOpen",static:!1,private:!1,access:{has:e=>"isOverlayOpen"in e,get:e=>e.isOverlayOpen},metadata:t},null,l),i(this,null,rl,{kind:"method",name:"setOverlayScrolled",static:!1,private:!1,access:{has:e=>"setOverlayScrolled"in e,get:e=>e.setOverlayScrolled},metadata:t},null,l),i(this,null,ol,{kind:"method",name:"setListScrollTop",static:!1,private:!1,access:{has:e=>"setListScrollTop"in e,get:e=>e.setListScrollTop},metadata:t},null,l),i(this,null,nl,{kind:"method",name:"setListScrollItemId",static:!1,private:!1,access:{has:e=>"setListScrollItemId"in e,get:e=>e.setListScrollItemId},metadata:t},null,l),i(this,null,cl,{kind:"method",name:"getListScrollTop",static:!1,private:!1,access:{has:e=>"getListScrollTop"in e,get:e=>e.getListScrollTop},metadata:t},null,l),i(this,null,dl,{kind:"method",name:"getListScrollItemId",static:!1,private:!1,access:{has:e=>"getListScrollItemId"in e,get:e=>e.getListScrollItemId},metadata:t},null,l),i(this,null,hl,{kind:"method",name:"clearListScroll",static:!1,private:!1,access:{has:e=>"clearListScroll"in e,get:e=>e.clearListScroll},metadata:t},null,l),i(this,null,ul,{kind:"getter",name:"bannerType",static:!1,private:!1,access:{has:e=>"bannerType"in e,get:e=>e.bannerType},metadata:t},null,l),i(this,null,fl,{kind:"getter",name:"isBannerVisible",static:!1,private:!1,access:{has:e=>"isBannerVisible"in e,get:e=>e.isBannerVisible},metadata:t},null,l),i(this,null,ml,{kind:"method",name:"setCurrentBanner",static:!1,private:!1,access:{has:e=>"setCurrentBanner"in e,get:e=>e.setCurrentBanner},metadata:t},null,l),i(this,null,vl,{kind:"method",name:"setForceShowDetails",static:!1,private:!1,access:{has:e=>"setForceShowDetails"in e,get:e=>e.setForceShowDetails},metadata:t},null,l),i(this,null,Sl,{kind:"getter",name:"showRouteInstantly",static:!1,private:!1,access:{has:e=>"showRouteInstantly"in e,get:e=>e.showRouteInstantly},metadata:t},null,l),i(this,null,bl,{kind:"method",name:"startBuildRoute",static:!1,private:!1,access:{has:e=>"startBuildRoute"in e,get:e=>e.startBuildRoute},metadata:t},null,l),i(this,null,Bl,{kind:"method",name:"setGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"setGlobalErrorMessage"in e,get:e=>e.setGlobalErrorMessage},metadata:t},null,l),i(this,null,Ml,{kind:"method",name:"popGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"popGlobalErrorMessage"in e,get:e=>e.popGlobalErrorMessage},metadata:t},null,l),i(this,null,Pl,{kind:"method",name:"initializeUIScale",static:!1,private:!1,access:{has:e=>"initializeUIScale"in e,get:e=>e.initializeUIScale},metadata:t},null,l),i(this,null,wl,{kind:"method",name:"setUIScale",static:!1,private:!1,access:{has:e=>"setUIScale"in e,get:e=>e.setUIScale},metadata:t},null,l),i(this,null,Tl,{kind:"method",name:"resetUIScale",static:!1,private:!1,access:{has:e=>"resetUIScale"in e,get:e=>e.resetUIScale},metadata:t},null,l),i(this,null,Ll,{kind:"method",name:"enableSetKioskMode",static:!1,private:!1,access:{has:e=>"enableSetKioskMode"in e,get:e=>e.enableSetKioskMode},metadata:t},null,l),i(this,null,Ul,{kind:"method",name:"setKioskData",static:!1,private:!1,access:{has:e=>"setKioskData"in e,get:e=>e.setKioskData},metadata:t},null,l),i(null,null,T,{kind:"field",name:"list",static:!1,private:!1,access:{has:e=>"list"in e,get:e=>e.list,set:(e,s)=>{e.list=s}},metadata:t},j,W),i(null,null,Z,{kind:"field",name:"details",static:!1,private:!1,access:{has:e=>"details"in e,get:e=>e.details,set:(e,s)=>{e.details=s}},metadata:t},X,J),i(null,null,q,{kind:"field",name:"hoveredExhibitor",static:!1,private:!1,access:{has:e=>"hoveredExhibitor"in e,get:e=>e.hoveredExhibitor,set:(e,s)=>{e.hoveredExhibitor=s}},metadata:t},ee,te),i(null,null,se,{kind:"field",name:"hoveredBooth",static:!1,private:!1,access:{has:e=>"hoveredBooth"in e,get:e=>e.hoveredBooth,set:(e,s)=>{e.hoveredBooth=s}},metadata:t},ie,ae),i(null,null,le,{kind:"field",name:"zoomBy",static:!1,private:!1,access:{has:e=>"zoomBy"in e,get:e=>e.zoomBy,set:(e,s)=>{e.zoomBy=s}},metadata:t},re,oe),i(null,null,ne,{kind:"field",name:"rollReset",static:!1,private:!1,access:{has:e=>"rollReset"in e,get:e=>e.rollReset,set:(e,s)=>{e.rollReset=s}},metadata:t},ce,de),i(null,null,he,{kind:"field",name:"moveToBooths",static:!1,private:!1,access:{has:e=>"moveToBooths"in e,get:e=>e.moveToBooths,set:(e,s)=>{e.moveToBooths=s}},metadata:t},ue,fe),i(null,null,me,{kind:"field",name:"moveToRect",static:!1,private:!1,access:{has:e=>"moveToRect"in e,get:e=>e.moveToRect,set:(e,s)=>{e.moveToRect=s}},metadata:t},ge,pe),i(null,null,_e,{kind:"field",name:"moveToLocation",static:!1,private:!1,access:{has:e=>"moveToLocation"in e,get:e=>e.moveToLocation,set:(e,s)=>{e.moveToLocation=s}},metadata:t},ve,Se),i(null,null,ye,{kind:"field",name:"menu",static:!1,private:!1,access:{has:e=>"menu"in e,get:e=>e.menu,set:(e,s)=>{e.menu=s}},metadata:t},ke,Ie),i(null,null,be,{kind:"field",name:"searchFocused",static:!1,private:!1,access:{has:e=>"searchFocused"in e,get:e=>e.searchFocused,set:(e,s)=>{e.searchFocused=s}},metadata:t},xe,ze),i(null,null,Ce,{kind:"field",name:"searchClearMode",static:!1,private:!1,access:{has:e=>"searchClearMode"in e,get:e=>e.searchClearMode,set:(e,s)=>{e.searchClearMode=s}},metadata:t},Be,Me),i(null,null,Pe,{kind:"field",name:"printingPdf",static:!1,private:!1,access:{has:e=>"printingPdf"in e,get:e=>e.printingPdf,set:(e,s)=>{e.printingPdf=s}},metadata:t},we,Te),i(null,null,Re,{kind:"field",name:"largeMessage",static:!1,private:!1,access:{has:e=>"largeMessage"in e,get:e=>e.largeMessage,set:(e,s)=>{e.largeMessage=s}},metadata:t},Oe,De),i(null,null,Le,{kind:"field",name:"largeMessageLastSet",static:!1,private:!1,access:{has:e=>"largeMessageLastSet"in e,get:e=>e.largeMessageLastSet,set:(e,s)=>{e.largeMessageLastSet=s}},metadata:t},Ae,Ee),i(null,null,Fe,{kind:"field",name:"screenSize",static:!1,private:!1,access:{has:e=>"screenSize"in e,get:e=>e.screenSize,set:(e,s)=>{e.screenSize=s}},metadata:t},Ue,He),i(null,null,Ve,{kind:"field",name:"desiredOverlaySize",static:!1,private:!1,access:{has:e=>"desiredOverlaySize"in e,get:e=>e.desiredOverlaySize,set:(e,s)=>{e.desiredOverlaySize=s}},metadata:t},Ne,Ke),i(null,null,Ge,{kind:"field",name:"overlayShowsAll",static:!1,private:!1,access:{has:e=>"overlayShowsAll"in e,get:e=>e.overlayShowsAll,set:(e,s)=>{e.overlayShowsAll=s}},metadata:t},Qe,Ye),i(null,null,$e,{kind:"field",name:"centerMap",static:!1,private:!1,access:{has:e=>"centerMap"in e,get:e=>e.centerMap,set:(e,s)=>{e.centerMap=s}},metadata:t},je,We),i(null,null,Ze,{kind:"field",name:"zoomAfTransformK",static:!1,private:!1,access:{has:e=>"zoomAfTransformK"in e,get:e=>e.zoomAfTransformK,set:(e,s)=>{e.zoomAfTransformK=s}},metadata:t},Xe,Je),i(null,null,qe,{kind:"field",name:"activeListIndex",static:!1,private:!1,access:{has:e=>"activeListIndex"in e,get:e=>e.activeListIndex,set:(e,s)=>{e.activeListIndex=s}},metadata:t},et,tt),i(null,null,st,{kind:"field",name:"devicePixelRatio",static:!1,private:!1,access:{has:e=>"devicePixelRatio"in e,get:e=>e.devicePixelRatio,set:(e,s)=>{e.devicePixelRatio=s}},metadata:t},it,at),i(null,null,lt,{kind:"field",name:"wsStarted",static:!1,private:!1,access:{has:e=>"wsStarted"in e,get:e=>e.wsStarted,set:(e,s)=>{e.wsStarted=s}},metadata:t},rt,ot),i(null,null,nt,{kind:"field",name:"canvasStarted",static:!1,private:!1,access:{has:e=>"canvasStarted"in e,get:e=>e.canvasStarted,set:(e,s)=>{e.canvasStarted=s}},metadata:t},ct,dt),i(null,null,ht,{kind:"field",name:"kiosk",static:!1,private:!1,access:{has:e=>"kiosk"in e,get:e=>e.kiosk,set:(e,s)=>{e.kiosk=s}},metadata:t},ut,ft),i(null,null,mt,{kind:"field",name:"inIdle",static:!1,private:!1,access:{has:e=>"inIdle"in e,get:e=>e.inIdle,set:(e,s)=>{e.inIdle=s}},metadata:t},gt,pt),i(null,null,_t,{kind:"field",name:"modalActive",static:!1,private:!1,access:{has:e=>"modalActive"in e,get:e=>e.modalActive,set:(e,s)=>{e.modalActive=s}},metadata:t},vt,St),i(null,null,yt,{kind:"field",name:"galleryActive",static:!1,private:!1,access:{has:e=>"galleryActive"in e,get:e=>e.galleryActive,set:(e,s)=>{e.galleryActive=s}},metadata:t},kt,It),i(null,null,bt,{kind:"field",name:"hideOverlay",static:!1,private:!1,access:{has:e=>"hideOverlay"in e,get:e=>e.hideOverlay,set:(e,s)=>{e.hideOverlay=s}},metadata:t},xt,zt),i(null,null,Ct,{kind:"field",name:"hideCookieConsent",static:!1,private:!1,access:{has:e=>"hideCookieConsent"in e,get:e=>e.hideCookieConsent,set:(e,s)=>{e.hideCookieConsent=s}},metadata:t},Bt,Mt),i(null,null,Pt,{kind:"field",name:"hideHeaderLogo",static:!1,private:!1,access:{has:e=>"hideHeaderLogo"in e,get:e=>e.hideHeaderLogo,set:(e,s)=>{e.hideHeaderLogo=s}},metadata:t},wt,Tt),i(null,null,Rt,{kind:"field",name:"hideLogoInBooth",static:!1,private:!1,access:{has:e=>"hideLogoInBooth"in e,get:e=>e.hideLogoInBooth,set:(e,s)=>{e.hideLogoInBooth=s}},metadata:t},Ot,Dt),i(null,null,Lt,{kind:"field",name:"disableBookmarked",static:!1,private:!1,access:{has:e=>"disableBookmarked"in e,get:e=>e.disableBookmarked,set:(e,s)=>{e.disableBookmarked=s}},metadata:t},At,Et),i(null,null,Ft,{kind:"field",name:"hideLanguage",static:!1,private:!1,access:{has:e=>"hideLanguage"in e,get:e=>e.hideLanguage,set:(e,s)=>{e.hideLanguage=s}},metadata:t},Ut,Ht),i(null,null,Vt,{kind:"field",name:"monochrome",static:!1,private:!1,access:{has:e=>"monochrome"in e,get:e=>e.monochrome,set:(e,s)=>{e.monochrome=s}},metadata:t},Nt,Kt),i(null,null,Gt,{kind:"field",name:"heatmap",static:!1,private:!1,access:{has:e=>"heatmap"in e,get:e=>e.heatmap,set:(e,s)=>{e.heatmap=s}},metadata:t},Qt,Yt),i(null,null,$t,{kind:"field",name:"heatmapYah",static:!1,private:!1,access:{has:e=>"heatmapYah"in e,get:e=>e.heatmapYah,set:(e,s)=>{e.heatmapYah=s}},metadata:t},jt,Wt),i(null,null,Zt,{kind:"field",name:"debugCircles",static:!1,private:!1,access:{has:e=>"debugCircles"in e,get:e=>e.debugCircles,set:(e,s)=>{e.debugCircles=s}},metadata:t},Xt,Jt),i(null,null,qt,{kind:"field",name:"mapControlsHidden",static:!1,private:!1,access:{has:e=>"mapControlsHidden"in e,get:e=>e.mapControlsHidden,set:(e,s)=>{e.mapControlsHidden=s}},metadata:t},es,ts),i(null,null,ss,{kind:"field",name:"floorsControlHidden",static:!1,private:!1,access:{has:e=>"floorsControlHidden"in e,get:e=>e.floorsControlHidden,set:(e,s)=>{e.floorsControlHidden=s}},metadata:t},is,as),i(null,null,ls,{kind:"field",name:"hideFreeOrDemo",static:!1,private:!1,access:{has:e=>"hideFreeOrDemo"in e,get:e=>e.hideFreeOrDemo,set:(e,s)=>{e.hideFreeOrDemo=s}},metadata:t},rs,os),i(null,null,ns,{kind:"field",name:"freeBannerDismissed",static:!1,private:!1,access:{has:e=>"freeBannerDismissed"in e,get:e=>e.freeBannerDismissed,set:(e,s)=>{e.freeBannerDismissed=s}},metadata:t},cs,ds),i(null,null,hs,{kind:"field",name:"currentBanner",static:!1,private:!1,access:{has:e=>"currentBanner"in e,get:e=>e.currentBanner,set:(e,s)=>{e.currentBanner=s}},metadata:t},us,fs),i(null,null,ms,{kind:"field",name:"sceneDefReady",static:!1,private:!1,access:{has:e=>"sceneDefReady"in e,get:e=>e.sceneDefReady,set:(e,s)=>{e.sceneDefReady=s}},metadata:t},gs,ps),i(null,null,_s,{kind:"field",name:"categoryFilterOpen",static:!1,private:!1,access:{has:e=>"categoryFilterOpen"in e,get:e=>e.categoryFilterOpen,set:(e,s)=>{e.categoryFilterOpen=s}},metadata:t},vs,Ss),i(null,null,ys,{kind:"field",name:"selectedCategoryFilters",static:!1,private:!1,access:{has:e=>"selectedCategoryFilters"in e,get:e=>e.selectedCategoryFilters,set:(e,s)=>{e.selectedCategoryFilters=s}},metadata:t},ks,Is),i(null,null,bs,{kind:"field",name:"selectedPoiTypeFilters",static:!1,private:!1,access:{has:e=>"selectedPoiTypeFilters"in e,get:e=>e.selectedPoiTypeFilters,set:(e,s)=>{e.selectedPoiTypeFilters=s}},metadata:t},xs,zs),i(null,null,Cs,{kind:"field",name:"selectedTrack",static:!1,private:!1,access:{has:e=>"selectedTrack"in e,get:e=>e.selectedTrack,set:(e,s)=>{e.selectedTrack=s}},metadata:t},Bs,Ms),i(null,null,Ps,{kind:"field",name:"subButtonsVisible",static:!1,private:!1,access:{has:e=>"subButtonsVisible"in e,get:e=>e.subButtonsVisible,set:(e,s)=>{e.subButtonsVisible=s}},metadata:t},ws,Ts),i(null,null,Rs,{kind:"field",name:"mapControlsDOMRect",static:!1,private:!1,access:{has:e=>"mapControlsDOMRect"in e,get:e=>e.mapControlsDOMRect,set:(e,s)=>{e.mapControlsDOMRect=s}},metadata:t},Os,Ds),i(null,null,Ls,{kind:"field",name:"searchBoxMode",static:!1,private:!1,access:{has:e=>"searchBoxMode"in e,get:e=>e.searchBoxMode,set:(e,s)=>{e.searchBoxMode=s}},metadata:t},As,Es),i(null,null,Fs,{kind:"field",name:"searchBoxTitle",static:!1,private:!1,access:{has:e=>"searchBoxTitle"in e,get:e=>e.searchBoxTitle,set:(e,s)=>{e.searchBoxTitle=s}},metadata:t},Us,Hs),i(null,null,Vs,{kind:"field",name:"searchBoxSubtitle",static:!1,private:!1,access:{has:e=>"searchBoxSubtitle"in e,get:e=>e.searchBoxSubtitle,set:(e,s)=>{e.searchBoxSubtitle=s}},metadata:t},Ns,Ks),i(null,null,Gs,{kind:"field",name:"routeTitle",static:!1,private:!1,access:{has:e=>"routeTitle"in e,get:e=>e.routeTitle,set:(e,s)=>{e.routeTitle=s}},metadata:t},Qs,Ys),i(null,null,$s,{kind:"field",name:"routeDescription",static:!1,private:!1,access:{has:e=>"routeDescription"in e,get:e=>e.routeDescription,set:(e,s)=>{e.routeDescription=s}},metadata:t},js,Ws),i(null,null,Zs,{kind:"field",name:"isMultiPointRoute",static:!1,private:!1,access:{has:e=>"isMultiPointRoute"in e,get:e=>e.isMultiPointRoute,set:(e,s)=>{e.isMultiPointRoute=s}},metadata:t},Xs,Js),i(null,null,qs,{kind:"field",name:"tourTitle",static:!1,private:!1,access:{has:e=>"tourTitle"in e,get:e=>e.tourTitle,set:(e,s)=>{e.tourTitle=s}},metadata:t},ei,ti),i(null,null,si,{kind:"field",name:"tourDescription",static:!1,private:!1,access:{has:e=>"tourDescription"in e,get:e=>e.tourDescription,set:(e,s)=>{e.tourDescription=s}},metadata:t},ii,ai),i(null,null,li,{kind:"field",name:"isMultiPointTour",static:!1,private:!1,access:{has:e=>"isMultiPointTour"in e,get:e=>e.isMultiPointTour,set:(e,s)=>{e.isMultiPointTour=s}},metadata:t},ri,oi),i(null,null,ni,{kind:"field",name:"pathwayOnlyMode",static:!1,private:!1,access:{has:e=>"pathwayOnlyMode"in e,get:e=>e.pathwayOnlyMode,set:(e,s)=>{e.pathwayOnlyMode=s}},metadata:t},ci,di),i(null,null,hi,{kind:"field",name:"isOverlayScrolled",static:!1,private:!1,access:{has:e=>"isOverlayScrolled"in e,get:e=>e.isOverlayScrolled,set:(e,s)=>{e.isOverlayScrolled=s}},metadata:t},ui,fi),i(null,null,mi,{kind:"field",name:"listScrollTop",static:!1,private:!1,access:{has:e=>"listScrollTop"in e,get:e=>e.listScrollTop,set:(e,s)=>{e.listScrollTop=s}},metadata:t},gi,pi),i(null,null,_i,{kind:"field",name:"listScrollItemId",static:!1,private:!1,access:{has:e=>"listScrollItemId"in e,get:e=>e.listScrollItemId,set:(e,s)=>{e.listScrollItemId=s}},metadata:t},vi,Si),i(null,null,yi,{kind:"field",name:"listScrollIndex",static:!1,private:!1,access:{has:e=>"listScrollIndex"in e,get:e=>e.listScrollIndex,set:(e,s)=>{e.listScrollIndex=s}},metadata:t},ki,Ii),i(null,null,bi,{kind:"field",name:"_customUIScale",static:!1,private:!1,access:{has:e=>"_customUIScale"in e,get:e=>e._customUIScale,set:(e,s)=>{e._customUIScale=s}},metadata:t},xi,zi),i(null,null,Ia,{kind:"field",name:"forceDim",static:!1,private:!1,access:{has:e=>"forceDim"in e,get:e=>e.forceDim,set:(e,s)=>{e.forceDim=s}},metadata:t},ba,xa),i(null,null,Ya,{kind:"field",name:"mapSettings",static:!1,private:!1,access:{has:e=>"mapSettings"in e,get:e=>e.mapSettings,set:(e,s)=>{e.mapSettings=s}},metadata:t},$a,ja),i(null,null,gl,{kind:"field",name:"forceShowDetails",static:!1,private:!1,access:{has:e=>"forceShowDetails"in e,get:e=>e.forceShowDetails,set:(e,s)=>{e.forceShowDetails=s}},metadata:t},pl,_l),i(null,null,yl,{kind:"field",name:"buildRoute",static:!1,private:!1,access:{has:e=>"buildRoute"in e,get:e=>e.buildRoute,set:(e,s)=>{e.buildRoute=s}},metadata:t},kl,Il),i(null,null,xl,{kind:"field",name:"globalErrorMessages",static:!1,private:!1,access:{has:e=>"globalErrorMessages"in e,get:e=>e.globalErrorMessages,set:(e,s)=>{e.globalErrorMessages=s}},metadata:t},zl,Cl),i(null,null,Rl,{kind:"field",name:"setKioskModeEnabled",static:!1,private:!1,access:{has:e=>"setKioskModeEnabled"in e,get:e=>e.setKioskModeEnabled,set:(e,s)=>{e.setKioskModeEnabled=s}},metadata:t},Ol,Dl),i(null,null,Al,{kind:"field",name:"kioskData",static:!1,private:!1,access:{has:e=>"kioskData"in e,get:e=>e.kioskData,set:(e,s)=>{e.kioskData=s}},metadata:t},El,Fl),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=a(this,l);interfaceMetadata=Object.freeze([{id:"menu",className:"efp-overlay-menu",priority:80,isActive:()=>this.menu,searchBoxConfig:()=>({mode:"interface",title:y("Menu")})},{id:"exhibitor",className:"efp-overlay-exhibitor",priority:70,isActive:()=>this.details instanceof x,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"booth",className:"efp-overlay-booth",priority:70,isActive:()=>this.details instanceof b,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:t.title||t.name}}},{id:"event",className:"efp-overlay-event",priority:70,isActive:()=>this.details instanceof F,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"route",className:"efp-overlay-route",priority:70,isActive:()=>this.details instanceof R,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:y("Directions")}}},{id:"search",className:"efp-overlay-search",priority:60,isActive:()=>!this.details&&!this.menu&&this.list.type==="search"&&(this.rootStore.fp.alwaysShowSidebar||this.heatmap||this.searchFocused||this.list.text.length>0||this.searchClearMode),searchBoxConfig:()=>({mode:"search",title:y("Search")})},{id:"exhibitors",className:"efp-overlay-exhibitors",priority:50,isActive:()=>this.list.type==="exhibitors"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Exhibitors")})},{id:"filter",className:"efp-overlay-filter",priority:50,isActive:()=>this.list.type==="filter"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Filter")})},{id:"bookmarks",className:"efp-overlay-bookmarks",priority:50,isActive:()=>this.list.type==="bookmarks"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:y("Bookmarks"),badge:this.rootStore.bookmarksStore.total})},{id:"visited",className:"efp-overlay-visited",priority:50,isActive:()=>this.list.type==="visited"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:y("Visited"),badge:this.rootStore.exhibitorStore.visited.length})},{id:A,className:"efp-overlay-language",priority:50,isActive:()=>this.list.type===A,searchBoxConfig:()=>({mode:"interface",title:y("Language")})},{id:"category",className:"efp-overlay-category",priority:50,isActive:()=>!w.menu&&!!w.selectedCategory,searchBoxConfig:()=>({mode:"interface",title:this.list.type==="category"&&this.list.category?.name||y("Categories")})},{id:"sessions",className:"efp-overlay-sessions",priority:50,isActive:()=>this.list.type==="sessions"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Sessions"),subtitle:this.selectedTrack?this.selectedTrack.name:void 0})},{id:"speakers",className:"efp-overlay-speakers",priority:50,isActive:()=>this.list.type==="speakers"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Speakers")})},{id:"speaker",className:"efp-overlay-speaker",priority:50,isActive:()=>this.details instanceof $,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"tours",className:"efp-overlay-tours",priority:50,isActive:()=>this.list.type==="tours"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Guided Tours")})},{id:"multi-point-wayfinding",className:"efp-overlay-multi-point",priority:75,isActive:()=>!!(this.isMultiPointRoute&&this.selectedRoute&&this.list.type!=="route-planner"),searchBoxConfig:()=>({mode:"interface",title:this.routeTitle||y("Multi-point route")})},{id:"multi-point-tour",className:"efp-overlay-multi-point-tour",priority:75,isActive:()=>this.list.type==="multi-point-tour"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:this.tourTitle||y("Multi-point route")})},{id:"route-planner",className:"efp-overlay-route-planner",priority:76,isActive:()=>this.list.type==="route-planner"&&(!this.details||this.details instanceof R),searchBoxConfig:()=>({mode:"interface",title:y("Route planner")})}].sort((t,e)=>e.priority-t.priority));list=a(this,j,{type:"search",text:"",focused:!1});details=(a(this,W),a(this,X,null));hoveredExhibitor=(a(this,J),a(this,ee,null));hoveredBooth=(a(this,te),a(this,ie,null));zoomBy=(a(this,ae),a(this,re,null));rollReset=(a(this,oe),a(this,ce,!1));moveToBooths=(a(this,de),a(this,ue,null));moveToRect=(a(this,fe),a(this,ge,null));moveToLocation=(a(this,pe),a(this,ve,!1));menu=(a(this,Se),a(this,ke,!1));searchFocused=(a(this,Ie),a(this,xe,!1));searchClearMode=(a(this,ze),a(this,Be,!1));printingPdf=(a(this,Me),a(this,we,!1));largeMessage=(a(this,Te),a(this,Oe,null));largeMessageLastSet=(a(this,De),a(this,Ae,null));screenSize=(a(this,Ee),a(this,Ue,void 0));desiredOverlaySize=(a(this,He),a(this,Ne,void 0));overlayShowsAll=(a(this,Ke),a(this,Qe,!1));centerMap=(a(this,Ye),a(this,je,!1));zoomAfTransformK=(a(this,We),a(this,Xe,1));activeListIndex=(a(this,Je),a(this,et,-1));devicePixelRatio=(a(this,tt),a(this,it,window.devicePixelRatio));previewExhibitor=(a(this,at),null);wsStarted=a(this,rt,!1);canvasStarted=(a(this,ot),a(this,ct,!1));kiosk=(a(this,dt),a(this,ut,!1));inIdle=(a(this,ft),a(this,gt,!1));modalActive=(a(this,pt),a(this,vt,{share:!1}));galleryActive=(a(this,St),a(this,kt,!1));hideOverlay=(a(this,It),a(this,xt,!1));hideCookieConsent=(a(this,zt),a(this,Bt,!!or()));hideHeaderLogo=(a(this,Mt),a(this,wt,!1));hideLogoInBooth=(a(this,Tt),a(this,Ot,!1));disableBookmarked=(a(this,Dt),a(this,At,!1));hideLanguage=(a(this,Et),a(this,Ut,!1));monochrome=(a(this,Ht),a(this,Nt,!1));heatmap=(a(this,Kt),a(this,Qt,!1));heatmapYah=(a(this,Yt),a(this,jt,!1));rootElement=a(this,Wt);debugCircles=a(this,Xt,[]);mapControlsHidden=(a(this,Jt),a(this,es,!1));floorsControlHidden=(a(this,ts),a(this,is,!1));hideFreeOrDemo=(a(this,as),a(this,rs,!1));freeBannerDismissed=(a(this,os),a(this,cs,rr(sessionStorage)));currentBanner=(a(this,ds),a(this,us,null));sceneDefReady=(a(this,fs),a(this,gs,!1));categoryFilterOpen=(a(this,ps),a(this,vs,!1));selectedCategoryFilters=(a(this,Ss),a(this,ks,[]));selectedPoiTypeFilters=(a(this,Is),a(this,xs,[]));selectedTrack=(a(this,zs),a(this,Bs,null));subButtonsVisible=(a(this,Ms),a(this,ws,!1));mapControlsDOMRect=(a(this,Ts),a(this,Os,void 0));searchBoxMode=(a(this,Ds),a(this,As,"search"));searchBoxTitle=(a(this,Es),a(this,Us,""));searchBoxSubtitle=(a(this,Hs),a(this,Ns,void 0));routeTitle=(a(this,Ks),a(this,Qs,void 0));routeDescription=(a(this,Ys),a(this,js,void 0));isMultiPointRoute=(a(this,Ws),a(this,Xs,!1));tourTitle=(a(this,Js),a(this,ei,void 0));tourDescription=(a(this,ti),a(this,ii,void 0));isMultiPointTour=(a(this,ai),a(this,ri,!1));pathwayOnlyMode=(a(this,oi),a(this,ci,!1));isOverlayScrolled=(a(this,di),a(this,ui,!1));listScrollTop=(a(this,fi),a(this,gi,0));listScrollItemId=(a(this,pi),a(this,vi,null));listScrollIndex=(a(this,Si),a(this,ki,0));scrollPositions=(a(this,Ii),new Map);scrollItemIds=new Map;_customUIScale=a(this,xi,null);searchFilterHeightPx=(a(this,zi),54);searchInputHeightPx=54;overlayUISizePx=390;overlayKioskSizePx=450;overlayMediumHeightRems=10;setSelectedCategoryFilters(t){this.selectedCategoryFilters=t}resetCategoryFilter(){this.selectedCategoryFilters=[],this.categoryFilterOpen=!1}setSearchClearMode(t){this.searchClearMode=t}setRouteTitle(t){this.routeTitle=t}setRouteDescription(t){this.routeDescription=t}setIsMultiPointRoute(t){this.isMultiPointRoute=t}setTourTitle(t){this.tourTitle=t}setTourDescription(t){this.tourDescription=t}setIsMultiPointTour(t){this.isMultiPointTour=t}setPathwayOnlyMode(t){this.pathwayOnlyMode=t}setMultiPointTourList(t){this.list={type:"multi-point-tour",tourId:t}}get activePathwayLayers(){return this.list?.type==="multi-point-tour"?this.rootStore.toursStore.getTourById(this.list.tourId)?.layers?.map(e=>e.id)||[]:[]}get highlightedBooths(){const t=new Set(this.rootStore.exhibitorStore.highlightedByExternalIds),e=new Set(this.rootStore.boothStore.highlightedByExternalIds),s=new Set([this.rootStore.exhibitorStore.exhibitors.filter(r=>t.has(r.externalId)).flatMap(r=>r.booths.filter(n=>n instanceof E)).map(r=>r.id.toString()),this.rootStore.boothStore.booths.filter(r=>e.has(r.externalId)).map(r=>r.id.toString())].flat());if(this.list?.type==="search"&&this.list?.text?.trim().length){s.clear();const r=this.fuzzySearchItems.filter(n=>n.score===0).map(n=>n.item);r.length?K(r,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems).forEach(n=>s.add(n.id.toString())):this.listBooths.forEach(n=>s.add(n.id.toString()))}if(this.list?.type==="filter"&&(s.clear(),this.list.items.flatMap(r=>r.booths.filter(n=>n instanceof E)).forEach(r=>s.add(r.id.toString()))),this.categoryFilterOpen&&this.selectedCategoryFilters.length>0?(s.clear(),this.selectedCategoryFilters.forEach(r=>{r.exhibitors.flatMap(n=>n.booths).forEach(n=>s.add(n.id.toString()))})):this.list?.type==="category"&&(s.clear(),this.list.category.exhibitors.flatMap(r=>r.booths).forEach(r=>s.add(r.id.toString()))),this.list?.type==="bookmarks"&&(s.clear(),K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems).forEach(r=>s.add(r.id.toString()))),this.list?.type==="visited"&&(s.clear(),K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems).forEach(r=>s.add(r.id.toString()))),this.list?.type==="exhibitors"){s.clear();const r=this.list.text?.toLowerCase().trim();let n=this.rootStore.exhibitorStore.exhibitors;r&&(n=n.filter(f=>f.name.toLowerCase().includes(r))),n.flatMap(f=>f.booths.filter(g=>g instanceof E)).forEach(f=>s.add(f.id.toString()))}if(this.selectedPoiTypeFilters.length>0&&(s.clear(),this.selectedPoiTypeFilters.forEach(r=>{this.rootStore.boothStore.booths.filter(n=>n.poiTypeId===r.id).forEach(n=>s.add(n.id.toString()))})),this.details instanceof R&&(s.clear(),this.details.from instanceof b&&s.add(this.details.from.id.toString()),this.details.to instanceof b&&s.add(this.details.to.id.toString()),this.details.waypoints?.forEach(r=>s.add(r.id.toString()))),this.details instanceof b&&(s.clear(),s.add(this.details.id.toString())),this.details instanceof x&&(s.clear(),this.details.booths.filter(r=>r instanceof E).forEach(r=>s.add(r.id.toString()))),this.details instanceof F){const r=this.details;if(r.boothId){s.clear();const n=this.rootStore.boothStore.booths.find(f=>f.id===r.boothId);n&&s.add(n.id.toString())}}return s.delete(void 0),s.delete(null),s}constructor(t){a(this,Fl),this.rootStore=t,this.initializeUIScale()}get rtl(){const t=cr();return t==="ar"||t==="he"}get noOverlay(){return this.rootStore.fp.noOverlay||this.hideOverlay}get onBoothClick(){return this.rootStore.fp.onBoothClick}get onMarkerClick(){return this.rootStore.fp.onMarkerClick}get onBookmarkClick(){return this.rootStore.fp.onBookmarkClick}get onVisitedClick(){return this.rootStore.fp.onVisitedClick}get onCategoryClick(){return this.rootStore.fp.onCategoryClick}get onDirection(){return this.rootStore.fp.onDirection}get onDetails(){return this.rootStore.fp.onDetails}get onExhibitorCustomButtonClick(){return this.rootStore.fp.onExhibitorCustomButtonClick}get onGetCoordsClick(){return this.rootStore.fp.onGetCoordsClick}get selectedExhibitor(){return this.details instanceof x?this.details:null}get selectedBooth(){return this.details instanceof b?this.details:null}get selectedCategory(){return this.list.type==="category"?this.list.category:null}get selectedRoute(){return this.details instanceof R?this.details:null}get selectedSpeaker(){return this.details instanceof $?this.details:null}get uiScale(){return this._customUIScale!==null?this._customUIScale:this.kiosk?1.2:1}get isGuidedToursActive(){return this.rootStore.toursStore.isActive}get getRouteNextFloor(){const t=this.rootStore.routeStore.pathLayers,e=this.rootStore.routeStore.currentRouteLayer?.name;if(!e)return null;const s=t.findIndex(u=>u.layer?.name===e);return s===-1?null:t[s+1]?.layer?.name}get headerHeightRem(){return 0}get headerHeightPx(){return N(this.headerHeightRem)}get overlayPosition(){return!this.screenSize||this.screenSize.width>sr||this.kiosk?"left":"bottom"}get overlayCollapsed(){return this.kiosk&&this.overlayPosition==="left"&&!this.searchFocused&&!this.menu&&!this.details&&!this.selectedCategory&&!this.selectedExhibitor&&this.list.type!=="bookmarks"&&this.list.type!==A&&!this.list.text?.length}get overlaySize(){return this.overlayLeft?"full":this.desiredOverlaySize}get overlayBottom(){return this.overlayPosition==="bottom"}get overlayLeft(){return this.overlayPosition==="left"}get overlayWidthPx(){return this.noOverlay?0:this.overlayLeft?this.kiosk?this.overlayKioskSizePx:this.overlayUISizePx:N(this.screenSize.width)}get wsImageHeightPx(){return 44}get wsPaddingPx(){return N(.25)}get wsOccupiedHeightPx(){return this.wsShown?this.wsImageHeightPx+this.wsPaddingPx*2:0}get wsShown(){return!this.hideHeaderLogo&&this.rootStore.exhibitorStore.advertised.length>0}get wsDesktopPosition(){return V.EXPO==="cbresupplypartner"?"bottom":"top"}get wsPosition(){return this.overlayBottom?"top":this.wsDesktopPosition}get responsiveClass(){return hr(this.screenSize.width)}get mapVisibleTop(){return(this.wsPosition==="top"?this.wsOccupiedHeightPx:0)+this.headerHeightPx}get mapVisibleBottom(){return this.overlayLeft||this.noOverlay?this.wsPosition==="bottom"?this.wsOccupiedHeightPx:0:N(this.overlayMediumHeightRems)}get mapVisibleStart(){return 0}get searchActionsHeightPx(){return this.overlayPosition==="bottom"?this.searchInputHeightPx+this.searchFilterHeightPx:this.searchInputHeightPx}get fullSizeOffset(){const t=this.wsShown?54:0,e=this.bannerType==="free"&&!this.freeBannerDismissed?40:0,s=20;if(this.details&&!(this.details instanceof R))return t+e+s;const u=54,r=this.shouldShowSearchButtons?54:0;return t+e+u+s+r}get shouldShowSearchButtons(){return this.rootStore.searchButtonsStore.hasAnySearchButtons&&!this.details&&!this.menu&&![A,"filter"].includes(this.list.type)}get canvasVisibleRectPx(){const t=this.screenSize;return ql.fromMinMax({x:w.rtl?0:this.mapVisibleStart,y:this.mapVisibleTop+this.searchActionsHeightPx},{x:w.rtl?t.width-this.mapVisibleStart:t.width,y:t.height-this.mapVisibleBottom})}get shouldShiftMapRect(){return this.overlayPosition==="left"&&(this.details||this.hasAppliedFilters||this.selectedRoute)}get hasAppliedFilters(){return this.selectedCategoryFilters.length>0||this.selectedPoiTypeFilters.length>0}get canvasVisibleRectPt(){return this.canvasVisibleRectPx.scale(this.devicePixelRatio,{x:0,y:0})}get canvasSizePt(){return this.screenSize.multiply(this.devicePixelRatio)}get shouldUseBackdrop(){if(w.overlayCollapsed)return!1;if(B&&localStorage.getItem("forcebackdrop")==="1")return!0;if(this.overlayBottom||this.selectedExhibitor?.leadingImageUrl&&!this.selectedExhibitor?.leadingImageLinkUrl)return!1;const t=$l.satisfies({safari:">=13"}),e=$l.satisfies({chrome:">=77"});var s=/(android)/i.test(navigator.userAgent);return s?!1:t||e&&w.canvasSizePt.height*w.canvasSizePt.width<3e6}forceDim=a(this,ba,!1);setForceDim(t){this.forceDim=t}get dimmed(){return this.forceDim||this.pathwayOnlyMode?!0:this.highlightedBooths.size>0||this.list?.type==="search"&&this.list?.text?.trim().length>0||this.list?.type==="exhibitors"}get defaultSearchItems(){const{exhibitorStore:t,categoryStore:e,boothStore:s,heatmapStore:u}=this.rootStore;let r=t.exhibitors;const n=e.categories.filter(p=>p.exhibitors.length),f=s.booths;this.selectedPoiTypeFilters.length>0&&(r=r.filter(p=>p.booths.some(_=>this.selectedPoiTypeFilters.some(S=>_.poiTypeId===S.id))));let g=[];const M=!this.selectedCategoryFilters.length&&C.showCategories?n.filter(p=>fr.includes(V.EXPO)?!p.name.includes("/"):!0):[],D=f.filter(p=>p instanceof Y);return this.selectedCategoryFilters.length>0?g=[...r]:(C.showCompaniesAndBooths&&(g=g.concat(r)),C.showOtherSpaces&&(g=g.concat(D))),this.heatmap?[...r,...f].sort((_,S)=>u.getClicksByType(S)-u.getClicksByType(_)):this.heatmapYah?u.heatmapData?.yah?.sort((p,_)=>u.getClicksByType(_)-u.getClicksByType(p))||[]:r.length===0?f:M.concat(g.sort((p,_)=>{const S=p instanceof x&&p.featured!==void 0,P=_ instanceof x&&_.featured!==void 0;if(S!==P)return S?-1:1;const L=p instanceof Y&&p.title?p.title:p.name,G=_ instanceof Y&&_.title?_.title:_.name;return L.localeCompare(G,void 0,{sensitivity:"base",numeric:!0})}))}get searchItems(){if(this.list.type!=="search")return[];let t=this.list.text?.trim().toLowerCase()||"";const{exhibitorStore:e,categoryStore:s,boothStore:u,eventStore:r,speakerStore:n,heatmapStore:f}=this.rootStore;let g=e.exhibitors;const M=s.categories.filter(d=>d.exhibitors.length),D=u.booths,p=r.eventItems,_=n.speakers;if(this.selectedCategoryFilters.length>0&&(g=g.filter(d=>this.selectedCategoryFilters.some(h=>d.categories.some(v=>v.id===h.id)))),this.selectedPoiTypeFilters.length>0&&(g=g.filter(d=>d.booths.some(h=>this.selectedPoiTypeFilters.some(v=>h.poiTypeId===v.id)))),!t)return this.defaultSearchItems;const S=[t.replace(/&[^&=]+=[^&]+/g,"")];if(this.heatmapYah)return f.heatmapData.yah.filter(h=>Number.isNaN(Number(t))?h:h.viewCount>=Number(t)).sort((h,v)=>f.getClicksByType(v)-f.getClicksByType(h));const P=[],L=new Set,G=new Set,Hl=new Set,Wl=new Set;function Vl(d){return d?d.replace(/[!@#$%^*-\.,\(\)^#$%:?_+'"\/]/g," ").replace(/\s\s+/g," "):""}function I(d,h){return!d||!h?!1:Vl(d).toLowerCase().includes(Vl(h).toLowerCase())}function Nl(d,h){return d?I(d,h)||I(C.levelTerm+" "+d,h):!1}g.forEach(d=>{S.some(h=>I(d.name,h)||d.booths.some(v=>!h&&I(v.name,h)||Nl(v.layer?.name??null,h)))&&L.add(d)}),this.selectedCategoryFilters.length>0&&D.forEach(d=>{(this.heatmap||!(d instanceof E)||!Array.from(L).find(v=>v.booths.includes(d)))&&S.some(v=>I(d.title||"",v)||I(d.name,v)||I(d.fullName,v)||Nl(d.layer?.name??null,v))&&G.add(d)});const Zl=p,Xl=_;if(Zl.forEach(d=>{S.some(h=>I(d.name||"",h)||I(d.description||"",h))&&Hl.add(d)}),Xl.forEach(d=>{S.some(h=>I(d.name,h)||I(d.company,h)||I(d.jobTitle,h))&&Wl.add(d)}),P.push(...Hl),P.push(...L),this.heatmap)return P.sort((d,h)=>f.getClicksByType(h)-f.getClicksByType(d));const Jl=new Map(P.map(d=>[d.id,d]));return P.map(d=>{if(!d.name)return null;const h=jl(d instanceof b&&d.fullName.toLowerCase()||d.name.toLowerCase()),v=h.indexOf(jl(t));if(v===-1)return null;const Kl={id:d.id,position:v,lowerCaseName:h,featured:!1};return d instanceof x&&(Kl.featured=d.featured),Kl}).filter(Boolean).sort((d,h)=>(d.featured||h.featured)&&d.featured!==h.featured?d.featured?-1:1:d.position!==h.position?d.position-h.position:d.lowerCaseName.localeCompare(h.lowerCaseName)||String(d.id).localeCompare(String(h.id))).map(({id:d})=>Jl.get(d))}get searchList(){return[...this.rootStore.eventStore.eventItems,...this.rootStore.speakerStore.speakers,...this.rootStore.categoryStore.categories.filter(t=>t.exhibitors.length),...this.rootStore.exhibitorStore.exhibitors,...this.rootStore.boothStore.booths]}get foundInDescription(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return[];const e=this.fuzzySearchItems.map(({item:n})=>n),s=new Set(e.map(n=>n.name)),u=this.categoryFilteredSearchList.filter(n=>!s.has(n.name)),r=[];for(const n of u){const f=n.description;if(!f)continue;const M=(Ql(f)?Yl(f):f).toLowerCase().indexOf(t);M!==-1&&r.push({item:n,pos:M})}return r.sort((n,f)=>n.pos-f.pos),r.map(n=>n.item)}get foundInDescriptionStruct(){const t={};if(this.list?.type!=="search")return t;const e=this.list?.text?.trim().toLowerCase();return this.foundInDescription.forEach(s=>{let u=s.description;if(!u)return;Ql(u)&&(u=Yl(u));const r=u.toLowerCase().indexOf(e);if(r===-1)return;const n=3,f=r>n?r-n:0,g=u.substring(f).trim();t[s.id]=r>0?`...${g}`:g}),t}get categoryFilteredSearchList(){return this.selectedCategoryFilters.length===0?this.searchList:this.searchList.filter(t=>t instanceof x&&this.selectedCategoryFilters.some(e=>t.categories.some(s=>s.id===e.id)))}get fuzzySearchItems(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return this.defaultSearchItems.map(r=>({item:r,score:0,matches:[]}));const e=this.rootStore.fuzzySearchEngineStore.search(this.categoryFilteredSearchList,t),s=[],u=[];for(const r of e){const n=r.item,f=n.entity.type,g=f==="booth"?n:null,M=f==="exhibitor"?n:null,D=[n.name?.toLowerCase()??"",g?.title?.toLowerCase()??"",g?.fullName?.toLowerCase()??"",...M?.booths?.map(_=>_.name?.toLowerCase()??"")??[]];let p=1/0;for(const _ of D){const S=_.indexOf(t);S!==-1&&S<p&&(p=S)}p!==1/0?s.push({result:{item:n,score:0},pos:p}):u.push(r)}return s.sort((r,n)=>r.pos-n.pos),[...s.map(r=>r.result),...u]}get listItems(){if(this.details instanceof R&&this.list.type!=="multi-point-tour")return[this.details.from,this.details.to].filter(t=>t instanceof b);switch(this.list.type){case"search":let t=!(this.heatmap||this.heatmapYah)&&this.rootStore.fuzzySearchEngineStore.engine?this.fuzzySearchItems.map(({item:r})=>r).concat(this.foundInDescription):this.searchItems;return t=t.filter(r=>r.entity.type==="booth"?!r.exhibitors.length:!0),this.hasAppliedFilters?t.filter(r=>{if(this.selectedCategoryFilters.length>0&&r instanceof x&&!this.selectedCategoryFilters.some(n=>r.categories.some(f=>f.id===n.id)))return!1;if(this.selectedPoiTypeFilters.length>0){if(r instanceof x&&!r.booths.some(n=>this.selectedPoiTypeFilters.some(f=>n.poiTypeId===f.id))||r instanceof b&&!this.selectedPoiTypeFilters.some(n=>r.poiTypeId===n.id))return!1;if(r instanceof F&&r.boothId){const n=this.rootStore.boothStore.booths.find(f=>f.id===r.boothId);if(!n||!this.selectedPoiTypeFilters.some(f=>n.poiTypeId===f.id))return!1}}return!0}):t;case"bookmarks":return[...this.rootStore.exhibitorStore.bookmarked,...this.rootStore.eventStore.bookmarked,...this.rootStore.speakerStore.bookmarked,...this.rootStore.boothStore.booths.filter(r=>r.exhibitors.length===0&&r.bookmarkedDirectly)];case"visited":return[...this.rootStore.exhibitorStore.visited,...this.rootStore.eventStore.visited];case"category":return this.list.category.exhibitors;case A:return dr();case"filter":return this.list.items;case"sessions":return this.rootStore.eventStore.eventItems;case"exhibitors":const e=this.rootStore.exhibitorStore.exhibitors,s=this.list.text?.toLowerCase().trim();return s?e.filter(r=>r.name.toLowerCase().includes(s)):e;case"multi-point-tour":const u=this.rootStore.toursStore.getTourById(this.list.tourId);return u?!u.points||u.points.length===0?[]:u.points.map(r=>{const n=parseInt(r);if(!isNaN(n)){const g=this.rootStore.boothStore.boothById.get(n);if(g)return g}return ur(r)?.entity||null}).filter(Boolean):[];case"route-planner":return this.rootStore.routePlannerStore.resolvedBooths}throw new Error("Unknown list.type")}get listBooths(){return K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems)}get selectedBooths(){let t=[];this.selectedExhibitor?t=this.selectedExhibitor.booths:this.selectedBooth&&(t=[this.selectedBooth]);const e=this.selectedRoute,s=[e?.from,e?.to,...e?.waypoints??[]].filter(u=>u instanceof b);return t.push(...s),new Set(t)}get hoveredBooths(){let t;return this.hoveredBooth?t=[this.hoveredBooth]:this.hoveredExhibitor&&(t=this.hoveredExhibitor.booths),new Set(t)}get visibility(){return{controls:!this.mapControlsHidden,levels:!this.floorsControlHidden,header:this.wsShown,overlay:!this.hideOverlay}}setVisibility(t){const e={...Object.keys(this.visibility).reduce((s,u)=>({...s,[u]:!0}),{}),...Object.keys(t).filter(s=>this.visibility.hasOwnProperty(s)).reduce((s,u)=>({...s,[u]:t[u]}),{})};Object.values(e).every(Boolean)?B&&localStorage.removeItem(Gl):B&&localStorage.setItem(Gl,JSON.stringify(e)),this.mapControlsHidden=!e.controls,this.floorsControlHidden=!e.levels,this.hideHeaderLogo=!e.header,this.hideFreeOrDemo=!e.header,this.hideOverlay=!e.overlay}toggleMapOverlay(){this.overlayPosition==="bottom"&&this.overlaySize==="full"?this.desiredOverlaySize="medium":this.overlayPosition==="bottom"&&this.overlaySize!=="full"&&(this.desiredOverlaySize="full")}changeZoom(t){this.zoomBy=t}zoomIn(){this.changeZoom(1.5)}zoomOut(){this.changeZoom(.66)}fitBounds(){this.moveToRect=this.rootStore.layerStore.rectangle||lr,this.rollReset=!0}get previewMode(){return B&&localStorage.getItem(ir)==="1"||this.rootStore.fp.previewMode}get viewerMode(){return B&&localStorage.getItem(ar)==="1"||this.rootStore.fp.viewerMode}get selectedEventItem(){return this.details instanceof F?this.details:null}get defaultMapSettings(){return{zoomtime:500,center:void 0,centerxy:void 0,z:void 0,bearing:0,roll:1}}mapSettings=(a(this,xa),a(this,$a,{...this.defaultMapSettings}));saveMapSettings(t){const e=JSON.stringify(this.mapSettings),s=JSON.stringify(t);e!==s&&sessionStorage.setItem(tr,JSON.stringify(t))}setMapSettings(t){const e={};for(const s in t)t[s]!=null&&(s==="zoomtime"?e[s]=Math.min(Math.max(t[s]||this.mapSettings.zoomtime,500),5e3):e[s]=t[s]);this.mapSettings={...this.mapSettings,...e},this.saveMapSettings(this.mapSettings)}resetMapSettings(){this.mapSettings={...this.defaultMapSettings},this.saveMapSettings(this.mapSettings)}get baseQRCodeUrl(){return`https://${V.EXPO}.expofp.com`}get viewMapOnPhoneQRCodeUrl(){if(C?.customKioskQrCodeUrl)return C.customKioskQrCodeUrl;const t=new URL(this.baseQRCodeUrl);t.search=window.location.search;const e=t.toString();return console.log("View Map On Phone QR Code Url",e),e}get routeQRCodeUrl(){const t=new URL(this.baseQRCodeUrl),e=this.selectedRoute?.from,s=this.selectedRoute?.to,u=e instanceof b?e.slug:"",r=s instanceof b?s.slug:"";t.search=`?route%3A${encodeURIComponent(r)}%3A${encodeURIComponent(u)}%3Afalse`,er(t.searchParams,this.kioskData,["x","y","z"]);const n=t.toString();return console.log("Route QR Code Url",n),n}get isFeaturedExhibitorActive(){return this.details instanceof x&&!!this.details.featured}get activeInterfaceData(){for(const t of this.interfaceMetadata)if(t.isActive())return t;return null}get searchBoxConfig(){const t=this.activeInterfaceData;return!t||!t.searchBoxConfig?{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}:t.searchBoxConfig()||{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}}get searchBoxActions(){return this.activeInterfaceData?.actions?.()??[]}get overlayInterfaceClasses(){const t=[],e=this.activeInterfaceData;return e&&(t.push(e.className),e.additionalClasses&&t.push(...e.additionalClasses())),this.details&&t.push("overlay-has-details"),this.list.type&&t.push(`overlay-list-${this.list.type}`),this.isFeaturedExhibitorActive&&t.push("overlay-exhibitor-featured"),t}get isOverlayOpen(){return this.noOverlay||this.hideOverlay?!1:this.activeInterfaceData!==null}setOverlayScrolled(t){this.isOverlayScrolled=t}setListScrollTop(t,e){this.listScrollTop=e,this.scrollPositions.set(t,e)}setListScrollItemId(t,e){this.listScrollItemId=e,this.scrollItemIds.set(t,e)}getListScrollTop(t){return this.scrollPositions.get(t)||0}getListScrollItemId(t){return this.scrollItemIds.get(t)||null}clearListScroll(t){this.scrollPositions.delete(t),this.scrollItemIds.delete(t),this.list.type===t&&(this.listScrollTop=0,this.listScrollItemId=null)}get bannerType(){return this.hideFreeOrDemo||this.heatmap?null:V.EXPO==="expo"?"demo":C.expoFpAd||C.isTrial?"free":null}get isBannerVisible(){return this.bannerType!==null}setCurrentBanner(t){this.currentBanner=t}forceShowDetails=(a(this,ja),a(this,pl,!1));setForceShowDetails(t){this.forceShowDetails=t}get showRouteInstantly(){return!!(this.kiosk&&!this.forceShowDetails)}buildRoute=(a(this,_l),a(this,kl,!1));startBuildRoute(){this.rootStore.selectSearch(""),this.mapControlsHidden=!0,this.floorsControlHidden=!0,this.hideHeaderLogo=!0,this.hideFreeOrDemo=!0,this.hideOverlay=!0,this.hideCookieConsent=!0,this.buildRoute=!0}globalErrorMessages=(a(this,Il),a(this,zl,[]));setGlobalErrorMessage(t){this.globalErrorMessages.push(t)}popGlobalErrorMessage(){this.globalErrorMessages.pop()}initializeUIScale(){if(new URLSearchParams(window.location.search).get("kiosk")!=="0"&&B){const e=localStorage.getItem(Q);if(e){const s=parseFloat(e);!isNaN(s)&&s>=.8&&s<=1.4&&(this._customUIScale=s)}}}minUIScale=(a(this,Cl),.8);maxUIScale=1.4;setUIScale(t,e=!0){if(isNaN(t)||t<this.minUIScale||t>this.maxUIScale){nr.warn(`Invalid ui-scale value: ${t}. Must be between ${this.minUIScale} and ${this.maxUIScale}.`);return}this._customUIScale=t,e&&B&&localStorage.setItem(Q,t.toString())}resetUIScale(){this._customUIScale=null,B&&localStorage.removeItem(Q)}setKioskModeEnabled=a(this,Ol,!1);enableSetKioskMode(t){this.setKioskModeEnabled=t}kioskData=(a(this,Dl),a(this,El,void 0));setKioskData(t){this.kioskData=t}}})();export default mr;function K(U,O,H=[]){const z=[];return U.forEach(k=>{k instanceof x?z.push(...k.booths):k instanceof b?z.push(k):k instanceof F?k.boothId&&z.push(O.find(l=>l.id===k.boothId)):k instanceof $&&H.filter(l=>l.speakers.some(T=>T.id===k.id)&&l.boothId).forEach(l=>z.push(O.find(T=>T.id===l.boothId)))}),new Set(z.filter(Boolean))}
@@ -1 +1 @@
1
- import R from"color";import*as M from"d3-selection";import{autorun as X}from"mobx";import N from"../../core/Rect";import v from"../../data";import{getLayerSvg as U,getTrianglesFromFpPaths as D}from"../../data/svg";import{getNextId as O}from"../../tools/id";import S from"../../tools/logger";import w from"../../tools/settings";import{generateUniqueSlug as F}from"../../tools/slug";import{sortByName as V}from"../../utils";import{getStorage as P,saveStorage as z}from"../../utils/entity-storage";import{extractMetaFromString as T}from"../../utils/extractMetaFromString";import{RegularBooth as A,SpecialBooth as W}from"../BoothStore";import{Exhibitor as $}from"../ExhibitorStore";import{uiState as G}from"../index";const C=new Map,k=[];export function iniAllBooths(e){C.clear(),k.length=0;const d=parseInt(j("copy_exh"));for(const i of v.booths||[]){const{text:l,meta:h}=T(i.name);i.meta=h;const o=i.special?new W:new A;Object.assign(o,i),o.slug=F(o.name),C.set(o.name.toLowerCase(),o),q(o);const m=o;m.exhibitors=[];for(const p of i.exhibitors){const u=e.exhibitorStore.exhibitorById.get(p);u&&(m.exhibitors.push(u),d&&L(u,m,d),u.booths.push(m))}!i.exhibitors.length&&d&&L(null,m,d),o.schedule=e.eventStore.eventItems.filter(p=>p.boothId===o.id),o.name=l,k.push(o)}k.sort((i,l)=>i.name.localeCompare(l.name,void 0,{sensitivity:"base",numeric:!0}));for(const i of e.exhibitorStore.exhibitors)V(i.booths);e.boothStore.booths=k,delete v.booths,S.log("initBooths",e.boothStore.booths.length),H(e)}function H(e){const l=(P("bookmarked").booths||[]).filter(h=>{const o=e.boothStore.boothById.get(h);return o&&o.exhibitors.length===0});e.boothStore.replaceBookmarked(l),X(()=>{const h=P("bookmarked"),o=e.boothStore.booths.filter(m=>m.exhibitors.length===0&&m.bookmarkedDirectly).map(m=>m.id);z("bookmarked",{exhibitors:h.exhibitors,events:h.events,speakers:h.speakers,booths:o})})}export default function Y(e,d){const i=d.name,{boothStore:l,layerStore:h}=e,o=[],m=!!window.__fpLayers,p=M.select(U(d)).selectAll(`[data-layer='${i}'] > [data-tagname='efp-booth'], [data-layer='${i}'] > g[id^=b], [data-layer='${i}'] > rect[id^=b]`).nodes();for(const r of p){const B=r.closest("svg > [data-layer]").attributes["data-layer"]?.value;if(!B)continue;let a,I=!1;r.tagName==="rect"?a=r:(a=Array.from(r.children).find(s=>s.tagName==="rect"),I=a===r.firstElementChild);const g=(r.id||r.getAttribute("data-name")).substring(1).toLowerCase();let t=C.get(g),n=t instanceof A?t:null,E=t instanceof W?t:null;if(t||(S.error("SVG booth rect not found in __data:",g),t=n=new A,t.id=O(),t.name=g.toUpperCase(),t.slug=F(g),t.error=!0,t.exhibitors=[],C.set(g,t)),o.push(t),t.layer=m?h.layers.find(s=>s.name===B):null,t.borderColor=a?.getAttribute("stroke")||a?.style.stroke||w.boothBorderColor||"#FFFFFF",t.borderWidth=parseFloat(a?.getAttribute("stroke-width")||a?.style.strokeWidth),isNaN(t.borderWidth)&&(t.borderWidth=l.borderWidth),!G.heatmap)t.labelColor=a?.getAttribute("data-label-color");else{const s=e.heatmapStore.getTotalClicksByBooth(t),c=R(e.heatmapStore.getColorByClicks(s));t.labelColor=c.darken(.3).isLight()?"#555":"#fff"}t.rect=a?N.fromSvgRectElement(a):null,t.noLabels=!!a?.dataset.nolabel||a?.id.startsWith("no"),n?(n.availColor=r.getAttribute("data-avail-color")||a?.getAttribute("data-avail-color")||n.availColor,n.soldColor=r.getAttribute("data-sold-color")||a?.getAttribute("data-sold-color")||n.soldColor,n.holdColor=r.getAttribute("data-hold-color")||a?.getAttribute("data-hold-color")||n.holdColor,n.size=v.dimensionless?null:n.size||r.getAttribute("data-size"),n.status==="reserved"?n.reserved=!0:n.status==="onhold"&&(n.onHold=!0)):E.color=(parseInt(a.getAttribute("data-poi-type"))>0?a.style?.fill:r.getAttribute("data-color")||a.getAttribute("data-color"))||E.color;const y=a?.getAttribute("transform");if(y){const s=y.match(/translate\(([-0-9.]+) ([-0-9.]+)\) rotate\(([-0-9.]+)\)/);if(s){const f=parseFloat(s[3]);t.rotate=-f*Math.PI/180}else{const f=y.match(/rotate\(([-0-9.]+).*\)/);if(f){const b=parseFloat(f[1]);t.rotate=-b*Math.PI/180}else{const b=y.match(/matrix\(\s*([-0-9.]+)\s*(?:,|\s)\s*([-0-9.]+)\s*(?:,|\s)\s*([-0-9.]+)\s*(?:,|\s)\s*([-0-9.]+)\s*(?:,|\s)\s*([-0-9.]+)\s*(?:,|\s)\s*([-0-9.]+)\s*\)/);b&&(t.rotate=Math.asin(-parseFloat(b[2])))}}Math.abs(t.rotate*180/Math.PI)>180&&(t.rotate=t.rotate-90*Math.PI/180,t.rect=t.rect.getRotated90())}if(r.tagName==="g"){t.paths=[],t.pathsWithRect=I;var u=[];for(const s of M.select(r).selectAll("path, rect").nodes())if(s.tagName==="path"){const c=s;if(c.tagName!=="path")continue;const f=parseInt(c.getAttribute("data-index")),b=!!c.getAttribute("data-unblinking");t.paths.push({index:f,color:c.style.fill,unblinking:b}),a||u.push(...D(f,i))}if(u.length){let s=Number.MAX_VALUE,c=Number.MAX_VALUE,f=-Number.MAX_VALUE,b=-Number.MAX_VALUE;u.forEach(_=>{_.forEach(x=>{s=Math.min(s,x[0]),c=Math.min(c,x[1]),f=Math.max(f,x[0]),b=Math.max(b,x[1])})}),t.rect=N.fromXywh(s,c,f-s,b-c),t.noLabels=!0}}}for(const r of o)r.rect?r.store=l:(S.error("__data booth not found in SVG:",r.name,r),o.splice(o.indexOf(r),1));return o}function j(e){return new URLSearchParams(window.location.search).get(e)}function L(e,d,i){let l=new $;l.name="EXHIBITOR NAME",l.slug="exhibitor-name",l.booths=[],l=e||l;for(let h=0;h<i;h++){const o={...l,id:Date.now()};d.exhibitors.push(o)}}function q(e){w.EXPO==="cbresupplypartner"&&e instanceof A&&!e.availColor&&e.type&&(e.type.indexOf("Premium A - 2m height restriction Passport")!==-1?e.availColor="#939393":e.type.indexOf("No free-standing")!==-1?e.availColor="#BA3DC8":e.type.endsWith("Passport")?e.availColor="#939393":e.type.startsWith("Premium A - 2m")?e.availColor="#FF9E4E":e.type.startsWith("Premium A - 4m")?e.availColor="#EA4335":e.type.startsWith("Premium B - 2m")?e.availColor="#523BC0":e.type.startsWith("Premium C - 2.4m")&&(e.availColor="#3ECC78"))}
1
+ import{Box as A,degToRad as v,radToDeg as z}from"@expofp/geometry";import D from"color";import*as E from"d3-selection";import{autorun as _}from"mobx";import B from"../../data";import{getLayerSvg as M,getTrianglesFromFpPaths as O}from"../../data/svg";import{getNextId as T}from"../../tools/id";import S from"../../tools/logger";import N from"../../tools/settings";import{generateUniqueSlug as W}from"../../tools/slug";import{sortByName as U}from"../../utils";import{getStorage as P,saveStorage as V}from"../../utils/entity-storage";import{extractMetaFromString as $}from"../../utils/extractMetaFromString";import{RegularBooth as x,SpecialBooth as L}from"../BoothStore";import{Exhibitor as G}from"../ExhibitorStore";import{uiState as H}from"../index";const C=new Map,k=[];export function iniAllBooths(t){C.clear(),k.length=0;const d=parseInt(q("copy_exh"));for(const i of B.booths||[]){const{text:l,meta:c}=$(i.name);i.meta=c;const e=i.special?new L:new x;Object.assign(e,i),e.slug=W(e.name),C.set(e.name.toLowerCase(),e),Q(e);const m=e;m.exhibitors=[];for(const u of i.exhibitors){const b=t.exhibitorStore.exhibitorById.get(u);b&&(m.exhibitors.push(b),d&&R(b,m,d),b.booths.push(m))}!i.exhibitors.length&&d&&R(null,m,d),e.schedule=t.eventStore.eventItems.filter(u=>u.boothId===e.id),e.name=l,k.push(e)}k.sort((i,l)=>i.name.localeCompare(l.name,void 0,{sensitivity:"base",numeric:!0}));for(const i of t.exhibitorStore.exhibitors)U(i.booths);t.boothStore.booths=k,delete B.booths,S.log("initBooths",t.boothStore.booths.length),X(t)}function X(t){const l=(P("bookmarked").booths||[]).filter(c=>{const e=t.boothStore.boothById.get(c);return e&&e.exhibitors.length===0});t.boothStore.replaceBookmarked(l),_(()=>{const c=P("bookmarked"),e=t.boothStore.booths.filter(m=>m.exhibitors.length===0&&m.bookmarkedDirectly).map(m=>m.id);V("bookmarked",{exhibitors:c.exhibitors,events:c.events,speakers:c.speakers,booths:e})})}export default function j(t,d){const i=d.name,{boothStore:l,layerStore:c}=t,e=[],m=!!window.__fpLayers,u=E.select(M(d)).selectAll(`[data-layer='${i}'] > [data-tagname='efp-booth'], [data-layer='${i}'] > g[id^=b], [data-layer='${i}'] > rect[id^=b]`).nodes();for(const r of u){const w=r.closest("svg > [data-layer]").attributes["data-layer"]?.value;if(!w)continue;let a,I=!1;r.tagName==="rect"?a=r:(a=Array.from(r.children).find(h=>h.tagName==="rect"),I=a===r.firstElementChild);const g=(r.id||r.getAttribute("data-name")).substring(1).toLowerCase();let o=C.get(g),n=o instanceof x?o:null,F=o instanceof L?o:null;if(o||(S.error("SVG booth rect not found in __data:",g),o=n=new x,o.id=T(),o.name=g.toUpperCase(),o.slug=W(g),o.error=!0,o.exhibitors=[],C.set(g,o)),e.push(o),o.layer=m?c.layers.find(h=>h.name===w):null,o.borderColor=a?.getAttribute("stroke")||a?.style.stroke||N.boothBorderColor||"#FFFFFF",o.borderWidth=parseFloat(a?.getAttribute("stroke-width")||a?.style.strokeWidth),isNaN(o.borderWidth)&&(o.borderWidth=l.borderWidth),!H.heatmap)o.labelColor=a?.getAttribute("data-label-color");else{const h=t.heatmapStore.getTotalClicksByBooth(o),f=D(t.heatmapStore.getColorByClicks(h));o.labelColor=f.darken(.3).isLight()?"#555":"#fff"}o.rect=a?A.fromSvg(a):null,o.noLabels=!!a?.dataset.nolabel||a?.id.startsWith("no"),n?(n.availColor=r.getAttribute("data-avail-color")||a?.getAttribute("data-avail-color")||n.availColor,n.soldColor=r.getAttribute("data-sold-color")||a?.getAttribute("data-sold-color")||n.soldColor,n.holdColor=r.getAttribute("data-hold-color")||a?.getAttribute("data-hold-color")||n.holdColor,n.size=B.dimensionless?null:n.size||r.getAttribute("data-size"),n.status==="reserved"?n.reserved=!0:n.status==="onhold"&&(n.onHold=!0)):F.color=(parseInt(a.getAttribute("data-poi-type"))>0?a.style?.fill:r.getAttribute("data-color")||a.getAttribute("data-color"))||F.color;const y=a?.getAttribute("transform");if(y){const h=y.match(/translate\(([-0-9.]+) ([-0-9.]+)\) rotate\(([-0-9.]+)\)/);if(h){const s=parseFloat(h[3]);o.rotate=v(s)}else{const s=y.match(/rotate\(([-0-9.]+).*\)/);if(s){const p=parseFloat(s[1]);o.rotate=v(p)}else{const p=y.match(/matrix\(\s*([-0-9.]+)\s*(?:,|\s)\s*([-0-9.]+)\s*(?:,|\s)\s*([-0-9.]+)\s*(?:,|\s)\s*([-0-9.]+)\s*(?:,|\s)\s*([-0-9.]+)\s*(?:,|\s)\s*([-0-9.]+)\s*\)/);p&&(o.rotate=Math.asin(parseFloat(p[2])))}}if(Math.abs(z(o.rotate))>180){o.rotate+=v(90);const s=o.rect;o.rect=new A(s.center.x-s.size.height/2,s.center.y-s.size.width/2,s.size.height,s.size.width)}}if(r.tagName==="g"){o.paths=[],o.pathsWithRect=I;var b=[];for(const h of E.select(r).selectAll("path, rect").nodes())if(h.tagName==="path"){const f=h;if(f.tagName!=="path")continue;const s=parseInt(f.getAttribute("data-index")),p=!!f.getAttribute("data-unblinking");o.paths.push({index:s,color:f.style.fill,unblinking:p}),a||b.push(...O(s,i))}if(b.length){const h=b.flatMap(f=>f.map(s=>({x:s[0],y:s[1]})));o.rect=A.fromPoints(h),o.noLabels=!0}}}for(const r of e)r.rect?r.store=l:(S.error("__data booth not found in SVG:",r.name,r),e.splice(e.indexOf(r),1));return e}function q(t){return new URLSearchParams(window.location.search).get(t)}function R(t,d,i){let l=new G;l.name="EXHIBITOR NAME",l.slug="exhibitor-name",l.booths=[],l=t||l;for(let c=0;c<i;c++){const e={...l,id:Date.now()};d.exhibitors.push(e)}}function Q(t){N.EXPO==="cbresupplypartner"&&t instanceof x&&!t.availColor&&t.type&&(t.type.indexOf("Premium A - 2m height restriction Passport")!==-1?t.availColor="#939393":t.type.indexOf("No free-standing")!==-1?t.availColor="#BA3DC8":t.type.endsWith("Passport")?t.availColor="#939393":t.type.startsWith("Premium A - 2m")?t.availColor="#FF9E4E":t.type.startsWith("Premium A - 4m")?t.availColor="#EA4335":t.type.startsWith("Premium B - 2m")?t.availColor="#523BC0":t.type.startsWith("Premium C - 2.4m")&&(t.availColor="#3ECC78"))}
@@ -1 +1 @@
1
- import{select as b}from"d3";import{getLayerSvg as y}from"../../data/svg";import{floors as p}from"../../data/svg";import{isPathwayLayer as w}from"../../utils/is-pathway-layer";import{Layer as c,LayerMode as n,LayersMode as u}from"../LayerStore";const h=1e3;export function getChildLayers(o,a,l){const f=[];let d=a;return b(y(o)).selectAll(`svg [data-layer="${o.name}"] > [data-layer]`).nodes().filter(i=>i.childNodes.length).forEach(i=>{const e=i.getAttribute("data-layer");let t=new c;t.name=i.getAttribute("data-layer"),t.visible=o.visible,t.description=i.getAttribute("data-layer-description")||e,t.frozen=i.getAttribute("data-layer-isfrozen")==="true",t.rect=o.rect,t.viewbox=o.viewbox,t.mode=n.Unset,t.rootParent=o.rootParent?o.rootParent:o;const r=getChildLayers(t,d,l);d=r.priority+l,t.basePriority=d,r.layers.length&&(t.childLayers=r.layers,f.push(...r.layers)),f.push(t)}),{layers:f,priority:d}}export default function v(o){const{layerStore:a}=o,l=window.__fpLayers;a.mode=window.__fpLayersMode||u.Default;const f=new URLSearchParams(window.location.search).get("layer"),d=(e,t)=>f?t.toLowerCase()===f.toLowerCase():a.mode!==u.Default?e.mode==n.TurnedOn:e.visible;let s=[],i=0;l?l.forEach(e=>{i+=h;let t=new c;t.name=e.name,t.description=e.description,t.frozen=e.frozen,t.visible=d(e,t.shortName),t.rect=e.rect,t.viewbox=e.viewbox,t.mode=e.mode||n.Unset,t.basePriority=i,t.floorIndex=e.floorIndex,s.push(t)}):b(y()).selectAll("svg > [data-layer]").nodes().filter(e=>e.childNodes.length).forEach(e=>{const t=e.getAttribute("data-layer");if(!t.startsWith("WF")){i+=h;let r=new c;r.name=t,r.visible=!0,r.description=e.getAttribute("data-layer-description")||t,r.frozen=e.getAttribute("data-layer-isfrozen")==="true",r.rect=p.filter(m=>m.name===r.name||m.name===r.description)[0]?.rect,r.mode=n.Unset,r.basePriority=i,s.push(r)}}),a.mode!==u.Default&&s.forEach(e=>{e.mode===n.AlwaysHidden?(e.frozen=!0,e.visible=!1):e.mode===n.AlwaysVisible?e.frozen=e.visible=!0:e.mode===n.TurnedOff?(e.frozen=!1,e.visible=!1):e.mode===n.TurnedOn&&(e.frozen=!1,e.visible=!0)});try{s.forEach(e=>{w(e.name)&&(e.frozen=!1,e.visible=!1,e.pathway=!0)})}catch(e){console.warn(e)}s=s.filter(e=>e.pathway||!e.frozen||e.frozen&&e.visible),a.defaultLayer=s.find(e=>e.name===window.__fpDefaultLayer),a.layers=[...a.layers,...s]}
1
+ import{Box as w,isBox as v}from"@expofp/geometry";import{select as y}from"d3";import{floors as g,getLayerSvg as b}from"../../data/svg";import{isPathwayLayer as x}from"../../utils/is-pathway-layer";import{Layer as u,LayerMode as n,LayersMode as c}from"../LayerStore";const h=1e3;function p(r){return r==null||v(r)?r:w.fromMinMax({x:r.x1,y:r.y1},{x:r.x2,y:r.y2})}export function getChildLayers(r,s,l){const f=[];let d=s;return y(b(r)).selectAll(`svg [data-layer="${r.name}"] > [data-layer]`).nodes().filter(o=>o.childNodes.length).forEach(o=>{const e=o.getAttribute("data-layer");let t=new u;t.name=o.getAttribute("data-layer"),t.visible=r.visible,t.description=o.getAttribute("data-layer-description")||e,t.frozen=o.getAttribute("data-layer-isfrozen")==="true",t.rect=r.rect,t.viewbox=r.viewbox,t.mode=n.Unset,t.rootParent=r.rootParent?r.rootParent:r;const i=getChildLayers(t,d,l);d=i.priority+l,t.basePriority=d,i.layers.length&&(t.childLayers=i.layers,f.push(...i.layers)),f.push(t)}),{layers:f,priority:d}}export default function L(r){const{layerStore:s}=r,l=window.__fpLayers;s.mode=window.__fpLayersMode||c.Default;const f=new URLSearchParams(window.location.search).get("layer"),d=(e,t)=>f?t.toLowerCase()===f.toLowerCase():s.mode!==c.Default?e.mode==n.TurnedOn:e.visible;let a=[],o=0;l?l.forEach(e=>{o+=h;let t=new u;t.name=e.name,t.description=e.description,t.frozen=e.frozen,t.visible=d(e,t.shortName),t.rect=p(e.rect),t.viewbox=p(e.viewbox),t.mode=e.mode||n.Unset,t.basePriority=o,t.floorIndex=e.floorIndex,a.push(t)}):y(b()).selectAll("svg > [data-layer]").nodes().filter(e=>e.childNodes.length).forEach(e=>{const t=e.getAttribute("data-layer");if(!t.startsWith("WF")){o+=h;let i=new u;i.name=t,i.visible=!0,i.description=e.getAttribute("data-layer-description")||t,i.frozen=e.getAttribute("data-layer-isfrozen")==="true",i.rect=g.filter(m=>m.name===i.name||m.name===i.description)[0]?.rect,i.mode=n.Unset,i.basePriority=o,a.push(i)}}),s.mode!==c.Default&&a.forEach(e=>{e.mode===n.AlwaysHidden?(e.frozen=!0,e.visible=!1):e.mode===n.AlwaysVisible?e.frozen=e.visible=!0:e.mode===n.TurnedOff?(e.frozen=!1,e.visible=!1):e.mode===n.TurnedOn&&(e.frozen=!1,e.visible=!0)});try{a.forEach(e=>{x(e.name)&&(e.frozen=!1,e.visible=!1,e.pathway=!0)})}catch(e){console.warn(e)}a=a.filter(e=>e.pathway||!e.frozen||e.frozen&&e.visible),s.defaultLayer=a.find(e=>e.name===window.__fpDefaultLayer),s.layers=[...s.layers,...a]}
@@ -1,4 +1,4 @@
1
- import{autorun as s,reaction as h,runInAction as v}from"mobx";import{ResizeObserver as g}from"resize-observer";import{KIOSK_ENABLE_KEY as l,VISIBILITY_STORAGE_KEY as k}from"../../constants";import w from"../../core/Size";import E from"../../data";import y from"../../tools/logger";import{isWebGlSupported as x}from"../../utils";import{detectLimitedModeViaImage as b}from"../../utils/detectLimitedModeViaImage";import{isLocalStorageAvailable as a}from"../../utils/localStorage";import c from"../../utils/preview-exhibitor";let o;export default function z(i){const{uiState:e,exhibitorStore:u,searchStore:T}=i;e.rootElement=window.__efpElement,f(e.rootElement.clientWidth,e.rootElement.clientHeight),o=new g(t=>{t.forEach(r=>{f(r.contentRect.width,r.contentRect.height)})}),o.observe(e.rootElement),c&&(e.previewExhibitor=u.exhibitorById.get(c.id));const n=typeof matchMedia<"u"?matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`):null;n&&n.addEventListener&&n.addEventListener("change",()=>{e.devicePixelRatio=window.devicePixelRatio});const p=c||!x?"full":"medium";E.isRebooking&&e.list.type==="search"&&!e.list.text&&i.selectExhibitors(),e.desiredOverlaySize=p,s(()=>{(e.searchFocused||e.menu)&&e.overlayPosition!=="left"&&(e.desiredOverlaySize="full")}),s(()=>{e.overlaySize!=="full"&&e.menu&&(e.menu=!1)}),e.wsShown||(e.wsStarted=!0),e.kiosk=a&&localStorage.getItem(l)==="1",window.__resett=d;function S(){i.reset()}var m;function d(){e.kiosk&&(y.log("zzz2","reset timer"),clearTimeout(m),m=setTimeout(S,3e4),e.inIdle=!1)}s(()=>{const t=e.list;t.type==="search"&&(t.text==="kkiosk"?e.kiosk=!0:t.text==="nokkiosk"&&(e.kiosk=!1))}),h(()=>e.kiosk,t=>{a&&(t?(localStorage.setItem(l,"1"),d()):localStorage.setItem(l,"0"))}),a&&e.setVisibility(JSON.parse(localStorage.getItem(k))||{});function f(t,r){v("uiState.screenSize",()=>{e.screenSize=new w(t,r)})}I(i)}export function destroyUiHandlers(){o&&(o.disconnect(),o=null)}async function I(i){try{if(!await b())return;i.uiState.setGlobalErrorMessage({title:"Unsupported Environment Detected",body:`
1
+ import{Point as h}from"@expofp/geometry";import{autorun as s,reaction as v,runInAction as g}from"mobx";import{ResizeObserver as k}from"resize-observer";import{KIOSK_ENABLE_KEY as l,VISIBILITY_STORAGE_KEY as w}from"../../constants";import E from"../../data";import y from"../../tools/logger";import{isWebGlSupported as x}from"../../utils";import{detectLimitedModeViaImage as b}from"../../utils/detectLimitedModeViaImage";import{isLocalStorageAvailable as a}from"../../utils/localStorage";import c from"../../utils/preview-exhibitor";let o;export default function I(i){const{uiState:e,exhibitorStore:u,searchStore:T}=i;e.rootElement=window.__efpElement,f(e.rootElement.clientWidth,e.rootElement.clientHeight),o=new k(t=>{t.forEach(r=>{f(r.contentRect.width,r.contentRect.height)})}),o.observe(e.rootElement),c&&(e.previewExhibitor=u.exhibitorById.get(c.id));const n=typeof matchMedia<"u"?matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`):null;n&&n.addEventListener&&n.addEventListener("change",()=>{e.devicePixelRatio=window.devicePixelRatio});const p=c||!x?"full":"medium";E.isRebooking&&e.list.type==="search"&&!e.list.text&&i.selectExhibitors(),e.desiredOverlaySize=p,s(()=>{(e.searchFocused||e.menu)&&e.overlayPosition!=="left"&&(e.desiredOverlaySize="full")}),s(()=>{e.overlaySize!=="full"&&e.menu&&(e.menu=!1)}),e.wsShown||(e.wsStarted=!0),e.kiosk=a&&localStorage.getItem(l)==="1",window.__resett=d;function S(){i.reset()}var m;function d(){e.kiosk&&(y.log("zzz2","reset timer"),clearTimeout(m),m=setTimeout(S,3e4),e.inIdle=!1)}s(()=>{const t=e.list;t.type==="search"&&(t.text==="kkiosk"?e.kiosk=!0:t.text==="nokkiosk"&&(e.kiosk=!1))}),v(()=>e.kiosk,t=>{a&&(t?(localStorage.setItem(l,"1"),d()):localStorage.setItem(l,"0"))}),a&&e.setVisibility(JSON.parse(localStorage.getItem(w))||{});function f(t,r){g("uiState.screenSize",()=>{e.screenSize=new h(t,r)})}z(i)}export function destroyUiHandlers(){o&&(o.disconnect(),o=null)}async function z(i){try{if(!await b())return;i.uiState.setGlobalErrorMessage({title:"Unsupported Environment Detected",body:`
2
2
  This application requires a proper server environment to function correctly.
3
3
  For full functionality, please ensure the application is served through an HTTP/HTTPS server.
4
4
  Some features may not work as expected in the current setup.
@@ -1 +1 @@
1
- import h from"../../data";import{getContrastTextColor as l}from"../../utils/getContrastTextColor";import{BUTTON_ICONS as u,PREFIXES as a,SearchButtonType as i}from"./constants";export class SearchButtonsFactory{rootStore;state;actions;buttonFactories;constructor(t,e,o){this.rootStore=t,this.state=e,this.actions=o,this.buttonFactories={[i.BOOKMARKS]:r=>this.createBookmarksButton(r),[i.VISITED]:r=>this.createVisitedButton(r),[i.CATEGORIES]:r=>this.createCategoriesButton(r),[i.SESSIONS]:r=>this.createSessionsButton(r),[i.TOURS]:r=>this.createGuidedToursButton(r),[i.POI_TYPE]:r=>this.createPoiTypeButton(r),[i.POI_TYPES]:r=>this.createPoiTypesButton(r),[i.LINK]:r=>this.createLinkButton(r),[i.EXHIBITORS]:r=>this.createExhibitorsButton(r)}}createButtons(t){return this.dedupeButtons(t).filter(e=>e.visible).map(e=>({button:this.createButton(e),order:e.order??Number.MAX_SAFE_INTEGER})).filter(e=>e.button!==null).sort((e,o)=>e.order-o.order).map(e=>e.button)}createButton(t){const e=this.buttonFactories[t.type];return e?e(t):null}createBaseButton(t){const e=t.color&&t.color.toUpperCase()!=="#FFFFFF";return{id:t.id||`${t.type}_${t.name}`,label:t.name,text:t.name,enabled:!0,isDimmed:!1,isClickable:!0,backgroundColor:e?t.color:void 0,textColor:e&&t.color?l(t.color):void 0}}createButtonId(t,e){return e.id||`${t}${e.name}`}createBookmarksButton(t){const{uiState:e}=this.rootStore;return e.kiosk||e.disableBookmarked||h.hideBookmarks?null:{...this.createBaseButton(t),id:i.BOOKMARKS,icon:u.BOOKMARKS,active:e.list.type==="bookmarks",count:this.countBookmarks(),onClick:()=>this.actions.handleSearchButtonClick(i.BOOKMARKS)}}createVisitedButton(t){const{uiState:e}=this.rootStore;return e.kiosk?null:{...this.createBaseButton(t),id:i.VISITED,icon:u.VISITED,active:e.list.type==="visited",count:this.countVisited(),onClick:()=>this.actions.handleSearchButtonClick(i.VISITED)}}createCategoriesButton(t){if(!t.children?.length){const n=this.getCategoriesTotalCount();return n>0?this.createSimpleCategoriesButton(t,n):null}const e=(t.children||[]).filter(n=>n.visible);if(e.length===0)return null;const o=this.createButtonId(a.CATEGORIES,t),r=e.filter(n=>n.type==="categories"),s=this.countCategories(r);return{...this.createBaseButton(t),id:o,active:this.state.searchShortcutState.activeParentId===o,count:s,showZeroCount:!0,onClick:()=>this.actions.handleExtendedSearchButtonClick(o)}}createSimpleCategoriesButton(t,e){const{uiState:o}=this.rootStore,r=o.selectedCategoryFilters.length>0?o.selectedCategoryFilters.length:e;return{...this.createBaseButton(t),id:i.CATEGORIES,active:o.selectedCategoryFilters.length>0&&!this.state.searchShortcutState.activeParentId,count:r,showZeroCount:!0,onClick:()=>this.actions.handleSearchButtonClick(i.CATEGORIES)}}createSessionsButton(t){const{uiState:e}=this.rootStore,o=this.getSessionsTotalCount();return o===0?null:{...this.createBaseButton(t),id:i.SESSIONS,icon:u.SESSIONS,active:e.list.type==="sessions",count:o,showZeroCount:!0,hasSubButtons:!0,onClick:()=>this.actions.handleSessionsClick()}}createGuidedToursButton(t){const{uiState:e}=this.rootStore,o=this.getGuidedToursTotalCount();return o===0?null:{...this.createBaseButton(t),id:"guided_tours",active:e.list.type==="tours"||e.list.type==="multi-point-tour",count:o,showZeroCount:!0,onClick:()=>this.actions.handleSearchButtonClick("guided_tours")}}createPoiTypeButton(t){const e=this.rootStore.poiTypeStore.poiTypes.find(s=>s.name===t.name);if(!e)return null;const o=`${a.POI_TYPE}${e.id}`,r=this.getPoiTypeTotalCount(e.id);return r===0?null:{...this.createBaseButton(t),id:o,active:this.state.activePoiFilterId===o,count:r,showZeroCount:!0,onClick:()=>this.actions.handleSearchButtonClick(o)}}createPoiTypesButton(t){if(!t.children?.length)return this.createPoiTypeButton(t);const e=t.children.filter(n=>n.visible);if(e.length===0)return null;if(this.shouldFlattenToSinglePoiType(e,t))return this.createPoiTypeButton(t);const o=e.filter(n=>n.type!=="link"),r=this.countPoiTypes(o),s=this.createButtonId(a.POI_TYPES,t);return{...this.createBaseButton(t),id:s,active:this.state.searchShortcutState.activeParentId===s,count:r,showZeroCount:!0,onClick:()=>this.actions.handleExtendedSearchButtonClick(s)}}shouldFlattenToSinglePoiType(t,e){return t.length===1&&t[0].type==="poi_types"&&t[0].name===e.name}createLinkButton(t){const e=this.createButtonId(a.LINK,t);return{...this.createBaseButton(t),id:e,active:!1,onClick:()=>this.actions.handleExtendedSearchButtonClick(e)}}createExhibitorsButton(t){const{uiState:e}=this.rootStore,o=this.getExhibitorsTotalCount();return o===0?null:{...this.createBaseButton(t),id:i.EXHIBITORS,icon:u.EXHIBITORS,active:e.list.type==="exhibitors",count:o,showZeroCount:!0,onClick:()=>this.actions.handleSearchButtonClick(i.EXHIBITORS)}}countCategories(t){const{categoryById:e}=this.rootStore.categoryStore,o=new Set;return t.forEach(r=>{if(r.type!=="categories")return;const s=e.get(Number(r.id));s&&s.exhibitors.forEach(n=>o.add(n.id))}),o.size}countPoiTypes(t){return t.reduce((e,o)=>{if(o.type!=="poi_types")return e;if(o.count!==void 0)return e+o.count;const r=Number(o.id),s=this.rootStore.poiTypeStore.poiTypes.find(n=>n.id===r);if(s){const n=this.rootStore.boothStore.booths.filter(c=>c.poiTypeId===s.id).length;return e+n}return e},0)}dedupeButtons(t){const e=new Set;return t.filter(o=>{const r=`${o.type}_${o.name}`;return e.has(r)?!1:(e.add(r),!0)})}countBookmarks(){return this.rootStore.exhibitorStore.bookmarked.length+this.rootStore.eventStore.bookmarked.length+this.rootStore.speakerStore.bookmarked.length+this.rootStore.boothStore.booths.filter(t=>t.exhibitors.length===0&&t.bookmarkedDirectly).length}countVisited(){return this.rootStore.exhibitorStore.visited.length+this.rootStore.eventStore.visited.length}getSessionsTotalCount(){return this.rootStore.eventStore.eventItems.length}getGuidedToursTotalCount(){return this.rootStore.toursStore.hasTours?this.rootStore.toursStore.tourItems.length:0}getCategoriesTotalCount(){return this.rootStore.categoryStore.categories.filter(t=>t.exhibitors.length>0).length}getPoiTypeTotalCount(t){return this.rootStore.boothStore.booths.filter(e=>e.poiTypeId===t).length}getExhibitorsTotalCount(){return this.rootStore.exhibitorStore.exhibitors.length}}
1
+ import h from"../../data";import{getContrastTextColor as l}from"../../utils/getContrastTextColor";import{tIfExists as d}from"../../utils/i18n";import{BUTTON_ICONS as u,PREFIXES as a,SearchButtonType as i}from"./constants";export class SearchButtonsFactory{rootStore;state;actions;buttonFactories;constructor(t,e,o){this.rootStore=t,this.state=e,this.actions=o,this.buttonFactories={[i.BOOKMARKS]:r=>this.createBookmarksButton(r),[i.VISITED]:r=>this.createVisitedButton(r),[i.CATEGORIES]:r=>this.createCategoriesButton(r),[i.SESSIONS]:r=>this.createSessionsButton(r),[i.TOURS]:r=>this.createGuidedToursButton(r),[i.POI_TYPE]:r=>this.createPoiTypeButton(r),[i.POI_TYPES]:r=>this.createPoiTypesButton(r),[i.LINK]:r=>this.createLinkButton(r),[i.EXHIBITORS]:r=>this.createExhibitorsButton(r)}}createButtons(t){return this.dedupeButtons(t).filter(e=>e.visible).map(e=>({button:this.createButton(e),order:e.order??Number.MAX_SAFE_INTEGER})).filter(e=>e.button!==null).sort((e,o)=>e.order-o.order).map(e=>e.button)}createButton(t){const e=this.buttonFactories[t.type];return e?e(t):null}createBaseButton(t){const e=t.color&&t.color.toUpperCase()!=="#FFFFFF",o=d(t.name);return{id:t.id||`${t.type}_${t.name}`,label:o,text:o,enabled:!0,isDimmed:!1,isClickable:!0,backgroundColor:e?t.color:void 0,textColor:e&&t.color?l(t.color):void 0}}createButtonId(t,e){return e.id||`${t}${e.name}`}createBookmarksButton(t){const{uiState:e}=this.rootStore;return e.kiosk||e.disableBookmarked||h.hideBookmarks?null:{...this.createBaseButton(t),id:i.BOOKMARKS,icon:u.BOOKMARKS,active:e.list.type==="bookmarks",count:this.countBookmarks(),onClick:()=>this.actions.handleSearchButtonClick(i.BOOKMARKS)}}createVisitedButton(t){const{uiState:e}=this.rootStore;return e.kiosk?null:{...this.createBaseButton(t),id:i.VISITED,icon:u.VISITED,active:e.list.type==="visited",count:this.countVisited(),onClick:()=>this.actions.handleSearchButtonClick(i.VISITED)}}createCategoriesButton(t){if(!t.children?.length){const n=this.getCategoriesTotalCount();return n>0?this.createSimpleCategoriesButton(t,n):null}const e=(t.children||[]).filter(n=>n.visible);if(e.length===0)return null;const o=this.createButtonId(a.CATEGORIES,t),r=e.filter(n=>n.type==="categories"),s=this.countCategories(r);return{...this.createBaseButton(t),id:o,active:this.state.searchShortcutState.activeParentId===o,count:s,showZeroCount:!0,onClick:()=>this.actions.handleExtendedSearchButtonClick(o)}}createSimpleCategoriesButton(t,e){const{uiState:o}=this.rootStore,r=o.selectedCategoryFilters.length>0?o.selectedCategoryFilters.length:e;return{...this.createBaseButton(t),id:i.CATEGORIES,active:o.selectedCategoryFilters.length>0&&!this.state.searchShortcutState.activeParentId,count:r,showZeroCount:!0,onClick:()=>this.actions.handleSearchButtonClick(i.CATEGORIES)}}createSessionsButton(t){const{uiState:e}=this.rootStore,o=this.getSessionsTotalCount();return o===0?null:{...this.createBaseButton(t),id:i.SESSIONS,icon:u.SESSIONS,active:e.list.type==="sessions",count:o,showZeroCount:!0,hasSubButtons:!0,onClick:()=>this.actions.handleSessionsClick()}}createGuidedToursButton(t){const{uiState:e}=this.rootStore,o=this.getGuidedToursTotalCount();return o===0?null:{...this.createBaseButton(t),id:"guided_tours",active:e.list.type==="tours"||e.list.type==="multi-point-tour",count:o,showZeroCount:!0,onClick:()=>this.actions.handleSearchButtonClick("guided_tours")}}createPoiTypeButton(t){const e=this.rootStore.poiTypeStore.poiTypes.find(s=>s.name===t.name);if(!e)return null;const o=`${a.POI_TYPE}${e.id}`,r=this.getPoiTypeTotalCount(e.id);return r===0?null:{...this.createBaseButton(t),id:o,active:this.state.activePoiFilterId===o,count:r,showZeroCount:!0,onClick:()=>this.actions.handleSearchButtonClick(o)}}createPoiTypesButton(t){if(!t.children?.length)return this.createPoiTypeButton(t);const e=t.children.filter(n=>n.visible);if(e.length===0)return null;if(this.shouldFlattenToSinglePoiType(e,t))return this.createPoiTypeButton(t);const o=e.filter(n=>n.type!=="link"),r=this.countPoiTypes(o),s=this.createButtonId(a.POI_TYPES,t);return{...this.createBaseButton(t),id:s,active:this.state.searchShortcutState.activeParentId===s,count:r,showZeroCount:!0,onClick:()=>this.actions.handleExtendedSearchButtonClick(s)}}shouldFlattenToSinglePoiType(t,e){return t.length===1&&t[0].type==="poi_types"&&t[0].name===e.name}createLinkButton(t){const e=this.createButtonId(a.LINK,t);return{...this.createBaseButton(t),id:e,active:!1,onClick:()=>this.actions.handleExtendedSearchButtonClick(e)}}createExhibitorsButton(t){const{uiState:e}=this.rootStore,o=this.getExhibitorsTotalCount();return o===0?null:{...this.createBaseButton(t),id:i.EXHIBITORS,icon:u.EXHIBITORS,active:e.list.type==="exhibitors",count:o,showZeroCount:!0,onClick:()=>this.actions.handleSearchButtonClick(i.EXHIBITORS)}}countCategories(t){const{categoryById:e}=this.rootStore.categoryStore,o=new Set;return t.forEach(r=>{if(r.type!=="categories")return;const s=e.get(Number(r.id));s&&s.exhibitors.forEach(n=>o.add(n.id))}),o.size}countPoiTypes(t){return t.reduce((e,o)=>{if(o.type!=="poi_types")return e;if(o.count!==void 0)return e+o.count;const r=Number(o.id),s=this.rootStore.poiTypeStore.poiTypes.find(n=>n.id===r);if(s){const n=this.rootStore.boothStore.booths.filter(c=>c.poiTypeId===s.id).length;return e+n}return e},0)}dedupeButtons(t){const e=new Set;return t.filter(o=>{const r=`${o.type}_${o.name}`;return e.has(r)?!1:(e.add(r),!0)})}countBookmarks(){return this.rootStore.exhibitorStore.bookmarked.length+this.rootStore.eventStore.bookmarked.length+this.rootStore.speakerStore.bookmarked.length+this.rootStore.boothStore.booths.filter(t=>t.exhibitors.length===0&&t.bookmarkedDirectly).length}countVisited(){return this.rootStore.exhibitorStore.visited.length+this.rootStore.eventStore.visited.length}getSessionsTotalCount(){return this.rootStore.eventStore.eventItems.length}getGuidedToursTotalCount(){return this.rootStore.toursStore.hasTours?this.rootStore.toursStore.tourItems.length:0}getCategoriesTotalCount(){return this.rootStore.categoryStore.categories.filter(t=>t.exhibitors.length>0).length}getPoiTypeTotalCount(t){return this.rootStore.boothStore.booths.filter(e=>e.poiTypeId===t).length}getExhibitorsTotalCount(){return this.rootStore.exhibitorStore.exhibitors.length}}
@@ -1,5 +1,4 @@
1
1
  import { CurrentPosition } from '../store/RouteStore';
2
- export declare function bearing(lat1: number, lng1: number, lat2: number, lng2: number): number;
3
2
  export interface GpsConfig {
4
3
  p0: {
5
4
  x: number;
@@ -1 +1 @@
1
- import{getAngle as x,lineAngle as y,lineCenter as G,lineLength as h,rotatePoint as L,shiftPoint as B}from"simple-geometry";import{fpGeo as R}from"../data/fpGeo";import b from"../tools/logger";import{haversineDistance as u}from"./haversineDistance";const g=6371e3,S=-180,T=180;let v=n=>n*Math.PI/180,d=n=>n*180/Math.PI;export function bearing(n,l,t,s){const a=n*Math.PI/180,r=t*Math.PI/180,e=(s-l)*Math.PI/180,o=Math.sin(e)*Math.cos(r),c=Math.cos(a)*Math.sin(r)-Math.sin(a)*Math.cos(r)*Math.cos(e);return(Math.atan2(o,c)*180/Math.PI+360)%360}export function isValidPointCoords(n){return typeof n=="number"&&Number.isFinite(n)}export function convertGpsToLocal({lat:n,lng:l,angle:t},s){if(!(isValidPointCoords(n)&&isValidPointCoords(l)))return null;let{p0:a,p2:r}=s;const e=u(a.lat,a.lng,r.lat,r.lng),o=bearing(a.lat,a.lng,r.lat,r.lng),c=h(a,r),i=y(a,r);let p=u(a.lat,a.lng,n,l),M=bearing(a.lat,a.lng,n,l)-o;if(!isValidPointCoords(e)||e<=0)return b.warn("Invalid GPS config: zero or negative distance",{fullGpsDistance:e,p0:a,p2:r}),null;let I=p/e,m=L(M,B(a,c*I,i),a.x,a.y),A=h(m,G(s.p0,s.p2)),D=h(s.p0,s.p2);return A>5*D?(b.warn("Current position too far"),null):{...m,angle:t}}export function convertLocalToGps(n,l,t){var s=-x(t.p0,t.p2,{x:t.p0.x+1e4,y:t.p0.y}),a=-x(t.p0,{x:n,y:l},{x:t.p0.x+1e4,y:t.p0.y}),r=a-s,e=h(t.p2,t.p0),o=h(t.p0,{x:n,y:l}),c=o/e,i=u(t.p0.lat,t.p0.lng,t.p2.lat,t.p2.lng),p=c*i,P=bearing(t.p0.lat,t.p0.lng,t.p2.lat,t.p2.lng),M=w(t.p0.lat,t.p0.lng,p,P+r);return M}function w(n,l,t,s){var a=t/g,r=v(s),e=v(n),o=v(l),c=Math.asin(Math.sin(e)*Math.cos(a)+Math.cos(e)*Math.sin(a)*Math.cos(r)),i=o+Math.atan2(Math.sin(r)*Math.sin(a)*Math.cos(e),Math.cos(a)-Math.sin(e)*Math.sin(c)),p=d(i);return(p<S||p>T)&&(i=(i+3*Math.PI)%(2*Math.PI)-Math.PI,p=d(i)),[p,d(c)]}export function calculateRelativeBearing(n){const l=R?.properties?.config?.bearing??0;return n?.angle===null?0:(((n.angle-l)%360+360)%360-90+360)%360}
1
+ import{haversineDistance as x,lineCenter as m,lineLength as v,pointDistance as G,projectGpsToLocal as d,projectLocalToGps as b}from"@expofp/geometry";import{fpGeo as y}from"../data/fpGeo";import i from"../tools/logger";function c(e){return[{local:{x:e.p0.x,y:e.p0.y},geo:{lat:e.p0.lat,lng:e.p0.lng}},{local:{x:e.p2.x,y:e.p2.y},geo:{lat:e.p2.lat,lng:e.p2.lng}}]}export function isValidPointCoords(e){return typeof e=="number"&&Number.isFinite(e)}export function convertGpsToLocal({lat:e,lng:n,angle:a},o){if(!(isValidPointCoords(e)&&isValidPointCoords(n)))return null;let{p0:t,p2:r}=o;const l=x(t,r);if(!isValidPointCoords(l)||l<=0)return i.warn("Invalid GPS config: zero or negative distance",{fullGpsDistance:l,p0:t,p2:r}),null;const[s,u]=c(o);let p=d({lat:e,lng:n},s,u),g=v({p0:p,p1:m({p0:t,p1:r})}),f=G(t,r);return g>5*f?(i.warn("Current position too far"),null):{...p,angle:a}}export function convertLocalToGps(e,n,a){const[o,t]=c(a),{lat:r,lng:l}=b({x:e,y:n},o,t);return[l,r]}export function calculateRelativeBearing(e){const n=y?.properties?.config?.bearing??0;return e?.angle===null?0:(((e.angle-n)%360+360)%360-90+360)%360}
@@ -3,6 +3,15 @@ export declare const getLocale: () => string;
3
3
  export declare const getLocales: () => readonly Language[];
4
4
  export declare const hasLocale: (id: string | undefined) => id is string;
5
5
  export declare const t: (template: string, options?: any) => string;
6
+ /**
7
+ * Like {@link t}, but only looks the string up when a matching key exists in the
8
+ * active locale; otherwise it returns the string verbatim. Use for values that
9
+ * may be organizer-authored (e.g. search-button names): built-in labels still
10
+ * localize and react to language switches, while custom names pass through
11
+ * without tripping saveMissing / missingKeyHandler (console noise + extra work)
12
+ * in non-English locales.
13
+ */
14
+ export declare const tIfExists: (template: string, options?: any) => string;
6
15
  export declare const initI18n: () => Promise<TFunction>;
7
16
  export declare const setLocale: (id: string) => Promise<void>;
8
17
  export declare const resetLocale: () => Promise<void>;
@@ -1 +1 @@
1
- import n from"i18next";import{observable as u}from"mobx";import{LANGUAGE_TYPE as y}from"../constants";import p from"../locales";import S from"../tools/base-runtime-url";import{loadJson as w}from"../tools/loaders";import{isLocalStorageAvailable as i}from"./localStorage";const l="en",s="efp-locale",g="language",c=u.box(l),m=u.array([],{deep:!1}),f=o=>w(`${S}locales/${o}.json`),v=()=>{if(!i)return null;const o=localStorage.getItem(s),e=localStorage.getItem(g);return e&&localStorage.removeItem(g),o||(e&&localStorage.setItem(s,e),e)},d=()=>{const o=window.__data,e=navigator.languages?.[0]||navigator.language,a=Object.keys(p).find(r=>e.startsWith(r));return(v()||o?.locale||a||l).toLowerCase()};export const getLocale=()=>c.get(),getLocales=()=>m,hasLocale=o=>m.some(e=>e.id===o),t=(o,e)=>(c.get(),n.t(o,e)),initI18n=async()=>{m.replace(Object.entries(p).sort(([a],[r])=>a.localeCompare(r)).map(([a,r])=>({id:a,name:r,entity:{type:y}})));let o=d();const e={};if(o!==l)try{e[o]={translation:await f(o)}}catch(a){console.error(`Unable to load "${o}" localization, falling back to "${l}".`,a),o=l}return c.set(o),n.init({resources:e,lng:o,keySeparator:!1,saveMissing:o!==l,missingKeyHandler:(a,r,L,b)=>console.debug(`i18n missing key: '${a[0]}:${r}:${L}', fallback: '${b}'`)})},setLocale=async o=>{const e=o.toLowerCase();try{e!==l&&!n.hasResourceBundle(e,"translation")&&n.addResourceBundle(e,"translation",await f(e),!0,!0),await n.changeLanguage(e),c.set(e),i&&localStorage.setItem(s,e)}catch(a){console.error(`Failed to switch language to "${e}":`,a)}},resetLocale=async()=>(i&&(localStorage.removeItem(s),localStorage.removeItem(g)),setLocale(d()));
1
+ import s from"i18next";import{observable as u}from"mobx";import{LANGUAGE_TYPE as y}from"../constants";import f from"../locales";import x from"../tools/base-runtime-url";import{loadJson as S}from"../tools/loaders";import{isLocalStorageAvailable as i}from"./localStorage";const n="en",c="efp-locale",g="language",l=u.box(n),m=u.array([],{deep:!1}),d=e=>S(`${x}locales/${e}.json`),w=()=>{if(!i)return null;const e=localStorage.getItem(c),o=localStorage.getItem(g);return o&&localStorage.removeItem(g),e||(o&&localStorage.setItem(c,o),o)},p=()=>{const e=window.__data,o=navigator.languages?.[0]||navigator.language,a=Object.keys(f).find(r=>o.startsWith(r));return(w()||e?.locale||a||n).toLowerCase()};export const getLocale=()=>l.get(),getLocales=()=>m,hasLocale=e=>m.some(o=>o.id===e),t=(e,o)=>(l.get(),s.t(e,o)),tIfExists=(e,o)=>(l.get(),s.exists(e,o)?s.t(e,o):e),initI18n=async()=>{m.replace(Object.entries(f).sort(([a],[r])=>a.localeCompare(r)).map(([a,r])=>({id:a,name:r,entity:{type:y}})));let e=p();const o={};if(e!==n)try{o[e]={translation:await d(e)}}catch(a){console.error(`Unable to load "${e}" localization, falling back to "${n}".`,a),e=n}return l.set(e),s.init({resources:o,lng:e,keySeparator:!1,saveMissing:e!==n,missingKeyHandler:(a,r,L,b)=>console.debug(`i18n missing key: '${a[0]}:${r}:${L}', fallback: '${b}'`)})},setLocale=async e=>{const o=e.toLowerCase();try{o!==n&&!s.hasResourceBundle(o,"translation")&&s.addResourceBundle(o,"translation",await d(o),!0,!0),await s.changeLanguage(o),l.set(o),i&&localStorage.setItem(c,o)}catch(a){console.error(`Failed to switch language to "${o}":`,a)}},resetLocale=async()=>(i&&(localStorage.removeItem(c),localStorage.removeItem(g)),setLocale(p()));
@@ -1,4 +1,4 @@
1
- import { type Booth, type RegularBooth } from '../store/BoothStore';
1
+ import { type Booth } from '../store/BoothStore';
2
2
  export interface Img {
3
3
  booth: Booth;
4
4
  name?: string;
@@ -11,7 +11,5 @@ export interface Img {
11
11
  angle: number;
12
12
  };
13
13
  }
14
- /** @deprecated use loadBoothsImages instead */
15
- export default function logosFromBooths(booths: RegularBooth[]): Promise<Img[]>;
16
14
  export declare function loadIcons(svgImages: SVGImageElement[]): Promise<Img[]>;
17
15
  //# sourceMappingURL=imageloader.d.ts.map
@@ -1 +1 @@
1
- import{getLogoUrl as g}from"./getLogoUrl";import{loadImage as u}from"./loadImage";export default function x(e){return Promise.all(e.map(t=>new Promise(async h=>{const l=t.exhibitors?.find(n=>n.logoInBooth&&n.logo)?.logo;if(!l)return h(null);const a=t.rect;let i=await u(g(l));if(i||(i=await u(l)),!i)return h(null);const w=a.w/a.h,r=i.width/i.height;let o=0,s=0,m;if(w>r?(s=a.h*.9,o=s*r):(o=a.w*.9,s=o/r),r>=2&&!t.rotate&&t.rect.h>=t.rect.w*2){let n=a.w*.9,c=n*r;for(;c>a.h-2;)n--,c=n*r;s=n,o=c,m=-90}else m=-t.rotate*180/Math.PI;const d=a.cx-o/2,f=a.cy-s/2;h({name:t.slug,bounds:{x:d,y:f,width:o,height:s,angle:m},htmlImage:i,booth:t})})))}export function loadIcons(e){return Promise.all(e.map(t=>new Promise(async h=>{var l=await u(p(t.getAttribute("xlink:href")||t.getAttribute("href")));h(l?{bounds:{x:t.x.animVal.value,y:t.y.animVal.value,width:t.width.animVal.value,height:t.height.animVal.value,angle:t.transform?.animVal[0]?.angle??0},htmlImage:l,booth:null}:null)})))}function p(e){return!e?.startsWith("data:")&&e?.indexOf("://")===-1?window.__dataUrlBase+e:e}
1
+ import{loadImage as e}from"./loadImage";export function loadIcons(t){return Promise.all(t.map(a=>new Promise(async l=>{var n=await e(i(a.getAttribute("xlink:href")||a.getAttribute("href")));l(n?{bounds:{x:a.x.animVal.value,y:a.y.animVal.value,width:a.width.animVal.value,height:a.height.animVal.value,angle:a.transform?.animVal[0]?.angle??0},htmlImage:n,booth:null}:null)})))}function i(t){return!t?.startsWith("data:")&&t?.indexOf("://")===-1?window.__dataUrlBase+t:t}
@@ -1,4 +1,3 @@
1
- export declare const toRadians: (degrees: number) => number;
2
1
  /**
3
2
  * Reduces a number by a given percentage.
4
3
  * Example: decreaseByPercentage(200, 10) → 180
@@ -1 +1 @@
1
- const e=Math.PI/180;export const toRadians=t=>t?t*e:0;export function decreaseByPercentage(t,n){return t*(1-n/100)}
1
+ export function decreaseByPercentage(e,r){return e*(1-r/100)}
@@ -4,6 +4,10 @@ import type { RouteEndpoint } from '../core';
4
4
  * Converts an efp `Booth` to a neutral {@link RouteEndpoint}. The booth's
5
5
  * (possibly rotated) rectangle becomes a 4-vertex polygon used by the engine
6
6
  * as a containment region for graph-point lookup.
7
+ *
8
+ * `booth.rotate` is stored positive-clockwise (y-down) after Task 4, matching
9
+ * the geometry package convention, so it feeds the geometry Rect directly.
10
+ * Corner order is top-left, top-right, bottom-right, bottom-left.
7
11
  */
8
12
  export declare function boothToEndpoint(booth: Booth): RouteEndpoint;
9
13
  //# sourceMappingURL=boothToEndpoint.d.ts.map
@@ -1 +1 @@
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
+ import{Rect as t}from"@expofp/geometry";export function boothToEndpoint(e){const r=e.rect,n=t.fromMinMax(r.min,r.max,e.rotate).corners();return{x:r.center.x,y:r.center.y,layer:e.layer?.name??"",bounds:n}}
@@ -1,3 +1,4 @@
1
+ import { type Point2Like } from '@expofp/geometry';
1
2
  export interface SegmentProjection {
2
3
  readonly projected: {
3
4
  readonly x: number;
@@ -6,10 +7,6 @@ export interface SegmentProjection {
6
7
  readonly distance: number;
7
8
  readonly t: number;
8
9
  }
9
- interface Point2D {
10
- readonly x: number;
11
- readonly y: number;
12
- }
13
10
  /**
14
11
  * Projects `point` onto the segment `a`–`b`, clamping the parameter `t` to
15
12
  * `[0, 1]` so the result always lies on the segment (not its infinite line).
@@ -17,7 +14,11 @@ interface Point2D {
17
14
  * `t` is the normalized position along the segment: `0` = `a`, `1` = `b`.
18
15
  * For a zero-length segment (`a` equals `b`) the projection collapses to `a`
19
16
  * with `t = 0`.
17
+ *
18
+ * Thin wrapper over `@expofp/geometry`'s `lineProjectPoint`; the projected
19
+ * position is re-shaped to a plain `{ x, y }` to preserve the legacy
20
+ * {@link SegmentProjection} contract (callers depend on a bare point, not a
21
+ * `Point` instance).
20
22
  */
21
- export declare function projectPointOnSegment(point: Point2D, a: Point2D, b: Point2D): SegmentProjection;
22
- export {};
23
+ export declare function projectPointOnSegment(point: Point2Like, a: Point2Like, b: Point2Like): SegmentProjection;
23
24
  //# sourceMappingURL=projectPointOnSegment.d.ts.map