'),setTimeout(function(){t.getElementById("fallback").style.visibility="visible"},0)},n.functions.appendBrandToURL=function(e){return/__tactic_brand/.test(e)?e:e+(/\?/.test(e)?"&":"?")+"__tactic_brand="+encodeURIComponent(n.brand)},n.functions.sanitizeProtocol=function(t){var o=n.protocol||"",r=o.length?o+":":"";return""==o&&"file:"===e.location.protocol&&(r="http:"),t.replace(/^([a-z]+\:?\/?)?\/\//i,r+"//")},n.functions.loadScript=function(o,r,i,a){if(i="boolean"==typeof i?i:null,a="boolean"==typeof a?a:null,"string"==typeof o){var l=t.getElementsByTagName("body")[0],c=t.createElement("script"),s=function(){c.parentNode||l.lastChild.parentNode.insertBefore(c,l.lastChild.nextSibling)},d=function(e){c._callbackExecuted||(c._callbackExecuted=!0,c.onload=c.onreadystatechange=c.onerror=null,r&&setTimeout(function(){e||n.functions.registerError("ScriptLoadFailure",{scriptSrc:c.src}),r(e,c)},0))},f=function(n){if(n=n||e.event,n&&"load"===n.type)d(!0);else if(/loaded|complete/.test(c.readyState)&&(!t.documentMode||t.documentMode<9)){var o=c.readyState;c.children,d(!("loaded"===o&&"loading"===c.readyState))}},u=function(e){d(!1)};null!==i&&(c.async=i),null!==a&&(c.defer=a),c.onload=c.onreadystatechange=f,c.onerror=u,c[[String.fromCharCode(115),"r","c"].join("")]=n.functions.sanitizeProtocol(o),n.browser.ieOld||s()}else if(o.length){var p,g,b=o.length,m=!1,$=!0,y=[];for(p in o){var h=function(e,n){if(y.push({success:e,element:n}),b===y.length&&!m){m=!0;for(g in y)if(y[g].success===!1){$=!1;break}setTimeout(function(){r($,y)},0)}};n.functions.loadScript(o[p],h,i,a)}}},function(e,n){return e.browser.ie7&&!e.browser.ieCompatMode||e.browser.ie6?(n.showFallback(),void n.registerError("UnsupportedBrowser",{userAgent:navigator.userAgent})):void n.loadScript(n.appendBrandToURL("https://cdn.app.tacticrealtime.com/data/5712704b090598480817602ca307e5dd/timeline/native/web")+"&ac-"+(new Date).valueOf().toString(32)+"=1",function(e,t){e||n.showFallback()},!1)}(n,n.functions)}(window,tactic,document);