"use strict";!function(){var i={initialize:function(){this.initializeSsoTools(),this.addEmailToMenu()},initializeSsoTools:function(){i.debug()&&console.log("DEBUG: MNG_SSO_TOOLS_GLOBAL_START"),this.startTimer(),"undefined"!=typeof MNG_SSO_CONNEXT_EVENT_TIMING_ANALYTICS&&(i.debug()&&console.log("DEBUG: MNG_SSO_CONNEXT_EVENT_TIMING_ANALYTICS global detected"),this.connextEvents())},debug:function(){var o=!1;return o="undefined"!=typeof MNG_SSO_TOOLS_DEBUG?!0:o},pushToGA:function(o){void 0!==window.MG2DL?(i.debug()&&console.log("DEBUG: MG2DL object available; payload to push: "+JSON.stringify(o)),window.MG2DL.push(o)):(i.debug()&&(console.log("DEBUG: MG2DL not available, setting 5-second timeout to retry"),console.log("DEBUG: Payload to push - "+JSON.stringify(o))),setTimeout(i.pushToGA,5e3,o)),void 0!==window.dataLayer&&(i.debug()&&console.log("DEBUG: MNGDL object available; payload to push: "+JSON.stringify(o.Auth0SocialConnection)),"undefined"!=typeof dataLayer)&&dataLayer.push({Auth0SocialConnection:o.Auth0SocialConnection})},startTimer:function(){var o=this,n=(o.debug()&&console.log("DEBUG: hit startTimer function"),Date.now());o.debug()&&console.log("DEBUG: start timer: "+JSON.stringify(n)),window.MNG_SSO_TOOLS_GLOBAL_START_TIME=n,performance.mark("startTimer"),o.connextLoginButtonTimer(n)},connextLoginButtonTimer:function(n){var e=this;e.debug()&&console.log("DEBUG: hit connextLoginButtonTimer function"),e.debug()&&console.log("DEBUG: start timer: "+JSON.stringify(n)),document.addEventListener("onFinish",function(){performance.mark("connext_onFinish");var o=Date.now(),o=(e.debug()&&console.log("DEBUG: stop timer: "+JSON.stringify(o)),o-n);e.debug()&&console.log("DEBUG: diff timer: "+JSON.stringify(o)),"undefined"!=typeof dataLayer&&dataLayer.push({"Timer.LoginButtonShown":o})})},getCookie:function(o){for(var n,e=o+"=",i=void 0,o=void 0,t=document.cookie.split(";"),l=0;l .log-out-button > a").text(n))})}};i.initialize()}();