var kbVidForEach=function(a,b,c){for(var d=0;d<a.length;d++)b.call(c,d,a[d])},pauseBtns=document.getElementsByClassName("kb-background-video-pause");kbVidForEach(pauseBtns,function(a,b){b.addEventListener("click",function(){var a=this.parentNode.parentNode.getElementsByTagName("video")[0];a.pause(),this.parentNode.getElementsByClassName("kb-background-video-play")[0].style.display="inline-block",this.parentNode.getElementsByClassName("kb-background-video-play")[0].setAttribute("aria-hidden","false"),this.setAttribute("aria-hidden","true"),this.style.display="none"})});var playBtns=document.getElementsByClassName("kb-background-video-play");kbVidForEach(playBtns,function(a,b){b.addEventListener("click",function(){var a=this.parentNode.parentNode.getElementsByTagName("video")[0];a.play(),this.parentNode.getElementsByClassName("kb-background-video-pause")[0].style.display="inline-block",this.parentNode.getElementsByClassName("kb-background-video-pause")[0].setAttribute("aria-hidden","false"),this.setAttribute("aria-hidden","true"),this.style.display="none"})});var muteBtns=document.getElementsByClassName("kb-background-video-mute");kbVidForEach(muteBtns,function(a,b){b.addEventListener("click",function(){var a=this.parentNode.parentNode.getElementsByTagName("video")[0];a.muted=!0,this.parentNode.getElementsByClassName("kb-background-video-unmute")[0].style.display="inline-block",this.parentNode.getElementsByClassName("kb-background-video-unmute")[0].setAttribute("aria-hidden","false"),this.setAttribute("aria-hidden","true"),this.style.display="none"})});var unmuteBtns=document.getElementsByClassName("kb-background-video-unmute");kbVidForEach(unmuteBtns,function(a,b){b.addEventListener("click",function(){var a=this.parentNode.parentNode.getElementsByTagName("video")[0];a.muted=!1,this.parentNode.getElementsByClassName("kb-background-video-mute")[0].style.display="inline-block",this.parentNode.getElementsByClassName("kb-background-video-mute")[0].setAttribute("aria-hidden","false"),this.setAttribute("aria-hidden","true"),this.style.display="none"})});