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C,EAA0B,gBAC1B,oBAGAC,EAA0B,gBAC1B,oBAGAC,EAAoB,4BAqCpBC,GAhCA,eAcW,UAkBgB,qBACtB,qBAGLC,EAAyB,qBACpB,4DAILC,EAAoB,sBACd,EAAAZ,EAAA,oDAEL,oBAYDa,GALC,eAEW,eAGmB,8CAE1B,gBAGLC,EAA0B,kDAK1BC,EAAsB,2BACX,oBAGXC,EAA6B,kCACX,oBAGlBC,EAAsB,wDAGlB,mRAWI,+DAGA,sCAKRC,EAA8B,gBAC9B,cAGAC,EAAuB,8IAMnB,kHAMI,sCAKRC,EAAiB,+BACF,iDACG,0CAIlBC,EAAsB,4BAItBC,EAAoB,eACrB,cAcCC,GAVW,UACA,UACX,UAIe,UAIc,6BAiC7BC,GA5BW,UAsBX,eAMoBC,GAAqB,+CAE1BA,eAIfC,EAAyB,wD","sources":["webpack://elc-service-prodcat/./src/internal/utils/ProductCTALabels.ts","webpack://elc-service-prodcat/./src/internal/views/product-brief/CTALink.tsx","webpack://elc-service-prodcat/./src/internal/views/product-cta/ProductCTAStyles.ts","webpack://elc-service-prodcat/./src/internal/views/product-cta/AddToCollectionButton.tsx","webpack://elc-service-prodcat/./src/internal/views/product-limited-remaining/LimitedRemainingMessage.tsx","webpack://elc-service-prodcat/./src/internal/views/product-cta/ProductCTALink.tsx","webpack://elc-service-prodcat/./src/internal/views/product-cta/AddToBagButton.tsx","webpack://elc-service-prodcat/./src/internal/views/product-cta/ShopNowButton.tsx","webpack://elc-service-prodcat/./src/internal/views/product-cta/PreorderButton.tsx","webpack://elc-service-prodcat/./src/exported/product-cta/ProductCTA.tsx","webpack://elc-service-prodcat/./src/internal/constants/Price.ts","webpack://elc-service-prodcat/./src/internal/utils/Classes.ts","webpack://elc-service-prodcat/./src/internal/views/product-cta/NotifyMeCTA.tsx","webpack://elc-service-prodcat/./src/internal/constants/SubscriptionTypes.ts","webpack://elc-service-prodcat/./src/internal/views/product-price/ProductPriceRangeDiscount.tsx","webpack://elc-service-prodcat/./src/internal/views/product-price/ProductPriceRangeRow.tsx","webpack://elc-service-prodcat/./src/internal/views/product-price/ProductPrice.tsx","webpack://elc-service-prodcat/./src/internal/views/product-price/ProductPriceFormatted.tsx","webpack://elc-service-prodcat/./src/service-setup/packageInfo.ts","webpack://elc-service-prodcat/./src/theme/default-theme.ts"],"sourcesContent":["import { ITranslationsCollection } from '@estee/elc-service';\nimport { InventoryStatus } from '../../internal/constants/InventoryStatuses';\nimport { IMapping } from '../interfaces/IProductCTA';\n\nexport const buttonLabels = (\n translations: ITranslationsCollection,\n customActiveLabel?: string,\n customPromoLabel?: string\n): IMapping => {\n const {\n addToBagButtonLabel,\n comingSoonButtonLabel,\n outOfStockButtonLabel,\n preOrder,\n soldOutButtonLabel,\n pressedCtaButtonLabel\n } = translations as ITranslationsCollection;\n\n return {\n [InventoryStatus.Active]: customActiveLabel || addToBagButtonLabel,\n [InventoryStatus.ComingSoon]: comingSoonButtonLabel,\n [InventoryStatus.FreePromo]: customPromoLabel || addToBagButtonLabel,\n [InventoryStatus.PreOrder]: preOrder,\n [InventoryStatus.SoldOut]: soldOutButtonLabel,\n [InventoryStatus.TempOutOfStock]: outOfStockButtonLabel,\n [InventoryStatus.OnBag]: pressedCtaButtonLabel\n };\n};\n","// temporary workaround\n// @ts-nocheck\nimport * as React from 'react';\nimport classnames from 'classnames';\nimport { observer } from 'mobx-react';\nimport styled from 'styled-components';\nimport { Subtitle3 } from '@estee/elc-typography';\nimport { Emphasis, ContentSpacing } from '@estee/elc-base-theme';\nimport { SecondaryTextTheme } from '../../../theme/default-theme';\nimport { MPP_PRODUCT_DETAILS } from '../../constants/DataTestIdAttributes';\n\nexport interface ICTALink {\n label: string;\n productUrl?: string;\n onCTALinkClick(): void;\n}\n\nconst StyledProductDetailsLink = styled.a`\n display: block;\n text-transform: uppercase;\n text-decoration: underline;\n cursor: pointer;\n margin-top: ${ContentSpacing.space20};\n overflow-x: hidden;\n ${SecondaryTextTheme};\n`;\n\nexport const CTALink = observer(function CTALink(props: ICTALink) {\n const CTALinkClassNames = classnames('elc-cta-link', 'js-cta-link');\n\n const handleClick = (event: React.MouseEvent) => {\n event.preventDefault();\n props.onCTALinkClick();\n };\n\n return (\n \n \n {props.label}\n \n \n );\n});\n","import styled from 'styled-components';\nimport { ContentSpacing } from '@estee/elc-base-theme';\nimport { Button } from '@estee/elc-buttons';\n// import { Button } from '@elc-online/edl-react';\nimport { CTALink } from '../product-brief/CTALink';\n\nexport const CTAButtonWrapper = styled.div`\n width: 100%;\n`;\n\nexport const StyledCTALink = styled(CTALink)`\n margin-top: ${ContentSpacing.space8};\n`;\n\nexport const StyledButton = styled(Button)`\n width: 100%;\n border: none;\n padding: 0 ${ContentSpacing.space16};\n overflow-x: hidden;\n cursor: pointer;\n`;\n\nexport const StyledShopNowButton = styled(Button)`\n width: 100%;\n margin-right: ${ContentSpacing.space16};\n height: 40px;\n\n [dir='rtl'] & {\n margin-left: ${ContentSpacing.space16};\n margin-right: 0;\n }\n`;\n\nexport const StyledAddToBagButton = styled(Button)`\n margin-right: ${ContentSpacing.space16};\n height: 40px;\n padding: ${ContentSpacing.space10};\n\n [dir='rtl'] & {\n margin-left: ${ContentSpacing.space16};\n margin-right: 0;\n }\n`;\n","import * as React from 'react';\nimport classnames from 'classnames';\nimport { observer } from 'mobx-react';\nimport { action, observable } from 'mobx';\nimport { configConsumer, ITranslationsCollection, translate } from '@estee/elc-service';\nimport { buttonLabels } from '../../utils/ProductCTALabels';\nimport { IAddToCollectionButton, IAddToCollectionConfig } from '../../interfaces/IProductCTA';\nimport { ADD_TO_COLLECTION_BUTTON } from '../../constants/DataTestIdAttributes';\nimport { StyledAddToBagButton } from './ProductCTAStyles';\nimport { InventoryStatus } from '../../constants/InventoryStatuses';\n\n@configConsumer(['translationsOverwrites', 'addToCollectionDataTestId', 'disabled'])\n@translate([\n 'addToCollectionButtonLabel',\n 'addToBagButtonLabel',\n 'comingSoonButtonLabel',\n 'outOfStockButtonLabel',\n 'preOrder',\n 'soldOutButtonLabel'\n])\n@observer\nexport class AddToCollectionButton extends React.Component {\n @observable private buttonLabel = '';\n\n @action\n private onAddToCollectionClick = () => {\n const { onAddToCollectionClick } = this.props;\n onAddToCollectionClick();\n };\n\n @action\n private setButtonLabel = (label: string) => {\n this.buttonLabel = label;\n };\n\n public render() {\n const { disabled, addToCollectionDataTestId, translationsOverwrites } = this.props\n .config as IAddToCollectionConfig;\n const { addingToBag, selectedSku, isOnCollection } = this.props;\n const isDisabled = disabled || !selectedSku.isShoppable || addingToBag;\n const translations = this.props.translations as ITranslationsCollection;\n const { addToCollectionButtonLabel, addedToCartLabel } = translations;\n\n const addToCollectionButtonClassNames = classnames(\n 'elc-add-to-collection-button',\n 'js-add-to-collection-button',\n {\n 'elc-add-to-collection-button-disabled': isDisabled,\n 'js-add-to-collection-button-disabled': isDisabled\n }\n );\n\n const customCtaLabel = translationsOverwrites && translationsOverwrites.ctaButtonLabel;\n const activeButtonLabel = customCtaLabel || addToCollectionButtonLabel;\n const addToCollectionButtonLabels = buttonLabels(\n translationsOverwrites ? translations && translationsOverwrites : translations,\n activeButtonLabel,\n activeButtonLabel\n );\n this.setButtonLabel(\n addingToBag\n ? addedToCartLabel\n : addToCollectionButtonLabels[\n isOnCollection ? InventoryStatus.OnBag : selectedSku.inventoryStatus\n ] || this.buttonLabel\n );\n\n return (\n \n {this.buttonLabel}\n \n );\n }\n}\n","import * as React from 'react';\nimport { observer } from 'mobx-react';\nimport { ITranslationsCollection, translate } from '@estee/elc-service';\nimport { classes } from '../../utils/Classes';\nimport styled from 'styled-components';\nimport { ContentSpacing } from '@estee/elc-base-theme';\nimport { Body2 } from '@estee/elc-typography';\n\nexport interface ILimitedRemainingMessage {\n skuCountRemaining: number;\n translations?: ITranslationsCollection;\n}\n\nconst StyledBlock = styled.div`\n margin: ${ContentSpacing.space24} 0;\n`;\n\nconst buildMessageText = (props: ILimitedRemainingMessage) => {\n const { skuCountRemaining } = props;\n const {\n aFewLeftLabel,\n aFewLeftThresholdRange,\n onlyCountLeftLabel,\n onlyCountLeftThresholdLimit\n } = props.translations as ITranslationsCollection;\n\n const onlyCountLeftNum = Number(onlyCountLeftThresholdLimit) || 0;\n let message = '';\n\n if (onlyCountLeftNum && skuCountRemaining <= onlyCountLeftNum) {\n message = onlyCountLeftLabel.replace(/::COUNT::/gi, skuCountRemaining.toString());\n } else if (aFewLeftThresholdRange) {\n // threshold range is in the format MAX,MIN\n const thresholdRange = aFewLeftThresholdRange.split(',');\n const min = Number(thresholdRange[1]) || 0;\n const max = Number(thresholdRange[0]) || 0;\n\n if (thresholdRange.length === 2 && skuCountRemaining <= max && skuCountRemaining >= min) {\n message = aFewLeftLabel;\n }\n }\n\n return message;\n};\n\nexport const LimitedRemainingMessage: React.FunctionComponent = translate(\n ['aFewLeftLabel', 'aFewLeftThresholdRange', 'onlyCountLeftLabel', 'onlyCountLeftThresholdLimit']\n)(\n observer(function LimitedRemainingMessage(props: ILimitedRemainingMessage) {\n const limitedRemainingBlockClassNames = classes('limited-remaining-block');\n const limitedRemainingMessageClassNames = classes('limited-remaining-message');\n const message = buildMessageText(props);\n\n if (!message) {\n return null;\n }\n\n return (\n \n {message}\n \n );\n })\n);\n","import * as React from 'react';\nimport { observer } from 'mobx-react';\nimport { ITranslationsCollection, translate } from '@estee/elc-service';\nimport { StyledCTALink } from './ProductCTAStyles';\nimport { IProductCTALink } from '../../interfaces/IProductCTA';\n\nexport const ProductCTALink = translate(['ctaLinkLabel'])(\n observer(function ProductCTALink({ navigateToProduct, translations }: IProductCTALink) {\n const { ctaLinkLabel } = translations as ITranslationsCollection;\n\n return ;\n })\n);\n","import * as React from 'react';\nimport classnames from 'classnames';\nimport { observer } from 'mobx-react';\nimport { configConsumer, ITranslationsCollection } from '@estee/elc-service';\nimport { StyledButton } from './ProductCTAStyles';\nimport {\n ADD_TO_BAG_BUTTON,\n ADD_TO_BAG_BUTTON_DISABLED\n} from '../../constants/DataTestIdAttributes';\nimport { buttonLabels } from '../../utils/ProductCTALabels';\nimport { IAddToBagButton } from '../../interfaces/IProductCTA';\nimport ProductPrice from '../product-price/ProductPrice';\nimport { CtaTypes } from '~constants/CTATypes';\nimport { IPriceConfig, IProductsPrice } from '~interfaces/IProductPrice';\n\nexport const AddToBagButton = configConsumer([\n 'addToBagDataTestId',\n 'customAddToBagLabel',\n 'quantity',\n 'addToBag',\n 'showIncludeTaxLabel'\n])(\n observer(function AddToBagButton(props: IAddToBagButton) {\n const {\n addingToCart,\n butttonLabelOverride,\n config,\n disableAddToCart,\n getStickyButtonLabel,\n isShowingSuccessLabel,\n onAddToBagClick,\n selectedSku,\n componentType\n } = props;\n const { addToBagDataTestId, customAddToBagLabel, quantity, addToBag, showIncludeTaxLabel } =\n config;\n const isDisabled = !selectedSku.isShoppable || addingToCart || disableAddToCart;\n const translations = props.translations as ITranslationsCollection;\n const { addToBagButtonLabel, addedToCartLabel } = translations;\n\n const addToBagLabel = customAddToBagLabel || addToBagButtonLabel;\n const addToBagButtonLabels = buttonLabels(translations, addToBagLabel, addToBagLabel);\n\n const CTAButtonLabel = addToBagButtonLabels[selectedSku.inventoryStatus];\n const productCTAButtonLabel = isShowingSuccessLabel ? addedToCartLabel : CTAButtonLabel;\n\n const processedCtaLabel = getStickyButtonLabel(\n butttonLabelOverride || productCTAButtonLabel,\n CtaTypes.ADD_TO_BAG\n );\n\n const addToBagButtonClassNames = classnames({\n 'elc-add-to-bag-button': true,\n 'js-add-to-bag-button': true,\n 'elc-add-to-bag-button-disabled': isDisabled,\n 'js-add-to-bag-button-disabled': isDisabled\n });\n\n const addToBagButtonDataTestId = isDisabled\n ? ADD_TO_BAG_BUTTON_DISABLED\n : addToBagDataTestId || ADD_TO_BAG_BUTTON;\n\n const enablePriceOnAddToBag = addToBag?.price?.enabled;\n let priceProps: IProductsPrice = {\n priceRange: null,\n priceRangeNotDiscounted: null,\n isDiscounted: false,\n formattedOriginalPrice: null,\n formattedPrice: null,\n translations,\n selectedSku,\n componentType\n };\n\n if (enablePriceOnAddToBag) {\n const {\n showIncludeTaxLabel: showIncludeTaxLabelOverride,\n pricePerUnit: pricePerUnitOverride\n } = addToBag?.price as IPriceConfig;\n\n priceProps = {\n ...priceProps,\n showIncludeTaxLabel:\n showIncludeTaxLabelOverride !== undefined\n ? showIncludeTaxLabelOverride\n : showIncludeTaxLabel,\n config:\n pricePerUnitOverride !== undefined\n ? {\n productPricePerUnit: { enabled: pricePerUnitOverride }\n }\n : {}\n };\n }\n\n return (\n \n {processedCtaLabel}\n {enablePriceOnAddToBag && }\n \n );\n })\n);\n","import * as React from 'react';\nimport { observer } from 'mobx-react';\nimport { configConsumer, ITranslationsCollection, translate } from '@estee/elc-service';\nimport { IShopNowButton, IShopNowButtonConfig } from '../../interfaces/IProductCTA';\nimport { StyledShopNowButton } from './ProductCTAStyles';\nimport { classes } from '../../utils/Classes';\n\nexport const ShopNowButton = configConsumer(['translationsOverwrites'])(\n translate(['shopNowButtonLabel'])(\n observer(function ShopNowButton(props: IShopNowButton) {\n const ShopNowButtonClassNames = classes('shop-now-button');\n const { onShopNowClick, translations } = props;\n const { translationsOverwrites } = props.config as IShopNowButtonConfig;\n const { shopNowButtonLabel } = translations as ITranslationsCollection;\n const customCtaLabel = translationsOverwrites && translationsOverwrites.ctaButtonLabel;\n const shopNowLabel = customCtaLabel || shopNowButtonLabel;\n\n return (\n \n {shopNowLabel}\n \n );\n })\n )\n);\n","import * as React from 'react';\nimport classnames from 'classnames';\nimport { observer } from 'mobx-react';\nimport { ITranslationsCollection, translate } from '@estee/elc-service';\nimport { Sku } from '../../domain/entities/Sku';\nimport { StyledButton } from './ProductCTAStyles';\nimport { PREORDER_BUTTON, PREORDER_BUTTON_DISABLED } from '../../constants/DataTestIdAttributes';\nimport { buttonLabels } from '../../utils/ProductCTALabels';\n\nexport interface IPreorderButton {\n preorderAvailabilityLabel(preorderMessage: string): string;\n getStickyButtonLabel(buttonLabel: string): string;\n onPreorderButtonClick(): void;\n selectedSku: Sku;\n translations: ITranslationsCollection;\n}\n\nexport const PreorderButton = translate(['availableOn'])(\n observer(function PreorderButton(props: IPreorderButton) {\n const {\n getStickyButtonLabel,\n onPreorderButtonClick,\n preorderAvailabilityLabel,\n selectedSku,\n translations\n } = props;\n const { isPreorderActive, isPreorderable, isShoppable, inventoryStatus } = selectedSku;\n const isPreorderDisabled = isPreorderable && !isShoppable;\n const { availableOn } = translations as ITranslationsCollection;\n const addToBagButtonLabels = buttonLabels(translations);\n\n const ctaButtonLabel = isPreorderDisabled\n ? preorderAvailabilityLabel(availableOn)\n : getStickyButtonLabel(addToBagButtonLabels[inventoryStatus]);\n\n const addToBagButtonClassNames = classnames({\n 'elc-preorder-button': isPreorderActive,\n 'js-preorder-button': isPreorderActive,\n 'elc-preorder-button-disabled': isPreorderDisabled,\n 'js-preorder-button-disabled': isPreorderDisabled\n });\n\n const addToBagButtonDataTestId =\n (isPreorderDisabled && PREORDER_BUTTON_DISABLED) ||\n (isPreorderActive && PREORDER_BUTTON);\n\n return (\n \n {ctaButtonLabel}\n \n );\n })\n);\n","import * as React from 'react';\nimport { observer } from 'mobx-react';\nimport { InventoryStatus } from '../../internal/constants/InventoryStatuses';\nimport { FIND_IN_STORE_BUTTON } from '@estee/elc-service-view-names';\nimport { ServiceView, translate, addConfig, configConsumer, addContext } from '@estee/elc-service';\nimport { CtaTypes } from '../../internal/constants/CTATypes';\nimport { Sku } from '../../internal/domain/entities/Sku';\nimport { AddToCollectionButton } from '../../internal/views/product-cta/AddToCollectionButton';\nimport { LimitedRemainingMessage } from '../../internal/views/product-limited-remaining/LimitedRemainingMessage';\nimport { NotifyMeCTA, IProductNotifyMeCTA } from '../../internal/views/product-cta/NotifyMeCTA';\nimport { classes } from '../../internal/utils/Classes';\nimport { IProductCTA } from '../../internal/interfaces/IProductCTA';\nimport { ProductCTALink } from '../../internal/views/product-cta/ProductCTALink';\nimport { AddToBagButton } from '../../internal/views/product-cta/AddToBagButton';\nimport { ShopNowButton } from '../../internal/views/product-cta/ShopNowButton';\nimport { PreorderButton } from '../../internal/views/product-cta/PreorderButton';\nimport { CTAButtonWrapper } from '../../internal/views/product-cta/ProductCTAStyles';\nimport { mergeConfigs, mergeProductCTAConfigs } from '../../internal/utils/ConfigUtils';\nimport { serviceName } from '../../service-setup/packageInfo';\nimport { ProductCTAViewController } from '../../internal/controllers/ProductCTAViewController';\nimport { buttonLabels } from '../../internal/utils/ProductCTALabels';\nimport classnames from 'classnames';\n\nexport const enableByInventoryStatus = (enabledByStatus: string[], inventoryStatus: string) => {\n return (\n enabledByStatus.includes(inventoryStatus) ||\n (enabledByStatus.length === 0 && inventoryStatus !== InventoryStatus.SoldOut)\n );\n};\n\ntype ICTAButtons = {\n [key in CtaTypes]?: JSX.Element | null;\n};\n\n@addContext()\n@addConfig(['prodcatConfig', 'features'], mergeConfigs)\n@configConsumer(\n ['waitlist', 'features', 'isCoreSite', 'preorderDateFormat', 'addToBag'],\n mergeProductCTAConfigs\n)\n@translate([\n 'shopNowButtonLabel',\n 'ctaLinkLabel',\n 'addToBagButtonLabel',\n 'addedToCartLabel',\n 'availableOn',\n 'preOrder',\n 'outOfStockButtonLabel',\n 'soldOutButtonLabel',\n 'comingSoonButtonLabel',\n 'taxIncluded'\n])\n@observer\nclass ProductCTA extends React.Component {\n public static displayName: string;\n private viewController: ProductCTAViewController;\n\n constructor(props: IProductCTA) {\n super(props);\n this.viewController = props.viewController;\n this.viewController.initialize(props.config);\n }\n\n public async componentDidMount() {\n await this.viewController.loaded(this.props.config.selectedSku);\n }\n\n componentDidUpdate(prevProps: IProductCTA) {\n const selectedSkuId = this.props.config.selectedSku?.skuId;\n if (selectedSkuId !== prevProps.config.selectedSku?.skuId) {\n this.viewController.setSelectedSkuId(selectedSkuId as string);\n }\n }\n\n private onAddToBagClick = async () => {\n const { addToBag, selectedSku } = this.viewController;\n const {\n skuId = selectedSku.skuId,\n quantity,\n replenishment,\n showSuccessLabel\n } = this.props.config;\n const appliedShowSuccessLabel = showSuccessLabel !== undefined ? showSuccessLabel : true;\n\n await addToBag(skuId, quantity, appliedShowSuccessLabel, replenishment);\n\n if (this.props.config.closeModalAction) {\n setTimeout(this.props.config.closeModalAction, 500);\n }\n };\n\n private onAddToCollectionButtonClick = async () => {\n const { selectedSku } = this.viewController;\n const { quantity, skuId = selectedSku.skuId } = this.props.config;\n\n await this.viewController.addSkuToCollection(skuId, quantity);\n };\n\n private getPreorderButton() {\n const { config: buttonConfig, translations } = this.props;\n const { getStickyButtonLabel, preorderAvailabilityLabel } = this.viewController;\n const selectedSku: Sku = buttonConfig.selectedSku || this.viewController.data.selectedSku;\n\n const ctaProps = {\n onPreorderButtonClick: this.onAddToBagClick,\n getStickyButtonLabel,\n preorderAvailabilityLabel,\n selectedSku: selectedSku,\n translations\n };\n\n return (\n
\n \n
\n );\n }\n\n private getAddToBagButton() {\n const { config, translations } = this.props;\n const selectedSku: Sku = config.selectedSku || this.viewController.data.selectedSku;\n const { getStickyButtonLabel } = this.viewController;\n const {\n isShowingSuccessLabel,\n addingToBag,\n disableAddToBag,\n butttonLabelOverride\n } = this.viewController.data;\n const butttonLabelOverridebyInvetoryStatus =\n butttonLabelOverride && translations\n ? buttonLabels(translations)[selectedSku.inventoryStatus]\n : butttonLabelOverride;\n\n const ctaProps = {\n onAddToBagClick: this.onAddToBagClick,\n getStickyButtonLabel,\n translations,\n selectedSku: selectedSku,\n isShowingSuccessLabel,\n addingToBag,\n disableAddToBag,\n butttonLabelOverride: butttonLabelOverridebyInvetoryStatus,\n componentType: config.componentType\n };\n\n return (\n
\n \n
\n );\n }\n\n private getAddToCollectionButton() {\n const { addingToBag, selectedSku, isOnCollection } = this.viewController.data;\n const { className } = this.props.config;\n\n const addToCollectionProps = {\n onAddToCollectionClick: this.onAddToCollectionButtonClick,\n closeModalAction: this.props.config.closeModalAction,\n translations: this.props.translations,\n selectedSku,\n addingToBag,\n isOnCollection\n };\n\n return (\n
\n \n
\n );\n }\n\n private getFindInStoreButton() {\n const findInStoreClassNames = classes('find-in-store-button');\n const { skuId } = this.props.config;\n\n return (\n
\n \n
\n );\n }\n\n private getShopNowButton() {\n const {\n viewController: { navigateToProduct }\n } = this;\n\n return ;\n }\n\n private getNotifyMeCTA() {\n const selectedSku = this.props.config.selectedSku || this.viewController.data.selectedSku;\n\n const notifyMeCTAProps: IProductNotifyMeCTA = {\n selectedSku: selectedSku\n };\n\n return ;\n }\n\n private getCTAButton() {\n const {\n viewController: {\n data: { ctaType }\n }\n } = this;\n\n const ctaButtons: ICTAButtons = {\n add_to_bag: this.getAddToBagButton(),\n add_to_collection: this.getAddToCollectionButton(),\n default: this.getAddToBagButton(),\n hide_cta: null,\n find_in_store: this.getFindInStoreButton(),\n notify_me: this.getNotifyMeCTA(),\n preorder: this.getPreorderButton(),\n shop_now: this.getShopNowButton()\n };\n\n const ctaButton = ctaButtons[ctaType as CtaTypes];\n\n return ctaButton;\n }\n\n public render() {\n if (!this.viewController.isLoaded) {\n return null;\n }\n\n const { enableProductDetailLink, ctaType } = this.props.config;\n const displayCTAButton = ctaType !== CtaTypes.HIDE_CTA;\n const {\n data: { selectedSku },\n navigateToProduct,\n enableLimitedRemaining\n } = this.viewController;\n const { highVelocityQuantity = 0 } = selectedSku;\n const productCTAButtonWrapperClassNames = classes('product-cta-button-wrapper');\n const ctaTypeClassName = this.props.viewController.sanitizeClassName(\n selectedSku.inventoryStatus\n );\n\n const productCTAWrapperClassNames = classnames(classes('product-cta-wrapper'), {\n [ctaTypeClassName]: true\n });\n\n return (\n
\n {displayCTAButton && (\n \n {this.getCTAButton()}\n \n )}\n {enableProductDetailLink && (\n \n )}\n {enableLimitedRemaining && (\n \n )}\n
\n );\n }\n}\n\nProductCTA.displayName = 'ProductCTA';\n\nexport default ProductCTA;\n","export enum UnitOfMeasureFormatted {\n PRICE = '::PRICE::',\n UNIT_OF_MEASURE = '::UNIT_OF_MEASURE::'\n}\n\nexport const UnitOfMeasureFormattedRegex = {\n PRICE: /::PRICE::/gi,\n UNIT_OF_MEASURE: /::UNIT_OF_MEASURE::/gi\n};\n\nexport const DiscountPercentOff = {\n PERCENT: '::PERCENT::'\n};\n\nexport const DiscountPercentOffRegex = {\n PERCENT: /::PERCENT::/gi\n};\n","import classnames from 'classnames';\n\nexport const classes = (component: string, ...classNames: (string | undefined)[]) =>\n classnames(`elc-${component}`, `js-${component}`, classNames);\n","import * as React from 'react';\nimport { observer } from 'mobx-react';\nimport { PRODUCT_NOTIFY_ME } from '@estee/elc-service-view-names';\nimport { configConsumer, ServiceView } from '@estee/elc-service';\nimport { Sku } from '../../domain/entities/Sku';\nimport { InventoryStatus } from '../../constants/InventoryStatuses';\nimport {\n BACK_IN_STOCK_SUBSCRIPTION,\n COMING_SOON_SUBSCRIPTION\n} from '../../constants/SubscriptionTypes';\nimport { serviceName } from '../../../service-setup/packageInfo';\nimport { IProductNotifyMeCTAConfig } from '~interfaces/IProductCTA';\n\nexport interface IMapping {\n [key: string]: string;\n}\nexport interface IProductNotifyMeCTA {\n ctaType?: string;\n selectedSku: Sku;\n skuId?: string;\n config?: IProductNotifyMeCTAConfig;\n customNotifyMeLabel?: string;\n}\n@configConsumer(['enableNotifyMe', 'waitlist', 'compliance', 'customNotifyMeLabel'])\n@observer\nexport class NotifyMeCTA extends React.Component {\n private notifyMeSubscriptionType(inventoryStatus: string) {\n const subscriptionTypes: IMapping = {\n [InventoryStatus.TempOutOfStock]: BACK_IN_STOCK_SUBSCRIPTION,\n [InventoryStatus.ComingSoon]: COMING_SOON_SUBSCRIPTION\n };\n\n return subscriptionTypes[inventoryStatus] || '';\n }\n\n public render() {\n const { config, selectedSku, customNotifyMeLabel, ctaType } = this.props;\n const { enableNotifyMe, waitlist, compliance } = config as IProductNotifyMeCTAConfig;\n\n const {\n skuId,\n partialParentProduct,\n inventoryStatus,\n perlgem: { SKU_BASE_ID }\n } = selectedSku;\n\n const { displayName, productUrl } = partialParentProduct;\n\n const notifyMeConfig = {\n productDisplayName: displayName,\n productUrl: productUrl,\n productImageUrl: partialParentProduct.defaultImage.src,\n skuId: skuId,\n subscriptionType: this.notifyMeSubscriptionType(inventoryStatus),\n altText: partialParentProduct.defaultImage.alt,\n compliance,\n enableNotifyMe,\n waitlist,\n skuBaseId: SKU_BASE_ID,\n zIndex: '100001',\n customNotifyMeLabel,\n ctaType\n };\n\n return (\n \n );\n }\n}\n","export const BACK_IN_STOCK_SUBSCRIPTION = 'backinstock';\nexport const COMING_SOON_SUBSCRIPTION = 'comingsoon';\n","import * as React from 'react';\nimport classnames from 'classnames';\nimport styled from 'styled-components';\nimport { observer } from 'mobx-react';\nimport { ContentSpacing } from '@estee/elc-base-theme';\nimport { ITranslationsCollection, translate } from '@estee/elc-service';\nimport { DiscountPercentOff } from '../../constants/Price';\n\nexport interface IProductPriceRangeDiscount {\n className?: string;\n maxDiscountPercent: number;\n translations?: ITranslationsCollection;\n}\n\nconst ProductPriceRangeDiscountWrapper = styled.span`\n margin: 0 0 0 ${ContentSpacing.space8};\n\n [dir='rtl'] & {\n margin: 0 ${ContentSpacing.space8} 0 0;\n }\n`;\n\nconst buildRangeDiscountText = (props: IProductPriceRangeDiscount) => {\n const { maxDiscountPercent, translations } = props;\n const { discountedPriceRangePercentMessage } = translations as ITranslationsCollection;\n\n return discountedPriceRangePercentMessage.replace(\n DiscountPercentOff.PERCENT,\n maxDiscountPercent\n );\n};\n\nexport const ProductPriceRangeDiscount = translate(['discountedPriceRangePercentMessage'])(\n observer(function ProductPriceRangeDiscount(props: IProductPriceRangeDiscount) {\n const productPriceRangeDiscountClassNames = classnames(\n 'elc-product-price-range-discount',\n 'js-product-price-range-discount',\n props.className\n );\n\n const rangeDiscountMessage = buildRangeDiscountText(props);\n\n return (\n \n );\n })\n);\n","import * as React from 'react';\nimport { observer } from 'mobx-react';\nimport styled from 'styled-components';\nimport classnames from 'classnames';\nimport { ContentSpacing, breakpoint } from '@estee/elc-base-theme';\nimport { Subtitle1 } from '@estee/elc-typography';\nimport { ProductPriceTheme } from '../../../theme/default-theme';\nimport { PRODUCT_PRICE_RANGE } from '../../constants/DataTestIdAttributes';\nimport { IPriceRangeData } from '../../domain/entities/Price';\nimport { ProductPriceRangeDiscount } from '../product-price/ProductPriceRangeDiscount';\n\nexport interface IProductPriceRangeRowWrapper {\n className?: string;\n}\n\nexport interface IProductPriceRangeRow extends IProductPriceRangeRowWrapper {\n priceRange: IPriceRangeData;\n priceRangeNotDiscounted: IPriceRangeData | null;\n isDiscounted: boolean;\n isDiscountedPriceRangeEnabled: boolean;\n formattedOriginalPrice: string | null;\n formattedPrice: string | null;\n}\n\nconst ProductPriceRangeRowWrapper = styled.div`\n margin: ${ContentSpacing.space16} 0;\n ${breakpoint('desktop')`\n margin: 0;\n `};\n`;\n\nconst ProductPriceRange = styled(Subtitle1)`\n ${ProductPriceTheme};\n`;\n\nconst ProductPriceRangeNotDiscounted = styled(Subtitle1)`\n ${ProductPriceTheme};\n`;\n\nexport const ProductPriceRangeRow = observer(function ProductPriceRangeRow(\n props: IProductPriceRangeRow\n) {\n const productPriceRangeRowWrapperClassNames = classnames(\n 'elc-product-price-range-row-wrapper',\n 'js-product-price-range-row-wrapper'\n );\n\n const productPriceRangeClassNames = classnames(\n 'elc-product-price-range',\n 'js-product-price-range'\n );\n\n const productPriceRangeNotDiscountedClassNames = classnames(\n 'elc-product-price-range-not-discounted',\n 'js-product-price-range-not-discounted'\n );\n\n const {\n priceRange,\n priceRangeNotDiscounted,\n isDiscounted,\n formattedOriginalPrice,\n formattedPrice,\n isDiscountedPriceRangeEnabled\n } = props;\n const { formattedMinPrice, formattedMaxPrice, maxDiscountPercent } = priceRange;\n\n return (\n \n {isDiscounted && isDiscountedPriceRangeEnabled && priceRangeNotDiscounted && (\n \n {priceRangeNotDiscounted.formattedMinPrice} -{' '}\n {priceRangeNotDiscounted.formattedMaxPrice}\n \n )}\n \n {formattedMinPrice} - {formattedMaxPrice}\n {!!maxDiscountPercent && (\n \n )}\n \n \n );\n});\n","import * as React from 'react';\nimport { observer } from 'mobx-react';\nimport { classes } from '../../utils/Classes';\nimport { ProductPriceFormatted } from './ProductPriceFormatted';\nimport { ProductPriceRangeRow } from './ProductPriceRangeRow';\nimport { IProductPriceRangeConfig, IProductsPrice } from '../../interfaces/IProductPrice';\nimport {\n ONSALE_TODAY_LABEL,\n PRODUCT_PRICE_PER_UNIT,\n TAX_INCLUDED\n} from '../../constants/DataTestIdAttributes';\nimport { PriceFormatted } from '@estee/elc-formatters';\nimport { configConsumer, ITranslationsCollection } from '@estee/elc-service';\nimport { UnitOfMeasureFormattedRegex } from '../../constants/Price';\nimport { getConfigOverrides, getResponsiveConfig } from '../../utils/ConfigUtils';\nimport { Sku } from '../../domain/entities/Sku';\nimport { Breakpoints } from '@estee/elc-base-theme';\nimport { Desktop, Mobile } from '@estee/elc-layouts';\n\nconst productPricePerUnitRowWrapperClassNames = classes('product-price-per-unit-row-wrapper');\nconst productPricePerUnitClassNames = classes('product-price-per-unit');\nconst taxIncludedLabelWrapper = classes('product-tax-included-label-wrapper');\nconst onSaleTodayLabelWrapper = classes('on-sale-today-label-wrapper');\n\nexport interface IFormattedPriceTextProps {\n selectedSku: Sku;\n translations?: ITranslationsCollection;\n priceTagElement?: keyof JSX.IntrinsicElements;\n}\n\nexport const buildFormattedPriceText = (props: IFormattedPriceTextProps) => {\n const { selectedSku, translations } = props;\n const { discountedPricePerUnitMessage = '' } = translations as ITranslationsCollection;\n const { formattedPricePerUnit, unitSizeFormatted } = selectedSku;\n\n return discountedPricePerUnitMessage\n .replace(UnitOfMeasureFormattedRegex.PRICE, formattedPricePerUnit)\n .replace(UnitOfMeasureFormattedRegex.UNIT_OF_MEASURE, unitSizeFormatted);\n};\n\n@configConsumer([\n 'hideProductPriceRange',\n 'hideProductPricePerUnit',\n 'productPriceRange',\n 'sitewideOnsaleMessage',\n 'productPricePerUnit'\n])\n@observer\nexport class ProductPrice extends React.Component {\n private getProductPriceOrPriceRange() {\n const {\n priceRange,\n priceRangeNotDiscounted,\n formattedOriginalPrice,\n formattedPrice,\n isDiscounted,\n componentType,\n selectedSku,\n translations = {},\n priceTagElement,\n config: { hideProductPriceRange, productPriceRange } = {}\n } = this.props;\n\n let productPriceRangeConfig: IProductPriceRangeConfig = { enabled: !hideProductPriceRange };\n let productPriceRangeDesktopConfig: IProductPriceRangeConfig | undefined;\n\n if (productPriceRange) {\n const { overrides, ...priceRangeConfig } = productPriceRange;\n\n productPriceRangeConfig = overrides\n ? { ...priceRangeConfig, ...overrides[componentType] }\n : priceRangeConfig;\n\n const { responsive } = productPriceRangeConfig;\n\n productPriceRangeDesktopConfig = responsive\n ? {\n ...productPriceRangeConfig,\n ...getResponsiveConfig(Breakpoints.desktop, responsive)\n }\n : productPriceRangeConfig;\n }\n const responsiveConfig =\n productPriceRangeDesktopConfig && productPriceRangeDesktopConfig.responsive;\n\n const showProductPriceRange = productPriceRangeConfig\n ? productPriceRangeConfig.enabled\n : !hideProductPriceRange;\n\n const showProductPriceRangeDesktop = productPriceRangeDesktopConfig\n ? productPriceRangeDesktopConfig.enabled\n : !hideProductPriceRange;\n\n const isDiscountedPriceRangeEnabled =\n productPriceRangeConfig?.discountedPriceRange || false;\n\n const responsivePriceRangeConfig =\n responsiveConfig && showProductPriceRange === showProductPriceRangeDesktop\n ? false\n : responsiveConfig;\n\n const productPriceFormatted = (\n \n );\n\n const productPriceRangeRow = priceRange ? (\n \n ) : null;\n\n return priceRange && (showProductPriceRange || showProductPriceRangeDesktop) ? (\n responsivePriceRangeConfig ? (\n <>\n \n {() => {\n return (\n <>\n {!showProductPriceRange &&\n showProductPriceRangeDesktop &&\n productPriceRangeRow}\n {showProductPriceRange &&\n !showProductPriceRangeDesktop &&\n productPriceFormatted}\n \n );\n }}\n \n \n {() => {\n return (\n <>\n {!showProductPriceRange &&\n showProductPriceRangeDesktop &&\n productPriceFormatted}\n {showProductPriceRange &&\n !showProductPriceRangeDesktop &&\n productPriceRangeRow}\n \n );\n }}\n \n \n ) : (\n showProductPriceRange && productPriceRangeRow\n )\n ) : (\n productPriceFormatted\n );\n }\n public render() {\n const {\n showIncludeTaxLabel,\n componentType,\n selectedSku,\n translations = {},\n config: { hideProductPricePerUnit, sitewideOnsaleMessage, productPricePerUnit } = {}\n } = this.props;\n\n const sitewideOnsaleMessageConfig = getConfigOverrides(\n sitewideOnsaleMessage,\n componentType\n );\n const { taxIncluded, onSaleTodayLabel } = translations as ITranslationsCollection;\n const { enabled: enableSitewideOnSaleMessage } = sitewideOnsaleMessageConfig || {};\n const { formattedPricePerUnit: skuFormattedPricePerUnit, sitewideDiscount } = selectedSku;\n\n const formattedPricePerUnit = sitewideDiscount\n ? buildFormattedPriceText({ selectedSku, translations })\n : skuFormattedPricePerUnit;\n\n const showSitewideOnSaleMessage = enableSitewideOnSaleMessage && sitewideDiscount;\n\n const showProductPricePerUnit = productPricePerUnit\n ? getConfigOverrides(productPricePerUnit, componentType).enabled\n : !hideProductPricePerUnit;\n\n return (\n <>\n {showIncludeTaxLabel && (\n
\n {taxIncluded}\n
\n )}\n {showSitewideOnSaleMessage && (\n
\n {onSaleTodayLabel}\n
\n )}\n {this.getProductPriceOrPriceRange()}\n {showProductPricePerUnit && formattedPricePerUnit && (\n \n \n \n )}\n \n );\n }\n}\n\nexport default ProductPrice;\n","import * as React from 'react';\nimport { observer } from 'mobx-react';\nimport styled from 'styled-components';\nimport { DISCOUNT_PERCENT, PRODUCT_PRICE } from '../../constants/DataTestIdAttributes';\nimport { classes } from '../../utils/Classes';\nimport { ContentSpacing } from '@estee/elc-base-theme';\nimport { PriceFormatted } from '@estee/elc-formatters';\nimport { Sku } from '../../domain/entities/Sku';\nimport { ITranslationsCollection } from '@estee/elc-service';\nimport { Body2 } from '@estee/elc-typography';\nimport { DiscountPercentOff } from '../../constants/Price';\n\nexport interface IPriceFormatted {\n className?: string;\n selectedSku: Sku;\n translations?: ITranslationsCollection;\n priceTagElement?: keyof JSX.IntrinsicElements;\n}\n\nconst buildDiscountPercentText = (props: IPriceFormatted) => {\n const { selectedSku, translations } = props;\n const { discountPercentLabel = '' } = translations as ITranslationsCollection;\n const { sitewideDiscount } = selectedSku;\n const { discountPercent } = sitewideDiscount || {};\n\n return discountPercentLabel.replace(DiscountPercentOff.PERCENT, discountPercent);\n};\n\nexport const ProductPriceFormatted = observer(function ProductPriceFormatted(\n props: IPriceFormatted\n) {\n const productPriceRowWrapperClassNames = classes(\n 'product-price-row-wrapper',\n 'product-full-price-wrapper'\n );\n const productOriginalPriceClassNames = classes('product-original-price');\n const productPriceClassNames = classes('product-price');\n const discountPercentLabelClassNames = classes('discount-percent-label');\n\n const ProductPriceRowWrapper = styled.div`\n display: inline-block;\n margin-right: ${ContentSpacing.space16};\n `;\n\n const {\n selectedSku: { formattedPrice, formattedOriginalPrice, sitewideDiscount }\n } = props;\n const { priceTagElement } = props;\n const discountPercentLabel = sitewideDiscount && buildDiscountPercentText(props);\n\n return (\n \n \n {discountPercentLabel && (\n \n )}\n {formattedPrice && (\n \n )}\n \n );\n});\n","const { name, version } = __serviceInfo__;\nexport { name as serviceName, version };\n","import { Colors, ContentSpacing, Fonts } from '@estee/elc-base-theme';\n\nexport const SelectedSizeBoxTheme = `\n background-color: ${Colors.primary900};\n color: ${Colors.white};\n`;\n\nexport const SelectedFilterButtonTheme = `\n background-color: ${Colors.black};\n border-color: ${Colors.black};\n color: ${Colors.white};\n border-radius: 4px;\n border: 1px solid;\n`;\n\nexport const UnselectedFilterButtonTheme = `\n background-color: ${Colors.white};\n border-color: ${Colors.black};\n color: ${Colors.black}\n border-radius: 4px;\n border: 1px solid;\n`;\n\nexport const SizeBoxTheme = `\n border-color: ${Colors.black};\n`;\n\nexport const UppercaseTheme = `\n text-transform: uppercase;\n`;\n\nexport const LowercaseTheme = `\n text-transform: lowercase;\n`;\n\nexport const FilterListItemTheme = `\n color: ${Colors.primary700};\n ${UppercaseTheme}\n`;\nexport const SelectedFilterListItemTheme = `\n ${UppercaseTheme}\n`;\n\nexport const SelectedCategoryTheme = `\n color: ${Colors.blackHighEmphasis}\n`;\n\nexport const UnselectedCategoryTheme = `\n color: ${Colors.blackMediumEmphasis}\n`;\n\nexport const shadeRemoveIconTheme = `\n stroke: ${Colors.white};\n filter: drop-shadow(0 0 1px ${Colors.primary800});\n`;\n\nexport const sizeLabelThemeDropdown = `\n color: ${Colors.blackMediumEmphasis};\n font-family: ${Fonts.robotoMedium};\n font-size: 14px;\n font-weight: bold;\n letter-spacing: 0.25px;\n line-height: ${ContentSpacing.space24};\n`;\n\nexport const sizePickerLabelThemeDropdown = `\n color: ${Colors.blackMediumEmphasis};\n font-family: ${Fonts.roboto};\n font-weight: normal;\n line-height: ${ContentSpacing.space20};\n`;\n\nexport const sizeLabelTheme = `\n font-weight: bold;\n`;\n\nexport const sizePickerLabelTheme = `\n font-weight: bold;\n line-height: 1;\n color: ${Colors.blackDisabledEmphasis};\n`;\n\nexport const SecondaryTextTheme = `\n color: ${Colors.primary700};\n`;\n\nexport const BorderTopTheme = `\n border-top: 1px solid ${Colors.primary400};\n`;\n\nexport const BorderBottomTheme = `\n border-bottom: 1px solid ${Colors.primary400};\n`;\n\nexport const MainColumnTheme = `\n background: ${Colors.primary100};\n`;\n\nexport const SideColumnTheme = `\n background: ${Colors.white};\n box-shadow: ${ContentSpacing.space4} 0 ${ContentSpacing.space4} 0 ${Colors.blackLightEmphasis};\n`;\n\nexport const StickyRowTheme = `\n background: ${Colors.white};\n box-shadow: 0 1px 0 0 ${Colors.blackLightEmphasis};\n`;\n\nexport const ColorWhiteTheme = `\n color: ${Colors.white};\n`;\n\nexport const BackgroundWhiteTheme = `\n background: ${Colors.white};\n`;\n\nexport const IconStrokeTheme = `\n stroke: ${Colors.primary700};\n stroke-width: 2px;\n`;\n\nexport const ColumnHeadingTheme = `\n font-weight: bold;\n`;\n\nexport const FilterHeadingTheme = `\n font-weight: normal;\n text-transform: uppercase;\n`;\n\nexport const ProductBriefShadowTheme = `\n box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);\n &:hover {\n box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.2);\n }\n`;\n\nexport const ProductDisplayNameTheme = `\n a {\n text-decoration: none;\n color: ${Colors.primary900};\n\n &:hover {\n text-decoration: underline;\n }\n }\n`;\n\nexport const ProductSublineNameTheme = `\n color: ${Colors.primary900};\n`;\n\nexport const ProductDescriptionTheme = `\n color: ${Colors.primary900};\n`;\n\nexport const ProductPriceTheme = `\n font-weight: 600;\n`;\n\nexport const ProductDiscountedPriceTheme = `\n color: ${Colors.primary400};\n text-decoration: line-through;\n`;\n\nexport const HorizontalFilterButtonTheme = `\n text-transform: capitalize;\n text-align: left;\n\n [dir='rtl'] & {\n text-align: right;\n }\n`;\n\nexport const ProductBadgeWrapperTheme = `\n background-color: ${Colors.white};\n border-style: solid;\n border-color: $dim-grey;\n color: $dim-grey;\n font-weight: bold;\n font-size: 0.9em;\n text-transform: uppercase;\n letter-spacing: -1px;\n line-height: 1;\n box-shadow: 0 0 0 2px $color-white;\n`;\n\nexport const ProductBadgeTextTheme = `\n font-size: 8px;\n line-height: 1;\n letter-spacing: 0;\n`;\n\nexport const ProductPromoMessageTheme = `\n background: ${Colors.primary200};\n`;\n\nexport const ProductCTAWrapperTheme = `\n background: ${Colors.white};\n box-shadow: 0 0 4px 1px rgba(0,0,0,.2);\n`;\n\nexport const MobileSelectTheme = `\n font-family: ${Fonts.robotoMedium};\n font-size: 14px;\n color: ${Colors.primary700};\n`;\n\nexport const MobileSelectArrowTheme = `\n font-size: 12px;\n line-height: 1;\n text-align: center;\n color: ${Colors.primary700};\n border-left-style: solid;\n border-left-color: ${Colors.primary700};\n`;\n\nexport const StickyAddToBagContainerTheme = `\n text-align: center;\n background: ${Colors.white};\n`;\n\nexport const ShadeOverlayHeaderTheme = `\n font-size: 16px;\n font-weight: 700;\n`;\n\nexport const BackgroundGrayTheme = `\n background-color: ${Colors.primary100};\n`;\n\nexport const ShadeSliderPaginationTheme = `\n border-bottom: 1px solid ${Colors.primary300};\n`;\n\nexport const ShadeSliderDotTheme = `\n p {\n font-weight: 700;\n color: ${Colors.primary500};\n }\n\n .slick-active & {\n &::before {\n display: block;\n font-family: 'slick';\n font-size: 24px;\n line-height: 0;\n content: '•';\n text-align: center;\n color: ${Colors.primary500};\n }\n p {\n color: ${Colors.primary800};\n }\n }\n`;\n\nexport const InventoryStatusMessageTheme = `\n color: ${Colors.info};\n`;\n\nexport const ScrollSliderDotTheme = `\n &::before {\n font-family: 'slick';\n font-size: 32px;\n line-height: 0;\n content: '•';\n color: ${Colors.primary300};\n text-align: center;\n }\n\n &.active {\n &::before {\n color: ${Colors.primary600};\n }\n }\n`;\n\nexport const ShadeItemTheme = `\n border-top: 1px solid ${Colors.primary300};\n border-bottom: 1px solid ${Colors.primary300};\n font-size: 20px;\n`;\n\nexport const ColorFamilyRowTheme = `\n font-weight: 700;\n`;\n\nexport const StyledOkIconTheme = `\n fill: ${Colors.white}\n`;\n\nexport const ShadeOverlayButtonTheme = `\n background-color: ${Colors.white};\n border: 1px solid ${Colors.black};\n color: ${Colors.black};\n border-radius: 5px;\n\n &:hover {\n background-color: ${Colors.white};\n }\n font-weight: 700;\n`;\nexport const SidebarDetailsHeadingTheme = `\n font-weight: 700;\n`;\n\nexport const SelectedSwatchTheme = `\n border: 2px solid ${Colors.black}\n`;\n\nexport const StickyAddToBagProductInfoTheme = `\n font-weight: 700;\n`;\n\nexport const AutoReplenishDropdownTheme = `\n .elc-dropdown-wrapper {\n border: 0;\n }\n\n .elc-dropdown-arrow {\n border: 0;\n }\n\n .elc-dropdown-options {\n border: 0;\n }\n`;\n\nexport const StyledAnchorTheme = `\n color: ${Colors.primary500};\n &:hover {\n font-weight: bold;\n }\n`;\n\nexport const smooshImageTheme = (hexValue: string) => `\n .elc-img {\n background-color: ${hexValue};\n }\n`;\n\nexport const ProductZoomButtonTheme = `\n background-color: transparent;\n border: 0;\n`;\n"],"names":["buttonLabels","translations","customActiveLabel","customPromoLabel","addToBagButtonLabel","comingSoonButtonLabel","outOfStockButtonLabel","preOrder","soldOutButtonLabel","pressedCtaButtonLabel","StyledProductDetailsLink","ContentSpacing","CTALink","observer","props","CTALinkClassNames","href","productUrl","title","label","onClick","event","preventDefault","onCTALinkClick","className","emphasis","Emphasis","CTAButtonWrapper","StyledCTALink","StyledButton","Button","StyledShopNowButton","StyledAddToBagButton","AddToCollectionButton","buttonLabel","onAddToCollectionClick","this","setButtonLabel","render","disabled","addToCollectionDataTestId","translationsOverwrites","config","addingToBag","selectedSku","isOnCollection","isDisabled","isShoppable","addToCollectionButtonLabel","addedToCartLabel","addToCollectionButtonClassNames","activeButtonLabel","ctaButtonLabel","addToCollectionButtonLabels","inventoryStatus","StyledBlock","LimitedRemainingMessage","limitedRemainingBlockClassNames","limitedRemainingMessageClassNames","message","skuCountRemaining","aFewLeftLabel","aFewLeftThresholdRange","onlyCountLeftLabel","onlyCountLeftThresholdLimit","onlyCountLeftNum","Number","replace","toString","thresholdRange","split","min","max","length","buildMessageText","ProductCTALink","navigateToProduct","ctaLinkLabel","AddToBagButton","addingToCart","butttonLabelOverride","disableAddToCart","getStickyButtonLabel","isShowingSuccessLabel","onAddToBagClick","componentType","addToBagDataTestId","customAddToBagLabel","quantity","addToBag","showIncludeTaxLabel","addToBagLabel","CTAButtonLabel","productCTAButtonLabel","processedCtaLabel","addToBagButtonClassNames","addToBagButtonDataTestId","enablePriceOnAddToBag","price","enabled","priceProps","priceRange","priceRangeNotDiscounted","isDiscounted","formattedOriginalPrice","formattedPrice","showIncludeTaxLabelOverride","pricePerUnit","pricePerUnitOverride","productPricePerUnit","ProductPrice","ShopNowButton","ShopNowButtonClassNames","onShopNowClick","shopNowButtonLabel","shopNowLabel","PreorderButton","onPreorderButtonClick","preorderAvailabilityLabel","isPreorderActive","isPreorderable","isPreorderDisabled","availableOn","addToBagButtonLabels","enableByInventoryStatus","enabledByStatus","includes","ProductCTA","constructor","super","viewController","skuId","replenishment","showSuccessLabel","appliedShowSuccessLabel","closeModalAction","setTimeout","onAddToCollectionButtonClick","addSkuToCollection","initialize","componentDidMount","loaded","componentDidUpdate","prevProps","selectedSkuId","setSelectedSkuId","getPreorderButton","buttonConfig","data","ctaProps","getAddToBagButton","disableAddToBag","butttonLabelOverridebyInvetoryStatus","getAddToCollectionButton","addToCollectionProps","getFindInStoreButton","findInStoreClassNames","ServiceView","name","serviceName","getShopNowButton","getNotifyMeCTA","notifyMeCTAProps","NotifyMeCTA","getCTAButton","ctaType","add_to_bag","add_to_collection","default","hide_cta","find_in_store","notify_me","preorder","shop_now","isLoaded","enableProductDetailLink","displayCTAButton","enableLimitedRemaining","highVelocityQuantity","productCTAButtonWrapperClassNames","ctaTypeClassName","sanitizeClassName","productCTAWrapperClassNames","addContext","addConfig","displayName","UnitOfMeasureFormattedRegex","PRICE","UNIT_OF_MEASURE","DiscountPercentOff","PERCENT","classes","component","classNames","notifyMeSubscriptionType","customNotifyMeLabel","enableNotifyMe","waitlist","compliance","partialParentProduct","perlgem","SKU_BASE_ID","notifyMeConfig","productDisplayName","productImageUrl","defaultImage","src","subscriptionType","altText","alt","skuBaseId","zIndex","ProductPriceRangeDiscountWrapper","ProductPriceRangeDiscount","productPriceRangeDiscountClassNames","rangeDiscountMessage","maxDiscountPercent","discountedPriceRangePercentMessage","buildRangeDiscountText","dangerouslySetInnerHTML","__html","ProductPriceRangeRowWrapper","ProductPriceRange","ProductPriceRangeNotDiscounted","ProductPriceRangeRow","productPriceRangeRowWrapperClassNames","productPriceRangeClassNames","productPriceRangeNotDiscountedClassNames","isDiscountedPriceRangeEnabled","formattedMinPrice","formattedMaxPrice","productPricePerUnitRowWrapperClassNames","productPricePerUnitClassNames","taxIncludedLabelWrapper","onSaleTodayLabelWrapper","getProductPriceOrPriceRange","priceTagElement","hideProductPriceRange","productPriceRange","productPriceRangeDesktopConfig","productPriceRangeConfig","overrides","priceRangeConfig","responsive","Breakpoints","responsiveConfig","showProductPriceRange","showProductPriceRangeDesktop","discountedPriceRange","responsivePriceRangeConfig","productPriceFormatted","ProductPriceFormatted","productPriceRangeRow","minWidth","maxWidth","hideProductPricePerUnit","sitewideOnsaleMessage","sitewideOnsaleMessageConfig","taxIncluded","onSaleTodayLabel","enableSitewideOnSaleMessage","formattedPricePerUnit","skuFormattedPricePerUnit","sitewideDiscount","discountedPricePerUnitMessage","unitSizeFormatted","buildFormattedPriceText","showSitewideOnSaleMessage","showProductPricePerUnit","PriceFormatted","priceTag","productPriceRowWrapperClassNames","productOriginalPriceClassNames","productPriceClassNames","discountPercentLabelClassNames","ProductPriceRowWrapper","discountPercentLabel","discountPercent","buildDiscountPercentText","version","SelectedSizeBoxTheme","SizeBoxTheme","UppercaseTheme","SelectedCategoryTheme","UnselectedCategoryTheme","sizeLabelThemeDropdown","F","sizePickerLabelThemeDropdown","sizeLabelTheme","sizePickerLabelTheme","SecondaryTextTheme","BackgroundWhiteTheme","ProductDisplayNameTheme","ProductSublineNameTheme","ProductDescriptionTheme","ProductPriceTheme","ProductPromoMessageTheme","ProductCTAWrapperTheme","MobileSelectTheme","StickyAddToBagContainerTheme","ShadeOverlayHeaderTheme","BackgroundGrayTheme","ShadeSliderPaginationTheme","ShadeSliderDotTheme","InventoryStatusMessageTheme","ScrollSliderDotTheme","ShadeItemTheme","ColorFamilyRowTheme","StyledOkIconTheme","SidebarDetailsHeadingTheme","smooshImageTheme","hexValue","ProductZoomButtonTheme"],"sourceRoot":""}