import{useMemo as r}from"react";import{uniqBy as t}from"lodash";import"zustand";import"../stores/picker-props-store/PickerPropsStoreContext.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react/jsx-runtime";import"../viewport/ViewportProvider.js";import"../viewport/ViewportContext.js";import{usePickerPropsStore as e}from"../stores/picker-props-store/usePickerPropsStore.js";import{doesWellPassVisibilityAndFilters as o}from"../utils/doesWellPassFilters.js";var i=function(i,s,p){var n=e((function(r){return r.segment}));return r((function(){return i&&s?t(i.filter((function(r){return o(r,s,p,{segment:n})})),"id"):null}),[i,s,p,n])};export{i as useFilteredWells};
//# sourceMappingURL=useFilteredWells.js.map
