(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[384],{"KHd+":function(e,t,n){"use strict";function i(e,t,n,i,s,a,o,r){var l,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),i&&(d.functional=!0),a&&(d._scopeId="data-v-"+a),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},d._ssrRegister=l):s&&(l=r?function(){s.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:s),l)if(d.functional){d._injectStyles=l;var u=d.render;d.render=function(e,t){return l.call(t),u(e,t)}}else{var h=d.beforeCreate;d.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:d}}n.d(t,"a",(function(){return i}))},P3ks:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("skeleton-page-default",{directives:[{name:"show",rawName:"v-show",value:!this.detailViewSuspense,expression:"!detailViewSuspense"}]}),this._v(" "),t("transition",{attrs:{name:"fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:this.detailViewSuspense,expression:"detailViewSuspense"}]},[this.event?t("tb-w-event-detail",{staticClass:"tb-w-event-detail",attrs:{event:this.event}}):this._e()],1)])],1)};i._withStripped=!0;var s=n("xBaG");const a=["awards","client","contactInformation","dates","fieldBlueprints","fieldValues","files","media","partners","price","relatedArticles","seo","externalIds","channelContext"];var o={props:{id:{type:String,required:!0}},data:()=>({event:null,detailViewSuspense:!1}),methods:{...Object(s.d)(["SET_ACTUAL_EVENT_DETAIL_PAYLOAD"]),async fetchEvent(e=this.id){this.event=null,this.location=null,this.host=null;const t=await this.eventRepository.fetch(e,{include:a,language:this.$store.state.language});this.event=t.payload,this.SET_ACTUAL_EVENT_DETAIL_PAYLOAD(this.event),this.event.fieldValues instanceof Array&&0===this.event.fieldValues.length&&(this.event.fieldValues={})}},computed:{...Object(s.e)(["language"])},watch:{event(){this.event&&setTimeout(()=>{this.detailViewSuspense=!0},300)},id:{immediate:!0,handler(e){this.fetchEvent(e)}},language:{handler:function(){this.detailViewSuspense=!1,this.fetchEvent(this.id)},deep:!0}}},r=n("KHd+"),l=Object(r.a)(o,i,[],!1,null,null,null);t.default=l.exports}}]);