PageSourceSearch

https://www.nami.org/wp-content/themes/nami-2025/dist/blocks/youtu…/frontend.js?ver=ceef05e032c586109d00

js nami.org collected 2026-09-24 06:33:31 UTC 801 bytes, 1 lines download raw bytes

1!function(){"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".nami-youtube-play-button").forEach((e=>{const{dialogId:t}=e.dataset;if(!t)return;const n=document.getElementById(t);if(!n)return;const o=n.querySelector("lite-youtube");async function c(e){if(e)try{const t=await e.getYTPlayer();t&&"function"===typeof t.pauseVideo&&t.pauseVideo()}catch(e){console.error("Error pausing YouTube video:",e)}}e.addEventListener("click",(function(e){e.preventDefault(),n.showModal(),setTimeout((()=>{o&&o.click()}),100)}));const a=n.querySelector(".nami-youtube-modal-close");a&&a.addEventListener("click",(async function(e){e.preventDefault(),await c(o),n.close()})),n.addEventListener("click",(async function(e){e.target===n&&(await c(o),n.close())}))}))}))}();

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.