import e from"@babel/runtime/helpers/defineProperty";function l(e,l){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);l&&(t=t.filter((function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable}))),r.push.apply(r,t)}return r}function r(r){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(l){e(r,l,n[l])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}))}return r}var t=function(e){var l=e.selectedWellIds,r=e.subjectWellId,t=e.idasWellIds,n=e.owsWellIds,s=e.wellhubWellIds,d=new Set(l),o=new Set,c=function(e){var l=[];return e.forEach((function(e){e!==r&&d.has(e)&&!o.has(e)&&(o.add(e),l.push(e))})),l};return{idasWellIds:c(t),owsWellIds:c(n),wellhubWellIds:c(s),handpickedWellIds:l.filter((function(e){return e!==r&&!o.has(e)}))}},n=function(e,l){return r(r({},e),{},{idasWellIds:l.idasWellIds,owsWellIds:l.owsWellIds,wellhubWellIds:l.wellhubWellIds,handpickedWellIds:l.handpickedWellIds,manualWellIds:l.handpickedWellIds})};export{n as applyPartitionToOffsetSettings,t as partitionSelectedWellIds};
//# sourceMappingURL=partitionSelectedWellIds.js.map
