PageSourceSearch

https://trivia-library.com/wp-content/themes/unified-microsites/dist/js/single.js?ver=2026.09.21.1790033617

js trivia-library.com collected 2026-09-24 20:33:50 UTC 1,768 bytes, 2 lines download raw bytes

1(()=>{"use strict";const t=()=>{(function(){const t=document.querySelector(".toc");if(t){const e=document.querySelector(".toc__toggle");e.addEventListener("click",(function(){this.classList.toggle("toc__toggle--active"),t.classList.toggle("toc--active")}));const o=t.querySelectorAll(".toc__link");o.forEach((n=>{n.addEventListener("click",(function(){o.forEach((t=>{t.classList.remove("toc__link--active")})),n.classList.toggle("toc__link--active"),e.classList.toggle("toc__toggle--active"),t.classList.toggle("toc--active")}))})),o.forEach((t=>{t.addEventListener("click",(function(e){e.preventDefault();let o=t.getAttribute("href").split("#")[1],n=document.getElementById(o),c=document.body.getBoundingClientRect().top,l=n.getBoundingClientRect().top-c+(window.matchMedia("only screen and (max-width: 760px)").matches?-434:-28);window.scrollTo({top:l})}))}))}})(),(()=>{let t=document.querySelectorAll(".toc__item--countdown").length;t>0&&(t+=1),t<1&&(t=document.querySelectorAll(".countdown").length,t>0&&(t+=1));const e=document.querySelector(".toc__list"),o=document.querySelector(".content");null!=e&&(e.style.counterReset=`list-item ${t}`),null!=o&&(o.style.counterReset=`heading ${t}`);const n=document.querySelectorAll(".countdown"),c=document.querySelectorAll(".toc__item--countdown");if(void 0!==n&&n.length>0)for(let t=0;t<n.length;t++)n[t].style.setProperty("--countdown-hidden-background","var(--countdown-visible-background)"),n[t].style.setProperty("--countdown-hidden-text","var(--countdown-visible-text)");if(void 0!==c&&c.length>0)for(let t=0;t<c.length;t++)c[t].style.setProperty("--countdown-toc-hidden-text","var(--countdown-toc-visible-text)")})()};window.addEventListener("DOMContentLoaded",(()=>{t()}))})();
2//# sourceMappingURL=single.js.map

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.