import e from"@babel/runtime/helpers/defineProperty";import t from"lodash/isEqual";function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function o(t){for(var o=1;o<arguments.length;o++){var n=null!=arguments[o]?arguments[o]:{};o%2?r(Object(n),!0).forEach((function(r){e(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var n=function(e){var r=e.get,n=e.setWithMutation;return{setSelectionMode:function(e){var t=r().filters;t.selectionMode!==e&&n({filters:o(o({},t),{},{selectionMode:e})},"system")},setPolygonCoords:function(e){var s=r().filters;t(s.polygonCoords,e)||n({filters:o(o({},s),{},{polygonCoords:e})},"system")},setRadius:function(e){var t=r().filters;t.radius!==e&&n({filters:o(o({},t),{},{radius:e})},"system")}}};export{n as createSelectionActions};
//# sourceMappingURL=createSelectionActions.js.map
