{"version":3,"sources":["webpack:///./src/components/Breadcrumb.vue","webpack:///./src/components/Breadcrumb.vue?c1d9","webpack:///./src/views/2FA.vue","webpack:///./src/views/2FA.vue?dc98","webpack:///./src/api/two-factor-authentication.js","webpack:///./src/views/2FA.vue?ac51"],"names":["class","aria-label","type","crumbs","crumb","i","active","key","$router","push","href","label","props","__exports__","render","for","id","verify","placeholder","otp","logout","isSaving","toast","name","mixins","Forms","components","Spinner","Breadcrumb","serverErrors","methods","launch","setOtpVerified","vm","this","verifyOtp","then","r","Boolean","data","verified","$route","query","to","error","catch","e","setAndNotifyErrors","determineIf2faEnabled","axios","post","window","API_BASE","generate2faSecretCode","enable2fa","verifyCode","verify_code","disable2fa","token"],"mappings":"0IACOA,MAAM,GAAGC,aAAW,c,6EAAzB,gCAOQ,MAPR,EAOQ,CANF,gCAKK,MALDD,MAAK,6BAAC,aAAY,oBAAkC,SAAJ,EAAAE,S,6BAChD,gCAGK,2CAHoB,EAAAC,OAAM,CAAnBC,EAAOC,K,yBAAnB,gCAGK,MAH4BL,MAAK,6BAAC,kBAAiB,SAAgC,IAAZI,EAAME,UAAmBC,IAAKF,G,EACjF,IAAZD,EAAME,Q,yBAAf,gCAAwH,K,MAAvF,QAAK,+BAAgB,EAAAE,QAAQC,KAAKL,EAAMM,MAAI,aAAIA,KAAMN,EAAMM,M,6BAASN,EAAMO,OAAK,O,yBACjH,gCAA6C,uB,0DAAzBP,EAAMO,OAAK,I,uBAOhC,OACXC,MAAO,CAAC,SAAU,QAClB,W,qBCTJ,MAAMC,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASC,KAErD,U,yFCNRd,MAAM,+B,GAIJA,MAAM,2C,GACJA,MAAM,Y,GAGJA,MAAM,6C,GAQJA,MAAM,kB,GACJA,MAAM,Q,GAGNA,MAAM,S,SAKGA,MAAM,sB,uJAzB9B,gCAmCM,MAnCN,EAmCM,CAlCJ,yBAAuE,GAA3DA,MAAM,uBAAwBG,OAAQ,EAAAA,Q,mBAGl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AAQD,EAAEE,KAAKC,UAAW,CAC5B,IAAIH,EAAqDH,KAAKO,OAAOC,MAAMC,GAC3EV,EAAGD,iBACHC,EAAGzB,QAAQC,KAAK4B,QAGhBJ,EAAGd,IAAM,GACTG,EAAMsB,MAAM,oCAEbC,MAAMC,IACPb,EAAGZ,UAAW,EACdY,EAAGc,mBAAmBD,EAAG,4B,iCC3FjC,MAAMjC,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAE1E,gB,kCCTf,yBAEe,QACXkC,wBACI,OAAOC,IAAMC,KAAKC,OAAOC,SAAW,oBAGxCC,wBACI,OAAOJ,IAAMC,KAAKC,OAAOC,SAAW,8BAGxCE,UAAUC,GACN,OAAON,IAAMC,KAAKC,OAAOC,SAAW,cAAe,CAC/CI,YAAaD,KAIrBE,aACI,OAAOR,IAAMC,KAAKC,OAAOC,SAAW,iBAGxCjB,UAAUuB,GACN,OAAOT,IAAMC,KAAKC,OAAOC,SAAW,cAAe,CAC/CM,MAAOA,O,kCCvBnB","file":"js/2fa.cc8740f7.js","sourcesContent":["\n\n\n\n\n","import { render } from \"./Breadcrumb.vue?vue&type=template&id=0720aea3\"\nimport script from \"./Breadcrumb.vue?vue&type=script&lang=js\"\nexport * from \"./Breadcrumb.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src1746773563/src/syndesi-frontend/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./2FA.vue?vue&type=template&id=7776acce&scoped=true\"\nimport script from \"./2FA.vue?vue&type=script&lang=js\"\nexport * from \"./2FA.vue?vue&type=script&lang=js\"\n\nimport \"./2FA.vue?vue&type=style&index=0&id=7776acce&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src1746773563/src/syndesi-frontend/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7776acce\"]])\n\nexport default __exports__","import axios from 'axios';\n\nexport default {\n determineIf2faEnabled() {\n return axios.post(window.API_BASE + '/2fa/is-enabled');\n },\n\n generate2faSecretCode() {\n return axios.post(window.API_BASE + '/2fa/generate-secret-code');\n },\n\n enable2fa(verifyCode) {\n return axios.post(window.API_BASE + '/2fa/enable', {\n verify_code: verifyCode\n });\n },\n\n disable2fa() {\n return axios.post(window.API_BASE + '/2fa/disable');\n },\n\n verifyOtp(token) {\n return axios.post(window.API_BASE + '/2fa/verify', {\n token: token\n });\n }\n}","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./2FA.vue?vue&type=style&index=0&id=7776acce&lang=scss&scoped=true\""],"sourceRoot":""}