1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3922],{33922:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>G});var r=a(95155),s=a(1666),c=a(80994),l=a(31274),d=a(6874),o=a.n(d),i=a(99604),n=a(14042),u=a(59519),p=a.n(u);let b=({label:e})=>e?(0,r.jsx)("div",{className:n.e.mergeClassNames(p()["product-class-label"]),children:c.U.localize(e)}):null;var m=a(67177),h=a.n(m),g=a(12115),x=a(87873);let S=()=>{let[e,t]=(0,g.useState)(!0);(0,g.useEffect)(()=>(a(),window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}),[]);let a=()=>{t(n.e.isSmallScreen())};return e};var P=a(55028);let f=(0,P.default)(()=>a.e(172).then(a.bind(a,10172)),{loadableGenerated:{webpack:()=>[10172]}}),j=(0,P.default)(()=>Promise.all([a.e(1497),a.e(9690),a.e(4390),a.e(3109),a.e(3828)]).then(a.bind(a,63828)),{loadableGenerated:{webpack:()=>[63828]}}),v=(0,P.default)(()=>a.e(2011).then(a.bind(a,92011)),{loadableGenerated:{webpack:()=>[92011]}}),N=(0,P.default)(()=>Promise.all([a.e(648),a.e(7734),a.e(5300)]).then(a.bind(a,15300)),{loadableGenerated:{webpack:()=>[15300]}}),k=(0,P.default)(()=>Promise.all([a.e(9787),a.e(9719)]).then(a.bind(a,99719)),{loadableGenerated:{webpack:()=>[99719]}}),w=(0,P.default)(()=>Promise.all([a.e(4385),a.e(9792)]).then(a.bind(a,39792)),{loadableGenerated:{webpack:()=>[39792]}}),C=(0,P.default)(()=>Promise.all([a.e(5675),a.e(8321)]).then(a.bind(a,702)),{loadableGenerated:{webpack:()=>[702]}});function G({product:e,label:t,hasLabelOffset:a,imageRespo:d,lazyLoading:u=!0,blockScrollOutOfViewport:p,minBottomHeight:m=0}){let[P,G]=(0,g.useState)(!1),y=(0,l.GV)(e=>e.page),O=i.b.getProductName(e),D=[s.ZG.InStock,s.ZG.OnRequest,s.ZG.OutOfStock].includes(e.productState),z=!(0,l.GV)(e=>e.filter.sortBy),M=S(),E=JSON.stringify(e),{rentPrice:L,rentPriceValue:R,rentListPrice:T,rentDiscount:W}=(0,g.useMemo)(()=>i.b.getRentPricesForProductCard(y,e,D),[E]),{saleWithContractPrice:Z,saleWithContractPriceValue:B,saleWithContractListPrice:F,saleWithContractDiscount:V}=(0,g.useMemo)(()=>i.b.getSaleWithContractPricesForProductCard(y,e,D),[E]),{salePrice:I,salePriceValue:U,saleListPrice:_,saleDiscount:q,saleHasOptions:A}=(0,g.useMemo)(()=>i.b.getSalePricesForProductCard(y,e,D),[E]),{subscriptionPrice:H,subscriptionPriceValue:J,subscriptionListPrice:K,subscriptionDiscount:Q}=(0,g.useMemo)(()=>i.b.getSubscriptionPricesForProductCard(y,e,D),[E]),{measurementString:X,isSaleWithContract:Y,useSaleWithContractPrice:$,isTwoColumnPrice:ee,isDiscounted:et,shortDescriptionLines:ea,isSubscription:er}=i.b.getProductCardProperties(e,U,B,I,L,H,q,W,Q);return(0,r.jsxs)(o(),{"data-action":"product-card-item",className:n.e.mergeClassNames(h()["product-card"],a&&z&&h()["label-offset"]),...!!t&&{"data-label":""},href:x.r.createUrl(i.b.getProductURL(e).split("/")),"aria-label":O,onMouseMove:()=>{G(!0)},onMouseLeave:()=>{G(!1)},children:[z&&(0,r.jsx)(b,{label:t}),(0,r.jsx)(f,{badges:e.productBadgesData?.slice(0,2)??[],staticBadge:!1,offset:z&&!!t}),(0,r.jsx)("div",{className:n.e.mergeClassNames(h()["product-card-image"],P&&h()["show-arrows"]),children:(0,r.jsx)(w,{isSmallDevice:M,product:e,imageRespo:d,lazyLoading:u,blockScrollOutOfViewport:p})}),(0,r.jsxs)("div",{className:h()["product-card-content"],children:[(0,r.jsx)("div",{className:h()["product-card-name"],children:(0,r.jsx)("strong",{children:O})}),(0,r.jsx)(v,{highlightedParameters:e.productHighlightedParameters}),(0,r.jsx)("div",{className:n.e.mergeClassNames(h()["product-card-description"],et?h().discounted:"",ee?"":h().longer,(ea?.length??0)>1?h().bullets:h().text),children:(ea?.length??0)>1?(0,r.jsx)("ul",{children:ea.map((e,t)=>(0,r.jsx)("li",{children:e},t))}):e.productLocalizedData?.productLocalizedDataShortDescription??""}),(0,r.jsx)("div",{className:h()["product-card-price"],children:(0,r.jsx)(N,{sale:{sellingType:Y?s.a.SaleWithContract:s.a.Sale,price:$?Z:I,listPrice:$?F:_,percentageDiscount:$?V:q,priceValue:$?B:U,measurementString:X,hasOptions:A},rentWithContract:{sellingType:er?s.a.Subscription:s.a.RentWithContract,price:er?H:L,listPrice:er?K:T,percentageDiscount:er?Q:W,priceValue:er?J:R,measurementString:X}})}),(0,r.jsx)("div",{className:h()["product-card-controls"],children:e.productSellingTypeParsed.some(e=>[s.a.RentWithContract,s.a.SaleWithContract,s.a.Subscription].includes(e))||![s.ch.Consumables,s.ch.Software].includes(e.productType)||A||[s.ZG.OnRequest,s.ZG.OutOfStock].includes(e.productState)||e.productPriceIsScaled?(0,r.jsx)("span",{className:h()["product-card-controls-button"],children:c.U.localize("EBIZShop.FE.ProductPreview.Button")}):(0,r.jsx)(k,{product:e})}),(0,r.jsxs)("div",{className:h()["product-card-bottom"],"data-card-bottom":!0,style:m?{minHeight:m}:void 0,children:[(0,r.jsx)("div",{className:h()["product-card-bottom-comparison"],children:(0,r.jsx)(j,{product:e})}),(0,r.jsx)("div",{className:h()["product-card-bottom-stock"],children:(0,r.jsx)(C,{productState:e.productState,productType:e.productType,stockDays:e.productAvailableInDays??0,smallText:!0,centerAlign:!0,shortMessage:!0},"stock")})]})]})]})}},59519:e=>{e.exports={"product-class-label":"cxy4bd9-z1x"}}}]);
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.