MOON
Server: Apache
System: Linux server30c.hostingraja.org 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
User: seoprovi (1222)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: /home/seoprovi/bcssiliguri.in/js/tab.js
icl_lang=icl_vars.current_language;icl_home=icl_vars.icl_home;function addLoadEvent(func){var oldonload=window.onload;if(typeof window.onload!='function'){window.onload=func;}else{window.onload=function(){if(oldonload){oldonload();}
func();}}}
function icl_retry_mtr(a){var id=a.getAttribute('id');spl=id.split('_');var loc=location.href.replace(/#(.*)$/,'').replace(/(&|\?)(retry_mtr)=([0-9]+)/g,'').replace(/&nonce=([0-9a-z]+)(&|$)/g,'');if(-1==loc.indexOf('?')){url_glue='?';}else{url_glue='&';}
location.href=loc+url_glue+'retry_mtr='+spl[3]+'&nonce='+spl[4];return false;};document.documentElement.className+=' js_active ';document.documentElement.className+='ontouchstart'in document.documentElement?' vc_mobile ':' vc_desktop ';(function(){var prefix=['-webkit-','-moz-','-ms-','-o-',''];for(var i=0;i<prefix.length;i++){if(prefix[i]+'transform'in document.documentElement.style){document.documentElement.className+=" vc_transform ";}}})();function vc_js(){vc_twitterBehaviour();vc_toggleBehaviour();vc_tabsBehaviour();vc_accordionBehaviour();vc_teaserGrid();vc_carouselBehaviour();vc_slidersBehaviour();vc_prettyPhoto();vc_googleplus();vc_pinterest();vc_progress_bar();vc_plugin_flexslider();vc_google_fonts();vc_gridBehaviour();vc_rowBehaviour();vc_ttaActivation();jQuery(document).trigger('vc_js');window.setTimeout(vc_waypoints,500);}
if('function'!==typeof(window['vc_plugin_flexslider'])){window.vc_plugin_flexslider=function($parent){var $slider=$parent?$parent.find('.wpb_flexslider'):jQuery('.wpb_flexslider');$slider.each(function(){var this_element=jQuery(this);var sliderSpeed=800,sliderTimeout=parseInt(this_element.attr('data-interval'))*1000,sliderFx=this_element.attr('data-flex_fx'),slideshow=true;if(0===sliderTimeout){slideshow=false;}
this_element.is(':visible')&&this_element.flexslider({animation:sliderFx,slideshow:slideshow,slideshowSpeed:sliderTimeout,sliderSpeed:sliderSpeed,smoothHeight:true});});};}
if('function'!==typeof(window['vc_twitterBehaviour'])){window.vc_twitterBehaviour=function(){jQuery('.wpb_twitter_widget .tweets').each(function(index){var this_element=jQuery(this),tw_name=this_element.attr('data-tw_name'),tw_count=this_element.attr('data-tw_count');this_element.tweet({username:tw_name,join_text:"auto",avatar_size:0,count:tw_count,template:"{avatar}{join}{text}{time}",auto_join_text_default:"",auto_join_text_ed:"",auto_join_text_ing:"",auto_join_text_reply:"",auto_join_text_url:"",loading_text:'<span class="loading_tweets">loading tweets...</span>'});});};}
if('function'!==typeof(window['vc_googleplus'])){window.vc_googleplus=function(){if(0<jQuery('.wpb_googleplus').length){(function(){var po=document.createElement('script');po.type='text/javascript';po.async=true;po.src='https://apis.google.com/js/plusone.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(po,s);})();}}}
if('function'!==typeof(window['vc_pinterest'])){window.vc_pinterest=function(){if(0<jQuery('.wpb_pinterest').length){(function(){var po=document.createElement('script');po.type='text/javascript';po.async=true;po.src='http://assets.pinterest.com/js/pinit.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(po,s);})();}}}
if('function'!==typeof(window['vc_progress_bar'])){window.vc_progress_bar=function(){if('undefined'!==typeof(jQuery.fn.waypoint)){jQuery('.vc_progress_bar').waypoint(function(){jQuery(this).find('.vc_single_bar').each(function(index){var $this=jQuery(this),bar=$this.find('.vc_bar'),val=bar.data('percentage-value');setTimeout(function(){bar.css({"width":val+'%'});},index*200);});},{offset:'85%'});}}}
if('function'!==typeof(window['vc_waypoints'])){window.vc_waypoints=function(){if('undefined'!==typeof(jQuery.fn.waypoint)){jQuery('.wpb_animate_when_almost_visible:not(.wpb_start_animation)').waypoint(function(){jQuery(this).addClass('wpb_start_animation');},{offset:'85%'});}}}
if('function'!==typeof(window['vc_toggleBehaviour'])){window.vc_toggleBehaviour=function($el){function event(e){e&&e.preventDefault&&e.preventDefault();var title=jQuery(this);var element=title.closest('.vc_toggle');var content=element.find('.vc_toggle_content');if(element.hasClass('vc_toggle_active')){content.slideUp({duration:300,complete:function(){element.removeClass('vc_toggle_active');}});}else{content.slideDown({duration:300,complete:function(){element.addClass('vc_toggle_active');}});}}
if($el){if($el.hasClass('vc_toggle_title')){$el.unbind('click').click(event);}else{$el.find(".vc_toggle_title").unbind('click').click(event);}}else{jQuery(".vc_toggle_title").unbind('click').on('click',event);}}}
if('function'!==typeof(window['vc_tabsBehaviour'])){window.vc_tabsBehaviour=function($tab){if(jQuery.ui){var $call=$tab||jQuery('.wpb_tabs, .wpb_tour'),ver=jQuery.ui&&jQuery.ui.version?jQuery.ui.version.split('.'):'1.10',old_version=1===parseInt(ver[0])&&9>parseInt(ver[1]);$call.each(function(index){var $tabs,interval=jQuery(this).attr("data-interval"),tabs_array=[];$tabs=jQuery(this).find('.wpb_tour_tabs_wrapper').tabs({show:function(event,ui){wpb_prepare_tab_content(event,ui);},beforeActivate:function(event,ui){1!==ui.newPanel.index()&&ui.newPanel.find('.vc_pie_chart:not(.vc_ready)');},activate:function(event,ui){wpb_prepare_tab_content(event,ui);}});if(interval&&0<interval){try{$tabs.tabs('rotate',interval*1000);}catch(e){window.console&&window.console.log&&console.log(e);}}
jQuery(this).find('.wpb_tab').each(function(){tabs_array.push(this.id);});jQuery(this).find('.wpb_tabs_nav li').click(function(e){e.preventDefault();if(old_version){$tabs.tabs("select",jQuery('a',this).attr('href'));}else{$tabs.tabs("option","active",jQuery(this).index());}
return false;});jQuery(this).find('.wpb_prev_slide a, .wpb_next_slide a').click(function(e){e.preventDefault();if(old_version){var index=$tabs.tabs('option','selected');if(jQuery(this).parent().hasClass('wpb_next_slide')){index++;}
else{index--;}
if(0>index){index=$tabs.tabs("length")-1;}
else if(index>=$tabs.tabs("length")){index=0;}
$tabs.tabs("select",index);}else{var index=$tabs.tabs("option","active"),length=$tabs.find('.wpb_tab').length;if(jQuery(this).parent().hasClass('wpb_next_slide')){index=(index+1)>=length?0:index+1;}else{index=0>index-1?length-1:index-1;}
$tabs.tabs("option","active",index);}});});}}}
if('function'!==typeof(window['vc_accordionBehaviour'])){window.vc_accordionBehaviour=function(){jQuery('.wpb_accordion').each(function(index){var $this=jQuery(this);var $tabs,interval=$this.attr("data-interval"),active_tab=!isNaN(jQuery(this).data('active-tab'))&&0<parseInt($this.data('active-tab'))?parseInt($this.data('active-tab'))-1:false,collapsible=false===active_tab||'yes'===$this.data('collapsible');$tabs=$this.find('.wpb_accordion_wrapper').accordion({header:"> div > h3",autoHeight:false,heightStyle:"content",active:active_tab,collapsible:collapsible,navigation:true,activate:vc_accordionActivate,change:function(event,ui){if('undefined'!==typeof(jQuery.fn.isotope)){ui.newContent.find('.isotope').isotope("layout");}
vc_carouselBehaviour(ui.newPanel);}});if(true===$this.data('vcDisableKeydown')){$tabs.data('uiAccordion')._keydown=function(){};}});}}
if('function'!==typeof(window['vc_teaserGrid'])){window.vc_teaserGrid=function(){var layout_modes={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 $container=jQuery(this);var $thumbs=$container.find('.wpb_thumbnails');var layout_mode=$thumbs.attr('data-layout-mode');$thumbs.isotope({itemSelector:'.isotope-item',layoutMode:('undefined'===typeof(layout_modes[layout_mode])?'fitRows':layout_modes[layout_mode])});$container.find('.categories_filter a').data('isotope',$thumbs).click(function(e){e.preventDefault();var $thumbs=jQuery(this).data('isotope');jQuery(this).parent().parent().find('.active').removeClass('active');jQuery(this).parent().addClass('active');$thumbs.isotope({filter:jQuery(this).attr('data-filter')});});jQuery(window).bind('load resize',function(){$thumbs.isotope("layout");});});}}
if('function'!==typeof(window['vc_carouselBehaviour'])){window.vc_carouselBehaviour=function($parent){var $carousel=$parent?$parent.find(".wpb_carousel"):jQuery(".wpb_carousel");$carousel.each(function(){var $this=jQuery(this);if(true!==$this.data('carousel_enabled')&&$this.is(':visible')){$this.data('carousel_enabled',true);var visible_count=getColumnsCount(jQuery(this)),carousel_speed=500;if(jQuery(this).hasClass('columns_count_1')){carousel_speed=900;}
var carousele_li=jQuery(this).find('.wpb_thumbnails-fluid li');carousele_li.css({"margin-right":carousele_li.css("margin-left"),"margin-left":0});jQuery(this).find('.wpb_wrapper:eq(0)').jCarouselLite({btnNext:jQuery(this).find('.next'),btnPrev:jQuery(this).find('.prev'),visible:visible_count,speed:carousel_speed}).width('100%');var fluid_ul=jQuery(this).find('ul.wpb_thumbnails-fluid');fluid_ul.width(fluid_ul.width()+300);jQuery(window).resize(function(){var before_resize=screen_size;screen_size=getSizeName();if(before_resize!=screen_size){window.setTimeout('location.reload()',20);}});}});}}
if('function'!==typeof(window['vc_slidersBehaviour'])){window.vc_slidersBehaviour=function(){jQuery('.wpb_gallery_slides').each(function(index){var this_element=jQuery(this);var $imagesGrid;if(this_element.hasClass('wpb_slider_nivo')){var sliderSpeed=800,sliderTimeout=this_element.attr('data-interval')*1000;if(0===sliderTimeout){sliderTimeout=9999999999;}
this_element.find('.nivoSlider').nivoSlider({effect:'boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse',slices:15,boxCols:8,boxRows:4,animSpeed:sliderSpeed,pauseTime:sliderTimeout,startSlide:0,directionNav:true,directionNavHide:true,controlNav:true,keyboardNav:false,pauseOnHover:true,manualAdvance:false,prevText:'Prev',nextText:'Next'});}
else if(this_element.hasClass('wpb_image_grid')){if(jQuery.fn.imagesLoaded){$imagesGrid=this_element.find('.wpb_image_grid_ul').imagesLoaded(function(){$imagesGrid.isotope({itemSelector:'.isotope-item',layoutMode:'fitRows'});});}else{this_element.find('.wpb_image_grid_ul').isotope({itemSelector:'.isotope-item',layoutMode:'fitRows'});}}});}}
if('function'!==typeof(window['vc_prettyPhoto'])){window.vc_prettyPhoto=function(){try{if(jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto){jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({animationSpeed:'normal',padding:15,opacity:0.7,showTitle:true,allowresize:true,counter_separator_label:'/',hideflash:false,deeplinking:false,modal:false,callback:function(){var url=location.href;var hashtag=(url.indexOf('#!prettyPhoto'))?true:false;if(hashtag){location.hash="!";}},social_tools:''});}}catch(err){window.console&&window.console.log&&console.log(err);}}}
if('function'!==typeof(window['vc_google_fonts'])){window.vc_google_fonts=function(){return false;}}
window.vcParallaxSkroll=false;if('function'!==typeof(window['vc_rowBehaviour'])){window.vc_rowBehaviour=function(){var $=window.jQuery;function localFunction(){var $elements=$('[data-vc-full-width="true"]');$.each($elements,function(key,item){var $el=$(this);$el.addClass('vc_hidden');var $el_full=$el.next('.vc_row-full-width');var el_margin_left=parseInt($el.css('margin-left'),10);var el_margin_right=parseInt($el.css('margin-right'),10);var offset=0-$el_full.offset().left-el_margin_left;var width=$(window).width();$el.css({'position':'relative','left':offset,'box-sizing':'border-box','width':$(window).width()});if(!$el.data('vcStretchContent')){var padding=(-1*offset);if(0>padding){padding=0;}
var paddingRight=width-padding-$el_full.width()+el_margin_left+el_margin_right;if(0>paddingRight){paddingRight=0;}
$el.css({'padding-left':padding+'px','padding-right':paddingRight+'px'});}
$el.attr("data-vc-full-width-init","true");$el.removeClass('vc_hidden');});}
function parallaxRow(){var vcSkrollrOptions,vcParallaxSkroll,callSkrollInit=false;if(vcParallaxSkroll){vcParallaxSkroll.destroy();}
$('.vc_parallax-inner').remove();$('[data-5p-top-bottom]').removeAttr('data-5p-top-bottom data-30p-top-bottom');$('[data-vc-parallax]').each(function(){var skrollrSpeed,skrollrSize,skrollrStart,skrollrEnd,$parallaxElement,parallaxImage,youtubeId;callSkrollInit=true;if('on'===$(this).data('vcParallaxOFade')){$(this).children().attr('data-5p-top-bottom','opacity:0;').attr('data-30p-top-bottom','opacity:1;');}
skrollrSize=$(this).data('vcParallax')*100;$parallaxElement=$('<div />').addClass('vc_parallax-inner').appendTo($(this));$parallaxElement.height(skrollrSize+'%');parallaxImage=$(this).data('vcParallaxImage');youtubeId=vcExtractYoutubeId(parallaxImage);if(youtubeId){insertYoutubeVideoAsBackground($parallaxElement,youtubeId);}else if('undefined'!==typeof(parallaxImage)){$parallaxElement.css('background-image','url('+parallaxImage+')');}
skrollrSpeed=skrollrSize-100;skrollrStart=-skrollrSpeed;skrollrEnd=0;$parallaxElement.attr('data-bottom-top','top: '+skrollrStart+'%;').attr('data-top-bottom','top: '+skrollrEnd+'%;');});if(callSkrollInit&&window.skrollr){vcSkrollrOptions={forceHeight:false,smoothScrolling:false,mobileCheck:function(){return false;}};vcParallaxSkroll=skrollr.init(vcSkrollrOptions);return vcParallaxSkroll;}
return false;}
function fullHeightRow(){$('.vc_row-o-full-height:first').each(function(){var $window,windowHeight,offsetTop,fullHeight;$window=$(window);windowHeight=$window.height();offsetTop=$(this).offset().top;if(offsetTop<windowHeight){fullHeight=100-offsetTop/(windowHeight/100);$(this).css('min-height',fullHeight+'vh');}});}
function fixIeFlexbox(){var ua=window.navigator.userAgent;var msie=ua.indexOf("MSIE ");if(msie>0||!!navigator.userAgent.match(/Trident.*rv\:11\./)){$('.vc_row-o-full-height').each(function(){if($(this).css('display')==='flex'){$(this).wrap('<div class="vc_ie-flexbox-fixer"></div>')}});}}
$(window).unbind('resize.vcRowBehaviour').bind('resize.vcRowBehaviour',localFunction);$(window).bind('resize.vcRowBehaviour',fullHeightRow);localFunction();fullHeightRow();fixIeFlexbox();initVideoBackgrounds();parallaxRow();}}
if('function'!==typeof(window['vc_gridBehaviour'])){window.vc_gridBehaviour=function(){jQuery.fn.vcGrid&&jQuery('[data-vc-grid]').vcGrid();}}
if('function'!==typeof(window['getColumnsCount'])){window.getColumnsCount=function(el){var find=false,i=1;while(false===find){if(el.hasClass('columns_count_'+i)){find=true;return i;}
i++;}}}
var screen_size=getSizeName();function getSizeName(){var screen_w=jQuery(window).width();if(1170<screen_w){return'desktop_wide';}
if(960<screen_w&&1169>screen_w){return'desktop';}
if(768<screen_w&&959>screen_w){return'tablet';}
if(300<screen_w&&767>screen_w){return'mobile';}
if(300>screen_w){return'mobile_portrait';}
return'';}
function loadScript(url,$obj,callback){var script=document.createElement("script");script.type="text/javascript";if(script.readyState){script.onreadystatechange=function(){if("loaded"===script.readyState||"complete"===script.readyState){script.onreadystatechange=null;callback();}};}else{}
script.src=url;$obj.get(0).appendChild(script);}
if('function'!==typeof(window['wpb_prepare_tab_content'])){window.wpb_prepare_tab_content=function(event,ui){var panel=ui.panel||ui.newPanel,$pie_charts=panel.find('.vc_pie_chart:not(.vc_ready)'),$round_charts=panel.find('.vc_round-chart'),$line_charts=panel.find('.vc_line-chart'),$carousel=panel.find('[data-ride="vc_carousel"]'),$ui_panel,$google_maps;vc_carouselBehaviour();vc_plugin_flexslider(panel);if(ui.newPanel.find('.vc_masonry_media_grid, .vc_masonry_grid').length){ui.newPanel.find('.vc_masonry_media_grid, .vc_masonry_grid').each(function(){var grid=jQuery(this).data('vcGrid');grid&&grid.gridBuilder&&grid.gridBuilder.setMasonry&&grid.gridBuilder.setMasonry();});}
if(panel.find('.vc_masonry_media_grid, .vc_masonry_grid').length){panel.find('.vc_masonry_media_grid, .vc_masonry_grid').each(function(){var grid=jQuery(this).data('vcGrid');grid&&grid.gridBuilder&&grid.gridBuilder.setMasonry&&grid.gridBuilder.setMasonry();});}
$pie_charts.length&&jQuery.fn.vcChat&&$pie_charts.vcChat();$round_charts.length&&jQuery.fn.vcRoundChart&&$round_charts.vcRoundChart({reload:false});$line_charts.length&&jQuery.fn.vcLineChart&&$line_charts.vcLineChart({reload:false});$carousel.length&&jQuery.fn.carousel&&$carousel.carousel('resizeAction');$ui_panel=panel.find('.isotope, .wpb_image_grid_ul');$google_maps=panel.find('.wpb_gmaps_widget');if(0<$ui_panel.length){$ui_panel.isotope("layout");}
if($google_maps.length&&!$google_maps.is('.map_ready')){var $frame=$google_maps.find('iframe');$frame.attr('src',$frame.attr('src'));$google_maps.addClass('map_ready');}
if(panel.parents('.isotope').length){panel.parents('.isotope').each(function(){jQuery(this).isotope("layout");});}}}
function vc_ttaActivation(){jQuery('[data-vc-accordion]').on('show.vc.accordion',function(e){var $=window.jQuery,ui={};ui.newPanel=$(this).data('vc.accordion').getTarget();window.wpb_prepare_tab_content(e,ui);});}
function vc_accordionActivate(event,ui){if(ui.newPanel.length&&ui.newHeader.length){var $pie_charts=ui.newPanel.find('.vc_pie_chart:not(.vc_ready)'),$round_charts=ui.newPanel.find('.vc_round-chart'),$line_charts=ui.newPanel.find('.vc_line-chart'),$carousel=ui.newPanel.find('[data-ride="vc_carousel"]');if('undefined'!==typeof(jQuery.fn.isotope)){ui.newPanel.find('.isotope, .wpb_image_grid_ul').isotope("layout");}
if(ui.newPanel.find('.vc_masonry_media_grid, .vc_masonry_grid').length){ui.newPanel.find('.vc_masonry_media_grid, .vc_masonry_grid').each(function(){var grid=jQuery(this).data('vcGrid');grid&&grid.gridBuilder&&grid.gridBuilder.setMasonry&&grid.gridBuilder.setMasonry();});}
vc_carouselBehaviour(ui.newPanel);vc_plugin_flexslider(ui.newPanel);$pie_charts.length&&jQuery.fn.vcChat&&$pie_charts.vcChat();$round_charts.length&&jQuery.fn.vcRoundChart&&$round_charts.vcRoundChart({reload:false});$line_charts.length&&jQuery.fn.vcLineChart&&$line_charts.vcLineChart({reload:false});$carousel.length&&jQuery.fn.carousel&&$carousel.carousel('resizeAction');if(ui.newPanel.parents('.isotope').length){ui.newPanel.parents('.isotope').each(function(){jQuery(this).isotope("layout");});}}}
function initVideoBackgrounds(){jQuery('.vc_row').each(function(){var $row=jQuery(this),youtubeUrl,youtubeId;if($row.data('vcVideoBg')){youtubeUrl=$row.data('vcVideoBg');youtubeId=vcExtractYoutubeId(youtubeUrl);if(youtubeId){$row.find('.vc_video-bg').remove();insertYoutubeVideoAsBackground($row,youtubeId);}
jQuery(window).on('grid:items:added',function(event,$grid){if(!$row.has($grid).length){return;}
vcResizeVideoBackground($row);});}else{$row.find('.vc_video-bg').remove();}});}
function insertYoutubeVideoAsBackground($element,youtubeId,counter){if('undefined'===typeof(YT.Player)){counter='undefined'===typeof(counter)?0:counter;if(100<counter){console.warn('Too many attempts to load YouTube api');return;}
setTimeout(function(){insertYoutubeVideoAsBackground($element,youtubeId,counter++);},100);return;}
var $container=$element.prepend('<div class="vc_video-bg"><div class="inner"></div></div>').find('.inner');new YT.Player($container[0],{width:'100%',height:'100%',videoId:youtubeId,playerVars:{playlist:youtubeId,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1},events:{onReady:function(event){event.target.mute().setLoop(true);}}});vcResizeVideoBackground($element);jQuery(window).bind('resize',function(){vcResizeVideoBackground($element);});}
function vcResizeVideoBackground($element){var iframeW,iframeH,marginLeft,marginTop,containerW=$element.innerWidth(),containerH=$element.innerHeight(),ratio1=16,ratio2=9;if((containerW/containerH)<(ratio1/ratio2)){iframeW=containerH*(ratio1/ratio2);iframeH=containerH;marginLeft=-Math.round((iframeW-containerW)/2)+'px';marginTop=-Math.round((iframeH-containerH)/2)+'px';iframeW+='px';iframeH+='px';}else{iframeW=containerW;iframeH=containerW*(ratio2/ratio1);marginTop=-Math.round((iframeH-containerH)/2)+'px';marginLeft=-Math.round((iframeW-containerW)/2)+'px';iframeW+='px';iframeH+='px';}
$element.find('.vc_video-bg iframe').css({maxWidth:'1000%',marginLeft:marginLeft,marginTop:marginTop,width:iframeW,height:iframeH});}
function vcExtractYoutubeId(url){if('undefined'===typeof(url)){return false;}
var id=url.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/);if(null!==id){return id[1];}
return false;}
jQuery(document).ready(function($){window.vc_js();});;+function($){'use strict';var Accordion,clickHandler,old,hashNavigation;function Plugin(action,options){var args;args=Array.prototype.slice.call(arguments,1);return this.each(function(){var $this,data;$this=$(this);data=$this.data('vc.accordion');if(!data){data=new Accordion($this,$.extend(true,{},options));$this.data('vc.accordion',data);}
if('string'===typeof(action)){data[action].apply(data,args);}});}
Accordion=function($element,options){this.$element=$element;this.activeClass='vc_active';this.animatingClass='vc_animating';this.useCacheFlag=undefined;this.$target=undefined;this.$targetContent=undefined;this.selector=undefined;this.$container=undefined;this.animationDuration=undefined;this.index=0;};Accordion.transitionEvent=function(){var transition,transitions,el;el=document.createElement('vcFakeElement');transitions={'transition':'transitionend','MSTransition':'msTransitionEnd','MozTransition':'transitionend','WebkitTransition':'webkitTransitionEnd'};for(transition in
transitions){if('undefined'!==typeof(el.style[transition])){return transitions[transition];}}};Accordion.emulateTransitionEnd=function($el,duration){var callback,called;called=false;if(!duration){duration=250;}
$el.one(Accordion.transitionName,function(){called=true;});callback=function(){if(!called){$el.trigger(Accordion.transitionName);}};setTimeout(callback,duration);};Accordion.DEFAULT_TYPE='collapse';Accordion.transitionName=Accordion.transitionEvent();Accordion.prototype.controller=function(action){var $this;$this=this.$element;if('string'!==typeof(action)){action=$this.data('vcAction')||this.getContainer().data('vcAction');}
if('undefined'===typeof(action)){action=Accordion.DEFAULT_TYPE;}
if('string'===typeof(action)){Plugin.call($this,action);}};Accordion.prototype.isCacheUsed=function(){var useCache,that;that=this;useCache=function(){return false!==that.$element.data('vcUseCache');};if('undefined'===typeof(this.useCacheFlag)){this.useCacheFlag=useCache();}
return this.useCacheFlag;};Accordion.prototype.getSelector=function(){var findSelector,$this;$this=this.$element;findSelector=function(){var selector;selector=$this.data('vcTarget');if(!selector){selector=$this.attr('href');}
return selector;};if(!this.isCacheUsed()){return findSelector();}
if('undefined'===typeof(this.selector)){this.selector=findSelector();}
return this.selector;};Accordion.prototype.findContainer=function(){var $container;$container=this.$element.closest(this.$element.data('vcContainer'));if(!$container.length){$container=$('body');}
return $container;};Accordion.prototype.getContainer=function(){if(!this.isCacheUsed()){return this.findContainer();}
if('undefined'===typeof(this.$container)){this.$container=this.findContainer();}
return this.$container;};Accordion.prototype.getTarget=function(){var selector,that,getTarget;that=this;selector=that.getSelector();getTarget=function(){var element;element=that.getContainer().find(selector);if(!element.length){element=that.getContainer().filter(selector);}
return element;};if(!this.isCacheUsed()){return getTarget();}
if('undefined'===typeof(this.$target)){this.$target=getTarget();}
return this.$target;};Accordion.prototype.getTargetContent=function(){var $target,$targetContent;$target=this.getTarget();if(!this.isCacheUsed()){if($target.data('vcContent')){$targetContent=$target.find($target.data('vcContent'));if($targetContent.length){return $targetContent;}}
return $target;}
if('undefined'===typeof(this.$targetContent)){$targetContent=$target;if($target.data('vcContent')){$targetContent=$target.find($target.data('vcContent'));if(!$targetContent.length){$targetContent=$target;}}
this.$targetContent=$targetContent;}
return this.$targetContent;};Accordion.prototype.getTriggers=function(){var i;i=0;return this.getContainer().find('[data-vc-accordion]').each(function(){var accordion,$this;$this=$(this);accordion=$this.data('vc.accordion');if('undefined'===typeof(accordion)){$this.vcAccordion();accordion=$this.data('vc.accordion');}
accordion&&accordion.setIndex&&accordion.setIndex(i++);});};Accordion.prototype.setIndex=function(index){this.index=index;};Accordion.prototype.getIndex=function(){return this.index;};Accordion.prototype.triggerEvent=function(event){var $event;if('string'===typeof(event)){$event=$.Event(event);this.$element.trigger($event);}};Accordion.prototype.getActiveTriggers=function(){var $triggers;$triggers=this.getTriggers().filter(function(){var $this,accordion;$this=$(this);accordion=$this.data('vc.accordion');return accordion.getTarget().hasClass(accordion.activeClass);});return $triggers;};Accordion.prototype.changeLocationHash=function(){var id,$target;$target=this.getTarget();if($target.length){id=$target.attr('id');}
if(id){if(history.pushState){history.pushState(null,null,'#'+id);}
else{location.hash='#'+id;}}};Accordion.prototype.isActive=function(){return this.getTarget().hasClass(this.activeClass);};Accordion.prototype.getAnimationDuration=function(){var findAnimationDuration,that;that=this;findAnimationDuration=function(){var $targetContent,duration;if('undefined'===typeof(Accordion.transitionName)){return'0s';}
$targetContent=that.getTargetContent();duration=$targetContent.css('transition-duration');duration=duration.split(',')[0];return duration;};if(!this.isCacheUsed()){return findAnimationDuration();}
if('undefined'===typeof(this.animationDuration)){this.animationDuration=findAnimationDuration();}
return this.animationDuration;};Accordion.prototype.getAnimationDurationMilliseconds=function(){var duration;duration=this.getAnimationDuration();if('ms'===duration.substr(-2)){return parseInt(duration);}
if('s'===duration.substr(-1)){return Math.round(parseFloat(duration)*1000)}};Accordion.prototype.isAnimated=function(){return parseFloat(this.getAnimationDuration())>0;};Accordion.prototype.show=function(){var $target,that,$targetContent;that=this;$target=that.getTarget();$targetContent=that.getTargetContent();if(that.isActive()){return;}
if(that.isAnimated()){that.triggerEvent('beforeShow.vc.accordion');$target.queue(function(next){$targetContent.one(Accordion.transitionName,function(){$target.removeClass(that.animatingClass);$targetContent.attr('style','');that.triggerEvent('afterShow.vc.accordion');});Accordion.emulateTransitionEnd($targetContent,that.getAnimationDurationMilliseconds()+100);next();}).queue(function(next){$targetContent.attr('style','');$targetContent.css({position:'absolute',visibility:'hidden',display:'block'});var height=$targetContent.height();$targetContent.data('vcHeight',height);$targetContent.attr('style','');next();}).queue(function(next){$targetContent.height(0);$targetContent.css({'padding-top':0,'padding-bottom':0});next();}).queue(function(next){$target.addClass(that.animatingClass);$target.addClass(that.activeClass);that.changeLocationHash();that.triggerEvent('show.vc.accordion');next();}).queue(function(next){var height=$targetContent.data('vcHeight');$targetContent.animate({'height':height},{duration:that.getAnimationDurationMilliseconds(),complete:function(){if(!$targetContent.data('events')){$targetContent.attr('style','');}}});$targetContent.css({'padding-top':'','padding-bottom':''});next();});}else{$target.addClass(that.activeClass);that.triggerEvent('show.vc.accordion');}};Accordion.prototype.hide=function(){var $target,that,$targetContent;that=this;$target=that.getTarget();$targetContent=that.getTargetContent();if(!that.isActive()){return;}
if(that.isAnimated()){that.triggerEvent('beforeHide.vc.accordion');$target.queue(function(next){$targetContent.one(Accordion.transitionName,function(){$target.removeClass(that.animatingClass);$targetContent.attr('style','');that.triggerEvent('afterHide.vc.accordion');});Accordion.emulateTransitionEnd($targetContent,that.getAnimationDurationMilliseconds()+100);next();}).queue(function(next){$target.addClass(that.animatingClass);$target.removeClass(that.activeClass);that.triggerEvent('hide.vc.accordion');next();}).queue(function(next){var height=$targetContent.height();$targetContent.height(height);next();}).queue(function(next){$targetContent.animate({'height':0},that.getAnimationDurationMilliseconds());$targetContent.css({'padding-top':0,'padding-bottom':0});next();});}else{$target.removeClass(that.activeClass);that.triggerEvent('hide.vc.accordion');}};Accordion.prototype.toggle=function(){var $this;$this=this.$element;if(this.isActive()){Plugin.call($this,'hide');}else{Plugin.call($this,'show');}};Accordion.prototype.dropdown=function(){var $this,that;that=this;$this=this.$element;if(this.isActive()){Plugin.call($this,'hide');}else{Plugin.call($this,'show');$(document).on('click.vc.accordion.data-api.dropdown',function(e){var isTarget;isTarget=$(e.target).closest(that.getTarget()).length;if(!isTarget){Plugin.call($this,'hide');$(document).off(e);}});}};Accordion.prototype.collapse=function(){var $this,$triggers;$this=this.$element;$triggers=this.getActiveTriggers().filter(function(){return $this[0]!==this;});if($triggers.length){Plugin.call($triggers,'hide');}
Plugin.call($this,'show');};Accordion.prototype.collapseAll=function(){var $this,$triggers;$this=this.$element;$triggers=this.getActiveTriggers().filter(function(){return $this[0]!==this;});if($triggers.length){Plugin.call($triggers,'hide');}
Plugin.call($this,'toggle');};Accordion.prototype.showNext=function(){var $triggers,$activeTriggers,activeIndex;$triggers=this.getTriggers();$activeTriggers=this.getActiveTriggers();if($triggers.length){if($activeTriggers.length){var lastActiveAccordion;lastActiveAccordion=$activeTriggers.eq($activeTriggers.length-1).vcAccordion().data('vc.accordion');if(lastActiveAccordion&&lastActiveAccordion.getIndex){activeIndex=lastActiveAccordion.getIndex();}}
if(-1<activeIndex){if(activeIndex+1<$triggers.length){Plugin.call($triggers.eq(activeIndex+1),'controller');}else{Plugin.call($triggers.eq(0),'controller');}}else{Plugin.call($triggers.eq(0),'controller');}}};Accordion.prototype.showPrev=function(){var $triggers,$activeTriggers,activeIndex;$triggers=this.getTriggers();$activeTriggers=this.getActiveTriggers();if($triggers.length){if($activeTriggers.length){var lastActiveAccordion;lastActiveAccordion=$activeTriggers.eq($activeTriggers.length-1).vcAccordion().data('vc.accordion');if(lastActiveAccordion&&lastActiveAccordion.getIndex){activeIndex=lastActiveAccordion.getIndex();}}
if(-1<activeIndex){if(0<=activeIndex-1){Plugin.call($triggers.eq(activeIndex-1),'controller');}else{Plugin.call($triggers.eq($triggers.length-1),'controller');}}else{Plugin.call($triggers.eq(0),'controller');}}};Accordion.prototype.showAt=function(index){var $triggers;$triggers=this.getTriggers();if($triggers.length&&index&&index<$triggers.length){Plugin.call($triggers.eq(index),'controller');}};old=$.fn.vcAccordion;$.fn.vcAccordion=Plugin;$.fn.vcAccordion.Constructor=Accordion;$.fn.vcAccordion.noConflict=function(){$.fn.vcAccordion=old;return this;};clickHandler=function(e){var $this;$this=$(this);e.preventDefault();Plugin.call($this,'controller');};hashNavigation=function(){var hash,$targetElement,$accordion,offset,delay,speed;offset=0.3;delay=300;speed=0;hash=window.location.hash;if(hash){$targetElement=$(hash);if($targetElement.length){$accordion=$targetElement.find('[data-vc-accordion][href='+hash+'],[data-vc-accordion][data-vc-target='+hash+']');if($accordion.length){setTimeout(function(){$('html, body').animate({scrollTop:$targetElement.offset().top-$(window).height()*offset},speed);},delay);$accordion.trigger('click');}}}};$(document).on('click.vc.accordion.data-api','[data-vc-accordion]',clickHandler);$(document).ready(hashNavigation);}(window.jQuery);;+function($){'use strict';var Plugin,TtaAutoPlay,old;Plugin=function(action,options){var args;args=Array.prototype.slice.call(arguments,1);return this.each(function(){var $this,data;$this=$(this);data=$this.data('vc.tta.autoplay');if(!data){data=new TtaAutoPlay($this,$.extend(true,{},TtaAutoPlay.DEFAULTS,$this.data('vc-tta-autoplay'),options));$this.data('vc.tta.autoplay',data);}
if('string'===typeof(action)){data[action].apply(data,args);}else{data.start(args);}});};TtaAutoPlay=function($element,options){this.$element=$element;this.options=options;};TtaAutoPlay.DEFAULTS={delay:5000,pauseOnHover:true,stopOnClick:true};TtaAutoPlay.prototype.show=function(){this.$element.find('[data-vc-accordion]:eq(0)').vcAccordion('showNext');};TtaAutoPlay.prototype.hasTimer=function(){return undefined!==this.$element.data('vc.tta.autoplay.timer');};TtaAutoPlay.prototype.setTimer=function(windowInterval){this.$element.data('vc.tta.autoplay.timer',windowInterval);};TtaAutoPlay.prototype.getTimer=function(){return this.$element.data('vc.tta.autoplay.timer');};TtaAutoPlay.prototype.deleteTimer=function(){this.$element.removeData('vc.tta.autoplay.timer');};TtaAutoPlay.prototype.start=function(){var $this,that;$this=this.$element;that=this;function stopHandler(e){e.preventDefault&&e.preventDefault();if(that.hasTimer()){Plugin.call($this,'stop');}}
function hoverHandler(e){e.preventDefault&&e.preventDefault();if(that.hasTimer()){Plugin.call($this,'mouseleave'===e.type?'resume':'pause');}}
if(!this.hasTimer()){this.setTimer(window.setInterval(this.show.bind(this),this.options.delay));this.options.stopOnClick&&$this.on('click.vc.tta.autoplay.data-api','[data-vc-accordion]',stopHandler);this.options.pauseOnHover&&$this.hover(hoverHandler);}};TtaAutoPlay.prototype.resume=function(){if(this.hasTimer()){this.setTimer(window.setInterval(this.show.bind(this),this.options.delay));}};TtaAutoPlay.prototype.stop=function(){this.pause();this.deleteTimer();this.$element.off('click.vc.tta.autoplay.data-api mouseenter mouseleave');};TtaAutoPlay.prototype.pause=function(){var timer;timer=this.getTimer();if(undefined!==timer){window.clearInterval(timer);}};old=$.fn.vcTtaAutoPlay;$.fn.vcTtaAutoPlay=Plugin;$.fn.vcTtaAutoPlay.Constructor=TtaAutoPlay;$.fn.vcTtaAutoPlay.noConflict=function(){$.fn.vcTtaAutoPlay=old;return this;};function startAutoPlay(){$('[data-vc-tta-autoplay]').each(function(){$(this).vcTtaAutoPlay();});}
$(document).ready(startAutoPlay);}(window.jQuery);;+function($){'use strict';var Tabs,old,clickHandler,changeHandler;Tabs=function(element,options){this.$element=$(element);this.activeClass='vc_active';this.tabSelector='[data-vc-tab]';this.useCacheFlag=undefined;this.$target=undefined;this.selector=undefined;this.$targetTab=undefined;this.$relatedAccordion=undefined;this.$container=undefined;};Tabs.prototype.isCacheUsed=function(){var useCache,that;that=this;useCache=function(){return false!==that.$element.data('vcUseCache');};if('undefined'===typeof(this.useCacheFlag)){this.useCacheFlag=useCache();}
return this.useCacheFlag;};Tabs.prototype.getContainer=function(){if(!this.isCacheUsed()){return this.findContainer();}
if('undefined'===typeof(this.$container)){this.$container=this.findContainer();}
return this.$container;};Tabs.prototype.findContainer=function(){var $container;$container=this.$element.closest(this.$element.data('vcContainer'));if(!$container.length){$container=$('body');}
return $container;};Tabs.prototype.getContainerAccordion=function(){return this.getContainer().find('[data-vc-accordion]');};Tabs.prototype.getSelector=function(){var findSelector,$this;$this=this.$element;findSelector=function(){var selector;selector=$this.data('vcTarget');if(!selector){selector=$this.attr('href');}
return selector;};if(!this.isCacheUsed()){return findSelector();}
if('undefined'===typeof(this.selector)){this.selector=findSelector();}
return this.selector;};Tabs.prototype.getTarget=function(){var selector;selector=this.getSelector();if(!this.isCacheUsed()){return this.getContainer().find(selector);}
if('undefined'===typeof(this.$target)){this.$target=this.getContainer().find(selector);}
return this.$target;};Tabs.prototype.getRelatedAccordion=function(){var tab,filterElements;tab=this;filterElements=function(){var $elements;$elements=tab.getContainerAccordion().filter(function(){var $that,accordion;$that=$(this);accordion=$that.data('vc.accordion');if('undefined'===typeof(accordion)){$that.vcAccordion();accordion=$that.data('vc.accordion');}
return tab.getSelector()===accordion.getSelector();});if($elements.length){return $elements;}
return undefined;};if(!this.isCacheUsed()){return filterElements();}
if('undefined'===typeof(this.$relatedAccordion)){this.$relatedAccordion=filterElements();}
return this.$relatedAccordion;};Tabs.prototype.triggerEvent=function(event){var $event;if('string'===typeof(event)){$event=$.Event(event);this.$element.trigger($event);}};Tabs.prototype.getTargetTab=function(){var $this;$this=this.$element;if(!this.isCacheUsed()){return $this.closest(this.tabSelector);}
if('undefined'===typeof(this.$targetTab)){this.$targetTab=$this.closest(this.tabSelector);}
return this.$targetTab;};Tabs.prototype.tabClick=function(){this.getRelatedAccordion().trigger('click');};Tabs.prototype.show=function(){if(this.getTargetTab().hasClass(this.activeClass)){return;}
this.triggerEvent('show.vc.tab');this.getTargetTab().addClass(this.activeClass);};Tabs.prototype.hide=function(){if(!this.getTargetTab().hasClass(this.activeClass)){return;}
this.triggerEvent('hide.vc.tab');this.getTargetTab().removeClass(this.activeClass);};function Plugin(action,options){var args;args=Array.prototype.slice.call(arguments,1);return this.each(function(){var $this,data;$this=$(this);data=$this.data('vc.tabs');if(!data){data=new Tabs($this,$.extend(true,{},options));$this.data('vc.tabs',data);}
if('string'===typeof(action)){data[action].apply(data,args);}});}
old=$.fn.vcTabs;$.fn.vcTabs=Plugin;$.fn.vcTabs.Constructor=Tabs;$.fn.vcTabs.noConflict=function(){$.fn.vcTabs=old;return this;};clickHandler=function(e){var $this;$this=$(this);e.preventDefault();Plugin.call($this,'tabClick');};changeHandler=function(e){var caller;caller=$(e.target).data('vc.accordion');if('undefined'===typeof(caller.getRelatedTab)){caller.getRelatedTab=function(){var findTargets;findTargets=function(){var $targets;$targets=caller.getContainer().find('[data-vc-tabs]').filter(function(){var $this,tab;$this=$(this);tab=$this.data('vc.accordion');if('undefined'===typeof(tab)){$this.vcAccordion();}
tab=$this.data('vc.accordion');return tab.getSelector()===caller.getSelector();});return $targets;};if(!caller.isCacheUsed()){return findTargets();}
if('undefined'===typeof(caller.relatedTab)){caller.relatedTab=findTargets();}
return caller.relatedTab;};}
Plugin.call(caller.getRelatedTab(),e.type);};$(document).on('click.vc.tabs.data-api','[data-vc-tabs]',clickHandler);$(document).on('show.vc.accordion hide.vc.accordion',changeHandler);}(window.jQuery);