1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[898],{85351:function(e,i,t){t.r(i);t(47012),t(34204),t(35978),t(81621),t(22369),t(1075),t(90937),t(1623),t(75755),t(53433),t(23e3),t(93142),t(43041),t(15166),t(82336);var l=t(41594),a=t.n(l),o=t(3495),r=t(17191),n=t(36652),s=t(14733),c=t(26306),p=t(87291),d=t(43811),u=t(84845),v=t(37819),m=t(73779),b=t(47573),f=t(31972),g=t(46748);function x(e){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(e)}function y(e,i,t){return(i=function(e){var i=function(e,i){if("object"!=x(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,i||"default");if("object"!=x(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(e)}(e,"string");return"symbol"==x(i)?i:i+""}(i))in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}var S=function(e){var i,t=e.classes,r=e.selectedSku,s=e.product,p=e.isPassportBundleProduct,x=e.flagIsAvailableToShipNow,y=e.flagIsDeliveryMessageNextVariant,S=e.configuratorProduct,h=e.productUrl,A=e.isClubProduct,P=e.isPdpRedesignEnabled,E=(0,c.d4)(m.getSSRDeviceType),N=(0,l.useContext)(g.Q).featureFlags,k=N.is_dollar_off_shown_enabled,R=N["is-availability-atc-left-aligned"],w=function(e){var i,l,o,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=n?t.clubPrice:t.retailPrice,c=n?t.clubPriceSelected:t.selectedRetailPrice;if(null!==e&&void 0!==e&&null!==(i=e.prices)&&void 0!==i&&i[0]&&null!==e&&void 0!==e&&null!==(l=e.prices)&&void 0!==l&&l[1]){var d,u,v=parseFloat(e.prices[0].value).toFixed(2),m=parseFloat(e.prices[1].value).toFixed(2);if(null!==p&&void 0!==p&&p.enable)v=parseFloat(e.prices[0].value+(null===p||void 0===p||null===(d=p.prices)||void 0===d?void 0:d.value)).toFixed(2),m=parseFloat(e.prices[1].value+(null===p||void 0===p||null===(u=p.prices)||void 0===u?void 0:u.value)).toFixed(2);return e.prices[0].value>e.prices[1].value?a().createElement(a().Fragment,null,a().createElement("s",null,"$",v),a().createElement("span",{className:r.id!==e.id?t.salePrice:"".concat(t.salePrice," ").concat(t.selectedSalePrice)},"$",m),k&&a().createElement("span",{className:t.discountAmount},"$",(o=e.prices[0].value-e.prices[1].value,Number("".concat(Math.round(10*o)
1/10)).toFixed(2))," Off")):a().createElement("span",{className:r.id!==e.id?s:c},"$",v)}return null},z=function(e){return(e||"").match(/[^-_]*$/)},_=function(e){var i,l,o,r=(null===e||void 0===e||null===(i=e.availability)||void 0===i?void 0:i.deliveryMessage)||(null===s||void 0===s||null===(l=s.availability)||void 0===l?void 0:l.deliveryMessage)||"",c=(0,u.yn)(null===e||void 0===e||null===(o=e.availability)||void 0===o?void 0:o.earliestShipDate,!0)||{},p=new Date(null===c||void 0===c?void 0:c.year,null===c||void 0===c?void 0:c.month,null===c||void 0===c?void 0:c.day);return p>new Date?a().createElement("strong",{className:t.productAvailibilityMessage},y?"NEXT AVAILABLE DATE":"Available to Ship",": ",(0,n.A)(p,"LLL do yyyy")):"AVAILABLE TO SHIP NOW"===r?a().createElement("strong",{className:t.availabletoShip},r):a().createElement("strong",{className:t.productAvailibilityMessage,"data-component":"availabilityMessage"},r)},q=r.name;null!==p&&void 0!==p&&p.enable&&((null===(i=q)||void 0===i?void 0:i.length)<20&&(null!==p&&void 0!==p&&p.skuText?q="".concat(q," ").concat(null===p||void 0===p?void 0:p.skuText):q+=" Bundle"));return S?a().createElement(o.A,{container:!0,xs:12},a().createElement(o.A,{item:!0,xs:6,className:t.itemSku},z(null===r||void 0===r?void 0:r.id),N["is-pdp-reviews-enabled"]&&N["is-power-review-enabled"]&&a().createElement(b.A,{partNumber:(0,v.hT)(s.partNumber),name:null===s||void 0===s?void 0:s.name,productUrl:null===s||void 0===s?void 0:s.url,inline:!0})),a().createElement(o.A,{item:!0,xs:6,className:t.priceBlock},w(r)),a().createElement(o.A,{item:!0,xs:12},x&&!R&&a().createElement("div",{className:t.availability},_(r)))):a().createElement(a().Fragment,null,a().createElement("div",{className:"".concat(t.productHeaderWrapper," ").concat(P?t.productWrapper:"")},a().createElement("div",{className:t.titleAndPrice},a().createElement("div",{className:t.title},(0,d.Ay)(q)),a().createElement("div",{className:t.price},w(r))),N["is-pdp-qty-availability-enabled"]&&a().createElement("div",{className:t.availabilityMessage},_(r)),"mobile"===E&&A&&N["is-pdp-reviews-enabled"]&&N["is-power-review-enabled"]&&a().createElement("div",{className:t.review},a().createElement(b.A,{product:s,selectedSku:r,productUrl:h})),a().createElement("div",{className:t.productId},z(null===r||void 0===r?void 0:r.id)),"mobile"===E&&a().createElement(f.A,{selectedSku:r}),x&&!R&&a().createElement("div",{className:t.availability},_(r))))};S.propTypes={classes:r.object.isRequired,selectedSku:(0,r.shape)({id:r.string.isRequired,name:r.string.isRequired,prices:(0,r.arrayOf)((0,r.shape)({type:r.string.isRequired,value:r.number.isRequired,__typename:r.string.isRequired})).isRequired,__typename:r.string.isRequired}).isRequired,product:(0,r.shape)({name:r.string.isRequired,partNumber:r.string.isRequired,shortDescription:r.string.isRequired,image:(0,r.shape)({name:r.string.isRequired,path:r.string.isRequired}).isRequired,availability:(0,r.shape)({deliveryMessage:r.string.isRequired,productDeliveryType:r.string.isRequired}).isRequired}).isRequired,isPassportBundleProduct:(0,r.shape)({prices:{value:r.number},enable:r.bool}),flagIsAvailableToShipNow:r.bool,flagIsDeliveryMessageNextVariant:r.bool,configuratorProduct:r.bool,productUrl:r.string,isClubProduct:r.bool,isPdpRedesignEnabled:r.bool},S.defaultProps={isPassportBundleProduct:{},flagIsAvailableToShipNow:!1,flagIsDeliveryMessageNextVariant:!1,configuratorProduct:!1,productUrl:"",isClubProduct:!1,isPdpRedesignEnabled:!1};var h=(0,s.Zz)((0,p.A)(function(e){var i,t,l;return{crossedOutRetailPrice:y(y({textDecoration:"line-through",fontWeight:"400",position:"absolute",top:"0px",bottom:"0px",right:"72px",fontSize:"18px"},e.breakpoints.down("sm"),{right:"50px",fontSize:".8em"}),e.breakpoints.down("xs"),{position:"unset",fontSize:"1em",fontWeight:"600"}),salePrice:{color:e.palette.pdp.salePrice||"#a1001a",margin:"0 0 0 10px",fontSize:"20px",position:"absolute",right:"0px",top:"0px"},selectedSalePrice:y(y({position:"absolute",right:"0px",top:"0px",fontWeight:"bold",fontSize:"20px"},e.breakpoints.down("sm"),{fontSize:".9em"}),e.breakpoints.down("xs"),{position:"unset",display:"block",fontSize:"1em",fontWeight:"700"}),discountAmount:y(y({color:null===(i=e.palette.cms)||void 0===i?void 0:i.skuPriceDiscountColor,fontWeight:"normal",marginLeft:"10px",position:"absolute",top:"26px",right:"0px",fontSize:"18px"},e.breakpoints.down("sm"),{fontSize:".9em"}),e.breakpoints.down("xs"),{top:"0px",position:"relative"}),retailPrice:{fontSize:"20px",color:null===(t=e.palette.common)||void 0===t?void 0:t.black},selectedRetailPrice:{fontWeight:"bold",color:null===(l=e.palette.common)||void 0===l?void 0:l.black,fontSize:"20px"},productAvailibilityMessage:{textTransform:"uppercase",fontSize:"11px",fontFamily:e.typography.fontFamily,fontWeight:"700",color:e.palette.productAvailibilityPDP,margin:"-2px 0px 0px 0px"},availabletoShip:{textTransform:"uppercase",fontSize:"11px",fontFamily:e.typography.fontFamily,fontWeight:"700",margin:"-2px 0px 0px 0px"},productHeaderWrapper:y(y({display:"block",padding:0},e.breakpoints.up(768.5),{display:"none"}),e.breakpoints.down(599.9),{display:"block"}),titleAndPrice:{display:"flex"},title:{flex:"4 0 0",color:e.palette.black,margin:"0",fontSize:"1.25em",fontWeight:"500"},price:{flex:"1 0 0",textAlign:"right",position:"relative",fontSize:"1em",fontWeight:"600"},productId:{margin:"12px 0",fontSize:"1em",color:e.palette.colorSecondary},availability:{color:e.palette.black,padding:"5px 0 10px",fontSize:"0.9em",boxSizing:"border-box",textAlign:"center",fontWeight:"700",textTransform:"capitalize"},itemSku:{fontWeight:400,fontSize:"19px",color:e.palette.black},priceBlock:{textAlign:"right"},review:{marginTop:"8px"},availabilityMessage:{fontSize:"16px",lineHeight:"18px",textTransform:"capitalize",color:e.palette.upsellsTextColor||"#2F2F2F",margin:"20px 0px 25px","& >div":{fontSize:"16px",fontFamily:"LatoBold",fontWeight:"normal"}}}}));i.default=h(S)}}]); 2//# sourceMappingURL=ProductNameV1.25b88961.chunk.js.map
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.