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