{"version":3,"sources":["webpack:///./src/components/views/Settings/Authenticator.vue?a6bd","webpack:///src/components/views/Settings/Authenticator.vue","webpack:///./src/components/views/Settings/Authenticator.vue?4cb1","webpack:///./src/components/views/Settings/Authenticator.vue","webpack:///./src/components/views/Settings/SettingsStrings.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","loading","scopedSlots","_u","key","fn","staticClass","_v","on","showQrCode","deleteQrCode","totpUrl","_e","isTotpConfigured","ref","staticStyle","model","value","callback","$$v","valid","expression","_s","setupText","set2Fa","global","rules","requiredField","restrictNumeric","totpcode","proxy","staticRenderFns","components","data","totpsecret","setupClicked","totpissuer","showIsCLicked","created","isConfigured","computed","$api","getTwoFAMethods","username","callBack","watch","length","verify","setupTOTP","methods","getTOTPSecret","alert","component","VBtn","VCol","VForm","VTextField","ctx","strings","label","apiKeyLabel"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,OAAO,CAACE,MAAM,CAAC,QAAUN,EAAIO,SAASC,YAAYR,EAAIS,GAAG,CAAC,CAACC,IAAI,UAAUC,GAAG,WAAW,MAAO,CAACP,EAAG,MAAM,CAACQ,YAAY,UAAU,CAAEZ,EAAoB,iBAAEI,EAAG,MAAM,CAACA,EAAG,IAAI,CAACJ,EAAIa,GAAG,qCAAqCT,EAAG,QAAQ,CAACE,MAAM,CAAC,MAAQ,WAAWQ,GAAG,CAAC,MAAQd,EAAIe,aAAa,CAACf,EAAIa,GAAG,2BAA2BT,EAAG,QAAQ,CAACE,MAAM,CAAC,KAAO,IAAIQ,GAAG,CAAC,MAAQd,EAAIgB,eAAe,CAAChB,EAAIa,GAAG,YAAab,EAAiB,cAAEI,EAAG,aAAa,CAACQ,YAAY,OAAON,MAAM,CAAC,MAAQN,EAAIiB,QAAQ,KAAO,MAAM,MAAQ,OAAOjB,EAAIkB,MAAM,GAAGlB,E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YAAhC,kFACA,iCAA6BH,EAAIG,YAAjC,wDACA,uDAAmDH,EAAIE,MAAvD,kCACA,6EACA,sBAAyB,yBACzB,cAAiB,sBAEjB,aAAgB,yDAChB,mBAAsB,iCACtB,eAAkB,mDAClB,cAAiB,yEACjB,WAAc,mRAEhB,OAAOD,EAAQtD","file":"js/chunk-640b6898.b49cec62.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('page',{attrs:{\"loading\":_vm.loading},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('div',{staticClass:\"mt-n10\"},[(_vm.isTotpConfigured)?_c('div',[_c('p',[_vm._v(\"QR code verification is enabled\")]),_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.showQrCode}},[_vm._v(\"Show existing QR code\")]),_c('v-btn',{attrs:{\"text\":\"\"},on:{\"click\":_vm.deleteQrCode}},[_vm._v(\"Delete\")]),(_vm.showIsCLicked)?_c('qrcode-vue',{staticClass:\"pt-5\",attrs:{\"value\":_vm.totpUrl,\"size\":\"300\",\"level\":\"H\"}}):_vm._e()],1):_vm._e(),(!_vm.isTotpConfigured)?_c('v-form',{ref:\"form\",staticStyle:{\"max-width\":\"600px\"},model:{value:(_vm.valid),callback:function ($$v) {_vm.valid=$$v},expression:\"valid\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('p',[_vm._v(_vm._s(_vm.setupText))]),_c('v-btn',{staticClass:\"mb-2\",staticStyle:{\"width\":\"300px\"},attrs:{\"color\":\"primary\"},on:{\"click\":_vm.set2Fa}},[_vm._v(\"Setup\")])],1),_c('v-col',{attrs:{\"cols\":\"12\"}},[(_vm.setupClicked)?_c('qrcode-vue',{attrs:{\"value\":_vm.totpUrl,\"size\":\"300\",\"level\":\"H\"}}):_vm._e()],1),_c('v-col',{attrs:{\"cols\":\"12\"}},[(_vm.setupClicked)?_c('v-text-field',{ref:\"totpcode\",staticStyle:{\"width\":\"300px\"},attrs:{\"outlined\":\"\",\"dense\":\"\",\"label\":\"Verification Code\",\"rules\":[_vm.global.rules.requiredField]},on:{\"keydown\":_vm.restrictNumeric},model:{value:(_vm.totpcode),callback:function ($$v) {_vm.totpcode=$$v},expression:\"totpcode\"}}):_vm._e()],1)],1):_vm._e()],1)]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Authenticator.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Authenticator.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Authenticator.vue?vue&type=template&id=4498abf9&\"\nimport script from \"./Authenticator.vue?vue&type=script&lang=js&\"\nexport * from \"./Authenticator.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCol,VForm,VTextField})\n","export default (ctx, key) => {\n let strings = {\n /* globalstrings */\n \"server_error\": \"Something went wrong! please try again later\",\n /* SSH keys strings */\n \"conflict_ssh\": \"this ssh key label is repeated! please change the label and try again\",\n \"invalid_ssh_key\": \"your ssh key is invalid! please change ssh key and try again\",\n \"successfully_added_ssh\": \"successfully added!\",\n \"delete_ssh_key\": `You are about to delete (${ctx.label}) key. Are you sure ?`,\n /* Access tokens strings */\n \"successfully_added_access_token\": `Access token (${ctx.apiKeyLabel}) successfully added!`,\n \"invalid_access_label\": `(${ctx.apiKeyLabel}) is invalid! please choose another access token label \"at least 2 characters\"`,\n \"conflict_access_token\": `(${ctx.apiKeyLabel}) is repeated! please change the label and try again`,\n \"delete_access_token\": `You are about to delete (${ctx.label}) access token. Are you sure ?`,\n \"successfully_updated_access_token\": `Access token label successfully updated!`,\n \"application_id_copied\": \"Application ID copied!\",\n \"secret_copied\": \"Secret code copied!\",\n /* Authenticator strings */\n \"invalid_code\": \"invalid code! please write the code you see in 2fa app\",\n \"setup_successfully\": \"your 2fa successfully enabled!\",\n \"confirm_delete\": \"Are you sure you want to remove your 2fa setup ?\",\n \"setup_onclick\": \"please scan the QR code with 2fa app and write the 6 digits code below\",\n \"setup_text\": \"Currently no Authenticator Application is configured on your profile. Authenticator Application allows you to receive codes for your 2-Step Verification, even without internet connection and mobile service. Click SETUP button to configure your Authenticator Application.\"\n }\n return strings[key]\n}"],"sourceRoot":""}