1(function($){var LaeScrollTop=function(){this.$hbody=$("html, body");this.$w=$(window);this.wh=this.$w.height();this.scrollTimer=null;this.initialize()};LaeScrollTop.prototype.initialize=function(){var that=this;this.$btn=$('<button title="Retour haut de page" id="lae_scrolltop"><i class="icon icon-chevron-right-light"></i><span class="hidden">Retour haut de page</span></button>');this.$btn.on("click touchstart",function(e){e.preventDefault();window.scrollTo({top:0,behavior:"smooth",})});$("body").append(that.$btn);this.$w.scroll(function(){if(that.scrollTimer){clearTimeout(that.scrollTimer)} 2that.scrollTimer=setTimeout(function(){that.handleScroll()},500)})};LaeScrollTop.prototype.handleScroll=function(){var that=this;that.scrollTimer=null;var position=that.$w.scrollTop();if(position>that.wh*1.5){that.$btn.addClass("visible")}else{that.$btn.removeClass("visible")}};new LaeScrollTop();var LaeMegaMenu=function(){this.$page=$("html");this.$body=$("body");this.mode=this.$body.attr("data-elementor-device-mode");this.initialized=!1;this.n1Selector=".mp-i[aria-controls]";this.$n1Links=$(this.n1Selector);this.$mpUl=$("#mp_ul");this.visible=!1;this.mobile=!1;this.activeSubmenu=null;this.initialize()};LaeMegaMenu.prototype.initialize=function(){var that=this;this.initialized=!0;this.$page.on("click","#tgl_mpm",function(e){that.$page.toggleClass("mp-visible");var $close=$('<a href="javascript:;" class="close"><b>Fermer</b></a>');$('.mp').append($close);e.stopPropagation()});this.$mpUl.on("focusout","> li",function(e){var $currentLi=$(this);setTimeout(function(){if(!$currentLi.has(document.activeElement).length&&!$currentLi.is(document.activeElement)){$currentLi.find(that.n1Selector+'[aria-expanded="true"]').attr("aria-expanded","false");if(that.$mpUl.find('[aria-expanded="true"]').length===0){that.$page.removeClass("sm-visible");that.visible=!1;that.ajustMenu()}}},10)});this.$page.on("focusout","#mp_ul",function(e){var $navMobile=$(this);if(that.mobile||that.$page.hasClass("mp-visible")){setTimeout(function(){if(!$navMobile.has(document.activeElement).length&&!$navMobile.is(document.activeElement)){that.ajustMenu()}},10)}});this.$n1Links.on("click touchstart",function(e){e.preventDefault();var $a=$(this);that.desktopN1Click($a)});this.$page.on("click touchstart",".close-sm",function(e){e.preventDefault();$(that.n1Selector+'[aria-expanded="true"]').attr("aria-expanded","false");that.$page.removeClass("sm-visible");that.visible=!1;that.ajustMenu()});this.$page.on("click touchstart",".close",function(e){e.preventDefault();that.$page.removeClass("mp-visible");that.ajustMenu()});this.$page.on("click touchstart",".back",function(e){console.log('1');e.preventDefault();var $a=$(this);that.ajustMenu();$(that.n1Selector+'[aria-expanded="true"]').attr("aria-expanded","false")});this.$page.on("click touchstart",'a[href^="#mob-"]:not(.back)',function(e){e.preventDefault();var $a=$(this);$a.closest("div[id]").addClass("decale");$($a.attr("href")).addClass("visible")});this.$page.on("click",".mob .close",function(e){that.ajustMenu();e.stopPropagation()});$(".mp-sm").each(function(){$(this).attr('tabindex',"-1");$(this).attr('aria-hidden',!0);$(this).attr('aria-label','submenu-hidden')})};LaeMegaMenu.prototype.slugify=function(str){str=str.replace(/^\s+|\s+$/g,"");str=str.toLowerCase();var from="à áäâèéëêìÃïîòóöôùúüûñç·/_,:;";var to="aaaaeeeeiiiioooouuuunc------";for(var i=0,l=from.length;i<l;i++){str=str.replace(new RegExp(from.charAt(i),"g"),to.charAt(i))} 3str=str.replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-");return str};LaeMegaMenu.prototype.desktopN1Click=function($a){var that=this;this.activeSubmenu=$a.attr("aria-controls");var $currentSubmenu=$("#"+this.activeSubmenu);if($a.attr("aria-expanded")=="false"){$(that.n1Selector+'[aria-expanded="true"]').attr("aria-expanded","false");$a.attr("aria-expanded","true");$currentSubmenu.attr("aria-hidden","false");that.$page.addClass("sm-visible");that.visible=!0}else{$a.attr("aria-expanded","false");$currentSubmenu.attr("aria-hidden","true");that.$page.removeClass("sm-visible");that.visible=!1} 4that.ajustMenu()};LaeMegaMenu.prototype.ajustMenu=function(){this.mode=this.$body.attr("data-elementor-device-mode");if(this.mode=="desktop"||this.mode=="tablet"){if(this.$page.hasClass("sm-visible")){if($("#wpadminbar").height())$hwp=$("#wpadminbar").height();else $hwp=0;$(".lae-header").css("height",$(window).height()-$hwp);$(".lae-header").css("overflow-y","auto");$(".mp-sm").each(function(){var hm=$(this).find(".sectionM").outerHeight(!0);$(this).css("min-height",hm)})}else{$(".lae-header").css("height","inherit");$(".lae-header").css("overflow-y","inherit")}}};LaeMegaMenu.prototype.mobileBuild=function(){var that=this;this.$mobileDom=$('<div class="mob"></div>');$(".mp-sm").each(function(index,element){var $sm=$(this);var smId=$sm.attr("id");var n2Id=smId.replace("m-","mob-");var $n2Mob=$('<div class="n2mob" id="'+n2Id+'"></div>');$n2Mob.append('<a href="#mp_ul" class="back">Menu principal</a>');var tN2=$('a[href="#'+smId+'"]').text();$n2Mob.append('<p class="t">'+tN2+"</p>");var className=$sm.find(".sectionM").parents(".elementor").attr("class");$n2Mob.append($sm.find(".sectionM").clone());that.$mobileDom.append($n2Mob);$n2Mob.find(".sectionM").addClass(className)});$("nav.mp").append(this.$mobileDom);var $close=$('<a href="javascript:;" class="close"><b>Fermer</b></a>');this.$mobileDom.append($close)};LaeMegaMenu.prototype.mobileDestroy=function(){this.mobile=!1;this.$page.removeClass("mp-visible");this.$mpUl.removeClass("decale");this.$mobileDom.remove()};LaeMegaMenu.prototype.mobileN1Click=function($a){var select=$a.attr("href").replace("#m-","#mob-");$(select).addClass("visible");this.$mpUl.addClass("decale");var h=$(window).height()-$(select).find(".back").outerHeight(!0)-$(select).find(".t").outerHeight(!0);$(select).find(".sectionM ").css("height",h)};LaeMegaMenu.prototype.initializeKeyNavigation=function(){};var LaeScrollTop=function(){this.$hbody=$("html, body");this.$w=$(window);this.wh=this.$w.height();this.scrollTimer=null;this.initialize()};LaeScrollTop.prototype.initialize=function(){var that=this};
4LaeScrollTop.prototype.handleScroll=function(){var that=this;that.scrollTimer=null;var position=that.$w.scrollTop();if(position>that.wh*1.5){that.$btn.addClass("visible")}else{that.$btn.removeClass("visible")}};$(function(){$menu=new LaeMegaMenu();new LaeScrollTop();var $body=$("body");var $page=$("html");var isPreview=$body.hasClass("elementor-editor-active");var urlSplitted=window.location.pathname.split("/");if(urlSplitted.length>3){$('a[href*="'+window.location.pathname+'"]').addClass("actif")} 5$('.mp-i[href="#m-'+urlSplitted[2]+'"]').addClass("menu-item--actif");$body.on("click",".affiche .toggle-popup",function(e){e.preventDefault();var $pdom=$(this).closest(".affiche");$pdom.toggleClass("deplie");localStorage.setItem($pdom.attr("id"),""+!$pdom.hasClass("deplie"))});if(!$(".elementor-widget-lae-header").hasClass("lae-header--img")&&!$("body").hasClass("home")){$("body").addClass("header-noir")} 6if($body.find(".tafe-table .tafe-table-header").length>0){$(".tafe-table-body tr").each(function(index,tr){$(tr).find("td").each(function(index,td){if($(".tafe-table-header th").eq(index).text()!=""){$text=$(this).html().replace(/[<]br[^>]*[>]/gi,"");$textavecBr=$(this).html();$(this).html('<span class="text">'+$textavecBr+"</span>");$(td).attr("data-title",$(".tafe-table-header th").eq(index).text())}})})} 7if(!isPreview){$page.on("click",".click-block",function(e){e.preventDefault();var lien=$(this).find("a:first");if(lien.attr("target")==="_blank"){window.open(lien.attr("href"),"_blank")}else{$(location).attr("href",lien.attr("href"))}})} 8if($(".carrouselAgenda").length>0){var swiper=new Swiper(".swiper-container",{slidesPerView:1,spaceBetween:10,breakpoints:{480:{slidesPerView:1,},768:{slidesPerView:2,},1024:{slidesPerView:3,},},watchOverflow:!0,disableOnInteraction:!0,navigation:{nextEl:".nxt-agendaMoment",prevEl:".prv-agendaMoment",},});$(".list-item").click(function(){window.location.href=$(this).find(".dsio-detail-button").attr("href")})} 9if($("#sliderActu").length>0){$("#sliderActu article").addClass("swiper-slide");$("#sliderActu .ecs-posts").addClass("swiper-wrapper");$("#sliderActu > .elementor-widget-container").append('<div class="prv-sliderActu prv"><i class="lae-icon-chevron-right-light"></i></div>');$("#sliderActu > .elementor-widget-container").append('<div class="nxt-sliderActu nxt"><i class="lae-icon-chevron-right-light"></i></div>');var swiper=new Swiper("#sliderActu > .elementor-widget-container",{slidesPerView:1,loop:!0,spaceBetween:0,autoHeight:!0,autoplay:{delay:7000,disableOnInteraction:!0,},watchOverflow:!0,navigation:{nextEl:".nxt-sliderActu",prevEl:".prv-sliderActu",},})} 10$(document).on("elementor/popup/show",function(event,id,instance){var $pdom=$("#elementor-popup-modal-"+id);var check=localStorage.getItem("elementor-popup-modal-"+id);if(!check||check=="false"){$pdom.addClass("deplie")}});$(window).scroll(function(){var $pdom=$(".elementor-popup-modal.affiche.deplie");if($pdom.length){$pdom.removeClass("deplie");localStorage.setItem($pdom.attr("id"),"true")}});$(window).resize(function(){$menu.ajustMenu()});$('div[data-elementor-type="wp-page"] a[href^="#"]').on("click",function(e){e.stopPropagation();var target=this.hash;var $target=$(target);$("html, body").stop().animate({scrollTop:$target.offset().top-120,},900)});$('a[href="#top"]').click(function(e){e.preventDefault();$("html, body").animate({scrollTop:0,},600)});$('.gfield_radio input[type="radio"]').attr("role","radio");$(".gfield_radio").attr("role","radiogroup");$(".gfield_radio").wrap(function(){return"<fieldset></fieldset>"});$('.mp-sm').css('top',$('.lae-header>div').outerHeight(!0));var $merge=$.merge($('.gfield input[type="text"]'),$('.gfield textarea'));$.each($.merge($merge,$('.gfield input[type="email"]')),function(){$placeholder=$(this).attr("placeholder");$date=!1;if($(this).hasClass('datepicker')){$(this).attr('onfocus',"(this.type='date')");$(this).attr('onblur',"(this.type='date')");$(this).attr("placeholder","jour/mois/année");$(this).removeClass();$date=!0} 11if($placeholder){$(this).attr('aria-describedby','desc-'+$(this).attr('id'));$(this).after('<p class="informationComplementaire" id="desc-'+$(this).attr('id')+'">'+$placeholder+'</p>');if(!($date))$(this).attr("placeholder","")}});$(document).on('keyup',function(e){if(e.keyCode=="27"){e.preventDefault;$('#mp_ul').find('[aria-expanded="true"]').attr("aria-expanded","fal
11se");if($('html').hasClass('sm-visible')) 12$('html').removeClass('sm-visible');else $('html').removeClass('mp-visible')}})})})(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.