!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c2d207b7-b2dd-4546-9136-a8b2cfd09703",e._sentryDebugIdIdentifier="sentry-dbid-c2d207b7-b2dd-4546-9136-a8b2cfd09703")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7109],{6548:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/promotion/[...slug]",function(){return i(6810)}])},4342:function(e,t){"use strict";t.Z={src:"/_next/static/media/info.5280508a.svg",height:500,width:500,blurWidth:0,blurHeight:0}},2288:function(e,t,i){"use strict";i.d(t,{y:function(){return SCProductList}});var l=i(2322),s=i(2784),r=i(7981),a=i(1013);let SCProductList=e=>{let{children:t,label:i,loading:n=!1,feed:c=!1,relevant:o=!0,id:d,innerRef:m,...u}=e,x=(0,r.M)("product-list");d=d||x;let h=(0,s.useRef)(null);h=m||h;let handleKeyUp=e=>{var t,i;let l=null===(t=h.current)||void 0===t?void 0:t.querySelectorAll("article"),s=null===(i=document.activeElement)||void 0===i?void 0:i.closest("article");if(!(null==l?void 0:l.length)||!s)return;let r=Array.from(l).findIndex(e=>e===s);switch(e.key){case"PageUp":l[r-1<0?l.length-1:r-1].focus();break;case"PageDown":l[r+1>=l.length?0:r+1].focus();break;case"Home":e.ctrlKey&&l[0].focus();break;case"End":e.ctrlKey&&l[l.length-1].focus()}},p={id:d,role:c?"feed":void 0,"aria-live":c?"polite":void 0,"aria-atomic":c?"false":void 0,"aria-relevant":c?"all":void 0,"aria-busy":c?n:void 0,"aria-label":i||"Product list",onKeyUp:e=>handleKeyUp(e),onKeyDown:e=>["PageUp","PageDown"].includes(e.key)&&e.preventDefault()};return(0,l.jsx)(a.q,{relevant:o,...u,innerRef:h,...p,children:t})}},1462:function(e,t,i){"use strict";i.d(t,{w:function(){return SCProductSlider}});var l=i(2322),s=i(2784),r=i(5086),a=i(2114),n=i(3696),c=i(9667);let o={548:2.25,640:2.8,800:3.25,920:3.75,1024:4.8,1176:5.25,1190:5.25},d={548:4.5,640:5.6,800:6.5,920:7.6,1024:9.6,1176:10.5,1190:10.5},m={548:1.4,768:1.8,800:2.1,920:2.25,1176:2.75,1190:2.75},SCProductSlider=e=>{let{children:t,type:i,shadow:u,relevant:x,sliderProps:h,styles:p}=e,f=(0,r.a)(1176),{itemCount:g,itemGap:v,showArrows:w,listPadding:j,title:b}=h||{},y=(0,s.useCallback)(()=>{switch(i){case"card":return o;case"image":return d;case"gallery-wall":return m}},[i]),N=(0,s.useCallback)(()=>{switch(i){case"card":return 6;case"image":return 12;case"gallery-wall":return 3}},[i]),k=(0,s.useRef)(y()),S=(0,s.useRef)(N());(0,s.useEffect)(()=>{k.current=y(),S.current=N()},[y,N,i]);let R=(0,a.N)(k.current||{},S.current,!g||!k.current);return(0,l.jsx)(c.C,{...h,title:b||"Product Slider",hideTitle:!b,itemCount:g||R,itemGap:v||"image"===i?8:16,listPadding:void 0!==j?j:f?u?2:0:16,showArrows:w||f,relevant:x,styles:{container:"mb-12",list:(0,n.tw)("items-start transition-opacity duration-150",u&&"pt-1",void 0===f?"opacity-0":"opacity-100"),...null==p?void 0:p.slider},children:t})}},8499:function(e,t,i){"use strict";i.d(t,{c:function(){return SCBackdropGradient}});var l=i(2322),s=i(3696);let SCBackdropGradient=e=>{let{fade:t,blur:i,...s}=e;return(0,l.jsxs)(l.Fragment,{children:[t&&(0,l.jsx)(GradientFade,{...s}),i&&(0,l.jsx)(GradientBlur,{...s})]})},GradientBlur=e=>{let{className:t,rotation:i,blurStrength:r=2,blurEasing:a=100}=e,n="blur(".concat(r,"px)"),c="linear-gradient(".concat(i,"deg, transparent 0%, #000 ").concat(a,"%)");return(0,l.jsx)("div",{className:(0,s.tw)("absolute",t),style:{backdropFilter:n,WebkitBackdropFilter:n,maskImage:c,WebkitMaskImage:c}})},GradientFade=e=>{let{className:t,rotation:i,fadeColor:r=[0,0,0],fadeEasing:a=100,fadeStrength:n=.2}=e;return(0,l.jsx)("div",{className:(0,s.tw)("absolute",t),style:{background:"linear-gradient(".concat(i,"deg, rgba(").concat(r,",0) 0%, rgba(").concat(r,",").concat(n,") ").concat(a,"%)")}})}},116:function(e,t,i){"use strict";i.d(t,{_:function(){return SCReverseOrder}});var l=i(2322),s=i(2784);let SCReverseOrder=e=>{let{condition:t,children:i}=e;return(0,l.jsx)(l.Fragment,{children:t?s.Children.toArray(i).reverse().map(e=>e):i})}},5417:function(e,t,i){"use strict";i.d(t,{t:function(){return SCScrollIndicator}});var l=i(2322),s=i(2784),r=i(6577),a=i.n(r),n=i(4876),c=i(3696),o=i(2371),d=i(4720);let SCScrollIndicator=e=>{let{onClick:t,className:i,color:r="white",hideWhenClicked:m,localStorageKey:u,...x}=e;"permanent"!==m||u||console.warn('<SCScrollIndicator /> "hideWhenClicked" prop is set to "permanent" but no "localStorageKey" is provided. Component will not be permanently hidden.');let h=(0,s.useRef)(null),[p,f]=(0,s.useState)(!1),[g,v]=(0,s.useState)(p),[w,j]=(0,n._)(h,g),b="white"===r;return((0,s.useEffect)(()=>{f(!localStorage.getItem(u||""))},[u]),(0,s.useEffect)(()=>v(p),[p]),j)?null:(0,l.jsx)(o.L,{innerRef:h,onClick:()=>{m&&v(!1),"permanent"===m&&u&&localStorage.setItem(u,"true"),t()},className:(0,c.tw)("flex flex-center use-animation rounded-full transition-opacity duration-150 bg-blur w-10 h-10 border",i,w?"opacity-100":"opacity-0",b?"bg-white/80 border-black/20 shadow-md":"bg-black/80 border-white/20"),...x,children:(0,l.jsx)("div",{className:"animate levitate-y",children:(0,l.jsx)(a(),{src:d.Z,alt:"Down arrow icon",style:{height:12,width:21.24},"aria-hidden":"true",className:(0,c.tw)(!b&&"invert")})})})}},8988:function(e,t,i){"use strict";i.d(t,{S:function(){return SCStickyContainer}});var l=i(2322),s=i(2784),r=i(2336),a=i(3696);let SCStickyContainer=e=>{let{children:t,offset:i,backgroundColor:n="bg-white",className:c,...o}=e,d=(0,s.useRef)(null),[m,u]=(0,s.useState)(0),[x,h]=(0,s.useState)(0);return(0,s.useEffect)(()=>{let e=d.current,determineHeight=()=>{var t;h(null!==(t=null==e?void 0:e.clientHeight)&&void 0!==t?t:0)};return addEventListener("resize",determineHeight),determineHeight(),()=>removeEventListener("resize",determineHeight)},[d]),(0,s.useEffect)(()=>{var e,t;u(i||(null!==(t=null===(e=(0,r.kx)())||void 0===e?void 0:e.clientHeight)&&void 0!==t?t:0))},[i]),(0,l.jsxs)("div",{className:"relative z-0",children:[(0,l.jsx)("div",{ref:d,className:(0,a.tw)("sticky",c),style:{top:"".concat(m,"px"),zIndex:-1,...o.style},...o,children:t}),(0,l.jsx)("div",{className:(0,a.tw)("relative translate-y-0 pointer-events-none transform-gpu",n),style:{height:x,marginBottom:-1*x}})]})}},8967:function(e,t,i){"use strict";i.d(t,{a:function(){return removeEmptyTextElements}});let removeEmptyTextElements=e=>e.replace(/\<(p|span)\>(\&nbsp;|)\<\/(p|span)\>/,"")},4175:function(e,t,i){"use strict";i.d(t,{t:function(){return ProductCardSlider}});var l=i(2322),s=i(1462),r=i(3337),a=i(8656);let ProductCardSlider=e=>{let{products:t,sliderProps:i,shadow:n,relevant:c,paddingBottom:o,onProductClick:d,styles:m}=e;return(0,l.jsx)(s.w,{sliderProps:i,styles:null==m?void 0:m.slider,shadow:n,relevant:c,type:"card",children:t.map(e=>(0,l.jsx)(r.P,{className:null==m?void 0:m.slide,onClick:()=>null==d?void 0:d(e),children:(0,l.jsx)(a.I,{product:e,setsize:-1,posinset:-1,shadow:n,paddingBottom:o})},e.articleNumber))})}},8775:function(e,t,i){"use strict";i.d(t,{O:function(){return Breadcrumbs}});var l=i(2322),s=i(1997),r=i(2784),a=i(9097),n=i.n(a),c=i(5632),o=i(9511),d=i(3126),m=i(4341),u=i(6940),x=i(7036),h=i(3696),p=i(5100);let SCBreadcrumbs=e=>{let{items:t,count:i=2,innerRef:s,styles:a,...f}=e,{asPath:g}=(0,c.useRouter)(),{breadcrumbs:v,isRTL:w}=(0,p.a)();t=t||v;let{width:j}=(0,o.E)(),b=(0,r.useRef)(null);b=s||b;let y=(0,d.l)();(0,m.m)(b);let N=(0,r.useRef)(null),k=(0,r.useRef)(null),S=(0,r.useRef)(null),[R,L]=(0,r.useState)(!1),[C,M]=(0,r.useState)(!1),[B,D]=(0,r.useState)(),[U,P]=(0,r.useState)(0),T=(0,u.K)(()=>M(!1),null),I=((null==t?void 0:t.length)||0)>i;return((0,r.useEffect)(()=>{var e;if(C&&!R&&L(!0),!I||!b.current||!N.current||!k.current||!S.current)return;(0,x.A)({element:b.current,scrollTo:"left",duration:300,position:0});let t=null===(e=N.current)||void 0===e?void 0:e.getBoundingClientRect()[w?"right":"left"],i=k.current.getBoundingClientRect()[w?"right":"left"],l=S.current.offsetWidth;D(C?void 0:N.current.getBoundingClientRect()[w?"left":"right"]-i),P(C?l*(w?1:-1):t-i)},[I,R,C,g,i,w,j]),t)?(0,l.jsxs)("nav",{id:"breadcrumbs",ref:b,className:(0,h.tw)("flex items-center w-full overflow-x-auto hide-scrollbar mask-x-scroll",null==a?void 0:a.container,1===t.length&&"opacity-0 pointer-events-none"),onMouseOverCapture:()=>T(null),onMouseOutCapture:()=>{I&&T(300)},onBlurCapture:()=>y&&I&&M(!1),onFocusCapture:()=>y&&I&&M(!0),onScroll:()=>{if(!I||!b.current||!S.current)return;let e=b.current.scrollLeft*(w?-1:1),t=null;S.current.style.transform="translate3d(-".concat(e/2,"px, 0px, 0px)"),e<=0&&(t=1),e>=32&&(t=0),null===t&&(t=1-1*e/32),S.current.style.filter="opacity(".concat(t,")")},"aria-label":"Breadcrumb",...f,children:[I&&(0,l.jsxs)("div",{ref:S,className:(0,h.tw)("sticky start-0 z-10 flex items-center transition-opacity duration-150 shrink-0",C?"opacity-0 pointer-events-none":"opacity-100 delay-150"),children:[(0,l.jsx)("div",{role:"presentation",className:(0,h.tw)("flex flex-center",null==a?void 0:a.ellipsis),onMouseEnter:()=>{I&&(M(!0),T(null))},onClick:()=>I&&M(!0),children:[void 0,void 0,void 0].map((e,t)=>(0,l.jsx)("div",{className:(0,h.tw)("rounded-full",null==a?void 0:a.dot),style:{height:6,width:6,opacity:"calc(0.5 - ".concat(t," * 0.1)")}},t))}),(0,l.jsx)(Separator,{})]}),(0,l.jsx)("ol",{ref:N,className:(0,h.tw)("flex flex-nowrap",null==a?void 0:a.list,R&&"transition-transform duration-300"),style:{transform:(0,h.tw)(I&&"translate3d(".concat(U,"px, 0px, 0px)")),width:B},children:null==t?void 0:t.map((e,s)=>{let r=s===t.length-1,c=s===t.length-i,o=s>=t.length-i;return(0,l.jsxs)("li",{ref:I&&c?k:void 0,className:(0,h.tw)("flex flex-nowrap mx-1 transition-opacity group duration-300","ltr:first:-ml-3 rtl:first:-mr-3",o||C?"opacity-100":"opacity-0 pointer-events-none"),children:[(0,l.jsx)(n(),{href:"/".concat(e.URL),passHref:!0,prefetch:!1,className:(0,h.tw)("flex items-center me-2 group-last:me-0 whitespace-nowrap hover:underline truncate",r&&"font-medium pe-3",null==a?void 0:a.item),"aria-current":r?"page":void 0,tabIndex:1===t.length?-1:0,onClick:e=>{var t,i;(null===(t=N.current)||void 0===t?void 0:t.getAnimations)!==void 0&&(null===(i=N.current)||void 0===i?void 0:i.getAnimations().length)>0&&e.preventDefault()},style:{maxWidth:"15rem"},children:e.title}),!r&&(0,l.jsx)(Separator,{})]},s)})})]}):null},Separator=()=>(0,l.jsx)("div",{role:"separator","aria-orientation":"vertical",className:"relative font-bold -top-px text-md start-px rtl-mirror",children:"▸"}),f={container:"px-4 py-2",ellipsis:"h-5 px-2 rounded-md me-2 border border-brand-500",dot:"bg-black me-1 last:me-0",list:"ps-1 ms-2",item:"text-black/80 text-xs button-tertiary-active duration-300 transition-colors"},Breadcrumbs=e=>{let{styles:t,...i}=e,r=(0,s.T)(f,t);return(0,l.jsx)(SCBreadcrumbs,{styles:r,...i})}},6810:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSG:function(){return ee},default:function(){return Page}});var l=i(2322),s=i(9857),r=i(7061),a=i(2784),n=i(7981),c=i(3696),o=i(8967),d=i(772),m=i(8775),u=i(9097),x=i.n(u),h=i(5086),p=i(1933),f=i(2336),g=i(7036),v=i(9949),w=i(8988),j=i(5008),b=i(5417),y=i(1997),N=i(6577),k=i.n(N),S=i(6940),R=i(1994),L=i(231),C={src:"/_next/static/media/loop.d20f1b16.svg",height:1e3,width:1e3,blurWidth:0,blurHeight:0};let SCVideoLooping=e=>{var t;let{children:i,priority:s,URLs:r,height:n,width:o,innerRef:d,styles:m,...u}=e,x=(0,L.P)(),h=(0,a.useRef)(null);h=d||h;let f=(0,a.useRef)(null),g=(0,S.K)(()=>b(!1),null),[v,w]=(0,a.useState)(!0),[j,b]=(0,a.useState)(!0),[y,N]=(0,a.useState)(!1),{isIntersecting:M}=(0,p.U)(h.current,{rootMargin:"500px"});return(0,a.useEffect)(()=>{M&&!y&&N(!0)},[y,M]),(0,a.useEffect)(()=>{g(3e3),localStorage.getItem(R.Y.preventLoopingVideos)&&w(!1)},[g]),(0,l.jsxs)("div",{className:(0,c.tw)("relative",null==m?void 0:m.container),children:[(0,l.jsx)("div",{className:(0,c.tw)("w-full relative overflow-hidden",null==m?void 0:m.placeholder),style:{paddingBottom:"".concat(n/o*100,"%")},children:(0,l.jsx)("video",{ref:h,className:(0,c.tw)("absolute",null==m?void 0:m.video),onEnded:e=>{e.target.currentTime=0},width:"100%",playsInline:!0,autoPlay:!0,muted:!0,loop:v,...u,children:(M||y||s)&&r.map((e,t)=>(0,l.jsx)("source",{type:"video/".concat(e.split(".").pop()),src:e},t))})}),i,(0,l.jsx)("div",{className:"sticky bottom-0 z-10 transition-opacity duration-300 ease-out min-w-content",children:(0,l.jsxs)("button",{onClick:()=>{var e;v?localStorage.setItem(R.Y.preventLoopingVideos,"true"):localStorage.removeItem(R.Y.preventLoopingVideos),v||null===(e=h.current)||void 0===e||e.play(),g(3e3),w(!v)},onMouseEnter:()=>b(!0),onMouseLeave:()=>b(!1),onFocus:()=>b(!0),onBlur:()=>b(!1),style:{transition:"max-width 350ms ease-out",maxWidth:j?"calc(".concat((null===(t=f.current)||void 0===t?void 0:t.offsetWidth)||0,"px + 40px)"):"40px"},className:(0,c.tw)(null==m?void 0:m.button,"absolute overflow-hidden flex bottom-4 end-4 items-center shadow-md text-white bg-black border-black",!v&&"invert"),children:[(0,l.jsx)("div",{className:"relative w-10 h-10 shrink-0 grow-0 ltr:-left-px rtl:-right-px",children:(0,l.jsx)(k(),{src:C,alt:"Loop icon","aria-hidden":"true",className:"object-contain w-full h-full transform scale-75 filter invert"})}),(0,l.jsx)("span",{ref:f,className:"ps-1 pe-4 whitespace-nowrap",children:v?x["looping-video.on"]:x["looping-video.off"]})]})})]})},M={button:"rounded-full bg-opacity-75 border border-opacity-20 bg-blur"},VideoLooping=e=>{let{mobileOnly:t,desktopOnly:i,hideMobile:s,hideDesktop:r,styles:a,...n}=e,o=(0,y.T)(M,a),d=[t,i,s,r],m=d.reduce((e,t)=>e+=t?1:0,0);return m>1?(console.warn("Only 1 visibility option is permitted in <VideoLooping />, found ".concat(m)),null):(0,l.jsx)(SCVideoLooping,{styles:{...o,container:(0,c.tw)(null==a?void 0:a.container,t&&"block md:hidden",i&&"hidden lg:block",s&&"hidden md:block",r&&"block lg:hidden")},...n})},MDCallToAction=e=>{let{id:t,text:i,URL:s,appearance:r}=e,a=(0,n.M)("promo-cta");return t=t||a,(0,l.jsx)(x(),{href:s,prefetch:!1,id:t,className:(0,c.tw)("text-center m-auto relative button uppercase","button-".concat(r)),children:i})},MDHero=e=>{let{firstSegment:t,priority:i,URL:s,videoDesktop:r,videoMobile:o,ctaText:d,ctaAppearance:m,imageDesktop:u,imageMobile:y,sticky:N,logo:k,scrollRef:S}=e,R=(0,n.M)("promo-hero"),L=(0,a.useRef)(null),C=(0,h.a)("md"),[M,B]=(0,a.useState)(0),[D,U]=(0,a.useState)(!1),{isIntersecting:P}=(0,p.U)(L.current,{rootMargin:"".concat(M,"px")}),T=!!(i&&C),I=!!(i&&!C);(0,a.useEffect)(()=>{var e,t;B(null!==(t=null===(e=(0,f.kx)())||void 0===e?void 0:e.clientHeight)&&void 0!==t?t:0)},[]);let E=r&&!C?"80px":"48px",z=d&&m;return(0,l.jsxs)(l.Fragment,{children:[d&&N&&k&&(0,l.jsx)("div",{ref:L,className:"absolute top-0"}),(0,l.jsxs)(v.f,{condition:N&&(!(u||y)||D||i),ifTrue:e=>(0,l.jsx)(w.S,{offset:M,children:e}),children:[(0,l.jsxs)(v.f,{condition:s,ifTrue:e=>(0,l.jsx)(x(),{href:s||"",prefetch:!1,"aria-labelledby":"".concat(R,"-cta"),children:e}),children:[u&&(0,l.jsx)("div",{className:"relative hidden overflow-hidden sm:block ",style:{paddingBottom:"".concat(u.height/u.width*100,"%")},children:(0,l.jsx)(j.N,{src:u.URL,alt:u.alt||"",fill:!0,className:"object-cover m-auto",priority:T,onLoadingComplete:()=>U(!0)})}),y&&(0,l.jsx)("div",{className:"relative block overflow-hidden sm:hidden",style:{paddingBottom:"".concat(y.height/y.width*100,"%")},children:(0,l.jsx)(j.N,{src:y.URL,alt:y.alt||"",fill:!0,className:"object-cover m-auto",priority:I,onLoadingComplete:()=>U(!0)})}),r&&(0,l.jsx)("div",{className:"hidden sm:block",children:(0,l.jsx)(VideoLooping,{priority:T,URLs:[r.URL],height:r.height,width:r.width})}),o&&(0,l.jsx)("div",{className:"sm:hidden",children:(0,l.jsx)(VideoLooping,{priority:I,URLs:[o.URL],height:o.height,width:o.width})}),k&&(0,l.jsx)("div",{className:"absolute inset-0 flex w-[calc(100%-2rem)] max-w-md mx-auto lg:max-w-2xl flex-center bottom-0 z-0",children:(0,l.jsx)(j.N,{src:k.URL,height:k.height,width:k.width,alt:k.alt||"",className:"duration-500",style:{opacity:!P&&d&&N?0:1},priority:t})})]}),t&&!z&&S&&(0,l.jsx)("div",{className:"sticky bottom-0",style:{zIndex:1},children:(0,l.jsx)(b.t,{className:"absolute left-0 right-0 mx-auto md:hidden h-5xl:lg:flex bottom-4",color:"white",onClick:()=>{var e,t;if(!S.current)return;let i=S.current.getBoundingClientRect().top,l=null!==(t=null===(e=(0,f.kx)())||void 0===e?void 0:e.clientHeight)&&void 0!==t?t:0;(0,g.A)({element:document.documentElement,position:document.documentElement.scrollTop+i-l,scrollTo:"top",duration:750})}})})]}),z&&s&&(0,l.jsx)("div",{className:"relative",children:(0,l.jsx)("div",{className:"absolute w-[calc(100%-2rem)] left-0 right-0 max-w-sm mx-auto",style:{bottom:(0,c.tw)(N?"0":E),marginBottom:(0,c.tw)(N&&E)},children:(0,l.jsx)(MDCallToAction,{id:"".concat(R,"-cta"),text:d,URL:s,appearance:m})})})]})};var B=i(4341);let useSticky=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=(0,a.useRef)(null),[r,n]=(0,a.useState)(void 0),c=e?parseInt(getComputedStyle(e)[i]):0,o=e?e.offsetHeight+(c||0):0,{isIntersecting:d}=(0,p.U)(e,{root:t,rootMargin:"-".concat(o,"px")}),{isIntersecting:m}=(0,p.U)(e,{root:t,rootMargin:"-".concat(o+1,"px")});return(0,a.useEffect)(()=>{s.current=t||document.documentElement},[t]),(0,a.useEffect)(()=>{if(!s.current||!e)return;let t=!1;if(d&&!m||!l&&!d&&!m){let l=Math.ceil(s.current.offsetHeight),r=parseInt(getComputedStyle(s.current).borderWidth),a=Math.ceil(e.getBoundingClientRect()[i]);t="top"===i?l+r+c>=a:l-r-c<=a}n(t)},[d,m,i,t,e,r,c,l]),r};var D=i(9526),U=i(6643),P=i(5891);let MDNavigation=e=>{let{items:t,scrollRef:i,firstSegment:s,children:r}=e,{resourceURLs:n}=(0,P.Y)(),o=(0,a.useRef)(null),d=(0,a.useRef)(null),m=(0,a.useRef)(null),[u,h]=(0,a.useState)(0),[w,j]=(0,a.useState)(!1);(0,B.m)(o);let b=useSticky(d.current),{isIntersecting:y}=(0,p.U)(m.current,{rootMargin:"-".concat(u,"px")});(0,a.useEffect)(()=>{let determineNavigationWidth=()=>{o.current&&j(o.current.scrollWidth>o.current.clientWidth)};return addEventListener("resize",determineNavigationWidth),determineNavigationWidth(),()=>removeEventListener("resize",determineNavigationWidth)},[o]),(0,a.useEffect)(()=>{var e,t;h(null!==(t=null===(e=(0,f.kx)())||void 0===e?void 0:e.clientHeight)&&void 0!==t?t:0)},[]);let scrollToBlock=e=>{var l,s;if(!i.current)return;let r=i.current.querySelector("#".concat(t[e].scrollIdentifier));if(!r)return;let a=r.getBoundingClientRect().top+window.scrollY,n=(null===(l=(0,f.kx)())||void 0===l?void 0:l.offsetHeight)||0,c=(null==d?void 0:null===(s=d.current)||void 0===s?void 0:s.offsetHeight)||0;(0,g.A)({element:document.documentElement,position:a-(n+c)-16,scrollTo:"top"}),r.focus()};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{ref:m}),(0,l.jsx)("div",{className:(0,c.tw)("sticky mx-auto bg-white z-20",(b||s)&&!y?"bg-blur bg-white/80":"max-w-content"),style:{top:u},ref:d,children:(0,l.jsx)(D.y,{innerRef:o,styles:{container:"w-full hide-scrollbar overflow-x-auto border-b border-brand-500/50 bg-blur mask-x-scroll",list:(0,c.tw)("flex items-center font-display uppercase",w?"justify-start":"justify-center")},children:null==t?void 0:t.map((e,t)=>(0,l.jsx)(U.t,{onClick:()=>!e.URL&&scrollToBlock(t),styles:{container:"flex flex-center lg:hover:underline h-10 sm:h-12 px-4 text-xs whitespace-nowrap",item:"uppercase h-full"},children:(0,l.jsx)(v.f,{condition:e.URL,ifTrue:t=>(0,l.jsx)(x(),{href:"/".concat(n[e.URL]),prefetch:!1,children:t}),children:e.title})},t))})}),r]})};var T=i(2114),I=i(9667),E=i(3337);let z={1023:6.65,900:5.65,767:4.65,595:3.65,300:2.65},MDBubbles=e=>{let{items:t,scrollRef:i}=e,s=(0,n.M)("promo-bubble"),r=(0,h.a)("lg"),a=(0,T.N)(z,7),scrollToBlock=e=>{var l;if(!i.current)return;let s=i.current.querySelector("#".concat(t[e].scrollIdentifier));if(!s)return;let r=s.getBoundingClientRect().top+window.scrollY,a=(null===(l=(0,f.kx)())||void 0===l?void 0:l.offsetHeight)||0;(0,g.A)({element:document.documentElement,position:r-a-16,scrollTo:"top"}),s.focus()};return(0,l.jsx)("div",{id:"".concat(s,"-container"),className:(0,c.tw)("relative w-full mb-12 lg:py-8 transition-opacity duration-300",a?"opacity-100":"opacity-0"),children:(0,l.jsx)(I.C,{relevant:!1,itemGap:16,listPadding:r?void 0:16,showArrows:r,itemCount:a,title:"Table of contents",hideTitle:!0,children:t.map((e,t)=>(0,l.jsx)(E.P,{className:"relative",children:(0,l.jsx)("div",{id:"".concat(s,"-").concat(t),className:"flex flex-col items-center justify-start w-full h-full text-center",children:(0,l.jsxs)(v.f,{condition:e.scrollIdentifier,ifTrue:e=>(0,l.jsx)("button",{"aria-labelledby":"".concat(s,"-title-").concat(t),onClick:()=>scrollToBlock(t),children:e}),children:[e.image&&(0,l.jsx)("div",{className:"w-20 h-20 mx-auto mb-2 overflow-hidden rounded-full shadow-md lg:h-24 lg:w-24",children:(0,l.jsx)(j.N,{src:e.image.URL,height:100,width:100,alt:e.image.alt||""})}),e.backgroundColor&&(0,l.jsx)("div",{className:"w-20 h-20 mb-2 rounded-full lg:h-24 lg:w-24",style:{backgroundColor:e.backgroundColor}}),(0,l.jsx)("span",{id:"".concat(s,"-title-").concat(t),className:"text-tiny md:text-sm",children:e.title})]})})},t))})})},MDTextBlock=e=>{let{titleLevel:t,description:i,flare:s,title:r}=e,a="h".concat(t),n="h".concat(t<6?t+1:t),o=i&&""!==i[0];return(0,l.jsxs)(l.Fragment,{children:[s&&(0,l.jsx)(n,{className:"text-center uppercase h3",children:s}),r&&(0,l.jsx)(a,{className:(0,c.tw)("text-center uppercase",1===t&&"h1",2===t&&"h2",t>=3&&"h3"),children:r}),o&&(0,l.jsx)("div",{className:(0,c.tw)("text-xs text-center",1===t&&"mt-8",2===t&&"mt-4",t>=3&&"mt-2"),children:i.map((e,t)=>(0,l.jsx)("p",{className:"mb-4",children:e},t))})]})};var _={src:"/_next/static/media/play.64f8cf1a.svg",height:500,width:500,blurWidth:0,blurHeight:0};let SCPlayButton=e=>{let{color:t="white",size:i=80,className:s,...r}=e;return(0,l.jsx)("button",{...r,className:(0,c.tw)("absolute flex flex-center bg-opacity-0 border-none z-10 m-auto w-max h-max",s),children:(0,l.jsx)("div",{className:(0,c.tw)("rounded-full bg-blur transition duration-300 ease-out relative overflow-hidden shadow-lg","white"===t?"bg-white/50 hover:bg-white/75":"bg-black/50 hover:bg-black/75"),style:{height:"".concat(i,"px"),width:"".concat(i,"px")},children:(0,l.jsx)("div",{className:(0,c.tw)("absolute flex w-full h-full flex-center","black"===t&&"invert"),style:{transform:"scale(.4)"},children:(0,l.jsx)(k(),{src:_,alt:"Play",className:(0,c.tw)("object-contain","white"===t?"opacity-75":"opacity-100")})})})})},SCVideoIFrame=e=>{let{children:t,URL:i,title:s,shouldLoadImmediately:r,loading:n,autoPlay:o,allowFullscreen:d,playButtonProps:m,rootRef:u,innerRef:x,styles:h,...f}=e,g=(0,a.useRef)(null);g=x||g;let[v,w]=(0,a.useState)(r),{isIntersecting:j}=(0,p.U)(null==g?void 0:g.current,{root:null==u?void 0:u.current,rootMargin:"-1%"});return(0,a.useEffect)(()=>{!j&&(null==u?void 0:u.current)&&w(!1)},[u,j]),(0,l.jsx)("div",{ref:g,className:null==h?void 0:h.container,children:v?(0,l.jsx)("iframe",{className:(0,c.tw)("w-full h-full",null==h?void 0:h.iframe),src:i,title:s,loading:n,allow:(0,c.tw)(o&&"autoplay;",d&&"fullscreen"),...f}):(0,l.jsxs)(l.Fragment,{children:[t,(0,l.jsx)(SCPlayButton,{...m,onClick:e=>{var t;w(!0),null==m||null===(t=m.onClick)||void 0===t||t.call(m,e)}})]})})},MDEmbeddedVideo=e=>{let{URL:t,image:i}=e,s=(0,n.M)("promo-embedded-video");return(0,l.jsx)(SCVideoIFrame,{id:s,title:(null==i?void 0:i.alt)||"",URL:t,height:720,width:1280,loading:"lazy",allowFullscreen:!0,autoPlay:!0,shouldLoadImmediately:!i,styles:{container:"relative w-full h-full pb-[56.25%]",iframe:"absolute top-0 left-0"},children:i&&(0,l.jsx)(j.N,{src:i.URL,alt:i.alt||"",className:"absolute object-contain w-full h-full"})})},MDQuote=e=>{let{sticky:t,title:i,text:s,author:r,imageDesktop:a,imageMobile:n,videoDesktop:o,videoMobile:d,theme:m}=e,u=a||o||d||n;return(0,l.jsxs)(l.Fragment,{children:[u&&(0,l.jsx)(MDHero,{priority:!1,imageDesktop:a,videoDesktop:o,videoMobile:d,imageMobile:n,sticky:t,size:"normal"}),(0,l.jsxs)("figure",{className:(0,c.tw)("inset-x-0 m-auto text-center sm:mx-auto px-4 py-12 sm:w-3/4",u?"absolute mx-4 -translate-y-1/2 text-white bg-black/60 bg-blur text-sm md:text-lg":"md:text-xl text-lg",t?"top-1/4":"top-1/2","light"===m&&"text-black bg-white/60"),children:[i&&(0,l.jsx)("h2",{className:"mb-2",children:(0,l.jsx)("em",{children:i})}),(0,l.jsx)("blockquote",{children:(0,l.jsx)("em",{children:s})}),r&&(0,l.jsx)("figcaption",{className:"mt-8 text-md",children:r})]})]})},MDFigure=e=>{let{textPosition:t="none",imageOne:i,imageTwo:s,title:r,description:a}=e,o=(0,n.M)("promo-figure"),d=(0,h.a)("sm"),m=r||a,u=m&&!d&&"right"===t;return(0,l.jsxs)("article",{"aria-labelledby":"".concat(o,"-title"),"aria-describedby":"".concat(o,"-description"),className:"flex flex-col sm:flex-row flex-center",children:[(0,l.jsx)("div",{className:(0,c.tw)("sm:flex-1 flex-center flex flex-col",["right","none"].includes(t)&&"sm:pe-6"),children:(0,l.jsxs)(v.f,{condition:"left"===t&&d,ifTrue:e=>(0,l.jsx)("div",{className:"lg:px-20 sm:px-8",children:e}),children:[(0,l.jsx)(j.N,{src:u?s.URL:i.URL,alt:(u?s.alt:i.alt)||"",height:u?s.height:i.height,width:u?s.width:i.width}),m&&(!d||"left"===t)&&(0,l.jsx)(TextBlock,{id:o,title:r,description:a})]})}),(0,l.jsx)("div",{className:(0,c.tw)("sm:flex-1 flex-center flex-col","none"===t?"hidden sm:flex":"flex",["left","none"].includes(t)&&"sm:ps-6"),children:(0,l.jsxs)(v.f,{condition:"right"===t&&d,ifTrue:e=>(0,l.jsx)("div",{className:"lg:px-20 sm:px-8",children:e}),children:[(0,l.jsx)(j.N,{src:u?i.URL:s.URL,alt:(u?i.alt:s.alt)||"",height:u?i.height:s.height,width:u?i.width:s.width}),m&&d&&"right"===t&&(0,l.jsx)(TextBlock,{id:o,title:r,description:a})]})})]})},TextBlock=e=>{let{id:t,title:i,description:s}=e;return(0,l.jsxs)("div",{className:"flex flex-col w-full max-w-xl px-4 sm:px-0",children:[i&&(0,l.jsx)("h2",{id:"".concat(t,"-title"),className:"mt-6 mb-4 uppercase sm:mt-4 h3 sm:mb-2",children:i}),s&&(0,l.jsx)("div",{id:"".concat(t,"-description"),className:"mb-8 text-xs sm:mb-0",children:s.map((e,t)=>(0,l.jsx)("p",{className:"mb-4",children:e},t))})]})},MDFigureVideo=e=>{let{textPosition:t="none",image:i,video:s,videoPosition:r,title:a,description:o}=e,d=(0,n.M)("promo-figure"),m=(0,h.a)("sm"),u=a||o,x=u&&!m&&"right"===t;return(0,l.jsxs)("article",{"aria-labelledby":"".concat(d,"-title"),"aria-describedby":"".concat(d,"-description"),className:"flex-col sm:flex sm:flex-row flex-center",children:[(0,l.jsx)("div",{className:(0,c.tw)("flex-1 flex-center flex-col",["right","none"].includes(t)&&"sm:pe-6"),children:(0,l.jsxs)(v.f,{condition:"left"===t&&m,ifTrue:e=>(0,l.jsx)("div",{className:"lg:px-20 sm:px-8",children:e}),children:[x||"left"===r?(0,l.jsx)("div",{className:"overflow-hidden ",children:(0,l.jsx)(VideoLooping,{priority:!1,URLs:[s.URL],height:i.height,width:i.width})}):(0,l.jsx)("div",{className:"relative h-0 overflow-hidden ",style:{paddingBottom:"".concat(i.height/i.width*100,"%")},children:(0,l.jsx)(j.N,{src:i.URL,alt:i.alt||"",fill:!0,className:"object-cover"})}),u&&(!m||"left"===t)&&(0,l.jsx)(MDFigureVideo_TextBlock,{id:d,title:a,description:o})]})}),(0,l.jsx)("div",{className:(0,c.tw)("flex-1 flex-center flex-col","none"===t&&"hidden sm:block",["left","none"].includes(t)&&"sm:ps-6"),children:(0,l.jsxs)(v.f,{condition:"right"===t&&m,ifTrue:e=>(0,l.jsx)("div",{className:"lg:px-20 sm:px-8",children:e}),children:[x||"left"===r?(0,l.jsx)("div",{className:"relative h-0 overflow-hidden ",style:{paddingBottom:"".concat(i.height/i.width*100,"%")},children:(0,l.jsx)(j.N,{src:i.URL,alt:i.alt||"",fill:!0,className:"object-cover"})}):(0,l.jsx)("div",{className:"overflow-hidden ",children:(0,l.jsx)(VideoLooping,{priority:!1,URLs:[s.URL],height:i.height,width:i.width})}),u&&m&&"right"===t&&(0,l.jsx)(MDFigureVideo_TextBlock,{id:d,title:a,description:o})]})})]})},MDFigureVideo_TextBlock=e=>{let{id:t,title:i,description:s}=e;return(0,l.jsxs)("div",{className:(0,c.tw)("flex flex-col max-w-xl px-4 sm:px-0"),children:[i&&(0,l.jsx)("h2",{id:"".concat(t,"-title"),className:"mt-6 mb-4 uppercase sm:mt-4 h3 sm:mb-2",children:i}),s&&(0,l.jsx)("div",{id:"".concat(t,"-description"),className:"mb-8 text-xs sm:mb-0",children:s.map((e,t)=>(0,l.jsx)("p",{className:"mb-4",children:e},t))})]})};var F=i(2288),A=i(3377),H=i(1489);let MDBanner=e=>{let{items:t}=e,i=(0,n.M)("promo-banner");return(0,l.jsx)("div",{className:"px-4 sm:grid sm:gap-y-12 sm:gap-x-8 md:gap-x-12 sm:grid-cols-2 md:grid-cols-3",children:t.map((e,t)=>(0,l.jsxs)("article",{className:"flex flex-col justify-center w-full mb-12 max-w-content sm:mb-0 last:mb-0","aria-labelledby":"".concat(i,"-title-").concat(t),tabIndex:-1,children:[e.image&&(0,l.jsx)(v.f,{condition:e.URL,ifTrue:t=>(0,l.jsx)(x(),{href:e.URL||"",prefetch:!1,"aria-label":e.title,children:t}),children:(0,l.jsx)(j.N,{src:e.image.URL,alt:e.image.alt||"",height:e.image.height,width:e.image.width})}),(0,l.jsxs)("div",{className:"flex flex-col flex-1 mt-3 text-center",children:[(0,l.jsx)("h1",{id:"".concat(i,"-title-").concat(t),className:"uppercase h3",children:e.title}),e.flare&&(0,l.jsx)("span",{children:e.flare})]}),e.products&&(0,l.jsx)("div",{className:"flex flex-col flex-1 pt-4",children:(0,l.jsx)(F.y,{className:"grid flex-1 grid-cols-3 gap-4 mb-8",children:e.products.map((t,s)=>{var r;return t.images&&(0,l.jsx)(A.G,{title:t.title,id:"".concat(i,"-product-card-").concat(s),setsize:null===(r=e.products)||void 0===r?void 0:r.length,posinset:s+1,hasTitle:!1,hasPrice:!1,url:"/p/".concat(t.URL),children:(0,l.jsx)(H.O,{images:[t.images[0]],shadow:!0,paddingBottom:150,alt:t.title})},s)})})}),e.URL&&e.ctaText&&e.ctaAppearance&&(0,l.jsx)("div",{className:"m-auto mb-4",children:(0,l.jsx)(MDCallToAction,{id:"".concat(i,"-cta-").concat(t),text:e.ctaText,URL:e.URL,appearance:e.ctaAppearance})})]},t))})};var W=i(116),V=i(8499),O=i(6052),G=i(4342);let CategoryBannerMobile=e=>{let{title:t,description:i,showBackgroundImage:s=!0,...r}=e,[n,o]=(0,a.useState)(!1);return(0,l.jsxs)("div",{className:(0,c.tw)("md:hidden",s&&"absolute flex items-end w-full h-36 -top-36 start-0"),...r,children:[s&&(0,l.jsx)(V.c,{rotation:180,fade:!0,className:"w-full h-full",fadeStrength:.4,blurStrength:1}),(0,l.jsxs)("div",{className:(0,c.tw)("relative flex items-center flex-1 w-full h-11",s?"ps-4":"mb-3 mt-2"),children:[(0,l.jsx)("h1",{className:(0,c.tw)("h-full text-xl font-bold tracking-normal truncate pe-2",s&&"flex-1 text-white z-10"),style:{filter:(0,c.tw)(s&&"drop-shadow(0 2px 4px rgba(0,0,0,0.5))")},children:t}),(0,l.jsx)("button",{"aria-label":"Category description",className:(0,c.tw)(s&&"z-10","flex h-full transition pb-1.5 duration-300 scale-100 opacity-100 flex-center active:scale-90 active:duration-0 active:opacity-90"),style:{minWidth:s?"55px":"48px"},onClick:()=>o(!0),children:(0,l.jsx)(k(),{src:G.Z,alt:"Info icon","aria-hidden":"true",className:(0,c.tw)(s&&"invert"),style:{height:s?"23px":"20px",width:s?"23px":"20px"}})})]}),(0,l.jsx)(O.EG,{isOpen:n,onClose:()=>o(!1),title:t,text:i})]})},q={1120:5,1023:5.5,868:4.5},MDWideBanner=e=>{let{textPosition:t,title:i,text:s,URL:r,image:a,ctaText:o,ctaAppearance:d,products:m}=e,u=(0,n.M)("promo-wide-banner"),x=(0,h.a)("sm"),p=o&&d&&r;return(0,l.jsxs)("article",{"aria-labelledby":"".concat(u,"-title"),"aria-describedby":"".concat(u,"-description"),className:"w-full",children:[(0,l.jsx)("div",{className:"flex flex-col w-full sm:flex-row",children:(0,l.jsxs)(W._,{condition:"left"===t&&x,children:[(0,l.jsxs)("div",{className:(0,c.tw)("relative w-full px-0 sm:max-w-md","right"===t?"sm:ps-4":"sm:pe-4"),children:[(0,l.jsx)(v.f,{condition:!x,ifTrue:e=>(0,l.jsx)(w.S,{children:e}),children:(0,l.jsx)("div",{className:"relative overflow-hidden",style:{paddingBottom:"".concat(a.height/a.width*100,"%")},children:(0,l.jsx)(j.N,{src:a.URL,alt:a.alt||"",fill:!0,className:"object-cover"})})}),i&&s&&(0,l.jsx)("div",{className:"absolute bottom-0 w-full sm:hidden",children:(0,l.jsx)(CategoryBannerMobile,{title:i,description:s})})]}),(0,l.jsxs)("div",{className:"flex flex-col w-full",children:[m&&(0,l.jsx)("div",{className:"relative hidden w-full mb-2 transition-opacity duration-300 lg:block",children:(0,l.jsx)(BannerProductSlider,{products:m,isDesktop:!0,id:u})}),(0,l.jsxs)("div",{className:"flex-col items-center justify-center hidden w-full h-full text-center sm:px-4 md:px-12 sm:flex",children:[(0,l.jsx)("h1",{id:"".concat(u,"-title"),className:"uppercase h2",children:i}),(0,l.jsx)("p",{id:"".concat(u,"-description"),className:"mt-4",children:s}),p&&(0,l.jsx)("div",{className:"sm:flex hidden w-full sm:w-[calc(100%-2rem)] max-w-sm mt-6",children:(0,l.jsx)(MDCallToAction,{id:"".concat(u,"-desktop-cta"),text:o,URL:r,appearance:d})})]})]})]})}),m&&(0,l.jsx)("div",{className:"relative hidden w-full mt-6 transition-opacity duration-300 sm:block lg:hidden",children:(0,l.jsx)(BannerProductSlider,{products:m,isDesktop:!1,id:u})}),(0,l.jsxs)("div",{className:"flex flex-col h-full",children:[m&&(0,l.jsx)("div",{className:"px-4 pt-4 sm:hidden",children:(0,l.jsx)(F.y,{className:"grid flex-1 grid-cols-2 gap-4 mb-8",children:m.map((e,t)=>e.images&&(0,l.jsx)(A.G,{title:e.title,id:"".concat(u,"-product-card-").concat(t),setsize:null==m?void 0:m.length,posinset:t+1,hasTitle:!1,hasPrice:!1,url:"/p/".concat(e.URL),children:(0,l.jsx)(H.O,{images:[e.images[0]],shadow:!0,paddingBottom:150,alt:e.title})},t))})}),p&&(0,l.jsx)("div",{className:"sticky bottom-0 z-10 flex w-full p-4 bg-white/80 bg-blur sm:hidden",children:(0,l.jsx)(MDCallToAction,{id:"".concat(u,"-mobile-cta"),text:o,URL:r,appearance:d})})]})]})},BannerProductSlider=e=>{let{products:t,isDesktop:i,id:s}=e,r=(0,T.N)(q,6);return t?(0,l.jsx)(I.C,{relevant:!1,itemGap:i?16:24,listPadding:i?0:24,showArrows:i,itemCount:r,title:"Product slider",hideTitle:!0,children:t.map((e,i)=>e.images&&(0,l.jsx)(E.P,{className:"relative",children:(0,l.jsx)(A.G,{title:e.title,id:"".concat(s,"-product-card-").concat(i),setsize:null==t?void 0:t.length,posinset:i+1,hasTitle:!1,hasPrice:!1,url:"/p/".concat(e.URL),children:(0,l.jsx)(H.O,{images:[e.images[0]],shadow:!0,paddingBottom:150,alt:e.title})},i)},i))}):null},MDStoryBlock=e=>{let{title:t,textTitle:i,description:s,image:r,video:a}=e,o=(0,n.M)("promo-story-block");return(0,l.jsxs)("article",{className:"relative flex flex-col sm:gap-12 sm:flex-row sm:mb-0","aria-labelledby":"".concat(o,"-title"),children:[(0,l.jsxs)("div",{className:"flex-1 z-10 sm:max-w-[50%] px-4",children:[(0,l.jsx)("h2",{id:"".concat(o,"-title"),className:"mb-6 uppercase h2",children:i}),s.map((e,t)=>(0,l.jsx)("p",{className:"mb-4",children:e},t)),(0,l.jsx)("h3",{className:(0,c.tw)("font-bold uppercase leading-none h1 md:ms-16 md:mt-14  hidden md:block",(null==r?void 0:r.URL)?"absolute":"max-w-[150px]"),style:{fontSize:(0,c.tw)((null==r?void 0:r.URL)?"clamp(50px, 7vw, 65px)":"clamp(50px, 7vw, 100px)")},children:t})]}),(0,l.jsxs)("div",{className:"flex-1 mt-8 overflow-hidden sm:mt-0",children:[(null==r?void 0:r.URL)&&(0,l.jsx)(j.N,{src:r.URL,alt:r.alt||"",width:r.width,height:r.height}),(null==a?void 0:a.URL)&&(0,l.jsx)(VideoLooping,{priority:!1,URLs:[null==a?void 0:a.URL],height:750,width:600}),(0,l.jsx)("h3",{className:(0,c.tw)("mt-8 font-bold uppercase leading-none sm:ms-0 sm:me-4 ms-4 h1 sm:max-w-none mb-5 md:hidden",(null==a?void 0:a.URL)&&"max-w-[150px]"),style:{fontSize:"clamp(35px, 13vw, 50px)"},children:t})]})]})},MDStoryFigure=e=>{let{title:t,text:i,imageOne:s,imageTwo:r}=e,a=(0,n.M)("promo-story-figure"),c=(0,h.a)("sm");return(0,l.jsx)("article",{"aria-labelledby":"".concat(a,"-title"),className:"relative flex flex-col sm:gap-12 sm:flex-row",children:(0,l.jsxs)(W._,{condition:!c,children:[(0,l.jsxs)("div",{className:"flex-1 mx-auto mt-12 sm:mt-0",children:[s&&(0,l.jsx)(j.N,{src:s.URL,width:s.width,height:s.height,alt:"Story Figure image one","aria-hidden":"true"}),(0,l.jsx)("h2",{className:"mt-8 font-bold uppercase leading-none ms-4 h1 max-w-[150px] mb-5 sm:hidden",style:{fontSize:"clamp(35px, 13vw, 50px)"},children:t})]}),(0,l.jsxs)("div",{className:"flex flex-col justify-end flex-1 mx-auto max-w-[600px] z-10",children:[(0,l.jsx)("h2",{id:"".concat(a,"-title"),className:"mt-0 font-bold uppercase leading-none md:ms-4 ltr:md:-ml-32 rtl:md:-mr-32 h1 sm:max-w-none md:max-w-[150px] mb-5 sm:block hidden",style:{fontSize:"clamp(50px, 7vw, 100px)"},children:t}),r&&(0,l.jsx)(j.N,{src:r.URL,width:r.width,height:r.height,alt:"Story Figure image two","aria-hidden":"true"}),(0,l.jsx)("p",{className:"px-4 pt-5 text-xs sm:px-0",children:i})]})]})})};var K=i(7707),Y=i(6236);let MDProductShowcase=e=>{let{title:t,quote:i,author:s,image:r,products:a}=e,o=(0,n.M)("promo-showcase"),d=(0,h.a)("sm");return(0,l.jsxs)("div",{className:"flex flex-col justify-center sm:flex-row",children:[a&&(0,l.jsx)("div",{className:"relative flex-1 max-w-[650px] mx-auto sm:me-10",children:a.map((e,t)=>0===t&&(0,l.jsxs)(A.G,{title:e.title,id:"".concat(o,"-large-product-card-").concat(t),setsize:null==a?void 0:a.length,posinset:t+1,hasTitle:!0,hasPrice:!0,url:"/p/".concat(e.URL),children:[(0,l.jsx)(j.N,{src:r.URL,alt:e.title,width:r.width,height:r.height}),(0,l.jsxs)("div",{className:"absolute top-4 start-4",children:[(0,l.jsx)(K.r,{id:o,title:e.title}),(0,l.jsx)(Y.z,{showOnlyPrice:!0,price:e.price,campaignPrice:e.campaignPrice,categoryIDs:e.categoryIDs,id:o})]})]},t))}),(0,l.jsxs)("div",{className:"z-10 flex flex-col justify-end flex-1 px-4",children:[(0,l.jsx)("div",{className:"flex flex-col",children:(0,l.jsxs)(W._,{condition:!d,children:[(0,l.jsx)("h2",{id:"".concat(o,"-title"),className:"mt-6 lg:mt-0 font-bold uppercase leading-none ltr:md:-ml-24 rtl:md:-mr-24 h1 sm:max-w-none md:max-w-[150px] max-w-[150px]",style:{fontSize:(0,c.tw)(d?"clamp(50px, 7vw, 100px)":"clamp(35px, 13vw, 50px)")},children:t}),(0,l.jsxs)("figure",{children:[(0,l.jsx)("blockquote",{id:"".concat(o,"-description"),className:"pt-4",children:i}),(0,l.jsx)("figcaption",{className:"!text-sm font-medium uppercase h2",children:s})]})]})}),(0,l.jsx)("div",{className:"flex mt-8",children:a&&(0,l.jsx)(F.y,{className:"grid flex-1 grid-cols-3 gap-4",children:a.map((e,t)=>0!==t&&(0,l.jsxs)(A.G,{title:e.title,id:"".concat(o,"-product-card-").concat(t),setsize:null==a?void 0:a.length,posinset:t+1,hasTitle:!0,hasPrice:!0,url:"/p/".concat(e.URL),children:[e.images&&(0,l.jsx)(H.O,{images:[e.images[0]],shadow:!0,paddingBottom:150,alt:e.title}),(0,l.jsx)(K.r,{id:o,title:e.title}),(0,l.jsx)(Y.z,{showOnlyPrice:!0,price:e.price,campaignPrice:e.campaignPrice,categoryIDs:e.categoryIDs,id:o})]},t))})})]})]})};var Q=i(4175);let MDProductShowcaseSlider=e=>{let{products:t}=e,i=(0,n.M)("promo-showcase-slider-product-card");return(0,l.jsxs)(l.Fragment,{children:[t&&(0,l.jsx)(F.y,{className:"hidden grid-cols-7 gap-4 px-4 lg:grid",children:t.map((e,s)=>(0,l.jsxs)(A.G,{title:e.title,id:"".concat(i,"-").concat(s),setsize:null==t?void 0:t.length,posinset:s+1,hasTitle:!0,hasPrice:!0,url:"/p/".concat(e.URL),styles:{article:e.images[0].height<e.images[0].width?"col-span-2 px-2":"col-span-1"},children:[e.images&&(0,l.jsx)(H.O,{images:[e.images[0]],shadow:!0,paddingBottom:e.images[0].height<e.images[0].width?82:164,alt:e.title}),(0,l.jsx)(K.r,{id:i,title:e.title}),(0,l.jsx)(Y.z,{showOnlyPrice:!0,price:e.price,campaignPrice:e.campaignPrice,categoryIDs:e.categoryIDs,id:i})]},s))}),(0,l.jsx)(Q.t,{relevant:!0,shadow:!0,products:t,styles:{slider:{slider:{container:"lg:hidden"}}}})]})};var Z=i(7255),J=i(8867),X=i(8656),$=i(6154);let MDProductList=e=>{let{products:t}=e,{discountCampaign:i}=(0,$.J)(),{trackProductImpressions:s}=(0,Z.GB)();return(0,a.useEffect)(()=>{t&&s(t.map(e=>({articleNumber:e.articleNumber,price:(0,J.n)(e.price,e.campaignPrice,e.categoryIDs,i)||e.price,title:e.title,variant:e.optionsTitle})))},[t,i,s]),t&&(0,l.jsx)(F.y,{className:"grid flex-1 grid-cols-2 gap-4 mb-8 sm:grid-cols-3 md:grid-cols-4",children:t.map((e,i)=>(0,l.jsx)(X.I,{paddingBottom:150,shadow:!0,product:e,setsize:t.length,posinset:i+1},e.id))})},MDInfoBox=e=>{let{image:t,backgroundColor:i,items:s}=e;return(0,l.jsxs)("div",{style:{backgroundColor:i},className:"px-4 pt-12 pb-8 brand-defaults sm:px-12 text-start",children:[s.map((e,t)=>{let i="h".concat(e.titleLevel);return(0,l.jsxs)("div",{children:[(0,l.jsxs)(i,{className:"uppercase",children:[" ",e.title]}),(0,l.jsx)("p",{className:(0,c.tw)("text-xs",e.title&&(e.titleLevel,e.titleLevel,e.titleLevel>=3&&"mt-2")),children:e.description})]},t)}),t&&(0,l.jsx)("div",{className:"flex items-center mx-auto shrink-0 grow-0",style:{height:150,width:150},children:(0,l.jsx)(j.N,{src:t.URL,alt:t.alt||"",height:t.height,width:t.width})})]})},PagePromotion=e=>{var t;let{modules:i,page:s}=e,r=(0,n.M)("promo"),u=(0,a.useRef)(null),x=(0,a.useRef)(null),h=(0,a.useRef)(null),[p,f]=(0,a.useState)(!1);if((0,a.useEffect)(()=>{h.current&&f(!!h.current.querySelector("img"))},[]),!i||!Array.isArray(i))return null;let g=!0;return(0,l.jsxs)("article",{"aria-label":s.title,ref:u,children:[!["hero-image","hero-video","navigation"].includes(null===(t=i[0])||void 0===t?void 0:t.type)&&(0,l.jsx)(m.O,{styles:{container:"py-2 mb-6 md:py-1 px-4 mx-auto max-w-content"}}),null==i?void 0:i.map((e,t,i)=>{let r;let getAdjacentSegment=(e,t,i)=>{let l="next"===i,s=l?t+1:t-1,r=l?e.length:-1;for(let t=s;t!==r;l?t++:t--)return e[t];return null},a=getAdjacentSegment(i,t,"previous"),n=getAdjacentSegment(i,t,"next");switch(e.type){case"hero-image":case"hero-video":return r=e,(0,l.jsxs)("section",{className:(0,c.tw)("relative max-w-xl sm:px-4 mx-auto","wide"===r.size?"sm:max-w-header":"sm:max-w-content",(null==a?void 0:a.type)==="cta"&&"mt-24",a&&(null==a?void 0:a.type)!=="navigation"&&(null==a?void 0:a.type)!=="cta"&&"mt-12",!(null==a?void 0:a.type)&&"sm:mt-4"),id:r.identifier,children:[(0,l.jsx)(MDHero,{firstSegment:!(null==a?void 0:a.type),scrollRef:x,priority:g,...r}),g=!1,(!a&&(null==n?void 0:n.type)!=="navigation"||(null==a?void 0:a.type)==="navigation")&&(0,l.jsx)("div",{ref:x,className:"relative m-auto max-w-content",children:(0,l.jsx)(m.O,{styles:{container:"py-2 md:py-1 px-4"}})})]},t);case"navigation":return r=e,(0,l.jsx)(MDNavigation,{items:r.items,scrollRef:u,firstSegment:!(null==a?void 0:a.type),children:(!(null==a?void 0:a.type)&&((null==n?void 0:n.type)==="hero-image"||(null==n?void 0:n.type)==="hero-video")&&(null==n?void 0:n.size)!=="wide"||((null==a?void 0:a.type)==="hero-image"||(null==a?void 0:a.type)==="hero-video")&&(null==a?void 0:a.size)==="wide")&&(0,l.jsx)("div",{ref:x,className:"relative m-auto max-w-content",children:(0,l.jsx)(m.O,{styles:{container:"py-2 md:py-1 px-4 mt-2"}})})},t);case"bubbles":return r=e,(0,l.jsx)("section",{className:"relative m-auto mt-12 max-w-content",children:(0,l.jsx)(MDBubbles,{items:r.items,scrollRef:u})},t);case"text-block":return r=e,(0,l.jsx)("section",{className:(0,c.tw)("relative max-w-3xl px-4 m-auto text-xs text-center",a&&"mt-12",((null==a?void 0:a.type)==="figure"||(null==a?void 0:a.type)==="figure-video")&&"md:mt-24"),id:r.identifier,children:(0,l.jsx)(MDTextBlock,{...r})},t);case"embedded-video":return r=e,(0,l.jsx)("section",{id:r.identifier,className:(0,c.tw)("relative mx-auto mt-12 sm:px-4","wide"===r.size?"sm:max-w-header":"sm:max-w-content"),children:(0,l.jsx)(MDEmbeddedVideo,{...r})},t);case"quote":return r=e,(0,l.jsx)("section",{id:r.identifier,className:"relative m-auto mt-12 max-w-content",children:(0,l.jsx)(MDQuote,{...r})},t);case"quote-image":return r=e,(0,l.jsx)("section",{id:r.identifier,className:"relative m-auto mt-12 max-w-content sm:px-4",children:(0,l.jsx)(MDQuote,{...r})},t);case"cta":return r=e,(0,l.jsx)("section",{className:(0,c.tw)("flex w-[calc(100%-2rem)] h-full max-w-sm gap-2 m-auto mt-12 relative",!n&&"pb-12"),id:r.identifier,children:(0,l.jsx)(MDCallToAction,{...r})},t);case"figure":return r=e,(0,l.jsx)("section",{id:r.identifier,className:"relative m-auto mt-12 sm:px-4 sm:max-w-content",children:(0,l.jsx)(MDFigure,{...r})},t);case"figure-video":return r=e,(0,l.jsx)("section",{id:r.identifier,className:"relative m-auto mt-12 sm:px-4 sm:max-w-content",children:(0,l.jsx)(MDFigureVideo,{...r})},t);case"product-banners":return r=e,(0,l.jsx)("section",{className:"relative flex flex-col items-center w-full max-w-xl mx-auto mt-12 sm:max-w-none md:max-w-content",id:r.identifier,children:(0,l.jsx)(MDBanner,{items:r.items})},t);case"wide-banner":return r=e,(0,l.jsxs)("section",{className:(0,c.tw)("relative w-full max-w-xl mx-auto mt-12 sm:max-w-none md:max-w-content",(null==a?void 0:a.type)==="cta"&&"md:mt-24",(null==a?void 0:a.type)==="text-block"&&"md:mt-20"),id:r.identifier,children:[(null==a?void 0:a.type)==="wide-banner"&&(0,l.jsx)(d.Y,{orientation:"horizontal",className:"hidden max-w-xl mx-auto mb-12 md:max-w-3xl bg-brand-500 sm:block"}),(0,l.jsx)(MDWideBanner,{...r})]},t);case"story-block-video":case"story-block-image":return r=e,(0,l.jsx)("section",{className:"relative mx-auto mt-12 sm:px-4 max-w-content",id:r.identifier,children:(0,l.jsx)(MDStoryBlock,{...r})},t);case"story-figure":return r=e,(0,l.jsx)("section",{className:"relative mx-auto mt-12 sm:px-4 max-w-content",id:r.identifier,children:(0,l.jsx)(MDStoryFigure,{...r})},t);case"product-showcase":return r=e,(0,l.jsx)("section",{className:"relative mx-auto mt-12 sm:px-4 max-w-content ",id:r.identifier,children:(0,l.jsx)(MDProductShowcase,{...r,products:r.products})},t);case"product-showcase-slider":return r=e,(0,l.jsx)("section",{className:"relative mx-auto mt-12 max-w-content",id:r.identifier,children:(0,l.jsx)(MDProductShowcaseSlider,{products:r.products})},t);case"product-carousel":return(r=e).products&&(0,l.jsx)("section",{className:(0,c.tw)("relative m-auto mt-12 max-w-content",!n&&"pb-2"),id:"test",children:(0,l.jsx)(Q.t,{paddingBottom:150,shadow:!0,relevant:!0,products:r.products,sliderProps:{title:s.phrases[r.title]||r.title}})},t);case"product-list":return r=e,(0,l.jsx)("section",{className:"relative px-4 mx-auto mt-12 max-w-content",id:r.identifier,children:(0,l.jsx)(MDProductList,{...r})},t);case"info-box":return r=e,(0,l.jsx)("section",{className:(0,c.tw)("relative max-w-content px-4 m-auto text-xs text-center sm:text-start",(null==a?void 0:a.type)==="cta"?"mt-24":"mt-12"),id:r.identifier,children:(0,l.jsx)(MDInfoBox,{...r})},t);case"separator":return r=e,(0,l.jsx)("div",{id:r.identifier,className:"px-4 md:pb-4",children:(0,l.jsx)(d.Y,{orientation:"horizontal",className:"mx-auto mt-12 md:mt-16 bg-brand-500 max-w-content"})},t)}}),(0,o.a)(s.descriptionSeo)&&(0,l.jsxs)("section",{className:"relative mx-auto mt-12 max-w-content",children:[(0,l.jsx)(d.Y,{orientation:"horizontal",className:"mx-auto mt-24 mb-12 bg-brand-500 max-w-content"}),(0,l.jsx)("h2",{id:"".concat(r,"-seo"),className:(0,c.tw)("uppercase h2 sm:!text-center text-start px-4 w-full mb-4 m-auto max-w-3xl",p&&"sm:mb-8"),children:s.h1}),(0,l.jsx)("div",{ref:h,"aria-labelledby":s.h1?"".concat(r,"-seo"):void 0,className:(0,c.tw)("brand-defaults category-seo-description",p?"category-seo-descriptionWithImage":"category-seo-descriptionWithoutImage"),dangerouslySetInnerHTML:{__html:s.descriptionSeo}})]})]})};var ee=!0;function Page(e){let{payload:t,fallback:i}=e;return(0,l.jsx)(s.J$,{value:{fallback:i,revalidateIfStale:!1},children:(0,l.jsx)(r.A,{children:(0,l.jsx)(PagePromotion,{...t})})})}}},function(e){e.O(0,[732,7061,8656,9774,2888,179],function(){return e(e.s=6548)}),_N_E=e.O()}]);