document.addEventListener("DOMContentLoaded",function(){var e=[].slice.call(document.querySelectorAll("[data-video-lazy]"));if("IntersectionObserver"in window){var t=new IntersectionObserver(function(e,r){e.forEach(function(e){if(e.isIntersecting){for(var r in e.target.children){var a=e.target.children[r];"string"==typeof a.tagName&&"SOURCE"===a.tagName&&(a.src=a.dataset.src)}e.target.load(),e.target.removeAttribute("data-video-lazy"),t.unobserve(e.target)}})});e.forEach(function(e){t.observe(e)})}});