!function(a){woodmartThemeModule.stickyFooter=function(){var e,o,t,r,i;!woodmartThemeModule.$body.hasClass("sticky-footer-on")||woodmartThemeModule.$window.width()<=1024||(e=a(".footer-container"),o=a(".main-page-wrapper"),i=a(".wd-prefooter"),t=woodmartThemeModule.$window,0<i.length&&(o=i),t.on("resize",r=function(){o.css({marginBottom:e.outerHeight()})}),e.imagesLoaded(function(){r()}),(i=function(){var o;a("html").hasClass("browser-Safari")&&(o=t.scrollTop(),woodmartThemeModule.$document.outerHeight()-e.outerHeight()<o+e.outerHeight()+t.outerHeight()?e.addClass("visible-footer"):e.removeClass("visible-footer"))})(),t.on("scroll",i))},a(document).ready(function(){woodmartThemeModule.stickyFooter()})}(jQuery);