import { ANIMATIONS } from "./common";
const WOBBLE_DEFAULT = {
    fillMode: 'both'
};
const WOBBLE_HOR_BOTTOM = [
    Object.assign(Object.assign({ offset: 0 }, WOBBLE_DEFAULT), { transform: 'translateX(0)', transformOrigin: '50% 50%' }),
    Object.assign(Object.assign({ offset: 0.15 }, WOBBLE_DEFAULT), { transform: 'translateX(-30px) rotate(-6deg)' }),
    Object.assign(Object.assign({ offset: 0.3 }, WOBBLE_DEFAULT), { transform: 'translateX(15px) rotate(6deg)' }),
    Object.assign(Object.assign({ offset: 0.45 }, WOBBLE_DEFAULT), { transform: 'translateX(-15px) rotate(-3.6deg)' }),
    Object.assign(Object.assign({ offset: 0.6 }, WOBBLE_DEFAULT), { transform: 'translateX(9px) rotate(2.4deg)' }),
    Object.assign(Object.assign({ offset: 0.75 }, WOBBLE_DEFAULT), { transform: 'translateX(-6px) rotate(-1.2deg)' }),
    Object.assign(Object.assign({ offset: 1 }, WOBBLE_DEFAULT), { transform: 'translateX(0)', transformOrigin: '50% 50%' })
];
const WOBBLE_HOR_TOP = [
    Object.assign(Object.assign({ offset: 0 }, WOBBLE_DEFAULT), { transform: 'translateX(0)', transformOrigin: '50% 50%' }),
    Object.assign(Object.assign({ offset: 0.15 }, WOBBLE_DEFAULT), { transform: 'translateX(-30px) rotate(6deg)' }),
    Object.assign(Object.assign({ offset: 0.3 }, WOBBLE_DEFAULT), { transform: 'translateX(15px) rotate(-6deg)' }),
    Object.assign(Object.assign({ offset: 0.45 }, WOBBLE_DEFAULT), { transform: 'translateX(-15px) rotate(3.6deg)' }),
    Object.assign(Object.assign({ offset: 0.6 }, WOBBLE_DEFAULT), { transform: 'translateX(9px) rotate(-2.4deg)' }),
    Object.assign(Object.assign({ offset: 0.75 }, WOBBLE_DEFAULT), { transform: 'translateX(-6px) rotate(1.2deg)' }),
    Object.assign(Object.assign({ offset: 1 }, WOBBLE_DEFAULT), { transform: 'translateX(0)', transformOrigin: '50% 50%' })
];
const WOBBLE_VER_LEFT = [
    Object.assign(Object.assign({ offset: 0 }, WOBBLE_DEFAULT), { transform: 'translateY(0) rotate(0)', transformOrigin: '50% 50%' }),
    Object.assign(Object.assign({ offset: 0.15 }, WOBBLE_DEFAULT), { transform: 'translateY(-30px) rotate(-6deg)' }),
    Object.assign(Object.assign({ offset: 0.3 }, WOBBLE_DEFAULT), { transform: 'translateY(15px) rotate(6deg)' }),
    Object.assign(Object.assign({ offset: 0.45 }, WOBBLE_DEFAULT), { transform: 'translateY(-15px) rotate(-3.6deg)' }),
    Object.assign(Object.assign({ offset: 0.6 }, WOBBLE_DEFAULT), { transform: 'translateY(9px) rotate(2.4deg)' }),
    Object.assign(Object.assign({ offset: 0.75 }, WOBBLE_DEFAULT), { transform: 'translateY(-6px) rotate(-1.2deg)' }),
    Object.assign(Object.assign({ offset: 1 }, WOBBLE_DEFAULT), { transform: 'translateY(0) rotate(0)', transformOrigin: '50% 50%' })
];
const WOBBLE_VER_RIGHT = [
    Object.assign(Object.assign({ offset: 0 }, WOBBLE_DEFAULT), { transform: 'translateY(0) rotate(0)', transformOrigin: '50% 50%' }),
    Object.assign(Object.assign({ offset: 0.15 }, WOBBLE_DEFAULT), { transform: 'translateY(-30px) rotate(6deg)' }),
    Object.assign(Object.assign({ offset: 0.3 }, WOBBLE_DEFAULT), { transform: 'translateY(15px) rotate(-6deg)' }),
    Object.assign(Object.assign({ offset: 0.45 }, WOBBLE_DEFAULT), { transform: 'translateY(-15px) rotate(3.6deg)' }),
    Object.assign(Object.assign({ offset: 0.6 }, WOBBLE_DEFAULT), { transform: 'translateY(9px) rotate(-2.4deg)' }),
    Object.assign(Object.assign({ offset: 0.75 }, WOBBLE_DEFAULT), { transform: 'translateY(-6px) rotate(1.2deg)' }),
    Object.assign(Object.assign({ offset: 1 }, WOBBLE_DEFAULT), { transform: 'translateY(0) rotate(0)', transformOrigin: '50% 50%' })
];
export default {
    [ANIMATIONS.WOBBLE_HOR_BOTTOM]: WOBBLE_HOR_BOTTOM,
    [ANIMATIONS.WOBBLE_HOR_TOP]: WOBBLE_HOR_TOP,
    [ANIMATIONS.WOBBLE_VER_LEFT]: WOBBLE_VER_LEFT,
    [ANIMATIONS.WOBBLE_VER_RIGHT]: WOBBLE_VER_RIGHT
};
