1"use strict";(self.webpackChunkexpress_com=self.webpackChunkexpress_com||[]).push([[2228,3009,9847],{36651(e,t,o){o.d(t,{A:()=>s});const s={matchingSets:"av4gb",togglePanelContentClassName:"YHYYB",matchingSetsHorizontalCardContainer:"_8sAx"}},45973(e,t,o){o.d(t,{A:()=>p});var s=o(74848),a=o(41594),r=o.n(a);const l={overlay:"VwJ5a",container:"tlBkJ",close:"FPEVL",modal:"_OYUh",slideout:"IvjdL",active:"NkcMP",enableOverflowY:"zgUMu",disableOverflowY:"FBFOo"};var n=o(81320),c=o(28197);const i=({active:e,isOpen:t=!0,setAppElement:o,view:a,viewComponent:r,...l})=>{if(!e)return null;const n=o;return(0,s.jsx)(c.A,{isOpen:t,role:"dialog",...l,setAppElement:n,children:r(a)})},d=(e,t,o,s)=>"slide"===e?(0,n.A)(l.slideout,t&&l.active,o?l.enableOverflowY:l.disableOverflowY):s,u=r().memo(({activeProduct:e=null,className:t="",enableOverflow:o=!1,externalClose:r=!1,onModalClose:n,view:c="slide",...u})=>{(0,a.useRef)(0).current+=1;const[p,m]=(0,a.useState)(!1),[v,C]=(0,a.useState)(r),[w,f]=(0,a.useState)(e),g=(0,a.useRef)(),h=(0,a.useRef)();const P=(0,a.useCallback)(()=>{g.current=setTimeout(()=>{n(),m(!1)},250)},[n]);return(0,a.useEffect)(()=>{C(r)},[r]),(0,a.useEffect)(()=>{f(e)},[e]),(0,a.useEffect)(()=>{v&&p?P():w&&(h.current=setTimeout(()=>{m(!0)},1))},[w,P,v,p]),(0,a.useEffect)(()=>()=>{clearTimeout(g.current),clearTimeout(h.current)},[]),(0,s.jsx)(i,{active:!!w,isOpen:!!w,view:c,className:d(c,p,o,t),classNameCloseIcon:l.closeIcon,onModalClose:P,closeTimeoutMS:"slide"===c?250:0,...u})});u.displayName="ModalLayoutVM";const p=u},4596(e,t,o){o.r(t),o.d(t,{default:()=>i});var s=o(74848),a=(o(41594),o(73559)),r=o(936),l=o(81320),n=o(36651),c=o(45973);const i=({activeExpressViewProduct:e=!1,getExpressViewContainer:t,handleExpressViewClose:o,handleExpressViewOpen:i,isMobileLayout:d,matchingSetProductData:u,productCardProps:p,sliderContainerClassName:m=""})=>{const v=(u||[]).filter(e=>null!==e).map(e=>({cartPromoMessage:e.cartPromoMessage||void 0,listPrice:e.listPrice||void 0,name:e.name||void 0,newProduct:e.newProduct||void 0,productId:e.productId||"",productImage:e.productImage||"",productURL:e.productURL||"",productRating:e.productRating||void 0,salePrice:e.salePrice||void 0,totalReviewCount:e.totalReviewCount||"",productColorSwatches:e.productColorSwatches}));return(0,s.jsxs)("div",{className:(0,l.A)(n.A.matchingSets,1===u?.length&&n.A.matchingSetsHorizontalCardContainer),"data-testid":"matchingSetsContainer",children:[(0,s.jsx)(c.A,{activeProduct:e||!1,contentLabel:"Express Product View",onModalClose:o,setAppElement:".content",view:"slide",viewComponent:t}),1===u?.length?(0,s.jsx)(r.A,{...p,productId:p.productId||null,productImage:p.productImage||null,productURL:p.productURL||void 0,layout:"landscape",enableColorSwatches:!0}):(0,s.jsx)(a.P,{isMobileLayout:d,enableExpressView:!0,items:v,onExpressViewClick:i,size:"default",type:"card",sliderContainerClassName:m})]})}}}]);
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.