(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[425],{fsPT:function(e,r,i){"use strict";i.r(r);var n=function(){var e,r,i,n,t,a,s=this,c=s.$createElement,l=s._self._c||c;return s.isFreeOfCharge?l("div",{staticClass:"tb-w-marketing-prices"},[l("p",{staticClass:"font-bold"},[s._v("\n        "+s._s(s.$t("message.freeOfCharge"))+"\n    ")])]):s.marketingPrices.length?l("div",{staticClass:"tb-w-marketing-prices"},[s.marketingPrices.length>1?[l("p",[l(s.priceWeightNormal?"span":"strong",{tag:"component"},[s.marketingPricePrefix?[s._v("\n                    "+s._s(s.marketingPricePrefix)+"\n                ")]:s._e(),s._v(" "),l("span",{staticClass:"tb-w-marketing-prices__price",class:s.priceClass?s.priceClass:""},["eur"===s.prioritizedCurrency?[s._v("\n                        "+s._s(s._f("formatPriceAndCurrency")(null===(e=s.marketingPriceInEur)||void 0===e?void 0:e.price,"eur"))+"\n                    ")]:[s._v("\n                        "+s._s(s._f("formatPriceAndCurrency")(null===(r=s.marketingPriceInChf)||void 0===r?void 0:r.price,"ch","CHF"))+"\n                    ")]],2)],2),s._v(" "),s.marketingPriceComment?l("span",[s._v(" "+s._s(s.marketingPriceComment))]):s._e()],1),s._v(" "),l("p",["eur"===s.prioritizedCurrency?[s._v("\n                ("+s._s(s._f("formatPriceAndCurrency")(null===(i=s.marketingPriceInChf)||void 0===i?void 0:i.price,"ch","CHF"))+")\n            ")]:[s._v("\n                ("+s._s(s._f("formatPriceAndCurrency")(null===(n=s.marketingPriceInEur)||void 0===n?void 0:n.price,"eur"))+")\n            ")]],2)]:[l("p",[l(s.priceWeightNormal?"span":"strong",{tag:"component"},[s.marketingPricePrefix?[s._v("\n                    "+s._s(s.marketingPricePrefix)+"\n                ")]:s._e(),s._v(" "),l("span",{staticClass:"tb-w-marketing-prices__price",class:s.priceClass?s.priceClass:""},["eur"===(null===(t=s.marketingPrices[0].currency)||void 0===t?void 0:t.toLowerCase())?[s._v("\n                        "+s._s(s._f("formatPriceAndCurrency")(s.marketingPrices[0].price,s.marketingPrices[0].currency))+"\n                    ")]:"chf"===(null===(a=s.marketingPrices[0].currency)||void 0===a?void 0:a.toLowerCase())?[s._v("\n                        "+s._s(s._f("formatPriceAndCurrency")(s.marketingPrices[0].price,"ch","CHF"))+"\n                    ")]:s._e()],2)],2),s._v(" "),s.marketingPriceComment?l("span",[s._v(" "+s._s(s.marketingPriceComment))]):s._e()],1)]],2):s._e()};n._withStripped=!0;var t=i("eiOJ"),a=i("xBaG"),s={name:"TbWMarketingPrices",props:{item:{type:Object,required:!0},priceClass:{type:String,default:null},priceWeightNormal:{type:Boolean,default:!1}},mixins:[t.a],computed:{...Object(a.e)(["channelContext"]),marketingPricePrefix(){var e,r,i,n,t,a;return null!==(e=null!==(r=null!==(i=null===(n=this.item.point)||void 0===n||null===(t=n.price)||void 0===t?void 0:t.marketingPricePrefix)&&void 0!==i?i:null===(a=this.item.price)||void 0===a?void 0:a.marketingPricePrefix)&&void 0!==r?r:this.item.marketingPricePrefix)&&void 0!==e?e:null},marketingPriceComment(){var e,r,i,n,t,a;return null!==(e=null!==(r=null!==(i=null===(n=this.item.point)||void 0===n||null===(t=n.price)||void 0===t?void 0:t.marketingPriceComment)&&void 0!==i?i:null===(a=this.item.price)||void 0===a?void 0:a.marketingPriceComment)&&void 0!==r?r:this.item.marketingPriceComment)&&void 0!==e?e:null},marketingPrices(){var e,r,i,n,t,a;return null!==(e=null!==(r=null!==(i=null===(n=this.item.point)||void 0===n||null===(t=n.price)||void 0===t?void 0:t.marketingPrices)&&void 0!==i?i:null===(a=this.item.price)||void 0===a?void 0:a.marketingPrices)&&void 0!==r?r:this.item.marketingPrices)&&void 0!==e?e:[]},marketingPriceInEur(){var e;return null!==(e=this.marketingPrices.find(e=>{var r;return"eur"===(null==e||null===(r=e.currency)||void 0===r?void 0:r.toLowerCase())}))&&void 0!==e?e:null},marketingPriceInChf(){var e;return null!==(e=this.marketingPrices.find(e=>{var r;return"chf"===(null==e||null===(r=e.currency)||void 0===r?void 0:r.toLowerCase())}))&&void 0!==e?e:null},prioritizedCurrency(){var e;return null===(e=this.channelContext)||void 0===e?void 0:e.currency},isFreeOfCharge(){var e,r,i;return 1===(null===(e=this.marketingPrices)||void 0===e?void 0:e.length)&&0===(null===(r=this.marketingPrices)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.price)}},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{freeOfCharge:"Kostenfrei"}},en:{message:{freeOfCharge:"Free of charge"}},fr:{message:{freeOfCharge:"Gratuit"}},it:{message:{freeOfCharge:"Gratuito"}},es:{message:{freeOfCharge:"Gratis"}},nl:{message:{freeOfCharge:"Gratis"}},cs:{message:{freeOfCharge:"Zdarma"}}}}},c=i("KHd+"),l=Object(c.a)(s,n,[],!1,null,null,null);r.default=l.exports}}]);