File: /home/zeusxp5/chuair.org/wp-content/plugins/wd-framework/build/wd-services/script.js
!function(){function e(e){var t,a;for(t=document.getElementsByClassName("type-service"),"all"==e&&(e=""),console.log(e),a=0;a<t.length;a++)s(t[a],"show"),console.log(t[a].className),t[a].className.indexOf(e)>-1&&l(t[a],"show")}function l(e,l){var s,t,a;for(t=e.className.split(" "),a=l.split(" "),s=0;s<a.length;s++)-1==t.indexOf(a[s])&&(e.className+=" "+a[s])}function s(e,l){var s,t,a;for(t=e.className.split(" "),a=l.split(" "),s=0;s<a.length;s++)for(;t.indexOf(a[s])>-1;)t.splice(t.indexOf(a[s]),1);e.className=t.join(" ")}e("all"),document.querySelectorAll("li[data-slug]").forEach((l=>{l.addEventListener("click",(function(){e("projet-"+this.getAttribute("data-slug"))}))}))}();