PageSourceSearch

https://www.litteratureaudio.com/wp-content/themes/waveme/assets/js/site.min.js

js litteratureaudio.com collected 2026-10-01 11:30:32 UTC 4,219 bytes, 1 lines download raw bytes

1!function(){"use strict";const e=(e,t=document)=>t.querySelector(e);function t(t,n){t=(e(".site-title")?.textContent.replace(/\s/g,"")||"")+"--"+t;try{if(!(arguments.length>1)){const e=localStorage.getItem(t);return e&&JSON.parse(e)||{}}localStorage.setItem(t,JSON.stringify(n))}catch(e){}}function n(t,n){let o=e(".page-progress");if(o||(o=document.createElement("div"),o.classList.add("page-progress"),document.body.appendChild(o)),o.classList.contains("page-progress-finished")||(o.style.transition=`width ${n}ms ease-out`,setTimeout((function(){o.style.width=t+"%"}),0)),100===t){o.classList.add("page-progress-finished");const e=()=>{o.removeEventListener("transitionend",e),o.remove()};o.addEventListener("transitionend",e)}}function o(){const n=t("setting");if(!n.color)return;document.documentElement.style.setProperty("--color-primary",n.color);const o=e(".theme-color input");o&&(o.value=n.color)}function c(){const n=e(".theme-color");if(n&&"SPAN"===n.tagName){const e=t("setting"),o=e.color?`value="${e.color}"`:"",c=document.createElement("label");c.className="theme-color",c.setAttribute("for","theme-color"),c.innerHTML=`<input type="color" id="theme-color" ${o}>`+n.innerHTML,n.replaceWith(c)}((e,t=document)=>Array.from(t.querySelectorAll(e)))(".page-navigation ul, .user-navigation ul").forEach((e=>function(e){const t=e.querySelector(".active, .current_page_item");if(t){const n=e.getBoundingClientRect(),o=t.getBoundingClientRect().left-n.left+t.offsetWidth/2+e.scrollLeft-e.clientWidth/2;e.scrollLeft=o}}(e))),document.dispatchEvent(new CustomEvent("init:site"))}function i(e,t,n){document.addEventListener(e,(function(e){let o=e.target;for(;o&&o!==document;){if(o.matches&&o.matches(t))return void n.call(o,e);o=o.parentNode}}))}("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&document.documentElement.classList.add("is-touch"),document.addEventListener("pjax:send",(()=>{n(50,750),setTimeout((function(){n(75,2e3)}),750)})),document.addEventListener("pjax:receive",(()=>{n(100,500)})),document.addEventListener("pjax:complete",(()=>{c();const t=e("#search-state");if(t&&(t.checked=!1),document.body.clientWidth<782){const t=e("#menu-state");t&&(t.checked=!1)}})),i("click",".no-ajax > a:not(.no-ajax)",(function(e){e.preventDefault(),e.stopPropagation();const t=this.getAttribute("href")||this.querySelector("a")?.getAttribute("href");return t&&(window.location.href=t),!1})),i("click",".menu-item-has-children, .navbar-menu",(function(e){e.preventDefault(),e.stopPropagation(),this.classList.toggle("current-menu-ancestor")})),i("keyup","#commentform textarea",(function(e){var t;(t=this).clientHeight<t.scrollHeight&&(t.style.height=t.scrollHeight+"px")})),i("click",".theme-switch",(function(e){e.preventDefault(),document.documentElement.classList.toggle("dark");const n=t("setting");n.theme=document.documentElement.classList.contains("dark")?"dark":"light";document.body.classList.remove("dark","light"),t("setting",n)})),i("change",".theme-color input",(function(e){e.preventDefault();const n=this.value,c=t("setting");c.color=n,t("setting",c),o()})),i("click",".accordion h3, .accordion h4",(function(e){e.preventDefault(),this.classList.toggle("open");let t=this.nextElementSibling;for(;t&&!t.matches("h3, h4");)t.style.display="block"===t.style.display?"none":"block",t=t.nextElementSibling})),i("click",".fullscreen",(function(e){e.preventDefault(),function(){if(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement){const e=document.exitFullscreen||document.mozCancelFullScreen||document.webkitExitFullscreen||document.msExitFullscreen;e&&e.call(document)}else{const e=document.documentElement,t=e.requestFullscreen||e.mozRequestFullScreen||e.webkitRequestFullscreen||e.msRequestFullscreen;t&&t.call(e)}}()})),o(),function(){let n=t("setting").theme||"";location.href.indexOf("theme=dark")>-1&&(n="dark"),location.href.indexOf("theme=light")>-1&&(n="light"),e(".theme-switch")&&""!==n&&(document.documentElement.classList.remove("dark","light"),document.documentElement.classList.add(n))}(),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",c):c()}();

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.