"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[457],{40457:(e,t,a)=>{a.r(t),a.d(t,{default:()=>rw});var n=a(37876),i=a(14232),r=a(77328),o=a.n(r),s=a(4768),l=a(71656),d=a(49995),c=a(8733),p=a(61261),u=a(35877),m=a(77660),g=a(71541),A=a(12197),E=a(36503),_=a(13261),h=a(5411),f=a(57785),T=a(27446),x=a(61206);let C=(0,p.A)(e=>({count:{fontSize:e.typography.pxToRem(14)},bottomCount:{fontSize:e.typography.pxToRem(14),color:e.palette.grey[800],[e.breakpoints.down("sm")]:{marginBottom:e.spacing(4)}}})),y=e=>{let{pageStart:t,pageEnd:a,itemCount:i,isBottomCount:r=!1}=e,o=C();return r?(0,n.jsx)("div",{className:o.bottomCount,children:(0,n.jsx)(c.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:o.count,children:(0,n.jsx)(c.A,{id:"PAGINATION_RESULTS_SHOWING_TEXT",defaultMessage:"Showing {pageStart}-{pageEnd} of {itemCount}",values:{pageStart:t,pageEnd:a,itemCount:i}})})};var b=a(77742),S=a(64204),I=a(40032),v=a(11148),N=a(71007),M=a(35967);let R=(0,M.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"}}),j=(0,p.A)(e=>({facetGroupContainer:{"&:not(:first-child)":{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)}},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)}}})),P=e=>{let{loading:t,title:a,children:r,defaultExpanded:o=!1,enTitleForAnalytics:s}=e,l=j(),c=(0,v.rd)(),[p,u]=(0,i.useState)(o),m=()=>{let e=c.query.facets?c.query.facets.split(",").map(e=>{let[t,a]=e.split(":"),n=R[t.toUpperCase()].defaultMessage||t;return"".concat(n,": ").concat(a)}):[],t=c.query.term||c.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:l.facetGroupContainer,children:[(0,n.jsx)("div",{children:(0,n.jsxs)(S.A,{onClick:()=>{u(!p),(0,N.eK)({event:"filter_interaction",action:p?"collapse filter":"expand filter",component:"left rail",elementType:"accordion",coreEvent:"no",filterCategory:s,filterExisting:m()})},disabled:t,className:l.facetTitleButton,children:[(0,n.jsx)("div",{className:l.facetTitle,children:a}),(0,n.jsx)(I.A,{className:(0,d.A)(l.facetExpandIcon,{[l.facetIconExpanded]:p})})]})}),p?(0,n.jsx)("div",{className:l.facetBody,children:r}):null]})};var L=a(70813),B=a(91496),O=a(97710),F=a(21289),w=a(70114),D=a(14810),W=a(54753);let k=(0,p.A)(e=>({facetOptionsContainer:{marginTop:e.spacing(3),[e.breakpoints.up("md")]:{marginTop:e.spacing(2)}},facetOption:{"&:not(:first-child)":{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)}},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)"}})),U=e=>{switch(e){case O.u2.SameDay:return(0,n.jsx)(F.A,{});case O.u2.FreeFreight:return(0,n.jsx)(w.A,{color:"secondary"});default:return null}},H=e=>{let{loading:t,facet:a,handleUpdateFacets:r,title:o}=e,s=k(),[l,p]=(0,i.useState)(!1),u=(a.numToDisplay||6){let n="".concat(e,": ").concat(t),i=A.query.facets?A.query.facets.split(",").map(e=>{let[t,a]=e.split(":"),n=R[t.toUpperCase()].defaultMessage||t;return"".concat(n,": ").concat(a)}):[],r=A.query.term||A.query.searched,o=r?"keyword: ".concat(r):"";return(i.includes(n)&&(i=i.filter(e=>e!==n)),o&&i.length)?a?"".concat(n," >> ").concat(o," > ").concat(i.join(" > ")):"".concat(o," | ").concat(i.join(" | ")):o&&!i.length?a?"".concat(n," >> ").concat(o):"".concat(o):!o&&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,m).map((e,i)=>(0,n.jsx)("div",{className:s.facetOption,children:(0,n.jsx)(L.A,{classes:{root:s.labelRoot,label:s.facetLabel},disabled:t,id:e.value,value:e.value,checked:!!e.selected,control:(0,n.jsx)(B.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:(0,d.A)(s.checkboxIcon,s.checkboxIconChecked),children:(0,n.jsx)(D.A,{})}),onClick:()=>{r({key:a.key,value:e.value,prefix:a.prefix}),(0,N.eK)({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:E,filterExisting:_(o,e.value,!1)})}}),label:(0,n.jsxs)("div",{className:s.facetOptionLabel,children:[(0,n.jsx)(x.A,{value:"".concat(e.value," (").concat(e.count,")")}),g&&U(e.value)]})})},i)),u&&(0,n.jsxs)(h.A,{className:s.expandFacetOptionsButton,onClick:()=>{p(!l),(0,N.eK)({event:"filter_interaction",action:l?"show less filters":"show more filters",component:"left rail",elementType:"accordion",elementText:l?"show less":"show more",coreEvent:"no",filterCategory:E,filterExisting:_(o,"",!1)})},"data-testid":"toggle-show-facet-options",children:[l?(0,n.jsx)(c.A,{...W.A.SHOW_LESS}):(0,n.jsx)(c.A,{...W.A.SHOW_MORE}),(0,n.jsx)(I.A,{className:(0,d.A)(s.expandFacetOptionsIcon,{[s.iconExpanded]:l})})]})]})};var G=a(43965),Y=a(69139);let z=(0,p.A)(e=>({container:{paddingBottom:e.spacing(6),marginBottom:e.spacing(6),borderBottom:"1px solid ".concat(e.palette.grey[300])},selectedContainer:{display:"flex",flexDirection:"row",justifyContent:"space-between",marginBottom:e.spacing(2)},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)}},closeBtn:{marginLeft:e.spacing(2),marginRight:"0 !important",fontSize:e.typography.pxToRem(10)},alignmentWrapper:{display:"flex",justifyContent:"center"},facetMarkup:{marginRight:e.spacing(1)},hideForMobile:{[e.breakpoints.down("sm")]:{display:"none"}}})),V=e=>{let{facets:t,term:a,handleUpdateFacets:i,handleUpdateSearchTerm:r}=e,o=z(),s=(0,v.rd)(),{formatMessage:l}=(0,b.A)(),p=l({id:"YOU_SELECTED",defaultMessage:"You've Selected"}),u=e=>{let t=e?e.map(e=>{let t=R[e.key.toUpperCase()].defaultMessage||e.key;return"".concat(t,": ").concat(e.label)}):[],a=s.query.term||s.query.searched,n=a?"keyword: ".concat(a):"",i=t.length?t.join(" | "):"";if(n||i)return"".concat(n," ").concat(n&&i?" | ":""," ").concat(i)},m=(0,Y.A)(t,e=>e.options.filter(e=>!!e.selected).map(t=>({key:e.key,label:t.value,prefix:e.prefix,count:t.count}))),g=t&&m.length>0,A=(null==a?void 0:a.length)?m.length+1:m.length;return g||(null==a?void 0:a.length)?(0,n.jsxs)("div",{className:(0,d.A)(o.container,o.hideForMobile),children:[(0,n.jsxs)("div",{className:o.selectedContainer,children:[(0,n.jsx)("div",{className:o.selectedText,children:"".concat(p," (").concat(A,")")}),(0,n.jsx)("div",{className:o.clearAll,onClick:()=>{i({},!0)},role:"button",tabIndex:0,onKeyDown:()=>i({},!0),children:(0,n.jsx)(c.A,{id:"CLEAR_ALL",defaultMessage:"Clear All"})})]}),g&&m.map(e=>(0,n.jsx)("div",{className:o.selectedChipWrapper,children:(0,n.jsxs)("div",{className:o.alignmentWrapper,children:[(0,n.jsx)("span",{children:(0,n.jsx)(x.A,{value:e.label})}),(0,n.jsx)(S.A,{className:o.closeBtn,onClick:()=>{i({key:e.key,value:e.label,prefix:e.prefix},!1);let t=m.filter(t=>t!==e);(0,N.eK)({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:u(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:o.selectedChipWrapper,children:(0,n.jsxs)("div",{className:o.alignmentWrapper,children:[(0,n.jsx)("span",{children:(0,n.jsx)(x.A,{value:a})}),(0,n.jsx)(S.A,{className:o.closeBtn,onClick:()=>{r&&r("")},children:(0,n.jsx)(G.A,{fontSize:"inherit",color:"primary"})})]})}):null]}):null},K=e=>{let{loading:t,facets:a,openFacets:i=0,term:r,handleUpdateFacets:o,handleUpdateSearchTerm:s}=e,l=(0,b.A)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(V,{facets:a,handleUpdateFacets:o,term:r,handleUpdateSearchTerm:s}),a.map((e,a)=>{e.numToDisplay=6;let r=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;return(0,n.jsx)(P,{loading:t,title:s,defaultExpanded:r,enTitleForAnalytics:d,children:(0,n.jsx)(H,{loading:t,facet:e,handleUpdateFacets:o,title:s})},e.key)})]})};var q=a(52413),$=a(26925),Z=a(6315),J=a(88700),Q=a(35645),X=a(52263),ee=a(65824),et=a(80491),ea=a(75020),en=a(52710);let ei=(0,p.A)(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-child(2n)":{backgroundColor:e.palette.background.grey},[e.breakpoints.up("md")]:{display:"flex",flexDirection:"row",alignItems:"center",padding:e.spacing(0),"&:nth-child(2n)":{backgroundColor:"white"}},"& > div":{[e.breakpoints.up("md")]:{padding:e.spacing(2)}},"& a:hover":{textDecoration:"none"}},pricingExpanded:{backgroundColor:e.palette.background.grey,"&:nth-child(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:e.typography.fontWeightRegular,color:e.palette.common.black}},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",fontWeight:"normal"}},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("sm")]:{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)"}})),er=e=>{var t;let{product:a,additionalColumns:r}=e,{formatMessage:o}=(0,b.A)(),[s,l]=(0,i.useState)(!1),[p,u]=(0,i.useState)(!1),m=r.length,[g,A]=(0,i.useState)(!1);(0,i.useEffect)(()=>A(!0),[]);let{compareProducts:E,addCompareProduct:_,removeCompareProduct:f}=(0,et.Zn)(),T=E.some(e=>{let{productKey:t,brandKey:n}=e;return t===a.productKey&&n===a.brand.key}),C=!!g&&!T&&E.length>=et.NN,y={productKey:a.productKey,productNumber:a.productNumber,brandKey:a.brand.key,images:a.images,productName:a.name,brandName:a.brand.name},S=ei();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:(0,d.A)(S.tBodyRow,{[S.pricingExpanded]:s}),children:[(0,n.jsx)("div",{className:(0,d.A)(S.productCheckbox,{[S.productCheckboxWAddlColumns]:m}),children:(0,n.jsx)(ee.A,{name:"".concat(o(W.A.COMPARE),"-").concat(a.productNumber),checked:g&&T,onChange:e=>{e.target.checked?_(y):f(y)},"aria-label":"".concat(o(W.A.COMPARE)," ").concat(a.productNumber),disabled:C})}),(0,n.jsx)("div",{className:(0,d.A)(S.productNumber,{[S.productNumberWAddlColumns]:m}),children:a.brand.key&&a.productNumber?(0,n.jsx)(q.N,{...v.aR.index(a.brand.key,a.productKey),children:(0,n.jsx)("a",{children:a.productNumber.startsWith("CB_")?o(W.A.DETAILS):a.productNumber})}):(0,n.jsx)(n.Fragment,{children:a.productNumber.startsWith("CB_")?o(W.A.DETAILS):a.productNumber})}),(0,n.jsx)("div",{className:S.productName,children:(0,n.jsx)(q.N,{...v.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)(x.A,{value:a.legalName||a.name})}):null})})}),(0,n.jsx)("div",{className:(0,d.A)(S.description,{[S.desc1attr]:1===m,[S.desc2attr]:2===m,[S.desc3attr]:3===m}),children:(0,n.jsx)(q.N,{...v.aR.index(a.brand.key,a.productKey),children:(0,n.jsx)("a",{children:a.legalNameSuffix||a.description?(0,n.jsx)(x.A,{value:a.legalNameSuffix||a.description}):null})})}),r.map(e=>{let t=a.attributes.find(t=>t.key===e.value);return(0,n.jsxs)("div",{className:(0,d.A)(S.attribute,{[S.attr1]:1===m,[S.attr2]:2===m,[S.attr3]:3===m}),children:[(0,n.jsx)("div",{className:S.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:S.pricingColumn,children:[(0,n.jsx)("div",{className:S.desktopViewPricing,children:(0,n.jsxs)(h.A,{className:S.expandPricingButton,onClick:()=>{l(e=>!e),(0,ea.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)(c.A,{...W.A.HIDE}):(0,n.jsx)(c.A,{id:"SUBSTANCE_VIEW_PRICING",defaultMessage:"View Pricing"}),(0,n.jsx)(I.A,{className:(0,d.A)(S.expandPricingIcon,{[S.iconExpanded]:s})})]})}),(0,n.jsx)("div",{className:S.mobileViewPricing,children:(0,n.jsx)(h.A,{className:S.mobileViewPricingButton,onClick:()=>u(!0),children:(0,n.jsx)(c.A,{id:"SUBSTANCE_VIEW_PRICING",defaultMessage:"View Pricing"})})})]})]}),s&&(0,n.jsx)("div",{className:(0,d.A)(S.desktopPricing),children:a.paMessage?(0,n.jsx)(X.Ay,{productNumber:a.productNumber,brandKey:a.brand.key,paMessage:a.paMessage}):(0,n.jsx)(en.M,{source:"products",children:(0,n.jsx)($.A,{productName:a.name,productNumber:a.productNumber,productDescription:null!==(t=a.description)&&void 0!==t?t:"",brandKey:a.brand.key,gaType:J.k9.ProductCategoryPage,isMarketplace:a.isMarketplace,marketplaceOfferId:a.marketplaceOfferId||"",marketplaceSellerId:a.marketplaceSellerId||"",productAttributes:a.attributes,displaySellerName:a.displaySellerName||""})})}),p&&(0,n.jsx)(Q.A,{onClose:()=>{u(!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(75933);let es=(0,p.A)(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"}}})),el=e=>{let{products:t,additionalColumns:a}=e,i=es(),r=a.length,o=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:(0,d.A)(i.productCompare,{[i.productCompareWAddlColumns]:r}),children:(0,n.jsx)(c.A,{...W.A.COMPARE})}),(0,n.jsx)("div",{className:(0,d.A)(i.productNumber,{[i.productNumberWAddlColumns]:r}),children:(0,n.jsx)(c.A,{...W.A.PRODUCT_NUMBER})}),(0,n.jsx)("div",{className:(0,d.A)(i.productName),children:(0,n.jsx)(c.A,{...W.A.PRODUCT_NAME})}),(0,n.jsx)("div",{className:(0,d.A)(i.description,{[i.desc1attr]:1===r,[i.desc2attr]:2===r,[i.desc3attr]:3===r}),children:(0,n.jsx)(c.A,{...W.A.PRODUCT_DESCRIPTION})}),a.map(e=>(0,n.jsx)("div",{className:(0,d.A)({[i.attr1]:1===r,[i.attr2]:2===r,[i.attr3]:3===r}),children:o?(0,n.jsx)(c.A,{id:"COMPOSITE_DIMENSION",defaultMessage:"Composite Dimension"}):e.text},e.value)),(0,n.jsx)("div",{className:i.pricing,children:(0,n.jsx)(c.A,{...W.A.PRICING})})]}),(0,n.jsx)("div",{children:t.map(e=>"Product"!==e.__typename?null:(0,n.jsx)(er,{product:e,additionalColumns:a},e.productNumber))}),(0,n.jsx)(eo.A,{isAemDrawer:!0})]})};var ed=a(28888),ec=a(82897),ep=a(54431);function eu(){let e=(0,ed._)(["\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 eu=function(){return e},e}function em(){let e=(0,ed._)(["\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 em=function(){return e},e}function eg(){let e=(0,ed._)(["\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 eg=function(){return e},e}let eA={},eE=(0,ec.J1)(eu()),e_=(0,ec.J1)(em(),eE),eh=(0,ec.J1)(eg(),e_),ef={page:1,offset:30,sort:m.FU.Relevance,facets:{},term:"",searched:""},eT={FACETS:",",OPTION_SETS:":",OPTIONS:"*",URL_PREFIXES:"++",VALUE_PREFIXES:"++"},ex=(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),i=n.split(eT.OPTIONS).map(e=>{let{prefix:t,nextOption:a}=ex(e,eT.URL_PREFIXES);return t?"".concat(t).concat(eT.VALUE_PREFIXES).concat(a):a});return e[a]=i,e},{}):ef.facets,ey=e=>Object.keys(e).map(t=>{let a=e[t].map(e=>{let{prefix:t,nextOption:a}=ex(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),eb=e=>void 0===e?"":Array.isArray(e)?e.join(","):e,eS=e=>{if(void 0===e)return;let t=eb(e);return Object.values(m.FU).find(e=>e===t)},eI=e=>{let t=parseInt((Array.isArray(e)?e[0]:e)+"",10);return isNaN(t)?0:t},ev=function(e){var t,a,n,i,r;let o=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=eb(e.term))&&void 0!==t?t:null,d=null!==(a=eb(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!==(r=eS(e.sort))&&void 0!==r?r:o,selectedFacets:eC(e.facets)}},eN=e=>t=>{let a=Object.keys(t).reduce((e,a)=>{let n=t[a],i="facets"===a,r=i&&0===Object.keys(n).length;return!n||r?e[a]&&delete e[a]:(i&&(n=ey(n)),e[a]=n),e},{...e.query});e.push({pathname:e.pathname,query:a},{pathname:e.pathname,query:a},{shallow:!0})},eM=(e,t)=>{let a=(0,v.rd)(),n=eN(a),{searchTerm:i,searchedFor:r,page:o,perPage:s,sort:l,selectedFacets:d}=ev(a.query,e,t);return{searchTerm:i,searchedFor:r,page:o,perPage:s,sort:l,selectedFacets:d,setQueryParams:n}};var eR=function(e){return e.SearchTerm="query",e.Page="page",e.PerPage="offset",e.Sort="sort",e.SelectedFacets="facets",e}({});let ej={items:[],facets:[],metadata:{itemCount:0,page:ef[eR.Page],perPage:ef[eR.PerPage],numPages:0}},eP=(e,t)=>{let[a,n]=(0,i.useState)(ej);return(0,i.useEffect)(()=>{t||e===ej||n(e)},[t,e]),a},eL={AUTHORED_FACET_OPTIONS:":",PREFIX:"/"},eB=(e,t)=>{let a={...e.reduce((e,t)=>{let[a,n]=t.split(eL.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]}))},eO=e=>{let[t,...a]=e.split(eL.PREFIX);return 0===a.length?t:a.join(eL.PREFIX)},eF=e=>{var t;let{authorSelectedFacets:a=[],authorCuratedFacets:n=[],defaultSort:i,defaultPerPage:r}=e,{page:o,perPage:s,searchTerm:l,searchedFor:d,sort:c,selectedFacets:p,setQueryParams:u}=eM(i,r),{data:m,loading:g,error:A}=function(e){let t={...eA,...e};return ep.IT(eh,t)}({variables:{searchTerm:l,page:o,perPage:s,sort:c,selectedFacets:eB(a,p),facetSet:n}}),E=null!==(t=null==m?void 0:m.getProductSearchResults)&&void 0!==t?t:ej,_=eP(E,g),h=g?_:E,f=[...h.items],T=h.facets.map(e=>{var t;let a=null!==(t=p[e.key])&&void 0!==t?t:[],n=e.prefix?a.map(eO):a,i=e.options.map(e=>({...e,selected:n.includes(e.value)}));return{...e,options:i}}),{numPages:x,itemCount:C,page:y,perPage:b}=h.metadata,S=y*b;return{facets:T,products:f,error:A,loading:g,pageEnd:(C||0)(p[t].forEach(a=>{e.push({key:t,value:eO(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,r={...p},o=r[a],s=i?"".concat(i).concat(n):n,l=o&&o.includes(s),d=[];if(l){let e=o.indexOf(n);(d=[...o]).splice(e,1)}else d=[n],o&&(d=o.concat(d));r[a]=i?d.map(e=>"".concat(i).concat(e)):d,0===d.length&&delete r[a],u({facets:r,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:""})}}};var ew=a(36331),eD=a(98011),eW=a(86024),ek=a(54093);let eU=(0,p.A)(e=>({Container:{display:"flex",position:"relative",width:"50vw",[e.breakpoints.up("md")]:{width:"20vw"},maxWidth:"387px"},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("sm")]:{height:40,lineHeight:"40px"},"&: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)}}},searchIcon:{},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"}})),eH=e=>{let{searchTerm:t,handleUpdateSearchTerm:a}=e,r=eU(),{formatMessage:o}=(0,b.A)(),[s,l]=(0,i.useState)(t),d=(0,v.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,N.eK)({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:r.Container,children:[(0,n.jsx)("input",{className:r.TextField,onChange:e=>{l(e.target.value)},onKeyDown:e=>{"Enter"===e.key&&e.target.value&&(l(e.target.value),p(e.target.value))},placeholder:o(W.A.FILTER_BY_KEYWORD),value:s}),(0,n.jsx)("button",{className:r.Button,onClick:()=>p(),children:(0,n.jsx)(ek.default,{className:r.searchIcon})})]})},eG=(0,p.A)(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:r,sort:o,sortOptions:s,term:l,handleUpdateFacets:p,handleUpdateSort:u,handleUpdateSearchTerm:g}=e,E=eG(),_=(0,b.A)();return(0,n.jsx)(eW.A,{open:!0,onClose:i,renderTitle:()=>(0,n.jsx)(A.A,{variant:"h2",component:"h2",children:(0,n.jsx)(c.A,{...W.A.FILTER_AND_SORT_HEADING})}),children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:(0,d.A)(E.modalBody,{[E.loading]:t}),children:[(0,n.jsx)(P,{loading:t,title:_.formatMessage(W.A.SORT_HEADING),children:(0,n.jsx)(ew.A,{row:!0,className:E.radioGroup,"aria-label":"sortOptions",name:"sortOptions",value:o,onChange:e=>{u(Object.values(m.FU).find(t=>t===e.target.value))},children:s.map((e,a)=>{let{value:i,label:r}=e;return(0,n.jsx)(L.A,{name:"sortOptionId",value:i,disabled:t,label:_.formatMessage(r),control:(0,n.jsx)(eD.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)(K,{loading:t,facets:r,handleUpdateFacets:p}),(0,n.jsx)(P,{loading:t,title:_.formatMessage(W.A.CONF_SEARCH_TERM),children:(0,n.jsx)(eH,{searchTerm:l,handleUpdateSearchTerm:g})})]}),(0,n.jsx)("div",{className:(0,d.A)(E.modalFooter,{[E.loading]:t}),children:(0,n.jsxs)(h.A,{variant:"contained",color:"primary",size:"large",fullWidth:!0,disabled:t,onClick:i,children:[(0,n.jsx)(c.A,{id:"DONE",defaultMessage:"Done"}),(0,n.jsxs)("span",{className:E.resultsCount,children:["(",a||0," ",(0,n.jsx)(c.A,{...W.A.RESULTS}),")"]})]})})]})})};var ez=a(75584),eV=a(45484);let eK=(0,p.A)(e=>({sortContainer:{width:250,padding:e.spacing(0,2),display:"flex",float:"left"}})),eq=e=>{let{loading:t,options:a,handleUpdateSort:i,value:r}=e,o=eK(),s=(0,b.A)();return(0,n.jsx)("div",{className:o.sortContainer,children:(0,n.jsx)(eV.A,{value:r,onChange:e=>{i(Object.values(m.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 e$=a(99660),eZ=a(66896),eJ=a(35247);let eQ=(0,e$.A)(e=>({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"),"&$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("xs")]:{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","& $buttonRoot":{minWidth:40,border:"1px solid ".concat(e.palette.grey[500]),borderRadius:5,"&:not(:first-child)":{borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-child)":{borderTopRightRadius:0,borderBottomRightRadius:0}}}})),eX=e=>{let{loading:t,handleUpdatePage:a,currentPage:r,numPages:o=0}=e,s=eQ(),{formatMessage:l}=(0,b.A)(),[p,m]=(0,i.useState)(!1),A=(0,u.A)(),E=(0,g.A)(A.breakpoints.up("md")),f=(e,t,n)=>{a(e),m(!1),(0,N.tg)({action:"pagination click",detail:"".concat(t," - page ").concat(e," of ").concat(o),section:"products",component:"body",elementType:n,elementText:"jump"===t?"page ".concat(e):void 0})},T=1===r,x=r===o,C=l({id:"PAGE",defaultMessage:"Page"}),y=l({id:"OF",defaultMessage:"of"});return(0,n.jsxs)("div",{className:s.pageLabelWrapper,children:[(0,n.jsxs)("div",{className:p?"".concat(s.pageLabel," open"):"".concat(s.pageLabel),children:[(0,n.jsxs)("span",{onClick:()=>m(!p),role:"button",tabIndex:0,onKeyDown:()=>m(!p),children:[C," ",r," ",(0,n.jsx)(I.A,{className:(0,d.A)(s.buttonIcon)})]})," ",y," ",o,(0,n.jsx)("ul",{className:p?"".concat(s.dropdown," open"):"".concat(s.dropdown),children:Array(o).fill(0).map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsxs)("a",{onClick:()=>f(t+1,"jump","drop-down"),role:"button",tabIndex:0,onKeyDown:()=>f(t+1,"jump","drop-down"),children:["Page ",t+1]})},"page".concat(t)))})]}),E?(0,n.jsxs)(_.A,{disableElevation:!0,disableFocusRipple:!0,disableRipple:!0,children:[(0,n.jsx)(h.A,{classes:{root:s.buttonRoot,outlined:s.buttonOutlined,disabled:s.buttonDisabled},disabled:t||T,onClick:()=>f(r-1,"previous","button"),children:(0,n.jsx)(eJ.A,{className:(0,d.A)(s.buttonIcon,{[s.buttonIconDisabled]:T})})}),(0,n.jsx)(h.A,{classes:{root:s.buttonRoot,outlined:s.buttonOutlined,disabled:s.buttonDisabled},disabled:t||x,onClick:()=>f(r+1,"next","button"),children:(0,n.jsx)(eZ.A,{className:(0,d.A)(s.buttonIcon,{[s.buttonIconDisabled]:x})})})]}):(0,n.jsxs)("div",{className:s.mobileContainer,children:[(0,n.jsx)(h.A,{classes:{root:s.buttonRoot,outlined:s.buttonOutlined,disabled:s.buttonDisabled},disabled:t||T,onClick:()=>f(r-1,"previous","button"),children:(0,n.jsx)(eJ.A,{className:(0,d.A)(s.buttonIcon,{[s.buttonIconDisabled]:T})})}),(0,n.jsxs)("div",{className:p?"".concat(s.mobilePageCountLabel," open"):"".concat(s.mobilePageCountLabel),onClick:()=>m(!p),role:"button",tabIndex:0,onKeyDown:()=>m(!p),children:[(0,n.jsx)("div",{children:(0,n.jsx)(c.A,{id:"PAGINATION_OPTION_DISPLAY",defaultMessage:"Page {page} of {numberOfPages}",values:{page:r,numberOfPages:o}})}),(0,n.jsx)(I.A,{className:(0,d.A)(s.buttonIcon)}),(0,n.jsx)("ul",{className:p?"".concat(s.dropdown," open"):"".concat(s.dropdown),children:Array(o).fill(0).map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsxs)("a",{onClick:()=>f(t+1,"jump","drop-down"),role:"button",tabIndex:0,onKeyDown:()=>f(t+1,"jump","drop-down"),children:["Page ",t+1]})},"page".concat(t)))})]}),(0,n.jsx)(h.A,{classes:{root:s.buttonRoot,outlined:s.buttonOutlined,disabled:s.buttonDisabled},disabled:t||x,onClick:()=>f(r+1,"next","button"),children:(0,n.jsx)(eZ.A,{className:(0,d.A)(s.buttonIcon,{[s.buttonIconDisabled]:x})})})]})]})};var e0=a(11944),e2=a.n(e0),e1=a(62084);let e4=(0,p.A)(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"},CardContainer:{display:"inline-flex",paddingBottom:"12px !important"},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"}},productNumber:{fontSize:e.typography.pxToRem(12),fontWeight:e.typography.fontWeightBold,textTransform:"uppercase",margin:"".concat(e.spacing(1,0)," !important"),color:e.palette.primary.main},productName:{maxHeight:66,fontSize:e.typography.pxToRem(16),fontWeight:e.typography.fontWeightBold,lineHeight:1.13,marginBottom:"".concat(e.spacing(1),"px !important"),"& sup, sub":{verticalAlign:"baseline",position:"relative",top:"-0.4em"},"& sub":{top:"0.1em"}},productDescription:{fontSize:e.typography.pxToRem(14),lineHeight:1.43,marginBottom:"".concat(e.spacing(2),"px !important"),minHeight:e.typography.pxToRem(60)},clampLines:{display:"-webkit-box","-webkit-box-orient":"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}}})),e8=e=>{let{product:t}=e,{formatMessage:a}=(0,b.A)(),[r,o]=(0,i.useState)(!1);(0,i.useEffect)(()=>o(!0),[]);let{compareProducts:s,addCompareProduct:l,removeCompareProduct:p}=(0,et.Zn)(),u=s.some(e=>{let{productKey:a,brandKey:n}=e;return a===t.productKey&&n===t.brand.key}),m=!!r&&!u&&s.length>=et.NN,g={productKey:t.productKey,productNumber:t.productNumber,brandKey:t.brand.key,images:t.images,productName:t.name,brandName:t.brand.name},_=e4();return(0,n.jsx)(E.A,{className:_.CardContainer,item:!0,md:4,children:(0,n.jsxs)("figure",{className:_.Card,children:[(0,n.jsx)("div",{className:(0,d.A)(_.productCheckbox),children:(0,n.jsx)(ee.A,{name:"".concat(a(W.A.COMPARE),"-").concat(t.productNumber),checked:r&&u,onChange:e=>{e.target.checked?l(g):p(g)},"aria-label":"".concat(a(W.A.COMPARE)," ").concat(t.productNumber),disabled:m,label:"".concat(a(W.A.COMPARE))})}),(0,n.jsx)("div",{className:_.imageWrap,children:(0,n.jsx)("img",{src:t.images[0].mediumUrl,alt:t.name})}),t.brand.key&&t.productNumber?(0,n.jsx)(q.N,{...v.aR.index(t.brand.key,t.productKey),children:(0,n.jsx)("a",{className:_.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)(A.A,{className:(0,d.A)(_.productName,_.clampLines),children:(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:e2().sanitize(t.legalName||t.name||"")}})}),(0,n.jsx)(A.A,{className:(0,d.A)(_.productDescription,_.clampLines),children:(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:e2().sanitize((null==t?void 0:t.legalNameSuffix)||(null==t?void 0:t.description)||"")}})}),(0,n.jsx)(e1.A,{product:t,focus:"",sourceString:"products",typeButtonText:(0,n.jsx)(c.A,{id:"QUICK_VIEW",defaultMessage:"Quick View"}),ga4Payload:{component:"grid",elementType:"button",elementText:"quick view"}})]})})},e3=e=>{let{products:t}=e;return(0,n.jsxs)(E.A,{container:!0,spacing:10,children:[t.map(e=>"Product"!==e.__typename?null:(0,n.jsx)(e8,{product:e},e.productNumber)),(0,n.jsx)(eo.A,{isAemDrawer:!0})]})};var e6=a(47801),e5=a(63459),e7=a(57717),e9=a(89099),te=a(8288),tt=a(17685),ta=a(51996),tn=a(40002);let ti=e=>{var t;let a=(0,e9.useRouter)(),n=null===(t=(0,te.yp)(a.asPath).afterBasename)||void 0===t?void 0:t.split("?")[0],{userSession:r}=(0,tt.j)(),{getCountryProp:o}=(0,ta.Y)(),[s]=(0,i.useState)((0,e6.Fo)(e));if(!s)return{model:"0"};let l=null==s?void 0:s.type,d="catPageBestSellersAPI"===l?tn.j.BestSellers:tn.j.NewArrivals,c=o(r.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 tr=a(7645),to=a(44878);let ts=(0,p.A)(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("xs")]:{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("xs")]:{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"}}));var tl=function(e){return e[e.grid=0]="grid",e[e.list=1]="list",e}(tl||{});let td=e=>{let{view:t=1}=e,a=ts(),r=(0,u.A)();return(0,g.A)(r.breakpoints.down("xs"))?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(A.A,{variant:"h2",children:"Products"}),(0,n.jsx)(E.A,{container:!0,children:Array(10).fill({}).map((e,t)=>(0,n.jsx)(E.A,{item:!0,xs:12,className:a.tableRow,children:[,,,,].fill({}).map((e,t)=>(0,n.jsx)(i.Fragment,{children:(0,n.jsx)(E.A,{item:!0,sm:3,className:a.mGridText,children:(0,n.jsx)(to.A,{variant:"text",width:"100%",height:30,className:a.text,animation:"wave"})})},t))},t))})]}):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(tr.A,{mt:6,children:(0,n.jsx)(E.A,{container:!0,children:(0,n.jsx)(E.A,{item:!0,sm:12,xs:12,children:(0,n.jsxs)(E.A,{container:!0,children:[(0,n.jsxs)(E.A,{item:!0,sm:3,xs:6,children:[(0,n.jsx)(A.A,{variant:"h2",children:"Products"}),[,,,,].fill({}).map((e,t)=>(0,n.jsxs)(i.Fragment,{children:[(0,n.jsx)(to.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)(to.A,{variant:"text",width:"50%",height:30,className:a.facets,animation:"wave"},t))]},t))]}),(0,n.jsxs)(E.A,{item:!0,sm:9,xs:6,children:[(0,n.jsxs)(E.A,{container:!0,children:[(0,n.jsx)(E.A,{item:!0,sm:3,children:(0,n.jsx)(to.A,{variant:"text",width:"100%",height:60,className:a.search,animation:"wave"})}),(0,n.jsx)(E.A,{item:!0,sm:3,children:(0,n.jsx)(to.A,{variant:"text",width:"85%",height:60,className:a.sort,animation:"wave"})}),(0,n.jsx)(E.A,{item:!0,sm:3}),(0,n.jsx)(E.A,{item:!0,sm:3,children:(0,n.jsx)(to.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,{item:!0,sm:2,className:a.headerRow,children:"Compare"}),(0,n.jsx)(E.A,{item:!0,sm:3,className:a.headerRow,children:"Product Number"}),(0,n.jsx)(E.A,{item:!0,sm:3,className:a.headerRow,children:"Product Name"}),(0,n.jsx)(E.A,{item:!0,sm:2,className:a.headerRow,children:"Product Description"}),(0,n.jsx)(E.A,{item:!0,sm:2,className:a.headerRow,children:"Pricing"}),Array(20).fill({}).map((e,t)=>(0,n.jsxs)(i.Fragment,{children:[(0,n.jsx)(E.A,{item:!0,sm:2,className:a.tableRow,children:(0,n.jsx)(to.A,{variant:"text",width:"100%",height:40,className:a.text,animation:"wave"})}),(0,n.jsx)(E.A,{item:!0,sm:3,className:a.tableRow,children:(0,n.jsx)(to.A,{variant:"text",width:"100%",height:40,className:a.text,animation:"wave"})}),(0,n.jsx)(E.A,{item:!0,sm:3,className:a.tableRow,children:(0,n.jsx)(to.A,{variant:"text",width:"100%",height:40,className:a.text,animation:"wave"})}),(0,n.jsx)(E.A,{item:!0,sm:2,className:a.tableRow,children:(0,n.jsx)(to.A,{variant:"text",width:"100%",height:40,className:a.text,animation:"wave"})}),(0,n.jsx)(E.A,{item:!0,sm:2,className:a.tableRow,children:(0,n.jsx)(to.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,{item:!0,sm:4,className:a.gridRowParent,children:(0,n.jsxs)("div",{className:a.gridRow,children:[(0,n.jsx)(to.A,{variant:"rect",width:"60%",height:130,animation:"wave",style:{marginBottom:12}}),(0,n.jsx)(to.A,{variant:"text",width:"100%",height:30,animation:"wave"}),(0,n.jsx)(to.A,{variant:"text",width:"100%",height:30,animation:"wave"}),(0,n.jsx)(to.A,{variant:"text",width:"100%",height:30,animation:"wave",style:{marginBottom:12}}),(0,n.jsx)(to.A,{variant:"text",width:"100%",height:60,animation:"wave"})]})},t))},t))})})]})]})})})})})},tc=(0,p.A)(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)}},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(0,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",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 tp=function(e){return e[e.grid=0]="grid",e[e.list=1]="list",e}(tp||{});let tu=[{value:m.FU.Relevance,label:W.A.SORT_BY_RELEVANCE},{value:m.FU.Nameasc,label:W.A.SORT_BY_NAME_ASCENDING},{value:m.FU.Namedesc,label:W.A.SORT_BY_NAME_DESCENDING}],tm=e=>{var t;let{title:a,maxRows:r,searchTerm:o,authorSelectedFacets:s,authorCuratedFacets:l,defaultSort:p,additionalColumns:m,openFacets:C=0,hideSearchBar:b,...S}=e,I=(0,u.A)(),v=(0,g.A)(I.breakpoints.up("md")),N=tc(),M=(0,i.useRef)(null),[R,j]=(0,i.useState)(!1),P=S.anchorId||"csr",[L,B]=(0,i.useState)(null);(0,i.useEffect)(()=>{let e=e6.sZ.getItem("selectedView");B(null!=e?e:1)},[]);let{loading:O,error:F,facets:w,page:D,itemCount:k,numPages:U,pageStart:H,pageEnd:G,products:Y,sort:z,term:V,searched:q,updatePage:$,updateSort:Z,updateFacets:J,updateSearchTerm:Q,applyFacets:X}=eF({searchTerm:o,authorSelectedFacets:s,authorCuratedFacets:l,defaultSort:p,defaultPerPage:r}),ee=()=>{M.current&&window.scrollTo({left:0,top:M.current.offsetTop-100,behavior:"smooth"})},et=(0,i.useCallback)(e=>{ee(),$(e)},[$]),en=(0,i.useCallback)(e=>{ee(),Z(e)},[Z]),ei=(0,i.useCallback)((e,t)=>{ee(),J(e,t)},[J]),er=(0,i.useCallback)(e=>{ee(),Q(e)},[Q]);!O&&0===Y.length&&V&&V!==q&&Q("",V);let eo=()=>{if(!window.location.hash.includes("#"+P))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&&X(t)});let e=window.location.hash,t=e.substring(1).split("&").find(e=>e.includes("term="));t&&Q(decodeURIComponent(t.split("=")[1]).replace(/\+/g," ")),e.includes("?")&&ee()},es=e=>{B(e),e6.sZ.setItem("selectedView",e),(0,ea.Sm)({action:"switch to ".concat(L?"box":"list"," view"),section:"products",component:"body",elementType:"icon",elementText:"change view"})};(0,i.useEffect)(()=>(eo(),window.addEventListener("hashchange",eo),()=>{window.removeEventListener("hashchange",eo)}),[]);let{model:ed,carouselTitle:ec,carouselEndpoint:ep}=ti("optly-abTestingCategoryCarousel"),{data:eu}=(0,e5.Gb)({variables:{input:{get:ep,model:ed}},errorPolicy:"all",ssr:!1,skip:"0"===ed||!ep}),em=null==eu?void 0:null===(t=eu.getRecommendedProductsAlt)||void 0===t?void 0:t.products;return O?(0,n.jsx)(td,{view:L}):F||0===Y.length?(0,n.jsx)("div",{id:P,ref:M}):null===L?(0,n.jsx)("div",{id:P,children:(0,n.jsx)(td,{view:1})}):(0,n.jsxs)(n.Fragment,{children:[(null==em?void 0:em.length)&&ec?(0,n.jsx)("div",{className:N.aemCarousel,children:(0,n.jsx)(e7.A,{type:ec,products:em})}):"",(0,n.jsxs)("div",{id:P,ref:M,className:"aem-ms-cmp",children:[a?(0,n.jsx)(A.A,{variant:"h2",id:P,children:(0,n.jsx)(x.A,{value:a})}):null,(0,n.jsxs)("div",{className:(0,d.A)(N.productSearchWrapper,{[N.productSearchWrapperLoading]:O}),children:[(0,n.jsx)("div",{className:N.facetsWrapper,children:(0,n.jsx)(K,{loading:O,facets:w,handleUpdateFacets:ei,openFacets:C,term:V,handleUpdateSearchTerm:er})}),(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,children:[(0,n.jsx)(E.A,{item:!0,md:9,children:(0,n.jsxs)(E.A,{container:!0,children:[(0,n.jsx)(E.A,{item:!0,children:!b&&(0,n.jsx)("div",{className:N.searchInput,children:(0,n.jsx)(eH,{handleUpdateSearchTerm:er})})}),(0,n.jsx)(E.A,{item:!0,children:(0,n.jsx)(eq,{loading:O,value:z,options:tu,handleUpdateSort:en})}),(0,n.jsx)(E.A,{item:!0,children:(0,n.jsx)("div",{className:(0,d.A)(N.resultsCount,N.resultsCountMargin),children:k&&G&&(0,n.jsx)(y,{itemCount:k,pageStart:H,pageEnd:G})})})]})}),(0,n.jsxs)(E.A,{item:!0,md:3,className:N.alignRight,children:[(0,n.jsx)(A.A,{component:"span",className:N.toggleLabel,children:(0,n.jsx)(c.A,{id:"CHANGE_VIEW",defaultMessage:"Change View"})}),(0,n.jsxs)(_.A,{size:"small",children:[(0,n.jsx)(h.A,{variant:1===L?"contained":void 0,color:"primary",onClick:()=>es(1),className:N.viewToggleButton,children:(0,n.jsx)(T.default,{})}),(0,n.jsx)(h.A,{variant:0===L?"contained":void 0,color:"primary",onClick:()=>es(0),className:N.viewToggleButton,children:(0,n.jsx)(f.A,{})})]})]})]})})}),(0,n.jsxs)("div",{className:N.mobileActions,children:[(0,n.jsxs)(h.A,{variant:"outlined",color:"primary",className:N.mobileFilterTrigger,onClick:()=>j(!0),children:[(0,n.jsx)(ez.A,{className:N.mobileFilterIcon,fontSize:"inherit",color:"primary"}),(0,n.jsx)(c.A,{...W.A.FILTER_AND_SORT_HEADING})]}),(0,n.jsx)("div",{className:N.resultsCount,children:k&&G&&(0,n.jsx)(y,{itemCount:k,pageStart:H,pageEnd:G})})]})]}),(0,n.jsx)("div",{children:0===L&&v?(0,n.jsx)(e3,{products:Y}):(0,n.jsx)(el,{products:Y,additionalColumns:m})}),(0,n.jsxs)("div",{className:N.bottomActions,children:[k&&G&&(0,n.jsx)(y,{itemCount:k,pageStart:H,pageEnd:G,isBottomCount:!0}),(0,n.jsx)(eX,{loading:O,numPages:U,currentPage:D,handleUpdatePage:et})]})]})]})]}),R&&w&&(0,n.jsx)(eY,{loading:O,itemCount:k,facets:w,sort:z,handleClose:()=>j(!1),sortOptions:tu,term:V,handleUpdateFacets:ei,handleUpdateSearchTerm:er,handleUpdateSort:en})]})},tg=(0,l.MapTo)("cms-commons/components/content/categorysearchresults")(e=>{let{anchorId:t,title:a,searchTerm:i,facets:r,maxRows:o,additionalColumns:s,defaultSort:l=[],facetSet:d,hideSearchBar:c=!1,openFacets:p=0}=e,u=Object.values(m.FU).find(e=>e===l[0]);return(0,n.jsx)(tm,{anchorId:t,title:a,searchTerm:i,additionalColumns:s,maxRows:o,authorSelectedFacets:r,defaultSort:u,authorCuratedFacets:d||[],hideSearchBar:c,openFacets:p})});var tA=a(6307);let tE=(0,l.MapTo)("cms-commons/components/content/contact")(e=>{let t=(0,b.A)(),a=t.formatMessage(W.A.EMAIL),i=t.formatMessage(W.A.PHONE);return(0,n.jsx)(tA.default,{...e,translations:{email:a,phone:i}})});var t_=a(4451),th=a(11788);let tf=(0,i.createContext)({isHalfGatedContentActive:!1,setIsHalfGatedContentActive:()=>{},isBuyAgainEmpty:!1,setIsBuyAgainEmpty:()=>{},showHorizontaltabLoader:!1,setShowHorizontaltabLoader:()=>{}}),tT=e=>{let{children:t}=e,[a,r]=(0,i.useState)(!1),[o,s]=(0,i.useState)(!1),[l,d]=(0,i.useState)(!1);return(0,n.jsx)(tf.Provider,{value:{isHalfGatedContentActive:a,setIsHalfGatedContentActive:r,isBuyAgainEmpty:o,setIsBuyAgainEmpty:s,showHorizontaltabLoader:l,setShowHorizontaltabLoader:d},children:t})},tx=(0,l.MapTo)("cms-commons/components/content/container")((e=>{let t=t=>{let{userIsLoggedIn:a}=(0,th.iZ)(),{setIsHalfGatedContentActive:r}=(0,i.useContext)(tf),o=(0,u.A)(),s=(0,g.A)(o.breakpoints.down("xs"));return(0,i.useEffect)(()=>{t.halfGatedContent&&!a&&r(!0)},[]),(0,n.jsx)(e,{userIsLoggedIn:a,isMobile:s,...t})};return t.displayName="CMSCommonContainerHOC",t})(t_.CMSCommonContainer));function tC(){let e=(0,ed._)(["\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 tC=function(){return e},e}let ty={},tb=(0,ec.J1)(tC());function tS(e){let t={...ty,...e};return ep.IT(tb,t)}var tI=a(75647);let tv=(0,p.A)(e=>({dynamicPlaceholderWrapper:{marginBottom:e.spacing(6),"& $productInfoText":{"& span":{marginRight:e.spacing(1)},"&:hover":{textDecoration:"none"},"@media print":{display:"none"}},"& $productInfoPrintText":{display:"none",fontSize:e.typography.pxToRem(20),marginBottom:e.spacing(4),marginTop:e.spacing(4),fontWeight:"900",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:{}})),tN=(0,l.MapTo)("cms-commons/components/content/dynamicplaceholder")(e=>{var t,a;let r=(0,e9.useRouter)(),s=tv(),l=r.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:A,ffPageTitle:E="",ffPageDesc:_=""}=e,[h,f]=(0,i.useState)([]),[T,x]=(0,i.useState)([]),[C,y]=(0,i.useState)(""),[b,S]=(0,i.useState)(""),[I,N]=(0,i.useState)(""),{data:M}=tS({variables:{input:{productKey:c,brandKey:d}},fetchPolicy:"no-cache"}),R=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,j="".concat(E," for ").concat(d," ").concat(C," ").concat(b," ").concat(I),P="".concat(_," for ").concat(d," ").concat(C," ").concat(b," ").concat(I);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==M?void 0:M.getMetadataForFFCertificates){let{aliases:a,attributes:n,productNumber:i,productNameSuffix:r,productName:o}=M.getMetadataForFFCertificates,s=e(p),l=e(u),d=s.length&&t(s,a)||[],c=l.length&&t(l,n)||[];d.length&&f(d),c.length&&x(c),i&&y(i),o&&S(o),r&&N(r)}},[M]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o(),{children:[(0,n.jsx)("title",{children:(0,tI.wG)(j)}),(0,n.jsx)("meta",{name:"description",content:(0,tI.wG)(P)})]}),(0,n.jsxs)("div",{className:s.dynamicPlaceholderWrapper,children:[(0,n.jsx)(q.N,{...v.aR.index(d,C),children:(0,n.jsxs)("a",{className:s.productInfoText,children:[g&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:C}}),m&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:b}}),A&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:I}})]})}),(0,n.jsxs)("p",{className:s.productInfoPrintText,children:[g&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:C}}),m&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:b}}),A&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:I}})]}),(0,n.jsxs)("div",{className:s.dynamicPlaceholderDiv,children:[R(h),R(T)]})]})]})});var tM=a(81474);function tR(){let e=(0,ed._)(["\n query MultipleProductDetailSubstanceProduct($productInputs: [ProductInput!]!) {\n getMultipleProductDetails(input: {productInputs: $productInputs}) {\n ...SubstanceProductFields\n }\n}\n ",""]);return tR=function(){return e},e}let tj={},tP=(0,ec.J1)(tR(),tM.rx);var tL=a(57377),tB=a(10181),tO=a(67241),tF=a(70377),tw=a(41683),tD=a(71549),tW=a(63912),tk=a(37929),tU=a(40352),tH=a(74770),tG=a(28907);let tY=(0,p.A)(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-child":{borderTop:"1px solid ".concat(e.palette.grey[300])},"&:nth-child(2n)":{backgroundColor:e.palette.background.grey},"& > td":{display:"block",textAlign:"left",border:"0 none",padding:"0 !important",marginTop:e.spacing(2),minWidth:"100%","&:first-child":{marginTop:0,"& > a":{fontWeight:e.typography.fontWeightRegular}},"&:nth-child(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",fontWeight:e.typography.fontWeightMedium},aemproductNumberDescCell:{"& a":{color:"inherit",fontWeight:e.typography.fontWeightRegular,"&: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("xs")]:{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("xs")]:{"& > button":{marginTop:e.typography.pxToRem(18)}}},expandHideSpacer:{height:0,visibility:"hidden"}})),tz={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"}},tV=e=>{var t,a,r;let o,s,l,c,p,u,{product:m,displayBadgesOnProduct:A,focus:E,isShowBrand:_,isShowImage:h,additionalColumns:f,productIsAntibody:T,productIsSyringeFilter:C,displayViewLink:y=!0,substanceId:S,substancePosition:I}=e,M=(0,v.rd)(),R=tY(),{formatMessage:j}=(0,b.A)(),[P,L]=(0,i.useState)(!1),{currentUser:B}=(0,th.iZ)(),O=null!==(r=null===e6.Lr||void 0===e6.Lr?void 0:e6.Lr.getItem("searchedfor"))&&void 0!==r?r:"",F=()=>{L(e=>!e),(0,ea.Sm)({action:P?"close p&a":"view p&a",section:"products",component:"list",elementType:"accordion",elementText:P?"hide":"expand",material:{materialDescription:m.name,brand:m.brand.key,product:m.productNumber}})},w=m.attributes;T?(o=w.find(e=>e.key===tz.CLONALITY.key),s=w.find(e=>e.key===tz.SPECIES_REACTIVITY.key)):C&&(l=w.find(e=>e.key===tz.PORE_SIZE.key),c=w.find(e=>e.key===tz.DIAMETER.key&&e.label===tz.DIAMETER.label),p=w.find(e=>e.key===tz.STERILITY.key),u=w.filter(e=>e.key===tz.MATERIAL.key));let{paMessage:D}=m,W=m.productNumber.startsWith("CB_")?j({id:"DETAILS",defaultMessage:"Details"}):m.productNumber,k=(null==B?void 0:B.metadata.isNewPNASrpEnabled)&&!M.query.debug&&y,U=(0,tk.A)(),H=(0,g.A)(U.breakpoints.up(tU.Rp.MD),{defaultMatches:!0});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(tw.A,{className:P?(0,d.A)(R.tableRow,R.clearBottomBorder,R.tableRowExpanded,H?"":R.aemMobileResponsiveCell):(0,d.A)(R.tableRow,H?"":R.aemMobileResponsiveCell),children:[h?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(tL.A,{children:(0,n.jsx)("span",{className:R.productImageContainer,children:(0,n.jsx)("img",{className:R.productImage,src:null==m?void 0:null===(t=m.images[0])||void 0===t?void 0:t.smallUrl,alt:(null==m?void 0:null===(a=m.images[0])||void 0===a?void 0:a.altText)||""})})}),(0,n.jsx)(tL.A,{classes:{root:R.productNumberContainer},children:(0,n.jsx)(tG.h,{product:m,focus:E,label:W,productDescriptionClass:R.productName,productLinkType:tG.A.NAME,productDescription:m.description})})]}):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(tL.A,{classes:{root:R.productNumberContainer+" "+R.aemproductNumberDescCell},children:(0,n.jsx)(tG.h,{product:m,focus:E,label:W,onProductLinkClick:()=>(0,N.WL)({product:m,searchTerm:O,substanceId:S,substancePosition:I}),productDescriptionClass:R.productName,productLinkType:tG.A.NAME,productDescription:m.description})})}),T&&m.cardAttribute&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(tL.A,{children:o&&(0,n.jsx)(Z.A,{values:o.values})}),(0,n.jsx)(tL.A,{children:(0,n.jsx)(x.A,{value:m.cardAttribute.application.join(", ")})}),(0,n.jsx)(tL.A,{children:s&&(0,n.jsx)(Z.A,{values:s.values})}),(0,n.jsx)(tL.A,{children:m.cardAttribute.citationCount}),(0,n.jsx)(tL.A,{children:A&&(0,n.jsx)(tH.A,{features:m.features})})]}),C&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(tL.A,{"data-testid":"pdp-product-poreSize",children:l&&l.values.length&&(0,n.jsx)(Z.A,{values:l.values})}),(0,n.jsx)(tL.A,{"data-testid":"pdp-product-diameter",children:c&&(0,n.jsx)(Z.A,{values:c.values})}),(0,n.jsx)(tL.A,{"data-testid":"pdp-product-sterility",children:p&&(0,n.jsx)(Z.A,{values:p.values})}),(0,n.jsx)(tL.A,{"data-testid":"pdp-product-material",children:u&&u.map(e=>(0,n.jsx)(Z.A,{values:e.values},e.key))}),(0,n.jsx)(tL.A,{children:A&&(0,n.jsx)(tH.A,{features:m.features})})]}),!m.cardCategory&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(tL.A,{className:R.productDescription,align:"left",children:m.name&&(0,n.jsx)(tG.h,{product:m,focus:E,label:m.name,productDescriptionClass:"",productLinkType:tG.A.DESCRIPTION,productDescription:m.name})}),(0,n.jsx)(tL.A,{className:R.productDescription+" "+R.aemproductNumberDescCell,align:"left",children:(0,n.jsx)(tG.h,{product:m,focus:E,label:m.description,productDescriptionClass:R.productDescLink,productLinkType:tG.A.DESCRIPTION,productDescription:m.description})}),_&&(0,n.jsx)(tL.A,{className:R.hideOnMobile,style:{color:m.brand.color||void 0},children:m.brand.name}),f&&f.map(e=>{var t;let{value:a}=e,i=m.attributes.find(e=>e.key&&e.key.toLowerCase()===a.toLowerCase());return(0,n.jsx)(tL.A,{children:(0,n.jsx)(x.A,{value:null==i?void 0:null===(t=i.values)||void 0===t?void 0:t.join(", ")})},a)})]}),(0,n.jsx)(tL.A,{align:"right",children:k?(0,n.jsx)(e1.A,{product:m,focus:E}):(0,n.jsxs)(n.Fragment,{children:[H?(0,n.jsx)(tW.A,{expanded:P,setExpanded:F,collapsedText:j({id:"EXPAND",defaultMessage:"Expand"}),expandedText:j({id:"HIDE",defaultMessage:"Hide"}),"data-testid":"srp-pricing-".concat(m.productNumber).concat(m.brand.key)}):!P&&(0,n.jsx)(tW.A,{expanded:P,setExpanded:F,collapsedText:j({id:"EXPAND",defaultMessage:"Expand"}),expandedText:j({id:"HIDE",defaultMessage:"Hide"}),"data-testid":"srp-pricing-".concat(m.productNumber).concat(m.brand.key)}),(0,n.jsx)("div",{className:R.expandHideSpacer,children:(0,n.jsx)(tW.A,{expanded:!P,setExpanded:F,collapsedText:j({id:"EXPAND",defaultMessage:"Expand"}),expandedText:j({id:"HIDE",defaultMessage:"Hide"})})})]})})]}),P&&(0,n.jsx)(tw.A,{className:R.tableRowExpanded+" "+(H?"":R.aemMobileResponsiveCellExpended),children:(0,n.jsxs)(tL.A,{colSpan:9,children:[D?(0,n.jsx)(X.Ay,{brandKey:m.brand.key,productNumber:m.productNumber,paMessage:D,displayType:X.yU.SRP}):(0,n.jsx)($.A,{queryFocus:E,productName:m.name,productNumber:m.productNumber,productDescription:m.description||"",images:m.images,materialIds:m.materialIds,brandKey:m.brand.key,gaType:(0,N.Ss)(E),isMarketplace:m.isMarketplace,productAttributes:m.attributes,marketplaceSellerId:m.marketplaceSellerId||"",marketplaceOfferId:m.marketplaceOfferId||"",displaySellerName:m.displaySellerName||"",displayPromotionalBundlesAnchor:!0,checkForPb:!0,productKey:m.productKey,erp_type:m.erp_type}),!H&&(0,n.jsx)("div",{className:R.showLessToggleWrap,children:(0,n.jsx)(tW.A,{expanded:P,setExpanded:F,collapsedText:j({id:"EXPAND",defaultMessage:"Expand"}),expandedText:j({id:"HIDE",defaultMessage:"Hide"}),"data-testid":"srp-pricing-".concat(m.productNumber).concat(m.brand.key)})})]})})]})},tK=(0,p.A)(e=>({tContainer:{overflowX:"visible"},tHeadRow:{whiteSpace:"nowrap","& .MuiTableCell-head":{padding:"0 .6rem",fontSize:e.typography.pxToRem(12),fontWeight:"".concat(e.typography.fontWeightBold," !important")}},tHeadProductNumber:{width:124},tHeadProductName:{width:290},tHeadSds:{width:52,"&:empty":{width:0}},hideBelowMd:{[e.breakpoints.down("sm")]:{display:"none"}},utilityRow:{display:"flex",marginTop:e.spacing(4),"&:empty":{display:"none"}},showMoreLessButton:{flexShrink:0},compressWidth:{width:0},aemThead:{[e.breakpoints.down("xs")]:{display:"none"}}})),tq={ANTIBODY:"ANTIBODY",SYRINGE_FILTERS:"SYRINGE_FILTERS"};tq.ANTIBODY,tq.SYRINGE_FILTERS;let t$=e=>{let{formatMessage:t,additionalColumns:a,isShowBrand:i}=e,r=tK();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(tL.A,{children:t({id:"PRODUCT_DESCRIPTION",defaultMessage:"Product Description"})}),i&&(0,n.jsx)(tL.A,{children:t({id:"BRAND",defaultMessage:"Brand"})}),a&&a.map(e=>{let{text:t}=e;return(0,n.jsx)(tL.A,{"data-additional":"true",children:t},t)}),(0,n.jsx)(tL.A,{className:r.compressWidth,children:t({id:"PRICING",defaultMessage:"Pricing"})})]})},tZ=e=>{var t,a,r;let{products:o,displayBadgesOnProduct:s,focus:l,maxRows:d,isShowImage:c=!1,isShowBrand:p=!1,additionalColumns:u,displayViewLink:m}=e,g=tK(),[A,E]=(0,i.useState)(!1),_=d||5,h=A?o.length:_,{formatMessage:f}=(0,b.A)(),T=!!o.length&&(null===(t=o[0])||void 0===t?void 0:t.cardCategory)===tq.ANTIBODY,x=!!o.length&&(null===(a=o[0])||void 0===a?void 0:a.cardCategory)===tq.SYRINGE_FILTERS;return(0,n.jsxs)(tB.A,{className:g.tContainer,children:[(0,n.jsxs)(tO.A,{size:"small",children:[(0,n.jsx)(tF.A,{className:g.aemThead,children:(0,n.jsxs)(tw.A,{className:g.tHeadRow,children:[c?(0,n.jsx)(tL.A,{}):null,(0,n.jsx)(tL.A,{classes:{root:g.tHeadProductNumber},children:f({id:"PRODUCT_NUMBER",defaultMessage:"Product Number"})}),(0,n.jsx)(tL.A,{classes:{root:g.tHeadProductName},children:f({id:"PRODUCT_NAME",defaultMessage:"Product Name"})}),!(null===(r=o[0])||void 0===r?void 0:r.cardCategory)&&(0,n.jsx)(t$,{formatMessage:f,additionalColumns:u,isShowBrand:p})]})}),(0,n.jsx)(tD.A,{children:o.slice(0,h).map((e,t)=>e instanceof Error||!e?null:(0,n.jsx)(en.M,{source:"srp - ".concat(l),children:(0,n.jsx)(tV,{product:e,displayBadgesOnProduct:s,focus:l,isShowBrand:p,isShowImage:c,additionalColumns:u,productIsAntibody:T,productIsSyringeFilter:x,displayViewLink:m},"".concat(e.productKey).concat(e.brand.erpKey,"-").concat(t))},t))})]}),(0,n.jsx)("div",{className:g.utilityRow,children:o.length>_&&(0,n.jsx)(tW.A,{expanded:A,setExpanded:E,className:g.showMoreLessButton})})]})};var tJ=a(15524);let tQ=(0,p.A)(e=>({tableTitle:{fontWeight:e.typography.fontWeightBold,fontSize:e.typography.pxToRem(20),margin:e.spacing(4,0)}})),tX=e=>{let{additionalColumns:t,anchorId:a,isShowImage:i,isShowBrand:r,isStaticContent:o,maxRows:s,products:l,tableTitle:d}=e,{loading:c,error:p,data:u}=function(e){let t={...tj,...e};return ep.IT(tP,t)}({variables:{productInputs:l},errorPolicy:"all",ssr:!1}),m=tQ();return l.length?(0,n.jsxs)("div",{id:a,children:[d&&(0,n.jsx)("h2",{id:a,className:m.tableTitle,dangerouslySetInnerHTML:{__html:e2().sanitize(d)}}),c?(0,n.jsx)("div",{children:"Loading"}):!p||(null==u?void 0:u.getMultipleProductDetails)?(0,n.jsx)("div",{className:o?"aem-ms-cmp":"",children:(0,n.jsx)(tZ,{additionalColumns:t,displayBadgesOnProduct:!0,error:p,focus:"sial",isShowBrand:r,isShowImage:i,maxRows:s,products:u.getMultipleProductDetails})}):(0,n.jsx)(tJ.A,{error:p})]}):null};class t0 extends i.Component{render(){return(0,n.jsx)(tX,{...this.props,isStaticContent:!0})}}(0,l.MapTo)("cms-commons/components/content/dynamicproducttable")(t0);var t2=a(45109);let t1=(0,l.MapTo)("cms-commons/components/content/eventlisting")(e=>{let t=(0,b.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."}),r=t.formatMessage({id:"FACET_UNCHECK_ALL",defaultMessage:"Uncheck All"}),o=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"}),A=t.formatMessage({id:"ENTER_DATE_INVALID",defaultMessage:"Enter valid date"}),E=t.formatMessage({id:"START_DATE_INVALID",defaultMessage:"Start Date should be before End Date"}),_=t.formatMessage({id:"END_DATE_INVALID",defaultMessage:"End Date should be after Start Date"});return(0,n.jsx)(t2.default,{...e,translations:{appliedFilters:m,changeFilterCriteria:i,dateRangeEnd:c,dateRangeStart:d,done:g,facetRegion:s,facetTopic:o,filters:u,invalidDate:A,invalidEndDate:_,invalidStartDate:E,noSearchResults:a,selectDate:p,today:l,uncheckAll:r}})}),t4=(0,M.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)"}});var t8=a(14927);let t3=(0,l.MapTo)("cms-commons/components/content/event-sidebar")(e=>{let t=(0,b.A)(),a=t.formatMessage(t4.EVENT_ONLINE_LABEL),i=t.formatMessage(t4.EVENT_BOOTH_LABEL);return(0,n.jsx)(t8.default,{...e,translations:{online:a,booth:i}})}),t6=(0,p.A)(e=>({brandLogo:{width:"auto",height:"auto"},brandLogoWrapper:{margin:e.spacing(8,0)}})),t5=(0,l.MapTo)("cms-commons/components/content/ffcertsbrandimage")(()=>{var e,t,a,i;let r=(0,e9.useRouter)(),o=t6(),s=r.query,l=(null==s?void 0:null===(e=s.cmsRoute)||void 0===e?void 0:e[3])||"",{data:d}=tS({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:o.brandLogoWrapper,children:(0,n.jsx)("img",{className:o.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 t7=a(77198),t9=a(23604);let ae={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"},at={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 aa=a(39324),an=a.n(aa);let ai=(0,l.MapTo)("cms-commons/components/content/formAssembly")(e=>{let{currentUser:t,userId:a,organizationPosition:i}=(0,th.iZ)(),{publicRuntimeConfig:{gaSessionIdCookie:r}}=an()(),[o]=(0,t9.lT)(["_ga","__gtm_campaign_url","GUID"]),{userSession:s}=(0,tt.j)(),{country:l,language:d}=s,c=["pt_BR"].find(e=>e==="".concat(d,"_").concat(l))?"".concat(d,"_").concat(l):"en_US",p="http://sial.tfaforms.net/wForms/3.11/js/localization-".concat(c,".js?v=813cb4fab17d46c586bbe42b1bcc8e38ca00cf31"),u=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:""},m={};if(e.activatePrefill){var g,A,E,_,h,f,T,x,C,y,b,S,I,v,M,R;m={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===(g=t.contactAddress)||void 0===g?void 0:g.postalCode,tfa_20:null==t?void 0:null===(A=t.contactAddress)||void 0===A?void 0:A.city,tfa_2894:(null==t?void 0:null===(E=t.contactAddress)||void 0===E?void 0:E.street)||(null==t?void 0:null===(_=t.contactAddress)||void 0===_?void 0:_.postOfficeBox),tfa_2891:i,tfa_4790:window.location.href,tfa_4813:e6.sZ.getItem(N.Wj),tfa_4820:null==t?void 0:null===(f=t.soldToPartners)||void 0===f?void 0:null===(h=f[0])||void 0===h?void 0:h.participantId,tfa_4854:null==t?void 0:null===(x=t.soldToPartners)||void 0===x?void 0:null===(T=x[0])||void 0===T?void 0:T.shipTo,tfa_4855:null==t?void 0:null===(y=t.soldToPartners)||void 0===y?void 0:null===(C=y[0])||void 0===C?void 0:C.soldTo,tfa_4857:null==t?void 0:null===(S=t.soldToPartners)||void 0===S?void 0:null===(b=S[0])||void 0===b?void 0:b.billTo};let e=null==t?void 0:null===(I=t.contactAddress)||void 0===I?void 0:I.country;e&&at[e]&&(m.tfa_2582=at[e]);let n=null==t?void 0:null===(v=t.contactAddress)||void 0===v?void 0:v.state;n&&ae[n]&&(m.tfa_2820=ae[n]),a?m.tfa_4823=a:m.tfa_4823=u(null==o?void 0:o._ga,!1),m.tfa_4896=null==o?void 0:null===(M=o.GUID)||void 0===M?void 0:M.split("|")[0],a?m.tfa_4834=null==o?void 0:o._ga:m.tfa_4834=u(o[r],!0);let s=null==o?void 0:null===(R=o.__gtm_campaign_url)||void 0===R?void 0:R.split("?")[1];m.tfa_4907=null==s?void 0:s.substring(0,255);try{let e=decodeURIComponent(null==o?void 0:o.__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"),r=a.get("utm_source"),o=a.get("utm_medium");m.tfa_4839=n,m.tfa_4838=i,m.tfa_4835=r,m.tfa_4836=o}}catch(e){console.error("Error decoding URI",e)}}return(0,n.jsx)(t7.A,{...e,formFields:m,formStyleClass:"compact"===e.formStyle?"compactFormWrapper":"",localeSrc:p,locale:c})});var ar=a(67958);let ao=(0,l.MapTo)("cms-commons/components/content/locationmap")(e=>{let t=(0,b.A)().formatMessage(t4.EVENT_VENUE_LABEL);return(0,n.jsx)(ar.default,{...e,translations:{venue:t}})});var as=a(44050),al=a(58127),ad=a(23307),ac=a(71603),ap=a(30510),au=a(54414);let am=e=>{let{productId:t,brand:a,promotionalCode:i,closeModal:r}=e,o=(0,v.rd)(),{getSitePreference:s}=(0,th.iZ)(),l=s(th.VD.CatalogFilter)||void 0,{context:d=""}=o.query,c=(0,ad.y5)(d),p=(0,O.vN)(c),u=(0,au.S)()?"network-only":"cache-first",{data:m}=(0,ac.iN)({variables:{productKey:t,brandKey:a,catalogType:p,orgId:l},fetchPolicy:u});return(null==m?void 0:m.getProductDetail)?(0,n.jsx)(ap.A,{onClose:r,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},ag=()=>{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("?"),r=new URLSearchParams(i),o=r.get("productId"),s=r.get("brand"),l=r.get("promo");o&&s&&t({productId:o,brand:s,promotionalCode:l||""})};return(0,i.useEffect)(()=>(document.addEventListener("click",a),()=>{document.removeEventListener("click",a)}),[]),e?(0,n.jsx)(am,{productId:e.productId,brand:e.brand,promotionalCode:e.promotionalCode,closeModal:()=>t(null)}):null};var aA=a(29638);let aE=(0,p.A)(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"}})),a_=()=>{let e=aE(),t=(0,v.rd)(),{isHalfGatedContentActive:a}=(0,i.useContext)(tf);return(0,aA.A)(a),(0,n.jsx)("section",{className:(0,d.A)(e.gatedContent,{[e.gatedContentActive]:a}),children:(0,n.jsxs)("div",{className:e.wrapper,children:[(0,n.jsx)(A.A,{component:"strong",variant:"h1",className:e.signInTitle,children:(0,n.jsx)(c.A,{...t4.SIGN_IN_TO_CONTINUE})}),(0,n.jsx)("p",{className:e.signInDescription,children:(0,n.jsx)(c.A,{...t4.GATED_CONTENT_INSTRUCTIONS})}),(0,n.jsx)(q.N,{href:"".concat(v.VV.index(),"?redirect=").concat(encodeURIComponent(t.asPath||v.xn.index())),children:(0,n.jsx)(h.A,{size:"large",variant:"contained",color:"primary",className:e.button,children:(0,n.jsx)(c.A,{id:"SIGN_IN",defaultMessage:"Sign In"})})}),(0,n.jsx)(A.A,{variant:"h3",component:"strong",className:e.registerTitle,children:(0,n.jsx)(c.A,{...W.A.DO_NOT_HAVE_AN_ACCOUNT})}),(0,n.jsx)(q.N,{href:"".concat(v.R6.index(),"?redirect=").concat(encodeURIComponent(t.asPath||v.xn.index())),children:(0,n.jsx)(h.A,{size:"large",variant:"outlined",color:"primary",className:e.button,children:(0,n.jsx)(c.A,{id:"REGISTER_TITLE",defaultMessage:"Register"})})})]})})};class ah 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)(rT.GlobalModals,{}),(0,n.jsx)(al.A,{}),(0,n.jsx)(ag,{}),(0,n.jsx)(a_,{}),e.pageFooter]})}constructor(e){super(e),as.ModelClient.prototype.fetch=()=>Promise.resolve({}),as.ModelManager.getData=()=>Promise.resolve({}),this.modelClient=new as.ModelClient(e.aemHost),this.modelManager=as.ModelManager,this.modelManager.initializeAsync({modelClient:this.modelClient})}}let af=(0,l.withModel)(ah);var aT=a(92733);let ax=(0,l.MapTo)("cms-commons/components/content/pressreleasegrid")(e=>{let t=(0,b.A)(),a=t.formatMessage(t4.MORE_PRESS_LINK_TITLE),i=t.formatMessage(t4.LATEST_PRESS_RELEASES);return(0,n.jsx)(aT.default,{...e,translations:{latestPressReleases:i,morePress:a}})});var aC=a(69795);let ay=(0,l.MapTo)("cms-commons/components/content/pressreleaselisting")(e=>{let t=(0,b.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."}),r=t.formatMessage({id:"DATE_RANGE_START",defaultMessage:"Date Range Start"}),o=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"}),A=t.formatMessage({id:"END_DATE_INVALID",defaultMessage:"End Date should be after Start Date"});return(0,n.jsx)(aC.default,{...e,translations:{appliedFilters:d,changeFilterCriteria:i,dateRangeEnd:o,dateRangeStart:r,done:p,facetTopic:l,filters:u,invalidDate:m,invalidEndDate:A,invalidStartDate:g,noSearchResults:a,selectDate:c,uncheckAll:s}})});var ab=a(68544);let aS=(0,l.MapTo)("cms-commons/components/content/relatedproductresources")(e=>{let t=(0,b.A)(),a=t.formatMessage(W.A.PAGE),i=t.formatMessage(W.A.PAGINATION_OPTION_DISPLAY),r=t.formatMessage(W.A.PAGINATION_LABEL_PREVIOUS),o=t.formatMessage(W.A.PAGINATION_LABEL_NEXT);return(0,n.jsx)(ab.default,{...e,translations:{page:a,pagination:i,goNext:r,goPrevious:o}})});var aI=a(77501),av=a(30101),aN=a(56924);let aM=(0,p.A)(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])}})),aR=e=>e.map(e=>({...e,catalogType:m.Mh.Sial})),aj=e=>{let{title:t,products:a,totalProductsDisplay:i}=e,r=aM(),o=aR(a),s=null==o?void 0:o.map(e=>{let{brandKey:t,productKey:a,catalogType:n}=e;return{brandKey:t,productKey:a,catalogType:n}}),{loading:l,error:d,data:p}=(0,aN.HP)({variables:{productInputs:s},errorPolicy:"ignore",ssr:!1});if(l)return(0,n.jsx)("div",{className:r.wrapper});if(d)return(console.error(d),a&&a.length>0)?(0,n.jsxs)("div",{className:r.error,children:[(0,n.jsx)(aI.default,{}),(0,n.jsx)("span",{children:(0,n.jsx)(c.A,{id:"SOMETHING_WENT_WRONG_TEXT",defaultMessage:"Something went wrong, please try again."})})]}):null;{let e=p?p.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)(A.A,{component:"strong",className:r.title,dangerouslySetInnerHTML:{__html:t}}),(0,n.jsx)("ul",{children:e&&e.map((e,t)=>{var a;if(!e)return null;let o=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)(aj,{title:t,products:a,totalProductsDisplay:i})});var aL=a(15203);let aB=(0,l.MapTo)("cms-commons/components/content/relatedwebinar")(e=>{let t=(0,b.A)(),a=t.formatMessage(t4.MORE_WEBINARS_LINK_TITLE),i=t.formatMessage(t4.RELATED_WEBINARS);return(0,n.jsx)(aL.default,{...e,translations:{moreWebinars:a,relatedWebinars:i}})});var aO=a(30877),aF=a(44131),aw=a(37290),aD=a(78206),aW=a(67994);function ak(){let e=(0,ed._)(["\n query TrialSoftwareLicense($serialNumber: String!) {\n verifySoftwareLicense(serialNumber: $serialNumber)\n }\n"]);return ak=function(){return e},e}let aU=(0,ec.J1)(ak()),aH=e=>{let{classes:t,validationSchema:a,intl:i,setQueryResult:r}=e,o=(0,u.A)(),s=(0,tt.j)(),l=(0,aW.m)(),p={color:o.palette.text.primary,fontWeight:"400"},m={marginTop:0,height:0};return(0,n.jsx)("div",{className:t.subSection,children:(0,n.jsx)(aD.l1,{initialValues:{serialNumber:""},validationSchema:a,onSubmit:async(e,t)=>{t.setSubmitting(!0);let a=await l.query({query:aU,context:{userSession:s},variables:{serialNumber:e.serialNumber},errorPolicy:"all",fetchPolicy:"no-cache"});if(r(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)(aD.lV,{className:t.form,children:[(0,n.jsx)(aD.D0,{name:"serialNumber",className:t.input,component:aw.A,placeholder:i.formatMessage(W.A.SERIAL_NUMBER),label:(0,n.jsx)(c.A,{...W.A.DIGITAL_PRODUCT_SERIAL_NUMBER}),filled:!0,style:p,helpStyle:m}),(0,n.jsx)(h.A,{type:"submit",variant:"contained",color:"primary",size:"large","data-testid":"request-license-button",id:"request-license-button",className:(0,d.A)(t.formButton,t.requestLicenseButton),children:(0,n.jsx)(c.A,{...W.A.REQUEST_LICENSE})})]})})})},aG=e=>{let{classes:t,heading:a,buttonText:i,buttonIdentifier:r,href:o}=e;return(0,n.jsxs)("div",{className:t.subSection,children:[(0,n.jsx)("p",{className:t.promptMessage,children:(0,n.jsx)(c.A,{...a})}),(0,n.jsx)(h.A,{type:"submit",variant:"contained",color:"primary",size:"large","data-testid":r,id:r,className:t.baseLicenseButton,href:o,children:(0,n.jsx)(c.A,{...i})})]})},aY=(0,p.A)(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:{margin:"2px 0 0 0",padding:"10px 15px 11px",minWidth:"auto",height:"40px"},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"}})),az=(0,l.MapTo)("cms-commons/components/content/dealerlicense")(()=>{let e=aY(),t=(0,b.A)(),a=aF.Ik().shape({serialNumber:aF.Yj().required(t.formatMessage(W.A.DIGITAL_PRODUCT_SERIAL_NUMBER_INVALID)).length(10,t.formatMessage(W.A.EXACT_N_CHARACTERS,{quantity:10})).matches(/^\d+$/,t.formatMessage(W.A.DIGITAL_PRODUCT_SERIAL_NUMBER_INVALID))}),[r,o]=(0,i.useState)(),[s,l]=(0,i.useState)(!1),{userIsLoggedIn:p}=(0,th.iZ)(),u=(0,v.rd)(),m={classes:e,validationSchema:a,intl:t,setQueryResult:o},g={loginPromptSection:{component:aG,props:{...m,heading:W.A.LICENSE_KEY_LOGIN_PROMPT,buttonText:W.A.LOGIN,buttonIdentifier:"login-button",href:"".concat(v.VV.index(),"?redirect=").concat(encodeURIComponent(u.asPath))}},generatedLicenseSection:{component:aG,props:{...m,heading:W.A.A_LICENSE_KEY_HAS_BEEN_GENERATED,buttonText:W.A.VIEW_MY_LICENSE,buttonIdentifier:"generated-license-button",href:v.Ns.index()}},requestLicenseSection:{component:aH,props:m}},A=(0,d.A)(e.licenseSection,{[e.expandedContainer]:s}),E=(0,d.A)(e.icon,{[e.expandedIcon]:s}),_=()=>l(e=>!e),[h,f]=(()=>{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:A,children:[(0,n.jsxs)("div",{className:e.headingSection,children:[(0,n.jsx)("div",{onClick:_,onKeyDown:_,className:e.iconContainer,role:"button",tabIndex:0,children:(0,n.jsx)(eZ.A,{className:E})}),(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)(c.A,{...W.A.REQUEST_TRIAL_LICENSE})})]}),(0,n.jsx)(aO.A,{in:s,timeout:"auto",children:(0,n.jsx)(h,{...f})})]})});var aV=a(87395);let aK=(0,l.MapTo)("cms-commons/components/content/upcomingeventsgrid")(e=>{let t=(0,b.A)(),a=t.formatMessage(t4.MORE_EVENTS_LINK_TITLE),i=t.formatMessage(t4.UPCOMING_EVENTS);return(0,n.jsx)(aV.default,{...e,translations:{moreEvents:a,upcomingEvents:i}})});var aq=a(3913);let a$=(0,l.MapTo)("cms-commons/components/content/webinarlisting")(e=>{let t=(0,b.A)(),a=t.formatMessage(t4.WEBINAR_UPCOMING_TAB),i=t.formatMessage(t4.WEBINAR_ON_DEMAND_TAB),r=t.formatMessage(t4.WEBINAR_SESSION_LABEL),o=t.formatMessage(t4.WEBINAR_PRESENTED_LABEL),s=t.formatMessage(W.A.LANGUAGE),l=t.formatMessage(t4.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"}),A=t.formatMessage(W.A.LANGUAGES),E=t.formatMessage({id:"APPLIED_FILTERS_HEADING",defaultMessage:"Applied Filters:"}),_=t.formatMessage(W.A.LEARN_MORE),h=t.formatMessage({id:"WATCH_NOW",defaultMessage:"Watch Now"}),f=t.formatMessage({id:"SELECT_DATE",defaultMessage:"Select Date"}),T=t.formatMessage({id:"DONE",defaultMessage:"Done"}),x=t.formatMessage({id:"FILTER_AND_SEARCH_HEADING",defaultMessage:"Filter & Search"}),C=t.formatMessage({id:"FILTERS_AND_SEARCH_WEBINAR",defaultMessage:"Filter and Search: Webinars"}),y=t.formatMessage({id:"FILTERS",defaultMessage:"Filters"}),S=t.formatMessage(W.A.SELECT_ALL),I=t.formatMessage(W.A.DESELECT_ALL),v=t.formatMessage({id:"ENTER_DATE_INVALID",defaultMessage:"Enter valid date"}),N=t.formatMessage({id:"START_DATE_INVALID",defaultMessage:"Start Date should be before End Date"}),M=t.formatMessage({id:"END_DATE_INVALID",defaultMessage:"End Date should be after Start Date"}),R=t.formatMessage({id:"PAGE",defaultMessage:"Page"}),j=t.formatMessage({id:"WEBINAR_PAGINATION",defaultMessage:"Showing {pageStart} - {pageEnd} of {numberOfPages} Results"}),P=t.formatMessage(W.A.CLEAR_ALL);return(0,n.jsx)(aq.default,{...e,translations:{upcoming:a,onDemand:i,session:r,presented:o,language:s,duration:l,appliedFilters:E,changeFilterCriteria:c,dateRangeEnd:u,dateRangeStart:p,done:T,facetLanguages:A,facetTopic:g,filterAndSort:x,filters:y,invalidDate:v,invalidEndDate:M,invalidStartDate:N,learnMore:_,watchNow:h,noSearchResults:d,selectDate:f,uncheckAll:m,selectAllFilters:S,deselectAllFilters:I,page:R,pagination:j,clearAll:P,filtersAndSearchWebinar:C}})});var aZ=a(90157);let aJ=(0,l.MapTo)("cms-commons/components/content/webinarsidebar")(e=>{let t=(0,b.A)(),a=t.formatMessage(t4.WEBINAR_DURATION_LABEL),i=t.formatMessage(W.A.LANGUAGE),r=t.formatMessage(t4.WEBINAR_PRESENTED_LABEL),o=t.formatMessage(t4.WEBINAR_SESSION_LABEL);return(0,n.jsx)(aZ.default,{...e,translations:{duration:a,language:i,presented:r,session:o}})});var aQ=a(14994),aX=a(54064);function a0(){let e=(0,ed._)(["\n query AEMDiscountedProducts($input: GetAEMDiscountedProductsInput!) {\n getAEMDiscountedProducts(input: $input) {\n products {\n ...DynamicProduct\n }\n }\n}\n ",""]);return a0=function(){return e},e}let a2={},a1=(0,ec.J1)(a0(),aX.z);var a4=a(76209),a8=a(84830);function a3(){let e=(0,ed._)(["\n query BestSellerProducts($input: GetBestSellerProductsInput!) {\n getBestSellerProducts(input: $input) {\n products {\n ...DynamicProduct\n }\n }\n}\n ",""]);return a3=function(){return e},e}let a6={},a5=(0,ec.J1)(a3(),aX.z);function a7(e){let t={...a6,...e};return ep.IT(a5,t)}let a9="Best Sellers",ne="New Arrivals",nt={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"},na={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"},nn={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"},ni=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}},nr={bestsellers:ni("homePageBestSellersAPI",m.HI.BestSellers,a9,tn.j.BestSellers),buyAgain:ni("biaHMAPI",m.HI.BiaHm,"Buy Again",tn.j.BuyAgain),newProducts:ni("newProductsAPI",m.HI.NewProducts,ne,tn.j.NewArrivals),popular_products:ni("homePagePopularProductsAPI",m.HI.PopularProducts,"Popular Products",tn.j.PopularProducts)};for(let e in nt)nr[e]=ni("appPageBestSellersAPI",m.HI[nt[e]],a9);for(let e in na)nr[e]=ni("appPageNewProductsAPI",m.HI[na[e]],ne);for(let e in nn)nr[e]=ni("catPageBestSellersAPI",m.HI[nn[e]],a9);let no=(0,p.A)(e=>({text:{display:"inline-block",marginLeft:e.spacing(4),[e.breakpoints.down("xs")]:{width:120}},button:{marginTop:e.spacing(4),marginBottom:e.spacing(4)},headline:{margin:e.spacing(10,0)},image:{[e.breakpoints.down("xs")]:{width:120}}})),ns=e=>{let{count:t=2,xsCount:a=1}=e,i=no(),r=(0,u.A)(),o=(0,g.A)(r.breakpoints.down("xs"));return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{children:(0,n.jsx)(to.A,{variant:"text",width:"100%",height:20,className:i.headline})}),(0,n.jsx)(tr.A,{mt:6,children:(0,n.jsx)(E.A,{container:!0,children:Array(o?a:t).fill({}).map((e,a)=>(0,n.jsxs)(E.A,{item:!0,sm:2===t?6:3,xs:12,children:[(0,n.jsxs)(E.A,{container:!0,children:[(0,n.jsx)(E.A,{item:!0,sm:6,xs:6,children:(0,n.jsx)(to.A,{variant:"rect",width:"100%",height:120,className:i.image})}),(0,n.jsxs)(E.A,{item:!0,sm:6,xs:6,children:[(0,n.jsx)(to.A,{variant:"text",width:"85%",height:20,className:i.text}),(0,n.jsx)(to.A,{variant:"text",width:"85%",height:20,className:i.text}),(0,n.jsx)(to.A,{variant:"text",width:"85%",height:20,className:i.text})]})]}),(0,n.jsx)(to.A,{variant:"rect",width:"95%",height:40,className:i.button})]},a))})})]})};var nl=a(46129),nd=a(50187);let nc=(0,p.A)(e=>({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("xs")]:{minHeight:"390px"},"& $title":{textTransform:"unset",letterSpacing:"normal",margin:e.spacing(0,0,10,0)}},title:{marginBottom:e.spacing(8),"$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",padding:e.spacing(0,2.5),borderRadius:"2px",backgroundColor:e.palette.error.main,color:e.palette.common.white,fontSize:e.typography.pxToRem(12),textAlign:"center",marginTop:e.spacing(1)},contentCondensed:{padding:0}})),np=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())}}):[],nu=(0,l.MapTo)("cms-commons/components/content/relatedproducts")(e=>{var t,a,r,o,s,l;let{products:p,title:E,hideProductImg:_=!1,cardsPerRotation:h,viewAllCTALink:f,viewAllText:T,cardType:x}=e,C=nc(),y=(0,e9.useRouter)(),b=(0,i.useRef)(null),{isBlueB2BUser:S,userIsLoggedIn:I}=(0,th.iZ)(),v=(0,u.A)(),N=(0,g.A)(v.breakpoints.up("md")),M=(0,g.A)(v.breakpoints.down("xs")),{userSession:R}=(0,tt.j)(),[j,P]=(0,i.useState)(!1),[L,B]=(0,i.useState)(!1),[O,F]=(0,i.useState)(!1),w=null==p?void 0:p.map(e=>(delete e.defaultSrc,{...e,catalogType:aQ.C.sial})),D="hero"===x,W="standard"===x,k=W&&!p.length&&I,U=W&&!p.length&&!I,H="default"===x,G=D||k||U,Y=N&&!!f&&!!T&&G,{data:z,loading:V}=(0,nd.Wo)({variables:{country:null==R?void 0:R.country},fetchPolicy:"network-only",skip:!(null==R?void 0:R.country)||H||k&&!L||D}),K=null!==(l=null==z?void 0:null===(t=z.getCountryDetails)||void 0===t?void 0:t.salesOrg)&&void 0!==l?l:"7950",{loading:q,error:$,data:Z}=(0,aN.HP)({variables:{productInputs:w},errorPolicy:"ignore",ssr:!1,skip:k||U||!(null==p?void 0:p.length)}),{data:Q,loading:X}=(0,a4.wJ)({variables:{dispType:m.HI.RecentlyViewedRchp,productKey:"",brand:"",...S?{erpType:a8.G.Blue}:{}},ssr:!1,fetchPolicy:"no-cache",skip:U||H||D}),{data:ee,loading:et}=function(e){let t={...a2,...e};return ep.IT(a1,t)}({variables:{input:{typeId:"AEMDiscountedProductsAPI",disp:K}},ssr:!1,fetchPolicy:"no-cache",skip:H||k&&!L||D||!K||V}),{loading:ea,data:en}=a7({ssr:!1,fetchPolicy:"network-only",variables:{input:{...S?{erpType:a8.G.Blue}:{},typeId:null===(a=nr.newProducts)||void 0===a?void 0:a.typeId,disp:null===(r=nr.newProducts)||void 0===r?void 0:r.disp}},skip:!j}),ei=null==ee?void 0:null===(o=ee.getAEMDiscountedProducts)||void 0===o?void 0:o.products.length,er=null==Q?void 0:null===(s=Q.getRecentlyViewedProducts)||void 0===s?void 0:s.products.length,eo=(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){eo(t,"auto","unset");let e=Math.max(...Array.from(t).map(e=>e.offsetHeight));eo(t,"".concat(e,"px"),"absolute")}let a=b&&b.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 r=null==i?void 0:i.clientHeight,o=null==a?void 0:a.offsetHeight;r?o&&r{F(q||X||et||ea||V)},[q,X,et,ea,V]),(0,i.useEffect)(()=>{ee&&!ei&&P(!0)},[ee]),(0,i.useEffect)(()=>{Q&&!er&&B(!0)},[Q]),(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"),M&&es()},[Z,Q,ee,O]),(0,i.useEffect)(()=>(window.addEventListener("resize",es),()=>{window.removeEventListener("resize",es)}),[]);let el=(()=>{var e,t,a,n,i,r;return Z&&(null==Z?void 0:null===(e=Z.getMultipleProductDetails)||void 0===e?void 0:e.length)?np(Z.getMultipleProductDetails.filter(Boolean)):Q&&(null===(t=Q.getRecentlyViewedProducts)||void 0===t?void 0:t.products.length)?np(null===(n=Q.getRecentlyViewedProducts)||void 0===n?void 0:n.products):ee&&ei?np(null===(i=ee.getAEMDiscountedProducts)||void 0===i?void 0:i.products):en&&(null===(a=en.getBestSellerProducts)||void 0===a?void 0:a.products.length)?np(null===(r=en.getBestSellerProducts)||void 0===r?void 0:r.products):[]})(),ed=()=>D?J.j2.PRODUCT_HERO_CARD:W?I?L?J.j2.DISCOUNTED_PRODUCTS:J.j2.RECENTLY_VIEWED_PRODUCTS:j?J.j2.NEW_ARRIVALS_PRODUCTS:J.j2.DISCOUNTED_PRODUCTS:J.j2.RELATED_PRODUCTS;if((0,i.useEffect)(()=>{if(!el||!el.length)return;let e=ed(),t=()=>{sessionStorage.removeItem(e)};return y.events.on("routeChangeStart",t),()=>{y.events.off("routeChangeStart",t)}},[el]),O)return(0,n.jsx)(ns,{count:G?2:4});if($)return console.error($),null;let ec=el&&(null==el?void 0:el.length)>0&&Array.isArray(el);return $&&!ec&&p&&0===p.length?(0,n.jsxs)("div",{className:C.error,children:[(0,n.jsx)(aI.default,{}),(0,n.jsx)("span",{children:(0,n.jsx)(c.A,{id:"SOMETHING_WENT_WRONG_TEXT",defaultMessage:"Something went wrong, please try again."})})]}):ec?(0,n.jsxs)("div",{id:"aem-related-products",className:(0,d.A)({[C.heroProductVWrapper]:G,[C.wrapperPaddingBottom]:!Y&&G,heroWrapperDiv:G}),ref:G?b:null,children:[(0,n.jsx)(e7.A,{title:E?I?L?(0,n.jsx)(A.A,{variant:"h3",className:C.title,children:(0,n.jsx)(c.A,{id:"TOP_DEALS",defaultMessage:"Top Deals"})}):(0,n.jsx)(A.A,{variant:G?"h3":"h2",className:C.title,dangerouslySetInnerHTML:{__html:e2().sanitize(null!=E?E:"")}}):j?(0,n.jsx)(A.A,{variant:"h3",className:C.title,children:(0,n.jsx)(c.A,{id:"NEW_ARRIVALS",defaultMessage:"New Arrivals"})}):(0,n.jsx)(A.A,{variant:G?"h3":"h2",className:C.title,dangerouslySetInnerHTML:{__html:e2().sanitize(null!=E?E:"")}}):(0,n.jsx)(n.Fragment,{}),type:D?tn.j.HeroCard:W?I?L?tn.j.TopDeals:tn.j.RecentlyViewed:j?tn.j.NewArrivals:tn.j.TopDeals:tn.j.RelatedProducts,products:el,productHeroCard:G,hideProductImg:_,withoutControls:N&&el.length<=h,displayDiscount:e=>e?(0,n.jsx)("div",{className:C.discount,children:(0,n.jsx)(c.A,{id:"DISCOUNT_PERCENTAGE",defaultMessage:"{discountPercent}% off",values:{discountPercent:e}})}):null,analyticsPageName:"homepage",analyticsPageDetails:"homepage"}),Y&&(0,n.jsx)(nl.N,{href:f,className:C.viewAll,children:T})]}):null});function nm(){let e=(0,ed._)(["\n query BestSellerProductsByRegion($input: GetBestSellerProductsByRegionInput!) {\n getBestSellerProductsByRegion(input: $input) {\n products {\n ...DynamicProduct\n }\n }\n}\n ",""]);return nm=function(){return e},e}let ng={},nA=(0,ec.J1)(nm(),aX.z);function nE(e){let t={...ng,...e};return ep.IT(nA,t)}let n_=(0,p.A)(e=>({carouselWrapper:{[e.breakpoints.down("xs")]:{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}})),nh=(0,l.MapTo)("cms-commons/components/content/productRecommendationCarousel")(e=>{var t,a,r,o,s,l,d,c,p;let{typeId:u,headline:m}=e,g=n_(),{formatMessage:A}=(0,b.A)(),{isBlueB2BUser:E,userId:_,userIsLoggedIn:h}=(0,th.iZ)(),{userSession:f}=(0,tt.j)(),{isBuyAgainEmpty:T,setIsBuyAgainEmpty:x}=(0,i.useContext)(tf),{setShowHorizontaltabLoader:C}=(0,i.useContext)(tf),{getCountryProp:y}=(0,ta.Y)(),[S,I]=(0,i.useState)([]),v="buyAgain"===u,N="bestsellers"===u,M="popular_products"===u,R=(null===(t=nr[u])||void 0===t?void 0:t.typeId)==="catPageBestSellersAPI",j=function(){var e,t;let a=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=y(f.country,"regionCode"),i=a&&(null===(e=nr[u])||void 0===e?void 0:e.disp)?"".concat(null===(t=nr[u])||void 0===t?void 0:t.disp,"_"):"";return"".concat(i).concat({AP:"APAC",EU:"EMEA",AF:"EMEA",SA:"LATAM"}[n]||n)},{loading:P,error:L,data:B}=a7({ssr:!1,fetchPolicy:"network-only",variables:{input:{...E?{erpType:a8.G.Blue}:{},typeId:null===(a=nr[u])||void 0===a?void 0:a.typeId,disp:null===(r=nr[u])||void 0===r?void 0:r.disp,...v?{participant_id:_}:{}}},skip:N||M||v&&!h||R}),{data:O,loading:F,error:w}=nE({variables:{input:{typeId:nr.popular_products.typeId,disp:nr.popular_products.disp}},ssr:!1,fetchPolicy:"network-only",skip:!T}),{data:D,loading:W,error:k}=nE({variables:{input:{typeId:(()=>{var e;let t="";return(N||M||R)&&(t=(null===(e=nr[u])||void 0===e?void 0:e.typeId)||""),t})(),disp:(()=>{var e;let t="";return(N||R)&&(t=R?j(!0):j()),M&&(t=(null===(e=nr[u])||void 0===e?void 0:e.disp)||""),t})()}},ssr:!1,fetchPolicy:"network-only",skip:!(N||M&&!h||R)});if((0,i.useEffect)(()=>{var e,t;!B||(null==B?void 0:null===(t=B.getBestSellerProducts)||void 0===t?void 0:null===(e=t.products)||void 0===e?void 0:e.length)||!v||x(!0)},[B]),(0,i.useEffect)(()=>{var e,t,a,n,i,r,o;B&&(null===(e=B.getBestSellerProducts)||void 0===e?void 0:e.products.length)&&I(null==B?void 0:null===(i=B.getBestSellerProducts)||void 0===i?void 0:null===(n=i.products)||void 0===n?void 0:n.filter(Boolean)),D&&(null===(t=D.getBestSellerProductsByRegion)||void 0===t?void 0:t.products.length)&&I(null==D?void 0:null===(r=D.getBestSellerProductsByRegion)||void 0===r?void 0:r.products),O&&(null===(a=O.getBestSellerProductsByRegion)||void 0===a?void 0:a.products.length)&&I(null==O?void 0:null===(o=O.getBestSellerProductsByRegion)||void 0===o?void 0:o.products)},[B,D,O]),(0,i.useEffect)(()=>{C(P||W||F)},[P,W,F]),P||W||F)return(0,n.jsx)(ns,{count:4});if(L||k||w)return console.error(L||k||w),(0,n.jsxs)("div",{className:g.error,children:[(0,n.jsx)(aI.default,{}),(0,n.jsx)("span",{children:"Something went wrong, please try again."})]});if((null==B?void 0:null===(s=B.getBestSellerProducts)||void 0===s?void 0:null===(o=s.products)||void 0===o?void 0:o.length)&&(null==D?void 0:null===(d=D.getBestSellerProductsByRegion)||void 0===d?void 0:null===(l=d.products)||void 0===l?void 0:l.length)&&(null==O?void 0:null===(c=O.getBestSellerProductsByRegion)||void 0===c?void 0:c.products.length))return null;if(S&&(null==S?void 0:S.length)>0&&Array.isArray(S)){let e=v&&T;return(0,n.jsx)("div",{id:"aem-recommended-products-".concat(null===(p=nr[u])||void 0===p?void 0:p.disp),className:g.carouselWrapper,children:(0,n.jsx)(e7.A,{title:((e,t)=>e&&t?A({id:"POPULAR_PRODUCTS",defaultMessage:"Popular Products"}):e||(0,n.jsx)(n.Fragment,{}))(m,e),type:((e,t)=>{var a,n,i,r;return t?tn.j.PopularProducts:(null==nr?void 0:null===(a=nr[e])||void 0===a?void 0:a.carouselProductType)||(null==nr?void 0:null===(r=nr[e])||void 0===r?void 0:null===(i=r.disp)||void 0===i?void 0:null===(n=i.toLowerCase())||void 0===n?void 0:n.replace(/[-_]/g," "))})(u,e),products:S,analyticsPageName:R?"categorypage":"homepage",analyticsPageDetails:R?"categorypage":"homepage",isProductRecommendation:!0})})}return null});var nf=a(99220),nT=a(34415);let nx=(0,nf.n9)()(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}})),nC=(0,l.MapTo)("cms-commons/components/content/textbanner")(e=>{let{textBannerDescription:t}=e,{classes:a}=nx(),r=(0,v.rd)(),o=(0,u.A)(),[s,l]=(0,i.useState)(null!=t?t:""),[c,p]=(0,i.useState)(""),{userIsLoggedIn:m}=(0,th.iZ)(),[A,E]=(0,i.useState)(!1),[_,h]=(0,i.useState)(!1),[f,T]=(0,i.useState)(""),x=(0,g.A)(o.breakpoints.down("xs")),[C,y]=(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")||"",o=i;a?m?E(!1):(o="".concat(i,"?redirect=").concat(encodeURIComponent(r.asPath||v.xn.index()),"&icid=sign_in_prompt;body;banner;link"),E(!0),h(!0),T(o),p(o)):(E(!0),p(i));let s=document.createElement("a"),d=(null===(n=t.textContent)||void 0===n?void 0:n.trim())||"",c=e.innerHTML.replace(/(<([^>]+)>)/gi,"").replace(/[^\w\s,&]/gi,"").toLowerCase(),u={"data-element_text":d.replace(/[^\w\s]/gi,"").toLowerCase(),"data-element_type":"link","data-component":"text banner","data-section":c,"data-detail":(0,N.fF)(r.asPath)?"homepage cta":r.asPath,"data-event":"ga4-cta"};Object.entries(u).forEach(e=>{let[t,a]=e;s.setAttribute(t,a)}),y(u),s.setAttribute("href",o),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 b=(0,n.jsx)("div",{className:(0,d.A)(a.textWrapper,A&&a.displayBanner,!_&&a.promotionsBanner),children:(0,n.jsx)("span",{className:a.customLinkStyles,dangerouslySetInnerHTML:{__html:e2().sanitize(s)}})});return(0,n.jsx)(n.Fragment,{children:x&&_?(0,n.jsx)(q.N,{href:f,passHref:!0,children:(0,n.jsx)(nT.A,{...C,children:(0,n.jsx)("div",{className:(0,d.A)(a.textWrapper,A&&a.displayBanner),children:(0,n.jsx)("span",{className:a.customLinkStyles,dangerouslySetInnerHTML:{__html:e2().sanitize(s)}})})})}):c?(0,n.jsx)(q.N,{href:c,passHref:!0,children:(0,n.jsx)(nT.A,{...C,children:b})}):b})});var ny=a(91326);let nb=(0,l.MapTo)("cms-commons/components/content/horizontaltab")((e=>{let t=t=>{let{userIsLoggedIn:a}=(0,th.iZ)(),{isBuyAgainEmpty:r,showHorizontaltabLoader:o}=(0,i.useContext)(tf),s=(0,b.A)().formatMessage({id:"POPULAR_PRODUCTS",defaultMessage:"Popular Products"});return(0,n.jsx)(e,{userIsLoggedIn:a,isBuyAgainEmpty:r,translations:{popularProducts:s},showHorizontaltabLoader:o,...t})};return t.displayName="HorizontalTabHOC",t})(ny.default));var nS=a(44624);let nI=(0,p.A)(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),"px")}},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-child":{"& ul":{marginBottom:0,"& li":{margin:0,"& > a":{margin:0}}}}},lastColFirstLevel:{marginTop:e.spacing(6),[e.breakpoints.up("md")]:{marginTop:e.spacing(8)}}})),nv=(0,l.MapTo)("cms-commons/components/content/sitemap")(e=>{var t,a,i,r;let{headline:o,anchorId:s}=e,l=nI(),{loading:c,data:p}=(0,nS.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),{}),A=null!==(r=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!==r?r:[];return c?(0,n.jsxs)("div",{id:s,children:[(0,n.jsx)(to.A,{width:"100%",variant:"rect",height:150,animation:"wave"}),(0,n.jsx)(to.A,{width:"50%"}),(0,n.jsx)(to.A,{width:"50%"})]}):(0,n.jsxs)("div",{id:s,children:[o&&(0,n.jsx)("h1",{children:o}),A&&A.map((e,t)=>{var a,i;return(0,n.jsxs)("div",{className:l.wrapSitemap,children:[u&&(0,n.jsx)("h2",{dangerouslySetInnerHTML:{__html:e2().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:e2().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:e2().sanitize(e.title)}})},"link-L3-".concat(t)))})]},"colSitemap-L3-".concat(t))})}),(0,n.jsxs)("div",{className:(0,d.A)(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:e2().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:(0,d.A)(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:e2().sanitize(e.title)}})},"link-L1-".concat(t)))})},"colSitemap-L1-".concat(t))})]})]})]},"wrap-".concat(t))})]})});var nN=a(90744),nM=a(61893),nR=a(82440),nj=a.n(nR),nP=a(3635),nL=a(86649);let nB=(0,p.A)(e=>({imageHeight:{position:"relative",background:"transparent",width:"35px",height:"35px",marginLeft:"auto",marginRight:"auto",textAlign:"end",[e.breakpoints.down("xs")]:{width:"32px",height:"32px",marginBottom:e.spacing(4)}},imgResponsive:{width:"100%",objectFit:"cover"}})),nO=e=>{let{cardImageAltTxt:t,cardImageReference:a,cardImageTitle:i,title:r,untransformedUrl:o}=e,s=null!=o?o:"",l="/deepweb/assets/sigmaaldrich/marketing/global/images/default/default-link-image/default-link-image.png",d=nB();return(0,n.jsx)(n.Fragment,{children:s?(0,n.jsx)(q.N,{..."string"==typeof s?{href:s}:s,passHref:!0,children:(0,n.jsx)(nT.A,{color:"primary",onClick:()=>(0,N.tg)({action:"shortcut click",detail:r.toLowerCase()||void 0,section:"shortcuts",component:"body",elementType:"icon",elementText:r.toLowerCase()||void 0,linkUrl:o||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=e2().sanitize(e);return(0,nL.Ay)(t)})(r)})]})})}):(0,n.jsx)(nT.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:r})]})})})},nF=[{title:"Orders",cardImageReference:"/deepweb/assets/sigmaaldrich/marketing/global/images/icons/orders-new.svg",cardImageTitle:"Orders",cardImageAltTxt:"Orders icon of a calendar invite",untransformedUrl:"/order-center/orders",externalLink:!1,url:"/order-center/orders"},{title:"Quotes",cardImageReference:"/deepweb/assets/sigmaaldrich/marketing/global/images/icons/quotes.svg",cardImageTitle:"Quotes",cardImageAltTxt:"Quote Icon of a price tag",untransformedUrl:"/order-center/quotes",externalLink:!1,url:"/order-center/quotes.html"},{title:"Quick Order",cardImageReference:"/deepweb/assets/sigmaaldrich/marketing/global/images/icons/quick-order-new.svg",cardImageTitle:"Quick Order",cardImageAltTxt:"Quick Order Icon",untransformedUrl:"/quick-order",externalLink:!1,url:"/quick-order"},{title:"Oligos & qPCR Probes",cardImageReference:"/deepweb/assets/sigmaaldrich/marketing/global/images/icons/oligos-new.svg",cardImageTitle:"Oligos, qPCR Probes & Peptides",cardImageAltTxt:"Oligos, qPCR Probes & Peptides Icon",untransformedUrl:"/products/molecular-biology-and-functional-genomics/oligos-and-qpcr-probes",externalLink:!1,url:"/products/molecular-biology-and-functional-genomics/oligos-and-qpcr-probes"},{title:"Invoices",cardImageReference:"/deepweb/assets/sigmaaldrich/marketing/global/images/icons/invoices-new.svg",cardImageTitle:"Invoices",cardImageAltTxt:"Invoices Icon",untransformedUrl:"/order-center/invoice-list",externalLink:!1,url:"/order-center/invoice-list"},{title:"Document Library",cardImageReference:"/deepweb/assets/sigmaaldrich/marketing/global/images/icons/document-library-new.svg",cardImageTitle:"Document Library",cardImageAltTxt:"Document Library Icon",untransformedUrl:"/docs",externalLink:!1,url:"/docs"},{title:"Saved Carts",cardImageReference:"/deepweb/assets/sigmaaldrich/marketing/global/images/icons/saved-carts.svg",cardImageTitle:"Saved Carts",cardImageAltTxt:"Saved cart icon of a shopping carat",untransformedUrl:"/order-center/saved-carts",externalLink:!1,url:"/order-center/saved-carts.html"},{title:"Account",cardImageReference:"/deepweb/assets/sigmaaldrich/marketing/global/images/icons/account.svg",cardImageTitle:"Account",cardImageAltTxt:"Account icon of an outline of a person's head",untransformedUrl:"/order-center/account",externalLink:!1,url:"/order-center/account.html"},{title:"Support",cardImageReference:"/deepweb/assets/sigmaaldrich/marketing/global/images/icons/support.svg",cardImageTitle:"Support",cardImageAltTxt:"Support icon of a headset",untransformedUrl:"/US/en/support/customer-support",externalLink:!1,url:"/US/en/support/customer-support"},{title:"Lists",cardImageReference:"/deepweb/assets/sigmaaldrich/marketing/global/images/icons/lists.svg",cardImageTitle:"Lists",cardImageAltTxt:"List icon of a list with plus sign",untransformedUrl:"/order-center/lists",externalLink:!1,url:"/order-center/lists.html"},{title:"Buy It Again",cardImageReference:"/deepweb/assets/sigmaaldrich/marketing/global/images/icons/buy-it-again-new.svg",cardImageTitle:"Buy It Again",cardImageAltTxt:"Buy It Again icon",untransformedUrl:"/order-center/buy-it-again",externalLink:!1,url:"/order-center/buy-it-again"}],nw=(0,p.A)(e=>({welcomeWrapper:{marginBottom:"".concat(e.spacing(8),"px"),marginTop:"".concat(e.spacing(8),"px"),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("xs")]:{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("xs")]:{border:"0 none",boxShadow:"none",padding:0}},wrapper:{[e.breakpoints.down("xs")]:{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("xs")]:{display:"none"}},rightNavButton:{right:"-15px",[e.breakpoints.down("xs")]:{display:"none"}},navArrow:{fontSize:e.typography.pxToRem(28),color:e.palette.secondary.main},navArrowDisabled:{color:e.palette.text.disabled},emptyCarousel:{height:"50px"}})),nD=(0,l.MapTo)("cms-commons/components/content/userEngageCarousel")(e=>{let{items:t,cardsPerRotation:a,autoplay:i=!1,delay:r,autopauseDisabled:o,anchorId:s,shadow:l}=e,p=nw(),m=(0,u.A)(),{currentUser:A}=(0,th.iZ)(),E=(0,g.A)(m.breakpoints.down("md")),_=(0,g.A)(m.breakpoints.up("md")),[h]=(0,nP.useDecision)("wabt-215"),f=[...t];h&&h.enabled&&"v1"===h.variationKey&&(f=[...nF]);let T=0;return E&&!_?T=3.5:_&&(T=null!=a?a:6),(0,n.jsxs)("div",{id:s,className:"aem-ms-cmp aem-ms-userEngage-carousel ".concat(p.wrapper),children:[(null==A?void 0:A.firstName)&&(0,n.jsxs)("div",{className:p.welcomeWrapper,children:[(0,n.jsx)(c.A,{id:"WELCOME",defaultMessage:"Welcome"})," ",null==A?void 0:A.firstName]}),(0,n.jsx)("div",{className:(0,d.A)(p.caroselWrapper,l&&p.caroselWrapperShadow),children:(0,n.jsx)(nj(),{autoplay:i,autoplayInterval:r,pauseOnHover:!o,slidesToShow:T,slidesToScroll:T,cellSpacing:_?32:8,dragging:!_,renderCenterLeftControls:e=>{let t=0===e.currentSlide;return f&&f.length>a?(0,n.jsx)(S.A,{className:p.leftNavButton,disabled:t,onClick:()=>e.previousSlide(),"aria-label":"previous",children:(0,n.jsx)(nN.default,{className:(0,d.A)(p.navArrow,t&&p.navArrowDisabled)})}):null},renderBottomCenterControls:null,renderCenterRightControls:e=>{let t=e.currentSlide+e.slidesToShow>=e.slideCount||e.currentSlide>=e.slideCount-1;return f&&f.length>a?(0,n.jsx)(S.A,{className:p.rightNavButton,disabled:t,onClick:()=>e.nextSlide(),"aria-label":"next",children:(0,n.jsx)(nM.default,{className:(0,d.A)(p.navArrow,e.slidesToScroll,t&&p.navArrowDisabled)})}):null},children:f&&f.length>0&&Array.isArray(f)?f.map((e,t)=>(0,n.jsx)("div",{className:p.itemWrapper,children:T?(0,n.jsx)(nO,{...e}):(0,n.jsx)("div",{className:p.emptyCarousel})},t)):null})})]})});var nW=a(63383),nk=a(18483),nU=a(87218),nH=a(41318),nG=a(4098),nY=a(28094);let nz=e=>{let{onClose:t,onDismiss:a,open:r,toolType:o}=e,{formatMessage:s}=(0,b.A)(),l=nH.v[o],[d]=(0,nG.B)(),c=(0,nY.O)(),p="antibody"===o,u=(0,au.S)()?"network-only":"cache-first",{data:g,refetch:A}=(0,tM.le)({fetchPolicy:u,variables:{searchTerm:o,page:1,group:m.RL.Substance,selectedFacets:[{key:"facet_product_category",options:["antibodies"]}],sort:m.FU.Relevance,type:m.mI.Product,filter:c}}),{facets:E=[]}=(null==g?void 0:g.getProductSearchResults)||{},_=(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==E?void 0:E.find(t=>t.key===e.key);return{...n||{},...e,label:s(nU.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:[]}})},[E,l]),h=(0,i.useCallback)((e,t)=>{var a;let n=[...Array.isArray(t)?t:[],...p?["facet_product_category:antibodies"]:[]],i=e||o;d({},i,n);let r={};null==t||t.forEach(e=>{let[t,a]=e.split(":");r[t]?r[t].push(a):r[t]=[a]}),(0,N.e_)({action:"show antibody products",detail:"antigen/antibody name : ".concat(i," > clonality : ").concat(r.facet_clonality||""," > technique : ").concat(r.facet_web_titertest_app||""," > species reactivity : ").concat(r.facet_web_species_reactivity||""," > conjugate : ").concat((null==r?void 0:null===(a=r.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,{},o]),f=(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]}}),A({searchTerm:o,page:1,group:m.RL.Substance,selectedFacets:[...Object.values(t),{key:"facet_product_category",options:["antibodies"]}],sort:m.FU.Relevance,type:m.mI.Product,filter:c})},[]);return(0,n.jsx)(nk.G,{onClose:t,onDismiss:a,onFetchNewFacets:f,onSearchClick:h,open:r,selectorDescription:s(nU.A[l.description]),selectorTitle:s(nU.A[l.title]),selectorToolFacets:_,textFieldSearchLabel:s(nU.A[l.searchLabel])})};var nV=a(4339),nK=a(69842);let nq=(0,l.MapTo)("cms-commons/components/content/productselector")(e=>{let{selectorType:t}=e,[a,r]=(0,i.useState)(!1),o="antibody"===t&&a,s="filtration"===t&&a,l="filtration"===t?nV.m.millex:nV.m.aemPageAntibody,d=(0,nV.r)(l,{productId:"",productKey:"",productBrandKey:"",productName:""}),c=(0,i.useCallback)(e=>{r(!0),(0,N.e_)(d[e])},[a,d]),p=(0,i.useCallback)(e=>{r(!1),(0,N.e_)(d[e])},[a,d]);return(0,n.jsxs)(n.Fragment,{children:[("antibody"===t||"filtration"===t)&&(0,n.jsx)(nW.j,{onButtonClick:()=>c("open button"),onLinkClick:()=>c("open link"),isAemPageProductSelector:!0}),o&&(0,n.jsx)(nz,{onClose:()=>p("close"),onDismiss:()=>p("ignore"),open:!0,toolType:"antibody"}),s&&(0,n.jsx)(nK.j,{onClose:()=>p("close"),onDismiss:()=>p("ignore"),open:!0,toolType:"millex"})]})});var n$=a(68026),nZ=a(96707),nJ=a(79965),nQ=a(23319);function nX(){let e=(0,ed._)(["\n query WebinarsLearningCenter($path: String!) {\n getWebinarsLearningCenter(path: $path) {\n pagePath\n title\n description\n summary\n url\n duration\n speakers {\n speakerBio\n name\n title\n company\n image {\n src\n alt\n widths\n linkUrl\n title\n externalUrl\n }\n }\n sessions {\n sessionUrl\n timestamp\n timezone\n }\n primaryCategory\n primarySubCategory\n upcoming\n language\n category\n }\n}\n "]);return nX=function(){return e},e}let n0={},n2=(0,ec.J1)(nX()),n1=()=>{let{userSession:e}=(0,tt.j)(),{country:t,language:a}=e,i=(0,b.A)(),r=(0,v.rd)(),o=i.formatMessage({id:"WEBINAR_SESSION_LABEL",defaultMessage:"Session"}),s=i.formatMessage({id:"WEBINAR_PRESENTED_LABEL",defaultMessage:"Presented"}),l=i.formatMessage({id:"LANGUAGE",defaultMessage:"Language"}),d=i.formatMessage({id:"WEBINAR_DURATION_LABEL",defaultMessage:"Duration"}),c=i.formatMessage({id:"LEARN_MORE",defaultMessage:"Learn More"}),{data:p,error:u}=function(e){let t={...n0,...e};return ep.IT(n2,t)}({variables:{path:"/".concat(t,"/").concat(a,"/collections/webinars")}});return(0,n.jsx)(nQ.default,{fetchedWebinars:null==p?void 0:p.getWebinarsLearningCenter,translations:{session:o,presented:s,languageLabel:l,duration:d,learnMore:c},error:null==u?void 0:u.message,urlPath:r.asPath})};var n4=a(10981),n8=a(92885);function n3(){let e=(0,ed._)(["\n fragment ErrorMsg on ErrorMsg {\n key\n hideReplacementProductLink\n displaySimilarProductLabel\n replacementProduct\n hideTechnicalServiceLink\n sapMessages\n paramList\n}\n "]);return n3=function(){return e},e}function n6(){let e=(0,ed._)(["\n fragment AlternateMaterials on AlternateMaterials {\n material\n description\n productNumber\n brand\n}\n "]);return n6=function(){return e},e}function n5(){let e=(0,ed._)(["\n fragment ProductInfo on ProductInfo {\n productNumber\n messageType\n message\n}\n "]);return n5=function(){return e},e}function n7(){let e=(0,ed._)(["\n fragment AvailabilityOverwriteMessage on AvailabilityOverwriteMessage {\n messageKey\n messageValue\n messageVariable1\n messageVariable2\n messageVariable3\n}\n "]);return n7=function(){return e},e}function n9(){let e=(0,ed._)(["\n fragment SupplementaryMessage on SupplementaryMessage {\n messageKey\n messageValue\n messageVariable1\n messageVariable2\n messageVariable3\n validFrom\n validTo\n}\n "]);return n9=function(){return e},e}function ie(){let e=(0,ed._)(["\n fragment ContactInfo on ContactInfo {\n salesOfficeCode\n storeId\n typeId\n contactEmail\n typeName\n contactPhone\n contactFax\n contactMail\n}\n "]);return ie=function(){return e},e}function it(){let e=(0,ed._)(["\n fragment AvailabilityMsg on AvailabilityMsg {\n primaryMsg {\n key\n quantity\n date\n plantLoc\n }\n secondaryMsg {\n key\n quantity\n date\n plantLoc\n }\n displayFromLink\n promotionalMessage {\n ...AvailabilityOverwriteMessage\n }\n supplementaryMessage {\n ...SupplementaryMessage\n }\n availabilityOverwriteMessage {\n ...AvailabilityOverwriteMessage\n }\n contactInfo {\n ...ContactInfo\n }\n displayInquireLink\n}\n ","\n","\n",""]);return it=function(){return e},e}function ia(){let e=(0,ed._)(["\n fragment PricingAvailabilityItems on PricingAvailabilityItem {\n product\n materialNumber\n materialId\n packageSize\n packageType\n packaging\n materialDescription\n brand\n type\n quantity\n currency\n listPriceCurrency\n listPrice\n netPrice\n price\n pricePerUom\n leadTime\n itemId\n extItemNum\n isPBAvailable\n isSameDayShippingAvailable\n isQuotePriceItem\n eligibleForBuyItNow\n productHierarchy\n vendorSKU\n minOrderQuantity\n productGroupSBU\n isFreeFreight\n materialName\n isBlockedProduct\n commodityCode\n hidePriceMessageKey\n pricingDisplay\n expirationDate\n dchainCode\n marketplace_offer_id\n marketplace_seller_id\n additionalInfo {\n ...AdditionalInfo\n }\n availabilityMsg {\n ...AvailabilityMsg\n }\n availableQtyInStock\n}\n ","\n",""]);return ia=function(){return e},e}function ii(){let e=(0,ed._)(["\n fragment PricingAndAvailabilityModelFields on PricingAndAvailabilityModel {\n product\n errorMsg {\n ...ErrorMsg\n }\n hideAddToCart\n dchainMessage\n alternateMaterials {\n ...AlternateMaterials\n }\n productInfo {\n ...ProductInfo\n }\n items {\n ...PricingAvailabilityItems\n }\n}\n ","\n","\n","\n",""]);return ii=function(){return e},e}function ir(){let e=(0,ed._)(["\n fragment DiscoPromoItemsPricingAvailabilityDetails on PromoItemsPricingAvailabilityResponse {\n country\n dealerId\n pricingAndAvailabilityModels {\n ...PricingAndAvailabilityModelFields\n }\n}\n ",""]);return ir=function(){return e},e}let io=(0,ec.J1)(n3()),is=(0,ec.J1)(n6()),il=(0,ec.J1)(n5()),id=(0,ec.J1)(n7()),ic=(0,ec.J1)(n9()),ip=(0,ec.J1)(ie()),iu=(0,ec.J1)(it(),id,ic,ip),im=(0,ec.J1)(ia(),n8.GN,iu),ig=(0,ec.J1)(ii(),io,is,il,im),iA=(0,ec.J1)(ir(),ig);function iE(){let e=(0,ed._)(["\n query DiscoPromoItemsPricingAvailability($productDetails: [PromoItemPricingAvailabilityInput!]!) {\n getPromoItemsPricingAvailability(input: {productDetails: $productDetails}) {\n ...DiscoPromoItemsPricingAvailabilityDetails\n }\n}\n ",""]);return iE=function(){return e},e}let i_={},ih=(0,ec.J1)(iE(),iA);var iT=a(78248);function ix(){let e=(0,ed._)(["\n query DiscoPromoItems($input: PromoItemsRequestInput!) {\n getPromoItems(input: $input) {\n items {\n itemIdentifier\n }\n totalPages\n currentPage\n pageSize\n message\n }\n}\n "]);return ix=function(){return e},e}let iC={},iy=(0,ec.J1)(ix());var ib=a(49794),iS=a(44348),iI=a(7339),iv=a(2639),iN=a(18107),iM=a(60755),iR=a(46347),ij=a(36382),iP=a(95722),iL=a(75878),iB=a(90079);let iO=(0,p.A)(e=>({addToCartButton:{minWidth:e.typography.pxToRem(136)},loadingIcon:{position:"absolute",top:"10%",left:"50%",marginLeft:"-20px",zIndex:1},addToCartLoading:{color:e.palette.primary.main}}));var iF=function(e){return e.Contained="contained",e.Outlined="outlined",e}({}),iw=function(e){return e.Primary="primary",e.Secondary="secondary",e}({});let iD=e=>{let{size:t,variant:a,color:i,isSubmitting:r,fullWidth:o,handleAddToCart:s,addToCartButtonClass:l,dirty:p,disabled:m}=e,A=iO(),E=(0,u.A)(),_=!0===(0,g.A)(E.breakpoints.up("md"),{defaultMatches:!0});return(0,n.jsxs)(h.A,{size:t||(_?"medium":"large"),type:"submit",variant:a,color:i,fullWidth:o,disabled:r||!p||m,onClick:s,className:l||A.addToCartButton,"data-testid":"add-to-cart-button",id:"add-to-cart-button",children:[r&&(0,n.jsx)(iB.A,{size:30,className:(0,d.A)(A.addToCartLoading,A.loadingIcon)}),(0,n.jsx)(c.A,{id:"ADD_TO_CART",defaultMessage:"Add to Cart"})]})},iW=(0,p.A)(e=>({materialNumberText:{fontSize:e.typography.pxToRem(14)},emptyCell:{[e.breakpoints.up("md")]:{width:"13%",minWidth:120}},sku:{[e.breakpoints.up("md")]:{width:"22%",minWidth:180,borderTop:"1px solid ".concat(e.palette.grey[400])}},packSize:{[e.breakpoints.up("md")]:{width:"17%",borderTop:"1px solid ".concat(e.palette.grey[400])}},priceText:{width:"18%",textAlign:"center",borderTop:"1px solid ".concat(e.palette.grey[400])},tCell:{verticalAlign:"middle"},quantityText:{width:"15%",textAlign:"center",borderTop:"1px solid ".concat(e.palette.grey[400])},qtyInput:{fontSize:e.typography.pxToRem(14),height:32,maxWidth:e.typography.pxToRem(102.5),minWidth:e.typography.pxToRem(102.5),"& svg":{fill:e.palette.primary.main}},addToCartButtonCell:{width:"15%",borderTop:"1px solid ".concat(e.palette.grey[400])},addToCartButton:{width:"189px",minWidth:"144px",padding:e.spacing(2,8),textAlign:"end",margin:e.spacing(2,2,2,0),lineHeight:"24px",height:"40px"}})),ik=e=>{var t,a,r;let{index:o,material:s,submitForm:l,isSubmitting:p,dirty:u,setFieldValue:m,values:g,dchainMessage:E}=e,_=iW(),[h,f]=(0,i.useState)(!1);(0,i.useEffect)(()=>{null===E&&(null==s?void 0:s.availableQtyInStock)===null&&Object.keys(g).forEach(e=>{m(e,{...g[e],quantity:"1"})})},[]);let T=null!==(t=s.listPrice)&&void 0!==t?t:s.price,C=null!==(a=s.listPriceCurrency)&&void 0!==a?a:s.currency;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(iM.A,{className:_.emptyCell}),(0,n.jsx)(iM.A,{className:_.sku,children:(0,n.jsx)(A.A,{component:"span",className:_.materialNumberText,dangerouslySetInnerHTML:{__html:null==s?void 0:s.materialNumber}})}),(0,n.jsx)(iM.A,{className:_.packSize,children:(0,n.jsx)(x.A,{value:null==s?void 0:s.packageSize})}),(0,n.jsx)(iM.A,{className:_.priceText,children:null!=T?(0,n.jsx)(M.Gr,{style:"currency",currencyDisplay:"symbol",currency:C,value:T}):(0,n.jsx)(c.A,{id:"UNAVAILABLE",defaultMessage:"Unavailable"})}),(0,n.jsx)(iM.A,{className:(0,d.A)(_.tCell,_.quantityText),children:(0,n.jsx)(nZ.A,{children:s.minOrderQuantity&&s.minOrderQuantity>1?(0,n.jsx)(aD.D0,{name:"".concat(o,".quantity"),component:iP.A,className:_.qtyInput,"data-testid":"P&A-row-quantity-".concat(s.brand,"-").concat(s.materialNumber),id:"P&A-row-quantity-".concat(s.brand,"-").concat(s.materialNumber),associatedComponent:"P&A-row-quantity-".concat(s.brand,"-").concat(s.materialNumber),materialNumber:s.materialNumber,minOrderQuantity:s.minOrderQuantity,setMultipleMinimumQuantityError:e=>{f(e)}}):(0,n.jsx)(aD.D0,{name:"".concat(o,".quantity"),component:iL.A,className:_.qtyInput,"data-testid":"P&A-row-quantity-".concat(s.brand,"-").concat(s.materialNumber),id:"P&A-row-quantity-".concat(s.brand,"-").concat(s.materialNumber),associatedComponent:"P&A-row-quantity-".concat(s.brand,"-").concat(s.materialNumber),max:null!==(r=null==s?void 0:s.availableQtyInStock)&&void 0!==r?r:9999})})}),(0,n.jsx)(iM.A,{align:"right",className:_.addToCartButtonCell,children:(0,n.jsx)(iD,{size:"large",variant:iF.Contained,addToCartButtonClass:_.addToCartButton,disabled:h,dirty:u,handleAddToCart:e=>{e.preventDefault(),l()},isSubmitting:p,color:iw.Secondary})})]})},iU=e=>{let{index:t,material:a,dchainMessage:i}=e,r=(0,ij.g9)();return a?(0,n.jsx)(aD.l1,{enableReinitialize:!0,initialValues:(e=>{if(!e)return{};let{materialNumber:a}=e;return{[t]:{materialNumber:a,quantity:""}}})(a),onSubmit:(e,a)=>{let{setSubmitting:n,resetForm:i}=a,o=e[t];(null==o?void 0:o.quantity)&&r([{materialNumber:o.materialNumber,quantity:Number(o.quantity)}],n,i)},children:e=>{let{isSubmitting:r,dirty:o,submitForm:s,resetForm:l,setFieldValue:d,values:c}=e;return(0,n.jsx)(ik,{index:t,material:a,isSubmitting:r,dirty:o,submitForm:s,resetForm:l,setFieldValue:d,values:c,dchainMessage:i})}}):null},iH=(0,p.A)(e=>({MaterialContainer:{display:"none",[e.breakpoints.up("md")]:{display:"flex",padding:e.spacing(2,0,.5,0),"& th":{padding:e.spacing(2),borderBottom:"none"},"& td":{padding:e.spacing(2),borderBottom:"none"}}},materialHeadRow:{fontSize:e.typography.pxToRem(12)},materialRow:{fontSize:e.typography.pxToRem(14)},emptyCell:{[e.breakpoints.up("md")]:{width:"13%",minWidth:120}},sku:{[e.breakpoints.up("md")]:{width:"20%",minWidth:180}},packsize:{[e.breakpoints.up("md")]:{width:"22%"}},price:{[e.breakpoints.up("md")]:{width:"15%",textAlign:"center"}}})),iG=e=>{let{product:t,materialPricing:a,dchainMessage:i}=e,r=iH(),{formatMessage:o}=(0,b.A)();return(0,n.jsx)(nZ.A,{children:(0,n.jsx)(iS.A,{className:r.MaterialContainer,children:(0,n.jsxs)(iI.A,{children:[(0,n.jsx)(iv.A,{className:r.materialHeadRow,children:(0,n.jsxs)(iN.A,{children:[(0,n.jsx)(iM.A,{className:r.emptyCell}),(0,n.jsx)(iM.A,{className:r.sku,children:o({id:"SKU",defaultMessage:"SKU"})}),(0,n.jsxs)(iM.A,{className:r.packsize,children:[" ",o({id:"PACK_SIZE",defaultMessage:"Pack Size"})]}),(0,n.jsx)(iM.A,{className:r.price,children:o({id:"PRICE",defaultMessage:"Price"})})]})}),(0,n.jsx)(iR.A,{children:null==a?void 0:a.map((e,t)=>(0,n.jsx)(iN.A,{className:r.materialRow,children:(0,n.jsx)(iU,{index:t,material:e,dchainMessage:i})},"".concat(e.materialNumber,"-").concat(t)))})]})})},t)},iY=(0,p.A)(e=>({productContainer:{display:"none",[e.breakpoints.up("md")]:{display:"flex",flexDirection:"column"}},productRow:{display:"flex",alignItems:"center",fontSize:e.typography.pxToRem(14),fontWeight:e.typography.fontWeightRegular,borderTop:"1px solid ".concat(e.palette.grey[400]),backgroundColor:e.palette.background.grey,[e.breakpoints.up("md")]:{padding:e.spacing(4,0),height:"52px"},"& > div":{padding:e.spacing(0,2),lineHeight:1.5}},productNumber:{[e.breakpoints.up("md")]:{width:"12.5%",minWidth:120}},productNumberText:{[e.breakpoints.up("md")]:{fontSize:e.typography.pxToRem(14)},cursor:"pointer","&:hover":{color:e.palette.primary.main}},productName:{[e.breakpoints.up("md")]:{width:"21%",minWidth:180,display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"}},productNameText:{[e.breakpoints.up("md")]:{fontSize:e.typography.pxToRem(14),color:e.palette.primary.main,fontWeight:e.typography.fontWeightBold},cursor:"pointer","&:hover":{color:e.palette.primary.dark}},description:{[e.breakpoints.up("md")]:{width:"45.5%",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"}},descriptionText:{[e.breakpoints.up("md")]:{fontSize:e.typography.pxToRem(14)},cursor:"pointer","&:hover":{color:e.palette.primary.main}}})),iz=e=>{let{product:t,productsku:a,productName:i,materialPricing:r,dchainMessage:o,productDescription:s,brand:l}=e,d=iY(),c=(e,t,a,i,r)=>{var o;let s=(0,n.jsx)(ib.A,{component:"span",className:e,dangerouslySetInnerHTML:{__html:null!==(o=null!=t?t:r)&&void 0!==o?o:""}});return a&&i?(0,n.jsx)(q.N,{...v.aR.index(a,i),children:(0,n.jsx)("a",{children:s})}):s};return(0,n.jsxs)(nZ.A,{className:d.productContainer,children:[(0,n.jsxs)(nZ.A,{className:d.productRow,children:[(0,n.jsx)(nZ.A,{className:d.productNumber,children:c(d.productNumberText,t,null==l?void 0:l.key,t,a)}),(0,n.jsx)(nZ.A,{className:d.productName,children:c(d.productNameText,null!=i?i:"",null==l?void 0:l.key,t)}),(0,n.jsx)(nZ.A,{className:d.description,children:c(d.descriptionText,null!=s?s:"",null==l?void 0:l.key,t)})]}),(0,n.jsx)(iG,{product:t,materialPricing:r,dchainMessage:o})]},t)};var iV=a(21932),iK=a(39069);let iq=(0,p.A)(e=>({MaterialPricingInfo:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:e.spacing(4)},label:{fontSize:e.typography.pxToRem(14),fontWeight:e.typography.fontWeightMedium,lineHeight:"20px"},packSizeText:{display:"block",fontSize:e.typography.pxToRem(14),fontWeight:e.typography.fontWeightRegular,lineHeight:"20px"},priceText:{display:"block",fontSize:e.typography.pxToRem(14),fontWeight:e.typography.fontWeightRegular,lineHeight:"20px"},quantityAddtoCartContainer:{display:"flex",alignItems:"flex-start",alignSelf:"stretch",gap:e.spacing(3)},qtyInput:{display:"flex",alignItems:"center",fontSize:e.typography.pxToRem(14),maxWidth:"99px",minWidth:"99px",height:"48px","& svg":{fill:e.palette.primary.main}},addToCartButton:{display:"flex",justifyContent:"center",alignItems:"center",alignSelf:"stretch",lineHeight:"24px",height:"48px",width:"220px",minWidth:"144px",padding:e.spacing(3,8),[e.breakpoints.down(374)]:{width:"189px"},[e.breakpoints.down(343)]:{maxWidth:"189px",width:"100%"}}})),i$=e=>{let{materialPricing:t,dchainMessage:a,submitForm:r,isSubmitting:o,dirty:s,setFieldValue:l,values:d}=e,p=iq(),{formatMessage:u}=(0,b.A)(),[m,g]=(0,i.useState)({});(0,i.useEffect)(()=>{null===a&&t.every(e=>(null==e?void 0:e.availableQtyInStock)===null)&&Object.keys(d).forEach(e=>{l(e,{...d[e],quantity:"1"})})},[]);let E=Object.values(m).some(Boolean),_=(e,t)=>{g(a=>({...a,[e]:t}))},h=e=>e.listPrice?(0,n.jsx)(M.Gr,{style:"currency",currencyDisplay:"symbol",currency:e.listPriceCurrency,value:e.listPrice}):e.price?(0,n.jsx)(M.Gr,{style:"currency",currencyDisplay:"symbol",currency:e.currency,value:e.price}):(0,n.jsx)(c.A,{id:"UNAVAILABLE",defaultMessage:"Unavailable"});return(0,n.jsx)(tr.A,{children:null==t?void 0:t.map((e,t)=>{var a;return(0,n.jsxs)(tr.A,{className:p.MaterialPricingInfo,children:[(0,n.jsxs)(tr.A,{children:[(0,n.jsx)(A.A,{component:"label",className:p.label,children:u({id:"PACK_SIZE",defaultMessage:"Pack Size"})}),(0,n.jsx)(A.A,{component:"span",className:p.packSizeText,children:(0,n.jsx)(x.A,{value:null==e?void 0:e.packageSize})})]}),(0,n.jsxs)(tr.A,{children:[(0,n.jsx)(A.A,{component:"label",className:p.label,children:u({id:"PRICE",defaultMessage:"Price"})}),(0,n.jsx)(A.A,{component:"span",className:p.priceText,children:h(e)})]}),(0,n.jsxs)(tr.A,{className:p.quantityAddtoCartContainer,children:[(0,n.jsx)(tr.A,{children:e.minOrderQuantity&&e.minOrderQuantity>1?(0,n.jsx)(aD.D0,{name:"".concat(t,".quantity"),component:iP.A,className:p.qtyInput,"data-testid":"P&A-row-quantity-".concat(e.brand,"-").concat(e.materialNumber),id:"P&A-row-quantity-".concat(e.brand,"-").concat(e.materialNumber),associatedComponent:"P&A-row-quantity-".concat(e.brand,"-").concat(e.materialNumber),materialNumber:e.materialNumber,minOrderQuantity:e.minOrderQuantity,setMultipleMinimumQuantityError:_}):(0,n.jsx)(aD.D0,{name:"".concat(t,".quantity"),component:iL.A,className:p.qtyInput,"data-testid":"P&A-row-quantity-".concat(e.brand,"-").concat(e.materialNumber),id:"P&A-row-quantity-".concat(e.brand,"-").concat(e.materialNumber),associatedComponent:"P&A-row-quantity-".concat(e.brand,"-").concat(e.materialNumber),max:null!==(a=null==e?void 0:e.availableQtyInStock)&&void 0!==a?a:9999})}),(0,n.jsx)(tr.A,{children:(0,n.jsx)(iD,{size:"large",variant:iF.Contained,addToCartButtonClass:p.addToCartButton,disabled:E,dirty:s,handleAddToCart:e=>{e.preventDefault(),r()},isSubmitting:o,color:iw.Secondary})})]})]},"".concat(e.materialNumber,"-").concat(t))})})},iZ=e=>{let{product:t,materialPricing:a,dchainMessage:i}=e,r=(0,ij.g9)();return(null==a?void 0:a.length)?(0,n.jsx)(aD.l1,{enableReinitialize:!0,initialValues:(e=>e?e.reduce((e,t,a)=>{let{materialNumber:n}=t;return{...e,[a]:{materialNumber:n,quantity:""}}},{}):[])(a),onSubmit:(e,t)=>{let{setSubmitting:a,resetForm:n}=t;r(Object.keys(e).map(t=>({materialNumber:e[t].materialNumber,quantity:Number(e[t].quantity)})).filter(e=>e.quantity),a,n)},children:e=>{let{isSubmitting:r,dirty:o,submitForm:s,resetForm:l,setFieldValue:d,values:c}=e;return(0,n.jsx)(aD.lV,{children:(0,n.jsx)(i$,{product:t,materialPricing:a,isSubmitting:r,dirty:o,submitForm:s,resetForm:l,setFieldValue:d,values:c,dchainMessage:i})})}}):null},iJ=(0,p.A)(e=>({cardContainer:{display:"none",[e.breakpoints.down("sm")]:{display:"flex",flexDirection:"column"}},card:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:e.spacing(2),alignSelf:"stretch",padding:e.spacing(4,0),background:e.palette.background.default},productInfo:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:e.spacing(2)},productNumberText:{fontWeight:e.typography.fontWeightRegular,lineHeight:"20px",cursor:"pointer","&:hover":{color:e.palette.primary.main}},productNameText:{fontSize:e.typography.pxToRem(14),color:e.palette.primary.main,fontWeight:e.typography.fontWeightBold,lineHeight:"20px",cursor:"pointer","&:hover":{color:e.palette.primary.dark}},descriptionText:{fontSize:e.typography.pxToRem(14),fontWeight:e.typography.fontWeightRegular,lineHeight:"20px",cursor:"pointer","&:hover":{color:e.palette.primary.main}},fullWidthDivider:{margin:e.spacing(0,-5),borderBottom:"1px solid ".concat(e.palette.grey[400])}})),iQ=e=>{let{discoPromoProductsSorted:t}=e,a=iJ(),r=e=>e.flatMap(e=>e.items&&e.items.length>1?e.items.map(t=>({...e,productsku:t.materialNumber,materialNumber:t.materialNumber,items:[t]})):e),o=(0,i.useMemo)(()=>r(t),[t]),s=(e,t,a)=>{var i;return(null==e?void 0:null===(i=e.brand)||void 0===i?void 0:i.key)&&(null==e?void 0:e.product)?(0,n.jsx)(q.N,{...v.aR.index(e.brand.key,e.product),children:(0,n.jsx)(A.A,{component:"span",className:a,dangerouslySetInnerHTML:{__html:t}})}):(0,n.jsx)(A.A,{component:"span",className:a,dangerouslySetInnerHTML:{__html:t}})};return(0,n.jsxs)(tr.A,{children:[(0,n.jsx)(iK.A,{className:a.fullWidthDivider}),null==o?void 0:o.map((e,t)=>{var r,o,l;return(0,n.jsxs)(i.Fragment,{children:[(0,n.jsxs)(tr.A,{className:a.card,children:[(0,n.jsxs)(tr.A,{className:a.productInfo,children:[s(e,null!==(r=null==e?void 0:e.productsku)&&void 0!==r?r:"",a.productNumberText),s(e,null!==(o=null==e?void 0:e.productName)&&void 0!==o?o:"",a.productNameText),s(e,null!==(l=null==e?void 0:e.productDescription)&&void 0!==l?l:"",a.descriptionText)]}),(0,n.jsx)(iZ,{product:e.product,materialPricing:null==e?void 0:e.items,dchainMessage:null==e?void 0:e.dchainMessage})]}),(0,n.jsx)(iK.A,{className:a.fullWidthDivider})]},"".concat(e.productsku||e.product,"-").concat(t))})]})};var iX=a(76023),i0=function(e){return e.product="product",e.productName="productName",e.productDescription="productDescription",e}({});let i2=[{column:"product",order:"asc",label:t4.SORT_BY_PRODUCT_NUMBER_ASCENDING},{column:"product",order:"desc",label:t4.SORT_BY_PRODUCT_NUMBER_DESCENDING},{column:"productName",order:"asc",label:t4.SORT_BY_PRODUCT_NAME_ASCENDING},{column:"productName",order:"desc",label:t4.SORT_BY_PRODUCT_NAME_DESCENDING},{column:"productDescription",order:"asc",label:t4.SORT_BY_DESCRIPTION_ASCENDING},{column:"productDescription",order:"desc",label:t4.SORT_BY_DESCRIPTION_DESCENDING}],i1=(0,p.A)(e=>({sortContainer:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:e.spacing(.5),alignSelf:"stretch",padding:e.spacing(4,0),[e.breakpoints.up("sm")]:{width:"509px"},"& .MuiSelect-root":{minHeight:"40px",padding:e.spacing(2,2,2,4),lineHeight:"24px",alignItems:"center",alignSelf:"stretch"}},truncatedLabel:{[e.breakpoints.down(375)]:{display:"block",width:"90%",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}}})),i4=e=>{let{loading:t,handleUpdateSort:a,value:i}=e,r=i1(),{formatMessage:o}=(0,b.A)(),s=e=>"".concat(e.column,"-").concat(e.order);return(0,n.jsx)("div",{className:r.sortContainer,children:(0,n.jsx)(eV.A,{value:s(i),onChange:e=>{let t=e.target.value,n=i2.find(e=>s(e)===t);n&&a(n)},size:"medium",menuMaxHeight:284,disabled:t,children:i2.map(e=>(0,n.jsx)(iX.A,{value:s(e),children:(0,n.jsx)("span",{className:r.truncatedLabel,children:o(e.label)})},s(e)))})})},i8=(0,p.A)(e=>({container:{display:"flex",flexDirection:"column",[e.breakpoints.up("md")]:{margin:e.spacing(6,0,16,0)}},desktopContainer:{display:"none",[e.breakpoints.up("md")]:{display:"flex",flexDirection:"column"}},mobileContainer:{display:"none",[e.breakpoints.down("sm")]:{display:"flex",flexDirection:"column"}},productListHeadings:{display:"none",[e.breakpoints.up("md")]:{display:"flex",alignItems:"center",color:e.palette.primary.main,marginBottom:e.spacing(2.5),fontSize:e.typography.pxToRem(12),fontWeight:e.typography.fontWeightBold,"& > div":{padding:e.spacing(0,2),lineHeight:1.5}}},productNumberText:{[e.breakpoints.up("md")]:{display:"flex",width:"12.5%",minWidth:120}},productNameText:{[e.breakpoints.up("md")]:{display:"flex",width:"21%",minWidth:180}},descriptionText:{[e.breakpoints.up("md")]:{display:"flex",width:"45.5%",whiteSpace:"nowrap"}},productContainer:{[e.breakpoints.up("md")]:{display:"flex",flexDirection:"column",borderBottom:"1px solid ".concat(e.palette.grey[400])}},loadMoreBtn:{alignSelf:"center",marginTop:e.spacing(6),padding:e.spacing(3,25.75),maxWidth:"288px",width:"288px",minWidth:"144px",lineHeight:"24px",height:"40px",[e.breakpoints.up("md")]:{maxWidth:"237px",minWidth:"144px",width:"100%",padding:e.spacing(2,6),marginTop:e.spacing(4)},[e.breakpoints.down(374)]:{width:"237px",padding:e.spacing(3,6)},[e.breakpoints.down(343)]:{maxWidth:"237px",width:"100%",padding:e.spacing(3,6)}},sortArrowIconUp:{fontSize:e.typography.pxToRem(20),color:e.palette.primary.main,transition:"transform 0.25s"},sortArrowIconDown:{transform:"rotate(180deg)"}})),i3=e=>{let{discoPromoProducts:t,loadMoreItems:a,pricingDataLoading:r,showLoadMoreBtn:o}=e,s=i8(),[l,p]=(0,i.useState)({column:i0.product,order:"desc"}),m=(0,u.A)(),A=(0,g.A)(m.breakpoints.up(tU.Rp.MD),{defaultMatches:!0}),E=(0,i.useMemo)(()=>{if(!l.column)return t;let{column:e,order:a}=l;return[...t].sort((t,n)=>{var i,r;let o=String(null!==(i=t[e])&&void 0!==i?i:"").toLowerCase(),s=String(null!==(r=n[e])&&void 0!==r?r:"").toLowerCase();return os?"asc"===a?1:-1:0})},[t,l]),_=(0,i.useMemo)(()=>{let e=new Map,t=[];for(let r of E){var a,n,i;let o=null!==(i=null===(a=r.product)||void 0===a?void 0:a.toLowerCase())&&void 0!==i?i:"";if(o){if(!(null===(n=r.items)||void 0===n?void 0:n.length)){t.push(r);continue}if(e.has(o)){let t=e.get(o);e.set(o,{...t,items:[...t.items,...r.items]})}else e.set(o,{...r,items:[...r.items]})}}return[...Array.from(e.values()),...t]},[E]),f=(0,i.useCallback)(e=>{p(t=>({column:e,order:t.column===e&&"asc"===t.order?"desc":"asc"}))},[]),T=(0,i.useCallback)(e=>{p({column:e.column,order:e.order})},[]);return(0,n.jsxs)(nZ.A,{className:s.container,children:[A?(0,n.jsxs)(nZ.A,{className:s.desktopContainer,children:[(0,n.jsxs)(nZ.A,{className:s.productListHeadings,children:[(0,n.jsxs)(nZ.A,{className:s.productNumberText,onClick:()=>f("product"),children:[(0,n.jsx)(c.A,{id:"PRODUCT_NUMBER",defaultMessage:"Product Number"}),(0,n.jsx)(iV.A,{className:(0,d.A)(s.sortArrowIconUp,{[s.sortArrowIconDown]:"product"!==l.column||"asc"!==l.order})})]}),(0,n.jsxs)(nZ.A,{className:s.productNameText,onClick:()=>f("productName"),children:[(0,n.jsx)(c.A,{id:"PRODUCT_NAME",defaultMessage:"Product Name"}),(0,n.jsx)(iV.A,{className:(0,d.A)(s.sortArrowIconUp,{[s.sortArrowIconDown]:"productName"!==l.column||"asc"!==l.order})})]}),(0,n.jsxs)(nZ.A,{className:s.descriptionText,onClick:()=>f("productDescription"),children:[(0,n.jsx)(c.A,{id:"DESCRIPTION",defaultMessage:"Description"}),(0,n.jsx)(iV.A,{className:(0,d.A)(s.sortArrowIconUp,{[s.sortArrowIconDown]:"productDescription"!==l.column||"asc"!==l.order})})]})]}),(0,n.jsx)(nZ.A,{className:s.productContainer,children:null==_?void 0:_.map((e,t)=>(0,n.jsx)(iz,{product:null==e?void 0:e.product,productsku:null==e?void 0:e.productsku,productName:null==e?void 0:e.productName,materialPricing:null==e?void 0:e.items,dchainMessage:null==e?void 0:e.dchainMessage,productDescription:null==e?void 0:e.productDescription,brand:null==e?void 0:e.brand},"".concat(e.product,"-").concat(t)))})]}):(0,n.jsxs)(nZ.A,{className:s.mobileContainer,children:[(0,n.jsx)(i4,{loading:r,value:l,handleUpdateSort:e=>{e&&T(e)}}),(0,n.jsx)(iQ,{discoPromoProductsSorted:E})]}),o&&(0,n.jsx)(h.A,{variant:"outlined",color:"primary",onClick:a,className:s.loadMoreBtn,disabled:r,children:r?(0,n.jsx)(iB.A,{size:30}):(0,n.jsx)(c.A,{id:"LOAD_MORE",defaultMessage:"Load More"})})]})};var i6=a(81566);let i5=(0,p.A)(()=>({contentHeader:{letterSpacing:"0.14px",textTransform:"capitalize"},disclaimerContentwrapper:{marginTop:i6.w4.spacing(12),[i6.w4.breakpoints.up("md")]:{marginTop:i6.w4.spacing(16)}}})),i7=e=>{let{discount:t,qualifyingAmount:a,currency:i,validTo:r,disclaimer:o}=e,s=i5(),l=(0,b.A)(),d=null!=t?t:0,p=null!=a?a:0,u=null!=r?new Date(r):null,m=e=>e?e2().sanitize(e):"";if(0===p&&0===d)return null;let g=l.formatNumber(p,{style:"currency",currency:null!=i?i:"USD",maximumFractionDigits:0,minimumFractionDigits:0}),E=l.formatNumber(d/100,{style:"percent",minimumFractionDigits:0}),_=u?l.formatMessage({id:"SPEND_AND_SAVE_CONTENT_DETAILS",defaultMessage:"From now until {date}, stock up on your essentials.
Add items to cart and click “Apply Discount” button in cart to redeem the savings*:
Spend {amount} — save {discount}*"},{date:l.formatDate(u,{year:"numeric",month:"long",day:"numeric",timeZone:"UTC"}),amount:g,discount:E,strong:e=>"".concat(e,""),br:()=>"
"}):l.formatMessage({id:"SPEND_AND_SAVE_CONTENT_DETAILS_NO_EXPIRATION",defaultMessage:"Stock up on your essentials while supplies last.
Add items to cart and click “Apply Discount” button in cart to redeem the savings*:
Spend {amount} — save {discount}*"},{amount:g,discount:E,strong:e=>"".concat(e,""),br:()=>"
"}),h=u?l.formatMessage({id:"SPEND_AND_SAVE_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:l.formatDate(u,{year:"numeric",month:"long",day:"numeric",timeZone:"UTC"})}):l.formatMessage({id:"SPEND_AND_SAVE_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."});return o?(0,n.jsx)(nZ.A,{className:s.disclaimerContentwrapper,children:(0,n.jsx)(A.A,{component:"p",dangerouslySetInnerHTML:{__html:m(h)}})}):(0,n.jsxs)(nZ.A,{children:[(0,n.jsx)(A.A,{component:"h1",className:s.contentHeader,children:(0,n.jsx)(c.A,{id:"SPEND_AND_SAVE_BADGE",defaultMessage:"Spend & Save"})}),(0,n.jsx)(A.A,{component:"p",dangerouslySetInnerHTML:{__html:m(_)}})]})};var i9=a(95336);let re=(0,p.A)(e=>({container:{margin:e.spacing(14,0,2,0),[e.breakpoints.up("md")]:{margin:e.spacing(10,0,2,0)}},shopProductsHeading:{letterSpacing:"0.14px"},searchContainer:{display:"flex",alignItems:"center",gap:e.spacing(1),width:"100%",maxWidth:678,[e.breakpoints.up("sm")]:{gap:e.spacing(6.25)},[e.breakpoints.down("sm")]:{padding:e.spacing(0,0,6,0)}},searchWrapper:{display:"flex",alignItems:"center",width:"100vw",maxWidth:"509px"},searchLabel:{display:"flex",alignItems:"flex-start",fontSize:e.spacing(3.5),fontWeight:e.typography.fontWeightRegular,lineHeight:"20px",marginBottom:e.spacing(.5)},searchInput:{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",boxSizing:"border-box",fontSize:e.typography.pxToRem(16),padding:e.spacing(2,2,2,4),lineHeight:"40px",height:40,width:"100%",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap","&: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)}}},searchButton:{whiteSpace:"nowrap",height:"40px",justifyContent:"center",alignItems:"center",padding:e.spacing(2,6),lineHeight:"24px",minWidth:"144px",[e.breakpoints.down("xs")]:{display:"flex",minWidth:"52px",width:"52px",height:"40px",justifyContent:"center",alignItems:"center",padding:e.spacing(2,6),lineHeight:"24px"}},searchTermText:{marginBottom:"".concat(e.spacing(2),"px !important"),letterSpacing:"0.09px"},divider:{display:"none",[e.breakpoints.down("sm")]:{display:"block",borderBottom:"1px solid ".concat(e.palette.grey[400])}},termChipWrapper:{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),lineHeight:"15px",marginBottom:e.spacing(2),marginRight:e.spacing(2),[e.breakpoints.up("md")]:{padding:e.spacing(1,1.5)}},termChipText:{fontSize:e.typography.pxToRem(12)},closeBtn:{marginLeft:e.spacing(2),fontSize:e.typography.pxToRem(10)},alignmentWrapper:{display:"flex",justifyContent:"center"}})),rt=e=>{let{handleDiscoItemSearch:t,searchTerm:a}=e,r=re(),{formatMessage:o}=(0,b.A)(),[s,l]=(0,i.useState)(""),[d,p]=(0,i.useState)(a),m=(0,u.A)(),E=(0,g.A)(m.breakpoints.down("xs")),_=()=>{t(""),p(""),l("")};return(0,n.jsxs)(tr.A,{className:r.container,children:[(0,n.jsx)(A.A,{component:"h2",className:r.shopProductsHeading,children:(0,n.jsx)(c.A,{id:"SHOP_PRODUCTS",defaultMessage:"Shop Products"})}),(0,n.jsx)(A.A,{component:"span",className:r.searchLabel,children:(0,n.jsx)(c.A,{id:"SEARCH_PRODUCTS_LABEL",defaultMessage:"Search Products"})}),(0,n.jsxs)(tr.A,{className:r.searchContainer,children:[(0,n.jsx)(tr.A,{className:r.searchWrapper,children:(0,n.jsx)("input",{id:"disco-search-input",name:"searchTerm",placeholder:o({id:"DISCO_SEARCH_PLACEHOLDER",defaultMessage:"Search by Product Name, Product Number or Description"}),value:s,onChange:e=>l(e.target.value),onKeyDown:e=>{"Enter"===e.key&&(t(s),p(s),l(""))},className:r.searchInput})}),(0,n.jsx)(h.A,{variant:"contained",color:"primary",onClick:()=>{t(s),p(s),l("")},className:r.searchButton,children:E?(0,n.jsx)(ek.default,{style:{fontSize:24}}):(0,n.jsx)(c.A,{id:"SEARCH",defaultMessage:"Search"})})]}),(0,n.jsx)(iK.A,{className:r.divider}),(0,n.jsx)(tr.A,{children:(0,n.jsx)(A.A,{component:"h3",className:r.searchTermText,dangerouslySetInnerHTML:{__html:d}})}),d?(0,n.jsx)(tr.A,{className:r.termChipWrapper,children:(0,n.jsxs)(tr.A,{className:r.alignmentWrapper,children:[(0,n.jsxs)(A.A,{component:"span",className:r.termChipText,children:[o({id:"KEYWORD",defaultMessage:"Keyword"}),":"]}),(0,n.jsx)(A.A,{component:"span",className:r.termChipText,children:(0,n.jsx)(x.A,{value:"'".concat(d,"'")})}),(0,n.jsx)(S.A,{className:r.closeBtn,onClick:()=>{d&&_()},children:(0,n.jsx)(i9.uv,{fontSize:"inherit",color:"primary"})})]})}):null]})},ra=()=>{let e=(0,u.A)(),t=(0,g.A)(e.breakpoints.up(tU.Rp.MD),{defaultMatches:!0});return(0,n.jsx)(n.Fragment,{children:t?(0,n.jsxs)(tr.A,{p:3,children:[(0,n.jsx)(to.A,{variant:"text",width:200,height:35,style:{marginBottom:12}}),(0,n.jsx)(to.A,{variant:"text",width:"40%",height:20}),(0,n.jsx)(to.A,{variant:"text",width:"50%",height:20}),(0,n.jsx)(to.A,{variant:"text",width:"20%",height:20,style:{marginBottom:20}}),(0,n.jsx)(to.A,{variant:"text",width:180,height:28,style:{marginBottom:15}}),(0,n.jsx)(to.A,{variant:"text",width:120,height:18,style:{marginBottom:10}}),(0,n.jsxs)(E.A,{container:!0,spacing:2,alignItems:"center",style:{marginBottom:20},children:[(0,n.jsx)(E.A,{item:!0,xs:4,children:(0,n.jsx)(to.A,{variant:"rect",width:"100%",height:40})}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"rect",width:"100%",height:40})})]}),(0,n.jsx)(to.A,{variant:"text",width:180,height:18,style:{marginBottom:20}}),(0,n.jsxs)(E.A,{container:!0,spacing:2,style:{marginBottom:10},children:[(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"90%",height:25})}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"90%",height:25})}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"90%",height:25})})]}),[1,2,3].map(e=>(0,n.jsxs)(tr.A,{mb:3,borderBottom:"1px solid #eee",children:[(0,n.jsxs)(E.A,{container:!0,spacing:2,style:{marginBottom:10},children:[(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"90%",height:25})}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"90%",height:25})}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"180%",height:25})})]}),[1,2].map(e=>(0,n.jsxs)(E.A,{container:!0,spacing:2,alignItems:"center",style:{marginBottom:12},children:[(0,n.jsx)(E.A,{item:!0,xs:2}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"80%",height:22})}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"50%",height:22})}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"60%",height:22})}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"rect",width:100,height:35})}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"rect",width:180,height:40})})]},e))]},e)),(0,n.jsx)(tr.A,{display:"flex",justifyContent:"center",mt:4,mb:11,children:(0,n.jsx)(to.A,{variant:"rect",width:180,height:40})}),(0,n.jsx)(to.A,{variant:"text",width:"100%",height:20}),(0,n.jsx)(to.A,{variant:"text",width:"100%",height:20}),(0,n.jsx)(to.A,{variant:"text",width:"40%",height:20})]}):(0,n.jsxs)(tr.A,{p:2,children:[(0,n.jsx)(tr.A,{mt:8,mb:6,children:(0,n.jsx)(to.A,{variant:"text",width:160,height:30})}),(0,n.jsx)(to.A,{variant:"text",width:"90%",height:20}),(0,n.jsx)(to.A,{variant:"text",width:"85%",height:20}),(0,n.jsx)(to.A,{variant:"text",width:"70%",height:20}),(0,n.jsx)(to.A,{variant:"text",width:"60%",height:20,style:{marginBottom:56}}),(0,n.jsx)(to.A,{variant:"text",width:160,height:30}),(0,n.jsxs)(tr.A,{display:"flex",mt:4,mb:6,children:[(0,n.jsx)(to.A,{variant:"rect",width:"100%",height:40,style:{marginRight:8}}),(0,n.jsx)(to.A,{variant:"rect",width:52,height:40})]}),(0,n.jsx)(iK.A,{style:{marginBottom:24}}),(0,n.jsx)(to.A,{variant:"text",width:180,height:20}),(0,n.jsx)(tr.A,{display:"flex",mt:4,mb:4,children:(0,n.jsx)(to.A,{variant:"rect",width:500,height:40})}),(0,n.jsx)(iK.A,{style:{marginBottom:16}}),[void 0,void 0,void 0].map((e,t)=>(0,n.jsxs)(tr.A,{mb:3,children:[(0,n.jsx)(to.A,{variant:"text",width:100,height:20,style:{marginBottom:8}})," ",(0,n.jsx)(to.A,{variant:"text",width:160,height:25,style:{marginBottom:8}})," ",(0,n.jsx)(to.A,{variant:"text",width:"80%",height:18,style:{marginBottom:8}}),(0,n.jsx)(to.A,{variant:"text",width:"60%",height:18,style:{marginBottom:16}}),(0,n.jsx)(to.A,{variant:"text",width:80,height:20,style:{marginBottom:16}})," ",(0,n.jsxs)(tr.A,{display:"flex",mt:1,children:[(0,n.jsx)(to.A,{variant:"rect",width:100,height:40,style:{marginRight:12}}),(0,n.jsx)(to.A,{variant:"rect",width:250,height:40})]}),(0,n.jsx)(iK.A,{style:{marginTop:24}})]},t)),(0,n.jsx)(tr.A,{display:"flex",justifyContent:"center",mt:8,mb:12,children:(0,n.jsx)(to.A,{variant:"rect",width:300,height:45})}),(0,n.jsx)(to.A,{variant:"text",width:"100%",height:20}),(0,n.jsx)(to.A,{variant:"text",width:"100%",height:20}),(0,n.jsx)(to.A,{variant:"text",width:"100%",height:20}),(0,n.jsx)(to.A,{variant:"text",width:"100%",height:20}),(0,n.jsx)(to.A,{variant:"text",width:"100%",height:20})]})})},rn=()=>{let e=(0,u.A)(),t=(0,g.A)(e.breakpoints.up(tU.Rp.MD),{defaultMatches:!0});return(0,n.jsx)(n.Fragment,{children:t?(0,n.jsxs)(tr.A,{p:3,children:[(0,n.jsx)(to.A,{variant:"text",width:180,height:18,style:{marginBottom:20}}),(0,n.jsxs)(E.A,{container:!0,spacing:2,style:{marginBottom:10},children:[(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"90%",height:25})}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"90%",height:25})}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"90%",height:25})})]}),[1,2,3].map(e=>(0,n.jsxs)(tr.A,{mb:3,borderBottom:"1px solid #eee",children:[(0,n.jsxs)(E.A,{container:!0,spacing:2,style:{marginBottom:10},children:[(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"90%",height:25})}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"90%",height:25})}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"180%",height:25})})]}),[1,2].map(e=>(0,n.jsxs)(E.A,{container:!0,spacing:2,alignItems:"center",style:{marginBottom:12},children:[(0,n.jsx)(E.A,{item:!0,xs:2}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"80%",height:22})}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"50%",height:22})}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"text",width:"60%",height:22})}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"rect",width:100,height:35})}),(0,n.jsx)(E.A,{item:!0,xs:2,children:(0,n.jsx)(to.A,{variant:"rect",width:180,height:40})})]},e))]},e)),(0,n.jsx)(tr.A,{display:"flex",justifyContent:"center",mt:4,children:(0,n.jsx)(to.A,{variant:"rect",width:180,height:40})})]}):(0,n.jsxs)(tr.A,{p:3,children:[(0,n.jsx)(to.A,{variant:"text",width:180,height:20}),(0,n.jsx)(tr.A,{display:"flex",mt:4,mb:4,children:(0,n.jsx)(to.A,{variant:"rect",width:"100%",height:40})}),(0,n.jsx)(iK.A,{style:{marginBottom:16}}),[void 0,void 0,void 0].map((e,t)=>(0,n.jsxs)(tr.A,{mb:3,children:[(0,n.jsx)(to.A,{variant:"text",width:100,height:20,style:{marginBottom:8}})," ",(0,n.jsx)(to.A,{variant:"text",width:160,height:25,style:{marginBottom:8}})," ",(0,n.jsx)(to.A,{variant:"text",width:"80%",height:18,style:{marginBottom:8}}),(0,n.jsx)(to.A,{variant:"text",width:"60%",height:18,style:{marginBottom:16}}),(0,n.jsx)(to.A,{variant:"text",width:80,height:20,style:{marginBottom:16}})," ",(0,n.jsxs)(tr.A,{display:"flex",mt:1,children:[(0,n.jsx)(to.A,{variant:"rect",width:100,height:40,style:{marginRight:12}}),(0,n.jsx)(to.A,{variant:"rect",width:250,height:40})]}),(0,n.jsx)(iK.A,{style:{marginTop:24}})]},t)),(0,n.jsx)(tr.A,{display:"flex",justifyContent:"center",mt:8,mb:12,children:(0,n.jsx)(to.A,{variant:"rect",width:300,height:45})})]})})};function ri(){let e=(0,ed._)(["\n fragment MaterialsDetail on Material {\n id\n number\n name\n isMarketplace\n marketplaceOfferId\n description\n brand {\n key\n erpKey\n name\n color\n }\n product\n image {\n altText\n smallUrl\n mediumUrl\n largeUrl\n }\n packageSize\n shipsToday\n freeFreight\n erpType\n}\n "]);return ri=function(){return e},e}function rr(){let e=(0,ed._)(["\n query MaterialsDetail($materialNumbers: [String!]!, $catalogType: CatalogType, $filter: String) {\n getMaterialsDetail(\n input: {materialNumbers: $materialNumbers, catalogType: $catalogType, filter: $filter}\n ) {\n ...MaterialsDetail\n }\n}\n ",""]);return rr=function(){return e},e}let ro={},rs=(0,ec.J1)(ri()),rl=(0,ec.J1)(rr(),rs),rd=(0,p.A)(e=>({count:{fontSize:e.typography.pxToRem(16),[e.breakpoints.up("md")]:{fontSize:e.typography.pxToRem(14)}}})),rc=e=>{let{pageStart:t,pageEnd:a,itemCount:i,isSearchResult:r=!1}=e,o=rd(),s=(0,u.A)(),l=(0,g.A)(s.breakpoints.down("sm"));return r||l?(0,n.jsx)(tr.A,{className:o.count,children:(0,n.jsx)(c.A,{id:"PAGINATION_SEARCH_RESULTS_SHOWING_TEXT",defaultMessage:"Showing {pageStart}-{pageEnd} of {itemCount} results",values:{pageStart:t,pageEnd:a,itemCount:i}})}):(0,n.jsx)(tr.A,{className:o.count,children:(0,n.jsx)(c.A,{id:"PAGINATION_RESULTS_SHOWING_TEXT",defaultMessage:"Showing {pageStart}-{pageEnd} of {itemCount}",values:{pageStart:t,pageEnd:a,itemCount:i}})})},rp=(0,p.A)(e=>({container:{marginTop:e.spacing(8),[e.breakpoints.up("sm")]:{marginTop:e.spacing(10)}}})),ru=e=>{var t,a;let{promoCodeId:r}=e,o=rp(),s=(0,v.rd)(),[l,d]=(0,i.useState)(0),[c,p]=(0,i.useState)("idle"),[u,m]=(0,i.useState)(!0),[g,A]=(0,i.useState)(""),[E,_]=(0,i.useState)([]),[h,f]=(0,i.useState)([]),{data:T,loading:x,error:C}=(0,n4.gT)({variables:{input:{uuid:null!=r?r:""}},skip:!r,fetchPolicy:"no-cache"}),{discount:y=0,qualifyingAmount:b=0,currency:S="",validTo:I="",message:N}=null!==(t=null==T?void 0:T.getPromoTerms)&&void 0!==t?t:{},[M,{data:R,loading:j,error:P}]=function(e){let t={...iC,...e};return iT._(iy,t)}({fetchPolicy:"no-cache"});(0,i.useEffect)(()=>{r&&M({variables:{input:{uuid:null!=r?r:"",searchTerm:g,page:l,size:10}}})},[r,l,M]);let{items:L,currentPage:B,totalPages:O,message:F}=(null==R?void 0:R.getPromoItems)||{},w=(0,i.useMemo)(()=>{var e,t;return null!==(t=null==L?void 0:null===(e=L.map(e=>{var t;return{product:null!==(t=null==e?void 0:e.itemIdentifier)&&void 0!==t?t:"",quantity:1}}))||void 0===e?void 0:e.filter(e=>e.product))&&void 0!==t?t:[]},[L]),{data:D,loading:W,error:k}=function(e){let t={...i_,...e};return ep.IT(ih,t)}({variables:{productDetails:w},skip:!w.length,fetchPolicy:"no-cache"}),{data:U,loading:H,error:G}=function(e){let t={...ro,...e};return ep.IT(rl,t)}({variables:{materialNumbers:null!==(a=null==L?void 0:L.map(e=>null==e?void 0:e.itemIdentifier).filter(e=>!!e))&&void 0!==a?a:[]},fetchPolicy:"no-cache",skip:!(null==L?void 0:L.length)}),Y=(e,t)=>{let a=new Map(t.map(e=>[e.number,e]));return e.map(e=>{let t=a.get(e.product);return{productsku:e.product,product:null==t?void 0:t.product,materialNumber:null==t?void 0:t.number,productName:null==t?void 0:t.name,productDescription:null==t?void 0:t.description,isMarketplace:null==t?void 0:t.isMarketplace,brand:null==t?void 0:t.brand,items:e.items,alternateMaterials:e.alternateMaterials,errorMsg:e.errorMsg,dchainMessage:e.dchainMessage,hideAddToCart:e.hideAddToCart,productInfo:e.productInfo}})},z=(0,i.useCallback)((e,t)=>{let a=t.map(t=>{let a=e.find(e=>e.product===t.product);return a?{...a,...t}:t});return[...e.filter(e=>!t.some(t=>t.product===e.product)),...a]},[]);(0,i.useEffect)(()=>{var e,t,a;let n=(null!==(t=null==D?void 0:null===(e=D.getPromoItemsPricingAvailability)||void 0===e?void 0:e.pricingAndAvailabilityModels)&&void 0!==t?t:[]).filter(e=>{var t;return null!==e&&!!e.product&&!!(null===(t=e.items)||void 0===t?void 0:t.length)}),i=(null!==(a=null==U?void 0:U.getMaterialsDetail)&&void 0!==a?a:[]).filter(e=>null!==e);if(0===n.length||0===i.length)return;let r=Y(n,i);r.length>0&&("search"===c?_(r):"loadMore"===c?(_(e=>z(e,r)),f(e=>z(e,r))):(_(r),f(r)))},[D,U,c,g]);let V=(0,i.useCallback)(e=>{r&&(M({variables:{input:{uuid:null!=r?r:"",searchTerm:e,page:0,size:10}}}),A(e),p("search"),m(!1)),""===e&&(m(!0),p("idle")),""!==e&&_([])},[r,M]),K=(e,t)=>{let a=t.trim().toLowerCase();return a?e.filter(e=>{var t,n,i;return(null===(t=e.product)||void 0===t?void 0:t.toLowerCase())===a||(null===(n=e.productName)||void 0===n?void 0:n.toLowerCase().includes(a))||(null===(i=e.productDescription)||void 0===i?void 0:i.toLowerCase().includes(a))}):e};(0,i.useEffect)(()=>{"search"!==c||L&&0!==L.length||_(K(h,g))},[L]);let q=()=>{p("loadMore"),d(e=>e+1)};(0,i.useEffect)(()=>{O&&(O<=1||D&&l+1>=O)&&m(!1)},[L,D]);let $=E.length?1:null,Z=E.length,J=(e,t,a,n,i)=>{var r;if(!t)return null!==(r=null==n?void 0:n.length)&&void 0!==r?r:null;let o=Array.isArray(a)&&a.length>0?a.length:null;if(t<=1)return o;let s=null!=i?i:0;return e===t-1&&null!=o?s*(t-1)+o:t*s},Q=[C,P,k,G,F,N].some(Boolean),X=j||W||H;return((0,i.useEffect)(()=>{(Q&&"idle"===c||!r)&&s.push("/promotions")},[r,Q,c,s]),x)?(0,n.jsx)(ra,{}):(0,n.jsx)(n.Fragment,{children:!Q&&T?(0,n.jsxs)(nZ.A,{className:o.container,children:[(0,n.jsx)(i7,{discount:y,qualifyingAmount:b,currency:S,validTo:I}),(0,n.jsx)(rt,{handleDiscoItemSearch:V,searchTerm:g}),(()=>{if("loadMore"!==c&&X)return(0,n.jsx)(rn,{});if(E.length>0){let e=J(B,O,L,E,10);return(0,n.jsxs)(n.Fragment,{children:[e&&Z&&$&&(0,n.jsx)(rc,{itemCount:e,pageStart:$,pageEnd:Z,isSearchResult:"search"===c}),(0,n.jsx)(i3,{discoPromoProducts:E,loadMoreItems:q,pricingDataLoading:X,showLoadMoreBtn:u})]})}return null})(),(0,n.jsx)(i7,{discount:y,qualifyingAmount:b,currency:S,validTo:I,disclaimer:!0})]}):(0,n.jsx)(ra,{})})},rm=(0,p.A)(e=>({lookingForMore:{fontWeight:e.typography.fontWeightBold},alertMessage:{margin:"0 !important"}})),{publicRuntimeConfig:{featureFlags:rg}}=an()(),rA=(0,l.MapTo)("cms-commons/components/content/genericPlaceholder")(e=>{let{placeholder:t}=e,{formatMessage:a}=(0,b.A)(),i=rm(),r=(0,v.rd)(),o=(0,u.A)(),s=(0,g.A)(o.breakpoints.down(tU.Rp.MD),{defaultMatches:!0}),l="live_chat"===t&&("AR"===r.query.country||"CL"===r.query.country),d="shopping_assistant"===t&&rg.shoppingAi&&!s;return(0,n.jsxs)(n.Fragment,{children:[l&&(0,n.jsx)(n$.r,{text:a({id:"COMMERCE_CHAT_CUSTOMER_CARE",defaultMessage:"Chat with Customer Care"}),channel:n$.Y.CustomerService,isAemPageChat:!0}),d&&(0,n.jsx)(nZ.A,{mb:6,children:(0,n.jsx)(nJ.A,{alertMessage:(0,n.jsxs)(A.A,{className:i.alertMessage,children:[(0,n.jsxs)("span",{className:i.lookingForMore,children:[(0,n.jsx)(c.A,{id:"LOOKING_FOR_MORE_GUIDANCE",defaultMessage:"Looking for more guidance?"})," "]}),(0,n.jsx)(c.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)(n1,{}),"disco_promo"===t&&(0,n.jsx)(ru,{promoCodeId:r.query.promoId})]})});var rE=a(72809);let r_=(0,l.MapTo)("cms-commons/components/content/card")(e=>{let t=(0,v.rd)(),a=(0,N.fF)(t.asPath);return(0,n.jsx)(rE.default,{...e,isHomePage:a})});var rh=a(941);let rf=(0,l.MapTo)("cms-commons/components/content/herocomponent")(e=>{var t;let a=(0,b.A)(),i=(0,v.rd)().query.promoId,{data:r}=(0,n4.gT)({variables:{input:{uuid:null!=i?i:""}},skip:!i,fetchPolicy:"network-only"}),o=null==r?void 0:null===(t=r.getPromoTerms)||void 0===t?void 0:t.discount,s=o?a.formatMessage({id:"SPEND_AND_SAVE_DISCOUNT",defaultMessage:"Spend & Save {discount}"},{discount:a.formatNumber(o/100,{style:"percent",minimumFractionDigits:0})}):"";return(0,n.jsx)(rh.default,{...e,translations:{DiscoPromoBannerheadline:s}})}),rT={...s.A,CategorySearchResults:tg,Contact:tE,DynamicProductTable:t0,DynamicPlaceholder:tN,FFCertsBrandImage:t5,TextBanner:nC,FormAssembly:ai,TrialLicense:az,Container:tx,EventListing:t1,EventSidebar:t3,LocationMap:ao,PressReleaseGrid:ax,PressReleaseListing:ay,RelatedProductResources:aS,RelatedProductsRightRailAdapter:aP,RelatedWebinar:aB,UpcomingEventsGrid:aK,WebinarListing:a$,WebinarSidebar:aJ,RelatedProducts:nu,ProductRecommendationCarousel:nh,Page:af,HorizontalTab:nb,SiteMap:nv,UserEngageCarousel:nD,ProductSelector:nq,GenericPlaceholder:rA,Card:r_,Hero:rf};var rx=a(51722),rC=a(79878),ry=a(22608);let rb=(0,p.A)(e=>({wrapper:{maxWidth:1320,margin:"0 auto",padding:e.spacing(0,5)}})),rS=()=>{let e=rb();return(0,n.jsx)("div",{className:e.wrapper,children:(0,n.jsx)("div",{id:"aem-embed-survey"})})};var rI=a(4466),rv=a(63752),rN=a(8614);let rM=e=>{let{schemas:t=[]}=e,a=[],i=(0,rv.mE)(),{asPath:r}=(0,e9.useRouter)(),{publicRuntimeConfig:{canonicalUrlPrefix:s}}=an()(),l={"%%LOGO_ASSET_URL%%":(0,rN.h)(i),"%%COMPANY_NAME%%":i,"%%CURRENT_BROWSER_URL%%":"".concat(s).concat(r),"%%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){rI.R.error(e,"parse schema Error")}return(0,n.jsx)(o(),{children:a.map((e,t)=>(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:e2().sanitize(JSON.stringify(e))}},"schema".concat(t)))})},rR=e=>{let{title:t,description:a,ogImageMetaInfo:i}=e,{asPath:r}=(0,e9.useRouter)(),{publicRuntimeConfig:{canonicalUrlPrefix:s,brandIdentity:l}}=an()(),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)(o(),{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(r)}),a&&(0,n.jsx)("meta",{name:"og:description",content:a})]})};var rj=a(18847),rP=a.n(rj),rL=a(43564),rB=a(27651),rO=a(94295);let rF=rP()(()=>a.e(4232).then(a.bind(a,41851)),{loadableGenerated:{webpack:()=>[41851]},loadableGenerated:{webpack:()=>[41851]},ssr:!1}),rw=e=>{let[t]=(0,t9.lT)(["country","language"]),r=(0,rO.L)(rB.CN.countryCode),s=rP()(()=>a.e(4708).then(a.bind(a,14708)),{loadableGenerated:{webpack:()=>[14708]},loadableGenerated:{webpack:()=>[14708]},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)(rC.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)(rC.default,{statusCode:404,title:e.asPath,...e}):l;let d=()=>{let t=e.metaDataObj||{},{isAemFullPage:a,isHomepage:i,asPath:r}=e,{description:s,keywords:l,pageType:d,robots:c,title:p,schemas:u=[],ogImageMetaInfo:m,canonicalUrl:g,publishedDate:A,lastModifiedDate:E}=t,_=r.split("/").pop(),h=A?new Date(A).toISOString():"",f=E?new Date(E).toISOString():"";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o(),{children:[(0,n.jsx)("meta",{property:"cq:pagemodel_router",content:"disable"}),p&&(0,n.jsx)("title",{children:(0,tI.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(",")}),A&&(0,n.jsx)("meta",{name:"publishedDate",content:h}),E&&(0,n.jsx)("meta",{name:"lastModifiedDate",content:f})]}),u&&u.length>0&&(0,n.jsx)(rM,{schemas:u}),(0,n.jsx)(rR,{title:p&&(0,tI.wG)(p),description:s,ogImageMetaInfo:m}),!i&&a&&(0,n.jsx)(rL.L,{canonicalParamAllowed:()=>!1,isCMSRoute:!0,isNewHomepage:"home"===_,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)(af,{cqChildren:e[":children"],cqItems:e[":items"],cqItemsOrder:e[":itemsOrder"],locationPathname:e.locationPathname,cqPath:e.cqPath,aemHost:e.aemHost,pageFooter:e.isAemFullPage&&(0,n.jsx)(rS,{}),isInEditor:!1,className:null==e?void 0:e.className}),"MACHINE_TRANSLATION"===a&&(0,n.jsx)(rF,{}),e.isHomepage&&r&&(0,n.jsx)(s,{}),(0,n.jsx)(n$.r,{text:"Chat with Customer Care",channel:n$.Y.CustomerService})]}):(0,n.jsx)("span",{})})};return e.isAemFullPage||e.isHomepage?(0,n.jsx)(ry.default.Provider,{value:{country:t.country,language:t.language},children:(0,n.jsxs)(rx.A,{children:[(0,n.jsx)(d,{}),(0,n.jsx)(c,{})]})}):(0,n.jsxs)(ry.default.Provider,{value:{country:t.country,language:t.language},children:[(0,n.jsx)(d,{}),(0,n.jsx)(c,{})]})}},44488:(e,t,a)=>{a.d(t,{$x:()=>c});var n=a(28888),i=a(82897);function r(){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 r=function(){return e},e}function o(){let e=(0,n._)(["\n fragment ProtocolArticleDocument on ProtocolArticleDocument {\n id\n title\n text\n url\n contentType\n}\n "]);return o=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)(r()),d=(0,i.J1)(o()),c=(0,i.J1)(s(),l,d)},50187:(e,t,a)=>{a.d(t,{Wo:()=>d});var n=a(28888);a(37876);var i=a(82897);a(14232);var r=a(54431);function o(){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 o=function(){return e},e}let s={},l=(0,i.J1)(o());function d(e){let t={...s,...e};return r.IT(l,t)}},56924:(e,t,a)=>{a.d(t,{HP:()=>m,fd:()=>p});var n=a(28888);a(37876);var i=a(82897),r=a(44488);a(14232);var o=a(54431);function s(){let e=(0,n._)(["\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 s=function(){return e},e}function l(){let e=(0,n._)(["\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 l=function(){return e},e}let d={},c=(0,i.J1)(s(),r.$x);function p(e){let t={...d,...e};return o.IT(c,t)}let u=(0,i.J1)(l());function m(e){let t={...d,...e};return o.IT(u,t)}},71603:(e,t,a)=>{a.d(t,{iN:()=>p,mO:()=>u});var n=a(28888);a(37876);var i=a(82897),r=a(44488);a(14232);var o=a(54431),s=a(78248);function l(){let e=(0,n._)(["\n query ProductDetail($brandKey: String!, $productKey: String!, $catalogType: CatalogType, $orgId: String) {\n getProductDetail(\n input: {brandKey: $brandKey, productKey: $productKey, catalogType: $catalogType, orgId: $orgId}\n ) {\n ...ProductDetail\n }\n}\n ",""]);return l=function(){return e},e}let d={},c=(0,i.J1)(l(),r.$x);function p(e){let t={...d,...e};return o.IT(c,t)}function u(e){let t={...d,...e};return s._(c,t)}},77198:(e,t,a)=>{a.d(t,{A:()=>m});var n=a(37876),i=a(14232),r=a(98546),o=a(48041),s=a(77328),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(1010),p=a(54414),u=a(49995);let m=e=>{var t;let{formId:a,formAssemblyUrl:s="http://localhost:8080/http://sial.tfaforms.net",formFields:m={},anchorId:g,isFormMounted:A,formStyleClass:E,localeSrc:_,locale:h}=e,f=(0,c.n)("http://sial.tfaforms.net/wForms/3.11/js/wforms.js?v=813cb4fab17d46c586bbe42b1bcc8e38ca00cf31",{removeOnUnmount:!1}),[T,x]=(0,i.useState)(""),C=(0,r.A)("form-assembly-"),[y,b]=(0,i.useState)(!1),[S,I]=(0,i.useState)(!!(null===(t=window)||void 0===t?void 0:t.wFORMS)),[v,N]=(0,i.useState)(!1),[M,R]=(0,i.useState)(!1),j="ready"===f,P=()=>{I(!0)},L=()=>Object.keys(m).reduce((e,t)=>m[t]?"".concat(e,"&").concat(t,"=").concat(encodeURIComponent(m[t])):e,"").replace(/\s/g,"");return(0,i.useEffect)(()=>{let e;let 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(L()),window.location.search){let t=(0,o.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)}j&&fetch(e).then(e=>e.text().then(e=>{if(e&&e.includes("localization-".concat(h))&&N(!0),e&&e.includes("/recaptcha/enterprise.js")){R(!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)}}x(e&&e.split("\x3c!-- FORM: BODY SECTION --\x3e")[1]),"function"==typeof A&&A(!0)}))}},[a,s,j]),(0,i.useEffect)(()=>(P(),b(!0),window.addEventListener("load",P),()=>{window.removeEventListener("load",P),"function"==typeof A&&A(!1)}),[]),(0,i.useEffect)(()=>{window.wFORMS&&window.wFORMS.onLoadHandler&&(null==T?void 0:T.length)&&window.wFORMS.onLoadHandler()},[T]),(0,n.jsxs)(n.Fragment,{children:[window.wFORMS&&(0,n.jsx)(l(),{children:d(v?_:void 0,M)}),!(0,p.S)()&&y&&S?(0,n.jsx)("div",{id:g,className:(0,u.A)(C,E),dangerouslySetInnerHTML:{__html:T}}):null]})}},79965:(e,t,a)=>{a.d(t,{A:()=>u});var n=a(37876);a(14232);var i=a(61261),r=a(72185),o=a(5411),s=a(8733),l=a(46129),d=a(11148),c=a(30053);let p=(0,i.A)(e=>({actionButton:{marginTop:e.spacing(5),padding:e.spacing(2,6)},alertBanner:{backgroundColor:e.palette.primary.light,border:"1px solid ".concat(e.palette.primary.main),color:e.palette.common.black,justifyContent:"center",padding:e.spacing(3,0),textAlign:"center"}})),u=e=>{let{actionButtonText:t,alertMessage:a,gaSection:i}=e,u=p();return(0,n.jsxs)(r.A,{className:u.alertBanner,"data-testid":"shopping-ai-banner",icon:!1,variant:"outlined",role:"alert","aria-live":"assertive",children:[a,(0,n.jsx)(l.N,{"data-testid":"shopping-ai-banner-action-button",href:d._W.index(),children:(0,n.jsx)(o.A,{className:u.actionButton,color:"primary",variant:"outlined",onClick:()=>{(0,c.BI)({payload:{event:"ls_ai_interaction",action:"open ai tool",detail:void 0,section:i,component:"body",element_type:"button",element_text:t||"try it out",link_url:d._W.index(),core_event:"no",user_detail:void 0,event_group:void 0,event_subgroup:void 0,product_id:void 0,product_brand:void 0}})},"aria-label":t?"".concat(t):"Try it out",children:t||(0,n.jsx)(s.A,{id:"TRY_IT_OUT",defaultMessage:"Try It Out"})})})]})}}}]); //# sourceMappingURL=457-9a4f4930968b9d95.js.map