1$=jQuery;function createCookie(name,value,days){if(days){var date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));var expires="; expires="+date.toGMTString()}else var expires="";document.cookie=name+"="+value+expires+"; path=/"} 2function readCookie(name){var nameEQ=name+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' ')c=c.substring(1,c.length);if(c.indexOf(nameEQ)==0)return c.substring(nameEQ.length,c.length)} 3return null} 4function eraseCookie(name){createCookie(name,"",-1)} 5function centerImageInContainer(){$('.ida_image_cover').each(function(){var container=$(this);var img=container.children('img');var widthContainer=container.innerWidth();var heightContainer=container.innerHeight();var ratioContainer=widthContainer/heightContainer;var widthImage=img.innerWidth();var heightImage=img.innerHeight();var ratioImage=widthImage/heightImage;if(ratioContainer>1){if(ratioImage<ratioContainer){img.css('width',widthContainer);img.css('height','auto')}else if(ratioImage>ratioContainer){img.css('height',heightContainer);img.css('width','auto')}}else{if(ratioImage<ratioContainer){img.css('width',widthContainer);img.css('height','auto')}else if(ratioImage>ratioContainer){img.css('height',heightContainer);img.css('width','auto')}}})} 6function generateSlickSlider(){$('.idaddons_slider').each(function(){var transition_type=$(this).data('transition-type')=="fade"?!0:!1;var duration=$(this).data('duration');var transition_duration=$(this).data('transition-duration');var autoplay=$(this).data('autoplay')=="oui"?!0:!1;var slides_to_show=$(this).data('slides-to-show');var slides_to_scroll=$(this).data('slides-to-scroll');var infinite=$(this).data('infinite')=="oui"?!0:!1;var dots=$(this).data('dots')=="oui"?!0:!1;var arrows=$(this).data('arrows')=="oui"?!0:!1;var transparent_mask=$(this).data('transparent-mask')=="oui"?!0:!1;var mask_color=$(this).data('mask-color');$(this).slick({slide:'li',fade:transition_type,autoplaySpeed:duration,speed:transition_duration,autoplay:autoplay,slidesToShow:slides_to_show,slidesToScroll:slides_to_scroll,infinite:infinite,dots:dots,arrows:arrows})})} 7function resizeFullHeightSlider(){if(!$('.idaddons_slider.full_height').length)return;var height=parseInt($(window).innerHeight());var wpadminbar=0 8if($('#wpadminbar').length) 9wpadminbar=parseInt($('#wpadminbar').innerHeight());height-=wpadminbar;$('.idaddons_slider.full_height').css('height',height)} 10function idaLazyLoad(){var windowTop=$(window).scrollTop();var windowBottom=parseInt(windowTop+window.innerHeight);var maxPerCall=8;var countCall=0;$('img.ida_lazyload').not('.loaded').each(function(){if(!$(this).parent().is((':visible'))) 11return;if(countCall>=maxPerCall) 12return!1;if(typeof($(this).attr('onload'))=="undefined") 13$(this).attr('onload',"idaImgLoaded($(this));");var _thisOffsetTop=parseInt($(this).parent().offset().top);var _thisOffsetBottom=_thisOffsetTop+parseInt($(this).parent().innerHeight());if(_thisOffsetTop>=windowTop&&_thisOffsetTop<=windowBottom){countCall++;$(this).addClass('loaded').attr('src',$(this).data('src')).removeAttr('data-src');return!0} 14if(_thisOffsetBottom>=windowTop&&_thisOffsetBottom<=windowBottom){countCall++;$(this).addClass('loaded').attr('src',$(this).data('src')).removeAttr('data-src');return!0}})} 15function idaBackgroundLazyLoad(){var windowTop=$(window).scrollTop();var windowBottom=parseInt(windowTop+window.innerHeight);var maxPerCall=8;var countCall=0;$('.ida_bg_lazyload').not('.loaded').each(function(){if(!$(this).is((':visible'))) 16return;if(countCall>=maxPerCall) 17return!1;var _thisOffsetTop=parseInt($(this).offset().top);var _thisOffsetBottom=_thisOffsetTop+parseInt($(this).innerHeight());if(_thisOffsetTop>=windowTop&&_thisOffsetTop<=windowBottom){countCall++;var backgrounds=$(this).data('background');var backgroundStr="";backgrounds=backgrounds.split(",");$.each(backgrounds,function(index,value){if(backgroundStr=="") 18backgroundStr+="url("+value+")";else backgroundStr+=","+"url("+value+")"});$(this).addClass('loaded').css('background-image',backgroundStr).removeAttr('data-background');return!0} 19if(_thisOffsetBottom>=windowTop&&_thisOffsetBottom<=windowBottom){countCall++;var backgrounds=$(this).data('background');var backgroundStr="";backgrounds=backgrounds.split(",");$.each(backgrounds,function(index,value){if(backgroundStr=="") 20backgroundStr+="url("+value+")";else backgroundStr+=","+"url("+value+")"});$(this).addClass('loaded').css('background-image',backgroundStr).removeAttr('data-background');return!0}})} 21function idaImgLoaded(img){if(!img.hasClass('smooth_arrival')){centerImageInContainer();img.addClass('smooth_arrival');img.fadeIn()}} 22$(document).ready(function(){$('body').addClass('ready');centerImageInContainer();$(window).resize(function(){setTimeout(function(){centerImageInContainer();resizeFullHeightSlider()},100)});$('#idaddons_debugbar').children('.hide').click(function(e){e.preventDefault();$(this).parent().toggleClass('hidden');if($(this).parent().hasClass('hidden')) 23createCookie("idaddons_debugbar","0",7);else createCookie("idaddons_debugbar","1",7)});generateSlickSlider();resizeFullHeightSlider();$(window).scroll(function(){idaLazyLoad();
23idaBackgroundLazyLoad()})});$(window).load(function(){$('body').addClass('load');centerImageInContainer();idaLazyLoad();idaBackgroundLazyLoad()})
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.