{"version":3,"sources":["webpack:///./src/assets/coming_soon.svg","webpack:///./src/services/registration.js","webpack:///./src/pages/landing/ConfirmEmail.vue?8f26","webpack:///src/pages/landing/ConfirmEmail.vue","webpack:///./src/pages/landing/ConfirmEmail.vue?712c","webpack:///./src/pages/landing/ConfirmEmail.vue"],"names":["module","exports","registration","RegisterHOABoardMember","payload","url","KMS_BACKEND","axios","post","catch","handleServiceErrors","resp","data","ConfirmEmail","userID","confirmEmailToken","scope","appId","token","refreshToken","expiration","auth","saveToken","initUser","GetBoardMemberQuestions","get","headers","authHeaders","SubmitBoardMemberAnswers","boardMemberAnswers","ValidateOwnerSignupCode","signupCode","params","ValidateOwnerSignupCodeWithSuccess","ValidateVendorSignupCodeWithSuccess","ValidateVendorSignupCode","CheckUserExists","emailAddress","RegisterOwner","RegisterVendor","render","_vm","this","_h","$createElement","_c","_self","staticClass","_m","attrs","_v","_s","error","_e","staticRenderFns","complete","metaInfo","title","computed","debug","JSON","stringify","methods","component"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,gC,qHCMrCC,EAAe,CAEnBC,uBAAwB,WAAF,8CAAE,WAAMC,GAAN,gGAChBC,EADgB,UACPC,OADO,yCAEHC,IAAMC,KAAKH,EAAKD,GAASK,MAAMC,QAF5B,cAEhBC,EAFgB,yBAGfA,EAAKC,MAHU,2CAAF,sDAAE,GAMxBC,aAAc,WAAF,8CAAE,WAAOC,EAAQC,GAAf,0GACNV,EADM,UACGC,OADH,sBAENM,EAAO,CAAEE,SAAQC,oBAAmBC,MAAOC,kBAFrC,SAGOV,IAAMC,KAAKH,EAAKO,GAAMH,MAAMC,QAHnC,cAGNC,EAHM,SAOgCA,EAAKC,KAAzCM,EAPI,EAOJA,MAAOC,EAPH,EAOGA,aAAcC,EAPjB,EAOiBA,WAC7BC,OAAKC,UAAUJ,EAAOC,EAAcC,GARxB,SASCC,OAAKE,WATN,oFAAF,wDAAE,GAYdC,wBAAyB,WAAF,8CAAE,6GACjBnB,EADiB,UACRC,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,EAAG,KAAK,CAACJ,EAAIS,GAAG,mBAAmBL,EAAG,KAAK,CAACJ,EAAIS,GAAG,mCAAmC,YAC9vBI,EAAkB,CAAC,WAAa,IAAIb,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,4BAA4B,CAACF,EAAG,MAAM,CAACE,YAAY,kBAAkBE,MAAM,CAAC,IAAM,EAAQ,e,4DCqC1N,GACErC,KADF,WAEI,MAAO,CACLwC,MAAO,GACPG,UAAU,IAIdC,SAAU,CACRC,MAAO,iBAGTC,SAAU,CACRC,MADJ,WAEM,IAAN,oBAEM,OAAOC,KAAKC,UAAU,CACpB7B,OAAR,MAKE,QAtBF,WAsBA,uKACA,iBADA,EACA,IADA,EACA,EACA,WACA,eACA,MAJA,0CAMA,yBANA,OAOA,cAGA,aAVA,qDAYA,gCACA,8DAEA,qBAfA,6DAqBE8B,QAAS,OAAX,OAAW,CAAX,GACA,sCClFqW,I,YCOjWC,EAAY,eACd,EACAvB,EACAc,GACA,EACA,KACA,KACA,MAIa,aAAAS,E","file":"js/chunk-3b8110b4.656372e8.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/coming_soon.3db3fd03.svg\";","import axios from 'axios'\r\nimport auth from '@/services/_auth'\r\nimport { KMS_BACKEND, appId } from '@/config'\r\nimport { handleServiceErrors } from '@/services/errors'\r\n\r\n// KMS Backend Registration Service\r\nconst registration = {\r\n // Register management user\r\n RegisterHOABoardMember: async payload => {\r\n const url = `${KMS_BACKEND}/User/RegisterHOABoardMember`\r\n const resp = await axios.post(url, payload).catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n ConfirmEmail: async (userID, confirmEmailToken) => {\r\n const url = `${KMS_BACKEND}/User/ConfirmEmail`\r\n const data = { userID, confirmEmailToken, scope: appId() }\r\n const resp = await axios.post(url, data).catch(handleServiceErrors)\r\n\r\n // Email confirmation gives back valid token\r\n // Use it to init authenticated user\r\n const { token, refreshToken, expiration } = resp.data\r\n auth.saveToken(token, refreshToken, expiration)\r\n return await auth.initUser()\r\n },\r\n\r\n GetBoardMemberQuestions: async () => {\r\n const url = `${KMS_BACKEND}/BoardMemberQuestion/List`\r\n const resp = await axios.get(url, { headers: auth.authHeaders() }).catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n SubmitBoardMemberAnswers: async payload => {\r\n const url = `${KMS_BACKEND}/BoardMemberAnswer/SubmitAnswers`\r\n const resp = await axios\r\n .post(url, { boardMemberAnswers: payload }, { headers: auth.authHeaders() })\r\n .catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n // Validates that a signup code exists, and if it does,\r\n // returns the unit/owner info to display to the user for verification.\r\n ValidateOwnerSignupCode: async signupCode => {\r\n const url = `${KMS_BACKEND}/User/ValidateOwnerSignupCode`\r\n const resp = await axios.get(url, { params: { signupCode } }).catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n // Validates that a signup code exists, and if it does,\r\n // returns the unit/owner info to display to the user for verification.\r\n ValidateOwnerSignupCodeWithSuccess: async signupCode => {\r\n const url = `${KMS_BACKEND}/User/ValidateOwnerSignupCodeWithSuccess`\r\n const resp = await axios.get(url, { params: { signupCode } }).catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n // Validates that a signup code exists, and if it does,\r\n // returns true for verification.\r\n ValidateVendorSignupCodeWithSuccess: async signupCode => {\r\n const url = `${KMS_BACKEND}/User/ValidateVendorSignupCodeWithSuccess`\r\n const resp = await axios.get(url, { params: { signupCode } }).catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n // Validates that a signup code exists, and if it does,\r\n // returns the vendor info to display to the user for verification.\r\n ValidateVendorSignupCode: async signupCode => {\r\n const url = `${KMS_BACKEND}/User/ValidateVendorSignupCode`\r\n const resp = await axios.get(url, { params: { signupCode } }).catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n // Checks whether an identity exists for a given email address in the database.\r\n // Valid signup code required to prevent possible brute force email address checks\r\n CheckUserExists: async (emailAddress, signupCode) => {\r\n const url = `${KMS_BACKEND}/User/CheckUserExists`\r\n const resp = await axios\r\n .get(url, { params: { emailAddress, signupCode } })\r\n .catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n // Register homeowner\r\n RegisterOwner: async payload => {\r\n const url = `${KMS_BACKEND}/User/RegisterOwner`\r\n const resp = await axios.post(url, payload).catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n // Register vendor\r\n RegisterVendor: async payload => {\r\n const url = `${KMS_BACKEND}/User/RegisterVendor`\r\n const resp = await axios.post(url, payload).catch(handleServiceErrors)\r\n return resp.data\r\n }\r\n}\r\n\r\nexport default registration\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"section confirm-email\"},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"columns level\"},[_vm._m(0),_c('div',{staticClass:\"column is-three-fifths\"},[_c('div',{staticClass:\"form-box\"},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\",\"appear\":\"\"}},[(_vm.error)?_c('div',[_c('h3',[_vm._v(\"Sorry about this.\")]),_c('h4',[_vm._v(\"Unfortunately, an error has occured.\")]),(_vm.error)?_c('p',[_vm._v(_vm._s(_vm.error))]):_vm._e()]):(_vm.complete)?_c('div',[_c('h3',[_vm._v(\"Welcome Back!\")]),_c('h4',[_vm._v(\"You email has been confirmed.\")])]):_c('div',[_c('h3',[_vm._v(\"Welcome Back!\")]),_c('h4',[_vm._v(\"Confirming your email...\")])])])],1)])])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"column has-text-centered\"},[_c('img',{staticClass:\"coming-soon-img\",attrs:{\"src\":require(\"@/assets/coming_soon.svg\")}})])}]\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Sorry about this.\r\n Unfortunately, an error has occured.\r\n {{ error }}\r\n \r\n \r\n Welcome Back!\r\n You email has been confirmed.\r\n \r\n \r\n \r\n Welcome Back!\r\n Confirming your email...\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\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!./ConfirmEmail.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!./ConfirmEmail.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ConfirmEmail.vue?vue&type=template&id=8e80703c&\"\nimport script from \"./ConfirmEmail.vue?vue&type=script&lang=js&\"\nexport * from \"./ConfirmEmail.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"],"sourceRoot":""}
{{ error }}