(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[149],{"7yoQ":function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return r}));var o=n("6dQ1");function s(t){return Object(o.a)()?e.from(t,"utf-8").toString("base64"):btoa(t)}function r(t){return Object(o.a)()?e.from(t,"base64").toString("utf-8"):atob(t)}}).call(this,n("tjlA").Buffer)},VjoN:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return r}));var o=n("7yoQ");function s(e){return encodeURIComponent(Object(o.b)(JSON.stringify(e)))}const r={created(){for(const e of this.$options.urlState)this.restoreStateFromUrl(e),this.$watch(e,t=>this.saveStateToUrl(e,t),{deep:!0})},methods:{saveStateToUrl(e,t=this[e]){const n=Object.assign({},this.$route.query);n[e]=s(t),this.$router.push({name:this.$route.name,query:n}).catch(e=>{if(!(""+e.message).includes("redundant navigation"))throw e})},restoreStateFromUrl(e){if(!this.$route.query[e])return null;try{const t=function(e){return JSON.parse(Object(o.a)(decodeURIComponent(e)))}(this.$route.query[e]);return this.$set(this,e,t),t}catch(t){return console.warn(`Could not restore state ${e} from URL parameter ${e}`,t),null}}}}},nJOY:function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("tb-w-section",{staticClass:"tb-w-area-highlights",scopedSlots:e._u([{key:"content",fn:function(){return[e.highlightsInfo.topline?n("span",[e._v(e._s(e.highlightsInfo.topline))]):e._e(),e._v(" "),e.highlightsInfo.name?[n("tb-w-heading",[e._v("\n                "+e._s(e.highlightsInfo.name)+"\n            ")])]:[n("tb-w-heading",[e._v("\n                "+e._s(e.$t("message.ourRecommendations"))+"\n            ")])],e._v(" "),e.highlightsInfo.description?n("div",{staticClass:"mt-2 rte",domProps:{innerHTML:e._s(e.highlightsInfo.description)}}):e._e(),e._v(" "),n("tb-w-slider",{staticClass:"mt-6"},[e._l(e.areaHighlights.slice(0,6),(function(e){return n("tb-w-slider-item",{key:e.id},[n("tb-w-teaser-card-article",{attrs:{article:e,"display-info-slot":""}})],1)})),e._v(" "),e.areaHighlights.length>6?n("tb-w-show-all",{attrs:{href:e.buildUrl({name:"article.list",query:{params:e.ShowAllFilterParams}})}},[e._v("\n                "+e._s(e.$t("message.showAll"))+"\n            ")]):e._e()],2)]},proxy:!0}])})};o._withStripped=!0;var s=n("VjoN"),r={name:"TbWAreaHighlights",props:{areaHighlights:{type:Array,required:!0},highlightsInfo:{type:Object,required:!0}},computed:{ShowAllFilterParams(){return Object(s.b)({filter:{id:this.areaHighlights.map(e=>e.id)}})}},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"}},cz:{message:{ourRecommendations:"Naše doporučení",showAll:"Ukázat vše"}}}}},i=n("KHd+"),a=Object(i.a)(r,o,[],!1,null,null,null);a.options.__file="node_modules/@newland/toubiz-widget/src/components/tb-w-area-highlights.vue";t.default=a.exports}}]);