import { ANIMATIONS } from "./common";
const KEN_BURNS_DEFAULT = {
    easing: 'ease-out',
    fillMode: 'both'
};
const KEN_BURNS_TOP = [
    Object.assign(Object.assign({ offset: 0 }, KEN_BURNS_DEFAULT), { transform: 'scale(1) translateY(0)', transformOrigin: '50% 16%' }),
    Object.assign(Object.assign({ offset: 1 }, KEN_BURNS_DEFAULT), { transform: 'scale(1.25) translateY(-15px)', transformOrigin: 'top' })
];
const KEN_BURNS_TOP_RIGHT = [
    Object.assign(Object.assign({ offset: 0 }, KEN_BURNS_DEFAULT), { transform: 'scale(1) translate(0, 0)', transformOrigin: '84% 16%' }),
    Object.assign(Object.assign({ offset: 1 }, KEN_BURNS_DEFAULT), { transform: 'scale(1.25) translate(20px, -15px)', transformOrigin: 'right top' })
];
const KEN_BURNS_RIGHT = [
    Object.assign(Object.assign({ offset: 0 }, KEN_BURNS_DEFAULT), { transform: 'scale(1) translate(0, 0)', transformOrigin: '84% 50%' }),
    Object.assign(Object.assign({ offset: 1 }, KEN_BURNS_DEFAULT), { transform: 'scale(1.25) translateX(20px)', transformOrigin: 'right' })
];
const KEN_BURNS_BOTTOM_RIGHT = [
    Object.assign(Object.assign({ offset: 0 }, KEN_BURNS_DEFAULT), { transform: 'scale(1) translate(0, 0)', transformOrigin: '84% 84%' }),
    Object.assign(Object.assign({ offset: 1 }, KEN_BURNS_DEFAULT), { transform: 'scale(1.25) translate(20px, 15px)', transformOrigin: 'right bottom' })
];
const KEN_BURNS_BOTTOM = [
    Object.assign(Object.assign({ offset: 0 }, KEN_BURNS_DEFAULT), { transform: 'scale(1) translateY(0)', transformOrigin: '50% 84%' }),
    Object.assign(Object.assign({ offset: 1 }, KEN_BURNS_DEFAULT), { transform: 'scale(1.25) translateY(15px)', transformOrigin: 'bottom' })
];
const KEN_BURNS_BOTTOM_LEFT = [
    Object.assign(Object.assign({ offset: 0 }, KEN_BURNS_DEFAULT), { transform: 'scale(1) translate(0, 0)', transformOrigin: '16% 84%' }),
    Object.assign(Object.assign({ offset: 1 }, KEN_BURNS_DEFAULT), { transform: 'scale(1.25) translate(-20px, 15px)', transformOrigin: 'left bottom' })
];
const KEN_BURNS_LEFT = [
    Object.assign(Object.assign({ offset: 0 }, KEN_BURNS_DEFAULT), { transform: 'scale(1) translate(0, 0)', transformOrigin: '16% 50%' }),
    Object.assign(Object.assign({ offset: 1 }, KEN_BURNS_DEFAULT), { transform: 'scale(1.25) translateX(-20px)', transformOrigin: 'left' })
];
const KEN_BURNS_TOP_LEFT = [
    Object.assign(Object.assign({ offset: 0 }, KEN_BURNS_DEFAULT), { transform: 'scale(1) translate(0, 0)', transformOrigin: '16% 16%' }),
    Object.assign(Object.assign({ offset: 1 }, KEN_BURNS_DEFAULT), { transform: 'scale(1.25) translate(-20px, -15px)', transformOrigin: 'left top' })
];
export default {
    [ANIMATIONS.KEN_BURNS_TOP]: KEN_BURNS_TOP,
    [ANIMATIONS.KEN_BURNS_TOP_RIGHT]: KEN_BURNS_TOP_RIGHT,
    [ANIMATIONS.KEN_BURNS_RIGHT]: KEN_BURNS_RIGHT,
    [ANIMATIONS.KEN_BURNS_BOTTOM_RIGHT]: KEN_BURNS_BOTTOM_RIGHT,
    [ANIMATIONS.KEN_BURNS_BOTTOM]: KEN_BURNS_BOTTOM,
    [ANIMATIONS.KEN_BURNS_BOTTOM_LEFT]: KEN_BURNS_BOTTOM_LEFT,
    [ANIMATIONS.KEN_BURNS_LEFT]: KEN_BURNS_LEFT,
    [ANIMATIONS.KEN_BURNS_TOP_LEFT]: KEN_BURNS_TOP_LEFT
};
