unis_crm/frontend/node_modules/motion-utils/dist/es/easing/anticipate.mjs

11 lines
238 B
JavaScript

import { backIn } from './back.mjs';
const anticipate = (p) => p >= 1
? 1
: (p *= 2) < 1
? 0.5 * backIn(p)
: 0.5 * (2 - Math.pow(2, -10 * (p - 1)));
export { anticipate };
//# sourceMappingURL=anticipate.mjs.map