<commit_before>/**
 * Bouncy Box jQuery Plug-in
 * Current version: 1.1
 * http://WisdoSky.github.io/BouncyBox
 * This software is licensed under the MIT License.
 *
 * Projectile Motion Animation jQuery Plug-in
 * This software is licensed under the MIT License.
 * http://iwisdomsky.tk/!jquery-projectile-animation-plugin/
 *
 * Copyright 2014 <NAME>
 * All rights reserved.
 * http://iwisdomsky.tk | http://wisdomsky.tk | http://facebook.com/WisdomSky |  http://WisdoSky.github.io/BouncyBox
 * 
 * Source is hosted at Github:
 * http://github.com/WisdomSky/BouncyBox
 */


(function(e){var t=function(t,n){function f(){this.height=0;this.width=0;this.speed=s;this.angle=i;this.time=0;this.results=function(){var t=Math.sin,n=e(window),r=-9.81,i=this.angle*Math.PI/180,s=this.speed;return{x:s*Math.cos(i)*this.time*(this.width/n.width()),y:(.5*r*this.time*this.time+s*t(i)*this.time)*(this.height/n.height()),totalTime:-2*s*t(i)/r}}}var r,i,s,o,u,a;if(typeof n=="function"){r=n}else{r=function(){}}u=t.easing||"linear";o=t.duration||1e3;s=t.power||50;i=t.angle||60;a=t.scale||1;astep=typeof t.step=="function"?t.step:function(){};var l=this;var c=new f;var h=l.offset().top;var p=l.offset().left;c.height=500;c.width=1e3;c.speed=s;c.angle=i;var d={v:0};var v=c.results();e.Animation(d,{v:v.totalTime},{duration:o,easing:u,complete:function(){r.apply(l)}}).progress(function(e){c.time=e.tweens[0].now;var t=c.results();l.offset({top:h-t.y*a,left:p+t.x*a})});return this};e.fn.animateProjectile=t;var n=function(){this.hide().css({position:"fixed",left:-parseInt(this.css("width")),top:e(window).height()/2-parseInt(this.css("height"))/2});return this};e.fn.bouncyBoxRegister=n;var r=function(t){this.animateProjectile({angle:150,power:e(window).width()*.1,scale:1,duration:t||800},function(){this.bouncyBoxRegister()});return this};e.fn.bouncyBoxDismiss=r;var i=function(t,n){function s(r){r.animateProjectile({angle:75,power:i,scale:1,duration:typeof t!="function"?t:800},function(){if(this.offset().left<e(window).width()/2-parseInt(this.css("width"))/2){i=i*.8;s(r)}else{if(typeof t=="function")t.apply(r);else if(n!=null&&typeof n=="function"){n.apply(r)}}})}var r=this;this.show();var i=13.5*e(window).width()*.005;if(this.offset().left<e(window).width()/2-parseInt(this.css("width"))/2){s(r)}return this};e.fn.bouncyBox=i})(jQuery)<commit_msg>BouncyBox.js minified<commit_after>/**
 * Bouncy Box jQuery Plug-in
 * Current version: 1.1
 * http://iwisdomsky.tk/bouncy-box
 * This software is licensed under the MIT License.
 *
 * Projectile Motion Animation jQuery Plug-in
 * This software is licensed under the MIT License.
 * http://iwisdomsky.tk/!jquery-projectile-animation-plugin/
 *
 * Copyright 2014 <NAME>
 * All rights reserved.
 * http://iwisdomsky.tk | http://wisdomsky.tk | http://facebook.com/WisdomSky
 */

(function(e){var t=function(t,n){function f(){this.height=0;this.width=0;this.speed=s;this.angle=i;this.time=0;this.results=function(){var t=Math.sin,n=e(window),r=-9.81,i=this.angle*Math.PI/180,s=this.speed;return{x:s*Math.cos(i)*this.time*(this.width/n.width()),y:(.5*r*this.time*this.time+s*t(i)*this.time)*(this.height/n.height()),totalTime:-2*s*t(i)/r}}}var r,i,s,o,u,a;if(typeof n=="function"){r=n}else{r=function(){}}u=t.easing||"linear";o=t.duration||1e3;s=t.power||50;i=t.angle||60;a=t.scale||1;astep=typeof t.step=="function"?t.step:function(){};var l=this;var c=new f;var h=l.offset().top;var p=l.offset().left;c.height=500;c.width=1e3;c.speed=s;c.angle=i;var d={v:0};var v=c.results();e.Animation(d,{v:v.totalTime},{duration:o,easing:u,complete:function(){r.apply(l)}}).progress(function(e){c.time=e.tweens[0].now;var t=c.results();l.offset({top:h-t.y*a,left:p+t.x*a})});return this};var n=function(){this.hide().css({opacity:1,position:"fixed",left:-parseInt(this.css("width")),top:e(window).height()/2-parseInt(this.css("height"))/2});return this};var r=function(t){this.animateProjectile({angle:150,power:e(window).width()*.1,scale:1,duration:t||800},function(){this.bouncyBoxRegister()});return this};var i=function(t,n){function s(r){r.animateProjectile({angle:75,power:i,scale:1,duration:typeof t!="function"?t:800},function(){if(this.offset().left<e(window).width()/2-parseInt(this.css("width"))/2){i=i*.8;s(r)}else{if(typeof t=="function")t.apply(r);else if(n!=null&&typeof n=="function"){n.apply(r)}}})}var r=this;this.show();var i=13.5*e(window).width()*.005;if(this.offset().left<e(window).width()/2-parseInt(this.css("width"))/2){s(r)}return this};e.fn.animateProjectile=t;e.fn.bouncyBoxRegister=n;e.fn.bouncyBox=i;e.fn.bouncyBoxDismiss=r})(jQuery)
{'fraction_non_alphanumeric': 0.2466289691170074, 'fraction_numerical': 0.0254458460200087, 'mean_word_length': 8.54149377593361, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4463869', 'n_tokens_mistral': 1913, 'n_tokens_neox': 1837, 'n_words': 145}