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

6 years ago
{"version":3,"sources":["(webpack)/buildin/amd-define.js","node_modules/matrix-react-sdk/lib/async-components/views/dialogs/keybackup/CreateKeyBackupDialog.js","node_modules/file-saver/FileSaver.js"],"names":["module","exports","Error","Object","defineProperty","value","_promise2","_interopRequireDefault","__webpack_require__","_regenerator2","_bluebird","_react2","_index2","_MatrixClientPeg2","_PasswordScorer","_fileSaver2","_languageHandler","obj","__esModule","default","PHASE_PASSPHRASE","PHASE_DONE","createClass","displayName","getInitialState","phase","passPhrase","passPhraseConfirm","copied","downloaded","zxcvbnResult","setPassPhrase","componentWillMount","this","_recoveryKeyNode","_keyBackupInfo","_setZxcvbnResultTimeout","componentWillUnmount","clearTimeout","_collectRecoveryKeyNode","n","_onCopyClick","target","range","document","createRange","selectNodeContents","selection","window","getSelection","removeAllRanges","addRange","selectText","execCommand","setState","_onDownloadClick","blob","Blob","recovery_key","type","saveAs","_createBackup","_ref","coroutine","mark","_callee","info","wrap","_context","prev","next","error","resolve","get","createKeyBackupVersion","sent","scheduleAllGroupSessionsForBackup","t0","console","log","deleteKeyBackupVersion","version","stop","apply","arguments","_onCancel","props","onFinished","_onDone","_onOptOutClick","_onSetUpClick","_onSkipPassPhraseClick","_ref2","_callee2","_context2","prepareKeyBackupVersion","_onPassPhraseNextClick","_onPassPhraseKeyPress","_ref3","_callee3","e","_this","_context3","key","scorePassword","state","_passPhraseIsValid","_x","_onPassPhraseConfirmNextClick","_ref4","_callee4","_context4","_onPassPhraseConfirmKeyPress","_onSetAgainClick","_onKeepItSafeBackClick","_onPassPhraseChange","_this2","setTimeout","_onPassPhraseConfirmChange","score","_renderPhasePassPhrase","DialogButtons","getComponent","strengthMeter","helpText","_t","suggestions","i","feedback","length","push","createElement","suggestionBlock","warning","max","b","sub","className","onChange","onKeyPress","placeholder","autoFocus","primaryButton","onPrimaryButtonClick","hasCancel","disabled","onClick","_renderPhasePassPhraseConfirm","AccessibleButton","matchText","startsWith","passPhraseMatch","element","_renderPhaseShowKey","bodyText","ref","_renderPhaseKeepItSafe","introText","s","_renderBusyPhase","text","Spinner","_renderPhaseDone","_renderPhaseOptOutConfirm","_titleForPhase","render","BaseDialog","content","onCancel","title","includes","__WEBPACK_AMD_DEFINE_RESULT__","view","navigator","test","userAgent","doc","get_URL","URL","webkitURL","save_link","createElementNS","can_use_save_link","is_safari","HTMLElement","safari","is_chrome_ios","throw_outside","ex","setImmediate","revoke","file","revokeObjectURL","remove","auto_bom","String","fromCharCode","FileSaver","name","no_auto_bom","object_url","filesaver","force","dispatch_all","event_types","event","concat","listener","call","dispatch","split","readyState","INIT","createObjectURL","node","href","download","MouseEvent","dispatchEvent","DONE","FileReader","reader","onloadend","url","result","replace","open","location","undefined","readAsDataURL","fs_error","FS_proto","prototype","msSaveOrOpenBlob","abort","WRITING","onwritestart","onprogress","onwrite","onabort","onerror","onwriteend","self"],"mappings":"4EAAAA,EAAAC,QAAA,WACA,UAAAC,MAAA,qECCAC,OAAAC,eAAAH,EAAA,cACAI,OAAA,IAGA,IAEAC,EAAAC,EAFeC,EAAQ,KAMvBC,EAAAF,EAFmBC,EAAQ,KAI3BE,EAAgBF,EAAQ,IAIxBG,EAAAJ,EAFaC,EAAQ,IAMrBI,EAAAL,EAFaC,EAAQ,IAMrBK,EAAAN,EAFuBC,EAAQ,IAI/BM,EAAsBN,EAAQ,KAI9BO,EAAAR,EAFiBC,EAAQ,MAIzBQ,EAAuBR,EAAQ,GAE/B,SAAAD,EAAAU,GAAsC,OAAAA,KAAAC,WAAAD,EAAA,CAAuCE,QAAAF,GAkB7E,IAAAG,EAAA,EAKAC,EAAA,EAoBApB,EAAAkB,QAAAR,EAAAQ,QAAAG,YAAA,CACAC,YAAA,wBAEAC,gBAAA,WACA,OACAC,MAAAL,EACAM,WAAA,GACAC,kBAAA,GACAC,QAAA,EACAC,YAAA,EACAC,aAAA,KACAC,eAAA,IAIAC,mBAAA,WACAC,KAAAC,iBAAA,KACAD,KAAAE,eAAA,KACAF,KAAAG,wBAAA,MAGAC,qBAAA,WACA,OAAAJ,KAAAG,yBACAE,aAAAL,KAAAG,0BAIAG,wBAAA,SAAAC,GACAP,KAAAC,iBAAAM,GAGAC,aAAA,YA5CA,SAAAC,GACA,IAAAC,EAAAC,SAAAC,cACAF,EAAAG,mBAAAJ,GAEA,IAAAK,EAAAC,