!function(a){"use strict";function b(){edgtf.scroll=a(window).scrollTop(),edgtf.body.hasClass("edgtf-dark-header")&&(edgtf.defaultHeaderStyle="edgtf-dark-header"),edgtf.body.hasClass("edgtf-light-header")&&(edgtf.defaultHeaderStyle="edgtf-light-header")}function c(){}function d(){edgtf.windowWidth=a(window).width(),edgtf.windowHeight=a(window).height()}function e(){edgtf.scroll=a(window).scrollTop()}switch(window.edgtf={},edgtf.modules={},edgtf.scroll=0,edgtf.window=a(window),edgtf.document=a(document),edgtf.windowWidth=a(window).width(),edgtf.windowHeight=a(window).height(),edgtf.body=a("body"),edgtf.html=a("html, body"),edgtf.htmlEl=a("html"),edgtf.menuDropdownHeightSet=!1,edgtf.defaultHeaderStyle="",edgtf.minVideoWidth=1500,edgtf.videoWidthOriginal=1280,edgtf.videoHeightOriginal=720,edgtf.videoRatio=1280/720,edgtf.edgtfOnDocumentReady=b,edgtf.edgtfOnWindowLoad=c,edgtf.edgtfOnWindowResize=d,edgtf.edgtfOnWindowScroll=e,a(document).ready(b),a(window).load(c),a(window).resize(d),a(window).scroll(e),!0){case edgtf.body.hasClass("edgtf-grid-1300"):edgtf.boxedLayoutWidth=1350;break;case edgtf.body.hasClass("edgtf-grid-1200"):edgtf.boxedLayoutWidth=1250;break;case edgtf.body.hasClass("edgtf-grid-1000"):edgtf.boxedLayoutWidth=1050;break;case edgtf.body.hasClass("edgtf-grid-800"):edgtf.boxedLayoutWidth=850;break;default:edgtf.boxedLayoutWidth=1150}}(jQuery),function(a){"use strict";function b(){f(),g(),h(),j(),k(),m(),E().init(),o(),p(),q(),i(),w(),x(),A(),z(),B()}function c(){l(),n(),C()}function d(){p(),x()}function e(){}function f(){Modernizr.touch&&!edgtf.body.hasClass("edgtf-no-animations-on-touch")&&edgtf.body.addClass("edgtf-no-animations-on-touch")}function g(){navigator.appVersion.toLowerCase().indexOf("mac")>-1&&edgtf.body.hasClass("edgtf-smooth-scroll")&&edgtf.body.removeClass("edgtf-smooth-scroll")}function h(){fluidvids.init({selector:["iframe"],players:["www.youtube.com","player.vimeo.com"]})}function i(){var b=a(".edgtf-slick-slider:not(.slick-initialized)");b.length&&b.each(function(){var b,c=a(this);c.on("init",function(d){b=c.find(".slick-slide"),b.each(function(){var b=a(this),c=0,d=0,e=!1;b.on("mousedown",function(){c=0,d=1,e=!1}),b.on("mousemove",function(){1==d&&(e&&(c=1),e=!0)}),b.on("mouseleave",function(){c=0}),b.on("mouseup",function(a){1===c?b.find('a[data-rel^="prettyPhoto"]').unbind("click"):edgtf.modules.common.edgtfPrettyPhoto(),c=0,d=0})})}),c.slick({infinite:!0,autoplay:!0,slidesToShow:1,arrows:!0,dots:!1,adaptiveHeight:!0,easing:"easeInOutQuint",speed:700,prevArrow:'',nextArrow:''})})}function j(){a(".edgtf-preload-background").each(function(){var b=a(this);if(""!==b.css("background-image")&&"none"!=b.css("background-image")){var c=b.attr("style");if(c=c.match(/url\(["']?([^'")]+)['"]?\)/),c=c?c[1]:""){var d=new Image;d.src=c,a(d).load(function(){b.removeClass("edgtf-preload-background")})}}else a(window).load(function(){b.removeClass("edgtf-preload-background")})})}function k(){a("a[data-rel^='prettyPhoto']").prettyPhoto({hook:"data-rel",animation_speed:"normal",slideshow:!1,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,horizontal_padding:0,default_width:960,default_height:540,counter_separator_label:"/",theme:"pp_default",hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,overlay_gallery:!1,keyboard_shortcuts:!0,deeplinking:!1,custom_markup:"",social_tools:!1,markup:'
'})}function l(){if(a("[data-edgtf_header_style]").length>0&&edgtf.body.hasClass("edgtf-header-style-on-scroll")){var b=a(".wpb_row.edgtf-section"),c=function(a){void 0!==a.data("edgtf_header_style")?edgtf.body.removeClass("edgtf-dark-header edgtf-light-header").addClass(a.data("edgtf_header_style")):edgtf.body.removeClass("edgtf-dark-header edgtf-light-header").addClass(""+edgtf.defaultHeaderStyle)};b.waypoint(function(b){"down"===b&&c(a(this.element))},{offset:0}),b.waypoint(function(b){"up"===b&&c(a(this.element))},{offset:function(){return-a(this.element).outerHeight()}})}}function m(){var b,c,d=a(".edgtf-no-animations-on-touch"),e=!0,f=a(".edgtf-grow-in, .edgtf-fade-in-down, .edgtf-element-from-fade, .edgtf-element-from-left, .edgtf-element-from-right, .edgtf-element-from-top, .edgtf-element-from-bottom, .edgtf-flip-in, .edgtf-x-rotate, .edgtf-z-rotate, .edgtf-y-translate, .edgtf-fade-in, .edgtf-fade-in-left-x-rotate");d.length&&(e=!1),f.length>0&&e&&f.each(function(){a(this).appear(function(){void 0!==(c=a(this).data("animation"))&&""!==c&&(b=c,a(this).addClass(b+"-on"))},{accX:0,accY:edgtfGlobalVars.vars.edgtfElementAppearAmount})})}function n(){a(".edgtf-parallax-section-holder").length&&a(".edgtf-parallax-section-holder").each(function(){var b=a(this);b.hasClass("edgtf-full-screen-height-parallax")&&b.find(".edgtf-parallax-content-outer").css("padding",0);var c=.4*b.data("edgtf-parallax-speed");b.parallax("50%",c)})}function o(){a(".edgtf-section .edgtf-video-wrap .edgtf-video").mediaelementplayer({enableKeyboard:!1,iPadUseNativeControls:!1,pauseOtherPlayers:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1}),navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/)&&(p(),a(".edgtf-section .edgtf-mobile-video-image").show(),a(".edgtf-section .edgtf-video-wrap").remove())}function p(){a(".edgtf-section .edgtf-video-wrap").each(function(){var b=a(this),c=b.closest(".edgtf-section").outerWidth();b.width(c);var d=b.closest(".edgtf-section").outerHeight();edgtf.minVideoWidth=edgtf.videoRatio*(d+20),b.height(d);var e=c/edgtf.videoWidthOriginal,f=d/edgtf.videoHeightOriginal,g=f;e>f&&(g=e),g*edgtf.videoWidthOriginal0?c+d/2:1,y(b<1e3?"off":"on")})}function A(){var b=a("#edgtf-back-to-top"),c=a("footer"),d=a(".edgtf-content-bottom"),e=0;d.length&&(e=d.outerHeight()),b.on("click",function(a){a.preventDefault(),edgtf.html.animate({scrollTop:0},edgtf.window.scrollTop()/3,"easeInOutQuint")}),c.length&&a(window).scroll(function(){c.offset().top-a(window).scrollTop()-edgtf.windowHeight-e-b.height()/2<0?b.addClass("edgtf-light"):b.removeClass("edgtf-light")})}function B(){var b=a("body > .edgtf-smooth-transition-loader.edgtf-mimic-ajax");if(b.length){var c=a(".edgtf-slider .rev_slider"),d=function(){b.fadeOut(300,"easeOutExpo"),a(window).bind("pageshow",function(a){a.originalEvent.persisted&&b.fadeOut(300,"easeOutExpo")})};c.length?c.bind("revolution.slide.onchange",function(a,b){d()}):a(window).load(function(){d()}),a("a").click(function(c){var d=a(this);!(1==c.which&&d.attr("href").indexOf(window.location.host)>=0&&void 0===d.data("rel")&&void 0===d.attr("rel"))||d.hasClass("edgtf-like")||d.parent().hasClass("edgtf-blog-load-more-button")||void 0!==d.attr("target")&&"_self"!==d.attr("target")||d.attr("href").split("#")[0]===window.location.href.split("#")[0]||(c.preventDefault(),b.addClass("edgtf-hide-spinner"),b.fadeIn(500,function(){window.location=d.attr("href")}))})}}function C(){var b=a(".menu-custom-footer-container > ul");b.length&&b.each(function(){var b,c=a(this),d=c.parent(),e=c.find("> li > a"),f=parseInt(c.css("border-bottom-width")),g=function(){var g=e.first().outerHeight();e.each(function(){var b=a(this);b.height()>g&&(g=b.outerHeight())}),c.outerHeight()>g+f&&(d.find(".edgtf-footer-menu-line").length&&d.find(".edgtf-footer-menu-line").remove(),e.addClass("edgtf-collapsed"),b=!1),d.find(".edgtf-footer-menu-line").length||c.outerHeight()!=g+f||(d.append(''),d.find(".edgtf-footer-menu-line").css({left:"0",width:e.first().parent().width()}),e.removeClass("edgtf-collapsed"),b=!0)};g(),a(window).resize(function(){g()}),d.mouseenter(function(){b&&e.each(function(){var b=a(this),c=b.parent().position().left,e=b.parent().width();b.mousemove(function(){d.find(".edgtf-footer-menu-line").css({transform:"scaleY(1)",left:c,width:e})})})}),d.mouseleave(function(){d.find(".edgtf-footer-menu-line").css("transform","scaleY(0)")})})}var D={};edgtf.modules.common=D,D.edgtfIsTouchDevice=f,D.edgtfDisableSmoothScrollForMac=g,D.edgtfFluidVideo=h,D.edgtfPreloadBackgrounds=j,D.edgtfPrettyPhoto=k,D.edgtfCheckHeaderStyleOnScroll=l,D.edgtfInitParallax=n,D.edgtfEnableScroll=s,D.edgtfDisableScroll=r,D.edgtfWheel=t,D.edgtfKeydown=u,D.edgtfPreventDefaultValue=v,D.edgtfSlickSlider=i,D.edgtfInitSelfHostedVideoPlayer=w,D.edgtfSelfHostedVideoSize=x,D.edgtfInitBackToTop=A,D.edgtfBackButtonShowHide=z,D.edgtfSmoothTransition=B,D.edgtfFooterMenuLine=C,D.edgtfOnDocumentReady=b,D.edgtfOnWindowLoad=c,D.edgtfOnWindowResize=d,D.edgtfOnWindowScroll=e,a(document).ready(b),a(window).load(c),a(window).resize(d),a(window).scroll(e);var E=edgtf.modules.common.edgtfInitAnchor=function(){var b=function(b){a(".edgtf-main-menu .edgtf-active-item, .edgtf-mobile-nav .edgtf-active-item, .edgtf-vertical-menu .edgtf-active-item, .edgtf-fullscreen-menu .edgtf-active-item").removeClass("edgtf-active-item"),b.parent().addClass("edgtf-active-item"),a(".edgtf-main-menu a, .edgtf-mobile-nav a, .edgtf-vertical-menu a, .edgtf-fullscreen-menu a").removeClass("current"),b.addClass("current")},c=function(){a("[data-edgtf-anchor]").waypoint(function(c){"down"===c&&b(a("a[href='"+window.location.href.split("#")[0]+"#"+a(this.element).data("edgtf-anchor")+"']"))},{offset:"50%"}),a("[data-edgtf-anchor]").waypoint(function(c){"up"===c&&b(a("a[href='"+window.location.href.split("#")[0]+"#"+a(this.element).data("edgtf-anchor")+"']"))},{offset:function(){return-(a(this.element).outerHeight()-150)}})},d=function(){var b=window.location.hash.split("#")[1];if(""!==b&&a('[data-edgtf-anchor="'+b+'"]').length>0){var c=window.location.href.split("#")[0]+"#"+b;if(a("a[href='"+c+"']").length)a("a[href='"+c+"']").trigger("click");else{a("").attr({href:c,class:"edgtf-anchor"}).appendTo("body").trigger("click")}}},e=function(a){return"edgtf-sticky-header-on-scroll-down-up"==edgtf.modules.header.behaviour&&(a>edgtf.modules.header.stickyAppearAmount?edgtf.modules.header.isStickyVisible=!0:edgtf.modules.header.isStickyVisible=!1),"edgtf-sticky-header-on-scroll-up"==edgtf.modules.header.behaviour&&a>edgtf.scroll&&(edgtf.modules.header.isStickyVisible=!1),edgtf.modules.header.isStickyVisible?edgtfGlobalVars.vars.edgtfStickyHeaderTransparencyHeight:edgtfPerPageVars.vars.edgtfHeaderTransparencyHeight},f=function(){edgtf.document.on("click",".edgtf-main-menu a, .edgtf-vertical-menu a, .edgtf-fullscreen-menu a, .edgtf-btn, .edgtf-anchor, .edgtf-mobile-nav a",function(){var c,d=a(this),f=d.prop("hash").split("#")[1];if(""!==f&&a('[data-edgtf-anchor="'+f+'"]').length>0){var g=a('[data-edgtf-anchor="'+f+'"]').offset().top;return c=a('[data-edgtf-anchor="'+f+'"]').offset().top-e(g),b(d),edgtf.html.stop().animate({scrollTop:Math.round(c)},1e3,function(){history.pushState&&history.pushState(null,null,"#"+f)}),!1}})};return{init:function(){a("[data-edgtf-anchor]").length&&(f(),c(),a(window).load(function(){d()}))}}}}(jQuery),function(a){"use strict";function b(){f(),g(),h(),i(),j(),k(),l(),m(),o(),p(),r().init(),n()}function c(){l(),m()}function d(){m()}function e(){}function f(){var b,c=a(".edgtf-page-header"),d=a(".edgtf-sticky-header"),e=a(".edgtf-fixed-wrapper"),f=a(".edgtf-page-header").find(".edgtf-fixed-wrapper").length?a(".edgtf-page-header").find(".edgtf-fixed-wrapper").offset().top:null;switch(!0){case edgtf.body.hasClass("edgtf-sticky-header-on-scroll-up"):edgtf.modules.header.behaviour="edgtf-sticky-header-on-scroll-up";var g=a(document).scrollTop();b=edgtfGlobalVars.vars.edgtfTopBarHeight+edgtfGlobalVars.vars.edgtfLogoAreaHeight+edgtfGlobalVars.vars.edgtfMenuAreaHeight+edgtfGlobalVars.vars.edgtfStickyHeaderHeight;var h=function(){var c=a(document).scrollTop();c>g&&c>b||c'),f=!0):edgtf.body.hasClass("edgtf-side-menu-slide-with-content")?(b="edgtf-side-menu-open",g=!0):edgtf.body.hasClass("edgtf-side-area-uncovered-from-content")&&(b="edgtf-right-side-menu-opened",h=!0),a("a.edgtf-side-menu-button-opener, a.edgtf-close-side-menu").click(function(i){if(i.preventDefault(),e.hasClass("opened")){if(e.removeClass("opened"),edgtf.body.removeClass(b),h)var j=setTimeout(function(){d.css({visibility:"hidden"}),clearTimeout(j)},400)}else{e.addClass("opened"),edgtf.body.addClass(b),f&&a(".edgtf-wrapper .edgtf-cover").click(function(){edgtf.body.removeClass("edgtf-right-side-menu-opened"),e.removeClass("opened")}),h&&d.css({visibility:"visible"});var k=a(window).scrollTop();a(window).scroll(function(){if(Math.abs(edgtf.scroll-k)>400&&(edgtf.body.removeClass(b),e.removeClass("opened"),h))var a=setTimeout(function(){d.css({visibility:"hidden"}),clearTimeout(a)},400)})}g&&(i.stopPropagation(),c.click(function(){i.preventDefault(),e.removeClass("opened"),edgtf.body.removeClass("edgtf-side-menu-open")}))})}function h(){var b=a(".edgtf-side-menu");b.length&&b.niceScroll({scrollspeed:60,mousescrollstep:40,cursorwidth:0,cursorborder:0,cursorborderradius:0,cursorcolor:"transparent",autohidemode:!1,horizrailenabled:!1})}function i(){if(a("a.edgtf-fullscreen-menu-opener").length){var b,c=a("a.edgtf-fullscreen-menu-opener"),d=a(".edgtf-fullscreen-menu-holder-outer"),e=!1,f=!1,g=a(".edgtf-fullscreen-above-menu-widget-holder"),h=a(".edgtf-fullscreen-below-menu-widget-holder"),i=a(".edgtf-fullscreen-menu-holder-outer nav > ul > li > a"),j=a(".edgtf-fullscreen-menu > ul li.edgtf-has-sub > a"),k=a(".edgtf-fullscreen-menu ul li:not(.edgtf-has-sub) a");d.height(edgtf.windowHeight).niceScroll({scrollspeed:30,mousescrollstep:20,cursorwidth:0,cursorborder:0,cursorborderradius:0,cursorcolor:"transparent",autohidemode:!1,horizrailenabled:!1}),a(window).resize(function(){d.height(edgtf.windowHeight)}),edgtf.body.hasClass("edgtf-fade-push-text-right")?(b="edgtf-push-nav-right",e=!0):edgtf.body.hasClass("edgtf-fade-push-text-top")&&(b="edgtf-push-text-top",f=!0),(e||f)&&(g.length&&g.children().css({"-webkit-animation-delay":"0ms","-moz-animation-delay":"0ms","animation-delay":"0ms"}),i.each(function(b){a(this).css({"-webkit-animation-delay":70*(b+1)+"ms","-moz-animation-delay":70*(b+1)+"ms","animation-delay":70*(b+1)+"ms"})}),h.length&&h.children().css({"-webkit-animation-delay":70*(i.length+1)+"ms","-moz-animation-delay":70*(i.length+1)+"ms","animation-delay":70*(i.length+1)+"ms"})),c.on("click",function(d){d.preventDefault(),c.hasClass("opened")?(c.removeClass("opened"),edgtf.body.removeClass("edgtf-fullscreen-menu-opened"),edgtf.body.removeClass("edgtf-fullscreen-fade-in").addClass("edgtf-fullscreen-fade-out"),edgtf.body.addClass(b),edgtf.body.hasClass("page-template-full_screen-php")||edgtf.modules.common.edgtfEnableScroll(),a("nav.edgtf-fullscreen-menu ul.sub_menu").slideUp(200,function(){a("nav.popup_menu").getNiceScroll().resize()})):(c.addClass("opened"),edgtf.body.addClass("edgtf-fullscreen-menu-opened"),edgtf.body.removeClass("edgtf-fullscreen-fade-out").addClass("edgtf-fullscreen-fade-in"),edgtf.body.removeClass(b),edgtf.body.hasClass("page-template-full_screen-php")||edgtf.modules.common.edgtfDisableScroll(),a(document).keyup(function(d){27==d.keyCode&&(c.removeClass("opened"),edgtf.body.removeClass("edgtf-fullscreen-menu-opened"),edgtf.body.removeClass("edgtf-fullscreen-fade-in").addClass("edgtf-fullscreen-fade-out"),edgtf.body.addClass(b),edgtf.body.hasClass("page-template-full_screen-php")||edgtf.modules.common.edgtfEnableScroll(),a("nav.edgtf-fullscreen-menu ul.sub_menu").slideUp(200,function(){a("nav.popup_menu").getNiceScroll().resize()}))}))}),j.on("tap click",function(b){if(b.preventDefault(),a(this).parent().hasClass("edgtf-has-sub")){var c=a(this).parent().find("> ul.sub_menu");c.is(":visible")?(c.slideUp(200,function(){d.getNiceScroll().resize()}),a(this).parent().removeClass("open_sub")):(a(this).parent().siblings().hasClass("open_sub")&&a(this).parent().siblings().each(function(){var b=a(this);if(b.hasClass("open_sub")){b.find("> ul.sub_menu").slideUp(200,function(){d.getNiceScroll().resize()}),b.removeClass("open_sub")}if(b.find(".open_sub")){b.find(".open_sub").find("> ul.sub_menu").slideUp(200,function(){d.getNiceScroll().resize()}),b.find(".open_sub").removeClass("open_sub")}}),a(this).parent().addClass("open_sub"),c.slideDown(200,function(){d.getNiceScroll().resize()}))}return!1}),k.click(function(d){if("http://#"===a(this).attr("href")||"#"===a(this).attr("href"))return!1;1==d.which&&(c.removeClass("opened"),edgtf.body.removeClass("edgtf-fullscreen-menu-opened"),edgtf.body.removeClass("edgtf-fullscreen-fade-in").addClass("edgtf-fullscreen-fade-out"),edgtf.body.addClass(b),a("nav.edgtf-fullscreen-menu ul.sub_menu").slideUp(200,function(){a("nav.popup_menu").getNiceScroll().resize()}),edgtf.modules.common.edgtfEnableScroll())})}}function j(){var b=a(".edgtf-mobile-header .edgtf-mobile-menu-opener"),c=a(".edgtf-mobile-header .edgtf-mobile-nav"),d=a('.edgtf-mobile-nav .mobile_arrow, .edgtf-mobile-nav h4, .edgtf-mobile-nav a[href*="#"]');b.length&&c.length&&b.on("tap click",function(a){a.stopPropagation(),a.preventDefault(),c.is(":visible")?c.slideUp(200):c.slideDown(200)}),d.length&&d.each(function(){a(this).on("tap click",function(b){var c=a(this).nextAll("ul").first();if(c.length){b.preventDefault(),b.stopPropagation();var d=a(this).parent("li");c.is(":visible")?(c.slideUp(200),d.removeClass("edgtf-opened")):(c.slideDown(200),d.addClass("edgtf-opened"))}})}),a(".edgtf-mobile-nav a, .edgtf-mobile-logo-wrapper a").on("click tap",function(b){"http://#"!==a(this).attr("href")&&"#"!==a(this).attr("href")&&c.slideUp(200)})}function k(){if(edgtf.body.hasClass("edgtf-sticky-up-mobile-header")){var b,c=a(".edgtf-top-bar"),d=a(".edgtf-mobile-header"),e=a("#wpadminbar"),f=d.length?d.height():0,g=c.is(":visible")?c.height():0,h=e.length?e.height():0,i=a(document).scrollTop();b=g+f+h,a(window).scroll(function(){var c=a(document).scrollTop();c>b?(d.addClass("edgtf-animate-mobile-header"),d.css("margin-bottom",f)):(d.removeClass("edgtf-animate-mobile-header"),d.css("margin-bottom",0)),c>i&&c>b||c ul > li.edgtf-menu-narrow").each(function(b){var c=edgtf.windowWidth-16,d=a(this).offset().left,e=a(this).find(".edgtf-menu-second .edgtf-menu-inner ul").width(),f=0;f=edgtf.body.hasClass("boxed")?edgtf.boxedLayoutWidth-(d-(c-edgtf.boxedLayoutWidth)/2):c-d;var g;a(this).find("li.edgtf-sub").length>0&&(g=f-e),(f ul > li");b.each(function(c){if(a(b[c]).find(".edgtf-menu-second").length>0){var d=a(b[c]).find(".edgtf-menu-second");if(a(b[c]).hasClass("edgtf-menu-wide")){var e=a(this).find(".edgtf-menu-inner > ul"),f=parseInt(e.css("padding-left").slice(0,-2))+parseInt(e.css("padding-right").slice(0,-2)),g=e.outerWidth();a(this).hasClass("edgtf-menu-left-position")||a(this).hasClass("edgtf-menu-right-position")||d.css("left",0);var h=0;if(a(this).find(".edgtf-menu-second > .edgtf-menu-inner > ul > li").each(function(){var b=a(this).height();b>h&&(h=b)}),a(this).find(".edgtf-menu-second > .edgtf-menu-inner > ul > li").css("height",""),a(this).find(".edgtf-menu-second > .edgtf-menu-inner > ul > li").height(h),a(this).hasClass("edgtf-wide-background")){if(!a(this).hasClass("edgtf-menu-left-position")&&!a(this).hasClass("edgtf-menu-right-position")){var i=a(this).offset().left;d.css("left",-i),d.css("width",edgtf.windowWidth)}}else if(!a(this).hasClass("edgtf-menu-left-position")&&!a(this).hasClass("edgtf-menu-right-position")){var i=(edgtf.windowWidth-2*(edgtf.windowWidth-e.offset().left))/2+(g+f)/2;d.css("left",-i)}if(a("body").is(".edgtf-menu-left.edgtf-header-standard")){var i=a(this).offset().left;d.css("left",-i),d.css("width",edgtf.windowWidth)}}if(edgtf.menuDropdownHeightSet||(a(b[c]).data("original_height",d.height()+"px"),d.height(0)),navigator.userAgent.match(/(iPod|iPhone|iPad)/))a(b[c]).on("touchstart mouseenter",function(){d.css({height:a(b[c]).data("original_height"),overflow:"visible",visibility:"visible",opacity:"1"})}).on("mouseleave",function(){d.css({height:"0px",overflow:"hidden",visibility:"hidden",opacity:"0"})});else if(edgtf.body.hasClass("edgtf-dropdown-animate-height"))a(b[c]).mouseenter(function(){d.css({visibility:"visible",height:"0px",opacity:"0"}),d.stop().animate({height:a(b[c]).data("original_height"),opacity:1},200,function(){d.css("overflow","visible")})}).mouseleave(function(){d.stop().animate({height:"0px"},0,function(){d.css({overflow:"hidden",visibility:"hidden"})})});else{var j={interval:0,over:function(){setTimeout(function(){d.addClass("edgtf-drop-down-start"),d.stop().css({height:a(b[c]).data("original_height")})},150)},timeout:150,out:function(){d.stop().css({height:"0px"}),d.removeClass("edgtf-drop-down-start")}};a(b[c]).hoverIntent(j)}}}),a(".edgtf-drop-down ul li.edgtf-menu-wide ul li a").on("click",function(b){if(1==b.which){var c=a(this);setTimeout(function(){c.mouseleave()},500)}}),edgtf.menuDropdownHeightSet=!0}function n(){var b=a(".edgtf-menu-narrow > .edgtf-menu-second > .edgtf-menu-inner ul li,.edgtf-menu-wide > .edgtf-menu-second > .edgtf-menu-inner > ul ul li");if(b.length){var c=a(".edgtf-drop-down"),d=0,e=!1,f=!1;c.mousemove(function(a){a.pageY