(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[164],{"KHd+":function(e,t,a){"use strict";function i(e,t,a,i,n,s,r,o){var l,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=a,d._compiled=!0),i&&(d.functional=!0),s&&(d._scopeId="data-v-"+s),r?(l=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(r)},d._ssrRegister=l):n&&(l=o?function(){n.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(e,t){return l.call(t),c(e,t)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:d}}a.d(t,"a",(function(){return i}))},N8I4:function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));var i=a("sdSa");function n(e){Object(i.a)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},Q3Ip:function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var i=a("ZoCn"),n=a("N8I4"),s=a("sdSa");function r(e,t){Object(s.a)(2,arguments);var a=Object(n.a)(e).getTime(),r=Object(i.a)(t);return new Date(a+r)}},Srgg:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"flex flex-col sm:flex-row items-start tb-w-award"},[e.imageSource?a("tb-w-lazyloaded-image",{staticClass:"block h-auto mr-4 tb-w-award__image",class:e.onTeaser?"w-10":"w-30",attrs:{src:e.imageSource,alt:e.imageAlt}}):e._e(),e._v(" "),a("div",{staticClass:"flex flex-col justify-center tb-w-award__content mt-4 md:mt-0"},[e.$slots.default?a("p",{staticClass:"tb-w-award__title font-bold",class:{"text-sm":e.onTeaser,"text-base":e.inToggle,"text-2xl":!e.onTeaser&&!e.inToggle}},[e._t("default")],2):e._e(),e._v(" "),!e.onTeaser&&e.validFrom?a("span",{staticClass:"text-gray-700 text-sm"},[e._v("\n            "+e._s(e.$t("message.certified"))+" "+e._s(e._f("formatFullDate")(e.validFrom))+"\n        ")]):e._e(),e._v(" "),!e.onTeaser&&e.validUntil?a("span",{staticClass:"text-gray-700 text-sm"},[e._v("\n            "+e._s(e.$t("message.valid"))+" "+e._s(e._f("formatFullDate")(e.validUntil))+"\n        ")]):e._e(),e._v(" "),e.customizedDescription?[a("div",{staticClass:"rte",domProps:{innerHTML:e._s(e.customizedDescription)}})]:e.$slots.text?a("div",{staticClass:"tb-w-award__text text-gray-900 mt-2"},[e._t("text")],2):e._e()],2)],1)};i._withStripped=!0;var n=a("eiOJ"),s={props:{imageSource:{type:String,default:null},imageAlt:{type:String,default:""},validFrom:{type:String,default:null},validUntil:{type:String,default:null},onTeaser:{type:Boolean,default:!1},inToggle:{type:Boolean,default:!1},customizedDescription:{type:String,default:null}},mixins:[n.a],i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{certified:"Zertifiziert seit:",valid:"Gültig bis:"}},en:{message:{certified:"Certified since:",valid:"Valid until:"}},fr:{message:{certified:"Certifié depuis:",valid:"Date d'expiration:"}},it:{message:{certified:"Certificato da:",valid:"Data di scadenza:"}},es:{message:{certified:"Certificado desde:",valid:"Fecha de expiración:"}},nl:{message:{certified:"Gecertificeerd sinds:",valid:"Vervaldatum:"}},cs:{message:{certified:"Certifikováno od:",valid:"Datum spotřeby:"}}}}},r=a("KHd+"),o=Object(r.a)(s,i,[],!1,null,null,null);o.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-w-award.vue";t.default=o.exports},ZoCn:function(e,t,a){"use strict";function i(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}a.d(t,"a",(function(){return i}))},sdSa:function(e,t,a){"use strict";function i(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}a.d(t,"a",(function(){return i}))}}]);