(()=>{function e(){dernieresDynamiquesSwiper.__swiper__}window.addEventListener("DOMContentLoaded",n=>{!function(){const e=document.querySelector(".featured-news-swiper");if(!e)return;const n=e.querySelector(".swiper-pagination-fraction"),t=e.querySelectorAll(".swiper-slide").length;n.textContent=`Article n°1 sur ${t}`,dernieresDynamiquesSwiper=new Swiper(".featured-news-swiper",{slidesPerView:2,spaceBetween:30,loop:!0,grabCursor:!0,keyboard:{enabled:!0,onlyInViewport:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},mousewheel:{enabled:!0,forceToAxis:!0,sensitivity:1,releaseOnEdges:!1},pagination:{el:".swiper-pagination",clickable:!0,renderBullet:function(e,n){return`<button class="${n}"></button>`}},breakpoints:{320:{slidesPerView:1},1100:{slidesPerView:2}},on:{slideChange:e=>{const t=e?.slides?.length;n.textContent=`Article n°${e.realIndex+1} sur ${t}`}}})}(),e(),window.addEventListener("resize",e)})})();