CoreFiles by mySites.guru
effect-bounce.min.js9 lines, 951 bytes, from wordpress-5.6.zip
Raw History Compare with 5.5.25
md5
c56e07e312d163e6c13f9cea03468890
sha1
039832798de96c3cd37d4c64b8e18160fe95b27b
sha256
ae86e92440b3a4bef95a11701cec7e13bdc71ee4f99614dbf52b38a1961b3d48
/*!
 * jQuery UI Effects Bounce 1.12.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
!function(e){"function"==typeof define&&define.amd?define(["jquery","./effect"],e):e(jQuery)}(function(w){return w.effects.define("bounce",function(e,t){var i,n,f,o=w(this),a=e.mode,c="hide"===a,u="show"===a,s=e.direction||"up",d=e.distance,r=e.times||5,p=2*r+(u||c?1:0),h=e.duration/p,m=e.easing,y="up"===s||"down"===s?"top":"left",l="up"===s||"left"===s,g=0,q=o.queue().length;for(w.effects.createPlaceholder(o),f=o.css(y),d=d||o["top"==y?"outerHeight":"outerWidth"]()/3,u&&((n={opacity:1})[y]=f,o.css("opacity",0).css(y,l?2*-d:2*d).animate(n,h,m)),c&&(d/=Math.pow(2,r-1)),(n={})[y]=f;g<r;g++)(i={})[y]=(l?"-=":"+=")+d,o.animate(i,h,m).animate(n,h,m),d=c?2*d:d/2;c&&((i={opacity:0})[y]=(l?"-=":"+=")+d,o.animate(i,h,m)),o.queue(t),w.effects.unshift(o,q,1+p)})});

The same content is in 10 releases, WordPress 5.6-beta1 to 5.6. See them all, or every version of this file.