(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-839300a6"],{"18b6":function(t,i,e){"use strict";e("32c9")},"32c9":function(t,i,e){},5997:function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("div",{staticClass:"accesibilidad"},[a("div",{staticClass:"accesibilidad__menu"},[t._m(0),a("div",{staticClass:"accesibilidad__menu__content"},[a("div",{staticClass:"accesibilidad__menu__item",on:{click:function(i){return t.contraste()}}},[a("i",{staticClass:"fas fa-adjust"}),a("span",[t._v("Contraste")])]),a("div",{staticClass:"accesibilidad__menu__item",on:{click:function(i){return t.aumentarLetra()}}},[a("img",{attrs:{src:e("6d0a")}}),a("span",[t._v("Aumentar letra")])]),a("div",{staticClass:"accesibilidad__menu__item",on:{click:function(i){return t.reducirLetra()}}},[a("img",{attrs:{src:e("ba62")}}),a("span",[t._v("Reducir letra")])])])])])},s=[function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"accesibilidad__menu__header"},[e("div",{staticClass:"accesibilidad__menu__item"},[e("i",{staticClass:"fas fa-universal-access"}),e("span",{staticClass:"h5 mb-0"},[t._v("Accesibilidad")])])])}],c={name:"Accesibilidad",data:function(){return{fontSize:16}},methods:{contraste:function(){var t=document.querySelector("html"),i="html-constraste-activo";console.log(t),t.classList.contains(i)?t.classList.remove(i):t.classList.add(i)},aumentarLetra:function(){var t=document.querySelector("body");this.fontSize>=22||(this.fontSize+=2,t.style.fontSize=this.fontSize+"px")},reducirLetra:function(){var t=document.querySelector("body");this.fontSize<=16||(this.fontSize-=2,t.style.fontSize=this.fontSize+"px")}}},n=c,r=(e("18b6"),e("2877")),o=Object(r["a"])(n,a,s,!1,null,"e1c081da",null);i["default"]=o.exports},"6d0a":function(t,i,e){t.exports=e.p+"img/aumentar.4890ae42.svg"},ba62:function(t,i,e){t.exports=e.p+"img/reducir.68fb49e8.svg"}}]);
//# sourceMappingURL=chunk-839300a6.442e3225.js.map