{"version":3,"sources":["webpack:///./src/components/Card-Article-Featured/Card-Article-Featured.vue?165e","webpack:///src/components/Card-Article-Featured/Card-Article-Featured.vue","webpack:///./src/components/Card-Article-Featured/Card-Article-Featured.vue?a855","webpack:///./src/components/Card-Article-Featured/Card-Article-Featured.vue","webpack:///./src/components/Listing/Listing.vue?ad02","webpack:///./src/components/Card-Article/Card-Article.vue?deed","webpack:///src/components/Card-Article/Card-Article.vue","webpack:///./src/components/Card-Article/Card-Article.vue?3bfe","webpack:///./src/components/Card-Article/Card-Article.vue","webpack:///./src/components/Card-Promotion-Small/Card-Promotion-Small.vue?96d7","webpack:///src/components/Card-Promotion-Small/Card-Promotion-Small.vue","webpack:///./src/components/Card-Promotion-Small/Card-Promotion-Small.vue?9f90","webpack:///./src/components/Card-Promotion-Small/Card-Promotion-Small.vue","webpack:///src/components/Listing/Listing.vue","webpack:///./src/components/Listing/Listing.vue?1128","webpack:///./src/components/Listing/Listing.vue","webpack:///./node_modules/core-js/modules/es.array.every.js","webpack:///./src/components/Card-Promotion/Card-Promotion.vue?931e","webpack:///src/components/Card-Promotion/Card-Promotion.vue","webpack:///./src/components/Card-Promotion/Card-Promotion.vue?377e","webpack:///./src/components/Card-Promotion/Card-Promotion.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_f","link","category","iconVisible","class","_e","image","_v","_s","title","date","staticRenderFns","name","components","PgButton","PgImage","props","type","String","required","default","Object","tag","component","items","length","cssClass","$attrs","filters","hideFilters","listingType","classes","listingTitle","showNote","sorteredItems","listingItemsAlign","listingCarousel","_l","item","index","$config","editMode","isFuture","isExpired","key","isFeatured","_b","disableLinks","productCardConf","priceFormatting","isCardPromo","isListingPromo","mainCategory","filteredItems","slice","isPlpPromo","cardPromotionTypeSmall","cardPromoAlwaysSmall","promotionListLink","url","analyticsData","usePagination","numItemsToShow","totalItems","on","$event","calculateItemsToShow","discoverMore","keys","isPromotionInDateRange","componentIs","href","targetBlank","linkNofollow","_t","imageMobile","media_name","isSmall","duration","formatDate","data","value","Array","select","size","computed","selectClass","sizeClass","mounted","isSelect","uuid","$eventHub","emit","CardProduct","CardArticle","CardArticleFeatured","CardPromotion","CardPromotionSmall","FiltersBar","AdvancedButtonWrapper","appliedFilters","appliedSort","priceNote","Boolean","require","inheritAttrs","$mq","listingClass","filter","filterKeys","every","sort","reverse","a","price","b","compareItems","call","methods","promotionModeA","promotionModeB","pinned","sortOrder","result","sDateB","sDateA","eDateB","eDateA","priorityLevel","id","listingItems","forEach","classList","add","remove","evCategory","evAction","evLabel","ctx","$","$every","arrayMethodIsStrict","arrayMethodUsesToLength","STRICT_METHOD","USES_TO_LENGTH","target","proto","forced","callbackfn","arguments","undefined","altImage","domProps","text","promoMobile"],"mappings":"0IAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACE,YAAY,0BAA0B,CAACF,EAAG,IAAI,CAACE,YAAY,kDAAkDC,MAAM,CAAC,KAAOP,EAAIQ,GAAG,WAAPR,CAAmBA,EAAIS,KAAK,SAAS,CAAET,EAAS,MAAEI,EAAG,SAAS,CAACE,YAAY,uDAAuD,CAAEN,EAAIU,UAAYV,EAAIU,SAASC,YAAaP,EAAG,MAAM,CAACE,YAAY,+BAA+B,CAACF,EAAG,IAAI,CAACQ,MAAO,QAAWZ,EAAIU,SAAa,SAAOV,EAAIa,KAAKT,EAAG,MAAM,CAACE,YAAY,iEAAiE,CAACF,EAAG,WAAW,CAACG,MAAM,CAAC,WAAWP,EAAIQ,GAAG,YAAPR,CAAoBA,EAAIc,MAAM,WAAW,KAAKd,EAAIa,KAAKT,EAAG,MAAM,CAACE,YAAY,yDAAyD,CAAEN,EAAY,SAAEI,EAAG,MAAM,CAACE,YAAY,2DAA2D,CAACN,EAAIe,GAAGf,EAAIgB,GAAGhB,EAAIU,SAASO,UAAUjB,EAAIa,KAAKT,EAAG,MA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AAc,cAKhB,IAAN,KAEM,OAAQ7F,KAAK2F,MACX,IAAK,KACHG,EAAY,qBACZ,MACF,IAAK,MACHA,EAAY,sBACZ,MACF,QACEA,EAAY,qBACZ,MAGJ,MAAO,CAACA,EAAWD,IAErBf,KA1CJ,WA2CM,IAAN,uDAIM,MAHoB,WAAhB9E,KAAK0F,QAAuC,YAAhB1F,KAAK0F,SACnCZ,GAAO,GAEFA,GAETF,uBAjDJ,WAkDM,OAAQ5E,KAAK6C,KAAKI,WAAajD,KAAK6C,KAAKK,YAG7C6C,QApFF,WAqFI/F,KAAKgG,SAA2B,WAAhBhG,KAAK0F,QAAuC,YAAhB1F,KAAK0F,OAEjD1F,KAAKoF,QAAwB,OAAdpF,KAAK2F,MAA+B,QAAd3F,KAAK2F,KAE1C3F,KAAK6C,MAAQ7C,KAAK6C,KAAKoD,MAAQjG,KAAKkG,UAAUC,KAAK,6BAA8B,MAArF,0BCtJuW,I,YCOnWrE,EAAY,eACd,EACAhC,EACAoB,GACA,EACA,KACA,KACA,MAIa,OAAAY,E","file":"js/chunk-4b4cf850-4cbb9d57f5a0cac4b9fe.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('article',{staticClass:\"card-article--featured\"},[_c('a',{staticClass:\"card-article__link card-article--featured__link\",attrs:{\"href\":_vm._f(\"mgnlLink\")(_vm.link,'url')}},[(_vm.image)?_c('figure',{staticClass:\"card-article__figure card-article--featured__figure\"},[(_vm.category && _vm.category.iconVisible)?_c('div',{staticClass:\"card-article__category-icon\"},[_c('i',{class:(\"icon-\" + (_vm.category.icon))})]):_vm._e(),_c('div',{staticClass:\"card-article__figure-wrap card-article--featured__figure-wrap\"},[_c('pg-image',{attrs:{\"lazy-src\":_vm._f(\"mgnlMedia\")(_vm.image,'url')}})],1)]):_vm._e(),_c('div',{staticClass:\"card-article__content card-article--featured__content\"},[(_vm.category)?_c('div',{staticClass:\"card-article__category card-article--featured__category\"},[_vm._v(_vm._s(_vm.category.title))]):_vm._e(),_c('div',{staticClass:\"card-article--featured__content-bg\"}),(_vm.title)?_c('div',{staticClass:\"card-article__text card-article--featured__text\"},[_c('time',{staticClass:\"card-article__date\",attrs:{\"datetime\":_vm.date}},[_vm._v(_vm._s(_vm.date))]),_c('h4',{staticClass:\"card-article__title card-article--featured__title\"},[_vm._v(_vm._s(_vm.title))])]):_vm._e(),_c('i',{staticClass:\"icon-read-more\"},[_c('msg',{attrs:{\"id\":\"common.article-featured.readmore.aria\",\"cssClass\":\"show-for-sr\"}})],1)]),_c('i',{staticClass:\"card-article__icon icon-plus\"})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <article class=\"card-article--featured\">\n <a :href=\"link | mgnlLink('url')\" class=\"card-article__link card-article--featured__link\">\n <figure v-if=\"image\" class=\"card-article__figure card-article--featured__figure\">\n <div class=\"card-article__category-icon\" v-if=\"category && category.iconVisible\">\n <i :class=\"`icon-${category.icon}`\"></i>\n </div>\n\n <div class=\"card-article__figure-wrap card-article--featured__figure-wrap\">\n <pg-image :lazy-src=\"image | mgnlMedia('url')\" ></pg-image>\n </div>\n </figure>\n <div class=\"card-article__content card-article--featured__content\">\n <div class=\"card-article__category card-article--featured__category\" v-if=\"category\">{{category.title}}</div>\n\n <div class=\"card-article--featured__content-bg\"></div>\n\n <div class=\"card-article__text card-article--featured__text\" v-if=\"title\">\n <time class=\"card-article__date\" :datetime=\"date\">{{date}}</time>\n\n <h4 class=\"card-article__title card-article--featured__title\">{{title}}</h4>\n </div>\n\n <i class=\"icon-read-more\">\n <msg id=\"common.article-featured.readmore.aria\" cssClass=\"show-for-sr\" />\n </i>\n </div>\n <i class=\"card-article__icon icon-plus\"></i>\n </a>\n </article>\n</template>\n<script>\nimport PgImage from \"../Image/Image.vue\";\nimport PgButton from \"../Button/Button.vue\";\n\nexport default {\n name: \"CardArticleFeatured\",\n\n components: {\n PgButton,\n PgImage\n },\n\n props:{\n title: {\n type: String,\n required: true,\n default: \"\"\n },\n link: {\n type: Object\n },\n image: {\n type: Object\n },\n date: {\n type: String\n },\n tag: {\n type: String, // TODO will be an array??\n },\n category: {\n type: Object\n },\n\n }\n};\n</script>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Card-Article-Featured.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Card-Article-Featured.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Card-Article-Featured.vue?vue&type=template&id=d311fdca&\"\nimport script from \"./Card-Article-Featured.vue?vue&type=script&lang=js&\"\nexport * from \"./Card-Article-Featured.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.items && _vm.items.length)?_c('section',{class:(\"section \" + _vm.cssClass),attrs:{\"id\":(\"uuid-\" + (_vm.$attrs.uuid))}},[_c('div',{staticClass:\"section__container section__container--full-small\"},[(_vm.filters && !_vm.filters.hideFilters)?_c('filters-bar',{class:{'promo-filters' : _vm.listingType === 'promotion'},attrs:{\"filters\":_vm.filters,\"showPromoLabels\":_vm.listingType === 'promotion'}}):_vm._e(),_c('div',{class:_vm.classes},[(_vm.listingTitle || _vm.showNote)?_c('div',{staticClass:\"listing-header\"},[_c('div',[(_vm.listingTitle)?_c('h2',{staticClass:\"listing-header__heading text--heading-l text--heading-l--section\"},[_vm._v(\" \"+_vm._s(_vm.listingTitle)+\" \")]):_vm._e(),(_vm.showNote)?_c('p',{staticClass:\"listing-header__note\"},[_c('msg',{attrs:{\"id\":\"common.price.tooltip.text\"}})],1):_vm._e()])]):_vm._e(),(_vm.sorteredItems.length > 0)?_c('div',[_c('ul',{staticClass:\"listing__items\",class:[_vm.listingItemsAlign, {'carousel' : _vm.listingCarousel}]},[_vm._l((_vm.filteredItems),function(item,index){return ((_vm.$config.editMode || (!item.isFuture && !item.isExpired)) && _vm.listingType !== 'promotion')?_c('li',{key:index,class:[(\"listing__item \" + (item.isFeatured ? 'listing__item--2cols' : ''))]},[(\n _vm.listingType === 'articles' ||\n (_vm.listingType === 'articlesWithFeatured' &&\n ((index !== 6 && index !== 15) || !item.isFeatured))\n )?_c('card-article',_vm._b({},'card-article',item,false)):(\n _vm.listingType === 'articleFeatured' ||\n (_vm.listingType === 'articlesWithFeatured' &&\n (index === 6 || index === 15) &&\n item.isFeatured)\n )?_c('card-article-featured',_vm._b({},'card-article-featured',item,false)):_c('card-product',{class:{'cursor-default': _vm.disableLinks === 'linksDisabled'},attrs:{\"item\":item,\"productCardConf\":_vm.productCardConf,\"priceFormatting\":_vm.priceFormatting,\"select\":_vm.disableLinks === 'linksDisabled' ? 'linksDisabled' : ''}})],1):_vm._e()}),_vm._l((_vm.filteredItems),function(item,index){return ((_vm.$config.editMode || (!item.isFuture && !item.isExpired)) && _vm.isCardPromo)?_c('li',{key:index,class:[(\"listing__item \" + (item.isFeatured ? 'listing__item--2cols' : ''))]},[_c('card-promotion',{attrs:{\"item\":item}})],1):_vm._e()}),_vm._l((_vm.filteredItems),function(item,index){return ((_vm.$config.editMode || (!item.isFuture && !item.isExpired)) && _vm.isListingPromo)?_c('li',{key:index,class:[(\"listing__item \" + (item.isFeatured ? 'listing__item--2cols' : '') + \" card-promotion-small \" + (item.mainCategory==='aftersales' ? ' card-promotion-aftersales ' : ' card-promotion-sales '))]},[(_vm.listingType === 'promotion')?_c('card-promotion-small',{attrs:{\"item\":item}}):_vm._e()],1):_vm._e()}),_vm._l((_vm.filteredItems.slice(0, 3)),function(item,index){return ((_vm.$config.editMode || (!item.isFuture && !item.isExpired)) && _vm.isPlpPromo)?_c('li',{key:index,class:[(\"listing__item \" + (item.isFeatured ? 'listing__item--2cols' : '') + \" \" + (_vm.cardPromotionTypeSmall ? 'card-promotion-small' : 'card-promotion')),(\"\" + (item.mainCategory==='aftersales'?' card-promotion-aftersales ':' card-promotion-sales '))]},[_c('card-promotion-small',{attrs:{\"item\":item}})],1):_vm._e()})],2),(this.listingType === 'promotion' && this.filteredItems.length > 3 && !this.$attrs.cardPromoAlwaysSmall)?_c('div',{staticClass:\"card-promotion-small__cta-container\"},[_c('pg-button',{staticClass:\"card-promotion-small-cta-link\",attrs:{\"href\":_vm.$attrs.promotionListLink.url,\"color\":'primary',\"styleType\":'text',\"size\":'medium',\"analyticsData\":_vm.analyticsData(_vm.$attrs.promotionListLink)}},[_c('msg',{attrs:{\"id\":\"common.promotion.card.small.cta\"}})],1)],1):_vm._e(),(_vm.usePagination && _vm.numItemsToShow < _vm.totalItems)?_c('div',{staticClass:\"section__container text--center\"},[_c('button',{staticClass:\"button button--outline button--medium button--primary\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.calculateItemsToShow()}}},[_c('msg',{attrs:{\"id\":\"common.cta.show-more.label\",\"bare\":false}})],1)]):_vm._e(),(_vm.discoverMore)?_c('div',{staticClass:\"section__container text--center\"},[_c('pg-button',{staticClass:\"button button--outline button--medium button--primary\",attrs:{\"href\":_vm.discoverMore,\"styleType\":'outline',\"size\":'small'}},[_c('msg',{attrs:{\"id\":\"common.cta.discover-more.label\",\"bare\":false}})],1)],1):_vm._e()]):_c('div',[_c('p',{staticClass:\"filter-no-results\"},[(_vm.listingType === 'promotion')?_c('msg',{attrs:{\"id\":\"common.filters.no-promo-results.text\"}}):_c('msg',{attrs:{\"id\":\"common.filters.no-results.text\"}})],1)])])],1)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('article',{staticClass:\"card-article\"},[_c('a',{staticClass:\"card-article__link\",attrs:{\"href\":_vm._f(\"mgnlLink\")(_vm.link,'url')}},[(_vm.image)?_c('figure',{staticClass:\"card-article__figure\"},[(_vm.category && _vm.category.iconVisible)?_c('div',{staticClass:\"card-article__category-icon\"},[_c('i',{class:(\"icon-\" + (_vm.category.icon))})]):_vm._e(),_c('div',{staticClass:\"card-article__figure-wrap\"},[_c('pg-image',{attrs:{\"lazy-src\":_vm._f(\"mgnlMedia\")(_vm.image,'url'),\"width\":_vm._f(\"mgnlMedia\")(_vm.image,'width', 0),\"height\":_vm._f(\"mgnlMedia\")(_vm.image,'height', 0)}})],1),(_vm.category)?_c('figcaption',{staticClass:\"card-article__category\"},[_vm._v(_vm._s(_vm.category.title))]):_vm._e()]):_vm._e(),_c('div',{staticClass:\"card-article__content\"},[_c('div',{staticClass:\"card-article__text\"},[_c('time',{staticClass:\"card-article__date\",attrs:{\"datetime\":_vm.date}},[_vm._v(_vm._s(_vm.date))]),_c('h2',{staticClass:\"card-article__title\"},[_vm._v(_vm._s(_vm.title))])])]),_c('i',{staticClass:\"card-article__icon icon-plus\"})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <article class=\"card-article\">\n <a :href=\"link | mgnlLink('url')\" class=\"card-article__link\">\n <figure v-if=\"image\" class=\"card-article__figure\">\n <div class=\"card-article__category-icon\" v-if=\"category && category.iconVisible\">\n <i :class=\"`icon-${category.icon}`\"></i>\n </div>\n\n <div class=\"card-article__figure-wrap\">\n <pg-image\n :lazy-src=\"image | mgnlMedia('url')\"\n :width=\"image | mgnlMedia('width', 0)\"\n :height=\"image | mgnlMedia('height', 0)\"\n ></pg-image>\n </div>\n\n <figcaption class=\"card-article__category\" v-if=\"category\">{{ category.title }}</figcaption>\n </figure>\n <div class=\"card-article__content\">\n <div class=\"card-article__text\">\n <time class=\"card-article__date\" :datetime=\"date\">{{date}}</time>\n\n <h2 class=\"card-article__title\">{{title}}</h2>\n </div>\n </div>\n <i class=\"card-article__icon icon-plus\"></i>\n </a>\n </article>\n</template>\n<script>\nimport PgImage from \"../Image/Image.vue\";\n\nimport PgButton from \"../Button/Button.vue\";\n\nexport default {\n\n name: \"CardArticle\",\n components: {\n PgButton,\n PgImage\n },\n props:{\n title: {\n type: String,\n required: true,\n default: \"\"\n },\n link: {\n type: Object\n },\n image: {\n type: Object\n },\n date: {\n type: String\n },\n tag: {\n type: String, // TODO will be an array??\n },\n category: {\n type: Object\n },\n\n }\n};\n</script>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Card-Article.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Card-Article.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Card-Article.vue?vue&type=template&id=67ae79a5&\"\nimport script from \"./Card-Article.vue?vue&type=script&lang=js&\"\nexport * from \"./Card-Article.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.item && Object.keys(_vm.item).length > 0 && (_vm.$config.editMode || _vm.isPromotionInDateRange))?_c(_vm.componentIs,{tag:\"component\",staticClass:\"card-promotion-small\",class:_vm.classes,attrs:{\"href\":_vm.href,\"targetBlank\":_vm.item.targetBlank,\"linkNofollow\":_vm.item.linkNofollow,\"id\":(\"id-\" + (_vm.item.uuid))}},[(_vm.$config.editMode && !_vm.isPromotionInDateRange)?_c('div',{staticClass:\"edit-alert-msg\"},[_vm._v(\" Attention: promotion is expired or future or it was removed \")]):_vm._e(),_vm._t(\"select\"),_c('div',{staticClass:\"card-promotion-small__img\"},[(_vm.isSmall)?_c('pg-image',{attrs:{\"lazy-src\":_vm._f(\"mgnlMedia\")(_vm.item.imageMobile,'url'),\"alt\":_vm.item.imageMobile.media_name}}):_c('picture',[(_vm.item.imageMobile)?_c('source',{attrs:{\"media\":\"(min-width:0) and (max-width:640px)\",\"srcset\":_vm._f(\"mgnlMedia\")(_vm.item.imageMobile,'url')}}):_vm._e(),_c('source',{attrs:{\"media\":\"(min-width:641px)\",\"srcset\":_vm._f(\"mgnlMedia\")(_vm.item.imageMobile,'url')}}),_c('pg-image',{attrs:{\"lazy-src\":_vm._f(\"mgnlMedia\")(_vm.item.imageMobile,'url'),\"alt\":_vm.item.imageMobile.media_name}})],1)],1),_c('div',{staticClass:\"card-promotion-small__content\"},[_c('div',[(!_vm.isSmall)?_c('p',{staticClass:\"card-promotion-small__duration\"},[_c('msg',{attrs:{\"id\":\"common.card.promo.expiration\"}}),_vm._v(\" \"+_vm._s(_vm.item.duration)+\" \")],1):_vm._e(),_c('h3',{staticClass:\"card-promotion-small__title\"},[_vm._v(_vm._s(_vm.item.title))])]),(!_vm.isSmall)?_c('i',{staticClass:\"icon-plus\",attrs:{\"aria-hidden\":\"true\"}}):_vm._e()])],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <component\n :is=\"componentIs\"\n class=\"card-promotion-small\"\n :href=\"href\"\n :targetBlank=\"item.targetBlank\"\n :linkNofollow=\"item.linkNofollow\"\n v-if=\"item && Object.keys(item).length > 0 && ($config.editMode || isPromotionInDateRange)\"\n :class=\"classes\"\n :id=\"`id-${item.uuid}`\"\n >\n <div v-if=\"$config.editMode && !isPromotionInDateRange\"\n class=\"edit-alert-msg\">\n Attention: promotion is expired or future or it was removed\n </div>\n <slot name=\"select\"></slot>\n <div class=\"card-promotion-small__img\">\n <pg-image\n v-if=\"isSmall\"\n :lazy-src=\"item.imageMobile | mgnlMedia('url')\"\n :alt=\"item.imageMobile.media_name\"\n />\n <picture v-else>\n <source\n media=\"(min-width:0) and (max-width:640px)\"\n :srcset=\"item.imageMobile | mgnlMedia('url')\"\n v-if=\"item.imageMobile\"\n />\n <source\n media=\"(min-width:641px)\"\n :srcset=\"item.imageMobile | mgnlMedia('url')\"\n />\n <pg-image\n :lazy-src=\"item.imageMobile | mgnlMedia('url')\"\n :alt=\"item.imageMobile.media_name\"\n />\n </picture>\n </div>\n <div class=\"card-promotion-small__content\">\n <div>\n <p class=\"card-promotion-small__duration\" v-if=\"!isSmall\">\n <msg id=\"common.card.promo.expiration\" />\n {{ item.duration }}\n </p>\n <h3 class=\"card-promotion-small__title\">{{ item.title }}</h3>\n </div>\n <i class=\"icon-plus\" aria-hidden=\"true\" v-if=\"!isSmall\"></i>\n </div>\n </component>\n</template>\n\n<script>\nimport PgButton from \"../Button/Button.vue\";\nimport PgImage from \"../Image/Image.vue\";\nimport {formatDate} from \"../../filters/datetime\"\n\nexport default {\n name: \"CardPromotionGrid\",\n components: {\n PgButton,\n PgImage,\n },\n filters: {\n formatDate\n },\n data: () => ({\n isSelect: false,\n isSmall: false\n }),\n props: {\n item: {\n type: Object,\n default: () => {},\n },\n value: {\n type: [String, Array],\n default: \"\",\n },\n select: {\n type: String,\n default: \"\",\n },\n size: {\n type: String,\n default: \"\",\n }\n },\n computed: {\n componentIs() {\n let component = \"a\";\n\n if (this.select === \"direct\") {\n component = \"label\";\n } else if (this.select === \"confirm\") {\n component = \"button\";\n }\n return component;\n },\n classes() {\n let selectClass = \"\";\n\n if (\n this.$slots.select !== undefined &&\n (this.value === this.item.uuid || this.value.includes(this.item.uuid))\n ) {\n selectClass = \"is-selected\";\n } else if (this.$slots.select !== undefined) {\n selectClass = \"is-not-selected\";\n }\n\n let sizeClass = \"\";\n\n switch (this.size) {\n case \"sm\":\n sizeClass = \"card-promotion-small--sm\";\n break;\n case \"smh\":\n sizeClass = \"card-promotion-small--smh\";\n break;\n default:\n sizeClass = \"card-promotion-small--lg\";\n break;\n }\n\n return [sizeClass, selectClass];\n },\n href() {\n let href = this.$options.filters.mgnlLink(this.item.link, \"url\");\n if (this.select === \"direct\" || this.select === \"confirm\") {\n href = false;\n }\n return href;\n },\n isPromotionInDateRange() {\n return !this.item.isFuture && !this.item.isExpired;\n }\n },\n mounted() {\n this.isSelect = this.select === \"direct\" || this.select === \"confirm\";\n\n this.isSmall = this.size === \"sm\" || this.size === \"smh\";\n\n this.item && this.item.uuid && this.$eventHub.emit(\"cardPromotion:active-promo\", `id-${this.item.uuid}`);\n }\n};\n</script>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Card-Promotion-Small.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Card-Promotion-Small.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Card-Promotion-Small.vue?vue&type=template&id=77e49a25&\"\nimport script from \"./Card-Promotion-Small.vue?vue&type=script&lang=js&\"\nexport * from \"./Card-Promotion-Small.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\n <section :class=\"`section ${cssClass}`\" v-if=\"items && items.length\" :id=\"`uuid-${$attrs.uuid}`\">\n <div class=\"section__container section__container--full-small\">\n <filters-bar :class=\"{'promo-filters' : listingType === 'promotion'}\"\n :filters=\"filters\" v-if=\"filters && !filters.hideFilters\"\n :showPromoLabels=\"listingType === 'promotion'\"\n />\n <div :class=\"classes\">\n <div class=\"listing-header\" v-if=\"listingTitle || showNote\">\n <div>\n <h2\n class=\"listing-header__heading text--heading-l text--heading-l--section\"\n v-if=\"listingTitle\"\n >\n {{ listingTitle }}\n </h2>\n <p class=\"listing-header__note\" v-if=\"showNote\">\n <msg id=\"common.price.tooltip.text\" />\n </p>\n\n </div>\n </div>\n <div v-if=\"sorteredItems.length > 0\">\n <ul class=\"listing__items\" :class=\"[listingItemsAlign, {'carousel' : listingCarousel}]\">\n <!-- insert control for not place an empty listing__item -->\n <li v-if=\"($config.editMode || (!item.isFuture && !item.isExpired)) && listingType !== 'promotion'\"\n v-for=\"(item, index) in filteredItems\"\n :class=\"[`listing__item ${item.isFeatured ? 'listing__item--2cols' : ''}`]\"\n :key=\"index\">\n <card-article\n v-bind=\"item\"\n v-if=\"\n listingType === 'articles' ||\n (listingType === 'articlesWithFeatured' &&\n ((index !== 6 && index !== 15) || !item.isFeatured))\n \"\n />\n <card-article-featured\n v-bind=\"item\"\n v-else-if=\"\n listingType === 'articleFeatured' ||\n (listingType === 'articlesWithFeatured' &&\n (index === 6 || index === 15) &&\n item.isFeatured)\n \"\n />\n <card-product\n :class=\"{'cursor-default': disableLinks === 'linksDisabled'}\"\n :item=\"item\"\n :productCardConf=\"productCardConf\"\n :priceFormatting=\"priceFormatting\"\n :select=\"disableLinks === 'linksDisabled' ? 'linksDisabled' : ''\"\n v-else\n />\n </li>\n <li v-if=\"($config.editMode || (!item.isFuture && !item.isExpired)) && isCardPromo\"\n v-for=\"(item, index) in filteredItems\"\n :class=\"[`listing__item ${item.isFeatured ? 'listing__item--2cols' : ''}`]\"\n :key=\"index\">\n <card-promotion\n :item=\"item\"\n />\n </li>\n <li v-if=\"($config.editMode || (!item.isFuture && !item.isExpired)) && isListingPromo\"\n v-for=\"(item, index) in filteredItems\"\n :class=\"[`listing__item ${item.isFeatured ? 'listing__item--2cols' : ''} card-promotion-small ${item.mainCategory==='aftersales' ? ' card-promotion-aftersales ' : ' card-promotion-sales '}`]\"\n :key=\"index\">\n <card-promotion-small\n :item=\"item\"\n v-if=\"listingType === 'promotion'\"\n />\n </li>\n <li v-if=\"($config.editMode || (!item.isFuture && !item.isExpired)) && isPlpPromo\"\n v-for=\"(item, index) in filteredItems.slice(0, 3)\"\n :class=\"[`listing__item ${item.isFeatured ? 'listing__item--2cols' : ''} ${cardPromotionTypeSmall ? 'card-promotion-small' : 'card-promotion'}`,`${item.mainCategory==='aftersales'?' card-promotion-aftersales ':' card-promotion-sales '}`]\"\n :key=\"index\">\n <card-promotion-small\n :item=\"item\"\n />\n </li>\n </ul>\n <div v-if=\"this.listingType === 'promotion' && this.filteredItems.length > 3 && !this.$attrs.cardPromoAlwaysSmall\" class=\"card-promotion-small__cta-container\">\n <pg-button\n :href=\"$attrs.promotionListLink.url\"\n :color=\"'primary'\"\n :styleType=\"'text'\"\n :size=\"'medium'\"\n class=\"card-promotion-small-cta-link\"\n :analyticsData=\"analyticsData($attrs.promotionListLink)\"\n >\n <msg id=\"common.promotion.card.small.cta\"/>\n </pg-button>\n </div>\n <div v-if=\"usePagination && numItemsToShow < totalItems\" class=\"section__container text--center\">\n <button @click=\"calculateItemsToShow()\" type=\"button\" class=\"button button--outline button--medium button--primary\">\n <msg id=\"common.cta.show-more.label\" :bare=\"false\" />\n </button>\n </div>\n <div v-if=\"discoverMore\" class=\"section__container text--center\">\n <pg-button class=\"button button--outline button--medium button--primary\"\n :href=\"discoverMore\"\n :styleType=\"'outline'\"\n :size=\"'small'\">\n <msg id=\"common.cta.discover-more.label\" :bare=\"false\"/>\n </pg-button>\n </div>\n </div>\n\n <div v-else>\n <p class=\"filter-no-results\">\n <msg v-if=\"listingType === 'promotion'\" id=\"common.filters.no-promo-results.text\" />\n <msg v-else id=\"common.filters.no-results.text\" />\n </p>\n </div>\n </div>\n </div>\n </section>\n</template>\n\n<script>\nimport CardProduct from \"../Card-Product/Card-Product\";\nimport CardArticle from \"../Card-Article/Card-Article\";\nimport CardArticleFeatured from \"../Card-Article-Featured/Card-Article-Featured\";\nimport CardPromotion from \"../Card-Promotion/Card-Promotion\";\nimport CardPromotionSmall from \"../Card-Promotion-Small/Card-Promotion-Small\";\nimport PgButton from \"../Button/Button\";\nimport FiltersBar from \"./FiltersBar\";\nimport AdvancedButtonWrapper from \"../Advanced-Button-Wrapper/Advanced-Button-Wrapper\";\n\nexport default {\n name: \"PgListing\",\n components: {\n CardProduct,\n CardArticle,\n CardArticleFeatured,\n CardPromotion,\n CardPromotionSmall,\n PgButton,\n FiltersBar,\n AdvancedButtonWrapper\n },\n data() {\n return {\n appliedFilters: null,\n appliedSort: null,\n numItemsToShow: 0,\n totalItems: null\n };\n },\n props: {\n listingTitle: {\n type: String,\n required: false,\n default: \"\"\n },\n items: {\n type: Array,\n default: () => []\n },\n listingType: {\n type: String,\n required: false\n },\n cssClass: {\n type: String,\n required: false,\n default: \"\"\n },\n priceNote: {\n type: Boolean,\n required: false,\n default: false\n },\n productCardConf: {\n type: Object,\n default: () => {}\n },\n priceFormatting: {\n type: Object,\n default: () => {}\n },\n filters: {\n type: Object,\n default: () => {},\n require: false\n },\n usePagination: {\n type: Boolean,\n required: false,\n default: false\n },\n disableLinks: {\n type: String,\n required: false,\n default: \"\"\n },\n discoverMore: {\n type: String,\n required: false,\n default: \"\",\n }\n },\n inheritAttrs: false,\n computed: {\n cardPromotionTypeSmall() {\n return this.filteredItems.length > 2;\n },\n isCardPromo() {\n return this.listingType === 'promotion' && this.filteredItems.length <= 2 && !this.$attrs.cardPromoAlwaysSmall\n },\n isListingPromo() {\n return this.listingType === 'promotion' && this.$attrs.cardPromoAlwaysSmall;\n },\n isPlpPromo() {\n return this.listingType === 'promotion' && this.filteredItems.length > 2 && !this.$attrs.cardPromoAlwaysSmall;\n },\n listingCarousel() {\n return this.$mq === \"small\" && this.listingType === 'promotion' && this.filteredItems.length > 2 && !this.$attrs.cardPromoAlwaysSmall;\n },\n classes() {\n let listingClass = \"small-1-large-4\";\n switch (this.listingType) {\n case \"vehicle\":\n listingClass = \"small-1-large-4\";\n break;\n case \"article\":\n case \"articles\":\n listingClass = \"small-2-large-4 js-items\";\n break;\n case \"articlesWithFeatured\":\n listingClass = \"small-2-large-4-with-2cols js-items\";\n break;\n case \"articleFeatured\":\n listingClass = \"mosaic\";\n break;\n case \"vehicle\":\n case \"family\":\n listingClass = \"small-2-large-4\";\n break;\n case \"accessory\":\n listingClass = \"small-2-large-6\";\n break;\n case \"promotion\":\n listingClass = \"small-12-large-12\";\n break;\n }\n return [\"listing\", \"listing--\" + listingClass];\n },\n showNote() {\n return this.listingType === \"vehicle\" && this.priceNote;\n },\n filteredItems() {\n if (this.appliedFilters) {\n const filterKeys = Object.keys(this.appliedFilters);\n return this.items.filter(item => {\n // validates all filter criteria\n return filterKeys.every(key => {\n if (typeof this.appliedFilters[key] !== \"function\") return true;\n\n return this.appliedFilters[key](item[key]);\n });\n\n return this.appliedFilters[key](item[key]);\n });\n } else {\n this.totalItems = this.items.length;\n\n return this.items;\n }\n },\n sorteredItems() {\n switch (this.appliedSort) {\n case \"name-asc\":\n return this.filteredItems.sort();\n case \"name-desc\":\n return this.filteredItems.sort().reverse();\n case \"price-asc\":\n return this.filteredItems.sort(function(a, b) {\n return a.price - b.price;\n });\n case \"price-desc\":\n return this.filteredItems.sort(function(a, b) {\n return b.price - a.price;\n });\n case \"startDate-asc\":\n return this.filteredItems.sort(function(a, b) {\n return this.compareItems.call(this, a, b, \"startDate-asc\");\n }.bind(this));\n case \"startDate-desc\":\n return this.filteredItems.sort(function(a, b) {\n return this.compareItems.call(this, a, b, \"startDate-desc\");\n }.bind(this));\n case \"endDate-asc\":\n return this.filteredItems.sort(function(a, b) {\n return this.compareItems.call(this, a, b, \"endDate-asc\");\n }.bind(this));\n case \"endDate-desc\":\n return this.filteredItems.sort(function(a, b) {\n return this.compareItems.call(this, a, b, \"endDate-desc\");\n }.bind(this));\n case \"priority-desc\":\n return this.filteredItems.sort(function(a, b) {\n return this.compareItems.call(this, a, b, \"priority-desc\");\n }.bind(this));\n case \"priority-asc\":\n return this.filteredItems.sort(function(a, b) {\n return this.compareItems.call(this, a, b, \"priority-asc\");\n }.bind(this));\n default:\n return this.filteredItems;\n }\n },\n listingItemsAlign() {\n return (this.listingType === \"family\" || this.listingType === \"vehicle\") ? \" align-center\" : \"\";\n }\n },\n methods: {\n compareItems(a, b, sortOrder) {\n // console.log(a);\n const promotionModeA = typeof a.promotionMode !== 'undefined' && a.promotionMode != null && a.promotionMode === \"pqm\";\n const promotionModeB = typeof b.promotionMode !== 'undefined' && b.promotionMode != null && b.promotionMode === \"pqm\";\n\n if (promotionModeA && !promotionModeB) {\n return -1;\n } else if (!promotionModeA && promotionModeB) {\n return 1;\n }\n\n if (typeof a.pinned !== 'undefined' && typeof b.pinned !== 'undefined') {\n if (a.pinned && !b.pinned) {\n return -1;\n } else if (!a.pinned && b.pinned) {\n return 1;\n }\n }\n\n const sDateA = new Date(a.startDate);\n const sDateB = new Date(b.startDate);\n const eDateA = new Date(a.endDate);\n const eDateB = new Date(b.endDate);\n\n let result = 0;\n switch (sortOrder) {\n case \"startDate-desc\":\n result = sDateB - sDateA;\n break;\n case \"startDate-asc\":\n result = sDateA - sDateB;\n break;\n case \"endDate-desc\":\n result = eDateB - eDateA;\n break;\n case \"endDate-asc\":\n result = eDateA - eDateB;\n break;\n case \"priority-desc\":\n result = b.priorityLevel - a.priorityLevel;\n break;\n case \"priority-asc\":\n result = a.priorityLevel - b.priorityLevel;\n break\n default:\n result = 0;\n }\n if (result === 0) {\n result = a.id - b.id;\n }\n return result;\n },\n isFeatured(index) {\n // check if is an article Featured and change the numItemsToShow value\n return this.items[index] && this.items[index].isFeatured;\n },\n calculateItemsToShow() {\n\n if(!this.usePagination) return;\n\n this.numItemsToShow += 8;\n const listing = document.querySelector('.js-items .listing__items');\n const listingItems = listing.childNodes;\n\n listingItems.forEach((item, index) => {\n\n if ((this.numItemsToShow === 8 && this.isFeatured(index)) ||\n (this.numItemsToShow === 23 && this.isFeatured(index))) {\n this.numItemsToShow -= 1;\n }\n\n if (index > this.numItemsToShow - 1) {\n item.classList.add('visual-hidden');\n } else {\n item.classList.remove('visual-hidden');\n }\n\n\n })\n\n },\n analyticsData(el) {\n return {\n evCategory: 'call_to_action',\n evAction: el.document?.url || el.link?.url || el.trackingLabel,\n evLabel: `${el.campaignId || 'No Campaign'} | ${this.$attrs.actpageFullUrl}`\n }\n }\n },\n\n mounted() {\n const ctx = this;\n ctx.$eventHub.on(\"filtersBar:filter-by\", appliedFilters => {\n ctx.appliedFilters = appliedFilters;\n });\n\n ctx.$eventHub.on(\"filtersBar:sort-by\", appliedSort => {\n ctx.appliedSort = appliedSort;\n });\n\n this.calculateItemsToShow()\n\n },\n};\n</script>\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Listing.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Listing.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Listing.vue?vue&type=template&id=03bc53dc&\"\nimport script from \"./Listing.vue?vue&type=script&lang=js&\"\nexport * from \"./Listing.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","'use strict';\nvar $ = require('../internals/export');\nvar $every = require('../internals/array-iteration').every;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('every');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('every');\n\n// `Array.prototype.every` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.every\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.item && Object.keys(_vm.item).length > 0 && (_vm.$config.editMode || _vm.isPromotionInDateRange))?_c(_vm.componentIs,{tag:\"component\",staticClass:\"card-promotion\",class:[_vm.classes , (\"\" + (_vm.item.mainCategory==='aftersales'?' card-promotion-aftersales ':' card-promotion-sales '))],attrs:{\"href\":_vm.href,\"targetBlank\":_vm.item.targetBlank,\"linkNofollow\":_vm.item.linkNofollow,\"id\":(\"id-\" + (_vm.item.uuid))}},[(_vm.$config.editMode && !_vm.isPromotionInDateRange)?_c('div',{staticClass:\"edit-alert-msg\"},[_vm._v(\" Attention: promotion is expired or future or it was removed \")]):_vm._e(),_vm._t(\"select\"),_c('div',{staticClass:\"card-promotion__img\"},[(_vm.isSmall)?_c('pg-image',{attrs:{\"lazy-src\":_vm._f(\"mgnlMedia\")(_vm.item.imageMobile,'url')}}):_c('picture',[(_vm.item.imageMobile)?_c('source',{attrs:{\"media\":\"(min-width:0) and (max-width:640px)\",\"srcset\":_vm._f(\"mgnlMedia\")(_vm.item.imageMobile,'url')}}):_vm._e(),_c('source',{attrs:{\"media\":\"(min-width:641px)\",\"srcset\":_vm._f(\"mgnlMedia\")(_vm.item.image,'url')}}),_c('pg-image',{attrs:{\"lazy-src\":_vm._f(\"mgnlMedia\")(_vm.item.image,'url'),\"alt\":_vm.item.altImage}})],1)],1),_c('div',{staticClass:\"card-promotion__content\"},[_c('div',[(!_vm.isSmall)?_c('p',{staticClass:\"card-promotion__duration\"},[_c('msg',{attrs:{\"id\":\"common.card.promo.expiration\"}}),_vm._v(\" \"+_vm._s(_vm.item.duration)+\" \")],1):_vm._e(),_c('h3',{staticClass:\"card-promotion__title\"},[_vm._v(_vm._s(_vm.item.title))]),_c('p',{staticClass:\"card-promotion__text\"},[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.item.text)}})]),(!_vm.promoMobile)?_c('p',{staticClass:\"card-promotion__cta\"},[_c('msg',{attrs:{\"id\":\"common.card.promo.cta\"}})],1):_vm._e()])]),(!_vm.isSmall)?_c('i',{staticClass:\"icon-plus\",attrs:{\"aria-hidden\":\"true\"}}):_vm._e()],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <component\n :is=\"componentIs\"\n class=\"card-promotion\"\n :href=\"href\"\n :targetBlank=\"item.targetBlank\"\n :linkNofollow=\"item.linkNofollow\"\n v-if=\"item && Object.keys(item).length > 0 && ($config.editMode || isPromotionInDateRange)\"\n :class=\"[classes , `${item.mainCategory==='aftersales'?' card-promotion-aftersales ':' card-promotion-sales '}`]\"\n :id=\"`id-${item.uuid}`\"\n >\n <div v-if=\"$config.editMode && !isPromotionInDateRange\"\n class=\"edit-alert-msg\">\n Attention: promotion is expired or future or it was removed\n </div>\n <slot name=\"select\"></slot>\n <div class=\"card-promotion__img\">\n <pg-image\n v-if=\"isSmall\"\n :lazy-src=\"item.imageMobile | mgnlMedia('url')\"\n />\n <picture v-else>\n <source\n media=\"(min-width:0) and (max-width:640px)\"\n :srcset=\"item.imageMobile | mgnlMedia('url')\"\n v-if=\"item.imageMobile\"\n />\n <source\n media=\"(min-width:641px)\"\n :srcset=\"item.image | mgnlMedia('url')\"\n />\n <pg-image\n :lazy-src=\"item.image | mgnlMedia('url')\"\n :alt=\"item.altImage\"\n />\n </picture>\n </div>\n <div class=\"card-promotion__content\">\n <div>\n <p class=\"card-promotion__duration\" v-if=\"!isSmall\">\n <msg id=\"common.card.promo.expiration\" />\n {{ item.duration }}\n </p>\n <h3 class=\"card-promotion__title\">{{ item.title }}</h3>\n <p class=\"card-promotion__text\">\n <span v-html=\"item.text\"></span>\n </p>\n <p v-if=\"!promoMobile\" class=\"card-promotion__cta\">\n <msg id=\"common.card.promo.cta\" />\n </p>\n </div>\n </div>\n <i class=\"icon-plus\" aria-hidden=\"true\" v-if=\"!isSmall\"></i>\n </component>\n</template>\n\n<script>\nimport PgButton from \"../Button/Button.vue\";\nimport PgImage from \"../Image/Image.vue\";\nimport {formatDate} from \"../../filters/datetime\"\n\nexport default {\n name: \"CardPromotion\",\n components: {\n PgButton,\n PgImage,\n },\n filters: {\n formatDate\n },\n data: () => ({\n isSelect: false,\n isSmall: false\n }),\n props: {\n item: {\n type: Object,\n default: () => {},\n },\n value: {\n type: [String, Array],\n default: \"\",\n },\n select: {\n type: String,\n default: \"\",\n },\n size: {\n type: String,\n default: \"\",\n }\n },\n computed: {\n promoMobile() {\n return this.$mq === 'small';\n },\n componentIs() {\n let component = \"a\";\n\n if (this.select === \"direct\") {\n component = \"label\";\n } else if (this.select === \"confirm\") {\n component = \"button\";\n }\n return component;\n },\n classes() {\n let selectClass = \"\";\n\n if (\n this.$slots.select !== undefined &&\n (this.value === this.item.uuid || this.value.includes(this.item.uuid))\n ) {\n selectClass = \"is-selected\";\n } else if (this.$slots.select !== undefined) {\n selectClass = \"is-not-selected\";\n }\n\n let sizeClass = \"\";\n\n switch (this.size) {\n case \"sm\":\n sizeClass = \"card-promotion--sm\";\n break;\n case \"smh\":\n sizeClass = \"card-promotion--smh\";\n break;\n default:\n sizeClass = \"card-promotion--lg\";\n break;\n }\n\n return [sizeClass, selectClass];\n },\n href() {\n let href = this.$options.filters.mgnlLink(this.item.link, \"url\");\n if (this.select === \"direct\" || this.select === \"confirm\") {\n href = false;\n }\n return href;\n },\n isPromotionInDateRange() {\n return !this.item.isFuture && !this.item.isExpired;\n }\n },\n mounted() {\n this.isSelect = this.select === \"direct\" || this.select === \"confirm\";\n\n this.isSmall = this.size === \"sm\" || this.size === \"smh\";\n\n this.item && this.item.uuid && this.$eventHub.emit(\"cardPromotion:active-promo\", `id-${this.item.uuid}`);\n }\n};\n</script>\n\n<!--<style scoped>\n#root > .card-promotion--lg {\n max-width: 1024px;\n}\n\n#root > .card-promotion--sm {\n max-width: 333px;\n}\n\n#root > .card-promotion--smh {\n max-width: 333px;\n}\n</style>-->\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Card-Promotion.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Card-Promotion.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Card-Promotion.vue?vue&type=template&id=6fc9db70&\"\nimport script from \"./Card-Promotion.vue?vue&type=script&lang=js&\"\nexport * from \"./Card-Promotion.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}