(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1d4b8504"],{"360d":function(e,t,a){"use strict";a("f71b")},"6d56":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"container-fluid"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-lg-12"},[t("div",{staticClass:"fullscreen-container"},[t("h5",{staticStyle:{"font-size":"1.9em","font-weight":"700"}},[e._v("Anuncios")]),t("BannerSlider")],1)]),t("div",{staticClass:"row"},[t("div",{staticClass:"col-lg-12"},[t("h5",{staticStyle:{"font-size":"1.9em","font-weight":"700"}},[e._v("Eventos")]),t("EventoSlider",{attrs:{events:e.events,networks:e.networks,sharing:e.sharing}})],1)])])])},n=[],i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"banner-carousel"},[e.banners&&e.banners.length>0?t("div",[t("carousel",{attrs:{"per-page":1,autoplay:!0,autoplayTimeout:3e3,loop:!0}},e._l(e.banners,(function(a,s){return t("slide",{key:s},[t("div",{staticClass:"banner-card"},[t("img",{staticClass:"banner-image",attrs:{src:a.image,alt:"Banner Image"}}),t("div",{staticClass:"banner-title"},[e._v(e._s(a.title))])])])})),1)],1):t("div",{staticClass:"no-banners-message"},[e._v("No hay banners disponibles")])])},o=[],r=a("0a63"),l={name:"BannerSlider",components:{Carousel:r["Carousel"],Slide:r["Slide"]},data(){return{banners:[]}},mounted(){this.banners=[]}},c=l,d=(a("fb5b"),a("0c7c")),f=Object(d["a"])(c,i,o,!1,null,"602b4725",null),u=f.exports,v=function(){var e=this,t=e._self._c;return t("div",{staticClass:"events-section"},[t("div",{staticClass:"hooper hooper-vertical"},[t("div",{staticClass:"hooper-wrap"},e._l(e.events,(function(a,s){return t("div",{key:s,staticClass:"hooper-slide"},[t("div",{staticClass:"event-card"},[t("div",{staticClass:"event-image",style:{backgroundImage:"url("+a.image+")"}},[t("div",{staticClass:"event-title"},[e._v(e._s(a.title))])]),t("div",{staticClass:"event-details"},[e._v(e._s(a.date)+" - "+e._s(a.hour))])])])})),0)])])},h=[],g={name:"EventoSlider",components:{},props:{events:{type:Array,required:!0},sharing:{type:Object,required:!0},networks:{type:Array,required:!0}},methods:{toggleShare(e){e.dialShare=!e.dialShare}}},p=g,b=(a("360d"),Object(d["a"])(p,v,h,!1,null,"9e71aaf6",null)),m=b.exports,w=(a("955f"),{components:{BannerSlider:u,EventoSlider:m},data(){return{events:[],sharing:{url:"https://ipssoma.com",title:"",description:"",quote:"",hashtags:""},networks:[{network:"facebook",name:"Facebook",icon:"fab fah fa-lg fa-facebook-f",color:"#1877f2"},{network:"linkedin",name:"LinkedIn",icon:"fab fah fa-lg fa-linkedin",color:"#007bb5"},{network:"telegram",name:"Telegram",icon:"fab fah fa-lg fa-telegram-plane",color:"#0088cc"},{network:"twitter",name:"Twitter",icon:"fab fah fa-lg fa-twitter",color:"#1da1f2"},{network:"whatsapp",name:"Whatsapp",icon:"fab fah fa-lg fa-whatsapp",color:"#25d366"}]}},methods:{open(e,t){console.log(e),console.log(t)},async getEvents(){await this.$axios.get("/public/events/list").then(e=>{this.events=e.data,console.log(e.data)})},change(e){console.log(e)},close(e){console.log(e)}},mounted(){this.getEvents()}}),k=w,C=Object(d["a"])(k,s,n,!1,null,null,null);t["default"]=C.exports},"955f":function(e,t,a){},e4c0:function(e,t,a){},f71b:function(e,t,a){},fb5b:function(e,t,a){"use strict";a("e4c0")}}]);
//# sourceMappingURL=chunk-1d4b8504.2b5fa428.js.map