(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[189],{"0NcW":function(t,r,e){"use strict";e.r(r);var i=function(){var t=this.$createElement,r=this._self._c||t;return r("tb-w-slider",this._l(this.itemsArray,(function(t){return r("tb-w-award-slider-item",{key:t.blueprint,staticClass:"mt-4",attrs:{"image-source":t.image?t.image.url:null,"award-title":t.title,"award-description":t.details||t.description,"valid-from":t.validFrom,"valid-until":t.validUntil}})})),1)};i._withStripped=!0;var s={props:{awards:{type:Array,required:!0}},computed:{topAward(){return this.itemsArray[0]},collapsedAwards(){return this.itemsArray.slice(1)},itemsShownInList(){return this.awards.filter(t=>t.awardSet.showInList&&"award"===t.awardSet.type).sort((t,r)=>t.blueprint>r.blueprint?1:-1)},itemsNotShownInList(){return this.awards.filter(t=>!t.awardSet.showInList&&"award"===t.awardSet.type).sort((t,r)=>t.blueprint>r.blueprint?1:-1)},itemsArray(){return[...this.itemsShownInList,...this.itemsNotShownInList].filter(t=>{var r;return!1!==(null===(r=t.image)||void 0===r?void 0:r.url)})}}},a=e("KHd+"),n=Object(a.a)(s,i,[],!1,null,null,null);n.options.__file="node_modules/@newland/toubiz-widget/src/components/tb-w-awards-slider.vue";r.default=n.exports}}]);