(function(d, ver) { var onload = function (container, isProduction = false) { const params = { container: container, location: 'page', userName: Air.get('module.auth_data').get().name || '', }; if (isProduction) { params.css = window.__specials_cdn + 'ActivisionSpy/css/all.min.css?' + ver; } new SpecialActivisionSpy.Special(params); }; var container = d.getElementById('special-activision-spy'); if (container) { if (typeof SpecialActivisionSpy === 'undefined') { var s = d.createElement('script'); s.src = window.__specials_cdn + 'ActivisionSpy/js/all.min.js?' + ver; s.async = true; s.onload = function () { onload(container, true); }; d.body.appendChild(s); } else { onload(container); } } })(document, window.__specials_version);