PageSourceSearch

https://www.amue.fr/typo3temp/assets/compressed/script-c1e3958a117901f0ad23c738788dc48a.js.gz?1790086334

js amue.fr collected 2026-09-24 09:07:50 UTC 105,346 bytes, 14 lines download raw bytes

1"use strict";class Accordion{constructor(e){this.rootEl=e,this.buttonEl=this.rootEl.querySelector("button[aria-expanded]");e=this.buttonEl.getAttribute("aria-controls");this.contentEl=document.getElementById(e),this.open="true"===this.buttonEl.getAttribute("aria-expanded"),this.open&&(this.contentEl.style.height=this.contentEl.scrollHeight+"px"),this.buttonEl.addEventListener("click",this.onButtonClick.bind(this)),this.rootEl.addEventListener("keydown",this.onKeydown.bind(this))}onKeydown(e){var t=e.currentTarget;document.getElementById(t.getAttribute("aria-controls"));switch(e.key){case"Esc":case"Escape":this.toggle(!1),this.buttonEl.focus()}}onButtonClick(){this.toggle(!this.open)}toggle(e){e!==this.open&&(this.open=e,this.buttonEl.setAttribute("aria-expanded",""+e),e?(this.contentEl.style.height=this.contentEl.scrollHeight+"px",this.contentEl.classList.remove("hidden")):(this.contentEl.style.height="",this.contentEl.classList.add("hidden")))}open(){this.toggle(!0)}close(){this.toggle(!1)}}class AnchorLinks{constructor(e){this.domNode=e,this.links=Array.from(this.domNode.querySelectorAll("li")),this.sections=this.links.map(e=>{e=e.querySelector("a").hash.split("#")[1];return document.getElementById(e)}),this.sections=this.sections.filter(e=>null!==e),0<this.sections.length&&(this.updateLinkStateBound=this.updateLinkState.bind(this),this.updateLinkStateBound(),window.addEventListener("scroll",this.updateLinkStateBound),window.addEventListener("resize",this.updateLinkStateBound))}updateLinkState(){if(0!==this.sections.length){let e=-1,t=this.sections.length;for(;0<=--t;)if(this.sections[t].getBoundingClientRect().top<=165){e=t;break}this.links.forEach(e=>{e.querySelector("a").removeAttribute("aria-current")}),0<=e&&this.links[e].querySelector("a").setAttribute("aria-current","page")}}}window.addEventListener("load",function(){var t=document.querySelectorAll(".anchor-links");for(let e=0;e<t.length;e++)new AnchorLinks(t[e])});class FilterLinks{constructor(){this.links=Array.from(document.querySelectorAll(".filter-link")),0<this.links.length&&this.initEvents()}initEvents(){this.links.forEach(t=>{t.addEventListener("click",()=>this.navigate(t)),t.addEventListener("keydown",e=>{"Enter"!==e.key&&"Space"!==e.code||(e.preventDefault(),this.navigate(t))})})}navigate(e){e=e.getAttribute("data-target");if(e)try{var t=decodeURIComponent(escape(window.atob(e)));t&&(window.location.href=t)}catch(e){console.error("Erreur de décodage du lien de filtre :",e)}}}window.addEventListener("load",function(){new FilterLinks});class KendoA11y{constructor(){this.enhanceClearButtons(),this.addTableHeaderScopes(),this.observeChanges()}enhanceClearButtons(){document.querySelectorAll(".k-clear-value").forEach(t=>{t.removeAttribute("aria-hidden"),t.setAttribute("role","button"),t.setAttribute("tabindex","0");var e=t.getAttribute("title");e&&t.setAttribute("aria-label",e),"true"!==t.dataset.a11yEnhanced&&(t.dataset.a11yEnhanced="true",t.addEventListener("keydown",e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.stopPropagation(),t.click())}))})}addTableHeaderScopes(){document.querySelectorAll("table th").forEach(e=>{var t;e.hasAttribute("scope")||("THEAD"===(t=e.closest("thead, tbody, tfoot"))?.tagName?e.setAttribute("scope","col"):"TBODY"===t?.tagName&&e.setAttribute("scope","row"))})}observeChanges(){document.body&&new MutationObserver(()=>{this.enhanceClearButtons(),this.addTableHeaderScopes()}).observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["aria-hidden","class","title"]})}enableDialogFocusManagement(){!this.dialogObserver&&document.body&&(this.dialogTrigger=null,this.dialogFocusHandler=e=>{e.target.closest?.('[role="dialog"]')||(this.dialogTrigger=e.target)},document.addEventListener("focusin",this.dialogFocusHandler,!0),this.dialogObserver=new MutationObserver(()=>{var e=document.querySelector("kendo-dialog > div.k-window.k-dialog");if(e&&!this.activeDialog){const t=(this.activeDialog=e).querySelector(".k-dialog-titlebar-action");t&&window.setTimeout(()=>t.focus(),0)}else!e&&this.activeDialog&&(this.activeDialog=null,this.dialogTrigger?.isConnected)&&window.setTimeout(()=>
1this.dialogTrigger.focus(),0)}),this.dialogObserver.observe(document.body,{childList:!0,subtree:!0}))}}const initKendoA11y=()=>new KendoA11y,localization=("loading"===document.readyState?window.addEventListener("load",initKendoA11y):initKendoA11y(),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).LazyLoad=t()}(this,function(){function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,i=arguments[t];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}function a(e){return t({},Q,e)}function e(e,t){var n,i="LazyLoad::Initialized",t=new e(t);try{n=new CustomEvent(i,{detail:{instance:t}})}catch(e){(n=document.createEvent("CustomEvent")).initCustomEvent(i,!1,!1,{instance:t})}window.dispatchEvent(n)}function u(e){return g(e)===ne}function r(e,t){e&&(e.toLoadCount=t)}function O(e){for(var t,n=[],i=0;t=e.children[i];i+=1)"SOURCE"===t.tagName&&n.push(t);return n}function D(e,t){O(e).forEach(t)}function q(e){delete e[f]}function n(t,e){var n;M(t)||(n={},e.forEach(function(e){n[e]=t.getAttribute(e)}),t[f]=n)}function i(i,e){var o;M(i)&&(o=re(i),e.forEach(function(e){var t,n;t=i,(n=o[e=e])?t.setAttribute(e,n):t.removeAttribute(e)}))}function o(e,t,n){n&&e.setAttribute(t,n)}function P(e,t){o(e,m,b(e,t.data_sizes)),o(e,h,b(e,t.data_srcset)),o(e,d,b(e,t.data_src))}function H(e,t){!t||0<t.loadingCount||0<t.toLoadCount||E(e.callback_finish,t)}function j(e,t,n){e.addEventListener(t,n),e.llEvLisnrs[t]=n}function z(e,t,n){delete e.llTempImage,k(n,-1),n&&--n.toLoadCount,C(e,t.class_loading),t.unobserve_completed&&T(e,n)}function R(e){return e.use_native&&"loading"in HTMLImageElement.prototype}function K(e,c,u){e.forEach(function(e){return e.isIntersecting||0<e.intersectionRatio?(o=e.target,s=e,a=c,r=u,l=0<=oe.indexOf(g(o)),y(o,"entered"),A(o,a.class_entered),C(o,a.class_exited),a.unobserve_entered&&T(o,r),E(a.callback_enter,o,s,r),void(l||N(o,a,r))):(s=e.target,l=e,o=c,a=u,void(w(s)||(A(s,o.class_exited),r=s,e=l,n=a,(t=o).cancel_on_exit&&g(r)===p&&"IMG"===r.tagName&&(_(r),L(i=r,function(e){he(e)}),he(i),me(r),C(r,t.class_loading),k(n,-1),x(r),E(t.callback_cancel,r,e,n)),E(o.callback_exit,s,l,a))));var t,n,i,o,s,a,r,l})}function V(e){return Array.prototype.slice.call(e)}function l(e){return e.container.querySelectorAll(e.elements_selector)}function W(e){return g(e)===v}function Y(e,t){return e=e||l(t),V(e).filter(w)}function s(e,t){var i,o,n,s,e=a(e);this._settings=e,this.loadingCount=0,n=e,s=this,U&&!R(n)&&(s._observer=new IntersectionObserver(function(e){K(e,n,s)},{root:n.container===document?null:n.container,rootMargin:n.thresholds||n.threshold+"px"})),i=e,o=this,c&&window.addEventListener("online",function(){var t,e,n;e=o,n=l(t=i),V(n).filter(W).forEach(function(e){C(e,t.class_error),x(e)}),e.update()}),this.update(t)}var c="undefined"!=typeof window,J=c&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),U=c&&"IntersectionObserver"in window,G=c&&"classList"in document.createElement("p"),Z=c&&1<window.devicePixelRatio,Q={elements_selector:".lazy",container:J||c?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1},d="src",h="srcset",m="sizes",X="poster",f="llOriginalAttrs",p="loading",ee="loaded",te="applied",v="error",ne="native",ie="data-",b=function(e,t){return e.getAttribute(ie+t)},g=function(e){return b(e,"ll-status")},y=function(e,t){var n;e=e,n="data-ll-status",null!==t?e.setAttribute(n,t):e.removeAttribute(n)},x=function(e){return y(e,null)},w=function(e){return null===g(e)},oe=[p,"loaded",te,v],E=function(e,t,n,i){e&&(void 0===i?void 0===n?e(t):e(t,n):e(t,n,i))},A=function(e,t){G?e.classList.add(t):e.className+=(e.className?" ":"")+t},C=function(e,t){G?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},se=function(e){return e.llTempImage},T=function(e,t){t&&(t=t._observer)&&t.unobserve(e)},k=function(e,t){e&&(e.loadingCount+=t)},L=function(e,t){e=e.parentNode;e&&"PICTURE"===e.tagName&&O(e).forEach(t)},S=[d],ae=[d,X],$=[d,h,m],M=function(e){return!!e[f]},re=function(e){return e[f]},le=function(e,t,n){A(e,t.class_loading),y(e,p),n&&(k(n,1),E(t.callback_loading,e,n))},ce={IMG:function(e,t){L(e,function(e){n(e,$),P(e,t)}),n(e,$),P(e,t)},IFRAME:function(e,t){n(e,S),o(e,d,b(e,t.data_src))},VIDEO:function(e,t){D(e,function(e){n(e,S),o(e,d,b(e,t.data_src))}),n(e,ae),o(e,X,b(e,t.data_poster)),o(e,d,b(e,t.data_src)),e.load()}},ue=["IMG","IFRAME","VIDEO"],de=function(e,t,n){e.removeEventListener(t,n)},I=function(e){return!!e.llEvLisnrs},_=function(e){if(I(e)){var t,n=e.llEvLisnrs;for(t in n){var i=n[t];de(e,t,i)}delete e.llEvLisnrs}},F=function(a,r,l){var e,t,c=se(a)||a;I(c)||(I(e=c)||(e.llEvLisnrs={}),t="VIDEO"===e.tagName?"loadeddata":"load",j(e,t,function(e){var t=0,n=a,i=r,o=l,s=u(n);z(n,i,o),A(n,i.class_loaded),y(n,ee),E(i.callback_loaded,n,o),s||H(i,o),_(c)}),j(e,"error",function(e){var t=0,n=a,i=r,o=l,s=u(n);z(n,i,o),A(n,i.class_error),y(n,v),E(i.callback_error,n,o),s||H(i,o),_(c)}))},N=function(e,t,n){var i,o,s,a,r;-1<ue.indexOf(e.tagName)?(F(s=e,i=t,r=n),i=i,r=r,(o=ce[(s=s).tagName])&&(o(s,i),le(s,i,r))):(o=t,s=n,(i=e).llTempImage=document.createElement("IMG"),F(i,o,s),M(r=i)||(r[f]={backgroundImage:r.style.backgroundImage}),r=s,e=b(t=i,(n=o).data_bg),a=b(t,n.data_bg_hidpi),(a=Z&&a?a:e)&&(t.style.backgroundImage='url("'.concat(a,'")'),se(t).setAttribute(d,a),le(t,n,r)),e=s,n=b(a=i,(t=o).data_bg_multi),r=b(a,t.data_bg_multi_hidpi),(r=Z&&r?r:n)&&(a.style.backgroundImage=r,n=e,A(r=a,(e=t).class_applied),y(r,te),n)&&(e.unobserve_completed&&T(r,e),E(e.callback_applied,r,n)))},he=function(e){e.removeAttribute(d),e.removeAttribute(h),e.removeAttribute(m)},me=function(e){L(e,function(e){i(e,$)}),i(e,$)},fe={IMG:me,IFRAME:function(e){i(e,S)},VIDEO:function(e){D(e,function(e){i(e,S)}),i(e,ae),e.load()}},pe=["IMG","IFRAME","VIDEO"];if(s.prototype={update:function(e){var t,n,i,o,s=this._settings,e=Y(e,s);r(this,e.length),!J&&U?R(s)?(i=s,o=this,e.forEach(function(e){var t,n;
1-1!==pe.indexOf(e.tagName)&&(t=i,n=o,(e=e).setAttribute("loading","lazy"),F(e,t,n),(n=ce[e.tagName])&&n(e,t),y(e,ne))}),r(o,0)):(s=e,(t=this._observer).disconnect(),n=t,s.forEach(function(e){n.observe(e)})):this.loadAll(e)},destroy:function(){this._observer&&this._observer.disconnect(),l(this._settings).forEach(function(e){q(e)}),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(e){var t=this,n=this._settings;Y(e,n).forEach(function(e){T(e,t),N(e,n,t)})},restoreAll:function(){var o=this._settings;l(o).forEach(function(e){var t,n,i;t=o,(i=fe[(n=e=e).tagName])?i(n):M(i=n)&&(n=re(i),i.style.backgroundImage=n.backgroundImage),i=t,w(n=e)||u(n)||(C(n,i.class_entered),C(n,i.class_exited),C(n,i.class_applied),C(n,i.class_loading),C(n,i.class_loaded),C(n,i.class_error)),x(e),q(e)})}},s.load=function(e,t){t=a(t);N(e,t)},s.resetStatus=function(e){x(e)},c){var ve=s,B=window.lazyLoadOptions;if(B)if(B.length)for(var be,ge=0;be=B[ge];ge+=1)e(ve,be);else e(ve,B)}return s}),{translations:{en:{"carrousel.controlsContainer":"Carrousel","carrousel.currentSlide":"Current slide","carrousel.prevButton":"Previous slide content","carrousel.nextButton":"Next slide content","carrousel.prevButtonDisabled":"No previous slide","carrousel.nextButtonDisabled":"No next slide","youtube.consentMessage":"To display this video, click here to open your consent preferences and allow YouTube videos."},fr:{"carrousel.controlsContainer":"Carrousel","carrousel.currentSlide":"Diapositive en cours","carrousel.prevButton":"Voir la diapositive précédente","carrousel.nextButton":"Voir la diapositive suivante","carrousel.prevButtonDisabled":"Pas de diapositive précédente","carrousel.nextButtonDisabled":"Pas de diapositive suivante","youtube.consentMessage":"Pour afficher cette vidéo, cliquez ici pour ouvrir vos préférences de consentement et autoriser les vidéos YouTube."}},getLabel(e){var t=document.querySelector("html").getAttribute("lang"),t=t?t.substring(0,2).toLowerCase():"en",t=this.translations[t]?t:"en",t=this.translations[t][e];return t||e}});class MenuButtonLinks{constructor(e){this.domNode=e,this.buttonNode=e.querySelector("button"),this.menuNode=document.getElementById(this.buttonNode.getAttribute("aria-controls")),this.menuitemNodes=[],this.firstMenuitem=!1,this.lastMenuitem=!1,this.firstChars=[],e.classList.add("loaded"),this.buttonNode.addEventListener("keydown",this.onButtonKeydown.bind(this)),this.buttonNode.addEventListener("click",this.onButtonClick.bind(this));for(var t=e.querySelectorAll('[role="menuitem"]'),n=0;n<t.length;n++){var i=t[n];this.menuitemNodes.push(i),i.tabIndex=-1,this.firstChars.push(i.textContent.trim()[0].toLowerCase()),i.addEventListener("keydown",this.onMenuitemKeydown.bind(this)),i.addEventListener("mouseover",this.onMenuitemMouseover.bind(this)),this.firstMenuitem||(this.firstMenuitem=i),this.lastMenuitem=i}e.addEventListener("focusin",this.onFocusin.bind(this)),e.addEventListener("focusout",this.onFocusout.bind(this)),window.addEventListener("mousedown",this.onBackgroundMousedown.bind(this),!0)}setFocusToMenuitem(t){this.menuitemNodes.forEach(function(e){e===t?(e.tabIndex=0,t.focus()):e.tabIndex=-1})}setFocusToFirstMenuitem(){this.setFocusToMenuitem(this.firstMenuitem)}setFocusToLastMenuitem(){this.setFocusToMenuitem(this.lastMenuitem)}setFocusToPreviousMenuitem(e){e=e===this.firstMenuitem?this.lastMenuitem:(e=this.menuitemNodes.indexOf(e),this.menuitemNodes[e-1]);return this.setFocusToMenuitem(e),e}setFocusToNextMenuitem(e){e=e===this.lastMenuitem?this.firstMenuitem:(e=this.menuitemNodes.indexOf(e),this.menuitemNodes[e+1]);return this.setFocusToMenuitem(e),e}setFocusByFirstCharacter(e,t){1<t.length||(t=t.toLowerCase(),(e=this.menuitemNodes.indexOf(e)+1)>=this.menuitemNodes.length&&(e=0),-1<(e=-1===(e=this.firstChars.indexOf(t,e))?this.firstChars.indexOf(t,0):e)&&this.setFocusToMenuitem(this.menuitemNodes[e]))}getIndexFirstChars(e,t){for(var n=e;n<this.firstChars.length;n++)if(t===this.firstChars[n])return n;return-1}openPopup(){this.menuNode.setAttribute("data-open","true"),this.buttonNode.setAttribute("aria-expanded","true")}
1closePopup(){this.isOpen()&&(this.buttonNode.setAttribute("aria-expanded","false"),this.menuNode.setAttribute("data-open","false"))}isOpen(){return"true"===this.buttonNode.getAttribute("aria-expanded")}onFocusin(){this.domNode.classList.add("focus")}onFocusout(){this.domNode.classList.remove("focus")}onButtonKeydown(e){var t=!1;switch(e.key){case" ":case"Enter":case"ArrowDown":case"Down":this.openPopup(),this.setFocusToFirstMenuitem(),t=!0;break;case"Esc":case"Escape":this.closePopup(),this.buttonNode.focus(),t=!0;break;case"Up":case"ArrowUp":this.openPopup(),this.setFocusToLastMenuitem(),t=!0}t&&(e.stopPropagation(),e.preventDefault())}onButtonClick(e){this.isOpen()?(this.closePopup(),this.buttonNode.focus()):(this.openPopup(),this.setFocusToFirstMenuitem()),e.stopPropagation(),e.preventDefault()}onMenuitemKeydown(e){var t=e.currentTarget,n=e.key,i=!1;function o(e){return 1===e.length&&e.match(/\S/)}if(!(e.ctrlKey||e.altKey||e.metaKey)){if(e.shiftKey)o(n)&&(this.setFocusByFirstCharacter(t,n),i=!0),"Tab"===e.key&&(this.buttonNode.focus(),this.closePopup(),i=!0);else switch(n){case" ":window.location.href=t.href;break;case"Esc":case"Escape":this.closePopup(),this.buttonNode.focus(),i=!0;break;case"Up":case"ArrowUp":this.setFocusToPreviousMenuitem(t),i=!0;break;case"ArrowDown":case"Down":this.setFocusToNextMenuitem(t),i=!0;break;case"Home":case"PageUp":this.setFocusToFirstMenuitem(),i=!0;break;case"End":case"PageDown":this.setFocusToLastMenuitem(),i=!0;break;case"Tab":this.closePopup();break;default:o(n)&&(this.setFocusByFirstCharacter(t,n),i=!0)}i&&(e.stopPropagation(),e.preventDefault())}}onMenuitemMouseover(e){e.currentTarget.focus()}onBackgroundMousedown(e){this.domNode.contains(e.target)||this.isOpen()&&(this.closePopup(),this.buttonNode.focus())}}window.addEventListener("load",function(){var t=document.querySelectorAll(".js-button-links:not(.loaded)");for(let e=0;e<t.length;e++)new MenuButtonLinks(t[e])});class Modal{constructor(e){this.domNode=e,this.modalNode=document.getElementById(this.domNode.getAttribute("data-modal")),this.exitButton=this.modalNode.querySelector("button.exit"),this.domNode.addEventListener("click",this.open.bind(this)),this.exitButton.addEventListener("click",this.close.bind(this)),this.modalNode.addEventListener("keydown",this.onKeydown.bind(this))}open(e){e.preventDefault(),document.body.classList.add("lock-position"),this.modalNode.classList.add("open"),this.trapFocus(this.modalNode),setTimeout(()=>{this.exitButton.focus()},50)}close(){document.body.classList.remove("lock-position"),this.modalNode.classList.remove("open"),this.domNode.focus()}onKeydown(e){switch(e.key){case"Esc":case"Escape":this.close()}}trapFocus(e){e=Array.from(e.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])'));let t=e[0],n=e[e.length-1];e.forEach(e=>{e.addEventListener("keydown",function(e){"Tab"!==e.key&&9!==e.keyCode||(e.shiftKey?document.activeElement===t&&(n.focus(),e.preventDefault()):document.activeElement===n&&(t.focus(),e.preventDefault()))})})}}window.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll("[data-modal]");for(let e=0;e<t.length;e++)new Modal(t[e])});class NavMobileActions{constructor(e){this.rootEl=e,this.panelEl=document.getElementById(this.rootEl.getAttribute("aria-controls")),this.menuItems=Array.from(this.panelEl.querySelectorAll("li.has-sub > button[aria-controls]")),this.rootEl.addEventListener("click",this.onClick.bind(this)),this.rootEl.addEventListener("keydown",this.onKeydown.bind(this)),this.panelEl.addEventListener("keydown",this.onKeydown.bind(this));for(let e=0;e<this.menuItems.length;e+=1){var t=this.menuItems[e],n=document.getElementById(t.getAttribute("aria-controls")).querySelectorAll(".menu-back")[0];t.addEventListener("click",this.openPanel.bind(this)),n.addEventListener("click",this.closePanel.bind(this))}}onClick(e){this.resetMenu(),this.isOpen(this.rootEl,this.panelEl)?this.closeMenu():this.openMenu()}onKeydown(e){if(this.isOpen(this.rootEl,this.panelEl))switch(e.key){case"Esc":case"Escape":null!==e.target.closest("[role=menu]")?e.target.closest("[role=menu]").querySelectorAll(".menu-back")[0].click():this.closeMenu()}}openMenu(){body.classList.add("lock-position","nav-open"),this.rootEl.setAttribute("aria-expanded","true"),this.rootEl.querySelectorAll(".button-label")[0].innerText=this.rootEl.getAttribute("data-label-close"),this.panelEl.setAttribute("data-open","true"),this.panelEl.setAttribute("data-burger","true"),this.trapFocus(this.panelEl)}closeMenu(){body.classList.remove("lock-position","nav-open"),this.rootEl.setAttribute("aria-expanded","fal
1se"),this.rootEl.querySelectorAll(".button-label")[0].innerText=this.rootEl.getAttribute("data-label-open"),this.rootEl.focus(),this.panelEl.setAttribute("data-open","false"),this.panelEl.setAttribute("data-burger","false")}openPanel(e){if(this.isOpen(this.rootEl,this.panelEl)){var e=e.currentTarget,t=document.getElementById(e.getAttribute("aria-controls"));const n=t.querySelectorAll(".menu-back")[0];this.isPanelOpen(e,t)||(e.setAttribute("aria-expanded","true"),t.setAttribute("data-mobile-open","true"),n.setAttribute("aria-hidden","false"),body.classList.add("niv2-open"),this.trapFocus(t),setTimeout(()=>n.focus({preventScroll:!0}),300))}}closePanel(e){var t,n;this.isOpen(this.rootEl,this.panelEl)&&(t=(e=e.currentTarget).closest("[role=menu]"),(n=document.querySelectorAll("[aria-controls="+t.id+"]")[0]).setAttribute("aria-expanded","false"),t.setAttribute("data-mobile-open","false"),e.setAttribute("aria-hidden","true"),body.classList.remove("niv2-open"),this.trapFocus(this.panelEl),n.focus({preventScroll:!0}))}isOpen(e,t){return"true"===e.getAttribute("aria-expanded")&&"true"===t.getAttribute("data-burger")}isPanelOpen(e,t){return"true"===e.getAttribute("aria-expanded")&&"true"===t.getAttribute("data-mobile-open")}resetMenu(){body.classList.remove("niv2-open");for(let e=0;e<this.menuItems.length;e+=1){var t=this.menuItems[e],n=document.getElementById(t.getAttribute("aria-controls")),i=document.getElementById(t.getAttribute("aria-controls")).querySelectorAll(".menu-back")[0];t.setAttribute("aria-expanded","false"),n.setAttribute("data-mobile-open","false"),i.setAttribute("aria-hidden","true")}}trapFocus(e){var e=Array.from(e.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])')),t=Array.from(this.panelEl.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])'));e.unshift(this.rootEl);let n=e[0],i=e[e.length-1];t.forEach(e=>{e.setAttribute("tabindex","-1")}),e.forEach(e=>{e.removeAttribute("tabindex"),e.addEventListener("keydown",function(e){"Tab"!==e.key&&9!==e.keyCode||(e.shiftKey?document.activeElement===n&&(i.focus(),e.preventDefault()):document.activeElement===i&&(n.focus(),e.preventDefault()))})})}}class NavActions{constructor(e){this.rootEl=e,this.menuItems=Array.from(this.rootEl.querySelectorAll("[role=menuitem]"));for(let e=0;e<this.menuItems.length;e+=1){var t=this.menuItems[e];document.getElementById(t.getAttribute("aria-controls"));t.addEventListener("click",this.onClick.bind(this)),t.parentNode.addEventListener("focusout",this.onFocusOut.bind(this)),t.parentNode.addEventListener("mouseover",this.onHover.bind(this)),t.parentNode.addEventListener("mouseout",this.onHover.bind(this))}this.rootEl.addEventListener("keydown",this.onKeydown.bind(this))}onClick(e){var e=e.currentTarget,t=document.getElementById(e.getAttribute("aria-controls"));this.isOpen(e)?this.closeMenu(e,t):this.openMenu(e,t)}onHover(e){var t=e.currentTarget;this.isOpen(t.querySelector("[role=menuitem]"))||("mouseover"===e.type?t.querySelector("[role=menuitem]").setAttribute("aria-expanded","true"):"mouseout"===e.type&&t.querySelector("[role=menuitem]").setAttribute("aria-expanded","false"))}onKeydown(e){var t=e.currentTarget;document.getElementById(t.getAttribute("aria-controls"));switch(e.key){case"Esc":case"Escape":this.closeAllMenu(),null!==e.target.closest("[role=menu]")&&e.target.closest("[role=menu]").previousElementSibling.focus()}}onFocusOut(e){null!==e.relatedTarget&&"menuitem"===e.target.getAttribute("role")&&null!==e.relatedTarget.closest("[role=menu]")&&e.target.parentNode===e.relatedTarget.closest("[role=menu]").parentNode||null!==e.relatedTarget&&null!==e.relatedTarget.closest("[role=menu]")&&"menuitem"!==e.relatedTarget.getAttribute("role")||this.closeAllMenu()}isOpen(e){return"true"===e.getAttribute("aria-expanded")&&"true"===document.getElementById(e.getAttribute("aria-controls")).getAttribute("data-open")}openMenu(e,t){this.closeAllMenu(),e.setAttribute("aria-expanded","true"),t.setAttribute("data-open","true")}
1closeMenu(e,t){e.setAttribute("aria-expanded","false"),t.setAttribute("data-open","false")}closeAllMenu(){for(let e=0;e<this.menuItems.length;e+=1){var t=this.menuItems[e],n=document.getElementById(t.getAttribute("aria-controls"));this.closeMenu(t,n)}}}const text={help:"Utilisez la tabulation (ou les touches flèches) pour naviguer dans la liste des suggestions",placeholder:"Rechercher dans la liste",noResult:"Aucun résultat",results:"{x} suggestion(s) disponibles",deleteItem:"Supprimer {t}",delete:"Supprimer"},matches=Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;let closest=Element.prototype.closest;closest=closest||function(e){var t=this;do{if(matches.call(t,e))return t}while(null!==(t=t.parentElement||t.parentNode)&&1===t.nodeType);return null};class Select{constructor(e,t){this.el=e,this.label=document.querySelector(`label[for=${e.id}]`),this.id=e.id,this.open=!1,this.multiple=this.el.multiple,this.search="",this.suggestions=[],this.focusIndex=null;e=Object.assign({},t),t=Object.assign(text,e.text);delete e.text,this._options=Object.assign({text:t,showSelected:!0},e),this._handleFocus=this._handleFocus.bind(this),this._handleInput=this._handleInput.bind(this),this._handleKeyboard=this._handleKeyboard.bind(this),this._handleOpener=this._handleOpener.bind(this),this._handleReset=this._handleReset.bind(this),this._handleSuggestionClick=this._handleSuggestionClick.bind(this),this._positionCursor=this._positionCursor.bind(this),this._removeOption=this._removeOption.bind(this),this._disable(),this.button=this._createButton(),this.liveZone=this._createLiveZone(),this.overlay=this._createOverlay(),this.wrap=this._wrap(),this.multiple&&this._options.showSelected&&(this.selectedList=this._createSelectedList(),this._updateSelectedList(),this.selectedList.addEventListener("click",this._removeOption)),this.button.addEventListener("click",this._handleOpener),this.input.addEventListener("input",this._handleInput),this.input.addEventListener("focus",this._positionCursor,!0),this.list.addEventListener("click",this._handleSuggestionClick),this.wrap.addEventListener("keydown",this._handleKeyboard),document.addEventListener("blur",this._handleFocus,!0)}_createButton(){var e,t=document.createElement("button"),n=(t.setAttribute("type","button"),t.setAttribute("aria-expanded",this.open),t.className="btn-select-a11y",document.createElement("span"));return this.multiple?n.innerText=this.label.innerText:(e=this.el.item(this.el.selectedIndex),n.innerText=e.label||e.value,this.label.id||(this.label.id=this.el.id+"-label"),t.setAttribute("id",this.el.id+"-button"),t.setAttribute("aria-labelledby",this.label.id+" "+t.id)),t.appendChild(n),t.insertAdjacentHTML("beforeend",'<span class="icon-select" aria-hidden="true"></span>'),t}_createLiveZone(){var e=document.createElement("p");return e.setAttribute("aria-live","polite"),e.classList.add("sr-only"),e}_createOverlay(){var e=document.createElement("div"),t=(e.classList.add("a11y-container"),document.createElement("div"));return t.classList.add("a11y-suggestions"),t.id=`a11y-${this.id}-suggestions`,e.innerHTML=`
2      <p id="a11y-usage-${this.id}-js" class="sr-only">${this._options.text.help}</p>
3      <label for="a11y-${this.id}-js" class="sr-only">${this._options.text.placeholder}</label>
4      <input type="text" id="a11y-${this.id}-js" class="${this.el.className}" autocomplete="off" autocapitalize="off" spellcheck="false" placeholder="${this._options.text.placeholder}" aria-describedby="a11y-usage-${this.id}-js">
5    `,e.appendChild(t),this.list=t,this.input=e.querySelector("input"),e}_createSelectedList(){var e=document.createElement("ul");return e.className="list-inline list-selected",e}_disable(){this.el.setAttribute("tabindex",-1)}
5_fillSuggestions(){const i=this.search.toLowerCase();if(this.suggestions=Array.prototype.map.call(this.el.options,function(e,t){var n=(e.label||e.value).toLowerCase();if(-1!==n.indexOf(i))return(n=document.createElement("div")).setAttribute("role","option"),n.setAttribute("tabindex",0),n.setAttribute("data-index",t),n.classList.add("a11y-suggestion"),e.selected&&n.setAttribute("aria-selected","true"),n.innerText=e.label||e.value,n}.bind(this)).filter(Boolean),this.suggestions.length){const t=document.createElement("div");t.setAttribute("role","listbox"),this.multiple&&t.setAttribute("aria-multiselectable","true"),this.suggestions.forEach(function(e){t.appendChild(e)}.bind(this)),this.list.innerHTML="",this.list.appendChild(t)}else this.list.innerHTML=`<p class="a11y-no-suggestion">${this._options.text.noResult}</p>`;this._setLiveZone()}_handleOpener(e){this._toggleOverlay()}_handleFocus(){this.open&&(clearTimeout(this._focusTimeout),this._focusTimeout=setTimeout(function(){var e;this.overlay.contains(document.activeElement)||this.button===document.activeElement?document.activeElement===this.input?this.focusIndex=null:-1!==(e=this.suggestions.indexOf(document.activeElement))&&(this.focusIndex=e):this._toggleOverlay(!1,document.activeElement===document.body)}.bind(this),10))}_handleReset(){clearTimeout(this._resetTimeout),this._resetTimeout=setTimeout(function(){var e;this._fillSuggestions(),this.multiple&&this._options.showSelected?this._updateSelectedList():this.multiple||(e=this.el.item(this.el.selectedIndex),this._setButtonText(e.label||e.value))}.bind(this),10)}_handleSuggestionClick(e){var t=closest.call(e.target,'[role="option"]');t&&(t=parseInt(t.getAttribute("data-index"),10),e=!this.multiple||!e.metaKey,this._toggleSelection(t,e))}_handleInput(){this.search!==this.input.value&&(this.search=this.input.value,this._fillSuggestions())}_handleKeyboard(e){var t=closest.call(e.target,'[role="option"]'),n=closest.call(e.target,"input");
527===e.keyCode?this._toggleOverlay():n&&13===e.keyCode?e.preventDefault():40===e.keyCode?(e.preventDefault(),this._moveIndex(1)):t&&(39===e.keyCode?(e.preventDefault(),this._moveIndex(1)):37===e.keyCode||38===e.keyCode?(e.preventDefault(),this._moveIndex(-1)):((this.multiple||13!==e.keyCode)&&32!==e.keyCode||(e.preventDefault(),this._toggleSelection(parseInt(t.getAttribute("data-index"),10),!this.multiple)),this.multiple&&13===e.keyCode&&this._toggleOverlay()))}_moveIndex(e){var t;null===this.focusIndex?this.focusIndex=0:(e=this.focusIndex+e,t=this.suggestions.length-1,this.focusIndex=t<e?0:e<0?t:e),this.suggestions[this.focusIndex].focus()}_positionCursor(){setTimeout(function(){this.input.selectionStart=this.input.selectionEnd=this.input.value.length}.bind(this))}_removeOption(e){var t,e=closest.call(e.target,"button");e&&(t=this.selectedList.querySelectorAll("button"),t=Array.prototype.indexOf.call(t,e)-1,e=parseInt(e.getAttribute("data-index"),10),this._toggleSelection(e),(this.selectedList.parentElement?(e=this.selectedList.querySelectorAll("button"))[t]||e[0]:this.button).focus())}_setButtonText(e){this.button.firstElementChild.innerText=e}_setLiveZone(){var e=this.suggestions.length;let t="";this.open&&(t=e?this._options.text.results.replace("{x}",e):this._options.text.noResult),this.liveZone.innerText=t}_toggleOverlay(e,t){this.open=void 0!==e?e:!this.open,this.button.setAttribute("aria-expanded",this.open),this.open?(this._fillSuggestions(),this.button.insertAdjacentElement("afterend",this.overlay),this.input.focus()):this.wrap.contains(this.overlay)&&(this.wrap.removeChild(this.overlay),this.focusIndex=null,this.input.value="",this.search="",this._setLiveZone(),void 0!==e&&!t||setTimeout(function(){this.button.focus()}.bind(this)))}_toggleSelection(e,t=!0){var n=this.el.item(e);this.multiple?this.el.item(e).selected=!this.el.item(e).selected:this.el.selectedIndex=e,this.suggestions.forEach(function(e){var t=parseInt(e.getAttribute("data-index"),10);this.el.item(t).selected?e.setAttribute("aria-selected","true"):e.removeAttribute("aria-selected")}.bind(this)),this.multiple?this._options.showSelected&&this._updateSelectedList():this._setButtonText(n.label||n.value),this.el.dispatchEvent(new Event("change",{bubbles:!0})),t&&this.open&&this._toggleOverlay()}_updateSelectedList(){var e=Array.prototype.map.call(this.el.options,function(e,t){if(e.selected)return`
6        <li>
7          <span class="tag-item">
8            <span>${e=e.label||e.value}</span>
9            <button class="tag-item-supp" title="${this._options.text.deleteItem.replace("{t}",e)}" type="button" data-index="${t}">
10              <span class="sr-only">${this._options.text.delete}</span>
11              <span class="icon-delete" aria-hidden="true"></span>
12            </button>
13          </span>
14        </li>`}.bind(this)).filter(Boolean);this.selectedList.innerHTML=e.join(""),e.length?this.selectedList.parentElement||this.wrap.appendChild(this.selectedList):this.selectedList.parentElement&&this.wrap.removeChild(this.selectedList)}_wrap(){var e=document.createElement("div"),t=(e.classList.add("select-a11y"),this.el.parentElement.appendChild(e),document.createElement("div"));return t.classList.add("tag-hidden"),t.setAttribute("aria-hidden",!0),this.multiple&&t.appendChild(this.label),t.appendChild(this.el),e.appendChild(t),e.appendChild(this.liveZone),e.appendChild(this.button),e}}class SommaireButtonLinks{constructor(e){this.domNode=e,this.buttonNode=e.querySelector("button"),this.menuNode=document.getElementById(this.buttonNode.getAttribute("aria-controls")),this.closeEl=this.menuNode.querySelector(".menu-close"),this.buttonNode.addEventListener("keydown",this.onButtonKeydown.bind(this)),this.buttonNode.addEventListener("click",this.onButtonClick.bind(this)),this.menuNode.addEventListener("keydown",this.onMenuKeydown.bind(this)),null!==this.closeEl&&this.closeEl.addEventListener("click",this.closePopup.bind(this)),window.addEventListener("mousedown",this.onBackgroundMousedown.bind(this),!0)}openPopup(){document.body.classList.add("lock-position"),this.menuNode.setAttribute("data-open","true"),this.trapFocus(this.menuNode),null!==this.closeEl&&setTimeout(()=>{this.closeEl.focus()},50)}
14closePopup(){this.isOpen()&&(document.body.classList.remove("lock-position"),this.menuNode.setAttribute("data-open","false"),this.buttonNode.focus())}isOpen(){return"true"===this.menuNode.getAttribute("data-open")}onButtonKeydown(e){var t=!1;switch(e.key){case" ":case"Enter":this.isOpen()?this.closePopup():this.openPopup(),t=!0;break;case"Esc":case"Escape":this.closePopup(),this.buttonNode.focus(),t=!0}t&&(e.stopPropagation(),e.preventDefault())}onMenuKeydown(e){var t=!1;switch(e.key){case" ":case"Esc":case"Escape":this.closePopup(),this.buttonNode.focus(),t=!0}t&&(e.stopPropagation(),e.preventDefault())}onButtonClick(e){this.isOpen()?(this.closePopup(),this.buttonNode.focus()):this.openPopup(),e.stopPropagation(),e.preventDefault()}onMenuFocusOut(e){this.menuNode.contains(e.relatedTarget)||this.isOpen()&&(this.closePopup(),this.buttonNode.focus())}onBackgroundMousedown(e){this.domNode.contains(e.target)||this.isOpen()&&(this.closePopup(),this.buttonNode.focus())}trapFocus(e){var e=Array.from(e.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])')),t=Array.from(this.menuNode.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])'));let n=e[0],i=e[e.length-1];t.forEach(e=>{e.setAttribute("tabindex","-1")}),e.forEach(e=>{e.removeAttribute("tabindex"),e.addEventListener("keydown",function(e){"Tab"!==e.key&&9!==e.keyCode||(e.shiftKey?document.activeElement===n&&(i.focus(),e.preventDefault()):document.activeElement===i&&(n.focus(),e.preventDefault()))})})}}window.addEventListener("load",function(){var t=document.querySelectorAll(".js-button-sommaire");for(let e=0;e<t.length;e++)new SommaireButtonLinks(t[e])});class TabsManual{constructor(e){this.tablistNode=e,this.tabs=[],this.firstTab=null,this.lastTab=null,this.tabs=Array.from(this.tablistNode.querySelectorAll("[role=tab]")),this.tabpanels=[];for(var t=0;t<this.tabs.length;t+=1){var n=this.tabs[t],i=document.getElementById(n.getAttribute("aria-controls"));n.setAttribute("aria-selected","false"),i.tabIndex=-1,i.classList.add("hidden"),this.tabpanels.push(i),n.addEventListener("keydown",this.onKeydown.bind(this)),n.addEventListener("click",this.onClick.bind(this)),this.firstTab||((this.firstTab=n).setAttribute("aria-selected","true"),i.classList.remove("hidden"),i.tabIndex=0),this.lastTab=n}}setSelectedTab(e){for(var t=0;t<this.tabs.length;t+=1){var n=this.tabs[t];e===n?(n.setAttribute("aria-selected","true"),this.tabpanels[t].classList.remove("hidden"),this.tabpanels[t].tabIndex=0,this.tabpanels[t].focus()):(n.setAttribute("aria-selected","false"),this.tabpanels[t].classList.add("hidden"),this.tabpanels[t].tabIndex=-1)}}moveFocusToTab(e){e.focus()}moveFocusToPreviousTab(e){e===this.firstTab?this.moveFocusToTab(this.lastTab):(e=this.tabs.indexOf(e),this.moveFocusToTab(this.tabs[e-1]))}moveFocusToNextTab(e){e===this.lastTab?this.moveFocusToTab(this.firstTab):(e=this.tabs.indexOf(e),this.moveFocusToTab(this.tabs[e+1]))}onKeydown(e){var t=e.currentTarget;switch(e.key){case"ArrowLeft":this.moveFocusToPreviousTab(t),0;break;case"ArrowRight":this.moveFocusToNextTab(t),0;break;case"Home":this.moveFocusToTab(this.firstTab),0;break;case"End":this.moveFocusToTab(this.lastTab),0}}onClick(e){this.setSelectedTab(e.currentTarget)}}let resetTnsNavFunc=function(e){var t=e.container.getAttribute("data-carrousel");if(e.navContainer){e.navContainer.removeAttribute("aria-label");for(var[n,i]of Object.entries(e.navItems))i.removeAttribute("aria-controls"),i.removeAttribute("aria-label"),i.removeAttribute("data-nav"),i.removeAttribute("tabindex"),i.innerHTML="";e.navItems[e.navCurrentIndex].innerHTML='<span class="sr-only">'+t+" : "+localization.getLabel("carrousel.currentSlide")+" ("+e.displayIndex+"/"+e.slideCount+")</span>"}},resetTnsControlsFunc=function(e){var t,n,i,o=e.container.getAttribute("data-carrousel");e.controlsContainer&&(e.controlsContainer.removeAttribute("tabindex"),e.controlsContainer.removeAttribute("aria-label"),e.prevButton.removeAttribute("tabindex"),e.nextButton.removeAttribute("tabindex"),i=e.container.querySelectorAll(".tns-item.tns-slide-active").length,t=Math.ceil(e.slideCount/i),n=(i=Math.ceil(e.displayIndex/i))-1==0?t:i-1,i=t<i+1?1:i+1,e.prevButton.innerHTML=e.prevButton.disabled?`<span class="sr-only">${localization.getLabel("carrousel.prevButtonDisabled")} : ${o}</span>`:`<span class="sr-only">${localization.getLabel("carrousel.prevButton")} : ${o} (${n}/${t})</span>`,e.nextButton.innerHTML=e.nextButton.disabled?`<span class="sr-only">${localization.getLabel("carrousel.nextButtonDisabled")} : ${o}</span>`:`<span class="sr-only">${localization.getLabel("carrousel.nextButton")} : ${o} (${i}/${t})</span>`)},ajustTnsTransitionStartFunc=function(e){},ajustTnsTransitionEndFunc=function(e){},ajustTnsIndexChangedFunc=function(e){var t,n,i=e.container.querySelectorAll(".tns-item.tns-slide-active"),o=i[0];for([t,n]of Object.entries(e.slideItems))n.querySelectorAll("a").forEach(e
14=>e.setAttribute("tabindex","-1")),n.removeAttribute("aria-current");i.forEach(e=>e.querySelectorAll("a").forEach(e=>{e.removeAttribute("tabindex")}));const s=o.querySelector("a");o.setAttribute("aria-current","true"),setTimeout(function(e){s&&s.focus()},300),resetTnsNavFunc(e),resetTnsControlsFunc(e)},ajustTnsFunc=function(t){var e=t.container.getAttribute("data-carrousel");t.container.closest(".tns-outer").setAttribute("aria-label",localization.getLabel("carrousel.controlsContainer")+" : "+e),t.container.querySelectorAll(".tns-item.tns-slide-active")[0].setAttribute("aria-current","true");for(const[n,i]of Object.entries(t.slideItems))i.querySelectorAll("a").forEach(e=>{i.classList.contains("tns-slide-active")?e.removeAttribute("tabindex"):e.setAttribute("tabindex","-1")}),i.addEventListener("focusin",function(e){"true"!==i.getAttribute("aria-current")&&(t.container.querySelector('.tns-item[aria-current="true"]').removeAttribute("aria-current"),i.setAttribute("aria-current","true"))});t.container.querySelectorAll(".tns-item.tns-slide-active")[0].setAttribute("aria-current","true"),resetTnsNavFunc(t),resetTnsControlsFunc(t),document.querySelectorAll(".tns-liveregion").forEach(e=>e.remove())};var throttleTimer,tns=function(){var e=window,Vi=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.msRequestAnimationFrame||function(e){return setTimeout(e,16)},t=window,Wi=t.cancelAnimationFrame||t.mozCancelAnimationFrame||function(e){clearTimeout(e)};function Yi(e){for(var t,n,i,o=e||{},s=1,a=arguments.length;s<a;s++)if(null!==(t=arguments[s]))for(n in t)o!==(i=t[n])&&void 0!==i&&(o[n]=i);return o}function Ji(e){return 0<=["true","false"].indexOf(e)?JSON.parse(e):e}function Ui(e,t,n,i){if(i)try{e.setItem(t,n)}catch(e){}return n}function Gi(){var e=document,t=e.body;return t||((t=e.createElement("body")).fake=!0),t}var n=document.documentElement;function Zi(e){var t="";return e.fake&&(t=n.style.overflow,e.style.background="",e.style.overflow=n.style.overflow="hidden",n.appendChild(e)),t}function Qi(e,t){e.fake&&(e.remove(),n.style.overflow=t,n.offsetHeight)}function Xi(e,t,n,i){"insertRule"in e?e.insertRule(t+"{"+n+"}",i):e.addRule(t,n,i)}function eo(e){return("insertRule"in e?e.cssRules:e.rules).length}function to(e,t,n){for(var i=0,o=e.length;i<o;i++)t.call(n,e[i],i)}var t="classList"in document.createElement("_"),no=t?function(e,t){return e.classList.contains(t)}:function(e,t){return 0<=e.className.indexOf(t)},io=t?function(e,t){no(e,t)||e.classList.add(t)}:function(e,t){no(e,t)||(e.className+=" "+t)},oo=t?function(e,t){no(e,t)&&e.classList.remove(t)}:function(e,t){no(e,t)&&(e.className=e.className.replace(t,""))};function so(e,t){return e.hasAttribute(t)}function ao(e,t){return e.getAttribute(t)}function s(e){return void 0!==e.item}function ro(e,t){if(e=s(e)||e instanceof Array?e:[e],"[object Object]"===Object.prototype.toString.call(t))for(var n=e.length;n--;)for(var i in t)e[n].setAttribute(i,t[i])}function lo(e,t){e=s(e)||e instanceof Array?e:[e];for(var n=(t=t instanceof Array?t:[t]).length,i=e.length;i--;)for(var o=n;o--;)e[i].removeAttribute(t[o])}function co(e){for(var t=[],n=0,i=e.length;n<i;n++)t.push(e[n]);return t}function uo(e,t){"none"!==e.style.display&&(e.style.display="none")}function ho(e,t){"none"===e.style.display&&(e.style.display="")}function mo(e){return"none"!==window.getComputedStyle(e).display}function fo(t){var n,i;"string"==typeof t&&(n=[t],i=t.charAt(0).toUpperCase()+t.substr(1),["Webkit","Moz","ms","O"].forEach(function(e){"ms"===e&&"transform"!==t||n.push(e+i)}),t=n);for(var e=document.createElement("fakeelement"),o=(t.length,0);o<t.length;o++){var s=t[o];if(void 0!==e.style[s])return s}return!1}function po(e,t){var n=!1;return/^Webkit/.test(e)?n="webkit"+t+"End":/^O/.test(e)?n="o"+t+"End":e&&(n=t.toLowerCase()+"end"),n}var i=!1;try{var o=Object.defineProperty({},"passive",{get:function(){i=!0}});window.addEventListener("test",null,o)}catch(e){}var a=!!i&&{passive:!0};function vo(e,t,n){for(var i in t){var o=0<=["touchstart","touchmove"].indexOf(i)&&!n&&a;e.addEventListener(i,t[i],o)}}function bo(e,t){for(var n in t){var i=0<=["touchstart","touchmove"].indexOf(n)&&a;e.removeEventListener(n,t[n],i)}}function go(){return{topics:{},on:function(e,t){this.topics[e]=this.topics[e]||[],this.topics[e].push(t)},off:function(e,t){if(this.topics[e])for(var n=0;n<this.topics[e].length;n++)if(this.topics[e][n]===t){this.topics[e].splice(n,1);break}},emit:function(t,n){n.type=t,this.topics[t]&&this.topics[t].forEach(function(e){e(n,t)})}}}Object.keys||(Object.keys=function(e){var t,n=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(t);return n}),"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)});function yo(S){S=Yi({container:".slider",mode:"carousel",axis:"horizontal",items:1,gutter:0,edgePadding:0,fixedWidth:!1,autoWidth:!1,viewportMax:!1,slideBy:1,center:!1,controls:!0,controlsPosition:"top",controlsText:["prev","next"],controlsContainer:!1,prevButton:!1,nextButton:!1,nav:!0,navPosition:"top",navContainer:!1,navAsThumbnails:!1,arrowKeys:!1,speed:300,autoplay:!1,autoplayPosition:"top",autoplayTimeout:5e3,autoplayDirection:"forward",autoplayText:["start","stop"],autoplayHoverPause:!1,autoplayButton:!1,autoplayButtonOutput:!0,autoplayResetOnVisibility:!0,animateIn:"tns-fadeIn",animateOut:"tns-fadeOut",animateNormal:"tns-normal",animateDelay:!1,loop:!0,rewind:!1,autoHeight:!1,responsive:!1,lazyload:!1,lazyloadSelector:".tns-lazy-img",touch:!0,mouseDrag:!1,swipeAngle:15,nested:!1,preventActionWhenRunning:!1,preventScrollOnTouch:!1,freezable:!0,onInit:!1,useLocalStorage:!0,nonce:!1},S||{});var $=document,i=window,o={ENTER:13,SPACE:32,LEFT:37,RIGHT:39},t={},e=S.useLocalStorage;if(e){var s=navigator.userAgent,l=new Date;try{(t=i.localStorage)?(t.setItem(l,l),e=t.getItem(l)==l,t.removeItem(l)):e=!1,e||(t={})}catch(s){e=!1}e&&(t.tnsApp&&t.tnsApp!==s&&["tC","tPL","tMQ","tTf","t3D","tTDu","tTDe","tADu","tADe","tTE","tAE"].forEach(function(e){t.removeItem(e)}),localStorage.tnsApp=s)}var c,u,h,m,f,p=t.tC?Ji(t.tC):Ui(t,"tC",function(){var e=document,t=Gi(),n=Zi(t),i=e.createElement("div"),o=!1;t.appendChild(i);try{for(var s,a="(10px * 10)",r=["calc"+a,"-moz-calc"+a,"-webkit-calc"+a],l=0;l<3;l++)if(s=r[l],i.style.width=s,100===i.offsetWidth){o=s.replace(a,"");break}}catch(e){}return t.fake?Qi(t,n):i.remove(),o}(),e),l=t.tPL?Ji(t.tPL):Ui(t,"tPL",function(){var e=document,t=Gi(),n=Zi(t),i=e.createElement("div"),e=e.createElement("div"),o="";i.className="tns-t-subp2",e.className="tns-t-ct";for(var s=0;s<70;s++)o+="<div></div>";return e.innerHTML=o,i.appendChild(e),t.appendChild(i),e=Math.abs(i.getBoundingClientRect().left-e.children[
1467].getBoundingClientRect().left)<2,t.fake?Qi(t,n):i.remove(),e}(),e),oe=t.tMQ?Ji(t.tMQ):Ui(t,"tMQ",!(!window.matchMedia&&!window.msMatchMedia)||(c=document,h=Zi(u=Gi()),m=c.createElement("div"),f="@media all and (min-width:1px){.tns-mq-test{position:absolute}}",(b=c.createElement("style")).type="text/css",m.className="tns-mq-test",u.appendChild(b),u.appendChild(m),b.styleSheet?b.styleSheet.cssText=f:b.appendChild(c.createTextNode(f)),b=(window.getComputedStyle?window.getComputedStyle(m):m.currentStyle).position,u.fake?Qi(u,h):m.remove(),"absolute"===b),e),v=t.tTf?Ji(t.tTf):Ui(t,"tTf",fo("transform"),e),b=t.t3D?Ji(t.t3D):Ui(t,"t3D",!!(c=v)&&!!window.getComputedStyle&&(f=document,h=Zi(u=Gi()),f=f.createElement("p"),m=9<c.length?"-"+c.slice(0,-9).toLowerCase()+"-":"",m+="transform",u.insertBefore(f,null),f.style[c]="translate3d(1px,1px,1px)",c=window.getComputedStyle(f).getPropertyValue(m),u.fake?Qi(u,h):f.remove(),void 0!==c)&&0<c.length&&"none"!==c,e),d=t.tTDu?Ji(t.tTDu):Ui(t,"tTDu",fo("transitionDuration"),e),g=t.tTDe?Ji(t.tTDe):Ui(t,"tTDe",fo("transitionDelay"),e),y=t.tADu?Ji(t.tADu):Ui(t,"tADu",fo("animationDuration"),e),x=t.tADe?Ji(t.tADe):Ui(t,"tADe",fo("animationDelay"),e),w=t.tTE?Ji(t.tTE):Ui(t,"tTE",po(d,"Transition"),e),E=t.tAE?Ji(t.tAE):Ui(t,"tAE",po(y,"Animation"),e),A=i.console&&"function"==typeof i.console.warn,C=["container","controlsContainer","prevButton","nextButton","navContainer","autoplayButton"],T={};if(C.forEach(function(e){var t,n;"string"==typeof S[e]&&(t=S[e],n=$.querySelector(t),T[e]=t,n&&n.nodeName?S[e]=n:A&&console.warn("Can't find",S[e]))}),!(S.container.children.length<1)){var se,ae,k,re,M=S.responsive,le=S.nested,I="carousel"===S.mode;if(M){0 in M&&(S=Yi(S,M[0]),delete M[0]);var L,ce={};for(L in M){var ue=M[L];ce[L]="number"==typeof ue?{items:ue}:ue}M=ce,ce=null}I||function e(t){for(var n in t)I||("slideBy"===n&&(t[n]="page"),"edgePadding"===n&&(t[n]=!1),"autoHeight"===n&&(t[n]=!1)),"responsive"===n&&e(t[n])}(S),I||(S.axis="horizontal",S.slideBy="page",S.edgePadding=!1,se=S.animateIn,ae=S.animateOut,k=S.animateDelay,re=S.animateNormal);var de,he,_="horizontal"===S.axis,a=$.createElement("div"),me=$.createElement("div"),F=S.container,fe=F.parentNode,pe=F.outerHTML,N=F.children,B=N.length,ve=kn(),be=!1;M&&Vn(),I&&(F.className+=" tns-vpfix");var r,ge,ye,xe,we,O,Ee,D,q,Ae,Ce,Te,P,ke,Le,Se,$e,Me,Ie,_e,Fe,Ne,Be,Oe,De,qe,Pe,He,H,je,ze,Re,Ke,Ve,We,Ye,Je,j=S.autoWidth,z=ne("fixedWidth"),R=ne("edgePadding"),K=ne("gutter"),V=Sn(),W=ne("center"),Y=j?1:Math.floor(ne("items")),Ue=ne("slideBy"),Ge=S.viewportMax||S.fixedWidthViewportWidth,Ze=ne("arrowKeys"),Qe=ne("speed"),Xe=S.rewind,J=!Xe&&S.loop,et=ne("autoHeight"),tt=ne("controls"),nt=ne("controlsText"),it=ne("nav"),ot=ne("touch"),st=ne("mouseDrag"),U=ne("autoplay"),at=ne("autoplayTimeout"),rt=ne("autoplayText"),lt=ne("autoplayHoverPause"),ct=ne("autoplayResetOnVisibility"),G=(e=ne("nonce"),Vt=document.createElement("style"),e&&Vt.setAttribute("nonce",e),document.querySelector("head").appendChild(Vt),Vt.sheet||Vt.styleSheet),ut=S.lazyload,dt=S.lazyloadSelector,ht=[],Z=J?(e=function(){if(j||z&&!Ge)return B-1;var e=z?"fixedWidth":"items",t=[];if((z||S[e]<B)&&t.push(S[e]),M)for(var n in M){n=M[n][e];n&&(z||n<B)&&t.push(n)}return t.length||t.push(0),Math.ceil(z?Ge/Math.min.apply(null,t):Math.max.apply(null,t))}(),Vt=I?Math.ceil((5*e-B)/2):4*e-B,Vt=Math.max(e,Vt),$n("edgePadding")?Vt+1:Vt):0,Q=I?B+2*Z:B+Z,mt=!(!z&&!j||J),ft=z?bi():null,pt=!I||!J,vt=_?"left":"top",bt="",gt="",yt=z?function(){return W&&!J?B-1:Math.ceil(-ft/(z+K))}:j?function(){for(var e=0;e<Q;e++)if(r[e]>=-ft)return e}:function(){return W&&I&&!J?B-1:J||I?Math.max(0,Q-Math.ceil(Y)):Q-1},X=An(ne("startIndex")),xt=X,wt=(En(),0),Et=j?null:yt(),At=S.preventActionWhenRunning,Ct=S.swipeAngle,Tt=!Ct||"?",kt=!1,Lt=S.onInit,ee=new go,St=" tns-slider tns-"+S.mode,te=F.id||
14(e=window.tnsId,window.tnsId=e?e+1:1,"tns"+window.tnsId),$t=ne("disable"),Mt=!1,It=S.freezable,_t=!(!It||j)&&Kn(),Ft=!1,Nt={click:ki,keydown:function(e){e=Ni(e);var t=[o.LEFT,o.RIGHT].indexOf(e.keyCode);0<=t&&(0===t?D.disabled||ki(e,-1):q.disabled||ki(e,1))}},Bt={click:function(e){if(kt){if(At)return;Ci()}for(var t,n,i=Bi(e=Ni(e));i!==P&&!so(i,"data-nav");)i=i.parentNode;so(i,"data-nav")&&(t=$e=Number(ao(i,"data-nav")),n=z||j?t*B/Le:t*Y,Ti(Rt?t:Math.min(Math.ceil(n),B-1),e),Me===t)&&(Oe&&Ii(),$e=-1)},keydown:function(e){e=Ni(e);var t,n=$.activeElement;so(n,"data-nav")&&(t=[o.LEFT,o.RIGHT,o.ENTER,o.SPACE].indexOf(e.keyCode),n=Number(ao(n,"data-nav")),0<=t)&&(0===t?0<n&&Fi(Te[n-1]):1===t?n<Le-1&&Fi(Te[n+1]):Ti($e=n,e))}},Ot={mouseover:function(){Oe&&(Si(),De=!0)},mouseout:function(){De&&(Li(),De=!1)}},Dt={visibilitychange:function(){$.hidden?Oe&&(Si(),Pe=!0):Pe&&(Li(),Pe=!1)}},qt={keydown:function(e){e=Ni(e);var t=[o.LEFT,o.RIGHT].indexOf(e.keyCode);0<=t&&ki(e,0===t?-1:1)}},Pt={touchstart:Pi,touchmove:Hi,touchend:ji,touchcancel:ji},Ht={mousedown:Pi,mousemove:Hi,mouseup:ji,mouseleave:ji},jt=$n("controls"),zt=$n("nav"),Rt=!!j||S.navAsThumbnails,Kt=$n("autoplay"),Vt=$n("touch"),Wt=$n("mouseDrag"),Yt="tns-slide-active",Jt="tns-slide-cloned",Ut="tns-complete",Gt={load:function(e){ei(Bi(e))},error:function(e){e=Bi(e);io(e,"failed"),ti(e)}},Zt="force"===S.preventScrollOnTouch;if(jt&&(O=S.controlsContainer,Ee=S.controlsContainer?S.controlsContainer.outerHTML:"",D=S.prevButton,q=S.nextButton,Ae=S.prevButton?S.prevButton.outerHTML:"",Ce=S.nextButton?S.nextButton.outerHTML:""),zt&&(P=S.navContainer,ke=S.navContainer?S.navContainer.outerHTML:"",Le=j?B:Ri(),Se=0,$e=-1,Me=Tn(),Ie=Me,_e="tns-nav-active",Fe="Carousel Page ",Ne=" (Current Slide)"),Kt&&(He="forward"===S.autoplayDirection?1:-1,H=S.autoplayButton,je=S.autoplayButton?S.autoplayButton.outerHTML:"",ze=["<span class='tns-visually-hidden'>"," animation</span>"]),(Vt||Wt)&&(Ve={},Ye=!(We={}),Je=_?function(e,t){return e.x-t.x}:function(e,t){return e.y-t.y}),j||wn($t||_t),v&&(vt=v,bt="translate",gt=b?(bt+=_?"3d(":"3d(0px, ",_?", 0px, 0px)":", 0px)"):(bt+=_?"X(":"Y(",")")),I&&(F.className=F.className.replace("tns-vpfix","")),$n("gutter"),a.className="tns-outer",me.className="tns-inner",a.id=te+"-ow",me.id=te+"-iw",""===F.id&&(F.id=te),St=St+(l||j?" tns-subpixel":" tns-no-subpixel")+(p?" tns-calc":" tns-no-calc"),j&&(St+=" tns-autowidth"),St+=" tns-"+S.axis,F.className+=St,(I?((de=$.createElement("div")).id=te+"-mw",de.className="tns-ovh",a.appendChild(de),de):a).appendChild(me),et&&((de||me).className+=" tns-ah"),fe.insertBefore(a,F),me.appendChild(F),to(N,function(e,t){io(e,"tns-item"),e.id||(e.id=te+"-item"+t),!I&&re&&io(e,re),ro(e,{"aria-hidden":"true",tabindex:"-1"})}),Z){for(var Qt=$.createDocumentFragment(),Xt=$.createDocumentFragment(),en=Z;en--;){var tn=en%B,nn=N[tn].cloneNode(!0);io(nn,Jt),lo(nn,"id"),Xt.insertBefore(nn,Xt.firstChild),I&&(nn=N[B-1-tn].cloneNode(!0),io(nn,Jt),lo(nn,"id"),Qt.appendChild(nn))}F.insertBefore(Qt,F.firstChild),F.appendChild(Xt),N=F.children}if(!I)for(var on=X,sn=X+Math.min(B,Y);on<sn;on++){var an=N[on];an.style.left=100*(on-X)/Y+"%",io(an,se),oo(an,re)}if(_&&(l||j?(Xi(G,"#"+te+" > .tns-item","font-size:"+i.getComputedStyle(N[0]).fontSize+";",eo(G)),Xi(G,"#"+te,"font-size:0;",eo(G))):I&&to(N,function(e,t){e.style.marginLeft=p?p+"("+100*t+"% / "+Q+")":100*t/Q+"%"})),oe?(d&&(n=de&&S.autoHeight?Bn(S.speed):"",Xi(G,"#"+te+"-mw",n,eo(G))),n=Mn(S.edgePadding,S.gutter,S.fixedWidth,S.speed,S.autoHeight),Xi(G,"#"+te+"-iw",n,eo(G)),I&&(n=_&&!j?"width:"+In(S.fixedWidth,S.gutter,S.items)+";":"",d&&(n+=Bn(Qe)),Xi(G,"#"+te,n,eo(G))),n=_&&!j?_n(S.fixedWidth,S.gutter,S.items):"",S.gutter&&(n+=Fn(S.gutter)),I||(d&&(n+=Bn(Qe)),y&&(n+=On(Qe)))):(I&&et&&(de.style[d]=Qe/1e3+"s"),me.style.cssText=Mn(R,K,z,et),I&&_&&!j&&(F.style.width=In(z,K,Y)),n=_&&!j?_n(z,K,Y):"",K&&(n+=Fn(K))),n&&Xi(G,"#"+te+" > .tns-item",n,eo(G)),M&&oe)for(var rn in M){var rn=parseInt(rn),ln=M[rn],n="",cn="",un="",dn="",hn="",mn=j?null:ne("items",rn),fn=ne("fixedWidth",rn),pn=ne("speed",rn),vn=ne("edgePadding",rn),bn=ne("autoHeight",rn),gn=ne("gutter",rn);d&&de&&ne("autoHeight",rn)&&"speed"in ln&&(cn="#"+te+"-mw{"+Bn(pn)+"}"),("edgePadding"in ln||"gutter"in ln)&&(un="#"+te+"-iw{"+Mn(vn,gn,fn,pn,bn)+"}"),I&&_&&!j&&("fixedWidth"in ln||"items"in ln||z&&"gutter"in ln)&&(dn="width:"+In(fn,gn,mn)+";"),d&&"speed"in ln&&(dn+=Bn(pn)),dn=dn&&"#"+te+"{"+dn+"}",("fixedWidth"in ln||z&&"gutter"in ln||!I&&"items"in ln)&&(hn+=_n(fn,gn,mn)),"gutter"in ln&&(hn+=Fn(gn)),!I&&"speed"in ln&&(d&&(hn+=Bn(pn)),y)&&(hn+=On(pn)),(n=cn+un+dn+(hn=hn&&"#"+te+" > .tns-item{"+hn+"}"))&&G.insertRule("@media (min-width: "+rn/16+"em) {"+n+"}",G.cssRules.length)}Dn();var yn=J?I?function(){var e=wt,t=Et;e+=Ue,t-=Ue,R?(e+=1,--t):z&&(V+K)%(z+K)&&--t,Z&&(t<X?X-=B:X<e&&(X+=B))}:function(){if(Et<X)for(;wt+B<=X;)X-=B;else if(X<wt)for(;X<=Et-B;)X+=B}:function(){X=Math.max(wt,Math.min(Et,X))},xn=I?function(){var t,n,i,o,e,s,a,r,l,c,u;pi(F,""),d||!Qe?(xi(),Qe&&mo(F)||Ci()):(t=F,n=vt,i=bt,o=gt,e=gi(),s=Qe,a=Ci,r=Math.min(s,10),l=0<=e.indexOf("%")?"%":"px",e=e.replace(l,""),c=Number(t.style[n].replace(i,"").replace(o,"").replace(l,"")),u=(e-c)/s*r,setTimeout(function e(){s-=r,c+=u,t.style[n]=i+c+l+o,0<s?setTimeout(e,r):a()},r)),_||zi()}:function(){ht=[];var e={};e[w]=e[E]=Ci,bo(N[xt],e),vo(N[X],e),wi(xt,se,ae,!0),wi(X,re,se),w&&E&&Qe&&mo(F)||Ci()};return{version:"2.9.4",getInfo:ie,events:ee,goTo:Ti,play:function(){U&&!Oe&&(Mi(),qe=!1)},pause:function(){Oe&&(Ii(),qe=!0)},isOn:be,updateSliderHeight:ri,refresh:Dn,destroy:function(){G.disabled=!0,G.ownerNode&&G.ownerNode.remove(),bo(i,{resize:zn}),Ze&&bo($,qt),O&&bo(O,Nt),P&&bo(P,Bt),bo(F,Ot),bo(F,Dt),H&&bo(H,{click:_i}),U&&clearInterval(Be),I&&w&&((e={})[w]=Ci,bo(F,e)),ot&&bo(F,Pt),st&&bo(F,Ht);var e,t,s=[pe,Ee,Ae,Ce,ke,je];
14for(t in C.forEach(function(e,t){var n,i,o="container"===e?a:S[e];"object"==typeof o&&o&&(n=!!o.previousElementSibling&&o.previousElementSibling,i=o.parentNode,o.outerHTML=s[t],S[e]=n?n.nextElementSibling:i.firstElementChild)}),C=se=ae=k=re=_=a=me=F=fe=pe=N=B=he=ve=j=z=R=K=V=Y=Ue=Ge=Ze=Qe=Xe=J=et=G=ut=r=ht=Z=Q=mt=ft=pt=vt=bt=gt=yt=X=xt=wt=Et=Ct=Tt=kt=Lt=ee=St=te=$t=Mt=It=_t=Ft=Nt=Bt=Ot=Dt=qt=Pt=Ht=jt=zt=Rt=Kt=Wt=Yt=Ut=Gt=ge=tt=nt=O=Ee=D=q=xe=we=it=P=ke=Te=Le=Se=$e=Me=Ie=_e=Fe=Ne=U=at=He=rt=lt=H=je=ct=ze=Be=Oe=De=qe=Pe=Ve=We=Re=Ye=Ke=Je=ot=st=null,this)"rebuild"!==t&&(this[t]=null);be=!1},rebuild:function(){return yo(Yi(S,T))}}}function wn(e){e&&(tt=it=ot=st=Ze=U=lt=ct=!1)}function En(){for(var e=I?X-Z:X;e<0;)e+=B;return e%B+1}function An(e){return e=e?Math.max(0,Math.min(J?B-1:B-Y,e)):0,I?e+Z:e}function Cn(e){for(null==e&&(e=X),I&&(e-=Z);e<0;)e+=B;return Math.floor(e%B)}function Tn(){var e=Cn(),e=Rt?e:z||j?Math.ceil((e+1)*Le/B-1):Math.floor(e/Y);return e=!J&&I&&X===Et?Le-1:e}function kn(){return i.innerWidth||$.documentElement.clientWidth||$.body.clientWidth}function Ln(e){return"top"===e?"afterbegin":"beforeend"}function Sn(){var e=R?2*R-K:0;return function e(t){var n,i;if(null!=t)return i=$.createElement("div"),t.appendChild(i),n=(n=i.getBoundingClientRect()).right-n.left,i.remove(),n||e(t.parentNode)}(fe)-e}function $n(e){if(S[e])return!0;if(M)for(var t in M)if(M[t][e])return!0;return!1}function ne(e,t){if(null==t&&(t=ve),"items"===e&&z)return Math.floor((V+K)/(z+K))||1;var n=S[e];if(M)for(var i in M)t>=parseInt(i)&&e in M[i]&&(n=M[i][e]);return"slideBy"===e&&"page"===n&&(n=ne("items")),n=I||"slideBy"!==e&&"items"!==e?n:Math.floor(n)}function Mn(e,t,n,i,o){var s,a="";return void 0!==e?(s=e,t&&(s-=t),a=_?"margin: 0 "+s+"px 0 "+e+"px;":"margin: "+e+"px 0 "+s+"px 0;"):t&&!n&&(e="-"+t+"px",a="margin: 0 "+(_?e+" 0 0":"0 "+e+" 0")+";"),!I&&o&&d&&i&&(a+=Bn(i)),a}function In(e,t,n){return e?(e+t)*Q+"px":p?p+"("+100*Q+"% / "+n+")":100*Q/n+"%"}function _n(e,t,n){return t="width:"+(t=e?e+t+"px":(I||(n=Math.floor(n)),e=I?Q:n,p?p+"(100% / "+e+")":100/e+"%")),"inner"!==le?t+";":t+" !important;"}function Fn(e){return!1!==e?(_?"padding-":"margin-")+(_?"right":"bottom")+": "+e+"px;":""}function Nn(e,t){e=e.substring(0,e.length-t).toLowerCase();return e=e&&"-"+e+"-"}function Bn(e){return Nn(d,18)+"transition-duration:"+e/1e3+"s;"}function On(e){return Nn(y,17)+"animation-duration:"+e/1e3+"s;"}function Dn(){var e;$n("autoHeight")||j||!_?(to(e=F.querySelectorAll("img"),function(e){var t=e.src;ut||(t&&t.indexOf("data:image")<0?(e.src="",vo(e,Gt),io(e,"loading"),e.src=t):ei(e))}),Vi(function(){oi(co(e),function(){ge=!0})}),$n("autoHeight")&&(e=ni(X,Math.min(X+Y-1,Q-1))),ut?qn():Vi(function(){oi(co(e),qn)})):(I&&yi(),Hn(),jn())}function qn(){var i;(j&&1<B?(i=J?X:B-1,function e(){var t=N[i].getBoundingClientRect().left,n=N[i-1].getBoundingClientRect().right;Math.abs(t-n)<=1?Pn():setTimeout(function(){e()},16)}):Pn)()}function Pn(){_&&!j||(li(),j?(ft=bi(),It&&(_t=Kn()),Et=yt(),wn($t||_t)):zi()),I&&yi(),Hn(),jn()}function Hn(){var e,t;if(ci(),a.insertAdjacentHTML("afterbegin",'<div class="tns-liveregion tns-visually-hidden" aria-live="polite" aria-atomic="true">slide <span class="current">'+Zn()+"</span>  of "+B+"</div>"),ye=a.querySelector(".tns-liveregion .current"),Kt&&(e=U?"stop":"start",H?ro(H,{"data-action":e}):S.autoplayButtonOutput&&(a.insertAdjacentHTML(Ln(S.autoplayPosition),'<button type="button" data-action="'+e+'">'+ze[0]+e+ze[1]+rt[0]+"</button>"),H=a.querySelector("[data-action]")),H&&vo(H,{click:_i}),U)&&(Mi(),lt&&vo(F,Ot),ct)&&vo(F,Dt),zt){if(P)ro(P,{"aria-label":"Carousel Pagination"}),to(Te=P.children,function(e,t){ro(e,{"data-nav":t,tabindex:"-1","aria-label":Fe+(t+1),"aria-controls":te})});else{for(var n="",i=Rt?"":'style="display:none"',o=0;o<B;o++)n+='<button type="button" data-nav="'+o+'" tabindex="-1" aria-controls="'+te+'" '+i+' aria-label="'+Fe+(o+1)+'"></button>';a.insertAdjacentHTML(Ln(S.navPosition),n='<div class="tns-nav" aria-label="Carousel Pagination">'+n+"</div>"),P=a.querySelector(".tns-nav"),Te=P.children}Ki(),d&&(e=d.substring(0,d.length-18).toLowerCase(),t="transition: all "+Qe/1e3+"s",Xi(G,"[aria-controls^="+te+"-item]",t=e?"-"+e+"-"+t:t,eo(G))),ro(Te[Me],{"aria-label":Fe+(Me+1)+Ne}),lo(Te[Me],"tabindex"),io(Te[Me],_e),vo(P,Bt)}jt&&(O||D&&q||(a.insertAdjacentHTML(Ln(S.controlsPosition),'<div class="tns-controls" aria-label="Carousel Navigation" tabindex="0"><button type="button" data-controls="prev" tabindex="-1" aria-controls="'+te+'">'+nt[0]+'</button><button type="button" data-controls="next" tabindex="-1" aria-controls="'+te+'">'+nt[1]+"</button></div>"),O=a.querySelector(".tns-controls")),D&&q||(D=O.children[0],q=O.children[1]),S.controlsContainer&&ro(O,{"aria-label":"Carousel Navigation",tabindex:"0"}),(S.controlsContainer||S.prevButton&&S.nextButton)&&ro([D,q],{"aria-controls":te,tabindex:"-1"}),(S.controlsContainer||S.prevButton&&S.nextButton)&&(ro(D,{"data-controls":"prev"}),ro(q,{"data-controls":"next"})),xe=di(D),we=di(q),fi(),O?vo(O,Nt):(vo(D,Nt),vo(q,Nt))),Wn()}function jn(){var e;I&&w&&((e={})[w]=Ci,vo(F,e)),ot&&vo(F,Pt,S.preventScrollOnTouch),st&&vo(F,Ht),Ze&&vo($,qt),"inner"===le?ee.on("outerResized",function(){Rn(),ee.emit("innerLoaded",ie())}):(M||z||j||et||!_)&&vo(i,{resize:zn}),et&&("outer"===le?ee.on("innerLoaded",ii):$t||ii()),Xn(),$t?Un():_t&&Jn(),ee.on("indexChanged",si),"inner"===le&&ee.emit("innerLoaded",ie()),"function"==typeof Lt&&Lt(ie()),be=!0}function zn(e){Vi(function(){Rn(Ni(e))})}function Rn(e){if(be){"outer"===le&&ee.emit("outerResized",ie(e)),ve=kn();var t,n=he,i=!1;M&&(Vn(),t=n!==he)&&ee.emit("newBreakpointStart",ie(e));
14var o,s,a,r,l,c,u,d,n=Y,h=$t,m=_t,f=Ze,p=tt,v=it,b=ot,g=st,y=U,x=lt,w=ct,E=X;if(t&&(s=z,a=et,r=nt,l=W,c=rt,oe||(u=K,d=R)),Ze=ne("arrowKeys"),tt=ne("controls"),it=ne("nav"),ot=ne("touch"),W=ne("center"),st=ne("mouseDrag"),U=ne("autoplay"),lt=ne("autoplayHoverPause"),ct=ne("autoplayResetOnVisibility"),t&&($t=ne("disable"),z=ne("fixedWidth"),Qe=ne("speed"),et=ne("autoHeight"),nt=ne("controlsText"),rt=ne("autoplayText"),at=ne("autoplayTimeout"),oe||(R=ne("edgePadding"),K=ne("gutter"))),wn($t),V=Sn(),_&&!j||$t||(li(),_)||(zi(),i=!0),(z||j)&&(ft=bi(),Et=yt()),(t||z)&&(Y=ne("items"),Ue=ne("slideBy"),o=Y!==n)&&(z||j||(Et=yt()),yn()),t&&$t!==h&&($t?Un:function(){if(Mt){if(G.disabled=!1,F.className+=St,yi(),J)for(var e=Z;e--;)I&&ho(N[e]),ho(N[Q-e-1]);if(!I)for(var t=X,n=X+B;t<n;t++){var i=N[t],o=t<X+Y?se:re;i.style.left=100*(t-X)/Y+"%",io(i,o)}Yn(),Mt=!1}})(),It&&(t||z||j)&&(_t=Kn())!==m)if(_t)xi(gi(An(0))),Jn();else{if(Ft){if(R&&oe&&(me.style.margin=""),Z)for(var A="tns-transparent",C=Z;C--;)I&&oo(N[C],A),oo(N[Q-C-1],A);Yn(),Ft=!1}i=!0}if(wn($t||_t),U||(lt=ct=!1),Ze!==f&&(Ze?vo:bo)($,qt),tt!==p&&(tt?O?ho(O):(D&&ho(D),q&&ho(q)):O?uo(O):(D&&uo(D),q&&uo(q))),it!==v&&(it?(ho(P),Ki()):uo(P)),ot!==b&&(ot?vo(F,Pt,S.preventScrollOnTouch):bo(F,Pt)),st!==g&&(st?vo:bo)(F,Ht),U!==y&&(U?(H&&ho(H),Oe||qe||Mi()):(H&&uo(H),Oe&&Ii())),lt!==x&&(lt?vo:bo)(F,Ot),ct!==w&&(ct?vo:bo)($,Dt),t?(z===s&&W===l||(i=!0),et===a||et||(me.style.height=""),tt&&nt!==r&&(D.innerHTML=nt[0],q.innerHTML=nt[1]),H&&rt!==c&&(n=U?1:0,m=(h=H.innerHTML).length-c[n].length,h.substring(m)===c[n])&&(H.innerHTML=h.substring(0,m)+rt[n])):W&&(z||j)&&(i=!0),(o||z&&!j)&&(Le=Ri(),Ki()),(f=X!==E)?(ee.emit("indexChanged",ie()),i=!0):o?f||si():(z||j)&&(Xn(),ci(),Gn()),o&&!I){for(var T=X+Math.min(B,Y),k=Q;k--;){var L=N[k];X<=k&&k<T?(io(L,"tns-moving"),L.style.left=100*(k-X)/Y+"%",io(L,se),oo(L,re)):L.style.left&&(L.style.left="",io(L,re),oo(L,se)),oo(L,ae)}setTimeout(function(){to(N,function(e){oo(e,"tns-moving")})},300)}$t||_t||(t&&!oe&&(R===d&&K===u||(me.style.cssText=Mn(R,K,z,Qe,et)),_)&&(I&&(F.style.width=In(z,K,Y)),p=_n(z,K,Y)+Fn(K),b=eo(v=G)-1,"deleteRule"in v?v.deleteRule(b):v.removeRule(b),Xi(G,"#"+te+" > .tns-item",p,eo(G))),et&&ii(),i&&(yi(),xt=X)),t&&ee.emit("newBreakpointEnd",ie(e))}}function Kn(){var e,t;return z||j?(e=z?(z+K)*B:r[B],t=R?V+2*R:V+K,W&&(t-=z?(V-z)/2:(V-(r[X+1]-r[X]-K))/2),e<=t):B<=(W?Y-(Y-1)/2:Y)}function Vn(){for(var e in he=0,M)(e=parseInt(e))<=ve&&(he=e)}function Wn(){!U&&H&&uo(H),!it&&P&&uo(P),tt||(O?uo(O):(D&&uo(D),q&&uo(q)))}function Yn(){U&&H&&ho(H),it&&P&&ho(P),tt&&(O?ho(O):(D&&ho(D),q&&ho(q)))}function Jn(){if(!Ft){if(R&&(me.style.margin="0px"),Z)for(var e="tns-transparent",t=Z;t--;)I&&io(N[t],e),io(N[Q-t-1],e);Wn(),Ft=!0}}function Un(){if(!Mt){if(G.disabled=!0,F.className=F.className.replace(St.substring(1),""),lo(F,["style"]),J)for(var e=Z;e--;)I&&uo(N[e]),uo(N[Q-e-1]);if(_&&I||lo(me,["style"]),!I)for(var t=X,n=X+B;t<n;t++){var i=N[t];lo(i,["style"]),oo(i,se),oo(i,re)}Wn(),Mt=!0}}function Gn(){var e=Zn();ye.innerHTML!==e&&(ye.innerHTML=e)}function Zn(){var e=Qn(),t=e[0]+1,e=e[1]+1;return t===e?t+"":t+" to "+e}function Qn(e){null==e&&(e=gi());var n,i,o,s=X;return W||R?(j||z)&&(n=-(parseFloat(e)+R),i=n+V+2*R):j&&(n=r[X],i=n+V),j?r.forEach(function(e,t){t<Q&&((W||R)&&e<=n+.5&&(s=t),.5<=i-e)&&(o=t)}):(o=z?(e=z+K,W||R?(s=Math.floor(n/e),Math.ceil(i/e-1)):s+Math.ceil(V/e)-1):W||R?(e=Y-1,o=W?(s-=e/2,X+e/2):X+e,R&&(s-=e=R*Y/V,o+=e),s=Math.floor(s),Math.ceil(o)):s+Y-1,s=Math.max(s,0),o=Math.min(o,Q-1)),[s,o]}function Xn(){var e;ut&&!$t&&((e=Qn()).push(dt),ni.apply(null,e).forEach(function(e){var t;no(e,Ut)||((t={})[w]=function(e){e.stopPropagation()},vo(e,t),vo(e,Gt),e.src=ao(e,"data-src"),(t=ao(e,"data-srcset"))&&(e.srcset=t),io(e,"loading"))}))}function ei(e){io(e,"loaded"),ti(e)}function ti(e){io(e,Ut),oo(e,"loading"),bo(e,Gt)}function ni(e,t,n){var i=[];for(n=n||"img";e<=t;)to(N[e].querySelectorAll(n),function(e){i.push(e)}),e++;return i}function ii(){var e=ni.apply(null,Qn());Vi(function(){oi(e,ri)})}function oi(n,e){!ge&&(n.forEach(function(e,t){!ut&&e.complete&&ti(e),no(e,Ut)&&n.splice(t,1)}),n.length)?Vi(function(){oi(n,e)}):e()}function si(){var e,t;Xn(),ci(),Gn(),fi(),it&&(Me=0<=$e?$e:Tn(),$e=-1,Me!==Ie)&&(e=Te[Ie],t=Te[Me],ro(e,{tabindex:"-1","aria-label":Fe+(Ie+1)}),oo(e,_e),ro(t,{"aria-label":Fe+(Me+1)+Ne}),lo(t,"tabindex"),io(t,_e),Ie=Me)}function ai(e,t){for(var n=[],i=e,o=Math.min(e+t,Q);i<o;i++)n.push(N[i].offsetHeight);return Math.max.apply(null,n)}function ri(){var e=et?ai(X,Y):ai(Z,B),t=de||me;t.style.height!==e&&(t.style.height=e+"px")}function li(){r=[0];
14var n=_?"left":"top",i=_?"right":"bottom",o=N[0].getBoundingClientRect()[n];to(N,function(e,t){t&&r.push(e.getBoundingClientRect()[n]-o),t===Q-1&&r.push(e.getBoundingClientRect()[i]-o)})}function ci(){var e=Qn(),n=e[0],i=e[1];to(N,function(e,t){n<=t&&t<=i?so(e,"aria-hidden")&&(lo(e,["aria-hidden","tabindex"]),io(e,Yt)):so(e,"aria-hidden")||(ro(e,{"aria-hidden":"true",tabindex:"-1"}),oo(e,Yt))})}function ui(e){return e.nodeName.toLowerCase()}function di(e){return"button"===ui(e)}function hi(e){return"true"===e.getAttribute("aria-disabled")}function mi(e,t,n){e?t.disabled=n:t.setAttribute("aria-disabled",n.toString())}function fi(){var e,t,n,i;!tt||Xe||J||(e=xe?D.disabled:hi(D),t=we?q.disabled:hi(q),i=!Xe&&Et<=X,(n=X<=wt)&&!e&&mi(xe,D,!0),!n&&e&&mi(xe,D,!1),i&&!t&&mi(we,q,!0),!i&&t&&mi(we,q,!1))}function pi(e,t){d&&(e.style[d]=t)}function vi(e){return null==e&&(e=X),j?(V-(R?K:0)-(r[e+1]-r[e]-K))/2:z?(V-z)/2:(Y-1)/2}function bi(){var e=V+(R?K:0)-(z?(z+K)*Q:r[Q]);return e=0<(e=W&&!J?z?-(z+K)*(Q-1)-vi():vi(Q-1)-r[Q-1]:e)?0:e}function gi(e){var t,n;return null==e&&(e=X),_&&!j?z?(t=-(z+K)*e,W&&(t+=vi())):(n=v?Q:Y,W&&(e-=vi()),t=100*-e/n):(t=-r[e],W&&j&&(t+=vi())),(t=mt?Math.max(t,ft):t)+(!_||j||z?"px":"%")}function yi(e){pi(F,"0s"),xi(e)}function xi(e){null==e&&(e=gi()),F.style[vt]=bt+e+gt}function wi(e,t,n,i){var o=e+Y;J||(o=Math.min(o,Q));for(var s=e;s<o;s++){var a=N[s];i||(a.style.left=100*(s-X)/Y+"%"),k&&g&&(a.style[g]=a.style[x]=k*(s-e)/1e3+"s"),oo(a,t),io(a,n),i&&ht.push(a)}}function Ei(e,t){pt&&yn(),X===xt&&!t||(ee.emit("indexChanged",ie()),ee.emit("transitionStart",ie()),et&&ii(),Oe&&e&&0<=["click","keydown"].indexOf(e.type)&&Ii(),kt=!0,xn())}function Ai(e){return e.toLowerCase().replace(/-/g,"")}function Ci(e){if(I||kt){if(ee.emit("transitionEnd",ie(e)),!I&&0<ht.length)for(var t=0;t<ht.length;t++){var n=ht[t];n.style.left="",x&&g&&(n.style[x]="",n.style[g]=""),oo(n,ae),io(n,re)}(!e||!I&&e.target.parentNode===F||e.target===F&&Ai(e.propertyName)===Ai(vt))&&(pt||(e=X,yn(),X!==e&&(ee.emit("indexChanged",ie()),yi())),"inner"===le&&ee.emit("innerLoaded",ie()),kt=!1,xt=X)}}function Ti(e,t){if(!_t)if("prev"===e)ki(t,-1);else if("next"===e)ki(t,1);else{if(kt){if(At)return;Ci()}var n=Cn(),i=0;"first"===e?i=-n:"last"===e?i=I?B-Y-n:B-1-n:("number"!=typeof e&&(e=parseInt(e)),isNaN(e)||(i=(e=t?e:Math.max(0,Math.min(B-1,e)))-n)),!I&&i&&Math.abs(i)<Y&&(e=0<i?1:-1,i+=wt<=X+i-B?B*e:2*B*e*-1),X+=i,I&&J&&(X<wt&&(X+=B),Et<X)&&(X-=B),Cn(X)!==Cn(xt)&&Ei(t)}}function ki(e,t){if(kt){if(At)return;Ci()}var n;if(!t){for(var i=Bi(e=Ni(e));i!==O&&[D,q].indexOf(i)<0;)i=i.parentNode;var o=[D,q].indexOf(i);0<=o&&(n=!0,t=0===o?-1:1)}if(Xe){if(X===wt&&-1===t)return void Ti("last",e);if(X===Et&&1===t)return void Ti("first",e)}t&&(X+=Ue*t,j&&(X=Math.floor(X)),Ei(n||e&&"keydown"===e.type?e:null))}function Li(){Be=setInterval(function(){ki(null,He)},at),Oe=!0}function Si(){clearInterval(Be),Oe=!1}function $i(e,t){ro(H,{"data-action":e}),H.innerHTML=ze[0]+e+ze[1]+t}function Mi(){Li(),H&&$i("stop",rt[1])}function Ii(){Si(),H&&$i("start",rt[0])}function _i(){qe=Oe?(Ii(),!0):(Mi(),!1)}function Fi(e){e.focus()}function Ni(e){return Oi(e=e||i.event)?e.changedTouches[0]:e}function Bi(e){return e.target||i.event.srcElement}function Oi(e){return 0<=e.type.indexOf("touch")}function Di(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function qi(){return t=We.y-Ve.y,n=We.x-Ve.x,t=Math.atan2(t,n)*(180/Math.PI),n=!1,90-(e=Ct)<=(t=Math.abs(90-Math.abs(t)))?n="horizontal":t<=e&&(n="vertical"),n===S.axis;var e,t,n}function Pi(e){if(kt){if(At)return;Ci()}U&&Oe&&Si(),Ye=!0,Ke&&(Wi(Ke),Ke=null);var t=Ni(e);ee.emit(Oi(e)?"touchStart":"dragStart",ie(e)),!Oi(e)&&0<=["img","a"].indexOf(ui(Bi(e)))&&Di(e),We.x=Ve.x=t.clientX,We.y=Ve.y=t.clientY,I&&(Re=parseFloat(F.style[vt].replace(bt,"")),pi(F,"0s"))}function Hi(e){var t;Ye&&(t=Ni(e),We.x=t.clientX,We.y=t.clientY,I?Ke=Ke||Vi(function(){!function e(t){if(!Tt)return Ye=!1;if(Wi(Ke),Ye&&(Ke=Vi(function(){e(t)})),Tt="?"===Tt?qi():Tt){!Zt&&Oi(t)&&(Zt=!0);try{t.type&&ee.emit(Oi(t)?"touchMove":"dragMove",ie(t))}catch(e){}var n=Re,i=Je(We,Ve);n=!_||z||j?n+i+"px":n+(v?i*Y*100/((V+K)*Q):100*i/(V+K))+"%",F.style[vt]=bt+n+gt}}(e)}):(Tt="?"===Tt?qi():Tt)&&(Zt=!0),"boolean"!=typeof e.cancelable||e.cancelable)&&Zt&&e.preventDefault()}function ji(i){var e,o,n;Ye&&(Ke&&(Wi(Ke),Ke=null),I&&pi(F,""),Ye=!1,e=Ni(i),We.x=e.clientX,We.y=e.clientY,o=Je(We,Ve),Math.abs(o))&&(Oi(i)||vo(n=Bi(i),{click:function e(t){Di(t),bo(n,{click:e})}}),I?Ke=Vi(function(){if(_&&!j){var e=-o*Y/(V+K),e=0<o?Math.floor(e):Math.ceil(e);X+=e}else{var t=-(Re+o);if(t<=0)X=wt;else if(t>=r[Q-1])X=Et;else for(var n=0;n<Q&&t>=r[n];)t>r[X=n]&&o<0&&(X+=1),n++}Ei(i,o),ee.emit(Oi(i)?"touchEnd":"dragEnd",ie(i))}):Tt&&ki(i,0<o?-1:1)),"auto"===S.preventScrollOnTouch&&(Zt=!1),Ct&&(Tt="?"),U&&!Oe&&Li()}function zi(){(de||me).style.height=r[X+Y]-r[X]+"px"}function Ri(){var e=z?(z+K)*B/V:B/Y;return Math.min(Math.ceil(e),B)}function Ki(){if(it&&!Rt&&Le!==Se){var e=Se,t=Le,n=ho;for(Le<Se&&(e=Le,t=Se,n=uo);e<t;
14)n(Te[e]),e++;Se=Le}}function ie(e){return{container:F,slideItems:N,navContainer:P,navItems:Te,controlsContainer:O,hasControls:jt,prevButton:D,nextButton:q,items:Y,slideBy:Ue,cloneCount:Z,slideCount:B,slideCountNew:Q,index:X,indexCached:xt,displayIndex:En(),navCurrentIndex:Me,navCurrentIndexCached:Ie,pages:Le,pagesCached:Se,sheet:G,isOn:be,event:e||{}}}A&&console.warn("No slides found in",S.container)}return yo}();const scrollElements=document.querySelectorAll(".js-animation--scroll"),throttle=(e,t)=>{throttleTimer||(throttleTimer=!0,setTimeout(()=>{e(),throttleTimer=!1},t))};function typeWriter(n){var e=n.innerHTML.split("");n.innerHTML="",e.forEach((e,t)=>setTimeout(()=>n.innerHTML+=e,120*t))}const elementInView=(e,t=1)=>{return e.getBoundingClientRect().top<=(window.innerHeight||document.documentElement.clientHeight)/t},elementOutofView=e=>{return e.getBoundingClientRect().top>(window.innerHeight||document.documentElement.clientHeight)},displayScrollElement=e=>{e.classList.add("scrolled")},hideScrollElement=e=>{e.classList.remove("scrolled")},handleScrollAnimation=()=>{scrollElements.forEach(e=>{(elementInView(e,1.15)?displayScrollElement:elementOutofView)(e)})};$(window).on("load scroll",function(){throttle(()=>{handleScrollAnimation()},250)}
14),$(document).ready(function(){var e=$(".label-placeholder + .form-control");e.each(function(){var e;"SELECT"!==this.tagName||0!==this.selectedIndex||this.multiple||((e=$(document.createElement("option"))).attr("disabled","disabled").attr("selected","selected").attr("hidden","true").attr("value",""),$(this).prepend(e)),"SELECT"===this.tagName&&this.multiple&&$(this).prev(".label-placeholder").addClass("label-move"),($(this).val()&&0<$(this).val().length||!0===this.disabled&&""===this.value)&&($(this).prev(".label-placeholder").addClass("label-move"),$(this).next("button.reset").show())}),e.on("focusin",function(e){e.preventDefault(),$(this).val()||$(this).prev(".label-placeholder").addClass("label-move")}).on("focusout",function(e){e.preventDefault(),$(this).val()||$(this).prev(".label-placeholder").removeClass("label-move")}).on("keyup change",function(){$(this).nextAll("button.reset").show(),$(this).prev(".label-placeholder").addClass("label-move"),$(this).val()||$(this).nextAll("button.reset").hide()}),$("select.form-control").on("focusin",function(){$(this).find("option[disabled]").attr("hidden","hidden")}).on("focusout",function(){$(this).find("option[disabled]").attr("hidden","")}).on("change",function(){$(this).nextAll("button.reset").show()}),$("button.reset").on("click",function(e){e.preventDefault(),"SELECT"===$(this).prevAll(".form-control").get(0).tagName?($(this).prevAll(".form-control").get(0).selectedIndex=0,$(this).prevAll(".form-control").trigger("change"),$(this).prevAll(".form-control").trigger("focusout")):$(this).prevAll(".form-control").val([]).trigger("focus"),$(this).hide()}),$("main form").each(function(){new FormValidator(this)})});class FormValidator{constructor(e){this.form=e,this.fields=this.form.querySelectorAll(".form-control"),this.handleSubmit=this.handleSubmit.bind(this),this.initialize()}initialize(){this.form.noValidate=!0,$(this.form).on("submit",this.handleSubmit),this.fields.forEach(e=>this.validateField(e))}handleSubmit(e){this.fields.forEach(e=>{$(e).attr("data-validate")&&this.customValidate(e),this.resetError(e)}),this.form.checkValidity()||(e.preventDefault(),e.stopPropagation(),window.scrollTo(0,$(this.form).find(".form-control:invalid").first().parents(".form-error").position().top+$(this.form).find(".form-control:invalid").first().parents(".form-error").height()),$(this.form).find(".form-control:invalid").first()[0].focus({preventScroll:!0})),$(this.form).addClass("is-validated")}validateField(e){$(e).on("invalid",function(){$(e).attr("aria-invalid","true"),this.showError(e)}.bind(this)).on("blur keyup change",function(){$(e).removeAttr("aria-invalid"),this.resetError(e),$(e).attr("data-validate")&&this.customValidate(e),e.checkValidity()}.bind(this))}customValidate(e){var t;"email"===$(e).attr("data-validate")&&(t=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,$(e).val()&&!t.test($(e).val())?e.setCustomValidity($(e).attr("data-error-custom")):e.setCustomValidity(""))}showError(e){let t,n;n="radio"===e.type?"error-"+$(e).attr("name"):"error-"+$(e).attr("id"),(t=$(document.createElement("p"))).attr("id",n),t.addClass("validation-error"),$(e).attr("data-error-pattern")&&e.setCustomValidity($(e).attr("data-error-pattern")),!$(e).val()&&$(e).attr("data-error-required")&&e.setCustomValidity($(e).attr("data-error-required")),!$(e).attr("data-label")||$(e).attr("data-error-pattern")||$(e).attr("data-error-required")?t.text(e.validationMessage):t.text($(e).attr("data-label")+" : "+e.validationMessage),$(e).parents(".form-group").find(".validation-error").attr("id")!==n&&t.insertAfter($(e).parents(".field-group")),this.setAttrList(e,"aria-describedby",n),$(e).parents(".form-group").addClass("form-error")}resetError(e){var t="error-"+$(e).attr("id");$(e).parents(".field-group").nextAll(".validation-error").remove(),$(e).parents(".form-group").removeClass("form-error"),this.removeAttrList(e,"aria-describedby",t)}setAttrList(e,t,n){var i=$(e).attr(t)||"";$(e).attr(t)?$(e).attr(t,i.split(/\s+/).concat(n).join(" ")):$(e).attr(t,n)}removeAttrList(e,t,n){let i=$(e).attr(t)||"";(i=i.split(/\s+/).filter(e=>e!==n).join(" "))?$(e).attr("aria-describedby",i):$(e).removeAttr("aria-describedby")}}const mainMenu=$("#main-menu"),altMenu=$("#alt-menu"),header=$("#header"),menuContainer=$("#menu-container"),search=$("#search"),mobileButton=$("button.menu-toggle-button");let rgaaInit=function(){const t=document.createElement("div");t.classList.add("empty-paragraph"),document.querySelectorAll("main p").forEach(e
14=>{e.textContent.trim()||0!==e.children.length||e.replaceWith(t)}),$("#main, #footer").attr("tabindex","-1"),$("#accesskey a").each(function(){var e=$(this).attr("href");e&&e.startsWith("#")&&$(e).attr("tabindex","-1")})},loadFile=function(e,t){var n;"js"==t?(n=document.createElement("script")).setAttribute("src",e):"css"==t&&((n=document.createElement("link")).setAttribute("rel","stylesheet"),n.setAttribute("href",e)),document.getElementsByTagName("head")[0].appendChild(n)},disableHoverOnScroll=function(){window.addEventListener("scroll",function(){clearTimeout(timer),$("main").hasClass("disable-hover")||$("main").addClass("disable-hover"),timer=setTimeout(function(){$("main").removeClass("disable-hover")},200)},!1)},matchHeight=function(e){var t=document.querySelectorAll(e),n=t.length,i=[];$(t).css("height","");for(var o=0;o<n;o++)i.push(t[o].offsetHeight);for(var s=Math.max(...i),o=0;o<t.length;o++)t[o].style.height=s+"px"},jsCardLink=function(){$(".js-card-link").on("click",function(e){var t=$(this).find("a");t[0]!==e.target&&t.trigger("click")})},backToTop=function(){$("a.back-to-top").on("click",function(e){window.scrollTo(0,0);var t=$("#accesskey");t.length&&(t.is("a, button, input, [tabindex]")||t.attr("tabindex","-1"),t.get(0).focus())})},reloadAnchors=function(){document.querySelectorAll('[data-reload="true"]').forEach(function(t){t.addEventListener("click",function(e){e.preventDefault();e=new URL(t.href,window.location.href),e=""+e.pathname+e.search+e.hash;window.history.replaceState(null,"",e),window.location.reload()})})};var lazyLoadInstance=new LazyLoad({});let mobileMenuFunc=function(){let e=0,t=1;const n=window.matchMedia("(max-width: 991px)"),i=window.matchMedia("(max-width: 1300px)");$(window).on("resize orientationchange",function(){n.matches?0===e&&(e=1,t=0,menuContainer.append("#account"),search.insertBefore($(".menu-toggle"))):0===t&&(e=0,t=1,header.find(".container").append("#account"),search.insertAfter(menuContainer)),i.matches?mobileButton.attr("aria-hidden","false"):mobileButton.attr("aria-hidden","true"),i.matches||$("body").hasClass("nav-open")&&(body.classList.remove("lock-position","nav-open","niv2-open"),mobileButton.attr("aria-expanded","false"))}),i.matches&&mobileButton.attr("aria-hidden","false"),n.matches&&(e=1,t=0,menuContainer.append("#account"),search.insertBefore($(".menu-toggle")))},accordionMainMenu=function(){const i=mainMenu.find(".bloc--accordion button[aria-expanded]");i.on("click",function(e,t=!0){var n=i.not($(this));t&&n.trigger("click",!1)})};const sticky=header.offset();let stickyHeader=function(){window.scrollY>(void 0!==sticky?sticky.top:0)?($("body").find("#header").addClass("sticky"),$("body").addClass("is-sticky")):($("body").find("#header").removeClass("sticky"),$("body").removeClass("is-sticky"))},blocSearch=$(".events--search"),stickyS,stickySearch=(0<blocSearch.length&&(stickyS=blocSearch.offset().top,blocSearch.next(".events--search-shadow").height(blocSearch.outerHeight())),function(){window.scrollY>stickyS-header.height()?blocSearch.addClass("sticky"):blocSearch.removeClass("sticky")}),YoutubeVideo=function(){let e;function s(){var e=window.orejime&&window.orejime.internals?window.orejime.internals.manager:null;return e&&!0===e.getConsent("youtube")}function a(){document.querySelectorAll(".youtube-video").forEach(function(e){var t=e.querySelector(".thumb");let n=t?t.querySelector(".layer"):null;t&&!e.querySelector("iframe")&&(e=!s(),t.classList.toggle("youtube-consent-required",e),!n&&e&&((n=document.createElement("div")).className="layer youtube-consent-layer",t.appendChild(n)),n)&&(n.classList.toggle("youtube-consent-required",e),e&&!n.querySelector(".youtube-consent-message")?((t=document.createElement("p")).className="youtube-consent-message",t.setAttribute("role","alert"),t.textContent=localization.getLabel("youtube.consentMessage"),n.prepend(t)):e||((t=n.querySelector(".youtube-consent-message"))&&t.remove(),n.classList.contains("youtube-consent-layer")&&n.remove()))})}function t(){!e&&window.orejime&&window.orejime.internals&&window.orejime.internals.manager&&(e={update:function(e,t){"consents"===t&&a()}},window.orejime.internals.manager.watch(e),a())}a(),t();const n=window.setInterval(function(){t(),e&&window.clearInterval(n)},100);document.querySelectorAll(".youtube-video").forEach(function(i){const o=i.querySelector(".thumb");o&&(window.innerWidth<992&&(o.style.height=i.offsetHeight+"px"),o.addEventListener("click",function(e){var t,n;s()?(t=document.createElement("iframe"),n=i.dataset.embed,t.setAttribute("frameborder","0"),t.setAttribute("allowfullscreen",""),t.setAttribute("src","https://www.youtube-nocookie.com/embed/"+n+"?autohide=1&controls=1&enablejsapi=1&autoplay=1"),t.setAttribute("width",i.dataset.width||"900"),t.setAttribute("height",i.dataset.height||"600"),i.appendChild(t),o.remove()):(a(),e.preventDefault(),window.orejime&&"function"==typeof window.orejime.show&&window.orejime.show())}))}),window.addEventListener("resize",function(){window.innerWidth<992&&document.querySelectorAll(".youtube-video").forEach(function(e){var t=e.querySelector(".thumb");t&&(t.style.height=e.offsetHeight+"px")})})},carouselImgFunc=function(){0<$(".bloc--carrousel-img .bloc--carrousel-container").length&&$(".bloc--carrousel-img .bloc--carrousel-container").each(function(){var e={container:this,items:1,slideBy:"page",mouseDrag:!0,swipeAngle:15,lazyload:!0,speed:400,nav:!1,navPosition:"bottom",navContainer:$(this).parents(".bloc--carrousel-img").find(".tns-nav").get(0),controlsPosition:"bottom",controlsText:["",""],responsive:{992:{nav:!0}},onInit(e){ajustTnsFunc(e)}};0<$(".news-single").length&&(e.autoHeight=!0,e.lazyload=!1),tns(e).events.on("indexChanged",ajustTnsIndexChangedFunc)})},carouselCardsBisFunc=function(){0<$(".bloc--carrousel-cards").length&&tns({container:".bloc--carrousel-cards-container",items:1,slideBy:1,gutter:0,loop:!0,mouseDrag:!0,swipeAngle:15,center:!0,lazyload:!0,speed:800,nav:!1,navPosition:"bottom",controls:!0,controlsPosition:"bottom",controlsText:["",""],responsive:{992:{}},onInit(e){ajustTnsFunc(e)}}).events.on("indexChanged",ajustTnsIndexChangedFunc)},carouselHomeCommunautesFunc=function(){0<$(".home--communautes").length&&tns({container:".home--communautes .home--communautes-carrousel",items:1,slideBy:1,loop:!0,mouseDrag:!0,swipeAngle:15,center:!0,lazyload:!0,speed:400,nav:!0,navPosition:"bottom",navContainer:".home--communautes-container-nav",controlsPosition:"bottom",controlsText:["",""],arrowKeys:!1,responsive:{992:{}},onInit(e){ajustTnsFunc(e)}}).events.on("indexChanged",ajustTnsIndexChangedFunc)},carouselNewsHomeFunc=function(){var e;0<$(".news--home .news--home-container").length&&((e=tns({container:".news--home .news--home-container",items:1,slideBy:1,gutter:0,loop:!0,mouseDrag:!0,swipeAngle:15,center:!0,lazyload:!0,speed:500,nav:!1,navPosition:"bottom",controls:!0,controlsPosition:"bottom",controlsText:["",""],onInit(e){ajustTnsFunc(e)}})).events.on("indexChanged",ajustTnsIndexChangedFunc),991<$(window).width()&&e.isOn&&e.destroy(),$(window).on("resize orientationchange",function(){991<$(window).width()?e.isOn&&e.destroy():e.isOn||(e=e.rebuild())}))},carouselNewsLatestFunc=function(){0<$(".news--latest .news--latest-carrousel").length&&tns({container:".news--latest .news--latest-carrousel",items:1,slideBy:"page",loop:!1,mouseDrag:!0,swipeAngle:15,center:!0,lazyload:!0,speed:400,nav:!1,controlsPosition:"bottom",controlsText:["",""],responsive:{992:{fixedWidth:390,gutter:30,center:!1}},onInit(e){ajustTnsFunc(e)}}).events.on("indexChanged",ajustTnsIndexChangedFunc)},carouselNewsCarrouselFunc=function(){0<$(".news--carrousel .news--carrousel-container").length&&tns({container:".news--carrousel .news--carrousel-container",items:1,slideBy:1,loop:!0,mouseDrag:!0,swipeAngle:15,lazyload:!0,speed:400,nav:!1,controlsPosition:"bottom",controlsText:["",""],responsive:{992:{items:3,gutter:30,center:!1}},onInit(e){ajustTnsFunc(e)}}).events.on("indexChanged",ajustTnsIndexChangedFunc)},carouselEventsLatestFunc=function(){0<$(".events--latest .events--latest-carrousel").length&&tns({container:".events--latest .events--latest-carrousel",items:1,slideBy:"page",loop:!1,mouseDrag:!0,swipeAngle:15,center:!0,lazyload:!0,speed:400,nav:!0,navPosition:"bottom",controlsText:["",""],responsive:{992:{fixedWidth:390,gutter:30,center:!1}},onInit(e){ajustTnsFunc(e)}}).events.on("indexChanged",ajustTnsIndexChangedFunc)},carouselEventsOthersFunc=function(){0<$(".events--others .events--results").length&&$(".events--others .events--results").each(function(){tns({container:this,items:1,slideBy:"page",gutter:0,loop:!1,mouseDrag:!0,swipeAngle:15,center:!0,lazyload:!0,speed:500,nav:!1,navPosition:"bottom",controls:!0,controlsPosition:"bottom",controlsText:["",""],responsive:{992:{items:3,gutter:30,center:!1}},onInit(e){ajustTnsFunc(e)}}).events.on("indexChanged",ajustTnsIndexChangedFunc)})},carouselEventsNextSessionFormationFunc=function(){0<$(".events--formation-nextSession .events--formation-nextSession-carrousel").length&&tns({container:".events--formation-nextSession .events--formation-nextSession-carrousel",items:1,slideBy:1,loop:!1,mouseDrag:!0,swipeAngle:15,center:!0,lazyload:!0,speed:400,nav:!1,controlsText:["",""],responsive:{992:{}},onInit(e){ajustTnsFunc(e)}}).events.on("indexChanged",ajustTnsIndexChangedFunc)},carouselEventsNextSessionEventFunc=function(){var e;0<$(".events--events-nextSession .events--events-nextSession-container").length&&((e=tns({container:".events--events-nextSession .events--events-nextSession-container",items:1,slideBy:1,gutter:30,loop:!1,mouseDrag:!0,swipeAngle:15,center:!0,lazyload:!0,speed:500,nav:!1,navPosition:"bottom",controls:!0,controlsPosition:"bottom",controlsText:["",""],onInit(e){ajustTnsFunc(e)}})).events.on("indexChanged",ajustTnsIndexChangedFunc),991<$(window).width()&&e.isOn&&e.destroy(),$(window).on("resize orientationchange",function(){991<$(window).width()?e.isOn&&e.destroy():e.isOn||(e=e.rebuild())}))},carouselCardsFunc=function(){0<$(".bloc--cards .bloc--cards-carrousel").length&&tns({container:".bloc--cards .bloc--cards-carrousel",items:1,slideBy:1,gutter:0,loop:!1,mouseDrag:!0,swipeAngle:15,center:!0,lazyload:!0,autoHeight:!0,speed:800,nav:!1,navPosition:"bottom",controls:!0,controlsContainer:".bloc--cards .bloc--cards-controls",controlsText:["",""],responsive:{992:{fixedWidth:600,center:!1,gutter:20,autoHeight:!1},1300:{fixedWidth:800,center:!1,gutter:25}},onInit(e){ajustTnsFunc(e)}}).events.on("indexChanged",ajustTnsIndexChangedFunc)},carouselLogicielsFunc=function(){0<$(".logiciels--carrousel").length&&tns({container:".logiciels--carrousel-container",items:1,slideBy:1,gutter:0,loop:!1,mouseDrag:!0,swipeAngle:15,center:!0,lazyload:!0,speed:800,nav:!1,navPosition:"bottom",controls:!0,controlsPosition:"bottom",controlsText:["",""],responsive:{992:{fixedWidth:275}}
14,onInit:function(e){$(e.slideItems[e.index]).addClass("tns-slide-current"),$(e.slideItems[e.index]).prev().addClass("tns-slide-prev").removeClass("tns-slide-active").attr("tabindex","-1").attr("aria-hidden","true"),$(e.slideItems[e.index]).next().addClass("tns-slide-next").removeClass("tns-slide-active").attr("tabindex","-1").attr("aria-hidden","true"),ajustTnsFunc(e)}}).events.on("indexChanged",function(e){$(e.slideItems).removeClass("tns-slide-next tns-slide-prev tns-slide-current"),$(e.slideItems[e.index]).addClass("tns-slide-current tns-slide-active"),$(e.slideItems[e.index]).prev().addClass("tns-slide-prev").removeClass("tns-slide-active").attr("tabindex","-1").attr("aria-hidden","true"),$(e.slideItems[e.index]).next().addClass("tns-slide-next").removeClass("tns-slide-active").attr("tabindex","-1").attr("aria-hidden","true"),ajustTnsIndexChangedFunc(e)})},carouselLogicielsLatestFunc=function(){if(0<$(".logiciels--latest").length){let t=[];$(".logiciels--latest-container").each(function(e){t[e]=tns({container:this,items:1,slideBy:1,gutter:0,loop:!1,mouseDrag:!0,swipeAngle:15,center:!0,lazyload:!0,speed:800,nav:!1,navPosition:"bottom",controls:!0,controlsPosition:"bottom",controlsText:["",""],responsive:{992:{fixedWidth:275}},onInit:function(e){$(e.slideItems[e.index]).addClass("tns-slide-current"),$(e.slideItems[e.index]).prev().addClass("tns-slide-prev").removeClass("tns-slide-active").attr("tabindex","-1").attr("aria-hidden","true"),$(e.slideItems[e.index]).next().addClass("tns-slide-next").removeClass("tns-slide-active").attr("tabindex","-1").attr("aria-hidden","true"),ajustTnsFunc(e)}}),t[e].events.on("indexChanged",function(e){$(e.slideItems).removeClass("tns-slide-next tns-slide-prev tns-slide-current"),$(e.slideItems[e.index]).addClass("tns-slide-current tns-sli
14de-active"),$(e.slideItems[e.index]).prev().addClass("tns-slide-prev").removeClass("tns-slide-active").attr("tabindex","-1").attr("aria-hidden","true"),$(e.slideItems[e.index]).next().addClass("tns-slide-next").removeClass("tns-slide-active").attr("tabindex","-1").attr("aria-hidden","true"),ajustTnsIndexChangedFunc(e)}),1500<=$(window).width()&&t[e].isOn&&t[e].destroy(),$(window).on("resize orientationchange",function(){1500<=$(window).width()?t[e].isOn&&t[e].destroy():t[e].isOn||(t[e]=t[e].rebuild(),t[e].events.on("indexChanged",function(e){$(e.slideItems).removeClass("tns-slide-next tns-slide-prev tns-slide-current"),$(e.slideItems[e.index]).addClass("tns-slide-current tns-slide-active"),$(e.slideItems[e.index]).prev().addClass("tns-slide-prev").removeClass("tns-slide-active").attr("tabindex","-1").attr("aria-hidden","true"),$(e.slideItems[e.index]).next().addClass("tns-slide-next").removeClass("tns-slide-active").attr("tabindex","-1").attr("aria-hidden","true"),ajustTnsIndexChangedFunc(e)}))})})}},carouselFiguresFunc=function(){var e;0<$(".bloc--figures .bloc--figures-container").length&&((e=tns({container:".bloc--figures .bloc--figures-container",items:1,slideBy:1,gutter:0,loop:!0,mouseDrag:!0,swipeAngle:15,center:!0,lazyload:!0,speed:500,nav:!1,navPosition:"bottom",controls:!0,controlsPosition:"bottom",controlsText:["",""],onInit(e){ajustTnsFunc(e)}})).events.on("indexChanged",ajustTnsIndexChangedFunc),991<$(window).width()&&e.isOn&&e.destroy(),$(window).on("resize orientationchange",function(){991<$(window).width()?e.isOn&&e.destroy():e.isOn||(e=e.rebuild())}))},carouselSolutionsFunc=function(){var e;0<$("body:not(.extra) .bloc--solutions .bloc--solutions-container").length&&((e=tns({container:".bloc--solutions .bloc--solutions-container",items:1,slideBy:1,gutter:0,loop:!0,mouseDrag:!0,swipeAngle:15,center:!0,lazyload:!0,speed:500,nav:!1,navPosition:"bottom",controls:!0,controlsPosition:"bottom",controlsText:["",""],onInit(e){ajustTnsFunc(e)}})).events.on("indexChanged",ajustTnsIndexChangedFunc),991<$(window).width()&&e.isOn&&e.destroy(),$(window).on("resize orientationchange",function(){991<$(window).width()?e.isOn&&e.destroy():e.isOn||(e=e.rebuild())}))},AirDatepickerInit=function(){if(0<document.querySelectorAll(".form-control-date").length){const t={days:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],daysShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],daysMin:["Di","Lu","Ma","Me","Je","Ve","Sa"],months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthsShort:["Jan","Fév","Mars","Avr","Mai","Juin","Juil","Août","Sep","Oct","Nov","Dec"],today:"Aujourd'hui",clear:"Effacer",dateFormat:"dd/MM/yyyy",timeFormat:"HH:mm",firstDay:1},l=function(e){var t,n,i,e=e.trim().match(/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/);return!e||(t=Number(e[1]),n=Number(e[2]),e=Number(e[3]),(i=new Date(e,n-1,t)).getFullYear()!==e)||i.getMonth()!==n-1||i.getDate()!==t?null:i},c=new WeakMap,n=new WeakSet,u=function(e,t=!1){const n=c.get(e);var i=e.value.trim();if(i){const o=l(i);if(!o)return e.setCustomValidity("Veuillez saisir une date au format JJ/MM/AAAA."),e.setAttribute("aria-invalid","true"),!1;if(e.setCustomValidity(""),e.removeAttribute("aria-invalid"),t){const s=e.value,a=e.selectionStart,r=e.selectionEnd;i=n.opts.autoClose,t=(n.opts.autoClose=!1,n.selectDate(o,{silent:!0}));n.setViewDate(o),n.opts.autoClose=i,Promise.resolve(t).then(function(){e.value!==s&&e.value===n.formatDate(o,n.locale.dateFormat)&&(e.value=s,document.activeElement===e)&&null!==a&&null!==r&&e.setSelectionRange(a,r)})}else n.selectDate(o)}else n.clear({silent:!0}),e.setCustomValidity(""),e.removeAttribute("aria-invalid");return!0};$(".form-control-date").each(function(){const r=this;var e=new AirDatepicker(r,{dateFormat:"dd/MM/yyyy",locale:t,position:"bottom center",autoClose:!0,onSelect:function(){r.setCustomValidity(""),r.removeAttribute("aria-invalid")}});c.set(r,e),r.addEventListener("input",function(){var e,t,n,i=r.value,o=r.selectionStart??i.length,s=i.slice(0,o).replace(/\D/g,"").length,a=(o=i).includes("/")?(e=(n=o.split("/"))[0].replace(/\D/g,""),t=n[1]?n[1].replace(/\D/g,""):"",2===n.length&&e.length<=2&&2<t.length?e+"/"+t.slice(0,2)+"/"+t.slice(2,6):o):4<(n=o.replace(/\D/g,"").slice(0,8)).length?n.slice(0,2)+"/"+n.slice(2,4)+"/"+n.slice(4):2<n.length?n.slice(0,2)+"/"+n.slice(2):n;if(i!==a){r.value=a;let e=0,t=0;for(;e<a.length&&t<s;)/\d/.test(a[e])&&t++,e++;r.setSelectionRange(e,e)}/^\d{2}\/\d{2}\/\d{4}$/.test(r.value)&&l(r.value)&&u(r,!0)}),r.addEventListener("change",function(){u(r)}),r.value&&u(r),r.form&&!n.has(r.form)&&(n.add(r.form),r.form.addEventListener("submit",function(e){let t=!0;r.form.querySelectorAll(".form-control-date").forEach(function(e){t=u(e)&&t}),t||e.preventDefault()}))})}},filterSelect=function(){$(document).on("click",function(e){e.target.closest(".filters--select")||($(".filters--select").removeClass("open"),$(".filters--select >
14 button").attr("aria-expanded","false"))}),$(".filters--select > button").on("click",function(){var e=$(this).parent();$(".filters--select").not(e).removeClass("open"),$(".filters--select").not(e).find("button").attr("aria-expanded","false"),"true"===$(this).attr("aria-expanded")?($(this).attr("aria-expanded","false"),e.removeClass("open")):($(this).attr("aria-expanded","true"),e.find("ul a").first().trigger("focus"),e.addClass("open"))}).on("focusout",function(e){e.relatedTarget&&e.relatedTarget.closest(".filters--select")!==e.currentTarget.closest(".filters--select")&&($(".filters--select").removeClass("open"),$(".filters--select > button").attr("aria-expanded","false"))}),$(".filters--select > ul a").on("focusout",function(e){e.relatedTarget&&null===e.relatedTarget.closest("ul")&&($(".filters--select").removeClass("open"),$(".filters--select > button").attr("aria-expanded","false"))})},links=document.querySelectorAll(".bloc--anchor-menu li");const anchorlinks=document.querySelectorAll(".bloc--anchor-menu li a"),sections=[];for(var i=0;i<anchorlinks.length;i++){let e=document.querySelector("[id="+anchorlinks[i].hash.split("#")[1]+"]");e&&null!=e.nextElementSibling.offsetParent?sections.push(e):links[i].remove()}0<!(links=document.querySelectorAll(".bloc--anchor-menu li")).length&&$(".bloc--anchor-menu").remove();let changeLinkState=function(){if(0<links.length)if(window.scrollY-200<sections[0].offsetTop)links.forEach(function(e){e.querySelector("a").classList.remove("active"),e.querySelector("a").removeAttribute("aria-current")});else{let e=sections.length;for(;--e&&window.scrollY-200<sections[e].offsetTop;);links.forEach(function(e){e.querySelector("a").classList.remove("active"),e.querySelector("a").removeAttribute("aria-current")}),links[e].querySelector("a").classList.add("active"),links[e].querySelector("a").setAttribute("aria-current","page")}},anchorsLinks=function(){if(location.hash){var t=$(location.hash);let e=$(location.hash).offset().top-160;$("main").find("bloc--anchor-menu")&&(e-=60),0<t.parents(".bloc--accordion").length&&(t.parents(".bloc--accordion-item").find(".bloc--accordion-item-header button").trigger("click"),e=t.parents(".bloc--accordion-item").offset().top-160,$("main").find("bloc--anchor-menu"))&&(e-=60),0<t.siblings(".events--search").length&&(window.scrollTo(0,window.scrollY),e=t.siblings(".events--search").offset().top-$("#header").height(),$(".results-count").trigger("focus")),0<t.siblings(".membres--search").length&&(window.scrollTo(0,window.scrollY),e=t.siblings(".membres--search").offset().top-$("#header").height(),$(".results-count").trigger("focus")),0<t.siblings(".search--search").length&&(window.scrollTo(0,window.scrollY),e=t.siblings(".search--search").offset().top-$("#header").height(),$(".results-count").trigger("focus")),setTimeout(()=>{window.scrollTo({top:e,behavior:"smooth"})},"50")}};function blocCardsAlignSpe(){$(".bloc--cards").each(function(){$(this).prevUntil(".bloc--full-width").length<=1&&$(this).prevAll(".bloc--full-width").addClass("align-spe")})}
14let InfosBoxPosition=function(){var e=$(".events--details"),t=e.find(".sidebar"),n=(e.find(".events--details-objectifs").innerHeight()??0)+100+(t.find(".infos-box-header").innerHeight()?t.find(".infos-box-header").innerHeight():100);0<e.length&&(t.css("margin-top","-"+n),$(body).hasClass("extra"))&&t.css("margin-top","-"+((t.find(".infos-box-header").innerHeight()?t.find(".infos-box-header").innerHeight():100)+120))},membresMap=function(){$(".membres--liste .membres--results .membres--item").on("mouseover",function(){$('.membres--liste .membres--map .pin[data-membre="'+$(this).attr("data-uid")+'"]').addClass("active")}).on("mouseout",function(){$('.membres--liste .membres--map .pin[data-membre="'+$(this).attr("data-uid")+'"]').removeClass("active")}),$(".membres--liste .membres--results .membres--item a").on("focusin",function(){$('.membres--liste .membres--map .pin[data-membre="'+$(this).parents(".membres--item").attr("data-uid")+'"]').addClass("active")}).on("focusout",function(){$('.membres--liste .membres--map .pin[data-membre="'+$(this).parents(".membres--item").attr("data-uid")+'"]').removeClass("active")})},membresScroll=function(){if(0<$(".membres--liste").length){const t=$(".membres--liste .membres--results .membres--item").first().offset().top,n=$(".membres--liste .membres--results .membres--item").last().offset().top-window.innerHeight,i=$(".membres--liste .membres--results .back-to-top");let e="";e=0<$(".membres--search").length?$(".membres--search").offset().top-$("#header").height():$(".membres--liste").offset().top-$("#header").height(),i.on("click",function(){window.scrollTo({top:e,behavior:"smooth"})}),$(document).on("scroll",function(){window.scrollY>t&&window.scrollY<n?i.addClass("visible"):i.removeClass("visible")})}},acteursFunc=function(){if(null!==document.querySelector(".acteurs--liste")){const s={domaines:new Set,types:new Set,keywords:new Set},t=document.querySelectorAll(".acteurs--item");let e=document.getElementById("acteurs-live-counter");function n(){let o=0;t.forEach(e=>{var t=e.getAttribute("data-domaine").split(","),n=e.getAttribute("data-type"),i=e.getAttribute("data-keywords").split(","),t=0===s.domaines.size||t.some(e=>s.domaines.has(e)),n=0===s.types.size||s.types.has(n),i=0===s.keywords.size||i.some(e=>s.keywords.has(e));t&&n&&i?(e.classList.remove("hidden"),e.removeAttribute("aria-hidden"),o++):(e.classList.add("hidden"),e.setAttribute("aria-hidden","true"))}),0===o?e.textContent="Aucun acteur ne correspond à votre recherche.":1===o?e.textContent="1 acteur correspond à votre recherche.":e.textContent=o+" acteurs correspondent à votre recherche."}e||((e=document.createElement("div")).id="acteurs-live-counter",e.className="sr-only",e.setAttribute("aria-live","polite"),document.querySelector(".acteurs--liste").appendChild(e)),document.querySelectorAll(".filters--domaine .tag").forEach(e=>{e.addEventListener("click",function(e){var t=this.getAttribute("data-filter-domaine");s.domaines.has(t)?(s.domaines.delete(t),this.classList.remove("selected"),this.setAttribute("aria-pressed","false"),this.blur()):(s.domaines.add(t),this.classList.add("selected"),this.setAttribute("aria-pressed","true")),n()})}),null!==document.querySelector("#filterType")&&document.querySelector("#filterType").addEventListener("change",function(){var e=this.options[this.selectedIndex].getAttribute("data-filter-type");s.types.clear(),e&&s.types.add(e),n()}),null!==document.querySelector("#select-keywords")&&document.querySelector("#select-keywords").addEventListener("change",function(){s.keywords.clear(),Array.from(this.selectedOptions).forEach(e=>{s.keywords.add(e.getAttribute("data-filter-keywords"))}),n()})}},extraFunc=function(){function e(i){let o=i.data("start"),s=i.data("end");$("form fieldset.date-range input[type=radio][data-start][data-end]").each(function(){var e=$
14(this),t=e.data("start"),n=e.data("end");!0===i.prop("checked")&&i.attr("name")!==e.attr("name")&&s>t&&o<n?(e.prop("disabled",!0),e.data("error",!0),e.next("label").append(' <span class="error-date"><strong>(Horaire incompatible)</strong></span>')):i.attr("name")!==e.attr("name")&&e.attr("data-error")&&(e.prop("disabled",!1),e.removeAttr("data-error"),e.next("label").find("span.error-date").remove())})}$("body").hasClass("extra")&&($("#account > button").on("click",function(){"true"===$("#menu-extranet-container").attr("data-open")&&$(".menu-toggle-extra-button").trigger("click")}),document.addEventListener("mouseup",function(e){var t=document.getElementById("header");null===t||t.contains(e.target)||"true"!==$("#menu-extranet-container").attr("data-open")||$(".menu-toggle-extra-button").trigger("click")}),0<$("form fieldset.date-range").length&&($("form fieldset.date-range input[type=radio][data-start][data-end]").on("change",function(){e($(this))}),$("form fieldset.date-range input[type=radio][data-start][data-end]:checked").each(function(){e($(this))}),$("form fieldset.date-range").on("click","input[type=radio]:checked:not([disabled]) + label",function(e){e.preventDefault(),$(this).prev("input[type=radio]").prop("checked",!1).trigger("change")})),$(".services--liste .open-all").on("click",function(e){e.preventDefault(),$(this).parents(".services--liste").find(".bloc--accordion-item button").each(function(){"false"===$(this).attr("aria-expanded")&&$(this).trigger("click")})}))};$(window).on("load",function(){let t,n=[];$(".lq-img[data-bg-hd]").each(function(e){n[e]=$(this),(t=new Image).src=n[e].data("bg-hd"),t.onload=function(){n[e].css("background-image","url("+n[e].data("bg-hd")+")")}});for(var e=document.querySelectorAll(".bloc--tabs [role=tablist]"),i=0;i<e.length;i++)new TabsManual(e[i]);var o=document.querySelectorAll("select[data-select-a11y]");Array.prototype.map.call(o,function(e){return new Select(e)})}),$(document).ready(function(){matchHeight(".events--results > .item--formation"),matchHeight(".events--latest .item--formation"),matchHeight(".events--formation-nextSession-carrousel .item--formation"),matchHeight(".news--results .news--item"),document.querySelectorAll(".bloc--accordion .bloc--accordion-item").forEach(e=>{new Accordion(e)}),0<mainMenu.length&&new NavActions(document.querySelector("#main-menu")),null===document.querySelector("button.menu-toggle-button")&&null===document.querySelector("button.menu-toggle-extra-button")||new NavMobileActions(document.querySelector("button.menu-toggle-button")??document.querySelector("button.menu-toggle-extra-button")),rgaaInit(),disableHoverOnScroll(),backToTop(),reloadAnchors(),YoutubeVideo(),mobileMenuFunc(),accordionMainMenu(),carouselImgFunc(),carouselCardsBisFunc(),carouselHomeCommunautesFunc(),carouselNewsHomeFunc(),carouselNewsLatestFunc(),carouselNewsCarrouselFunc(),carouselEventsLatestFunc(),carouselEventsOthersFunc(),carouselEventsNextSessionFormationFunc(),carouselEventsNextSessionEventFunc(),carouselCardsFunc(),carouselLogicielsFunc(),carouselLogicielsLatestFunc(),carouselFiguresFunc(),carouselSolutionsFunc(),AirDatepickerInit(),filterSelect(),changeLinkState(),anchorsLinks(),blocCardsAlignSpe(),InfosBoxPosition(),membresMap(),membresScroll(),jsCardLink(),acteursFunc(),extraFunc()}),$(document).on("scroll",function(){stickyHeader(),changeLinkState()}),$(window).on("resize orientationchange",function(){matchHeight(".events--results > .item--formation"),matchHeight(".events--latest .item--formation"),matchHeight(".events--formation-nextSession-carrousel .item--formation"),matchHeight(".news--results .news--item")});var timer,body=document.body;

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.