An error has occurred

{{terminalError}}

function ignAddThemeClassToDocument(theme) { if (!theme) return; const classPrefix = 'ign-theme-'; const html = document.querySelector('html'); const classes = html.className.split(' '); for (let i = 0; i !== classes.length; i++) { if (classes[i].indexOf(classPrefix) === 0) { html.classList.remove(classes[i]); } } html.classList.add(classPrefix + theme); } const template = document.querySelector('.ign-base-template.ign-template'); const templateScope = angular.element(template).scope(); templateScope.$watch('custom.theme', (value) => ignAddThemeClassToDocument(value)); window.addEventListener('message', (event) => { if (event.data.theme) { templateScope.custom.theme = event.data.theme; } }); templateScope.ignHeader = `IGN Live: More Partners Revealed`; templateScope.actionButtonText = `Get Tickets`; templateScope.actionButtonUrl = `https://www.ign.com/live?utm_source=piano&utm_medium=ign-web&utm_campaign=IGN Live`; templateScope.ignSubTitle = `The epic in-person event is coming to Los Angeles this June 7-9 `; templateScope.ignImage = `https://assets-prd.ignimgs.com/2024/04/11/ignlive-promo-blogroll-1712844085443.jpg?fit=bounds&width=640`; templateScope.ignText = `Live tapings of IGN Podcasts, the director and cast of Borderlands, Xbox's Phil Spencer and more to be announced will make appearances along with exclusive reveals, demos and screenings. Dont miss out! Tickets as low as $25`; templateScope.compactActionButton = `false` === 'true'; const wideBreakPoint = 640; templateScope.ignIsWide = document.querySelector(".ign-base-template.ign-template").offsetWidth > wideBreakPoint; const resizeObserver = new ResizeObserver(function(entries) { const entry = entries[0]; if (!entry || !entry.contentRect) return; templateScope.ignIsWide = entry.contentRect.width > wideBreakPoint; }); resizeObserver.observe(document.querySelector(".ign-base-template.ign-template"));
{{ignHeader}}
{{ignSubTitle}}
{{ignText}}