"use strict";(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[6762],{"./src/async-components/views/dialogs/security/RecoveryMethodRemovedDialog.tsx":(e,t,s)=>{s.r(t),s.d(t,{default:()=>d});var n=s("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),o=s("./node_modules/react/index.js"),i=s("./src/dispatcher/dispatcher.ts"),r=s("./src/languageHandler.tsx"),c=s("./src/dispatcher/actions.ts"),a=s("./src/components/views/dialogs/UserTab.ts"),l=s("./src/components/views/dialogs/BaseDialog.tsx"),m=s("./src/components/views/elements/DialogButtons.tsx");class d extends o.PureComponent{constructor(...e){super(...e),(0,n.A)(this,"onGoToSettingsClick",()=>{this.props.onFinished(),i.A.fire(c.r.ViewUserSettings)}),(0,n.A)(this,"onSetupClick",()=>{this.props.onFinished();const e={action:c.r.ViewUserSettings,initialTabId:a.v.Encryption};i.A.dispatch(e)})}render(){const e=o.createElement("span",{className:"mx_KeyBackupFailedDialog_title"},(0,r._t)("encryption|recovery_method_removed|title"));return o.createElement(l.A,{className:"mx_KeyBackupFailedDialog",onFinished:this.props.onFinished,title:e},o.createElement("div",null,o.createElement("p",null,(0,r._t)("encryption|recovery_method_removed|description_1")),o.createElement("p",null,(0,r._t)("encryption|recovery_method_removed|description_2")),o.createElement("strong",{className:"warning"},(0,r._t)("encryption|recovery_method_removed|warning")),o.createElement(m.A,{primaryButton:(0,r._t)("common|setup_secure_messages"),onPrimaryButtonClick:this.onSetupClick,cancelButton:(0,r._t)("common|go_to_settings"),onCancel:this.onGoToSettingsClick})))}}}}]);
//# sourceMappingURL=6762.js.map