PageSourceSearch

https://www.kek.jp/wp-content/themes/kek/build/scripts/theme.js?ver=894948b5095bff987e18

js kek.jp collected 2026-10-01 09:15:26 UTC 2,507 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",(function(){const e=window.location.href;document.querySelectorAll(".nav-list a").forEach((t=>{t.href===e&&t.classList.add("is-current")}))})),document.addEventListener("DOMContentLoaded",(function(){const e=document.querySelectorAll("[data-font-size]");e.forEach((t=>{t.addEventListener("click",(function(){e.forEach((e=>{e.classList.remove("is-active")}));const n=this.getAttribute("data-font-size");document.documentElement.style.setProperty("--font-size-ratio",n),t.classList.add("is-active")}))}))})),document.addEventListener("DOMContentLoaded",(function(){const e=document.querySelectorAll("#colophon .menu-item-has-children, #site-max-lg-navigation .menu-item-has-children"),t=()=>{e.forEach((e=>{e.setAttribute("aria-expanded","false")}))},n=()=>{e.forEach((e=>{e.removeAttribute("aria-expanded")}))};window.innerWidth<=782?t():n();const d=window.matchMedia("(min-width: 782px)");d.addEventListener("change",(()=>{d.matches?n():t()})),e.forEach((e=>{const t=e.querySelector(".submenu-toggle");t&&t.addEventListener("click",(function(n){n.preventDefault();const d="true"===e.getAttribute("aria-expanded");e.setAttribute("aria-expanded",d?"false":"true"),t.setAttribute("aria-expanded",d?"false":"true")}))}))})),document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".header-max-lg-main-navigation-list > li.menu-item-has-children").forEach((function(e){const t=e.querySelector(".submenu-toggle");e.querySelector(".sub-menu").classList.add("hidden");const n=e.querySelector(".sub-menu");t&&t.addEventListener("click",(function(e){n.classList.contains("hidden")?(n.classList.remove("hidden"),n.classList.add("block")):n.classList.contains("block")&&(n.classList.remove("block"),n.classList.add("hidden"))}))}))})),document.addEventListener("DOMContentLoaded",(function(){const e=document.querySelector(".site-header-toolbar-hamburger-menu"),t=document.querySelector(".site-max-lg-navigation");e.addEventListener("click",(function(){t.classList.contains("block")?(t.classList.remove("block"),t.classList.add("hidden"),e.setAttribute("aria-expanded","false")):(t.classList.remove("hidden"),t.classList.add("block"),e.setAttribute("aria-expanded","true"))}))})),document.addEventListener("DOMContentLoaded",(function(){const e=document.querySelector(".pagetop-button");e.classList.add("is-hidden"),window.addEventListener("scroll",(function(){window.scrollY>150?e.classList.remove("is-hidden"):e.classList.add("is-hidden")}))}));

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.