{"version":3,"sources":["webpack:///static-appopensalud/js/21.974cb3207d9f6da60e06.js","webpack:///./src/components/views/healthy-community/HealthyCommunity.vue","webpack:///src/components/views/healthy-community/HealthyCommunity.vue","webpack:///src/components/views/healthy-community/HealthyCommunityVerticalCard.vue","webpack:///./src/components/views/healthy-community/HealthyCommunity.vue?4f70","webpack:///./src/components/views/healthy-community/HealthyCommunity.vue?49b6","webpack:///./src/components/views/healthy-community/HealthyCommunityVerticalCard.vue","webpack:///./src/components/views/healthy-community/HealthyCommunityVerticalCard.vue?c940","webpack:///./src/components/views/healthy-community/HealthyCommunityVerticalCard.vue?8c3f","webpack:///./src/components/views/healthy-community/HealthyCommunityVerticalCard.vue?0cb3","webpack:///./src/components/views/healthy-community/HealthyCommunity.vue?2b9e"],"names":["webpackJsonp","1245","module","__webpack_exports__","__webpack_require__","injectStyle","ssrContext","disposed","normalizeComponent","__vue_styles__","Component","options","__file","3052","__WEBPACK_IMPORTED_MODULE_0__components_base_buttons_BackButton__","__WEBPACK_IMPORTED_MODULE_1__mixins_forum_mixin__","__WEBPACK_IMPORTED_MODULE_2__helpers_global_helpers__","__WEBPACK_IMPORTED_MODULE_3__components_views_healthy_community_HealthyCommunityVerticalCard__","__WEBPACK_IMPORTED_MODULE_4__constants_healthyCommunitySections__","name","mixins","components","HealthyCommunityVerticalCard","BackBtn","data","cards","created","this","$store","state","forum","hideSearcher","entriesPageNumber","hideAccessBtn","methods","goOpenhealth","location","href","getters","3053","__WEBPACK_IMPORTED_MODULE_0__mixins_forum_mixin__","__WEBPACK_IMPORTED_MODULE_1__components_base_ui_BaseCard__","__WEBPACK_IMPORTED_MODULE_2__components_base_buttons_BaseButton__","__WEBPACK_IMPORTED_MODULE_3__constants_healthyCommunitySections__","__WEBPACK_IMPORTED_MODULE_4_bootstrap_vue__","BaseCard","BaseButton","BBadge","props","blinkSoonLabelActive","sectionId","goToPath","session","logged","logIn","getHealthyCommunityPathUrl","e","currentTarget","getAttribute","$router","push","getPendingPushNotificationsMessage","numberNotifications","$t","plural","showPendingNotificationBySection","showPushNotifications","goSection","pushNotificationsReaded","getForumPathBySectionId","showPendingPushNotificationsInLanding","userBasicInfo","pushNotificationsSectionId","filter","highlightSoonLabel","3372","exports","content","i","locals","3373","3374","3375","3376","3377","render","_vm","_h","$createElement","_c","_self","staticClass","_l","item","index","key","attrs","cols","xl","path","on","click","$event","soonLabel","titleClass","class","isMobile","src","img","alt","height","width","color","_v","_s","title","domProps","innerHTML","description","staticStyle","stopPropagation","white","_e","blink","variant","staticRenderFns","_withStripped","esExports","3378","action"],"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,8DAkBZ,UAAAF,EAAiB,SDe1BG,KACA,SAAUX,EAAQC,EAAqBC,GAE7C,YACqB,IAAIU,GAAoEV,EAAoB,MACxFW,EAAoDX,EAAoB,KACxEY,EAAwDZ,EAAoB,IAC5Ea,EAAiGb,EAAoB,MACrHc,EAAoEd,EAAoB,IErDjH,MACEe,KAAM,oBACNC,QAAS,EAAX,GACEC,YACEC,6BAAJ,IACIC,QAAJ,KAEEC,KAPF,WAQI,OACEC,QAEE,MAAR,iBACQ,IAAR,mEACQ,YAAR,sCACQ,KAAR,gBACQ,UAAR,IACQ,WAAR,IAUQ,MAAR,2BACQ,IAAR,mEACQ,YAAR,mCACQ,KAAR,kBACQ,UAAR,QAKEC,QAnCF,WAoCIC,KAAKC,OAAOC,MAAMC,MAAMC,cAAe,EACvCJ,KAAKC,OAAOC,MAAMC,MAAME,kBAAoB,EAC5CL,KAAKC,OAAOC,MAAMC,MAAMG,eAAgB,GAE1CC,SACEC,aADJ,WAEMC,SAASC,KAAOV,KAAKC,OAAOU,QAA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OAAS4B,QAAS,aAEnBtC,EAAI2B,GAAG3B,EAAI4B,GAAG5B,EAAIvB,GAAG,mBAG1B,GAEFuB,EAAIoC,MAEV,IAGJ,KAGJ,IAGAG,IACJxC,GAAOyC,eAAgB,CACvB,IAAIC,IAAc1C,OAAQA,EAAQwC,gBAAiBA,EACpC,QTkYTG,KACA,SAAU9H,EAAQC,EAAqBC,GAE7C,YU3gBA,IAAIiF,GAAS,WACX,GAAIC,GAAM3D,KACN4D,EAAKD,EAAIE,eACTC,EAAKH,EAAII,MAAMD,IAAMF,CACzB,OAAOE,GACL,OACEE,YAAa,wCAEbF,EAAG,YACDE,YAAa,oBACbK,OACEiC,OAAQ,WACN,MAAO3C,GAAInD,mBAIjBmD,EAAI2B,GAAG,KACPxB,EAAG,MAAQE,YAAa,iCACtBL,EAAI2B,GAAG3B,EAAI4B,GAAG5B,EAAIvB,GAAG,6BAEvBuB,EAAI2B,GAAG,KACPxB,EAAG,mCAAqCO,OAASvE,MAAO6D,EAAI7D,UAE9D,IAGAoG,IACJxC,GAAOyC,eAAgB,CACvB,IAAIC,IAAc1C,OAAQA,EAAQwC,gBAAiBA,EACpC","file":"static-appopensalud/js/21.974cb3207d9f6da60e06.js","sourcesContent":["webpackJsonp([21],{\n\n/***/ 1245:\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_HealthyCommunity_vue__ = __webpack_require__(3052);\n/* empty harmony namespace reexport */\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_18980053_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_HealthyCommunity_vue__ = __webpack_require__(3378);\nvar disposed = false\nfunction injectStyle (ssrContext) {\n if (disposed) return\n __webpack_require__(3372)\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_HealthyCommunity_vue__[\"a\" /* default */],\n __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_18980053_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_HealthyCommunity_vue__[\"a\" /* default */],\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\nComponent.options.__file = \"src/components/views/healthy-community/HealthyCommunity.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-18980053\", Component.options)\n } else {\n hotAPI.reload(\"data-v-18980053\", 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/***/ 3052:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_base_buttons_BackButton__ = __webpack_require__(1211);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__mixins_forum_mixin__ = __webpack_require__(156);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__helpers_global_helpers__ = __webpack_require__(49);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_views_healthy_community_HealthyCommunityVerticalCard__ = __webpack_require__(3374);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__constants_healthyCommunitySections__ = __webpack_require__(214);\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n name: 'healthy-community',\n mixins: [__WEBPACK_IMPORTED_MODULE_1__mixins_forum_mixin__[\"a\" /* default */]],\n components: {\n HealthyCommunityVerticalCard: __WEBPACK_IMPORTED_MODULE_3__components_views_healthy_community_HealthyCommunityVerticalCard__[\"a\" /* default */],\n BackBtn: __WEBPACK_IMPORTED_MODULE_0__components_base_buttons_BackButton__[\"a\" /* default */]\n },\n data: function data() {\n return {\n cards: [{\n title: this.$t('whoIn'),\n img: '/static-appopensalud/img/healthy-community/who-in-simplified.svg',\n description: '' + this.$t('whoInSectionDescription'),\n path: 'quienseapunta',\n sectionId: __WEBPACK_IMPORTED_MODULE_4__constants_healthyCommunitySections__[\"c\" /* WHO_IN_HEALTH_COMMUNITY_SECTION */],\n soonLabel: true\n },\n /* {\r\n title: this.$t('healthyInformation'),\r\n img: '/static-appopensalud/img/healthy-community/healthy-information.svg',\r\n description: `${this.$t('healthyInformationSectionDescription')}`,\r\n path: 'informacionsalud',\r\n sectionId: HEALTHY_INFORMATION_HEALTH_COMMUNITY_SECTION\r\n }, */\n {\n title: this.$t('patientsLikeYou'),\n img: '/static-appopensalud/img/healthy-community/patients-like-you.svg',\n description: this.$t('forumSectionDescription'),\n path: 'pacientescomotu',\n sectionId: __WEBPACK_IMPORTED_MODULE_4__constants_healthyCommunitySections__[\"a\" /* FORUM_HEALTH_COMMUNITY_SECTION */]\n }]\n };\n },\n created: function created() {\n this.$store.state.forum.hideSearcher = true;\n this.$store.state.forum.entriesPageNumber = 0;\n this.$store.state.forum.hideAccessBtn = true;\n },\n\n methods: {\n goOpenhealth: function goOpenhealth() {\n location.href = this.$store.getters['forum/forumUserIsProfessionalRole'] ? 'https://app-360.opensalud.es/' + this.$i18n.locale + '/HomeProfesional' : 'https://' + (location.href.indexOf('test') > -1 ? 'pruebas-' : '') + '360.opensalud.' + __WEBPACK_IMPORTED_MODULE_2__helpers_global_helpers__[\"a\" /* country */] + '/' + (this.$store.getters['forum/forumUserIsPatientRole'] ? 'patient' : '');\n }\n }\n});\n\n/***/ }),\n\n/***/ 3053:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__mixins_forum_mixin__ = __webpack_require__(156);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__components_base_ui_BaseCard__ = __webpack_require__(275);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_base_buttons_BaseButton__ = __webpack_require__(105);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__constants_healthyCommunitySections__ = __webpack_require__(214);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_bootstrap_vue__ = __webpack_require__(17);\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: 'healthy-community-vertical-card',\n mixins: [__WEBPACK_IMPORTED_MODULE_0__mixins_forum_mixin__[\"a\" /* default */]],\n components: {\n BaseCard: __WEBPACK_IMPORTED_MODULE_1__components_base_ui_BaseCard__[\"default\"],\n BaseButton: __WEBPACK_IMPORTED_MODULE_2__components_base_buttons_BaseButton__[\"default\"],\n BBadge: __WEBPACK_IMPORTED_MODULE_4_bootstrap_vue__[\"b\" /* BBadge */]\n },\n props: {\n cards: {\n type: Array,\n required: true\n }\n },\n data: function data() {\n return {\n blinkSoonLabelActive: false\n };\n },\n created: function created() {\n this.$store.state.forum.sectionId = null;\n },\n\n methods: {\n goToPath: function goToPath(e, sectionId) {\n if (!this.$store.state.session.logged && (sectionId === __WEBPACK_IMPORTED_MODULE_3__constants_healthyCommunitySections__[\"b\" /* HEALTHY_INFORMATION_HEALTH_COMMUNITY_SECTION */] || sectionId === __WEBPACK_IMPORTED_MODULE_3__constants_healthyCommunitySections__[\"c\" /* WHO_IN_HEALTH_COMMUNITY_SECTION */])) {\n this.logIn(this.getHealthyCommunityPathUrl(e.currentTarget.getAttribute('data-path')));\n return;\n }\n this.$router.push(this.getHealthyCommunityPathUrl(e.currentTarget.getAttribute('data-path')));\n },\n getPendingPushNotificationsMessage: function getPendingPushNotificationsMessage(sectionId) {\n var numberNotifications = this.$store.state.forum.userBasicInfo.pushNotificationsSectionId.filter(function (x) {\n return x === sectionId;\n }).length;\n if (numberNotifications === 1) {\n return this.$t('newPushNotifications', { plural: '', numberNotifications: numberNotifications });\n } else if (numberNotifications > 1) {\n return this.$t('newPushNotifications', { plural: 's', numberNotifications: numberNotifications });\n }\n },\n showPendingNotificationBySection: function showPendingNotificationBySection(sectionId) {\n this.showPushNotifications(sectionId);\n },\n goSection: function goSection(sectionId) {\n this.pushNotificationsReaded(sectionId);\n this.$router.push(this.getHealthyCommunityPathUrl(this.getForumPathBySectionId(sectionId)));\n },\n showPendingPushNotificationsInLanding: function showPendingPushNotificationsInLanding(item) {\n return this.$store.state.forum.userBasicInfo.pushNotificationsSectionId.filter(function (x) {\n return x === item.sectionId;\n }).length > 0;\n },\n highlightSoonLabel: function highlightSoonLabel() {\n var _this = this;\n\n this.blinkSoonLabelActive = true;\n setTimeout(function () {\n _this.blinkSoonLabelActive = false;\n }, 4000);\n }\n }\n});\n\n/***/ }),\n\n/***/ 3372:\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/healthy-community/HealthyCommunity.vue","\r\n\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/views/healthy-community/HealthyCommunityVerticalCard.vue","// style-loader: Adds some css to the DOM by adding a