text: 'use strict';var aslider_js={init:function(){aslider_resize_window();aslider_mobile_video();aslider_init();},is_HTML5_video_supported:!!document.createElement('video').canPlayType,swiper:undefined};$j(document).ready(function(){'use strict';aslider_js.init();$apalodi_window.on('throttledresize orientationchange',function(){apalodi_rAF(window.aslider_resize_window);});});if(typeof window['aslider_resize_window']!=='function'){window.aslider_resize_window=function(){'use strict';aslider_calculate_parallax_values();if(aslider_js.swiper!=undefined){aslider_js.swiper.onResize();}}}
  if(typeof window['aslider_mobile_video']!=='function'){window.aslider_mobile_video=function(){'use strict';var $slider=$j('.aslider-wrapper'),$video=$j('.aslider-video'),mobileVideos=$slider.data('aslider-mobile-video')=='1'?true:false;if(azra_js.is_mobile&&!mobileVideos&&$video.length){$video.each(function(index,video){var $this=$j(video),$slide=$this.parents('.aslider-slide'),$fallback=$this.find('.aslider-video-fallback');if(aslider_js.is_HTML5_video_supported){video.pause();video.src='';}
  $slide.removeClass('has-video');$this.remove();});}}}
  if(typeof window['aslider_calculate_parallax_values']!=='function'){window.aslider_calculate_parallax_values=function(){'use strict';var window_width=$apalodi_window.width();$j('[data-swiper-parallax-percentage]').each(function(index,value){var $this=$j(this),percentage=parseFloat($this.data('swiper-parallax-percentage')),pixels=window_width*percentage/100;$this.attr('data-swiper-parallax',pixels.toFixed());});}}
  if(typeof window['aslider_init']!=='function'){window.aslider_init=function(){'use strict';var $header=$j('.header-transparent .site-header'),$slider=$j('.aslider-wrapper'),$slides=$slides=$j('.aslider-slide'),$preloader=$slider.find('.aslider-preloader-wrapper'),content_settings={},media_settings={},slider_controls_settings={},arrayNumber=0,content_effects=$slider.data('aslider-content-effects'),media_effects=$slider.data('aslider-media-effects'),mobileScrollEffects=$slider.data('aslider-mobile-effects')=='1'?true:false,autoplayDesktop=$slider.data('aslider-autoplay-desktop')=='1'?true:false,autoplayMobile=$slider.data('aslider-autoplay-mobile')=='1'?true:false,mobileAnimations=$slider.data('aslider-mobile-animations')=='1'?true:false,slideParallax=$slider.data('aslider-parallax')=='1'?true:false,sliderLoop=$slider.data('aslider-loop')=='1'?true:false,has_video=$slider.data('aslider-html5-video')=='1'?true:false,HTML5Video=has_video?'.aslider-video':undefined,mobileVideos=$slider.data('aslider-mobile-video')=='1'?true:false,showVideo=azra_js.is_mobile?mobileVideos:true,is_video_loaded=false,is_image_loaded=false,is_slider_init=false,autoplay=0,animations=[],playPauseHTML5Video=function(swiper,play){var activeIndex=swiper.activeIndex,$active_slide=$j(swiper.slides[activeIndex]),active_slide_index=$active_slide.data('aslider-slide'),$active_slides=$slider.find('[data-aslider-slide="'+active_slide_index+'"]'),$videos=$active_slides.find(HTML5Video);if(HTML5Video!=undefined&&aslider_js.is_HTML5_video_supported){$j(HTML5Video).each(function(key,video){video.pause();});if(play){setTimeout(function(){$videos.each(function(key,video){video.play();video.muted=true;});},50);}}},animateElements=function(active_slides){active_slides.each(function(){$j(this).find('.aslider-animation-element').each(function(){var $this=$j(this),$parent=$this.parents('.aslider-slide'),stagger=$this.parents('.aslider-slide').hasClass('animation-stagger')?true:false,delay=stagger?$this.data('aslider-element-delay'):0;if(!$this.hasClass('is-animated')){setTimeout(function(){$this.addClass('is-animated');},delay);}});});};if(azra_js.is_mobile){autoplay=!autoplayMobile?0:5500;if(!mobileAnimations){$slider.removeClass('has-animations');}}else{autoplay=!autoplayDesktop?0:5500;}
  $slider.addClass('is-loading');$preloader.addClass('is-loading');if('1'==content_effects['opacity']){$j.extend(content_settings,{opacity:-0.2});}
  if('1'==content_effects['parallax']){$j.extend(content_settings,{translateY:'55%'});}
  if('1'==media_effects['opacity']){$j.extend(media_settings,{opacity:0});}
  if('1'==media_effects['parallax']){$j.extend(media_settings,{translateY:'40%'});}
  if('1'==media_effects['zoom-in']){$j.extend(media_settings,{scale:1.3});}
  if('1'==media_effects['zoom-out']){$j.extend(media_settings,{scale:0.7});}
  if(!$j.isEmptyObject(content_settings)){$j.extend(content_settings,{selector:'.aslider-content-wrapper'});animations[arrayNumber]=content_settings;arrayNumber++;}
  if(!$j.isEmptyObject(media_settings)){$j.extend(media_settings,{selector:'.aslider-media-container'});animations[arrayNumber]=media_settings;arrayNumber++;}
  slider_controls_settings={selector:'.aslider-parallax-controls',translateY:'60%',opacity:0}
  animations[arrayNumber]=slider_controls_settings;var asliderOnLoad=function(){$preloader.removeClass('is-loading').addClass('is-loaded');setTimeout(function(){$slider.removeClass('is-loading').addClass('is-loaded');$preloader.removeClass('is-loaded').addClass('is-ready');},400);aslider_js.swiper=new Swiper('.aslider-swiper-container',{parallax:azra_js.is_mobile||!slideParallax?false:true,setWrapperSize:true,speed:700,autoplay:autoplay,autoplayDisableOnInteraction:false,loop:sliderLoop,touchRatio:1,grabCursor:true,shortSwipes:true,longSwipes:true,longSwipesRatio:0.3,followFinger:true,resistance:true,resistanceRatio:0.6,preventClicks:false,paginationClickable:true,pagination:'.aslider-swiper-pagination',nextButton:'.aslider-swiper-button-next',prevButton:'.aslider-swiper-button-prev',wrapperClass:'aslider-swiper-wrapper',slideClass:'aslider-swiper-slide',slideActiveClass:'aslider-swiper-slide-active',slideVisibleClass:'aslider-swiper-slide-visible',slideDuplicateClass:'aslider-swiper-slide-duplicate',slideNextClass:'aslider-swiper-slide-next',slidePrevClass:'aslider-swiper-slide-prev',bulletClass:'aslider-swiper-pagination-bullet',bulletActiveClass:'aslider-swiper-pagination-bullet-active',paginationHiddenClass:'aslider-swiper-pagination-hidden',buttonDisabledClass:'aslider-swiper-button-disabled',noSwipingClass:'aslider-swiper-no-swiping',onInit:function(swiper){var activeIndex=swiper.activeIndex,$active_slide=$j(swiper.slides[activeIndex]),active_slide_index=$active_slide.data('aslider-slide'),$active_slides=$slider.find('[data-aslider-slide="'+active_slide_index+'"]'),style=$active_slide.data('aslider-slide-style');$apalodi_window.on('focus.aslider',function(){playPauseHTML5Video(swiper,true);});$apalodi_window.on('blur.aslider',function(){playPauseHTML5Video(swiper,false);});setTimeout(function(){$header.removeClass('is-light is-dark').addClass('is-'+ style);},400);$slider.addClass('is-ready');$slides=$j('.aslider-slide');is_slider_init=true;setTimeout(function(){animateElements($active_slides);},800);},onTransitionStart:function(swiper){var activeIndex=swiper.activeIndex,$active_slide=$j(swiper.slides[activeIndex]),style=$active_slide.data('aslider-slide-style');$slider.removeClass('is-light is-dark').addClass('is-'+ style);$header.removeClass('is-light is-dark').addClass('is-'+ style);setTimeout(function(){playPauseHTML5Video(swiper,true);},150);},onTransitionEnd:function(swiper){var activeIndex=swiper.activeIndex,$active_slide=$j(swiper.slides[activeIndex]),active_slide_index=$active_slide.data('aslider-slide'),$active_slides=$slider.find('[data-aslider-slide="'+active_slide_index+'"]');$slider.find('.aslider-animation-element').each(function(){var $this=$j(this),$parent=$this.parents('.aslider-slide'),slide_index=$parent.data('aslider-slide');if(slide_index!=active_slide_index){$this.removeClass('is-animated');}});if(!azra_js.is_mobile){$slides.addClass('is-aslider-hidden');$active_slides.removeClass('is-aslider-hidden');}
  if(is_slider_init){animateElements($active_slides);}else{setTimeout(function(){animateElements($active_slides);},800);}},});if(animations.length){$slider.aparallax({animations:animations,mobileAnimations:mobileScrollEffects,HTML5Video:HTML5Video,playPauseVideos:false,onInViewport:function(){aslider_js.swiper.startAutoplay();playPauseHTML5Video(aslider_js.swiper,true);},onOutViewport:function(){aslider_js.swiper.stopAutoplay();playPauseHTML5Video(aslider_js.swiper,false);}});}};if(has_video&&showVideo){var $video=$slider.find(HTML5Video);$video.aVideoReady({finished:function(){is_video_loaded=true;},waitForAll:true});}else{is_video_loaded=true;}
  $slider.waitForImages({finished:function(){is_image_loaded=true;},waitForAll:true});var checkIfLoaded=function(){if(is_video_loaded&&is_image_loaded){asliderOnLoad();clearInterval(asliderInterval);}}
  var asliderInterval=setInterval(checkIfLoaded,100);}}