(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[268],{"3ELh":function(t,i,e){"use strict";e.r(i);var n=function(){var t,i=this,e=i.$createElement;return(i._self._c||e)("tb-w-map-info-window-mapbox",{attrs:{title:i.title,"category-title":i.categoryTitle,"image-url":i.imageUrl,"image-alt":i.imageAlt,description:null===(t=i.item)||void 0===t?void 0:t.abstract,"tour-duration":i.tourDuration,"tour-distance":i.tourDistance,"article-opening-times":i.item.openingTimes,"widget-route":i.buildWidgetRoute({name:i.getDetailRouteName,params:{id:i.item.id}}),classification:i.classification,"hide-details-button":i.hideDetailsButton,"link-target":i.linkTarget}})};n._withStripped=!0;var l={name:"TbWMapboxPopup",props:{item:{type:Object,required:!0},hideDetailsButton:{type:Boolean,default:!1},linkTarget:{type:String,default:"_blank"}},computed:{title(){var t,i,e,n,l;return(null==this||null===(t=this.item)||void 0===t?void 0:t.name)||(null==this||null===(i=this.item)||void 0===i||null===(e=i.address)||void 0===e?void 0:e.name)||(null==this?void 0:this.streetAndStreetNumber)||(null==this||null===(n=this.item)||void 0===n||null===(l=n.event)||void 0===l?void 0:l.name)},categoryTitle(){var t,i,e,n,l;return(null==this||null===(t=this.item)||void 0===t||null===(i=t.event)||void 0===i||null===(e=i.category)||void 0===e?void 0:e.name)||(null==this||null===(n=this.item)||void 0===n||null===(l=n.primaryCategory)||void 0===l?void 0:l.name)},tourDuration(){var t,i,e,n;return null!==(t=null==this||null===(i=this.item)||void 0===i||null===(e=i.tour)||void 0===e||null===(n=e.trackInformation)||void 0===n?void 0:n.duration)&&void 0!==t?t:0},tourDistance(){var t,i,e,n;return null!==(t=null==this||null===(i=this.item)||void 0===i||null===(e=i.tour)||void 0===e||null===(n=e.trackInformation)||void 0===n?void 0:n.distance)&&void 0!==t?t:0},getDetailRouteName(){var t;return null!==(t=this.item)&&void 0!==t&&t.event?"eventDate.detail":"article.detail"},classification(){var t,i,e,n,l,o;return null!==(t=this.item)&&void 0!==t&&null!==(i=t.primaryCategory)&&void 0!==i&&null!==(e=i.rootline)&&void 0!==e&&e.includes("32b05798-f54c-462d-9f58-a39899c85ef6")&&null!==(n=this.item)&&void 0!==n&&null!==(l=n.classifications)&&void 0!==l&&l.length?null===(o=this.item)||void 0===o?void 0:o.classifications[0]:null},imageUrl(){var t,i,e,n,l;return null!==(t=this.item)&&void 0!==t&&null!==(i=t.mainImage)&&void 0!==i&&i.updatedAt?this.buildImageUri(this.item.id,"article"):null!==(e=this.item)&&void 0!==e&&null!==(n=e.event)&&void 0!==n&&null!==(l=n.mainImage)&&void 0!==l&&l.updatedAt?this.buildImageUri(this.item.event.id,"event"):null},imageAlt(){var t,i,e,n,l;return null!==(t=this.item)&&void 0!==t&&null!==(i=t.media)&&void 0!==i&&i[0]?this.item.media[0].altText:null!==(e=this.item)&&void 0!==e&&null!==(n=e.event)&&void 0!==n&&null!==(l=n.media)&&void 0!==l&&l[0]?this.item.event.media[0].altText:null},streetAndStreetNumber(){var t,i,e,n,l,o,r,a;return null!==(t=this.item)&&void 0!==t&&null!==(i=t.address)&&void 0!==i&&i.street&&null!==(e=this.item)&&void 0!==e&&null!==(n=e.address)&&void 0!==n&&n.streetNumber?`${null===(l=this.item)||void 0===l||null===(o=l.address)||void 0===o?void 0:o.street} ${null===(r=this.item)||void 0===r||null===(a=r.address)||void 0===a?void 0:a.streetNumber}`:""}}},o=e("KHd+"),r=Object(o.a)(l,n,[],!1,null,null,null);r.options.__file="node_modules/@newland/toubiz-widget/src/components/tb-w-mapbox-popup.vue";i.default=r.exports},"KHd+":function(t,i,e){"use strict";function n(t,i,e,n,l,o,r,a){var d,u="function"==typeof t?t.options:t;if(i&&(u.render=i,u.staticRenderFns=e,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),r?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),l&&l.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},u._ssrRegister=d):l&&(d=a?function(){l.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:l),d)if(u.functional){u._injectStyles=d;var s=u.render;u.render=function(t,i){return d.call(i),s(t,i)}}else{var v=u.beforeCreate;u.beforeCreate=v?[].concat(v,d):[d]}return{exports:t,options:u}}e.d(i,"a",(function(){return n}))}}]);