"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("styled-components");const a=r=>{switch(r){case"bottom-right":case"top-right":return t.keyframes`
          from { transform: translateX(100%); opacity: 0; }
          to { transform: translateX(0%); opacity: 1; }
        `;case"top-left":case"bottom-left":return t.keyframes`
          from { transform: translateX(-100%); opacity: 0; }
          to { transform: translateX(0%); opacity: 1; }
        `;case"top":return t.keyframes`
          from { transform: translateY(-100%); opacity: 0; }
          to { transform: translateY(0%); opacity: 1; }
        `;case"bottom":return t.keyframes`
          from { transform: translateY(100%); opacity: 0; }
          to { transform: translateY(0%); opacity: 1; }
        `;default:return"Invalid position!"}},e=r=>{switch(r){case"bottom-right":case"top-right":return t.keyframes`
          from { transform: translateX(0%); opacity: 1; }
          to { transform: translateX(100%); opacity: 0; }
        `;case"top-left":case"bottom-left":return t.keyframes`
          from { transform: translateX(0%); opacity: 1; }
          to { transform: translateX(-100%); opacity: 0; }
        `;case"top":return t.keyframes`
          from { transform: translateY(0%); opacity: 1; }
          to { transform: translateY(-100%); opacity: 0; }
        `;case"bottom":return t.keyframes`
          from { transform: translateY(0%); opacity: 1; }
          to { transform: translateY(100%); opacity: 0; }
        `;default:return"Invalid position!"}};exports.getEnteringAnimation=a;exports.getExitingAnimation=e;
