1(function($) 2{"use strict";$(function() 3{$.avia_utilities=$.avia_utilities||{};if('undefined'==typeof $.avia_utilities.isMobile) 4{if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&'ontouchstart'in document.documentElement) 5{$.avia_utilities.isMobile=true;} 6else 7{$.avia_utilities.isMobile=false;}} 8if($.fn.avia_mobile_fixed) 9{$('.avia-bg-style-fixed').avia_mobile_fixed();} 10if($.fn.avia_browser_height) 11{$('.av-minimum-height, .avia-fullscreen-slider, .av-cell-min-height').avia_browser_height();} 12if($.fn.avia_container_height) 13{$('.av-column-min-height-pc').avia_container_height();} 14if($.fn.avia_video_section) 15{$('.av-section-with-video-bg').avia_video_section();} 16new $.AviaTooltip({'class':"avia-tooltip",data:"avia-tooltip",delay:0,scope:"body"});new $.AviaTooltip({'class':"avia-tooltip avia-icon-tooltip",data:"avia-icon-tooltip",delay:0,scope:"body"});$.avia_utilities.activate_shortcode_scripts();if($.fn.layer_slider_height_helper) 17{$('.avia-layerslider').layer_slider_height_helper();} 18if($.fn.avia_portfolio_preview) 19{$('.grid-links-ajax').avia_portfolio_preview();} 20if($.fn.avia_masonry) 21{$('.av-masonry').avia_masonry();} 22if($.fn.aviaccordion) 23{$('.aviaccordion').aviaccordion();} 24if($.fn.avia_textrotator) 25{$('.av-rotator-container').avia_textrotator();} 26if($.fn.avia_sc_tab_section) 27{$('.av-tab-section-container').avia_sc_tab_section();} 28if($.fn.avia_hor_gallery) 29{$('.av-horizontal-gallery').avia_hor_gallery();} 30if($.fn.avia_link_column) 31{$('.avia-link-column').avia_link_column();} 32if($.fn.avia_delayed_animation_in_container) 33{$('.av-animation-delay-container').avia_delayed_animation_in_container();}});$.avia_utilities=$.avia_utilities||{};$.avia_utilities.activate_shortcode_scripts=function(container) 34{if(typeof container=='undefined') 35{container='body';} 36if($.fn.avia_ajax_form) 37{$('.avia_ajax_form:not( .avia-disable-default-ajax )',container).avia_ajax_form();} 38activate_waypoints(container);if($.fn.aviaVideoApi) 39{$('.avia-slideshow iframe[src*="youtube.com"], .av_youtube_frame, .av_vimeo_frame, .avia-slideshow video').aviaVideoApi({},'li');} 40if($.fn.avia_sc_toggle) 41{$('.togglecontainer',container).avia_sc_toggle();} 42if($.fn.avia_sc_tabs) 43{$('.top_tab',container).avia_sc_tabs();$('.sidebar_tab',container).avia_sc_tabs({sidebar:true});} 44if($.fn.avia_sc_gallery) 45{$('.avia-gallery',container).avia_sc_gallery();} 46if($.fn.avia_sc_animated_number) 47{$('.avia-animated-number',container).avia_sc_animated_number();} 48if($.fn.avia_sc_animation_delayed) 49{$('.av_font_icon',container).avia_sc_animation_delayed({delay:100});$('.avia-image-container',container).avia_sc_animation_delayed({delay:100});$('.av-hotspot-image-container',container).avia_sc_animation_delayed({delay:100});$('.av-animated-generic',container).avia_sc_animation_delayed({delay:100});$('.av-animated-when-visible',container).avia_sc_animation_delayed({delay:100});$('.av-animated-when-almost-visible',container).avia_sc_animation_delayed({delay:100});$('.av-animated-when-visible-95',container).avia_sc_animation_delayed({delay:100});} 50if($.fn.avia_sc_iconlist) 51{$('.avia-icon-list.av-iconlist-big.avia-iconlist-animate',container).avia_sc_iconlist();} 52if($.fn.avia_sc_progressbar) 53{$('.avia-progress-bar-container',container).avia_sc_progressbar();} 54if($.fn.avia_sc_testimonial) 55{$('.avia-testimonial-wrapper',container).avia_sc_testimonial();} 56if($.fn.aviaFullscreenSlider) 57{$('.avia-slideshow.av_fullscreen',container).aviaFullscreenSlider();} 58if($.fn.aviaSlider) 59{$('.avia-slideshow:not(.av_fullscreen)',container).aviaSlider();$('.avia-content-slider-active',container).aviaSlider({wrapElement:'.avia-content-slider-inner',slideElement:'.slide-entry-wrap',fullfade:true});$('.avia-slider-testimonials',container).aviaSlider({wrapElement:'.avia-testimonial-row',slideElement:'.avia-testimonial',fullfade:true});} 60if($.fn.aviaMagazine) 61{$('.av-magazine-tabs-active',container).aviaMagazine();} 62if($.fn.aviaHotspots) 63{$('.av-hotspot-image-container',container).aviaHotspots();} 64if($.fn.aviaCountdown) 65{$('.av-countdown-timer',container).aviaCountdown();} 66if($.fn.aviaPlayer) 67{$('.av-player',container).aviaPlayer();} 68if($.fn.aviaIconCircles) 69{$('.av-icon-circles-container').aviaIconCircles();} 70if($.fn.avia_sc_icongrid) 71{$('.avia-icon-grid-container').avia_sc_icongrid();}};function activate_waypoints(container) 72{if($.fn.avia_waypoints) 73{if(typeof container=='undefined') 74{container='body';} 75$('.avia_animate_when_visible',container).avia_waypoints();$('.avia_animate_when_almost_visible',container).avia_waypoints({offset:'80%'});$('.av-animated-when-visible',container).avia_waypoints();$('.av-animated-when-almost-visible',container).avia_waypoints({offset:'80%'});$('.av-animated-when-visible-95',container).avia_waypoints({offset:'95%'});var custom_animated=$('*[class*="av-custom-animated-top-"]',container);custom_animated.each(function() 76{var element=$(this),classArray=element[0].className.split(/\s+/);for(var i=0;i<classArray.length;i++) 77{if(classArray[i].indexOf('av-custom-animated-top-')==0) 78{var pct=parseInt(classArray[i].replace('av-custom-animated-top-',''));if(!isNaN(pct)&&pct<100) 79{element.avia_waypoints({offset:pct+'%'});}}}});var disable_mobile=$('body').hasClass('avia-mobile-no-animations');if(container=='body'&&disable_mobile) 80{container='.avia_desktop body';} 81$('.av-animated-generic',container).avia_waypoints({offset:'95%'});}};$.fn.avia_mobile_fixed=function(options) 82{var isMobile=$.avia_utilities.isMobile;if(!isMobile) 83{return;} 84return this.each(function() 85{var current=$(this).addClass('av-parallax-section'),$background=current.attr('style'),$attachment_class=current.data('section-bg-repeat'),template="";if($attachment_class=='stretch'||$attachment_class=='no-repeat') 86{$attachment_class=" avia-full-stretch";} 87else 88{$attachment_class="";} 89template="<div class='av-parallax "+$attachment_class+"' data-avia-parallax-ratio='0.0' style = '"+$background+"' ></div>";
89current.prepend(template);current.attr('style','');});};$.fn.avia_sc_animation_delayed=function(options) 90{var global_timer=0,delay=options.delay||50,max_timer=10,new_max=setTimeout(function(){max_timer=20;},500);return this.each(function() 91{var elements=$(this);elements.on('avia_start_animation',function() 92{var element=$(this);if(global_timer<max_timer) 93{global_timer++;} 94setTimeout(function() 95{element.addClass('avia_start_delayed_animation');if(global_timer>0) 96{global_timer--;}},(global_timer*delay));});});};$.fn.avia_delayed_animation_in_container=function(options) 97{return this.each(function() 98{var elements=$(this);elements.on('avia_start_animation_if_current_slide_is_active',function() 99{var current=$(this),animate=current.find('.avia_start_animation_when_active');animate.addClass('avia_start_animation').trigger('avia_start_animation');});elements.on('avia_remove_animation',function() 100{var current=$(this),animate=current.find('.avia_start_animation_when_active, .avia_start_animation');animate.removeClass('avia_start_animation avia_start_delayed_animation');});});};$.fn.avia_browser_height=function() 101{if(!this.length) 102{return this;} 103var win=$(window),html_el=$('html'),headFirst=$('head').first(),subtract=$('#wpadminbar, #header.av_header_top:not(.html_header_transparency #header), #main>.title_container'),css_block=$("<style type='text/css' id='av-browser-height'></style>").appendTo(headFirst),sidebar_menu=$('.html_header_sidebar #top #header_main'),full_slider=$('.html_header_sidebar .avia-fullscreen-slider.avia-builder-el-0.avia-builder-el-no-sibling').addClass('av-solo-full'),pc_heights=[25,50,75],calc_height=function() 104{let css='',wh100=win.height(),ww100=win.width(),wh100_mod=wh100,whCover=(wh100/9)*16,wwCover=(ww100/16)*9,solo=0;if(sidebar_menu.length) 105{solo=sidebar_menu.height();} 106subtract.each(function() 107{wh100_mod-=this.offsetHeight-1;});let whCoverMod=(wh100_mod/9)*16;css+=".avia-section.av-minimum-height .container{opacity: 1; }\n";css+=".av-minimum-height-100:not(.av-slideshow-section) .container, .avia-fullscreen-slider .avia-slideshow, #top.avia-blank .av-minimum-height-100 .container, .av-cell-min-height-100 > .flex_cell{height: 100vh;}\n";css+=".av-minimum-height-100vw:not(.av-slideshow-section) .container, #top.avia-blank .av-minimum-height-100vw .container, .av-cell-min-height-100vw > .flex_cell{height: 100vw;}\n";css+=".av-minimum-height-100.av-slideshow-section .container { height:unset; }\n";css+=".av-minimum-height-100vw.av-slideshow-section .container { height:unset; }\n";css+=".av-minimum-height-100.av-slideshow-section {min-height: 100vh;}\n";css+=".av-minimum-height-100vw.av-slideshow-section {min-height: 100vw;}\n";$.each(pc_heights,function(index,value) 108{css+=".av-minimum-height-"+value+":not(.av-slideshow-section) .container, .av-cell-min-height-"+value+" > .flex_cell {height:"+value+"vh;}\n";css+=".av-minimum-height-"+value+".av-slideshow-section {min-height:"+value+"vh;}\n";css+=".av-minimum-height-"+value+"vw:not(.av-slideshow-section) .container, .av-cell-min-height-"+value+"vw > .flex_cell {height:"+value+"vw;}\n";css+=".av-minimum-height-"+value+"vw.av-slideshow-section {min-height:"+value+"vw;}\n";});css+=".avia-builder-el-0.av-minimum-height-100:not(.av-slideshow-section) .container, .avia-builder-el-0.avia-fullscreen-slider .avia-slideshow, .avia-builder-el-0.av-cell-min-height-100 > .flex_cell{height:"+wh100_mod+"px;}\n";css+="#top .av-solo-full .avia-slideshow {min-height:"+solo+"px;}\n";if(ww100/wh100<16/9) 109{css+="#top .av-element-cover iframe, #top .av-element-cover embed, #top .av-element-cover object, #top .av-element-cover video{width:"+whCover+"px; left: -"+(whCover-ww100)/2+"px;}\n";} 110else 111{css+="#top .av-element-cover iframe, #top .av-element-cover embed, #top .av-element-cover object, #top .av-element-cover video{height:"+wwCover+"px; top: -"+(wwCover-wh100)/2+"px;}\n";} 112if(ww100/wh100_mod<16/9) 113{css+="#top .avia-builder-el-0 .av-element-cover iframe, #top .avia-builder-el-0 .av-element-cover embed, #top .avia-builder-el-0 .av-element-cover object, #top .avia-builder-el-0 .av-element-cover video{width:"+whCoverMod+"px; left: -"+(whCoverMod-ww100)/2+"px;}\n";} 114else 115{css+="#top .avia-builder-el-0 .av-element-cover iframe, #top .avia-builder-el-0 .av-element-cover embed, #top .avia-builder-el-0 .av-element-cover object, #top .avia-builder-el-0 .av-element-cover video{he
115ight:"+wwCover+"px; top: -"+(wwCover-wh100_mod)/2+"px;}\n";} 116try 117{css_block.text(css);} 118catch(err) 119{css_block.remove();css_block=$("<style type='text/css' id='av-browser-height'>"+css+"</style>").appendTo(headFirst);} 120setTimeout(function() 121{win.trigger('av-height-change');},100);};this.each(function(index) 122{let container=$(this),height=container.data('av_minimum_height_pc');if('number'!=typeof height) 123{return this;} 124height=parseInt(height);if((-1==$.inArray(height,pc_heights))&&(height!=100)) 125{pc_heights.push(height);} 126return this;});win.on('debouncedresize',calc_height);calc_height();};$.fn.avia_container_height=function() 127{if(!this.length) 128{return this;} 129var win=$(window),calc_height=function() 130{var column=$(this),jsonHeight=column.data('av-column-min-height'),minHeight=parseInt(jsonHeight['column-min-pc'],10),container=null,containerHeight=0,columMinHeight=0;if(isNaN(minHeight)||minHeight==0) 131{return;} 132container=column.closest('.avia-section');if(!container.length) 133{container=column.closest('.av-gridrow-cell');} 134if(!container.length) 135{container=column.closest('.av-layout-tab');} 136containerHeight=container.length?container.outerHeight():win.height();columMinHeight=containerHeight*(minHeight/100.0);if(!jsonHeight['column-equal-height']) 137{column.css('min-height',columMinHeight+'px');column.css('height','auto');} 138else 139{column.css('height',columMinHeight+'px');} 140setTimeout(function() 141{win.trigger('av-height-change');},100);};this.each(function(index) 142{var column=$(this),jsonHeight=column.data('av-column-min-height');if('object'!=typeof jsonHeight) 143{return this;} 144win.on('debouncedresize',calc_height.bind(column));calc_height.call(column);return this;});};$.fn.avia_video_section=function() 145{if(!this.length)return;var elements=this.length,content="",win=$(window),headFirst=$('head').first(),css_block=$("<style type='text/css' id='av-section-height'></style>").appendTo(headFirst),calc_height=function(section,counter) 146{if(counter===0){content="";} 147var css="",the_id='#'+section.attr('id'),wh100=section.height(),ww100=section.width(),aspect=section.data('sectionVideoRatio').split(':'),video_w=aspect[0],video_h=aspect[1],whCover=(wh100/video_h)*video_w,wwCover=(ww100/video_w)*video_h;if(ww100/wh100<video_w/video_h) 148{css+="#top "+the_id+" .av-section-video-bg iframe, #top "+the_id+" .av-section-video-bg embed, #top "+the_id+" .av-section-video-bg object, #top "+the_id+" .av-section-video-bg video{width:"+whCover+"px; left: -"+(whCover-ww100)/2+"px;}\n";} 149else 150{css+="#top "+the_id+" .av-section-video-bg iframe, #top "+the_id+" .av-section-video-bg embed, #top "+the_id+" .av-section-video-bg object, #top "+the_id+" .av-section-video-bg video{height:"+wwCover+"px; top: -"+(wwCover-wh100)/2+"px;}\n";} 151content=content+css;if(elements==counter+1) 152{try{css_block.text(content);} 153catch(err){css_block.remove();css_block=$("<style type='text/css' id='av-section-height'>"+content+"</style>").appendTo(headFirst);}}};return this.each(function(i) 154{var self=$(this);win.on('debouncedresize',function(){calc_height(self,i);});calc_height(self,i);});};$.fn.avia_link_column=function() 155{return this.each(function() 156{$(this).on('click',function(e) 157{if('undefined'!==typeof e.target&&'undefined'!==typeof e.target.href) 158{return;} 159var column=$(this),url=column.data('link-column-url'),target=column.data('link-column-target'),link=window.location.hostname+window.location.pathname;if('undefined'===typeof url||'string'!==typeof url) 160{return;} 161if('undefined'!==typeof target||'_blank'==target) 162{var a=document.createElement('a');a.href=url;a.target='_blank';a.rel='noopener noreferrer';a.click();return false;} 163else 164{if(column.hasClass('av-cell-link')||column.hasClass('av-column-link')) 165{var reader=column.hasClass('av-cell-link')?column.prev('a.av-screen-reader-only').first():column.find('a.av-screen-reader-only').first();url=url.trim();if((0==url.indexOf("#"))||((url.indexOf(link)>=0)&&(url.indexOf("#")>0))) 166{reader.trigger('click');if('undefined'==typeof target||'_blank'!=target) 167{window.location.href=url;} 168return;}} 169window.location.href=url;} 170e.preventDefault();return;});});};$.fn.avia_waypoints=function(options_passed) 171{if(!$('html').is('.avia_transform')) 172{return;} 173var defaults={offset:'bottom-in-view',triggerOnce:true},options=$.extend({},defaults,options_passed),isMobile=$.avia_utilities.isMobile;return this.each(function() 174{var element=$(this),force_animate=element.hasClass('animate-all-devices'),mobile_no_animations=$('body').hasClass('avia-mobile-no-animations');setTimeout(function() 175{if(isMobile&&mobile_no_animations&&!force_animate) 176{element.addClass('avia_start_animation').trigger('avia_start_animation');} 177else 178{element.waypoint(function(direction) 179{var current=$(this.element),parent=current.parents('.av-animation-delay-container').eq(0);if(parent.length) 180{current.addClass('avia_start_animation_when_active').trigger('avia_start_animation_when_active');} 181if(!parent.length||(parent.length&&parent.is('.__av_init_open'))||(parent.length&&parent.is('.av-active-tab-content'))) 182{current.addClass('avia_start_animation').trigger('avia_start_animation');}},options);}},100);});};var $event=$.event,$special,resizeTimeout;$special=$event.special.debouncedresize={setup:function(){$(this).on("resize",$special.handler);},teardown:function(){$(this).off("resize",$special.handler);},handler:function(event,execAsap){var context=this,args=arguments,dispatch=function(){event.type="debouncedresize";$event.dispatch.apply(context,args);};if(resizeTimeout){clearTimeout(resizeTimeout);} 183execAsap?dispatch():resizeTimeout=setTimeout(dispatch,$special.threshold);},threshold:150};})(jQuery);(function($) 184{"use strict";$.avia_utilities=$.avia_utilities||{};$.avia_utilities.loading=function(attach_to,delay){var loader={active:false,show:function() 185{if(loader.active===false) 186{loader.active=true;loader.loading_item.css({display:'block',opacity:0}
186);} 187loader.loading_item.stop().animate({opacity:1});},hide:function() 188{if(typeof delay==='undefined'){delay=600;} 189loader.loading_item.stop().delay(delay).animate({opacity:0},function() 190{loader.loading_item.css({display:'none'});loader.active=false;});},attach:function() 191{if(typeof attach_to==='undefined'){attach_to='body';} 192loader.loading_item=$('<div class="avia_loading_icon"><div class="av-siteloader"></div></div>').css({display:"none"}).appendTo(attach_to);}};loader.attach();return loader;};$.avia_utilities.playpause=function(attach_to,delay){var pp={active:false,to1:"",to2:"",set:function(status) 193{pp.loading_item.removeClass('av-play av-pause');pp.to1=setTimeout(function(){pp.loading_item.addClass('av-'+status);},10);pp.to2=setTimeout(function(){pp.loading_item.removeClass('av-'+status);},1500);},attach:function() 194{if(typeof attach_to==='undefined'){attach_to='body';} 195pp.loading_item=$('<div class="avia_playpause_icon"></div>').css({display:"none"}).appendTo(attach_to);}};pp.attach();return pp;};$.avia_utilities.preload=function(options_passed) 196{new $.AviaPreloader(options_passed);};$.AviaPreloader=function(options) 197{this.win=$(window);this.defaults={container:'body',maxLoops:10,trigger_single:true,single_callback:function(){},global_callback:function(){}};this.options=$.extend({},this.defaults,options);this.preload_images=0;this.load_images();};$.AviaPreloader.prototype={load_images:function() 198{var _self=this;if(typeof _self.options.container==='string'){_self.options.container=$(_self.options.container);} 199_self.options.container.each(function() 200{var container=$(this);container.images=container.find('img');container.allImages=container.images;_self.preload_images+=container.images.length;setTimeout(function(){_self.checkImage(container);},10);});},checkImage:function(container) 201{var _self=this;container.images.each(function() 202{if(this.complete===true) 203{container.images=container.images.not(this);_self.preload_images-=1;}});if(container.images.length&&_self.options.maxLoops>=0) 204{_self.options.maxLoops-=1;setTimeout(function(){_self.checkImage(container);},500);} 205else 206{_self.preload_images=_self.preload_images-container.images.length;_self.trigger_loaded(container);}},trigger_loaded:function(container) 207{var _self=this;if(_self.options.trigger_single!==false) 208{_self.win.trigger('avia_images_loaded_single',[container]);_self.options.single_callback.call(container);} 209if(_self.preload_images===0) 210{_self.win.trigger('avia_images_loaded');_self.options.global_callback.call();}}};$.avia_utilities.css_easings={linear:'linear',swing:'ease-in-out',bounce:'cubic-bezier(0.0, 0.35, .5, 1.3)',easeInQuad:'cubic-bezier(0.550, 0.085, 0.680, 0.530)',easeInCubic:'cubic-bezier(0.550, 0.055, 0.675, 0.190)',easeInQuart:'cubic-bezier(0.895, 0.030, 0.685, 0.220)',easeInQuint:'cubic-bezier(0.755, 0.050, 0.855, 0.060)',easeInSine:'cubic-bezier(0.470, 0.000, 0.745, 0.715)',easeInExpo:'cubic-bezier(0.950, 0.050, 0.795, 0.035)',easeInCirc:'cubic-bezier(0.600, 0.040, 0.980, 0.335)',easeInBack:'cubic-bezier(0.600, -0.280, 0.735, 0.04)',easeOutQuad:'cubic-bezier(0.250, 0.460, 0.450, 0.940)',easeOutCubic:'cubic-bezier(0.215, 0.610, 0.355, 1.000)',easeOutQuart:'cubic-bezier(0.165, 0.840, 0.440, 1.000)',easeOutQuint:'cubic-bezier(0.230, 1.000, 0.320, 1.000)',easeOutSine:'cubic-bezier(0.390, 0.575, 0.565, 1.000)',easeOutExpo:'cubic-bezier(0.190, 1.000, 0.220, 1.000)',easeOutCirc:'cubic-bezier(0.075, 0.820, 0.165, 1.000)',easeOutBack:'cubic-bezier(0.175, 0.885, 0.320, 1.275)',easeInOutQuad:'cubic-bezier(0.455, 0.030, 0.515, 0.955)',easeInOutCubic:'cubic-bezier(0.645, 0.045, 0.355, 1.000)',easeInOutQuart:'cubic-bezier(0.770, 0.000, 0.175, 1.000)',easeInOutQuint:'cubic-bezier(0.860, 0.000, 0.070, 1.000)',easeInOutSine:'cubic-bezier(0.445, 0.050, 0.550, 0.950)',easeInOutExpo:'cubic-bezier(1.000, 0.000, 0.000, 1.000)',easeInOutCirc:'cubic-bezier(0.785, 0.135, 0.150, 0.860)',easeInOutBack:'cubic-bezier(0.680, -0.550, 0.265, 1.55)',easeInOutBounce:'cubic-bezier(0.580, -0.365, 0.490, 1.365)',easeOutBounce:'cubic-bezier(0.760, 0.085, 0.490, 1.365)'};$.avia_utilities.supported={};$.avia_utilities.supports=(function() 211{var div=document.createElement('div'),vendors=['Khtml','Ms','Moz','Webkit'];return function(prop,vendor_overwrite) 212{if(div.style[prop]!==undefined){return"";} 213if(vendor_overwrite!==undefined){vendors=vendor_overwrite;} 214prop=prop.replace(/^[a-z]/,function(val) 215{return val.toUpperCase();});var len=vendors.length;while(len--) 216{if(div.style[vendors[len]+prop]!==undefined) 217{return"-"+vendors[len].toLowerCase()+"-";}} 218return false;};}());$.fn.avia_animate=function(prop,speed,easing,callback) 219{if(typeof speed==='function'){callback=speed;speed=false;} 220if(typeof easing==='function'){callback=easing;easing=false;} 221if(typeof speed==='string'){easing=speed;speed=false;} 222if(callback===undefined||callback===false){callback=function(){};} 223if(easing===undefined||easing===false){easing='easeInQuad';} 224if(speed===undefined||speed===false){speed=400;} 225if($.avia_utilities.supported.transition===undefined) 226{$.avia_utilities.supported.transition=$.avia_utilities.supports('transition');} 227if($.avia_utilities.supported.transition!==false) 228{var prefix=$.avia_utilities.supported.transition+'transition',cssRule={},cssProp={},thisStyle=document.body.style,end=(thisStyle.WebkitTransition!==un
228defined)?'webkitTransitionEnd':(thisStyle.OTransition!==undefined)?'oTransitionEnd':'transitionend';easing=$.avia_utilities.css_easings[easing];cssRule[prefix]='all '+(speed/1000)+'s '+easing;end=end+".avia_animate";for(var rule in prop) 229{if(prop.hasOwnProperty(rule)){cssProp[rule]=prop[rule];}} 230prop=cssProp;this.each(function() 231{var element=$(this),css_difference=false,rule,current_css;for(rule in prop) 232{if(prop.hasOwnProperty(rule)) 233{current_css=element.css(rule);if(prop[rule]!=current_css&&prop[rule]!=current_css.replace(/px|%/g,"")) 234{css_difference=true;break;}}} 235if(css_difference) 236{if(!($.avia_utilities.supported.transition+"transform"in prop)) 237{prop[$.avia_utilities.supported.transition+"transform"]="translateZ(0)";} 238var endTriggered=false;element.on(end,function(event) 239{if(event.target!=event.currentTarget)return false;if(endTriggered==true)return false;endTriggered=true;cssRule[prefix]="none";element.off(end);element.css(cssRule);setTimeout(function(){callback.call(element);});});setTimeout(function(){if(!endTriggered&&!avia_is_mobile&&$('html').is('.avia-safari')){element.trigger(end);$.avia_utilities.log('Safari Fallback '+end+' trigger');}},speed+100);setTimeout(function(){element.css(cssRule);},10);setTimeout(function(){element.css(prop);},20);} 240else 241{setTimeout(function(){callback.call(element);});}});} 242else 243{this.animate(prop,speed,easing,callback);} 244return this;};})(jQuery);(function($) 245{"use strict";$.fn.avia_keyboard_controls=function(options_passed) 246{var defaults={37:'.prev-slide',39:'.next-slide'},methods={mousebind:function(slider) 247{slider.on('mouseenter',function(){slider.mouseover=true;}).on('mouseleave',function(){slider.mouseover=false;});},keybind:function(slider) 248{$(document).on('keydown',function(e) 249{if(slider.mouseover&&typeof slider.options[e.keyCode]!=='undefined') 250{var item;if(typeof slider.options[e.keyCode]==='string') 251{item=slider.find(slider.options[e.keyCode]);} 252else 253{item=slider.options[e.keyCode];} 254if(item.length) 255{item.trigger('click',['keypress']);return false;}}});}};return this.each(function() 256{var slider=$(this);slider.options=$.extend({},defaults,options_passed);slider.mouseover=false;methods.mousebind(slider);methods.keybind(slider);});};$.fn.avia_swipe_trigger=function(passed_options) 257{var win=$(window),isMobile=$.avia_utilities.isMobile,isTouchDevice=$.avia_utilities.isTouchDevice,body=$('body'),defaults={prev:'.prev-slide',next:'.next-slide',delay_trigger:false,event:{prev:'click',next:'click'},beforeTrigger:null,afterTrigger:null,afterDelayedTrigger:null},methods={activate_touch_control:function(slider) 258{var i,differenceX,differenceY;slider.touchPos={};slider.hasMoved=false;slider.on('touchstart',function(event) 259{slider.touchPos.X=event.originalEvent.touches[0].clientX;slider.touchPos.Y=event.originalEvent.touches[0].clientY;});slider.on('touchend',function(event) 260{slider.touchPos={};if(slider.hasMoved) 261{event.preventDefault();} 262slider.hasMoved=false;});slider.on('touchmove',function(event) 263{if(body.hasClass('avia-swipe-executed')) 264{return;} 265if(!slider.touchPos.X) 266{slider.touchPos.X=event.originalEvent.touches[0].clientX;slider.touchPos.Y=event.originalEvent.touches[0].clientY;} 267else 268{differenceX=event.originalEvent.touches[0].clientX-slider.touchPos.X;differenceY=event.originalEvent.touches[0].clientY-slider.touchPos.Y;if(Math.abs(differenceX)>Math.abs(differenceY)) 269{if(slider.touchPos!==event.originalEvent.touches[0].clientX) 270{if(Math.abs(differenceX)>50) 271{i=differenceX>0?'prev':'next';let element=slider.options[i];if(element==null) 272{return;} 273if(typeof slider.options.beforeTrigger=='function') 274{slider.options.beforeTrigger(slider,i);} 275if(typeof slider.options[i]==='string') 276{slider.find(slider.options[i]).trigger(slider.options.event[i],['swipe']);} 277else 278{if(typeof element.jquery=='string') 279{element.trigger(slider.options.event[i],['swipe']);} 280else 281{let action=slider.options.event[i];if(action.indexOf('native_')<0) 282{element.dispatchEvent(new Event(action));} 283else 284{let func_action=action.replace('native_','');if(typeof element[func_action]=='function') 285{if(slider.options.delay_trigger) 286{setTimeout(function() 287{element[func_action]();if(typeof slider.options.afterDelayedTrigger=='function') 288{slider.options.afterDelayedTrigger(slider,i);}},50);} 289else 290{element[func_action]();}} 291else 292{element.dispatchEvent(new Event(action));}}}} 293if(typeof slider.options.afterTrigger=='function') 294{slider.options.afterTrigger(slider,i);} 295event.preventDefault();event.stopImmediatePropagation();body.addClass('avia-swipe-executed');setTimeout(function() 296{body.removeClass('avia-swipe-executed');},300);slider.hasMoved=true;slider.touchPos={};return false;}}}}});}};return this.each(function() 297{if(isMobile||isTouchDevice) 298{var slider=$(this);slider.options=$.extend({},defaults,passed_options);methods.activate_touch_control(slider);}});};}(jQuery));(function($) 299{if(typeof $.easing!=='undefined') 300{$.easing['jswing']=$.easing['swing'];} 301var pow=Math.pow,sqrt=Math.sqrt,sin=Math.sin,cos=Math.cos,PI=Math.PI,c1=1.70158,c2=c1*1.525,c3=c1+1,c4=(2*PI)/3,c5=(2*PI)/4.5;function bounceOut(x) 302{var n1=7.5625,d1=2.75;if(x<1/d1){return n1*x*x;}else if(x<2/d1){return n1*(x-=(1.5/d1))*x+.75;}else if(x<2.5/d1){return n1*(x-=(2.25/d1))*x+.9375;}else{return n1*(x-=(2.625/d1))*x+.984375;}} 303$.extend($.easing,{def:'easeOutQuad',swing:function(x){return $.easing[$.easing.def](x);},easeInQuad:function(x){return x*x;},easeOutQuad:function(x){return 1-(1-x)*(1-x);},easeInOutQuad:function(x){return x<0.5?2*x*x:1-pow(-2*x+2,2)/2;},easeInCubic:function(x){return x*x*x;},easeOutCubic:function(x){return 1-pow(1-x,3);},easeInOutCubic:function(x){return x<0.5?4*x*x*x:1-pow(-2*x+2,3)/2;},easeInQuart:function(x){return x*x*x*x;},easeOutQuart:function(x){return 1-pow(1-x,4);},easeInOutQuart:function(x){return x<0.5?8*x*x*x*x:1-pow(-2*x+2,4)/2;},easeInQuint:function(x){return x*x*x*x*x;},easeOutQuint:function(x){return 1-pow(1-x,5);},easeInOutQuint:function(x){return x<0.5?16*x*x*x*x*x:1-pow(-2*x+2,5)/2;},easeInSine:function(x){return 1-cos(x*PI/2);},easeOutSine:function(x){return sin(x*PI/2);},easeInOutSine:function(x){return-(cos(PI*x)-1)/2;},easeInExpo:function(x){return x===0?0:pow(2,10*x-10);},easeOutExpo:function(x){return x===1?1:1-pow(2,-10*x);},easeInOutExpo:function(x){return x===0?0:x===1?1:x<0.5?pow(2,20*x-10)/2:(2-pow(2,-20*x+10))/2;},easeInCirc:function(x){return 1-sqrt(1-pow(x,2));},easeOutCirc:function(x){return sqrt(1-pow(x-1,2));},easeInOutCirc:function(x){return x<0.5?(1-sqrt(1-pow(2*x,2)))/2:(sqrt(1-pow(-2*x+2,2))+1)/2;},easeInElastic:function(x){return x===0?0:x===1?1:-pow(2,10*x-10)*sin((x*10-10.75)*c4);},easeOutElastic:function(x){return x===0?0:x===1?1:pow(2,-10*x)*sin((x*10-0.75)*c4)+1;},easeInOutElastic:function(x){return x===0?0:x===1?1:x<0.5?-(pow(2,20*x-10)*sin((20*x-11.125)*c5))/2:pow(2,-20*x+10)*sin((20*x-11.125)*c5)/2+1;},easeInBack:function(x){return c3*x*x*x-c1*x*x;},easeOutBack:function(x){return 1+c3*pow(x-1,3)+c1*pow(x-1,2);},easeInOutBack:function(x){return x<0.5?(pow(2*x,2)*((c2+1)*2*x-c2))/2:(pow(2*x-2,2)*((c2+1)*(x*2-2)+c2)+2)/2;},easeInBounce:function(x){return 1-bounceOut(1-x);},easeOutBounce:bounceOut,easeInOutBounce:function(x){return x<0.5?(1-bounceOut(1-2*x))/2:(1+bounceOut(2*x-1))/2;}});}(jQuery));
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.