(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[245],{b9ad:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this.$createElement,t=this._self._c||e;return null===this.event||null===this.eventDate?t("tb-w-loader"):t("div",[t("tb-w-event-date-detail",{attrs:{event:this.event,"event-date":this.eventDate}})],1)};i._withStripped=!0;var a=n("YESW");const l=["awards","client","contactInformation","dates","fieldBlueprints","fieldValues","files","media","price","relatedArticles","seo"];var s={components:{TbWEventDateDetail:a.default},props:{id:{type:String,required:!0},globalConfiguration:{type:Object,required:!0}},data:()=>({event:null,eventDate:null}),watch:{id:{immediate:!0,handler(e){this.fetchEventDate(e)}}},methods:{async fetchEventDate(e=this.id){this.event=null,this.location=null,this.host=null;const t=await this.eventDateRepository.fetch(e,{include:l,language:this.$store.state.language});this.eventDate=t.payload,this.event=this.eventDate.event,this.event.fieldValues instanceof Array&&0===this.event.fieldValues.length&&(this.event.fieldValues={})}}},o=n("KHd+"),d=Object(o.a)(s,i,[],!1,null,null,null);d.options.__file="node_modules/@newland/toubiz-widget/src/routes/event-date-detail.vue";t.default=d.exports}}]);