PageSourceSearch

https://unity3d.jp/wp-content/themes/swell/build/js/front/accordion.min.js?ver=2.12.0

js unity3d.jp collected 2026-09-24 19:55:36 UTC 1,293 bytes, 1 lines download raw bytes

1!function(){function e(){document.querySelectorAll('[data-onclick="toggleAccordion"]').forEach((e=>{e.addEventListener("click",(function(e){e.preventDefault(),function(e){const t=e.parentNode,a=e.nextElementSibling,n=e.lastElementChild;"false"===t.getAttribute("aria-expanded")?(t.classList.add("is-opened"),t.setAttribute("aria-expanded","true"),a.setAttribute("aria-hidden","false"),n.setAttribute("data-opened","true")):(t.classList.remove("is-opened"),t.setAttribute("aria-expanded","false"),a.setAttribute("aria-hidden","true"),n.setAttribute("data-opened","false"))}(e.currentTarget)}))})),document.querySelectorAll('[data-swl-acc="wrapper"]').forEach((e=>{!function(e){const t=e.querySelector('[data-swl-acc="header"]'),a=e.querySelector('[data-swl-acc="icon"]');t.addEventListener("click",(t=>{t.preventDefault(),e.open?e.open&&(e.classList.remove("is-opened"),a.dataset.opened="false",setTimeout((()=>{e.open=!1}),255)):(e.open=!0,setTimeout((()=>{e.classList.add("is-opened"),a.dataset.opened="true"}),5))})),e.addEventListener("toggle",(()=>{const t=e.classList.contains("is-opened");e.open&&!t?e.classList.add("is-opened"):!e.open&&t&&e.classList.remove("is-opened")}))}(e)}))}document.addEventListener("DOMContentLoaded",e),window.SWELLHOOK&&window.SWELLHOOK.barbaAfter.add(e)}();

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.