"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[298],{3838:(e,t,a)=>{a.d(t,{A:()=>d});var i=a(37876);a(14232);var o=a(18608),r=a(60058),l=a(33081),s=a(42919);let n=(0,o.makeStyles)()(e=>({formControlLabelRoot:{alignItems:"flex-start",verticalAlign:"inherit"},label:{fontSize:e.typography.pxToRem(16),marginTop:e.typography.pxToRem(5),flexShrink:0,width:"100%",[e.breakpoints.down("sm")]:{flexShrink:1}}})),d=e=>{let{error:t,value:a,name:o,id:d,checked:u,label:c,disabled:_,onChange:A,onBlur:p,formControlClasses:m,inputProps:T,...E}=e,{classes:I}=n(),g=d||o;return(0,i.jsx)(r.A,{classes:{root:I.formControlLabelRoot,label:I.label,...m},checked:u,control:(0,i.jsx)(l.A,{disabled:_,id:g,name:o,value:a,onChange:A,onBlur:p,inputProps:T,error:t,...E}),label:(0,i.jsxs)("div",{children:[c,t&&(0,i.jsx)(s.A,{id:"".concat(o,"-help-text"),error:!!t,children:t||null})]})})}},4055:(e,t,a)=>{a.d(t,{A:()=>i});let i=(0,a(35967).YK)({PRICING_AND_AVAILABILITY_UNAVAILABLE:{id:"PRICING_AND_AVAILABILITY_UNAVAILABLE",defaultMessage:"Pricing and availability is not currently available."},PRODUCT_DISCONTINUED_BUT_AVAILABLE_FOR_PURCHASE:{id:"PRODUCT_DISCONTINUED_BUT_AVAILABLE_FOR_PURCHASE",defaultMessage:"One or more pack size(s) of this product have been discontinued but those shown are still available for purchase."},THIS_PRODUCT_HAS_BEEN_DISCONTINUED:{id:"THIS_PRODUCT_HAS_BEEN_DISCONTINUED",defaultMessage:"Product {productNumber} has been discontinued."},THIS_PRODUCT_DISCONTINUED:{id:"THIS_PRODUCT_DISCONTINUED",defaultMessage:"This product is discontinued. {recommendedProductMessage}"},NO_PRODUCTS_TO_COMPARE:{id:"NO_PRODUCTS_TO_COMPARE",defaultMessage:"No Products To Compare"},PRODUCT_IS_NOT_SOLD_IN_YOUR_COUNTRY:{id:"PRODUCT_IS_NOT_SOLD_IN_YOUR_COUNTRY",defaultMessage:"Product {productNumber} is not currently sold in your country."},PRODUCT_CANNOT_BE_ORDERED:{id:"PRODUCT_CANNOT_BE_ORDERED",defaultMessage:"Product {productNumber} cannot be ordered."},PRODUCT_IS_ON_DEMAND_AVAILABILITY_MAY_VARY_BASED_ON_CAPACITY:{id:"PRODUCT_IS_ON_DEMAND_AVAILABILITY_MAY_VARY_BASED_ON_CAPACITY",defaultMessage:"Product {productNumber} is an on demand item. Availability times will vary based on capacity."},PRODUCT_IS_CUSTOMER_SPECIFIC_AND_NOT_AVAILABLE_TO_BE_SOLD_ON_INTERNET:{id:"PRODUCT_IS_CUSTOMER_SPECIFIC_AND_NOT_AVAILABLE_TO_BE_SOLD_ON_INTERNET",defaultMessage:"Product {productNumber} is a customer specific product and is not available to be sold on the internet."},TO_INQUIRE_ABOUT_THIS_PRODUCT_PLEASE_CONTACT_YOUR_LOCAL_MERCK_OFFICE_OR_DEALER:{id:"TO_INQUIRE_ABOUT_THIS_PRODUCT_PLEASE_CONTACT_YOUR_LOCAL_MERCK_OFFICE_OR_DEALER",defaultMessage:" To inquire about this product {productNumber}, please contact your local Merck office or dealer."},TO_INQUIRE_ABOUT_THIS_PRODUCT_PLEASE_CONTACT_YOUR_LOCAL_MILLIPORE_SIGMA_OFFICE_OR_DEALER:{id:"TO_INQUIRE_ABOUT_THIS_PRODUCT_PLEASE_CONTACT_YOUR_LOCAL_MILLIPORE_SIGMA_OFFICE_OR_DEALER",defaultMessage:"To inquire about this product {productNumber}, please contact your local MilliporeSigma office or dealer."},PRODUCT_REQUIRES_SPECIAL_PROCESSING:{id:"PRODUCT_REQUIRES_SPECIAL_PROCESSING",defaultMessage:"Product {productNumber} requires special processing and cannot be ordered through the web site. Please contact customer service to order this item."},PRODUCT_NOT_AVAILABLE_FOR_PURCHASE:{id:"PRODUCT_NOT_AVAILABLE_FOR_PURCHASE",defaultMessage:"Product {productNumber} is currently not available for purchase."},EMD_MILLIPORE_PRICING_AND_INVENTORY_UNAVAILABLE:{id:"EMD_MILLIPORE_PRICING_AND_INVENTORY_UNAVAILABLE",defaultMessage:"Pricing and Inventory is not available. Please check the {link} website for more information."},MERCK_MILLIPORE_PRICING_AND_INVENTORY_UNAVAILABLE:{id:"MERCK_MILLIPORE_PRICING_AND_INVENTORY_UNAVAILABLE",defaultMessage:"This item can only be ordered on the {link} website."},THIS_PRODUCT_NUMBER_DOES_NOT_EXIST:{id:"THIS_PRODUCT_NUMBER_DOES_NOT_EXIST",defaultMessage:"This product number does not exist. Please enter the correct number."}})},4221:(e,t,a)=>{a.d(t,{A:()=>o});var i=a(89996);function o(e){return e===i.TK.MarketplaceCart||e===i.TK.MarketplaceBuyNowCart}},6042:(e,t,a)=>{a.d(t,{A:()=>i.A});var i=a(74178)},9887:(e,t,a)=>{a.d(t,{A:()=>i});let i=(0,a(35967).YK)({ESTIMATED_TO_SHIP_ON:{id:"ESTIMATED_TO_SHIP_ON",defaultMessage:"Estimated to ship on"},AVAILABLE_TO_SHIP_ON:{id:"AVAILABLE_TO_SHIP_ON",defaultMessage:"Available to ship on"},AVAILABLE_TODAY:{id:"AVAILABLE_TODAY",defaultMessage:"Available to ship TODAY"},ESTIMATED_TO_SHIP_TODAY:{id:"ESTIMATED_TO_SHIP_TODAY",defaultMessage:"Estimated to ship TODAY"},FEW_LEFT_IN_STOCK:{id:"FEW_LEFT_IN_STOCK",defaultMessage:"{qty} left in stock (more on the way)"},LIMITED_AVAILABILITY:{id:"LIMITED_AVAILABILITY",defaultMessage:"Limited Availability"},CONTACT_FOR_AVAILABILITY:{id:"CONTACT_FOR_AVAILABILITY",defaultMessage:"Please contact Customer Service for Availability"},CONTACT_LOCAL_CUSTOMER_SERVICE_FOR_DELIVERY_ESTIMATE:{id:"CONTACT_LOCAL_CUSTOMER_SERVICE_FOR_DELIVERY_ESTIMATE",defaultMessage:"Product Availability: Please contact your {link} for delivery estimate."},APO_NO_STOCK:{id:"APO_NO_STOCK",defaultMessage:"No Local Stock"},FULFILMENT_DELIVERY_DELAYED:{id:"FULFILMENT_DELIVERY_DELAYED",defaultMessage:"Fulfilment and delivery delayed"},ESTIMATED_TO_SHIP_ON_DYNAMIC:{id:"ESTIMATED_TO_SHIP_ON_DYNAMIC",defaultMessage:"{quantity}Estimated to ship on {date} from {plantLoc}"},AVAILABLE_TO_SHIP_ON_DYNAMIC:{id:"AVAILABLE_TO_SHIP_ON_DYNAMIC",defaultMessage:"{quantity}Available to ship on {date} from {plantLoc}"},ESTIMATED_TO_SHIP_ON_DYNAMIC_WITHOUT_PLANT_LOC:{id:"ESTIMATED_TO_SHIP_ON_DYNAMIC_WITHOUT_PLANT_LOC",defaultMessage:"{quantity}Estimated to ship on {date}"},AVAILABLE_TO_SHIP_ON_DYNAMIC_WITHOUT_PLANT_LOC:{id:"AVAILABLE_TO_SHIP_ON_DYNAMIC_WITHOUT_PLANT_LOC",defaultMessage:"{quantity}Available to ship on {date}"},AVAILABLE_TO_SHIP_ON_DYNAMIC_WITHOUT_DATE_AND_PLANT_LOC:{id:"AVAILABLE_TO_SHIP_ON_DYNAMIC_WITHOUT_DATE_AND_PLANT_LOC",defaultMessage:"{quantity}Available to ship on"},ESTIMATED_TO_SHIP_ON_DYNAMIC_WITHOUT_DATE_AND_PLANT_LOC:{id:"ESTIMATED_TO_SHIP_ON_DYNAMIC_WITHOUT_DATE_AND_PLANT_LOC",defaultMessage:"{quantity}Estimated to ship on"},ESTIMATED_DELIVERY_ON_DYNAMIC:{id:"ESTIMATED_DELIVERY_ON_DYNAMIC",defaultMessage:"{quantity}Estimated Delivery on {date} from {plantLoc}"},ESTIMATED_DELIVERY_ON:{id:"ESTIMATED_DELIVERY_ON",defaultMessage:"{quantity}Estimated Delivery on {date}"},ESTIMATED_DELIVERY_ON_WITHOUT_DATE_AND_PLANT_LOC:{id:"ESTIMATED_DELIVERY_ON_WITHOUT_DATE_AND_PLANT_LOC",defaultMessage:"{quantity}Estimated Delivery on"},SHIPPING_DATE_NOT_AVAILABLE:{id:"SHIPPING_DATE_NOT_AVAILABLE",defaultMessage:"{quantity}Shipping Date not available"},PRODUCT_AVAILABILITY_LIMITED_AVAILABILITY:{id:"PRODUCT_AVAILABILITY_LIMITED_AVAILABILITY",defaultMessage:"Product Availability: Limited Availability"},AVAILABILITY_UNKNOWN:{id:"AVAILABILITY_UNKNOWN",defaultMessage:"Availability Unknown"}})},11374:(e,t,a)=>{a.d(t,{A:()=>m});var i=a(37876),o=a(14232),r=a(77742),l=a(8733),s=a(18608),n=a(38554),d=a(45756),u=a(9887),c=a(89996),_=a(36820);let A=(0,s.makeStyles)()(e=>({root:{fontSize:e.typography.pxToRem(12),lineHeight:1.5,"& > div:not(:last-of-type)":{marginBottom:e.spacing(1)}},link:{fontWeight:e.typography.fontWeightBold,color:e.palette.secondary.dark,cursor:"pointer"},availableLabelChip:{display:"flex",alignItems:"center",fontSize:e.typography.pxToRem(12),gap:e.spacing(1)},chipContainer:{backgroundColor:"#E8F3FA",padding:e.spacing(2,3),borderRadius:"5px",fontSize:e.typography.pxToRem(14),lineHeight:1.5,display:"inline-block","& > div:not(:last-of-type)":{marginBottom:e.spacing(1)}}}));var p=function(e){return e.estimated="ESTIMATED_TO_SHIP_ON_DYNAMIC",e.available="AVAILABLE_TO_SHIP_ON_DYNAMIC",e.estimatedWithoutPlantLoc="ESTIMATED_TO_SHIP_ON_DYNAMIC_WITHOUT_PLANT_LOC",e.availableWithoutPlantLoc="AVAILABLE_TO_SHIP_ON_DYNAMIC_WITHOUT_PLANT_LOC",e.estimatedDelivery="ESTIMATED_DELIVERY_ON_DYNAMIC",e.estimatedDeliveryOn="ESTIMATED_DELIVERY_ON",e.shippingDateNotAvailable="SHIPPING_DATE_NOT_AVAILABLE",e.contactLocalCustomer="CONTACT_LOCAL_CUSTOMER_SERVICE_FOR_DELIVERY_ESTIMATE",e.limitedAvailability="PRODUCT_AVAILABILITY_LIMITED_AVAILABILITY",e.availabilityUnknown="AVAILABILITY_UNKNOWN",e.contactForAvailability="CONTACT_FOR_AVAILABILITY",e.fulfilmentDeliveryDelayed="FULFILMENT_DELIVERY_DELAYED",e.checkCartForAvailability="CHECK_CART_FOR_AVAILABILITY",e.estimatedWithoutDateAndPlantLoc="ESTIMATED_TO_SHIP_ON_DYNAMIC_WITHOUT_DATE_AND_PLANT_LOC",e.availableWithoutDateAndPlantLoc="AVAILABLE_TO_SHIP_ON_DYNAMIC_WITHOUT_DATE_AND_PLANT_LOC",e.estimatedDeliveryWithoutDateAndPlantLoc="ESTIMATED_DELIVERY_ON_WITHOUT_DATE_AND_PLANT_LOC",e}(p||{});let m=e=>{let{availabilities:t,distrChainStatus:a,className:s,appendLabel:p,showAvailabilityLabelChip:m=!1,selectShippingDate:T,shouldRenderSelectShippingDate:E,leadTime:I}=e,{classes:g,cx:v}=A(),f=(0,r.A)(),O="/[country]/[language]/checkout"===(0,c.rd)().pathname,N=E&&O,y="YC"===a||"YF"===a||"YR"===a||"YR05"===a||"EXCEPTION5"===a||"YC05"===a||"YF05"===a,L=(0,o.useCallback)((e,t)=>(0,i.jsxs)("div",{children:[p&&(0,i.jsxs)(i.Fragment,{children:[p,": "]}),e]},t),[p]),S=(0,o.useCallback)((e,a,r)=>{var l;let s=a.date?f.formatDate(new Date(a.date),{year:"numeric",month:"long",day:"2-digit",timeZone:"UTC"}):null,n=null!==(l=null==a?void 0:a.plantLoc)&&void 0!==l?l:null,d=a.quantity&&t.length?"".concat(a.quantity," "):null;return t.length?(0,i.jsx)(o.Fragment,{children:(0,i.jsx)(_.J,{availability:a,...u.A[e],values:{quantity:d,date:s,plantLoc:n},children:e=>L(N?(0,i.jsxs)("span",{className:g.availableLabelChip,children:[e,T]}):e,r)})},r):null},[t,N,T,L,g,f]),h=(0,o.useCallback)((e,a,o)=>t.length?(0,i.jsx)(_.J,{availability:a,...u.A[e],values:{link:(0,i.jsx)(n.A,{href:"http://maestro.my.site.com/knowledgeportal/s/",target:"_blank",rel:"noopener noreferrer",className:g.link,children:(0,i.jsx)(l.A,{id:"LOCAL_CUSTOMER_SERVICE",defaultMessage:"local customer service"})})},children:e=>L(e,o)},o):null,[t,L,g]),C=(e,t)=>S((()=>{if(N)switch(e.key){case"ESTIMATED_TO_SHIP_ON":return"ESTIMATED_TO_SHIP_ON_DYNAMIC_WITHOUT_DATE_AND_PLANT_LOC";case"AVAILABLE_TO_SHIP_ON":case"SHIPS_ON_FROM":return"AVAILABLE_TO_SHIP_ON_DYNAMIC_WITHOUT_DATE_AND_PLANT_LOC";case"ESTIMATED_DELIVERY_ON":return"ESTIMATED_DELIVERY_ON_WITHOUT_DATE_AND_PLANT_LOC";default:return"AVAILABILITY_UNKNOWN"}switch(e.key){case"ESTIMATED_TO_SHIP_ON":return e.plantLoc?"ESTIMATED_TO_SHIP_ON_DYNAMIC":"ESTIMATED_TO_SHIP_ON_DYNAMIC_WITHOUT_PLANT_LOC";case"AVAILABLE_TO_SHIP_ON":case"SHIPS_ON_FROM":return e.plantLoc?"AVAILABLE_TO_SHIP_ON_DYNAMIC":"AVAILABLE_TO_SHIP_ON_DYNAMIC_WITHOUT_PLANT_LOC";case"ESTIMATED_DELIVERY_ON":return e.plantLoc?"ESTIMATED_DELIVERY_ON_DYNAMIC":"ESTIMATED_DELIVERY_ON";default:return"AVAILABILITY_UNKNOWN"}})(),e,t);return(0,i.jsx)("div",{className:v(g.root,s),children:(0,i.jsxs)("div",{className:v(m&&g.chipContainer),children:[t.map((e,t)=>{switch(e.key){case"ESTIMATED_TO_SHIP_ON":case"AVAILABLE_TO_SHIP_ON":case"SHIPS_ON_FROM":case"ESTIMATED_DELIVERY_ON":return C(e,t);case"SHIPPING_DATE_NOT_AVAILABLE":return S("SHIPPING_DATE_NOT_AVAILABLE",e,t);case"CONTACT_LOCAL_CUSTOMER_SERVICE_FOR_DELIVERY_ESTIMATE":return h("CONTACT_LOCAL_CUSTOMER_SERVICE_FOR_DELIVERY_ESTIMATE",e,t);case"EMPROVE_SUBSCRIBED_AVAILABILITY":return L(f.formatMessage({id:"EMPROVE_SUBSCRIBED_AVAILABILITY",defaultMessage:"Available for download once your purchase is completed"}),t);case"EMPROVE_NONSUBSCRIBED_AVAILABILITY":return L(f.formatMessage({id:"EMPROVE_NONSUBSCRIBED_AVAILABILITY",defaultMessage:"Available for download once your purchase is completed and approved"}),t);case"LIMITED_AVAILABILITY":return h("PRODUCT_AVAILABILITY_LIMITED_AVAILABILITY",e,t);case"CONTACT_FOR_AVAILABILITY":return L(f.formatMessage({id:"CONTACT_FOR_AVAILABILITY",defaultMessage:"Please contact Customer Service for Availability"}),t);case"CHECK_CART_FOR_AVAILABILITY":return L(f.formatMessage({id:"CHECK_CART_FOR_AVAILABILITY",defaultMessage:"Check Cart for Availability"}),t);case"FULFILMENT_DELIVERY_DELAYED":return L(f.formatMessage({id:"FULFILMENT_DELIVERY_DELAYED",defaultMessage:"Fulfilment and delivery delayed"}),t);case"UNTIL_SUPPLIES_RUN_OUT":return L(f.formatMessage({id:"UNTIL_SUPPLIES_RUN_OUT",defaultMessage:"This item is available until supplies run out."}),t);case"OUT_OF_STOCK_KEY":return L(f.formatMessage({id:"OUT_OF_STOCK",defaultMessage:"We apologize but fulfillment and delivery of this product is delayed. We are working to minimize these delays as quickly as possible."}),t);default:return S("AVAILABILITY_UNKNOWN",e,t)}}),y&&L((e=>{switch(e){case"YC":return f.formatMessage({id:"DELIVERY_DELAY_RESTRICTIONS",defaultMessage:"Delivery of this item may be delayed due to regulatory or compliance restrictions."});case"YF":return f.formatMessage({id:"DELIVERY_DELAY_TRANSPORTATION",defaultMessage:"Delivery of this item may be delayed due to its transportation regulations."});case"YR":return f.formatMessage({id:"DELIVERY_SAFETY_DOCUMENTATION",defaultMessage:"This item may have limited quality and safety documentation. Once ordered, it may not be canceled or returned."});case"EXCEPTION5":return f.formatMessage({id:"DELIVERY_DELAY_BY_TRUCK",defaultMessage:"Delivered via Merck Truck; Delivery may be delayed."});case"YR05":return f.formatMessage({id:"DELIVERY_DELAY_LIMITED_QUANTITY",defaultMessage:"This item may have limited quality and safety documentation. Once ordered, it may not be cancelled or returned. Delivered via Merck Truck; Delivery may be delayed."});case"YC05":return f.formatMessage({id:"DELIVERY_DELAY_REGULATORY_OR_COMPLIANCE_RESTRICTIONS",defaultMessage:"Delivery of this item may be delayed due to regulatory or compliance restrictions. Delivered via Merck Truck; Delivery may be delayed."});case"YF05":return f.formatMessage({id:"DELIVERY_DELAY_TRANSPORTATION_REGULATIONS",defaultMessage:"Delivery of this item may be delayed due to its transportation regulations. Delivered via Merck Truck; Delivery may be delayed."});default:return null}})(a),"distrChain"),Number(I)>0&&L((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.A,{id:"ESTIMATED_LEAD_TIME",defaultMessage:"Estimated Lead Time"}),":",(0,i.jsx)(d.A,{ml:1,mr:1,component:"span",children:I}),(0,i.jsx)(l.A,{id:"DAYS",defaultMessage:"Days"})]}),"leadTime")]})})}},26831:(e,t,a)=>{a.d(t,{A:()=>i});let i=a(3838).A},29533:(e,t,a)=>{a.d(t,{A:()=>O});var i=a(37876),o=a(14232),r=a(18608),l=a(77018),s=a(50554),n=a(6042),d=a(35967),u=a(8733),c=a(53312),_=a(89996),A=a(32667),p=a(46044),m=a(35152),T=a(51951),E=a(92573);let I=(0,r.makeStyles)()(e=>({promoTitle:{fontWeight:e.typography.fontWeightBold},promoDescription:{marginBottom:e.spacing(3)},shopProductsLink:{fontWeight:e.typography.fontWeightBold},tieredDescription:{margin:0,padding:e.spacing(0,0,0,6)}})),g=e=>{var t,a,r,s,n;let{promoData:g,materialNumber:v,product:O,cartItem:N}=e,{classes:y}=I(),L=null!==(r=null==g?void 0:g.currency)&&void 0!==r?r:"USD",S=null==g?void 0:g.qualifierType,h=(null==g?void 0:g.tiers.length)===1,C=null!==(s=null==g?void 0:null===(t=g.topTier)||void 0===t?void 0:t.discount)&&void 0!==s?s:0,M=null!==(n=null==g?void 0:null===(a=g.topTier)||void 0===a?void 0:a.qualifyingAmount)&&void 0!==n?n:0,D=S===A.Er.Currency,R=S&&p._N[S],P="".concat(D?"spend":"buy"," ").concat(M," save ").concat(C,"%"),x=e=>(0,i.jsx)(d.Gr,{currency:L,style:"currency",minimumFractionDigits:0,maximumFractionDigits:0,value:e}),b=f(C);return(0,o.useEffect)(()=>{O&&(0,m.sendProductDetailPromoEvent)({event:"view_promotion",component:"badge",promoPhrase:R,creativeName:P,product:O,materialNumber:v}),N&&(0,T.iA)({event:"view_promotion",component:"badge",promoPhrase:R,creativeName:P,cartItem:N})},[]),(0,i.jsxs)(i.Fragment,{children:[C&&(0,i.jsx)(l.A,{className:y.promoTitle,children:D?h?(0,i.jsx)(u.A,{id:"SPEND_AND_SAVE_DISCOUNT",defaultMessage:"Spend & Save {discount}",values:{discount:b}}):(0,i.jsx)(u.A,{id:"SPEND_AND_SAVE_UP_TO_DISCOUNT",defaultMessage:"Spend & Save Up To {discount}",values:{discount:b}}):h?(0,i.jsx)(u.A,{id:"BUY_AMOUNT_SAVE_DISCOUNT_TITLE",defaultMessage:"Buy {amount}, Save {discount}",values:{amount:M,discount:b}}):(0,i.jsx)(u.A,{id:"BUY_AND_SAVE_UP_TO_DISCOUNT",defaultMessage:"Buy & Save Up To {discount}",values:{discount:b}})}),M&&C&&(0,i.jsxs)(l.A,{className:y.promoDescription,children:[D?g?h?(0,i.jsx)(u.A,{id:"ELIGIBLE_PRODUCTS",defaultMessage:"Spend {qualifyingAmount} on eligible products to save {discount}.",values:{discount:b,qualifyingAmount:x(M)}}):(0,i.jsx)("ul",{className:y.tieredDescription,children:g.tiers.map(e=>(0,i.jsx)("li",{children:(0,i.jsx)(u.A,{id:E.G[A.Er.Currency].multiTier.id,defaultMessage:E.G[A.Er.Currency].multiTier.defaultMessage,values:{promoDiscount:f(e.discount),promoQualifyingAmount:x(e.qualifyingAmount)}})},e.tier))}):null:g?h?(0,i.jsx)(u.A,{id:"BUY_AMOUNT_SAVE_DISCOUNT_DESCRIPTION",defaultMessage:"Buy {amount} or more eligible items to save {discount} off list price.",values:{amount:M,discount:b}}):(0,i.jsx)("ul",{className:y.tieredDescription,children:g.tiers.map(e=>(0,i.jsx)("li",{children:(0,i.jsx)(u.A,{id:E.G[A.Er.Quantity].multiTier.id,defaultMessage:E.G[A.Er.Quantity].multiTier.defaultMessage,values:{promoDiscount:f(e.discount),promoQualifyingAmount:e.qualifyingAmount}})},e.tier))}):null," ",(0,i.jsx)(u.A,{id:"SPEND_AND_SAVE_APPLY_DISCOUNT",defaultMessage:"Click “Apply Discount” in cart to redeem."})," ",(0,i.jsx)(u.A,{id:"WEB_ONLY_DISCOUNT",defaultMessage:"Web-Only Discount"})]}),(null==g?void 0:g.uuid)&&(0,i.jsx)(c.N,{href:D?_.qK.smsm(g.uuid):_.qK.bmsm(g.uuid),className:y.shopProductsLink,rel:"nofollow",onClick:()=>{O&&(0,m.sendProductDetailPromoEvent)({event:"select_promotion",component:"badge",promoPhrase:R,creativeName:P,product:O,materialNumber:v}),N&&(0,T.iA)({event:"select_promotion",component:"badge",promoPhrase:R,creativeName:P,cartItem:N})},children:(0,i.jsx)(u.A,{id:"SHOP_PRODUCTS",defaultMessage:"Shop Products"})})]})},v=(0,r.makeStyles)()(e=>({completedChip:{justifyContent:"flex-start","& .MuiChip-root":{backgroundColor:e.palette.promoGreen,paddingLeft:e.spacing(1),paddingRight:e.spacing(0),height:"26px"}},clickableChip:{"& .MuiChip-root":{cursor:"pointer"}},completedChipLabel:{fontSize:e.typography.pxToRem(12),fontWeight:e.typography.fontWeightMedium},tooltip:{backgroundColor:e.palette.common.white,width:e.typography.pxToRem(320),fontSize:e.typography.pxToRem(16),boxShadow:"0 4px 6px 0 rgba(0, 0, 0, 0.16)",padding:e.spacing(3,4),top:"16px"},tooltipWrapper:{display:"inline-block"},arrow:{color:e.palette.common.white,fontSize:e.typography.pxToRem(15),"&::before":{boxShadow:"0px 0px 2px rgba(0,0,0,0.2)"}}})),f=e=>(0,i.jsx)(d.Gr,{minimumFractionDigits:0,style:"percent",value:e/100}),O=e=>{var t,a,o,r;let{promoData:d,className:c,showTooltip:_=!1,materialNumber:p,product:m,cartItem:T}=e,{classes:E,cx:I}=v(),O=(null==d?void 0:d.tiers.length)===1,N=null!==(o=null==d?void 0:null===(t=d.topTier)||void 0===t?void 0:t.discount)&&void 0!==o?o:0,y=null!==(r=null==d?void 0:null===(a=d.topTier)||void 0===a?void 0:a.qualifyingAmount)&&void 0!==r?r:0,L=f(N),S=(0,i.jsx)(n.A,{label:(0,i.jsxs)(l.A,{className:E.completedChipLabel,children:[!O&&(0,i.jsx)(u.A,{id:"SAVE_UP_TO_DISCOUNT",defaultMessage:"Save Up To {discount}",values:{discount:L}}),O&&(null==d?void 0:d.qualifierType)===A.Er.Currency&&(0,i.jsx)(u.A,{id:"SPEND_AND_SAVE_DISCOUNT",defaultMessage:"Spend & Save {discount}",values:{discount:L}}),O&&(null==d?void 0:d.qualifierType)===A.Er.Quantity&&(0,i.jsx)(u.A,{id:"BUY_AMOUNT_SAVE_DISCOUNT",defaultMessage:"Buy {amount} Save {discount}",values:{amount:y,discount:L}})]}),className:I(E.completedChip,c,{[E.clickableChip]:_})});return(0,i.jsx)("div",{"data-testid":"promo-badge",children:_?(0,i.jsx)(s.A,{arrow:!0,classes:{tooltip:E.tooltip,arrow:E.arrow},placement:"top",title:(0,i.jsx)(g,{promoData:d,materialNumber:p,product:m,cartItem:T}),children:(0,i.jsx)("div",{className:E.tooltipWrapper,children:S})}):S})}},32667:(e,t,a)=>{a.d(t,{Bw:()=>i,Er:()=>n,Jy:()=>r,c5:()=>s,lJ:()=>o,or:()=>l});var i=function(e){return e.error="WIMS_AUTH_ERROR",e.success="WIMS_AUTH_SUCCESS",e}({}),o=function(e){return e.Filled="filled",e.Outlined="outlined",e}({}),r=function(e){return e.Default="default",e.Primary="primary",e.Secondary="secondary",e}({}),l=function(e){return e.Small="small",e.Medium="medium",e}({}),s=function(e){return e.BuySave="BUY_SAVE",e.SubscribeSave="SUBSCRIBE_SAVE",e.PercentOff="PERCENT_OFF",e}({}),n=function(e){return e.Quantity="QUANTITY",e.Currency="CURRENCY",e}({})},33081:(e,t,a)=>{a.d(t,{A:()=>n});var i=a(37876);a(14232);var o=a(18608),r=a(81225),l=a(99846);let s=(0,o.makeStyles)()((e,t)=>{let{size:a}=t;return{checkbox:{display:"flex",alignItems:"center",justifyContent:"center",height:"large"===a?e.typography.pxToRem(24):e.typography.pxToRem(20),width:"large"===a?e.typography.pxToRem(24):e.typography.pxToRem(20),fontSize:"large"===a?e.typography.pxToRem(16):e.typography.pxToRem(12),border:"solid 1px ".concat(e.palette.grey[500]),borderRadius:e.typography.pxToRem(3),transition:"all .3s","input:hover ~ &":{boxShadow:"0px 0px 0px 3px ".concat(e.palette.primary.light)}},checkboxFocusVisible:{"& .checkbox":{boxShadow:"0 0 6px 0 ".concat(e.palette.primary.main),border:"solid 1px ".concat(e.palette.primary.main)}},checkboxError:{border:"solid 2px ".concat(e.palette.error.main),"& svg":{color:e.palette.error.main}},checkmarkIcon:{fontSize:"large"===a?e.typography.pxToRem(16):e.typography.pxToRem(12)},inputDisabled:{borderColor:e.palette.grey[400],backgroundColor:e.palette.grey[400],"input:hover ~ &":{boxShadow:"none"}}}}),n=e=>{let{error:t,size:a="default",color:o="primary",name:n,id:d,testId:u="common-checkbox",value:c,disabled:_,checked:A,onChange:p,onBlur:m,inputProps:T,className:E,...I}=e,{classes:g,cx:v}=s({size:a});return(0,i.jsx)(l.A,{"data-testid":u,disabled:_,id:d,name:n,value:c,checked:A,onChange:p,onBlur:m,focusVisibleClassName:g.checkboxFocusVisible,inputProps:{"aria-describedby":t?"".concat(n,"-help-text"):void 0,"aria-disabled":_||void 0,...T},icon:(0,i.jsx)("div",{className:v(g.checkbox,{[g.checkboxError]:!!t,[g.inputDisabled]:_},E)}),checkedIcon:(0,i.jsx)("div",{className:v(g.checkbox,{[g.checkboxError]:!!t,[g.inputDisabled]:_},E),children:(0,i.jsx)(r.A,{"data-testid":"checkmark-icon",className:g.checkmarkIcon,fontSize:"inherit",color:_?"disabled":o})}),...I})}},36820:(e,t,a)=>{a.d(t,{J:()=>m,L:()=>p});var i=a(37876),o=a(14232),r=a(8733),l=a(68453),s=a(10046),n=a(64221),d=a(56557),u=a.n(d),c=a(85576),_=a(97963);let A=e=>{let t=new Date(e).toISOString().split("T")[0];return u()(t).diff(u()().startOf("d"),"d")},p=(e,t)=>{var a,i;let{brand:r,item:d,source:u,replacementProducts:p,pricing:m}=(0,o.useContext)(n.E)||{},{plantLoc:T,date:E,quantity:I}=t||{},g=null==t?void 0:null===(a=t.availabilityOverwriteMessage)||void 0===a?void 0:a.messageKey,v=null==t?void 0:null===(i=t.supplementaryMessage)||void 0===i?void 0:i.messageKey,f=(0,_.A)(m);(0,o.useEffect)(()=>{var t,a,i,o,n,_,m,O,N;if(!e||!d||!u)return;let y=f.current,L={event:"fs_availability_viewed",fs_item:"".concat(r,"|").concat(d)},S=(0,c.A)({fs_message:e,fs_lead_time_in_days:E?A(E):null,fs_warehouse:T,fs_quantity_checked:I,fs_source:u,fs_replacement_product_shown:null==p?void 0:p.map(e=>"".concat(e.brand.key,"|").concat(e.productNumber)).join(", "),fs_currency:null==y?void 0:y.currency,fs_listPriceCurrency:null==y?void 0:y.listPriceCurrency,fs_listPrice:(null==y?void 0:y.listPrice)||null,fs_netPrice:(null==y?void 0:y.netPrice)||null,fs_price:(null==y?void 0:y.price)||null,fs_productGroupSBU:null==y?void 0:y.productGroupSBU,fs_productHierarchy:null==y?void 0:y.productHierarchy,fs_promotionalMessage:null==y?void 0:null===(t=y.promotionalMessage)||void 0===t?void 0:t.messageKey,fs_disco_message:null==y?void 0:y.discoMessage,fs_supplementaryMessage:v||(null==y?void 0:null===(o=y.availabilities)||void 0===o?void 0:null===(i=o[0])||void 0===i?void 0:null===(a=i.supplementaryMessage)||void 0===a?void 0:a.messageKey)||(null==y?void 0:null===(n=y.supplementaryMessage)||void 0===n?void 0:n.messageKey),fs_availabilityOverwriteMessage:g||(null==y?void 0:null===(O=y.availabilities)||void 0===O?void 0:null===(m=O[0])||void 0===m?void 0:null===(_=m.availabilityOverwriteMessage)||void 0===_?void 0:_.messageKey)||(null==y?void 0:null===(N=y.availabilityOverwriteMessage)||void 0===N?void 0:N.messageKey)},e=>null!=e),h={...L,...S};(0,s.BI)({eventType:l.GTMEventTypes.AnalyticsEvent,payload:h})},[r,d,u,E,e,T,I,p,f,v,g])},m=e=>{let{id:t,defaultMessage:a,values:l,availability:s,children:d}=e,u=(0,o.useRef)(null),{waitUntilVisible:c}=(0,o.useContext)(n.E)||{},[_,A]=(0,o.useState)(!c);return p(_?t:"",s),(0,o.useEffect)(()=>{if(!u.current)return;let e=new IntersectionObserver(t=>{t.some(e=>e.isIntersecting)&&(A(!0),e.disconnect())});return e.observe(u.current),()=>e.disconnect()},[]),(0,i.jsxs)(i.Fragment,{children:[c&&(0,i.jsx)("span",{ref:u}),(0,i.jsx)(r.A,{id:t,defaultMessage:a,values:l,children:d})]})}},37309:(e,t,a)=>{a.d(t,{B9:()=>d,C4:()=>u,I4:()=>c,dz:()=>_,jr:()=>l,k3:()=>s,yk:()=>n});var i=a(36927),o=a(77742),r=a(21834);let l=e=>(t,a)=>{try{e.validateSync(t,a);return}catch(e){return e.message}},s=function(){for(var e=arguments.length,t=Array(e),a=0;at.reduce((t,i)=>t||i(e,a),void 0)},n=e=>!!e&&RegExp("\\p{Extended_Pictographic}","u").test(e),d=e=>!e||RegExp("(^[a-zA-Z0-9]+[a-zA-Z0-9-_.&']*@(?:[a-zA-Z0-9-]*[a-zA-Z0-9]+\\.)+[a-zA-Z]{1,}$)").test(e),u=e=>{if(!e)return!0;let t=RegExp("^[0-9-()+\\- ]*$");return!(e.trim().length<4)&&t.test(e)},c=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!!t&&!e||RegExp("^1[3456789]\\d{9}$").test(e||"")},_=()=>{let e=(0,o.A)(),t=i.Yj().trim().email(e.formatMessage(r.default.EMAIL_MUST_BE_VALID)).max(241,e.formatMessage(r.default.MAX_241_CHARACTERS)),a=i.Yj().trim().test("validateEmail","Invalid Email",e=>d(e)).required(e.formatMessage({id:"REQUIRED",defaultMessage:"Required"})).max(241,e.formatMessage(r.default.MAX_241_CHARACTERS)),s=i.Yj().trim().required(e.formatMessage(r.default.USERNAME_REQUIRED)),_=i.Yj().trim().matches(/^$|(?:[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,})(?:,\s*[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,})*$/,e.formatMessage(r.default.EMAIL_MUST_BE_VALID)).max(241,e.formatMessage(r.default.MAX_241_CHARACTERS)),A=i.Yj().trim().required(e.formatMessage({id:"REQUIRED",defaultMessage:"Required"})),p=i.Yj().trim().max(20,e.formatMessage(r.default.MAX_20_CHARACTERS)).matches(/^[0-9()-]*$/,e.formatMessage(r.default.NUMERIC_PHONE)).required(e.formatMessage({id:"REQUIRED",defaultMessage:"Required"})),m=i.Yj().trim().max(20,e.formatMessage(r.default.MAX_20_CHARACTERS)).test("validatePhoneWithSpaces",e.formatMessage(r.default.PHONE_FAX_NO_HELP_MSG),e=>u(e)).required(e.formatMessage({id:"REQUIRED",defaultMessage:"Required"})),T=i.Yj().max(20,e.formatMessage(r.default.MAX_20_CHARACTERS)).test("validatePhoneWithSpaces",e.formatMessage(r.default.PHONE_FAX_NO_HELP_MSG),e=>u(e)),E=i.Yj().max(20,e.formatMessage(r.default.MAX_20_CHARACTERS)).test("validatePhoneWithSpaces",e.formatMessage(r.default.PHONE_FAX_NO_HELP_MSG),e=>u(e)),I=i.Yj().max(10,e.formatMessage(r.default.MAX_10_CHARACTERS)).matches(/^[0-9()-]*$/,e.formatMessage(r.default.NUMERIC_PHONE)).test("atLeastTwoNumbers",e.formatMessage(r.default.MIN_2_NUMBERS),e=>(null==e?void 0:e.length)!==1),g=i.Yj().max(10,e.formatMessage(r.default.MAX_10_CHARACTERS)).matches(/^[0-9()-\s]*$/,e.formatMessage(r.default.NUMERIC_PHONE_WITH_SPACE)).test("atLeastTwoNumbers",e.formatMessage(r.default.MIN_2_NUMBERS),e=>(null==e?void 0:e.length)!==1),v=i.Yj().test("min-4-digits","Phone number must have at least 4 digits",e=>{let t=(e||"").replace(/\D/g,"");return 0===t.length||t.length>=4}).required("Required"),f=i.Yj().max(20,e.formatMessage(r.default.MAX_20_CHARACTERS)).matches(/^[0-9()-]*$/,e.formatMessage(r.default.NUMERIC_FAX)),O=i.Yj().max(20,e.formatMessage(r.default.MAX_20_CHARACTERS)).test("validatePhoneWithSpaces",e.formatMessage(r.default.PHONE_FAX_NO_HELP_MSG),e=>u(e)),N=i.Yj().max(16,e.formatMessage(r.default.MAX_16_CHARACTERS)).matches(/^[0-9()-]*$/,e.formatMessage(r.default.NUMERIC_MOBILE)),y=i.Yj().test("validChinaMobileNumber",e.formatMessage(r.default.MOBILE_FORMAT_INVALID),e=>c(e)),L=i.Yj().max(16,e.formatMessage(r.default.MAX_16_CHARACTERS)).test("validatePhoneWithSpaces",e.formatMessage(r.default.PHONE_FAX_NO_HELP_MSG),e=>u(e)),S=i.Yj().matches(/^[0-9]*$/,e.formatMessage(r.default.NUMBERS_ONLY)),h=i.Yj().matches(/^[0-9a-zA-Z]*$/,e.formatMessage(r.default.ALPHANUMERIC_ONLY)),C=i.Yj().matches(/^[0-9]+(\.[0-9]{1,2})?$/,e.formatMessage(r.default.PLEASE_ENTER_VALID_AMOUNT)).test("equalToOrGreaterThanOne",e.formatMessage(r.default.PLEASE_ENTER_VALID_AMOUNT),e=>Number(e)>=1),M=t=>i.Yj().min(t,e.formatMessage(r.default.MIN_N_CHARACTERS,{min:t})),D=t=>i.Yj().max(t,e.formatMessage(r.default.MAX_N_CHARACTERS,{max:t})),R=i.p6().max(new Date(Date.UTC(9999,1)),e.formatMessage(r.default.EXP_YEAR_MUST_BE_4_DIGITS)).min(new Date,e.formatMessage(r.default.EXP_DATE_CANNOT_BE_IN_PAST)).required(e.formatMessage({id:"REQUIRED",defaultMessage:"Required"})),P=i.Yj().test("emojiTest",e.formatMessage({id:"EMOJI_NOT_SUPPORTED",defaultMessage:" Emojis are not supported"}),e=>!n(e)),x=i.Yj().test("half-width",e.formatMessage(r.default.HALF_WIDTH_CHARACTERS_ONLY),e=>!e||/^[\u0020-\u007E]*$/.test(e));return{email:l(t),ccEmail:l(_),requiredEmail:l(a),requiredUserName:l(s),requiredPhone:l(p),requiredPhoneWithSpaces:l(m),required:l(A),phone:l(T),phoneWithSpaces:l(E),extension:l(I),extensionWithSpaces:l(g),phoneSchema:l(v),fax:l(f),faxWithSpaces:l(O),mobile:l(N),mobileWithSpaces:l(L),mobileChinaUser:l(y),numeric:l(S),alphanumeric:l(h),floatToTwoDecimalPlaces:l(C),minLength:e=>l(M(e)),maxLength:e=>l(D(e)),futureDateRequired:l(R),hasNoEmojis:l(P),halfWidthChars:l(x),rawYupSchema:{email:t,ccEmail:_,requiredEmail:a,requiredUserName:s,requiredPhone:p,requiredPhoneWithSpaces:m,required:A,phone:T,phoneWithSpaces:E,extension:I,extensionWithSpaces:g,phoneSchema:v,fax:f,faxWithSpaces:O,mobile:N,mobileWithSpaces:L,mobileChinaUser:y,numeric:S,alphanumeric:h,floatToTwoDecimalPlaces:C,minLength:M,maxLength:D,futureDateRequired:R,hasNoEmojis:P,halfWidthChars:x}}}},42919:(e,t,a)=>{a.d(t,{A:()=>d});var i=a(37876);a(14232);var o=a(18608),r=a(16298),l=a(83198),s=a(45756);let n=(0,o.makeStyles)()(e=>({root:{color:e.palette.grey[100],fontSize:e.typography.pxToRem(14),margin:e.spacing(2,0,0)},messageIcon:{fontSize:e.typography.pxToRem(14)},messageText:{marginLeft:e.spacing(1),marginTop:"1px",fontWeight:e.typography.fontWeightRegular}})),d=e=>{let{children:t,error:a,className:o,style:d,id:u}=e,{classes:c}=n();return(0,i.jsx)(r.A,{id:u,classes:{root:c.root},error:a,className:o,style:d,children:a?(0,i.jsx)(e=>{let{children:t}=e;return(0,i.jsxs)(s.A,{component:"span",display:"flex",children:[(0,i.jsx)(l.A,{classes:{root:c.messageIcon}}),(0,i.jsx)(s.A,{component:"span",className:c.messageText,children:t})]})},{children:t}):t})}},46044:(e,t,a)=>{a.d(t,{Ay:()=>g,_N:()=>E});var i=a(37876),o=a(14232),r=a(45756),l=a(77018),s=a(62222),n=a(8733),d=a(35967),u=a(21990),c=a(89996),_=a(32667),A=a(48019),p=a(35152),m=a(18608),T=a(92573);let E={[_.Er.Quantity]:"buy more save more",[_.Er.Currency]:"spend more save more",[_.c5.PercentOff]:"percent off",[_.c5.BuySave]:"",[_.c5.SubscribeSave]:""},I=(0,m.makeStyles)()(e=>({promoBox:{borderLeft:"".concat(e.spacing(2.5)," solid ").concat(e.palette.promoGreen),borderRadius:e.spacing(.5),boxShadow:"".concat(e.spacing(0,0,1.5,0)," ").concat(e.palette.grey[400]),display:"flex",flexDirection:"column",gap:e.spacing(1),padding:e.spacing(4,2,4,6)},wrapperBox:{alignItems:"center",display:"flex"},promoCta:{fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(16)},promoDisclaimer:{fontWeight:e.typography.fontWeightRegular,fontSize:e.typography.pxToRem(14),paddingRight:e.spacing(1)},shopProductsLink:{fontWeight:e.typography.fontWeightBold},asterisk:{padding:0,fontSize:e.typography.pxToRem(16),fontWeight:e.typography.fontWeightBold,color:e.palette.primary.main,cursor:"pointer"},modalBody:{fontSize:e.typography.pxToRem(16),lineHeight:e.typography.pxToRem(24)},savingsIcon:{color:e.palette.rich.green,fontSize:e.typography.pxToRem(24),marginRight:e.spacing(2)}})),g=e=>{var t,a;let{promoData:m,promoTerms:g,materialNumber:v,product:f}=e,{classes:O}=I(),[N,y]=(0,o.useState)(!1),L=null==m?void 0:m.qualifierType,S=(null==m?void 0:m.promoType)===_.c5.BuySave,h=L===_.Er.Currency,C=(null==m?void 0:m.promoType)===_.c5.PercentOff,M=null==m?void 0:m.discount,D=h||C,R=(null==m?void 0:m.uuid)||"",P=C?"save ".concat(M,"%"):"".concat(h?"spend":"buy"," ").concat(null==m?void 0:null===(t=m.firstTier)||void 0===t?void 0:t.qualifyingAmount," save ").concat(null==m?void 0:null===(a=m.firstTier)||void 0===a?void 0:a.discount,"%"),x=()=>E[C?_.c5.PercentOff:L],b=L?1===m.tiers.length?T.G[L].singleTier:T.G[L].multiTier:null;(0,o.useEffect)(()=>{g&&f&&(0,p.sendProductDetailPromoEvent)({event:"view_promotion",component:"banner",promoPhrase:x(),creativeName:P,product:f,materialNumber:v})},[g,v]);let U=()=>C?c.qK.percentOff(R):S?h?c.qK.smsm(R):c.qK.bmsm(R):c.qK.index();return(0,i.jsxs)(r.A,{className:O.promoBox,"data-testid":"promo-box",children:[(0,i.jsx)(r.A,{className:O.wrapperBox,children:(0,i.jsxs)(i.Fragment,{children:[D&&(0,i.jsx)(A.A,{className:O.savingsIcon}),(0,i.jsxs)(l.A,{className:O.promoCta,variant:"body2","data-testid":"promo-cta",children:[C&&M&&(0,i.jsx)(n.A,{id:"SUBSCRIPTION_SAVE_MESSAGE",defaultMessage:"Save {discount}% off list price",values:{discount:M}}),S&&b&&m.tiers.map((e,t)=>{var a,r,l,s;return(0,i.jsxs)(o.Fragment,{children:[(0,i.jsx)(n.A,{id:b.id,defaultMessage:b.defaultMessage,values:{promoDiscount:(0,i.jsx)(d.Gr,{minimumFractionDigits:0,style:"percent",value:(null!==(a=null==e?void 0:e.discount)&&void 0!==a?a:0)/100}),promoQualifyingAmount:h?(0,i.jsx)(d.Gr,{currency:null!==(r=null==m?void 0:m.currency)&&void 0!==r?r:"USD",maximumFractionDigits:0,minimumFractionDigits:0,style:"currency",value:null!==(l=null==e?void 0:e.qualifyingAmount)&&void 0!==l?l:0}):null!==(s=null==e?void 0:e.qualifyingAmount)&&void 0!==s?s:0}}),t{y(!0)},children:"*"})]})]})}),(0,i.jsxs)(r.A,{className:O.wrapperBox,children:[(0,i.jsxs)(l.A,{className:O.promoDisclaimer,variant:"body2",children:[S&&(0,i.jsx)(n.A,{id:"PROMO_BOX_APPLY_DISCOUNT",defaultMessage:"Apply discount in cart."}),C&&(0,i.jsx)(n.A,{id:"PROMO_BOX_USE_CODE_IN_CART",defaultMessage:"Use code {promoCode} in cart.",values:{promoCode:null==m?void 0:m.promoCode,b:e=>(0,i.jsx)("strong",{children:e})}})," ",(0,i.jsx)(n.A,{id:"PROMO_BOX_OFFERS_NOT_COMBINABLE",defaultMessage:"Offers cannot be combined."})," ",(0,i.jsx)(s.N,{href:U(),className:O.shopProductsLink,rel:"nofollow",onClick:()=>{f&&(0,p.sendProductDetailPromoEvent)({event:"select_promotion",component:"banner",promoPhrase:x(),creativeName:P,product:f,materialNumber:v})},children:(0,i.jsx)(n.A,{id:"SHOP_PRODUCTS",defaultMessage:"Shop Products"})})]}),(0,i.jsx)(u.Ay,{"data-testid":"smsm-promo-terms-modal",size:u.Ih.Small,renderTitle:()=>(0,i.jsx)(l.A,{variant:"h2",component:"h2",children:(0,i.jsx)(n.A,{id:"PROMOTION_TERMS",defaultMessage:"Promotion Terms"})}),open:N,onClose:()=>y(!1),children:(0,i.jsx)(u.Uh,{className:O.modalBody,children:(0,i.jsx)(n.A,{id:"SMSM_PROMO_TERMS",defaultMessage:"Valid for web orders placed by {validTo}. This promotional discount only applies to products listed on the {link} page. Discount is calculated off of list price and cannot be combined with other offers. Exclusions and restrictions may apply. Purchase requirement is calculated before tax and shipping. Upon redemption of a promotion, organizational & contract pricing will override the promotion if lower. Your order will reflect the best eligible price.",values:{validTo:(0,i.jsx)(d.XU,{value:(null==m?void 0:m.validTo)?new Date(m.validTo):"",year:"numeric",month:"long",day:"numeric"}),link:(0,i.jsx)(s.N,{href:U(),children:(0,i.jsx)(n.A,{id:"PROMOTION",defaultMessage:"Promotion"})})}})})})]})]})}},48019:(e,t,a)=>{a.d(t,{A:()=>r});var i=a(37876),o=a(49923);let r=e=>(0,i.jsxs)(o.A,{...e,nativeViewbox:"0 0 28 28",children:[(0,i.jsx)("path",{fill:"#FFFFFF",d:"M3.74,6.54c-0.72,0-1.31,0.58-1.31,1.29v12.34c0,0.71,0.59,1.29,1.31,1.29h15.32c0.39,0,0.76-0.17,1.01-0.47 l5.2-6.17c0.4-0.47,0.4-1.16,0-1.64l-5.2-6.17c-0.25-0.3-0.62-0.47-1.01-0.47C19.06,6.54,3.74,6.54,3.74,6.54z"}),(0,i.jsx)("circle",{cx:21.71,cy:14,r:1.03}),(0,i.jsx)("path",{d:"M19.06,23H3.74c-1.57,0-2.85-1.27-2.85-2.83V7.83C0.89,6.27,2.17,5,3.74,5h15.32c0.85,0,1.64,0.37,2.19,1.01l5.2,6.17 c0.89,1.05,0.89,2.58,0,3.63l-5.2,6.17c-0.54,0.64-1.34,1.01-2.19,1.01V23z M3.74,6.54c-0.72,0-1.31,0.58-1.31,1.29v12.34 c0,0.71,0.59,1.29,1.31,1.29h15.32c0.39,0,0.76-0.17,1.01-0.47l5.2-6.17c0.4-0.47,0.4-1.16,0-1.64l-5.2-6.17 c-0.25-0.3-0.62-0.47-1.01-0.47C19.06,6.54,3.74,6.54,3.74,6.54z"}),(0,i.jsx)("path",{d:"M7.74,18.37c-0.17,0-0.35-0.07-0.48-0.2c-0.27-0.27-0.27-0.7,0-0.96l7.38-7.38c0.27-0.27,0.7-0.27,0.96,0s0.27,0.7,0,0.96 l-7.38,7.38C8.09,18.3,7.91,18.37,7.74,18.37z"}),(0,i.jsx)("path",{d:"M9.99,10.92c-0.1-0.27-0.25-0.5-0.43-0.69C9.37,10.04,9.15,9.89,8.9,9.78C8.64,9.67,8.36,9.62,8.06,9.62 S7.48,9.67,7.23,9.78s-0.47,0.25-0.66,0.45c-0.19,0.19-0.33,0.42-0.43,0.69s-0.16,0.57-0.16,0.9s0.05,0.61,0.16,0.87 s0.25,0.49,0.43,0.68c0.19,0.19,0.4,0.34,0.66,0.44c0.25,0.1,0.53,0.16,0.83,0.16c0.28,0,0.54-0.05,0.79-0.16 c0.25-0.1,0.48-0.25,0.67-0.44c0.19-0.19,0.35-0.42,0.46-0.68s0.17-0.55,0.17-0.87S10.1,11.19,9.99,10.92z M8.67,12.3 c-0.03,0.13-0.08,0.23-0.14,0.3c-0.06,0.08-0.13,0.13-0.21,0.16s-0.17,0.05-0.27,0.05s-0.18-0.02-0.26-0.05 c-0.08-0.03-0.15-0.09-0.2-0.16c-0.06-0.08-0.1-0.18-0.13-0.3c-0.03-0.13-0.05-0.29-0.05-0.48c0-0.2,0.02-0.37,0.05-0.51 c0.03-0.13,0.08-0.24,0.13-0.32c0.06-0.08,0.12-0.14,0.2-0.17s0.17-0.05,0.26-0.05s0.18,0.02,0.27,0.05s0.15,0.09,0.21,0.17 s0.11,0.19,0.14,0.32c0.03,0.13,0.05,0.3,0.05,0.51C8.72,12.01,8.7,12.17,8.67,12.3z"}),(0,i.jsx)("path",{d:"M16.73,15.32c-0.1-0.27-0.25-0.5-0.43-0.69c-0.19-0.19-0.41-0.34-0.66-0.45c-0.26-0.11-0.54-0.16-0.84-0.16 s-0.58,0.05-0.83,0.16s-0.47,0.25-0.66,0.45c-0.19,0.19-0.33,0.42-0.43,0.69s-0.16,0.57-0.16,0.9s0.05,0.61,0.16,0.87 s0.25,0.49,0.43,0.68c0.19,0.19,0.4,0.34,0.66,0.44c0.25,0.1,0.53,0.16,0.83,0.16c0.28,0,0.54-0.05,0.79-0.16 c0.25-0.1,0.48-0.25,0.67-0.44c0.19-0.19,0.35-0.42,0.46-0.68s0.17-0.55,0.17-0.87S16.84,15.59,16.73,15.32z M15.41,16.7 c-0.03,0.13-0.08,0.23-0.14,0.3c-0.06,0.08-0.13,0.13-0.21,0.16s-0.17,0.05-0.27,0.05s-0.18-0.02-0.26-0.05 c-0.08-0.03-0.15-0.09-0.2-0.16c-0.06-0.08-0.1-0.18-0.13-0.3c-0.03-0.13-0.05-0.29-0.05-0.48c0-0.2,0.02-0.37,0.05-0.51 c0.03-0.13,0.08-0.24,0.13-0.32c0.06-0.08,0.12-0.14,0.2-0.17s0.17-0.05,0.26-0.05s0.18,0.02,0.27,0.05s0.15,0.09,0.21,0.17 s0.11,0.19,0.14,0.32c0.03,0.13,0.05,0.3,0.05,0.51C15.46,16.41,15.44,16.57,15.41,16.7z"})]})},57735:(e,t,a)=>{a.d(t,{CC:()=>A,NQ:()=>u,RH:()=>d,Sm:()=>c,ds:()=>_});var i=a(68453),o=a(64183),r=a(10046),l=a(56951),s=a(35152),n=a(4055);l.WX.BuyItAgain,l.WX.CustomersAlsoViewed,l.WX.FrequentlyPurchased,l.WX.Recently,l.WX.RecentlyHomepage,l.WX.Recommended,l.WX.RecommendedProducts,l.WX.Featured,l.WX.Related,l.WX.CartRecommendedProducts,l.WX.CompareSimilarItems,l.WX.BestSellers,l.WX.ProductHeroCard,l.WX.PopularProducts,l.WX.NewArrivals,l.WX.BuyAgainHomepage,l.WX.DiscountedProducts,l.WX.NewArrivalProducts,l.WX.RecentlyViewedProducts;let d=e=>{var t,a;let{product:i,materialNumber:o,cta:l}=e,s=(null==l?void 0:l.type)==="more information"?"more_info":null==l?void 0:l.type.split(" ").join("_"),n={event:"begin_".concat(s,"_request"),action:void 0,detail:void 0,section:"pricing card",component:"right rail",element_text:null==l?void 0:l.label.toLowerCase(),element_type:"link",link_url:null==l?void 0:l.url,core_event:"yes",user_detail:void 0,event_group:void 0,event_subgroup:void 0,product_id:null===(t=i.productNumber)||void 0===t?void 0:t.toLowerCase(),product_brand:null===(a=i.brand)||void 0===a?void 0:a.key.toLowerCase(),product_variant:null==o?void 0:o.toLowerCase()};(0,r.BI)({payload:n})},u=e=>{var t,a,i,o;let{action:l,detail:s,section:n,component:d,elementType:u,elementText:c,linkUrl:_,product:A}=e,p={event:"pricing_availability_interaction",action:l,detail:s,section:(null==n?void 0:n.toLowerCase())||void 0,component:d,element_type:u,element_text:c,link_url:_||void 0,core_event:"no",user_detail:void 0,event_group:void 0,event_subgroup:void 0,product_id:(null==A?void 0:null===(t=A.productNumber)||void 0===t?void 0:t.toLowerCase())||void 0,product_variant:(null==A?void 0:null===(a=A.productVariant)||void 0===a?void 0:a.toLowerCase())||void 0,product_brand:(null==A?void 0:null===(i=A.brandKey)||void 0===i?void 0:i.toLowerCase())||void 0,product_name:null==A?void 0:null===(o=A.productName)||void 0===o?void 0:o.replace(r.Eu,"").replace(r.kV,"").replace(r.ZK,"").replace(r.P," ").toLowerCase()};(0,r.BI)({payload:p})},c=e=>{var t,a,i,o;let{action:l,detail:s,section:n,component:d,elementType:u,elementText:c,material:_,gaType:A}=e,p={event:"pricing_availability_interaction",action:l,detail:s,gaType:A,section:(null==n?void 0:n.toLowerCase())||void 0,component:d,element_type:u,element_text:c,link_url:void 0,core_event:"no",user_detail:void 0,event_group:void 0,event_subgroup:void 0,product_id:null==_?void 0:null===(t=_.product)||void 0===t?void 0:t.toLowerCase(),product_variant:(null==_?void 0:null===(a=_.materialNumber)||void 0===a?void 0:a.toLowerCase())||void 0,product_brand:null==_?void 0:null===(i=_.brand)||void 0===i?void 0:i.toLowerCase(),product_name:null==_?void 0:null===(o=_.materialDescription)||void 0===o?void 0:o.replace(r.Eu,"").replace(r.kV,"").replace(r.ZK,"").replace(r.P," ").toLowerCase()};(0,r.BI)({payload:p})},_=(e,t,a,i,l)=>{let s=t?(0,o.Mw)(t).errors[0]:void 0,d=(null==s?void 0:s.code)&&n.A[s.code]?n.A[s.code]:a?n.A[a]:n.A.PRICING_AND_AVAILABILITY_UNAVAILABLE,u={event:"exception",description:(null==d?void 0:d.defaultMessage.replace(r.Sr," ").toLowerCase())||void 0,error_category:"p&a errors",product_id:e.toLowerCase(),product_name:(null==l?void 0:l.replace(r.Eu,"").replace(r.kV,"").replace(r.ZK,"").toLowerCase())||void 0,product_brand:(null==i?void 0:i.toLowerCase())||void 0};(0,r.BI)({payload:u})},A=(e,t)=>{let a=Object.keys(e)||[];if(!(null==a?void 0:a.length))return;let o=a.map(t=>{var a,o;let l=(null===(a=e[t])||void 0===a?void 0:a.errorMsg)==="PRICING_AND_AVAILABILITY_UNAVAILABLE"?"THIS_PRODUCT_NUMBER_DOES_NOT_EXIST":(null===(o=e[t])||void 0===o?void 0:o.errorMsg)||i.EventValues.Empty;return(n.A[l]?"".concat(t," - ").concat(n.A[l].defaultMessage):"invalid product number").replace(r.Sr," ")||i.EventValues.Empty}),l=null==t?void 0:t.map(e=>null==e?void 0:e.product).filter(Boolean).join(" | "),d=null==t?void 0:t.map(e=>null==e?void 0:e.number).filter(Boolean).join(" | "),u=null==t?void 0:t.map(e=>null==e?void 0:e.brand.key).filter(Boolean).join(" | "),c=null==t?void 0:t.map(e=>null==e?void 0:e.name).filter(Boolean).join(" | ");(0,s.sendErrorEvent)({description:(null==o?void 0:o.join(" | "))||void 0,errorCategory:"p&a errors",productId:l,productVariant:d,productBrand:u,productName:c})}},63158:(e,t,a)=>{a.d(t,{QA:()=>i,Wt:()=>u,ib:()=>r,jp:()=>d,qE:()=>o,uB:()=>l,vd:()=>n,yC:()=>s});let i=e=>{var t,a,i,o,r,l;let s=null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.terms;if(!s)return null;let n=null!==(o=s.tiers)&&void 0!==o?o:[],d=n[0],u=n[n.length-1];return n.length>0?{promoType:s.promoType,promoCode:s.promoCode,qualifierType:s.qualifierType,currency:s.currency,validFrom:s.validFrom,validTo:s.validTo,uuid:null===(r=e.data)||void 0===r?void 0:r.uuid,hidePromoDetailsForAnonUser:null===(l=e.data)||void 0===l?void 0:l.hidePromoDetailsForAnonUser,tiers:n,firstTier:d,topTier:u}:{promoType:s.promoType,promoCode:s.promoCode,qualifierType:s.qualifierType,currency:s.currency,validFrom:s.validFrom,validTo:s.validTo,uuid:null===(a=e.data)||void 0===a?void 0:a.uuid,hidePromoDetailsForAnonUser:null===(i=e.data)||void 0===i?void 0:i.hidePromoDetailsForAnonUser,discount:s.discount,tiers:[],firstTier:void 0,topTier:void 0}},o=(e,t,a)=>Math.min(Math.max(e,t),a),r=(e,t)=>{let a=-1;for(let r=0;r=(null!==(o=null===(i=e[r])||void 0===i?void 0:i.qualifyingAmount)&&void 0!==o?o:0)&&(a=r)}return a},l=(e,t)=>{let a=t+1;return a>=0&&aMath.max(0,e-t),n=(e,t)=>t>=e.length-1,d=e=>{var t,a,i;return e.tiers.length?null!==(a=null===(t=e.topTier)||void 0===t?void 0:t.discount)&&void 0!==a?a:0:null!==(i=e.discount)&&void 0!==i?i:0},u=e=>{if(e.tiers.length){var t,a;return null!==(a=null===(t=e.firstTier)||void 0===t?void 0:t.qualifyingAmount)&&void 0!==a?a:0}return 0}},64221:(e,t,a)=>{a.d(t,{E:()=>o,M:()=>r});var i=a(37876);let o=(0,a(14232).createContext)(null),r=e=>{let{children:t,...a}=e;return(0,i.jsx)(o.Provider,{value:a,children:t})}},71201:(e,t,a)=>{a.d(t,{rI:()=>d});var i=a(28888);a(37876);var o=a(82897);a(14232);var r=a(54431);function l(){let e=(0,i._)(["\n query GetSubscriptionFrequencies {\n subscriptionFrequencies\n}\n "]);return l=function(){return e},e}let s={},n=(0,o.J1)(l());function d(e){let t={...s,...e};return r.IT(n,t)}},74178:(e,t,a)=>{a.d(t,{A:()=>n});var i=a(37876),o=a(18608),r=a(3770);let l=(0,o.makeStyles)()(()=>({chipWrapper:{display:"flex",justifyContent:"flex-end"}})),s=(0,o.withStyles)(r.A,e=>({root:{backgroundColor:e.palette.background.grey,paddingRight:e.spacing(1),paddingLeft:e.spacing(2)},label:{fontSize:e.typography.pxToRem(14),paddingLeft:e.spacing(2),[e.breakpoints.down("md")]:{fontSize:e.typography.pxToRem(12)}}})),n=e=>{let{label:t,icon:a,className:o}=e,{classes:r,cx:n}=l();return(0,i.jsx)("div",{className:n(r.chipWrapper,o),children:(0,i.jsx)(s,{label:t,avatar:(0,i.jsx)(i.Fragment,{children:a})})})}},78851:(e,t,a)=>{a.d(t,{Ay:()=>m,Qs:()=>p,R$:()=>_,Rp:()=>n,bJ:()=>A});var i=a(14232),o=a(30566),r=a(6995),l=a(15815),s=a(97471),n=function(e){return e.XS="xs",e.SM="sm",e.MD="md",e.LG="lg",e.XL="xl",e}({});let d=["xl","lg","md","sm","xs"],u=()=>{let e=(0,o.A)();return{xs:(0,r.A)(e.breakpoints.up("xs")),sm:(0,r.A)(e.breakpoints.up("sm")),md:(0,r.A)(e.breakpoints.up("md")),lg:(0,r.A)(e.breakpoints.up("lg")),xl:(0,r.A)(e.breakpoints.up("xl"))}},c=(e,t)=>(0,l.A)(d,a=>!(0,s.A)(e[a])&&t[a])||"xs",_=()=>{let e=u();return t=>{let a=c(t,e);return t[a]||0}},A=(e,t,a)=>{let[o,r]=(0,i.useState)(a),l=c(e,u());return(0,i.useEffect)(()=>{r(e[l])},[l]),t[o||a]},p=()=>{let e=(0,o.A)(),t=(0,r.A)(e.breakpoints.down("md")),a=(0,r.A)(e.breakpoints.between("md","lg"));return{isMobile:t,isTablet:a,isDesktop:(0,r.A)(e.breakpoints.up("lg")),isLargeDesktop:(0,r.A)(e.breakpoints.up("xl"))}},m=()=>{let e=u();return t=>{let a=c(t,e);return t[a]||0}}},81225:(e,t,a)=>{a.d(t,{A:()=>r});var i=a(37876),o=a(49923);let r=e=>(0,i.jsx)(o.A,{...e,nativeViewbox:"0 0 20 14",children:(0,i.jsx)("path",{d:"M7.318 14a1.563 1.563 0 01-1.132-.488L.447 7.482A1.644 1.644 0 01.477 5.2a1.558 1.558 0 012.234.03l4.651 4.887L17.335.445a1.55 1.55 0 012.232.061 1.64 1.64 0 01-.06 2.282L8.4 13.556A1.553 1.553 0 017.318 14z"})})},81781:(e,t,a)=>{a.d(t,{A:()=>i.A});var i=a(91894)},91894:(e,t,a)=>{a.d(t,{A:()=>r});var i=a(37876);a(14232);let o=(0,a(18608).makeStyles)()(e=>({loaderBackground:{position:"fixed",top:0,bottom:0,left:0,right:0,zIndex:1e3,backgroundColor:"white",opacity:.75,pointerEvents:"none"},loaderWrapper:{position:"fixed",top:0,bottom:0,left:0,right:0,zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center"},loaderWrapperWithMessage:{position:"fixed",top:-150,bottom:0,left:0,right:0,zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"},message:{position:"fixed",top:450,bottom:0,left:0,right:0,zIndex:1,display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column","& div":{fontSize:e.typography.pxToRem(20),fontWeight:e.typography.fontWeightBold,color:e.palette.grey[500],maxWidth:e.spacing(130),minHeight:e.spacing(50),textAlign:"center"}},loaderImg:{width:"400px",display:"flex",alignItems:"center",justifyContent:"center"}})),r=e=>{let{message:t,messageStyleOverride:a}=e,{classes:r,cx:l}=o();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:r.loaderBackground}),(0,i.jsxs)("div",{className:t?r.loaderWrapperWithMessage:r.loaderWrapper,children:[(0,i.jsx)("img",{className:r.loaderImg,alt:"",src:"/static/loading.gif"}),t&&(0,i.jsx)("div",{className:l(r.message,a),children:t})]})]})}},92573:(e,t,a)=>{a.d(t,{G:()=>i});let i={QUANTITY:{singleTier:{id:"BUY_TO_SAVE_SINGLE_TIER",defaultMessage:"Buy {promoQualifyingAmount} or more items, save {promoDiscount} off list price"},multiTier:{id:"BUY_TO_SAVE_MULTI_TIER",defaultMessage:"Buy {promoQualifyingAmount} — Save {promoDiscount}"}},CURRENCY:{singleTier:{id:"SPEND_TO_SAVE_SINGLE_TIER",defaultMessage:"Spend {promoQualifyingAmount} to save {promoDiscount} off list price"},multiTier:{id:"SPEND_TO_SAVE_MULTI_TIER",defaultMessage:"Spend {promoQualifyingAmount} — Save {promoDiscount}"}}}},94819:(e,t,a)=>{a.d(t,{A:()=>s});var i=a(37876);a(14232);var o=a(18608),r=a(45756);let l=(0,o.makeStyles)()(e=>({loading:{borderRadius:e.shape.borderRadius/2,background:"linear-gradient(to right, ".concat(e.palette.grey[200],", ").concat(e.palette.grey[200]," 25%, #f3f3f3, ").concat(e.palette.grey[200]," 75%, ").concat(e.palette.grey[200],")"),backgroundSize:"200% 200%",backgroundPositionX:"100%",animation:"$animation 2s ease-out infinite",animationDirection:"normal",animationDelay:"1s",[e.breakpoints.up("sm")]:{borderRadius:e.shape.borderRadius}},"@keyframes animation":{"0%":{backgroundPositionX:"100%"},"50%":{backgroundPositionX:"0%"},"100%":{backgroundPositionX:"100%"}}})),s=e=>{let{className:t,style:a,...o}=e,{classes:s,cx:n}=l();return(0,i.jsx)(r.A,{className:n(s.loading,t),style:a,...o})}},97826:(e,t,a)=>{a.d(t,{A:()=>d});var i=a(37876);a(14232);var o=a(69241),r=a(78206),l=a(22838),s=a(8133),n=a(42919);let d=e=>{let{rootClass:t,rootStyle:a,size:d="medium",field:u,form:c,label:_,required:A,help:p,style:m,helpStyle:T,displayError:E=!0,toolTipText:I,hasErrorStyle:g=!0,additionalLabel:v,additionalLabelStyle:f,fieldId:O,...N}=e,y=(0,r.O6)(c.errors,u.name),L=(0,r.O6)(c.touched,u.name),S=y&&L&&g,h=S?y:p||null;return(0,i.jsxs)("div",{className:(0,o.A)({[String(t)]:t}),style:a,children:[(0,i.jsxs)("div",{style:{...m,...v?f:{}},children:[_&&(0,i.jsx)(s.A,{htmlFor:u.name,required:A,size:d,error:!!S||(null==N?void 0:N.error),style:m,toolTipText:I,children:_}),v&&(0,i.jsx)(s.A,{htmlFor:u.name,size:d,error:!!S||(null==N?void 0:N.error),style:m,toolTipText:I,children:v})]}),(0,i.jsx)(l.A,{id:O||u.name,...u,size:d,error:!!S,"aria-describedby":(S||p)&&"".concat(u.name,"-help-text"),...N}),(S||p)&&E&&(0,i.jsx)(n.A,{id:"".concat(u.name,"-help-text"),error:!!S,style:T,children:h})]})}}}]); //# sourceMappingURL=./298-b6f0901f9888b504.js.map