1(() => { 2 'use strict'; 3 const buttons=[...document.querySelectorAll('[data-step]')]; 4 const panels=[...document.querySelectorAll('.workflow-panel')]; 5 const reduced=window.matchMedia('(prefers-reduced-motion: reduce)'); 6 buttons.forEach(button=>button.addEventListener('click',()=>{ 7 buttons.forEach(other=>other.setAttribute('aria-pressed',String(other===button))); 8 panels.forEach(panel=>{ 9 panel.hidden=panel.id!==button.getAttribute('aria-controls'); 10 if(!panel.hidden&&!reduced.matches&&panel.animate)panel.animate([{opacity:0,transform:'translateY(8px)'},{opacity:1,transform:'translateY(0)'}],{duration:220,easing:'ease-out'}); 11 }); 12 })); 13 const videos=[...document.querySelectorAll('#depoimentos video')]; 14 videos.forEach(video=>video.addEventListener('play',()=>videos.forEach(other=>{if(other!==video)other.pause();}))); 15 document.addEventListener('visibilitychange',()=>{if(document.hidden)videos.forEach(video=>video.pause());}); 16})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.