!function(a){jQuery.fn.UItoTop=function(a){var b={text:"",min:200,inDelay:600,outDelay:400,containerID:"toTop",containerHoverID:"toTopHover",scrollSpeed:1200,easingType:"linear",scrollDownOnly:0,classes:""},c=jQuery.extend(b,a),d="#"+c.containerID,e="#"+c.containerHoverID,f=0;jQuery("body").append('<div class="to-top-container '+c.classes+'"><a href="#" id="'+c.containerID+'"><span class="screen-reader-text">'+toTopscreenReaderText.label+"</span>"+c.text+"</a></div>"),jQuery(d).hide().on("click.UItoTop",function(){return jQuery("html, body").animate({scrollTop:0},c.scrollSpeed,c.easingType),jQuery("#"+c.containerHoverID,this).stop().animate({opacity:0},c.inDelay,c.easingType),!1}).prepend('<span id="'+c.containerHoverID+'"></span>').hover(function(){jQuery(e,this).stop().animate({opacity:1},600,"linear")},function(){jQuery(e,this).stop().animate({opacity:0},700,"linear")}),jQuery(window).scroll(function(){var a=jQuery(this).scrollTop();void 0===document.body.style.maxHeight&&jQuery(d).css({position:"absolute",top:a+jQuery(window).height()-50}),a>c.min&&(a>=f||1!==parseInt(c.scrollDownOnly))?jQuery(d).fadeIn(c.inDelay):jQuery(d).fadeOut(c.Outdelay),f=a})}}(jQuery);