"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[63201,34566],{79669:(n,e,t)=>{t.r(e),t.d(e,{default:()=>Z});var i,r,a,o,c,s,l,p,d=t(29439),u=(t(82526),t(41817),t(32564),t(26541),t(26833),t(67294)),g=t(30168),h=(t(92222),t(71893)),m=t(30305),f=t(50693),b=h.ZP.div(i||(i=(0,g.Z)(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n padding: ",";\n height: 100%;\n min-height: 20.688rem;\n max-width: 15rem;\n background: ",";\n border-radius: ",";\n box-sizing: border-box;\n margin-left: ",";\n "," {\n margin-left: ",";\n }\n "," {\n margin: 0;\n }\n\n "," {\n max-width: 16.5rem;\n }\n"])),(function(n){return n.theme.spacing.spacing03}),(function(n){return n.bg}),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.spacing.spacing02}),m.B.tabletPortrait,(function(n){return n.theme.spacing.spacing03}),m.B.tabletLandscape,m.B.desktop),y=h.ZP.label(r||(r=(0,g.Z)(["\n color: ",";\n font-weight: ",";\n line-height: ",";\n font-size: ",";\n margin-bottom: ",";\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.typography.body2Regular.weight}),(function(n){return n.theme.typography.body2Regular.lineHeight}),(function(n){return n.theme.typography.body2Regular.size}),(function(n){return n.theme.spacing.spacing02})),w=(0,h.ZP)(f.z)(a||(a=(0,g.Z)(["\n padding: 0.188rem 0px;\n width: 100%;\n display: block;\n"]))),v=h.ZP.p(o||(o=(0,g.Z)(["\n color: ",";\n font-weight: ",";\n line-height: ",";\n font-size: ",";\n position: relative;\n z-index: 1;\n width: 100%;\n white-space: break-spaces;\n overflow: hidden;\n text-overflow: ellipsis;\n ","\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.typography.header.h3.weight}),(function(n){return n.theme.typography.header.h3.lineHeight}),(function(n){return n.theme.typography.header.h3.size}),(function(n){var e=n.textSmall,t=n.theme;return!e&&"".concat(m.B.tabletPortrait," {\n font-weight: ").concat(t.typography.header.h2.weight,";\n line-height: ").concat(t.typography.header.h2.lineHeight,";\n font-size: ").concat(t.typography.header.h2.size,";\n }")})),x=h.ZP.div(c||(c=(0,g.Z)(["\n position: relative;\n z-index: 1;\n font-weight: ",";\n line-height: ",";\n font-size: ",";\n color: ",";\n label {\n margin-bottom: ",";\n display: block;\n }\n"])),(function(n){return n.theme.typography.body2Bold.weight}),(function(n){return n.theme.typography.body2Bold.lineHeight}),(function(n){return n.theme.typography.body2Bold.size}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.spacing.spacing01})),k=h.ZP.span(s||(s=(0,g.Z)(["\n font-weight: ",";\n line-height: ",";\n font-size: ",";\n background: ",";\n display: block;\n color: ",";\n border-radius: ",";\n padding: "," ",";\n"])),(function(n){return n.theme.typography.body2Bold.weight}),(function(n){return n.theme.typography.body2Bold.lineHeight}),(function(n){return n.theme.typography.body2Bold.size}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.black}),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.spacing.spacing0025}),(function(n){return n.theme.spacing.spacing005})),j=h.ZP.label(l||(l=(0,g.Z)(["\n font-size: 0.75rem;\n color: ",";\n font-weight: ",";\n line-height: ",";\n font-size: ",";\n margin-top: 0.188rem;\n display: block;\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.typography.captionRegular.weight}),(function(n){return n.theme.typography.captionRegular.lineHeight}),(function(n){return n.theme.typography.captionRegular.size})),P=h.ZP.ul(p||(p=(0,g.Z)(["\n list-style: none;\n margin: 0;\n padding: 0;\n display: flex;\n li {\n width: 1.5rem;\n text-align: center;\n margin-right: ",";\n margin-bottom: 0;\n }\n"])),(function(n){return n.theme.spacing.spacing005})),C=t(28225),O=t(58029),S=t(85893);const Z=function(n){var e=n.description,t=n.endTime,i=n.campaignColor,r=n.textSmall,a=(0,C.$G)(),o=(0,d.Z)(a,1)[0],c=(0,u.useState)((0,O.j)(t)),s=(0,d.Z)(c,2),l=s[0],p=s[1],g=(0,u.useState)(!1),h=(0,d.Z)(g,2),m=h[0],f=h[1],Z=(0,u.useRef)();(0,u.useEffect)((function(){return Z.current=setTimeout((function(){var n=(0,O.j)(t);p(n),Object.values(n).every((function(n){return"00"===n}))&&(f(!0),Z.current&&clearTimeout(Z.current))}),1e3),function(){return Z.current&&clearTimeout(Z.current)}}),[l,t]);return(0,S.jsxs)(b,{bg:i.secondary,children:[(0,S.jsx)(v,{textSmall:r,children:e}),(0,S.jsx)(x,{children:m?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(y,{children:o("categories.list.reloadPage")}),(0,S.jsx)(w,{secondary:!0,onClick:function(){window.location.reload()},children:o("categories.list.reloadNow")})]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("label",{children:o("categories.list.beginsIn")}),(0,S.jsxs)(P,{children:[(0,S.jsxs)("li",{children:[(0,S.jsx)(k,{children:l.days}),(0,S.jsx)(j,{children:"D"})]}),(0,S.jsxs)("li",{children:[(0,S.jsx)(k,{children:l.hours}),(0,S.jsx)(j,{children:"H"})]}),(0,S.jsxs)("li",{children:[(0,S.jsx)(k,{children:l.minutes}),(0,S.jsx)(j,{children:"M"})]}),(0,S.jsxs)("li",{children:[(0,S.jsx)(k,{children:l.seconds}),(0,S.jsx)(j,{children:"S"})]})]})]})})]})}},32600:(n,e,t)=>{t.r(e),t.d(e,{default:()=>D});var i,r,a=t(29439),o=t(28225),c=t(30168),s=t(71893),l=s.ZP.div(i||(i=(0,c.Z)(["\n margin: 0 auto;\n width: 100vw;\n color: ",";\n background-color: ",";\n padding-top: ",";\n padding-bottom: ",";\n margin-bottom: ",";\n"])),(function(n){return n.fontColor||n.theme.colors.black}),(function(n){return n.background||"transparent"}),(function(n){return n.verticalSpacing&&n.theme.spacing.spacing02}),(function(n){return(n.emptyQuery?"6.5rem":n.verticalSpacing&&n.theme.spacing.spacing02)||void 0}),(function(n){return n.withGap&&n.theme.spacing.spacing02})),p=t(55356),d=t(93433),u=(t(89554),t(54747),t(9653),t(92222),t(21249),t(82526),t(41817),t(93601)),g=t(79669),h=t(64572),m=(t(68309),t(92087),t(47941),t(57327),t(38880),t(49337),t(33321),t(69070),t(18627)),f=t(77862),b=t(76644),y=t(95199),w=t(83338),v=t(12219),x=t(53971),k=t(85893);function j(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function P(n){for(var e=1;e0?g.push(n):h.push(n)})),[].concat((0,d.Z)(O({cards:g,onPageH1:i,domain:r,onClickBuy:c,isDesktop:s,cardType:u.e.BOMBS,campaignTitle:l,campaignTitleForLinks:p})),(0,d.Z)(S(a.scheduled,o)),(0,d.Z)(O({cards:h,onPageH1:i,domain:r,onClickBuy:c,isDesktop:s,cardType:u.e.BOMBS,campaignTitle:l,campaignTitleForLinks:p})))};const I=function(n){var e=n.campaignId,t=n.flashCards,i=n.campaignColor,r=n.campaignTitle,c=n.campaignTitleForLinks,s=n.onPageH1,d=n.domain,u=n.isDesktop,g=n.titleCategorySelected,h=n.onClickBuy,m=(0,o.$G)(),f=(0,a.Z)(m,1)[0],b=Z({onPageH1:s,domain:d,cards:null===t||void 0===t?void 0:t.items,campaignColor:i,onClickBuy:h,isDesktop:u,campaignTitle:r,campaignTitleForLinks:c});return e&&b.length>5&&!g?(0,k.jsx)(l,{background:i.background,secondary:i.secondary,fontColor:i.font,children:(0,k.jsx)(p.Z,{id:"carousel-bombs-".concat(e||""),items:b,title:f("categories.list.flashOffers"),settings:{loop:!1}})}):(0,k.jsx)(k.Fragment,{})};var z,B=t(6478),L=s.ZP.div(z||(z=(0,c.Z)(["\n margin: 0 auto;\n width: 100vw;\n color: ",";\n background-color: ",";\n padding-top: ",";\n padding-bottom: ",";\n margin-bottom: ",";\n"])),(function(n){return n.fontColor||n.theme.colors.black}),(function(n){return n.background||"transparent"}),(function(n){return n.verticalSpacing&&n.theme.spacing.spacing02}),(function(n){return(n.emptyQuery?"6.5rem":n.verticalSpacing&&n.theme.spacing.spacing02)||void 0}),(function(n){return n.withGap&&n.theme.spacing.spacing02}));const T=function(n){var e=n.campaignId,t=n.highlightsCards,i=n.campaignTitle,r=n.campaignTitleForLinks,c=n.onPageH1,s=n.domain,l=n.isDesktop,d=n.titleCategorySelected,g=n.onClickBuy,h=(0,o.$G)(),m=(0,a.Z)(h,1)[0],f=O({cards:t,onPageH1:c,domain:s,isDesktop:l,cardType:u.e.CAROUSEL,campaignTitle:i,campaignTitleForLinks:r,onClickBuy:g});return Boolean(f.length)&&f.length>0?(0,k.jsx)(L,{withGap:!0,children:f.length?(0,k.jsx)(p.Z,{id:"carousel-highlights-".concat(e||""),items:f,title:"".concat(m("categories.list.highlightedOffers")," ").concat(d||""),settings:{loop:!1}}):(0,k.jsx)(k.Fragment,{})}):(0,k.jsx)(k.Fragment,{})};const D=function(n){var e=n.campaignId,t=n.campaignLegacyId,i=n.flashCards,r=n.campaignColor,a=n.categoryCards,o=n.highlightsCards,c=n.campaignName,s=n.campaignTitle,l=n.campaignTitleForLinks,p=n.onPageH1,d=n.domain,u=n.language,g=n.isDesktop,h=n.loading,m=n.campaignType,f=n.titleCategorySelected,b=n.onClickBuy,y=n.userId,w=n.cartId;return(0,k.jsxs)(k.Fragment,{children:[e&&i&&(null===i||void 0===i?void 0:i.items)&&(0,k.jsx)(I,{campaignId:e,flashCards:i,campaignColor:r,campaignTitle:s,campaignTitleForLinks:l,onPageH1:p,domain:d,isDesktop:g,titleCategorySelected:f,onClickBuy:b}),a&&!(null===a||void 0===a||!a.items.length)&&(0,k.jsx)(B.Z,{campaignId:e,campaignLegacyId:t,campaignColor:r,categoryCards:a,campaignName:c,campaignTitle:s,language:u,loading:h,campaignType:m,userId:y,cartId:w}),o&&!(null===o||void 0===o||!o.length)&&(0,k.jsx)(T,{campaignId:e,highlightsCards:o,campaignTitle:s,campaignTitleForLinks:l,onPageH1:p,domain:d,isDesktop:g,titleCategorySelected:f,onClickBuy:b})]})}},95199:(n,e,t)=>{t.r(e),t.d(e,{default:()=>f});var i,r=t(64572),a=t(45987),o=(t(68309),t(47941),t(82526),t(57327),t(38880),t(89554),t(54747),t(49337),t(33321),t(69070),t(67294)),c=t(30168),s=t(71893),l=t(42347),p=(0,s.ZP)(l.r)(i||(i=(0,c.Z)(["\n align-items: flex-start;\n z-index: 0;\n"]))),d=t(85893),u=["children","article","options","isAlgoliaLink","queryId","dataList"];function g(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function h(n){for(var e=1;e{var i;t.d(e,{Z:()=>i}),function(n){n.IMPRESSION="impression"}(i||(i={}))},55356:(n,e,t)=>{t.d(e,{Z:()=>O});var i=t(67294),r=t(63845),a=t(95186),o=t(52997),c=t(64519),s=t(24002),l=t(71893),p=t(38770),d=t(30305);function u(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function g(){var n=u(["\n padding-right: 0;\n padding-left: 0;\n margin-bottom: 0;\n "," {\n padding-right: ",";\n padding-left: ",";\n }\n /* Pagination */\n .swiper-pagination-bullets-dynamic {\n font-size: 0;\n overflow: hidden;\n .swiper-pagination-bullet {\n position: relative;\n transform: scale(0.33);\n }\n .swiper-pagination-bullet-active {\n transform: scale(1);\n }\n .swiper-pagination-bullet-active-main {\n transform: scale(1);\n }\n .swiper-pagination-bullet-active-prev {\n transform: scale(0.66);\n }\n .swiper-pagination-bullet-active-prev-prev {\n transform: scale(0.33);\n }\n .swiper-pagination-bullet-active-next {\n transform: scale(0.66);\n }\n .swiper-pagination-bullet-active-next-next {\n transform: scale(0.33);\n }\n }\n .swiper-pagination-bullet {\n border: "," solid ",";\n border-radius: 50%;\n background: ",";\n display: inline-block;\n height: ",";\n width: ",";\n }\n button.swiper-pagination-bullet {\n border: none;\n box-shadow: none;\n margin: 0;\n padding: 0;\n -webkit-appearance: none;\n appearance: none;\n }\n .swiper-pagination-clickable .swiper-pagination-bullet {\n cursor: pointer;\n }\n .swiper-pagination-bullet:only-child {\n display: none !important;\n }\n .swiper-pagination-bullet-active {\n background: ",";\n }\n\n .swiper-container-horizontal > .swiper-pagination-bullets {\n bottom: 0;\n position: absolute;\n text-align: center;\n width: 100%;\n z-index: 1;\n }\n .swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {\n margin: 0 ",";\n }\n .swiper-container-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic {\n left: 50%;\n transform: translateX(-50%);\n white-space: nowrap;\n }\n .swiper-container-horizontal\n > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic\n .swiper-pagination-bullet {\n transition: 200ms transform, 200ms left;\n }\n .swiper-container-horizontal.swiper-container-rtl\n > .swiper-pagination-bullets-dynamic\n .swiper-pagination-bullet {\n transition: 200ms transform, 200ms right;\n }\n .swiper-pagination-clickable .swiper-pagination-bullet {\n cursor: pointer;\n }\n"]);return g=function(){return n},n}function h(){var n=u(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n margin-bottom: ",";\n padding-left: ",";\n "," {\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n padding-left: ",";\n }\n "," {\n padding-left: 0;\n }\n"]);return h=function(){return n},n}function m(){var n=u(["\n .swiper-container {\n margin-left: auto;\n margin-right: auto;\n position: relative;\n\n list-style: none;\n padding: 0;\n /* Fix of Webkit flickering */\n z-index: ",";\n overflow: hidden;\n }\n\n .swiper-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n z-index: ",";\n display: flex;\n transition-property: transform;\n box-sizing: content-box;\n }\n .swiper-container-android .swiper-slide,\n .swiper-wrapper {\n transform: translate3d(0px, 0, 0);\n }\n .swiper-container-multirow > .swiper-wrapper {\n flex-wrap: wrap;\n }\n\n .swiper-container-pointer-events {\n touch-action: pan-y;\n }\n .swiper-container-pointer-events.swiper-container-vertical {\n touch-action: pan-x;\n }\n .swiper-slide {\n flex-shrink: 0;\n width: 100%;\n display: flex;\n flex-direction: column;\n position: relative;\n transition-property: transform;\n }\n .swiper-slide-invisible-blank {\n visibility: hidden;\n }\n /* Auto Height */\n .swiper-container-autoheight,\n .swiper-container-autoheight .swiper-slide {\n height: auto;\n }\n .swiper-container-autoheight .swiper-wrapper {\n align-items: flex-start;\n transition-property: transform, height;\n }\n\n .swiper-container-horizontal.swiper-container-css-mode > .swiper-wrapper {\n scroll-snap-type: x mandatory;\n }\n\n .swiper-button-prev,\n .swiper-button-next {\n background: ",";\n width: ",";\n height: ",";\n border: 1px solid ",";\n border-radius: 4px;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n z-index: ",";\n display: none;\n "," {\n display: block;\n }\n &:hover {\n cursor: pointer;\n }\n }\n\n .swiper-button-prev {\n left: 0;\n }\n .swiper-button-next {\n right: 0;\n }\n .swiper-button-prev:after,\n .swiper-button-next:after {\n content: '';\n display: inline-block;\n border-right: 2px solid ",";\n border-bottom: 2px solid ",";\n width: 14px;\n height: 14px;\n transform: rotate(-45deg);\n margin: 16px 13px 13px 13px;\n }\n .swiper-button-prev:after {\n content: '';\n transform: rotate(135deg);\n margin: 16px 16px 16px 18px;\n }\n .swiper-button-prev.swiper-button-disabled,\n .swiper-button-next.swiper-button-disabled {\n opacity: 0.2;\n &:hover {\n cursor: auto;\n }\n }\n\n /* Common Styles */\n .swiper-pagination-fraction,\n .swiper-pagination-custom,\n .swiper-slide a {\n height: 100%;\n &:hover {\n color: ",";\n }\n }\n\n &.not-hydrated {\n .swiper-button-next,\n .swiper-button-prev {\n display: none;\n }\n .swiper-wrapper {\n display: flex;\n flex-wrap: nowrap;\n }\n\n .swiper-slide {\n flex: 0 0 calc(100% / ",");\n margin-right: ",";\n "," {\n flex: 0 0 calc(100% / "," - 1rem);\n margin-right: 1rem;\n }\n "," {\n flex: 0 0 calc(100% / "," - 13px);\n margin-right: 1rem;\n }\n "," {\n flex: 0 0 calc(100% / "," - 20px);\n margin-right: ",";\n }\n &.swiper-slide-duplicate {\n flex: 0 0 0;\n width: 0;\n height: 0;\n margin: 0;\n overflow: hidden;\n }\n }\n }\n"]);return m=function(){return n},n}var f=(0,l.ZP)(p.W)(g(),d.B.tabletLandscape,(function(n){return n.theme.spacing.spacing04}),(function(n){return n.theme.spacing.spacing04}),(function(n){return n.theme.spacing.spacing0025}),(function(n){return n.theme.colors.black}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.colors.black}),(function(n){return n.theme.spacing.spacing005})),b=l.ZP.h2(h(),(function(n){return n.theme.typography.header.h3.weight}),(function(n){return n.theme.typography.header.h3.size}),(function(n){return n.theme.typography.header.h3.lineHeight}),(function(n){return n.theme.spacing.spacing03}),(function(n){return n.theme.spacing.spacing02}),d.B.tabletPortrait,(function(n){return n.theme.typography.header.h2.weight}),(function(n){return n.theme.typography.header.h2.size}),(function(n){return n.theme.typography.header.h2.lineHeight}),(function(n){return n.theme.spacing.spacing03}),d.B.tabletLandscape),y=l.ZP.div(m(),(function(n){return n.theme.layout.zIndex.base}),(function(n){return n.theme.layout.zIndex.base}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.spacing.spacing06}),(function(n){return n.theme.spacing.spacing06}),(function(n){return n.theme.colors.environment.percent20}),(function(n){return n.theme.layout.zIndex.default}),d.B.tabletLandscape,(function(n){return n.theme.colors.black}),(function(n){return n.theme.colors.black}),(function(n){return n.theme.colors.black}),(function(n){return n.breakpoints[0].slidesPerView}),(function(n){return n.theme.spacing.spacing02}),d.B.tabletPortrait,(function(n){return n.breakpoints[768].slidesPerView}),d.B.tabletLandscape,(function(n){return n.breakpoints[992].slidesPerView}),d.B.desktopLarge,(function(n){return n.breakpoints[1560].slidesPerView}),(function(n){return n.theme.spacing.spacing03})),w=t(67294);function v(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t=parseInt(e)?parseInt(e):0}));return e[(t=Math).max.apply(t,j(i))].slidesPerView}(n,I))||1;v(e)}),[I]);return(0,i.useEffect)((function(){g(!0)}),[]),(0,i.useEffect)((function(){if(T){var n=function(){D()};return window.addEventListener("resize",n),function(){window.removeEventListener("resize",n)}}}),[D,T]),(0,i.useEffect)((function(){u&&T&&D()}),[D,u,T]),w.createElement(f,{id:e,className:p},a&&w.createElement(b,x({},o&&{className:o}),a),w.createElement(y,{className:u?"hydrated":"not-hydrated",breakpoints:I},w.createElement(c.t,{pagination:!!B&&{clickable:!0},navigation:S,loop:P,breakpoints:I,resizeObserver:!0,slidesPerGroup:m||1},t.map((function(n,e){return w.createElement(s.o,{key:n.key||e},n)})))))}},53971:(n,e,t)=>{t.d(e,{m:()=>i});var i=function(n){return n.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}}}]); //# sourceMappingURL=Carousels.js.map