PageSourceSearch

https://thefactorystl.com/wp-content/themes/g52-venue-theme/build/faq/view.js?ver=72edc83637566b64cb56

js thefactorystl.com collected 2026-10-02 17:07:59 UTC 706 bytes, 1 lines download raw bytes

1import{getContext as e,getElement as t,store as o}from"@wordpress/interactivity";o("g52/faq",{actions:{onToggle(){const{allowMultiple:o}=e();if(o)return;const{ref:r}=t();if(!r||!r.open)return;const n=r.closest(".g52-faq");n&&n.querySelectorAll("details.g52-faq-item").forEach(e=>{e!==r&&(e.open=!1)})}},callbacks:{init(){const e=window.location.hash;if(!e||e.length<2)return;let t;try{t=document.querySelector(`details.g52-faq-item${e}`)}catch(e){return}if(!t)return;t.open=!0;const o=window.matchMedia("(prefers-reduced-motion: reduce)").matches;t.scrollIntoView({block:"start",behavior:o?"auto":"smooth"});const r=t.querySelector("summary");r&&"function"==typeof r.focus&&r.focus({preventScroll:!0})}}});

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.