"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6265],{6746:(e,t,n)=>{n.d(t,{Am:()=>c,X5:()=>u,nk:()=>h});var i=n(37876),s=n(60843),a=n(15039),r=n.n(a),o=n(63997),l=n.n(o);let c=(e,t)=>"string"==typeof e?`${(0,s.eh)((0,s.Fh)((0,s.SS)(e)))}-accordion`:"string"==typeof t?`${(0,s.eh)((0,s.Fh)((0,s.SS)(t)))}-accordion`:void 0;function d(e,t){Object.entries(t).forEach(t=>{let[n,i]=t;e.style[n]="function"==typeof i?i():i})}function p(e){return Object.prototype.hasOwnProperty.call(e,"current")?e.current:e}function h(e){let t={skipAnimation:!1,setup:[[null,{}]],from:[[null,{}]],to:[[null,{}]],...e},n=new Map;return t.setup.forEach(e=>{let[t,i]=e;if(!t)return;let s=p(t);n.set(s,i.transitionDuration),d(s,Object.assign(i,{transitionDuration:"0ms"}))}),t.from.forEach(e=>{let[t,n]=e;if(!t)return;let i=p(t),s={...n};delete s.transitionDuration,d(i,s)}),document.body.clientHeight,Promise.all(t.to.map(e=>{let[i,s]=e;if(!i)return Promise.reject();let a=p(i),r=t.skipAnimation?Promise.resolve():new Promise((e,t)=>{"function"==typeof a.cancelTransitionCallback&&a.cancelTransitionCallback(),a.cancelTransitionCallback=()=>{t(Error("transition interrupted!"))},a.addEventListener("transitionend",t=>{delete a.cancelTransitionCallback,e(t)},{once:!0})}),o=t.skipAnimation?s:{...s,transitionDuration:n.get(a)};return d(a,o),r}))}let u=(e,t,n,s,a)=>"string"!=typeof e?e:(0,i.jsxs)("div",{className:l().headingWrapper,children:[(0,i.jsx)("div",{className:r()(l().heading,l()[`${n}Heading`],"md"===s&&l().headingMd,t&&l().headingDisabled),children:e}),((e,t)=>{if("menu"===e&&t)return(0,i.jsx)("div",{className:l().subheadMenu,children:t})})(n,a)]})},31316:(e,t,n)=>{n.d(t,{n:()=>h});var i=n(37876),s=n(80537),a=n(15039),r=n.n(a),o=n(14232),l=n(77576),c=n(63997),d=n.n(c),p=n(6746);let h=e=>{let{controlled:t=!1,disabled:n=!1,onClick:a,open:c=!1,children:h,className:u,contentLabel:m,deferContentRendering:x,noAnimation:g=!1,onOpen:f,onClose:y,renderLeading:b,size:j,subhead:v,title:k,titleStyle:w,id:C=encodeURI("string"==typeof k?k:m??""),variant:N="standard",...I}=e,[S,_]=(0,o.useState)(c),T=(0,o.useCallback)(e=>{e.persist(),e.preventDefault(),a?.(e),t||_(e=>!e)},[t,a]),D=t?c:S,E=n?{}:{href:`#${C}`,onClick:T,"aria-expanded":D},P=(0,p.Am)(k,m??""),R="bare"===N,L="menu"===N,z=L&&b,A=(0,i.jsx)(s.R,{className:r()(d().icon,L&&d().menuIcon,D&&d().iconDown)}),M=(0,i.jsx)(l.E,{className:r()(L&&d().menuDisclosure,z&&d().menuDisclosureRenderLeading),deferContentRendering:x,id:C,isOpen:D,noAnimation:g,onClose:y,onOpen:f,variant:N,children:h});return R?(0,i.jsx)("div",{className:u,"data-test":P,...I,children:M}):(0,i.jsxs)("div",{className:r()(d().ndsAccordion,d()[N],z&&d().menuRenderLeading,n&&d().disabled,u),"data-test":P,...I,children:[(0,i.jsxs)("button",{className:r()(d().button,d()[`${N}Button`]),disabled:n,...E,"aria-label":m,type:"button",children:[!L&&A,z&&(0,i.jsx)("div",{className:d().renderLeadingWrapper,children:b}),(0,p.X5)(k,n,N,j,v),L&&A]}),M]})};h.displayName="Accordion"},74106:(e,t,n)=>{n.d(t,{Ce:()=>l,Pv:()=>d,jH:()=>c,k5:()=>o});var i=n(77232),s=n(50897),a=n(82018),r=n(28019);let o=(0,i.I4)(s.V).withConfig({componentId:"sc-2eb61b3c-0"})(["height:100%;position:absolute !important;top:0;width:100%;img{height:100%;width:100%;}"]),l=i.I4.video.withConfig({componentId:"sc-2eb61b3c-1"})(["position:absolute;left:0;top:0;width:100%;height:auto;opacity:0;z-index:-1;transition:opacity 500ms ease,z-index 0s step-end 1s;.video-playing &{transition:opacity 200ms ease 50ms,z-index 0s step-end 0s;z-index:0;opacity:1;}"]),c=(0,i.I4)(r.pk).withConfig({componentId:"sc-2eb61b3c-2"})(["border:1px solid ",";position:relative;button:active &,a:active &{svg{fill:",";}}"],a.Tj.palette.gray.light,a.Tj.palette.white),d=i.I4.button.withConfig({componentId:"sc-2eb61b3c-3"})(["position:absolute;top:auto;right:auto;bottom:",";left:",";opacity:0;pointer-events:none;&.is-visible{opacity:1;pointer-events:auto;}&:active,&:focus{outline:none;}"],a.xe.generic.x1,a.xe.generic.x1)},76268:(e,t,n)=>{n.r(t),n.d(t,{SUPERHERO_TEST_ID:()=>ew,Superhero:()=>eC});var i=n(37876),s=n(82018),a=n(90858),r=n(68958),o=n(55662);let l=(e,t)=>[{media:s.fi.xl,imageUrl:e},{media:s.fi.lg,imageUrl:e},{media:s.fi.md,imageUrl:e},{media:"0px",imageUrl:t}],c={sm:"8x1",md:"4x1",lg:"2.6666x1",xl:"2.1428x1"},d=e=>e&&c[e],p={sm:"4.0106x1",md:"2x1",lg:"1.3345x1",xl:"1x1"},h=e=>e&&p[e],u=e=>{if(e?.width)return Object.keys(e).reduce((t,n)=>{let i=e[n];return{...t,[n]:i?`${i}%`:"0"}},{})};var m=n(66109),x=n(14232),g=n(75945),f=n(50743),y=n(42272),b=n(20519),j=n(15039),v=n.n(j),k=n(51857),w=n(41657),C=n(21552),N=n(98686),I=n(71236),S=n(18870),_=n(56970),T=n(70302),D=n(45416),E=n(77232),P=n(15335);let R=E.I4.div.withConfig({componentId:"sc-63ee83bf-0"})(["background-color:#000;padding:",";> *{margin-bottom:",";&:last-child{margin-bottom:0;}}"],s.xe.generic.x3,s.xe.generic.x3),L=(0,E.I4)(P.S).withConfig({componentId:"sc-63ee83bf-1"})(["margin-right:8px;input{display:flex;width:75px;}@media (min-width:","){margin-right:16px;input{width:100px;}}"],s.fi.sm),z=E.I4.div.withConfig({componentId:"sc-63ee83bf-2"})(["button{margin-right:8px;}@media (min-width:","){button{margin-right:16px;}}"],s.fi.xs),A=E.I4.div.withConfig({componentId:"sc-63ee83bf-3"})(["span{white-space:pre;}button{margin-right:8px;}@media (min-width:","){button{margin-right:16px;}}"],s.fi.xs),M=e=>{let{transcriptUrl:t,className:n,...s}=e;return(0,i.jsxs)(R,{className:j(n,"h-display-flex h-flex-justify-center h-flex-direction-col"),...s,children:[(0,i.jsxs)("div",{className:"h-display-flex h-flex-justify-space-between",children:[(0,i.jsxs)(z,{className:"h-display-flex h-flex-direction-row",children:[(0,i.jsx)(N.i,{}),(0,i.jsx)(k.x,{"data-test":"playPauseButton"}),(0,i.jsx)(I.a,{})]}),(0,i.jsxs)(A,{className:"h-display-flex h-flex-direction-row",children:[(0,i.jsx)(w.v,{}),(0,i.jsx)(L,{}),(0,i.jsx)(S.d,{className:"h-display-flex h-flex-align-center h-text-white h-text-hd5"})]})]}),(0,i.jsx)(_.z,{}),(0,i.jsxs)("div",{className:"h-display-flex h-flex-justify-space-between",children:[(0,i.jsxs)("span",{children:[t&&(0,i.jsx)(D.L,{transcriptUrl:t}),(0,i.jsx)(T.K,{})]}),(0,i.jsx)(C.A,{})]})]})};M.displayName="VideoPlayerInlineControls";let O=()=>(0,i.jsxs)("svg",{"data-icon-name":"MediaClose",height:"22px",version:"1.1",viewBox:"0 0 22 22",width:"22px",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:[(0,i.jsxs)("defs",{children:[(0,i.jsx)("circle",{cx:"11",cy:"11",id:"close-background-shape",r:"11"}),(0,i.jsx)("circle",{cx:"11",cy:"11",id:"close-focus-dash-shape",r:"9"})]}),(0,i.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,i.jsx)("mask",{fill:"#fff",id:"close-mask",children:(0,i.jsx)("use",{xlinkHref:"#close-background-shape"})}),(0,i.jsx)("use",{fill:"#333",fillRule:"nonzero",xlinkHref:"#close-background-shape"}),(0,i.jsx)("path",{d:"M11 9.6l4.2-4.3 1.5 1.5-4.3 4.2 4.3 4.2-1.5 1.5-4.2-4.3-4.2 4.3-1.5-1.5L9.6 11 5.3 6.8l1.5-1.5z",fill:"#FFF",fillRule:"nonzero",mask:"url(#close-mask)"}),(0,i.jsx)("use",{fillRule:"nonzero",id:"close-focus-dash",stroke:"transparent",strokeDasharray:"3,2",xlinkHref:"#close-focus-dash-shape"})]})]});O.displayName="CloseIcon";let F=E.I4.button.withConfig({componentId:"sc-177ca8d5-0"})(["position:absolute;line-height:0;top:",";right:",";padding:",";&:focus{outline:none;svg{#close-focus-dash{stroke:",";}}}"],s.xe.generic.x1,s.xe.generic.x1,s.xe.generic.x1,s.Tj.palette.white),H=E.I4.div.withConfig({componentId:"sc-177ca8d5-1"})(["position:absolute;top:0;left:0;width:100%;padding:0.5em;min-height:2.5em;background-color:#000;color:#fff;font-size:1.1em;text-align:center;opacity:0.75;",";"],e=>e.isFullscreen&&(0,E.AH)(["min-height:3.5em;font-size:2.5em;padding:1em;"])),U=E.I4.img.withConfig({componentId:"sc-177ca8d5-2"})(["opacity:0;"]),B=E.I4.div.withConfig({componentId:"sc-177ca8d5-3"})(["background-color:#000;video{position:absolute;top:50%;transform:translateY(-50%);right:0;max-width:100%;}"]),$=e=>{let{onClick:t}=e;return(0,i.jsx)(F,{"aria-label":"Close video",onClick:t,children:(0,i.jsx)(O,{})})};$.displayName="CloseButton";var V=n(70065),W=n(56876),X=n(6462),Y=n(85857),K=n(28019);let G=e=>{let{height:t="20px",viewBox:n="0 0 33 33",width:s="20px"}=e;return(0,i.jsxs)("svg",{height:t,viewBox:n,width:s,xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{clipRule:"evenodd",d:"M8 2.9c-1-.6-1.8-.2-1.8 1v25.4c0 1.2.8 1.6 1.8 1l20.3-12.6c1-.6 1-1.6 0-2.2L8 2.9z",fill:"#fff",fillRule:"evenodd"}),(0,i.jsx)("path",{d:"M7.2 31.5c-.3 0-.6-.1-.9-.2-.7-.4-1-1.1-1-2V3.8c0-.9.4-1.7 1-2 .6-.4 1.5-.3 2.2.2l20.3 12.6c.8.5 1.2 1.2 1.2 2s-.4 1.5-1.2 2L8.5 31.1c-.4.2-.9.4-1.3.4zm.1-27.9v25.9c.1 0 .1 0 .2-.1l20.3-12.6c.2-.1.3-.2.3-.3l-.3-.3L7.5 3.7c-.1-.1-.2-.1-.2-.1z",fill:"#666"})]})};G.displayName="PlayIcon";let J=(0,E.I4)(K.pk).withConfig({componentId:"sc-d73a1a41-0"})(["left:",";bottom:",";padding:0 0 0 2px;justify-content:center;align-items:center;"],s.xe.generic.x1,s.xe.generic.x1),q=e=>{let{width:t,height:n,viewBox:s}=e;return(0,i.jsx)(J,{children:(0,i.jsx)(G,{height:n,viewBox:s,width:t})})};q.displayName="PlayIconTag";let Q=e=>{let{children:t,videoElement:n,onSetVideoDisplay:s,isVideoDisplayed:a,video:r,className:o,...l}=e,c=(0,x.useCallback)(()=>{s(!0)},[s]);return(0,i.jsx)(B,{"aria-atomic":"true",children:a?(0,i.jsxs)(i.Fragment,{children:[(0,x.cloneElement)(n,{autoPlay:a,poster:r?.placeholder},(0,i.jsxs)(i.Fragment,{children:[r?.source?.map(e=>(0,i.jsx)("source",{src:e.path,type:e.type},`inline-video-${e.path}`)),(0,i.jsx)("track",{kind:"captions",label:"English",src:r?.captions,srcLang:"en"})]})),(0,i.jsx)(W.a,{captionSource:r?.captions??"",children:e=>e&&(0,i.jsx)(H,{children:e})}),(0,i.jsx)(X.w,{}),(0,i.jsx)(Y.w,{})]}):(0,i.jsxs)(V.N,{...l,className:v()(o,"storycard--link"),href:"#",onClick:c,underline:"invert",children:[r?.placeholder&&(0,i.jsx)(U,{"aria-hidden":"true",src:r.placeholder}),t,(0,i.jsx)("span",{className:"h-sr-only",children:" - plays video"}),(0,i.jsx)(q,{})]})})};Q.displayName="StorycardVideoTagOverride";let Z=e=>{let[t,n]=(0,x.useState)(!1),s=(0,x.useRef)(null),{screenMd:a}=(0,f.e)(),r=()=>{if(n(!1),!s.current)return;let e=s.current.querySelector(".storycard--link");e&&e.focus()},o=()=>e.videoElement&&(0,i.jsx)(Q,{...e,isVideoDisplayed:t,onSetVideoDisplay:n,video:e.video,videoElement:e.videoElement}),{children:l,linkType:c,video:d,isFeatureEnabled:p,...h}=e;return p?"video"!==c?(0,x.cloneElement)(l,h):(0,i.jsx)(y.K,{children:e=>(0,i.jsxs)("div",{className:"l-container l-container-standard h-position-relative",ref:s,children:[(0,x.cloneElement)(l,{...h,link_type:void 0,videoElement:e,tagName:o}),(0,i.jsx)(g.n,{controlled:!0,deferContentRendering:!0,open:t,variant:"bare",children:a?(0,i.jsx)(b.J,{transcriptUrl:d?.transcript}):(0,i.jsx)(M,{transcriptUrl:d?.transcript})}),t&&(0,i.jsx)($,{onClick:r})]})}):(0,x.cloneElement)(l,{...h,video:d})};Z.displayName="StorycardVideoWrapper";var ee=n(29993),et=n(81414),en=n(46826),ei=n(50561),es=n(56900),ea=n(16546),er=n(33205),eo=n(91597),el=n(5523),ec=n(69267),ed=n(91466);let ep=e=>{let{children:t,onClick:n}=e;return(0,i.jsxs)(V.N,{className:"storycard--link","data-test":"storycard--shoppableDrawerLink",onClick:n,children:[t??null,(0,i.jsx)("span",{className:"h-sr-only",children:" - shows more content"}),(0,i.jsx)(ed.k,{})]})};ep.displayName="StorycardBagOverride";let eh=e=>{let{children:t,linkType:n,shoppableDrawerData:s,circle360DrawerData:a,componentId:r}=e,o=(0,et.z1)(),{isBot:l}=(0,x.useContext)(eo.B.Context),c=(0,x.useCallback)(()=>{(0,er.WG)(ea.RJ)},[]),[d,{open:p,close:h}]=(0,ee.e)({type:"drawer",shouldStack:!0,ModalProps:{onCloseClick:()=>{h()}}}),[u,{open:m}]=(0,ei.l)(),[g,{open:f}]=(0,es.o)(),y=(0,x.useCallback)(()=>{"shoppable_drawer"===n&&(o.trackEvent({guest:{eventType:"customInteraction"},customInteraction:{type:"click",value:`${r}_ShoppableDrawerOpen`}}),p()),"circle360"===n&&(a?.sub_options==="buy-membership"&&f(),a?.sub_options==="manage-preferred-shoppers"&&m())},[n,a?.sub_options,o,r,p,f,m]);if(!t)return null;if("shoppable_drawer"!==n&&"circle360"!==n)return t;let b=(0,x.cloneElement)(t,{tagName:ep,onClick:y,link_type:void 0});return a?.sub_options==="buy-membership"?(0,i.jsxs)("div",{children:[b,(0,i.jsx)(g,{onAfterCloseSuccessfulLogin:f,onClose:c,onSuccessfulLogin:f})]}):a?.sub_options==="manage-preferred-shoppers"?(0,i.jsxs)("div",{children:[b,(0,i.jsx)(u,{})]}):(0,i.jsxs)("div",{children:[b,l?(0,i.jsx)(ec.E,{shoppableDrawerData:s}):(0,i.jsx)(d,{headingText:s?.headline,children:(0,i.jsx)(el.p,{addToCartTrackingPlacementType:en.my.SuperheroShoppableDrawer,componentId:r,shoppableDrawerData:s??{}})})]})};eh.displayName="StorycardShoppableDrawerWrapper";var eu=n(49890),em=n(90925),ex=n(74106);let eg=()=>n.e(3875).then(n.bind(n,5073)),ef=e=>(0,i.jsx)(em.I,{loader:eg,...e,placeholder:(0,i.jsx)(ex.k5,{alt:e.placeholder?.alt,images:e.placeholder?.images,noAnimation:!0})});ef.displayName="MotionCardLoader";var ey=n(77216);let eb=e=>{let{isVisible:t,onClick:n}=e;return(0,i.jsx)(ex.Pv,{className:v()({"is-visible":t}),"data-test":"superhero--replayButton",onClick:n,children:(0,i.jsxs)(ex.jH,{children:[(0,i.jsx)("span",{className:"h-sr-only",children:"replay"}),(0,i.jsx)(ey.IconMediaReplay,{color:s.Tj.palette.gray.dark,width:22})]})})};eb.displayName="ReplayButton";let ej=e=>{let{motionCardData:t,children:n,...s}=e,a=(0,eu.G3)(),[r,o]=(0,x.useState)(!1),[c,d]=(0,x.useState)(!1),p=(0,x.useCallback)(()=>{d(!1)},[]),h=(0,x.useCallback)(()=>{d(!0)},[]);if(!t)return(0,x.cloneElement)(n,s);let{video_sources_sm:u,video_sources_md:g,placeholder_image_sm:f,placeholder_image_md:y,alt_text:b}=t;return a?(0,x.cloneElement)(n,{...s,images:(0,m.Xx)({image_path:f,image_path_md:y,image_path_lg:y,image_path_xl:y})}):(0,x.cloneElement)(n,{...s,backgroundChildren:(0,i.jsx)(ef,{onPlayReset:p,onSetIsReplayButtonVisible:o,placeholder:{alt:b,images:l(y,f)},shouldPlayVideo:c,videoSourcesMd:g,videoSourcesSm:u,children:(0,i.jsx)(ex.k5,{alt:b,images:l(y,f),noAnimation:!0})}),containerChildren:(0,i.jsx)(eb,{isVisible:r,onClick:h})})};ej.displayName="StorycardMotionCardWrapper";let ev={tiny:s.xe.generic.x1,tight:s.xe.generic.x3,default:s.xe.generic.x4,wide:s.xe.generic.x5,jumbo:s.xe.generic.x8};var ek=n(66085);let ew="@web/SlingshotComponents/Superhero",eC=e=>{let t,{slot_aspect:n,componentId:l,content:c,onClick:p}=e,{trackClick:x}=(0,a.f)(),g=(0,r._)(),f=g.components[0]?.placementId;if(!c)return null;let{custom_text_position:y,custom_text_position_md:b,custom_text_position_lg:j,margin_bottom:v,image:k,secondary_image:w,links:C,link_type:N,text_position:I,text_position_md:S,text_position_lg:_,button_text:T,button_color:D,button_follow:E,font_resize_headline:P,font_resize_subhead:R,image_aspect_ratio:L,image_aspect_ratio_md:z,image_aspect_ratio_lg:A,motion_card:M,metadata:O,shoppable_drawer:F,circle360:H,video:U,top_corners_rounded:B,bottom_corners_rounded:$,...V}=c,W=C&&1===C.length?C[0]?.link_url:"",X=C&&C.length>=2&&"url"===N,Y=C&&1===C.length?C[0]?.link_tag:void 0;return O?.component_version==="02"?t={base:h(L)??L,mediumUp:d(z)??z,largeUp:d(A)??A}:M&&(t=((e,t)=>{let n=h(e),i=d(t);if(n&&i)return{base:n,mediumUp:i}})(L,z)),(0,i.jsx)("div",{"data-test":ew,onClick:()=>x.track({clickType:"CONTENT",...W?{element:{id:W,type:"LINK"}}:void 0,featureType:"CONTENT_TILE",slingshot:{componentId:l??"",placementId:f}}),children:(0,i.jsx)(ek.s,{trackingPrefix:(0,m.w2)(l,c),children:(0,i.jsx)(eh,{circle360DrawerData:H,componentId:l??"",linkType:N,shoppableDrawerData:F,children:(0,i.jsx)(Z,{isFeatureEnabled:!1,linkType:N,video:U,children:(0,i.jsx)(ej,{motionCardData:M,children:(0,i.jsx)(o.Q,{...V,altText:k?.image_alt_text,bottom_corners_rounded:$,buttonColor:D,buttonStatic:E,buttonText:T,cardSizes:t,customTextPosition:u(y),customTextPositionLg:u(j),customTextPositionMd:u(b),dataLnk:Y,fontResizeHeadline:P,fontResizeSubhead:R,hasLinksOverlay:X,id:void 0,images:(0,m.Xx)(k),link_type:N,links:C,marginBottom:"standard"===v?s.xe.generic.x4:ev[v],onClick:p,secondary_image:w?(0,m.Xx)(w):void 0,slotAspect:n,textPosition:I,textPositionLg:_,textPositionMd:S,top_corners_rounded:B,url:W})})})})})})};eC.displayName="Superhero"},77576:(e,t,n)=>{n.d(t,{E:()=>h});var i=n(37876),s=n(37371),a=n(24198),r=n(15039),o=n.n(r),l=n(14232),c=n(63997),d=n.n(c),p=n(6746);let h=e=>{let{children:t,className:n,"data-test":r,deferContentRendering:c,isOpen:h,noAnimation:u=!1,onClose:m,onOpen:x,variant:g="standard"}=e,[f,y]=(0,l.useState)(!1),b=(0,l.useRef)(null),j=(0,l.useRef)(null),[v,k]=(0,l.useState)(h),w=(0,s.Z)(v),C=(0,l.useCallback)(()=>{(0,p.nk)({skipAnimation:u,setup:[[j?.current,{transitionProperty:"height opacity",transitionDuration:"300ms",transitionTimingFunction:"ease"}],[b?.current,{transitionProperty:"transform",transitionDuration:"300ms",transitionTimingFunction:"ease"}]],from:[[j.current,{overflow:"hidden",height:"0",opacity:"0"}],[b.current,{transform:"translateY(-15px)"}]],to:[[j.current,{opacity:"1",height:()=>`${b?.current?.clientHeight}px`}],[b.current,{transform:"translateY(0)"}]]}).then(()=>{j.current&&(j.current.style.height="auto"),j.current&&(j.current.style.overflow="visible"),x?.()}).catch(()=>{})},[u,x]),N=(0,l.useCallback)(()=>{(0,p.nk)({skipAnimation:u,setup:[[j?.current,{transitionProperty:"height opacity",transitionDuration:"300ms",transitionTimingFunction:"ease"}],[b?.current,{transitionProperty:"transform",transitionDuration:"300ms",transitionTimingFunction:"ease"}]],from:[[j.current,{overflow:"hidden",opacity:"1",height:()=>`${b?.current?.clientHeight}px`}],[b.current,{transform:"translateY(0)"}]],to:[[j.current,{opacity:"0",height:"0"}],[b.current,{transform:"translateY(-15px)"}]]}).then(()=>{y(!1),m?.()}).catch(()=>{})},[u,m]);(0,l.useEffect)(()=>{k(h)},[h]),(0,a.U)(()=>{void 0!==w&&w!==v&&(y(!0),v?C():N())},[N,C,v,w]);let I=(0,l.useMemo)(()=>v||f,[v,f]);return(0,i.jsx)("div",{"aria-hidden":!h,className:d().ndsDisclosure,"data-test":r??"collapsibleClippingDiv",ref:j,children:(0,i.jsx)("div",{className:o()(d().disclosureWrapper,"menu"===g&&d().disclosureMenu,!I&&d().disclosureHidden,n),"data-test":"collapsibleContentDiv",ref:b,children:c&&!I?null:"bare"===g?t:(0,i.jsx)("div",{className:o()(d()[`${g}Content`]),children:t})})})};h.displayName="Disclosure"}}]);