{"version":3,"sources":["webpack:///static-appopensalud/js/75.58b7ed87d14394420fd6.js","webpack:///./src/components/views/opensalud/Contacto.vue","webpack:///./src/repositories/MarketingRepository.js","webpack:///src/components/views/opensalud/Contacto.vue","webpack:///src/components/forms/ContactForm.vue","webpack:///./src/components/views/opensalud/Contacto.vue?c4c6","webpack:///./src/components/views/opensalud/Contacto.vue?33f0","webpack:///./src/components/forms/ContactForm.vue","webpack:///./src/components/forms/ContactForm.vue?e7fe","webpack:///./src/components/forms/ContactForm.vue?c745","webpack:///./src/components/forms/ContactForm.vue?4abf","webpack:///./src/components/views/opensalud/Contacto.vue?bc55"],"names":["webpackJsonp","2369","module","__webpack_exports__","__webpack_require__","injectStyle","ssrContext","disposed","normalizeComponent","__vue_styles__","Component","options","__file","2505","client","Vue","prototype","$api","sendCompaniesContactForm","form","post","subscribePromotionOpenlegal","email","type","3183","__WEBPACK_IMPORTED_MODULE_0__components_forms_ContactForm_vue__","components","ContactForm","3184","__WEBPACK_IMPORTED_MODULE_0__lang_es_forms_companies_contact_form_json__","__WEBPACK_IMPORTED_MODULE_0__lang_es_forms_companies_contact_form_json___default","n","__WEBPACK_IMPORTED_MODULE_1__lang_en_forms_companies_contact_form_json__","__WEBPACK_IMPORTED_MODULE_1__lang_en_forms_companies_contact_form_json___default","__WEBPACK_IMPORTED_MODULE_2__lang_pt_forms_companies_contact_form_json__","__WEBPACK_IMPORTED_MODULE_2__lang_pt_forms_companies_contact_form_json___default","__WEBPACK_IMPORTED_MODULE_3__repositories_MarketingRepository__","__WEBPACK_IMPORTED_MODULE_4__repositories_GeographyRepository__","__WEBPACK_IMPORTED_MODULE_5_lodash__","__WEBPACK_IMPORTED_MODULE_6__components_base_ui_BaseAlert__","__WEBPACK_IMPORTED_MODULE_7__components_base_forms_BaseSelect__","name","BaseAlert","i18n","messages","es","en","mx","pt","methods","sendContactForm","this","entityType","forIndividuals","forIndividualsOnly","$store","dispatch","$t","formLegalConsentOptions","privacyPolicy","trafficSource","$route","query","utm_source","productName","props","black","Boolean","required","default","title","String","platform","subtitle","serviceType","forCompaniesOnly","showDescription","hideEmployeesNumber","showReason","showCollegiateNumber","hideWebsite","callbackPath","isolated","data","firstName","lastName","description","phone","reason","formOptions","entityTypes","employeesNum","provinces","subscriptionTypeId","mounted","value","stateName","label","computed","isCompany","3537","exports","content","i","locals","3538","push","3539","3540","3541","3542","render","_vm","_h","$createElement","_c","_self","staticClass","class","section","$uiHelpers","isMobile","attrs","id","mobile","lg","md","_v","_s","placeholder","model","callback","$$v","$set","expression","domProps","innerHTML","outline","on","click","staticRenderFns","_withStripped","esExports","3543"],"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,KAEU,KAShCC,GAAUC,QAAQC,OAAS,8CAkBZ,UAAAF,EAAiB,SDe1BG,KACA,SAAUX,EAAQC,EAAqBC,GAE7C,YE/DA,aAEMU,EAASC,UAAIC,UAAUC,IAId,MACXC,yBADW,SACeC,GACtB,MAAOL,GAAOM,KAAK,6BAA8BD,IAEvDE,4BAJa,SAIgBC,GAC5B,MAAOR,GAAOM,KAAK,gCAClBE,QACAC,KAT+C,2BFkF7CC,KACA,SAAUtB,EAAQC,EAAqBC,GAE7C,YACqB,IAAIqB,GAAkErB,EAAoB,KGnF/G,MACEsB,YACEC,YAAJ,OHiGMC,KACA,SAAU1B,EAAQC,EAAqBC,GAE7C,YACqB,IAAIyB,GAA2EzB,EAAoB,KAC/F0B,EAAmF1B,EAAoB2B,EAAEF,GACzGG,EAA2E5B,EAAoB,KAC/F6B,EAAmF7B,EAAoB2B,EAAEC,GACzGE,EAA2E9B,EAAoB,KAC/F+B,EAAmF/B,EAAoB2B,EAAEG,GACzGE,EAAkEhC,EAAoB,MACtFiC,EAAk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/75.58b7ed87d14394420fd6.js","sourcesContent":["webpackJsonp([75],{\n\n/***/ 2369:\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_Contacto_vue__ = __webpack_require__(3183);\n/* empty harmony namespace reexport */\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2914b56c_hasScoped_false_transformToRequire_video_src_poster_source_src_img_src_image_xlink_href_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Contacto_vue__ = __webpack_require__(3543);\nvar disposed = false\nfunction injectStyle (ssrContext) {\n if (disposed) return\n __webpack_require__(3537)\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__ = null\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_Contacto_vue__[\"a\" /* default */],\n __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2914b56c_hasScoped_false_transformToRequire_video_src_poster_source_src_img_src_image_xlink_href_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Contacto_vue__[\"a\" /* default */],\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\nComponent.options.__file = \"src/components/views/opensalud/Contacto.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-2914b56c\", Component.options)\n } else {\n hotAPI.reload(\"data-v-2914b56c\", 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/***/ 2505:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* unused harmony export OPENLEGAL_PROMOTION_NEWSLETTER_TYPE */\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue__ = __webpack_require__(25);\n\n\nvar client = __WEBPACK_IMPORTED_MODULE_0_vue__[\"default\"].prototype.$api;\n\nvar OPENLEGAL_PROMOTION_NEWSLETTER_TYPE = 'OPENLEGAL_PROMOTION';\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n\tsendCompaniesContactForm: function sendCompaniesContactForm(form) {\n\t\treturn client.post('/mk/companies-contact-form', form);\n\t},\n\tsubscribePromotionOpenlegal: function subscribePromotionOpenlegal(email) {\n\t\treturn client.post('/mk/newsletter-registrations', {\n\t\t\temail: email,\n\t\t\ttype: OPENLEGAL_PROMOTION_NEWSLETTER_TYPE\n\t\t});\n\t}\n});\n\n/***/ }),\n\n/***/ 3183:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_forms_ContactForm_vue__ = __webpack_require__(3539);\n//\n//\n//\n//\n\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n components: {\n ContactForm: __WEBPACK_IMPORTED_MODULE_0__components_forms_ContactForm_vue__[\"a\" /* default */]\n }\n});\n\n/***/ }),\n\n/***/ 3184:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__lang_es_forms_companies_contact_form_json__ = __webpack_require__(283);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__lang_es_forms_companies_contact_form_json___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__lang_es_forms_companies_contact_form_json__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__lang_en_forms_companies_contact_form_json__ = __webpack_require__(514);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__lang_en_forms_companies_contact_form_json___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__lang_en_forms_companies_contact_form_json__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__lang_pt_forms_companies_contact_form_json__ = __webpack_require__(515);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__lang_pt_forms_companies_contact_form_json___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__lang_pt_forms_companies_contact_form_json__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__repositories_MarketingRepository__ = __webpack_require__(2505);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__repositories_GeographyRepository__ = __webpack_require__(1252);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_lodash__ = __webpack_require__(1251);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_lodash___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_lodash__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_base_ui_BaseAlert__ = __webpack_require__(511);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__components_base_forms_BaseSelect__ = __webpack_require__(509);\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\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n name: 'ContactForm',\n components: {\n BaseAlert: __WEBPACK_IMPORTED_MODULE_6__components_base_ui_BaseAlert__[\"a\" /* default */],\n BaseSelect: __WEBPACK_IMPORTED_MODULE_7__components_base_forms_BaseSelect__[\"default\"]\n },\n i18n: {\n messages: {\n es: __WEBPACK_IMPORTED_MODULE_0__lang_es_forms_companies_contact_form_json___default.a,\n en: __WEBPACK_IMPORTED_MODULE_1__lang_en_forms_companies_contact_form_json___default.a,\n mx: __WEBPACK_IMPORTED_MODULE_0__lang_es_forms_companies_contact_form_json___default.a,\n pt: __WEBPACK_IMPORTED_MODULE_2__lang_pt_forms_companies_contact_form_json___default.a\n }\n },\n methods: {\n sendContactForm: function sendContactForm() {\n var _this = this;\n\n if (this.form.entityType == null) {\n this.$store.dispatch('showDangerAlert', this.$t('companies-contact-form.form.errors.required-entity-type'));\n return;\n }\n if (this.form.entityType == null && !this.forIndividuals && !this.forIndividualsOnly) {\n this.form.entityType = 'company';\n } else if (this.form.entityType == null && this.forIndividualsOnly) {\n this.form.entityType = 'individual';\n } else if (this.form.entityType == null) {\n this.$store.dispatch('showDangerAlert', this.$t('companies-contact-form.form.errors.required-entity-type'));\n return;\n }\n if (!this.formLegalConsentOptions.privacyPolicy) {\n this.$store.dispatch('showDangerAlert', this.$t('companies-contact-form.form.errors.required-consent'));\n return;\n }\n if (!this.formLegalConsentOptions.privacyPolicy) {\n this.$store.dispatch('showDangerAlert', this.$t('companies-contact-form.form.errors.required-consent'));\n }\n\n this.form.trafficSource = this.$route.query.utm_source || 'organic';\n\n this.form.productName = this.productName;\n __WEBPACK_IMPORTED_MODULE_3__repositories_MarketingRepository__[\"a\" /* default */].sendCompaniesContactForm(this.form).then(function (response) {\n /* this.$store.dispatch('showAlert', { text: this.$t('form.success'), variant: 'success' }) */\n if (!response || !response.status || response.status !== 200) {\n _this.$store.dispatch('showDangerAlert', _this.$t('error.try-again'));\n return;\n }\n _this.$router.push(_this.callbackPath);\n });\n }\n },\n props: {\n black: {\n type: Boolean,\n required: false,\n default: false\n },\n title: {\n type: String,\n required: false,\n default: function _default() {\n return this.$t('companies-contact-form.contact-us');\n }\n },\n platform: {\n type: String,\n required: false,\n default: 'Opensalud'\n },\n productName: {\n type: String,\n required: false,\n default: 'opensalud'\n },\n subtitle: {\n type: String,\n required: false\n },\n serviceType: {\n type: String,\n required: false,\n default: function _default() {\n return this.$t('companies-contact-form.service-type.digital-health');\n }\n },\n forIndividuals: {\n type: Boolean,\n required: false,\n default: false\n },\n forIndividualsOnly: {\n type: Boolean,\n required: false,\n default: false\n },\n forCompaniesOnly: {\n type: Boolean,\n required: false,\n default: false\n },\n showDescription: {\n type: Boolean,\n required: false,\n default: false\n },\n hideEmployeesNumber: {\n type: Boolean,\n required: false,\n default: false\n },\n showReason: {\n type: Boolean,\n required: false,\n default: false\n },\n showCollegiateNumber: {\n type: Boolean,\n required: false,\n default: false\n },\n hideWebsite: {\n type: Boolean,\n required: false,\n default: false\n },\n callbackPath: {\n type: String,\n required: false,\n default: '/contact/success'\n },\n isolated: {\n type: Boolean,\n required: false,\n default: false\n }\n },\n data: function data() {\n return {\n form: {\n firstName: null,\n lastName: null,\n description: null,\n phone: null,\n /* state: null, */\n email: null,\n entityType: null,\n reason: null\n },\n formOptions: {\n entityTypes: [{ value: 'Profesional', label: this.$t('companies-contact-form.form.entity-type.health-professional') }, { value: 'Empresa', label: this.$t('companies-contact-form.form.entity-type.company') }, { value: 'Particular', label: this.$t('companies-contact-form.form.entity-type.individual') }, { value: 'Usuario empresa', label: this.$t('companies-contact-form.form.entity-type.company-user') }, { value: 'Otros', label: this.$t('companies-contact-form.form.entity-type.others') }],\n employeesNum: [{\n value: '1',\n label: '1-10'\n }, {\n value: '2',\n label: '11-50'\n }, {\n value: '3',\n label: '51-200'\n }, {\n value: '4',\n label: '201-500'\n }, {\n value: '5',\n label: '501-1000'\n }, {\n value: '6',\n label: '1001-5000'\n }, {\n value: '7',\n label: '5001-10000'\n }, {\n value: '8',\n label: '10000+'\n }],\n provinces: []\n },\n formLegalConsentOptions: {\n privacyPolicy: false,\n subscriptionTypeId: '8323529'\n }\n };\n },\n mounted: function mounted() {\n var _this2 = this;\n\n __WEBPACK_IMPORTED_MODULE_4__repositories_GeographyRepository__[\"a\" /* default */].getStatesByCountry(28).then(function (response) {\n _this2.formOptions.provinces = Object(__WEBPACK_IMPORTED_MODULE_5_lodash__[\"map\"])(response.data.sort(function (a, b) {\n return _this2.$i18nHelpers.normalize(a.name).localeCompare(_this2.$i18nHelpers.normalize(b.name));\n }), function (item) {\n var stateName = _this2.$i18nHelpers.normalize(item.name);\n return {\n value: stateName,\n label: stateName\n };\n });\n });\n if (this.forCompaniesOnly && !this.form.entityType) {\n this.form.entityType = 'company';\n } else if (this.forIndividualsOnly && !this.form.entityType) {\n this.form.entityType = 'individual';\n }\n },\n\n computed: {\n isCompany: function isCompany() {\n return (!this.forIndividuals || this.form.entityType === 'company') && !this.forIndividualsOnly || this.forCompaniesOnly;\n }\n }\n});\n\n/***/ }),\n\n/***/ 3537:\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/opensalud/Contacto.vue","\r\n\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/forms/ContactForm.vue","// style-loader: Adds some css to the DOM by adding a