(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[59],{

/***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=script&lang=js&":
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=script&lang=js& ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator */ \"./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread2 */ \"./node_modules/@babel/runtime/helpers/esm/objectSpread2.js\");\n/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! regenerator-runtime/runtime.js */ \"./node_modules/regenerator-runtime/runtime.js\");\n/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"./node_modules/core-js/modules/es.number.constructor.js\");\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ \"./node_modules/core-js/modules/es.array.map.js\");\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.splice.js */ \"./node_modules/core-js/modules/es.array.splice.js\");\n/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! bootstrap-vue */ \"./node_modules/bootstrap-vue/esm/index.js\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/store */ \"./src/store/index.js\");\n/* harmony import */ var vue_select__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vue-select */ \"./node_modules/vue-select/dist/vue-select.js\");\n/* harmony import */ var vue_select__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(vue_select__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _vue_composition_api__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @vue/composition-api */ \"./node_modules/@vue/composition-api/dist/vue-composition-api.mjs\");\n/* harmony import */ var _composables_useDiet__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/composables/useDiet */ \"./src/composables/useDiet.js\");\n/* harmony import */ var vue_ripple_directive__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! vue-ripple-directive */ \"./node_modules/vue-ripple-directive/src/ripple.js\");\n/* harmony import */ var _ModalColumn_vue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ModalColumn.vue */ \"./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/ModalColumn.vue\");\n/* harmony import */ var _views_Patients_FollowUp_InformationNutritional_Intervention_Diets_useAlimentosDieta__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/useAlimentosDieta */ \"./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/useAlimentosDieta.js\");\n/* harmony import */ var _useEquivalentesPorComida__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./useEquivalentesPorComida */ \"./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/useEquivalentesPorComida.js\");\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//\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//\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//\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__[\"default\"] = ({\n  components: {\n    BListGroup: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BListGroup\"],\n    BListGroupItem: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BListGroupItem\"],\n    BCard: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BCard\"],\n    BCardTitle: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BCardTitle\"],\n    BRow: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BRow\"],\n    BCol: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BCol\"],\n    BFormInput: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BFormInput\"],\n    BButton: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BButton\"],\n    BTable: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BTable\"],\n    BMedia: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BMedia\"],\n    BAvatar: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BAvatar\"],\n    BLink: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BLink\"],\n    BBadge: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BBadge\"],\n    BDropdown: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BDropdown\"],\n    BDropdownItem: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BDropdownItem\"],\n    BPagination: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BPagination\"],\n    BTooltip: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BTooltip\"],\n    BOverlay: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BOverlay\"],\n    BTableSimple: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BTableSimple\"],\n    BThead: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BThead\"],\n    BTr: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BTr\"],\n    BTh: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BTh\"],\n    BTd: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BTd\"],\n    BTbody: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BTbody\"],\n    BTfoot: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BTfoot\"],\n    BFormSpinbutton: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BFormSpinbutton\"],\n    BFormGroup: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BFormGroup\"],\n    vSelect: vue_select__WEBPACK_IMPORTED_MODULE_8___default.a,\n    BSpinner: bootstrap_vue__WEBPACK_IMPORTED_MODULE_6__[\"BSpinner\"],\n    ModalColumn: _ModalColumn_vue__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n  },\n  directives: {\n    Ripple: vue_ripple_directive__WEBPACK_IMPORTED_MODULE_11__[\"default\"]\n  },\n  setup: function setup() {\n    var intervencion = _store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].state.intervencion;\n    var showModalA = Object(_vue_composition_api__WEBPACK_IMPORTED_MODULE_9__[\"ref\"])(false);\n    var showModal = Object(_vue_composition_api__WEBPACK_IMPORTED_MODULE_9__[\"reactive\"])({\n      mostrar: false\n    });\n    var colores = ['color:#fff;background-color:darkturquoise', 'color:#606060;background-color:189, 202, 199', 'color:#fff;background-color:darkviolet', 'color:#606060;background-color:189, 202, 199', 'color:#fff;background-color:darksalmon', 'color:#606060;background-color:189, 202, 199', 'color:#fff;background-color:cadetblue', 'color:#606060;background-color:189, 202, 199', 'color:#fff;background-color:burlywood', 'color:#606060;background-color:189, 202, 199', 'color:#fff;background-color:cornflowerblue', 'color:#606060;background-color:189, 202, 199', 'color:#fff;background-color:darkseagreen', 'color:#606060;background-color:189, 202, 199', 'color:#fff;background-color:darkturquoise', 'color:#606060;background-color:189, 202, 199', 'color:#fff;background-color:darkviolet', 'color:#606060;background-color:189, 202, 199', 'color:#fff;background-color:darksalmon'];\n    var stickyHeader = Object(_vue_composition_api__WEBPACK_IMPORTED_MODULE_9__[\"ref\"])(true);\n\n    var _useDiet = Object(_composables_useDiet__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(10),\n        diets = _useDiet.diets,\n        dietsE = _useDiet.dietsE,\n        getTiposDietas = _useDiet.getTiposDietas,\n        getTipoDietaEquivalente = _useDiet.getTipoDietaEquivalente;\n\n    var _useAlimentosDieta = Object(_views_Patients_FollowUp_InformationNutritional_Intervention_Diets_useAlimentosDieta__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(),\n        getAlimentosByGrupo = _useAlimentosDieta.getAlimentosByGrupo;\n\n    var _useEquivalentesPorCo = Object(_useEquivalentesPorComida__WEBPACK_IMPORTED_MODULE_14__[\"default\"])(),\n        states = _useEquivalentesPorCo.states,\n        column = _useEquivalentesPorCo.column,\n        resetColumn = _useEquivalentesPorCo.resetColumn,\n        columns = _useEquivalentesPorCo.columns,\n        loading = _useEquivalentesPorCo.loading,\n        alimentos = _useEquivalentesPorCo.alimentos,\n        getTipoDieta = _useEquivalentesPorCo.getTipoDieta,\n        fetchAlimentos = _useEquivalentesPorCo.fetchAlimentos,\n        update = _useEquivalentesPorCo.update,\n        saving = _useEquivalentesPorCo.saving;\n\n    Object(_vue_composition_api__WEBPACK_IMPORTED_MODULE_9__[\"onMounted\"])(function () {\n      getTiposDietas();\n      fetchAlimentos(intervencion.dieta.id);\n    });\n    var selectedTipo = Object(_vue_composition_api__WEBPACK_IMPORTED_MODULE_9__[\"ref\"])(\"\");\n    var selectedDieta = Object(_vue_composition_api__WEBPACK_IMPORTED_MODULE_9__[\"ref\"])(\"\");\n    var alimento = Object(_vue_composition_api__WEBPACK_IMPORTED_MODULE_9__[\"ref\"])(\"\");\n\n    var renderTotal = function renderTotal(row) {\n      var total = row.columns.reduce(function (total, c) {\n        return total + Number(c.valor);\n      }, 0); // row.acumulado = total;\n      // return row;\n\n      return total;\n    };\n\n    var calcTotal = function calcTotal(valor, index, item) {\n      alimentos.value[index].acumulado = renderTotal(item);\n    };\n\n    var setNewColumnInRows = function setNewColumnInRows(position, last, newColumn) {\n      alimentos.value.map(function (row) {\n        var temp = row.columns;\n\n        if (last) {\n          temp.push(newColumn);\n        } else {\n          temp.splice(position, 0, newColumn);\n        }\n\n        row.columns = temp.map(function (c, i) {\n          return Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, c), {}, {\n            posicion: i\n          });\n        });\n      });\n    };\n\n    var renderTotales = function renderTotales() {\n      alimentos.value.map(renderTotal);\n    };\n\n    var addColumn = function addColumn() {\n      var etiqueta = column.etiqueta,\n          posicion = column.posicion,\n          valor = column.valor,\n          last = column.last;\n      var nuevo = {\n        etiqueta: etiqueta,\n        posicion: posicion,\n        valor: Number(valor)\n      };\n      var temp = columns.value;\n\n      if (last) {\n        temp.push({\n          etiqueta: etiqueta,\n          posicion: posicion\n        });\n      } else {\n        temp.splice(posicion, 0, {\n          etiqueta: etiqueta,\n          posicion: posicion\n        });\n      }\n\n      columns.value = temp.map(function (c, i) {\n        return Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, c), {}, {\n          posicion: i\n        });\n      });\n      setNewColumnInRows(posicion, last, nuevo);\n      renderTotales();\n      showModal.mostrar = false;\n      resetColumn();\n    };\n\n    var handleAddColumn = function handleAddColumn(position) {\n      var last = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      column.last = last;\n      column.posicion = position;\n      showModal.mostrar = true;\n    };\n\n    var handleChangeTipoDieta = function handleChangeTipoDieta(idTipoDieta) {\n      selectedDieta.value = \"\";\n      getTipoDietaEquivalente(idTipoDieta);\n    };\n\n    var updateAlimentos = /*#__PURE__*/function () {\n      var _ref = Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {\n        return regeneratorRuntime.wrap(function _callee$(_context) {\n          while (1) {\n            switch (_context.prev = _context.next) {\n              case 0:\n                _context.next = 2;\n                return update(intervencion.dieta.id, alimentos.value);\n\n              case 2:\n              case \"end\":\n                return _context.stop();\n            }\n          }\n        }, _callee);\n      }));\n\n      return function updateAlimentos() {\n        return _ref.apply(this, arguments);\n      };\n    }();\n\n    var onClicked = /*#__PURE__*/function () {\n      var _ref2 = Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(item) {\n        return regeneratorRuntime.wrap(function _callee2$(_context2) {\n          while (1) {\n            switch (_context2.prev = _context2.next) {\n              case 0:\n                _context2.next = 2;\n                return getAlimentosByGrupo(item.idGrupoAlimento);\n\n              case 2:\n                showModalA.value = true; //alimento.value = item.etiqueta;\n\n              case 3:\n              case \"end\":\n                return _context2.stop();\n            }\n          }\n        }, _callee2);\n      }));\n\n      return function onClicked(_x) {\n        return _ref2.apply(this, arguments);\n      };\n    }();\n\n    return {\n      intervencion: intervencion,\n      showModalA: showModalA,\n      showModal: showModal,\n      column: column,\n      states: states,\n      resetColumn: resetColumn,\n      handleAddColumn: handleAddColumn,\n      addColumn: addColumn,\n      onClicked: onClicked,\n      selectedTipo: selectedTipo,\n      selectedDieta: selectedDieta,\n      columns: columns,\n      loading: loading,\n      alimentos: alimentos,\n      getTipoDieta: getTipoDieta,\n      dietsE: dietsE,\n      diets: diets,\n      handleChangeTipoDieta: handleChangeTipoDieta,\n      alimento: alimento,\n      calcTotal: calcTotal,\n      updateAlimentos: updateAlimentos,\n      saving: saving,\n      stickyHeader: stickyHeader,\n      colores: colores //functions\n\n    };\n  }\n});\n\n//# sourceURL=webpack:///./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"5c469c4f-vue-loader-template\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=template&id=6a7d4e9e&scoped=true&":
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c469c4f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=template&id=6a7d4e9e&scoped=true& ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n  return _c(\n    \"b-row\",\n    { staticClass: \"pl-2 pt-2 pb-0\" },\n    [\n      _c(\n        \"b-col\",\n        { staticClass: \"mt-2\", attrs: { md: \"12\" } },\n        [\n          _c(\n            \"b-card\",\n            { attrs: { \"no-body\": \"\" } },\n            [\n              _c(\n                \"b-overlay\",\n                {\n                  attrs: {\n                    show: _vm.loading,\n                    \"spinner-variant\": \"primary\",\n                    \"spinner-type\": \"grow\",\n                    \"spinner-small\": \"\",\n                    rounded: \"sm\"\n                  }\n                },\n                [\n                  _vm.alimentos.length\n                    ? _c(\n                        \"b-table-simple\",\n                        {\n                          staticClass: \"rounded-bottom mb-0\",\n                          attrs: {\n                            small: \"\",\n                            hover: \"\",\n                            \"caption-top\": \"\",\n                            responsive: \"\",\n                            fixed: \"\"\n                          }\n                        },\n                        [\n                          _c(\n                            \"b-thead\",\n                            { attrs: { \"head-variant\": \"light\" } },\n                            [\n                              _c(\n                                \"b-tr\",\n                                [\n                                  _c(\"b-th\", {\n                                    staticClass:\n                                      \"table-primary b-table-sticky-column\",\n                                    staticStyle: { width: \"120px !important\" }\n                                  }),\n                                  _vm._l(_vm.columns, function(column, i) {\n                                    return _c(\n                                      \"b-th\",\n                                      {\n                                        key: i,\n                                        staticStyle: {\n                                          width: \"150px !important\"\n                                        }\n                                      },\n                                      [\n                                        _c(\n                                          \"b-row\",\n                                          [\n                                            _c(\n                                              \"b-col\",\n                                              {\n                                                attrs: {\n                                                  md:\n                                                    i == _vm.columns.length - 1\n                                                      ? \"6\"\n                                                      : \"9\"\n                                                }\n                                              },\n                                              [\n                                                _c(\n                                                  \"b\",\n                                                  {\n                                                    staticClass: \"text-center\"\n                                                  },\n                                                  [\n                                                    _vm._v(\n                                                      _vm._s(column.etiqueta)\n                                                    )\n                                                  ]\n                                                )\n                                              ]\n                                            )\n                                          ],\n                                          1\n                                        )\n                                      ],\n                                      1\n                                    )\n                                  }),\n                                  _c(\n                                    \"b-th\",\n                                    {\n                                      staticClass: \"2 text-center\",\n                                      staticStyle: { width: \"80px !important\" }\n                                    },\n                                    [_vm._v(\"Total\")]\n                                  )\n                                ],\n                                2\n                              )\n                            ],\n                            1\n                          ),\n                          _c(\n                            \"b-tbody\",\n                            _vm._l(_vm.alimentos[0], function(item, i) {\n                              return _c(\n                                \"b-tr\",\n                                { key: i },\n                                [\n                                  _c(\n                                    \"b-th\",\n                                    {\n                                      staticClass:\n                                        \"table-primary b-table-sticky-column\",\n                                      style: _vm.colores[i]\n                                    },\n                                    [\n                                      _c(\n                                        \"b-link\",\n                                        {\n                                          on: {\n                                            click: function($event) {\n                                              return _vm.onClicked(item)\n                                            }\n                                          }\n                                        },\n                                        [\n                                          _vm._v(\n                                            \" \" + _vm._s(item.etiqueta) + \" \"\n                                          )\n                                        ]\n                                      )\n                                    ],\n                                    1\n                                  ),\n                                  _vm._l(item.columns, function(column, x) {\n                                    return _c(\n                                      \"b-td\",\n                                      {\n                                        key: \"columnas\" + i + x,\n                                        staticClass:\n                                          \"justify-content-center text-center\"\n                                      },\n                                      [\n                                        column.valor <= 0\n                                          ? _c(\"b-form-input\", {\n                                              staticClass: \"text-center\",\n                                              staticStyle: {\n                                                width: \"6rem\",\n                                                \"background-color\": \"#fff\",\n                                                color:\n                                                  \"rgb(143 141 141)!important\",\n                                                \"font-weight\": \"600\"\n                                              },\n                                              attrs: {\n                                                disabled: \"\",\n                                                id:\n                                                  \"\" + column.etiqueta + i + x,\n                                                name:\n                                                  \"\" + column.etiqueta + i + x,\n                                                min: \"0\",\n                                                max: \"100\"\n                                              },\n                                              on: {\n                                                change: function($event) {\n                                                  return _vm.calcTotal(\n                                                    $event,\n                                                    i,\n                                                    item\n                                                  )\n                                                }\n                                              },\n                                              model: {\n                                                value: column.valor,\n                                                callback: function($$v) {\n                                                  _vm.$set(column, \"valor\", $$v)\n                                                },\n                                                expression: \"column.valor\"\n                                              }\n                                            })\n                                          : _vm._e(),\n                                        column.valor > 0\n                                          ? _c(\"b-form-input\", {\n                                              staticClass: \"text-center\",\n                                              staticStyle: {\n                                                width: \"6rem\",\n                                                \"background-color\": \"#154336\",\n                                                color: \"#fff!important\",\n                                                \"font-weight\": \"900\",\n                                                border: \"solid 2px #68e30b\"\n                                              },\n                                              attrs: {\n                                                disabled: \"\",\n                                                id:\n                                                  \"\" + column.etiqueta + i + x,\n                                                name:\n                                                  \"\" + column.etiqueta + i + x,\n                                                min: \"0\",\n                                                max: \"100\"\n                                              },\n                                              on: {\n                                                change: function($event) {\n                                                  return _vm.calcTotal(\n                                                    $event,\n                                                    i,\n                                                    item\n                                                  )\n                                                }\n                                              },\n                                              model: {\n                                                value: column.valor,\n                                                callback: function($$v) {\n                                                  _vm.$set(column, \"valor\", $$v)\n                                                },\n                                                expression: \"column.valor\"\n                                              }\n                                            })\n                                          : _vm._e()\n                                      ],\n                                      1\n                                    )\n                                  }),\n                                  item.acumulado > 0\n                                    ? _c(\n                                        \"b-td\",\n                                        {\n                                          staticClass: \"text-center\",\n                                          staticStyle: {\n                                            width: \"6rem\",\n                                            \"background-color\": \"#154336\",\n                                            color: \"#fff!important\",\n                                            \"font-weight\": \"900\",\n                                            border: \"solid 1px rgb(62 133 9)\"\n                                          }\n                                        },\n                                        [\n                                          _vm._v(\n                                            \" \" + _vm._s(item.acumulado) + \" \"\n                                          )\n                                        ]\n                                      )\n                                    : _vm._e(),\n                                  item.acumulado <= 0\n                                    ? _c(\n                                        \"b-td\",\n                                        {\n                                          staticClass: \"text-center\",\n                                          staticStyle: {\n                                            width: \"6rem\",\n                                            \"background-color\": \"#154336\",\n                                            color: \"rgb(143 141 141)!important\",\n                                            \"font-weight\": \"600\",\n                                            border: \"solid 1px rgb(62 133 9)\"\n                                          }\n                                        },\n                                        [\n                                          _vm._v(\n                                            \" \" + _vm._s(item.acumulado) + \" \"\n                                          )\n                                        ]\n                                      )\n                                    : _vm._e()\n                                ],\n                                2\n                              )\n                            }),\n                            1\n                          )\n                        ],\n                        1\n                      )\n                    : _vm._e()\n                ],\n                1\n              ),\n              _c(\"modal-column\", {\n                attrs: {\n                  column: _vm.column,\n                  states: _vm.states,\n                  showModal: _vm.showModal,\n                  reset: _vm.resetColumn\n                },\n                on: { \"add-column\": _vm.addColumn }\n              })\n            ],\n            1\n          )\n        ],\n        1\n      ),\n      _c(\n        \"b-modal\",\n        {\n          attrs: {\n            title: _vm.alimento,\n            \"ok-title\": \"Ok\",\n            \"ok-only\": \"\",\n            \"modal-class\": \"modal-primary\",\n            \"ok-variant\": \"primary\"\n          },\n          model: {\n            value: _vm.showModalA,\n            callback: function($$v) {\n              _vm.showModalA = $$v\n            },\n            expression: \"showModalA\"\n          }\n        },\n        [\n          _c(\n            \"b-list-group\",\n            {\n              staticStyle: {\n                overflow: \"scroll\",\n                height: \"500px\",\n                \"overflow-x\": \"hidden\"\n              }\n            },\n            _vm._l(_vm.intervencion.alimentos, function(alimento, i) {\n              return _c(\"b-list-group-item\", { key: i }, [\n                _vm._v(\" \" + _vm._s(alimento.alimento) + \" \")\n              ])\n            }),\n            1\n          )\n        ],\n        1\n      )\n    ],\n    1\n  )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%225c469c4f-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/core-js/modules/es.array.find.js":
/*!*******************************************************!*\
  !*** ./node_modules/core-js/modules/es.array.find.js ***!
  \*******************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar $find = __webpack_require__(/*! ../internals/array-iteration */ \"./node_modules/core-js/internals/array-iteration.js\").find;\nvar addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ \"./node_modules/core-js/internals/add-to-unscopables.js\");\nvar arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ \"./node_modules/core-js/internals/array-method-uses-to-length.js\");\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength(FIND);\n\n// Shouldn't skip holes\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {\n  find: function find(callbackfn /* , that = undefined */) {\n    return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es.array.find.js?");

/***/ }),

/***/ "./node_modules/core-js/modules/es.array.map.js":
/*!******************************************************!*\
  !*** ./node_modules/core-js/modules/es.array.map.js ***!
  \******************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar $map = __webpack_require__(/*! ../internals/array-iteration */ \"./node_modules/core-js/internals/array-iteration.js\").map;\nvar arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ \"./node_modules/core-js/internals/array-method-has-species-support.js\");\nvar arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ \"./node_modules/core-js/internals/array-method-uses-to-length.js\");\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n// FF49- issue\nvar USES_TO_LENGTH = arrayMethodUsesToLength('map');\n\n// `Array.prototype.map` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n  map: function map(callbackfn /* , thisArg */) {\n    return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es.array.map.js?");

/***/ }),

/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=0&id=6a7d4e9e&lang=scss&scoped=true&":
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=0&id=6a7d4e9e&lang=scss&scoped=true& ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".per-page-selector[data-v-6a7d4e9e] {\\n  width: 90px;\\n}\\n.invoice-filter-select[data-v-6a7d4e9e] {\\n  min-width: 190px;\\n}\\n.invoice-filter-select[data-v-6a7d4e9e]  .vs__selected-options {\\n  flex-wrap: nowrap;\\n}\\n.invoice-filter-select[data-v-6a7d4e9e]  .vs__selected {\\n  width: 100px;\\n}\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack:///./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=1&lang=scss&":
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=1&lang=scss& ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".vs__dropdown-option--selected {\\n  color: #fff;\\n  position: relative;\\n  color: #eeeeee !important;\\n}\\n.v-select {\\n  position: relative;\\n  font-family: inherit;\\n}\\n.v-select,\\n.v-select * {\\n  box-sizing: border-box;\\n}\\n\\n/* KeyFrames */\\n@-webkit-keyframes vSelectSpinner-ltr {\\n0% {\\n    transform: rotate(0deg);\\n}\\n100% {\\n    transform: rotate(360deg);\\n}\\n}\\n@-webkit-keyframes vSelectSpinner-rtl {\\n0% {\\n    transform: rotate(0deg);\\n}\\n100% {\\n    transform: rotate(-360deg);\\n}\\n}\\n@keyframes vSelectSpinner-ltr {\\n0% {\\n    transform: rotate(0deg);\\n}\\n100% {\\n    transform: rotate(360deg);\\n}\\n}\\n@keyframes vSelectSpinner-rtl {\\n0% {\\n    transform: rotate(0deg);\\n}\\n100% {\\n    transform: rotate(-360deg);\\n}\\n}\\n/* Dropdown Default Transition */\\n.vs__fade-enter-active,\\n.vs__fade-leave-active {\\n  pointer-events: none;\\n  transition: opacity 0.15s cubic-bezier(1, 0.5, 0.8, 1);\\n}\\n.vs__fade-enter,\\n.vs__fade-leave-to {\\n  opacity: 0;\\n}\\n\\n/** Component States */\\n/*\\n * Disabled\\n *\\n * When the component is disabled, all interaction\\n * should be prevented. Here we modify the bg color,\\n * and change the cursor displayed on the interactive\\n * components.\\n */\\n[dir] .vs--disabled .vs__dropdown-toggle, [dir] .vs--disabled .vs__clear, [dir] .vs--disabled .vs__search, [dir] .vs--disabled .vs__selected, [dir] .vs--disabled .vs__open-indicator {\\n  cursor: not-allowed;\\n  background-color: #f8f8f8;\\n}\\n\\n/*\\n *  RTL - Right to Left Support\\n *\\n *  Because we're using a flexbox layout, the `dir=\\\"rtl\\\"`\\n *  HTML attribute does most of the work for us by\\n *  rearranging the child elements visually.\\n */\\n.v-select[dir=rtl] .vs__actions {\\n  padding: 0 3px 0 6px;\\n}\\n.v-select[dir=rtl] .vs__clear {\\n  margin-left: 6px;\\n  margin-right: 0;\\n}\\n.v-select[dir=rtl] .vs__deselect {\\n  margin-left: 0;\\n  margin-right: 2px;\\n}\\n.v-select[dir=rtl] .vs__dropdown-menu {\\n  text-align: right;\\n}\\n\\n/**\\n    Dropdown Toggle\\n\\n    The dropdown toggle is the primary wrapper of the component. It\\n    has two direct descendants: .vs__selected-options, and .vs__actions.\\n\\n    .vs__selected-options holds the .vs__selected's as well as the\\n    main search input.\\n\\n    .vs__actions holds the clear button and dropdown toggle.\\n */\\n.vs__dropdown-toggle {\\n  appearance: none;\\n  display: flex;\\n  white-space: normal;\\n}\\n[dir] .vs__dropdown-toggle {\\n  padding: 0 0 4px 0;\\n  background: none;\\n  border: 1px solid #d8d6de;\\n  border-radius: 0.357rem;\\n}\\n.vs__selected-options {\\n  display: flex;\\n  flex-basis: 100%;\\n  flex-grow: 1;\\n  flex-wrap: wrap;\\n  position: relative;\\n}\\n[dir] .vs__selected-options {\\n  padding: 0 2px;\\n}\\n.vs__actions {\\n  display: flex;\\n  align-items: center;\\n}\\n[dir=ltr] .vs__actions {\\n  padding: 4px 6px 0 3px;\\n}\\n[dir=rtl] .vs__actions {\\n  padding: 4px 3px 0 6px;\\n}\\n\\n/* Dropdown Toggle States */\\n[dir] .vs--searchable .vs__dropdown-toggle {\\n  cursor: text;\\n}\\n[dir] .vs--unsearchable .vs__dropdown-toggle {\\n  cursor: pointer;\\n}\\n[dir] .vs--open .vs__dropdown-toggle {\\n  border-bottom-color: transparent;\\n}\\n[dir=ltr] .vs--open .vs__dropdown-toggle {\\n  border-bottom-left-radius: 0;\\n  border-bottom-right-radius: 0;\\n}\\n[dir=rtl] .vs--open .vs__dropdown-toggle {\\n  border-bottom-right-radius: 0;\\n  border-bottom-left-radius: 0;\\n}\\n.vs__open-indicator {\\n  fill: rgba(60, 60, 60, 0.5);\\n  transition: transform 150ms cubic-bezier(1, -0.115, 0.975, 0.855);\\n}\\n[dir] .vs__open-indicator {\\n  transform: scale(1);\\n  transition-timing-function: cubic-bezier(1, -0.115, 0.975, 0.855);\\n}\\n[dir=ltr] .vs--open .vs__open-indicator {\\n  transform: rotate(180deg) scale(1);\\n}\\n[dir=rtl] .vs--open .vs__open-indicator {\\n  transform: rotate(-180deg) scale(1);\\n}\\n.vs--loading .vs__open-indicator {\\n  opacity: 0;\\n}\\n\\n/* Clear Button */\\n.vs__clear {\\n  fill: rgba(60, 60, 60, 0.5);\\n}\\n[dir] .vs__clear {\\n  padding: 0;\\n  border: 0;\\n  background-color: transparent;\\n  cursor: pointer;\\n}\\n[dir=ltr] .vs__clear {\\n  margin-right: 8px;\\n}\\n[dir=rtl] .vs__clear {\\n  margin-left: 8px;\\n}\\n\\n/* Dropdown Menu */\\n.vs__dropdown-menu {\\n  display: block;\\n  box-sizing: border-box;\\n  position: absolute;\\n  top: calc(100% - 1px);\\n  z-index: 1000;\\n  width: 100%;\\n  max-height: 350px;\\n  min-width: 160px;\\n  overflow-y: auto;\\n  list-style: none;\\n}\\n[dir] .vs__dropdown-menu {\\n  padding: 5px 0;\\n  margin: 0;\\n  box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.1);\\n  border: 1px solid #d8d6de;\\n  border-top-style: none;\\n  border-radius: 0 0 0.357rem 0.357rem;\\n  background: #fff;\\n}\\n[dir=ltr] .vs__dropdown-menu {\\n  left: 0;\\n  text-align: left;\\n}\\n[dir=rtl] .vs__dropdown-menu {\\n  right: 0;\\n  text-align: right;\\n}\\n[dir] .vs__no-options {\\n  text-align: center;\\n}\\n\\n/* List Items */\\n.vs__dropdown-option {\\n  line-height: 1.42857143;\\n  /* Normalize line height */\\n  display: block;\\n  color: #333;\\n  /* Overrides most CSS frameworks */\\n  white-space: nowrap;\\n}\\n[dir] .vs__dropdown-option {\\n  padding: 3px 20px;\\n  clear: both;\\n}\\n[dir] .vs__dropdown-option:hover {\\n  cursor: pointer;\\n}\\n.vs__dropdown-option--highlight {\\n  color: #154336 !important;\\n}\\n[dir] .vs__dropdown-option--highlight {\\n  background: rgba(21, 67, 54, 0.12);\\n}\\n.vs__dropdown-option--disabled {\\n  color: rgba(60, 60, 60, 0.5);\\n}\\n[dir] .vs__dropdown-option--disabled {\\n  background: inherit;\\n}\\n[dir] .vs__dropdown-option--disabled:hover {\\n  cursor: inherit;\\n}\\n\\n/* Selected Tags */\\n.vs__selected {\\n  display: flex;\\n  align-items: center;\\n  color: #333;\\n  line-height: 1.8;\\n  z-index: 0;\\n}\\n[dir] .vs__selected {\\n  background-color: #154336;\\n  border: 0 solid rgba(60, 60, 60, 0.26);\\n  border-radius: 0.357rem;\\n  margin: 4px 2px 0px 2px;\\n  padding: 0 0.25em;\\n}\\n.vs__deselect {\\n  display: inline-flex;\\n  appearance: none;\\n  fill: rgba(60, 60, 60, 0.5);\\n}\\n[dir] .vs__deselect {\\n  padding: 0;\\n  border: 0;\\n  cursor: pointer;\\n  background: none;\\n  text-shadow: 0 1px 0 #fff;\\n}\\n[dir=ltr] .vs__deselect {\\n  margin-left: 4px;\\n}\\n[dir=rtl] .vs__deselect {\\n  margin-right: 4px;\\n}\\n\\n/* States */\\n[dir] .vs--single .vs__selected {\\n  background-color: transparent;\\n  border-color: transparent;\\n}\\n.vs--single.vs--open .vs__selected {\\n  position: absolute;\\n  opacity: 0.4;\\n}\\n.vs--single.vs--searching .vs__selected {\\n  display: none;\\n}\\n\\n/* Search Input */\\n/**\\n * Super weird bug... If this declaration is grouped\\n * below, the cancel button will still appear in chrome.\\n * If it's up here on it's own, it'll hide it.\\n */\\n.vs__search::-webkit-search-cancel-button {\\n  display: none;\\n}\\n.vs__search::-webkit-search-decoration,\\n.vs__search::-webkit-search-results-button,\\n.vs__search::-webkit-search-results-decoration,\\n.vs__search::-ms-clear {\\n  display: none;\\n}\\n.vs__search,\\n.vs__search:focus {\\n  appearance: none;\\n  line-height: 1.8;\\n  font-size: 1em;\\n  outline: none;\\n  width: 0;\\n  max-width: 100%;\\n  flex-grow: 1;\\n  z-index: 1;\\n}\\n[dir] .vs__search, [dir] .vs__search:focus {\\n  border: 1px solid transparent;\\n  margin: 4px 0 0 0;\\n  padding: 0 7px;\\n  background: none;\\n  box-shadow: none;\\n}\\n[dir=ltr] .vs__search, [dir=ltr] .vs__search:focus {\\n  border-left: none;\\n}\\n[dir=rtl] .vs__search, [dir=rtl] .vs__search:focus {\\n  border-right: none;\\n}\\n.vs__search::placeholder {\\n  color: #6e6b7b;\\n}\\n\\n/**\\n    States\\n */\\n.vs--unsearchable .vs__search {\\n  opacity: 1;\\n}\\n[dir] .vs--unsearchable:not(.vs--disabled) .vs__search:hover {\\n  cursor: pointer;\\n}\\n.vs--single.vs--searching:not(.vs--open):not(.vs--loading) .vs__search {\\n  opacity: 0.2;\\n}\\n\\n/* Loading Spinner */\\n.vs__spinner {\\n  align-self: center;\\n  opacity: 0;\\n  font-size: 5px;\\n  text-indent: -9999em;\\n  overflow: hidden;\\n  transition: opacity 0.1s;\\n}\\n[dir] .vs__spinner {\\n  border-top: 0.9em solid rgba(100, 100, 100, 0.1);\\n  border-bottom: 0.9em solid rgba(100, 100, 100, 0.1);\\n  transform: translateZ(0);\\n}\\n[dir=ltr] .vs__spinner {\\n  border-right: 0.9em solid rgba(100, 100, 100, 0.1);\\n  border-left: 0.9em solid rgba(60, 60, 60, 0.45);\\n  animation:  vSelectSpinner-ltr 1.1s infinite linear;\\n}\\n[dir=rtl] .vs__spinner {\\n  border-left: 0.9em solid rgba(100, 100, 100, 0.1);\\n  border-right: 0.9em solid rgba(60, 60, 60, 0.45);\\n  animation:  vSelectSpinner-rtl 1.1s infinite linear;\\n}\\n.vs__spinner,\\n.vs__spinner:after {\\n  width: 5em;\\n  height: 5em;\\n}\\n[dir] .vs__spinner, [dir] .vs__spinner:after {\\n  border-radius: 50%;\\n}\\n\\n/* Loading Spinner States */\\n.vs--loading .vs__spinner {\\n  opacity: 1;\\n}\\n.vs__open-indicator {\\n  fill: none;\\n}\\n[dir] .vs__open-indicator {\\n  margin-top: 0.15rem;\\n}\\n.vs__dropdown-toggle {\\n  transition: all 0.25s ease-in-out;\\n}\\n[dir] .vs__dropdown-toggle {\\n  padding: 0.59px 0 4px 0;\\n}\\n[dir=ltr] .vs--single .vs__dropdown-toggle {\\n  padding-left: 6px;\\n}\\n[dir=rtl] .vs--single .vs__dropdown-toggle {\\n  padding-right: 6px;\\n}\\n.vs__dropdown-option--disabled {\\n  opacity: 0.5;\\n}\\n[dir] .vs__dropdown-option--disabled.vs__dropdown-option--selected {\\n  background: #154336 !important;\\n}\\n.vs__dropdown-option {\\n  color: #6e6b7b;\\n}\\n[dir] .vs__dropdown-option, [dir] .vs__no-options {\\n  padding: 7px 20px;\\n}\\n.vs__dropdown-option--selected {\\n  background-color: #154336;\\n  color: #fff;\\n  position: relative;\\n}\\n.vs__dropdown-option--selected::after {\\n  content: \\\"\\\";\\n  height: 1.1rem;\\n  width: 1.1rem;\\n  display: inline-block;\\n  position: absolute;\\n  top: 50%;\\n  transform: translateY(-50%);\\n  right: 20px;\\n  background-image: url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-check'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E\\\");\\n  background-repeat: no-repeat;\\n  background-position: center;\\n  background-size: 1.1rem;\\n}\\n[dir=rtl] .vs__dropdown-option--selected::after {\\n  left: 20px;\\n  right: unset;\\n}\\n.vs__dropdown-option--selected.vs__dropdown-option--highlight {\\n  color: #fff !important;\\n  background-color: #154336 !important;\\n}\\n.vs__clear svg {\\n  color: #6e6b7b;\\n}\\n.vs__selected {\\n  color: #fff;\\n}\\n.v-select.vs--single .vs__selected {\\n  color: #6e6b7b;\\n  transition: transform 0.2s ease;\\n}\\n[dir] .v-select.vs--single .vs__selected {\\n  margin-top: 5px;\\n}\\n[dir=ltr] .v-select.vs--single .vs__selected input {\\n  padding-left: 0;\\n}\\n[dir=rtl] .v-select.vs--single .vs__selected input {\\n  padding-right: 0;\\n}\\n[dir=ltr] .vs--single.vs--open .vs__selected {\\n  transform: translateX(5px);\\n}\\n[dir=rtl] .vs--single.vs--open .vs__selected {\\n  transform: translateX(-5px);\\n}\\n.vs__selected .vs__deselect {\\n  color: inherit;\\n}\\n.v-select:not(.vs--single) .vs__selected {\\n  font-size: 0.9rem;\\n}\\n[dir] .v-select:not(.vs--single) .vs__selected {\\n  border-radius: 3px;\\n  padding: 0 0.6em;\\n}\\n[dir=ltr] .v-select:not(.vs--single) .vs__selected {\\n  margin: 5px 2px 2px 5px;\\n}\\n[dir=rtl] .v-select:not(.vs--single) .vs__selected {\\n  margin: 5px 5px 2px 2px;\\n}\\n.v-select:not(.vs--single) .vs__deselect svg {\\n  vertical-align: text-top;\\n}\\n[dir] .v-select:not(.vs--single) .vs__deselect svg {\\n  transform: scale(0.8);\\n}\\n.vs__dropdown-menu {\\n  top: calc(100% + 1rem);\\n}\\n[dir] .vs__dropdown-menu {\\n  border: none;\\n  border-radius: 6px;\\n  padding: 0;\\n}\\n[dir] .vs--open .vs__dropdown-toggle {\\n  border-color: #154336;\\n  border-bottom-color: #154336;\\n  box-shadow: 0 3px 10px 0 rgba(34, 41, 47, 0.1);\\n}\\n[dir=ltr] .vs--open .vs__dropdown-toggle {\\n  border-bottom-left-radius: 0.357rem;\\n  border-bottom-right-radius: 0.357rem;\\n}\\n[dir=rtl] .vs--open .vs__dropdown-toggle {\\n  border-bottom-right-radius: 0.357rem;\\n  border-bottom-left-radius: 0.357rem;\\n}\\n.select-size-lg .vs__selected {\\n  font-size: 1rem !important;\\n}\\n[dir] .select-size-lg.vs--single.vs--open .vs__selected {\\n  margin-top: 6px;\\n}\\n.select-size-lg .vs__dropdown-toggle,\\n.select-size-lg .vs__selected {\\n  font-size: 1.25rem;\\n}\\n[dir] .select-size-lg .vs__dropdown-toggle {\\n  padding: 5px;\\n}\\n[dir] .select-size-lg .vs__dropdown-toggle input {\\n  margin-top: 0;\\n}\\n.select-size-lg .vs__deselect svg {\\n  vertical-align: middle !important;\\n}\\n[dir] .select-size-lg .vs__deselect svg {\\n  transform: scale(1) !important;\\n}\\n[dir] .select-size-sm .vs__dropdown-toggle {\\n  padding-bottom: 0;\\n  padding: 1px;\\n}\\n[dir] .select-size-sm.vs--single .vs__dropdown-toggle {\\n  padding: 2px;\\n}\\n.select-size-sm .vs__dropdown-toggle,\\n.select-size-sm .vs__selected {\\n  font-size: 0.9rem;\\n}\\n[dir] .select-size-sm .vs__actions {\\n  padding-top: 2px;\\n  padding-bottom: 2px;\\n}\\n.select-size-sm .vs__deselect svg {\\n  vertical-align: middle !important;\\n}\\n[dir] .select-size-sm .vs__search {\\n  margin-top: 0;\\n}\\n.select-size-sm.v-select .vs__selected {\\n  font-size: 0.75rem;\\n}\\n[dir] .select-size-sm.v-select .vs__selected {\\n  padding: 0 0.3rem;\\n}\\n[dir] .select-size-sm.v-select:not(.vs--single) .vs__selected {\\n  margin: 4px 5px;\\n}\\n[dir] .select-size-sm.v-select.vs--single .vs__selected {\\n  margin-top: 1px;\\n}\\n[dir] .select-size-sm.vs--single.vs--open .vs__selected {\\n  margin-top: 4px;\\n}\\n.dark-layout .vs__dropdown-toggle {\\n  color: #b4b7bd;\\n}\\n[dir] .dark-layout .vs__dropdown-toggle {\\n  background: #030918;\\n  border-color: #404656;\\n}\\n.dark-layout .vs__selected-options input {\\n  color: #b4b7bd;\\n}\\n.dark-layout .vs__selected-options input::placeholder {\\n  color: #676d7d;\\n}\\n.dark-layout .vs__actions svg {\\n  fill: #404656;\\n}\\n[dir] .dark-layout .vs__dropdown-menu {\\n  background: #030918;\\n}\\n.dark-layout .vs__dropdown-menu li {\\n  color: #b4b7bd;\\n}\\n.dark-layout .v-select:not(.vs--single) .vs__selected {\\n  color: #154336;\\n}\\n[dir] .dark-layout .v-select:not(.vs--single) .vs__selected {\\n  background-color: rgba(21, 67, 54, 0.12);\\n}\\n.dark-layout .v-select.vs--single .vs__selected {\\n  color: #b4b7bd !important;\\n}\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack:///./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/vue-ripple-directive/src/ripple.js":
/*!*********************************************************!*\
  !*** ./node_modules/vue-ripple-directive/src/ripple.js ***!
  \*********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\nvar Ripple = {\n    bind: function(el, binding){\n\n        // Default values.\n        var props = {\n            event: 'mousedown',\n            transition: 600\n        };\n\n        setProps(Object.keys(binding.modifiers),props);\n\n        el.addEventListener(props.event, function(event) {\n            rippler(event, el, binding.value);\n        });\n\n        var bg = binding.value || Ripple.color || 'rgba(0, 0, 0, 0.35)';\n        var zIndex = Ripple.zIndex || '9999';\n\n        function rippler(event, el) {\n            var target = el;\n            // Get border to avoid offsetting on ripple container position\n            var targetBorder = parseInt((getComputedStyle(target).borderWidth).replace('px', ''));\n\n            // Get necessary variables\n            var rect        = target.getBoundingClientRect(),\n                left        = rect.left,\n                top         = rect.top,\n                width       = target.offsetWidth,\n                height      = target.offsetHeight,\n                dx          = event.clientX - left,\n                dy          = event.clientY - top,\n                maxX        = Math.max(dx, width - dx),\n                maxY        = Math.max(dy, height - dy),\n                style       = window.getComputedStyle(target),\n                radius      = Math.sqrt((maxX * maxX) + (maxY * maxY)),\n                border      = (targetBorder > 0 ) ? targetBorder : 0;\n\n            // Create the ripple and its container\n            var ripple = document.createElement(\"div\"),\n                rippleContainer = document.createElement(\"div\");\n                rippleContainer.className = 'ripple-container';\n                ripple.className = 'ripple';\n\n            //Styles for ripple\n            ripple.style.marginTop= '0px';\n            ripple.style.marginLeft= '0px';\n            ripple.style.width= '1px';\n            ripple.style.height= '1px';\n            ripple.style.transition= 'all ' + props.transition + 'ms cubic-bezier(0.4, 0, 0.2, 1)';\n            ripple.style.borderRadius= '50%';\n            ripple.style.pointerEvents= 'none';\n            ripple.style.position= 'relative';\n            ripple.style.zIndex= zIndex;\n            ripple.style.backgroundColor  = bg;\n\n            //Styles for rippleContainer\n            rippleContainer.style.position= 'absolute';\n            rippleContainer.style.left = 0 - border + 'px';\n            rippleContainer.style.top = 0 - border + 'px';\n            rippleContainer.style.height = '0';\n            rippleContainer.style.width = '0';\n            rippleContainer.style.pointerEvents = 'none';\n            rippleContainer.style.overflow = 'hidden';\n\n            // Store target position to change it after\n            var storedTargetPosition =  ((target.style.position).length > 0) ? target.style.position : getComputedStyle(target).position;\n            // Change target position to relative to guarantee ripples correct positioning\n            if (storedTargetPosition !== 'relative') {\n                target.style.position = 'relative';\n            }\n\n            rippleContainer.appendChild(ripple);\n            target.appendChild(rippleContainer);\n\n            ripple.style.marginLeft   = dx + \"px\";\n            ripple.style.marginTop    = dy + \"px\";\n\n            // No need to set positioning because ripple should be child of target and to it's relative position.\n            // rippleContainer.style.left    = left + (((window.pageXOffset || document.scrollLeft) - (document.clientLeft || 0)) || 0) + \"px\";\n            // rippleContainer.style.top     = top + (((window.pageYOffset || document.scrollTop) - (document.clientTop || 0)) || 0) + \"px\";\n            rippleContainer.style.width   = width + \"px\";\n            rippleContainer.style.height  = height + \"px\";\n            rippleContainer.style.borderTopLeftRadius  = style.borderTopLeftRadius;\n            rippleContainer.style.borderTopRightRadius  = style.borderTopRightRadius;\n            rippleContainer.style.borderBottomLeftRadius  = style.borderBottomLeftRadius;\n            rippleContainer.style.borderBottomRightRadius  = style.borderBottomRightRadius;\n\n            rippleContainer.style.direction = 'ltr';\n\n            setTimeout(function() {\n                ripple.style.width  = radius * 2 + \"px\";\n                ripple.style.height = radius * 2 + \"px\";\n                ripple.style.marginLeft   = dx - radius + \"px\";\n                ripple.style.marginTop    = dy - radius + \"px\";\n            }, 0);\n\n            function clearRipple() {\n                setTimeout(function() {\n                    ripple.style.backgroundColor = \"rgba(0, 0, 0, 0)\";\n                }, 250);\n\n                // Timeout set to get a smooth removal of the ripple\n                setTimeout(function() {\n                    rippleContainer.parentNode.removeChild(rippleContainer);\n                }, 850);\n\n                el.removeEventListener('mouseup', clearRipple, false);\n\n                // After removing event set position to target to it's original one\n                // Timeout it's needed to avoid jerky effect of ripple jumping out parent target\n                setTimeout(function () {\n\n                    var clearPosition = true;\n                    for(var i = 0; i < target.childNodes.length; i++) {\n                        if(target.childNodes[i].className === 'ripple-container') {\n                            clearPosition = false;\n                        }\n                    }\n\n                    if(clearPosition) {\n                        if(storedTargetPosition !== 'static') {\n                            target.style.position = storedTargetPosition;\n                        } else {\n                            target.style.position = '';\n                        }\n                    }\n\n                }, props.transition + 250)\n            }\n\n            if(event.type === 'mousedown') {\n                el.addEventListener('mouseup', clearRipple, false);\n            } else {\n                clearRipple();\n            }\n        }\n    }\n};\n\nfunction setProps(modifiers,props) {\n    modifiers.forEach(function(item) {\n        if(isNaN(Number(item)))\n            props.event = item;\n        else\n            props.transition = item;\n    });\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Ripple);\n\n//# sourceURL=webpack:///./node_modules/vue-ripple-directive/src/ripple.js?");

/***/ }),

/***/ "./node_modules/vue-style-loader/index.js?!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=0&id=6a7d4e9e&lang=scss&scoped=true&":
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/vue-style-loader??ref--9-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=0&id=6a7d4e9e&lang=scss&scoped=true& ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(/*! !../../../../../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../../node_modules/postcss-loader/src??ref--9-oneOf-1-2!../../../../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../../../../../node_modules/vue-loader/lib??vue-loader-options!./EquivalentesComidaPaciente.vue?vue&type=style&index=0&id=6a7d4e9e&lang=scss&scoped=true& */ \"./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=0&id=6a7d4e9e&lang=scss&scoped=true&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.i, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = __webpack_require__(/*! ../../../../../../../../../../node_modules/vue-style-loader/lib/addStylesClient.js */ \"./node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"04ea03bf\", content, false, {\"sourceMap\":false,\"shadowMode\":false});\n// Hot Module Replacement\nif(false) {}\n\n//# sourceURL=webpack:///./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?./node_modules/vue-style-loader??ref--9-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/vue-style-loader/index.js?!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=1&lang=scss&":
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/vue-style-loader??ref--9-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=1&lang=scss& ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(/*! !../../../../../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../../node_modules/postcss-loader/src??ref--9-oneOf-1-2!../../../../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../../../../../node_modules/vue-loader/lib??vue-loader-options!./EquivalentesComidaPaciente.vue?vue&type=style&index=1&lang=scss& */ \"./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=1&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.i, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = __webpack_require__(/*! ../../../../../../../../../../node_modules/vue-style-loader/lib/addStylesClient.js */ \"./node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"0252e004\", content, false, {\"sourceMap\":false,\"shadowMode\":false});\n// Hot Module Replacement\nif(false) {}\n\n//# sourceURL=webpack:///./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?./node_modules/vue-style-loader??ref--9-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./src/services/AlimentosDietaService.js":
/*!***********************************************!*\
  !*** ./src/services/AlimentosDietaService.js ***!
  \***********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.concat.js */ \"./node_modules/core-js/modules/es.array.concat.js\");\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _services_Api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services/Api */ \"./src/services/Api.js\");\n\n\nvar resource = 'informacion/nutricional/dietas/alimentos';\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  fetchGrupoAlimentos: function fetchGrupoAlimentos() {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/lista\"));\n  },\n  fetchAlimentosByGrupo: function fetchAlimentosByGrupo(id) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/\").concat(id)); //return Api().get(`informacion/nutricional/dietas/paciente/alimentos/${id}`)\n  },\n  fetchAlimentosByGrupo2: function fetchAlimentosByGrupo2(id) {\n    //return Api().get(`${resource}/${id}`)\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"informacion/nutricional/dietas/paciente/alimentos/\".concat(id));\n  },\n  alimentosReceta: function alimentosReceta(id) {\n    //return Api().get(`${resource}/${id}`)\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"informacion/nutricional/dietas/menus/obtener/alimento/\".concat(id));\n  },\n  todosAlimentos: function todosAlimentos(listQuery, perPage, page) {\n    //return Api().get(`${resource}/${id}`)\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"/catalogo/por-usuario/smae/\".concat(perPage, \"/\").concat(page), listQuery);\n  },\n  guardartodosAlimentos: function guardartodosAlimentos(id_alimento, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"/catalogo/por/usuario/smae/actualizar/\".concat(id_alimento), form);\n  },\n  deleteAlimento: function deleteAlimento(id_alimento, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"/catalogo/eliminar/smae/\".concat(id_alimento), form);\n  },\n  todosAlimentosSMAE: function todosAlimentosSMAE() {\n    //return Api().get(`${resource}/${id}`)\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/catalogo/completo/smae\");\n  },\n  recetas: function recetas(listQuery, perPage, page) {\n    //return Api().get(`${resource}/${id}`)\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"/informacion/nutricional/dietas/lista/paginada/nutriologo/\".concat(perPage, \"/\").concat(page), listQuery);\n  },\n  activarReceta: function activarReceta(id_dieta, estatus) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().put(\"informacion/nutricional/dietas/nutriologo/\".concat(id_dieta, \"/guardar/\").concat(estatus));\n  },\n  sintomas: function sintomas(id) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dieteticos/sintomas/\".concat(id));\n  },\n  sintomasExtras: function sintomasExtras(id) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dieteticos/sintomas/extras/\".concat(id));\n  },\n  postSintomas: function postSintomas(id, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"/informacion/nutricional/dieteticos/sintomas/guardar/\".concat(id), form);\n  },\n  postSintomasExtra: function postSintomasExtra(id, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"/informacion/nutricional/dieteticos/sintomas/guardar/extra/\".concat(id), form);\n  },\n  deleteSintomaExtra: function deleteSintomaExtra(monitoreo, id) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"/informacion/nutricional/dieteticos/sintomas/delete/extra/\".concat(monitoreo, \"/\").concat(id));\n  }\n});\n\n//# sourceURL=webpack:///./src/services/AlimentosDietaService.js?");

/***/ }),

/***/ "./src/services/DietService.js":
/*!*************************************!*\
  !*** ./src/services/DietService.js ***!
  \*************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.concat.js */ \"./node_modules/core-js/modules/es.array.concat.js\");\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _services_Api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services/Api */ \"./src/services/Api.js\");\n\n\nvar resource = 'informacion/nutricional/dietas';\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  fetchList: function fetchList(listQuery) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(resource, {\n      params: listQuery\n    });\n  },\n  fetchListAlimentos: function fetchListAlimentos() {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(resource);\n  },\n  // create (idPaciente, form) {\n  //   const config = { headers: {'Content-Type': 'multipart/form-data'}};\n  //   return Api().post(`${resource}/nutriologo/${idPaciente}`, form, config);\n  // },\n  //DIETAS POR ALIMENTOS\n  getDietaPaciente: function getDietaPaciente(idPaciente) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/nutriologo/get/\").concat(idPaciente));\n  },\n  fetchDietaPorAlimentosDia: function fetchDietaPorAlimentosDia(idDietaPaciente, dia) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/obtener/dieta/alimentos/\").concat(idDietaPaciente, \"/\").concat(dia));\n  },\n  saveAlimento: function saveAlimento(idColumna, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/alimentos/agregar/\").concat(idColumna), form);\n  },\n  updateAlimento: function updateAlimento(idAlimento, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().put(\"\".concat(resource, \"/alimento/actualizar/\").concat(idAlimento), form);\n  },\n  deleteAlimento: function deleteAlimento(idAlimento) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().delete(\"\".concat(resource, \"/por-dia/elimina/alimento/\").concat(idAlimento));\n  },\n  deleteA: function deleteA(idAlimento) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().delete(\"\".concat(resource, \"/eliminar/alimento/menus/\").concat(idAlimento));\n  },\n  /////////////END DIETAS POR ALIMENTOS////////////////////////////////////\n  //DIETAS POR DÍA\n  fetchDietaPorDia: function fetchDietaPorDia(idDietaPaciente) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/por-dia/\").concat(idDietaPaciente)); //return Api().get(`${resource}/alimentos/${idDietaPaciente}`);\n  },\n  updateDietaPorDia: function updateDietaPorDia(idDietaPaciente, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/por-dia/\").concat(idDietaPaciente), form);\n  },\n  /////////////END DIETAS POR DíA////////////////////////////////////\n  //DIETAS POR COMIDA\n  fetchDietaPorComida: function fetchDietaPorComida(idDietaPaciente) {\n    //ocutar select\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/obtener/dieta/comida/\").concat(idDietaPaciente));\n  },\n  fetchDietaPorComida2: function fetchDietaPorComida2(idDietaPaciente, dia) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/obtener/equivalente/menu/\").concat(idDietaPaciente, \"/\").concat(dia));\n  },\n  updateDietaPorComida: function updateDietaPorComida(idDietaPaciente, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().put(\"\".concat(resource, \"/actualizar/dieta/\").concat(idDietaPaciente), form);\n  },\n  updateDietaPorComida2: function updateDietaPorComida2(idDietaPaciente, dia, form, x) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().put(\"\".concat(resource, \"/actualizar/equivalente/menu/\").concat(idDietaPaciente, \"/\").concat(dia, \"/\").concat(x), form);\n  },\n  /////////////END DIETAS POR COMIDA////////////////////////////////////\n  ///////////DIETAS POR MENUS///////////////\n  fetchDietaPorMenusDia: function fetchDietaPorMenusDia(idDietaPaciente, dia) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/obtener/dieta/menus/\").concat(idDietaPaciente, \"/\").concat(dia));\n  },\n  fetchDietaPorMenusDia2: function fetchDietaPorMenusDia2(idDietaPaciente, dia) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/obtener/equivalente/menu/\").concat(idDietaPaciente, \"/\").concat(dia));\n  },\n  //////////////DIETAS POR MENUS////////////////////\n  updateDietaPaciente: function updateDietaPaciente(idDieta, form) {\n    var config = {\n      headers: {\n        'Content-Type': 'multipart/form-data'\n      }\n    };\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/nutriologo/\").concat(idDieta), form, config);\n  },\n  saveDietaPorMenu: function saveDietaPorMenu(idColumna, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/menus/agregar/receta/\").concat(idColumna), form);\n  },\n  updateDietaPorMenu: function updateDietaPorMenu(idColumna, id_receta, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/menu/actualizar/cantidades/\").concat(id_receta, \"/\").concat(idColumna), form);\n  },\n  deleteDietaPorMenu: function deleteDietaPorMenu(idColumna, data) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().delete(\"\".concat(resource, \"/menus/eliminar/receta/\").concat(idColumna), {\n      data: data\n    });\n  },\n  //////////////END DIETAS POR MENUS////////////////\n  getById: function getById(id) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/\").concat(id));\n  },\n  update: function update(id, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().put(\"\".concat(resource, \"/\").concat(id), form);\n  },\n  fetchAllTipos: function fetchAllTipos() {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/tipo\"));\n  },\n  getTipoById: function getTipoById(idTipo, idDieta) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/getTipo/\").concat(idDieta, \"/\").concat(idTipo));\n  },\n  getTipoDietaEquivalente: function getTipoDietaEquivalente(id) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/tipo/equivalente/\").concat(id));\n  },\n  getTipoDietas: function getTipoDietas() {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"catalogos/tipos/dietas\");\n  },\n  agregarDia: function agregarDia(id, dia, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/alimentos/agregar/dia/\").concat(id, \"/\").concat(dia), form);\n  },\n  agregarDiaMenu: function agregarDiaMenu(id, dia, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/menu/agregar/dia/\").concat(id, \"/\").concat(dia), form);\n  },\n  agregarDiaM: function agregarDiaM(id, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/dieta/comida/agregar/dia/\").concat(id), form);\n  },\n  agregarDiaM2: function agregarDiaM2(id, dia, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/equivalente/menu/agregar/comida/\").concat(id, \"/\").concat(dia), form);\n  },\n  getCategorias: function getCategorias() {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dietas/trae/cat/recetas\");\n  },\n  getReceta: function getReceta(id) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dietas/trae/recetas/por-tipo/\".concat(id));\n  },\n  getIngestas: function getIngestas() {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dietas/trae/cat/recetas/comidas\");\n  },\n  ////guarda seleccion\n  guardaSeleccion: function guardaSeleccion(idMonitoreo, opcion) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().put(\"\".concat(resource, \"/seleccionada/get/\").concat(idMonitoreo, \"/\").concat(opcion));\n  },\n  eliminarC: function eliminarC(id, posicion) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().delete(\"\".concat(resource, \"/dieta/comida/eliminar/dia/\").concat(id, \"/\").concat(posicion));\n  },\n  eliminarC2: function eliminarC2(id, posicion, dia) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().delete(\"\".concat(resource, \"/equivalente/menu/eliminar/comida/\").concat(id, \"/\").concat(dia, \"/\").concat(posicion));\n  },\n  editarC: function editarC(id, posicion, nombre) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().put(\"\".concat(resource, \"/dieta/comida/editar/nombre/dia/\").concat(id, \"/\").concat(posicion, \"/\").concat(nombre));\n  },\n  editarC2: function editarC2(id, dia, nombre, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().put(\"\".concat(resource, \"/equivalente/menu/editar/etiqueta/comida/\").concat(id, \"/\").concat(dia, \"/\").concat(nombre, \"/\").concat(form));\n  },\n  saveAlimentoSmae: function saveAlimentoSmae(form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"/catalogo/crear/smae\", form);\n  },\n  descargarPDF: function descargarPDF(id_monitoreo, form) {\n    var config = {\n      headers: {\n        'Content-Type': 'application/pdf'\n      },\n      'responseType': 'blob'\n    };\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"/informacion/nutricional/dietas/por-dia/\".concat(id_monitoreo, \"/descarga/pdf\"), form, config);\n  },\n  descargarPDFEquivalentes: function descargarPDFEquivalentes(id_monitoreo, form) {\n    var config = {\n      headers: {\n        'Content-Type': 'application/pdf'\n      },\n      'responseType': 'blob'\n    };\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"/informacion/nutricional/dietas/por-dia/\".concat(id_monitoreo, \"/descarga/pdf/equivalentes\"), form, config);\n  },\n  descargarPDFMenu: function descargarPDFMenu(id_monitoreo, form) {\n    var config = {\n      headers: {\n        'Content-Type': 'application/pdf'\n      },\n      'responseType': 'blob'\n    };\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"/informacion/nutricional/dietas/por-dia/\".concat(id_monitoreo, \"/descarga/pdf/menu\"), form, config);\n  },\n  descargarPDFLista: function descargarPDFLista(id_monitoreo) {\n    var day = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n    var config = {\n      headers: {\n        'Content-Type': 'application/pdf'\n      },\n      'responseType': 'blob'\n    };\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dietas/por-dia/\".concat(id_monitoreo, \"/descarga/pdf/lista/\").concat(day), config);\n  },\n  enviarCorreo: function enviarCorreo(id_monitoreo) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dietas/por-dia/\".concat(id_monitoreo, \"/enviar/pdf\"));\n  },\n  enviarCorreoEquivalentes: function enviarCorreoEquivalentes(id_monitoreo) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dietas/por-dia/\".concat(id_monitoreo, \"/enviar/pdf/equivalentes\"));\n  },\n  enviarCorreoMenu: function enviarCorreoMenu(id_monitoreo) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dietas/por-dia/\".concat(id_monitoreo, \"/enviar/pdf/menu\"));\n  },\n  getDeficiencias: function getDeficiencias(id_monitoreo) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dieteticos/deficiencias/\".concat(id_monitoreo));\n  }\n});\n\n//# sourceURL=webpack:///./src/services/DietService.js?");

/***/ }),

/***/ "./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue":
/*!***********************************************************************************************************************************************!*\
  !*** ./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue ***!
  \***********************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _EquivalentesComidaPaciente_vue_vue_type_template_id_6a7d4e9e_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EquivalentesComidaPaciente.vue?vue&type=template&id=6a7d4e9e&scoped=true& */ \"./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=template&id=6a7d4e9e&scoped=true&\");\n/* harmony import */ var _EquivalentesComidaPaciente_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./EquivalentesComidaPaciente.vue?vue&type=script&lang=js& */ \"./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport *//* harmony import */ var _EquivalentesComidaPaciente_vue_vue_type_style_index_0_id_6a7d4e9e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./EquivalentesComidaPaciente.vue?vue&type=style&index=0&id=6a7d4e9e&lang=scss&scoped=true& */ \"./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=0&id=6a7d4e9e&lang=scss&scoped=true&\");\n/* harmony import */ var _EquivalentesComidaPaciente_vue_vue_type_style_index_1_lang_scss___WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./EquivalentesComidaPaciente.vue?vue&type=style&index=1&lang=scss& */ \"./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=1&lang=scss&\");\n/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(\n  _EquivalentesComidaPaciente_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  _EquivalentesComidaPaciente_vue_vue_type_template_id_6a7d4e9e_scoped_true___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n  _EquivalentesComidaPaciente_vue_vue_type_template_id_6a7d4e9e_scoped_true___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n  false,\n  null,\n  \"6a7d4e9e\",\n  null\n  \n)\n\n/* hot reload */\nif (false) { var api; }\ncomponent.options.__file = \"src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);\n\n//# sourceURL=webpack:///./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?");

/***/ }),

/***/ "./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=script&lang=js&":
/*!************************************************************************************************************************************************************************!*\
  !*** ./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=script&lang=js& ***!
  \************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_ref_13_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_EquivalentesComidaPaciente_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../../../../../node_modules/babel-loader/lib!../../../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../../../../../node_modules/vue-loader/lib??vue-loader-options!./EquivalentesComidaPaciente.vue?vue&type=script&lang=js& */ \"./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__[\"default\"] = (_node_modules_cache_loader_dist_cjs_js_ref_13_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_EquivalentesComidaPaciente_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack:///./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?");

/***/ }),

/***/ "./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=0&id=6a7d4e9e&lang=scss&scoped=true&":
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=0&id=6a7d4e9e&lang=scss&scoped=true& ***!
  \*********************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_EquivalentesComidaPaciente_vue_vue_type_style_index_0_id_6a7d4e9e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../../node_modules/vue-style-loader??ref--9-oneOf-1-0!../../../../../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../../node_modules/postcss-loader/src??ref--9-oneOf-1-2!../../../../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../../../../../node_modules/vue-loader/lib??vue-loader-options!./EquivalentesComidaPaciente.vue?vue&type=style&index=0&id=6a7d4e9e&lang=scss&scoped=true& */ \"./node_modules/vue-style-loader/index.js?!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=0&id=6a7d4e9e&lang=scss&scoped=true&\");\n/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_EquivalentesComidaPaciente_vue_vue_type_style_index_0_id_6a7d4e9e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_EquivalentesComidaPaciente_vue_vue_type_style_index_0_id_6a7d4e9e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_EquivalentesComidaPaciente_vue_vue_type_style_index_0_id_6a7d4e9e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_EquivalentesComidaPaciente_vue_vue_type_style_index_0_id_6a7d4e9e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n\n\n//# sourceURL=webpack:///./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?");

/***/ }),

/***/ "./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=1&lang=scss&":
/*!*********************************************************************************************************************************************************************************!*\
  !*** ./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=1&lang=scss& ***!
  \*********************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_EquivalentesComidaPaciente_vue_vue_type_style_index_1_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../../node_modules/vue-style-loader??ref--9-oneOf-1-0!../../../../../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../../node_modules/postcss-loader/src??ref--9-oneOf-1-2!../../../../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../../../../../node_modules/vue-loader/lib??vue-loader-options!./EquivalentesComidaPaciente.vue?vue&type=style&index=1&lang=scss& */ \"./node_modules/vue-style-loader/index.js?!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=style&index=1&lang=scss&\");\n/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_EquivalentesComidaPaciente_vue_vue_type_style_index_1_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_EquivalentesComidaPaciente_vue_vue_type_style_index_1_lang_scss___WEBPACK_IMPORTED_MODULE_0__);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_EquivalentesComidaPaciente_vue_vue_type_style_index_1_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_EquivalentesComidaPaciente_vue_vue_type_style_index_1_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n\n\n//# sourceURL=webpack:///./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?");

/***/ }),

/***/ "./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=template&id=6a7d4e9e&scoped=true&":
/*!******************************************************************************************************************************************************************************************!*\
  !*** ./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=template&id=6a7d4e9e&scoped=true& ***!
  \******************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_5c469c4f_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_EquivalentesComidaPaciente_vue_vue_type_template_id_6a7d4e9e_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../../node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"5c469c4f-vue-loader-template\"}!../../../../../../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../../../../../node_modules/vue-loader/lib??vue-loader-options!./EquivalentesComidaPaciente.vue?vue&type=template&id=6a7d4e9e&scoped=true& */ \"./node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"5c469c4f-vue-loader-template\\\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?vue&type=template&id=6a7d4e9e&scoped=true&\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_5c469c4f_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_EquivalentesComidaPaciente_vue_vue_type_template_id_6a7d4e9e_scoped_true___WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_5c469c4f_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_EquivalentesComidaPaciente_vue_vue_type_template_id_6a7d4e9e_scoped_true___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack:///./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/Alimentos/Equivalentes/PorComida/EquivalentesComidaPaciente.vue?");

/***/ }),

/***/ "./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/useAlimentosDieta.js":
/*!****************************************************************************************************!*\
  !*** ./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/useAlimentosDieta.js ***!
  \****************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread2 */ \"./node_modules/@babel/runtime/helpers/esm/objectSpread2.js\");\n/* harmony import */ var _Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator */ \"./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ \"./node_modules/core-js/modules/es.array.map.js\");\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! regenerator-runtime/runtime.js */ \"./node_modules/regenerator-runtime/runtime.js\");\n/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var vue_toastification_composition__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue-toastification/composition */ \"./node_modules/vue-toastification/composition/index.js\");\n/* harmony import */ var vue_toastification_composition__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(vue_toastification_composition__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _core_components_toastification_ToastificationContent_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @core/components/toastification/ToastificationContent.vue */ \"./src/@core/components/toastification/ToastificationContent.vue\");\n/* harmony import */ var _services_AlimentosDietaService__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/services/AlimentosDietaService */ \"./src/services/AlimentosDietaService.js\");\n/* harmony import */ var _services_DietService__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/services/DietService */ \"./src/services/DietService.js\");\n/* harmony import */ var _vue_composition_api__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @vue/composition-api */ \"./node_modules/@vue/composition-api/dist/vue-composition-api.mjs\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/store */ \"./src/store/index.js\");\n\n\n\n\n// import {ref, watch, reactive} from '@vue/composition-api';\n// Notification\n\n\n\n\n\n\n\nvar useAlimentosDieta = function useAlimentosDieta() {\n  // Use toast\n  var toast = Object(vue_toastification_composition__WEBPACK_IMPORTED_MODULE_4__[\"useToast\"])();\n  var alimentos = Object(_vue_composition_api__WEBPACK_IMPORTED_MODULE_8__[\"ref\"])([]);\n  var todosLosAlimentos = Object(_vue_composition_api__WEBPACK_IMPORTED_MODULE_8__[\"ref\"])([]);\n  var loading = Object(_vue_composition_api__WEBPACK_IMPORTED_MODULE_8__[\"ref\"])(false);\n\n  var getGrupoAlimentos = function getGrupoAlimentos() {\n    _services_AlimentosDietaService__WEBPACK_IMPORTED_MODULE_6__[\"default\"].fetchGrupoAlimentos().then(function (response) {\n      _store__WEBPACK_IMPORTED_MODULE_9__[\"default\"].commit('intervencion/setGrupoAlimentos', response.data.cuerpo);\n    }).catch(function (e) {\n      toast({\n        component: _core_components_toastification_ToastificationContent_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n        props: {\n          title: \"Error al cargar Grupo de alimentos\",\n          icon: 'AlertTriangleIcon',\n          variant: 'danger'\n        }\n      });\n    });\n  };\n\n  var getAlimentosByGrupo = function getAlimentosByGrupo(idGrupo) {\n    loading.value = true;\n    _services_AlimentosDietaService__WEBPACK_IMPORTED_MODULE_6__[\"default\"].fetchAlimentosByGrupo2(idGrupo).then(function (response) {\n      _store__WEBPACK_IMPORTED_MODULE_9__[\"default\"].commit('intervencion/setAlimentos', response.data.cuerpo);\n      loading.value = false;\n    }).catch(function (e) {\n      loading.value = false;\n      toast({\n        component: _core_components_toastification_ToastificationContent_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n        props: {\n          title: \"Error al cargar alimentos\",\n          icon: 'AlertTriangleIcon',\n          variant: 'danger'\n        }\n      });\n    });\n  };\n\n  var getAlimentosByGrupo2 = function getAlimentosByGrupo2(idGrupo) {\n    loading.value = true;\n    _services_AlimentosDietaService__WEBPACK_IMPORTED_MODULE_6__[\"default\"].fetchAlimentosByGrupo(idGrupo).then(function (response) {\n      _store__WEBPACK_IMPORTED_MODULE_9__[\"default\"].commit('intervencion/setAlimentos', response.data.cuerpo);\n      loading.value = false;\n    }).catch(function (e) {\n      loading.value = false;\n      toast({\n        component: _core_components_toastification_ToastificationContent_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n        props: {\n          title: \"Error al cargar alimentos\",\n          icon: 'AlertTriangleIcon',\n          variant: 'danger'\n        }\n      });\n    });\n  };\n\n  var saving = Object(_vue_composition_api__WEBPACK_IMPORTED_MODULE_8__[\"ref\"])(false);\n\n  var saveAlimento = /*#__PURE__*/function () {\n    var _ref = Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[\"default\"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee(idColumna, data) {\n      var response;\n      return regeneratorRuntime.wrap(function _callee$(_context) {\n        while (1) {\n          switch (_context.prev = _context.next) {\n            case 0:\n              saving.value = true;\n              _context.prev = 1;\n              _context.next = 4;\n              return _services_DietService__WEBPACK_IMPORTED_MODULE_7__[\"default\"].saveAlimento(idColumna, data);\n\n            case 4:\n              response = _context.sent;\n              saving.value = false;\n              alimentos.value = response.data.cuerpo.adecuacion;\n              toast({\n                component: _core_components_toastification_ToastificationContent_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n                props: {\n                  title: \"Se agrego el alimento correctamente!!!\",\n                  icon: 'CheckCircleIcon',\n                  variant: 'success'\n                }\n              });\n              return _context.abrupt(\"return\", response);\n\n            case 11:\n              _context.prev = 11;\n              _context.t0 = _context[\"catch\"](1);\n              saving.value = false;\n              toast({\n                component: _core_components_toastification_ToastificationContent_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n                props: {\n                  title: \"Error al guardar alimento\",\n                  icon: 'AlertTriangleIcon',\n                  variant: 'danger'\n                }\n              });\n              throw _context.t0;\n\n            case 16:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee, null, [[1, 11]]);\n    }));\n\n    return function saveAlimento(_x, _x2) {\n      return _ref.apply(this, arguments);\n    };\n  }();\n\n  var updateAlimento = /*#__PURE__*/function () {\n    var _ref2 = Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[\"default\"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(idAlimento, data) {\n      var response;\n      return regeneratorRuntime.wrap(function _callee2$(_context2) {\n        while (1) {\n          switch (_context2.prev = _context2.next) {\n            case 0:\n              saving.value = true;\n              _context2.prev = 1;\n              _context2.next = 4;\n              return _services_DietService__WEBPACK_IMPORTED_MODULE_7__[\"default\"].updateAlimento(idAlimento, data);\n\n            case 4:\n              response = _context2.sent;\n              saving.value = false;\n              toast({\n                component: _core_components_toastification_ToastificationContent_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n                props: {\n                  title: \"Datos actualizados Correctamente!\",\n                  icon: 'CheckCircleIcon',\n                  variant: 'success'\n                }\n              });\n              return _context2.abrupt(\"return\", response);\n\n            case 10:\n              _context2.prev = 10;\n              _context2.t0 = _context2[\"catch\"](1);\n              saving.value = false;\n              toast({\n                component: _core_components_toastification_ToastificationContent_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n                props: {\n                  title: \"Error al actualizar alimento\",\n                  icon: 'AlertTriangleIcon',\n                  variant: 'danger'\n                }\n              });\n              throw _context2.t0;\n\n            case 15:\n            case \"end\":\n              return _context2.stop();\n          }\n        }\n      }, _callee2, null, [[1, 10]]);\n    }));\n\n    return function updateAlimento(_x3, _x4) {\n      return _ref2.apply(this, arguments);\n    };\n  }();\n\n  var deleteAlimento = /*#__PURE__*/function () {\n    var _ref3 = Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[\"default\"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(idAlimento) {\n      var response;\n      return regeneratorRuntime.wrap(function _callee3$(_context3) {\n        while (1) {\n          switch (_context3.prev = _context3.next) {\n            case 0:\n              saving.value = true;\n              _context3.prev = 1;\n              _context3.next = 4;\n              return _services_DietService__WEBPACK_IMPORTED_MODULE_7__[\"default\"].deleteAlimento(idAlimento);\n\n            case 4:\n              response = _context3.sent;\n              saving.value = false;\n              toast({\n                component: _core_components_toastification_ToastificationContent_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n                props: {\n                  title: \"Alimento eliminado Correctamente!\",\n                  icon: 'CheckCircleIcon',\n                  variant: 'success'\n                }\n              });\n              return _context3.abrupt(\"return\", response);\n\n            case 10:\n              _context3.prev = 10;\n              _context3.t0 = _context3[\"catch\"](1);\n              saving.value = false;\n              toast({\n                component: _core_components_toastification_ToastificationContent_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n                props: {\n                  title: \"Error al eliminar alimento\",\n                  icon: 'AlertTriangleIcon',\n                  variant: 'danger'\n                }\n              });\n              throw _context3.t0;\n\n            case 15:\n            case \"end\":\n              return _context3.stop();\n          }\n        }\n      }, _callee3, null, [[1, 10]]);\n    }));\n\n    return function deleteAlimento(_x5) {\n      return _ref3.apply(this, arguments);\n    };\n  }();\n\n  var getAllAlimentos = function getAllAlimentos() {\n    loading.value = true;\n    _services_AlimentosDietaService__WEBPACK_IMPORTED_MODULE_6__[\"default\"].todosAlimentosSMAE('', 20, 0).then(function (response) {\n      var values = response.data.cuerpo;\n      todosLosAlimentos.value = values.map(function (alimento, i) {\n        return Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, alimento), {}, {\n          unique_key: i + 1\n        });\n      });\n      loading.value = false;\n    }).catch(function (e) {\n      loading.value = false;\n      toast({\n        component: _core_components_toastification_ToastificationContent_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n        props: {\n          title: \"Error al cargar todos los alimentos\",\n          icon: 'AlertTriangleIcon',\n          variant: 'danger'\n        }\n      });\n    });\n  };\n\n  return {\n    alimentos: alimentos,\n    getGrupoAlimentos: getGrupoAlimentos,\n    getAlimentosByGrupo2: getAlimentosByGrupo2,\n    getAlimentosByGrupo: getAlimentosByGrupo,\n    saveAlimento: saveAlimento,\n    updateAlimento: updateAlimento,\n    deleteAlimento: deleteAlimento,\n    todosLosAlimentos: todosLosAlimentos,\n    getAllAlimentos: getAllAlimentos,\n    loading: loading\n  };\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (useAlimentosDieta);\n\n//# sourceURL=webpack:///./src/views/Patients/FollowUp/InformationNutritional/Intervention/Diets/useAlimentosDieta.js?");

/***/ })

}]);