(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[319],{"7yoQ":function(e,t,s){"use strict";(function(e){s.d(t,"b",(function(){return n})),s.d(t,"a",(function(){return o}));var i=s("6dQ1");function n(t){return Object(i.b)()?e.from(t,"utf-8").toString("base64"):btoa(t)}function o(t){return Object(i.b)()?e.from(t,"base64").toString("utf-8"):atob(t)}}).call(this,s("tjlA").Buffer)},VjoN:function(e,t,s){"use strict";s.d(t,"b",(function(){return n})),s.d(t,"a",(function(){return o}));var i=s("7yoQ");function n(e){return encodeURIComponent(Object(i.b)(JSON.stringify(e)))}const o={created(){if(this.$router)for(const e of this.$options.urlState)this.restoreStateFromUrl(e),this.$watch(e,t=>{this.saveStateToUrl(e,t)},{deep:!0});else this.initialListFetch()},methods:{saveStateToUrl(e,t=this[e]){if(!this.$router)return;const s=Object.assign({},this.$route.query);s[e]=n(t),this.$router.replace({name:this.$route.name,query:s}).catch(e=>{if(!(""+e.message).includes("redundant navigation"))throw e})},restoreStateFromUrl(e){var t;if(this.$route.query[e])try{const s=(t=this.$route.query[e],JSON.parse(Object(i.a)(decodeURIComponent(t))));this.$set(this,e,s),"params"===e&&this.initialListFetch(s)}catch(t){console.warn(`Could not restore state ${e} from URL parameter ${e}`,t),this.initialListFetch()}else this.initialListFetch()}}}},nJOY:function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("tb-w-section",{staticClass:"tb-w-area-highlights",scopedSlots:e._u([{key:"content",fn:function(){return[e.highlightsInfo.topline?s("span",[e._v(e._s(e.highlightsInfo.topline))]):e._e(),e._v(" "),e.highlightsInfo.name?[s("tb-w-heading",[e._v("\n                "+e._s(e.highlightsInfo.name)+"\n            ")])]:[s("tb-w-heading",[e._v("\n                "+e._s(e.$t("message.ourRecommendations"))+"\n            ")])],e._v(" "),e.highlightsInfo.description?s("div",{staticClass:"mt-2 rte",domProps:{innerHTML:e._s(e.highlightsInfo.description)}}):e._e(),e._v(" "),s("tb-w-slider",{staticClass:"mt-6"},[e._l(e.areaHighlights.slice(0,6),(function(e){return s("tb-w-slider-item",{key:e.id},[s("tb-w-teaser-card-article",{attrs:{article:e,"no-shadow-styling":""}})],1)})),e._v(" "),e.areaHighlights.length>6?s("tb-w-show-all",{attrs:{"widget-route":e.buildWidgetRoute({name:"article.list",query:{params:e.ShowAllFilterParams}})}},[e._v("\n                "+e._s(e.$t("message.showAll"))+"\n            ")]):e._e()],2)]},proxy:!0}])})};i._withStripped=!0;var n=s("VjoN"),o={name:"TbWAreaHighlights",props:{areaHighlights:{type:Array,required:!0},highlightsInfo:{type:Object,required:!0}},computed:{ShowAllFilterParams(){return Object(n.b)({predefinedParams:{apiQueryState:{filter:{id:this.areaHighlights.map(e=>e.id),clientIncludingManaged:""}}},apiQueryState:{filter:{dynamicFields:{}}}})}},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{ourRecommendations:"Unsere Empfehlungen",showAll:"Alle anzeigen"}},en:{message:{ourRecommendations:"Our recommendations",showAll:"Show all"}},fr:{message:{ourRecommendations:"Nos recommandations",showAll:"Afficher tout"}},it:{message:{ourRecommendations:"I nostri consigli",showAll:"Mostra tutto"}},es:{message:{ourRecommendations:"Nuestras recomendaciones",showAll:"Mostrar todo"}},nl:{message:{ourRecommendations:"Onze aanbevelingen",showAll:"Toon alles"}},cs:{message:{ourRecommendations:"Naše doporučení",showAll:"Ukázat vše"}}}}},r=s("KHd+"),a=Object(r.a)(o,i,[],!1,null,null,null);t.default=a.exports}}]);