PageSourceSearch

https://cityu.edu/wp-content/plugins/tbf-wordpress-blocks/build/vi…/view.js?ver=0833642ee01129e19948

js cityu.edu collected 2026-10-02 05:37:25 UTC 1,472 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",(()=>{const e=document.querySelectorAll(".video-modal-trigger"),o=document.querySelectorAll(".video-modal"),t=(e,o,t)=>{if("library"===t)e.innerHTML=`<video src="${o}" autoplay controls></video>`;else if(o.includes("youtube.com")||o.includes("youtu.be")){const t=o.split("v=")[1]||o.split("/").pop();e.innerHTML=`<iframe src="https://www.youtube.com/embed/${t}?autoplay=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>`}else if(o.includes("vimeo.com")){const t=o.split("/").pop();e.innerHTML=`<iframe src="https://player.vimeo.com/video/${t}?autoplay=1" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe>`}};e.forEach(((e,i)=>{const l=o[i];if(!l)return;const r=l.querySelector(".video-modal-close"),a=l.querySelector(".video-wrapper"),c=e.dataset.videoUrl,n=e.dataset.videoSource;e.addEventListener("click",(o=>{if(o.preventDefault(),window.matchMedia("(max-width: 768px)").matches){const o=e.closest(".video-modal-image-trigger")||e;let i=o.nextElementSibling;i&&i.classList.contains("video-inline-player")||(i=document.createElement("div"),i.className="video-inline-player",o.after(i)),o.style.display="none",t(i,c,n)}else l.showModal(),t(a,c,n)})),r.addEventListener("click",(()=>{l.close(),a.innerHTML=""})),l.addEventListener("click",(e=>{e.target===l&&(l.close(),a.innerHTML="")}))}))}));

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.