"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../constants.js");exports.getFilteredWells=function(n,r,t){var u=/\sST0/g;return t?Object.values(e.FILTERS).reduce((function(e,r){return e.filter((function(e){return t=e[r],!(u=n[r])||0===u.length||u.includes(t);var t,u}))}),t).filter((function(e){return r&&!e.name.match(u)||!r})):t},exports.getFilteredWellsByNonEngineered=function(e,n){var r=["non-engineered","non engineered"];return e?n?e:e.filter((function(e){return r.every((function(n){var r;return-1===(null===(r=e.name)||void 0===r?void 0:r.toLowerCase().search(n))}))})):e};
//# sourceMappingURL=index.js.map
