Many of the keyframes here appear to be the same, we could simplify by pulling them out into local variables.