1(()=>{(function(){let u=null;document.addEventListener("DOMContentLoaded",()=>{u=new c,u.setInitializingState()});function c(){let y=this,d=[],a=[],n=null;window.addEventListener("load",()=>{this.refreshPlayers(),window.addEventListener("YouTubeEmbedHandlerReady",()=>{this.refreshPlayers()})});function s(){d=document.querySelectorAll("._ytApiEmbed"),a=document.querySelectorAll(".wp-block-embed-youtube iframe")}function o(){n&&clearTimeout(n),n=setTimeout(()=>{y.refreshPlayers()},200)}this.setInitializingState=function(){s(),a.forEach(e=>{e.closest(".wp-block-embed-youtube").classList.add("_initializing")})},this.refreshPlayers=function(){var t;(t=window.debug)==null||t.log("Refreshing YouTube Embed Handlers"),s(),b(),window.YouTubeEmbedHandler&&(d.forEach(i=>{h(i)}),a.forEach(i=>{m(i)}))};function h(e){let t=window.YouTubeEmbedHandler,i=e.getAttribute("data-videoid"),w=e.getAttribute("data-timestamp");t.registerPlayer(i,w),window.addEventListener("YTEmbedHandler_onPlayerReady",l=>{var r;l.detail.target.getVideoData().video_id===i&&((r=window.debug)==null||r.log(`YouTube Embed Player Ready: ${i}`))})}function m(e){let t=e.closest(".wp-block-embed-youtube"),i=e.closest(".wp-block-embed__wrapper");e.removeAttribute("loading");let w=e.getAttribute("src");if(!w)return;if(w==="about:blank"&&e.getAttribute("data-suppressedsrc")){_(e),o();return}let l=window.YouTubeEmbedHandler,r=l.extractIdFromUrl(w),k=l.extractTimestampFromUrl(w);if(!r||l.isPlayerRegistered(r))return;t.classList.add("_stickyVideo"),t.classList.add("_stickyParent"),i.classList.add("_stickyElement"),i.setAttribute("data-stickyid",r);let v=`player-${r}`,g=document.createElement("div");g.id=v,e.parentNode.replaceChild(g,e),l.isPlaylist(w)?l.registerPlayerPlaylist(r):l.registerPlayer(r,k),window.addEventListener("YTEmbedHandler_onPlayerReady",L=>{var E;L.detail.target.getVideoData().video_id===r&&(t.classList.remove("_initializing"),(E=window.debug)==null||E.log(`YouTube Embed Player Ready: ${r}`))})}function b(){window.cookieman&&!window.cookieman.isReady()||(d.forEach(e=>{window.cookieman.getConsentState("experience")?f(e):p(e)}),a.forEach(e=>{let t=e.closest(".wp-block-embed__wrapper");window.cookieman.getConsentState("experience")?f(t):p(t)}))}function p(e){if(!_moduleYouTube.blocked_content_notice_html||e.querySelector("._consentNoticeWrapper"))return;let t=document.createElement("div");t.className="_consentNoticeWrapper",t.innerHTML=_moduleYouTube.blocked_content_notice_html;let i=t.querySelector("._consentAction");i&&i.addEventListener("click",()=>{window.cookieman&&window.cookieman.call("youTubeEmbed")}),e.appendChild(t)}function f(e){e.querySelectorAll("._consentNoticeWrapper").forEach(t=>t.remove())}function _(e){if(!(window.cookieman&&!window.cookieman.isReady())&&window.cookieman.getConsentState("experience")){let t=e.getAttribute("data-suppressedsrc");t&&(e.setAttribute("src",t),e.removeAttribute("data-suppressedsrc"))}}}})();(function(){document.addEventListener("DOMContentLoaded",u),window.addEventListener("scroll",u),window.addEventListener("YTEmbedHandler_onPlayerStateChange",u);function u(){let c=window.YouTubeEmbedHandler;if(!c)return;let y=document.querySelectorAll("._stickyElement");if(y.length===0)return;let d=document.documentElement.scrollTop||document.body.scrollTop,a=d+window.innerHeight;y.forEach(n=>{let s=n.getAttribute("data-stickyid");if(!s)return;let o=n.closest("._stickyParent"),m=o.getBoundingClientRect().top+window.scrollY,b=m+o.offsetHeight;if(c.getPlayingVideoId()!==s){o.style.height="",n.classList.remove("_stickyDetached"),n.removeAttribute("style");return}if(d>b||a<m){n.classList.contains("_stickyDetached")||(o.style.height=o.offsetHeight+"px",n.classList.add("_stickyDetached"));let p=window.util?window.util.getTotalFixedTopOffset():0;if(n.style.marginTop=p+"px",!n.querySelector("._closeVideo")){let f=document.createElement("i");f.className="_closeVideo close-video fas fa-times-circle",n.appendChild(f),f.addEventListener("click",()=>{c.pauseAllVideos(),c.clearActivePlayer(),window.dispatchEvent(new Event("scroll"))})}}else o.style.height="",n.classList.remove("_stickyDetached"),n.removeAttribute("style")})}})();(function(){document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll("._playVideoById").forEach(c=>{c.addEventListener("click",y=>{var m,b;y.preventDefault();let d=c.getAttribute("data-videoid");if(!d)return;let a=document.getElementById("player-"+d);if(!a)return;let n=c.classList.contains("_toggleShow"),s=a.closest("._showOnPlay");s&&(n&&s.classList.contains("_show")?((m=window.animate)==null||m.slideUp(s),s.classList.remove("_show")):((b=window.animate)==null||b.slideDown(s),s.classList.add("_show")));let o=window.YouTubeEmbedHandler;if(!o)return;if(o.getPlayingVideoId()===d){o.pauseAllVideos(),o.clearActivePlayer();return}o.playVideoById(d)})})})})();})(); 2//# sourceMappingURL=yt-embeds.min.js.map
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.