(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[271,367],{"KHd+":function(e,n,i){"use strict";function t(e,n,i,t,a,s,r,o){var c,l="function"==typeof e?e.options:e;if(n&&(l.render=n,l.staticRenderFns=i,l._compiled=!0),t&&(l.functional=!0),s&&(l._scopeId="data-v-"+s),r?(c=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__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},l._ssrRegister=c):a&&(c=o?function(){a.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(l.functional){l._injectStyles=c;var p=l.render;l.render=function(e,n){return c.call(n),p(e,n)}}else{var g=l.beforeCreate;l.beforeCreate=g?[].concat(g,c):[c]}return{exports:e,options:l}}i.d(n,"a",(function(){return t}))},kMXa:function(e,n,i){"use strict";i.r(n);var t=function(){var e=this,n=e.$createElement,i=e._self._c||n;return e.displayComponent?i("div",{staticClass:"tb-w-visitor-channeling-parking"},[i("tb-w-visitor-channeling-card",{class:{"cursor-pointer transition-shadow duration-200 hover:shadow-md":e.isActive},attrs:{active:e.isActive,"active-label-text":e.$t("message.showParkingSpaces")},nativeOn:{click:function(n){e.isActive&&e.onClick()}},scopedSlots:e._u([{key:"title",fn:function(){return[e._v("\n            "+e._s(e.$t("message.parking"))+"\n            "),i("br"),e._v("\n             \n        ")]},proxy:!0},{key:"content",fn:function(){return[i("tb-w-icon",{class:e.isActive?"text-blue-500":"text-gray-500",attrs:{icon:"parking-solid",size:"2"}})]},proxy:!0}],null,!1,214400653)})],1):e._e()};t._withStripped=!0;var a=i("L2JU"),s=i("vGg6"),r={name:"TbWVisitorChannelingParking",props:{item:{type:Object,required:!0}},computed:{...Object(a.e)("displayConfig",["displayInactiveVisitorChannelingCards"]),scrolltoTarget(){return this.item.type===s.a.TOUR?"tourPlanningInformation":"mapSection"},activateScrolling(){var e,n,i,t,a,r;return this.item.type===s.a.TOUR&&(null===(e=this.item.relatedArticles)||void 0===e||null===(n=e.tourStartParking)||void 0===n?void 0:n.length)||(null===(i=this.item.relatedArticles)||void 0===i||null===(t=i.pointGettingThereParking)||void 0===t?void 0:t.length)||(null===(a=this.item.relatedArticles)||void 0===a||null===(r=a.areaParking)||void 0===r?void 0:r.length)},isActive(){return!!this.activateScrolling},displayComponent(){return!!this.displayInactiveVisitorChannelingCards||this.isActive}},methods:{onClick(){this.$emit("show",this.scrolltoTarget,"parking")}},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{parking:"Parken",showParkingSpaces:"Parkplätze anzeigen"}},en:{message:{parking:"Parking",showParkingSpaces:"Show parking spaces"}},fr:{message:{parking:"Parking",showParkingSpaces:"Afficher les places de parking"}},it:{message:{parking:"Parking",showParkingSpaces:"Show parking spaces"}},es:{message:{parking:"Parking",showParkingSpaces:"Show parking spaces"}},nl:{message:{parking:"Parking",showParkingSpaces:"Show parking spaces"}},cs:{message:{parking:"Parking",showParkingSpaces:"Show parking spaces"}}}}},o=i("KHd+"),c=Object(o.a)(r,t,[],!1,null,null,null);c.options.__file="node_modules/@newland/toubiz-widget/src/components/visitor-channeling/tb-w-visitor-channeling-parking.vue";n.default=c.exports},vGg6:function(e,n,i){"use strict";i.d(n,"a",(function(){return t}));const t=Object.freeze({AREA:"area",POINT:"point",TOUR:"tour"})}}]);