1gsap.registerPlugin(ScrollTrigger);!function(t){t.fn.animCount=function(n){return this.each(function(){var e=t(this),r=t.extend({from:null,to:100,duration:500,easing:"linear",before:null,after:null},n);e.prop("Counter",parseInt(r.from)?r.from:parseInt(e.text())?parseInt(e.text()):0).stop().animate({Counter:r.to},{duration:r.duration,easing:r.easing,step:function(n){t(this).text(Math.ceil(n))},start:r.before,always:r.after})})}}(jQuery);const $=s=>document.querySelector(s);const $$=s=>document.querySelectorAll(s);const nav=document.querySelector('#nav');const root=document.documentElement;document.body.addEventListener('keydown',function(e){if(e.key==="Escape"){$('body').classList.remove('mobileMenuOpen');bodyScrollLock.enableBodyScroll(nav);}}) 2for(let el of $$('.langToggle button')){el.addEventListener('click',function(){$('body').classList.remove('fr','de');$('body').setAttribute('data-preflang',this.dataset.lang);$('body').classList.add(this.dataset.lang);})} 3for(let el of $$('.menu-toggle')){el.addEventListener('click',function(){$('body').classList.toggle('mobileMenuOpen');if($('body').classList.contains('mobileMenuOpen')){bodyScrollLock.disableBodyScroll(nav);console.log('scrollLocked');}else{bodyScrollLock.clearAllBodyScrollLocks();console.log('scrollUNLocked');}})} 4for(let el of $$('.ct')){el.innerHTML="<n uers=\"znvygb:[email protected]\" >[email protected]</n>".replace(/[a-zA-Z]/g,function(c){return String.fromCharCode((c<="Z"?90:122)>=(c=c.charCodeAt(0)+13)?c:c-26);});} 5let $isotope;let filters={};jQuery(document).ready(function($){var sticky=new Waypoint.Sticky({element:$('button.menu-toggle')[0]}) 6$('#field_xnkv8k5').one('focus',function(){$('footer .frm_trigger').trigger('click');}) 7if($('ul.archives.list').length){$isotope=$('ul.archives.list').isotope({itemSelector:'li',layoutMode:'vertical',filter:'*'});$('h1.page-title').after('<div class="filterInfo"><b class="countinfo">'+$('ul.archives.list li').length+'</b> <span class="txt"><span class="fr" lang="fr-FR" xml:lang="fr-FR">Publication(s)</span><br><span class="de" lang="de-DE" xml:lang="de-DE">Publikation(en)</span></span></span></div>');$('ul.archives.list').before('<div class="noResults visuallyhidden">Pas de résultat veuillez supprimer des filtres <span lang="de-DE" xml:lang="de-DE">Keine Ergebnisse, bitte Filter entfernen!</span></div>');$isotope.on('arrangeComplete',function(event,filteredItems){$('.filterInfo').removeClass('visuallyhidden');$('.noResults').addClass('visuallyhidden');if(filteredItems.length===0){$('.filterInfo').addClass('visuallyhidden');$('.noResults').removeClass('visuallyhidden');} 8$('.filterInfo .countinfo').animCount({to:filteredItems.length});});}}) 9let getFiltersValue=function(){let selects=document.querySelectorAll('.select-wrapper select.multiple');if(selects){filters={};selects.forEach(function(el){const tax=el.getAttribute('data-tax');const options=el.selectedOptions;const val=Array.from(options).map(({value})=>'.'+value);filters[tax]=val.join(',');console.log(tax,val);});} 10$isotope.isotope({filter:concatValues(filters)})} 11function concatValues(obj){var value='';for(var prop in obj){value+=obj[prop];} 12return value;} 13let tomSelectInit=(function(){let selects=document.querySelectorAll('.select-wrapper select.multiple');if(selects){const tsOptions={plugins:{checkbox_options:true,remove_button:{title:'Retirez ce filtre / Diesen Filter entfernen',},clear_button:{title:'Supprimer les filtres / Filter entfernen',}},persist:false,onChange:function(v,i,a){getFiltersValue();}} 14selects.forEach(function(el){console.log(el.getAttribute('data-tax'));new TomSelect(el,tsOptions);});} 15let languageSwitcher=document.querySelectorAll('.select-wrapper select.languageSwitcher');if(languageSwitcher){languageSwitcher.forEach(function(el){let s=new TomSelect(el,{onChange:function(url){window.location=url;}});});}}()) 16let randomizeImgInit=(function(){const imgs=document.querySelector('body:not(.soutiens-partenaires) .randomizeImg .wp-block-group__inner-container');if(imgs){for(var i=imgs.children.length;i>=0;i--){imgs.appendChild(imgs.children[Math.random()*i|0]);}}}()) 17let contactRadioRemplacment=(function(){const rdios=document.querySelectorAll('.vertical_radio input[type="radio"]');if(rdios){rdios.forEach(function(rdio){let span=document.createElement('span');span.classList.add('checkbox');rdio.before(span);rdio.classList.add('checkbox-replaced');rdio.addEventListener('change',function(e){let active=this.parentNode.parentNode.parentNode.querySelector('.active');if(active){active.classList.remove('active');} 18if(this.checked){this.parentNode.classList.add('active');} 19console.log(e,this.getAttribute('name'));})});}}()) 20const initArchivesLinksHover=(function(){const links=document.querySelectorAll('.archives.list li .entry-title a,.archives.list li .content>div>a');if(links){links.forEach(function(link){link.addEventListener('mouseover',function(){let parent=this.closest('li');console.log(parent);parent.classList.add('hover');});link.addEventListener('mouseout',function(){let parent=this.closest('li');parent.classList.remove('hover');});});}})() 21const initBonjoursHover=(function(){const bonjours=document.querySelector('ul.list.bonjours');if(bonjours){var tooltip=new Drooltip({"element":"ul.list.bonjours li a[title]","trigger":"hover","position":"top","background":"var(--br)","color":"#fff","animation":"float",});gsap.set('#hello_tuto #popup,#hello_tuto #mfinal',{opacity:0}
21);gsap.set('#hello_tuto #h #mbase,#hello_tuto #h #mfinal,#hello_tuto #h #motion>*',{x:30});var tl=gsap.timeline({repeat:-1,repeatDelay:3});tl.to("#hello_tuto #h #mbase,#hello_tuto #h #mfinal",{x:-50,duration:1,delay:0});tl.to("#hello_tuto #h #motion>*",{x:-40,scaleX:1.8,duration:1,delay:-1});tl.to("#mbase",{opacity:0,duration:.2,delay:-.5});tl.to("#mfinal",{opacity:1,duration:.2,delay:-.5});tl.to("#hello_tuto #popup",{opacity:1,duration:.2,delay:-.5});tl.to("#hello_tuto #h #motion>*",{opacity:0,duration:.2});} 22const where=document.querySelectorAll('body.home .sirup-calendar-today_wrapper strong');const whereMarkers=document.querySelectorAll('.sirup-calendar-today_wrapper strong i');if(where.length>0){gsap.set(whereMarkers,{opacity:0,scale:2});gsap.set(where,{yPercent:100,opacity:0});gsap.to(gsap.utils.toArray(whereMarkers),{scrollTrigger:{trigger:'.sirup-calendar-today_wrapper',start:"top 70%",toggleActions:"restart none none none",},duration:2,scale:1,opacity:1,stagger:.3,onComplete:function(){gsap.fromTo(gsap.utils.toArray(whereMarkers),gsap.utils.random(0.4,0.8),{visible:true,scale:1},{scale:1.2,repeat:-1,ease:Elastic.easeOut.config(1.75,1),yoyo:true,stagger:gsap.utils.random(0,0.8)});}});gsap.to(gsap.utils.toArray(where),{scrollTrigger:{trigger:'.sirup-calendar-today_wrapper',toggleActions:"restart none none none",start:"top 70%",},duration:.8,yPercent:0,opacity:1,stagger:.5});}})()
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.