(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[176,189],{"p/ih":function(e,s,t){"use strict";t.r(s);var o=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"tb-w-line-teaser__toggle"},[e.enabled?t("button",{staticClass:"text-left mt-4",attrs:{"aria-expanded":e.showAll?"true":"false"},on:{keydown:function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"enter",13,s.key,"Enter")?null:e.toggle(s)},click:function(s){return e.toggle(s)}}},[t("span",{directives:[{name:"show",rawName:"v-show",value:!e.showAll,expression:"!showAll"}],staticClass:"flex items-center text-link-500"},[t("tb-w-icon",{staticClass:"mr-2",attrs:{icon:"chevron-down",size:".75"}}),e._v("\n\n            "+e._s(e.moreLabel||e.$t("message.showMore"))+"\n        ")],1),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.showAll,expression:"showAll"}],staticClass:"flex items-center text-link-500"},[t("tb-w-icon",{staticClass:"mr-2",attrs:{icon:"chevron-up",size:".75"}}),e._v("\n\n            "+e._s(e.lessLabel||e.$t("message.showLess"))+"\n        ")],1)]):e._e()])};o._withStripped=!0;var l={name:"TbWCollapseToggle",props:{value:{type:Boolean,default:!1},enabled:{type:Boolean,default:!1},moreLabel:{type:String,default:null},lessLabel:{type:String,default:null}},data:()=>({showAll:!1}),created(){this.showAll=this.value},methods:{toggle(e){e.preventDefault(),this.showAll=!this.showAll,this.$emit("toggle",this.showAll)}},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{showMore:"Mehr anzeigen",showLess:"Weniger anzeigen"}},en:{message:{showMore:"Show more",showLess:"Show less"}},fr:{message:{showMore:"Montre plus",showLess:"Montrer moins"}},it:{message:{showMore:"Mostra di più",showLess:"Mostra meno"}},es:{message:{showMore:"Mostrar más",showLess:"Muestra menos"}},nl:{message:{showMore:"Laat meer zien",showLess:"Laat minder zien"}},cz:{message:{showMore:"Zobrazit více",showLess:"Ukaž méně"}}}}},n=t("KHd+"),a=Object(n.a)(l,o,[],!1,null,null,null);a.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-w-collapse-toggle.vue";s.default=a.exports},xJ7m:function(e,s,t){"use strict";t.r(s);var o=function(){var e=this,s=e.$createElement,t=e._self._c||s;return e.items.length?t("div",{staticClass:"tb-w-line-teaser-list"},[t(e.headlineType,{ref:"headline",tag:"component",staticClass:"font-bold",class:"text-"+e.headlineSize},[e._v("\n        "+e._s(e.title)+"\n    ")]),e._v(" "),t("tb-w-line-teaser-grid",[e._l(e.itemsToDisplay,(function(e){return[t("tb-w-line-teaser-list-item",{key:e.id,attrs:{item:e}})]}))],2),e._v(" "),t("tb-w-collapse-toggle",{attrs:{"less-label":e.lessLabel||e.$t("message.showLess"),"more-label":e.moreLabel||e.$t("message.showMore"),enabled:e.enabled},on:{toggle:e.toggle},model:{value:e.showAll,callback:function(s){e.showAll=s},expression:"showAll"}})],1):t("div")};o._withStripped=!0;var l={components:{TbWCollapseToggle:t("p/ih").default},props:{title:{type:String,required:!0},items:{type:Array,required:!0},headlineType:{type:String,default:"h3"},headlineSize:{type:String,default:"2xl"},moreLabel:{type:String,default:null},lessLabel:{type:String,default:null}},data:()=>({showAll:!1,enabled:!1}),mounted(){this.items.length>8&&(this.enabled=!0)},computed:{itemsToDisplay(){return this.showAll||this.items.length<=8?this.items:this.items.slice(0,6)}},methods:{toggle:function(e){this.showAll=e,this.showAll||this.$refs.headline.scrollIntoView({behavior:"smooth"})}},eq:{breakpoints:{medium:{minWidth:768}}},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{showMore:"Mehr anzeigen",showLess:"Weniger anzeigen"}},en:{message:{showMore:"Show more",showLess:"Show less"}},fr:{message:{showMore:"Montre plus",showLess:"Montrer moins"}},it:{message:{showMore:"Mostra di più",showLess:"Mostra meno"}},es:{message:{showMore:"Mostrar más",showLess:"Muestra menos"}},nl:{message:{showMore:"Laat meer zien",showLess:"Laat minder zien"}},cz:{message:{showMore:"Zobrazit více",showLess:"Ukaž méně"}}}}},n=t("KHd+"),a=Object(n.a)(l,o,[],!1,null,null,null);a.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-w-line-teaser-list.vue";s.default=a.exports}}]);