@expofp/floorplan 3.2.7 → 3.2.9

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 (98) hide show
  1. package/dist/browser/{CookieConsent-C0WrwOQU.js → CookieConsent-CWY01nS_.js} +1787 -1803
  2. package/dist/browser/{Debug-7KOvbcgu.js → Debug-Ch39-r8o.js} +9 -9
  3. package/dist/browser/{Demo-BTrpOaT8.js → Demo-CA2Dtr9p.js} +11 -11
  4. package/dist/browser/Free-tZoGYbm5.js +63 -0
  5. package/dist/browser/{Gallery-PP-H3fui.js → Gallery-DQ-NTa6R.js} +9 -9
  6. package/dist/browser/{GpsLoader-pif05qaO.js → GpsLoader-Bznt_xLN.js} +14 -14
  7. package/dist/browser/{KioskStore-BmqfGXEW.js → KioskStore-A9vmXOZE.js} +3 -3
  8. package/dist/browser/{Mapbox-BEO3oA1E.js → Mapbox-eDkFWPPi.js} +37 -37
  9. package/dist/browser/{SetKioskMode-BjyRxPem.js → SetKioskMode-AU-W_Z-f.js} +17 -17
  10. package/dist/browser/{ShowKiosk-DrNFPO0o.js → ShowKiosk-CLuMqmTz.js} +10 -10
  11. package/dist/browser/{ThreeComponent-CkTRDPj-.js → ThreeComponent-DsCG_vs5.js} +156 -156
  12. package/dist/browser/{TouchHand-BX9ElW6V.js → TouchHand-B8RiBF7o.js} +4 -4
  13. package/dist/browser/{ViewerMenuPanel-BpxIaNdU.js → ViewerMenuPanel-DZ5vz7rp.js} +13 -13
  14. package/dist/browser/{add-debug-secret-listener-BV3Vlx9C.js → add-debug-secret-listener-qEasEfwK.js} +1 -1
  15. package/dist/browser/{boolean-editor-DfkvcIH0.js → boolean-editor-KFTxmdzj.js} +10 -10
  16. package/dist/browser/{bootIntercom-XKKrQyNd.js → bootIntercom-CNQeFaoJ.js} +2 -2
  17. package/dist/browser/{box-Cy-U95_G.js → box-DutTTrem.js} +5 -5
  18. package/dist/browser/{browser-oUjLaYcl.js → browser-CPxDQEuR.js} +2 -2
  19. package/dist/browser/bundle.json +53 -53
  20. package/dist/browser/{classnames-DpaK9tQ8.js → classnames-Ik0tGjEU.js} +2 -2
  21. package/dist/browser/{client-smunwL9U.js → client-nXMugISE.js} +4 -4
  22. package/dist/browser/{data-BVaCNE1I.js → data-CydM_gUZ.js} +44 -44
  23. package/dist/browser/{debug-overlay-CYWt6Xv8.js → debug-overlay-BSe6nuZ0.js} +11 -11
  24. package/dist/browser/{debug-ui-D63K4FZz.js → debug-ui-2Bawq2Zx.js} +6 -6
  25. package/dist/browser/{dist-irw0I8ne.js → dist-4or7mRbG.js} +5 -5
  26. package/dist/browser/{dist-BU_A8R-K.js → dist-CAmPggJH.js} +6 -6
  27. package/dist/browser/{dist-XBFUxmAT.js → dist-KO_kG62p.js} +3 -3
  28. package/dist/browser/{efp-debug-init-CPGmIrNj.js → efp-debug-init-B-QTb8ay.js} +2 -2
  29. package/dist/browser/{enum-editor-B_JVlLVN.js → enum-editor-_Giaelpg.js} +11 -11
  30. package/dist/browser/{exports-C5NN5UxX.js → exports-M1edBIa9.js} +1 -1
  31. package/dist/browser/{favicon-B0nAd4Pr.js → favicon-D-Go_G7E.js} +1 -1
  32. package/dist/browser/{fetch-retry.umd-DBq0GieJ.js → fetch-retry.umd-Bc9GSOuq.js} +2 -2
  33. package/dist/browser/{flex-DOhgUp1k.js → flex-BUqhIIGb.js} +6 -6
  34. package/dist/browser/{flex.props-D8JHoC5B.js → flex.props-BU9Dksr-.js} +2 -2
  35. package/dist/browser/{floorplan.loader-Cme4mipd.js → floorplan.loader-D-OUcFuZ.js} +9 -9
  36. package/dist/browser/{floorplan.ready-C25lQjgP.js → floorplan.ready-BWHY8wbf.js} +12 -12
  37. package/dist/browser/{fuse-D1o3bI0m.js → fuse-D01t_ZBu.js} +2 -2
  38. package/dist/browser/index.js +13 -13
  39. package/dist/browser/{is-debug-D9BzIDdu.js → is-debug-C0ORuwBz.js} +3 -3
  40. package/dist/browser/{jsx-runtime-C0zFKVvF.js → jsx-runtime-Cd4pI6Dj.js} +2 -2
  41. package/dist/browser/{lib-D2sBqUIY.js → lib-BjLS1Qen.js} +4 -4
  42. package/dist/browser/{main-GLYY8zv3.js → main-CBzEenbU.js} +1 -1
  43. package/dist/browser/{mobx-D5pYBM85.js → mobx-h7HhZjCg.js} +4 -4
  44. package/dist/browser/{particles.min-egXyIDIV.js → particles.min-V6djuJnx.js} +2 -2
  45. package/dist/browser/{prop-types-xhHzBbvi.js → prop-types-8DrggUgf.js} +2 -2
  46. package/dist/browser/{react-CanbjT5I.js → react-Dd6qt83k.js} +2 -2
  47. package/dist/browser/{react-dom-wNBYs_H5.js → react-dom-aRO55sP1.js} +3 -3
  48. package/dist/browser/{reset-all-settings-5oUUws5J.js → reset-all-settings-N7kAP_D7.js} +7 -7
  49. package/dist/browser/{rolldown-runtime-BKpHzyBK.js → rolldown-runtime-wY3V7GBs.js} +1 -1
  50. package/dist/browser/{settings-D5qqIejY.js → settings-D7A9piKA.js} +2 -2
  51. package/dist/browser/{settings-item-Blm7DAEt.js → settings-item-BVKYXscM.js} +6 -6
  52. package/dist/browser/{store-CM7rJpRZ.js → store-D670bJ4A.js} +4296 -4396
  53. package/dist/browser/{string-editor-CLdOCbq2.js → string-editor-Cg7jqVa9.js} +8 -8
  54. package/dist/browser/{theme-App4ywLP.js → theme-4dAp6vO1.js} +8 -8
  55. package/dist/browser/{ui-BN6m_5pK.js → ui-BzQCWHO0.js} +8 -8
  56. package/dist/esm/components/Map/Map.js +1 -1
  57. package/dist/esm/components/Map/drawing/config/config-all.js +1 -1
  58. package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
  59. package/dist/esm/components/SearchBox.js +1 -1
  60. package/dist/esm/load.js +1 -1
  61. package/dist/esm/services/routing.js +1 -1
  62. package/dist/esm/store/BoothStore.d.ts +0 -1
  63. package/dist/esm/store/BoothStore.js +1 -1
  64. package/dist/esm/store/RouteStore.js +1 -1
  65. package/dist/esm/store/UIState.js +1 -1
  66. package/dist/esm/store/init/init-booths.js +1 -1
  67. package/dist/esm/tools/track-event.js +1 -1
  68. package/dist/esm/utils/customCommands.d.ts +1 -1
  69. package/dist/esm/utils/customCommands.js +1 -1
  70. package/dist/esm/wayfinding/adapters/boothToEndpoint.d.ts +2 -6
  71. package/dist/esm/wayfinding/adapters/boothToEndpoint.js +1 -1
  72. package/dist/esm/wayfinding/adapters/index.d.ts +0 -1
  73. package/dist/esm/wayfinding/adapters/index.js +1 -1
  74. package/dist/esm/wayfinding/bindMobxReactions.js +1 -1
  75. package/dist/esm/wayfinding/core/createWayfindingEngine.d.ts +3 -3
  76. package/dist/esm/wayfinding/core/geometry/pointInPolygon.d.ts +11 -0
  77. package/dist/esm/wayfinding/core/geometry/pointInPolygon.js +1 -0
  78. package/dist/esm/wayfinding/core/index.d.ts +1 -2
  79. package/dist/esm/wayfinding/core/index.js +1 -1
  80. package/dist/esm/wayfinding/core/position/snapToRoute.js +1 -1
  81. package/dist/esm/wayfinding/core/rendering/computeTransitionPoints.js +1 -1
  82. package/dist/esm/wayfinding/core/routing/findNearestGraphPoint.d.ts +5 -20
  83. package/dist/esm/wayfinding/core/routing/findNearestGraphPoint.js +1 -1
  84. package/dist/esm/wayfinding/core/routing/resolveWaypointCandidates.d.ts +3 -6
  85. package/dist/esm/wayfinding/core/routing/resolveWaypointCandidates.js +1 -1
  86. package/dist/esm/wayfinding/core/types.d.ts +9 -26
  87. package/dist/esm/wayfinding/runtime/createWayfindingRuntime.js +1 -1
  88. package/dist/esm/wayfinding/runtime/types.d.ts +1 -1
  89. package/package.json +3 -3
  90. package/dist/browser/Free-1JPcV1Tq.js +0 -63
  91. package/dist/esm/components/Map/drawing/config/config-booth-scaled.d.ts +0 -14
  92. package/dist/esm/components/Map/drawing/config/config-booth-scaled.js +0 -1
  93. package/dist/esm/components/Map/drawing/config/config-yah.d.ts +0 -2
  94. package/dist/esm/components/Map/drawing/config/config-yah.js +0 -1
  95. package/dist/esm/utils/yah.d.ts +0 -8
  96. package/dist/esm/utils/yah.js +0 -1
  97. package/dist/esm/wayfinding/adapters/boothToWaypoint.d.ts +0 -12
  98. package/dist/esm/wayfinding/adapters/boothToWaypoint.js +0 -1
@@ -1 +1 @@
1
- import{__esDecorate as i,__runInitializers as a}from"tslib";import{action as u,computed as n,observable as o}from"mobx";import{uiState as P}from".";import{MAP_SETTINGS_KEY as Xl,MOBILE_BREAKPOINT as Jl,PREVIEW_MODE_STORAGE_KEY as ql,UI_SCALE_STORAGE_KEY as Q,VIEWER_MODE_STORAGE_KEY as er,VISIBILITY_STORAGE_KEY as Gl,LANGUAGE_TYPE as A}from"../constants";import tr from"../tools/logger";import sr from"../core/Rect";import z from"../data";import{svgArea as ir}from"../data/svg";import{hasUserConsent as ar}from"../tools/gtag";import V from"../tools/settings";import{remsToPixels as N}from"../utils";import Ql from"../utils/browser";import{getLocale as lr,getLocales as rr,t as y}from"../utils/i18n";import{isLocalStorageAvailable as C}from"../utils/localStorage";import{getResponsiveClass as or}from"../utils/responsiveClass";import{BoothBase as T,RegularBooth as E,SpecialBooth as Y}from"./BoothStore";import{Exhibitor as b}from"./ExhibitorStore";import{Route as R,findEntityByExternalId as nr}from"./RouteStore";import{EventItem as F}from"./EventStore";import{SpeakerItem as $}from"./SpeakerStore";import{sanitizeStr as Yl}from"../utils/sanitizeText";import{getRawYah as cr}from"../utils/yah";import{setKioskUrlParams as dr}from"../components/Kiosk/kioskUrlParam";import{readFreeBannerDismissed as hr}from"../tools/freeBanner";const ur=["dimensions25"];let fr=(()=>{var U,O,H,x,k;let l=[],M,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;M=[(U=o).struct.bind(U)],Z=[(O=o).ref.bind(O)],q=[(H=o).ref.bind(H)],se=[(x=o).ref.bind(x)],le=[o],ne=[o],he=[o],me=[o],_e=[o],ye=[o],be=[o],Ce=[o],Me=[o],Re=[o],Le=[o],Fe=[(k=o).struct.bind(k)],Ve=[o],Ge=[o],$e=[o],Ze=[o],qe=[o],st=[o],lt=[o],nt=[o],ht=[o],mt=[o],_t=[o],yt=[o],bt=[o],Ct=[o],Mt=[o],Rt=[o],Lt=[o],Ft=[o],Vt=[o],Gt=[o],$t=[o],Zt=[o],qt=[o],ss=[o],ls=[o],ns=[o],hs=[o],ms=[o],_s=[o],ys=[o],bs=[o],Cs=[o],Ms=[o],Rs=[o],Ls=[o],Fs=[o],Vs=[o],Gs=[o],$s=[o],Zs=[o],qs=[o],si=[o],li=[o],ni=[o],hi=[o],mi=[o],_i=[o],yi=[o],bi=[o],Ci=[u],Bi=[u],Pi=[u],Mi=[u],wi=[u],Ti=[u],Ri=[u],Oi=[u],Di=[u],Li=[u],Ai=[u],Ei=[n],Fi=[n],Ui=[n],Hi=[n({keepAlive:!0})],Vi=[n({keepAlive:!0})],Ni=[n({keepAlive:!0})],Ki=[n({keepAlive:!0})],Gi=[n({keepAlive:!0})],Qi=[n({keepAlive:!0})],Yi=[n({keepAlive:!0})],$i=[n({keepAlive:!0})],ji=[n({keepAlive:!0})],Wi=[n],Zi=[n],Xi=[n],Ji=[n],qi=[n],ea=[n],ta=[n],sa=[n],ia=[n({keepAlive:!0})],aa=[n],la=[n],ra=[n({keepAlive:!0})],oa=[n],na=[n],ca=[n],da=[n],ha=[n],ua=[n],fa=[n],ma=[n],ga=[n],pa=[n],_a=[n],va=[n],Sa=[n],ya=[n],ka=[n({keepAlive:!0})],Ia=[o],za=[u],Ca=[n],Ba=[n],Pa=[n],Ma=[n],wa=[n],Ta=[n],Ra=[n],Oa=[n],Da=[n],La=[n({keepAlive:!0})],Aa=[n({keepAlive:!0})],Ea=[n({keepAlive:!0})],Fa=[n],Ua=[u],Ha=[u],Va=[u],Na=[u],Ka=[u],Ga=[u],Qa=[n({keepAlive:!0})],Ya=[o],Wa=[u],Za=[u],Xa=[n],Ja=[n],qa=[n],el=[n],tl=[n],sl=[n],il=[n],al=[n],ll=[n],rl=[u],ol=[u],nl=[u],cl=[u],dl=[u],hl=[u],ul=[n],fl=[n],ml=[u],gl=[o],vl=[u],Sl=[n],yl=[o],bl=[u],xl=[o],Bl=[u],Pl=[u],Ml=[u],wl=[u],Tl=[u],Rl=[o],Ll=[u],Al=[o],Ul=[u],i(this,null,Ci,{kind:"method",name:"setSelectedCategoryFilters",static:!1,private:!1,access:{has:e=>"setSelectedCategoryFilters"in e,get:e=>e.setSelectedCategoryFilters},metadata:t},null,l),i(this,null,Bi,{kind:"method",name:"resetCategoryFilter",static:!1,private:!1,access:{has:e=>"resetCategoryFilter"in e,get:e=>e.resetCategoryFilter},metadata:t},null,l),i(this,null,Pi,{kind:"method",name:"setSearchClearMode",static:!1,private:!1,access:{has:e=>"setSearchClearMode"in e,get:e=>e.setSearchClearMode},metadata:t},null,l),i(this,null,Mi,{kind:"method",name:"setRouteTitle",static:!1,private:!1,access:{has:e=>"setRouteTitle"in e,get:e=>e.setRouteTitle},metadata:t},null,l),i(this,null,wi,{kind:"method",name:"setRouteDescription",static:!1,private:!1,access:{has:e=>"setRouteDescription"in e,get:e=>e.setRouteDescription},metadata:t},null,l),i(this,null,Ti,{kind:"method",name:"setIsMultiPointRoute",static:!1,private:!1,access:{has:e=>"setIsMultiPointRoute"in e,get:e=>e.setIsMultiPointRoute},metadata:t},null,l),i(this,null,Ri,{kind:"method",name:"setTourTitle",static:!1,private:!1,access:{has:e=>"setTourTitle"in e,get:e=>e.setTourTitle},metadata:t},null,l),i(this,null,Oi,{kind:"method",name:"setTourDescription",static:!1,private:!1,access:{has:e=>"setTourDescription"in e,get:e=>e.setTourDescription},metadata:t},null,l),i(this,null,Di,{kind:"method",name:"setIsMultiPointTour",static:!1,private:!1,access:{has:e=>"setIsMultiPointTour"in e,get:e=>e.setIsMultiPointTour},metadata:t},null,l),i(this,null,Li,{kind:"method",name:"setPathwayOnlyMode",static:!1,private:!1,access:{has:e=>"setPathwayOnlyMode"in e,get:e=>e.setPathwayOnlyMode},metadata:t},null,l),i(this,null,Ai,{kind:"method",name:"setMultiPointTourList",static:!1,private:!1,access:{has:e=>"setMultiPointTourList"in e,get:e=>e.setMultiPointTourList},metadata:t},null,l),i(this,null,Ei,{kind:"getter",name:"activePathwayLayers",static:!1,private:!1,access:{has:e=>"activePathwayLayers"in e,get:e=>e.activePathwayLayers},metadata:t},null,l),i(this,null,Fi,{kind:"getter",name:"highlightedBooths",static:!1,private:!1,access:{has:e=>"highlightedBooths"in e,get:e=>e.highlightedBooths},metadata:t},null,l),i(this,null,Ui,{kind:"getter",name:"rtl",static:!1,private:!1,access:{has:e=>"rtl"in e,get:e=>e.rtl},metadata:t},null,l),i(this,null,Hi,{kind:"getter",name:"noOverlay",static:!1,private:!1,access:{has:e=>"noOverlay"in e,get:e=>e.noOverlay},metadata:t},null,l),i(this,null,Vi,{kind:"getter",name:"selectedExhibitor",static:!1,private:!1,access:{has:e=>"selectedExhibitor"in e,get:e=>e.selectedExhibitor},metadata:t},null,l),i(this,null,Ni,{kind:"getter",name:"selectedBooth",static:!1,private:!1,access:{has:e=>"selectedBooth"in e,get:e=>e.selectedBooth},metadata:t},null,l),i(this,null,Ki,{kind:"getter",name:"selectedCategory",static:!1,private:!1,access:{has:e=>"selectedCategory"in e,get:e=>e.selectedCategory},metadata:t},null,l),i(this,null,Gi,{kind:"getter",name:"selectedRoute",static:!1,private:!1,access:{has:e=>"selectedRoute"in e,get:e=>e.selectedRoute},metadata:t},null,l),i(this,null,Qi,{kind:"getter",name:"selectedSpeaker",static:!1,private:!1,access:{has:e=>"selectedSpeaker"in e,get:e=>e.selectedSpeaker},metadata:t},null,l),i(this,null,Yi,{kind:"getter",name:"uiScale",static:!1,private:!1,access:{has:e=>"uiScale"in e,get:e=>e.uiScale},metadata:t},null,l),i(this,null,$i,{kind:"getter",name:"isGuidedToursActive",static:!1,private:!1,access:{has:e=>"isGuidedToursActive"in e,get:e=>e.isGuidedToursActive},metadata:t},null,l),i(this,null,ji,{kind:"getter",name:"getRouteNextFloor",static:!1,private:!1,access:{has:e=>"getRouteNextFloor"in e,get:e=>e.getRouteNextFloor},metadata:t},null,l),i(this,null,Wi,{kind:"getter",name:"headerHeightRem",static:!1,private:!1,access:{has:e=>"headerHeightRem"in e,get:e=>e.headerHeightRem},metadata:t},null,l),i(this,null,Zi,{kind:"getter",name:"headerHeightPx",static:!1,private:!1,access:{has:e=>"headerHeightPx"in e,get:e=>e.headerHeightPx},metadata:t},null,l),i(this,null,Xi,{kind:"getter",name:"overlayPosition",static:!1,private:!1,access:{has:e=>"overlayPosition"in e,get:e=>e.overlayPosition},metadata:t},null,l),i(this,null,Ji,{kind:"getter",name:"overlayCollapsed",static:!1,private:!1,access:{has:e=>"overlayCollapsed"in e,get:e=>e.overlayCollapsed},metadata:t},null,l),i(this,null,qi,{kind:"getter",name:"overlaySize",static:!1,private:!1,access:{has:e=>"overlaySize"in e,get:e=>e.overlaySize},metadata:t},null,l),i(this,null,ea,{kind:"getter",name:"overlayBottom",static:!1,private:!1,access:{has:e=>"overlayBottom"in e,get:e=>e.overlayBottom},metadata:t},null,l),i(this,null,ta,{kind:"getter",name:"overlayLeft",static:!1,private:!1,access:{has:e=>"overlayLeft"in e,get:e=>e.overlayLeft},metadata:t},null,l),i(this,null,sa,{kind:"getter",name:"overlayWidthPx",static:!1,private:!1,access:{has:e=>"overlayWidthPx"in e,get:e=>e.overlayWidthPx},metadata:t},null,l),i(this,null,ia,{kind:"getter",name:"wsImageHeightPx",static:!1,private:!1,access:{has:e=>"wsImageHeightPx"in e,get:e=>e.wsImageHeightPx},metadata:t},null,l),i(this,null,aa,{kind:"getter",name:"wsPaddingPx",static:!1,private:!1,access:{has:e=>"wsPaddingPx"in e,get:e=>e.wsPaddingPx},metadata:t},null,l),i(this,null,la,{kind:"getter",name:"wsOccupiedHeightPx",static:!1,private:!1,access:{has:e=>"wsOccupiedHeightPx"in e,get:e=>e.wsOccupiedHeightPx},metadata:t},null,l),i(this,null,ra,{kind:"getter",name:"wsShown",static:!1,private:!1,access:{has:e=>"wsShown"in e,get:e=>e.wsShown},metadata:t},null,l),i(this,null,oa,{kind:"getter",name:"wsDesktopPosition",static:!1,private:!1,access:{has:e=>"wsDesktopPosition"in e,get:e=>e.wsDesktopPosition},metadata:t},null,l),i(this,null,na,{kind:"getter",name:"wsPosition",static:!1,private:!1,access:{has:e=>"wsPosition"in e,get:e=>e.wsPosition},metadata:t},null,l),i(this,null,ca,{kind:"getter",name:"responsiveClass",static:!1,private:!1,access:{has:e=>"responsiveClass"in e,get:e=>e.responsiveClass},metadata:t},null,l),i(this,null,da,{kind:"getter",name:"mapVisibleTop",static:!1,private:!1,access:{has:e=>"mapVisibleTop"in e,get:e=>e.mapVisibleTop},metadata:t},null,l),i(this,null,ha,{kind:"getter",name:"mapVisibleBottom",static:!1,private:!1,access:{has:e=>"mapVisibleBottom"in e,get:e=>e.mapVisibleBottom},metadata:t},null,l),i(this,null,ua,{kind:"getter",name:"mapVisibleStart",static:!1,private:!1,access:{has:e=>"mapVisibleStart"in e,get:e=>e.mapVisibleStart},metadata:t},null,l),i(this,null,fa,{kind:"getter",name:"searchActionsHeightPx",static:!1,private:!1,access:{has:e=>"searchActionsHeightPx"in e,get:e=>e.searchActionsHeightPx},metadata:t},null,l),i(this,null,ma,{kind:"getter",name:"fullSizeOffset",static:!1,private:!1,access:{has:e=>"fullSizeOffset"in e,get:e=>e.fullSizeOffset},metadata:t},null,l),i(this,null,ga,{kind:"getter",name:"shouldShowSearchButtons",static:!1,private:!1,access:{has:e=>"shouldShowSearchButtons"in e,get:e=>e.shouldShowSearchButtons},metadata:t},null,l),i(this,null,pa,{kind:"getter",name:"canvasVisibleRectPx",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPx"in e,get:e=>e.canvasVisibleRectPx},metadata:t},null,l),i(this,null,_a,{kind:"getter",name:"shouldShiftMapRect",static:!1,private:!1,access:{has:e=>"shouldShiftMapRect"in e,get:e=>e.shouldShiftMapRect},metadata:t},null,l),i(this,null,va,{kind:"getter",name:"hasAppliedFilters",static:!1,private:!1,access:{has:e=>"hasAppliedFilters"in e,get:e=>e.hasAppliedFilters},metadata:t},null,l),i(this,null,Sa,{kind:"getter",name:"canvasVisibleRectPt",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPt"in e,get:e=>e.canvasVisibleRectPt},metadata:t},null,l),i(this,null,ya,{kind:"getter",name:"canvasSizePt",static:!1,private:!1,access:{has:e=>"canvasSizePt"in e,get:e=>e.canvasSizePt},metadata:t},null,l),i(this,null,ka,{kind:"getter",name:"shouldUseBackdrop",static:!1,private:!1,access:{has:e=>"shouldUseBackdrop"in e,get:e=>e.shouldUseBackdrop},metadata:t},null,l),i(this,null,za,{kind:"method",name:"setForceDimm",static:!1,private:!1,access:{has:e=>"setForceDimm"in e,get:e=>e.setForceDimm},metadata:t},null,l),i(this,null,Ca,{kind:"getter",name:"dimmed",static:!1,private:!1,access:{has:e=>"dimmed"in e,get:e=>e.dimmed},metadata:t},null,l),i(this,null,Ba,{kind:"getter",name:"defaultSearchItems",static:!1,private:!1,access:{has:e=>"defaultSearchItems"in e,get:e=>e.defaultSearchItems},metadata:t},null,l),i(this,null,Pa,{kind:"getter",name:"searchItems",static:!1,private:!1,access:{has:e=>"searchItems"in e,get:e=>e.searchItems},metadata:t},null,l),i(this,null,Ma,{kind:"getter",name:"searchList",static:!1,private:!1,access:{has:e=>"searchList"in e,get:e=>e.searchList},metadata:t},null,l),i(this,null,wa,{kind:"getter",name:"foundInDescription",static:!1,private:!1,access:{has:e=>"foundInDescription"in e,get:e=>e.foundInDescription},metadata:t},null,l),i(this,null,Ta,{kind:"getter",name:"foundInDescriptionStruct",static:!1,private:!1,access:{has:e=>"foundInDescriptionStruct"in e,get:e=>e.foundInDescriptionStruct},metadata:t},null,l),i(this,null,Ra,{kind:"getter",name:"categoryFilteredSearchList",static:!1,private:!1,access:{has:e=>"categoryFilteredSearchList"in e,get:e=>e.categoryFilteredSearchList},metadata:t},null,l),i(this,null,Oa,{kind:"getter",name:"fuzzySearchItems",static:!1,private:!1,access:{has:e=>"fuzzySearchItems"in e,get:e=>e.fuzzySearchItems},metadata:t},null,l),i(this,null,Da,{kind:"getter",name:"listItems",static:!1,private:!1,access:{has:e=>"listItems"in e,get:e=>e.listItems},metadata:t},null,l),i(this,null,La,{kind:"getter",name:"listBooths",static:!1,private:!1,access:{has:e=>"listBooths"in e,get:e=>e.listBooths},metadata:t},null,l),i(this,null,Aa,{kind:"getter",name:"selectedBooths",static:!1,private:!1,access:{has:e=>"selectedBooths"in e,get:e=>e.selectedBooths},metadata:t},null,l),i(this,null,Ea,{kind:"getter",name:"hoveredBooths",static:!1,private:!1,access:{has:e=>"hoveredBooths"in e,get:e=>e.hoveredBooths},metadata:t},null,l),i(this,null,Fa,{kind:"getter",name:"visibility",static:!1,private:!1,access:{has:e=>"visibility"in e,get:e=>e.visibility},metadata:t},null,l),i(this,null,Ua,{kind:"method",name:"setVisibility",static:!1,private:!1,access:{has:e=>"setVisibility"in e,get:e=>e.setVisibility},metadata:t},null,l),i(this,null,Ha,{kind:"method",name:"toggleMapOverlay",static:!1,private:!1,access:{has:e=>"toggleMapOverlay"in e,get:e=>e.toggleMapOverlay},metadata:t},null,l),i(this,null,Va,{kind:"method",name:"changeZoom",static:!1,private:!1,access:{has:e=>"changeZoom"in e,get:e=>e.changeZoom},metadata:t},null,l),i(this,null,Na,{kind:"method",name:"zoomIn",static:!1,private:!1,access:{has:e=>"zoomIn"in e,get:e=>e.zoomIn},metadata:t},null,l),i(this,null,Ka,{kind:"method",name:"zoomOut",static:!1,private:!1,access:{has:e=>"zoomOut"in e,get:e=>e.zoomOut},metadata:t},null,l),i(this,null,Ga,{kind:"method",name:"fitBounds",static:!1,private:!1,access:{has:e=>"fitBounds"in e,get:e=>e.fitBounds},metadata:t},null,l),i(this,null,Qa,{kind:"getter",name:"selectedEventItem",static:!1,private:!1,access:{has:e=>"selectedEventItem"in e,get:e=>e.selectedEventItem},metadata:t},null,l),i(this,null,Wa,{kind:"method",name:"setMapSettings",static:!1,private:!1,access:{has:e=>"setMapSettings"in e,get:e=>e.setMapSettings},metadata:t},null,l),i(this,null,Za,{kind:"method",name:"resetMapSettings",static:!1,private:!1,access:{has:e=>"resetMapSettings"in e,get:e=>e.resetMapSettings},metadata:t},null,l),i(this,null,Xa,{kind:"getter",name:"baseQRCodeUrl",static:!1,private:!1,access:{has:e=>"baseQRCodeUrl"in e,get:e=>e.baseQRCodeUrl},metadata:t},null,l),i(this,null,Ja,{kind:"getter",name:"viewMapOnPhoneQRCodeUrl",static:!1,private:!1,access:{has:e=>"viewMapOnPhoneQRCodeUrl"in e,get:e=>e.viewMapOnPhoneQRCodeUrl},metadata:t},null,l),i(this,null,qa,{kind:"getter",name:"routeQRCodeUrl",static:!1,private:!1,access:{has:e=>"routeQRCodeUrl"in e,get:e=>e.routeQRCodeUrl},metadata:t},null,l),i(this,null,el,{kind:"getter",name:"isFeaturedExhibitorActive",static:!1,private:!1,access:{has:e=>"isFeaturedExhibitorActive"in e,get:e=>e.isFeaturedExhibitorActive},metadata:t},null,l),i(this,null,tl,{kind:"getter",name:"activeInterfaceData",static:!1,private:!1,access:{has:e=>"activeInterfaceData"in e,get:e=>e.activeInterfaceData},metadata:t},null,l),i(this,null,sl,{kind:"getter",name:"searchBoxConfig",static:!1,private:!1,access:{has:e=>"searchBoxConfig"in e,get:e=>e.searchBoxConfig},metadata:t},null,l),i(this,null,il,{kind:"getter",name:"searchBoxActions",static:!1,private:!1,access:{has:e=>"searchBoxActions"in e,get:e=>e.searchBoxActions},metadata:t},null,l),i(this,null,al,{kind:"getter",name:"overlayInterfaceClasses",static:!1,private:!1,access:{has:e=>"overlayInterfaceClasses"in e,get:e=>e.overlayInterfaceClasses},metadata:t},null,l),i(this,null,ll,{kind:"getter",name:"isOverlayOpen",static:!1,private:!1,access:{has:e=>"isOverlayOpen"in e,get:e=>e.isOverlayOpen},metadata:t},null,l),i(this,null,rl,{kind:"method",name:"setOverlayScrolled",static:!1,private:!1,access:{has:e=>"setOverlayScrolled"in e,get:e=>e.setOverlayScrolled},metadata:t},null,l),i(this,null,ol,{kind:"method",name:"setListScrollTop",static:!1,private:!1,access:{has:e=>"setListScrollTop"in e,get:e=>e.setListScrollTop},metadata:t},null,l),i(this,null,nl,{kind:"method",name:"setListScrollItemId",static:!1,private:!1,access:{has:e=>"setListScrollItemId"in e,get:e=>e.setListScrollItemId},metadata:t},null,l),i(this,null,cl,{kind:"method",name:"getListScrollTop",static:!1,private:!1,access:{has:e=>"getListScrollTop"in e,get:e=>e.getListScrollTop},metadata:t},null,l),i(this,null,dl,{kind:"method",name:"getListScrollItemId",static:!1,private:!1,access:{has:e=>"getListScrollItemId"in e,get:e=>e.getListScrollItemId},metadata:t},null,l),i(this,null,hl,{kind:"method",name:"clearListScroll",static:!1,private:!1,access:{has:e=>"clearListScroll"in e,get:e=>e.clearListScroll},metadata:t},null,l),i(this,null,ul,{kind:"getter",name:"bannerType",static:!1,private:!1,access:{has:e=>"bannerType"in e,get:e=>e.bannerType},metadata:t},null,l),i(this,null,fl,{kind:"getter",name:"isBannerVisible",static:!1,private:!1,access:{has:e=>"isBannerVisible"in e,get:e=>e.isBannerVisible},metadata:t},null,l),i(this,null,ml,{kind:"method",name:"setCurrentBanner",static:!1,private:!1,access:{has:e=>"setCurrentBanner"in e,get:e=>e.setCurrentBanner},metadata:t},null,l),i(this,null,vl,{kind:"method",name:"setForceShowDetails",static:!1,private:!1,access:{has:e=>"setForceShowDetails"in e,get:e=>e.setForceShowDetails},metadata:t},null,l),i(this,null,Sl,{kind:"getter",name:"showRouteInstantly",static:!1,private:!1,access:{has:e=>"showRouteInstantly"in e,get:e=>e.showRouteInstantly},metadata:t},null,l),i(this,null,bl,{kind:"method",name:"startBuildRoute",static:!1,private:!1,access:{has:e=>"startBuildRoute"in e,get:e=>e.startBuildRoute},metadata:t},null,l),i(this,null,Bl,{kind:"method",name:"setGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"setGlobalErrorMessage"in e,get:e=>e.setGlobalErrorMessage},metadata:t},null,l),i(this,null,Pl,{kind:"method",name:"popGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"popGlobalErrorMessage"in e,get:e=>e.popGlobalErrorMessage},metadata:t},null,l),i(this,null,Ml,{kind:"method",name:"initializeUIScale",static:!1,private:!1,access:{has:e=>"initializeUIScale"in e,get:e=>e.initializeUIScale},metadata:t},null,l),i(this,null,wl,{kind:"method",name:"setUIScale",static:!1,private:!1,access:{has:e=>"setUIScale"in e,get:e=>e.setUIScale},metadata:t},null,l),i(this,null,Tl,{kind:"method",name:"resetUIScale",static:!1,private:!1,access:{has:e=>"resetUIScale"in e,get:e=>e.resetUIScale},metadata:t},null,l),i(this,null,Ll,{kind:"method",name:"enableSetKioskMode",static:!1,private:!1,access:{has:e=>"enableSetKioskMode"in e,get:e=>e.enableSetKioskMode},metadata:t},null,l),i(this,null,Ul,{kind:"method",name:"setKioskData",static:!1,private:!1,access:{has:e=>"setKioskData"in e,get:e=>e.setKioskData},metadata:t},null,l),i(null,null,M,{kind:"field",name:"list",static:!1,private:!1,access:{has:e=>"list"in e,get:e=>e.list,set:(e,s)=>{e.list=s}},metadata:t},j,W),i(null,null,Z,{kind:"field",name:"details",static:!1,private:!1,access:{has:e=>"details"in e,get:e=>e.details,set:(e,s)=>{e.details=s}},metadata:t},X,J),i(null,null,q,{kind:"field",name:"hoveredExhibitor",static:!1,private:!1,access:{has:e=>"hoveredExhibitor"in e,get:e=>e.hoveredExhibitor,set:(e,s)=>{e.hoveredExhibitor=s}},metadata:t},ee,te),i(null,null,se,{kind:"field",name:"hoveredBooth",static:!1,private:!1,access:{has:e=>"hoveredBooth"in e,get:e=>e.hoveredBooth,set:(e,s)=>{e.hoveredBooth=s}},metadata:t},ie,ae),i(null,null,le,{kind:"field",name:"zoomBy",static:!1,private:!1,access:{has:e=>"zoomBy"in e,get:e=>e.zoomBy,set:(e,s)=>{e.zoomBy=s}},metadata:t},re,oe),i(null,null,ne,{kind:"field",name:"rollReset",static:!1,private:!1,access:{has:e=>"rollReset"in e,get:e=>e.rollReset,set:(e,s)=>{e.rollReset=s}},metadata:t},ce,de),i(null,null,he,{kind:"field",name:"moveToBooths",static:!1,private:!1,access:{has:e=>"moveToBooths"in e,get:e=>e.moveToBooths,set:(e,s)=>{e.moveToBooths=s}},metadata:t},ue,fe),i(null,null,me,{kind:"field",name:"moveToRect",static:!1,private:!1,access:{has:e=>"moveToRect"in e,get:e=>e.moveToRect,set:(e,s)=>{e.moveToRect=s}},metadata:t},ge,pe),i(null,null,_e,{kind:"field",name:"moveToLocation",static:!1,private:!1,access:{has:e=>"moveToLocation"in e,get:e=>e.moveToLocation,set:(e,s)=>{e.moveToLocation=s}},metadata:t},ve,Se),i(null,null,ye,{kind:"field",name:"menu",static:!1,private:!1,access:{has:e=>"menu"in e,get:e=>e.menu,set:(e,s)=>{e.menu=s}},metadata:t},ke,Ie),i(null,null,be,{kind:"field",name:"searchFocused",static:!1,private:!1,access:{has:e=>"searchFocused"in e,get:e=>e.searchFocused,set:(e,s)=>{e.searchFocused=s}},metadata:t},xe,ze),i(null,null,Ce,{kind:"field",name:"searchClearMode",static:!1,private:!1,access:{has:e=>"searchClearMode"in e,get:e=>e.searchClearMode,set:(e,s)=>{e.searchClearMode=s}},metadata:t},Be,Pe),i(null,null,Me,{kind:"field",name:"printingPdf",static:!1,private:!1,access:{has:e=>"printingPdf"in e,get:e=>e.printingPdf,set:(e,s)=>{e.printingPdf=s}},metadata:t},we,Te),i(null,null,Re,{kind:"field",name:"largeMessage",static:!1,private:!1,access:{has:e=>"largeMessage"in e,get:e=>e.largeMessage,set:(e,s)=>{e.largeMessage=s}},metadata:t},Oe,De),i(null,null,Le,{kind:"field",name:"largeMessageLastSet",static:!1,private:!1,access:{has:e=>"largeMessageLastSet"in e,get:e=>e.largeMessageLastSet,set:(e,s)=>{e.largeMessageLastSet=s}},metadata:t},Ae,Ee),i(null,null,Fe,{kind:"field",name:"screenSize",static:!1,private:!1,access:{has:e=>"screenSize"in e,get:e=>e.screenSize,set:(e,s)=>{e.screenSize=s}},metadata:t},Ue,He),i(null,null,Ve,{kind:"field",name:"desiredOverlaySize",static:!1,private:!1,access:{has:e=>"desiredOverlaySize"in e,get:e=>e.desiredOverlaySize,set:(e,s)=>{e.desiredOverlaySize=s}},metadata:t},Ne,Ke),i(null,null,Ge,{kind:"field",name:"overlayShowsAll",static:!1,private:!1,access:{has:e=>"overlayShowsAll"in e,get:e=>e.overlayShowsAll,set:(e,s)=>{e.overlayShowsAll=s}},metadata:t},Qe,Ye),i(null,null,$e,{kind:"field",name:"centerMap",static:!1,private:!1,access:{has:e=>"centerMap"in e,get:e=>e.centerMap,set:(e,s)=>{e.centerMap=s}},metadata:t},je,We),i(null,null,Ze,{kind:"field",name:"zoomAfTransformK",static:!1,private:!1,access:{has:e=>"zoomAfTransformK"in e,get:e=>e.zoomAfTransformK,set:(e,s)=>{e.zoomAfTransformK=s}},metadata:t},Xe,Je),i(null,null,qe,{kind:"field",name:"activeListIndex",static:!1,private:!1,access:{has:e=>"activeListIndex"in e,get:e=>e.activeListIndex,set:(e,s)=>{e.activeListIndex=s}},metadata:t},et,tt),i(null,null,st,{kind:"field",name:"devicePixelRatio",static:!1,private:!1,access:{has:e=>"devicePixelRatio"in e,get:e=>e.devicePixelRatio,set:(e,s)=>{e.devicePixelRatio=s}},metadata:t},it,at),i(null,null,lt,{kind:"field",name:"wsStarted",static:!1,private:!1,access:{has:e=>"wsStarted"in e,get:e=>e.wsStarted,set:(e,s)=>{e.wsStarted=s}},metadata:t},rt,ot),i(null,null,nt,{kind:"field",name:"canvasStarted",static:!1,private:!1,access:{has:e=>"canvasStarted"in e,get:e=>e.canvasStarted,set:(e,s)=>{e.canvasStarted=s}},metadata:t},ct,dt),i(null,null,ht,{kind:"field",name:"kiosk",static:!1,private:!1,access:{has:e=>"kiosk"in e,get:e=>e.kiosk,set:(e,s)=>{e.kiosk=s}},metadata:t},ut,ft),i(null,null,mt,{kind:"field",name:"inIdle",static:!1,private:!1,access:{has:e=>"inIdle"in e,get:e=>e.inIdle,set:(e,s)=>{e.inIdle=s}},metadata:t},gt,pt),i(null,null,_t,{kind:"field",name:"modalActive",static:!1,private:!1,access:{has:e=>"modalActive"in e,get:e=>e.modalActive,set:(e,s)=>{e.modalActive=s}},metadata:t},vt,St),i(null,null,yt,{kind:"field",name:"galleryActive",static:!1,private:!1,access:{has:e=>"galleryActive"in e,get:e=>e.galleryActive,set:(e,s)=>{e.galleryActive=s}},metadata:t},kt,It),i(null,null,bt,{kind:"field",name:"hideOverlay",static:!1,private:!1,access:{has:e=>"hideOverlay"in e,get:e=>e.hideOverlay,set:(e,s)=>{e.hideOverlay=s}},metadata:t},xt,zt),i(null,null,Ct,{kind:"field",name:"hideCookieConsent",static:!1,private:!1,access:{has:e=>"hideCookieConsent"in e,get:e=>e.hideCookieConsent,set:(e,s)=>{e.hideCookieConsent=s}},metadata:t},Bt,Pt),i(null,null,Mt,{kind:"field",name:"hideHeaderLogo",static:!1,private:!1,access:{has:e=>"hideHeaderLogo"in e,get:e=>e.hideHeaderLogo,set:(e,s)=>{e.hideHeaderLogo=s}},metadata:t},wt,Tt),i(null,null,Rt,{kind:"field",name:"hideLogoInBooth",static:!1,private:!1,access:{has:e=>"hideLogoInBooth"in e,get:e=>e.hideLogoInBooth,set:(e,s)=>{e.hideLogoInBooth=s}},metadata:t},Ot,Dt),i(null,null,Lt,{kind:"field",name:"disableBookmarked",static:!1,private:!1,access:{has:e=>"disableBookmarked"in e,get:e=>e.disableBookmarked,set:(e,s)=>{e.disableBookmarked=s}},metadata:t},At,Et),i(null,null,Ft,{kind:"field",name:"hideLanguage",static:!1,private:!1,access:{has:e=>"hideLanguage"in e,get:e=>e.hideLanguage,set:(e,s)=>{e.hideLanguage=s}},metadata:t},Ut,Ht),i(null,null,Vt,{kind:"field",name:"monochrome",static:!1,private:!1,access:{has:e=>"monochrome"in e,get:e=>e.monochrome,set:(e,s)=>{e.monochrome=s}},metadata:t},Nt,Kt),i(null,null,Gt,{kind:"field",name:"heatmap",static:!1,private:!1,access:{has:e=>"heatmap"in e,get:e=>e.heatmap,set:(e,s)=>{e.heatmap=s}},metadata:t},Qt,Yt),i(null,null,$t,{kind:"field",name:"heatmapYah",static:!1,private:!1,access:{has:e=>"heatmapYah"in e,get:e=>e.heatmapYah,set:(e,s)=>{e.heatmapYah=s}},metadata:t},jt,Wt),i(null,null,Zt,{kind:"field",name:"debugCircles",static:!1,private:!1,access:{has:e=>"debugCircles"in e,get:e=>e.debugCircles,set:(e,s)=>{e.debugCircles=s}},metadata:t},Xt,Jt),i(null,null,qt,{kind:"field",name:"mapControlsHidden",static:!1,private:!1,access:{has:e=>"mapControlsHidden"in e,get:e=>e.mapControlsHidden,set:(e,s)=>{e.mapControlsHidden=s}},metadata:t},es,ts),i(null,null,ss,{kind:"field",name:"floorsControlHidden",static:!1,private:!1,access:{has:e=>"floorsControlHidden"in e,get:e=>e.floorsControlHidden,set:(e,s)=>{e.floorsControlHidden=s}},metadata:t},is,as),i(null,null,ls,{kind:"field",name:"hideFreeOrDemo",static:!1,private:!1,access:{has:e=>"hideFreeOrDemo"in e,get:e=>e.hideFreeOrDemo,set:(e,s)=>{e.hideFreeOrDemo=s}},metadata:t},rs,os),i(null,null,ns,{kind:"field",name:"freeBannerDismissed",static:!1,private:!1,access:{has:e=>"freeBannerDismissed"in e,get:e=>e.freeBannerDismissed,set:(e,s)=>{e.freeBannerDismissed=s}},metadata:t},cs,ds),i(null,null,hs,{kind:"field",name:"currentBanner",static:!1,private:!1,access:{has:e=>"currentBanner"in e,get:e=>e.currentBanner,set:(e,s)=>{e.currentBanner=s}},metadata:t},us,fs),i(null,null,ms,{kind:"field",name:"sceneDefReady",static:!1,private:!1,access:{has:e=>"sceneDefReady"in e,get:e=>e.sceneDefReady,set:(e,s)=>{e.sceneDefReady=s}},metadata:t},gs,ps),i(null,null,_s,{kind:"field",name:"categoryFilterOpen",static:!1,private:!1,access:{has:e=>"categoryFilterOpen"in e,get:e=>e.categoryFilterOpen,set:(e,s)=>{e.categoryFilterOpen=s}},metadata:t},vs,Ss),i(null,null,ys,{kind:"field",name:"selectedCategoryFilters",static:!1,private:!1,access:{has:e=>"selectedCategoryFilters"in e,get:e=>e.selectedCategoryFilters,set:(e,s)=>{e.selectedCategoryFilters=s}},metadata:t},ks,Is),i(null,null,bs,{kind:"field",name:"selectedPoiTypeFilters",static:!1,private:!1,access:{has:e=>"selectedPoiTypeFilters"in e,get:e=>e.selectedPoiTypeFilters,set:(e,s)=>{e.selectedPoiTypeFilters=s}},metadata:t},xs,zs),i(null,null,Cs,{kind:"field",name:"selectedTrack",static:!1,private:!1,access:{has:e=>"selectedTrack"in e,get:e=>e.selectedTrack,set:(e,s)=>{e.selectedTrack=s}},metadata:t},Bs,Ps),i(null,null,Ms,{kind:"field",name:"subButtonsVisible",static:!1,private:!1,access:{has:e=>"subButtonsVisible"in e,get:e=>e.subButtonsVisible,set:(e,s)=>{e.subButtonsVisible=s}},metadata:t},ws,Ts),i(null,null,Rs,{kind:"field",name:"mapControlsDOMRect",static:!1,private:!1,access:{has:e=>"mapControlsDOMRect"in e,get:e=>e.mapControlsDOMRect,set:(e,s)=>{e.mapControlsDOMRect=s}},metadata:t},Os,Ds),i(null,null,Ls,{kind:"field",name:"searchBoxMode",static:!1,private:!1,access:{has:e=>"searchBoxMode"in e,get:e=>e.searchBoxMode,set:(e,s)=>{e.searchBoxMode=s}},metadata:t},As,Es),i(null,null,Fs,{kind:"field",name:"searchBoxTitle",static:!1,private:!1,access:{has:e=>"searchBoxTitle"in e,get:e=>e.searchBoxTitle,set:(e,s)=>{e.searchBoxTitle=s}},metadata:t},Us,Hs),i(null,null,Vs,{kind:"field",name:"searchBoxSubtitle",static:!1,private:!1,access:{has:e=>"searchBoxSubtitle"in e,get:e=>e.searchBoxSubtitle,set:(e,s)=>{e.searchBoxSubtitle=s}},metadata:t},Ns,Ks),i(null,null,Gs,{kind:"field",name:"routeTitle",static:!1,private:!1,access:{has:e=>"routeTitle"in e,get:e=>e.routeTitle,set:(e,s)=>{e.routeTitle=s}},metadata:t},Qs,Ys),i(null,null,$s,{kind:"field",name:"routeDescription",static:!1,private:!1,access:{has:e=>"routeDescription"in e,get:e=>e.routeDescription,set:(e,s)=>{e.routeDescription=s}},metadata:t},js,Ws),i(null,null,Zs,{kind:"field",name:"isMultiPointRoute",static:!1,private:!1,access:{has:e=>"isMultiPointRoute"in e,get:e=>e.isMultiPointRoute,set:(e,s)=>{e.isMultiPointRoute=s}},metadata:t},Xs,Js),i(null,null,qs,{kind:"field",name:"tourTitle",static:!1,private:!1,access:{has:e=>"tourTitle"in e,get:e=>e.tourTitle,set:(e,s)=>{e.tourTitle=s}},metadata:t},ei,ti),i(null,null,si,{kind:"field",name:"tourDescription",static:!1,private:!1,access:{has:e=>"tourDescription"in e,get:e=>e.tourDescription,set:(e,s)=>{e.tourDescription=s}},metadata:t},ii,ai),i(null,null,li,{kind:"field",name:"isMultiPointTour",static:!1,private:!1,access:{has:e=>"isMultiPointTour"in e,get:e=>e.isMultiPointTour,set:(e,s)=>{e.isMultiPointTour=s}},metadata:t},ri,oi),i(null,null,ni,{kind:"field",name:"pathwayOnlyMode",static:!1,private:!1,access:{has:e=>"pathwayOnlyMode"in e,get:e=>e.pathwayOnlyMode,set:(e,s)=>{e.pathwayOnlyMode=s}},metadata:t},ci,di),i(null,null,hi,{kind:"field",name:"isOverlayScrolled",static:!1,private:!1,access:{has:e=>"isOverlayScrolled"in e,get:e=>e.isOverlayScrolled,set:(e,s)=>{e.isOverlayScrolled=s}},metadata:t},ui,fi),i(null,null,mi,{kind:"field",name:"listScrollTop",static:!1,private:!1,access:{has:e=>"listScrollTop"in e,get:e=>e.listScrollTop,set:(e,s)=>{e.listScrollTop=s}},metadata:t},gi,pi),i(null,null,_i,{kind:"field",name:"listScrollItemId",static:!1,private:!1,access:{has:e=>"listScrollItemId"in e,get:e=>e.listScrollItemId,set:(e,s)=>{e.listScrollItemId=s}},metadata:t},vi,Si),i(null,null,yi,{kind:"field",name:"listScrollIndex",static:!1,private:!1,access:{has:e=>"listScrollIndex"in e,get:e=>e.listScrollIndex,set:(e,s)=>{e.listScrollIndex=s}},metadata:t},ki,Ii),i(null,null,bi,{kind:"field",name:"_customUIScale",static:!1,private:!1,access:{has:e=>"_customUIScale"in e,get:e=>e._customUIScale,set:(e,s)=>{e._customUIScale=s}},metadata:t},xi,zi),i(null,null,Ia,{kind:"field",name:"forceDimm",static:!1,private:!1,access:{has:e=>"forceDimm"in e,get:e=>e.forceDimm,set:(e,s)=>{e.forceDimm=s}},metadata:t},ba,xa),i(null,null,Ya,{kind:"field",name:"mapSettings",static:!1,private:!1,access:{has:e=>"mapSettings"in e,get:e=>e.mapSettings,set:(e,s)=>{e.mapSettings=s}},metadata:t},$a,ja),i(null,null,gl,{kind:"field",name:"forceShowDetails",static:!1,private:!1,access:{has:e=>"forceShowDetails"in e,get:e=>e.forceShowDetails,set:(e,s)=>{e.forceShowDetails=s}},metadata:t},pl,_l),i(null,null,yl,{kind:"field",name:"buildRoute",static:!1,private:!1,access:{has:e=>"buildRoute"in e,get:e=>e.buildRoute,set:(e,s)=>{e.buildRoute=s}},metadata:t},kl,Il),i(null,null,xl,{kind:"field",name:"globalErrorMessages",static:!1,private:!1,access:{has:e=>"globalErrorMessages"in e,get:e=>e.globalErrorMessages,set:(e,s)=>{e.globalErrorMessages=s}},metadata:t},zl,Cl),i(null,null,Rl,{kind:"field",name:"setKioskModeEnabled",static:!1,private:!1,access:{has:e=>"setKioskModeEnabled"in e,get:e=>e.setKioskModeEnabled,set:(e,s)=>{e.setKioskModeEnabled=s}},metadata:t},Ol,Dl),i(null,null,Al,{kind:"field",name:"kioskData",static:!1,private:!1,access:{has:e=>"kioskData"in e,get:e=>e.kioskData,set:(e,s)=>{e.kioskData=s}},metadata:t},El,Fl),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=a(this,l);interfaceMetadata=Object.freeze([{id:"menu",className:"efp-overlay-menu",priority:80,isActive:()=>this.menu,searchBoxConfig:()=>({mode:"interface",title:y("Menu")})},{id:"exhibitor",className:"efp-overlay-exhibitor",priority:70,isActive:()=>this.details instanceof b,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"booth",className:"efp-overlay-booth",priority:70,isActive:()=>this.details instanceof T,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:t.title||t.name}}},{id:"event",className:"efp-overlay-event",priority:70,isActive:()=>this.details instanceof F,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"route",className:"efp-overlay-route",priority:70,isActive:()=>this.details instanceof R,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:y("Directions")}}},{id:"search",className:"efp-overlay-search",priority:60,isActive:()=>!this.details&&!this.menu&&this.list.type==="search"&&(this.rootStore.fp.alwaysShowSidebar||this.heatmap||this.searchFocused||this.list.text.length>0||this.searchClearMode),searchBoxConfig:()=>({mode:"search",title:y("Search")})},{id:"exhibitors",className:"efp-overlay-exhibitors",priority:50,isActive:()=>this.list.type==="exhibitors"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Exhibitors")})},{id:"filter",className:"efp-overlay-filter",priority:50,isActive:()=>this.list.type==="filter"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Filter")})},{id:"bookmarks",className:"efp-overlay-bookmarks",priority:50,isActive:()=>this.list.type==="bookmarks"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:y("Bookmarks"),badge:this.rootStore.bookmarksStore.total})},{id:"visited",className:"efp-overlay-visited",priority:50,isActive:()=>this.list.type==="visited"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:y("Visited"),badge:this.rootStore.exhibitorStore.visited.length})},{id:A,className:"efp-overlay-language",priority:50,isActive:()=>this.list.type===A,searchBoxConfig:()=>({mode:"interface",title:y("Language")})},{id:"category",className:"efp-overlay-category",priority:50,isActive:()=>!P.menu&&!!P.selectedCategory,searchBoxConfig:()=>({mode:"interface",title:this.list.type==="category"&&this.list.category?.name||y("Categories")})},{id:"sessions",className:"efp-overlay-sessions",priority:50,isActive:()=>this.list.type==="sessions"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Sessions"),subtitle:this.selectedTrack?this.selectedTrack.name:void 0})},{id:"speakers",className:"efp-overlay-speakers",priority:50,isActive:()=>this.list.type==="speakers"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Speakers")})},{id:"speaker",className:"efp-overlay-speaker",priority:50,isActive:()=>this.details instanceof $,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,!!ar()));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,hr(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(c=>c 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(c=>c.score===0).map(c=>c.item);r.length?K(r,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems).forEach(c=>s.add(c.id.toString())):this.listBooths.forEach(c=>s.add(c.id.toString()))}if(this.list?.type==="filter"&&(s.clear(),this.list.items.flatMap(r=>r.booths.filter(c=>c instanceof E)).forEach(r=>s.add(r.id.toString()))),this.categoryFilterOpen&&this.selectedCategoryFilters.length>0?(s.clear(),this.selectedCategoryFilters.forEach(r=>{r.exhibitors.flatMap(c=>c.booths).forEach(c=>s.add(c.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 c=this.rootStore.exhibitorStore.exhibitors;r&&(c=c.filter(m=>m.name.toLowerCase().includes(r))),c.flatMap(m=>m.booths.filter(g=>g instanceof E)).forEach(m=>s.add(m.id.toString()))}if(this.selectedPoiTypeFilters.length>0&&(s.clear(),this.selectedPoiTypeFilters.forEach(r=>{this.rootStore.boothStore.booths.filter(c=>c.poiTypeId===r.id).forEach(c=>s.add(c.id.toString()))})),this.details instanceof R&&(s.clear(),s.add(this.details.from?.id.toString()),s.add(this.details.to?.id.toString()),this.details.waypoints?.forEach(r=>s.add(r.id.toString()))),this.details instanceof T&&(s.clear(),s.add(this.details.id.toString())),this.details instanceof b&&(s.clear(),this.details.booths.filter(r=>r instanceof E).forEach(r=>s.add(r.id.toString()))),this.details instanceof F){const r=this.details;if(r.boothId){s.clear();const c=this.rootStore.boothStore.booths.find(m=>m.id===r.boothId);c&&s.add(c.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=lr();return t==="ar"||t==="he"}get noOverlay(){return this.rootStore.fp.noOverlay||this.hideOverlay}get onBoothClick(){return this.rootStore.fp.onBoothClick}get onMarkerClick(){return this.rootStore.fp.onMarkerClick}get onBookmarkClick(){return this.rootStore.fp.onBookmarkClick}get onVisitedClick(){return this.rootStore.fp.onVisitedClick}get onCategoryClick(){return this.rootStore.fp.onCategoryClick}get onDirection(){return this.rootStore.fp.onDirection}get onDetails(){return this.rootStore.fp.onDetails}get onExhibitorCustomButtonClick(){return this.rootStore.fp.onExhibitorCustomButtonClick}get onGetCoordsClick(){return this.rootStore.fp.onGetCoordsClick}get selectedExhibitor(){return this.details instanceof b?this.details:null}get selectedBooth(){return this.details instanceof T?this.details:null}get selectedCategory(){return this.list.type==="category"?this.list.category:null}get selectedRoute(){return this.details instanceof R?this.details:null}get selectedSpeaker(){return this.details instanceof $?this.details:null}get uiScale(){return this._customUIScale!==null?this._customUIScale:this.kiosk?1.2:1}get isGuidedToursActive(){return this.rootStore.toursStore.isActive}get getRouteNextFloor(){const t=this.rootStore.routeStore.pathLayers,e=this.rootStore.routeStore.currentRouteLayer?.name;if(!e)return null;const s=t.findIndex(f=>f.layer?.name===e);return s===-1?null:t[s+1]?.layer?.name}get headerHeightRem(){return 0}get headerHeightPx(){return N(this.headerHeightRem)}get overlayPosition(){return!this.screenSize||this.screenSize.width>Jl||this.kiosk?"left":"bottom"}get overlayCollapsed(){return this.kiosk&&this.overlayPosition==="left"&&!this.searchFocused&&!this.menu&&!this.details&&!this.selectedCategory&&!this.selectedExhibitor&&this.list.type!=="bookmarks"&&this.list.type!==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 or(this.screenSize.width)}get mapVisibleTop(){return(this.wsPosition==="top"?this.wsOccupiedHeightPx:0)+this.headerHeightPx}get mapVisibleBottom(){return this.overlayLeft||this.noOverlay?this.wsPosition==="bottom"?this.wsOccupiedHeightPx:0:N(this.overlayMediumHeightRems)}get mapVisibleStart(){return 0}get searchActionsHeightPx(){return this.overlayPosition==="bottom"?this.searchInputHeightPx+this.searchFilterHeightPx:this.searchInputHeightPx}get fullSizeOffset(){const t=this.wsShown?54:0,e=this.bannerType==="free"&&!this.freeBannerDismissed?40:0,s=20;if(this.details&&!(this.details instanceof R))return t+e+s;const f=54,r=this.shouldShowSearchButtons?54:0;return t+e+f+s+r}get shouldShowSearchButtons(){return this.rootStore.searchButtonsStore.hasAnySearchButtons&&!this.details&&!this.menu&&![A,"filter"].includes(this.list.type)}get canvasVisibleRectPx(){const t=this.screenSize;return sr.fromX1y1x2y2(P.rtl?0:this.mapVisibleStart,this.mapVisibleTop+this.searchActionsHeightPx,P.rtl?t.width-this.mapVisibleStart:t.width,t.height-this.mapVisibleBottom)}get shouldShiftMapRect(){return this.overlayPosition==="left"&&(this.details||this.hasAppliedFilters||this.selectedRoute)}get hasAppliedFilters(){return this.selectedCategoryFilters.length>0||this.selectedPoiTypeFilters.length>0}get canvasVisibleRectPt(){return this.canvasVisibleRectPx.scale(this.devicePixelRatio)}get canvasSizePt(){return this.screenSize.scale(this.devicePixelRatio)}get shouldUseBackdrop(){if(P.overlayCollapsed)return!1;if(C&&localStorage.getItem("forcebackdrop")==="1")return!0;if(this.overlayBottom||this.selectedExhibitor?.leadingImageUrl&&!this.selectedExhibitor?.leadingImageLinkUrl)return!1;const t=Ql.satisfies({safari:">=13"}),e=Ql.satisfies({chrome:">=77"});var s=/(android)/i.test(navigator.userAgent);return s?!1:t||e&&P.canvasSizePt.height*P.canvasSizePt.width<3e6}forceDimm=a(this,ba,!1);setForceDimm(t){this.forceDimm=t}get dimmed(){return this.forceDimm||this.pathwayOnlyMode?!0:this.highlightedBooths.size>0||this.list?.type==="search"&&this.list?.text?.trim().length>0||this.list?.type==="exhibitors"}get defaultSearchItems(){const{exhibitorStore:t,categoryStore:e,boothStore:s,heatmapStore:f}=this.rootStore;let r=t.exhibitors;const c=e.categories.filter(p=>p.exhibitors.length),m=s.booths;this.selectedPoiTypeFilters.length>0&&(r=r.filter(p=>p.booths.some(_=>this.selectedPoiTypeFilters.some(S=>_.poiTypeId===S.id))));let g=[];const w=!this.selectedCategoryFilters.length&&z.showCategories?c.filter(p=>ur.includes(V.EXPO)?!p.name.includes("/"):!0):[],D=m.filter(p=>p instanceof Y);return this.selectedCategoryFilters.length>0?g=[...r]:(z.showCompaniesAndBooths&&(g=g.concat(r)),z.showOtherSpaces&&(g=g.concat(D))),this.heatmap?[...r,...m].sort((_,S)=>f.getClicksByType(S)-f.getClicksByType(_)):this.heatmapYah?f.heatmapData?.yah?.sort((p,_)=>f.getClicksByType(_)-f.getClicksByType(p))||[]:r.length===0?m:w.concat(g.sort((p,_)=>{const S=p instanceof b&&p.featured!==void 0,B=_ instanceof b&&_.featured!==void 0;if(S!==B)return S?-1:1;const L=p instanceof Y&&p.title?p.title:p.name,G=_ instanceof Y&&_.title?_.title:_.name;return L.localeCompare(G,void 0,{sensitivity:"base",numeric:!0})}))}get searchItems(){if(this.list.type!=="search")return[];let t=this.list.text?.trim().toLowerCase()||"";const{exhibitorStore:e,categoryStore:s,boothStore:f,eventStore:r,speakerStore:c,heatmapStore:m}=this.rootStore;let g=e.exhibitors;const w=s.categories.filter(d=>d.exhibitors.length),D=f.booths,p=r.eventItems,_=c.speakers;if(this.selectedCategoryFilters.length>0&&(g=g.filter(d=>this.selectedCategoryFilters.some(h=>d.categories.some(v=>v.id===h.id)))),this.selectedPoiTypeFilters.length>0&&(g=g.filter(d=>d.booths.some(h=>this.selectedPoiTypeFilters.some(v=>h.poiTypeId===v.id)))),!t)return this.defaultSearchItems;const S=[t.replace(/&[^&=]+=[^&]+/g,"")];if(this.heatmapYah)return m.heatmapData.yah.filter(h=>Number.isNaN(Number(t))?h:h.viewCount>=Number(t)).sort((h,v)=>m.getClicksByType(v)-m.getClicksByType(h));const B=[],L=new Set,G=new Set,Hl=new Set,$l=new Set;function Vl(d){return d?d.replace(/[!@#$%^*-\.,\(\)^#$%:?_+'"\/]/g," ").replace(/\s\s+/g," "):""}function I(d,h){return!d||!h?!1:Vl(d).toLowerCase().includes(Vl(h).toLowerCase())}function Nl(d,h){return d?I(d,h)||I(z.levelTerm+" "+d,h):!1}g.forEach(d=>{S.some(h=>I(d.name,h)||d.booths.some(v=>!h&&I(v.name,h)||Nl(v.layer?.name??null,h)))&&L.add(d)}),this.selectedCategoryFilters.length>0&&D.forEach(d=>{(this.heatmap||!(d instanceof E)||!Array.from(L).find(v=>v.booths.includes(d)))&&S.some(v=>I(d.title||"",v)||I(d.name,v)||I(d.fullName,v)||Nl(d.layer?.name??null,v))&&G.add(d)});const jl=p,Wl=_;if(jl.forEach(d=>{S.some(h=>I(d.name||"",h)||I(d.description||"",h))&&Hl.add(d)}),Wl.forEach(d=>{S.some(h=>I(d.name,h)||I(d.company,h)||I(d.jobTitle,h))&&$l.add(d)}),B.push(...Hl),B.push(...L),this.heatmap)return B.sort((d,h)=>m.getClicksByType(h)-m.getClicksByType(d));const Zl=new Map(B.map(d=>[d.id,d]));return B.map(d=>{if(!d.name)return null;const h=Yl(d instanceof T&&d.fullName.toLowerCase()||d.name.toLowerCase()),v=h.indexOf(Yl(t));if(v===-1)return null;const Kl={id:d.id,position:v,lowerCaseName:h,featured:!1};return d instanceof b&&(Kl.featured=d.featured),Kl}).filter(Boolean).sort((d,h)=>(d.featured||h.featured)&&d.featured!==h.featured?d.featured?-1:1:d.position!==h.position?d.position-h.position:d.lowerCaseName.localeCompare(h.lowerCaseName)||String(d.id).localeCompare(String(h.id))).map(({id:d})=>Zl.get(d))}get searchList(){return[...this.rootStore.eventStore.eventItems,...this.rootStore.speakerStore.speakers,...this.rootStore.categoryStore.categories.filter(t=>t.exhibitors.length),...this.rootStore.exhibitorStore.exhibitors,...this.rootStore.boothStore.booths]}get foundInDescription(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return[];const e=this.fuzzySearchItems.map(({item:c})=>c),s=new Set(e.map(c=>c.name)),r=this.categoryFilteredSearchList.filter(c=>!s.has(c.name)).filter(c=>c.description&&c.description?.includes(t));return r.sort((c,m)=>{const g=c.description?.toLowerCase().indexOf(t),w=m.description?.toLowerCase().indexOf(t);return g-w}),r}get foundInDescriptionStruct(){const t={};if(this.list?.type!=="search")return t;const e=this.list?.text?.trim().toLowerCase();return this.foundInDescription.forEach(s=>{const f=s.description;if(!f)return;const r=f.indexOf(e);if(r===-1)return;const c=3,m=r>c?r-c:0,g=f.substring(m).trim();t[s.id]=r>0?`...${g}`:g}),t}get categoryFilteredSearchList(){return this.selectedCategoryFilters.length===0?this.searchList:this.searchList.filter(t=>t instanceof b&&this.selectedCategoryFilters.some(e=>t.categories.some(s=>s.id===e.id)))}get fuzzySearchItems(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return this.defaultSearchItems.map(r=>({item:r,score:0,matches:[]}));const e=this.rootStore.fuzzySearchEngineStore.search(this.categoryFilteredSearchList,t),s=[],f=[];for(const r of e){const c=r.item,m=c.entity.type,g=m==="booth"?c:null,w=m==="exhibitor"?c:null,D=[c.name?.toLowerCase()??"",g?.title?.toLowerCase()??"",g?.fullName?.toLowerCase()??"",...w?.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:c,score:0},pos:p}):f.push(r)}return s.sort((r,c)=>r.pos-c.pos),[...s.map(r=>r.result),...f]}get listItems(){if(this.details instanceof R&&this.list.type!=="multi-point-tour")return[this.details.from,this.details.to].filter(t=>t);switch(this.list.type){case"search":let t=!(this.heatmap||this.heatmapYah)&&this.rootStore.fuzzySearchEngineStore.engine?this.fuzzySearchItems.map(({item:r})=>r).concat(this.foundInDescription):this.searchItems;return t=t.filter(r=>r.entity.type==="booth"?!r.exhibitors.length:!0),this.hasAppliedFilters?t.filter(r=>{if(this.selectedCategoryFilters.length>0&&r instanceof b&&!this.selectedCategoryFilters.some(c=>r.categories.some(m=>m.id===c.id)))return!1;if(this.selectedPoiTypeFilters.length>0){if(r instanceof b&&!r.booths.some(c=>this.selectedPoiTypeFilters.some(m=>c.poiTypeId===m.id))||r instanceof T&&!this.selectedPoiTypeFilters.some(c=>r.poiTypeId===c.id))return!1;if(r instanceof F&&r.boothId){const c=this.rootStore.boothStore.booths.find(m=>m.id===r.boothId);if(!c||!this.selectedPoiTypeFilters.some(m=>c.poiTypeId===m.id))return!1}}return!0}):t;case"bookmarks":return[...this.rootStore.exhibitorStore.bookmarked,...this.rootStore.eventStore.bookmarked,...this.rootStore.speakerStore.bookmarked,...this.rootStore.boothStore.booths.filter(r=>r.exhibitors.length===0&&r.bookmarkedDirectly)];case"visited":return[...this.rootStore.exhibitorStore.visited,...this.rootStore.eventStore.visited];case"category":return this.list.category.exhibitors;case A:return rr();case"filter":return this.list.items;case"sessions":return this.rootStore.eventStore.eventItems;case"exhibitors":const e=this.rootStore.exhibitorStore.exhibitors,s=this.list.text?.toLowerCase().trim();return s?e.filter(r=>r.name.toLowerCase().includes(s)):e;case"multi-point-tour":const f=this.rootStore.toursStore.getTourById(this.list.tourId);return f?!f.points||f.points.length===0?[]:f.points.map(r=>{const c=parseInt(r);if(!isNaN(c)){const g=this.rootStore.boothStore.boothById.get(c);if(g)return g}return nr(r)?.entity||null}).filter(Boolean):[];case"route-planner":return this.rootStore.routePlannerStore.resolvedBooths}throw new Error("Unknown list.type")}get listBooths(){return K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems)}get selectedBooths(){let t=[];this.selectedExhibitor?t=this.selectedExhibitor.booths:this.selectedBooth&&(t=[this.selectedBooth]);const e=this.selectedRoute;return e?.from&&t.push(e.from),e?.to&&t.push(e.to),e?.waypoints&&e?.waypoints?.forEach(s=>t.push(s)),new Set(t)}get hoveredBooths(){let t;return this.hoveredBooth?t=[this.hoveredBooth]:this.hoveredExhibitor&&(t=this.hoveredExhibitor.booths),new Set(t)}get visibility(){return{controls:!this.mapControlsHidden,levels:!this.floorsControlHidden,header:this.wsShown,overlay:!this.hideOverlay}}setVisibility(t){const e={...Object.keys(this.visibility).reduce((s,f)=>({...s,[f]:!0}),{}),...Object.keys(t).filter(s=>this.visibility.hasOwnProperty(s)).reduce((s,f)=>({...s,[f]:t[f]}),{})};Object.values(e).every(Boolean)?C&&localStorage.removeItem(Gl):C&&localStorage.setItem(Gl,JSON.stringify(e)),this.mapControlsHidden=!e.controls,this.floorsControlHidden=!e.levels,this.hideHeaderLogo=!e.header,this.hideFreeOrDemo=!e.header,this.hideOverlay=!e.overlay}toggleMapOverlay(){this.overlayPosition==="bottom"&&this.overlaySize==="full"?this.desiredOverlaySize="medium":this.overlayPosition==="bottom"&&this.overlaySize!=="full"&&(this.desiredOverlaySize="full")}changeZoom(t){this.zoomBy=t}zoomIn(){this.changeZoom(1.5)}zoomOut(){this.changeZoom(.66)}fitBounds(){this.moveToRect=this.rootStore.layerStore.rectangle||ir,this.rollReset=!0}get previewMode(){return C&&localStorage.getItem(ql)==="1"||this.rootStore.fp.previewMode}get viewerMode(){return C&&localStorage.getItem(er)==="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(Xl,JSON.stringify(t))}setMapSettings(t){const e={};for(const s in t)t[s]!=null&&(s==="zoomtime"?e[s]=Math.min(Math.max(t[s]||this.mapSettings.zoomtime,500),5e3):e[s]=t[s]);this.mapSettings={...this.mapSettings,...e},this.saveMapSettings(this.mapSettings)}resetMapSettings(){this.mapSettings={...this.defaultMapSettings},this.saveMapSettings(this.mapSettings)}get baseQRCodeUrl(){return`https://${V.EXPO}.expofp.com`}get viewMapOnPhoneQRCodeUrl(){if(z?.customKioskQrCodeUrl)return z.customKioskQrCodeUrl;const t=new URL(this.baseQRCodeUrl);t.search=window.location.search;const e=cr();e&&t.searchParams.set("yah",e);const s=t.toString();return console.log("View Map On Phone QR Code Url",s),s}get routeQRCodeUrl(){const t=new URL(this.baseQRCodeUrl),e=this.selectedRoute?.to?.slug||"",s=this.selectedRoute?.from?.slug||"";t.search=`?route%3A${encodeURIComponent(e)}%3A${encodeURIComponent(s)}%3Afalse`,dr(t.searchParams,this.kioskData,["x","y","z"]);const f=t.toString();return console.log("Route QR Code Url",f),f}get isFeaturedExhibitorActive(){return this.details instanceof b&&!!this.details.featured}get activeInterfaceData(){for(const t of this.interfaceMetadata)if(t.isActive())return t;return null}get searchBoxConfig(){const t=this.activeInterfaceData;return!t||!t.searchBoxConfig?{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}:t.searchBoxConfig()||{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}}get searchBoxActions(){return this.activeInterfaceData?.actions?.()??[]}get overlayInterfaceClasses(){const t=[],e=this.activeInterfaceData;return e&&(t.push(e.className),e.additionalClasses&&t.push(...e.additionalClasses())),this.details&&t.push("overlay-has-details"),this.list.type&&t.push(`overlay-list-${this.list.type}`),this.isFeaturedExhibitorActive&&t.push("overlay-exhibitor-featured"),t}get isOverlayOpen(){return this.noOverlay||this.hideOverlay?!1:this.activeInterfaceData!==null}setOverlayScrolled(t){this.isOverlayScrolled=t}setListScrollTop(t,e){this.listScrollTop=e,this.scrollPositions.set(t,e)}setListScrollItemId(t,e){this.listScrollItemId=e,this.scrollItemIds.set(t,e)}getListScrollTop(t){return this.scrollPositions.get(t)||0}getListScrollItemId(t){return this.scrollItemIds.get(t)||null}clearListScroll(t){this.scrollPositions.delete(t),this.scrollItemIds.delete(t),this.list.type===t&&(this.listScrollTop=0,this.listScrollItemId=null)}get bannerType(){return this.hideFreeOrDemo||this.heatmap?null:V.EXPO==="expo"?"demo":z.expoFpAd||z.isTrial?"free":null}get isBannerVisible(){return this.bannerType!==null}setCurrentBanner(t){this.currentBanner=t}forceShowDetails=(a(this,ja),a(this,pl,!1));setForceShowDetails(t){this.forceShowDetails=t}get showRouteInstantly(){return!!(this.kiosk&&!this.forceShowDetails)}buildRoute=(a(this,_l),a(this,kl,!1));startBuildRoute(){this.rootStore.selectSearch(""),this.mapControlsHidden=!0,this.floorsControlHidden=!0,this.hideHeaderLogo=!0,this.hideFreeOrDemo=!0,this.hideOverlay=!0,this.hideCookieConsent=!0,this.buildRoute=!0}globalErrorMessages=(a(this,Il),a(this,zl,[]));setGlobalErrorMessage(t){this.globalErrorMessages.push(t)}popGlobalErrorMessage(){this.globalErrorMessages.pop()}initializeUIScale(){if(new URLSearchParams(window.location.search).get("kiosk")!=="0"&&C){const e=localStorage.getItem(Q);if(e){const s=parseFloat(e);!isNaN(s)&&s>=.8&&s<=1.4&&(this._customUIScale=s)}}}minUIScale=(a(this,Cl),.8);maxUIScale=1.4;setUIScale(t,e=!0){if(isNaN(t)||t<this.minUIScale||t>this.maxUIScale){tr.warn(`Invalid ui-scale value: ${t}. Must be between ${this.minUIScale} and ${this.maxUIScale}.`);return}this._customUIScale=t,e&&C&&localStorage.setItem(Q,t.toString())}resetUIScale(){this._customUIScale=null,C&&localStorage.removeItem(Q)}setKioskModeEnabled=a(this,Ol,!1);enableSetKioskMode(t){this.setKioskModeEnabled=t}kioskData=(a(this,Dl),a(this,El,void 0));setKioskData(t){this.kioskData=t}}})();export default fr;function K(U,O,H=[]){const x=[];return U.forEach(k=>{k instanceof b?x.push(...k.booths):k instanceof T?x.push(k):k instanceof F?k.boothId&&x.push(O.find(l=>l.id===k.boothId)):k instanceof $&&H.filter(l=>l.speakers.some(M=>M.id===k.id)&&l.boothId).forEach(l=>x.push(O.find(M=>M.id===l.boothId)))}),new Set(x.filter(Boolean))}
1
+ import{__esDecorate as i,__runInitializers as a}from"tslib";import{action as u,computed as n,observable as o}from"mobx";import{uiState as P}from".";import{MAP_SETTINGS_KEY as Xl,MOBILE_BREAKPOINT as Jl,PREVIEW_MODE_STORAGE_KEY as ql,UI_SCALE_STORAGE_KEY as Q,VIEWER_MODE_STORAGE_KEY as er,VISIBILITY_STORAGE_KEY as Gl,LANGUAGE_TYPE as A}from"../constants";import tr from"../tools/logger";import sr from"../core/Rect";import z from"../data";import{svgArea as ir}from"../data/svg";import{hasUserConsent as ar}from"../tools/gtag";import V from"../tools/settings";import{remsToPixels as N}from"../utils";import Ql from"../utils/browser";import{getLocale as lr,getLocales as rr,t as y}from"../utils/i18n";import{isLocalStorageAvailable as C}from"../utils/localStorage";import{getResponsiveClass as or}from"../utils/responsiveClass";import{BoothBase as T,RegularBooth as E,SpecialBooth as Y}from"./BoothStore";import{Exhibitor as b}from"./ExhibitorStore";import{Route as R,findEntityByExternalId as nr}from"./RouteStore";import{EventItem as F}from"./EventStore";import{SpeakerItem as $}from"./SpeakerStore";import{sanitizeStr as Yl}from"../utils/sanitizeText";import{setKioskUrlParams as cr}from"../components/Kiosk/kioskUrlParam";import{readFreeBannerDismissed as dr}from"../tools/freeBanner";const hr=["dimensions25"];let ur=(()=>{var U,O,H,x,k;let l=[],M,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;M=[(U=o).struct.bind(U)],Z=[(O=o).ref.bind(O)],q=[(H=o).ref.bind(H)],se=[(x=o).ref.bind(x)],le=[o],ne=[o],he=[o],me=[o],_e=[o],ye=[o],be=[o],Ce=[o],Me=[o],Re=[o],Le=[o],Fe=[(k=o).struct.bind(k)],Ve=[o],Ge=[o],$e=[o],Ze=[o],qe=[o],st=[o],lt=[o],nt=[o],ht=[o],mt=[o],_t=[o],yt=[o],bt=[o],Ct=[o],Mt=[o],Rt=[o],Lt=[o],Ft=[o],Vt=[o],Gt=[o],$t=[o],Zt=[o],qt=[o],ss=[o],ls=[o],ns=[o],hs=[o],ms=[o],_s=[o],ys=[o],bs=[o],Cs=[o],Ms=[o],Rs=[o],Ls=[o],Fs=[o],Vs=[o],Gs=[o],$s=[o],Zs=[o],qs=[o],si=[o],li=[o],ni=[o],hi=[o],mi=[o],_i=[o],yi=[o],bi=[o],Ci=[u],Bi=[u],Pi=[u],Mi=[u],wi=[u],Ti=[u],Ri=[u],Oi=[u],Di=[u],Li=[u],Ai=[u],Ei=[n],Fi=[n],Ui=[n],Hi=[n({keepAlive:!0})],Vi=[n({keepAlive:!0})],Ni=[n({keepAlive:!0})],Ki=[n({keepAlive:!0})],Gi=[n({keepAlive:!0})],Qi=[n({keepAlive:!0})],Yi=[n({keepAlive:!0})],$i=[n({keepAlive:!0})],ji=[n({keepAlive:!0})],Wi=[n],Zi=[n],Xi=[n],Ji=[n],qi=[n],ea=[n],ta=[n],sa=[n],ia=[n({keepAlive:!0})],aa=[n],la=[n],ra=[n({keepAlive:!0})],oa=[n],na=[n],ca=[n],da=[n],ha=[n],ua=[n],fa=[n],ma=[n],ga=[n],pa=[n],_a=[n],va=[n],Sa=[n],ya=[n],ka=[n({keepAlive:!0})],Ia=[o],za=[u],Ca=[n],Ba=[n],Pa=[n],Ma=[n],wa=[n],Ta=[n],Ra=[n],Oa=[n],Da=[n],La=[n({keepAlive:!0})],Aa=[n({keepAlive:!0})],Ea=[n({keepAlive:!0})],Fa=[n],Ua=[u],Ha=[u],Va=[u],Na=[u],Ka=[u],Ga=[u],Qa=[n({keepAlive:!0})],Ya=[o],Wa=[u],Za=[u],Xa=[n],Ja=[n],qa=[n],el=[n],tl=[n],sl=[n],il=[n],al=[n],ll=[n],rl=[u],ol=[u],nl=[u],cl=[u],dl=[u],hl=[u],ul=[n],fl=[n],ml=[u],gl=[o],vl=[u],Sl=[n],yl=[o],bl=[u],xl=[o],Bl=[u],Pl=[u],Ml=[u],wl=[u],Tl=[u],Rl=[o],Ll=[u],Al=[o],Ul=[u],i(this,null,Ci,{kind:"method",name:"setSelectedCategoryFilters",static:!1,private:!1,access:{has:e=>"setSelectedCategoryFilters"in e,get:e=>e.setSelectedCategoryFilters},metadata:t},null,l),i(this,null,Bi,{kind:"method",name:"resetCategoryFilter",static:!1,private:!1,access:{has:e=>"resetCategoryFilter"in e,get:e=>e.resetCategoryFilter},metadata:t},null,l),i(this,null,Pi,{kind:"method",name:"setSearchClearMode",static:!1,private:!1,access:{has:e=>"setSearchClearMode"in e,get:e=>e.setSearchClearMode},metadata:t},null,l),i(this,null,Mi,{kind:"method",name:"setRouteTitle",static:!1,private:!1,access:{has:e=>"setRouteTitle"in e,get:e=>e.setRouteTitle},metadata:t},null,l),i(this,null,wi,{kind:"method",name:"setRouteDescription",static:!1,private:!1,access:{has:e=>"setRouteDescription"in e,get:e=>e.setRouteDescription},metadata:t},null,l),i(this,null,Ti,{kind:"method",name:"setIsMultiPointRoute",static:!1,private:!1,access:{has:e=>"setIsMultiPointRoute"in e,get:e=>e.setIsMultiPointRoute},metadata:t},null,l),i(this,null,Ri,{kind:"method",name:"setTourTitle",static:!1,private:!1,access:{has:e=>"setTourTitle"in e,get:e=>e.setTourTitle},metadata:t},null,l),i(this,null,Oi,{kind:"method",name:"setTourDescription",static:!1,private:!1,access:{has:e=>"setTourDescription"in e,get:e=>e.setTourDescription},metadata:t},null,l),i(this,null,Di,{kind:"method",name:"setIsMultiPointTour",static:!1,private:!1,access:{has:e=>"setIsMultiPointTour"in e,get:e=>e.setIsMultiPointTour},metadata:t},null,l),i(this,null,Li,{kind:"method",name:"setPathwayOnlyMode",static:!1,private:!1,access:{has:e=>"setPathwayOnlyMode"in e,get:e=>e.setPathwayOnlyMode},metadata:t},null,l),i(this,null,Ai,{kind:"method",name:"setMultiPointTourList",static:!1,private:!1,access:{has:e=>"setMultiPointTourList"in e,get:e=>e.setMultiPointTourList},metadata:t},null,l),i(this,null,Ei,{kind:"getter",name:"activePathwayLayers",static:!1,private:!1,access:{has:e=>"activePathwayLayers"in e,get:e=>e.activePathwayLayers},metadata:t},null,l),i(this,null,Fi,{kind:"getter",name:"highlightedBooths",static:!1,private:!1,access:{has:e=>"highlightedBooths"in e,get:e=>e.highlightedBooths},metadata:t},null,l),i(this,null,Ui,{kind:"getter",name:"rtl",static:!1,private:!1,access:{has:e=>"rtl"in e,get:e=>e.rtl},metadata:t},null,l),i(this,null,Hi,{kind:"getter",name:"noOverlay",static:!1,private:!1,access:{has:e=>"noOverlay"in e,get:e=>e.noOverlay},metadata:t},null,l),i(this,null,Vi,{kind:"getter",name:"selectedExhibitor",static:!1,private:!1,access:{has:e=>"selectedExhibitor"in e,get:e=>e.selectedExhibitor},metadata:t},null,l),i(this,null,Ni,{kind:"getter",name:"selectedBooth",static:!1,private:!1,access:{has:e=>"selectedBooth"in e,get:e=>e.selectedBooth},metadata:t},null,l),i(this,null,Ki,{kind:"getter",name:"selectedCategory",static:!1,private:!1,access:{has:e=>"selectedCategory"in e,get:e=>e.selectedCategory},metadata:t},null,l),i(this,null,Gi,{kind:"getter",name:"selectedRoute",static:!1,private:!1,access:{has:e=>"selectedRoute"in e,get:e=>e.selectedRoute},metadata:t},null,l),i(this,null,Qi,{kind:"getter",name:"selectedSpeaker",static:!1,private:!1,access:{has:e=>"selectedSpeaker"in e,get:e=>e.selectedSpeaker},metadata:t},null,l),i(this,null,Yi,{kind:"getter",name:"uiScale",static:!1,private:!1,access:{has:e=>"uiScale"in e,get:e=>e.uiScale},metadata:t},null,l),i(this,null,$i,{kind:"getter",name:"isGuidedToursActive",static:!1,private:!1,access:{has:e=>"isGuidedToursActive"in e,get:e=>e.isGuidedToursActive},metadata:t},null,l),i(this,null,ji,{kind:"getter",name:"getRouteNextFloor",static:!1,private:!1,access:{has:e=>"getRouteNextFloor"in e,get:e=>e.getRouteNextFloor},metadata:t},null,l),i(this,null,Wi,{kind:"getter",name:"headerHeightRem",static:!1,private:!1,access:{has:e=>"headerHeightRem"in e,get:e=>e.headerHeightRem},metadata:t},null,l),i(this,null,Zi,{kind:"getter",name:"headerHeightPx",static:!1,private:!1,access:{has:e=>"headerHeightPx"in e,get:e=>e.headerHeightPx},metadata:t},null,l),i(this,null,Xi,{kind:"getter",name:"overlayPosition",static:!1,private:!1,access:{has:e=>"overlayPosition"in e,get:e=>e.overlayPosition},metadata:t},null,l),i(this,null,Ji,{kind:"getter",name:"overlayCollapsed",static:!1,private:!1,access:{has:e=>"overlayCollapsed"in e,get:e=>e.overlayCollapsed},metadata:t},null,l),i(this,null,qi,{kind:"getter",name:"overlaySize",static:!1,private:!1,access:{has:e=>"overlaySize"in e,get:e=>e.overlaySize},metadata:t},null,l),i(this,null,ea,{kind:"getter",name:"overlayBottom",static:!1,private:!1,access:{has:e=>"overlayBottom"in e,get:e=>e.overlayBottom},metadata:t},null,l),i(this,null,ta,{kind:"getter",name:"overlayLeft",static:!1,private:!1,access:{has:e=>"overlayLeft"in e,get:e=>e.overlayLeft},metadata:t},null,l),i(this,null,sa,{kind:"getter",name:"overlayWidthPx",static:!1,private:!1,access:{has:e=>"overlayWidthPx"in e,get:e=>e.overlayWidthPx},metadata:t},null,l),i(this,null,ia,{kind:"getter",name:"wsImageHeightPx",static:!1,private:!1,access:{has:e=>"wsImageHeightPx"in e,get:e=>e.wsImageHeightPx},metadata:t},null,l),i(this,null,aa,{kind:"getter",name:"wsPaddingPx",static:!1,private:!1,access:{has:e=>"wsPaddingPx"in e,get:e=>e.wsPaddingPx},metadata:t},null,l),i(this,null,la,{kind:"getter",name:"wsOccupiedHeightPx",static:!1,private:!1,access:{has:e=>"wsOccupiedHeightPx"in e,get:e=>e.wsOccupiedHeightPx},metadata:t},null,l),i(this,null,ra,{kind:"getter",name:"wsShown",static:!1,private:!1,access:{has:e=>"wsShown"in e,get:e=>e.wsShown},metadata:t},null,l),i(this,null,oa,{kind:"getter",name:"wsDesktopPosition",static:!1,private:!1,access:{has:e=>"wsDesktopPosition"in e,get:e=>e.wsDesktopPosition},metadata:t},null,l),i(this,null,na,{kind:"getter",name:"wsPosition",static:!1,private:!1,access:{has:e=>"wsPosition"in e,get:e=>e.wsPosition},metadata:t},null,l),i(this,null,ca,{kind:"getter",name:"responsiveClass",static:!1,private:!1,access:{has:e=>"responsiveClass"in e,get:e=>e.responsiveClass},metadata:t},null,l),i(this,null,da,{kind:"getter",name:"mapVisibleTop",static:!1,private:!1,access:{has:e=>"mapVisibleTop"in e,get:e=>e.mapVisibleTop},metadata:t},null,l),i(this,null,ha,{kind:"getter",name:"mapVisibleBottom",static:!1,private:!1,access:{has:e=>"mapVisibleBottom"in e,get:e=>e.mapVisibleBottom},metadata:t},null,l),i(this,null,ua,{kind:"getter",name:"mapVisibleStart",static:!1,private:!1,access:{has:e=>"mapVisibleStart"in e,get:e=>e.mapVisibleStart},metadata:t},null,l),i(this,null,fa,{kind:"getter",name:"searchActionsHeightPx",static:!1,private:!1,access:{has:e=>"searchActionsHeightPx"in e,get:e=>e.searchActionsHeightPx},metadata:t},null,l),i(this,null,ma,{kind:"getter",name:"fullSizeOffset",static:!1,private:!1,access:{has:e=>"fullSizeOffset"in e,get:e=>e.fullSizeOffset},metadata:t},null,l),i(this,null,ga,{kind:"getter",name:"shouldShowSearchButtons",static:!1,private:!1,access:{has:e=>"shouldShowSearchButtons"in e,get:e=>e.shouldShowSearchButtons},metadata:t},null,l),i(this,null,pa,{kind:"getter",name:"canvasVisibleRectPx",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPx"in e,get:e=>e.canvasVisibleRectPx},metadata:t},null,l),i(this,null,_a,{kind:"getter",name:"shouldShiftMapRect",static:!1,private:!1,access:{has:e=>"shouldShiftMapRect"in e,get:e=>e.shouldShiftMapRect},metadata:t},null,l),i(this,null,va,{kind:"getter",name:"hasAppliedFilters",static:!1,private:!1,access:{has:e=>"hasAppliedFilters"in e,get:e=>e.hasAppliedFilters},metadata:t},null,l),i(this,null,Sa,{kind:"getter",name:"canvasVisibleRectPt",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPt"in e,get:e=>e.canvasVisibleRectPt},metadata:t},null,l),i(this,null,ya,{kind:"getter",name:"canvasSizePt",static:!1,private:!1,access:{has:e=>"canvasSizePt"in e,get:e=>e.canvasSizePt},metadata:t},null,l),i(this,null,ka,{kind:"getter",name:"shouldUseBackdrop",static:!1,private:!1,access:{has:e=>"shouldUseBackdrop"in e,get:e=>e.shouldUseBackdrop},metadata:t},null,l),i(this,null,za,{kind:"method",name:"setForceDimm",static:!1,private:!1,access:{has:e=>"setForceDimm"in e,get:e=>e.setForceDimm},metadata:t},null,l),i(this,null,Ca,{kind:"getter",name:"dimmed",static:!1,private:!1,access:{has:e=>"dimmed"in e,get:e=>e.dimmed},metadata:t},null,l),i(this,null,Ba,{kind:"getter",name:"defaultSearchItems",static:!1,private:!1,access:{has:e=>"defaultSearchItems"in e,get:e=>e.defaultSearchItems},metadata:t},null,l),i(this,null,Pa,{kind:"getter",name:"searchItems",static:!1,private:!1,access:{has:e=>"searchItems"in e,get:e=>e.searchItems},metadata:t},null,l),i(this,null,Ma,{kind:"getter",name:"searchList",static:!1,private:!1,access:{has:e=>"searchList"in e,get:e=>e.searchList},metadata:t},null,l),i(this,null,wa,{kind:"getter",name:"foundInDescription",static:!1,private:!1,access:{has:e=>"foundInDescription"in e,get:e=>e.foundInDescription},metadata:t},null,l),i(this,null,Ta,{kind:"getter",name:"foundInDescriptionStruct",static:!1,private:!1,access:{has:e=>"foundInDescriptionStruct"in e,get:e=>e.foundInDescriptionStruct},metadata:t},null,l),i(this,null,Ra,{kind:"getter",name:"categoryFilteredSearchList",static:!1,private:!1,access:{has:e=>"categoryFilteredSearchList"in e,get:e=>e.categoryFilteredSearchList},metadata:t},null,l),i(this,null,Oa,{kind:"getter",name:"fuzzySearchItems",static:!1,private:!1,access:{has:e=>"fuzzySearchItems"in e,get:e=>e.fuzzySearchItems},metadata:t},null,l),i(this,null,Da,{kind:"getter",name:"listItems",static:!1,private:!1,access:{has:e=>"listItems"in e,get:e=>e.listItems},metadata:t},null,l),i(this,null,La,{kind:"getter",name:"listBooths",static:!1,private:!1,access:{has:e=>"listBooths"in e,get:e=>e.listBooths},metadata:t},null,l),i(this,null,Aa,{kind:"getter",name:"selectedBooths",static:!1,private:!1,access:{has:e=>"selectedBooths"in e,get:e=>e.selectedBooths},metadata:t},null,l),i(this,null,Ea,{kind:"getter",name:"hoveredBooths",static:!1,private:!1,access:{has:e=>"hoveredBooths"in e,get:e=>e.hoveredBooths},metadata:t},null,l),i(this,null,Fa,{kind:"getter",name:"visibility",static:!1,private:!1,access:{has:e=>"visibility"in e,get:e=>e.visibility},metadata:t},null,l),i(this,null,Ua,{kind:"method",name:"setVisibility",static:!1,private:!1,access:{has:e=>"setVisibility"in e,get:e=>e.setVisibility},metadata:t},null,l),i(this,null,Ha,{kind:"method",name:"toggleMapOverlay",static:!1,private:!1,access:{has:e=>"toggleMapOverlay"in e,get:e=>e.toggleMapOverlay},metadata:t},null,l),i(this,null,Va,{kind:"method",name:"changeZoom",static:!1,private:!1,access:{has:e=>"changeZoom"in e,get:e=>e.changeZoom},metadata:t},null,l),i(this,null,Na,{kind:"method",name:"zoomIn",static:!1,private:!1,access:{has:e=>"zoomIn"in e,get:e=>e.zoomIn},metadata:t},null,l),i(this,null,Ka,{kind:"method",name:"zoomOut",static:!1,private:!1,access:{has:e=>"zoomOut"in e,get:e=>e.zoomOut},metadata:t},null,l),i(this,null,Ga,{kind:"method",name:"fitBounds",static:!1,private:!1,access:{has:e=>"fitBounds"in e,get:e=>e.fitBounds},metadata:t},null,l),i(this,null,Qa,{kind:"getter",name:"selectedEventItem",static:!1,private:!1,access:{has:e=>"selectedEventItem"in e,get:e=>e.selectedEventItem},metadata:t},null,l),i(this,null,Wa,{kind:"method",name:"setMapSettings",static:!1,private:!1,access:{has:e=>"setMapSettings"in e,get:e=>e.setMapSettings},metadata:t},null,l),i(this,null,Za,{kind:"method",name:"resetMapSettings",static:!1,private:!1,access:{has:e=>"resetMapSettings"in e,get:e=>e.resetMapSettings},metadata:t},null,l),i(this,null,Xa,{kind:"getter",name:"baseQRCodeUrl",static:!1,private:!1,access:{has:e=>"baseQRCodeUrl"in e,get:e=>e.baseQRCodeUrl},metadata:t},null,l),i(this,null,Ja,{kind:"getter",name:"viewMapOnPhoneQRCodeUrl",static:!1,private:!1,access:{has:e=>"viewMapOnPhoneQRCodeUrl"in e,get:e=>e.viewMapOnPhoneQRCodeUrl},metadata:t},null,l),i(this,null,qa,{kind:"getter",name:"routeQRCodeUrl",static:!1,private:!1,access:{has:e=>"routeQRCodeUrl"in e,get:e=>e.routeQRCodeUrl},metadata:t},null,l),i(this,null,el,{kind:"getter",name:"isFeaturedExhibitorActive",static:!1,private:!1,access:{has:e=>"isFeaturedExhibitorActive"in e,get:e=>e.isFeaturedExhibitorActive},metadata:t},null,l),i(this,null,tl,{kind:"getter",name:"activeInterfaceData",static:!1,private:!1,access:{has:e=>"activeInterfaceData"in e,get:e=>e.activeInterfaceData},metadata:t},null,l),i(this,null,sl,{kind:"getter",name:"searchBoxConfig",static:!1,private:!1,access:{has:e=>"searchBoxConfig"in e,get:e=>e.searchBoxConfig},metadata:t},null,l),i(this,null,il,{kind:"getter",name:"searchBoxActions",static:!1,private:!1,access:{has:e=>"searchBoxActions"in e,get:e=>e.searchBoxActions},metadata:t},null,l),i(this,null,al,{kind:"getter",name:"overlayInterfaceClasses",static:!1,private:!1,access:{has:e=>"overlayInterfaceClasses"in e,get:e=>e.overlayInterfaceClasses},metadata:t},null,l),i(this,null,ll,{kind:"getter",name:"isOverlayOpen",static:!1,private:!1,access:{has:e=>"isOverlayOpen"in e,get:e=>e.isOverlayOpen},metadata:t},null,l),i(this,null,rl,{kind:"method",name:"setOverlayScrolled",static:!1,private:!1,access:{has:e=>"setOverlayScrolled"in e,get:e=>e.setOverlayScrolled},metadata:t},null,l),i(this,null,ol,{kind:"method",name:"setListScrollTop",static:!1,private:!1,access:{has:e=>"setListScrollTop"in e,get:e=>e.setListScrollTop},metadata:t},null,l),i(this,null,nl,{kind:"method",name:"setListScrollItemId",static:!1,private:!1,access:{has:e=>"setListScrollItemId"in e,get:e=>e.setListScrollItemId},metadata:t},null,l),i(this,null,cl,{kind:"method",name:"getListScrollTop",static:!1,private:!1,access:{has:e=>"getListScrollTop"in e,get:e=>e.getListScrollTop},metadata:t},null,l),i(this,null,dl,{kind:"method",name:"getListScrollItemId",static:!1,private:!1,access:{has:e=>"getListScrollItemId"in e,get:e=>e.getListScrollItemId},metadata:t},null,l),i(this,null,hl,{kind:"method",name:"clearListScroll",static:!1,private:!1,access:{has:e=>"clearListScroll"in e,get:e=>e.clearListScroll},metadata:t},null,l),i(this,null,ul,{kind:"getter",name:"bannerType",static:!1,private:!1,access:{has:e=>"bannerType"in e,get:e=>e.bannerType},metadata:t},null,l),i(this,null,fl,{kind:"getter",name:"isBannerVisible",static:!1,private:!1,access:{has:e=>"isBannerVisible"in e,get:e=>e.isBannerVisible},metadata:t},null,l),i(this,null,ml,{kind:"method",name:"setCurrentBanner",static:!1,private:!1,access:{has:e=>"setCurrentBanner"in e,get:e=>e.setCurrentBanner},metadata:t},null,l),i(this,null,vl,{kind:"method",name:"setForceShowDetails",static:!1,private:!1,access:{has:e=>"setForceShowDetails"in e,get:e=>e.setForceShowDetails},metadata:t},null,l),i(this,null,Sl,{kind:"getter",name:"showRouteInstantly",static:!1,private:!1,access:{has:e=>"showRouteInstantly"in e,get:e=>e.showRouteInstantly},metadata:t},null,l),i(this,null,bl,{kind:"method",name:"startBuildRoute",static:!1,private:!1,access:{has:e=>"startBuildRoute"in e,get:e=>e.startBuildRoute},metadata:t},null,l),i(this,null,Bl,{kind:"method",name:"setGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"setGlobalErrorMessage"in e,get:e=>e.setGlobalErrorMessage},metadata:t},null,l),i(this,null,Pl,{kind:"method",name:"popGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"popGlobalErrorMessage"in e,get:e=>e.popGlobalErrorMessage},metadata:t},null,l),i(this,null,Ml,{kind:"method",name:"initializeUIScale",static:!1,private:!1,access:{has:e=>"initializeUIScale"in e,get:e=>e.initializeUIScale},metadata:t},null,l),i(this,null,wl,{kind:"method",name:"setUIScale",static:!1,private:!1,access:{has:e=>"setUIScale"in e,get:e=>e.setUIScale},metadata:t},null,l),i(this,null,Tl,{kind:"method",name:"resetUIScale",static:!1,private:!1,access:{has:e=>"resetUIScale"in e,get:e=>e.resetUIScale},metadata:t},null,l),i(this,null,Ll,{kind:"method",name:"enableSetKioskMode",static:!1,private:!1,access:{has:e=>"enableSetKioskMode"in e,get:e=>e.enableSetKioskMode},metadata:t},null,l),i(this,null,Ul,{kind:"method",name:"setKioskData",static:!1,private:!1,access:{has:e=>"setKioskData"in e,get:e=>e.setKioskData},metadata:t},null,l),i(null,null,M,{kind:"field",name:"list",static:!1,private:!1,access:{has:e=>"list"in e,get:e=>e.list,set:(e,s)=>{e.list=s}},metadata:t},j,W),i(null,null,Z,{kind:"field",name:"details",static:!1,private:!1,access:{has:e=>"details"in e,get:e=>e.details,set:(e,s)=>{e.details=s}},metadata:t},X,J),i(null,null,q,{kind:"field",name:"hoveredExhibitor",static:!1,private:!1,access:{has:e=>"hoveredExhibitor"in e,get:e=>e.hoveredExhibitor,set:(e,s)=>{e.hoveredExhibitor=s}},metadata:t},ee,te),i(null,null,se,{kind:"field",name:"hoveredBooth",static:!1,private:!1,access:{has:e=>"hoveredBooth"in e,get:e=>e.hoveredBooth,set:(e,s)=>{e.hoveredBooth=s}},metadata:t},ie,ae),i(null,null,le,{kind:"field",name:"zoomBy",static:!1,private:!1,access:{has:e=>"zoomBy"in e,get:e=>e.zoomBy,set:(e,s)=>{e.zoomBy=s}},metadata:t},re,oe),i(null,null,ne,{kind:"field",name:"rollReset",static:!1,private:!1,access:{has:e=>"rollReset"in e,get:e=>e.rollReset,set:(e,s)=>{e.rollReset=s}},metadata:t},ce,de),i(null,null,he,{kind:"field",name:"moveToBooths",static:!1,private:!1,access:{has:e=>"moveToBooths"in e,get:e=>e.moveToBooths,set:(e,s)=>{e.moveToBooths=s}},metadata:t},ue,fe),i(null,null,me,{kind:"field",name:"moveToRect",static:!1,private:!1,access:{has:e=>"moveToRect"in e,get:e=>e.moveToRect,set:(e,s)=>{e.moveToRect=s}},metadata:t},ge,pe),i(null,null,_e,{kind:"field",name:"moveToLocation",static:!1,private:!1,access:{has:e=>"moveToLocation"in e,get:e=>e.moveToLocation,set:(e,s)=>{e.moveToLocation=s}},metadata:t},ve,Se),i(null,null,ye,{kind:"field",name:"menu",static:!1,private:!1,access:{has:e=>"menu"in e,get:e=>e.menu,set:(e,s)=>{e.menu=s}},metadata:t},ke,Ie),i(null,null,be,{kind:"field",name:"searchFocused",static:!1,private:!1,access:{has:e=>"searchFocused"in e,get:e=>e.searchFocused,set:(e,s)=>{e.searchFocused=s}},metadata:t},xe,ze),i(null,null,Ce,{kind:"field",name:"searchClearMode",static:!1,private:!1,access:{has:e=>"searchClearMode"in e,get:e=>e.searchClearMode,set:(e,s)=>{e.searchClearMode=s}},metadata:t},Be,Pe),i(null,null,Me,{kind:"field",name:"printingPdf",static:!1,private:!1,access:{has:e=>"printingPdf"in e,get:e=>e.printingPdf,set:(e,s)=>{e.printingPdf=s}},metadata:t},we,Te),i(null,null,Re,{kind:"field",name:"largeMessage",static:!1,private:!1,access:{has:e=>"largeMessage"in e,get:e=>e.largeMessage,set:(e,s)=>{e.largeMessage=s}},metadata:t},Oe,De),i(null,null,Le,{kind:"field",name:"largeMessageLastSet",static:!1,private:!1,access:{has:e=>"largeMessageLastSet"in e,get:e=>e.largeMessageLastSet,set:(e,s)=>{e.largeMessageLastSet=s}},metadata:t},Ae,Ee),i(null,null,Fe,{kind:"field",name:"screenSize",static:!1,private:!1,access:{has:e=>"screenSize"in e,get:e=>e.screenSize,set:(e,s)=>{e.screenSize=s}},metadata:t},Ue,He),i(null,null,Ve,{kind:"field",name:"desiredOverlaySize",static:!1,private:!1,access:{has:e=>"desiredOverlaySize"in e,get:e=>e.desiredOverlaySize,set:(e,s)=>{e.desiredOverlaySize=s}},metadata:t},Ne,Ke),i(null,null,Ge,{kind:"field",name:"overlayShowsAll",static:!1,private:!1,access:{has:e=>"overlayShowsAll"in e,get:e=>e.overlayShowsAll,set:(e,s)=>{e.overlayShowsAll=s}},metadata:t},Qe,Ye),i(null,null,$e,{kind:"field",name:"centerMap",static:!1,private:!1,access:{has:e=>"centerMap"in e,get:e=>e.centerMap,set:(e,s)=>{e.centerMap=s}},metadata:t},je,We),i(null,null,Ze,{kind:"field",name:"zoomAfTransformK",static:!1,private:!1,access:{has:e=>"zoomAfTransformK"in e,get:e=>e.zoomAfTransformK,set:(e,s)=>{e.zoomAfTransformK=s}},metadata:t},Xe,Je),i(null,null,qe,{kind:"field",name:"activeListIndex",static:!1,private:!1,access:{has:e=>"activeListIndex"in e,get:e=>e.activeListIndex,set:(e,s)=>{e.activeListIndex=s}},metadata:t},et,tt),i(null,null,st,{kind:"field",name:"devicePixelRatio",static:!1,private:!1,access:{has:e=>"devicePixelRatio"in e,get:e=>e.devicePixelRatio,set:(e,s)=>{e.devicePixelRatio=s}},metadata:t},it,at),i(null,null,lt,{kind:"field",name:"wsStarted",static:!1,private:!1,access:{has:e=>"wsStarted"in e,get:e=>e.wsStarted,set:(e,s)=>{e.wsStarted=s}},metadata:t},rt,ot),i(null,null,nt,{kind:"field",name:"canvasStarted",static:!1,private:!1,access:{has:e=>"canvasStarted"in e,get:e=>e.canvasStarted,set:(e,s)=>{e.canvasStarted=s}},metadata:t},ct,dt),i(null,null,ht,{kind:"field",name:"kiosk",static:!1,private:!1,access:{has:e=>"kiosk"in e,get:e=>e.kiosk,set:(e,s)=>{e.kiosk=s}},metadata:t},ut,ft),i(null,null,mt,{kind:"field",name:"inIdle",static:!1,private:!1,access:{has:e=>"inIdle"in e,get:e=>e.inIdle,set:(e,s)=>{e.inIdle=s}},metadata:t},gt,pt),i(null,null,_t,{kind:"field",name:"modalActive",static:!1,private:!1,access:{has:e=>"modalActive"in e,get:e=>e.modalActive,set:(e,s)=>{e.modalActive=s}},metadata:t},vt,St),i(null,null,yt,{kind:"field",name:"galleryActive",static:!1,private:!1,access:{has:e=>"galleryActive"in e,get:e=>e.galleryActive,set:(e,s)=>{e.galleryActive=s}},metadata:t},kt,It),i(null,null,bt,{kind:"field",name:"hideOverlay",static:!1,private:!1,access:{has:e=>"hideOverlay"in e,get:e=>e.hideOverlay,set:(e,s)=>{e.hideOverlay=s}},metadata:t},xt,zt),i(null,null,Ct,{kind:"field",name:"hideCookieConsent",static:!1,private:!1,access:{has:e=>"hideCookieConsent"in e,get:e=>e.hideCookieConsent,set:(e,s)=>{e.hideCookieConsent=s}},metadata:t},Bt,Pt),i(null,null,Mt,{kind:"field",name:"hideHeaderLogo",static:!1,private:!1,access:{has:e=>"hideHeaderLogo"in e,get:e=>e.hideHeaderLogo,set:(e,s)=>{e.hideHeaderLogo=s}},metadata:t},wt,Tt),i(null,null,Rt,{kind:"field",name:"hideLogoInBooth",static:!1,private:!1,access:{has:e=>"hideLogoInBooth"in e,get:e=>e.hideLogoInBooth,set:(e,s)=>{e.hideLogoInBooth=s}},metadata:t},Ot,Dt),i(null,null,Lt,{kind:"field",name:"disableBookmarked",static:!1,private:!1,access:{has:e=>"disableBookmarked"in e,get:e=>e.disableBookmarked,set:(e,s)=>{e.disableBookmarked=s}},metadata:t},At,Et),i(null,null,Ft,{kind:"field",name:"hideLanguage",static:!1,private:!1,access:{has:e=>"hideLanguage"in e,get:e=>e.hideLanguage,set:(e,s)=>{e.hideLanguage=s}},metadata:t},Ut,Ht),i(null,null,Vt,{kind:"field",name:"monochrome",static:!1,private:!1,access:{has:e=>"monochrome"in e,get:e=>e.monochrome,set:(e,s)=>{e.monochrome=s}},metadata:t},Nt,Kt),i(null,null,Gt,{kind:"field",name:"heatmap",static:!1,private:!1,access:{has:e=>"heatmap"in e,get:e=>e.heatmap,set:(e,s)=>{e.heatmap=s}},metadata:t},Qt,Yt),i(null,null,$t,{kind:"field",name:"heatmapYah",static:!1,private:!1,access:{has:e=>"heatmapYah"in e,get:e=>e.heatmapYah,set:(e,s)=>{e.heatmapYah=s}},metadata:t},jt,Wt),i(null,null,Zt,{kind:"field",name:"debugCircles",static:!1,private:!1,access:{has:e=>"debugCircles"in e,get:e=>e.debugCircles,set:(e,s)=>{e.debugCircles=s}},metadata:t},Xt,Jt),i(null,null,qt,{kind:"field",name:"mapControlsHidden",static:!1,private:!1,access:{has:e=>"mapControlsHidden"in e,get:e=>e.mapControlsHidden,set:(e,s)=>{e.mapControlsHidden=s}},metadata:t},es,ts),i(null,null,ss,{kind:"field",name:"floorsControlHidden",static:!1,private:!1,access:{has:e=>"floorsControlHidden"in e,get:e=>e.floorsControlHidden,set:(e,s)=>{e.floorsControlHidden=s}},metadata:t},is,as),i(null,null,ls,{kind:"field",name:"hideFreeOrDemo",static:!1,private:!1,access:{has:e=>"hideFreeOrDemo"in e,get:e=>e.hideFreeOrDemo,set:(e,s)=>{e.hideFreeOrDemo=s}},metadata:t},rs,os),i(null,null,ns,{kind:"field",name:"freeBannerDismissed",static:!1,private:!1,access:{has:e=>"freeBannerDismissed"in e,get:e=>e.freeBannerDismissed,set:(e,s)=>{e.freeBannerDismissed=s}},metadata:t},cs,ds),i(null,null,hs,{kind:"field",name:"currentBanner",static:!1,private:!1,access:{has:e=>"currentBanner"in e,get:e=>e.currentBanner,set:(e,s)=>{e.currentBanner=s}},metadata:t},us,fs),i(null,null,ms,{kind:"field",name:"sceneDefReady",static:!1,private:!1,access:{has:e=>"sceneDefReady"in e,get:e=>e.sceneDefReady,set:(e,s)=>{e.sceneDefReady=s}},metadata:t},gs,ps),i(null,null,_s,{kind:"field",name:"categoryFilterOpen",static:!1,private:!1,access:{has:e=>"categoryFilterOpen"in e,get:e=>e.categoryFilterOpen,set:(e,s)=>{e.categoryFilterOpen=s}},metadata:t},vs,Ss),i(null,null,ys,{kind:"field",name:"selectedCategoryFilters",static:!1,private:!1,access:{has:e=>"selectedCategoryFilters"in e,get:e=>e.selectedCategoryFilters,set:(e,s)=>{e.selectedCategoryFilters=s}},metadata:t},ks,Is),i(null,null,bs,{kind:"field",name:"selectedPoiTypeFilters",static:!1,private:!1,access:{has:e=>"selectedPoiTypeFilters"in e,get:e=>e.selectedPoiTypeFilters,set:(e,s)=>{e.selectedPoiTypeFilters=s}},metadata:t},xs,zs),i(null,null,Cs,{kind:"field",name:"selectedTrack",static:!1,private:!1,access:{has:e=>"selectedTrack"in e,get:e=>e.selectedTrack,set:(e,s)=>{e.selectedTrack=s}},metadata:t},Bs,Ps),i(null,null,Ms,{kind:"field",name:"subButtonsVisible",static:!1,private:!1,access:{has:e=>"subButtonsVisible"in e,get:e=>e.subButtonsVisible,set:(e,s)=>{e.subButtonsVisible=s}},metadata:t},ws,Ts),i(null,null,Rs,{kind:"field",name:"mapControlsDOMRect",static:!1,private:!1,access:{has:e=>"mapControlsDOMRect"in e,get:e=>e.mapControlsDOMRect,set:(e,s)=>{e.mapControlsDOMRect=s}},metadata:t},Os,Ds),i(null,null,Ls,{kind:"field",name:"searchBoxMode",static:!1,private:!1,access:{has:e=>"searchBoxMode"in e,get:e=>e.searchBoxMode,set:(e,s)=>{e.searchBoxMode=s}},metadata:t},As,Es),i(null,null,Fs,{kind:"field",name:"searchBoxTitle",static:!1,private:!1,access:{has:e=>"searchBoxTitle"in e,get:e=>e.searchBoxTitle,set:(e,s)=>{e.searchBoxTitle=s}},metadata:t},Us,Hs),i(null,null,Vs,{kind:"field",name:"searchBoxSubtitle",static:!1,private:!1,access:{has:e=>"searchBoxSubtitle"in e,get:e=>e.searchBoxSubtitle,set:(e,s)=>{e.searchBoxSubtitle=s}},metadata:t},Ns,Ks),i(null,null,Gs,{kind:"field",name:"routeTitle",static:!1,private:!1,access:{has:e=>"routeTitle"in e,get:e=>e.routeTitle,set:(e,s)=>{e.routeTitle=s}},metadata:t},Qs,Ys),i(null,null,$s,{kind:"field",name:"routeDescription",static:!1,private:!1,access:{has:e=>"routeDescription"in e,get:e=>e.routeDescription,set:(e,s)=>{e.routeDescription=s}},metadata:t},js,Ws),i(null,null,Zs,{kind:"field",name:"isMultiPointRoute",static:!1,private:!1,access:{has:e=>"isMultiPointRoute"in e,get:e=>e.isMultiPointRoute,set:(e,s)=>{e.isMultiPointRoute=s}},metadata:t},Xs,Js),i(null,null,qs,{kind:"field",name:"tourTitle",static:!1,private:!1,access:{has:e=>"tourTitle"in e,get:e=>e.tourTitle,set:(e,s)=>{e.tourTitle=s}},metadata:t},ei,ti),i(null,null,si,{kind:"field",name:"tourDescription",static:!1,private:!1,access:{has:e=>"tourDescription"in e,get:e=>e.tourDescription,set:(e,s)=>{e.tourDescription=s}},metadata:t},ii,ai),i(null,null,li,{kind:"field",name:"isMultiPointTour",static:!1,private:!1,access:{has:e=>"isMultiPointTour"in e,get:e=>e.isMultiPointTour,set:(e,s)=>{e.isMultiPointTour=s}},metadata:t},ri,oi),i(null,null,ni,{kind:"field",name:"pathwayOnlyMode",static:!1,private:!1,access:{has:e=>"pathwayOnlyMode"in e,get:e=>e.pathwayOnlyMode,set:(e,s)=>{e.pathwayOnlyMode=s}},metadata:t},ci,di),i(null,null,hi,{kind:"field",name:"isOverlayScrolled",static:!1,private:!1,access:{has:e=>"isOverlayScrolled"in e,get:e=>e.isOverlayScrolled,set:(e,s)=>{e.isOverlayScrolled=s}},metadata:t},ui,fi),i(null,null,mi,{kind:"field",name:"listScrollTop",static:!1,private:!1,access:{has:e=>"listScrollTop"in e,get:e=>e.listScrollTop,set:(e,s)=>{e.listScrollTop=s}},metadata:t},gi,pi),i(null,null,_i,{kind:"field",name:"listScrollItemId",static:!1,private:!1,access:{has:e=>"listScrollItemId"in e,get:e=>e.listScrollItemId,set:(e,s)=>{e.listScrollItemId=s}},metadata:t},vi,Si),i(null,null,yi,{kind:"field",name:"listScrollIndex",static:!1,private:!1,access:{has:e=>"listScrollIndex"in e,get:e=>e.listScrollIndex,set:(e,s)=>{e.listScrollIndex=s}},metadata:t},ki,Ii),i(null,null,bi,{kind:"field",name:"_customUIScale",static:!1,private:!1,access:{has:e=>"_customUIScale"in e,get:e=>e._customUIScale,set:(e,s)=>{e._customUIScale=s}},metadata:t},xi,zi),i(null,null,Ia,{kind:"field",name:"forceDimm",static:!1,private:!1,access:{has:e=>"forceDimm"in e,get:e=>e.forceDimm,set:(e,s)=>{e.forceDimm=s}},metadata:t},ba,xa),i(null,null,Ya,{kind:"field",name:"mapSettings",static:!1,private:!1,access:{has:e=>"mapSettings"in e,get:e=>e.mapSettings,set:(e,s)=>{e.mapSettings=s}},metadata:t},$a,ja),i(null,null,gl,{kind:"field",name:"forceShowDetails",static:!1,private:!1,access:{has:e=>"forceShowDetails"in e,get:e=>e.forceShowDetails,set:(e,s)=>{e.forceShowDetails=s}},metadata:t},pl,_l),i(null,null,yl,{kind:"field",name:"buildRoute",static:!1,private:!1,access:{has:e=>"buildRoute"in e,get:e=>e.buildRoute,set:(e,s)=>{e.buildRoute=s}},metadata:t},kl,Il),i(null,null,xl,{kind:"field",name:"globalErrorMessages",static:!1,private:!1,access:{has:e=>"globalErrorMessages"in e,get:e=>e.globalErrorMessages,set:(e,s)=>{e.globalErrorMessages=s}},metadata:t},zl,Cl),i(null,null,Rl,{kind:"field",name:"setKioskModeEnabled",static:!1,private:!1,access:{has:e=>"setKioskModeEnabled"in e,get:e=>e.setKioskModeEnabled,set:(e,s)=>{e.setKioskModeEnabled=s}},metadata:t},Ol,Dl),i(null,null,Al,{kind:"field",name:"kioskData",static:!1,private:!1,access:{has:e=>"kioskData"in e,get:e=>e.kioskData,set:(e,s)=>{e.kioskData=s}},metadata:t},El,Fl),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=a(this,l);interfaceMetadata=Object.freeze([{id:"menu",className:"efp-overlay-menu",priority:80,isActive:()=>this.menu,searchBoxConfig:()=>({mode:"interface",title:y("Menu")})},{id:"exhibitor",className:"efp-overlay-exhibitor",priority:70,isActive:()=>this.details instanceof b,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"booth",className:"efp-overlay-booth",priority:70,isActive:()=>this.details instanceof T,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:t.title||t.name}}},{id:"event",className:"efp-overlay-event",priority:70,isActive:()=>this.details instanceof F,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"route",className:"efp-overlay-route",priority:70,isActive:()=>this.details instanceof R,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:y("Directions")}}},{id:"search",className:"efp-overlay-search",priority:60,isActive:()=>!this.details&&!this.menu&&this.list.type==="search"&&(this.rootStore.fp.alwaysShowSidebar||this.heatmap||this.searchFocused||this.list.text.length>0||this.searchClearMode),searchBoxConfig:()=>({mode:"search",title:y("Search")})},{id:"exhibitors",className:"efp-overlay-exhibitors",priority:50,isActive:()=>this.list.type==="exhibitors"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Exhibitors")})},{id:"filter",className:"efp-overlay-filter",priority:50,isActive:()=>this.list.type==="filter"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Filter")})},{id:"bookmarks",className:"efp-overlay-bookmarks",priority:50,isActive:()=>this.list.type==="bookmarks"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:y("Bookmarks"),badge:this.rootStore.bookmarksStore.total})},{id:"visited",className:"efp-overlay-visited",priority:50,isActive:()=>this.list.type==="visited"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:y("Visited"),badge:this.rootStore.exhibitorStore.visited.length})},{id:A,className:"efp-overlay-language",priority:50,isActive:()=>this.list.type===A,searchBoxConfig:()=>({mode:"interface",title:y("Language")})},{id:"category",className:"efp-overlay-category",priority:50,isActive:()=>!P.menu&&!!P.selectedCategory,searchBoxConfig:()=>({mode:"interface",title:this.list.type==="category"&&this.list.category?.name||y("Categories")})},{id:"sessions",className:"efp-overlay-sessions",priority:50,isActive:()=>this.list.type==="sessions"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Sessions"),subtitle:this.selectedTrack?this.selectedTrack.name:void 0})},{id:"speakers",className:"efp-overlay-speakers",priority:50,isActive:()=>this.list.type==="speakers"&&!this.details,searchBoxConfig:()=>({mode:"search",title:y("Speakers")})},{id:"speaker",className:"efp-overlay-speaker",priority:50,isActive:()=>this.details instanceof $,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,!!ar()));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,dr(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(c=>c 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(c=>c.score===0).map(c=>c.item);r.length?K(r,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems).forEach(c=>s.add(c.id.toString())):this.listBooths.forEach(c=>s.add(c.id.toString()))}if(this.list?.type==="filter"&&(s.clear(),this.list.items.flatMap(r=>r.booths.filter(c=>c instanceof E)).forEach(r=>s.add(r.id.toString()))),this.categoryFilterOpen&&this.selectedCategoryFilters.length>0?(s.clear(),this.selectedCategoryFilters.forEach(r=>{r.exhibitors.flatMap(c=>c.booths).forEach(c=>s.add(c.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 c=this.rootStore.exhibitorStore.exhibitors;r&&(c=c.filter(m=>m.name.toLowerCase().includes(r))),c.flatMap(m=>m.booths.filter(g=>g instanceof E)).forEach(m=>s.add(m.id.toString()))}if(this.selectedPoiTypeFilters.length>0&&(s.clear(),this.selectedPoiTypeFilters.forEach(r=>{this.rootStore.boothStore.booths.filter(c=>c.poiTypeId===r.id).forEach(c=>s.add(c.id.toString()))})),this.details instanceof R&&(s.clear(),s.add(this.details.from?.id.toString()),s.add(this.details.to?.id.toString()),this.details.waypoints?.forEach(r=>s.add(r.id.toString()))),this.details instanceof T&&(s.clear(),s.add(this.details.id.toString())),this.details instanceof b&&(s.clear(),this.details.booths.filter(r=>r instanceof E).forEach(r=>s.add(r.id.toString()))),this.details instanceof F){const r=this.details;if(r.boothId){s.clear();const c=this.rootStore.boothStore.booths.find(m=>m.id===r.boothId);c&&s.add(c.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=lr();return t==="ar"||t==="he"}get noOverlay(){return this.rootStore.fp.noOverlay||this.hideOverlay}get onBoothClick(){return this.rootStore.fp.onBoothClick}get onMarkerClick(){return this.rootStore.fp.onMarkerClick}get onBookmarkClick(){return this.rootStore.fp.onBookmarkClick}get onVisitedClick(){return this.rootStore.fp.onVisitedClick}get onCategoryClick(){return this.rootStore.fp.onCategoryClick}get onDirection(){return this.rootStore.fp.onDirection}get onDetails(){return this.rootStore.fp.onDetails}get onExhibitorCustomButtonClick(){return this.rootStore.fp.onExhibitorCustomButtonClick}get onGetCoordsClick(){return this.rootStore.fp.onGetCoordsClick}get selectedExhibitor(){return this.details instanceof b?this.details:null}get selectedBooth(){return this.details instanceof T?this.details:null}get selectedCategory(){return this.list.type==="category"?this.list.category:null}get selectedRoute(){return this.details instanceof R?this.details:null}get selectedSpeaker(){return this.details instanceof $?this.details:null}get uiScale(){return this._customUIScale!==null?this._customUIScale:this.kiosk?1.2:1}get isGuidedToursActive(){return this.rootStore.toursStore.isActive}get getRouteNextFloor(){const t=this.rootStore.routeStore.pathLayers,e=this.rootStore.routeStore.currentRouteLayer?.name;if(!e)return null;const s=t.findIndex(f=>f.layer?.name===e);return s===-1?null:t[s+1]?.layer?.name}get headerHeightRem(){return 0}get headerHeightPx(){return N(this.headerHeightRem)}get overlayPosition(){return!this.screenSize||this.screenSize.width>Jl||this.kiosk?"left":"bottom"}get overlayCollapsed(){return this.kiosk&&this.overlayPosition==="left"&&!this.searchFocused&&!this.menu&&!this.details&&!this.selectedCategory&&!this.selectedExhibitor&&this.list.type!=="bookmarks"&&this.list.type!==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 or(this.screenSize.width)}get mapVisibleTop(){return(this.wsPosition==="top"?this.wsOccupiedHeightPx:0)+this.headerHeightPx}get mapVisibleBottom(){return this.overlayLeft||this.noOverlay?this.wsPosition==="bottom"?this.wsOccupiedHeightPx:0:N(this.overlayMediumHeightRems)}get mapVisibleStart(){return 0}get searchActionsHeightPx(){return this.overlayPosition==="bottom"?this.searchInputHeightPx+this.searchFilterHeightPx:this.searchInputHeightPx}get fullSizeOffset(){const t=this.wsShown?54:0,e=this.bannerType==="free"&&!this.freeBannerDismissed?40:0,s=20;if(this.details&&!(this.details instanceof R))return t+e+s;const f=54,r=this.shouldShowSearchButtons?54:0;return t+e+f+s+r}get shouldShowSearchButtons(){return this.rootStore.searchButtonsStore.hasAnySearchButtons&&!this.details&&!this.menu&&![A,"filter"].includes(this.list.type)}get canvasVisibleRectPx(){const t=this.screenSize;return sr.fromX1y1x2y2(P.rtl?0:this.mapVisibleStart,this.mapVisibleTop+this.searchActionsHeightPx,P.rtl?t.width-this.mapVisibleStart:t.width,t.height-this.mapVisibleBottom)}get shouldShiftMapRect(){return this.overlayPosition==="left"&&(this.details||this.hasAppliedFilters||this.selectedRoute)}get hasAppliedFilters(){return this.selectedCategoryFilters.length>0||this.selectedPoiTypeFilters.length>0}get canvasVisibleRectPt(){return this.canvasVisibleRectPx.scale(this.devicePixelRatio)}get canvasSizePt(){return this.screenSize.scale(this.devicePixelRatio)}get shouldUseBackdrop(){if(P.overlayCollapsed)return!1;if(C&&localStorage.getItem("forcebackdrop")==="1")return!0;if(this.overlayBottom||this.selectedExhibitor?.leadingImageUrl&&!this.selectedExhibitor?.leadingImageLinkUrl)return!1;const t=Ql.satisfies({safari:">=13"}),e=Ql.satisfies({chrome:">=77"});var s=/(android)/i.test(navigator.userAgent);return s?!1:t||e&&P.canvasSizePt.height*P.canvasSizePt.width<3e6}forceDimm=a(this,ba,!1);setForceDimm(t){this.forceDimm=t}get dimmed(){return this.forceDimm||this.pathwayOnlyMode?!0:this.highlightedBooths.size>0||this.list?.type==="search"&&this.list?.text?.trim().length>0||this.list?.type==="exhibitors"}get defaultSearchItems(){const{exhibitorStore:t,categoryStore:e,boothStore:s,heatmapStore:f}=this.rootStore;let r=t.exhibitors;const c=e.categories.filter(p=>p.exhibitors.length),m=s.booths;this.selectedPoiTypeFilters.length>0&&(r=r.filter(p=>p.booths.some(_=>this.selectedPoiTypeFilters.some(S=>_.poiTypeId===S.id))));let g=[];const w=!this.selectedCategoryFilters.length&&z.showCategories?c.filter(p=>hr.includes(V.EXPO)?!p.name.includes("/"):!0):[],D=m.filter(p=>p instanceof Y);return this.selectedCategoryFilters.length>0?g=[...r]:(z.showCompaniesAndBooths&&(g=g.concat(r)),z.showOtherSpaces&&(g=g.concat(D))),this.heatmap?[...r,...m].sort((_,S)=>f.getClicksByType(S)-f.getClicksByType(_)):this.heatmapYah?f.heatmapData?.yah?.sort((p,_)=>f.getClicksByType(_)-f.getClicksByType(p))||[]:r.length===0?m:w.concat(g.sort((p,_)=>{const S=p instanceof b&&p.featured!==void 0,B=_ instanceof b&&_.featured!==void 0;if(S!==B)return S?-1:1;const L=p instanceof Y&&p.title?p.title:p.name,G=_ instanceof Y&&_.title?_.title:_.name;return L.localeCompare(G,void 0,{sensitivity:"base",numeric:!0})}))}get searchItems(){if(this.list.type!=="search")return[];let t=this.list.text?.trim().toLowerCase()||"";const{exhibitorStore:e,categoryStore:s,boothStore:f,eventStore:r,speakerStore:c,heatmapStore:m}=this.rootStore;let g=e.exhibitors;const w=s.categories.filter(d=>d.exhibitors.length),D=f.booths,p=r.eventItems,_=c.speakers;if(this.selectedCategoryFilters.length>0&&(g=g.filter(d=>this.selectedCategoryFilters.some(h=>d.categories.some(v=>v.id===h.id)))),this.selectedPoiTypeFilters.length>0&&(g=g.filter(d=>d.booths.some(h=>this.selectedPoiTypeFilters.some(v=>h.poiTypeId===v.id)))),!t)return this.defaultSearchItems;const S=[t.replace(/&[^&=]+=[^&]+/g,"")];if(this.heatmapYah)return m.heatmapData.yah.filter(h=>Number.isNaN(Number(t))?h:h.viewCount>=Number(t)).sort((h,v)=>m.getClicksByType(v)-m.getClicksByType(h));const B=[],L=new Set,G=new Set,Hl=new Set,$l=new Set;function Vl(d){return d?d.replace(/[!@#$%^*-\.,\(\)^#$%:?_+'"\/]/g," ").replace(/\s\s+/g," "):""}function I(d,h){return!d||!h?!1:Vl(d).toLowerCase().includes(Vl(h).toLowerCase())}function Nl(d,h){return d?I(d,h)||I(z.levelTerm+" "+d,h):!1}g.forEach(d=>{S.some(h=>I(d.name,h)||d.booths.some(v=>!h&&I(v.name,h)||Nl(v.layer?.name??null,h)))&&L.add(d)}),this.selectedCategoryFilters.length>0&&D.forEach(d=>{(this.heatmap||!(d instanceof E)||!Array.from(L).find(v=>v.booths.includes(d)))&&S.some(v=>I(d.title||"",v)||I(d.name,v)||I(d.fullName,v)||Nl(d.layer?.name??null,v))&&G.add(d)});const jl=p,Wl=_;if(jl.forEach(d=>{S.some(h=>I(d.name||"",h)||I(d.description||"",h))&&Hl.add(d)}),Wl.forEach(d=>{S.some(h=>I(d.name,h)||I(d.company,h)||I(d.jobTitle,h))&&$l.add(d)}),B.push(...Hl),B.push(...L),this.heatmap)return B.sort((d,h)=>m.getClicksByType(h)-m.getClicksByType(d));const Zl=new Map(B.map(d=>[d.id,d]));return B.map(d=>{if(!d.name)return null;const h=Yl(d instanceof T&&d.fullName.toLowerCase()||d.name.toLowerCase()),v=h.indexOf(Yl(t));if(v===-1)return null;const Kl={id:d.id,position:v,lowerCaseName:h,featured:!1};return d instanceof b&&(Kl.featured=d.featured),Kl}).filter(Boolean).sort((d,h)=>(d.featured||h.featured)&&d.featured!==h.featured?d.featured?-1:1:d.position!==h.position?d.position-h.position:d.lowerCaseName.localeCompare(h.lowerCaseName)||String(d.id).localeCompare(String(h.id))).map(({id:d})=>Zl.get(d))}get searchList(){return[...this.rootStore.eventStore.eventItems,...this.rootStore.speakerStore.speakers,...this.rootStore.categoryStore.categories.filter(t=>t.exhibitors.length),...this.rootStore.exhibitorStore.exhibitors,...this.rootStore.boothStore.booths]}get foundInDescription(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return[];const e=this.fuzzySearchItems.map(({item:c})=>c),s=new Set(e.map(c=>c.name)),r=this.categoryFilteredSearchList.filter(c=>!s.has(c.name)).filter(c=>c.description&&c.description?.includes(t));return r.sort((c,m)=>{const g=c.description?.toLowerCase().indexOf(t),w=m.description?.toLowerCase().indexOf(t);return g-w}),r}get foundInDescriptionStruct(){const t={};if(this.list?.type!=="search")return t;const e=this.list?.text?.trim().toLowerCase();return this.foundInDescription.forEach(s=>{const f=s.description;if(!f)return;const r=f.indexOf(e);if(r===-1)return;const c=3,m=r>c?r-c:0,g=f.substring(m).trim();t[s.id]=r>0?`...${g}`:g}),t}get categoryFilteredSearchList(){return this.selectedCategoryFilters.length===0?this.searchList:this.searchList.filter(t=>t instanceof b&&this.selectedCategoryFilters.some(e=>t.categories.some(s=>s.id===e.id)))}get fuzzySearchItems(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return this.defaultSearchItems.map(r=>({item:r,score:0,matches:[]}));const e=this.rootStore.fuzzySearchEngineStore.search(this.categoryFilteredSearchList,t),s=[],f=[];for(const r of e){const c=r.item,m=c.entity.type,g=m==="booth"?c:null,w=m==="exhibitor"?c:null,D=[c.name?.toLowerCase()??"",g?.title?.toLowerCase()??"",g?.fullName?.toLowerCase()??"",...w?.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:c,score:0},pos:p}):f.push(r)}return s.sort((r,c)=>r.pos-c.pos),[...s.map(r=>r.result),...f]}get listItems(){if(this.details instanceof R&&this.list.type!=="multi-point-tour")return[this.details.from,this.details.to].filter(t=>t);switch(this.list.type){case"search":let t=!(this.heatmap||this.heatmapYah)&&this.rootStore.fuzzySearchEngineStore.engine?this.fuzzySearchItems.map(({item:r})=>r).concat(this.foundInDescription):this.searchItems;return t=t.filter(r=>r.entity.type==="booth"?!r.exhibitors.length:!0),this.hasAppliedFilters?t.filter(r=>{if(this.selectedCategoryFilters.length>0&&r instanceof b&&!this.selectedCategoryFilters.some(c=>r.categories.some(m=>m.id===c.id)))return!1;if(this.selectedPoiTypeFilters.length>0){if(r instanceof b&&!r.booths.some(c=>this.selectedPoiTypeFilters.some(m=>c.poiTypeId===m.id))||r instanceof T&&!this.selectedPoiTypeFilters.some(c=>r.poiTypeId===c.id))return!1;if(r instanceof F&&r.boothId){const c=this.rootStore.boothStore.booths.find(m=>m.id===r.boothId);if(!c||!this.selectedPoiTypeFilters.some(m=>c.poiTypeId===m.id))return!1}}return!0}):t;case"bookmarks":return[...this.rootStore.exhibitorStore.bookmarked,...this.rootStore.eventStore.bookmarked,...this.rootStore.speakerStore.bookmarked,...this.rootStore.boothStore.booths.filter(r=>r.exhibitors.length===0&&r.bookmarkedDirectly)];case"visited":return[...this.rootStore.exhibitorStore.visited,...this.rootStore.eventStore.visited];case"category":return this.list.category.exhibitors;case A:return rr();case"filter":return this.list.items;case"sessions":return this.rootStore.eventStore.eventItems;case"exhibitors":const e=this.rootStore.exhibitorStore.exhibitors,s=this.list.text?.toLowerCase().trim();return s?e.filter(r=>r.name.toLowerCase().includes(s)):e;case"multi-point-tour":const f=this.rootStore.toursStore.getTourById(this.list.tourId);return f?!f.points||f.points.length===0?[]:f.points.map(r=>{const c=parseInt(r);if(!isNaN(c)){const g=this.rootStore.boothStore.boothById.get(c);if(g)return g}return nr(r)?.entity||null}).filter(Boolean):[];case"route-planner":return this.rootStore.routePlannerStore.resolvedBooths}throw new Error("Unknown list.type")}get listBooths(){return K(this.listItems,this.rootStore.boothStore.booths,this.rootStore.eventStore.eventItems)}get selectedBooths(){let t=[];this.selectedExhibitor?t=this.selectedExhibitor.booths:this.selectedBooth&&(t=[this.selectedBooth]);const e=this.selectedRoute;return e?.from&&t.push(e.from),e?.to&&t.push(e.to),e?.waypoints&&e?.waypoints?.forEach(s=>t.push(s)),new Set(t)}get hoveredBooths(){let t;return this.hoveredBooth?t=[this.hoveredBooth]:this.hoveredExhibitor&&(t=this.hoveredExhibitor.booths),new Set(t)}get visibility(){return{controls:!this.mapControlsHidden,levels:!this.floorsControlHidden,header:this.wsShown,overlay:!this.hideOverlay}}setVisibility(t){const e={...Object.keys(this.visibility).reduce((s,f)=>({...s,[f]:!0}),{}),...Object.keys(t).filter(s=>this.visibility.hasOwnProperty(s)).reduce((s,f)=>({...s,[f]:t[f]}),{})};Object.values(e).every(Boolean)?C&&localStorage.removeItem(Gl):C&&localStorage.setItem(Gl,JSON.stringify(e)),this.mapControlsHidden=!e.controls,this.floorsControlHidden=!e.levels,this.hideHeaderLogo=!e.header,this.hideFreeOrDemo=!e.header,this.hideOverlay=!e.overlay}toggleMapOverlay(){this.overlayPosition==="bottom"&&this.overlaySize==="full"?this.desiredOverlaySize="medium":this.overlayPosition==="bottom"&&this.overlaySize!=="full"&&(this.desiredOverlaySize="full")}changeZoom(t){this.zoomBy=t}zoomIn(){this.changeZoom(1.5)}zoomOut(){this.changeZoom(.66)}fitBounds(){this.moveToRect=this.rootStore.layerStore.rectangle||ir,this.rollReset=!0}get previewMode(){return C&&localStorage.getItem(ql)==="1"||this.rootStore.fp.previewMode}get viewerMode(){return C&&localStorage.getItem(er)==="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(Xl,JSON.stringify(t))}setMapSettings(t){const e={};for(const s in t)t[s]!=null&&(s==="zoomtime"?e[s]=Math.min(Math.max(t[s]||this.mapSettings.zoomtime,500),5e3):e[s]=t[s]);this.mapSettings={...this.mapSettings,...e},this.saveMapSettings(this.mapSettings)}resetMapSettings(){this.mapSettings={...this.defaultMapSettings},this.saveMapSettings(this.mapSettings)}get baseQRCodeUrl(){return`https://${V.EXPO}.expofp.com`}get viewMapOnPhoneQRCodeUrl(){if(z?.customKioskQrCodeUrl)return z.customKioskQrCodeUrl;const t=new URL(this.baseQRCodeUrl);t.search=window.location.search;const e=t.toString();return console.log("View Map On Phone QR Code Url",e),e}get routeQRCodeUrl(){const t=new URL(this.baseQRCodeUrl),e=this.selectedRoute?.to?.slug||"",s=this.selectedRoute?.from?.slug||"";t.search=`?route%3A${encodeURIComponent(e)}%3A${encodeURIComponent(s)}%3Afalse`,cr(t.searchParams,this.kioskData,["x","y","z"]);const f=t.toString();return console.log("Route QR Code Url",f),f}get isFeaturedExhibitorActive(){return this.details instanceof b&&!!this.details.featured}get activeInterfaceData(){for(const t of this.interfaceMetadata)if(t.isActive())return t;return null}get searchBoxConfig(){const t=this.activeInterfaceData;return!t||!t.searchBoxConfig?{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}:t.searchBoxConfig()||{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}}get searchBoxActions(){return this.activeInterfaceData?.actions?.()??[]}get overlayInterfaceClasses(){const t=[],e=this.activeInterfaceData;return e&&(t.push(e.className),e.additionalClasses&&t.push(...e.additionalClasses())),this.details&&t.push("overlay-has-details"),this.list.type&&t.push(`overlay-list-${this.list.type}`),this.isFeaturedExhibitorActive&&t.push("overlay-exhibitor-featured"),t}get isOverlayOpen(){return this.noOverlay||this.hideOverlay?!1:this.activeInterfaceData!==null}setOverlayScrolled(t){this.isOverlayScrolled=t}setListScrollTop(t,e){this.listScrollTop=e,this.scrollPositions.set(t,e)}setListScrollItemId(t,e){this.listScrollItemId=e,this.scrollItemIds.set(t,e)}getListScrollTop(t){return this.scrollPositions.get(t)||0}getListScrollItemId(t){return this.scrollItemIds.get(t)||null}clearListScroll(t){this.scrollPositions.delete(t),this.scrollItemIds.delete(t),this.list.type===t&&(this.listScrollTop=0,this.listScrollItemId=null)}get bannerType(){return this.hideFreeOrDemo||this.heatmap?null:V.EXPO==="expo"?"demo":z.expoFpAd||z.isTrial?"free":null}get isBannerVisible(){return this.bannerType!==null}setCurrentBanner(t){this.currentBanner=t}forceShowDetails=(a(this,ja),a(this,pl,!1));setForceShowDetails(t){this.forceShowDetails=t}get showRouteInstantly(){return!!(this.kiosk&&!this.forceShowDetails)}buildRoute=(a(this,_l),a(this,kl,!1));startBuildRoute(){this.rootStore.selectSearch(""),this.mapControlsHidden=!0,this.floorsControlHidden=!0,this.hideHeaderLogo=!0,this.hideFreeOrDemo=!0,this.hideOverlay=!0,this.hideCookieConsent=!0,this.buildRoute=!0}globalErrorMessages=(a(this,Il),a(this,zl,[]));setGlobalErrorMessage(t){this.globalErrorMessages.push(t)}popGlobalErrorMessage(){this.globalErrorMessages.pop()}initializeUIScale(){if(new URLSearchParams(window.location.search).get("kiosk")!=="0"&&C){const e=localStorage.getItem(Q);if(e){const s=parseFloat(e);!isNaN(s)&&s>=.8&&s<=1.4&&(this._customUIScale=s)}}}minUIScale=(a(this,Cl),.8);maxUIScale=1.4;setUIScale(t,e=!0){if(isNaN(t)||t<this.minUIScale||t>this.maxUIScale){tr.warn(`Invalid ui-scale value: ${t}. Must be between ${this.minUIScale} and ${this.maxUIScale}.`);return}this._customUIScale=t,e&&C&&localStorage.setItem(Q,t.toString())}resetUIScale(){this._customUIScale=null,C&&localStorage.removeItem(Q)}setKioskModeEnabled=a(this,Ol,!1);enableSetKioskMode(t){this.setKioskModeEnabled=t}kioskData=(a(this,Dl),a(this,El,void 0));setKioskData(t){this.kioskData=t}}})();export default ur;function K(U,O,H=[]){const x=[];return U.forEach(k=>{k instanceof b?x.push(...k.booths):k instanceof T?x.push(k):k instanceof F?k.boothId&&x.push(O.find(l=>l.id===k.boothId)):k instanceof $&&H.filter(l=>l.speakers.some(M=>M.id===k.id)&&l.boothId).forEach(l=>x.push(O.find(M=>M.id===l.boothId)))}),new Set(x.filter(Boolean))}
@@ -1 +1 @@
1
- import O from"color";import*as M from"d3-selection";import w from"../../core/Rect";import A from"../../data";import{getLayerSvg as U,getTrianglesFromFpPaths as X}from"../../data/svg";import{getNextId as D}from"../../tools/id";import v from"../../tools/logger";import F from"../../tools/settings";import{generateUniqueSlug as P}from"../../tools/slug";import{sortByName as V}from"../../utils";import{extractMetaFromString as z}from"../../utils/extractMetaFromString";import{isYahBooth as T}from"../../utils/yah";import{RegularBooth as C,SpecialBooth as W}from"../BoothStore";import{Exhibitor as Y}from"../ExhibitorStore";import{uiState as $}from"../index";import{autorun as G}from"mobx";import{getStorage as L,saveStorage as H}from"../../utils/entity-storage";const S=new Map,B=[];export function iniAllBooths(e){const d=parseInt(Q("copy_exh"));for(const a of A.booths||[]){const{text:l,meta:m}=z(a.name);a.meta=m;const o=a.special?new W:new C;Object.assign(o,a),o.slug=P(o.name),S.set(o.name.toLowerCase(),o),J(o);const c=o;c.exhibitors=[];for(const p of a.exhibitors){const u=e.exhibitorStore.exhibitorById.get(p);u&&(c.exhibitors.push(u),d&&R(u,c,d),u.booths.push(c))}!a.exhibitors.length&&d&&R(null,c,d),o.schedule=e.eventStore.eventItems.filter(p=>p.boothId===o.id),o.yah=T(o),o.name=l,B.push(o)}B.sort((a,l)=>a.name.localeCompare(l.name,void 0,{sensitivity:"base",numeric:!0}));for(const a of e.exhibitorStore.exhibitors)V(a.booths);e.boothStore.booths=B,delete A.booths,v.log("initBooths",e.boothStore.booths.length),j(e)}function j(e){const l=(L("bookmarked").booths||[]).filter(m=>{const o=e.boothStore.boothById.get(m);return o&&o.exhibitors.length===0});e.boothStore.replaceBookmarked(l),G(()=>{const m=L("bookmarked"),o=e.boothStore.booths.filter(c=>c.exhibitors.length===0&&c.bookmarkedDirectly).map(c=>c.id);H("bookmarked",{exhibitors:m.exhibitors,events:m.events,speakers:m.speakers,booths:o})})}const _=[];export default function q(e,d){const a=d.name;if(_.indexOf(a)>-1)return[];_.push(a);const{boothStore:l,layerStore:m}=e,o=[],c=!!window.__fpLayers,p=M.select(U(d)).selectAll(`[data-layer='${a}'] > [data-tagname='efp-booth'], [data-layer='${a}'] > g[id^=b], [data-layer='${a}'] > rect[id^=b]`).nodes();for(const r of p){const I=r.closest("svg > [data-layer]").attributes["data-layer"]?.value;if(!I)continue;let i,E=!1;r.tagName==="rect"?i=r:(i=Array.from(r.children).find(s=>s.tagName==="rect"),E=i===r.firstElementChild);const g=(r.id||r.getAttribute("data-name")).substring(1).toLowerCase();let t=S.get(g),n=t instanceof C?t:null,N=t instanceof W?t:null;if(t||(v.error("SVG booth rect not found in __data:",g),t=n=new C,t.id=D(),t.name=g.toUpperCase(),t.slug=P(g),t.error=!0,t.exhibitors=[],S.set(g,t)),o.push(t),t.layer=c?m.layers.find(s=>s.name===I):null,t.borderColor=i?.getAttribute("stroke")||i?.style.stroke||F.boothBorderColor||"#FFFFFF",t.borderWidth=parseFloat(i?.getAttribute("stroke-width")||i?.style.strokeWidth),isNaN(t.borderWidth)&&(t.borderWidth=l.borderWidth),!$.heatmap)t.labelColor=i?.getAttribute("data-label-color");else{const s=e.heatmapStore.getTotalClicksByBooth(t),h=O(e.heatmapStore.getColorByClicks(s));t.labelColor=h.darken(.3).isLight()?"#555":"#fff"}t.rect=i?w.fromSvgRectElement(i):null,t.noLabels=!!i?.dataset.nolabel||i?.id.startsWith("no"),n?(n.availColor=r.getAttribute("data-avail-color")||i?.getAttribute("data-avail-color")||n.availColor,n.soldColor=r.getAttribute("data-sold-color")||i?.getAttribute("data-sold-color")||n.soldColor,n.holdColor=r.getAttribute("data-hold-color")||i?.getAttribute("data-hold-color")||n.holdColor,n.size=A.dimensionless?null:n.size||r.getAttribute("data-size"),n.status==="reserved"?n.reserved=!0:n.status==="onhold"&&(n.onHold=!0)):N.color=(parseInt(i.getAttribute("data-poi-type"))>0?i.style?.fill:r.getAttribute("data-color")||i.getAttribute("data-color"))||N.color;const y=i?.getAttribute("transform");if(y){const s=y.match(/translate\(([-0-9.]+) ([-0-9.]+)\) rotate\(([-0-9.]+)\)/);if(s){const b=parseFloat(s[3]);t.rotate=-b*Math.PI/180}else{const b=y.match(/rotate\(([-0-9.]+).*\)/);if(b){const f=parseFloat(b[1]);t.rotate=-f*Math.PI/180}else{const f=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*\)/);f&&(t.rotate=Math.asin(-parseFloat(f[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=E;var u=[];for(const s of M.select(r).selectAll("path, rect").nodes())if(s.tagName==="path"){const h=s;if(h.tagName!=="path")continue;const b=t.yah&&r.style?.fill?.replace("none","")||h.style.fill,f=parseInt(h.getAttribute("data-index")),k=!!h.getAttribute("data-unblinking");t.paths.push({index:f,color:b,unblinking:k}),i||u.push(...X(f,a))}if(u.length){let s=Number.MAX_VALUE,h=Number.MAX_VALUE,b=Number.MIN_VALUE,f=Number.MIN_VALUE;u.forEach(k=>{k.forEach(x=>{s=Math.min(s,x[0]),h=Math.min(h,x[1]),b=Math.max(b,x[0]),f=Math.max(f,x[1])})}),t.rect=w.fromXywh(s,h,b-s,f-h),t.noLabels=!0}}}for(const r of o)r.rect?r.store=l:(v.error("__data booth not found in SVG:",r.name,r),o.splice(o.indexOf(r),1));return o.filter(r=>r.yah&&r!==e.routeStore.defaultFrom).forEach(r=>o.splice(o.indexOf(r),1)),o}function Q(e){return new URLSearchParams(window.location.search).get(e)}function R(e,d,a){let l=new Y;l.name="EXHIBITOR NAME",l.slug="exhibitor-name",l.booths=[],l=e||l;for(let m=0;m<a;m++){const o={...l,id:Date.now()};d.exhibitors.push(o)}}function J(e){F.EXPO==="cbresupplypartner"&&e instanceof C&&!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 O from"color";import*as N from"d3-selection";import M from"../../core/Rect";import k from"../../data";import{getLayerSvg as U,getTrianglesFromFpPaths as X}from"../../data/svg";import{getNextId as D}from"../../tools/id";import A from"../../tools/logger";import w from"../../tools/settings";import{generateUniqueSlug as F}from"../../tools/slug";import{sortByName as V}from"../../utils";import{extractMetaFromString as z}from"../../utils/extractMetaFromString";import{RegularBooth as C,SpecialBooth as P}from"../BoothStore";import{Exhibitor as T}from"../ExhibitorStore";import{uiState as $}from"../index";import{autorun as G}from"mobx";import{getStorage as W,saveStorage as H}from"../../utils/entity-storage";const v=new Map,S=[];export function iniAllBooths(e){const d=parseInt(q("copy_exh"));for(const r of k.booths||[]){const{text:l,meta:h}=z(r.name);r.meta=h;const o=r.special?new P:new C;Object.assign(o,r),o.slug=F(o.name),v.set(o.name.toLowerCase(),o),Q(o);const m=o;m.exhibitors=[];for(const p of r.exhibitors){const u=e.exhibitorStore.exhibitorById.get(p);u&&(m.exhibitors.push(u),d&&_(u,m,d),u.booths.push(m))}!r.exhibitors.length&&d&&_(null,m,d),o.schedule=e.eventStore.eventItems.filter(p=>p.boothId===o.id),o.name=l,S.push(o)}S.sort((r,l)=>r.name.localeCompare(l.name,void 0,{sensitivity:"base",numeric:!0}));for(const r of e.exhibitorStore.exhibitors)V(r.booths);e.boothStore.booths=S,delete k.booths,A.log("initBooths",e.boothStore.booths.length),Y(e)}function Y(e){const l=(W("bookmarked").booths||[]).filter(h=>{const o=e.boothStore.boothById.get(h);return o&&o.exhibitors.length===0});e.boothStore.replaceBookmarked(l),G(()=>{const h=W("bookmarked"),o=e.boothStore.booths.filter(m=>m.exhibitors.length===0&&m.bookmarkedDirectly).map(m=>m.id);H("bookmarked",{exhibitors:h.exhibitors,events:h.events,speakers:h.speakers,booths:o})})}const L=[];export default function j(e,d){const r=d.name;if(L.indexOf(r)>-1)return[];L.push(r);const{boothStore:l,layerStore:h}=e,o=[],m=!!window.__fpLayers,p=N.select(U(d)).selectAll(`[data-layer='${r}'] > [data-tagname='efp-booth'], [data-layer='${r}'] > g[id^=b], [data-layer='${r}'] > rect[id^=b]`).nodes();for(const a of p){const B=a.closest("svg > [data-layer]").attributes["data-layer"]?.value;if(!B)continue;let i,I=!1;a.tagName==="rect"?i=a:(i=Array.from(a.children).find(s=>s.tagName==="rect"),I=i===a.firstElementChild);const g=(a.id||a.getAttribute("data-name")).substring(1).toLowerCase();let t=v.get(g),n=t instanceof C?t:null,E=t instanceof P?t:null;if(t||(A.error("SVG booth rect not found in __data:",g),t=n=new C,t.id=D(),t.name=g.toUpperCase(),t.slug=F(g),t.error=!0,t.exhibitors=[],v.set(g,t)),o.push(t),t.layer=m?h.layers.find(s=>s.name===B):null,t.borderColor=i?.getAttribute("stroke")||i?.style.stroke||w.boothBorderColor||"#FFFFFF",t.borderWidth=parseFloat(i?.getAttribute("stroke-width")||i?.style.strokeWidth),isNaN(t.borderWidth)&&(t.borderWidth=l.borderWidth),!$.heatmap)t.labelColor=i?.getAttribute("data-label-color");else{const s=e.heatmapStore.getTotalClicksByBooth(t),c=O(e.heatmapStore.getColorByClicks(s));t.labelColor=c.darken(.3).isLight()?"#555":"#fff"}t.rect=i?M.fromSvgRectElement(i):null,t.noLabels=!!i?.dataset.nolabel||i?.id.startsWith("no"),n?(n.availColor=a.getAttribute("data-avail-color")||i?.getAttribute("data-avail-color")||n.availColor,n.soldColor=a.getAttribute("data-sold-color")||i?.getAttribute("data-sold-color")||n.soldColor,n.holdColor=a.getAttribute("data-hold-color")||i?.getAttribute("data-hold-color")||n.holdColor,n.size=k.dimensionless?null:n.size||a.getAttribute("data-size"),n.status==="reserved"?n.reserved=!0:n.status==="onhold"&&(n.onHold=!0)):E.color=(parseInt(i.getAttribute("data-poi-type"))>0?i.style?.fill:a.getAttribute("data-color")||i.getAttribute("data-color"))||E.color;const y=i?.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(a.tagName==="g"){t.paths=[],t.pathsWithRect=I;var u=[];for(const s of N.select(a).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}),i||u.push(...X(f,r))}if(u.length){let s=Number.MAX_VALUE,c=Number.MAX_VALUE,f=Number.MIN_VALUE,b=Number.MIN_VALUE;u.forEach(R=>{R.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=M.fromXywh(s,c,f-s,b-c),t.noLabels=!0}}}for(const a of o)a.rect?a.store=l:(A.error("__data booth not found in SVG:",a.name,a),o.splice(o.indexOf(a),1));return o}function q(e){return new URLSearchParams(window.location.search).get(e)}function _(e,d,r){let l=new T;l.name="EXHIBITOR NAME",l.slug="exhibitor-name",l.booths=[],l=e||l;for(let h=0;h<r;h++){const o={...l,id:Date.now()};d.exhibitors.push(o)}}function Q(e){w.EXPO==="cbresupplypartner"&&e instanceof C&&!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 +1 @@
1
- import c from"../data";import a from"./logger";import{yahKey as m}from"../utils/yah";import{getLocationHistory as f}from"../services/routing";import{uiState as u}from"../store";import{getSavedKiosk as p}from"../components/Kiosk/SetKiosk";import{requestKioskKey as d}from"../components/Kiosk/requestKioskKey";import{createTelemetry as g}from"./telemetry";let i;function S(){if(i)return i;const o=window.__efpEvent;let t;try{const e=new URL(c.trackerUrl).searchParams.get("expoId");t=e?Number(e):void 0}catch(e){a.error(e)}return i=g({url:"https://app.expofp.com/api/telemetry",expo:o,expoId:t}),i}function s(o,t){const e=localStorage.getItem(m),n=f(),r=n[n.length-2];return{type:o,value:t!==void 0?String(t):"",timestamp:new Date().toISOString(),url:`${window.location.href}${e?`#${encodeURIComponent(e)}`:""}`,referrer:r?window.location.origin+r:""}}function v(){return!!c?.trackerUrl&&process.env.NODE_ENV==="production"&&!u.heatmap}export default async function y(o,t){if(a.log("trackEvent",o,t),!!v())try{const e=S(),n=p();if(n){const r=await k(n);if(r)e.setKioskId(r);else{e.enqueue(s(o,t));return}}h(e),await e.send(s(o,t))}catch(e){a.error("trackEvent",String(e))}}async function k(o){if(!o)return null;const t="expofp-kiosk-stats-id";let e=localStorage.getItem(t);return e||(e=await d(o,"https://app.expofp.com/"),e?(localStorage.setItem(t,e),e):null)}let l=!1;function h(o){if(l)return;l=!0;const t="efp-track-events";try{const e=localStorage.getItem(t);if(!e)return;const n=JSON.parse(e);if(!Array.isArray(n)){localStorage.removeItem(t);return}for(const r of n)!r||typeof r!="object"||!r.headers||o.enqueue({type:r.type,value:r.value!==void 0?String(r.value):"",timestamp:r.timeStamp,url:r.headers["X-href"],referrer:r.headers["X-ref"]??""});localStorage.removeItem(t)}catch(e){localStorage.removeItem(t),a.error("Failed to migrate old events.",String(e))}}
1
+ import c from"../data";import i from"./logger";import{getLocationHistory as f}from"../services/routing";import{uiState as m}from"../store";import{getSavedKiosk as u}from"../components/Kiosk/SetKiosk";import{requestKioskKey as p}from"../components/Kiosk/requestKioskKey";import{createTelemetry as d}from"./telemetry";let a;function g(){if(a)return a;const r=window.__efpEvent;let t;try{const e=new URL(c.trackerUrl).searchParams.get("expoId");t=e?Number(e):void 0}catch(e){i.error(e)}return a=d({url:"https://app.expofp.com/api/telemetry",expo:r,expoId:t}),a}function s(r,t){const e=f(),n=e[e.length-2];return{type:r,value:t!==void 0?String(t):"",timestamp:new Date().toISOString(),url:window.location.href,referrer:n?window.location.origin+n:""}}function S(){return!!c?.trackerUrl&&process.env.NODE_ENV==="production"&&!m.heatmap}export default async function v(r,t){if(i.log("trackEvent",r,t),!!S())try{const e=g(),n=u();if(n){const o=await k(n);if(o)e.setKioskId(o);else{e.enqueue(s(r,t));return}}y(e),await e.send(s(r,t))}catch(e){i.error("trackEvent",String(e))}}async function k(r){if(!r)return null;const t="expofp-kiosk-stats-id";let e=localStorage.getItem(t);return e||(e=await p(r,"https://app.expofp.com/"),e?(localStorage.setItem(t,e),e):null)}let l=!1;function y(r){if(l)return;l=!0;const t="efp-track-events";try{const e=localStorage.getItem(t);if(!e)return;const n=JSON.parse(e);if(!Array.isArray(n)){localStorage.removeItem(t);return}for(const o of n)!o||typeof o!="object"||!o.headers||r.enqueue({type:o.type,value:o.value!==void 0?String(o.value):"",timestamp:o.timeStamp,url:o.headers["X-href"],referrer:o.headers["X-ref"]??""});localStorage.removeItem(t)}catch(e){localStorage.removeItem(t),i.error("Failed to migrate old events.",String(e))}}
@@ -1,2 +1,2 @@
1
- export declare function handleCustomCommand(text: string, forseRefresh: boolean): boolean;
1
+ export declare function handleCustomCommand(text: string): boolean;
2
2
  //# sourceMappingURL=customCommands.d.ts.map
@@ -1 +1 @@
1
- import*as a from"./yah";import{isLocalStorageAvailable as l}from"./localStorage";import{DEBUG_KEY as f,KIOSK_ENABLE_KEY as n,SET_KIOSK_KEY as g}from"../constants";import{getRebookingTokenFromQuery as d}from"../tools/rebookingUrl";import u from"./is-mobile";import w from"./is-webview";import{handleDebugMode as y}from"../tools/handleDebugMode";import v,{uiState as c}from"../store";const p=u||w;export function handleCustomCommand(i,r){if(i=i.trim(),i.startsWith(`${a.yahKey}`)){const e=i.substr(a.yahKey.length).trim();var s=window.location.origin+window.location.pathname;if(e[1]===void 0){const t=a.getYah();alert(`"You are here" coordinantes: ${t[0]} ${t[1]}, scale ${t[2]}`)}else if(e==="none")a.removeYah(),l&&localStorage.removeItem(n),r&&window.location.replace(s);else if(e.split(",").length===1)a.setYah(e.split(",")[0]),l&&!p&&(localStorage.setItem(n,"1"),c.kiosk=!0),r&&window.location.replace(s);else if(e.split(",").length===2||e.split(",").length===3){const t=e.split(","),o=parseFloat(t[0].trim()),m=parseFloat(t[1].trim());let h=1;e.split(",").length===3&&(h=parseFloat(t[2].trim())),o&&m&&(a.setYah(`${o},${m},${h}`),l&&!p&&(localStorage.setItem(n,"1"),c.kiosk=!0),r&&window.location.replace(s))}return!0}else if(i.toLowerCase()==="__addcache")navigator.serviceWorker.getRegistrations().then(e=>{if(!e.length)return alert("No registered service workers.");var t=[];v.exhibitorStore.exhibitors.forEach(o=>{t.push(o.logo),t.push(...o.gallery||[])}),Promise.all(t.map(o=>fetch(o))).then(o=>alert(`${o.length} images loaded.`)).catch(o=>alert(o))});else if(/^copy_exh=\d+/.test(i)){const e=i.match(/^copy_exh=(\d+)/);if(e&&!isNaN(parseInt(e[1]))){const o=`${window.location.origin+window.location.pathname}?${e[0]}`;window.location.replace(o)}}else{if(d())return!0;i.startsWith(f)?y():i.toLowerCase().startsWith(g)&&c.enableSetKioskMode(!0)}return!1}
1
+ import{DEBUG_KEY as i,SET_KIOSK_KEY as a}from"../constants";import{getRebookingTokenFromQuery as n}from"../tools/rebookingUrl";import{handleDebugMode as s}from"../tools/handleDebugMode";import l,{uiState as c}from"../store";export function handleCustomCommand(o){if(o=o.trim(),o.toLowerCase()==="__addcache")navigator.serviceWorker.getRegistrations().then(r=>{if(!r.length)return alert("No registered service workers.");var t=[];l.exhibitorStore.exhibitors.forEach(e=>{t.push(e.logo),t.push(...e.gallery||[])}),Promise.all(t.map(e=>fetch(e))).then(e=>alert(`${e.length} images loaded.`)).catch(e=>alert(e))});else if(/^copy_exh=\d+/.test(o)){const r=o.match(/^copy_exh=(\d+)/);if(r&&!isNaN(parseInt(r[1]))){const e=`${window.location.origin+window.location.pathname}?${r[0]}`;window.location.replace(e)}}else{if(n())return!0;o.startsWith(i)?s():o.toLowerCase().startsWith(a)&&c.enableSetKioskMode(!0)}return!1}
@@ -2,12 +2,8 @@ import type { Booth } from "../../store/BoothStore";
2
2
  import type { RouteEndpoint } from "../core";
3
3
  /**
4
4
  * Converts an efp `Booth` to a neutral {@link RouteEndpoint}.
5
- *
6
- * - Regular booth `{x, y}` at rect centroid + `bounds` as a 4-vertex
7
- * polygon respecting the booth's rotation.
8
- * - `RouteCutIn` (kiosk-like) → `{x, y}` at the kiosk's physical point
9
- * with **no `bounds`**. Runtime detects the missing `bounds` and draws a
10
- * dotted trail from the nearest graph anchor to this off-graph point.
5
+ * Regular booth → centroid + 4-vertex rotated polygon as `bounds`.
6
+ * RouteCutIn (kiosk)kiosk's physical point, **no `bounds`** (runtime draws a dotted trail).
11
7
  */
12
8
  export declare function boothToEndpoint(booth: Booth): RouteEndpoint;
13
9
  //# sourceMappingURL=boothToEndpoint.d.ts.map
@@ -1 +1 @@
1
- import n from"../../core/Polygon";function y(e){return e.entity?.type==="route-cut-in"}export function boothToEndpoint(e){if(y(e)){const t=e.destination;return{x:t.x,y:t.y,layer:e.layer?.name??""}}const r=n.fromRect(e.rect).rotate(e.rotate,e.rect.cx,e.rect.cy);return{x:e.rect.cx,y:e.rect.cy,layer:e.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 y from"../../core/Polygon";function c(t){return t.entity?.type==="route-cut-in"}export function boothToEndpoint(t){const n=t.layer?.name??"";if(c(t)){const r=t.destination;return{x:r.x,y:r.y,layer:n}}const e=y.fromRect(t.rect).rotate(t.rotate,t.rect.cx,t.rect.cy);return{x:t.rect.cx,y:t.rect.cy,layer:n,bounds:[{x:e.x1,y:e.y1},{x:e.x2,y:e.y2},{x:e.x3,y:e.y3},{x:e.x4,y:e.y4}]}}
@@ -1,5 +1,4 @@
1
1
  export { boothToEndpoint } from "./boothToEndpoint";
2
- export { boothToWaypoint } from "./boothToWaypoint";
3
2
  export { createCanvasIconProvider } from "./canvasIconProvider";
4
3
  export { createFloorContext } from "./floorContext";
5
4
  export { graphDataSource } from "./graphDataSource";
@@ -1 +1 @@
1
- export{boothToEndpoint}from"./boothToEndpoint";export{boothToWaypoint}from"./boothToWaypoint";export{createCanvasIconProvider}from"./canvasIconProvider";export{createFloorContext}from"./floorContext";export{graphDataSource}from"./graphDataSource";export{createKioskCanvas}from"./kioskCanvas";export{positionInput}from"./positionInput";
1
+ export{boothToEndpoint}from"./boothToEndpoint";export{createCanvasIconProvider}from"./canvasIconProvider";export{createFloorContext}from"./floorContext";export{graphDataSource}from"./graphDataSource";export{createKioskCanvas}from"./kioskCanvas";export{positionInput}from"./positionInput";
@@ -1 +1 @@
1
- import{reaction as f}from"mobx";import{boothToEndpoint as a,positionInput as g}from"./adapters";export function bindMobxReactions({runtime:s,kioskHandler:h,yahHandler:d,stores:{routeStore:e,uiState:n,layerStore:l}}){const p=[];function r(){const o=n.selectedRoute?.from,i=n.selectedRoute?.to;if(!o?.rect||!i?.rect){s.clearRoute();return}s.setRoute({from:a(o),to:a(i),waypoints:n.selectedRoute?.waypoints?.map(a),accessible:e.onlyAccessible})}function c(){const o=e.currentPosition,i=e.iconType!==0,y=!!(n.selectedRoute?.from&&n.selectedRoute?.to),b=i&&!y;if(!o){s.onPositionChanged(null),d(null);return}const u=g(o);b?(s.onPositionChanged(null),d({x:u.x,y:u.y,layer:u.layer})):(d(null),s.onPositionChanged(u))}function R(){const o=l.floors.find(i=>i.active)?.name;h(n.kioskData??null,o,l.mode)}p.push(f(()=>l.layersLoaded,()=>{r(),c()}),f(()=>[n.selectedRoute,e.onlyAccessible],()=>{r(),c()}),f(()=>e.currentPosition,()=>c()),f(()=>[n.kioskData,l.floors.find(o=>o.active)],()=>R()));let t=null;const m=f(()=>[e.currentRouteLayer,n.getRouteNextFloor],()=>{l.layersLoaded&&(t!==null&&clearTimeout(t),t=setTimeout(()=>{s.onFloorChanged(),c(),t=null},0))});return p.push(()=>{t!==null&&clearTimeout(t),m()}),r(),c(),R(),()=>{for(const o of p)o();p.length=0}}
1
+ import{reaction as u}from"mobx";import{boothToEndpoint as d,positionInput as g}from"./adapters";export function bindMobxReactions({runtime:e,kioskHandler:h,yahHandler:p,stores:{routeStore:t,uiState:n,layerStore:l}}){const f=[];function a(){const o=n.selectedRoute?.from,s=n.selectedRoute?.to;if(!o?.rect||!s?.rect){e.clearRoute();return}e.setRoute({from:d(o),to:d(s),waypoints:n.selectedRoute?.waypoints?.map(d),accessible:t.onlyAccessible})===!1&&console.error(new Error(`Route not found: ${o.name} \u2192 ${s.name}`))}function c(){const o=t.currentPosition,s=t.iconType!==0,m=!!(n.selectedRoute?.from&&n.selectedRoute?.to),b=s&&!m;if(!o){e.onPositionChanged(null),p(null);return}const r=g(o);b?(e.onPositionChanged(null),p({x:r.x,y:r.y,layer:r.layer})):(p(null),e.onPositionChanged(r))}function R(){const o=l.floors.find(s=>s.active)?.name;h(n.kioskData??null,o,l.mode)}f.push(u(()=>l.layersLoaded,()=>{a(),c()}),u(()=>[n.selectedRoute,t.onlyAccessible],()=>{a(),c()}),u(()=>t.currentPosition,()=>c()),u(()=>[n.kioskData,l.floors.find(o=>o.active)],()=>R()));let i=null;const y=u(()=>[t.currentRouteLayer,n.getRouteNextFloor],()=>{l.layersLoaded&&(i!==null&&clearTimeout(i),i=setTimeout(()=>{e.onFloorChanged(),c(),i=null},0))});return f.push(()=>{i!==null&&clearTimeout(i),y()}),a(),c(),R(),()=>{for(const o of f)o();f.length=0}}
@@ -1,13 +1,13 @@
1
- import type { GraphDataSource, RouteLine, RouteWaypoint } from "./types";
1
+ import type { GraphDataSource, RouteEndpoint, RouteLine } from "./types";
2
2
  export interface Route {
3
3
  readonly lines: RouteLine[];
4
4
  readonly distance: number;
5
5
  }
6
6
  export interface WayfindingEngine {
7
- buildRoute(from: RouteWaypoint, to: RouteWaypoint, options?: {
7
+ buildRoute(from: RouteEndpoint, to: RouteEndpoint, options?: {
8
8
  accessible?: boolean;
9
9
  }): Route;
10
- buildWaypointsRoute(waypoints: RouteWaypoint[], options?: {
10
+ buildWaypointsRoute(waypoints: RouteEndpoint[], options?: {
11
11
  accessible?: boolean;
12
12
  fastest?: boolean;
13
13
  }): Route;
@@ -0,0 +1,11 @@
1
+ import type { PolygonVertex } from "../types";
2
+ /** Convex polygon area via fan triangulation from vertex[0]. */
3
+ export declare function computePolygonArea(polygon: ReadonlyArray<PolygonVertex>): number;
4
+ /**
5
+ * Area-based point-in-polygon test with 1% relative tolerance. Convex polygons only.
6
+ * Inside ⇒ sum of (point, vertex_i, vertex_{i+1}) triangle areas equals polygon area; outside ⇒ larger.
7
+ * Tolerance includes points sitting fractionally outside the polygon (editor/float imprecision).
8
+ * Pass `polygonArea` from {@link computePolygonArea} to skip recomputation in hot loops.
9
+ */
10
+ export declare function pointInPolygon(point: PolygonVertex, polygon: ReadonlyArray<PolygonVertex>, polygonArea?: number): boolean;
11
+ //# sourceMappingURL=pointInPolygon.d.ts.map
@@ -0,0 +1 @@
1
+ const e=.01;function f(r,t,n){return Math.abs(.5*(r.x*(t.y-n.y)+t.x*(n.y-r.y)+n.x*(r.y-t.y)))}export function computePolygonArea(r){if(r.length<3)return 0;let t=0;for(let n=1;n<r.length-1;n++)t+=f(r[0],r[n],r[n+1]);return t}export function pointInPolygon(r,t,n=computePolygonArea(t)){if(n===0)return!1;let u=0;for(let i=0,a=t.length-1;i<t.length;a=i++)u+=f(r,t[a],t[i]);return Math.abs(n-u)<n*.01}
@@ -1,10 +1,9 @@
1
1
  export { createWayfindingEngine } from "./createWayfindingEngine";
2
2
  export type { WayfindingEngine, Route } from "./createWayfindingEngine";
3
- export type { GraphDataSource, PositionPoint, RouteEndpoint, RouteLine, RoutePoint, RouteSnapResult, RouteWaypoint, SnapToRouteConfig, } from "./types";
3
+ export type { GraphDataSource, RouteEndpoint, RouteLine, RoutePoint, RouteSnapResult, } from "./types";
4
4
  export { computeTransitionPoints } from "./rendering/computeTransitionPoints";
5
5
  export type { TransitionPointDef } from "./rendering/computeTransitionPoints";
6
6
  export { computeTrailPoints } from "./rendering/computeTrailPoints";
7
- export { getVisibleRouteLines } from "./rendering/getVisibleRouteLines";
8
7
  export { computeBoundingBox } from "./rendering/routeGeometry";
9
8
  export type { BoundingBox } from "./rendering/routeGeometry";
10
9
  export { normalizeRouteDirection } from "./rendering/normalizeRouteDirection";
@@ -1 +1 @@
1
- export{createWayfindingEngine}from"./createWayfindingEngine";export{computeTransitionPoints}from"./rendering/computeTransitionPoints";export{computeTrailPoints}from"./rendering/computeTrailPoints";export{getVisibleRouteLines}from"./rendering/getVisibleRouteLines";export{computeBoundingBox}from"./rendering/routeGeometry";export{normalizeRouteDirection}from"./rendering/normalizeRouteDirection";export{getRouteLength}from"./routing/getRouteLength";export{SNAP_THRESHOLD_METERS,getThresholdSafe,getThresholdFromMetersToSvg}from"./position/gpsThreshold";export{shouldReroute}from"./position/shouldReroute";export{snapToRoute}from"./position/snapToRoute";export{splitRouteByPoint}from"./position/splitRouteByPoint";
1
+ export{createWayfindingEngine}from"./createWayfindingEngine";export{computeTransitionPoints}from"./rendering/computeTransitionPoints";export{computeTrailPoints}from"./rendering/computeTrailPoints";export{computeBoundingBox}from"./rendering/routeGeometry";export{normalizeRouteDirection}from"./rendering/normalizeRouteDirection";export{getRouteLength}from"./routing/getRouteLength";export{SNAP_THRESHOLD_METERS,getThresholdSafe,getThresholdFromMetersToSvg}from"./position/gpsThreshold";export{shouldReroute}from"./position/shouldReroute";export{snapToRoute}from"./position/snapToRoute";export{splitRouteByPoint}from"./position/splitRouteByPoint";
@@ -1 +1 @@
1
- const H=1e-9;function w(s,i,t,a){const n=(s-t.x)*(a.y-t.y)-(i-t.y)*(a.x-t.x);if(Math.abs(n)>H)return!1;const e=(s-t.x)*(a.x-t.x)+(i-t.y)*(a.y-t.y),c=(a.x-t.x)**2+(a.y-t.y)**2;return e>=0&&e<=c}function q(s,i,t){if(t.length<3)return!1;for(let n=0,e=t.length-1;n<t.length;e=n++)if(w(s,i,t[e],t[n]))return!0;let a=!1;for(let n=0,e=t.length-1;n<t.length;e=n++){const c=t[n].x,d=t[n].y,r=t[e].x,y=t[e].y;d>i!=y>i&&s<(r-c)*(i-d)/(y-d)+c&&(a=!a)}return a}function F(s,i){let t=0;for(const n of s){const e=Math.hypot(n.p1.x-n.p0.x,n.p1.y-n.p0.y);if(e!==0){if(t+e>=i){const c=(i-t)/e,d=n.p0.x+(n.p1.x-n.p0.x)*c,r=n.p0.y+(n.p1.y-n.p0.y)*c;return{point:{layer:n.p0.layer,x:d,y:r},line:n}}t+=e}}const a=s[s.length-1];return{point:{layer:a.p0.layer,x:a.p1.x,y:a.p1.y},line:a}}export{SNAP_THRESHOLD_METERS}from"./gpsThreshold";export function snapToRoute(s,i,t){const a=i.length;if(!a)return{snapped:!1};const{snapThreshold:n,to:e,from:c,minRemainingUnits:d=.5}=t,r=s.z!=null?String(s.z):null;let y=1/0,f=null,m=0,R=r==null;for(let o=0;o<a;o++){const x=i[o],{p0:l,p1:h}=x,g=h.x-l.x,P=h.y-l.y,T=g*g+P*P;if(T===0)continue;const E=Math.sqrt(T);if(r!=null&&String(l.layer)!==r){m+=E;continue}R=!0;const b=((s.x-l.x)*g+(s.y-l.y)*P)/T,M=Math.max(0,Math.min(1,b)),v=l.x+g*M,z=l.y+P*M,_=Math.hypot(s.x-v,s.y-z);_<y&&(y=_,f={segmentIndex:o,t:M,distanceFromPolylineStart:m+E*M}),m+=E}if(r!=null&&!R)return{snapped:!1};const p=m,O=i[0].p0,j=i[a-1].p1,A=Math.hypot(e.x-O.x,e.y-O.y),L=Math.hypot(e.x-j.x,e.y-j.y),S=A<=L,D=Math.min(d,p);if(c?.bounds&&(r==null||!c.layer||c.layer===r)&&q(s.x,s.y,c.bounds)){const o=p,x=S?o:p-o,l=F(i,x);return{snapped:!0,snappedPoint:l.point,snappedLine:l.line,distance:o}}if(e.bounds&&(r==null||!e.layer||e.layer===r)&&q(s.x,s.y,e.bounds)){const o=D,x=p-o,h=F(i,S?o:x);return{snapped:!0,snappedPoint:h.point,snappedLine:h.line,distance:o}}if(!f||y>n)return{snapped:!1};let u=S?f.distanceFromPolylineStart:p-f.distanceFromPolylineStart;u<D&&(u=D);const N=p-u,I=F(i,S?u:N);return{snapped:!0,snappedPoint:I.point,snappedLine:I.line,distance:u}}
1
+ import{pointInPolygon as v}from"../geometry/pointInPolygon";function R(n,o){let p=0;for(const t of n){const e=Math.hypot(t.p1.x-t.p0.x,t.p1.y-t.p0.y);if(e!==0){if(p+e>=o){const c=(o-p)/e,P=t.p0.x+(t.p1.x-t.p0.x)*c,l=t.p0.y+(t.p1.y-t.p0.y)*c;return{point:{layer:t.p0.layer,x:P,y:l},line:t}}p+=e}}const i=n[n.length-1];return{point:{layer:i.p0.layer,x:i.p1.x,y:i.p1.y},line:i}}export{SNAP_THRESHOLD_METERS}from"./gpsThreshold";export function snapToRoute(n,o,p){const i=o.length;if(!i)return{snapped:!1};const{snapThreshold:t,to:e,from:c,minRemainingUnits:P=.5}=p,l=n.z!=null?String(n.z):null;let M=1/0,x=null,f=0,b=l==null;for(let a=0;a<i;a++){const d=o[a],{p0:s,p1:u}=d,h=u.x-s.x,S=u.y-s.y,D=h*h+S*S;if(D===0)continue;const F=Math.sqrt(D);if(l!=null&&String(s.layer)!==l){f+=F;continue}b=!0;const O=((n.x-s.x)*h+(n.y-s.y)*S)/D,g=Math.max(0,Math.min(1,O)),_=s.x+h*g,w=s.y+S*g,q=Math.hypot(n.x-_,n.y-w);q<M&&(M=q,x={segmentIndex:a,t:g,distanceFromPolylineStart:f+F*g}),f+=F}if(l!=null&&!b)return{snapped:!1};const r=f,E=o[0].p0,A=o[i-1].p1,z=Math.hypot(e.x-E.x,e.y-E.y),H=Math.hypot(e.x-A.x,e.y-A.y),m=z<=H,T=Math.min(P,r);if(c?.bounds&&(l==null||!c.layer||c.layer===l)&&v({x:n.x,y:n.y},c.bounds)){const a=r,d=m?a:r-a,s=R(o,d);return{snapped:!0,snappedPoint:s.point,snappedLine:s.line,distance:a}}if(e.bounds&&(l==null||!e.layer||e.layer===l)&&v({x:n.x,y:n.y},e.bounds)){const a=T,d=r-a,u=R(o,m?a:d);return{snapped:!0,snappedPoint:u.point,snappedLine:u.line,distance:a}}if(!x||M>t)return{snapped:!1};let y=m?x.distanceFromPolylineStart:r-x.distanceFromPolylineStart;y<T&&(y=T);const L=r-y,I=R(o,m?y:L);return{snapped:!0,snappedPoint:I.point,snappedLine:I.line,distance:y}}
@@ -1 +1 @@
1
- function s(o,n){return o.toLowerCase()===n.toLowerCase()}function p(o,n){return o.findIndex(r=>s(r,n))}function x(o,n,r){const a=p(o,n),t=p(o,r);return a===-1||t===-1?"neutral":t>a?"up":"down"}function d(o,n,r){return o.find(a=>s(a.p0.layer,n)?!r.has(a.p1.layer.toLowerCase()):s(a.p1.layer,n)?!r.has(a.p0.layer.toLowerCase()):!1)}function C(o,n,r,a){if(n.has(a.toLowerCase()))return a;let t=a;const l=new Set([r.toLowerCase(),t.toLowerCase()]);let u=d(o,t,l);for(;u&&(t=s(u.p0.layer,t)?u.p1.layer:u.p0.layer,!n.has(t.toLowerCase()));)l.add(t.toLowerCase()),u=d(o,t,l);return t}export function computeTransitionPoints(o){const{routeLines:n,currentLayerName:r,floorOrder:a}=o,t=n.filter(e=>e.virtual&&!s(e.p0.layer,e.p1.layer)),l=new Set;for(const e of n)e.virtual||(l.add(e.p0.layer.toLowerCase()),l.add(e.p1.layer.toLowerCase()));const w=(r?t.filter(e=>s(e.p0.layer,r)||s(e.p1.layer,r)):t).map(e=>{const c=r?s(e.p0.layer,r):!0,i=c?e.p0:e.p1,L=c?e.p1:e.p0,f=C(t,l,i.layer,L.layer);return{x:i.x,y:i.y,layer:i.layer,targetLayer:f,direction:x(a,i.layer,f),role:r&&c?"entry":"exit"}}),y=new Set;return w.filter(e=>{const c=`${e.x}:${e.y}`;return y.has(c)?!1:(y.add(c),!0)})}
1
+ function s(a,n){return a.toLowerCase()===n.toLowerCase()}function d(a,n){return a.findIndex(r=>s(r,n))}function C(a,n,r){const o=d(a,n),t=d(a,r);return o===-1||t===-1?"neutral":t>o?"up":"down"}function w(a,n,r){return a.find(o=>s(o.p0.layer,n)?!r.has(o.p1.layer.toLowerCase()):s(o.p1.layer,n)?!r.has(o.p0.layer.toLowerCase()):!1)}function h(a,n,r,o){if(n.has(o.toLowerCase()))return o;let t=o;const l=new Set([r.toLowerCase(),t.toLowerCase()]);let u=w(a,t,l);for(;u&&(t=s(u.p0.layer,t)?u.p1.layer:u.p0.layer,!n.has(t.toLowerCase()));)l.add(t.toLowerCase()),u=w(a,t,l);return t}export function computeTransitionPoints(a){const{routeLines:n,currentLayerName:r,floorOrder:o}=a,t=n.filter(e=>e.virtual&&!s(e.p0.layer,e.p1.layer)),l=new Set;for(const e of n)e.virtual||(l.add(e.p0.layer.toLowerCase()),l.add(e.p1.layer.toLowerCase()));const c=(r?t.filter(e=>s(e.p0.layer,r)||s(e.p1.layer,r)):t).map(e=>{const i=r?s(e.p0.layer,r):!0,y=i?e.p0:e.p1,x=i?e.p1:e.p0,p=h(t,l,y.layer,x.layer);return{x:y.x,y:y.y,layer:y.layer,targetLayer:p,direction:C(o,y.layer,p),role:r&&i?"entry":"exit"}}),L=new Set(c.filter(e=>e.role==="exit").map(e=>`${e.x}:${e.y}`)),f=new Set;return c.filter(e=>{const i=`${e.x}:${e.y}`;return e.role==="entry"&&L.has(i)||f.has(i)?!1:(f.add(i),!0)})}
@@ -1,21 +1,6 @@
1
- import { Rect as SGRect } from "simple-geometry";
2
- import type { GraphDataSource, GraphInstance, RoutePoint } from "../types";
3
- /**
4
- * Finds all graph endpoints (lineEnds) that fall inside the given containment rect.
5
- * Uses simple-geometry's pointInsideRectangle for ~1% tolerance at boundaries,
6
- * matching the legacy wayfinding behavior.
7
- *
8
- * The rect is a simple-geometry Rect (4-point polygon) — it may be rotated,
9
- * not necessarily axis-aligned.
10
- */
11
- export declare function findGraphPointsInRect(dataSource: GraphDataSource, containmentRect: SGRect, layer?: string): RoutePoint[];
12
- /**
13
- * Finds the nearest graph endpoint by Euclidean distance from an arbitrary point.
14
- * Generalizes the old rect-based filtering for point-to-point routing.
15
- */
16
- export declare function findNearestGraphPoint(graph: GraphInstance, point: {
17
- x: number;
18
- y: number;
19
- layer?: string;
20
- }): RoutePoint | null;
1
+ import type { GraphDataSource, PolygonVertex, RoutePoint } from "../types";
2
+ /** Graph endpoints inside a convex polygon (e.g. booth rect), filtered by layer. */
3
+ export declare function findGraphPointsInPolygon(dataSource: GraphDataSource, polygon: ReadonlyArray<PolygonVertex>, layer?: string): RoutePoint[];
4
+ /** Nearest graph endpoint by Euclidean distance, optionally filtered by layer. */
5
+ export declare function findNearestGraphPoint(dataSource: GraphDataSource, point: RoutePoint): RoutePoint | null;
21
6
  //# sourceMappingURL=findNearestGraphPoint.d.ts.map
@@ -1 +1 @@
1
- import{lineLength as a,pointInsideRectangle as c}from"simple-geometry";export function findGraphPointsInRect(i,n,t){return i.getLineEnds().filter(e=>(!t||e.layer===t)&&c(e,n))}export function findNearestGraphPoint(i,n){const t=i.dataSource.getLineEnds();let e=null,o=1/0;for(const r of t){if(n.layer&&r.layer!==n.layer)continue;const s=a(r,n);s<o&&(o=s,e=r)}return e}
1
+ import{lineLength as f}from"simple-geometry";import{computePolygonArea as l,pointInPolygon as a}from"../geometry/pointInPolygon";export function findGraphPointsInPolygon(r,n,t){const o=l(n);return r.getLineEnds().filter(e=>(!t||e.layer===t)&&a(e,n,o))}export function findNearestGraphPoint(r,n){let t=null,o=1/0;for(const e of r.getLineEnds()){if(n.layer&&e.layer!==n.layer)continue;const i=f(e,n);i<o&&(o=i,t=e)}return t}