(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[431,446,447,448],{"KHd+":function(e,t,a){"use strict";function i(e,t,a,i,n,s,c,o){var l,r="function"==typeof e?e.options:e;if(t&&(r.render=t,r.staticRenderFns=a,r._compiled=!0),i&&(r.functional=!0),s&&(r._scopeId="data-v-"+s),c?(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__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(c)},r._ssrRegister=l):n&&(l=o?function(){n.call(this,(r.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(r.functional){r._injectStyles=l;var d=r.render;r.render=function(e,t){return l.call(t),d(e,t)}}else{var u=r.beforeCreate;r.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:r}}a.d(t,"a",(function(){return i}))},moP3:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return null===e.article?a("tb-w-loader"):a("div",[a("div",{staticClass:"mb-8 flex items-center max-w-4xl mx-auto w-full"},[a("tb-w-icon",{staticClass:"text-gray-600 mr-4",attrs:{icon:"users",size:"2"}}),e._v(" "),a("h3",{staticClass:"text-2xl font-bold"},[e._v("\n            "+e._s(e.$t("message.occupancy"))+"\n        ")])],1),e._v(" "),e.displayCapacity?a("tb-w-occupancy-detail",{staticClass:"max-w-4xl mx-auto",attrs:{item:e.article,capacity:e.article.capacity}}):e._e(),e._v(" "),a("tb-w-visitor-channeling-section",{class:e.noSectionSpacing?"mt-8":"",attrs:{item:e.article,"no-section-spacing":e.noSectionSpacing,standalone:""}})],1)};i._withStripped=!0;var n=a("xBaG");const s=["capacity","fieldValues","fieldBlueprints"];var c={name:"VisitorChanneling",props:{id:{type:String,required:!0},noSectionSpacing:{type:Boolean,default:!1}},data:()=>({article:null}),created(){this.$store.dispatch("storeIsVisitorChannelingRoute",!0),this.setDateIndex()},computed:{...Object(n.e)("displayConfig",["hiddenVisitorChannelingSections"]),displayCapacity(){return!this.hiddenVisitorChannelingSections.includes("capacity")}},methods:{...Object(n.b)({setDateIndex:"visitorChanneling/setDateIndex"}),fetchArticle:async function(e=this.id){this.article=null;const t=await this.articleRepository.fetch(e,{include:s,language:this.$store.state.language});this.article=t.payload;const a=await this.articleRepository.fetch(e+"/relatedArticles",{language:this.$store.state.language,include:["geometry","classifications","mainImage","capacity"]});this.$set(this.article,"relatedArticles",a.payload),this.article.fieldValues instanceof Array&&0===this.article.fieldValues.length&&(this.article.fieldValues={})}},watch:{id:{immediate:!0,handler(e){this.fetchArticle(e)}}},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{occupancy:"Auslastung"}},en:{message:{occupancy:"Occupancy"}},fr:{message:{occupancy:"Occupation"}},it:{message:{occupancy:"Occupancy"}},es:{message:{occupancy:"Occupancy"}},nl:{message:{occupancy:"Occupancy"}},cs:{message:{occupancy:"Occupancy"}}}}},o=a("KHd+"),l=Object(o.a)(c,i,[],!1,null,null,null);t.default=l.exports}}]);