(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[220],{"5PUl":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"flex flex-wrap"},[t._l(t.thumbnails.slice(0,3),(function(e){return i("tb-w-teaser-card-thumbnail",{key:e,attrs:{image:t.buildImageUri(e,"article",64)}})})),t._v(" "),t.thumbnails.length>3?i("div",{staticClass:"tb-w-teaser-card-thumbnails__more bg-white text-gray-600 text-sm font-bold w-10 h-10 rounded-md my-1 flex justify-center items-center"},[t._v("\n        +"+t._s(t.thumbnails.length-3)+"\n    ")]):t._e()],2)};n._withStripped=!0;var l=i("6dQ1"),s={props:{thumbnailsCollection:{type:Object,required:!0}},data:()=>({thumbnails:[]}),created(){this.getCollectionThumbnails()},methods:{async getCollectionThumbnails(){if(!Object(l.a)()){const t=this.articleRepository.list({filter:{inCollection:this.thumbnailsCollection.id},unlicensed:1,minimal:1});await t.then(t=>{const e=null==t?void 0:t.payload;this.thumbnails=Object.keys(e||{})}).catch(t=>{console.error(t)})}}}},a=i("KHd+"),o=Object(a.a)(s,n,[],!1,null,null,null);o.options.__file="node_modules/@newland/toubiz-widget/src/components/tb-w-teaser-card-thumbnails.vue";e.default=o.exports}}]);