"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[30058],{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:()=>k});var r=t(67294),i=t(63845),a=t(95186),o=t(52997),c=t(64519),u=t(24002),s=t(71893),l=t(38770),p=t(30305);function f(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function d(){var n=f(["\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 d=function(){return n},n}function g(){var n=f(["\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 g=function(){return n},n}function m(){var n=f(["\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 h=(0,s.ZP)(l.W)(d(),p.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=s.ZP.h2(g(),(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}),p.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}),p.B.tabletLandscape),v=s.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}),p.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}),p.B.tabletPortrait,(function(n){return n.breakpoints[768].slidesPerView}),p.B.tabletLandscape,(function(n){return n.breakpoints[992].slidesPerView}),p.B.desktopLarge,(function(n){return n.breakpoints[1560].slidesPerView}),(function(n){return n.theme.spacing.spacing03})),w=t(67294);function y(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t=parseInt(e)?parseInt(e):0}));return e[(t=Math).max.apply(t,E(r))].slidesPerView}(n,A))||1;m(e)}),[A]);return(0,r.useEffect)((function(){f(!0)}),[]),(0,r.useEffect)((function(){if(L){var n=function(){Z()};return window.addEventListener("resize",n),function(){window.removeEventListener("resize",n)}}}),[Z,L]),(0,r.useEffect)((function(){p&&L&&Z()}),[Z,p,L]),w.createElement(h,{id:e,className:s},a&&w.createElement(b,null,a),w.createElement(v,{className:p?"hydrated":"not-hydrated",breakpoints:A},w.createElement(c.t,{pagination:!!z&&{clickable:!0},navigation:k,loop:y,breakpoints:A,resizeObserver:!0,slidesPerGroup:g||1},t.map((function(n,e){return w.createElement(u.o,{key:n.key||e},n)})))))}},30058:(n,e,t)=>{t.r(e),t.d(e,{CarouselPost:()=>rn});var r=t(67294),i=t(38770),a=t(63742),o=t(35354),c=t(32484),u=t(76644),s=t(91044),l=t(51062),p=t(71893);function f(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function d(){var n=f(["\n color: ",";\n cursor: pointer;\n text-decoration: none;\n\n &:hover {\n text-decoration: none;\n color: ",";\n }\n"]);return d=function(){return n},n}function g(){var n=f(["\n width: 100%;\n ","\n"]);return g=function(){return n},n}function m(){var n=f(["\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 m=function(){return n},n}function h(){var n=f(["\n display: flex;\n"]);return h=function(){return n},n}function b(){var n=f(["\n margin-right: ",";\n ",";\n"]);return b=function(){return n},n}var v=p.ZP.a(d(),(function(n){return n.theme.colors.black}),(function(n){return n.theme.colors.black})),w=(0,p.ZP)(s.X)(g(),l.g.header.h4),y=p.ZP.div(m(),(function(n){return n.theme.spacing.spacing05}),(function(n){return n.theme.spacing.spacing02}),l.g.body2Regular),x=p.ZP.div(h()),E=p.ZP.div(b(),(function(n){return n.theme.spacing.spacing01}),l.g.body2Regular),P=t(28225);function O(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 z=function(){return n},n}function I(){var n=j(["\n position: initial;\n z-index: 9;\n"]);return I=function(){return n},n}function L(){var n=j(["\n align-items: center;\n display: flex;\n min-height: inherit;\n justify-content: center;\n"]);return L=function(){return n},n}var Z=p.ZP.div(z()),D=(0,p.ZP)(A.a)(I()),M=p.ZP.div(L()),B=t(28489),N=t(58846),T=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",T.w.GET,{slugs:e},{headers:{"X-Language":t,"x-platform":r,"x-selected-language":i,"x-domain-extension":a}})}catch(n){throw new B.pY({error:0,message:JSON.stringify(n)})}},V=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",T.w.GET,{ids:e},{headers:{"x-platform":t,"x-selected-language":r,"x-domain-extension":i}})}catch(n){throw new B.pY({error:0,message:JSON.stringify(n)})}},_=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",T.w.GET,{category:e},{headers:{"x-platform":t,"x-selected-language":r,"x-domain-extension":i}})}catch(n){throw new B.pY({error:0,message:JSON.stringify(n)})}},C=t(55356),H=t(55285),R=t(50279),U=t(92559),F=t(86706),W=t(54461);function J(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&&l?[4,G({slugs:e,language:l,platform:x,selectedLanguage:E,domainExtension:P})]:[3,2];case 1:return n=c.sent(),[3,7];case 2:return t&&l&&!i?[4,_({id:t,platform:x,selectedLanguage:E,domainExtension:P})]:[3,4];case 3:return n=c.sent(),[3,7];case 4:return i&&""!==i?[4,w(i,o||"",t)]:[3,7];case 5:return(r=c.sent())?[4,V({ids:r.split(",").map((function(n){return Number(n.replace("post",""))})),platform:x,selectedLanguage:E,domainExtension:P})]:[3,7];case 6:n=c.sent(),c.label=7;case 7:return n&&n.ok&&n.data?(a=n.data.map((function(n){var e=n.slug&&s&&l?(0,H.KA)(s,n.slug):n.slug;return q(X({},n),{href:e})})),v((function(n){return q(X({},n),{postList:a,loading:!1})}))):v((function(n){return q(X({},n),{loading:!1})})),[2]}}))},r=function(){var e=this,t=arguments;return new Promise((function(r,i){var a=n.apply(e,t);function o(n){Y(a,r,i,o,c,"next",n)}function c(n){Y(a,r,i,o,c,"throw",n)}o(void 0)}))},function(){return r.apply(this,arguments)});a()}),[s,P,l,x,E]);var O,k=(new Date).getTime().toString();return(0,U.Rl)(b.postList)||b.loading?b.loading?r.createElement(M,null,r.createElement(D,{extra:r.createElement(a.J,{icon:"pcc_icon","data-testid":"loading-container",fill:y.colors.brand.main})})):r.createElement(Z,null,r.createElement(C.Z,{title:null!==d&&void 0!==d?d:"",items:b.postList.map((function(n,e){return r.createElement(S,K({key:"".concat(k).concat(e)},n,{position:e,dataListProduct:m||""}))})),settings:{loop:c,navigation:u,breakpoints:(O=b.postList.length,{0:{slidesPerView:1},768:{slidesPerView:O<2?O:1.4,spaceBetween:24},992:{slidesPerView:O<2?O:1.8,spaceBetween:24},1030:{slidesPerView:O<=2?O:2.2,spaceBetween:24},1300:{slidesPerView:O<=2?O:2.5,spaceBetween:24},1560:{slidesPerView:O<=2?O:3,spaceBetween:24}})}})):r.createElement(r.Fragment,null)};function tn(){return tn=Object.assign||function(n){for(var e=1;e{t.d(e,{Z:()=>G});var r=t(71893),i=t(30305),a=t(32484);function o(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function c(){var n=o(["\n transform: scale(1.1);};\n "]);return c=function(){return n},n}function u(){var n=o(["\n &:hover {\n color: ",";\n img {\n transform: scale(1.05);\n transform-origin: center center;\n ","\n }\n }\n "]);return u=function(){return n},n}function s(){var n=o(["\n display: block;\n "]);return s=function(){return n},n}function l(){var n=o(["\n display: flex;\n flex-direction: column;\n "]);return l=function(){return n},n}function p(){var n=o(["\n display: flex;\n flex-direction: row;\n gap: ",";\n "]);return p=function(){return n},n}function f(){var n=o(["\n overflow: hidden;\n\n ","\n\n ","\n"]);return f=function(){return n},n}function d(){var n=o(["\n flex-basis: 50%;\n "]);return d=function(){return n},n}function g(){var n=o(["\n text-decoration: none;\n &:hover {\n color: ",";\n }\n\n ","\n"]);return g=function(){return n},n}function m(){var n=o(["\n height: 6.25rem;\n "]);return m=function(){return n},n}function h(){var n=o(["\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 h=function(){return n},n}function b(){var n=o(["\n height: 13rem;\n "]);return b=function(){return n},n}function v(){var n=o(["\n margin-bottom: ",";\n overflow: hidden;\n width: 100%;\n border-radius: ",";\n\n ","\n"]);return v=function(){return n},n}function w(){var n=o(["\n transition: all 0.8s ease;\n "]);return w=function(){return n},n}function y(){var n=o(["\n height: 100%;\n object-fit: cover;\n transition: all 2s ease;\n width: 100%;\n\n ","\n"]);return y=function(){return n},n}function x(){var n=o(["\n display: flex;\n flex-direction: row;\n"]);return x=function(){return n},n}function E(){var n=o(["\n text-decoration: none;\n &:hover {\n color: ",";\n }\n"]);return E=function(){return n},n}function P(){var n=o(["\n background: ",";\n border: 0.063rem solid ",";\n border-radius: ",";\n margin: 0 "," "," 0;\n padding: "," ","\n ",";\n"]);return P=function(){return n},n}function O(){var n=o(["\n background-color: white;\n margin-left: ",";\n margin-right: ",";\n margin-top: -",";\n padding: ",";\n position: inherit;\n "]);return O=function(){return n},n}function k(){var n=o(["\n padding-bottom: ",";\n "]);return k=function(){return n},n}function S(){var n=o(["\n ","\n width: 100%;\n "]);return S=function(){return n},n}function A(){var n=o(["\n isolation: isolate;\n border-radius: ",";\n\n ","\n"]);return A=function(){return n},n}var j=r.ZP.div(f(),(function(n){var e=n.hasZoomEffect,t=n.imageSize;return e&&(0,r.iv)(u(),(function(n){return n.theme.colors.black}),t===a.A.MEDIUM&&(0,r.iv)(c()))}),(function(n){var e=n.contentAlign;return e===a.E.INSIDE&&(0,r.iv)(s())||e===a.E.BOTTOM&&(0,r.iv)(l())||e===a.E.RIGHT&&(0,r.iv)(p(),(function(n){return n.theme.spacing.spacing02}))})),z=r.ZP.a(g(),(function(n){return n.theme.colors.black}),(function(n){var e=n.contentAlign,t=n.imageSize;return e===a.E.RIGHT&&t===a.A.SMALL&&(0,r.iv)(d())})),I=r.ZP.div(v(),(function(n){return n.theme.spacing.spacing03}),(function(n){return n.theme.spacing.spacing02}),(function(n){var e=n.imageSize;return e===a.A.SMALL&&(0,r.iv)(m())||e===a.A.MEDIUM&&(0,r.iv)(h(),i.B.tabletPortrait)||e===a.A.BIG&&(0,r.iv)(b())})),L=r.ZP.img(y(),(function(n){return n.size===a.A.MEDIUM&&(0,r.iv)(w())})),Z=r.ZP.div(x()),D=r.ZP.a(E(),(function(n){return n.theme.colors.black})),M=r.ZP.div(P(),(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})),B=r.ZP.div(A(),(function(n){return n.theme.spacing.spacing02}),(function(n){var e=n.contentAlign,t=n.imageSize;return e===a.E.INSIDE&&(0,r.iv)(O(),(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===a.E.BOTTOM&&(0,r.iv)(k(),(function(n){return n.theme.spacing.spacing06}))||e===a.E.RIGHT&&(0,r.iv)(S(),t===a.A.SMALL&&"flex-basis: 50%;")})),N=t(67294);function T(){return T=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=30058.js.map