| 89 | }; |
| 90 | |
| 91 | const normalizeBlur = blur => { |
| 92 | const defaults = blurs.axes.reduce((object, axis) => { |
| 93 | object[axis] = 0; |
| 94 | return object; |
| 95 | }, {}); |
| 96 | return Object.assign(defaults, blur); |
| 97 | }; |
| 98 | |
| 99 | const clearBlur = ({style}, {parentNode: {parentNode: svg}}) => { |
| 100 | style.filter = "none"; |