!function(){"use strict";window.tabs=function(t){var e=document.querySelector(t.el),i=e.querySelectorAll(t.tabNavigationLinks),n=e.querySelectorAll(t.tabContentContainers),s=0,a=!1,c=function(t,e){t.addEventListener("click",(function(t){t.preventDefault(),o(e)}))},o=function(t){t!==s&&t>=0&&t<=i.length&&(i[s].classList.remove("is-active"),i[t].classList.add("is-active"),n[s].classList.remove("is-active"),n[t].classList.add("is-active"),s=t)};return{init:function(){if(!a){a=!0,e.classList.remove("no-js");for(var t=0;t<i.length;t++){var n=i[t];c(n,t)}}},goToTab:o}}}();