1import{getPlayerParams as c}from"./get-player-params.DdGBBHdz07.min.js";function a(){document.body.addEventListener("click",n);function n(t){const e=t.target.closest(".btn-play");if(!e)return;const o=e.closest(".video-holder"),r=e.classList.contains("open-video-popup")||e.classList.contains("open-popup");if(!o||r||(t.preventDefault(),o.classList.contains("video-play")))return;const s=c(e.getAttribute("href"));o.insertAdjacentHTML("beforeend",s.template),requestAnimationFrame(()=>o.classList.add("video-play"))}document.querySelectorAll(".btn-trigger-video").forEach(t=>{t.addEventListener("click",i)});function i(t){t.preventDefault();const e=t.target.closest("section"),o=e==null?void 0:e.querySelector(".btn-play");o&&(e.scrollIntoView({behavior:"smooth"}),o.click())}}export{a as embedVideo};
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.