!function(i){"function"==typeof define&&define.amd?define("backToTop",i):i()}(function(){"use strict";jQuery(function(n){var o,i,t=n("a.back-to-top");t.length&&(o=function(){t.css("opacity","0"),setTimeout(function(){t.css("visibility","hidden")},200)},t.click(function(i){i.preventDefault(),o(),n("html, body").animate({scrollTop:0},1e3)}),i=function(){800<=n(window).scrollTop()?(t.css("visibility","visible"),t.css("opacity","1")):o()},n(window).scroll(MyListing.Helpers.debounce(i,200)),i())})});
