(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{1585:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return p}));var s=n(1),a=n.n(s),i=n(0),o=n.n(i),c=n(10),r=n(2),l=n(11),u=n(13),d=n(33),h=n(59);class p extends o.a.PureComponent{constructor(...e){super(...e),a()(this,"onGoToSettingsClick",(()=>{this.props.onFinished(),c.a.fire(u.a.ViewUserSettings)})),a()(this,"onSetupClick",(()=>{this.props.onFinished(),l.b.createDialogAsync(n.e(7).then(n.bind(null,1436)),void 0,void 0,!1,!0)}))}render(){const e=o.a.createElement("span",{className:"mx_KeyBackupFailedDialog_title"},Object(r.b)("Recovery Method Removed"));return o.a.createElement(d.a,{className:"mx_KeyBackupFailedDialog",onFinished:this.props.onFinished,title:e},o.a.createElement("div",null,o.a.createElement("p",null,Object(r.b)("This session has detected that your Security Phrase and key for Secure Messages have been removed.")),o.a.createElement("p",null,Object(r.b)("If you did this accidentally, you can setup Secure Messages on this session which will re-encrypt this session's message history with a new recovery method.")),o.a.createElement("p",{className:"warning"},Object(r.b)("If you didn't remove the recovery method, an attacker may be trying to access your account. Change your account password and set a new recovery method immediately in Settings.")),o.a.createElement(h.a,{primaryButton:Object(r.b)("Set up Secure Messages"),onPrimaryButtonClick:this.onSetupClick,cancelButton:Object(r.b)("Go to Settings"),onCancel:this.onGoToSettingsClick})))}}}}]);
//# sourceMappingURL=42.js.map