收藏文章 楼主

https://logincdn.msauth.net/shared/1.0/content/js/ConvergedLogin_PCore_g4bdQBf1XsXq0bV6ofiyRg2.js

版块:windows   类型:普通   作者:小绿叶技术博客   查看:1247   回复:0   获赞:0   时间:2021-10-27 21:02:37

/*!

 * ------------------------------------------- START OF THIRD PARTY NOTICE -----------------------------------------

 * 

 * This file is based on or incorporates material from the projects listed below (Third Party IP). The original copyright notice and the license under which Microsoft received such Third Party IP, are set forth below. Such licenses and notices are provided for informational purposes only. Microsoft licenses the Third Party IP to you under the licensing terms for the Microsoft product. Microsoft reserves all other rights not expressly granted under this agreement, whether by implication, estoppel or otherwise.

 * 

 *   json2.js (2016-05-01)

 *   https://github.com/douglascrockford/JSON-js

 *   License: Public Domain

 * 

 * Provided for Informational Purposes Only

 * 

 * ----------------------------------------------- END OF THIRD PARTY NOTICE ------------------------------------------

 */!function(e){function n(n){for(var t,i,o=n[0],r=n[1],s=0,c=[];s<o.length;s++)i=o[s],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&c.push(a[i][0]),a[i]=0;for(t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t]);for(d&&d(n);c.length;)c.shift()()}var t,i={},a={21:0};function o(n){if(i[n])return i[n].exports;var t=i[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}Function.prototype.bind||(t=Array.prototype.slice,Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var n=t.call(arguments,1),i=n.length,a=this,o=function(){},r=function(){return n.length=i,n.push.apply(n,arguments),a.apply(o.prototype.isPrototypeOf(this)?this:e,n)};return this.prototype&&(o.prototype=this.prototype),r.prototype=new o,r}),document.head=document.head||document.getElementsByTagName("head")[0],function(){if(!window.Promise){e.all=function(t){return t&&t.length?new e((function(i,a){for(var o=[],r=0,s=0,c=t.length;s<c;++s){var d=t[s];d instanceof e?(r++,d.then(n(o,s,(function(){0==--r&&i(o)})),a)):o[s]=d}0===r&&setTimeout((function(){i(o)}),0)})):e.resolve([])},e.race=function(n){return new e((function(i,a){if(n&&n.length)for(var o=0,r=n.length;o<r;++o){var s=n[o];s instanceof e?s.then(i,a):setTimeout(t(i,s),0)}}))},e.reject=function(n){return new e((function(e,t){t(n)}))},e.resolve=function(n){return n instanceof e?n:n&&"function"==typeof n.then?new e((function(e,t){n.then(e,t)})):new e((function(e){e(n)}))},window.Promise=e}function e(n){var t=this,i=0,a=null,o=[];function r(){if(o.length>0){var e=o.slice();o=[],setTimeout((function(){for(var n=0,t=e.length;n<t;++n)e[n]()}),0)}}function s(e){0===i&&(a=e,i=1,r())}function c(e){0===i&&(a=e,i=2,r())}t.then=function(n,t){return new e((function(s,c){!function(n,t,s,c){o.push((function(){var o;try{o=1===i?"function"==typeof n?n(a):a:"function"==typeof t?t(a):a}catch(r){return void c(r)}o instanceof e?o.then(s,c):2===i&&"function"!=typeof t?c(o):s(o)})),0!==i&&r()}(n,t,s,c)}))},t["catch"]=function(e){return t.then(null,e)},function(){if("function"!=typeof n)throw new TypeError("Promise: argument is not a Function object");try{n(s,c)}catch(e){c(e)}}()}function n(e,n,t){return function(i){e[n]=i,t()}}function t(e,n){return function(){e(n)}}}(),o.e=function(e){var n=[],t=a[e];if(0!==t)if(t)n.push(t[2]);else{var i=new Promise((function(n,i){t=a[e]=[n,i]}));n.push(t[2]=i);var r=window.ServerData,s=r&&r.loader&&r.loader.cdnRoots||[],c=r&&r.slMaxRetry?r.slMaxRetry:s.length-1,d=new Error;var l=function u(n,t){var i,o=document.createElement("script");o.charset="utf-8",o.timeout=120,r&&r.scriptNonce&&o.setAttribute("nonce",r.scriptNonce),o.src=n,i=function(i){o.onerror=o.onload=null,clearTimeout(l);var r=a[e];if(0!==r)if(r)if(c<=0||t===c){var p=i&&("load"===i.type?"missing":i.type),g=i&&i.target&&i.target.src;d.message="Loading chunk "+e+" failed after "+(c+1)+" tries.\n("+p+": "+g+")",d.name="ChunkLoadError",d.type=p,d.request=g,r[1](d),a[e]=undefined}else{var f=u(function(e,n){if(!n)return e;for(var t=0;t<n.length;t++)if(0==e.indexOf(n[t]))return n[(t+1)%n.length]+e.substring(n[t].length);return e}(n,s),t+1);document.head.appendChild(f)}else a[e]=undefined};var l=setTimeout((function(){i({type:"timeout",target:o})}),12e4);return o.onerror=o.onload=i,o}(function(e){return o.p+"content/js/asyncchunk/convergedlogin_p"+({0:"aadfedconflict",1:"alt",2:"clienttracing",3:"confirmrecoveryusername",4:"confirmsend",5:"confirmsignup",6:"credentialpicker",7:"estslogin_accesspass",8:"estslogin_remoteloginpoll",9:"estslogin_searchorganization",10:"estslogin_signupusername",11:"estslogin_tenantdisambiguation",12:"fedconflict",13:"fedlink",14:"fetchsessionsprogress",15:"fido",16:"idpdisambiguation",17:"idpredirect",18:"idpredirectspeedbump",19:"learnmore",20:"learnmoreofflineaccount",22:"onetimecode",23:"password",24:"phonedisambiguation",25:"pop",26:"proofconfirmation",27:"prooffedconflict",28:"remoteconnectcanaryvalidation",29:"remoteconnectlocation",30:"remotengc",31:"resetpasswordsplitter",32:"tiles",33:"verticalsplittemplate",34:"viewagreement"}[e]||e)+"_"+{0:"3ddd06e619a450c8e2b1",1:"7c2988adaf75a6b05afe",2:"aa2e4a64bebdb710553f",3:"19c09c5553722344d854",4:"5270558a5c188743b762",5:"f4457dc8fe8131d47b65",6:"b4eeacc05986c4a1d287",7:"00fc15e38cd270e6e7b2",8:"ec754a08271b1c860649",9:"b69674a6110546513fb1",10:"6de9df91651fb34bfc53",11:"53baa1555102b58a945c",12:"1f59548c8b1a3a6b6b0b",13:"a662e6e605761544a068",14:"49e8b03d447811396362",15:"a00ade2bd94eef098ea1",16:"f256e50c79780dc1f3a9",17:"454ae6a13822935642bd",18:"85dea4dcd391e0b66c0c",19:"beef407f13308195bcc4",20:"09ac66cab9ce50ea2d1b",22:"7d0ec67cb94635fd644f",23:"adfc7f496fc120a6c61f",24:"f812de01b969ba2921e1",25:"ecf270a26ce8efbb783d",26:"a39c4b0d4258b358de28",27:"7b0bfd68c435375c77da",28:"c18cd3bbd92236057f41",29:"46b58c79303963a6e02f",30:"36dbea1c4a5aad492d73",31:"1b44848479e1e3cd402d",32:"203d553f6c5a62e97537",33:"291e374850e30e3a97e7",34:"32b8ee98ee0b3022bf28"}[e]+".js"}(e),0);document.head.appendChild(l)}return Promise.all(n)},o.m=e,o.c=i,o.d=function(e,n,t){o.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,n){if(1&n&&(e=o(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(o.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)o.d(t,i,function(n){return e[n]}.bind(null,i));return t},o.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="",o.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp=window.webpackJsonp||[],s=r.push.bind(r);r.push=n,r=r.slice();for(var c=0;c<r.length;c++)n(r[c]);var d=s;o(o.s=59)}([function(e,n){n.UsernameMaxLength=113,n.SATOTPV1Length=6,n.SATOTPLength=8,n.PhoneNumberConfirmationLength=4,n.OneTimeCodeDefaultLength=16,n.OneTimeCodeMaxLength=7,n.PCExperienceQS="pcexp",n.PCExperienceDisabled=n.PCExperienceQS+"=false",n.NotPreferredCredentialQs="npc",n.AnimationTimeout=700,n.Regex={PhoneNumberValidation:/^[0-9 ()[\].\-#*/+]+$/},n.ProofUpRedirectLandingView={AccountCompromised:1,RiskySession:2},n.LoginMode={None:0,Login:1,ForceCredType:3,LWAConsent:4,GenericError:5,ForceSignin:6,OTS:7,HIP_Login:8,HIP_Lockout:9,InviteBlocked:10,SwitchUser:11,LWADelegation:12,ServiceBlocked:13,IDPFailed:14,StrongAuthOTC:16,StrongAuthMobileOTC:25,Finish:27,LoginWizard_Login:28,StrongAuthWABOTC:30,LoginWizard_HIP_Login:32,LoginWizard_Finish:34,LoginMobile:36,ForceSigninMobile:37,GenericErrorMobile:38,LoginHost:39,ForceSigninHost:40,GenericErrorHost:42,StrongAuthHostOTC:43,HIP_LoginHost:45,HIP_LoginMobile:46,HIP_LockoutHost:47,HIP_LockoutMobile:48,SwitchUserHost:49,LoginXbox_Login:50,HIP_LoginXbox:51,FinishXbox:52,IfExistsXbox:53,StartIfExistsXbox:54,StrongAuthXboxOTC:55,LoginWPWiz_Login:56,LoginWPWiz_HIP_Login:57,LoginWPWiz_Finish:58,StrongAuthWizOTC:59,StrongAuthWPWizOTC:60,FinishWPWiz:61,SwitchUserMobile:62,LoginWPWiz_PhoneSignIn:63,LoginWPWiz_HIP_PhoneSignIn:64,Login_PhoneSignIn:65,Login_HIP_PhoneSignIn:66,LoginHost_PhoneSignIn:67,LoginHost_HIP_PhoneSignIn:68,LoginMobile_PhoneSignIn:69,LoginMobile_HIP_PhoneSignIn:70,LoginWizard_PhoneSignIn:71,LoginWizard_HIP_PhoneSignIn:72,LoginXbox_PhoneSignIn:73,LoginXbox_HIP_PhoneSignIn:74,LoginWin10:75,HIP_LoginWin10:76,FinishWin10:77,FinishBlockedWin10:78,LoginWin10_PhoneSignIn:79,HIP_LoginWin10_PhoneSignIn:80,FinishWin10_TokenBroker:81,SwitchUserWin10:82,ForceSignInXbox:88,LoginClientSDK_Login:92,LoginClientSDK_HIP_Login:93,LoginClientSDK_Finish:94,StrongAuthClientSDKOTC:95,FinishClientSDK:96,LoginClientSDK_PhoneSignIn:97,LoginClientSDK_HIP_PhoneSignIn:98,Win10InclusiveOOBE_Finish:99,Win10InclusiveOOBE_FinishBlocked:100,Tiles:102,RemoteConnect:103,FedConflict:105,Win10Host_Login:106,Win10Host_Login_PhoneSignin:107,Win10Host_Finish:108,Win10Host_StrongAuth:109,Win10Host_HIP_Login:110,Fido:111,Win10Host_HIP_Login_PhoneSignIn:112,FedLink:113,UserCredentialPolicyBlocked:114,BindFailed:115,Win10HostOOBE_HIP_Login:116,Win10HostOOBE_HIP_Login_PhoneSignIn:117,AadFedConflict:118,ProofFedConflict:119,FedBoundLink:120,FetchSessionsProgress:121,Win10Host_TransferLogin:122,TransferLogin:123,Signup:124},n.LoginBody={Login_OTC:5},n.SessionPullFlags={Msa:1,Dsso:2},n.PaginatedState={Previous:-1,Unknown:0,Username:1,Password:2,OneTimeCode:3,RemoteNGC:4,PhoneDisambiguation:5,LwaConsent:6,IdpDisambiguation:7,IdpRedirect:8,ViewAgreement:10,LearnMore:11,Tiles:12,ConfirmSend:13,RemoteConnectCode:14,RemoteLoginPolling:15,BindRedirect:16,TermsOfUse:17,DesktopSsoProgress:18,ResetPasswordSplitter:19,Kmsi:20,CheckPasswordType:21,ChangePassword:22,Fido:23,CredentialPicker:24,Consent:25,Error:26,ConfirmSignup:27,ConfirmRecoverUsername:28,ConfirmConsentSelection:29,FedConflict:30,ProofUpRedirect:32,ProofUpRedirectLanding:33,ConditionalAccessInstallBroker:34,ConditionalAccessWorkplaceJoin:35,ConditionalAccessError:36,CreateFido:37,FedLink:38,FedLinkComplete:40,IdpRedirectSpeedbump:41,TransferLogin:42,Cmsi:43,ProofConfirmation:44,MessagePrompt:45,FinishError:46,Hip:48,LearnMoreOfflineAccount:49,TenantDisambiguation:50,AadFedConflict:51,RemoteConnectCanaryValidation:52,PartnerCanaryValidation:53,ProofFedConflict:54,FetchSessionsProgress:55,AccessPass:56,SignupUsername:57,ReportSuspiciousApp:58,MoreInfo:59,AuthenticatorAddAccountView:60,SignupCredentialPicker:61,LoginError:62,SearchOrganization:63,Ptca:64,GuestConsent:65,RemoteConnectLocation:66,AttributeCollection:67,RdpDevicePrompt:68},n.PostType={Password:11,Federation:13,SHA1:15,StrongAuth:18,StrongAuthTOTP:19,LWAConsent:30,PasswordInline:20,RemoteNGC:21,SessionApproval:22,NGC:23,OtcNoPassword:24,RemoteConnect_NativePlatform:25,OTC:27,Kmsi:28},n.UserProperty={USERNAME:"login",ERROR_CODE:"HR",ERR_MSG:"ErrorMessage",EXT_ERROR:"ExtErr",ERR_URL:"ErrUrl",DATOKEN:"DAToken",DA_SESKEY:"DASessionKey",DA_START:"DAStartTime",DA_EXPIRE:"DAExpires",STS_ILFT:"STSInlineFlowToken",SIGNINNAME:"SigninName",FIRST_NAME:"LastName",LAST_NAME:"FirstName",TILE_URL:"TileUrl",CID:"CID",PUID:"PUID"},n.Error={S_OK:"0",InvalidRealmDiscLogin:10,UsernameInvalid:1e3,PasswordEmpty:1001,HIPEmpty:1002,AltEmailInvalid:1005,PhoneInvalid:1006,SAContainsName:1007,OTCEmpty:1009,OTCInvalid:1010,NotEnoughProofs:1013,PhoneEmpty:1015,FedUser:1016,FedUserConflict:1017,FedUserInviteBlocked:1018,EmptyFields:1020,PhoneHasSpecialChars:1021,AutoVerifyNoCodeSent:1022,ProofConfirmationEmpty:1023,ProofConfirmationInvalid:1024,TOTPInvalid:1025,SessionNotApproved:1026,PhoneNumberInvalid:1027,PhoneFormattingInvalid:1028,PollingTimedOut:1029,SendNotificationFailed:1030,Server_MessageOnly:9999,PP_E_DB_MEMBERDOESNOTEXIST:"CFFFFC15",PP_E_EXCLUDED:"80041010",PP_E_MEMBER_LOCKED:"80041011",PP_E_BAD_PASSWORD:"80041012",PP_E_MISSING_MEMBERNAME:"80041031",PP_E_MISSING_PASSWORD:"80041032",PP_E_FEDERATION_INLINELOGIN_DISALLOWED:"800478AC",PP_E_PE_RULEFALSE:"8004490C",PP_E_MOBILECREDS_PHONENUMBER_BLANK:"80045801",PP_E_MOBILECREDS_PHONENUMBER_TOOSHORT:"80045806",PP_E_MOBILECREDS_PHONENUMBER_TOOLONG:"80045807",PP_E_MOBILECREDS_PHONENUMBER_INVALID:"80045800",PP_E_NAME_BLANK:"80041100",PP_E_EMAIL_INCOMPLETE:"8004110D",PP_E_EMAIL_INVALID:"8004110B",PP_E_NAME_TOO_SHORT:"80041101",PP_E_NAME_INVALID:"80041103",PP_E_INVALIDARG:"80048388",PP_E_SA_TOOSHORT:"80041120",PP_E_SA_TOOLONG:"80041121",PP_E_INVALID_PHONENUMBER:"8004113F",PP_E_SECRETQ_CONTAINS_SECRETA:"80041165",PP_E_SECRETA_CONTAINS_SECRETQ:"8004117D",PP_E_SA_CONTAINS_MEMBERNAME:"8004116A",PP_E_STRONGPROCESS_ALTEMAILSAMEASMAILBOX:"80049C2D",PP_E_EMAIL_RIGHT_TOO_LONG:"8004110C",PP_E_NAME_TOO_LONG:"80041102",PP_E_ALIAS_AUTH_NOTPERMITTED:"8004788B",PP_E_TOTP_INVALID:"80049C34",PP_E_OLD_SKYPE_PASSWORD:"80043557",PP_E_OTT_DATA_INVALID:"8004348F",PP_E_OTT_ALREADY_CONSUMED:"80043490",PP_E_OTT_INVALID_PURPOSE:"80043496",PP_E_PPSA_RPT_NOTOADDRESS:"80048120",PP_E_STRONGPROCESS_BADDEVICENAME:"80049C22",PP_E_INLINELOGIN_INVALID_SMS:"800434E1",PP_E_INLINELOGIN_INVALID_ALT:"800434E2",PP_E_PREVIOUS_PASSWORD:"80041013",PP_E_HIP_VALIDATION_WRONG:"80045505",PP_E_HIP_VALIDATION_ERROR_FATAL:"80045537",PP_E_HIP_VALIDATION_ERROR_UNAUTHENTICATED:"80045538",PP_E_HIP_VALIDATION_ERROR_OTHER:"80045539",PP_E_SQ_CONTAINS_PASSWORD:"8004341E",PP_E_SA_CONTAINS_PASSWORD:"8004341C",PP_E_SA_CONTAINED_IN_PASSWORD:"8004341D",PP_E_LIBPHONENUMBERINTEROP_NUMBERPARSE_EXCEPTION:"80043510",PP_E_STRONGPROCESS_EMAIL_HAS_MOBILE_DOMAIN:"80049C33",PP_E_STRONGPROCESS_MXALIAS_NOTALLOWED:"80049C23",PP_E_INVALID_MEMBERNAME:"80041034",PP_E_SA_TOO_MANY_CACHE_SESSIONS:"8004A00C",PP_E_INTERFACE_DISABLED:"80043448",PP_E_ASSOCIATE_DUPLICATE_ACCOUNT:"80043534",PP_E_OAUTH_REMOTE_CONNECT_USER_CODE_MISSING_OR_INVALID:"800478C7",PP_E_LOGIN_NOPA_USER_PASSWORD_REQUIRED:"800478CE",PP_E_IDP_LINKEDIN_BINDING_NOT_ALLOWED:"800478D5",PP_E_IDP_GOOGLE_BINDING_NOT_ALLOWED:"800478D6",PP_E_IDP_GITHUB_BINDING_NOT_ALLOWED:"800478D7",PP_E_IDP_BINDING_EXISTS_SAMSUNG:"8004453E"},n.EstsError={UserAccountSelectionInvalid:"16001",UserUnauthorized:"50020",UserUnauthorizedApiVersionNotSupported:"500201",UserUnauthorizedMsaGuestUsersNotSupported:"500202",UserAccountNotFound:"50034",UserAccountDeleted:"500341",UserAccountNotFoundNotConfiguredForRemoteNgc:"500342",UserAccountNotFoundFailedToCreateRemoteSignIn:"500343",UserAccountNotFoundForFidoSignIn:"500344",IdsLocked:"50053",InvalidPasswordLastPasswordUsed:"50054",InvalidPasswordExpiredPassword:"50055",InvalidPasswordNullPassword:"50056",UserDisabled:"50057",GuestUserDisabled:"500571",FlowTokenExpired:"50089",InvalidUserNameOrPassword:"50126",InvalidDomainName:"50128",ProtectedKeyMisuse:"50141",MissingCustomSigningKey:"50146",IdpLoopDetected:"50174",InvalidOneTimePasscode:"50181",ExpiredOneTimePasscode:"50182",OneTimePasscodeCacheError:"50183",OneTimePasscodeEntryNotExist:"50184",InvalidPassword:"50193",InvalidGrantDeviceNotFound:"700003",SsoArtifactExpiredDueToConditionalAccess:"70044",SsoArtifactExpiredDueToConditionalAccessReAuth:"70046",InvalidTenantName:"90002",InvalidTenantNameEmptyGuidIdentifier:"900021",InvalidTenantNameEmptyIdentifier:"900022",InvalidTenantNameFormat:"900023",PhoneSignInBlockedByUserCredentialPolicy:"130500",AccessPassBlockedByPolicy:"130502",InvalidAccessPass:"130503",AccessPassExpired:"130504",AccessPassAlreadyUsed:"130505",PublicIdentifierSasBeginCallRetriableError:"131001",PublicIdentifierAuthUserNotAllowedByPolicy:"131010",PublicIdentifierSasBeginCallNonRetriableError:"131002",PublicIdentifierSasEndCallRetriableError:"131003",PublicIdentifierSasEndCallNonRetriableError:"131004",DeviceIsDisabled:"135011",FidoBlockedByPolicy:"135016",BlockedAdalVersion:"220300",BlockedClientId:"220400",UserVoiceAuthFailedCallWentToVoicemail:"UserVoiceAuthFailedCallWentToVoicemail",UserVoiceAuthFailedInvalidPhoneInput:"UserVoiceAuthFailedInvalidPhoneInput",UserVoiceAuthFailedPhoneHungUp:"UserVoiceAuthFailedPhoneHungUp",UserVoiceAuthFailedInvalidPhoneNumber:"UserVoiceAuthFailedInvalidPhoneNumber",UserVoiceAuthFailedInvalidExtension:"UserVoiceAuthFailedInvalidExtension",InvalidFormat:"InvalidFormat",UserAuthFailedDuplicateRequest:"UserAuthFailedDuplicateRequest",UserVoiceAuthFailedPhoneUnreachable:"UserVoiceAuthFailedPhoneUnreachable",UserVoiceAuthFailedProviderCouldntSendCall:"UserVoiceAuthFailedProviderCouldntSendCall",User2WaySMSAuthFailedProviderCouldntSendSMS:"User2WaySMSAuthFailedProviderCouldntSendSMS",SMSAuthFailedProviderCouldntSendSMS:"SMSAuthFailedProviderCouldntSendSMS",User2WaySMSAuthFailedNoResponseTimeout:"User2WaySMSAuthFailedNoResponseTimeout",SMSAuthFailedNoResponseTimeout:"SMSAuthFailedNoResponseTimeout",SMSAuthFailedWrongCodeEntered:"SMSAuthFailedWrongCodeEntered",OathCodeIncorrect:"OathCodeIncorrect",OathCodeDuplicate:"OathCodeDuplicate",OathCodeOld:"OathCodeOld",PhoneAppNoResponse:"PhoneAppNoResponse",User2WaySMSAuthFailedWrongCodeEntered:"User2WaySMSAuthFailedWrongCodeEntered",PhoneAppInvalidResult:"PhoneAppInvalidResult",PhoneAppDenied:"PhoneAppDenied",PhoneAppTokenChanged:"PhoneAppTokenChanged",SMSAuthFailedMaxAllowedCodeRetryReached:"SMSAuthFailedMaxAllowedCodeRetryReached",PhoneAppFraudReported:"PhoneAppFraudReported",FraudCodeEntered:"FraudCodeEntered",UserIsBlocked:"UserIsBlocked",PhoneAppEntropyIncorrect:"PhoneAppEntropyIncorrect",VoiceOTPAuthFailedWrongCodeEntered:"VoiceOTPAuthFailedWrongCodeEntered",VoiceOTPAuthFailedMaxAllowedCodeRetryReached:"VoiceOTPAuthFailedMaxAllowedCodeRetryReached"},n.Fido={MaxUserPromptLength:99,FinishStates:{Success:0,Cancel:1,Error:2,NotSupported:3},UnexpectedErrorCode:9999,EdgeErrorCodes:{SyntaxError:3,NotFoundError:8,NotSupportedError:9,InvalidAccessError:15,AbortError:20}},n.IfExistsResult={Unknown:-1,Exists:0,NotExist:1,Throttled:2,Error:4,ExistsInOtherMicrosoftIDP:5,ExistsBothIDPs:6},n.ThrottleStatus={NotThrottled:0,AadThrottled:1,MsaThrottled:2},n.DomainType={Unknown:1,Consumer:2,Managed:3,Federated:4,CloudFederated:5},n.CredentialType={Password:1,RemoteNGC:2,OneTimeCode:3,Federation:4,CloudFederation:5,OtherMicrosoftIdpFederation:6,Fido:7,GitHub:8,PublicIdentifierCode:9,LinkedIn:10,RemoteLogin:11,Google:12,AccessPass:13,Facebook:14,Certificate:15,OfflineAccount:16,NoPreferredCredential:1e3},n.RemoteNgcType={PushNotification:1,ListSessions:3},n.SessionPollingType={Image:1,Json:2},n.AgreementType={Privacy:"privacy",Tou:"tou",Impressum:"impressum"},n.ApiErrorCodes={GeneralError:6e3,AuthFailure:6001,InvalidArgs:6002,Generic:8e3,Timeout:8001,Aborted:8002},n.DefaultRequestTimeout=3e4,PROOF={Type:{Email:1,AltEmail:2,SMS:3,DeviceId:4,CSS:5,SQSA:6,HIP:8,Birthday:9,TOTPAuthenticator:10,RecoveryCode:11,StrongTicket:13,TOTPAuthenticatorV2:14,TwoWayVoice:15,TwoWaySMS:16,FidoKey:17,Voice:-3}},n.ContentType={Json:"application/json; charset=utf-8",FormUrlEncoded:"application/x-www-form-urlencoded"},n.BindProvider={LinkedIn:0,GitHub:1,Google:2,Samsung:3,Facebook:4},n.PromotedAltCredFlags={None:0,GitHub:1,LinkedIn:2},n.EnvironmentName={Internal:1,TestSlice:2,FirstSlice:3},n.AnimationState={Begin:0,End:-1,RenderNewView:1,AnimateNewView:2},n.AnimationName={None:0,SlideOutNext:1,SlideInNext:2,SlideOutBack:3,SlideInBack:4},n.DialogId={None:0,FidoHelp:1,GitHubHelp:2,ConsentAppInfo:3},n.KeyCode={Tab:9,Enter:13,Escape:27,Space:32,PageUp:33,PageDown:34,End:35,Home:36,ArrowUp:38,ArrowDown:40,WinKeyLeft:91,F6:117,GamePadB:196},n.ProofOfPossession={AuthenticatorKey:"cpa",CanaryTokenKey:"canary",MethodHint:"cpa_method_hint"},n.UpgradeMigrationUXId={Invalid:0,Mojang:1},n.TransferLoginStringsVariant={Default:0,Mmx:1,MmxPhoneFirst:2,AppNameOnly:3,AppNameAndUsername:4},n.LayoutTemplateType={Lightbox:0,VerticalSplit:1},n.ProofUpRedirectViewType={DefaultProofUpRedirectView:0,AuthAppProofUpRedirectView:1}},function(e,n,t){var i=t(24),a=t(3),o=t(5),r=t(11),s=a.Object,c=a.String,d=a.Array,l=window,u=null,p={},g={},f={},m=null,h=null,v=null,b=null,_=null,S=null,y=null,w=null,T=!!l.ServerData.BX,C=null;n.HttpCode={Ok:200,NotModified:304,Timeout:408,ClientClosedRequest:499};var x=n.Helper={isIEOlderThan:function(e){if(p[e]===undefined){var n=x.getIEVersion();p[e]=n&&n<e+1}return p[e]},isEdge:function(){if(null===u){u=!1;var e=x.getWindowsVersion();if(null!==e&&e>=10){var n=x.getIEVersion();u=null!==n&&n>=12}}return u},isChrome:function(){return null===m&&(m=navigator.userAgent.toLowerCase().indexOf("chrome")>-1),m},isFirefoxNewerThan:function(e){if(g[e]===undefined){var n=x.getFirefoxVersion();g[e]=n&&n>e}return g[e]},isChromeNewerThan:function(e){if(f[e]===undefined){var n=x.getChromeVersion();f[e]=n&&n>e}return f[e]},isIOSSafari:function(){if(null===h){var e=l.navigator.userAgent.toLowerCase();h=/safari/.test(e)&&/iphone|ipod|ipad/.test(e)&&!l.MSStream}return h},isIOSUIWebView:function(){if(null===v){var e=l.navigator.userAgent.toLowerCase();v=!1===/safari/.test(e)&&/iphone|ipod|ipad/.test(e)&&!l.MSStream}return v},isQtCarBrowser:function(){return null===b&&(b=navigator.userAgent.toLowerCase().indexOf("qtcarbrowser")>-1),b},isEdgeClientBrowser:function(){return null===_&&(_=navigator.userAgent.toLowerCase().indexOf("edgeclient/")>-1),_},isOnTouchStartEventSupported:function(){return"ontouchstart"in document.documentElement},getIEVersion:function(){var e=l.navigator.userAgent,n=e.indexOf("MSIE ");if(n>0)return parseInt(e.substring(n+5,e.indexOf(".",n)),10);if(e.indexOf("Trident/")>0){var t=e.indexOf("rv:");return parseInt(e.substring(t+3,e.indexOf(".",t)),10)}var i=e.indexOf("Edge/");return i>0?parseInt(e.substring(i+5,e.indexOf(".",i)),10):null},getFirefoxVersion:function(){var e=l.navigator.userAgent.match(/(firefox(?=\/))\/?\s*(\d+)/i);return e&&3===e.length&&"firefox"===e[1].toLowerCase()?parseInt(e[2]):null},getChromeVersion:function(){var e=l.navigator.userAgent.match(/(chrome(?=\/))\/?\s*(\d+)/i);return e&&3===e.length&&"chrome"===e[1].toLowerCase()?parseInt(e[2]):null},getWindowsVersion:function(){return null!==new RegExp("Windows NT ([0-9]{1,}[.0-9]{0,})").exec(navigator.userAgent)?parseFloat(RegExp.$1):null},htmlEscape:function(e){if(!e)return"";var n=document.createElement("textarea");return n.innerText=e,n.innerHTML},htmlUnescape:function(e){if(!e)return"";if(e.match(/<[^<>]+>/))return e;var n=document.createElement("textarea");return n.innerHTML=e,n.value},getStackSize:function(e){var n=0,t=null==e;try{!function i(){n++,(t||n<=e)&&i()}()}catch(i){}return n},getAnimationEndEventName:function(){var e=document.createElement("div"),n={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(var t in n)if(e.style[t]!==undefined)return n[t];return""},isStackSizeGreaterThan:function(e){return e=e||0,x.getStackSize(e)>e},isSvgImgSupported:function(){return null===C&&(C=document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1")),C},isPlaceholderAttributeAllowed:function(e){return null===y&&(y=x.isChromeNewerThan(16)||x.isEdge()||x.isFirefoxNewerThan(14)||e&&x.isIOSUIWebView()||x.isIOSSafari()||x.isQtCarBrowser()),y},isCSSAnimationSupported:function(){var e=!1,n=document.createElement("div");(e=n.style.animationName!==undefined)||(e=!!d.first(["Webkit","Moz","O"],(function(e){return n.style[e+"AnimationName"]!==undefined})));return e},isStyleSupported:function(e){return e in document.documentElement.style},isCORSSupported:function(){return l.XDomainRequest||l.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest},isHistorySupported:function(){if(null===w){if(w=l.history&&l.history.pushState&&"undefined"!=typeof l.history.state&&"undefined"!=typeof l.onpopstate)try{l.history.replaceState("__history_test",""),("__history_test"!==l.history.state||x.isEdgeClientBrowser())&&(w=!1)}catch(e){w=!1}}return w},isFidoSupportedAsync:function(e){return l.navigator.credentials!==undefined&&l.navigator.credentials.create!==undefined&&l.navigator.credentials.get!==undefined&&l.PublicKeyCredential!==undefined&&l.PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable!==undefined?l.PublicKeyCredential.isExternalCTAP2SecurityKeySupported?r.newPromiseWithTimeout(l.PublicKeyCredential.isExternalCTAP2SecurityKeySupported,i.PromiseTimeout,!1):o.resolve(e):o.resolve(!1)},isChangingInputTypeSupported:function(){return!x.isIEOlderThan(9)},isHighContrast:function(){if(null===S){var e=document.createElement("span");e.style.borderLeftColor="red",e.style.borderRightColor="blue",e.style.position="absolute",e.style.top="-999px",document.body.appendChild(e);var n=x.getComputedStyle(e);S=n.borderLeftColor===n.borderRightColor,document.body.removeChild(e)}return S},getHighContrastTheme:function(){if(x.isHighContrast()){var e=document.getElementsByTagName("body")[0],n=x.getComputedStyle(e);if(n.backgroundColor){var t=n.backgroundColor.toLowerCase().replace(new RegExp(" ","g"),"");if("rgb(0,0,0)"===t||"#000000"===t||"#000"===t)return"black";if("rgb(255,255,255)"===t||"#ffffff"===t||"#fff"===t)return"white"}}},getComputedStyle:function(e){return document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(e,null):e.currentStyle?e.currentStyle:{}},history:{pushState:function(e,n){x.isHistorySupported()&&l.history.pushState(e,n)},replaceState:function(e,n){x.isHistorySupported()&&l.history.replaceState(e,n)}},addEventListener:function(e,n,t,i){e.addEventListener?e.addEventListener(n,t,i):e.attachEvent&&e.attachEvent("on"+n,t)},removeEventListener:function(e,n,t,i){e.removeEventListener?e.removeEventListener(n,t,i):e.detachEvent&&e.detachEvent("on"+n,t)},getEventTarget:function(e){return e?e.target?e.target:e.srcElement?e.srcElement:null:null}},I=n.QueryString={parse:function(e){var n=e,t=null,i=null;if(e){var a=e.indexOf("?"),o=e.indexOf("#");-1!==o&&(-1===a||o<a)?(n=e.substring(0,o),i=c.doubleSplit(e.substring(o+1),"&","=")):-1!==a&&-1===o?(n=e.substring(0,a),t=c.doubleSplit(e.substring(a+1),"&","=")):-1!==a&&-1!==o&&(n=e.substring(0,a),t=c.doubleSplit(e.substring(a+1,o),"&","="),i=c.doubleSplit(e.substring(o+1),"&","="))}return{originAndPath:n,query:t,fragment:i}},join:function(e){var n=e.originAndPath||"";return e.query&&(n+="?"+s.join(e.query,"&","=")),e.fragment&&(n+="#"+s.join(e.fragment,"&","=")),n},appendCurrentQueryParameterIfNotExist:function(e){var n=I.parse(window.location.href);return s.forEach(n.query,(function(n,t){e=I.addIfNotExist(e,n,t)})),e},append:function(e,n){var t=I.parse(e),i=c.doubleSplit(n,"&","=");return t.query=t.query||{},s.forEach(i,(function(e,n){t.query[e]=n||null})),I.join(t)},addIfNotExist:function(e,n,t){t=t||"";var i=I.parse(e);return null===s.findOwnProperty(i.query||{},n,!0)&&(i.query=i.query||{},i.query[n.toLowerCase()]=t),I.join(i)},add:function(e,n){var t=I.parse(e);return e&&n&&n.length&&(t.query=t.query||{},d.forEach(n,(function(e){t.query[e[0]]=e[1]}))),I.join(t)},appendOrReplace:function(e,n,t,i){var a=I.parse(e);a.query=a.query||{};var o=s.findOwnProperty(a.query,n,!0);o&&delete a.query[o],a.query[n.toLowerCase()]=t;var r=I.join(a);return i&&r.length>i?e:r},remove:function(e,n){var t=I.parse(e);t.query=t.query||{};var i=s.findOwnProperty(t.query,n,!0);return i&&delete t.query[i],I.join(t)},extract:function(e,n){n||""===n||(n=document.location.search);var t=I.parse(n);t.query=t.query||{};var i=s.findOwnProperty(t.query,e,!0);return i?t.query[i]:""},appendOrReplaceFromCurrentUrl:function(e,n){var t=I.extract(n);return t?I.appendOrReplace(e,n,t):e},stripQueryStringAndFragment:function(e){return I.parse(e).originAndPath}},k=n.Cookies={expireDate:"Thu, 30-Oct-1980 16:00:00 GMT",persistTTLDays:390,cookieSafeRegex:/^[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]+$/,enabled:function(){var e="G"+(new Date).getTime();k.write("CkTst",e);var n=!!k.getCookie("CkTst");return k.remove("CkTst"),n},getCookie:function(e){var n=c.doubleSplit(document.cookie,";","=",!1,c.trim);return n[e]?n[e]:null},getObject:function(e){var n=k.getCookie(e)||"";return c.doubleSplit(n,"&","=")},remove:function(e,n,t){var i=n||document.location.hostname,a=i.split("."),o=a.length,r=a[o-2]+"."+a[o-1],s=t||"/",d="https:"===document.location.protocol,l=d?";secure":"",u=k.getDefaultSameSiteAttribute(d);document.cookie=c.format("{0}= ;domain=.{1};path={2};expires={3}{4}{5}",e,r,s,k.expireDate,l,u),document.cookie=c.format("{0}= ;domain=.{1};path={2};expires={3}{4}{5}",e,i,s,k.expireDate,l,u)},write:function(e,n,t,i,a,o,r,s){var c=o?".":"",d=document.domain.split(".");a&&d.splice(0,Math.max(0,d.length-2));var l=c+d.join(".");k.writeWithExpiration(e,n,t,i?k.getPersistDate():null,l,r,s)},writeWithExpiration:function(e,n,t,i,a,o,r){if(""===n)k.remove(e,a);else{"object"==typeof n&&(n=s.join(n,"&","="));var d,l=i?";expires="+i:"",u=a?";domain="+a:"",p=o||"/",g=t?";secure":"";d=r&&"none"!==r.toLowerCase()?";SameSite="+r:k.getDefaultSameSiteAttribute(t);var f=c.format("{0}={1}{2};path={3}{4}{5}{6}",e,n,u,p,l,g,d);document.cookie=f}},isCookieSafeValue:function(e){return k.cookieSafeRegex.test(e)},getDefaultSameSiteAttribute:function(e){return e&&T?";SameSite=None":""},getPersistDate:function(){var e=new Date;return e.setDate(e.getDate()+k.persistTTLDays),e.toUTCString()}}},function(e,n,t){var i=window,a=i.document.documentMode,o=i.navigator;!function(){var n=null,r=o.userAgent,s=null,c=r.match(/MSIE ([^ ]+)/);if(c&&(n=parseInt(c[1])),"function"==typeof i.Symbol&&r.match(/AppleWebKit\/601/)&&(i.Symbol=null),n&&a&&n!==a&&Object.defineProperty)try{Object.defineProperty(o,"userAgent",{get:function(){return s}}),s=r.replace(/MSIE [^ ]+/,"MSIE "+a+".0"),e.exports=t(17),s=r}catch(d){e.exports=t(17)}else e.exports=t(17)}()},function(e,n,t){var i=t(2),a=t(12),o=t(63),r=window,s=n.Object={clone:function(e){var n={};return e&&(n=a.parse(a.stringify(e))),n},join:function(e,n,t){var i="";return e&&s.forEach(e,(function(e,a){i&&(i+=n),i+=e+t+(a||"")})),i},forEach:function(e,n){i.utils.objectForEach(e,n)},findOwnProperty:function(e,n,t){var i;for(var a in t&&(i=n.toLowerCase()),e)if(e.hasOwnProperty(a)&&(a===n||t&&a.toLowerCase()===i))return a;return null},extend:i.utils.extend},c=n.String={trim:function(e){return e.replace(/^\s+|\s+$/g,"")},find:function(e,n,t,i){return e?t?e.toLowerCase().indexOf(n.toLowerCase(),i):e.indexOf(n,i):-1},format:o.format,doubleSplit:function(e,n,t,i,a){var o={};return e&&d.forEach(e.split(n),(function(e){if(e){var n=e.split(t),r=n[0];a&&(r=a(r)),1===n.length?o[r]=null:o[r]=i?n.slice(1):n.slice(1).join(t)}})),o},isEmailAddress:function(e){if((e=c.trim(e)).charAt(0)>"~"||-1!==e.indexOf(" "))return!1;var n=e.indexOf("@");if(-1===n||-1===e.indexOf(".",n))return!1;var t=e.split("@");if(t.length>2||t[0].length<1||t[1].length<2)return!1;if(r.ServerData.aS){var i=new RegExp(/^[\x21-\x7E]+$/);return!!e.match(i)}return!0},isPhoneNumber:function(e){var n=e.replace(/\D+/g,"");return n.length>=4&&n.length<=50},isSkypeName:function(e){e=c.trim(e);var n=new RegExp(/^[a-zA-Z][a-zA-Z0-9.,\-_:']{0,128}$/);return!!e.match(n)},extractDomain:function(e,n,t){if(!c.isEmailAddress(e))return e;var i=c.trim(e).split("@")[1];return e=t?"@":"",n?e+i.slice(0,i.lastIndexOf(".")+1):e+i},extractDomainFromUrl:function(e){if(e){var n=document.createElement("a");return n.href=e,n.hostname}return""},extractOriginFromUrl:function(e){if(e){var n=document.createElement("a");n.href=e;var t=n.origin;return t||(t=n.protocol+"//"+n.hostname+(n.port?":"+n.port:"")),t}return""},doOriginsMatch:function(e,n){var t=c.extractOriginFromUrl(e);return c.extractOriginFromUrl(n)===t},capFirst:function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()},cleanseUsername:function(e,n){if(!e)return"";if(e=c.trim(e).toLowerCase(),!c.isEmailAddress(e)&&!c.isSkypeName(e)&&c.isPhoneNumber(e)){var t="";return n&&"+"===e.charAt(0)&&(t="+"),t+e.replace(/\D+/g,"")}return e},maskString:function(e,n){if(!e)return"";if(e.length<=2*n)return e;var t=e.length-2*n,i=Array(t+1).join("*");return e.substring(0,n)+i+e.substring(n+t)}},d=n.Array={first:i.utils.arrayFirst,forEach:i.utils.arrayForEach,map:i.utils.arrayMap,removeItem:i.utils.arrayRemoveItem,arrayFilter:i.utils.arrayFilter,findIndex:function(e,n){if(e&&"object"==typeof e&&e.length)for(var t=0;t<e.length;t++)if(n(e[t]))return t;return-1}};n.DateTime={getCurrentTime:function(){return(new Date).getTime()},getUTCString:function(){return Date.prototype.toISOString?(new Date).toISOString():(new Date).toUTCString()}},n.ErrorData=function(e,n){var t=this;t.errorText=e,t.remediationText=n,t.toString=function(){return t.errorText}}},function(e,n,t){var i=t(2);n.create=function(e){var n,t=!1;function a(){return t=!0,a.eventArgs(Array.prototype.slice.call(arguments)),n}return a.eventArgs=i.observable().extend({notify:"always"}),a.tracingOptions=e,a.subscribe=function(e){a.eventArgs.subscribe((function(t){n=e(t)})),t&&(n=e(a.eventArgs.peek()))},a},n.isComponentEvent=function(e){return e&&i.isObservable(e.eventArgs)}},function(e,n,t){var i=window;e.exports=i.Promise},function(e,n){n.Tokens={Username:"#~#MemberName_LS#~#"},n.Fed={DomainToken:"#~#partnerdomain#~#",FedDomain:"#~#FederatedDomainName_LS#~#",Partner:"#~#FederatedPartnerName_LS#~#"},n.LoginOption={DoNotRemember:0,RememberPWD:1,NothingChecked:3},n.StringsVariantId={Default:0,SkypeMoveAlias:1,CombinedSigninSignup:2,CombinedSigninSignupDefaultTitle:3,RemoteConnectLogin:4,CombinedSigninSignupV2:5,CombinedSigninSignupV2WelcomeTitle:6},n.AllowedIdentitiesType={MsaOnly:0,AadOnly:1,Both:2},n.SessionIdp={Aad:0,Msa:1},n.ClientTracingEventIds={Event_LoginPaginatedUsernameView_onLoad:11e4,Event_LoginPaginatedPasswordView_onLoad:110001,ComponentEvent_LoginPaginatedUsernameView_onShowDialog:12e4,ComponentEvent_LoginPaginatedUsernameView_onAgreementClick:120001,ComponentEvent_LoginPaginatedPasswordView_onResetPassword:120100,PropertyValue_LoginPaginatedPageView_IsFidoSupported:14e4,PropertyValue_LoginPaginatedUsernameView_Username:140100,PropertyValue_LoginPaginatedUsernameView_ClientError:140101,PropertyValue_LoginPaginatedPasswordView_Password:140200,PropertyValue_LoginPaginatedPasswordView_ClientError:140201,PropertyValue_LoginPaginatedPasswordView_KMSI:140202}},function(e,n){n.EventIds={Unknown:0,Event_PaginationControl_ViewSwitch:1e4,Api_GetOneTimeCode:2e4,Api_GetOneTimeToken:20001,Api_CanaryValidation:20002,Api_GetCustomCss:20003,Api_GetCredentialType:20004,Api_CheckSessionState:20005,Api_GetIwaSsoToken:20006,Api_OtcAuthentication:20007,Api_DeviceAuthentication:20008,Api_BeginOtcAuthentication:20009,Api_ConfirmOneTimeCode:20010,Api_BeginSessionApproval:20011,Api_EndSessionApproval:20012,Api_Forget:20013,Redirect_Unknown:4e4,Redirect_MSASignUpPage:40001,Redirect_AADSignUpPage:40002,Redirect_SkipZeroTouch:40003,Redirect_ResetPasswordPage:40004,Redirect_MSAUserRecoveryPage:40005,Redirect_OtherIdpRedirection:40006,Redriect_SwitchUser:40007},n.EventLevel={None:0,Critical:1,Info:2,ApiRequest:4,CXH:8,Debug:16,Verbose:32,All:65535},n.HidingMode={None:0,Hide:1,Mask:2},n.DataPointScope={ClientEvent:1,Global:2},n.EventStage={None:0,Begin:1,End:2}},function(e,n,t){var i=t(2),a=t(1),o=window,r=a.Helper;function s(e,n,t){var i=this,a=e.hasDarkBackground;i.isHighContrastBlackTheme=!1,i.isHighContrastWhiteTheme=!1,i.hasDarkBackground=a,i.lightImageNode=n,i.darkImageNode=t,function(){if(r.isHighContrast()){var e=r.getHighContrastTheme();i.isHighContrastBlackTheme="black"===e,i.isHighContrastWhiteTheme="white"===e}}()}i.components.register("accessible-image-control",{viewModel:{createViewModel:function(e,n){var t=i.utils.arrayFilter(n.templateNodes,(function(e){return 1===e.nodeType}));return new s(e,t[0],t[1])}},template:t(295),synchronous:!o.ServerData.A||a.Helper.isStackSizeGreaterThan(o.ServerData.A)}),e.exports=s},function(e,n,t){var i=t(2),a=t(3),o=t(1),r=t(0),s=t(67),c=t(75),d=t(204),l=window,u=o.Helper,p=a.String,g=r.LayoutTemplateType,f={loadTenantBranding:function(e){var n={};if(e){var t=e[0]||{},a=e[1]||{};i.utils.arrayForEach(["BoilerPlateText","UserIdLabel","TileLogo","TileDarkLogo","BannerLogo","BackgroundColor","Illustration","KeepMeSignedInDisabled","UseTransparentLightBox","CustomCss","LayoutTemplateConfig","AccessRecoveryLink","CantAccessYourAccountText","ForgotPasswordText","FooterTOULink","FooterTOUText","FooterPrivacyLink","FooterPrivacyText"],(function(e){n[e]=a[e]||t[e]||""})),n.TileDarkLogo||(n.TileDarkLogo=n.TileLogo)}return n},getPageBranding:function(e,n,t){var i={useDefaultBackground:!1};if(e&&(i.bannerLogoUrl=e.BannerLogo),e&&(e.BackgroundColor||e.Illustration))i.color=e.BackgroundColor,i.backgroundImageUrl=e.Illustration,i.useTransparentLightBox=e.UseTransparentLightBox,i.useImageMask=!0;else if(n&&(n.backgroundImageIndex>=0||n.backgroundLogoIndex>=0||n.backgroundColor||n.friendlyAppName))n.backgroundImageIndex>=0&&(i.backgroundImageUrl=c(p.format("./{0}.jpg",n.backgroundImageIndex)),u.isStyleSupported("backgroundSize")&&(i.smallImageUrl=c(p.format("./{0}-small.jpg",n.backgroundImageIndex)))),n.backgroundLogoIndex>=0&&(i.backgroundLogoUrl=d(p.format("./{0}.png",n.backgroundLogoIndex))),i.color=n.backgroundColor,i.friendlyAppName=n.friendlyAppName;else if(n&&n.urlLegacyBackgroundLogo)i.backgroundLogoUrl=n.urlLegacyBackgroundLogo;else if(t>=0){var a=u.isSvgImgSupported();i.backgroundImageUrl=s(p.format("./{0}.{1}",t,a?"svg":"jpg")),!a&&u.isStyleSupported("backgroundSize")&&(i.smallImageUrl=s(p.format("./{0}-small.jpg",t))),i.useDefaultBackground=!0}return i},getMergedBranding:function(e,n,t){var i;return t?i=n:(i=e,n&&(n.BannerLogo&&(i.BannerLogo=n.BannerLogo),n.BoilerPlateText&&(i.BoilerPlateText=n.BoilerPlateText),n.KeepMeSignedInDisabled&&(i.KeepMeSignedInDisabled=n.KeepMeSignedInDisabled),e.CustomCss!==n.CustomCss&&(i.CustomCss=null))),i},getLayoutTemplateConfig:function(e){var n=e.LayoutTemplateConfig;return n&&n!=={}?n:{showHeader:!1,headerLogo:"",layoutType:g.Lightbox,hideCantAccessYourAccount:!l.ServerData.showCantAccessAccountLink,hideForgotMyPassword:!1,hideResetItNow:!1,showFooter:!0,hideTOU:!1,hidePrivacy:!1}}};e.exports=f},function(e,n,t){var i=t(12),a=t(21),o=t(0),r=t(3),s=t(1),c=t(13).getInstance(window.ServerData),d=t(7),l=window,u=l.$Config||l.ServerData||{},p=r.Object,g=s.QueryString;e.exports=function(e){var n=this,t=!1!==(e=e||{}).checkApiCanary,r=e.withCredentials||!1,s=e.breakCache||!1,l=e.responseType||"",f=e.notifyOnClientAbort||!1;function m(e){var n={hpgid:u.hpgid||0,hpgact:u.hpgact||0};return e||(n.Accept="application/json",t&&u.apiCanary&&(n.canary=u.apiCanary)),u.correlationId&&(n["client-request-id"]=u.correlationId),u.sessionId&&(n.hpgrequestid=u.sessionId),n}function h(e){var n=e;if(e&&"string"!=typeof e){var t={};p.forEach(e,(function(e,n){"unsafe_"===e.substr(0,7)&&(e=e.substr(7)),t[e]=n})),n=i.stringify(t)}return n&&(n=n.replace(/\?/g,"\\u003F")),n}function v(e){e.headers=m(),e.withCredentials=r,e.breakCache=s,e.responseType=l}function b(e,n,t,i,a,o){var r=null;if(n){var s=n.eventOptions||{};if(s.eventId=n.eventId||s.eventId,s.hasOwnProperty("hidingMode")||(s.hidingMode=d.HidingMode.None),s.eventId){(r={}).eventType=t,r.eventId=s.eventId,r.eventLevel=s.eventLevel||d.EventLevel.ApiRequest;var l={};l.requestTimeout=i,a&&(l.contentType=a),l.requestType=t,o&&(l.noCallback=!0),r.eventArgs=l,r.eventOptions=s,c.traceBeginRequest(e,r)}}e.eventData=r}function _(e,n,t,i,a){c.traceEndRequest(e,n,t,i,a)}function S(e,n){var t={};return e&&(t.xhr_status=e.status),t.textStatus=n,t}n.Errors=[],n.Json=function(e,a,r,s,c){var d=!(!r&&!s),l=(new Date).getTime(),p=e.url;function g(e){var t,a=(e=e||{}).error||null,o={startTime:l,endTime:(new Date).getTime()};if(e.apiCanary&&(u.apiCanary=e.apiCanary,delete e.apiCanary),a){t=(t=a.stackTrace)&&t.encodeJson?t.encodeJson():"";var c=i.stringify({code:a.code,message:a.message,debug:a.debugMessage,stacktrace:t,requestUrl:p});n.Errors.push(c),n.Errors.length>100&&n.Errors.shift(),(8002!==a.code||f)&&s&&s(e,o)}else r&&r(e,o)}if(t&&!u.apiCanary)return setTimeout((function(){g({error:{code:8002,message:"Request Failed!",isFatal:!0}})}),0),null;var m=h(a);n.Post(e,o.ContentType.Json,m,(function(e,n){d&&g(i.parse(n))}),(function(e,n,t,a){d&&g(function(e,n){var t={};if(500===e.status)try{t=i.parse(e.responseText)||{}}catch(s){}if(!t.error){var a=!1,o=8e3,r="Request Failed -- No Response from Server";switch(n){case"timeout":o=8001,r="Timeout Error",a=!0;break;case"abort":o=8002,r="Aborted";break;case"error":e.status>=400&&(a=!0);break;case"parsererror":r="Unable to parse response",a=!0}t.error={code:o,message:r,debugMessage:"(xhr status "+e.status+") xhr.responseText: "+e.responseText,stackTrace:"",isFatal:a}}return t}(n,t))}),c)},n.Post=function(e,t,i,o,r,s){var c=e.url,d={},l=!1;o||r||(l=!0),b(d,e,a.RequestType.Post,s,t,l);var u={targetUrl:c,contentType:t,data:i,requestType:a.RequestType.Post,timeout:s||3e4,successCallback:function(e,n){_(d,"Success",n,!0,(function(){o&&o(e,n)}))},failureCallback:function(e,n,t){_(d,"Failed",S(n,t),!1,(function(){r&&r(e,n,t)}))},timeoutCallback:function(e,n,t){_(d,"Timeout",S(n,t),!1,(function(){r&&r(e,n,t)}))}};v(u),a.Handler.call(n,u),n.sendRequest()},n.Get=function(e,t,i,o,r){var s=e.url,c={},d=!1;i||o||(d=!0),b(c,e,a.RequestType.Get,r,t,d);var l={targetUrl:s,contentType:t,requestType:a.RequestType.Get,timeout:r||3e4,successCallback:function(e,n){_(c,"Success",n,!0,(function(){i&&i(e,n)}))},failureCallback:function(e,n,t){_(c,"Failed",S(n,t),!1,(function(){o&&o(e,n,t)}))},timeoutCallback:function(e,n,t){_(c,"Timeout",S(n,t),!1,(function(){o&&o(e,n,t)}))}};v(l),a.Handler.call(n,l),n.sendRequest()},n.Beacon=function(e,t,i,a,o){var r=[],s=m(!0);p.forEach(s,(function(e,n){r.push([e,n])}));var c=e.url;if(c=g.add(c,r),e.url=c,navigator.sendBeacon){var d={};b(d,e,"Beacon",o,null,!1);var l=h(t),u=navigator.sendBeacon(c,l);_(d,u?"Success":"Failed",null,u,(function(){u&&i?i():!u&&a&&a()}))}else n.Json(e,t,i,a,o)}}},function(e,n,t){var i=t(5);n.throwUnhandledExceptionOnRejection=function(e){e["catch"]((function(e){var n=e;e instanceof Error||(n=new Error("Unhandled Promise rejection: "+e)),setTimeout((function(){throw n}),0)}))},n.newPromiseWithTimeout=function(e,n,t){return new i((function(a,o){i.resolve(e()).then(a,o),setTimeout((function(){a(t)}),n)}))}},function(module,exports){var JSON;JSON||(JSON={}),function(){"use strict";var global=Function("return this")(),JSON=global.JSON;function f(e){return e<10?"0"+e:e}JSON||(JSON={}),"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(e){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(e){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(e){return escapable.lastIndex=0,escapable.test(e)?'"'+e.replace(escapable,(function(e){var n=meta[e];return"string"==typeof n?n:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function str(e,n){var t,i,a,o,r,s=gap,c=n[e];switch(c&&"object"==typeof c&&"function"==typeof c.toJSON&&(c=c.toJSON(e)),"function"==typeof rep&&(c=rep.call(n,e,c)),typeof c){case"string":return quote(c);case"number":return isFinite(c)?String(c):"null";case"boolean":case"null":return String(c);case"object":if(!c)return"null";if(gap+=indent,r=[],"[object Array]"===Object.prototype.toString.apply(c)){for(o=c.length,t=0;t<o;t+=1)r[t]=str(t,c)||"null";return a=0===r.length?"[]":gap?"[\n"+gap+r.join(",\n"+gap)+"\n"+s+"]":"["+r.join(",")+"]",gap=s,a}if(rep&&"object"==typeof rep)for(o=rep.length,t=0;t<o;t+=1)"string"==typeof rep[t]&&(a=str(i=rep[t],c))&&r.push(quote(i)+(gap?": ":":")+a);else for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(a=str(i,c))&&r.push(quote(i)+(gap?": ":":")+a);return a=0===r.length?"{}":gap?"{\n"+gap+r.join(",\n"+gap)+"\n"+s+"}":"{"+r.join(",")+"}",gap=s,a}}"function"!=typeof JSON.stringify&&(JSON.stringify=function(e,n,t){var i;if(gap="",indent="","number"==typeof t)for(i=0;i<t;i+=1)indent+=" ";else"string"==typeof t&&(indent=t);if(rep=n,n&&"function"!=typeof n&&("object"!=typeof n||"number"!=typeof n.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(e,n){var t,i,a=e[n];if(a&&"object"==typeof a)for(t in a)Object.prototype.hasOwnProperty.call(a,t)&&((i=walk(a,t))!==undefined?a[t]=i:delete a[t]);return reviver.call(e,n,a)}if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,(function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")}),global.JSON=JSON,module.exports=JSON}()},function(e,n,t){var i=t(7),a=t(22),o=t(3),r=t(5);function s(e){var n,s=this,c=o.DateTime.getCurrentTime(),d=e&&e.av&&e.Ai,l=null;function u(e){return function(){if(l)return l[e].apply(l,arguments)}}s.createLoadClientTracingPromise=function(){return new r((function(n){d&&!l?t.e(2).then(function(){var i=t(428).getInstance(e,c);l||(l=i),n()}.bind(null,t))["catch"](t.oe):n()}))},s.logRedirection=function(e,n){var t=e,i=null;return e&&"string"!=typeof e?(t=e.url,i=e.eventOptions,n=e.traceParameters?n:null,e.traceUrl&&(n?n.url=t:n=t)):n=null,i&&i.eventId&&s.logEvent({eventType:"onRedirect",eventId:i.eventId,eventLevel:i.eventLevel,eventArgs:n,eventOptions:i}),t},s.getPropertyLogOption=function(e,n){return(n=n||{}).hasOwnProperty("tracingPropertyChange")||(n.tracingPropertyChange=!0),n.eventLevel=n.eventLevel||i.EventLevel.Info,{viewModel:e,tracingOptions:n}},s.getDefaultTextBoxPropertyLogOption=function(e,n){return(n=n||{}).hasOwnProperty("hidingMode")||(n.hidingMode=i.HidingMode.None),n.rateLimit={method:"notifyWhenChangesStop"},s.getPropertyLogOption(e,n)},s.getPIITextBoxPropertyLogOption=function(e,n){return(n=n||{}).hidingMode=i.HidingMode.Mask,s.getDefaultTextBoxPropertyLogOption(e,n)},s.getPasswordTextBoxPropertyLogOption=function(e,n){return(n=n||{}).hidingMode=i.HidingMode.Hide,s.getDefaultTextBoxPropertyLogOption(e,n)},s.getDefaultEventTracingOptions=function(e,n,t){return{eventId:e,eventLevel:t||i.EventLevel.Info,hidingMode:n?i.HidingMode.None:i.HidingMode.Hide}},s.attachViewLoadClientTracingOptions=(n="attachViewLoadClientTracingOptions",function(){if(a)return a[n].apply(a,arguments)}),s.logEvent=u("logEvent"),s.traceBeginRequest=u("traceBeginRequest"),s.traceEndRequest=function(e,n,t,i,a){l?l.traceEndRequest(e,n,t,i,a):a&&a()},s.setPageViewModel=u("setPageViewModel"),s.logComponentEvent=u("logComponentEvent"),s.logViewState=u("logViewState"),s.setViewViewModel=u("setViewViewModel"),s.switchView=u("switchView"),s.postEvent=u("postEvent")}var c=null;n.getInstance=function(e){return c=c||new s(e)}},function(e,n,t){var i=t(2),a=t(1),o=t(4);var r=window;function s(e){var n=this,t=((e=e||{}).serverData,e.primaryButtonId),r=e.secondaryButtonId,s=e.primaryButtonText,c=e.secondaryButtonText,d=!1!==e.isPrimaryButtonVisible,l=!1!==e.isSecondaryButtonVisible,u=!1!==e.isPrimaryButtonEnabled,p=!1!==e.isSecondaryButtonEnabled,g=e.focusOnPrimaryButton||!1,f=e.focusOnSecondaryButton||!1,m=e.primaryButtonDescribedBy,h=e.secondaryButtonDescribedBy,v=e.primaryButtonCss,b=e.secondaryButtonCss,_=e.primaryButtonType||"submit",S=e.removeBottomMargin,y=e.primaryButtonPreventTabbing||{direction:"none"};n.primaryButtonId=t,n.secondaryButtonId=r,n.primaryButtonCss=v,n.secondaryButtonCss=b,n.primaryButtonText=i.observable(s),n.secondaryButtonText=i.observable(c),n.isPrimaryButtonVisible=i.observable(d),n.isSecondaryButtonVisible=i.observable(l),n.isPrimaryButtonEnabled=i.observable(u),n.isSecondaryButtonEnabled=i.observable(p),n.focusOnPrimaryButton=i.observable(g),n.focusOnSecondaryButton=i.observable(f),n.hasOneButtonVisible=i.pureComputed((function(){var e=0;return n.isPrimaryButtonVisible()&&e++,n.isSecondaryButtonVisible()&&e++,1===e})),n.primaryButtonDescribedBy=m,n.secondaryButtonDescribedBy=h,n.removeBottomMargin=S,n.primaryButtonPreventTabbing=y,n.primaryButtonAttributes=i.pureComputed((function(){var e={id:n.primaryButtonId||"idSIButton9","aria-describedby":n.primaryButtonDescribedBy};return a.Helper.isChangingInputTypeSupported()&&(e.type=_),e})),n.onPrimaryButtonClick=o.create(),n.onSecondaryButtonClick=o.create(),n.setTextPrimaryButton=function(e){n.primaryButtonText(e)},n.setTextSecondaryButton=function(e){n.secondaryButtonText(e)},n.setVisibilityPrimaryButton=function(e){n.isPrimaryButtonVisible(e)},n.setVisibilitySecondaryButton=function(e){n.isSecondaryButtonVisible(e)},n.setEnabledPrimaryButton=function(e){n.isPrimaryButtonEnabled(e)},n.setEnabledSecondaryButton=function(e){n.isSecondaryButtonEnabled(e)},n.primaryButton_onClick=function(){n.onPrimaryButtonClick()},n.secondaryButton_onClick=function(){n.onSecondaryButtonClick()}}i.components.register("footer-buttons-field",{viewModel:s,template:t(302),synchronous:!r.ServerData.A||a.Helper.isStackSizeGreaterThan(r.ServerData.A),enableExtensions:!0}),e.exports=s},function(e,n,t){var i=t(21),a=t(1),o=i.Helper,r=a.QueryString,s=n.Properties={State:"State",SessionLookupKey:"SessionLookupKey",DisplaySignForUI:"DisplaySignForUI",FlowToken:"FlowToken"},c=n.Purpose={Password:"eOTT_OneTimePassword",RemoteNGC:"eOTT_RemoteNGC",NoPassword:"eOTT_NoPasswordAccountLoginCode",OtcLogin:"eOTT_OtcLogin",XboxRemoteConnect:"RemoteSignInWithUserCode"},d=n.Channel={Authenticator:"Authenticator",MobileSms:"SMS",EmailAddress:"Email",VoiceCall:"Voice",PushNotifications:"PushNotifications"},l=n.Type={EmailAddress:"AltEmail",EmailAddressEncrypted:"AltEmailE",Mobile:"MobileNum",MobileEncrypted:"MobileNumE",SessionApprover:"SAPId"};n.Event={OnSend:"otcsend",OnSendFail:"otcsendfailed",OnFlowExpired:"otcflowexpired"};var u=n.RequestParam={Username:"login",Purpose:"purpose",FlowToken:"flowtoken",CanaryFlowToken:"canaryFlowToken",Channel:"channel",UIMode:"UIMode",PhoneCountry:"MobileCountry",PhoneCountryCode:"MobileCC",UnauthSessionId:"uaid",ProofConfirmation:"ProofConfirmation"},p=n.Status={None:0,Error:200,Success:201,HIPError:202,FTError:203,InputError:204,DestinationError:205,Timeout:300},g=n.ProofTypeToChannel=function(e){var n=null;switch(e){case PROOF.Type.SMS:n=d.MobileSms;break;case PROOF.Type.Voice:n=d.VoiceCall;break;case PROOF.Type.Email:case PROOF.Type.AltEmail:n=d.EmailAddress;break;case PROOF.Type.TOTPAuthenticatorV2:n=d.PushNotifications}return n},f=n.ProofTypeToOtcType=function(e,n){var t=null;switch(e){case PROOF.Type.Voice:case PROOF.Type.SMS:t=n?l.MobileEncrypted:l.Mobile;break;case PROOF.Type.Email:case PROOF.Type.AltEmail:t=n?l.EmailAddressEncrypted:l.EmailAddress;break;case PROOF.Type.TOTPAuthenticatorV2:t=l.SessionApprover}return t};n.Proof=function(e){var n=e.username||"",t=e.flowToken||"",i=e.purpose||c.Password,a=e.proofType,o=e.proofData||"",r=e.isEncrypted,s=e.uiMode,d=e.lcid,l=e.phoneCountry||"",p=e.phoneCountryCode||"",m=e.unauthSessionId,h=e.proofConfirmation,v=e.canaryFlowToken;this[u.Username]=n,this[u.FlowToken]=t,this[u.Purpose]=i,this[u.Channel]=g(a),this[f(a,r)]=o,s&&(this[u.UIMode]=s),d&&(this.lcid=d),r||a!==PROOF.Type.SMS&&a!==PROOF.Type.Voice||(this[u.PhoneCountry]=l,this[u.PhoneCountryCode]=p),m&&(this[u.UnauthSessionId]=m),h&&(this[u.ProofConfirmation]=h),v&&(this[u.CanaryFlowToken]=v)},n.Request=function(e){var n,t,a,c,d=this,l=p.None,u="",g="",f="",m=e.data,h=e.onSend,v=e.onSendFail,b=e.onFlowExpired,_=e.timeout||3e4,S=e.siteId,y=e.clientId,w=e.forwardedClientId,T=e.noPaBubbleVersion;function C(e){var n=!1,t=d.getResponseJson();f=t[s.FlowToken]||"",t[s.State]?(l=t[s.State],u=t[s.SessionLookupKey]||"",g=t[s.DisplaySignForUI]||"",n=l!==p.Success):(l=p.Error,u="",g="",n=!0),n?l===p.FTError?b(e,d):v(e,d):h(e)}function x(){f="",l=p.Error,u="",g="",v(d)}function I(){l=p.Timeout,u="",g="",f="",v(d)}d.getOtcStatus=function(){return d.isComplete()?l:p.None},d.getSessionKey=function(){return d.isComplete()?u:""},d.getDisplaySign=function(){return d.isComplete()?g:""},d.getFlowToken=function(){return d.isComplete()?f:""},n=r.extract("mkt"),t=r.extract("lc"),a=[].concat(n?[["mkt",n]]:[],t?[["lcid",t]]:[],S?[["id",S]]:[],y?[["client_id",y]]:[],w?[["fci",w]]:[],T?[["nopa",T]]:[]),c={targetUrl:r.add("GetOneTimeCode.srf",a),requestType:i.RequestType.Post,data:o.generateRequestString(m),isAsync:!0,timeout:_,successCallback:C,failureCallback:x,timeoutCallback:I},i.Handler.call(d,c)}},function(e,n,t){var i=t(24),a=t(11),o=t(36),r=window,s=r.navigator;n.makeCredential=function(e,n,t,a,r,c,d,l){var u=[];c&&(u=c.map((function(e){return{type:"public-key",id:o.base64UrlStringToArrayBuffer(e)}})));var p=i.SupportedKeyAlgorithms.map((function(e){return{type:"public-key",alg:e}})),g={challenge:o.stringToArrayBuffer(e),rp:{name:"Microsoft",id:l},user:{id:o.base64UrlStringToArrayBuffer(n),name:t,displayName:a,icon:r},pubKeyCredParams:p,timeout:i.Timeout,excludeCredentials:u,authenticatorSelection:{authenticatorAttachment:d,requireResidentKey:!0,userVerification:"required"},attestation:"direct",extensions:{hmacCreateSecret:!0,credentialProtectionPolicy:"userVerificationOptional"}};return s.credentials.create({publicKey:g})},n.getAssertion=function(e,n,t){var a=[];n&&(a=n.map((function(e){return{type:"public-key",id:o.base64UrlStringToArrayBuffer(e)}})));var r={challenge:o.stringToArrayBuffer(e),timeout:i.Timeout,rpId:t,allowCredentials:a,userVerification:"required"};return s.credentials.get({publicKey:r})},n.isPlatformAuthenticatorAvailable=function(){return a.newPromiseWithTimeout(r.PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable,i.PromiseTimeout,!1)}},function(e,n,t){(function(n){e.exports=n.ko=t(61)}).call(this,t(60))},function(e,n,t){var i=t(2),a=t(1),o=window,r=a.Helper;function s(){var e=this;e.useCssAnimation=!1,r.isCSSAnimationSupported()&&!r.isHighContrast()&&(e.useCssAnimation=!0)}i.components.register("marching-ants-control",{viewModel:s,template:t(313),synchronous:!o.ServerData.A||a.Helper.isStackSizeGreaterThan(o.ServerData.A)}),e.exports=s},function(e,n,t){var i=t(15),a=t(7),o=t(13).getInstance(window.ServerData);e.exports=function(e){var n=null,t=e.username,r=e.proofData,s=e.proofType,c=e.purpose||i.Purpose.Password,d=e.flowToken,l=e.canaryFlowToken,u=!1!==e.isEncrypted,p=e.uiMode,g=e.lcid,f=e.unauthSessionId,m=e.proofConfirmation,h=e.phoneCountry,v=e.phoneCountryCode,b=e.siteId,_=e.clientId,S=e.forwardedClientId,y=e.noPaBubbleVersion,w=e.successCallback,T=e.failureCallback,C=e.clientTracingOptions,x={};function I(e,n,t,i,a){o.traceEndRequest(e,n,t,i,a)}function k(){I(x,"Success",null,!0,(function(){w&&w(n)}))}function D(){var e={otcStatus:n.getOtcStatus()};I(x,"Failed",e,!1,(function(){T&&T(n)}))}this.sendRequest=function(){var e,w={data:(e={username:t,proofData:r,proofType:s,purpose:c,flowToken:d,canaryFlowToken:l,isEncrypted:u,uiMode:p,lcid:g,unauthSessionId:f,proofConfirmation:m,phoneCountry:h,phoneCountryCode:v},new i.Proof(e)),siteId:b,clientId:_,forwardedClientId:S,noPaBubbleVersion:y,onSend:k,onSendFail:D,onFlowExpired:D},T={};T.proofType=s,T.purpose=c,T.uiMode=p,T.lcid=g,T.phoneCountry=h,T.phoneCountryCode=v,function(e,n){var t=C||{};t.hasOwnProperty("eventId")||(t.eventId=a.EventIds.Api_GetOneTimeToken);if(t.eventId){var i={eventType:"POST",eventId:t.eventId,eventLevel:t.eventLevel||a.EventLevel.Info,eventArgs:n,eventOptions:t};o.traceBeginRequest(e,i)}}(x,T),(n=new i.Request(w)).sendRequest()}}},function(e,n,t){var i=t(0),a=t(6),o=t(5),r=t(9),s=t(1),c=t(3),d=t(10),l=t(7),u=s.Helper,p=s.QueryString,g=c.String,f=c.Object,m=i.CredentialType,h=i.RemoteNgcType,v=i.Error,b=i.ApiErrorCodes,_=i.EstsError,S=i.PaginatedState,y=i.IfExistsResult,w=i.ThrottleStatus,T=i.DomainType,C=i.BindProvider,x=a.AllowedIdentitiesType,I=i.SessionPullFlags;var k=P.GctResultAction={ShowError:1,SwitchView:2,Redirect:3},D=P.GctRequestHelperFlags={CheckCurrentIdpOnly:1,IsPhoneNumberFullyQualified:2,DisableDesktopSsoPreferredCred:4,DisableAutoSend:8,ForceOtcLogin:16,IsPostRequest:32,IsSignup:64};function P(e,n){var a=this,s=!1,P=null,E=null,A=null,R={},L=e,N=0!=(n&D.CheckCurrentIdpOnly),U=0!=(n&D.IsPhoneNumberFullyQualified),B=0!=(n&D.DisableDesktopSsoPreferredCred),O=0!=(n&D.DisableAutoSend),F=0!=(n&D.ForceOtcLogin),M=0!=(n&D.IsPostRequest),V=0!=(n&D.IsSignup),j=L.str,H=L.k,W=L.L,G=L.a9,q=!!L.Be,z=!!L.Bn,$=!!L.Ag,K=L.Bc,X=L.Bb,J=!!L.a8,Q=!!L.BC,Y=!!L.Bd,Z=L.c,ee=L.Af,ne=L.aT,te=L.K,ie=L.bv,ae=L.As,oe=L.AR,re=e.urlMsaSignUp,se=L.J,ce=L.T,de=L.fUseConsumerEmailError,le=L.M,ue=L.desktopSsoConfig,pe=L.sFedQS,ge=L.staticTenantBranding,fe=L.dynamicTenantBranding,me=L.isGlobalTenant,he=(L.fCheckForWindowsSku,L.country),ve=L.arrProofData||{},be=parseInt(L.bo),_e=L.bu,Se=!!L.ar,ye=L.fBindCookiesUsingPoP,we=L.B1||0,Te=L.fIgnoreViralUsers,Ce=L.fAccessPassSupported,xe=L.a1,Ie=L.fIsTapRestrictedWsi,ke=L.fUpdateLoginHint,De=L.Bx,Pe=L.Q;function Ee(e,n,t){var i=e.Credentials&&e.Credentials.OtcLoginEligibleProofs,a=[];if(i){var o=e.Credentials&&e.Credentials.HasPhone&&e.Credentials.CobasiApp;c.Array.forEach(i,(function(e){if(e.isDefault===n){var t={credType:m.OneTimeCode,proof:e};switch(t.proof.isEncrypted=!0,e.type){case PROOF.Type.SMS:case PROOF.Type.Voice:if(!e.isVoiceOnly){var i=f.clone(t);i.proof.otcSent&&M&&be===PROOF.Type.Voice&&(i.proof.otcSent=!1),i.proof.type=PROOF.Type.SMS,xe&&!o&&(i.shownOnlyOnPicker=!0),a.push(i)}if(e.voiceEnabled){var r=f.clone(t);!r.proof.otcSent||M&&be===PROOF.Type.Voice||(r.proof.otcSent=!1),r.proof.type=PROOF.Type.Voice,a.push(r)}break;case PROOF.Type.Email:a.push(f.clone(t))}}}))}if(n&&0===a.length&&Ne(e,t)===m.OneTimeCode){var r=e.Credentials&&e.Credentials.HasPassword,s={credType:m.OneTimeCode,proof:{display:e.Display,data:g.cleanseUsername(e.Display),otcSent:!0,isEncrypted:!1,isDefault:!0,isNopa:!r,type:g.isEmailAddress(e.Username)?PROOF.Type.Email:PROOF.Type.SMS}};a.push(s)}return a}function Ae(e){e.proof.str={},f.extend(e.proof.str,ve[e.proof.type]||{}),f.forEach(e.proof.str,(function(n,t){t&&(e.proof.str[n]=g.format(t,e.proof.display+"\u200e",e.proof.clearDigits||""))}))}function Re(e,n,t,i,o,r){var c={},d=ue&&i.EstsProperties&&i.EstsProperties.DesktopSsoEnabled&&!function(e){return e&&ue.lastUsernameTried&&e.toLowerCase()===ue.lastUsernameTried.toLowerCase()}(n),l=i.ErrorHR,f=Me(n,i,o),b=a.getGctSharedData(i,o,r);if(b.username=n,l===v.PP_E_INVALID_PHONENUMBER||l===v.PP_E_LIBPHONENUMBERINTEROP_NUMBERPARSE_EXCEPTION)c=function(e){if(U)return Ge(j.CT_PWD_STR_Error_InvalidPhoneNumber,!0);return We(S.PhoneDisambiguation,{phoneDisambigError:e})}(l);else if(l===v.PP_E_NAME_INVALID||l===v.PP_E_INVALIDARG)c=Ge(j.CT_PWD_STR_Error_InvalidUsername);else if(l===v.PP_E_FEDERATION_INLINELOGIN_DISALLOWED)c=Ge(j.CT_PWD_STR_Error_FedNotAllowed,!0);else if(l===v.PP_E_LOGIN_NOPA_USER_PASSWORD_REQUIRED)c=Ge(De?g.format(j.CT_STR_Error_PasswordRequired,p.stripQueryStringAndFragment(Pe)):g.format(j.CT_STR_Error_PasswordRequired,p.stripQueryStringAndFragment(_e)));else if(i.RequiresPhoneDisambiguation)c=We(S.PhoneDisambiguation);else{if(i.AliasDisabledForLogin)return Ge(j.CT_PWD_STR_Error_AliasDisabled,!0);if(i.IfExistsResult===y.NotExist)c=function(e,n,t,i){var a,o=He(e,t),r=t.EstsProperties||{},s=r.DomainType&&r.DomainType!==T.Unknown&&r.DomainType!==T.Consumer;if(t.IsProofForAlias)return We(S.ConfirmRecoverUsername);if(ae&&o&&(ee||ne))return ee?Fe(e,t):We(S.ConfirmSignup);a=n?t.ThrottleStatus===w.NotThrottled&&s?j.CT_PWD_STR_Error_UsernameNotExist_Alternate_VerifiedDomain:j.CT_PWD_STR_Error_UsernameNotExist_Alternate:Ne(t,i)===m.OneTimeCode?t.ThrottleStatus===w.MsaThrottled?j.CT_PWD_STR_Error_UsernameNotExists_EmailOtpAllowed_MsaFailed:j.CT_PWD_STR_Error_UsernameNotExists_EmailOtpAllowed:de&&r.DomainType===T.Consumer?j.CT_PWD_STR_Error_UsernameNotExist_ConsumerEmail:t.ThrottleStatus===w.NotThrottled&&s?o?j.CT_PWD_STR_Error_UsernameNotExist_VerifiedDomain_SignupAllowed:j.CT_PWD_STR_Error_UsernameNotExist_VerifiedDomain:t.ThrottleStatus===w.MsaThrottled?s&&o?j.CT_PWD_STR_Error_UsernameNotExist_VerifiedDomain_MsaFailed_SignupAllowed:s?j.CT_PWD_STR_Error_UsernameNotExist_VerifiedDomain_MsaFailed:ae&&!se?j.CT_PWD_STR_Error_UsernameNotExist_Guest_SignupAllowed_MsaFailed:j.CT_PWD_STR_Error_UnknownDomain_MsaFailed:V&&!s?j.CT_PWD_STR_Error_UsernameNotExist_Guest_Signup:U?j.CT_PWD_STR_Error_InvalidPhoneNumber:j.CT_PWD_STR_Error_UsernameNotExist;return Ge(g.format(a,u.htmlEscape(g.extractDomain(e)),u.htmlEscape(e)),!0)}(n,t,i,o);else if(i.IfExistsResult===y.ExistsBothIDPs)c=We(S.IdpDisambiguation,{desktopSsoEnabled:d,idpRedirectUrl:f.idpRedirectUrl,idpRedirectPostParams:f.idpRedirectPostParams,idpRedirectProvider:f.idpRedirectProvider});else if(i.IfExistsResult===y.ExistsInOtherMicrosoftIDP)c=Oe(e,n);else if(!s||i.IfExistsResult!==y.Error&&i.IfExistsResult!==y.Throttled&&0==(i.ThrottleStatus&w.MsaThrottled))if(i.ShowRemoteConnect)c=We(S.RemoteLoginPolling);else{c=function(e,n,t,i,a,o){var r=Ne(i,o);if(Ie&&r!==m.AccessPass)return We(S.MoreInfo);if(!B&&n)return We(S.FetchSessionsProgress,{unsafe_desktopSsoDomainToUse:g.extractDomain(e),sessionPullType:I.Dsso});var s={idpRedirectUrl:t.idpRedirectUrl,idpRedirectPostParams:t.idpRedirectPostParams,idpRedirectProvider:t.idpRedirectProvider};switch(r){case m.OneTimeCode:var c=S.OneTimeCode;return O&&(c=a?S.ProofConfirmation:S.ConfirmSend),We(c);case m.PublicIdentifierCode:return O||i.Credentials.SasParams&&i.Credentials.SasParams.Success?We(O?S.ConfirmSend:S.OneTimeCode):Ge(j.CT_PWD_STR_Error_GetCredentialTypeError,!1,!0);case m.Fido:return We(S.Fido);case m.RemoteNGC:var d=i.Credentials.RemoteNgcParams.DefaultType===h.PushNotification;return We(O&&d?S.ConfirmSend:S.RemoteNGC,s);case m.Federation:case m.CloudFederation:return We(S.IdpRedirect,s);case m.LinkedIn:case m.GitHub:case m.Google:case m.Facebook:return We(Ue(i,o).length>1||Be(i,o).length>0?S.IdpRedirectSpeedbump:S.IdpRedirect,s);case m.AccessPass:return We(S.AccessPass,s);case m.NoPreferredCredential:return We(S.CredentialPicker,s);case m.OtherMicrosoftIdpFederation:return Fe(e,i,re);case m.Password:default:return We(S.Password)}}(n,d,f,i,b.otcCredential&&b.otcCredential.proof.clearDigits,o)}else c=We(S.IdpDisambiguation,{hasIdpDisambigError:!0,desktopSsoEnabled:d,idpRedirectUrl:f.idpRedirectUrl,idpRedirectPostParams:f.idpRedirectPostParams,idpRedirectProvider:f.idpRedirectProvider})}return c.flowToken=i.FlowToken||null,c.bypassCache||(R[n]=i,R[n].FlowToken=null),c.sharedData=b,c}function Le(e){var n={};if(e&&e.error)switch(e.error.code){case b.AuthFailure:n=Ge(j.CT_PWD_STR_Error_FlowTokenExpired);break;case _.PublicIdentifierSasBeginCallNonRetriableError:case _.PublicIdentifierSasBeginCallRetriableError:n=Ge(j.CT_PWD_STR_Error_GetCredentialTypeError,!1,!0);break;default:n=Ge(j.CT_PWD_STR_Error_GetCredentialTypeError)}else n=Ge(j.CT_PWD_STR_Error_GetCredentialTypeError);return n.flowToken=e.FlowToken||null,n}function Ne(e,n){var t=m.Password,i=e.Credentials;return i&&((t=i.PrefCredential)!==m.Fido||n||(t=i.RemoteNgcParams&&i.RemoteNgcParams.SessionIdentifier?m.RemoteNGC:m.Password)),t}function Ue(e,n){var t=e.Credentials||{},i=t.SasParams,a=t.LinkedInParams,o=t.GitHubParams,r=t.GoogleParams,s=t.FacebookParams,d=t.CertAuthParams,l=e.EstsProperties||{},u=[].concat(t.HasPassword&&l.DomainType!==T.Federated?{credType:m.Password}:[],t.FederationRedirectUrl&&l.DomainType===T.Federated?{credType:m.Federation}:[],t.FederationRedirectUrl&&l.DomainType===T.CloudFederated?{credType:m.CloudFederation}:[],t.HasRemoteNGC?{credType:m.RemoteNGC}:[],t.HasFido&&n?{credType:m.Fido}:[],t.HasPhone&&i?{credType:m.PublicIdentifierCode}:[],t.HasLinkedInFed&&a?{credType:m.LinkedIn,redirectUrl:a.LinkedInRedirectUrl}:[],t.HasGitHubFed&&o?{credType:m.GitHub,redirectUrl:o.GithubRedirectUrl}:[],t.HasGoogleFed&&r?{credType:m.Google,redirectUrl:r.GoogleRedirectUrl}:[],t.HasFacebookFed&&s?{credType:m.Facebook,redirectUrl:s.FacebookRedirectUrl}:[],t.HasAccessPass?{credType:m.AccessPass}:[],t.HasCertAuth?{credType:m.Certificate,redirectUrl:d.CertAuthUrl,redirectPostParams:Ve(e.FlowToken)}:[]);if(ve[PROOF.Type.Email]&&ve[PROOF.Type.SMS]&&ve[PROOF.Type.Voice]){var p=Ee(e,!0,n);p.length>0&&(c.Array.forEach(p,Ae),u=u.concat(p))}return u}function Be(e,n){var t=[];if(ve[PROOF.Type.Email]&&ve[PROOF.Type.SMS]&&ve[PROOF.Type.Voice]){var i=Ee(e,!1,n);i.length>0&&(c.Array.forEach(i,Ae),t=t.concat(i),c.Array.first(i,(function(e){return!e.proof.isNopa}))&&(t=t.concat({credType:m.Password,isDefault:!1})))}return t}function Oe(e,n){var t=encodeURIComponent(n).replace(new RegExp("'","g"),"%27");e=p.appendOrReplace(e,"username",t),ke&&(e=p.appendOrReplace(e,"login_hint",t));var i=le?f.clone(le):null;return i&&(i.unsafe_username=n),qe(e,i,!0,l.EventIds.Redirect_OtherIdpRedirection)}function Fe(e,n,t){t=t||se,t=p.remove(t,"username");var i=ce?f.clone(ce):null;return n&&(n.IfExistsResult===y.NotExist||n.IsUnmanaged&&n.IfExistsResult===y.Exists)&&He(e,n)&&(i?i.unsafe_username=e:t=p.appendOrReplace(t,"username",encodeURIComponent(e))),qe(t,i,!1,l.EventIds.Redirect_MSASignUpPage)}function Me(e,n,t){var i={},a=Ne(n,t),o=n.EstsProperties||{};if(!(n.Credentials&&(n.Credentials.FederationRedirectUrl||n.Credentials.LinkedInParams||n.Credentials.GitHubParams||n.Credentials.GoogleParams||n.Credentials.FacebookParams)))return i;switch(a){case m.RemoteNGC:case m.Federation:case m.AccessPass:case m.NoPreferredCredential:o&&o.SamlRequest&&o.RelayState?(i.idpRedirectUrl=n.Credentials.FederationRedirectUrl,i.idpRedirectPostParams={SAMLRequest:o.SamlRequest,RelayState:o.RelayState,unsafe_username:e}):i.idpRedirectUrl=function(e,n){if(pe){var t=p.appendOrReplace("?"+pe,"wctx","LoginOptions%3D3%26"+p.extract("wctx","?"+pe));t=t.substr(1),e=p.append(e,t)}else e=p.appendOrReplace(e,"wctx","LoginOptions%3D3%26"+p.extract("wctx",e));return e=p.appendOrReplace(e,"cbcxt",encodeURIComponent(decodeURIComponent(p.extract("cbcxt")))),e=p.appendOrReplace(e,"username",encodeURIComponent(n)),e=p.appendOrReplace(e,"mkt",encodeURIComponent(decodeURIComponent(p.extract("mkt")))),e=p.appendOrReplace(e,"lc",encodeURIComponent(decodeURIComponent(p.extract("lc"))))}(n.Credentials.FederationRedirectUrl,e);break;case m.CloudFederation:i.idpRedirectUrl=n.Credentials.FederationRedirectUrl;break;case m.LinkedIn:i.idpRedirectUrl=n.Credentials.LinkedInParams.LinkedInRedirectUrl,i.idpRedirectProvider=C.LinkedIn;break;case m.GitHub:i.idpRedirectUrl=n.Credentials.GitHubParams.GithubRedirectUrl,i.idpRedirectProvider=C.GitHub;break;case m.Google:i.idpRedirectUrl=n.Credentials.GoogleParams.GoogleRedirectUrl,i.idpRedirectProvider=C.Google;break;case m.Facebook:i.idpRedirectUrl=n.Credentials.FacebookParams.FacebookRedirectUrl,i.idpRedirectProvider=C.Facebook}return i}function Ve(e){return{ctx:Z,flowToken:e}}function je(e){return g.cleanseUsername(e,!0)}function He(e,n){var t=oe&&g.isSkypeName(e),i=n.EstsProperties||{};return i.DomainType&&i.DomainType!==T.Unknown&&i.DomainType!==T.Consumer?!1===n.IsSignupDisallowed:!n.IsSignupDisallowed&&!t}function We(e,n){return{action:k.SwitchView,viewId:e,viewParams:n}}function Ge(e,n,t){return{action:k.ShowError,error:e,isBlockingError:n,bypassCache:t}}function qe(e,n,t,i){return{action:k.Redirect,redirectUrl:e,redirectPostParams:n,isIdpRedirect:t,eventId:i}}a.sendAsync=function(e,n,t){var a=je(n),r=R[a]?R[a]:null,c=!!r,u=r?o.resolve(r):function(e,n){var t=[E].concat(A||[]);return o.all(t).then((function(t){var a=t[0],r=t[1];return new o((function(t,o){new d({checkApiCanary:te}).Json({url:ie,eventId:l.EventIds.Api_GetCredentialType},function(e,n,t,i){var a={unsafe_username:e,uaid:H,isOtherIdpSupported:s,isFederationDisabled:G,checkPhones:g.isPhoneNumber(e),isRemoteNGCSupported:q,isCookieBannerShown:z,isFidoSupported:t,originalRequest:Z,country:he,forceotclogin:F,otclogindisallowed:K,isExternalFederationDisallowed:J,isRemoteConnectSupported:Se,federationFlags:we,isSignup:V,flowToken:n};ne&&(a.checkProofForAliases=!0);X&&(a.noPaOtcDisallowed=!0);Q&&(a.isPassthroughDisallowed=!0);Y&&(a.isPhoneNumberSignupDisallowed=!0);Te&&(a.ignoreViralUsers=!0);ye&&(i=i||{cpa:"",err:"Authenticator not generated."},a.cpa=i.cpa,a.cpa_err=i.err);Ce&&(a.isAccessPassSupported=!0);return a}(e,n,a,r),t,o,i.DefaultRequestTimeout)}))}))}(a,t);return o.all([P,u,E]).then((function(n){var t=n[0],i=n[1],o=n[2];return Re(e,a,t,i,o,c)}),Le)},a.getResult=function(e,n,t,i){return Re(e,je(n),!1,t,i,!1)},a.getState=function(){return{cache:R}},a.restoreState=function(e){e&&(R=e.cache||{})},a.cacheResponse=function(e,n){R[je(e)]=n},a.getSignupRedirectGctResult=function(e){var n=je(e);return Fe(n,R[n]?R[n]:null)},a.getOtherIdpRedirectGctResult=function(e,n){return Oe(e,je(n))},a.getGctSharedData=function(e,n,t){var i={},a=Ne(e,n),o=e.Credentials||{},s=o.RemoteNgcParams,d=o.FidoParams,l=e.EstsProperties||{},u=s?s.DefaultType:null,p=!!s&&s.ShowAnimatedGifWhilePolling,g=!!s&&s.StyleCredSwitchLinkAsButton,f=r.loadTenantBranding(l.UserTenantBranding||fe),h=r.loadTenantBranding(ge),v=Me(e.Username,e,n);return i.preferredCredential=a,i.location=e.Location,i.fedRedirectParams=v,e.Display&&(i.displayName=e.Display),i.availableCreds=Ue(e,n),i.evictedCreds=Be(e,n),a===m.OneTimeCode&&(i.otcCredential=c.Array.first(i.availableCreds,(function(e){return e.credType===m.OneTimeCode&&e.proof.otcSent})),i.useEvictedCredentials=!1),i.remoteNgcParams={requestSent:!O&&!t&&a===m.RemoteNGC&&s&&s.hasOwnProperty("Entropy"),sessionIdentifier:s?s.SessionIdentifier:null,entropy:s?s.Entropy:null,defaultType:u,showAnimatedGifWhilePolling:p,styleCredSwitchLinkAsButton:g},i.otcParams={requestSent:(a===m.OneTimeCode||a===m.PublicIdentifierCode)&&e.IfExistsResult!==y.ExistsBothIDPs},d&&d.AllowList&&(i.fidoParams={allowList:d.AllowList}),i.callMetadata=l&&l.CallMetadata?l.CallMetadata:{},i.userTenantBranding=r.getMergedBranding(h,f,me),i},s=!N&&W===x.Both,P=o.resolve(!1),E=u.isFidoSupportedAsync($),ye&&t.e(25).then(function(){var e=t(460);A=e.computePoPAuthenticator("POST",ie).then((function(e){return{cpa:e,err:null}}),(function(e){return{cpa:"",err:e.message}}))}.bind(null,t))["catch"](t.oe)}e.exports=P},function(e,n,t){var i=t(12),a=t(1),o=t(3),r=o.Object,s=a.HttpCode,c=window;n.RequestType={Post:"POST",Get:"GET"};var d=n.State={Unsupported:-1,Unsent:0,Done:4,Timeout:5};n.Event={OnSuccess:"ajaxsuccess",OnError:"ajaxerror",OnTimeout:"ajaxtimeout"},n.Helper={generateRequestString:function(e){var n="";return e&&r.forEach(e,(function(e,t){(t||""===t)&&(n.length>0&&(n+="&"),n+=e+"="+t)})),n}},n.Handler=function(e){var n=this,t="",l=[],u=null,p=null,g=!1,f=!0,m=null,h=!1,v=!!e.contentType,b=!!e.headers,_=!!e.headerValue,S=e.data||"",y=e.targetUrl||"",w=e.requestType||"",T=!1!==e.isAsync,C=e.timeout||0,x=e.username||"",I=e.password||"",k=e.contentType||"application/x-www-form-urlencoded",D=e.withCredentials||!1,P=e.breakCache||!1,E=e.responseType||"",A=e.headers||{},R=e.successCallback,L=e.failureCallback,N=e.timeoutCallback;function U(e,i){e||n.isSuccess()?R&&R(u,t):(i||!n.isSuccess()&&!g)&&L&&L(u,p,p.statusText)}function B(){if(m=null,g=!0,n.cancel(),N){var e={status:s.Timeout,statusText:"timeout"};N(u,e,e.statusText)}}function O(e){if(j(),!n.isComplete()&&!p.canceled&&L){var t={status:s.ClientClosedRequest,statusText:"abort"};L(e,t,t.statusText)}}function F(e){n.isComplete()||V(e)}function M(e){n.isComplete()&&!g&&V(e)}function V(e){j(),t=p.responseText,u=e,U()}function j(){m&&(clearTimeout(m),m=null)}function H(e){j(),t=p.responseText,U(e,!e)}n.sendRequest=function(e){u=e,function(){g=!1;var e="withCredentials"in new XMLHttpRequest;if(!h||e){var t=y;(p=new XMLHttpRequest).onreadystatechange=M,p.addEventListener&&(p.addEventListener("abort",O),p.addEventListener("error",F)),P&&(t=a.QueryString.appendOrReplace(t,"_",(new Date).getTime())),x.length>0?p.open(w,t,T,x,I):p.open(w,t,T),n.clearResponse(),r.forEach(A,(function(e,n){p.setRequestHeader(e,n)})),p.responseType=E,p.withCredentials=D}else c.XDomainRequest?!T||x||I||v||b||_||D?f=!1:((p=new c.XDomainRequest).onerror=function(){H(!1)},p.onload=function(){H(!0)},p.open(w,y),n.clearResponse()):f=!1}(),f&&(C>0&&(m=setTimeout((function(){B.call(n)}),C)),p.send(S))},n.getState=function(){return f?g?d.Timeout:p?p.readyState:d.Unsent:d.Unsupported},n.getStatus=function(){return g?s.Timeout:p?p.status:0},n.cancel=function(){p&&(p.canceled=!0,p.abort())},n.getResponseJson=function(){return t?i.parse(t):{}},n.isComplete=function(){return n.getState()===d.Done||n.getState()===d.Timeout},n.isSuccess=function(){return n.isComplete()&&l[n.getStatus()]},n.clearResponse=function(){t=""},function(){A["Content-type"]=k,l[s.Ok]=!0,l[s.NotModified]=!0,l[s.Timeout]=!1;var e=o.String.extractDomainFromUrl(y);e&&(h=o.String.extractDomainFromUrl(document.location.href)!==e)}()}},function(e,n,t){var i=t(3),a=t(7),o={},r=null;n.setDataPoint=function(e,n,t,i){var o={scope:i||a.DataPointScope.ClientEvent},r=s(e);r.tracingDataPoints=r.tracingDataPoints||{},r.tracingDataPoints[n]={options:o,value:function(){return t}}};var s=n.getTracingContextObject=function(e){return e?(o[e]||(o[e]={}),o[e]):r=r||{}};n.getTracingContextObjects=function(){var e=[];return i.Object.forEach(o,(function(n,t){t&&e.push({viewModel:n,context:t})})),r&&e.push(r),e},n.registerTracingObservables=function(e,n,t){var i=s(e);i.tracingObservables=i.tracingObservables||[],i.tracingObservables.push({options:t,value:n})},n.deleteTracingContextObject=function(e){e?o[e]&&delete o[e]:r=null},n.attachViewLoadClientTracingOptions=function(e,n){s(e).viewLoadClientTracingOptions=n}},function(e,n,t){var i=t(2),a=t(9),o=t(1),r=t(4),s=t(0),c=window,d=s.AgreementType;function l(e){var n,t,o=this,s=e.serverData,l=e.showLogo,u=e.showLinks,p=e.hideFooter,g=e.debugDetails,f=e.showDebugDetails,m=e.hasDarkBackground,h=e.useDefaultBackground,v=s.str,b=s.q,_=s.fIsChinaDc,S=s.ah||s.ai,y=s.aG||s.AN,w=s.aI,T=s.urlGallatinIcp,C=s.staticTenantBranding;function x(e,n){b&&!_?o.onAgreementClick(e):c.open(n,"_blank")}o.onAgreementClick=r.create(),o.onShowDebugDetails=r.create(),o.showDebugDetails=i.observable(!!f),o.focusMoreInfo=i.observable(!1).extend({notify:"always"}),o.showLogo=l&&!_,o.showLinks=u,o.hideFooter=p,o.showIcpLicense=_,o.debugDetails=g,o.termsLink=S,o.privacyLink=y,o.impressumLink=w,o.icpLink=T,o.hasDarkBackground=m,o.useDefaultBackground=h,o.showFooter=!0,o.hideTOU=!1,o.termsText=null,o.hidePrivacy=!1,o.privacyText=null,o.privacyLink_onClick=function(){x(d.Privacy,o.privacyLink)},o.termsLink_onClick=function(){x(d.Tou,o.termsLink)},o.impressumLink_onClick=function(){x(d.Impressum,o.impressumLink)},o.moreInfo_onClick=function(){o.setDebugDetailsState(!o.showDebugDetails()),o.onShowDebugDetails(),o.showDebugDetails()||o.focusMoreInfo(!0)},o.setDebugDetailsState=function(e){o.showDebugDetails(e)},o.focusMoreInfoLink=function(){o.focusMoreInfo(!0)},n=a.loadTenantBranding(C),t=a.getLayoutTemplateConfig(n),o.showFooter=t.showFooter,o.hideTOU=t.hideTOU,o.hidePrivacy=t.hidePrivacy,o.termsText=n.FooterTOUText||v.MOBILE_STR_Footer_Terms,o.privacyText=n.FooterPrivacyText||v.MOBILE_STR_Footer_Privacy}i.components.register("footer-control",{viewModel:l,template:t(403),synchronous:!c.ServerData.A||o.Helper.isStackSizeGreaterThan(c.ServerData.A),enableExtensions:!0}),e.exports=l},function(e,n){n.PlatformTimeout=0,n.Timeout=6e5,n.PromiseTimeout=250,n.SupportedKeyAlgorithms=[-7,-257],n.Error={Internal:"InternalError",FidoCreateCallUnexpectedResponse:"FidoCreateCallUnexpectedResponse"}},function(e,n,t){t(304);var i=t(305);function a(e,n){return e&&e[n]?e[n]:""}function o(e){if(!e||!e.ver)return"";var n=e.ver.v||e.ver||"";return Array.isArray(n)&&n.length>0?n.join("."):n}var r=null;n.getInstance=function(e){if(e.aw)try{r=r||function(e){var n=e||{},t=n.aN||{},r=n.f||{},s=n.correlationId?n.correlationId:"";return t.correlationID=s,t.hostPageID=n.hpgid,t.pageName=n.pgid||n.bL,t.actorID=n.hpgact||n.A4,t.appId=n.appId,t.environment=n.ao,t.serverDetails={datacenter:a(r,"dc"),role:a(r,"r"),roleInstance:a(r,"ri"),version:o(r)},new i.TelemetryHelper(t)}(e)}catch(n){}return r}},function(e,n,t){var i=t(2),a=t(1),o=t(3),r=t(4),s=t(10),c=t(393),d=window,l=o.DateTime,u=a.Helper;function p(e){var n=this,t=null,a=e.debugDetails,o=e.serverData,c=e.isDebugTracingEnabled,d=e.useWiderWidth,p=o.ab,g=o.urlSetDebugMode,f=o.I,m=o.sSigninName,h=o.str,v=o.sErrorCode;function b(){n.sending(!1),n.isDebugTracingEnabled(!n.isDebugTracingEnabled()),n.onSetDebugTracing()}function _(){n.sending(!1),n.debugModeError(h.STR_Error_Details_Debug_Mode_Failure)}n.onCloseBanner=r.create(),n.onSetDebugTracing=r.create(),n.debugModeError=i.observable(),n.isDebugTracingEnabled=i.observable(c),n.sending=i.observable(!1),n.showBanner=i.observable(!0),n.showDebugDetailsCopyMessage=i.observable(!1),n.isFocusActivated=i.observable(!1),n.unsafe_exceptionMessage=null,n.debugDetails=null,n.useWiderWidth=d,n.hideBanner_onClick=function(){n.onCloseBanner(),n.showBanner(!1)},n.setDebugMode_onClick=function(){if(!n.sending()){var e=new s;n.sending(!0),n.debugModeError("");var i={mode:n.isDebugTracingEnabled()?0:1,user:t};e.Json({url:g},i,b,_)}},n.activateFocus=function(){this.isFocusActivated(!0)},t=f||m||"",n.unsafe_exceptionMessage=u.htmlUnescape(p),n.debugDetails=a||{},v&&(n.debugDetails.errorCode=v),n.debugDetails.timestamp||(n.debugDetails.timestamp=l.getUTCString())}c.applyExtensions(i),i.components.register("debug-details-control",{viewModel:p,template:t(394),synchronous:!d.ServerData.A||a.Helper.isStackSizeGreaterThan(d.ServerData.A),enableExtensions:!0}),e.exports=p},function(e,n,t){var i=t(2),a=t(1),o=t(4),r=t(0),s=window,c=r.DialogId;function d(e){var n=this,t=e.isPlatformAuthenticatorAvailable;n.onRegisterDialog=o.create(),n.onUnregisterDialog=o.create(),n.onShowDialog=o.create(),n.isPlatformAuthenticatorAvailable=t,n.hasFocus=i.observable(!1),n.fidoHelp_onClick=function(){n.onShowDialog(c.FidoHelp).then((function(){n.hasFocus(!0)}))}}i.components.register("fido-help-button-control",{viewModel:d,template:t(420),synchronous:!s.ServerData.A||a.Helper.isStackSizeGreaterThan(s.ServerData.A),enableExtensions:!0}),e.exports=d},function(e,n,t){var i=t(22);n.applyExtenders=function(e){e.extenders.preventExternalWrite=function(n){var t=n(),i=e.observable(t).extend({notify:"always"});return e.pureComputed({read:function(){return i()},write:function(e){e!==t&&i(t)}}).extend({notify:"always"})},e.extenders.flowTokenUpdate=function(n,t){return e.pureComputed({read:n,write:function(e){e&&(t&&(t.sFTTag&&(t.sFTTag=t.sFTTag.replace(t.sFT,e)),t.sFT=e),n(e))}}).extend({notify:"always"})},e.extenders.logValue=function(e,n){return n&&i.registerTracingObservables(n.viewModel,e,n.tracingOptions),e},e.extenders.loadImageFromUrl=function(n){return e.pureComputed({read:n,write:function(e){if(n()!==e)if(e){var t=new Image;t.onload=function(){n(e)},t.src=e}else n(e)}}).extend({notify:"always"})}}},function(e,n,t){var i=t(2),a=t(1),o=t(4),r=t(0),s=t(16),c=t(11),d=t(19),l=t(15),u=t(3),p=window,g=u.String,f=r.PaginatedState,m=r.CredentialType,h=r.DialogId;function v(e){var n=this,t=e.serverData,a=e.username,r=e.availableCreds||[],u=e.currentCred||{},p=e.flowToken,v=e.showForgotUsername,b=e.hideCredSwitchLink,_=t.str,S=t.t,y=t.i,w=t.g,T=t.H,C=t.h,x=t.AH,I=t.r,k=[],D=null,P=i.observable();function E(e){R(e),n.onSetPendingRequest(!1),n.onSwitchView(f.OneTimeCode,!1,D)}function A(e){var t,i=e.getOtcStatus();switch(R(e),i){case l.Status.FTError:t=_.CT_OTC_STR_Error_FlowExpired;break;default:t=D.proof.str.CT_OTCS_STR_Error_SendCodeServer||""}n.onSetPendingRequest(!1),n.credLinkError(t)}function R(e){e&&(e.getFlowToken?(p=e.getFlowToken(),n.onUpdateFlowToken(p)):e.FlowToken&&(p=e.FlowToken,n.onUpdateFlowToken(p)))}n.onSwitchView=o.create(),n.onRedirect=o.create(),n.onRegisterDialog=o.create(),n.onUnregisterDialog=o.create(),n.onShowDialog=o.create(),n.onSetPendingRequest=o.create(),n.onUpdateFlowToken=o.create(),n.credentialCount=0,n.selectedCredType=null,n.selectedCredShownOnlyOnPicker=!1,n.switchToCredId=null,n.switchToCredText=null,n.showSwitchToCredPickerLink=!1,n.showForgotUsername=v,n.isUserKnown=!!u.credType,n.displayHelp=!u.credType,n.hideCredSwitchLink=b,n.isOfflineAccountVisible=I,n.isPlatformAuthenticatorAvailable=i.observable(!1),n.credLinkError=i.observable(),n.fidoHelp_onClick=function(){n.onShowDialog(h.FidoHelp)},n.view_onUpdateFlowToken=function(e){p=e},n.switchToCredPicker_onClick=function(){n.onSwitchView(f.CredentialPicker)},n.switchToCred_onClick=function(){var e=D&&D.credType||m.Password;switch(n.credLinkError(""),e){case m.OneTimeCode:if(D.proof.clearDigits)n.onSwitchView(f.ProofConfirmation,!1,D);else{var t=function(){var e={username:g.cleanseUsername(a),proofData:D.proof.data,proofType:D.proof.type,purpose:D.proof.isNopa?l.Purpose.NoPassword:l.Purpose.OtcLogin,flowToken:p,isEncrypted:D.proof.isEncrypted,siteId:y,clientId:w,forwardedClientId:T,noPaBubbleVersion:C,successCallback:E,failureCallback:A};if(e.isEncrypted)switch(D.proof.type){case PROOF.Type.Email:e.proofConfirmation=D.proof.display;break;case PROOF.Type.SMS:case PROOF.Type.Voice:e.proofConfirmation=g.cleanseUsername(D.proof.display).slice(-4)}return e}(),i=new d(t);n.onSetPendingRequest(!0),i.sendRequest()}break;case m.OtherMicrosoftIdpFederation:case m.LinkedIn:case m.GitHub:case m.Google:case m.Facebook:case m.Certificate:n.onRedirect(D.redirectUrl,D.redirectPostParams||null);break;default:n.onSwitchView(k[e].viewId)}},n.forgotUsername_onClick=function(){document.location.assign(S)},n.getSwitchToCredText=function(){return i.unwrap(n.switchToCredText)},function(){if(k[m.Password]={viewId:f.Password,credId:"idA_PWD_SwitchToPassword",credText:_.CT_RNGC_STR_SwitchToPassword_Link},k[m.RemoteNGC]={viewId:f.RemoteNGC,credId:"idA_PWD_SwitchToRemoteNGC",credText:_.CT_PWD_STR_SwitchToRemoteNGC_Link},k[m.Fido]={viewId:f.Fido,credId:"idA_PWD_SwitchToFido",credText:P},k[m.Certificate]={credId:"idA_PWD_SwitchToCertificate",credText:_.CT_STR_CredentialPicker_Option_Certificate},k[m.OtherMicrosoftIdpFederation]={credId:"useMicrosoftLink",credText:_.CT_PWD_STR_UseMicrosoft_Link},k[m.LinkedIn]={credId:"useLinkedInLink",credText:_.CT_PWD_STR_UseLinkedIn_Link},k[m.GitHub]={credId:"useGitHubLink",credText:_.CT_PWD_STR_UseGitHub_Link},k[m.Google]={credId:"useGoogleLink",credText:_.CT_PWD_STR_UseGoogle_Link},k[m.Facebook]={credId:"useGoogleLink",credText:_.CT_PWD_STR_UseFacebook_Link},k[m.Federation]={viewId:f.IdpRedirect,credId:"redirectToIdpLink",credText:_.CT_RNGC_STR_SwitchToFederated_Link},k[m.RemoteLogin]={viewId:f.RemoteLoginPolling,credId:"remoteLoginLink",credText:_.CT_PWD_STR_RemoteLoginLink},k[m.OneTimeCode]={viewId:f.OneTimeCode,credId:"otcLoginLink",credText:_.CT_PWD_STR_SwitchToOTC_Link},k[m.AccessPass]={viewId:f.AccessPass,credId:"accessPassLink",credText:_.CT_PWD_STR_Login_SwitchToAccessPassLink},P(_.CT_PWD_STR_SwitchToFidoCrossPlatform_Link),i.utils.arrayForEach(r,(function(e){if(k[e.credType]){var t=e.credType===u.credType,i=e.credType===m.OneTimeCode,a=t&&i&&e.proof.data===u.proof.data,o=t&&i&&e.proof.type===u.proof.type;(!t||i&&!a||i&&!o)&&(n.credentialCount++,D=e)}e.credType===m.Fido&&c.throwUnhandledExceptionOnRejection(s.isPlatformAuthenticatorAvailable().then(null,(function(){return!1})).then((function(e){e&&(P(_.CT_PWD_STR_SwitchToFido_Link),n.isPlatformAuthenticatorAvailable(!0))}))),e.credType===m.OfflineAccount&&(n.credentialCount++,n.selectedCredShownOnlyOnPicker=!0)})),D&&1===n.credentialCount&&(n.selectedCredType=D.credType,n.selectedCredShownOnlyOnPicker=!!D.shownOnlyOnPicker,n.switchToCredId=k[n.selectedCredType||m.Password].credId,n.switchToCredText=k[n.selectedCredType||m.Password].credText,n.selectedCredType===m.OneTimeCode))switch(D.proof.type){case PROOF.Type.Email:n.switchToCredText=g.format(_.CT_OTC_STR_SwitchToOtc_EmailLink,D.proof.display);break;case PROOF.Type.SMS:n.switchToCredText=g.format(_.CT_OTC_STR_SwitchToOtc_SmsLink,D.proof.display);break;case PROOF.Type.Voice:n.switchToCredText=g.format(_.CT_OTC_STR_SwitchToOtc_VoiceLink,D.proof.display)}n.showSwitchToCredPickerLink=(!x||n.isUserKnown)&&(n.credentialCount>1||1===n.credentialCount&&(v||n.selectedCredShownOnlyOnPicker))}()}i.components.register("cred-switch-link-control",{viewModel:v,template:t(419),synchronous:!p.ServerData.A||a.Helper.isStackSizeGreaterThan(p.ServerData.A),enableExtensions:!0}),e.exports=v},function(e,n,t){var i=t(2),a=t(3).String;e.exports=function(e,n){var t=this,o=null;t.placeholderTextboxMethods=i.observable(),t.value=i.observable(n||""),t.focused=i.observable(!1).extend({notify:"always"}),t.error=e,t.textbox_onUpdateFocus=function(e){t.focused(e)},t.getTrimmedValue=function(e){var n=a.trim(t.value()||"");return e&&e>0&&(n=n.substring(0,e)),n},t.placeholderTextboxMethods.subscribe((function(e){e&&!o&&function(e){var n=t.value.peek();e.toggleVisibility(!n),o=t.value.subscribe((function(n){e.toggleVisibility(!n)}))}(e)}))}},function(e,n,t){var i=t(2),a=t(1),o=t(4),r=window;function s(e){var n=this,t="placeholder"in document.createElement("input"),r=e.serverData,s=e.hintText,c=e.hintCss||"placeholder",d=r.q;n.onUpdateFocus=o.create(),n.hintText=s,n.usePlaceholderAttribute=!1,n.placeholderVisible=i.observable(!0),n.hintCss=i.pureComputed((function(){var e={};return c&&i.utils.arrayForEach(c.split(" "),(function(n){e[n]=!0})),e})),n.placeholderText=i.pureComputed((function(){if(n.usePlaceholderAttribute)return n.hintText})),n.toggleVisibility=function(e){n.placeholderVisible(e)},n.placeholder_onClick=function(){n.onUpdateFocus(!0)},t&&a.Helper.isPlaceholderAttributeAllowed(d)&&(n.usePlaceholderAttribute=!0)}i.components.register("placeholder-textbox-field",{viewModel:s,template:t(418),synchronous:!r.ServerData.A||a.Helper.isStackSizeGreaterThan(r.ServerData.A),enableExtensions:!0}),e.exports=s},function(e,n,t){var i=t(2),a=t(1),o=window;function r(e){var n,t=this,i=e.serverData,a=e.title,o=!1!==e.useSubtitle,r=i.C;t.title=null,n=!(!r||!r.friendlyAppName),t.isSubtitleVisible=o&&n,t.title=a}i.components.register("header-control",{viewModel:r,template:t(422),synchronous:!o.ServerData.A||a.Helper.isStackSizeGreaterThan(o.ServerData.A)}),e.exports=r},function(e,n,t){e.exports=t.p+"content/images/picker_account_msa_4e3619a499fd74c0c66d5215514b566a.png"},function(e,n,t){e.exports=t.p+"content/images/picker_account_msa_2d8f86059be176833897099ee6ddedeb.svg"},function(e,n,t){var i=t(2);n.errorComputed=function(e){var n=i.observable(),t=i.observable(),a=i.pureComputed(e).extend({notify:"always"}),o=i.pureComputed((function(){if(a())return a();if(n()){var e=n();return n(null),e}return null}));return i.utils.extend(i.pureComputed((function(){if(o())return o();if(t()){var e=t();return t(null),e}return null})),{isBlocking:function(){return null!==o()},setBlockingError:function(e){n(e)},setNonBlockingError:function(e){t(e)},setError:function(e,i){i?n(e):t(e)},clearNonBlockingError:function(){t(null),t.valueHasMutated()}})}},function(e,n){var t=n.stringToArrayBuffer=function(e){for(var n=new ArrayBuffer(e.length),t=new Uint8Array(n),i=0,a=e.length;i<a;++i)t[i]=e.charCodeAt(i);return n},i=n.arrayBufferToString=function(e){return String.fromCharCode.apply(null,new Uint8Array(e))};n.base64UrlStringToArrayBuffer=function(e){var n=e.replace(/[-_]/g,(function(e){switch(e){case"-":return"+";case"_":return"/"}})),i=atob(n);return t(i)},n.arrayBufferToBase64UrlString=function(e){var n=i(e),t=btoa(n);return a(t)},n.objectToBase64UrlString=function(e){if(e){var n=JSON.stringify(e),t=btoa(n);return a(t)}return null};var a=n.base64ToBase64UrlString=function(e){return e.replace(/[+/=]/g,(function(e){switch(e){case"+":return"-";case"/":return"_";case"=":return""}}))}},function(e,n,t){e.exports=t.p+"content/images/credentialoptions/cred_option_fido_white_4631a1537323be36c76aa5c13b3c9edd.png"},function(e,n,t){e.exports=t.p+"content/images/credentialoptions/cred_option_fido_white_2f0ec557a5c4580eedc58f64a1946a00.svg"},function(e,n,t){e.exports=t.p+"content/images/credentialoptions/cred_option_fido_eeb097cefb5f08917c48faff86e945ae.png"},function(e,n,t){e.exports=t.p+"content/images/credentialoptions/cred_option_fido_498a4d7bb984e5436a52c8b52f3ab0f7.svg"},function(e,n,t){var i=t(10),a=t(0),o=t(5),r=t(7),s={DeviceAuth:{PageId:"ConvergedRemoteConnect",ActionId:"OAuth2DeviceAuth",ConfirmationViewId:a.PaginatedState.RemoteConnectCanaryValidation},FidoAuth:{PageId:"PaginatedLogin",ActionId:"FidoGet",ConfirmationViewId:a.PaginatedState.PartnerCanaryValidation}},c=l.PartnerCanaryScenario={Undefined:0,Fido:1},d=l.CanaryValidationSuccessAction={SwitchView:1,Redirect:2};function l(e){var n=e,t=n.A6,u=n.bT,p=!!n.m,g=!!n.BD,f=n.J,m=n.T,h=n.AZ;this.validateAsync=function(){return new o((function(e,n){var o=function(){if(p)return s.DeviceAuth;if(h===c.Fido)return s.FidoAuth;throw"Canary Validation: Flow IDs not known."}();o.Canary=t;var v=function(){if(g)return{action:d.Redirect,redirectUrl:f,redirectPostParams:m,isIdpRedirect:!1};return{action:d.SwitchView}}();new i({checkApiCanary:!1,withCredentials:!0}).Json({url:u,eventId:r.EventIds.Api_CanaryValidation},o,(function(){e(v)}),(function(e){n(new l.CanaryValidationError(e,o.ConfirmationViewId,v))}),a.DefaultRequestTimeout)}))}}l.CanaryValidationError=function(e,n,t){this.name="CanaryValidationError",this.message="Canary validation failed, user confirmation required.",this.stack=(new Error).stack,this.innerError=e,this.confirmationViewId=n,this.postConfirmationAction=t},e.exports=l},function(e,n,t){var i=t(12),a=t(3),o=t(1),r=t(10),s=t(5),c=t(272),d=t(273),l=window,u=o.QueryString,p=o.Cookies,g=a.Array;e.exports=function(e){var n=e,t=n.bsso||{enabled:!1},a=n.Au,o=n.Bs,f=!1!==n.checkApiCanary,m=t.cookieNames,h=null;function v(){var e=new Date;e.setSeconds(e.getSeconds()+60),p.writeWithExpiration(m.ssoPulled,"1",!a,e.toUTCString());var n=l.location.href;return n=u.appendOrReplace(n,"sso_reload","true"),t.reloadOnFailure||"select_account"!==u.extract("prompt").toLowerCase()||(n=u.appendOrReplace(n,"prompt","")),n}function b(e){h.traces.push(e)}function _(e,n){h.data[e]=n}function S(e){return h.result=e.newSessions?"UserList":"Reload",w().then((function(){return e}))}function y(e){return h.result="Error",e instanceof c.Error?"OSError"===e.code&&e.externalData&&e.externalData.error?h.error=e.externalData.error:h.error=e.code:h.error=e,w().then((function(){return s.reject(e)}))}function w(){return new s((function(e){try{l.console&&l.console.info("BSSO Telemetry: "+i.stringify(h))}catch(n){}t.telemetry.url?new r({checkApiCanary:f}).Beacon({url:t.telemetry.url},h,e,e,500):e()}))}this.loginWindowsUserAsync=function(e){return t.enabled?function(e){if(!l.navigator||"function"!=typeof l.navigator.msLaunchUri)return _("BSSO.info","not-supported"),b("window.navigator.msLaunchUri is not available for _loginWindowsUser"),s.reject("bssoNotSupported");var n="abort"===t.initiatePullTimeoutAction;return new d({logMessage:b,logDataPoint:_},t.initiatePullTimeoutMs,t.overallTimeoutMs,n).loginWindowsUserAsync(e).then((function(e){return e.reload?(b("SSO cookie detected. Refreshing page."),v()):s.reject("error")}))}(e).then(S,y):s.reject("bssoDisabled")},this.pullBrowserSsoCookieAsync=function(){var e,n=t.failureRedirectUrl||t.reloadOnFailure,r=t.type;return t.enabled?("windows"===r?e=function(){if(!l.navigator||"function"!=typeof l.navigator.msLaunchUri)return _("BSSO.info","not-supported"),b("window.navigator.msLaunchUri is not available for _pullBrowserSsoCookie"),s.reject("bssoNotSupported");var e=p.getCookie(m.ssoTiles)||t.forceTiles;if(!e&&p.getCookie(m.ssoPulled))return _("BSSO.info","throttled"),b("Cookie pull throttled"),s.reject("throttled");var n="tbauth://login.windows.net?context="+encodeURIComponent(l.location.href.split("/",3).join("/"))+(t.nonce?"&request_nonce="+encodeURIComponent(t.nonce):"")+(t.rid?"&rid="+encodeURIComponent(t.rid):""),a=n;e&&(a=u.appendOrReplace(a,"user_id","*"),p.remove(m.ssoTiles));var o="abort"===t.initiatePullTimeoutAction;return new d({logMessage:b,logDataPoint:_},t.initiatePullTimeoutMs,t.overallTimeoutMs,o).pullBrowserSsoCookieAsync(a).then((function(e){if(e.reload)return b("SSO cookie detected. Refreshing page."),{redirectUrl:v()};if(e.userList){var t=function(e,n){var t=[],a=i.parse(e).users;a&&a.length>0?(g.forEach(a,(function(e){var i={ssoUniqueId:e.unique_id,displayName:e.display_name||"",name:e.upn,isWindowsSso:!0,isSignedIn:!0,url:n};t.push(i)})),b("User list processed. List: "+i.stringify(t))):b("User list is empty.");return t}(e.userList,n);return t.length>0?{newSessions:t}:s.reject("noUsers")}}))}():"chrome"===r&&(e=new c({logMessage:b,logDataPoint:_},t.nonce,"login.microsoftonline.com",a,o).getCookiesAsync().then((function(e){if(!e||!e.length)return s.reject(new c.Error("PageException","Extension returned no cookies"));for(var n=0,t=e.length;n<t;++n){var i=e[n].data;-1!==i.indexOf(";")&&(i=i.substr(0,i.indexOf(";"))),p.write(e[n].name,i,!a)}return b("SSO cookie detected. Refreshing page."),{redirectUrl:v()}})).then(null,(function(e){return p.write(m.aadSso,e.toCookieString(),!a),b("Error: "+e.toString()),s.reject(e)}))),e.then((function(e){return n&&!e.redirectUrl?s.reject("silentPullFailed"):e})).then(S,y).then(null,(function(e){return n?t.reloadOnFailure?{redirectUrl:v()}:{redirectUrl:t.failureRedirectUrl}:s.reject(e)}))):s.reject("bssoDisabled")},this.isEnabled=function(){return!!t.enabled},t.enabled&&(h={result:null,error:null,type:t.telemetry.type||null,data:{},traces:[]},t.initiatePullTimeoutMs=t.initiatePullTimeoutMs||t.overallTimeoutMs,t.initiatePullTimeoutAction=t.initiatePullTimeoutAction||"abort",b("BrowserSSO Initialized"))}},function(e,n,t){var i=t(3),a=t(6),o=i.Array,r={mergeSessions:function(e,n,t){var i=[];return o.forEach(n,(function(n){var a=function(e,n){for(var t=0;t<n.length;t++)if(n[t].name===e.name&&n[t].idp===e.idp)return t;return-1}(n,e);-1===a?(n.isWindowsSso?e.unshift(n):e.push(n),i.push(n)):n.isWindowsSso?(e.splice(a,1),e.unshift(n),i.push(n)):t&&(e.splice(a,1),e.push(n),i.push(n))})),i},parseMeControlSessions:function(e){return o.map(e,(function(e){var n=e.firstName,t=e.lastName;return t&&(n?n+=" "+t:n=t),{id:e.sessionId,fullName:n,name:e.memberName||e.signInName,displayName:e.memberName||e.signInName,idp:a.SessionIdp.Msa,isOtherIdp:!0,isSignedIn:e.isSignedIn||1===e.authenticatedState||2===e.authenticatedState,isWindowsSso:e.isWindowsSso||!1,isMeControlSession:!0,isGitHubFed:e.isGitHubFed||!1}}))},parseBssoSessions:function(e){return o.map(e,(function(e){return{ssoUniqueId:e.ssoUniqueId,name:e.name,displayName:e.displayName,idp:a.SessionIdp.Aad,ssoLink:e.url,isWindowsSso:e.isWindowsSso,isSignedIn:e.isSignedIn}}))}};e.exports=r},function(e,n,t){var i=t(2);e.exports=function(e,n,t){var a=this,o=e,r=o.aY,s=o.Bp;a.paginationControlMethods=n||i.observable(),a.backgroundLogoUrl=t||i.observable(),a.animationEnd=i.pureComputed((function(){return a.paginationControlMethods()&&a.paginationControlMethods().view_onAnimationEnd})),a.showBackgroundLogoHolder=i.pureComputed((function(){return a.backgroundLogoUrl()&&a.showLogo()})),a.showErrorPageDebugDetails=i.pureComputed((function(){return a.paginationControlMethods()&&a.paginationControlMethods().currentViewHasMetadata("extraDebugDetails")})),a.showFooterControl=i.pureComputed((function(){return!r&&a.paginationControlMethods()&&a.paginationControlMethods().hasInitialViewShown()})),a.showLogo=i.pureComputed((function(){return!(a.paginationControlMethods()&&a.paginationControlMethods().currentViewHasMetadata("hideLogo"))})),a.showLwaDisclaimer=i.pureComputed((function(){return a.paginationControlMethods()&&!a.paginationControlMethods().currentViewHasMetadata("hideLwaDisclaimer")})),a.showPageLevelTitleControl=i.pureComputed((function(){return s&&!(a.paginationControlMethods()&&a.paginationControlMethods().currentViewHasMetadata("hidePageLevelTitleAndDesc"))})),a.useWiderWidth=i.pureComputed((function(){return a.paginationControlMethods()&&a.paginationControlMethods().currentViewHasMetadata("wide")}))}},function(e,n,t){var i=t(2),a=t(1),o=t(303),r=t(10),s=t(306).Microsoft.ApplicationInsights,c=window;function d(e){var n,t,a=this,d=e.serverData,l=d.F,u=d.bZ,p=d.K,g=d.bK,f=d.B8,m=d.bO||d.country,h=d.f,v=d.hpgid,b=d.aR,_=d.BY,S=d.bS,y=d.be,w=d.inlineMode,T=d.isCustomPerf,C=0,x=!1,I=!1;function k(e){var n={};if(e.toJSON)return e.toJSON();for(var t in e)n[t]=e[t];return n}function D(e){if(!e||!e.ver)return"";var n=e.ver.v||e.ver||g||"";return Array.isArray(n)&&n.length>0?n.join("."):n}a.clientMode=l,a.srsFailed=c.g_iSRSFailed,a.srsSuccess=c.g_sSRSSuccess,a.timeOnPage=i.observable(null),a.recordSubmit=function(){c.performance&&c.performance.timing&&a.timeOnPage((new Date).getTime()-c.performance.timing.loadEventEnd)},a.setPageLoadCompleted=function(){x=!0,setTimeout((function(){!function(){if(I||!x)return;I=!0;var e=function(){var e=c.performance,n=c.navigator,t={};if(!e)return null;e.navigation&&(t.navigation=k(e.navigation));e.timing&&(t.timing=k(e.timing),C>0&&(t.timing.customLoadEventEnd=C));e.getEntries&&(t.entries=i.utils.arrayMap(e.getEntries(),k));n.connection&&(t.connection=k(n.connection));return t}();if(u){var n={hostBuildNumber:D(h),serverExecutionTime:h?h.et:f,requestCountry:m,plt:0};e&&(n.performanceData=e),

提供企业建站服务,免费网防系统,提交信息登录 http://yundun.ddoss.cn 邮箱: proposal@ddoss.cn 
回复列表
默认   热门   正序   倒序

回复:https://logincdn.msauth.net/shared/1.0/content/js/ConvergedLogin_PCore_g4bdQBf1XsXq0bV6ofiyRg2.js

头像

用户名:

粉丝数:

签名:

资料 关注 好友 消息