{"version":3,"sources":["webpack:///./node_modules/core-js/modules/es.string.trim.js","webpack:///./node_modules/core-js/internals/whitespaces.js","webpack:///./node_modules/core-js/internals/string-trim.js","webpack:///./src/views/ForgotPassword.vue?d934","webpack:///./node_modules/core-js/internals/string-trim-forced.js","webpack:///./src/views/ForgotPassword.vue","webpack:///./src/lib/forgot-password.js","webpack:///./src/views/ForgotPassword.vue?546e"],"names":["$","$trim","trim","forcedStringTrimMethod","target","proto","forced","this","module","exports","uncurryThis","requireObjectCoercible","toString","whitespaces","replace","whitespace","ltrim","RegExp","rtrim","createMethod","TYPE","$this","string","start","end","PROPER_FUNCTION_NAME","PROPER","fails","non","METHOD_NAME","name","class","_createElementVNode","_hoisted_6","id","type","_hoisted_17","_createElementBlock","_createVNode","_component_webstyle_logo","_component_vue_bootstrap_blocking_notifications","_ctx","_hoisted_3","$data","_hoisted_8","onSubmit","$options","_hoisted_10","_hoisted_13","placeholder","aria-label","aria-describedby","autocomplete","autofocus","ref","opname","$event","_hoisted_14","_hoisted_19","_component_router_link","to","ForgotPassword","Error","cause","code","reason","send","c_apirid","request_apirid","c_search","URLSearchParams","apirid","c_data","util","clone","c_name","c_url","axios","data","method","url","o_response","o_result","error","c_reason","JSON","stringify","RequestError","message","result","Model","emits","components","WebstyleLogo","forgot_password","success","computed","mapGetters","methods","on_form_submit","blocking_notification_show","submit","blocking_notification_clear","mapActions","mounted","set_page_title","$refs","focus","__exports__","render"],"mappings":"2IACA,IAAIA,EAAI,EAAQ,QACZC,EAAQ,EAAQ,QAA4BC,KAC5CC,EAAyB,EAAQ,QAIrCH,EAAE,CAAEI,OAAQ,SAAUC,OAAO,EAAMC,OAAQH,EAAuB,SAAW,CAC3ED,KAAM,WACJ,OAAOD,EAAMM,U,mBCRjBC,EAAOC,QAAU,iD,uBCDjB,IAAIC,EAAc,EAAQ,QACtBC,EAAyB,EAAQ,QACjCC,EAAW,EAAQ,QACnBC,EAAc,EAAQ,QAEtBC,EAAUJ,EAAY,GAAGI,S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C,OAGpC,IAAII,OAAJ,iCAA4CL,EAASC,MAAMK,SAC9D,CAAEzB,MAAO,CAAEC,KAAM,IAAKC,OAAQmB,KA3B1C,eA+BM7E,KAAKkF,OAASP,EAASO,OA/B7B,kBAgCaP,GAhCb,0CAoCU,gBAAeK,QApCzB,0CAwCY,IAAIzB,MAAJ,UAAca,EAAd,oBAAgC,KAAIa,SACvC,CAAEzB,MAAO,CAAEC,KAAM,IAAKC,OAAQ,KAAIrD,cAzC3C,0D,iFAfA,WACG,MAAO,CACJ6E,OAAQ,KACRlC,OAAQ,Q,GALYmC,QA+Dd7B,I,YDDA,GACZ8B,MAAO,GACP7D,KAAM,UAEN8D,WAAY,CACTC,qBAGHf,KARY,WAST,MAAO,CACJgB,gBAAiB,IAAIjC,EACrBkC,SAAS,IAIfC,SAAQ,kBACFC,eAAW,KAIjBC,QAAS,gBACAC,eADA,WACgB,+JACnB,EAAKC,2BAA4B,OAAjC,kBADmB,kBAIV,EAAKN,gBAAgBO,SAJX,OAKhB,EAAKC,8BACL,EAAKP,SAAU,EANC,mDAShB,EAAKK,2BAA4B,UAAW,KAAIZ,SAThC,6DAcnBe,eAAW,CACX,oBAINC,QAxCY,WAyCTjG,KAAKkG,eAAgB,IAOrBlG,KAAKmG,MAAMrD,WAAa9C,KAAKmG,MAAMrD,UAAUsD,U,iCE/GnD,MAAMC,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAE1E","file":"js/chunk-7f9134d4.bc4e8655.js","sourcesContent":["'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar whitespace = '[' + whitespaces + ']';\nvar ltrim = RegExp('^' + whitespace + whitespace + '*');\nvar rtrim = RegExp(whitespace + whitespace + '*$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ForgotPassword.vue?vue&type=style&index=0&id=2eff32aa&scoped=true&lang=css\"","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","\n
\n
\n \n \n\n
\n
\n Your request was accepted. You will receive an e-mail with the\n next step to reset your password. Be sure to\n check any spam folders you may have.\n If you have not received the e-mail within five minutes,\n please click the \"Contact Us\" link and let us know so we\n can help you.\n
\n\n\n \n
\n
\n
\n\n\n\n\n\n\n\n","'use strict'; // jshint ignore:line\n// import store from '@/store';\nimport axios from 'axios';\nimport request_apirid from '@/lib/request-apirid';\nimport Model from '@/lib/model';\nimport RequestError from '@/lib/request-error';\nimport util from '@/util';\n\nclass ForgotPassword extends Model {\n\n static get attributes(){\n return {\n result: null,\n opname: '',\n };\n }// /static get attributes()\n\n async submit(){\n if( !this.opname.trim() ){\n throw new Error( `Username is empty. Please enter a valid username.`,\n { cause: { code: 500, reason: 'no opname', }, } );\n }\n return this.send();\n }// /submit()\n\n async send(){\n const c_apirid = request_apirid();\n const c_search = new URLSearchParams({\n apirid: c_apirid,\n } ).toString();\n const c_data = new URLSearchParams( util.clone( this ) ).toString();\n const c_name = 'forgotpasswordsubmit2';\n const c_url = `/api/v1/${c_name}.wr?${c_search}`;\n\n try{\n const o_response = await axios({\n data: c_data,\n method: 'post',\n url: c_url,\n });\n\n const o_result = o_response.data;\n\n // The server received our request and provided us with a valid JSON\n // response. Now we check if the web1 server's response contains an error \n // message.\n if (o_result.error) {\n // The server sent us an error message. Display the message to the user.\n const c_reason = JSON.stringify( o_result.error );\n\n // Obfuscate the error source.\n throw new RequestError( `Forgot password error: ${o_result.error.message}`,\n { cause: { code: 500, reason: c_reason, }, } );\n }\n \n // At this point the server has provided us with the data we asked for.\n this.result = o_result.result;\n return o_result;\n }\n catch( err ){\n // This can happend when web1 randomly returns a \"no output\" html error.\n if( err instanceof RequestError ){\n throw err;\n }\n\n throw new Error( `${c_name} Failed: ${err.message}`,\n { cause: { code: 500, reason: err.toString(), }, } );\n }\n }// /send()\n}// /class ForgotPassword()\n\nexport default ForgotPassword;\n","import { render } from \"./ForgotPassword.vue?vue&type=template&id=2eff32aa&scoped=true\"\nimport script from \"./ForgotPassword.vue?vue&type=script&lang=js\"\nexport * from \"./ForgotPassword.vue?vue&type=script&lang=js\"\n\nimport \"./ForgotPassword.vue?vue&type=style&index=0&id=2eff32aa&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/sjohnson/project/web1-account-login/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2eff32aa\"]])\n\nexport default __exports__"],"sourceRoot":""}