You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
21 KiB

{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/res/img/element-icons/check.svg","webpack:///./node_modules/matrix-react-sdk/src/async-components/views/dialogs/security/CreateSecretStorageDialog.tsx","webpack:///./node_modules/matrix-react-sdk/src/components/views/auth/PassphraseField.tsx","webpack:///./node_modules/file-saver/dist/FileSaver.min.js"],"names":["_path","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","this","SvgCheck","props","fill","xmlns","viewBox","role","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin","Phase","CreateSecretStorageDialog","React","PureComponent","constructor","passPhraseKeySelected","super","_defineProperty","createRef","state","phase","Migrate","fetchBackupInfo","e","setState","value","async","SecureBackupSetupMethod","Key","recoveryKey","MatrixClientPeg","get","createRecoveryKeyFromPassphrase","copied","downloaded","setPassphrase","ShowKey","Passphrase","_this$state$backupSig","preventDefault","backupSigStatus","usable","bootstrapSecretStorage","restoreBackup","copyNode","recoveryKeyNode","current","blob","Blob","encodedPrivateKey","type","FileSaver","saveAs","canUploadKeysWithPasswordOnly","accountPassword","makeRequest","identifier","user","getUserId","password","dialogAesthetics","SSOAuthEntry","PHASE_PREAUTH","title","_t","body","continueText","continueKind","PHASE_POSTAUTH","finished","Modal","createDialog","InteractiveAuthDialog","matrixClient","aestheticsForStagePhases","LOGIN_TYPE","UNSTABLE_LOGIN_TYPE","confirmed","Error","Storing","error","undefined","cli","forceReset","logger","log","createSecretStorageKey","setupNewKeyBackup","setupNewSecretStorage","bootstrapCrossSigning","authUploadDeviceSigningKeys","doBootstrapUIAuth","keyBackupInfo","backupInfo","getKeyBackupPassphrase","backupKey","promptForBackupPassphrase","Stored","httpStatus","data","flows","accountPasswordCorrect","onFinished","RestoreKeyBackupDialog","showSummary","keyCallback","k","Loading","ConfirmSkip","ChooseKeyPassphrase","passphraseField","validate","allowEmpty","valid","focus","focused","PassphraseConfirm","passPhrase","passPhraseConfirm","passPhraseValid","result","getSecureBackupSetupMethods","includes","queryKeyUploadAuth","canSkip","isSecureBackupRequired","on","CryptoEvent","KeyBackupStatus","onKeyBackupStatusChange","getInitialPhase","componentWillUnmount","removeListener","_SecurityCustomisatio","keyFromCustomisations","SecurityCustomisations","privateKey","getKeyBackupVersion","isCryptoEnabled","isKeyBackupTrusted","LoadError","uploadDeviceSigningKeys","some","f","stages","renderOptionKey","createElement","StyledRadioButton","name","checked","onChange","onKeyPassphraseChange","outlined","className","renderOptionPassphrase","renderPhaseChooseKeyPassphrase","setupMethods","optionKey","optionPassphrase","onSubmit","onChooseKeyPassphraseFormSubmit","DialogButtons","primaryButton","onPrimaryButtonClick","onCancel","onCancelClick","hasCancel","renderPhaseMigrate","_this$state$backupSig2","authPrompt","nextCaption","Field","label","onAccountPasswordChange","forceValidity","autoFocus","onMigrateFormSubmit","primaryDisabled","onClick","renderPhasePassPhrase","onPassPhraseNextClick","PassphraseField","onPassPhraseChange","minScore","onValidate","onPassPhraseValidate","fieldRef","_td","labelEnterPassword","labelStrongPassword","labelAllowedButUnsafe","disabled","renderPhasePassPhraseConfirm","matchText","changeText","passPhraseMatch","startsWith","AccessibleButton","kind","onSetAgainClick","onPassPhraseConfirmNextClick","onPassPhraseConfirmChange","autoComplete","renderPhaseShowKey","continueButton","onShowKeyContinueClick","InlineSpinner","ref","onDownloadClick","downloadButton","copyButton","onCopyClick","renderBusyPhase","Spinner","renderStoredPhase","Fragment","renderPhaseLoadError","onLoadRetryClick","renderPhaseSkipConfirm","onGoBackClick","titleForPhase","topComponent","CheckmarkIcon","classNames","mx_SuccessDialog","render","content","titleClass","BaseDialog","top","fixedWidth","withValidat