PageSourceSearch

https://ctja.org/wp-content/themes/ctja/public/build/assets/html5-video-player-DyzNJG3H.js

js ctja.org collected 2026-09-30 08:28:05 UTC 893 bytes, 1 lines download raw bytes

1function m(y,p){let l=!1;const s=y,e=p,n=e.getElementsByClassName("js-video-play-icon")[0],a=e.getElementsByClassName("js-video-pause-icon")[0],o=()=>{l?c():d()},d=()=>{const t=s.play();t!==void 0&&t.catch(v=>{console.error("Video play failed:",v)})},c=()=>{s.pause()},i=t=>{l=t,t?(n&&(n.style.display="none"),a&&(a.style.display="inline"),e.setAttribute("aria-label","Pause video")):(n&&(n.style.display="inline"),a&&(a.style.display="none"),e.setAttribute("aria-label","Play video"))},r=t=>{t.preventDefault(),o()},u=()=>{e.addEventListener("click",r),s.addEventListener("play",()=>i(!0)),s.addEventListener("pause",()=>i(!1)),s.addEventListener("ended",()=>i(!1))},f=()=>{e.removeEventListener("click",r)};return(()=>{u(),i(!1)})(),{play:d,pause:c,toggle:o,updateUI:i,destroy:f,getState:()=>({isPlaying:l}),getElements:()=>({video:s,button:e,playIcon:n,pauseIcon:a})}}export{m as default};

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.