function l(n){"use strict";console.log(n)}var mainContent=$("#main-content"),scrollTop,Menu={$menuHolder:$("#menu-holder"),menuTop:0,setup:function(){Menu.menuTop=Menu.$menuHolder.offset().top},getHeight:function(){var n=this,e=n.$menuHolder.height();return e},fix:function(){var n=this;n.$menuHolder.addClass("u-fixed"),mainContent.css("padding-top",n.getHeight()+"px")},unFix:function(){var n=this;n.$menuHolder.removeClass("u-fixed"),mainContent.css("padding-top","0px")},fixLogic:function(n){var e=this;e.$menuHolder.hasClass("u-fixed")&&n<=e.menuTop?e.unFix():n>=e.menuTop&&e.fix()}};jQuery(document).ready(function(){"use strict";Menu.setup(),$(window).on("scroll",function(n){scrollTop=$(window).scrollTop(),Menu.fixLogic(scrollTop)}),$(".js-scroll-to-trigger").on("click",function(n){n.preventDefault();var e=$(this).data("target");$("#"+e).ScrollTo()})});
//# sourceMappingURL=/main.min.js.map