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
11 KiB
1 line
11 KiB
{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/async-components/views/dialogs/keybackup/CreateKeyBackupDialog.js","webpack:///./node_modules/file-saver/FileSaver.js","webpack:///(webpack)/buildin/amd-define.js","webpack:///(webpack)/buildin/amd-options.js"],"names":["PHASE_PASSPHRASE","PHASE_DONE","CreateKeyBackupDialog","React","PureComponent","constructor","props","super","n","this","_recoveryKeyNode","copyNode","setState","copied","phase","blob","Blob","_keyBackupInfo","recovery_key","type","FileSaver","saveAs","downloaded","async","secureSecretStorage","state","info","error","accessSecretStorage","MatrixClientPeg","get","prepareKeyBackupVersion","createKeyBackupVersion","scheduleAllGroupSessionsForBackup","e","console","deleteKeyBackupVersion","version","onFinished","preventDefault","_passphraseField","current","validate","allowEmpty","valid","focus","focused","passPhrase","passPhraseConfirm","passPhraseValid","result","target","value","createRef","cli","doesServerSupportUnstableFeature","_createBackup","_renderPhasePassPhrase","DialogButtons","sdk","onSubmit","_onPassPhraseNextClick","_t","b","sub","className","onChange","_onPassPhraseChange","minScore","onValidate","_onPassPhraseValidate","fieldRef","autoFocus","label","_td","labelEnterPassword","labelStrongPassword","labelAllowedButUnsafe","primaryButton","onPrimaryButtonClick","hasCancel","disabled","kind","onClick","_onSkipPassPhraseClick","_renderPhasePassPhraseConfirm","AccessibleButton","matchText","changeText","startsWith","passPhraseMatch","element","_onSetAgainClick","_onPassPhraseConfirmNextClick","_onPassPhraseConfirmChange","placeholder","_renderPhaseShowKey","ref","_collectRecoveryKeyNode","_onCopyClick","_onDownloadClick","_renderPhaseKeepItSafe","introText","s","_onKeepItSafeBackClick","_renderBusyPhase","text","Spinner","_renderPhaseDone","_onDone","_renderPhaseOptOutConfirm","_onSetUpClick","_onCancel","_titleForPhase","render","BaseDialog","content","onCancel","title","includes","PropTypes","func","isRequired","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","force","dispatch_all","event_types","event","i","concat","length","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","window","module","exports","Error","__webpack_amd_options__"],"mappings":";6QA4BA,MAAMA,EAAmB,EAKnBC,EAAa,EASJ,MAAMC,UAA8BC,IAAMC,cAKrDC,YAAYC,GACRC,MAAMD,GADS,mCAgCQE,IACvBC,KAAKC,iBAAmBF,IAjCT,wBAoCJ,KACQG,YAASF,KAAKC,mBAE7BD,KAAKG,SAAS,CACVC,QAAQ,EACRC,MAzDS,MAgBF,4BA8CA,KACf,MAAMC,EAAO,IAAIC,KAAK,CAACP,KAAKQ,eAAeC,cAAe,CACtDC,KAAM,gCAEVC,IAAUC,OAAON,EAAM,oBAEvBN,KAAKG,SAAS,CACVU,YAAY,EACZR,MAtEa,MAgBF,yBA0DHS,UACZ,MAAM,oBAAEC,GAAwBf,KAAKgB,MAKrC,IAAIC,EAJJjB,KAAKG,SAAS,CACVE,MA5EY,EA6EZa,MAAO,OAGX,IACQH,QACMI,YAAoBL,UACtBG,QAAaG,IAAgBC,MAAMC,wBAC/B,KACA,CAAEP,qBAAqB,IAE3BE,QAAaG,IAAgBC,MAAME,uBAAuBN,KAG9DA,QAAaG,IAAgBC,MAAME,uBAC/BvB,KAAKQ,sBAGPY,IAAgBC,MAAMG,oCAC5BxB,KAAKG,SAAS,CACVE,MAAOb,IAEb,MAAOiC,GACLC,QAAQR,MAAM,4BAA6BO,GAKvCR,GACAG,IAAgBC,MAAMM,uBAAuBV,EAAKW,SAEtD5B,KAAKG,SAAS,CAC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