(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[344,368],{KHOh:function(t,i,r){"use strict";r.r(i);var e=function(){var t=this.$createElement,i=this._self._c||t;return i("tb-w-slider",this._l(this.itemsArray,(function(t){return i("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.description,"award-details":t.details,"valid-from":t.validFrom,"valid-until":t.validUntil,"certified-by":t.certifiedBy,"certified-by-url":t.certifiedByUrl}})})),1)};e._withStripped=!0;var n=r("L2JU"),s={props:{awards:{type:Array,required:!0}},computed:{...Object(n.e)("displayConfig",["awardId"]),prioritizedAward(){if(this.awards&&this.awardId){var t;const i=this.awards.find(t=>t.blueprint===this.awardId);if(null!=i&&null!==(t=i.image)&&void 0!==t&&t.url)return i}return null},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,i)=>t.blueprint>i.blueprint?1:-1)},itemsNotShownInList(){return this.awards.filter(t=>!t.awardSet.showInList&&"award"===t.awardSet.type).sort((t,i)=>t.blueprint>i.blueprint?1:-1)},itemsArray(){return this.prioritizedAward?[...this.itemsShownInList,...this.itemsNotShownInList].filter(t=>{var i;return!1!==(null===(i=t.image)||void 0===i?void 0:i.url)}).sort((t,i)=>t.blueprint!==this.prioritizedAward.blueprint&&i.blueprint===this.prioritizedAward.blueprint?1:t.blueprint===this.prioritizedAward.blueprint&&i.blueprint!==this.prioritizedAward.blueprint?-1:0):[...this.itemsShownInList,...this.itemsNotShownInList].filter(t=>{var i;return!1!==(null===(i=t.image)||void 0===i?void 0:i.url)})}}},a=r("KHd+"),o=Object(a.a)(s,e,[],!1,null,null,null);o.options.__file="node_modules/@newland/toubiz-widget/src/components/tb-w-award-slider.vue";i.default=o.exports},"KHd+":function(t,i,r){"use strict";function e(t,i,r,e,n,s,a,o){var d,l="function"==typeof t?t.options:t;if(i&&(l.render=i,l.staticRenderFns=r,l._compiled=!0),e&&(l.functional=!0),s&&(l._scopeId="data-v-"+s),a?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=d):n&&(d=o?function(){n.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:n),d)if(l.functional){l._injectStyles=d;var u=l.render;l.render=function(t,i){return d.call(i),u(t,i)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,d):[d]}return{exports:t,options:l}}r.d(i,"a",(function(){return e}))}}]);