"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("../stores/filter-store/useFilterStore.js"),r=require("../stores/filter-store/utils/selectCascadedFilterOptions.js"),s=require("../segment-config/useSegmentConfig.js");exports.useFilterOptions=function(){var i=t.useFilterStore(r.selectCascadedFilterOptions),n=s.useSegmentConfig();return e.useMemo((function(){var e=new Set(n.filterOptions.map((function(e){return String(e.value)})));return i.filter((function(t){return e.has(t.value)}))}),[i,n.filterOptions])};
//# sourceMappingURL=useFilterOptions.js.map
