function t_video_lazyload_init(){if("IntersectionObserver"in window){var isMobile,scrollDiffHeight=300;/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&(scrollDiffHeight=150);var tVideoLazyList=document.querySelectorAll(".t-video-lazyload"),tVideoObserver=new IntersectionObserver((function(entries,observer){entries.forEach((function(entry){if(entry.isIntersecting){var target=entry.target;observer.unobserve(target),t_video_lazyload__addVideo(target)}}))}),{rootMargin:scrollDiffHeight+"px 0px"});Array.prototype.forEach.call(tVideoLazyList,(function(tVideoLazy){tVideoObserver.observe(tVideoLazy)}))}else t_video_lazyload__addVideoWithCheckViewport(),window.addEventListener("scroll",t_throttle((function(){t_video_lazyload__addVideoWithCheckViewport()}),300))}function t_video_lazyload__addVideoWithCheckViewport(){var windowHeight=document.documentElement.clientHeight,isMobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),scrollDiffHeight=700,tVideoLazyList;isMobile&&(scrollDiffHeight=350),tVideoLazyList=document.documentMode<9?Array.prototype.slice.call(document.querySelectorAll(".t-video-lazyload")).filter((function(el){var recBlock=el.closest(".r");return!recBlock.classList.contains("t395__off")&&!recBlock.classList.contains("t397__off")&&!recBlock.classList.contains("t400__off")})):document.querySelectorAll(".r:not(.t395__off):not(.t397__off):not(.t400__off) .t-video-lazyload"),Array.prototype.forEach.call(tVideoLazyList,(function(video){var blockRect=video.getBoundingClientRect(),blockTop=blockRect.top,blockBottom=blockRect.bottom;(blockTop>0&&blockTop0&&blockBottom');break;case"vimeo":var hashQueryStr=videoHash?"&h="+videoHash:"";video.insertAdjacentHTML("afterbegin",'')}}}t_onReady((function(){document.querySelectorAll(".t-video-lazyload").length&&t_video_lazyload_init()}));