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
16 KiB

{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/async-components/views/dialogs/secretstorage/CreateSecretStorageDialog.js","webpack:///./node_modules/matrix-react-sdk/res/img/e2e/normal.svg","webpack:///./node_modules/file-saver/FileSaver.js","webpack:///(webpack)/buildin/amd-define.js","webpack:///(webpack)/buildin/amd-options.js"],"names":["PHASE_PASSPHRASE","CreateSecretStorageDialog","React","PureComponent","constructor","props","super","this","state","phase","_fetchBackupInfo","n","_recoveryKeyNode","enabled","setState","useKeyBackup","e","preventDefault","backupSigStatus","usable","_bootstrapSecretStorage","_restoreBackup","copyNode","copied","blob","Blob","_recoveryKey","encodedPrivateKey","type","FileSaver","saveAs","downloaded","async","canUploadKeysWithPasswordOnly","accountPassword","makeRequest","identifier","user","MatrixClientPeg","get","getUserId","password","InteractiveAuthDialog","sdk","dialogAesthetics","SSOAuthEntry","PHASE_PREAUTH","title","_t","body","continueText","continueKind","PHASE_POSTAUTH","finished","Modal","createTrackedDialog","matrixClient","aestheticsForStagePhases","LOGIN_TYPE","UNSTABLE_LOGIN_TYPE","confirmed","Error","error","cli","force","console","log","bootstrapSecretStorage","authUploadDeviceSigningKeys","_doBootstrapUIAuth","createSecretStorageKey","setupNewKeyBackup","setupNewSecretStorage","backupInfo","deleteKeyBackupVersion","version","keyBackupInfo","getKeyBackupPassphrase","_backupKey","promptForBackupPassphrase","httpStatus","data","flows","accountPasswordCorrect","onFinished","RestoreKeyBackupDialog","showSummary","keyCallback","k","createRecoveryKeyFromPassphrase","_passphraseField","current","validate","allowEmpty","valid","focus","focused","passPhrase","passPhraseConfirm","passPhraseValid","result","target","value","createRef","_queryKeyUploadAuth","on","_onKeyBackupStatusChange","componentWillUnmount","removeListener","getKeyBackupVersion","isCryptoEnabled","isKeyBackupTrusted","uploadDeviceSigningKeys","some","f","stages","length","_renderPhaseMigrate","DialogButtons","Field","authPrompt","nextCaption","label","onChange","_onAccountPasswordChange","flagInvalid","autoFocus","onSubmit","_onMigrateFormSubmit","primaryButton","onPrimaryButtonClick","hasCancel","primaryDisabled","className","onClick","_onSkipSetupClick","_renderPhasePassPhrase","AccessibleButton","LabelledToggleSwitch","_onPassPhraseNextClick","_onPassPhraseChange","minScore","onValidate","_onPassPhraseValidate","fieldRef","_td","labelEnterPassword","labelStrongPassword","labelAllowedButUnsafe","_onUseKeyBackupChange","disabled","kind","_onSkipPassPhraseClick","_renderPhasePassPhraseConfirm","matchText","changeText","startsWith","passPhraseMatch","element","_onSetAgainClick","_onPassPhraseConfirmNextClick","_onPassPhraseConfirmChange","autoComplete","_renderPhaseShowKey","ref","_collectRecoveryKeyNode","_onCopyClick","_onDownloadClick","_renderPhaseKeepItSafe","introText","b","s","_onKeepItSafeBackClick","_renderBusyPhase","Spinner","_renderPhaseLoadError","_onLoadRetryClick","onCancel","_onCancel","_renderPhaseDone","_onDone","_renderPhaseSkipConfirm","_onSetUpClick","_titleForPhase","render","BaseDialog","content","headerImage","require","includes","fixedWidth","PropTypes","bool","string","module","exports","view","navigator","test","userAgent","doc","document","get_URL","URL","webkitURL","save_link","createElementNS","can_use_save_link","is_safari","HTMLElement","safari","is_chrome_ios","throw_outside","ex","setImmediate","setTimeout","revoke","file","revokeObjectURL","remove","auto_bom","String","fromCharCode","name","no_auto_bom","object_url","filesaver","dispatch_all","event_types","event","i","concat","listener","call","dispatch","split","readyState","INIT","createObjectURL","node","href","download","MouseEvent","dispatchEvent","DONE","FileReader","reader","onloadend","url","replace","open","location","undefined","readAsDataURL","fs_error","FS_proto","prototype","msSaveOrOpenBlob","abort","WRITING","onwritestart","onprogress","onwrite","onabort","onerror","onwriteend","self"