<!DOCTYPE html><!--[if lt IE 9]><html lang="en" class="no-js lower-than-ie9 ie desktop"><![endif]--><!--[if lt IE 10]><html lang="en" class="no-js lower-than-ie10 ie desktop"><![endif]--><!--[if !IE]>--><html lang="en" class="no-js desktop"><!--<![endif]--><head><script src="https://www.paypalobjects.com/web/res/c54/359e968cf4b91a2096b1cc7bb621b/js/xhr-ads.min.js"></script><!--Script info: script: node, template: , date: Aug 27, 2019 17:39:59 -07:00, country: US, language: en web version: content version: hostname : rZJvnqaaQhLn/nmWT8cSUm+72VQ7inHLmNSWW7oQxSqkM7CaNNY3vw+kpLkrslbSXrU+FRaf+BE rlogid : rZJvnqaaQhLn%2FnmWT8cSUotSylMGOTGkRUMDpmUTvbXdvevuMMFAfVANbpv53MZEySepZVSpTWRYJ8c9hOdmTdH9%2FpRYoh4f_16cd5aa3e61 --><meta charset="utf-8" /><title>Log in to your PayPal account</title><meta http-equiv="content-type" content="text/html; charset=UTF-8" /><meta name="application-name" content="PayPal" /><meta name="msapplication-task" content="name=My Account;action-uri=https://www.paypal.com/us/cgi-bin/webscr?cmd=_account;icon-uri=https://www.paypalobjects.com/en_US/i/icon/pp_favicon_x.ico" /><meta name="msapplication-task" content="name=Send Money;action-uri=https://www.paypal.com/us/cgi-bin/webscr?cmd=_send-money-transfer&send_method=domestic;icon-uri=https://www.paypalobjects.com/en_US/i/icon/pp_favicon_x.ico" /><meta name="msapplication-task" content="name=Request Money;action-uri=https://personal.paypal.com/cgi-bin/?cmd=_render-content&content_ID=marketing_us/request_money;icon-uri=https://www.paypalobjects.com/en_US/i/icon/pp_favicon_x.ico" /><meta name="keywords" content="transfer money, email money transfer, international money transfer " /><meta name="description" content="Transfer money online in seconds with PayPal money transfer. All you need is an email address." /><link rel="shortcut icon" href="https://www.paypalobjects.com/en_US/i/icon/pp_favicon_x.ico" /><link rel="apple-touch-icon" href="https://www.paypalobjects.com/webstatic/icon/pp64.png" /><link rel="canonical" href="https://www.paypal.com/us/signin" /><meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=2, user-scalable=yes" /><meta property="og:image" content="https://www.paypalobjects.com/webstatic/icon/pp258.png" /><link rel="stylesheet" href="https://www.paypalobjects.com/web/res/033/87c4cc9a40a67d338a9fbd7ffc6ab/css/contextualLogin.css" /><!--[if lte IE 9]><link rel="stylesheet" href="https://www.paypalobjects.com/web/res/033/87c4cc9a40a67d338a9fbd7ffc6ab/css/ie9.css" /><![endif]--><script nonce="pT1fXaBFK/Em0MQMzrWl7PQh2FeMUj0qYjfb0GGTZ4CqeItS">window.Modernizr=function(e,t,n){function r(e){d.cssText=e}function i(e,t){return r(prefixes.join(e+";")+(t||""))}function s(e,t){return typeof e===t}function o(e,t){return!!~(""+e).indexOf(t)}function u(e,t,r){for(var i in e){var o=t[e[i]];if(o!==n)return r===!1?e[i]:s(o,"function")?o.bind(r||t):o}return!1}var a="2.6.1",f={},l=!0,c=t.documentElement,h="modernizr",p=t.createElement(h),d=p.style,v,m={}.toString,g={},y={},b={},w=[],E=w.slice,S,x={}.hasOwnProperty,T;!s(x,"undefined")&&!s(x.call,"undefined")?T=function(e,t){return x.call(e,t)}:T=function(e,t){return t in e&&s(e.constructor.prototype[t],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if(typeof t!="function")throw new TypeError;var n=E.call(arguments,1),r=function(){if(this instanceof r){var i=function(){};i.prototype=t.prototype;var s=new i,o=t.apply(s,n.concat(E.call(arguments)));return Object(o)===o?o:s}return t.apply(e,n.concat(E.call(arguments)))};return r});for(var N in g)T(g,N)&&(S=N.toLowerCase(),f[S]=g[N](),w.push((f[S]?"":"no-")+S));return f.addTest=function(e,t){if(typeof e=="object")for(var r in e)T(e,r)&&f.addTest(r,e[r]);else{e=e.toLowerCase();if(f[e]!==n)return f;t=typeof t=="function"?t():t,l&&(c.className+=" "+(t?"":"no-")+e),f[e]=t}return f},r(""),p=v=null,function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=g.elements;return typeof e=="string"?e.split(" "):e}function i(e){var t=v[e[p]];return t||(t={},d++,e[p]=d,v[d]=t),t}function s(e,n,r){n||(n=t);if(m)return n.createElement(e);r||(r=i(n));var s;return r.cache[e]?s=r.cache[e].cloneNode():c.test(e)?s=(r.cache[e]=r.createElem(e)).cloneNode():s=r.createElem(e),s.canHaveChildren&&!l.test(e)?r.frag.appendChild(s):s}function o(e,n){e||(e=t);if(m)return e.createDocumentFragment();n=n||i(e);var s=n.frag.cloneNode(),o=0,u=r(),a=u.length;for(;o<a;o++)s.createElement(u[o]);return s}function u(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return g.shivMethods?s(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/\w+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(g,t.frag)}function a(e){e||(e=t);var r=i(e);return g.shivCSS&&!h&&!r.hasCSS&&(r.hasCSS=!!n(e,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),m||u(e,r),e}var f=e.html5||{},l=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,c=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,h,p="_html5shiv",d=0,v={},m;(function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",h="hidden"in e,m=e.childNodes.length==1||function(){t.createElement("a");var e=t.createDocumentFragment();return typeof e.cloneNode=="undefined"||typeof e.createDocumentFragment=="undefined"||typeof e.createElement=="undefined"}()}catch(n){h=!0,m=!0}})();var g={elements:f.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:f.shivCSS!==!1,supportsUnknownElements:m,shivMethods:f.shivMethods!==!1,type:"default",shivDocument:a,createElement:s,createDocumentFragment:o};e.html5=g,a(t)}(this,t),f._version=a,c.className=c.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(l?" js "+w.join(" "):""),f}(this,this.document); </script><style id="antiClickjack">body {display: none !important;}</style><script nonce="pT1fXaBFK/Em0MQMzrWl7PQh2FeMUj0qYjfb0GGTZ4CqeItS">/* Special integration eligibility check */function isEligibleIntegration() {var sxf = "";return sxf === 'true' || window.name === 'PPFrameRedirect';}/* Don't bust the frame if this is top window */if (self === top || isEligibleIntegration()) {var antiClickjack = document.getElementById("antiClickjack");if (antiClickjack) {antiClickjack.parentNode.removeChild(antiClickjack);}} else {top.location = self.location;}</script></head><body class="desktop"data-rlogid="rZJvnqaaQhLn%2FnmWT8cSUotSylMGOTGkRUMDpmUTvbXdvevuMMFAfVANbpv53MZEySepZVSpTWRYJ8c9hOdmTdH9%2FpRYoh4f_16cd5aa3e61"data-hostname="rZJvnqaaQhLn/nmWT8cSUm+72VQ7inHLmNSWW7oQxSqkM7CaNNY3vw+kpLkrslbSXrU+FRaf+BE"data-production="true"data-enable-ads-captcha="true"data-ads-challenge-url="/auth/createchallenge/b848d8d14d374bcd/challenge.js"data-enable-client-cal-logging="true"data-correlation-id="8c770209bae4b"data-is-webkit-browser="true"data-enable-fn-beacon-on-web-views="true"data-phone-password-enabled="true"data-is-hybrid-login-experience="true"data-tealeaf-enable="true"data-csrf-token="vR2xUtL3aWUAmeYXYi3wZ/kpZn4RsFXQwYKQ0="data-nonce="pT1fXaBFK/Em0MQMzrWl7PQh2FeMUj0qYjfb0GGTZ4CqeItS"data-tealeaf-url="https://www.paypalobjects.com/web/res/033/87c4cc9a40a67d338a9fbd7ffc6ab/js/lib/tealeaf-ul-prod_domcap.min.js"data-lazy-load-country-codes="true"><noscript><p class="nonjsAlert" role="alert">NOTE: Many features on the PayPal Web site require Javascript and cookies.</p></noscript><div id="main" class="main" role="main"> <section id="slLanding" class="slLanding hide" data-role="page" data-title="Connect your Google account, check out faster on your devices"><div class="corral"><div id="slContent" class="contentContainer contentContainerBordered"><header><p class="paypal-logo paypal-logo-long"></p></header><div id="linked" class="linked "><div class="profileRemembered"><span class="loginEmail"></span><a href="#" class="changeLink scTrack:not-you" id="changeLink">Change</a></div><div class="headerTextDecorated"></div><h1 class="headerText">Stay logged in for faster checkout</h1><p class="description assure">Enable auto login on this browser and speed through checkout every time. (Not recommended for shared devices.)<span class="learnMoreLink"><a href="#" id="slLoginLearnMore" class="secondayLink">What's this?</a></span></p><div id="partnerProfile" class="partnerProfile"><div id="partnerPhoto" class="partnerPhoto" style="background-image: url('')"></div><div class=partnerDetails><span>You're logged in as</span><div id="displayName" class="displayName"></div><div><div class="partnerEmailDiv"><span class="partnerIcon"></span><span id="partnerEmail" class="partnerEmail"></span><span id="partnerEmailDomain"></span></div></div></div></div><div class="actions actionsSpacedShort"><button class="button actionContinue scTrack:unifiedlogin-continue" id="continueBtn" name="continueBtn" value="continueBtn">Agree & Continue</button></div><div id="secondaryLogin" class="buttonAsLink secondaryLink"><button class="scTrack:unifiedlogin-use-password" id="secondaryLoginBtn" name="secondaryLoginBtn" value="secondaryLoginBtn">Use password instead</button></div></div><div id="unlinked" class="unlinked "><div id="headerIcon" class="partnerConnect"></div><h1 class="headerText">Connect your Google account, check out faster on your devices</h1><p class="description assure">Automatically log in to PayPal for faster checkout without typing your password wherever you're logged in with your Google account.<a href="#" id="slOptInlearnMore" class="secondayLink scTrack:unifiedlogin-sl-whatsthis">What's this?</a></p><p class="secondaryLink hide" id="slOptIn_notNow"><a href="#">Not now</a></p></div><div id="learnMoreModal" class="learnMoreModal"><div id="optInLearnMoreDesc" class="optInLearnMoreDesc "><h1 class= "headerText headerTextSpaced">Why connect my Google account?</h1><p> Linking your Google account allows you to activate One Touch quickly and easily when you check out. You can always opt out later in Settings at PayPal.com.</p><p> Whenever you check out on a new device and browser when logged in with your Google account, you can automatically log in at checkout without typing your password.</p></div><div id="slLoginLearnMoreDesc" class="slLoginLearnMoreDesc "><h1 class= "headerText headerTextSpaced">Stay logged in for faster checkout</h1><p> Skip typing your password by staying logged in on this device. For security, we'll occassionally ask you to log in, including every time you update your personal or financial info. We don't recommend using One Touch on shared devices. Turn this off at any time in your PayPal settings.</p></div><button type="button" class="ui-dialog-titlebar-close"></div><div class="intentFooter"><div class="localeSelector"><ul class="localeLink"><li><a class="selected scTrack:unifiedlogin-footer-language_en_US" href="/signin&country.x=US&locale.x=en_US&langTgl=en" data-locale="en_US">English</a></li><li><a class=" scTrack:unifiedlogin-footer-language_fr_XC" href="/signin&country.x=US&locale.x=fr_XC&langTgl=fr" data-locale="fr_XC">Français</a></li><li><a class=" scTrack:unifiedlogin-footer-language_es_XC" href="/signin&country.x=US&locale.x=es_XC&langTgl=es" data-locale="es_XC">Español</a></li><li><a class=" scTrack:unifiedlogin-footer-language_zh_XC" href="/signin&country.x=US&locale.x=zh_XC&langTgl=zh" data-locale="zh_XC">ä¸æ–‡</a></li></ul></div></div></div></div></section><section id="login" class="login " data-role="page" data-title="Log in to your PayPal account"><div class="corral"><div id="content" class="contentContainer activeContent contentContainerBordered"><header ><p class="paypal-logo paypal-logo-long"></p></header><h1 class="headerText accessAid">Log in to your PayPal account</h1><p id="phoneSubTagLine" class="subHeaderText hide">Already set up to use your mobile number to log in? Type it below. Otherwise, click the link to log in with email.</p><div class="notifications"></div><div id="keychainErrorMessage" class="hide"><p class="notification notification-warning blocked-on-8ball hide">PayPal One Touch™ only works for checkout. Please login with your email.</p><p class="notification notification-warning blocked-on-risky-login hide">Please login with your email and password.</p><p class="notification notification-critical keychain-activation-failure hide">Something went wrong on our end. Please login with your email and password.</p></div><!-- temporary addition of notification which will just be displayed after clicking next in the phone page. This is for mobile ID login initial ramp and should be removed when we do public credential check --><div id="phoneNotSetUpTempNotification" class="notifications hide"><p class="notification notification-warning" role="alert">It looks like the number you typed is not set up for login. Try again or <a href="#" id="switchToEmailNotification">use email instead.</a></p></div><form action="/signin" method="post" class="proceed maskable" autocomplete="off" name="login"autocomplete="off" novalidate><input type="hidden" id="token" name="_csrf" value="vR2xUtL3aWUAmeYXYi3wZ/kpZn4RsFXQwYKQ0="><input type="hidden" name="locale.x" value="en_US"><input type="hidden" name="processSignin" value="main"><input type="hidden" name="fn_sync_data" value="fn_sync_data"><input type="hidden" name="intent" value="signin" /><input type="hidden" name="ads-client-context" value="signin" /><input type="hidden" name="requestUrl" value="/signin" /><input type="hidden" name="forcePhonePasswordOptIn" value="" /><div class="profileDisplayName hide"></div><div class="profileRememberedEmail hide "><span class="profileDisplayPhoneCode" dir="ltr"></span><span class="profileDisplayEmail"></span><a href="#" class="notYouLink scTrack:not-you" id="backToInputEmailLink">Change</a></div><div id="splitEmail" class="splitEmail"><div id="splitEmailSection" class="splitPhoneSection splitEmailSection"><div class="countryPhoneSelectWrapper hide"><label class="accessAid"for="phoneCode">Choose your phone country code</label><select name="phoneCode" id="phoneCode" class="countryPhoneSelect"><option selected="selected"value="US +1" data-code="+1"data-country="US">United States (+1)</option></select><div class="countryPhoneSelectChoice"><span class="countryCode">US</span><span class="phoneCode">+1</span></div></div><div class="textInput " id="login_emaildiv"><div class="fieldWrapper "><label for="email" class="fieldLabel">Email or mobile number</label><input id="email"aria-label="login_emaildiv"name="login_email"type="email"class="hasHelp validateEmpty "required="required"value="" autocomplete= "off" placeholder= "Email or mobile number" aria-describedby="emailErrorMessage"/></div><div class="errorMessage"id="emailErrorMessage" ><p class="emptyError hide">Required</p><p class="invalidError hide">That email or mobile number format isn’t right</p></div></div> <div class="captcha captcha-container clearfix hide" id="splitHybridCaptcha"><div class="captcha-image"><img src="" alt="" /></div><div class="captcha-inputs clearfix"><div class="textInput " ><div class="fieldWrapper "><label for="splitHybridCaptcha" class="fieldLabel"></label><input id="splitHybridCaptcha"aria-label="splitHybridCaptcha"name="captchaCode"type="text"class="hasHelp validateEmpty "value="" autocomplete= "off" placeholder= "Enter code" aria-describedby="captchaErrorMessage"/></div><div class="errorMessage"id="captchaErrorMessage" ><p class="emptyError hide">Required</p></div></div><div class="refresh"><a href="" class="captchaRefresh buttonLight onboardingSpritePseudo scTrack:unifiedlogin-click-reload-captcha imageLink"><span class="accessAid">Reload Image</span></a></div><div class="audio"><audio role="application" id="captchaPlayer" src="" class="hide"></audio><a target="_blank" href="" class="captchaPlay buttonLight onboardingSpritePseudo scTrack:unifiedlogin-click-play-captcha-audio imageLink"><span class="accessAid">Audio Button</span></a></div></div></div></div><div class="actions"><button class="button actionContinue scTrack:unifiedlogin-login-click-next"type="submit"id="btnNext"name="btnNext"value="Next">Next</button></div><div class="tpdDemo hide" id="tpdDemo"><p class="tpdDemoContent">Log in with your email as usual, and then you'll be prompted to log in with your phone's biometrics.</p></div><input type="hidden" id="phone" name="login_phone" value="" class="validate" /></div><input type="hidden" name="initialSplitLoginContext" id=initialSplitLoginContext value="inputEmail" /><input type="hidden" name="isTpdOnboarded" id=isTpdOnboarded value="" /><div id="splitPassword" class="splitPassword hide"><div id="splitPasswordSection" class="hide "><div id="passwordSection" class="clearfix"><div class="textInput " id="login_passworddiv"><div class="fieldWrapper "><label for="password" class="fieldLabel">Password</label><input id="password"aria-label="login_passworddiv"name="login_password"type="password"class="hasHelp validateEmpty pin-password"required="required"value="" placeholder= "Password" aria-describedby="passwordErrorMessage"/><button type="button" class="showPassword hide show-hide-password scTrack:unifiedlogin-show-password" aria-label="Show password">Show</button><button type="button" class="hidePassword hide show-hide-password scTrack:unifiedlogin-hide-password" aria-label="Hide">Hide</button><div class="pwFpIcon hide" id="pwFpIcon"></div></div><div class="errorMessage"id="passwordErrorMessage" ><p class="emptyError hide">Required</p></div></div></div></div> <div class="captcha captcha-container clearfix hide" id="splitPasswordCaptcha"><div class="captcha-image"><img src="" alt="" /></div><div class="captcha-inputs clearfix"><div class="textInput " ><div class="fieldWrapper "><label for="splitPasswordCaptcha" class="fieldLabel"></label><input id="splitPasswordCaptcha"aria-label="splitPasswordCaptcha"name="captcha"type="text"class="hasHelp validateEmpty "value="" autocomplete= "off" placeholder= "Enter code" aria-describedby="captchaErrorMessage"/></div><div class="errorMessage"id="captchaErrorMessage" ><p class="emptyError hide">Required</p></div></div><div class="refresh"><a href="" class="captchaRefresh buttonLight onboardingSpritePseudo scTrack:unifiedlogin-click-reload-captcha imageLink"><span class="accessAid">Reload Image</span></a></div><div class="audio"><audio role="application" id="captchaPlayer" src="" class="hide"></audio><a target="_blank" href="" class="captchaPlay buttonLight onboardingSpritePseudo scTrack:unifiedlogin-click-play-captcha-audio imageLink"><span class="accessAid">Audio Button</span></a></div></div></div><div class="actions"><button class="button actionContinue scTrack:unifiedlogin-login-submit"type="submit"id="btnLogin"name="btnLogin"value="Login">Log In</button></div></div><input type="hidden" name="splitLoginContext" value="inputEmail" /></form><div class="moreOptionsDiv hide" id="moreOptionsContainer"><a href="#" id="moreOptions" class="moreOptionsInfo">More options</a><div class="bubble-tooltip hide" id="moreOptionsDropDown"><ul class="moreoptionsGroup"><li><a href="#" id="moreOptionsMobile" class="scTrack:unifiedlogin-click-more-options-mobile">Approve login using mobile device</a></li><li><a href="/authflow/password-recovery/?country.x=US&locale.x=en_US&redirectUri=%252Fsignin" class="scTrack:unifiedlogin-click-forgot-password pwrLink">Having trouble logging in?</a></li></ul></div></div><div class="forgotLink hide"><a href="/authflow/password-recovery/?country.x=US&locale.x=en_US&redirectUri=%252Fsignin" class="scTrack:unifiedlogin-click-forgot-password pwrLink">Having trouble logging in?</a></div><div class="pwr-modal forgotPasswordModal" id="password-recovery-modal"><iframe id="pwdIframe" data-src="/authflow/password-recovery/?country.x=US&locale.x=en_US&redirectUri=%252Fsignin" scrolling="no" data-auto-reload="true"></iframe><div class="monogram-small"></div></div><div id="signupContainer" class="signupContainer" data-hide-on-email="" data-hide-on-pass=""><div class="loginSignUpSeparator"><span class="textInSeparator">or</span></div><a role="button" href="/us/webapps/mpp/account-selection" class="button secondary scTrack:unifiedlogin-click-signup-button" id="createAccount">Sign Up</a></div><div id="tpdButtonContainer" class="signupContainer hide"><div class="loginSignUpSeparator"><span class="textInSeparator">or</span></div><div class="actions"><button class="button secondary" id= "tpdButton" type="submit" value="Approve login using mobile device">Approve login using mobile device</button></div></div></div></div></section><section id="verification" class="verification hide" data-role="page" data-title="Login Confirmation - PayPal"><div class="corral"><div class="contentContainer contentContainerLean"><div id="pending" class="verificationSubSection"><h1 class="headerText">Open the PayPal app</h1><p id="uncookiedMessage" class="verification-message hide">Open the PayPal app, tap Yes on the prompt, then tap <span class="twoDigitPin">{twoDigitPin}</span> on your phone to log in.</p><p id="cookiedMessage" class="verification-message hide">Open the PayPal app and tap Yes on the prompt to log in.</p><div class="notifications"></div><div class="accountArea"><span class="account"></span><span class="verificationNotYou"><a data-href="#" href="#" class="scTrack:unifiedlogin-verification-click-notYou" id="pendingNotYouLink">Not you?</a></span></div><div class="mobileNotification"><p class="pin"></p><div class="mobileScreen"><img src="https://www.paypalobjects.com/images/shared/icon-PN-check.png" alt="phone"></div></div><p class="tryAnotherMsg"><a id="tryPasswordLink" data-href="#" href="" class="inlineLink scTrack:try-password">Use password instead</a></p><p class="resendMsg"><a class="inlineLink scTrack:resend hide" role="button" data-href="#resend" href="" id="resend">Resend</a><span class="sentMessage hide">Sent</span></p></div><div id="expired" class="hide verificationSubSection"><header><p class="paypal-logo paypal-logo-long">PayPal</p></header><h1 class="headerText headerTextWarning">Sorry, we couldn't confirm it's you</h1><p class="slimP">We didn't receive a response so we were unable confirm your identity.</p><button id="expiredTryAgainButton" class="button actionsSpaced">Try Again</button></div><div id="denied" class="denied hide verificationSubSection"><img alt="" src="https://www.paypalobjects.com/images/shared/glyph_alert_critical_big-2x.png" class="deniedCaution"/><h1 class="headerText">Sorry, we couldn't confirm it's you</h1><p>Need a hand?, <a href="/{coBrand}/cgi-bin/helpscr?cmd=_help" class="inlineLink scTrack:help">We can help</a>.</p></div></div></div></section><footer class="footer" role="contentinfo"><div class="legalFooter"><ul class="footerGroup"><li><a target="_blank" href="/us/cgi-bin/webscr?cmd=_help">Contact Us</a></li><li><a target="_blank" href="/us/webapps/mpp/ua/privacy-full">Privacy</a></li><li><a target="_blank" href="/us/webapps/mpp/ua/legalhub-full">Legal</a></li><li><a target="_blank" href="/us/webapps/mpp/country-worldwide">Worldwide</a></li></ul></div></footer></div><div class="transitioning hide "><p class="checkingInfo hide">Checking your info…</p><p class="oneSecond hide">Just a second…</p><p class="secureMessage hide">Securely logging you in...</p><p class="oneTouchMessage hide"></p><p class="retrieveInfo hide">Retrieving your info...</p><p class="waitFewSecs hide">This may take a few seconds...</p><div class="keychain spinner-content uiExp hide"></div></div><script nonce="pT1fXaBFK/Em0MQMzrWl7PQh2FeMUj0qYjfb0GGTZ4CqeItS">var PAYPAL = PAYPAL || {};PAYPAL.slData = {"slSessionChkTimeout": "","slOptInTimeout": "","slAuthChkTimeout": "","slTokenValidationTimeout": "","slDisplayMerchantLink": "","slAction": "","smartlockStatus": "","slLinkedEmail": "","slFrameSrc": "","slAuthUrl": "","partnerClientId": "","partnerReturnUri": "","scimContextId": "","slOptInOT": "","slLoginEmail": "","slReturnUrl": "","delayPartnerAssertion": "true"};</script><script nonce="pT1fXaBFK/Em0MQMzrWl7PQh2FeMUj0qYjfb0GGTZ4CqeItS">var PAYPAL = PAYPAL || {};PAYPAL.ulData = {fnUrl: "https://c.paypal.com/webstatic/r/fb/fb-all-prod.pp2.min.js",fnSessionId: "a45a40f5585b4da981700443b13a73b4",sourceId: "UNIFIED_LOGIN_INPUT_EMAIL",beaconUrl: "https://b.stats.paypal.com/v1/counter.cgi?r=cD1hNDVhNDBmNTU4NWI0ZGE5ODE3MDA0NDNiMTNhNzNiNCZpPTE5NS4yNDIuMjEzLjE0NyZ0PTE1NjY5NTI3OTkuOTMmYT0yMSZzPVVOSUZJRURfTE9HSU6uXTd-0usd__fImvQDdO6sRshlVw",enableSpeedTyping: "true",aPayAuth: "",aPayCanMakePaymentTimeout: "",tokenAssertionUri: "",preloadScriptUrl: "",fingerprintProceed: ""};</script><noscript><img src="https://c.paypal.com/v1/r/d/b/ns?f=a45a40f5585b4da981700443b13a73b4&s=UNIFIED_LOGIN_INPUT_EMAIL&js=0&r=1" title="ppfniframe" alt="" height="1" width="1" border="0"></noscript><script nonce="pT1fXaBFK/Em0MQMzrWl7PQh2FeMUj0qYjfb0GGTZ4CqeItS" id="ul-sync-data">var PAYPAL = PAYPAL || {};PAYPAL.ulSync = {fnSessionId: 'a45a40f5585b4da981700443b13a73b4',sourceId: 'UNIFIED_LOGIN_INPUT_EMAIL',fname: 'fn_sync_data'};</script><script nonce="pT1fXaBFK/Em0MQMzrWl7PQh2FeMUj0qYjfb0GGTZ4CqeItS">var PAYPAL=window.PAYPAL||{};!function(){"use strict";function n(e){for(var t=0,n=0;n<e.length;n++)t+=e.charCodeAt(n);return t&=t}function r(e,t,n){"undefined"!=typeof e.removeEventListener?e.removeEventListener(t,n,!1):"undefined"!=typeof e.detachEvent&&e.detachEvent("on"+t,n)}function i(e,t,n){"undefined"!=typeof e.addEventListener?e.addEventListener(t,n,!1):"undefined"!=typeof e.attachEvent&&e.attachEvent("on"+t,n)}var e={},t=function(){var t={idForHiddenField:null,isExceptionThrown:!1,startTime:(new Date).getTime()},n={SC_VERSION:"2.0.0",syncStatus:"data"};return{initSync:function(r){try{r=r||{},t.startTime=r.tStamp||t.startTime,t.idForHiddenField=r.fname,n.f=r.fnSessionId,n.s=r.sourceId,n.chk={},n.chk.ts=t.startTime,n.chk.eteid=e.chk.init(n.f,t.startTime.toString()),n.chk.tts=(new Date).getTime()-n.chk.ts,n.dc=JSON.stringify(function(){var e,t=["colorDepth","pixelDepth","height","width","availHeight","availWidth"],n={screen:{}};for(n.ua=window.navigator.userAgent,e=0;e<t.length;e+=1)n.screen[t[e]]=window.screen[t[e]];return n}()),e.ts.init(r),e.ms.init()}catch(i){t.isExceptionThrown=!0,n.err=i}},flushData:function(){try{var r=e.ts.get()||{},i=e.ms.get();(r.ts1||r.ts2||i)&&(n.d=n.d||{},n.d.ts1=r.ts1,n.d.ts2=r.ts2,n.d.rDT=i),document.getElementsByName(t.idForHiddenField)[0].value=encodeURIComponent(JSON.stringify(n))}catch(s){t.isExceptionThrown=!0}}}}();e.report=function(t){return e.err=e.err||{},t+=e.err},Array.prototype.map||(Array.prototype.map=function(e){var t,n,r;if(null==this)throw new TypeError("this is null or not defined");var i=Object(this),s=i.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(arguments.length>1&&(t=arguments[1]),n=new Array(s),r=0;r<s;){var o,u;r in i&&(o=i[r],u=e.call(t,o,r,i),n[r]=u),r++}return n}),e.chk=function(){function e(e,t){for(var n=32,r=0;n-->0;)e[0]+=(e[1]<<4^e[1]>>5)+e[1]^r+t[3&r],r+=-1640531527,e[1]+=(e[0]<<4^e[0]>>5)+e[0]^r+t[r>>11&3]}function t(e){for(var t=0,n=0;n<4;n++)t|=e.charCodeAt(n)<<8*n;return isNaN(t)?0:t}return{init:function(n,r){var i,s,o,u=new Array(2),a=new Array(8),f=new Array(4),l=0,c=0,h=n.split("").map(function(e){return e.charCodeAt(0)});for(c=0;c<4;c++)f[c]=t(r.slice(4*c,4*(c+1)));for(c=0;c<h.length;c+=8)i=h,s=c,(o=u)[0]=(255&(0|i[s]))<<24|(255&(0|i[s+1]))<<16|(255&(0|i[s+2]))<<8|255&(0|i[s+3])|0,o[1]=(255&(0|i[s+4]))<<24|(255&(0|i[s+5]))<<16|(255&(0|i[s+6]))<<8|255&(0|i[s+7])|0,e(u,f),a[l]=u[0],a[l+1]=u[1],l+=2;return a}}}(),e.ts=function(){function o(e,o,u){if(void 0!==e||null!==e){var a=new function(){this.baseTime=(new Date).getTime(),this.keyIndex=0,this.controlCount=0,this.specialCount=0,this.spnum=0,this.keyIndexArray=[],this.storageArray=[],this.keeperArray={8:"",9:"",13:"",16:"",17:"",18:"",224:"",91:"",93:"",219:"",220:""},this.controlArray={17:"",224:"",93:"",91:""},this.capture=function(e,i){var o,u;window.event?o=e.keyCode:e.which&&(o=e.which);var a=(new Date).getTime();u=a-this.baseTime,this.baseTime=a,o in this.keeperArray?"keydown"===e.type?(this.storageArray.push("Dk"+o+":"+u),this.specialCount=this.specialCount+1,o in this.controlArray&&(this.controlCount=this.controlCount+1)):"keyup"===e.type&&(this.storageArray.push("Uk"+o+":"+u),o in this.controlArray&&(this.controlCount=this.controlCount+1)):"keydown"===e.type?(this.storageArray.push("Di"+this.keyIndex+":"+u),this.keyIndexArray[o]=this.keyIndex,this.keyIndex++):"keyup"===e.type&&this.keyIndexArray[o]!==undefined&&this.storageArray.push("Ui"+this.keyIndexArray[o]+":"+u),s[i]=this.storageArray.join(""),"ts2"===i&&(this.keyIndex+this.specialCount>=6||this.controlCount>1&&this.keyIndex>0)&&function(){for(var e=s,i=0;i<t.length;++i){var o=t[i];"undefined"!=typeof o.field&&(r(o.field,"keydown",o.listener),r(o.field,"keyup",o.listener))}for(var u in e)e[u]=e[u]+"Uh:"+n(e[u])}()}},f=function(e){a.capture(e,u)},l={};l.id=e.id,l.listener=f,l.field=e,t.push(l),i(e,"keydown",f),i(e,"keyup",f)}}var e=!1,t=[],s={};return{init:function(t){if(t=t||{},!1===e&&t.detail&&t.detail.fields){e=!0;for(var n=0;n<t.detail.fields.length;n++)o(document.getElementById(t.detail.fields[n]),0,"ts"+(n+1))}},get:function(){return s}}}(),e.ms=function(){function s(t){if("undefined"==typeof t.pageX)r(document,"mousemove",s);else{var n=(new Date).getTime();0!==e.moveCounter&&(a=t,f=n-e.lastTime,l=Math.abs(a.pageX-e.prevX),c=Math.abs(a.pageY-e.prevY),(l>1||c>1)&&(h=f,p=a,d=Math.floor(10*Math.random())+1,v=5123*d+p.pageX,m=5123*d+p.pageY,g=5123*d+h,e.rDT_local+=v+","+m+","+g+":",e.counter++)),i=n,u=t,e.lastTime=i,e.prevX=u.pageX,e.prevY=u.pageY,e.moveCounter++,(e.counter>=20||e.moveCounter>=50)&&r(document,"mousemove",s)}var i,u,a,f,l,c,h,p,d,v,m,g}var e={prevX:0,prevY:0,counter:0,moveCounter:0,lastTime:0,rDT_local:""},t=!1;return{init:function(){t||(i(document,"mousemove",s),t=!0)},get:function(){return""!==e.rDT_local?e.rDT_local+n(e.rDT_local)+","+e.moveCounter:undefined}}}(),PAYPAL.syncData=t}(window); </script><script nonce="pT1fXaBFK/Em0MQMzrWl7PQh2FeMUj0qYjfb0GGTZ4CqeItS">var PAYPAL = PAYPAL || {};PAYPAL.ulData = PAYPAL.ulData || {};PAYPAL.ulData.incontextData = {"version": "","noBridge": "","env": "","icstage": "","targetCancelUrl": "","paymentAction": "","paymentToken": "","merchantID": ""};</script><script nonce="pT1fXaBFK/Em0MQMzrWl7PQh2FeMUj0qYjfb0GGTZ4CqeItS">window.PAYPAL=window.PAYPAL||{},function(){"use strict";function pwFpLoginEvents(e){var t=document.querySelector("#pwFpIcon");t&&addEvent(t,"click",function(n){n.preventDefault(),$(t).addClass("pwFpClicked"),login.logger.log({evt:"WEBAUTH_N_CLIENT",data:"CLICKED_WEBAUTHN_ICON",calEvent:!0}),login.logger.pushLogs(),login.webAuthnLogin(e)})}function asyncLoadScriptUrls(e){var t=e.split(","),n;try{for(var r=0;r<t.length;r++){n=t[r];if(n&&n.slice(0,8)==="https://"&&n.slice(n.length-3)===".js"){var i=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");i.open("GET",t[r]),i.send()}}}catch(s){}}function showReturnToMerchantLink(){var e=document.querySelector("#returnToMerchant"),t=document.querySelector(".contentContainer");e&&!window.opener&&($(e).removeClass("hide"),t&&$(t).addClass("contentContainerShort"))}function trackHybridLoginRenderedEventInCal(){var e=login.utils.getIntent()==="checkout",t=$("body").hasClass("mobile")?"MOBILE":"DESKTOP";login.utils.isHybridLoginExperience()&&login.logger.log({evt:"HYBRID_LOGIN",data:"RENDERED"+(e?"_XO":"")+"_"+t,calEvent:!0})}function instrumentUlAsLandingPageLoad(){var e=document.querySelector("#password"),t,n=document.querySelector('input[name="locale.x"]'),r=document.querySelector('input[name="clientLogRecords"]');e&&(t=login.utils.isFieldPrefilled(e)||e.value.length>0);var i=$("body").data("oneTouchUser"),s=window.PAYPAL&&window.PAYPAL.ulData||{},o=s.aPayAuth;if(i||o)return;login.logger.logServerPreparedMetrics(),r||(login.logger.log({evt:"state_name",data:login.utils.getKmliCb()?"LOGIN_UL_RM":"LOGIN_UL",instrument:!0}),login.logger.log({evt:"transition_name",data:"prepare_login_ul",instrument:!0})),login.logger.log({evt:"landing_page",data:"login",instrument:!0}),login.logger.log({evt:"is_pwd_autofill",data:t?"Y":"N",instrument:!0}),login.logger.log({evt:"design",data:login.utils.isInContextIntegration()?"in-context":"full-context",instrument:!0}),n&&login.logger.log({evt:"page_lang",data:n.value,instrument:!0}),login.logger.pushLogs()}function instrumentSplitLoginPageLoad(e){var t="begin_email",n="prepare_email",r=login.utils.isFieldPrefilled(document.querySelector("#email")),i=document.querySelector('input[name="locale.x"]'),s=window.PAYPAL&&window.PAYPAL.slData&&window.PAYPAL.slData.slAction,o=$("body").data("oneTouchUser"),u=window.PAYPAL&&window.PAYPAL.ulData||{},a=u.aPayAuth,f=document.querySelector("#moreOptionsContainer"),l=$("body").data("ssoviatoken"),c=login.utils.isHybridLoginExperience();if(o||a||l)return;if(s==="activation"||s==="optIn")return;c&&(t="begin_hybrid_login",n="prepare_hybrid"),e==="inputPassword"&&(t=c?"begin_hybrid_pwd":"begin_pwd",n=c?"prepare_hybrid_pwd":"prepare_pwd",n+=login.utils.getKmliCb()?"_ot":"",r=login.utils.isFieldPrefilled(document.querySelector("#password"))),e==="inputPhone"&&(t="begin_phone",n="prepare_phone"),e==="inputEmail"&&trackHybridLoginRenderedEventInCal(),f&&!$(f).hasClass("hide")&&e==="inputPassword"&&(n+="_more_opt",login.logger.log({evt:"exp_shown",data:"tpd",instrument:!0}));if(e==="inputPassword"){var h=document.querySelector("#phone");login.logger.log({evt:"pub_cred_type",data:h&&h.value?"phone":"email",instrument:!0})}login.logger.log({evt:"state_name",data:t,instrument:!0}),login.logger.log({evt:"transition_name",data:n,instrument:!0}),login.logger.log({evt:"autofill",data:r?"Y":"N",instrument:!0}),login.utils.getIntent()==="checkout"&&(login.logger.log({evt:"landing_page",data:"login",instrument:!0}),login.logger.log({evt:"design",data:login.utils.isInContextIntegration()?"in-context":"full-context",instrument:!0})),i&&login.logger.log({evt:"page_lang",data:i.value,instrument:!0}),login.logger.pushLogs()}function instrumentProx(){var e=document.querySelector(".cancelUrl"),t;login.utils.isPpFrameMiniBrowser()?(login.utils.postPpBridgeMessage({flowtype:"prox",status:"loading",viewname:"login"}),login.utils.postPpBridgeMessage({flowtype:"prox",status:"complete",viewname:"login"}),login.utils.postPpBridgeMessage({operation:"init",cancelUrl:$("body").data("returnUrl")||"",landingUrl:window.location.href,secureWindowMsg:$("body").data("secureWindowMsg")||"",processingMsg:$("body").data("processingMsg")||""}),addEvent(window,"beforeunload",function(e){var t=getEventTarget(e),n=t&&t.activeElement&&t.activeElement.nodeName;n==="BODY"&&login.utils.postPpBridgeMessage({flowtype:"prox",status:"exit",viewname:"login",exit_type:"user_cancelled"})}),$(e).remove()):(t=login.utils.getOutboundLinksHandler(e,"login_ul","process_cancel_and_return_to_merchant"),login.pubsub.subscribe("WINDOW_CLICK",function(e){var n=getEventTarget(e);n&&$(n).hasClass("cancelLink")&&t.call(null,e)})),login.logger.log({evt:"state_name",data:"login_ul",instrument:!0}),login.logger.log({evt:"transition_name",data:"prepare_login_ul",instrument:!0}),login.logger.pushLogs()}function autoLoginfallBackClientLog(e){var t=login.utils.getSplitLoginContext(),n=window.PAYPAL.ulData||{};e=e||{},document.querySelector("body").removeAttribute("data-one-touch-user"),n.aPayAuth=null,e.error_code&&login.logger.log({evt:"ext_error_code",data:e.error_code,instrument:!0});if(t){instrumentSplitLoginPageLoad(t);return}instrumentUlAsLandingPageLoad()}function isAPaySupported(){var e=navigator.userAgent.match(/Chrome\/([0-9]+)\./i);return window.navigator.vendor==="Google Inc."&&"PaymentRequest"in window&&navigator.userAgent.match(/Android/i)&&e&&Number(e[1])>=58}var login={};login.logger=function(){function t(t){t.timestamp=Date.now?Date.now():(new Date).getTime(),e.push(t)}function n(t){var n,r,i=login.utils.getIntent(),s=login.utils.getFlowId(),o=login.utils.getSessionId(),u=$("body").data("loginLiteExperience"),a;if(e.length===0)return;t=t||{},e.push({evt:"context_correlation_id",data:$("body").data("correlationId"),instrument:!0}),i&&(e.push({evt:"serverside_data_source",data:i,instrument:!0}),e.push({evt:"intent",data:i,instrument:!0})),s&&e.push({evt:"context_id",data:s,instrument:!0}),u&&e.push({evt:"lite_experience",data:"Y",instrument:!0}),n=document.querySelector("#token")||document.querySelector('input[name="_csrf"]'),r=n&&n.value,a={_csrf:r,currentUrl:window.location.href,logRecords:JSON.stringify(e),intent:i},typeof t.data=="object"&&Object.assign(a,t.data),o&&(a._sessionID=o),$.ajax({url:"/signin/client-log",data:a,success:t.success,fail:t.fail,complete:t.complete}),e=[]}function r(e,r,i){e=e||[];if(!(e instanceof Array)){if(typeof r=="function")return r();return}for(var s=0;s<e.length;s++)t(e[s]);var o={complete:function(){if(typeof r=="function")return r()}};typeof i=="object"&&(o.data=i),n(o)}function i(){var e=login.utils.getSplitLoginContext(),t=login.utils.isHybridLoginExperience(),n=document.getElementById("keepMeLoggedIn"),r=n?"LOGIN_UL_RM":"LOGIN_UL",i={inputEmail:"begin_email",implicitEmail:"begin_email",inputPassword:t?"begin_hybrid_pwd":"begin_pwd",inputPhone:"begin_phone"};return e&&i[e]&&(r=i[e]),t&&e!=="inputPassword"&&(r="begin_hybrid_login"),r}function s(){var t,n=document.querySelector('input[name="clientLogRecords"]');if(n)try{t=JSON.parse(n.value)}catch(r){}t&&(e=e.concat(t))}var e=[];return{log:t,logServerPreparedMetrics:s,pushLogs:n,clientLog:r,getStateName:i}}(),login.pubsub=function(){var e={},t={};return e.publish=function(e,n){if(!t[e])return!1;var r=t[e],i=r?r.length:0;while(i>0)r[i-1].func(n),i-=1},e.subscribe=function(e,n){if(typeof n!="function")return;t[e]||(t[e]=[]),t[e].push({func:n})},e}(),login.store=function(){return function(t){function r(){return n}function i(e){var t=document.querySelector("input[name=splitLoginContext]");e.splitLoginContext||(e.splitLoginContext=t&&t.value);var r=Object.assign({},n.model,e);r.notifications=e.notifications,r.tpdVariant=e.tpdVariant,r.showSpinnerUpfront=e.showSpinnerUpfront,r.enableSmartlock=e.enableSmartlock,r.tpdAutoSend=e.tpdAutoSend,r.webAuthnLoginContext=e.webAuthnLoginContext,r.afpExist=e.afpExist;var i=Object.assign({},n,{model:r});n=i,login.pubsub.publish("STATE_UPDATED",i)}var n=t||{};return{updateModel:i,getState:r}}}();var addEvent=function(e,t,n){if(!e||!t||!n)return;e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n)},removeEvent=function(e,t,n){if(!e||!t||!n)return;e.removeEventListener?e.removeEventListener(t,n,!1):e.attachEvent&&e.detachEvent("on"+t,n)},createNewEvent=function(e){if(typeof window.Event=="function")return new Event(e);var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t},eventPreventDefault=function(e){var t=e||window.event||{};t.preventDefault?t.preventDefault():t.returnValue=!1},eventStopPropagation=function(e){var t=e||window.event||{};t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},getEventTarget=function(e){var t=e||window.event||{};return t.target||t.srcElement},triggerEvent=function(e,t){if(!e||!t)return;var n=createNewEvent(t);e.dispatchEvent?e.dispatchEvent(n):e.fireEvent&&e.fireEvent("on"+t,n)},isEnterKeyPressed=function(e){return e?e.key?e.key==="Enter":e.which?e.which===13:e.keyCode===13:!1};login.utils=function(){function r(){e&&($(e).addClass("spinner"),$(e).removeClass("hide"),e.setAttribute("aria-busy","true")),t&&$(t).removeClass("hide")}function i(){e&&($(e).removeClass("spinner"),$(e).removeClass("nonTransparentMask"),$(e).addClass("hide"),e.setAttribute("aria-busy","false")),t&&$(t).addClass("hide")}function s(e){var t;if(e!==""){t=document.querySelector(".transitioning p."+e),t&&$(t).removeClass("hide");return}$(n).removeClass("hide")}function o(e){var t;if(e!==""){t=document.querySelector(".transitioning p."+e),t&&$(t).addClass("hide");return}$(n).addClass("hide")}function u(){return $("body").data("isHybridLoginExperience")==="true"}function a(){return $("body").data("isHybridEditableOnCookied")==="true"}function f(e,t,n,i){var s=e&&e.getAttribute("href"),o=e&&e.getAttribute("id"),u,a,f;return function(o){o.preventDefault(),login.logger.log({evt:"state_name",data:t||login.logger.getStateName(),instrument:!0}),login.logger.log({evt:"transition_name",data:n,instrument:!0}),u=document.querySelector('input[name="locale.x"]'),u&&login.logger.log({evt:"page_lang",data:u.value,instrument:!0}),a=$(e).data("locale"),a&&login.logger.log({evt:"change_to_lang",data:a,instrument:!0}),f={complete:function(){if(typeof i=="function")return i();window.location=s}},login.logger.pushLogs(f),r()}}function l(e,t){eventPreventDefault(e);var n=document.querySelector("#initialSplitLoginContext"),r={_csrf:document.querySelector("#token").value,notYou:!0,intent:w(),context_id:x()},i=T();i&&(r._sessionID=i),n&&(r.initialSplitLoginContext=n.value),document.body.removeAttribute("data-web-authn-login-context"),$.ajax({type:"POST",url:"/signin/not-you",data:r,dataType:"json",success:h,fail:p,complete:function(){if(typeof t=="function")return t()}})}function c(e){login.storeInstance&&login.storeInstance.updateModel(e),e.ulSync&&login.fn.updateFnSyncContext(e.ulSync),!e.showSpinnerUpfront&&e.smartlockStatus!=="linked"&&i()}function h(e){var t=document.querySelector('input[name="ctxId"]');if(e&&e.htmlResponse){login.ads.handleAdsInterception(decodeURIComponent(e.htmlResponse));return}if(e&&e.returnUrl&&!e.notifications){window.location.href=e.returnUrl;return}!e.profile&&e.adsChallengeUrl&&login.ads.init(e.adsChallengeUrl),c(e),e.verification&&e.verification.page==="pending"&&(login.verification.startPolling({accessToken:e.accessToken,authflowDocumentId:e.authflowDocumentId,_csrf:e._csrf,email:e.verification.email,variant:e.tpdVariant,tpdTriggerMethod:e.tpdTriggerMethod}),login.verification.showResendLink()),e.tpdDemoRefresh&&login.utils.isTpdDemo()&&t&&t.value&&(t.value="",document.body.removeAttribute("data-is-prefill-email-enabled"),document.body.removeAttribute("data-tpd-demo"),document.body.removeAttribute("data-tpd-variant"),window.location.href="/signin");if(e.autoRememberMe){var n=document.getElementById("keepMeLoggedIn");n&&(n.checked=!0)}_(),e.setBuyer&&setTimeout(function(){ot()&&login.xoPlanning.triggerSetBuyerCall(e.setBuyer)},300)}function p(t){if(t.status===429){$(e).removeClass("spinner");return}window.location.href=window.location.href}function d(e){login.pubsub&&login.pubsub.publish("WINDOW_CLICK",e)}function v(e){var t=document.querySelector(".rememberProfile .bubble-tooltip"),n,r;if(!t||!e||!getEventTarget(e))return;n=$(t),r=$(getEventTarget(e));if(r.hasClass("infoLink")||r.hasClass("bubble-tooltip")){eventPreventDefault(e),n.toggle();return}n.addClass("hide")}function m(e){return!!(e&&window.chrome&&window.chrome.webstore&&getComputedStyle(e).backgroundColor==="rgb(250, 255, 189)")}function g(e){return e?m(e)||e.value&&e.value.length>0:!1}function y(){return window.self!==window.top}function b(){var e=document.querySelector('input[name="splitLoginContext"]');return e&&e.value}function w(){var e=document.querySelector('input[name="intent"]');return e&&e.value||""}function E(){var e=document.querySelector('input[name="returnUri"]');return e&&e.value||""}function S(){var e=document.querySelector('input[name="state"]');return e&&e.value||""}function x(){var e=document.querySelector("input[name=flowId]");return e&&e.value||""}function T(){var e=document.querySelector("input[name=_sessionID]");return e&&e.value}function N(){return document.querySelector("#keepMeLoggedIn")}function C(){return!!window.xprops}function k(e){var t,n=document.querySelector('input[name="splitLoginCookiedFallback"]');if(!e||n)return t=document.querySelector("#captcha"),M(t);switch(e.value){case"inputEmail":t=document.querySelector(u()?"#splitHybridCaptcha":"#splitEmailCaptcha");break;case"inputPhone":t=document.querySelector(u()?"#splitHybridCaptcha":"#splitPhoneCaptcha");break;case"inputPassword":case"inputPin":t=document.querySelector(u()?"#splitHybridCaptcha":"#splitPasswordCaptcha");break;case"implicitEmail":t=document.querySelector("#implicitEmailCaptcha");break;default:t=null}return t&&$(t).hasClass("hide")?null:M(t)}function L(e,t){t=decodeURIComponent(t);var n=t&&t.split("?")[1],r={};if(!n)return;return n.split("&").forEach(function(e){var t=e.split("=");r[t[0]]=t[1]}),r[e]}function A(e){e=decodeURIComponent(e);var t=e&&e.split("?")[1],n={},r,i;if(!t)return;r=t.split("&");for(var s=0;s<r.length;s++)i=r[s].split("="),n[i[0]]=i[1];return n}function O(e,t,n){var r=login.utils.getQueryParamsObj(e),i,s;return r?r[t]!==undefined?(i=r[t],e.replace(t+"="+i,t+"="+n)):e+"&"+t+"="+n:e[e.length-1]==="?"?e+t+"="+n:e+"?"+t+"="+n}function M(e){return e?{container:e.querySelector("div.textInput"),field:e.querySelector("input[type=text]"),errMsgContainer:e.querySelector("div.errorMessage"),errMsg:e.querySelector("div.errorMessage .emptyError"),playAudioBtn:e.querySelector(".captchaPlay"),refreshCaptchaBtn:e.querySelector(".captchaRefresh"),audioTag:e.querySelector(".audio audio"),image:e.querySelector(".captcha-image img"),audioLink:e.querySelector(".audio a")}:null}function _(){var e=document.querySelector("#splitPassword");e&&$(e).addClass("transformRightToLeft")}function D(e,t,n){var r=document.createElement("input");if(!n)return;r.setAttribute("type","hidden"),r.setAttribute("name",e),r.setAttribute("value",t),n.appendChild(r)}function P(e,t,n){var r=n&&n.querySelector('input[name="'+e+'"]');if(r)return;D(e,t,n)}function H(e){try{PAYPAL.analytics.instance.recordImpression({data:e.sys.tracking.fpti.dataString})}catch(t){}}function B(e){var t=document.createElement("iframe"),n=["id","title","className","frameBorder","sandbox","src","style"];if(!e)return;for(var r=0;r<n.length;r++)e[n[r]]&&(t[n[r]]=e[n[r]]);return document.body.appendChild(t),t}function j(e){var t=window.opener;try{e=typeof e=="string"?e:JSON.stringify(e);if(t&&(window.navigator.userAgent.match(/edge/i)||t.postMessage&&!window.navigator.userAgent.match(/msie|trident/i)))return t.postMessage(e,"*"),!0;var n=t&&t.frames&&t.frames.length&&t.frames.PayPalBridge;if(n&&n.returnToParent)return n.returnToParent(e),!0}catch(r){return!1}return!1}function F(){return window.opener&&window.name&&window.name.indexOf("PPFrame")===0}function I(e,t){var n=document.querySelector(".notifications"),r,i;n&&(r=document.createElement("p"),i=document.createTextNode(e),r.setAttribute("class","notification "+t),r.setAttribute("role","alert"),r.appendChild(i),n.appendChild(r))}function q(){var e=document.getElementById("token");return e&&e.value||""}function R(e){var t=document.getElementById("token");t&&e&&(t.value=e)}function U(e,t){return new Promise(function(n,i){var s={};t=t||{},t.data&&(s=t.data),s._csrf=q(),r(),$.ajax({type:t.method||"POST",url:e,data:s,dataType:"json",success:function(e){return e?(R(e._csrf),n(e)):i()},fail:function(e){return i(e)}})})}function z(){return window.navigator.vendor==="Google Inc."&&navigator.userAgent.match(/Android/i)}function W(e){return e?(e=e.replace(/[-()\.\+\s]/ig,""),!e||e.search(/\D+/g)>=0):!0}function X(){return $("body").data("isPrefillEmailEnabled")==="true"}function V(){var e=document.querySelector("#splitPassword");e&&$(e).addClass("hide")}function J(){var e=document.querySelector("input[name=isPrefillEmailEnabled]");return e&&e.value==="true"}function K(){var e=document.querySelector(".profileRememberedEmail");e&&$(e).removeClass("cookiedProfile"),_(),c({splitLoginContext:"inputPassword",profile:{email:email&&email.value},verification:null,notifications:null})}function Q(){return $("body").data("tpdDemo")==="true"}function G(){var e=document.querySelector("input[name=ctxId]");return e&&e.value||""}function Y(e){return e?e.isPwdlessPriorityEnabled:!!$("body").data("isPwdlessPriorityEnabled")}function Z(){var e=!!login.oneTouchLogin&&!!$("body").data("oneTouchUser");return e&&(login.logger.log({evt:"PWDLESS_PRIORITY_CLIENT",data:"ONETOUCH_PRIORITY",calEvent:!0}),login.logger.pushLogs()),e}function et(e){var t=e&&e.contextualLogin||window.PAYPAL&&window.PAYPAL.ulData||{},n=Y(e),r=n&&t.aPayAuth&&isAPaySupported();return t.canNotMakePayment||!n?!1:(r&&(login.logger.log({evt:"PWDLESS_PRIORITY_CLIENT",data:"APAY_PRIORITY",calEvent:!0}),login.logger.pushLogs()),r)}function tt(e){var t=e&&e.slAction||window.PAYPAL&&window.PAYPAL.slData&&window.PAYPAL.slData.slAction;return t==="activation"&&login.smartLock?(login.logger.log({evt:"PWDLESS_PRIORITY_CLIENT",data:"SL_PRIORITY",calEvent:!0}),login.logger.pushLogs(),!0):!1}function nt(){var e=!!login.webAuthnLogin&&!!$("body").data("webAuthnLoginContext");return e&&(login.logger.log({evt:"PWDLESS_PRIORITY_CLIENT",data:"WEB_AUTHN_PRIORITY",calEvent:!0}),login.logger.pushLogs()),e}function rt(e,t){if(!e||!t||typeof t!="function")return;addEvent(e,"input",function(n){eventPreventDefault(n);var r=n.inputType,i=n.data;if(r==="insertText"||r==="deleteContentBackward"||r==="insertFromPaste")return!0;if(!i)return t(n)})}function it(e){var t;try{return t=JSON.parse(e),t}catch(n){return{}}}function st(e){if(window.webkitRequestFileSystem)window.webkitRequestFileSystem(window.TEMPORARY,1,function(){e({isPrivate:!1})},function(){e({isPrivate:!0})});else if(/Safari/.test(window.navigator.userAgent))try{window.localStorage||e({isPrivate:!0}),window.openDatabase(null,null,null,null),window.localStorage.setItem("test",1),window.localStorage.getItem("test")==="1"&&(window.localStorage.removeItem("test"),e({isPrivate:!1}))}catch(t){e({isPrivate:!0})}else e({isPrivate:!1})}function ot(){var e=document.querySelector('input[name="fn_sync_data"]');return e&&e.value}var e=document.querySelector(".transitioning"),t=document.querySelector(".lockIcon"),n=document.querySelector(".transitioning p.checkingInfo");return{showSpinner:r,hideSpinner:i,showSpinnerMessage:s,hideSpinnerMessage:o,getOutboundLinksHandler:f,isFieldPrefilled:g,notYouClickHandler:l,successfulXhrHandler:h,failedXhrSubmitHandler:p,documentClickHandler:d,toggleRememberInfoTooltip:v,updateView:c,isInIframe:y,isInContextIntegration:C,getSplitLoginContext:b,getIntent:w,getReturnUri:E,getReturnUriState:S,getFlowId:x,getSessionId:T,getKmliCb:N,getActiveCaptchaElement:k,getCaptchaDom:M,getQueryParamFromUrl:L,setSliderToPasswordContainer:_,getQueryParamsObj:A,updateParamValue:O,addHiddenElement:D,addHiddenElementIfNotExist:P,doImpressionTracking:H,createIframe:B,postPpBridgeMessage:j,isPpFrameMiniBrowser:F,updatePageLevelError:I,makeServerRequestAndReturnPromise:U,getCSRFToken:q,setCSRFToken:R,isAndroidDevice:z,doesItLookLikeEmail:W,isHybridLoginExperience:u,isHybridEditableOnCookied:a,isPrefillEmailEnabled:X,hidePasswordForPrefillHybrid:V,isPrefilledEmailNext:J,renderPasswordFromPrefillHybridView:K,isTpdDemo:Q,getCtxId:G,isPwdlessPriorityEnabled:Y,isOTEligible:Z,isAPayEnabled:et,isSLActivation:tt,isWebAuthnEligible:nt,addAutofillEventHandler:rt,parseJsonSafe:it,isBrowserInPrivateMode:st,isFnDataLoaded:ot}}(),login.storageUtils=function(){function t(t,n,i){var s,o;s=r(),o=s[i]||{},o[t]=n,s[i]=o;try{window.localStorage.setItem("ulData",JSON.stringify(s))}catch(u){login.logger.log({evt:e,data:u,calEvent:!0,status:"ERROR"}),login.logger.pushLogs()}}function n(e,t){var n;return n=r(),n[t]&&n[t][e]}function r(){try{var t;t=JSON.parse(window.localStorage.getItem("ulData"))||{}}catch(n){login.logger.log({evt:e,data:n,calEvent:!0,status:"ERROR"}),login.logger.pushLogs()}return t||{}}function i(t,n){var i;i=r();if(i[n]){delete i[n][t];try{window.localStorage.setItem("ulData",JSON.stringify(i))}catch(s){login.logger.log({evt:e,data:s,calEvent:!0,status:"ERROR"}),login.logger.pushLogs()}}}var e="LOCALSTORAGE";return{setDataByUserId:t,readDataByUserId:n,removeDataByUserId:i}}(),login.loadResources=function(){function t(){var t,n="/signin/cookie-banner",r=e.getFlowId();r&&(n=n+"?flowId="+r),$.ajax({method:"GET",url:n,success:function(e){var n=e&&e.data&&e.data.cookieBanner,r,i=0;if(!n)return;document.querySelector("head").insertAdjacentHTML("beforeend",n.css),document.querySelector("#main").insertAdjacentHTML("beforeend",n.html),t=document.createElement("script"),t.setAttribute("nonce",$("body").data("nonce")),t.innerHTML=n.js.replace(/^<script[^>]*>|<\/script>$/g,""),$("body").append(t),typeof window.bindGdprEvents=="function"&&window.bindGdprEvents(),r=document.querySelector("#gdprCookieBanner"),r&&(i=$(r).outerHeight(),document.querySelector("body").style.marginBottom=i+"px")}})}function n(){function u(e){var t=document.querySelector("#phoneCode"),n=document.createDocumentFragment(),r=e&&e.countryPhoneList,i=e&&e.phoneCode,s;if(!r||!r.length||!t)return;for(var o=0;o<r.length;o++)s=document.createElement("option"),s.value=r[o].$value,s.setAttribute("data-code",r[o].$code),s.setAttribute("data-country",r[o].$country),s.textContent=r[o].$elt,r[o].$value===i&&s.setAttribute("selected","selected"),n.appendChild(s);t.innerHTML="",t.appendChild(n)}function a(){var t={lazyload:"countrycodes","locale.x":n,_csrf:e.getCSRFToken(),flowId:e.getFlowId()};if(s>=o)return;r&&(t._sessionID=r),s+=1,$.ajax({url:i,method:"POST",data:t,success:u,fail:a})}var t=document.querySelector('input[name="locale.x"]'),n=t&&t.value,r=e.getSessionId(),i="/signin/load-resource",s=0,o=2;a()}var e=login.utils;return{showCookieBanner:t,loadPhoneCountryCodes:n}}(),function(){var e=function(e){function t(t){return e.classList?e.classList.contains(t):!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function n(n){e.classList?e.classList.add(n):t(n)||(e.className+=" "+n)}function r(n){if(e.classList)e.classList.remove(n);else if(t(n)){var r=new RegExp("(\\s|^)"+n+"(\\s|$)");e.className=e.className.replace(r," ")}}function i(t,n){var r;if(typeof t!="string")return;r="data-"+t.replace(/([A-Z])/g,"-$1").toLowerCase();if(!n)return e.getAttribute(r);e.setAttribute(r,n)}function s(){var t,n=e.offsetHeight;return typeof getComputedStyle=="undefined"?n:(t=getComputedStyle(e),n+=parseInt(t.marginTop)+parseInt(t.marginBottom),n)}function o(t,n){return n?e.setAttribute(t,n):e.getAttribute(t)}function u(t){return e.querySelectorAll(t)}function a(t){var n=e.textContent!==undefined&&e.textContent!==null;if(t===undefined)return n?e.textContent:e.innerText;n?e.textContent=t:e.innerText=t}function f(){e.parentNode.removeChild(e)}function l(){t("hide")?r("hide"):n("hide")}function c(t){e.appendChild(t)}function h(){e.focus()}function p(t){e.value=t}typeof e=="string"&&(e=document.querySelector(e));if(!e)return;return{hasClass:t,addClass:n,removeClass:r,data:i,outerHeight:s,text:a,attr:o,find:u,remove:f,toggle:l,append:c,focus:h,val:p}};e.ajax=function(e){var t,n,r,i=[],s;if(!e||e&&!e.url)return;try{t=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP")}catch(o){}if(!t)return;e.method=e.method||"POST";if(e.data&&typeof e.data!="string")for(s in e.data)i.push(encodeURIComponent(s)+"="+encodeURIComponent(e.data[s]));t.onreadystatechange=function(){if(t.readyState!==4)return;n=t.response||t.responseText;if(t.status===200&&n){try{n=JSON.parse(n)}catch(r){}typeof e.success=="function"&&e.success(n)}t.status!==200&&typeof e.fail=="function"&&e.fail(t),typeof e.complete=="function"&&e.complete()},t.open(e.method,e.url),t.setRequestHeader("X-Requested-With","XMLHttpRequest"),e.method==="POST"&&(t.setRequestHeader("Content-type","application/x-www-form-urlencoded"),t.setRequestHeader("Accept","application/json")),e.method==="GET"&&t.setRequestHeader("Accept","application/json");if(typeof e.headers=="object"&&e.headers.length)for(r in e.headers)t.setRequestHeader(r,e.headers[r]);return t.send(i&&i.join("&")),t},window.$=e}(),login.view=function(){function e(e){var i=document.querySelector("input[name=splitLoginContext]"),l=e&&e.model||{};typeof window.showGdprBanner=="function"&&window.showGdprBanner(),i.value=l.splitLoginContext,m(l),c(l),r(l),s(l),o(l),u(l),a(l),v(l),f(l),h(l),n(l),login.verification&&login.verification.updateView(l),t(l)}function t(e){var t=document.querySelector("#pwFpIcon"),n=document.querySelector("#password").parentElement,r=n.parentElement,i=e.webAuthnFpIconEnabled;e.partyIdHash&&(login.utils.addHiddenElement("partyIdHash",e.partyIdHash,document.querySelector("form[name=login]")),document.body.setAttribute("data-party-id-hash",e.partyIdHash));if(e.webAuthnLoginContext&&login.webAuthnLogin){pwFpLoginEvents(e),login.webAuthnLogin(e);if(!i)return;document.body.setAttribute("data-web-authn-login-context",e.webAuthnLoginContext),login.utils.addHiddenElement("webAuthnLoginContext",e.webAuthnLoginContext,document.querySelector("form[name=login]")),e.wanSupportLookup&&document.body.setAttribute("data-web-authn-support-lookup","true"),r&&$(r).addClass("errorMessageFp"),e.isRtl?n&&$(n).addClass("rtlFpPlaceholder"):n&&$(n).removeClass("rtlFpPlaceholder")}else t&&!$(t).hasClass("hide")&&(t&&$(t).addClass("hide"),r&&$(r).removeClass("errorMessageFp"),n&&$(n).removeClass("rtlFpPlaceholder"))}function n(e){var t=document.querySelector("#email"),n=document.querySelector('label[for="email"]'),r=document.querySelector("#phone"),i=document.querySelector("#isTpdOnboarded"),s=document.querySelector(".countryPhoneSelectWrapper"),o=document.querySelector("#login_emaildiv"),u=document.querySelector(".profileRememberedEmail");e.profile||(t&&t.removeAttribute("disabled"),r&&r.removeAttribute("disabled")),s&&$(s).addClass("hide"),o&&$(o).removeClass("phoneInputWrapper"),!e.profile&&u&&$(u).removeClass("cookiedProfile"),!e.phone&&r?r.value=null:e.phone&&t&&(t.value=null),e.notifications&&e.hybridInEmailOnlyMode&&e.contextualLogin&&e.contextualLogin.content&&(t&&$(t).attr("placeholder",e.contextualLogin.content.emailLabel),n&&$(n).text(e.contextualLogin.content.emailLabel),t&&$(t).attr("data-hybrid-in-email-only-mode",e.hybridInEmailOnlyMode)),i&&e.profile&&e.isTpdOnboarded&&(i.value=e.isTpdOnboarded)}function r(e){var t=document.querySelector("#splitEmail"),n=document.querySelector("#splitEmailSection"),r=document.querySelector("#splitPhoneSection"),i=document.querySelector("#rememberProfileEmail"),s=document.querySelector("#email"),o=document.querySelector("#phone"),u=document.querySelector(".forgotLink"),a=document.querySelector(".forgotLink .bubble-tooltip"),f=document.querySelector(".actions"),l=document.querySelector("#loginWithPhoneOption"),c=document.querySelector("#loginWithEmailOption"),h=$("body").data("phonePasswordEnabled"),d=$("body").data("phonePinEnabled"),v=document.querySelector("#signUpLinkOnEmail"),m=document.querySelector("#signUpLinkOnPassword");e.splitLoginContext==="inputEmail"||e.splitLoginContext==="inputPhone"?(t&&$(t).removeClass("hide"),i&&typeof e.rememberProfile!="undefined"&&(i.checked=e.rememberProfile==="true"||e.rememberProfile===!0),p(),v&&$(v).removeClass("hide"),m&&$(m).addClass("hide")):(e.tpdVariant!=="autoSend"&&t&&$(t).addClass("hide"),o&&o.blur(),s&&s.blur()),n&&e.splitLoginContext==="inputEmail"&&($(n).removeClass("hide"),s.removeAttribute("disabled"),d||h?(l&&$(l).removeClass("hide"),c&&$(c).addClass("hide"),u&&$(u).addClass("hide"),a&&$(a).addClass("hide")):e.hidePwrOnEmailPage?(u&&$(u).addClass("hide"),a&&$(a).addClass("hide")):u&&$(u).removeClass("hide"),$(f).removeClass("phonePresent"),r&&$(r).addClass("hide"),o&&(o.value="",o.setAttribute("disabled","disabled")));if(r&&e.splitLoginContext==="inputPhone"){n&&$(n).addClass("hide"),$(r).removeClass("hide");if(d||h)l&&$(l).addClass("hide"),c&&$(c).removeClass("hide")}}function i(e){if(!e.enableSmartlock)return;login.smartLock(e)}function s(e){var t=document.querySelector(".educationMessage");e.showEducationMessage===!0&&e.splitLoginContext==="inputPin"?t&&$(t).removeClass("hide"):t&&$(t).addClass("hide")}function o(e){var t=document.querySelector("#splitPassword"),n=document.querySelector("#splitPasswordSection"),r=document.querySelector("#splitPinSection"),s=document.querySelector("#password"),o=document.querySelector("#pin"),u=document.querySelector("#rememberProfilePassword"),a=document.querySelector(".forgotLink"),f=document.querySelector("#phone"),l=document.querySelector("#signUpLinkOnEmail"),c=document.querySelector("#signUpLinkOnPassword"),h=document.querySelector('#splitEmail input[type="password"]');h&&h.value.trim()&&(s.value=h.value,h.value=""),e.splitLoginContext==="inputPassword"||e.splitLoginContext==="inputPin"?(t&&e.tpdVariant!=="autoSend"&&$(t).removeClass("hide"),i(e),u&&(u.checked=e.rememberProfile==="true"||e.rememberProfile===!0),e.splitLoginContext==="inputPassword"&&!e.tpdVariant&&a&&$(a).removeClass("hide"),$(s).attr("disabled")==="disabled"&&s.removeAttribute("disabled"),e.smartlockStatus!=="linked"&&!e.verification&&d(e),l&&$(l).addClass("hide"),c&&$(c).removeClass("hide"),window.dispatchEvent&&window.dispatchEvent(createNewEvent("resize"))):(t&&$(t).addClass("hide"),s.value="",o&&(o.value="")),n&&e.splitLoginContext==="inputPassword"&&(r&&$(r).addClass("hide"),$(n).removeClass("hide")),r&&e.splitLoginContext==="inputPin"&&($(n).addClass("hide"),$(r).removeClass("hide")),e.profile&&e.profile.phone&&f&&(f.value=e.profile.phone),$("body").hasClass("desktop")&&s.focus()}function u(e){var t=document.querySelector("input[name=splitLoginContext]"),n=document.querySelector(".profileDisplayEmail"),r=document.querySelector(".profileDisplayName"),i=document.querySelector(".profileRememberedEmail"),s=document.querySelector(".profileIcon"),o=document.querySelector("#email"),u=document.querySelector(".profileDisplayPhoneCode"),a;if(e.tpdVariant==="autoSend")return;if(!e.profile){s&&($(s).addClass("hide"),$(s).text(""),s.removeAttribute("style"),$(s).removeClass("profilePhoto"),$(s).removeClass("profileInitials"),$(s).addClass("profilePlaceHolderImg")),n&&$(n).text(""),u&&$(u).text(""),r&&$(r).addClass("hide"),o.value="",i&&$(i).addClass("hide"),window.dispatchEvent&&window.dispatchEvent(createNewEvent("resize"));return}a=e.profile.phone||e.profile.email,a&&e.splitLoginContext!=="inputEmail"&&e.splitLoginContext!=="inputPhone"&&(n&&$(n).text(a),i&&$(i).removeClass("hide")),e.profile.phoneCode&&u&&$(u).text(e.profile.phoneCode)}function a(e){function t(e,t){var n=login.utils.getQueryParamFromUrl("ulPage",e);return n?login.utils.updateParamValue(e,"ulPage",t):e}var n=$(document.querySelector("#signupContainer")),r=e.splitLoginContext==="inputEmail"||e.splitLoginContext==="inputPhone",i,s,o,u;if(!n)return;o=$(signupContainer.querySelector("#createAccount")),i=n.data("hideOnEmail")==="true",s=n.data("hideOnPass")==="true",u=o&&o.attr("href"),r?(i?n.addClass("hide"):n.removeClass("hide"),o&&o.attr("href",t(u,"email"))):(s?n.addClass("hide"):n.removeClass("hide"),o&&o.attr("href",t(u,"pwd")))}function f(e){var t=document.querySelector("footer"),n=document.querySelector("#login"),r=document.querySelector("#login .contentContainer"),i=document.querySelector("#verification .contentContainer"),s=document.querySelector("#verification"),o;e.verification?(o=document.querySelector(".activeContent"),$(n).addClass("hide"),$(s)&&$(s).removeClass("hide"),$(t).addClass("footerWithIcon"),$(o).removeClass("activeContent"),$(i)&&$(i).addClass("activeContent"),l(e.verification),login.tpdLogin&&login.tpdLogin.instrumentVerificationViewRendered()):(o=document.querySelector(".activeContent"),$(n).removeClass("hide"),$(s)&&$(s).addClass("hide"),$(t).removeClass("footerWithIcon"),$(o).removeClass("activeContent"),$(r).addClass("activeContent"))}function l(e){if(!e)return;var t=document.querySelector(".account"),n=document.querySelector(".mobileNotification .pin"),r=document.querySelector(".twoDigitPin"),i=document.querySelector("#uncookiedMessage"),s=document.querySelector("#cookiedMessage");$(t).text(e.email),e.pin&&n?($(n).text(e.pin),$(r).text(e.pin),r.setAttribute("style","font-weight: bold"),$(i).removeClass("hide")):$(s).removeClass("hide")}function c(e){var t=document.querySelectorAll(".notifications");for(var n=0;n<t.length;n++)$(t[n]).text(""),e.notifications&&e.notifications.msg&&(t[n].innerHTML='<p class="notification '+e.notifications.type+'" role="alert">'+e.notifications.msg+"</p>")}function h(e){var t=document.querySelector("#emailSubTagLine"),n=document.querySelector("#phoneSubTagLine"),r=document.querySelector("#pwdSubTagLine");e.splitLoginContext==="inputPassword"||e.splitLoginContext==="inputPin"?(t&&$(t).addClass("hide"),n&&$(n).addClass("hide"),r&&$(r).removeClass("hide")):e.splitLoginContext==="inputPhone"?(n&&$(n).removeClass("hide"),t&&$(t).addClass("hide"),r&&$(r).addClass("hide")):(t&&$(t).removeClass("hide"),n&&$(n).addClass("hide"),r&&$(r).addClass("hide"))}function p(){var e=login.utils.isHybridLoginExperience();login.logger.log({evt:"state_name",data:e?"begin_hybrid_login":"begin_email",instrument:!0}),login.logger.log({evt:"transition_name",data:e?"prepare_hybrid":"prepare_email",instrument:!0}),login.logger.log({evt:"is_cookied",data:"N",instrument:!0}),login.logger.pushLogs()}function d(e){var t=document.querySelector("#password"),n=document.querySelector("#phone"),r=login.utils.isFieldPrefilled(t),i=login.utils.isHybridLoginExperience(),s=i?"prepare_hybrid_pwd":"prepare_pwd";s+=login.utils.getKmliCb()?"_ot":"",document.querySelector("#moreOptionsContainer")&&e.moreOptions===!0&&(s+="_more_opt",login.logger.log({evt:"exp_shown",data:"tpd",instrument:!0})),login.logger.log({evt:"state_name",data:i?"begin_hybrid_pwd":"begin_pwd",instrument:!0}),login.logger.log({evt:"pub_cred_type",data:n&&n.value?"phone":"email",instrument:!0}),login.logger.log({evt:"transition_name",data:s,instrument:!0}),login.logger.log({evt:"is_cookied",data:"Y",instrument:!0}),login.logger.log({evt:"autofill",data:r?"Y":"N",instrument:!0}),login.logger.pushLogs()}function v(e){function n(e){var t=document.querySelectorAll(".captcha-container");for(var n=0;n<t.length;n++)e?$(t[n]).removeClass("hide"):$(t[n]).addClass("hide")}var t;n(e.captcha);if(!e.captcha)return;t=login.utils.getActiveCaptchaElement({value:e.splitLoginContext});if(!t)return;e.captcha.captchaImgUrl&&t.image&&t.image.setAttribute("src",e.captcha.captchaImgUrl),e.captcha.captchaAudioUrl&&t.audioTag&&t.audioTag.setAttribute("src",e.captcha.captchaAudioUrl),e.captcha.captchaAudioUrl&&t.audioLink&&t.audioLink.setAttribute("href",e.captcha.captchaAudioUrl)}function m(e){if(!e.adsChallengeVerified)return;$("#login").removeClass("hide"),document.getElementById("ads-container")&&(document.getElementById("ads-container").style.display="none")}return login.storeInstance=login.store(),login.pubsub.subscribe("STATE_UPDATED",e),{render:e,updateNotificationView:c}}(),function(){typeof Object.assign!="function"&&(Object.assign=function(e,t){if(e===null)throw new TypeError("Cannot convert undefined or null to object");var n=Object(e);for(var r=1;r<arguments.length;r++){var i=arguments[r];if(i!==null)for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])}return n}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")})}(),login.fn=function(){function t(t){var n=document.getElementById("fconfig");n&&n.parentNode&&n.parentNode.removeChild(n),n=document.createElement("script"),n.id="fconfig",n.type="application/json",n.setAttribute("fncls",e),n.setAttribute("nonce",$("body").data("nonce")),n.text='{"f":"'+t.fnSessionId+'","s":"'+t.sourceId+'","b":"'+t.beaconUrl+'"}',document.body.appendChild(n)}function n(e){var t=document.createElement("script");t.src=e.fnUrl,t.onload=function(){r(e)},document.body.appendChild(t)}function r(e){e.enableSpeedTyping&&typeof initTsFb=="function"&&initTsFb({detail:{type:"UL",fields:["email","password"]}})}function i(e){PAYPAL.syncData&&typeof PAYPAL.syncData.initSync=="function"&&e&&(e.detail={type:"UL",fields:["email","password"]},PAYPAL.syncData.initSync(e))}function s(){if(PAYPAL.syncData&&typeof PAYPAL.syncData.flushData=="function")try{PAYPAL.syncData.flushData()}catch(e){}}function o(e){e&&e.sourceId&&typeof PAYPAL.ulSync=="object"&&(PAYPAL.ulSync.sourceId=e.sourceId,i(PAYPAL.ulSync))}function u(){var e=$("body").data("enableFnBeaconOnWebViews");return!e&&/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(window.navigator.userAgent)?!1:!0}function a(){u()&&PAYPAL&&PAYPAL.ulData&&(t(PAYPAL.ulData),n(PAYPAL.ulData)),i(PAYPAL.ulSync)}var e="fnparams-dede7cc5-15fd-4c75-a9f4-36c430ee3a99";return{initialize:a,initializeFnSync:i,addFnSyncData:s,updateFnSyncContext:o}}(),login.verification=function(){function A(e){login.utils.updateView({splitLoginContext:"inputPassword",profile:{email:h},verification:null,notifications:e.notifications})}function O(){var e,t=document.querySelector("#expired .slimP");t&&t.textContent&&(e={msg:t&&t.textContent,type:"notification-warning"}),login.utils.updateView({splitLoginContext:"inputPassword",profile:{email:h},tpdVariant:N,verification:null,ulSync:_("inputPassword"),notifications:e})}function M(){if(PAYPAL.syncData&&typeof PAYPAL.syncData.data=="object")return JSON.stringify(PAYPAL.syncData.data)}function _(e){var t=PAYPAL.ulSync&&PAYPAL.ulSync.sourceId||"",n=t.indexOf("REMEMBERED")!==-1?"_REMEMBERED":"",r={inputPassword:"UNIFIED_LOGIN_INPUT_PASSWORD"};return{sourceId:r[e]+n}}function D(){var e=login.storeInstance.getState().model.rememberProfile,t={_csrf:o.value,intent:"completeLogin",accessToken:l,"locale.x":u.value,rememberProfile:e==="true"||e===!0,login_email:h,flowId:login.utils.getFlowId(),tpdVariant:N,tpdTriggerMethod:k},n=M();n&&(t.fn_sync_data=n),login.utils.getCtxId()&&(t.ctxId=login.utils.getCtxId()),$.ajax({url:"/signin/challenge/push?intent="+login.utils.getIntent(),type:"POST",data:t,success:function(e){if(e&&e.pollStatus==="LoggedIn"&&e.returnUrl)return window.location.href=e.returnUrl;if(e&&e.pollStatus==="Failed")return A(e);O(),login.tpdLogin.instrumentTpdExpired("NO_RESPONSE")}})}function P(){if(!f)return;if(t>=e){O(),login.tpdLogin.instrumentTpdExpired("NO_ACTION");return}t++,a=$.ajax({url:"/signin/challenge/push",type:"POST",data:{_csrf:o.value,intent:"poll",accessToken:l,authflowDocumentId:c,retryCount:t,"locale.x":u.value,flowId:login.utils.getFlowId(),tpdVariant:N,tpdTriggerMethod:k},success:L,fail:function(){f&&P()}})}function H(e){e.preventDefault(),$(S).removeClass("hide")}function B(e){var n=document.querySelector("form[name=login]"),r;e=e||{},f=!0,l=e.accessToken||l,c=e.authflowDocumentId||c,h=e.email||h,t=0,N=e.variant||N,k=e.tpdTriggerMethod||k,P(),r=document.querySelector("[name=authdocId]"),r?r.setAttribute("value",c):login.utils.addHiddenElement("authdocId",c,n)}function j(){window.location.href=window.location.href}function F(e){var t=getEventTarget(e);if(!S)return;if($(t).hasClass("showSurvey"))return;$(S).addClass("hide")}function I(e){var t=getEventTarget(e),n=$(t).data("reason");e.preventDefault(),$(w).addClass("hide"),$(w).removeClass("greyOut"),q(),login.tpdLogin.instrumentUsePasswordInstead(n),p&&$(p).addClass("hide"),T&&$(T).removeClass("hide")}function q(){f=!1,a.abort()}function R(){s=0,setTimeout(function(){$(w).removeClass("hide")},n)}function U(e){e.preventDefault();if($(e.target).hasClass("greyOut"))return;login.tpdLogin.instrumentResendClicked(),q(),t=0,$(w).addClass("greyOut"),s++,$.ajax({url:"/signin/challenge/push",type:"POST",data:{_csrf:o.value,intent:"resend",accessToken:l,authflowDocumentId:c,"locale.x":u.value,flowId:login.utils.getFlowId(),tpdVariant:N,tpdTriggerMethod:k},success:function(t){if(t&&t.resendStatus==="Success"){B({accessToken:l,authflowDocumentId:c,email:h}),$(w).addClass("hide"),$(E).removeClass("hide"),setTimeout(function(){$(E).addClass("hide"),s<i&&($(w).removeClass("hide"),$(w).removeClass("greyOut"))},r);return}t&&t.notifications&&login.view.updateNotificationView(t)},fail:function(){}})}function z(e){var t=document.querySelector("#moreOptionsContainer"),n=document.querySelector("#tpdButtonContainer"),r=document.querySelector('input[name="tpdEligible"]'),i=document.querySelector("form[name=login]"),s,o=document.querySelector("#btnNext");if(!e||!n||!t)return;if(e.tpdVariant||e.tpdAutoSend)r?r.value="true":(s=document.createElement("input"),s.setAttribute("type","hidden"),s.setAttribute("name","tpdEligible"),s.setAttribute("value","true"),$(i).append(s));e.tpdVariant==="moreOptions"&&($(t).removeClass("hide"),$(".forgotLink").addClass("hide")),e.tpdVariant==="tpdButton"&&($(t).addClass("hide"),$(n).removeClass("hide"),$(".forgotLink").removeClass("hide"),$("#signupContainer").addClass("hide")),e.tpdAutoSend&&(login.tpdLogin&&login.tpdLogin.instrumentTpdLoginAutoTriggered(),login.tpdLogin&&login.tpdLogin.attemptTpdLogin("autoSend")),e.splitLoginContext==="inputEmail"&&($(t).addClass("hide"),$(n).addClass("hide"),r&&r.value==="true"&&(r.value=""));if(login.utils.isTpdDemo()&&e.splitLoginContext!=="inputEmail"){var u=document.querySelector("#splitPassword");o&&$(o).addClass("hide"),u&&$(u).removeClass("hide")}else o&&$(o).removeClass("hide")}var e=9,t=0,n=5e3,r=3e3,i=3,s=0,o=document.querySelector("input[name=_csrf]"),u=document.querySelector('input[name="locale.x"]'),a,f=!1,l,c,h,p=document.querySelector("#verification"),d=document.querySelector(".verificationSubSection"),v=document.querySelector("#expired"),m=document.querySelector("#denied"),g=document.querySelector("#expiredTryAgainButton"),y=document.querySelector("#pendingNotYouLink"),b=document.querySelector("#pending #tryPasswordLink"),w=document.querySelector("#resend"),E=document.querySelector(".sentMessage"),S=document.querySelector("#passwordInsteadDropDown"),x=document.querySelector("#passwordInsteadGroup"),T=document.querySelector("#login"),N,C,k,L=function(e){e||P(),o.value=e._csrf||o.value;switch(e.pollStatus){case"Accepted":q(),C=C?!1:e.pollStatus==="Accepted",C&&(login.logger.log({evt:"TPD_CLIENT",data:"Approved_"+e.tpdTriggerMethod,calEvent:!0}),login.logger.pushLogs()),D();break;case"Downgraded":P();break;case"Denied":q(),$(d).addClass("hide"),$(m).removeClass("hide");break;case"Failed":q(),A(e);break;default:e.errorView?(O(),login.tpdLogin.instrumentTpdExpired("RCS_SERVICE_ERROR")):P()}};return g&&(g.onclick=j),y&&(y.onclick=function(e){q(),login.tpdLogin.instrumentNotYouClicked(),login.utils.notYouClickHandler(e)}),login.pubsub&&login.pubsub.subscribe("WINDOW_CLICK",F),b&&$(b).hasClass("showSurvey")?(addEvent(b,"click",H),addEvent(x,"click",I)):b&&addEvent(b,"click",I),addEvent(w,"click",U),{startPolling:B,showResendLink:R,updateView:z}}(),login.core=function(){return function(){function I(e){var t=getEventTarget(e);if(!D||!e||!t)return;if($(t).hasClass("moreOptionsInfo")){eventPreventDefault(e),$(D).hasClass("hide")&&(login.logger.log({evt:"state_name",data:H?"begin_hybrid_pwd":"begin_pwd",instrument:!0}),login.logger.log({evt:"transition_name",data:H?"process_hybrid_pwd_more_opt":"process_pwd_more_opt",instrument:!0}),login.logger.log({evt:"TPD_CLIENT",data:"CLICKED_MORE_OPTIONS",calEvent:!0}),login.logger.pushLogs()),$(D).removeClass("hide");return}$(D).addClass("hide")}function q(e){var t=getEventTarget(e);if(!j||!e||!t)return;$(j).addClass("hide")}function R(e){if(!u)return e;var t=u.container.querySelector(".phoneCode"),n=t&&$(t).text(),r=e.lastIndexOf(n,0)===0;return r?e.substr(n.length):e}function U(e){if(l&&l.value==="inputPassword"&&!B)return;var t=l&&l.value==="inputEmail";!B&&t&&ut==="phone"&&(ut="email"),login.utils.doesItLookLikeEmail(e)?ut!=="email"&&(!B&&l.setAttribute("value","inputEmail"),ut="email",$(T)&&$(T).addClass("hide"),$(i.container).removeClass("phoneInputWrapper")):(a.field.value=e,ut!=="phone"&&(!B&&l.setAttribute("value","inputPhone"),ut="phone",$(T).removeClass("hide"),$(i.container).addClass("phoneInputWrapper")))}function z(){a.field.value=null,i.field.value=null,s&&$(s).addClass("hide");var e=login.storeInstance.getState().model,t=e&&e.contextualLogin&&e.contextualLogin.content&&e.contextualLogin.content.emailOrPhoneLabel;$(i.field).attr("placeholder",t),$(i.label).text(t),i.field.removeAttribute("data-hybrid-in-email-only-mode")}function W(e){var t=getEventTarget(e),n=i.field&&$(i.field).attr("data-hybrid-in-email-only-mode")==="true";n&&ut!=="email"&&(ut="email");if(!t||n)return;U(t.value)}function at(e){if(!e||typeof e!="string")return;return e.replace(Q,"")}function ft(e){return e.field?at(e.field.value)?!0:(vt(e),mt(e),!1):!0}function lt(e){var t=e&&e.field&&e.field.value;return!e||!e.field||e.field.hasAttribute("disabled")?!0:t?(t=t&&t.replace(tt,""),!t||t.match(Y)?(vt(e),gt(e),bt(e),!1):!0):(vt(e),mt(e),wt(e),!1)}function ct(e){var t=e&&e.field&&at(e.field.value);return e&&e.field&&e.field.hasAttribute("disabled")?!0:t?t===et?!0:t&&t.match(Z)?(vt(e),gt(e),!1):!0:(vt(e),mt(e),!1)}function ht(e,t){var n,r,i=!0,s=login.utils.getActiveCaptchaElement(l);return n=ft(e),n?(r=ft(t),r?(s&&s.field&&(i=ft(s)),i?!0:!1):!1):!1}function pt(e){if(e.value==="inputEmail")return document.querySelector("#rememberProfileEmail");if(e.value==="inputPassword")return document.querySelector("#rememberProfilePassword");return}function dt(e){var t=e.field.value.replace(Q,"");return t===et?!0:!t.match(G)&&!e.field.hasAttribute("disabled")?(vt(e),gt(e),!1):!0}function vt(e){$(e.container).addClass("hasError"),e.container.style["z-index"]=100,$(e.errMsgContainer).addClass("show"),e.field.focus()}function mt(e){$(e.errMsg).removeClass("hide")}function gt(e){$(e.invalidMsg).removeClass("hide")}function yt(e,t){t&&$(e.container).removeClass("hasError"),e.container.style["z-index"]=1,$(e.errMsgContainer).removeClass("show")}function bt(e){$(e.errMsg).addClass("hide")}function wt(e){$(e.invalidMsg).addClass("hide")}function Et(){var e,t=/\&passwordRecoveryByPhoneEnabled\=true/;if(O)for(var n=0;n<O.length;n++)e=O[n].getAttribute("href").replace(t,""),O[n].setAttribute("href",e);M&&M.setAttribute("data-src",M.getAttribute("data-src").replace(t,""))}function St(){var e;if(O)for(var t=0;t<O.length;t++)e=O[t].getAttribute("href")+"&passwordRecoveryByPhoneEnabled=true",O[t].setAttribute("href",e);M&&M.setAttribute("data-src",M.getAttribute("data-src")+"&passwordRecoveryByPhoneEnabled=true")}function xt(){var e=document.querySelector('input[name="splitLoginContext"]'),t=document.querySelector('input[name="splitLoginCookiedFallback"]');$(v).removeClass("hide"),$(m).addClass("hide"),C&&$(C).addClass("hide"),i.field&&i.field.removeAttribute("disabled"),o.field&&o.field.removeAttribute("disabled"),u.field&&u.field.setAttribute("disabled","disabled"),a.field&&a.field.setAttribute("disabled","disabled"),f.field&&f.field.setAttribute("disabled","disabled"),st||$(A).removeClass("hide"),S&&$(S).addClass("hide"),$(d).removeClass("phonePresent"),ut="email",e&&(k&&$(k).removeClass("hide"),e.value="inputEmail",t&&(e.value="inputPassword"))}function Tt(){var e=document.querySelector('input[name="splitLoginContext"]');$(m).removeClass("hide"),$(v).addClass("hide"),C&&!$(g).hasClass("hide")&&$(C).removeClass("hide"),u.field&&u.field.removeAttribute("disabled"),a.field&&a.field.removeAttribute("disabled"),f.field&&f.field.removeAttribute("disabled"),i.field&&i.field.setAttribute("disabled","disabled"),o.field&&o.field.setAttribute("disabled","disabled"),$(A).addClass("hide"),$(d).addClass("phonePresent"),w&&$(w).addClass("hide"),ut="phone",k&&$(k).addClass("hide"),e&&!st&&(e.value=e.value==="inputPassword"?"inputPin":"inputPhone")}function Nt(){function i(){var e=n.options[n.selectedIndex].value,t=e.split(" ");return{countryCode:t&&(t[0]||""),phoneCode:t&&(t[1]||"")}}var e=u.container.querySelector(".countryCode"),t=u.container.querySelector(".phoneCode"),n=u.field,r;r=i(),$(e).text(r.countryCode),$(t).text(r.phoneCode)}function Ct(){login.logger.log({evt:"state_name",data:"begin_hybrid_login",instrument:!0}),login.logger.log({evt:"transition_name",data:"click_change_country_code",instrument:!0}),login.logger.pushLogs()}function kt(e){eventPreventDefault(e);var t=document.querySelector('input[name="splitLoginContext"]'),n=document.querySelector(".countryPhoneSelectWrapper");$(m).removeClass("hide"),$(v).addClass("hide"),$(w).addClass("hide"),$(S).removeClass("hide"),yt(i,!0),u.field&&u.field.removeAttribute("disabled"),a.field&&a.field.removeAttribute("disabled"),a.field.focus(),k&&$(k).addClass("hide"),L&&$(L).removeClass("hide"),i.field&&(i.field.value=""),login.view.updateNotificationView({}),i.field&&i.field.setAttribute("disabled","disabled"),t.value="inputPhone",login.logger.log({evt:"state_name",data:"begin_email",instrument:!0}),login.logger.log({evt:"transition_name",data:"prepare_phone",instrument:!0}),login.logger.pushLogs(),login.logger.log({evt:"state_name",data:"begin_phone",instrument:!0}),login.logger.log({evt:"transition_name",data:"prepare_phone",instrument:!0}),login.logger.pushLogs(),ot?(f.field&&f.field.removeAttribute("disabled"),o.field&&o.field.setAttribute("disabled","disabled"),ut="phone",$(d).addClass("phonePresent"),$(A).addClass("hide")):(o.field&&o.field.removeAttribute("disabled"),f.field&&f.field.setAttribute("disabled","disabled"),ut="phonePassword",n&&$(n).removeClass("hide"))}function Lt(e){eventPreventDefault(e);var t=document.querySelector('input[name="splitLoginContext"]');$(v).removeClass("hide"),$(m).addClass("hide"),$(S).addClass("hide"),$(w).removeClass("hide"),C&&$(C).addClass("hide"),yt(a,!0),i.field&&i.field.removeAttribute("disabled"),o.field&&o.field.removeAttribute("disabled"),i.field.focus(),u.field&&u.field.setAttribute("disabled","disabled"),a.field&&a.field.setAttribute("disabled","disabled"),f.field&&f.field.setAttribute("disabled","disabled"),L&&$(L).addClass("hide"),k&&$(k).removeClass("hide"),$(d).removeClass("phonePresent"),ut="email",t.value="inputEmail",login.logger.log({evt:"state_name",data:"begin_phone",instrument:!0}),login.logger.log({evt:"transition_name",data:"prepare_email",instrument:!0}),login.logger.pushLogs(),login.logger.log({evt:"state_name",data:"begin_email",instrument:!0}),login.logger.log({evt:"transition_name",data:"prepare_email",instrument:!0}),login.logger.pushLogs()}function At(e,t){eventPreventDefault(e),Et(),ut="email",login.utils.notYouClickHandler(e,function(){login.logger.log({evt:"state_name",data:"begin_phone_pwd",instrument:!0}),login.logger.log({evt:"transition_name",data:"prepare_email",instrument:!0}),login.logger.pushLogs(),login.logger.log({evt:"state_name",data:"begin_email",instrument:!0}),login.logger.log({evt:"transition_name",data:"prepare_email",instrument:!0}),login.logger.pushLogs(),typeof t=="function"&&t()})}function Ot(e){var t=$("body").data("enableSuppressAutoSubmit")==="true",n=Date.now()-window.formAutofilledAt,r=parseInt($("body").data("suppressAutosubmitTime"))>=n,i="AUTOSUBMIT",s=document.querySelector('input[name="isKeychainActivationWithEmailTokenOn8ball"]');if(t&&n){login.logger.log({evt:i,data:"PREPARE_SUPPRESS_"+n,calEvent:!0}),login.logger.pushLogs();if(r){eventPreventDefault(e),delete window.formAutofilledAt;return}}var o=document.querySelector("input[name=splitLoginContext]"),u=document.querySelector("input[name=splitLoginCookiedFallback]"),a=o&&o.value||"";u||s?Rt(e):a==="inputEmail"||a==="inputPhone"||login.utils.isPrefilledEmailNext()||login.utils.isPrefillEmailEnabled()?_t(e):Rt(e)}function Mt(e){var t=R(e);a.field.value=t,i.field.value=t}function _t(e){var t,r=login.utils.getSplitLoginContext();if(login.utils.isPrefillEmailEnabled()&&r.value!=="inputEmail"&&login.utils.isTpdDemo())return eventPreventDefault(e),login.tpdLogin&&login.tpdLogin.attemptTpdLogin("autoSend");H?(ut==="phone"&&i.field&&Mt(i.field.value),t=ut==="email"?ct(i):lt(i)):t=ut==="email"?ct(i):lt(a);var s=document.querySelectorAll("form[name=login] input"),o={},u=login.utils.getActiveCaptchaElement(l),f=pt(l),h=$("body").data("splitPasswordClientTransition"),p,d,v,m,g=document.querySelector("#phoneCode");nt=!0,eventPreventDefault(e),t&&$(i.field).hasClass("validate")&&r==="inputEmail"&&(t=dt(i)),t&&u&&u.field&&(t=ft(u)),t&&(r==="inputEmail"||r==="inputPhone")&&(login.logger.log({evt:"state_name",data:login.logger.getStateName(),instrument:!0}),login.logger.log({evt:"transition_name",data:"process_next",instrument:!0}),login.logger.pushLogs());if(!t)return;login.utils.showSpinner(),login.fn.addFnSyncData(),(ut==="phonePassword"||ut==="phone")&&St(),n&&$(n).text("");if(!(!h||ut!=="phone"&&ut!=="phonePassword")){p=document.querySelector("#phone"),d=p&&p.value.replace(tt,""),v=document.querySelector("#phoneCode"),v=v&&v.value.replace(/[A-Z\s]/ig,""),p.value=d,login.storeInstance.updateModel({splitLoginContext:ot?"inputPin":"inputPassword",profile:{phone:d,phoneCode:v}}),login.logger.log({evt:"state_name",data:"begin_phone",instrument:!0}),login.logger.log({evt:"transition_name",data:ot?"prepare_pin":"prepare_pwd",instrument:!0}),login.logger.pushLogs(),login.utils.hideSpinner(),login.utils.setSliderToPasswordContainer();return}if(h&&ut==="email"){login.storeInstance.updateModel({splitLoginContext:"inputPassword",profile:{email:i&&i.field&&i.field.value},rememberProfile:f&&f.checked}),login.utils.hideSpinner(),login.utils.setSliderToPasswordContainer();return}for(var y=0;y<s.length;y++)o[s[y].name]=s[y].value;delete o.login_password,delete o.login_pin,o.splitLoginContext==="inputPhone"&&g&&(o.phoneCode=g.value,delete o.login_email),o.splitLoginContext==="inputEmail"&&(delete o.login_phone,delete o.phoneCode),H&&(o.splitLoginContext==="inputPassword"&&o.login_phone&&(o.phoneCode=g.value),o.splitLoginContext==="inputPhone"&&i.field?(i.field.setAttribute("disabled","disabled"),i.field.value=""):o.splitLoginContext==="inputEmail"&&a.field&&(a.field.setAttribute("disabled","disabled"),a.field.value="")),u&&u.field&&(o.captcha=u.field.value),f&&(o.rememberProfile=f.checked),m=getEventTarget(e),$.ajax({url:c.getAttribute("action"),data:o,success:login.utils.successfulXhrHandler,fail:login.utils.failedXhrSubmitHandler})}function Dt(){var e=document.querySelector('input[name="splitLoginCookiedFallback"]'),t=document.querySelector("#phone"),n=document.querySelector("#email"),r=document.querySelector(".profileDisplayEmail"),i=r&&r.innerHTML;if(!i||e||!n||!t)return;n.hasAttribute("disabled")&&!t.hasAttribute("disabled")?(t.value=i,n.value=""):!n.hasAttribute("disabled")&&t.hasAttribute("disabled")&&(n.value=i,t.value="")}function Pt(){ut==="email"?a&&a.field&&a.field.setAttribute("disabled","disabled"):i&&i.field&&i.field.setAttribute("disabled","disabled")}function Ht(){var e=document.querySelector("form[name=login]"),t=document.querySelector("#password"),n=document.querySelector("#btnLogin"),r=t.matches(":-webkit-autofill");if(r&&Object.prototype.hasOwnProperty.call(window,"getComputedStyle")){var i=window.getComputedStyle(t),s=i.backgroundColor,o=(s.match(/[0-5]{1,3}/g)||[]).join(",");login.utils.addHiddenElement("passwordFieldAutofillColor",o,e)}}function Bt(e,t,n,r){var i=document.querySelector(".profileDisplayPhoneCode"),s={};for(var o=0;o<e.length;o++)s[e[o].name]=e[o].value;return s.splitLoginContext==="inputPassword"&&s.login_phone&&i&&i.textContent!==""&&(s.phoneCode=i.textContent,delete s.login_email),s.splitLoginContext==="inputPassword"&&!s.login_phone&&i&&i.textContent===""&&(delete s.login_phone,delete s.phoneCode),r&&s.splitLoginContext==="inputPassword"&&s.login_phone&&i&&i.textContent!==""&&(s.phoneCode=i.textContent),s}function jt(e,t,n){var r=t&&t.field?t.field.value:null,i=n?n.checked:null,s=Bt(e,r,i,H);return login.utils.makeServerRequestAndReturnPromise("/signin",{data:s})}function Ft(e){var n=document.querySelector("#keychain-interstitial"),r=document.querySelector("#content"),i=e&&e.isKeychainOptinRequired,s=e&&e.returnUrl;p&&p.removeAttribute("disabled");if(i&&s)return login.utils.hideSpinner(),login.utils.hideSpinnerMessage(),n&&$(n).removeClass("hide"),r&&$(r).addClass("hide"),login.logger.log({evt:t,data:"XHR_LOGIN_SUCCESS",calEvent:!0}),login.logger.pushLogs(),login.keychain(e);if(s)return login.logger.log({evt:t,data:"XHR_LOGIN_SUCCESS",calEvent:!0}),login.logger.pushLogs(),window.location.href=s;login.utils.hideSpinner(),login.utils.hideSpinnerMessage();if(e.notifications&&e.notifications.msg){var o=document.querySelector(".notifications"),u=document.createElement("p");u.innerHTML=e.notifications.msg,u.className+="notification "+(e.notifications.type||""),u.setAttribute("role","alert"),o.innerHTML="",o.appendChild(u)}return login.logger.log({evt:t,data:"XHR_LOGIN_FAILURE",calEvent:!0}),login.logger.pushLogs()}function It(){login.utils.hideSpinner(),login.utils.hideSpinnerMessage(),p&&p.removeAttribute("disabled"),login.logger.log({evt:t,data:"XHR_FAILED",calEvent:!0}),login.logger.pushLogs(),login.utils.failedXhrSubmitHandler()}function qt(){var e=login.utils.getIntent(),t=document.querySelector("#keepMeLoggedIn"),n=t&&t.checked,r=$("body").data("keychainXhrSubmit")==="true",i=$("body").data("isKeychainExperienceEnabled")==="true",s=document.querySelector('input[name="isKeychainActivationWithEmailTokenOn8ball"]');return!r||!i||s?!1:e==="signin"||e==="checkout"&&n}function Rt(e){function v(){var e=l&&l.value;if(!a.field)return;B?t=lt(i)&&o.field&&ht(a,o):e==="inputPassword"?t=o.field&&ht(a,o):t=f.field&&ht(a,f)}var t,n=document.querySelector(".profileRememberedEmail"),r=$("body").data("isTrackPasswordFieldAutofillEnabled"),s=document.querySelector(".transitioning"),u=document.querySelectorAll("form[name=login] input")||{},h=login.utils.getActiveCaptchaElement(l),d=pt(l);B&&ut==="phone"&&i.field?Mt(i.field.value):Dt(),nt=!0,ut==="email"?(t=ct(i)&&ht(i,o),!n&&t&&$(i.field).hasClass("validate")&&(t=dt(i))):v(),r&&Ht();if(t){B&&Pt(),login.utils.showSpinner(),login.utils.showSpinnerMessage(),login.fn.addFnSyncData(),eventPreventDefault(e);if(qt())return $(s).addClass("nonTransparentMask"),login.utils.showSpinnerMessage("checkingInfo"),jt(u,h,d).then(Ft).catch(It);c&&c.submit(),setTimeout(function(){p.setAttribute("disabled","disabled")},10)}else eventPreventDefault(e)}function Ut(e){var t;if(!nt)return!1;t=e.field.value.replace(Q,"");if(t===""){mt(e),e.type==="email"&&wt(e);return}bt(e),e.type==="email"&&$(e.field).hasClass("validate")?t.match(G)?(wt(e),yt(e,!0)):(vt(e),gt(e)):yt(e,!0)}function zt(e){nt=!1,yt(e)}function Wt(e){$(e.container).hasClass("hasError")?nt=!0:nt=!1}function Xt(){var e=a.field&&a.field.value;return a.field&&$(a.field).attr("type")!=="hidden"&&(i.field&&i.field.hasAttribute("disabled")||l&&l.value==="inputPhone")?ot?"phone":"phonePassword":l&&l.value==="inputPin"||e?"phone":"email"}function Vt(e){var t=login.utils.getActiveCaptchaElement(l),n=t.audioTag,r=!!n.canPlayType&&!!n.canPlayType("audio/mpeg").replace(/no/,"");if(!r)return!0;eventPreventDefault(e),t.field.focus(),n.play()}function $t(e){var t=login.utils.getActiveCaptchaElement(l);eventPreventDefault(e),eventStopPropagation(e),$.ajax({type:"POST",url:"/signin/refreshCaptcha",data:{_csrf:document.querySelector("#token").value},dataType:"json",success:function(e){e&&e.captcha&&(t.image.setAttribute("src",e.captcha.captchaImgUrl),t.audioTag.setAttribute("src",e.captcha.captchaAudioUrl),t.playAudioBtn.setAttribute("href",e.captcha.captchaAudioUrl),t.field.value="",$("body").hasClass("desktop")&&t.field.focus())}})}function Jt(e){var t=getEventTarget(e);if(!t)return;setTimeout(function(){$(t).hasClass("scTrack:unifiedlogin-rememberme-profile-opt-in")?($(t).removeClass("scTrack:unifiedlogin-rememberme-profile-opt-in"),$(t).addClass("scTrack:unifiedlogin-rememberme-profile-opt-out")):($(t).removeClass("scTrack:unifiedlogin-rememberme-profile-opt-out"),$(t).addClass("scTrack:unifiedlogin-rememberme-profile-opt-in"))},10)}function Kt(){function n(e){e.playAudioBtn.onclick=Vt,e.refreshCaptchaBtn.onclick=$t,e.field.onkeyup=Ut.bind(null,e),e.field.onblur=zt.bind(null,e),e.field.onfocus=Wt.bind(null,e)}var e=document.querySelectorAll(".captcha-container");for(var t=0;t<e.length;t++)n(login.utils.getCaptchaDom(e[t]))}function Qt(e){var t=getEventTarget(e),n,r,i;if(!t||t.id!=="iconCloseEducation")return;n=document.querySelector(".educationMessage");if(!n)return;r=document.querySelector(".contentContainer"),$(n).addClass("hide"),r&&$(r).removeClass("contentContainerShort"),i=document.createElement("input"),i.setAttribute("type","hidden"),i.setAttribute("name","removeEducationMsg"),i.setAttribute("value","true"),$(c).append(i)}function Gt(e){var t=ut==="email"?ct(i):lt(a),n=getEventTarget(e);eventPreventDefault(e),login.tpdLogin&&login.tpdLogin.instrumentTpdLoginClicked(n.id),document.body.setAttribute("data-tpd-survey-enabled",!1),t&&$(i.field).hasClass("validate")&&(t=dt(i));if(!t)return;login.tpdLogin&&login.tpdLogin.attemptTpdLogin(n.id)}function Yt(e){Et(),ut="email",login.utils.notYouClickHandler(e),i.container&&yt(i,!0),o.container&&yt(o,!0),a.container&&yt(a,!0),f.container&&yt(f,!0)}var t="XHR_LOGIN",n=document.querySelector("#notifications"),r=document.querySelector('input[name="splitLoginCookiedFallback"]'),i={container:document.querySelector("#login_emaildiv"),field:document.querySelector("#email"),label:document.querySelector('label[for="email"]'),errMsgContainer:document.querySelector("#emailErrorMessage"),errMsg:document.querySelector("#emailErrorMessage .emptyError"),invalidMsg:document.querySelector("#emailErrorMessage .invalidError"),phoneEmailToggleIcon:document.querySelector("#login_emaildiv .icon"),type:"email"},s=document.querySelector(".textInputMask.email"),o={container:document.querySelector("#login_passworddiv"),field:document.querySelector("#password"),errMsgContainer:document.querySelector("#passwordErrorMessage"),errMsg:document.querySelector("#passwordErrorMessage .emptyError")},u={container:document.querySelector("#pinSection")||document.querySelector(".splitPhoneSection"),field:document.querySelector("#phoneCode")},a={container:document.querySelector("#login_phonediv"),field:document.querySelector("#phone"),errMsgContainer:document.querySelector("#phoneErrorMessage"),errMsg:document.querySelector("#phoneErrorMessage .emptyError"),invalidMsg:document.querySelector("#phoneErrorMessage .invalidError")},f={container:document.querySelector("#login_pindiv"),field:document.querySelector("#pin"),errMsgContainer:document.querySelector("#pinErrorMessage"),errMsg:document.querySelector("#pinErrorMessage .emptyError")},l=document.querySelector("input[name=splitLoginContext]"),c=document.querySelector(".proceed"),h=document.querySelector("#btnNext"),p=document.querySelector("#btnLogin"),d=document.querySelector(".actions"),v=document.querySelector("#splitEmailSection")||document.querySelector("#passwordSection"),m=document.querySelector("#splitPhoneSection")||document.querySelector("#pinSection"),g=document.querySelector("#splitPassword")||document.querySelector("#splitPinSection")||document.querySelector("#pinSection"),y=document.querySelector(".email"),b=document.querySelector(".phone"),w=document.querySelector("#loginWithPhoneOption"),E=document.querySelector("#switchToPhone"),S=document.querySelector("#loginWithEmailOption"),x=document.querySelector("#switchToEmail"),T=document.querySelector(".countryPhoneSelectWrapper"),N=document.querySelector("#emailPageSwitch"),C=document.querySelector(".educationMessage"),k=document.querySelector("#emailSubTagLine"),L=document.querySelector("#phoneSubTagLine"),A=document.querySelector(".forgotLink"),O=A&&A.querySelectorAll(".pwrLink"),M=A&&A.querySelector("#pwdIframe"),_=document.querySelector("#moreOptionsMobile"),D=document.querySelector("#moreOptionsDropDown"),P=document.querySelector("#tpdButton"),H=login.utils.isHybridLoginExperience(),B=login.utils.isHybridEditableOnCookied(),j=document.querySelector("#tpdDemo"),F=document.querySelector('input[name="ctxId"]');H&&(addEvent(i.field,"input",W),addEvent(i.field,"change",W)),B&&U(i.field.value),login.pubsub&&(login.pubsub.subscribe("WINDOW_CLICK",I),login.pubsub.subscribe("WINDOW_CLICK",q));var X=document.querySelector("#createAccount");X&&(X.onclick=function(e){var t=login.logger.getStateName();login.utils.getOutboundLinksHandler(X,t,"process_signup")(e)});var V=document.querySelector("#backToInputEmailLink"),J=document.querySelector("#backToEmailPasswordLink"),K=document.querySelector("#rememberProfileEmail"),Q=/^\s+|\s+$/,G=/^\S+@\S+\.\S+$/,Y=/[^\d]+/g,Z=/\s/g,et="PayPal One Touchâ„¢",tt=/[-().\s]/ig,nt=!1,rt=document.querySelector("form[name=smartlockForm]"),it=document.querySelector("#secondaryLoginBtn"),st=$("body").data("phonePasswordEnabled"),ot=$("body").data("phonePinEnabled"),ut=Xt();i.field&&(i.field.onkeyup=Ut.bind(null,i),i.field.onblur=zt.bind(null,i),i.field.onfocus=Wt.bind(null,i)),o.field&&(o.field.onkeyup=Ut.bind(null,o),o.field.onblur=zt.bind(null,o),o.field.onfocus=Wt.bind(null,o)),a.field&&(a.field.onkeyup=Ut.bind(null,a),a.field.onblur=zt.bind(null,a),a.field.onfocus=Wt.bind(null,a)),f.field&&(f.field.onkeyup=Ut.bind(null,f),f.field.onblur=zt.bind(null,f),f.field.onfocus=Wt.bind(null,f)),u&&u.field&&(u.field.onchange=Nt,H&&(u.field.onclick=Ct)),Kt(),y&&b?(y.onclick=xt,b.onclick=Tt):y&&(y.onclick=At),st&&E&&(E.onclick=kt),st&&x&&(x.onclick=Lt),addEvent(T,"focusin",function(e){$(T).addClass("focus")}),addEvent(T,"focusout",function(e){$(T).removeClass("focus")}),N&&addEvent(N,"click",function(e){var t=document.querySelector("input[name=forcePhonePasswordOptIn]");eventPreventDefault(e),At(e,function(){t.value="true"})}),addEvent(c,"keydown",function(e){var t=getEventTarget(e);isEnterKeyPressed(e)&&!t.href&&!$(t).hasClass("show-hide-password")&&Ot(e)}),addEvent(c,"submit",Ot),_&&addEvent(_,"click",Gt),P&&addEvent(P,"click",Gt),V&&addEvent(V,"click",function(e){Yt(e),H&&z()}),J&&addEvent(J,"click",function(e){e.preventDefault(),r?xt():Yt(e)}),K&&(K.onclick=Jt),login.pubsub&&login.pubsub.subscribe("WINDOW_CLICK",Qt)}}(),login.oneTouchLogin=function(){function o(){var t=[],r=document.querySelector('input[name="locale.x"]');t.push({evt:"state_name",data:"Login_UL_RM",instrument:!0}),t.push({evt:"transition_name",data:"prepare_login_UL_RM",instrument:!0}),t.push({evt:"design",data:e.isInContextIntegration()?"in-context":"full-context",instrument:!0}),r&&t.push({evt:"page_lang",data:r.value,instrument:!0}),t.push({evt:i,data:"PREPARE_PAGE_"+s.toUpperCase(),calEvent:!0}),n.clientLog(t,null)}function u(e,t){var n=document.querySelector(".notifications"),r,i;n&&(r=document.createElement("p"),i=document.createTextNode(e),r.setAttribute("class","notification "+t),r.setAttribute("role","alert"),r.appendChild(i),n.appendChild(r))}function a(){var n=document.querySelectorAll("form[name=login] input[type=hidden]"),r=document.querySelector("input[name=login_email]"),i=document.querySelector("input[name=login_password]"),s=$("body").data("oneTouchUser"),a=$("body").data("oneTouchTenant"),f=login.utils.getIntent(),l=$("body").data("cookieBannerEnabled"),c=$("body").data("isKeychainOptinRequired"),h={_csrf:1,intent:1,flowId:1,ctxId:1,returnUri:1,state:1,"locale.x":1},p={};for(var d=0;d<n.length;d++)h[n[d].name]&&(p[n[d].name]=n[d].value);if(!p.intent||f!=="prox"&&!p.returnUri||!s){e.hideSpinner(),autoLoginfallBackClientLog();return}p.otLoginIntent=p.intent,p.login_email=r&&r.value,a&&(p.oneTouchTenant=a),e.showSpinner(),o(),$.ajax({url:"/signin/ot-token",method:"POST",data:p,success:function(n){var s;r&&r.removeAttribute("disabled"),i&&i.removeAttribute("disabled");if(n.keychainDeviceToken&&login.keychain)return login.keychain(n);if(n.smartlockOptIn&&login.smartLock){login.smartLock(n);return}if(n.incompleteContext){window.location.href=window.location.href;return}if(n.returnUrl){window.location.href=n.returnUrl;return}s=n.notifications,s&&u(s.msg,s.type),e.hideSpinner(),e.hideSpinnerMessage("secureMessage"),e.hideSpinnerMessage("oneTouchMessage"),autoLoginfallBackClientLog({error_code:"ot_login_failed"}),l&&t&&t.showCookieBanner()},fail:function(n){e.hideSpinner(),r&&r.removeAttribute("disabled"),i&&i.removeAttribute("disabled"),e.hideSpinnerMessage("secureMessage"),e.hideSpinnerMessage("oneTouchMessage"),autoLoginfallBackClientLog({error_code:"ot_login_xhr_fail"}),l&&t&&t.showCookieBanner()}})}var e=login.utils,t=login.loadResources,n=login.logger,r=window.PAYPAL.ulData||{},i="ONETOUCH_LOGIN",s=e.getIntent();return function(){var n=$("body").data("oneTouchUser"),i=$("body").data("isKeychainOptinRequired")==="true",s=$("body").data("tpdAutoSend"),o=r.aPayAuth;if(!o&&n){a();return}if(o&&r.canNotMakePayment){a();return}!s&&!isAPaySupported()&&!n&&!i&&e.hideSpinner()}}(),login.showHidePassword=function(){function e(e,t){function o(){$(n).addClass("hide"),$(r).addClass("hide")}function u(e){t==="tel"?$(i).removeClass("tel-password"):i.setAttribute("type",t),$(n).addClass("hide"),$(r).removeClass("hide"),i.focus(),e.stopPropagation(),login.logger.log({evt:"is_pwd_sh",data:"Y",instrument:!0}),login.logger.pushLogs()}function a(e){t==="tel"?$(i).addClass("tel-password"):i.setAttribute("type","password"),$(n).removeClass("hide"),$(r).addClass("hide"),i.focus(),e.stopPropagation(),login.logger.log({evt:"is_pwd_sh",data:"N",instrument:!0}),login.logger.pushLogs()}function f(e){o(),(login.utils.isFieldPrefilled(i)||i.value.length>0)&&s&&$(s).hasClass("hide")&&(t==="text"?i.getAttribute("type")==="password"?$(n).removeClass("hide"):$(r).removeClass("hide"):$(i).hasClass("tel-password")?$(n).removeClass("hide"):$(r).removeClass("hide")),e.stopPropagation()}var n=e.querySelector(".showPassword"),r=e.querySelector(".hidePassword"),i=e.querySelector(".pin-password"),s=e.querySelector("#pwFpIcon");t=t||"text",t==="tel"&&$(i).addClass("tel-password"),n.onclick=u,r.onclick=a,i.onfocus=f,addEvent(i,"keyup",f),i.onclick=function(e){e.stopPropagation()},window.onclick=o}return function(){var n=document.querySelector("#signUpSection"),r=document.querySelector("#passwordSection"),i=document.querySelector("#pinSection")||document.querySelector("#splitPinSection"),s;i&&(s=i.querySelector(".pin-password")),n&&e(n),r&&e(r),i&&s&&e(i,s.getAttribute("type")==="tel"?"tel":"text")}}(),login.oneTouch=function(){return function(){var t=document.querySelector(".keepMeLoginAbout"),n=document.getElementById("keepMeLoginTerms"),r=document.querySelector(".keepMeLogin .tagLine"),i=login.utils.getKmliCb(),s="scTrack:unifiedlogin-rememberme-about-open",o="scTrack:unifiedlogin-rememberme-about-close",u="scTrack:unifiedlogin-rememberme-opt-in",a="scTrack:unifiedlogin-rememberme-opt-out";if(!i||!t||!n)return;t.setAttribute("href","#"),t.onclick=function(){$(n).hasClass("slideUp")?($(n).removeClass("slideUp"),$(n).addClass("slideDown"),$(t).attr("aria-expanded","true"),setTimeout(function(){$(t).removeClass(s),$(t).addClass(o)},10)):($(n).removeClass("slideDown"),$(n).addClass("slideUp"),$(t).attr("aria-expanded","false"),setTimeout(function(){$(t).removeClass(o),$(t).addClass(s)},10)),t.focus(),r&&$(r).toggle(),setTimeout(function(){window.dispatchEvent&&window.dispatchEvent(createNewEvent("resize"))},200)},i.onclick=function(){setTimeout(function(){$(i).hasClass(u)?($(i).removeClass(u),$(i).addClass(a)):($(i).removeClass(a),$(i).addClass(u))},10)}}}(),login.footer=function(){function n(){var e=document.querySelector(".footer"),t=document.querySelector(".activeContent"),n=document.querySelector("#returnToMerchant"),r,i,s=n&&$(n).outerHeight()||0;r=$(t).outerHeight()+$(e).outerHeight()+s,i=window.innerHeight||document.documentElement&&document.documentElement.clientHeight||window.screen&&window.screen.height||document.height||document.body&&document.body.offsetHeight,i<r?$(e).addClass("footerStayPut"):$(e).removeClass("footerStayPut")}var e=document.querySelectorAll(".localeSelector li a");for(var t=0;t<e.length;t++)e[t].onclick=login.utils.getOutboundLinksHandler(e[t],null,"process_language_change");return function(){n(),addEvent(window,"resize",n)}}(),login.pwr=function(){return function(){function o(e){e.preventDefault(),s=document.createElement("div"),s.className="modal-underlay",document.body.appendChild(s),n.style.display="block",setTimeout(function(){s.style.opacity=.7,n.style.opacity=1},0),r.setAttribute("src",$(r).data("src")),r.focus(),r.onload=function(){a(),r.focus()},login.logger.log({evt:"state_name",data:login.logger.getStateName(),instrument:!0}),login.logger.log({evt:"transition_name",data:"process_password_recovery",instrument:!0}),login.logger.pushLogs()}function u(){var e=document.querySelector(".modal-underlay");document.body.removeChild(e),n.style.display="none",r.setAttribute("src","about:blank"),r.setAttribute("title","pwdIframe"),t&&t.length>0&&t[1].focus()}function a(){var e=window.innerHeight||document.documentElement.clientHeight;e<=n.clientHeight?(n.style.transform="translate(-50%, 0%)",n.style.top=0):(n.style.transform="translate(-50%, -50%)",n.style.top="50%")}var t=document.querySelectorAll(".startPwrFlowBtn"),n=document.getElementById("password-recovery-modal"),r=document.getElementById("pwdIframe"),i,s;r&&login.utils.isInIframe()&&r.setAttribute("target","_blank");if(t&&t.length>0&&!login.utils.isInIframe()){i=document.createElement("button"),i.className="ui-dialog-titlebar-close",i.setAttribute("type","button"),i.setAttribute("alt","Close"),i.setAttribute("aria-label","Close"),n.appendChild(i);for(var f=0;f<t.length;f++)addEvent(t[f],"click",o);i.onclick=u,addEvent(r,"focusout",function(e){e.preventDefault(),i.focus()}),i.onkeydown=function(e){e.which===9&&r.focus()},addEvent(window,"resize",a)}}}(),login.authCaptcha=function(){return function(t){function a(e){e.preventDefault(),e.stopPropagation(),$.ajax({method:"GET",url:"/auth/refreshcaptcha",success:function(e){e!=="undefined"&&($(".captcha-container img").attr("src",e.captchaImgUrl),$(".captcha-container .audio a").attr("href",e.captchaAudioUrl),$(".captcha-container input").val(""),$("#captchaPlayer").attr("src",e.captchaAudioUrl),$("body").hasClass("desktop")&&$(".captcha-container input").focus())}})}function f(e){var t=document.getElementById("captchaPlayer"),n=!!t.canPlayType&&!!t.canPlayType("audio/mpeg;").replace(/no/,"");if(!n)return!0;e.preventDefault(),$(".captcha-container input").focus(),t.play()}function l(e){$(e.container).addClass("hasError"),e.container.style["z-index"]=100,$(e.errMsgContainer).addClass("show"),e.field.focus()}function c(e){$(e.errMsg).removeClass("hide")}function h(e){$(e.errMsg).addClass("hide")}function p(e){return e.field&&typeof e.field.value=="string"&&!e.field.value.trim()?(l(e),c(e),!1):!0}function d(e){var n=!0;return e&&e.field&&!t&&(n=p(e)),n}function v(e){return e?{container:e.querySelector("div.textInput"),field:e.querySelector("input[type=text]"),errMsgContainer:e.querySelector("div.errorMessage"),errMsg:e.querySelector("div.errorMessage .emptyError")}:null}function m(e){var t=d(o),n=document.querySelector("form[name=challenge]"),r={};u=!0,e&&eventPreventDefault(e);if(!t)return;login.utils.showSpinner();for(var i=0;i<n.length;i++)r[n[i].name]=n[i].value;$.ajax({url:s.getAttribute("action"),data:r,success:login.utils.successfulXhrHandler,fail:login.utils.failedXhrSubmitHandler})}function g(e){$(e.container).hasClass("hasError")?u=!0:u=!1}function y(e,t){t&&$(e.container).removeClass("hasError"),e.container.style["z-index"]=1,$(e.errMsgContainer).removeClass("show")}function b(e){u=!1,y(e)}function w(e){var t=e.field.value.trim();if(!u)return!1;t===""?c(e):(h(e),y(e,!0))}var n=document.querySelector(".captchaRefresh"),r=document.querySelector(".captchaPlay"),i=document.querySelector("#captcha"),s=document.querySelector("#ads-container form"),o=v(i),u=!1;if(t){m();return}n.onclick=a,r.onclick=f,s.onsubmit=m,o.field.onfocus=g.bind(null,o),o.field.onblur=b.bind(null,o),o.field.onkeyup=w.bind(null,o)}}(),login.ads=function(){function init(e){var t,n=e||$("body").data("adsChallengeUrl");$.ajax({url:n,method:"GET",success:function(e){t=document.createElement("script"),t.id="ads",t.type="text/javascript",t.setAttribute("nonce",$("body").data("nonce")),t.text=e.replace(/<\/?(html|body|script)>/g,""),document.body.appendChild(t)},fail:function(e){}})}function handleAdsInterception(htmlResponse){var isAutoSubmit=!0,adsContainerId="ads-container",adsContainerDiv,scriptNodes,adsCaptchaType;document.getElementById("ads-container")&&document.getElementById("ads-container").parentNode.removeChild(document.getElementById("ads-container")),adsContainerDiv=document.createElement("div"),adsContainerDiv.setAttribute("id",adsContainerId),adsContainerDiv.innerHTML=htmlResponse,$("#main").append(adsContainerDiv),scriptNodes=adsContainerDiv.getElementsByTagName("script");for(var i=0;i<scriptNodes.length;i++)eval.call(this,scriptNodes[i].innerHTML);typeof autosubmit!="undefined"&&(isAutoSubmit=autosubmit),typeof captchatype!="undefined"&&(adsCaptchaType=captchatype),isAutoSubmit?document.getElementById("ads-container").style.display="none":$("#login").addClass("hide"),typeof login.authCaptcha=="function"&&login.authCaptcha(isAutoSubmit),isAutoSubmit||(login.utils.hideSpinner(),login.utils.hideSpinnerMessage()),login.logger.log({evt:"ads_state_name",data:isAutoSubmit?"pre_jschallenge_served":adsCaptchaType,instrument:!0}),login.logger.pushLogs()}return{init:init,handleAdsInterception:handleAdsInterception}}(),login.tpdLogin=function(){function n(e){var t={};if(!e)return;login.logger.log({evt:"state_name",data:e.stateName,instrument:!0}),login.logger.log({evt:"transition_name",data:e.transitionName,instrument:!0}),e.calName&&login.logger.log({evt:"TPD_CLIENT",data:e.calName,calEvent:!0}),login.logger.pushLogs()}function r(){n({stateName:"begin_tpd",transitionName:"prepare_verification"})}function i(e){n({stateName:"begin_pwd",transitionName:"process_pwd_tpd_click",calName:"INIT_TPD"+(e&&"_"+e)})}function s(){n({stateName:"begin_tpd",transitionName:"process_pwd_tpd_auto",calName:"AUTO_TPD_LOGIN"})}function o(){n({stateName:"begin_tpd",transitionName:"process_not_you",calName:"PROCESS_NOT_YOU"})}function u(){n({stateName:"begin_tpd",transitionName:"process_resend",calName:"PROCESS_RESEND"})}function a(e){switch(e){case"passwordReason1":n({stateName:"begin_use_pwd",transitionName:"process_no_phone",calName:"USE_PASSWORD_NO_PHONE"});break;case"passwordReason2":n({stateName:"begin_use_pwd",transitionName:"process_no_notification",calName:"USE_PASSWORD_NO_NOTIFICATION"});break;case"passwordReason3":n({stateName:"begin_use_pwd",transitionName:"process_prefer_password",calName:"USE_PASSWORD_PREFER_PASSWORD"});break;case"passwordReason4":n({stateName:"begin_use_pwd",transitionName:"process_try_later",calName:"USE_PASSWORD_TRY_LATER"});break;case"passwordReason5":n({stateName:"begin_use_pwd",transitionName:"process_other",calName:"USE_PASSWORD_OTHER"});break;default:n({stateName:"begin_tpd",transitionName:"process_use_pwd",calName:"USE_PASSWORD"})}}function f(e){n({stateName:"end_tpd_notification",transitionName:"expired_tpd_no_action",calName:"EXPIRED_TPD_"+e})}function l(n){var r=document.querySelectorAll("form[name=login] input"),i={},s=$("body").data("tpdVariant");$("body").data("isPrefillEmailEnabled")&&$("body").data("tpdDemo")&&document.body.removeAttribute("data-is-prefill-email-enabled"),e.showSpinner();for(var o=0;o<r.length;o++)i[r[o].name]=r[o].value;if(i.tpdEligible!=="true"){e.hideSpinner();return}i.splitLoginContext="tpd",delete i.login_password,delete i.login_pin,i.tpdVariant=n,i.originalVariant=s,login.fn.addFnSyncData(),$.ajax({url:t.getAttribute("action"),method:"POST",data:i,success:e.successfulXhrHandler,fail:e.failedXhrSubmitHandler})}function c(){var e=$("body").data("tpdAutoSend");if(login.utils.isTpdDemo())return;e==="true"&&(s(),l("autoSend"))}var e=login.utils,t=document.querySelector("form[name=login]");return{instrumentVerificationViewRendered:r,instrumentTpdLoginClicked:i,instrumentTpdLoginAutoTriggered:s,instrumentNotYouClicked:o,instrumentResendClicked:u,instrumentUsePasswordInstead:a,initialize:c,attemptTpdLogin:l,instrumentTpdExpired:f}}(),login.singleSignOn=function(){function o(){var o={},u=document.querySelectorAll("form[name=login] input[type=hidden]");t&&(r&&r==="venmo"?e.hideSpinner():(e.showSpinner(),$(n).addClass("nonTransparentMask"),s?e.showSpinnerMessage("oneSecond"):e.showSpinnerMessage("secureMessage")),o.ssoViaToken=!0,login.fn.updateFnSyncContext({sourceId:"SSO_LOGIN"}),login.fn.addFnSyncData());var a={_csrf:1,intent:1,ctxId:1,returnUri:1,state:1,authContextId:1,authCode:1,billingId:1,"locale.x":1,fn_sync_data:1,flowId:1};for(var f=0;f<u.length;f++)a[u[f].name]&&(o[u[f].name]=u[f].value);login.logger.log({evt:"state_name",data:"sso_login",instrument:!0}),login.logger.log({evt:"transition_name",data:"prepare_sso_login",instrument:!0}),login.logger.pushLogs(),$.ajax({url:"/signin/sso",method:"POST",data:o,success:function(t){var n=t.returnUrl,i=t.failureReturnUrl;login.logger.log({evt:"state_name",data:"sso_login",instrument:!0}),login.logger.log({evt:"transition_name",data:"process_sso_login",instrument:!0}),login.logger.pushLogs();if(r&&(n||i)){e.isBrowserInPrivateMode(function(e){var t=e&&e.isPrivate;if(!t&&n){window.location.href=n;return}t&&(window.location.href=i||n)});return}if(n){window.location.href=n;return}t.notifications&&login.utils.updatePageLevelError(t.notifications.msg,t.notifications.type),r!=="venmo"&&(e.hideSpinner(),e.hideSpinnerMessage("oneSecond"),e.hideSpinnerMessage("secureMessage"))},fail:function(t){var n=e.parseJsonSafe(t.response);if((r&&r==="venmo"||i&&i==="venmo")&&n.returnUrl){window.location.href=n.returnUrl;return}e.hideSpinner(),e.hideSpinnerMessage("oneSecond"),e.hideSpinnerMessage("secureMessage")}})}var e=login.utils,t=$("body").data("ssoviatoken"),n=document.querySelector(".transitioning"),r=$("body").data("tenantsso"),i=$("body").data("tenantssocontingency"),s=$("body").data("ssoDefaultContent");return function(){if(t){login.fn.initialize(),o();return}}}(),login.smartLock=function(){function E(t){var n={};if(!t)return;login.logger.log({evt:"state_name",data:t.stateName,instrument:!0}),login.logger.log({evt:"transition_name",data:t.transitionName,instrument:!0}),login.logger.log({evt:"api_name",data:t.apiName,instrument:!0}),t.errorCode&&login.logger.log({evt:"ext_error_code",data:t.errorCode,instrument:!0}),t.calName&&login.logger.log({evt:"CROSS_DEVICE_OT_CLIENT",data:t.calName+"_"+a,calEvent:!0}),t.respDuration&&login.logger.log({evt:"resp_duration",data:t.respDuration,instrument:!0}),t.updateCapping&&(n.data={updateCapping:t.updateCapping}),t.resetCapping&&(n.data=n.data||{},n.data.resetCapping=t.resetCapping),t.googleSessionExists&&login.logger.log({evt:"google_session_exists",data:t.googleSessionExists,instrument:!0}),t.redirectOnComplete&&(n.complete=function(){login.utils.showSpinner(),window.location.href=e.slReturnUrl||""}),t.slTokenStatus&&login.logger.log({evt:"sl_token_status",data:t.slTokenStatus,instrument:!0}),login.logger.pushLogs(n)}function S(){return $(t).hasClass("mobile")}function x(){return Date.now?Date.now():(new Date).getTime()}function T(e){var t=document.querySelector(".modal-underlay");S()&&(e.style.width="100%",e.style.height="100%"),t||(t=document.createElement("div"),t.className="modal-underlay",document.body.appendChild(t)),e.style.display="block",t.style.opacity=.7,e.style.opacity=1,login.logger.log({evt:"CROSS_DEVICE_OT_CLIENT",data:"LEARN_MORE_"+a,calEvent:!0})}function N(e){var t=document.querySelector(".modal-underlay");t&&document.body.removeChild(t),e.style.display="none"}function C(e){f=f&&$(f).remove();if(e&&e.target&&e.target.id==="backToInputEmailLink")return;login.logger.log({evt:"CROSS_DEVICE_OT_CLIENT",data:"CHANGE_"+a,calEvent:!0}),login.logger.log({evt:"clicked_not_you",data:"y",instrument:!0}),login.utils.notYouClickHandler(e,function(){i&&($(i).addClass("hide"),$(i).removeClass("activeContent")),o&&($(o).removeClass("hide"),$(o).addClass("activeContent"))})}function k(e,t,n){var r=document.querySelector(".transitioning p.oneSecond"),i={};e=e||{},e.data&&(i=e.data),i._csrf=login.utils.getCSRFToken(),login.utils.showSpinner(),r&&$(r).removeClass("hide"),$.ajax({type:e.method||"POST",url:"/signin/"+e.path,data:i,dataType:"json",success:function(e){return login.utils.setCSRFToken(e&&e._csrf),t(e)},fail:n})}function L(e){i&&($(i).addClass("hide"),$(i).removeClass("activeContent")),o&&($(o).removeClass("hide"),$(u).addClass("activeContent")),f=f&&$(f).remove(),triggerEvent(window,"resize"),login.utils.hideSpinnerMessage("retrieveInfo"),login.utils.hideSpinnerMessage("waitFewSecs"),login.utils.hideSpinner(),login.fn.updateFnSyncContext({sourceId:"UL_CHECKOUT_INPUT_PASSWORD"}),E({stateName:"switch_to_pwd",transitionName:"process_switch_to_pwd",calName:"PWD_FALLBACK_"+login.utils.getIntent(),errorCode:e});return}function A(t,n){var r=document.querySelector("input[name=ctxId]");k({path:"smart-lock-handler",data:{smartLockIdToken:t,nonce:g||"",actionIntent:n,returnUrl:e.slReturnUrl,slSessionExists:e.slSessionExists,scimContextId:e.scimContextId||"",intent:login.utils.getIntent(),ctxId:r&&r.value,flowId:login.utils.getFlowId(),delayPartnerAssertion:e.delayPartnerAssertion||"",isActivate:!0}},function(t){if(t.returnUrl){window.location.href=t.returnUrl;return}if(n==="optin"){window.location.href=e.slReturnUrl;return}login.logger.log({evt:"CROSS_DEVICE_OT_CLIENT",data:"ACTIVATION_FAILED_LOGIN_FALLBACK_"+a,calEvent:!0}),L("activation failed - prompt pwd");return},function(t){if(n==="optin"){window.location.href=e.slReturnUrl;return}login.logger.log({evt:"CROSS_DEVICE_OT_CLIENT",data:"ACTIVATION_ERROR_LOGIN_FALLBACK_"+a,calEvent:!0}),L("activation error");return})}function O(){return login.utils.showSpinner(),E({stateName:"begin_sl_activation",transitionName:"process_sl_activation_continue",calName:"ACTIVATE_INITIATED"}),A(m,"activation")}function M(){var t=["intent","ctxId","_csrf","locale.x","flowId","returnUri","state","fn_sync_data"],n,r={},i=e.slTokenValidationTimeout||"3000";d=x(),login.utils.hideSpinnerMessage("retrieveInfo"),login.utils.showSpinnerMessage("waitFewSecs"),v=setTimeout(function(){login.logger.log({evt:"CROSS_DEVICE_OT_CLIENT",data:"PARTNER_AUTH_TIMEOUT_"+a,calEvent:!0}),I("Token validation timeout")},i),login.fn.updateFnSyncContext({sourceId:"SL_ACTIVATION"}),login.fn.addFnSyncData();for(var s=0;s<t.length;s++)n=h.querySelector('input[name="'+t[s]+'"]'),n&&(r[t[s]]=n.value);r.smartLockIdToken=m,$.ajax({url:"/signin/validate-partner-token",method:"POST",data:r,success:function(e){var t=d?x()-d:0;b=e.showActivation,w=t,y=e.nonce,_()},fail:function(e){if(p)return;clearTimeout(v),login.logger.log({evt:"CROSS_DEVICE_OT_CLIENT",data:"PARTNER_AUTH_ERROR_"+a,calEvent:!0}),L("partner token validation error")}})}function _(){var t=i.querySelector("#linked"),n=i.querySelector("#unlinked"),r=document.querySelector("#optInLearnMoreDesc"),f=e.delayPartnerAssertion?"not_validated":"validated";if(p)return;clearTimeout(v),b?(y&&(g=y),o&&($(o).addClass("hide"),$(u).removeClass("activeContent")),i&&($(i).removeClass("hide"),$(s).addClass("activeContent")),t&&$(t).removeClass("hide"),r&&$(r).addClass("hide"),n&&$(n).addClass("hide"),c&&$(c).addClass("hide"),login.utils.hideSpinnerMessage("retrieveInfo"),login.utils.hideSpinnerMessage("waitFewSecs"),login.utils.hideSpinner(),E({stateName:"begin_sl_activation",transitionName:"prepare_sl_activation",calName:"ACTIVATION_SHOWN",respDuration:w,updateCapping:"smartlockActivate",slTokenStatus:f})):(login.logger.log({evt:"CROSS_DEVICE_OT_CLIENT",data:"PARTNER_AUTH_FAILED_"+a,calEvent:!0}),L("partner token invalid"))}function D(t){var n=i.querySelector("#displayName"),r=i.querySelector("#partnerEmail"),s=i.querySelector("#partnerEmailDomain"),o=i.querySelector("#partnerPhoto"),u=i.querySelector(".loginEmail"),a=d?x()-d:0,f={stateName:"begin_google_auth",transitionName:"process_google_auth",apiName:"google_auth",respDuration:a};clearTimeout(v);if(!t||t.error||!t.idToken)f.errorCode=t&&t.error,f.calName="AUTH_FAIL",L("auth failed"),f.updateCapping="smartlockBlockingAuth",E(f);else{f.calName="AUTH_SUCCESS",u.textContent=e.slLoginEmail,n&&(n.textContent=t.name);var l=t.email&&t.email.indexOf("@");r&&l>0&&(r.textContent=t.email.slice(0,l),s.textContent=t.email.slice(l)),o&&(o.style.backgroundImage="url("+t.image+")"),m=t.idToken,E(f);if(e.delayPartnerAssertion)return b=!0,_();M()}}function P(e){var t=d?x()-d:0,n={stateName:"begin_nonblock_google_auth",transitionName:"process_nonblock_google_auth",apiName:"google_auth",respDuration:t};!e||e.error||!e.idToken?(n.errorCode=e&&e.error,n.calName="NB_AUTH_FAIL"):(n.calName="NB_AUTH_SUCCESS",n.resetCapping="smartlockBlockingAuth"),E(n)}function H(e){var t=d?x()-d:0,n=e&&e.error==="userCanceled"?"process_gsl_cancel":"process_gsl_error",i=e&&e.error==="userCanceled"?"LINK_CANCELLED":"LINK_ERROR",s={stateName:"begin_gsl",respDuration:t};clearTimeout(v),e.idToken?(s.transitionName="process_gsl",s.calName="LINK_INITIATED_"+login.utils.getIntent(),$(r).addClass("nonTransparentMask"),login.utils.showSpinner(),E(s),A(e.idToken,"optin")):(s.transitionName=n,s.errorCode=e&&e.error,s.redirectOnComplete=!0,s.calName=i,E(s))}function B(t){var n=d?x()-d:0,r=document.querySelector("form[name=login]"),i=t&&t.sessionExists,s={stateName:"begin_gsl_session_check",transitionName:"process_gsl_session_check",apiName:"smartlock_hintsAvailable",googleSessionExists:i,calName:"GOOGLE_SESSION_"+i+"_"+login.utils.getIntent(),respDuration:n};clearTimeout(v),!t||t.error||i!=="true"?(s.errorCode=t&&t.error,s.redirectOnComplete=e.slOptInOT,E(s)):(j("slSessionExists",t.sessionExists,r),j("partnerClientId",e.partnerClientId,r),j("scimContextId",e.scimContextId,r),E(s),e.slOptInOT&&(e.slFrameSrc=e.slFrameSrc&&e.slFrameSrc.replace("hintsAvailable","hint"),e.slOptInOT=!1,V()))}function j(e,t,n){var r=document.querySelector("[name="+e+"]");r?r.setAttribute("value",t):login.utils.addHiddenElement(e,t,n)}function F(t){var n=t&&t.data||{},r;if(p)return;if(n.type==="verifyPing"&&t.source){t.source.postMessage({type:"verifyAck",data:n.data},"*");return}if(t&&t.data)try{r=JSON.parse(t.data)}catch(i){}if(!r)return;if(r.source==="smartlock"&&r.method==="hintsAvailable")return B(r);if(r.source==="smartlock"&&r.method==="hint")return H(r);if(r.source==="slAuth"&&e.slAction==="nonblockingAuth")return P(r);if(r.source==="slAuth")return D(r)}function I(e){p=!0,login.logger.log({evt:"CROSS_DEVICE_OT_CLIENT",data:"AUTH_TIMEOUT_"+a,calEvent:!0}),L(e)}function q(){p=!0,E({stateName:"begin_gsl",transitionName:"process_gsl_no_user_action",calName:"OPTIN_ACTION_TIMEOUT_"+login.utils.getIntent(),redirectOnComplete:!0})}function R(){var t=e.slOptInOT?"returning_ot_session_chk_timeout":"session_chk_timeout";p=!0,E({stateName:"begin_gsl_session_check",transitionName:"process_gsl_session_check",apiName:"smartlock_hintsAvailable",errorCode:t,calName:"SESSION_CHK_TIMEOUT_"+login.utils.getIntent(),redirectOnComplete:e.slOptInOT})}function U(t,n){function s(e){f.contentWindow.postMessage(JSON.stringify({source:"UL",email:r,clientId:i,authIntent:"authorize"}),"*")}var r=e.slLinkedEmail,i=e.partnerClientId;d=x(),$(o).removeClass("hide"),E({stateName:n.stateName,transitionName:n.transitionName,apiName:"google_auth"}),f?f.src=t:(f=login.utils.createIframe({id:"slAuthFrame",src:t,frameBorder:"0",sandbox:"allow-same-origin allow-scripts",style:"width:0;height:0"}),addEvent(f,"load",s))}function z(){var t=e.slAuthUrl,n=e.slAuthChkTimeout||"3000";d=x(),login.utils.showSpinner(),login.utils.showSpinnerMessage("retrieveInfo"),$(o).removeClass("hide");if(!t)return L("Auth URL not found");v=setTimeout(function(){I("Auth Timeout")},n),U(t,{stateName:"begin_google_auth",transitionName:"prepare_google_auth"})}function W(){var t=e.slAuthUrl;d=x(),L("Perform non blockingAuth");if(!t)return;U(t,{stateName:"begin_nonblock_google_auth",transitionName:"prepare_nonblock_google_auth"})}function X(t){var n=e.slFrameSrc,r="";t&&(r=S()?"popupMobile":"popupWeb"),l?l.src=n:login.utils.createIframe({id:"slFrame",title:"slFrame",src:n,frameBorder:"0",className:r,sandbox:"allow-same-origin allow-scripts"})}function V(){var t=e.slFrameSrc,n=i.querySelector(".cancelUrl"),r=e.slOptInTimeout||"30000",a,f=i.querySelector("#linked"),h=i.querySelector("#unlinked"),p=document.querySelector("#slLoginLearnMoreDesc"),m=i.querySelector("#slOptIn_notNow");d=x();if(e.slOptInOT)return J();n&&!e.slDisplayMerchantLink&&$(n).addClass("hide"),$(i).removeClass("hide"),$(s).addClass("activeContent"),o&&($(o).addClass("hide"),$(u).removeClass("activeContent")),f&&$(f).addClass("hide"),h&&$(h).removeClass("hide"),p&&$(p).addClass("hide"),c&&$(c).addClass("hide"),login.utils.hideSpinner(),E({stateName:"begin_gsl",transitionName:"prepare_gsl",apiName:"smartlock_hint",updateCapping:"smartlockOptIn",calName:"OPTIN_SHOWN_"+login.utils.getIntent()}),triggerEvent(window,"resize"),t?(v=setTimeout(function(){q()},r),X(!0),l=document.querySelector("#slFrame"),l&&(a=$(l).outerHeight(),document.querySelector("body").style.marginBottom=a+"px"),setTimeout(function(){m&&$(m).removeClass("hide")},"5000")):(login.utils.showSpinner(),window.location.href=e.slReturnUrl||"")}function J(){var t=e.slFrameSrc,n=e.slSessionChkTimeout||"3000",r={stateName:"begin_gsl_session_check",transitionName:"prepare_gsl_session_check",apiName:"smartlock_hintsAvailable"};d=x(),t?(v=setTimeout(function(){R()},n),X(e.slOptInOT),E(r)):(r.errorCode="slFrameSrc not found",r.redirectOnComplete=e.slOptInOT,E(r))}function K(){var e=document.querySelector("#slLoginLearnMore"),t=document.querySelector("#learnMoreModal"),r=t.querySelector("button"),s=document.querySelector("#slOptInlearnMore"),o=document.querySelector("#learnMoreModal"),u=o.querySelector("button"),f=i&&i.querySelector("#continueBtn"),l=i&&i.querySelector("#secondaryLoginBtn"),c=document.querySelector("#changeLink"),h=i.querySelector("#slOptIn_notNow a"),p=document.querySelector("#backToInputEmailLink");addEvent(e,"click",function(){T(t)}),addEvent(r,"click",function(){N(t)}),addEvent(s,"click",function(){T(o)}),addEvent(u,"click",function(){N(o)}),addEvent(f,"click",function(){O()}),addEvent(l,"click",function(){login.logger.log({evt:"CROSS_DEVICE_OT_CLIENT",data:"USE_PASSWORD_"+a,calEvent:!0}),L()}),c&&addEvent(c,"click",C),p&&addEvent(p,"click",C),addEvent(window,"message",F),h&&addEvent(h,"click",function(){E({stateName:"begin_gsl",transitionName:"process_gsl_not_now",calName:"OPTIN_ACTION_NOTNOW_"+login.utils.getIntent(),redirectOnComplete:!0})}),n=!0}var e,t=document.body,n=!1,r=document.querySelector(".transitioning"),i=document.querySelector("#slLanding"),s=i&&i.querySelector("#slContent"),o=document.querySelector("#login"),u=o&&o.querySelector("#content"),a=$(t).hasClass("mobile")?"MOBILE":"DESKTOP",f=document.querySelector("#slAuthFrame"),l=document.querySelector("#slFrame"),c=i&&i.querySelector(".localeSelector"),h=document.querySelector("form[name=login]"),p=!1,d,v,m,g,y,b,w;return function(r){var s=document.querySelector("input[name=nextClick]");e=r?r:window.PAYPAL&&window.PAYPAL.slData;if(!e||!e.slAction||!i)return;e.slAction&&!n&&K();if(e.slAction==="activation"&&!login.utils.isAPayEnabled(r))return z();if(e.slAction==="nonblockingAuth")return W();if(e.slAction==="checkSession")return J();if(e.slAction==="optIn")return V()}}();var fingerprint=fingerprint||{};fingerprint.lookup=function(e){function n(e){var t=document.querySelector("form[name=login]"),n=document.createElement("input");n.setAttribute("type","hidden"),n.setAttribute("name","availableAAID"),n.setAttribute("value",e),t&&t.appendChild(n)}function r(r){var i,s=[];if(r&&r.availableAuthenticators!==null){i=r.availableAuthenticators;for(var o=0;o<i.length;o++)s.push(i[o].aaid)}if(typeof e=="function")return e(s);s.length>0&&(t.availableAuthenticatorsList=s,n(s))}function i(e){if(typeof e=="function")return e()}var t=window.PAYPAL&&window.PAYPAL.ulData||{};t.fingerprintProceed==="lookup"&&navigator.uaf&&navigator.uaf.discover(r,i)},fingerprint=fingerprint||{},fingerprint.utils=function(){function t(t,n,r){var i={};t=t||{},t.data&&(i=t.data),i._csrf=e.getCSRFToken(),e.showSpinner(),e.showSpinnerMessage("oneSecond"),$.ajax({type:t.method||"POST",url:"/signin"+(t.path||""),data:i,dataType:"json",success:function(t){return e.setCSRFToken(t&&t._csrf),n(t)},fail:r})}function n(e,t){e&&navigator.uaf.processUAFOperation(e,function(e){if(typeof t=="function")return t()},function(e){if(typeof t=="function")return t()})}function r(e){e&&navigator.uaf.processUAFOperation(e,function(e){},function(e){})}function i(e){if(e)return{uafProtocolMessage:e,additionalData:null}}function s(t,n){eventPreventDefault(t),$.ajax({type:"POST",url:"/signin/not-you",data:{_csrf:document.querySelector("#token").value,notYou:!0,intent:e.getIntent(),context_id:e.getFlowId()},dataType:"json",complete:function(){if(typeof n=="function")return n()}})}var e=login.utils;return{makeServiceRequest:t,getUafMessage:i,cancelUafOperation:n,deregisterUAFOperation:r,fpNotYouClickHandler:s}}();var fingerprint=fingerprint||{};fingerprint.login=function(){function c(e){var n=e&&e.getAttribute("href"),r=document.querySelector("form[name=login] input[name=fpPromptWithError]");t.showSpinner(),n?window.location.href=n:window.location.href=r&&r.value||window.location.href+"&fpPrompt=login"}function h(){var e=document.querySelector("#fpLoginNotYouLink");e&&(e.onclick=function(n){n.preventDefault(),fingerprint.utils.cancelUafOperation(a),t.showSpinner(),fingerprint.utils.fpNotYouClickHandler(n,function(){var t=[l,{evt:"transition_name",data:"process_fp_not_you",instrument:!0}];login.logger.clientLog(t,null),fingerprint.utils.deregisterUAFOperation(f),c(e)})})}function p(){var e=document.querySelector(".fpLoginUsePasswordLink");e&&(e.onclick=function(n){n.preventDefault(),fingerprint.utils.cancelUafOperation(a),t.showSpinner();var r=[l,{evt:"transition_name",data:"process_use_password_instead",instrument:!0}];login.logger.clientLog(r,function(){c(e)})})}function d(e){var t=e&&e.uafProtocolMessage,n=document.querySelectorAll("form[name=login] input[type=hidden]"),r=login.utils.getKmliCb(),i=["login_email","login_password","login_phone","login_pin"],s={};t=JSON.parse(t),t||c(),s.uafResponse=JSON.stringify(t);if(n.length)for(var o=0;o<n.length;o++)for(var u=0;u<i.length;u++)n[o]&&n[o].name!==i[u]&&(s[n[o].name]=n[o].value);r&&r.checked&&(s.rememberMe="true"),fingerprint.utils.makeServiceRequest({data:s},function(e){e.returnUrl?window.location.href=e.returnUrl:c()},function(){c()})}function v(e){var i=document.querySelector(".fpLoginTryAgain"),s=document.querySelector(".headerIconThumbprint");if(e===r)return;if(n>0){n-=1,t.showSpinner(),t.showSpinnerMessage("oneSecond");var o=[l,{evt:"transition_name",data:"process_fp_login_retry",instrument:!0},{evt:"fp_login_error",data:e||"",instrument:!0}];return login.logger.clientLog(o,null),setTimeout(function(){t.hideSpinner(),t.hideSpinnerMessage("oneSecond"),s&&(s.className="headerIconThumbprintError"),i&&$(i).removeClass("hide"),m()},1e3)}c()}function m(){navigator.uaf.processUAFOperation(u,d,v)}function g(e){e=e||{},a=fingerprint.utils.getUafMessage(e.cancelUafRequest),f=fingerprint.utils.getUafMessage(e.deregUafRequest),e.uafRequest?(u=fingerprint.utils.getUafMessage(e.uafRequest),t.hideSpinner(),fingerprint.utils.cancelUafOperation(a,function(){setTimeout(m,500)})):c()}function y(){c()}var e=window.PAYPAL&&window.PAYPAL.ulData||{},t=login.utils,n=2,r=3,i=document.querySelector(".fpLogin"),s=document.querySelector(".footer"),o=$("body").data("fpLoginError"),u,a,f,l={evt:"state_name",data:"begin_fp_login",instrument:!0};e.fingerprintProceed==="login"&&navigator.uaf&&(h(),p(),fingerprint.utils.makeServiceRequest({path:"/challenge/uaf"},g,y))},login.webAuthnLogin=function(){function r(e,t){var n=e||{},r=n.allowCredentials||[],i=$("body").data("partyIdHash")||t&&t.partyIdHash,s=login.storageUtils.readDataByUserId("wanId",i);return r.some(function(e){return e.id===s})}function i(n,r){function o(){var e=n||{},t={authenticatorSelection:{authenticatorAttachment:"platform"}};return t.challenge=a(e.challenge),"timeout"in e&&(t.timeout=e.timeout),"rpId"in e&&(t.rpId=e.rpId),"allowCredentials"in e&&(t.allowCredentials=f(e.allowCredentials)),navigator.credentials.get({publicKey:t})}function u(e){return btoa((new Uint8Array(e)).reduce(function(e,t){return e+String.fromCharCode(t)},""))}function a(e){return Uint8Array.from(atob(e),function(e){return e.charCodeAt(0)})}function f(e){var t=[];for(var n=0;n<e.length;n++){var r={};r.type=e[n].type,r.id=a(e[n].id),"transports"in e&&(r.transports=e.transports),t.push(r)}return t}function l(n){var r=document.querySelectorAll("form[name=login] input[type=hidden]"),i={},s={},o=document.querySelector("input[name=login_email]"),a=document.querySelector("input[name=login_phone]"),f=document.querySelector("#phoneCode");login.logger.log({evt:"state_name",data:"begin_fp_login",instrument:!0}),login.logger.log({evt:"transition_name",data:"process_fp_assertion_success",instrument:!0}),login.logger.log({evt:t,data:"PROCESS_FP_ASSERTION_SUCCESS",calEvent:!0}),login.logger.pushLogs(),e.addHiddenElement("webAuthnEnrolledUser",!0,document.querySelector("form[name=login]"));for(var l=0;l<r.length;l++)s[r[l].name]=r[l].value;a&&a.value&&f&&f.value?(s.login_phone=a.value,s.phoneCode=f.value):s.login_email=o&&o.value,"id"in n&&(i.id=n.id),"type"in n&&(i.type=n.type),"rawId"in n&&(i.rawId=u(n.rawId));if("response"in n){var c={};return c.clientDataJSON=u(n.response.clientDataJSON),c.authenticatorData=u(n.response.authenticatorData),c.signature=u(n.response.signature),c.userHandle=u(n.response.userHandle),i.response=c,s.webauthn_response=JSON.stringify(i),e.makeServerRequestAndReturnPromise("/signin",{data:s})}return Promise.reject()}var i=$("body").data("partyIdHash")||r&&r.partyIdHash;login.logger.log({evt:"state_name",data:"begin_fp_login",instrument:!0}),login.logger.log({evt:"transition_name",data:"prepare_fp_assertion",instrument:!0}),login.logger.log({evt:t,data:"PREPARE_FP_ASSERTION",calEvent:!0});var s=document.querySelector("#pwFpIcon");s&&$(s).removeClass("hide"),o().then(l).catch(function(n){e.addHiddenElement("webAuthnEnrolledUser",!0,document.querySelector("form[name=login]")),login.logger.log({evt:"state_name",data:"begin_fp_login",instrument:!0}),login.logger.log({evt:"transition_name",data:"process_fp_assertion_failed",instrument:!0}),login.logger.log({evt:t,data:"PROCESS_FP_ASSERTION_FAILED",calEvent:!0,status:"ERROR"});var r=n&&n.toString()||"unknown_error";return login.logger.log({evt:t,data:"FP_ASSERTION_ERROR_"+r,calEvent:!0}),login.logger.log({evt:"ext_error_desc",data:r,instrument:!0}),Promise.reject()}).then(function(n){login.logger.log({evt:"state_name",data:"begin_fp_login",instrument:!0}),login.logger.log({evt:"transition_name",data:"process_fp_login_success",instrument:!0}),login.logger.log({evt:t,data:"PROCESS_FP_LOGIN_SUCCESS",calEvent:!0}),login.logger.pushLogs(),n.webAuthnResponse&&i&&login.storageUtils.setDataByUserId("wanId",n.webAuthnResponse,i),n.returnUrl?window.location.href=n.returnUrl:e.hideSpinner()}).catch(function(){login.logger.log({evt:"state_name",data:"begin_fp_login",instrument:!0}),login.logger.log({evt:"transition_name",data:"process_fp_login_failed",instrument:!0}),login.logger.log({evt:t,data:"PROCESS_FP_LOGIN_FAILED",calEvent:!0,status:"ERROR"}),login.logger.pushLogs(),e.hideSpinner()})}function s(n){var s=window.PublicKeyCredential,u=document.querySelector("#pwFpIcon"),a=!0,f=$("body").data("partyIdHash")||n&&n.partyIdHash;s&&s.isUserVerifyingPlatformAuthenticatorAvailable&&(login.logger.log({evt:"state_name",data:"begin_fp_UVPAA",instrument:!0}),login.logger.log({evt:"transition_name",data:"process_fp_UVPAA",instrument:!0}),s.isUserVerifyingPlatformAuthenticatorAvailable().then(function(n){return login.logger.log({evt:"eligibility_reason",data:"UVPAA_"+n,instrument:!0}),login.logger.log({evt:t,data:"UVPAA_ELIGIBLE",calEvent:n,status:"SUCCESS"}),login.logger.pushLogs(),n===!0&&(e.addHiddenElementIfNotExist("isUVPAAExist","yes",document.querySelector("form[name=login]")),document.body.setAttribute("data-is-uvpaa-exist","true")),n===!1?(u&&$(u).addClass("hide"),a=!1,Promise.reject(new Error("UVPAA not eligible"))):Promise.resolve(a)}).then(function(s){var u=n&&n.webAuthnLoginContext||$("body").data("webAuthnLoginContext"),a,l=document.querySelector(".notifications"),c=l&&l.children.length,h=document.querySelector("#pwFpIcon"),p=$("body").data("afpExist")||n&&n.afpExist;if(!u){f&&(login.storageUtils.removeDataByUserId("wanId",f),login.logger.log({evt:"webauthn_cred",data:"cred_no_ctx",instrument:!0}),login.logger.log({evt:t,data:"CRED_NO_CTX",calEvent:!0}),login.logger.pushLogs());return}try{a=JSON.parse(u)}catch(d){}c!==0&&(r(a,n)||p)&&h&&$(h).removeClass("hide");if(e.isSLActivation(n)||e.isAPayEnabled(n)||!(c===0||h&&$(h).hasClass("pwFpClicked"))){login.logger.log({evt:"failure_rsn",data:o(n),instrument:!0}),login.logger.log({evt:t,data:o(n),calEvent:!0}),login.logger.pushLogs();return}s&&typeof navigator.credentials=="object"&&typeof navigator.credentials.get=="function"&&(r(a,n)||p)?i(a,n):(e.hideSpinner(),login.storageUtils.readDataByUserId("wanId",f)?(login.storageUtils.removeDataByUserId("wanId",f),login.logger.log({evt:"webauthn_cred",data:"no_match",instrument:!0}),login.logger.log({evt:t,data:"CRED_NO_MATCH",calEvent:!0})):(login.logger.log({evt:"webauthn_cred",data:"missing",instrument:!0}),login.logger.log({evt:t,data:"CRED_NOT_FOUND",calEvent:!0})),login.logger.pushLogs())}).catch(function(n){e.hideSpinner(),login.logger.log({evt:"eligibility_reason",data:"UVPAA_error",instrument:!0}),login.logger.log({evt:t,data:"UVPAA_CHECK_FAILED",calEvent:!0,status:"ERROR"}),login.logger.pushLogs()}))}function o(t){if(e.isSLActivation(t))return"sl_activated";if(e.isAPayEnabled(t))return"a_pay_enabled"}var e=login.utils,t="WEBAUTH_N_CLIENT",n=$("body").data("partyIdHash");return $("body").data("webAuthnEnrolledUser")&&e.addHiddenElement("webAuthnEnrolledUser",!0,document.querySelector("form[name=login]")),n&&e.addHiddenElement("partyIdHash",n,document.querySelector("form[name=login]")),function(u){var a=u&&u.webAuthnLoginContext||$("body").data("webAuthnLoginContext"),f=u&&u.wanSupportLookup||$("body").data("webAuthnSupportLookup"),l,c=document.querySelector(".notifications"),h=c&&c.children.length,p=document.querySelector("#pwFpIcon"),d=$("body").data("afpExist")||u&&u.afpExist,v=$("body").data("partyIdHash")||u&&u.partyIdHash;if(f){s(u);return}if(!a){v&&(login.storageUtils.removeDataByUserId("wanId",v),login.logger.log({evt:"webauthn_cred",data:"cred_no_ctx",instrument:!0}),login.logger.log({evt:t,data:"CRED_NO_CTX",calEvent:!0}),login.logger.pushLogs());return}try{l=JSON.parse(a)}catch(m){}h!==0&&(r(l,u)||d)&&p&&$(p).removeClass("hide");if(e.isSLActivation(u)||e.isAPayEnabled(u)||!(h===0||p&&$(p).hasClass("pwFpClicked"))){login.logger.log({evt:"failure_rsn",data:o(u),instrument:!0}),login.logger.log({evt:t,data:o(u),calEvent:!0}),login.logger.pushLogs();return}typeof navigator.credentials=="object"&&typeof navigator.credentials.get=="function"&&(r(l,u)||d)?i(l,u):(e.hideSpinner(),login.storageUtils.readDataByUserId("wanId",v)?(login.storageUtils.removeDataByUserId("wanId",v),login.logger.log({evt:"webauthn_cred",data:"cred_no_match",instrument:!0}),login.logger.log({evt:t,data:"CRED_NO_MATCH",calEvent:!0})):(login.logger.log({evt:"webauthn_cred",data:"missing",instrument:!0}),login.logger.log({evt:t,data:"CRED_NOT_FOUND",calEvent:!0})),login.logger.pushLogs())}}(),login.bootstrap=function(){login.core(),login.jwt&&login.jwt(),login.oneTouchLogin&&login.oneTouchLogin(),login.singleSignOn&&login.singleSignOn();if(login.webAuthnLogin){var e=$("body").data("partyIdHash");e&&pwFpLoginEvents(),login.webAuthnLogin()}login.oneTouch(),login.footer(),login.pwr(),login.ads.init(),login.fn.initialize(),login.checkoutIncontext&&login.checkoutIncontext(),login.keychain&&login.keychain(),login.smartLock&&login.smartLock(),login.tpdLogin&&login.tpdLogin.initialize(),login.showHidePassword()},document.onreadystatechange=function(){var e,t=login.utils.getSplitLoginContext(),n=login.utils.getIntent(),r=$("body").data("cookieBannerEnabled"),i=$("body").data("lazyLoadCountryCodes"),s=$("body").data("tealeafEnable"),o=$("body").data("oneTouchUser"),u=document.querySelector('input[name="setBuyer"]');document.readyState==="complete"&&(login.bootstrap(),e=window.PAYPAL&&window.PAYPAL.ulData||{},e.preloadScriptUrl&&asyncLoadScriptUrls(e.preloadScriptUrl),t?instrumentSplitLoginPageLoad(t):(n==="checkout"&&instrumentUlAsLandingPageLoad(),n==="prox"&&instrumentProx()),addEvent(document,"click",login.utils.documentClickHandler),login.pubsub.subscribe("WINDOW_CLICK",login.utils.toggleRememberInfoTooltip),login.pubsub.subscribe("WINDOW_CLICK",function(e){var t=getEventTarget(e),n=$(t).data("clientLogActionType");n&&(login.logger.log({evt:"action_type",data:n,instrument:!0}),login.logger.pushLogs())}),showReturnToMerchantLink(),e.fingerprintProceed==="lookup"&&fingerprint&&fingerprint.lookup(),e.fingerprintProceed==="login"&&fingerprint&&fingerprint.login(),r&&!o&&login.loadResources&&login.loadResources.showCookieBanner(),i==="true"&&login.loadResources&&login.loadResources.loadPhoneCountryCodes(),s&&login.teaLeaf(),u&&setTimeout(function(){login.utils.isFnDataLoaded()&&login.xoPlanning.triggerSetBuyerCall(u.value)},300))},login.teaLeaf=function(){return function(){var t=document.getElementById("teaLeafconfig"),n=$("body").data("tealeafUrl");t&&t.parentNode&&t.parentNode.removeChild(t),t=document.createElement("script"),t.id="teaLeafconfig",t.setAttribute("nonce",$("body").data("nonce")),t.asyc=!0,t.src=n,document.body.appendChild(t)}}()}(); </script><script src="https://www.paypalobjects.com/pa/js/min/pa.js"></script><script nonce="pT1fXaBFK/Em0MQMzrWl7PQh2FeMUj0qYjfb0GGTZ4CqeItS">(function(){if(typeof PAYPAL.analytics != "undefined"){PAYPAL.core = PAYPAL.core || {};PAYPAL.core.pta = PAYPAL.analytics.setup({data:'pgrp=main%3Aunifiedlogin%3Asplitlogin%3A%3Aemail&page=main%3Aunifiedlogin%3Asplitlogin%3A%3Aemail%3A%3A%3A&qual=input_email&pgst=1566952799841&calc=8c770209bae4b&rsta=en_US&pgtf=Nodejs&env=live&s=ci&ccpg=US&csci=a45a40f5585b4da981700443b13a73b4&comp=unifiedloginnodeweb&tsrce=unifiedloginnodeweb&cu=0&xe=100885%2C3197%2C3862%2C100363%2C4523%2C100644&xt=102543%2C7627%2C9226%2C100912%2C10868%2C101702&transition_name=ss_prepare_email&ctx_login_ot_content=1&obex=signin&landing_page=login&state_name=begin_email&ctx_login_ctxid_fetch=ctxid-not-exist&ctx_login_content_fetch=success&ctx_login_lang_footer=shown&ctx_login_signup_btn=shown%7Cdefault&ctx_login_intent=signin&ctx_login_flow=Signin&ctx_login_state_transition=login_loaded&post_login_redirect=default&ret_url=%2F',url:'https:\/\/t.paypal.com\/ts'});}}());</script><noscript><img src="https://t.paypal.com/ts?nojs=1&pgrp=main%3Aunifiedlogin%3Asplitlogin%3A%3Aemail&page=main%3Aunifiedlogin%3Asplitlogin%3A%3Aemail%3A%3A%3A&qual=input_email&pgst=1566952799841&calc=8c770209bae4b&rsta=en_US&pgtf=Nodejs&env=live&s=ci&ccpg=US&csci=a45a40f5585b4da981700443b13a73b4&comp=unifiedloginnodeweb&tsrce=unifiedloginnodeweb&cu=0&xe=100885%2C3197%2C3862%2C100363%2C4523%2C100644&xt=102543%2C7627%2C9226%2C100912%2C10868%2C101702&transition_name=ss_prepare_email&ctx_login_ot_content=1&obex=signin&landing_page=login&state_name=begin_email&ctx_login_ctxid_fetch=ctxid-not-exist&ctx_login_content_fetch=success&ctx_login_lang_footer=shown&ctx_login_signup_btn=shown%7Cdefault&ctx_login_intent=signin&ctx_login_flow=Signin&ctx_login_state_transition=login_loaded&post_login_redirect=default&ret_url=%2F" alt="" height="1" width="1" border="0"></noscript><script async defer src="/auth/createchallenge/4e93f734fe0ce3ba/recaptchav3.js"></script></body></html>