(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[304,367],{"KHd+":function(e,s,t){"use strict";function o(e,s,t,o,n,a,l,i){var r,c="function"==typeof e?e.options:e;if(s&&(c.render=s,c.staticRenderFns=t,c._compiled=!0),o&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),l?(r=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__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(l)},c._ssrRegister=r):n&&(r=i?function(){n.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:n),r)if(c.functional){c._injectStyles=r;var h=c.render;c.render=function(e,s){return r.call(s),h(e,s)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,r):[r]}return{exports:e,options:c}}t.d(s,"a",(function(){return o}))},"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 text-link-500 hover:text-link-600",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 "},[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"},[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 n={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"}},cs:{message:{showMore:"Zobrazit více",showLess:"Ukaž méně"}}}}},a=t("KHd+"),l=Object(a.a)(n,o,[],!1,null,null,null);l.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-w-collapse-toggle.vue";s.default=l.exports}}]);