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
1 line
16 KiB
4 years ago
|
{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/async-components/views/dialogs/security/CreateSecretStorageDialog.js","webpack:///./node_modules/file-saver/dist/FileSaver.min.js"],"names":["PHASE_PASSPHRASE","CreateSecretStorageDialog","React","PureComponent","constructor","props","super","this","state","phase","_fetchBackupInfo","e","setState","passPhraseKeySelected","target","value","n","_recoveryKeyNode","async","_recoveryKey","MatrixClientPeg","get","createRecoveryKeyFromPassphrase","copied","downloaded","setPassphrase","preventDefault","backupSigStatus","usable","_bootstrapSecretStorage","_restoreBackup","copyNode","blob","Blob","encodedPrivateKey","type","FileSaver","saveAs","canUploadKeysWithPasswordOnly","accountPassword","makeRequest","identifier","user","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","forceReset","console","log","bootstrapSecretStorage","createSecretStorageKey","setupNewKeyBackup","setupNewSecretStorage","bootstrapCrossSigning","authUploadDeviceSigningKeys","_doBootstrapUIAuth","keyBackupInfo","backupInfo","getKeyBackupPassphrase","_backupKey","promptForBackupPassphrase","onFinished","httpStatus","data","flows","accountPasswordCorrect","RestoreKeyBackupDialog","showSummary","keyCallback","k","_passphraseField","current","validate","allowEmpty","valid","focus","focused","passPhrase","passPhraseConfirm","passPhraseValid","result","canSkip","isSecureBackupRequired","getSecureBackupSetupMethods","includes","createRef","on","_onKeyBackupStatusChange","_queryKeyUploadAuth","_getInitialPhase","componentWillUnmount","removeListener","keyFromCustomisations","SecurityCustomisations","privateKey","getKeyBackupVersion","isCryptoEnabled","isKeyBackupTrusted","uploadDeviceSigningKeys","some","f","stages","length","_renderOptionKey","key","name","checked","onChange","_onKeyPassphraseChange","outlined","className","_renderOptionPassphrase","_renderPhaseChooseKeyPassphrase","setupMethods","optionKey","optionPassphrase","onSubmit","_onChooseKeyPassphraseFormSubmit","role","primaryButton","onPrimaryButtonClick","onCancel","_onCancelClick","hasCancel","_renderPhaseMigrate","Field","authPrompt","nextCaption","label","_onAccountPasswordChange","forceValidity","autoFocus","_onMigrateFormSubmit","primaryDisabled","onClick","_renderPhasePassPhrase","_onPassPhraseNextClick","_onPassPhraseChange","minScore","onValidate","_onPassPhraseValidate","fieldRef","_td","labelEnterPassword","labelStrongPassword","labelAllowedButUnsafe","disabled","_renderPhasePassPhraseConfirm","matchText","changeText","startsWith","passPhraseMatch","element","_onSetAgainClick","_onPassPhraseConfirmNextClick","_onPassPhraseConfirmChange","autoComplete","_renderPhaseShowKey","continueButton","_onShowKeyContinueClick","ref","_collectRecoveryKeyNode","kind","_onDownloadClick","_onCopyClick","_renderBusyPhase","Spinner","_renderPhaseLoadError","_onLoadRetryClick","_onCancel","_renderPhaseSkipConfirm","_onGoBackClick","_titleForPhase","render","BaseDialog","content","titleClass","fixedWidth","PropTypes","bool","string","c","a","b","d","XMLHttpRequest","open","responseType","onload","g","response","onerror","send","status","dispatchEvent","MouseEvent","document","createEvent","initMouseEvent","window","self","global","navigator","test","userAgent","HTMLAnchorElement","prototype","h","i","URL","webkitURL","j","createElement","download","rel","href","origin","location","createObjectURL","setTimeout","revokeObjectURL","msSaveOrOpenBlob","autoBom","warn","innerText","HTMLElement","safari","FileReader","onloadend","replace","readAsDataURL","l","m","module","exports"],"mappings":"sVAoCA,MAIMA,EAAmB,EAgBV,MAAMC,UAAkCC,IAAMC,cAYzDC,YAAYC,GACRC,MAAMD,GADS,oCAkHQ,KA/IT,IAgJVE,KAAKC,MAAMC,OAAyBF,KAAKG,qBAnH9B,kCAsHMC,IACrBJ,KAAKK,SAAS,CACVC,sBAAuBF,EAAEG,OAAOC,UAxHrB,mCA
|