import{useMemo as t}from"react";import{useFilterStore as r}from"../stores/filter-store/useFilterStore.js";import{selectCascadedFilterOptions as e}from"../stores/filter-store/utils/selectCascadedFilterOptions.js";import{useSegmentConfig as o}from"../segment-config/useSegmentConfig.js";var i=function(){var i=r(e),n=o();return t((function(){var t=new Set(n.filterOptions.map((function(t){return String(t.value)})));return i.filter((function(r){return t.has(r.value)}))}),[i,n.filterOptions])};export{i as useFilterOptions};
//# sourceMappingURL=useFilterOptions.js.map
