(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[411],{"KHd+":function(e,t,a){"use strict";function s(e,t,a,s,o,r,i,n){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=a,c._compiled=!0),s&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),i?(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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},c._ssrRegister=l):o&&(l=n?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(e,t){return l.call(t),d(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:c}}a.d(t,"a",(function(){return s}))},TLXq:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"tb-w-tour-modal__wrapper relative"},[a("tb-w-button",{staticClass:"bg-white w-full flex-grow-0",attrs:{variant:"secondary"},on:{click:function(t){return e.storeModalTourMap(!0)}}},[e._v("\n        "+e._s(e.$t("message.switchToMap"))+"\n    ")]),e._v(" "),a("tb-w-modal",{attrs:{show:e.modalTourMap,title:e.$t("message.map"),width:"large",height:"large"},on:{close:function(t){return e.storeModalTourMap(!1)}}},[a("tb-w-map",{staticClass:"w-full flex-1",attrs:{"map-type":"toursprung",settings:{clustering:{disabled:!0},geolocation:{enabled:!0,waitForUserIntent:!0}},"center-on-always-shown-tours":""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.closeInfoWindow;return[a("tb-w-article-map-marker",{attrs:{article:e.article,"close-info-window":s,"always-show-tour":"","icon-width":80,"icon-height":80}}),e._v(" "),e._l(e.relatedArticles,(function(e){return a("tb-w-article-map-marker",{key:e.id,attrs:{article:e,"close-info-window":s,"icon-width":50,"icon-height":50}})}))]}}])})],1)],1)};s._withStripped=!0;var o={props:{article:{type:Object,required:!0}},data:()=>({modalTourMap:!1}),eq:{breakpoints:{medium:{minWidth:768}}},created(){this.unsubscribe=this.$store.subscribe((e,t)=>{"setModalTourMap"===e.type&&(this.modalTourMap=t.modalTourMap)})},beforeDestroy(){this.unsubscribe()},computed:{relatedArticles(){var e,t,a;const s=[...null!==(e=null===(t=this.article)||void 0===t||null===(a=t.relatedArticles)||void 0===a?void 0:a.generic)&&void 0!==e?e:[]];for(const[e,t]of Object.entries(null!==(o=null===(r=this.article)||void 0===r?void 0:r.relatedArticles)&&void 0!==o?o:{})){var o,r;"tourStagesVariants"!==e&&(0===e.indexOf("tour")&&s.push(...t))}return s}},methods:{storeModalTourMap(e){this.$store.commit("setModalTourMap",e)}},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{switchToMap:"Zur Kartenansicht wechseln",map:"Karte"}},en:{message:{switchToMap:"switch to map view",map:"Map"}},fr:{message:{switchToMap:"passer en vue carte",map:"Carte"}},it:{message:{switchToMap:"passare alla visualizzazione mappa",map:"Carta geografica"}},es:{message:{switchToMap:"cambiar a vista de mapa",map:"Mapa"}},nl:{message:{switchToMap:"overschakelen naar kaartweergave",map:"Kaart"}},cs:{message:{switchToMap:"přepnout na zobrazení mapy",map:"Mapa"}}}}},r=a("KHd+"),i=Object(r.a)(o,s,[],!1,null,null,null);t.default=i.exports}}]);