1// accordion 2const viewMoreBtn = document.querySelector('.data-report + .main-contents__more'); 3const dataCardList = document.querySelector('.data-report__list'); 4const hiddenCard = document.querySelectorAll('.js-hide'); 5 6viewMoreBtn.addEventListener('click', function() { 7 const toggleState = this.getAttribute('data-toggle') === 'true'; 8 9 if(toggleState) { 10 dataCardList.classList.add('active'); 11 viewMoreBtn.classList.add('active'); 12 13 hiddenCard.forEach(card => { 14 card.style.maxHeight = card.scrollHeight + "px"; 15 16 if(window.innerWidth < 451) { 17 card.style.marginTop = "20px"; 18 } 19 }) 20 21 this.setAttribute('data-toggle', 'false'); 22 } else { 23 window.location.href = 'https://berd.benesse.jp/research/?teal_vid=0187fdffc36d0056428945bf31980506f002e06700bd0&_ga=2.82830038.1980127995.1713136235-1470777956.1683593609'; 24 } 25}) 26
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.