1(function($){$(function(){var $body=$('body');var $page=$('html');var isPreview=$body.hasClass('elementor-editor-active');var newWindowLabel=' (nouvelle fenêtre)';function markExternalLink($a){if(!$a.length||$a.hasClass('lae-ext-link')){return} 2$a.addClass('lae-ext-link');var rel=($a.attr('rel')||'').split(/\s+/).filter(Boolean);['noopener','noreferrer'].forEach(function(token){if(rel.indexOf(token)===-1){rel.push(token)}});$a.attr('rel',rel.join(' '));var existingTitle=($a.attr('title')||'').trim();if(existingTitle.indexOf('nouvelle fenêtre')===-1){$a.attr('title',existingTitle?existingTitle+newWindowLabel:newWindowLabel.trim())} 3var ariaLabel=($a.attr('aria-label')||'').trim();if(ariaLabel&&ariaLabel.indexOf('nouvelle fenêtre')===-1){$a.attr('aria-label',ariaLabel+newWindowLabel)} 4if(!$a.find('.lae-ext-link__sr').length){$a.append('<span class="screen-reader-text lae-ext-link__sr">'+newWindowLabel+'</span>')}} 5if(!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'))}});$('a[href^="http"]').not('a[href*="'+window.location.host+'"]').attr('target','_blank');$('a[href^="mailto:"], a[href*=".pdf"]').attr('target','_blank');$('a[target="_blank"]').each(function(){markExternalLink($(this))});$('a[href$=".gpx"]').attr('download','')} 6if(window.location.hash&&window.location.hash.indexOf('form-field-')!==-1){var parts=window.location.hash.split('=');if(parts.length==2){var $elt=$(parts[0]);if($elt.prop("tagName")=='SELECT'){$elt.find('option[value="'+parts[1]+'"]').attr('selected','selected')}else{$elt.val(parts[1])}}} 7function resolveSkipTarget(href){if(href==='#main'){return document.getElementById('main')} 8if(href==='#site-navigation'||href==='#menu'){var desktopNav=document.getElementById('site-navigation');var desktopWrap=document.getElementById('site-navigation-wrap');var mobileToggle=document.querySelector('.oceanwp-mobile-menu-icon .mobile-menu, .oceanwp-mobile-menu-icon > a, .oceanwp-mobile-menu-icon > button');var desktopVisible=desktopWrap&&window.getComputedStyle(desktopWrap).display!=='none'&&desktopNav&&window.getComputedStyle(desktopNav).display!=='none';if(desktopVisible){return desktopNav} 9if(mobileToggle){return mobileToggle} 10return document.getElementById('site-header')||desktopNav} 11if(href==='#footer'){return document.getElementById('footer')||document.querySelector('footer[role="contentinfo"]')||document.querySelector('.elementor-location-footer')||document.querySelector('footer')} 12try{return document.querySelector(href)}catch(err){return null}} 13$('.skip-links a').on('click',function(e){e.preventDefault();e.stopPropagation();var href=$(this).attr('href');var target=resolveSkipTarget(href);if(!target){return} 14if(!target.hasAttribute('tabindex')){target.setAttribute('tabindex','-1')} 15target.focus({preventScroll:!0});if(typeof target.scrollIntoView==='function'){target.scrollIntoView({behavior:'smooth',block:'start'})}});(function syncActiveMenu(){var mq=window.matchMedia('(min-width: 960px)');var desktopWrap=document.getElementById('site-navigation-wrap');var mobileIcon=document.querySelector('.oceanwp-mobile-menu-icon');var mobileDropdown=document.getElementById('mobile-dropdown');function setInert(el,inert){if(!el){return} 16if(inert){el.setAttribute('aria-hidden','true');if('inert' in el){el.inert=!0}else{el.setAttribute('data-lae-inert','true');el.querySelectorAll('a, button, input, select, textarea, [tabindex]').forEach(function(node){if(!node.hasAttribute('data-lae-prev-tabindex')){node.setAttribute('data-lae-prev-tabindex',node.getAttribute('tabindex')||'')} 17node.setAttribute('tabindex','-1')})}}else{el.removeAttribute('aria-hidden');if('inert' in el){el.inert=!1}else if(el.getAttribute('data-lae-inert')==='true'){el.removeAttribute('data-lae-inert');el.querySelectorAll('[data-lae-prev-tabindex]').forEach(function(node){var prev=node.getAttribute('data-lae-prev-tabindex');if(prev===''){node.removeAttribute('tabindex')}else{node.setAttribute('tabindex',prev)} 18node.removeAttribute('data-lae-prev-tabindex')})}}} 19function apply(){var isDesktop=mq.matches;setInert(desktopWrap,!isDesktop);setInert(mobileIcon,isDesktop);if(mobileDropdown){if(isDesktop){setInert(mobileDropdown,!0)}else{var opened=document.body.classList.contains('dropdown-open')||mobileDropdown.classList.contains('active')||mobileDropdown.style.display==='block';setInert(mobileDropdown,!opened)}}} 20apply();if(typeof mq.addEventListener==='function'){mq.addEventListener('change',apply)}else if(typeof mq.addListener==='function'){mq.addListener(apply)} 21window.addEventListener('resize',apply);document.addEventListener('click',function(){setTimeout(apply,50)})})();(function desktopMenuKeyboard(){var nav=document.querySelector('#site-navigation ul.sf-menu');if(!nav){return} 22var topParents=nav.querySelectorAll(':scope > .menu-item-has-children');function getSubMenu(li){return li.querySelector(':scope > ul.sub-menu')} 23function getParentLink(li){return li.querySelector(':scope > a')} 24function closeSubMenu(li){var sub=getSubMenu(li);var link=getParentLink(li);li.classList.remove('sfHover');if(link){link.setAttribute('aria-expanded','false')} 25if(sub){sub.style.display='none';sub.style.pointerEvents='none'}} 26function openSubMenu(li){var sub=getSubMenu(li);var link=getParentLink(li);
26topParents.forEach(function(other){if(other!==li){closeSubMenu(other)}});li.classList.add('sfHover');if(link){link.setAttribute('aria-expanded','true')} 27if(sub){sub.style.display='block';sub.style.pointerEvents=null;sub.style.opacity='1';sub.style.visibility='visible'}} 28function isOpen(li){return li.classList.contains('sfHover')} 29topParents.forEach(function(li){var link=getParentLink(li);if(!link){return} 30link.setAttribute('aria-haspopup','true');link.setAttribute('aria-expanded','false');li.addEventListener('keydown',function(event){var key=event.key;var isTab=key==='Tab';var isOpenKey=key==='Enter'||key===' '||key==='ArrowDown'||key==='Down';var isEsc=key==='Escape'||key==='Esc';if(isTab){if(isOpen(li)&&!event.shiftKey){var subLinks=getSubMenu(li)?getSubMenu(li).querySelectorAll('a'):[];var last=subLinks[subLinks.length-1];if(document.activeElement===last){closeSubMenu(li)}}else if(!event.shiftKey&&document.activeElement===link){event.stopImmediatePropagation();closeSubMenu(li)}else if(event.shiftKey&&document.activeElement===link){event.stopImmediatePropagation();closeSubMenu(li)} 31return} 32if(isEsc&&isOpen(li)){event.preventDefault();event.stopImmediatePropagation();closeSubMenu(li);link.focus();return} 33if(isOpenKey&&document.activeElement===link){event.preventDefault();event.stopImmediatePropagation();if(!isOpen(li)){openSubMenu(li);var first=getSubMenu(li)&&getSubMenu(li).querySelector('a');if(first){first.focus()}}else{closeSubMenu(li)}}},!0)});document.addEventListener('click',function(event){if(!nav.contains(event.target)){topParents.forEach(closeSubMenu)}})})();(function trackingMatomo(){var eventMap={TEL:{category:'Liens téléphone fiches SIT',action:'Clic téléphone',label:'Téléphone'},MAILTO:{category:'Liens email fiches SIT',action:'Clic email',label:'E-mail'},URL:{category:'Liens site internet fiches SIT',action:'Clic site internet',label:'Site internet'},RESA:{category:'Liens réservation fiches SIT',action:'Clic réservation',label:'Réservation'},SOCIAL:{category:'Réseaux sociaux fiches SIT',action:'Clic réseau social',label:'Réseau social'},SHARE:{category:'Partage fiches SIT',action:'Clic partage',label:'Partage'},};function resolveType($el){var cls=$el.attr('class')||'';if($el.is('.resa, #reserver, .book')||/gtm_btn_resa/.test(cls)){return'RESA'} 34if($el.hasClass('seeNum')||/gtm_lk_tel/.test(cls)){return'TEL'} 35if(/gtm_lk_\w+_partage/.test(cls)){return'SHARE'} 36if(/gtm_lk_email/.test(cls)){return'MAILTO'} 37if(/gtm_lk_web/.test(cls)){return'URL'} 38if(/gtm_lk_(fb|gl|tw)/.test(cls)||$el.closest('.reseaux-sociaux').length){return'SOCIAL'} 39var paq=($el.attr('data-paq-tracking')||'').toUpperCase();if(paq){return paq} 40var dataType=($el.attr('data-type')||'').toUpperCase();if(dataType==='TEL'||dataType==='MAILTO'||dataType==='URL'||dataType==='RESA'){return dataType} 41return null} 42function getLinkTarget(href){if(!href||href==='#'||href.indexOf('javascript:')===0){return''} 43if(href.indexOf('mailto:')===0){return href.slice(7).split('?')[0]} 44if(href.indexOf('tel:')===0){return href.slice(4)} 45try{var url=new URL(href,window.location.origin);return url.hostname+url.pathname}catch(err){return href}} 46function getShareNetwork($el){return $el.data('network')||(($el.attr('class')||'').match(/gtm_lk_(\w+)_partage/)||[])[1]||''} 47$(document).on('click','[data-paq-tracking], [data-type], [class*="gtm_lk_"], [class*="gtm_btn_resa"], .seeNum, .resa, #reserver, .book',function(){if(typeof window._paq==='undefined'){return} 48var $el=$(this);if(/gtm_btn_gtranslate/.test($el.attr('class')||'')){return} 49if($el.hasClass('bsk-app-link')){return} 50var type=resolveType($el);if(!type){return} 51var meta=eventMap[type]||{category:'Liens fiches SIT',action:'Clic lien type : '+type,label:type,};var name=document.title+' - '+meta.label;if(type==='SHARE'){var network=getShareNetwork($el);if(network){name+=' - '+network}} 52var target=getLinkTarget($el.attr('href'));if(target){name+=' - '+target} 53window._paq.push(['trackEvent',meta.category,meta.action,name])})})()})})(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.