/*! * WPBakery Page Builder v6.0.0 (https://wpbakery.com) * Copyright 2011-2020 Michael M, WPBakery * License: Commercial. More details: http://go.wpbakery.com/licensing */ document.documentElement.className+=" js_active ",function(){"function"!=typeof window.vc_js&&(window.vc_js=function(){"use strict";vc_toggleBehaviour(),vc_tabsBehaviour(),vc_accordionBehaviour(),vc_teaserGrid(),vc_carouselBehaviour(),vc_slidersBehaviour(),vc_prettyPhoto(),vc_pinterest(),vc_progress_bar(),vc_plugin_flexslider(),vc_gridBehaviour(),vc_rowBehaviour(),vc_prepareHoverBox(),vc_googleMapsPointer(),vc_ttaActivation(),jQuery(document).trigger("vc_js"),window.setTimeout(vc_waypoints,500)}),"function"!=typeof window.vc_plugin_flexslider&&(window.vc_plugin_flexslider=function(e){(e?e.find(".wpb_flexslider"):jQuery(".wpb_flexslider")).each((function(){var e=jQuery(this),t=1e3*parseInt(e.attr("data-interval"),10),i=e.attr("data-flex_fx"),o=!0;0==t&&(o=!1),e.is(":visible")&&e.flexslider({animation:i,slideshow:o,slideshowSpeed:t,sliderSpeed:800,smoothHeight:!0})}))}),"function"!=typeof window.vc_googleplus&&(window.vc_googleplus=function(){0=t.tabs("length")&&(i=0),t.tabs("select",i)):(i=t.tabs("option","active"),n=t.find(".wpb_tab").length,i=jQuery(this).parent().hasClass("wpb_next_slide")?n<=i+1?0:i+1:i-1<0?n-1:i-1,t.tabs("option","active",i))}))}))}}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each((function(e){var t,i,o,n=jQuery(this);n.attr("data-interval"),o=!1===(i=!isNaN(jQuery(this).data("active-tab"))&&0 div > h3",autoHeight:!1,heightStyle:"content",active:i,collapsible:o,navigation:!0,activate:vc_accordionActivate,change:function(e,t){void 0!==jQuery.fn.isotope&&t.newContent.find(".isotope").isotope("layout"),vc_carouselBehaviour(t.newPanel)}}),!0===n.data("vcDisableKeydown")&&(t.data("uiAccordion")._keydown=function(){})}))}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var e={fitrows:"fitRows",masonry:"masonry"};jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each((function(){var t=jQuery(this),i=t.find(".wpb_thumbnails"),o=i.attr("data-layout-mode");i.isotope({itemSelector:".isotope-item",layoutMode:void 0===e[o]?"fitRows":e[o]}),t.find(".categories_filter a").data("isotope",i).on("click",(function(e){e&&e.preventDefault&&e.preventDefault();var t=jQuery(this).data("isotope");jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),t.isotope({filter:jQuery(this).attr("data-filter")})})),jQuery(window).bind("load resize",(function(){i.isotope("layout")}))}))}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function(i){(i?i.find(".wpb_carousel"):jQuery(".wpb_carousel")).each((function(){var i=jQuery(this);if(!0!==i.data("carousel_enabled")&&i.is(":visible")){i.data("carousel_enabled",!0),getColumnsCount(jQuery(this)),jQuery(this).hasClass("columns_count_1");var o=jQuery(this).find(".wpb_thumbnails-fluid li");o.css({"margin-right":o.css("margin-left"),"margin-left":0});var n=jQuery(this).find("ul.wpb_thumbnails-fluid");n.width(n.width()+300),jQuery(window).on("resize",(function(){e!=(e=t())&&window.setTimeout((function(){location.reload()}),20)}))}}))}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each((function(e){var t,i=jQuery(this);if(i.hasClass("wpb_slider_nivo")){var o=1e3*i.attr("data-interval");0===o&&(o=9999999999),i.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:o,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next"})}else i.hasClass("wpb_image_grid")&&(jQuery.fn.imagesLoaded?t=i.find(".wpb_image_grid_ul").imagesLoaded((function(){t.isotope({itemSelector:".isotope-item",layoutMode:"fitRows"})})):i.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows"}))}))}),"function"!=typeof window.vc_prettyPhoto&&(window.vc_prettyPhoto=function(){try{jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto&&jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({animationSpeed:"normal",hook:"data-rel",padding:15,opacity:.7,showTitle:!0,allowresize:!0,counter_separator_label:"/",hideflash:!1,deeplinking:!1,modal:!1,callback:function(){-1')})),vc_initVideoBackgrounds(),t=!1,window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),i(".vc_parallax-inner").remove(),i("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),i("[data-vc-parallax]").each((function(){var e,o,n,a,r;t=!0,"on"===i(this).data("vcParallaxOFade")&&i(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),e=100*i(this).data("vcParallax"),(n=i("
").addClass("vc_parallax-inner").appendTo(i(this))).height(e+"%"),a=i(this).data("vcParallaxImage"),(r=vcExtractYoutubeId(a))?insertYoutubeVideoAsBackground(n,r):void 0!==a&&n.css("background-image","url("+a+")"),o=-(e-100),n.attr("data-bottom-top","top: "+o+"%;").attr("data-top-bottom","top: 0%;")})),t&&window.skrollr&&(e={forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}},window.vcParallaxSkroll=skrollr.init(e),window.vcParallaxSkroll)}),"function"!=typeof window.vc_gridBehaviour&&(window.vc_gridBehaviour=function(){jQuery.fn.vcGrid&&jQuery("[data-vc-grid]").vcGrid()}),"function"!=typeof window.getColumnsCount&&(window.getColumnsCount=function(e){for(var t=!1,i=1;!1===t;){if(e.hasClass("columns_count_"+i))return t=!0,i;i++}});var e=t();function t(){var e=jQuery(window).width();return 1170
').find(".inner");new YT.Player(o[0],{width:"100%",height:"100%",videoId:t,playerVars:{playlist:t,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,wmode:"transparent"},events:{onReady:function(e){e.target.mute().setLoop(!0)}}}),vcResizeVideoBackground(e),jQuery(window).bind("resize",(function(){vcResizeVideoBackground(e)}))}),"function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function(e){var t,i,o,n,a=e.innerWidth(),r=e.innerHeight();a/r<16/9?(t=r*(16/9),i=r,o=-Math.round((t-a)/2)+"px",n=-Math.round((i-r)/2)+"px"):(i=(t=a)*(9/16),n=-Math.round((i-r)/2)+"px",o=-Math.round((t-a)/2)+"px"),t+="px",i+="px",e.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:o,marginTop:n,width:t,height:i})}),"function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(e){if(void 0===e)return!1;var t=e.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/);return null!==t&&t[1]}),"function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){var e=window.jQuery,t=e(".wpb_gmaps_widget");t.on("click",(function(){e("iframe",this).css("pointer-events","auto")})),t.on("mouseleave",(function(){e("iframe",this).css("pointer-events","none")})),e(".wpb_gmaps_widget iframe").css("pointer-events","none")}),"function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(e){e.each((function(){var e=jQuery(this),t=4*e.width()+"px";e.css("perspective",t)}))}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(e){e.each((function(){var e=jQuery(this),t=e.find(".vc-hoverbox-inner");t.css("min-height",0);var i=e.find(".vc-hoverbox-front-inner").outerHeight(),o=e.find(".vc-hoverbox-back-inner").outerHeight(),n=o