(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{1033:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=h(a(6)),o=h(a(2)),i=h(a(4)),s=h(a(7)),l=h(a(8)),r=h(a(0)),u=h(a(1)),c=h(a(5)),d=h(a(15)),p=a(3),f=h(a(17));function h(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function t(){var e,i,l,r;(0,o.default)(this,t);for(var u=arguments.length,c=Array(u),p=0;p<u;p++)c[p]=arguments[p];return i=l=(0,s.default)(this,(e=t.__proto__||(0,n.default)(t)).call.apply(e,[this].concat(c))),l.onGoToSettingsClick=function(){l.props.onFinished(),d.default.dispatch({action:"view_user_settings"})},l.onSetupClick=function(){l.props.onFinished(),f.default.createTrackedDialogAsync("Key Backup","Key Backup",Promise.all([a.e(0),a.e(1)]).then(a.t.bind(null,216,7)))},r=i,(0,s.default)(l,r)}return(0,l.default)(t,e),(0,i.default)(t,[{key:"render",value:function(){var e=c.default.getComponent("views.dialogs.BaseDialog"),t=c.default.getComponent("views.elements.DialogButtons"),a=r.default.createElement("span",{className:"mx_KeyBackupFailedDialog_title"},(0,p._t)("Recovery Method Removed"));return r.default.createElement(e,{className:"mx_KeyBackupFailedDialog",onFinished:this.props.onFinished,title:a},r.default.createElement("div",null,r.default.createElement("p",null,(0,p._t)("This device has detected that your recovery passphrase and key for Secure Messages have been removed.")),r.default.createElement("p",null,(0,p._t)("If you did this accidentally, you can setup Secure Messages on this device which will re-encrypt this device's message history with a new recovery method.")),r.default.createElement("p",{className:"warning"},(0,p._t)("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.")),r.default.createElement(t,{primaryButton:(0,p._t)("Set up Secure Messages"),onPrimaryButtonClick:this.onSetupClick,cancelButton:(0,p._t)("Go to Settings"),onCancel:this.onGoToSettingsClick})))}}]),t}(r.default.PureComponent);y.propTypes={onFinished:u.default.func.isRequired},t.default=y,e.exports=t.default}}]);
//# sourceMappingURL=14.js.map