1'use strict';(function($,novacity){$(document).ready(function(){$('figure').each(function(){if($(this).find('figcaption').length){$(this).attr('role','group');$(this).attr('aria-label',$(this).find('figcaption').text())}});function cleanTabAttr(){setTimeout(function(){$('.nav[role="tablist"] .nav-item').removeAttr('role');$('.nav[role="tablist"] button[data-bs-toggle="tab"]').attr('tabindex','0')},500)} 2if($('button[data-bs-toggle="tab"]').length){cleanTabAttr();$('button[data-bs-toggle="tab"]').on('click',function(){cleanTabAttr()})} 3$('[target="_blank"]').each(function(index,element){if(typeof element.childNodes[0]!='undefined'&&element.childNodes[0].nodeValue!=null&&element.childNodes[0].nodeValue.trim()!=''){if($(element).parents('#wpadminbar').length==0){$(element).addClass('external-link').append([novacity.icons.external_link,'<span class="visually-hidden">(ouverture dans un nouvel onglet)</span>'])}}});const appHeight=()=>{const vh=window.innerHeight*0.01;document.documentElement.style.setProperty('--vh',`${vh}px`)} 4window.addEventListener('resize',appHeight) 5appHeight();$(window).on('load',function(){var navHeight=$('#navigation').outerHeight()+50;if($('#nav-summary').length>0){new Gumshoe('#nav-summary a',{offset:navHeight+10,})} 6$('[data-toggle="scroll-to"]').on('click',function(event){event.preventDefault();var $this=$(this),to;if($this.attr('href')!=undefined){to=$this.attr('href')}else if($this.data('target')!=undefined){if($this.data('target')=='next'){to=$this.closest('section').next()}else{to=$this.data('target')}}else{return!1} 7var top=$(to).offset().top-navHeight;$('html, body').stop().animate({scrollTop:top},1)})});$('[data-chained-select]').each(function(index,el){var $parent=$(el),$child=$($parent.data('chained-select')),$selected,$child_options=$child.clone(),$child_default=$child_options.find('option').eq(0).clone() 8$selected=$parent.find('option:selected') 9if($parent.val()!=''&&$child_options.find('[data-parent-id="'+$selected.data('id')+'"]').length){$child.removeAttr('disabled').html($child_default.clone()).show().append($child_options.clone().find('[data-parent-id="'+$selected.data('id')+'"]')).closest('.form-group').show()}else{$child.html($child_default.clone()).attr('disabled','disabled').hide().closest('.form-group').hide()} 10$parent.on('change',function(event){$selected=$parent.find('option:selected') 11if($parent.val()!=''&&$child_options.find('[data-parent-id="'+$selected.data('id')+'"]').length){$child.removeAttr('disabled').html($child_default.clone()).show().append($child_options.clone().find('[data-parent-id="'+$selected.data('id')+'"]')).closest('.form-group').show()}else{$child.html($child_default.clone()).attr('disabled','disabled').hide().closest('.form-group').hide()}})});$('.comment-reply-link').addClass('btn btn-primary');$('#commentsubmit').addClass('btn btn-primary');$('[data-sharer]').on('click',function(event){event.preventDefault();var $this=$(this),leftPosition=(window.screen.width/2)-((width/2)+10),topPosition=(window.screen.height/2)-((height/2)+50),width=526,height=350,windowFeatures='status=no,height='+height+',width='+width+',resizable=yes,left='+leftPosition+',top='+topPosition+',screenX='+leftPosition+',screenY='+topPosition+',toolbar=no,menubar=no,scrollbars=no,location=no,directories=no',t=document.title;window.open($this.attr('href'),'sharer',windowFeatures);return!1});function setActiveLanguage(lang){var list=$('#nova-translate');list.find('a').removeClass('active') 12if(lang){list.find('[onclick^="doGTranslate(\'fr|'+lang+'"]').addClass('active')}else{list.find('[onclick^="doGTranslate(\'fr|fr"]').addClass('active')}} 13if($('#nova-translate').length){$('#google_translate_element2').on('change',function(event){setActiveLanguage(GTranslateGetCurrentLang())}).change()} 14if($('#periode').length){$('#field_date').on('change',function(event){event.preventDefault();if($(this).val()=='periode'){$('#periode').addClass('show').removeClass('visually-hidden').find('input').removeAttr('disabled')}else{$('#periode').removeClass('show').addClass('visually-hidden').find('input').attr('disabled','disabled')}}).change()} 15if($('.map-tooltip').length){let tooltip=document.getElementById('map-tooltip');function showTooltip(evt,text){if(tooltip.innerHTML!==text){tooltip.innerHTML=text} 16if(tooltip.style.display!=='block'){tooltip.style.display='block'} 17tooltip.style.left=evt.pageX+0+'px';tooltip.style.top=evt.pageY-0+'px'} 18function hideTooltip(){tooltip.style.display='none'} 19$('.map-tooltip').appendTo($('body'));$('.js-map-svg').find('a').on('mousemove',throttle(function(event){showTooltip(event,$(this).attr('data-title'));$('.js-map-list a[data-path="'+$(this).attr('id')+'"]').addClass('active')},1)).on('mouseout',function(){hideTooltip();$('.js-map-list a[data-path="'+$(this).attr('id')+'"]').removeClass('active')});$('.js-map-list').on('mouseenter','a',function(event){event.preventDefault();$('#'+$(this).data('path')).addClass('active')}).on('mouseleave','a',function(event){event.preventDefault();$('#'+$(this).data('path')).removeClass('active')})} 20if($('button[data-bs-toggle="tab"]').length){setTimeout(function(){$('button[data-bs-toggle="tab"]').attr('tabindex',0)},100)}})})(jQuery,novacity)
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.