@expofp/floorplan 3.20.1 → 3.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Button-CIZNx2Hf.js → Button-DyYB6xKN.js} +44 -44
- package/dist/browser/{CookieConsent--EI50p11.js → CookieConsent-PGzI3yHO.js} +9 -9
- package/dist/browser/{Debug-DtMm5o9u.js → Debug-COmrk222.js} +10 -10
- package/dist/browser/{Demo-BMSC5fdk.js → Demo-oeV20zP1.js} +13 -13
- package/dist/browser/{Free-Do_QMejO.js → Free-CegScEga.js} +15 -15
- package/dist/browser/{Gallery-BHLCmnEc.js → Gallery-_lawSGqx.js} +10 -10
- package/dist/browser/{GpsLoader-BLsWZXdW.js → GpsLoader-ClIbEGYM.js} +30 -30
- package/dist/browser/{KioskStore-jS1TwgN_.js → KioskStore-f0DC16TK.js} +19 -19
- package/dist/browser/{MaplibreAdapter-DL2Eccgl.js → MaplibreAdapter-DeUL0xOU.js} +136 -136
- package/dist/browser/{ModalContainer-BH3_FY8L.js → ModalContainer-DLBgX5QP.js} +18 -18
- package/dist/browser/{PermissionNotice-DogwVOoE.js → PermissionNotice-BAsy6jo0.js} +8 -8
- package/dist/browser/{SetKioskMode-DwMcZijX.js → SetKioskMode-BfVNX_MG.js} +22 -22
- package/dist/browser/{TouchHand-Doeqs0E3.js → ShowKiosk-B1C0a6oU.js} +36 -19
- package/dist/browser/{ViewerMenuPanel-BnWeuS-8.js → ViewerMenuPanel-D7HWRHcc.js} +24 -24
- package/dist/browser/{add-debug-secret-listener-D3GtCWlI.js → add-debug-secret-listener-DVydJSza.js} +1 -1
- package/dist/browser/{adopt-global-settings-CDO6Yd7V.js → adopt-global-settings-BP7jeIs4.js} +9 -9
- package/dist/browser/{boolean-editor--PMvGWEn.js → boolean-editor-lXQibdbw.js} +9 -9
- package/dist/browser/{bootIntercom-DxfIF_sW.js → bootIntercom-g4N9mYqN.js} +3 -3
- package/dist/browser/{booth-by-xy--9mTRkTY.js → booth-by-xy-DtDEluxt.js} +308 -308
- package/dist/browser/bundle.json +65 -68
- package/dist/browser/{classnames-Duuo2rUI.js → classnames-D1H49Ylw.js} +2 -2
- package/dist/browser/{client-BX7F8QOZ.js → client-DJyhHF20.js} +4 -4
- package/dist/browser/components-DrPsXyP7.js +6545 -0
- package/dist/browser/{debug-overlay-B166CKCv.js → debug-overlay-2-3s8Atk.js} +10 -10
- package/dist/browser/{debug-ui-CrsuXGk4.js → debug-ui-Dadmy3yG.js} +6 -6
- package/dist/browser/{dist-CgBtJWGC.js → dist-Ch11tk4A.js} +5 -5
- package/dist/browser/{dist-BjiRCtsQ.js → dist-CoV6SEDf.js} +6 -6
- package/dist/browser/{dist-CAR5poKe.js → dist-DpyoGiMq.js} +3 -3
- package/dist/browser/{efp-debug-init-BMGbxMsu.js → efp-debug-init-NTJ55pbo.js} +3 -3
- package/dist/browser/{enum-editor-DD9JifW9.js → enum-editor-P8k6CxpK.js} +4 -4
- package/dist/browser/{es5-CCTpVkpP.js → es5-BNAXdIXy.js} +2 -2
- package/dist/browser/{event-not-found-DtlT5Hh-.js → event-not-found-zrxmY-4I.js} +1 -1
- package/dist/browser/{exports-hPDvqzk3.js → exports-Cmt6qLmi.js} +1 -1
- package/dist/browser/{favicon--j8SyHo_.js → favicon-BcvdcBjJ.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CZC1W2Gf.js → fetch-retry.umd-CwLHs7gm.js} +2 -2
- package/dist/browser/{flex-DaxUvwbX.js → flex-CZxVZLiS.js} +5 -5
- package/dist/browser/{floorplan.loader-Cen3hDqa.js → floorplan.loader-CVqPWtRR.js} +10 -10
- package/dist/browser/{floorplan.ready-Maien7uA.js → floorplan.ready-Cku02kNV.js} +181 -181
- package/dist/browser/{fuse-C37D7Zj6.js → fuse-DAKoh9Sn.js} +2 -2
- package/dist/browser/{i18n-C5VNVGQf.js → i18n-oXBjISpK.js} +5 -5
- package/dist/browser/index.js +14 -14
- package/dist/browser/{index.module-CEA0H5Wh.js → index.module-DV0zb8y6.js} +4 -4
- package/dist/browser/{integrateKiosk-BE9ZijAG.js → integrateKiosk-BtlbXjk8.js} +5 -5
- package/dist/browser/{is-webview-BUh67H5d.js → is-webview-CDAwTE_T.js} +1 -1
- package/dist/browser/{jsx-runtime-C946KOms.js → jsx-runtime-C_M9qBpc.js} +2 -2
- package/dist/browser/{kiosk-record-BEg-XaFq.js → kiosk-record-5DWijpUq.js} +1 -1
- package/dist/browser/{lib-BJ1Uu6yE.js → lib-DVQm4XG_.js} +3 -3
- package/dist/browser/{loadImage-Lr7CwFPh.js → loadImage-Dkh3AoGR.js} +4 -4
- package/dist/browser/{logDeviceInfo-BJWoZ99e.js → logDeviceInfo-Ccvah0yg.js} +9 -9
- package/dist/browser/{main-DY7IWVq5.js → main-B88omsdI.js} +1 -1
- package/dist/browser/{mobx-CAg5WZgv.js → mobx-DdJZvHEB.js} +4 -4
- package/dist/browser/{optional-boolean-editor-BeZFATCA.js → optional-boolean-editor-9UNagXL6.js} +3 -3
- package/dist/browser/{optional-enum-editor-BiAxn1K1.js → optional-enum-editor-WnN344M7.js} +4 -4
- package/dist/browser/{optional-string-editor-B58lWztJ.js → optional-string-editor-BixGVxIr.js} +4 -4
- package/dist/browser/{particles.min-BO14VwHE.js → particles.min-DJy8aIR6.js} +2 -2
- package/dist/browser/{react-Br12TYQz.js → react-DsyxxgJv.js} +2 -2
- package/dist/browser/{react-dom-kVWZ1ldt.js → react-dom-BXP4j1KL.js} +3 -3
- package/dist/browser/{rolldown-runtime-Bs00Jj73.js → rolldown-runtime-foRd1umF.js} +1 -1
- package/dist/browser/{select-CWOn05Ap.js → select-Cn_RP7hP.js} +10 -10
- package/dist/browser/{settings-B5J5hSk2.js → settings-Jt3zjfc9.js} +2 -2
- package/dist/browser/{settings-item-CdrDg3ew.js → settings-item-BdWruI_d.js} +6 -6
- package/dist/browser/{store-aK-vSfy0.js → store-BEkesuqa.js} +5305 -5308
- package/dist/browser/{string-editor-D8Zlo9Fd.js → string-editor-Cz5tHqIH.js} +4 -4
- package/dist/browser/{text-field-Ds1ozOk9.js → text-field-CiqRIQkJ.js} +5 -5
- package/dist/browser/{theme-BQn7lM2P.js → theme-w6xowkim.js} +8 -8
- package/dist/browser/{ui-CBMxjdUy.js → ui-CpE8-iDh.js} +8 -8
- package/dist/browser/{useRenderTarget-CZMpeOh9.js → useRenderTarget-CseUnJfL.js} +5 -5
- package/dist/esm/components/AlertContainer.d.ts +1 -1
- package/dist/esm/components/AlertContainer.js +1 -1
- package/dist/esm/components/AutocompleteContainer.d.ts +2 -2
- package/dist/esm/components/AutocompleteContainer.js +1 -1
- package/dist/esm/components/CookieConsent.js +1 -1
- package/dist/esm/components/DownloadListContainer.d.ts +1 -1
- package/dist/esm/components/DownloadListContainer.js +1 -1
- package/dist/esm/components/EntityItemContainer.d.ts +1 -1
- package/dist/esm/components/EntityItemContainer.js +1 -1
- package/dist/esm/components/EntityList.js +1 -1
- package/dist/esm/components/Event.js +1 -1
- package/dist/esm/components/EventBadgeContainer.d.ts +1 -1
- package/dist/esm/components/EventBadgeContainer.js +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/HeatmapLegendContainer.d.ts +1 -1
- package/dist/esm/components/HeatmapLegendContainer.js +1 -1
- package/dist/esm/components/HighlightTextContainer.js +1 -1
- package/dist/esm/components/Kiosk/KioskStore.d.ts +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/Confirm/ConfirmDialog.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/types.d.ts +1 -2
- package/dist/esm/components/Kiosk/ShowKiosk.js +1 -1
- package/dist/esm/components/LanguageRowContainer.js +1 -1
- package/dist/esm/components/Layout.d.ts +1 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/LevelBadgeContainer.d.ts +1 -1
- package/dist/esm/components/LevelBadgeContainer.js +1 -1
- package/dist/esm/components/LevelSelectorContainer.js +1 -1
- package/dist/esm/components/List.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/MapControlsContainer.js +1 -1
- package/dist/esm/components/Menu.js +1 -1
- package/dist/esm/components/MobileToggleButtonContainer.js +1 -1
- package/dist/esm/components/ModalContainer.d.ts +6 -6
- package/dist/esm/components/ModalContainer.js +1 -1
- package/dist/esm/components/MultiSelectGroupsContainer.d.ts +1 -1
- package/dist/esm/components/MultiSelectGroupsContainer.js +1 -1
- package/dist/esm/components/OverlayGripContainer.js +1 -1
- package/dist/esm/components/RebookingNotesContainer.d.ts +1 -1
- package/dist/esm/components/RebookingNotesContainer.js +1 -1
- package/dist/esm/components/RebookingRadioGroupContainer.d.ts +1 -1
- package/dist/esm/components/RebookingRadioGroupContainer.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +1 -1
- package/dist/esm/components/ScrollableRowContainer.d.ts +1 -1
- package/dist/esm/components/ScrollableRowContainer.js +1 -1
- package/dist/esm/components/ShareContainer.js +1 -1
- package/dist/esm/components/ShowMoreButtonContainer.d.ts +1 -1
- package/dist/esm/components/ShowMoreButtonContainer.js +1 -1
- package/dist/esm/components/SidebarActionsContainer.d.ts +1 -1
- package/dist/esm/components/SidebarActionsContainer.js +1 -1
- package/dist/esm/components/SimpleRowContainer.d.ts +1 -1
- package/dist/esm/components/SimpleRowContainer.js +1 -1
- package/dist/esm/components/Wayfinding.js +1 -1
- package/dist/esm/components/WayfindingFloorSelectorContainer.d.ts +1 -1
- package/dist/esm/components/WayfindingFloorSelectorContainer.js +1 -1
- package/dist/esm/components/WayfindingTemplate.d.ts +2 -2
- package/dist/esm/components/WayfindingTemplate.js +1 -1
- package/dist/esm/components/gps/GpsPermissionRequest.js +1 -1
- package/dist/esm/components/heatmap-legend-ticks.d.ts +1 -1
- package/dist/esm/components/index.d.ts +38 -38
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/renderer/RendererService.d.ts +13 -1
- package/dist/esm/renderer/RendererService.js +1 -1
- package/package.json +10 -25
- package/dist/browser/ShowKiosk-BycLuCIL.js +0 -33
- package/dist/browser/components-DIKAAFoZ.js +0 -6546
- package/dist/esm/storybook/contexts/ResponsiveClassContext.d.ts +0 -3
- package/dist/esm/storybook/contexts/ResponsiveClassContext.js +0 -1
- package/dist/esm/storybook/decorators/StoryWrapper.d.ts +0 -5
- package/dist/esm/storybook/decorators/StoryWrapper.js +0 -1
- package/dist/esm/storybook/decorators/WithResize.d.ts +0 -4
- package/dist/esm/storybook/decorators/WithResize.js +0 -1
- package/dist/esm/storybook/store/index.stub.d.ts +0 -24
- package/dist/esm/storybook/store/index.stub.js +0 -1
- package/dist/esm/ui/Alert/Alert.d.ts +0 -20
- package/dist/esm/ui/Alert/Alert.js +0 -1
- package/dist/esm/ui/Alert/index.d.ts +0 -3
- package/dist/esm/ui/Alert/index.js +0 -1
- package/dist/esm/ui/Autocomplete/Autocomplete.d.ts +0 -21
- package/dist/esm/ui/Autocomplete/Autocomplete.js +0 -1
- package/dist/esm/ui/Autocomplete/index.d.ts +0 -3
- package/dist/esm/ui/Autocomplete/index.js +0 -1
- package/dist/esm/ui/Badge/Badge.d.ts +0 -14
- package/dist/esm/ui/Badge/Badge.js +0 -1
- package/dist/esm/ui/Badge/index.d.ts +0 -3
- package/dist/esm/ui/Badge/index.js +0 -1
- package/dist/esm/ui/Button/Button.d.ts +0 -24
- package/dist/esm/ui/Button/Button.js +0 -1
- package/dist/esm/ui/Button/index.d.ts +0 -3
- package/dist/esm/ui/Button/index.js +0 -1
- package/dist/esm/ui/Checkbox/Checkbox.d.ts +0 -19
- package/dist/esm/ui/Checkbox/Checkbox.js +0 -1
- package/dist/esm/ui/Checkbox/index.d.ts +0 -3
- package/dist/esm/ui/Checkbox/index.js +0 -1
- package/dist/esm/ui/CheckboxButton/CheckboxButton.d.ts +0 -12
- package/dist/esm/ui/CheckboxButton/CheckboxButton.js +0 -1
- package/dist/esm/ui/CheckboxButton/index.d.ts +0 -3
- package/dist/esm/ui/CheckboxButton/index.js +0 -1
- package/dist/esm/ui/DownloadList/DownloadList.d.ts +0 -15
- package/dist/esm/ui/DownloadList/DownloadList.js +0 -1
- package/dist/esm/ui/DownloadList/index.d.ts +0 -3
- package/dist/esm/ui/DownloadList/index.js +0 -1
- package/dist/esm/ui/Draggable/Draggable.d.ts +0 -9
- package/dist/esm/ui/Draggable/Draggable.js +0 -1
- package/dist/esm/ui/Draggable/index.d.ts +0 -3
- package/dist/esm/ui/Draggable/index.js +0 -1
- package/dist/esm/ui/EntityItem/EntityItem.d.ts +0 -46
- package/dist/esm/ui/EntityItem/EntityItem.js +0 -1
- package/dist/esm/ui/EntityItem/index.d.ts +0 -3
- package/dist/esm/ui/EntityItem/index.js +0 -1
- package/dist/esm/ui/EventBadge/EventBadge.d.ts +0 -13
- package/dist/esm/ui/EventBadge/EventBadge.js +0 -1
- package/dist/esm/ui/EventBadge/index.d.ts +0 -3
- package/dist/esm/ui/EventBadge/index.js +0 -1
- package/dist/esm/ui/HeatmapLegend/HeatmapLegend.d.ts +0 -15
- package/dist/esm/ui/HeatmapLegend/HeatmapLegend.js +0 -1
- package/dist/esm/ui/HeatmapLegend/index.d.ts +0 -3
- package/dist/esm/ui/HeatmapLegend/index.js +0 -1
- package/dist/esm/ui/HighlightText/HighlightText.d.ts +0 -7
- package/dist/esm/ui/HighlightText/HighlightText.js +0 -1
- package/dist/esm/ui/HighlightText/index.d.ts +0 -2
- package/dist/esm/ui/HighlightText/index.js +0 -1
- package/dist/esm/ui/LevelBadge/LevelBadge.d.ts +0 -9
- package/dist/esm/ui/LevelBadge/LevelBadge.js +0 -1
- package/dist/esm/ui/LevelBadge/index.d.ts +0 -3
- package/dist/esm/ui/LevelBadge/index.js +0 -1
- package/dist/esm/ui/LevelSelector/LevelSelector.d.ts +0 -19
- package/dist/esm/ui/LevelSelector/LevelSelector.js +0 -1
- package/dist/esm/ui/LevelSelector/index.d.ts +0 -3
- package/dist/esm/ui/LevelSelector/index.js +0 -1
- package/dist/esm/ui/MapControls/MapControls.d.ts +0 -33
- package/dist/esm/ui/MapControls/MapControls.js +0 -1
- package/dist/esm/ui/MapControls/index.d.ts +0 -3
- package/dist/esm/ui/MapControls/index.js +0 -1
- package/dist/esm/ui/MobileToggleButton/MobileToggleButton.d.ts +0 -12
- package/dist/esm/ui/MobileToggleButton/MobileToggleButton.js +0 -1
- package/dist/esm/ui/MobileToggleButton/index.d.ts +0 -3
- package/dist/esm/ui/MobileToggleButton/index.js +0 -1
- package/dist/esm/ui/Modal/Modal.d.ts +0 -34
- package/dist/esm/ui/Modal/Modal.js +0 -1
- package/dist/esm/ui/Modal/index.d.ts +0 -3
- package/dist/esm/ui/Modal/index.js +0 -1
- package/dist/esm/ui/MultiSelectGroups/MultiSelectGroups.d.ts +0 -37
- package/dist/esm/ui/MultiSelectGroups/MultiSelectGroups.js +0 -1
- package/dist/esm/ui/MultiSelectGroups/index.d.ts +0 -3
- package/dist/esm/ui/MultiSelectGroups/index.js +0 -1
- package/dist/esm/ui/OverlayGrip/OverlayGrip.d.ts +0 -11
- package/dist/esm/ui/OverlayGrip/OverlayGrip.js +0 -1
- package/dist/esm/ui/OverlayGrip/index.d.ts +0 -3
- package/dist/esm/ui/OverlayGrip/index.js +0 -1
- package/dist/esm/ui/PermissionNotice/PermissionNotice.d.ts +0 -16
- package/dist/esm/ui/PermissionNotice/PermissionNotice.js +0 -1
- package/dist/esm/ui/PermissionNotice/index.d.ts +0 -3
- package/dist/esm/ui/PermissionNotice/index.js +0 -1
- package/dist/esm/ui/Radio/Radio.d.ts +0 -15
- package/dist/esm/ui/Radio/Radio.js +0 -1
- package/dist/esm/ui/Radio/index.d.ts +0 -3
- package/dist/esm/ui/Radio/index.js +0 -1
- package/dist/esm/ui/RebookingNotes/RebookingNotes.d.ts +0 -11
- package/dist/esm/ui/RebookingNotes/RebookingNotes.js +0 -1
- package/dist/esm/ui/RebookingNotes/index.d.ts +0 -3
- package/dist/esm/ui/RebookingNotes/index.js +0 -1
- package/dist/esm/ui/RebookingRadioGroup/RebookingRadioGroup.d.ts +0 -17
- package/dist/esm/ui/RebookingRadioGroup/RebookingRadioGroup.js +0 -1
- package/dist/esm/ui/RebookingRadioGroup/index.d.ts +0 -3
- package/dist/esm/ui/RebookingRadioGroup/index.js +0 -1
- package/dist/esm/ui/ScrollableRow/ScrollableRow.d.ts +0 -21
- package/dist/esm/ui/ScrollableRow/ScrollableRow.js +0 -1
- package/dist/esm/ui/ScrollableRow/index.d.ts +0 -3
- package/dist/esm/ui/ScrollableRow/index.js +0 -1
- package/dist/esm/ui/Share/Share.d.ts +0 -22
- package/dist/esm/ui/Share/Share.js +0 -1
- package/dist/esm/ui/Share/index.d.ts +0 -3
- package/dist/esm/ui/Share/index.js +0 -1
- package/dist/esm/ui/ShowMoreButton/ShowMoreButton.d.ts +0 -11
- package/dist/esm/ui/ShowMoreButton/ShowMoreButton.js +0 -1
- package/dist/esm/ui/ShowMoreButton/index.d.ts +0 -3
- package/dist/esm/ui/ShowMoreButton/index.js +0 -1
- package/dist/esm/ui/SidebarActions/SidebarActions.d.ts +0 -26
- package/dist/esm/ui/SidebarActions/SidebarActions.js +0 -1
- package/dist/esm/ui/SidebarActions/index.d.ts +0 -3
- package/dist/esm/ui/SidebarActions/index.js +0 -1
- package/dist/esm/ui/SimpleRow/SimpleRow.d.ts +0 -15
- package/dist/esm/ui/SimpleRow/SimpleRow.js +0 -1
- package/dist/esm/ui/SimpleRow/index.d.ts +0 -3
- package/dist/esm/ui/SimpleRow/index.js +0 -1
- package/dist/esm/ui/Spinner/Spinner.d.ts +0 -9
- package/dist/esm/ui/Spinner/Spinner.js +0 -1
- package/dist/esm/ui/Spinner/index.d.ts +0 -3
- package/dist/esm/ui/Spinner/index.js +0 -1
- package/dist/esm/ui/ToggleButton/ToggleButton.d.ts +0 -17
- package/dist/esm/ui/ToggleButton/ToggleButton.js +0 -1
- package/dist/esm/ui/ToggleButton/index.d.ts +0 -3
- package/dist/esm/ui/ToggleButton/index.js +0 -1
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.d.ts +0 -12
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.js +0 -1
- package/dist/esm/ui/ToggleSwitch/index.d.ts +0 -3
- package/dist/esm/ui/ToggleSwitch/index.js +0 -1
- package/dist/esm/ui/TouchHand/TouchHand.d.ts +0 -5
- package/dist/esm/ui/TouchHand/TouchHand.js +0 -1
- package/dist/esm/ui/TouchHand/index.d.ts +0 -2
- package/dist/esm/ui/TouchHand/index.js +0 -1
- package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.d.ts +0 -24
- package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.js +0 -1
- package/dist/esm/ui/WayfindingFloorSelector/index.d.ts +0 -3
- package/dist/esm/ui/WayfindingFloorSelector/index.js +0 -1
- package/dist/esm/ui/shared/hooks/useOnClickOutside.d.ts +0 -14
- package/dist/esm/ui/shared/hooks/useOnClickOutside.js +0 -1
- package/dist/esm/ui/shared/hooks/useOnEscape.d.ts +0 -14
- package/dist/esm/ui/shared/hooks/useOnEscape.js +0 -1
- package/dist/esm/ui/shared/interactive.d.ts +0 -2
- package/dist/esm/ui/shared/interactive.js +0 -1
|
@@ -2,21 +2,21 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.21.1" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7f85a496-6e12-4e67-bed4-baf3bab8e3cc", e._sentryDebugIdIdentifier = "sentry-dbid-7f85a496-6e12-4e67-bed4-baf3bab8e3cc");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
11
|
-
import { X as n, Y as r, v as i, y as a } from "./i18n-
|
|
12
|
-
import { t as o } from "./react-
|
|
13
|
-
import { t as s } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { r as ee } from "./mobx-
|
|
17
|
-
import { a as te, c as ne, i as re, l as ie, n as ae, o as oe, r as se, s as ce, t as le } from "./booth-by-xy
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-foRd1umF.js";
|
|
11
|
+
import { X as n, Y as r, v as i, y as a } from "./i18n-oXBjISpK.js";
|
|
12
|
+
import { t as o } from "./react-DsyxxgJv.js";
|
|
13
|
+
import { t as s } from "./jsx-runtime-C_M9qBpc.js";
|
|
14
|
+
import { At as c, Bt as l, Ft as u, I as d, P as f, Tt as p, an as m, c as h, cn as g, d as _, en as v, ft as y, gn as b, in as x, l as S, lt as C, mn as w, nn as T, pt as E, rn as D, s as O, t as k, u as A, w as j, z as M } from "./store-BEkesuqa.js";
|
|
15
|
+
import { t as N } from "./index.module-DV0zb8y6.js";
|
|
16
|
+
import { r as ee } from "./mobx-DdJZvHEB.js";
|
|
17
|
+
import { a as te, c as ne, i as re, l as ie, n as ae, o as oe, r as se, s as ce, t as le } from "./booth-by-xy-DtDEluxt.js";
|
|
18
18
|
//#region ../../node_modules/.pnpm/maplibre-gl@5.24.0/node_modules/maplibre-gl/dist/maplibre-gl.css
|
|
19
|
-
var P = /* @__PURE__ */ e(o(), 1), ue = /* @__PURE__ */ e(
|
|
19
|
+
var P = /* @__PURE__ */ e(o(), 1), ue = /* @__PURE__ */ e(m(), 1), de = (/* @__PURE__ */ t(((e, t) => {
|
|
20
20
|
(function(n, r) {
|
|
21
21
|
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self, n.maplibregl = r());
|
|
22
22
|
})(e, (function() {
|
|
@@ -34631,7 +34631,7 @@ function Pt() {
|
|
|
34631
34631
|
}
|
|
34632
34632
|
}
|
|
34633
34633
|
function Ft({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapOptions: i, onRendererReady: a, onMapDimLayerReady: o, onMapLoadError: s }) {
|
|
34634
|
-
let c = (0, P.useRef)(null), l = (0, P.useRef)(null),
|
|
34634
|
+
let c = (0, P.useRef)(null), l = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(a), p = (0, P.useRef)(o), m = (0, P.useRef)(s), h = (0, P.useRef)({
|
|
34635
34635
|
sceneDef: e,
|
|
34636
34636
|
geoConfig: t,
|
|
34637
34637
|
staticTransform: n,
|
|
@@ -34639,18 +34639,18 @@ function Ft({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34639
34639
|
mapOptions: i
|
|
34640
34640
|
});
|
|
34641
34641
|
return (0, P.useEffect)(() => {
|
|
34642
|
-
|
|
34642
|
+
f.current = a, p.current = o, m.current = s;
|
|
34643
34643
|
}), (0, P.useEffect)(() => {
|
|
34644
34644
|
var e, t;
|
|
34645
34645
|
if (!c.current) return;
|
|
34646
|
-
let { sceneDef: n, geoConfig: r, staticTransform: i, tileSource: a, mapOptions: o } =
|
|
34647
|
-
|
|
34648
|
-
let
|
|
34649
|
-
|
|
34646
|
+
let { sceneDef: n, geoConfig: r, staticTransform: i, tileSource: a, mapOptions: o } = h.current, s = !1, g = { ...n };
|
|
34647
|
+
g.rootLayer = { ...n.rootLayer };
|
|
34648
|
+
let _ = n.rootLayer.children;
|
|
34649
|
+
g.rootLayer.children = _.filter((e) => {
|
|
34650
34650
|
var t;
|
|
34651
34651
|
return (e == null || (t = e.name) == null ? void 0 : t.toString().toLowerCase()) !== "areamap";
|
|
34652
|
-
}),
|
|
34653
|
-
let
|
|
34652
|
+
}), g.background = void 0, g.staticTransform = i, Pt();
|
|
34653
|
+
let v = r.bounds ? {
|
|
34654
34654
|
bounds: r.bounds,
|
|
34655
34655
|
fitBoundsOptions: {
|
|
34656
34656
|
padding: r.fitPadding,
|
|
@@ -34659,9 +34659,9 @@ function Ft({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34659
34659
|
} : {
|
|
34660
34660
|
center: r.center,
|
|
34661
34661
|
zoom: r.zoom
|
|
34662
|
-
},
|
|
34662
|
+
}, y = xt(a.style), b = new de.Map({
|
|
34663
34663
|
container: c.current,
|
|
34664
|
-
...
|
|
34664
|
+
...v,
|
|
34665
34665
|
bearing: r.bearing,
|
|
34666
34666
|
pitch: (e = o == null ? void 0 : o.pitch) == null ? 30 : e,
|
|
34667
34667
|
maxPitch: (t = o == null ? void 0 : o.maxPitch) == null ? 70 : t,
|
|
@@ -34671,47 +34671,47 @@ function Ft({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34671
34671
|
bearingSnap: 0,
|
|
34672
34672
|
canvasContextAttributes: { antialias: !0 }
|
|
34673
34673
|
});
|
|
34674
|
-
r.zoomAdjustment &&
|
|
34674
|
+
r.zoomAdjustment && b.jumpTo({ zoom: b.getZoom() + r.zoomAdjustment }), l.current = b, b.once("error", (e) => {
|
|
34675
34675
|
var t, n;
|
|
34676
|
-
|
|
34676
|
+
b.isStyleLoaded() || (t = m.current) == null || t.call(m, (n = e == null ? void 0 : e.error) == null ? e : n);
|
|
34677
34677
|
});
|
|
34678
|
-
let
|
|
34678
|
+
let x = (e) => {
|
|
34679
34679
|
let t = e == null ? void 0 : e.id;
|
|
34680
|
-
!t ||
|
|
34680
|
+
!t || b.hasImage(t) || b.addImage(t, {
|
|
34681
34681
|
width: 1,
|
|
34682
34682
|
height: 1,
|
|
34683
34683
|
data: /* @__PURE__ */ new Uint8Array(4)
|
|
34684
34684
|
});
|
|
34685
34685
|
};
|
|
34686
|
-
|
|
34687
|
-
let
|
|
34686
|
+
b.on("styleimagemissing", x);
|
|
34687
|
+
let S = {
|
|
34688
34688
|
id: Tt,
|
|
34689
34689
|
type: "custom",
|
|
34690
34690
|
renderingMode: "3d",
|
|
34691
34691
|
onAdd(e, t) {
|
|
34692
34692
|
var n;
|
|
34693
34693
|
if (s) return;
|
|
34694
|
-
let r = new
|
|
34695
|
-
canvas:
|
|
34694
|
+
let r = new u({
|
|
34695
|
+
canvas: b.getCanvas(),
|
|
34696
34696
|
gl: t
|
|
34697
34697
|
});
|
|
34698
34698
|
if (s) {
|
|
34699
34699
|
r.dispose();
|
|
34700
34700
|
return;
|
|
34701
34701
|
}
|
|
34702
|
-
r.init(
|
|
34702
|
+
r.init(g), d.current = r, (n = f.current) == null || n.call(f, r, b, g, () => b.triggerRepaint());
|
|
34703
34703
|
},
|
|
34704
34704
|
render(e, t) {
|
|
34705
|
-
if (!
|
|
34705
|
+
if (!d.current || d.current.isDisposed) return;
|
|
34706
34706
|
let n = At(t == null ? e : t);
|
|
34707
|
-
n &&
|
|
34707
|
+
n && d.current.render(n);
|
|
34708
34708
|
}
|
|
34709
|
-
},
|
|
34709
|
+
}, C = () => {
|
|
34710
34710
|
var e;
|
|
34711
|
-
Nt(
|
|
34711
|
+
Nt(b), b.getSource(wt) || b.addSource(wt, {
|
|
34712
34712
|
type: "geojson",
|
|
34713
34713
|
data: Ot
|
|
34714
|
-
}),
|
|
34714
|
+
}), b.getLayer("expofp-map-dim") || b.addLayer({
|
|
34715
34715
|
id: Ct,
|
|
34716
34716
|
type: "fill",
|
|
34717
34717
|
source: wt,
|
|
@@ -34723,11 +34723,11 @@ function Ft({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34723
34723
|
delay: 0
|
|
34724
34724
|
}
|
|
34725
34725
|
}
|
|
34726
|
-
}), (e =
|
|
34726
|
+
}), (e = p.current) == null || e.call(p, b), b.addLayer(S);
|
|
34727
34727
|
};
|
|
34728
|
-
return
|
|
34728
|
+
return b.on("style.load", C), b.setStyle(a.style, y ? { transformStyle: y } : void 0), () => {
|
|
34729
34729
|
var e;
|
|
34730
|
-
s = !0,
|
|
34730
|
+
s = !0, b.off("style.load", C), b.off("styleimagemissing", x), (e = d.current) == null || e.dispose(), d.current = null, b.remove(), l.current = null;
|
|
34731
34731
|
};
|
|
34732
34732
|
}, []), /* @__PURE__ */ (0, St.jsx)("div", {
|
|
34733
34733
|
ref: c,
|
|
@@ -34759,10 +34759,10 @@ function W(e, t, n) {
|
|
|
34759
34759
|
}
|
|
34760
34760
|
function Ut(e, t) {
|
|
34761
34761
|
let n = [
|
|
34762
|
-
|
|
34763
|
-
|
|
34764
|
-
|
|
34765
|
-
|
|
34762
|
+
f(e.min.x, e.min.y, t),
|
|
34763
|
+
f(e.max.x, e.min.y, t),
|
|
34764
|
+
f(e.max.x, e.max.y, t),
|
|
34765
|
+
f(e.min.x, e.max.y, t)
|
|
34766
34766
|
], r = n.map(([e]) => e), i = n.map(([, e]) => e);
|
|
34767
34767
|
return [[Math.min(...r), Math.min(...i)], [Math.max(...r), Math.max(...i)]];
|
|
34768
34768
|
}
|
|
@@ -34787,7 +34787,7 @@ function Gt(e, t, n) {
|
|
|
34787
34787
|
function Kt() {
|
|
34788
34788
|
var e, t;
|
|
34789
34789
|
if (!(!(M == null || (e = M.properties) == null) && e.config)) return null;
|
|
34790
|
-
let n = M.properties.config, r = (n.p0.lng + n.p2.lng) / 2, i = (n.p0.lat + n.p2.lat) / 2, a =
|
|
34790
|
+
let n = M.properties.config, r = (n.p0.lng + n.p2.lng) / 2, i = (n.p0.lat + n.p2.lat) / 2, a = d(n.p0, n.p2), o = Number.isFinite(a) ? a : (t = n.bearing) == null ? 0 : t;
|
|
34791
34791
|
return {
|
|
34792
34792
|
center: [r, i],
|
|
34793
34793
|
bearing: o,
|
|
@@ -34845,7 +34845,7 @@ function qt(e, t, n, r = {}) {
|
|
|
34845
34845
|
//#region src/components/Maplibre/useCameraReactions.ts
|
|
34846
34846
|
var Jt = h, Yt = 15, Xt = 24;
|
|
34847
34847
|
function Zt(e) {
|
|
34848
|
-
return S(e,
|
|
34848
|
+
return S(e, A(e, T));
|
|
34849
34849
|
}
|
|
34850
34850
|
function Qt(e, t) {
|
|
34851
34851
|
return Math.min(Math.max(t, e.getMinZoom()), e.getMaxZoom());
|
|
@@ -34853,9 +34853,9 @@ function Qt(e, t) {
|
|
|
34853
34853
|
function $t(e, t, n) {
|
|
34854
34854
|
var r;
|
|
34855
34855
|
if (n.length !== 1) return !1;
|
|
34856
|
-
let i = (r = n[0]) == null ? void 0 : r.id, a =
|
|
34856
|
+
let i = (r = n[0]) == null ? void 0 : r.id, a = O.poiMarkerStore.markers.find((e) => e.boothId === i);
|
|
34857
34857
|
if (!a) return !1;
|
|
34858
|
-
let o =
|
|
34858
|
+
let o = f(a.center.x, a.center.y, t.gpsConfig);
|
|
34859
34859
|
return Gt(e, o, Wt(Xt)) || e.easeTo({
|
|
34860
34860
|
center: o,
|
|
34861
34861
|
zoom: Qt(e, Yt),
|
|
@@ -34874,7 +34874,7 @@ function en(e, t, n) {
|
|
|
34874
34874
|
Jt.moveToBooths = null;
|
|
34875
34875
|
return;
|
|
34876
34876
|
}
|
|
34877
|
-
qt(r, Zt(
|
|
34877
|
+
qt(r, Zt(g.fromUnion(...i.map((e) => e.rect))), t), Jt.moveToBooths = null;
|
|
34878
34878
|
}
|
|
34879
34879
|
}), ee(() => Jt.moveToRect, (n) => {
|
|
34880
34880
|
let r = e.current;
|
|
@@ -34887,13 +34887,13 @@ function en(e, t, n) {
|
|
|
34887
34887
|
duration: 500
|
|
34888
34888
|
}), Jt.zoomBy = null);
|
|
34889
34889
|
}), ee(() => h.moveToLocation, (n) => {
|
|
34890
|
-
let r = e.current, i =
|
|
34890
|
+
let r = e.current, i = O.routeStore.currentPosition;
|
|
34891
34891
|
if (!n || !r || !i) return;
|
|
34892
34892
|
let { lng: a, lat: o } = i, s = typeof a == "number" && Number.isFinite(a) && typeof o == "number" && Number.isFinite(o), c;
|
|
34893
34893
|
if (s) c = [a, o];
|
|
34894
34894
|
else {
|
|
34895
34895
|
if (!t) return;
|
|
34896
|
-
c =
|
|
34896
|
+
c = f(i.x, i.y, t.gpsConfig);
|
|
34897
34897
|
}
|
|
34898
34898
|
r.flyTo({
|
|
34899
34899
|
center: c,
|
|
@@ -34907,11 +34907,11 @@ function en(e, t, n) {
|
|
|
34907
34907
|
if (!(!r || !i || !t)) {
|
|
34908
34908
|
if (!(h.list.type === "search" && !h.list.text)) {
|
|
34909
34909
|
let { rect: e } = _({
|
|
34910
|
-
layerViewbox:
|
|
34911
|
-
explicitArea: D ?
|
|
34912
|
-
layerRectangle:
|
|
34910
|
+
layerViewbox: O.layerStore.viewboxRectangle,
|
|
34911
|
+
explicitArea: D ? T : null,
|
|
34912
|
+
layerRectangle: O.layerStore.rectangle,
|
|
34913
34913
|
sceneDef: n,
|
|
34914
|
-
svgArea:
|
|
34914
|
+
svgArea: T
|
|
34915
34915
|
});
|
|
34916
34916
|
qt(i, e, t);
|
|
34917
34917
|
}
|
|
@@ -34965,13 +34965,13 @@ function un(e, t, n = !1) {
|
|
|
34965
34965
|
}
|
|
34966
34966
|
function dn() {
|
|
34967
34967
|
var e, t, n;
|
|
34968
|
-
let r = (e = (t =
|
|
34969
|
-
return r != null && r.style ? { style: r.style } : r != null && r.styleUrl ? { style: r.styleUrl } : an(M == null || (n = M.properties) == null || (n = n.config) == null ? void 0 : n.style,
|
|
34968
|
+
let r = (e = (t = O.fp) == null ? void 0 : t.maplibre) == null ? window.__efpMaplibre : e;
|
|
34969
|
+
return r != null && r.style ? { style: r.style } : r != null && r.styleUrl ? { style: r.styleUrl } : an(M == null || (n = M.properties) == null || (n = n.config) == null ? void 0 : n.style, b.backgroundColor) === "dark" ? sn : on;
|
|
34970
34970
|
}
|
|
34971
34971
|
//#endregion
|
|
34972
34972
|
//#region src/components/Maplibre/useDimming.ts
|
|
34973
34973
|
function fn() {
|
|
34974
|
-
return h.dimmed && !
|
|
34974
|
+
return h.dimmed && !O.poiMarkerStore.dimSuppressed;
|
|
34975
34975
|
}
|
|
34976
34976
|
function pn(e, t) {
|
|
34977
34977
|
let n = (0, P.useRef)(t);
|
|
@@ -35033,7 +35033,7 @@ function hn(e, t = /* @__PURE__ */ new Map()) {
|
|
|
35033
35033
|
return t;
|
|
35034
35034
|
}
|
|
35035
35035
|
function gn(e) {
|
|
35036
|
-
return e != null && e.shape ?
|
|
35036
|
+
return e != null && e.shape ? k.booths.find((t) => {
|
|
35037
35037
|
var n;
|
|
35038
35038
|
return (n = t.shapes) == null ? void 0 : n.some((t) => t.shape === e.shape);
|
|
35039
35039
|
}) : null;
|
|
@@ -35042,7 +35042,7 @@ function gn(e) {
|
|
|
35042
35042
|
//#region src/components/Maplibre/useLayerVisibilitySync.ts
|
|
35043
35043
|
function _n(e, t, n) {
|
|
35044
35044
|
let r = (0, P.useRef)(null), i = (0, P.useRef)(null);
|
|
35045
|
-
ee(() =>
|
|
35045
|
+
ee(() => O.layerStore.layers.map((e) => `${e.name}:${+!!e.visible}`), () => {
|
|
35046
35046
|
var a, o;
|
|
35047
35047
|
let s = e.scene;
|
|
35048
35048
|
if (!s) return;
|
|
@@ -35051,7 +35051,7 @@ function _n(e, t, n) {
|
|
|
35051
35051
|
defsByName: hn(s.rootLayer)
|
|
35052
35052
|
});
|
|
35053
35053
|
let c = r.current.defsByName, l = [];
|
|
35054
|
-
for (let e of
|
|
35054
|
+
for (let e of O.layerStore.layers) {
|
|
35055
35055
|
let t = c.get(e.name);
|
|
35056
35056
|
if (t != null && t.length) for (let n of t) {
|
|
35057
35057
|
let t = !e.visible;
|
|
@@ -35059,7 +35059,7 @@ function _n(e, t, n) {
|
|
|
35059
35059
|
}
|
|
35060
35060
|
}
|
|
35061
35061
|
l.length && e.update(...l);
|
|
35062
|
-
let u =
|
|
35062
|
+
let u = O.layerStore.layers.find((e) => e.visible && !e.frozen && !e.rootParent && !e.pathway);
|
|
35063
35063
|
if (!u || i.current === u.name) return;
|
|
35064
35064
|
i.current = u.name;
|
|
35065
35065
|
let d = (o = u.viewbox) == null ? u.rect : o;
|
|
@@ -35087,19 +35087,19 @@ function On(e, t, a) {
|
|
|
35087
35087
|
if (!y()) return;
|
|
35088
35088
|
let s = t.current;
|
|
35089
35089
|
if (!e || !s || !a) return;
|
|
35090
|
-
let { gpsConfig: c } = a,
|
|
35091
|
-
s.hasImage(e) && s.removeImage(e), s.addImage(e, t, { pixelRatio: d }),
|
|
35090
|
+
let { gpsConfig: c } = a, u = /* @__PURE__ */ new Set(), d = window.devicePixelRatio || 1, p = l(36, d, ((o = b.colors) == null || (o = o.booths) == null ? void 0 : o.selected) || "#3b6ef5"), m = (e) => f(e.center.x, e.center.y, c), h = (e, t) => {
|
|
35091
|
+
s.hasImage(e) && s.removeImage(e), s.addImage(e, t, { pixelRatio: d }), u.add(e);
|
|
35092
35092
|
}, _ = (e) => {
|
|
35093
|
-
let t =
|
|
35093
|
+
let t = O.poiMarkerStore.markers, n = new Set(t.map((e) => Dn(e.boothId)));
|
|
35094
35094
|
n.add(wn);
|
|
35095
|
-
for (let e of [...
|
|
35095
|
+
for (let e of [...u]) n.has(e) || (s.hasImage(e) && s.removeImage(e), u.delete(e));
|
|
35096
35096
|
for (let n of t) {
|
|
35097
35097
|
let t = Dn(n.boothId);
|
|
35098
|
-
(e || !
|
|
35098
|
+
(e || !u.has(t)) && h(t, n.icon);
|
|
35099
35099
|
}
|
|
35100
|
-
|
|
35101
|
-
},
|
|
35102
|
-
let e =
|
|
35100
|
+
u.has(wn) || h(wn, p);
|
|
35101
|
+
}, v = () => {
|
|
35102
|
+
let e = O.poiMarkerStore.selectedMarkerId, t = O.poiMarkerStore.outdoorFilter, n = !t.active, r = O.poiMarkerStore.markers;
|
|
35103
35103
|
return e === null ? t.active && (r = t.matchingMarkers) : r = r.filter((t) => t.boothId === e), {
|
|
35104
35104
|
cluster: n,
|
|
35105
35105
|
data: {
|
|
@@ -35108,7 +35108,7 @@ function On(e, t, a) {
|
|
|
35108
35108
|
type: "Feature",
|
|
35109
35109
|
geometry: {
|
|
35110
35110
|
type: "Point",
|
|
35111
|
-
coordinates:
|
|
35111
|
+
coordinates: m(t)
|
|
35112
35112
|
},
|
|
35113
35113
|
properties: {
|
|
35114
35114
|
boothId: t.boothId,
|
|
@@ -35211,16 +35211,16 @@ function On(e, t, a) {
|
|
|
35211
35211
|
if (!s.getLayer(bn)) return;
|
|
35212
35212
|
let e = fn() ? 1 - ae : 1;
|
|
35213
35213
|
s.setPaintProperty(bn, "circle-opacity", e), s.setPaintProperty(bn, "circle-stroke-opacity", e), s.setPaintProperty(xn, "text-opacity", e), s.setPaintProperty(Sn, "icon-opacity", e), s.setPaintProperty(Cn, "icon-opacity", e);
|
|
35214
|
-
},
|
|
35214
|
+
}, E = (e = !1) => {
|
|
35215
35215
|
var t;
|
|
35216
35216
|
_(e);
|
|
35217
|
-
let { cluster: n, data: r } =
|
|
35217
|
+
let { cluster: n, data: r } = v();
|
|
35218
35218
|
w(r, n), (t = s.getSource(J)) == null || t.setData(r), T();
|
|
35219
|
-
},
|
|
35219
|
+
}, D = (e) => {
|
|
35220
35220
|
if (!e.length) return;
|
|
35221
35221
|
let t = Wt(50);
|
|
35222
|
-
if (e.every((e) => Gt(s,
|
|
35223
|
-
let n = Ut(
|
|
35222
|
+
if (e.every((e) => Gt(s, m(e), t))) return;
|
|
35223
|
+
let n = Ut(g.fromPoints(e.map((e) => e.center)), c), r = s.cameraForBounds(n, {
|
|
35224
35224
|
padding: t,
|
|
35225
35225
|
bearing: a.bearing
|
|
35226
35226
|
});
|
|
@@ -35235,8 +35235,8 @@ function On(e, t, a) {
|
|
|
35235
35235
|
var t;
|
|
35236
35236
|
let n = (t = e.features) == null || (t = t[0]) == null || (t = t.properties) == null ? void 0 : t.boothId;
|
|
35237
35237
|
if (typeof n != "number") return;
|
|
35238
|
-
let r =
|
|
35239
|
-
r &&
|
|
35238
|
+
let r = O.boothStore.boothById.get(n);
|
|
35239
|
+
r && O.clickBooth(r);
|
|
35240
35240
|
}, A = (e) => {
|
|
35241
35241
|
var t, n, r;
|
|
35242
35242
|
let i = (t = e.features) == null ? void 0 : t[0], a = i == null || (n = i.properties) == null ? void 0 : n.cluster_id, o = s.getSource(J);
|
|
@@ -35253,21 +35253,21 @@ function On(e, t, a) {
|
|
|
35253
35253
|
s.on("click", Sn, k), s.on("click", Cn, k), s.on("click", bn, A), yn.set((e, t) => {
|
|
35254
35254
|
let n = En.filter((e) => !!s.getLayer(e));
|
|
35255
35255
|
if (!n.length) return !1;
|
|
35256
|
-
let r = s.project(
|
|
35256
|
+
let r = s.project(f(e, t, c));
|
|
35257
35257
|
return s.queryRenderedFeatures([r.x, r.y], { layers: n }).length > 0;
|
|
35258
35258
|
});
|
|
35259
35259
|
let j = () => {
|
|
35260
|
-
|
|
35260
|
+
u.clear(), E(!0);
|
|
35261
35261
|
};
|
|
35262
35262
|
s.on("style.load", j);
|
|
35263
|
-
let M = i(() =>
|
|
35264
|
-
|
|
35263
|
+
let M = i(() => O.poiMarkerStore.markers, () => E(!0)), N = i(() => O.poiMarkerStore.selectedMarkerId, () => E()), ee = i(() => O.poiMarkerStore.outdoorFilter.key, () => {
|
|
35264
|
+
E(), D(O.poiMarkerStore.outdoorFilter.matchingMarkers);
|
|
35265
35265
|
}), te = i(() => fn(), () => T());
|
|
35266
|
-
return
|
|
35266
|
+
return E(!0), () => {
|
|
35267
35267
|
M(), N(), ee(), te(), yn.set(null), s.off("style.load", j), s.off("click", Sn, k), s.off("click", Cn, k), s.off("click", bn, A);
|
|
35268
35268
|
try {
|
|
35269
35269
|
C();
|
|
35270
|
-
for (let e of
|
|
35270
|
+
for (let e of u) s.hasImage(e) && s.removeImage(e);
|
|
35271
35271
|
} catch {}
|
|
35272
35272
|
};
|
|
35273
35273
|
}, [
|
|
@@ -35284,17 +35284,17 @@ function An(e, t) {
|
|
|
35284
35284
|
if (!e) return;
|
|
35285
35285
|
let n = ({ data: e }) => {
|
|
35286
35286
|
if (h.setKioskModeEnabled) return;
|
|
35287
|
-
let { point: t, defs: n } =
|
|
35287
|
+
let { point: t, defs: n } = c(e), r = le(t.x, t.y), i = gn(n[0]);
|
|
35288
35288
|
kn.hoveredBooth = r || i || null;
|
|
35289
35289
|
}, r = () => {
|
|
35290
35290
|
h.setKioskModeEnabled || (kn.hoveredBooth = null);
|
|
35291
35291
|
}, i = ({ data: e }) => {
|
|
35292
35292
|
var n, r;
|
|
35293
35293
|
if (!(h != null && h.rootElement)) return;
|
|
35294
|
-
(n = (r = window).__resett) == null || n.call(r), h.overlayPosition === "bottom" && h.overlaySize === "full" &&
|
|
35295
|
-
let { point: i, defs: a } =
|
|
35294
|
+
(n = (r = window).__resett) == null || n.call(r), h.overlayPosition === "bottom" && h.overlaySize === "full" && O.showMap();
|
|
35295
|
+
let { point: i, defs: a } = c(e), { x: o, y: s } = i;
|
|
35296
35296
|
if (h.onGetCoordsClick) {
|
|
35297
|
-
let e =
|
|
35297
|
+
let e = O.layerStore.layers.find((e) => e.visible && (e.mode === C.TurnedOn || e.mode === C.TurnedOff));
|
|
35298
35298
|
h.onGetCoordsClick({
|
|
35299
35299
|
x: o,
|
|
35300
35300
|
y: s,
|
|
@@ -35302,12 +35302,12 @@ function An(e, t) {
|
|
|
35302
35302
|
});
|
|
35303
35303
|
}
|
|
35304
35304
|
if (h.setKioskModeEnabled || yn.test(o, s)) return;
|
|
35305
|
-
let
|
|
35305
|
+
let l = le(i.x, i.y) || gn(a[0]);
|
|
35306
35306
|
if (h.onMarkerClick) {
|
|
35307
35307
|
let e = ie(o, s, t.scale);
|
|
35308
35308
|
h.onMarkerClick(e);
|
|
35309
35309
|
}
|
|
35310
|
-
|
|
35310
|
+
O.clickBooth(l || null);
|
|
35311
35311
|
}, a = () => {
|
|
35312
35312
|
var e, t;
|
|
35313
35313
|
return (e = (t = window).__resett) == null ? void 0 : e.call(t);
|
|
@@ -35322,7 +35322,7 @@ function An(e, t) {
|
|
|
35322
35322
|
function jn(e, t) {
|
|
35323
35323
|
(0, P.useEffect)(() => {
|
|
35324
35324
|
if (!e) return;
|
|
35325
|
-
let n = j(t,
|
|
35325
|
+
let n = j(t, O), r = ne(t);
|
|
35326
35326
|
return () => {
|
|
35327
35327
|
n == null || n(), r == null || r();
|
|
35328
35328
|
};
|
|
@@ -35506,10 +35506,10 @@ function Qn(e, t, n) {
|
|
|
35506
35506
|
};
|
|
35507
35507
|
}
|
|
35508
35508
|
function $n() {
|
|
35509
|
-
|
|
35510
|
-
|
|
35509
|
+
O.poiMarkerStore.clear(), a(() => {
|
|
35510
|
+
O.layerStore.layers.forEach((e) => {
|
|
35511
35511
|
e.configured = !1, e.children = [], e.loaded = !1;
|
|
35512
|
-
}),
|
|
35512
|
+
}), O.layerStore.layersLoaded = !1;
|
|
35513
35513
|
});
|
|
35514
35514
|
}
|
|
35515
35515
|
function er(e, t) {
|
|
@@ -35522,30 +35522,30 @@ function tr(e) {
|
|
|
35522
35522
|
let i = Math.abs((t = e[0]) == null ? 0 : t), a = Math.hypot((n = e[0]) == null ? 0 : n, (r = e[1]) == null ? 0 : r);
|
|
35523
35523
|
return i <= 0 || a <= 0 ? 1 : i / a;
|
|
35524
35524
|
}
|
|
35525
|
-
var nr =
|
|
35525
|
+
var nr = N(function({ viewMode: e }) {
|
|
35526
35526
|
var t;
|
|
35527
|
-
let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(null), o =
|
|
35527
|
+
let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(null), o = O.rendererService, s = (0, P.useRef)(null), c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(null), m = (0, P.useMemo)(() => Kt(), []), g = (0, P.useMemo)(() => {
|
|
35528
35528
|
let { rect: e } = _({
|
|
35529
|
-
layerViewbox:
|
|
35530
|
-
explicitArea: D ?
|
|
35531
|
-
layerRectangle:
|
|
35529
|
+
layerViewbox: O.layerStore.viewboxRectangle,
|
|
35530
|
+
explicitArea: D ? T : null,
|
|
35531
|
+
layerRectangle: O.layerStore.rectangle,
|
|
35532
35532
|
sceneDef: n,
|
|
35533
|
-
svgArea:
|
|
35533
|
+
svgArea: T
|
|
35534
35534
|
});
|
|
35535
35535
|
return e;
|
|
35536
|
-
}, [n]),
|
|
35537
|
-
center:
|
|
35538
|
-
bearing:
|
|
35539
|
-
zoom:
|
|
35540
|
-
bounds: Ut(
|
|
35536
|
+
}, [n]), y = (0, P.useMemo)(() => m ? {
|
|
35537
|
+
center: m.center,
|
|
35538
|
+
bearing: m.bearing,
|
|
35539
|
+
zoom: m.zoom,
|
|
35540
|
+
bounds: Ut(g, m.gpsConfig),
|
|
35541
35541
|
fitPadding: Wt(0),
|
|
35542
35542
|
zoomAdjustment: It
|
|
35543
|
-
} : null, [
|
|
35543
|
+
} : null, [m, g]), S = (0, P.useMemo)(() => {
|
|
35544
35544
|
var e;
|
|
35545
|
-
return
|
|
35546
|
-
}, [
|
|
35545
|
+
return m ? Ln(m.gpsConfig, (e = v()) == null ? void 0 : e.getAttribute("units")) : null;
|
|
35546
|
+
}, [m]), C = (0, P.useMemo)(() => ({ ...e === "map2d" ? K : G }), [e]), k = (0, P.useRef)(C), A = (0, P.useMemo)(() => dn(), []), { mapDimAnimatorRef: j, venueDimAnimatorRef: M, applyDimmingTarget: N, handleMapDimLayerReady: ee } = pn(c, o);
|
|
35547
35547
|
(0, P.useEffect)(() => {
|
|
35548
|
-
if (!
|
|
35548
|
+
if (!m) return;
|
|
35549
35549
|
let e = !1;
|
|
35550
35550
|
$n();
|
|
35551
35551
|
let t = ce(o).then(({ layers: t, cleanup: n }) => {
|
|
@@ -35554,7 +35554,7 @@ var nr = c(function({ viewMode: e }) {
|
|
|
35554
35554
|
return;
|
|
35555
35555
|
}
|
|
35556
35556
|
u.current = n;
|
|
35557
|
-
let i =
|
|
35557
|
+
let i = p(t, T, (0, ue.default)(b.backgroundColor === "none" ? "#ebebeb" : b.backgroundColor).string());
|
|
35558
35558
|
r(i);
|
|
35559
35559
|
}).catch((t) => {
|
|
35560
35560
|
e || console.warn("Maplibre scene configuration failed.", t);
|
|
@@ -35563,62 +35563,62 @@ var nr = c(function({ viewMode: e }) {
|
|
|
35563
35563
|
var r, p;
|
|
35564
35564
|
e = !0, $n();
|
|
35565
35565
|
let m = s.current;
|
|
35566
|
-
t.finally(() => o.disposeIfCurrent(m)), (r = l.current) == null || r.call(l), l.current = null, (p = u.current) == null || p.call(u), u.current = null, f.current && (
|
|
35566
|
+
t.finally(() => o.disposeIfCurrent(m)), (r = l.current) == null || r.call(l), l.current = null, (p = u.current) == null || p.call(u), u.current = null, f.current && (O.maplibreStore.clearCameraPortIfCurrent(f.current), f.current = null), s.current = null, c.current = null, d.current = null, a(null), n == null || n.stop(), i == null || i.stop(), h.sceneDefReady = !1;
|
|
35567
35567
|
};
|
|
35568
35568
|
}, [
|
|
35569
|
-
|
|
35569
|
+
m,
|
|
35570
35570
|
j,
|
|
35571
35571
|
o,
|
|
35572
35572
|
M
|
|
35573
35573
|
]);
|
|
35574
35574
|
let ne = (0, P.useCallback)((e, t, n, r) => {
|
|
35575
|
-
var i, u,
|
|
35576
|
-
s.current = e, c.current = t, d.current = r, a(e), o.attach(e, n, r,
|
|
35577
|
-
let g = Qn(t, (i =
|
|
35575
|
+
var i, u, p;
|
|
35576
|
+
s.current = e, c.current = t, d.current = r, a(e), o.attach(e, n, r, S ? tr(S) : 1), un(t, k.current);
|
|
35577
|
+
let g = Qn(t, (i = m == null ? void 0 : m.bearing) == null ? t.getBearing() : i, () => {
|
|
35578
35578
|
var e;
|
|
35579
|
-
return (e =
|
|
35579
|
+
return (e = k.current.pitch) == null ? 0 : e;
|
|
35580
35580
|
});
|
|
35581
|
-
f.current = g,
|
|
35581
|
+
f.current = g, O.maplibreStore.setCameraPort(g), N({ immediate: !0 }), (u = l.current) == null || u.call(l);
|
|
35582
35582
|
let _ = () => {
|
|
35583
35583
|
var e;
|
|
35584
|
-
let n = t.getBearing() - ((e =
|
|
35585
|
-
er(o,
|
|
35584
|
+
let n = t.getBearing() - ((e = m == null ? void 0 : m.bearing) == null ? 0 : e);
|
|
35585
|
+
er(o, w(n));
|
|
35586
35586
|
};
|
|
35587
35587
|
t.on("rotate", _), t.on("rotateend", _), l.current = () => {
|
|
35588
35588
|
t.off("rotate", _), t.off("rotateend", _);
|
|
35589
|
-
},
|
|
35590
|
-
let
|
|
35591
|
-
|
|
35589
|
+
}, E(o);
|
|
35590
|
+
let v = o.ptScaleRegistry.invoke(o.scale || 1);
|
|
35591
|
+
v.length && o.update(...v), er(o, w(t.getBearing() - ((p = m == null ? void 0 : m.bearing) == null ? 0 : p))), O.layerStore.layersLoaded = !0, O.fp.onFpConfigured && O.fp.onFpConfigured(), h.sceneDefReady = !0, r();
|
|
35592
35592
|
}, [
|
|
35593
35593
|
o,
|
|
35594
35594
|
N,
|
|
35595
|
-
|
|
35596
|
-
|
|
35595
|
+
S,
|
|
35596
|
+
m
|
|
35597
35597
|
]);
|
|
35598
35598
|
(0, P.useEffect)(() => {
|
|
35599
|
-
|
|
35600
|
-
}, [
|
|
35601
|
-
enabled:
|
|
35599
|
+
k.current = C, un(c.current, C, !0);
|
|
35600
|
+
}, [C]), An(i, o), mn(i, c), jn(i, o), On(i, c, m), _n(o, c, m), en(c, m, n), oe({
|
|
35601
|
+
enabled: O.layerStore.layersLoaded && h.buildRoute,
|
|
35602
35602
|
rendererService: o
|
|
35603
35603
|
});
|
|
35604
|
-
let re = (t =
|
|
35604
|
+
let re = (t = x.busRoutes) != null && t;
|
|
35605
35605
|
te({
|
|
35606
|
-
permission:
|
|
35606
|
+
permission: O.layerStore.layersLoaded && re,
|
|
35607
35607
|
rendererService: o,
|
|
35608
|
-
dataJsonUrl: `https://${Xn}/v1/routes?expo=${
|
|
35609
|
-
websocketUrl: `wss://${Xn}/locations?expo=${
|
|
35608
|
+
dataJsonUrl: `https://${Xn}/v1/routes?expo=${b.EXPO}`,
|
|
35609
|
+
websocketUrl: `wss://${Xn}/locations?expo=${b.EXPO}`
|
|
35610
35610
|
});
|
|
35611
35611
|
let ie = (0, P.useCallback)((e) => {
|
|
35612
|
-
console.warn("Maplibre map failed to load; falling back to floorplan mode.", e),
|
|
35612
|
+
console.warn("Maplibre map failed to load; falling back to floorplan mode.", e), O.maplibreStore.deactivateMaplibre();
|
|
35613
35613
|
}, []);
|
|
35614
|
-
if (!
|
|
35615
|
-
let ae = `${
|
|
35614
|
+
if (!m || !y || !S || !n) return null;
|
|
35615
|
+
let ae = `${y.center.join(",")}:${y.bearing}:${y.zoom}`;
|
|
35616
35616
|
return /* @__PURE__ */ (0, St.jsx)(Ft, {
|
|
35617
35617
|
sceneDef: n,
|
|
35618
|
-
geoConfig:
|
|
35619
|
-
staticTransform:
|
|
35620
|
-
tileSource:
|
|
35621
|
-
mapOptions:
|
|
35618
|
+
geoConfig: y,
|
|
35619
|
+
staticTransform: S,
|
|
35620
|
+
tileSource: A,
|
|
35621
|
+
mapOptions: C,
|
|
35622
35622
|
onRendererReady: ne,
|
|
35623
35623
|
onMapDimLayerReady: ee,
|
|
35624
35624
|
onMapLoadError: ie
|