he 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={22: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(){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,i,a){return function(o){e[n]=i?o:a?{status:"fulfilled",value:o}:{status:"rejected",reason:o},t()}}function t(t,i){return t&&t.length?new e((function(a,o){for(var r=[],s=0,c=0,d=t.length;c<d;++c){var l=t[c];if(l instanceof e){s++;var u=function(){0==--s&&a(r)};i?l.then(n(r,c,u,i),o):l.then(n(r,c,u,i,!0),n(r,c,u,i,!1))}else r[c]=l}0===s&&setTimeout((function(){a(r)}),0)})):e.resolve([])}function i(e,n){return function(){e(n)}}e.all=function(e){return t(e,!0)},e.allSettled=function(e){return t(e,!1)},e.race=function(n){return new e((function(t,a){if(n&&n.length)for(var o=0,r=n.length;o<r;++o){var s=n[o];s instanceof e?s.then(t,a):setTimeout(i(t,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||(window.Promise=e),window.Promise.all||(window.Promise.all=e.all),window.Promise.allSettled||(window.Promise.allSettled=e.allSettled),window.Promise.race||(window.Promise.race=e.race),window.Promise.reject||(window.Promise.reject=e.reject),window.Promise.resolve||(window.Promise.resolve=e.resolve)}(),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;var r=document.querySelector("script[nonce]");if(r){var l=r.nonce||r.getAttribute("nonce");o.setAttribute("nonce",l)}o.src=n,i=function(i){o.onerror=o.onload=null,clearTimeout(p);var r=a[e];if(0!==r)if(r)if(c<=0||t===c){var l=i&&("load"===i.type?"missing":i.type),f=i&&i.target&&i.target.src;d.message="Loading chunk "+e+" failed after "+(c+1)+" tries.\n("+l+": "+f+")",d.name="ChunkLoadError",d.type=l,d.request=f,r[1](d),a[e]=undefined}else{var g=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(g)}else a[e]=undefined};var p=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:"customizationloader",8:"estslogin_accesspass",9:"estslogin_remoteloginpoll",10:"estslogin_searchorganization",11:"estslogin_signupusername",12:"estslogin_tenantdisambiguation",13:"fedconflict",14:"fedlink",15:"fetchsessionsprogress",16:"fido",17:"idpdisambiguation",18:"idpredirect",19:"idpredirectspeedbump",20:"learnmore",21:"learnmoreofflineaccount",23:"onetimecode",24:"password",25:"phonedisambiguation",26:"pop",27:"proofconfirmation",28:"prooffedconflict",29:"remoteconnectcanaryvalidation",30:"remoteconnectlocation",31:"remotengc",32:"resetpasswordsplitter",33:"tiles",34:"verticalsplittemplate",35:"viewagreement",36:"webnativebridge"}[e]||e)+"_"+{0:"cdeed297658e712f3e4b",1:"9352a272ac5dee0207c1",2:"16a67deaa79d43e864a4",3:"16fd118d5e6f87aab15e",4:"c1257b570373e87675ef",5:"6bf7fc957e9c1c019109",6:"fd5a0be6088772e0d336",7:"73c3d61a5fd914b4ca30",8:"6410af74408efcf8b399",9:"e3be6e716e45b3f65219",10:"999719f5430fe70efd5e",11:"bfc421f1c7a596495dbb",12:"cc209bf77de07d751b35",13:"4df7b93a02fea2100735",14:"656dacc61b82cada49dd",15:"5b2612362c21fffd2d22",16:"a85d194a2cd57eb49481",17:"46781163eeacc229afe1",18:"ec2d6df9180501246a57",19:"ce808942d974c55e9c1c",20:"65042769cb3c9f4236c4",21:"d0693fbe1c98c54ae79e",23:"95ae00609ac55a65261e",24:"ef5862be6bec92ebe5e1",25:"9fb22c572799200ce238",26:"0aa565a80d5f29f7b0b8",27:"0e1e17b3da8ec0dde6d1",28:"03ef18b322ef57fd8ae4",29:"632ef45f1bd725308c1b",30:"4fb5f48d78aa0cb79a14",31:"0781370d4ebff513f511",32:"d77006292b49d530a0fc",33:"729be9312b1a4c8ceb8e",34:"4923946c9ea0d7f2d073",35:"36142dad87611daeb2af",36:"809cdc5592b02fca0fe2"}[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.PageSummaryVersion=1,n.GuidTemplate="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",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,CredentialPicker:129},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,GuestConsentConnect:69,SeeHowDataIsManaged:70,SecurityDefaultsUpsell:71,SecurityDefaultsUpsellOptOut:72,SecurityDefaultsUpsellAutoEnabled:73,WebNativeBridge:74,TransferLoginChallengePin:75,RecoveryCredentialPicker:76,OneTimeCodeRecovery:77,PhoneLinkLearnMore:78,PhoneLinkSupport:79},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,TransferTokenOTC:31},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",InvalidOneTimePasscodeOTPNotGiven:"501811",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",InvalidCredentialDueToMfaClassification:"54009",ProofupBlockedDueToMfaClassification:"54010",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",IncorrectOTP:"IncorrectOTP",OathCodeIncorrect:"OathCodeIncorrect",OathCodeDuplicate:"OathCodeDuplicate",OathCodeOld:"OathCodeOld",ProofDataNotFound:"ProofDataNotFound",OathCodeCorrectButDeviceNotAllowed:"OathCodeCorrectButDeviceNotAllowed",OathCodeFailedMaxAllowedRetryReached:"OathCodeFailedMaxAllowedRetryReached",InvalidSession:"InvalidSession",PhoneAppNoResponse:"PhoneAppNoResponse",User2WaySMSAuthFailedWrongCodeEntered:"User2WaySMSAuthFailedWrongCodeEntered",PhoneAppInvalidResult:"PhoneAppInvalidResult",PhoneAppDenied:"PhoneAppDenied",PhoneAppTokenChanged:"PhoneAppTokenChanged",SMSAuthFailedMaxAllowedCodeRetryReached:"SMSAuthFailedMaxAllowedCodeRetryReached",PhoneAppFraudReported:"PhoneAppFraudReported",FraudCodeEntered:"FraudCodeEntered",UserIsBlocked:"UserIsBlocked",PhoneAppEntropyIncorrect:"PhoneAppEntropyIncorrect",VoiceOTPAuthFailedWrongCodeEntered:"VoiceOTPAuthFailedWrongCodeEntered",VoiceOTPAuthFailedMaxAllowedCodeRetryReached:"VoiceOTPAuthFailedMaxAllowedCodeRetryReached",AccessPassBlockedByPolicyTfa:"AccessPassBlockedByPolicy",InvalidAccessPassTfa:"InvalidAccessPass",AccessPassExpiredTfa:"AccessPassExpired",AccessPassAlreadyUsedTfa:"AccessPassAlreadyUsed",AppLockRequiredButNotUsed:"AppLockRequiredButNotUsed",IncompatibleAppVersion:"IncompatibleAppVersion",FlowTokenExpiredTfa:"FlowTokenExpired",ApplicationUsedIsNotAnApprovedAppRequiredByConditionalAccess:"530021",BlockedByConditionalAccess:"53003",BlockedByConditionalAccessForRemoteDeviceFlow:"530033",BrokerAppNotInstalled:"50127",BrokerAppNotInstalledDeviceAuthenticationFailed:"501271",DeviceIsNotWorkplaceJoined:"50129",DeviceIsNotWorkplaceJoinedForMamApp:"501291",DeviceNotCompliant:"53000",DeviceNotCompliantBrowserNotSupported:"530001",DeviceNotCompliantDeviceCompliantRequired:"530002",DeviceNotCompliantDeviceManagementRequired:"530003",DeviceNotDomainJoined:"53001",DeviceNotDomainJoinedBrowserNotSupported:"530011",ProofUpBlockedDueToRisk:"53004",ProofUpBlockedDueToUserRisk:"53011",RemediateCompliantApp:"53009",RemediateDeviceStateManagedBrowserRequired:"530081",RemediateDeviceStateWorkplaceJoinRequired:"530082",AuthenticatorAppRegistrationRequiredInterrupt:"50203",UserStrongAuthEnrollmentRequiredInterrupt:"50072",UserStrongAuthClientAuthNRequiredInterrupt:"50074",RequiredDeviceStateNotSupported:"9001011",AdminConsentRequired:"90094",AdminConsentRequiredRequestAccess:"90095",CertificateValidationBlockedByPolicy:"500186",TenantDoesNotSupportNativeCredentialRecovery:"500207",UserDoesNotSupportNativeCredentialRecovery:"500208",CredentialDoesNotSupportNativeRecovery:"500209"},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",A11yConforme:"a11yConforme"},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,Certificate:7,HIP:8,Birthday:9,TOTPAuthenticator:10,RecoveryCode:11,StrongTicket:13,TOTPAuthenticatorV2:14,TwoWayVoice:15,TwoWaySMS:16,FidoKey:17,AccessPass:18,TransferToken:19,VerifiableCredentialsHackathon:20,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,MmxGe:5},n.LayoutTemplateType={Lightbox:0,VerticalSplit:1},n.StringCustomizationPageId={ConditionalAccess:0,AttributeCollection:1,MessagePage:2,ProofUpPage:3,ErrorPage:4},n.ProofUpRedirectViewType={DefaultProofUpRedirectView:0,AuthAppProofUpRedirectView:1},n.ConfirmationInputDisplayType={None:0,Retype:1,RetypeWithReveal:2},n.SecurityDefaultsUpsellAction={None:0,Upsell:1,AutoEnable:2,AutoEnableAfterPrompt:3,ReevaluateLegacy:4,AutoEnabledNotify:5},n.EventNames={PhonePairingView:"PhonePairingView",PhonePairingAction:"PhonePairingAction",PhoneToAccountPairingActivity:"PhoneToAccountPairingActivity"},n.TransferLoginPageNames={QRCodePage:"QRCodePage",ChallengePinPage:"PinCodePage"},n.ActivityStatus={None:0,Start:1,Stop:2},n.TelemetryActions={Click:"Click",Scan:"Scan"},n.TelemetryTargets={SkipButton:"SkipButton",ManualStepsLink:"ManualStepsLink",LearnMoreButton:"LearnMoreButton",QRCode:"QRCode"},n.PairingResult={Success:0,Failed:-1,Skipped:-2,SessionExpired:-3}},function(e,n,t){var i=t(24),a=t(3),o=t(5),r=t(9),s=a.Object,c=a.String,d=a.Array,l=window,u=null,p={},f={},g={},m=null,b=null,v=null,h=null,_=null,w=null,S=null,C=null,x=!!l.ServerData.bc,y=!!l.ServerData.fDetectMultiHighContrastThemes,k=null;n.HttpCode={Ok:200,NotModified:304,Timeout:408,ClientClosedRequest:499};var T=n.Helper={isIEOlderThan:function(e){if(p[e]===undefined){var n=T.getIEVersion();p[e]=n&&n<e+1}return p[e]},isEdge:function(){if(null===u){u=!1;var e=T.getWindowsVersion();if(null!==e&&e>=10){var n=T.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(f[e]===undefined){var n=T.getFirefoxVersion();f[e]=n&&n>e}return f[e]},isChromeNewerThan:function(e){if(g[e]===undefined){var n=T.getChromeVersion();g[e]=n&&n>e}return g[e]},isIOSSafari:function(){if(null===b){var e=l.navigator.userAgent.toLowerCase();b=/safari/.test(e)&&/iphone|ipod|ipad/.test(e)&&!l.MSStream}return b},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===h&&(h=navigator.userAgent.toLowerCase().indexOf("qtcarbrowser")>-1),h},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,T.getStackSize(e)>e},isSvgImgSupported:function(){return null===k&&(k=document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1")),k},isPlaceholderAttributeAllowed:function(e){return null===S&&(S=T.isChromeNewerThan(16)||T.isEdge()||T.isFirefoxNewerThan(14)||e&&T.isIOSUIWebView()||T.isIOSSafari()||T.isQtCarBrowser()),S},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===C){if(C=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||T.isEdgeClientBrowser())&&(C=!1)}catch(e){C=!1}}return C},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!T.isIEOlderThan(9)},isHighContrast:function(){if(null===w){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=T.getComputedStyle(e);w=n.borderLeftColor===n.borderRightColor,document.body.removeChild(e)}return w},getHighContrastTheme:function(){if(T.isHighContrast()){var e=document.getElementsByTagName("body")[0],n=T.getComputedStyle(e);if(n.backgroundColor){var t=n.backgroundColor.toLowerCase().replace(new RegExp(" ","g"),"");if("rgb(0,0,0)"===t||"#000000"===t||"#000"===t||y&&("rgb(32,32,32)"===t||"#202020"===t||("rgb(45,50,54)"===t||"#2d3236"===t)))return"black";if("rgb(255,255,255)"===t||"#ffffff"===t||"#fff"===t||y&&("rgb(255,250,239)"===t||"#fffaef"===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){T.isHistorySupported()&&l.history.pushState(e,n)},replaceState:function(e,n){T.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}},P=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=P.parse(window.location.href);return s.forEach(n.query,(function(n,t){e=P.addIfNotExist(e,n,t)})),e},append:function(e,n){var t=P.parse(e),i=c.doubleSplit(n,"&","=");return t.query=t.query||{},s.forEach(i,(function(e,n){t.query[e]=n||null})),P.join(t)},addIfNotExist:function(e,n,t){t=t||"";var i=P.parse(e);return null===s.findOwnProperty(i.query||{},n,!0)&&(i.query=i.query||{},i.query[n.toLowerCase()]=t),P.join(i)},add:function(e,n){var t=P.parse(e);return e&&n&&n.length&&(t.query=t.query||{},d.forEach(n,(function(e){t.query[e[0]]=e[1]}))),P.join(t)},appendOrReplace:function(e,n,t,i){var a=P.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=P.join(a);return i&&r.length>i?e:r},remove:function(e,n){var t=P.parse(e);t.query=t.query||{};var i=s.findOwnProperty(t.query,n,!0);return i&&delete t.query[i],P.join(t)},extract:function(e,n){n||""===n||(n=document.location.search);var t=P.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=P.extract(n);return t?P.appendOrReplace(e,n,t):e},stripQueryStringAndFragment:function(e){return P.parse(e).originAndPath}},D=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();D.write("CkTst",e);var n=!!D.getCookie("CkTst");return D.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=D.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=D.getDefaultSameSiteAttribute(d);document.cookie=c.format("{0}= ;domain=.{1};path={2};expires={3}{4}{5}",e,r,s,D.expireDate,l,u),document.cookie=c.format("{0}= ;domain=.{1};path={2};expires={3}{4}{5}",e,i,s,D.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(".");D.writeWithExpiration(e,n,t,i?D.getPersistDate():null,l,r,s)},writeWithExpiration:function(e,n,t,i,a,o,r){if(""===n)D.remove(e,a);else{"object"==typeof n&&(n=s.join(n,"&","="));var d,l=i?";expires="+i:"",u=a?";domain="+a:"",p=o||"/",f=t?";secure":"";d=r&&"none"!==r.toLowerCase()?";SameSite="+r:D.getDefaultSameSiteAttribute(t);var g=c.format("{0}={1}{2};path={3}{4}{5}{6}",e,n,u,p,l,f,d);document.cookie=g}},isCookieSafeValue:function(e){return D.cookieSafeRegex.test(e)},getDefaultSameSiteAttribute:function(e){return e&&x?";SameSite=None":""},getPersistDate:function(){var e=new Date;return e.setDate(e.getDate()+D.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(18),s=r}catch(d){e.exports=t(18)}else e.exports=t(18)}()},function(e,n,t){var i=t(2),a=t(12),o=t(62),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.a0){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)},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,Api_GetRecoveryCredentialType:20014,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(314),synchronous:!o.ServerData.A||a.Helper.isStackSizeGreaterThan(o.ServerData.A)}),e.exports=s},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(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.a5&&e.Al,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(451).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.logUserInteractionEvent=u("logUserInteractionEvent"),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(12),a=t(20),o=t(0),r=t(3),s=t(1),c=t(10).getInstance(window.ServerData),d=t(7),l=window,u=l.$Config||l.ServerData||{},p=r.Object,f=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||"",g=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 b(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 h(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 w(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 f(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||g)&&s&&s(e,o)}else r&&r(e,o)}if(t&&!u.apiCanary)return setTimeout((function(){f({error:{code:8002,message:"Request Failed!",isFatal:!0}})}),0),null;var m=b(a);n.Post(e,o.ContentType.Json,m,(function(e,n){d&&f(i.parse(n))}),(function(e,n,t,a){d&&f(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),h(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",w(n,t),!1,(function(){r&&r(e,n,t)}))},timeoutCallback:function(e,n,t){_(d,"Timeout",w(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),h(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",w(n,t),!1,(function(){o&&o(e,n,t)}))},timeoutCallback:function(e,n,t){_(c,"Timeout",w(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=f.add(c,r),e.url=c,navigator.sendBeacon){var d={};h(d,e,"Beacon",o,null,!1);var l=b(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(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(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,f=e.focusOnPrimaryButton||!1,g=e.focusOnSecondaryButton||!1,m=e.primaryButtonDescribedBy,b=e.secondaryButtonDescribedBy,v=e.primaryButtonCss,h=e.secondaryButtonCss,_=e.primaryButtonType||"submit",w=e.removeBottomMargin,S=e.primaryButtonPreventTabbing||{direction:"none"};n.primaryButtonId=t,n.secondaryButtonId=r,n.primaryButtonCss=v,n.secondaryButtonCss=h,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(f),n.focusOnSecondaryButton=i.observable(g),n.hasOneButtonVisible=i.pureComputed((function(){var e=0;return n.isPrimaryButtonVisible()&&e++,n.isSecondaryButtonVisible()&&e++,1===e})),n.primaryButtonDescribedBy=m,n.secondaryButtonDescribedBy=b,n.removeBottomMargin=w,n.primaryButtonPreventTabbing=S,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(321),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(3),o=t(1),r=t(0),s=t(9),c=t(66),d=t(74),l=t(219),u=window,p=o.Helper,f=a.String,g=r.LayoutTemplateType,m={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","LayoutTemplateConfig","CustomizationFiles","AccessRecoveryLink","CantAccessYourAccountText","ForgotPasswordText","FooterTOULink","FooterTOUText","FooterPrivacyLink","FooterPrivacyText","Favicon"],(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=d(f.format("./{0}.jpg",n.backgroundImageIndex)),p.isStyleSupported("backgroundSize")&&(i.smallImageUrl=d(f.format("./{0}-small.jpg",n.backgroundImageIndex)))),n.backgroundLogoIndex>=0&&(i.backgroundLogoUrl=l(f.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=p.isSvgImgSupported();i.backgroundImageUrl=c(f.format("./{0}.{1}",t,a?"svg":"jpg")),!a&&p.isStyleSupported("backgroundSize")&&(i.smallImageUrl=c(f.format("./{0}-small.jpg",t))),i.useDefaultBackground=!0}return i},getMergedBranding:function(e,n,t){var i;if(t)i=n;else if(i=e,n&&(n.BannerLogo&&(i.BannerLogo=n.BannerLogo),n.BoilerPlateText&&(i.BoilerPlateText=n.BoilerPlateText),n.KeepMeSignedInDisabled&&(i.KeepMeSignedInDisabled=n.KeepMeSignedInDisabled),n.CustomizationFiles)){var a={strings:n.CustomizationFiles.strings,customCssUrl:n.CustomizationFiles.customCssUrl};i.CustomizationFiles&&i.CustomizationFiles.customCssUrl&&(a.customCssUrl=i.CustomizationFiles.customCssUrl),n.CustomizationFiles.customCssUrl!==a.customCssUrl&&(a.customCssUrl=null),i.CustomizationFiles=a}return i},getLayoutTemplateConfig:function(e){var n=e.LayoutTemplateConfig;return n&&n!=={}?n:{showHeader:!1,headerLogo:"",layoutType:g.Lightbox,hideCantAccessYourAccount:!u.ServerData.showCantAccessAccountLink,hideForgotMyPassword:!1,hideResetItNow:!1,showFooter:!0,hideTOU:!1,hidePrivacy:!1,hideAccountResetCredentials:!1}},createMergedBrandingObservables:function(e){e.masterPageMethods=i.observable(),e.isVerticalSplitTemplate=i.observable(),e.showHeader=i.observable(!1),e.headerLogo=i.observable(),e.showFooter=i.observable(!0),e.hideTOU=i.observable(!1),e.hidePrivacy=i.observable(!1),e.termsText=i.observable(),e.termsLink=i.observable(),e.privacyText=i.observable(),e.privacyLink=i.observable()},updateMergedBrandingObservables:function(e,n){if(n){var t=m.getLayoutTemplateConfig(n);e.masterPageMethods()&&e.masterPageMethods().updateBranding(n),e.isVerticalSplitTemplate(t.layoutType===g.VerticalSplit),e.showHeader(t.showHeader),e.headerLogo(t.headerLogo),e.showFooter(t.showFooter),e.hideTOU(t.hideTOU),e.hidePrivacy(t.hidePrivacy),e.termsText(n.FooterTOUText),e.termsLink(n.FooterTOULink),e.privacyText(n.FooterPrivacyText),e.privacyLink(n.FooterPrivacyLink)}},updateFavicon:function(e,n){var t=document.querySelector("link[rel~='icon']");t&&(e&&e.Favicon?t.href=e.Favicon:n&&(t.href=n))},loadCustomizationFiles:function(e,n){if(n){if(!e||!e.CustomizationFiles)return n.isLoadComplete(!0),void n.strings.isLoadComplete(!0);var t=e.CustomizationFiles,i=t.customCssUrl,a=t.strings;if(a||i){n.initialize();var o={customStringsFiles:a,customCss:i};s.throwUnhandledExceptionOnRejection(n.load(o))}else n.isLoadComplete(!0),n.strings.isLoadComplete(!0)}},createCustomizationLoader:function(e,n,i,a){t.e(7).then(function(){var o=new(t(484))({serverData:e,pageId:a});i?(i(o),m.loadCustomizationFiles(n,i())):m.loadCustomizationFiles(n,o)}.bind(null,t))["catch"](t.oe)}};e.exports=m},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(331),synchronous:!o.ServerData.A||a.Helper.isStackSizeGreaterThan(o.ServerData.A)}),e.exports=s},function(e,n,t){var i=t(20),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},f=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},g=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,b=e.proofConfirmation,v=e.canaryFlowToken;this[u.Username]=n,this[u.FlowToken]=t,this[u.Purpose]=i,this[u.Channel]=f(a),this[g(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),b&&(this[u.ProofConfirmation]=b),v&&(this[u.CanaryFlowToken]=v)},n.Request=function(e){var n,t,a,c,d=this,l=p.None,u="",f="",g="",m=e.data,b=e.onSend,v=e.onSendFail,h=e.onFlowExpired,_=e.timeout||3e4,w=e.siteId,S=e.clientId,C=e.forwardedClientId,x=e.noPaBubbleVersion;function y(e){var n=!1,t=d.getResponseJson();g=t[s.FlowToken]||"",t[s.State]?(l=t[s.State],u=t[s.SessionLookupKey]||"",f=t[s.DisplaySignForUI]||"",n=l!==p.Success):(l=p.Error,u="",f="",n=!0),n?l===p.FTError?h(e,d):v(e,d):b(e)}function k(){g="",l=p.Error,u="",f="",v(d)}function T(){l=p.Timeout,u="",f="",g="",v(d)}d.getOtcStatus=function(){return d.isComplete()?l:p.None},d.getSessionKey=function(){return d.isComplete()?u:""},d.getDisplaySign=function(){return d.isComplete()?f:""},d.getFlowToken=function(){return d.isComplete()?g:""},n=r.extract("mkt"),t=r.extract("lc"),a=[].concat(n?[["mkt",n]]:[],t?[["lcid",t]]:[],w?[["id",w]]:[],S?[["client_id",S]]:[],C?[["fci",C]]:[],x?[["nopa",x]]:[]),c={targetUrl:r.add("GetOneTimeCode.srf",a),requestType:i.RequestType.Post,data:o.generateRequestString(m),isAsync:!0,timeout:_,successCallback:y,failureCallback:k,timeoutCallback:T},i.Handler.call(d,c)}},function(e,n,t){var i=t(24),a=t(9),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}})),f={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:f})},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(60)}).call(this,t(41))},function(e,n,t){var i=t(16),a=t(7),o=t(10).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,f=e.lcid,g=e.unauthSessionId,m=e.proofConfirmation,b=e.phoneCountry,v=e.phoneCountryCode,h=e.siteId,_=e.clientId,w=e.forwardedClientId,S=e.noPaBubbleVersion,C=e.successCallback,x=e.failureCallback,y=e.clientTracingOptions,k={};function T(e,n,t,i,a){o.traceEndRequest(e,n,t,i,a)}function P(){T(k,"Success",null,!0,(function(){C&&C(n)}))}function D(){var e={otcStatus:n.getOtcStatus()};T(k,"Failed",e,!1,(function(){x&&x(n)}))}this.sendRequest=function(){var e,C={data:(e={username:t,proofData:r,proofType:s,purpose:c,flowToken:d,canaryFlowToken:l,isEncrypted:u,uiMode:p,lcid:f,unauthSessionId:g,proofConfirmation:m,phoneCountry:b,phoneCountryCode:v},new i.Proof(e)),siteId:h,clientId:_,forwardedClientId:w,noPaBubbleVersion:S,onSend:P,onSendFail:D,onFlowExpired:D},x={};x.proofType=s,x.purpose=c,x.uiMode=p,x.lcid=f,x.phoneCountry=b,x.phoneCountryCode=v,function(e,n){var t=y||{};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)}}(k,x),(n=new i.Request(C)).sendRequest()}}},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,f=!1,g=!0,m=null,b=!1,v=!!e.contentType,h=!!e.headers,_=!!e.headerValue,w=e.data||"",S=e.targetUrl||"",C=e.requestType||"",x=!1!==e.isAsync,y=e.timeout||0,k=e.username||"",T=e.password||"",P=e.contentType||"application/x-www-form-urlencoded",D=e.withCredentials||!1,E=e.breakCache||!1,I=e.responseType||"",A=e.headers||{},R=e.successCallback,L=e.failureCallback,O=e.timeoutCallback;function B(e,i){e||n.isSuccess()?R&&R(u,t):(i||!n.isSuccess()&&!f)&&L&&L(u,p,p.statusText)}function N(){if(m=null,f=!0,n.cancel(),O){var e={status:s.Timeout,statusText:"timeout"};O(u,e,e.statusText)}}function U(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()&&!f&&V(e)}function V(e){j(),t=p.responseText,u=e,B()}function j(){m&&(clearTimeout(m),m=null)}function H(e){j(),t=p.responseText,B(e,!e)}n.sendRequest=function(e){u=e,function(){f=!1;var e="withCredentials"in new XMLHttpRequest;if(!b||e){var t=S;(p=new XMLHttpRequest).onreadystatechange=M,p.addEventListener&&(p.addEventListener("abort",U),p.addEventListener("error",F)),E&&(t=a.QueryString.appendOrReplace(t,"_",(new Date).getTime())),k.length>0?p.open(C,t,x,k,T):p.open(C,t,x),n.clearResponse(),r.forEach(A,(function(e,n){p.setRequestHeader(e,n)})),p.responseType=I,p.withCredentials=D}else c.XDomainRequest?!x||k||T||v||h||_||D?g=!1:((p=new c.XDomainRequest).onerror=function(){H(!1)},p.onload=function(){H(!0)},p.open(C,S),n.clearResponse()):g=!1}(),g&&(y>0&&(m=setTimeout((function(){N.call(n)}),y)),p.send(w))},n.getState=function(){return g?f?d.Timeout:p?p.readyState:d.Unsent:d.Unsupported},n.getStatus=function(){return f?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"]=P,l[s.Ok]=!0,l[s.NotModified]=!0,l[s.Timeout]=!1;var e=o.String.extractDomainFromUrl(S);e&&(b=o.String.extractDomainFromUrl(document.location.href)!==e)}()}},function(e,n,t){var i=t(0),a=t(6),o=t(5),r=t(14),s=t(1),c=t(3),d=t(11),l=t(7),u=s.Helper,p=s.QueryString,f=c.String,g=c.Object,m=i.CredentialType,b=i.RemoteNgcType,v=i.Error,h=i.ApiErrorCodes,_=i.EstsError,w=i.PaginatedState,S=i.IfExistsResult,C=i.ThrottleStatus,x=i.DomainType,y=i.BindProvider,k=a.AllowedIdentitiesType,T=i.SessionPullFlags;var P=E.GctResultAction={ShowError:1,SwitchView:2,Redirect:3},D=E.GctRequestHelperFlags={CheckCurrentIdpOnly:1,IsPhoneNumberFullyQualified:2,DisableDesktopSsoPreferredCred:4,DisableAutoSend:8,ForceOtcLogin:16,IsPostRequest:32,IsSignup:64};function E(e,n){var a=this,s=!1,E=null,I=null,A=null,R=null,L={},O=null,B=e,N=0!=(n&D.CheckCurrentIdpOnly),U=0!=(n&D.IsPhoneNumberFullyQualified),F=0!=(n&D.DisableDesktopSsoPreferredCred),M=0!=(n&D.DisableAutoSend),V=0!=(n&D.ForceOtcLogin),j=0!=(n&D.IsPostRequest),H=0!=(n&D.IsSignup),W=B.str,G=B.k,$=B.m,q=B.BI,z=!!B.BM,J=!!B.Bw,K=!!B.Aj,X=B.BK,Q=B.BJ,Y=!!B.Bi,Z=!!B.Bl,ee=!!B.BL,ne=B.C,te=B.Ai,ie=B.a2,ae=B.L,oe=B.bZ,re=B.AW,se=B.Aw,ce=e.urlMsaSignUp,de=B.J,le=B.v,ue=B.fUseConsumerEmailError,pe=B.n,fe=B.desktopSsoConfig,ge=B.sFedQS,me=B.staticTenantBranding,be=B.dynamicTenantBranding,ve=B.isGlobalTenant,he=(B.fCheckForWindowsSku,B.country),_e=B.arrProofData||{},we=parseInt(B.bT),Se=B.bY,Ce=!!B.aZ,xe=B.fBindCookiesUsingPoP,ye=B.bE||0,ke=B.fIgnoreViralUsers,Te=B.fAccessPassSupported,Pe=B.BE,De=B.fIsRestrictedWsi,Ee=B.bB,Ie=B.r,Ae=B.Az,Re=B.fEnableWebNativeBridge,Le=B.fUpdateLoginHint;function Oe(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=g.clone(t);i.proof.otcSent&&j&&we===PROOF.Type.Voice&&(i.proof.otcSent=!1),i.proof.type=PROOF.Type.SMS,Pe&&!o&&(i.shownOnlyOnPicker=!0),a.push(i)}if(e.voiceEnabled){var r=g.clone(t);!r.proof.otcSent||j&&we===PROOF.Type.Voice||(r.proof.otcSent=!1),r.proof.type=PROOF.Type.Voice,a.push(r)}break;case PROOF.Type.Email:a.push(g.clone(t))}}}))}if(n&&0===a.length&&Fe(e,t)===m.OneTimeCode){var r=e.Credentials&&e.Credentials.HasPassword,s={credType:m.OneTimeCode,proof:{display:e.Display,data:f.cleanseUsername(e.Display),otcSent:!0,isEncrypted:!1,isDefault:!0,isNopa:!r,type:f.isEmailAddress(e.Username)?PROOF.Type.Email:PROOF.Type.SMS}};a.push(s)}return a}function Be(e){e.proof.str={},g.extend(e.proof.str,_e[e.proof.type]||{}),g.forEach(e.proof.str,(function(n,t){t&&(e.proof.str[n]=f.format(t,e.proof.display+"\u200e",e.proof.clearDigits||""))}))}function Ne(e,n,t,i,o,r){var c={},d=fe&&i.EstsProperties&&i.EstsProperties.DesktopSsoEnabled&&!function(e){return e&&fe.lastUsernameTried&&e.toLowerCase()===fe.lastUsernameTried.toLowerCase()}(n),l=i.ErrorHR,g=We(n,i,o),h=a.getGctSharedData(i,o,r);if(h.username=n,l===v.PP_E_INVALID_PHONENUMBER||l===v.PP_E_LIBPHONENUMBERINTEROP_NUMBERPARSE_EXCEPTION)c=function(e){if(U)return Je(W.CT_PWD_STR_Error_InvalidPhoneNumber,!0);return ze(w.PhoneDisambiguation,{phoneDisambigError:e})}(l);else if(l===v.PP_E_NAME_INVALID||l===v.PP_E_INVALIDARG)c=Je(W.CT_PWD_STR_Error_InvalidUsername);else if(l===v.PP_E_FEDERATION_INLINELOGIN_DISALLOWED)c=Je(W.CT_PWD_STR_Error_FedNotAllowed,!0);else if(l===v.PP_E_LOGIN_NOPA_USER_PASSWORD_REQUIRED)c=Je(Ee?f.format(W.CT_STR_Error_PasswordRequired,p.stripQueryStringAndFragment(Ie)):f.format(W.CT_STR_Error_PasswordRequired,p.stripQueryStringAndFragment(Se)));else if(i.RequiresPhoneDisambiguation)c=ze(w.PhoneDisambiguation);else{if(i.AliasDisabledForLogin)return Je(W.CT_PWD_STR_Error_AliasDisabled,!0);if(i.IfExistsResult===S.NotExist)c=function(e,n,t,i){var a,o=qe(e,t),r=t.EstsProperties||{},s=r.DomainType&&r.DomainType!==x.Unknown&&r.DomainType!==x.Consumer;if(t.IsProofForAlias)return ze(w.ConfirmRecoverUsername);if(re&&o&&(te||ie))return te?He(e,t):ze(w.ConfirmSignup);a=Ae?W.CT_PWD_STR_SSSU_Error_EmailAccountNotFound:n?t.ThrottleStatus===C.NotThrottled&&s?W.CT_PWD_STR_Error_UsernameNotExist_Alternate_VerifiedDomain:W.CT_PWD_STR_Error_UsernameNotExist_Alternate:Fe(t,i)===m.OneTimeCode?t.ThrottleStatus===C.MsaThrottled?W.CT_PWD_STR_Error_UsernameNotExists_EmailOtpAllowed_MsaFailed:W.CT_PWD_STR_Error_UsernameNotExists_EmailOtpAllowed:ue&&r.DomainType===x.Consumer?W.CT_PWD_STR_Error_UsernameNotExist_ConsumerEmail:t.ThrottleStatus===C.NotThrottled&&s?o?W.CT_PWD_STR_Error_UsernameNotExist_VerifiedDomain_SignupAllowed:W.CT_PWD_STR_Error_UsernameNotExist_VerifiedDomain:t.ThrottleStatus===C.MsaThrottled?s&&o?W.CT_PWD_STR_Error_UsernameNotExist_VerifiedDomain_MsaFailed_SignupAllowed:s?W.CT_PWD_STR_Error_UsernameNotExist_VerifiedDomain_MsaFailed:re&&!de?W.CT_PWD_STR_Error_UsernameNotExist_Guest_SignupAllowed_MsaFailed:W.CT_PWD_STR_Error_UnknownDomain_MsaFailed:H&&!s?W.CT_PWD_STR_Error_UsernameNotExist_Guest_Signup:U?W.CT_PWD_STR_Error_InvalidPhoneNumber:W.CT_PWD_STR_Error_UsernameNotExist;return Je(f.format(a,u.htmlEscape(f.extractDomain(e)),u.htmlEscape(e)),!0)}(n,t,i,o);else if(i.IfExistsResult===S.ExistsBothIDPs)c=ze(w.IdpDisambiguation,{desktopSsoEnabled:d,idpRedirectUrl:g.idpRedirectUrl,idpRedirectPostParams:g.idpRedirectPostParams,idpRedirectProvider:g.idpRedirectProvider});else if(i.IfExistsResult===S.ExistsInOtherMicrosoftIDP)c=je(e,n);else if(!s||i.IfExistsResult!==S.Error&&i.IfExistsResult!==S.Throttled&&0==(i.ThrottleStatus&C.MsaThrottled))if(i.ShowRemoteConnect)c=ze(w.RemoteLoginPolling);else{c=function(e,n,t,i,a,o){var r=Fe(i,o);if(De&&!(i.Credentials.HasPassword||i.Credentials.HasGoogleFed||i.Credentials.HasCertAuth||i.Credentials.HasFido||i.Credentials.HasRemoteNGC||i.Credentials.HasPhone||i.Credentials.HasFacebookFed)&&(O=!0,r!==m.AccessPass))return ze(w.MoreInfo);if(!F&&n)return ze(w.FetchSessionsProgress,{unsafe_desktopSsoDomainToUse:f.extractDomain(e),sessionPullType:T.Dsso});if(i.NativeBridgeRequest&&(!R||!R.isBridgeUnavailable()))return ze(w.WebNativeBridge,{request:i.NativeBridgeRequest});var s={idpRedirectUrl:t.idpRedirectUrl,idpRedirectPostParams:t.idpRedirectPostParams,idpRedirectProvider:t.idpRedirectProvider};switch(r){case m.OneTimeCode:var c=w.OneTimeCode;return M&&(c=a?w.ProofConfirmation:w.ConfirmSend),ze(c);case m.PublicIdentifierCode:return M||i.Credentials.SasParams&&i.Credentials.SasParams.Success?ze(M?w.ConfirmSend:w.OneTimeCode):Je(W.CT_PWD_STR_Error_GetCredentialTypeError,!1,!0);case m.Fido:return ze(w.Fido);case m.RemoteNGC:var d=i.Credentials.RemoteNgcParams.DefaultType===b.PushNotification;return ze(M&&d?w.ConfirmSend:w.RemoteNGC,s);case m.Federation:case m.CloudFederation:return ze(w.IdpRedirect,s);case m.LinkedIn:case m.GitHub:case m.Google:case m.Facebook:return ze(Me(i,o).length>1||Ve(i,o).length>0?w.IdpRedirectSpeedbump:w.IdpRedirect,s);case m.AccessPass:return ze(w.AccessPass,s);case m.NoPreferredCredential:return ze(w.CredentialPicker,s);case m.OtherMicrosoftIdpFederation:return He(e,i,ce);case m.Certificate:return Ke(i.Credentials.CertAuthParams.CertAuthUrl,Ge(i.FlowToken));case m.Password:default:return ze(w.Password)}}(n,d,g,i,h.otcCredential&&h.otcCredential.proof.clearDigits,o)}else c=ze(w.IdpDisambiguation,{hasIdpDisambigError:!0,desktopSsoEnabled:d,idpRedirectUrl:g.idpRedirectUrl,idpRedirectPostParams:g.idpRedirectPostParams,idpRedirectProvider:g.idpRedirectProvider})}return c.flowToken=i.FlowToken||null,c.bypassCache||(L[n]=i,L[n].FlowToken=null),c.sharedData=h,c}function Ue(e){var n={};if(e&&e.error)switch(e.error.code){case h.AuthFailure:n=Je(W.CT_PWD_STR_Error_FlowTokenExpired);break;case _.PublicIdentifierSasBeginCallNonRetriableError:case _.PublicIdentifierSasBeginCallRetriableError:n=Je(W.CT_PWD_STR_Error_GetCredentialTypeError,!1,!0);break;default:n=Je(W.CT_PWD_STR_Error_GetCredentialTypeError)}else n=Je(W.CT_PWD_STR_Error_GetCredentialTypeError);return n.flowToken=e.FlowToken||null,n}function Fe(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 Me(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!==x.Federated?{credType:m.Password}:[],t.FederationRedirectUrl&&l.DomainType===x.Federated?{credType:m.Federation}:[],t.FederationRedirectUrl&&l.DomainType===x.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:Ge(e.FlowToken)}:[]);if(_e[PROOF.Type.Email]&&_e[PROOF.Type.SMS]&&_e[PROOF.Type.Voice]){var p=Oe(e,!0,n);p.length>0&&(c.Array.forEach(p,Be),u=u.concat(p))}return u}function Ve(e,n){var t=[];if(_e[PROOF.Type.Email]&&_e[PROOF.Type.SMS]&&_e[PROOF.Type.Voice]){var i=Oe(e,!1,n);i.length>0&&(c.Array.forEach(i,Be),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 je(e,n){var t=encodeURIComponent(n).replace(new RegExp("'","g"),"%27");e=p.appendOrReplace(e,"username",t),e=p.appendOrReplace(e,"login_hint",t);var i=pe?g.clone(pe):null;return i&&(i.unsafe_username=n),Ke(e,i,!0,l.EventIds.Redirect_OtherIdpRedirection)}function He(e,n,t){t=t||de,t=p.remove(t,"username"),Le&&(t=p.remove(t,"login_hint"));var i=le?g.clone(le):null;return n&&(n.IfExistsResult===S.NotExist||n.IsUnmanaged&&n.IfExistsResult===S.Exists)&&qe(e,n)&&(i?i.unsafe_username=e:(t=p.appendOrReplace(t,"username",encodeURIComponent(e)),Le&&(t=p.appendOrReplace(t,"login_hint",encodeURIComponent(e))))),Ke(t,i,!1,l.EventIds.Redirect_MSASignUpPage)}function We(e,n,t){var i={},a=Fe(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(ge){var t=p.appendOrReplace("?"+ge,"wctx","LoginOptions%3D3%26"+p.extract("wctx","?"+ge));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=y.LinkedIn;break;case m.GitHub:i.idpRedirectUrl=n.Credentials.GitHubParams.GithubRedirectUrl,i.idpRedirectProvider=y.GitHub;break;case m.Google:i.idpRedirectUrl=n.Credentials.GoogleParams.GoogleRedirectUrl,i.idpRedirectProvider=y.Google;break;case m.Facebook:i.idpRedirectUrl=n.Credentials.FacebookParams.FacebookRedirectUrl,i.idpRedirectProvider=y.Facebook}return i}function Ge(e){return{ctx:ne,flowToken:e}}function $e(e){return f.cleanseUsername(e,!0)}function qe(e,n){var t=se&&f.isSkypeName(e),i=n.EstsProperties||{};return i.DomainType&&i.DomainType!==x.Unknown&&i.DomainType!==x.Consumer?!1===n.IsSignupDisallowed:!n.IsSignupDisallowed&&!t}function ze(e,n){return{action:P.SwitchView,viewId:e,viewParams:n}}function Je(e,n,t){return{action:P.ShowError,error:e,isBlockingError:n,bypassCache:t}}function Ke(e,n,t,i){return{action:P.Redirect,redirectUrl:e,redirectPostParams:n,isIdpRedirect:t,eventId:i}}a.sendAsync=function(e,n,t){var a=$e(n),r=L[a]?L[a]:null,c=!!r,u=r?o.resolve(r):function(e,n){var t=[I].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:ae}).Json({url:oe,eventId:l.EventIds.Api_GetCredentialType},function(e,n,t,i){var a={unsafe_username:e,uaid:G,isOtherIdpSupported:s,isFederationDisabled:q,checkPhones:f.isPhoneNumber(e),isRemoteNGCSupported:z,isCookieBannerShown:J,isFidoSupported:t,originalRequest:ne,country:he,forceotclogin:V,otclogindisallowed:X,isExternalFederationDisallowed:Y,isRemoteConnectSupported:Ce,federationFlags:ye,isSignup:H,flowToken:n};ie&&(a.checkProofForAliases=!0);Q&&(a.noPaOtcDisallowed=!0);Z&&(a.isPassthroughDisallowed=!0);ee&&(a.isPhoneNumberSignupDisallowed=!0);ke&&(a.ignoreViralUsers=!0);xe&&(i=i||{cpa:"",err:"Authenticator not generated."},a.cpa=i.cpa,a.cpa_err=i.err);Te&&(a.isAccessPassSupported=!0);return a}(e,n,a,r),t,o,i.DefaultRequestTimeout)}))}))}(a,t);return o.all([E,u,I]).then((function(n){var t=n[0],i=n[1],o=n[2];return Ne(e,a,t,i,o,c)}),Ue)},a.getResult=function(e,n,t,i){return Ne(e,$e(n),!1,t,i,!1)},a.getState=function(){return{cache:L}},a.restoreState=function(e){e&&(L=e.cache||{})},a.cacheResponse=function(e,n){L[$e(e)]=n},a.getSignupRedirectGctResult=function(e){var n=$e(e);return He(n,L[n]?L[n]:null)},a.getOtherIdpRedirectGctResult=function(e,n){return je(e,$e(n))},a.getGctSharedData=function(e,n,t){var i={},a=Fe(e,n),o=e.Credentials||{},s=o.RemoteNgcParams,d=o.FidoParams,l=e.EstsProperties||{},u=s?s.DefaultType:null,p=!!s&&s.ShowAnimatedGifWhilePolling,f=!!s&&s.StyleCredSwitchLinkAsButton,g=r.loadTenantBranding(l.UserTenantBranding||be),b=r.loadTenantBranding(me),v=We(e.Username,e,n);return i.preferredCredential=a,i.location=e.Location,i.fedRedirectParams=v,i.isTapRestrictedWsi=O,i.supportsNativeCredentialRecovery=e.SupportsNativeCredentialRecovery,i.isSignup=e.IfExistsResult===S.NotExist&&Ae,e.Display&&(i.displayName=e.Display),i.availableCreds=Me(e,n),i.evictedCreds=Ve(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:!M&&!t&&a===m.RemoteNGC&&s&&s.hasOwnProperty("Entropy"),sessionIdentifier:s?s.SessionIdentifier:null,entropy:s?s.Entropy:null,defaultType:u,showAnimatedGifWhilePolling:p,styleCredSwitchLinkAsButton:f},i.otcParams={requestSent:(a===m.OneTimeCode||a===m.PublicIdentifierCode)&&e.IfExistsResult!==S.ExistsBothIDPs},d&&d.AllowList&&(i.fidoParams={allowList:d.AllowList}),i.callMetadata=l&&l.CallMetadata?l.CallMetadata:{},i.userTenantBranding=r.getMergedBranding(b,g,ve),i},s=!N&&$===k.Both,E=o.resolve(!1),I=u.isFidoSupportedAsync(K),xe&&t.e(26).then(function(){var e=t(485);A=e.computePoPAuthenticator("POST",oe).then((function(e){return{cpa:e,err:null}}),(function(e){return{cpa:"",err:e.message}}))}.bind(null,t))["catch"](t.oe),Re&&t.e(36).then(function(){R=t(448)}.bind(null,t))["catch"](t.oe)}e.exports=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(1),o=t(4),r=t(0),s=window,c=r.AgreementType,d=a.Helper,l=r.PaginatedState;function u(e){var n=this,t=e.serverData,a=e.showLogo,r=e.showLinks,u=e.hideFooter,p=e.debugDetails,f=e.showDebugDetails,g=e.hasDarkBackground,m=e.useDefaultBackground,b=e.showFooter,v=e.hideTOU,h=e.hidePrivacy,_=e.termsText,w=e.privacyText,S=e.termsLink,C=e.privacyLink,x=t.str,y=t.T,k=t.fIsChinaDc,T=t.aN||t.aO,P=t.an||t.At,D=t.ap,E=t.a11yConformeLink,I=t.urlGallatinIcp;function A(e,t){y&&!k?n.onAgreementClick(e):s.open(t,"_blank")}n.onAgreementClick=o.create(),n.onShowDebugDetails=o.create(),n.onSwitchView=o.create(),n.showDebugDetails=i.observable(!!f),n.focusMoreInfo=i.observable(!1).extend({notify:"always"}),n.showFooter=b===undefined||b,n.hideTOU=v||!1,n.hidePrivacy=h||!1,n.termsText=d.htmlUnescape(_)||x.MOBILE_STR_Footer_Terms,n.privacyText=d.htmlUnescape(w)||x.MOBILE_STR_Footer_Privacy,n.termsLink=S||T,n.privacyLink=C||P,n.showLogo=a&&!k,n.showLinks=r,n.hideFooter=u,n.showIcpLicense=k,n.debugDetails=p,n.impressumLink=D,n.a11yConformeLink=E,n.icpLink=I,n.hasDarkBackground=g,n.useDefaultBackground=m,n.privacyLink_onClick=function(){A(c.Privacy,n.privacyLink)},n.termsLink_onClick=function(){A(c.Tou,n.termsLink)},n.impressumLink_onClick=function(){A(c.Impressum,n.impressumLink)},n.services_onClick=function(){n.onSwitchView(l.SeeHowDataIsManaged)},n.a11yConformeLink_onClick=function(){A(c.A11yConforme,n.a11yConformeLink)},n.moreInfo_onClick=function(){n.setDebugDetailsState(!n.showDebugDetails()),n.onShowDebugDetails(),n.showDebugDetails()||n.focusMoreInfo(!0)},n.setDebugDetailsState=function(e){n.showDebugDetails(e)},n.focusMoreInfoLink=function(){n.focusMoreInfo(!0)}}i.components.register("footer-control",{viewModel:u,template:t(421),synchronous:!s.ServerData.A||a.Helper.isStackSizeGreaterThan(s.ServerData.A),enableExtensions:!0}),e.exports=u},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(323);var i=t(324);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.a8)try{r=r||function(e){var n=e||{},t=e.browser||{},r=n.aw||{},s=n.K||{},c=n.correlationId?n.correlationId:"";return r.correlationID=c,r.hostPageID=n.hpgid,r.pageName=n.pgid||n.br,r.actorID=n.hpgact||n.aD,r.appId=n.appId,r.environment=n.aW,r.serverDetails={datacenter:a(s,"dc"),role:a(s,"r"),roleInstance:a(s,"ri"),version:o(s)},t.IE&&r.appInsightsConfig&&(r.appInsightsConfig.PostChannel?r.appInsightsConfig.PostChannel.disableXhrSync=!0:r.appInsightsConfig.PostChannel={disableXhrSync:!0}),new i.TelemetryHelper(r)}(e)}catch(n){}return r}},function(e,n,t){var i=t(2),a=t(1),o=t(3),r=t(4),s=t(11),c=t(411),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.ai,f=o.urlSetDebugMode,g=o.i,m=o.sSigninName,b=o.str,v=o.sErrorCode;function h(){n.sending(!1),n.isDebugTracingEnabled(!n.isDebugTracingEnabled()),n.onSetDebugTracing()}function _(){n.sending(!1),n.debugModeError(b.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:f},i,h,_)}},n.activateFocus=function(){this.isFocusActivated(!0)},t=g||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(412),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(440),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(17),c=t(9),d=t(19),l=t(16),u=t(3),p=window,f=u.String,g=r.PaginatedState,m=r.CredentialType,b=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,h=e.hideCredSwitchLink,_=t.str,w=t.w,S=t.h,C=t.G,x=t.g,y=t.H,k=t.AK,T=t.U,P=[],D=null,E=i.observable();function I(e){R(e),n.onSetPendingRequest(!1),n.onSwitchView(g.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=h,n.isOfflineAccountVisible=T,n.isPlatformAuthenticatorAvailable=i.observable(!1),n.credLinkError=i.observable(),n.fidoHelp_onClick=function(){n.onShowDialog(b.FidoHelp)},n.view_onUpdateFlowToken=function(e){p=e},n.switchToCredPicker_onClick=function(){n.onSwitchView(g.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(g.ProofConfirmation,!1,D);else{var t=function(){var e={username:f.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:S,clientId:C,forwardedClientId:x,noPaBubbleVersion:y,successCallback:I,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=f.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(P[e].viewId)}},n.forgotUsername_onClick=function(){document.location.assign(w)},n.getSwitchToCredText=function(){return i.unwrap(n.switchToCredText)},function(){if(P[m.Password]={viewId:g.Password,credId:"idA_PWD_SwitchToPassword",credText:_.CT_RNGC_STR_SwitchToPassword_Link},P[m.RemoteNGC]={viewId:g.RemoteNGC,credId:"idA_PWD_SwitchToRemoteNGC",credText:_.CT_PWD_STR_SwitchToRemoteNGC_Link},P[m.Fido]={viewId:g.Fido,credId:"idA_PWD_SwitchToFido",credText:E},P[m.Certificate]={credId:"idA_PWD_SwitchToCertificate",credText:_.CT_STR_CredentialPicker_Option_Certificate},P[m.OtherMicrosoftIdpFederation]={credId:"useMicrosoftLink",credText:_.CT_PWD_STR_UseMicrosoft_Link},P[m.LinkedIn]={credId:"useLinkedInLink",credText:_.CT_PWD_STR_UseLinkedIn_Link},P[m.GitHub]={credId:"useGitHubLink",credText:_.CT_PWD_STR_UseGitHub_Link},P[m.Google]={credId:"useGoogleLink",credText:_.CT_PWD_STR_UseGoogle_Link},P[m.Facebook]={credId:"useGoogleLink",credText:_.CT_PWD_STR_UseFacebook_Link},P[m.Federation]={viewId:g.IdpRedirect,credId:"redirectToIdpLink",credText:_.CT_RNGC_STR_SwitchToFederated_Link},P[m.RemoteLogin]={viewId:g.RemoteLoginPolling,credId:"remoteLoginLink",credText:_.CT_PWD_STR_RemoteLoginLink},P[m.OneTimeCode]={viewId:g.OneTimeCode,credId:"otcLoginLink",credText:_.CT_PWD_STR_SwitchToOTC_Link},P[m.AccessPass]={viewId:g.AccessPass,credId:"accessPassLink",credText:_.CT_PWD_STR_Login_SwitchToAccessPassLink},E(_.CT_PWD_STR_SwitchToFidoCrossPlatform_Link),i.utils.arrayForEach(r,(function(e){if(P[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&&(E(_.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=P[n.selectedCredType||m.Password].credId,n.switchToCredText=P[n.selectedCredType||m.Password].credText,n.selectedCredType===m.OneTimeCode))switch(D.proof.type){case PROOF.Type.Email:n.switchToCredText=f.format(_.CT_OTC_STR_SwitchToOtc_EmailLink,D.proof.display);break;case PROOF.Type.SMS:n.switchToCredText=f.format(_.CT_OTC_STR_SwitchToOtc_SmsLink,D.proof.display);break;case PROOF.Type.Voice:n.switchToCredText=f.format(_.CT_OTC_STR_SwitchToOtc_VoiceLink,D.proof.display)}n.showSwitchToCredPickerLink=(!k||n.isUserKnown)&&(n.credentialCount>1||1===n.credentialCount&&(v||n.selectedCredShownOnlyOnPicker))}()}i.components.register("cred-switch-link-control",{viewModel:v,template:t(439),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(1),o=t(3),r=window,s=o.String;function c(e){var n=this,t=e.serverData,i=e.title,a=e.subtitle,o=!1!==e.useSubtitle,r=e.isSignUpView,c=t.b,d=t.str,l=t.Az,u=t.W;n.title=null,n.subtitle=null,n.headerDescription=null,function(){var e=!(!c||!c.friendlyAppName);if(n.isSubtitleVisible=o&&(e||a),n.title=i,n.subtitle=a,l&&u){var t=r?d.STR_SSSU_SignUp_HeaderDescription:d.STR_SSSU_SignIn_HeaderDescription;n.headerDescription=s.format(t,u)}}()}i.components.register("header-control",{viewModel:c,template:t(442),synchronous:!r.ServerData.A||a.Helper.isStackSizeGreaterThan(r.ServerData.A)}),e.exports=c},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.T;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(438),synchronous:!r.ServerData.A||a.Helper.isStackSizeGreaterThan(r.ServerData.A),enableExtensions:!0}),e.exports=s},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){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(i){"object"==typeof window&&(t=window)}e.exports=t},function(e,n,t){var i=t(11),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.af,u=n.by,p=!!n.R,f=!!n.Bm,g=n.J,m=n.v,b=n.aA;this.validateAsync=function(){return new o((function(e,n){var o=function(){if(p)return s.DeviceAuth;if(b===c.Fido)return s.FidoAuth;throw"Canary Validation: Flow IDs not known."}();o.Canary=t;var v=function(){if(f)return{action:d.Redirect,redirectUrl:g,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(11),s=t(5),c=t(291),d=t(292),l=window,u=o.QueryString,p=o.Cookies,f=a.Array;e.exports=function(e){var n=e,t=n.bsso||{enabled:!1},a=n.AY,o=n.B2,g=!1!==n.checkApiCanary,m=t.cookieNames,b=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 h(e){b.traces.push(e)}function _(e,n){b.data[e]=n}function w(e){return b.result=e.newSessions?"UserList":"Reload",C().then((function(){return e}))}function S(e){return b.result="Error",e instanceof c.Error?"OSError"===e.code&&e.externalData&&e.externalData.error?b.error=e.externalData.error:b.error=e.code:b.error=e,C().then((function(){return s.reject(e)}))}function C(){return new s((function(e){try{l.console&&l.console.info("BSSO Telemetry: "+i.stringify(b))}catch(n){}t.telemetry.url?new r({checkApiCanary:g}).Beacon({url:t.telemetry.url},b,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"),h("window.navigator.msLaunchUri is not available for _loginWindowsUser"),s.reject("bssoNotSupported");var n="abort"===t.initiatePullTimeoutAction;return new d({logMessage:h,logDataPoint:_},t.initiatePullTimeoutMs,t.overallTimeoutMs,n).loginWindowsUserAsync(e).then((function(e){return e.reload?(h("SSO cookie detected. Refreshing page."),v()):s.reject("error")}))}(e).then(w,S):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"),h("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"),h("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:h,logDataPoint:_},t.initiatePullTimeoutMs,t.overallTimeoutMs,o).pullBrowserSsoCookieAsync(a).then((function(e){if(e.reload)return h("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?(f.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)})),h("User list processed. List: "+i.stringify(t))):h("User list is empty.");return t}(e.userList,n);return t.length>0?{newSessions:t}:s.reject("noUsers")}}))}():"chrome"===r&&(e=new c({logMessage:h,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 h("SSO cookie detected. Refreshing page."),{redirectUrl:v()}})).then(null,(function(e){return p.write(m.aadSso,e.toCookieString(),!a),h("Error: "+e.toString()),s.reject(e)}))),e.then((function(e){return n&&!e.redirectUrl?s.reject("silentPullFailed"):e})).then(w,S).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&&(b={result:null,error:null,type:t.telemetry.type||null,data:{},traces:[]},t.initiatePullTimeoutMs=t.initiatePullTimeoutMs||t.overallTimeoutMs,t.initiatePullTimeoutAction=t.initiatePullTimeoutAction||"abort",h("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.BC,s=o.By,c=null;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")})),a.onLoad=function(){a.paginationControlMethods().restoreState(c),c=null},a.onUnload=function(e){c=e}}},function(e,n,t){var i=t(2),a=t(1),o=t(322),r=window;function s(e){var n=this,t=e.serverData.isCustomPerf,a=0,s=!1,c=!1;function d(e){var n={};if(e.toJSON)return e.toJSON();for(var t in e)n[t]=e[t];return n}n.timeOnPage=i.observable(null),n.recordSubmit=function(){r.performance&&r.performance.timing&&n.timeOnPage((new Date).getTime()-r.performance.timing.loadEventEnd)},n.setPageLoadCompleted=function(){s=!0,setTimeout((function(){!function(){if(c||!s)return;c=!0;var e=function(){var e=r.performance,n=r.navigator,t={};if(!e)return null;e.navigation&&(t.navigation=d(e.navigation));e.timing&&(t.timing=d(e.timing),a>0&&(t.timing.customLoadEventEnd=a));e.getEntries&&(t.entries=i.utils.arrayMap(e.getEntries(),d));n.connection&&(t.connection=d(n.connection));return t}();try{o.SendTelemetryPerfData(e,"LPerf")}catch(n){}}()}),0)},n.setCustomPageLoadCompletedTime=function(e){a=e||(new Date).getTime()},t||setTimeout((function(){n.setPageLoadCompleted()}),100)}i.components.register("instrumentation-control",{viewModel:s,template:t(325),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;i.components.register("logo-control",{template:t(326),synchronous:!o.ServerData.A||a.Helper.isStackSizeGreaterThan(o.ServerData.A)})},function(e,n,t){var i=t(2),a=t(3),o=t(1),r=t(4),s=null,c=null,d=t(334),l=window,u=null;function p(e,n){var c=this,l=!1,p=e.serverData,f=e.showButtons||!1,g=e.showFooterLinks,m=!1!==e.showFooterLogo,b=e.useWizardBehavior,v=e.hideFromAria||i.observable(!1),h=p.bg;p.s;function _(e,n){var t=["Microsoft","OneDrive","Skype","Bing","Xbox","Word","Outlook","Office","Excel","PowerPoint","Cortana","SkypeDialer","Health","MileIQ","Beam","MSN","Minecraft"];return(e<0||e>=t.length)&&(e=0),a.String.format("./AppCentipede_{0}{1}.{2}",t[e],n?"_white":"",l?"svg":"png")}c.useLayoutTemplates=!0,c.templateNodes={},c.showButtons=f,c.footer={showLinks:g,showLogo:m},c.centipede={getLightUrl:function(){return d(_(h,!0))},getDarkUrl:function(){return d(_(h,!1))}},c.hideFromAria=v,c.isInternalModeEnabled="1"===o.QueryString.extract("psi"),c.viewModel=null,c.viewAgreement=i.observable(!1),c.agreementType=i.observable(),c.isLightboxTemplate=i.observable(!0),c.isVerticalSplitTemplate=i.observable(!1),c.isTemplateLoaded=i.observable(!1),c.onFooterAgreementClick=r.create(),c.footer_agreementClick=function(e){c.onFooterAgreementClick(e)},c.agreement_backButtonClick=function(){c.viewAgreement(!1)},c.showAgreement=function(e){c.agreementType(e),c.viewAgreement(!0)},c.updateBranding=function(e){var n;n=e,s.getLayoutTemplateConfig(n).layoutType===u.VerticalSplit?(c.isLightboxTemplate(!1),c.isVerticalSplitTemplate(!0),t.e(34).then(function(){t(486),c.isTemplateLoaded(!0)}.bind(null,t))["catch"](t.oe)):(c.isVerticalSplitTemplate(!1),c.isLightboxTemplate(!0))},function(){if(l=o.Helper.isSvgImgSupported(),n&&i.utils.arrayForEach(n,(function(e){e.id&&(c.templateNodes[e.id]=e.childNodes)})),b){0}}()}s=t(14),c=t(0),u=c.LayoutTemplateType,i.components.register("master-page",{viewModel:{createViewModel:function(e,n){return new p(e,n.templateNodes)}},template:t(403),synchronous:!l.ServerData.A||o.Helper.isStackSizeGreaterThan(l.ServerData.A),enableExtensions:!0}),e.exports=p},function(e,n,t){var i=t(2),a=t(1),o=window;function r(){var e=this;e.isAppBranding=i.observable(!1),e.backgroundStyle=i.observable(),e.smallImageUrl=i.observable(),e.backgroundImageUrl=i.observable(),e.useImageMask=i.observable(!1),e.useTransparentLightBox=i.observable(!1),e.updateBranding=function(n){e.isAppBranding(!!n.backgroundLogoUrl),e.backgroundStyle(n.color),e.smallImageUrl(n.smallImageUrl),e.backgroundImageUrl(n.backgroundImageUrl),e.useImageMask(!!n.useImageMask),e.useTransparentLightBox(!!n.useTransparentLightBox)}}i.components.register("background-image-control",{viewModel:r,template:t(406),synchronous:!o.ServerData.A||a.Helper.isStackSizeGreaterThan(o.ServerData.A),enableExtensions:!0}),e.exports=r},function(e,n,t){var i=t(2),a=t(1),o=window;i.components.register("environment-banner-control",{template:t(407),synchronous:!o.ServerData.A||a.Helper.isStackSizeGreaterThan(o.ServerData.A)})},function(e,n,t){var i=t(2),a=t(1),o=window;function r(e){var n=e.isVerticalSplitTemplate;this.isVerticalSplitTemplate=n||!1}i.components.register("content-control",{viewModel:r,template:t(408),synchronous:!o.ServerData.A||a.Helper.isStackSizeGreaterThan(o.ServerData.A),enableExtensions:!0}),e.exports=r},function(e,n,t){var i=t(2),a=t(0),o=t(1),r=t(422),s=t(4),c=t(9),d=t(25),l=t(10).getInstance(window.ServerData),u=t(7),p=window,f=document,g=f.head,m=a.PaginatedState.Previous,b=a.AnimationState,v=a.AnimationName,h=a.AnimationTimeout,_=o.Helper;function w(e,n,t,a){var o=this,w=p.ServerData,S=e.initialViewId||null,C=e.currentViewId||null,x=e.initialSharedData||{},y=e.initialError,k=e.enableCssAnimation,T=e.disableAnimationIfAnimationEndUnsupported,P=d.getInstance(w),D=w.Bt,E=t,I=a,A=null,R=b.End,L=!1,O=null,B=null,N=!1,U=null,F=i.observable();function M(){var e=o.currentViewIndex();return E[e]?E[e]():null}function V(e){F(null),o.view_onSetIdentityBackButtonState(),o.isInitialState=A.getState().isInitialState,o.onShowView(I[e].metadata,e),F(e),o.hasInitialViewShown(!0);var n=document.querySelectorAll("[data-viewid]");if(P&&n&&n.length>0)try{P.applyClientEventBindings(n[0])}catch(t){}}function j(e,n){var t=F(),i=o.onLoadView(e);if(P&&t)try{P.set("viewId",t,!0),P.post(!0)}catch(a){}i?c.throwUnhandledExceptionOnRejection(i.then((function(){H(t,e,n)}))):H(t,e,n)}function H(e,n,t){N&&(e!==n||t)&&(!y||e)?(T&&null===O&&(U=setTimeout((function(){N=!1,o.hidePaginatedView(!1),o.hidePaginatedView.hideSubView(!1),o.onSetLightBoxFadeIn(!1),R=b.End,j(n)}),h)),O=e,B=n,R=b.Begin,o.view_onAnimationEnd()):(o.animate(v.None),o.view_onAnimationEnd(),V(n),o.unsafe_displayName(o.showIdentityBanner()?_.htmlUnescape(o.sharedData.displayName||p.ServerData.i):""))}function W(e){var n=M();if(n){e&&n.saveSharedData(o.sharedData);var t=n.getState(),i=A.getState();i.viewState=t,A.replaceState(i)}}function G(){L=!0,W(!1)}function $(){L=!1}function q(e){o.initialError=null,j(e.viewId,e.forceTransitionAnimation)}o.views=n,o.viewInterfaces=t,o.sharedData=x,o.initialError=y,o.isInitialState=!1,o.showLogo=e.showLogo||!1,o.bannerLogoUrl=e.bannerLogoUrl||"",o.isBackButtonVisible=i.observable(!1),o.isBackButtonFocused=i.observablDj