"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[999],{96442:(e,t,a)=>{a.d(t,{H7:()=>c});var n=a(428888);a(637876);var i=a(182897),o=a(354064);a(14232);var r=a(154431);function s(){let e=(0,n._)(["\n query AEMDiscountedProducts($input: GetAEMDiscountedProductsInput!) {\n getAEMDiscountedProducts(input: $input) {\n products {\n ...DynamicProduct\n }\n }\n}\n ",""]);return s=function(){return e},e}let l={},d=(0,i.J1)(s(),o.z);function c(e){let t={...l,...e};return r.IT(d,t)}},166329:(e,t,a)=>{a.d(t,{A:()=>n});let n=(0,a(835967).YK)({EVENT_BOOTH_LABEL:{id:"EVENT_BOOTH_LABEL",defaultMessage:"Booth"},EVENT_ONLINE_LABEL:{id:"EVENT_ONLINE_LABEL",defaultMessage:"Virtual"},EVENT_VENUE_LABEL:{id:"EVENT_VENUE_LABEL",defaultMessage:"Venue"},GATED_CONTENT_INSTRUCTIONS:{id:"GATED_CONTENT_INSTRUCTIONS",defaultMessage:"To continue reading please sign in or create an account."},LATEST_PRESS_RELEASES:{id:"LATEST_PRESS_RELEASES",defaultMessage:"Latest Press Releases"},MORE_EVENTS_LINK_TITLE:{id:"MORE_EVENTS_LINK_TITLE",defaultMessage:"More Events"},MORE_PRESS_LINK_TITLE:{id:"MORE_PRESS_LINK_TITLE",defaultMessage:"More Press Releases"},MORE_WEBINARS_LINK_TITLE:{id:"MORE_WEBINARS_LINK_TITLE",defaultMessage:"More Webinars"},RELATED_WEBINARS:{id:"RELATED_WEBINARS",defaultMessage:"Related Webinars"},SIGN_IN_TO_CONTINUE:{id:"SIGN_IN_TO_CONTINUE",defaultMessage:"Sign In To Continue"},UPCOMING_EVENTS:{id:"UPCOMING_EVENTS",defaultMessage:"Upcoming Events"},WEBINAR_DURATION_LABEL:{id:"WEBINAR_DURATION_LABEL",defaultMessage:"Duration"},WEBINARS_FILTER_LABEL:{id:"WEBINARS_FILTER_LABEL",defaultMessage:"Filter webinars"},WEBINAR_ON_DEMAND_TAB:{id:"WEBINAR_ON_DEMAND_TAB",defaultMessage:"On Demand"},WEBINAR_PRESENTED_LABEL:{id:"WEBINAR_PRESENTED_LABEL",defaultMessage:"Presented"},WEBINAR_SESSION_LABEL:{id:"WEBINAR_SESSION_LABEL",defaultMessage:"Session"},WEBINAR_UPCOMING_TAB:{id:"WEBINAR_UPCOMING_TAB",defaultMessage:"Upcoming"},SORT_BY_PRODUCT_NUMBER_ASCENDING:{id:"SORT_BY_PRODUCT_NUMBER_ASCENDING",defaultMessage:"Sort by Product Number (Ascending)"},SORT_BY_PRODUCT_NUMBER_DESCENDING:{id:"SORT_BY_PRODUCT_NUMBER_DESCENDING",defaultMessage:"Sort by Product Number (Descending)"},SORT_BY_PRODUCT_NAME_ASCENDING:{id:"SORT_BY_PRODUCT_NAME_ASCENDING",defaultMessage:"Sort by Product Name (Ascending)"},SORT_BY_PRODUCT_NAME_DESCENDING:{id:"SORT_BY_PRODUCT_NAME_DESCENDING",defaultMessage:"Sort by Product Name (Descending)"},SORT_BY_DESCRIPTION_ASCENDING:{id:"SORT_BY_DESCRIPTION_ASCENDING",defaultMessage:"Sort by Product Description (Ascending)"},SORT_BY_DESCRIPTION_DESCENDING:{id:"SORT_BY_DESCRIPTION_DESCENDING",defaultMessage:"Sort by Product Description (Descending)"},PRODUCT_NUMBER:{id:"PRODUCT_NUMBER",defaultMessage:"Product Number"},PRODUCT_NAME:{id:"PRODUCT_NAME",defaultMessage:"Product Name"},DESCRIPTION:{id:"DESCRIPTION",defaultMessage:"Description"},ANALYTICAL_CHEMISTRY:{id:"ANALYTICAL_CHEMISTRY",defaultMessage:"Analytical Chemistry"},CELL_CULTURE_ANALYSIS:{id:"CELL_CULTURE_ANALYSIS",defaultMessage:"Cell Culture and Analysis"},CHEMISTRY_SYNTHESIS:{id:"CHEMISTRY_SYNTHESIS",defaultMessage:"Chemistry and Synthesis"},FOOD_BEVERAGE_TESTING_MANUFACTURING:{id:"FOOD_BEVERAGE_TESTING_MANUFACTURING",defaultMessage:"Food & Beverage Testing & Manufacturing"},MOLECULAR_BIOLOGY_GENOMICS:{id:"MOLECULAR_BIOLOGY_GENOMICS",defaultMessage:"Molecular Biology & Genomics"},MICROBIOLOGICAL_TESTING:{id:"MICROBIOLOGICAL_TESTING",defaultMessage:"Microbiological Testing"}})},373839:(e,t,a)=>{a.r(t),a.d(t,{default:()=>p});var n=a(637876),i=a(918847),o=a.n(i);let r=o()(()=>Promise.all([a.e(8230),a.e(662)]).then(a.bind(a,270662)),{loadableGenerated:{webpack:()=>[270662]},loadableGenerated:{webpack:()=>[270662]},ssr:!1}),s=o()(()=>Promise.all([a.e(8230),a.e(229),a.e(4815)]).then(a.bind(a,984815)),{loadableGenerated:{webpack:()=>[984815]},loadableGenerated:{webpack:()=>[984815]},ssr:!1}),l=o()(()=>Promise.all([a.e(8230),a.e(7872),a.e(4256),a.e(1204),a.e(6772),a.e(7051),a.e(7359),a.e(2626),a.e(9070),a.e(7588),a.e(1615),a.e(5746)]).then(a.bind(a,65746)),{loadableGenerated:{webpack:()=>[65746]},loadableGenerated:{webpack:()=>[65746]},ssr:!1}),d=o()(()=>Promise.all([a.e(8230),a.e(7872),a.e(4256),a.e(1204),a.e(6772),a.e(7051),a.e(7359),a.e(2626),a.e(9070),a.e(6347),a.e(7588),a.e(1615),a.e(4655)]).then(a.bind(a,224655)),{loadableGenerated:{webpack:()=>[224655]},loadableGenerated:{webpack:()=>[224655]},ssr:!1}),c=e=>{let{statusCode:t,title:a,basicError:i}=e;return i?(0,n.jsx)(r,{statusCode:404}):a&&a.includes("/sds/")?(0,n.jsx)(d,{}):404===t?(0,n.jsx)(l,{statusCode:t}):(0,n.jsx)(s,{statusCode:t})};c.getInitialProps=e=>{let{res:t,err:a,asPath:n}=e;return{statusCode:t?t.statusCode:a?a.statusCode:404,title:n}};let p=c},444488:(e,t,a)=>{a.d(t,{$x:()=>c});var n=a(428888),i=a(182897);function o(){let e=(0,n._)(["\n fragment PaperDetails on Papers {\n count\n papers {\n id\n abstract\n title\n authors\n date\n pubMedId\n journalName\n volume\n issue\n startPage\n endPage\n }\n}\n "]);return o=function(){return e},e}function r(){let e=(0,n._)(["\n fragment ProtocolArticleDocument on ProtocolArticleDocument {\n id\n title\n text\n url\n contentType\n}\n "]);return r=function(){return e},e}function s(){let e=(0,n._)(["\n fragment ProductDetail on Product {\n id\n productNumber\n productKey\n erpProductKey\n isSial\n isMarketplace\n marketplaceSellerId\n marketplaceOfferId\n erp_type\n substance {\n id\n key\n }\n brand {\n key\n erpKey\n name\n logo {\n altText\n smallUrl\n mediumUrl\n largeUrl\n }\n cells {\n altText\n smallUrl\n mediumUrl\n largeUrl\n }\n color\n }\n aliases {\n key\n value\n label\n }\n name\n displaySellerName\n description\n descriptions {\n label\n values\n }\n molecularWeight\n empiricalFormula\n linearFormula\n casNumber\n images {\n altText\n label\n smallUrl\n mediumUrl\n largeUrl\n productKey\n brandKey\n videoUrl\n }\n synonyms\n badge\n keyAttributes {\n key\n label\n values\n }\n attributes {\n key\n label\n values\n }\n materialIds\n compliance {\n key\n label\n value\n images {\n altText\n smallUrl\n mediumUrl\n largeUrl\n }\n }\n complianceReach {\n key\n label\n value\n casNos\n }\n complianceJp {\n id\n label\n value\n seq\n }\n browserMetadata {\n title\n description\n keywords\n }\n sdsPnoKey\n faqs {\n question\n answer\n }\n peerPapers {\n ...PaperDetails\n }\n links {\n label\n key\n anchorTag\n image\n }\n features\n paMessage\n catalogId\n components {\n kitOnly {\n value\n pId\n pno\n brand\n erpBrandKey\n erpPnoKey\n }\n kitSoldSeparate {\n value\n pId\n pno\n brand\n erpBrandKey\n erpPnoKey\n }\n analyte {\n value\n pId\n }\n solvent {\n value\n pId\n }\n bulletin {\n value\n pId\n }\n }\n specificationSheet {\n url\n text\n }\n substanceCount\n productCategories {\n category\n url\n }\n relatedProducts {\n type\n productId\n }\n type\n customPdpId\n protocolsAndArticles {\n protocols {\n ...ProtocolArticleDocument\n }\n articles {\n ...ProtocolArticleDocument\n }\n relatedContent {\n ...ProtocolArticleDocument\n }\n }\n productRating {\n ratingEnabled\n }\n}\n ","\n",""]);return s=function(){return e},e}let l=(0,i.J1)(o()),d=(0,i.J1)(r()),c=(0,i.J1)(s(),l,d)},471603:(e,t,a)=>{a.d(t,{iN:()=>p,mO:()=>u});var n=a(428888);a(637876);var i=a(182897),o=a(444488);a(14232);var r=a(154431),s=a(678248);function l(){let e=(0,n._)(["\n query ProductDetail($brandKey: String!, $productKey: String!, $catalogType: CatalogType, $orgId: String, $type: String) {\n getProductDetail(\n input: {brandKey: $brandKey, productKey: $productKey, catalogType: $catalogType, orgId: $orgId, type: $type}\n ) {\n ...ProductDetail\n }\n}\n ",""]);return l=function(){return e},e}let d={},c=(0,i.J1)(l(),o.$x);function p(e){let t={...d,...e};return r.IT(c,t)}function u(e){let t={...d,...e};return s._(c,t)}},548342:(e,t,a)=>{a.d(t,{Ay:()=>E,Zd:()=>u,c5:()=>m});var n=a(637876);a(14232);var i=a(796707),o=a(599220),r=a(877018),s=a(877742),l=a(308733),d=a(411944),c=a.n(d),p=a(627719),u=function(e){return e.quantity="QUANTITY",e.currency="CURRENCY",e}({}),m=function(e){return e.BUY_SAVE="BUY_SAVE",e.PERCENT_OFF="PERCENT_OFF",e.SUBSCRIBE_SAVE="SUBSCRIBE_SAVE",e}({});let g=(0,o.makeStyles)()(()=>({contentHeader:{letterSpacing:"0.14px",textTransform:"capitalize"},disclaimerContentwrapper:{marginTop:p.w.spacing(12),[p.w.breakpoints.up("md")]:{marginTop:p.w.spacing(16)}},discoPromoContentrows:{marginBottom:"0 !important",marginTop:"0 !important","& p":{marginBottom:0}}})),E=e=>{let t,{promoType:a,discount:o,qualifyingAmount:d,currency:p,validTo:u,disclaimer:m,qualifierType:E,promoCode:_,promoText:A,tiers:f}=e,{classes:T}=g(),h=(0,s.A)(),C=null!=d?d:0,x=u?new Date(u):null,S=(null==f?void 0:f.length)?Math.max(...f.map(e=>e.discount)):null!=o?o:0,y=(e=>"string"==typeof e&&/^[A-Z]{3}$/.test(e))(null==p?void 0:p.toUpperCase())?p.toUpperCase():"USD",I=e=>e?c().sanitize(e):"",b=h.formatNumber(C,{style:"currency",currency:y,maximumFractionDigits:0,minimumFractionDigits:0}),M=h.formatNumber(C,{maximumFractionDigits:0,minimumFractionDigits:0}),R=h.formatNumber((null!=o?o:0)/100,{style:"percent",minimumFractionDigits:0}),N=x?h.formatMessage({id:"DISCO_PROMO_EXPIRATION_TERMS",defaultMessage:"From now until {date}, stock up on your essentials."},{date:h.formatDate(x,{year:"numeric",month:"long",day:"numeric",timeZone:"UTC"})}):h.formatMessage({id:"DISCO_PROMO_NO_EXPIRATION_TERMS",defaultMessage:"Stock up on your essentials while supplies last."}),v=h.formatMessage({id:"SPEND_AND_SAVE_DISCOUNT_DETAILS",defaultMessage:"Spend {amount} — save {discount}*"},{amount:b,discount:R}),P=h.formatMessage({id:"BUY_AND_SAVE_DISCOUNT_DETAILS",defaultMessage:"Buy {quantity} or more eligible items to save {discount} off the list price*"},{quantity:M,discount:R}),L=h.formatMessage({id:"PERCENT_OFF_DISCOUNT_DETAILS",defaultMessage:"Use code {code}* in cart to apply {discount} off list price."},{discount:R,code:_,strong:e=>"".concat(e,"")}),O=x?h.formatMessage({id:"DISCO_PROMO_ASTERISK_DISCLAIMER",defaultMessage:"*Valid for web orders placed by {date}. This promotional discount only applies to products listed on the promotion 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."},{date:h.formatDate(x,{year:"numeric",month:"long",day:"numeric",timeZone:"UTC"})}):h.formatMessage({id:"DISCO_PROMO_ASTERISK_DISCLAIMER_NO_EXPIRATION",defaultMessage:"*Valid for web orders. This promotional discount only applies to products listed on the promotion 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."}),F="BUY_SAVE"===a,j="PERCENT_OFF"===a,B="QUANTITY"===E,w=Array.isArray(f)&&f.length>1,k=F?B?(0,n.jsx)(l.A,{id:"BUY_MORE_AND_SAVE_MORE",defaultMessage:"Buy More, Save More"}):(0,n.jsx)(l.A,{id:"SPEND_MORE_AND_SAVE_MORE",defaultMessage:"Spend More, Save More"}):j?(0,n.jsx)(l.A,{id:"STOCK_UP_AND_SAVE",defaultMessage:"Stock Up & Save"}):(0,n.jsx)(l.A,{id:"SPEND_AND_SAVE_BADGE",defaultMessage:"Spend & Save"});return m?(0,n.jsx)(i.A,{className:T.disclaimerContentwrapper,children:(0,n.jsx)(r.A,{component:"p",dangerouslySetInnerHTML:{__html:I(O)}})}):(0,n.jsxs)(i.A,{children:[(0,n.jsx)(r.A,{component:"h1",className:T.contentHeader,children:k}),(0,n.jsx)(r.A,{component:"p",className:T.discoPromoContentrows,dangerouslySetInnerHTML:{__html:I(N)}}),A&&(0,n.jsx)(r.A,{component:"p",className:T.discoPromoContentrows,dangerouslySetInnerHTML:{__html:I(A)}}),w?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.A,{component:"h4",className:T.discoPromoContentrows,children:(0,n.jsx)(l.A,{...B?{id:"BUY_AND_SAVE_UP_TO",defaultMessage:"Buy & Save up to {discount}:"}:{id:"SPEND_AND_SAVE_UP_TO",defaultMessage:"Spend & Save up to {discount}:"},values:{discount:h.formatNumber(S/100,{style:"percent",maximumFractionDigits:0})}})}),(t=B?"BUY":"SPEND",(0,n.jsx)("ul",{className:T.discoPromoContentrows,children:null==f?void 0:f.map(e=>{let{tier:a,qualifyingAmount:i,discount:o}=e,r=h.formatNumber(o/100,{style:"percent",maximumFractionDigits:0}),s="BUY"===t?h.formatMessage({id:"TIERED_BUY_MORE_SAVE_MORE",defaultMessage:"Buy {qty} — save {discount}"},{qty:i,discount:r}):h.formatMessage({id:"TIERED_SPEND_MORE_SAVE_MORE",defaultMessage:"Spend {amount} — save {discount}"},{amount:h.formatNumber(i,{style:"currency",currency:y,maximumFractionDigits:0}),discount:r});return(0,n.jsx)("li",{children:s},a)})}))]}):(0,n.jsx)(r.A,{component:"p",dangerouslySetInnerHTML:{__html:I(F?B?P:v:j?L:"")}})]})}},577198:(e,t,a)=>{a.d(t,{A:()=>A});var n=a(637876),i=a(14232),o=a(298546),r=a(248041),s=a(977328),l=a.n(s);let d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http://sial.tfaforms.net/wForms/3.11/js/localization-en_US.js?v=813cb4fab17d46c586bbe42b1bcc8e38ca00cf31",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,n.jsxs)(n.Fragment,{children:[t&&(0,n.jsx)("script",{src:"http://www.google.com/recaptcha/enterprise.js?onload=gCaptchaReadyCallback&render=explicit&hl=en_US"}),(0,n.jsx)("script",{src:e}),(0,n.jsx)("script",{dangerouslySetInnerHTML:{__html:'\n if (wFORMS && wFORMS.behaviors && wFORMS.behaviors.prefill) {\n wFORMS.behaviors.prefill.skip = false;\n }\n document.addEventListener("DOMContentLoaded", function () {\n var FORM_TIME_START = Math.floor((new Date).getTime() / 1000);\n var formElement = document.getElementById("tfa_0");\n if (null === formElement) {\n formElement = document.getElementById("0");\n }\n var appendJsTimerElement = function () {\n var formTimeDiff = Math.floor((new Date).getTime() / 1000) - FORM_TIME_START;\n var cumulatedTimeElement = document.getElementById("tfa_dbCumulatedTime");\n if (null !== cumulatedTimeElement) {\n var cumulatedTime = parseInt(cumulatedTimeElement.value);\n if (null !== cumulatedTime && cumulatedTime > 0) {\n formTimeDiff += cumulatedTime;\n }\n }\n var jsTimeInput = document.createElement("input");\n jsTimeInput.setAttribute("type", "hidden");\n jsTimeInput.setAttribute("value", formTimeDiff.toString());\n jsTimeInput.setAttribute("name", "tfa_dbElapsedJsTime");\n jsTimeInput.setAttribute("id", "tfa_dbElapsedJsTime");\n jsTimeInput.setAttribute("autocomplete", "off");\n if (null !== formElement) {\n formElement.appendChild(jsTimeInput);\n }\n };\n if (null !== formElement) {\n if (formElement.addEventListener) {\n formElement.addEventListener(\'submit\', appendJsTimerElement, false);\n } else if (formElement.attachEvent) {\n formElement.attachEvent(\'onsubmit\', appendJsTimerElement);\n }\n }\n });'}}),(0,n.jsx)("link",{rel:"stylesheet",type:"text/css",href:"http://sial.tfaforms.net/css/kalendae.css"}),(0,n.jsx)("script",{type:"text/javascript",src:"http://sial.tfaforms.net/js/kalendae/kalendae.standalone.min.js"}),(0,n.jsx)("script",{type:"text/javascript",src:"http://sial.tfaforms.net/wForms/3.11/js/wforms_calendar.js"})]})};var c=a(201010),p=a(554414),u=a(849995),m=a(245756),g=a(877018),E=a(411944),_=a.n(E);let A=e=>{var t;let{formId:a,formAssemblyUrl:s="http://localhost:8080/http://sial.tfaforms.net",formFields:E={},anchorId:A,isFormMounted:f,formStyleClass:T,localeSrc:h,locale:C,heading:x,description:S}=e,y=(0,c.n)("http://sial.tfaforms.net/wForms/3.11/js/wforms.js?v=813cb4fab17d46c586bbe42b1bcc8e38ca00cf31",{removeOnUnmount:!1}),[I,b]=(0,i.useState)(""),M=(0,o.A)("form-assembly-"),[R,N]=(0,i.useState)(!1),[v,P]=(0,i.useState)(!!(null===(t=window)||void 0===t?void 0:t.wFORMS)),[L,O]=(0,i.useState)(!1),[F,j]=(0,i.useState)(!1),B="ready"===y,w=()=>{P(!0)},k=()=>Object.keys(E).reduce((e,t)=>E[t]?"".concat(e,"&").concat(t,"=").concat(encodeURIComponent(E[t])):e,"").replace(/\s/g,"");return(0,i.useEffect)(()=>{let e,t=+new Date;if(a>0){if(e=window.location.pathname.startsWith("/content/cms-commons")?"/bin/cms-commons/forms-api?formId=".concat(a,"&d=").concat(t):"/forms-api/".concat(a,"?d=").concat(t).concat(k()),window.location.search){let t=(0,r.parse)(window.location.search.startsWith("?")?window.location.search.split("?")[1]:window.location.search);t.tfa_next?e="".concat(s,"/rest").concat(decodeURI(t.tfa_next)):e+=window.location.search.startsWith("?")?window.location.search:"?".concat(window.location.search)}B&&fetch(e).then(e=>e.text().then(e=>{if(e&&e.includes("localization-".concat(C))&&O(!0),e&&e.includes("/recaptcha/enterprise.js")){j(!0);let t=document.createElement("div");t.innerHTML=e;let a=Array.from(t.querySelectorAll("script")).find(e=>{var t;return null==e?void 0:null===(t=e.textContent)||void 0===t?void 0:t.includes("gCaptchaReadyCallback")});if(a){let e=document.createElement("script");e.text=(null==a?void 0:a.textContent)||"",document.body.appendChild(e)}}b(e&&e.split("\x3c!-- FORM: BODY SECTION --\x3e")[1]),"function"==typeof f&&f(!0)}))}},[a,s,B]),(0,i.useEffect)(()=>(w(),N(!0),window.addEventListener("load",w),()=>{window.removeEventListener("load",w),"function"==typeof f&&f(!1)}),[]),(0,i.useEffect)(()=>{window.wFORMS&&window.wFORMS.onLoadHandler&&(null==I?void 0:I.length)&&window.wFORMS.onLoadHandler()},[I]),(0,i.useEffect)(()=>{if(F){let t=document.getElementById("javascript-warning");if(null!=t){var e;null==t||null===(e=t.parentNode)||void 0===e||e.removeChild(t)}if(-1!==parseInt("1")){let e=document.getElementById("disabled-explanation"),t=document.getElementById("submit_button");null!=t&&(t.disabled=!0,null!=e&&(e.style.display="block"))}}},[I,F]),(0,n.jsxs)(n.Fragment,{children:[window.wFORMS&&(0,n.jsx)(l(),{children:d(L?h:void 0,F)}),!(0,p.S)()&&R&&v?(0,n.jsxs)(m.A,{id:A,className:(0,u.A)(M,T),children:[x&&(0,n.jsx)(g.A,{component:"h2",style:{marginTop:T?0:void 0},children:x}),S&&(0,n.jsx)(g.A,{component:"div",dangerouslySetInnerHTML:{__html:_().sanitize(S)}}),(0,n.jsx)(g.A,{component:"div",dangerouslySetInnerHTML:{__html:I}})]}):null]})}},611072:(e,t,a)=>{a.d(t,{A:()=>l});var n=a(637876);a(14232);var i=a(9651),o=a(599220),r=a(560650);let s=(0,o.makeStyles)()(e=>({switchContainer:{display:"flex",alignItems:"center",gap:e.spacing(1),"& span":{lineHeight:1,display:"flex",alignItems:"center"}}})),l=(0,r.A)(e=>{let{labelOff:t,labelOn:a,onChange:o,...r}=e,{classes:l}=s();return(0,n.jsxs)("div",{className:l.switchContainer,children:[(0,n.jsx)("p",{children:t}),(0,n.jsx)(i.A,{focusVisibleClassName:".Mui-focusVisible",onChange:(e,t)=>o(t),disableRipple:!0,...r}),a&&(0,n.jsx)("span",{children:a})]})})(e=>{let{theme:t}=e;return{width:55,height:24,padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:t.spacing(.75,1),transitionDuration:"200ms",color:t.palette.common.white,"&.Mui-checked":{transform:"translateX(16px)",color:t.palette.common.white,right:t.spacing(1),"& + .MuiSwitch-track":{backgroundColor:t.palette.success.main,opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid ".concat(t.palette.common.white)},"&.Mui-focusVisible":{boxShadow:"none"},"&.Mui-disabled .MuiSwitch-thumb":{color:t.palette.grey[100]},"&.Mui-disabled + .MuiSwitch-track":{opacity:.7}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:18,height:18},"& .MuiSwitch-track":{borderRadius:12,backgroundColor:t.palette.grey[500],opacity:1,transition:t.transitions.create(["background-color"],{duration:500})}}})},650187:(e,t,a)=>{a.d(t,{Wo:()=>d});var n=a(428888);a(637876);var i=a(182897);a(14232);var o=a(154431);function r(){let e=(0,n._)(["\n query getCountryDetails($country: String!) {\n getCountryDetails(country: $country) {\n guestShoppingType\n salesOfficeCode\n salesOrg\n erpSystemId\n }\n}\n "]);return r=function(){return e},e}let s={},l=(0,i.J1)(r());function d(e){let t={...s,...e};return o.IT(l,t)}},810999:(e,t,a)=>{a.r(t),a.d(t,{default:()=>iV});var n=a(637876),i=a(14232),o=a(977328),r=a.n(o),s=a(904768),l=a(971656),d=a(308733),c=a(599220),p=a(330566),u=a(677660),m=a(406995),g=a(877018),E=a(63724),_=a(229130),A=a(825628),f=a(402991),T=a(927136),h=a(757477);let C=(0,c.makeStyles)()(e=>({count:{fontSize:e.typography.pxToRem(14)},bottomCount:{fontSize:e.typography.pxToRem(14),color:e.palette.grey[800],[e.breakpoints.down("md")]:{marginBottom:e.spacing(4)}}})),x=e=>{let{pageStart:t,pageEnd:a,itemCount:i,isBottomCount:o=!1}=e,{classes:r}=C();return o?(0,n.jsx)("div",{className:r.bottomCount,children:(0,n.jsx)(d.A,{id:"PAGINATION_RESULTS_VIEWED_TEXT",defaultMessage:"You have viewed {pageStart}-{pageEnd} of {itemCount} results",values:{pageStart:t,pageEnd:a,itemCount:i}})}):(0,n.jsx)("div",{className:r.count,children:(0,n.jsx)(d.A,{id:"PAGINATION_RESULTS_SHOWING_TEXT",defaultMessage:"Showing {pageStart}-{pageEnd} of {itemCount}",values:{pageStart:t,pageEnd:a,itemCount:i}})})};var S=a(877742),y=a(370475),I=a(140032),b=a(211148),M=a(771007);let R=(0,a(835967).YK)({FACET_DOC_TYPE:{id:"FACET_DOC_TYPE",defaultMessage:"Document Type"},FACET_WEB_REFMATL_RMTYPE:{id:"FACET_WEB_REFMATL_RMTYPE",defaultMessage:"Reference Material Type"},FACET_WEB_REFMATL_APIFAM:{id:"FACET_WEB_REFMATL_APIFAM",defaultMessage:"API Family"},FACET_WEB_PROBE_PRESENTATION:{id:"FACET_PROBE_PRESENTATION",defaultMessage:"Probe Presentation"},FACET_WEB_PROBE_TYPE:{id:"FACET_PROBE_TYPE",defaultMessage:"Probe Sugar"},FACET_WEB_AGENCY_USP_SUITAB:{id:"FACET_AGENCY_USP_SUITAB",defaultMessage:"USP Suitability"},FACET_WEB_GREENER_CATEGORY:{id:"FACET_GREENER_CATEGORY",defaultMessage:"Greener Category"},FACET_WEB_ELEMENT:{id:"FACET_WEB_ELEMENT",defaultMessage:"Element"},FACET_WEB_ELEMENT_FAMILY:{id:"FACET_WEB_ELEMENT_FAMILY",defaultMessage:"Element Family"},FACET_WEB_POLYMERCHAIN_LEN:{id:"FACET_WEB_POLYMERCHAIN_LEN",defaultMessage:"Chain Length"},FACET_WEB_SAMPLE_IO_FEED_WATER_NATURE:{id:"FACET_WEB_SAMPLE_IO_FEED_WATER_NATURE",defaultMessage:"Feed Water Quality"},FACET_WEB_OPERATING_LIMIT_FLOWRATE:{id:"FACET_WEB_OPERATING_LIMIT_FLOWRATE",defaultMessage:"Production Flow Rate (L/hr)"},FACET_WEB_OPERATING_LIMIT_DISTFLOWRATE:{id:"FACET_WEB_OPERATING_LIMIT_DISTFLOWRATE",defaultMessage:"Distribution Flow Rate (L/min)"},FACET_WEB_OPERATING_LIMIT_MAXUSE:{id:"FACET_WEB_OPERATING_LIMIT_MAXUSE",defaultMessage:"Daily Water Usage (L/day)"},FACET_LANGUAGE:{id:"FACET_LANGUAGE",defaultMessage:"Language"},FACET_TOPIC:{id:"FACET_TOPIC",defaultMessage:"Topic"},FACET_ORGANISM:{id:"FACET_ORGANISM",defaultMessage:"Organism"},FACET_RELATED_PRODUCT_CATEGORIES:{id:"FACET_RELATED_PRODUCT_CATEGORIES",defaultMessage:"Related Product Categories"},FACET_BOILING_POINT:{id:"FACET_BOILING_POINT",defaultMessage:"Boiling Point (\xb0C)"},FACET_MELTING_POINT:{id:"FACET_MELTING_POINT",defaultMessage:"Melting Point (\xb0C)"},FACET_WEB_CULTURE_MEDIA_COMP_GLUCOSE:{id:"FACET_WEB_CULTURE_MEDIA_COMP_GLUCOSE",defaultMessage:"Glucose (g/L)"},FACET_WEB_CULTURE_MEDIA_COMP_SODIUM_PYRUVATE:{id:"FACET_WEB_CULTURE_MEDIA_COMP_SODIUM_PYRUVATE",defaultMessage:"Sodium Pyruvate (g/L)"},FACET_WEB_CULTURE_MEDIA_COMP_HEPES:{id:"FACET_WEB_CULTURE_MEDIA_COMP_HEPES",defaultMessage:"HEPES (mM)"},FACET_WEB_COMP_LAYER_THICKNESS:{id:"FACET_WEB_COMP_LAYER_THICKNESS",defaultMessage:"Layer Thickness (\xb5m)"},FACET_WEB_EQP:{id:"FACET_WEB_EQP",defaultMessage:"Quality Segment"},FACET_WEB_OPERATING_LIMIT_FREQUENCY_MHZ:{id:"FACET_WEB_OPERATING_LIMIT_FREQUENCY_MHZ",defaultMessage:"Frequency (MHz)"},FACET_WEB_NUCLEOSIDE_2_PROT:{id:"FACET_WEB_NUCLEOSIDE_2_PROT",defaultMessage:"2' protecting group"},FACET_WEB_NUCLEOSIDE_5_PROT:{id:"FACET_WEB_NUCLEOSIDE_5_PROT",defaultMessage:"5' protecting group"},FACET_WEB_NUCLEOSIDE_BASE:{id:"FACET_WEB_NUCLEOSIDE_BASE",defaultMessage:"Base"},FACET_WEB_NUCLEOSIDE_BASE_PROT:{id:"FACET_WEB_NUCLEOSIDE_BASE_PROT",defaultMessage:"Base protection"},FACET_WEB_MTX_ACT_GP:{id:"FACET_WEB_MTX_ACT_GP",defaultMessage:"Phase"},FACET_WEB_MARKET_FOCUS:{id:"FACET_WEB_MARKET_FOCUS",defaultMessage:"Application"},FACET_WEB_TITERTEST_APP:{id:"FACET_WEB_TITERTEST_APP",defaultMessage:"Technique"},FACET_WEB_SIZE_DESIGNATION_NEEDLE:{id:"FACET_WEB_SIZE_DESIGNATION_NEEDLE",defaultMessage:"Gauge"},FACET_WEB_FEATURE_CAP:{id:"FACET_WEB_FEATURE_CAP",defaultMessage:"Cap"},FACET_WEB_CELL_TRANSFORMATION_TYPE:{id:"FACET_WEB_CELL_TRANSFORMATION_TYPE",defaultMessage:"Transformation Type"},FACET_WEB_CELL_TRANSFORMATION_EFFICIENCY_CFU_UG:{id:"FACET_WEB_CELL_TRANSFORMATION_EFFICIENCY_CFU_UG",defaultMessage:"Transformation Efficiency (cfu/μg)"},FACET_WEB_CHEM_COMPOSITION:{id:"FACET_WEB_CHEM_COMPOSITION",defaultMessage:"Chemical Composition"},FACET_WEB_CHROMATOGRAPHY_MODE:{id:"FACET_WEB_CHROMATOGRAPHY_MODE",defaultMessage:"Separation Technique"},FACET_WEB_FEATURE_ELECTRONIC:{id:"FACET_WEB_FEATURE_ELECTRONIC",defaultMessage:"Electronic"},FACET_WEB_FILTER_CAPACITY_ML:{id:"FACET_WEB_FILTER_CAPACITY_ML",defaultMessage:"Filter Capacity (ml)"},FACET_WEB_FILTER_CAPACITY_UL:{id:"FACET_WEB_FILTER_CAPACITY_UL",defaultMessage:"Filter Capacity (\xb5L)"},FACET_GENE_ALIAS:{id:"FACET_GENE_ALIAS",defaultMessage:"Gene Alias"},FACET_GEOGRAPHY:{id:"FACET_GEOGRAPHY",defaultMessage:"Geography"},FACET_WEB_MATERIAL_NEEDLE_SHAPE:{id:"FACET_WEB_MATERIAL_NEEDLE_SHAPE",defaultMessage:"Needle Shape"},FACET_WEB_PRODUCT_AREA:{id:"FACET_WEB_PRODUCT_AREA",defaultMessage:"Product Area"},FACET_PRODUCT_CATEGORY:{id:"FACET_PRODUCT_CATEGORY",defaultMessage:"Product Category"},FACET_PRODUCT_TYPE:{id:"FACET_PRODUCT_TYPE",defaultMessage:"Product Type"},FACET_RELATED_CATEGORY:{id:"FACET_RELATED_CATEGORY",defaultMessage:"Related Category"},FACET_WEB_FEATURE_SURFACE:{id:"FACET_WEB_FEATURE_SURFACE",defaultMessage:"Surface"},FACET_WEB_TUBE_SIZE_ML:{id:"FACET_WEB_TUBE_SIZE_ML",defaultMessage:"Tube Size (ml)"},FACET_WEB_MATERIAL_VIALBOTTLE:{id:"FACET_WEB_MATERIAL_VIALBOTTLE",defaultMessage:"Vial Bottle Material"},FACET_WEB_COMP_VOLUME_RANGE_UL:{id:"FACET_WEB_COMP_VOLUME_RANGE_UL",defaultMessage:"Volume Range (\xb5L)"},FACET_WEB_COMP_WORKINGVOLUME_ML:{id:"FACET_WEB_COMP_WORKINGVOLUME_ML",defaultMessage:"Working Volume (ml)"},FACET_WEB_ACTIVITY_SPECTRUM:{id:"FACET_WEB_ACTIVITY_SPECTRUM",defaultMessage:"Activity Spectrum"},FACET_WEB_ADEQUATE_FOR_NO_REACTIONS:{id:"FACET_WEB_ADEQUATE_FOR_NO_REACTIONS",defaultMessage:"Number of Reactions"},FACET_WEB_PARTICLE_SIZE_UM:{id:"FACET_WEB_PARTICLE_SIZE_UM",defaultMessage:"Particle Size (\xb5m)"},FACET_WEB_PORE_SIZE_DIM1_UM:{id:"FACET_WEB_PORESIZE_UM",defaultMessage:"Pore size (\xb5m)"},FACET_WEB_AGENCY_METHOD:{id:"FACET_WEB_AGENCY_METHOD",defaultMessage:"Agency"},FACET_WEB_ANALYTE_SUITABILITY:{id:"FACET_WEB_ANALYTE_SUITABILITY",defaultMessage:"Analyte Suitability"},FACET_WEB_ANTIBODY_FORM:{id:"FACET_WEB_ANTIBODY_FORM",defaultMessage:"Antibody Form"},FACET_WEB_BATTERY_POWER:{id:"FACET_WEB_BATTERY_POWER",defaultMessage:"Battery Type"},FACET_WEB_FEATURE_BINDER:{id:"FACET_WEB_FEATURE_BINDER",defaultMessage:"Binder"},FACET_WEB_FEATURE_DNTPS:{id:"FACET_WEB_FEATURE_DNTPS",defaultMessage:"dNTPs"},FACET_WEB_FEATURE_HOTSTART:{id:"FACET_WEB_FEATURE_HOTSTART",defaultMessage:"Hot Start"},FACET_WEB_FEATURE_PCR_APPLICATION:{id:"FACET_WEB_FEATURE_PCR_APPLICATION",defaultMessage:"PCR Application"},FACET_WEB_POLYMERCHEM_POLYMERTYPE:{id:"FACET_WEB_POLYMERCHEM_POLYMERTYPE",defaultMessage:"Polymer Type"},FACET_WEB_POLYMERCHEM_MONOMERTYPE:{id:"FACET_WEB_POLYMERCHEM_MONOMERTYPE",defaultMessage:"Monomer Type"},FACET_WEB_POLYMERCHEM_POLYMERCOMPN:{id:"FACET_WEB_POLYMERCHEM_POLYMERCOMPN",defaultMessage:"Polymer Composition"},FACET_WEB_PEPTIDESYNTH_AMAC:{id:"FACET_WEB_PEPTIDESYNTH_AMAC",defaultMessage:" Amino Acid"},FACET_WEB_PEPTIDESYNTH_AMACTYPE:{id:"FACET_WEB_PEPTIDESYNTH_AMACTYPE",defaultMessage:" Amino Acid Type"},FACET_WEB_PEPTIDESYNTH_LINKER:{id:"FACET_WEB_PEPTIDESYNTH_LINKER",defaultMessage:" Linker"},FACET_WEB_POLYMERCHAIN_TYPE:{id:"FACET_WEB_POLYMERCHAIN_TYPE",defaultMessage:"Chain Type"},FACET_WEB_OPTICALISOMER:{id:"FACET_WEB_OPTICALISOMER",defaultMessage:"Optical Isomer"},FACET_WEB_PEPTIDESYNTH_CLEAVCOND:{id:"FACET_WEB_PEPTIDESYNTH_CLEAVCOND",defaultMessage:"Cleavage Condition"},FACET_WEB_SAMPLE_INPUT_PCR:{id:"FACET_WEB_SAMPLE_INPUT_PCR",defaultMessage:"Sample Type"},FACET_BIOLOGICAL_SOURCE:{id:"FACET_BIOLOGICAL_SOURCE",defaultMessage:"Biological Source"},FACET_WEB_MATERIAL_BOTTLE_DESC:{id:"FACET_WEB_MATERIAL_BOTTLE_DESC",defaultMessage:"Bottle material"},FACET_BRAND:{id:"FACET_BRAND",defaultMessage:"Brand"},FACET_WEB_COMP_CAPACITY_L:{id:"FACET_WEB_COMP_CAPACITY_L",defaultMessage:"Capacity (L)"},FACET_WEB_COMP_CAPACITY_ML:{id:"FACET_WEB_COMP_CAPACITY_ML",defaultMessage:"Capacity (mL)"},FACET_CLONALITY:{id:"FACET_CLONALITY",defaultMessage:"Clonality"},FACET_WEB_FEATURE_CLOSURE:{id:"FACET_WEB_FEATURE_CLOSURE",defaultMessage:"Closure Type"},FACET_COLOR:{id:"FACET_COLOR",defaultMessage:"Color"},FACET_COLLECTIONS:{id:"FACET_COLLECTIONS",defaultMessage:"Collections"},FACET_WEB_MATERIAL_COLOR:{id:"FACET_WEB_MATERIAL_COLOR",defaultMessage:"Color"},FACET_WEB_MATERIAL_COLUMN:{id:"FACET_WEB_MATERIAL_COLUMN",defaultMessage:"Column Material"},FACET_WEB_COLUMN_TYPE:{id:"FACET_WEB_COLUMN_TYPE",defaultMessage:"Column Type"},FACET_WEB_CONJUGATE:{id:"FACET_WEB_CONJUGATE",defaultMessage:"Conjugate"},FACET_WEB_FEATURE_CORE_TYPE:{id:"FACET_WEB_FEATURE_CORE_TYPE",defaultMessage:"Core Type"},FACET_WEB_NUCLEOSIDE_DEPROT:{id:"FACET_WEB_NUCLEOSIDE_DEPROT",defaultMessage:"Deprotection method"},FACET_WEB_COMP_DIAM_MM:{id:"FACET_WEB_COMP_DIAM_MM",defaultMessage:"Diameter (mm)"},FACET_WEB_CULTURE_MEDIA_COMP_EARLE:{id:"FACET_WEB_CULTURE_MEDIA_COMP_EARLE",defaultMessage:"Earles Salts"},FACET_WEB_MATERIAL_FIBER_DESC:{id:"FACET_WEB_MATERIAL_FIBER_DESC",defaultMessage:"Fiber material"},FACET_WEB_FITTINGS_THREADS:{id:"FACET_WEB_FITTINGS_THREADS",defaultMessage:"Fitting"},FACET_WEB_FITTINGS_THREADS_FITS_SIZE:{id:"FACET_WEB_FITTINGS_THREADS_FITS_SIZE",defaultMessage:"Fitting"},FACET_WEB_FEATURE_FLUORESCENT:{id:"FACET_WEB_FEATURE_FLUORESCENT",defaultMessage:"Fluorescence"},FACET_WEB_ANAL_STAND_FORM:{id:"FACET_WEB_ANAL_STAND_FORM",defaultMessage:"Format"},FACET_FWGHT:{id:"FACET_FWGHT",defaultMessage:"Formula Weight"},FACET_WEB_POLYMER_ARCH_FUNCTIONALITY:{id:"FACET_WEB_POLYMER_ARCH_FUNCTIONALITY",defaultMessage:"Functionality"},FACET_WEB_FEATURE_GENERATION:{id:"FACET_WEB_FEATURE_GENERATION",defaultMessage:"Generation"},FACET_WEB_GREENER_ALTERNATIVE_PRINCIPLES:{id:"FACET_WEB_GREENER_ALTERNATIVE_PRINCIPLES",defaultMessage:"Greener Alternative Principles"},FACET_WEB_CULTURE_MEDIA_COMP_HANKSALT:{id:"FACET_WEB_CULTURE_MEDIA_COMP_HANKSALT",defaultMessage:"Hanks Salts"},FACET_WEB_COMP_HEIGHT:{id:"FACET_WEB_COMP_HEIGHT",defaultMessage:"Height"},FACET_WEB_COMP_HEIGHT_IN:{id:"FACET_WEB_COMP_HEIGHT_IN",defaultMessage:"Height (in)"},FACET_WEB_COMP_HEIGHT_MM:{id:"FACET_WEB_COMP_HEIGHT_MM",defaultMessage:"Height (mm)"},FACET_WEB_HOST_SELECTION_HOST:{id:"FACET_WEB_HOST_SELECTION_HOST",defaultMessage:"Host"},FACET_WEB_MATERIAL_HOUSING:{id:"FACET_WEB_MATERIAL_HOUSING",defaultMessage:"Housing Material"},FACET_WEB_MATERIAL_HUB_COLOR:{id:"FACET_WEB_MATERIAL_HUB_COLOR",defaultMessage:"Hub color"},FACET_WEB_COMP_ID_MM:{id:"FACET_WEB_COMP_ID_MM",defaultMessage:"ID (mm)"},FACET_WEB_ISOTOPIC_PURITY_ISOTOPE:{id:"FACET_WEB_ISOTOPIC_PURITY_ISOTOPE",defaultMessage:"Isotope"},FACET_ISOTYPE:{id:"FACET_ISOTYPE",defaultMessage:"Isotype"},FACET_WEB_CULTURE_MEDIA_COMP_LGLUTAMINE:{id:"FACET_WEB_CULTURE_MEDIA_COMP_LGLUTAMINE",defaultMessage:"L-Glutamine"},FACET_WEB_COMP_LENGTH_CM:{id:"FACET_WEB_COMP_LENGTH_CM",defaultMessage:"Length (cm)"},FACET_WEB_COMP_LENGTH_FT:{id:"FACET_WEB_COMP_LENGTH_FT",defaultMessage:"Length (ft)"},FACET_WEB_COMP_LENGTH_IN:{id:"FACET_WEB_COMP_LENGTH_IN",defaultMessage:"Length (in)"},FACET_WEB_COMP_LENGTH_M:{id:"FACET_WEB_COMP_LENGTH_M",defaultMessage:"Length (m)"},FACET_WEB_COMP_LENGTH_MM:{id:"FACET_WEB_COMP_LENGTH_MM",defaultMessage:"Length (mm)"},FACET_MANUFACTURER_NAME:{id:"FACET_MANUFACTURER_NAME",defaultMessage:"Manufacturer"},FACET_MASS_SHIFT:{id:"FACET_MASS_SHIFT",defaultMessage:"Mass Shift"},FACET_WEB_MATERIAL_MATERIALDESC:{id:"FACET_WEB_MATERIAL_MATERIALDESC",defaultMessage:"Material"},FACET_WEB_MATERIAL_MATRIX:{id:"FACET_WEB_MATERIAL_MATRIX",defaultMessage:"Matrix Material"},FACET_WEB_MATERIAL_SUPPORT:{id:"FACET_WEB_MATERIAL_SUPPORT",defaultMessage:"Support Material"},FACET_WEB_MATERIAL_MEMBRANE:{id:"FACET_WEB_MATERIAL_MEMBRANE",defaultMessage:"Membrane Material"},FACET_WEB_MEDIA_SUITABILITY:{id:"FACET_WEB_MEDIA_SUITABILITY",defaultMessage:"Microorganism Suitability"},FACET_WEB_MODE_OF_ACTION:{id:"FACET_WEB_MODE_OF_ACTION",defaultMessage:"Mode of Action"},FACET_WEB_COMP_OD_IN:{id:"FACET_WEB_COMP_OD_IN",defaultMessage:"OD (in)"},FACET_WEB_COMP_OD_MM:{id:"FACET_WEB_COMP_OD_MM",defaultMessage:"OD (mm)"},FACET_WEB_ORIGINAL_DEVELOPER:{id:"FACET_WEB_ORIGINAL_DEVELOPER",defaultMessage:"Original Developer"},FACET_WEB_PEPTIDE_CLEAVAGE:{id:"FACET_WEB_PEPTIDE_CLEAVAGE",defaultMessage:"Peptide Cleavage"},FACET_PH_VAL:{id:"FACET_PH_VAL",defaultMessage:"pH Value"},FACET_WEB_CULTURE_MEDIA_COMP_PHENOL:{id:"FACET_WEB_CULTURE_MEDIA_COMP_PHENOL",defaultMessage:"Phenol Red"},FACET_PHYSICAL_FORM:{id:"FACET_PHYSICAL_FORM",defaultMessage:"Physical Form"},SEARCH_PHYSICAL_FORM:{id:"SEARCH_PHYSICAL_FORM",defaultMessage:"Search Physical Form"},FACET_PK_VAL:{id:"FACET_PK_VAL",defaultMessage:"pK Value"},FACET_WEB_MATERIAL_PLATE:{id:"FACET_WEB_MATERIAL_PLATE",defaultMessage:"Plate Material"},FACET_WEB_PORE_SIZE_A:{id:"FACET_WEB_PORE_SIZE_A",defaultMessage:"Pore Size (Å)"},FACET_WEB_PORESIZE_UM:{id:"FACET_WEB_PORESIZE_UM",defaultMessage:"Pore size (\xb5m)"},FACET_WEB_PROMOTER:{id:"FACET_WEB_PROMOTER",defaultMessage:"Promoter"},FACET_PURITY:{id:"FACET_PURITY",defaultMessage:"Purity"},FACET_WEB_REACT_SUITABILITY_REACTION_TYPE:{id:"FACET_WEB_REACT_SUITABILITY_REACTION_TYPE",defaultMessage:"Reaction Type"},FACET_WEB_REACT_SUITABILITY_REACTIVITY:{id:"FACET_WEB_REACT_SUITABILITY_REACTIVITY",defaultMessage:"Reactivity"},FACET_WEB_REACT_SUITABILITY_REAGENT_TYPE:{id:"FACET_WEB_REACT_SUITABILITY_REAGENT_TYPE",defaultMessage:"Reagent Type"},FACET_RECOMBINANT_HOST:{id:"FACET_RECOMBINANT_HOST",defaultMessage:"Recombinant Host"},FACET_WEB_RELEVANT_DISEASE:{id:"FACET_WEB_RELEVANT_DISEASE",defaultMessage:"Relevant Disease"},FACET_WEB_REPORTER_GENE:{id:"FACET_WEB_REPORTER_GENE",defaultMessage:"Reporter Gene"},FACET_WEB_HOST_SELECTION_SELECTION:{id:"FACET_WEB_HOST_SELECTION_SELECTION",defaultMessage:"Selection Method"},FACET_WEB_POLYMER_ARCH_SHAPE:{id:"FACET_WEB_POLYMER_ARCH_SHAPE",defaultMessage:"Shape"},FACET_WEB_SIZE_DESIGNATION:{id:"FACET_WEB_SIZE_DESIGNATION",defaultMessage:"Size"},FACET_WEB_CULTURE_MEDIA_COMP_NAHCO3:{id:"FACET_WEB_CULTURE_MEDIA_COMP_NAHCO3",defaultMessage:"Sodium Bicarbonate"},FACET_WEB_SPECIAL_GRADE:{id:"FACET_WEB_SPECIAL_GRADE",defaultMessage:"Special Grade"},SEARCH_SPECIAL_GRADE:{id:"SEARCH_SPECIAL_GRADE",defaultMessage:"Search Special Grade"},FACET_WEB_SPECIES_REACTIVITY:{id:"FACET_WEB_SPECIES_REACTIVITY",defaultMessage:"Species Reactivity"},FACET_WEB_STERILIZATION:{id:"FACET_WEB_STERILIZATION",defaultMessage:"Sterility"},FACET_WEB_TAXON:{id:"FACET_WEB_TAXON",defaultMessage:"Taxon"},"FACET_WEB_MEASURRANGE_WEIGHCAPACITY_LINEAR-G":{id:"FACET_WEB_MEASURRANGE_WEIGHCAPACITY_LINEAR-G",defaultMessage:"Linearity (g)"},FACET_WEB_BIOLSOURCE_ORGANISMPART:{id:"FACET_WEB_BIOLSOURCE_ORGANISMPART",defaultMessage:"Tissue"},FACET_WEB_MATERIAL_VIALBOTTLE_COLOR:{id:"FACET_WEB_MATERIAL_VIALBOTTLE_COLOR",defaultMessage:"Vial Bottle Color"},FACET_WEB_COMP_VOLUME_L:{id:"FACET_WEB_COMP_VOLUME_L",defaultMessage:"Volume (l)"},FACET_WEB_COMP_VOLUME_ML:{id:"FACET_WEB_COMP_VOLUME_ML",defaultMessage:"Volume (ml)"},FACET_WEB_COMP_VOLUME_UL:{id:"FACET_WEB_COMP_VOLUME_UL",defaultMessage:"Volume (\xb5L)"},FACET_WEB_COMP_WELLS:{id:"FACET_WEB_COMP_WELLS",defaultMessage:"Wells"},FACET_WEB_COMP_WIDTH_IN:{id:"FACET_WEB_COMP_WIDTH_IN",defaultMessage:"Width (in)"},FACET_WEB_COMP_WIDTH_MM:{id:"FACET_WEB_COMP_WIDTH_MM",defaultMessage:"Width (mm)"},FACET_PRODUCT_LINE:{id:"FACET_PRODUCT_LINE",defaultMessage:"Product Line"},FACET_WEB_SPECIES_REACT_NO:{id:"FACET_WEB_SPECIES_REACT_NO",defaultMessage:"Non-reactive Species"},FACET_WEB_PACKID:{id:"FACET_WEB_PACKID",defaultMessage:"Package Size"},FACET_FEATURE:{id:"FACET_FEATURE",defaultMessage:"Feature"},FACET_SERVICE:{id:"FACET_SERVICE",defaultMessage:"Service"},FACET_SHIPPING:{id:"FACET_SHIPPING",defaultMessage:"Shipping"},FACET_CONTENT_TYPE:{id:"FACET_CONTENT_TYPE",defaultMessage:"Content Type"},FACET_APPLICATIONS:{id:"FACET_APPLICATIONS",defaultMessage:"Applications"},FACET_TOPIC_AREA:{id:"FACET_TOPIC_AREA",defaultMessage:"Topic Area"},FACET_WEB_ANTIBODY_RESEARCH_AREA:{id:"FACET_WEB_ANTIBODY_RESEARCH_AREA",defaultMessage:"Research Area"},FACET_WEB_MEASURRANGE_WEIGHCAPACITY_RESOL_G:{id:"FACET_WEB_MEASURRANGE_WEIGHCAPACITY_RESOL_G",defaultMessage:"Resolution (g)"},FACET_WEB_MEASURRANGE_WEIGHCAPACITY_CAP_G:{id:"FACET_WEB_MEASURRANGE_WEIGHCAPACITY_CAP_G",defaultMessage:"Weighing Capacity (g)"},FACET_CLEAR_ALL_BUTTON:{id:"FACET_CLEAR_ALL_BUTTON",defaultMessage:"Clear All"},FACET_GENE_ID:{id:"FACET_GENE_ID",defaultMessage:"Gene ID"},FACET_WEB_ANALYTESUITAB:{id:"FACET_WEB_ANALYTESUITAB",defaultMessage:"Analyte Suitability"},FACET_WEB_BINDING_TYPE:{id:"FACET_WEB_BINDING_TYPE",defaultMessage:"Binding Type"},FACET_WEB_COMPATIBILITY_FORUSEWITH_MFR:{id:"FACET_WEB_COMPATIBILITY_FORUSEWITH_MFR",defaultMessage:"Compatibility"},FACET_WEB_CULTURE_MEDIA_COMP_STABLE:{id:"FACET_WEB_CULTURE_MEDIA_COMP_STABLE",defaultMessage:"Stable Glutamine"},FACET_WEB_DETECTION_METHOD:{id:"FACET_WEB_DETECTION_METHOD",defaultMessage:"Detection Method"},FACET_WEB_DETECTION_METHOD_AGENT:{id:"FACET_WEB_DETECTION_METHOD_AGENT",defaultMessage:"Detection Method"},FACET_WEB_FEATURE_GLASSWARECLASS:{id:"FACET_WEB_FEATURE_GLASSWARECLASS",defaultMessage:"Glassware Class"},FACET_WEB_FEATURE_HYDROPHILIC_HYDROPHOBIC:{id:"FACET_WEB_FEATURE_HYDROPHILIC_HYDROPHOBIC",defaultMessage:"Hydrophobicity"},FACET_WEB_FUNCTGP:{id:"FACET_WEB_FUNCTGP",defaultMessage:"Functional Group"},FACET_WEB_GEOGRAPHIC_ORIGIN:{id:"FACET_WEB_GEOGRAPHIC_ORIGIN",defaultMessage:"Geographic Origin"},FACET_WEB_MARKUSH_CLASS:{id:"FACET_WEB_MARKUSH_CLASS",defaultMessage:"Markush Class"},FACET_WEB_MARKUSH_GROUP:{id:"FACET_WEB_MARKUSH_GROUP",defaultMessage:"Markush Group"},FACET_WEB_MATRIXACTGP_SURFACE:{id:"FACET_WEB_MATRIXACTGP_SURFACE",defaultMessage:"Surface Treatment"},FACET_WEB_MISC_SPEC_GENDER:{id:"FACET_WEB_MISC_SPEC_GENDER",defaultMessage:"Gender"},FACET_WEB_ORGANOLEPTIC_CLASS:{id:"FACET_WEB_ORGANOLEPTIC_CLASS",defaultMessage:"Organoleptic Class"},FACET_WEB_PORE_SIZE_MWCO_KDA:{id:"FACET_WEB_PORE_SIZE_MWCO_KDA",defaultMessage:"MWCO (kDa)"},FACET_WEB_REACTION_SUITABILITY_CATALYTIC_CORE:{id:"FACET_WEB_REACTION_SUITABILITY_CATALYTIC_CORE",defaultMessage:"Core"},FACET_WEB_REPROG_METHOD:{id:"FACET_WEB_REPROG_METHOD",defaultMessage:"Reprogramming Method"},FACET_WEB_SAMPLE_IO_WATER_QUALITY:{id:"FACET_WEB_SAMPLE_IO_WATER_QUALITY",defaultMessage:"Output Water Quality"},FACET_WEB_MISC_SPEC_DF_UOM:{id:"FACET_WEB_MISC_SPEC_DF_UOM",defaultMessage:"df (\xb5m)"},FACET_WEB_STERILIZATION_METHOD:{id:"FACET_WEB_STERILIZATION_METHOD",defaultMessage:"Sterilization Method"},FACET_WEB_VESSELSTYLE:{id:"FACET_WEB_VESSELSTYLE",defaultMessage:"Style"},FACET_WEB_COMP_SURFACE_AREA_CM2:{id:"FACET_WEB_COMP_SURFACE_AREA_CM2",defaultMessage:"Surface Area cm\xb2"},FACET_WEB_LIPIDTYPE:{id:"FACET_WEB_LIPIDTYPE",defaultMessage:"Lipid Type"},FACET_STERILIZABILITY_COMPAT:{id:"FACET_STERILIZABILITY_COMPAT",defaultMessage:"Sterilization Compatibility"},FACET_WEB_GREENER_CATEGORY_SUSTAINABILITY:{id:"FACET_WEB_GREENER_CATEGORY_SUSTAINABILITY",defaultMessage:"Sustainability"},FACET_WEB_POSTTRANSMOD:{id:"FACET_WEB_POSTTRANSMOD",defaultMessage:"Post Translational Modification"}}),N=(0,c.makeStyles)()(e=>({facetGroupContainer:{"&:not(:first-of-type)":{marginTop:e.spacing(6)}},facetTitleButton:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",textAlign:"left",paddingBottom:e.spacing(2),borderBottom:"1px solid ".concat(e.palette.grey[300]),[e.breakpoints.up("md")]:{paddingBottom:e.spacing(1)}},facetTitle:{fontSize:e.typography.pxToRem(16),fontWeight:e.typography.fontWeightMedium,[e.breakpoints.up("md")]:{fontSize:e.typography.pxToRem(14)}},facetRight:{display:"flex",alignItems:"center",gap:e.spacing(1.5)},facetCount:{marginLeft:e.spacing(1),fontSize:e.typography.pxToRem(14),fontWeight:e.typography.fontWeightBold,lineHeight:e.typography.pxToRem(20),color:e.palette.common.black},facetExpandIcon:{fontSize:e.typography.pxToRem(12),color:e.palette.primary.main,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[e.breakpoints.up("md")]:{fontSize:e.typography.pxToRem(10)}},facetIconExpanded:{transform:"rotate(180deg)"},facetBody:{marginTop:e.spacing(3),[e.breakpoints.up("md")]:{marginTop:e.spacing(2)}}})),v=e=>{let{loading:t,title:a,children:o,defaultExpanded:r=!1,enTitleForAnalytics:s,count:l}=e,{classes:d,cx:c}=N(),u=(0,b.rd)(),[g,E]=(0,i.useState)(r),_=(0,p.A)(),A=(0,m.A)(_.breakpoints.down("sm")),f=()=>{let e=u.query.facets?u.query.facets.split(",").map(e=>{let[t,a]=e.split(":"),n=R[t.toUpperCase()].defaultMessage||t;return"".concat(n,": ").concat(a)}):[],t=u.query.term||u.query.searched,a=t?"keyword: ".concat(t):"";return a&&e.length?"".concat(a," | ").concat(e.join(" | ")):a&&!e.length?"".concat(a):!a&&e.length?e.join(" | "):void 0};return(0,n.jsxs)("div",{className:d.facetGroupContainer,children:[(0,n.jsx)("div",{children:(0,n.jsxs)(y.A,{onClick:()=>{E(!g),(0,M.sendCSRFiltersEvent)({event:"filter_interaction",action:g?"collapse filter":"expand filter",component:"left rail",elementType:"accordion",coreEvent:"no",filterCategory:s,filterExisting:f()})},disabled:t,className:d.facetTitleButton,children:[(0,n.jsx)("div",{className:d.facetTitle,children:a}),(0,n.jsxs)("div",{className:d.facetRight,children:[A&&"number"==typeof l&&l>0&&(0,n.jsxs)("span",{className:d.facetCount,children:["(",l,")"]}),(0,n.jsx)(I.A,{className:c(d.facetExpandIcon,{[d.facetIconExpanded]:g})})]})]})}),g?(0,n.jsx)("div",{className:d.facetBody,children:o}):null]})};var P=a(860058),L=a(699846),O=a(197710),F=a(421289),j=a(670114),B=a(814810),w=a(554753),k=a(611072);let D=(0,c.makeStyles)()(e=>({facetOptionsContainer:{marginTop:e.spacing(3),[e.breakpoints.up("md")]:{marginTop:e.spacing(2)}},facetOption:{"&:not(:first-of-type)":{marginTop:e.spacing(2),[e.breakpoints.up("md")]:{marginTop:e.spacing(1)}}},checkboxRoot:{padding:e.spacing(1,2,1,0)},labelRoot:{width:"100%",margin:0,alignItems:"flex-start"},facetLabel:{fontSize:e.typography.pxToRem(16),marginTop:4,[e.breakpoints.up("md")]:{fontSize:e.typography.pxToRem(14),marginTop:2}},facetOptionLabel:{display:"inline-flex","& svg":{fontSize:e.typography.pxToRem(28),marginLeft:e.spacing(2),marginTop:e.spacing(.5),color:e.palette.secondary.main},"& sup, sub":{verticalAlign:"baseline",position:"relative",top:"-0.4em"},"& sub":{top:"0.1em"}},checkboxIcon:{border:"1px solid ".concat(e.palette.grey[500]),borderRadius:3,width:24,height:24,fontSize:e.typography.pxToRem(4),[e.breakpoints.up("md")]:{width:18,height:18}},checkboxIconChecked:{"& svg":{fontSize:e.typography.pxToRem(10),position:"relative",top:2,left:2,[e.breakpoints.down("sm")]:{fontSize:e.typography.pxToRem(12),position:"relative",top:4}}},optionRow:{flex:1,display:"flex",alignItems:"center",padding:e.spacing(2,0),height:e.spacing(12),gap:e.spacing(2),boxSizing:"border-box",[e.breakpoints.down("md")]:{maxHeight:e.spacing(12)}},expandFacetOptionsButton:{fontSize:e.typography.pxToRem(14),minWidth:0,padding:0,marginTop:e.spacing(1),[e.breakpoints.up("md")]:{fontSize:e.typography.pxToRem(12)}},expandFacetOptionsIcon:{fontSize:e.typography.pxToRem(9),marginLeft:e.spacing(1),transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),marginTop:e.spacing(.5)},iconExpanded:{transform:"rotate(180deg)"}})),W=e=>{switch(e){case O.u2.SameDay:return(0,n.jsx)(F.A,{});case O.u2.FreeFreight:return(0,n.jsx)(j.A,{color:"secondary"});default:return null}},U=e=>{let{loading:t,facet:a,handleUpdateFacets:o,title:r}=e,{classes:s,cx:l}=D(),[c,u]=(0,i.useState)(!1),E=(0,p.A)(),_=(0,m.A)(E.breakpoints.down("sm")),f=(a.numToDisplay||6){let n="".concat(e,": ").concat(t),i=x.query.facets?x.query.facets.split(",").map(e=>{let[t,a]=e.split(":"),n=R[t.toUpperCase()].defaultMessage||t;return"".concat(n,": ").concat(a)}):[],o=x.query.term||x.query.searched,r=o?"keyword: ".concat(o):"";return(i.includes(n)&&(i=i.filter(e=>e!==n)),r&&i.length)?a?"".concat(n," >> ").concat(r," > ").concat(i.join(" > ")):"".concat(r," | ").concat(i.join(" | ")):r&&!i.length?a?"".concat(n," >> ").concat(r):"".concat(r):!r&&i.length?a?"".concat(n," >> ").concat(i.join(" > ")):i.join(" | "):a?n:void 0};return(0,n.jsxs)("div",{className:s.facetOptionsContainer,children:[a.options.slice(0,T).map((e,i)=>(0,n.jsx)("div",{className:_?s.optionRow:s.facetOption,children:_?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(k.A,{color:"primary",checked:!!e.selected,onChange:()=>{o({key:a.key,value:e.value,prefix:a.prefix}),(0,M.sendCSRFiltersEvent)({event:"filter_interaction",action:e.selected?"remove filter":"add filter",component:"left rail",elementType:"toggle",elementText:"".concat(e.value," (").concat(e.count,")"),coreEvent:"no",filterName:e.value,filterNameCount:"".concat(e.count),filterCategory:S,filterExisting:y(r,e.value,!1)})},disabled:t}),(0,n.jsxs)(g.A,{component:"span",children:[e.value," (",e.count,")"]})]}):(0,n.jsx)(P.A,{classes:{root:s.labelRoot,label:s.facetLabel},disabled:t,id:e.value,value:e.value,checked:!!e.selected,control:(0,n.jsx)(L.A,{"data-testid":"csr-facet-".concat(e.value),id:e.value,color:"primary",classes:{root:s.checkboxRoot},icon:(0,n.jsx)("span",{className:s.checkboxIcon}),checkedIcon:(0,n.jsx)("span",{className:l(s.checkboxIcon,s.checkboxIconChecked),children:(0,n.jsx)(B.A,{})}),onClick:()=>{o({key:a.key,value:e.value,prefix:a.prefix}),(0,M.sendCSRFiltersEvent)({event:"filter_interaction",action:e.selected?"remove filter":"add filter",component:"left rail",elementType:"checkbox",elementText:"".concat(e.value," (").concat(e.count,")"),coreEvent:"no",filterName:e.value,filterNameCount:"".concat(e.count),filterCategory:S,filterExisting:y(r,e.value,!1)})}}),label:(0,n.jsxs)("div",{className:s.facetOptionLabel,children:[(0,n.jsx)(h.A,{value:"".concat(e.value," (").concat(e.count,")")}),C&&W(e.value)]})})},i)),f&&(0,n.jsxs)(A.A,{className:s.expandFacetOptionsButton,onClick:()=>{u(!c),(0,M.sendCSRFiltersEvent)({event:"filter_interaction",action:c?"show less filters":"show more filters",component:"left rail",elementType:"accordion",elementText:c?"show less":"show more",coreEvent:"no",filterCategory:S,filterExisting:y(r,"",!1)})},"data-testid":"toggle-show-facet-options",children:[c?(0,n.jsx)(d.A,{...w.A.SHOW_LESS}):(0,n.jsx)(d.A,{...w.A.SHOW_MORE}),(0,n.jsx)(I.A,{className:l(s.expandFacetOptionsIcon,{[s.iconExpanded]:c})})]})]})};var G=a(343965),H=a(269139);let Y=(0,c.makeStyles)()(e=>({container:{paddingBottom:e.spacing(6),marginBottom:e.spacing(6),borderBottom:"1px solid ".concat(e.palette.grey[300]),[e.breakpoints.down("md")]:{display:"flex",paddingBottom:e.spacing(4),marginBottom:0,overflowX:"auto",WebkitOverflowScrolling:"touch",whiteSpace:"nowrap",gap:e.spacing(4),borderBottom:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},selectedContainer:{display:"flex",flexDirection:"row",justifyContent:"space-between",marginBottom:e.spacing(2),[e.breakpoints.down("md")]:{display:"none"}},selectedText:{fontWeight:e.typography.fontWeightBold},clearAll:{color:e.palette.primary.main,fontWeight:e.typography.fontWeightBold,cursor:"pointer"},selectedChipWrapper:{display:"inline-block",fontWeight:e.typography.fontWeightRegular,fontSize:e.typography.pxToRem(12),color:e.palette.text.primary,background:e.palette.primary.light,padding:e.spacing(2),borderRadius:"3px",marginBottom:e.spacing(2),marginRight:e.spacing(2),[e.breakpoints.up("md")]:{padding:e.spacing(1,1.5)}},selectedChipMobileWrapper:{[e.breakpoints.down("md")]:{display:"flex",padding:e.spacing(1,2,1,2),alignItems:"center",alignSelf:"stretch",border:"1px solid ".concat(e.palette.grey[500]),background:e.palette.common.white,borderRadius:"3px"}},closeBtn:{marginLeft:e.spacing(2),marginRight:"0 !important",fontSize:e.typography.pxToRem(10)},alignmentWrapper:{display:"flex",justifyContent:"center",[e.breakpoints.down("md")]:{fontSize:e.typography.pxToRem(12),lineHeight:"15px"}},facetMarkup:{marginRight:e.spacing(1)}})),V=e=>{let{facets:t,term:a,handleUpdateFacets:i,handleUpdateSearchTerm:o}=e,{classes:r,cx:s}=Y(),l=(0,b.rd)(),{formatMessage:c}=(0,S.A)(),u=(0,p.A)(),g=(0,m.A)(u.breakpoints.down("sm")),E=c({id:"YOU_SELECTED",defaultMessage:"You've Selected"}),_=e=>{let t=e?e.map(e=>{let t=R[e.key.toUpperCase()].defaultMessage||e.key;return"".concat(t,": ").concat(e.label)}):[],a=l.query.term||l.query.searched,n=a?"keyword: ".concat(a):"",i=t.length?t.join(" | "):"";if(n||i)return"".concat(n," ").concat(n&&i?" | ":""," ").concat(i)},A=(0,H.A)(t,e=>e.options.filter(e=>!!e.selected).map(t=>({key:e.key,label:t.value,prefix:e.prefix,count:t.count}))),f=t&&A.length>0,T=(null==a?void 0:a.length)?A.length+1:A.length;return f||(null==a?void 0:a.length)?(0,n.jsxs)("div",{className:s(r.container),children:[(0,n.jsxs)("div",{className:r.selectedContainer,children:[(0,n.jsx)("div",{className:r.selectedText,children:"".concat(E," (").concat(T,")")}),(0,n.jsx)("div",{className:r.clearAll,onClick:()=>{i({},!0)},role:"button",tabIndex:0,onKeyDown:()=>i({},!0),children:(0,n.jsx)(d.A,{id:"CLEAR_ALL",defaultMessage:"Clear All"})})]}),f&&A.map(e=>(0,n.jsx)("div",{className:s({[r.selectedChipWrapper]:!g,[r.selectedChipMobileWrapper]:g}),children:(0,n.jsxs)("div",{className:r.alignmentWrapper,children:[(0,n.jsx)("span",{children:(0,n.jsx)(h.A,{value:e.label})}),(0,n.jsx)(y.A,{className:r.closeBtn,onClick:()=>{i({key:e.key,value:e.label,prefix:e.prefix},!1);let t=A.filter(t=>t!==e);(0,M.sendCSRFiltersEvent)({event:"filter_interaction",action:"remove filter",component:"left rail",elementType:"icon",elementText:"".concat(e.label," (").concat(e.count,")"),coreEvent:"no",filterName:e.label,filterNameCount:"".concat(e.count),filterCategory:R[e.key.toUpperCase()].defaultMessage||e.key,filterExisting:_(t)})},children:(0,n.jsx)(G.A,{fontSize:"inherit",color:"primary"})})]})},"".concat(e.key,":").concat(e.label))),(null==a?void 0:a.length)?(0,n.jsx)("div",{className:s({[r.selectedChipWrapper]:!g,[r.selectedChipMobileWrapper]:g}),children:(0,n.jsxs)("div",{className:r.alignmentWrapper,children:[(0,n.jsx)("span",{children:(0,n.jsx)(h.A,{value:a})}),(0,n.jsx)(y.A,{className:r.closeBtn,onClick:()=>{o&&o("")},children:(0,n.jsx)(G.A,{fontSize:"inherit",color:"primary"})})]})}):null]}):null},z=e=>{let{loading:t,facets:a,openFacets:i=0,term:o,handleUpdateFacets:r,handleUpdateSearchTerm:s}=e,l=(0,S.A)(),d=(0,p.A)(),c=(0,m.A)(d.breakpoints.down("sm"));return(0,n.jsxs)(n.Fragment,{children:[!c&&(0,n.jsx)(V,{facets:a,handleUpdateFacets:r,term:o,handleUpdateSearchTerm:s}),a.map((e,a)=>{e.numToDisplay=6;let o=ae.selected)?e.isCollapsed=!0:e.isCollapsed=!1,s=R[e.key.toUpperCase()]?l.formatMessage(R[e.key.toUpperCase()]):e.key,d=R[e.key.toUpperCase()].defaultMessage||e.key,c=e.options.filter(e=>e.selected).length;return(0,n.jsx)(v,{loading:t,title:s,defaultExpanded:o,enTitleForAnalytics:d,count:c,children:(0,n.jsx)(U,{loading:t,facet:e,handleUpdateFacets:r,title:s})},e.key)})]})};var K=a(852413),q=a(226925),Z=a(206315),$=a(688700),J=a(635645),X=a(552263),Q=a(365824),ee=a(780491),et=a(175020),ea=a(52710);let en=(0,c.makeStyles)()(e=>({tBodyRow:{display:"flex",flexDirection:"column",padding:e.spacing(4,5),borderBottom:"1px solid ".concat(e.palette.grey[300]),"&:first-of-type":{borderTop:"1px solid ".concat(e.palette.grey[300])},"&:nth-of-type(2n)":{backgroundColor:e.palette.background.grey},[e.breakpoints.up("md")]:{display:"flex",flexDirection:"row",alignItems:"center",padding:e.spacing(1,0),"&:nth-of-type(2n)":{backgroundColor:"white"}},"& > div":{[e.breakpoints.up("md")]:{padding:e.spacing(2)}},"& a:hover":{textDecoration:"none"}},pricingExpanded:{backgroundColor:e.palette.background.grey,"&:nth-of-type(2n)":{backgroundColor:e.palette.background.grey}},productName:{cursor:"pointer",fontSize:e.typography.pxToRem(16),wordBreak:"break-all",marginTop:e.spacing(2),[e.breakpoints.up("md")]:{fontSize:e.typography.pxToRem(14),width:"30%",marginTop:2},"& a *":{wordBreak:"break-word"}},description:{marginTop:e.spacing(2),[e.breakpoints.up("md")]:{width:"38%",marginTop:2},"& sup, sub":{verticalAlign:"baseline",position:"relative",top:"-0.4em"},"& sub":{top:"0.1em"},"& a":{fontWeight:"normal",color:"inherit !important"},"& a:hover":{color:"".concat(e.palette.primary.main," !important")}},desc1attr:{[e.breakpoints.up("md")]:{width:"58%"}},desc2attr:{[e.breakpoints.up("md")]:{width:"42%"}},desc3attr:{[e.breakpoints.up("md")]:{width:"42%"}},attribute:{marginTop:e.spacing(3),[e.breakpoints.up("md")]:{marginTop:2}},attr1:{[e.breakpoints.up("md")]:{width:"18%"}},attr2:{[e.breakpoints.up("md")]:{width:"18%"}},attr3:{[e.breakpoints.up("md")]:{width:"12%"}},desktopPricing:{display:"none",backgroundColor:e.palette.background.grey,marginTop:-13,padding:e.spacing(0,2,1),borderBottom:"1px solid ".concat(e.palette.grey[300]),[e.breakpoints.up("md")]:{display:"block"},"& .MuiButton-containedPrimary":{color:"white","&:hover":{textDecoration:"none"}}},attributeKey:{fontSize:e.typography.pxToRem(12),fontWeight:e.typography.fontWeightBold,[e.breakpoints.up("md")]:{display:"none"}},emptyResult:{[e.breakpoints.up("md")]:{display:"none"}},pricingColumn:{[e.breakpoints.up("md")]:{width:"17%",textAlign:"right"}},productCheckbox:{fontSize:e.typography.pxToRem(16),wordBreak:"break-all",display:"none",[e.breakpoints.up("md")]:{display:"block",fontSize:e.typography.pxToRem(14),width:"10%",marginTop:2}},productCheckboxWAddlColumns:{[e.breakpoints.up("md")]:{width:"10%"}},productNumber:{fontSize:e.typography.pxToRem(16),wordBreak:"break-all",[e.breakpoints.up("md")]:{fontSize:e.typography.pxToRem(14),width:"12%",marginTop:2},"& > a":{color:"inherit !important",fontWeight:"normal"},"& a:hover":{color:"".concat(e.palette.primary.main," !important")}},productNumberWAddlColumns:{[e.breakpoints.up("md")]:{width:"12%"}},mobileViewPricing:{marginTop:e.spacing(3),[e.breakpoints.up("md")]:{display:"none"}},mobileViewPricingButton:{minWidth:0,padding:0},desktopViewPricing:{[e.breakpoints.down("md")]:{display:"none"}},expandPricingButton:{minWidth:0,padding:0,color:e.palette.primary.main,fontSize:e.typography.pxToRem(14),lineHeight:1.5,fontWeight:900},expandPricingIcon:{fontSize:e.typography.pxToRem(10),marginLeft:e.spacing(1),transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),marginTop:e.spacing(.5)},iconExpanded:{transform:"rotate(180deg)"}})),ei=e=>{var t;let{product:a,additionalColumns:o}=e,{formatMessage:r}=(0,S.A)(),[s,l]=(0,i.useState)(!1),[c,p]=(0,i.useState)(!1),u=o.length,[m,g]=(0,i.useState)(!1);(0,i.useEffect)(()=>g(!0),[]);let{compareProducts:E,addCompareProduct:_,removeCompareProduct:f}=(0,ee.Zn)(),T=E.some(e=>{let{productKey:t,brandKey:n}=e;return t===a.productKey&&n===a.brand.key}),C=!!m&&!T&&E.length>=ee.NN,x={productKey:a.productKey,productNumber:a.productNumber,brandKey:a.brand.key,images:a.images,productName:a.name,brandName:a.brand.name},{classes:y,cx:M}=en();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:M(y.tBodyRow,{[y.pricingExpanded]:s}),children:[(0,n.jsx)("div",{className:M(y.productCheckbox,{[y.productCheckboxWAddlColumns]:!!u}),children:(0,n.jsx)(Q.A,{name:"".concat(r(w.A.COMPARE),"-").concat(a.productNumber),checked:m&&T,onChange:e=>{e.target.checked?_(x):f(x)},"aria-label":"".concat(r(w.A.COMPARE)," ").concat(a.productNumber),disabled:C})}),(0,n.jsx)("div",{className:M(y.productNumber,{[y.productNumberWAddlColumns]:!!u}),children:a.brand.key&&a.productNumber?(0,n.jsx)(K.N,{...b.aR.index(a.brand.key,a.productKey),children:(0,n.jsx)("a",{children:a.productNumber.startsWith("CB_")?r(w.A.DETAILS):a.productNumber})}):(0,n.jsx)(n.Fragment,{children:a.productNumber.startsWith("CB_")?r(w.A.DETAILS):a.productNumber})}),(0,n.jsx)("div",{className:y.productName,children:(0,n.jsx)(K.N,{...b.aR.index(a.brand.key,a.productKey),children:(0,n.jsx)("a",{children:a.legalName||a.name?(0,n.jsx)("b",{children:(0,n.jsx)(h.A,{value:a.legalName||a.name})}):null})})}),(0,n.jsx)("div",{className:M(y.description,{[y.desc1attr]:1===u,[y.desc2attr]:2===u,[y.desc3attr]:3===u}),children:(0,n.jsx)(K.N,{...b.aR.index(a.brand.key,a.productKey),children:(0,n.jsx)("a",{children:a.legalNameSuffix||a.description?(0,n.jsx)(h.A,{value:a.legalNameSuffix||a.description}):null})})}),o.map(e=>{let t=a.attributes.find(t=>t.key===e.value);return(0,n.jsxs)("div",{className:M(y.attribute,{[y.attr1]:1===u,[y.attr2]:2===u,[y.attr3]:3===u}),children:[(0,n.jsx)("div",{className:y.attributeKey,children:e.text}),(null==t?void 0:t.values)&&(0,n.jsx)(Z.A,{values:t.values})]},e.value)}),(0,n.jsxs)("div",{className:y.pricingColumn,children:[(0,n.jsx)("div",{className:y.desktopViewPricing,children:(0,n.jsxs)(A.A,{className:y.expandPricingButton,onClick:()=>{l(e=>!e),(0,et.Sm)({action:s?"close p&a":"view p&a",section:"products",component:"list",elementType:"accordion",elementText:s?"hide":"view pricing",material:{materialDescription:a.name,brand:a.brand.key,product:a.productNumber}})},"data-testid":"toggle-show-pricing",children:[s?(0,n.jsx)(d.A,{...w.A.HIDE}):(0,n.jsx)(d.A,{id:"SUBSTANCE_VIEW_PRICING",defaultMessage:"View Pricing"}),(0,n.jsx)(I.A,{className:M(y.expandPricingIcon,{[y.iconExpanded]:s})})]})}),(0,n.jsx)("div",{className:y.mobileViewPricing,children:(0,n.jsx)(A.A,{className:y.mobileViewPricingButton,onClick:()=>p(!0),children:(0,n.jsx)(d.A,{id:"SUBSTANCE_VIEW_PRICING",defaultMessage:"View Pricing"})})})]})]}),s&&(0,n.jsx)("div",{className:M(y.desktopPricing),children:a.paMessage?(0,n.jsx)(X.Ay,{productNumber:a.productNumber,brandKey:a.brand.key,paMessage:a.paMessage}):(0,n.jsx)(ea.M,{source:"products",children:(0,n.jsx)(q.A,{productName:a.name,productNumber:a.productNumber,productDescription:null!==(t=a.description)&&void 0!==t?t:"",brandKey:a.brand.key,gaType:$.k9.ProductCategoryPage,isMarketplace:a.isMarketplace,marketplaceOfferId:a.marketplaceOfferId||"",marketplaceSellerId:a.marketplaceSellerId||"",productAttributes:a.attributes,displaySellerName:a.displaySellerName||""})})}),c&&(0,n.jsx)(J.A,{onClose:()=>{p(!1)},substanceName:a.name,productNumber:a.productNumber,productKey:a.productKey,brandKey:a.brand.key,description:a.description,isMarketplace:a.isMarketplace,marketplaceOfferId:a.marketplaceOfferId||"",marketplaceSellerId:a.marketplaceSellerId||"",productAttributes:a.attributes,displaySellerName:a.displaySellerName||""})]})};var eo=a(166791);let er=(0,c.makeStyles)()(e=>({tHeadRow:{display:"none",[e.breakpoints.up("md")]:{marginBottom:e.spacing(2),display:"flex",alignItems:"flex-end",fontSize:e.typography.pxToRem(12),fontWeight:e.typography.fontWeightBold,"& > div":{padding:e.spacing(0,2),lineHeight:1.3}}},productCompare:{[e.breakpoints.up("md")]:{width:"10%"}},productCompareWAddlColumns:{[e.breakpoints.up("md")]:{width:"10%"}},productNumber:{[e.breakpoints.up("md")]:{width:"12%"}},productNumberWAddlColumns:{[e.breakpoints.up("md")]:{width:"12%"}},productName:{[e.breakpoints.up("md")]:{width:"30%"}},description:{[e.breakpoints.up("md")]:{width:"38%"}},desc1attr:{[e.breakpoints.up("md")]:{width:"58%"}},desc2attr:{[e.breakpoints.up("md")]:{width:"42%"}},desc3attr:{[e.breakpoints.up("md")]:{width:"42%"}},attr1:{width:"18%"},attr2:{width:"18%"},attr3:{width:"12%"},pricing:{width:"17%",textAlign:"right"},mobileFilterSortContainer:{display:"block",[e.breakpoints.up("md")]:{display:"none"}}})),es=e=>{let{products:t,additionalColumns:a}=e,{classes:i,cx:o}=er(),r=a.length,s=a.find(e=>"composite dimension.default"===e.value);return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:i.tHeadRow,children:[(0,n.jsx)("div",{className:o(i.productCompare,{[i.productCompareWAddlColumns]:!!r}),children:(0,n.jsx)(d.A,{...w.A.COMPARE})}),(0,n.jsx)("div",{className:o(i.productNumber,{[i.productNumberWAddlColumns]:!!r}),children:(0,n.jsx)(d.A,{...w.A.PRODUCT_NUMBER})}),(0,n.jsx)("div",{className:o(i.productName),children:(0,n.jsx)(d.A,{...w.A.PRODUCT_NAME})}),(0,n.jsx)("div",{className:o(i.description,{[i.desc1attr]:1===r,[i.desc2attr]:2===r,[i.desc3attr]:3===r}),children:(0,n.jsx)(d.A,{...w.A.PRODUCT_DESCRIPTION})}),a.map(e=>(0,n.jsx)("div",{className:o({[i.attr1]:1===r,[i.attr2]:2===r,[i.attr3]:3===r}),children:s?(0,n.jsx)(d.A,{id:"COMPOSITE_DIMENSION",defaultMessage:"Composite Dimension"}):e.text},e.value)),(0,n.jsx)("div",{className:i.pricing,children:(0,n.jsx)(d.A,{...w.A.PRICING})})]}),(0,n.jsx)("div",{children:t.map(e=>"Product"!==e.__typename?null:(0,n.jsx)(ei,{product:e,additionalColumns:a},e.productNumber))}),(0,n.jsx)(eo.A,{isAemDrawer:!0})]})};var el=a(428888),ed=a(182897),ec=a(154431);function ep(){let e=(0,el._)(["\n fragment CategorySubstanceProductFields on Product {\n name\n displaySellerName\n productNumber\n productKey\n isMarketplace\n marketplaceOfferId\n marketplaceSellerId\n attributes {\n key\n label\n values\n }\n brand {\n key\n erpKey\n name\n color\n }\n images {\n altText\n smallUrl\n mediumUrl\n largeUrl\n }\n description\n paMessage\n legalName\n legalNameSuffix\n sdsLanguages\n sdsPnoKey\n}\n "]);return ep=function(){return e},e}function eu(){let e=(0,el._)(["\n fragment CategoryProductSearchFields on ProductSearchResults {\n metadata {\n itemCount\n page\n perPage\n numPages\n }\n items {\n ... on Product {\n ...CategorySubstanceProductFields\n }\n }\n facets {\n key\n numToDisplay\n isHidden\n isCollapsed\n multiSelect\n prefix\n options {\n value\n count\n }\n }\n}\n ",""]);return eu=function(){return e},e}function em(){let e=(0,el._)(["\n query CategoryProductSearch($searchTerm: String, $page: Int!, $perPage: Int!, $sort: Sort, $selectedFacets: [FacetInput!], $facetSet: [String]) {\n getProductSearchResults(\n input: {searchTerm: $searchTerm, pagination: {page: $page, perPage: $perPage}, sort: $sort, group: product, facets: $selectedFacets, facetSet: $facetSet}\n ) {\n ...CategoryProductSearchFields\n }\n}\n ",""]);return em=function(){return e},e}let eg={},eE=(0,ed.J1)(ep()),e_=(0,ed.J1)(eu(),eE),eA=(0,ed.J1)(em(),e_),ef={page:1,offset:30,sort:u.FU.Relevance,facets:{},term:"",searched:""},eT={FACETS:",",OPTION_SETS:":",OPTIONS:"*",URL_PREFIXES:"++",VALUE_PREFIXES:"++"},eh=(e,t)=>{let a=e.split(t);if(1===a.length){let[e]=a;return{nextOption:e}}{let[e,...n]=a;return{prefix:e,nextOption:n.join(t)}}},eC=e=>e?(Array.isArray(e)?e:e.split(eT.FACETS)).reduce((e,t)=>{let[a,n=""]=t.split(eT.OPTION_SETS);if(!n)return e[a]=[],e;let i=n.split(eT.OPTIONS).map(e=>{let{prefix:t,nextOption:a}=eh(e,eT.URL_PREFIXES);return t?"".concat(t).concat(eT.VALUE_PREFIXES).concat(a):a});return e[a]=i,e},{}):ef.facets,ex=e=>Object.keys(e).map(t=>{let a=e[t].map(e=>{let{prefix:t,nextOption:a}=eh(e,eT.VALUE_PREFIXES);return t?"".concat(t).concat(eT.URL_PREFIXES).concat(a):a}).join(eT.OPTIONS);return"".concat(t).concat(eT.OPTION_SETS).concat(a)}).join(eT.FACETS),eS=e=>void 0===e?"":Array.isArray(e)?e.join(","):e,ey=e=>{if(void 0===e)return;let t=eS(e);return Object.values(u.FU).find(e=>e===t)},eI=e=>{let t=parseInt((Array.isArray(e)?e[0]:e)+"",10);return isNaN(t)?0:t},eb=function(e){var t,a,n,i,o;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ef.sort,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ef.offset,l=null!==(t=eS(e.term))&&void 0!==t?t:null,d=null!==(a=eS(e.searched))&&void 0!==a?a:null,c=eI(null!==(n=e.page)&&void 0!==n?n:ef.page),p=eI(null!==(i=e.offset)&&void 0!==i?i:s);return{searchTerm:l,searchedFor:d,page:c,perPage:p,sort:null!==(o=ey(e.sort))&&void 0!==o?o:r,selectedFacets:eC(e.facets)}},eM=e=>e.reduce((e,t)=>{let{key:a,value:n}=t;return e[a]||(e[a]=[]),e[a].push(n),e},{}),eR=e=>t=>{let a=Object.keys(t).reduce((e,a)=>{let n=t[a],i="facets"===a,o=i&&0===Object.keys(n).length;return!n||o?e[a]&&delete e[a]:(i&&Array.isArray(n=ex(n))&&eM(n),e[a]=n),e},{...e.query});e.push({pathname:e.pathname,query:a},{pathname:e.pathname,query:a},{shallow:!0})},eN=(e,t)=>{let a=(0,b.rd)(),n=eR(a),{searchTerm:i,searchedFor:o,page:r,perPage:s,sort:l,selectedFacets:d}=eb(a.query,e,t);return{searchTerm:i,searchedFor:o,page:r,perPage:s,sort:l,selectedFacets:d,setQueryParams:n}};var ev=function(e){return e.SearchTerm="query",e.Page="page",e.PerPage="offset",e.Sort="sort",e.SelectedFacets="facets",e}({});let eP={items:[],facets:[],metadata:{itemCount:0,page:ef[ev.Page],perPage:ef[ev.PerPage],numPages:0}},eL=(e,t)=>{let[a,n]=(0,i.useState)(eP);return(0,i.useEffect)(()=>{t||e===eP||n(e)},[t,e]),a},eO={AUTHORED_FACET_OPTIONS:":",PREFIX:"/"},eF=(e,t)=>{let a={...e.reduce((e,t)=>{let[a,n]=t.split(eO.AUTHORED_FACET_OPTIONS);return e[a]?e[a].push(n):e[a]=[n],e},{}),...t};return Object.keys(a).map(e=>({key:e,options:a[e]}))},ej=e=>{if(!e)return e;let[t,...a]=e.split(eO.PREFIX);return 0===a.length?t:a.join(eO.PREFIX)},eB=e=>{var t;let{authorSelectedFacets:a=[],authorCuratedFacets:n=[],defaultSort:i,defaultPerPage:o}=e,{page:r,perPage:s,searchTerm:l,searchedFor:d,sort:c,selectedFacets:p,setQueryParams:u}=eN(i,o),{data:m,loading:g,error:E}=function(e){let t={...eg,...e};return ec.IT(eA,t)}({variables:{searchTerm:l,page:r,perPage:s,sort:c,selectedFacets:eF(a,p),facetSet:n}}),_=null!==(t=null==m?void 0:m.getProductSearchResults)&&void 0!==t?t:eP,A=eL(_,g),f=g?A:_,T=[...f.items],h=f.facets.map(e=>{var t;let a=null!==(t=p[e.key])&&void 0!==t?t:[],n=e.prefix?a.map(ej):a,i=e.options.map(e=>({...e,selected:n.includes(e.value)}));return{...e,options:i}}),{numPages:C,itemCount:x,page:S,perPage:y}=f.metadata,I=S*y;return{facets:h,products:T,error:E,loading:g,pageEnd:(x||0)(p[t].forEach(a=>{e.push({key:t,value:ej(a)})}),e),[]),updateSearchTerm:(e,t)=>u({term:e,page:1,searched:t}),updatePage:e=>u({page:e}),updateResultsPerPage:e=>u({perPage:e,page:1}),updateSort:e=>u({sort:e,page:1}),updateFacets:(e,t)=>{if(t){u({facets:{},page:1,term:""});return}let{key:a,value:n,prefix:i}=e,o={...p},r=o[a],s=i?"".concat(i).concat(n):n,l=r&&r.includes(s),d=[];if(l){let e=r.indexOf(n);(d=[...r]).splice(e,1)}else d=[n],r&&(d=r.concat(d));o[a]=i?d.map(e=>"".concat(i).concat(e)):d,0===d.length&&delete o[a],u({facets:o,page:1})},applyFacets:e=>{let t={};e.forEach(e=>{let a=e.prefix||"";t[e.key]=["".concat(a).concat(e.value)]}),u({facets:t,page:1,term:""})},applyMobileFacets:(e,t)=>{let a={...p};t.forEach(e=>{delete a[e]}),e.forEach(e=>{let{key:t,value:n,prefix:i}=e,o="".concat(null!=i?i:"").concat(n);a[t]||(a[t]=[]),a[t].includes(o)||a[t].push(o)}),Object.keys(a).forEach(e=>{0===a[e].length&&delete a[e]}),u({facets:a,page:1,term:""})}}};var ew=a(873500),ek=a(129740),eD=a(486024),eW=a(916652);let eU=(0,c.makeStyles)()(e=>({Container:{display:"flex",position:"relative",[e.breakpoints.up("md")]:{width:"20vw",maxWidth:"387px"},[e.breakpoints.down("md")]:{alignItems:"center",height:38,padding:e.spacing(1.75,4),gap:e.spacing(4),borderRadius:e.spacing(1.5),border:"1px solid ".concat(e.palette.grey[400]),backgroundColor:e.palette.common.white,boxSizing:"border-box"}},TextField:{borderRadius:e.shape.borderRadius,backgroundColor:e.palette.common.white,border:"none",boxShadow:"inset 0 0 0 1px ".concat(e.palette.grey["500"]),transition:"all .3s",height:32,boxSizing:"border-box",fontSize:e.typography.pxToRem(16),lineHeight:"32px",padding:"0 30px 0 12px",width:"100%",[e.breakpoints.up("md")]:{height:40,lineHeight:"40px"},[e.breakpoints.down("md")]:{height:24,lineHeight:e.spacing(6),flex:1,boxShadow:"none"},"&:hover:not($disabled)":{boxShadow:"inset 0 0 0 1px ".concat(e.palette.primary.main)},"&$error":{boxShadow:"inset 0 0 0 2px ".concat(e.palette.error.main),"&:hover":{boxShadow:"inset 0 0 0 2px ".concat(e.palette.error.main)},"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(e.palette.error.main)}}},divider:{width:1,height:20,backgroundColor:e.palette.grey[400],[e.breakpoints.down("md")]:{display:"block"},[e.breakpoints.up("md")]:{display:"none"}},searchIcon:{[e.breakpoints.down("md")]:{width:24,height:24}},Button:{position:"absolute",right:0,top:1,width:30,height:38,padding:0,paddingTop:3,border:0,background:"none",color:e.palette.primary.main,cursor:"pointer",[e.breakpoints.down("md")]:{position:"static",width:16,height:16,display:"flex",alignItems:"center",justifyContent:"center"}}})),eG=e=>{let{searchTerm:t,handleUpdateSearchTerm:a}=e,{classes:o}=eU(),{formatMessage:r}=(0,S.A)(),[s,l]=(0,i.useState)(t),d=(0,b.rd)(),c=(e,t)=>{let a="keyword: ".concat(e),n=d.query.facets?d.query.facets.split(",").map(e=>{let[t,a]=e.split(":"),n=R[t.toUpperCase()].defaultMessage||t;return"".concat(n,": ").concat(a)}):[];return t?n.length?a+" >> "+n.join(" > "):a:n.join(" | ")},p=e=>{a(null!=e?e:s),(e||s)&&(0,M.sendCSRFiltersEvent)({event:"filter_interaction",action:(null!=e?e:s)?"add filter":"remove filter",component:"top rail",elementType:"search box",coreEvent:"no",filterName:null!=e?e:s,filterExisting:c(null!=e?e:s,!1)})};return(0,n.jsxs)("div",{className:o.Container,children:[(0,n.jsx)("input",{className:o.TextField,onChange:e=>{l(e.target.value)},onKeyDown:e=>{"Enter"===e.key&&e.target.value&&(l(e.target.value),p(e.target.value))},placeholder:r(w.A.FILTER_BY_KEYWORD),value:s}),(0,n.jsx)("span",{className:o.divider}),(0,n.jsx)("button",{className:o.Button,onClick:()=>p(),children:(0,n.jsx)(eW.A,{className:o.searchIcon})})]})},eH=(0,c.makeStyles)()(e=>({modalBody:{flex:1,overflow:"scroll",padding:e.spacing(6,4)},modalFooter:{padding:e.spacing(6,4)},loading:{opacity:"50%"},radioGroup:{flexDirection:"column"},icon:{display:"flex",width:"24px",height:"24px",border:"1px solid ".concat(e.palette.grey[500]),borderRadius:"50%","& span":{margin:"auto",width:"14px",height:"14px",borderRadius:"50%",backgroundColor:e.palette.primary.main}},resultsCount:{fontWeight:e.typography.fontWeightMedium,marginLeft:e.spacing(1)}})),eY=e=>{let{loading:t,itemCount:a,handleClose:i,facets:o,sort:r,sortOptions:s,term:l,handleUpdateFacets:c,handleUpdateSort:p,handleUpdateSearchTerm:m}=e,{classes:E,cx:_}=eH(),f=(0,S.A)(),T=f.formatMessage({id:"SHOW_ALL_SELECTED_PRODUCTS",defaultMessage:"Show {count} Products"},{count:a});return(0,n.jsx)(eD.A,{open:!0,onClose:i,renderTitle:()=>(0,n.jsx)(g.A,{variant:"h2",component:"h2",children:(0,n.jsx)(d.A,{...w.A.FILTER_AND_SORT_HEADING})}),children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:_(E.modalBody,{[E.loading]:t}),children:[(0,n.jsx)(eG,{searchTerm:l,handleUpdateSearchTerm:m}),(0,n.jsx)(v,{loading:t,title:f.formatMessage(w.A.SORT_HEADING),children:(0,n.jsx)(ew.A,{row:!0,className:E.radioGroup,"aria-label":"sortOptions",name:"sortOptions",value:r,onChange:e=>{p(Object.values(u.FU).find(t=>t===e.target.value))},children:s.map((e,a)=>{let{value:i,label:o}=e;return(0,n.jsx)(P.A,{name:"sortOptionId",value:i,disabled:t,label:f.formatMessage(o),control:(0,n.jsx)(ek.A,{disableRipple:!0,disableTouchRipple:!0,disableFocusRipple:!0,icon:(0,n.jsx)("span",{className:E.icon}),checkedIcon:(0,n.jsx)("span",{className:E.icon,children:(0,n.jsx)("span",{})})})},a)})})}),(0,n.jsx)(z,{loading:t,facets:o,handleUpdateFacets:c})]}),(0,n.jsx)("div",{className:_(E.modalFooter,{[E.loading]:t}),children:(0,n.jsx)(A.A,{variant:"contained",color:"primary",size:"large",fullWidth:!0,disabled:t,onClick:i,children:(0,n.jsx)("span",{className:E.resultsCount,children:T})})})]})})};var eV=a(545484);let ez=(0,c.makeStyles)()(e=>({sortContainer:{width:250,padding:e.spacing(0,2),display:"flex",float:"left"}})),eK=e=>{let{loading:t,options:a,handleUpdateSort:i,value:o}=e,{classes:r}=ez(),s=(0,S.A)();return(0,n.jsx)("div",{className:r.sortContainer,children:(0,n.jsx)(eV.A,{value:o,onChange:e=>{i(Object.values(u.FU).find(t=>t===e.target.value))},size:"medium",menuMaxHeight:284,disabled:t,children:a.map((e,t)=>(0,eV.h)(t,e.value,s.formatMessage(e.label)))})})};var eq=a(266896),eZ=a(635247);let e$=(0,c.makeStyles)({name:"CSRPagination",uniqId:"CSRPAG01"})((e,t,a)=>({pageLabel:{display:"none",marginRight:e.spacing(3),"&.open":{"& svg":{transform:"rotate(180deg)",transition:"all 0.25s ease-in-out"}},[e.breakpoints.up("md")]:{display:"block"},"& span":{display:"inline-block",marginRight:"10px",color:e.palette.primary.main,fontWeight:900,cursor:"pointer","& > svg":{marginLeft:"10px"}}},buttonRoot:{height:44,width:44,[e.breakpoints.up("md")]:{height:32,width:32}},buttonOutlined:{borderColor:"".concat(e.palette.grey[500]," !important"),["&.".concat(a.buttonDisabled)]:{borderColor:"".concat(e.palette.grey[500]," !important")}},buttonDisabled:{},buttonIcon:{fontSize:e.typography.pxToRem(16),color:e.palette.primary.main,[e.breakpoints.up("md")]:{fontSize:e.typography.pxToRem(12)}},buttonIconDisabled:{color:e.palette.grey[500]},mobilePageCountLabel:{display:"flex",alignItems:"center",justifyContent:"space-between",border:"1px solid ".concat(e.palette.grey[500]),padding:e.spacing(0,4),minWidth:"160px",marginInline:"12px !important",borderRightColor:"".concat(e.palette.grey[500]," !important"),borderRadius:"5px !important",[e.breakpoints.up("md")]:{display:"none"}},dropdown:{listStyle:"outside none none",position:"absolute",background:e.palette.common.white,zIndex:1,borderRadius:"4px",padding:0,margin:"0",overflow:"hidden",minWidth:"214px",maxHeight:"0",top:"50px",left:"0",transition:"max-height 0.25s ease-in-out","&.open":{border:"solid 1px ".concat(e.palette.grey[500]),maxHeight:"130px",overflow:"hidden auto",[e.breakpoints.down("sm")]:{minWidth:"270px"}},"& > li":{display:"block",padding:".75rem",background:e.palette.common.white,cursor:"pointer","&:hover":{background:e.palette.primary.light},"& > a":{color:e.palette.common.black,fontWeight:"normal",display:"block"}},[e.breakpoints.up("md")]:{display:"block"}},pageLabelWrapper:{display:"flex",position:"relative",alignItems:"center"},countLabel:{textAlign:"left"},mobileContainer:{display:"inline-flex",["& .".concat(a.buttonRoot)]:{minWidth:40,border:"1px solid ".concat(e.palette.grey[500]),borderRadius:5,"&:not(:first-of-type)":{borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-of-type)":{borderTopRightRadius:0,borderBottomRightRadius:0}}}})),eJ=e=>{let{loading:t,handleUpdatePage:a,currentPage:o,numPages:r=0}=e,{classes:s,cx:l}=e$(),{formatMessage:c}=(0,S.A)(),[u,g]=(0,i.useState)(!1),E=(0,p.A)(),f=(0,m.A)(E.breakpoints.up("md")),T=(e,t,n)=>{a(e),g(!1),(0,M.sendNavigationInteractionEvent)({action:"pagination click",detail:"".concat(t," - page ").concat(e," of ").concat(r),section:"products",component:"body",elementType:n,elementText:"jump"===t?"page ".concat(e):void 0})},h=1===o,C=o===r,x=c({id:"PAGE",defaultMessage:"Page"}),y=c({id:"OF",defaultMessage:"of"});return(0,n.jsxs)("div",{className:s.pageLabelWrapper,children:[(0,n.jsxs)("div",{className:u?"".concat(s.pageLabel," open"):"".concat(s.pageLabel),children:[(0,n.jsxs)("span",{onClick:()=>g(!u),role:"button",tabIndex:0,onKeyDown:()=>g(!u),children:[x," ",o," ",(0,n.jsx)(I.A,{className:l(s.buttonIcon)})]})," ",y," ",r,(0,n.jsx)("ul",{className:u?"".concat(s.dropdown," open"):"".concat(s.dropdown),children:Array(r).fill(0).map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsxs)("a",{onClick:()=>T(t+1,"jump","drop-down"),role:"button",tabIndex:0,onKeyDown:()=>T(t+1,"jump","drop-down"),children:["Page ",t+1]})},"page".concat(t)))})]}),f?(0,n.jsxs)(_.A,{disableElevation:!0,disableFocusRipple:!0,disableRipple:!0,children:[(0,n.jsx)(A.A,{classes:{root:s.buttonRoot,outlined:s.buttonOutlined,disabled:s.buttonDisabled},disabled:t||h,onClick:()=>T(o-1,"previous","button"),children:(0,n.jsx)(eZ.A,{className:l(s.buttonIcon,{[s.buttonIconDisabled]:h})})}),(0,n.jsx)(A.A,{classes:{root:s.buttonRoot,outlined:s.buttonOutlined,disabled:s.buttonDisabled},disabled:t||C,onClick:()=>T(o+1,"next","button"),children:(0,n.jsx)(eq.A,{className:l(s.buttonIcon,{[s.buttonIconDisabled]:C})})})]}):(0,n.jsxs)("div",{className:s.mobileContainer,children:[(0,n.jsx)(A.A,{classes:{root:s.buttonRoot,outlined:s.buttonOutlined,disabled:s.buttonDisabled},disabled:t||h,onClick:()=>T(o-1,"previous","button"),children:(0,n.jsx)(eZ.A,{className:l(s.buttonIcon,{[s.buttonIconDisabled]:h})})}),(0,n.jsxs)("div",{className:u?"".concat(s.mobilePageCountLabel," open"):"".concat(s.mobilePageCountLabel),onClick:()=>g(!u),role:"button",tabIndex:0,onKeyDown:()=>g(!u),children:[(0,n.jsx)("div",{children:(0,n.jsx)(d.A,{id:"PAGINATION_OPTION_DISPLAY",defaultMessage:"Page {page} of {numberOfPages}",values:{page:o,numberOfPages:r}})}),(0,n.jsx)(I.A,{className:l(s.buttonIcon)}),(0,n.jsx)("ul",{className:u?"".concat(s.dropdown," open"):"".concat(s.dropdown),children:Array(r).fill(0).map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsxs)("a",{onClick:()=>T(t+1,"jump","drop-down"),role:"button",tabIndex:0,onKeyDown:()=>T(t+1,"jump","drop-down"),children:["Page ",t+1]})},"page".concat(t)))})]}),(0,n.jsx)(A.A,{classes:{root:s.buttonRoot,outlined:s.buttonOutlined,disabled:s.buttonDisabled},disabled:t||C,onClick:()=>T(o+1,"next","button"),children:(0,n.jsx)(eq.A,{className:l(s.buttonIcon,{[s.buttonIconDisabled]:C})})})]})]})};var eX=a(411944),eQ=a.n(eX),e0=a(62084);let e2=(0,c.makeStyles)()(e=>({mobileViewPricing:{marginTop:e.spacing(3),width:"100%"},mobileViewPricingButton:{width:"100%",height:40,padding:e.spacing(2,6),display:"flex",alignItems:"center",justifyContent:"center",borderRadius:e.typography.pxToRem(5),border:"1px solid ".concat(e.palette.primary.main),backgroundColor:e.palette.common.white,color:e.palette.primary.main,fontWeight:600,fontSize:e.typography.pxToRem(14),textTransform:"none","&:hover":{backgroundColor:e.palette.action.hover}}})),e1=e=>{let{product:t}=e,[a,o]=(0,i.useState)(!1),{classes:r}=e2();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:r.mobileViewPricing,children:(0,n.jsx)(A.A,{className:r.mobileViewPricingButton,onClick:()=>o(!0),children:(0,n.jsx)(d.A,{id:"VIEW_PRICE",defaultMessage:"View Price"})})}),a&&(0,n.jsx)(J.A,{onClose:()=>{o(!1)},substanceName:t.name,productNumber:t.productNumber,productKey:t.productKey,brandKey:t.brand.key,description:t.description,isMarketplace:t.isMarketplace,marketplaceOfferId:t.marketplaceOfferId||"",marketplaceSellerId:t.marketplaceSellerId||"",productAttributes:t.attributes,displaySellerName:t.displaySellerName||"",isPLPBuyNow:!0})]})},e4=(0,c.makeStyles)()(e=>({Card:{margin:0,border:"1px solid ".concat(e.palette.grey["400"]),padding:e.spacing(4),borderRadius:e.typography.pxToRem(5),display:"flex",flexDirection:"column",justifyContent:"flex-start",flex:1,minHeight:"344px",[e.breakpoints.down("sm")]:{border:"none",padding:e.spacing(2)}},CardContainer:{display:"inline-flex",paddingBottom:e.spacing(4)},checkboxIcon:{border:"1px solid ".concat(e.palette.grey[500]),borderRadius:3,width:18,height:18,fontSize:e.typography.pxToRem(4),[e.breakpoints.up("md")]:{width:18,height:18}},checkboxIconChecked:{"& svg":{fontSize:e.typography.pxToRem(10)}},facetOptionLabel:{display:"inline-flex","& svg":{fontSize:e.typography.pxToRem(28),marginLeft:e.spacing(2),marginTop:e.spacing(.5),color:e.palette.secondary.main},"& sup, sub":{verticalAlign:"baseline",position:"relative",top:"-0.4em"},"& sub":{top:"0.1em"}},imageWrap:{textAlign:"center","& > img":{maxWidth:"94.13px",maxHeight:"94.13px",aspectRatio:"1/1",objectFit:"contain"},[e.breakpoints.down("sm")]:{border:"1px solid ".concat(e.palette.grey[300]),borderRadius:e.typography.pxToRem(4),marginBottom:0,"& img":{width:"98%",height:"98%",maxWidth:"none",maxHeight:"none",objectFit:"contain"}}},productNumber:{fontSize:e.typography.pxToRem(12),fontWeight:e.typography.fontWeightBold,textTransform:"uppercase",margin:"".concat(e.spacing(1,0)),color:e.palette.primary.main,[e.breakpoints.down("sm")]:{"&&":{fontSize:e.typography.pxToRem(14),lineHeight:e.typography.pxToRem(20),margin:"".concat(e.spacing(2,0))}}},productName:{maxHeight:66,fontSize:e.typography.pxToRem(16),fontWeight:e.typography.fontWeightBold,lineHeight:1.13,marginBottom:"".concat(e.spacing(1)," !important"),"& sup, sub":{verticalAlign:"baseline",position:"relative",top:"-0.4em"},"& sub":{top:"0.1em"},[e.breakpoints.down("sm")]:{"&&":{fontSize:e.typography.pxToRem(14),lineHeight:e.typography.pxToRem(20),marginBottom:e.spacing(.75)}}},productDescription:{fontSize:e.typography.pxToRem(14),lineHeight:1.43,marginBottom:"".concat(e.spacing(2)," !important"),minHeight:e.typography.pxToRem(60),[e.breakpoints.down("sm")]:{fontSize:e.typography.pxToRem(12),lineHeight:e.typography.pxToRem(15),minHeight:"auto"}},clampLines:{display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden",wordBreak:"break-word",textOverflow:"ellipsis",WebkitLineClamp:3},productCheckbox:{fontSize:e.typography.pxToRem(16),wordBreak:"break-all",display:"none",[e.breakpoints.up("md")]:{display:"block",fontSize:e.typography.pxToRem(14),marginTop:2}},cardFooter:{marginTop:"auto",paddingTop:e.typography.pxToRem(4)}})),e6=e=>{let{product:t}=e,{formatMessage:a}=(0,S.A)(),[o,r]=(0,i.useState)(!1),s=(0,p.A)(),l=(0,m.A)(s.breakpoints.down("sm"));(0,i.useEffect)(()=>r(!0),[]);let{compareProducts:c,addCompareProduct:u,removeCompareProduct:_}=(0,ee.Zn)(),A=c.some(e=>{let{productKey:a,brandKey:n}=e;return a===t.productKey&&n===t.brand.key}),f=!!o&&!A&&c.length>=ee.NN,T={productKey:t.productKey,productNumber:t.productNumber,brandKey:t.brand.key,images:t.images,productName:t.name,brandName:t.brand.name},{classes:h,cx:C}=e4();return(0,n.jsx)(E.A,{className:h.CardContainer,xs:6,sm:6,md:4,children:(0,n.jsxs)("figure",{className:h.Card,children:[(0,n.jsx)("div",{className:C(h.productCheckbox),children:(0,n.jsx)(Q.A,{name:"".concat(a(w.A.COMPARE),"-").concat(t.productNumber),checked:o&&A,onChange:e=>{e.target.checked?u(T):_(T)},"aria-label":"".concat(a(w.A.COMPARE)," ").concat(t.productNumber),disabled:f,label:"".concat(a(w.A.COMPARE))})}),(0,n.jsx)("div",{className:h.imageWrap,children:(0,n.jsx)("img",{src:t.images[0].mediumUrl,alt:t.name})}),t.brand.key&&t.productNumber?(0,n.jsx)(K.N,{...b.aR.index(t.brand.key,t.productKey),children:(0,n.jsx)("a",{className:h.productNumber,children:t.productNumber.startsWith("CB_")?a(w.A.DETAILS):t.productNumber})}):(0,n.jsx)(n.Fragment,{children:t.productNumber.startsWith("CB_")?a(w.A.DETAILS):t.productNumber}),(0,n.jsx)(g.A,{className:C(h.productName,h.clampLines),children:(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:eQ().sanitize(t.legalName||t.name||"")}})}),(0,n.jsx)(g.A,{className:C(h.productDescription,h.clampLines),children:(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:eQ().sanitize((null==t?void 0:t.legalNameSuffix)||(null==t?void 0:t.description)||"")}})}),l?(0,n.jsx)("div",{className:h.cardFooter,children:(0,n.jsx)(e1,{product:t})}):(0,n.jsx)(e0.A,{product:t,focus:"",sourceString:"products",typeButtonText:(0,n.jsx)(d.A,{id:"QUICK_VIEW",defaultMessage:"Quick View"}),ga4Payload:{component:"grid",elementType:"button",elementText:"quick view"}})]})})};var e8=a(627719);let e3=(0,c.makeStyles)()(e=>({sectionWrapper:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3),[e.breakpoints.between("sm","md")]:{paddingLeft:e.spacing(5),paddingRight:e.spacing(5)}}})),e7=e=>{let{products:t}=e,a=(0,m.A)(e8.w.breakpoints.up("md")),i=(0,m.A)(e8.w.breakpoints.between("sm","md")),o=(0,m.A)(e8.w.breakpoints.down("sm")),{classes:r}=e3();return(0,n.jsxs)(E.A,{container:!0,spacing:a?10:3*!!i,className:o?r.sectionWrapper:"",children:[t.map(e=>"Product"!==e.__typename?null:(0,n.jsx)(e6,{product:e},e.productNumber)),(0,n.jsx)(eo.A,{isAemDrawer:!0})]})};var e5=a(147801),e9=a(263459),te=a(457717),tt=a(89099),ta=a(608288),tn=a(317685),ti=a(251996),to=a(840002);let tr=e=>{var t;let a=(0,tt.useRouter)(),n=null===(t=(0,ta.yp)(a.asPath).afterBasename)||void 0===t?void 0:t.split("?")[0],{userSession:o}=(0,tn.j)(),{getCountryProp:r}=(0,ti.Y)(),[s]=(0,i.useState)((0,e5.Fo)(e));if(!s)return{model:"0"};let l=null==s?void 0:s.type,d="catPageBestSellersAPI"===l?to.j.BestSellers:to.j.NewArrivals,c=r(o.country,"regionCode"),p=function(e){switch(e){case"/products/industrial-microbiology/microbial-identification-tests":return"S863";case"/products/analytical-chemistry/analytical-chromatography/hplc-columns":return"S151";case"/products/labware/cell-culture-and-cryogenics/millicell-cell-culture-inserts-and-plates":return"S372";case"/products/filtration/laboratory-syringe-filters/millex-syringe-filters":return"S366";case"/products/cell-culture-and-analysis/cell-culture-supplements-and-reagents/cell-freezing-reagents":return"S315";case"/products/cell-culture-and-analysis/cell-culture-supplements-and-reagents/fbs":return"S324";case"/products/materials-science/biomedical-materials/3d-bioprinting":return"S307";case"/products/industrial-microbiology/microbial-culture-media":return"S194";case"/products/molecular-biology-and-functional-genomics/roche-life-science-products":return"S348";case"/products/protein-biology/protein-sample-prep/flag-purification":return"S402";case"/products/chemistry-and-biochemicals/biochemicals/metabolism-assay-kits":return"S241";case"/products/labware/labware-partners/cytiva":return"S395";case"/products/materials-science/energy-materials/high-purity-salts":return"S280";case"/products/pharma-and-biopharma-manufacturing/formulation/liquid-formulation":return"S138";case"/products/pharma-and-biopharma-manufacturing/formulation/biomolecule-formulation":return"S140";case"/products/pharma-and-biopharma-manufacturing/formulation/injectables-parenteral-formulations":return"CP007";case"/products/cell-culture-and-analysis/cell-culture-supplements-and-reagents/albumins-and-transport-proteins":return"S319";case"/products/industrial-microbiology/microbial-filtration":return"S198";case"/products/industrial-microbiology/sterility-testing-consumables-media-and-filtration":return"S199";default:return"0"}}(n||"0");return"0"===p||"catPageNewProductsAPI"===l?{model:p,carouselTitle:d,carouselEndpoint:l}:{model:"".concat(p,"_").concat({AP:"APAC",EU:"EMEA",AF:"EMEA",SA:"LATAM"}[c]||c),carouselTitle:d,carouselEndpoint:l}};var ts=a(245756),tl=a(105358);let td=(0,c.makeStyles)()(e=>({text:{display:"inline-block"},button:{marginTop:e.spacing(4),marginBottom:e.spacing(4)},headline:{marginBottom:e.spacing(5)},subHeadline:{marginTop:e.spacing(5),borderTop:"1px solid ".concat(e.palette.grey[300])},facets:{marginBottom:e.spacing(2),[e.breakpoints.down("sm")]:{width:120}},search:{marginRight:e.spacing(2)},sort:{marginLeft:e.spacing(2)},headerRow:{fontSize:e.typography.pxToRem(12),fontWeight:900},tableRow:{borderTop:"1px solid ".concat(e.palette.grey[300]),padding:e.spacing(0,5,0,0),[e.breakpoints.down("sm")]:{padding:e.spacing(5,0)}},divider:{marginLeft:0,border:"none",borderTop:"1px solid ".concat(e.palette.grey[300]),width:"90%"},mGridText:{lineHeight:.5},gridRowParent:{display:"inline-flex",padding:e.spacing(5)},gridRow:{border:"1px solid ".concat(e.palette.grey[400]),minHeight:344,padding:e.spacing(4),borderRadius:e.typography.pxToRem(6),display:"flex",flex:1,flexDirection:"column",justifyContent:"flex-start",alignItems:"center"},width25:{width:"25%"}}));var tc=function(e){return e[e.grid=0]="grid",e[e.list=1]="list",e}(tc||{});let tp=e=>{let{view:t=1}=e,{classes:a}=td(),o=(0,p.A)();return(0,m.A)(o.breakpoints.down("md"))?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(g.A,{variant:"h2",children:"Products"}),(0,n.jsx)(E.A,{container:!0,children:Array(10).fill({}).map((e,t)=>(0,n.jsx)(E.A,{xs:12,className:a.tableRow,children:[,,,,].fill({}).map((e,t)=>(0,n.jsx)(i.Fragment,{children:(0,n.jsx)(E.A,{className:a.mGridText,children:(0,n.jsx)(tl.A,{variant:"text",width:"100%",height:30,className:a.text,animation:"wave"})})},t))},t))})]}):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(ts.A,{mt:6,children:(0,n.jsxs)(E.A,{container:!0,children:[(0,n.jsxs)(E.A,{sm:3,xs:6,children:[(0,n.jsx)(g.A,{variant:"h2",children:"Products"}),[,,,,].fill({}).map((e,t)=>(0,n.jsxs)(i.Fragment,{children:[(0,n.jsx)(tl.A,{variant:"text",width:"85%",height:40,className:a.subHeadline,animation:"wave"}),(0,n.jsx)("hr",{className:a.divider}),[,,,,,].fill({}).map((e,t)=>(0,n.jsx)(tl.A,{variant:"text",width:"50%",height:30,className:a.facets,animation:"wave"},t))]},t))]}),(0,n.jsxs)(E.A,{sm:9,xs:6,children:[(0,n.jsxs)(E.A,{container:!0,children:[(0,n.jsx)(E.A,{sm:3,className:a.width25,children:(0,n.jsx)(tl.A,{variant:"text",width:"100%",height:60,className:a.search,animation:"wave"})}),(0,n.jsx)(E.A,{sm:3,className:a.width25,children:(0,n.jsx)(tl.A,{variant:"text",width:"85%",height:60,className:a.sort,animation:"wave"})}),(0,n.jsx)(E.A,{sm:3,className:a.width25}),(0,n.jsx)(E.A,{sm:3,className:a.width25,children:(0,n.jsx)(tl.A,{variant:"text",width:"75%",height:60,className:a.text,animation:"wave"})})]}),(0,n.jsx)(E.A,{container:!0,children:1===t?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(E.A,{sm:2,className:a.headerRow,children:"Compare"}),(0,n.jsx)(E.A,{sm:3,className:a.headerRow,children:"Product Number"}),(0,n.jsx)(E.A,{sm:3,className:a.headerRow,children:"Product Name"}),(0,n.jsx)(E.A,{sm:2,className:a.headerRow,children:"Product Description"}),(0,n.jsx)(E.A,{sm:2,className:a.headerRow,children:"Pricing"}),Array(20).fill({}).map((e,t)=>(0,n.jsxs)(i.Fragment,{children:[(0,n.jsx)(E.A,{sm:2,className:a.tableRow,children:(0,n.jsx)(tl.A,{variant:"text",width:"100%",height:40,className:a.text,animation:"wave"})}),(0,n.jsx)(E.A,{sm:3,className:a.tableRow,children:(0,n.jsx)(tl.A,{variant:"text",width:"100%",height:40,className:a.text,animation:"wave"})}),(0,n.jsx)(E.A,{sm:3,className:a.tableRow,children:(0,n.jsx)(tl.A,{variant:"text",width:"100%",height:40,className:a.text,animation:"wave"})}),(0,n.jsx)(E.A,{sm:2,className:a.tableRow,children:(0,n.jsx)(tl.A,{variant:"text",width:"100%",height:40,className:a.text,animation:"wave"})}),(0,n.jsx)(E.A,{sm:2,className:a.tableRow,children:(0,n.jsx)(tl.A,{variant:"text",width:"100%",height:40,className:a.text,animation:"wave"})})]},t))]}):(0,n.jsx)(n.Fragment,{children:[,,,,,].fill({}).map((e,t)=>(0,n.jsx)(i.Fragment,{children:[,,,].fill({}).map((e,t)=>(0,n.jsx)(E.A,{sm:4,className:a.gridRowParent,children:(0,n.jsxs)("div",{className:a.gridRow,children:[(0,n.jsx)(tl.A,{variant:"rectangular",width:"60%",height:130,animation:"wave",style:{marginBottom:12}}),(0,n.jsx)(tl.A,{variant:"text",width:"100%",height:30,animation:"wave"}),(0,n.jsx)(tl.A,{variant:"text",width:"100%",height:30,animation:"wave"}),(0,n.jsx)(tl.A,{variant:"text",width:"100%",height:30,animation:"wave",style:{marginBottom:12}}),(0,n.jsx)(tl.A,{variant:"text",width:"100%",height:60,animation:"wave"})]})},t))},t))})})]})]})})})};var tu=a(275584);let tm=(0,c.makeStyles)()(e=>({container:{display:"flex",flexDirection:"column",gap:e.spacing(4),[e.breakpoints.up("md")]:{paddingBottom:e.spacing(8)}},facetsContainer:{display:"flex",gap:e.spacing(2),overflowX:"auto",width:"100%",height:e.spacing(10),WebkitOverflowScrolling:"touch",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},tabCapsuleFilter:{flexShrink:0,borderRadius:e.spacing(10),border:"1px solid ".concat(e.palette.primary.main),background:e.palette.common.white,padding:e.spacing(2,4),whiteSpace:"nowrap",textTransform:"none",minWidth:"auto"},tabCapsule:{flexShrink:0,borderRadius:e.spacing(10),border:"1px solid ".concat(e.palette.grey[400]),background:e.palette.common.white,padding:e.spacing(2,4),whiteSpace:"nowrap",textTransform:"none",color:e.palette.common.black,width:"fit-content",minWidth:"unset",[e.breakpoints.up("md")]:{"&:hover":{borderColor:e.palette.primary.main,backgroundColor:"".concat(e.palette.primary.light)}}},active:{borderColor:e.palette.common.black,fontWeight:e.typography.fontWeightMedium,backgroundColor:e.palette.primary.light},mobileFilterIcon:{fontSize:e.typography.pxToRem(24)},contentHeader:{letterSpacing:"0.14px",textTransform:"capitalize"},filterContainer:{display:"flex",flexDirection:"column",gap:e.spacing(4),marginTop:e.spacing(-2.5)}})),tg=e=>{let{facets:t,onFacetSelect:a,onFilterClick:i,popularFilter:o,onPopularFilterSelect:r,filterHeader:s,selectedFacets:l,handleUpdateFacets:c,term:u,handleUpdateSearchTerm:E}=e,{classes:_,cx:f}=tm(),T=(0,S.A)(),h=(0,p.A)(),C=(0,m.A)(h.breakpoints.down("md")),x=e=>{var t;return null===(t=e.options)||void 0===t?void 0:t.some(e=>e.selected)},y=(null==l?void 0:l.length)||0,I=null!=o?o:[],b=I.length>0,M=e=>{let t=e.split("facets=")[1];return t?decodeURIComponent(t).replace(/\+/g," ").split(",").flatMap(e=>{let[t,a]=e.split(":");return t&&a?a.split("+").map(e=>({key:t,value:e,prefix:null})):[]}):[]},N=e=>M(e).some(e=>null==l?void 0:l.some(t=>t.key===e.key&&t.value===e.value)),v=e=>{let t=e.match(/[?&]term=([^&]+)/);return t?decodeURIComponent(t[1]):null},P=e=>{let t=M(e),a=v(e);r(t),a&&E(a)},L=e=>{let t=!!C&&N(e.url);return(0,n.jsx)(A.A,{className:f(_.tabCapsule,{[_.active]:t}),onClick:()=>P(e.url),children:e.label},e.url)};return(0,n.jsxs)("div",{className:_.container,children:[C?(0,n.jsxs)("div",{className:_.facetsContainer,children:[(0,n.jsx)(A.A,{className:_.tabCapsuleFilter,startIcon:(0,n.jsx)(tu.A,{className:_.mobileFilterIcon,fontSize:"inherit",color:"primary"}),onClick:()=>{i()},children:y>0?y:(0,n.jsx)(d.A,{id:"FILTER",defaultMessage:"Filter"})}),b?(0,n.jsxs)(n.Fragment,{children:[" ",I.map(L)," "]}):(0,n.jsx)(n.Fragment,{children:t.map(e=>{let t=R[e.key.toUpperCase()]?T.formatMessage(R[e.key.toUpperCase()]):e.key,i=x(e);return(0,n.jsx)(A.A,{className:f(_.tabCapsule,{[_.active]:i}),onClick:()=>{a(e.key)},children:t},e.key)})})]}):b?(0,n.jsxs)("div",{className:_.filterContainer,children:[(0,n.jsx)(g.A,{component:"h3",className:_.contentHeader,children:s}),(0,n.jsx)("div",{className:_.facetsContainer,children:I.map(L)})]}):null,C&&(0,n.jsx)(V,{facets:t,handleUpdateFacets:c,term:u,handleUpdateSearchTerm:E})]})};var tE=a(182074);let t_=(0,c.makeStyles)()(e=>({facetHeader:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:e.spacing(6)},titleMain:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(18),fontWeight:e.typography.fontWeightBold,color:e.palette.common.black,padding:e.spacing(.75)},closeIcon:{width:e.typography.pxToRem(13.314),height:e.typography.pxToRem(13.314),color:e.palette.common.black,cursor:"pointer",marginRight:e.spacing(1)},optionContainer:{flex:1,display:"flex",flexDirection:"column",overflowY:"auto",paddingBottom:e.spacing(16),overscrollBehavior:"contain",gap:e.spacing(2)},optionRow:{flex:1,display:"flex",alignItems:"center",padding:e.spacing(2,0),height:e.spacing(12),gap:e.spacing(2),boxSizing:"border-box",[e.breakpoints.down("md")]:{maxHeight:e.spacing(12)}},footer:{position:"sticky",backgroundColor:e.palette.common.white,zIndex:e.zIndex.appBar},showButton:{height:"48px",padding:e.spacing(1,3),borderRadius:e.typography.pxToRem(5),textTransform:"none",fontWeight:e.typography.fontWeightMedium},loading:{opacity:"50%",pointerEvents:"none"}})),tA=e=>{var t,a,o,r;let{loading:s,open:l,facet:d,onClose:c,applyMobileFacets:u}=e;if(!d)return null;let{classes:m}=t_(),E=(0,S.A)(),_=(0,p.A)(),[f,T]=(0,i.useState)({}),[h,C]=(0,i.useState)(new Set),x=R[d.key.toUpperCase()]?E.formatMessage(R[d.key.toUpperCase()]):d.key,y=e=>{C(e=>new Set(e).add(d.key)),T(t=>{var a;let n=null!==(a=t[d.key])&&void 0!==a?a:[],i=n.includes(e)?n.filter(t=>t!==e):[...n,e];return{...t,[d.key]:i}})},I=null!==(o=null==d?void 0:null===(t=d.options)||void 0===t?void 0:t.filter(e=>{var t;return null===(t=f[d.key])||void 0===t?void 0:t.includes(e.value)}).reduce((e,t)=>e+t.count,0))&&void 0!==o?o:0,b=null!==(r=null==d?void 0:null===(a=d.options)||void 0===a?void 0:a.reduce((e,t)=>e+t.count,0))&&void 0!==r?r:0;(0,i.useEffect)(()=>{if(!l||!d)return;let e=d.options.filter(e=>e.selected).map(e=>e.value);T({[d.key]:e})},[l,d]);let M=E.formatMessage({id:"SHOW_ALL_SELECTED_PRODUCTS",defaultMessage:"Show {count} Products"},{count:I}),N=E.formatMessage({id:"SHOW_ALL_PRODUCTS",defaultMessage:"Show All Products"});return(0,n.jsxs)(tE.Ay,{anchor:"bottom",open:l,onClose:c,PaperProps:{sx:{height:"400px",padding:"16px",boxSizing:"border-box",overflowY:"auto",borderRadius:"5px 5px 0 0",boxShadow:"0 0 8px 0 ".concat(_.palette.grey[700]),border:"1px solid ".concat(_.palette.grey[400])}},hideBackdrop:!0,children:[(0,n.jsxs)("div",{className:m.facetHeader,children:[(0,n.jsxs)(g.A,{variant:"h6",className:m.titleMain,children:[x," (",b,")"]}),(0,n.jsx)(G.A,{className:m.closeIcon,onClick:c})]}),(0,n.jsx)("div",{className:m.optionContainer,children:null==d?void 0:d.options.map(e=>{var t,a;return(0,n.jsxs)("div",{className:m.optionRow,children:[(0,n.jsx)(k.A,{color:"primary",checked:null!==(a=null===(t=f[d.key])||void 0===t?void 0:t.includes(e.value))&&void 0!==a&&a,onChange:()=>y(e.value),disabled:s}),(0,n.jsxs)(g.A,{component:"span",children:[e.value," (",e.count,")"]})]},e.value)})}),(0,n.jsx)("div",{className:m.footer,children:(0,n.jsx)(A.A,{fullWidth:!0,variant:"contained",color:"primary",onClick:()=>{u(f[d.key].map(e=>({key:d.key,value:e,prefix:null})),Array.from(h)),c()},className:m.showButton,disabled:s,children:I>0?M:N})})]})},tf=(0,i.createContext)({isHalfGatedContentActive:!1,setIsHalfGatedContentActive:()=>void 0,isBuyAgainEmpty:!1,setIsBuyAgainEmpty:()=>void 0,showHorizontaltabLoader:!1,setShowHorizontaltabLoader:()=>void 0,isRecentlyViewed:!1,setIsRecentlyViewed:()=>void 0,isCSRFilter:!1,setIsCSRFilter:()=>void 0}),tT=e=>{let{children:t}=e,[a,o]=(0,i.useState)(!1),[r,s]=(0,i.useState)(!1),[l,d]=(0,i.useState)(!1),[c,p]=(0,i.useState)(!1),[u,m]=(0,i.useState)(!1);return(0,n.jsx)(tf.Provider,{value:{isHalfGatedContentActive:a,setIsHalfGatedContentActive:o,isBuyAgainEmpty:r,setIsBuyAgainEmpty:s,showHorizontaltabLoader:l,setShowHorizontaltabLoader:d,isRecentlyViewed:c,setIsRecentlyViewed:p,isCSRFilter:u,setIsCSRFilter:m},children:t})},th=(0,c.makeStyles)()(e=>({productSearchWrapper:{display:"flex",fontSize:e.typography.pxToRem(14)},productSearchWrapperLoading:{opacity:"40%"},facetsWrapper:{display:"none",[e.breakpoints.up("md")]:{display:"block",width:270,paddingRight:e.spacing(8),marginTop:e.spacing(2)}},mobileFacetTabWrapper:{width:"100%",overflowY:"hidden",position:"relative"},stickyFacetFilters:{[e.breakpoints.down("md")]:{position:"sticky",top:0,width:"calc(100% + 40px)",marginLeft:e.spacing(-5),paddingLeft:e.spacing(5),paddingTop:e.spacing(4),overflowY:"hidden",zIndex:e.zIndex.appBar,background:e.palette.common.white,boxShadow:"0 0 8px 0 ".concat(e.palette.grey[700])}},stickyPopularFilters:{[e.breakpoints.down("md")]:{paddingTop:e.spacing(10)}},resultsWrapper:{flex:1,margin:e.spacing(0,-5),[e.breakpoints.up("md")]:{margin:0}},actionsRow:{display:"flex",flexDirection:"column-reverse",[e.breakpoints.up("md")]:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:e.spacing(8)}},searchInput:{padding:e.spacing(0,2,0,0)},resultsCount:{padding:e.spacing(4,5,4),[e.breakpoints.up("md")]:{padding:e.spacing(0,0,0,2)}},topActions:{},desktopActions:{display:"none",[e.breakpoints.up("md")]:{display:"block"}},mobileActions:{display:"block",[e.breakpoints.up("md")]:{display:"none"}},mobileFilterTrigger:{margin:e.spacing(0,5,4)},mobileFilterIcon:{fontSize:e.typography.pxToRem(24),marginRight:e.spacing(2)},modalBody:{overflow:"scroll",padding:e.spacing(6,4)},modalFooter:{padding:e.spacing(6,4)},paginationContainer:{},bottomActions:{display:"flex",justifyContent:"center",flexDirection:"column",alignItems:"center",margin:e.spacing(6,5,0),[e.breakpoints.up("md")]:{justifyContent:"space-between",margin:e.spacing(4,0,0),display:"flex",flexDirection:"row"}},viewToggleButton:{borderRadius:"2px",padding:e.spacing(1),minWidth:"30px !important",border:"1px solid ".concat(e.palette.grey[400])},alignRight:{textAlign:"right"},toggleLabel:{fontSize:e.typography.pxToRem(14),marginRight:e.spacing(2),verticalAlign:"text-bottom"},resultsCountMargin:{display:"flex",marginTop:e.spacing(2)},aemCarousel:{"& .MuiContainer-root":{padding:0},"& .MuiContainer-root > div":{paddingTop:"unset"},"& p":{margin:"unset"}}}));var tC=function(e){return e[e.grid=0]="grid",e[e.list=1]="list",e}(tC||{});let tx=[{value:u.FU.Relevance,label:w.A.SORT_BY_RELEVANCE},{value:u.FU.Nameasc,label:w.A.SORT_BY_NAME_ASCENDING},{value:u.FU.Namedesc,label:w.A.SORT_BY_NAME_DESCENDING}],tS=e=>{var t;let{title:a,maxRows:o,searchTerm:r,authorSelectedFacets:s,authorCuratedFacets:l,defaultSort:c,additionalColumns:u,openFacets:C=0,hideSearchBar:S,filterHeader:y,searchLinks:I,...b}=e,M=(0,p.A)(),R=(0,m.A)(M.breakpoints.down("md")),{classes:N,cx:v}=th(),P=(0,i.useRef)(null),L=(0,i.useRef)(null),{setIsCSRFilter:O}=(0,i.useContext)(tf),[F,j]=(0,i.useState)(!1),B=b.anchorId||"csr",[w,k]=(0,i.useState)(null),[D,W]=(0,i.useState)(!1),[U,G]=(0,i.useState)(!1),H=!!(null==I?void 0:I.length),[Y,V]=(0,i.useState)(null);(0,i.useEffect)(()=>{let e=e5.sZ.getItem("selectedView");R?V(0):V(null!=e?e:1)},[R]);let{loading:K,error:q,facets:Z,page:$,itemCount:J,numPages:X,pageStart:Q,pageEnd:ee,products:ea,sort:en,term:ei,searched:eo,selectedFacets:er,updatePage:el,updateSort:ed,updateFacets:ec,updateSearchTerm:ep,applyFacets:eu,applyMobileFacets:em}=eB({searchTerm:r,authorSelectedFacets:s,authorCuratedFacets:l,defaultSort:c,defaultPerPage:o}),eg=()=>{P.current&&(window.scrollTo({left:0,top:P.current.offsetTop-100,behavior:"smooth"}),e5.sZ.setItem("CSR_FILTER_KEY","CSR"))},eE=(0,i.useCallback)(e=>{eg(),el(e)},[el]),e_=(0,i.useCallback)(e=>{eg(),ed(e)},[ed]),eA=(0,i.useCallback)((e,t)=>{eg(),ec(e,t)},[ec]),ef=(0,i.useCallback)(e=>{eg(),ep(e)},[ep]);!K&&0===ea.length&&ei&&ei!==eo&&(ep("",ei),eg());let eT=()=>{if(!window.location.hash.includes("#"+B))return;window.location.hash.split("&").filter(e=>e.includes("facets=")).filter((e,t)=>0===t).forEach(e=>{let t=decodeURIComponent(e.split("=")[1]).replace(/\+/g," ").split(",").map(e=>{let t=e.split(":");return{key:t[0],value:t[1],prefix:null}});t.length>0&&eu(t)});let e=window.location.hash,t=e.substring(1).split("&").find(e=>e.includes("term="));t&&ep(decodeURIComponent(t.split("=")[1]).replace(/\+/g," ")),e.includes("?")&&eg()},eh=e=>{V(e),e5.sZ.setItem("selectedView",e),(0,et.Sm)({action:"switch to ".concat(Y?"box":"list"," view"),section:"products",component:"body",elementType:"icon",elementText:"change view"})};(0,i.useEffect)(()=>(eT(),window.addEventListener("hashchange",eT),()=>{window.removeEventListener("hashchange",eT)}),[]),(0,i.useEffect)(()=>{"CSR"===e5.sZ.getItem("CSR_FILTER_KEY")&&(O(!0),e5.sZ.removeItem("CSR_FILTER_KEY"))},[O]);let eC=()=>{L.current&&G(L.current.getBoundingClientRect().top<=0)};(0,i.useEffect)(()=>(window.location.hash&&(O(!0),setTimeout(()=>{P.current&&P.current.scrollIntoView({behavior:"smooth",block:"start"})},200)),window.addEventListener("scroll",eC),()=>{window.removeEventListener("scroll",eC)}),[]);let ex=e=>{if(!e)return null;let t=e.indexOf("?");return -1===t?null:e.slice(t)},eS=Array.isArray(I)?I.map(e=>{let t=ex(e.url);return t?{label:e.label,url:t}:null}).filter(e=>!!e):[],ey=(0,i.useMemo)(()=>w&&Z.find(e=>e.key===w)||null,[Z,w]),{model:eI,carouselTitle:eb,carouselEndpoint:eM}=tr("optly-abTestingCategoryCarousel"),{data:eR}=(0,e9.Gb)({variables:{input:{get:eM,model:eI}},errorPolicy:"all",ssr:!1,skip:"0"===eI||!eM}),eN=null==eR?void 0:null===(t=eR.getRecommendedProductsAlt)||void 0===t?void 0:t.products;return K?(0,n.jsx)(tp,{view:Y}):q||0===ea.length?(0,n.jsx)("div",{id:B,ref:P}):null===Y?(0,n.jsx)("div",{id:B,children:(0,n.jsx)(tp,{view:1})}):(0,n.jsxs)(n.Fragment,{children:[(null==eN?void 0:eN.length)&&eb?(0,n.jsx)("div",{className:N.aemCarousel,children:(0,n.jsx)(te.A,{type:eb,products:eN})}):"",(0,n.jsxs)("div",{id:B,ref:P,className:"aem-ms-cmp",children:[a?(0,n.jsx)(g.A,{variant:"h2",id:B,children:(0,n.jsx)(h.A,{value:a})}):null,(null==Z?void 0:Z.length)>0&&(0,n.jsx)("div",{ref:L,className:v(N.mobileFacetTabWrapper,{[N.stickyFacetFilters]:(null==er?void 0:er.length)>0&&U,[N.stickyPopularFilters]:(null==er?void 0:er.length)>0&&U&&H}),children:(0,n.jsx)(tg,{facets:Z,onFacetSelect:e=>{k(e),W(!0)},onFilterClick:()=>{j(!0)},selectedFacets:er,popularFilter:eS,onPopularFilterSelect:e=>{eu(e)},filterHeader:y,handleUpdateFacets:eA,term:ei,handleUpdateSearchTerm:ef})}),(0,n.jsxs)("div",{className:v(N.productSearchWrapper,{[N.productSearchWrapperLoading]:K}),children:[(0,n.jsx)("div",{className:N.facetsWrapper,children:(0,n.jsx)(z,{loading:K,facets:Z,handleUpdateFacets:eA,openFacets:C,term:ei,handleUpdateSearchTerm:ef})}),(0,n.jsxs)("div",{className:N.resultsWrapper,children:[(0,n.jsxs)("div",{className:N.topActions,children:[(0,n.jsx)("div",{className:N.desktopActions,children:(0,n.jsx)("div",{className:N.actionsRow,children:(0,n.jsxs)(E.A,{container:!0,width:"100%",children:[(0,n.jsx)(E.A,{md:9,children:(0,n.jsxs)(E.A,{container:!0,children:[(0,n.jsx)(E.A,{children:!S&&(0,n.jsx)("div",{className:N.searchInput,children:(0,n.jsx)(eG,{handleUpdateSearchTerm:ef})})}),(0,n.jsx)(E.A,{children:(0,n.jsx)(eK,{loading:K,value:en,options:tx,handleUpdateSort:e_})}),(0,n.jsx)(E.A,{children:(0,n.jsx)("div",{className:v(N.resultsCount,N.resultsCountMargin),children:J&&ee&&(0,n.jsx)(x,{itemCount:J,pageStart:Q,pageEnd:ee})})})]})}),(0,n.jsxs)(E.A,{md:3,className:N.alignRight,children:[(0,n.jsx)(g.A,{component:"span",className:N.toggleLabel,children:(0,n.jsx)(d.A,{id:"CHANGE_VIEW",defaultMessage:"Change View"})}),(0,n.jsxs)(_.A,{size:"small",children:[(0,n.jsx)(A.A,{variant:1===Y?"contained":void 0,color:"primary",onClick:()=>eh(1),className:N.viewToggleButton,children:(0,n.jsx)(f.A,{})}),(0,n.jsx)(A.A,{variant:0===Y?"contained":void 0,color:"primary",onClick:()=>eh(0),className:N.viewToggleButton,children:(0,n.jsx)(T.A,{})})]})]})]})})}),(0,n.jsx)("div",{className:N.mobileActions,children:(0,n.jsx)("div",{className:N.resultsCount,children:J&&ee&&(0,n.jsx)(x,{itemCount:J,pageStart:Q,pageEnd:ee})})})]}),(0,n.jsx)("div",{children:R||0===Y?(0,n.jsx)(e7,{products:ea}):(0,n.jsx)(es,{products:ea,additionalColumns:u})}),(0,n.jsxs)("div",{className:N.bottomActions,children:[J&&ee&&(0,n.jsx)(x,{itemCount:J,pageStart:Q,pageEnd:ee,isBottomCount:!0}),(0,n.jsx)(eJ,{loading:K,numPages:X,currentPage:$,handleUpdatePage:eE})]})]})]})]}),F&&Z&&(0,n.jsx)(eY,{loading:K,facets:Z,sort:en,handleClose:()=>j(!1),sortOptions:tx,term:ei,itemCount:J,handleUpdateFacets:eA,handleUpdateSearchTerm:ef,handleUpdateSort:e_}),R&&D&&(0,n.jsx)(tA,{loading:K,open:D,facets:Z,facet:ey,applyMobileFacets:em,onClose:()=>{W(!1),k(null)}})]})},ty=(0,l.MapTo)("cms-commons/components/content/categorysearchresults")(e=>{let{anchorId:t,title:a,searchTerm:i,facets:o,maxRows:r,additionalColumns:s,defaultSort:l=[],facetSet:d,hideSearchBar:c=!1,openFacets:p=0,headline:m,searchLinks:g}=e,E=Object.values(u.FU).find(e=>e===l[0]);return(0,n.jsx)(tS,{anchorId:t,title:a,searchTerm:i,additionalColumns:s,maxRows:r,authorSelectedFacets:o,defaultSort:E,authorCuratedFacets:d||[],hideSearchBar:c,openFacets:p,filterHeader:m,searchLinks:g})});var tI=a(406307);let tb=(0,l.MapTo)("cms-commons/components/content/contact")(e=>{let t=(0,S.A)(),a=t.formatMessage(w.A.EMAIL),i=t.formatMessage(w.A.PHONE);return(0,n.jsx)(tI.default,{...e,translations:{email:a,phone:i}})});var tM=a(104451),tR=a(11788);let tN=(0,l.MapTo)("cms-commons/components/content/container")((e=>{let t=t=>{let{userIsLoggedIn:a}=(0,tR.iZ)(),{setIsHalfGatedContentActive:o}=(0,i.useContext)(tf),r=(0,p.A)(),s=(0,m.A)(r.breakpoints.down("sm"));return(0,i.useEffect)(()=>{t.halfGatedContent&&!a&&o(!0)},[]),(0,n.jsx)(e,{userIsLoggedIn:a,isMobile:s,...t})};return t.displayName="CMSCommonContainerHOC",t})(tM.CMSCommonContainer));function tv(){let e=(0,el._)(["\n query metadataForFFCertificates($input: GetProductInput!) {\n getMetadataForFFCertificates(input: $input) {\n productName\n productNameSuffix\n productNumber\n brand\n aliases {\n key\n value\n label\n sequence\n }\n attributes {\n key\n value\n label\n sequence\n }\n logo {\n altText\n smallUrl\n mediumUrl\n largeUrl\n }\n }\n}\n "]);return tv=function(){return e},e}let tP={},tL=(0,ed.J1)(tv());function tO(e){let t={...tP,...e};return ec.IT(tL,t)}var tF=a(575647);let tj=(0,c.makeStyles)({name:"DynamicPlaceholder",uniqId:"DynamicPlaceholder1"})((e,t,a)=>({dynamicPlaceholderWrapper:{marginBottom:e.spacing(6),["& .".concat(a.productInfoText)]:{"& span":{marginRight:e.spacing(1)},"&:hover":{textDecoration:"none"},"@media print":{display:"none"}},["& .".concat(a.productInfoPrintText)]:{display:"none",fontSize:e.typography.pxToRem(20),marginBottom:e.spacing(4),marginTop:e.spacing(4),fontWeight:e.typography.fontWeightBold,textTransform:"uppercase",letterSpacing:"1px","& span":{marginRight:e.spacing(1)},"@media print":{display:"block"}}},dynamicPlaceholderDiv:{"& p":{marginBottom:e.spacing(2),textTransform:"capitalize"},"& strong":{marginRight:e.spacing(1)}},productInfoText:{},productInfoPrintText:{}})),tB=(0,l.MapTo)("cms-commons/components/content/dynamicplaceholder")(e=>{var t,a;let o=(0,tt.useRouter)(),{classes:s}=tj(),l=o.query,d=(null==l?void 0:null===(t=l.cmsRoute)||void 0===t?void 0:t[3])||"",c=(null==l?void 0:null===(a=l.cmsRoute)||void 0===a?void 0:a[4])||"",{ffpdpaliases:p,ffpdpattributes:u,showProductName:m,showProductNumber:g,showProductNameSuffix:E,ffPageTitle:_="",ffPageDesc:A=""}=e,[f,T]=(0,i.useState)([]),[h,C]=(0,i.useState)([]),[x,S]=(0,i.useState)(""),[y,I]=(0,i.useState)(""),[M,R]=(0,i.useState)(""),{data:N}=tO({variables:{input:{productKey:c,brandKey:d}},fetchPolicy:"no-cache"}),v=e=>(null==e?void 0:e.length)?e.map(e=>(0,n.jsxs)("p",{children:[(0,n.jsxs)("strong",{children:[e.label,":"]}),(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:e.value}})]},e.value)):null,P="".concat(_," for ").concat(d," ").concat(x," ").concat(y," ").concat(M),L="".concat(A," for ").concat(d," ").concat(x," ").concat(y," ").concat(M);return(0,i.useEffect)(()=>{let e=e=>{let t=[];return(null==e?void 0:e.length)?(e.forEach(e=>{let a=e.split("@"),n={key:a[0],sequence:a[1]};t.push(n)}),t):[]},t=(e,t)=>null==t?void 0:t.filter(t=>null==e?void 0:e.some(e=>e.key===(null==t?void 0:t.key)));if(null==N?void 0:N.getMetadataForFFCertificates){let{aliases:a,attributes:n,productNumber:i,productNameSuffix:o,productName:r}=N.getMetadataForFFCertificates,s=e(p),l=e(u),d=s.length&&t(s,a)||[],c=l.length&&t(l,n)||[];d.length&&T(d),c.length&&C(c),i&&S(i),r&&I(r),o&&R(o)}},[N]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(r(),{children:[(0,n.jsx)("title",{children:(0,tF.wG)(P)}),(0,n.jsx)("meta",{name:"description",content:(0,tF.wG)(L)})]}),(0,n.jsxs)("div",{className:s.dynamicPlaceholderWrapper,children:[(0,n.jsx)(K.N,{...b.aR.index(d,x),children:(0,n.jsxs)("a",{className:s.productInfoText,children:[g&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:x}}),m&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:y}}),E&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:M}})]})}),(0,n.jsxs)("p",{className:s.productInfoPrintText,children:[g&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:x}}),m&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:y}}),E&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:M}})]}),(0,n.jsxs)("div",{className:s.dynamicPlaceholderDiv,children:[v(f),v(h)]})]})]})});var tw=a(281474);function tk(){let e=(0,el._)(["\n query MultipleProductDetailSubstanceProduct($productInputs: [ProductInput!]!) {\n getMultipleProductDetails(input: {productInputs: $productInputs}) {\n ...SubstanceProductFields\n }\n}\n ",""]);return tk=function(){return e},e}let tD={},tW=(0,ed.J1)(tk(),tw.rx);var tU=a(496678),tG=a(306406),tH=a(393334),tY=a(652814),tV=a(701824),tz=a(347530),tK=a(63912),tq=a(340352),tZ=a(274770),t$=a(428907);let tJ=(0,c.makeStyles)()(e=>({tableRow:{height:"2.5rem","& .MuiTableCell-body":{padding:".2rem .6rem"}},aemMobileResponsiveCell:{display:"block",height:"unset",borderBottom:"1px solid ".concat(e.palette.grey[300]),padding:e.spacing(4,5),margin:e.spacing(0,-5),"&:first-of-type":{borderTop:"1px solid ".concat(e.palette.grey[300])},"&:nth-of-type(2n)":{backgroundColor:e.palette.background.grey},"& > td":{display:"block",textAlign:"left",border:"0 none",padding:"0 !important",marginTop:e.spacing(2),minWidth:"100%","&:first-of-type":{marginTop:0,"& > a":{fontWeight:e.typography.fontWeightRegular}},"&:nth-of-type(3)":{"& > a":{fontSize:e.typography.pxToRem(14)}},"&:last-child":{marginTop:e.spacing(3)},"& > a":{fontSize:e.typography.pxToRem(16)}}},productImageContainer:{height:"3.2rem",width:"3.2rem",display:"flex",alignItems:"center"},productImage:{height:"auto",width:"100%"},productName:{paddingTop:e.spacing(1)},productNumberContainer:{wordBreak:"break-word",overflowWrap:"break-word",paddingRight:"0 !important",color:e.palette.primary.main},aemproductNumberDescCell:{"& a":{color:"inherit",fontWeight:e.typography.fontWeightBold,"&:hover":{color:e.palette.primary.main,"& > *":{color:e.palette.primary.main}}}},productDescription:{maxWidth:"18rem"},productDescLink:{wordBreak:"break-word",color:e.palette.common.black,fontWeight:"normal"},hideOnMobile:{whiteSpace:"nowrap",[e.breakpoints.down("sm")]:{display:"none"}},clearBottomBorder:{"& > *":{borderBottomColor:"transparent"}},tableRowExpanded:{backgroundColor:e.palette.background.grey,borderBottom:0,"& > td:last-child":{marginTop:0}},aemMobileResponsiveCellExpended:{display:"block",margin:e.spacing(0,-5),padding:e.spacing(0,5,5),borderBottom:"1px solid ".concat(e.palette.grey[300]),"& > td":{display:"block",padding:0,border:"0 none",'& [class*="div-root"]':{marginBottom:0},'& [class*="makeStyles-body"] [class*="div-root"]':{marginBottom:e.typography.pxToRem(16)},"& h3":{margin:e.spacing(0,0,4),fontSize:e.typography.pxToRem(16)}}},showLessToggleWrap:{[e.breakpoints.down("sm")]:{"& > button":{marginTop:e.typography.pxToRem(18)}}},expandHideSpacer:{height:0,visibility:"hidden"}})),tX={CLONALITY:{key:"clonality-clone_number.default"},SPECIES_REACTIVITY:{key:"species reactivity.reactivity"},PORE_SIZE:{key:"pore size.default"},DIAMETER:{key:"composite dimension.default",label:"diam."},STERILITY:{key:"sterilization.default"},MATERIAL:{key:"material.default"}},tQ=e=>{var t,a,o;let r,s,l,d,c,u,{product:g,displayBadgesOnProduct:E,focus:_,isShowBrand:A,isShowImage:f,additionalColumns:T,productIsAntibody:C,productIsSyringeFilter:x,displayViewLink:y=!0,substanceId:I,substancePosition:R}=e,N=(0,b.rd)(),{classes:v,cx:P}=tJ(),{formatMessage:L}=(0,S.A)(),[O,F]=(0,i.useState)(!1),{currentUser:j}=(0,tR.iZ)(),B=null!==(o=null===e5.Lr||void 0===e5.Lr?void 0:e5.Lr.getItem("searchedfor"))&&void 0!==o?o:"",w=()=>{F(e=>!e),(0,et.Sm)({action:O?"close p&a":"view p&a",section:"products",component:"list",elementType:"accordion",elementText:O?"hide":"expand",material:{materialDescription:g.name,brand:g.brand.key,product:g.productNumber}})},k=g.attributes;C?(r=k.find(e=>e.key===tX.CLONALITY.key),s=k.find(e=>e.key===tX.SPECIES_REACTIVITY.key)):x&&(l=k.find(e=>e.key===tX.PORE_SIZE.key),d=k.find(e=>e.key===tX.DIAMETER.key&&e.label===tX.DIAMETER.label),c=k.find(e=>e.key===tX.STERILITY.key),u=k.filter(e=>e.key===tX.MATERIAL.key));let{paMessage:D}=g,W=g.productNumber.startsWith("CB_")?L({id:"DETAILS",defaultMessage:"Details"}):g.productNumber,U=(null==j?void 0:j.metadata.isNewPNASrpEnabled)&&!N.query.debug&&y,G=(0,p.A)(),H=(0,m.A)(G.breakpoints.up(tq.Rp.MD),{defaultMatches:!0});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(tV.A,{className:O?P(v.tableRow,v.clearBottomBorder,v.tableRowExpanded,H?"":v.aemMobileResponsiveCell):P(v.tableRow,H?"":v.aemMobileResponsiveCell),children:[f?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(tU.A,{children:(0,n.jsx)("span",{className:v.productImageContainer,children:(0,n.jsx)("img",{className:v.productImage,src:null==g?void 0:null===(t=g.images[0])||void 0===t?void 0:t.smallUrl,alt:(null==g?void 0:null===(a=g.images[0])||void 0===a?void 0:a.altText)||""})})}),(0,n.jsx)(tU.A,{classes:{root:v.productNumberContainer},children:(0,n.jsx)(t$.h,{product:g,focus:_,label:W,productDescriptionClass:v.productName,productLinkType:t$.A.NAME,productDescription:g.description})})]}):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(tU.A,{classes:{root:v.productNumberContainer+" "+v.aemproductNumberDescCell},children:(0,n.jsx)(t$.h,{product:g,focus:_,label:W,onProductLinkClick:()=>(0,M.sendProductClickEvent)({product:g,searchTerm:B,substanceId:I,substancePosition:R}),productDescriptionClass:v.productName,productLinkType:t$.A.NAME,productDescription:g.description})})}),C&&g.cardAttribute&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(tU.A,{children:r&&(0,n.jsx)(Z.A,{values:r.values})}),(0,n.jsx)(tU.A,{children:(0,n.jsx)(h.A,{value:g.cardAttribute.application.join(", ")})}),(0,n.jsx)(tU.A,{children:s&&(0,n.jsx)(Z.A,{values:s.values})}),(0,n.jsx)(tU.A,{children:g.cardAttribute.citationCount}),(0,n.jsx)(tU.A,{children:E&&(0,n.jsx)(tZ.A,{features:g.features})})]}),x&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(tU.A,{"data-testid":"pdp-product-poreSize",children:l&&l.values.length&&(0,n.jsx)(Z.A,{values:l.values})}),(0,n.jsx)(tU.A,{"data-testid":"pdp-product-diameter",children:d&&(0,n.jsx)(Z.A,{values:d.values})}),(0,n.jsx)(tU.A,{"data-testid":"pdp-product-sterility",children:c&&(0,n.jsx)(Z.A,{values:c.values})}),(0,n.jsx)(tU.A,{"data-testid":"pdp-product-material",children:u&&u.map(e=>(0,n.jsx)(Z.A,{values:e.values},e.key))}),(0,n.jsx)(tU.A,{children:E&&(0,n.jsx)(tZ.A,{features:g.features})})]}),!g.cardCategory&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(tU.A,{className:v.productDescription,align:"left",children:g.name&&(0,n.jsx)(t$.h,{product:g,focus:_,label:g.name,productDescriptionClass:"",productLinkType:t$.A.DESCRIPTION,productDescription:g.name})}),(0,n.jsx)(tU.A,{className:v.productDescription+" "+v.aemproductNumberDescCell,align:"left",children:(0,n.jsx)(t$.h,{product:g,focus:_,label:g.description,productDescriptionClass:v.productDescLink,productLinkType:t$.A.DESCRIPTION,productDescription:g.description})}),A&&(0,n.jsx)(tU.A,{className:v.hideOnMobile,style:{color:g.brand.color||void 0},children:g.brand.name}),T&&T.map(e=>{var t;let{value:a}=e,i=g.attributes.find(e=>e.key&&e.key.toLowerCase()===a.toLowerCase());return(0,n.jsx)(tU.A,{children:(0,n.jsx)(h.A,{value:null==i?void 0:null===(t=i.values)||void 0===t?void 0:t.join(", ")})},a)})]}),(0,n.jsx)(tU.A,{align:"right",children:U?(0,n.jsx)(e0.A,{product:g,focus:_}):(0,n.jsxs)(n.Fragment,{children:[H?(0,n.jsx)(tK.A,{expanded:O,setExpanded:w,collapsedText:L({id:"EXPAND",defaultMessage:"Expand"}),expandedText:L({id:"HIDE",defaultMessage:"Hide"}),"data-testid":"srp-pricing-".concat(g.productNumber).concat(g.brand.key)}):!O&&(0,n.jsx)(tK.A,{expanded:O,setExpanded:w,collapsedText:L({id:"EXPAND",defaultMessage:"Expand"}),expandedText:L({id:"HIDE",defaultMessage:"Hide"}),"data-testid":"srp-pricing-".concat(g.productNumber).concat(g.brand.key)}),(0,n.jsx)("div",{className:v.expandHideSpacer,children:(0,n.jsx)(tK.A,{expanded:!O,setExpanded:w,collapsedText:L({id:"EXPAND",defaultMessage:"Expand"}),expandedText:L({id:"HIDE",defaultMessage:"Hide"})})})]})})]}),O&&(0,n.jsx)(tV.A,{className:v.tableRowExpanded+" "+(H?"":v.aemMobileResponsiveCellExpended),children:(0,n.jsxs)(tU.A,{colSpan:9,children:[D?(0,n.jsx)(X.Ay,{brandKey:g.brand.key,productNumber:g.productNumber,paMessage:D,displayType:X.yU.SRP}):(0,n.jsx)(q.A,{queryFocus:_,productName:g.name,productNumber:g.productNumber,productDescription:g.description||"",images:g.images,materialIds:g.materialIds,brandKey:g.brand.key,gaType:(0,M.determinePAForAddtoCart)(_),isMarketplace:g.isMarketplace,productAttributes:g.attributes,marketplaceSellerId:g.marketplaceSellerId||"",marketplaceOfferId:g.marketplaceOfferId||"",displaySellerName:g.displaySellerName||"",displayPromotionalBundlesAnchor:!0,checkForPb:!0,productKey:g.productKey,erp_type:g.erp_type}),!H&&(0,n.jsx)("div",{className:v.showLessToggleWrap,children:(0,n.jsx)(tK.A,{expanded:O,setExpanded:w,collapsedText:L({id:"EXPAND",defaultMessage:"Expand"}),expandedText:L({id:"HIDE",defaultMessage:"Hide"}),"data-testid":"srp-pricing-".concat(g.productNumber).concat(g.brand.key)})})]})})]})},t0=(0,c.makeStyles)()(e=>({tContainer:{overflowX:"visible"},tHeadRow:{whiteSpace:"nowrap","& .MuiTableCell-head":{padding:"0 .6rem",fontSize:e.typography.pxToRem(12),fontWeight:e.typography.fontWeightBold}},tHeadProductNumber:{width:124},tHeadProductName:{width:290},tHeadSds:{width:52,"&:empty":{width:0}},hideBelowMd:{[e.breakpoints.down("md")]:{display:"none"}},utilityRow:{display:"flex",marginTop:e.spacing(4),"&:empty":{display:"none"}},showMoreLessButton:{flexShrink:0},compressWidth:{width:0},aemThead:{[e.breakpoints.down("sm")]:{display:"none"}}})),t2={ANTIBODY:"ANTIBODY",SYRINGE_FILTERS:"SYRINGE_FILTERS"};t2.ANTIBODY,t2.SYRINGE_FILTERS;let t1=e=>{let{formatMessage:t,additionalColumns:a,isShowBrand:i}=e,{classes:o}=t0();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(tU.A,{children:t({id:"PRODUCT_DESCRIPTION",defaultMessage:"Product Description"})}),i&&(0,n.jsx)(tU.A,{children:t({id:"BRAND",defaultMessage:"Brand"})}),a&&a.map(e=>{let{text:t}=e;return(0,n.jsx)(tU.A,{"data-additional":"true",children:t},t)}),(0,n.jsx)(tU.A,{className:o.compressWidth,children:t({id:"PRICING",defaultMessage:"Pricing"})})]})},t4=e=>{var t,a,o;let{products:r,displayBadgesOnProduct:s,focus:l,maxRows:d,isShowImage:c=!1,isShowBrand:p=!1,additionalColumns:u,displayViewLink:m}=e,{classes:g}=t0(),[E,_]=(0,i.useState)(!1),A=d||5,f=E?r.length:A,{formatMessage:T}=(0,S.A)(),h=!!r.length&&(null===(t=r[0])||void 0===t?void 0:t.cardCategory)===t2.ANTIBODY,C=!!r.length&&(null===(a=r[0])||void 0===a?void 0:a.cardCategory)===t2.SYRINGE_FILTERS;return(0,n.jsxs)(tG.A,{className:g.tContainer,children:[(0,n.jsxs)(tH.A,{size:"small",children:[(0,n.jsx)(tY.A,{className:g.aemThead,children:(0,n.jsxs)(tV.A,{className:g.tHeadRow,children:[c?(0,n.jsx)(tU.A,{}):null,(0,n.jsx)(tU.A,{classes:{root:g.tHeadProductNumber},children:T({id:"PRODUCT_NUMBER",defaultMessage:"Product Number"})}),(0,n.jsx)(tU.A,{classes:{root:g.tHeadProductName},children:T({id:"PRODUCT_NAME",defaultMessage:"Product Name"})}),!(null===(o=r[0])||void 0===o?void 0:o.cardCategory)&&(0,n.jsx)(t1,{formatMessage:T,additionalColumns:u,isShowBrand:p})]})}),(0,n.jsx)(tz.A,{children:r.slice(0,f).map((e,t)=>e instanceof Error||!e?null:(0,n.jsx)(ea.M,{source:"srp - ".concat(l),children:(0,n.jsx)(tQ,{product:e,displayBadgesOnProduct:s,focus:l,isShowBrand:p,isShowImage:c,additionalColumns:u,productIsAntibody:h,productIsSyringeFilter:C,displayViewLink:m},"".concat(e.productKey).concat(e.brand.erpKey,"-").concat(t))},t))})]}),(0,n.jsx)("div",{className:g.utilityRow,children:r.length>A&&(0,n.jsx)(tK.A,{expanded:E,setExpanded:_,className:g.showMoreLessButton})})]})};var t6=a(515524);let t8=(0,c.makeStyles)()(e=>({tableTitle:{fontWeight:e.typography.fontWeightBold,fontSize:e.typography.pxToRem(20),margin:e.spacing(4,0)}})),t3=e=>{let{additionalColumns:t,anchorId:a,isShowImage:i,isShowBrand:o,isStaticContent:r,maxRows:s,products:l,tableTitle:d}=e,{loading:c,error:p,data:u}=function(e){let t={...tD,...e};return ec.IT(tW,t)}({variables:{productInputs:l},errorPolicy:"all",ssr:!1}),{classes:m}=t8();return l.length?(0,n.jsxs)("div",{id:a,children:[d&&(0,n.jsx)("h2",{id:a,className:m.tableTitle,dangerouslySetInnerHTML:{__html:eQ().sanitize(d)}}),c?(0,n.jsx)("div",{children:"Loading"}):!p||(null==u?void 0:u.getMultipleProductDetails)?(0,n.jsx)("div",{className:r?"aem-ms-cmp":"",children:(0,n.jsx)(t4,{additionalColumns:t,displayBadgesOnProduct:!0,error:p,focus:"sial",isShowBrand:o,isShowImage:i,maxRows:s,products:u.getMultipleProductDetails})}):(0,n.jsx)(t6.A,{error:p})]}):null};class t7 extends i.Component{render(){return(0,n.jsx)(t3,{...this.props,isStaticContent:!0})}}(0,l.MapTo)("cms-commons/components/content/dynamicproducttable")(t7);var t5=a(545109);let t9=(0,l.MapTo)("cms-commons/components/content/eventlisting")(e=>{let t=(0,S.A)(),a=t.formatMessage({id:"NO_SEARCH_RESULTS",defaultMessage:"No search results"}),i=t.formatMessage({id:"CHANGE_FILTER_CRITERIA",defaultMessage:"Try changing or broadening your filter criteria."}),o=t.formatMessage({id:"FACET_UNCHECK_ALL",defaultMessage:"Uncheck All"}),r=t.formatMessage({id:"FACET_TOPIC",defaultMessage:"Topic"}),s=t.formatMessage({id:"REGION",defaultMessage:"Region"}),l=t.formatMessage({id:"TODAY",defaultMessage:"Today"}),d=t.formatMessage({id:"DATE_RANGE_START",defaultMessage:"Date Range Start"}),c=t.formatMessage({id:"DATE_RANGE_END",defaultMessage:"Date Range End"}),p=t.formatMessage({id:"SELECT_DATE",defaultMessage:"Select Date"}),u=t.formatMessage({id:"FILTERS",defaultMessage:"Filters"}),m=t.formatMessage({id:"APPLIED_FILTERS_HEADING",defaultMessage:"Applied Filters:"}),g=t.formatMessage({id:"DONE",defaultMessage:"Done"}),E=t.formatMessage({id:"ENTER_DATE_INVALID",defaultMessage:"Enter valid date"}),_=t.formatMessage({id:"START_DATE_INVALID",defaultMessage:"Start Date should be before End Date"}),A=t.formatMessage({id:"END_DATE_INVALID",defaultMessage:"End Date should be after Start Date"});return(0,n.jsx)(t5.default,{...e,translations:{appliedFilters:m,changeFilterCriteria:i,dateRangeEnd:c,dateRangeStart:d,done:g,facetRegion:s,facetTopic:r,filters:u,invalidDate:E,invalidEndDate:A,invalidStartDate:_,noSearchResults:a,selectDate:p,today:l,uncheckAll:o}})});var ae=a(166329),at=a(614927);let aa=(0,l.MapTo)("cms-commons/components/content/event-sidebar")(e=>{let t=(0,S.A)(),a=t.formatMessage(ae.A.EVENT_ONLINE_LABEL),i=t.formatMessage(ae.A.EVENT_BOOTH_LABEL);return(0,n.jsx)(at.default,{...e,translations:{online:a,booth:i}})}),an=(0,c.makeStyles)()(e=>({brandLogo:{width:"auto",height:"auto"},brandLogoWrapper:{margin:e.spacing(8,0)}})),ai=(0,l.MapTo)("cms-commons/components/content/ffcertsbrandimage")(()=>{var e,t,a,i;let o=(0,tt.useRouter)(),{classes:r}=an(),s=o.query,l=(null==s?void 0:null===(e=s.cmsRoute)||void 0===e?void 0:e[3])||"",{data:d}=tO({variables:{input:{productKey:(null==s?void 0:null===(t=s.cmsRoute)||void 0===t?void 0:t[4])||"",brandKey:l}},fetchPolicy:"no-cache"}),c=null==d?void 0:d.getMetadataForFFCertificates;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:r.brandLogoWrapper,children:(0,n.jsx)("img",{className:r.brandLogo,alt:(null==c?void 0:null===(a=c.logo)||void 0===a?void 0:a.altText)||"",src:null==c?void 0:null===(i=c.logo)||void 0===i?void 0:i.largeUrl,width:"120",height:"15"})})})});var ao=a(577198),ar=a(723604);let as={AA:"Armed Forces Americas",AE:"Armed Forces Europe",AK:"tfa_2822",AL:"tfa_2821",AP:"Armed Forces Pacific",AR:"tfa_2824",AS:"tfa_2876",AZ:"tfa_2823",CA:"tfa_2825",CO:"tfa_2826",CT:"tfa_2827",DC:"tfa_2829",DE:"tfa_2828",FL:"tfa_2830",FM:"Fed States of Micronesia",GA:"tfa_2831",GU:"tfa_2875",HI:"tfa_2832",IA:"tfa_2836",ID:"tfa_2833",IL:"tfa_2834",IN:"tfa_2835",KS:"tfa_2837",KY:"tfa_2838",LA:"tfa_2839",MA:"tfa_2842",MD:"tfa_2841",ME:"tfa_2840",MH:"Marshall Islands",MI:"tfa_2843",MN:"tfa_2844",MO:"tfa_2846",MP:"tfa_2874",MS:"tfa_2845",MT:"tfa_2847",NC:"tfa_2854",ND:"tfa_2855",NE:"tfa_2848",NH:"tfa_2850",NJ:"tfa_2851",NM:"tfa_2852",NV:"tfa_2849",NY:"tfa_2853",OH:"tfa_2856",OK:"tfa_2857",OR:"tfa_2858",PA:"tfa_2859",PR:"tfa_2872",PW:"tfa_2877",RI:"tfa_2860",SC:"tfa_2861",SD:"tfa_2862",TN:"tfa_2863",TX:"tfa_2864",UT:"tfa_2865",VA:"tfa_2867",VI:"tfa_2873",VT:"tfa_2866",WA:"tfa_2868",WI:"tfa_2870",WV:"tfa_2869",WY:"tfa_2871"},al={AD:"tfa_2587",AE:"tfa_2804",AF:"tfa_2583",AG:"tfa_2591",AI:"tfa_2589",AL:"tfa_2584",AM:"tfa_2593",AN:"tfa_2733",AO:"tfa_2588",AR:"tfa_2592",AS:"tfa_2586",AT:"tfa_2596",AU:"tfa_2595",AW:"tfa_2594",AZ:"tfa_2597",BA:"tfa_2609",BB:"tfa_2601",BD:"tfa_2600",BE:"tfa_2603",BF:"tfa_2616",BG:"tfa_2615",BH:"tfa_2599",BI:"tfa_2617",BJ:"tfa_2605",BM:"tfa_2606",BN:"tfa_2614",BO:"tfa_2608",BR:"tfa_2612",BS:"tfa_2598",BT:"tfa_2607",BV:"tfa_2611",BW:"tfa_2610",BY:"tfa_2602",BZ:"tfa_2604",CA:"tfa_2620",CD:"tfa_2632",CF:"tfa_2623",CG:"tfa_2631",CH:"tfa_2787",CI:"tfa_2635",CK:"tfa_2633",CL:"tfa_2625",CM:"tfa_2619",CN:"tfa_2626",CO:"tfa_2629",CR:"tfa_2634",CV:"tfa_2621",CX:"tfa_2627",CY:"tfa_2638",CZ:"tfa_2639",DE:"tfa_2662",DJ:"tfa_2641",DK:"tfa_2640",DM:"tfa_2642",DO:"tfa_2643",DZ:"tfa_2585",EC:"tfa_2644",EE:"tfa_2649",EG:"tfa_2645",ER:"tfa_2648",ES:"tfa_2780",ET:"tfa_2650",FI:"tfa_2654",FJ:"tfa_2653",FK:"tfa_2651",FM:"tfa_2720",FO:"tfa_2652",FR:"tfa_2655",GA:"tfa_2659",GB:"tfa_2805",GD:"tfa_2667",GE:"tfa_2661",GF:"tfa_2656",GH:"tfa_2663",GI:"tfa_2664",GL:"tfa_2666",GM:"tfa_2660",GN:"tfa_2671",GP:"tfa_2668",GQ:"tfa_2647",GR:"tfa_2665",GT:"tfa_2670",GU:"tfa_2669",GW:"tfa_2672",GY:"tfa_2673",HK:"tfa_2678",HM:"tfa_2675",HN:"tfa_2677",HR:"tfa_2636",HT:"tfa_2674",HU:"tfa_2679",ID:"tfa_2682",IE:"tfa_2685",IL:"tfa_2686",IN:"tfa_2681",IQ:"tfa_2684",IS:"tfa_2680",IT:"tfa_2687",JM:"tfa_2688",JO:"tfa_2690",JP:"tfa_2689",KE:"tfa_2692",KG:"tfa_2696",KH:"tfa_2618",KI:"tfa_2693",KM:"tfa_2630",KN:"tfa_2761",KR:"tfa_2694",KW:"tfa_2695",KY:"tfa_2622",KZ:"tfa_2691",LA:"tfa_2697",LB:"tfa_2699",LC:"tfa_2762",LI:"tfa_2703",LK:"tfa_2781",LR:"tfa_2701",LS:"tfa_2700",LT:"tfa_2704",LU:"tfa_2705",LV:"tfa_2698",LY:"tfa_2702",MA:"tfa_2726",MC:"tfa_2722",MD:"tfa_2721",ME:"tfa_2724",MG:"tfa_2708",MH:"tfa_2714",MK:"tfa_2707",ML:"tfa_2712",MM:"tfa_2728",MN:"tfa_2723",MO:"tfa_2706",MP:"tfa_2741",MQ:"tfa_2715",MR:"tfa_2716",MS:"tfa_2725",MT:"tfa_2713",MU:"tfa_2717",MV:"tfa_2711",MW:"tfa_2709",MX:"tfa_2719",MY:"tfa_2710",MZ:"tfa_2727",NA:"tfa_2729",NC:"tfa_2734",NE:"tfa_2737",NF:"tfa_2740",NG:"tfa_2738",NI:"tfa_2736",NL:"tfa_2732",NO:"tfa_2742",NP:"tfa_2731",NR:"tfa_2730",NU:"tfa_2739",NZ:"tfa_2735",OM:"tfa_2743",PA:"tfa_2746",PE:"tfa_2749",PF:"tfa_2657",PG:"tfa_2747",PH:"tfa_2750",PK:"tfa_2744",PL:"tfa_2752",PM:"tfa_2763",PN:"tfa_2751",PT:"tfa_2753",PW:"tfa_2745",PY:"tfa_2748",QA:"tfa_2755",RE:"tfa_2756",RO:"tfa_2757",RS:"tfa_2770",RU:"tfa_2758",RW:"tfa_2759",SA:"tfa_2768",SB:"tfa_2776",SC:"tfa_2771",SD:"tfa_2782",SE:"tfa_2786",SG:"tfa_2773",SH:"tfa_2760",SI:"tfa_2775",SK:"tfa_2774",SL:"tfa_2772",SM:"tfa_2766",SN:"tfa_2769",SO:"tfa_2777",SR:"tfa_2783",ST:"tfa_2767",SV:"tfa_2646",SZ:"tfa_2785",TC:"tfa_2800",TD:"tfa_2624",TG:"tfa_2793",TH:"tfa_2792",TJ:"tfa_2790",TK:"tfa_2794",TM:"tfa_2799",TN:"tfa_2797",TO:"tfa_2795",TP:"East Timor",TR:"tfa_2798",TT:"tfa_2796",TV:"tfa_2801",TW:"tfa_2789",TZ:"tfa_2791",UA:"tfa_2803",UG:"tfa_2802",US:"tfa_2806",UY:"tfa_2808",UZ:"tfa_2809",VA:"tfa_2676",VC:"tfa_2764",VE:"tfa_2811",VG:"tfa_2813",VI:"tfa_2814",VN:"tfa_2812",VU:"tfa_2810",WF:"tfa_2815",WS:"tfa_2765",YE:"tfa_2816",YT:"tfa_2718",YU:"Yugoslavia",ZA:"tfa_2778",ZM:"tfa_2817",ZR:"Zaire",ZW:"tfa_2818"};var ad=a(139324),ac=a.n(ad),ap=a(903635);let au=(0,l.MapTo)("cms-commons/components/content/formAssembly")(e=>{var t,a,i,o,r,s,l,d,c,p,u,m,g,E,_,A,f;let{currentUser:T,userId:h,organizationPosition:C}=(0,tR.iZ)(),{publicRuntimeConfig:{gaSessionIdCookie:x}}=ac()(),[S]=(0,ap.A2)("wabt-241"),[y]=(0,ar.lT)(["_ga","__gtm_campaign_url","GUID"]),{userSession:I}=(0,tn.j)(),{country:b,language:R}=I,N=["pt_BR"].find(e=>e==="".concat(R,"_").concat(b))?"".concat(R,"_").concat(b):"en_US",v="http://sial.tfaforms.net/wForms/3.11/js/localization-".concat(N,".js?v=813cb4fab17d46c586bbe42b1bcc8e38ca00cf31"),P=null==e?void 0:e.formId;(null==S?void 0:S.enabled)&&(P=Number(null==S?void 0:null===(t=S.variables)||void 0===t?void 0:t.form_id));let L=function(e){var t;let a,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n&&(a=null==e?void 0:e.match(/\.[a-zA-Z](\d+)/))?a[1]:a=null!==(t=null==e?void 0:e.split(".")[2])&&void 0!==t?t:""},O={};if(e.activatePrefill){O={tfa_12:null==T?void 0:T.firstName,tfa_13:null==T?void 0:T.lastName,tfa_15:null==T?void 0:T.email,tfa_16:(null==T?void 0:T.telephone)||(null==T?void 0:T.mobilePhone),tfa_18:null==T?void 0:T.organizationName,tfa_19:null==T?void 0:null===(a=T.contactAddress)||void 0===a?void 0:a.postalCode,tfa_20:null==T?void 0:null===(i=T.contactAddress)||void 0===i?void 0:i.city,tfa_2894:(null==T?void 0:null===(o=T.contactAddress)||void 0===o?void 0:o.street)||(null==T?void 0:null===(r=T.contactAddress)||void 0===r?void 0:r.postOfficeBox),tfa_2891:C,tfa_4790:window.location.href,tfa_4813:e5.sZ.getItem(M.DOCUMENT_REFERRER),tfa_4820:null==T?void 0:null===(l=T.soldToPartners)||void 0===l?void 0:null===(s=l[0])||void 0===s?void 0:s.participantId,tfa_4854:null==T?void 0:null===(c=T.soldToPartners)||void 0===c?void 0:null===(d=c[0])||void 0===d?void 0:d.shipTo,tfa_4855:null==T?void 0:null===(u=T.soldToPartners)||void 0===u?void 0:null===(p=u[0])||void 0===p?void 0:p.soldTo,tfa_4857:null==T?void 0:null===(g=T.soldToPartners)||void 0===g?void 0:null===(m=g[0])||void 0===m?void 0:m.billTo};let e=null==T?void 0:null===(E=T.contactAddress)||void 0===E?void 0:E.country;e&&al[e]&&(O.tfa_2582=al[e]);let t=null==T?void 0:null===(_=T.contactAddress)||void 0===_?void 0:_.state;t&&as[t]&&(O.tfa_2820=as[t]),h?O.tfa_4823=h:O.tfa_4823=L(null==y?void 0:y._ga,!1),O.tfa_4896=null==y?void 0:null===(A=y.GUID)||void 0===A?void 0:A.split("|")[0],h?O.tfa_4834=null==y?void 0:y._ga:O.tfa_4834=L(y[x],!0);let n=null==y?void 0:null===(f=y.__gtm_campaign_url)||void 0===f?void 0:f.split("?")[1];O.tfa_4907=null==n?void 0:n.substring(0,255);try{let e=decodeURIComponent(null==y?void 0:y.__gtm_campaign_url);if(e&&"undefined"!==e){let t=new URL(e),a=new URLSearchParams(t.search),n=a.get("gclid"),i=a.get("utm_campaign"),o=a.get("utm_source"),r=a.get("utm_medium");O.tfa_4839=n,O.tfa_4838=i,O.tfa_4835=o,O.tfa_4836=r}}catch(e){console.error("Error decoding URI",e)}}return(0,n.jsx)(ao.A,{...e,formFields:O,formStyleClass:"compact"===e.formStyle?"compactFormWrapper":"",localeSrc:v,locale:N,formId:P})});var am=a(967958);let ag=(0,l.MapTo)("cms-commons/components/content/locationmap")(e=>{let t=(0,S.A)().formatMessage(ae.A.EVENT_VENUE_LABEL);return(0,n.jsx)(am.default,{...e,translations:{venue:t}})});var aE=a(344050),a_=a(258127),aA=a(523307),af=a(471603),aT=a(130510),ah=a(554414);let aC=e=>{let{productId:t,brand:a,promotionalCode:i,closeModal:o}=e,r=(0,b.rd)(),{getSitePreference:s}=(0,tR.iZ)(),l=s(tR.VD.CatalogFilter)||void 0,{context:d=""}=r.query,c=(0,aA.y5)(d),p=(0,O.vN)(c),u=(0,ah.S)()?"network-only":"cache-first",{data:m}=(0,af.iN)({variables:{productKey:t,brandKey:a,catalogType:p,orgId:l},fetchPolicy:u});return(null==m?void 0:m.getProductDetail)?(0,n.jsx)(aT.A,{onClose:o,open:!0,image:m.getProductDetail.images[0],brand:m.getProductDetail.brand,productKey:m.getProductDetail.productKey,productNumber:m.getProductDetail.productNumber,name:m.getProductDetail.name,description:m.getProductDetail.description,promotionalCode:i}):null},ax=()=>{let[e,t]=(0,i.useState)(null),a=e=>{let a=e.target.closest("a"),n=null==a?void 0:a.getAttribute("href");if(!(null==n?void 0:n.includes("modal-product-info")))return;e.preventDefault();let[,i]=n.split("?"),o=new URLSearchParams(i),r=o.get("productId"),s=o.get("brand"),l=o.get("promo");r&&s&&t({productId:r,brand:s,promotionalCode:l||""})};return(0,i.useEffect)(()=>(document.addEventListener("click",a),()=>{document.removeEventListener("click",a)}),[]),e?(0,n.jsx)(aC,{productId:e.productId,brand:e.brand,promotionalCode:e.promotionalCode,closeModal:()=>t(null)}):null};var aS=a(929638);let ay=(0,c.makeStyles)()(e=>({gatedContent:{backgroundColor:e.palette.common.white,borderTop:"1px solid ".concat(e.palette.grey[500]),bottom:"100%",fontSize:e.typography.pxToRem(14),left:0,maxHeight:"70vh",overflowY:"auto",position:"fixed",width:"100%",zIndex:0,"@media print":{display:"none"}},gatedContentActive:{bottom:"0"},wrapper:{margin:"0 auto",padding:"30px 20px 40px",[e.breakpoints.up("sm")]:{maxWidth:"340px",padding:"20px 0 40px"},[e.breakpoints.up("md")]:{padding:"50px 0 100px"}},signInTitle:{display:"block",marginBottom:"5px"},signInDescription:{margin:0},registerTitle:{display:"block",marginTop:"30px"},button:{width:"100%",marginTop:"15px"}})),aI=()=>{let{classes:e,cx:t}=ay(),a=(0,b.rd)(),{isHalfGatedContentActive:o}=(0,i.useContext)(tf);return(0,aS.A)(o),(0,n.jsx)("section",{className:t(e.gatedContent,{[e.gatedContentActive]:o}),children:(0,n.jsxs)("div",{className:e.wrapper,children:[(0,n.jsx)(g.A,{component:"strong",variant:"h1",className:e.signInTitle,children:(0,n.jsx)(d.A,{...ae.A.SIGN_IN_TO_CONTINUE})}),(0,n.jsx)("p",{className:e.signInDescription,children:(0,n.jsx)(d.A,{...ae.A.GATED_CONTENT_INSTRUCTIONS})}),(0,n.jsx)(K.N,{href:"".concat(b.VV.index(),"?redirect=").concat(encodeURIComponent(a.asPath||b.xn.index())),children:(0,n.jsx)(A.A,{size:"large",variant:"contained",color:"primary",className:e.button,children:(0,n.jsx)(d.A,{id:"SIGN_IN",defaultMessage:"Sign In"})})}),(0,n.jsx)(g.A,{variant:"h3",component:"strong",className:e.registerTitle,children:(0,n.jsx)(d.A,{...w.A.DO_NOT_HAVE_AN_ACCOUNT})}),(0,n.jsx)(K.N,{href:"".concat(b.R6.index(),"?redirect=").concat(encodeURIComponent(a.asPath||b.xn.index())),children:(0,n.jsx)(A.A,{size:"large",variant:"outlined",color:"primary",className:e.button,children:(0,n.jsx)(d.A,{id:"REGISTER_TITLE",defaultMessage:"Register"})})})]})})};class ab extends l.Page{componentWillUnmount(){this.modelClient.destroy()}render(){let{props:e}=this;return(0,n.jsxs)("div",{className:"aem-page ".concat(null==e?void 0:e.className),children:[this.childComponents,this.childPages,(0,n.jsx)(iv.GlobalModals,{}),(0,n.jsx)(a_.A,{}),(0,n.jsx)(ax,{}),(0,n.jsx)(aI,{}),e.pageFooter]})}constructor(e){super(e),aE.ModelClient.prototype.fetch=()=>Promise.resolve({}),aE.ModelManager.getData=()=>Promise.resolve({}),this.modelClient=new aE.ModelClient(e.aemHost),this.modelManager=aE.ModelManager,this.modelManager.initializeAsync({modelClient:this.modelClient})}}let aM=(0,l.withModel)(ab);var aR=a(392733);let aN=(0,l.MapTo)("cms-commons/components/content/pressreleasegrid")(e=>{let t=(0,S.A)(),a=t.formatMessage(ae.A.MORE_PRESS_LINK_TITLE),i=t.formatMessage(ae.A.LATEST_PRESS_RELEASES);return(0,n.jsx)(aR.default,{...e,translations:{latestPressReleases:i,morePress:a}})});var av=a(469795);let aP=(0,l.MapTo)("cms-commons/components/content/pressreleaselisting")(e=>{let t=(0,S.A)(),a=t.formatMessage({id:"NO_SEARCH_RESULTS",defaultMessage:"No search results"}),i=t.formatMessage({id:"CHANGE_FILTER_CRITERIA",defaultMessage:"Try changing or broadening your filter criteria."}),o=t.formatMessage({id:"DATE_RANGE_START",defaultMessage:"Date Range Start"}),r=t.formatMessage({id:"DATE_RANGE_END",defaultMessage:"Date Range End"}),s=t.formatMessage({id:"FACET_UNCHECK_ALL",defaultMessage:"Uncheck All"}),l=t.formatMessage({id:"FACET_TOPIC",defaultMessage:"Topic"}),d=t.formatMessage({id:"APPLIED_FILTERS_HEADING",defaultMessage:"Applied Filters:"}),c=t.formatMessage({id:"SELECT_DATE",defaultMessage:"Select Date"}),p=t.formatMessage({id:"DONE",defaultMessage:"Done"}),u=t.formatMessage({id:"FILTERS",defaultMessage:"Filters"}),m=t.formatMessage({id:"ENTER_DATE_INVALID",defaultMessage:"Enter valid date"}),g=t.formatMessage({id:"START_DATE_INVALID",defaultMessage:"Start Date should be before End Date"}),E=t.formatMessage({id:"END_DATE_INVALID",defaultMessage:"End Date should be after Start Date"});return(0,n.jsx)(av.default,{...e,translations:{appliedFilters:d,changeFilterCriteria:i,dateRangeEnd:r,dateRangeStart:o,done:p,facetTopic:l,filters:u,invalidDate:m,invalidEndDate:E,invalidStartDate:g,noSearchResults:a,selectDate:c,uncheckAll:s}})});var aL=a(468544);let aO=(0,l.MapTo)("cms-commons/components/content/relatedproductresources")(e=>{let t=(0,S.A)(),a=t.formatMessage(w.A.PAGE),i=t.formatMessage(w.A.PAGINATION_OPTION_DISPLAY),o=t.formatMessage(w.A.PAGINATION_LABEL_PREVIOUS),r=t.formatMessage(w.A.PAGINATION_LABEL_NEXT);return(0,n.jsx)(aL.default,{...e,translations:{page:a,pagination:i,goNext:o,goPrevious:r}})});var aF=a(683198),aj=a(630101),aB=a(444488);function aw(){let e=(0,el._)(["\n query MultipleProductDetailFullProducts($productInputs: [ProductInput!]!, $catalogType: CatalogType, $orgId: String) {\n getMultipleProductDetails(\n input: {productInputs: $productInputs, catalogType: $catalogType, orgId: $orgId}\n ) {\n sdsLanguages\n ...ProductDetail\n }\n}\n ",""]);return aw=function(){return e},e}function ak(){let e=(0,el._)(["\n query MultipleProductDetailPartialProducts($productInputs: [ProductInput!]!, $catalogType: CatalogType, $orgId: String) {\n getMultipleProductDetails(\n input: {productInputs: $productInputs, catalogType: $catalogType, orgId: $orgId}\n ) {\n id\n name\n description\n productNumber\n productKey\n brand {\n key\n name\n }\n browserMetadata {\n description\n }\n images {\n altText\n mediumUrl\n }\n }\n}\n "]);return ak=function(){return e},e}let aD={},aW=((0,ed.J1)(aw(),aB.$x),(0,ed.J1)(ak()));function aU(e){let t={...aD,...e};return ec.IT(aW,t)}let aG=(0,c.makeStyles)()(e=>({wrapper:{},title:{display:"block",fontSize:e.typography.pxToRem(20),lineHeight:"1.2em",fontWeight:900,margin:e.spacing(6,0,4),textTransform:"uppercase",".aem-Grid--default--3 &, .aem-Grid--default--4 &":{fontSize:e.typography.pxToRem(18),textTransform:"initial"}},list:{width:"100%"},error:{padding:e.spacing(6,5,3),display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center"},noProducts:{textAlign:"center",padding:e.spacing(2,2),borderBottom:"1px solid ".concat(e.palette.grey[300])}})),aH=e=>e.map(e=>({...e,catalogType:u.Mh.Sial})),aY=e=>{let{title:t,products:a,totalProductsDisplay:i}=e,{classes:o}=aG(),r=aH(a),{loading:s,error:l,data:c}=aU({variables:{productInputs:null==r?void 0:r.map(e=>{let{brandKey:t,productKey:a,catalogType:n}=e;return{brandKey:t,productKey:a,catalogType:n}})},errorPolicy:"ignore",ssr:!1});if(s)return(0,n.jsx)("div",{className:o.wrapper});if(l)return(console.error(l),a&&a.length>0)?(0,n.jsxs)("div",{className:o.error,children:[(0,n.jsx)(aF.A,{}),(0,n.jsx)("span",{children:(0,n.jsx)(d.A,{id:"SOMETHING_WENT_WRONG_TEXT",defaultMessage:"Something went wrong, please try again."})})]}):null;{let e=c?c.getMultipleProductDetails:[];return(0,n.jsxs)("div",{"aria-labelledby":"Related Product Right Rail",className:"aem-ms-cmp aem-ms-grid-view aem-ms-related-product-right-rail",children:[t&&(0,n.jsx)(g.A,{component:"strong",className:o.title,dangerouslySetInnerHTML:{__html:t}}),(0,n.jsx)("ul",{children:e&&e.map((e,t)=>{var a;if(!e)return null;let r=e.description&&null!=e.description?e.description:null==e?void 0:null===(a=e.browserMetadata)||void 0===a?void 0:a.description;return t{let{title:t,products:a,totalProductsDisplay:i}=e;return(0,n.jsx)(aY,{title:t,products:a,totalProductsDisplay:i})});var az=a(115203);let aK=(0,l.MapTo)("cms-commons/components/content/relatedwebinar")(e=>{let t=(0,S.A)(),a=t.formatMessage(ae.A.MORE_WEBINARS_LINK_TITLE),i=t.formatMessage(ae.A.RELATED_WEBINARS);return(0,n.jsx)(az.default,{...e,translations:{moreWebinars:a,relatedWebinars:i}})});var aq=a(46282),aZ=a(944131),a$=a(37290),aJ=a(278206),aX=a(767994);function aQ(){let e=(0,el._)(["\n query TrialSoftwareLicense($serialNumber: String!) {\n verifySoftwareLicense(serialNumber: $serialNumber)\n }\n"]);return aQ=function(){return e},e}let a0=(0,ed.J1)(aQ());var a2=a(849995);let a1=e=>{let{classes:t,validationSchema:a,intl:i,setQueryResult:o}=e,r=(0,p.A)(),s=(0,tn.j)(),l=(0,aX.m)(),c={color:r.palette.text.primary,fontWeight:"400"},u={marginTop:0,height:0};return(0,n.jsx)("div",{className:t.subSection,children:(0,n.jsx)(aJ.l1,{initialValues:{serialNumber:""},validationSchema:a,onSubmit:async(e,t)=>{t.setSubmitting(!0);let a=await l.query({query:a0,context:{userSession:s},variables:{serialNumber:e.serialNumber},errorPolicy:"all",fetchPolicy:"no-cache"});if(o(a),a.errors){let e;a.errors.forEach(t=>{var a;e=(null==t?void 0:null===(a=t.extensions)||void 0===a?void 0:a.ecommerceErrors[0].errorCode)==="SERIAL_NUMBER_ALREADY_HAS_LICENSE_KEY"?i.formatMessage(w.A.DIGITAL_PRODUCT_KEY_ALREADY_GENERATED):i.formatMessage(w.A.GENERIC_ERROR)}),t.setErrors({serialNumber:e})}t.setSubmitting(!1)},children:()=>(0,n.jsxs)(aJ.lV,{className:t.form,children:[(0,n.jsx)(aJ.D0,{name:"serialNumber",className:t.input,component:a$.A,placeholder:i.formatMessage(w.A.SERIAL_NUMBER),label:(0,n.jsx)(d.A,{...w.A.DIGITAL_PRODUCT_SERIAL_NUMBER}),filled:!0,style:c,helpStyle:u}),(0,n.jsx)(A.A,{type:"submit",variant:"contained",color:"primary",size:"large","data-testid":"request-license-button",id:"request-license-button",className:(0,a2.A)(t.formButton,t.requestLicenseButton),children:(0,n.jsx)(d.A,{...w.A.REQUEST_LICENSE})})]})})})},a4=e=>{let{classes:t,heading:a,buttonText:i,buttonIdentifier:o,href:r}=e;return(0,n.jsxs)("div",{className:t.subSection,children:[(0,n.jsx)("p",{className:t.promptMessage,children:(0,n.jsx)(d.A,{...a})}),(0,n.jsx)(A.A,{type:"submit",variant:"contained",color:"primary",size:"large","data-testid":o,id:o,className:t.baseLicenseButton,href:r,children:(0,n.jsx)(d.A,{...i})})]})},a6=(0,c.makeStyles)()(e=>({pointerCursor:{cursor:"pointer"},licenseSection:{padding:"12px 36px 0px 36px",background:e.palette.background.grey,width:"100%",display:"flex",flexDirection:"column",fontSize:"14px",lineHeight:"20px"},form:{display:"flex",flexDirection:"column",width:"320px","& > div":{height:"90px"}},input:{marginBottom:"6px","&::placeholder":{color:e.palette.error.main}},formButton:{alignSelf:"flex-end",marginTop:"12px",marginBottom:e.spacing(3),marginRight:e.spacing(4),minWidth:"100%",fontSize:"16px",fontWeight:"bold",justifyContent:"flex-end",[e.breakpoints.up("sm")]:{minWidth:166}},requestLicenseButton:{padding:"10px 15px 11px",minWidth:"auto",height:"40px",[e.breakpoints.down("sm")]:{marginTop:e.spacing(4)}},baseLicenseButton:{"&:first-of-type":{marginTop:"32px",color:e.palette.common.white,textDecoration:"initial",height:"40px",padding:"10px 12px 11px",fontWeight:600,width:"144px","&:hover, &:active":{background:e.palette.primary.main,textDecoration:"initial",color:e.palette.common.white}}},promptMessage:{"&:first-of-type":{margin:0,lineHeight:"14px"}},headingSection:{position:"relative"},iconContainer:{cursor:"pointer",position:"absolute",top:"8px",left:"-20px",display:"flex"},icon:{color:e.palette.primary.main,fontSize:"10px",fontWeight:400},expandedIcon:{transform:"rotate(90deg)"},expandedContainer:{height:"216px"},subSection:{paddingTop:"8px"}})),a8=(0,l.MapTo)("cms-commons/components/content/dealerlicense")(()=>{let{classes:e,cx:t}=a6(),a=(0,S.A)(),o=aZ.Ik().shape({serialNumber:aZ.Yj().required(a.formatMessage(w.A.DIGITAL_PRODUCT_SERIAL_NUMBER_INVALID)).length(10,a.formatMessage(w.A.EXACT_N_CHARACTERS,{quantity:10})).matches(/^\d+$/,a.formatMessage(w.A.DIGITAL_PRODUCT_SERIAL_NUMBER_INVALID))}),[r,s]=(0,i.useState)(),[l,c]=(0,i.useState)(!1),{userIsLoggedIn:p}=(0,tR.iZ)(),u=(0,b.rd)(),m={classes:e,validationSchema:o,intl:a,setQueryResult:s},g={loginPromptSection:{component:a4,props:{...m,heading:w.A.LICENSE_KEY_LOGIN_PROMPT,buttonText:w.A.LOGIN,buttonIdentifier:"login-button",href:"".concat(b.VV.index(),"?redirect=").concat(encodeURIComponent(u.asPath))}},generatedLicenseSection:{component:a4,props:{...m,heading:w.A.A_LICENSE_KEY_HAS_BEEN_GENERATED,buttonText:w.A.VIEW_MY_LICENSE,buttonIdentifier:"generated-license-button",href:b.Ns.index()}},requestLicenseSection:{component:a1,props:m}},E=t(e.licenseSection,{[e.expandedContainer]:l}),_=t(e.icon,{[e.expandedIcon]:l}),A=()=>c(e=>!e),[f,T]=(()=>{var e;let{loginPromptSection:t,generatedLicenseSection:a,requestLicenseSection:n}=g,i=p?(null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.verifySoftwareLicense)?a:n:t;return[i.component,i.props]})();return(0,n.jsxs)("div",{className:E,children:[(0,n.jsxs)("div",{className:e.headingSection,children:[(0,n.jsx)("div",{onClick:A,onKeyDown:A,className:e.iconContainer,role:"button",tabIndex:0,children:(0,n.jsx)(eq.A,{className:_})}),(0,n.jsx)("h1",{style:{fontSize:"20px",textTransform:"uppercase",fontWeight:900,lineHeight:1.2,letterSpacing:"1px",textAlign:"left",paddingBottom:"10px",margin:0},children:(0,n.jsx)(d.A,{...w.A.REQUEST_TRIAL_LICENSE})})]}),(0,n.jsx)(aq.A,{in:l,timeout:"auto",children:(0,n.jsx)(f,{...T})})]})});var a3=a(387395);let a7=(0,l.MapTo)("cms-commons/components/content/upcomingeventsgrid")(e=>{let t=(0,S.A)(),a=t.formatMessage(ae.A.MORE_EVENTS_LINK_TITLE),i=t.formatMessage(ae.A.UPCOMING_EVENTS);return(0,n.jsx)(a3.default,{...e,translations:{moreEvents:a,upcomingEvents:i}})});var a5=a(203913);let a9=(0,l.MapTo)("cms-commons/components/content/webinarlisting")(e=>{let t=(0,S.A)(),a=t.formatMessage(ae.A.WEBINAR_UPCOMING_TAB),i=t.formatMessage(ae.A.WEBINAR_ON_DEMAND_TAB),o=t.formatMessage(ae.A.WEBINAR_SESSION_LABEL),r=t.formatMessage(ae.A.WEBINAR_PRESENTED_LABEL),s=t.formatMessage(w.A.LANGUAGE),l=t.formatMessage(ae.A.WEBINAR_DURATION_LABEL),d=t.formatMessage({id:"NO_SEARCH_RESULTS",defaultMessage:"No search results"}),c=t.formatMessage({id:"CHANGE_FILTER_CRITERIA",defaultMessage:"Try changing or broadening your filter criteria."}),p=t.formatMessage({id:"DATE_RANGE_START",defaultMessage:"Date Range Start"}),u=t.formatMessage({id:"DATE_RANGE_END",defaultMessage:"Date Range End"}),m=t.formatMessage({id:"FACET_UNCHECK_ALL",defaultMessage:"Uncheck All"}),g=t.formatMessage({id:"FACET_TOPIC",defaultMessage:"Topic"}),E=t.formatMessage(w.A.LANGUAGES),_=t.formatMessage({id:"APPLIED_FILTERS_HEADING",defaultMessage:"Applied Filters:"}),A=t.formatMessage(w.A.LEARN_MORE),f=t.formatMessage({id:"WATCH_NOW",defaultMessage:"Watch Now"}),T=t.formatMessage({id:"SELECT_DATE",defaultMessage:"Select Date"}),h=t.formatMessage({id:"DONE",defaultMessage:"Done"}),C=t.formatMessage({id:"FILTER_AND_SEARCH_HEADING",defaultMessage:"Filter & Search"}),x=t.formatMessage({id:"FILTERS_AND_SEARCH_WEBINAR",defaultMessage:"Filter and Search: Webinars"}),y=t.formatMessage({id:"FILTERS",defaultMessage:"Filters"}),I=t.formatMessage(w.A.SELECT_ALL),b=t.formatMessage(w.A.DESELECT_ALL),M=t.formatMessage({id:"ENTER_DATE_INVALID",defaultMessage:"Enter valid date"}),R=t.formatMessage({id:"START_DATE_INVALID",defaultMessage:"Start Date should be before End Date"}),N=t.formatMessage({id:"END_DATE_INVALID",defaultMessage:"End Date should be after Start Date"}),v=t.formatMessage({id:"PAGE",defaultMessage:"Page"}),P=t.formatMessage({id:"WEBINAR_PAGINATION",defaultMessage:"Showing {pageStart} - {pageEnd} of {numberOfPages} Results"}),L=t.formatMessage(w.A.CLEAR_ALL);return(0,n.jsx)(a5.default,{...e,translations:{upcoming:a,onDemand:i,session:o,presented:r,language:s,duration:l,appliedFilters:_,changeFilterCriteria:c,dateRangeEnd:u,dateRangeStart:p,done:h,facetLanguages:E,facetTopic:g,filterAndSort:C,filters:y,invalidDate:M,invalidEndDate:N,invalidStartDate:R,learnMore:A,watchNow:f,noSearchResults:d,selectDate:T,uncheckAll:m,selectAllFilters:I,deselectAllFilters:b,page:v,pagination:P,clearAll:L,filtersAndSearchWebinar:x}})});var ne=a(590157);let nt=(0,l.MapTo)("cms-commons/components/content/webinarsidebar")(e=>{let t=(0,S.A)(),a=t.formatMessage(ae.A.WEBINAR_DURATION_LABEL),i=t.formatMessage(w.A.LANGUAGE),o=t.formatMessage(ae.A.WEBINAR_PRESENTED_LABEL),r=t.formatMessage(ae.A.WEBINAR_SESSION_LABEL);return(0,n.jsx)(ne.default,{...e,translations:{duration:a,language:i,presented:o,session:r}})});var na=a(214994),nn=a(96442),ni=a(876209),no=a(484830),nr=a(354064);function ns(){let e=(0,el._)(["\n query BestSellerProducts($input: GetBestSellerProductsInput!) {\n getBestSellerProducts(input: $input) {\n products {\n ...DynamicProduct\n }\n }\n}\n ",""]);return ns=function(){return e},e}let nl={},nd=(0,ed.J1)(ns(),nr.z);function nc(e){let t={...nl,...e};return ec.IT(nd,t)}let np="Best Sellers",nu="New Arrivals",nm={S002bestsellers:"S002",S003bestsellers:"S003",S007bestsellers:"S007",S012bestsellers:"S012",S015bestsellers:"S015",S017bestsellers:"S017",S020bestsellers:"S020",S022bestsellers:"S022",S029bestsellers:"S029",S053bestsellers:"S053",S064bestsellers:"S064",S071bestsellers:"S071",S103bestsellers:"S103",S107bestsellers:"S107",S111bestsellers:"S111",S114bestsellers:"S114",S125bestsellers:"S125"},ng={S002newProducts:"S002",S003newProducts:"S003",S007newProducts:"S007",S012newProducts:"S012",S015newProducts:"S015",S017newProducts:"S017",S020newProducts:"S020",S022newProducts:"S022",S029newProducts:"S029",S053newProducts:"S053",S064newProducts:"S064",S071newProducts:"S071",S103newProducts:"S103",S107newProducts:"S107",S111newProducts:"S111",S114newProducts:"S114",S125newProducts:"S125"},nE={S138:"S138",S140:"S140",S151:"S151",S194:"S194",S198:"S198",S199:"S199",S241:"S241",S280:"S280",S307:"S307",S315:"S315",S319:"S319",S324:"S324",S348:"S348",S366:"S366",S372:"S372",S395:"S395",S402:"S402",S863:"S863",CP007:"Cp007"},n_=function(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{typeId:e,disp:t,headline:a,carouselProductType:n}},nA={bestsellers:n_("homePageBestSellersAPI",u.HI.BestSellers,np,to.j.BestSellers),buyAgain:n_("biaHMAPI",u.HI.BiaHm,"Buy Again",to.j.BuyAgain),newProducts:n_("intNewProductsAPI1",u.HI.NewProducts,nu,to.j.NewArrivals),popular_products:n_("homePagePopularProductsAPI",u.HI.PopularProducts,"Popular Products",to.j.PopularProducts)};for(let e in nm)nA[e]=n_("appPageBestSellersAPI",u.HI[nm[e]],np);for(let e in ng)nA[e]=n_("appPageNewProductsAPI",u.HI[ng[e]],nu);for(let e in nE)nA[e]=n_("catPageBestSellersAPI",u.HI[nE[e]],np);let nf=(0,c.makeStyles)()(e=>({text:{display:"inline-block",marginLeft:e.spacing(4),[e.breakpoints.down("sm")]:{width:120}},button:{marginTop:e.spacing(4),marginBottom:e.spacing(4)},headline:{margin:e.spacing(10,0)},image:{[e.breakpoints.down("sm")]:{width:120}},width50:{width:"50%"}})),nT=e=>{let{count:t=2,xsCount:a=1}=e,{classes:i}=nf(),o=(0,p.A)(),r=(0,m.A)(o.breakpoints.down("sm"));return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{children:(0,n.jsx)(tl.A,{variant:"text",width:"100%",height:20,className:i.headline})}),(0,n.jsx)(ts.A,{mt:6,children:(0,n.jsx)(E.A,{container:!0,children:Array(r?a:t).fill({}).map((e,a)=>(0,n.jsxs)(E.A,{sm:12,md:2===t?6:3,xs:12,children:[(0,n.jsxs)(E.A,{container:!0,children:[(0,n.jsx)(E.A,{sm:6,xs:6,className:i.width50,children:(0,n.jsx)(tl.A,{variant:"rectangular",width:"100%",height:120,className:i.image})}),(0,n.jsxs)(E.A,{sm:6,xs:6,className:i.width50,children:[(0,n.jsx)(tl.A,{variant:"text",width:"85%",height:20,className:i.text}),(0,n.jsx)(tl.A,{variant:"text",width:"85%",height:20,className:i.text}),(0,n.jsx)(tl.A,{variant:"text",width:"85%",height:20,className:i.text})]})]}),(0,n.jsx)(tl.A,{variant:"rectangular",width:"95%",height:40,className:i.button})]},a))})})]})};var nh=a(346129),nC=a(650187);let nx=(0,c.makeStyles)()((e,t,a)=>({wrapper:{},error:{padding:e.spacing(6,5,3),display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center"},heroProductVWrapper:{background:e.palette.common.white,borderRadius:e.typography.pxToRem(5),border:"solid 1px rgba(201, 201, 201, 0.5)",padding:"".concat(e.spacing(8,6)," !important"),[e.breakpoints.up("sm")]:{".aem-GridColumn.aem-GridColumn--default--12 > &":{maxWidth:"50%"}},[e.breakpoints.down("sm")]:{minHeight:"390px"},["& .".concat(a.title)]:{textTransform:"unset",letterSpacing:"normal",margin:e.spacing(0,0,10,0)}},title:{marginBottom:e.spacing(8),[".".concat(a.contentCondensed," &")]:{marginBottom:e.spacing(4)}},viewAll:{fontSize:e.typography.pxToRem(16),display:"inline-block",marginTop:e.spacing(15)},wrapperPaddingBottom:{[e.breakpoints.up("sm")]:{paddingBottom:"".concat(e.typography.pxToRem(103)," !important")}},discount:{width:"fit-content",maxWidth:144,maxHeight:24,height:24,padding:e.spacing(0,3),borderRadius:"16px",backgroundColor:e.palette.promoGreen,color:e.palette.text.primary,fontSize:e.typography.pxToRem(12),fontWeight:e.typography.fontWeightMedium,display:"flex",alignItems:"center",justifyContent:"center",marginTop:e.spacing(1),textTransform:"capitalize"},contentCondensed:{padding:0}})),nS=e=>e?e.map(e=>{var t,a,n;return{...e,gaProductCode:(null==e?void 0:e.gaProductCode)||"aem_related_products|aemrelatedproducts|".concat(null==e?void 0:null===(a=e.brand)||void 0===a?void 0:null===(t=a.key)||void 0===t?void 0:t.toLowerCase(),"_").concat(null==e?void 0:null===(n=e.productNumber)||void 0===n?void 0:n.toLowerCase())}}):[],ny=(0,l.MapTo)("cms-commons/components/content/relatedproducts")(e=>{var t,a,o,r,s,l;let{products:c,title:E,hideProductImg:_=!1,cardsPerRotation:A,viewAllCTALink:f,viewAllText:T,cardType:h}=e,{classes:C,cx:x}=nx(),S=(0,tt.useRouter)(),y=(0,i.useRef)(null),{isBlueB2BUser:I,userIsLoggedIn:b}=(0,tR.iZ)(),M=(0,p.A)(),R=(0,m.A)(M.breakpoints.up("md")),N=(0,m.A)(M.breakpoints.down("sm")),{userSession:v}=(0,tn.j)(),[P,L]=(0,i.useState)(!1),[O,F]=(0,i.useState)(!1),[j,B]=(0,i.useState)(!1),w=null==c?void 0:c.map(e=>(delete e.defaultSrc,{...e,catalogType:na.C.sial})),k="hero"===h,D="standard"===h,W=D&&!c.length&&b,U=D&&!c.length&&!b,G="default"===h,H=k||W||U,Y=R&&!!f&&!!T&&H,{data:V,loading:z}=(0,nC.Wo)({variables:{country:null==v?void 0:v.country},fetchPolicy:"network-only",skip:!(null==v?void 0:v.country)||G||W&&!O||k}),K=null!==(l=null==V?void 0:null===(t=V.getCountryDetails)||void 0===t?void 0:t.salesOrg)&&void 0!==l?l:"7950",{loading:q,error:Z,data:J}=aU({variables:{productInputs:w},errorPolicy:"ignore",ssr:!1,skip:W||U||!(null==c?void 0:c.length)}),{data:X,loading:Q}=(0,ni.wJ)({variables:{dispType:u.HI.RecentlyViewedRchp,productKey:"",brand:"",...I?{erpType:no.G.Blue}:{}},ssr:!1,fetchPolicy:"no-cache",skip:U||G||k}),{data:ee,loading:et}=(0,nn.H7)({variables:{input:{typeId:"AEMDiscountedProductsAPI",disp:K}},ssr:!1,fetchPolicy:"no-cache",skip:G||W&&!O||k||!K||z}),{loading:ea,data:en}=nc({ssr:!1,fetchPolicy:"network-only",variables:{input:{...I?{erpType:no.G.Blue}:{},typeId:null===(a=nA.newProducts)||void 0===a?void 0:a.typeId,disp:null===(o=nA.newProducts)||void 0===o?void 0:o.disp}},skip:!P}),ei=null==ee?void 0:null===(r=ee.getAEMDiscountedProducts)||void 0===r?void 0:r.products.length,eo=null==X?void 0:null===(s=X.getRecentlyViewedProducts)||void 0===s?void 0:s.products.length,er=(e,t,a)=>{Array.from(e).forEach(e=>{let n=e.querySelector(".MuiTypography-root.MuiTypography-body1 a.ctaLinkElement");e.style.height=t,n&&(n.style.position=a)})},es=(0,i.useCallback)(()=>{setTimeout(()=>{var e;let t=document.querySelectorAll(".heroGrid12 .cardTopWrapper > div");if(t.length){er(t,"auto","unset");let e=Math.max(...Array.from(t).map(e=>e.offsetHeight));er(t,"".concat(e,"px"),"absolute")}let a=y&&y.current;if(!a)return;a.style.height="auto";let n=null==a?void 0:null===(e=a.parentElement)||void 0===e?void 0:e.nextElementSibling;if(!n)return;let i=null==n?void 0:n.querySelector(".cardTopWrapper");if(!i)return;let o=null==i?void 0:i.clientHeight,r=null==a?void 0:a.offsetHeight;o?r&&o{B(q||Q||et||ea||z)},[q,Q,et,ea,z]),(0,i.useEffect)(()=>{ee&&!ei&&L(!0)},[ee]),(0,i.useEffect)(()=>{X&&!eo&&F(!0)},[X]),(0,i.useEffect)(()=>{let e=document.querySelector(".heroWrapperDiv"),t=null==e?void 0:e.parentElement,a=null==t?void 0:t.parentElement;null==t||t.classList.add("heroGridColumn"),null==a||a.classList.add("heroGrid12"),N&&es()},[J,X,ee,j]),(0,i.useEffect)(()=>(window.addEventListener("resize",es),()=>{window.removeEventListener("resize",es)}),[]);let el=(()=>{var e,t,a,n,i,o;return J&&(null==J?void 0:null===(e=J.getMultipleProductDetails)||void 0===e?void 0:e.length)?nS(J.getMultipleProductDetails.filter(Boolean)):X&&(null===(t=X.getRecentlyViewedProducts)||void 0===t?void 0:t.products.length)?nS(null===(n=X.getRecentlyViewedProducts)||void 0===n?void 0:n.products):ee&&ei?nS(null===(i=ee.getAEMDiscountedProducts)||void 0===i?void 0:i.products):en&&(null===(a=en.getBestSellerProducts)||void 0===a?void 0:a.products.length)?nS(null===(o=en.getBestSellerProducts)||void 0===o?void 0:o.products):[]})(),ed=()=>k?$.j2.PRODUCT_HERO_CARD:D?b?O?$.j2.DISCOUNTED_PRODUCTS:$.j2.RECENTLY_VIEWED_PRODUCTS:P?$.j2.NEW_ARRIVALS_PRODUCTS:$.j2.DISCOUNTED_PRODUCTS:(0,$.j2.RELATED_PRODUCTS);if((0,i.useEffect)(()=>{if(!el||!el.length)return;let e=ed(),t=()=>{sessionStorage.removeItem(e)};return S.events.on("routeChangeStart",t),()=>{S.events.off("routeChangeStart",t)}},[el]),j)return(0,n.jsx)(nT,{count:H?2:4});if(Z)return console.error(Z),null;let ec=el&&(null==el?void 0:el.length)>0&&Array.isArray(el);return Z&&!ec&&c&&0===c.length?(0,n.jsxs)("div",{className:C.error,children:[(0,n.jsx)(aF.A,{}),(0,n.jsx)("span",{children:(0,n.jsx)(d.A,{id:"SOMETHING_WENT_WRONG_TEXT",defaultMessage:"Something went wrong, please try again."})})]}):ec?(0,n.jsxs)("div",{id:"aem-related-products",className:x({[C.heroProductVWrapper]:H,[C.wrapperPaddingBottom]:!Y&&H,heroWrapperDiv:H}),ref:H?y:null,children:[(0,n.jsx)(te.A,{title:E?b?O?(0,n.jsx)(g.A,{variant:"h3",className:C.title,children:(0,n.jsx)(d.A,{id:"TOP_DEALS",defaultMessage:"Top Deals"})}):(0,n.jsx)(g.A,{variant:H?"h3":"h2",className:C.title,dangerouslySetInnerHTML:{__html:eQ().sanitize(null!=E?E:"")}}):P?(0,n.jsx)(g.A,{variant:"h3",className:C.title,children:(0,n.jsx)(d.A,{id:"NEW_ARRIVALS",defaultMessage:"New Arrivals"})}):(0,n.jsx)(g.A,{variant:H?"h3":"h2",className:C.title,dangerouslySetInnerHTML:{__html:eQ().sanitize(null!=E?E:"")}}):(0,n.jsx)(n.Fragment,{}),type:k?to.j.HeroCard:D?b?O?to.j.TopDeals:to.j.RecentlyViewedHomepage:P?to.j.NewArrivals:to.j.TopDeals:(0,to.j.RelatedProducts),products:el,productHeroCard:H,hideProductImg:_,withoutControls:R&&el.length<=A,displayDiscount:e=>e?(0,n.jsx)("div",{className:C.discount,children:(0,n.jsx)(d.A,{id:"DISCOUNT_PERCENTAGE",defaultMessage:"{discountPercent}% off",values:{discountPercent:e}})}):null}),Y&&(0,n.jsx)(nh.N,{href:f,className:C.viewAll,children:T})]}):null});function nI(){let e=(0,el._)(["\n query BestSellerProductsByRegion($input: GetBestSellerProductsByRegionInput!) {\n getBestSellerProductsByRegion(input: $input) {\n products {\n ...DynamicProduct\n }\n }\n}\n ",""]);return nI=function(){return e},e}let nb={},nM=(0,ed.J1)(nI(),nr.z);function nR(e){let t={...nb,...e};return ec.IT(nM,t)}let nN=e=>{var t;let{recentlyViewedProducts:a,popularProducts:o,...r}=e,[s]=(0,ap.A2)("wabt-245"),{setIsRecentlyViewed:l}=(0,i.useContext)(tf),d=null!==(t=null==s?void 0:s.enabled)&&void 0!==t&&t,c=d?a:o;return(0,i.useEffect)(()=>{l(d)},[d]),(0,n.jsx)(te.A,{...r,products:c,isProductRecommendation:!0})},nv=(0,c.makeStyles)()(e=>({carouselWrapper:{[e.breakpoints.down("sm")]:{touchAction:"pan-y"},"@media (max-width: 1350px)":{padding:e.spacing(0,5)}},error:{padding:e.spacing(6,5,3),display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center"},contentCondensed:{padding:0}})),nP=(0,l.MapTo)("cms-commons/components/content/productRecommendationCarousel")(e=>{var t,a,o,r,s,l,d,c,p,m,g,E,_,A,f,T;let{typeId:h,headline:C}=e,{classes:x}=nv(),{formatMessage:y}=(0,S.A)(),{isBlueB2BUser:I,userId:b,userIsLoggedIn:M}=(0,tR.iZ)(),{userSession:R}=(0,tn.j)(),{isBuyAgainEmpty:N,setIsBuyAgainEmpty:v,setShowHorizontaltabLoader:P}=(0,i.useContext)(tf),{getCountryProp:L}=(0,ti.Y)(),[O,F]=(0,i.useState)([]),j="buyAgain"===h,B="bestsellers"===h,w="popular_products"===h,k=(null===(t=nA[h])||void 0===t?void 0:t.typeId)==="catPageBestSellersAPI",D=function(){var e,t;let a=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=L(R.country,"regionCode"),i=a&&(null===(e=nA[h])||void 0===e?void 0:e.disp)?"".concat(null===(t=nA[h])||void 0===t?void 0:t.disp,"_"):"";return"".concat(i).concat({AP:"APAC",EU:"EMEA",AF:"EMEA",SA:"LATAM"}[n]||n)},W=(e,t)=>e&&t?y({id:"POPULAR_PRODUCTS",defaultMessage:"Popular Products"}):e||(0,n.jsx)(n.Fragment,{}),U=(e,t)=>{var a,n,i,o;return t?to.j.PopularProducts:(null==nA?void 0:null===(a=nA[e])||void 0===a?void 0:a.carouselProductType)||(null==nA?void 0:null===(o=nA[e])||void 0===o?void 0:null===(i=o.disp)||void 0===i?void 0:null===(n=i.toLowerCase())||void 0===n?void 0:n.replace(/[-_]/g," "))},{loading:G,error:H,data:Y}=nc({ssr:!1,fetchPolicy:"network-only",variables:{input:{...I?{erpType:no.G.Blue}:{},typeId:null===(a=nA[h])||void 0===a?void 0:a.typeId,disp:null===(o=nA[h])||void 0===o?void 0:o.disp,...j?{participant_id:b}:{}}},skip:B||w||j&&!M||k}),{data:V,loading:z,error:K}=nR({variables:{input:{typeId:nA.popular_products.typeId,disp:nA.popular_products.disp}},ssr:!1,fetchPolicy:"network-only",skip:!N}),{data:q,loading:Z,error:$}=nR({variables:{input:{typeId:(()=>{var e;let t="";return(B||w||k)&&(t=(null===(e=nA[h])||void 0===e?void 0:e.typeId)||""),t})(),disp:(()=>{var e;let t="";return(B||k)&&(t=k?D(!0):D()),w&&(t=(null===(e=nA[h])||void 0===e?void 0:e.disp)||""),t})()}},ssr:!1,fetchPolicy:"network-only",skip:!(B||w&&!M||k)}),{data:J,loading:X,error:Q}=(0,ni.wJ)({variables:{dispType:u.HI.RecentlyViewedRchp,productKey:"",brand:"",...I?{erpType:no.G.Blue}:{}},ssr:!1,fetchPolicy:"no-cache",skip:M}),ee=null==J?void 0:null===(r=J.getRecentlyViewedProducts)||void 0===r?void 0:r.products,et=H||$||K||Q;if((0,i.useEffect)(()=>{var e,t;!Y||(null==Y?void 0:null===(t=Y.getBestSellerProducts)||void 0===t?void 0:null===(e=t.products)||void 0===e?void 0:e.length)||!j||v(!0)},[Y]),(0,i.useEffect)(()=>{var e,t,a,n,i,o,r;Y&&(null===(e=Y.getBestSellerProducts)||void 0===e?void 0:e.products.length)&&F(null==Y?void 0:null===(i=Y.getBestSellerProducts)||void 0===i?void 0:null===(n=i.products)||void 0===n?void 0:n.filter(Boolean)),q&&(null===(t=q.getBestSellerProductsByRegion)||void 0===t?void 0:t.products.length)&&F(null==q?void 0:null===(o=q.getBestSellerProductsByRegion)||void 0===o?void 0:o.products),V&&(null===(a=V.getBestSellerProductsByRegion)||void 0===a?void 0:a.products.length)&&j&&F(null==V?void 0:null===(r=V.getBestSellerProductsByRegion)||void 0===r?void 0:r.products)},[Y,q,V,j]),(0,i.useEffect)(()=>{P(G||Z||z||X)},[G,Z,z,X]),G||Z||z||X)return(0,n.jsx)(nT,{count:4});if(et)return console.error(et),(0,n.jsxs)("div",{className:x.error,children:[(0,n.jsx)(aF.A,{}),(0,n.jsx)("span",{children:"Something went wrong, please try again."})]});if((null==Y?void 0:null===(l=Y.getBestSellerProducts)||void 0===l?void 0:null===(s=l.products)||void 0===s?void 0:s.length)&&(null==q?void 0:null===(c=q.getBestSellerProductsByRegion)||void 0===c?void 0:null===(d=c.products)||void 0===d?void 0:d.length)&&(null==V?void 0:null===(p=V.getBestSellerProductsByRegion)||void 0===p?void 0:p.products.length))return null;if(O&&(null==O?void 0:O.length)>0&&Array.isArray(O)){let e=j&&N,t=(null!==(A=null==q?void 0:null===(g=q.getBestSellerProductsByRegion)||void 0===g?void 0:null===(m=g.products)||void 0===m?void 0:m.length)&&void 0!==A?A:0)>0,a=(null!==(f=null==ee?void 0:ee.length)&&void 0!==f?f:0)>0,i=w&&t&&a,o=()=>({title:W(C,e),type:U(h,e),analyticsPageName:k?"categorypage":"homepage",analyticsPageDetails:k?"categorypage":"homepage"});return(0,n.jsx)("div",{id:"aem-recommended-products-".concat(null===(E=nA[h])||void 0===E?void 0:E.disp),className:x.carouselWrapper,children:i?(0,n.jsx)(nN,{...o(),recentlyViewedProducts:null!=ee?ee:[],popularProducts:null!==(T=null==q?void 0:null===(_=q.getBestSellerProductsByRegion)||void 0===_?void 0:_.products)&&void 0!==T?T:[]}):(0,n.jsx)(te.A,{...o(),products:O,isProductRecommendation:!0})})}return null});var nL=a(938554);let nO=(0,c.makeStyles)()(e=>({textWrapper:{padding:e.spacing(4,0),display:"flex",justifyContent:"center",fontSize:e.typography.pxToRem(18),fontWeight:900,textAlign:"center",letterSpacing:"0.09px",visibility:"hidden",width:"100vw",margin:"0 -50vw",position:"relative",left:"50%",right:"50%",backgroundColor:e.palette.common.white,color:e.palette.common.white,"&:hover a":{color:e.palette.primary.dark},"& p":{marginBottom:0},[e.breakpoints.down("sm")]:{paddingLeft:e.spacing(6),paddingRight:e.spacing(6)}},displayBanner:{visibility:"visible",backgroundColor:e.palette.background.grey,color:"inherit"},promotionsBanner:{backgroundColor:e.palette.promoGreen},customLinkStyles:{textDecoration:"none",color:e.palette.text.primary}})),nF=(0,l.MapTo)("cms-commons/components/content/textbanner")(e=>{let{textBannerDescription:t}=e,{classes:a}=nO(),o=(0,b.rd)(),r=(0,p.A)(),[s,l]=(0,i.useState)(null!=t?t:""),[d,c]=(0,i.useState)(""),{userIsLoggedIn:u}=(0,tR.iZ)(),[g,E]=(0,i.useState)(!1),[_,A]=(0,i.useState)(!1),[f,T]=(0,i.useState)(""),h=(0,m.A)(r.breakpoints.down("sm")),[C,x]=(0,i.useState)({});if((0,i.useEffect)(()=>{let e=document.createElement("div");e.innerHTML=s;let t=e.querySelector("a[href]"),a=e.querySelector('a[href$="/login"]');if(t){var n;let i=t.getAttribute("href")||"",r=i;a?u?E(!1):(r="".concat(i,"?redirect=").concat(encodeURIComponent(o.asPath||b.xn.index()),"&icid=sign_in_prompt;body;banner;link"),E(!0),A(!0),T(r),c(r)):(E(!0),c(i));let s=document.createElement("a"),d=(null===(n=t.textContent)||void 0===n?void 0:n.trim())||"",p=e.innerHTML.replace(/(<([^>]+)>)/gi,"").replace(/[^\w\s,&]/gi,"").toLowerCase(),m={"data-element_text":d.replace(/[^\w\s]/gi,"").toLowerCase(),"data-element_type":"link","data-component":"text banner","data-section":p,"data-detail":(0,M.isHomePage)(o.asPath)?"homepage cta":o.asPath.includes("learning-center")?"learning center cta":"iskeyevent","data-event":"ga4-cta"};Object.entries(m).forEach(e=>{let[t,a]=e;s.setAttribute(t,a)}),x(m),s.setAttribute("href",r),s.textContent=t.textContent,(null==t?void 0:t.parentNode)&&(null==t||t.parentNode.replaceChild(s,t)),l(e.innerHTML)}else E(!0)},[t]),!t)return null;let S=(0,n.jsx)("div",{className:(0,a2.A)(a.textWrapper,g&&a.displayBanner,!_&&a.promotionsBanner),children:(0,n.jsx)("span",{className:a.customLinkStyles,dangerouslySetInnerHTML:{__html:eQ().sanitize(s)}})});return(0,n.jsx)(n.Fragment,{children:h&&_?(0,n.jsx)(K.N,{href:f,passHref:!0,children:(0,n.jsx)(nL.A,{...C,children:(0,n.jsx)("div",{className:(0,a2.A)(a.textWrapper,g&&a.displayBanner),children:(0,n.jsx)("span",{className:a.customLinkStyles,dangerouslySetInnerHTML:{__html:eQ().sanitize(s)}})})})}):d?(0,n.jsx)(K.N,{href:d,passHref:!0,children:(0,n.jsx)(nL.A,{...C,children:S})}):S})});var nj=a(191326);let nB=(0,l.MapTo)("cms-commons/components/content/horizontaltab")((e=>{let t=t=>{var a,o,r;let{userIsLoggedIn:s}=(0,tR.iZ)(),{isBuyAgainEmpty:l,showHorizontaltabLoader:d,isRecentlyViewed:c,isCSRFilter:p}=(0,i.useContext)(tf),u=(0,S.A)(),m=u.formatMessage({id:"POPULAR_PRODUCTS",defaultMessage:"Popular Products"}),g=u.formatMessage({id:"RECENTLY_VIEWED",defaultMessage:"Recently Viewed"}),E=null!==(o=null==t?void 0:null===(a=t.cqItems)||void 0===a?void 0:a.item)&&void 0!==o?o:null==t?void 0:t.cqItems,_=Object.entries(null!=E?E:{}),A=_.find(e=>{let[t,a]=e;return Array.isArray(null==a?void 0:a[":itemsOrder"])&&a[":itemsOrder"].includes("categorysearchresult")}),f=null!==(r=null==A?void 0:A[0])&&void 0!==r?r:null,T=A?_.findIndex(e=>{let[t]=e;return t===f}):(null==_?void 0:_.length)?(null==_?void 0:_.length)-1:0;return(0,n.jsx)(e,{userIsLoggedIn:s,isBuyAgainEmpty:l,translations:{popularProducts:m,recentlyViewed:g},isRecentlyViewed:c,showHorizontaltabLoader:d,...t,...p?{activeIndex:null!=T?T:0}:{}})};return t.displayName="HorizontalTabHOC",t})(nj.default));var nw=a(944624);let nk=(0,c.makeStyles)()(e=>({wrapSitemap:{"& h2":{margin:e.spacing(8,0,6),fontSize:e.typography.pxToRem(20)},"& h5":{margin:0,fontSize:e.typography.pxToRem(14)},"& ul":{padding:0,margin:e.spacing(0,0,4),"& > li":{listStyle:"outside none none","& > a":{fontSize:e.typography.pxToRem(12),display:"block",marginTop:e.spacing(2),lineHeight:"normal"}}}},row:{display:"flex",flexWrap:"wrap"},colInit:{flex:"0 0 100%",columnCount:1,marginBottom:e.spacing(2),"& > div":{display:"grid",gridTemplateRows:"1fr auto",breakInside:"avoid"},[e.breakpoints.up("md")]:{columnCount:3,flex:"0 0 75%",marginBottom:e.spacing(0),gap:e.spacing(0,2)}},lastCol:{flex:"0 0 100%",[e.breakpoints.up("md")]:{flex:"0 0 25%",marginLeft:"-".concat(e.spacing(2))}},stackedRow:{[e.breakpoints.up("md")]:{flex:"0 0 75%",margin:e.spacing(4,0,0),columnCount:3,gap:e.spacing(0,2),"& > div":{paddingLeft:0}}},colNoChild:{[e.breakpoints.up("md")]:{paddingLeft:e.spacing(4)},"& ul":{marginBottom:0,"& li":{margin:0,"& > a":{fontSize:e.typography.pxToRem(14)}}},"&:first-of-type":{"& ul":{marginBottom:0,"& li":{margin:0,"& > a":{margin:0}}}}},lastColFirstLevel:{marginTop:e.spacing(6),[e.breakpoints.up("md")]:{marginTop:e.spacing(8)}}})),nD=(0,l.MapTo)("cms-commons/components/content/sitemap")(e=>{var t,a,i,o;let{headline:r,anchorId:s}=e,{classes:l,cx:d}=nk(),{loading:c,data:p}=(0,nw.hO)(),u=(null==p?void 0:null===(i=p.aemHeaderFooter)||void 0===i?void 0:null===(a=i.header)||void 0===a?void 0:null===(t=a.topnav)||void 0===t?void 0:t.slice(0,3))||[],m=e=>{let t=new Set;return e.filter(e=>{let a=t.has(e.title);return t.add(e.title),!a})},g=e=>e.reduce((e,t)=>(e[t.mainTitle]||(e[t.mainTitle]=[]),e[t.mainTitle].push(t),e),{}),E=null!==(o=null==u?void 0:u.map(e=>{let t=function(e){let t=[],a=[],n=[];return null==e||e.forEach(e=>{e.childrens&&e.childrens.length>0?e.childrens.forEach(e=>{e.childrens&&e.childrens.length>0?e.childrens.forEach(t=>{n.push({title:t.title.trim(),url:t.url,openNewTab:t.openNewTab,mainTitle:e.title})}):a.push({title:e.title,url:e.url,openNewTab:e.openNewTab,mainTitle:e.title})}):t.push({title:e.title,url:e.url,openNewTab:e.openNewTab,mainTitle:e.title})}),{r1:t,r2:a,r3:n}}(null==e?void 0:e.items);return{L1:g(m(t.r1)),L2:g(m(t.r2)),L3:g(m(t.r3))}}).filter(Boolean))&&void 0!==o?o:[];return c?(0,n.jsxs)("div",{id:s,children:[(0,n.jsx)(tl.A,{width:"100%",variant:"rectangular",height:150,animation:"wave"}),(0,n.jsx)(tl.A,{width:"50%"}),(0,n.jsx)(tl.A,{width:"50%"})]}):(0,n.jsxs)("div",{id:s,children:[r&&(0,n.jsx)("h1",{children:r}),E&&E.map((e,t)=>{var a,i;return(0,n.jsxs)("div",{className:l.wrapSitemap,children:[u&&(0,n.jsx)("h2",{dangerouslySetInnerHTML:{__html:eQ().sanitize(null!==(i=null===(a=u[t])||void 0===a?void 0:a.title)&&void 0!==i?i:"")}}),(0,n.jsxs)("div",{className:l.row,children:[(0,n.jsx)("div",{className:l.colInit,children:Object.entries(e.L3).sort((e,t)=>{let[a]=e,[n]=t;return a.localeCompare(n)}).map(e=>{let[t,a]=e;return(0,n.jsxs)("div",{className:"col",children:[(0,n.jsx)("h5",{dangerouslySetInnerHTML:{__html:eQ().sanitize(t)}}),(0,n.jsx)("ul",{children:a.map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:e.url,target:e.openNewTab?"_blank":"",rel:"noreferrer",dangerouslySetInnerHTML:{__html:eQ().sanitize(e.title)}})},"link-L3-".concat(t)))})]},"colSitemap-L3-".concat(t))})}),(0,n.jsxs)("div",{className:d(l.lastCol,0!==t?l.stackedRow:""),children:[Object.entries(e.L2).sort((e,t)=>{let[a]=e,[n]=t;return a.localeCompare(n)}).map(e=>{let[t,a]=e;return(0,n.jsx)("div",{className:l.colNoChild,children:(0,n.jsx)("ul",{children:a.map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:e.url,target:e.openNewTab?"_blank":"",rel:"noreferrer",dangerouslySetInnerHTML:{__html:eQ().sanitize(e.title)}})},"link-L2-".concat(t)))})},"colSitemap-L2-".concat(t))}),Object.entries(e.L1).sort((e,t)=>{let[a]=e,[n]=t;return a.localeCompare(n)}).map(e=>{let[t,a]=e;return(0,n.jsx)("div",{className:d(l.colNoChild,l.lastColFirstLevel),children:(0,n.jsx)("ul",{children:a.map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:e.url,target:e.openNewTab?"_blank":"",rel:"noreferrer",dangerouslySetInnerHTML:{__html:eQ().sanitize(e.title)}})},"link-L1-".concat(t)))})},"colSitemap-L1-".concat(t))})]})]})]},"wrap-".concat(t))})]})});var nW=a(709567),nU=a(123184),nG=a(582440),nH=a.n(nG),nY=a(886649);let nV=(0,c.makeStyles)()(e=>({imageHeight:{position:"relative",background:"transparent",width:"35px",height:"35px",marginLeft:"auto",marginRight:"auto",textAlign:"end",[e.breakpoints.down("sm")]:{width:"32px",height:"32px",marginBottom:e.spacing(4)}},imgResponsive:{width:"100%",objectFit:"cover"}})),nz=e=>{let{cardImageAltTxt:t,cardImageReference:a,cardImageTitle:i,title:o,untransformedUrl:r}=e,s=null!=r?r:"",l="/deepweb/assets/sigmaaldrich/marketing/global/images/default/default-link-image/default-link-image.png",{classes:d}=nV();return(0,n.jsx)(n.Fragment,{children:s?(0,n.jsx)(K.N,{..."string"==typeof s?{href:s}:s,passHref:!0,children:(0,n.jsx)(nL.A,{color:"primary",onClick:()=>(0,M.sendNavigationInteractionEvent)({action:"shortcut click",detail:o.toLowerCase()||void 0,section:"shortcuts",component:"body",elementType:"icon",elementText:o.toLowerCase()||void 0,linkUrl:r||void 0}),children:(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:d.imageHeight,children:(0,n.jsx)("img",{src:a,className:d.imgResponsive,alt:t,title:i,onError:e=>{let t=e.currentTarget;t.src!==l&&(t.src=l)}})}),(0,n.jsx)("span",{children:(e=>{let t=eQ().sanitize(e);return(0,nY.Ay)(t)})(o)})]})})}):(0,n.jsx)(nL.A,{color:"primary",children:(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:d.imageHeight,children:(0,n.jsx)("img",{src:a,className:d.imgResponsive,alt:t,title:i})}),(0,n.jsx)("span",{children:o})]})})})},nK=(0,c.makeStyles)()(e=>({welcomeWrapper:{marginBottom:e.spacing(8),marginTop:e.spacing(8),fontWeight:e.typography.fontWeightBold,fontSize:e.typography.pxToRem(28)},caroselWrapper:{margin:"20px auto",padding:e.spacing(4.5,6),borderRadius:"5px",background:e.palette.common.white,[e.breakpoints.down("sm")]:{border:"0 none",boxShadow:"none",padding:0,touchAction:"pan-y"},"& .slider-frame .slide-current":{"@media (max-width: 450px)":{marginLeft:"-2%"},"@media (min-width: 451px) and (max-width: 600px)":{marginLeft:"-2%"}}},caroselWrapperShadow:{border:"1px solid rgba(201, 201, 201, 0.50)",boxShadow:"1px 2px 3px 0px rgba(0, 0, 0, 0.20)",[e.breakpoints.down("sm")]:{border:"0 none",boxShadow:"none",padding:0}},wrapper:{[e.breakpoints.down("sm")]:{padding:"".concat(e.spacing(0)," !important")},"@media (max-width: 1350px)":{padding:e.spacing(0,5)}},itemWrapper:{fontSize:e.typography.pxToRem(14),wordBreak:"break-word",textAlign:"center"},leftNavButton:{left:"-15px",[e.breakpoints.down("sm")]:{display:"none"}},rightNavButton:{right:"-15px",[e.breakpoints.down("sm")]:{display:"none"}},navArrow:{fontSize:e.typography.pxToRem(28),color:e.palette.secondary.main},navArrowDisabled:{color:e.palette.text.disabled},emptyCarousel:{height:"50px"}})),nq=(0,l.MapTo)("cms-commons/components/content/userEngageCarousel")(e=>{let{items:t,cardsPerRotation:a,autoplay:i=!1,delay:o,autopauseDisabled:r,anchorId:s,shadow:l}=e,{classes:c,cx:u}=nK(),g=(0,p.A)(),{currentUser:E}=(0,tR.iZ)(),_=(0,m.A)(g.breakpoints.down("lg")),A=(0,m.A)(g.breakpoints.up("md")),f=0;return _&&!A?f=3.5:A&&(f=null!=a?a:6),(0,n.jsxs)("div",{id:s,className:"aem-ms-cmp aem-ms-userEngage-carousel ".concat(c.wrapper),children:[(null==E?void 0:E.firstName)&&(0,n.jsxs)("div",{className:c.welcomeWrapper,children:[(0,n.jsx)(d.A,{id:"WELCOME",defaultMessage:"Welcome"})," ",null==E?void 0:E.firstName]}),(0,n.jsx)("div",{className:u(c.caroselWrapper,l&&c.caroselWrapperShadow),children:(0,n.jsx)(nH(),{autoplay:i,autoplayInterval:o,pauseOnHover:!r,slidesToShow:f,slidesToScroll:f,cellSpacing:A?32:8,dragging:!A,renderCenterLeftControls:e=>{let i=0===e.currentSlide;return t&&t.length>a?(0,n.jsx)(y.A,{className:c.leftNavButton,disabled:i,onClick:()=>e.previousSlide(),"aria-label":"previous",children:(0,n.jsx)(nW.A,{className:u(c.navArrow,i&&c.navArrowDisabled)})}):null},renderBottomCenterControls:null,renderCenterRightControls:e=>{let i=e.currentSlide+e.slidesToShow>=e.slideCount||e.currentSlide>=e.slideCount-1;return t&&t.length>a?(0,n.jsx)(y.A,{className:c.rightNavButton,disabled:i,onClick:()=>e.nextSlide(),"aria-label":"next",children:(0,n.jsx)(nU.A,{className:u(c.navArrow,String(null==e?void 0:e.slidesToScroll),i&&c.navArrowDisabled)})}):null},children:t&&t.length>0&&Array.isArray(t)?t.map((e,t)=>(0,n.jsx)("div",{className:c.itemWrapper,children:f?(0,n.jsx)(nz,{...e}):(0,n.jsx)("div",{className:c.emptyCarousel})},t)):null})})]})});var nZ=a(963383),n$=a(518483),nJ=a(787218),nX=a(41318),nQ=a(4098),n0=a(728094);let n2=e=>{let{onClose:t,onDismiss:a,open:o,toolType:r}=e,{formatMessage:s}=(0,S.A)(),l=nX.v[r],[d]=(0,nQ.B)(),c=(0,n0.O)(),p="antibody"===r,m=(0,ah.S)()?"network-only":"cache-first",{data:g,refetch:E}=(0,tw.le)({fetchPolicy:m,variables:{searchTerm:r,page:1,group:u.RL.Substance,selectedFacets:[{key:"facet_product_category",options:["antibodies"]}],sort:u.FU.Relevance,type:u.mI.Product,filter:c}}),{facets:_=[]}=(null==g?void 0:g.getProductSearchResults)||{},A=(0,i.useMemo)(()=>{var e;return null==l?void 0:null===(e=l.facets)||void 0===e?void 0:e.map(e=>{var t,a;let n=null==_?void 0:_.find(t=>t.key===e.key);return{...n||{},...e,label:s(nJ.A[e.label]),options:null!==(a=null==n?void 0:null===(t=n.options)||void 0===t?void 0:t.map(e=>({...e,label:e.value})))&&void 0!==a?a:[]}})},[_,l]),f=(0,i.useCallback)((e,t)=>{var a;let n=[...Array.isArray(t)?t:[],...p?["facet_product_category:antibodies"]:[]],i=e||r;d({},i,n);let o={};null==t||t.forEach(e=>{let[t,a]=e.split(":");o[t]?o[t].push(a):o[t]=[a]}),(0,M.sendSelectorToolEvent)({action:"show antibody products",detail:"antigen/antibody name : ".concat(i," > clonality : ").concat(o.facet_clonality||""," > technique : ").concat(o.facet_web_titertest_app||""," > species reactivity : ").concat(o.facet_web_species_reactivity||""," > conjugate : ").concat((null==o?void 0:null===(a=o.facet_web_conjugate)||void 0===a?void 0:a.join(","))||""),section:"antibody product selector",component:"slider",elementType:"button",elementText:"show products",productId:"",productBrand:"",productName:""})},[d,{},r]),T=(0,i.useCallback)(e=>{let t={};e.forEach(e=>{let[a,n]=e.split(":"),i=null==t?void 0:t[a];t[a]={key:a,options:a in t?[...i.options,n]:[n]}}),E({searchTerm:r,page:1,group:u.RL.Substance,selectedFacets:[...Object.values(t),{key:"facet_product_category",options:["antibodies"]}],sort:u.FU.Relevance,type:u.mI.Product,filter:c})},[]);return(0,n.jsx)(n$.G,{onClose:t,onDismiss:a,onFetchNewFacets:T,onSearchClick:f,open:o,selectorDescription:s(nJ.A[l.description]),selectorTitle:s(nJ.A[l.title]),selectorToolFacets:A,textFieldSearchLabel:s(nJ.A[l.searchLabel])})};var n1=a(604339),n4=a(369842);let n6=(0,l.MapTo)("cms-commons/components/content/productselector")(e=>{let{selectorType:t}=e,[a,o]=(0,i.useState)(!1),r="antibody"===t&&a,s="filtration"===t&&a,l="filtration"===t?n1.m.millex:n1.m.aemPageAntibody,d=(0,n1.r)(l,{productId:"",productKey:"",productBrandKey:"",productName:""}),c=(0,i.useCallback)(e=>{o(!0),(0,M.sendSelectorToolEvent)(d[e])},[a,d]),p=(0,i.useCallback)(e=>{o(!1),(0,M.sendSelectorToolEvent)(d[e])},[a,d]);return(0,n.jsxs)(n.Fragment,{children:[("antibody"===t||"filtration"===t)&&(0,n.jsx)(nZ.j,{onButtonClick:()=>c("open button"),onLinkClick:()=>c("open link"),isAemPageProductSelector:!0}),r&&(0,n.jsx)(n2,{onClose:()=>p("close"),onDismiss:()=>p("ignore"),open:!0,toolType:"antibody"}),s&&(0,n.jsx)(n4.j,{onClose:()=>p("close"),open:!0,toolType:"millex"})]})});var n8=a(368026),n3=a(796707),n7=a(79965),n5=a(918847),n9=a.n(n5);let ie=n9()(()=>a.e(1718).then(a.bind(a,661718)),{loadableGenerated:{webpack:()=>[661718]},loadableGenerated:{webpack:()=>[661718]},ssr:!1}),it=n9()(()=>Promise.all([a.e(4286),a.e(6272)]).then(a.bind(a,76272)),{loadableGenerated:{webpack:()=>[76272]},loadableGenerated:{webpack:()=>[76272]},ssr:!1}),ia=n9()(()=>Promise.all([a.e(4286),a.e(9494)]).then(a.bind(a,379494)),{loadableGenerated:{webpack:()=>[379494]},loadableGenerated:{webpack:()=>[379494]},ssr:!1}),ii=(0,c.makeStyles)()(e=>({lookingForMore:{fontWeight:e.typography.fontWeightBold},alertMessage:{margin:"0 !important"}})),{publicRuntimeConfig:{featureFlags:io}}=ac()(),ir=(0,l.MapTo)("cms-commons/components/content/genericPlaceholder")(e=>{let{placeholder:t,promoId:a,text:i}=e,{formatMessage:o}=(0,S.A)(),{classes:r}=ii(),s=(0,b.rd)(),l=(0,p.A)(),c=(0,m.A)(l.breakpoints.down(tq.Rp.MD),{defaultMatches:!0}),u="live_chat"===t&&("AR"===s.query.country||"CL"===s.query.country),E="shopping_assistant"===t&&io.shoppingAi&&!c;return(0,n.jsxs)(n.Fragment,{children:[u&&(0,n.jsx)(n8.r,{text:o({id:"COMMERCE_CHAT_CUSTOMER_CARE",defaultMessage:"Chat with Customer Care"}),channel:n8.Y.CustomerService,isAemPageChat:!0}),E&&(0,n.jsx)(n3.A,{mb:6,children:(0,n.jsx)(n7.A,{alertMessage:(0,n.jsxs)(g.A,{className:r.alertMessage,children:[(0,n.jsxs)("span",{className:r.lookingForMore,children:[(0,n.jsx)(d.A,{id:"LOOKING_FOR_MORE_GUIDANCE",defaultMessage:"Looking for more guidance?"})," "]}),(0,n.jsx)(d.A,{id:"LET_LIFE_SCIENCE_AI_ASSISTANT_HELP_PERFECT_MATCH",defaultMessage:"Let our Life Science AI Assistant help you find your perfect match with confidence."})]}),gaSection:"faqs"})}),"webinar_lc"===t&&(0,n.jsx)(ie,{}),"disco_promo"===t&&(0,n.jsx)(it,{promoCodeId:s.query.promoId||a,isAuthorConfiguredPromotions:!!a,promoText:i}),"homepage_cta"===t&&(0,n.jsx)(ia,{})]})});var is=a(972809);let il={Protocol:"PROTOCOL",Application:"APPLICATION","Technical Article":"TECHNICAL_ARTICLE",Service:"FACET_SERVICE","Product Category":"FACET_PRODUCT_CATEGORY","Case Study":"CASE_STUDY",Event:"EVENT",Form:"FORM","Press Releases":"PRESS_RELEASES",Corporate:"CORPORATE",Training:"TRAINING",Licensing:"LICENSING",Webinar:"WEBINAR","Master Category Page":"MASTER_CATEGORY_PAGE","Campaign Page":"CAMPAIGN_PAGE","Product Article":"PRODUCT_ARTICLE","Service Supporting":"SERVICE_SUPPORTING","Tools and Calculators":"TOOLS_AND_CALCULATORS",Newsletter:"NEWSLETTER","Chemistry reference":"CHEMISTRY_REFERENCE","Learning Center":"LEARNING_CENTER"},id=(0,l.MapTo)("cms-commons/components/content/card")(e=>{var t,a;let i=(0,b.rd)(),o=(0,M.isHomePage)(i.asPath),r=i.asPath.includes("learning-center"),s=(0,S.A)(),{isSubscriptionUser:l}=(0,tR.iZ)(),d=(null==e?void 0:e.pageType)&&il[null==e?void 0:e.pageType],c=d?s.formatMessage({id:d,defaultMessage:null==e?void 0:e.pageType}):null==e?void 0:e.pageType;return null!==(a=null==e?void 0:null===(t=e.url)||void 0===t?void 0:t.includes("/campaigns/subscriptions"))&&void 0!==a&&a&&!l?null:(0,n.jsx)(is.default,{...e,isHomePage:o,learningCenterPage:r,pageType:c})});var ic=a(200941),ip=a(710981),iu=a(548342);let im=(0,l.MapTo)("cms-commons/components/content/herocomponent")(e=>{var t,a;let i=(0,S.A)(),o=(0,b.rd)().query.promoId,{data:r}=(0,ip.gT)({variables:{input:{uuid:null!=o?o:""}},skip:!o,fetchPolicy:"network-only"}),{promoType:s="",discount:l,tiers:d,qualifierType:c=""}=null!==(t=null==r?void 0:r.getPromoTerms)&&void 0!==t?t:{},{qualifyingAmount:p=0}=null!==(a=null==d?void 0:d[0])&&void 0!==a?a:{},u=null!=p?p:0,m=Array.isArray(d)&&d.length>0?Math.max(...d.map(e=>{var t;return null!==(t=null==e?void 0:e.discount)&&void 0!==t?t:0})):null!=l?l:0,g=i.formatNumber(u,{maximumFractionDigits:0,minimumFractionDigits:0}),E=i.formatNumber(m/100,{style:"percent",minimumFractionDigits:0}),_=m?i.formatMessage({id:"SPEND_AND_SAVE_UPTO_DISCOUNT",defaultMessage:"Spend & Save up to {discount}"},{discount:E}):"",A=m&&u?i.formatMessage({id:"BUY_AND_SAVE_UPTO_DISCOUNT",defaultMessage:"Buy & Save up to {discount}"},{quantity:g,discount:E}):"",f=m?i.formatMessage({id:"SAVE_DISCOUNT_OFF",defaultMessage:"Save {discount} Off"},{discount:E}):"",T={DiscoPromoBannerheadline:s===iu.c5.BUY_SAVE?c===iu.Zd.quantity?A:_:s===iu.c5.PERCENT_OFF?f:_};return(0,n.jsx)(ic.default,{...e,translations:T})});var ig=a(563395);let iE=(0,l.MapTo)("cms-commons/components/content/text")(e=>{let t=(0,b.rd)().asPath.includes("learning-center");return(0,n.jsx)(ig.default,{...e,learningCenterPage:t})}),i_=(0,c.makeStyles)()(e=>({container:{[e.breakpoints.up("md")]:{width:"766px"}},contentWrapper:{display:"flex",flexDirection:"column",padding:e.spacing(0,3,6,3),alignItems:"flex-start",borderRadius:e.spacing(2),gap:e.spacing(1),marginLeft:"-12px"},ctaButton:{display:"flex",minWidth:144,width:194,height:40,padding:e.spacing(2,6),justifyContent:"center",alignItems:"center",gap:e.spacing(6),alignSelf:"stretch",borderRadius:"5px",backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark}},ctalabel:{color:e.palette.common.white,textAlign:"center",fontSize:e.typography.pxToRem(16),fontWeight:700,lineHeight:"24px"}})),iA=(0,l.MapTo)("cms-commons/components/content/orderstatus")(e=>{let{loggedInBackground:t,loggedInCtaLabel:a,loggedInCtaLink:o,loggedInDescription:r,loggedInTitle:s,nonLoggedInBackground:l,nonLoggedInCtaLabel:d,nonLoggedInCtaLink:c,nonLoggedInDescription:p,nonLoggedInTitle:u}=e,{classes:m,cx:E}=i_(),{userIsLoggedIn:_}=(0,tR.iZ)(),[f,T]=(0,i.useState)(!1),h=_?t:l,C=!!h,x=_?a:d,S=_?o:c,y=!!(x&&S);return(0,i.useEffect)(()=>{let e=()=>{T("order-status"===new URL(window.location.href).searchParams.get("section"))};return window.addEventListener("locationchange",e),window.addEventListener("popstate",e),window.addEventListener("hashchange",e),()=>{window.removeEventListener("locationchange",e),window.removeEventListener("popstate",e),window.removeEventListener("hashchange",e)}},[]),f?(0,n.jsxs)(ts.A,{children:[(0,n.jsx)(g.A,{component:"h2",children:_?s:u}),(0,n.jsxs)(ts.A,{className:E(m.container,{[m.contentWrapper]:C}),style:C?{backgroundColor:h}:void 0,children:[(0,n.jsx)(g.A,{component:"div",dangerouslySetInnerHTML:{__html:eQ().sanitize(_?null!=r?r:"":null!=p?p:"")}}),y&&(0,n.jsx)(A.A,{variant:"contained",href:S,className:m.ctaButton,children:(0,n.jsx)(g.A,{component:"span",className:m.ctalabel,children:x})})]})]}):null});var iT=a(321371);let ih=(0,l.MapTo)("cms-commons/components/content/learningcentercard")(e=>{let t=(0,S.A)(),a=t.formatMessage({id:"TECHNICAL_ARTICLE",defaultMessage:"Technical Article"}),i=t.formatMessage({id:"PROTOCOL",defaultMessage:"Protocol"}),o=t.formatMessage({id:"PRODUCT_SUPPORT",defaultMessage:"Product Support"});return(0,n.jsx)(iT.default,{...e,translations:{technicalArticle:a,protocol:i,productSupport:o}})}),iC=(0,c.makeStyles)()(e=>({container:{display:"flex",flexWrap:"wrap",alignItems:"flex-start",gap:e.spacing(2)},selectedChipWrapper:{display:"inline-flex",flex:"0 0 auto",height:40,padding:e.spacing(2,2,2,4),justifyContent:"space-between",alignItems:"center",border:"1px solid ".concat(e.palette.grey[500]),background:e.palette.common.white,borderRadius:"5px",width:"fit-content",maxWidth:"100%"},closeBtn:{marginLeft:e.spacing(2),marginRight:"0 !important",fontSize:e.typography.pxToRem(12)},alignmentWrapper:{display:"flex",justifyContent:"center",width:"100%"},label:{flex:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},more:{color:e.palette.text.secondary,alignSelf:"center",fontWeight:e.typography.fontWeightMedium}})),ix=e=>{let{selectedPreference:t,onClear:a}=e,{classes:i,cx:o}=iC(),r=(0,S.A)(),s=(0,p.A)(),l=(0,m.A)(s.breakpoints.between(600,900)),c=e=>{let t=ae.A[e];return r.formatMessage(t)};if(!(null==t?void 0:t.length))return null;let u=t.slice(0,l?6:3),E=Math.max(0,t.length-u.length);return(0,n.jsxs)("div",{className:o(i.container),children:[u.map((e,t)=>{let o=c(e);return(0,n.jsx)(ts.A,{className:i.selectedChipWrapper,children:(0,n.jsxs)(ts.A,{className:i.alignmentWrapper,children:[(0,n.jsx)(g.A,{component:"div",className:i.label,children:(0,n.jsx)(h.A,{value:o})}),(0,n.jsx)(y.A,{className:i.closeBtn,onClick:()=>a(e),"aria-label":"Remove ".concat(o),children:(0,n.jsx)(G.A,{fontSize:"inherit",color:"primary"})})]})},"".concat(t,":").concat(e))}),E>0&&(0,n.jsxs)(g.A,{component:"span",className:i.more,children:["+",E," ",(0,n.jsx)(d.A,{id:"MORE",defaultMessage:"More"})]})]})};var iS=a(386250),iy=a(809227);let iI=(0,c.makeStyles)()(e=>({drawerPaper:{position:"fixed",top:0,right:0,bottom:0,left:0,width:"100vw",height:"100vh !important",backgroundColor:"transparent",boxShadow:"none",display:"grid",placeItems:"center",padding:0,transition:"none !important"},card:{display:"flex",width:620,padding:e.spacing(8,8,10,8),flexDirection:"column",alignItems:"flex-start",gap:e.spacing(6),borderRadius:"6px",border:"1px solid ".concat(e.palette.grey[500]),background:e.palette.common.white,[e.breakpoints.down("md")]:{padding:e.spacing(4),width:556,height:566},[e.breakpoints.down("sm")]:{padding:e.spacing(4),width:375,height:566},[e.breakpoints.down(374)]:{width:"auto"}},headingWrapper:{display:"flex",flexDirection:"column"},header:{display:"flex",alignItems:"center",marginBottom:e.spacing(4.5)},title:{fontWeight:e.typography.fontWeightBold,flex:1},closeIcon:{width:e.typography.pxToRem(14),height:e.typography.pxToRem(14),color:e.palette.common.black,cursor:"pointer"},content:{overflow:"auto",flex:1,minHeight:0,marginLeft:"-9px"},footer:{marginTop:"auto",alignSelf:"stretch",display:"flex",justifyContent:"flex-end",alignItems:"center",gap:e.spacing(4),[e.breakpoints.down("md")]:{flexDirection:"column-reverse",alignItems:"stretch","& > button":{width:"100%"}}}})),ib=["ANALYTICAL_CHEMISTRY","CELL_CULTURE_ANALYSIS","CHEMISTRY_SYNTHESIS","FOOD_BEVERAGE_TESTING_MANUFACTURING","MOLECULAR_BIOLOGY_GENOMICS","MICROBIOLOGICAL_TESTING"];function iM(e){let{open:t,onClose:a,onSave:o,initialSelected:r=[]}=e,{classes:s}=iI(),l=(0,S.A)(),[c,p]=(0,i.useState)(r),u=(0,i.useMemo)(()=>ib.map(e=>{let t=ae.A[e];return{key:e,label:l.formatMessage(t)}}),[l]);(0,i.useEffect)(()=>{p(r)},[r,t]);let m=e=>{p(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},_=()=>{p(r),a()},f=l.formatMessage({id:"CUSTOMIZE_YOUR_EXPERIENCE",defaultMessage:"Customize Your Experience"}),T=l.formatMessage({id:"PREFERENCE_MODAL_DESCRIPTION",defaultMessage:"Select the topics that matter most to you, and get tailored content recommendations, faster access to relevant resources, and a more focused learning journey."}),h=Math.ceil(u.length/2),C=u.slice(0,h),x=u.slice(h);return(0,n.jsx)(tE.Ay,{anchor:"right",open:t,onClose:_,ModalProps:{keepMounted:!0},transitionDuration:0,classes:{paper:s.drawerPaper},children:(0,n.jsxs)(ts.A,{className:s.card,children:[(0,n.jsxs)(ts.A,{className:s.headingWrapper,children:[(0,n.jsxs)(ts.A,{className:s.header,children:[(0,n.jsx)(g.A,{variant:"h2",className:s.title,children:f}),(0,n.jsx)(iS.A,{"aria-label":"close",onClick:_,size:"large",children:(0,n.jsx)(G.A,{className:s.closeIcon})})]}),(0,n.jsx)(ts.A,{children:(0,n.jsx)(g.A,{children:T})})]}),(0,n.jsx)(ts.A,{className:s.content,children:(0,n.jsx)(E.A,{container:!0,spacing:2,children:[C,x].map((e,t)=>(0,n.jsx)(E.A,{xs:12,sm:12,md:6,children:(0,n.jsx)(iy.A,{spacing:1.5,children:e.map(e=>(0,n.jsx)(P.A,{control:(0,n.jsx)(L.A,{checked:c.includes(e.key),onChange:()=>m(e.key)}),label:e.label},e.key))})},t))})}),(0,n.jsxs)(ts.A,{className:s.footer,children:[(0,n.jsx)(A.A,{variant:"outlined",onClick:_,children:(0,n.jsx)(d.A,{id:"CANCEL",defaultMessage:"Cancel"})}),(0,n.jsx)(A.A,{variant:"contained",onClick:()=>{o(c),a()},children:(0,n.jsx)(d.A,{id:"SAVE",defaultMessage:"Save"})})]})]})})}let iR=(0,c.makeStyles)()((e,t)=>{let{backgroundColor:a,userIsLoggedIn:n}=t;return{root:{height:418,background:a||"none",display:"flex",flexDirection:"column",padding:e.spacing(8,6),borderRadius:"3px",marginBottom:e.spacing(12),gap:e.spacing(4)},headline:{fontSize:e.typography.pxToRem(18),fontWeight:e.typography.fontWeightBold,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},description:{marginTop:e.spacing(12),display:"-webkit-box",overflow:"hidden",textOverflow:"ellipsis",WebkitLineClamp:n?2:7,WebkitBoxOrient:"vertical","& p":{marginBottom:0}},ctaButton:{display:"inline-flex",minWidth:144,width:194,padding:e.spacing(2,6),justifyContent:"center",alignItems:"center",borderRadius:"5px",marginTop:"auto",marginBottom:0,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark},[e.breakpoints.down(900)]:{display:"flex",minWidth:288,width:317},[e.breakpoints.down(400)]:{width:"auto",minWidth:"auto"},[e.breakpoints.down(343)]:{maxWidth:237,width:"auto",minWidth:"auto"}},ctalabel:{color:e.palette.common.white,textAlign:"center",fontSize:e.typography.pxToRem(16),fontWeight:e.typography.fontWeightBold,lineHeight:"24px",whiteSpace:"nowrap"}}}),iN=(0,l.MapTo)("cms-commons/components/content/userpreferences")(e=>{let{loggedInBackground:t,loggedInCtaLabel:a,loggedInCtaLink:o,loggedInDescription:r,loggedInHeader:s,nonLoggedInBackground:l,nonLoggedInCtaLabel:d,nonLoggedInCtaLink:c,nonLoggedInDescription:p,nonLoggedInHeader:u}=e,{userIsLoggedIn:m,userId:E}=(0,tR.iZ)(),{classes:_}=iR({backgroundColor:m?t:l,userIsLoggedIn:m}),[f,T]=i.useState(!1),[h,C]=i.useState([]),x=m&&E?(e=>e?"user-preferences-".concat(btoa(encodeURIComponent(e))):null)(E):null;(0,i.useEffect)(()=>{if(x)try{let e=localStorage.getItem(x),t=e?JSON.parse(e):[];C(Array.isArray(t)?t:[])}catch(e){}},[x]);let S=m?s:u,y=m?null!=r?r:"":null!=p?p:"",I=!!(!m&&d&&c),b=!!(m&&a);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(ts.A,{className:_.root,children:[(0,n.jsxs)(ts.A,{children:[S&&(0,n.jsx)(g.A,{className:_.headline,children:S}),(0,n.jsx)(g.A,{component:"div",className:_.description,dangerouslySetInnerHTML:{__html:eQ().sanitize(y)}})]}),m&&(null==h?void 0:h.length)>0&&(0,n.jsx)(ix,{selectedPreference:h,onClear:e=>{C(t=>{let a=t.filter(t=>t!==e);if(x)try{localStorage.setItem(x,JSON.stringify(a))}catch(e){}return a})}}),I&&(0,n.jsx)(A.A,{variant:"contained",className:_.ctaButton,href:c,children:(0,n.jsx)(g.A,{component:"span",className:_.ctalabel,children:d})}),b&&(0,n.jsx)(A.A,{variant:"contained",className:_.ctaButton,onClick:()=>T(!0),children:(0,n.jsx)(g.A,{component:"span",className:_.ctalabel,children:a})})]}),(0,n.jsx)(iM,{open:f,onClose:()=>T(!1),onSave:e=>{if(C(e),x)try{localStorage.setItem(x,JSON.stringify(e))}catch(e){}},initialSelected:h})]})}),iv={...s.A,CategorySearchResults:ty,Contact:tb,DynamicProductTable:t7,DynamicPlaceholder:tB,FFCertsBrandImage:ai,TextBanner:nF,FormAssembly:au,TrialLicense:a8,Container:tN,EventListing:t9,EventSidebar:aa,LocationMap:ag,PressReleaseGrid:aN,PressReleaseListing:aP,RelatedProductResources:aO,RelatedProductsRightRailAdapter:aV,RelatedWebinar:aK,UpcomingEventsGrid:a7,WebinarListing:a9,WebinarSidebar:nt,RelatedProducts:ny,ProductRecommendationCarousel:nP,Page:aM,HorizontalTab:nB,SiteMap:nD,UserEngageCarousel:nq,ProductSelector:n6,GenericPlaceholder:ir,Card:id,Hero:im,Text:iE,OrderStatus:iA,LearningCenterCard:ih,UserPreferences:iN};var iP=a(126886),iL=a(373839),iO=a(322608);let iF=(0,c.makeStyles)()(e=>({wrapper:{maxWidth:1320,margin:"0 auto",padding:e.spacing(0,5)}})),ij=()=>{let{classes:e}=iF();return(0,n.jsx)("div",{className:e.wrapper,children:(0,n.jsx)("div",{id:"aem-embed-survey"})})};var iB=a(204466),iw=a(963752),ik=a(708614);let iD=e=>{let{schemas:t=[]}=e,a=[],i=(0,iw.mE)(),{asPath:o}=(0,tt.useRouter)(),{publicRuntimeConfig:{canonicalUrlPrefix:s}}=ac()(),l={"%%LOGO_ASSET_URL%%":(0,ik.h)(i),"%%COMPANY_NAME%%":i,"%%CURRENT_BROWSER_URL%%":"".concat(s).concat(o),"%%HOMEPAGE_URL%%":"".concat(s)};try{let e=JSON.stringify(t);for(let t in l)e=e.replace(RegExp(t,"g"),l[t]);a=JSON.parse(e)}catch(e){iB.R.error(e,"parse schema Error")}return(0,n.jsx)(r(),{children:a.map((e,t)=>(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:eQ().sanitize(JSON.stringify(e))}},"schema".concat(t)))})},iW=e=>{let{title:t,description:a,ogImageMetaInfo:i}=e,{asPath:o}=(0,tt.useRouter)(),{publicRuntimeConfig:{canonicalUrlPrefix:s,brandIdentity:l}}=ac()(),d=(null==i?void 0:i.length)&&i[0].ogImage||(l&&"MerckMillipore"===l?"/static/social/blue-vibrant-m.png":"/deepweb/assets/sigmaaldrich/marketing/global/images/social-media/vibrant-m/vibrant-m.jpg");return(0,n.jsxs)(r(),{children:[t&&(0,n.jsx)("meta",{name:"og:title",content:t}),(0,n.jsx)("meta",{name:"og:type",content:"website"}),d&&(0,n.jsx)("meta",{name:"og:image",content:d}),(0,n.jsx)("meta",{name:"og:url",content:"".concat(s).concat(o)}),a&&(0,n.jsx)("meta",{name:"og:description",content:a})]})};var iU=a(943564),iG=a(327651),iH=a(494295);let iY=n9()(()=>a.e(4232).then(a.bind(a,164232)),{loadableGenerated:{webpack:()=>[164232]},loadableGenerated:{webpack:()=>[164232]},ssr:!1}),iV=e=>{let[t]=(0,ar.lT)(["country","language"]),o=(0,iH.L)(iG.CN.countryCode),s=n9()(()=>a.e(2327).then(a.bind(a,314708)),{loadableGenerated:{webpack:()=>[314708]},loadableGenerated:{webpack:()=>[314708]},ssr:!1});(0,i.useEffect)(()=>{let e=()=>{let e=window.location.hash;if(e.length&&e.includes("?")){let t=e.substring(1);t.includes("?")&&(t=t.split("?")[0]);let a=document.querySelector('[id="'.concat(t,'"]'));if(a){let e=(null==a?void 0:a.offsetTop)-(null==a?void 0:a.offsetHeight);window.scrollTo({top:e,left:0,behavior:"smooth"})}}};return window.addEventListener("load",e),()=>{window.removeEventListener("load",e)}},[]);let l=(0,n.jsx)(iL.default,{statusCode:404,...e});if(!e.asPath)return l;if(e.asPath.includes("custom-pdp")&&!e[":items"])return null;if(e.error)return e.asPath.includes("/sds/")?(0,n.jsx)(iL.default,{statusCode:404,title:e.asPath,...e}):l;let d=()=>{let t=e.metaDataObj||{},{isAemFullPage:a,isHomepage:i,asPath:o}=e,{description:s,keywords:l,pageType:d,robots:c,title:p,schemas:u=[],ogImageMetaInfo:m,canonicalUrl:g,publishedDate:E,lastModifiedDate:_}=t,A=o.split("/").pop(),f=E?new Date(E).toISOString():"",T=_?new Date(_).toISOString():"";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(r(),{children:[(0,n.jsx)("meta",{property:"cq:pagemodel_router",content:"disable"}),p&&(0,n.jsx)("title",{children:(0,tF.wG)(p)}),s&&(0,n.jsx)("meta",{name:"description",content:s}),l&&l.length&&(0,n.jsx)("meta",{name:"keywords",content:l.join(", ")}),d&&(0,n.jsx)("meta",{name:"pagetype",content:d}),c&&c.length&&(0,n.jsx)("meta",{name:"robots",content:c.join(",")}),E&&(0,n.jsx)("meta",{name:"publishedDate",content:f}),_&&(0,n.jsx)("meta",{name:"lastModifiedDate",content:T})]}),u&&u.length>0&&(0,n.jsx)(iD,{schemas:u}),(0,n.jsx)(iW,{title:p&&(0,tF.wG)(p),description:s,ogImageMetaInfo:m}),!i&&a&&(0,n.jsx)(iU.L,{canonicalParamAllowed:()=>!1,isCMSRoute:!0,isNewHomepage:"home"===A,canonicalUrl:g})]})},c=()=>{var t;let a=null==e?void 0:null===(t=e.metaDataObj)||void 0===t?void 0:t.translationMethod;return(0,n.jsx)(n.Fragment,{children:e.asPath&&e.locationPathname?(0,n.jsxs)(tT,{children:[(0,n.jsx)(aM,{cqChildren:e[":children"],cqItems:e[":items"],cqItemsOrder:e[":itemsOrder"],locationPathname:e.locationPathname,cqPath:e.cqPath,aemHost:e.aemHost,pageFooter:e.isAemFullPage&&(0,n.jsx)(ij,{}),isInEditor:!1,className:null==e?void 0:e.className}),"MACHINE_TRANSLATION"===a&&(0,n.jsx)(iY,{}),e.isHomepage&&o&&(0,n.jsx)(s,{}),(0,n.jsx)(n8.r,{text:"Chat with Customer Care",channel:n8.Y.CustomerService})]}):(0,n.jsx)("span",{})})};return e.isAemFullPage||e.isHomepage?(0,n.jsx)(iO.default.Provider,{value:{country:t.country,language:t.language},children:(0,n.jsxs)(iP.A,{children:[(0,n.jsx)(d,{}),(0,n.jsx)(c,{})]})}):(0,n.jsxs)(iO.default.Provider,{value:{country:t.country,language:t.language},children:[(0,n.jsx)(d,{}),(0,n.jsx)(c,{})]})}}}]); //# sourceMappingURL=./999-61d7d863cc3eea21.js.map