{"version":3,"sources":["webpack:///static-appopensalud/js/90.7bfd0e80851faf87fc4d.js","webpack:///./src/components/views/account/LoginOrRegister.vue","webpack:///src/components/views/account/LoginOrRegister.vue","webpack:///./src/components/views/account/LoginOrRegister.vue?1021","webpack:///./src/components/views/account/LoginOrRegister.vue?f167","webpack:///./src/components/views/account/LoginOrRegister.vue?a689"],"names":["webpackJsonp","2303","module","__webpack_exports__","__webpack_require__","injectStyle","ssrContext","disposed","normalizeComponent","__vue_styles__","Component","options","__file","2716","__WEBPACK_IMPORTED_MODULE_0_bootstrap_vue__","__WEBPACK_IMPORTED_MODULE_1__components_forms_LoginForm__","__WEBPACK_IMPORTED_MODULE_2__router_index__","__WEBPACK_IMPORTED_MODULE_3__constants_platformNames__","__WEBPACK_IMPORTED_MODULE_4__mixins_account_mixin__","__WEBPACK_IMPORTED_MODULE_5__components_base_BaseDialog__","name","mixins","components","BForm","BAlert","BFormGroup","BFormInput","BFormInvalidFeedback","BButton","LoginForm","data","USER_TYPES","methods","created","this","PATIENT","inOpenlegal","PROFESSIONAL","CENTER","computed","showProfessionalButton","showCenterButton","patientBtnText","$t","2888","exports","content","i","locals","2889","push","2890","render","this$1","_vm","_h","$createElement","_c","_self","attrs","okFn","registerUser","cancelFn","dialogOpenlegalLaywerVisible","model","value","callback","$$v","expression","_v","staticClass","cols","xl","style","cardHeight","title","_s","inOpensalud360","_e","staticStyle","variant","on","click","registerProfessional","registerPatient","registerCenter","staticRenderFns","_withStripped","esExports"],"mappings":"AAAAA,cAAc,KAERC,KACA,SAAUC,EAAQC,EAAqBC,GAE7C,YCJA,SAASC,GAAaC,GAChBC,GACJ,EAAQ,MAHV,yEAAIA,GAAW,EAKXC,EAAqB,EAAQ,GAS7BC,EAAiBJ,EAKjBK,EAAYF,EACd,IACA,KATgC,EAWhCC,EAPoB,kBAEU,KAShCC,GAAUC,QAAQC,OAAS,mDAkBZ,UAAAF,EAAiB,SDe1BG,KACA,SAAUX,EAAQC,EAAqBC,GAE7C,YAC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MAAO5B,EAAI8B,mBAGjB9B,EAAIe,GACF,eAAiBf,EAAIsB,GAAGtB,EAAIZ,gBAAkB,gBAIpDY,EAAIe,GAAG,KACPf,EAAIb,iBACAgB,EACE,eAEEa,YAAa,gCACbX,OAASqB,QAAS,WAClBC,IAAMC,MAAO5B,EAAI+B,kBAGjB/B,EAAIe,GACF,eACEf,EAAIsB,GACFtB,EAAIlB,cACAkB,EAAIX,GAAG,qBACPW,EAAIX,GAAG,qBAEb,gBAIRW,EAAIwB,MAEV,QAMV,IAGAQ,IACJlC,GAAOmC,eAAgB,CACvB,IAAIC,IAAcpC,OAAQA,EAAQkC,gBAAiBA,EACpC","file":"static-appopensalud/js/90.7bfd0e80851faf87fc4d.js","sourcesContent":["webpackJsonp([90],{\n\n/***/ 2303:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_LoginOrRegister_vue__ = __webpack_require__(2716);\n/* empty harmony namespace reexport */\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2d75076c_hasScoped_true_transformToRequire_video_src_poster_source_src_img_src_image_xlink_href_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_LoginOrRegister_vue__ = __webpack_require__(2890);\nvar disposed = false\nfunction injectStyle (ssrContext) {\n if (disposed) return\n __webpack_require__(2888)\n}\nvar normalizeComponent = __webpack_require__(6)\n/* script */\n\n\n/* template */\n\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-2d75076c\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_LoginOrRegister_vue__[\"a\" /* default */],\n __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2d75076c_hasScoped_true_transformToRequire_video_src_poster_source_src_img_src_image_xlink_href_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_LoginOrRegister_vue__[\"a\" /* default */],\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\nComponent.options.__file = \"src/components/views/account/LoginOrRegister.vue\"\n\n/* hot reload */\nif (false) {(function () {\n var hotAPI = require(\"vue-hot-reload-api\")\n hotAPI.install(require(\"vue\"), false)\n if (!hotAPI.compatible) return\n module.hot.accept()\n if (!module.hot.data) {\n hotAPI.createRecord(\"data-v-2d75076c\", Component.options)\n } else {\n hotAPI.reload(\"data-v-2d75076c\", Component.options)\n }\n module.hot.dispose(function (data) {\n disposed = true\n })\n})()}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Component.exports);\n\n\n/***/ }),\n\n/***/ 2716:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_bootstrap_vue__ = __webpack_require__(17);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__components_forms_LoginForm__ = __webpack_require__(1227);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__router_index__ = __webpack_require__(290);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__constants_platformNames__ = __webpack_require__(48);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__mixins_account_mixin__ = __webpack_require__(211);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_base_BaseDialog__ = __webpack_require__(106);\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n name: 'Login',\n mixins: [__WEBPACK_IMPORTED_MODULE_4__mixins_account_mixin__[\"a\" /* default */]],\n components: {\n BForm: __WEBPACK_IMPORTED_MODULE_0_bootstrap_vue__[\"m\" /* BForm */],\n BAlert: __WEBPACK_IMPORTED_MODULE_0_bootstrap_vue__[\"a\" /* BAlert */],\n BFormGroup: __WEBPACK_IMPORTED_MODULE_0_bootstrap_vue__[\"r\" /* BFormGroup */],\n BFormInput: __WEBPACK_IMPORTED_MODULE_0_bootstrap_vue__[\"s\" /* BFormInput */],\n BFormInvalidFeedback: __WEBPACK_IMPORTED_MODULE_0_bootstrap_vue__[\"t\" /* BFormInvalidFeedback */],\n BButton: __WEBPACK_IMPORTED_MODULE_0_bootstrap_vue__[\"d\" /* BButton */],\n LoginForm: __WEBPACK_IMPORTED_MODULE_1__components_forms_LoginForm__[\"default\"],\n BaseDialog: __WEBPACK_IMPORTED_MODULE_5__components_base_BaseDialog__[\"default\"]\n },\n data: function data() {\n return {\n USER_TYPES: null,\n dialogOpenlegalLaywerVisible: false,\n inOpenlegal: __WEBPACK_IMPORTED_MODULE_3__constants_platformNames__[\"k\" /* inOpenlegal */],\n inOpensalud360: __WEBPACK_IMPORTED_MODULE_3__constants_platformNames__[\"l\" /* inOpensalud360 */]\n };\n },\n\n methods: {\n registerUser: function registerUser(userType) {\n var returnUrl = __WEBPACK_IMPORTED_MODULE_2__router_index__[\"a\" /* default */].currentRoute.query.returnUrl || __WEBPACK_IMPORTED_MODULE_2__router_index__[\"a\" /* default */].currentRoute.query.ReturnUrl;\n // Regex to capture string like HomePaciente, HomeProfesional, HomeCentro in return url\n if (returnUrl) {\n var match = /home(paciente|profesional|centro)+/i.exec(returnUrl);\n if (match && match[1] && match[1].toLowerCase() !== userType) {\n returnUrl = null;\n }\n }\n this.$router.push('/registro-' + userType + (returnUrl ? '?returnUrl=' + encodeURIComponent(returnUrl) : ''));\n },\n registerProfessional: function registerProfessional() {\n if (this.inOpenlegal()) {\n this.dialogOpenlegalLaywerVisible = true;\n return;\n }\n return this.registerUser(this.USER_TYPES.PROFESSIONAL);\n },\n registerPatient: function registerPatient() {\n return this.registerUser(this.USER_TYPES.PATIENT);\n },\n registerCenter: function registerCenter() {\n return this.registerUser(this.USER_TYPES.CENTER);\n }\n },\n created: function created() {\n /* this.redirectIfAuthenticated() */\n this.USER_TYPES = {\n PATIENT: this.inOpenlegal() ? 'cliente' : 'paciente',\n PROFESSIONAL: this.inOpenlegal() ? 'abogado' : 'profesional',\n CENTER: this.inOpenlegal() ? 'bufete' : 'centro'\n };\n },\n\n computed: {\n showProfessionalButton: function showProfessionalButton() {\n return !Object(__WEBPACK_IMPORTED_MODULE_3__constants_platformNames__[\"l\" /* inOpensalud360 */])();\n },\n showCenterButton: function showCenterButton() {\n return !this.inOpenlegal() && !Object(__WEBPACK_IMPORTED_MODULE_3__constants_platformNames__[\"l\" /* inOpensalud360 */])();\n },\n patientBtnText: function patientBtnText() {\n return this.inOpenlegal() ? this.$t('login.iam-client') : Object(__WEBPACK_IMPORTED_MODULE_3__constants_platformNames__[\"l\" /* inOpensalud360 */])() ? this.$t('signup-title') : this.$t('login.iam-patient');\n },\n cardHeight: function cardHeight() {\n return !this.$uiHelpers.isMobile ? this.inOpenlegal() ? '540px' : '457px' : 'auto';\n }\n }\n});\n\n/***/ }),\n\n/***/ 2888:\n/***/ (function(module, exports, __webpack_require__) {\n\n// style-loader: Adds some css to the DOM by adding a \n\n\n// WEBPACK FOOTER //\n// src/components/views/account/LoginOrRegister.vue","// style-loader: Adds some css to the DOM by adding a