(function(){
function norm(p){return p.replace(/\/+$/,'')||'/';}
function mark(){
var cur=norm(location.pathname);
document.querySelectorAll('.mm-bar > a[href]').forEach(function(a){
var u;try{u=new URL(a.href,location.href);}catch(e){return;}
a.classList.remove('is-active');a.removeAttribute('aria-current');
if(u.host!==location.host||!u.pathname||a.getAttribute('href').charAt(0)==='#')return;
var p=norm(u.pathname),on=(p==='/')?(cur==='/'):(cur===p||cur.indexOf(p+'/')===0);
if(on){a.classList.add('is-active');a.setAttribute('aria-current','page');}
});
}
if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',mark);else mark();
})();
Instale nosso aplicativo
Tenha acesso rápido ao conteúdo diretamente na tela inicial do seu celular.