!function(e){"use strict";function t(){edgtf.scroll=e(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 o(){}function d(){edgtf.windowWidth=e(window).width(),edgtf.windowHeight=e(window).height()}function i(){edgtf.scroll=e(window).scrollTop()}switch(window.edgtf={},edgtf.modules={},edgtf.scroll=0,edgtf.window=e(window),edgtf.document=e(document),edgtf.windowWidth=e(window).width(),edgtf.windowHeight=e(window).height(),edgtf.body=e("body"),edgtf.html=e("html, body"),edgtf.htmlEl=e("html"),edgtf.menuDropdownHeightSet=!1,edgtf.defaultHeaderStyle="",edgtf.minVideoWidth=1500,edgtf.videoWidthOriginal=1280,edgtf.videoHeightOriginal=720,edgtf.videoRatio=1280/720,edgtf.passepartoutTop=edgtfPerPageVars.vars.edgtfPassepartout,edgtf.passepartoutBottom=edgtfPerPageVars.vars.edgtfPassepartout,edgtf.passepartout=edgtf.passepartoutTop+edgtf.passepartoutBottom,edgtf.edgtfOnDocumentReady=t,edgtf.edgtfOnWindowLoad=o,edgtf.edgtfOnWindowResize=d,edgtf.edgtfOnWindowScroll=i,e(document).ready(t),e(window).on("load",o),e(window).resize(d),e(window).scroll(i),!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=1350}}(jQuery),function(a){"use strict";var e={};function t(){n(),s(),r(),f(),g();var e,t=a(".edgtf-no-animations-on-touch"),o=!0,d=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");t.length&&(o=!1),0<d.length&&o&&d.each(function(){a(this).appear(function(){void 0!==(e=a(this).data("animation"))&&""!==e&&(e=e,a(this).addClass(e+"-on"))},{accX:0,accY:edgtfGlobalVars.vars.edgtfElementAppearAmount})}),u().init(),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()),p(),a(".edgtf-footer-uncover").length&&a(".edgtf-content").css("margin-bottom",a(".edgtf-footer-inner").height()),l(),b(),y(),x(),k()}function o(){c(),h(),S()}function d(){p(),y()}function i(){}function n(){Modernizr.touch&&!edgtf.body.hasClass("edgtf-no-animations-on-touch")&&edgtf.body.addClass("edgtf-no-animations-on-touch")}function s(){-1<navigator.appVersion.toLowerCase().indexOf("mac")&&edgtf.body.hasClass("edgtf-smooth-scroll")&&edgtf.body.removeClass("edgtf-smooth-scroll")}function r(){fluidvids.init({selector:["iframe"],players:["www.youtube.com","player.vimeo.com"]})}function l(){var e=a(".edgtf-slick-slider:not(.slick-initialized)");e.length&&e.each(function(){var t=a(this);t.on("init",function(e){t.find(".slick-slide").each(function(){var t=a(this),o=0,d=0,e=!1;t.on("mousedown",function(){o=0,e=!(d=1)}),t.on("mousemove",function(){1==d&&(e&&(o=1),e=!0)}),t.on("mouseleave",function(){o=0}),t.on("mouseup",function(e){1===o?t.find('a[data-rel^="prettyPhoto"]').off("click"):edgtf.modules.common.edgtfPrettyPhoto(),d=o=0})})}),t.slick({infinite:!0,autoplay:!0,slidesToShow:1,arrows:!0,dots:!1,adaptiveHeight:!0,prevArrow:'<span class="edgtf-slick-prev edgtf-prev-icon"><i class="arrow_carrot-left"></i></span>',nextArrow:'<span class="edgtf-slick-next edgtf-next-icon"><i class="arrow_carrot-right"></i></span>'})})}function f(){a(".edgtf-preload-background").each(function(){var e,t,o=a(this);""!==o.css("background-image")&&"none"!=o.css("background-image")?(t=(t=(t=o.attr("style")).match(/url\(["']?([^'")]+)['"]?\)/))?t[1]:"")&&((e=new Image).src=t,a(e).load(function(){o.removeClass("edgtf-preload-background")})):a(window).on("load",function(){o.removeClass("edgtf-preload-background")})})}function g(){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:'<div class="pp_pic_holder">                         <div class="ppt">&nbsp;</div>                         <div class="pp_top">                             <div class="pp_left"></div>                             <div class="pp_middle"></div>                             <div class="pp_right"></div>                         </div>                         <div class="pp_content_container">                             <div class="pp_left">                             <div class="pp_right">                                 <div class="pp_content">                                     <div class="pp_loaderIcon"></div>                                     <div class="pp_fade">                                         <a href="#" class="pp_expand" title="Expand the image">Expand</a>                                         <div class="pp_hoverContainer">                                             <a class="pp_next" href="#"></a>                                             <a class="pp_previous" href="#"></a>                                         </div>                                         <div id="pp_full_res"></div>                                         <div class="pp_details">                                             <div class="pp_nav">                                                 <a href="#" class="pp_arrow_previous">Previous</a>                                                 <p class="currentTextHolder">0/0</p>                                                 <a href="#" class="pp_arrow_next">Next</a>                                             </div>                                             <p class="pp_description"></p>                                             {pp_social}                                             <a class="pp_close" href="#">Close</a>                                         </div>                                     </div>                                 </div>                             </div>                             </div>                         </div>                         <div class="pp_bottom">                             <div class="pp_left"></div>                             <div class="pp_middle"></div>                             <div class="pp_right"></div>                         </div>                     </div>                     <div class="pp_overlay"></div>'})}function c(){var e,t;0<a("[data-edgtf_header_style]").length&&edgtf.body.hasClass("edgtf-header-style-on-scroll")&&(e=a(".wpb_row.edgtf-section"),t=function(e){void 0!==e.data("edgtf_header_style")?edgtf.body.removeClass("edgtf-dark-header edgtf-light-header").addClass(e.data("edgtf_header_style")):edgtf.body.removeClass("edgtf-dark-header edgtf-light-header").addClass(""+edgtf.defaultHeaderStyle)},e.waypoint(function(e){"down"===e&&t(a(this.element))},{offset:0}),e.waypoint(function(e){"up"===e&&t(a(this.element))},{offset:function(){return-a(this.element).outerHeight()}}))}function h(){a(".edgtf-parallax-section-holder").length&&a(".edgtf-parallax-section-holder").each(function(){var e=a(this),t=(e.hasClass("edgtf-full-screen-height-parallax")&&(e.height(edgtf.windowHeight),e.find(".edgtf-parallax-content-outer").css("padding",0)),.4*e.data("edgtf-parallax-speed"));e.parallax("50%",t)})}(edgtf.modules.common=e).edgtfIsTouchDevice=n,e.edgtfDisableSmoothScrollForMac=s,e.edgtfFluidVideo=r,e.edgtfPreloadBackgrounds=f,e.edgtfPrettyPhoto=g,e.edgtfCheckHeaderStyleOnScroll=c,e.edgtfInitParallax=h,e.edgtfEnableScroll=function(){window.removeEventListener&&window.removeEventListener("wheel",m,{passive:!1});window.onmousewheel=document.onmousewheel=document.onkeydown=null,edgtf.body.hasClass("edgtf-smooth-scroll")&&(window.addEventListener("mousewheel",smoothScrollListener,{passive:!1}),window.addEventListener("wheel",smoothScrollListener,{passive:!1}))},e.edgtfDisableScroll=function(){window.addEventListener&&window.addEventListener("wheel",m,{passive:!1});document.onkeydown=v,edgtf.body.hasClass("edgtf-smooth-scroll")&&(window.removeEventListener("mousewheel",smoothScrollListener,{passive:!1}),window.removeEventListener("wheel",smoothScrollListener,{passive:!1}))},e.edgtfWheel=m,e.edgtfKeydown=v,e.edgtfPreventDefaultValue=w,e.edgtfSlickSlider=l,e.edgtfInitSelfHostedVideoPlayer=b,e.edgtfSelfHostedVideoSize=y,e.edgtfInitBackToTop=x,e.edgtfBackButtonShowHide=k,e.edgtfSmoothTransition=S,e.edgtfgetScrollX=function(){return null!==window.pageXOffset?window.pageXOffset:(0!==document.documentElement.scrollLeft?document.documentElement:document.body).scrollLeft},e.edgtfgetScrollY=function(){return null!==window.pageYOffset?window.pageYOffset:(0!==document.documentElement.scrollTop?document.documentElement:document.body).scrollTop},e.edgtfOnDocumentReady=t,e.edgtfOnWindowLoad=o,e.edgtfOnWindowResize=d,e.edgtfOnWindowScroll=i,a(document).ready(t),a(window).on("load",o),a(window).resize(d),a(window).scroll(i);var u=edgtf.modules.common.edgtfInitAnchor=function(){function d(e){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"),e.parent().addClass("edgtf-active-item"),a(".edgtf-main-menu a, .edgtf-mobile-nav a, .edgtf-vertical-menu a, .edgtf-fullscreen-menu a").removeClass("current"),e.addClass("current")}function e(){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 e,t=a(this),o=t.prop("hash").split("#")[1];if(""!==o&&0<a('[data-edgtf-anchor="'+o+'"]').length)return e=a('[data-edgtf-anchor="'+o+'"]').offset().top,e=a('[data-edgtf-anchor="'+o+'"]').offset().top-(e=e,"edgtf-sticky-header-on-scroll-down-up"==edgtf.modules.header.behaviour&&(e>edgtf.modules.header.stickyAppearAmount?edgtf.modules.header.isStickyVisible=!0:edgtf.modules.header.isStickyVisible=!1),"edgtf-sticky-header-on-scroll-up"==edgtf.modules.header.behaviour&&e>edgtf.scroll&&(edgtf.modules.header.isStickyVisible=!1),edgtf.modules.header.isStickyVisible?edgtfGlobalVars.vars.edgtfStickyHeaderTransparencyHeight:edgtfPerPageVars.vars.edgtfHeaderTransparencyHeight),d(t),edgtf.html.stop().animate({scrollTop:Math.round(e)},1e3,function(){history.pushState&&history.pushState(null,null,"#"+o)}),!1})}return{init:function(){a("[data-edgtf-anchor]").length&&(e(),a("[data-edgtf-anchor]").waypoint(function(e){"down"===e&&d(a("a[href='"+window.location.href.split("#")[0]+"#"+a(this.element).data("edgtf-anchor")+"']"))},{offset:"50%"}),a("[data-edgtf-anchor]").waypoint(function(e){"up"===e&&d(a("a[href='"+window.location.href.split("#")[0]+"#"+a(this.element).data("edgtf-anchor")+"']"))},{offset:function(){return-(a(this.element).outerHeight()-150)}}),a(window).on("load",function(){var e;""!==(e=window.location.hash.split("#")[1])&&0<a('[data-edgtf-anchor="'+e+'"]').length&&(e=window.location.href.split("#")[0]+"#"+e,(a("a[href='"+e+"']").length?a("a[href='"+e+"']"):a("<a/>").attr({href:e,class:"edgtf-anchor"}).appendTo("body")).trigger("click"))}))}}};function p(){a(".edgtf-section .edgtf-video-wrap").each(function(){var e=a(this),t=e.closest(".edgtf-section").outerWidth(),o=(e.width(t),e.closest(".edgtf-section").outerHeight()),d=(edgtf.minVideoWidth=edgtf.videoRatio*(o+20),e.height(o),t/edgtf.videoWidthOriginal),i=o/edgtf.videoHeightOriginal,d=i<d?d:i;d*edgtf.videoWidthOriginal<edgtf.minVideoWidth&&(d=edgtf.minVideoWidth/edgtf.videoWidthOriginal),e.find("video, .mejs-overlay, .mejs-poster").width(Math.ceil(d*edgtf.videoWidthOriginal+2)),e.find("video, .mejs-overlay, .mejs-poster").height(Math.ceil(d*edgtf.videoHeightOriginal+2)),e.scrollLeft((e.find("video").width()-t)/2),e.find(".mejs-overlay, .mejs-poster").scrollTop((e.find("video").height()-o)/2),e.scrollTop((e.find("video").height()-o)/2)})}function m(e){w(e)}function v(e){for(var t=[37,38,39,40],o=t.length;o--;)if(e.keyCode===t[o])return void w(e)}function w(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}function b(){a(".edgtf-self-hosted-video").mediaelementplayer({audioWidth:"100%"})}function y(){a(".edgtf-self-hosted-video-holder .edgtf-video-wrap").each(function(){var e=a(this),t=e.closest(".edgtf-self-hosted-video-holder").outerWidth(),o=t/edgtf.videoRatio;navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/)&&(e.parent().width(t),e.parent().height(o)),e.width(t),e.height(o),e.find("video, .mejs-overlay, .mejs-poster").width(t),e.find("video, .mejs-overlay, .mejs-poster").height(o)})}function C(e){var t=a("#edgtf-back-to-top");t.removeClass("off on"),"on"===e?t.addClass("on"):t.addClass("off")}function k(){edgtf.window.scroll(function(){var e=a(this).scrollTop(),t=a(this).height(),e=0<e?e+t/2:1;C(e<1e3?"off":"on")})}function x(){var e=a("#edgtf-back-to-top"),t=a("footer"),o=a(".edgtf-content-bottom"),d=0;o.length&&(d=o.outerHeight()),e.on("click",function(e){e.preventDefault(),edgtf.html.animate({scrollTop:0},edgtf.window.scrollTop()/3,"easeOutSine")}),t.length&&a(window).scroll(function(){t.offset().top-a(window).scrollTop()-edgtf.windowHeight-d+50<0?e.addClass("edgtf-light"):e.removeClass("edgtf-light")})}function S(){var o=a("body > .edgtf-smooth-transition-loader.edgtf-mimic-ajax");o.length&&(o.fadeOut(500),a(window).on("bind","pageshow",function(e){e.originalEvent.persisted&&o.fadeOut(500)}),a("a").on("click",function(e){var t=a(this);!(1==e.which&&0<=t.attr("href").indexOf(window.location.host)&&void 0===t.data("rel")&&void 0===t.attr("rel"))||t.hasClass("edgtf-like")||t.hasClass("edgtf-no-link")||t.parent().parent().hasClass("edgtf-blog-load-more-button")||void 0!==t.attr("target")&&"_self"!==t.attr("target")||t.attr("href").split("#")[0]===window.location.href.split("#")[0]||(e.preventDefault(),o.addClass("edgtf-hide-spinner"),o.fadeIn(500,function(){window.location=t.attr("href")}))}))}}(jQuery),function(f){"use strict";var e={};function t(){var e,t,o=f(".edgtf-page-header"),d=f(".edgtf-sticky-header"),i=f(".edgtf-fixed-wrapper"),a=f(".edgtf-page-header").find(".edgtf-fixed-wrapper").length?f(".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 n=f(document).scrollTop();t=edgtfGlobalVars.vars.edgtfTopBarHeight+edgtfGlobalVars.vars.edgtfLogoAreaHeight+edgtfGlobalVars.vars.edgtfMenuAreaHeight+edgtfGlobalVars.vars.edgtfStickyHeaderHeight,(e=function(){var e=f(document).scrollTop();n<e&&t<e||e<t?(edgtf.modules.header.isStickyVisible=!1,d.removeClass("header-appear").find(".edgtf-main-menu .edgtf-menu-second").removeClass("edgtf-drop-down-start")):(edgtf.modules.header.isStickyVisible=!0,d.addClass("header-appear")),n=f(document).scrollTop()})(),f(window).scroll(function(){e()});break;case edgtf.body.hasClass("edgtf-sticky-header-on-scroll-down-up"):edgtf.modules.header.behaviour="edgtf-sticky-header-on-scroll-down-up",0!==edgtfPerPageVars.vars.edgtfStickyScrollAmount?edgtf.modules.header.stickyAppearAmount=edgtfPerPageVars.vars.edgtfStickyScrollAmount:edgtf.modules.header.stickyAppearAmount=0!==edgtfGlobalVars.vars.edgtfStickyScrollAmount?edgtfGlobalVars.vars.edgtfStickyScrollAmount:edgtfGlobalVars.vars.edgtfTopBarHeight+edgtfGlobalVars.vars.edgtfLogoAreaHeight+edgtfGlobalVars.vars.edgtfMenuAreaHeight,(e=function(){edgtf.scroll<edgtf.modules.header.stickyAppearAmount?(edgtf.modules.header.isStickyVisible=!1,d.removeClass("header-appear").find(".edgtf-main-menu .edgtf-menu-second").removeClass("edgtf-drop-down-start")):(edgtf.modules.header.isStickyVisible=!0,d.addClass("header-appear"))})(),f(window).scroll(function(){e()});break;case edgtf.body.hasClass("edgtf-fixed-on-scroll"):edgtf.modules.header.behaviour="edgtf-fixed-on-scroll";var s=function(){edgtf.scroll<=a?(i.removeClass("fixed"),o.css("margin-bottom",0)):(i.addClass("fixed"),o.css("margin-bottom",i.height()))};s(),f(window).scroll(function(){s()})}r(),l(),g(),h(),c(),u(),m(),p(),v(),w(),b().init()}function o(){m(),c()}function d(){p(),m()}function i(){}function r(){var d,i=f(".edgtf-wrapper"),a=f(".edgtf-side-menu"),n=f("a.edgtf-side-menu-button-opener"),s=!1,r=!1,l=!1;edgtf.body.hasClass("edgtf-side-menu-slide-from-right")?(f(".edgtf-cover").remove(),d="edgtf-right-side-menu-opened",i.prepend('<div class="edgtf-cover"/>'),s=!0):edgtf.body.hasClass("edgtf-side-menu-slide-with-content")?(d="edgtf-side-menu-open",r=!0):edgtf.body.hasClass("edgtf-side-area-uncovered-from-content")&&(d="edgtf-right-side-menu-opened",l=!0),f("a.edgtf-side-menu-button-opener, a.edgtf-close-side-menu").on("click",function(e){var t,o;e.preventDefault(),n.hasClass("opened")?(n.removeClass("opened"),edgtf.body.removeClass(d),l&&(t=setTimeout(function(){a.css({visibility:"hidden"}),clearTimeout(t)},400))):(n.addClass("opened"),edgtf.body.addClass(d),s&&f(".edgtf-wrapper .edgtf-cover").on("click",function(){edgtf.body.removeClass("edgtf-right-side-menu-opened"),n.removeClass("opened")}),l&&a.css({visibility:"visible"}),o=f(window).scrollTop(),f(window).scroll(function(){var e;400<Math.abs(edgtf.scroll-o)&&(edgtf.body.removeClass(d),n.removeClass("opened"),l)&&(e=setTimeout(function(){a.css({visibility:"hidden"}),clearTimeout(e)},400))})),r&&(e.stopPropagation(),i.on("click",function(){e.preventDefault(),n.removeClass("opened"),edgtf.body.removeClass("edgtf-side-menu-open")}))})}function l(){var e=f(".edgtf-side-menu");e.length&&e.niceScroll({scrollspeed:60,mousescrollstep:40,cursorwidth:0,cursorborder:0,cursorborderradius:0,cursorcolor:"transparent",autohidemode:!1,horizrailenabled:!1})}function g(){var t,o,d,e,i,a,n,s,r,l;f("a.edgtf-fullscreen-menu-opener").length&&(t=f("a.edgtf-fullscreen-menu-opener"),o=f(".edgtf-fullscreen-menu-holder-outer"),i=e=!1,a=f(".edgtf-fullscreen-above-menu-widget-holder"),n=f(".edgtf-fullscreen-below-menu-widget-holder"),s=f(".edgtf-fullscreen-menu-holder-outer nav > ul > li > a"),r=f(".edgtf-fullscreen-menu > ul li.edgtf-has-sub > a"),l=f(".edgtf-fullscreen-menu ul li:not(.edgtf-has-sub) a"),o.height(edgtf.windowHeight).niceScroll({scrollspeed:30,mousescrollstep:20,cursorwidth:0,cursorborder:0,cursorborderradius:0,cursorcolor:"transparent",autohidemode:!1,horizrailenabled:!1}),f(window).resize(function(){o.height(edgtf.windowHeight)}),edgtf.body.hasClass("edgtf-fade-push-text-right")?(d="edgtf-push-nav-right",e=!0):edgtf.body.hasClass("edgtf-fade-push-text-top")&&(d="edgtf-push-text-top",i=!0),(e||i)&&(a.length&&a.children().css({"-webkit-animation-delay":"0ms","-moz-animation-delay":"0ms","animation-delay":"0ms"}),s.each(function(e){f(this).css({"-webkit-animation-delay":70*(e+1)+"ms","-moz-animation-delay":70*(e+1)+"ms","animation-delay":70*(e+1)+"ms"})}),n.length)&&n.children().css({"-webkit-animation-delay":70*(s.length+1)+"ms","-moz-animation-delay":70*(s.length+1)+"ms","animation-delay":70*(s.length+1)+"ms"}),t.on("click",function(e){e.preventDefault(),t.hasClass("opened")?(t.removeClass("opened"),edgtf.body.removeClass("edgtf-fullscreen-menu-opened"),edgtf.body.removeClass("edgtf-fullscreen-fade-in").addClass("edgtf-fullscreen-fade-out"),edgtf.body.addClass(d),edgtf.body.hasClass("page-template-full_screen-php")||edgtf.modules.common.edgtfEnableScroll(),f("nav.edgtf-fullscreen-menu ul.sub_menu").slideUp(200,function(){f("nav.popup_menu").getNiceScroll().resize()})):(t.addClass("opened"),edgtf.body.addClass("edgtf-fullscreen-menu-opened"),edgtf.body.removeClass("edgtf-fullscreen-fade-out").addClass("edgtf-fullscreen-fade-in"),edgtf.body.removeClass(d),edgtf.body.hasClass("page-template-full_screen-php")||edgtf.modules.common.edgtfDisableScroll(),f(document).keyup(function(e){27==e.keyCode&&(t.removeClass("opened"),edgtf.body.removeClass("edgtf-fullscreen-menu-opened"),edgtf.body.removeClass("edgtf-fullscreen-fade-in").addClass("edgtf-fullscreen-fade-out"),edgtf.body.addClass(d),edgtf.body.hasClass("page-template-full_screen-php")||edgtf.modules.common.edgtfEnableScroll(),f("nav.edgtf-fullscreen-menu ul.sub_menu").slideUp(200,function(){f("nav.popup_menu").getNiceScroll().resize()}))}))}),r.on("tap click",function(e){return e.preventDefault(),f(this).parent().hasClass("edgtf-has-sub")&&((e=f(this).parent().find("> ul.sub_menu")).is(":visible")?(e.slideUp(200,function(){o.getNiceScroll().resize()}),f(this).parent().removeClass("open_sub")):(f(this).parent().siblings().hasClass("open_sub")&&f(this).parent().siblings().each(function(){var e=f(this);e.hasClass("open_sub")&&(e.find("> ul.sub_menu").slideUp(200,function(){o.getNiceScroll().resize()}),e.removeClass("open_sub")),e.find(".open_sub")&&(e.find(".open_sub").find("> ul.sub_menu").slideUp(200,function(){o.getNiceScroll().resize()}),e.find(".open_sub").removeClass("open_sub"))}),f(this).parent().addClass("open_sub"),e.slideDown(200,function(){o.getNiceScroll().resize()}))),!1}),l.on("click",function(e){if("http://#"===f(this).attr("href")||"#"===f(this).attr("href"))return!1;1==e.which&&(t.removeClass("opened"),edgtf.body.removeClass("edgtf-fullscreen-menu-opened"),edgtf.body.removeClass("edgtf-fullscreen-fade-in").addClass("edgtf-fullscreen-fade-out"),edgtf.body.addClass(d),f("nav.edgtf-fullscreen-menu ul.sub_menu").slideUp(200,function(){f("nav.popup_menu").getNiceScroll().resize()}),edgtf.modules.common.edgtfEnableScroll())}))}function c(){var e,t,o,d,i,a,n,s;edgtf.body.hasClass("edgtf-header-divided")&&(e=f(".edgtf-menu-area"),n=f(".edgtf-sticky-holder"),t=e.width(),o=n.width(),s=f(".edgtf-main-menu > ul > li > a"),d=0,i=e.find(".edgtf-logo-wrapper .edgtf-normal-logo"),a=0,e.children(".edgtf-grid").length&&(t=e.children(".edgtf-grid").outerWidth()),n.children(".edgtf-grid").length&&(o=n.children(".edgtf-grid").outerWidth()),s.length&&(d=parseInt(s.css("padding-left"))),i.length&&(a=i.width()/2),n=Math.round(t/2-d-a),s=Math.round(o/2-d-a),f(".edgtf-menu-area .edgtf-position-left").width(n),f(".edgtf-menu-area .edgtf-position-right").width(n),f(".edgtf-sticky-header .edgtf-position-left").width(s),f(".edgtf-sticky-header .edgtf-position-right").width(s),e.css("opacity",1))}function h(){var e=f(".edgtf-mobile-header .edgtf-mobile-menu-opener"),t=f(".edgtf-mobile-header .edgtf-mobile-nav"),o=f('.edgtf-mobile-nav .mobile_arrow, .edgtf-mobile-nav h4, .edgtf-mobile-nav a[href*="#"]');e.length&&t.length&&e.on("tap click",function(e){e.stopPropagation(),e.preventDefault(),t.is(":visible")?t.slideUp(200):t.slideDown(200)}),o.length&&o.each(function(){f(this).on("tap click",function(e){var t=f(this).nextAll("ul").first();t.length&&(e.preventDefault(),e.stopPropagation(),e=f(this).parent("li"),t.is(":visible")?(t.slideUp(200),e.removeClass("edgtf-opened")):(t.slideDown(200),e.addClass("edgtf-opened")))})}),f(".edgtf-mobile-nav a, .edgtf-mobile-logo-wrapper a").on("click tap",function(e){"http://#"!==f(this).attr("href")&&"#"!==f(this).attr("href")&&t.slideUp(200)})}function u(){var t,o,e,d,i,a,n;edgtf.body.hasClass("edgtf-sticky-up-mobile-header")&&(d=f(".edgtf-top-bar"),t=f(".edgtf-mobile-header"),o=f("#wpadminbar"),e=t.length?t.height():0,d=d.is(":visible")?d.height():0,i=o.length?o.height():0,a=f(document).scrollTop(),n=d+e+i,f(window).scroll(function(){var e=f(document).scrollTop();n<e?t.addClass("edgtf-animate-mobile-header"):t.removeClass("edgtf-animate-mobile-header"),a<e&&n<e||e<=n?(t.removeClass("mobile-header-appear"),t.css("margin-bottom",0),o.length&&t.find(".edgtf-mobile-header-inner").css("top",0)):(t.addClass("mobile-header-appear"),t.css("margin-bottom",n)),a=f(document).scrollTop()}))}function p(){var s=f(".edgtf-drop-down > ul > li"),r=f(".edgtf-wrapper-inner");s.each(function(e){var t,o,d,i,a,n;0<f(s[e]).find(".edgtf-menu-second").length&&(t=f(s[e]).find(".edgtf-menu-second"),f(s[e]).hasClass("edgtf-menu-wide")&&(n=f(this).find(".edgtf-menu-inner > ul"),o=parseInt(n.css("padding-left").slice(0,-2))+parseInt(n.css("padding-right").slice(0,-2)),d=n.outerWidth(),f(this).hasClass("edgtf-menu-left-position")||f(this).hasClass("edgtf-menu-right-position")||t.css("left",0),i=0,f(this).find(".edgtf-menu-second > .edgtf-menu-inner > ul > li").each(function(){var e=f(this).height();i<e&&(i=e)}),f(this).find(".edgtf-menu-second > .edgtf-menu-inner > ul > li").css("height",""),f(this).find(".edgtf-menu-second > .edgtf-menu-inner > ul > li").height(i),f(this).hasClass("edgtf-wide-background")?f(this).hasClass("edgtf-menu-left-position")||f(this).hasClass("edgtf-menu-right-position")||(a=f(this).offset().left-r.offset().left,t.css("left",-a),edgtf.body.hasClass("edgtf-boxed")?t.css("width",r.width()):t.css("width",edgtf.windowWidth)):f(this).hasClass("edgtf-menu-left-position")||f(this).hasClass("edgtf-menu-right-position")||(a=(edgtf.windowWidth-2*(edgtf.windowWidth-n.offset().left))/2+(d+o)/2,t.css("left",-a))),edgtf.menuDropdownHeightSet||f(s[e]).data("original_height",t.height()+"px"),navigator.userAgent.match(/(iPod|iPhone|iPad)/)?(t.height(0),f(s[e]).on("touchstart mouseenter",function(){t.css({height:f(s[e]).data("original_height"),overflow:"visible",visibility:"visible",opacity:"1"})}).on("mouseleave",function(){t.css({height:"0px",overflow:"hidden",visibility:"hidden",opacity:"0"})})):(n=edgtf.body.hasClass("edgtf-dropdown-animate-height")?(t.height(0),{interval:0,over:function(){setTimeout(function(){f(s[e]).addClass("edgtf-hovered"),t.css({visibility:"visible",height:"0px",opacity:"0"}),t.stop().animate({height:f(s[e]).data("original_height"),opacity:1},200,function(){t.css("overflow","visible")})},100)},timeout:100,out:function(){f(s[e]).removeClass("edgtf-hovered"),t.stop().animate({height:"0px"},0,function(){t.css({overflow:"hidden",visibility:"hidden"})})}}):{interval:0,over:function(){setTimeout(function(){t.addClass("edgtf-drop-down-start"),t.closest(".menu-item").addClass("edgtf-opened-dropdown")},150)},timeout:150,out:function(){t.removeClass("edgtf-drop-down-start"),t.closest(".menu-item").removeClass("edgtf-opened-dropdown")}},f(s[e]).hoverIntent(n)))}),f(".edgtf-drop-down ul li.edgtf-menu-wide ul li a").on("click",function(e){var t;1==e.which&&(t=f(this),setTimeout(function(){t.mouseleave()},500))}),edgtf.menuDropdownHeightSet=!0}function m(){f(".edgtf-drop-down > ul > li.edgtf-menu-narrow").each(function(e){var t,o=edgtf.windowWidth-16,d=f(this).offset().left,i=f(this).find(".edgtf-menu-second .edgtf-menu-inner ul").width(),a=0,a=edgtf.body.hasClass("boxed")?edgtf.boxedLayoutWidth-(d-(o-edgtf.boxedLayoutWidth)/2):o-d;0<f(this).find("li.edgtf-sub").length&&(t=a-i),(a<i||t<i)&&(f(this).find(".edgtf-menu-second").addClass("edgtf-menu-right"),f(this).find(".edgtf-menu-second .edgtf-menu-inner ul").addClass("edgtf-menu-right"))})}function v(){var e,t,i,a,n,s,r,l=f("a.edgtf-search-opener");f("html").hasClass("touch"),0<l.length&&(edgtf.body.hasClass("edgtf-fullscreen-search")?(t=e=!1,i=f(".edgtf-fullscreen-search-close"),edgtf.body.hasClass("edgtf-search-fade")?e=!0:edgtf.body.hasClass("edgtf-search-from-circle")&&(t=!0),a=e,n=t,s=f(".edgtf-fullscreen-search-holder"),r=f(".edgtf-fullscreen-search-overlay"),l.on("click",function(e){e.preventDefault();var t,o,d=!1;"yes"===f(this).data("icon-close-same-position")&&(t=f(this).offset().top,o=f(this).offset().left,d=!0),a&&(s.hasClass("edgtf-animate")?(edgtf.body.removeClass("edgtf-fullscreen-search-opened"),edgtf.body.addClass("edgtf-search-fade-out"),edgtf.body.removeClass("edgtf-search-fade-in"),s.removeClass("edgtf-animate"),edgtf.body.hasClass("page-template-full_screen-php")||edgtf.modules.common.edgtfEnableScroll()):(edgtf.body.addClass("edgtf-fullscreen-search-opened"),edgtf.body.removeClass("edgtf-search-fade-out"),edgtf.body.addClass("edgtf-search-fade-in"),s.addClass("edgtf-animate"),d&&i.css({top:t-edgtf.scroll,left:o}),edgtf.body.hasClass("page-template-full_screen-php")||edgtf.modules.common.edgtfDisableScroll()),i.on("click",function(e){e.preventDefault(),edgtf.body.removeClass("edgtf-fullscreen-search-opened"),s.removeClass("edgtf-animate"),edgtf.body.removeClass("edgtf-search-fade-in"),edgtf.body.addClass("edgtf-search-fade-out"),edgtf.body.hasClass("page-template-full_screen-php")||edgtf.modules.common.edgtfEnableScroll()}),f(document).keyup(function(e){27==e.keyCode&&(edgtf.body.removeClass("edgtf-fullscreen-search-opened"),s.removeClass("edgtf-animate"),edgtf.body.removeClass("edgtf-search-fade-in"),edgtf.body.addClass("edgtf-search-fade-out"),edgtf.body.hasClass("page-template-full_screen-php")||edgtf.modules.common.edgtfEnableScroll())})),n&&(r.hasClass("edgtf-animate")?(r.removeClass("edgtf-animate"),s.css({opacity:0,display:"none"}),i.css({opacity:0,visibility:"hidden"}),l.css({opacity:1})):(r.addClass("edgtf-animate"),s.css({display:"block"}),setTimeout(function(){s.css("opacity","1"),i.css({opacity:1,visibility:"visible",top:t-edgtf.scroll,left:o}),d&&i.css({top:t-edgtf.scroll,left:o}),l.css({opacity:0})},200),edgtf.body.hasClass("page-template-full_screen-php")||edgtf.modules.common.edgtfDisableScroll()),i.on("click",function(e){e.preventDefault(),r.removeClass("edgtf-animate"),s.css({opacity:0,display:"none"}),i.css({opacity:0,visibility:"hidden"}),l.css({opacity:1}),edgtf.body.hasClass("page-template-full_screen-php")||edgtf.modules.common.edgtfEnableScroll()}),f(document).keyup(function(e){27==e.keyCode&&(r.removeClass("edgtf-animate"),s.css({opacity:0,display:"none"}),i.css({opacity:0,visibility:"hidden"}),l.css({opacity:1}),edgtf.body.hasClass("page-template-full_screen-php")||edgtf.modules.common.edgtfEnableScroll())}))}),f(".edgtf-fullscreen-search-holder .edgtf-search-field").focus(function(){f(".edgtf-fullscreen-search-holder .edgtf-field-holder .edgtf-line").css("width","100%")}),f(".edgtf-fullscreen-search-holder .edgtf-search-field").blur(function(){f(".edgtf-fullscreen-search-holder .edgtf-field-holder .edgtf-line").css("width","0")})):edgtf.body.hasClass("edgtf-search-covers-header")&&l.on("click",function(e){e.preventDefault();var t,o,d,e=f(this),i=f(".edgtf-search-cover .edgtf-form-holder-outer"),a=f(this).closest(".edgtf-grid").length?(o=f(this).closest(".edgtf-grid").children().first()).parent():o=f(this).closest(".edgtf-menu-area").children().first();0<f(this).closest(".edgtf-sticky-header").length&&(a=(o=f(this).closest(".edgtf-sticky-header").children().first()).parent()),0<f(this).closest(".edgtf-mobile-header").length&&(o=f(this).closest(".edgtf-mobile-header").children().children().first()),a.parent().hasClass("edgtf-logo-area")?t=edgtfGlobalVars.vars.edgtfLogoAreaHeight:a.parent().hasClass("edgtf-top-bar")?t=edgtfGlobalVars.vars.edgtfTopBarHeight:a.parent().hasClass("edgtf-menu-area")?t=edgtfGlobalVars.vars.edgtfMenuAreaHeight-edgtfGlobalVars.vars.edgtfTopBarHeight:a.hasClass("edgtf-sticky-header")?t=edgtfGlobalVars.vars.edgtfStickyHeaderHeight:a.parents("header").hasClass("edgtf-mobile-header")&&(t=f(".edgtf-mobile-header-inner").height()),d=(a=o.find(".edgtf-search-close")).closest(".edgtf-form-holder-outer").parent(),i.height(t),o.stop(!0).fadeIn(600),"yes"==e.data("icon-close-same-position")&&(i=e.offset().left-30,d.hasClass("edgtf-container-inner")&&(i=i-d.offset().left+30),a.css({left:i,right:"auto"})),f('.edgtf-search-cover input[type="text"]').focus(),f(".edgtf-search-close, .content, footer").on("click",function(e){e.preventDefault(),o.stop(!0).fadeOut(450)}),o.blur(function(){o.stop(!0).fadeOut(450)})}),l.each(function(){var e,t,o,d=f(this);void 0!==d.data("hover-color")&&(e=function(e){e.data.thisSearchOpener.css("color",e.data.color)},t=void 0!==d.data("color")?d.data("color"):d.css("color"),o=d.data("hover-color"),d.on("mouseenter",{thisSearchOpener:d,color:o},e),d.on("mouseleave",{thisSearchOpener:d,color:t},e))}))}function w(){function e(e){var t=0;(e=e||window.event).wheelDelta?t=e.wheelDelta/120:e.detail&&(t=-e.detail/3),t&&((t=t)<0?Math.abs(a)<=n&&(a+=20*t,f(d).css("margin-top",a)):a<=-20&&(a+=20*t,f(d).css("margin-top",a))),e.preventDefault&&e.preventDefault(),e.returnValue=!1}var t,o,d,i,a,n;f(".edgtf-vertical-menu-area").length&&edgtf.windowWidth<1500&&(t=edgtf.windowHeight,o=f(".edgtf-vertical-menu-area"),i=(d=f(".edgtf-vertical-menu-area .edgtf-vertical-menu-area-inner")).find(".edgtf-vertical-menu").outerHeight()+parseInt(o.css("padding-top"))+parseInt(o.css("padding-bottom")),a=0,n=(t-i)/2,f(o).on("mouseenter",function(){edgtf.modules.common.edgtfDisableScroll(),window.addEventListener&&(window.addEventListener("mousewheel",e,!1),window.addEventListener("DOMMouseScroll",e,!1)),window.onmousewheel=document.onmousewheel=e}),f(o).on("mouseleave",function(){edgtf.modules.common.edgtfEnableScroll(),window.removeEventListener("mousewheel",e,!1),window.removeEventListener("DOMMouseScroll",e,!1)}))}(edgtf.modules.header=e).isStickyVisible=!1,e.stickyAppearAmount=0,e.behaviour,e.edgtfSideArea=r,e.edgtfSideAreaScroll=l,e.edgtfFullscreenMenu=g,e.edgtfInitDividedHeaderMenu=c,e.edgtfInitMobileNavigation=h,e.edgtfMobileHeaderBehavior=u,e.edgtfSetDropDownMenuPosition=m,e.edgtfDropDownMenu=p,e.edgtfSearch=v,e.edgtfVerticalMenuScroll=w,e.edgtfOnDocumentReady=t,e.edgtfOnWindowLoad=o,e.edgtfOnWindowResize=d,e.edgtfOnWindowScroll=i,f(document).ready(t),f(window).on("load",o),f(window).resize(d),f(window).scroll(i);var b=function(){function e(){var d,i,e=t.find(".edgtf-vertical-menu");void 0!==e.data("navigation-type")&&e.data("navigation-type"),d=e.find("ul li.menu-item-has-children"),i=d.find(" > .edgtf-menu-second, > ul"),d.each(function(){var t=f(this).find(" > .edgtf-menu-second, > ul"),o=this;Modernizr.touch?f(this).find("> a").on("click tap",function(e){e.preventDefault(),e.stopPropagation(),t.hasClass("edgtf-float-open")?(t.removeClass("edgtf-float-open"),f(o).removeClass("open")):(f(this).parents("li").hasClass("open")||(d.removeClass("open"),i.removeClass("edgtf-float-open")),t.addClass("edgtf-float-open"),f(o).addClass("open"))}):f(this).hoverIntent({over:function(){t.addClass("edgtf-float-open"),f(o).addClass("open")},out:function(){t.removeClass("edgtf-float-open"),f(o).removeClass("open")},timeout:300})})}var t=f(".edgtf-vertical-menu-area");return{init:function(){t.length&&e()}}}}(jQuery),function(a){"use strict";var e={};function t(){n()}function o(){}function d(){}function i(){}function n(){var e,t,o,d,i;0<a(".edgtf-title.edgtf-has-parallax-background").length&&0===a(".touch").length&&(e=a(".edgtf-title.edgtf-has-parallax-background"),t=a(".edgtf-title.edgtf-has-parallax-background.edgtf-zoom-out"),o=e.data("background-width")?parseInt(e.data("background-width").match(/\d+/)):0,d=e.data("height")/1e4*7,i=-edgtf.scroll*d,e.css({"background-position":"center "+(i+edgtfGlobalVars.vars.edgtfAddForAdminBar)+"px"}),t.css({"background-size":o-edgtf.scroll+"px auto"}),a(window).scroll(function(){i=-edgtf.scroll*d,e.css({"background-position":"center "+(i+edgtfGlobalVars.vars.edgtfAddForAdminBar)+"px"}),t.css({"background-size":o-edgtf.scroll+"px auto"})}))}(edgtf.modules.title=e).edgtfParallaxTitle=n,e.edgtfOnDocumentReady=t,e.edgtfOnWindowLoad=o,e.edgtfOnWindowResize=d,e.edgtfOnWindowScroll=i,a(document).ready(t),a(window).on("load",o),a(window).resize(d),a(window).scroll(i)}(jQuery),function(S){"use strict";var e={};function t(){var e;a(),n(),l(),V().init(),s(),r(),f(),g(),c(),h(),u(),p(),m().init(),v(),w(),(e=S(".edgtf-blog-slider")).length&&e.each(function(){var e,t=S(this),o=1;void 0!==t.data("type")&&!1!==t.data("type")&&"carousel"==t.data("type")&&(e=[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:1,infinite:!0,dots:!0}},{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:1}}],o=3),t.slick({infinite:!0,autoplay:!1,slidesToShow:o,arrows:!1,dots:!0,dotsClass:"edgtf-slick-dots",adaptiveHeight:!0,prevArrow:'<span class="edgtf-slick-prev edgtf-prev-icon"><i class="arrow_carrot-left"></i></span>',nextArrow:'<span class="edgtf-slick-next edgtf-next-icon"><i class="arrow_carrot-right"></i></span>',customPaging:function(e,t){return'<span class="edgtf-slick-dot-inner"></span>'},responsive:e})}),b(),k(),C(),y(),W(),P(),z(),O(),L(),F(),N().init(),D().init(),R().init(),U(),q(),x(),E(),X(),Q()}function o(){Y()}function d(){v(),b(),W(),P(),E()}function i(){}function a(){var e=S(".edgtf-counter");e.length&&e.each(function(){var t=S(this);t.appear(function(){var e;t.parent().addClass("edgtf-counter-holder-show"),t.hasClass("zero")?(e=parseFloat(t.text()),t.countTo({from:0,to:e,speed:1500,refreshInterval:100})):t.absoluteCounter({speed:2e3,fadeInDelay:1e3})},{accX:0,accY:edgtfGlobalVars.vars.edgtfElementAppearAmount})})}function n(){var e=S(".edgtf-progress-bar");e.length&&e.each(function(){var i=S(this);i.appear(function(){e=i,t=parseFloat(e.find(".edgtf-progress-content").data("percentage")),(e=e.find(".edgtf-progress-number .edgtf-percent")).length&&e.each(function(){var e=S(this);e.parents(".edgtf-progress-number-wrapper").css("opacity","1"),e.countTo({from:0,to:t,speed:1500,refreshInterval:50})}),0!==i.find(".edgtf-floating.edgtf-floating-inside")&&(e=i.find(".edgtf-progress-content").height(),e=(e+=parseFloat(i.find(".edgtf-progress-title-holder").css("padding-bottom")))+parseFloat(i.find(".edgtf-progress-title-holder").css("margin-bottom")),i.find(".edgtf-floating-inside").css("margin-bottom",-e+"px"));var t,e=i.find(".edgtf-progress-content").data("percentage"),o=i.find(".edgtf-progress-content"),d=i.find(".edgtf-progress-number");o.css("width","0%"),o.animate({width:e+"%"},1500),d.css("left","0%"),d.animate({left:e+"%"},1500)})})}function s(){var e=S(".edgtf-message");e.length&&e.each(function(){S(this).find(".edgtf-close").on("click",function(e){e.preventDefault(),S(this).parent().parent().fadeOut(500)})})}function r(){var e=S(".edgtf-message.edgtf-with-icon");e.length&&e.each(function(){var e=S(this),t=e.find(".edgtf-message-text-holder").height(),o=e.find(".edgtf-message-icon-holder").height();o<t?e.find(".edgtf-message-icon-holder").height(t):e.find(".edgtf-message-text-holder").height(o)})}function l(){var n,s,r,l,f,g,c,h,u,p,m,v,w,b,y,C,e=S(".edgtf-countdown"),t=new Date,k=t.getMonth(),x=t.getFullYear();e.length&&e.each(function(){var e,t,o,d,i=S(this).attr("id"),a=S("#"+i);n=a.data("year"),s=a.data("month"),r=a.data("day"),l=a.data("hour"),f=a.data("minute"),g=a.data("timezone"),c=a.data("month-label"),h=a.data("months-label"),u=a.data("day-label"),p=a.data("days-label"),m=a.data("hour-label"),v=a.data("hours-label"),w=a.data("minute-label"),b=a.data("minutes-label"),y=a.data("second-label"),C=a.data("seconds-label"),e=a.data("digit-size"),t=a.data("label-size"),o=a.data("digit-color"),d=a.data("label-color"),k===s&&x===n||(s-=1),a.countdown({until:new Date(n,s,r,l,f,44),labels:["Years",h,"Weeks",p,v,b,C],labels1:["Year",c,"Week",u,m,w,y],format:"ODHMS",timezone:g,padZeroes:!0,onTick:function(){a.find(".countdown-amount").css({"font-size":e+"px",color:o,"line-height":e+"px"}),a.find(".countdown-period").css({"font-size":t+"px",color:d})}})})}(edgtf.modules.shortcodes=e).edgtfInitCounter=a,e.edgtfInitProgressBars=n,e.edgtfInitCountdown=l,e.edgtfInitMessages=s,e.edgtfInitMessageHeight=r,e.edgtfInitTestimonials=f,e.edgtfInitCarousels=g,e.edgtfInitPieChart=c,e.edgtfInitPieChartDoughnut=h,e.edgtfInitTabs=u,e.edgtfInitTabIcons=p,e.edgtfInitBlogListMasonry=v,e.edgtfInitBlogListBoxes=w,e.edgtfCustomFontResize=b,e.edgtfInitImageGallery=k,e.edgtfInitAccordions=C,e.edgtfShowGoogleMap=y,e.edgtfInitPortfolioListMasonry=W,e.edgtfInitPortfolioListPinterest=P,e.edgtfInitPortfolio=z,e.edgtfInitPortfolioMasonryFilter=O,e.edgtfInitPortfolioSlider=L,e.edgtfInitPortfolioLoadMore=F,e.edgtfCheckSliderForHeaderStyle=H,e.edgtfCustomFontTypeOut=U,e.edgtfSectionTitleTypeOut=q,e.edgtfInitImageGalleryMasonry=x,e.edgtfInitElementsHolderResponsiveStyle=Y,e.edgtfInitInteractiveLinkShowcase=E,e.edgtfSectionTitleAnimation=X,e.edgtfAnimationsHolder=Q,e.edgtfOnDocumentReady=t,e.edgtfOnWindowLoad=o,e.edgtfOnWindowResize=d,e.edgtfOnWindowScroll=i,S(document).ready(t),S(window).on("load",o),S(window).resize(d),S(window).scroll(i),S("body").on("DOMNodeInserted",function(e){m().init()});var V=edgtf.modules.shortcodes.edgtfIcon=function(){var e=S(".edgtf-icon-shortcode");return{init:function(){e.length&&e.each(function(){var e,t,o,d,i,a,n,s;(e=S(this)).hasClass("edgtf-icon-animation")&&e.appear(function(){e.parent(".edgtf-icon-animation-holder").addClass("edgtf-icon-animation-show")},{accX:0,accY:edgtfGlobalVars.vars.edgtfElementAppearAmount}),void 0!==(a=S(this)).data("hover-color")&&(i=function(e){e.data.icon.css("color",e.data.color)},o=a.find(".edgtf-icon-element"),t=a.data("hover-color"),d=o.css("color"),""!==t)&&(a.on("mouseenter",{icon:o,color:t},i),a.on("mouseleave",{icon:o,color:d},i)),void 0!==(t=S(this)).data("hover-background-color")&&(a=function(e){e.data.icon.css("background-color",e.data.color)},o=t.data("hover-background-color"),d=t.css("background-color"),""!==o)&&(t.on("mouseenter",{icon:t,color:o},a),t.on("mouseleave",{icon:t,color:d},a)),void 0!==(i=S(this)).data("hover-border-color")&&(a=function(e){e.data.icon.css("border-color",e.data.color)},n=i.data("hover-border-color"),s=i.css("border-color"),""!==n)&&(i.on("mouseenter",{icon:i,color:n},a),i.on("mouseleave",{icon:i,color:s},a))})}}},D=edgtf.modules.shortcodes.edgtfSocialIconWidget=function(){var e=S(".edgtf-social-icon-widget-holder");return{init:function(){e.length&&e.each(function(){var e,t,o,d,i;void 0!==(e=S(this)).data("hover-color")&&(t=function(e){e.data.icon.css("color",e.data.color)},d=(o=e).data("hover-color"),i=o.css("color"),""!==d)&&(e.on("mouseenter",{icon:o,color:d},t),e.on("mouseleave",{icon:o,color:i},t))})}}};function f(){var e=S(".edgtf-testimonials");e.length&&e.each(function(){var n=S(this),e=(n.appear(function(){n.css("visibility","visible")},{accX:0,accY:edgtfGlobalVars.vars.edgtfElementAppearAmount}),!0),t=!1,o=600,d=5e3;void 0!==n.data("animation-speed")&&!1!==n.data("animation-speed")&&(o=n.data("animation-speed")),void 0!==n.data("duration-speed")&&!1!==n.data("duration-speed")&&(d=n.data("duration-speed")),void 0!==n.data("dots-navigation")&&(e=n.data("dots-navigation")),void 0!==n.data("arrows-navigation")&&(t=n.data("arrows-navigation"));n.on("beforeChange",function(){var a;(a=n.find(".slick-slide")).removeClass("edgtf-slide-fade-in"),a.each(function(){var e=S(this),t=n.find(".slick-list").offset().left,o=n.find(".slick-list").outerWidth(),d=e.offset().left,i=e.outerWidth();d==t&&d+i==t+o?e.addClass("edgtf-slide-fade-out"):(a.removeClass("edgtf-slide-fade-out"),e.addClass("edgtf-slide-fade-in"))})}),n.on("init",function(){n.find(".edgtf-testimonial-content.slick-active").addClass("edgtf-slide-fade-in")}),n.slick({infinite:!0,autoplay:!0,autoplaySpeed:d,slidesToShow:1,arrows:t,dots:e,dotsClass:"edgtf-slick-dots",adaptiveHeight:!0,easing:"easeInOutQuint",speed:o,prevArrow:'<span class="edgtf-slick-prev edgtf-prev-icon"><i class="arrow_carrot-left"></i></span>',nextArrow:'<span class="edgtf-slick-next edgtf-next-icon"><i class="arrow_carrot-right"></i></span>',customPaging:function(e,t){return'<span class="edgtf-slick-dot-inner"></span>'},responsive:void 0})})}function g(){var t,e,o,d,i=S(".edgtf-carousel-holder");i.length&&i.each(function(){t=S(this).children(".edgtf-carousel"),e=t.data("items"),o="yes"==t.data("arrows-navigation"),d="yes"==t.data("dots-navigation"),t.on("init",function(e){t.css("visibility","visible")}),t.slick({infinite:!0,autoplay:!0,slidesToShow:e,easing:"easeOutExpo",speed:600,arrows:o,dots:d,dotsClass:"edgtf-slick-dots",adaptiveHeight:!0,prevArrow:'<span class="edgtf-slick-prev edgtf-prev-icon"><i class="arrow_carrot-left"></i></span>',nextArrow:'<span class="edgtf-slick-next edgtf-next-icon"><i class="arrow_carrot-right"></i></span>',customPaging:function(e,t){return'<span class="edgtf-slick-dot-inner"></span>'},responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:1,infinite:!0}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]})})}function c(){var e=S(".edgtf-pie-chart-holder, .edgtf-pie-chart-with-icon-holder");e.length&&e.each(function(){var o=S(this),d=o.children(".edgtf-percentage, .edgtf-percentage-with-icon"),i=edgtfGlobalVars.vars.edgtfFirstMainColor,a="#dcdcdc",n=200;void 0!==d.data("bar-color")&&""!==d.data("bar-color")&&(i=d.data("bar-color")),void 0!==d.data("track-color")&&""!==d.data("track-color")&&(a=d.data("track-color")),void 0!==d.data("size")&&""!==d.data("size")&&(n=parseInt(d.data("size"))),d.appear(function(){var e,t;(e=o).css("opacity","1"),e=e.find(".edgtf-to-counter"),t=parseFloat(e.text()),e.countTo({from:0,to:t,speed:1500,refreshInterval:50}),d.css("opacity","1"),d.easyPieChart({barColor:i,trackColor:a,scaleColor:!1,lineCap:"butt",lineWidth:"4",animate:1500,size:n})},{accX:0,accY:edgtfGlobalVars.vars.edgtfElementAppearAmount})})}function h(){S(".edgtf-pie-chart-doughnut-holder, .edgtf-pie-chart-pie-holder").each(function(){for(var e=S(this).find("canvas"),t=e.attr("id"),t=document.getElementById(t).getContext("2d"),o=[],d=S(t.canvas),i=1;i<=10;i++){var a=d.data("value-"+i),n=d.data("color-"+i);void 0===n&&(n=edgtfGlobalVars.vars.edgtfFirstMainColor),void 0!==a&&void 0!==n&&o.push({value:a,color:n})}e.hasClass("edgtf-pie")?new Chart(t).Pie(o,{segmentStrokeColor:"transparent"}):new Chart(t).Doughnut(o,{segmentStrokeColor:"transparent"})})}function u(){var e=S(".edgtf-tabs");e.length&&e.each(function(){var e=S(this);e.children(".edgtf-tab-container").each(function(e){e+=1;var t=S(this),o=t.attr("id"),t=t.parent().find(".edgtf-tabs-nav li:nth-child("+e+") a"),e=t.attr("href");-1<(o="#"+o).indexOf(e)&&t.attr("href",o)}),e.hasClass("edgtf-horizontal-tab")?e.tabs():e.hasClass("edgtf-vertical-tab")&&(e.tabs().addClass("ui-tabs-vertical ui-helper-clearfix"),e.find(".edgtf-tabs-nav > ul >li").removeClass("ui-corner-top").addClass("ui-corner-left"))})}function p(){var e=S(".edgtf-tab-container");e.length&&e.each(function(){var e=S(this),t=e.attr("id"),o="",e=(void 0===e.data("icon-html")&&"false"===e.data("icon-html")||(o=e.data("icon-html")),e.parents(".edgtf-tabs").find('.edgtf-tabs-nav > li > a[href="#'+t+'"]'));void 0!==e&&e.children(".edgtf-icon-frame").append(o)})}var m=edgtf.modules.shortcodes.edgtfButton=function(){var e=S(".edgtf-btn");return{init:function(){e.length&&e.each(function(){var e,t,o,d,i,a,n;void 0!==(d=S(this)).data("hover-color")&&(o=function(e){e.data.button.css("color",e.data.color)},t=d.css("color"),e=d.data("hover-color"),d.on("mouseenter",{button:d,color:e},o),d.on("mouseleave",{button:d,color:t},o)),void 0!==(e=S(this)).data("hover-bg-color")&&(d=function(e){e.data.button.css("background-color",e.data.color)},t=e.css("background-color"),o=e.data("hover-bg-color"),e.on("mouseenter",{button:e,color:o},d),e.on("mouseleave",{button:e,color:t},d)),void 0!==(d=S(this)).data("hover-border-color")&&(i=function(e){e.data.button.css("border-color",e.data.color)},a=d.css("borderTopColor"),n=d.data("hover-border-color"),d.on("mouseenter",{button:d,color:n},i),d.on("mouseleave",{button:d,color:a},i))})}}};function v(){var t=S(".edgtf-blog-list-holder.edgtf-masonry .edgtf-blog-list");t.length&&t.each(function(){var e=S(this);t.waitForImages(function(){e.isotope({itemSelector:".edgtf-blog-list-masonry-item",masonry:{columnWidth:".edgtf-blog-list-masonry-grid-sizer",gutter:".edgtf-blog-list-masonry-grid-gutter"}}),e.addClass("edgtf-appeared")})})}function w(){var e=S(".edgtf-blog-list-holder.edgtf-boxes .edgtf-blog-list");e.length&&e.each(function(){var e=S(this),t=e.find(".edgtf-blog-list-item"),o=t.first().outerHeight();t.each(function(){var e=S(this);o<e.outerHeight()&&(o=e.outerHeight())}),t.each(function(){S(this).css("height",o)}),e.addClass("edgtf-appeared")})}function b(){var e=S(".edgtf-custom-font-holder");e.length&&e.each(function(){var e,t=S(this),o=1,d=1;edgtf.windowWidth<1200&&(o=.8),edgtf.windowWidth<1e3&&(o=.7),edgtf.windowWidth<768&&(o=.6,d=.7),edgtf.windowWidth<600&&(o=.5,d=.6),edgtf.windowWidth<480&&(o=.4,d=.5),void 0!==t.data("font-size")&&!1!==t.data("font-size")&&(70<(e=parseInt(t.data("font-size")))?e=Math.round(e*o):35<e&&(e=Math.round(e*d)),t.css("font-size",e+"px")),void 0!==t.data("line-height")&&!1!==t.data("line-height")&&(70<(o=parseInt(t.data("line-height")))&&edgtf.windowWidth<1200||35<o&&edgtf.windowWidth<768?o="1.2em":o+="px",t.css("line-height",o))})}function y(){S(".edgtf-google-map").length&&S(".edgtf-google-map").each(function(){var e,t,o,d,i,a,n,s=S(this),s=(void 0!==s.data("custom-map-style")&&(m=s.data("custom-map-style")),void 0!==s.data("color-overlay")&&!1!==s.data("color-overlay")&&(u=s.data("color-overlay")),void 0!==s.data("saturation")&&!1!==s.data("saturation")&&(d=s.data("saturation")),void 0!==s.data("lightness")&&!1!==s.data("lightness")&&(p=s.data("lightness")),void 0!==s.data("zoom")&&!1!==s.data("zoom")&&(a=s.data("zoom")),void 0!==s.data("pin")&&!1!==s.data("pin")&&(e=s.data("pin")),void 0!==s.data("height")&&!1!==s.data("height")&&(n=s.data("height")),void 0!==s.data("unique-id")&&!1!==s.data("unique-id")&&(t=s.data("unique-id")),void 0!==s.data("scroll-wheel")&&(i=s.data("scroll-wheel")),void 0!==s.data("addresses")&&!1!==s.data("addresses")&&(o=s.data("addresses")),"map_"+t),r="edgtf-map-"+t,l=e,f=s,g="geocoder_"+t,c=o;if("object"==typeof google){var h,u=[{stylers:[{hue:u},{saturation:d},{lightness:p},{gamma:1}]}],p=(d=m?"edgtf-style":google.maps.MapTypeId.ROADMAP,new google.maps.StyledMapType(u,{name:"Edge Google Map"})),m=(g=new google.maps.Geocoder,new google.maps.LatLng(-34.397,150.644)),u=(isNaN(n)||(n+="px"),{zoom:a,scrollwheel:i,center:m,zoomControl:!0,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.RIGHT_CENTER},scaleControl:!1,scaleControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},streetViewControl:!1,streetViewControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},panControl:!1,panControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},mapTypeControl:!1,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.ROADMAP,"edgtf-style"],style:google.maps.MapTypeControlStyle.HORIZONTAL_BAR,position:google.maps.ControlPosition.LEFT_CENTER},mapTypeId:d});for((f=new google.maps.Map(document.getElementById(r),u)).mapTypes.set("edgtf-style",p),h=0;h<c.length;++h)!function(d,i,a,e){var t,n;""!==d&&(t='<div id="content"><div id="siteNotice"></div><div id="bodyContent"><p>'+d+"</p></div></div>",n=new google.maps.InfoWindow({content:t}),e.geocode({address:d},function(e,t){var o;t===google.maps.GeocoderStatus.OK&&(a.setCenter(e[0].geometry.location),o=new google.maps.Marker({map:a,position:e[0].geometry.location,icon:i,title:d.store_title}),google.maps.event.addListener(o,"click",function(){n.open(a,o)}),window.addEventListener("resize",function(){a.setCenter(e[0].geometry.location)}))}))}(c[h],l,f,g);document.getElementById(r).style.height=n}})}function C(){var e=S(".edgtf-accordion-holder");e.length&&e.each(function(){var e,t,o=S(this);o.hasClass("edgtf-accordion")&&o.accordion({animate:"swing",collapsible:!0,active:0,icons:"",heightStyle:"content"}),o.hasClass("edgtf-toggle")&&(t=(e=(o=S(this)).find(".edgtf-title-holder")).next(),o.addClass("accordion ui-accordion ui-accordion-icons ui-widget ui-helper-reset"),e.addClass("ui-accordion-header ui-state-default ui-corner-top ui-corner-bottom"),t.addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),e.each(function(){var e=S(this);e.on("mouseenter mouseleave",function(){e.toggleClass("ui-state-hover")}),e.on("click",function(){e.toggleClass("ui-accordion-header-active ui-state-active ui-state-default ui-corner-bottom"),e.next().toggleClass("ui-accordion-content-active").slideToggle(400)})}))})}function k(){var e=S(".edgtf-image-gallery");e.length&&e.each(function(){var t,e,o=S(this).children(".edgtf-image-gallery-sliding"),d=o.data("autoplay"),i="fade"==o.data("animation"),a="yes"==o.data("navigation"),n="yes"==o.data("pagination"),s=!1,r=!1,d="disable"!=d&&(e=1e3*d,!0);o.hasClass("edgtf-gallery-image-carousel")&&(r=s=!0),o.on("init",function(e){t=o.find(".slick-slide"),o.css("visibility","visible"),t.each(function(){var t=S(this),o=0,d=0,e=!1;t.on("mousedown",function(){o=0,e=!(d=1)}),t.on("mousemove",function(){1==d&&(e&&(o=1),e=!0)}),t.on("mouseleave",function(){o=0}),t.on("mouseup",function(e){1===o?t.find('a[data-rel^="prettyPhoto"]').off("click"):edgtf.modules.common.edgtfPrettyPhoto(),d=o=0})})}),o.slick({infinite:!0,autoplay:d,autoplaySpeed:e,speed:200,slidesToShow:1,fade:i,arrows:a,dots:n,easing:"easeInOutQuad",dotsClass:"edgtf-slick-dots",adaptiveHeight:!1,variableWidth:s,centerMode:r,pauseOnHover:!1,prevArrow:'<span class="edgtf-slick-prev edgtf-prev-icon"><i class="arrow_carrot-left"></i></span>',nextArrow:'<span class="edgtf-slick-next edgtf-next-icon"><i class="arrow_carrot-right"></i></span>',customPaging:function(e,t){return'<span class="edgtf-slick-dot-inner"></span>'}})})}function x(){var e=S(".edgtf-image-gallery-masonry");e.length&&e.each(function(){var e=S(this);e.waitForImages(function(){T(e.find(".edgtf-image-masonry-grid-sizer").width(),e),_(e)}),S(window).resize(function(){T(e.find(".edgtf-image-masonry-grid-sizer").width(),e),_(e)})})}function _(e){e.animate({opacity:1}),e.isotope({itemSelector:".edgtf-gallery-image",masonry:{columnWidth:".edgtf-image-masonry-grid-sizer"}})}function T(e,t){var o=t.find(".edgtf-size-square"),d=t.find(".edgtf-size-landscape"),i=t.find(".edgtf-size-portrait"),t=t.find(".edgtf-size-big-square");o.css("height",e),i.css("height",Math.round(2*e)),600<edgtf.windowWidth?(t.css("height",Math.round(2*e)),d.css("height",e)):(t.css("height",e),d.css("height",Math.round(e/2)))}function z(){var e=S(".edgtf-portfolio-list-holder-outer.edgtf-ptf-standard, .edgtf-portfolio-list-holder-outer.edgtf-ptf-gallery, .edgtf-portfolio-list-holder-outer.edgtf-ptf-gallery-with-space");e.length&&e.each(function(){var d=S(this);d.appear(function(){var e,t,o;t="",(e=d).hasClass("edgtf-ptf-has-filter")&&(t="."+(t=e.find(".edgtf-portfolio-filter-holder-inner ul li").data("class"))),(o=e.find(".edgtf-portfolio-list-holder")).mixItUp({callbacks:{onMixLoad:function(){setTimeout(function(){o.addClass("edgtf-appeared")},100),o.find("article").css("visibility","visible"),o.find("article").css("dislay","inline-block")},onMixStart:function(){o.find("article").css("visibility","visible"),o.find("article").css("dislay","inline-block")},onMixBusy:function(){o.find("article").css("visibility","visible")}},selectors:{filter:t},animation:{effects:"fade",duration:600}})})})}function W(){var e=S(".edgtf-portfolio-list-holder-outer.edgtf-ptf-masonry");e.length&&e.each(function(){var e=S(this).children(".edgtf-portfolio-list-holder"),t=e.find(".edgtf-portfolio-list-masonry-grid-sizer").width();I(t,e),A(e),S(window).resize(function(){I(t,e),A(e)})})}function A(e){e.waitForImages(function(){e.isotope({itemSelector:".edgtf-portfolio-item",masonry:{columnWidth:".edgtf-portfolio-list-masonry-grid-sizer"}}),e.addClass("edgtf-appeared")})}function I(e,t){var o=t.find(".edgtf-default-masonry-item"),d=t.find(".edgtf-large-width-masonry-item"),i=t.find(".edgtf-large-height-masonry-item"),t=t.find(".edgtf-large-width-height-masonry-item");o.css("height",e),i.css("height",Math.round(2*e)),600<edgtf.windowWidth?(t.css("height",Math.round(2*e)),d.css("height",e)):(t.css("height",e),d.css("height",Math.round(e/2)))}function P(){var e=S(".edgtf-portfolio-list-holder-outer.edgtf-ptf-pinterest");e.length&&e.each(function(){var e=S(this).children(".edgtf-portfolio-list-holder");M(e),S(window).resize(function(){M(e)})})}function M(e){e.waitForImages(function(){e.isotope({itemSelector:".edgtf-portfolio-item",masonry:{columnWidth:".edgtf-portfolio-list-masonry-grid-sizer"}})}),e.addClass("edgtf-appeared")}function O(){var e=S(".edgtf-portfolio-filter-holder.edgtf-masonry-filter");e.length&&e.each(function(){var o=S(this),d=null;o.find("ul li").data("class");o.find(".filter:first").addClass("current"),o.find(".filter").on("click",function(){var e=S(this),t=(clearTimeout(d),S(".isotope, .isotope .isotope-item").css("transition-duration","0.8s"),d=setTimeout(function(){S(".isotope, .isotope .isotope-item").css("transition-duration","0s")},700),S(this).attr("data-filter"));return o.siblings(".edgtf-portfolio-list-holder-outer").find(".edgtf-portfolio-list-holder").isotope({filter:t}),o.find(".filter").removeClass("current"),e.addClass("current"),!1})})}function L(){var e=S(".edgtf-portfolio-list-holder-outer.edgtf-portfolio-slider-holder");e.length&&e.each(function(){var e=S(this),t=e.children(".edgtf-portfolio-list-holder"),o=e.data("items"),d=!0,i=!1,a="";e.hasClass("edgtf-portfolio-related-holder")&&(d=!1),e.hasClass("edgtf-portfolio-related-wide")&&(i=!0,a="16%");t.on("init",function(e){t.find(".slick-slide").each(function(){var t=S(this),o=0,d=0,e=!1;t.on("mousedown",function(){o=0,e=!(d=1)}),t.on("mousemove",function(){1==d&&(e&&(o=1),e=!0)}),t.on("mouseleave",function(){o=0}),t.on("mouseup",function(e){1===o?(t.find("a").addClass("edgtf-no-link"),t.find('a[data-rel^="prettyPhoto"]').unbind("click")):(t.find("a").removeClass("edgtf-no-link"),edgtf.modules.common.edgtfPrettyPhoto()),d=o=0})})}),t.slick({infinite:!0,autoplay:!0,autoplaySpeed:5e3,speed:600,slidesToShow:o,arrows:!0,dots:d,easing:"easeOutQuart",dotsClass:"edgtf-slick-dots",adaptiveHeight:!0,centerMode:i,centerPadding:a,prevArrow:'<span class="edgtf-slick-prev edgtf-prev-icon"><i class="arrow_carrot-left"></i></span>',nextArrow:'<span class="edgtf-slick-next edgtf-next-icon"><i class="arrow_carrot-right"></i></span>',customPaging:function(e,t){return'<span class="edgtf-slick-dot-inner"></span>'},responsive:[{breakpoint:1024,settings:{slidesToShow:3}},{breakpoint:769,settings:{slidesToShow:2,arrows:!1}},{breakpoint:480,settings:{slidesToShow:1}}]})})}function F(){var e=S(".edgtf-portfolio-list-holder-outer.edgtf-ptf-show-more");e.length&&e.each(function(){var o,d,i=S(this),a=i.find(".edgtf-portfolio-list-holder"),n=i.find(".edgtf-portfolio-list-masonry-grid-sizer").width(),s=i.find(".edgtf-ptf-list-load-more a"),r=s.children(".edgtf-btn-text");void 0!==i.data("max-num-pages")&&!1!==i.data("max-num-pages")&&(d=i.data("max-num-pages")),i.hasClass("edgtf-ptf-load-more")?s.on("click",function(e){var t=j(i);o=t.nextPage,e.preventDefault(),e.stopPropagation(),o<=d&&(e=B(t),r.text(edgtfGlobalVars.vars.edgtfLoadingMoreText),S.ajax({type:"POST",data:e,url:edgtCoreAjaxUrl,success:function(e){o++,i.data("next-page",o);var t=G(S.parseJSON(e).html);i.waitForImages(function(){setTimeout(function(){i.hasClass("edgtf-ptf-masonry")||i.hasClass("edgtf-ptf-pinterest")?(a.isotope().append(t).isotope("appended",t).isotope("reloadItems"),I(n,i),A(i)):a.mixItUp("append",t),edgtf.modules.portfolio.edgtfInitMasonryHoverPageEffect(),r.text(edgtfGlobalVars.vars.edgtfLoadMoreText),d<o&&s.hide()},400)})}}))}):i.hasClass("edgtf-ptf-infinite-scroll")&&s.appear(function(e){var t=j(i);o=t.nextPage,e.preventDefault(),e.stopPropagation(),s.css("visibility","visible"),o<=d&&(e=B(t),S.ajax({type:"POST",data:e,url:edgtCoreAjaxUrl,success:function(e){o++,i.data("next-page",o);var t=G(S.parseJSON(e).html);i.waitForImages(function(){setTimeout(function(){i.hasClass("edgtf-ptf-masonry")||i.hasClass("edgtf-ptf-pinterest")?a.isotope().append(t).isotope("appended",t).isotope("reloadItems"):a.mixItUp("append",t),s.css("visibility","hidden")},400)})}})),o===d&&setTimeout(function(){s.fadeOut(400)},400)},{one:!1,accX:0,accY:edgtfGlobalVars.vars.edgtfElementAppearAmount})})}function G(e){var e=S.trim(e),e=S(e),o=S();return e.each(function(e,t){1===t.nodeType&&(o=o.add(this))}),o}function j(e){var t={type:"",columns:"",gridSize:"",orderBy:"",order:"",number:"",imageSize:"",hoverType:"",filter:"",filterOrderBy:"",category:"",selectedProjectes:"",showMore:"",titleTag:"",nextPage:"",maxNumPages:""};return void 0!==e.data("type")&&!1!==e.data("type")&&(t.type=e.data("type")),void 0!==e.data("grid-size")&&!1!==e.data("grid-size")&&(t.gridSize=e.data("grid-size")),void 0!==e.data("columns")&&!1!==e.data("columns")&&(t.columns=e.data("columns")),void 0!==e.data("order-by")&&!1!==e.data("order-by")&&(t.orderBy=e.data("order-by")),void 0!==e.data("order")&&!1!==e.data("order")&&(t.order=e.data("order")),void 0!==e.data("number")&&!1!==e.data("number")&&(t.number=e.data("number")),void 0!==e.data("image-size")&&!1!==e.data("image-size")&&(t.imageSize=e.data("image-size")),void 0!==e.data("hover-type")&&!1!==e.data("hover-type")&&(t.hoverType=e.data("hover-type")),void 0!==e.data("filter")&&!1!==e.data("filter")&&(t.filter=e.data("filter")),void 0!==e.data("filter-order-by")&&!1!==e.data("filter-order-by")&&(t.filterOrderBy=e.data("filter-order-by")),void 0!==e.data("category")&&!1!==e.data("category")&&(t.category=e.data("category")),void 0!==e.data("selected-projects")&&!1!==e.data("selected-projects")&&(t.selectedProjectes=e.data("selected-projects")),void 0!==e.data("show-more")&&!1!==e.data("show-more")&&(t.showMore=e.data("show-more")),void 0!==e.data("title-tag")&&!1!==e.data("title-tag")&&(t.titleTag=e.data("title-tag")),void 0!==e.data("next-page")&&!1!==e.data("next-page")&&(t.nextPage=e.data("next-page")),void 0!==e.data("max-num-pages")&&!1!==e.data("max-num-pages")&&(t.maxNumPages=e.data("max-num-pages")),t}function B(e){return{action:"edgt_core_portfolio_ajax_load_more",type:e.type,columns:e.columns,gridSize:e.gridSize,orderBy:e.orderBy,order:e.order,number:e.number,imageSize:e.imageSize,hoverType:e.hoverType,filter:e.filter,filterOrderBy:e.filterOrderBy,category:e.category,selectedProjectes:e.selectedProjectes,showMore:e.showMore,titleTag:e.titleTag,nextPage:e.nextPage}}var N=edgtf.modules.shortcodes.edgtfSlider=function(){function d(e){return e.match(t)[0].substr(1).split(",").map(function(e){return parseFloat(e)})}function i(e,t,o,d){var i=t;d||(edgtf.windowWidth>o[0]?i=t:edgtf.windowWidth>o[1]?i=.75*t:edgtf.windowWidth>o[2]?i=.6*t:edgtf.windowWidth>o[3]?i=.55*t:edgtf.windowWidth<=o[3]&&(i=.45*t)),e.css({height:i+"px"}),e.find(".edgtf-slider-preloader").css({height:i+"px"}),e.find(".edgtf-slider-preloader .edgtf-ajax-loader").css({display:"block"}),e.find(".item").css({height:i+"px"}),0===edgtfPerPageVars.vars.edgtfStickyScrollAmount&&(edgtf.modules.header.stickyAppearAmount=i)}function a(e){var t=edgtf.windowWidth<1e3?edgtfGlobalVars.vars.edgtfMobileHeaderHeight+S(".edgtf-top-bar").height():0,o=1024<edgtf.windowWidth?edgtf.passepartout:0;e.css({height:edgtf.windowHeight-t-o+"px"}),e.find(".edgtf-slider-preloader").css({height:edgtf.windowHeight-t-o+"px"}),e.find(".edgt-slider-preloader .edgtf-ajax-loader").css({display:"block"}),e.find(".item").css({height:edgtf.windowHeight-t-o+"px"}),0===edgtfPerPageVars.vars.edgtfStickyScrollAmount&&(edgtf.modules.header.stickyAppearAmount=edgtf.windowHeight)}function n(e){var t,o,d=[1600,1200,900,650,500,320];(o=e).find(".edgtf-slide-element-text-small, .edgtf-slide-element-text-normal, .edgtf-slide-element-text-large, .edgtf-slide-element-text-extra-large").each(function(){var e=S(this);void 0===e.data("default-font-size")&&e.data("default-font-size",parseInt(e.css("font-size"),10)),void 0===e.data("default-line-height")&&e.data("default-line-height",parseInt(e.css("line-height"),10)),void 0===e.data("default-letter-spacing")&&e.data("default-letter-spacing",parseInt(e.css("letter-spacing"),10))}),o.find(".edgtf-slide-element-responsive-text").each(function(){void 0===S(this).data("default-font-size")&&S(this).data("default-font-size",parseInt(S(this).css("font-size"),10)),void 0===S(this).data("default-line-height")&&S(this).data("default-line-height",parseInt(S(this).css("line-height"),10)),void 0===S(this).data("default-letter-spacing")&&S(this).data("default-letter-spacing",parseInt(S(this).css("letter-spacing"),10))}),o.find(".edgtf-slide-element-responsive-button").each(function(){void 0===S(this).data("default-font-size")&&S(this).data("default-font-size",parseInt(S(this).find("a").css("font-size"),10)),void 0===S(this).data("default-line-height")&&S(this).data("default-line-height",parseInt(S(this).find("a").css("line-height"),10)),void 0===S(this).data("default-letter-spacing")&&S(this).data("default-letter-spacing",parseInt(S(this).find("a").css("letter-spacing"),10)),void 0===S(this).data("default-ver-padding")&&S(this).data("default-ver-padding",parseInt(S(this).find("a").css("padding-top"),10)),void 0===S(this).data("default-hor-padding")&&S(this).data("default-hor-padding",parseInt(S(this).find("a").css("padding-left"),10))}),o.find(".edgtf-slide-element").each(function(){var e=S(this);void 0===e.data("default-margin-top")&&e.data("default-margin-top",parseInt(e.css("margin-top"),10)),void 0===e.data("default-margin-bottom")&&e.data("default-margin-bottom",parseInt(e.css("margin-bottom"),10)),void 0===e.data("default-margin-left")&&e.data("default-margin-left",parseInt(e.css("margin-left"),10)),void 0===e.data("default-margin-right")&&e.data("default-margin-right",parseInt(e.css("margin-right"),10))}),l(o),e.hasClass("edgtf-full-screen")?(a(e),S(window).resize(function(){a(e),l(e)})):e.hasClass("edgtf-responsive-height")?(t=e.data("height"),i(e,t,d,!1),S(window).resize(function(){i(e,t,d,!1),l(e)})):(t=e.data("height"),e.find(".edgtf-slider-preloader").css({height:e.height()+"px"}),e.find(".edgtf-slider-preloader .edgtf-ajax-loader").css({display:"block"}),edgtf.windowWidth<1e3?i(e,t,d,!1):i(e,t,d,!0),S(window).resize(function(){edgtf.windowWidth<1e3?i(e,t,d,!1):i(e,t,d,!0),l(e)}))}function c(e){var t,o,d,i,a;e.hasClass("edgtf-slider-thumbs")&&(i=e.find(".item").length,a=e.find(".item").index(S(".item.active")[0])+1,u(e,a,i),e.find(".item.active").prev(".item").length?e.find(".item.active").prev("div").find(".edgtf-image").length?(t=r.exec(e.find(".active").prev("div").find(".edgtf-image").attr("style")),(o=new Image).src=t[1]):((o=e.find(".active").prev("div").find("> .edgtf-video").clone()).find(".edgtf-video-overlay, .mejs-offscreen").remove(),o.find(".edgtf-video-wrap").width(150).height(84),o.find(".mejs-container").width(150).height(84),o.find("video").width(150).height(84)):e.find(".carousel-inner .item:last-child .edgtf-image").length?(t=r.exec(e.find(".carousel-inner .item:last-child .edgtf-image").attr("style")),(o=new Image).src=t[1]):((o=e.find(".carousel-inner .item:last-child > .edgtf-video").clone()).find(".edgtf-video-overlay, .mejs-offscreen").remove(),o.find(".edgtf-video-wrap").width(150).height(84),o.find(".mejs-container").width(150).height(84),o.find("video").width(150).height(84)),e.find(".left.carousel-control .img .old").fadeOut(300,function(){S(this).remove()}),e.find(".left.carousel-control .img").append(o).find("div.thumb-image, > img, div.edgtf-video").fadeIn(300).addClass("old"),e.find(".active").next("div.item").length?e.find(".active").next("div").find(".edgtf-image").length?(t=r.exec(e.find(".active").next("div").find(".edgtf-image").attr("style")),(d=new Image).src=t[1]):((d=e.find(".active").next("div").find("> .edgtf-video").clone()).find(".edgtf-video-overlay, .mejs-offscreen").remove(),d.find(".edgtf-video-wrap").width(150).height(84),d.find(".mejs-container").width(150).height(84),d.find("video").width(150).height(84)):e.find(".carousel-inner .item:first-child .edgtf-image").length?(t=r.exec(e.find(".carousel-inner .item:first-child .edgtf-image").attr("style")),(d=new Image).src=t[1]):((d=e.find(".carousel-inner .item:first-child > .edgtf-video").clone()).find(".edgtf-video-overlay, .mejs-offscreen").remove(),d.find(".edgtf-video-wrap").width(150).height(84),d.find(".mejs-container").width(150).height(84),d.find("video").width(150).height(84)),e.find(".right.carousel-control .img .old").fadeOut(300,function(){S(this).remove()}),e.find(".right.carousel-control .img").append(d).find("div.thumb-image, > img, div.edgtf-video").fadeIn(300).addClass("old"))}function s(e,t,o){var d,i,a,n,s,r,l,f,g;e.find(".carousel-inner .item:first-child").addClass("active"),H(S(".carousel .active"),e.hasClass("edgtf-header-effect")),e.hasClass("edgtf-slider-numbers")&&u(e,1,t),e.find(".item video").length&&(d=e,S(".item .edgtf-video-wrap .edgtf-video-element").mediaelementplayer({enableKeyboard:!1,iPadUseNativeControls:!1,pauseOtherPlayers:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1}),p(d),S(window).resize(function(){p(d)}),navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/))&&(S(".edgtf-slider .edgtf-mobile-video-image").show(),S(".edgtf-slider .edgtf-video-wrap").remove()),c(e),(t=e).hasClass("edgtf-slide-peek")&&(i=function(e,t){var o=e.is(".left")?"left":"right",d=l.filter("."+o);t?(e.addClass("hovered"),t=(s.index(s.filter(".active"))+("left"==o?-1:1)+s.length)%s.length,d.find(".edgtf-slider-peeker-inner").css({"background-image":s.eq(t).find(".edgtf-image, .edgtf-mobile-video-image").css("background-image"),width:r+"px"}),d.addClass("shown")):(e.removeClass("hovered"),l.removeClass("shown"))},a=function(e,t){var o;t?(e.addClass("hovered"),t=e.data("slide-to"),(o=s.index(s.filter(".active")))!=t&&((o=l.filter("."+(t<o?"left":"right"))).find(".edgtf-slider-peeker-inner").css({"background-image":s.eq(t).find(".edgtf-image, .edgtf-mobile-video-image").css("background-image"),width:r+"px"}),o.addClass("shown"))):(e.removeClass("hovered"),l.removeClass("shown"))},n=function(){r=s.filter(".active").width(),r+=r%2?1:0,s.children(".edgtf-image, .edgtf-video").css({position:"absolute",width:r+"px",height:"110%",left:"50%",transform:"translateX(-50%)"})},s=t.find(".item"),n(),S(window).resize(n),t.find(".carousel-inner").append('<div class="edgtf-slider-peeker left"><div class="edgtf-slider-peeker-inner"></div></div><div class="edgtf-slider-peeker right"><div class="edgtf-slider-peeker-inner"></div></div>'),l=t.find(".edgtf-slider-peeker"),f=t.find(".carousel-control"),g=t.find(".carousel-indicators > li"),f.on("mouseenter",function(){i(S(this),!0)}),f.on("mouseleave",function(){i(S(this),!1)}),g.on("mouseenter",function(){a(S(this),!0)}),g.on("mouseleave",function(){a(S(this),!1)}),t.on("slide.bs.carousel",function(){setTimeout(function(){l.addClass("edgtf-slide-peek-in-progress").removeClass("shown")},500)}),t.on("slid.bs.carousel",function(){f.filter(".hovered").each(function(){i(S(this),!0)}),setTimeout(function(){g.filter(".hovered").each(function(){a(S(this),!0)})},200),l.removeClass("edgtf-slide-peek-in-progress")})),e.find(".edgtf-slide-element-wrapper-link").mouseenter(function(){S(this).removeClass("inheriting")}).mouseleave(function(){S(this).addClass("inheriting")}),e.hasClass("edgtf-auto-start")?(e.carousel({interval:o,pause:!1}),e.find(".slide_buttons_holder .qbutton").mouseenter(function(){e.carousel("pause")}).mouseleave(function(){e.carousel("cycle")})):e.carousel({interval:0,pause:!1}),S(window).scroll(function(){e.hasClass("edgtf-full-screen")&&edgtf.scroll>edgtf.windowHeight&&1e3<edgtf.windowWidth||!e.hasClass("edgtf-full-screen")&&edgtf.scroll>e.height()&&1e3<edgtf.windowWidth?e.carousel("pause"):e.carousel("cycle")}),S(".carousel-inner .item:first-child").hasClass("edgtf-animate-image")&&1e3<edgtf.windowWidth&&e.find(".carousel-inner .item.edgtf-animate-image:first-child .edgtf-image").transformAnimate({transform:"matrix("+h[S(".carousel-inner .item:first-child").data("edgtf_animate_image")]+")",duration:3e4})}var e=S(".edgtf-slider .carousel"),r=/url\(["']?([^'")]+)['"]?\)/,h={zoom_center:"1.2, 0, 0, 1.2, 0, 0",zoom_top_left:"1.2, 0, 0, 1.2, -150, -150",zoom_top_right:"1.2, 0, 0, 1.2, 150, -150",zoom_bottom_left:"1.2, 0, 0, 1.2, -150, 150",zoom_bottom_right:"1.2, 0, 0, 1.2, 150, 150"},t=/\([0-9epx\.\, \t\-]+/gi,f=["transform","-webkit-transform"],l=(S.fn.transformAnimate=function(s){var t,o,e={transform:"matrix(1,0,0,1,0,0)"},r=(S.extend(e,s),this.css("percentAnim",0),t=this,o=null,f.some(function(e){return null!==(o=t.css(e))&&""!==o}),d(o=o&&"none"!==o?o:"matrix(1,0,0,1,0,0)")),l=d(e.transform);return e.step=function(o,e){for(var t=S(this),d=r.map(function(e,t){return t=l[t],e+o/100*(t-e)}),i=t,a="matrix("+d.join(",")+")",n=f.length-1;0<=n;--n)i.css(f[n],a+" rotate(0.01deg)");s.step&&s.step.apply(this,[d,e])},this.stop().animate({percentAnim:100},e)},function(e){var f=600,g=800,c=1024,h=1440,t=(e.find(".edgtf-slider-elements-container").each(function(){var e=S(this),t=e.filter(".edgtf-custom-elements").add(e.not(".edgtf-custom-elements").find(".edgtf-slider-elements-holder-frame")).not(".edgtf-grid");t.length&&(f>=edgtf.windowWidth&&e.attr("data-width-mobile").length?t.css("width",e.data("width-mobile")+"%"):g>=edgtf.windowWidth&&e.attr("data-width-tablet-p").length?t.css("width",e.data("width-tablet-p")+"%"):c>=edgtf.windowWidth&&e.attr("data-width-tablet-l").length?t.css("width",e.data("width-tablet-l")+"%"):h>=edgtf.windowWidth&&e.attr("data-width-laptop").length?t.css("width",e.data("width-laptop")+"%"):e.attr("data-width-desktop").length&&t.css("width",e.data("width-desktop")+"%"))}),e.find(".item").each(function(){var e=S(this),l=e.find(".edgtf-slider-elements-holder-frame").data("default-width"),e=e.find(".edgtf-slide-element");e.each(function(){var e=S(this),t=e.data("default-margin-top"),o=e.data("default-margin-bottom"),d=e.data("default-margin-left"),i=e.data("default-margin-right"),a=void 0!==e.data("resp-scale")?e.data("resp-scale"):void 0,a=f>=edgtf.windowWidth?void 0===a?edgtf.windowWidth/l:parseFloat(a.mobile):g>=edgtf.windowWidth?void 0===a?edgtf.windowWidth/l:parseFloat(a.tabletp):c>=edgtf.windowWidth?void 0===a?edgtf.windowWidth/l:parseFloat(a.tabletl):h>=edgtf.windowWidth?void 0===a?edgtf.windowWidth/l:parseFloat(a.laptop):void 0===a?edgtf.windowWidth/l:parseFloat(a.desktop);e.css({"margin-top":Math.round(a*t)+"px","margin-bottom":Math.round(a*o)+"px","margin-left":Math.round(a*d)+"px","margin-right":Math.round(a*i)+"px"})}),e.filter(".edgtf-slide-element-responsive-text, .edgtf-slide-element-responsive-button, .edgtf-slide-element-responsive-image").add(e.find("a.edgtf-slide-element-responsive-text, span.edgtf-slide-element-responsive-text")).each(function(){var e,t,o,d,i,a=S(this),n=void 0!==a.data("resp-scale")?a.data("resp-scale"):void 0,s=void 0!==a.data("resp-left")?a.data("resp-left"):void 0,r=void 0!==a.data("resp-top")?a.data("resp-top"):void 0,n=f>=edgtf.windowWidth?(e=void 0===n?edgtf.windowWidth/l:parseFloat(n.mobile),t=void 0===s?void 0!==a.data("left")?a.data("left")+"%":"":""!==s.mobile?s.mobile+"%":a.data("left")+"%",void 0===r?void 0!==a.data("top")?a.data("top")+"%":"":""!==r.mobile?r.mobile+"%":a.data("top")+"%"):g>=edgtf.windowWidth?(e=void 0===n?edgtf.windowWidth/l:parseFloat(n.tabletp),t=void 0===s?void 0!==a.data("left")?a.data("left")+"%":"":""!==s.tabletp?s.tabletp+"%":a.data("left")+"%",void 0===r?void 0!==a.data("top")?a.data("top")+"%":"":""!==r.tabletp?r.tabletp+"%":a.data("top")+"%"):c>=edgtf.windowWidth?(e=void 0===n?edgtf.windowWidth/l:parseFloat(n.tabletl),t=void 0===s?void 0!==a.data("left")?a.data("left")+"%":"":""!==s.tabletl?s.tabletl+"%":a.data("left")+"%",void 0===r?void 0!==a.data("top")?a.data("top")+"%":"":""!==r.tabletl?r.tabletl+"%":a.data("top")+"%"):h>=edgtf.windowWidth?(e=void 0===n?edgtf.windowWidth/l:parseFloat(n.laptop),t=void 0===s?void 0!==a.data("left")?a.data("left")+"%":"":""!==s.laptop?s.laptop+"%":a.data("left")+"%",void 0===r?void 0!==a.data("top")?a.data("top")+"%":"":""!==r.laptop?r.laptop+"%":a.data("top")+"%"):(e=void 0===n?edgtf.windowWidth/l:parseFloat(n.desktop),t=void 0===s?void 0!==a.data("left")?a.data("left")+"%":"":""!==s.desktop?s.desktop+"%":a.data("left")+"%",void 0===r?void 0!==a.data("top")?a.data("top")+"%":"":""!==r.desktop?r.desktop+"%":a.data("top")+"%");e?(a.show(),a.is(".edgtf-slide-element-responsive-button")?(o=a.data("default-font-size"),d=a.data("default-line-height"),i=a.data("default-letter-spacing"),s=a.data("default-ver-padding"),r=a.data("default-hor-padding"),a.css({left:t,top:n}).find(".edgtf-btn").css({"font-size":Math.round(e*o)+"px","line-height":Math.round(e*d)+"px","letter-spacing":Math.round(e*i)+"px","padding-left":Math.round(e*r)+"px","padding-right":Math.round(e*r)+"px","padding-top":Math.round(e*s)+"px","padding-bottom":Math.round(e*s)+"px"})):a.is(".edgtf-slide-element-responsive-image")?e!=edgtf.windowWidth/l?(r=a.data("upload-width"),s=a.data("upload-height"),a.filter(".custom-image").css({left:t,top:n}).add(a.not(".custom-image").find("img")).css({width:Math.round(e*r)+"px",height:Math.round(e*s)+"px"})):(r=a.data("width"),a.filter(".custom-image").css({left:t,top:n}).add(a.not(".custom-image").find("img")).css({width:r+"%",height:""})):(o=a.data("default-font-size"),d=a.data("default-line-height"),i=a.data("default-letter-spacing"),a.css({left:t,top:n,"font-size":Math.round(e*o)+"px","line-height":Math.round(e*d)+"px","letter-spacing":Math.round(e*i)+"px"}))):a.hide()})}),e.find(".carousel-indicators"));e.find(".edgtf-slide-element-section-link").css("bottom",t.length?parseInt(t.css("bottom"),10)+t.outerHeight()+10+"px":"20px")}),u=function(e,t,o){1==t?(e.find(".left.carousel-control .prev").html(o),e.find(".right.carousel-control .next").html(t+1)):t==o?(e.find(".left.carousel-control .prev").html(t-1),e.find(".right.carousel-control .next").html(1)):(e.find(".left.carousel-control .prev").html(t-1),e.find(".right.carousel-control .next").html(t+1))},p=function(e){var i;e.find(".item .edgtf-video .edgtf-video-wrap").each(function(){var e=edgtf.windowWidth,t=S(this).closest(".carousel").height(),o=(S(this).width(e),i=1920/1080*(t+20),S(this).height(t),e/1920),d=(t-edgtfGlobalVars.vars.edgtfMenuAreaHeight)/1080,o=d<o?o:d;1920*o<i&&(o=i/1920),S(this).find("video, .mejs-overlay, .mejs-poster").width(Math.ceil(1920*o+2)),S(this).find("video, .mejs-overlay, .mejs-poster").height(Math.ceil(1080*o+2)),S(this).scrollLeft((S(this).find("video").width()-e)/2),S(this).find(".mejs-overlay, .mejs-poster").scrollTop((S(this).find("video").height()-t)/2),S(this).scrollTop((S(this).find("video").height()-t)/2)})};return{init:function(){e.length&&(e.each(function(){var e,t,o=S(this),d=o.data("slide_animation_timeout"),i=o.find(".item").length;o.find(".item").each(function(){var e=S(this).find(".edgtf-slide-element-button-inline");e.css("display","inline-block").wrapAll('<div class="edgtf-slide-elements-buttons-wrapper" style="text-align: '+e.eq(0).css("text-align")+';"/>')}),n(o),edgtf.htmlEl.hasClass("touch")?(e=0<o.find(".item:first-child .edgtf-mobile-video-image").length?r.exec(o.find(".item:first-child .edgtf-mobile-video-image").attr("style")):r.exec(o.find(".item:first-child .edgtf-image").attr("style")))&&((t=new Image).src=e[1],S(t).load(function(){S(".edgtf-slider-preloader").fadeOut(500),s(o,i,d)})):0<o.find(".item:first-child video").length?o.find(".item:first-child video").eq(0).one("loadeddata",function(){S(".edgtf-slider-preloader").fadeOut(500),s(o,i,d)}):(e=r.exec(o.find(".item:first-child .edgtf-image").attr("style")))&&((t=new Image).src=e[1],S(t).load(function(){S(".edgtf-slider-preloader").fadeOut(500),s(o,i,d)})),o.on("slide.bs.carousel",function(){o.addClass("edgtf-in-progress"),o.find(".active .edgtf-slider-elements-holder-frame, .active .edgtf-slide-element-section-link").fadeTo(250,0)}),o.on("slid.bs.carousel",function(){var e;o.removeClass("edgtf-in-progress"),o.find(".active .edgtf-slider-elements-holder-frame, .active .edgtf-slide-element-section-link").fadeTo(0,1),o.hasClass("edgtf-slider-numbers")&&(e=S(".item").index(S(".item.active")[0])+1,u(o,e,i)),S(".item.edgtf-animate-image .edgtf-image").stop().css({transform:"","-webkit-transform":""}),S(".item.active").hasClass("edgtf-animate-image")&&1e3<edgtf.windowWidth&&S(".item.edgtf-animate-image.active .edgtf-image").transformAnimate({transform:"matrix("+h[S(".item.edgtf-animate-image.active").data("edgtf_animate_image")]+")",duration:3e4}),o.hasClass("edgtf-slider-thumbs")&&c(o)}),o.swipe({swipeLeft:function(){o.carousel("next")},swipeRight:function(){o.carousel("prev")},threshold:20})}),S(".no-touch .carousel").length&&skrollr.init({smoothScrolling:!1,forceHeight:!1}).refresh(),S(window).scroll(function(){S(".edgtf-slider .carousel").height()<edgtf.scroll?S(".edgtf-slider .carousel").addClass("edgtf-disable-slider-header-style-changing"):(S(".edgtf-slider .carousel").removeClass("edgtf-disable-slider-header-style-changing"),H(S(".edgtf-slider .carousel .active"),S(".edgtf-slider .carousel").hasClass("edgtf-header-effect"))),S(".edgtf-slider .carousel").hasClass("edgtf-full-screen")&&edgtf.scroll>edgtf.windowHeight&&1e3<edgtf.windowWidth||!S(".edgtf-slider .carousel").hasClass("edgtf-full-screen")&&edgtf.scroll>S(".edgtf-slider .carousel").height()&&1e3<edgtf.windowWidth?S(".edgtf-slider .carousel").find(".carousel-inner, .carousel-indicators").hide():S(".edgtf-slider .carousel").find(".carousel-inner, .carousel-indicators").show()}))}}};function H(e,t){var o;0<S(".edgtf-slider .carousel").not(".edgtf-disable-slider-header-style-changing").length&&(o="",e.hasClass("light")&&(o="edgtf-light-header"),""!==(o=e.hasClass("dark")?"edgtf-dark-header":o)?t&&edgtf.body.removeClass("edgtf-dark-header edgtf-light-header").addClass(o):t&&edgtf.body.removeClass("edgtf-dark-header edgtf-light-header").addClass(edgtf.defaultHeaderStyle))}var R=edgtf.modules.shortcodes.edgtfInitIconList=function(){var e=S(".edgtf-animate-list");return{init:function(){e.length&&e.each(function(){var e;e=S(this),setTimeout(function(){e.appear(function(){e.addClass("edgtf-appeared")},{accX:0,accY:edgtfGlobalVars.vars.edgtfElementAppearAmount})},30)})}}};function U(){var e=S(".edgtf-typed");e.length&&e.each(function(){var e,t=S(this),o=t.parents(".edgtf-typed-wrap").parents(".edgtf-custom-font-holder"),d=o.find(".edgtf-custom-font-original"),i=t.find(".edgtf-typed-1").text(),a=t.find(".edgtf-typed-2").text(),n=t.find(".edgtf-typed-3").text();a.trim()&&n.trim()||(e=[i]),!n.trim()&&a.length&&(e=[i,a]),i.length&&a.length&&n.length&&(e=[i,a,n]),-1!=d.text().indexOf("&")&&d.html(d.text().replace("&",'<span class="edgtf-amp">&</span>')),setTimeout(function(){o.appear(function(){t.typed({strings:e,typeSpeed:90,backDelay:700,loop:!0,contentType:"text",loopCount:!1,cursorChar:"_"})},{accX:0,accY:edgtfGlobalVars.vars.edgtfElementAppearAmount})},100)})}function q(){var e=S(".edgtf-section-type-out");e.length&&e.each(function(){var e=S(this),t=e.find(".edgtf-section-highlighted"),o=t.text();setTimeout(function(){e.appear(function(){t.typed({strings:[o],typeSpeed:90,backDelay:700,loop:!0,contentType:"text",loopCount:!1,cursorChar:"_"})},{accX:0,accY:edgtfGlobalVars.vars.edgtfElementAppearAmount})},100)})}function Y(){var e=S(".edgtf-elements-holder");e.length&&e.each(function(){var e=S(this).children(".edgtf-elements-holder-item"),t="",r="";e.each(function(){var e=S(this),t="",o="",d="",i="",a="",n="",s="";void 0!==e.data("item-class")&&!1!==e.data("item-class")&&(t=e.data("item-class")),void 0!==e.data("1280-1440")&&!1!==e.data("1280-1440")&&(o=e.data("1280-1440")),void 0!==e.data("1024-1280")&&!1!==e.data("1024-1280")&&(d=e.data("1024-1280")),void 0!==e.data("768-1024")&&!1!==e.data("768-1024")&&(i=e.data("768-1024")),void 0!==e.data("600-768")&&!1!==e.data("600-768")&&(a=e.data("600-768")),void 0!==e.data("480-600")&&!1!==e.data("480-600")&&(n=e.data("480-600")),void 0!==e.data("480")&&!1!==e.data("480")&&(s=e.data("480")),(o.length||d.length||i.length||a.length||n.length||s.length)&&(o.length&&(r+="@media only screen and (min-width: 1280px) and (max-width: 1440px) {.edgtf-elements-holder-item-content."+t+" { padding: "+o+" !important; } }"),d.length&&(r+="@media only screen and (min-width: 1024px) and (max-width: 1280px) {.edgtf-elements-holder-item-content."+t+" { padding: "+d+" !important; } }"),i.length&&(r+="@media only screen and (min-width: 768px) and (max-width: 1024px) {.edgtf-elements-holder-item-content."+t+" { padding: "+i+" !important; } }"),a.length&&(r+="@media only screen and (min-width: 600px) and (max-width: 768px) {.edgtf-elements-holder-item-content."+t+" { padding: "+a+" !important; } }"),n.length&&(r+="@media only screen and (min-width: 480px) and (max-width: 600px) {.edgtf-elements-holder-item-content."+t+" { padding: "+n+" !important; } }"),s.length)&&(r+="@media only screen and (max-width: 480px) {.edgtf-elements-holder-item-content."+t+" { padding: "+s+" !important; } }")}),(t=r.length?'<style type="text/css" data-type="silverscreen_edge_modules_shortcodes_eh_custom_css">'+r+"</style>":t).length&&S("head").append(t)})}function E(){var e=S(".edgtf-ils");e.length&&e.each(function(){var e=S(this),t=1024<edgtf.windowWidth?edgtf.windowHeight:edgtf.windowHeight-edgtfGlobalVars.vars.edgtfMobileHeaderHeight,o=(1024<edgtf.windowWidth&&(e.css("height",t),e.css("width",edgtf.windowWidth)),e.find(".edgtf-ils-item-image")),d=e.find(".edgtf-ils-item-link");o.eq(0).addClass("active"),d.parent().eq(0).addClass("active"),d.parent().addClass("loaded"),d.on("mouseenter",function(){o.removeClass("active"),d.parent().removeClass("active");var e=S(this),t=e.parent().index();e.parent().addClass("active"),o.eq(t).addClass("active")})})}function X(){var e=S(".edgtf-section-title.edgtf-section-animate-on-appear");e.length&&e.appear(function(){S(this).addClass("edgtf-appeared")},{accX:0,accY:edgtfGlobalVars.vars.edgtfElementAppearAmount})}function Q(){var e=S(".edgtf-animations-holder");e.length&&!edgtf.htmlEl.hasClass("touch")&&e.appear(function(){var e=S(this),t=void 0!==(t=e.attr("data-animation-delay"))&&""!==t?parseInt(t):0;setTimeout(function(){e.addClass("edgtf-appeared")},t)},{accX:0,accY:edgtfGlobalVars.vars.edgtfElementAppearAmount})}}(jQuery),function(s){"use strict";var e={};function t(){s(document).on("click",".edgtf-quantity-minus, .edgtf-quantity-plus",function(e){e.stopPropagation();var t,e=s(this),o=e.siblings(".edgtf-quantity-input"),d=parseFloat(o.data("step")),i=parseFloat(o.data("max")),a=parseFloat(o.data("min")),n=!1,a="function"==typeof Number.isNaN&&Number.isNaN(parseFloat(o.val()))?a:parseFloat(o.val());(n=e.hasClass("edgtf-quantity-minus")?!0:n)?1<=(t=a-d)?o.val(t):o.val(0):(t=a+d,void 0!==i&&i<=t?o.val(i):o.val(t)),o.trigger("change")});var e=s(".woocommerce-ordering .orderby");e.length&&e.select2({minimumResultsForSearch:1/0}),(e=s(".edgtf-woocommerce-page .edgtf-content .variations td.value select")).length&&e.select2(),(e=s("#calc_shipping_country")).length&&e.select2(),(e=s(".cart-collaterals .shipping select#calc_shipping_state")).length&&e.select2(),(e=s(".edgtf-woo-single-page.edgtf-woo-single-has-pretty-photo .images .woocommerce-product-gallery__image")).length&&(e.children("a").attr("data-rel","prettyPhoto[woo_single_pretty_photo]"),"function"==typeof edgtf.modules.common.edgtfPrettyPhoto)&&edgtf.modules.common.edgtfPrettyPhoto()}function o(){i()}function d(){i()}function i(){var e=s(".edgtf-pl-holder.edgtf-masonry-layout .edgtf-pl-outer");e.length&&e.each(function(){var e=s(this);e.waitForImages(function(){e.isotope({itemSelector:".edgtf-pli",resizable:!1,masonry:{columnWidth:".edgtf-pl-sizer",gutter:".edgtf-pl-gutter"}}),e.isotope("layout").css("opacity",1)})})}(edgtf.modules.woocommerce=e).edgtfOnDocumentReady=t,e.edgtfOnWindowLoad=o,e.edgtfOnWindowResize=d,s(document).ready(t),s(window).on("load",o),s(window).resize(d)}(jQuery),function(h){"use strict";var e={};function t(){n(),f(),c().init(),l(),u(),750<edgtf.windowWidth&&h(".edgtf-horizontally-scrolling-portfolio-list-page").length&&(h("html").addClass("edgtf-horizontally-scrolling-html"),window.addEventListener)&&window.addEventListener("mousewheel",p,{passive:!1}),750<edgtf.windowWidth?h(".edgtf-horizontally-scrolling-portfolio-list-holder").length&&h(".edgtf-horizontally-scrolling-portfolio-list-holder").each(function(){var t=h(this),o=t.find(".edgtf-hspl-images-row:first"),d=0;t.waitForImages(function(){var e;t.height(h("body").height()-edgtf.passepartoutBottom-edgtfGlobalVars.vars.edgtfMenuAreaHeight-edgtfGlobalVars.vars.edgtfLogoAreaHeight),768<edgtf.windowWidth?h(".edgtf-hspl-cover-image").width(Math.ceil(h(".edgtf-wrapper").width()/2)):h(".edgtf-hspl-cover-image").width(Math.ceil(h(".edgtf-wrapper").width())),h(".edgtf-hspl-cover-image").length&&(d+=h(".edgtf-hspl-cover-image").width()),o.length&&(e=o.find("article"),t.find(".edgtf-hspl-images-row").find("article").each(function(){var e=h(this);e.width(e.find("img").width())}),e.each(function(){var e=h(this);d+=Math.ceil(e.width())})),t.width(d+edgtf.passepartoutBottom),h(".edgtf-horizontally-scrolling-portfolio-list-holder").css("opacity",1)})}):h(".edgtf-horizontally-scrolling-portfolio-list-holder").css("opacity",1),600<edgtf.windowWidth&&h(".edgtf-hspl-cover-image").length&&h(".edgtf-hspl-cover-image").each(function(){var e=h(this),d=(e.verticalParallax("50%",.3),e.find(".edgtf-hspl-cover-image-text-holder"));d.length&&h(window).scroll(function(){var e,t,o;d.length&&(e=d.offset().left,t=d.width(),(o=h(window).scrollLeft())<=e+t)&&(o=Math.abs((o-e)/(.7*t-e)-1),d.css("opacity",o))})})}function o(){a().init(),g().init()}function d(){}function i(){}(edgtf.modules.portfolio=e).edgtfOnDocumentReady=t,e.edgtfOnWindowLoad=o,e.edgtfOnWindowResize=d,e.edgtfOnWindowScroll=i,e.edgtfPortfolioSingleMasonry=n,e.edgtfPortfolioWideSlider=f,e.edgtfPortfolioRelatedProducts=l,e.edgtfInitMasonryHoverPageEffect=u,h(document).ready(t),h(window).on("load",o),h(window).resize(d),h(window).scroll(i);var a=function(){var t,o,d,e,i,a=h(".edgtf-follow-portfolio-info .small-images.edgtf-portfolio-single-holder .edgtf-portfolio-info-holder, .edgtf-follow-portfolio-info .small-slider.edgtf-portfolio-single-holder .edgtf-portfolio-info-holder, .edgtf-follow-portfolio-info .wide-images.edgtf-portfolio-single-holder .edgtf-portfolio-info-holder, .edgtf-follow-portfolio-info .gallery.edgtf-portfolio-single-holder .edgtf-portfolio-info-holder");a.length&&1024<edgtf.windowWidth&&(e=a.parent(),t=e.offset().top,o=e.height(),d=h(".edgtf-portfolio-media").height(),e=h(".header-appear, .edgtf-fixed-wrapper"),i=e.length?e.height():0);return{init:function(){var e;a.length&&1024<edgtf.windowWidth&&o<d&&edgtf.scroll>t&&(e=edgtf.scroll-t+edgtfGlobalVars.vars.edgtfAddForAdminBar+i+20,d<e+o&&(e=d-o),a.animate({marginTop:e})),h(window).scroll(function(){a.length&&o<d&&(edgtf.scroll>t?edgtf.scroll+i+edgtfGlobalVars.vars.edgtfAddForAdminBar+o+100<t+d?(h(".header-appear, .edgtf-fixed-wrapper").length&&(i=h(".header-appear, .edgtf-fixed-wrapper").height()),a.stop().animate({marginTop:edgtf.scroll-t+edgtfGlobalVars.vars.edgtfAddForAdminBar+i+20}),i=0):a.stop().animate({marginTop:d-o}):a.stop().animate({marginTop:0}))})}}};function n(){var e=h(".edgtf-portfolio-single-holder.small-masonry .edgtf-portfolio-media, .edgtf-portfolio-single-holder.big-masonry .edgtf-portfolio-media");e.length&&e.each(function(){var e=h(this);e.waitForImages(function(){r(e.find(".edgtf-single-masonry-grid-sizer").width(),e),s(e)}),h(window).resize(function(){r(e.find(".edgtf-single-masonry-grid-sizer").width(),e),s(e)})})}function s(e){e.animate({opacity:1}),e.isotope({itemSelector:".edgtf-portfolio-single-media",masonry:{columnWidth:".edgtf-single-masonry-grid-sizer"}})}function r(e,t){var o=t.find(".edgtf-default-masonry-item"),d=t.find(".edgtf-large-width-masonry-item"),i=t.find(".edgtf-large-height-masonry-item"),t=t.find(".edgtf-large-width-height-masonry-item");o.css("height",e),i.css("height",Math.round(2*e)),600<edgtf.windowWidth?(t.css("height",Math.round(2*e)),d.css("height",e)):(t.css("height",e),d.css("height",Math.round(e/2)))}function l(){var e,t,o,d,i=h(".edgtf-portfolio-related-holder");i.length&&(e=i.find(".edgtf-related-prev"),t=i.find(".edgtf-related-next"),o=i.find(".edgtf-slick-prev"),d=i.find(".edgtf-slick-next"),e.on("click",function(){o.trigger("click")}),t.on("click",function(){d.trigger("click")}))}function f(){var t=h(".edgtf-ptf-wide-slider");t.length&&(t.on("init",function(e){t.find(".slick-slide").each(function(){var t=h(this),o=0,d=0,e=!1;t.on("mousedown",function(){o=0,e=!(d=1)}),t.on("mousemove",function(){1==d&&(e&&(o=1),e=!0)}),t.on("mouseleave",function(){o=0}),t.on("mouseup",function(e){1===o?t.find('a[data-rel^="prettyPhoto"]').off("click"):edgtf.modules.common.edgtfPrettyPhoto(),d=o=0})})}),t.slick({infinite:!0,autoplay:!0,slidesToShow:1,centerMode:!0,centerPadding:"16%",arrows:!0,dots:!1,adaptiveHeight:!0,prevArrow:'<span class="edgtf-slick-prev edgtf-prev-icon"><span class="arrow_carrot-left"></span></span>',nextArrow:'<span class="edgtf-slick-next edgtf-next-icon"><span class="arrow_carrot-right"></span></span>'}))}var g=function(){function e(){var e;c.length&&edgtf.htmlEl.hasClass("no-touch")&&((e=n.find(".edgtf-sticky-header")).length?f=e.hasClass("header-appear")?edgtfGlobalVars.vars.edgtfStickyHeaderTransparencyHeight+edgtfGlobalVars.vars.edgtfAddForAdminBar+15:0<r-edgtf.scroll?edgtfGlobalVars.vars.edgtfAddForAdminBar+r-5:24:s.length&&(f=edgtfGlobalVars.vars.edgtfAddForAdminBar+l+15),c.length)&&d<a&&edgtf.htmlEl.hasClass("no-touch")&&c.css("top",f+"px")}function t(){c.length&&edgtf.htmlEl.hasClass("no-touch")?(d=c.outerHeight()+30,a=i.height(),d<a&&edgtf.htmlEl.hasClass("no-touch")&&(s.length&&(r=l),edgtf.scroll>=o-r-edgtfGlobalVars.vars.edgtfAddForAdminBar?"fixed"!==c.css("position")&&(c.css("position","fixed"),0<edgtf.scroll)&&(c.addClass("edgtf-animating"),c.one("webkitAnimationEnd oanimationend msAnimationEnd animationend",function(){c.removeClass("edgtf-animating")})):c.css("position","static"),o+a<=edgtf.scroll+d+f?c.stop().css("margin-top",o+a-edgtf.scroll-d-f+"px"):c.css("margin-top","0")),c.hasClass("edgtf-appeared")||c.addClass("edgtf-appeared")):edgtf.htmlEl.hasClass("touch")&&!c.hasClass("edgtf-appeared")&&c.addClass("edgtf-appeared")}var o,d,i,a,n,s,r,l,f,g=h(".edgtf-portfolio-single-holder.split-screen"),c=h(".edgtf-follow-portfolio-info .split-screen.edgtf-portfolio-single-holder .edgtf-portfolio-info-holder");c.length&&edgtf.htmlEl.hasClass("no-touch")&&(o=c.parent().offset().top,d=c.outerHeight()+100,i=h(".edgtf-portfolio-media"),a=i.height(),n=h(".edgtf-page-header"),s=n.find(".edgtf-fixed-wrapper"),r=n.length?n.height():0,l=s.length?s.height():0,f=r+15);return{init:function(){g.length&&(c.length&&edgtf.htmlEl.hasClass("no-touch")&&c.css("width",c.width()),t(),e(),h(window).scroll(function(){t(),e()}),h(window).resize(function(){e(),t()}))}}},c=function(){function i(){var e,t,o,d;a.length&&(e=parseInt(n.css("margin-top")),t=a.find(".edgtf-portfolio-single-media"),o=h(".edgtf-title"),d=edgtf.windowHeight,edgtf.body.hasClass("edgtf-passepartout")&&(d-=2*h(".edgtf-passepartout-top").outerHeight()),o.length&&(d-=o.height()),1024<edgtf.windowWidth?0<=e&&(d-=edgtfGlobalVars.vars.edgtfMenuAreaHeight):d-=edgtfGlobalVars.vars.edgtfMobileHeaderHeight,r.css("height",d),a.css("height",d),t.css("height",d))}var a=h(".edgtf-full-screen-slider-holder"),n=h(".edgtf-wrapper .edgtf-content"),s=h(".edgtf-portfolio-full-screen-slider"),r=h(".full-screen-slider");return{init:function(){var t,e,o,d;i(),a.length&&s.each(function(){var o=h(this);o.on("init",function(e){o.find(".slick-active.edgtf-portfolio-single-media").hasClass("edgtf-slide-dark-skin")?o.removeClass("edgtf-slide-light-skin").addClass("edgtf-slide-dark-skin"):o.removeClass("edgtf-slide-dark-skin").addClass("edgtf-slide-light-skin")}),o.on("afterChange",function(e,t){o.find(".slick-active.edgtf-portfolio-single-media").hasClass("edgtf-slide-dark-skin")?o.removeClass("edgtf-slide-light-skin").addClass("edgtf-slide-dark-skin"):o.removeClass("edgtf-slide-dark-skin").addClass("edgtf-slide-light-skin")}),o.slick({vertical:!0,verticalSwiping:!0,infinite:!0,slidesToShow:1,arrows:!0,dots:!1,easing:"easeOutQuart",dotsClass:"edgtf-slick-dots",prevArrow:'<span class="edgtf-slick-prev edgtf-prev-icon"><span class="arrow_carrot-up"></span></span>',nextArrow:'<span class="edgtf-slick-next edgtf-prev-icon"><span class="arrow_carrot-down"></span></span>',customPaging:function(e,t){return'<span class="edgtf-slick-dot-inner"></span>'}}).animate({opacity:1},600)}),a.length&&(t=h(".edgtf-portfolio-slider-content"),e=h(".edgtf-control.edgtf-close"),o=h(".edgtf-description"),d=h(".edgtf-portfolio-slider-content-info"),t.on("click",function(e){e.preventDefault(),t.hasClass("opened")||o.fadeOut(400,function(){t.addClass("opened"),setTimeout(function(){d.fadeIn(400),edgtf.modules.shortcodes.edgtfButton().init()},400),setTimeout(function(){h(".edgtf-portfolio-slider-content-info").niceScroll({scrollspeed:60,mousescrollstep:40,cursorwidth:0,cursorborder:0,cursorborderradius:0,cursorcolor:"transparent",autohidemode:!1,horizrailenabled:!1})},800)})}),e.on("click",function(e){e.preventDefault(),e.stopPropagation(),d.fadeOut(400,function(){t.removeClass("opened"),setTimeout(function(){o.fadeIn(400)},400)})})),h(window).resize(function(){i()})}}};function u(){var e,o,d=h(".edgtf-portfolio-list-holder-outer.edgtf-ptf-hover-hover-page");d.length&&1024<edgtf.windowWidth&&(edgtf.body.find(".edgtf-pl-fp-info-wrapper").remove(),e=d.find(".edgtf-portfolio-list-holder").children("article"),edgtf.body.append('<div class="edgtf-pl-fp-info-wrapper"></div>'),o=h(".edgtf-pl-fp-info-wrapper"),e.each(function(){var t=h(this),e=t.find(".edgtf-pli-text");o.append('<div class="edgtf-pl-fp-info"><div class="edgtf-pl-fp-table"><div class="edgtf-pl-fp-table-cell"><div class="edgtf-pl-fp-text">'+e.clone().html()+"</div></div></div></div>"),t.on("mouseenter",function(){d.removeClass("on");var e=t.index();o.find(".edgtf-pl-fp-info").eq(e).addClass("active"),d.addClass("on")}),t.on("mouseleave",function(){o.find(".edgtf-pl-fp-info.active").removeClass("active"),d.removeClass("on")})}))}function p(e){var t=e.wheelDelta/120||-e.detail/3,o=(20<=Math.abs(t)&&(t/=20),e.preventDefault(),{x:edgtf.modules.common.edgtfgetScrollX(),y:edgtf.modules.common.edgtfgetScrollY()});TweenMax.to(o,.5,{x:o.x-500*t,onUpdate:function(){window.scrollTo(o.x,o.y)}})}}(jQuery);