\r\n {isDesktop && (\r\n
\r\n {variant === \"CareInfo\" ? \"Resource Hub\" : variant === \"Query Suggestions\" ? \"Popular Searches\" : variant}\r\n \r\n )}\r\n {!isDesktop && (\r\n
\r\n {variant === \"Categories\"\r\n ? null\r\n : variant === \"CareInfo\"\r\n ? \"Resource Hub \"\r\n : variant === \"Query Suggestions\"\r\n ? \"Popular Searches\"\r\n : variant}\r\n \r\n )}\r\n\r\n {variant !== \"Query Suggestions\" &&\r\n variant !== \"Categories\" &&\r\n (variant === \"Products\" ? (\r\n
\r\n \r\n See All\r\n \r\n \r\n
\r\n ) : (\r\n
\r\n \r\n See All\r\n \r\n \r\n
\r\n ))}\r\n
\r\n );\r\n};\r\n\r\nexport default SearchResultsHeader;\r\n","export default __webpack_public_path__ + \"static/media/noimg.018bd907.jpg\";","import { Box, createStyles, makeStyles, Theme, Typography } from \"@material-ui/core\";\r\nimport { LineItem } from \"ordercloud-javascript-sdk\";\r\nimport React, { Fragment, FunctionComponent, useEffect, useMemo, useState } from \"react\";\r\nimport { min, max } from \"lodash\";\r\nimport { BachmansProduct } from \"../../models/product\";\r\n\r\nimport Currency from \"react-currency-formatter\";\r\n\r\nexport interface ProductPriceProps {\r\n productGroup?: BachmansProduct[];\r\n product?: BachmansProduct;\r\n lineItem?: LineItem;\r\n alignment?: string;\r\n fontSize?: string;\r\n onSaleChange?: (value: string) => void;\r\n}\r\n\r\nconst useStyles = (props: ProductPriceProps) =>\r\n makeStyles((theme: Theme) =>\r\n createStyles({\r\n root: {\r\n margin: \"10px\",\r\n },\r\n containerPrice: {\r\n flex: 0,\r\n [theme.breakpoints.up(\"md\")]: {\r\n flex: \"unset\",\r\n },\r\n },\r\n productPrice: {\r\n color: theme.palette.primary.main,\r\n padding: \"2px\",\r\n fontSize: props?.fontSize ? props.fontSize : \"initial\",\r\n },\r\n retailPrice: {\r\n textDecoration: \"line-through\",\r\n padding: \"2px\",\r\n color: \"grey\",\r\n fontSize: props?.fontSize ? props.fontSize : \"initial\",\r\n fontWeight: theme.typography.fontWeightRegular,\r\n },\r\n })\r\n );\r\nconst ProductPrice: FunctionComponent