(t)
| 5168 | var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau$5); |
| 5169 | |
| 5170 | function elasticIn(t) { |
| 5171 | return a * tpmt(-(--t)) * Math.sin((s - t) / p); |
| 5172 | } |
| 5173 | |
| 5174 | elasticIn.amplitude = function(a) { return custom(a, p * tau$5); }; |
| 5175 | elasticIn.period = function(p) { return custom(a, p); }; |