1document.addEventListener("DOMContentLoaded", (event) => { 2 var acc = document.getElementsByClassName("accordion-alera"); 3 var i; 4 5 for (i = 0; i < acc.length; i++) { 6 acc[i].addEventListener("click", function () { 7 8 var element = document.getElementsByClassName('footer-outer')[0]; 9 var caretAlera = document.getElementById('caret-alera'); 10 if (element != null && caretAlera != null) { 11 /* Toggle between adding and removing the "active" class, 12 to highlight the button that controls the panel */ 13 this.classList.toggle("active"); 14 15 /* Toggle between hiding and showing the active panel */ 16 var panel = this.nextElementSibling; 17 if (panel.style.display === "block") { 18 panel.style.display = "none"; 19 caretAlera.classList.remove("fa-caret-up"); 20 caretAlera.classList.add('fa-caret-down'); 21 22 if (window.location.href.toLocaleLowerCase().includes("directbenefits.com")) { 23 element.style.minHeight = "470px"; 24 } 25 } else { 26 panel.style.display = "block"; 27 caretAlera.classList.remove("fa-caret-down"); 28 caretAlera.classList.add('fa-caret-up'); 29 30 if (window.location.href.toLocaleLowerCase().includes("directbenefits.com")) { 31 element.style.minHeight = "870px"; 32 } 33 34 } 35 } 36 }); 37 } 38 39});
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.