(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[429],{"Ho/G":function(r,e,i){"use strict";i.r(e);var n=function(){var r=this,e=r.$createElement,i=r._self._c||e;return i("tb-w-price-card",{scopedSlots:r._u([{key:"category",fn:function(){return[i("span",{staticClass:"text-gray-600"},[r._v("\n            "+r._s(r.marketingPriceComment)+"\n        ")])]},proxy:!0},{key:"price",fn:function(){return[r.marketingPricePrefix?i("span",{staticClass:"text-gray-600 text-base font-normal"},[r._v("\n            "+r._s(r.marketingPricePrefix)+"\n        ")]):r._e(),r._v(" "),r.marketingPrices.length>1?["eur"===r.prioritizedCurrency?[r._v("\n                "+r._s(r._f("formatPrice")(r.marketingPriceInEur.price))+" €\n            ")]:[r._v("\n                CHF "+r._s(r._f("formatPrice")(r.marketingPriceInChf.price,"CH"))+"\n            ")]]:["eur"===r.marketingPrices[0].currency?[r._v("\n                "+r._s(r._f("formatPrice")(r.marketingPriceInEur.price))+" €\n            ")]:r.marketingPriceInChf?[r._v("\n                CHF "+r._s(r._f("formatPrice")(r.marketingPriceInChf.price,"CH"))+"\n            ")]:r._e()]]},proxy:!0},r.marketingPrices.length>1?{key:"alternate-currency",fn:function(){return[i("span",{staticClass:"text-gray-600"},["eur"===r.prioritizedCurrency?[r._v("\n                (CHF "+r._s(r._f("formatPrice")(r.marketingPriceInChf.price,"CH"))+")\n            ")]:[r._v("\n                ("+r._s(r._f("formatPrice")(r.marketingPriceInEur.price))+" €)\n            ")]],2)]},proxy:!0}:null],null,!0)})};n._withStripped=!0;var t=i("eiOJ"),c=i("xBaG"),l={name:"TbWMarketingPricesCard",props:{item:{type:Object,required:!0}},mixins:[t.a],computed:{...Object(c.e)(["channelContext"]),marketingPricePrefix(){var r,e,i,n,t,c;return null!==(r=null!==(e=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===(c=this.item.price)||void 0===c?void 0:c.marketingPricePrefix)&&void 0!==e?e:this.item.marketingPricePrefix)&&void 0!==r?r:null},marketingPriceComment(){var r,e,i,n,t,c;return null!==(r=null!==(e=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===(c=this.item.price)||void 0===c?void 0:c.marketingPriceComment)&&void 0!==e?e:this.item.marketingPriceComment)&&void 0!==r?r:null},marketingPrices(){var r,e,i,n,t,c;return null!==(r=null!==(e=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===(c=this.item.price)||void 0===c?void 0:c.marketingPrices)&&void 0!==e?e:this.item.marketingPrices)&&void 0!==r?r:[]},marketingPriceInEur(){var r;return null!==(r=this.marketingPrices.find(r=>{var e;return"eur"===(null==r||null===(e=r.currency)||void 0===e?void 0:e.toLowerCase())}))&&void 0!==r?r:null},marketingPriceInChf(){var r;return null!==(r=this.marketingPrices.find(r=>{var e;return"chf"===(null==r||null===(e=r.currency)||void 0===e?void 0:e.toLowerCase())}))&&void 0!==r?r:null},prioritizedCurrency(){var r;return null===(r=this.channelContext)||void 0===r?void 0:r.currency}}},o=i("KHd+"),a=Object(o.a)(l,n,[],!1,null,null,null);e.default=a.exports}}]);