@trafilea/afrodita-components 7.8.2 → 7.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/build/es/components/collection/index.js +1 -1
  2. package/build/es/components/collection/product/mobile/ProductItemMobile.js +1 -1
  3. package/build/es/components/collection/product/truekind/ProductItemTK.js +1 -1
  4. package/build/es/components/collection/product/truekind/styled.js +1 -1
  5. package/build/es/components/icons/Custom/Eye.js +2 -0
  6. package/build/es/components/icons/Custom/Eye.js.map +1 -0
  7. package/build/es/components/icons/Custom/index.js +1 -1
  8. package/build/es/components/molecules/BenefitsList/BenefitsList.js +1 -1
  9. package/build/es/components/molecules/CouponCard/CouponCard.js +1 -1
  10. package/build/es/components/molecules/LikeButton/LikeButton.js +1 -1
  11. package/build/es/components/molecules/OfferAtCartBenefits/OfferAtCartBenefits.js +1 -1
  12. package/build/es/components/organisms/AutoshipPdpCard/AutoshipPdpCard.js +1 -1
  13. package/build/es/components/organisms/OfferAtCart/OfferAtCart.js +1 -1
  14. package/build/es/components/organisms/OfferAtCartV2/OfferAtCartV2.js +1 -1
  15. package/build/es/components/organisms/OfferAtCartV4/OfferAtCartV4.js +1 -1
  16. package/build/es/components/organisms/OfferAtPDP/OfferAtPDP.js +1 -1
  17. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ImageProductSlideV3.js +1 -1
  18. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/index.js +1 -1
  19. package/build/es/components/organisms/SubscriptionPlanSelector/SubscriptionPlanSelector.js +1 -1
  20. package/build/es/components/organisms/TwoCtasAtCart/TwoCtasAtCart.js +1 -1
  21. package/build/es/components/pricing/price/PriceLabel.js +1 -1
  22. package/build/es/components/product/order/item/SimpleOrderItem.js +1 -1
  23. package/build/es/components/tag/variants/product/ProductTag.js +2 -0
  24. package/build/es/components/tag/variants/product/ProductTag.js.map +1 -0
  25. package/build/es/components/tag/variants/product/styled.js +2 -0
  26. package/build/es/components/tag/variants/product/styled.js.map +1 -0
  27. package/build/es/components/totals/total/Total.js +1 -1
  28. package/build/es/components/totals/total/styled.js +1 -1
  29. package/build/es/index.js +1 -1
  30. package/build/index.d.ts +35 -11
  31. package/build/lib/components/collection/index.js +1 -1
  32. package/build/lib/components/collection/product/mobile/ProductItemMobile.js +1 -1
  33. package/build/lib/components/collection/product/truekind/ProductItemTK.js +1 -1
  34. package/build/lib/components/collection/product/truekind/styled.js +1 -1
  35. package/build/lib/components/icons/Custom/Eye.js +2 -0
  36. package/build/lib/components/icons/Custom/Eye.js.map +1 -0
  37. package/build/lib/components/icons/Custom/index.js +1 -1
  38. package/build/lib/components/molecules/BenefitsList/BenefitsList.js +1 -1
  39. package/build/lib/components/molecules/CouponCard/CouponCard.js +1 -1
  40. package/build/lib/components/molecules/LikeButton/LikeButton.js +1 -1
  41. package/build/lib/components/molecules/OfferAtCartBenefits/OfferAtCartBenefits.js +1 -1
  42. package/build/lib/components/organisms/AutoshipPdpCard/AutoshipPdpCard.js +1 -1
  43. package/build/lib/components/organisms/OfferAtCart/OfferAtCart.js +1 -1
  44. package/build/lib/components/organisms/OfferAtCartV2/OfferAtCartV2.js +1 -1
  45. package/build/lib/components/organisms/OfferAtCartV4/OfferAtCartV4.js +1 -1
  46. package/build/lib/components/organisms/OfferAtPDP/OfferAtPDP.js +1 -1
  47. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ImageProductSlideV3.js +1 -1
  48. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/index.js +1 -1
  49. package/build/lib/components/organisms/SubscriptionPlanSelector/SubscriptionPlanSelector.js +1 -1
  50. package/build/lib/components/organisms/TwoCtasAtCart/TwoCtasAtCart.js +1 -1
  51. package/build/lib/components/pricing/price/PriceLabel.js +1 -1
  52. package/build/lib/components/product/order/item/SimpleOrderItem.js +1 -1
  53. package/build/lib/components/tag/variants/product/ProductTag.js +2 -0
  54. package/build/lib/components/tag/variants/product/ProductTag.js.map +1 -0
  55. package/build/lib/components/tag/variants/product/styled.js +2 -0
  56. package/build/lib/components/tag/variants/product/styled.js.map +1 -0
  57. package/build/lib/components/totals/total/Total.js +1 -1
  58. package/build/lib/components/totals/total/styled.js +1 -1
  59. package/build/lib/index.js +1 -1
  60. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- import{__assign as t}from"tslib";import{jsxs as r,jsx as o}from"react/jsx-runtime";import e from"../../cta/primary/ButtonPrimary.js";import"@emotion/react/jsx-runtime";import"../../../core/theme/Theme.js";import"../../../types/enums.js";import"../../cta/styled.js";import"../../PackSelectorV2/PackSelectoV2.js";import"../../absorbency-level/AbsorbencyLevel.js";import"../../accordion-options/AccordionOptions.js";import"../../accordion/Accordion.js";import"react";import"../../../utils/constants/offerAtCart.js";import"../../../utils/media.js";import"../../../utils/mock-content/CancellationFlowAccordion.js";import"../../dropdown/variants/simple/SimpleDropdown.js";import"../../pricing/clubOffer/ClubOfferTag.js";import"../../pricing/discount/styled.js";import"../../pricing/styles.js";import"../../tooltip/Styled.js";import"../../atoms/PriceLabel/PriceLabel.js";import"../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js";import"../../atoms/HorizontalDivider/HorizontalDivider.js";import"../../atoms/Icon/Icon.js";import"../../atoms/Image/styled.js";import"../../atoms/PriceLabelV2/PriceLabelV2.js";import"../../atoms/Toggle/toggle.styled.js";import"../../radio/input/styles.js";import"../../autoship/styled.js";import"../../autoshipV2/styled.js";import"../../before-after/BeforeAfter.js";import"../../pricing/priceLabelV3/PriceLabelV3.js";import"../../pricing/priceLabelV5/PriceLabelV5.styled.js";import"../../pricing/priceLabelV6/PriceLabelV6.styled.js";import"../../shared/card/Card.js";import"../../bundle/minimalistic/styled.js";import"../../text/Text.js";import"../../bundle/motivator/styled.js";import"../../bundle/simple/Simple.js";import"../../buynowpaylater/BuyNowPayLater.js";import"../../offer-banner/OfferBanner.js";import"../../cartProductItem/CloseIcon/CloseButton.js";import"../../cartProductItem/Description/Description.js";import"../../cartProductItem/Promo/Promo.js";import"../../cartProductItem/Title/Title.js";import"../../cartProductItem/TrashIcon/styled.js";import"../../checkbox/Checkbox.js";import"../../SkeletonBox/SkeletonBox.js";import"../../club-price-label/ClubPriceLabel.js";import"../../strength-bars/StrengthBars.js";import"../../pricing/priceLabelV4/PriceLabelV4.js";import"../../rating/starList/StarList.js";import"../../rating/styles.js";import"../../collection/product/mobile/styled.js";import"../../collection/product/truekind/styled.js";import"../../collection/grid/WithProductGrid.js";import"../../color/ColorRadioGroup.js";import"../../color/selector/PatternSelector.js";import"../../color/styles/ColorPickerwithTootip.styled.js";import"../../cross-sell/Checkbox/CrossSellCheckbox.js";import"../../delivery-details/DeliveryDetails.js";import"../../delivery-details/Note/Note.js";import"../../drawer/Drawer.js";import"../../dropdown-list-icons/Styled.js";import"../../dropdown/size-dropdown/Styled.js";import"../../dropdown/variants/dialog/DropdownDialog.js";import"../../dropdown/base/BaseDropdown.js";import"@headlessui/react";import"../../input/base/Error.js";import"../../shared/select/BaseSelect.js";import"../../dropdown/variants/smart/styled.js";import"../../filtering/Accordion.js";import"../../filtering/FiltersStyled.js";import"../../filtering/Tags/Tags.js";import"../../fit-guarantee/FitGuarantee.js";import"../../fit/FitPredictor.js";import"../../slider/ArrowButton.js";import"../../slider/StyledSlider.js";import"../../gallery/components/ImageSmallPreview/styled.js";import"../../gallery/components/ImagePreviewList/styled.js";import"../../molecules/Video/components/styled.js";import"../../molecules/Video/styled.js";import"../../gallery/components/ImageProductSlide/styled.js";import"../../gallery/styled.js";import"../../icon-button/IconButton.js";import"../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js";import"../../iconsWithTitle/index.js";import"../../image-card/ImageCard.js";import"../../input/label/Label.js";import"../../input/base/Styled.js";import"../../input/custom/Custom.js";import"../../input/basePlusButton/BasePlusButton.js";import"../../input/basePlusIcon/BasePlusIcon.js";import"../../modal/Modal.js";import"../../motivator-progress-bar/MotivatorProgressBar.js";import"../../order-bar/OrderBar.js";import"../../packs/selector/PackSelector.js";import"../../pagination/styles.js";import"../../payment-methods/PaymentMethod.js";import"../../product/order/item/SimpleOrderItem.js";import"../../progress-bar/ProgressBar.js";import"../../quantityPicker/styled.js";import"../../radio/RadioPrimary/radioPrimary.js";import"../../radio/clubRadioInput/clubRadio.js";import"../../review-detail/ReviewDetail.js";import"../../review/Review.js";import"../../reviews-header/ReviewsHeader.js";import"../../scroll-to-top/ScrollToTop.js";import"../../search-bar/components/ClearButton/styled.js";import"../../search-bar/components/Footer/styled.js";import"../../search-bar/components/ProductItem/styled.js";import"../../search-bar/components/ResultsPanel/styled.js";import"../../search-bar/components/SearchControl/styled.js";import"../../search-bar/styled.js";import"../../search-navigation/styled.js";import"react-dom";import"../../short-banner/ShortBanner.js";import"../../size-chart/styled.js";import"../../size-table/SizeTable.js";import"../../size/guide/SizeFitGuide.js";import"../../size/selector/styled.js";import"../../tabs/Tab.js";import"../../tabs/Tabs.js";import"../../tag/Tag.js";import"@emotion/react";import"../../textWithImage/index.js";import"../../timer/styled.js";import"../../toast/Toast.js";import"../../totals/total/styled.js";import"../../totals/subtotal/Subtotal.js";import"../../tracking-progress-v2/TrackingProgressV2.js";import"../../tracking-progress/TrackingProgress.js";import"../AutoshipOfferCard/AutoshipOfferCardItem.styled.js";import"../AutoshipOfferCardCta/AutoshipOfferCardItem.styled.js";import"../AutoshipPdpCard/AutoshipPdpCard.styled.js";import"../BasicAccordion/BasicAccordion.js";import"../CartItemCard/CartItem.js";import"../ClubOfferSelector/styled.js";import"../ClubOfferSelector2/styled.js";import"../JoinClubCard/joinClubCard.js";import"../OfferAtCart/styled.js";import"../OfferAtCartV2/styled.js";import"../OfferAtCartV3/styled.js";import"../OfferAtCartV4/styled.js";import"../OfferAtPDP/styled.js";import"../OfferAtPDP/types.js";import"../ProductCard/ProductCardV1/ProductCard.js";import"../ProductCard/ProductCardV2/styled.js";import"../ProductCard/ProductCardV3/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js";import"../ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js";import"../ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js";import"@ant-design/react-slick";import"../ProductGalleryMobile/ProductGalleryMobileV4/ContentGallery/styled.js";import"react-inner-image-zoom";import"../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV5/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV6/ColorVariantsGallery/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV6/styled.js";import"../SizeCharTable/SizeChartTableV2/styled.js";import"../SizeCharTable/SizeChartTableV3/styled.js";import"../../molecules/ArrowTip/ArrowTip.styled.js";import"../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js";import"../SubscriptionPlanSelector/styled.js";import"./Greeting.styled.js";import{Container as i,TitleWrapper as s,BodyContainer as l,GridContainer as a,BottomCopyWrapper as m,OutLineButtonContainer as p,SaveLessLinkButton as d,BtnOutlineWrapper as c}from"./Card.styled.js";import{DescriptionItem as n}from"./DescriptionItem.js";import{BottomButtonVersionsTypes as j}from"./types.js";import"../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js";import"../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js";import"../../molecules/CouponCard/styled.js";import"../../molecules/BenefitsList/styled.js";import"../../molecules/HurryUp/styled.js";import"../../molecules/Spinner/styled.js";import"../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js";import"../../molecules/LikeButton/styled.js";import{ScarcityTag as y}from"../../molecules/ScarcityTag/ScarcityTag.js";function u(u){var b=u.title,P=u.saveLessButtonAction,C=u.saveLessButtonLabel,f=u.saveMoreButtonAction,g=u.saveMoreButtonLabel,h=u.descriptions,S=u.version,v=u.bottomCopy,V=u.titleBackgroundColor,T=u.scarcityText,G=u.scarcityTextColor;return r(i,t({id:"twoCtasAtCart"},{children:[o(s,t({id:"twoCtasAtCartTitle",backgroundColor:null!=V?V:void 0},{children:b}),void 0),o(e,{onClick:f,text:g,wide:!0},void 0),T&&o(y,{text:T,color:G},void 0),r(l,{children:[o(a,{children:h.map((function(t,r){return o(n,{text:t.text,smallerText:t.smallerText,iconName:null==t?void 0:t.iconName,type:null==t?void 0:t.type,link:null==t?void 0:t.link},"".concat(t.text,"-").concat(r))}))},void 0),v&&o(m,{dangerouslySetInnerHTML:{__html:v}},void 0)]},void 0),o(p,{children:S===j.link?o(d,t({href:"#",onClick:P},{children:C}),void 0):o(c,{wide:!0,onClick:P,text:C},void 0)},void 0)]}),void 0)}export{u as TwoCtasAtCart};
1
+ import{__assign as t}from"tslib";import{jsxs as r,jsx as o}from"react/jsx-runtime";import e from"../../cta/primary/ButtonPrimary.js";import"@emotion/react/jsx-runtime";import"../../../core/theme/Theme.js";import"../../../types/enums.js";import"../../cta/styled.js";import"../../PackSelectorV2/PackSelectoV2.js";import"../../absorbency-level/AbsorbencyLevel.js";import"../../accordion-options/AccordionOptions.js";import"../../accordion/Accordion.js";import"react";import"../../../utils/constants/offerAtCart.js";import"../../../utils/media.js";import"../../../utils/mock-content/CancellationFlowAccordion.js";import"../../dropdown/variants/simple/SimpleDropdown.js";import"../../pricing/clubOffer/ClubOfferTag.js";import"../../pricing/discount/styled.js";import"../../pricing/styles.js";import"../../tooltip/Styled.js";import"../../atoms/PriceLabel/PriceLabel.js";import"../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js";import"../../atoms/HorizontalDivider/HorizontalDivider.js";import"../../atoms/Icon/Icon.js";import"../../atoms/Image/styled.js";import"../../atoms/PriceLabelV2/PriceLabelV2.js";import"../../atoms/Toggle/toggle.styled.js";import"../../radio/input/styles.js";import"../../autoship/styled.js";import"../../autoshipV2/styled.js";import"../../before-after/BeforeAfter.js";import"../../pricing/priceLabelV3/PriceLabelV3.js";import"../../pricing/priceLabelV5/PriceLabelV5.styled.js";import"../../pricing/priceLabelV6/PriceLabelV6.styled.js";import"../../shared/card/Card.js";import"../../bundle/minimalistic/styled.js";import"../../text/Text.js";import"../../bundle/motivator/styled.js";import"../../bundle/simple/Simple.js";import"../../buynowpaylater/BuyNowPayLater.js";import"../../offer-banner/OfferBanner.js";import"../../cartProductItem/CloseIcon/CloseButton.js";import"../../cartProductItem/Description/Description.js";import"../../cartProductItem/Promo/Promo.js";import"../../cartProductItem/Title/Title.js";import"../../cartProductItem/TrashIcon/styled.js";import"../../checkbox/Checkbox.js";import"../../collection/grid/WithProductGrid.js";import"../../SkeletonBox/SkeletonBox.js";import"../../club-price-label/ClubPriceLabel.js";import"../../strength-bars/StrengthBars.js";import"../../pricing/priceLabelV4/PriceLabelV4.js";import"../../rating/starList/StarList.js";import"../../rating/styles.js";import"../../collection/product/mobile/styled.js";import"../../icon-button/IconButton.js";import"../../tag/variants/product/styled.js";import"../../collection/product/truekind/styled.js";import"../../color/ColorRadioGroup.js";import"../../color/selector/PatternSelector.js";import"../../color/styles/ColorPickerwithTootip.styled.js";import"../../cross-sell/Checkbox/CrossSellCheckbox.js";import"../../delivery-details/DeliveryDetails.js";import"../../delivery-details/Note/Note.js";import"../../drawer/Drawer.js";import"../../dropdown-list-icons/Styled.js";import"../../dropdown/size-dropdown/Styled.js";import"../../dropdown/variants/dialog/DropdownDialog.js";import"../../dropdown/base/BaseDropdown.js";import"@headlessui/react";import"../../input/base/Error.js";import"../../shared/select/BaseSelect.js";import"../../dropdown/variants/smart/styled.js";import"../../filtering/Accordion.js";import"../../filtering/FiltersStyled.js";import"../../filtering/Tags/Tags.js";import"../../fit-guarantee/FitGuarantee.js";import"../../fit/FitPredictor.js";import"../../slider/ArrowButton.js";import"../../slider/StyledSlider.js";import"../../gallery/components/ImageSmallPreview/styled.js";import"../../gallery/components/ImagePreviewList/styled.js";import"../../molecules/Video/components/styled.js";import"../../molecules/Video/styled.js";import"../../gallery/components/ImageProductSlide/styled.js";import"../../gallery/styled.js";import"../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js";import"../../iconsWithTitle/index.js";import"../../image-card/ImageCard.js";import"../../input/label/Label.js";import"../../input/base/Styled.js";import"../../input/custom/Custom.js";import"../../input/basePlusButton/BasePlusButton.js";import"../../input/basePlusIcon/BasePlusIcon.js";import"../../modal/Modal.js";import"../../motivator-progress-bar/MotivatorProgressBar.js";import"../../order-bar/OrderBar.js";import"../../packs/selector/PackSelector.js";import"../../pagination/styles.js";import"../../payment-methods/PaymentMethod.js";import"../../product/order/item/SimpleOrderItem.js";import"../../progress-bar/ProgressBar.js";import"../../quantityPicker/styled.js";import"../../radio/RadioPrimary/radioPrimary.js";import"../../radio/clubRadioInput/clubRadio.js";import"../../review-detail/ReviewDetail.js";import"../../review/Review.js";import"../../reviews-header/ReviewsHeader.js";import"../../scroll-to-top/ScrollToTop.js";import"../../search-bar/components/ClearButton/styled.js";import"../../search-bar/components/Footer/styled.js";import"../../search-bar/components/ProductItem/styled.js";import"../../search-bar/components/ResultsPanel/styled.js";import"../../search-bar/components/SearchControl/styled.js";import"../../search-bar/styled.js";import"../../search-navigation/styled.js";import"react-dom";import"../../short-banner/ShortBanner.js";import"../../size-chart/styled.js";import"../../size-table/SizeTable.js";import"../../size/guide/SizeFitGuide.js";import"../../size/selector/styled.js";import"../../tabs/Tab.js";import"../../tabs/Tabs.js";import"../../tag/Tag.js";import"@emotion/react";import"../../textWithImage/index.js";import"../../timer/styled.js";import"../../toast/Toast.js";import"../../totals/total/styled.js";import"../../totals/subtotal/Subtotal.js";import"../../tracking-progress-v2/TrackingProgressV2.js";import"../../tracking-progress/TrackingProgress.js";import"../AutoshipOfferCard/AutoshipOfferCardItem.styled.js";import"../AutoshipOfferCardCta/AutoshipOfferCardItem.styled.js";import"../AutoshipPdpCard/AutoshipPdpCard.styled.js";import"../BasicAccordion/BasicAccordion.js";import"../CartItemCard/CartItem.js";import"../ClubOfferSelector/styled.js";import"../ClubOfferSelector2/styled.js";import"../JoinClubCard/joinClubCard.js";import"../OfferAtCart/styled.js";import"../OfferAtCartV2/styled.js";import"../OfferAtCartV3/styled.js";import"../OfferAtCartV4/styled.js";import"../OfferAtPDP/styled.js";import"../OfferAtPDP/types.js";import"../ProductCard/ProductCardV1/ProductCard.js";import"../ProductCard/ProductCardV2/styled.js";import"../ProductCard/ProductCardV3/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js";import"../ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js";import"../ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js";import"@ant-design/react-slick";import"../ProductGalleryMobile/ProductGalleryMobileV4/ContentGallery/styled.js";import"react-inner-image-zoom";import"../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV5/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV6/ColorVariantsGallery/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV6/styled.js";import"../SizeCharTable/SizeChartTableV2/styled.js";import"../SizeCharTable/SizeChartTableV3/styled.js";import"../../molecules/ArrowTip/ArrowTip.styled.js";import"../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js";import"../SubscriptionPlanSelector/styled.js";import"./Greeting.styled.js";import{Container as i,TitleWrapper as s,BodyContainer as l,GridContainer as a,BottomCopyWrapper as m,OutLineButtonContainer as p,SaveLessLinkButton as d,BtnOutlineWrapper as c}from"./Card.styled.js";import{DescriptionItem as n}from"./DescriptionItem.js";import{BottomButtonVersionsTypes as j}from"./types.js";import"../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js";import"../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js";import"../../molecules/CouponCard/styled.js";import"../../molecules/BenefitsList/styled.js";import"../../molecules/HurryUp/styled.js";import"../../molecules/Spinner/styled.js";import"../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js";import"../../molecules/LikeButton/styled.js";import{ScarcityTag as y}from"../../molecules/ScarcityTag/ScarcityTag.js";function u(u){var b=u.title,P=u.saveLessButtonAction,C=u.saveLessButtonLabel,f=u.saveMoreButtonAction,g=u.saveMoreButtonLabel,h=u.descriptions,v=u.version,S=u.bottomCopy,V=u.titleBackgroundColor,T=u.scarcityText,G=u.scarcityTextColor;return r(i,t({id:"twoCtasAtCart"},{children:[o(s,t({id:"twoCtasAtCartTitle",backgroundColor:null!=V?V:void 0},{children:b}),void 0),o(e,{onClick:f,text:g,wide:!0},void 0),T&&o(y,{text:T,color:G},void 0),r(l,{children:[o(a,{children:h.map((function(t,r){return o(n,{text:t.text,smallerText:t.smallerText,iconName:null==t?void 0:t.iconName,type:null==t?void 0:t.type,link:null==t?void 0:t.link},"".concat(t.text,"-").concat(r))}))},void 0),S&&o(m,{dangerouslySetInnerHTML:{__html:S}},void 0)]},void 0),o(p,{children:v===j.link?o(d,t({href:"#",onClick:P},{children:C}),void 0):o(c,{wide:!0,onClick:P,text:C},void 0)},void 0)]}),void 0)}export{u as TwoCtasAtCart};
2
2
  //# sourceMappingURL=TwoCtasAtCart.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as i,__assign as e}from"tslib";import{jsxs as l,jsx as n}from"react/jsx-runtime";import{useTheme as o}from"../../../core/theme/Theme.js";import{useWindowDimensions as r}from"../../../hooks/WindowDimensions.js";import{ComponentSize as t}from"../../../types/enums.js";import{DiscountTag as c}from"../discount/DiscountTag.js";import{Container as d,PriceContainer as a,Price as m,TagContainer as p}from"../styles.js";var v=function(i,e){var l,n,o,r,c,d,a,m;switch(i){case t.Large:return{finalPricefontSize:(null===(l=null==e?void 0:e.component.pricing.priceLabel.price.largeFontSize)||void 0===l?void 0:l.large)||"20px",finalPricefontSizeSmall:(null===(n=null==e?void 0:e.component.pricing.priceLabel.price.smallFontSize)||void 0===n?void 0:n.large)||"14px",margin:"0 0 0 0.75rem",lineHeight:"2rem"};case t.Medium:return{fontSize:(null===(o=null==e?void 0:e.component.pricing.priceLabel.price.defaultFontSize)||void 0===o?void 0:o.medium)||"1.125rem",finalPricefontSize:(null===(r=null==e?void 0:e.component.pricing.priceLabel.price.largeFontSize)||void 0===r?void 0:r.medium)||"20px",finalPricefontSizeSmall:(null===(c=null==e?void 0:e.component.pricing.priceLabel.price.smallFontSize)||void 0===c?void 0:c.medium)||"14px",margin:"0 0 0 0.5rem",lineHeight:"1.25rem"};case t.Small:return{fontSize:(null===(d=null==e?void 0:e.component.pricing.priceLabel.price.defaultFontSize)||void 0===d?void 0:d.small)||"14px",finalPricefontSize:(null===(a=null==e?void 0:e.component.pricing.priceLabel.price.largeFontSize)||void 0===a?void 0:a.small)||"20px",finalPricefontSizeSmall:(null===(m=null==e?void 0:e.component.pricing.priceLabel.price.smallFontSize)||void 0===m?void 0:m.small)||"14px",margin:"0 0 0 0.5rem",lineHeight:"1.25rem"}}},u=function(i,e,l,n){var o,r,t;return l?null===(o=v(i,e))||void 0===o?void 0:o.finalPricefontSize:n?null===(r=v(i,e))||void 0===r?void 0:r.finalPricefontSizeSmall:null===(t=v(i,e))||void 0===t?void 0:t.fontSize};function s(){for(var i=[],e=0;e<arguments.length;e++)i[e]=arguments[e];return i.filter(Boolean).join("-")}var f=function(v){var u=v.finalPrice,f=v.originalPrice,S=v.discount,g=v.color,z=v.testId,P=v.finalPriceStyled,h=void 0!==P&&P,b=v.finalPriceStyle,y=v.originalPriceStyled,L=void 0!==y&&y,x=v.originalPriceUnderlined,F=void 0===x||x,j=v.size,D=void 0===j?t.Medium:j,w=v.clubStyle,H=void 0!==w&&w,M=v.invertDirection,I=void 0!==M&&M,T=i(v,["finalPrice","originalPrice","discount","color","testId","finalPriceStyled","finalPriceStyle","originalPriceStyled","originalPriceUnderlined","size","clubStyle","invertDirection"]),U=o(),k=r().isMobile,B={size:h?t.Small:D,color:g||U.colors.pallete.secondary.color,weight:700},C=function(){var i=H?k?t.Small:t.XSmall:L?D:t.Small;return n(m,e({size:i,color:U.component.pricing.priceLabel.price.originalPriceColor,underlined:F,"data-testid":s(z,"original-product-price"),theme:U},{children:f}),void 0)};return l(d,e({},T,{id:"priceLabel"},{children:[l(a,e({invertDirection:I},H?{children:[!!f&&n(C,{},void 0),n(m,e({margin:!0,"data-testid":s(z,"final-product-price")},B,{style:b,size:D},{children:u}),void 0)]}:{children:[n(m,e({"data-testid":s(z,"final-product-price")},B,{style:b,size:D},{children:u}),void 0),!!f&&n(C,{},void 0)]}),void 0),S&&n(p,e({size:D},{children:n(c,e({},S,{size:D}),void 0)}),void 0)]}),void 0)};export{f as PriceLabel,u as getFontSize,v as getStylesBySize,s as getTestId};
1
+ import{__rest as i,__assign as e}from"tslib";import{jsxs as l,jsx as o}from"react/jsx-runtime";import{useTheme as r}from"../../../core/theme/Theme.js";import{useWindowDimensions as n}from"../../../hooks/WindowDimensions.js";import{ComponentSize as t}from"../../../types/enums.js";import{DiscountTag as c}from"../discount/DiscountTag.js";import{Container as d,PriceContainer as a,Price as m,TagContainer as p}from"../styles.js";var v=function(i,e){var l,o,r,n,c,d,a,m;switch(i){case t.Large:return{finalPricefontSize:(null===(l=null==e?void 0:e.component.pricing.priceLabel.price.largeFontSize)||void 0===l?void 0:l.large)||"20px",finalPricefontSizeSmall:(null===(o=null==e?void 0:e.component.pricing.priceLabel.price.smallFontSize)||void 0===o?void 0:o.large)||"14px",margin:"0 0 0 0.75rem",lineHeight:"2rem"};case t.Medium:return{fontSize:(null===(r=null==e?void 0:e.component.pricing.priceLabel.price.defaultFontSize)||void 0===r?void 0:r.medium)||"1.125rem",finalPricefontSize:(null===(n=null==e?void 0:e.component.pricing.priceLabel.price.largeFontSize)||void 0===n?void 0:n.medium)||"20px",finalPricefontSizeSmall:(null===(c=null==e?void 0:e.component.pricing.priceLabel.price.smallFontSize)||void 0===c?void 0:c.medium)||"14px",margin:"0 0 0 0.5rem",lineHeight:"1.25rem"};case t.Small:return{fontSize:(null===(d=null==e?void 0:e.component.pricing.priceLabel.price.defaultFontSize)||void 0===d?void 0:d.small)||"14px",finalPricefontSize:(null===(a=null==e?void 0:e.component.pricing.priceLabel.price.largeFontSize)||void 0===a?void 0:a.small)||"20px",finalPricefontSizeSmall:(null===(m=null==e?void 0:e.component.pricing.priceLabel.price.smallFontSize)||void 0===m?void 0:m.small)||"14px",margin:"0 0 0 0.5rem",lineHeight:"1.25rem"}}},u=function(i,e,l,o){var r,n,t;return l?null===(r=v(i,e))||void 0===r?void 0:r.finalPricefontSize:o?null===(n=v(i,e))||void 0===n?void 0:n.finalPricefontSizeSmall:null===(t=v(i,e))||void 0===t?void 0:t.fontSize};function s(){for(var i=[],e=0;e<arguments.length;e++)i[e]=arguments[e];return i.filter(Boolean).join("-")}var f=function(v){var u=v.finalPrice,f=v.originalPrice,S=v.discount,g=v.color,z=v.originalPriceColor,P=v.testId,h=v.finalPriceStyled,b=void 0!==h&&h,y=v.finalPriceStyle,L=v.originalPriceStyled,x=void 0!==L&&L,F=v.originalPriceUnderlined,j=void 0===F||F,D=v.size,w=void 0===D?t.Medium:D,C=v.clubStyle,H=void 0!==C&&C,M=v.invertDirection,I=void 0!==M&&M,T=i(v,["finalPrice","originalPrice","discount","color","originalPriceColor","testId","finalPriceStyled","finalPriceStyle","originalPriceStyled","originalPriceUnderlined","size","clubStyle","invertDirection"]),U=r(),k=n().isMobile,B={size:b?t.Small:w,color:g||U.colors.pallete.secondary.color,weight:700},W=function(){var i=H?k?t.Small:t.XSmall:x?w:t.Small;return o(m,e({size:i,color:z||U.component.pricing.priceLabel.price.originalPriceColor,underlined:j,"data-testid":s(P,"original-product-price"),theme:U},{children:f}),void 0)};return l(d,e({},T,{id:"priceLabel"},{children:[l(a,e({invertDirection:I},H?{children:[!!f&&o(W,{},void 0),o(m,e({margin:!0,"data-testid":s(P,"final-product-price")},B,{style:y,size:w},{children:u}),void 0)]}:{children:[o(m,e({"data-testid":s(P,"final-product-price")},B,{style:y,size:w},{children:u}),void 0),!!f&&o(W,{},void 0)]}),void 0),S&&o(p,e({size:w},{children:o(c,e({},S,{size:w}),void 0)}),void 0)]}),void 0)};export{f as PriceLabel,u as getFontSize,v as getStylesBySize,s as getTestId};
2
2
  //# sourceMappingURL=PriceLabel.js.map
@@ -1,2 +1,2 @@
1
- import{__makeTemplateObject as i,__assign as e}from"tslib";import{jsxs as n,jsx as o}from"react/jsx-runtime";import t from"@emotion/styled";import{useTheme as r}from"../../../../core/theme/Theme.js";import{mediaQueries as l}from"../../../../utils/media.js";import{ClubPriceMemberLabel as c}from"../../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.js";import"../../../atoms/HorizontalDivider/HorizontalDivider.js";import{Icon as a}from"../../../atoms/Icon/Icon.js";import{Image as s}from"../../../atoms/Image/Image.js";import"../../../atoms/PriceLabel/PriceLabel.js";import"../../../atoms/PriceLabelV2/PriceLabelV2.js";import"react";import"../../../atoms/Toggle/toggle.styled.js";import{OfferBanner as d}from"../../../offer-banner/OfferBanner.js";import"../../../pricing/clubOffer/ClubOfferTag.js";import"../../../../types/enums.js";import"../../../pricing/discount/styled.js";import{PriceLabel as m}from"../../../pricing/price/PriceLabel.js";import"../../../pricing/styles.js";import"../../../tooltip/Styled.js";import"../../../pricing/priceLabelV3/PriceLabelV3.js";import"../../../pricing/priceLabelV5/PriceLabelV5.styled.js";import"../../../pricing/priceLabelV6/PriceLabelV6.styled.js";var p,h,g,f,u,v,b,x=t.div(p||(p=i(["\n display: flex;\n flex-direction: row;\n width: auto;\n padding: 10px 0;\n"],["\n display: flex;\n flex-direction: row;\n width: auto;\n padding: 10px 0;\n"]))),y=t.div(h||(h=i(["\n position: relative;\n width: ",";\n img {\n display: block;\n }\n"],["\n position: relative;\n width: ",";\n img {\n display: block;\n }\n"])),"63px"),j=t.div(g||(g=i(["\n display: flex;\n flex-direction: column;\n ",";\n width: calc(100% - ",");\n"],["\n display: flex;\n flex-direction: column;\n ",";\n width: calc(100% - ",");\n"])),l({paddingLeft:["0.938rem","1.875rem"]}),"63px"),w=t.h2((function(i){return{fontWeight:600,fontSize:"1rem",lineHeight:"1.5rem",color:i.color,margin:"0.063rem 0"}})),P=t.h3((function(i){var e=i.color,n=i.fontSize,o=i.lineHeight;return{fontWeight:i.fontWeight,fontSize:n,lineHeight:o,color:e,margin:i.margin}})),L=t.div(f||(f=i(["\n display: flex;\n ",";\n height: 100%;\n align-items: end;\n margin-top: 0.219rem;\n"],["\n display: flex;\n ",";\n height: 100%;\n align-items: end;\n margin-top: 0.219rem;\n"])),(function(i){var e=i.withTag;return i.theme,e?l({justifyContent:["space-between","end"],flexDirection:["row","column"]}):"justify-content: end"})),z=t.div(u||(u=i(["\n position: absolute;\n right: 0;\n top: 0;\n transform: translate(30%, -30%);\n border-radius: 50%;\n width: 1rem;\n height: 1rem;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--colors-shades-300-color);\n color: var(--colors-shades-white-color);\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 24px;\n"],["\n position: absolute;\n right: 0;\n top: 0;\n transform: translate(30%, -30%);\n border-radius: 50%;\n width: 1rem;\n height: 1rem;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--colors-shades-300-color);\n color: var(--colors-shades-white-color);\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 24px;\n"]))),C=t.span(v||(v=i(["\n display: block;\n transform: translateY(1px);\n"],["\n display: block;\n transform: translateY(1px);\n"]))),S=t.span(b||(b=i(["\n color: ",";\n font-weight: 600;\n font-size: 14px;\n line-height: 22px;\n"],["\n color: ",";\n font-weight: 600;\n font-size: 14px;\n line-height: 22px;\n"])),(function(i){return i.theme.colors.semantic.urgent.color})),k=function(i){var t,l,p,h,g,f,u,v,b=i.title,k=i.className,T=i.subtitle,V=i.midElement,H=i.image,I=i.price,O=i.tag,W=i.quantity,D=i.finalPriceStyle,q=i.isGift,F=i.isClub,G=r();return n(x,e({className:k},{children:[n(y,{children:[o(s,{src:H.src,alt:H.alt,width:"4.063rem",height:"5.375rem",objectFit:"cover",objectPosition:"center"},void 0),W?o(z,e({"data-testid":"order-item-quantity"},{children:o(C,{children:W},void 0)}),void 0):null]},void 0),n(j,e({"data-testid":"order-item-description-container",theme:G},{children:[o(w,e({color:G.colors.shades[700].color,"data-testid":"product-title"},{children:b}),void 0),T&&o(P,e({color:(null===(l=null===(t=G.component.pricing)||void 0===t?void 0:t.subtitle)||void 0===l?void 0:l.color)||G.colors.shades[700].color,fontSize:(null===(h=null===(p=G.component.pricing)||void 0===p?void 0:p.subtitle)||void 0===h?void 0:h.fontSize)||"0.75rem",lineHeight:(null===(f=null===(g=G.component.pricing)||void 0===g?void 0:g.subtitle)||void 0===f?void 0:f.lineHeight)||"1rem",fontWeight:(null===(v=null===(u=G.component.pricing)||void 0===u?void 0:u.subtitle)||void 0===v?void 0:v.fontWeight)||"normal","data-testid":"product-variant-title",margin:"0.5rem 0 0 0"},{children:T}),void 0),V,q&&o(S,{children:"Limited Time Only"},void 0),n(L,e({"data-testid":"order-item-price-container",withTag:!!O,theme:G},{children:[O&&o(d,{discountAppliedText:null==O?void 0:O.text,backgroundColor:null==O?void 0:O.backgroundColor},void 0),q?o(S,{children:"GIFT"},void 0):F?o(c,{finalPrice:I.finalPrice,originalPrice:I.originalPrice,isCollections:!1,isClubOffer:!0,isClub:!0,icon:o(a,{name:"other/club_filled",height:"21px",width:"52px"},void 0),style:{gap:8}},void 0):o(m,{finalPrice:I.finalPrice,originalPrice:I.originalPrice,color:I.color||G.colors.shades[700].color,size:G.component.pricing.priceLabel.price.size,finalPriceStyle:D,originalPriceStyled:!0},void 0)]}),void 0)]}),void 0)]}),void 0)};export{k as default};
1
+ import{__makeTemplateObject as i,__assign as e}from"tslib";import{jsxs as n,jsx as o}from"react/jsx-runtime";import t from"@emotion/styled";import{useTheme as r}from"../../../../core/theme/Theme.js";import{mediaQueries as l}from"../../../../utils/media.js";import{ClubPriceMemberLabel as c}from"../../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.js";import"../../../atoms/HorizontalDivider/HorizontalDivider.js";import{Icon as a}from"../../../atoms/Icon/Icon.js";import{Image as s}from"../../../atoms/Image/Image.js";import"../../../atoms/PriceLabel/PriceLabel.js";import"../../../atoms/PriceLabelV2/PriceLabelV2.js";import"react";import"../../../atoms/Toggle/toggle.styled.js";import{OfferBanner as d}from"../../../offer-banner/OfferBanner.js";import"../../../pricing/clubOffer/ClubOfferTag.js";import"../../../../types/enums.js";import"../../../pricing/discount/styled.js";import{PriceLabel as m}from"../../../pricing/price/PriceLabel.js";import"../../../pricing/styles.js";import"../../../tooltip/Styled.js";import"../../../pricing/priceLabelV3/PriceLabelV3.js";import"../../../pricing/priceLabelV5/PriceLabelV5.styled.js";import"../../../pricing/priceLabelV6/PriceLabelV6.styled.js";var p,g,h,f,u,v,b,x=t.div(p||(p=i(["\n display: flex;\n flex-direction: row;\n width: auto;\n padding: 10px 0;\n"],["\n display: flex;\n flex-direction: row;\n width: auto;\n padding: 10px 0;\n"]))),y=t.div(g||(g=i(["\n position: relative;\n width: ",";\n img {\n display: block;\n }\n"],["\n position: relative;\n width: ",";\n img {\n display: block;\n }\n"])),"63px"),j=t.div(h||(h=i(["\n display: flex;\n flex-direction: column;\n ",";\n width: calc(100% - ",");\n"],["\n display: flex;\n flex-direction: column;\n ",";\n width: calc(100% - ",");\n"])),l({paddingLeft:["0.938rem","1.875rem"]}),"63px"),P=t.h2((function(i){return{fontWeight:600,fontSize:"1rem",lineHeight:"1.5rem",color:i.color,margin:"0.063rem 0"}})),w=t.h3((function(i){var e=i.color,n=i.fontSize,o=i.lineHeight;return{fontWeight:i.fontWeight,fontSize:n,lineHeight:o,color:e,margin:i.margin}})),L=t.div(f||(f=i(["\n display: flex;\n ",";\n height: 100%;\n align-items: end;\n margin-top: 0.219rem;\n"],["\n display: flex;\n ",";\n height: 100%;\n align-items: end;\n margin-top: 0.219rem;\n"])),(function(i){return i.withTag?l({justifyContent:["space-between","end"],flexDirection:["row","column"]}):"justify-content: end"})),z=t.div(u||(u=i(["\n position: absolute;\n right: 0;\n top: 0;\n transform: translate(30%, -30%);\n border-radius: 50%;\n width: 1rem;\n height: 1rem;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--colors-shades-300-color);\n color: var(--colors-shades-white-color);\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 24px;\n"],["\n position: absolute;\n right: 0;\n top: 0;\n transform: translate(30%, -30%);\n border-radius: 50%;\n width: 1rem;\n height: 1rem;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--colors-shades-300-color);\n color: var(--colors-shades-white-color);\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 24px;\n"]))),C=t.span(v||(v=i(["\n display: block;\n transform: translateY(1px);\n"],["\n display: block;\n transform: translateY(1px);\n"]))),S=t.span(b||(b=i(["\n color: ",";\n font-weight: 600;\n font-size: 14px;\n line-height: 22px;\n"],["\n color: ",";\n font-weight: 600;\n font-size: 14px;\n line-height: 22px;\n"])),(function(i){return i.theme.colors.semantic.urgent.color})),k=function(i){var t,l,p,g,h,f,u,v,b=i.title,k=i.className,T=i.subtitle,V=i.midElement,H=i.image,I=i.price,O=i.tag,W=i.quantity,D=i.finalPriceStyle,q=i.isGift,F=i.isClub,G=r();return n(x,e({className:k},{children:[n(y,{children:[o(s,{src:H.src,alt:H.alt,width:"4.063rem",height:"5.375rem",objectFit:"cover",objectPosition:"center"},void 0),W?o(z,e({"data-testid":"order-item-quantity"},{children:o(C,{children:W},void 0)}),void 0):null]},void 0),n(j,e({"data-testid":"order-item-description-container",theme:G},{children:[o(P,e({color:G.colors.shades[700].color,"data-testid":"product-title"},{children:b}),void 0),T&&o(w,e({color:(null===(l=null===(t=G.component.pricing)||void 0===t?void 0:t.subtitle)||void 0===l?void 0:l.color)||G.colors.shades[700].color,fontSize:(null===(g=null===(p=G.component.pricing)||void 0===p?void 0:p.subtitle)||void 0===g?void 0:g.fontSize)||"0.75rem",lineHeight:(null===(f=null===(h=G.component.pricing)||void 0===h?void 0:h.subtitle)||void 0===f?void 0:f.lineHeight)||"1rem",fontWeight:(null===(v=null===(u=G.component.pricing)||void 0===u?void 0:u.subtitle)||void 0===v?void 0:v.fontWeight)||"normal","data-testid":"product-variant-title",margin:"0.5rem 0 0 0"},{children:T}),void 0),V,q&&o(S,{children:"Limited Time Only"},void 0),n(L,e({"data-testid":"order-item-price-container",withTag:!!O,theme:G},{children:[O&&o(d,{discountAppliedText:null==O?void 0:O.text,backgroundColor:null==O?void 0:O.backgroundColor},void 0),q?o(S,{children:"GIFT"},void 0):F?o(c,{finalPrice:I.finalPrice,originalPrice:I.originalPrice,isCollections:!1,isClubOffer:!0,isClub:!0,icon:o(a,{name:"other/club_filled",height:"21px",width:"52px"},void 0),style:{gap:8}},void 0):o(m,{finalPrice:I.finalPrice,originalPrice:I.originalPrice,color:I.color||G.colors.shades[700].color,originalPriceColor:I.originalPriceColor,size:G.component.pricing.priceLabel.price.size,finalPriceStyle:D,originalPriceStyled:!0},void 0)]}),void 0)]}),void 0)]}),void 0)};export{k as default};
2
2
  //# sourceMappingURL=SimpleOrderItem.js.map
@@ -0,0 +1,2 @@
1
+ import{__assign as o}from"tslib";import{jsx as r}from"react/jsx-runtime";import{Container as t}from"./styled.js";var e=function(e){var d=e.text,i=e.backgroundColor,a=e.textColor,n=e.borderColor,l=e.borderWidth,s=e.borderRadius,b=e.fontSize,c=e.fontWeight,f=e.padding,m=e.className,u=e.onClick;return r(t,o({backgroundColor:i,textColor:a,borderColor:n,borderWidth:l,borderRadius:s,fontSize:b,fontWeight:c,padding:f,className:m,onClick:u},{children:d}),void 0)};export{e as default};
2
+ //# sourceMappingURL=ProductTag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProductTag.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__makeTemplateObject as n}from"tslib";import t from"@emotion/styled";var r,o=t.div(r||(r=n(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: ",";\n border-radius: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 1.2;\n text-align: center;\n white-space: nowrap;\n cursor: ",";\n transition: all 0.2s ease-in-out;\n background-color: ",";\n color: ",";\n border: ",";\n\n &:hover {\n ","\n }\n"],["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: ",";\n border-radius: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 1.2;\n text-align: center;\n white-space: nowrap;\n cursor: ",";\n transition: all 0.2s ease-in-out;\n background-color: ",";\n color: ",";\n border: ",";\n\n &:hover {\n ","\n }\n"])),(function(n){return n.padding||"4px 8px"}),(function(n){return n.borderRadius||"4px"}),(function(n){return n.fontSize||"12px"}),(function(n){return n.fontWeight||"600"}),(function(n){return n.onClick?"pointer":"default"}),(function(n){return n.backgroundColor||"#F5F5F5"}),(function(n){return n.textColor||"#000000"}),(function(n){var t=n.borderWidth,r=n.borderColor;return t&&r?"".concat(t," solid ").concat(r):r?"1px solid ".concat(r):"none"}),(function(n){return n.onClick&&"\n opacity: 0.8;\n transform: translateY(-1px);\n "}));export{o as Container};
2
+ //# sourceMappingURL=styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styled.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import{__assign as i}from"tslib";import{jsxs as t,jsx as o}from"react/jsx-runtime";import{useTheme as e}from"../../../core/theme/Theme.js";import"react";import"../../../types/enums.js";import"../../pricing/clubOffer/ClubOfferTag.js";import"../../pricing/discount/styled.js";import"../../pricing/styles.js";import"../../tooltip/Styled.js";import"../../atoms/PriceLabel/PriceLabel.js";import"../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js";import"../../atoms/HorizontalDivider/HorizontalDivider.js";import{Icon as r}from"../../atoms/Icon/Icon.js";import{Image as a}from"../../atoms/Image/Image.js";import"../../atoms/PriceLabelV2/PriceLabelV2.js";import"../../atoms/Toggle/toggle.styled.js";import{Wrapper as s,TotalContainer as l,TotalLabel as d,GrandTotal as m,Currency as n,Container as h,SavingsSvgContainer as c,StarsContainer as g,DiscountText as p,DiscountAmount as v}from"./styled.js";var b=function(b){var f=b.total,j=b.currency,u=b.saving,y=b.highlightColor,L=void 0===y?"#2f806a":y,T=b.showTotalLabel,x=void 0!==T&&T,w=b.highlightSavings,P=e(),C="v1"===w||"v2"===w;return t(s,i({"data-testid":"total-wrapper"},{children:[t(l,i({showTotalLabel:x},{children:[x&&o(d,i({variant:"heading6",size:"regular",weight:"bold"},{children:"Total"}),void 0),t(m,i({color:P.component.total.basicTotal.amount.color,"data-testid":"total-price"},{children:[o(n,{children:j},void 0),f]}),void 0)]}),void 0),u&&t(h,i({"data-testid":"subtotal-container",highlightColor:L,highlightSavings:w},{children:[C&&t(c,{children:[o(r,{name:"other/bookmark",width:"20px",height:"20px",fill:"#2F806A"},void 0),"v2"===w&&o(g,{children:o(a,{src:"https://cdn.shapermint.com/assets/common/gifs/stars.gif",alt:"stars",width:"35px",height:"35px"},void 0)},void 0)]},void 0),o(p,i({"data-testid":"saving-title",isSavingsHighlighted:C},{children:u.savingText}),void 0),o(v,i({"data-testid":"saving-price",isSavingsHighlighted:C},{children:u.amount}),void 0)]}),void 0)]}),void 0)};export{b as Total};
1
+ import{__assign as i}from"tslib";import{jsxs as t,jsx as o}from"react/jsx-runtime";import{useTheme as e}from"../../../core/theme/Theme.js";import"react";import"../../../types/enums.js";import"../../pricing/clubOffer/ClubOfferTag.js";import"../../pricing/discount/styled.js";import"../../pricing/styles.js";import"../../tooltip/Styled.js";import"../../atoms/PriceLabel/PriceLabel.js";import"../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js";import"../../atoms/HorizontalDivider/HorizontalDivider.js";import{Icon as r}from"../../atoms/Icon/Icon.js";import{Image as a}from"../../atoms/Image/Image.js";import"../../atoms/PriceLabelV2/PriceLabelV2.js";import"../../atoms/Toggle/toggle.styled.js";import{Wrapper as l,TotalContainer as s,TotalLabel as d,GrandTotal as n,PricingStyledContainer as h,PriceWrapper as c,Currency as m,Container as g,SavingsSvgContainer as p,StarsContainer as v,DiscountText as b,DiscountAmount as f}from"./styled.js";var j=function(j){var u=j.total,y=j.original,T=j.currency,P=j.saving,L=j.highlightColor,S=void 0===L?"#2f806a":L,x=j.showTotalLabel,w=void 0!==x&&x,C=j.highlightSavings,H=j.isPrincingStyleTestEnabled,I=void 0!==H&&H,z=e(),E="v1"===C||"v2"===C;return t(l,i({"data-testid":"total-wrapper"},{children:[t(s,i({showTotalLabel:w},{children:[w&&o(d,i({variant:"heading6",size:"regular",weight:"bold"},{children:"Total"}),void 0),o(n,i({"data-testid":"total-price"},{children:I?t(h,{children:[o("span",{children:y},void 0),o("span",{children:u},void 0)]},void 0):t(c,i({color:z.component.total.basicTotal.amount.color},{children:[o(m,{children:T},void 0),u]}),void 0)}),void 0)]}),void 0),P&&t(g,i({"data-testid":"subtotal-container",highlightSavings:C},{children:[E&&t(p,{children:[o(r,{name:"other/bookmark",width:"20px",height:"20px",fill:"#2F806A"},void 0),"v2"===C&&o(v,{children:o(a,{src:"https://cdn.shapermint.com/assets/common/gifs/stars.gif",alt:"stars",width:"35px",height:"35px"},void 0)},void 0)]},void 0),o(b,i({"data-testid":"saving-title",isSavingsHighlighted:E,isPrincingStyleTestEnabled:I,highlightColor:S},{children:P.savingText}),void 0),o(f,i({"data-testid":"saving-price",isSavingsHighlighted:E,isPrincingStyleTestEnabled:I,highlightColor:S},{children:P.amount}),void 0)]}),void 0)]}),void 0)};export{j as Total};
2
2
  //# sourceMappingURL=Total.js.map
@@ -1,2 +1,2 @@
1
- import{__makeTemplateObject as n}from"tslib";import{css as t}from"@emotion/react";import e from"@emotion/styled";import{Text as i}from"../../text/Text.js";var o,r,l,a,s,f,g,c,h,p,m,u,x,d=e.div(o||(o=n(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"],["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"]))),w=e.h1(r||(r=n(["\n margin: 0;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 700;\n color: ",";\n display: block;\n align-items: center;\n"],["\n margin: 0;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 700;\n color: ",";\n display: block;\n align-items: center;\n"])),(function(n){return n.color})),y=e.span(l||(l=n(["\n margin: 0;\n margin-right: 0.625rem;\n font-weight: 600;\n color: ",";\n font-size: ",";\n line-height: ",";\n align-self: ",";\n"],["\n margin: 0;\n margin-right: 0.625rem;\n font-weight: 600;\n color: ",";\n font-size: ",";\n line-height: ",";\n align-self: ",";\n"])),(function(n){return n.theme.component.total.basicTotal.currency.color}),(function(n){return n.theme.component.total.basicTotal.currency.fontSize}),(function(n){return n.theme.component.total.basicTotal.currency.lineHeight}),(function(n){return n.theme.component.total.basicTotal.currency.alignSelf})),b=e.div(s||(s=n(["\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 0.625rem;\n color: ",";\n align-items: center;\n\n ","\n"],["\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 0.625rem;\n color: ",";\n align-items: center;\n\n ","\n"])),(function(n){return n.highlightColor}),(function(e){var i=e.highlightSavings;if(i)return t(a||(a=n(["\n justify-content: unset;\n gap: 0.5rem;\n background-color: ",";\n width: auto;\n align-self: end;\n padding: 4px;\n border-radius: 4px;\n "],["\n justify-content: unset;\n gap: 0.5rem;\n background-color: ",";\n width: auto;\n align-self: end;\n padding: 4px;\n border-radius: 4px;\n "])),"v1"===i&&"#dff1ec")})),z=e(b)(f||(f=n(["\n justify-content: ",";\n margin-top: 0;\n"],["\n justify-content: ",";\n margin-top: 0;\n"])),(function(n){return n.showTotalLabel?"space-between":"flex-end"})),v=e.h3(c||(c=n(["\n margin: 0;\n font-size: 14px;\n line-height: 22px;\n font-weight: 600;\n\n ","\n"],["\n margin: 0;\n font-size: 14px;\n line-height: 22px;\n font-weight: 600;\n\n ","\n"])),(function(e){if(e.isSavingsHighlighted)return t(g||(g=n(["\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n text-transform: uppercase;\n "],["\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n text-transform: uppercase;\n "])))})),j=e.h3(p||(p=n(["\n margin: 0;\n font-size: 18px;\n line-height: 28px;\n font-weight: ",";\n\n ","\n"],["\n margin: 0;\n font-size: 18px;\n line-height: 28px;\n font-weight: ",";\n\n ","\n"])),(function(n){return n.theme.component.total.basicTotal.savings.amountFontWeight}),(function(e){if(e.isSavingsHighlighted)return t(h||(h=n(["\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n "],["\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n "])))})),T=e(i)(m||(m=n(["\n font-size: 20px;\n"],["\n font-size: 20px;\n"]))),S=e.div(u||(u=n(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),k=e.div(x||(x=n(["\n position: absolute;\n transform: translate(10px, -18px);\n"],["\n position: absolute;\n transform: translate(10px, -18px);\n"])));export{b as Container,y as Currency,j as DiscountAmount,v as DiscountText,w as GrandTotal,S as SavingsSvgContainer,k as StarsContainer,z as TotalContainer,T as TotalLabel,d as Wrapper};
1
+ import{__makeTemplateObject as n}from"tslib";import{css as t}from"@emotion/react";import e from"@emotion/styled";import{Text as i}from"../../text/Text.js";var o,r,l,a,s,f,c,g,p,h,m,u,x,d,y,b=e.div(o||(o=n(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"],["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"]))),w=e.h1(r||(r=n(["\n margin: 0;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 700;\n display: block;\n align-items: center;\n"],["\n margin: 0;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 700;\n display: block;\n align-items: center;\n"]))),z=e.span(l||(l=n(["\n margin: 0;\n margin-right: 0.625rem;\n font-weight: 600;\n color: ",";\n font-size: ",";\n line-height: ",";\n align-self: ",";\n"],["\n margin: 0;\n margin-right: 0.625rem;\n font-weight: 600;\n color: ",";\n font-size: ",";\n line-height: ",";\n align-self: ",";\n"])),(function(n){return n.theme.component.total.basicTotal.currency.color}),(function(n){return n.theme.component.total.basicTotal.currency.fontSize}),(function(n){return n.theme.component.total.basicTotal.currency.lineHeight}),(function(n){return n.theme.component.total.basicTotal.currency.alignSelf})),v=e.div(s||(s=n(["\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 0.625rem;\n align-items: center;\n\n ","\n"],["\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 0.625rem;\n align-items: center;\n\n ","\n"])),(function(e){var i=e.highlightSavings;if(i)return t(a||(a=n(["\n justify-content: unset;\n gap: 0.5rem;\n background-color: ",";\n width: auto;\n align-self: end;\n padding: 4px;\n border-radius: 4px;\n "],["\n justify-content: unset;\n gap: 0.5rem;\n background-color: ",";\n width: auto;\n align-self: end;\n padding: 4px;\n border-radius: 4px;\n "])),"v1"===i&&"#dff1ec")})),T=e(v)(f||(f=n(["\n justify-content: ",";\n margin-top: 0;\n"],["\n justify-content: ",";\n margin-top: 0;\n"])),(function(n){return n.showTotalLabel?"space-between":"flex-end"})),S=e.div(c||(c=n(["\n display: flex;\n flex-direction: column;\n font-size: 18px;\n line-height: 28px;\n font-weight: ",";\n\n & > span:first-of-type {\n color: #ff4e30;\n }\n\n & > span:last-of-type {\n color: #44c676;\n }\n"],["\n display: flex;\n flex-direction: column;\n font-size: 18px;\n line-height: 28px;\n font-weight: ",";\n\n & > span:first-of-type {\n color: #ff4e30;\n }\n\n & > span:last-of-type {\n color: #44c676;\n }\n"])),(function(n){return n.theme.component.total.basicTotal.savings.amountFontWeight})),j=e.span(g||(g=n(["\n color: ",";\n"],["\n color: ",";\n"])),(function(n){return n.color})),F=e.h3(h||(h=n(["\n margin: 0;\n font-size: 14px;\n line-height: 22px;\n font-weight: 600;\n color: ",";\n\n ","\n"],["\n margin: 0;\n font-size: 14px;\n line-height: 22px;\n font-weight: 600;\n color: ",";\n\n ","\n"])),(function(n){var t=n.highlightColor;return n.isPrincingStyleTestEnabled?"#FF4E30":t}),(function(e){if(e.isSavingsHighlighted)return t(p||(p=n(["\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n text-transform: uppercase;\n "],["\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n text-transform: uppercase;\n "])))})),E=e.h3(u||(u=n(["\n margin: 0;\n font-size: 18px;\n line-height: 28px;\n font-weight: ",";\n\n text-decoration: ",";\n\n color: ",";\n\n ","\n"],["\n margin: 0;\n font-size: 18px;\n line-height: 28px;\n font-weight: ",";\n\n text-decoration: ",";\n\n color: ",";\n\n ","\n"])),(function(n){return n.theme.component.total.basicTotal.savings.amountFontWeight}),(function(n){return n.isPrincingStyleTestEnabled&&"line-through"}),(function(n){var t=n.isPrincingStyleTestEnabled,e=n.highlightColor;return t?"#FF4E30":e}),(function(e){if(e.isSavingsHighlighted)return t(m||(m=n(["\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n "],["\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n "])))})),k=e(i)(x||(x=n(["\n font-size: 20px;\n"],["\n font-size: 20px;\n"]))),H=e.div(d||(d=n(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),P=e.div(y||(y=n(["\n position: absolute;\n transform: translate(10px, -18px);\n"],["\n position: absolute;\n transform: translate(10px, -18px);\n"])));export{v as Container,z as Currency,E as DiscountAmount,F as DiscountText,w as GrandTotal,j as PriceWrapper,S as PricingStyledContainer,H as SavingsSvgContainer,P as StarsContainer,T as TotalContainer,k as TotalLabel,b as Wrapper};
2
2
  //# sourceMappingURL=styled.js.map
package/build/es/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export{default as PackSelectorV2}from"./components/PackSelectorV2/PackSelectoV2.js";export{AbsorbencyLevel}from"./components/absorbency-level/AbsorbencyLevel.js";export{default as AccordionOptions}from"./components/accordion-options/AccordionOptions.js";export{default as Accordion}from"./components/accordion/Accordion.js";export{default as Autoship}from"./components/autoship/autoShip.js";export{default as AutoshipV2}from"./components/autoshipV2/autoshipV2.js";export{BeforeAfterCard}from"./components/before-after/BeforeAfter.js";export{Bundle}from"./components/bundle/index.js";export{BuyNowPayLater}from"./components/buynowpaylater/BuyNowPayLater.js";export{CartProductItem}from"./components/cartProductItem/index.js";export{Checkbox}from"./components/checkbox/Checkbox.js";export{Collection}from"./components/collection/index.js";export{default as ColorPickerWithTooltip}from"./components/color/ColorPickerWithTooltip.js";export{default as MultiColorPicker}from"./components/color/MultiColorPicker.js";export{default as SingleColorPicker}from"./components/color/SingleColorPicker.js";export{ColorSelector}from"./components/color/selector/ColorSelector.js";export{PatternSelector}from"./components/color/selector/PatternSelector.js";import*as o from"./components/cross-sell/index.js";export{o as CrossSell};export{default as ButtonPrimary}from"./components/cta/primary/ButtonPrimary.js";export{default as ButtonSecondary}from"./components/cta/secondary/ButtonSecondary.js";export{default as ButtonSecondaryOutline}from"./components/cta/secondary/ButtonSecondaryOutline.js";import"tslib";import"@emotion/react/jsx-runtime";export{AssetsProvider,ThemeProvider,ThemeVariables,useTheme,useThemeAssets}from"./core/theme/Theme.js";import"react/jsx-runtime";export{CardSectionType,ComponentPosition,ComponentSize,InputValidationType}from"./types/enums.js";import"./components/cta/styled.js";export{DeliveryDetails}from"./components/delivery-details/DeliveryDetails.js";export{Note}from"./components/delivery-details/Note/Note.js";export{Drawer}from"./components/drawer/Drawer.js";export{DropdownListIcons}from"./components/dropdown-list-icons/DropdownListIcons.js";export{default as SizeDropdown}from"./components/dropdown/size-dropdown/SizeDropdown.js";export{default as DropdownDialog}from"./components/dropdown/variants/dialog/DropdownDialog.js";export{default as FilteringDropdown}from"./components/dropdown/variants/filtering/FilteringDropdown.js";export{default as SimpleDropdown}from"./components/dropdown/variants/simple/SimpleDropdown.js";export{default as SmartDropdown}from"./components/dropdown/variants/smart/SmartDropdown.js";export{Filters}from"./components/filtering/Filters.js";export{Tags as FilteringTags}from"./components/filtering/Tags/Tags.js";export{FitGuarantee}from"./components/fit-guarantee/FitGuarantee.js";export{FitPredictor}from"./components/fit/FitPredictor.js";export{ProductGallery}from"./components/gallery/ProductGallery.js";export{IconButton}from"./components/icon-button/IconButton.js";export{AmazonButton,PaypalButton}from"./components/icon-button/amazonAndPaypal/AmazonPaypalButtons.js";export{Icon}from"./components/icons/index.js";export{IconsWithTitle}from"./components/iconsWithTitle/index.js";export{ImageCardWithDescription}from"./components/image-card/ImageCard.js";export{Input}from"./components/input/index.js";export{Modal,Overlay,modalEvent,useModal,useModalEvent}from"./components/modal/Modal.js";export{MotivatorProgressBar}from"./components/motivator-progress-bar/MotivatorProgressBar.js";export{OfferBanner}from"./components/offer-banner/OfferBanner.js";export{OrderBar}from"./components/order-bar/OrderBar.js";export{default as PackSelector}from"./components/packs/selector/PackSelector.js";export{Pagination}from"./components/pagination/Pagination.js";export{PaginatorBlog}from"./components/pagination/blogPaginator/PaginatorBlog.js";export{PaymentMethod}from"./components/payment-methods/PaymentMethod.js";export{ClubOfferTag}from"./components/pricing/clubOffer/ClubOfferTag.js";export{DiscountTag}from"./components/pricing/discount/DiscountTag.js";export{PriceLabel}from"./components/pricing/price/PriceLabel.js";export{PriceLabelV2}from"./components/pricing/priceLabelV2/PriceLabelV2.js";export{PriceLabelV3}from"./components/pricing/priceLabelV3/PriceLabelV3.js";export{PriceLabelV5}from"./components/pricing/priceLabelV5/PriceLabelV5.js";export{PriceLabelV6}from"./components/pricing/priceLabelV6/PriceLabelV6.js";export{default as SimpleOrderItem}from"./components/product/order/item/SimpleOrderItem.js";export{ProgressBar}from"./components/progress-bar/ProgressBar.js";export{QuantityPicker}from"./components/quantityPicker/QuantityPicker.js";export{RadioPrimary}from"./components/radio/RadioPrimary/radioPrimary.js";export{RadioGroupInput}from"./components/radio/container/group.js";export{ClubRadioGroupInput}from"./components/radio/clubContainer/clubGroup.js";export{RadioInput}from"./components/radio/input/radio.js";export{Rating}from"./components/rating/Rating.js";export{StarList}from"./components/rating/starList/StarList.js";export{default as ReviewDetail}from"./components/review-detail/ReviewDetail.js";export{default as Review}from"./components/review/Review.js";export{default as ReviewsHeader}from"./components/reviews-header/ReviewsHeader.js";export{ScrollToTop}from"./components/scroll-to-top/ScrollToTop.js";export{SearchBar}from"./components/search-bar/SearchBar.js";export{default as SearchNavigation}from"./components/search-navigation/SearchNavigation.js";export{default as Card}from"./components/shared/card/Card.js";export{Portal}from"./components/shared/portal/Portal.js";export{Spacing}from"./components/shared/spacing/Spacing.js";export{ShortBanner}from"./components/short-banner/ShortBanner.js";export{default as SizeChartTable}from"./components/size-chart/SizeChart.js";export{SizeTable}from"./components/size-table/SizeTable.js";export{default as SizeFitGuide}from"./components/size/guide/SizeFitGuide.js";export{default as SizeSelector}from"./components/size/selector/SizeSelector.js";export{default as SliderNavigation}from"./components/slider/SliderNavigation.js";export{StrengthBars}from"./components/strength-bars/StrengthBars.js";export{default as Tab}from"./components/tabs/Tab.js";export{default as Tabs}from"./components/tabs/Tabs.js";export{default as CategoryTag}from"./components/tag/variants/pdp/category/CategoryTag.js";export{default as CategorySquareTag}from"./components/tag/variants/pdp/categorySquare/CategorySquareTag.js";export{default as SeasonOfferTag}from"./components/tag/variants/pdp/season-offer/SeasonOfferTag.js";export{default as seasonOfferRoundedTag}from"./components/tag/variants/pdp/season-offer-rounded/SeasonOfferRounded.js";export{default as TextButton}from"./components/text-button/TextButton.js";export{Text}from"./components/text/Text.js";export{default as TextWithImage}from"./components/textWithImage/index.js";export{Timer}from"./components/timer/Timer.js";export{Toast}from"./components/toast/Toast.js";export{Tooltip}from"./components/tooltip/Tooltip.js";export{Totals}from"./components/totals/index.js";export{default as TrackingProgressV2}from"./components/tracking-progress-v2/TrackingProgressV2.js";export{default as TrackingProgress}from"./components/tracking-progress/TrackingProgress.js";export{AutoshipOfferCard}from"./components/organisms/AutoshipOfferCard/AutoshipOfferCardItem.js";export{AutoshipOfferCardCta}from"./components/organisms/AutoshipOfferCardCta/AutoshipOfferCardItemCta.js";export{AutoshipPdpCard}from"./components/organisms/AutoshipPdpCard/AutoshipPdpCard.js";export{BasicAccordion}from"./components/organisms/BasicAccordion/BasicAccordion.js";export{CartItemCard}from"./components/organisms/CartItemCard/CartItem.js";export{ClubOfferSelector}from"./components/organisms/ClubOfferSelector/clubOfferSelector.js";export{ClubOfferSelector2}from"./components/organisms/ClubOfferSelector2/clubOfferSelector2.js";export{JoinClubCard}from"./components/organisms/JoinClubCard/joinClubCard.js";export{OfferAtCart}from"./components/organisms/OfferAtCart/OfferAtCart.js";export{OfferAtCartV2}from"./components/organisms/OfferAtCartV2/OfferAtCartV2.js";export{OfferAtCartV3}from"./components/organisms/OfferAtCartV3/OfferAtCartV3.js";export{OfferAtCartV4}from"./components/organisms/OfferAtCartV4/OfferAtCartV4.js";export{OfferAtPDP}from"./components/organisms/OfferAtPDP/OfferAtPDP.js";import"./components/organisms/OfferAtPDP/types.js";export{ProductCard}from"./components/organisms/ProductCard/ProductCardV1/ProductCard.js";export{ProductCardV2}from"./components/organisms/ProductCard/ProductCardV2/ProductCardV2.js";export{ProductCardV3}from"./components/organisms/ProductCard/ProductCardV3/ProductCardV3.js";export{ProductGalleryMobile}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js";export{ProductGalleryMobileV2}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js";export{ProductGalleryMobileV3}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js";export{ProductGalleryMobileV4}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV4/ProductGalleryMobileV4.js";export{ProductGalleryMobileV5}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/ProductGalleryMobileV5.js";export{ProductGalleryMobileV6}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/ProductGalleryMobileV6.js";export{SizeChartTableV2}from"./components/organisms/SizeCharTable/SizeChartTableV2/SizeChartV2.js";export{SizeChartTableV3}from"./components/organisms/SizeCharTable/SizeChartTableV3/SizeChartTableV3.js";export{SizeChartTableV4}from"./components/organisms/SizeCharTable/SizeChartTableV4/SizeChartTableV4.js";export{SubscriptionPlanSelector}from"./components/organisms/SubscriptionPlanSelector/SubscriptionPlanSelector.js";export{GreetingsCard}from"./components/organisms/TwoCtasAtCart/GreetingsCard.js";export{TwoCtasAtCart}from"./components/organisms/TwoCtasAtCart/TwoCtasAtCart.js";export{ClubPriceMemberLabel}from"./components/atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.js";export{HorizontalDivider}from"./components/atoms/HorizontalDivider/HorizontalDivider.js";export{Icon as LibIcon}from"./components/atoms/Icon/Icon.js";export{Image}from"./components/atoms/Image/Image.js";import"./components/atoms/PriceLabel/PriceLabel.js";import"./components/atoms/PriceLabelV2/PriceLabelV2.js";export{ToggleComponent}from"./components/atoms/Toggle/toggle.js";import"./components/molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js";import"./components/molecules/OfferAtCartImage/OfferAtCartImage.styled.js";export{CouponCard}from"./components/molecules/CouponCard/CouponCard.js";export{ArrowTip}from"./components/molecules/ArrowTip/ArrowTip.js";export{AutoshipFrequencyDropdown}from"./components/molecules/AutoshipFrequencyDropdown/AutoshipFrequencyDropdown.js";export{BenefitsList}from"./components/molecules/BenefitsList/BenefitsList.js";export{HurryUp}from"./components/molecules/HurryUp/HurryUp.js";export{Spinner}from"./components/molecules/Spinner/Spinner.js";export{Video}from"./components/molecules/Video/Video.js";export{IconsWithTitleList}from"./components/molecules/IconsWithTitleList/IconsWithTitleList.js";export{LikeButton}from"./components/molecules/LikeButton/LikeButton.js";import"./components/molecules/ScarcityTag/ScarcityTag.styled.js";export{BeforeAfterVariant,componentSizeMapper}from"./components/before-after/types.js";export{default as createCache}from"@emotion/cache";export{default as styled}from"@emotion/styled";export{CacheProvider,Global,css}from"@emotion/react";export{default as useOnClickOutside}from"./hooks/click-outside.js";export{default as useDeviceType}from"./hooks/useDeviceType/useDeviceType.js";export{useViewportAwarePosition}from"./hooks/useViewportAwarePosition/useViewportAwarePosition.js";export{useWindowDimensions}from"./hooks/WindowDimensions.js";export{buildImageUrl}from"./utils/buildImageUrl/buildImageUrl.js";export{isDangerouslySetInnerHTML}from"./utils/common/index.js";export{benefits,benefitsRawHtml,benefitsRawHtmlV2,sizeOptions,title}from"./utils/constants/offerAtCart.js";export{DateFormat,formatDate}from"./utils/dateFormatter/dateFormatter.js";export{debounce}from"./utils/debounce/index.js";export{decimalFormat}from"./utils/decimalParser/decimalParser.js";export{formatPrice}from"./utils/formatPrice/formatPrice.js";export{getSrcSet}from"./utils/getSrcSet/getSrcSet.js";export{mediaQueries}from"./utils/media.js";export{CancellationFlowAccordionContentPerPartner}from"./utils/mock-content/CancellationFlowAccordion.js";export{simulateMouseClick}from"./utils/simulateClick/simulateClick.js";export{sliceString}from"./utils/sliceString/sliceString.js";export{isEmail,isEmpty,isNumber,isPhoneNumber,isValidDate}from"./utils/validations/validations.js";
1
+ export{default as PackSelectorV2}from"./components/PackSelectorV2/PackSelectoV2.js";export{AbsorbencyLevel}from"./components/absorbency-level/AbsorbencyLevel.js";export{default as AccordionOptions}from"./components/accordion-options/AccordionOptions.js";export{default as Accordion}from"./components/accordion/Accordion.js";export{default as Autoship}from"./components/autoship/autoShip.js";export{default as AutoshipV2}from"./components/autoshipV2/autoshipV2.js";export{BeforeAfterCard}from"./components/before-after/BeforeAfter.js";export{Bundle}from"./components/bundle/index.js";export{BuyNowPayLater}from"./components/buynowpaylater/BuyNowPayLater.js";export{CartProductItem}from"./components/cartProductItem/index.js";export{Checkbox}from"./components/checkbox/Checkbox.js";export{Collection}from"./components/collection/index.js";export{default as ColorPickerWithTooltip}from"./components/color/ColorPickerWithTooltip.js";export{default as MultiColorPicker}from"./components/color/MultiColorPicker.js";export{default as SingleColorPicker}from"./components/color/SingleColorPicker.js";export{ColorSelector}from"./components/color/selector/ColorSelector.js";export{PatternSelector}from"./components/color/selector/PatternSelector.js";import*as o from"./components/cross-sell/index.js";export{o as CrossSell};export{default as ButtonPrimary}from"./components/cta/primary/ButtonPrimary.js";export{default as ButtonSecondary}from"./components/cta/secondary/ButtonSecondary.js";export{default as ButtonSecondaryOutline}from"./components/cta/secondary/ButtonSecondaryOutline.js";import"tslib";import"@emotion/react/jsx-runtime";export{AssetsProvider,ThemeProvider,ThemeVariables,useTheme,useThemeAssets}from"./core/theme/Theme.js";import"react/jsx-runtime";export{CardSectionType,ComponentPosition,ComponentSize,InputValidationType}from"./types/enums.js";import"./components/cta/styled.js";export{DeliveryDetails}from"./components/delivery-details/DeliveryDetails.js";export{Note}from"./components/delivery-details/Note/Note.js";export{Drawer}from"./components/drawer/Drawer.js";export{DropdownListIcons}from"./components/dropdown-list-icons/DropdownListIcons.js";export{default as SizeDropdown}from"./components/dropdown/size-dropdown/SizeDropdown.js";export{default as DropdownDialog}from"./components/dropdown/variants/dialog/DropdownDialog.js";export{default as FilteringDropdown}from"./components/dropdown/variants/filtering/FilteringDropdown.js";export{default as SimpleDropdown}from"./components/dropdown/variants/simple/SimpleDropdown.js";export{default as SmartDropdown}from"./components/dropdown/variants/smart/SmartDropdown.js";export{Filters}from"./components/filtering/Filters.js";export{Tags as FilteringTags}from"./components/filtering/Tags/Tags.js";export{FitGuarantee}from"./components/fit-guarantee/FitGuarantee.js";export{FitPredictor}from"./components/fit/FitPredictor.js";export{ProductGallery}from"./components/gallery/ProductGallery.js";export{IconButton}from"./components/icon-button/IconButton.js";export{AmazonButton,PaypalButton}from"./components/icon-button/amazonAndPaypal/AmazonPaypalButtons.js";export{Icon}from"./components/icons/index.js";export{IconsWithTitle}from"./components/iconsWithTitle/index.js";export{ImageCardWithDescription}from"./components/image-card/ImageCard.js";export{Input}from"./components/input/index.js";export{Modal,Overlay,modalEvent,useModal,useModalEvent}from"./components/modal/Modal.js";export{MotivatorProgressBar}from"./components/motivator-progress-bar/MotivatorProgressBar.js";export{OfferBanner}from"./components/offer-banner/OfferBanner.js";export{OrderBar}from"./components/order-bar/OrderBar.js";export{default as PackSelector}from"./components/packs/selector/PackSelector.js";export{Pagination}from"./components/pagination/Pagination.js";export{PaginatorBlog}from"./components/pagination/blogPaginator/PaginatorBlog.js";export{PaymentMethod}from"./components/payment-methods/PaymentMethod.js";export{ClubOfferTag}from"./components/pricing/clubOffer/ClubOfferTag.js";export{DiscountTag}from"./components/pricing/discount/DiscountTag.js";export{PriceLabel}from"./components/pricing/price/PriceLabel.js";export{PriceLabelV2}from"./components/pricing/priceLabelV2/PriceLabelV2.js";export{PriceLabelV3}from"./components/pricing/priceLabelV3/PriceLabelV3.js";export{PriceLabelV5}from"./components/pricing/priceLabelV5/PriceLabelV5.js";export{PriceLabelV6}from"./components/pricing/priceLabelV6/PriceLabelV6.js";export{default as SimpleOrderItem}from"./components/product/order/item/SimpleOrderItem.js";export{ProgressBar}from"./components/progress-bar/ProgressBar.js";export{QuantityPicker}from"./components/quantityPicker/QuantityPicker.js";export{RadioPrimary}from"./components/radio/RadioPrimary/radioPrimary.js";export{RadioGroupInput}from"./components/radio/container/group.js";export{ClubRadioGroupInput}from"./components/radio/clubContainer/clubGroup.js";export{RadioInput}from"./components/radio/input/radio.js";export{Rating}from"./components/rating/Rating.js";export{StarList}from"./components/rating/starList/StarList.js";export{default as ReviewDetail}from"./components/review-detail/ReviewDetail.js";export{default as Review}from"./components/review/Review.js";export{default as ReviewsHeader}from"./components/reviews-header/ReviewsHeader.js";export{ScrollToTop}from"./components/scroll-to-top/ScrollToTop.js";export{SearchBar}from"./components/search-bar/SearchBar.js";export{default as SearchNavigation}from"./components/search-navigation/SearchNavigation.js";export{default as Card}from"./components/shared/card/Card.js";export{Portal}from"./components/shared/portal/Portal.js";export{Spacing}from"./components/shared/spacing/Spacing.js";export{ShortBanner}from"./components/short-banner/ShortBanner.js";export{default as SizeChartTable}from"./components/size-chart/SizeChart.js";export{SizeTable}from"./components/size-table/SizeTable.js";export{default as SizeFitGuide}from"./components/size/guide/SizeFitGuide.js";export{default as SizeSelector}from"./components/size/selector/SizeSelector.js";export{default as SliderNavigation}from"./components/slider/SliderNavigation.js";export{StrengthBars}from"./components/strength-bars/StrengthBars.js";export{default as Tab}from"./components/tabs/Tab.js";export{default as Tabs}from"./components/tabs/Tabs.js";export{default as CategoryTag}from"./components/tag/variants/pdp/category/CategoryTag.js";export{default as CategorySquareTag}from"./components/tag/variants/pdp/categorySquare/CategorySquareTag.js";export{default as seasonOfferRoundedTag}from"./components/tag/variants/pdp/season-offer-rounded/SeasonOfferRounded.js";export{default as SeasonOfferTag}from"./components/tag/variants/pdp/season-offer/SeasonOfferTag.js";import"./components/tag/variants/product/styled.js";export{default as TextButton}from"./components/text-button/TextButton.js";export{Text}from"./components/text/Text.js";export{default as TextWithImage}from"./components/textWithImage/index.js";export{Timer}from"./components/timer/Timer.js";export{Toast}from"./components/toast/Toast.js";export{Tooltip}from"./components/tooltip/Tooltip.js";export{Totals}from"./components/totals/index.js";export{default as TrackingProgressV2}from"./components/tracking-progress-v2/TrackingProgressV2.js";export{default as TrackingProgress}from"./components/tracking-progress/TrackingProgress.js";export{AutoshipOfferCard}from"./components/organisms/AutoshipOfferCard/AutoshipOfferCardItem.js";export{AutoshipOfferCardCta}from"./components/organisms/AutoshipOfferCardCta/AutoshipOfferCardItemCta.js";export{AutoshipPdpCard}from"./components/organisms/AutoshipPdpCard/AutoshipPdpCard.js";export{BasicAccordion}from"./components/organisms/BasicAccordion/BasicAccordion.js";export{CartItemCard}from"./components/organisms/CartItemCard/CartItem.js";export{ClubOfferSelector}from"./components/organisms/ClubOfferSelector/clubOfferSelector.js";export{ClubOfferSelector2}from"./components/organisms/ClubOfferSelector2/clubOfferSelector2.js";export{JoinClubCard}from"./components/organisms/JoinClubCard/joinClubCard.js";export{OfferAtCart}from"./components/organisms/OfferAtCart/OfferAtCart.js";export{OfferAtCartV2}from"./components/organisms/OfferAtCartV2/OfferAtCartV2.js";export{OfferAtCartV3}from"./components/organisms/OfferAtCartV3/OfferAtCartV3.js";export{OfferAtCartV4}from"./components/organisms/OfferAtCartV4/OfferAtCartV4.js";export{OfferAtPDP}from"./components/organisms/OfferAtPDP/OfferAtPDP.js";import"./components/organisms/OfferAtPDP/types.js";export{ProductCard}from"./components/organisms/ProductCard/ProductCardV1/ProductCard.js";export{ProductCardV2}from"./components/organisms/ProductCard/ProductCardV2/ProductCardV2.js";export{ProductCardV3}from"./components/organisms/ProductCard/ProductCardV3/ProductCardV3.js";export{ProductGalleryMobile}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js";export{ProductGalleryMobileV2}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js";export{ProductGalleryMobileV3}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js";export{ProductGalleryMobileV4}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV4/ProductGalleryMobileV4.js";export{ProductGalleryMobileV5}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/ProductGalleryMobileV5.js";export{ProductGalleryMobileV6}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/ProductGalleryMobileV6.js";export{SizeChartTableV2}from"./components/organisms/SizeCharTable/SizeChartTableV2/SizeChartV2.js";export{SizeChartTableV3}from"./components/organisms/SizeCharTable/SizeChartTableV3/SizeChartTableV3.js";export{SizeChartTableV4}from"./components/organisms/SizeCharTable/SizeChartTableV4/SizeChartTableV4.js";export{SubscriptionPlanSelector}from"./components/organisms/SubscriptionPlanSelector/SubscriptionPlanSelector.js";export{GreetingsCard}from"./components/organisms/TwoCtasAtCart/GreetingsCard.js";export{TwoCtasAtCart}from"./components/organisms/TwoCtasAtCart/TwoCtasAtCart.js";export{ClubPriceMemberLabel}from"./components/atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.js";export{HorizontalDivider}from"./components/atoms/HorizontalDivider/HorizontalDivider.js";export{Icon as LibIcon}from"./components/atoms/Icon/Icon.js";export{Image}from"./components/atoms/Image/Image.js";import"./components/atoms/PriceLabel/PriceLabel.js";import"./components/atoms/PriceLabelV2/PriceLabelV2.js";export{ToggleComponent}from"./components/atoms/Toggle/toggle.js";import"./components/molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js";import"./components/molecules/OfferAtCartImage/OfferAtCartImage.styled.js";export{CouponCard}from"./components/molecules/CouponCard/CouponCard.js";export{ArrowTip}from"./components/molecules/ArrowTip/ArrowTip.js";export{AutoshipFrequencyDropdown}from"./components/molecules/AutoshipFrequencyDropdown/AutoshipFrequencyDropdown.js";export{BenefitsList}from"./components/molecules/BenefitsList/BenefitsList.js";export{HurryUp}from"./components/molecules/HurryUp/HurryUp.js";export{Spinner}from"./components/molecules/Spinner/Spinner.js";export{Video}from"./components/molecules/Video/Video.js";export{IconsWithTitleList}from"./components/molecules/IconsWithTitleList/IconsWithTitleList.js";export{LikeButton}from"./components/molecules/LikeButton/LikeButton.js";import"./components/molecules/ScarcityTag/ScarcityTag.styled.js";export{BeforeAfterVariant,componentSizeMapper}from"./components/before-after/types.js";export{default as createCache}from"@emotion/cache";export{default as styled}from"@emotion/styled";export{CacheProvider,Global,css}from"@emotion/react";export{default as useOnClickOutside}from"./hooks/click-outside.js";export{default as useDeviceType}from"./hooks/useDeviceType/useDeviceType.js";export{useViewportAwarePosition}from"./hooks/useViewportAwarePosition/useViewportAwarePosition.js";export{useWindowDimensions}from"./hooks/WindowDimensions.js";export{buildImageUrl}from"./utils/buildImageUrl/buildImageUrl.js";export{isDangerouslySetInnerHTML}from"./utils/common/index.js";export{benefits,benefitsRawHtml,benefitsRawHtmlV2,sizeOptions,title}from"./utils/constants/offerAtCart.js";export{DateFormat,formatDate}from"./utils/dateFormatter/dateFormatter.js";export{debounce}from"./utils/debounce/index.js";export{decimalFormat}from"./utils/decimalParser/decimalParser.js";export{formatPrice}from"./utils/formatPrice/formatPrice.js";export{getSrcSet}from"./utils/getSrcSet/getSrcSet.js";export{mediaQueries}from"./utils/media.js";export{CancellationFlowAccordionContentPerPartner}from"./utils/mock-content/CancellationFlowAccordion.js";export{simulateMouseClick}from"./utils/simulateClick/simulateClick.js";export{sliceString}from"./utils/sliceString/sliceString.js";export{isEmail,isEmpty,isNumber,isPhoneNumber,isValidDate}from"./utils/validations/validations.js";
2
2
  //# sourceMappingURL=index.js.map
package/build/index.d.ts CHANGED
@@ -106,6 +106,7 @@ interface PriceLabelProps {
106
106
  finalPrice: string | number;
107
107
  originalPrice?: string | number;
108
108
  color?: string;
109
+ originalPriceColor?: string;
109
110
  size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
110
111
  discount?: DiscountTagProps$1;
111
112
  clubOffer?: ClubOfferTagProps;
@@ -538,6 +539,8 @@ declare const ClinicallyTested: IconComponent;
538
539
 
539
540
  declare const CrueltyFree: IconComponent;
540
541
 
542
+ declare const Eye: IconComponent;
543
+
541
544
  declare const FairAdvantages: IconComponent;
542
545
 
543
546
  declare const Focus: IconComponent;
@@ -590,6 +593,7 @@ declare const Custom_BulletTwo: typeof BulletTwo;
590
593
  declare const Custom_Certified: typeof Certified;
591
594
  declare const Custom_ClinicallyTested: typeof ClinicallyTested;
592
595
  declare const Custom_CrueltyFree: typeof CrueltyFree;
596
+ declare const Custom_Eye: typeof Eye;
593
597
  declare const Custom_FairAdvantages: typeof FairAdvantages;
594
598
  declare const Custom_Focus: typeof Focus;
595
599
  declare const Custom_FreeShippingTruck: typeof FreeShippingTruck;
@@ -623,6 +627,7 @@ declare namespace Custom {
623
627
  Custom_Certified as Certified,
624
628
  Custom_ClinicallyTested as ClinicallyTested,
625
629
  Custom_CrueltyFree as CrueltyFree,
630
+ Custom_Eye as Eye,
626
631
  Custom_FairAdvantages as FairAdvantages,
627
632
  Custom_Focus as Focus,
628
633
  Custom_FreeShippingTruck as FreeShippingTruck,
@@ -2665,6 +2670,20 @@ interface CheckboxProps {
2665
2670
  }
2666
2671
  declare const Checkbox: react__default.FC<CheckboxProps>;
2667
2672
 
2673
+ interface ProductTagProps {
2674
+ text: string;
2675
+ backgroundColor?: string;
2676
+ textColor?: string;
2677
+ borderColor?: string;
2678
+ borderWidth?: string;
2679
+ borderRadius?: string;
2680
+ fontSize?: string;
2681
+ fontWeight?: string;
2682
+ padding?: string;
2683
+ className?: string;
2684
+ onClick?: () => void;
2685
+ }
2686
+
2668
2687
  interface RatingProps {
2669
2688
  rating: number;
2670
2689
  size?: ComponentSize;
@@ -2710,7 +2729,6 @@ interface ProductItemSmallMobileProps$1 extends ProductItemProps {
2710
2729
  priceLoading?: boolean;
2711
2730
  noFollow?: boolean;
2712
2731
  colorPicker?: {
2713
- shouldStopCardClick?: boolean;
2714
2732
  display: boolean;
2715
2733
  position: string;
2716
2734
  component: JSX.Element | JSX.Element[] | undefined;
@@ -2732,6 +2750,9 @@ interface ProductItemSmallMobileProps$1 extends ProductItemProps {
2732
2750
  clubPrice?: string;
2733
2751
  showClubPriceLabel?: boolean;
2734
2752
  isOnViewport?: boolean;
2753
+ productTags?: ProductTagProps[];
2754
+ showProductTags?: boolean;
2755
+ tagsPosition?: 'overlay' | 'between';
2735
2756
  discountTag?: DiscountTagProps$1;
2736
2757
  }
2737
2758
 
@@ -3078,7 +3099,7 @@ declare function withProductGrid<P extends ProductItemProps>(ProductItemComponen
3078
3099
  declare const Collection: {
3079
3100
  ProductItemMobile: react.FC<ProductItemSmallMobileProps>;
3080
3101
  withProductGrid: typeof withProductGrid;
3081
- ProductItemTK: ({ title, titleStyle, hasSpacing, textContainerGap, customSizeRating, image, ImageBorderRadius, imageHover, price, rating, size, alignName, url, className, topTag, topRightTag, bottomTag, onClick, priceDisplayType, originalPriceStyled, priceAtBottom, priceLoading, noFollow, colorPicker, isBNPL, hasStrength, clubPrice, showClubPriceLabel, isOnViewport, discountTag, }: ProductItemSmallMobileProps$1) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
3102
+ ProductItemTK: ({ title, titleStyle, hasSpacing, textContainerGap, customSizeRating, image, ImageBorderRadius, imageHover, price, rating, size, alignName, url, className, topTag, topRightTag, bottomTag, onClick, priceDisplayType, originalPriceStyled, priceAtBottom, priceLoading, noFollow, colorPicker, isBNPL, hasStrength, clubPrice, showClubPriceLabel, isOnViewport, productTags, showProductTags, tagsPosition, discountTag, }: ProductItemSmallMobileProps$1) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
3082
3103
  };
3083
3104
 
3084
3105
  /** @jsxImportSource @emotion/react */
@@ -3616,6 +3637,7 @@ declare const PaymentMethod: ({ Icon, width, height, onClick }: PaymentMethodsPr
3616
3637
 
3617
3638
  interface Price extends Pick<PriceLabelProps, 'finalPrice' | 'originalPrice'> {
3618
3639
  color?: string;
3640
+ originalPriceColor?: string;
3619
3641
  }
3620
3642
  interface ProductOrderItemProps {
3621
3643
  title: react__default.ReactNode | string;
@@ -4001,6 +4023,14 @@ interface CategorySquareTagProps {
4001
4023
  }
4002
4024
  declare const CategorySquareTag: ({ text, size, className, styledBorder, }: CategorySquareTagProps) => _emotion_react_jsx_runtime.JSX.Element;
4003
4025
 
4026
+ interface SeasonOfferRoundedTagProps {
4027
+ text: string;
4028
+ backgroundColor?: string;
4029
+ size: ComponentSize;
4030
+ className?: string;
4031
+ }
4032
+ declare const SeasonOfferRoundedTag: ({ text, backgroundColor, size, className, }: SeasonOfferRoundedTagProps) => _emotion_react_jsx_runtime.JSX.Element;
4033
+
4004
4034
  interface SeasonOfferTagProps {
4005
4035
  text: string;
4006
4036
  backgroundColor?: string;
@@ -4016,14 +4046,6 @@ interface SeasonOfferTagProps {
4016
4046
  }
4017
4047
  declare const SeasonOfferTag: ({ text, backgroundColor, size, className, styledBorder, bottomRightBorderRounded, allBordersRounded, color, }: SeasonOfferTagProps) => _emotion_react_jsx_runtime.JSX.Element;
4018
4048
 
4019
- interface SeasonOfferRoundedTagProps {
4020
- text: string;
4021
- backgroundColor?: string;
4022
- size: ComponentSize;
4023
- className?: string;
4024
- }
4025
- declare const SeasonOfferRoundedTag: ({ text, backgroundColor, size, className, }: SeasonOfferRoundedTagProps) => _emotion_react_jsx_runtime.JSX.Element;
4026
-
4027
4049
  interface BaseButtonProps {
4028
4050
  children: react__default.ReactNode;
4029
4051
  renderLeading?: react__default.ReactNode;
@@ -4242,6 +4264,7 @@ interface SubtotalProps {
4242
4264
 
4243
4265
  interface TotalProps {
4244
4266
  total: string;
4267
+ original?: string;
4245
4268
  currency: string;
4246
4269
  highlightColor?: string;
4247
4270
  saving?: {
@@ -4250,10 +4273,11 @@ interface TotalProps {
4250
4273
  };
4251
4274
  showTotalLabel?: boolean;
4252
4275
  highlightSavings?: 'v1' | 'v2';
4276
+ isPrincingStyleTestEnabled?: boolean;
4253
4277
  }
4254
4278
 
4255
4279
  declare const Totals: {
4256
- Total: ({ total, currency, saving, highlightColor, showTotalLabel, highlightSavings, }: TotalProps) => JSX.Element;
4280
+ Total: ({ total, original, currency, saving, highlightColor, showTotalLabel, highlightSavings, isPrincingStyleTestEnabled, }: TotalProps) => JSX.Element;
4257
4281
  Subtotal: ({ subtotal, shipping, taxes, coupon, highlightColor, }: SubtotalProps) => JSX.Element;
4258
4282
  };
4259
4283
 
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./product/mobile/ProductItemMobile.js"),r=require("./product/truekind/ProductItemTK.js"),t={ProductItemMobile:e,withProductGrid:require("./grid/WithProductGrid.js"),ProductItemTK:r};exports.Collection=t;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./grid/WithProductGrid.js"),r={ProductItemMobile:require("./product/mobile/ProductItemMobile.js"),withProductGrid:e,ProductItemTK:require("./product/truekind/ProductItemTK.js")};exports.Collection=r;
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("tslib"),r=require("@emotion/react/jsx-runtime"),i=require("react"),o=require("../../../SkeletonBox/SkeletonBox.js"),s=require("../../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.js");require("../../../atoms/HorizontalDivider/HorizontalDivider.js");var t=require("../../../atoms/Icon/Icon.js"),l=require("../../../atoms/Image/Image.js");require("../../../atoms/PriceLabel/PriceLabel.js"),require("../../../atoms/PriceLabelV2/PriceLabelV2.js"),require("react/jsx-runtime"),require("../../../atoms/Toggle/toggle.styled.js");var n=require("../../../buynowpaylater/BuyNowPayLater.js"),a=require("../../../club-price-label/ClubPriceLabel.js"),d=require("../../../shared/spacing/Spacing.js"),c=require("../../../strength-bars/StrengthBars.js"),u=require("../../../../core/theme/Theme.js"),g=require("../../../../hooks/WindowDimensions.js");require("../../../../utils/constants/offerAtCart.js");var j=require("../../../../utils/getSrcSet/getSrcSet.js");require("../../../../utils/media.js"),require("../../../../utils/mock-content/CancellationFlowAccordion.js");var m=require("../../../../types/enums.js");require("../../../PackSelectorV2/PackSelectoV2.js"),require("../../../absorbency-level/AbsorbencyLevel.js"),require("../../../accordion-options/AccordionOptions.js"),require("../../../accordion/Accordion.js"),require("../../../dropdown/variants/simple/SimpleDropdown.js"),require("../../../radio/input/styles.js"),require("../../../tooltip/Styled.js"),require("../../../autoship/styled.js"),require("../../../autoshipV2/styled.js"),require("../../../before-after/BeforeAfter.js"),require("../../../pricing/clubOffer/ClubOfferTag.js");var v=require("../../../pricing/discount/DiscountTag.js"),p=require("../../../pricing/price/PriceLabel.js"),q=require("../../../pricing/priceLabelV2/PriceLabelV2.js");require("../../../pricing/priceLabelV3/PriceLabelV3.js"),require("../../../pricing/priceLabelV5/PriceLabelV5.styled.js");var y=require("../../../pricing/styles.js");require("../../../pricing/priceLabelV6/PriceLabelV6.styled.js"),require("../../../shared/card/Card.js"),require("../../../bundle/minimalistic/styled.js"),require("../../../text/Text.js"),require("../../../bundle/motivator/styled.js"),require("../../../bundle/simple/Simple.js"),require("../../../offer-banner/OfferBanner.js"),require("../../../cartProductItem/CloseIcon/CloseButton.js"),require("../../../cartProductItem/Description/Description.js"),require("../../../cartProductItem/Promo/Promo.js"),require("../../../cartProductItem/Title/Title.js"),require("../../../cartProductItem/TrashIcon/styled.js"),require("../../../checkbox/Checkbox.js");var b=require("../../../pricing/priceLabelV4/PriceLabelV4.js"),h=require("../../../rating/Rating.js"),P=require("./constants.js"),S=require("./styled.js");require("../truekind/styled.js"),require("../../grid/WithProductGrid.js"),require("../../../color/ColorRadioGroup.js"),require("../../../color/selector/PatternSelector.js"),require("../../../color/styles/ColorPickerwithTootip.styled.js"),require("../../../cross-sell/Checkbox/CrossSellCheckbox.js"),require("../../../cta/styled.js"),require("../../../delivery-details/DeliveryDetails.js"),require("../../../delivery-details/Note/Note.js"),require("../../../drawer/Drawer.js"),require("../../../dropdown-list-icons/Styled.js"),require("../../../dropdown/size-dropdown/Styled.js"),require("../../../dropdown/variants/dialog/DropdownDialog.js"),require("../../../dropdown/base/BaseDropdown.js"),require("@headlessui/react"),require("../../../input/base/Error.js"),require("../../../shared/select/BaseSelect.js"),require("../../../dropdown/variants/smart/styled.js"),require("../../../filtering/Accordion.js"),require("../../../filtering/FiltersStyled.js"),require("../../../filtering/Tags/Tags.js"),require("../../../fit-guarantee/FitGuarantee.js"),require("../../../fit/FitPredictor.js"),require("../../../slider/ArrowButton.js"),require("../../../slider/StyledSlider.js"),require("../../../gallery/components/ImageSmallPreview/styled.js"),require("../../../gallery/components/ImagePreviewList/styled.js"),require("../../../molecules/Video/components/styled.js"),require("../../../molecules/Video/styled.js"),require("../../../gallery/components/ImageProductSlide/styled.js"),require("../../../gallery/styled.js");var f=require("../../../icon-button/IconButton.js");require("../../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js"),require("../../../iconsWithTitle/index.js"),require("../../../image-card/ImageCard.js"),require("../../../input/label/Label.js"),require("../../../input/base/Styled.js"),require("../../../input/custom/Custom.js"),require("../../../input/basePlusButton/BasePlusButton.js"),require("../../../input/basePlusIcon/BasePlusIcon.js"),require("../../../modal/Modal.js"),require("../../../motivator-progress-bar/MotivatorProgressBar.js"),require("../../../order-bar/OrderBar.js"),require("../../../packs/selector/PackSelector.js"),require("../../../pagination/styles.js"),require("../../../payment-methods/PaymentMethod.js"),require("../../../product/order/item/SimpleOrderItem.js"),require("../../../progress-bar/ProgressBar.js"),require("../../../quantityPicker/styled.js"),require("../../../radio/RadioPrimary/radioPrimary.js"),require("../../../radio/clubRadioInput/clubRadio.js"),require("../../../rating/starList/StarList.js"),require("../../../review-detail/ReviewDetail.js"),require("../../../review/Review.js"),require("../../../reviews-header/ReviewsHeader.js"),require("../../../scroll-to-top/ScrollToTop.js"),require("../../../search-bar/components/ClearButton/styled.js"),require("../../../search-bar/components/Footer/styled.js"),require("../../../search-bar/components/ProductItem/styled.js"),require("../../../search-bar/components/ResultsPanel/styled.js"),require("../../../search-bar/components/SearchControl/styled.js"),require("../../../search-bar/styled.js"),require("../../../search-navigation/styled.js"),require("react-dom"),require("../../../short-banner/ShortBanner.js"),require("../../../size-chart/styled.js"),require("../../../size-table/SizeTable.js"),require("../../../size/guide/SizeFitGuide.js"),require("../../../size/selector/styled.js"),require("../../../tabs/Tab.js"),require("../../../tabs/Tabs.js"),require("../../../tag/Tag.js"),require("@emotion/react"),require("../../../textWithImage/index.js"),require("../../../timer/styled.js"),require("../../../toast/Toast.js"),require("../../../totals/total/styled.js"),require("../../../totals/subtotal/Subtotal.js"),require("../../../tracking-progress-v2/TrackingProgressV2.js"),require("../../../tracking-progress/TrackingProgress.js"),require("../../../organisms/AutoshipOfferCard/AutoshipOfferCardItem.styled.js"),require("../../../organisms/AutoshipOfferCardCta/AutoshipOfferCardItem.styled.js"),require("../../../organisms/AutoshipPdpCard/AutoshipPdpCard.styled.js"),require("../../../organisms/BasicAccordion/BasicAccordion.js"),require("../../../organisms/CartItemCard/CartItem.js"),require("../../../organisms/ClubOfferSelector/styled.js"),require("../../../organisms/ClubOfferSelector2/styled.js"),require("../../../organisms/JoinClubCard/joinClubCard.js"),require("../../../organisms/OfferAtCart/styled.js"),require("../../../organisms/OfferAtCartV2/styled.js"),require("../../../organisms/OfferAtCartV3/styled.js"),require("../../../organisms/OfferAtCartV4/styled.js"),require("../../../organisms/OfferAtPDP/styled.js"),require("../../../organisms/OfferAtPDP/types.js"),require("../../../organisms/ProductCard/ProductCardV1/ProductCard.js"),require("../../../organisms/ProductCard/ProductCardV2/styled.js"),require("../../../organisms/ProductCard/ProductCardV3/styled.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js"),require("@ant-design/react-slick"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV4/ContentGallery/styled.js"),require("react-inner-image-zoom"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/styled.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV5/styled.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV6/ColorVariantsGallery/styled.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/styled.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV6/styled.js"),require("../../../organisms/SizeCharTable/SizeChartTableV2/styled.js"),require("../../../organisms/SizeCharTable/SizeChartTableV3/styled.js"),require("../../../molecules/ArrowTip/ArrowTip.styled.js"),require("../../../organisms/SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js"),require("../../../organisms/SubscriptionPlanSelector/styled.js"),require("../../../organisms/TwoCtasAtCart/Greeting.styled.js"),require("../../../organisms/TwoCtasAtCart/Card.styled.js"),require("../../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js"),require("../../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js"),require("../../../molecules/CouponCard/styled.js"),require("../../../molecules/BenefitsList/styled.js"),require("../../../molecules/HurryUp/styled.js"),require("../../../molecules/Spinner/styled.js"),require("../../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js");var C=require("../../../molecules/LikeButton/LikeButton.js");require("../../../molecules/ScarcityTag/ScarcityTag.styled.js");module.exports=function(x){var z,w,T,L,k,I,V,M,B,D,G,A=x.title,_=x.image,O=x.imageHover,F=x.price,R=x.rating,N=x.hideRating,W=void 0!==N&&N,H=x.size,E=x.alignName,Y=void 0===E?"center":E,J=x.url,K=x.className,Q=x.topTag,U=x.bottomTag,X=x.onClick,Z=x.priceDisplayType,$=void 0===Z?"default":Z,ee=x.priceAtBottom,re=x.ratingOnTop,ie=x.priceLoading,oe=x.noFollow,se=void 0!==oe&&oe,te=x.colorPicker,le=void 0===te?{display:!1,position:"top",component:void 0,componentContainerProps:{position:"absolute",top:"4px",right:"4px",padding:"0px",boxSizing:"border-box",zIndex:1}}:te,ne=x.isBNPL,ae=void 0===ne?{displayBNPL:!1,installments:4,installmentPrice:"",iconFolder:"PDP",iconName:"Klarna",showLogo:!0,iconColor:"#292929",fontSize:"12px"}:ne,de=x.hasStrength,ce=void 0===de?{strength:-1,description:""}:de,ue=x.clubPrice,ge=void 0===ue?"":ue,je=x.showClubPriceLabel,me=void 0!==je&&je,ve=x.isRatingLoading,pe=x.version,qe=void 0===pe?1:pe,ye=x.showDiscountPercentageTag,be=void 0!==ye&&ye,he=x.discountTagLoading,Pe=x.discountTag,Se=x.isOnViewport,fe=void 0!==Se&&Se,Ce=x.hasDefaultSize,xe=void 0!==Ce&&Ce,ze=x.clubOffer,we=x.likeBtn,Te=x.onClickBottomButton,Le=x.showDecimals,ke=void 0===Le||Le,Ie=x.showDivider,Ve=void 0!==Ie&&Ie,Me=x.invertPriceDirection,Be=void 0!==Me&&Me,De=x.priceAndReviewInOneLine,Ge=void 0!==De&&De,Ae=x.priceAndDiscountTagInOneLine,_e=void 0!==Ae&&Ae,Oe=u.useTheme(),Fe=S.getStylesBySize(H),Re=g.useWindowDimensions().isMobile,Ne=i.useMemo((function(){var e;return(e={},e[m.ComponentSize.Large]=8,e[m.ComponentSize.Medium]=4,e[m.ComponentSize.Small]=2,e)[H]}),[H]),We=function(i){var o,t,l,n,a,d;if(void 0===i&&(i=qe),"hidden"===$)return null;switch(i){case 4:return"styled"===$?r.jsx(b.PriceLabelV4,{finalPrice:F.finalPrice,originalPrice:F.originalPrice,finalPriceStyled:!1,color:F.color,size:m.ComponentSize.Medium,testId:"volume-discount-v4",clubStyle:me,clubPrice:ge,styledPrice:!0,finalPriceStyle:me?Re?{fontSize:"12px",fontWeight:700,color:null===(t=Oe.colors.pallete.brickRed)||void 0===t?void 0:t.color}:{fontSize:"16px",fontWeight:700,color:null===(o=Oe.colors.pallete.brickRed)||void 0===o?void 0:o.color}:void 0},void 0):r.jsx(b.PriceLabelV4,{finalPrice:F.finalPrice,originalPrice:F.originalPrice,finalPriceStyled:!1,color:F.color,size:m.ComponentSize.Medium,testId:"volume-discount-v4",clubStyle:me,clubPrice:ge,finalPriceStyle:me?Re?{fontSize:"12px",fontWeight:700,color:null===(n=Oe.colors.pallete.brickRed)||void 0===n?void 0:n.color}:{fontSize:"16px",fontWeight:700,color:null===(l=Oe.colors.pallete.brickRed)||void 0===l?void 0:l.color}:void 0},void 0);case 5:return r.jsx(S.ClubOfferPriceLabelWrapper,e.__assign({style:null==ze?void 0:ze.wrapperStyle},{children:r.jsx(s.ClubPriceMemberLabel,{isClub:!0,isPDP:!0,finalPrice:null===(a=null==ze?void 0:ze.price)||void 0===a?void 0:a.finalPrice,originalPrice:null===(d=null==ze?void 0:ze.price)||void 0===d?void 0:d.originalPrice,finalPriceStyled:!1,color:F.color,size:m.ComponentSize.Medium,testId:"volume-discount-v4",clubStyle:me,icon:null==ze?void 0:ze.clubOfferIcon,isCollections:null==ze?void 0:ze.isCollections},void 0)}),void 0);default:return"styled"===$?r.jsx(q.PriceLabelV2,{finalPrice:F.finalPrice,originalPrice:F.originalPrice,finalPriceStyled:!1,color:F.color,size:m.ComponentSize.Large,testId:"volume-discount",showDecimals:ke},void 0):r.jsx(p.PriceLabel,{invertDirection:Be,finalPrice:F.finalPrice,originalPrice:F.originalPrice,finalPriceStyled:!1,color:F.color,size:m.ComponentSize.Medium,testId:"volume-discount",clubStyle:me,finalPriceStyle:me?Re?{fontSize:"12px",fontWeight:700}:{fontSize:"16px",fontWeight:700}:void 0},void 0)}},He=function(){return W||!R.reviews&&!R.rating?r.jsx(r.Fragment,{},void 0):ve?r.jsx(o,{height:"20px",width:"80px"},void 0):r.jsx(h.Rating,{size:H===m.ComponentSize.Large?m.ComponentSize.Small:m.ComponentSize.XSmall,rating:R.rating,reviews:null==R?void 0:R.reviews,reviewsText:"",wrapWithParenthesis:!0},void 0)},Ee=i.useState(null!==(z=null==we?void 0:we.isLiked)&&void 0!==z&&z),Ye=Ee[0],Je=Ee[1],Ke=i.useState(null!==(w=null==we?void 0:we.likes)&&void 0!==w?w:0),Qe=Ke[0],Ue=Ke[1],Xe=_e?S.InlineContainer:i.Fragment;return r.jsxs(S.ProdCardContainer,e.__assign({className:K,"data-testid":"product-card-container-div"},{children:["corner"===le.position&&r.jsx(S.CornerContainer,e.__assign({},le.componentContainerProps,{children:le.component}),void 0),r.jsxs(S.Container,e.__assign({as:J?"a":"div",href:J,rel:se?"nofollow":"",className:"picContainer",onClick:X},{children:[!!we&&r.jsx(C.LikeButton,{isLiked:Ye,likes:Qe,onClick:function(e){e.stopPropagation(),Ue(Ye?function(e){return e-1}:function(e){return e+1}),Je((function(e){return!e})),null==we||we.onClick(e)},colors:{background:{active:null!==(k=null===(L=null===(T=we.colors)||void 0===T?void 0:T.background)||void 0===L?void 0:L.active)&&void 0!==k?k:Oe.colors.shades.white.color,hover:null!==(G=null!==(M=null===(V=null===(I=we.colors)||void 0===I?void 0:I.background)||void 0===V?void 0:V.hover)&&void 0!==M?M:null===(D=null===(B=we.colors)||void 0===B?void 0:B.background)||void 0===D?void 0:D.active)&&void 0!==G?G:Oe.colors.shades.white.color}}},void 0),Q||U?r.jsxs(S.ImageContainer,e.__assign({width:null==Fe?void 0:Fe.width,height:null==Fe?void 0:Fe.height,"data-testid":"tags-image-container"},{children:[r.jsx(l.Image,{src:_.src,srcSet:j.getSrcSet(_.src,180,360,720,960),alt:_.alt,width:xe?null==Fe?void 0:Fe.width:"100%",height:xe?null==Fe?void 0:Fe.height:"100%",loading:fe?"eager":"lazy",decoding:fe?"sync":"async",borderRadius:P.STYLES_BY_THEME[Oe.name].image.borderRadius},void 0),r.jsx(S.TopTagContainer,e.__assign({style:{width:le.display?"100%":"inherit"}},{children:Q}),void 0),r.jsx(S.BottomTagContainer,e.__assign({style:{width:le.display?"100%":"inherit"}},{children:U}),void 0)]}),void 0):r.jsx(l.Image,{src:_.src,srcSet:j.getSrcSet(_.src,180,360,720,960),alt:_.alt,width:null==Fe?void 0:Fe.width,height:null==Fe?void 0:Fe.height,loading:fe?"eager":"lazy",decoding:fe?"sync":"async",borderRadius:P.STYLES_BY_THEME[Oe.name].image.borderRadius},void 0),O?r.jsx(S.ImageHoverContainer,{className:"hover__image",src:O.src,srcSet:j.getSrcSet(O.src,180,360,720,960),loading:"lazy",decoding:"async",alt:O.alt,width:null==Fe?void 0:Fe.width,height:null==Fe?void 0:Fe.height},void 0):null]}),void 0),le.display&&"top"===le.position&&r.jsxs(r.Fragment,{children:[r.jsx(d.Spacing,{size:Ne},void 0),le.component]},void 0),re&&r.jsxs(r.Fragment,{children:[r.jsx(d.Spacing,{size:Ne},void 0),r.jsx(d.Spacing,{size:Ne},void 0),r.jsx(He,{},void 0)]},void 0),r.jsxs(S.Container,e.__assign({as:J?"a":"div",href:J,rel:se?"nofollow":"",onClick:X,className:"textContainer",style:{alignItems:me?"flex-start":"center"}},{children:[r.jsx(d.Spacing,{size:Ne},void 0),r.jsx(S.Title,e.__assign({theme:Oe,align:me?"left":Y,"data-testid":"product-card-title"},{children:A}),void 0),r.jsx(d.Spacing,{size:Ne},void 0),Ve&&r.jsxs(r.Fragment,{children:[r.jsx(S.Divider,{theme:Oe},void 0),r.jsx(d.Spacing,{size:Ne},void 0)]},void 0),ce&&-1!==ce.strength&&r.jsxs(r.Fragment,{children:[r.jsx(c.StrengthBars,{barsFilled:ce.strength,supportText:ce.description},void 0),r.jsx(d.Spacing,{size:10},void 0)]},void 0),ee&&!re?r.jsxs(r.Fragment,{children:[r.jsx(He,{},void 0),r.jsx(d.Spacing,{size:Ne},void 0),r.jsxs(S.MarginTopContainer,e.__assign({style:{marginTop:(null==ze?void 0:ze.isClubOffer)?0:8}},{children:[ie?r.jsx(o,{height:"20px",width:"140px"},void 0):We(),(null==ze?void 0:ze.isClubOffer)&&We(5)]}),void 0)]},void 0):r.jsxs(r.Fragment,{children:[r.jsxs(Xe,{children:[ie?r.jsx(o,{height:"20px",width:"140px"},void 0):Ge&&!re?r.jsxs(S.OneLineInfoWrapper,{children:[We(),r.jsx(He,{},void 0)]},void 0):r.jsxs(r.Fragment,{children:[!(null==ze?void 0:ze.isClubMember)&&We(),(null==ze?void 0:ze.isClubOffer)&&We(5),r.jsx(n.BuyNowPayLater,{displayBNPL:null==ae?void 0:ae.displayBNPL,installments:(null==ae?void 0:ae.installments)||0,installmentPrice:(null==ae?void 0:ae.installmentPrice)||"",iconFolder:null==ae?void 0:ae.iconFolder,iconName:(null==ae?void 0:ae.iconName)||"",showLogo:null==ae?void 0:ae.showLogo,iconColor:null==ae?void 0:ae.iconColor,fontSize:null==ae?void 0:ae.fontSize},void 0)]},void 0),me&&r.jsx(a.ClubPriceLabel,{clubPrice:ge},void 0),he?r.jsx(o,{height:"22px",width:"75px"},void 0):be&&r.jsx(y.TagContainer,e.__assign({size:m.ComponentSize.Small},{children:Pe&&r.jsx(v.DiscountTag,e.__assign({},Pe,{size:m.ComponentSize.Medium,style:{letterSpacing:"-0.05rem"}}),void 0)}),void 0)]},void 0),r.jsx(d.Spacing,{size:Ne},void 0),!re&&!Ge&&r.jsx(He,{},void 0)]},void 0),!!Te&&r.jsxs(r.Fragment,{children:[r.jsx(d.Spacing,{size:Ne},void 0),r.jsx(d.Spacing,{size:Ne},void 0),r.jsxs(f.IconButton,e.__assign({size:m.ComponentSize.Small,width:"100%",onClick:function(e){e.preventDefault(),e.stopPropagation(),null==Te||Te(e)},backgroundColor:{active:"transparent",hover:"transparent"},hasText:!0,rounded:!1,border:"1px solid #D1D1D1"},{children:[r.jsx(t.Icon,{name:"custom/eye",fill:"black",width:"16px",height:"16px"},void 0),r.jsx("span",e.__assign({style:{color:"black",fontSize:"14px"}},{children:"Quick View"}),void 0)]}),void 0)]},void 0)]}),void 0),le.display&&"bottom"===le.position&&r.jsxs(r.Fragment,{children:[r.jsx(d.Spacing,{size:Ne},void 0),le.component]},void 0)]}),void 0)};
1
+ "use strict";var e=require("tslib"),r=require("@emotion/react/jsx-runtime"),i=require("react"),o=require("../../../SkeletonBox/SkeletonBox.js"),s=require("../../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.js");require("../../../atoms/HorizontalDivider/HorizontalDivider.js"),require("../../../atoms/Icon/Icon.js");var t=require("../../../atoms/Image/Image.js");require("../../../atoms/PriceLabel/PriceLabel.js"),require("../../../atoms/PriceLabelV2/PriceLabelV2.js"),require("react/jsx-runtime"),require("../../../atoms/Toggle/toggle.styled.js");var l=require("../../../buynowpaylater/BuyNowPayLater.js"),n=require("../../../club-price-label/ClubPriceLabel.js"),a=require("../../../shared/spacing/Spacing.js"),d=require("../../../strength-bars/StrengthBars.js"),c=require("../../../../core/theme/Theme.js"),u=require("../../../../hooks/WindowDimensions.js");require("../../../../utils/constants/offerAtCart.js");var g=require("../../../../utils/getSrcSet/getSrcSet.js");require("../../../../utils/media.js"),require("../../../../utils/mock-content/CancellationFlowAccordion.js");var j=require("../../../../types/enums.js");require("../../../PackSelectorV2/PackSelectoV2.js"),require("../../../absorbency-level/AbsorbencyLevel.js"),require("../../../accordion-options/AccordionOptions.js"),require("../../../accordion/Accordion.js"),require("../../../dropdown/variants/simple/SimpleDropdown.js");var m=require("../../../icons/index.js");require("../../../radio/input/styles.js"),require("../../../tooltip/Styled.js"),require("../../../autoship/styled.js"),require("../../../autoshipV2/styled.js"),require("../../../before-after/BeforeAfter.js"),require("../../../pricing/clubOffer/ClubOfferTag.js");var v=require("../../../pricing/discount/DiscountTag.js"),p=require("../../../pricing/price/PriceLabel.js"),q=require("../../../pricing/priceLabelV2/PriceLabelV2.js");require("../../../pricing/priceLabelV3/PriceLabelV3.js"),require("../../../pricing/priceLabelV5/PriceLabelV5.styled.js");var y=require("../../../pricing/styles.js");require("../../../pricing/priceLabelV6/PriceLabelV6.styled.js"),require("../../../shared/card/Card.js"),require("../../../bundle/minimalistic/styled.js"),require("../../../text/Text.js"),require("../../../bundle/motivator/styled.js"),require("../../../bundle/simple/Simple.js"),require("../../../offer-banner/OfferBanner.js"),require("../../../cartProductItem/CloseIcon/CloseButton.js"),require("../../../cartProductItem/Description/Description.js"),require("../../../cartProductItem/Promo/Promo.js"),require("../../../cartProductItem/Title/Title.js"),require("../../../cartProductItem/TrashIcon/styled.js"),require("../../../checkbox/Checkbox.js"),require("../../grid/WithProductGrid.js");var b=require("../../../pricing/priceLabelV4/PriceLabelV4.js"),h=require("../../../rating/Rating.js"),P=require("./constants.js"),S=require("./styled.js"),f=require("../../../icon-button/IconButton.js");require("../../../tag/variants/product/styled.js"),require("../truekind/styled.js"),require("../../../color/ColorRadioGroup.js"),require("../../../color/selector/PatternSelector.js"),require("../../../color/styles/ColorPickerwithTootip.styled.js"),require("../../../cross-sell/Checkbox/CrossSellCheckbox.js"),require("../../../cta/styled.js"),require("../../../delivery-details/DeliveryDetails.js"),require("../../../delivery-details/Note/Note.js"),require("../../../drawer/Drawer.js"),require("../../../dropdown-list-icons/Styled.js"),require("../../../dropdown/size-dropdown/Styled.js"),require("../../../dropdown/variants/dialog/DropdownDialog.js"),require("../../../dropdown/base/BaseDropdown.js"),require("@headlessui/react"),require("../../../input/base/Error.js"),require("../../../shared/select/BaseSelect.js"),require("../../../dropdown/variants/smart/styled.js"),require("../../../filtering/Accordion.js"),require("../../../filtering/FiltersStyled.js"),require("../../../filtering/Tags/Tags.js"),require("../../../fit-guarantee/FitGuarantee.js"),require("../../../fit/FitPredictor.js"),require("../../../slider/ArrowButton.js"),require("../../../slider/StyledSlider.js"),require("../../../gallery/components/ImageSmallPreview/styled.js"),require("../../../gallery/components/ImagePreviewList/styled.js"),require("../../../molecules/Video/components/styled.js"),require("../../../molecules/Video/styled.js"),require("../../../gallery/components/ImageProductSlide/styled.js"),require("../../../gallery/styled.js"),require("../../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js"),require("../../../iconsWithTitle/index.js"),require("../../../image-card/ImageCard.js"),require("../../../input/label/Label.js"),require("../../../input/base/Styled.js"),require("../../../input/custom/Custom.js"),require("../../../input/basePlusButton/BasePlusButton.js"),require("../../../input/basePlusIcon/BasePlusIcon.js"),require("../../../modal/Modal.js"),require("../../../motivator-progress-bar/MotivatorProgressBar.js"),require("../../../order-bar/OrderBar.js"),require("../../../packs/selector/PackSelector.js"),require("../../../pagination/styles.js"),require("../../../payment-methods/PaymentMethod.js"),require("../../../product/order/item/SimpleOrderItem.js"),require("../../../progress-bar/ProgressBar.js"),require("../../../quantityPicker/styled.js"),require("../../../radio/RadioPrimary/radioPrimary.js"),require("../../../radio/clubRadioInput/clubRadio.js"),require("../../../rating/starList/StarList.js"),require("../../../review-detail/ReviewDetail.js"),require("../../../review/Review.js"),require("../../../reviews-header/ReviewsHeader.js"),require("../../../scroll-to-top/ScrollToTop.js"),require("../../../search-bar/components/ClearButton/styled.js"),require("../../../search-bar/components/Footer/styled.js"),require("../../../search-bar/components/ProductItem/styled.js"),require("../../../search-bar/components/ResultsPanel/styled.js"),require("../../../search-bar/components/SearchControl/styled.js"),require("../../../search-bar/styled.js"),require("../../../search-navigation/styled.js"),require("react-dom"),require("../../../short-banner/ShortBanner.js"),require("../../../size-chart/styled.js"),require("../../../size-table/SizeTable.js"),require("../../../size/guide/SizeFitGuide.js"),require("../../../size/selector/styled.js"),require("../../../tabs/Tab.js"),require("../../../tabs/Tabs.js"),require("../../../tag/Tag.js"),require("@emotion/react"),require("../../../textWithImage/index.js"),require("../../../timer/styled.js"),require("../../../toast/Toast.js"),require("../../../totals/total/styled.js"),require("../../../totals/subtotal/Subtotal.js"),require("../../../tracking-progress-v2/TrackingProgressV2.js"),require("../../../tracking-progress/TrackingProgress.js"),require("../../../organisms/AutoshipOfferCard/AutoshipOfferCardItem.styled.js"),require("../../../organisms/AutoshipOfferCardCta/AutoshipOfferCardItem.styled.js"),require("../../../organisms/AutoshipPdpCard/AutoshipPdpCard.styled.js"),require("../../../organisms/BasicAccordion/BasicAccordion.js"),require("../../../organisms/CartItemCard/CartItem.js"),require("../../../organisms/ClubOfferSelector/styled.js"),require("../../../organisms/ClubOfferSelector2/styled.js"),require("../../../organisms/JoinClubCard/joinClubCard.js"),require("../../../organisms/OfferAtCart/styled.js"),require("../../../organisms/OfferAtCartV2/styled.js"),require("../../../organisms/OfferAtCartV3/styled.js"),require("../../../organisms/OfferAtCartV4/styled.js"),require("../../../organisms/OfferAtPDP/styled.js"),require("../../../organisms/OfferAtPDP/types.js"),require("../../../organisms/ProductCard/ProductCardV1/ProductCard.js"),require("../../../organisms/ProductCard/ProductCardV2/styled.js"),require("../../../organisms/ProductCard/ProductCardV3/styled.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js"),require("@ant-design/react-slick"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV4/ContentGallery/styled.js"),require("react-inner-image-zoom"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/styled.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV5/styled.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV6/ColorVariantsGallery/styled.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/styled.js"),require("../../../organisms/ProductGalleryMobile/ProductGalleryMobileV6/styled.js"),require("../../../organisms/SizeCharTable/SizeChartTableV2/styled.js"),require("../../../organisms/SizeCharTable/SizeChartTableV3/styled.js"),require("../../../molecules/ArrowTip/ArrowTip.styled.js"),require("../../../organisms/SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js"),require("../../../organisms/SubscriptionPlanSelector/styled.js"),require("../../../organisms/TwoCtasAtCart/Greeting.styled.js"),require("../../../organisms/TwoCtasAtCart/Card.styled.js"),require("../../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js"),require("../../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js"),require("../../../molecules/CouponCard/styled.js"),require("../../../molecules/BenefitsList/styled.js"),require("../../../molecules/HurryUp/styled.js"),require("../../../molecules/Spinner/styled.js"),require("../../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js");var C=require("../../../molecules/LikeButton/LikeButton.js");require("../../../molecules/ScarcityTag/ScarcityTag.styled.js");module.exports=function(x){var z,w,T,L,k,I,V,M,B,D,G,A=x.title,_=x.image,O=x.imageHover,F=x.price,R=x.rating,N=x.hideRating,W=void 0!==N&&N,E=x.size,H=x.alignName,Y=void 0===H?"center":H,J=x.url,K=x.className,Q=x.topTag,U=x.bottomTag,X=x.onClick,Z=x.priceDisplayType,$=void 0===Z?"default":Z,ee=x.priceAtBottom,re=x.ratingOnTop,ie=x.priceLoading,oe=x.noFollow,se=void 0!==oe&&oe,te=x.colorPicker,le=void 0===te?{display:!1,position:"top",component:void 0,componentContainerProps:{position:"absolute",top:"4px",right:"4px",padding:"0px",boxSizing:"border-box",zIndex:1}}:te,ne=x.isBNPL,ae=void 0===ne?{displayBNPL:!1,installments:4,installmentPrice:"",iconFolder:"PDP",iconName:"Klarna",showLogo:!0,iconColor:"#292929",fontSize:"12px"}:ne,de=x.hasStrength,ce=void 0===de?{strength:-1,description:""}:de,ue=x.clubPrice,ge=void 0===ue?"":ue,je=x.showClubPriceLabel,me=void 0!==je&&je,ve=x.isRatingLoading,pe=x.version,qe=void 0===pe?1:pe,ye=x.showDiscountPercentageTag,be=void 0!==ye&&ye,he=x.discountTagLoading,Pe=x.discountTag,Se=x.isOnViewport,fe=void 0!==Se&&Se,Ce=x.hasDefaultSize,xe=void 0!==Ce&&Ce,ze=x.clubOffer,we=x.likeBtn,Te=x.onClickBottomButton,Le=x.showDecimals,ke=void 0===Le||Le,Ie=x.showDivider,Ve=void 0!==Ie&&Ie,Me=x.invertPriceDirection,Be=void 0!==Me&&Me,De=x.priceAndReviewInOneLine,Ge=void 0!==De&&De,Ae=x.priceAndDiscountTagInOneLine,_e=void 0!==Ae&&Ae,Oe=c.useTheme(),Fe=S.getStylesBySize(E),Re=u.useWindowDimensions().isMobile,Ne=i.useMemo((function(){var e;return(e={},e[j.ComponentSize.Large]=8,e[j.ComponentSize.Medium]=4,e[j.ComponentSize.Small]=2,e)[E]}),[E]),We=function(i){var o,t,l,n,a,d;if(void 0===i&&(i=qe),"hidden"===$)return null;switch(i){case 4:return"styled"===$?r.jsx(b.PriceLabelV4,{finalPrice:F.finalPrice,originalPrice:F.originalPrice,finalPriceStyled:!1,color:F.color,size:j.ComponentSize.Medium,testId:"volume-discount-v4",clubStyle:me,clubPrice:ge,styledPrice:!0,finalPriceStyle:me?Re?{fontSize:"12px",fontWeight:700,color:null===(t=Oe.colors.pallete.brickRed)||void 0===t?void 0:t.color}:{fontSize:"16px",fontWeight:700,color:null===(o=Oe.colors.pallete.brickRed)||void 0===o?void 0:o.color}:void 0},void 0):r.jsx(b.PriceLabelV4,{finalPrice:F.finalPrice,originalPrice:F.originalPrice,finalPriceStyled:!1,color:F.color,size:j.ComponentSize.Medium,testId:"volume-discount-v4",clubStyle:me,clubPrice:ge,finalPriceStyle:me?Re?{fontSize:"12px",fontWeight:700,color:null===(n=Oe.colors.pallete.brickRed)||void 0===n?void 0:n.color}:{fontSize:"16px",fontWeight:700,color:null===(l=Oe.colors.pallete.brickRed)||void 0===l?void 0:l.color}:void 0},void 0);case 5:return r.jsx(S.ClubOfferPriceLabelWrapper,e.__assign({style:null==ze?void 0:ze.wrapperStyle},{children:r.jsx(s.ClubPriceMemberLabel,{isClub:!0,isPDP:!0,finalPrice:null===(a=null==ze?void 0:ze.price)||void 0===a?void 0:a.finalPrice,originalPrice:null===(d=null==ze?void 0:ze.price)||void 0===d?void 0:d.originalPrice,finalPriceStyled:!1,color:F.color,size:j.ComponentSize.Medium,testId:"volume-discount-v4",clubStyle:me,icon:null==ze?void 0:ze.clubOfferIcon,isCollections:null==ze?void 0:ze.isCollections},void 0)}),void 0);default:return"styled"===$?r.jsx(q.PriceLabelV2,{finalPrice:F.finalPrice,originalPrice:F.originalPrice,finalPriceStyled:!1,color:F.color,size:j.ComponentSize.Large,testId:"volume-discount",showDecimals:ke},void 0):r.jsx(p.PriceLabel,{invertDirection:Be,finalPrice:F.finalPrice,originalPrice:F.originalPrice,finalPriceStyled:!1,color:F.color,size:j.ComponentSize.Medium,testId:"volume-discount",clubStyle:me,finalPriceStyle:me?Re?{fontSize:"12px",fontWeight:700}:{fontSize:"16px",fontWeight:700}:void 0},void 0)}},Ee=function(){return W||!R.reviews&&!R.rating?r.jsx(r.Fragment,{},void 0):ve?r.jsx(o,{height:"20px",width:"80px"},void 0):r.jsx(h.Rating,{size:E===j.ComponentSize.Large?j.ComponentSize.Small:j.ComponentSize.XSmall,rating:R.rating,reviews:null==R?void 0:R.reviews,reviewsText:"",wrapWithParenthesis:!0},void 0)},He=i.useState(null!==(z=null==we?void 0:we.isLiked)&&void 0!==z&&z),Ye=He[0],Je=He[1],Ke=i.useState(null!==(w=null==we?void 0:we.likes)&&void 0!==w?w:0),Qe=Ke[0],Ue=Ke[1],Xe=_e?S.InlineContainer:i.Fragment;return r.jsxs(S.ProdCardContainer,e.__assign({className:K,"data-testid":"product-card-container-div"},{children:["corner"===le.position&&r.jsx(S.CornerContainer,e.__assign({},le.componentContainerProps,{children:le.component}),void 0),r.jsxs(S.Container,e.__assign({as:J?"a":"div",href:J,rel:se?"nofollow":"",className:"picContainer",onClick:X},{children:[!!we&&r.jsx(C.LikeButton,{isLiked:Ye,likes:Qe,onClick:function(e){e.stopPropagation(),Ue(Ye?function(e){return e-1}:function(e){return e+1}),Je((function(e){return!e})),null==we||we.onClick(e)},colors:{background:{active:null!==(k=null===(L=null===(T=we.colors)||void 0===T?void 0:T.background)||void 0===L?void 0:L.active)&&void 0!==k?k:Oe.colors.shades.white.color,hover:null!==(G=null!==(M=null===(V=null===(I=we.colors)||void 0===I?void 0:I.background)||void 0===V?void 0:V.hover)&&void 0!==M?M:null===(D=null===(B=we.colors)||void 0===B?void 0:B.background)||void 0===D?void 0:D.active)&&void 0!==G?G:Oe.colors.shades.white.color}}},void 0),Q||U?r.jsxs(S.ImageContainer,e.__assign({width:null==Fe?void 0:Fe.width,height:null==Fe?void 0:Fe.height,"data-testid":"tags-image-container"},{children:[r.jsx(t.Image,{src:_.src,srcSet:g.getSrcSet(_.src,180,360,720,960),alt:_.alt,width:xe?null==Fe?void 0:Fe.width:"100%",height:xe?null==Fe?void 0:Fe.height:"100%",loading:fe?"eager":"lazy",decoding:fe?"sync":"async",borderRadius:P.STYLES_BY_THEME[Oe.name].image.borderRadius},void 0),r.jsx(S.TopTagContainer,e.__assign({style:{width:le.display?"100%":"inherit"}},{children:Q}),void 0),r.jsx(S.BottomTagContainer,e.__assign({style:{width:le.display?"100%":"inherit"}},{children:U}),void 0)]}),void 0):r.jsx(t.Image,{src:_.src,srcSet:g.getSrcSet(_.src,180,360,720,960),alt:_.alt,width:null==Fe?void 0:Fe.width,height:null==Fe?void 0:Fe.height,loading:fe?"eager":"lazy",decoding:fe?"sync":"async",borderRadius:P.STYLES_BY_THEME[Oe.name].image.borderRadius},void 0),O?r.jsx(S.ImageHoverContainer,{className:"hover__image",src:O.src,srcSet:g.getSrcSet(O.src,180,360,720,960),loading:"lazy",decoding:"async",alt:O.alt,width:null==Fe?void 0:Fe.width,height:null==Fe?void 0:Fe.height},void 0):null]}),void 0),le.display&&"top"===le.position&&r.jsxs(r.Fragment,{children:[r.jsx(a.Spacing,{size:Ne},void 0),le.component]},void 0),re&&r.jsxs(r.Fragment,{children:[r.jsx(a.Spacing,{size:Ne},void 0),r.jsx(a.Spacing,{size:Ne},void 0),r.jsx(Ee,{},void 0)]},void 0),r.jsxs(S.Container,e.__assign({as:J?"a":"div",href:J,rel:se?"nofollow":"",onClick:X,className:"textContainer",style:{alignItems:me?"flex-start":"center"}},{children:[r.jsx(a.Spacing,{size:Ne},void 0),r.jsx(S.Title,e.__assign({theme:Oe,align:me?"left":Y,"data-testid":"product-card-title"},{children:A}),void 0),r.jsx(a.Spacing,{size:Ne},void 0),Ve&&r.jsxs(r.Fragment,{children:[r.jsx(S.Divider,{theme:Oe},void 0),r.jsx(a.Spacing,{size:Ne},void 0)]},void 0),ce&&-1!==ce.strength&&r.jsxs(r.Fragment,{children:[r.jsx(d.StrengthBars,{barsFilled:ce.strength,supportText:ce.description},void 0),r.jsx(a.Spacing,{size:10},void 0)]},void 0),ee&&!re?r.jsxs(r.Fragment,{children:[r.jsx(Ee,{},void 0),r.jsx(a.Spacing,{size:Ne},void 0),r.jsxs(S.MarginTopContainer,e.__assign({style:{marginTop:(null==ze?void 0:ze.isClubOffer)?0:8}},{children:[ie?r.jsx(o,{height:"20px",width:"140px"},void 0):We(),(null==ze?void 0:ze.isClubOffer)&&We(5)]}),void 0)]},void 0):r.jsxs(r.Fragment,{children:[r.jsxs(Xe,{children:[ie?r.jsx(o,{height:"20px",width:"140px"},void 0):Ge&&!re?r.jsxs(S.OneLineInfoWrapper,{children:[We(),r.jsx(Ee,{},void 0)]},void 0):r.jsxs(r.Fragment,{children:[!(null==ze?void 0:ze.isClubMember)&&We(),(null==ze?void 0:ze.isClubOffer)&&We(5),r.jsx(l.BuyNowPayLater,{displayBNPL:null==ae?void 0:ae.displayBNPL,installments:(null==ae?void 0:ae.installments)||0,installmentPrice:(null==ae?void 0:ae.installmentPrice)||"",iconFolder:null==ae?void 0:ae.iconFolder,iconName:(null==ae?void 0:ae.iconName)||"",showLogo:null==ae?void 0:ae.showLogo,iconColor:null==ae?void 0:ae.iconColor,fontSize:null==ae?void 0:ae.fontSize},void 0)]},void 0),me&&r.jsx(n.ClubPriceLabel,{clubPrice:ge},void 0),he?r.jsx(o,{height:"22px",width:"75px"},void 0):be&&r.jsx(y.TagContainer,e.__assign({size:j.ComponentSize.Small},{children:Pe&&r.jsx(v.DiscountTag,e.__assign({},Pe,{size:j.ComponentSize.Medium,style:{letterSpacing:"-0.05rem"}}),void 0)}),void 0)]},void 0),r.jsx(a.Spacing,{size:Ne},void 0),!re&&!Ge&&r.jsx(Ee,{},void 0)]},void 0),!!Te&&r.jsxs(r.Fragment,{children:[r.jsx(a.Spacing,{size:Ne},void 0),r.jsx(a.Spacing,{size:Ne},void 0),r.jsxs(f.IconButton,e.__assign({size:j.ComponentSize.Small,width:"100%",onClick:function(e){e.preventDefault(),e.stopPropagation(),null==Te||Te(e)},backgroundColor:{active:"transparent",hover:"transparent"},hasText:!0,rounded:!1,border:"1px solid #D1D1D1"},{children:[r.jsx(m.Icon.Custom.Eye,{fill:"black",width:"16px",height:"16px"},void 0),r.jsx("span",e.__assign({style:{color:"black",fontSize:"14px"}},{children:"Quick View"}),void 0)]}),void 0)]},void 0)]}),void 0),le.display&&"bottom"===le.position&&r.jsxs(r.Fragment,{children:[r.jsx(a.Spacing,{size:Ne},void 0),le.component]},void 0)]}),void 0)};
2
2
  //# sourceMappingURL=ProductItemMobile.js.map