"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5698],{76644:(n,e,t)=>{var r;t.d(e,{Z:()=>r}),function(n){n.IMPRESSION="impression"}(r||(r={}))},92559:(n,e,t)=>{t.d(e,{Rl:()=>a,kt:()=>o,q8:()=>i});var r=t(84479),i=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"de",t=n;if(n&&""!==n){var i=new Date(n);i&&(t="".concat(i.getDate()," ").concat(e," ").concat((0,r.xS)(i.getMonth())," ").concat(e," ").concat(i.getFullYear()," "))}return t},a=function(n){return n&&n.length>0},o=function(n,e){var t=n.split("/"),r=Array.isArray(t)?t.pop():t;return r?r.split(".")[0].replace(new RegExp("/","g"),"-"):e}},55356:(n,e,t)=>{t.d(e,{Z:()=>E});var r=t(67294),i=t(71893),a=t(38770),o=t(30305);function c(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function u(){var n=c(["\n padding-right: 0;\n padding-left: 0;\n padding-bottom: ",";\n padding-bottom: ",";\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 u=function(){return n},n}function s(){var n=c(["\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 s=function(){return n},n}function l(){var n=c(["\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 l=function(){return n},n}var p=(0,i.ZP)(a.W)(u(),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing04}),o.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})),f=i.ZP.h2(s(),(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}),o.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}),o.B.tabletLandscape),g=i.ZP.div(l(),(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}),o.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}),o.B.tabletPortrait,(function(n){return n.breakpoints[768].slidesPerView}),o.B.tabletLandscape,(function(n){return n.breakpoints[992].slidesPerView}),o.B.desktopLarge,(function(n){return n.breakpoints[1560].slidesPerView}),(function(n){return n.theme.spacing.spacing03})),d=t(64519),m=t(24002),h=t(63845),b=t(95186),v=t(52997);function w(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t{t.r(e),t.d(e,{CarouselPost:()=>tn});var r=t(67294),i=t(63742),a=t(35354),o=t(32484),c=t(76644),u=t(91044),s=t(51062),l=t(71893);function p(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function f(){var n=p(["\n color: ",";\n cursor: pointer;\n text-decoration: none;\n\n &:hover {\n text-decoration: none;\n color: ",";\n }\n"]);return f=function(){return n},n}function g(){var n=p(["\n width: 100%;\n ","\n"]);return g=function(){return n},n}function d(){var n=p(["\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n display: -webkit-box;\n height: ",";\n margin-bottom: ",";\n overflow: hidden;\n text-overflow: ellipsis;\n width: 100%;\n ",";\n"]);return d=function(){return n},n}function m(){var n=p(["\n display: flex;\n"]);return m=function(){return n},n}function h(){var n=p(["\n margin-right: ",";\n ",";\n"]);return h=function(){return n},n}var b=l.ZP.a(f(),(function(n){return n.theme.colors.black}),(function(n){return n.theme.colors.black})),v=(0,l.ZP)(u.X)(g(),s.g.header.h4),w=l.ZP.div(d(),(function(n){return n.theme.spacing.spacing05}),(function(n){return n.theme.spacing.spacing02}),s.g.body2Regular),y=l.ZP.div(m()),x=l.ZP.div(h(),(function(n){return n.theme.spacing.spacing01}),s.g.body2Regular),E=t(26793);function P(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t div {\n width: auto;\n padding-left: 0;\n padding-right: 0;\n }\n"]);return j=function(){return n},n}function I(){var n=A(["\n position: initial;\n z-index: 9;\n"]);return I=function(){return n},n}function L(){var n=A(["\n align-items: center;\n display: flex;\n min-height: inherit;\n justify-content: center;\n"]);return L=function(){return n},n}var Z=l.ZP.div(z()),D=l.ZP.div(j()),M=(0,l.ZP)(S.a)(I()),B=l.ZP.div(L()),T=t(28489),N=t(58846),V=t(49670),G=function(n){var e=n.slugs,t=n.language,r=n.platform,i=n.selectedLanguage,a=n.domainExtension;try{return N.w.serviceGWFetch("/api-v1/cms/carousel-post",V.w.GET,{slugs:e},{headers:{"X-Language":t,"x-platform":r,"x-selected-language":i,"x-domain-extension":a}})}catch(n){throw new T.pY({error:0,message:JSON.stringify(n)})}},_=function(n){var e=n.ids,t=n.platform,r=n.selectedLanguage,i=n.domainExtension;try{return N.w.serviceGWFetch("/api-v1/cms/carousel-postids",V.w.GET,{ids:e},{headers:{"x-platform":t,"x-selected-language":r,"x-domain-extension":i}})}catch(n){throw new T.pY({error:0,message:JSON.stringify(n)})}},R=function(n){var e=n.id,t=n.platform,r=n.selectedLanguage,i=n.domainExtension;try{return N.w.serviceGWFetch("/api-v1/cms/carousel-posts-by-category",V.w.GET,{category:e},{headers:{"x-platform":t,"x-selected-language":r,"x-domain-extension":i}})}catch(n){throw new T.pY({error:0,message:JSON.stringify(n)})}},C=t(55356),H=t(55285),U=t(50279),F=t(92559),W=t(28216),J=t(37148);function Y(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]0&&f?[4,G({slugs:t,language:f,platform:y,selectedLanguage:x,domainExtension:E})]:[3,2];case 1:return n=i.sent(),[3,7];case 2:return a&&f&&!o?[4,R({id:a,platform:y,selectedLanguage:x,domainExtension:E})]:[3,4];case 3:return n=i.sent(),[3,7];case 4:return o&&""!==o?[4,v(o,c||"",a)]:[3,7];case 5:return(e=i.sent())?[4,_({ids:e.split(",").map((function(n){return Number(n.replace("post",""))})),platform:y,selectedLanguage:x,domainExtension:E})]:[3,7];case 6:n=i.sent(),i.label=7;case 7:return n&&n.ok&&n.data?(r=n.data.map((function(n){var e=n.slug&&p&&f?(0,H.KA)(p,n.slug):n.slug;return Q(q({},n),{href:e})})),b((function(n){return Q(q({},n),{postList:r,loading:!1})}))):b((function(n){return Q(q({},n),{loading:!1})})),[2]}}))},e=function(){var e=this,t=arguments;return new Promise((function(r,i){var a=n.apply(e,t);function o(n){$(a,r,i,o,c,"next",n)}function c(n){$(a,r,i,o,c,"throw",n)}o(void 0)}))},function(){return e.apply(this,arguments)});r()}),[p,E,f,y,x]);var P,O=(new Date).getTime().toString();return(0,F.Rl)(h.postList)||h.loading?r.createElement(Z,X({},d&&{id:d},{className:"cms-module carousel-post-module-class"}),h.loading?r.createElement(B,null,r.createElement(M,{extra:r.createElement(i.J,{icon:"pcc_icon","data-testid":"loading-container",fill:w.colors.brand.main})})):r.createElement(D,null,r.createElement(C.Z,{title:null!==e&&void 0!==e?e:"",items:h.postList.map((function(n,e){return r.createElement(k,X({key:"".concat(O).concat(e)},n,{position:e,dataListProduct:g||""}))})),settings:{loop:u,navigation:s,breakpoints:(P=h.postList.length,{0:{slidesPerView:1},768:{slidesPerView:P<2?P:1.4,spaceBetween:24},992:{slidesPerView:P<2?P:1.8,spaceBetween:24},1030:{slidesPerView:P<=2?P:2.2,spaceBetween:24},1300:{slidesPerView:P<=2?P:2.5,spaceBetween:24},1560:{slidesPerView:P<=2?P:3,spaceBetween:24}})}}))):r.createElement(r.Fragment,null)}},35354:(n,e,t)=>{t.d(e,{Z:()=>V});var r=t(67294),i=t(71893),a=t(30305),o=t(32484);function c(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function u(){var n=c(["\n transform: scale(1.1);};\n "]);return u=function(){return n},n}function s(){var n=c(["\n &:hover {\n color: ",";\n img {\n transform: scale(1.05);\n transform-origin: center center;\n ","\n }\n }\n "]);return s=function(){return n},n}function l(){var n=c(["\n display: block;\n "]);return l=function(){return n},n}function p(){var n=c(["\n display: flex;\n flex-direction: column;\n "]);return p=function(){return n},n}function f(){var n=c(["\n display: flex;\n flex-direction: row;\n gap: ",";\n "]);return f=function(){return n},n}function g(){var n=c(["\n overflow: hidden;\n\n ","\n\n ","\n"]);return g=function(){return n},n}function d(){var n=c(["\n flex-basis: 50%;\n "]);return d=function(){return n},n}function m(){var n=c(["\n text-decoration: none;\n &:hover {\n color: ",";\n }\n\n ","\n"]);return m=function(){return n},n}function h(){var n=c(["\n height: 6.25rem;\n "]);return h=function(){return n},n}function b(){var n=c(["\n height: 13.5rem;\n transition: all 0.8s ease;\n @media (min-width: 28.7rem) {\n height: 16.5rem;\n }\n\n @media (min-width: 35rem) {\n height: 23rem;\n }\n\n @media (min-width: 41rem) {\n height: 29rem;\n }\n\n "," {\n height: 20.5rem;\n }\n "]);return b=function(){return n},n}function v(){var n=c(["\n height: 13rem;\n "]);return v=function(){return n},n}function w(){var n=c(["\n margin-bottom: ",";\n overflow: hidden;\n width: 100%;\n\n ","\n"]);return w=function(){return n},n}function y(){var n=c(["\n transition: all 0.8s ease;\n "]);return y=function(){return n},n}function x(){var n=c(["\n height: 100%;\n object-fit: cover;\n transition: all 2s ease;\n width: 100%;\n\n ","\n"]);return x=function(){return n},n}function E(){var n=c(["\n display: flex;\n flex-direction: row;\n"]);return E=function(){return n},n}function P(){var n=c(["\n text-decoration: none;\n &:hover {\n color: ",";\n }\n"]);return P=function(){return n},n}function O(){var n=c(["\n background: ",";\n border: 0.063rem solid ",";\n border-radius: ",";\n margin: 0 "," "," 0;\n padding: "," ","\n ",";\n"]);return O=function(){return n},n}function k(){var n=c(["\n background-color: white;\n margin-left: ",";\n margin-right: ",";\n margin-top: -",";\n padding: ",";\n position: inherit;\n "]);return k=function(){return n},n}function S(){var n=c(["\n padding-bottom: ",";\n "]);return S=function(){return n},n}function A(){var n=c(["\n ","\n width: 100%;\n "]);return A=function(){return n},n}function z(){var n=c(["\n isolation: isolate;\n\n ","\n"]);return z=function(){return n},n}var j=i.ZP.div(g(),(function(n){var e=n.hasZoomEffect,t=n.imageSize;return e&&(0,i.iv)(s(),(function(n){return n.theme.colors.black}),t===o.A.MEDIUM&&(0,i.iv)(u()))}),(function(n){var e=n.contentAlign;return e===o.E.INSIDE&&(0,i.iv)(l())||e===o.E.BOTTOM&&(0,i.iv)(p())||e===o.E.RIGHT&&(0,i.iv)(f(),(function(n){return n.theme.spacing.spacing02}))})),I=i.ZP.a(m(),(function(n){return n.theme.colors.black}),(function(n){var e=n.contentAlign,t=n.imageSize;return e===o.E.RIGHT&&t===o.A.SMALL&&(0,i.iv)(d())})),L=i.ZP.div(w(),(function(n){return n.theme.spacing.spacing03}),(function(n){var e=n.imageSize;return e===o.A.SMALL&&(0,i.iv)(h())||e===o.A.MEDIUM&&(0,i.iv)(b(),a.B.tabletPortrait)||e===o.A.BIG&&(0,i.iv)(v())})),Z=i.ZP.img(x(),(function(n){return n.size===o.A.MEDIUM&&(0,i.iv)(y())})),D=i.ZP.div(E()),M=i.ZP.a(P(),(function(n){return n.theme.colors.black})),B=i.ZP.div(O(),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.environment.percent20}),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing005})),T=i.ZP.div(z(),(function(n){var e=n.contentAlign,t=n.imageSize;return e===o.E.INSIDE&&(0,i.iv)(k(),(function(n){return n.theme.spacing.spacing03}),(function(n){return n.theme.spacing.spacing03}),(function(n){return n.theme.spacing.spacing11}),(function(n){return n.theme.spacing.spacing03}))||e===o.E.BOTTOM&&(0,i.iv)(S(),(function(n){return n.theme.spacing.spacing06}))||e===o.E.RIGHT&&(0,i.iv)(A(),t===o.A.SMALL&&"flex-basis: 50%;")}));function N(){return N=Object.assign||function(n){for(var e=1;e{var r,i;t.d(e,{A:()=>i,E:()=>r}),function(n){n.INSIDE="inside",n.BOTTOM="bottom",n.RIGHT="right"}(r||(r={})),function(n){n.BIG="big",n.MEDIUM="medium",n.SMALL="small"}(i||(i={}))}}]); //# sourceMappingURL=CarouselPost.js.map