").attr("id","infiniteslide"+i+"_style").html(s).appendTo("head");if(t=="right"||t=="down"){var c=" reverse"}else{var c=""}n(e).css({animation:"infiniteslide"+i+" "+l(a,r)+"s linear 0s infinite"+c})};var u=function(e){n(e).on("mouseenter",function(){n(this).css({animationPlayState:"paused"})}).on("mouseleave",function(){n(this).css({animationPlayState:"running"})})};var v=function(n,e){var i=d(n,e);var t=f(i,e);return t};return this.each(function(e,i){var o=n(this);var s=Date.now()+Math.floor(1e4*Math.random()).toString(16);if(t.pauseonhover==true){u(o)}var l=function(){r(o,t.direction);a(o,t.clone);c(o,s,t.direction,t.speed);if(t.responsive){n(window).on("resize",function(){var e=v(o,t.direction);var i=o.attr("data-style");var r=n("#"+i+"_style").html();var a=r.replace(/to {transform:translate3d\((.*?)\)/,"to {transform:translate3d("+e+")");n("#"+i+"_style").html(a)})}};if(window.loaded){l()}else{n(window).on("load",l)}})}})})(jQuery);