");!o&&e&&(o=e.message||e.statusText||"Unknown Error"),n(o,t,"error")}},clearMessage:i}}(),i=function(){var t,o,n=document.getElementById("loading-bar"),a=0,i=l.length,s=0,r=i+m.length,c=!1,d=function(){if(window.localStorage&&void 0===d){var e=window.localStorage.getItem("com.sumologic.lastOpen")||0,t=(new Date).getTime();d=1e4Use of this System is for Authorized purposes only- You are accessing a U.S. Government Information System.
- System usage may be monitored, recorded, and subject to audit.
- Unauthorized use of the information system is prohibited and subject to criminal and civil penalties.
- Use of the System indicates consent to monitoring and recording.
'),n.loginContainer.insertBefore(n.loginForm,n.loginContainer.childNodes[1]),n.emailInput.focus()}function r(){var e=n.emailInputForgotPassword;e&&(e.value=n.emailInput.value||y("forgotPassword")),i(),c(),n.loginContainer.insertBefore(n.forgotPasswordForm,n.loginContainer.childNodes[1]),n.emailInputForgotPassword.focus()}function c(){v(n.loginForm),v(n.mfaForm),v(n.forgotPasswordForm)}return{showLoading:function(){h("showLoading"),e.startProgress(),n.loginContainer.classList.remove("show-login"),o.style.display="block"},showLoginForm:s,showForgotPassword:r,showMfaForm:function(e,t){h("response",arguments),i(),c(),a.handleMfa(e,function(){n.loginContainer.insertBefore(n.mfaForm,n.loginContainer.childNodes[1]),n.codeInput.focus()},t)},swapToApp:function(){a.removeListeners(),window.removeEventListener("hashchange",u),n.loginContainer.classList.remove("show-login"),v(o),v(n.loading)},swapToForms:function(){0===document.location.hash.indexOf("#/forgot-password")||y("forgotPassword")?r():s()},removeForms:c}}(i,n),L=function(e,t){var o=document.getElementById("prefetch-container"),i=document.createElement("div"),s={img:{},script:{async:!1,type:"text/javascript",defer:!0},link:{rel:"stylesheet",type:"text/css",charset:"utf-8"}};function n(e,n,a){e.forEach(function(e){var t=document.createElement(n);t["link"===n?"href":"src"]=e;var o=r(s[n],a||{});Object.keys(o).forEach(function(e){t[e]=o[e]}),i.appendChild(t)})}return{schedulePrefetching:function(){requestAnimationFrame(function(){n(l,"script",{onload:function(){e.increaseLoadCounter("script"),e.hasFinishLoading()&&!window.shouldDelayBento&&(h("finished loading...bootstrapping bento"),setTimeout(t.swapToApp,a))}}),n(m,"link",{onload:function(){e.increaseLoadCounter("style"),f&&e.hasFinishLoading()&&!window.shouldDelayBento&&(h("finished loading...bootstrapping bento"),setTimeout(t.swapToApp,a))}}),n(["images/illuminate.jpg?v=82ffe090","images/sumologic-login.png?v=6b4cc74e","images/spin.gif?v=8d855bcd","images/tipsy.gif?v=7473ff38","images/white.png?v=f4e8550a","images/icons/16/error.png?v=7401beb1","images/icons/12/side_arrow.png?v=f99bea22","images/header/trans-black-67pct.png?v=ceeec61b","images/header/trans-black-85pct.png?v=d3ab1941","css/Aristo/images/icon_sprite.png?v=1912051310"],"img"),o.appendChild(i)})}}}(i,s),S=function(a,i,s){var r=document.querySelector(".signin-button"),c=document.getElementById("login-messages"),d=!1,u=void 0;function g(e,t){var o=document.createElement(e);return Object.keys(t).forEach(function(e){o.setAttribute(e,t[e])}),o}function n(){a.cancelProgress(),d=!1,r.innerHTML="Sign in",r.disabled=!1}function l(e){var t,o,n,a=!1;if("auth1:redirect_to_other_deployment"===e.errorKey){var i=(e.keyedErrors||[])[0]||{},s=i.values&&i.values.tryAt||"",r=(document.querySelector("input[name=email]").value||"").trim(),c=(document.querySelector("input[name=password]").value||"").trim();if(s){h("Redirecting to ["+s+"] with "+r);var d=g("form",{action:s+"/json/v1/authentication/redirectedloginwithcredentials",method:"POST",target:"_top",style:"display: none;"});d.appendChild(g("input",{name:"email",value:r,type:"hidden"})),d.appendChild(g("input",{name:"password",value:c,type:"hidden"}));var u=y("return_to"),l=(t=u,o=y("provider"),n=-1!=t.indexOf("sumologic")||-1!=t.indexOf("zendesk"),{aha:"aha",salesforce:"salesforce",mindtouch:"mindtouch",talentlms:"talentlms"}[o]||(n?"zendesk":"")),m=y("SAMLRequest"),f=y("RelayState");l&&(d.appendChild(g("input",{name:"provider",value:l,type:"hidden"})),m&&(d.appendChild(g("input",{name:"SAMLRequest",value:m,type:"hidden"})),d.appendChild(g("input",{name:"RelayState",value:f,type:"hidden"}))),u&&d.appendChild(g("input",{name:"return_to",value:u,type:"hidden"}))),document.body.appendChild(d),d.submit(),a=!0}}return a}function m(){var e,t,o,n;performance.mark("HEIMDALL_LOGIN_VIEW_DONE"),clearTimeout(u),w&&(e="ASID",t=w,o=3e5,n=new Date((new Date).getTime()+o),document.cookie=[encodeURIComponent(e)+"="+encodeURIComponent(t),"expires="+(o?n.toUTCString():0),"path=/"].join(";")),localStorage.setItem("ui.justLoggedIn","true"),window.shouldDelayBento=!1,a.hasFinishLoading()?(window.loadBento(),i.swapToApp()):a.startProgress()}function f(e){if(w=e.apiSessionId||"")if(localStorage.removeItem("ui.2fa.setup"),e.mfaStatus)if("REQUIRES_VALIDATION"===e.mfaStatus)a.cancelProgress(),i.showMfaForm(e,m);else{localStorage.setItem("ui.2fa.setup","true");try{var t=JSON.stringify({asid:(o=e).apiSessionId,canRememberMfa:o.canRememberMfa,mfa_status:o.mfaStatus,qrUrl:o.qrUrl});localStorage.setItem("ui.2fa.params",t)}catch(e){}m()}else m();else l(e)||(n(),s.handleErrors(e,c));var o}function p(e){n(),s.handleErrors(e,c)}return function e(){!w&&_()?m():(clearTimeout(u),u=setTimeout(e,500))}(),{doLogin:function(e){e.preventDefault(),e.stopPropagation(),s.clearMessage(c);var t=(document.querySelector("input[name=email]").value||"").trim(),o=(document.querySelector("input[name=password]").value||"").trim();if(t&&o&&!d){a.startProgress(),d=!0,r.innerHTML='',r.disabled=!0;var n=(location.href.match(/[?&]customerId=([^]*)/i)||[])[1];b("../json/v1/authentication/loginwithcredentials","POST",JSON.stringify({email:t,password:o,customerId:n}),f,p)}},doForgotPassword:function(){document.location.hash="/forgot-password"},handleUrlReasons:function(){var e=(document.location.search.match(/[?&]reason=([^&]*)/)||[])[1]||"";s.handleReason(e,c,!1)}}}(i,s,n),E=function(n,e,a){var i=document.querySelector("#forgot-password-form"),s=document.querySelector("#forgot-password-success"),r=document.getElementById("forgot-password-messages"),c=document.getElementById("forgot-password-submit"),d=document.querySelector("#forgot-password input[name=email]");function u(){n.cancelProgress(),c.innerHTML="Send Link",c.disabled=!1}function l(e){if(u(),e.success)i.setAttribute("style","display: none;"),s.setAttribute("style","display: block;");else{var t=e.redirectedUrl||"";if(""!==t.trim()){var o=(d&&d.value||"").trim();h("ForgotPassword redirecting to "+t),document.location.assign(t+"/ui/?forgotPassword="+encodeURIComponent(o))}}}function m(e){u();var t=e&&e.errors&&e.errors[0]||{};a.handleErrors(t,r)}function t(e){a.handleErrors("",r);var t,o=(d&&d.value||e||"").trim();return o&&(t=o,new RegExp(/^[\w\._+\-$!#%&'*/=?^_`.{|}]*@(?:[\w\-]+[\.]?)*[\w\-]\.[a-zA-Z]{1,24}$/).test(t))?(n.startProgress(),c.innerHTML='',c.disabled=!0,b("../json/v1/authentication/requestpasswordreset?email="+encodeURIComponent(o),"GET",null,l,m)):a.handleErrors({message:"Please enter a valid email."},r,!0),!1}return{sendForgotPasswordLink:t,checkInitialTasks:function(){var e=y("forgotPassword").trim();e&&t(e)}}}(i,0,n),I=(function(){var o=.5,s={default:{title:"Check out our recent updates to get more value out of Sumo Logic",buttonText:"What's new",buttonLink:"https://www.sumologic.com/whats-new/",supportText:"",className:"default"},illuminate19:{end:15724188e5,title:"Burlingame, CA | Sept. 11-12",buttonText:"Register now",buttonLink:"https://www.sumologic.com/illuminate2019/attend/",supportText:'See business differently',className:"illuminate"},k8s:{start:0,end:15777792e5,weight:o,title:["Don't miss out on the new Kubernetes Observability Solution.","Try it out before Dec 31st to get free metrics capacity"].join("
"),buttonText:"Learn more",buttonLink:"https://help.sumologic.com/Solutions/Kubernetes_Solution",supportElement:'
',className:"k8s"}},r=Object.keys(s).map(function(e){return s[e]}).filter(function(e){return e}),e=function(){var e,t=s[(document.location.href.match(/[?&]b=([^&]*)/)||[])[1]];if(!t){var o=r.filter(d),n=o.reduce(u,0),a=Math.random()*n,i={banner:void 0,remainingWeight:a};e=o.reduce(l,i).banner||s.default}return t||e}(),t=document.getElementById("footer-animation-container"),n=document.getElementById("footer-title"),a=document.getElementById("footer-cta"),i=document.getElementById("footer-support-element"),c=document.getElementById("footer-support-text");function d(e){var t=(new Date).getTime();return!(e.start>=t||e.end<=t)}function u(e,t){return e+(t.weight||o)}function l(e,t){return 0