(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){["thanks-form-divider","sorry-form-divider"].forEach((function(e){var t=document.querySelector('[data-popup-name="'.concat(e,'"]'));t&&t.addEventListener("click",(function(o){o.target!==t&&o.target!=t.querySelector('[data-popup-close="'.concat(e,'"]'))||(t.classList.remove("active"),document.documentElement.classList.remove("fixed"))}))}))}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".logos").forEach((function(e){var t=e.querySelectorAll(".logos__item"),r=e.querySelector(".logos__wrap"),n="fr"===document.body.dataset.lang,o=document.createElement("button");function a(t){var r=e.querySelector(".readmore");r.addEventListener("click",(function(e){t.classList.remove("fix-height"),r.remove();var o=document.createElement("div");o.classList.add("logos__other","headline4"),o.textContent=n?"et bien d'autres marques":"and many other Brands",t.after(o)}))}function l(){r.after(o)}o.classList.add("readmore","subtitle1"),o.textContent=n?"Voir plus de marques":"See more brands",o.setAttribute("aria-label",n?"Afficher la liste complète des marques":"Show full brands list"),t&&(window.innerWidth<576?t.length>4&&(l(),a(r)):t.length>6&&(l(),a(r)))}))}))})();
(()=>{"use strict";window.animatePagination=function(s,i){function a(){var a=i.querySelector(".splide__pagination"),t=a?a.querySelectorAll("li button"):[];function l(){t.forEach((function(s,i){s.classList.remove("hidden"),0!=i||s.classList.contains("is-active")||s.classList.add("small"),4==i&&s.classList.add("small"),i>4&&s.classList.add("hidden"),s.dataset.position=i}))}t.length>4&&(l(),s.on("move",(function(){var s=parseInt(i.querySelector(".splide__pagination .is-active").dataset.position);s>=2?t.forEach((function(i,a){a<s-2||a>s+2?(i.classList.remove("normal"),i.classList.remove("small"),i.classList.add("hidden")):(i.classList.remove("hidden"),i.classList.remove("small"),i.classList.add("normal")),a!=s-2&&a!=s+2||i.classList.add("small"),s>t.length-4&&a>=t.length-5&&(i.classList.remove("hidden"),i.classList.remove("small"),i.classList.add("normal"),a==t.length-5&&i.classList.add("small")),a==t.length-1&&(i.classList.add("small"),i.classList.contains("is-active")&&i.classList.remove("small"))})):t[0].classList.contains("is-active")&&t[0].classList.remove("small"),0==s&&l()})))}setTimeout((function(){i.querySelectorAll(".splide__pagination button").forEach((function(s){s.style.transition="all 0.6s"}))}),0),window.innerWidth<=576&&a(),s.on("pagination:updated",(function(){window.innerWidth<=576&&a()}))}})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){if(window.innerWidth<=576){var e=new Splide(".repair-points__wrap",{type:"loop",perPage:1,perMove:1,focus:0,speed:500,arrows:!0,pagination:!0,gap:"3rem",padding:{left:"1rem",right:"1rem"}}).mount();animatePagination(e,document.querySelector(".repair-points"))}}))})();
(()=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},n(t)
/*!
 * @splidejs/splide-extension-intersection
 * Version  : 0.2.0
 * License  : MIT
 * Copyright: 2022 Naotoshi Fujita
 */}var t;t=function(){function t(n,t,e){return Array.prototype.slice.call(n,t,e)}function e(n){return n.bind.apply(n,[null].concat(t(arguments,1)))}function o(t,e){return n(e)===t}var i=Array.isArray;function r(n){return i(n)?n:[n]}function u(n,t){r(n).forEach(t)}e(o,"function"),e(o,"string"),e(o,"undefined");var c=Object.keys;function f(n){return t(arguments,1).forEach((function(t){!function(n,t,e){if(n){var o=c(n);o=e?o.reverse():o;for(var i=0;i<o.length;i++){var r=o[i];if("__proto__"!==r&&!1===t(n[r],r))break}}}(t,(function(e,o){n[o]=t[o]}))})),n}var a="destroy";function s(n){var o=n?n.event.bus:document.createDocumentFragment(),c=function(){var n=[];function t(n,t,e){u(n,(function(n){n&&u(t,(function(t){t.split(" ").forEach((function(t){var o=t.split(".");e(n,o[0],o[1])}))}))}))}return{bind:function(e,o,i,r){t(e,o,(function(t,e,o){var u="addEventListener"in t,c=u?t.removeEventListener.bind(t,e,i,r):t.removeListener.bind(t,i);u?t.addEventListener(e,i,r):t.addListener(i),n.push([t,e,o,i,c])}))},unbind:function(e,o,i){t(e,o,(function(t,e,o){n=n.filter((function(n){return!!(n[0]!==t||n[1]!==e||n[2]!==o||i&&n[3]!==i)||(n[4](),!1)}))}))},dispatch:function(n,t,e){var o;return"function"==typeof CustomEvent?o=new CustomEvent(t,{bubbles:!0,detail:e}):(o=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!1,e),n.dispatchEvent(o),o},destroy:function(){n.forEach((function(n){n[4]()})),function(n){n.length=0}(n)}}}();return n&&n.event.on(a,c.destroy),f(c,{bus:o,on:function(n,t){c.bind(o,r(n).join(" "),(function(n){t.apply(t,i(n.detail)?n.detail:[])}))},off:e(c.unbind,o),emit:function(n){c.dispatch(o,n,t(arguments,1))}})}function d(n){return n.bind.apply(n,[null].concat(function(n,t,e){return Array.prototype.slice.call(n,t,e)}(arguments,1)))}function l(t,e){return n(e)===t}d(l,"function"),d(l,"string");var p=d(l,"undefined"),v=Object.keys,b="intersection:in",y="intersection:out";("undefined"==typeof window?"undefined":n(window))<"u"&&(window.splide=window.splide||{},window.splide.Extensions=window.splide.Extensions||{},window.splide.Extensions.Intersection=function(n,t,e){var o,i=s(n).emit,r=e.intersection||{},u=function(n){var t=n.Components;return{keyboard:{enable:function(){t.Keyboard.disable(!1)},disable:function(){t.Keyboard.disable(!0)}},autoplay:{enable:function(){n.options.autoplay&&t.Autoplay.play()},disable:function(){t.Autoplay.pause()}},autoScroll:{enable:function(){var n=t.AutoScroll;n&&n.play()},disable:function(){var n=t.AutoScroll;n&&n.pause()}},video:{enable:function(){var n=t.Video;n&&n.play()},disable:function(){var n=t.Video;n&&n.pause()}}}}(n);function c(){o&&(o.disconnect(),o=null)}function f(n){var t=n[0];t&&(t.isIntersecting?function(n){a(r.inView||{}),i(b,n),r.once&&c()}(t):function(n){a(r.outView||{}),i(y,n)}(t),i("intersection",t))}function a(n){!function(n,t,e){if(n){var o=v(n);o=e?o.reverse():o;for(var i=0;i<o.length;i++){var r=o[i];if("__proto__"!==r&&!1===t(n[r],r))break}}}(n,(function(n,t){if(!p(n)){var e=u[t];n?e.enable():e.disable()}}))}return{mount:function(){window.IntersectionObserver&&(o=new IntersectionObserver(f,{root:r.root,rootMargin:r.rootMargin,threshold:r.threshold})).observe(n.root)},destroy:c}})},"function"==typeof define&&define.amd?define(t):t()})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".facts-with-form .awards").forEach((function(e){var t=new Splide(e,{type:"loop",drag:"free",focus:"start",trimSpace:!1,omitEnd:!1,arrows:!1,pagination:!1,fixedWidth:"7rem",fixedHeight:"8.4rem",gap:"2.4rem",mediaQuery:"min",autoScroll:{speed:.2},intersection:{inView:{autoScroll:!0},outView:{autoScroll:!1}},breakpoints:{577:{destroy:!0}}}).mount(window.splide.Extensions);animatePagination(t,document.querySelector(".facts-with-form"))}))}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){var e=new Splide(".testimonials__wrap",{type:"slide",perPage:3,perMove:1,focus:0,speed:500,arrows:!0,pagination:!0,gap:"3.5rem",padding:{left:"1.8rem",right:"1.8rem"},breakpoints:{577:{perPage:1,perMove:1,autoWidth:!1}}}).mount();animatePagination(e,document.querySelector(".testimonials"))}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){var t,e;t=document.querySelectorAll(".hvac-service .tab-title"),e=document.querySelectorAll(".hvac-service .hvac-service__tabs-content"),t.forEach((function(c){c.addEventListener("click",(function(){var a=c.getAttribute("data-tab-control");e.forEach((function(t){t.classList.remove("active")})),t.forEach((function(t){t.classList.remove("active")})),c.classList.add("active"),document.querySelectorAll('[data-tab="'.concat(a,'"]')).forEach((function(t){t.classList.add("active")}))}))}))}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll("[data-comment]").forEach((function(t){t.addEventListener("click",(function(e){e.preventDefault(),t.classList.toggle("active"),t.nextElementSibling.classList.toggle("active")}))}))}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".areas-serve-main").forEach((function(e){var a=e.querySelector(".areas-serve-main__tabs"),t=e.querySelectorAll(".areas-serve-main__tab-links");a&&function(e,n){var r=a.querySelectorAll(e);function c(){t.forEach((function(e){e.classList.remove(n)})),r.forEach((function(e){e.classList.remove(n)}))}function s(e){t[e].classList.add(n),r[e].classList.add(n)}a.addEventListener("click",(function(a){var t=a.target;t&&t.matches(e)&&r.forEach((function(e,a){t==e&&(c(),s(a))}))}))}(".areas-serve-main__tab","active")}))}))})();