{"version":3,"sources":["webpack:///./src/components/CloseButton.vue?d90c","webpack:///./src/components/CloseButton.vue","webpack:///./src/components/CloseButton.vue?6241","webpack:///./src/components/CloseButton.vue?5645","webpack:///./src/views/ForgotPassword.vue?5edd","webpack:///./src/views/ForgotPassword.vue","webpack:///./src/views/ForgotPassword.vue?c2ae","webpack:///./src/views/ForgotPassword.vue?87c4"],"names":["render","_vm","this","_h","$createElement","_c","_self","hide","_e","staticClass","staticStyle","attrs","on","goToHome","_v","staticRenderFns","Vue","extend","computed","mapGetters","$route","path","methods","user","$router","push","signoutConfirm","component","VBtn","$event","preventDefault","passwordResetSend","apply","arguments","directives","name","rawName","value","expression","ref","errors","collect","model","callback","$$v","email","loading","components","CloseButton","data","$validator","validateAll","valid","$store","dispatch","message","type","title","text","icon","color","VTextField"],"mappings":"iHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAASF,EAAIM,KAA2MN,EAAIO,KAAzMH,EAAG,QAAQ,CAACI,YAAY,uBAAuBC,YAAY,CAAC,SAAW,QAAQ,KAAO,OAAO,IAAM,OAAO,UAAU,KAAKC,MAAM,CAAC,KAAO,GAAG,MAAQ,IAAIC,GAAG,CAAC,MAAQX,EAAIY,WAAW,CAACZ,EAAIa,GAAG,aACjSC,EAAkB,G,gDCSPC,SAAIC,OAAO,CACtBC,SAAU,iCACHC,eAAW,CAAC,UADX,IAEJZ,KAFM,WAIF,IAAMA,EAAO,CACT,KAAK,EACL,kBAAkB,EAClB,WAAW,GAIf,OAAOA,EAAKL,KAAKkB,OAAOC,QAAS,KAGzCC,QAAS,CACLT,SADK,WAGD,IAAKX,KAAKqB,KAAM,OAAOrB,KAAKsB,QAAQC,KAAK,KAGzCC,qBC/B0X,I,6CCOlYC,EAAY,eACd,EACA3B,EACAe,GACA,EACA,KACA,KACA,MAIa,OAAAY,EAAiB,QAKhC,IAAkBA,EAAW,CAACC,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B,WAAWC,cAFjB,UAEbC,EAFa,OAKdA,EALc,wDAQnB,EAAKN,SAAU,EARI,SAWG,EAAKO,OAAOC,SAC9B,6BACA,EAAKT,OAbU,UAWbU,EAXa,OAiBnB,EAAKT,SAAU,EAGVS,EApBc,mDAuBnB,EAAK/B,QAAQC,KAAK,KAGlB,EAAK4B,OAAOC,SAAS,aAAc,CAC/BE,KAAM,UACNC,MAAO,sBACPC,KAAM,2CAAF,OAA6C,EAAKb,MAAlD,oDACJc,KAAM,mBACNC,MAAO,YA/BQ,kDClC0W,I,yDCOrYjC,EAAY,eACd,EACA3B,EACAe,GACA,EACA,KACA,KACA,MAIa,aAAAY,EAAiB,QAMhC,IAAkBA,EAAW,CAACC,OAAA,KAAKiC,aAAA","file":"js/forgot-password.7d7e991c.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.hide)?_c('v-btn',{staticClass:\"subtitle black--text\",staticStyle:{\"position\":\"fixed\",\"left\":\"10px\",\"top\":\"10px\",\"z-index\":\"1\"},attrs:{\"icon\":\"\",\"large\":\"\"},on:{\"click\":_vm.goToHome}},[_vm._v(\" Back \")]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { mapGetters } from 'vuex'\nimport Vue from 'vue'\nimport { signoutConfirm } from '@/utility/helpers'\nexport default Vue.extend({\n computed: {\n ...mapGetters(['user']),\n hide(): boolean {\n // Array of routes we do not want to display on\n const hide = {\n '/': true,\n '/register/user': true,\n '/signin': true\n }\n\n // Hide if we are on one of those routes\n return hide[this.$route.path] || false\n }\n },\n methods: {\n goToHome(): void {\n // If an authenticated user does NOT exist, route to home\n if (!this.user) return this.$router.push('/')\n\n // Else, we need to signout the user, so pop signout confirm\n signoutConfirm()\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CloseButton.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CloseButton.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CloseButton.vue?vue&type=template&id=7efbfe72&\"\nimport script from \"./CloseButton.vue?vue&type=script&lang=ts&\"\nexport * from \"./CloseButton.vue?vue&type=script&lang=ts&\"\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';\ninstallComponents(component, {VBtn})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('main-page-template',{attrs:{\"title\":\"Forgot Password?\",\"img\":\"\"}},[_c('close-button'),_c('p',{staticStyle:{\"max-width\":\"400px\"}},[_vm._v(\" A password reset link will be sent to the email provided. Click the secure link to reset your password. \")]),_c('form',{staticClass:\"mt-2\",staticStyle:{\"max-width\":\"400px\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.passwordResetSend.apply(null, arguments)}}},[_c('v-text-field',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|email'),expression:\"'required|email'\"}],ref:\"email\",attrs:{\"name\":\"Email\",\"label\":\"Email\",\"type\":\"email\",\"error-messages\":_vm.errors.collect('Email'),\"required\":\"\"},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}}),_c('v-btn',{staticClass:\"my-6\",attrs:{\"width\":\"180\",\"rounded\":\"\",\"color\":\"primary\",\"loading\":_vm.loading,\"disabled\":_vm.loading,\"type\":\"submit\"}},[_vm._v(\" Send Email \")])],1),_c('a',{staticStyle:{\"width\":\"200px\"},on:{\"click\":function($event){return _vm.$router.push('/signin')}}},[_vm._v(\" Cancel \")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue'\nimport CloseButton from '@/components/CloseButton.vue'\nexport default Vue.extend({\n components: { CloseButton },\n data() {\n return {\n email: '',\n loading: false\n }\n },\n methods: {\n async passwordResetSend(): Promise {\n // Validate the form\n const valid = await this.$validator.validateAll()\n\n // If the form is NOT valid, do nothing\n if (!valid) return\n\n // Start the loading spinner\n this.loading = true\n\n // Send a password reset email\n const message = await this.$store.dispatch(\n 'authPasswordResetEmailSend',\n this.email\n )\n\n // Stop the loading spinner\n this.loading = false\n\n // If the request failed, do nothing\n if (!message) return\n\n // Else, route to home page\n this.$router.push('/')\n\n // Notify the user of successful email send\n this.$store.dispatch('dialogOpen', {\n type: 'MESSAGE',\n title: 'Password Reset Sent',\n text: `A password reset email has been sent to ${this.email}. Please follow the link to reset your password.`,\n icon: 'mdi-check-circle',\n color: 'primary'\n })\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ForgotPassword.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ForgotPassword.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ForgotPassword.vue?vue&type=template&id=1c005007&\"\nimport script from \"./ForgotPassword.vue?vue&type=script&lang=ts&\"\nexport * from \"./ForgotPassword.vue?vue&type=script&lang=ts&\"\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 { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VTextField})\n"],"sourceRoot":""}