Skip to content
').concat(opts.liveNow?opts.liveNow:"Live Now",": ").concat(e.title,"\n \n ");var n=document.querySelector(".alert-bar");if(n)n.parentNode.replaceChild(t,n);else{var i=document.querySelector("#page");i?i.parentNode.insertBefore(t,i):document.body.insertBefore(t,document.body.firstChild)}},t=function(t){var n=new XMLHttpRequest;n.open("GET",opts.route),n.setRequestHeader("Accept","application/json"),t&&n.setRequestHeader("If-Modified-Since",new Date(t).toGMTString()),n.onload=function(){var t;try{t=JSON.parse(n.responseText)}catch(e){return}e(t),sessionStorage.setItem("live",n.responseText)},n.send()};if(sessionStorage.liveTimestamp&&sessionStorage.live){try{var n=JSON.parse(sessionStorage.live);e(n)}catch(e){}if(sessionStorage.liveTimestamp){var i=Number(sessionStorage.liveTimestamp);Date.now()-i>6e4&&t(i)}}else t()}));})({"liveNow":"Live Now","link":"https:\/\/www.whitehouse.gov\/live\/","route":"https:\/\/www.whitehouse.gov\/live.json"});