/*! For license information please see sso-test-mode-banner.chunk.fd128de08cb82356e881.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[1692],{BRQu:function(e,n,t){"use strict";t.r(n);var i=t("/m4v"),o=t("tOpy"),s=t("4ANL"),c=t("JMSf"),a=t("iTBJ");const r=Object(o.createSelector)(e=>Object(c.e)(e).email,e=>({email:e}));n.default=Object(i.b)(r,{onExitTestMode:s.v})(a.a)},BuPR:function(e,n,t){"use strict";var i=t("GXOG");n.a=Object(i.c)({ssoTestModeInlineMessageTitle:{defaultMessage:"You are in single sign-on test mode",description:"Message title for inline message when in test mode in the login screen",id:"cv.login.test.mode.inline.message.title"},ssoTestModeInlineMessageContent:{defaultMessage:"You are using a unique URL to test single sign-on. To return to your regular site, exit test mode.",description:"Message content for inline message when in test mode in the login screen",id:"cv.login.test.mode.inline.message.content"}})},JMSf:function(e,n,t){"use strict";t.d(n,"c",(function(){return o})),t.d(n,"d",(function(){return s})),t.d(n,"b",(function(){return c})),t.d(n,"e",(function(){return a})),t.d(n,"a",(function(){return r}));const i=e=>e.persisted.login,o=e=>{const n=i(e);return n&&"login"in n&&n.login?n.login:void 0},s=e=>{var n;const t=i(e);return t&&"login"in t&&t.login?null===(n=t.login)||void 0===n?void 0:n.loginAnnouncementLocale:void 0},c=e=>{const n=o(e);return void 0!==n&&void 0!==n.redirectUrl},a=e=>e.ui.login,r=e=>{const n=a(e);return void 0!==(e=>a(e).error)(e)||void 0!==n.loginAttemptResponse&&!n.loginAttemptResponse.loginSucceeded}},iTBJ:function(e,n,t){"use strict";var i=t("mXGw"),o=t("UutA"),s=t("I7SF"),c=t("QdeY"),a=t("caJE"),r=t("XRcJ"),l=t("0fCp"),u=t("Zzt8"),d=t("BuPR");n.a=e=>{const{formatMessage:n}=Object(s.a)(),[t]=Object(c.l)(l.e),{email:o,onExitTestMode:m}=e,p=Object(i.useCallback)(()=>{m(o)},[o,m]),f=Object(i.useMemo)(()=>Object(u.w)(t),[t]),v=Object(i.useCallback)(e=>i.createElement(a.a,{appearance:"link",onClick:p,actionSubjectId:"exitTestModeLink",spacing:"none"},e),[p]);return i.createElement(i.Fragment,null,f&&i.createElement(g,null,i.createElement(r.a,{appearance:"warning",title:n(d.a.ssoTestModeInlineMessageTitle)},n(d.a.ssoTestModeInlineMessageContent,{a:v}))))};const g=o.c.div`padding:${"var(--ds-space-100, 8px)"} ${"var(--ds-space-800, 64px)"};display:flex;justify-content:center;background-color:${"#fff7d6"};`}}]); //# sourceMappingURL=../sourcemaps/sso-test-mode-banner.chunk.fd128de08cb82356e881.js.map