PageSourceSearch

https://www.stanleytools.com/_next/static/immutable/chunks/2kp8gpr2sk5ml.js

js stanleytools.com collected 2026-09-24 10:19:27 UTC 256,357 bytes, 17 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,865268,e=>{"use strict";e.s([],185069),e.i(185069);var l=e.i(731059),t=e.i(907419),a=e.i(529956),r=e.i(273157),s=e.i(344420),i=e.i(546032),o=e.i(714369),n=e.i(16478);e.i(870557);var c=e.i(970742),d=e.i(886906),m=e.i(867479);function u(e,l){[...l].reverse().forEach(t=>{let a=e.getVariant(t);a&&(0,d.setTarget)(e,a),e.variantChildren&&e.variantChildren.forEach(e=>{u(e,l)})})}function x(){let e=!1,l=new Set,t={subscribe:e=>(l.add(e),()=>void l.delete(e)),start(t,a){(0,c.invariant)(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let r=[];return l.forEach(e=>{r.push((0,m.animateVisualElement)(e,t,{transitionOverride:a}))}),Promise.all(r)},set:t=>((0,c.invariant)(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),l.forEach(e=>{var l,a;l=e,Array.isArray(a=t)?u(l,a):"string"==typeof a?u(l,[a]):(0,d.setTarget)(l,a)})),stop(){l.forEach(e=>{e.values.forEach(e=>e.stop())})},mount:()=>(e=!0,()=>{e=!1,t.stop()})};return t}var p=e.i(749552),h=e.i(114768);let f=function(){let e=(0,p.useConstant)(x);return(0,h.useIsomorphicLayoutEffect)(e.mount,[]),e};var g=e.i(280137),b=e.i(4433),v=e.i(181568);let y=({pageNumber:e,currentPage:l,autoplay:t,transitionDuration:r=5,progress:s,setProgress:i,onAnimationComplete:o,progressBarActiveSize:c})=>{let d=(({autoplay:e,currentPage:l,pageNumber:t,progress:a,setProgress:r,transitionDuration:s,onComplete:i})=>{let o=f(),n=(0,g.useRef)(null),c=(0,g.useRef)(0),d=(0,g.useRef)(!1),m=(0,g.useRef)(!1),u=t===l,x=e&&u,p=1e3*s,h=()=>{null!==n.current&&(cancelAnimationFrame(n.current),n.current=null)},b=()=>{let e=Math.min((performance.now()-c.current)/p,1);r(e),e<1?n.current=requestAnimationFrame(b):null==i||i()},v=()=>{h(),c.current=performance.now()-a*p,o.start({scaleX:1,transition:{duration:(1-a)*s,ease:"linear"}}),n.current=requestAnimationFrame(b)},y=()=>{h(),o.stop()};return(0,g.useEffect)(()=>{if(u||1!==a||(d.current=!0),u&&d.current&&1===a){d.current=!1,m.current=!0,r(0),o.set({scaleX:0});return}return x?m.current?(m.current=!1,requestAnimationFrame(v)):v():y(),y},[x,u,a]),o})({pageNumber:e,currentPage:l,autoplay:t,progress:s,setProgress:i,transitionDuration:r,onComplete:o}),m=(e=>{switch(e){case"full-responsive":return"flex-1";case"semi-responsive":return"flex-1 xl:w-[5.6875rem] xl:flex-none";default:return"w-[5.6875rem]"}})(c),u=e===l;return(0,a.jsx)("span",{className:(0,b.cn)("inline-block h-[0.1875rem] bg-color-opacity-opacity-10 transition-[width] duration-500",u?m:"w-0"),children:(0,a.jsx)(n.motion.div,{animate:d,className:"size-full origin-left bg-color-utility-border-contrast will-change-transform",initial:{scaleX:s}})})},A=({Icon:e,onClick:l,ariaLabel:t,disabled:r})=>(0,a.jsx)("button",{"aria-label":t,className:"flex h-full items-center text-color-brand-icon-primary disabled:text-color-brand-icon-disabled",disabled:r,onClick:l,type:"button",children:(0,a.jsx)(e,{className:"!h-5 !w-5"})}),w=({autoplay:e,page:l,setPage:t,setAutoplay:n,textCopies:c={},totalPages:d,transitionDelay:m=1,transitionDuration:u,themeClass:x,className:p,progressBarActiveSize:h,onClickNavArrows:f})=>{let w=(0,g.useRef)(!1),j=(0,g.useRef)(null),[C,N]=(0,g.useState)({}),_=e?(null==c?void 0:c.pauseAutoPlay)||"Pause autoplay":(null==c?void 0:c.resumeAutoPlay)||"Resume autoplay",S=()=>{null!==j.current&&(clearTimeout(j.current),j.current=null),w.current=!1},k=()=>{w.current||(w.current=!0,j.current=setTimeout(()=>{t(d>0?(l+1)%d:0),j.current=null,w.current=!1},1e3*m))};(0,g.useEffect)(()=>S,[]);let P=(0,g.useRef)((0,v.debounce)((e,l)=>{N(t=>Object.assign(Object.assign({},t),{[l]:e}))},100)).current;return(0,a.jsxs)("div",{className:(0,b.cn)("flex h-[3.125rem] items-center gap-1",x,p),children:[(0,a.jsx)(A,{Icon:r.default,ariaLabel:(null==c?void 0:c.goToPreviousPage)||"Go to previous page",disabled:0===l,onClick:()=>{l>0&&(S(),t(l-1),null==f||f({direction:"prev"}))}}),Array.from({length:d}).map((r,s)=>{let i=s+1,o=s===l;return(0,a.jsxs)(g.Fragment,{children:[(0,a.jsx)("button",{"aria-label":`${(null==c?void 0:c.buttonAriaLabel)||"Go to page"} ${i}`,className:(0,b.cn)("prose-brand-3xs flex h-full w-8 items-center justify-center",o?"text-color-utility-text-primary":"text-color-utility-text-tertiary"),disabled:o,onClick:()=>{S(),t(s)},type:"button",children:i}),(0,a.jsx)(y,{autoplay:e,currentPage:l,onAnimationComplete:k,pageNumber:s,progress:C[s]||0,progressBarActiveSize:h,setProgress:e=>P(e,s),transitionDuration:u})]},s)}),(0,a.jsx)(A,{Icon:s.default,ariaLabel:(null==c?void 0:c.goToNextPage)||"Go to next page",disabled:l===d-1,onClick:()=>{l<d-1&&(S(),t(l+1),null==f||f({direction:"next"}))}}),(0,a.jsx)("button",{"aria-label":_,className:"ml-4 h-full w-10 text-color-utility-icon-primary",onClick:()=>n(!e),type:"button",children:e?(0,a.jsx)(i.default,{className:"!h-[1.625rem] !w-[1.625rem]"}):(0,a.jsx)(o.default,{className:"!h-[1.625rem] !w-[1.625rem]"})})]})};var j=e.i(291859);function C(e,l=[]){let t=[],r=()=>{let l=t.map(e=>g.createContext(e));return function(t){let a=t?.[e]||l;return g.useMemo(()=>({[`__scope${e}`]:{...t,[e]:a}}),[t,a])}};return r.scopeName=e,[function(l,r){let s=g.createContext(r);s.displayName=l+"Context";let i=t.length;t=[...t,r];let o=l=>{let{scope:t,children:r,...o}=l,n=t?.[e]?.[i]||s,c=g.useMemo(()=>o,Object.values(o));return(0,a.jsx)(n.Provider,{value:c,children:r})};return o.displayName=l+"Provider",[o,function(t,a){let o=a?.[e]?.[i]||s,n=g.useContext(o);if(n)return n;if(void 0!==r)return r;throw Error(`\`${t}\` must be used within \`${l}\``)}]},function(...e){let l=e[0];if(1===e.length)return l;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));
1return function(e){let a=t.reduce((l,{useScope:t,scopeName:a})=>{let r=t(e)[`__scope${a}`];return{...l,...r}},{});return g.useMemo(()=>({[`__scope${l.scopeName}`]:a}),[a])}};return t.scopeName=l.scopeName,t}(r,...l)]}var N=e.i(957790),_=e.i(585968),S=e.i(954961),k=e.i(242873),P="Avatar",[I,E]=C(P),[B,L]=I(P),T=g.forwardRef((e,l)=>{let{__scopeAvatar:t,...r}=e,[s,i]=g.useState("idle");return(0,a.jsx)(B,{scope:t,imageLoadingStatus:s,onImageLoadingStatusChange:i,children:(0,a.jsx)(S.Primitive.span,{...r,ref:l})})});T.displayName=P;var z="AvatarImage";g.forwardRef((e,l)=>{let{__scopeAvatar:t,src:r,onLoadingStatusChange:s=()=>{},...i}=e,o=L(z,t),n=function(e,{referrerPolicy:l,crossOrigin:t}){let a=(0,k.useIsHydrated)(),r=g.useRef(null),s=a?(r.current||(r.current=new window.Image),r.current):null,[i,o]=g.useState(()=>M(s,e));return(0,_.useLayoutEffect)(()=>{o(M(s,e))},[s,e]),(0,_.useLayoutEffect)(()=>{let e=e=>()=>{o(e)};if(!s)return;let a=e("loaded"),r=e("error");return s.addEventListener("load",a),s.addEventListener("error",r),l&&(s.referrerPolicy=l),"string"==typeof t&&(s.crossOrigin=t),()=>{s.removeEventListener("load",a),s.removeEventListener("error",r)}},[s,t,l]),i}(r,i),c=(0,N.useCallbackRef)(e=>{s(e),o.onImageLoadingStatusChange(e)});return(0,_.useLayoutEffect)(()=>{"idle"!==n&&c(n)},[n,c]),"loaded"===n?(0,a.jsx)(S.Primitive.img,{...i,ref:l,src:r}):null}).displayName=z;var O="AvatarFallback",R=g.forwardRef((e,l)=>{let{__scopeAvatar:t,delayMs:r,...s}=e,i=L(O,t),[o,n]=g.useState(void 0===r);return g.useEffect(()=>{if(void 0!==r){let e=window.setTimeout(()=>n(!0),r);return()=>window.clearTimeout(e)}},[r]),o&&"loaded"!==i.imageLoadingStatus?(0,a.jsx)(S.Primitive.span,{...s,ref:l}):null});function M(e,l){return e?l?(e.src!==l&&(e.src=l),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}R.displayName=O;var U=e.i(970960),D=e.i(87423),G=e.i(701252),F=e.i(574061),H=e.i(575429),V=e.i(950936),Q=e.i(180214),q=e.i(822094),W=e.i(563224),Y=e.i(503948),X=e.i(342024),$=e.i(451274),Z=function(e,l){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>l.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)0>l.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(t[a[r]]=e[a[r]]);return t};let K={button:{small:"prose-label-medium-sm px-[0.5625rem] py-[0.40625rem]",large:"prose-label-medium-md px-[0.6875rem] py-[0.5625rem]",responsive:(0,b.cn)("prose-label-medium-sm lg:prose-label-medium-md","px-[0.5625rem] lg:px-[0.6875rem]","py-[0.40625rem] lg:py-2.5")},icon:{small:"mr-0.5 !size-4",large:"mr-0.5 !size-5",responsive:"mr-[0.03125rem] !size-4 lg:mr-0.5 lg:!size-5"}},J=(e,l)=>({button:(0,b.cn)("border border-color-utility-border-secondary text-color-utility-text-primary","hover:border-color-utility-fill-tertiary hover:bg-color-utility-fill-tertiary",K.button[e],{"border-color-utility-border-primary":l}),icon:K.icon[e]});var ee=e.i(358648),el=e.i(129937);let et=(0,g.memo)(({state:e,value:l,onClick:t,title:r})=>{let s=(0,g.useMemo)(()=>(0,a.jsxs)("svg",{fill:"none",height:"44",viewBox:"0 0 44 44",width:"44",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsxs)("g",{filter:"url(#filter0_d_3574_7690)",children:[(0,a.jsx)("circle",{cx:"22",cy:"22",fill:"#275CE2",r:"8"}),(0,a.jsx)("circle",{cx:"22",cy:"22",r:"7",stroke:"white",strokeWidth:"2"})]}),(0,a.jsx)("defs",{children:(0,a.jsxs)("filter",{colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",height:"44",id:"filter0_d_3574_7690",width:"44",x:"0",y:"0",children:[(0,a.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,a.jsx)("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,a.jsx)("feOffset",{}),(0,a.jsx)("feGaussianBlur",{stdDeviation:"7"}),(0,a.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,a.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),(0,a.jsx)("feBlend",{in2:"BackgroundImageFix",mode:"normal",result:"effect1_dropShadow_3574_7690"}),(0,a.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_3574_7690",mode:"normal",result:"shape"})]})})]}),[]),i=(0,g.useMemo)(()=>(0,a.jsxs)("svg",{fill:"none",height:"70",viewBox:"0 0 60 70",width:"60",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("g",{filter:"url
1(#filter0_d_3600_67698)",children:(0,a.jsx)("path",{clipRule:"evenodd",d:"M30 14C38.8366 14 46 21.1634 46 30C46 31.0786 45.8933 32.1323 45.6898 33.1511C44.2776 43.7929 30.0841 55.9048 30.0841 55.9048C30.0841 55.9048 18.0053 45.5975 15.0244 35.6454C14.3623 33.8899 14 31.9872 14 30C14 21.1634 21.1634 14 30 14Z",fill:"#275CE2",fillRule:"evenodd"})}),(0,a.jsx)("path",{d:"M36.0953 29.9999C36.0953 26.6336 33.3663 23.9047 30 23.9047C26.6337 23.9047 23.9048 26.6336 23.9048 29.9999C23.9048 33.3662 26.6337 36.0951 30 36.0951C33.3663 36.0951 36.0953 33.3662 36.0953 29.9999Z",fill:"white"}),(0,a.jsx)("defs",{children:(0,a.jsxs)("filter",{colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",height:"69.9048",id:"filter0_d_3600_67698",width:"60",x:"0",y:"0",children:[(0,a.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,a.jsx)("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,a.jsx)("feOffset",{}),(0,a.jsx)("feGaussianBlur",{stdDeviation:"7"}),(0,a.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,a.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),(0,a.jsx)("feBlend",{in2:"BackgroundImageFix",mode:"normal",result:"effect1_dropShadow_3600_67698"}),(0,a.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_3600_67698",mode:"normal",result:"shape"})]})})]}),[]);return(0,a.jsxs)("button",{"aria-label":r,onClick:()=>{null==t||t(l)},title:r,type:"button",children:["default"===e&&s,"active"===e&&i]})});et.displayName="MapPin";var ea=e.i(537784);let er={Item:({numberText:e,value:l,disabled:t=!1})=>(0,a.jsxs)(V.RadioCards.Item,{className:(0,b.cn)("relative flex h-[3.125rem] items-center justify-center rounded-[0.5rem] border border-color-utility-border-primary px-[1.84375rem] py-[1.03125rem] hover:enabled:border-color-utility-border-contrast","data-[state=checked]:enabled:bg-color-utility-fill-inverse [&[data-state=checked]>span]:text-color-utility-text-inverse","disabled:border-color-brand-border-secondary [&[disabled]>span]:text-color-utility-text-disabled [&[disabled]>svg]:block"),disabled:t,value:l,children:[(0,a.jsx)("svg",{className:"absolute hidden",fill:"none",height:"52",viewBox:"0 0 51 52",width:"51",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{className:"stroke-color-brand-border-secondary",d:"M1.14258 50L49.1426 2",strokeLinecap:"square",strokeWidth:"1.5"})}),(0,a.jsx)("span",{className:"label-text prose-body-medium-md text-color-utility-text-primary",children:e})]}),Root:V.RadioCards.Root};var es=e.i(839130),ei=e.i(991123),eo=e.i(201975),en=e.i(612134),ec=e.i(186288);let ed={label:(0,b.cn)(`
2    prose-label-medium-xs
3    mb-0.5
4  `),price:(0,b.cn)(`
5    prose-label-bold-md
6  `),original:(0,b.cn)(`
7    prose-label-medium-xs
8    ml-1
9    text-color-brand-text-primary
10  `),wrapper:(0,b.cn)(`
11    text-color-brand-text-tertiary
12  `)};var em=e.i(487512),eu=e.i(619190),ex=e.i(699569);let ep=(0,g.memo)(({state:e,value:l,onClick:t,size:r="small",title:s})=>{let i=(0,g.useMemo)(()=>(0,a.jsxs)("svg",{className:(0,b.cn)("small"===r&&"size-10"),fill:"none",height:"56",viewBox:"0 0 56 56",width:"56",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("circle",{cx:"28",cy:"28",fill:"#231E20",opacity:"0.3",r:"28"}),(0,a.jsx)("g",{filter:"url(#filter0_d_1078_4797)",children:(0,a.jsx)("circle",{cx:"28",cy:"28",fill:"white",r:"8"})}),(0,a.jsx)("defs",{children:(0,a.jsxs)("filter",{colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",height:"44",id:"filter0_d_1078_4797",width:"44",x:"6",y:"6",children:[(0,a.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,a.jsx)("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,a.jsx)("feOffset",{}),(0,a.jsx)("feGaussianBlur",{stdDeviation:"7"}),(0,a.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,a.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),(0,a.jsx)("feBlend",{in2:"BackgroundImageFix",mode:"normal",result:"effect1_dropShadow_1078_4797"}),(0,a.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1078_4797",mode:"normal",result:"shape"})]})})]}),[r]),o=(0,g.useMemo)(()=>(0,a.jsxs)("svg",{className:(0,b.cn)("small"===r&&"size-10"),fill:"none",height:"56",viewBox:"0 0 56 56",width:"56",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("circle",{cx:"28",cy:"28",fill:"#FEBD17",opacity:"0.3",r:"28"}
12),(0,a.jsxs)("g",{filter:"url(#filter0_d_2028_56826)",children:[(0,a.jsx)("circle",{cx:"28",cy:"28",fill:"#FEBD17",r:"8"}),(0,a.jsx)("circle",{cx:"28",cy:"28",r:"8",stroke:"white",strokeWidth:"3"})]}),(0,a.jsx)("defs",{children:(0,a.jsxs)("filter",{colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",height:"47",id:"filter0_d_2028_56826",width:"47",x:"4.5",y:"4.5",children:[(0,a.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,a.jsx)("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,a.jsx)("feOffset",{}),(0,a.jsx)("feGaussianBlur",{stdDeviation:"7"}),(0,a.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,a.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),(0,a.jsx)("feBlend",{in2:"BackgroundImageFix",mode:"normal",result:"effect1_dropShadow_2028_56826"}),(0,a.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2028_56826",mode:"normal",result:"shape"})]})})]}),[r]);return(0,a.jsxs)("button",{"aria-label":s,onClick:()=>{null==t||t(l)},title:s,type:"button",children:["default"===e&&i,"selected"===e&&o]})});ep.displayName="ProductPin";var eh=e.i(708570),ef="Progress",[eg,eb]=C(ef),[ev,ey]=eg(ef),eA=g.forwardRef((e,l)=>{var t,r;let{__scopeProgress:s,value:i=null,max:o,getValueLabel:n=eC,...c}=e;(o||0===o)&&!eS(o)&&console.error((t=`${o}`,`Invalid prop \`max\` of value \`${t}\` supplied to \`Progress\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`));let d=eS(o)?o:100;null===i||ek(i,d)||console.error((r=`${i}`,`Invalid prop \`value\` of value \`${r}\` supplied to \`Progress\`. The \`value\` prop must be:
13  - a positive number
14  - less than the value passed to \`max\` (or 100 if no \`max\` prop is set)
15  - \`null\` or \`undefined\` if the progress is indeterminate.
16
17Defaulting to \`null\`.`));let m=ek(i,d)?i:null,u=e_(m)?n(m,d):void 0;return(0,a.jsx)(ev,{scope:s,value:m,max:d,children:(0,a.jsx)(S.Primitive.div,{"aria-valuemax":d,"aria-valuemin":0,"aria-valuenow":e_(m)?m:void 0,"aria-valuetext":u,role:"progressbar","data-state":eN(m,d),"data-value":m??void 0,"data-max":d,...c,ref:l})})});eA.displayName=ef;var ew="ProgressIndicator",ej=g.forwardRef((e,l)=>{let{__scopeProgress:t,...r}=e,s=ey(ew,t);return(0,a.jsx)(S.Primitive.div,{"data-state":eN(s.value,s.max),"data-value":s.value??void 0,"data-max":s.max,...r,ref:l})});function eC(e,l){return`${Math.round(e/l*100)}%`}function eN(e,l){return null==e?"indeterminate":e===l?"complete":"loading"}function e_(e){return"number"==typeof e}function eS(e){return e_(e)&&!isNaN(e)&&e>0}function ek(e,l){return e_(e)&&!isNaN(e)&&e<=l&&e>=0}ej.displayName=ew;var eP=e.i(919840),eI=e.i(793296);let eE=(0,g.memo)(({theme:e="Dewalt",className:l})=>{var t;let r="cubcadet"===e.replace(/\s+/g,"").toLowerCase()?"Cub Cadet":e,s={Dewalt:(0,g.useMemo)(()=>(0,a.jsx)("svg",{"aria-hidden":"true",className:l,fill:"none",height:"75",viewBox:"0 0 88 75",width:"88",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{className:"fill-color-brand-icon-accent",d:"M83.0026 5.42529V19.4769C80.5091 19.6874 78.0156 20.5295 75.522 22.003C73.0285 23.3714 70.9506 25.3712 69.2882 28.0026C67.6259 30.5287 66.7947 33.6338 66.7947 37.3177H83.0026V66.9998H47.3141V40.6333C47.3141 32.6339 48.9764 26.1606 52.3011 21.2136C55.6258 16.1614 59.9895 12.3722 65.3921 9.84602C70.7947 7.31989 76.6649 5.84632 83.0026 5.42529ZM38.8985 5.42529V19.4769C36.4049 19.6874 33.9114 20.5295 31.4179 22.003C28.9244 23.3714 26.8465 25.3712 25.1841 28.0026C23.5218 30.5287 22.6906 33.6338 22.6906 37.3177H38.8985V66.9998H3.20996V40.6333C3.20996 32.6339 4.87231 26.1606 8.197 21.2136C11.5217 16.1614 15.8854 12.3722 21.288 9.84602C26.7945 7.31989 32.6647 5.84632 38.8985 5.42529Z"})}),[l]),Stanley:(0,g.useMemo)(()=>(0,a.jsx)("svg",{"aria-hidden":"true",className:l,fill:"none",height:"75",viewBox:"0 0 87 75",width:"87",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{className:"fill-color-brand-icon-accent",d:"M77.3555 12.5039C76.3008 17.7188 75.2754 23.1387 74.2793 28.7637C73.3418 34.3887 72.5215 39.9551 71.8184 45.4629C71.1152 50.9707 70.6172 56.1855 70.3242 61.1074H46.9453L45.8027 59.0859C46.8574 53.0508 48 47.3379 49.2305 41.9473C50.5195 36.498 51.8965 31.3125 53.3613 26.3906C54.8848 21.4688 56.5254 16.8398 58.2832 12.5039H77.3555ZM40.6172 12.5039C39.5039 17.4844 38.4492 22.9043 37.4531 28.7637C36.5156 34.623 35.6953 40.3945 34.9922 46.0781C34.2891 51.7031 33.7617 56.7129 33.4102 61.1074H10.0312L8.97656 59.0859C9.97266 53.0508 11.0859 47.3379 12.3164 41.9473C13.6055 36.498 15.0117 31.3125 16.5352 26.3906C18.1172 21.4688 19.7871 16.8398 21.5449 12.5039H40.6172Z"})}),[l]),Craftsman:(0,g.useMemo)(()=>(0,a.jsxs)("svg",{"aria-hidden":"true",className:l,fill:"none",height:"75",viewBox:"0 0 87 75",width:"87",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{className:"fill-color-brand-icon-accent",d:"M2.5965 45.2148C3.10967 32.6131 7.699 21.9882 17.45
175 13.8242C22.1784 9.87048 27.7066 7.61954 33.7947 6.75649C34.7452 6.62237 35.7948 6.47658 36.6812 6.73899C37.7892 7.06556 39.3637 7.60205 39.6494 8.42428C39.9468 9.29316 39.2587 10.891 38.489 11.6724C35.0193 15.2004 31.3513 18.536 27.7883 21.9707C21.7003 27.8371 22.1726 31.9075 29.3919 36.1411C36.1506 40.1065 38.7339 47.1158 36.5879 55.6356C34.8676 62.4583 28.4706 67.7999 21.502 68.2431C11.7519 68.8554 4.57336 62.9657 3.16215 53.0464C2.79477 50.4631 2.77727 47.8273 2.60233 45.2148H2.5965Z"}),(0,a.jsx)("path",{className:"fill-color-brand-icon-accent",d:"M48.0643 46.4632C48.041 33.4533 52.3679 22.3094 62.6545 13.9822C68.1186 9.5561 74.3699 6.78033 81.5834 7.00193C82.4698 7.03108 83.3386 7.50343 84.2134 7.94662C84.7265 8.20903 84.9714 8.80967 84.7732 9.352C84.4466 10.2734 84.1375 11.2181 83.5194 11.8479C79.8456 15.5683 75.9094 19.0263 72.2414 22.7526C67.1214 27.9484 67.6171 32.2229 74.0608 35.7334C77.758 37.7511 80.7495 40.0195 81.595 44.2998C82.5864 49.3148 83.0004 54.3532 80.4171 59.0591C75.7053 67.6313 65.7277 70.8561 57.1963 66.4242C50.9859 63.1994 48.7291 57.4088 48.0876 50.831C47.9477 49.3906 48.0643 47.9211 48.0643 46.4691V46.4632Z"})]}),[l]),"Cub Cadet":(0,g.useMemo)(()=>(0,a.jsx)("svg",{"aria-hidden":"true",className:l,fill:"none",height:"75",viewBox:"0 0 87 75",width:"87",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M4.64844 67.0322V48.83C4.64844 43.8113 5.62693 38.6802 7.58392 33.4367C9.61618 28.1933 12.213 23.2869 15.3742 18.7176C18.6108 14.0734 21.9603 10.1783 25.4226 7.03223L42.0194 16.021C39.6861 20.2907 37.5033 25.0098 35.471 30.1783C33.514 35.3468 32.5355 41.6015 32.5355 48.9423V67.0322H4.64844ZM44.2775 67.0322V48.83C44.2775 43.8113 45.256 38.6802 47.213 33.4367C49.2452 28.1933 51.842 23.2869 55.0033 18.7176C58.2398 14.0734 61.5893 10.1783 65.0517 7.03223L81.6484 16.021C79.3151 20.2907 77.1323 25.0098 75.1 30.1783C73.1431 35.3468 72.1646 41.6015 72.1646 48.9423V67.0322H44.2775Z",fill:"#FFC20F"})}),[l])};return null!=(t=s[r])?t:s.Dewalt});eE.displayName="QuoteIcon";var eB=e.i(164320),eL=e.i(376205);let eT={small:"!h-4 !w-4",medium:"!h-5 !w-5",large:"!h-6 !w-6"},ez={small:"prose-label-medium-xs",medium:"prose-label-medium-sm",large:"prose-label-medium-md"};var eO=e.i(81758),eR=e.i(964769),eM=e.i(912832),eU=e.i(483780);let eD=(0,b.cn)("xl:grid-layout py-10 xl:container xl:py-14","[&_*]:break-words","[&>:where(p,h2,h3,h4,h5,h6,hr)]:px-4","[&>:where(p,h2,h3,h4,h5,h6,ul,ol,hr)]:mx-auto","[&>:where(p,h2,h3,h4,h5,h6,ul,ol,blockquote,hr)]:sm:mx-[5.75rem]","[&>:where(p,h2,h3,h4,h5,h6,hr)]:sm:px-[unset]","[&>:where(p,h2,h3,h4,h5,h6,ul,ol,blockquote,hr)]:xl:w-full","[&>:where(p,h2,h3,h4,h5,h6,ul,ol,blockquote,hr)]:xl:col-span-full","[&>:where(p,h2,h3,h4,h5,h6,ul,ol,blockquote,hr)]:xl:col-start-4","[&>:where(p,h2,h3,h4,h5,h6,ul,ol,blockquote,hr)]:xl:col-end-10","[&>:where(p,h2,h3,h4,h5,h6,ul,ol,blockquote,hr)]:xl:mx-auto","[&>:where(:not(p,:is(h1,h2,h3,h4,h5,h6)))]:mt-8","[&>:where(:not(p)+p)]:mt-8","[&>:where(p+:not(p))]:mt-8","[&>:where(p+p)]:mt-5","[&>:where(:is(h1,h2,h3,h4,h5,h6)+p)]:mt-5","[&_:where(li+li)]:mt-4","[&>:where(:is(h1,h2,h3,h4,h5,h6)+:is(h1,h2,h3,h4,h5,h6))]:mt-2","[&>hr]:w-full [&>hr]:border-0 [&>hr]:border-t [&>hr]:border-color-brand-border-primary","[&_.text-align-center]:text-center","[&_.text-align-right]:text-right","[&_.text-align-justify]:text-justify"),eG=(0,b.cn)("[&_:where(:is(h2,h3,h4,h5,h6))]:text-color-brand-text-primary"),eF=(0,b.cn)("prose-h2:prose-brand-md xl:prose-h2:prose-brand-lg"),eH=(0,b.cn)("prose-h3:prose-brand-sm"),eV=(0,b.cn)("prose-h4:prose-brand-xs"),eQ=(0,b.cn)("prose-h5:prose-brand-2xs"),eq=(0,b.cn)("prose-h6:prose-brand-3xs"),eW=(0,b.cn)("prose-p:prose-body-medium-sm xl:prose-p:prose-body-medium-md prose-p:text-color-utility-text-primary"),eY=(0,b.cn)("prose-a:underline prose-a:underline-offset-2 [&>p>a:hover]:no-underline"),eX=(0,b.cn)("prose-ul:mx-auto prose-ul:px-4 prose-ul:sm:px-[unset]","prose-ul:list-none prose-ul:pl-10 sm:prose-ul:pl-6",'[&_ul_li::marker]:content-[""] [&_ul_li]:relative'),e$=(0,b.cn)("prose-ol:mx-4 prose-ol:pl-[3.125rem] prose-ol:pr-4 prose-ol:sm:mx-auto sm:prose-ol:pl-[2.125rem]","prose-ol:list-none","prose-ol:[counter-reset:item]","[&_ol>li]:relative","[&_ol>li]:[counter-increment:item]","[&_ol>li>span.list-marker]:absolute [&_ol>li>span.list-marker]:left-[-2.125rem] [&_ol>li>span.list-marker]:w-[1.875rem]","[&_ol>li>span.list-marker]:before:top-1 xl:[&_ol>li>span.list-marker]:before:top-[2px]","[&_ol>li>span.list-marker]:before:prose-btn-sm [&_ol>li>span.list-marker]:before:xl:prose-btn-lg",'[&_ol>li>span.list-marker]:before:[content:counter(item)_"."] xl:[&_ol>li>span.list-marker]:before:[content:counter(item)_"."]'),eZ=(0,b.cn)("prose-li:marker:text-color-utility-text-primary","prose-li:prose-body-medium-sm prose-li:xl:prose-body-medium-md prose-li:text-color-utility-text-primary"),eK=(0,b.cn)("prose-blockquote:relative prose-blockquote:pl-9 prose-blockquote:sm:mx-auto sm:prose-blockquote:pl-5","prose-blockquote:prose-body-italic-sm prose-blockquote:xl:prose-body-italic-md prose-blockquote:pr-4 sm:prose-blockquote:pr-0","prose-blockquote:before:absolute prose-blockquote:before:inset-0 prose-blockquote:before:w-1 prose-blockquote:before:bg-color-brand-border-accent","prose-blockquote:before:absolute prose-blockquote:before:left-4 sm:prose-blockquote:before:left-0","[&_blockquote_p]:mx-[unset] [&_blockquote_p]:max-w-[unset] [&_blockquote_p]:px-[unset]","[&_blockquote_p]:before:contents","[&_blockquote_p]:after:contents"),eJ=(0,b.cn)("[&>.small-text]:prose-body-medium-xs [&>.small-text]:text-color-utility-text-tertiary","[&>.small-text]:mt-[2.125rem] [&>.small-text]:text-xs [&>.small-text]:leading-[1.0625rem]","[&>
17.small-text:first-child]:mt-0"),e0=(0,b.cn)("[&_.rich-text-subtitle]:prose-label-medium-md [&_.rich-text-subtitle]:mt-2 [&_.rich-text-subtitle]:text-color-brand-text-secondary"),e1=(0,b.cn)("prose-table:col-span-full prose-table:mb-5 prose-table:flex prose-table:flex-col prose-table:overflow-x-auto prose-table:pb-4","prose-table:container prose-table:mx-auto prose-table:mt-10 prose-table:px-4 prose-table:sm:px-8 prose-table:xl:px-[unset]","prose-table:lg:mx-auto prose-table:lg:w-fit prose-table:lg:border-collapse","[&_table_th]:px-3 [&_table_th]:py-4","[&_table_:where(th,td)]:md:min-w-[10rem]","[&_table_:where(tbody,thead)]:lg:min-w-[46rem] [&_table_:where(tbody,thead)]:xl:min-w-[51rem] [&_table_:where(tbody,thead)]:xl:min-w-[60rem]","[&_table_tr]:w-full","[&_table_tr]:flex","[&_table_:where(th,td)]:flex-1","[&_table_td]:px-3 [&_table_td]:py-4 [&_table_td]:text-color-utility-text-primary","[&_table_tbody]:rounded-lg [&_table_tbody]:border [&_table_tbody]:border-color-brand-border-primary","[&_table_:where(thead+tbody)]:!rounded-tl-none [&_table_:where(thead+tbody)]:!border-t-0","[&_table_:where(thead+tbody)]:!rounded-tr-none","[&_table_tbody_tr:first-child_th]:rounded-tl-lg","[&_table_thead_tr:first-child_th:first-child]:rounded-tl-lg","[&_table_tbody_tr:last-child_th]:rounded-bl-lg","[&_table_thead_tr:first-child]:rounded-tr-lg","[&_table_thead_tr:first-child]:rounded-tl-lg","[&_table_thead]:rounded-t-lg [&_table_thead]:border [&_table_thead]:border-color-brand-border-primary","[&_table_th]:bg-color-utility-fill-secondary","[&_table_:where(th,td)]:prose-label-medium-sm [&_table_:where(th,td)]:align-middle","[&_table_:where(th,td)]:text-color-utility-text-primary","[&_table_:where(th,td)_strong]:prose-label-bold-sm","[&_table_thead_tr:first-child_th:last-child]:rounded-tr-lg","[&_table_:where(th,td)_.small-text]:prose-eyebrow-medium-sm [&_table_:where(th,td)_.small-text]:text-color-utility-text-secondary","[&_table_:where(th,td)_.small-text_strong]:text-xs","[&_.table-specs]:xl:px-10","[&_.table-specs]:3xl:px-0","[&_.table-specs_>*]:border-none","[&_.table-specs_tbody]:min-w-full","[&_.table-specs_tbody]:xl:min-w-[51rem]","[&_.table-specs_:where(th,td)]:min-w-[unset]","[&_.table-specs_:where(th,td)]:pl-[unset]","[&_.table-specs_:where(th,td)]:pr-[unset]","[&_.table-specs_th]:prose-label-bold-sm","[&_.table-specs_th]:text-color-utility-text-primary","[&_.table-specs_th]:bg-transparent","[&_.table-specs_:where(tbody,thead)]:flex","[&_.table-specs_:where(tbody,thead)]:flex-col","[&_.table-specs_:where(tbody,thead)_tr]:flex","[&_.table-specs_:where(tbody,thead)_tr]:justify-between","[&_.table-specs_:where(tbody,thead)_tr]:items-center","[&_.table-specs_:where(tbody,thead)_tr_:last-child]:flex","[&_.table-specs_:where(tbody,thead)_tr_:last-child]:justify-end"),e2=({bodyText:e,className:l,id:t,themeClass:r="onLight"})=>{let s=(0,g.useRef)(null);return(0,g.useEffect)(()=>{var e,l;let t;null==(e=s.current)||e.querySelectorAll("table:not(.table-specs)").forEach(e=>{let l=e.querySelectorAll("tbody tr:first-child th").length,t=e.querySelector("thead");if(l&&t){let t="border-r border-r-color-brand-border-primary";e.querySelectorAll(`thead th:nth-child(${l})`).forEach(e=>{e.className=t}),e.querySelectorAll(`tbody tr th:nth-child(${l})`).forEach(e=>{e.className=t})}}),null==(t=null==(l=s.current)?void 0:l.querySelectorAll("a"))||t.forEach(e=>{let l=e.getAttribute("href");l&&(0,eU.isExternalLink)(l)&&(e.setAttribute("target","_blank"),e.setAttribute("rel","noopener noreferrer"))})},[]),(0,a.jsx)("div",{className:(0,b.cn)(r,eD,eG,eW,eF,eH,eV,eQ,eq,eY,eX,e$,eZ,eK,eJ,e0,e1,l),id:t,ref:s,children:(0,eM.renderRichText)(e)})};var e5=e.i(671673),e3=e.i(468841),e4=e.i(7715),e6=e.i(401944),e7=e.i(986858),e8=e.i(726490),e9=e.i(223107),le=e.i(739192),ll=e.i(926785),lt=e.i(715479),la=e.i(153638),lr=e.i(18758),ls=e.i(879815),li=e.i(482983),lo=e.i(660384),ln=e.i(453340),lc=e.i(286485),ld=e.i(743662),lm=e.i(496301);let lu=({className:e,card:l,image:t})=>{var r,s,i;return(null==t?void 0:t.url)||(null==(r=null==l?void 0:l.cta)?void 0:r.url)?(0,a.jsxs)("div",{className:(0,b.cn)("relative h-fit text-color-brand-text-primary",e),children:[(null==t?void 0:t.url)&&(0,a.jsx)("figure",{className:"relative block aspect-square h-auto w-full overflow-hidden rounded-card-corner-radius-lg xl:aspect-4/3",children:(0,a.jsx)(ec.PolarisImage,{alt:t.alt||"",className:"object-cover",fill:!0,focalPoint:null==t?void 0:t.focalPoint,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("Accordion")),src:(null==(s=t.sizes)?void 0:s.md)||t.url,transformBaseUrl:null==t?void 0:t.transformBaseUrl})}),(null==(i=null==l?void 0:l.cta)?void 0:i.url)&&(0,a.jsx)("div",{className:"absolute bottom-3 right-3 z-10 w-[calc(100%-1.5rem)] xl:max-w-[20.875rem]",children:(0,a.jsx)(lm.HorizontalProductCard,{...l,className:"onLight rounded-card-corner-radius-md"})})]}):null},lx=(0,e.i(777831).default)((0,a.jsx)("path",{d:"m22.7 19-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 
171.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4"}),"Build");var lp=e.i(176099),lh=e.i(810188),lf=e.i(746464);let lg={0:null,1:"1-up",2:"2-up",3:"3-up"},lb="w-[60.26vw] md:w-[36.98vw] lg:w-[21.79vw]",lv=({cards:e,className:l,content:t,ctas:r,info:i,themeClass:o,textCopies:n={},asset:c,showCards:d=!1})=>{let m=lg[(null==e?void 0:e.length)||0],u="1-up"===m,x="2-up"===m,p="3-up"===m,h={is1Up:u,is2Up:x,is3Up:p,cards:e,info:i,layout:m,textCopies:n},f=!e||0===e.length,v=null==c?void 0:c.url,{globalFallbackImage:y}=(0,lp.useGlobalElements)(),A=(0,g.useMemo)(()=>(null==r?void 0:r[0])?Object.assign(Object.assign({},r[0]),{RightIcon:()=>(0,a.jsx)(s.default,{})}):void 0,[r]),w=(0,g.useMemo)(()=>(null==r?void 0:r[1])?Object.assign(Object.assign({},r[1]),{RightIcon:()=>(0,a.jsx)(s.default,{})}):void 0,[r]);return(0,a.jsxs)("article",{className:(0,b.cn)("prose-body-medium-xs md:prose-body-medium-sm",l,"grid-layout gap-y-10"),children:[(0,a.jsxs)("div",{className:(0,b.cn)("flex flex-col items-start gap-6","prose-ol:list-decimal prose-ol:pl-4 prose-ul:list-disc prose-ul:pl-4","[&_::marker]:text-color-brand-text-secondary",{"col-span-full sm:col-span-6 xl:col-span-6 sm:mr-4 xl:mr-0":u,"col-span-full sm:col-span-10 xl:col-span-4 xl:pr-8":x,"col-span-full sm:col-span-10 xl:col-span-full":p,"col-span-full sm:col-span-10 xl:col-span-9":f||!d||!v}),children:[(0,a.jsx)("div",{className:(0,b.cn)("flex flex-col gap-5 text-color-brand-text-secondary md:gap-4"),children:(0,a.jsx)(e2,{bodyText:String(null!=t?t:""),className:"!p-0 [&>*]:!col-span-full [&>*]:sm:!mx-[unset] [&>ol]:!pr-0 [&>p]:!px-0 [&>ul]:!pr-0",themeClass:o})}),(null==r?void 0:r.length)>0&&(0,a.jsx)(lh.ButtonGroup,{className:(0,b.cn)("w-full flex-nowrap justify-start [&_a]:w-full [&_a]:lg:w-auto"),primaryCta:A,secondaryCta:w,size:"small",variant:"link"})]}),d&&v&&e&&(null==e?void 0:e.length)>0&&(0,a.jsx)("div",{className:(0,b.cn)({"col-span-full sm:col-span-6":u,"col-span-full xl:col-span-8":x,"col-span-full":p}),"data-testid":"side-by-side-accordion-cards",children:p?(0,a.jsx)(e5.ScrollBarArea,{orientation:"horizontal",children:(0,a.jsx)(ly,{...h,fallbackImage:y})}):(0,a.jsx)(ly,{...h,asset:c,fallbackImage:y})})]})},ly=({is2Up:e,is3Up:l,cards:t,info:r,textCopies:i={},fallbackImage:o,asset:n})=>(0,a.jsxs)("div",{className:(0,b.cn)("mb-6",{"flex gap-3 mt-6  md:mt-8 lg:gap-8":l,"md:mt-8 md:flex md:gap-4 lg:gap-8 lg:mt-0":e}),children:[null==t?void 0:t.map((t,r)=>l||e?(0,a.jsxs)("div",{className:l?lb:"mt-6 md:mt-0 md:w-1/2",children:[(0,a.jsx)(lf.ProductCard,{...t,cardType:"product",className:e?"hidden md:block":"",fallbackImage:o,size:l?"small":"medium",textCopies:i,variant:"featured"}),e&&(0,g.createElement)(lm.HorizontalProductCard,{...t,className:"onLight md:hidden",fallbackImage:o,key:r,size:"small",variant:"card"})]},r):(0,a.jsx)(lu,{card:"size"in t&&"variant"in t?t:void 0,image:n},r)),l&&(0,a.jsxs)("div",{className:(0,b.cn)("onDark bg-color-brand-surface-primary text-color-brand-text-primary","flex flex-col items-start px-5 py-6 ",lb),children:[(0,a.jsx)(lx,{"aria-hidden":!0,className:"!h-[2.375rem] !w-[2.375rem]"}),(0,a.jsx)("span",{className:"prose-brand-xs mt-auto block uppercase",children:r}),(0,a.jsx)(U.Button,{RightIcon:s.default,className:"mt-[0.9375rem]",size:"small",variant:"text",children:i.learnMore||"Learn More"})]})]});var lA=e.i(183162),lw=e.i(837688),lj=e.i(329004),lC=e.i(624559),lN=e.i(302364),l_=e.i(975305),lS=e.i(475180),lk=e.i(677734),lP=e.i(264733),lI=e.i(822277);let lE=(0,b.cn)("onLight","relative","flex flex-col","items-center","gap-4","px-5 py-6 sm:py-8","bg-color-brand-surface-primary","max-w-[16.0625rem]","xl:max-w-[20.125rem]");var lB=e.i(428173);let lL={2:"md:grid-cols-2",3:"md:grid-cols-3",4:"md:grid-cols-4"},lT=({columns:e})=>{let l=Math.min(4,Math.max(2,e.length));return(0,a.jsx)("div",{className:(0,b.cn)("grid w-full grid-cols-1 gap-x-4 gap-y-8 xl:gap-x-8",lL[l]),children:e.map((e,l)=>(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("h3",{className:"prose-brand-3xs normal-case text-color-brand-text-primary",children:e.title}),(0,a.jsx)("ul",{className:"flex flex-col gap-3",children:e.links.map((e,l)=>(0,a.jsx)("li",{className:"flex",children:(0,a.jsx)(U.Button,{RightIcon:s.default,className:"w-fit",link:e,size:"medium",variant:"link",children:e.text})},`${e.url}-${l}`))})]},`${e.title}-${l}`))})};var lz=e.i(515182),lO=e.i(535206),lR=function(e,l){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>l.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)0>l.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(t[a[r]]=e[a[r]]);return t};let lM=lO.Root;lO.Trigger;let lU=lO.Portal;lO.Close;let lD=e=>{var{ref:l,className:t}=e,r=lR(e,["ref","className"]);return(0,a.jsx)(lO.Overlay,{className:(0,b.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0  fixed inset-0 z-50 bg-black/80",t),ref:l,...r})};lD.displayName=lO.Overlay.displayName;let lG=e=>{var{ref:l,className:t,children:r}=e,s=lR(e,["ref","className","children"]);
17return(0,a.jsxs)(lU,{children:[(0,a.jsx)(lD,{}),(0,a.jsx)(lO.Content,{className:(0,b.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-white p-4 shadow-lg duration-200",t),ref:l,...s,children:r})]})};lG.displayName=lO.Content.displayName;let lF=e=>{var{children:l,className:t}=e,r=lR(e,["children","className"]);return(0,a.jsxs)("div",{className:(0,b.cn)("relative gap-6 space-y-3 text-center",t),...r,children:[(0,a.jsx)("div",{className:"size-8 min-h-8 min-w-8"}),l,(0,a.jsx)("div",{className:"flex size-8 min-h-8 min-w-8 items-center justify-center",children:(0,a.jsxs)(lO.Close,{className:"right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",children:[(0,a.jsx)(lz.default,{}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})})]})};lF.displayName="DialogHeader";let lH=e=>{var{ref:l,className:t}=e,r=lR(e,["ref","className"]);return(0,a.jsx)(lO.Title,{className:(0,b.cn)("text-lg font-semibold leading-none tracking-tight",t),ref:l,...r})};var lV=e.i(761356),lQ=e.i(547497),lq=e.i(924230),lW=e.i(719057);let lY={small:"py-4 px-3 lg:p-6",medium:"py-5 px-4 sm:p-5 lg:p-6",large:"p-5 lg:p-8"},lX={small:"border-y-8 py-4 lg:border-y-[0.75rem] lg:py-7",medium:"border-y-8 py-4 lg:border-y-[0.75rem] lg:py-7",large:"border-y-8 lg:border-y-[0.75rem]"},l$={small:"",medium:"",large:"hidden md:block lg:hidden"},lZ={small:"md:bottom-[0.489375rem] md:left-2 lg:bottom-[0.770625rem] lg:left-3",medium:"bottom-[0.625rem] left-[0.625rem] d:bottom-[0.604375rem] lg:bottom-[0.71875rem] lg:left-3",large:"bottom-[0.625rem] left-[0.625rem]"},lK={small:"size-[3.125rem] md:size-[3.75rem] lg:size-20",medium:"size-[3.125rem] md:size-[3.75rem] lg:size-20",large:"size-[3.125rem] md:size-[4.375rem] lg:size-[6.25rem]"},lJ={small:"size-20",medium:"size-20 lg:size-[6.25rem]",large:""},l0={"16:9":"!aspect-video","1:1":"!aspect-square","3:2":"!aspect-3/2","4:3":"!aspect-4/3"},l1=({className:e})=>(0,a.jsx)("svg",{className:e,fill:"none",height:"101",viewBox:"0 0 100 101",width:"100",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{clipRule:"evenodd",d:"M76.9249 77.7593V23.9131H23.0787L76.9249 77.7593Z",fill:"currentColor",fillRule:"evenodd"})}),l2=({className:e})=>(0,a.jsx)("svg",{className:e,fill:"none",height:"100",viewBox:"0 0 100 100",width:"100",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M100 100.086L100 0.0859375L-4.37114e-06 100.086L100 100.086Z",fill:"currentColor"})}),l5=({className:e,media:l,size:t="large",imageAspectRatio:r})=>{var s,i;let{featuredArticleCardBrandStyles:{styles:{mediaContainer:o,image:n}={},booleans:{showCraftsmanShape:c}={}}={}}=(0,lW.useBrandStyleContext)();return(0,a.jsxs)("div",{className:(0,b.cn)("relative mt-4 lg:mt-6",r&&l0[r],null==o?void 0:o[t],e),children:[(null==l?void 0:l.url)&&(0,a.jsx)(ec.PolarisImage,{alt:(null==l?void 0:l.alt)||"",className:null==n?void 0:n[t],fill:!0,focalPoint:null==l?void 0:l.focalPoint,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("ArticleCard")),src:(null==(s=l.sizes)?void 0:s.md)||l.url,transformBaseUrl:null==l?void 0:l.transformBaseUrl}),c&&(0,a.jsx)(l2,{className:(0,b.cn)("absolute bottom-0 right-0 text-color-brand-surface-primary",lJ[t])}),"video"===l.type&&(0,a.jsx)("div",{className:(0,b.cn)("absolute bottom-[0.604375rem] left-[0.625rem] flex",lZ[t]),children:(0,a.jsx)(lo.VideoPill,{size:"small",text:null!=(i=l.videoDuration)?i:""})})]})};var l3=e.i(21678),l4=e.i(193027),l6=e.i(449761);let l7=()=>(0,a.jsx)("hr",{"aria-hidden":"true",className:"my-4 h-px bg-color-brand-border-secondary"});var l8=e.i(150508);let l9={root:(0,b.cn)("flex h-full w-full flex-col bg-color-brand-surface-secondary","p-5 xl:p-8"),bar:"w-full bg-color-brand-border-accent h-2 xl:h-3",barTop:"mb-5 xl:mb-10",barBottom:"mt-5 xl:mt-8",body:"flex flex-1 flex-col justify-between gap-5",title:(0,b.cn)("text-color-brand-text-primary","prose-brand-xs sm:prose-brand-sm xl:prose-brand-lg","longword-locale:prose-brand-2xs xl:longword-locale:prose-brand-md"),copy:"prose-body-medium-sm mt-2 flex flex-col gap-5 text-color-brand-text-secondary",ctas:"flex flex-wrap items-center gap-2"},te=({className:e,id:l,planId:t,title:r,planName:i,subscript:o,minimumPurchaseText:n,processingFeeText:c,applyNowText:d,applyNowAriaLabel:m,seeDetailsText:u,seeDetailsAriaLabel:x,onApplyNowClick:p,onSeeDetailsClick:h,themeClass:f="onLight",titleAs:g="h3"})=>{let v=!!(d&&p),y=!!(u&&h);return(0,a.jsxs)("div",{className:(0,b.cn)(f,l9.root,e),id:l,children:[(0,a.jsx)("div",{"aria-hidden":"true",className:(0,b.cn)(l9.bar,l9.barTop)}),(0,a.jsxs)("div",{className:l9.body,children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(g,{className:l9.title,children:r}),(i||c||n)&&(0,a.jsxs)("div",{className:l9.copy,children:[i&&(0,a.jsxs)("p",{children:[i,o&&(0,a.jsx)("sup",{children:o}),"."]}),c&&(0,a.jsx)("p",{children:c}),n&&(0,a.jsx)("p",{children:n})]})]}),(v||y)&&(0,a.jsxs)("div",{className:l9.ctas,children:[v&&(0,a.jsx)(U.Button,{ariaLabel:null!=m?m:d,onClick:()=>null==p?void 0:p({planId:t,planName:i}),size:"small",variant:"outline",children:d}),y&&(0,a.jsx)(U.Button,{RightIcon:s.default,ariaLabel:null!=x?x:u,onClick:()=>null==h?void 0:h({planId:t,planName:i}),size:"small",variant:"link",children:u})]})]}),(0,a.jsx)("div",{"aria-hidden":"true",className:(0,b.cn)(l9.bar,l9.barBottom)})]})};var tl=e.i(653071),tt=e.i(32786),ta=e.i(35082),tr=e.i(267528),ts=e.i(807236);let ti=({className:e})=>(0,a.jsx)("svg",{className:(0,b.cn)("absolute -right-px -top-px text-color-brand-surface-primary",e),fill:"none",height:"71",viewBox:"0 0 70 71",width:"70",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{clipRule:"evenodd",d:"M69.9998 70.4453L69.9998 0.445309L-3.05979e-06 0.445312C2.62186 0.445312 5.13632 1.48685 6.99026 3.34079L67.1043 63.455C68.9583 65.309 69.9998 67.8234 69.9998 70.4453Z",fill:"currentColor",fillRule:"evenodd"})}),to=({caption:e})=>(0,a.jsx)("figcaption",{className:(0,b.cn)("media-caption prose-body-medium-xs col-span-full mt-2 text-color-utility-text-secondary"),children:e});var tn=e.i(213288),tc=e.i(267468),td=e.i(403536),tm=e.i(266922),tu=e.i(782479),tx=e.i(922373),tp=e.i(788327),th=e.i(119930),tf=e.i(130233);let tg=e=>{let l=e.sku||e.objectID,t=e.title||e.name||"",a=e.description||e.type||"",r="https://via.placeholder.com/100";return e.image?r=e.image:e.images&&Array.isArray(e.images)&&e.images.length>0&&(r=e.images[0]),{id:e.objectID,sku:l,title:t,description:a,image:r}};
17var tb=e.i(763413),tv=e.i(72529),ty=e.i(640637);let tA={onLight:"onColor",onGray:"onLight",onColor:"onLight",onDark:"onLight"},tw=({className:e})=>(0,a.jsx)("svg",{"aria-hidden":"true",className:(0,b.cn)("text-color-brand-surface-accent",e),fill:"none",height:"100",viewBox:"0 0 100 100",width:"100",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{clipRule:"evenodd",d:"M23.0788 76.9234L76.9231 76.9234L76.9231 23.0791L23.0788 76.9234Z",fill:"currentColor",fillRule:"evenodd"})}),tj=({className:e})=>(0,a.jsx)("div",{className:(0,b.cn)("border-b-[3.8125rem] border-l-[3.125rem] border-b-color-brand-surface-primary border-l-transparent","sm:border-b-[4.35125rem] sm:border-l-[3.75rem] xl:border-b-[7.0225rem] xl:border-l-[5.375rem]","absolute -bottom-px -right-px",e)});var tC=e.i(659664),tN=e.i(101512),t_=e.i(854376),tS=e.i(819740),tk=e.i(197589),tP=e.i(997678),tI=e.i(414693),tE=e.i(351582),tB=e.i(131991),tL=e.i(988682),tT=e.i(816070),tz=e.i(50345),tO=e.i(842825),tR=e.i(708911),tM=e.i(832400),tU=e.i(704453),tD=e.i(69503),tG=e.i(615582);let tF="left",tH="4:3",tV="4:3",tQ={"1:1":"aspect-[1/1]","2:3":"aspect-[2/3]","3:2":"aspect-[3/2]","4:3":"aspect-[4/3]","3:4":"aspect-3/4","5:3":"aspect-[5/3]","9:16":"aspect-[9/16]","16:9":"aspect-[16/9]"},tq={"1:1":"xl:aspect-[1/1]","2:3":"xl:aspect-[2/3]","3:2":"xl:aspect-[3/2]","4:3":"xl:aspect-[4/3]","9:16":"xl:aspect-[9/16]","16:9":"xl:aspect-[16/9]"},tW={"1:1":"max-sm:aspect-[1/1]","2:3":"max-sm:aspect-[2/3]","3:2":"max-sm:aspect-[3/2]","4:3":"max-sm:aspect-[4/3]","9:16":"max-sm:aspect-[9/16]","16:9":"max-sm:aspect-[16/9]"},tY={"1:1":"sm:max-xl:aspect-[1/1]","2:3":"sm:max-xl:aspect-[2/3]","3:2":"sm:max-xl:aspect-[3/2]","4:3":"sm:max-xl:aspect-[4/3]","9:16":"sm:max-xl:aspect-[9/16]","16:9":"sm:max-xl:aspect-[16/9]"},tX={"2:3":"xl:aspect-[2/3] xl:max-w-[59.83%]","3:2":"xl:aspect-[3/2]","4:3":"xl:aspect-[4/3]","5:3":"xl:aspect-[5/3]","9:16":"xl:aspect-[9/16] xl:max-w-[50.34%]","16:9":"xl:aspect-[16/9]"},t$=e=>"1:1"===e?"4:3":e,tZ={sm:"medium",md:"large",lg:"large"},tK=(0,b.cn)("col-span-full","sm:col-span-6 sm:mt-0 sm:flex sm:w-full sm:flex-col","xl:col-span-5"),tJ={"2:3":"xl:max-w-[36.25rem] xl:!mx-0 xl:mt-0 xl:min-h-[43.75rem]","3:2":"xl:py-[5.625rem]","4:3":"xl:w-[21.5rem] xl:shrink-0 xl:min-h-[31.25rem] xl:max-w-[36.25rem] xl:mt-0","1:1":"xl:w-[21.5rem] xl:min-h-[31.25rem] xl:max-w-[36.25rem] xl:!mx-auto xl:shrink-0 xl:mt-0"},t0={"2:3":"xl:max-w-[29.167rem] xl:!mx-auto xl:mt-0 xl:min-h-[43.75rem]","3:2":"xl:py-[5.625rem]","4:3":"sm:items-start xl:w-[21.5rem] xl:flex-1 xl:min-h-[31.25rem] xl:max-w-[48.75rem]","1:1":"sm:items-start xl:min-h-[31.25rem] xl:shrink xl:mx-10"},t1={"2:3":"xl:gap-0","1:1":"xl:gap-0","4:3":"xl:gap-8"},t2=({className:e,description:l,eyebrow:t,heading:r,id:s,logos:i,logoSize:o,media:n,mediaPlacement:c=tF,mediaRatio:d=tH,mobileMediaRatio:m=tV,onClickCta:u,primaryCta:x,product:p,secondaryCta:h,textCopies:f={},themeClass:g,optionalClasses:v})=>{var y,A,w,j,C,N,_,S,k,P,I,E,B,L,T,z,O,R,M,U,D,G,F,H,V,Q,q,W,Y,X,$,Z;let K="image"===n.type||(null==(y=n.mobileAsset)?void 0:y.type)==="image"||(null==(A=n.tabletAsset)?void 0:A.type)==="image",J="left"===c,ee=!!(null==(w=n.tabletAsset)?void 0:w.url),el=!!(null==(j=n.mobileAsset)?void 0:j.url),et=ee||el,{isMobile:ea,isTabletAndBelow:er}
17=(0,tG.useBreakpoint)(),es=t$(d),ei=t$(m),{globalFallbackImage:eo}=(0,lp.useGlobalElements)(),en=(({hasVideoProductCard:e,isMediaImage:l,isMediaLeft:t,isMobile:a,mediaRatio:r,mobileMediaRatio:s,isTabletAndBelow:i})=>{let o=a?s:r,n=!l&&("4:3"===o||"1:1"===o);return{buttonGroup:(0,b.cn)("justify-start",l?"mt-6":(0,b.cn)("mt-8 xl:mt-10",e&&"sm:max-xl:mt-auto")),container:(0,b.cn)("container flex flex-col py-10 sm:flex-row sm:gap-4 xl:py-14",l?"gap-6 xl:gap-8 sm:items-stretch":(0,b.cn)("gap-10","sm:max-xl:items-stretch",t1[r])),content:(0,b.cn)(tK,"xl:w-full xl:pr-0",l?(0,b.cn)("justify-end","sm:flex-1 sm:min-w-0"):(0,b.cn)("justify-end",e&&"sm:max-xl:justify-start",tJ[o],n&&"sm:max-xl:flex-1 sm:max-xl:min-w-0 sm:max-xl:w-auto",!e&&"sm:max-xl:min-h-0")),figure:(0,b.cn)("relative col-span-full flex h-fit items-end justify-center overflow-hidden rounded-card-corner-radius-lg","sm:col-span-6","xl:col-span-7 xl:mx-0",l?"max-sm:w-full":"w-full xl:w-full",!l&&(t?"sm:mr-[0.6875rem] xl:mr-0":"sm:ml-[0.6875rem] xl:ml-0"),l?(0,b.cn)("max-sm:p-2 sm:w-[21.5rem] sm:flex-none sm:shrink-0 xl:w-full xl:max-w-[48.75rem] xl:shrink-0",!i&&tQ[t$(r)],i&&tQ[t$(s)],tX[t$(r)]):(0,b.cn)(t0[r],n&&"sm:max-xl:w-[21.5rem] sm:max-xl:flex-none sm:max-xl:shrink-0 sm:max-xl:self-stretch","sm:max-xl:h-full sm:max-xl:min-h-0")),horizontalProductCard:(0,b.cn)("bg-color-brand-surface-card-light max-w-fit",l&&(t?"mr-auto":"ml-auto"),l&&"xl:max-w-[56.545%]",!l&&"mt-6"),leftContent:"md:mr-auto",logos:(0,b.cn)("mb-8",l?"sm:mb-0":"sm:mb-auto"),rightContent:"sm:ml-auto",video:(0,b.cn)("overflow-hidden rounded-card-corner-radius-lg","sm:max-xl:h-full sm:max-xl:min-h-0",tW[s],tY[r],tq[r])}})({hasVideoProductCard:!!(null==p?void 0:p.name),isMediaImage:K,isMediaLeft:J,isMobile:ea,mediaRatio:d,mobileMediaRatio:m,isTabletAndBelow:er}),ed=Object.assign(Object.assign({},p),{className:en.horizontalProductCard,hidePin:!0,size:er?"small":"large",themeClass:"onLight",variant:null!=(C=null==p?void 0:p.variant)?C:"card"}),em={breakpointSizes:{sm:o,md:o,lg:o},className:en.logos,logos:i},eu=x&&Object.assign(Object.assign({},x),{onClick:e=>{null==u||u({title:document.title,event:e,cta:x})}}),ex=h&&Object.assign(Object.assign({},h),{onClick:e=>{null==u||u({title:document.title,event:e,cta:h})}}),ep={breakpointSizes:tZ,btnGroupClassName:(0,b.cn)(K&&"mt-6 xl:mt-8"),className:(0,b.cn)(K&&"xl:mt-1 [&_.prose-body-medium-sm]:sm:mb-0"),description:(0,tU.default)(l||""),eyebrow:t,heading:r,primaryCta:K?eu:void 0,secondaryCta:K?ex:void 0,stretchInlineButtons:!1},ef=({className:e})=>(0,a.jsxs)("div",{className:(0,b.cn)(en.content,e),children:[(0,a.jsx)(tr.LogoGroup,{...em,priority:ea}),(0,a.jsx)(ty.PromoCardHeader,{...ep}),!K&&(0,a.jsxs)(a.Fragment,{children:[(null==p?void 0:p.name)&&(0,a.jsx)(lm.HorizontalProductCard,{...ed,fallbackImage:eo}),(0,a.jsx)(lh.ButtonGroup,{className:en.buttonGroup,primaryCta:eu,secondaryCta:ex,size:"small",stretchInlineButtons:!1})]})]});return(0,a.jsx)("section",{className:(0,b.cn)(v||"bg-color-brand-surface-primary",g),id:s,children:(0,a.jsxs)("div",{className:(0,b.cn)(en.container,e),children:[!J&&!ea&&(0,a.jsx)(ef,{className:en.leftContent}),(0,a.jsx)("figure",{className:en.figure,children:(null==n?void 0:n.url)&&(K?(0,a.jsxs)(a.Fragment,{children:[et?(0,a.jsxs)(a.Fragment,{children:["video"===n.type?(0,a.jsx)(ts.VideoPlayer,{className:(0,b.cn)("hidden xl:block",en.video),coverImage:n.videoCoverImage,info:n.alt||"",pauseOnResize:!0,sourceUrl:null!=(N=n.url)?N:"",streamingUrl:n.streamingUrl,textCopies:f,title:n.alt||"",tooltipType:"thumbnail"}):(0,a.jsx)(ec.PolarisImage,{alt:n.alt||"",aspectRatio:es,className:"object-cover",fill:!0,focalPoint:null==n?void 0:n.focalPoint,mobileImage:(null==(_=n.mobileAsset)?void 0:_.type)!=="video"&&(null==(S=n.mobileAsset)?void 0:S.url)?{src:(null==(k=n.mobileAsset.sizes)?void 0:k.md)||n.mobileAsset.url,transformBaseUrl:n.mobileAsset.transformBaseUrl||(null==n?void 0:n.transformBaseUrl),focalPoint:n.mobileAsset.focalPoint||(null==n?void 0:n.focalPoint),aspectRatio:ei,sourceWidth:null!=(P=n.mobileAsset.width)?P:null==n?void 0:n.width,sourceHeight:null!=(I=n.mobileAsset.height)?I:null==n?void 0:n.height}:void 0,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("Basic1Up")),sourceHeight:null==n?void 0:n.height,sourceW
17idth:null==n?void 0:n.width,src:(null==(E=n.sizes)?void 0:E.md)||n.url,tabletImage:(null==(B=n.tabletAsset)?void 0:B.type)!=="video"&&(null==(L=n.tabletAsset)?void 0:L.url)?{src:(null==(T=n.tabletAsset.sizes)?void 0:T.md)||n.tabletAsset.url,transformBaseUrl:n.tabletAsset.transformBaseUrl||(null==n?void 0:n.transformBaseUrl),focalPoint:n.tabletAsset.focalPoint||(null==n?void 0:n.focalPoint),aspectRatio:ei,sourceWidth:null!=(z=n.tabletAsset.width)?z:null==n?void 0:n.width,sourceHeight:null!=(O=n.tabletAsset.height)?O:null==n?void 0:n.height}:void 0,transformBaseUrl:null==n?void 0:n.transformBaseUrl}),((null==(R=n.tabletAsset)?void 0:R.type)==="video"||(null==(M=n.mobileAsset)?void 0:M.type)==="video")&&(0,a.jsx)(eR.ResponsiveVideo,{"aria-hidden":"true",autoPlay:!0,className:(0,b.cn)("absolute inset-0 size-full object-cover xl:hidden",(null==(U=n.mobileAsset)?void 0:U.type)!=="video"&&"max-sm:hidden",(null==(D=n.tabletAsset)?void 0:D.type)!=="video"&&"sm:hidden"),loop:!0,mobilePoster:(0,tD.getNativeVideoPosterUrl)(n.mobileAsset),mobileSrc:(null==(G=n.mobileAsset)?void 0:G.type)==="video"?n.mobileAsset.url:void 0,muted:!0,playsInline:!0,preload:tD.HERO_NATIVE_VIDEO_PRELOAD,tabIndex:-1,tabletPoster:(0,tD.getNativeVideoPosterUrl)(n.tabletAsset),tabletSrc:(null==(F=n.tabletAsset)?void 0:F.type)==="video"?n.tabletAsset.url:void 0})]}):(0,a.jsx)(ec.PolarisImage,{alt:n.alt||"",aspectRatio:es,className:"object-cover",fill:!0,focalPoint:null==n?void 0:n.focalPoint,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("Basic1Up")),sourceHeight:null==n?void 0:n.height,sourceWidth:null==n?void 0:n.width,src:(null==(H=n.sizes)?void 0:H.md)||n.url,transformBaseUrl:null==n?void 0:n.transformBaseUrl}),(null==p?void 0:p.name)&&(0,a.jsx)(lm.HorizontalProductCard,{...ed,fallbackImage:eo})]}):(0,a.jsxs)(a.Fragment,{children:[el&&(0,a.jsx)(ts.VideoPlayer,{className:(0,b.cn)("sm:hidden",en.video),coverImage:(null==(V=n.mobileAsset)?void 0:V.videoCoverImage)||n.videoCoverImage,info:n.alt||"",pauseOnResize:!0,sourceUrl:null!=(q=null==(Q=n.mobileAsset)?void 0:Q.url)?q:"",streamingUrl:null==(W=n.mobileAsset)?void 0:W.streamingUrl,textCopies:f,title:n.alt||"",tooltipType:"thumbnail"}),ee&&(0,a.jsx)(ts.VideoPlayer,{className:(0,b.cn)("max-sm:hidden xl:hidden",en.video),coverImage:(null==(Y=n.tabletAsset)?void 0:Y.videoCoverImage)||n.videoCoverImage,info:n.alt||"",pauseOnResize:!0,sourceUrl:null!=($=null==(X=n.tabletAsset)?void 0:X.url)?$:"",streamingUrl:null==(Z=n.tabletAsset)?void 0:Z.streamingUrl,textCopies:f,title:n.alt||"",tooltipType:"thumbnail"}),(0,a.jsx)(ts.VideoPlayer,{className:(0,b.cn)(ee?el?"hidden xl:flex":"flex sm:hidden xl:flex":el?"hidden sm:flex":"",en.video),coverImage:n.videoCoverImage,info:n.alt||"",pauseOnResize:!0,sourceUrl:n.url,streamingUrl:n.streamingUrl,textCopies:f,title:n.alt||"",tooltipType:"thumbnail"})]}))}),(J||ea)&&(0,a.jsx)(ef,{className:en.rightContent})]})})};var t5=e.i(773867),t3=e.i(119051),t4=e.i(416625),t6=e.i(298420),t7=e.i(507780),t8=e.i(845085),t9=e.i(591453);let ae={sm:"small",md:"small",lg:"medium"},al={left:"top-right",right:"bottom-right"},at={left:"bottom-right",right:"bottom-left"};var aa=function(e,l){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>l.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)0>l.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(t[a[r]]=e[a[r]]);return t};let ar={left:{container:"bottom-0 left-0",logoGroup:"max-sm:left-2.5 top-2.5 sm:right-3 sm:top-3 xl:right-5 xl:top-5"},right:{container:"max-sm:top-0 sm:bottom-0 right-0",logoGroup:"max-sm:bottom-2.5 max-sm:left-2.5 sm:top-3 sm:left-3 xl:top-5 xl:left-5 z-10"}},as={card:e=>({buttons:"mt-4 xl:mt-6 [&_a]:max-xl:w-full [&_button]:max-xl:w-full",bodyText:"prose-body-medium-sm mt-2",container:(0,b.cn)("onLight absolute z-10 m-2 w-full overflow-hidden rounded-card-corner-radius-lg bg-color-brand-surface-primary px-3 py-4 text-color-brand-text-primary","w-[calc(100%-1rem)] sm:m-4 sm:w-3/5 sm:px-4 md:w-[49.574%]","xl:m-6 xl:w-[31.765%] xl:p-6",ar[e].
17container),eyebrow:"prose-eyebrow-bold-sm uppercase",headline:"prose-brand-3xs mt-3 xl:prose-brand-xs",horizontalProductCard:"mt-4 xl:mt-6",logoGroup:(0,b.cn)("absolute w-fit",ar[e].logoGroup)}),container:"bg-color-brand-surface-primary",containerInner:"container overflow-hidden text-color-brand-text-primary py-10 xl:py-16 xl:px-[9.75rem]",figure:"!block cursor-grab relative overflow-hidden aspect-[9/16] sm:aspect-[3/2] rounded-card-corner-radius-lg xl:aspect-video active:cursor-grabbing",media:"h-full object-cover",pagination:{arrows:"hidden xl:flex absolute right-0",bullet:"flex-none",bullets:"w-auto justify-center",container:"relative justify-center mt-6 xl:mt-[2.0625rem]"},slider:(0,b.cn)("mt-6 xl:mt-8 [&_.slick-list]:overflow-visible","[&_.slick-list]:overflow-visible","w-[calc(100%+0.75rem)] sm:w-[calc(100%+2rem)] xl:w-[calc(100%+9.75rem)]","[&_.slick-slide]:pr-3 [&_.slick-slide]:sm:pr-8 [&_.slick-slide]:xl:pr-[9.75rem]")},ai=({bodyText:e,className:l,eyebrow:t,headline:r,id:s,reviewsProvider:i,slides:o=[],themeClass:n,textCopies:c={},onClickNavArrows:d,optionalClasses:m})=>{let u=(0,g.useRef)(null),x=(0,g.useRef)(null),[p,h]=(0,g.useState)(0),[f,v]=(0,g.useState)(!1),y=(0,g.useRef)(!1),{isMounted:A,isTabletAndBelow:w}
17=(0,tG.useBreakpoint)(),{globalFallbackImage:j}=(0,lp.useGlobalElements)(),C=o.length,N=()=>{(0,t9.syncSlideTabIndex)(x.current)},_=e=>{y.current||(y.current=!0,e(),window.setTimeout(()=>{y.current=!1},400))};return(0,g.useEffect)(()=>{v(!0)},[]),(0,g.useEffect)(()=>{var e;f&&(null==(e=u.current)||e.slickGoTo(p))},[p,f]),(0,a.jsx)("div",{className:(0,b.cn)(m||as.container,n,l),id:s,ref:x,children:(0,a.jsxs)("div",{className:as.containerInner,children:[(0,a.jsx)(t_.SectionHeader,{breakpointSizes:ae,description:e,eyebrow:t,heading:r,leftAriaLabel:null==c?void 0:c.goToPrevSlide,rightAriaLabel:null==c?void 0:c.goToNextSlide}),f&&A&&(0,a.jsx)(t8.default,{accessibility:!0,afterChange:()=>{y.current=!1,N()},arrows:!1,beforeChange:(e,l)=>{h(l)},centerMode:!1,className:as.slider,infinite:!1,onInit:N,onReInit:N,ref:u,slidesToScroll:1,slidesToShow:1,speed:200,children:null==o?void 0:o.map((e,l)=>{var t,r,s,o,{cardPlacement:n,media:d,onClickCta:m}=e,u=aa(e,["cardPlacement","media","onClickCta"]);let x=u.primaryCta&&Object.assign(Object.assign({},u.primaryCta),{onClick:e=>{null==m||m({title:u.blockHeadline,event:e,cta:u.primaryCta})}}),h=u.secondaryCta&&Object.assign(Object.assign({},u.secondaryCta),{onClick:e=>{null==m||m({title:u.blockHeadline,event:e,cta:u.secondaryCta})}}),f=d.mobileAsset||d,g=d.tabletAsset||d;return(0,a.jsxs)("figure",{className:as.figure,inert:l!==p||void 0,children:[(null==d?void 0:d.url)&&(0,a.jsxs)(a.Fragment,{children:["video"===d.type?(0,a.jsx)(ts.VideoPlayer,{className:(0,b.cn)(as.media,"max-xl:!hidden"),controlsPlacement:at[n],hideMuteButton:!0,info:d.alt||"",sourceUrl:d.url,streamingUrl:d.streamingUrl,textCopies:c,title:d.alt||"",tooltipType:"thumbnail",useNativeControls:!1,variant:"autoplay"}):(0,a.jsx)(ec.PolarisImage,{alt:d.alt||"",className:as.media,fill:!0,focalPoint:null==d?void 0:d.focalPoint,mobileImage:"video"!==f.type&&(null==f?void 0:f.url)?{src:(null==(t=f.sizes)?void 0:t.lg)||f.url,transformBaseUrl:(null==f?void 0:f.transformBaseUrl)||(null==d?void 0:d.transformBaseUrl),focalPoint:(null==f?void 0:f.focalPoint)||(null==d?void 0:d.focalPoint)}:void 0,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("Carousel1Up")),src:(null==(r=d.sizes)?void 0:r.lg)||d.url,style:{objectFit:"cover"},tabletImage:"video"!==g.type&&(null==g?void 0:g.url)?{src:(null==(s=g.sizes)?void 0:s.lg)||g.url,transformBaseUrl:(null==g?void 0:g.transformBaseUrl)||(null==d?void 0:d.transformBaseUrl),focalPoint:(null==g?void 0:g.focalPoint)||(null==d?void 0:d.focalPoint)}:void 0,transformBaseUrl:null==d?void 0:d.transformBaseUrl}),"video"===g.type&&(0,a.jsx)(ts.VideoPlayer,{className:(0,b.cn)(as.media,"max-sm:!hidden xl:!hidden"),controlsPlacement:at[n],hideMuteButton:!0,info:g.alt||d.alt||"",sourceUrl:g.url,streamingUrl:g.streamingUrl,textCopies:c,title:g.alt||d.alt||"",tooltipType:"thumbnail",useNativeControls:!1,variant:"autoplay"}),"video"===f.type&&(0,a.jsx)(ts.VideoPlayer,{className:(0,b.cn)(as.media,"sm:!hidden"),controlsPlacement:al[n],hideMuteButton:!0,info:f.alt||d.alt||"",sourceUrl:f.url,streamingUrl:f.streamingUrl,textCopies:c,title:f.alt||d.alt||"",tooltipType:"thumbnail",useNativeControls:!1,variant:"autoplay"})]}),u.logos&&(0,a.jsx)(tr.LogoGroup,{breakpointSizes:{sm:u.logoSize,md:u.logoSize,lg:u.logoSize},className:as.card(n).logoGroup,logos:u.logos}),(0,a.jsxs)("article",{className:as.card(n).container,children:[u.blockEyebrow&&(0,a.jsx)("p",{className:as.card(n).eyebrow,children:u.blockEyebrow}),(0,a.jsx)("h3",{className:as.card(n).headline,children:u.blockHeadline}),u.blockBodyText&&(0,a.jsx)("p",{className:as.card(n).bodyText,children:u.blockBodyText}),(null==(o=u.horizontalProductCard)?void 0:o.name)&&(0,a.jsx)(lm.HorizontalProductCard,{...u.horizontalProductCard,className:as.card(n).horizontalProductCard,fallbackImage:j,hidePin:!0,reviewsProvider:i,size:w?"small":"medium"}),(u.primaryCta||u.secondaryCta)&&(0,a.jsx)(lh.ButtonGroup,{className:as.card(n).buttons,primaryCta:x,secondaryCta:h,size:"small"})]})]},l)})}),o&&o.length>1&&(0,a.jsx)(G.CarouselPagination,{arrowsClassName:as.pagination.arrows,bulletClassName:as.pagination.bullet,bulletsClassName:as.pagination.bullets,className:as.pagination.container,hasArrows:!0,leftAriaLabel:c.goToPreviousSlide,onClickNext:e=>{null==d||d({direction:"next",event:e}),_(()=>{var e;return null==(e=u.current)?void 0:e.slickNext()})},onClickPrev:e=>{null==d||d({direction:"prev",event:e}),_(()=>{var e;return null==(e=u.current)?void 0:e.slickPrev()})},page:p,rightAriaLabel:c.goToNextSlide,setPage:h,size:"large",textCopies:c,totalPages:C})]})})};var ao=e.i(337757),an=e.i(460256);let ac={container:"bg-color-brand-surface-primary container overflow-hidden py-10 text-color-brand-text-primary",header:"mb-6 sm:mb-10 xl:mb-8",slider:"[&_.slick-slide>div]:w-full [&_.slick-slide>div]:inline-flex [&_.slick-slide]:!inline-flex [&_.slick-track]:flex [&_.slick-track]:gap-x-px",slide:{inner:"grid-layout overflow-hidden w-full flex justify-center items-center",figure:(0,b.cn)("relative !block aspect-square xl:aspect-3/2","col-span-full sm:col-span-6 xl:col-span-7"),media:e=>(0,b.cn)("size-full object-cover",e&&"[&_video]:object-contain")},content:(0,b.cn)("flex flex-col gap-8 bg-color-brand-surface-primary p-4 text-color-brand-text-primary sm:h-full sm:justify-between sm:gap-0 sm:p-5 xl:p-8","col-span-full sm:col-span-6 xl:col-span-5"),quote:{content:"gap-4 flex flex-col xl:gap-5",icon:"shrink-0 w-[1.3125rem] h-[1.125rem] mb-2 xl:w-[2.25rem] xl:h-[1.9375rem] xl:mb-3",text:"line-clamp-5 prose-brand-2xs text-color-brand-text-primary !normal-case xl:prose-brand-sm"},attribution:{avatarFigure:"relative size-8 rounded-full overflow-hidden",avatarImage:"size-full object-cover",container:"flex items-center gap-2",copy:"flex flex-col flex-1 gap-[0.125rem]",fullName:"flex items-center gap-2 prose-label-semibold-sm",icon:"flex items-center gap-1 !text-[1rem] text-color-brand-icon-tertiary",secondLine:"flex items-center gap-1 prose-label-medium-xs text-color-brand-text-tertiary"},pagination:{arrows:"hidden xl:flex absolute right-0",bullets:"justify-center w-[23.875rem] gap-2 [&_button]:max-w-[4.075rem] [&_button]:sm:max-w-[8.375rem] [&_button]:xl:max-w-[4.375rem]",container:"relative justify-center mt-6 xl:mt-8 xl:h-10"}},ad=({icon:e,className:l})=>e?(0,a.jsx)(ao.Icon,{className:l,fontSize:"large",children:e.icon}):null;var am=e.i(354315),au=e.i(783743),ax=e.i(963159),ap=e.i(590331),ah=function(e,l){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>l.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)0>l.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(t[a[r]]=e[a[r]]);return t},af=e.i(511215),ag=e.i(328618);let ab={solid:{sm:"small",md:"small",lg:"small"},image:{sm:"small",md:"small",lg:"small"}},av=({card:e,index:l,onClick:t,fallbackImage:r,isSolidVariant:s,cardSize:i})=>{let{cardScroller:{styles:{cardStyles:o}={}}={}}=(0,lW.useBrandStyleContext)(),n=(0,b.cn)("[&_:where(h2,h3,p)]:line-clamp-2",o);switch(e.__typename){case"NodeProduct":return(0,a.jsx)(lf.ProductCard,{...e,className:(0,b.cn)("size-full bg-color-brand-surface-card-light",s&&"mx-auto xl:w-[27rem] xl:max-w-[unset]",!s&&"sm:max-w-[unset] xl:w-[19.75rem]",n),fallbackImage:r,onClick:()=>{var l;null==(l=null==t?void 0:t.cardClick)||l.call(t,{clickText:e.name||""})},size:i,themeClass:s?void 0:"onLight",variant:"featured"});case"NodeListingPage":return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(ag.ProductCategoryCard,{...e,breakpointSizes:{sm:"small",md:"small",lg:"small"},className:(0,b.cn)(n,"h-full w-full items-stretch xl:min-h-[20.5rem]",s&&"max-xl:[&_[aria-hidden=true]]:-mx-4 max-xl:[&_[aria-hidden=true]]:px-8 sm:max-xl:[&_[aria-hidden=true]]:px-10 max-xl:[&_[aria-hidden=true]_figure]:mx-auto max-xl:[&_[aria-hidden=true]_figure]:w-full max-xl:[&_[aria-hidden=true]_figure]:max-w-[20.625rem] max-xl:[&_[aria-hidden=true]_figure_img]:object-contain",s&&"mx-auto max-w-[27rem]"),fallbackImage:r,onClick:()=>{var l,a;null==(l=null==t?void 0:t.productCategorySelection)||l.call(t,{clickText:(null==(a=e.headline)?void 0:a.trim())||""})},onClickCta:()=>{var l,a;
17return null==(l=null==t?void 0:t.productCategoryCtaClick)?void 0:l.call(t,{title:e.headline||"",clickText:(null==(a=e.cta)?void 0:a.text)||""})}},l)});default:return null}};var ay=e.i(341611),aA=e.i(175840);let aw=(0,e.i(54991).default)(()=>e.A(471777).then(e=>e.PathingCardScroller),{loadableGenerated:{modules:[85163]}}),aj=(0,b.cn)("container flex flex-col gap-y-8 px-0 py-10 sm:gap-y-0"),aC=(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("Masonry")),aN=({textPosition:e,cardBodyText:l,cardHeadline:t,cardCta:r,onClickCta:i})=>(0,a.jsx)("div",{className:(0,b.cn)("flex w-full flex-col gap-y-4 sm:justify-center","left"===e&&"xl:items-end"),children:(0,a.jsxs)("div",{className:(0,b.cn)("flex flex-col xl:w-[27rem]","bottom"===e&&"sm:w-[19.5rem] xl:w-full xl:pr-8"),children:[(0,a.jsx)("h2",{className:"prose-brand-3xs uppercase text-color-brand-text-primary sm:prose-brand-3xs xl:prose-brand-sm",children:(0,eM.truncateString)(t,47,!0)}),l&&(0,a.jsx)("p",{className:"prose-body-medium-sm mt-2 line-clamp-3 text-color-brand-text-secondary",children:l}),r&&(0,a.jsx)(U.Button,{RightIcon:s.default,className:"mt-4 w-fit sm:prose-label-semibold-xs xl:prose-label-semibold-sm xl:mt-6",link:r,onClick:i?()=>i({headline:t,ctaText:r.text}):void 0,variant:"link",children:r.text})]})}),a_=({className:e,imageAspectRatio:l="1:1",textPosition:t="right",cardHeadline:r,cardBodyText:s,visualAsset:i,cardCta:o,onClickCta:n})=>{var c;let{isTablet:d,isMobile:m,isDesktop:u}
17=(0,tG.useBreakpoint)(),{editorialMasonryPackage:{booleans:{hasBorder:x}={}}={}}=(0,lW.useBrandStyleContext)();return(0,a.jsxs)("div",{className:(0,b.cn)("flex flex-col gap-y-4 sm:flex-row sm:gap-x-[3.125rem] xl:gap-x-[5.375rem]","bottom"===t&&"sm:flex-col",e),children:["left"===t&&(d||u)&&(0,a.jsx)(aN,{cardBodyText:s,cardCta:o,cardHeadline:r,onClickCta:n,textPosition:t}),(0,a.jsx)("figure",{className:(0,b.cn)("relative w-full sm:w-[88.75%]","bottom"===t&&"sm:w-full","1:1"===l&&"aspect-square","3:4"===l&&"aspect-3/4","4:3"===l&&"aspect-4/3"),children:(0,a.jsx)(ec.PolarisImage,{alt:null!=(c=i.alt)?c:"",className:(0,b.cn)("object-cover",x&&"rounded-lg sm:rounded-xl"),fill:!0,focalPoint:null==i?void 0:i.focalPoint,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:aC,src:i.url,transformBaseUrl:null==i?void 0:i.transformBaseUrl})}),("right"===t||"bottom"===t||m)&&(0,a.jsx)(aN,{cardBodyText:s,cardCta:o,cardHeadline:r,onClickCta:n,textPosition:t})]})},aS=({headline:e,className:l})=>(0,a.jsx)("h2",{className:(0,b.cn)("prose-brand-sm text-center text-color-brand-text-primary sm:prose-brand-md xl:prose-brand-2xl max-sm:px-4 xl:mx-auto xl:max-w-[70.5rem]",l),children:e}),ak=({className:e,id:l,headline:t,logoGroup:r,masonryCards:s,onClickCta:i})=>{var o;return(0,a.jsxs)("div",{className:(0,b.cn)(aj,e),id:l,children:[(0,a.jsxs)("div",{className:"flex flex-col gap-y-4 xl:gap-y-6",children:[r&&(0,a.jsx)(tr.LogoGroup,{breakpointSizes:r.breakpointSizes,className:"mx-auto flex gap-x-1 [&>div]:w-9 sm:[&>div]:w-12 xl:[&>div]:w-[3.75rem]",logos:null!=(o=null==r?void 0:r.logos)?o:[]}),(0,a.jsx)(aS,{className:"max-xl:px-8",headline:t})]}),(0,a.jsx)("div",{className:"flex flex-col gap-y-8 sm:gap-y-0 xl:-space-y-10",children:null==s?void 0:s.map((e,l)=>(0,a.jsx)(a_,{className:(0,b.cn)("px-4",0===l&&"mr-[3.875rem] sm:mr-0 sm:mt-8 sm:pl-[3.125rem] sm:pr-16 xl:mt-10 xl:pl-[5.375rem] xl:[&>figure]:w-[83.536%]",1===l&&"ml-[3.875rem] sm:ml-0 sm:pl-16 sm:pr-[3.125rem] xl:pr-[5.375rem] xl:[&>figure]:w-[83.536%]",2===l&&"mr-[3.875rem] sm:mr-0 sm:pl-[3.125rem] sm:pr-16 xl:w-[81.792%] xl:px-[5.375rem]"),imageAspectRatio:0===l?"1:1":1===l?"3:4":"4:3",onClickCta:i,textPosition:0===l?"right":1===l?"left"
17:"right",...e},l))})]})},aP=({themeClass:e,children:l})=>(0,a.jsx)("div",{className:(0,b.cn)("bg-color-brand-surface-primary",e),children:l}),aI=({className:e})=>(0,a.jsx)("svg",{className:e,fill:"none",height:"161",viewBox:"0 0 160 161",width:"160",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M160 160.379L160 0.378906L-6.99382e-06 160.379L160 160.379Z",fill:"currentColor"})}),aE=({className:e})=>(0,a.jsx)("svg",{className:e,fill:"none",height:"81",viewBox:"0 0 80 81",width:"80",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{clipRule:"evenodd",d:"M61.5399 62.3465V19.2695H18.463L61.5399 62.3465Z",fill:"currentColor",fillRule:"evenodd"})}),aB=({assetPosition:e="top",featured1UpBrandStyles:l,className:t,logos:r,logoSize:s})=>{let{logoGroupStyles:i}=(null==l?void 0:l.styles)||{};return r&&(0,a.jsx)(tr.LogoGroup,{breakpointSizes:{sm:s,md:s,lg:s},className:(0,b.cn)("absolute col-span-full","top"===e&&"left-4 top-4 sm:left-8 sm:top-8 xl:left-10 xl:top-10","down"===e&&"bottom-[1.015625rem] right-4 sm:bottom-[2.055rem] sm:right-8 xl:bottom-[2.46875rem] xl:right-10",null==i?void 0:i[e],t),logos:r.map(e=>({image:e}))})},aL=({assetPosition:e="top",featured1UpBrandStyles:l,className:t,textCopies:r={},videoRef:s,hasSecondaryAsset:i})=>{let{videoControlStyles:o}=(null==l?void 0:l.styles)||{},[n,c]=(0,g.useState)(!0);return(0,a.jsx)("div",{className:(0,b.cn)("onLight absolute","top"===e&&"right-[0.625rem] top-[0.625rem] sm:right-5 sm:top-5 xl:right-[1.875rem] xl:top-[1.875rem]","down"===e&&"bottom-[0.64875rem] left-[0.625rem] sm:bottom-5 sm:left-5",!i&&(null==o?void 0:o[e]),t),children:(0,a.jsx)(li.VideoButton,{onClick:()=>{c(e=>{var l,t;return e?null==(t=s.current)||t.pause():null==(l=s.current)||l.play(),!e})},size:"small",textCopies:r,variant:n?"pause":"play"})})},aT=({assetPosition:e="top",themeClass:l,featured1UpBrandStyles:t,asset:r,className:s,childrenTheme:i,logos:o,logoSize:n,textCopies:c={}})=>{var d,m,u,x,p,h,f,v;let{styles:{backgroundContainerStyles:y,backgroundStyles:A,backgroundImageStyles:w,craftsmanShapeStyles:j,videoStyles:C,stanleyShapeStyles:N}={},booleans:{showCraftsmanShape:_,showStanleyShape:S}={}}=t||{},k=(0,g.useRef)(null),P=!!r.secondary;return(0,a.jsxs)("div",{className:(0,b.cn)(l,"relative",!P&&"z-0",{"mt-10 sm:flex-row sm:gap-x-4 sm:mt-0 xl:gap-x-8 col-span-full sm:grid sm:grid-cols-12 sm:items-stretch":P,"sm:mt-10":P&&"down"===e,"sm:mb-10":P&&"top"===e},s),children:[(0,a.jsxs)("div",{className:(0,b.cn)("col-span-7 flex-1 sm:flex sm:flex-col",!P&&(null==y?void 0:y[e])),children:[r.secondary&&(0,a.jsx)(aB,{assetPosition:e,className:(0,b.cn)("hidden [position:unset] sm:flex","down"===e&&"sm:hidden"),featured1UpBrandStyles:t,logoSize:n,logos:o}),"image"===r.primary.type&&(0,a.jsx)("figure",{className:(0,b.cn)("relative",!r.secondary&&A,r.secondary&&"w-full sm:mt-[1.546875rem] sm:flex-1 sm:bg-transparent xl:mt-[3.234375rem] xl:w-full","down"===e&&"sm:mt-0 xl:mt-0","aspect-video max-h-[75vh] w-full",P&&"xl:!aspect-auto xl:!max-h-none"),children:(0,a.jsx)(ec.PolarisImage,{alt:null!=(d=r.primary.alt)?d:"",aspectRatio:(0,an.getImageAspectRatioForComponent)("Featured1Up"),className:(0,b.cn)("size-full object-cover",r.secondary&&w),fetchPriority:"high",fill:!0,focalPoint:null==(m=r.primary)?void 0:m.focalPoint,priority:!0,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)(r.secondary?"Featured1UpWith2Assets":"Featured1Up")),src:P&&(null==(u=r.primary.sizes)?void 0:u.md)||r.primary.url,transformBaseUrl:null==(x=r.primary)?void 0:x.transformBaseUrl})}),"video"===r.primary.type&&(0,a.jsx)(a.Fragment,{children:P?(0,a.jsx)("figure",{className:(0,b.cn)("relative flex min-h-0 w-full flex-col",r.secondary&&"sm:mt-[1.546875rem] sm:flex-1 sm:bg-transparent xl:mt-[3.234375rem] xl:w-full","down"===e&&"sm:mt-0 xl:mt-0","aspect-video max-h-[75vh] xl:!aspect-auto xl:!max-h-none"),children:(0,a.jsx)("div",{className:"relative flex min-h-0 w-full flex-1 items-center justify-center",children:(0,a.jsxs)("div",{className:(0,b.cn)("relative aspect-video max-h-full w-full max-w-full",r.secondary&&w),children:[(0,a.jsx)("video",{"aria-hidden":"true",autoPlay:!0,className:"size-full object-contain",loop:!0,muted:!0,playsInl
17ine:!0,poster:(0,tD.getNativeVideoPosterUrl)(r.primary),preload:tD.HERO_NATIVE_VIDEO_PRELOAD,ref:k,src:r.primary.url,tabIndex:-1}),(0,a.jsx)(aL,{assetPosition:e,className:(0,b.cn)("bottom-[0.633125rem] left-[unset] right-[0.625rem] top-[unset] sm:left-[unset]","sm:bottom-[0.625rem] sm:right-[0.625rem] sm:top-[unset] xl:bottom-5 xl:right-5 xl:top-[unset]"),featured1UpBrandStyles:t,hasSecondaryAsset:!0,textCopies:c,videoRef:k})]})})}):(0,a.jsx)("div",{className:(0,b.cn)("relative flex",A),children:(0,a.jsx)("video",{"aria-hidden":"true",autoPlay:!0,className:(0,b.cn)("aspect-video max-h-[75vh] w-full object-cover",C),loop:!0,muted:!0,playsInline:!0,poster:(0,tD.getNativeVideoPosterUrl)(r.primary),preload:tD.HERO_NATIVE_VIDEO_PRELOAD,ref:k,src:r.primary.url,tabIndex:-1})})}),r.secondary&&(0,a.jsx)(aB,{assetPosition:e,className:(0,b.cn)("hidden [position:unset] sm:flex","down"===e&&"sm:mt-[1.554375rem] sm:flex xl:mt-[3.265625rem]","top"===e&&"sm:hidden"),featured1UpBrandStyles:t,logoSize:n,logos:o})]}),r.secondary&&(0,a.jsxs)("figure",{className:(0,b.cn)(!r.secondary&&A,"relative col-span-5 mt-5 aspect-square w-full sm:mt-0 sm:h-full sm:shrink-0 sm:bg-transparent"),children:[r.secondary.url&&(0,a.jsx)(ec.PolarisImage,{alt:null!=(p=r.secondary.alt)?p:"",aspectRatio:(0,an.getImageAspectRatioForComponent)("Featured1Up"),className:(0,b.cn)("!relative size-full object-cover",r.secondary&&w),fill:!0,focalPoint:null==(h=r.secondary)?void 0:h.focalPoint,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("Featured1UpWith2Assets")),src:P&&(null==(f=r.secondary.sizes)?void 0:f.md)||r.secondary.url,transformBaseUrl:null==(v=r.secondary)?void 0:v.transformBaseUrl}),S&&(0,a.jsx)(aE,{className:N}),_&&(0,a.jsx)(aI,{className:(0,b.cn)(i,j)})]}),!r.secondary&&(0,a.jsx)(aB,{assetPosition:e,featured1UpBrandStyles:t,logoSize:n,logos:o}),"video"===r.primary.type&&!r.secondary&&(0,a.jsx)(aL,{assetPosition:e,featured1UpBrandStyles:t,textCopies:c,videoRef:k})]})};var az=e.i(669191);let aO={bottom:"[clip-path:polygon(0_0,calc(100%-var(--chamfer))_0,100%_var(--chamfer),100%_100%,0_100%)]",top:"[clip-path:polygon(0_0,100%_0,100%_calc(100%-var(--chamfer)),calc(100%-var(--chamfer))_100%,0_100%)]"},aR=({className:e})=>(0,a.jsx)("svg",{className:e,fill:"none",height:"101",viewBox:"0 0 100 101",width:"100",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{clipRule:"evenodd",d:"M76.9249 77.7593V23.9131H23.0787L76.9249 77.7593Z",fill:"currentColor",fillRule:"evenodd"})}),aM={small:"small",medium:"medium",large:"medium"},aU={small:"medium",medium:"medium",large:"large"},aD=({eyebrow:e,headline:l,bodyText:t,primaryCta:r,secondaryCta:s,image:i,fallbackImage:o,logos:n,breakpointSizes:c,alignment:d,className:m,onClickCta:u})=>{var x;let p=(({sm:e,md:l,lg:t},a="bottom")=>{let r={root:{sm:{small:"px-3 py-4 min-h-[28rem]",medium:"px-3 py-4 min-h-[30.4375rem]",large:"p-4"},md:{small:"md:px-3 md:py-4 md:min-h-[26.375rem]",medium:"md:p-5 md:min-h-[35.375rem]",large:"md:p-8"},lg:{small:"lg:p-6 lg:min-h-[36rem]",medium:"lg:p-8 lg:min-h-[45.625rem]",large:"lg:p-10 lg:min-h-[37.5rem]"}},imageTop:{sm:{small:"aspect-4/3",medium:"aspect-4/3",large:"aspect-4/3"},md:{small:"md:aspect-square",medium:"md:aspect-square",large:"md:aspect-4/3"},lg:{small:"lg:aspect-auto lg:inset-0",medium:"lg:aspect-auto lg:inset-0",large:"lg:aspect-auto lg:inset-0"}},imageTopOverlay:{sm:{small:"h-[64%]",medium:"h-[64%]",large:"h-[64%]"},md:{small:"md:h-[64%]",medium:"md:h-[64%]",large:"md:h-[67%]"},lg:{small:(0,b.cn)("bottom"===a?"lg:h-full lg:!bg-[linear-gradient(191deg,_rgba(0,_0,_0,_0.00)_23.71%,_rgba(0,_0,_0,_0.86)_94.86%)]":"lg:h-full lg:!bg-[linear-gradient(341deg,_rgba(0,_0,_0,_0.00)_26.87%,_rgba(0,_0,_0,_0.86)_94.05%)]"),medium:(0,b.cn)("bottom"===a?"lg:h-full lg:!bg-[linear-gradient(191deg,_rgba(0,_0,_0,_0.00)_23.71%,_rgba(0,_0,_0,_0.86)_94.86%)]":"lg:h-full lg:!bg-[linear-gradient(341deg,_rgba(0,_0,_0,_0.00)_26.87%,_rgba(0,_0,_0,_0.86)_94.05%)]"),large:(0,b.cn)("bottom"===a?"lg:h-full lg:!bg-[linear-gradient(191deg,_rgba(0,_0,_0,_0.00)_23.71%,_rgba(0,_0,_0,_0.86)_94.86%)]":"lg:h-full lg:!bg-[linear-gradient(341deg,_rgba(0,_0,_0,_0.00)_26.87%,_rgba(0,_0,_0,_0.86)_94.05%)]")}},btnGroup:{sm:{small:"flex-col items-start",medium:"flex-col items-start",large:"justify-start"},md:{small:"md:flex-col md:items-start",medium:"md:flex-col md:items-start",large:"md:justify-start md:flex-row"},lg:{small:"lg:flex-row",medium:"lg:flex-row",large:"lg:flex-row"}},barTop:{sm:{small:"mb-4 h-2 -mt-1",medium:"mb-4 h-2 -mt-1",large:"mb-4 h-2 -mt-1"},md:{small:"md:mb-4 md:h-2 md:-mt-1",medium:"md:mb-4 md:h-2 md:-mt-1",large:(0,b.cn)("bottom"===a?"md:-mt-1.5 md:mb-[1.625rem] md:h-3":"md:mb-5 md:mt-0 md:h-3")},lg:{small:"lg:mb-5 lg:h-3 lg:mt-0",medium:"lg:mb-7 lg:h-3 lg:mt-0",large:"lg:mb-7 lg:h-3 lg:mt-0"}}
17,barBottom:{sm:{small:"mt-4 h-2 -mb-1",medium:"mt-4 h-2 -mb-1",large:"mt-4 h-2 -mb-1"},md:{small:"md:mt-4 md:h-2 md:-mb-1",medium:"md:mt-4 md:h-2 md:-mb-1",large:(0,b.cn)("top"===a?"md:-mb-1.5 md:mt-[1.625rem] md:h-3":"md:mb-0 md:mt-5 md:h-3")},lg:{small:"lg:mt-5 lg:h-3 lg:mb-0",medium:"lg:mt-7 lg:h-3 lg:mb-0",large:"lg:mt-7 lg:h-3 lg:mb-0"}},stanleyShape:{sm:{small:"size-[3.125rem]",medium:"size-[4.375rem]",large:"size-[3.125rem]"},md:{small:"md:size-[3.125rem]",medium:"md:size-[4.375rem]",large:"md:size-[7.5rem]"},lg:{small:"lg:size-[6.5rem]",medium:"lg:size-[6.5rem]",large:"lg:size-[6.5rem]"}},craftsmanChamfer:{sm:{small:"[--chamfer:3.125rem]",medium:"[--chamfer:4.375rem]",large:"[--chamfer:4.375rem]"},md:{small:"md:[--chamfer:3.125rem]",medium:"md:[--chamfer:4.375rem]",large:"md:[--chamfer:9.375rem]"},lg:{small:"lg:[--chamfer:5rem]",medium:"lg:[--chamfer:6.25rem]",large:"lg:[--chamfer:9.375rem]"}}};return{root:(0,b.cn)("relative flex flex-1 cursor-default flex-col bg-color-brand-surface-primary",r.root.sm[e],r.root.md[l],r.root.lg[t]),imageTop:(0,b.cn)("absolute top-0 h-auto w-full",r.imageTop.sm[e],r.imageTop.md[l],r.imageTop.lg[t]),imageTopOverlay:(0,b.cn)("to-color-brand-surface-primary/0 absolute bottom-0 w-full bg-gradient-to-t from-color-brand-surface-primary",r.imageTopOverlay.sm[e],r.imageTopOverlay.md[l],r.imageTopOverlay.lg[t]),btnGroup:(0,b.cn)(r.btnGroup.sm[e],r.btnGroup.md[l],r.btnGroup.lg[t]),barTop:(0,b.cn)("onLight relative block w-full bg-color-brand-border-accent",r.barTop.sm[e],r.barTop.md[l],r.barTop.lg[t]),barBottom:(0,b.cn)("onLight relative block w-full bg-color-brand-border-accent",r.barBottom.sm[e],r.barBottom.md[l],r.barBottom.lg[t]),stanleyShape:(0,b.cn)("onLight absolute right-0 text-color-brand-surface-accent","bottom"===a?"top-0":"bottom-0 rotate-90",r.stanleyShape.sm[e],r.stanleyShape.md[l],r.stanleyShape.lg[t]),craftsmanClip:(0,b.cn)(aO[a],r.craftsmanChamfer.sm[e],r.craftsmanChamfer.md[l],r.craftsmanChamfer.lg[t])}})(c,d),{featuredCampaignCardBrandStyles:h}=(0,lW.useBrandStyleContext)(),{showDewaltBars:f,showStanleyShape:g,showCraftsmanShape:v}=h.booleans,{mainContainerStyles:y}=h.styles||{},A=e=>{if(e)return Object.assign(Object.assign({},e),{onClick:l=>{var t;null==(t=e.onClick)||t.call(e,l),null==u||u({clickText:e.text})}})};return(0,a.jsxs)("div",{className:(0,b.cn)(p.root,"onDark overflow-hidden rounded-card-corner-radius-lg",y,v&&p.craftsmanClip,`breakpoint-sizes-${c.sm}-${c.md}-${c.lg}`,m),children:[(0,a.jsx)("div",{className:"absolute inset-0",children:(0,a.jsxs)("div",{className:p.imageTop,children:[(0,a.jsx)(ec.PolarisImage,{alt:i.alt||(null==o?void 0:o.alt)||"",aspectRatio:(0,an.getImageAspectRatioForComponent)("CampaignPromoCard"),className:"object-cover",fill:!0,focalPoint:null==i?void 0:i.focalPoint,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("CampaignPromoCard")),src:(null==(x=i.sizes)?void 0:x.lg)||i.url||(null==o?void 0:o.url)||"",transformBaseUrl:null==i?void 0:i.transformBaseUrl}),(0,a.jsx)("div",{className:p.imageTopOverlay})]})}),f&&(0,a.jsx)("div",{className:p.barTop}),g&&(0,a.jsx)(aR,{className:p.stanleyShape}),(0,a.jsxs)("div",{className:"onDark relative flex size-full flex-1 flex-col justify-between",children:["bottom"===d&&(0,a.jsx)("div",{children:n&&(0,a.jsx)(tr.LogoGroup,{breakpointSizes:{sm:"small",md:aM[c.md],lg:aU[c.lg]},logos:n})}),(0,a.jsx)(ty.PromoCardHeader,{breakpointSizes:c,btnGroupClassName:p.btnGroup,className:"relative",description:t,eyebrow:e,heading:l,primaryCta:A(r),secondaryCta:A(s)}),"top"===d&&(0,a.jsx)("div",{children:n&&(0,a.jsx)(tr.LogoGroup,{breakpointSizes:{sm:"small",md:aM[c.md],lg:aU[c.lg]},logos:n})})]}),f&&(0,a.jsx)("div",{className:p.barBottom})]})},aG={campaign:{sm:{is2up:"large",is3up:"large",is5up:"large"},md:{is2up:"medium",is3up:"large",is5up:"large"},lg:{is2up:"large",is3up:"medium",is5up:"medium"}}},aF=({card:e,fallbackImage:l,is2Up:t,is3Up:r,is5Up:s,className:i,themeClass:o,onClickCta:n,handleCampaignCardOnClick:c})=>{if("NodeCampaign"===e.__typename){var d,m,u,x;let p;return(0,a.jsx)(aD,{...e,alignment:"bottom",bodyText:"string"==typeof e.bodyText?e.bodyText:void 0,breakpointSizes:(d="campaign",p=t?"is2up":r?"is3up":s?"is5up":"is2up",{sm:(null==(m=aG[d])?void 0:m.sm[p])||"large",md:(null==(u=aG[d])?void 0:u.md[p])||"large",lg:(null==(x=aG[d])?void 0:x.lg[p])||"large"}),className:(0,b.cn)(i,t&&"h-[29.9375rem] sm:h-[33.375rem] xl:h-[45.8125rem]",(r||s)&&"h-[29.9375rem] sm:h-[44rem] xl:h-[37.875rem] xl:min-h-[unset]",s&&"xl
17:h-[47.5rem]"),fallbackImage:l,onClickCta:({clickText:l})=>{null==c||c({title:e.headline,ctaText:l}),null==n||n({cardTitle:e.headline,ctaText:l,cardType:"campaign"})},themeClass:o})}},aH=({card:e,fallbackImage:l,className:t,onClickCta:r})=>"NodeProduct"===e.__typename?(0,a.jsx)(lf.ProductCard,{...e,className:(0,b.cn)(t,"[&_:where(h2,h3,p)]:line-clamp-2"),fallbackImage:l,onClick:()=>{var l,t,a;return null==r?void 0:r({cardTitle:null!=(l=e.name)?l:"",ctaText:null!=(a=null==(t=e.cta)?void 0:t.text)?a:"",cardType:"product"})},size:"small",technicalDetailsShown:!1,variant:"featured"}):void 0;var aV=e.i(316542),aQ=e.i(759221),aq=e.i(172123),aW=e.i(210588),aY=e.i(817863);let aX="modal-root";var a$=e.i(351206),aZ=e.i(519107),aK=e.i(942290),aJ=e.i(879178),a0=e.i(412644),a1=function(e,l){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>l.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)0>l.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(t[a[r]]=e[a[r]]);return t};let a2="inline";var a5=function(e,l){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>l.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)0>l.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(t[a[r]]=e[a[r]]);return t};let a3={accordion:"w-full",content:(0,b.cn)("prose-body-medium-sm xl:prose-body-medium-md","p-0 pb-10 prose-ol:list-decimal prose-ol:pl-5 prose-ul:list-disc prose-ul:pl-5","[&_::marker]:text-color-brand-text-secondary","[&_ul_li::marker]:[content:unset]","[&_p_a]:underline"),icon:"mr-1 xl:mr-2 !h-6 !w-6 sm:!h-[1.625rem] sm:!w-[1.625rem] xl:!h-7 xl:!w-7",item:"border-t border-t-color-brand-border-primary",more:"mt-8 mx-auto",trigger:"text-color-brand-text-primary prose-brand-3xs py-4 xl:prose-brand-xs sm:py-5 xl:py-6 text-left"},a4=g.memo(({bodyText:e,eyebrow:t,headline:r,Icon:s,id:i,items:o,onClickCta:n,onClickHeading:c,onClickTextLink:d,onClickViewAll:m,themeClass:u,viewLessText:x,viewMoreText:p,enableCards:h=!1,textCopies:f})=>{var v;let[y,A]=g.useState(!1),w=r||e||t||"",j=e=>{var l,t;let a=null==(t=null==(l=e.target.closest("a"))?void 0:l.textContent)?void 0:t.trim();d&&a&&d({title:w,ctaText:a})},C=((null==r?void 0:r.trim())&&i?`${r.trim()} (${i})`:null==r?void 0:r.trim())||(null==i?void 0:i.trim())||(null==(v=null==f?void 0:f.landmarkLabel)?void 0:v.trim())||void 0;return(0,a.jsx)("section",{"aria-label":C,className:(0,b.cn)(u,"w-full bg-color-brand-surface-primary"),id:i,children:(0,a.jsxs)("div",{className:(0,b.cn)("container py-10 xl:py-14"),children:[(t||r||e)&&(0,a.jsx)("div",{className:"mb-6 xl:mb-10",children:(0,a.jsx)(t_.SectionHeader,{breakpointSizes:{sm:"small",md:"small",lg:"small"},description:e,eyebrow:t,heading:r,leftAriaLabel:null==f?void 0:f.goToPrevSlide,rightAriaLabel:null==f?void 0:f.goToNextSlide,variant:"default"})}),(0,a.jsxs)(l.Accordion,{className:(0,b.cn)(a3.accordion,u),type:"multiple",children:[null==o?void 0:o.slice(0,y?o.length:5).map(e=>{var{trigger:t,value:r,card:i,image:o,ctas:d}=e,m=a5(e,["trigger","value","card","image","ctas"]);let x=(null!=d?d:[]).map(e=>Object.assign(Object.assign({},e),{onClick:l=>{null==l||l.stopPropagation(),n&&n({title:w,ctaText:e.text})}}));return(0,a.jsxs)(l.AccordionItem,{className:a3.item,value:r,children:[(0,a.jsxs)(l.AccordionTrigger,{className:a3.trigger,onTrigger:({isOpen:e})=>null==c?void 0:c({clickText:t,state:e?"open":"close"}),children:[s&&(0,a.jsx)(s,{"aria-hidden":!0,className:a3.icon}),t]}),(0,a.jsx)(l.AccordionContent,{className:a3.content,onClick:j,children:(0,a.jsx)(lv,{themeClass:u,...m,asset:o,cards:i?[i]:[],ctas:x,showCards:h})})]},r)}),(null==o?void 0:o.length)>5&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("hr",{"aria-hidden":"true",className:"border-color-brand-border-primary"}),(0,a.jsx)(U.Button,{LeftIcon:y?ax.default:X.default,className:a3.more,onClick:()=>{A(e=>!e),m&&w&&m({clickText:w})},size:"responsive",variant:"outline",children:y?x:p})]})]})]})})});a4.displayName="FullWidthAccordion";var a6=e.i(410799),a7=e.i(770758);let a8={accordion:"text-color-brand-text-secondary w-full xl:mt-10",container:"container bg-color-brand-surface-primary w-full sm:flex sm:gap-8",content:(0,b.cn)("flex flex-col gap-5 sm:gap-4","prose-body-medium-sm xl:prose-body-medium-md","prose-ol:list-decimal prose-ol:pl-5 prose-ul:list-disc prose-ul:pl-5","[&_::marker]:text-color-brand-text-secondary","[&_p_a]:underline"),icon:"mr-1 xl:mr-2 !h-6 !w-6 sm:!h-[1.625rem] sm:!w-[1.625rem] xl:!h-7 xl:!w-7",item:"border-t border-t-color-brand-border-primary",product:e=>e?"sm:w-1/2 hidden sm:block":"sm:hidden",trigger:"text-color-brand-text-primary prose-brand-3xs py-4 sm:prose-brand-2xs sm:py-5  xl:py-6",wrapper:"pb-6 sm:pb-8 flex flex-col sm:flex-row sm:gap-x-8"},a9=g.memo(({Icon:e,items:t,themeClass:r})=>(0,a.jsx)("div",{className:(0,b.cn)(a8.container,r),children:(0,a.jsx)(l.Accordion,{className:a8.accordion,collapsible:!0,defaultValue:t[0].value,type:"single",children:t.map(({ctas:t,content:r,trigger:s,value:i,card:o})=>(0,a.jsxs)(l.AccordionItem,{className:a8.item,value:i,children:[(0,a.jsxs)(l.AccordionTrigger,{className:a8.trigger,children:[e&&(0,a.jsx)(e,{"aria-hidden":!0,
17className:a8.icon}),s]}),(0,a.jsxs)(l.AccordionContent,{className:a8.wrapper,children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("div",{className:a8.content,children:r}),(null==t?void 0:t.length)>0&&(0,a.jsx)(lh.ButtonGroup,{className:"mt-6",primaryCta:t[0],secondaryCta:t[1],size:"small"})]}),o&&(0,a.jsx)(lu,{...o,className:"mt-10 flex aspect-3/4 size-full flex-1 justify-center sm:mt-0 [&_figure]:mt-0 [&_figure]:h-full"})]})]},i))})}));a9.displayName="HalfWidthAccordion";var re=e.i(49484);let rl=({className:e})=>(0,a.jsx)("svg",{className:e,height:"11",viewBox:"0 0 10.5 10.5",width:"11",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M10.5 0C10.5 4.93808 4.93808 10.9414 0 10.9414H10.5V0Z"})}),rt=({className:e})=>(0,a.jsx)("svg",{className:e,height:"70",viewBox:"0 0 74 70",width:"74",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M8.85 64.99C6.43 67.42 3.48 69.81 0 70.39H77.12V0C74.89 0 74.05 0.46 72.36 1.27C69.49 2.63 66.54 5.91 65.17 7.28C44.23 28.52 30.66 42.89 8.85 64.99Z"})}),ra=({className:e})=>(0,a.jsx)("svg",{className:e,fill:"none",height:"120",viewBox:"0 0 120 120",width:"120",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M8.39233e-05 120.002L8.91687e-05 0.00194788L120 0.00195312C115.505 0.00195293 111.195 1.78744 108.016 4.96563L4.96375 108.019C1.78557 111.197 8.41198e-05 115.507 8.39233e-05 120.002Z",fill:"#D6001C"})}),rr=({className:e})=>(0,a.jsx)("svg",{className:e,fill:"none",height:"184",viewBox:"0 0 184 184",width:"184",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M141.542 42.4626L42.4614 42.4626L42.4614 141.543L141.542 42.4626Z",fill:"#FFD20A"})}),rs="[&_.slick-list]:touch-pan-y [&_.slick-track]:touch-pan-y",ri=(0,an.getBreakpointAspectRatios)("HeroCarousel"),ro=({brand:e,variant:l})=>{let t="Dewalt"===e;return"fullbleed"===l?t||"Stanley"===e||"Cub Cadet"===e?"onDark":"onLight":t?"onDark":"onColor"},rn=({className:e,videoRef:l,textCopies:t={},isActiveSlide:r})=>{let[s,i]=(0,g.useState)(!0);return(0,g.useEffect)(()=>{var e,t,a;i(r),r?null==(t=null==(e=l.current)?void 0:e.play())||t.catch(()=>{}):null==(a=l.current)||a.pause()},[r,l]),(0,a.jsx)("div",{className:(0,b.cn)("onLight absolute z-[2]",e),children:(0,a.jsx)(li.VideoButton,{onClick:()=>{i(e=>{var t,a,r;return e?null==(r=l.current)||r.pause():null==(a=null==(t=l.current)?void 0:t.play())||a.catch(()=>{}),!e})},size:"small",textCopies:t,variant:s?"pause":"play"})})},rc=({aspectRatioClassName:e,asset:l,videoRef:t,isFirstSlide:r=!1})=>{var s,i,o;let n=l.mobileAsset||l,c="video"===n.type,d="video"===l.type,m="image"===n.type&&"image"===l.type;return(0,a.jsxs)(a.Fragment,{children:[(c||d)&&(0,a.jsx)(eR.ResponsiveVideo,{"aria-hidden":"true",autoPlay:!0,className:(0,b.cn)("size-full object-cover",e,!c&&"max-md:hidden",!d&&"md:hidden"),desktopMediaQuery:"(min-width: 768px)",desktopPoster:(0,tD.getNativeVideoPosterUrl)(l),desktopSrc:d?l.url:void 0,loop:!0,mobilePoster:(0,tD.getNativeVideoPosterUrl)(n),mobileSrc:c?n.url:void 0,muted:!0,playsInline:!0,preload:tD.HERO_NATIVE_VIDEO_PRELOAD,tabIndex:-1,videoRef:[t.mobile,t.desktop]}),(0,a.jsxs)("figure",{className:(0,b.cn)("size-full bg-color-brand-border-primary",{hidden:"image"!==n.type&&"image"!==l.type}),children:[m&&(0,a.jsxs)("picture",{className:"absolute inset-0 size-full",children:[(0,a.jsx)("source",{media:"(min-width: 768px)",srcSet:l.url}),(0,a.jsx)(ec.PolarisImage,{alt:n.alt||l.alt||"",className:(0,b.cn)("size-full object-cover",e),fetchPriority:r?"high":"auto",fill:!0,priority:r,quality:eh.HERO_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("HeroCarousel")),src:(null==(s=n.sizes)?void 0:s.md)||n.url})]}),!m&&"image"===n.type&&(0,a.jsx)(ec.PolarisImage,{alt:n.alt||"",aspectRatio:null!=(i=ri.mobile)?i:ri.desktop,className:(0,b.cn)("size-full object-cover md:!hidden",e),fetchPriority:r?"high":"auto",fill:!0,focalPoint:null==n?void 0:n.focalPoint,priority:r,quality:eh.HERO_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("HeroCarousel")),src:(null==(o=n.sizes)?void 0:o.md)||n.url,transformBaseUrl:null==n?void 0:n.transformBaseUrl}),!m&&"image"===l.type&&(0,a.jsx)(ec.PolarisImage,{alt:l.alt||"",aspectRatio:ri.desktop,className:(0,b.cn)("!hidden size-full object-cover md:!block",e),fetchPriority:r?"high":"auto",fill:!0,focalPoint:null==l?void 0:l.focalPoint,priority:r,quality:eh.HERO_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("HeroCarousel")),src:l.url,transformBaseUrl:null==l?void 0:l.transformBaseUrl})]})]})},rd=({asset:e,videoRef:l,isFirstSlide:t=!1})=>(0,a.jsx)("div",{className:"absolute inset-0 size-full",children:(0,a.jsxs)("div",{className:(0,b.cn)("relative aspect-video size-full"),children:[(0,a.jsx)(rc,{aspectRatioClassName:"aspect-video",asset:e,isFirstSlide:t,videoRef:l}),(0,a.jsx)("div",{className:(0,b.cn)("pointer-events-none absolute left-0 top-0 z-hero-1 size-full","bg-[linear-gradient(191deg,rgba(0,0,0,0.00)_23.71%,rgba(0,0,0,0.86)_94.86%)]")})]})}),rm=({variant:e,headline:l,bodyText:t,logoGroup:r,className:s,buttonGroup:i,copyTheme:o,themeClass:n,logoSize:c,onClickCta:d,onToggleLightbox:m,isFirstSlide:u,eyebrow:x})=>{let[p,h]=(0,g.useState)(!1),{brand:f,heroCarousel:v}=(0,lW.useBrandStyleContext)(),{styles:{contentCopyStyles:y,contentCopyStylesSideBySide:A,headlineStyles:w,headlineStylesSecondary:j,bodyTextStyles:C,btnGroupTabletSize:N,copySpacingStyles:_,copySpacingStylesSideBySide:S,logoPosition:k}}=v,P="Craftsman"===f,I="Stanley"===f,E="side-by-side"===e,B="fullbleed"===e,L=B&&P?"onLight":o,T=P||I?L:n,z=B?T:"onLight",O=l.length>60?(0,eM.truncateString)(l,60,!0):l,R=(({isFullbleed:e,isDefaultLength:l,brand:t})=>{let a={fullbleed:{default:{Dewalt:"prose-brand-md sm:prose-brand-2xl xl:prose-display-md",Stanley:"prose-brand-lg sm:prose-brand-2xl xl:prose-display-md",Craftsman:"prose-brand-lg sm:prose-brand-2xl xl:prose-display-sm","Cub Cadet":"prose-brand-lg sm:prose-brand-2xl xl:prose-display-md"}[t],long:"prose-brand-md sm:prose-brand-xl xl:prose-brand-2xl"},sideBySide:{default:{Dewalt:"prose-brand-md sm:prose-brand-2xl xl:prose-display-sm",Stanley:"prose-brand-lg sm:prose-brand-2xl xl:prose-display-sm",Craftsman:"prose-brand-lg sm:prose-brand-2xl xl:prose-display-sm","Cub Cadet":"prose-brand-lg sm:prose-brand-2xl xl:prose-display-sm"}[t],long:"prose-brand-md sm:prose-brand-xl xl:prose-brand-2xl"}}[e?"fullbleed":"sideBySide"];return l?a.default:a.long})({isFullbleed:B,isDefaultLength:O.length<=28,brand:f}),M={headline:(0,b.cn)(R,B?w:j),bodyText:(0,b.cn)("prose-body-medium-sm xl:prose-body-medium-md",C)},U=B?(0,b.cn)(y,"items-start"):(0,b.cn)(A,{"gap-4":P&&E}),D=B?_:S,G=(e,t)=>{t.isVideo&&(m(!0),h(!0)),null==d||d({ctaText:t.text,title:l})},F=(0,re.mapButtonGroupCta)({cta:null==i?void 0:i.primaryCta,onComplete:G}),H=(0,re.mapButtonGroupCta)({cta:null==i?void 0:i.secondaryCta,onComplete:G}),V=1===[F,H].filter(eU.isValidButtonCta).length,Q=(e=>{let{primaryCta:l,secondaryCta:t}=null!=e?e:{};return(null==l?void 0:l.isVideo)?l:(null==t?void 0:t.isVideo)?t:void 0})(i);return(0,a.jsxs)("div",{className:(0,b.cn)("relative flex flex-col gap-6 xl:gap-8",L,U,s,B&&!P&&"min-h-0 min-w-0 flex-1 touch-pan-y overflow-y-visible"),"data-content":!0,children:[r&&r.length>0&&("copy-top"===k||E)&&(0,a.jsx)(tr.LogoGroup,{breakpointSizes:{sm:c,md:c,lg:c},logos:r.map(e=>({image:e})),priority:!0}),(0,a.jsxs)("div",{className:(0,b.cn)("flex flex-col",D),children:[x&&(0,a.jsx)("p",{className:"prose-eyebrow-bold-sm uppercase text-color-brand-text-primary",children:(0,eM.truncateEyebrow)(x)}),(0,a.jsx)(u?"h1":"h2",{className:(0,b.cn)("brand-hero-headline wrap-anywhere text-color-brand-text-primary",M.headline),children:(0,eM.renderWithSuperscript)(O)}),(0,a.jsx)("p",{className:(0,b.cn)("max-[20rem]:wrap-anywhere text-color-brand-text-secondary",M.bodyText),children:t})]}),(F||H)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(lh.ButtonGroup,{className:(0,b.cn)("w-full flex-wrap justify-start sm:hidden",{"min-[23.4375rem]:[&_span]:shrink-0 [&_span]:text-ellipsis [&_span]:overflow-hidden":E&&!V,"mt-2":E&&P}),primaryCta:F,secondaryCta:H,size:"medium",stretchInlineButtons:!1}),(0,a.jsx)(lh.ButtonGroup,{className:(0,b.cn)("hidden flex-wrap sm:flex xl:hidden",{"[&>*]:h-10":B&&"large"===N.primary,"mt-2":E&&P}),primaryCta:F,secondaryCta:H,size:B?N.primary:N.secondary}),(0,a.jsx)(lh.ButtonGroup,{className:"hidden flex-wrap xl:flex xl:[&>*]:h-10",primaryCta:F,secondaryCta:H,size:"large",themeClass:z})]}),Q&&(0,a.jsx)(ts.VideoLightbox,{dialogTitle:"Hero Carousel video",isOpen:p,onClose:()=>{m(!1),h(!1)},videoPlayerProps:{sourceUrl:Q.url,title:Q.text||"",tooltipType:"thumbnail",variant:"autoplay",useFloatingControls:!1}}
17),P&&B&&(0,a.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute left-0 top-full size-full bg-color-brand-surface-primary xl:hidden"})]})},ru=({asset:e,videoRef:l,isFirstSlide:t=!1})=>{let{heroCarousel:r}=(0,lW.useBrandStyleContext)(),{styles:{assetPositionStyles:s}}=r;return(0,a.jsx)("div",{className:(0,b.cn)("absolute overflow-hidden",s),children:(0,a.jsx)("div",{className:"relative size-full",children:(0,a.jsx)(rc,{aspectRatioClassName:"aspect-video",asset:e,isFirstSlide:t,videoRef:l})})})},rx=({asset:e,aspectRatioClassName:l,className:t,videoRef:r,textCopies:s,isActiveSlide:i,isFirstSlide:o=!1})=>{let{brand:n}=(0,lW.useBrandStyleContext)(),{isMobile:c}=(0,tG.useBreakpoint)(),d="Stanley"===n,m="Craftsman"===n,u="Cub Cadet"===n,x=e.mobileAsset||e;return(0,a.jsx)("div",{className:(0,b.cn)("relative size-full",{"bg-color-brand-surface-primary":m},t,l),children:(0,a.jsxs)("div",{className:(0,b.cn)("relative size-full",{"rounded-tr-xl rounded-bl-xl overflow-hidden":m,"rounded-lg overflow-hidden":u}),children:[d&&(0,a.jsx)(rr,{className:"absolute right-0 top-0 z-10 size-20 rotate-90 sm:size-[6.25rem] [@media(orientation:landscape)_and_(max-height:30rem)]:size-[2.5rem]"}),m&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ra,{className:"absolute left-0 top-0 z-10 size-[3.75rem] sm:size-auto"}),(0,a.jsx)(ra,{className:"absolute bottom-0 right-0 z-10 size-[3.75rem] rotate-180 sm:size-auto"})]}),(0,a.jsx)(rc,{aspectRatioClassName:l,asset:e,isFirstSlide:o,videoRef:r}),("video"===x.type||"video"===e.type)&&(0,a.jsx)(rn,{className:(0,b.cn)({"bottom-[0.625rem] right-[0.625rem] sm:bottom-5 sm:right-5":"Dewalt"===n||d||u,"top-3 right-3 sm:top-5 sm:right-5":m}),isActiveSlide:i,textCopies:s,videoRef:c?r.mobile:r.desktop})]})})},rp=({eyebrow:e,headline:l,bodyText:t,logoGroup:r,logoSize:s,asset:i,buttonGroup:o,textCopies:n,variant:c,videoRef:d,isActiveSlide:m,hasMultipleSlides:u,onToggleLightbox:x,onClickCta:p,isFirstSlide:h})=>{let{brand:f,heroCarousel:g}=(0,lW.useBrandStyleContext)(),{styles:{contentStyles:v,contentStylesSideBySide:y,logoPosition:A,logoSizeSideBySide:w,logoGroupStyles:j,videoBtnPosition:C}}=g,{isMobile:N}
17=(0,tG.useBreakpoint)(),_="Dewalt"===f,S="Craftsman"===f,k="fullbleed"===c,P=ro({variant:c,brand:f}),I=s||"side-by-side"===c?w:"large",E=N?d.mobile:d.desktop;return(0,a.jsxs)("div",{className:(0,b.cn)("relative flex h-full flex-1",k?v:y),inert:!m,children:["video"===i.type&&!_&&(0,a.jsx)(rn,{className:(0,b.cn)("right-0 top-0",{"-translate-x-3 translate-y-[2.75rem] sm:-translate-x-5 sm:translate-y-[3.75rem] xl:hidden":S}),isActiveSlide:m,textCopies:n,videoRef:E}),(0,a.jsxs)("div",{className:(0,b.cn)("relative flex items-start",{"justify-start":"top-left"===A,"justify-end p-1 sm:p-4 xl:p-0":"top-right"===A},j),children:[r&&r.length>0&&("top-left"===A||"top-right"===A)&&(0,a.jsx)(tr.LogoGroup,{breakpointSizes:{sm:I,md:I,lg:I},className:(0,b.cn)({"xl:-translate-y-2 xl:translate-x-2":S}),logos:r.map(e=>({image:e})),priority:!0}),"video"===i.type&&_&&(0,a.jsx)(rn,{className:(0,b.cn)("right-0 top-0"),isActiveSlide:m,textCopies:n,videoRef:E})]}),(0,a.jsx)(rm,{asset:i,bodyText:t,buttonGroup:o,className:"z-[1]",copyTheme:P,eyebrow:e,headline:l,isFirstSlide:h,logoGroup:r,logoSize:I,onClickCta:p,onToggleLightbox:x,textCopies:n,themeClass:_?"onDark":"onColor",variant:c}),S&&(0,a.jsx)("div",{className:"absolute bottom-0 left-0 z-0 h-4 w-full bg-color-brand-surface-primary xl:hidden"}),"video"===i.type&&"bottom-left"===C&&(0,a.jsx)(rn,{className:(0,b.cn)("-left-3 z-[1] hidden xl:block",{"bottom-[-4.75rem]":u,"-bottom-3":!u}),isActiveSlide:m,textCopies:n,videoRef:E})]})},rh=({isActiveSlide:e,slide:l,variant:t,onToggleLightbox:r,isFirstSlide:s})=>{let{headline:i,bodyText:o,logoGroup:n,logoSize:c,asset:d,buttonGroup:m,textCopies:u,onClickCta:x,eyebrow:p}=l,h=(0,g.useRef)(null),f=(0,g.useRef)(null),v=(0,g.useRef)(null),y=(0,g.useRef)(null),A=(0,g.useRef)(null),w=(0,g.useRef)(null),{brand:j,heroCarousel:C}=(0,lW.useBrandStyleContext)(),{styles:{contentStyles:N,contentStylesSideBySide:_,logoSizeSideBySide:S}}=C,k="side-by-side"===t,P="fullbleed"===t,I="Dewalt"===j,E="Craftsman"===j,B=ro({variant:t,brand:j}),L="video"===(d.mobileAsset||d).type&&"video"===d.type;return(0,a.jsxs)("div",{className:(0,b.cn)("relative flex flex-1 items-center sm:gap-8 xl:flex-row",P?N:_,{"gap-6":E,"gap-8":!E}),inert:!e,children:[(0,a.jsx)(rx,{aspectRatioClassName:"aspect-video",asset:d,className:"h-auto xl:hidden",isActiveSlide:e,isFirstSlide:s,textCopies:u,videoRef:L?{desktop:w,mobile:w}:{desktop:y,mobile:v}}),(0,a.jsx)(rm,{asset:d,bodyText:o,buttonGroup:m,className:"z-[1] sm:w-full xl:w-auto xl:flex-1",copyTheme:B,eyebrow:p,headline:i,isFirstSlide:s,logoGroup:n,logoSize:c||k?S:"large",onClickCta:x,onToggleLightbox:r,textCopies:u,themeClass:I?"onDark":"onColor",variant:t}),(0,a.jsx)(rx,{aspectRatioClassName:"aspect-video",asset:d,className:"hidden xl:block xl:flex-1",isActiveSlide:e,isFirstSlide:s,textCopies:u,videoRef:L?{desktop:A,mobile:A}:{desktop:f,mobile:h}}),E&&(0,a.jsx)("div",{className:"absolute bottom-0 left-0 z-0 h-4 w-full bg-color-brand-surface-primary xl:hidden"})]})},rf={eyebrow:"Optional Eyebrow",variant:"primary",logoSize:"medium",bodyText:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut.",logos:[{alt:"logo alt text",url:"https://picsum.photos/100/100",type:"image"},{alt:"logo alt text",url:"https://picsum.photos/100/100",type:"image"}],ctas:[{text:"Shop Products",external:!1,url:"test.com"},{text:"Learn more",external:!1,url:"test.com"}]};Object.assign(Object.assign({},Object.assign(Object.assign({},rf),{textCopies:{},themeClass:"onDark",headline:"Conquer slopes and steep inclines",asset:{type:"video",alt:"video alt text",url:"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"}})),{variant:"secondary"});let rg="longword-locale:prose-brand-2xs",rb="sm:longword-locale:prose-brand-md",rv="xl:longword-locale:prose-brand-xl",ry={"heroFeatured1Up.heading.primary.default":(0,b.cn)("prose-brand-xl sm:prose-brand-2xl xl:prose-display-md",rg,rb,rv),"heroFeatured1Up.heading.primary.long":(0,b.cn)("prose-brand-md sm:prose-brand-xl xl:prose-display-md",rg,rb,rv),"heroFeatured1Up.heading.secondary.default":"prose-brand-md sm:prose-brand-md xl:prose-brand-xl","heroFeatured1Up.heading.secondary.long":(0,b.cn)("prose-brand-md sm:prose-brand-lg xl:prose-brand-2xl",rg,rb,rv)}
17,rA=(0,an.getBreakpointAspectRatios)("HeroFeatured1Up"),rw=(e,l)=>{if(null==e?void 0:e.url){if(e.transformBaseUrl&&(0,an.isBynderDatUrl)(e.transformBaseUrl)){let t=(0,an.buildBynderDatUrl)({transformBaseUrl:e.transformBaseUrl,width:l,aspectRatio:rA.mobile,quality:eh.HERO_IMAGE_QUALITY});return(0,an.wrapInNextImageProxy)(t,l,eh.HERO_IMAGE_QUALITY)}return(0,an.wrapInNextImageProxy)(e.url,l,eh.HERO_IMAGE_QUALITY)}},rj=({className:e,videoRef:l,onClickVideoButton:t,textCopies:r={}})=>{let[s,i]=(0,g.useState)(!0);return(0,a.jsx)("div",{className:(0,b.cn)("onLight absolute",e),children:(0,a.jsx)(li.VideoButton,{onClick:()=>{i(e=>{var t,a;return e?null==(a=l.current)||a.pause():null==(t=l.current)||t.play(),!e})},onClickVideoButton:t,size:"small",textCopies:r,variant:s?"pause":"play"})})},rC=({variant:e,headline:l,bodyText:t,logos:r,ctas:s,onClickCta:i,asset:o,copyTheme:n,videoRef:c,onClickVideoButton:d,textCopies:m={},themeClass:u,logoSize:x,eyebrow:p})=>{var h,f;let{heroFeatured1UpBrandStyles:g}=(0,lW.useBrandStyleContext)(),{booleans:{whiteCornerTriangles:v},styles:{contentCopyStyles:y,headlineStyles:A,headlineStylesSecondary:w,bodyTextStyles:j,btnGroupTabletSize:C,copySpacingStyles:N,logoPosition:_,videoBtnPosition:S}}=g,{isTablet:k}
17=(0,tG.useBreakpoint)(),P=null==s?void 0:s.map(e=>Object.assign(Object.assign({},e),{onClick:t=>{var a;null==i||i({headline:l,event:t,cta:e}),null==(a=e.onClick)||a.call(e,t)}})),I="primary"===e,E="secondary"===e,B=l.length>60?(0,eM.truncateString)(l,60,!0):l,L=B.length<=28,T=(e,l)=>{let t=ry[({primary:{default:"heroFeatured1Up.heading.primary.default",long:"heroFeatured1Up.heading.primary.long"},secondary:{default:"heroFeatured1Up.heading.secondary.default",long:"heroFeatured1Up.heading.secondary.long"}})[e?"primary":"secondary"][l?"default":"long"]];return!e&&l?(0,b.cn)(t,w):t},z={headline:I?(0,b.cn)(T(I,L),A):(0,b.cn)(T(I,L),w),bodyText:I?(0,b.cn)("prose-body-medium-sm xl:prose-body-medium-md",j):"prose-body-medium-sm xl:prose-body-medium-md"},O=I?"gap-6 xl:gap-8":"gap-6",R=I&&v&&k?u:n,M=(0,b.cn)(y,"items-start"),U=(0,b.cn)("bg-color-brand-surface-primary","w-full items-center px-4 py-5 sm:w-[36.5rem] sm:p-6 xl:w-[56rem] xl:px-10 xl:py-8");return(0,a.jsxs)("div",{className:(0,b.cn)("relative flex flex-col",O,R,{[M]:I,[U]:E,"gap-6 rounded-xl":E&&v}),children:[r&&r.length>0&&"center-group"===_&&(0,a.jsx)(tr.LogoGroup,{breakpointSizes:{sm:x,md:x,lg:x},logos:r.map(e=>({image:e}))}),(0,a.jsxs)("div",{className:(0,b.cn)("flex w-full min-w-0 flex-col",N,{"text-center":E,"sm:gap-3 xl:gap-5":E&&v}),children:[p&&(0,a.jsx)("p",{className:(0,b.cn)("prose-eyebrow-bold-sm w-full uppercase text-color-brand-text-primary"),children:(0,eM.truncateEyebrow)(p)}),(0,a.jsx)("h1",{className:(0,b.cn)("brand-hero-headline max-[20rem]:wrap-anywhere w-full min-w-0 text-color-brand-text-primary",z.headline),children:(0,eM.renderWithSuperscript)(B)}),(0,a.jsx)("p",{className:(0,b.cn)("max-[20rem]:wrap-anywhere w-full min-w-0 text-color-brand-text-primary",z.bodyText),children:t})]}),(null==P?void 0:P.length)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(lh.ButtonGroup,{className:"w-full flex-wrap flex-row sm:hidden [&>*]:flex-1",primaryCta:P[0],secondaryCta:P[1],size:"medium"}),(0,a.jsx)(lh.ButtonGroup,{className:(0,b.cn)("hidden flex-wrap sm:flex xl:hidden",{"[&>*]:h-10":I&&"large"===C.primary}),primaryCta:P[0],secondaryCta:P[1],size:I?C.primary:C.secondary}),(0,a.jsx)(lh.ButtonGroup,{className:"hidden flex-wrap xl:flex xl:[&>*]:h-10",primaryCta:P[0],secondaryCta:P[1],size:"large"})]}),I&&("video"===o.type||(null==(h=o.mobileAsset)?void 0:h.type)==="video"||(null==(f=o.tabletAsset)?void 0:f.type)==="video")&&"bottom-right-content"===S&&(0,a.jsx)(rj,{className:"bottom-0 right-0 hidden xl:block",onClickVideoButton:d,textCopies:m,videoRef:c})]})},rN=({asset:e,variant:l,videoRef:t,overlay:r})=>{var s,i,o,n;let{heroFeatured1UpBrandStyles:c}=(0,lW.useBrandStyleContext)(),{styles:{assetStyles:d}}=c,m="primary"===l,u=m?"z-hero-1":"z-hero-3",x=(null==e?void 0:e.type)==="video",p=e.tabletAsset||e,h=(null==p?void 0:p.type)==="video",f=e.mobileAsset||e,g=(null==f?void 0:f.type)==="video";return r?(0,a.jsx)("div",{className:"absolute inset-0 size-full",children:(0,a.jsxs)("div",{className:(0,b.cn)("relative aspect-video size-full",{"sm:h-[12.9375rem] xl:h-[23.125rem]":!m}),children:[(null==e?void 0:e.url)&&(0,a.jsxs)("figure",{className:(0,b.cn)(m&&"size-full",!m&&["relative size-full sm:h-[16.6875rem] xl:h-[31.25rem]",d]),children:[!x&&(0,a.jsx)(ec.PolarisImage,{alt:e.alt||"",aspectRatio:rA.desktop,className:"size-full object-cover",fill:!0,focalPoint:null==e?void 0:e.focalPoint,mobileImage:!g&&(null==f?void 0:f.url)?{src:f.url,transformBaseUrl:null==f?void 0:f.transformBaseUrl,focalPoint:null==f?void 0:f.focalPoint,aspectRatio:null!=(s=rA.mobile)?s:rA.desktop}:void 0,priority:!0,quality:eh.HERO_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("HeroFeatured1Up")),src:e.url,tabletImage:!h&&(null==p?void 0:p.url)?{src:p.url,transformBaseUrl:null==p?void 0:p.transformBaseUrl,focalPoint:null==p?void 0:p.focalPoint,aspectRatio:null!=(i=rA.tablet)?i:rA.desktop}:void 0,transformBaseUrl:null==e?void 0:e.transformBaseUrl}),(0,a.jsx)(eR.ResponsiveVideo,{"aria-hidden":"true",autoPlay:!0,className:(0,b.cn)("size-full object-cover",!m&&["h-[18.28125rem] sm:h-[16.6875rem] xl:h-[31.25rem]"],(0,eR.getResponsiveVideoVisibility)({desktop:x,tablet:h,mobile:g})),desktopPoster:(0,tD.getNativeVideoPosterUrl)(e),desktopSrc:x?e.url:void 0,fetchPriority:"high",loop:!0,mobilePoster:null!=(o=rw(null==f?void 0:f.videoCoverImage,640))?o:(0,tD.getNativeVideoPosterUrl)(f),mobileSrc:(null==(n=e.mobileAsset)?void 0:n.type)==="video"&&e.mobileAsset.url?e.mobileAsset.url:void 0,muted:!0,playsInl
17ine:!0,preload:tD.HERO_NATIVE_VIDEO_PRELOAD,tabIndex:-1,tabletPoster:(0,tD.getNativeVideoPosterUrl)(p),tabletSrc:h&&(null==p?void 0:p.url)?p.url:void 0,videoRef:t})]}),m&&(0,a.jsx)("div",{className:(0,b.cn)("pointer-events-none absolute left-0 top-0 size-full",u,"bg-[linear-gradient(191deg,rgba(0,0,0,0.00)_23.71%,rgba(0,0,0,0.86)_94.86%)]")})]})}):null},r_=({variant:e,logos:l,logoSize:t,asset:r,assetPositionStyles:s,onClickVideoButton:i,themeClass:o,whiteCornerTriangles:n,overlay:c,videoRef:d,cornerRadius:m,textCopies:u={}})=>{var x,p,h,f;let g="primary"===e,v="secondary"===e,y=(null==r?void 0:r.type)==="video",A=r.tabletAsset||r,w=(null==A?void 0:A.type)==="video",j=r.mobileAsset||r,C=(null==j?void 0:j.type)==="video",N={className:"aspect-video h-full w-screen object-cover",fill:!0,priority:!0,quality:eh.HERO_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("HeroFeatured1Up"))};return(0,a.jsx)("div",{className:(0,b.cn)("absolute overflow-hidden",s,{"rounded-xl":m&&g,"sm:rounded-b-xl":m&&v}),children:(0,a.jsxs)("div",{className:"relative size-full",children:[(null==r?void 0:r.url)&&!c&&(0,a.jsxs)("figure",{className:"size-full",children:[!y&&(0,a.jsx)(ec.PolarisImage,{...N,alt:r.alt||"",aspectRatio:rA.desktop,className:N.className,focalPoint:null==r?void 0:r.focalPoint,mobileImage:!C&&(null==j?void 0:j.url)?{src:j.url,transformBaseUrl:null==j?void 0:j.transformBaseUrl,focalPoint:null==j?void 0:j.focalPoint,aspectRatio:null!=(x=rA.mobile)?x:rA.desktop}:void 0,src:r.url,tabletImage:!w&&(null==A?void 0:A.url)?{src:A.url,transformBaseUrl:null==A?void 0:A.transformBaseUrl,focalPoint:null==A?void 0:A.focalPoint,aspectRatio:null!=(p=rA.tablet)?p:rA.desktop}:void 0,transformBaseUrl:null==r?void 0:r.transformBaseUrl}),(0,a.jsx)(eR.ResponsiveVideo,{"aria-hidden":"true",autoPlay:!0,className:(0,b.cn)("aspect-video size-full object-cover",(0,eR.getResponsiveVideoVisibility)({desktop:y,tablet:w,mobile:C})),desktopPoster:(0,tD.getNativeVideoPosterUrl)(r),desktopSrc:y?r.url:void 0,fetchPriority:"high",loop:!0,mobilePoster:null!=(h=rw(null==j?void 0:j.videoCoverImage,640))?h:(0,tD.getNativeVideoPosterUrl)(j),mobileSrc:(null==(f=r.mobileAsset)?void 0:f.type)==="video"&&r.mobileAsset.url?r.mobileAsset.url:void 0,muted:!0,playsInline:!0,tabIndex:-1,tabletPoster:(0,tD.getNativeVideoPosterUrl)(A),tabletSrc:w&&(null==A?void 0:A.url)?A.url:void 0,videoRef:d})]}),c&&(0,a.jsx)("div",{className:(0,b.cn)("absolute",s),children:v&&l&&l.length>0&&(0,a.jsxs)("div",{className:"container relative size-full p-4 sm:p-[1.375rem] xl:p-10",children:[(0,a.jsx)(tr.LogoGroup,{breakpointSizes:{sm:t,md:t,lg:t},logos:l.map(e=>({image:e}))}),(C||w||y)&&(0,a.jsx)(rj,{className:"right-5 top-5 xl:bottom-5 xl:top-[unset]",onClickVideoButton:i,textCopies:u,videoRef:d})]})}),g&&n&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("svg",{className:(0,b.cn)("onLight absolute -bottom-px -right-px z-hero-2 hidden size-[7.5rem] rotate-90 fill-color-brand-surface-primary sm:block xl:hidden",o),fill:"none",height:"160",viewBox:"0 0 160 160",width:"160",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M160 160.01L160 0.00975863L0.000237147 0.00976562C5.99307 0.00976536 11.7404 2.39041 15.978 6.62799L153.382 144.032C157.619 148.27 160 154.017 160 160.01Z"})}),(C||w)&&(0,a.jsx)(rj,{className:"bottom-0 right-0 z-hero-3 hidden sm:block xl:hidden",onClickVideoButton:i,textCopies:u,videoRef:d})]})]})})},rS={full_width:{mobile:296,tablet:584,desktop:896},inline:{mobile:330,tablet:650,desktop:816}},rk={container:{full_width:"overflow-hidden bg-color-brand-surface-primary",inline:"overflow-hidden bg-color-brand-surface-primary"},containerInner:{full_width:"text-color-brand-text-primary py-10 xl:py-14",inline:(0,b.cn)("py-10 text-color-brand-text-primary xl:py-14","px-0 sm:mx-[2.75rem] xl:mx-auto xl:max-w-[calc(100%-20rem)]")},sliderWrapper:"relative w-full",figure:"!block cursor-grab relative overflow-hidden aspect-3/2 rounded-card-corner-radius-lg active:cursor-grabbing",media:"h-full object-cover transform-gpu",caption:"mx-auto prose-body-medium-xs text-color-brand-text-primary",footer
17:"mx-auto mt-2 flex-col flex items-start gap-2 justify-start md:justify-end xl:justify-center sm:flex-row sm:justify-between sm:gap-8",arrows:"flex",arrowTransparent:"!bg-transparent !border-transparent",slider:(0,b.cn)("[&_.slick-list]:-mx-2 [&_.slick-list]:overflow-visible [&_.slick-list]:xl:-mx-10","[&_.slick-slide]:px-2 [&_.slick-slide]:xl:px-10","[&_.slick-slide]:transition-transform [&_.slick-slide]:duration-300 [&_.slick-slide]:ease-in-out","will-change-transform"),sliderScaleEffect:(0,b.cn)("[&_.slick-slide:not(.slick-active)]:origin-center [&_.slick-slide:not(.slick-active)]:scale-y-[0.85]","[&_.slick-slide.slick-active]:scale-y-100")},rP=(0,g.memo)(({media:e,index:l,priority:t})=>{var r;let[s,i]=(0,g.useState)(t);return(0,a.jsx)("div",{children:(0,a.jsxs)("figure",{className:rk.figure,children:[!s&&(0,a.jsx)(e7.Skeleton,{className:"absolute inset-0 z-0 size-full"}),(null==e?void 0:e.url)&&(0,a.jsx)(ec.PolarisImage,{alt:e.alt||"",aspectRatio:(0,an.getImageAspectRatioForComponent)("GalleryAsset"),className:(0,b.cn)(rk.media,t||s?"opacity-100":"opacity-0 transition-opacity duration-500"),fetchPriority:t?"high":"low",fill:!0,focalPoint:null==e?void 0:e.focalPoint,onLoad:()=>!t&&i(!0),priority:t,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("ImageGallery")),src:(null==(r=e.sizes)?void 0:r.lg)||e.url,transformBaseUrl:null==e?void 0:e.transformBaseUrl})]})},l)});rP.displayName="GallerySlide";var rI=e.i(35709);e.i(653216);var rE=e.i(760448);let rB={some:0,all:1};function rL(e,{root:l,margin:t,amount:a,once:r=!1}={}){let[s,i]=(0,g.useState)(!1);return(0,g.useEffect)(()=>{if(!e.current||r&&s)return;let o={root:l&&l.current||void 0,margin:t,amount:a};return function(e,l,{root:t,margin:a,amount:r="some"}={}){let s=(0,rE.resolveElements)(e),i=new WeakMap,o=new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target);if(!!t!==e.isIntersecting)if(e.isIntersecting){let t=l(e);"function"==typeof t?i.set(e.target,t):o.unobserve(e.target)}else"function"==typeof t&&(t(e),i.delete(e.target))})},{root:t,rootMargin:a,threshold:"number"==typeof r?r:rB[r]});return s.forEach(e=>o.observe(e)),()=>o.disconnect()}(e.current,()=>(i(!0),r?void 0:()=>i(!1)),o)},[l,e,t,r,a]),s}var rT=e.i(627825),rz=e.i(826596),rO=e.i(150702),rR=e.i(62593),rM=e.i(128140);function rU(e,l){let t=function(e){let l=(0,p.useConstant)(()=>(0,rO.motionValue)(e)),{isStatic:t}=(0,g.useContext)(rR.MotionConfigContext);if(t){let[,t]=(0,g.useState)(e);(0,g.useEffect)(()=>l.on("change",t),[])}return l}(l()),a=()=>t.set(l());return a(),(0,h.useIsomorphicLayoutEffect)(()=>{let l=()=>rM.frame.preRender(a,!1,!0),t=e.map(e=>e.on("change",l));return()=>{t.forEach(e=>e()),(0,rM.cancelFrame)(a)}}),t}function rD(e,l,t,a){if("function"==typeof e){let l;return rO.collectMotionValues.current=[],e(),l=rU(rO.collectMotionValues.current,e),rO.collectMotionValues.current=void 0,l}let r="function"==typeof l?l:function(...e){var l;let t,a=!Array.isArray(e[0]),r=a?0:-1,s=e[0+r],i=e[1+r],o=e[2+r],n=e[3+r],c=(0,rz.interpolate)(i,o,{mixer:(t=l=o[0])&&"object"==typeof t&&t.mix?l.mix:void 0,...n});return a?c(s):c}(l,t,a);return Array.isArray(e)?rG(e,r):rG([e],([e])=>r(e))}function rG(e,l){let t=(0,p.useConstant)(()=>[]);return rU(e,()=>{t.length=0;let a=e.length;for(let l=0;l<a;l++)t[l]=e[l].get();return l(t)})}let rF=e=>{if(e)return Object.assign(Object.assign({},e),{text:e.text.length>20?(0,eM.truncateString)(e.text,20,!0):e.text})},rH=({className:e,videoRef:l,textCopies:t={}})=>{let[r,s]=(0,g.useState)(!0);return(0,a.jsx)("div",{className:(0,b.cn)("onLight absolute",e),children:(0,a.jsx)(li.VideoButton,{onClick:()=>{s(e=>{var t,a;return e?null==(a=l.current)||a.pause():null==(t=l.current)||t.play(),!e})},size:"small",textCopies:t,variant:r?"pause":"play"})})},rV=({headline:e})=>{let{immersiveHero:{styles:{headlineStyles:l}}}=(0,lW.useBrandStyleContext)(),{truncatedHeadline:t,finalHeadlineStyles:r}=(({headline:e,headlineStyles:l})=>{let t=e.length>60?(0,eM.truncateString)(e,60,!0):e,a=t.length<=28;return{truncatedHeadline:t,finalHeadlineStyles:a?l:"prose-brand-md sm:prose-brand-xl xl:prose-brand-2xl"}})({headline:e,headlineStyles:l});return(0,a.jsx)("h1",{className:(0,b.cn)("brand-hero-headline w-full text-center text-color-brand-text-primary xl:max-w-[56rem]",r),children:t})},rQ=({assetVariation:e,className:l,headline:t,bodyText:r,asset:i,logoGroup:o,logoSize:n,buttonGroup:c,secondarySequence:d,textCopies:m})=>{let u=(0,g.useRef)(null),{immersiveHero:{styles:{desktopButtonClassName:x,sequence1Theme:p,s2CopyStyles:h,s2CopyCtaStyles:f,s2CopyHeadingStyles:v,s2InnerContainerStyles:y,bodyThemeStatic:A},booleans:{hasS2Notch:w,hasS2CopyOffset:j,hasS2AlternateEdgeGutter:C}}}=(0,lW.useBrandStyleContext)(),{primaryCta:N,secondaryCta:_}=null!=c?c:{},S="product"===e;return(0,a.jsxs)("div",{className:(0,b.cn)(p,"relative bg-color-brand-surface-primary",l),children:[(0,a.jsxs)("div",{className:(0,b.cn)("container flex flex-col items-center py-14 sm:py-16 xl:py-14"),children:[o&&(0,a.jsx)(tr.LogoGroup,{breakpointSizes:{sm:n,md:n,lg:n},className:"mb-5 sm:mb-8",logos:o.map(e=>({image:e})),priority:!0}),(0,a.jsx)(rV,{headline:t}),(N||_)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(lh.ButtonGroup,{buttonClassName:"max-sm:w-full",className:(0,b.cn)("mt-8 flex w-full flex-col gap-y-2 sm:w-auto 
17sm:flex-row xl:hidden"),primaryCta:rF(N),secondaryCta:rF(_),size:"small"}),(0,a.jsx)(lh.ButtonGroup,{buttonClassName:(0,b.cn)("h-10",x),className:(0,b.cn)("mt-8 hidden xl:flex"),primaryCta:rF(N),secondaryCta:rF(_),size:"large"})]})]}),(0,a.jsx)("div",{className:"container flex justify-center",children:"video"===i.type?(0,a.jsxs)("div",{className:(0,b.cn)("relative w-full",S?"sm:max-w-[50.625rem]":"sm:max-w-[70.5rem]"),children:[(0,a.jsx)("video",{"aria-hidden":"true",autoPlay:!0,className:(0,b.cn)("aspect-square w-full object-cover",S?"sm:aspect-square":"sm:aspect-video"),loop:!0,muted:!0,playsInline:!0,poster:(0,tD.getNativeVideoPosterUrl)(i),preload:tD.HERO_NATIVE_VIDEO_PRELOAD,ref:u,src:i.url,tabIndex:-1}),(0,a.jsx)(rH,{className:"absolute bottom-3 right-3",textCopies:m,videoRef:u})]}):(0,a.jsx)("figure",{className:(0,b.cn)("relative size-full",{"sm:size-[33rem] xl:size-[56rem]":S},S?"aspect-square":"aspect-video"),children:(0,a.jsx)(ec.PolarisImage,{alt:i.alt||"",aspectRatio:(0,an.getImageAspectRatioForComponent)("ImmersiveHero"),className:"object-contain",fill:!0,focalPoint:null==i?void 0:i.focalPoint,priority:!0,quality:eh.HERO_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("ImmersiveHero")),src:i.url,transformBaseUrl:null==i?void 0:i.transformBaseUrl})})}),(0,a.jsxs)("div",{className:(0,b.cn)("container relative",A,{"py-14 sm:py-16":"lifestyle"===e,"pt-10 pb-14 sm:pb-16 xl:pt-16":S}),children:[(0,a.jsx)("div",{className:"flex items-center justify-center",children:(0,a.jsx)("p",{className:(0,b.cn)("prose-body-medium-md w-full text-center font-bold text-color-brand-text-primary sm:prose-body-bold-lg xl:prose-utility-md sm:max-w-[36.5rem] xl:max-w-[41.5rem]"),children:(0,eM.truncateString)(r,360,!0)})}),(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0 size-full","data-overlay":!0})]}),d&&d.length>0&&(0,a.jsx)("div",{className:"onColor relative flex flex-col gap-y-14 bg-color-brand-surface-primary py-14",children:d.map((e,l)=>{var t,r,i,o;return(0,a.jsxs)("div",{className:(0,b.cn)("container flex flex-col gap-y-6 sm:items-center sm:gap-x-4",y,{"sm:flex-row":l%2==0,"sm:flex-row-reverse":l%2==1,"sm:pl-0":C&&l%2==0,"sm:pr-0":C&&l%2==1}),children:[(0,a.jsxs)("figure",{className:(0,b.cn)("relative aspect-4/3 sm:aspect-3/4 sm:min-w-[21.5rem] sm:shrink-0 xl:aspect-[548/731] xl:w-[34.25rem]",{"xl:col-start-2 xl:col-end-7":l%2==0,"xl:col-start-7 xl:col-end-12":l%2==1,"rounded-t-xl overflow-hidden sm:rounded-b-xl":w}),children:[(0,a.jsx)(ec.PolarisImage,{alt:e.asset.alt||"",aspectRatio:(0,an.getImageAspectRatioForComponent)("ImmersiveHero"),className:"size-full object-cover",fill:!0,focalPoint:null==(t=e.asset)?void 0:t.focalPoint,quality:eh.HERO_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("ImmersiveHero")),src:(null==(r=e.asset.sizes)?void 0:r.md)||e.asset.url,transformBaseUrl:null==(i=e.asset)?void 0:i.transformBaseUrl}),w&&(0,a.jsx)("svg",{className:(0,b.cn)("absolute -top-px z-[2] size-20 xl:size-[6.25rem]",{"sm:-left-px":l%2==0,"sm:-right-px sm:rotate-90":l%2==1}),fill:"none",height:"100",viewBox:"0 0 100 100",width:"100",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{clipRule:"evenodd",d:"M-0.000205994 100L-0.000201623 -4.37114e-06L99.9995 0C96.254 -1.63722e-07 92.6619 1.48791 90.0134 4.1364L4.13618 90.0139C1.48769 92.6623 -0.00020583 96.2545 -0.000205994 100Z",fill:"#D6001C",fillRule:"evenodd"})})]}),(0,a.jsxs)("div",{className:(0,b.cn)("flex flex-col justify-center sm:flex-1 sm:px-5 xl:px-6",h,{"xl:m-0 xl:col-start-7 xl:col-end-12":l%2==0,"xl:m-0 xl:col-start-2 xl:col-end-7 row-start-1":l%2==1,"sm:-mr-10 xl:-mr-20":j&&l%2==1,"sm:-ml-10 xl:-ml-20":j&&l%2==0}),children:[(0,a.jsx)("h2",{className:(0,b.cn)("mb-3 text-color-brand-text-primary xl:mb-4",v),children:e.headline}),(0,a.jsx)("p",{className:"prose-body-medium-sm text-color-utility-text-primary xl:prose-body-medium-lg",children:e.bodyText}),(null==(o=e.cta)?void 0:o.url)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(U.Button,{className:(0,b.cn)("mt-5 self-start sm:mt-6 xl:hidden",f),link:e.cta,size:"small",textClassName:"flex items-center gap-1 xl:gap-2",variant:"text",children:[e.cta.text,(0,a.jsx)(s.default,{className:"!size-4"})]}),(0,a.jsxs)(U.Button,{className:(0,b.cn)("hidden self-start xl:mt-8 xl:flex xl:py-0",f),link:e.cta,size:"large",textClassName:"flex items-center gap-1 xl:gap-2",variant:"text",children:[e.cta.text,(0,a.jsx)(rI.default,{className:"!size-4"})]})]})]})]},l)})})]})},rq=({index:e,sequence:l,global:t,start:r,end:s})=>{var i,o;let c=rD(t,[r,s],[0,1]),d=rD(c,[0,1],0===e?["0%","0%"]:["100%","0%"]);return(0,a.jsx)(n.motion.figure,{className:"absolute top-0 aspect-[548/731] size-full",style:{zIndex:e+1,y:d},children:(0,a.jsx)(ec.PolarisImage,{alt:l.asset.alt||"",aspectRatio:(0,an.getImageAspectRatioForComponent)("ImmersiveHero"),className:"object-cover",fill:!0,focalPoint:null==(i=l.asset)?void 0:i.focalPoint,quality:eh.HERO_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("ImmersiveHero")),src:l.asset.url,transformBaseUrl:null==(o=l.asset)?void 0:o.transformBaseUrl})})},rW=({assetVariation:e,className:l,headline:t,bodyText:r,asset:s,logoGroup:i,logoSize:o,buttonGroup:c,secondarySequence:d,textCopies:m})=>{var u;let x=(0,g.useRef)(null),p=(0,g.useRef)(null),h=(0,g.useRef)(null),f=(0,g.useRef)(null),v=(0,g.useRef)(null),y=(0,g.useRef)(null),[A,w]=(0,g.useState)({width:896,height:504}),j=rL(y,{amount:.2}),{immersiveHero:{styles:{desktopButtonClassName:C,sequence1Theme:N,sequenceContainerStyles:_,sequenceCopyContainerStyles:S}}}=(0,lW.useBrandStyleContext)(),{primaryCta:k,secondaryCta:P}=null!=c?c:{},I="product"===e,{scrollYProgress:E}=(0,rT.useScroll)({target:h,offset:["start end","start start"]}),B=rD(E,[0,1],[504,A.height]),L=rD(E,[0,.2,.8,.99],[1,1,1,0]),T=rD(E,[0,1],[896,A.width]),{scrollYProgress:z}=(0,rT.useScroll)({target:f,offset:["start end","start start"]}),O=rD(z,[0,1],[0,1]),R=(0,g.useMemo)(()=>({initial:{opacity:0,y:200}
17,animate:{opacity:1,y:0,transition:{delay:1.1,duration:1.1,ease:[.3,1,.2,1]}}}),[]),M=(0,g.useMemo)(()=>{let e=structuredClone(R);return e.animate.transition.delay=1.3,e},[R]),{scrollYProgress:D}=(0,rT.useScroll)({target:v,offset:["start start","end end"]});(0,g.useEffect)(()=>{let e=()=>w({width:window.innerWidth,height:window.innerHeight});return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,g.useEffect)(()=>{let e=document.documentElement;if(!(null==p?void 0:p.current))return;let l=0,t=new IntersectionObserver(t=>{t.forEach(e=>{e.target===p.current&&(l=e.intersectionRatio)}),l>0?e.style.scrollSnapType="y proximity":e.style.scrollSnapType="none"},{root:null,threshold:[0,.05,.1,.25,.5,.75,1],rootMargin:"0px"});return t.observe(p.current),()=>{t.disconnect(),e.style.scrollSnapType=""}},[p]);let G=null!=(u=null==d?void 0:d.length)?u:0,F=Math.max(0,G-1),H=Array.from({length:G},(e,l)=>0===l?0:(l-1)/F),V=Array.from({length:G},(e,l)=>0===l?0:l/F);return(0,a.jsxs)(n.motion.div,{className:(0,b.cn)(N,"relative w-full bg-color-brand-surface-primary",l),ref:p,children:[(0,a.jsx)("div",{className:"container sticky top-0 flex flex-col items-center py-[8.25rem]",children:(0,a.jsxs)(n.motion.div,{className:"flex w-full flex-col items-center",initial:"initial",style:{opacity:L},variants:R,viewport:{once:!0},whileInView:"animate",children:[i&&(0,a.jsx)(tr.LogoGroup,{breakpointSizes:{sm:o,md:o,lg:o},className:"mb-5 sm:mb-8",logos:i.map(e=>({image:e})),priority:!0}),(0,a.jsx)(rV,{headline:t}),(k||P)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(lh.ButtonGroup,{buttonClassName:"max-sm:w-full",className:"mt-8 flex w-full flex-col gap-y-2 sm:w-auto sm:flex-row xl:hidden",primaryCta:rF(k),secondaryCta:rF(P),size:"small"}),(0,a.jsx)(lh.ButtonGroup,{buttonClassName:(0,b.cn)("h-10",C),className:"mt-8 hidden xl:flex",primaryCta:rF(k),secondaryCta:rF(P),size:"large"})]})]})}),(0,a.jsxs)(n.motion.div,{className:"container sticky top-0 flex items-center justify-center",ref:h,style:{height:B},children:[(0,a.jsx)(n.motion.div,{className:(0,b.cn)("flex items-center justify-center xl:max-h-[calc(100dvh-5rem)] xl:max-w-[calc(100dvw-5rem)] 2xl:max-h-[calc(100dvh-14.25rem)] 2xl:max-w-[calc(100dvw-15.5rem)]",{"h-full max-w-[50.625rem]":I}),initial:"initial",style:{width:T},variants:M,viewport:{once:!0},whileInView:"animate",children:"video"===s.type?(0,a.jsxs)("div",{className:(0,b.cn)("relative size-full max-h-screen",I?"aspect-square max-h-[50.625rem] max-w-[50.625rem]":"aspect-video"),children:[(0,a.jsx)("video",{"aria-hidden":"true",autoPlay:!0,className:"size-full object-cover",loop:!0,muted:!0,playsInline:!0,poster:(0,tD.getNativeVideoPosterUrl)(s),preload:tD.HERO_NATIVE_VIDEO_PRELOAD,ref:x,src:s.url,tabIndex:-1}),(0,a.jsx)(rH,{className:"absolute bottom-3 right-3",textCopies:m,videoRef:x})]}):(0,a.jsx)("figure",{className:(0,b.cn)("relative size-full",I?"aspect-square max-h-[50.625rem] max-w-[50.625rem]":"aspect-video"),children:(0,a.jsx)(ec.PolarisImage,{alt:s.alt||"",aspectRatio:(0,an.getImageAspectRatioForComponent)("ImmersiveHero"),className:"object-contain",fill:!0,focalPoint:null==s?void 0:s.focalPoint,priority:!0,quality:eh.HERO_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("ImmersiveHero")),src:s.url,transformBaseUrl:null==s?void 0:s.transformBaseUrl})})}),(0,a.jsx)(n.motion.div,{className:"pointer-events-none absolute inset-0 left-[calc((100vw-100%)/-2)] w-screen bg-black/50",style:{opacity:O}})]}),(0,a.jsxs)("div",{className:(0,b.cn)("onDark container sticky top-0 z-10 flex h-screen items-center justify-center p-16"),ref:f,children:[(0,a.jsx)("div",{className:"flex items-center justify-center",children:(0,a.jsx)("p",{className:(0,b.cn)("prose-body-medium-md w-full text-center font-bold text-color-brand-text-primary sm:prose-body-bold-lg xl:prose-utility-md sm:max-w-[36.5rem] xl:max-w-[41.5rem]"),children:(0,eM.truncateString)(r,360,!0)})}),(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0 size-full","data-overlay":!0})]}),d&&d.length>0&&(0,a.jsx)("div",{className:"onColor pointer-events-none relative z-[15] bg-color-brand-surface-primary",ref:v,children:(0,a.jsxs)(n.motion.div,{animate:j?{opacity:1,y:0}:{opacity:0,y:100},initial:{opacity:0,y:100},transition:{delay:.2,duration:.8,ease:[.3,1,.2,1]},children:[(0,a.jsx)("div",{className:"grid-layout container sticky top-0 h-screen items-center","data-images":!0,ref:y,
17children:(0,a.jsx)("div",{className:"col-start-2 col-end-7 flex h-full justify-center overflow-hidden py-14",children:(0,a.jsx)(n.motion.div,{className:"relative aspect-[548/731] h-full overflow-hidden",children:d.map((e,l)=>(0,a.jsx)(rq,{end:V[l],global:D,index:l,sequence:e,start:H[l]},l))})})}),d.map((e,l)=>{var t;return(0,a.jsx)("div",{className:(0,b.cn)("grid-layout container pointer-events-auto h-screen snap-start",{"absolute top-0 inset-x-0":0===l}),"data-text-wrapper":!0,children:(0,a.jsx)("div",{className:_,children:(0,a.jsxs)("div",{className:S,children:[(0,a.jsx)("h2",{className:"prose-brand-lg mb-4 text-color-brand-text-primary",children:e.headline}),(0,a.jsx)("p",{className:"prose-body-medium-lg text-color-utility-text-primary",children:e.bodyText}),(null==(t=e.cta)?void 0:t.url)&&(0,a.jsxs)(U.Button,{className:"mt-8 self-start xl:py-0",link:e.cta,variant:"text",children:[e.cta.text,(0,a.jsx)(rI.default,{})]})]})})},l)})]})})]})},rY=({assetVariation:e,className:l,headline:t,bodyText:r,asset:s,logoGroup:i,logoSize:o,buttonGroup:c,secondarySequence:d,textCopies:m})=>{var u;let x=(0,g.useRef)(null),p=(0,g.useRef)(null),h=(0,g.useRef)(null),f=(0,g.useRef)(null),v=(0,g.useRef)(null),y=(0,g.useRef)(null),A=rL(y,{amount:.2}),{immersiveHero:{styles:{desktopButtonClassName:w,sequence1Theme:j}}}=(0,lW.useBrandStyleContext)(),{primaryCta:C,secondaryCta:N}=null!=c?c:{},_="product"===e,{scrollYProgress:S}=(0,rT.useScroll)({target:h,offset:["start end","start start"]}),k=rD(S,e=>e>=.9?"-100%":e<=.5?0:`${(-e+.5)*100}%`),{scrollYProgress:P}=(0,rT.useScroll)({target:f,offset:["start end","start start"]}),I=rD(P,[0,1],[0,1]),E=(0,g.useMemo)(()=>({initial:{opacity:0,y:200},animate:{opacity:1,y:0,transition:{delay:1.1,duration:1.1,ease:[.3,1,.2,1]}}}),[]),B=(0,g.useMemo)(()=>{let e=structuredClone(E);return e.animate.transition.delay=1.3,e},[E]),{scrollYProgress:L}=(0,rT.useScroll)({target:v,offset:["start start","end end"]});(0,g.useEffect)(()=>{let e=document.documentElement;if(!(null==p?void 0:p.current))return;let l=0,t=new IntersectionObserver(t=>{t.forEach(e=>{e.target===p.current&&(l=e.intersectionRatio)}),l>0?e.style.scrollSnapType="y proximity":e.style.scrollSnapType="none"},{root:null,threshold:[0,.05,.1,.25,.5,.75,1],rootMargin:"0px"});return t.observe(p.current),()=>{t.disconnect(),e.style.scrollSnapType=""}},[p]);let T=null!=(u=null==d?void 0:d.length)?u:0,z=Math.max(0,T-1),O=Array.from({length:T},(e,l)=>0===l?0:(l-1)/z),R=Array.from({length:T},(e,l)=>0===l?0:l/z);return(0,a.jsxs)(n.motion.div,{className:(0,b.cn)(j,"relative w-full bg-color-brand-surface-primary",l),ref:p,children:[(0,a.jsx)(n.motion.div,{className:"container sticky top-0 z-0 flex flex-col items-center py-[8.25rem]",style:{y:k},children:(0,a.jsxs)(n.motion.div,{className:"flex w-full flex-col items-center",initial:"initial",variants:E,viewport:{once:!0},whileInView:"animate",children:[i&&(0,a.jsx)(tr.LogoGroup,{breakpointSizes:{sm:o,md:o,lg:o},className:"mb-5 sm:mb-8",logos:i.map(e=>({image:e})),priority:!0}),(0,a.jsx)(rV,{headline:t}),(C||N)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(lh.ButtonGroup,{buttonClassName:"max-sm:w-full",className:"mt-8 flex w-full flex-col gap-y-2 sm:w-auto sm:flex-row xl:hidden",primaryCta:rF(C),secondaryCta:rF(N),size:"small"}),(0,a.jsx)(lh.ButtonGroup,{buttonClassName:(0,b.cn)("h-10",w),className:"mt-8 hidden xl:flex",primaryCta:rF(C),secondaryCta:rF(N),size:"large"})]})]})}),(0,a.jsxs)(n.motion.div,{className:"sticky top-0 z-10 flex h-screen w-full items-center justify-center overflow-hidden",ref:h,children:[(0,a.jsx)(n.motion.div,{className:(0,b.cn)("flex size-full items-center justify-center","xl:max-h-[calc(100dvh-5rem)] xl:max-w-[calc(100dvw-5rem)]","2xl:max-h-[calc(100dvh-14.25rem)] 2xl:max-w-[calc(100dvw-15.5rem)]",{"max-w-[50.625rem]":_}),initial:"initial",variants:B,viewport:{once:!0},whileInView:"animate",children:"video"===s.type?(0,a.jsxs)("div",{className:(0,b.cn)("relative size-full",_?"aspect-square max-h-[50.625rem] max-w-[50.625rem]":"aspect-video"),children:[(0,a.jsx)("video",{"aria-hidden":"true",autoPlay:!0,className:"size-full object-cover",loop:!0,muted:!0,playsInl
17ine:!0,poster:(0,tD.getNativeVideoPosterUrl)(s),preload:tD.HERO_NATIVE_VIDEO_PRELOAD,ref:x,src:s.url,tabIndex:-1}),(0,a.jsx)(rH,{className:"absolute bottom-3 right-3",textCopies:m,videoRef:x})]}):(0,a.jsx)("figure",{className:"relative size-full",children:(0,a.jsx)(ec.PolarisImage,{alt:s.alt||"",aspectRatio:(0,an.getImageAspectRatioForComponent)("ImmersiveHero"),className:"object-contain",fill:!0,focalPoint:null==s?void 0:s.focalPoint,priority:!0,quality:eh.HERO_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("ImmersiveHero")),src:s.url,transformBaseUrl:null==s?void 0:s.transformBaseUrl})})}),(0,a.jsx)(n.motion.div,{className:"pointer-events-none absolute inset-0 bg-black/50",style:{opacity:I}})]}),(0,a.jsx)("div",{className:(0,b.cn)("onDark container sticky top-0 z-10 flex h-screen items-center justify-center p-16"),ref:f,children:(0,a.jsx)("p",{className:"text-center font-bold text-color-brand-text-primary sm:max-w-[36.5rem] xl:max-w-[41.5rem]",children:(0,eM.truncateString)(r,360,!0)})}),d&&d.length>0&&(0,a.jsx)("div",{className:"onColor pointer-events-none relative z-[15] bg-color-brand-surface-primary",ref:v,children:(0,a.jsxs)(n.motion.div,{animate:A?{opacity:1,y:0}:{opacity:0,y:100},initial:{opacity:0,y:100},transition:{delay:.2,duration:.8,ease:[.3,1,.2,1]},children:[(0,a.jsx)("div",{className:"grid-layout container sticky top-0 h-screen items-center","data-images":!0,ref:y,
17children:(0,a.jsx)("div",{className:"col-start-2 col-end-7 flex h-full justify-center overflow-hidden py-14",children:(0,a.jsx)(n.motion.div,{className:"relative aspect-[548/731] h-full overflow-hidden",children:d.map((e,l)=>(0,a.jsx)(rq,{end:R[l],global:L,index:l,sequence:e,start:O[l]},l))})})}),d.map((e,l)=>{var t;return(0,a.jsx)("div",{className:(0,b.cn)("grid-layout container pointer-events-auto h-screen snap-start",{"absolute top-0 inset-x-0":0===l}),"data-text-wrapper":!0,children:(0,a.jsxs)("div",{className:"col-start-7 col-end-12 flex h-full flex-col justify-center px-6",children:[(0,a.jsx)("h2",{className:"prose-brand-lg mb-4 text-color-brand-text-primary",children:e.headline}),(0,a.jsx)("p",{className:"prose-body-medium-lg text-color-utility-text-primary",children:e.bodyText}),(null==(t=e.cta)?void 0:t.url)&&(0,a.jsxs)(U.Button,{className:"mt-8 self-start xl:py-0",link:e.cta,variant:"text",children:[e.cta.text,(0,a.jsx)(rI.default,{})]})]})},l)})]})})]})};var rX=e.i(107576),r$=e.i(259911),rZ=e.i(235144),rK=e.i(117751),rJ=e.i(536925);let r0=["left_media_bottom_text","left_media_top_text","right_media_bottom_text","right_media_top_text","top_media_bottom_text","bottom_media_top_text"],r1={left_media_bottom_text:{content:"space-y-2 sm:col-span-5 content-end",media:"sm:col-span-7"},left_media_top_text:{content:"space-y-2 sm:col-span-5",media:"max-sm:first:hidden sm:last:hidden sm:col-span-7"},right_media_bottom_text:{content:"space-y-2 sm:col-span-5 content-end",media:"max-sm:last:hidden sm:first:hidden sm:col-span-7"},right_media_top_text:{content:"space-y-2 sm:col-span-5",media:"sm:col-span-7"},top_media_bottom_text:{container:"sm:gap-y-6 xl:gap-y-8",content:"justify-between max-sm:space-y-2 sm:col-span-full sm:flex xl:col-start-2 xl:col-end-12",description:"sm:w-[48.865%] xl:w-[38.298%]",media:"sm:col-span-full xl:col-start-2 xl:col-end-12",title:"sm:w-[40.342%] xl:w-[50.976%]"},bottom_media_top_text:{container:"sm:gap-y-6 xl:gap-y-8",content:"justify-between max-sm:space-y-2 sm:col-span-full sm:flex xl:col-start-2 xl:col-end-12",description:"sm:w-[48.865%] xl:w-[38.298%]",media:"sm:col-span-full xl:col-start-2 xl:col-end-12",title:"sm:w-[40.342%] xl:w-[50.976%]"}},r2=({description:e,id:l,media:t,textCopies:r={},themeClass:s,title:i,variant:o,optionalClasses:n,trackingHandlers:c})=>{if(!(null==t?void 0:t.url)||!r0.includes(o))return null;let d="image"===t.type,m=["left_media_bottom_text","left_media_top_text"].includes(o),u="bottom_media_top_text"===o,x="top_media_bottom_text"===o,p=["left_media_bottom_text","right_media_bottom_text","top_media_bottom_text"].includes(o),h={container:(0,b.cn)("grid-layout container py-10 max-sm:gap-4 xl:py-14",r1[o].container),content:(0,b.cn)("col-span-full",r1[o].content),description:(0,b.cn)("prose-body-medium-xs text-color-brand-text-secondary xl:prose-body-medium-sm",r1[o].description),media:(0,b.cn)("relative col-span-full aspect-video rounded-card-corner-radius-lg [&_video]:rounded-card-corner-radius-lg",r1[o].media),title:(0,b.cn)("prose-brand-3xs text-color-brand-text-primary sm:prose-brand-2xs xl:prose-brand-md",r1[o].title)},f=()=>{var e,l;return d?(0,a.jsxs)("figure",{className:h.media,children:[(0,a.jsx)(ec.PolarisImage,{alt:t.alt||"",aspectRatio:(0,an.getImageAspectRatioForComponent)("MediaBreaker"),className:"rounded-card-corner-radius-lg object-cover md:hidden",fill:!0,focalPoint:null==t?void 0:t.focalPoint,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("MediaBreaker")),src:(null==(e=t.sizes)?void 0:e.md)||(null==(l=t.sizes)?void 0:l.lg)||t.url,transformBaseUrl:null==t?void 0:t.transformBaseUrl}),(0,a.jsx)(ec.PolarisImage,{alt:t.alt||"",aspectRatio:(0,an.getImageAspectRatioForComponent)("MediaBreaker"),className:"hidden rounded-card-corner-radius-lg object-cover md:block",fill:!0,focalPoint:null==t?void 0:t.focalPoint,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("MediaBreaker")),src:t.url,transformBaseUrl:null==t?void 0:t.transformBaseUrl})]}):(0,a.jsx)(ts.VideoPlayer,{className:h.media,coverImage:t.videoCoverImage,info:(null==t?void 0:t.alt)||i||"",sourceUrl:t.url,streamingUrl:t.streamingUrl,textCopies:r,title:(null==t?void 0:t.alt)||i||"",tooltipType:"thumbnail",trackingHandlers:c})};return(0,a.jsx)("section",{className:(0,b.cn)(s,n||"bg-color-brand-surface-primary"),id:l,children:(0,a.jsxs)("div",{className:(0,b.cn)(h.container),children:[(m||p)&&!u&&(0,a.jsx)(f,{}),(i||e)&&(0,a.jsxs)("div",{className:h.content,children:[i&&(0,a.jsx)("h2",{className:h.title,children:(0,eM.renderWithSuperscript)(i)}),e&&(0,a.jsx)("p",{className:h.description,children:e})]}),(!m||!p)&&!x&&(0,a.jsx)(f,{})]})})};var r5=e.i(226028),r3=e.i(989937),r4=e.i(807155),r6=e.i(166269),r7=e.i(250445),r8=e.i(112885),r9=e.i(407813),se=e.i(382195),sl=e.i(179838),st=e.i(193009),sa=e.i(521528),sr=e.i(718780),ss=e.i(171346),si=e.i(714660),so=function(e,l){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>l.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)0>l.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(t[a[r]]=e[a[r]]);return t},sn=e.i(60042),sc=e.i(863187),sd=e.i(177754),sm=e.i(215675);let su=({className:e})=>(0,a.jsx)("svg",{className:(0,b.cn)("text-color-brand-surface-accent",e),fill:"none",height:"105",viewBox:"0 0 104 105",width:"104",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{clipRule:"evenodd",d:"M80.0019 80.5V24.5H24.0018L80.0019 80.5Z",fill:"currentColor",fillRule:"evenodd"})});var sx=e.i(652964),sp=e.i(397267),sh=e.i(389841),sf=e.i(433901),sg=e.i(749870);let sb=["twoUp","threeUp","fourUp","fiveUp"];var sv=e.i(249139),sy=function(e,l){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>l.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)0>l.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(t[a[r]]=e[a[r]]);return t};function sA(e){let l=e;for(;l;){if(l instanceof HTMLVideoElement||l instanceof HTMLAudioElement)return!0;
17if(l instanceof HTMLElement){let e=l.tagName;if(/^BVD-/i.test(e))return!0;let t=l.className,a="string"==typeof t?t:String(null!=t?t:"");if(l.hasAttribute("bvd-manifest-url")||l.hasAttribute("bvd-autoplay")||l.hasAttribute("bvd-muted")||l.hasAttribute("bvd-poster")||l.classList.contains("shaka-controls-container")||l.classList.contains("shaka-video-container")||l.classList.contains("shaka-client-side-ad-container")||/\bshaka-/i.test(a)||/\bbvd-/i.test(a))return!0}let e=l.parentNode;if(e)l=e;else{let e=l.getRootNode();if(e instanceof ShadowRoot)l=e.host;else break}}return!1}function sw(e){e.preventDefault(),e.stopImmediatePropagation()}function sj(e){var l;let t=null==(l=e.checkVisibility)?void 0:l.call(e,{checkOpacity:!0,checkVisibilityCSS:!0});if("boolean"==typeof t)return t;let a=getComputedStyle(e);return"none"!==a.display&&"hidden"!==a.visibility&&e.getClientRects().length>0}function sC(){var e;let l=document.activeElement;for(;null==(e=null==l?void 0:l.shadowRoot)?void 0:e.activeElement;)l=l.shadowRoot.activeElement;return l instanceof HTMLElement?l:null}function sN(e,l){let t=l;for(;t;){if(t===e)return!0;let l=t.parentNode;if(l)t=l;else{let e=t.getRootNode();if(e instanceof ShadowRoot)t=e.host;else break}}return!1}let s_={ParagraphBasic1up:t2,ParagraphBasicCardPackage:t5.BasicCardPackage,ParagraphArticleCardGroup:t5.BasicCardPackage,ParagraphCampaignCardGroup:t5.BasicCardPackage,ParagraphProductCardGroup:t5.BasicCardPackage,ParagraphProductListingCardGroup:t5.BasicCardPackage,ParagraphUtilityCardGroup:t5.BasicCardPackage,ParagraphSystemCardGroup:t5.BasicCardPackage,ParagraphCardScroller:t7.CardScroller,ParagraphCarousel1up:ai,ParagraphMediaBreaker:r2};var sS=e.i(346488),sk=e.i(747437),sP=e.i(372854),sI=e.i(888356),sE=e.i(32273),sB=e.i(84114),sL=e.i(582685),sT=e.i(73836);e.s([],528977),e.i(528977),e.s([],553334),e.i(553334);var sz=e.i(336037);e.s([],261275),e.i(261275),e.s([],665579),e.i(665579),e.s([],157148),e.i(157148);var sO=e.i(7856),sR=e.i(564338);e.s([],828921),e.i(828921),e.s([],401234),e.i(401234);var sM=e.i(263132);let sU={themeClass:"onLight",list:Array.from({length:10}).map((e,l)=>({name:`Label - ${l}`,subName:`Sub label - ${l}`}))},sD={basic:sU};e.s(["DROPDOWN_LIST_PROPS_BASIC_EXAMPLE",0,sU,"DROPDOWN_LIST_PROPS_EXAMPLES",0,sD],632972),e.i(632972);var sG=e.i(862833),sF=e.i(121405),sH=e.i(627764),sV=e.i(782289),sQ=e.i(103926),sq=e.i(208060),sW=e.i(159897),sY=e.i(422382),sX=e.i(175896),s$=e.i(847744),sZ=e.i(997591),sK=e.i(787777);let sJ=["de","es","fi","fr","nl","no","pt","sv"];function s0(e){return e.trim().toLowerCase().split(/[-_]/)[0]}var s1=e.i(468347),s2=e.i(406567),s5=e.i(525346),s3=e.i(161350),s4=e.i(604245),s6=e.i(934761),s7=e.i(426292),s8=e.i(680357);let s9=["accessible","access_time","access_time_filled","account_circle","ac_unit","add_alarm","add_chart","air","all_inclusive","arrow_back_ios","article","assessment","autorenew","av_timer","battery_charging_full","battery_full","battery_std","brightness_low","build","chat","check","check_circle","compress","construction","contact_mail","credit_card","data_exploration","date_range","design_services","domain_verification","download","eco","electric_bolt","email","emoji_events","energy_savings_leaf","engineering","fact_check","factory","fast_forward","favorite","file_copy","file_download","gavel","gpp_good","handyman","help_center","history_toggle_off","home","home_repair_service","house_siding","image","language","launch","local_florist","local_gas_station","local_library","location_on","looks_3","looks_4","looks_one","looks_two","mail","mail_outline","man","menu_book","message","new_releases","next_week","notifications_active","phone","phone_android","phone_iphone","pin","play_arrow","play_circle","play_circle_filled","power_off","question_answer","rate_review","recycling","report_problem","restore_from_trash","room","safety_check","sell","settings","shield","shopping_cart","speed","stars","supp
17ort","support_agent","thumb_up","tips_and_updates","verified","verified_user","visibility","volume_down","water_drop","wb_incandescent","web","compare","search","shopping_bag","place","wrench","playlist_add","security","description"],ie=`https://fonts.googleapis.com/css2?family=Material+Icons&icon_names=${encodeURIComponent([...s9].sort().join(","))}&display=block`;var il=e.i(165212);e.s(["ACCESSORY_PRODUCT_CLASSIFICATION",()=>s4.ACCESSORY_PRODUCT_CLASSIFICATION,"ACCOUNT_MENU_TEST_IDS",()=>tT.ACCOUNT_MENU_TEST_IDS,"APPROVED_MATERIAL_ICONS",0,s9,"AccessibilityBanner",()=>ld.AccessibilityBanner,"Accordion",()=>l.Accordion,"AccordionCard",0,lu,"AccordionList",()=>tB.AccordionList,"AccordionPanel",0,lv,"AccountButton",()=>t.AccountButton,"AccountHero",()=>tL.AccountHero,"AccountMenu",()=>tT.AccountMenu,"AddedToCart",()=>tz.AddedToCart,"AddressCard",()=>lA.AddressCard,"AddressForm",()=>tO.AddressForm,"AlertToast",()=>lw.AlertToastProvider,"AnchorNavigation",()=>tR.AnchorNavigation,"ArticleCardHeader",()=>lj.ArticleCardHeader,"ArticleHero",()=>tM.ArticleHero,"AutoCarouselPagination",0,w,"Avatar",0,({text:e,type:l="initials"})=>(0,a.jsx)(T,{className:"prose inline-flex size-10 select-none items-center justify-center overflow-hidden rounded-full bg-color-brand-surface-primary align-middle",children:(0,a.jsxs)(R,{className:"prose-avatar flex size-full items-center  justify-center bg-color-brand-surface-primary uppercase text-color-brand-icon-primary",children:["initials"===l&&e,"icon"===l&&(0,a.jsx)(j.default,{className:"text-color-brand-icon-primary"})]})}),"BASIC1_UP_MEDIA_RATIO",0,["1:1","2:3","3:2","3:4","4:3","5:3","9:16","16:9"],"BAZAARVOICE_REVIEWS_TEST_IDS",()=>t4.BAZAARVOICE_REVIEWS_TEST_IDS,"Basic1Up",0,t2,"BasicCardPackage",()=>t5.BasicCardPackage,"BasicHero",()=>t3.BasicHero,"BazaarvoiceReviews",()=>t4.BazaarvoiceReviews,"BazaarvoiceReviewsShow",()=>sz.BazaarvoiceReviewsShow,"Breadcrumb",()=>t6.Breadcrumb,"Button",()=>U.Button,"ButtonGroup",()=>lh.ButtonGroup,"ButtonToggle",()=>D.ButtonToggle,"CARD_TYPES",()=>sM.CARD_TYPES,"COMMERCE_FULFILLMENT_TEST_IDS",()=>s$.COMMERCE_FULFILLMENT_TEST_IDS,"CardScroller",()=>t7.CardScroller,"Carousel1Up",0,ai,"CarouselArrows",()=>lC.CarouselArrows,"CarouselPagination",()=>G.CarouselPagination,"CarouselTestimonial",0,({bodyText:e,eyebrow:l,headline:t,id:r,onArrowNavigationClick:s,onDotNavigationClick:i,onProductCardClick:o,slides:n,textCopies:c,themeClass:d})=>{let[m,u]=(0,g.useState)(0),x=(0,g.useRef)([]),p=(0,g.useRef)(null),{isMobile:h}
17=(0,tG.useBreakpoint)(),{brand:f,carouselTestimonial:v}=(0,lW.useBrandStyleContext)(),{content:y,figure:A,quoteText:w}=(null==v?void 0:v.styles)||{},j=["onLight","onDark"].includes(d)?"onColor":"onLight",C=t&&t.length>64?(0,eM.truncateString)(t,64,!0):t,N=e&&e.length>360?(0,eM.truncateString)(e,360,!0):e,_=({title:e})=>()=>{null==o||o({clickText:e})},S=(e=0)=>{x.current.forEach((l,t)=>{null==l||l.querySelectorAll("a, button, video").forEach(l=>l.setAttribute("tabindex",e===t?"0":"-1"))})};return(0,g.useEffect)(()=>{var e;null==(e=p.current)||e.slickGoTo(m)},[m]),(0,a.jsxs)("div",{className:(0,b.cn)(ac.container,d),id:r,children:[(0,a.jsx)(t_.SectionHeader,{breakpointSizes:{sm:"small",md:"small",lg:"small"},className:ac.header,description:N,eyebrow:l,heading:C,leftAriaLabel:null==c?void 0:c.goToPrevSlide,rightAriaLabel:null==c?void 0:c.goToNextSlide}),(0,a.jsx)(t8.default,{accessibility:!0,afterChange:S,arrows:!1,beforeChange:(e,l)=>{var t,a;u(l),null==(a=null==(t=x.current[e])?void 0:t.querySelector("video"))||a.pause()},centerMode:!1,className:ac.slider,draggable:!1,infinite:!1,onInit:S,ref:p,slidesToScroll:1,slidesToShow:1,speed:200,children:n.map((e,l)=>{var t,r,s,i,o,n,d,m,u,p,g,v,C,N;return(0,a.jsx)("div",{className:"!inline-flex",ref:e=>{x.current[l]=e},children:(0,a.jsxs)("div",{className:ac.slide.inner,children:[(null==(t=e.asset)?void 0:t.url)&&(0,a.jsx)("figure",{className:(0,b.cn)(ac.slide.figure,A),children:"image"===e.asset.type?(0,a.jsx)(ec.PolarisImage,{alt:e.asset.alt||"",aspectRatio:(0,an.getImageAspectRatioForComponent)("CarouselTestimonial"),className:ac.slide.media(!1),fill:!0,focalPoint:null==(r=e.asset)?void 0:r.focalPoint,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("CarouselTestimonial")),src:(null==(s=e.asset.sizes)?void 0:s.lg)||e.asset.url,style:{objectFit:"cover"},transformBaseUrl:null==(i=e.asset)?void 0:i.transformBaseUrl}):(0,a.jsx)(ts.VideoPlayer,{className:ac.slide.media(!0),controlsPlacement:h?"bottom-right":"bottom-left",coverImage:e.asset.videoCoverImage,hideMuteButton:!0,info:e.asset.alt||"",sourceUrl:e.asset.url,streamingUrl:e.asset.streamingUrl,textCopies:c,title:e.asset.alt||"",tooltipType:"thumbnail"})}),(0,a.jsxs)("article",{className:(0,b.cn)(j,ac.content,y),children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(eE,{className:(0,b.cn)(ac.quote.icon),theme:f||"Dewalt"}),(0,a.jsxs)("div",{className:ac.quote.content,children:[(0,a.jsx)("h3",{className:(0,b.cn)(ac.quote.text,w),children:e.quote.length>190?(0,eM.truncateString)(e.quote,190,!0):e.quote}),(0,a.jsxs)("div",{className:ac.attribution.container,children:[(0,a.jsx)("figure",{className:ac.attribution.avatarFigure,children:e.avatar.url&&(0,a.jsx)(ec.PolarisImage,{alt:e.avatar.alt||"","aria-hidden":"true",className:ac.attribution.avatarImage,fill:!0,focalPoint:null==(o=e.avatar)?void 0:o.focalPoint,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:"100vw",src:(null==(n=e.avatar.sizes)?void 0:n.md)||e.avatar.url,style:{objectFit:"cover"},transformBaseUrl:null==(d=e.avatar)?void 0:d.transformBaseUrl})}),(0,a.jsxs)("div",{className:ac.attribution.copy,children:[(0,a.jsx)("p",{className:ac.attribution.fullName,children:e.fullName}),(0,a.jsxs)("p",{className:ac.attribution.secondLine,children:[e.secondLineAttribution.icon&&(0,a.jsx)(ad,{className:ac.attribution.icon,icon:e.secondLineAttribution.icon}),(0,a.jsx)("span",{children:e.secondLineAttribution.text})]})]})]})]})]}),(null==(m=e.horizontalProductCard)?void 0:m.name)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(lm.HorizontalProductCard,{...e.horizontalProductCard,className:"onLight hidden xl:flex",hidePin:!0,onClickCta:_({title:(null==(u=e.horizontalProductCard)?void 0:u.name)||(null==(g=null==(p=e.horizontalProductCard)?void 0:p.cta)?void 0:g.text)||e.horizontalProductCard.longName||""}),size:"large"}),(0,a.jsx)(lm.HorizontalProductCard,{...e.horizontalProductCard,className:"onLight min-w-[auto] xl:hidden",hidePin:!0,onClickCta:_({title:(null==(v=e.horizontalProductCard)?void 0:v.name)||(null==(N=null==(C=e.horizontalProductCard)?void 0:C.cta)?void 0:N.text)||e.horizontalProductCard.longName||""}),size:"small"})]})]})]})},l)})}),n&&n.length>1&&(0,a.jsx)(G.CarouselPagination,{arrowsClassName:ac.pagination.arrows,bulletsClassName:ac.pagination.bullets,className:ac.pagination.container,hasArrows:!0,onClickNext:()=>{var e;null==s||s({direction:"next"}),null==(e=p.current)||e.slickNext()},onClickPrev:()=>{var e;null==s||s({direction:"prev"}),null==(e=p.current)||e.slickPrev()},onDotNavigationClick:i,page:m,setPage:u,size:"responsive",textCopies:c,totalPages:n.length})]})},"CategoryPill",()=>F.CategoryPill,"ChangeEmail",()=>lN.ChangeEmail,"Checkbox",()=>H.Checkbox,"ColorSelector",0,({color:e,colorName:l,disabled:t,defaultValue:r,onValueChange:s})=>(0,a.jsx)(V.RadioCards.Root,{defaultValue:r,onValueChange:s,children:(0,a.jsxs)(V.RadioCards.Item,{"aria-label":`color ${l}`,className:(0,b.cn)("relative flex size-10 items-center justify-between rounded-full border-[0.09375rem] border-transparent p-1 hover:enabled:border-color-brand-border-primary","data-[state=checked]:enabled:border-[0.09375rem] data-[state=checked]:enabled:border-color-brand-border-contrast","gap-x-5 [&[data-state=checked]_.secondary-text]:text-color-utility-text-inverse","[&[disabled]_.image-container]:opacity-50 [&[disabled]_.text]:text-color-utility-text-disabled","[&[data-state=checked]_.add-icon]:hidden [&[data-state=checked]_.check-icon]:block","disabled:border-color-brand-border-secondary [&[disabled]_.color]:opacity-20 [&[disabled]_.line]:block"),disabled:t,value:e,children:[(0,a.jsx)("div",{className:"color size-full rounded-full",style:{backgroundColor:e}}),(0,a.jsx)("div",{className:"line absolute right-[1.0625rem] hidden h-full w-[0.09375rem] rotate-45 bg-color-brand-border-secondary"})]})}),"CommerceFulfillment",()=>sX.CommerceFulfillment,"ComparisonBanner",()=>am.ComparisonBanner,"ComparisonModal",()=>au.ComparisonModal,"ComparisonProductCard",0,({className:e,id:l,productImage:t,productSku:r,productName:s,price:i,strikethroughPrice:o,promotions:n,cta:c,onCtaClick:d,onDeleteClick:m,onInfoCl
17ick:u,infoIconAriaLabel:x})=>{var p,h;let f=(0,lP.hasUsableProductPrice)(i,o);return(0,a.jsxs)("div",{className:(0,b.cn)(lE,e),"data-testid":"comparison-product-card-container",id:l,children:[t&&(0,a.jsx)("div",{className:"relative flex aspect-square size-[6.25rem] shrink-0 items-center justify-center overflow-hidden sm:size-[8.75rem] xl:size-[10.5rem]","data-testid":"comparison-product-card-image",children:(0,a.jsx)(ec.PolarisImage,{alt:null!=(p=t.alt)?p:"",className:"object-cover",fill:!0,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("ComparisonModalProduct")),src:t.url})}),(0,a.jsxs)("div",{className:"flex w-full flex-col items-center gap-2",children:[r&&(0,a.jsx)("p",{className:"prose-label-medium-xs w-full text-center uppercase text-color-utility-text-secondary","data-testid":"comparison-product-card-sku",children:r}),(0,a.jsxs)("div",{className:"flex w-full flex-col items-center gap-2",children:[(0,a.jsx)(U.Button,{className:"border-none text-center hover:underline",size:"medium",variant:"link",...s,children:(0,a.jsx)("span",{children:null==(h=s.link)?void 0:h.text})}),f&&i&&(0,a.jsxs)("div",{className:"flex w-full flex-wrap items-center justify-center gap-1",children:[(0,a.jsxs)("div",{className:"flex shrink-0 items-start gap-0.5",children:[(0,a.jsx)("p",{className:"prose-label-bold-md whitespace-nowrap text-center text-color-utility-text-primary","data-testid":"comparison-product-card-price",children:(0,lk.formatCurrency)(i,"USD")}),(0,a.jsx)("button",{"aria-label":x||"View pricing disclaimer",className:"inline-flex items-center justify-center","data-testid":"comparison-product-card-info-button",onClick:e=>{e.preventDefault(),e.stopPropagation(),null==u||u()},type:"button",children:(0,a.jsx)(lS.default,{className:"!size-[1.125rem] text-color-utility-text-primary"})})]}),o&&(0,a.jsx)("p",{className:"prose-label-bold-md whitespace-nowrap text-center text-color-utility-text-tertiary line-through","data-testid":"comparison-product-card-strikethrough-price",children:(0,lk.formatCurrency)(o,"USD")})]}),f&&n&&(0,a.jsx)("div",{"data-testid":"comparison-product-card-promotions",children:(0,a.jsx)(lI.Promotions,{...n})})]})]}),c&&(0,a.jsx)(U.Button,{className:"w-fit","data-testid":"comparison-product-card-cta",onClick:d,size:"small",variant:"solid",children:c.text}),m&&(0,a.jsx)("div",{className:"absolute right-1 top-2",children:(0,a.jsx)(ee.IconButton,{Icon:l_.default,"aria-label":"Remove product",className:"rounded-full p-1 text-color-utility-icon-hover hover:bg-color-brand-surface-secondary","data-testid":"comparison-product-card-delete-button",onClick:m,size:"medium",variant:"ghost"})})]})},"ComparisonTableBreaker",0,e=>{var{products:l,specs:t,textCopies:r,className:s}=e,i=ah(e,["products","specs","textCopies","className"]);let[o,n]=(0,g.useState)(!1),c=t.filter(e=>e.values.some(e=>""!==e)),d=c.length>10,m=o?c:c.slice(0,10),u=l.length,x="comparison-table-specs",{isMobile:p}
17=(0,tG.useBreakpoint)();return(0,a.jsx)("section",{className:(0,b.cn)("w-full bg-color-brand-surface-tertiary px-4 md:px-8 2xl:px-[9.75rem] py-10 2xl:py-14","onLight",s),...i,children:(0,a.jsxs)("div",{className:(0,b.cn)("w-full max-w-container mx-auto bg-color-brand-surface-primary rounded-xl px-4 pt-6 pb-4 xl:pt-8 xl:pb-5"),children:[(0,a.jsx)("div",{className:(0,b.cn)("w-full overflow-x-auto"),children:(0,a.jsxs)("div",{className:(0,b.cn)("inline-flex flex-col min-w-full gap-8"),children:[(0,a.jsxs)("div",{className:(0,b.cn)("flex w-full"),children:[(0,a.jsx)("div",{"aria-hidden":"true",className:(0,b.cn)("hidden xl:flex flex-1 min-w-[10rem] shrink-0")}),l.map(e=>{var l,t,r,s,i,o;return(0,a.jsx)("div",{"aria-label":e.name,className:(0,b.cn)("flex-1 min-w-[10rem] shrink-0 flex flex-col items-center px-3 2xl:px-5"),children:(0,a.jsxs)(ap.Link,{className:(0,b.cn)("flex flex-col items-center gap-4 w-full focus:outline-none focus:ring-2 focus:ring-color-brand-border-primary rounded-lg"),href:(null==(l=e.cta)?void 0:l.url)||"#",...(null==(t=e.cta)?void 0:t.external)&&{target:e.cta.target||"_blank",rel:"noopener noreferrer"},children:[(0,a.jsx)("figure",{className:(0,b.cn)("size-[8.75rem] xl:size-[10.5rem] overflow-clip [&_img]:size-full"),children:(0,a.jsx)(ec.PolarisImage,{alt:(null==(r=e.image)?void 0:r.alt)||e.name||"",className:"object-contain",focalPoint:null==(s=e.image)?void 0:s.focalPoint,height:168,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("ComparisonTableBreaker")),src:(null==(i=e.image)?void 0:i.url)||"",transformBaseUrl:null==(o=e.image)?void 0:o.transformBaseUrl,width:168})}),(0,a.jsxs)("div",{className:(0,b.cn)("flex flex-col gap-2 items-start w-full"),children:[(0,a.jsx)("div",{className:(0,b.cn)("prose-eyebrow-medium-sm text-color-brand-text-secondary uppercase"),children:e.sku}),(0,a.jsx)("div",{className:(0,b.cn)("prose-label-bold-sm text-color-utility-text-primary line-clamp-2 w-full"),children:e.name})]})]})},e.sku)})]}),(0,a.jsx)("div",{className:(0,b.cn)("w-full"),id:x,role:"table",children:m.map((e,l)=>(0,a.jsxs)("div",{className:(0,b.cn)("flex flex-col xl:flex-row xl:min-h-[3.75rem]",l%2==0?"xl:bg-color-utility-fill-secondary xl:rounded-sm":"bg-transparent"),role:"row",children:[(0,a.jsx)("div",{className:(0,b.cn)("w-full xl:w-auto xl:flex-1 xl:min-w-[10rem] shrink-0 prose-label-semibold-sm text-color-utility-text-primary py-5 px-3 flex items-center bg-color-utility-fill-secondary rounded-sm xl:bg-transparent xl:rounded-none"),role:"rowheader",children:e.label}),(0,a.jsx)("div",{className:(0,b.cn)("flex xl:contents"),children:e.values.slice(0,u).map((l,t)=>(0,a.jsx)("div",{className:(0,b.cn)("flex-1 min-w-[10rem] shrink-0 prose-label-medium-sm text-color-utility-text-primary py-5 px-3 flex items-center break-all"),role:"cell",children:l||"—"},`${e.label}-${t}`))})]},e.label))})]})}),d&&(0,a.jsx)("div",{className:(0,b.cn)("flex justify-start md:justify-center pt-8"),children:(0,a.jsx)(U.Button,{RightIcon:o?ax.default:X.default,"aria-controls":x,"aria-expanded":o,onClick:()=>n(!o),size:p?"small":"large",variant:"button-solid",children:o?(null==r?void 0:r.viewLessSpecs)||"View Less Specs":(null==r?void 0:r.viewMoreSpecs)||"View More Specs"})})]})})},"ConfirmModal",()=>lB.ConfirmModal,"ContentHubHero",()=>af.ContentHubHero,"CopyItem",0,({type:e,text:l,texts:t,variant:r,size:s,eyebrow:i,fontWeight:o="normal"})=>(0,a.jsxs)("div",{className:"onLight min-w-[7.5rem] max-w-[11.25rem]",children:[(0,a.jsx)("div",{className:(0,b.cn)({small:"prose-label-medium-xs",large:"prose-label-medium-sm"}[s],"mb-0.5 text-color-brand-text-tertiary"),children:i}),"text"===e&&(0,a.jsx)("div",{className:(0,b.cn)({"bold-small":"prose-label-bold-sm","bold-large":"prose-label-bold-md","normal-small":"prose-label-medium-sm","normal-large":"prose-label-medium-md"}[`${o}-${s}`],"text-color-utility-text-primary"),children:l}),"status"===e&&l&&r&&(0,a.jsx)("div",{className:"mt-1",children:(0,a.jsx)(Q.StatusPill,{size:s,text:l,variant:r})}),"pill"===e&&t&&(0,a.jsx)("div",{className:"mt-1 flex flex-wrap gap-1",children:t.map((e,l)=>(0,a.jsx)(F.CategoryPill,{size:s,text:e},l))})]}),"CtaBlock",0,({columns:e,cta:l,id:t,themeClass:r="onLight",variant:i="dual_button"})=>{var o,n;if("multi_column"===i)return(0,a.jsx)("div",{className:(0,b.cn)(r,"col-span-full w-full py-6"),id:t,children:(0,a.jsx)(lT,{columns:null!=e?e:[]})});let c={dual_button:{primary:"solid",secondary:"outline"},button_link:{primary:"solid",secondary:"text"},dual_text_link:{primary:"text",secondary:"text"}};return(0,a.jsxs)("div",{className:(0,b.cn)(r,"col-span-full flex w-full gap-2 gap-y-5 py-6 md:mx-auto md:w-10/12 lg:w-1/2","dual_text_link"===i&&"gap-4"),id:t,children:[(0,a.jsx)(U.Button,{RightIcon:"text"===c[i].primary?s.default:void 0,className:(0,b.cn)("max-sm:size-fit max-sm:max-w-[50%]","text"===c[i].primary&&"px-2"),link:null==l?void 0:l.primaryCta,variant:c[i].primary,children:null==(o=null==l?void 0:l.primaryCta)?void 0:o.text}),(0,a.jsx)(U.Button,{RightIcon:"text"===c[i].secondary?s.default:void 0,className:(0,b.cn)("max-sm:size-fit max-sm:max-w-[50%]","text"===c[i].secondary&&"px-2"),link:null==l?void 0:l.secondaryCta,variant:c[i].secondary,children:null==(n=null==l?void 0:l.secondaryCta)?void 0:n.text})]})},"CuratedSolutionPackage",0,({className:e,id:l,themeClass:t="onLight",headline:r,body:s,backgroundImage:i,variant:o="image",gradientPlacement:n="left",logos:c=[],primaryCta:d,secondaryCta:m,cards:u=[],onNextClick:x,onPrevClick:p,handleCtaClick:h,handleProductCardOnClick:f,handleProductCategoryCardOnClick:v,handleProductCategoryCtaCl
17ick:y,handleNavigationClick:A})=>{var w,j,C,N,_,S,k;let P=(0,g.useRef)(null),{globalFallbackImage:I}=(0,lp.useGlobalElements)(),[E,B]=(0,g.useState)(0),L=c.length>0&&c.length<=2,T="image"===o&&i,z=u.length,O=z>0,R="solid"===o,M=R?1:2,U=!!R,D=Math.max(0,z-M),G=!R&&0===E,F=!R&&E>=D,H=z>M,V=(0,an.getBreakpointAspectRatios)("CuratedSolutionPackage"),{curatedSolutionPackage:Q,brand:q}=(0,lW.useBrandStyleContext)(),W=L?(0,a.jsx)("div",{className:"flex items-center justify-start gap-1",children:c.slice(0,2).map((e,l)=>(0,a.jsx)("div",{className:(0,b.cn)("bg-colors-neutral-200 relative","h-6 w-9","sm:h-8 sm:w-12","lg:h-10 lg:w-[3.75rem]"),children:(0,a.jsx)(ec.PolarisImage,{alt:e.alt,fill:!0,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("CuratedSolutionPackageLogo")),src:e.src,style:{objectFit:"contain"}})},l))}):null,Y=(0,a.jsxs)("div",{className:"flex w-full flex-col items-start justify-start gap-2 sm:gap-4",children:[(0,a.jsx)("div",{className:"flex w-full flex-col items-start justify-center gap-3",children:(0,a.jsx)("h2",{className:(0,b.cn)("text-color-brand-text-primary",R?"prose-brand-md":"prose-brand-sm","sm:prose-brand-md","xl:prose-brand-2xl"),children:r})}),s&&(0,a.jsx)("p",{className:(0,b.cn)("text-color-brand-text-secondary","prose-body-medium-sm","xl:prose-body-medium-md","line-clamp-6"),children:s})]}),X=e=>{if(!e||!h)return e;let l=e.onClick;return Object.assign(Object.assign({},e),{onClick:t=>{null==l||l(t),h({clickText:e.text||""})}})},$=(d||m)&&(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(lh.ButtonGroup,{buttonClassName:"max-sm:w-[stretch]",className:"flex flex-row items-center justify-start gap-2",primaryCta:X(d),secondaryCta:X(m),size:"small",themeClass:R?({"Cub Cadet":{onLight:"onColor",onGray:"onLight",onDark:"onColor",onColor:"onLight"},Craftsman:{onLight:"onColor",onGray:"onLight",onDark:"onColor",onColor:"onLight"},Dewalt:{onLight:"onColor",onGray:"onLight",onDark:"onDark",onColor:"onLight"},Stanley:{onLight:"onColor",onGray:"onLight",onDark:"onColor",onColor:"onLight"}})[null!=q?q:"Dewalt"][t]:"onDark"})}),Z=O&&H&&(0,a.jsx)("div",{className:(0,b.cn)("hidden flex-col gap-2.5 xl:flex",R?"items-start":"items-end"),children:(0,a.jsx)(lC.CarouselArrows,{disabledNext:F,disabledPrev:G,onClickNext:()=>{var e;null==(e=P.current)||e.slickNext(),null==x||x(),null==A||A({clickText:"next"})},onClickPrev:()=>{var e;null==(e=P.current)||e.slickPrev(),null==p||p(),null==A||A({clickText:"prev"})},size:"large",variant:"solid"})}),K=O&&(0,a.jsx)("div",{className:(0,b.cn)("hidden xl:block",R?"col-start-5 col-end-10":"col-span-full overflow-visible xl:col-start-7"),children:(0,a.jsx)("div",{className:"flex gap-8 py-2.5",children:u.map((e,l)=>(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)(av,{card:e,cardSize:ab[o].lg,fallbackImage:I,index:l,isSolidVariant:R,onClick:{productCategorySelection:v,cardClick:f,productCategoryCtaClick:y}})},l))})}),J=O&&(0,a.jsx)("div",{className:(0,b.cn)("hidden xl:block",R?"":"overflow-visible"),children:(0,a.jsx)(t8.default,{className:(0,b.cn)("-mx-4 [&_.slick-list]:!overflow-visible [&_.slick-list]:py-2.5","[&_.slick-track]:flex [&_.slick-track]:gap-8","[&_.slick-slide>div>div]:h-full [&_.slick-slide>div]:h-full [&_.slick-slide]:h-auto [&_.slick-slide_article]:h-[calc(100%-2px)]"),ref:P,...{speed:200,slidesToShow:M,slidesToScroll:1,accessibility:!0,centerPadding:"14.25rem",draggable:!1,infinite:R,centerMode:U,arrows:!1,beforeChange:(e,l)=>B(l),responsive:[{breakpoint:768,settings:{centerPadding:"1.875rem",slidesToShow:1}}]},children:u.map((e,l)=>(0,a.jsx)("div",{className:"h-full xl:!flex",children:(0,a.jsx)(av,{card:e,cardSize:ab[o].lg,fallbackImage:I,index:l,isSolidVariant:R,onClick:{productCategorySelection:v,cardClick:f,productCategoryCtaClick:y}})},l))})}),ee=e=>O&&(0,a.jsx)("div",{className:(0,b.cn)("-mx-1 px-1","grid grid-flow-col grid-rows-1 gap-3 overflow-x-auto py-2.5 scrollbar-hide auto-cols-[10.8125rem] sm:gap-4 sm:auto-cols-[17.6875rem]"),children:u.map((l,t)=>(0,a.jsx)(av,{card:l,cardSize:e,fallbackImage:I,index:t,isSolidVariant:R,onClick:{productCategorySelection:v,cardClick:f,productCategoryCtaCl
17ick:y}},t))}),el=O?(0,a.jsx)("div",{className:"col-span-full xl:hidden",children:ee(ab[o].sm)}):null,et=!!Q.isDewalt,ea={"Cub Cadet":{onLight:"onLight",onGray:"onLight",onDark:"onColor",onColor:"onLight"},Craftsman:{onLight:"onColor",onGray:"onLight",onDark:"onColor",onColor:"onLight"},Stanley:{onLight:"onColor",onGray:"onLight",onDark:"onColor",onColor:"onLight"},Dewalt:{onLight:"onColor",onGray:"onLight",onDark:"onDark",onColor:"onLight"}},er=et&&("onGray"===t||"onLight"===t);return(0,a.jsxs)("div",{className:(0,b.cn)(t,"relative flex",R?"h-auto overflow-x-clip":"h-full overflow-hidden",!R&&"onDark bg-color-brand-surface-primary",R&&(er?"bg-color-brand-surface-primary":Q.mobile.solidVariant.wrapper),e),"data-testid":"curated-solution-package",id:l,children:[T&&(0,a.jsxs)("div",{className:"absolute inset-0 flex items-center justify-start",children:[(0,a.jsx)(ec.PolarisImage,{alt:"",aspectRatio:V.desktop,className:"size-full object-cover",fill:!0,focalPoint:null==i?void 0:i.focalPoint,mobileImage:(null==(w=i.mobileAsset)?void 0:w.url)?{src:(null==(j=i.mobileAsset.sizes)?void 0:j.md)||i.mobileAsset.url,transformBaseUrl:i.mobileAsset.transformBaseUrl||(null==i?void 0:i.transformBaseUrl),focalPoint:i.mobileAsset.focalPoint||(null==i?void 0:i.focalPoint),aspectRatio:null!=(C=V.mobile)?C:V.desktop}:void 0,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("CuratedSolutionPackage")),src:(null==(N=i.sizes)?void 0:N.md)||i.url,tabletImage:(null==(_=i.tabletAsset)?void 0:_.url)?{src:(null==(S=i.tabletAsset.sizes)?void 0:S.md)||i.tabletAsset.url,transformBaseUrl:i.tabletAsset.transformBaseUrl||(null==i?void 0:i.transformBaseUrl),focalPoint:i.tabletAsset.focalPoint||(null==i?void 0:i.focalPoint),aspectRatio:null!=(k=V.tablet)?k:V.desktop}:void 0,transformBaseUrl:null==i?void 0:i.transformBaseUrl}),(0,a.jsx)("div",{className:(0,b.cn)("absolute inset-0 opacity-90","left"===n?"bg-gradient-to-l from-black/0 to-black/90":"bg-gradient-to-b from-black/0 to-black/90")})]}),!R&&(0,a.jsx)("div",{className:"container relative xl:hidden","data-testid":"curated-solution-package__mobile-image",children:(0,a.jsxs)("div",{className:"grid-layout flex h-full min-h-screen flex-col gap-y-[3.125rem] py-6 sm:min-h-0 sm:gap-y-40 sm:py-8",children:[(0,a.jsxs)("div",{className:"col-span-full flex flex-col items-start gap-8",children:[W||(0,a.jsx)("div",{}),(0,a.jsxs)("div",{className:"flex flex-col items-start gap-4",children:[Y,$]})]}),(0,a.jsx)("div",{className:"grid-layout col-span-full mt-auto",children:el})]})}),R&&(0,a.jsxs)("div",{className:(0,b.cn)(t,Q.mobile.solidVariant.container,"w-full sm:hidden xl:hidden"),"data-testid":"curated-solution-package__mobile-solid",children:[(0,a.jsxs)("div",{className:(0,b.cn)(ea[null!=q?q:"Dewalt"][t],Q.mobile.solidVariant.leftContent,"flex flex-col items-start gap-8 bg-color-brand-surface-primary px-5 pb-6 pt-5",{"bg-color-brand-surface-accent":"onLight"===t&&"Cub Cadet"===q}),children:[W||(0,a.jsx)("div",{}),(0,a.jsxs)("div",{className:"flex flex-col items-start justify-start gap-6",children:[Y,$]})]}),(0,a.jsx)("div",{className:"bg-color-brand-surface-primary px-5 py-8 pb-5",children:ee(ab[o].sm)})]}),R&&(0,a.jsxs)("div",{className:(0,b.cn)(Q.tablet.solidVariant.container,"min-w-0 flex-1"),"data-testid":"curated-solution-package__tablet-solid",children:[(0,a.jsx)("div",{className:(0,b.cn)("h-full w-96 shrink-0",Q.tablet.solidVariant.leftContentContainer),children:(0,a.jsxs)("div",{className:(0,b.cn)(ea[null!=q?q:"Dewalt"][t],Q.tablet.solidVariant.leftContent,"flex h-full flex-col items-start justify-between bg-color-brand-surface-primary p-8",{"bg-color-brand-surface-accent":"onLight"===t&&"Cub Cadet"===q}),children:[W||(0,a.jsx)("div",{}),(0,a.jsxs)("div",{className:"flex flex-1 flex-col items-start justify-end gap-6",children:[Y,$]})]})}),(0,a.jsx)("div",{className:(0,b.cn)(Q.tablet.solidVariant.rightCardRail,"flex min-w-0 flex-1 flex-col items-end justify-end py-[4.6875rem]"),children:(0,a.jsx)("div",{className:"w-full min-w-0 max-w-full px-8",children:ee(ab[o].md)})})]}
17),!R&&(0,a.jsx)("div",{className:"relative mx-auto hidden py-10 xl:block","data-testid":"curated-solution-package__desktop-image",children:(0,a.jsxs)("div",{className:"flex flex-col gap-y-44",children:[(0,a.jsxs)("div",{className:"container flex items-start justify-between",children:[W||(0,a.jsx)("div",{}),(0,a.jsx)("div",{className:"flex-1"}),Z]}),(0,a.jsxs)("div",{className:"grid-layout container mt-10",children:[(0,a.jsxs)("div",{className:"col-span-full flex flex-col items-start justify-end gap-8 xl:col-span-5",children:[Y,$]}),(0,a.jsx)("div",{className:(0,b.cn)(z>1?"col-start-7":"col-start-10","col-end-[15]",H&&"overflow-hidden"),children:H?J:K})]})]})}),R&&(0,a.jsxs)("div",{className:(0,b.cn)(Q.desktop.solidVariant.container,"container hidden p-0 xl:flex xl:items-center"),"data-testid":"curated-solution-package__desktop-solid",children:[(0,a.jsxs)("div",{className:(0,b.cn)(ea[null!=q?q:"Dewalt"][t],"flex h-full min-h-[42.75rem] shrink-0 flex-col justify-between rounded-card-corner-radius-lg bg-color-brand-surface-primary p-10",Q.desktop.solidVariant.leftContent,{"bg-color-brand-surface-accent":"onLight"===t&&"Cub Cadet"===q}),children:[W,(0,a.jsxs)("div",{className:"flex flex-1 flex-col items-start justify-end gap-8 self-stretch",children:[Y,$]})]}),(0,a.jsxs)("div",{className:(0,b.cn)("flex flex-1 flex-col items-center gap-20 overflow-hidden py-14"),children:[Z&&(0,a.jsx)("div",{className:"ml-auto mr-10",children:Z}),(0,a.jsx)("div",{className:"w-full",children:H?J:K})]})]})]})},"DEALERS_EXAMPLE",()=>sH.DEALERS_EXAMPLE,"DEFAULT_COMMERCE_PRODUCT_DATA",()=>sY.DEFAULT_COMMERCE_PRODUCT_DATA,"DEFAULT_TAB_STATE",()=>sR.DEFAULT_TAB_STATE,"DISTANCE_UNIT",()=>s5.DISTANCE_UNIT,"DROPDOWN_LIST_PROPS_BASIC_EXAMPLE",0,sU,"DROPDOWN_LIST_PROPS_EXAMPLES",0,sD,"DealerHero",()=>ay.DealerHero,"Dialog",0,lM,"DynamicCardGrid",()=>aA.DynamicCardGrid,"DynamicHero",0,({themeClass:e,className:l,basicHero:t,pathingItems:r,textCopies:s})=>{var i;let o=!!(null==(i=t.imageAsset)?void 0:i.url);return(0,a.jsxs)("div",{className:(0,b.cn)(e,l),children:[(0,a.jsx)(t3.BasicHero,{...t,className:"pb-10",isDynamicHero:!0,themeClass:e}),r.cards.length>1&&(0,a.jsx)(aw,{className:"pb-10 xl:pb-14 xl:pt-0",...r,textCopies:s,themeClass:e,tightTopFromHero:!o})]})},"EMPLOYEE_SSO_ERROR_STORAGE_KEY",()=>sF.EMPLOYEE_SSO_ERROR_STORAGE_KEY,"EditorialMasonryPackage",0,({className:e,id:l,themeClass:t="onLight",headline:r,logoGroup:s,masonryCards:i,onClickCta:o})=>{var n;return(null==i?void 0:i.length)===3?(0,a.jsx)(aP,{themeClass:t,children:(0,a.jsx)(ak,{className:e,headline:r,id:l,logoGroup:s,masonryCards:i,onClickCta:o})}):(0,a.jsx)(aP,{themeClass:t,children:(0,a.jsx)("div",{className:(0,b.cn)(aj,"justify-center sm:flex-row sm:gap-x-4 sm:px-8 sm:py-14",e),id:l,children:(0,a.jsx)("div",{className:"flex flex-col gap-y-4 xl:gap-y-6",children:(0,a.jsxs)("div",{className:"flex flex-col gap-x-4 sm:flex-row xl:gap-x-8",children:[(0,a.jsxs)("div",{className:"flex flex-col sm:w-full sm:justify-end xl:w-[34.25rem]",children:[s&&(0,a.jsx)(tr.LogoGroup,{breakpointSizes:s.breakpointSizes,className:"mx-auto flex gap-x-1 sm:mx-0 [&>div]:w-9 sm:[&>div]:w-12 xl:[&>div]:w-[3.75rem]",logos:null!=(n=null==s?void 0:s.logos)?n:[]}),(0,a.jsx)(aS,{className:"mt-4 xl:prose-brand-lg sm:mt-5 sm:text-left xl:mt-6",headline:r}),(null==i?void 0:i[0])&&(0,a.jsx)(a_,{className:"mr-[3.875rem] mt-8 px-4 sm:mr-0 sm:mt-8 sm:px-0 xl:gap-y-5",imageAspectRatio:"1:1",onClickCta:o,textPosition:"bottom",...null==i?void 0:i[0]})]}),(null==i?void 0:i[1])&&(0,a.jsx)(a_,{className:"ml-[3.875rem] mt-8 px-4 sm:ml-0 sm:mt-0 sm:w-full sm:justify-end sm:px-0 xl:w-[34.25rem] xl:gap-y-5",imageAspectRatio:"3:4",onClickCta:o,textPosition:"bottom",...null==i?void 0:i[1]})]})})})})},"EventCard",()=>lQ.EventCard,"ExpandingList",()=>lq.ExpandingList,"ExtendedWarrantyLogo",()=>ln.ExtendedWarrantyLogo,"ExtendedWarrantyValidationModal",()=>r6.ExtendedWarrantyValidationModal,"FeatureFlagsProvider",()=>il.FeatureFlagsProvider,"Featured1Up",0,({asset:e,assetPosition:l="top",bodyText:t,cta:r,eyeBrow:i,headline:o,id:n,logos:c,logoSize:d,onClickCta:m,textCopies:u={},themeClass:x})=>{let{isDesktop:p}
17=(0,tG.useBreakpoint)(),{featured1UpBrandStyles:h}=(0,lW.useBrandStyleContext)(),{styles:{contentStyles:f,content2AssetStyles:g,contentAssetStyles:v}={}}=h||{},y=e.secondary?"large":"small",A={onLight:{parentTheme:"onColor",childrenTheme:"onLight"},onDark:{parentTheme:"onDark",childrenTheme:"onLight"},onColor:{parentTheme:"onLight",childrenTheme:"onColor"},onGray:{parentTheme:"onGray",childrenTheme:"onLight"}},w=(({asset:e,childrenTheme:l,contentAssetStyles:t,content2AssetStyles:a,assetPosition:r,contentStyles:s,cta:i})=>{let o={default:{top:"mb-14",down:"mt-14"},oneAsset:{default:(0,b.cn)(l,"mx-4 p-4 sm:p-6 md:mx-8 xl:mx-10 xl:px-8",t,"xl:!grid","[&_.leftColumn]:xl:col-span-6 [&_.rightColumn]:xl:col-start-7 [&_.rightColumn]:xl:col-end-13","[&_.leftColumn]:w-[unset] [&_.rightColumn]:w-[unset]"),top:"justify-center xl:items-center -mt-8 sm:-mt-24 xl:mt-[-8.75rem] xl:min-h-[9.5rem]",down:"-mb-8 sm:-mb-24 xl:mb-[-8.75rem] xl:min-h-[9.5rem]"},twoAsset:{default:(0,b.cn)(a,"xl:!grid","[&_.description]:w-[83%] [&_.description]:xl:w-[unset]","m-0 min-h-[unset] py-[unset] [position:unset] sm:pt-0 md:!mx-0 xl:py-0","[&_.leftColumn]:xl:col-span-6 [&_.rightColumn]:xl:col-start-8 [&_.rightColumn]:xl:col-end-13","[&_.leftColumn]:w-[unset]"),top:"",down:"sm:pb-0"}};return{sectionHeader:(0,b.cn)("relative w-[unset] grid-cols-12 flex-col gap-x-8 bg-color-brand-surface-primary xl:flex-row xl:justify-between xl:py-10","max-sm:[&_a:nth-child(-n+2)]:w-[calc(50%-0.25rem)] max-sm:[&_button:nth-child(-n+2)]:w-[calc(50%-0.25rem)]",{"max-sm:[&_a:not(:nth-child(3))]:px-[0.46875rem] max-sm:[&_button:not(:nth-child(3))]:px-[0.46875rem] max-sm:[&_a:nth-child(3)]:mx-0 max-sm:[&_button:nth-child(3)]:mx-0 max-sm:[&_a:nth-child(3)]:px-2 max-sm:[&_button:nth-child(3)]:px-2":(0,eU.isValidButtonCta)(null==i?void 0:i.tertiary)},o.default[r],!e.secondary&&o.oneAsset[r],!e.secondary&&o.oneAsset.default,s,e.secondary&&o.twoAsset.default,e.secondary&&o.twoAsset[r]),sectionHeaderContainer:(0,b.cn)("relative isolate z-10 col-span-full",!e.secondary&&"down"===r&&"min-h-[4.25rem] sm:min-h-[4.625rem] xl:min-h-[9.25rem]")}})({asset:e,assetPosition:l,childrenTheme:A[x].childrenTheme,contentAssetStyles:v,content2AssetStyles:g,contentStyles:f,cta:r}),j=(null==r?void 0:r.primary)&&Object.assign(Object.assign({},r.primary),{onClick:e=>{null==m||m({title:o,event:e,cta:r.primary})}}),C=(null==r?void 0:r.secondary)&&Object.assign(Object.assign({},r.secondary),{onClick:e=>{null==m||m({title:o,event:e,cta:r.secondary})}}),N=(null==r?void 0:r.tertiary)&&Object.assign(Object.assign({},r.tertiary),{RightIcon:s.default,onClick:e=>{null==m||m({title:o,event:e,cta:r.tertiary,isTertiary:!0})}});return(0,a.jsx)("section",{"aria-label":null!=o?o:"Hero",className:(0,b.cn)("flex h-auto min-h-[20rem] w-full flex-col overflow-visible bg-color-brand-surface-primary",!e.secondary&&A[x].parentTheme,e.secondary&&`bg-color-brand-surface-primary ${x}`,{"py-10 xl:py-14":!!e.secondary}),"data-testid":"featured-1-up__container",id:n,children:(0,a.jsxs)("div",{className:(0,b.cn)(e.secondary&&"grid-layout container","mx-auto my-0 w-full 3xl:max-w-container"),children:["top"===l&&(0,a.jsx)(aT,{asset:e,assetPosition:l,childrenTheme:x,className:(0,b.cn)(e.secondary&&"max-sm:hidden"),featured1UpBrandStyles:h,logoSize:d,logos:c,textCopies:u,themeClass:A[x].parentTheme}),e.secondary&&(0,a.jsx)(aB,{assetPosition:l,className:"pb-5 [position:unset] sm:hidden",featured1UpBrandStyles:h,logoSize:d,logos:c}),(0,a.jsx)("div",{className:w.sectionHeaderContainer,children:(0,a.jsx)(t_.SectionHeader,{breakpointSizes:{sm:y,md:y,lg:"large"},buttonGroupSize:p?"large":"small",className:w.sectionHeader,ctaClassName:"flex-row flex-wrap",description:null!=t?t:"",eyebrow:i,heading:o,headingFontStyleKey:"featured1UpSectionHeader",leftAriaLabel:null==u?void 0:u.goToPrevSlide,primaryCta:j,rightAriaLabel:null==u?void 0:u.goToNextSlide,secondaryCta:C,tertiaryCta:N,variant:"default"})}),"down"===l&&!e.secondary&&(0,a.jsx)(aT,{asset:e,assetPosition:l,childrenTheme:x,featured1UpBrandStyles:h,logoSize:d,logos:c,textCopies:u,themeClass:A[x].parentTheme}),e.secondary&&(0,a.jsx)(aT,{asset:e,assetPosition:l,childrenTheme:x,className:(0,b.cn)("top"===l&&"sm:hidden","down"===l&&"max-sm:hidden sm:grid"),featured1UpBrandStyles:h,logoSize:d,logos:c,textCopies:u,themeClass:x})]})})},"FeaturedArticleCard",0,({title:e,description:l,date:t,link:r,media:s,tags:i,size:o="large",imageAspectRatio:n})=>{let{featuredArticleCardBrandStyles:{styles:{innerContainer:c}={},booleans:{showRowMedia:d,showBars:m,justifyBetween:u,showStanleyShape:x,hasBorder:p}={}}
17={}}=(0,lW.useBrandStyleContext)();return(0,a.jsxs)("div",{className:(0,b.cn)("relative bg-color-brand-surface-primary",lY[o],p&&"rounded-xl"),children:[(0,a.jsxs)("div",{className:(0,b.cn)("flex flex-col border-color-utility-border-accent",m&&lX[o],null==c?void 0:c[o]),children:[d&&(0,a.jsx)(l5,{className:(0,b.cn)("hidden w-full",l$[o]),imageAspectRatio:n,media:s,size:o}),(0,a.jsx)(lj.ArticleCardHeader,{breakpointSizes:{sm:o,md:o,lg:o},className:(0,b.cn)(u&&"justify-between"),cta:r,date:t,description:l,heading:e,tags:i}),s&&(0,a.jsx)(l5,{imageAspectRatio:n,media:s,size:o})]}),x&&(0,a.jsx)("div",{className:"absolute right-0 top-0",children:(0,a.jsx)(l1,{className:(0,b.cn)("size-20 text-color-brand-surface-accent",lK[o])})})]})},"FeaturedCardGrid",()=>az.FeaturedCardGrid,"FeaturedCardPackage",0,({themeClass:e,className:l,sectionHeader:t,primaryCard:r,secondaryCards:s,onClickCta:i,handleCampaignCardOnClick:o})=>{var n;let c=2>Number(null==s?void 0:s.length),d=2===Number(null==s?void 0:s.length),m=4===Number(null==s?void 0:s.length),[u,x]=(0,g.useState)(null==t?void 0:t.description),{globalFallbackImage:p}=(0,lp.useGlobalElements)();return(0,g.useEffect)(()=>{var e;x((0,eM.truncateHTML)(null!=(e=null==t?void 0:t.description)?e:"",360,!0))},[null==t?void 0:t.description]),(0,a.jsxs)("div",{className:(0,b.cn)(e,"container flex flex-col gap-10 bg-color-brand-surface-primary py-10",d||m?"xl:py-14":"sm:py-14",l),children:[t&&(0,a.jsx)(t_.SectionHeader,{...t,className:(0,b.cn)(e),description:u,eyebrow:null!=(n=t.eyebrow)?n:""}),(0,a.jsxs)("div",{className:"grid-layout",children:[(d||m)&&(0,a.jsxs)("div",{className:(0,b.cn)(d&&"mb-auto hidden xl:col-span-4 xl:flex",m&&"mb-auto hidden xl:col-span-3 xl:flex xl:flex-col xl:gap-8"),children:[(d||m)&&(null==s?void 0:s[0])&&(0,a.jsx)(aH,{card:s[0],fallbackImage:p,onClickCta:i}),m&&(null==s?void 0:s[2])&&(0,a.jsx)(aH,{card:s[2],fallbackImage:p,onClickCta:i})]}),r&&(0,a.jsx)(aF,{card:r,className:(0,b.cn)(c&&"col-span-full sm:col-span-7",d&&"col-span-full xl:col-span-5",m&&"col-span-full xl:col-span-6"),fallbackImage:p,handleCampaignCardOnClick:o,is2Up:c,is3Up:d,is5Up:m,onClickCta:i,themeClass:e}),(d||m)&&(0,a.jsxs)("div",{className:(0,b.cn)("xl:h-fit",d&&"mb-auto hidden xl:col-span-3 xl:flex",m&&"mb-auto hidden xl:col-span-3 xl:flex xl:flex-col xl:gap-8"),children:[(d||m)&&(null==s?void 0:s[1])&&(0,a.jsx)(aH,{card:s[1],fallbackImage:p,onClickCta:i}),(d||m)&&(null==s?void 0:s[3])&&(0,a.jsx)(aH,{card:s[3],fallbackImage:p,onClickCta:i})]}),s&&!!s.length&&(0,a.jsx)("div",{className:(0,b.cn)("mb-auto mt-10",c&&"col-span-full sm:col-span-5 sm:mt-0",(d||m)&&"col-span-full -mx-4 flex gap-3 overflow-x-scroll px-4 sm:-mx-8 sm:gap-4 sm:px-8 xl:hidden",d&&"overflow-x-auto sm:mx-0 sm:px-0",m&&"pr-8 sm:pr-12"),children:s.map((e,l)=>(0,a.jsx)(aH,{card:e,className:(0,b.cn)(c&&"col-span-full sm:col-span-5",d&&"min-w-[64%] sm:min-w-[unset]",m&&"min-w-[64%] sm:min-w-[31.6%]"),...e,fallbackImage:p,onClickCta:i},l))})]})]})},"FeefoReviews",()=>aV.FeefoReviews,"FeefoReviewsShow",()=>sO.FeefoReviewsShow,"FilterChip",()=>q.FilterChip,"FilterSection",()=>l4.FilterSection,"FilterTabs",()=>W.FilterTabs,"FiltersDialog",()=>l3.FiltersDialog,"FiltersSidebar",0,({children:e,filterSections:l,className:t,translations:r})=>{let s=l.every(e=>Array.isArray(e.filters)&&0===e.filters.length);return(0,a.jsxs)("div",{className:(0,b.cn)("onLight",t),children:[(0,a.jsx)("div",{className:"prose-eyebrow-bold-md py-2 text-color-utility-text-primary",children:r.filterSection.filters}),(0,a.jsx)(l7,{}),e,e&&(0,a.jsx)(l7,{}),l.map((e,t)=>0===e.filters.length?null:(0,a.jsxs)("div",{children:[(0,a.jsx)(l4.FilterSection,{...e,textCopies:Object.assign({},r.filterSection)}),t!==l.length-1&&(0,a.jsx)(l7,{})]},e.id)),s&&(0,a.jsx)(l6.NoFilters,{translations:{noFilterTitle:r.noResults.title,noFilterDescription:r.noResults.description}})]})},"Financing",()=>l8.Financing,"FinancingCarousel",0,({className:e,id:l,plans:t,applyUrl:r,textCopies:s={},portalId:i=aX,handleApplyNowClick:o,handleSeeDetailsClick:n,handleOnClickNavArrows:c,themeClass:d="onLight"})=>{var m,u;let[x,p]=(0,g.useState)(0),[h,f]=(0,g.useState)(!1),[v,y]=(0,g.useState)(!1),[A,w]=(0,g.useState)(!1),j=(0,g.useRef)(null),C=(0,g.useRef)(null);if(!t.length)return null;let N=s.applyNow,_=!!(r&&N),S=null!=(u=null!=(m=s.applyHeading)?m:N)?u:"",k=t.length<=4||x>=t.length-4,P=t.length>4,I=e=>{var l,t;"next"===e?null==(l=j.current)||l.slickNext():null==(t=j.current)||t.slickPrev(),null==c||c({direction:e})},E=e=>(0,a.jsx)(te,{applyNowText:_?N:void 0,minimumPurchaseText:e.minimumPurchaseText,onApplyNowClick:_?()=>{null==o||o({planId:e.planId,planName:e.planName}),w(!0)}:void 0,onSeeDetailsClick:()=>{null==n||n({planId:e.planId,planName:e.planName}),y(!0)},planId:e.planId,planName:e.title===e.planName?void 0:e.planName,processingFeeText:e.processingFeeText,seeDetailsText:s.seeDetails,subscript:e.subscript,themeClass:d,title:e.title,titleAs:"h2"},e.planId);return(0,a.jsxs)("div",{className:(0,b.cn)(d,"w-full min-w-0 bg-color-brand-surface-primary"),id:l,children:[(0,a.jsx)("div",{className:(0,b.cn)("grid-layout container pt-10 xl:py-14",e),children:(0,a.jsxs)("div",{className:"relative hidden xl:col-span-full xl:block",children:[P&&(0,a.jsx)(ee.IconButton,{Icon:aQ.default,"aria-label":s.goToPreviousSlide||"Pagination.goToPreviousSlide",className:"absolute left-0 top-1/2 z-10 -translate-x-1/2 -translate-y-1/2",disabled:x<=0,onClick:()=>I("prev"),size:"large"}),(0,a.jsx)("div",{className:(0,b.cn)("transition-opacity duration-300",h?"opacity-100":"opacity-0"),ref:C,children:(0,a.jsx)(t8.default,{className:(0,b.cn)("-mx-4 w-full","[&_.slick-track>div>div>div]:h-full [&_.slick-track>div>div]:h-full [&_.slick-track>div]:h-full","[&_.slick-track]:grid [&_.slick-track]:grid-flow-col"),...{speed:200,slidesToShow:4,slidesToScroll:1,accessibility:!0,afterChange:()=>
17(0,t9.syncSlideTabIndex)(C.current),draggable:!1,infinite:!1,centerMode:!1,arrows:!1,onInit:()=>{f(!0),(0,t9.syncSlideTabIndex)(C.current)},onReInit:()=>(0,t9.syncSlideTabIndex)(C.current)},beforeChange:(e,l)=>p(l),ref:j,children:t.map((e,l)=>(0,a.jsx)("div",{className:"!flex px-4",inert:!(l>=x&&l<x+4)||void 0,children:E(e)},e.planId))})}),P&&(0,a.jsx)(ee.IconButton,{Icon:aq.default,"aria-label":s.goToNextSlide||"Pagination.goToNextSlide",className:"absolute right-0 top-1/2 z-10 -translate-y-1/2 translate-x-1/2",disabled:k,onClick:()=>I("next"),size:"large"})]})}),(0,a.jsx)("div",{className:(0,b.cn)("scrollbar-none container xl:hidden","grid w-full gap-3 overflow-x-auto pb-10 sm:gap-4","auto-cols-[85%] grid-flow-col sm:auto-cols-[45%]","focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-600"),tabIndex:0,children:t.map(e=>E(e))}),(0,a.jsx)(aY.FinancingDetailsModal,{closeAriaLabel:s.close,isOpen:v,onClose:()=>y(!1),plans:t,portalId:i,title:s.detailsHeading}),_&&(0,a.jsx)(tn.Modal,{className:"!z-modal-max",dialogTitle:S,hideCloseButton:!0,id:i,isOpen:A,modalClassName:"flex size-full flex-col xl:h-[90vh] xl:w-[56rem] xl:inset-0 xl:m-auto",onClose:()=>w(!1),variant:"fade-in",children:(0,a.jsxs)("div",{className:(0,b.cn)(d,"flex flex-1 flex-col"),children:[(0,a.jsx)(aW.PanelHeader,{closeAriaLabel:s.close,onIconClick:()=>w(!1),themeClass:"onLight",title:S,type:"close"}),(0,a.jsx)("iframe",{className:"size-full flex-1 border-0",src:r,title:S})]})})]})},"FinancingDetailsModal",()=>aY.FinancingDetailsModal,"FinancingPlanCard",0,te,"FollowChip",0,e=>{var{className:l,isFollowed:t,size:r,text:s}=e,i=Z(e,["className","isFollowed","size","text"]);let o=t?Y.default:X.default;return(0,a.jsxs)($.Button,{...i,className:(0,b.cn)(J(r,t).button,"flex items-center rounded-full transition-colors",l),children:[(0,a.jsx)(o,{className:J(r).icon}),s]})},"Form",()=>tl.Form,"FormBreaker",0,({className:e,themeClass:l,fields:t,formHeader:r,image:s,submitBtnLabel:i,ctaBtn:o,successCtaBtn:n,footnote:c="",variant:d=a2,successTitle:m="Success!",successMessage:u="Your form has been submitted successfully.",submissionType:x,customSubmissionType:p,formId:h,onSubmit:f,globalStrings:v})=>{var y;let{formBreaker:{styles:{borderStyles:A,headerStylesNoImage:w,headerStylesWithImage:j}={}}}=(0,lW.useBrandStyleContext)(),{Field:C}=v||{},N=(null==C?void 0:C.invalidEmailAddress)||"Invalid email address.",_=(null==C?void 0:C.requiredErrorMessage)||"is required",S=null==t?void 0:t.reduce((e,l)=>("checkbox"===l.type?(null==l?void 0:l.options)&&(null==l?void 0:l.options.length)>0?e[l.name]=l.options.reduce((e,l)=>(e[l.value]=!1,e),{}):e[l.name]=!1:"toggle"===l.type?e[l.name]=!1:["select","radio","dropdown","dropdown-multi","dropdown-multi-with-footer-panel"].includes(l.type)?e[l.name]=void 0:"number"===l.type?e[l.name]=0:e[l.name]="",e),{}),k=(0,aK.useForm)({defaultValues:S}),{handleSubmit:P,formState:{isSubmitSuccessful:I}}=k,E=e=>{var l,a,r,s;return l=void 0,a=void 0,r=void 0,s=function*(){let l=!1,a=null==t?void 0:t.filter(e=>e.required),r=null==a?void 0:a.map(e=>e.name),s=Object.fromEntries(Object.entries(e).filter(([e])=>null==r?void 0:r.includes(e)));l=(0,eU.validateRequiredFields)(s,k,_,null==a?void 0:a.reduce((e,l)=>{var t;return e[l.name]=null!=(t=l.label)?t:"",e},{}),C);let{valid:i}=(0,eU.validateEmail)(e.email);if(e.email&&!i){k.setError("email",{type:"pattern",message:N}),l=!0;return}let o=null==t?void 0:t.filter(e=>e.sendAsSeparateFields),n=Object.entries(e).reduce((e,[l,t])=>((null==o?void 0:o.some(e=>e.name===l))?Object.entries(t).forEach(([l,t])=>{e[l]=t}):e[l]=t,e),{});if(!l)try{f&&(yield f(n,{submissionType:x,customSubmissionType:p,formId:h,form:k}),k.reset())}catch(e){k.setError("root",{type:"manual",message:"Failed to submit form. Please try again."})}},new(r||(r=Promise))(function(e,t){function i(e){try{n(s.next(e))}catch(e){t(e)}}function o(e){try{n(s.throw(e))}catch(e){t(e)}}function n(l){var t;l.done?e(l.value):((t=l.value)instanceof r?t:new r(function(e){e(t)})).then(i,o)}n((s=s.apply(l,a||[])).next())})},B=!!(null==s?void 0:s.url),L=(0,b.cn)({"mb-3":B,"sm:prose-brand-lg xl:prose-brand-2xl font-black mb-3":!B}),T=(0,b.cn)("grid h-full auto-rows-auto grid-cols-2 content-center gap-8 px-4 py-6 sm:p-6 xl:p-8",A,{"border border-color-brand-border-primary bg-color-brand-surface-white onLight":!B&&["onLight","onGray","onColor"].includes(l),"bg-color-brand-surface-secondary":["onDark","onColor"].includes(l),"size-full bg-color-brand-surface-white onLight":["onColor","onGray"].includes(l)}),z=({title:e,description:l,className:t})=>(0,a.jsxs)("div",{className:t,children:[(0,a.jsx)("h2",{className:(0,b.cn)(L,B?j:w),children:(0,eM.renderWithSuperscript)((0,eM.truncateEyebrow)(e))}),(0,a.jsx)("p",{className:"prose-body-medium-md text-color-brand-text-secondary",children:l})]});return(0,a.jsx)("div",{className:(0,b.cn)("container bg-color-brand-surface-primary py-10 xl:py-14",I?"onLight":l,e),children:(0,a.jsxs)(a$.Box,{className:(0,b.cn)("grid-layout w-full gap-8"),children:[B&&(0,a.jsx)("figure",{className:(0,b.cn)("relative col-span-full aspect-3/2 w-full xl:col-span-7 xl:aspect-[4/3]",{"xl:col-start-6":B&&"imageRight"===d}),children:(0,a.jsx)(ec.PolarisImage,{alt:s.alt||"",className:(0,b.cn)("object-cover",A),fill:!0,focalPoint:null==s?void 0:s.focalPoint,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("FormBreaker")),src:(null==(y=s.sizes)?void 0:y.lg)||s.url,transformBaseUrl:null==s?void 0:s.transformBaseUrl})}),r&&!B&&(0,a.jsx)(z,{className:"col-span-full text-color-brand-text-primary xl:col-span-6 xl:pt-10",description:r.description,title:r.title}),(0,a.jsx)("div",{className:(0,b.cn)("col-span-full",{"max-w-full xl:col-span-6":!B,"flex items-center xl:col-span-5":B,"xl:row-start-1":B&&"imageRight"===d,"border border-color-brand-border-primary px-4 py-6 min-h-[29.875rem] sm:min-h-[30.875rem] sm:py-8 sm:px-6 xl:min-h-[39.875rem] xl:px-8":!B&&I,"py-8 sm:py-10 xl:py-0 xl:min-h-[36.5625rem]":B&&I,"flex items-center xl:h-full":I}),children:I?(0,a.jsx)(a0.FormSuccess,{className:(0,b.cn)("w-full sm:px-20 xl:px-16"),cta:n,message:u,size:"responsive",title:m}):(0,a.jsx)(aZ.Theme,{className:"size-full",children:(0,a.jsx)(tl.Form,{...k,children:(0,a.jsxs)("form",{className:T,noValidate:!0,onSubmit:e=>{e.preventDefault(),P(E)()},children:[B&&r&&(0,a.jsx)(z,{className:"col-span-full text-color-brand-text-primary",description:r.description,title:r.title}),null==t?void 0:t.map((e,l)=>{let{fieldSize:t}=e,a=a1(e,["fieldSize"]);return(0,g.createElement)(aJ.FormField,{...a,className:(0,b.cn)("col-span-full w-full ",{"sm:col-span-1":"half_width"===t}),form:k,key:l,label:e.label,size:"responsive",textCopies:C})}),c&&(0,a.jsx)("div",{className:"prose-body-medium-xs col-span-2 flex-1 text-color-brand-text-tertiary",children:(0,tU.default)(c)}),(0,a.jsxs)("div",{className:"col-span-2 flex gap-2",children:[(0,a.jsx)(U.Button,{className:"col-span-2",size:"responsive",type:"submit",children:i||"Submit"}),o&&(0,a.jsx)(U.Button,{link:o,variant:"outline",children:o.text})]})]})})})})]})})},"FormService",()=>sW.FormService,"FullWidthAccordion",0,a4,"GEOLOCATION_ERROR_CODE",()=>s1.GEOLOCATION_ERROR_CODE,"GLOBAL_FOOTER_TEST_IDS",()=>a6.GLOBAL_FOOTER_TEST_IDS,"GLOBAL_IMAGE_QUALITY",()=>eh.GLOBAL_IMAGE_QUALITY,"GLOBAL_NAV_ACCOUNT_ROUTES",()=>sF.GLOBAL_NAV_ACCOUNT_ROUTES,"GLOBAL_NAV_SIGN_IN_GUEST_CHECKOUT_PARAM_NAME",()=>sF.GLOBAL_NAV_SIGN_IN_GUEST_CHECKOUT_PARAM_NAME,"GLOBAL_NAV_SIGN_IN_REAUTH_PARAM_NAME",()=>sF.GLOBAL_NAV_SIGN_IN_REAUTH_PARAM_NAME,"GLOBAL_NAV_SIGN_IN_REAUTH_TOKEN_VALUE",()=>sF.GLOBAL_NAV_SIGN_IN_REAUTH_TOKEN_VALUE,"GLOBAL_NAV_SIGN_IN_REDIRECT_PARAM_NAME",()=>sF.GLOBAL_NAV_SIGN_IN_REDIRECT_PARAM_NAME,"GLOBAL_NAV_SIGN_IN_TIMEOUT_PARAM_NAME",()=>sF.GLOBAL_NAV_SIGN_IN_TIMEOUT_PARAM_NAME,"GLOBAL_NAV_TEST_IDS",()=>sF.GLOBAL_NAV_TEST_IDS,"GUEST_ADD_TO_CART_RESUME_STORAGE_KEY",()=>sF.GUEST_ADD_TO_CART_RESUME_STORAGE_KEY,"GUEST_ADD_TO_CART_RESUME_VALUE",()=>sF.GUEST_ADD_TO_CART_RESUME_VALUE,"GeolocationError",()=>s1.GeolocationError,"GlobalElementsProvider",()=>lp.GlobalElementsProvider,"GlobalFooter",()=>a6.GlobalFooter,"GlobalNavigation",()=>a7.GlobalNavigation,"GroupedSpecs",()=>tt.GroupedSpecs,"HEADER_CONTAINER_ID",()=>sF.HEADER_CONTAINER_ID,"HalfWidthAccordion",0,a9,"HeroCarousel",0,({slides:e,variant:l,onClickNavArrows:t})=>{var r,s,i,o,n,c,d,m;let u=(0,g.useRef)(null),x=(0,g.useRef)(null),p=(0,g.useRef)(null),h=(0,g.useRef)([]),[f,v]=(0,g.useState)(null),{page:y,setPage:A,autoplay:j,setAutoplay:C}=(({totalPages:e,initialPage:l=0,initialAutoplay:t=!0})=>{let[a,r]=(0,g.useState)(l),[s,i]=(0,g.useState)(t);return{page:a,setPage:(0,g.useCallback)(l=>{r(Math.min(Math.max(l,0),e-1))},[e]),autoplay:s,setAutoplay:i}})({totalPages:e.length}),{brand:N,heroCarousel:_}=(0,lW.useBrandStyleContext)(),{styles:{containerStyles:S,containerStylesSideBySide:k,contentContainerStyles:P,contentContainerStylesSideBySide:I}}=_;h.current.length!==e.length&&(h.current=Array.from({length:e.length},(l,t)=>{var a,r;let s=h.current[t];if(s)return s;let i=e[t],o=(null==(a=null==i?void 0:i.asset)?void 0:a.mobileAsset)||(null==i?void 0:i.asset);if((null==o?void 0:o.type)==="video"&&(null==(r=null==i?void 0:i.asset)?void 0:r.type)==="video"){let e=(0,g.createRef)();return{mobile:e,desktop:e}}return{desktop:(0,g.createRef)(),mobile:(0,g.createRef)()}}));let E="Dewalt"===N,B="Stanley"===N,L="Craftsman"===N,T="fullbleed"===l,z=E?"onDark":"onColor",O=(({brand:e,variant:l})=>"Craftsman"===e||"Stanley"===e&&"side-by-side"===l||"Cub Cadet"===e&&"side-by-side"===l?"onColor":"onDark")({brand:N,variant:l}),R=e.length>1,M=0===e.length?"":e.length>1?`Slide ${y+1} of ${e.length}: ${null!=(s=null==(r=e[y])?void 0:r.headline)?s:""}`:null!=(o=null==(i=e[0])?void 0:i.headline)?o:"",U=e=>{var l;A(e),null==(l=u.current)||l.slickGoTo(e)},D=e=>{C(!e)};return(0,g.useEffect)(()=>{let e=L?p.current:x.current;e&&v(e)},[L]),(0,g.useEffect)(()=>()=>
17{h.current.forEach(e=>{var l,t;try{null==(l=e.desktop.current)||l.pause(),null==(t=e.mobile.current)||t.pause()}catch(e){}})},[]),(0,a.jsxs)("section",{"aria-label":null!=(m=null!=(c=null==(n=e[y])?void 0:n.headline)?c:null==(d=e[0])?void 0:d.headline)?m:"Hero",className:(0,b.cn)("relative min-h-[20rem] h-auto overflow-visible bg-color-brand-surface-primary overflow-x-hidden",z),children:[(0,a.jsx)("p",{"aria-atomic":"true","aria-live":"polite",className:"sr-only",children:M}),T?(0,a.jsxs)(a.Fragment,{children:[!L&&(0,a.jsx)(t8.default,{accessibility:!0,arrows:!1,centerMode:!1,className:(0,b.cn)("!absolute left-0 top-0 size-full [&_.slick-list]:h-full [&_.slick-slide>div]:h-full [&_.slick-slide]:relative [&_.slick-slide]:h-full [&_.slick-track]:size-full",rs),draggable:R,infinite:!1,ref:e=>{x.current=e},slidesToScroll:1,slidesToShow:1,speed:300,swipe:R,children:e.map((e,l)=>(0,a.jsx)(rd,{asset:e.asset,isFirstSlide:0===l,videoRef:h.current[l]},l))}),(0,a.jsxs)("div",{className:(0,b.cn)("container relative w-full",S),children:[L&&(0,a.jsx)("div",{className:(0,b.cn)("absolute left-0 top-0 size-full bg-color-brand-surface-primary",z)}),L&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t8.default,{accessibility:!0,arrows:!1,centerMode:!1,className:(0,b.cn)("!absolute left-0 top-0 size-full [&_.slick-list]:h-full [&_.slick-slide>div]:h-full [&_.slick-slide]:relative [&_.slick-slide]:h-full [&_.slick-track]:size-full",rs),draggable:R,infinite:!1,ref:e=>{p.current=e},slidesToScroll:1,slidesToShow:1,speed:300,swipe:R,children:e.map((e,l)=>(0,a.jsx)(ru,{asset:e.asset,isFirstSlide:0===l,videoRef:h.current[l]},l))}),(0,a.jsx)("div",{className:"absolute left-4 top-0 z-[3] h-full w-1/2 -translate-x-full bg-color-brand-surface-primary sm:left-8 xl:left-10","data-slide-overflow-cover":!0}),(0,a.jsx)("div",{className:"absolute right-4 top-0 z-[3] h-full w-1/2 translate-x-full bg-color-brand-surface-primary sm:right-8 xl:right-10","data-slide-overflow-cover":!0})]}),B&&(0,a.jsx)(rr,{className:"absolute left-0 top-0 z-hero-3 size-[6.25rem] sm:size-[9.375rem] xl:size-[11.5rem] [@media(orientation:landscape)_and_(max-height:30rem)]:size-[3.75rem]"}),(0,a.jsxs)("div",{className:(0,b.cn)("relative z-hero-2 flex size-full flex-col",P,{"onLight border-y-[0.5rem] border-y-color-brand-border-accent xl:border-y-[0.75rem]":E}),children:[L&&(0,a.jsx)("div",{className:"absolute right-0 top-0 z-10 h-8 w-[45%] bg-color-brand-surface-primary sm:h-10 xl:hidden",children:(0,a.jsxs)("div",{className:"relative size-full",children:[(0,a.jsx)(rt,{className:"absolute left-0 top-0 h-full w-auto translate-x-[calc(-100%+1px)] -scale-y-100 fill-color-brand-surface-primary"}),(0,a.jsx)(rl,{className:"absolute bottom-0 right-0 size-3 translate-y-full -scale-y-100 fill-color-brand-surface-primary xl:hidden"})]})}),(0,a.jsx)(t8.default,{accessibility:!0,arrows:!1,asNavFor:f,beforeChange:(e,l)=>A(l),centerMode:!1,className:(0,b.cn)("flex-1 [&_.slick-list]:h-full [&_.slick-slide>div]:h-full [&_.slick-slide]:h-full [&_.slick-track]:h-full",rs,{"max-xl:overflow-hidden [&_.slick-list]:overflow-visible xl:[&_.slick-slide]:p-8":L}),draggable:R,edgeFriction:0,infinite:!1,ref:e=>{u.current=e},slidesToScroll:1,slidesToShow:1,speed:300,swipe:R,children:e.map((e,t)=>(0,a.jsx)(rp,{hasMultipleSlides:R,isActiveSlide:y===t,isFirstSlide:0===t,...e,onToggleLightbox:D,variant:l,videoRef:h.current[t]},t))}),(0,a.jsxs)("div",{className:(0,b.cn)("w-full xl:w-[40rem]",{"relative self-end":L,hidden:!R&&!L}),children:[L&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(rt,{className:"absolute left-0 top-0 hidden h-full -translate-x-full fill-color-brand-surface-primary xl:block"}),(0,a.jsx)(rl,{className:"absolute left-0 top-0 size-3 -translate-y-full rotate-90 fill-color-brand-surface-primary xl:hidden"}),(0,a.jsx)(rl,{className:"absolute right-0 top-0 size-3 -translate-y-full fill-color-brand-surface-primary xl:block xl:size-4"})]}),R&&(0,a.jsx)("div",{className:(0,b.cn)("relative z-20",{"bg-color-brand-surface-primary xl:pt-4":L,"pb-2":E}),children:(0,a.jsx)(w,{autoplay:j,onClickNavArrows:t,page:y,progressBarActiveSize:L?"full-responsive":"semi-responsive",setAutoplay:C,setPage:U,themeClass:O,totalPages:e.length,transitionDuration:8})})]}),L&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(rl,{className:"absolute left-0 top-0 size-3 rotate-180 fill-color-brand-surface-primary"}),(0,a.jsx)(rl,{className:"absolute right-0 top-0 hidden size-3 -rotate-90 fill-color-brand-surface-primary xl:block"}),(0,a.jsx)(rl,{className:"absolute bottom-0 left-0 hidden size-3 rotate-90 fill-color-brand-surface-primary xl:block"})]})]})]})]}):(0,a.jsxs)("div",{className:(0,b.cn)("container relative w-full",k,"h-auto max-2xl:!max-h-[unset]"),children:[L&&(0,a.jsx)("div",{className:(0,b.cn)("absolute left-0 top-0 size-full bg-color-brand-surface-primary",z)}),(0,a.jsxs)("div",{className:(0,b.cn)("relative z-hero-2 flex size-full flex-col",{"onLight border-y-[0.5rem] border-y-color-brand-border-accent xl:border-y-[0.75rem]":E},I),children:[L&&(0,a.jsx)("div",{className:"absolute right-0 top-0 h-8 w-[45%] bg-color-brand-surface-primary sm:h-10 xl:hidden",children:(0,a.jsxs)("div",{className:"relative size-full",children:[(0,a.jsx)(rt,{className:"absolute left-0 top-0 h-full w-auto translate-x-[calc(-100%+1px)] -scale-y-100 fill-color-brand-surface-primary"}),(0,a.jsx)(rl,{className:"absolute bottom-0 right-0 size-3 translate-y-full -scale-y-100 fill-color-brand-surface-primary xl:hidden"})]})}),(0,a.jsx)(t8.default,{accessibility:!0,arrows:!1,beforeChange:(e,l)=>
17A(l),centerMode:!1,className:(0,b.cn)("flex-1 [&_.slick-list]:h-full [&_.slick-slide>div]:h-full [&_.slick-slide]:h-full [&_.slick-track]:h-full",rs),draggable:R,edgeFriction:0,infinite:!1,ref:u,slidesToScroll:1,slidesToShow:1,speed:300,swipe:R,children:e.map((e,t)=>(0,a.jsx)(rh,{isActiveSlide:y===t,isFirstSlide:0===t,onToggleLightbox:D,slide:e,variant:l},t))}),R&&(0,a.jsxs)("div",{className:(0,b.cn)("w-full xl:w-[40rem]"),children:[L&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(rt,{className:"absolute left-0 top-0 hidden h-full -translate-x-full fill-color-brand-surface-primary xl:block"}),(0,a.jsx)(rl,{className:"absolute right-0 top-0 hidden size-4 -translate-y-full fill-color-brand-surface-primary xl:block"})]}),(0,a.jsx)(w,{autoplay:j,onClickNavArrows:t,page:y,progressBarActiveSize:"semi-responsive",setAutoplay:C,setPage:U,themeClass:O,totalPages:e.length,transitionDuration:8})]})]})]})]})},"HeroFeatured1Up",0,({variant:e=rf.variant,logos:l,headline:t,bodyText:r,ctas:s,onClickCta:i,asset:o,themeClass:n,onClickVideoButton:c,logoSize:d,textCopies:m={},eyebrow:u})=>{var x,p,h,f;let v=(0,g.useRef)(null),{heroFeatured1UpBrandStyles:y}=(0,lW.useBrandStyleContext)(),{booleans:{blockBorder:A,gradientOverlay:w,yellowCornerTriangle:j,whiteCornerTriangles:C,secondaryBgCornerRadius:N},styles:{containerStyles:_,contentStyles:S,contentCopyTheme:k,logoPosition:P,logoGroupStyles:I,videoBtnPosition:E,assetPositionStyles:B,smallDeviceVideoBtnPosition:L}}=y,T="primary"===e,z="secondary"===e,O="onLight"===n?"onColor":"onLight",R=z?O:k;return z?(0,a.jsxs)("section",{"aria-label":null!=t?t:"Hero",className:(0,b.cn)("relative bg-color-brand-surface-primary",n),children:[(0,a.jsx)(rN,{asset:o,overlay:!0,variant:e,videoRef:v}),(0,a.jsxs)("div",{className:(0,b.cn)("container relative w-full pb-8 xl:pb-14",{"rounded-t-xl overflow-hidden":N&&T}),children:[(0,a.jsx)("div",{className:"relative -mx-4 h-[18.28125rem] sm:h-[12.9375rem] md:-mx-8 xl:-mx-10 xl:h-[23.125rem]",children:(0,a.jsx)(r_,{asset:o,assetPositionStyles:"top-0 left-0 w-full h-[18.28125rem] sm:h-[16.6875rem] xl:h-[31.25rem]",cornerRadius:N,logoSize:d,logos:l,onClickVideoButton:c,overlay:!0,textCopies:m,themeClass:n,variant:e,videoRef:v})}),(0,a.jsx)("div",{className:"relative z-hero-2 -mt-16 flex w-full justify-center sm:mt-[unset]",children:(0,a.jsx)(rC,{asset:o,bodyText:r,copyTheme:R,ctas:s,eyebrow:u,headline:t,logoSize:d,onClickCta:i,onClickVideoButton:c,textCopies:m,themeClass:n,variant:e,videoRef:v})})]})]}):(0,a.jsxs)("section",{"aria-label":null!=t?t:"Hero",className:(0,b.cn)("relative bg-color-brand-surface-primary",n),children:[(0,a.jsx)(rN,{asset:o,overlay:w,variant:e,videoRef:v}),(0,a.jsxs)("div",{className:(0,b.cn)("container relative w-full",_),children:[C&&(0,a.jsx)("div",{className:(0,b.cn)("absolute left-0 top-0 size-full bg-color-brand-surface-primary",n)}),(0,a.jsx)(r_,{asset:o,assetPositionStyles:B,logoSize:d,logos:l,onClickVideoButton:c,overlay:w,textCopies:m,themeClass:n,variant:e,videoRef:v,whiteCornerTriangles:C}),j&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("svg",{className:"absolute left-0 top-0 z-hero-3 sm:hidden [@media(orientation:landscape)_and_(max-height:30rem)]:size-[3.75rem]",fill:"none",height:"100",viewBox:"0 0 100 100",width:"100",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M76.9252 23.0768L23.0771 23.0768L23.0771 76.9248L76.9252 23.0768Z",fill:"#FFD20A"})}),(0,a.jsx)("svg",{className:"absolute top-0 z-hero-3 hidden sm:-left-4 sm:block sm:-rotate-90 md:left-0 xl:left-[unset] xl:right-0 xl:rotate-0 [@media(orientation:landscape)_and_(max-height:30rem)]:size-[3.75rem]",fill:"none",height:"150",viewBox:"0 0 150 150",width:"150",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M115.387 115.385V34.6154H34.6182L115.387 115.385Z",fill:"#FFD20A"})})]}),(0,a.jsxs)("div",{className:(0,b.cn)("relative z-hero-2 flex size-full flex-col",S,{"onLight border-y-[0.5rem] border-y-color-brand-border-accent xl:border-y-[0.75rem]":A}),children:[C&&(0,a.jsx)("svg",{className:(0,b.cn)("absolute -left-px -top-px z-hero-2 size-[7.5rem] -rotate-90 fill-color-brand-surface-primary sm:top-[-21.75rem] xl:-top-px xl:size-[12.5rem]",n),fill:"none",height:"160",viewBox:"0 0 160 160",width:"160",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M160 160.01L160 0.00975863L0.000237147 0.00976562C5.99307 0.00976536 11.7404 2.39041 15.978 6.62799L153.382 144.032C157.619 148.27 160 154.017 160 160.01Z"})}),(0,a.jsxs)("div",{className:(0,b.cn)("relative flex items-start",{"justify-start":"top-left"===P,"justify-end p-1 sm:p-4 xl:p-0":"top-right"===P},I),children:[l&&l.length>0&&("top-left"===P||"top-right"===P)&&(0,a.jsx)(tr.LogoGroup,{breakpointSizes:{sm:d,md:d,lg:d},logos:l.map(e=>({image:e}))}),T&&("video"===o.type||(null==(x=o.mobileAsset)?void 0:x.type)==="video"||(null==(p=o.tabletAsset)?void 0:p.type)==="video")&&(0,a.jsx)(rj,{className:(0,b.cn)("right-0 top-0 xl:hidden",{hidden:"center-group"===P||"top-right"===P}),onClickVideoButton:c,textCopies:m,videoRef:v})]}),(0,a.jsx)(rC,{asset:o,bodyText:r,copyTheme:R,ctas:s,eyebrow:u,headline:t,logoSize:d,logos:l,onClickVideoButton:c,textCopies:m,themeClass:n,variant:e,videoRef:v}),("video"===o.type||(null==(h=o.mobileAsset)?void 0:h.type)==="video"||(null==(f=o.tabletAsset)?void 0:f.type)==="video")&&(0,a.jsxs)(a.Fragment,{children:["top-left"===L&&(0,a.jsx)(rj,{className:(0,b.cn)("left-0 top-0 z-hero-3 sm:hidden"),onClickVideoButton:c,textCopies:m,videoRef:v}),"top-right"===L&&(0,a.jsx)(rj,{className:(0,b.cn)("right-0 top-0 z-hero-3 xl:hidden"),onClickVideoButton:c,textCopies:m,videoRef:v}),"bottom-right"===E&&(0,a.jsx)(rj,{className:(0,b.cn)("bottom-0 right-0 z-hero-3 hidden xl:block"),onClickVideoButton:c,textCopies:m,videoRef:v})]}),C&&(0,a.jsx)("svg",{className:(0,b.cn)("absolute -bottom-px -right-px z-hero-2 hidden size-[7.5rem] rotate-90 fill-color-brand-surface-primary xl:block xl:size-[12.5rem]",n),fill:"none",height:"160",viewBox:"0 0 160 160",width:"160",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M160 160.01L160 0.00975863L0.000237147 0.00976562C5.99307 0.00976536 11.7404 2.39041 15.978 6.62799L153.382 144.032C157.619 148.27 160 154.017 160 160.01Z"})})]})]})]})},"HorizontalProductCard",()=>lm.HorizontalProductCard,"IN_STORE_RETAILER_EXAMPLE",()=>sH.IN_STORE_RETAILER_EXAMPLE,"IconButton",()=>ee.IconButton,"ImageGallery",0,({assets:e=[],className:l,id:t,layoutVariation:r="full_width",themeClass:s,textCopies:i={},onClickNavArrows:o})=>{var n,c,d;let[m,u]=(0,g.useState)(0),x=(0,g.useRef)(null),p=(0,g.useRef)(null),h=(0,g.useRef)(null),{isMounted:f,isDesktop:v,isMobile:y}
17=(0,tG.useBreakpoint)(),[A,w]=(0,g.useState)(0),j=e.length,C=0===m,N=m===j-1,_=(0,g.useCallback)(e=>{var l,t;"ArrowRight"===e.key?null==(l=x.current)||l.slickNext():"ArrowLeft"===e.key&&(null==(t=x.current)||t.slickPrev())},[]);(0,g.useEffect)(()=>{var e;f&&(null==(e=x.current)||e.slickGoTo(m))},[m,f]),(0,g.useEffect)(()=>{let e=p.current;if(e)return e.addEventListener("keydown",_),()=>{e.removeEventListener("keydown",_)}},[_]),(0,g.useEffect)(()=>{if(!h.current)return;let e=h.current.querySelectorAll("button"),l=e[0],t=e[1];if(!l||!t)return;let a=document.activeElement,r=a===document.body||a===p.current;(a===l||a===t||r)&&(N&&(a===t||r)?l.focus():C&&(a===l||r)&&t.focus())},[m,C,N]),(0,g.useEffect)(()=>{let e=p.current;if(!e)return;let l=new ResizeObserver(([e])=>{w(e.contentRect.width)});return l.observe(e),()=>l.disconnect()},[]);let S=(()=>{if(!A)return"0px";let e=y?rS[r].mobile:v?rS[r].desktop:rS[r].tablet;return`${Math.max(0,(A-e)/2)}px`})(),k="inline"===r,P=k&&"onLight"===s,I=(null!=(d=i.slidePositionStatus)?d:"Item {current} of {total}").replace(/\{current\}/g,String(m+1)).replace(/\{total\}/g,String(j));return(0,a.jsx)("div",{className:(0,b.cn)(rk.container[r],s,l),id:t,children:(0,a.jsxs)("div",{className:rk.containerInner[r],ref:p,children:[(0,a.jsx)("div",{className:rk.sliderWrapper,children:f?(0,a.jsx)(t8.default,{accessibility:!0,arrows:!1,beforeChange:(e,l)=>u(l),centerMode:!0,centerPadding:S,className:(0,b.cn)(rk.slider,!k&&rk.sliderScaleEffect),cssEase:"cubic-bezier(0.25, 0.1, 0.25, 1.0)",infinite:!1,ref:x,slidesToScroll:1,slidesToShow:1,speed:400,children:e.map(({media:e},l)=>(0,a.jsx)(rP,{index:l,media:e,priority:0===l},l))}):(0,a.jsx)("div",{className:"flex justify-center",style:{paddingLeft:S,paddingRight:S},children:(0,a.jsx)(e7.Skeleton,{className:(0,b.cn)("aspect-[3/2] w-full rounded-card-corner-radius-lg",{"max-w-[20.625rem] sm:max-w-[36.5rem] xl:max-w-[51rem]":k,"max-w-[18.5rem] sm:max-w-[40.625rem] xl:max-w-[56rem]":!k})})})}),e.length>1&&f&&(0,a.jsxs)("div",{className:(0,b.cn)(rk.footer,{"max-w-[20.625rem] sm:max-w-[40.625rem] xl:max-w-[51rem]":k,"max-w-[18.5rem] sm:max-w-[36.5rem] xl:max-w-[56rem]":!k}),children:[(0,a.jsx)("div",{"aria-atomic":"true","aria-live":"polite",className:"sr-only",id:t?`${t}-slide-position`:void 0,role:"status",children:I}),(null==(n=e[m])?void 0:n.caption)?(0,a.jsx)("div",{className:rk.caption,children:(0,tU.default)(e[m].caption)}):null,(0,a.jsx)("div",{className:(0,b.cn)("mx-auto flex w-full shrink-0 justify-end sm:w-auto sm:flex-1",{"sm:w-full":!!(k&&!(null==(c=e[m])?void 0:c.caption))}),ref:h,children:(0,a.jsx)(lC.CarouselArrows,{className:rk.arrows,classNameNext:P?(0,b.cn)(rk.arrowTransparent,{"!text-color-brand-text-primary":!N}):void 0,classNamePrev:P?(0,b.cn)(rk.arrowTransparent,{"!text-color-brand-text-primary":!C}):void 0,disabledNext:N,disabledPrev:C,leftAriaLabel:i.goToPreviousSlide,onClickNext:e=>{var l;null==o||o({direction:"next",event:e}),null==(l=x.current)||l.slickNext()},onClickPrev:e=>{var l;null==o||o({direction:"prev",event:e}),null==(l=x.current)||l.slickPrev()},rightAriaLabel:i.goToNextSlide,size:y?"small":"medium"})})]})]})})},"ImmersiveHero",0,({assetVariation:e,className:l,headline:t,bodyText:r,asset:s,logoGroup:i,logoSize:o,buttonGroup:n,secondarySequence:c,textCopies:d})=>{let m=function(){let[e,l]=(0,g.useState)(!1);return(0,g.useEffect)(()=>{if(!window.matchMedia)return;let e=window.matchMedia("(prefers-reduced-motion: reduce)");l(e.matches);let t=()=>l(e.matches);return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),e}();return(0,a.jsxs)("div",{"data-reduced":m,children:[(0,a.jsx)(rQ,{asset:s,assetVariation:e,bodyText:r,buttonGroup:n,className:(0,b.cn)(l,{"xl:hidden":!m}),headline:t,logoGroup:i,logoSize:o,secondarySequence:c,textCopies:d}),!m&&"lifestyle"===e&&(0,a.jsx)(rW,{asset:s,assetVariation:e,bodyText:r,buttonGroup:n,className:(0,b.cn)("hidden xl:block",l),headline:t,logoGroup:i,logoSize:o,secondarySequence:c,textCopies:d}),!m&&"product"===e&&(0,a.jsx)(rY,{asset:s,assetVariation:e,bodyText:r,buttonGroup:n,className:(0,b.cn)("hidden xl:block",l),headline:t,logoGroup:i,logoSize:o,secondarySequence:c,textCopies:d})]})},"InlineProductCard",0,({className:e,eyebrow:l,products:t})=>{if(!t||0===t.length)return null;let r=1===t.length;return(0,a.jsx)("section",{className:(0,b.cn)("onLight xl:grid-layout px-4 xl:container sm:px-[5.75rem] lg:px-12",e),children:(0,a.jsxs)("div",{className:"w-full rounded-corner-radius-8 border border-color-brand-border-primary p-4 sm:p-6 xl:col-start-4 xl:col-end-10",children:[l&&(0,a.jsx)("p",{className:(0,b.cn)("prose-eyebrow-bold-md col-span-full mb-5 uppercase",r&&"max-sm:prose-eyebrow-bold-sm"),children:(0,eM.truncateString)(l,64,!0)}),(0,a.jsx)("div",{className:"space-y-8 sm:space-y-6",children:t.map((e,l)=>(0,g.createElement)(lm.HorizontalProductCard,{...e,className:"border-0 py-0 px-0",hidePin:!0,key:l}))})]})})},"LONG_WORD_LANGUAGES",0,sJ,"Label",()=>el.Label,"LanguageSelector",()=>ta.LanguageSelector,"LaunchHero",()=>rX.LaunchHero,"Link",()=>ap.Link,"LinkProvider",()=>ap.LinkProvider,"LocationsRenderer",0,({className:e,themeClass:l="onLight",title:t,regi
17ons:r,locale:s})=>(0,a.jsxs)("div",{className:(0,b.cn)(e,l),children:[(0,a.jsx)("div",{className:(0,b.cn)("container mx-auto pt-10","xl:pt-14"),children:(0,a.jsx)("h1",{className:"prose-brand-xs text-color-brand-text-primary sm:prose-brand-sm xl:prose-brand-xl",children:t})}),(0,a.jsx)("div",{className:(0,b.cn)("container mx-auto"),children:Array.isArray(r)&&r.length>0?r.map(e=>(0,a.jsxs)("div",{"aria-label":e.name,className:(0,b.cn)(["border-b border-color-utility-border-secondary last:border-b-0","py-8 first:pt-10 last:pb-10","xl:py-14 xl:first:pt-14 xl:last:pb-14"]),children:[(0,a.jsx)("h2",{className:"prose-label-bold-lg text-color-brand-text-primary xl:prose-label-bold-xl",children:e.name}),(0,a.jsx)("div",{className:(0,b.cn)("mt-8 grid grid-cols-1 gap-8","sm:grid-cols-2","xl:grid-cols-4"),children:Array.isArray(e.links)&&e.links.length>0?e.links.map(e=>{var l;return(0,a.jsx)("div",{children:(0,a.jsxs)(ap.Link,{className:"sbd-focus-ring group -m-1 inline-flex w-auto gap-3 rounded-sm p-1",href:e.cta.url,rel:"noreferrer",target:"_blank",children:[(0,a.jsx)(r$.default,{className:(null==(l=null==e?void 0:e.locale)?void 0:l.toLowerCase())===s?"text-button-solid-fill-default opacity-100":"opacity-20"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"prose-label-semibold-sm text-color-utility-text-primary sm:prose-label-semibold-md group-hover:underline",children:e.cta.title}),(0,a.jsx)("div",{className:"prose-body-medium-xs mt-0.5 text-color-utility-text-tertiary sm:prose-body-medium-sm",children:e.languageLabel})]})]})},e.cta.url)}):(0,a.jsx)("div",{children:"No links found."})})]},e.name)):(0,a.jsx)("div",{children:"No locations found."})})]}),"LogoGroup",()=>tr.LogoGroup,"MARKET_CODE",()=>s5.MARKET_CODE,"MATERIAL_ICONS_STYLESHEET_HREF",0,ie,"ManualsDownloadModal",0,({className:e,id:l,isOpen:t,isCommerceEnabled:r=!1,title:s,paragraphs:i,agreeText:o,declineText:n,onAgree:c,onDecline:d,close:m,isAgreeSubmitting:u=!1})=>{var x,p;let h=(0,g.useRef)(null),{lock:f,unlock:v}=(0,rJ.useScrollLock)({autoLock:!1}),y=r&&t,A=null!=(x=null==m?void 0:m.onClose)?x:d,w=null!=(p=null==m?void 0:m.closeAriaLabel)?p:"Close";if((0,g.useEffect)(()=>(y?f():v(),()=>v()),[y,f,v]),(0,g.useEffect)(()=>{let e=e=>{"Escape"===e.key&&y&&A()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[y,A]),!y||"u"<typeof document)return null;let j=(0,a.jsx)(rZ.FocusTrap,{focusTrapOptions:{initialFocus:!1,fallbackFocus:()=>h.current||document.body,clickOutsideDeactivates:!0,allowOutsideClick:!0},children:(0,a.jsxs)("div",{"aria-label":s,"aria-modal":"true",className:(0,b.cn)("fixed inset-0 z-[100] flex items-center justify-center bg-color-opacity-theme-80 p-4","onLight"),"data-testid":"manuals-download-modal",ref:h,role:"dialog",children:[(0,a.jsx)("button",{"aria-label":w,className:"absolute inset-0 cursor-default",onClick:A,tabIndex:-1,type:"button"}),(0,a.jsxs)("div",{className:(0,b.cn)("relative z-10 flex w-full max-w-[41.5rem] max-h-[calc(100vh-2rem)] flex-col overflow-hidden bg-color-brand-surface-primary shadow-[0px_0px_30px_0px_rgba(0,0,0,0.12)]",e),id:l,children:[(0,a.jsx)(aW.PanelHeader,{onIconClick:A,title:s,type:"close"}),(0,a.jsxs)("div",{className:"flex flex-1 flex-col gap-6 overflow-y-auto px-4 py-6 sm:px-10",children:[(0,a.jsx)("div",{children:i.map((e,l)=>(0,a.jsx)("p",{className:"prose-body-medium-md text-color-utility-text-primary",children:e},l))}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-5",children:[(0,a.jsx)(U.Button,{ariaLabel:o,"data-testid":"manuals-download-modal-agree",isSubmitting:u,onClick:c,size:"large",variant:"button-solid",children:o}),(0,a.jsx)(U.Button,{ariaLabel:n,"data-testid":"manuals-download-modal-decline",onClick:d,size:"large",variant:"button-outline",children:n})]})]})]})]})});return(0,rK.createPortal)(j,document.body)},"MapPin",0,et,"Media",0,({id:e,mediaAsset:l,textCopies:t={},themeClass:r,variant:s="inline",trackingHandlers:i,prioritizeImages:o=!1,videoTitle:n})=>{var c,d,m,u,x,p,h;let f,g,{boolean:{showCraftsmanShape:v}={},styles:{roundedStyles:y,videoRoundedStyles:A}={}}=null!=(c=(0,lW.useBrandStyleContext)().media)?c:{},w=(p=(null==l?void 0:l.type)==="video"?null!=(d=null==l?void 0:l.orientation)?d:"horizontal":void 0,h=(null==l?void 0:l.type)==="image"?null==(m
17=l.images)?void 0:m.length:void 0,f=(0,b.cn)("grid-layout container w-full py-10 xl:py-14"),g=(0,b.cn)("col-span-full flex flex-col gap-y-10","vertical"===p&&"sm:mx-auto sm:h-[45.5rem] sm:min-w-[24.1875rem] md:min-w-[27.25rem] md:max-w-[27.25rem] xl:h-[40.375rem] xl:min-w-[24.1875rem] xl:max-w-[24.1875rem]","inline"===s&&"lg:col-span-full","full-width"===s&&"lg:col-start-2 lg:col-end-12",h?h>1&&"sm:flex-row sm:gap-x-6 lg:gap-x-8":void 0,h?3===h&&"sm:gap-x-4 lg:gap-x-5":void 0),{container:f,videoPlayerContainer:"col-span-full w-full h-auto",videoPlayer:(0,b.cn)("h-auto w-full","vertical"===p&&"aspect-3/5","horizontal"===p&&"aspect-video"),innerContainer:g});return(0,a.jsx)("div",{className:(0,b.cn)("bg-color-brand-surface-primary","full-width"===s&&r,"inline"===s&&"onLight"),id:e,children:(0,a.jsx)("div",{className:w.container,children:(0,a.jsxs)("div",{className:w.innerContainer,children:[(null==l?void 0:l.type)==="video"&&(0,a.jsxs)("figure",{className:w.videoPlayerContainer,children:[(0,a.jsx)(ts.VideoPlayer,{className:(0,b.cn)(y,A,w.videoPlayer),coverImage:l.videoCoverImage,sourceUrl:l.url,streamingUrl:l.streamingUrl,textCopies:t,title:null!=(u=l.videoTitle)?u:n,tooltipType:"time",trackingHandlers:i}),l.caption&&(0,a.jsx)(to,{caption:l.caption})]}),(null==l?void 0:l.type)==="image"&&(null==(x=null==l?void 0:l.images)?void 0:x.map((e,t)=>{var r,s,i,n;return(0,a.jsxs)("figure",{className:"w-full",children:[(0,a.jsxs)("div",{className:(n=Number(null==(r=l.images)?void 0:r.length),{imageContainer:(0,b.cn)("relative",1===n&&"aspect-video lg:aspect-3/2",n>1&&0===t&&"aspect-square",n>1&&1===t&&"aspect-3/4",n>1&&2===t&&"aspect-4/3")}).imageContainer,children:[(0,a.jsx)(ec.PolarisImage,{alt:e.alt||"",className:(0,b.cn)("object-cover",y),fetchPriority:o&&0===t?"high":"auto",fill:!0,focalPoint:null==e?void 0:e.focalPoint,priority:o&&0===t,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("InlineMedia")),src:e.url,transformBaseUrl:null==e?void 0:e.transformBaseUrl}),v&&t===Number(null==(s=null==l?void 0:l.images)?void 0:s.length)-1&&(0,a.jsx)(ti,{className:(0,b.cn)((null==(i=null==l?void 0:l.images)?void 0:i.length)===1?"h-[4.375rem] w-[4.375rem]":"h-[3.125rem] w-[3.125rem]","xl:h-[4.375rem] xl:w-[4.375rem]")})]}),e.caption&&(0,a.jsx)(to,{caption:e.caption})]},t)}))]})})})},"MediaBreaker",0,r2,"Modal",()=>tn.Modal,"ModelNumberCompatibility",()=>r5.ModelNumberCompatibility,"ModelNumberCompatibilityModal",()=>r4.ModelNumberCompatibilityModal,"ModelNumberCompatibilitySuggestionsList",()=>r3.ModelNumberCompatibilitySuggestionsList,"MultipleSelectDropdown",()=>lV.MultipleSelectDropdown,"MyAddresses",()=>sI.MyAddresses,"NoFilters",()=>l6.NoFilters,"NotFound",()=>sE.NotFound,"NotificationsBanner",()=>tc.NotificationsBanner,"NumberField",()=>ea.NumberField,"NumberSelector",0,er,"ONLINE_RETAILER_EXAMPLE",()=>sH.ONLINE_RETAILER_EXAMPLE,"OPEN_REGISTER_TOOL_SESSION_STORAGE_KEY",()=>
17sF.OPEN_REGISTER_TOOL_SESSION_STORAGE_KEY,"OperatorsManual",()=>r8.OperatorsManual,"OperatorsManualsModal",()=>r9.OperatorsManualsModal,"OrderCard",()=>td.OrderCard,"OrderDetail",()=>sB.OrderDetail,"OrderHistory",()=>sL.OrderHistory,"PARTS_PRODUCT_CLASSIFICATION",()=>s4.PARTS_PRODUCT_CLASSIFICATION,"PRODUCT_SEARCH_RESULT_EXAMPLE",()=>sH.PRODUCT_SEARCH_RESULT_EXAMPLE,"PROFILE_AND_SETTINGS_TEST_IDS",()=>sd.PROFILE_AND_SETTINGS_TEST_IDS,"PROMOTIONS_THEMES",()=>eI.PROMOTIONS_THEMES,"PROMOTION_BADGE_MAX_COUNT",()=>eI.PROMOTION_BADGE_MAX_COUNT,"PROMOTION_BADGE_MAX_LENGTH",()=>eI.PROMOTION_BADGE_MAX_LENGTH,"PURPOSE_CODES",()=>s5.PURPOSE_CODES,"PURPOSE_KEYS",()=>s5.PURPOSE_KEYS,"PageLoader",()=>tm.PageLoader,"Pagination",()=>es.Pagination,"PanelCtasBase",()=>tu.PanelCtasBase,"PasswordStrength",()=>ei.PasswordStrength,"PathingCardScroller",()=>tx.PathingCardScroller,"PathingTileCarousel",0,({id:e,themeClass:l,cards:t,isFeatured:r,className:s,headline:i,headerStyle:o,eyebrow:n,body:c,textCopies:d={},isPathingTilePackage:m,onClickNavArrows:u,onClickCarouselLink:x,onClickPackageLink:p,onClickBasicCardPackage
17CardCta:h})=>{let f="inline"===o;return(0,a.jsx)("div",{className:(0,b.cn)(l,s),id:e,children:t.length>(f?2:4)?(0,a.jsx)(t7.CardScroller,{cards:t,className:(0,b.cn)("col-span-full xl:col-span-8 xl:py-14",i?"pb-0":"py-10"),description:c,eyebrow:n,handleCardCtaClick:h,handleOnClickCarouselLink:x,handleOnClickNavArrows:u,isFeatured:r,isPathingTilePackage:m,slidesToScroll:2,textCopies:d,themeClass:l,title:i,variant:o}):(0,a.jsx)(t5.BasicCardPackage,{bodyText:c,cardGroup:t,cardTreatment:"pathingTileCarousel",className:(0,b.cn)("col-span-full xl:col-span-8 xl:py-14",i?"pb-0":"py-10"),eyebrow:n,handleCardCtaClick:h,handlePathingTileCardOnClick:p,headline:i,isFeatured:r,isPathingTilePackage:m,sectionHeaderBreakpointSizes:{sm:f?"large":"small",md:"small",lg:2===t.length?"large":"small"},themeClass:l})})},"PhoneNumberField",()=>eo.PhoneNumberField,"PinButton",()=>en.PinButton,"PolarisImage",()=>ec.PolarisImage,"Price",0,({original:e,price:l,showFrom:t})=>(0,a.jsxs)("div",{className:ed.wrapper,children:[t&&(0,a.jsx)("span",{className:ed.label,children:"From:"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:ed.price,children:l}),(0,a.jsx)("span",{className:ed.original,children:e})]})]}),"PriceAndPromotion",()=>sl.PriceAndPromotion,"PriceAndPromotionSkeleton",()=>st.PriceAndPromotionSkeleton,"PriceSelector",()=>em.PriceSelector,"PriceSpider",()=>eu.PriceSpider,"PricingDisclaimerModal",()=>se.PricingDisclaimerModal,"PricingDisclaimerModalProvider",()=>s7.PricingDisclaimerModalProvider,"Product3DViewModal",()=>tp.Product3DViewModal,"ProductArViewModal",0,({children:e,isOpen:l,onClose:t,title:r})=>(0,a.jsx)(lM,{onOpenChange:t,open:l,children:(0,a.jsxs)(lG,{children:[(0,a.jsx)(lF,{children:(0,a.jsx)(lH,{children:r})}),e]})}),"ProductCard",()=>lf.ProductCard,"ProductDetailsHero",()=>sa.ProductDetailsHero,"ProductHubHero",0,e=>{var l,t,r,s,i,o,n,c,d,{sku:m,shortName:u,longName:x,productTag:p,imageAsset:h,arSku:f,has3DView:g=!1,productDetails:v,cta:y,className:A,textCopies:w={},onClickCta:j}=e,C=so(e,["sku","shortName","longName","productTag","imageAsset","arSku","has3DView","productDetails","cta","className","textCopies","onClickCta"]);let N=null==p?void 0:p.tagName,_=null==p?void 0:p.tagType,S=p&&N&&!!Object.keys(p).length,k=!!f,P=k||g,I=null!=(t=null!=(l=null==v?void 0:v.sectionTitle)?l:w.productDetailsTitle)?t:"Product Details",E=null==(r=null==v?void 0:v.description)?void 0:r.trim(),B=null!=(i=null!=(s=null==y?void 0:y.text)?s:w.viewProductDetails)?i:"View Product Details",L=null!=(o=w.view3D)?o:"3D View",T=null!=(n=w.viewAR)?n:"AR View";return(0,a.jsxs)("section",{className:(0,b.cn)("onLight bg-color-brand-surface-primary text-color-brand-text-primary","flex flex-col gap-8","px-4 py-8 sm:px-8 sm:py-10 xl:px-10 xl:py-0","xl:grid xl:grid-cols-12 xl:gap-0",A),"data-testid":"product-hub-hero",...C,children:[(0,a.jsxs)("div",{className:(0,b.cn)("flex flex-col gap-8","xl:sticky xl:top-0 xl:col-span-8 xl:gap-0 xl:pr-8 xl:pt-10"),children:[(0,a.jsxs)("div",{className:"flex flex-col gap-4 xl:pb-8",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[S&&(0,a.jsx)(le.Tag,{className:"flex items-center justify-center",name:N,size:"responsive",variant:(0,si.normalizeTagVariant)(_)}),(0,a.jsx)("span",{className:"prose-eyebrow-medium-md uppercase text-color-brand-text-primary sm:prose-eyebrow-medium-lg","data-testid":"product-hub-hero-sku",children:m})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-2","data-testid":"product-hub-hero-title",children:[(0,a.jsx)("h1",{className:(0,b.cn)("!normal-case text-color-brand-text-primary","prose-brand-xs sm:prose-brand-sm xl:prose-brand-md"),children:(0,eM.renderWithSuperscript)(u)}),x&&(0,a.jsx)("span",{className:"prose-body-medium-sm text-color-brand-text-secondary sm:prose-body-medium-md xl:prose-body-medium-lg",children:x})]})]}),(0,a.jsxs)("div",{className:"flex flex-col items-center gap-5 xl:pb-10",children:[P&&(0,a.jsxs)("div",{className:"flex w-full items-center gap-2","data-testid":"product-hub-hero-ar-3d-buttons",children:[k&&(0,a.jsx)(U.Button,{RightIcon:ss.default,className:"bg-color-brand-surface-primary","data-testid":"product-hub-hero-ar-button",onClick:()=>{var e;return null==(e=null==j?void 0:j({ctaText:T}))?void 0:e()},size:"small",variant:"outline",children:T}),g&&(0,a.jsx)(U.Button,{RightIcon:sr.default,className:"bg-color-brand-surface-primary","data-testid":"product-hub-hero-3d-button",onClick:()=>{var e;return null==(e=null==j?void 0:j({ctaText:L}))?void 0:e()},size:"small",variant:"outline",children:L})]}),(0,a.jsx)("div",{className:(0,b.cn)("relative flex aspect-square w-full items-center justify-center","max-w-[20.375rem] sm:max-w-[29rem] xl:max-w-[27rem]"),"data-testid":"product-hub-hero-image",children:(null==h?void 0:h.url)?(0,a.jsx)(ec.PolarisImage,{alt:null!=(c=h.alt)?c:u,aspectRatio:(0,an.getImageAspectRatioForComponent)("ProductHubHero"),className:"size-full",f
17ill:!0,focalPoint:h.focalPoint,objectFit:"contain",priority:!0,quality:eh.HERO_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("ProductHubHero")),src:h.url,transformBaseUrl:h.transformBaseUrl}):(0,a.jsx)("div",{"aria-hidden":!0,className:"size-full",style:{backgroundImage:"linear-gradient(45deg, var(--color-brand-border-secondary, #f0eeee) 25%, transparent 25%), linear-gradient(-45deg, var(--color-brand-border-secondary, #f0eeee) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--color-brand-border-secondary, #f0eeee) 75%), linear-gradient(-45deg, transparent 75%, var(--color-brand-border-secondary, #f0eeee) 75%)",backgroundSize:"1.5rem 1.5rem",backgroundPosition:"0 0, 0 0.75rem, 0.75rem -0.75rem, -0.75rem 0"}})})]})]}),(0,a.jsxs)("div",{className:(0,b.cn)("flex flex-col gap-8 sm:gap-14","xl:col-span-4 xl:gap-16 xl:py-20 xl:pl-8","xl:border-l xl:border-color-brand-border-secondary"),children:[!!E&&(0,a.jsxs)("div",{className:"flex flex-col gap-6","data-testid":"product-hub-hero-details",children:[(0,a.jsx)("h2",{className:"prose-brand-xs uppercase text-color-brand-text-primary",children:I}),(0,a.jsx)("p",{className:"prose-body-medium-sm text-color-utility-text-primary",children:(0,eM.renderWithSuperscript)(E)})]}),(0,a.jsx)("div",{className:"flex flex-col items-stretch",children:(0,a.jsx)(U.Button,{className:"w-full","data-testid":"product-hub-hero-cta",link:(null==y?void 0:y.url)?{url:y.url,text:B,external:null!=(d=y.external)&&d,target:y.target}:void 0,onClick:()=>{var e;null==(e=null==j?void 0:j({ctaText:B}))||e()},size:"large",variant:"solid",children:B})})]})]})},"ProductLabel",()=>ex.ProductLabel,"ProductLineCard",()=>th.ProductLineCard,"ProductModelNumberInputWithAlgolia",0,({algoliaClient:e,algoliaIndexName:l,error:t,label:r,onChange:s,onValidChange:i,onModelSelect:o,requiredText:n,placeholder:c,required:d,themeClass:m,transformHit:u,hitsPerPage:x=9})=>{let[p,h]=(0,g.useState)(""),[f,b]=(0,g.useState)([]),{globalFallbackImage:v}=(0,lp.useGlobalElements)(),y=(0,g.useMemo)(()=>u||tg,[u]),A=(0,g.useCallback)(()=>{var t,a,r,s;return t=void 0,a=void 0,r=void 0,s=function*(){if(p.length<2)return void b([]);try{let t=(yield e.search([{indexName:l,query:p,params:{hitsPerPage:x}}])).results[0].hits.map(e=>y(Object.assign(Object.assign({},e),{fallbackImage:v})));b(t)}catch(e){b([])}},new(r||(r=Promise))(function(e,l){function i(e){try{n(s.next(e))}catch(e){l(e)}}function o(e){try{n(s.throw(e))}catch(e){l(e)}}function n(l){var t;l.done?e(l.value):((t=l.value)instanceof r?t:new r(function(e){e(t)})).then(i,o)}n((s=s.apply(t,a||[])).next())})},[p,e,l,x,y]);(0,g.useEffect)(()=>{if(p.length<2)return void b([]);let e=setTimeout(()=>{A()},300);return()=>{clearTimeout(e)}},[p,A]);let w=(0,g.useCallback)(e=>{h(e),s&&s(e)},[s]);return(0,a.jsx)(tf.ProductModelNumberInput,{error:t,label:r,onChange:w,onValidChange:i,onModelSelect:o,requiredText:n,placeholder:c,required:d,themeClass:m,suggestions:f})},"ProductModelNumberInputWithGPI",()=>tb.ProductModelNumberInputWithGPI,"ProductPin",0,ep,"ProductQuickView",()=>sn.ProductQuickView,"ProductRegistrationForm",()=>sc.ProductRegistrationForm,"ProductSelector",0,({labelText:e,value:l,id:t,image:r,alt:s,disabled:i=!1,onValueChange:o})=>(0,a.jsx)(V.RadioCards.Root,{onValueChange:o,children:(0,a.jsxs)(V.RadioCards.Item,{className:(0,b.cn)("relative flex items-center justify-between rounded-[0.5rem] border-[0.09375rem] border-color-utility-border-primary py-4 pl-4 pr-5 hover:enabled:border-color-utility-border-contrast","data-[state=checked]:enabled:border-color-utility-border-contrast","w-[25rem] gap-x-5 [&[data-state=checked]_.secondary-text]:text-color-utility-text-inverse","[&[disabled]_.image-container]:opacity-50 [&[disabled]_.text]:text-color-utility-text-disabled","[&[data-state=checked]_.add-icon]:hidden [&[data-state=checked]_.check-icon]:block","disabled:border-color-brand-border-secondary [&[disabled]_.svg-container]:flex"),disabled:i,value:l,children:[(0,a.jsxs)("div",{className:"flex items-center gap-x-3",children:[(0,a.jsx)("div",{className:"image-container relative size-[2.6875rem]",children:r?(0,a.jsx)(ec.PolarisImage,{alt:s||"",className:"m-0",height:43,quality:eh.GLOBAL_IMAGE_QUALITY,src:r,width:43}):(0,a.jsxs)("svg",{fill:"none",height:"43",viewBox:"0 0 43 43",width:"43",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:[(0,a.jsx)("g",{clipPath:"url(#clip0_2876_15046)",children:(0,a.jsx)("rect",{fill:"url(#pattern0_2876_15046)",height:"43.0001",width:"43"})}),(0,a.jsxs)("defs",{children:[(0,a.jsx)("pattern",{height:"1",id:"pattern0_2876_15046",patternContentUnits:"objectBoundingBox",width:"1",children:(0,a.jsx)("use",{transform:"scale(0.00390626)",xlinkHref:"#image0_2876_15046"})}),(0,a.jsx)("clipPath",{id:"clip0_2876_15046",children:(0,a.jsx)("rect",{fill:"white",height:"43.0001",width:"43"})}),(0,a.jsx)("image",{height:"256",id:"image0_2876_15046",width:"256",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAACixJREFUeF7t3TFSJEAMQ9HhBNz/jESkJLuH+EGXym9zirKxvmUx9H79/f39+4R/v7+/4as/n+/v7/T1vr/+lwG6Pn9fAABARUAAvA1gAOBAiv4/AAAAaYCuWzD1c2BFQBXAHAAHUOaPAxjPwAAAAAAgdKBu4NcOEAAAIIz/hwPgALZDkNcE9v1lAIXA1YFwABxAmT8OgAPgAIqCOAAOoMwPBzBOYAAAAAAIHagEJEACDOM3fwLJAGQAZf7nBXB9AQAAAABA6MC6AwUAAAjj73MAACCESwK6bkHV/zaD+fr5+UnvAfgBvv0B6r/+lw0EABxMmR8PuoyfkAAAAAAQOrDuwAAAAML4e9INAMYt0HqKuz6A+v/2o/QcAAfAAYQOrAMYAAAgjL8TAACcAElALPBbC3y9/xwAB5AAtr4BAcAHgQggdAAAtj+IxAFwAEH+MoB1AAIAAABA6AAACAHD+Phruus3+Ov6OQAOIAFsfQO+FuDr7w8AAAAAoQPrAAQAAAjjLwScB4D/Hnz71zivLaTvv/1BJk+CCTGTAwAAAEgDtG6hCGBbANfnjwPgABLAAXAbgAAAAAAQOrAOQAAAgDD+PsgEAH6NlgR0/QZV/9vfQnEAHEAC2PoGvA4gAAAAAAgdWAcgAABAGH8ZAADIAJKArltQ9csAkoDWCUwAbwVwvf9OACcAAIcOrC8gAACAMP4yAACQASQBXbeg6n97AnEAHEAC2PoGvA4gD4JwMAkA1wW0Xj8AAAAAhA4AAAsdxkeI5oR4++fEHAAHkAC2vgGvAwgAAAAAQgfWAQgAABDG36vAACADSAK6bkHVLwNIAlonMAG8FcD1/jsBnAAAHDqwvoAAAADC+MsAAEAGkAR03YKq/+0JxAFwAAlg6xvwOoAAAAAAIHRgHYAAAABh/GUAACADSAK6bkHVLwNIAlonMAG8FcD1/nsQhINJAL4uoPX6AQAAACB0AACEaGF8hGhOOG8CJgGtE5gA3grgev+dAE4AAA4dWF9AAAAAYfw9aQYAMoAkoOsWVP1vTyAOgANIAFvfgNcBBAAAAAChA+sABAAACOMvAwAAGUAS0HULqn4ZQBLQOoEJ4K0ArvffCeAEAODQgfUFBAAAE
17MZfBgAAMoAkoOsWVP1vTyAOgANIAFvfgNcB5EkwDiYB4LqA1usHAAAAgNABAGChw/gI0ZwQb59E4wA4gASw9Q14HUAAAAAAEDqwDkAAAIAw/p40AwAZQBLQdQuqfhlAEtA6gQngrQCu998J4AQA4NCB9QUEAAAQxl8GAAAygCSg6xZU/W9PIA6AA0gAW9+A1wEEAAAAAKED6wAEAAAI4y8DAAAZQBLQdQuqfhlAEtA6gQngrQCu99+DIBxMAvB1Aa3XDwAAAAChAwAgRAvjI0RzwnkTMAloncAE8FYA1/vvBHACAHDowPoCAgAACOPvSTMAkAEkAV23oOp/ewJxABxAAtj6BrwOIAAAAAAIHVgHIAAAQBh/GQAAyACSgK5bUPXLAJKA1glMAG8FcL3/TgAnAACHDqwvIAAAgDD+MgAAkAEkAV23oOp/ewJxABxAAtj6BrwOIE+CcTAJANcFtF4/AAAAAIQOAAALHcZHiOaEePskGgfAASSArW/A6wACAAAAgNCBdQACAACE8fekGQDIAJKArltQ9csAkoDWCUwAbwVwvf9OACcAAIcOrC8gAACAMP4yAACQASQBXbeg6n97AnEAHEAC2PoGvA4gAAAAAAgdWAcgAABAGH8ZAADIAJKArltQ9csAkoDWCUwAbwVwvf8eBOFgEoCvC2i9fgAAAAAIHQAAIVoYHyGaE86bgElA6wQmgLcCuN5/J4ATAIBDB9YXEAAAQBh/T5oBgAwgCei6BVX/2xOIA+AAEsDWN+B1AAEAAABA6MA6AAEAAML4ywAAQAaQBHTdgqpfBpAEtE5gAngrgOv9dwI4AQA4dGB9AQEAAITxlwEAgAwgCei6BVX/2xOIA+AAEsDWN+B1AHkSjINJALguoPX6AQAAACB0AABY6DA+QjQnxNsn0TgADiABbH0DXgcQAAAAAIQOrAMQAAAgjL8nzQBABpAEdN2Cql8GkAS0TmACeCuA6/13AjgBADh0YH0BAQAAhPGXAQCADCAJ6LoFVf/bE4gD4AASwNY34HUAAQAAAEDowDoAAQAAwvjLAABABpAEdN2Cql8GkAS0TmACeCuA6/33IAgHkwB8XUDr9QMAAABA6AAACNHC+AjRnHDeBEwCWicwAbwVwPX+OwGcAAAcOrC+gAAAAML4e9IMAGQASUDXLaj6355AHAAHkAC2vgGvAwgAAAAAQgfWAQgAABDGXwYAADKAJKDrFlT9MoAkoHUCE8BbAVzvvxPACQDAoQPrCwgAACCMvwwAAGQASUDXLaj6355AHAAHkAC2vgGvA8iTYBx
17MAsB1Aa3XDwAAAAChAwDAQofxEaI5Id4+icYBcAAJYOsb8DqAAAAAACB0YB2AAAAAYfw9aQYAMoAkoOsWVP0ygCSgdQITwFsBXO+/E8AJAMChA+sLCAAAIIy/DAAAZABJQNctqPrfnkAcAAeQALa+Aa8DCAAAAABCB9YBCAAAEMZfBgAAMoAkoOsWVP0ygCSgdQITwFsBXO+/B0E4mATg6wJarx8AAAAAQgcAQIgWxkeI5oTzJmAS0DqBCeCtAK733wngBADg0IH1BQQAABDG35NmACADSAK6bkHV//YE4gA4gASw9Q14HUAAAAAAEDqwDkAAAIAw/jIAAJABJAFdt6DqlwEkAa0TmADeCuB6/50ATgAADh1YX0AAAABh/GUAACADSAK6bkHV//YE4gA4gASw9Q14HUCeBONgEgCuC2i9fgAAAAAIHQAAFjqMjxDNCfH2STQOgANIAFvfgNcBBAAAAAChA+sABAAACOPvSTMAkAEkAV23oOqXASQBrROYAN4K4Hr/nQBOAAAOHVhfQAAAAGH8ZQAAIANIArpuQdX/9gTiADiABLD1DXgdQAAAAAAQOrAOQAAAgDD+MgAAkAEkAV23oOqXASQBrROYAN4K4Hr/PQjCwSQAXxfQev0AAAAAEDoAAEK0MD5CNCecNwGTgNYJTABvBXC9/04AJwAAhw6sLyAAAIAw/p40AwAZQBLQdQuq/rcnEAfAASSArW/A6wACAAAAgNCBdQACAACE8ZcBAIAMIAnougVVvwwgCWidwATwVgDX++8EcAIAcOjA+gICAAAI4y8DAAAZQBLQdQuq/rcnEAfAASSArW/A6wDyJBgHkwBwXUDr9QMAAABA6AAAsNBhfIRoToi3T6JxABxAAtj6BrwOIAAAAAAIHVgHIAAAQBh/T5oBgAwgCei6BVW/DCAJaJ3ABPBWANf77wRwAgBw6MD6AgIAAAjjLwMAABlAEtB1C6r+tycQB8ABJICtb8DrAAIAAACA0IF1AAIAAITxlwEAgAwgCei6BVW/DCAJaJ3ABPBWANf7/x/aVlkHhH7qqQAAAABJRU5ErkJggg=="})]})]})}),(0,a.jsxs)("div",{className:"flex w-[16.5625rem] flex-col gap-1 text-left",children:[(0,a.jsx)("span",{className:"text prose-eyebrow-medium-sm text-color-utility-text-tertiary",children:t}),(0,a.jsx)("span",{className:"text prose-body-medium-sm font-semibold leading-[1.0625rem] text-color-utility-text-primary",children:e})]})]}),(0,a.jsxs)("div",{className:"text text-color-utility-icon-primary",children:[(0,a.jsx)("div",{className:"add-icon",children:(0,a.jsx)(X.default,{})}),(0,a.jsx)("div",{className:"check-icon hidden",children:(0,a.jsx)(Y.default,{})})]}),(0,a.jsx)("div",{className:"svg-container absolute hidden size-full flex-1 items-center justify-center",children:(0,a.jsx)("svg",{className:"absolute ",fill:"none",height:"78",viewBox:"0 0 78 78",width:"78",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{className:"stroke-color-brand-border-secondary",d:"M2 76L76 2",strokeLinecap:"square",strokeWidth:"1.5"})})})]})}),"ProductVariantAccordion",()=>tv.ProductVariantAccordion,"ProfileAndSettings",()=>sd.ProfileAndSettings,"ProfileWidget",()=>sm.ProfileWidget,"ProgressBar",0,({progress:e,orientation:l="horizontal",width:t="100%",height:r="100%"})=>{let s="0.1875rem",i="horizontal"===l;return(0,a.jsx)(eA,{"aria-label":"progress-bar",className:`relative ${i?"h-[0.1875rem] w-full":"h-full w-[0.1875rem]"} overflow-hidden rounded-full bg-neutral-300`,style:{transform:"translateZ(0)",width:i?t:s,height:i?s:r},value:e,children:(0,a.jsx)(ej,{className:"ease-[cubic-bezier(0.65,_0,_0.35,_1)] size-full bg-color-utility-border-contrast transition-transform duration-[660ms]",style:{transform:i?`translateX(-${100-e}%)`:`translateY(-${100-e}%)`}})})},"PromoCardHeader",()=>ty.PromoCardHeader,"PromotionBreaker",0,({bodyText:e,className:l,cta:t,headline:r,id:s,logos:i,logoSize:o,themeClass:n,visualAsset:c,onClickCta:d})=>{var m,u;let{promotionBreakerStyles:{booleans:{showStanleyShape:x,hasBorder:p}={},styles:{innerContainerStyles:h,withAssetContainerStyles:f,noAssetContainerStyles:g,containerBackgroundStyles:v}={}}={}}=(0,lW.useBrandStyleContext)(),{isTabletAndUp:y}
17=(0,tG.useBreakpoint)(),A=e=>Object.assign(Object.assign({},e),{onClick:d?()=>{var l;return null==d?void 0:d({title:null!=r?r:"",clickText:null!=(l=null==e?void 0:e.text)?l:""})}:null==e?void 0:e.onClick});return(0,a.jsxs)("div",{className:(0,b.cn)("relative flex w-full rounded-card-corner-radius-lg",c?"onDark bg-transparent px-4 py-6 sm:p-8 xl:p-10":`${n} bg-color-brand-surface-primary  p-4 sm:p-8 xl:p-10`,!c&&`${g} ${null==v?void 0:v[n]}`,c&&f,l),id:s,children:[c&&(0,a.jsxs)("div",{className:"absolute inset-0",children:[(0,a.jsx)("figure",{className:"relative size-full",children:(0,a.jsx)(ec.PolarisImage,{alt:null!=(m=c.alt)?m:"",aspectRatio:(0,an.getImageAspectRatioForComponent)("PromotionBreaker"),className:(0,b.cn)("object-cover",p&&"rounded-xl"),fill:!0,focalPoint:null==c?void 0:c.focalPoint,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("PromotionBreaker")),src:(null==(u=c.sizes)?void 0:u.lg)||c.url,transformBaseUrl:null==c?void 0:c.transformBaseUrl})}),(0,a.jsx)("div",{className:(0,b.cn)("absolute inset-0 bg-[var(--colors-base-1000)] opacity-50",p&&"rounded-xl")})]}),x&&(0,a.jsx)("div",{className:"absolute right-0 top-0",children:(0,a.jsx)(su,{className:"size-12 sm:size-20 xl:size-[6.5rem]"})}),(0,a.jsx)("div",{className:(0,b.cn)("flex-1",c&&"py-10 xl:py-14",!c&&h),children:(0,a.jsxs)("div",{className:(0,b.cn)("relative z-paragraph-1 flex flex-col",c?"gap-y-4 sm:gap-y-6":"gap-y-6 sm:gap-y-6"),children:[i&&(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)(tr.LogoGroup,{breakpointSizes:{sm:o,md:o,lg:o},logos:i})}),(0,a.jsxs)("div",{className:(0,b.cn)("flex flex-col items-center",c?"gap-y-1":"gap-y-2 xl:gap-y-2"),children:[(0,a.jsx)("h2",{className:"prose-brand-sm text-center text-color-brand-text-primary sm:prose-brand-md xl:prose-brand-xl",children:(0,eM.renderWithSuperscript)(r)}),e&&(0,a.jsx)("p",{className:"prose-body-medium-xs text-center leading-[1.0625rem] text-color-brand-text-secondary sm:prose-body-medium-sm xl:prose-body-medium-md sm:w-[89.489%] xl:w-[53.999%]",children:e})]}),((null==t?void 0:t.primary)||(null==t?void 0:t.secondary))&&(0,a.jsx)(lh.ButtonGroup,{className:"sm:justify-center [&_a]:flex-1 sm:[&_a]:flex-[unset] [&_button]:flex-1 sm:[&_button]:flex-[unset]",layout:y?"Inline":"Stacked",primaryCta:(null==t?void 0:t.primary)&&A(null==t?void 0:t.primary),secondaryCta:(null==t?void 0:t.secondary)&&A(null==t?void 0:t.secondary)})]})})]})},"QuoteBreaker",0,({attributionName:e,attributionTitle:l,id:t,quoteText:r,themeClass:s,visualAsset:i})=>{var o;let{quoteBreaker:{booleans:{showBorder:n,showShape:c,isCraftsmanQuote:d,isDewaltQuote:m,isStanleyQuote:u}={},styles:{quoteTextStyles:x,innerContainer:p,innerContainerWithImage:h,contentContainer:f}={}}={}}=(0,lW.useBrandStyleContext)();return(0,a.jsx)("div",{className:(0,b.cn)("relative z-10 w-full",(null==i?void 0:i.url)?"onDark":(0,b.cn)(s,"bg-color-brand-surface-primary")),id:t,children:(0,a.jsxs)("div",{className:(0,b.cn)("container relative py-8 sm:px-8 sm:py-10 xl:px-10 xl:py-16",p,(null==i?void 0:i.url)&&h),children:[(null==i?void 0:i.url)&&(0,a.jsxs)("div",{className:"absolute inset-0 z-[-1]",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-black opacity-80"}),(0,a.jsx)(ec.PolarisImage,{alt:i.alt||"","aria-hidden":"true",className:"z-[-1] size-full object-cover",fill:!0,focalPoint:null==i?void 0:i.focalPoint,quality:eh.GLOBAL_IMAGE_QUALITY,sizes:(0,eh.generateImageSizes)((0,eh.getImageSizesForComponent)("MediaBreaker")),src:(null==(o=i.sizes)?void 0:o.lg)||i.url,transformBaseUrl:null==i?void 0:i.transformBaseUrl})]}),c&&(0,a.jsx)(tw,{className:"absolute bottom-0 right-0 size-[3.75rem] sm:size-[4.375rem] xl:size-[6.25rem]"}),(0,a.jsx)("div",{className:"z-10 bg-transparent",children:(0,a.jsxs)("div",{className:(0,b.cn)("relative flex gap-x-4 xl:gap-x-8",f,n&&"border-y-8 border-color-brand-border-accent py-8 sm:py-10",d&&!(null==i?void 0:i.url)&&(0,b.cn)(tA[null!=s?s:"onLight"],"gap-x-3 rounded-xl bg-color-brand-surface-primary px-4 py-5 xl:px-8 xl:py-10")),children:[d&&!(null==i?void 0:i.url)&&(0,a.jsx)(tj,{className:s}),(0,a.jsx)(eE,{className:(0,b.cn)("h-10 w-[2.9375rem] shrink-0 sm:h-12 sm:w-[3.5rem] xl:h-[4.6875rem] xl:w-[5.4375rem]",d&&"h-[2.125rem] w-10"),theme:d?"Craftsman":m?"Dewalt":u?"Stanley":"Dewalt"}),(0,a.jsxs)("div",{className:"flex flex-col gap-y-6",children:[(0,a.jsx)("h2",{className:(0,b.cn)("!normal-case text-color-brand-text-primary","sm:!normal-case",x,r.length<=50&&"!prose-brand-sm !tracking-[-0.015625rem] sm:!prose-brand-lg xl:!prose-brand-2xl sm:!tracking-[-0.021875rem]","sm:max-w-[36.5rem] xl:max-w-[70.5rem]"),children:(0,eM.renderWithSuperscript)(r)}),(0,a.jsxs)("div",{className:"flex flex-col gap-y-1",children:[(0,a.jsx)("span",{className:"prose-label-semibold-sm text-color-brand-text-primary",children:e}),l&&(0,a.jsx)("span",{className:"prose-label-medium-sm text-color-brand-text-secondary",children:l})]})]})]})})]})})},"QuoteIcon",0,eE,"Radio",()=>eB.RadioItem,"Rating",0,({count:e,rating:l,sizes:t,showRating:r,showNumberOfRatings:s})=>{let i=Math.round(l>=5?5:l),o=5-i,n=(0,b.cn)(eT[t.mobile],eT[t.md].split(" ").map(e=>`md:${e}`),eT[t.lg].split(" ").map(e=>`lg:${e}`)),c=`${ez[t.mobile]} md:${ez[t.md]} lg:${ez[t.lg]}`;return(0,a.jsxs)("div",{className:"flex w-fit items-center",children:[r&&(0,a.jsx)("span",{className:(0,b.cn)("mr-1 text-color-brand-text-primary",c),children:i.toFixed(1)}),(0,a.jsxs)("div",{className:"flex items-center",children:[[...Array(i)].map((e,l)=>(0,a.jsx)(eL.default,{className:n},l)),[...Array(o)].map((e,l)=>(0,a.jsx)(eL.default,{className:(0,b.cn)(n,"text-color-utility-icon-disabled")},l))]}),s&&(0,a.jsxs)("span",{className:(0,b.cn)("ml-1 text-color-brand-text-tertiary",c),children:["(",new Intl.NumberFormat("en-US").format(e),")"]})]})},"RatingPill",()=>
17eO.RatingPill,"ResponsiveVideo",()=>eR.ResponsiveVideo,"Reviews",()=>sx.Reviews,"RichText",0,e2,"SEARCH_OVERLAY_TEST_IDS",()=>lc.SEARCH_OVERLAY_TEST_IDS,"SERVICE_CENTER_CARD_EXAMPLE",()=>sH.SERVICE_CENTER_CARD_EXAMPLE,"SOCIAL_MEDIA_NAMES",()=>sM.SOCIAL_MEDIA_NAMES,"STORE_LOCATOR_PROPS_EXAMPLES",()=>sH.STORE_LOCATOR_PROPS_EXAMPLES,"STORE_LOCATOR_THEMES",()=>sR.STORE_LOCATOR_THEMES,"ScrollBar",()=>e5.ScrollBarArea,"SearchHeader",()=>tC.SearchHeader,"SearchInput",()=>e3.SearchInput,"SearchOverlay",()=>lc.SearchOverlay,"SectionBreaker",()=>tN.SectionBreaker,"SectionHeader",()=>t_.SectionHeader,"Select",()=>e4.Select,"SelectorSection",()=>e6.SelectorSection,"SessionTimeout",()=>sp.SessionTimeout,"ShoppingCart",()=>sT.ShoppingCart,"SingleSelectDropdown",()=>lV.SingleSelectDropdown,"SingleSelectDropdownStateless",()=>lV.SingleSelectDropdownStateless,"SingleSelectDropdownWithSections",()=>lV.SingleSelectDropdownWithSections,"Skeleton",()=>e7.Skeleton,"SpinnerSvg",()=>e8.SpinnerSvg,"StaticSizes",()=>sM.StaticSizes,"StatusPill",()=>Q.StatusPill,"StickyPdpNav",()=>sh.StickyPdpNav,"StoreLocator",()=>sf.StoreLocator,"StyledLists",0,({themeClass:e,className:l,cards:t,cardVariant:r="basic",id:s,variant:i="full-width",cardsWrapperClassName:o,breakpointSizes:n})=>{let c,d,m="inline"===i,u=(c=sb[t.length-2],d=(0,b.cn)("flex flex-col gap-x-6 gap-y-8 sm:flex-row sm:gap-y-10 xl:gap-x-8",{"sm:grid sm:grid-cols-2 xl:flex":"fourUp"===c,"xl:grid xl:grid-cols-2":"fourUp"===c&&m||"fiveUp"===c&&m,"flex-row -mx-4 px-4 sm:-mx-8 sm:px-8 overflow-auto xl:overflow-[unset]":"fiveUp"===c,"xl:max-w-[51rem] xl:mx-auto":m}),{root:(0,b.cn)("container mx-auto py-10 xl:py-14",{"pb-0":"fiveUp"===c,"py-0 xl:py-0":m}),cardsWrapper:d,cardClasses:({twoUp:"w-full",threeUp:"w-full",fourUp:"w-full",fiveUp:"w-full min-w-[60%] sm:min-w-[37%] xl:w-full xl:min-w-[unset] mb-10 xl:mb-0"})[c]}),x=((e,l)=>{switch(sb[l-2]){case"twoUp":return{sm:"small",md:"small",lg:e?"small":"large"};case"threeUp":return{sm:"small",md:"medium",lg:e?"small":"large"};case"fourUp":case"fiveUp":return{sm:"small",md:"small",lg:"small"}}})(m,t.length);return(0,a.jsx)("div",{className:(0,b.cn)(e,"w-full bg-color-brand-surface-primary"),id:s,children:(0,a.jsx)("div",{className:(0,b.cn)(u.root,l),children:(0,a.jsx)("div",{className:(0,b.cn)(u.cardsWrapper,o),children:t.map((l,s)=>(0,a.jsx)(sg.StyledListCard,{...l,breakpointSizes:null!=n?n:x,className:u.cardClasses,isLargeImage:t.length<3,themeClass:e,variant:r},s))})})})},"SuccessIcon",()=>e9.SuccessIcon,"SystemCard",()=>tS.SystemCard,"TabbedList",0,e=>{var{headline:l,eyebrow:t,tabs:r=[],size:s="responsive",className:i,id:o,theme
17Class:n,onClickTab:c}=e,d=sy(e,["headline","eyebrow","tabs","size","className","id","themeClass","onClickTab"]);let[m,u]=(0,g.useState)("0"),x=(0,g.useRef)(null),p=(0,g.useRef)(()=>{}),h=(0,g.useRef)(()=>!1),f=Array.isArray(r)?r.length:0;if((0,g.useEffect)(()=>{if(0===f)return;let e=e=>{if("Tab"!==e.key||e.shiftKey||e.defaultPrevented)return;let l=x.current;if(!(null==l?void 0:l.isConnected))return;let t=sC(),a=document.activeElement;if(a instanceof HTMLElement&&null!=a.closest('[role="tablist"]')||t instanceof HTMLElement&&null!=t.closest('[role="tablist"]')||!(a instanceof HTMLElement&&l.contains(a)||t&&sN(l,t))||!t||!sA(t))return;let r=Array.from(l.querySelectorAll('[role="tabpanel"]')),s=r.find(e=>"active"===e.getAttribute("data-state")&&!e.hidden&&"true"!==e.getAttribute("aria-hidden"));if(s||(s=r.find(e=>!e.hidden&&"inactive"!==e.getAttribute("data-state")&&"true"!==e.getAttribute("aria-hidden"))),s&&s.querySelector("[data-sbd-tabbed-list-mb-video]")||!t||(s=r.find(e=>!e.hidden&&!!e.querySelector("[data-sbd-tabbed-list-mb-video]")&&sN(e,t))),!(null==s?void 0:s.querySelector("[data-sbd-tabbed-list-mb-video]"))||!sN(s,t))return;let i=r.indexOf(s);if(i<0)return;let o=Array.from(l.querySelectorAll('[role="tab"]'))[i+1];o&&(sw(e),o.focus())};return window.addEventListener("keydown",e,{capture:!0}),()=>window.removeEventListener("keydown",e,{capture:!0})},[f,m]),(0,g.useLayoutEffect)(()=>{let e=x.current;if(!e||0===f)return;let l=l=>{if("Tab"!==l.key||l.defaultPrevented)return;let t=l.target,a=t instanceof HTMLButtonElement&&"tab"===t.getAttribute("role")?t:t instanceof Element?t.closest('button[role="tab"]'):null;if(!(a instanceof HTMLButtonElement)||!e.contains(a))return;let r=a.closest('[role="tablist"]');r&&e.contains(r)&&h.current(l,a)&&(l.preventDefault(),l.stopImmediatePropagation())};return e.addEventListener("keydown",l,{capture:!0}),()=>e.removeEventListener("keydown",l,{capture:!0})},[f,m]),!r||0===r.length)return null;let v=r.map(e=>Object.assign(Object.assign({},e),{content:Object.assign(Object.assign({},e.content),{themeClass:n,optionalClasses:"bg-color-brand-surface-secondary"})})),y=()=>{var e,l;return Array.from(null!=(l=null==(e=x.current)?void 0:e.querySelectorAll('[role="tab"]'))?l:[])},A=e=>{if(e.hasAttribute("disabled")||"true"===e.getAttribute("aria-hidden"))return!1;let l=getComputedStyle(e);return"none"!==l.display&&"hidden"!==l.visibility&&(e instanceof HTMLVideoElement||e instanceof HTMLAudioElement?!!e.hasAttribute("controls")||e.tabIndex>=0||sC()===e:!!e.matches('button, [role="button"]:not([aria-disabled="true"]):not([disabled])')&&"-1"===e.getAttribute("tabindex")&&sC()===e||"-1"!==e.getAttribute("tabindex"))},w=(e,l)=>{let t,a;return(null==l?void 0:l.bypassInactiveGuard)||!e.hidden&&"inactive"!==e.getAttribute("data-state")&&"true"!==e.getAttribute("aria-hidden")?(t=[],(a=e=>{if(!("true"===e.getAttribute("aria-hidden")||e.hasAttribute("inert"))){if(e.matches('a[href], button:not([disabled]), [role="button"]:not([disabled]):not([aria-disabled="true"]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), summary:not([disabled]), video, audio, iframe, [contenteditable="true"], [tabindex]:not([tabindex="-1"])')&&!e.hasAttribute("data-sbd-tab-sentinel")&&t.push(e),e.shadowRoot)for(let l of e.shadowRoot.children)l instanceof HTMLElement&&a(l);for(let l of e.children)l instanceof HTMLElement&&a(l)}})(e),t).filter(A):[]},j=(e,l)=>{var t,a,r,s,i;let o=e.filter(e=>"region"!==e.getAttribute("role")||0!==e.tabIndex),n=null!=(t=o[0])?t:e[0];if(!(null==l?void 0:l.preferMediaPrimary))return n;let c=e=>null!=e.closest("[data-sbd-primary-media-focus]");return null!=(i=null!=(s=null!=(r=null!=(a=o.find(e=>e.hasAttribute("data-sbd-tab-primary-action")&&sj(e)))?a:o.find(e=>c(e)&&!sA(e)&&sj(e)))?r:o.find(c))?s:o.find(e=>null!=e.closest("figure")))?i:n},C=(e,l)=>{var t,a,r,s,i;let o;if("Tab"!==e.key)return!1;let n=y(),c=n.indexOf(l);if(c<0)return!1;let d=Array.from(null!=(r=null==(a=x.current)?void 0:a.querySelectorAll('[role="tabpanel"]'))?r:[]);if(e.shiftKey){if(0===c)return!1;(0,rK.flushSync)(()=>{u(String(c-1))});let e=(()=>{let e=x.current;if(!e)return null;let l=e.querySelector(`[role="tabpanel"][data-value="${m}"]`);if(l&&!l.hidden&&"inactive"!==l.getAttribute("data-state")&&"true"!==l.getAttribute("aria-hidden"))return l;let t=e.querySelector('[role="tabpanel"][data-state="active"]');
17if(t)return t;let a=Array.from(e.querySelectorAll('[role="tabpanel"]')).find(e=>!e.hidden&&"inactive"!==e.getAttribute("data-state")&&"true"!==e.getAttribute("aria-hidden"));return null!=a?a:e.querySelector('[role="tabpanel"]:not([hidden])')})(),l=e?w(e,{bypassInactiveGuard:!0}):[],a=l[l.length-1];return a?a.focus():null==(t=n[c-1])||t.focus(),!0}String(c)!==m&&(0,rK.flushSync)(()=>{u(String(c))});let p=(o=x.current,null!=(i=null!=(s=d[c])?s:null==o?void 0:o.querySelector(`[role="tabpanel"][data-value="${c}"]`))?i:null);if(!p){let e=n[c+1];return!!e&&(e.focus(),!0)}let h=j(w(p,{bypassInactiveGuard:!0}),{preferMediaPrimary:!0});if(h)return h.focus(),!0;let f=n[c+1];return!!f&&(f.focus(),!0)};return h.current=C,p.current=(e,l,t)=>{((e,l,t)=>{var a;let r=y();if(0===r.length||"Tab"!==e.key||e.defaultPrevented)return;let s=sC(),i=sN(l,s),o=w(l),n=(e=>{for(let l of e.composedPath())if(l instanceof HTMLElement){if(l.matches('a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), summary:not([disabled]), iframe, [contenteditable="true"], [role="button"]:not([disabled]):not([aria-disabled="true"])')){if("-1"===l.getAttribute("tabindex")&&sC()!==l)continue;return l}if((l instanceof HTMLVideoElement||l instanceof HTMLAudioElement)&&(l.controls||l.tabIndex>=0||sC()===l)||l.hasAttribute("tabindex")&&"-1"!==l.getAttribute("tabindex"))return l}return null})(e),c=null!=n?n:s,d=c?o.indexOf(c):-1;if(d<0&&(c instanceof HTMLVideoElement||c instanceof HTMLAudioElement)&&i&&(d=o.length>0?o.length-1:-1),e.shiftKey){(c===l||0===d)&&(sw(e),null==(a=r[t])||a.focus());return}if((null==s?void 0:s.hasAttribute("data-sbd-tab-sentinel"))&&i||s&&sA(s)&&i){let l=r[t+1];l&&(sw(e),l.focus());return}if(c===l){let l=j(o,{preferMediaPrimary:!0});if(l){sw(e),l&&(l.focus(),document.activeElement);return}let a=r[t+1];a&&(sw(e),a.focus());return}if((!(d>=0)||!(d<o.length-1))&&d===o.length-1){let l=r[t+1];if(!l)return;sw(e),l.focus();return}})(e,l,t)},(0,a.jsxs)("section",{className:(0,b.cn)(n,"w-full bg-color-brand-surface-primary pt-14",i),id:o,ref:x,...d,children:[(0,a.jsxs)("div",{className:"mb-8 flex flex-col items-start justify-between gap-2 px-4 md:gap-3 md:px-8",children:[t&&(0,a.jsx)("p",{className:(0,b.cn)(n,"wrap-anywhere prose-eyebrow-bold-sm text-color-brand-text-primary lg:prose-eyebrow-bold-md"),children:(0,eM.truncateEyebrow)(t)}),(0,a.jsx)("h2",{className:(0,b.cn)(n,"prose-brand-2xs sm:prose-brand-md xl:prose-brand-xl","wrap-anywhere text-color-brand-text-primary"),children:l})]}),(0,a.jsxs)(sv.Tabs.Root,{activationMode:"automatic",className:(0,b.cn)(n,"bg-color-brand-surface-primary"),onValueChange:e=>{u(e)},value:m,children:[(0,a.jsx)(tk.Tabs,{className:(0,b.cn)("scrollbar-none mb-10 px-4 md:px-8 lg:mb-14","relative z-[2]"),delegatesTabKey:!0,onKeyDownCapture:e=>{C(e.nativeEvent,e.currentTarget)&&(e.preventDefault(),e.stopPropagation())},size:s,tabs:v.map((e,l)=>({label:e.label,showIcon:!!e.showIcon,value:l.toString(),onClick:()=>{var l;null==c||c({clickText:e.label}),null==(l=e.onClick)||l.call(e)}})),variant:"button"}),(0,a.jsx)("div",{className:"relative z-[1] w-full",children:v.map((e,l)=>{var t;let r,s=function(e){if("ParagraphMediaBreaker"!==e.variant)return!1;let l=e.content,t=null==l?void 0:l.media;return!!t&&("video"===t.type||!!t.streamingUrl)}(e);return(0,a.jsx)(sv.Tabs.Content,{className:"data-[state=inactive]:hidden",tabIndex:-1,value:l.toString(),children:(0,a.jsxs)("div",{className:"w-full",...s?{"data-sbd-tabbed-list-mb-video":""}:{},onKeyDownCapture:e=>{let t=e.nativeEvent;if("Tab"!==t.key||t.defaultPrevented)return;let a=e.currentTarget.closest('[role="tabpanel"]');a instanceof HTMLElement&&"tabpanel"===a.getAttribute("role")&&(a.hidden||"inactive"===a.getAttribute("data-state")||"true"===a.getAttribute("aria-hidden")||p.current(t,a,l))},children:[e.content&&(r=s_[(t={variant:e.variant,content:e.content}).variant],(0,a.jsx)(r,{...t.content})),(0,a.jsx)("button",{"aria-label":"Move focus to the next tab",className:"sr-only","data-sbd-tab-sentinel":"",onFocus:()=>{var e,t,a;null==(a=Array.from(null!=(t=null==(e=x.current)?void 0:e.querySelectorAll('[role="tab"]'))?t:[])[l+1])||a.focus()},type:"button"})]})},l)})})]})]})},"Tabs",()=>tk.Tabs,"Tag",()=>le.Tag,"TextField",()=>lt.TextField,"TextSelector",()=>la.default,"TextareaField",()=>ll.TextareaField,"Toggle",()=>lr.Toggle,"ToolInventory",()=>sS.ToolInventory,"ToolboxSearchInput",()=>tP.ToolboxSearchInput,"Tooltip",()=>ls.Tooltip,"UserPreferenceProvider",()=>s8.UserPreferenceProvider,"UtilityCard",()=>tI.UtilityCard,"VideoButton",()=>li.VideoButton,"VideoPill",()=>lo.VideoPill,"VideoPlayer",()=>ts.VideoPlayer,"WHOLE_GOOD_PRODUCT_CLASSIFICATION",()=>s4.WHOLE_GOOD_PRODUCT_CLASSIFICATION,"WarrantyCertificate",()=>sk.WarrantyCertificate,"WarrantyLineCard",()=>tE.WarrantyLineCard,"WarrantyModal",()=>sP.WarrantyModal,"WarrantySelector",()=>ln.WarrantySelector,"allocatePromotionLabels",()=>eP.allocatePromotionLabels,"buildFulfillmentSection",()=>sY.buildFulfillmentSection,"buildLongWordLanguageSelector",0,function(){return`&:is(${sJ.map(e=>`:lang(${e})`).join(",")})`},"buildPriceAndPromotionSection",()=>sY.buildPriceAndPromotionSection,"calculateNearbyDistance",()=>s1.calculateNearbyDistance,"canAddExtendedWarrantyToCart",()=>r7.canAddExtendedWarrantyToCart,"checkGeoPermission",()=>s1.checkGeoPermission,"cleanUpHash",()=>re.cleanUpHash,"clearWarrantyData",()=>s6.clearWarrantyData,"configureProductPrice",()=>lP.configureProductPrice,"convertSecondsToTime",()=>sK.convertSecondsToTime,"fetchStoreLocatorApi",()=>s5.fetchStoreLocatorApi,"formatCurrency",()=>lk.formatCurrency,"formatLocale",()=>eM.formatLocale,"geocodePostalCode",()=>s2.geocodePostalCode,"geocodePostalCodeCoordinates",()=>s2.geocodePostalCodeCoordinates,"geocodeQueryToPostalCode",()=>s2.geocodeQueryToPostalCode,"getAvailabilityStatusPillProps",()=>sZ.getAvailabilityStatusPillProps,"getCurrentPosition",()=>s1.getCurrentPosition,"getFileInfo",()=>eM.getFileInfo,"getGatedPaths",()=>s3.getGatedPaths,"getLanguageFromLocale",0,s0,"getLocalePath",()=>s3.getLocalePath,"getLocations",()=>s5.getLocations,"getPasswordRequirements",()=>eU.getPasswordRequirements,"getRandomInt",()=>lk.getRandomInt,"getResponsiveVideoVisibility",()=>eR.getResponsiveVideoVisibility,"hasUsableProductPrice",()=>lP.hasUsableProductPrice,"isAccessoryProduct",()=>s4.isAccessoryProduct,"isGeolocationPermissionDenied",()=>s1.isGeolocationPermissionDenied,"isLongWordLanguageLocale",0,function(e){let l=s0(e);return sJ.includes(l)},"isPartsProduct",()=>s4.isPartsProduct,"isSbdEmployeeEmail",()=>sG.isSbdEmployeeEmail,"isWholeGoodProduct",()=>s4.isWholeGoodProduct,"mergeRefs",()=>eR.mergeRefs,"resolveAvailabilityState",0,({inventoryQuantity:e,preorderBackorder:l})=>null==e?"default":e>
170?"in stock":l?"backordered":"out of stock","resolveCommerceProductData",()=>sY.resolveCommerceProductData,"reverseGeocodePostalCode",()=>s2.reverseGeocodePostalCode,"showsModelCompatibilityChecker",()=>s4.showsModelCompatibilityChecker,"to12HourFormat",()=>sK.to12HourFormat,"to12HrNoMinutesFormat",()=>sK.to12HrNoMinutesFormat,"toBazaarvoiceLocale",()=>eM.toBazaarvoiceLocale,"truncateHTML",()=>eM.truncateHTML,"truncatePromoToBudget",()=>eP.truncatePromoToBudget,"truncateRteString",()=>eM.truncateRteString,"truncateString",()=>eM.truncateString,"useAlertToast",()=>lw.useAlertToast,"useBrandStyleContext",()=>lW.useBrandStyleContext,"useBreakpoint",()=>tG.useBreakpoint,"useFeatureFlags",()=>il.useFeatureFlags,"useGlobalElements",()=>lp.useGlobalElements,"useHash",()=>sQ.useHash,"useLink",()=>ap.useLink,"useManageAuthModals",()=>sq.useManageAuthModals,"usePricingDisclaimerModal",()=>s7.usePricingDisclaimerModal,"useStickyPDPHeight",()=>sV.useStickyPDPHeight,"useUserPreferences",()=>s8.useUserPreferences,"validateConfirmPassword",()=>eU.validateConfirmPassword,"validateEmail",()=>eU.validateEmail,"validatePassword",()=>eU.validatePassword,"validateRequiredFields",()=>eU.validateRequiredFields,"wrapInNextImageProxy",()=>an.wrapInNextImageProxy],865268)},716952,function(e){e.n(e.i(865268))}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.