!function(a){"use strict";a.fn.fusion_scroll_to_anchor_target=function(){var b,c,d,e,f,g,h,i=a(this).attr("href"),j=i.substr(i.indexOf("#")).slice(1),k=a("#"+j);if(k.length&&""!==j)return!k.parents(".hundred-percent-height-scrolling").length&&!k.find(".hundred-percent-height-scrolling").length||0==fusionScrollToAnchorVars.container_hundred_percent_height_mobile&&Modernizr.mq("only screen and (max-width: "+fusionScrollToAnchorVars.content_break_point+"px)")?(b="function"==typeof getAdminbarHeight?getAdminbarHeight():0,c="function"==typeof getStickyHeaderHeight?getStickyHeaderHeight():0,d=a(document).scrollTop(),e=k.offset().top-b-c,f=Math.abs(d-e)/2,g=d>e?d-f:d+f,a("html, body").animate({scrollTop:g},{duration:400,easing:"easeInExpo",complete:function(){b="function"==typeof getAdminbarHeight?getAdminbarHeight():0,c="function"==typeof getStickyHeaderHeight?getStickyHeaderHeight():0,e=k.offset().top-b-c,a("html, body").animate({scrollTop:e},450,"easeOutExpo",function(){location.hash&&"#_"===location.hash.substring(0,2)&&"history"in window&&"replaceState"in history&&history.replaceState("",window.location.href.replace("#_","#"),window.location.href.replace("#_","#"))})}}),(k.hasClass("tab-pane")||k.hasClass("tab-link"))&&"function"==typeof a.fn.fusionSwitchTabOnLinkClick&&setTimeout(function(){k.parents(".fusion-tabs").fusionSwitchTabOnLinkClick()},100),!1):(h=k.hasClass("fusion-scroll-section-element")?k:k.parents(".fusion-scroll-section-element"),!(h.hasClass("active")&&h.offset().top>=a(window).scrollTop()&&h.offset().top