@expofp/floorplan 3.7.5 → 3.7.7

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 (420) hide show
  1. package/dist/browser/{Button-C2KZSXb2.js → Button-be7-qIF6.js} +8 -8
  2. package/dist/browser/{CookieConsent-Cq4qcueB.js → CookieConsent-B03ekG96.js} +7 -7
  3. package/dist/browser/{Debug-D1JNigN7.js → Debug-B1UNFScp.js} +7 -7
  4. package/dist/browser/{Demo-XVDEqvrA.js → Demo-CTtUvDQs.js} +15 -13
  5. package/dist/browser/{Free-C3wcDnvz.js → Free-BZd4QeSR.js} +15 -13
  6. package/dist/browser/{Gallery-CGxt4BEQ.js → Gallery-z592Fa7j.js} +2739 -2739
  7. package/dist/browser/{GpsLoader-BL9r9aBb.js → GpsLoader-DWmPBJyy.js} +61 -64
  8. package/dist/browser/{KioskStore-CEjAu1fS.js → KioskStore-BSqmbs3E.js} +7 -7
  9. package/dist/browser/{MaplibreAdapter-CFCATr0R.js → MaplibreAdapter-DIRCFD3I.js} +100 -100
  10. package/dist/browser/{Modal-DwvgaUJ4.js → Modal-Ud1JA7hD.js} +18 -18
  11. package/dist/browser/{PermissionNotice-Bfmg473m.js → PermissionNotice-BbZJ6-58.js} +11 -11
  12. package/dist/browser/{SetKioskMode-DgZnzdyw.js → SetKioskMode-34D-0WuZ.js} +15 -15
  13. package/dist/browser/ShowKiosk-BtV44Rii.js +27 -0
  14. package/dist/browser/{TouchHand-CW3feM7g.js → TouchHand-CNtsbSKe.js} +5 -7
  15. package/dist/browser/{ViewerMenuPanel-DTLGFJdO.js → ViewerMenuPanel-pOtBzzsw.js} +9 -11
  16. package/dist/browser/{add-debug-secret-listener-DLq_05Ya.js → add-debug-secret-listener-BGsmVhBN.js} +1 -1
  17. package/dist/browser/{boolean-editor-CPZmUe0k.js → boolean-editor-Cl6OlT2C.js} +9 -9
  18. package/dist/browser/{bootIntercom-OQUPpNv5.js → bootIntercom-uRX6nuBs.js} +2 -2
  19. package/dist/browser/{browser-CuHRVR45.js → browser-BHDrnFTi.js} +2 -2
  20. package/dist/browser/bundle.json +57 -57
  21. package/dist/browser/{classnames-Bua-vCkl.js → classnames-QBzO007b.js} +2 -2
  22. package/dist/browser/{client-BtBjpMA2.js → client-ygx4Nlgh.js} +4 -4
  23. package/dist/browser/{components-Bk-VYz6V.js → components-BnDl8_Vi.js} +2164 -2170
  24. package/dist/browser/{createWayfinding-BcyMyZfV.js → createWayfinding-Buli80Pv.js} +408 -408
  25. package/dist/browser/{debug-overlay-Bee-ID_e.js → debug-overlay-DYbF5EFf.js} +10 -10
  26. package/dist/browser/{debug-ui-C6Mu7jmE.js → debug-ui-v2AnaEsF.js} +6 -6
  27. package/dist/browser/{dist-Ypj0lz96.js → dist-64g9ko-T.js} +6 -6
  28. package/dist/browser/{dist-C3qJPKIL.js → dist-DtdB9fNn.js} +5 -5
  29. package/dist/browser/{dist-C6Bwrbur.js → dist-lpbRWIMA.js} +3 -3
  30. package/dist/browser/{efp-debug-init-BmXxwF3h.js → efp-debug-init-V-KZyjzu.js} +2 -2
  31. package/dist/browser/{enum-editor-BtytGwbn.js → enum-editor-BvuPhm1F.js} +11 -11
  32. package/dist/browser/{event-not-found-DtnrzyTS.js → event-not-found-B98QInDb.js} +1 -1
  33. package/dist/browser/{exports-DwNV9Fce.js → exports-DYQuAXct.js} +36 -36
  34. package/dist/browser/{favicon-Bg82OSpr.js → favicon-BfWHVf7B.js} +1 -1
  35. package/dist/browser/{fetch-retry.umd-C5JqTz5u.js → fetch-retry.umd-DRv91bwh.js} +2 -2
  36. package/dist/browser/{flex-BoTx9ho3.js → flex-x_PLPZk0.js} +5 -5
  37. package/dist/browser/{floorplan.loader-CJNw0Cge.js → floorplan.loader-OxPB-Vst.js} +856 -831
  38. package/dist/browser/{floorplan.ready-DOhcGKtR.js → floorplan.ready-CNMM3R0a.js} +374 -372
  39. package/dist/browser/{fuse-DJzKEeDA.js → fuse-B5q1zvj5.js} +2 -2
  40. package/dist/browser/{i18n-Cir_gINd.js → i18n-0QOfbI49.js} +664 -659
  41. package/dist/browser/index.js +11 -11
  42. package/dist/browser/{jsx-runtime-DCZPOiVu.js → jsx-runtime-DWNe7L8O.js} +2 -2
  43. package/dist/browser/{lib-DQt-k78K.js → lib-Ct9T4Ext.js} +4 -4
  44. package/dist/browser/{is-debug-0pBDODSU.js → loadImage-B1THebfH.js} +13 -16
  45. package/dist/browser/{main-CIgf7ksx.js → main-BpCLd01e.js} +1 -1
  46. package/dist/browser/{mobx-pMkzJ1bN.js → mobx-D6-09X_8.js} +4 -4
  47. package/dist/browser/{particles.min-Q2r1icQ9.js → particles.min-O_0S2sjU.js} +2 -2
  48. package/dist/browser/{prop-types-GavRCOPR.js → prop-types-C5Q7z09t.js} +2 -2
  49. package/dist/browser/{react-BlsmLtRd.js → react-CE6J-REN.js} +2 -2
  50. package/dist/browser/{react-dom-DgLQ5tL0.js → react-dom-Bz1SyK6u.js} +3 -3
  51. package/dist/browser/{reset-all-settings-CxUO3y2o.js → reset-all-settings-CxljY5vH.js} +7 -7
  52. package/dist/browser/{rolldown-runtime-C9CB_XOZ.js → rolldown-runtime-MSULzasX.js} +1 -1
  53. package/dist/browser/{settings-O5svYOVy.js → settings-LxDXcdq2.js} +2 -2
  54. package/dist/browser/{settings-item-354rDOkM.js → settings-item-BTHbu4gE.js} +6 -6
  55. package/dist/browser/{store-CVf_IY9i.js → store-FxMdLToE.js} +10175 -10152
  56. package/dist/browser/{string-editor-C1jvvzZY.js → string-editor-CLZ-xXO6.js} +7 -7
  57. package/dist/browser/{theme-BewQdo5w.js → theme-CKyrzkaN.js} +8 -8
  58. package/dist/browser/{ui-DeHsnIKK.js → ui-CaURu_-A.js} +8 -8
  59. package/dist/browser/{useRenderTarget-Cpug5PXZ.js → useRenderTarget-DlU37Ln7.js} +4 -4
  60. package/dist/esm/components/AlertContainer.d.ts +1 -1
  61. package/dist/esm/components/Autocomplete.d.ts +1 -1
  62. package/dist/esm/components/Autocomplete.js +1 -1
  63. package/dist/esm/components/BaseFilterModal.d.ts +1 -1
  64. package/dist/esm/components/Booth/Booth.d.ts +1 -1
  65. package/dist/esm/components/Booth/Booth.js +1 -1
  66. package/dist/esm/components/Booth/BoothOnHold.js +1 -1
  67. package/dist/esm/components/Booth/BoothReserved.js +1 -1
  68. package/dist/esm/components/Booth/BoothSpecial.d.ts +2 -2
  69. package/dist/esm/components/Booth/BoothWithoutExhibitor.d.ts +1 -1
  70. package/dist/esm/components/Booth/BoothWithoutExhibitor.js +1 -1
  71. package/dist/esm/components/Category.d.ts +1 -1
  72. package/dist/esm/components/Category.js +1 -1
  73. package/dist/esm/components/CategoryFilterModal.js +1 -1
  74. package/dist/esm/components/CookieConsent.js +1 -1
  75. package/dist/esm/components/Debug.d.ts +1 -1
  76. package/dist/esm/components/Debug.js +1 -1
  77. package/dist/esm/components/Demo.d.ts +1 -1
  78. package/dist/esm/components/Demo.js +1 -1
  79. package/dist/esm/components/EntityItemContainer.d.ts +1 -1
  80. package/dist/esm/components/EntityList.d.ts +1 -1
  81. package/dist/esm/components/EntityList.js +1 -1
  82. package/dist/esm/components/EntityListRow.d.ts +2 -2
  83. package/dist/esm/components/EntityListRow.js +1 -1
  84. package/dist/esm/components/ErrorBoundary.js +1 -1
  85. package/dist/esm/components/Event.d.ts +1 -1
  86. package/dist/esm/components/Event.js +1 -1
  87. package/dist/esm/components/EventBadge.d.ts +2 -2
  88. package/dist/esm/components/EventBadge.js +1 -1
  89. package/dist/esm/components/Exhibitor.d.ts +1 -1
  90. package/dist/esm/components/Exhibitor.js +1 -1
  91. package/dist/esm/components/Filter.js +1 -1
  92. package/dist/esm/components/Free.d.ts +1 -1
  93. package/dist/esm/components/Free.js +1 -1
  94. package/dist/esm/components/Gallery/Gallery.d.ts +1 -1
  95. package/dist/esm/components/Gallery/Gallery.js +1 -1
  96. package/dist/esm/components/Gallery/GalleryModal/GalleryModal.d.ts +1 -1
  97. package/dist/esm/components/Gallery/GalleryModal/GalleryModal.js +1 -1
  98. package/dist/esm/components/Gallery/TransformImg/TransformImg.d.ts +1 -1
  99. package/dist/esm/components/Gallery/TransformImg/TransformImg.js +1 -1
  100. package/dist/esm/components/GpsLoader.js +1 -1
  101. package/dist/esm/components/IntercomLauncher.d.ts +1 -1
  102. package/dist/esm/components/IntercomLauncher.js +1 -1
  103. package/dist/esm/components/Kiosk/KioskStore.d.ts +3 -3
  104. package/dist/esm/components/Kiosk/SetKiosk/Confirm/ConfirmDialog.d.ts +1 -1
  105. package/dist/esm/components/Kiosk/SetKiosk/FormInput/RangeInput.d.ts +1 -1
  106. package/dist/esm/components/Kiosk/SetKiosk/Message/InfoMessage.d.ts +1 -1
  107. package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.d.ts +1 -1
  108. package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +1 -1
  109. package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.d.ts +1 -1
  110. package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.js +1 -1
  111. package/dist/esm/components/Kiosk/SetKiosk/SetKioskStatusMessages.d.ts +1 -1
  112. package/dist/esm/components/Kiosk/SetKioskMode.js +1 -1
  113. package/dist/esm/components/Kiosk/ShowKiosk.js +1 -1
  114. package/dist/esm/components/Kiosk/kioskApi.d.ts +1 -1
  115. package/dist/esm/components/Language.js +1 -1
  116. package/dist/esm/components/LanguageRow.d.ts +1 -1
  117. package/dist/esm/components/LanguageRow.js +1 -1
  118. package/dist/esm/components/LargeMessage.d.ts +1 -1
  119. package/dist/esm/components/LargeMessage.js +1 -1
  120. package/dist/esm/components/Layout.d.ts +1 -1
  121. package/dist/esm/components/Layout.js +1 -1
  122. package/dist/esm/components/LevelSelector.d.ts +1 -1
  123. package/dist/esm/components/LevelSelector.js +1 -1
  124. package/dist/esm/components/List.d.ts +1 -1
  125. package/dist/esm/components/List.js +1 -1
  126. package/dist/esm/components/LogoOverlay.d.ts +1 -1
  127. package/dist/esm/components/LogoOverlay.js +1 -1
  128. package/dist/esm/components/Map/Map.js +1 -1
  129. package/dist/esm/components/Map/drawing/config/config-all.js +1 -1
  130. package/dist/esm/components/Map/drawing/config/config-bg.d.ts +2 -2
  131. package/dist/esm/components/Map/drawing/config/config-bg.js +1 -1
  132. package/dist/esm/components/Map/drawing/config/config-booth-badge.d.ts +1 -1
  133. package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
  134. package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +4 -4
  135. package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
  136. package/dist/esm/components/Map/drawing/config/config-booth-bookmark.d.ts +2 -2
  137. package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
  138. package/dist/esm/components/Map/drawing/config/config-booth-border.d.ts +2 -2
  139. package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
  140. package/dist/esm/components/Map/drawing/config/config-booth-labels-special.d.ts +3 -3
  141. package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
  142. package/dist/esm/components/Map/drawing/config/config-booth-labels.d.ts +4 -4
  143. package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
  144. package/dist/esm/components/Map/drawing/config/config-booths.d.ts +1 -1
  145. package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
  146. package/dist/esm/components/Map/drawing/config/config-load-layer.d.ts +1 -1
  147. package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
  148. package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
  149. package/dist/esm/components/Map/drawing/config/loadBoothsImages.d.ts +3 -3
  150. package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
  151. package/dist/esm/components/Map/pointInConvexQuad.d.ts +1 -1
  152. package/dist/esm/components/Map/traffic/useBuildRoute.js +2 -2
  153. package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
  154. package/dist/esm/components/MapControls.d.ts +1 -1
  155. package/dist/esm/components/MapControls.js +1 -1
  156. package/dist/esm/components/Maplibre/MaplibreAdapter.d.ts +1 -1
  157. package/dist/esm/components/Maplibre/MaplibreWrapper.d.ts +1 -2
  158. package/dist/esm/components/Maplibre/useCameraReactions.d.ts +3 -3
  159. package/dist/esm/components/Maplibre/useDimming.d.ts +4 -4
  160. package/dist/esm/components/Maplibre/useLayerVisibilitySync.d.ts +4 -4
  161. package/dist/esm/components/Maplibre/useRendererEvents.d.ts +2 -2
  162. package/dist/esm/components/Maplibre/useWayfindingAndMarkers.d.ts +2 -2
  163. package/dist/esm/components/Maplibre/utils/geo-config.d.ts +3 -3
  164. package/dist/esm/components/Maplibre/utils/layer-defs.d.ts +1 -1
  165. package/dist/esm/components/Maplibre/utils/map-helpers.d.ts +2 -2
  166. package/dist/esm/components/MarketMaterialList.d.ts +1 -1
  167. package/dist/esm/components/MarketMaterialList.js +1 -1
  168. package/dist/esm/components/Menu.js +1 -1
  169. package/dist/esm/components/MobileToggleButton.d.ts +1 -1
  170. package/dist/esm/components/MobileToggleButton.js +1 -1
  171. package/dist/esm/components/Modal.d.ts +1 -1
  172. package/dist/esm/components/Modal.js +1 -1
  173. package/dist/esm/components/MultiSelectGroups.d.ts +1 -1
  174. package/dist/esm/components/MultiSelectGroups.js +1 -1
  175. package/dist/esm/components/Overlay.d.ts +1 -1
  176. package/dist/esm/components/Overlay.js +1 -1
  177. package/dist/esm/components/OverlayContainer.js +1 -1
  178. package/dist/esm/components/OverlayGripContainer.js +1 -1
  179. package/dist/esm/components/OverlayParticles.d.ts +1 -1
  180. package/dist/esm/components/OverlayParticles.js +1 -1
  181. package/dist/esm/components/RebookingNotes.d.ts +1 -1
  182. package/dist/esm/components/RebookingNotes.js +1 -1
  183. package/dist/esm/components/RebookingRadioGroup.d.ts +1 -1
  184. package/dist/esm/components/RebookingRadioGroup.js +1 -1
  185. package/dist/esm/components/RoutePlanner/RoutePlanner.d.ts +1 -1
  186. package/dist/esm/components/RoutePlanner/RoutePlanner.js +1 -1
  187. package/dist/esm/components/RoutePlanner/RoutePlannerHeader.js +1 -1
  188. package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.d.ts +1 -1
  189. package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +1 -1
  190. package/dist/esm/components/RouteQR.d.ts +1 -1
  191. package/dist/esm/components/RouteQR.js +1 -1
  192. package/dist/esm/components/Schedule.d.ts +2 -2
  193. package/dist/esm/components/Schedule.js +1 -1
  194. package/dist/esm/components/ScrollableRowContainer.js +1 -1
  195. package/dist/esm/components/Search.d.ts +1 -1
  196. package/dist/esm/components/Search.js +1 -1
  197. package/dist/esm/components/SearchBox.d.ts +1 -1
  198. package/dist/esm/components/SearchBox.js +1 -1
  199. package/dist/esm/components/SearchButtons/SearchButton.d.ts +1 -1
  200. package/dist/esm/components/SearchButtons/SearchButton.js +1 -1
  201. package/dist/esm/components/SearchButtons/SearchButtons.d.ts +1 -1
  202. package/dist/esm/components/SearchButtons/SearchButtons.js +1 -1
  203. package/dist/esm/components/SearchButtons/SearchSubButton.d.ts +1 -1
  204. package/dist/esm/components/SearchButtons/SearchSubButton.js +1 -1
  205. package/dist/esm/components/SearchButtons/SearchSubButtons.d.ts +1 -1
  206. package/dist/esm/components/SearchButtons/SearchSubButtons.js +1 -1
  207. package/dist/esm/components/Sessions.d.ts +1 -1
  208. package/dist/esm/components/Sessions.js +1 -1
  209. package/dist/esm/components/SessionsFiltersModal.d.ts +1 -1
  210. package/dist/esm/components/SessionsFiltersModal.js +1 -1
  211. package/dist/esm/components/Share.d.ts +1 -1
  212. package/dist/esm/components/Share.js +1 -1
  213. package/dist/esm/components/Shortcuts/ShortcutButton.d.ts +2 -2
  214. package/dist/esm/components/Shortcuts/ShortcutButton.js +1 -1
  215. package/dist/esm/components/Shortcuts/ShortcutsFiltersButton.d.ts +1 -1
  216. package/dist/esm/components/Shortcuts/ShortcutsFiltersButton.js +1 -1
  217. package/dist/esm/components/Shortcuts/ShortcutsToolbar.d.ts +1 -1
  218. package/dist/esm/components/Shortcuts/ShortcutsToolbar.js +1 -1
  219. package/dist/esm/components/ShowMoreButton.d.ts +1 -1
  220. package/dist/esm/components/ShowMoreButton.js +1 -1
  221. package/dist/esm/components/SidebarActions.d.ts +1 -1
  222. package/dist/esm/components/SidebarActions.js +1 -1
  223. package/dist/esm/components/SimpleRow.d.ts +1 -1
  224. package/dist/esm/components/SimpleRow.js +1 -1
  225. package/dist/esm/components/Speaker.d.ts +1 -1
  226. package/dist/esm/components/Speaker.js +1 -1
  227. package/dist/esm/components/Speakers.d.ts +1 -1
  228. package/dist/esm/components/Speakers.js +1 -1
  229. package/dist/esm/components/SpeakersFiltersModal.d.ts +1 -1
  230. package/dist/esm/components/SpeakersFiltersModal.js +1 -1
  231. package/dist/esm/components/Toast/ToastContainer.d.ts +1 -1
  232. package/dist/esm/components/Toast/ToastContainer.js +1 -1
  233. package/dist/esm/components/Toast/ToastProvider.js +1 -1
  234. package/dist/esm/components/TourPoints.js +1 -1
  235. package/dist/esm/components/Tours.d.ts +1 -1
  236. package/dist/esm/components/Tours.js +1 -1
  237. package/dist/esm/components/ToursList.d.ts +2 -2
  238. package/dist/esm/components/ToursList.js +1 -1
  239. package/dist/esm/components/ViewerMenuPanel.d.ts +1 -1
  240. package/dist/esm/components/ViewerMenuPanel.js +1 -1
  241. package/dist/esm/components/WayInformation.d.ts +1 -1
  242. package/dist/esm/components/WayInformation.js +1 -1
  243. package/dist/esm/components/Wayfinding.d.ts +1 -1
  244. package/dist/esm/components/Wayfinding.js +1 -1
  245. package/dist/esm/components/WayfindingFloorSelectorContainer.d.ts +1 -1
  246. package/dist/esm/components/WayfindingTemplate.d.ts +4 -4
  247. package/dist/esm/components/WayfindingTemplate.js +1 -1
  248. package/dist/esm/components/Ws.d.ts +1 -1
  249. package/dist/esm/components/Ws.js +1 -1
  250. package/dist/esm/components/YahRow.d.ts +1 -1
  251. package/dist/esm/components/YahRow.js +1 -1
  252. package/dist/esm/components/gps/GpsManager.d.ts +1 -1
  253. package/dist/esm/components/gps/GpsManager.js +1 -1
  254. package/dist/esm/components/gps/GpsPermissionRequest.js +1 -1
  255. package/dist/esm/components/gps/useUserLocationAndHeading.d.ts +1 -1
  256. package/dist/esm/components/gps/useUserLocationAndHeading.js +1 -1
  257. package/dist/esm/components/gps/utils.d.ts +1 -1
  258. package/dist/esm/data/fpGeo.d.ts +1 -1
  259. package/dist/esm/data/index.d.ts +1 -1
  260. package/dist/esm/data/svg.js +1 -1
  261. package/dist/esm/data/validate-data.d.ts +1 -1
  262. package/dist/esm/floorplan.loader.js +1 -1
  263. package/dist/esm/floorplan.ready.d.ts +2 -2
  264. package/dist/esm/floorplan.ready.js +1 -1
  265. package/dist/esm/hooks/useDragGesture.js +1 -1
  266. package/dist/esm/hooks/useURLFilters.d.ts +1 -1
  267. package/dist/esm/hooks/useURLFilters.js +1 -1
  268. package/dist/esm/hooks/useWindowSize.js +1 -1
  269. package/dist/esm/intercom/shouldLoad.d.ts +2 -2
  270. package/dist/esm/load.d.ts +3 -3
  271. package/dist/esm/services/URLFilterManager.d.ts +1 -1
  272. package/dist/esm/services/URLFilterManager.js +1 -1
  273. package/dist/esm/services/routing.js +1 -1
  274. package/dist/esm/store/BaseFilterStore.d.ts +1 -1
  275. package/dist/esm/store/BookmarksStore.js +1 -1
  276. package/dist/esm/store/BoothStore.d.ts +2 -2
  277. package/dist/esm/store/BoothStore.js +1 -1
  278. package/dist/esm/store/CategoryFilterStore.d.ts +2 -2
  279. package/dist/esm/store/CategoryFilterStore.js +1 -1
  280. package/dist/esm/store/CategoryStore.d.ts +1 -1
  281. package/dist/esm/store/ExhibitorStore.d.ts +1 -1
  282. package/dist/esm/store/ExhibitorStore.js +1 -1
  283. package/dist/esm/store/HeatmapStore.d.ts +3 -3
  284. package/dist/esm/store/HeatmapStore.js +1 -1
  285. package/dist/esm/store/LayerStore.d.ts +1 -1
  286. package/dist/esm/store/LayerStore.js +1 -1
  287. package/dist/esm/store/MaplibreStore.js +1 -1
  288. package/dist/esm/store/RootStore.d.ts +15 -15
  289. package/dist/esm/store/RootStore.js +1 -1
  290. package/dist/esm/store/RoutePlannerStore.d.ts +2 -2
  291. package/dist/esm/store/RoutePlannerStore.js +1 -1
  292. package/dist/esm/store/RouteStore.d.ts +1 -1
  293. package/dist/esm/store/RouteStore.js +1 -1
  294. package/dist/esm/store/SearchStore.js +1 -1
  295. package/dist/esm/store/SessionsFilterStore.d.ts +2 -2
  296. package/dist/esm/store/ShortcutRegistry.d.ts +1 -1
  297. package/dist/esm/store/SpeakerStore.d.ts +1 -1
  298. package/dist/esm/store/SubButtonProvider.d.ts +1 -1
  299. package/dist/esm/store/SubButtonRegistry.d.ts +2 -2
  300. package/dist/esm/store/ToursStore.js +1 -1
  301. package/dist/esm/store/UIState.d.ts +6 -6
  302. package/dist/esm/store/UIState.js +1 -1
  303. package/dist/esm/store/init/index.js +1 -1
  304. package/dist/esm/store/init/init-booths.js +1 -1
  305. package/dist/esm/store/init/init-events.js +1 -1
  306. package/dist/esm/store/init/init-exhibitors.js +1 -1
  307. package/dist/esm/store/init/init-heatmap.js +1 -1
  308. package/dist/esm/store/init/init-layers.js +1 -1
  309. package/dist/esm/store/init/init-ui.js +1 -1
  310. package/dist/esm/store/providers/SearchShortcutProvider.d.ts +1 -2
  311. package/dist/esm/store/providers/SessionsShortcutProvider.d.ts +1 -1
  312. package/dist/esm/store/providers/SessionsSubButtonProvider.d.ts +2 -2
  313. package/dist/esm/store/providers/SessionsSubButtonProvider.js +1 -1
  314. package/dist/esm/store/providers/SpeakerShortcutProvider.d.ts +1 -1
  315. package/dist/esm/store/search-buttons/SearchButtonsActions.d.ts +2 -2
  316. package/dist/esm/store/search-buttons/SearchButtonsActions.js +1 -1
  317. package/dist/esm/store/search-buttons/SearchButtonsFactory.d.ts +3 -3
  318. package/dist/esm/store/search-buttons/SearchButtonsFactory.js +1 -1
  319. package/dist/esm/store/search-buttons/SearchButtonsFilters.d.ts +2 -2
  320. package/dist/esm/store/search-buttons/SearchButtonsState.d.ts +1 -1
  321. package/dist/esm/store/search-buttons/SearchButtonsState.js +1 -1
  322. package/dist/esm/store/search-buttons/SearchButtonsStore.d.ts +1 -1
  323. package/dist/esm/store/search-buttons/SearchButtonsStore.js +1 -1
  324. package/dist/esm/store/search-buttons/utils.d.ts +1 -1
  325. package/dist/esm/store/search-buttons/utils.js +1 -1
  326. package/dist/esm/store/types.d.ts +3 -3
  327. package/dist/esm/storybook/decorators/StoryWrapper.js +1 -1
  328. package/dist/esm/storybook/decorators/WithResize.js +1 -1
  329. package/dist/esm/tools/gtag.js +1 -1
  330. package/dist/esm/tools/loaders.js +1 -1
  331. package/dist/esm/tools/sentry.d.ts +2 -2
  332. package/dist/esm/tools/sentry.js +1 -1
  333. package/dist/esm/ui/Alert/Alert.d.ts +1 -2
  334. package/dist/esm/ui/Alert/Alert.js +1 -1
  335. package/dist/esm/ui/Badge/Badge.d.ts +1 -2
  336. package/dist/esm/ui/Badge/Badge.js +1 -1
  337. package/dist/esm/ui/Button/Button.d.ts +1 -2
  338. package/dist/esm/ui/Button/Button.js +1 -1
  339. package/dist/esm/ui/Checkbox/Checkbox.d.ts +1 -1
  340. package/dist/esm/ui/Checkbox/Checkbox.js +1 -1
  341. package/dist/esm/ui/CheckboxButton/CheckboxButton.d.ts +1 -1
  342. package/dist/esm/ui/CheckboxButton/CheckboxButton.js +1 -1
  343. package/dist/esm/ui/Draggable/Draggable.js +1 -1
  344. package/dist/esm/ui/EntityItem/EntityItem.d.ts +1 -1
  345. package/dist/esm/ui/EntityItem/EntityItem.js +1 -1
  346. package/dist/esm/ui/HeatmapLegend/HeatmapLegend.d.ts +1 -1
  347. package/dist/esm/ui/HeatmapLegend/HeatmapLegend.js +1 -1
  348. package/dist/esm/ui/LevelBadge/LevelBadge.d.ts +1 -1
  349. package/dist/esm/ui/OverlayGrip/OverlayGrip.d.ts +1 -1
  350. package/dist/esm/ui/OverlayGrip/OverlayGrip.js +1 -1
  351. package/dist/esm/ui/PermissionNotice/PermissionNotice.d.ts +1 -1
  352. package/dist/esm/ui/PermissionNotice/PermissionNotice.js +1 -1
  353. package/dist/esm/ui/Radio/Radio.d.ts +1 -1
  354. package/dist/esm/ui/Radio/Radio.js +1 -1
  355. package/dist/esm/ui/ScrollableRow/ScrollableRow.d.ts +1 -1
  356. package/dist/esm/ui/ScrollableRow/ScrollableRow.js +1 -1
  357. package/dist/esm/ui/Spinner/Spinner.d.ts +1 -1
  358. package/dist/esm/ui/Spinner/Spinner.js +1 -1
  359. package/dist/esm/ui/ToggleButton/ToggleButton.d.ts +1 -1
  360. package/dist/esm/ui/ToggleButton/ToggleButton.js +1 -1
  361. package/dist/esm/ui/ToggleSwitch/ToggleSwitch.d.ts +1 -1
  362. package/dist/esm/ui/ToggleSwitch/ToggleSwitch.js +1 -1
  363. package/dist/esm/ui/TouchHand/TouchHand.d.ts +1 -1
  364. package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.d.ts +1 -1
  365. package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.js +1 -1
  366. package/dist/esm/utils/customCommands.js +1 -1
  367. package/dist/esm/utils/dimming.d.ts +1 -1
  368. package/dist/esm/utils/entity-storage.js +1 -1
  369. package/dist/esm/utils/eventFullBadge.d.ts +1 -1
  370. package/dist/esm/utils/gps.js +1 -1
  371. package/dist/esm/utils/i18n.d.ts +1 -1
  372. package/dist/esm/utils/i18n.js +1 -1
  373. package/dist/esm/utils/imageloader.d.ts +3 -3
  374. package/dist/esm/utils/loadCustomCss.d.ts +1 -1
  375. package/dist/esm/utils/loadIcons.d.ts +1 -1
  376. package/dist/esm/utils/loadImagesInBatches.js +1 -1
  377. package/dist/esm/utils/mergeExhibitors.d.ts +1 -1
  378. package/dist/esm/utils/mobx.d.ts +1 -1
  379. package/dist/esm/utils/mobx.js +1 -1
  380. package/dist/esm/utils/preview-exhibitor.d.ts +1 -1
  381. package/dist/esm/utils/sanitizeText.d.ts +2 -2
  382. package/dist/esm/utils/sanitizeText.js +1 -1
  383. package/dist/esm/utils/trackingParams.d.ts +3 -0
  384. package/dist/esm/utils/trackingParams.js +1 -0
  385. package/dist/esm/utils/useHeatmapData.d.ts +3 -3
  386. package/dist/esm/utils/useHeatmapOverlay.d.ts +3 -3
  387. package/dist/esm/wayfinding/adapters/floorContext.d.ts +1 -1
  388. package/dist/esm/wayfinding/adapters/graphDataSource.d.ts +1 -1
  389. package/dist/esm/wayfinding/adapters/kioskCanvas.js +1 -1
  390. package/dist/esm/wayfinding/adapters/positionInput.d.ts +2 -2
  391. package/dist/esm/wayfinding/core/__tests__/helpers.d.ts +1 -1
  392. package/dist/esm/wayfinding/core/geometry/pointInPolygon.d.ts +3 -3
  393. package/dist/esm/wayfinding/core/graph/buildNGraph.d.ts +4 -4
  394. package/dist/esm/wayfinding/core/graph/findShortestPath.d.ts +1 -1
  395. package/dist/esm/wayfinding/core/graph/findShortestPath.js +1 -1
  396. package/dist/esm/wayfinding/core/graph/graphCache.d.ts +1 -1
  397. package/dist/esm/wayfinding/core/graph/linkCost.d.ts +1 -1
  398. package/dist/esm/wayfinding/core/graph/pathfinder/aStarPathFinder.d.ts +1 -1
  399. package/dist/esm/wayfinding/core/graph/pathfinder/aStarPathFinder.js +1 -1
  400. package/dist/esm/wayfinding/core/position/distanceToRoute.d.ts +1 -1
  401. package/dist/esm/wayfinding/core/position/rerouteController.d.ts +1 -1
  402. package/dist/esm/wayfinding/core/position/snapToRoute.d.ts +1 -1
  403. package/dist/esm/wayfinding/core/position/splitRouteByPoint.d.ts +1 -1
  404. package/dist/esm/wayfinding/core/rendering/computeTrailPoints.d.ts +1 -1
  405. package/dist/esm/wayfinding/core/rendering/computeTransitionPoints.d.ts +1 -1
  406. package/dist/esm/wayfinding/core/rendering/getVisibleRouteLines.d.ts +2 -2
  407. package/dist/esm/wayfinding/core/rendering/normalizeRouteDirection.d.ts +1 -1
  408. package/dist/esm/wayfinding/core/routing/buildMultiPointRoute.d.ts +1 -1
  409. package/dist/esm/wayfinding/core/routing/buildRoute.d.ts +1 -1
  410. package/dist/esm/wayfinding/core/routing/graphPointResolvers.d.ts +2 -2
  411. package/dist/esm/wayfinding/core/routing/routeResult.d.ts +1 -1
  412. package/dist/esm/wayfinding/handlers/yahHandler.d.ts +3 -3
  413. package/dist/esm/wayfinding/runtime/endpointView.d.ts +5 -5
  414. package/dist/esm/wayfinding/runtime/getRouteLines.d.ts +2 -2
  415. package/dist/esm/wayfinding/runtime/positionView.d.ts +3 -3
  416. package/dist/esm/wayfinding/runtime/routeLinesView.d.ts +2 -2
  417. package/dist/esm/wayfinding/runtime/routeRenderData.d.ts +1 -1
  418. package/dist/esm/wayfinding/runtime/trailView.d.ts +4 -4
  419. package/package.json +13 -12
  420. package/dist/browser/ShowKiosk-Ddu65pot.js +0 -27
@@ -1,187 +1,57 @@
1
1
  (function() {
2
2
  try {
3
3
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.7.5" };
4
+ e.SENTRY_RELEASE = { id: "3.7.7" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3ca84684-6943-4af2-a7c7-4eb383a56d69", e._sentryDebugIdIdentifier = "sentry-dbid-3ca84684-6943-4af2-a7c7-4eb383a56d69");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a55418ef-3277-40e3-abb0-d29255507a00", e._sentryDebugIdIdentifier = "sentry-dbid-a55418ef-3277-40e3-abb0-d29255507a00");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-C9CB_XOZ.js";
10
- import { t } from "./react-BlsmLtRd.js";
11
- import { n } from "./is-debug-0pBDODSU.js";
12
- import { _ as r, ct as i, f as a, j as o } from "./i18n-Cir_gINd.js";
13
- import { $ as s, B as c, Bt as l, Dt as u, F as d, Ft as f, G as p, Gt as m, H as h, I as g, J as _, L as v, Lt as y, M as b, Mt as x, N as S, Nt as C, Ot as w, Pt as T, Q as E, R as D, Rt as O, St as k, U as A, Ut as j, V as M, Vt as N, W as ee, Wt as P, X as te, Xt as ne, Y as re, Yt as F, Z as ie, bt as ae, c as oe, dn as se, et as ce, fn as le, i as I, in as ue, kt as de, ln as fe, nt as pe, o as L, q as me, s as R, sn as he, st as z, t as B, un as ge, wt as _e, z as ve, zt as ye } from "./store-CVf_IY9i.js";
9
+ import { r as e } from "./rolldown-runtime-MSULzasX.js";
10
+ import { t } from "./react-CE6J-REN.js";
11
+ import { t as n } from "./loadImage-B1THebfH.js";
12
+ import { _ as r, ct as i, f as a, j as o } from "./i18n-0QOfbI49.js";
13
+ import { $ as s, A as c, At as l, B as u, Bt as d, Ct as f, Et as p, F as m, Ft as h, G as g, Gt as _, Ht as v, I as y, It as b, J as x, Jt as S, Kt as C, L as w, M as T, Nt as E, P as D, Pt as O, Q as k, Qt as ee, R as A, Rt as j, Tt as te, U as M, V as ne, Vt as re, W as ie, Wt as ae, X as oe, Y as se, Z as ce, Zt as le, cn as ue, et as de, fn as fe, i as N, j as pe, ln as P, o as F, on as me, p as he, q as ge, rn as _e, s as I, st as L, t as R, un as ve, xt as ye, z as be, zt as xe } from "./store-FxMdLToE.js";
14
14
  //#region src/wayfinding/layers.ts
15
- var be = "wf-points", xe = "wf-trail-points", Se = "wf-lines", Ce = "wf-lines-animated", we = "wf-current-position", Te = "_selected", Ee = "markers";
16
- function De(e) {
17
- let t = [], n = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = [], o = e.scene.rootLayer.children.find((e) => e.name === Ee);
18
- async function s(e) {
19
- let t = [];
20
- e.forEach((e) => {
21
- let { name: r, content: i, width: a, height: o, scale: s } = e;
22
- if (n.has(r)) return;
23
- let c = new Image(), l = new Promise((e, t) => {
24
- c.onload = () => {
25
- n.set(r, {
26
- img: c,
27
- width: a,
28
- height: o,
29
- scale: s
30
- }), e();
31
- }, c.onerror = (e) => {
32
- t(e);
33
- };
34
- });
35
- t.push(l), c.src = i, c.crossOrigin = "anonymous";
36
- }), await Promise.all(t);
37
- }
38
- let c = (e) => `marker-ptScaleHandlers-${e.id}`, l = (e) => `marker-rollHandlers-${e.id}`, d = (t, n) => {
39
- e.onPtScale(n, (e) => {
40
- let { center: n, rotation: r } = t.bounds, { width: i, height: a } = t.source;
41
- return t.bounds = P(n.x, n.y, i, a, e, r), t;
42
- });
43
- }, f = (t, n) => {
44
- e.onRoll(n, (e) => (t.bounds.rotation = e, t));
45
- };
46
- function p() {
47
- let t = L.routeStore.markersData.markers;
48
- if (!t.length) return;
49
- a = [];
50
- let r = e.scale, s = u(e.angle);
51
- t.forEach((e) => {
52
- var t, o;
53
- let c = n.get(e.icon);
54
- if (!c) return;
55
- let l = c.scale || window.devicePixelRatio, u = e.icon;
56
- if (!i.has(u)) {
57
- let e = F(c.img, c.width, c.height, l);
58
- i.set(u, e);
59
- }
60
- let d = i.get(u), f = n.get(e.selectedIcon), p = e.selectedIcon;
61
- if (!i.has(p)) {
62
- let e = F(f.img, f.width, f.height, l);
63
- i.set(p, e);
64
- }
65
- let m = i.get(p), h = (t = (o = I.findLayer(e.z)) == null ? void 0 : o.visible) == null ? !0 : t, g = P(e.x, e.y, d.width, d.height, r, s), _ = P(e.x, e.y, m.width, m.height, r, s), v;
66
- switch (e.position) {
67
- case "lefttop":
68
- v = [0, 0];
69
- break;
70
- case "centertop":
71
- v = [.5, 0];
72
- break;
73
- case "centerbottom":
74
- v = [.5, 1];
75
- break;
76
- default: v = [.5, .5];
77
- }
78
- let y = {
79
- ...C(d, g, {
80
- hidden: !h,
81
- origin: v
82
- }),
83
- id: e.id,
84
- scale: l
85
- }, b = {
86
- ...C(m, _, {
87
- hidden: !(h && e.active),
88
- origin: v
89
- }),
90
- id: `${e.id}${Te}`,
91
- scale: l
92
- };
93
- a.push(y, b);
94
- }), o.children = a, a.forEach((e) => {
95
- d(e, c(e)), f(e, l(e));
96
- });
97
- }
98
- function m() {
99
- a.forEach((t) => {
100
- e.ptScaleRegistry.unregisterByName(c(t)), e.rollRegistry.unregisterByName(l(t));
101
- }), o.children = [], a = [];
102
- }
103
- function h() {
104
- let e = L.routeStore.markersData.markers;
105
- e.length && e.forEach((e) => {
106
- var t, n;
107
- let r = a.find((t) => t.id === e.id), i = a.find((t) => t.id === `${e.id}${Te}`);
108
- if (!r) return;
109
- let o = (t = (n = I.findLayer(e.z)) == null ? void 0 : n.visible) == null ? !0 : t;
110
- e.active ? (r.hidden = !0, i.hidden = !(o && e.active)) : (r.hidden = !o, i.hidden = !0);
111
- });
112
- }
113
- return t.push(r(() => [L.routeStore.selectedMarkers, L.layerStore.visible], () => {
114
- if (!L.routeStore.markersData.markers.length) {
115
- m(), e.update(o);
116
- return;
117
- }
118
- h(), e.update(...a);
119
- })), t.push(r(() => L.routeStore.markersData.markers, () => {
120
- s(L.routeStore.markersData.icons).then(() => {
121
- p(), e.update(o);
122
- });
123
- }, { fireImmediately: !0 })), function() {
124
- t.forEach((e) => e()), t.length = 0;
125
- };
126
- }
127
- function Oe(e, t, n) {
128
- for (let r of L.routeStore.markersData.markers) {
129
- let i = L.routeStore.markersData.icons.find((e) => e.name === r.icon);
130
- if (!i) continue;
131
- let a = i.width * n * devicePixelRatio, o = i.height * n * devicePixelRatio;
132
- if (ke(e, t, r.x, r.y, a, o)) {
133
- let e = L.layerStore.findLayer(r.z);
134
- if (!e || e && e.visible) return r;
135
- }
136
- }
137
- return null;
138
- }
139
- function ke(e, t, n, r, i, a) {
140
- let o = e >= n - i && e <= n + i, s = t >= r - a && t <= r + a;
141
- return o && s;
142
- }
143
- //#endregion
144
- //#region src/components/Map/traffic/trafficLayers.ts
145
- var Ae = "traffic_route", je = "traffic_route_stop", Me = "traffic_vehicles", Ne = "build_route_lines", Pe = "build_route_dots", Fe = 5;
146
- function Ie() {
15
+ var Se = "wf-points", Ce = "wf-trail-points", we = "wf-lines", Te = "wf-lines-animated", Ee = "wf-current-position", De = "traffic_route", Oe = "traffic_route_stop", ke = "traffic_vehicles", Ae = "build_route_lines", je = "build_route_dots", Me = 5;
16
+ function Ne() {
147
17
  let e = [];
148
- for (let t = 0; t < Fe; t++) e.push({
149
- name: Le(t),
18
+ for (let t = 0; t < Me; t++) e.push({
19
+ name: Pe(t),
150
20
  children: []
151
21
  }), e.push({
152
- name: Re(t),
22
+ name: Fe(t),
153
23
  children: [],
154
24
  interactive: !0
155
25
  });
156
26
  return e.push({
157
- name: Me,
27
+ name: ke,
158
28
  children: [],
159
29
  interactive: !0
160
30
  }), e.push({
161
- name: Ne,
31
+ name: Ae,
162
32
  children: []
163
33
  }), e.push({
164
- name: Pe,
34
+ name: je,
165
35
  children: [],
166
36
  interactive: !0
167
37
  }), e;
168
38
  }
169
- function Le(e) {
170
- return `${Ae}_${e + 1}`;
39
+ function Pe(e) {
40
+ return `${De}_${e + 1}`;
171
41
  }
172
- function Re(e) {
173
- return `${je}_${e + 1}`;
42
+ function Fe(e) {
43
+ return `${Oe}_${e + 1}`;
174
44
  }
175
- function ze() {
176
- return RegExp(`^${Ae}_\\d+$`);
45
+ function Ie() {
46
+ return RegExp(`^${De}_\\d+$`);
177
47
  }
178
- function Be() {
179
- return RegExp(`^${je}_\\d+$`);
48
+ function Le() {
49
+ return RegExp(`^${Oe}_\\d+$`);
180
50
  }
181
51
  //#endregion
182
52
  //#region src/utils/geometry.ts
183
- var Ve = /* @__PURE__ */ e(le(), 1);
184
- function He(e, t, n) {
53
+ var Re = /* @__PURE__ */ e(ve(), 1);
54
+ function ze(e, t, n) {
185
55
  let [r, i] = n[0], [a, o] = n[1], [s, c] = n[2], l = (o - c) * (r - s) + (s - a) * (i - c);
186
56
  if (l === 0) return !1;
187
57
  let u = ((o - c) * (e - s) + (s - a) * (t - c)) / l, d = ((c - i) * (e - s) + (r - s) * (t - c)) / l, f = 1 - u - d;
@@ -189,19 +59,19 @@ function He(e, t, n) {
189
59
  }
190
60
  //#endregion
191
61
  //#region src/components/Map/drawing/config/config-booth-badge.ts
192
- var Ue = .5, We = .3, Ge = 15, Ke = 24, qe = 30, Je = 12, Ye = .8, Xe = document.createElement("canvas").getContext("2d");
193
- function Ze(e) {
194
- return e.length <= Ge ? e : e.slice(0, Ge - 1) + "…";
62
+ var Be = .5, Ve = .3, He = 15, Ue = 24, We = 30, Ge = 12, Ke = .8, qe = document.createElement("canvas").getContext("2d");
63
+ function Je(e) {
64
+ return e.length <= He ? e : e.slice(0, He - 1) + "…";
195
65
  }
196
- function Qe(e) {
66
+ function Ye(e) {
197
67
  var t, n;
198
68
  if (!((t = e.paths) != null && t.length)) return [];
199
69
  let r = ((n = e.layer) == null ? void 0 : n.name) || "", i = [];
200
- for (let t of e.paths) for (let e of he(t.index, r)) i.push(e);
70
+ for (let t of e.paths) for (let e of me(t.index, r)) i.push(e);
201
71
  return i;
202
72
  }
203
- function $e(e) {
204
- let t = Qe(e);
73
+ function Xe(e) {
74
+ let t = Ye(e);
205
75
  if (!t.length) return null;
206
76
  let n = Infinity, r = Infinity, i = -Infinity, a = -Infinity;
207
77
  for (let e of t) for (let t of e) t[0] < n && (n = t[0]), t[1] < r && (r = t[1]), t[0] > i && (i = t[0]), t[1] > a && (a = t[1]);
@@ -212,25 +82,25 @@ function $e(e) {
212
82
  h: a - r
213
83
  } : null;
214
84
  }
215
- function V(e, t, n) {
216
- for (let r of n) if (He(e, t, r)) return !0;
85
+ function z(e, t, n) {
86
+ for (let r of n) if (ze(e, t, r)) return !0;
217
87
  return !1;
218
88
  }
219
- function et(e, t, n, r, i, a) {
220
- if (!e.length || !V(t, n, e)) return a;
89
+ function Ze(e, t, n, r, i, a) {
90
+ if (!e.length || !z(t, n, e)) return a;
221
91
  let o = 0, s = a;
222
92
  for (let a = 0; a < 10; a++) {
223
93
  let a = (o + s) / 2, c = r * a, l = i * a;
224
- V(t + c, n, e) && V(t, n + l, e) && V(t + c, n + l, e) ? o = a : s = a;
94
+ z(t + c, n, e) && z(t, n + l, e) && z(t + c, n + l, e) ? o = a : s = a;
225
95
  }
226
96
  return o;
227
97
  }
228
- function tt(e) {
98
+ function Qe(e) {
229
99
  var t;
230
- return (t = $e(e)) == null ? e.rect : t;
100
+ return (t = Xe(e)) == null ? e.rect : t;
231
101
  }
232
- function nt(e, t, n, r) {
233
- let i = tt(e);
102
+ function $e(e, t, n, r) {
103
+ let i = Qe(e);
234
104
  if (t.length) {
235
105
  let e = /* @__PURE__ */ new Set(), r = null, a = Infinity;
236
106
  for (let o of t) for (let s of o) {
@@ -238,7 +108,7 @@ function nt(e, t, n, r) {
238
108
  if (e.has(o)) continue;
239
109
  e.add(o);
240
110
  let c = s[0] + n, l = s[1] + n;
241
- if (V(c, l, t)) {
111
+ if (z(c, l, t)) {
242
112
  let e = c - i.x1 + (l - i.y1);
243
113
  e < a && (a = e, r = {
244
114
  x: c,
@@ -259,57 +129,57 @@ function nt(e, t, n, r) {
259
129
  y: e.rect.cy + l * c + u * s
260
130
  };
261
131
  }
262
- function H(e) {
132
+ function B(e) {
263
133
  return e && e !== "none" ? e : void 0;
264
134
  }
265
- function rt(e) {
135
+ function et(e) {
266
136
  var t;
267
- let n = H(e.borderColor) || H(ge.boothBorderColor) || ge.colors.booths.default;
268
- return ((t = e.paths) == null ? void 0 : t.length) > 1 && H(e.paths[e.paths.length - 1].color) || n;
269
- }
270
- function it(e, t) {
271
- let n = Ze(t.title || t.name), i = rt(t), a = oe((0, Ve.default)(i).hex()), o = window.devicePixelRatio || 1, s = w();
272
- Xe.font = ne(qe, s);
273
- let c = Xe.measureText(n).width, l = Math.ceil(c + Je * 2), u = (t.borderWidth || B.borderWidth) / 2, d = l * Ye, f = 54 * Ye, p = t.rotate ? -t.rotate : 0, h = t.rect.w, g = t.rect.h, _ = Math.min(h > 0 ? h * Ue / d : Infinity, g > 0 ? g * We / f : Infinity), v = Qe(t), { x: b, y: x } = nt(t, v, u, p), S = et(v, b, x, d, f, _), C = Math.cos(p), T = Math.sin(p), E = (e, t) => {
274
- let n = e / 2, r = t / 2, i = b + n * C - r * T, a = x + n * T + r * C;
275
- return new m({
137
+ let n = B(e.borderColor) || B(fe.boothBorderColor) || fe.colors.booths.default;
138
+ return ((t = e.paths) == null ? void 0 : t.length) > 1 && B(e.paths[e.paths.length - 1].color) || n;
139
+ }
140
+ function tt(e, t) {
141
+ let n = Je(t.title || t.name), i = et(t), a = he((0, Re.default)(i).hex()), o = window.devicePixelRatio || 1, s = te();
142
+ qe.font = ee(We, s);
143
+ let c = qe.measureText(n).width, l = Math.ceil(c + Ge * 2), u = (t.borderWidth || R.borderWidth) / 2, f = l * Ke, m = 54 * Ke, h = t.rotate ? -t.rotate : 0, g = t.rect.w, _ = t.rect.h, v = Math.min(g > 0 ? g * Be / f : Infinity, _ > 0 ? _ * Ve / m : Infinity), y = Ye(t), { x: b, y: x } = $e(t, y, u, h), S = Ze(y, b, x, f, m, v), w = Math.cos(h), T = Math.sin(h), E = (e, t) => {
144
+ let n = e / 2, r = t / 2, i = b + n * w - r * T, a = x + n * T + r * w;
145
+ return new C({
276
146
  x: i - n,
277
147
  y: a - r
278
148
  }, {
279
149
  x: i + n,
280
150
  y: a + r
281
- }, p);
151
+ }, h);
282
152
  }, D = (e) => {
283
153
  let t = Math.min(e, S);
284
- return E(d * t, f * t);
285
- }, k = de(s, e.fontUrls), A = y(E(1, 1), i);
286
- A.hidden = !0, A.dim = t.skipDim ? !1 : void 0;
287
- let j = O(ye([[n], []], a, 0, [k, k]), E(1, 1), [0, 0], {
154
+ return E(f * t, m * t);
155
+ }, O = p(s, e.fontUrls), k = j(E(1, 1), i);
156
+ k.hidden = !0, k.dim = t.skipDim ? !1 : void 0;
157
+ let A = xe(d([[n], []], a, 0, [O, O]), E(1, 1), [0, 0], {
288
158
  horizontal: "center",
289
159
  vertical: "center"
290
160
  });
291
- j.hidden = !0, j.dim = t.skipDim ? !1 : void 0;
161
+ A.hidden = !0, A.dim = t.skipDim ? !1 : void 0;
292
162
  let M = () => !!(t.layer && !t.layer.visible);
293
163
  return r(() => t.skipDim, (t) => {
294
- A.dim = t ? !1 : void 0, j.dim = t ? !1 : void 0, e.update(A, j);
164
+ k.dim = t ? !1 : void 0, A.dim = t ? !1 : void 0, e.update(k, A);
295
165
  }), r(() => {
296
166
  var e, n;
297
167
  return (e = (n = t.layer) == null ? void 0 : n.visible) == null ? !0 : e;
298
168
  }, (t) => {
299
- A.hidden = !t, j.hidden = !t, e.update(A, j);
300
- }), e.onPtScale(`badge-bg-${t.id}`, (e) => (A.shape = D(e), A.hidden = M(), A)), e.onPtScale(`badge-text-${t.id}`, (e) => {
169
+ k.hidden = !t, A.hidden = !t, e.update(k, A);
170
+ }), e.onPtScale(`badge-bg-${t.id}`, (e) => (k.shape = D(e), k.hidden = M(), k)), e.onPtScale(`badge-text-${t.id}`, (e) => {
301
171
  let t = Math.min(e, S);
302
- return j.lines[0].fontSize = Ke / o * t, j.bounds = D(e), j.hidden = M(), j;
172
+ return A.lines[0].fontSize = Ue / o * t, A.bounds = D(e), A.hidden = M(), A;
303
173
  }), {
304
- bg: A,
305
- text: j
174
+ bg: k,
175
+ text: A
306
176
  };
307
177
  }
308
- function at(e, t, n) {
309
- if (fe.hideExhibitorBoothNumber) return null;
178
+ function nt(e, t, n) {
179
+ if (ue.hideExhibitorBoothNumber) return null;
310
180
  let r = [], i = [];
311
- for (let t of n) if (t instanceof ue && t.noLabels && !R.hideLogoInBooth && t.exhibitors.some((e) => e.logoInBooth && e.logo)) {
312
- let { bg: n, text: a } = it(e, t);
181
+ for (let t of n) if (t instanceof _e && t.noLabels && !I.hideLogoInBooth && t.exhibitors.some((e) => e.logoInBooth && e.logo)) {
182
+ let { bg: n, text: a } = tt(e, t);
313
183
  r.push(n), i.push(a);
314
184
  }
315
185
  return r.length ? {
@@ -324,26 +194,156 @@ function at(e, t, n) {
324
194
  } : null;
325
195
  }
326
196
  //#endregion
197
+ //#region src/components/Map/drawing/config/config-markers.ts
198
+ var rt = "_selected", it = "markers";
199
+ function at(e) {
200
+ let t = [], n = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = [], o = e.scene.rootLayer.children.find((e) => e.name === it);
201
+ async function s(e) {
202
+ let t = [];
203
+ e.forEach((e) => {
204
+ let { name: r, content: i, width: a, height: o, scale: s } = e;
205
+ if (n.has(r)) return;
206
+ let c = new Image(), l = new Promise((e, t) => {
207
+ c.onload = () => {
208
+ n.set(r, {
209
+ img: c,
210
+ width: a,
211
+ height: o,
212
+ scale: s
213
+ }), e();
214
+ }, c.onerror = (e) => {
215
+ t(e);
216
+ };
217
+ });
218
+ t.push(l), c.src = i, c.crossOrigin = "anonymous";
219
+ }), await Promise.all(t);
220
+ }
221
+ let c = (e) => `marker-ptScaleHandlers-${e.id}`, u = (e) => `marker-rollHandlers-${e.id}`, d = (t, n) => {
222
+ e.onPtScale(n, (e) => {
223
+ let { center: n, rotation: r } = t.bounds, { width: i, height: a } = t.source;
224
+ return t.bounds = _(n.x, n.y, i, a, e, r), t;
225
+ });
226
+ }, f = (t, n) => {
227
+ e.onRoll(n, (e) => (t.bounds.rotation = e, t));
228
+ };
229
+ function p() {
230
+ let t = F.routeStore.markersData.markers;
231
+ if (!t.length) return;
232
+ a = [];
233
+ let r = e.scale, s = l(e.angle);
234
+ t.forEach((e) => {
235
+ var t, o;
236
+ let c = n.get(e.icon);
237
+ if (!c) return;
238
+ let l = c.scale || window.devicePixelRatio, u = e.icon;
239
+ if (!i.has(u)) {
240
+ let e = le(c.img, c.width, c.height, l);
241
+ i.set(u, e);
242
+ }
243
+ let d = i.get(u), f = n.get(e.selectedIcon), p = e.selectedIcon;
244
+ if (!i.has(p)) {
245
+ let e = le(f.img, f.width, f.height, l);
246
+ i.set(p, e);
247
+ }
248
+ let m = i.get(p), h = (t = (o = N.findLayer(e.z)) == null ? void 0 : o.visible) == null ? !0 : t, g = _(e.x, e.y, d.width, d.height, r, s), v = _(e.x, e.y, m.width, m.height, r, s), y;
249
+ switch (e.position) {
250
+ case "lefttop":
251
+ y = [0, 0];
252
+ break;
253
+ case "centertop":
254
+ y = [.5, 0];
255
+ break;
256
+ case "centerbottom":
257
+ y = [.5, 1];
258
+ break;
259
+ default: y = [.5, .5];
260
+ }
261
+ let b = {
262
+ ...O(d, g, {
263
+ hidden: !h,
264
+ origin: y
265
+ }),
266
+ id: e.id,
267
+ scale: l
268
+ }, x = {
269
+ ...O(m, v, {
270
+ hidden: !(h && e.active),
271
+ origin: y
272
+ }),
273
+ id: `${e.id}${rt}`,
274
+ scale: l
275
+ };
276
+ a.push(b, x);
277
+ }), o.children = a, a.forEach((e) => {
278
+ d(e, c(e)), f(e, u(e));
279
+ });
280
+ }
281
+ function m() {
282
+ a.forEach((t) => {
283
+ e.ptScaleRegistry.unregisterByName(c(t)), e.rollRegistry.unregisterByName(u(t));
284
+ }), o.children = [], a = [];
285
+ }
286
+ function h() {
287
+ let e = F.routeStore.markersData.markers;
288
+ e.length && e.forEach((e) => {
289
+ var t, n;
290
+ let r = a.find((t) => t.id === e.id), i = a.find((t) => t.id === `${e.id}${rt}`);
291
+ if (!r) return;
292
+ let o = (t = (n = N.findLayer(e.z)) == null ? void 0 : n.visible) == null ? !0 : t;
293
+ e.active ? (r.hidden = !0, i.hidden = !(o && e.active)) : (r.hidden = !o, i.hidden = !0);
294
+ });
295
+ }
296
+ return t.push(r(() => [F.routeStore.selectedMarkers, F.layerStore.visible], () => {
297
+ if (!F.routeStore.markersData.markers.length) {
298
+ m(), e.update(o);
299
+ return;
300
+ }
301
+ h(), e.update(...a);
302
+ })), t.push(r(() => F.routeStore.markersData.markers, () => {
303
+ s(F.routeStore.markersData.icons).then(() => {
304
+ p(), e.update(o);
305
+ });
306
+ }, { fireImmediately: !0 })), function() {
307
+ t.forEach((e) => e()), t.length = 0;
308
+ };
309
+ }
310
+ function ot(e, t, n) {
311
+ for (let r of F.routeStore.markersData.markers) {
312
+ let i = F.routeStore.markersData.icons.find((e) => e.name === r.icon);
313
+ if (!i) continue;
314
+ let a = i.width * n * devicePixelRatio, o = i.height * n * devicePixelRatio;
315
+ if (st(e, t, r.x, r.y, a, o)) {
316
+ let e = F.layerStore.findLayer(r.z);
317
+ if (!e || e && e.visible) return r;
318
+ }
319
+ }
320
+ return null;
321
+ }
322
+ function st(e, t, n, r, i, a) {
323
+ let o = e >= n - i && e <= n + i, s = t >= r - a && t <= r + a;
324
+ return o && s;
325
+ }
326
+ //#endregion
327
327
  //#region src/components/Map/drawing/config/config-all.ts
328
- function ot(e) {
329
- let { layers: t, defaultLayer: n } = L.layerStore;
328
+ function ct(e) {
329
+ let { layers: t, defaultLayer: n } = F.layerStore;
330
330
  if (n) {
331
331
  let e = [].concat(t), r = t.find((e) => e === n), i = t.indexOf(r);
332
332
  e.splice(i, 1), t = [r].concat(e);
333
333
  }
334
- let r = t.filter((e) => !e.rootParent).map((t) => _e(t, e));
334
+ let r = t.filter((e) => !e.rootParent).map((t) => f(t, e));
335
335
  return Promise.all(r).then((t) => {
336
- let n = T(be, [], {
336
+ let n = h(Se, [], {
337
337
  dim: !1,
338
338
  interactive: !0
339
- }), r = T(Se, [], { dim: !1 }), i = T(Ee, []), a = T(xe, [], { dim: !1 }), o = T(Ce, [], { dim: !1 }), s = T(we, [], { dim: !1 }), c = [], l = [];
340
- for (let e of t.flat()) ae(e.name) ? (e.dim = !1, l.push(e)) : c.push(e);
341
- let u = at(e, "root", L.boothStore.booths);
339
+ }), r = h(we, [], { dim: !1 }), i = h(it, []), a = h(Ce, [], { dim: !1 }), o = h(Te, [], { dim: !1 }), s = h(Ee, [], { dim: !1 }), c = [], l = [];
340
+ for (let e of t.flat()) S(e.name) ? (e.dim = !1, l.push(e)) : c.push(e);
341
+ let u = nt(e, "root", F.boothStore.booths);
342
342
  return [
343
343
  ...c,
344
344
  ...u ? [u] : [],
345
345
  ...l,
346
- ...Ie(),
346
+ ...Ne(),
347
347
  i,
348
348
  a,
349
349
  r,
@@ -355,7 +355,7 @@ function ot(e) {
355
355
  }
356
356
  //#endregion
357
357
  //#region src/components/Map/traffic/UpdateQueue.ts
358
- var U = /* @__PURE__ */ e(t(), 1), st = class {
358
+ var V = /* @__PURE__ */ e(t(), 1), lt = class {
359
359
  constructor() {
360
360
  this.queue = [], this.isProcessing = !1, this.rafId = null, this.CHUNK_SIZE = 100, this.TIME_BUDGET = 4;
361
361
  }
@@ -397,7 +397,7 @@ var U = /* @__PURE__ */ e(t(), 1), st = class {
397
397
  destroy() {
398
398
  this.rafId !== null && (cancelAnimationFrame(this.rafId), this.rafId = null), this.queue = [], this.isProcessing = !1;
399
399
  }
400
- }, W = 49, ct = `hsl(257, 76%, ${W}%)`, lt = `hsl(339.903, 82%, ${W}%)`, ut = `hsl(257, 76%, ${Math.round(W * 1.82)}%)`, G = 4, dt = G, ft = "U", pt = "R", mt = "S", ht = "P", gt = class {
400
+ }, H = 49, ut = `hsl(257, 76%, ${H}%)`, dt = `hsl(339.903, 82%, ${H}%)`, ft = `hsl(257, 76%, ${Math.round(H * 1.82)}%)`, U = 4, pt = U, mt = "U", ht = "R", gt = "S", _t = "P", vt = class {
401
401
  constructor() {
402
402
  this._state = [[]], this.index = 0, this.pointHashSet = /* @__PURE__ */ new Set(), this.locked = !1, this.storageKey = "expofp_build_route_state", this._selected = 0;
403
403
  }
@@ -436,10 +436,10 @@ var U = /* @__PURE__ */ e(t(), 1), st = class {
436
436
  instruct() {
437
437
  this.log(`How to Build a Route:
438
438
  Add Point: Click on the map.
439
- Apply Smoothing: Press ${pt}.
440
- Apply Simplification: Press ${mt}.
441
- Undo: Press ${ft}.
442
- Enable/Disable Preview: Press ${ht}.
439
+ Apply Smoothing: Press ${ht}.
440
+ Apply Simplification: Press ${gt}.
441
+ Undo: Press ${mt}.
442
+ Enable/Disable Preview: Press ${_t}.
443
443
  `, 16);
444
444
  }
445
445
  applyChaikinSmoothing(e, t, n) {
@@ -533,15 +533,15 @@ Enable/Disable Preview: Press ${ht}.
533
533
  this._selected = Math.max(0, Math.min(e, this.points.length - 1));
534
534
  }
535
535
  };
536
- function _t({ enabled: e, rendererService: t }) {
537
- let n = (0, U.useRef)(!1), r = (0, U.useRef)(), i = (0, U.useMemo)(() => j(G, ct), []), a = (0, U.useMemo)(() => j(G, lt), []), o = (0, U.useMemo)(() => new gt(), []), s = (0, U.useRef)(new st()), c = (0, U.useMemo)(() => {
536
+ function yt({ enabled: e, rendererService: t }) {
537
+ let n = (0, V.useRef)(!1), r = (0, V.useRef)(), i = (0, V.useMemo)(() => ae(U, ut), []), a = (0, V.useMemo)(() => ae(U, dt), []), o = (0, V.useMemo)(() => new vt(), []), s = (0, V.useRef)(new lt()), c = (0, V.useMemo)(() => {
538
538
  if (!t.scene) return {};
539
539
  let e = t.scene.rootLayer.children;
540
540
  return {
541
- linesLayer: e.find((e) => e.name === Ne),
542
- pointsLayer: e.find((e) => e.name === Pe)
541
+ linesLayer: e.find((e) => e.name === Ae),
542
+ pointsLayer: e.find((e) => e.name === je)
543
543
  };
544
- }, [t.scene]), u = (0, U.useCallback)(() => {
544
+ }, [t.scene]), l = (0, V.useCallback)(() => {
545
545
  if (!(t != null && t.renderer) || !c || !i || !a) return;
546
546
  let { linesLayer: e, pointsLayer: l } = c;
547
547
  if (!e || !l) return;
@@ -550,7 +550,7 @@ function _t({ enabled: e, rendererService: t }) {
550
550
  let s = n == o.selected ? a : i;
551
551
  return {
552
552
  source: s,
553
- bounds: P(e, t, s.width, s.height, r.current)
553
+ bounds: _(e, t, s.width, s.height, r.current)
554
554
  };
555
555
  });
556
556
  let f = [];
@@ -558,8 +558,8 @@ function _t({ enabled: e, rendererService: t }) {
558
558
  let t = u[e - 1], n = u[e];
559
559
  f.push({
560
560
  points: [t, n],
561
- color: d ? ct : ut,
562
- width: dt
561
+ color: d ? ut : ft,
562
+ width: pt
563
563
  });
564
564
  }
565
565
  f.length ? e.children = f : e.children.length = 0, s.current.add(() => t.update(l, e)), o.instruct(), o.log(JSON.stringify(o.points));
@@ -569,32 +569,32 @@ function _t({ enabled: e, rendererService: t }) {
569
569
  c,
570
570
  i,
571
571
  a
572
- ]), d = (0, U.useCallback)((e) => {
572
+ ]), u = (0, V.useCallback)((e) => {
573
573
  let t = e.key.toUpperCase();
574
574
  o.execute(() => {
575
575
  switch (t) {
576
- case ft:
577
- e.preventDefault(), o.undo(), n.current = !1, u();
578
- break;
579
- case pt:
580
- e.preventDefault(), o.applySmoothing(), n.current = !1, u();
581
- break;
582
576
  case mt:
583
- e.preventDefault(), o.applySimplification(), n.current = !1, u();
577
+ e.preventDefault(), o.undo(), n.current = !1, l();
584
578
  break;
585
579
  case ht:
586
- e.preventDefault(), n.current = !n.current, u();
580
+ e.preventDefault(), o.applySmoothing(), n.current = !1, l();
581
+ break;
582
+ case gt:
583
+ e.preventDefault(), o.applySimplification(), n.current = !1, l();
584
+ break;
585
+ case _t:
586
+ e.preventDefault(), n.current = !n.current, l();
587
587
  break;
588
588
  }
589
589
  });
590
- }, [o, u]), f = (0, U.useCallback)(({ ptScale: e, sceneId: n }) => {
591
- if (!l(n) || !(t != null && t.renderer) || !c) return;
590
+ }, [o, l]), d = (0, V.useCallback)(({ ptScale: e, sceneId: n }) => {
591
+ if (!re(n) || !(t != null && t.renderer) || !c) return;
592
592
  let { pointsLayer: i } = c;
593
593
  i && (r.current = e, o.execute(() => {
594
594
  let e = i.children, n = [];
595
595
  for (let t = 0; t < e.length; t++) {
596
596
  let i = e[t];
597
- i.bounds = P(i.bounds.center.x, i.bounds.center.y, i.source.width, i.source.height, r.current), n.push(i);
597
+ i.bounds = _(i.bounds.center.x, i.bounds.center.y, i.source.width, i.source.height, r.current), n.push(i);
598
598
  }
599
599
  s.current.add(() => t.update(...n));
600
600
  }));
@@ -602,38 +602,38 @@ function _t({ enabled: e, rendererService: t }) {
602
602
  t,
603
603
  c,
604
604
  o
605
- ]), p = (0, U.useCallback)(({ data: e }) => {
605
+ ]), f = (0, V.useCallback)(({ data: e }) => {
606
606
  o.execute(() => {
607
- let { point: t } = N(e);
607
+ let { point: t } = v(e);
608
608
  o.add({
609
609
  x: t.x,
610
610
  y: t.y
611
- }), o.select(o.points.length - 1), u();
611
+ }), o.select(o.points.length - 1), l();
612
612
  });
613
- }, [o, u]);
614
- (0, U.useEffect)(() => {
613
+ }, [o, l]);
614
+ (0, V.useEffect)(() => {
615
615
  let n = t.renderer;
616
616
  if (!(!e || !n)) return r.current = t.scale, o.execute(() => {
617
- o.restore(), u();
618
- }), n.events.addEventListener("pointer:click", p), n.events.addEventListener("viewport:ptscale", f), window.addEventListener("keyup", d), () => {
619
- window.removeEventListener("keyup", d), n.events.removeEventListener("pointer:click", p), n.events.removeEventListener("viewport:ptscale", f), s.current.destroy();
617
+ o.restore(), l();
618
+ }), n.events.addEventListener("pointer:click", f), n.events.addEventListener("viewport:ptscale", d), window.addEventListener("keyup", u), () => {
619
+ window.removeEventListener("keyup", u), n.events.removeEventListener("pointer:click", f), n.events.removeEventListener("viewport:ptscale", d), s.current.destroy();
620
620
  };
621
621
  }, [
622
622
  e,
623
623
  t,
624
624
  o,
625
- u,
626
- p,
625
+ l,
627
626
  f,
628
- d
627
+ d,
628
+ u
629
629
  ]);
630
630
  }
631
631
  //#endregion
632
632
  //#region src/components/Map/traffic/useManageTraffic.ts
633
- var K = 2, vt = K * 3.5, q = K * 12, yt = q * .7, bt = 8, xt = "transport_locations", St = 150, Ct = "#a4aab6", wt = 1e3, Tt = 2e4, Et = 500;
634
- function Dt({ permission: e, rendererService: t, dataJsonUrl: r, websocketUrl: i }) {
635
- let a = (0, U.useRef)(window.devicePixelRatio), s = (0, U.useRef)(/* @__PURE__ */ new Map()), c = (0, U.useRef)(/* @__PURE__ */ new Map()), u = (0, U.useRef)(), d = (0, U.useRef)(), f = (0, U.useRef)(performance.now()), p = (0, U.useRef)(1), m = (0, U.useRef)(new st()), h = (0, U.useRef)(/* @__PURE__ */ new Map()), g = (0, U.useRef)(), _ = (0, U.useRef)(wt), v = (0, U.useRef)(/* @__PURE__ */ new Map()), y = (0, U.useRef)();
636
- (0, U.useEffect)(() => {
633
+ var W = 2, bt = W * 3.5, G = W * 12, xt = G * .7, St = 8, Ct = "transport_locations", wt = 150, K = "#a4aab6", Tt = 1e3, Et = 2e4, Dt = 500;
634
+ function Ot({ permission: e, rendererService: t, dataJsonUrl: r, websocketUrl: i }) {
635
+ let a = (0, V.useRef)(window.devicePixelRatio), s = (0, V.useRef)(/* @__PURE__ */ new Map()), c = (0, V.useRef)(/* @__PURE__ */ new Map()), l = (0, V.useRef)(), u = (0, V.useRef)(), d = (0, V.useRef)(performance.now()), f = (0, V.useRef)(1), p = (0, V.useRef)(new lt()), m = (0, V.useRef)(/* @__PURE__ */ new Map()), h = (0, V.useRef)(), g = (0, V.useRef)(Tt), v = (0, V.useRef)(/* @__PURE__ */ new Map()), y = (0, V.useRef)();
636
+ (0, V.useEffect)(() => {
637
637
  let b;
638
638
  async function x() {
639
639
  if (!(!e || !t.scene)) try {
@@ -649,18 +649,18 @@ function Dt({ permission: e, rendererService: t, dataJsonUrl: r, websocketUrl: i
649
649
  console.warn("useManageTraffic failed to get JSON", e);
650
650
  }
651
651
  if (!e || e != null && e.disabled || e != null && e.error) return;
652
- a.current = Ot(t.scale);
653
- let i = new Map(e.routes.map(({ id: e, color: t }) => [e, t])), u = t.scene.rootLayer.children, _ = /* @__PURE__ */ new Map();
652
+ a.current = kt(t.scale);
653
+ let i = new Map(e.routes.map(({ id: e, color: t }) => [e, t])), l = t.scene.rootLayer.children, g = /* @__PURE__ */ new Map();
654
654
  i.forEach((e) => {
655
- _.set(e, jt({
656
- radius: vt,
655
+ g.set(e, Mt({
656
+ radius: bt,
657
657
  color: e,
658
658
  scale: window.devicePixelRatio
659
659
  }));
660
660
  });
661
- let y = ze(), x = u.filter((e) => y.test(e.name)), C = Be(), T = u.filter((e) => C.test(e.name));
661
+ let y = Ie(), x = l.filter((e) => y.test(e.name)), C = Le(), T = l.filter((e) => C.test(e.name));
662
662
  e.routes.slice(0, x.length).forEach(({ id: e, color: n, path: r, stops: i, hiddenPoints: o }, s) => {
663
- h.current.set(e, r);
663
+ m.current.set(e, r);
664
664
  let c = x[s];
665
665
  if (c) {
666
666
  var l;
@@ -670,77 +670,77 @@ function Dt({ permission: e, rendererService: t, dataJsonUrl: r, websocketUrl: i
670
670
  e.has(zt(i)) || e.has(zt(a)) || c.children.push({
671
671
  points: [i, a],
672
672
  color: n,
673
- width: K
673
+ width: W
674
674
  });
675
675
  }
676
- c.children.length && m.current.add(() => t.update(c));
676
+ c.children.length && p.current.add(() => t.update(c));
677
677
  }
678
678
  let u = T[s];
679
679
  if (u && i != null && i.length) {
680
- let e = _.get(n);
680
+ let e = g.get(n);
681
681
  i.forEach((t) => {
682
682
  u.children.push({
683
683
  source: e,
684
- bounds: P(t.x, t.y, e.width, e.height, a.current)
684
+ bounds: _(t.x, t.y, e.width, e.height, a.current)
685
685
  });
686
- }), u.children.length && m.current.add(() => t.update(u));
686
+ }), u.children.length && p.current.add(() => t.update(u));
687
687
  }
688
688
  });
689
- let E = u.find((e) => e.name === Me), D = /* @__PURE__ */ new Map();
690
- g.current = (e) => {
689
+ let E = l.find((e) => e.name === ke), D = /* @__PURE__ */ new Map();
690
+ h.current = (e) => {
691
691
  try {
692
- let { ptScale: n, sceneId: r } = kt(e);
693
- if (!l(r)) return;
694
- a.current = Ot(n);
692
+ let { ptScale: n, sceneId: r } = At(e);
693
+ if (!re(r)) return;
694
+ a.current = kt(n);
695
695
  let i = [];
696
696
  for (let e = 0; e < T.length; e++) {
697
697
  let t = T[e].children;
698
698
  for (let e = 0; e < t.length; e++) {
699
699
  let n = t[e];
700
- n.bounds = P(n.bounds.center.x, n.bounds.center.y, n.source.width, n.source.height, a.current, n.bounds.rotation), i.push(n);
700
+ n.bounds = _(n.bounds.center.x, n.bounds.center.y, n.source.width, n.source.height, a.current, n.bounds.rotation), i.push(n);
701
701
  }
702
702
  }
703
703
  let o = [...s.current.values()];
704
704
  for (let e = 0; e < o.length; e++) {
705
705
  let t = o[e];
706
- t.bounds = P(t.bounds.center.x, t.bounds.center.y, t.source.width, t.source.height, a.current, t.bounds.rotation);
706
+ t.bounds = _(t.bounds.center.x, t.bounds.center.y, t.source.width, t.source.height, a.current, t.bounds.rotation);
707
707
  }
708
- m.current.add(() => t.update(...i, ...o));
708
+ p.current.add(() => t.update(...i, ...o));
709
709
  } catch (e) {
710
710
  console.error("ptscale", e);
711
711
  }
712
- }, t.renderer.events.addEventListener("viewport:ptscale", g.current), b = requestAnimationFrame(() => {
712
+ }, t.renderer.events.addEventListener("viewport:ptscale", h.current), b = requestAnimationFrame(() => {
713
713
  var e;
714
- (e = g.current) == null || e.call(g, t.scale);
714
+ (e = h.current) == null || e.call(h, t.scale);
715
715
  }), i.forEach((e, t) => {
716
- D.set(t, Mt({
716
+ D.set(t, Nt({
717
717
  id: t,
718
- width: q,
719
- height: q,
718
+ width: G,
719
+ height: G,
720
720
  color: e,
721
721
  scale: window.devicePixelRatio
722
722
  }));
723
- }), D.set(Ct, Mt({
723
+ }), D.set(K, Nt({
724
724
  id: "orphan",
725
- width: q,
726
- height: q,
727
- color: Ct,
725
+ width: G,
726
+ height: G,
727
+ color: K,
728
728
  scale: window.devicePixelRatio
729
729
  }));
730
730
  let O = null;
731
731
  try {
732
- O = F(await n(`${o}icons/bus-white.svg`), yt, yt, window.devicePixelRatio);
732
+ O = le(await n(`${o}icons/bus-white.svg`), xt, xt, window.devicePixelRatio);
733
733
  } catch (e) {
734
734
  console.error(e);
735
735
  }
736
- d.current = (e) => {
736
+ u.current = (e) => {
737
737
  try {
738
738
  var n;
739
739
  let r = JSON.parse(e.data);
740
- if (r.type !== xt) return;
740
+ if (r.type !== Ct) return;
741
741
  let i = e.timeStamp || performance.now();
742
- p.current = Math.round(i - f.current), f.current = i;
743
- let o = Math.max((n = p.current) == null ? Et : n, Et), l = c.current, u = s.current, d = E.children, g = m.current, _ = !1;
742
+ f.current = Math.round(i - d.current), d.current = i;
743
+ let o = Math.max((n = f.current) == null ? Dt : n, Dt), l = c.current, u = s.current, h = E.children, g = p.current, y = !1;
744
744
  r.data.forEach(({ id: e, x: n, y: r, route_id: i, hidden: s }) => {
745
745
  if (l.has(e)) {
746
746
  var c;
@@ -754,46 +754,46 @@ function Dt({ permission: e, rendererService: t, dataJsonUrl: r, websocketUrl: i
754
754
  return;
755
755
  }
756
756
  if (v.current.set(e, performance.now()), !u.has(e)) {
757
- let t = D.get(i) || D.get(Ct), o = {
757
+ let t = D.get(i) || D.get(K), o = {
758
758
  id: e,
759
759
  source: t,
760
- bounds: P(n, r, t.width, t.height, a.current, 0)
760
+ bounds: _(n, r, t.width, t.height, a.current, 0)
761
761
  };
762
762
  if (u.set(e, o), O) {
763
763
  let t = J(e), i = {
764
764
  id: t,
765
765
  source: O,
766
- bounds: P(n, r, O.width, O.height, a.current, 0)
766
+ bounds: _(n, r, O.width, O.height, a.current, 0)
767
767
  };
768
- O.setAttribute("id", t), u.set(t, i), d.push(o, i);
769
- } else d.push(o);
770
- _ = !0;
768
+ O.setAttribute("id", t), u.set(t, i), h.push(o, i);
769
+ } else h.push(o);
770
+ y = !0;
771
771
  return;
772
772
  }
773
- let f = u.get(e), p = u.get(J(e)), m = f.bounds.center, y = Lt(m, {
773
+ let d = u.get(e), f = u.get(J(e)), p = d.bounds.center, b = Lt(p, {
774
774
  x: n,
775
775
  y: r
776
- }, h.current.get(i));
777
- if (y.reduce((e, t, n) => n === 0 ? e : e + Nt(y[n - 1], t), 0) >= St || document.hidden) Pt({
776
+ }, m.current.get(i));
777
+ if (b.reduce((e, t, n) => n === 0 ? e : e + q(b[n - 1], t), 0) >= wt || document.hidden) Pt({
778
778
  rendererService: t,
779
779
  updateQueue: g,
780
- vehicle: f,
781
- vehicleFinery: p,
780
+ vehicle: d,
781
+ vehicleFinery: f,
782
782
  x: n,
783
783
  y: r,
784
784
  scale: a.current,
785
- angle: At(f.bounds.center, {
785
+ angle: jt(d.bounds.center, {
786
786
  x: n,
787
787
  y: r
788
788
  })
789
789
  });
790
790
  else {
791
- let n = Rt(y, o, (e) => {
791
+ let n = Rt(b, o, (e) => {
792
792
  Pt({
793
793
  rendererService: t,
794
794
  updateQueue: g,
795
- vehicle: f,
796
- vehicleFinery: p,
795
+ vehicle: d,
796
+ vehicleFinery: f,
797
797
  x: e.x,
798
798
  y: e.y,
799
799
  scale: a.current,
@@ -802,11 +802,11 @@ function Dt({ permission: e, rendererService: t, dataJsonUrl: r, websocketUrl: i
802
802
  });
803
803
  l.set(e, n);
804
804
  }
805
- }), _ && g.add(() => t.update(E));
805
+ }), y && g.add(() => t.update(E));
806
806
  } catch (e) {
807
807
  console.error("handleSocketMessage", e);
808
808
  }
809
- }, S(), w(e.config ? (Number(e.config.vehicle_inactive_interval) || 20) * 1e3 : Tt);
809
+ }, S(), w(e.config ? (Number(e.config.vehicle_inactive_interval) || 20) * 1e3 : Et);
810
810
  } catch (e) {
811
811
  console.warn(e);
812
812
  }
@@ -814,10 +814,10 @@ function Dt({ permission: e, rendererService: t, dataJsonUrl: r, websocketUrl: i
814
814
  x();
815
815
  function S() {
816
816
  var e, t;
817
- ((e = u.current) == null ? void 0 : e.readyState) === WebSocket.OPEN || ((t = u.current) == null ? void 0 : t.readyState) === WebSocket.CONNECTING || (u.current = new WebSocket(i), u.current.onmessage = d.current, u.current.onopen = () => {
818
- _.current = wt;
819
- }, u.current.onclose = () => {
820
- navigator.onLine && (setTimeout(S, _.current), _.current = Math.min(_.current * 2, 3e4));
817
+ ((e = l.current) == null ? void 0 : e.readyState) === WebSocket.OPEN || ((t = l.current) == null ? void 0 : t.readyState) === WebSocket.CONNECTING || (l.current = new WebSocket(i), l.current.onmessage = u.current, l.current.onopen = () => {
818
+ g.current = Tt;
819
+ }, l.current.onclose = () => {
820
+ navigator.onLine && (setTimeout(S, g.current), g.current = Math.min(g.current * 2, 3e4));
821
821
  });
822
822
  }
823
823
  function C() {
@@ -833,11 +833,11 @@ function Dt({ permission: e, rendererService: t, dataJsonUrl: r, websocketUrl: i
833
833
  o && (o.hidden = !0, i.push(o), r.push(a));
834
834
  let c = J(a), l = s.current.get(c);
835
835
  l && (l.hidden = !0, i.push(l), r.push(c));
836
- }), i.length && m.current.add(() => t.update(...i)), r.forEach((e) => v.current.delete(e));
836
+ }), i.length && p.current.add(() => t.update(...i)), r.forEach((e) => v.current.delete(e));
837
837
  }, e);
838
838
  }
839
839
  return () => {
840
- g.current && t.renderer && t.renderer.events.removeEventListener("viewport:ptscale", g.current), b !== void 0 && cancelAnimationFrame(b), c.current.forEach((e) => e == null ? void 0 : e()), c.current.clear(), s.current.clear(), m.current.destroy(), window.removeEventListener("online", C), clearInterval(y.current);
840
+ h.current && t.renderer && t.renderer.events.removeEventListener("viewport:ptscale", h.current), b !== void 0 && cancelAnimationFrame(b), c.current.forEach((e) => e == null ? void 0 : e()), c.current.clear(), s.current.clear(), p.current.destroy(), window.removeEventListener("online", C), clearInterval(y.current);
841
841
  };
842
842
  }, [
843
843
  e,
@@ -846,22 +846,22 @@ function Dt({ permission: e, rendererService: t, dataJsonUrl: r, websocketUrl: i
846
846
  i
847
847
  ]);
848
848
  }
849
- function Ot(e) {
850
- return Math.min(e || window.devicePixelRatio, bt);
851
- }
852
849
  function kt(e) {
850
+ return Math.min(e || window.devicePixelRatio, St);
851
+ }
852
+ function At(e) {
853
853
  return typeof e == "number" ? { ptScale: e } : e;
854
854
  }
855
- function At(e, t) {
855
+ function jt(e, t) {
856
856
  return Math.atan2(t.y - e.y, t.x - e.x);
857
857
  }
858
- function jt({ radius: e, scale: t, color: n }) {
858
+ function Mt({ radius: e, scale: t, color: n }) {
859
859
  let r = document.createElement("canvas"), i = r.getContext("2d");
860
860
  i.imageSmoothingEnabled = !1;
861
861
  let a = Math.ceil(e * 2 * t), o = a / 2, s = e * .78, c = e * .33;
862
862
  return r.width = a, r.height = a, i.translate(o, o), i.scale(t, t), i.beginPath(), i.arc(0, 0, e, 0, 2 * Math.PI), i.fillStyle = "#FFFFFF", i.fill(), i.beginPath(), i.arc(0, 0, s, 0, 2 * Math.PI), i.fillStyle = n, i.fill(), i.beginPath(), i.arc(0, 0, c, 0, 2 * Math.PI), i.fillStyle = "#FFFFFF", i.fill(), r;
863
863
  }
864
- function Mt({ id: e, width: t, height: n, color: r, scale: i }) {
864
+ function Nt({ id: e, width: t, height: n, color: r, scale: i }) {
865
865
  let a = 2 * i, o = t / 2 * i, s = n * i, c = .01, l = s * .6, u = s, d = 8 * i, f = u + a + l / 2 + d * 2, p = o * 2 + l + a + d * 2, m = document.createElement("canvas");
866
866
  m.setAttribute("id", e), m.width = f, m.height = p;
867
867
  let h = m.getContext("2d"), g = f / 2, _ = p / 2;
@@ -869,14 +869,14 @@ function Mt({ id: e, width: t, height: n, color: r, scale: i }) {
869
869
  let v = g, y = _ - u / 2 + o, b = y + l;
870
870
  return h.shadowColor = "rgba(16, 24, 40, 0.2)", h.shadowBlur = d / 2, h.beginPath(), h.arc(v, y, o, Math.PI, 0, !1), h.bezierCurveTo(v + o, y + s * .3, v + c * o, b, v, b), h.bezierCurveTo(v - c * o, b, v - o, y + s * .3, v - o, y), h.closePath(), h.fillStyle = r, h.fill(), h.strokeStyle = "#FFFFFF", h.lineWidth = a, h.stroke(), h.restore(), m;
871
871
  }
872
- function Nt(e, t) {
872
+ function q(e, t) {
873
873
  return Math.hypot(e.x - t.x, e.y - t.y);
874
874
  }
875
875
  function J(e) {
876
876
  return `${e}_finery`;
877
877
  }
878
878
  function Pt({ rendererService: e, updateQueue: t, vehicle: n, vehicleFinery: r, x: i, y: a, scale: o, angle: s }) {
879
- n.bounds = P(i, a, n.source.width, n.source.height, o, s), n.hidden = !1, r ? (r.bounds = P(i, a, r.source.width, r.source.height, o, u(e.angle)), r.hidden = !1, t.add(() => e.update(r, n))) : t.add(() => e.update(n));
879
+ n.bounds = _(i, a, n.source.width, n.source.height, o, s), n.hidden = !1, r ? (r.bounds = _(i, a, r.source.width, r.source.height, o, l(e.angle)), r.hidden = !1, t.add(() => e.update(r, n))) : t.add(() => e.update(n));
880
880
  }
881
881
  function Y(e, t, n) {
882
882
  return {
@@ -890,7 +890,7 @@ function Ft(e, t) {
890
890
  t: 0
891
891
  };
892
892
  for (let i = 0; i < t.length - 1; i++) {
893
- let a = t[i], o = t[i + 1], s = o.x - a.x, c = o.y - a.y, l = s * s + c * c, u = l ? ((e.x - a.x) * s + (e.y - a.y) * c) / l : 0, d = Math.max(0, Math.min(1, u)), f = Nt(e, Y(a, o, d));
893
+ let a = t[i], o = t[i + 1], s = o.x - a.x, c = o.y - a.y, l = s * s + c * c, u = l ? ((e.x - a.x) * s + (e.y - a.y) * c) / l : 0, d = Math.max(0, Math.min(1, u)), f = q(e, Y(a, o, d));
894
894
  f < n && (n = f, r = {
895
895
  index: i,
896
896
  t: d
@@ -899,7 +899,7 @@ function Ft(e, t) {
899
899
  return r;
900
900
  }
901
901
  function It(e, t, n) {
902
- let r = Nt(e, t), i = Math.max(2, Math.ceil(r / n) + 1), a = [];
902
+ let r = q(e, t), i = Math.max(2, Math.ceil(r / n) + 1), a = [];
903
903
  for (let n = 0; n < i; n++) {
904
904
  let r = Y(e, t, n / (i - 1));
905
905
  a.push({
@@ -999,17 +999,17 @@ function Gt(e) {
999
999
  //#region src/components/Map/booth-by-xy.ts
1000
1000
  var Kt = /* @__PURE__ */ new Map(), qt = [], Jt = [], Yt = [], X = /* @__PURE__ */ new Map(), Z;
1001
1001
  function Xt() {
1002
- let e = B.booths.filter((e) => e.visible && e.rect && e.rect.w > 0 && e.rect.h > 0);
1002
+ let e = R.booths.filter((e) => e.visible && e.rect && e.rect.w > 0 && e.rect.h > 0);
1003
1003
  if (Kt = /* @__PURE__ */ new Map(), qt = [], Yt = [], Z = null, X = /* @__PURE__ */ new Map(), !e.length) return;
1004
1004
  Jt = e.filter((e) => e.paths);
1005
- let t = se.fromMultiple(e.map((e) => e.rect));
1005
+ let t = P.fromMultiple(e.map((e) => e.rect));
1006
1006
  for (let t of e) {
1007
1007
  let e = t.rect;
1008
1008
  Math.abs(t.rotate) === 90 * Math.PI / 180 && (e = e.getRotated90()), qt.push(e), Kt.set(e, t);
1009
1009
  }
1010
1010
  let n = Math.ceil(t.w / 2), r = Math.ceil(t.h / 2);
1011
1011
  for (let e = 0; e < 2; e++) for (let i = 0; i < 2; i++) {
1012
- let a = t.x1 + e * n, o = t.y1 + i * r, s = se.fromXywh(a, o, n, r);
1012
+ let a = t.x1 + e * n, o = t.y1 + i * r, s = P.fromXywh(a, o, n, r);
1013
1013
  Yt.push(s);
1014
1014
  let c = qt.filter((e) => s.intersects(e));
1015
1015
  X.set(s, c);
@@ -1017,9 +1017,9 @@ function Xt() {
1017
1017
  i.log("hover segmentToRects", X);
1018
1018
  }
1019
1019
  r(() => [
1020
- B.booths,
1021
- I.loaded,
1022
- I.visible
1020
+ R.booths,
1021
+ N.loaded,
1022
+ N.visible
1023
1023
  ], () => Xt());
1024
1024
  function Zt(e, t) {
1025
1025
  let n;
@@ -1034,7 +1034,7 @@ function Zt(e, t) {
1034
1034
  return t.visible ? t : null;
1035
1035
  }
1036
1036
  }
1037
- for (let n of Jt) for (let r of n.paths) for (let i of he(r.index, I.mode === k.Default ? "" : n.layer.name)) if (He(e, t, i)) return n.visible ? n : null;
1037
+ for (let n of Jt) for (let r of n.paths) for (let i of me(r.index, N.mode === ye.Default ? "" : n.layer.name)) if (ze(e, t, i)) return n.visible ? n : null;
1038
1038
  return null;
1039
1039
  }
1040
1040
  function Qt(e, t) {
@@ -1042,10 +1042,10 @@ function Qt(e, t) {
1042
1042
  }
1043
1043
  //#endregion
1044
1044
  //#region src/wayfinding/bindMobxReactions.ts
1045
- var $t = (e) => "rect" in e ? h(e) : e;
1045
+ var $t = (e) => "rect" in e ? de(e) : e;
1046
1046
  function en({ runtime: e, kioskHandler: t, yahHandler: n, stores: { routeStore: i, uiState: o, layerStore: s }, rerouteThresholdSvg: c }) {
1047
- let l = [], u = p(c);
1048
- function f() {
1047
+ let l = [], u = T(c);
1048
+ function d() {
1049
1049
  var t;
1050
1050
  let n = o.selectedRoute, r = n != null && n.from ? $t(n.from) : null, a = n != null && n.to ? $t(n.to) : null;
1051
1051
  if (!r || !a) {
@@ -1055,48 +1055,48 @@ function en({ runtime: e, kioskHandler: t, yahHandler: n, stores: { routeStore:
1055
1055
  e.setRoute({
1056
1056
  from: r,
1057
1057
  to: a,
1058
- waypoints: n == null || (t = n.waypoints) == null ? void 0 : t.map(h),
1058
+ waypoints: n == null || (t = n.waypoints) == null ? void 0 : t.map(de),
1059
1059
  accessible: i.onlyAccessible
1060
1060
  }) === !1 && console.error(/* @__PURE__ */ Error(`Route not found: (${r.x},${r.y}) → (${a.x},${a.y})`));
1061
1061
  }
1062
- function m() {
1062
+ function f() {
1063
1063
  let t = i.currentPosition, r = i.iconType !== 0, a = o.selectedRoute, s = !!(a != null && a.from && a != null && a.to), c = r && !s;
1064
1064
  if (!t) {
1065
1065
  e.onPositionChanged(null), n(null);
1066
1066
  return;
1067
1067
  }
1068
- let l = b(t);
1068
+ let l = ie(t);
1069
1069
  c ? (e.onPositionChanged(null), n({
1070
1070
  x: l.x,
1071
1071
  y: l.y,
1072
1072
  layer: l.layer
1073
1073
  })) : (n(null), e.onPositionChanged(l));
1074
1074
  }
1075
- function _() {
1075
+ function p() {
1076
1076
  var e;
1077
1077
  let t = i.currentPosition, n = o.selectedRoute;
1078
1078
  if (!t || !(n != null && n.to)) return;
1079
- let r = !n.from, a = ((e = n.from) == null ? void 0 : e.id) === "current-position" && u.shouldReroute(b(t), i.routeLines);
1080
- !r && !a || i.rebuildRouteFromPosition(d(t, S, g));
1079
+ let r = !n.from, a = ((e = n.from) == null ? void 0 : e.id) === "current-position" && u.shouldReroute(ie(t), i.routeLines);
1080
+ !r && !a || i.rebuildRouteFromPosition(ge(t, g, x));
1081
1081
  }
1082
- function v() {
1082
+ function m() {
1083
1083
  var e, n;
1084
1084
  let r = (e = s.floors.find((e) => e.active)) == null ? void 0 : e.name;
1085
1085
  t((n = o.kioskData) == null ? null : n, r, s.mode);
1086
1086
  }
1087
- function y() {
1087
+ function h() {
1088
1088
  var e;
1089
1089
  let t = o.selectedRoute, n = i.currentPosition;
1090
1090
  if (!(t != null && t.to) || !n || ((e = t.from) == null ? void 0 : e.id) !== "current-position" || i.routeLines.length > 0) return;
1091
1091
  let r = n.z == null ? "" : String(n.z);
1092
- t.from.x === n.x && t.from.y === n.y && t.from.layer === r || i.rebuildRouteFromPosition(d(n, S, g));
1092
+ t.from.x === n.x && t.from.y === n.y && t.from.layer === r || i.rebuildRouteFromPosition(ge(n, g, x));
1093
1093
  }
1094
1094
  l.push(r(() => s.layersLoaded, () => {
1095
- f(), m();
1095
+ d(), f();
1096
1096
  }), r(() => [o.selectedRoute, i.onlyAccessible], () => {
1097
- f(), m();
1097
+ d(), f();
1098
1098
  }), r(() => i.currentPosition, () => {
1099
- m();
1099
+ f();
1100
1100
  }), r(() => {
1101
1101
  let e = i.currentPosition;
1102
1102
  return e ? {
@@ -1105,16 +1105,16 @@ function en({ runtime: e, kioskHandler: t, yahHandler: n, stores: { routeStore:
1105
1105
  z: e.z
1106
1106
  } : null;
1107
1107
  }, () => {
1108
- _(), y();
1109
- }, { equals: a.structural }), r(() => [o.kioskData, s.floors.find((e) => e.active)], () => v()));
1110
- let x = null, C = r(() => [i.currentRouteLayer, o.getRouteNextFloor], () => {
1111
- s.layersLoaded && (x !== null && clearTimeout(x), x = setTimeout(() => {
1112
- e.onFloorChanged(), m(), x = null;
1108
+ p(), h();
1109
+ }, { equals: a.structural }), r(() => [o.kioskData, s.floors.find((e) => e.active)], () => m()));
1110
+ let _ = null, v = r(() => [i.currentRouteLayer, o.getRouteNextFloor], () => {
1111
+ s.layersLoaded && (_ !== null && clearTimeout(_), _ = setTimeout(() => {
1112
+ e.onFloorChanged(), f(), _ = null;
1113
1113
  }, 0));
1114
1114
  });
1115
1115
  return l.push(() => {
1116
- x !== null && clearTimeout(x), C();
1117
- }), f(), m(), v(), () => {
1116
+ _ !== null && clearTimeout(_), v();
1117
+ }), d(), f(), m(), () => {
1118
1118
  for (let e of l) e();
1119
1119
  l.length = 0;
1120
1120
  };
@@ -1134,7 +1134,7 @@ function rn({ renderer: e, kioskIconMap: t, layer: n }) {
1134
1134
  return;
1135
1135
  }
1136
1136
  e.setIcon(tn, {
1137
- canvas: D(t, r.iconSizePercent),
1137
+ canvas: oe(t, r.iconSizePercent),
1138
1138
  layer: n,
1139
1139
  x: r.x,
1140
1140
  y: r.y,
@@ -1209,7 +1209,7 @@ function ln({ renderer: e, iconProvider: t, floorContext: n, layer: r }) {
1209
1209
  //#region src/wayfinding/runtime/positionTrailView.ts
1210
1210
  var Q = "trail";
1211
1211
  function un({ renderer: e, iconProvider: t, floorContext: n, trails: r, iconLayer: i, snapThreshold: a }) {
1212
- let o = v({
1212
+ let o = se({
1213
1213
  renderer: e,
1214
1214
  iconProvider: t,
1215
1215
  layer: i
@@ -1223,7 +1223,7 @@ function un({ renderer: e, iconProvider: t, floorContext: n, trails: r, iconLaye
1223
1223
  o.hide();
1224
1224
  },
1225
1225
  applyToRoute(e, t, r) {
1226
- let i = ee(e, [...r], {
1226
+ let i = pe(e, [...r], {
1227
1227
  snapThreshold: a,
1228
1228
  from: t.from,
1229
1229
  to: t.to
@@ -1265,26 +1265,26 @@ function dn({ renderer: e, linesLayer: t, animatedLinesLayer: n }) {
1265
1265
  //#endregion
1266
1266
  //#region src/wayfinding/runtime/routeRenderData.ts
1267
1267
  function fn({ routeLines: e, currentRouteLayer: t, from: n, to: r, snap: i }) {
1268
- let a = te(e.filter((e) => !e.virtual), n, r), o = t === null ? a : a.filter((e) => e.p0.layer === t);
1268
+ let a = w(e.filter((e) => !e.virtual), n, r), o = t === null ? a : a.filter((e) => e.p0.layer === t);
1269
1269
  if (!(i != null && i.snapped)) return {
1270
1270
  passed: [],
1271
1271
  remaining: o,
1272
- distance: pe(a)
1272
+ distance: M(a)
1273
1273
  };
1274
- let { passed: s, remaining: c } = A(o, i.snappedPoint);
1274
+ let { passed: s, remaining: l } = c(o, i.snappedPoint);
1275
1275
  return {
1276
1276
  passed: s,
1277
- remaining: c !== o && c.length > 0 ? [{
1278
- ...c[0],
1277
+ remaining: l !== o && l.length > 0 ? [{
1278
+ ...l[0],
1279
1279
  p0: i.snappedPoint
1280
- }, ...c.slice(1)] : c,
1280
+ }, ...l.slice(1)] : l,
1281
1281
  distance: i.distance
1282
1282
  };
1283
1283
  }
1284
1284
  //#endregion
1285
1285
  //#region src/wayfinding/runtime/routeUpdate.ts
1286
1286
  function pn(e, t) {
1287
- let n = e.filter((e) => !e.virtual), r = ie(t.flatMap((e) => [e.p0, e.p1]));
1287
+ let n = e.filter((e) => !e.virtual), r = A(t.flatMap((e) => [e.p0, e.p1]));
1288
1288
  return !r || r.x1 === r.x2 && r.y1 === r.y2 ? {
1289
1289
  lines: n,
1290
1290
  bounds: null
@@ -1339,12 +1339,12 @@ function hn({ renderer: e, iconProvider: t, floorContext: n, onTransitionClick:
1339
1339
  if (!e) return;
1340
1340
  o = e;
1341
1341
  }
1342
- let c = s({
1342
+ let s = u({
1343
1343
  routeLines: a,
1344
1344
  currentLayerName: o,
1345
1345
  floorOrder: n.getFloorOrder()
1346
1346
  });
1347
- for (let [n, a] of c.entries()) e.setIcon($, {
1347
+ for (let [n, a] of s.entries()) e.setIcon($, {
1348
1348
  canvas: t.getIcon(gn(a.role, a.direction)).canvas,
1349
1349
  layer: i,
1350
1350
  x: a.x,
@@ -1456,7 +1456,7 @@ function vn({ engine: e, renderer: t, iconProvider: n, floorContext: r, layers:
1456
1456
  if (y = !1, !g || !m || !h) return null;
1457
1457
  let e = p.filter((e) => !e.virtual);
1458
1458
  if (!e.length) return null;
1459
- let t = S(), n = t ? d.applyToRoute(g, t, e) : ee(g, e, {
1459
+ let t = S(), n = t ? d.applyToRoute(g, t, e) : pe(g, e, {
1460
1460
  snapThreshold: a,
1461
1461
  from: m,
1462
1462
  to: h
@@ -1475,12 +1475,12 @@ function vn({ engine: e, renderer: t, iconProvider: n, floorContext: r, layers:
1475
1475
  waypoints: i,
1476
1476
  accessible: a
1477
1477
  });
1478
- if (!o.length) return M(), !1;
1478
+ if (!o.length) return j(), !1;
1479
1479
  v = !1, m = n, h = r, p = o, T();
1480
1480
  let { lines: s } = O(), l = D();
1481
- return E(), w(l), l && C(l, !0), c(l ? _ : pe(s)), t.flush(), !0;
1481
+ return E(), w(l), l && C(l, !0), c(l ? _ : M(s)), t.flush(), !0;
1482
1482
  }
1483
- function A(e) {
1483
+ function ee(e) {
1484
1484
  let n = g !== null;
1485
1485
  if (g = e, !e) {
1486
1486
  y = !1, d.hideIcon(), w(null), n && E(), C(), c(_), t.flush();
@@ -1490,23 +1490,23 @@ function vn({ engine: e, renderer: t, iconProvider: n, floorContext: r, layers:
1490
1490
  let r = D();
1491
1491
  E(), w(r), r && C(r, !0), c(_), t.flush();
1492
1492
  }
1493
- function j() {
1493
+ function A() {
1494
1494
  T();
1495
1495
  let e = D();
1496
1496
  E(), w(e), e && C(e, !0), p.length && O(), c(_), t.flush();
1497
1497
  }
1498
- function M() {
1498
+ function j() {
1499
1499
  v = !1, p = [], m = null, h = null, _ = 0, l.hide(), u.clear(), d.clearTrail(), f.clear(), s([], null), c(0), t.flush();
1500
1500
  }
1501
- function N() {
1502
- M(), g = null, t.destroy();
1501
+ function te() {
1502
+ j(), g = null, t.destroy();
1503
1503
  }
1504
1504
  return {
1505
1505
  setRoute: k,
1506
- onPositionChanged: A,
1507
- onFloorChanged: j,
1508
- clearRoute: M,
1509
- destroy: N
1506
+ onPositionChanged: ee,
1507
+ onFloorChanged: A,
1508
+ clearRoute: j,
1509
+ destroy: te
1510
1510
  };
1511
1511
  }
1512
1512
  //#endregion
@@ -1558,18 +1558,18 @@ function bn(e, t) {
1558
1558
  }
1559
1559
  function c(r, i, a) {
1560
1560
  var s, c, l;
1561
- let u = e.touchLayer(a.layer), d = C(a.canvas, P(a.x, a.y, a.canvas.width, a.canvas.height, t.scale, a.rotation), {
1561
+ let u = e.touchLayer(a.layer), d = O(a.canvas, _(a.x, a.y, a.canvas.width, a.canvas.height, t.scale, a.rotation), {
1562
1562
  hidden: (s = a.hidden) == null ? !1 : s,
1563
1563
  dim: (c = a.dimmed) == null ? !1 : c,
1564
1564
  origin: a.origin
1565
1565
  });
1566
1566
  u.children.push(d), t.onPtScale(r, (e) => {
1567
1567
  let t = n.get(r);
1568
- if (!(!t || t.imageDef.hidden)) return t.imageDef.bounds = P(t.imageDef.bounds.center.x, t.imageDef.bounds.center.y, t.imageDef.source.width, t.imageDef.source.height, e, t.imageDef.bounds.rotation), t.imageDef;
1568
+ if (!(!t || t.imageDef.hidden)) return t.imageDef.bounds = _(t.imageDef.bounds.center.x, t.imageDef.bounds.center.y, t.imageDef.source.width, t.imageDef.source.height, e, t.imageDef.bounds.rotation), t.imageDef;
1569
1569
  }), a.cardinalSnap && t.onRoll(r, (e) => {
1570
1570
  let t = n.get(r);
1571
1571
  if (!t) return;
1572
- let i = x(e, t.imageDef.bounds.rotation);
1572
+ let i = E(e, t.imageDef.bounds.rotation);
1573
1573
  if (i !== void 0) return t.imageDef.bounds.rotation += i, t.imageDef;
1574
1574
  });
1575
1575
  let f = {
@@ -1590,7 +1590,7 @@ function bn(e, t) {
1590
1590
  l(n, r, i, a);
1591
1591
  return;
1592
1592
  }
1593
- i.imageDef.bounds = P(a.x, a.y, a.canvas.width, a.canvas.height, t.scale, a.rotation), i.imageDef.hidden = (o = a.hidden) == null ? !1 : o, i.imageDef.dim = (s = a.dimmed) == null ? !1 : s, i.callback = (c = a.onClick) == null ? null : c, e.touchLayer(a.layer);
1593
+ i.imageDef.bounds = _(a.x, a.y, a.canvas.width, a.canvas.height, t.scale, a.rotation), i.imageDef.hidden = (o = a.hidden) == null ? !1 : o, i.imageDef.dim = (s = a.dimmed) == null ? !1 : s, i.callback = (c = a.onClick) == null ? null : c, e.touchLayer(a.layer);
1594
1594
  }
1595
1595
  return {
1596
1596
  setIcon(t, r, i) {
@@ -1621,7 +1621,7 @@ function bn(e, t) {
1621
1621
  n.clear(), r.clear(), i.clear();
1622
1622
  },
1623
1623
  handleClick({ data: e }) {
1624
- let { defs: t } = N(e);
1624
+ let { defs: t } = v(e);
1625
1625
  for (let e of n.values()) if (e.callback && !e.imageDef.hidden && t.includes(e.imageDef)) {
1626
1626
  e.callback();
1627
1627
  return;
@@ -1630,7 +1630,7 @@ function bn(e, t) {
1630
1630
  handleHover({ data: e }) {
1631
1631
  let r = t.renderer;
1632
1632
  if (!r) return;
1633
- let { defs: i } = N(e), a = !1;
1633
+ let { defs: i } = v(e), a = !1;
1634
1634
  for (let e of n.values()) if (e.callback && !e.imageDef.hidden && i.includes(e.imageDef)) {
1635
1635
  a = !0;
1636
1636
  break;
@@ -1653,7 +1653,7 @@ function Sn(e, t) {
1653
1653
  n.children = n.children.filter((e) => !r.has(e)), t.dotDefs = [];
1654
1654
  }
1655
1655
  function a(n) {
1656
- let r = e.touchLayer(n.layerName), a = t.scale, o = xn * a, s = E(n.from, n.to, o), c = n.canvas, l = s.map((e) => C(c, P(e.x, e.y, c.width, c.height, a)));
1656
+ let r = e.touchLayer(n.layerName), a = t.scale, o = xn * a, s = be(n.from, n.to, o), c = n.canvas, l = s.map((e) => O(c, _(e.x, e.y, c.width, c.height, a)));
1657
1657
  i(n), r.children.push(...l), n.dotDefs = l;
1658
1658
  }
1659
1659
  function o(e) {
@@ -1759,22 +1759,22 @@ function wn(e, t, n) {
1759
1759
  return {
1760
1760
  setRouteLines(o, s, c) {
1761
1761
  var l, u;
1762
- let d = e.touchLayer(c.linesLayer), p = e.touchLayer(c.animatedLinesLayer);
1763
- i = d, a = p;
1764
- let m = (l = c.resetAnimation) == null ? !0 : l, h = 0;
1765
- r && (m || (h = r.getProgress()), r.stop(), r = null);
1766
- let g = o.map((e) => f(e, n.passed)), _ = s.map((e) => f(e, n.remaining));
1767
- if (d.children = [...g, ..._], !_.length) {
1768
- p.children = [];
1762
+ let d = e.touchLayer(c.linesLayer), f = e.touchLayer(c.animatedLinesLayer);
1763
+ i = d, a = f;
1764
+ let p = (l = c.resetAnimation) == null ? !0 : l, m = 0;
1765
+ r && (p || (m = r.getProgress()), r.stop(), r = null);
1766
+ let h = o.map((e) => b(e, n.passed)), g = s.map((e) => b(e, n.remaining));
1767
+ if (d.children = [...h, ...g], !g.length) {
1768
+ f.children = [];
1769
1769
  return;
1770
1770
  }
1771
- let v = _.map((e) => ({
1771
+ let _ = g.map((e) => ({
1772
1772
  ...e,
1773
1773
  color: n.active
1774
1774
  }));
1775
- r = (u = Cn(v, (e, n, r) => {
1776
- p.children = r ? [] : [...v.slice(0, n), e], t.update(p);
1777
- }, () => t.scale, h)) == null ? null : u;
1775
+ r = (u = Cn(_, (e, n, r) => {
1776
+ f.children = r ? [] : [..._.slice(0, n), e], t.update(f);
1777
+ }, () => t.scale, m)) == null ? null : u;
1778
1778
  },
1779
1779
  clearLines() {
1780
1780
  r && (r.stop(), r = null), i && (i.children = [], e.touchedLayers.set(i.name, i)), a && (a.children = [], e.touchedLayers.set(a.name, a));
@@ -1819,55 +1819,55 @@ function En(e, t = {}) {
1819
1819
  //#region src/wayfinding/createWayfinding.ts
1820
1820
  function Dn(e) {
1821
1821
  var t, n, r;
1822
- let i = ce(ve), a = M({
1823
- iconMap: L.fp.icons,
1822
+ let i = ne(ce), a = s({
1823
+ iconMap: F.fp.icons,
1824
1824
  pixelRatio: devicePixelRatio
1825
- }), o = En(e), s = c(I, L.routeStore), l = {
1826
- points: be,
1827
- trail: xe,
1828
- lines: Se,
1829
- linesAnimated: Ce,
1830
- currentPosition: we
1825
+ }), o = En(e), c = k(N, F.routeStore), l = {
1826
+ points: Se,
1827
+ trail: Ce,
1828
+ lines: we,
1829
+ linesAnimated: Te,
1830
+ currentPosition: Ee
1831
1831
  }, u = vn({
1832
1832
  engine: i,
1833
1833
  renderer: o,
1834
1834
  iconProvider: a,
1835
- floorContext: s,
1835
+ floorContext: c,
1836
1836
  layers: l,
1837
- snapThreshold: me({
1838
- thresholdInMeters: _(z == null || (t = z.properties) == null || (t = t.config) == null ? void 0 : t.snapThreshold) || 7.5,
1839
- gpsConfig: z == null || (n = z.properties) == null ? void 0 : n.config
1837
+ snapThreshold: D({
1838
+ thresholdInMeters: m(L == null || (t = L.properties) == null || (t = t.config) == null ? void 0 : t.snapThreshold) || 7.5,
1839
+ gpsConfig: L == null || (n = L.properties) == null ? void 0 : n.config
1840
1840
  }),
1841
1841
  onTransitionClick: (e) => {
1842
- e.role === "exit" && I.updateVisibility(e.targetLayer, !0);
1842
+ e.role === "exit" && N.updateVisibility(e.targetLayer, !0);
1843
1843
  },
1844
1844
  onRouteUpdate: (e, t) => {
1845
- L.routeStore.updateRoute(e), t && (R.moveToRect = se.fromX1y1x2y2(t.x1, t.y1, t.x2, t.y2));
1845
+ F.routeStore.updateRoute(e), t && (I.moveToRect = P.fromX1y1x2y2(t.x1, t.y1, t.x2, t.y2));
1846
1846
  },
1847
- onRouteDistance: (e) => L.routeStore.updateRouteDistance(e)
1847
+ onRouteDistance: (e) => F.routeStore.updateRouteDistance(e)
1848
1848
  }), d = rn({
1849
1849
  renderer: o,
1850
- kioskIconMap: L.fp.icons,
1850
+ kioskIconMap: F.fp.icons,
1851
1851
  layer: l.points
1852
1852
  }), f = on({
1853
1853
  renderer: o,
1854
1854
  iconProvider: a,
1855
- floorContext: s,
1855
+ floorContext: c,
1856
1856
  layer: l.points
1857
- }), p = re(z == null || (r = z.properties) == null ? void 0 : r.config), m = en({
1857
+ }), p = y(L == null || (r = L.properties) == null ? void 0 : r.config), h = en({
1858
1858
  runtime: u,
1859
1859
  kioskHandler: d,
1860
1860
  yahHandler: f,
1861
1861
  stores: {
1862
- routeStore: L.routeStore,
1863
- uiState: R,
1864
- layerStore: I
1862
+ routeStore: F.routeStore,
1863
+ uiState: I,
1864
+ layerStore: N
1865
1865
  },
1866
1866
  rerouteThresholdSvg: p
1867
1867
  });
1868
1868
  return o.flush(), () => {
1869
- m(), u.destroy();
1869
+ h(), u.destroy();
1870
1870
  };
1871
1871
  }
1872
1872
  //#endregion
1873
- export { Ut as a, ot as c, Ht as i, De as l, Qt as n, Dt as o, Bt as r, _t as s, Dn as t, Oe as u };
1873
+ export { Ut as a, ct as c, Ht as i, at as l, Qt as n, Ot as o, Bt as r, yt as s, Dn as t, ot as u };