;
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){!function(){var e=document.querySelector(".breadcrumbs");if(e){var r=function(){var r=e.querySelectorAll(".breadcrumbs__item"),i=e.querySelector(".last");if(r.length>2){var n=document.createElement("span"),t=r[0].nextSibling;for(i.classList.add("last-separator"),n.innerHTML='<i class="icon-dropdown hidden-icon"></i>',n.classList.add("hidden"),n.style.width="1.5rem";t&&t!==i;){var d=t.nextSibling;n.appendChild(t),t=d}e.insertBefore(n,i),n.addEventListener("click",(function r(i){i.preventDefault(),n.style.minWidth=Array.from(n.children).reduce((function(e,r){return e+r.offsetWidth}),0)+"px",n.classList.add("active"),e.querySelector(".hidden-icon").remove(),n.removeEventListener("click",r)}))}};window.innerWidth<=576&&r(),window.addEventListener("resize",(function(){if(window.innerWidth<=576&&!e.querySelector(".hidden"))r();else if(window.innerWidth>576){var i=e.querySelector(".hidden");if(i){for(var n=i.parentNode;i.firstChild;)n.insertBefore(i.firstChild,i);n.removeChild(i),e.querySelector(".hidden-icon")&&e.querySelector(".hidden-icon").remove(),e.querySelector(".last-separator").classList.remove("last-separator")}}}))}}()}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){window.customScrollbar=function(t,o){var e=window.innerWidth;function n(){var e=document.querySelectorAll(t);e.forEach((function(e){var n=e.querySelector(o),l=e.querySelector(".custom-vertical-scroll"),i=e.querySelector(".custom-horizontalal-scroll");e.classList.remove("with-scroll"),l&&l.remove(),i&&i.remove(),window.requestAnimationFrame((function(){n.scrollHeight>n.clientHeight&&(e.classList.add("with-scroll"),e.insertAdjacentHTML("beforeend",'\n            <div class="custom-vertical-scroll">\n                <div class="scroll-button scroll-top icon-dropdown icomoon"></div>\n                <div class="track-and-thumb-wrap">\n                    <div class="scroll-track"></div>\n                    <div class="scroll-thumb"></div>\n                </div>\n                <div class="scroll-button scroll-bottom icon-dropdown icomoon"></div>\n            </div>'),function(o){var e=o.closest(t),n=e.querySelector(".custom-vertical-scroll .scroll-track"),l=e.querySelector(".custom-vertical-scroll .scroll-thumb"),i=e.querySelectorAll(".scroll-button"),r=20,c=null,s=0,d=!1;function a(){var t=n.clientHeight,e=o.clientHeight,i=o.scrollHeight;r=Math.max(e/i*t,20),l.style.height=r+"px"}function u(t){var e=o.scrollTop,n=o.scrollHeight,l=o.offsetHeight,i="up"===t?-200:200;return e+i>=n-l&&"up"!==t?(o.scrollTo({top:n-l,behavior:"smooth"}),void g()):e+i<0&&"up"===t?(o.scrollTo({top:"0",behavior:"smooth"}),void g()):void o.scrollBy({top:i,behavior:"smooth"})}function v(t){t.preventDefault(),t.stopPropagation();var e=(t.clientY-n.getBoundingClientRect().top+-r/2)/n.clientHeight,l=Math.floor(e*o.scrollHeight);o.scrollTo({top:l,behavior:"smooth"})}function h(){var t=o.scrollTop,e=o.scrollHeight,i=n.clientHeight,c=t/e*i;c=Math.min(c,i-r),l.style.top=c+"px",g()}function f(t){t.preventDefault(),t.stopPropagation(),c=t.clientY,s=o.scrollTop,d=!0}function p(t){t.preventDefault(),t.stopPropagation(),d&&(d=!1)}function m(t){if(t.preventDefault(),t.stopPropagation(),d){var e=o.scrollHeight,n=o.offsetHeight,l=(t.clientY-c)*(n/r),i=Math.min(s+l,e-n);o.scrollTop=i}}function g(){var t=o.scrollTop,e=o.scrollHeight,n=o.offsetHeight;i[0].classList.toggle("no-scroll",0===t),i[1].classList.toggle("no-scroll",t+n+.8>=e)}a(),o.addEventListener("scroll",h),n.addEventListener("click",v),l.addEventListener("mousedown",f),l.addEventListener("mouseup",p),i[0].addEventListener("click",(function(){return u("up")})),i[1].addEventListener("click",(function(){return u("down")})),g(),window.addEventListener("mousemove",m),window.addEventListener("mouseup",p),window.addEventListener("resize",a)}(n)),n.scrollWidth>n.clientWidth&&(e.classList.add("with-scroll"),e.insertAdjacentHTML("beforeend",'\n            <div class="custom-horizontal-scroll">\n                <div class="scroll-button scroll-left icon-dropdown icomoon"></div>\n                <div class="track-and-thumb-wrap">\n                    <div class="scroll-track"></div>\n                    <div class="scroll-thumb"></div>\n                </div>\n                <div class="scroll-button scroll-right icon-dropdown icomoon"></div>\n            </div>'),function(o){var e=o.closest(t),n=e.querySelector(".custom-horizontal-scroll .scroll-track"),l=e.querySelector(".custom-horizontal-scroll .scroll-thumb"),i=e.querySelectorAll(".scroll-button"),r=20,c=null,s=0,d=!1;function a(){var t=n.clientWidth,e=o.clientWidth,i=o.scrollWidth;r=Math.max(e/i*t,20),l.style.width=r+"px"}function u(t){var e="left"===t?-200:200;o.scrollBy({left:e,behavior:"smooth"})}function v(t){t.preventDefault(),t.stopPropagation();var e=(t.clientX-n.getBoundingClientRect().left+-r/2)/n.clientWidth,l=Math.floor(e*o.scrollWidth);o.scrollTo({left:l,behavior:"smooth"})}function h(){var t=o.scrollLeft,e=o.scrollWidth,i=n.clientWidth,c=t/e*i;c=Math.min(c,i-r),l.style.left=c+"px"}function f(t){t.preventDefault(),t.stopPropagation(),c=t.clientX,s=o.scrollLeft,d=!0}function p(t){t.preventDefault(),t.stopPropagation(),d&&(d=!1)}function m(t){if(t.preventDefault(),t.stopPropagation(),d){var e=o.scrollWidth,n=o.offsetWidth,l=(t.clientX-c)*(n/r),i=Math.min(s+l,e-n);o.scrollLeft=i}}a(),o.addEventListener("scroll",h),n.addEventListener("click",v),l.addEventListener("mousedown",f),l.addEventListener("mouseup",p),2===i.length?(i[0].addEventListener("click",(function(){return u("left")})),i[1].addEventListener("click",(function(){return u("right")}))):4==i.length&&(i[2].addEventListener("click",(function(){return u("left")})),i[3].addEventListener("click",(function(){return u("right")})));window.addEventListener("mousemove",m),window.addEventListener("mouseup",p),window.addEventListener("resize",a)}(n))}))}))}window.addEventListener("resize",(function(){e!==window.innerWidth&&(e=window.innerWidth,n())})),n()}}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){function e(e){var t=e.querySelectorAll(".services__table-content"),r=e.querySelectorAll(".services__table");function c(){var c=e.querySelector(".services__title").clientWidth/826,o=860*c-810;t.forEach((function(e){e.style.transform="scale(".concat(c,")")})),r.forEach((function(e){var t=e.querySelector(".services__dropdown");t&&(t.style.margin="".concat(o,"px 0 0 0"))}))}window.innerWidth<=576&&c(),window.addEventListener("resize",(function(){window.innerWidth<=576?c():(t.forEach((function(e){e.style.transform="unset"})),r.forEach((function(e){var t=e.querySelector(".services__dropdown");t&&(t.style.margin="0")})))}))}document.querySelectorAll(".services").forEach((function(t){!function(e){e.querySelectorAll(".services__dropdown").forEach((function(e){var t=e.querySelector('[data-dropdown="trigger"]');t.addEventListener("click",(function(){t.classList.toggle("active"),e.querySelector('[data-dropdown="content"]').classList.toggle("active"),setTimeout((function(){customScrollbar(".services__dropdown-text",".services__dropdown-scroll")}),400)}))}))}(t),function(e){var t=e.querySelectorAll(".services__tabs-tab"),r=e.querySelectorAll(".services__table");function c(e,t){e.forEach((function(e){e.dataset.plan===t?e.classList.add("active"):e.classList.remove("active")}))}t.forEach((function(o){o.addEventListener("click",(function(){var n=o.dataset.plan;c(t,n),c(r,n),customScrollbar(".services__table-content",".services__rows"),e.querySelectorAll("[data-dropdown]").forEach((function(e){return e.classList.remove("active")}))}))}))}(t),e(t)})),customScrollbar(".services__table-content",".services__rows")}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".main-content").forEach((function(e){var n=e.querySelector(".main-content__text"),t=n.querySelector(".main-content__more"),o=n.querySelector(".content__intro"),c=n.querySelector(".content__remaining");t&&c&&t.addEventListener("click",(function(){c.classList.add("expanded"),o.classList.remove("expanded"),t.style.display="none",t.style.display="none"}))}))}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){var e=window.innerWidth;function o(){document.querySelectorAll(".why-choose").forEach((function(o){!function(o){var n=o.querySelector(".why-choose__images"),t=o.querySelector(".why-choose__more");if(e<=576&&o.querySelectorAll(".why-choose__img").length>6&&!t){var i=n.offsetHeight;n.style.height="20.7rem",(t=document.createElement("button")).classList.add("why-choose__more","s3-t"),t.innerHTML=o.classList.contains("fr")?'En savoir plus <i class="icon-dropdown"></i>':'See more <i class="icon-dropdown"></i>',n.parentNode.insertBefore(t,n.nextSibling),t.addEventListener("click",(function(){n.style.height=i+"px",t.remove()}))}else n.style.height="auto",t&&t.remove()}(o)}))}window.addEventListener("resize",(function(){var n=window.innerWidth;n!==e&&(e=n,o())})),o()}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".partners").forEach((function(t){t.querySelectorAll('[data-partners="tab"]').forEach((function(e){e.addEventListener("click",(function(e){return function(t,e){e.querySelectorAll('[data-partners="tab"]').forEach((function(t){return t.classList.remove("active")})),t.currentTarget.classList.add("active"),e.querySelectorAll('[data-partners="info"]').forEach((function(e){e.dataset.partnersId===t.currentTarget.dataset.partnersId?e.classList.add("active"):e.classList.remove("active")}))}(e,t)}))}))}))}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".images-slider").forEach((function(e){var o=new Splide(e,{type:"loop",perPage:3,perMove:1,focus:"center",updateOnMove:!0,autoplay:"pause",intersection:{inView:{autoplay:!0},outView:{autoplay:!1}},interval:3e3,speed:500,arrows:!0,pagination:!0,fixedWidth:"48rem",gap:"11.6rem",breakpoints:{576:{perPage:1,perMove:1,fixedWidth:!1,gap:"3.2rem"}}}).mount(window.splide.Extensions),t=!1;o.on("drag",(function(){t=!0})),o.on("dragged",(function(){t=!1})),o.on("move",(function(){t=!0})),o.on("moved",(function(){t=!1})),setInterval((function(){t?e.querySelectorAll("[data-mark]").forEach((function(e){e.classList.remove("visible"),e.classList.add("move")})):e.querySelectorAll("[data-mark]").forEach((function(e){e.classList.remove("move"),e.classList.add("visible")}))}),50)}))}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".reviews-slider").forEach((function(e){new Splide(e,{type:"loop",perPage:3,perMove:1,arrows:!0,pagination:!0,focus:0,omitEnd:!1,padding:"0.8rem",gap:"3rem",speed:800,breakpoints:{576:{perPage:1,perMove:1,padding:"1.6rem"}}}).mount()}))}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){customScrollbar(".review",".review__text")}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".areas").forEach((function(t){var a,e=t.querySelector(".areas__tabs"),r=Array.from(t.querySelectorAll("[data-tab-content]")),c=t.querySelector(".areas__map"),n=Array.from(t.querySelectorAll("[data-tab]")),o=Array.from(c.querySelectorAll("[data-tab]")),s=c.querySelector(".active-label");function i(t){var a=r.find((function(a){return a.dataset.tabContent===t}));a&&a.classList.add("active"),n.forEach((function(a){a.dataset.tab===t&&a.classList.add("active")})),c.querySelector(".map-pin").id=t,s.id=t,s.innerHTML=e.querySelector("[data-tab=".concat(t,"]")).dataset.tab.replace(/-/g," ")}n.forEach((function(t){if(t.classList.contains("disable")){var a=o.find((function(a){return a.dataset.tab===t.dataset.tab}));a&&a.classList.add("disable")}})),e&&c&&(a="[data-tab]",t.addEventListener("click",(function(t){var e=t.target;e&&e.matches(a)&&(r.forEach((function(t){return t.classList.remove("active")})),n.forEach((function(t){return t.classList.remove("active")})),i(e.dataset.tab))}))),i(t.dataset.activeTab)}))}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){var e=window.innerWidth;window.addEventListener("resize",(function(){e!==window.innerWidth&&(e=window.innerWidth,document.querySelectorAll('[data-faq="question"]').forEach((function(e){var t=e.querySelector('[data-faq="answer"]');e.classList.contains("active")&&(t.style.height="unset",t.style.height=t.scrollHeight+"px")})))})),document.querySelectorAll(".faq").forEach((function(t){t.querySelectorAll('[data-faq="trigger"]').forEach((function(t){t.addEventListener("click",(function(t){var n=t.currentTarget.closest('[data-faq="question"]'),i=t.currentTarget.nextElementSibling;if(n.classList.toggle("active"),n.classList.contains("active")){var r=e<=576?0:8;i.style.height=i.scrollHeight+r+"px"}else i.removeAttribute("style")}))}))}))}))})();