1/* NM: WPBakery Page Builder scripts */ 2var vc_js=function(){vc_toggleBehaviour();vc_tabsBehaviour();vc_accordionBehaviour();vc_pinterest();vc_progress_bar();vc_google_fonts();window.setTimeout(vc_waypoints,500)};jQuery(document).ready(function(a){window.vc_js()}); 3"function"!==typeof window.vc_pinterest&&(window.vc_pinterest=function(){if(0<jQuery(".wpb_pinterest").length){var a=document.createElement("script");a.type="text/javascript";a.async=!0;a.src="http://assets.pinterest.com/js/pinit.js";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}}); 4"function"!==typeof window.vc_progress_bar&&(window.vc_progress_bar=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".vc_progress_bar").each(function(){var a=jQuery(this);a.vcwaypoint(function(){a.find(".vc_single_bar").each(function(a){var b=jQuery(this).find(".vc_bar"),d=b.data("percentage-value");setTimeout(function(){b.css({width:d+"%"})},200*a)})},{offset:"85%"})})}); 5"function"!=typeof window.vc_waypoints&&(window.vc_waypoints=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".wpb_animate_when_almost_visible:not(.wpb_start_animation)").each(function(){var a=jQuery(this);a.vcwaypoint(function(){a.addClass("wpb_start_animation animated")},{offset:"85%"})})}); 6"function"!==typeof window.vc_toggleBehaviour&&(window.vc_toggleBehaviour=function(a){var b=function(a){a&&a.preventDefault&&a.preventDefault();var b=jQuery(this).closest(".vc_toggle");a=b.find(".vc_toggle_content");b.hasClass("vc_toggle_active")?a.slideUp({duration:300,complete:function(){b.removeClass("vc_toggle_active")}}):a.slideDown({duration:300,complete:function(){b.addClass("vc_toggle_active")}})};if(a)a.hasClass("vc_toggle_title")?a.unbind("click").click(b):a.find(".vc_toggle_title").unbind("click").click(b); 7else jQuery(".vc_toggle_title").unbind("click").on("click",b)}); 8"function"!==typeof window.vc_tabsBehaviour&&(window.vc_tabsBehaviour=function(a){if(jQuery.ui){a=a||jQuery(".wpb_tabs, .wpb_tour");var b=jQuery.ui&&jQuery.ui.version?jQuery.ui.version.split("."):"1.10",c=1==parseInt(b[0])&&9>parseInt(b[1]);a.each(function(a){a=jQuery(this).attr("data-interval");var b=[];var d=jQuery(this).find(".wpb_tour_tabs_wrapper").tabs({show:function(a,b){wpb_prepare_tab_content(a,b)},beforeActivate:function(a,b){1!==b.newPanel.index()&&b.newPanel.find(".vc_pie_chart:not(.vc_ready)")}, 9activate:function(a,b){wpb_prepare_tab_content(a,b)}});if(a&&0<a)try{d.tabs("rotate",1E3*a)}catch(f){window.console&&window.console.log&&console.log(f)}jQuery(this).find(".wpb_tab").each(function(){b.push(this.id)});jQuery(this).find(".wpb_tabs_nav li").click(function(a){a.preventDefault();c?d.tabs("select",jQuery("a",this).attr("href")):d.tabs("option","active",jQuery(this).index());return!1});jQuery(this).find(".wpb_prev_slide a, .wpb_next_slide a").click(function(a){a.preventDefault();if(c)a=d.tabs("option", 10"selected"),jQuery(this).parent().hasClass("wpb_next_slide")?a++:a--,0>a?a=d.tabs("length")-1:a>=d.tabs("length")&&(a=0),d.tabs("select",a);else{a=d.tabs("option","active");var b=d.find(".wpb_tab").length;a=jQuery(this).parent().hasClass("wpb_next_slide")?a+1>=b?0:a+1:0>a-1?b-1:a-1;d.tabs("option","active",a)}})})}}); 11"function"!==typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(a){a=jQuery(this);a.attr("data-interval");var b=!isNaN(jQuery(this).data("active-tab"))&&0<parseInt(a.data("active-tab"))?parseInt(a.data("active-tab"))-1:!1;var c=!1===b||"yes"===a.data("collapsible");b=a.find(".wpb_accordion_wrapper").accordion({header:"> div > h3",autoHeight:!1,heightStyle:"content",active:b,collapsible:c,navigation:!0,activate:vc_accordionActivate, 12change:function(a,b){void 0!=jQuery.fn.isotope&&b.newContent.find(".isotope").isotope("layout")}});!0===a.data("vcDisableKeydown")&&(b.data("uiAccordion")._keydown=function(){})})});"function"!==typeof window.vc_google_fonts&&(window.vc_google_fonts=function(){return!1}); 13"function"!==typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(a,b){var c=b.panel||b.newPanel,d=c.find(".vc_pie_chart:not(.vc_ready)");d.length&&jQuery.fn.vcChat&&d.vcChat();$ui_panel=c.find(".isotope, .wpb_image_grid_ul");0<$ui_panel.length&&$ui_panel.isotope("layout");c.parents(".isotope").length&&c.parents(".isotope").each(function(){jQuery(this).isotope("layout")})}); 14var vc_accordionActivate=function(a,b){if(b.newPanel.length&&b.newHeader.length){var c=b.newPanel.find(".vc_pie_chart:not(.vc_ready)");
14void 0!=jQuery.fn.isotope&&b.newPanel.find(".isotope, .wpb_image_grid_ul").isotope("layout");c.length&&jQuery.fn.vcChat&&c.vcChat();b.newPanel.parents(".isotope").length&&b.newPanel.parents(".isotope").each(function(){jQuery(this).isotope("layout")})}}; 15function insertYoutubeVideoAsBackground(a,b,c){if("undefined"===typeof YT.Player)c="undefined"===typeof c?0:c,100<c?console.warn("Too many attempts to load YouTube api"):setTimeout(function(){insertYoutubeVideoAsBackground(a,b,c++)},100);else{var d=a.prepend('<div class="vc_video-bg"><div class="inner"></div></div>').find(".inner");new YT.Player(d[0],{width:"100%",height:"100%",videoId:b,playerVars:{playlist:b,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1}, 16events:{onReady:function(a){a.target.mute().setLoop(!0)}}});vcResizeVideoBackground(a);jQuery(window).bind("resize",function(){vcResizeVideoBackground(a)})}} 17function vcResizeVideoBackground(a){var b=a.innerWidth();var c=a.innerHeight();if(b/c<16/9){var d=16/9*c;var e=c;b=-Math.round((d-b)/2)+"px";c=-Math.round((e-c)/2)+"px"}else d=b,e=.5625*b,c=-Math.round((e-c)/2)+"px",b=-Math.round((d-b)/2)+"px";d+="px";e+="px";a.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:b,marginTop:c,width:d,height:e})} 18function vcExtractYoutubeId(a){if("undefined"===typeof a)return!1;a=a.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/);return null!==a?a[1]:!1};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.