import { GlobalChartState } from '../../../../state/chart_state' ; import { createCustomCachedSelector } from '../../../../state/create_selector' ; import { pickedShapes , pickShapesLayerValues } from '../../layout/viewmodel/picked_shapes' ; import { partitionDrilldownFocus , partitionMultiGeometries } from './geometries' ; function getCurrentPointerPosition ( state ) { return state . interactions . pointer . current . position ; } internal export const getPickedShapes = createCustomCachedSelector ( [ partitionMultiGeometries , getCurrentPointerPosition , partitionDrilldownFocus ] , pickedShapes ) ; internal export const getPickedShapesLayerValues = createCustomCachedSelector ( [ getPickedShapes ] , pickShapesLayerValues ) ;