@trafilea/afrodita-components 7.1.4 → 7.1.6

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.
@@ -1,2 +1,2 @@
1
- import{__assign as i}from"tslib";import{jsxs as o,jsx as r,Fragment as e}from"@emotion/react/jsx-runtime";import{useMemo as t,useState as l}from"react";import s from"../../../SkeletonBox/SkeletonBox.js";import{ClubPriceMemberLabel as a}from"../../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.js";import"../../../atoms/HorizontalDivider/HorizontalDivider.js";import{Icon as n}from"../../../atoms/Icon/Icon.js";import{Image as d}from"../../../atoms/Image/Image.js";import"../../../atoms/PriceLabel/PriceLabel.js";import"../../../atoms/PriceLabelV2/PriceLabelV2.js";import"react/jsx-runtime";import"../../../atoms/Toggle/toggle.styled.js";import{BuyNowPayLater as c}from"../../../buynowpaylater/BuyNowPayLater.js";import{ClubPriceLabel as m}from"../../../club-price-label/ClubPriceLabel.js";import{Spacing as p}from"../../../shared/spacing/Spacing.js";import{StrengthBars as u}from"../../../strength-bars/StrengthBars.js";import{useTheme as v}from"../../../../core/theme/Theme.js";import{useWindowDimensions as g}from"../../../../hooks/WindowDimensions.js";import"../../../../utils/constants/offerAtCart.js";import{getSrcSet as j}from"../../../../utils/getSrcSet/getSrcSet.js";import"../../../../utils/media.js";import"../../../../utils/mock-content/CancellationFlowAccordion.js";import{ComponentSize as y}from"../../../../types/enums.js";import"../../../PackSelectorV2/PackSelectoV2.js";import"../../../absorbency-level/AbsorbencyLevel.js";import"../../../accordion-options/AccordionOptions.js";import"../../../accordion/Accordion.js";import"../../../dropdown/variants/simple/SimpleDropdown.js";import"../../../radio/input/styles.js";import"../../../tooltip/Styled.js";import"../../../autoship/styled.js";import"../../../autoshipV2/styled.js";import"../../../before-after/BeforeAfter.js";import"../../../pricing/clubOffer/ClubOfferTag.js";import{DiscountTag as h}from"../../../pricing/discount/DiscountTag.js";import{PriceLabel as b}from"../../../pricing/price/PriceLabel.js";import{PriceLabelV2 as f}from"../../../pricing/priceLabelV2/PriceLabelV2.js";import"../../../pricing/priceLabelV3/PriceLabelV3.js";import"../../../pricing/priceLabelV5/PriceLabelV5.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"../../../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{PriceLabelV4 as P}from"../../../pricing/priceLabelV4/PriceLabelV4.js";import{Rating as C}from"../../../rating/Rating.js";import{STYLES_BY_THEME as S}from"./constants.js";import{getStylesBySize as w,ProdCardContainer as z,Container as k,CornerContainer as T,ImageContainer as x,TopTagContainer as L,BottomTagContainer as V,ImageHoverContainer as I,Title as M,Divider as G,MarginTopContainer as B,OneLineInfoWrapper as A,ClubOfferPriceLabelWrapper as D}from"./styled.js";import{TagContainer as O}from"../../../pricing/styles.js";import"../truekind/ProductItemTK.js";import"../../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"../../../cta/styled.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"../../../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{IconButton as R}from"../../../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/Error.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/QuantityPicker.js";import"../../../radio/RadioPrimary/radioPrimary.js";import"../../../radio/clubRadioInput/clubRadio.js";import"../../../rating/starList/StarList.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"../../../organisms/AutoshipOfferCard/AutoshipOfferCardItem.styled.js";import"../../../organisms/AutoshipOfferCardCta/AutoshipOfferCardItem.styled.js";import"../../../organisms/AutoshipPdpCard/AutoshipPdpCard.styled.js";import"../../../organisms/BasicAccordion/BasicAccordion.js";import"../../../organisms/CartItemCard/CartItem.js";import"../../../organisms/ClubOfferSelector/styled.js";import"../../../organisms/ClubOfferSelector2/styled.js";import"../../../organisms/JoinClubCard/joinClubCard.js";import"../../../organisms/OfferAtCart/styled.js";import"../../../organisms/OfferAtCartV2/styled.js";import"../../../organisms/OfferAtCartV3/styled.js";import"../../../organisms/OfferAtCartV4/styled.js";import"../../../organisms/OfferAtPDP/styled.js";import"../../../organisms/OfferAtPDP/types.js";import"../../../organisms/ProductCard/ProductCardV1/ProductCard.js";import"../../../organisms/ProductCard/ProductCardV2/styled.js";import"../../../organisms/ProductCard/ProductCardV3/styled.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js";import"@ant-design/react-slick";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV4/ContentGallery/styled.js";import"react-inner-image-zoom";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/styled.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV5/styled.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV6/ColorVariantsGallery/styled.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/styled.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV6/styled.js";import"../../../organisms/SizeCharTable/SizeChartTableV2/styled.js";import"../../../organisms/SizeCharTable/SizeChartTableV3/styled.js";import"../../../molecules/ArrowTip/ArrowTip.styled.js";import"../../../organisms/SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js";import"../../../organisms/SubscriptionPlanSelector/styled.js";import"../../../organisms/TwoCtasAtCart/Greeting.styled.js";import"../../../organisms/TwoCtasAtCart/Card.styled.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{LikeButton as N}from"../../../molecules/LikeButton/LikeButton.js";import"../../../molecules/ScarcityTag/ScarcityTag.styled.js";var W=function(W){var F,H,K,Q,_,q,E,J,U,X,Y,Z=W.title,$=W.image,ii=W.imageHover,oi=W.price,ri=W.rating,ei=W.hideRating,ti=void 0!==ei&&ei,li=W.size,si=W.alignName,ai=void 0===si?"center":si,ni=W.url,di=W.className,ci=W.topTag,mi=W.bottomTag,pi=W.onClick,ui=W.priceDisplayType,vi=void 0===ui?"default":ui,gi=W.priceAtBottom,ji=W.ratingOnTop,yi=W.priceLoading,hi=W.noFollow,bi=void 0!==hi&&hi,fi=W.colorPicker,Pi=void 0===fi?{display:!1,position:"top",component:void 0,componentContainerProps:{position:"absolute",top:"4px",right:"4px",padding:"0px",boxSizing:"border-box",zIndex:1}}:fi,Ci=W.isBNPL,Si=void 0===Ci?{displayBNPL:!1,installments:4,installmentPrice:"",iconFolder:"PDP",iconName:"Klarna",showLogo:!0,iconColor:"#292929",fontSize:"12px"}:Ci,wi=W.hasStrength,zi=void 0===wi?{strength:-1,description:""}:wi,ki=W.clubPrice,Ti=void 0===ki?"":ki,xi=W.showClubPriceLabel,Li=void 0!==xi&&xi,Vi=W.isRatingLoading,Ii=W.version,Mi=void 0===Ii?1:Ii,Gi=W.showDiscountPercentageTag,Bi=void 0!==Gi&&Gi,Ai=W.discountTagLoading,Di=W.discountTag,Oi=W.isOnViewport,Ri=void 0!==Oi&&Oi,Ni=W.hasDefaultSize,Wi=void 0!==Ni&&Ni,Fi=W.clubOffer,Hi=W.likeBtn,Ki=W.onClickBottomButton,Qi=W.showDecimals,_i=void 0===Qi||Qi,qi=W.showDivider,Ei=void 0!==qi&&qi,Ji=W.invertPriceDirection,Ui=void 0!==Ji&&Ji,Xi=W.priceAndReviewInOneLine,Yi=void 0!==Xi&&Xi,Zi=v(),$i=w(li),io=g().isMobile,oo=t((function(){var i;return(i={},i[y.Large]=8,i[y.Medium]=4,i[y.Small]=2,i)[li]}),[li]),ro=function(o){var e,t,l,s,n,d;if(void 0===o&&(o=Mi),"hidden"===vi)return null;switch(o){case 4:return r(P,"styled"===vi?{finalPrice:oi.finalPrice,originalPrice:oi.originalPrice,finalPriceStyled:!1,color:oi.color,size:y.Medium,testId:"volume-discount-v4",clubStyle:Li,clubPrice:Ti,styledPrice:!0,finalPriceStyle:Li?io?{fontSize:"12px",fontWeight:700,color:null===(t=Zi.colors.pallete.brickRed)||void 0===t?void 0:t.color}:{fontSize:"16px",fontWeight:700,color:null===(e=Zi.colors.pallete.brickRed)||void 0===e?void 0:e.color}:void 0}:{finalPrice:oi.finalPrice,originalPrice:oi.originalPrice,finalPriceStyled:!1,color:oi.color,size:y.Medium,testId:"volume-discount-v4",clubStyle:Li,clubPrice:Ti,finalPriceStyle:Li?io?{fontSize:"12px",fontWeight:700,color:null===(s=Zi.colors.pallete.brickRed)||void 0===s?void 0:s.color}:{fontSize:"16px",fontWeight:700,color:null===(l=Zi.colors.pallete.brickRed)||void 0===l?void 0:l.color}:void 0},void 0);case 5:return r(D,i({style:null==Fi?void 0:Fi.wrapperStyle},{children:r(a,{isClub:!0,isPDP:!0,finalPrice:null===(n=null==Fi?void 0:Fi.price)||void 0===n?void 0:n.finalPrice,originalPrice:null===(d=null==Fi?void 0:Fi.price)||void 0===d?void 0:d.originalPrice,finalPriceStyled:!1,color:oi.color,size:y.Medium,testId:"volume-discount-v4",clubStyle:Li,icon:null==Fi?void 0:Fi.clubOfferIcon,isCollections:null==Fi?void 0:Fi.isCollections},void 0)}),void 0);default:return"styled"===vi?r(f,{finalPrice:oi.finalPrice,originalPrice:oi.originalPrice,finalPriceStyled:!1,color:oi.color,size:y.Large,testId:"volume-discount",showDecimals:_i},void 0):r(b,{invertDirection:Ui,finalPrice:oi.finalPrice,originalPrice:oi.originalPrice,finalPriceStyled:!1,color:oi.color,size:y.Medium,testId:"volume-discount",clubStyle:Li,finalPriceStyle:Li?io?{fontSize:"12px",fontWeight:700}:{fontSize:"16px",fontWeight:700}:void 0},void 0)}},eo=function(){return ti||!ri.reviews&&!ri.rating?r(e,{},void 0):Vi?r(s,{height:"20px",width:"80px"},void 0):r(C,{size:li===y.Large?y.Small:y.XSmall,rating:ri.rating,reviews:null==ri?void 0:ri.reviews,reviewsText:"",wrapWithParenthesis:!0},void 0)},to=l(null!==(F=null==Hi?void 0:Hi.isLiked)&&void 0!==F&&F),lo=to[0],so=to[1],ao=l(null!==(H=null==Hi?void 0:Hi.likes)&&void 0!==H?H:0),no=ao[0],co=ao[1];return o(z,i({className:di,"data-testid":"product-card-container-div"},{children:[o(k,i({as:ni?"a":"div",href:ni,rel:bi?"nofollow":"",className:"picContainer",onClick:pi},{children:[!!Hi&&r(N,{isLiked:lo,likes:no,onClick:function(i){i.stopPropagation(),co(lo?function(i){return i-1}:function(i){return i+1}),so((function(i){return!i})),null==Hi||Hi.onClick(i)},colors:{background:{active:null!==(_=null===(Q=null===(K=Hi.colors)||void 0===K?void 0:K.background)||void 0===Q?void 0:Q.active)&&void 0!==_?_:Zi.colors.shades.white.color,hover:null!==(Y=null!==(J=null===(E=null===(q=Hi.colors)||void 0===q?void 0:q.background)||void 0===E?void 0:E.hover)&&void 0!==J?J:null===(X=null===(U=Hi.colors)||void 0===U?void 0:U.background)||void 0===X?void 0:X.active)&&void 0!==Y?Y:Zi.colors.shades.white.color}}},void 0),"corner"===Pi.position&&r(T,i({},Pi.componentContainerProps,{children:Pi.component}),void 0),ci||mi?o(x,i({width:null==$i?void 0:$i.width,height:null==$i?void 0:$i.height,"data-testid":"tags-image-container"},{children:[r(d,{src:$.src,srcSet:j($.src,180,360,720,960),alt:$.alt,width:Wi?null==$i?void 0:$i.width:"100%",height:Wi?null==$i?void 0:$i.height:"100%",loading:Ri?"eager":"lazy",decoding:Ri?"sync":"async",borderRadius:S[Zi.name].image.borderRadius},void 0),r(L,i({style:{width:Pi.display?"100%":"inherit"}},{children:ci}),void 0),r(V,i({style:{width:Pi.display?"100%":"inherit"}},{children:mi}),void 0)]}),void 0):r(d,{src:$.src,srcSet:j($.src,180,360,720,960),alt:$.alt,width:null==$i?void 0:$i.width,height:null==$i?void 0:$i.height,loading:Ri?"eager":"lazy",decoding:Ri?"sync":"async",borderRadius:S[Zi.name].image.borderRadius},void 0),ii?r(I,{className:"hover__image",src:ii.src,srcSet:j(ii.src,180,360,720,960),loading:"lazy",decoding:"async",alt:ii.alt,width:null==$i?void 0:$i.width,height:null==$i?void 0:$i.height},void 0):null]}),void 0),Pi.display&&"top"===Pi.position&&o(e,{children:[r(p,{size:oo},void 0),Pi.component]},void 0),ji&&o(e,{children:[r(p,{size:oo},void 0),r(p,{size:oo},void 0),r(eo,{},void 0)]},void 0),o(k,i({as:ni?"a":"div",href:ni,rel:bi?"nofollow":"",onClick:pi,className:"textContainer",style:{alignItems:Li?"flex-start":"center"}},{children:[r(p,{size:oo},void 0),r(M,i({theme:Zi,align:Li?"left":ai,"data-testid":"product-card-title"},{children:Z}),void 0),r(p,{size:oo},void 0),Ei&&o(e,{children:[r(G,{theme:Zi},void 0),r(p,{size:oo},void 0)]},void 0),zi&&-1!==zi.strength&&o(e,{children:[r(u,{barsFilled:zi.strength,supportText:zi.description},void 0),r(p,{size:10},void 0)]},void 0),o(e,gi&&!ji?{children:[r(eo,{},void 0),r(p,{size:oo},void 0),o(B,i({style:{marginTop:(null==Fi?void 0:Fi.isClubOffer)?0:8}},{children:[yi?r(s,{height:"20px",width:"140px"},void 0):ro(),(null==Fi?void 0:Fi.isClubOffer)&&ro(5)]}),void 0)]}:{children:[yi?r(s,{height:"20px",width:"140px"},void 0):Yi&&!ji?o(A,{children:[ro(),r(eo,{},void 0)]},void 0):o(e,{children:[!(null==Fi?void 0:Fi.isClubMember)&&ro(),(null==Fi?void 0:Fi.isClubOffer)&&ro(5),r(c,{displayBNPL:null==Si?void 0:Si.displayBNPL,installments:(null==Si?void 0:Si.installments)||0,installmentPrice:(null==Si?void 0:Si.installmentPrice)||"",iconFolder:null==Si?void 0:Si.iconFolder,iconName:(null==Si?void 0:Si.iconName)||"",showLogo:null==Si?void 0:Si.showLogo,iconColor:null==Si?void 0:Si.iconColor,fontSize:null==Si?void 0:Si.fontSize},void 0)]},void 0),Li&&r(m,{clubPrice:Ti},void 0),Ai?r(s,{height:"22px",width:"75px"},void 0):Bi&&r(O,i({size:y.Small},{children:Di&&r(h,i({},Di,{size:y.Medium,style:{letterSpacing:"-0.05rem"}}),void 0)}),void 0),r(p,{size:oo},void 0),!ji&&!Yi&&r(eo,{},void 0)]},void 0),!!Ki&&o(e,{children:[r(p,{size:oo},void 0),r(p,{size:oo},void 0),o(R,i({size:y.Small,width:"100%",onClick:function(i){i.preventDefault(),i.stopPropagation(),null==Ki||Ki(i)},backgroundColor:{active:"transparent",hover:"transparent"},hasText:!0,rounded:!1,border:"1px solid #D1D1D1"},{children:[r(n,{name:"custom/eye",fill:"black",width:"16px",height:"16px"},void 0),r("span",i({style:{color:"black",fontSize:"14px"}},{children:"Quick View"}),void 0)]}),void 0)]},void 0)]}),void 0),Pi.display&&"bottom"===Pi.position&&o(e,{children:[r(p,{size:oo},void 0),Pi.component]},void 0)]}),void 0)};export{W as default};
1
+ import{__assign as i}from"tslib";import{jsxs as o,jsx as r,Fragment as e}from"@emotion/react/jsx-runtime";import{useMemo as t,useState as l}from"react";import s from"../../../SkeletonBox/SkeletonBox.js";import{ClubPriceMemberLabel as a}from"../../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.js";import"../../../atoms/HorizontalDivider/HorizontalDivider.js";import{Icon as n}from"../../../atoms/Icon/Icon.js";import{Image as d}from"../../../atoms/Image/Image.js";import"../../../atoms/PriceLabel/PriceLabel.js";import"../../../atoms/PriceLabelV2/PriceLabelV2.js";import"react/jsx-runtime";import"../../../atoms/Toggle/toggle.styled.js";import{BuyNowPayLater as c}from"../../../buynowpaylater/BuyNowPayLater.js";import{ClubPriceLabel as m}from"../../../club-price-label/ClubPriceLabel.js";import{Spacing as p}from"../../../shared/spacing/Spacing.js";import{StrengthBars as u}from"../../../strength-bars/StrengthBars.js";import{useTheme as v}from"../../../../core/theme/Theme.js";import{useWindowDimensions as g}from"../../../../hooks/WindowDimensions.js";import"../../../../utils/constants/offerAtCart.js";import{getSrcSet as j}from"../../../../utils/getSrcSet/getSrcSet.js";import"../../../../utils/media.js";import"../../../../utils/mock-content/CancellationFlowAccordion.js";import{ComponentSize as y}from"../../../../types/enums.js";import"../../../PackSelectorV2/PackSelectoV2.js";import"../../../absorbency-level/AbsorbencyLevel.js";import"../../../accordion-options/AccordionOptions.js";import"../../../accordion/Accordion.js";import"../../../dropdown/variants/simple/SimpleDropdown.js";import"../../../radio/input/styles.js";import"../../../tooltip/Styled.js";import"../../../autoship/styled.js";import"../../../autoshipV2/styled.js";import"../../../before-after/BeforeAfter.js";import"../../../pricing/clubOffer/ClubOfferTag.js";import{DiscountTag as h}from"../../../pricing/discount/DiscountTag.js";import{PriceLabel as b}from"../../../pricing/price/PriceLabel.js";import{PriceLabelV2 as f}from"../../../pricing/priceLabelV2/PriceLabelV2.js";import"../../../pricing/priceLabelV3/PriceLabelV3.js";import"../../../pricing/priceLabelV5/PriceLabelV5.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"../../../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{PriceLabelV4 as P}from"../../../pricing/priceLabelV4/PriceLabelV4.js";import{Rating as C}from"../../../rating/Rating.js";import{STYLES_BY_THEME as S}from"./constants.js";import{getStylesBySize as w,ProdCardContainer as z,CornerContainer as k,Container as T,ImageContainer as x,TopTagContainer as L,BottomTagContainer as V,ImageHoverContainer as I,Title as M,Divider as G,MarginTopContainer as B,OneLineInfoWrapper as A,ClubOfferPriceLabelWrapper as D}from"./styled.js";import{TagContainer as O}from"../../../pricing/styles.js";import"../truekind/ProductItemTK.js";import"../../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"../../../cta/styled.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"../../../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{IconButton as R}from"../../../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/Error.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/QuantityPicker.js";import"../../../radio/RadioPrimary/radioPrimary.js";import"../../../radio/clubRadioInput/clubRadio.js";import"../../../rating/starList/StarList.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"../../../organisms/AutoshipOfferCard/AutoshipOfferCardItem.styled.js";import"../../../organisms/AutoshipOfferCardCta/AutoshipOfferCardItem.styled.js";import"../../../organisms/AutoshipPdpCard/AutoshipPdpCard.styled.js";import"../../../organisms/BasicAccordion/BasicAccordion.js";import"../../../organisms/CartItemCard/CartItem.js";import"../../../organisms/ClubOfferSelector/styled.js";import"../../../organisms/ClubOfferSelector2/styled.js";import"../../../organisms/JoinClubCard/joinClubCard.js";import"../../../organisms/OfferAtCart/styled.js";import"../../../organisms/OfferAtCartV2/styled.js";import"../../../organisms/OfferAtCartV3/styled.js";import"../../../organisms/OfferAtCartV4/styled.js";import"../../../organisms/OfferAtPDP/styled.js";import"../../../organisms/OfferAtPDP/types.js";import"../../../organisms/ProductCard/ProductCardV1/ProductCard.js";import"../../../organisms/ProductCard/ProductCardV2/styled.js";import"../../../organisms/ProductCard/ProductCardV3/styled.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js";import"@ant-design/react-slick";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV4/ContentGallery/styled.js";import"react-inner-image-zoom";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/styled.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV5/styled.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV6/ColorVariantsGallery/styled.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/styled.js";import"../../../organisms/ProductGalleryMobile/ProductGalleryMobileV6/styled.js";import"../../../organisms/SizeCharTable/SizeChartTableV2/styled.js";import"../../../organisms/SizeCharTable/SizeChartTableV3/styled.js";import"../../../molecules/ArrowTip/ArrowTip.styled.js";import"../../../organisms/SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js";import"../../../organisms/SubscriptionPlanSelector/styled.js";import"../../../organisms/TwoCtasAtCart/Greeting.styled.js";import"../../../organisms/TwoCtasAtCart/Card.styled.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{LikeButton as N}from"../../../molecules/LikeButton/LikeButton.js";import"../../../molecules/ScarcityTag/ScarcityTag.styled.js";var W=function(W){var F,H,K,Q,_,q,E,J,U,X,Y,Z=W.title,$=W.image,ii=W.imageHover,oi=W.price,ri=W.rating,ei=W.hideRating,ti=void 0!==ei&&ei,li=W.size,si=W.alignName,ai=void 0===si?"center":si,ni=W.url,di=W.className,ci=W.topTag,mi=W.bottomTag,pi=W.onClick,ui=W.priceDisplayType,vi=void 0===ui?"default":ui,gi=W.priceAtBottom,ji=W.ratingOnTop,yi=W.priceLoading,hi=W.noFollow,bi=void 0!==hi&&hi,fi=W.colorPicker,Pi=void 0===fi?{display:!1,position:"top",component:void 0,componentContainerProps:{position:"absolute",top:"4px",right:"4px",padding:"0px",boxSizing:"border-box",zIndex:1}}:fi,Ci=W.isBNPL,Si=void 0===Ci?{displayBNPL:!1,installments:4,installmentPrice:"",iconFolder:"PDP",iconName:"Klarna",showLogo:!0,iconColor:"#292929",fontSize:"12px"}:Ci,wi=W.hasStrength,zi=void 0===wi?{strength:-1,description:""}:wi,ki=W.clubPrice,Ti=void 0===ki?"":ki,xi=W.showClubPriceLabel,Li=void 0!==xi&&xi,Vi=W.isRatingLoading,Ii=W.version,Mi=void 0===Ii?1:Ii,Gi=W.showDiscountPercentageTag,Bi=void 0!==Gi&&Gi,Ai=W.discountTagLoading,Di=W.discountTag,Oi=W.isOnViewport,Ri=void 0!==Oi&&Oi,Ni=W.hasDefaultSize,Wi=void 0!==Ni&&Ni,Fi=W.clubOffer,Hi=W.likeBtn,Ki=W.onClickBottomButton,Qi=W.showDecimals,_i=void 0===Qi||Qi,qi=W.showDivider,Ei=void 0!==qi&&qi,Ji=W.invertPriceDirection,Ui=void 0!==Ji&&Ji,Xi=W.priceAndReviewInOneLine,Yi=void 0!==Xi&&Xi,Zi=v(),$i=w(li),io=g().isMobile,oo=t((function(){var i;return(i={},i[y.Large]=8,i[y.Medium]=4,i[y.Small]=2,i)[li]}),[li]),ro=function(o){var e,t,l,s,n,d;if(void 0===o&&(o=Mi),"hidden"===vi)return null;switch(o){case 4:return r(P,"styled"===vi?{finalPrice:oi.finalPrice,originalPrice:oi.originalPrice,finalPriceStyled:!1,color:oi.color,size:y.Medium,testId:"volume-discount-v4",clubStyle:Li,clubPrice:Ti,styledPrice:!0,finalPriceStyle:Li?io?{fontSize:"12px",fontWeight:700,color:null===(t=Zi.colors.pallete.brickRed)||void 0===t?void 0:t.color}:{fontSize:"16px",fontWeight:700,color:null===(e=Zi.colors.pallete.brickRed)||void 0===e?void 0:e.color}:void 0}:{finalPrice:oi.finalPrice,originalPrice:oi.originalPrice,finalPriceStyled:!1,color:oi.color,size:y.Medium,testId:"volume-discount-v4",clubStyle:Li,clubPrice:Ti,finalPriceStyle:Li?io?{fontSize:"12px",fontWeight:700,color:null===(s=Zi.colors.pallete.brickRed)||void 0===s?void 0:s.color}:{fontSize:"16px",fontWeight:700,color:null===(l=Zi.colors.pallete.brickRed)||void 0===l?void 0:l.color}:void 0},void 0);case 5:return r(D,i({style:null==Fi?void 0:Fi.wrapperStyle},{children:r(a,{isClub:!0,isPDP:!0,finalPrice:null===(n=null==Fi?void 0:Fi.price)||void 0===n?void 0:n.finalPrice,originalPrice:null===(d=null==Fi?void 0:Fi.price)||void 0===d?void 0:d.originalPrice,finalPriceStyled:!1,color:oi.color,size:y.Medium,testId:"volume-discount-v4",clubStyle:Li,icon:null==Fi?void 0:Fi.clubOfferIcon,isCollections:null==Fi?void 0:Fi.isCollections},void 0)}),void 0);default:return"styled"===vi?r(f,{finalPrice:oi.finalPrice,originalPrice:oi.originalPrice,finalPriceStyled:!1,color:oi.color,size:y.Large,testId:"volume-discount",showDecimals:_i},void 0):r(b,{invertDirection:Ui,finalPrice:oi.finalPrice,originalPrice:oi.originalPrice,finalPriceStyled:!1,color:oi.color,size:y.Medium,testId:"volume-discount",clubStyle:Li,finalPriceStyle:Li?io?{fontSize:"12px",fontWeight:700}:{fontSize:"16px",fontWeight:700}:void 0},void 0)}},eo=function(){return ti||!ri.reviews&&!ri.rating?r(e,{},void 0):Vi?r(s,{height:"20px",width:"80px"},void 0):r(C,{size:li===y.Large?y.Small:y.XSmall,rating:ri.rating,reviews:null==ri?void 0:ri.reviews,reviewsText:"",wrapWithParenthesis:!0},void 0)},to=l(null!==(F=null==Hi?void 0:Hi.isLiked)&&void 0!==F&&F),lo=to[0],so=to[1],ao=l(null!==(H=null==Hi?void 0:Hi.likes)&&void 0!==H?H:0),no=ao[0],co=ao[1];return o(z,i({className:di,"data-testid":"product-card-container-div"},{children:["corner"===Pi.position&&r(k,i({},Pi.componentContainerProps,{children:Pi.component}),void 0),o(T,i({as:ni?"a":"div",href:ni,rel:bi?"nofollow":"",className:"picContainer",onClick:pi},{children:[!!Hi&&r(N,{isLiked:lo,likes:no,onClick:function(i){i.stopPropagation(),co(lo?function(i){return i-1}:function(i){return i+1}),so((function(i){return!i})),null==Hi||Hi.onClick(i)},colors:{background:{active:null!==(_=null===(Q=null===(K=Hi.colors)||void 0===K?void 0:K.background)||void 0===Q?void 0:Q.active)&&void 0!==_?_:Zi.colors.shades.white.color,hover:null!==(Y=null!==(J=null===(E=null===(q=Hi.colors)||void 0===q?void 0:q.background)||void 0===E?void 0:E.hover)&&void 0!==J?J:null===(X=null===(U=Hi.colors)||void 0===U?void 0:U.background)||void 0===X?void 0:X.active)&&void 0!==Y?Y:Zi.colors.shades.white.color}}},void 0),ci||mi?o(x,i({width:null==$i?void 0:$i.width,height:null==$i?void 0:$i.height,"data-testid":"tags-image-container"},{children:[r(d,{src:$.src,srcSet:j($.src,180,360,720,960),alt:$.alt,width:Wi?null==$i?void 0:$i.width:"100%",height:Wi?null==$i?void 0:$i.height:"100%",loading:Ri?"eager":"lazy",decoding:Ri?"sync":"async",borderRadius:S[Zi.name].image.borderRadius},void 0),r(L,i({style:{width:Pi.display?"100%":"inherit"}},{children:ci}),void 0),r(V,i({style:{width:Pi.display?"100%":"inherit"}},{children:mi}),void 0)]}),void 0):r(d,{src:$.src,srcSet:j($.src,180,360,720,960),alt:$.alt,width:null==$i?void 0:$i.width,height:null==$i?void 0:$i.height,loading:Ri?"eager":"lazy",decoding:Ri?"sync":"async",borderRadius:S[Zi.name].image.borderRadius},void 0),ii?r(I,{className:"hover__image",src:ii.src,srcSet:j(ii.src,180,360,720,960),loading:"lazy",decoding:"async",alt:ii.alt,width:null==$i?void 0:$i.width,height:null==$i?void 0:$i.height},void 0):null]}),void 0),Pi.display&&"top"===Pi.position&&o(e,{children:[r(p,{size:oo},void 0),Pi.component]},void 0),ji&&o(e,{children:[r(p,{size:oo},void 0),r(p,{size:oo},void 0),r(eo,{},void 0)]},void 0),o(T,i({as:ni?"a":"div",href:ni,rel:bi?"nofollow":"",onClick:pi,className:"textContainer",style:{alignItems:Li?"flex-start":"center"}},{children:[r(p,{size:oo},void 0),r(M,i({theme:Zi,align:Li?"left":ai,"data-testid":"product-card-title"},{children:Z}),void 0),r(p,{size:oo},void 0),Ei&&o(e,{children:[r(G,{theme:Zi},void 0),r(p,{size:oo},void 0)]},void 0),zi&&-1!==zi.strength&&o(e,{children:[r(u,{barsFilled:zi.strength,supportText:zi.description},void 0),r(p,{size:10},void 0)]},void 0),o(e,gi&&!ji?{children:[r(eo,{},void 0),r(p,{size:oo},void 0),o(B,i({style:{marginTop:(null==Fi?void 0:Fi.isClubOffer)?0:8}},{children:[yi?r(s,{height:"20px",width:"140px"},void 0):ro(),(null==Fi?void 0:Fi.isClubOffer)&&ro(5)]}),void 0)]}:{children:[yi?r(s,{height:"20px",width:"140px"},void 0):Yi&&!ji?o(A,{children:[ro(),r(eo,{},void 0)]},void 0):o(e,{children:[!(null==Fi?void 0:Fi.isClubMember)&&ro(),(null==Fi?void 0:Fi.isClubOffer)&&ro(5),r(c,{displayBNPL:null==Si?void 0:Si.displayBNPL,installments:(null==Si?void 0:Si.installments)||0,installmentPrice:(null==Si?void 0:Si.installmentPrice)||"",iconFolder:null==Si?void 0:Si.iconFolder,iconName:(null==Si?void 0:Si.iconName)||"",showLogo:null==Si?void 0:Si.showLogo,iconColor:null==Si?void 0:Si.iconColor,fontSize:null==Si?void 0:Si.fontSize},void 0)]},void 0),Li&&r(m,{clubPrice:Ti},void 0),Ai?r(s,{height:"22px",width:"75px"},void 0):Bi&&r(O,i({size:y.Small},{children:Di&&r(h,i({},Di,{size:y.Medium,style:{letterSpacing:"-0.05rem"}}),void 0)}),void 0),r(p,{size:oo},void 0),!ji&&!Yi&&r(eo,{},void 0)]},void 0),!!Ki&&o(e,{children:[r(p,{size:oo},void 0),r(p,{size:oo},void 0),o(R,i({size:y.Small,width:"100%",onClick:function(i){i.preventDefault(),i.stopPropagation(),null==Ki||Ki(i)},backgroundColor:{active:"transparent",hover:"transparent"},hasText:!0,rounded:!1,border:"1px solid #D1D1D1"},{children:[r(n,{name:"custom/eye",fill:"black",width:"16px",height:"16px"},void 0),r("span",i({style:{color:"black",fontSize:"14px"}},{children:"Quick View"}),void 0)]}),void 0)]},void 0)]}),void 0),Pi.display&&"bottom"===Pi.position&&o(e,{children:[r(p,{size:oo},void 0),Pi.component]},void 0)]}),void 0)};export{W as default};
2
2
  //# sourceMappingURL=ProductItemMobile.js.map
@@ -1,2 +1,2 @@
1
- import{__makeTemplateObject as n}from"tslib";import t from"@emotion/styled";import{ComponentSize as i}from"../../../../types/enums.js";import{STYLES_BY_THEME as e}from"./constants.js";var o,r,a,d,p,l,h,s,m,c,u,x=t.div((function(n){return{position:"relative",width:n.width,height:n.height}})),g=t.img(o||(o=n(["\n opacity: 0;\n position: absolute;\n transition: all 0.4s ease-in-out;\n"],["\n opacity: 0;\n position: absolute;\n transition: all 0.4s ease-in-out;\n"]))),f=t.a(r||(r=n(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n text-decoration: none;\n\n &:hover .hover__image {\n opacity: 1;\n }\n\n &:hover .like-btn-container:hover + .hover__image {\n opacity: 0;\n }\n"],["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n text-decoration: none;\n\n &:hover .hover__image {\n opacity: 1;\n }\n\n &:hover .like-btn-container:hover + .hover__image {\n opacity: 0;\n }\n"]))),v=t.div(a||(a=n(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n text-decoration: none;\n position: relative;\n"],["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n text-decoration: none;\n position: relative;\n"]))),w=t.h2(d||(d=n(["\n font-size: ",";\n font-weight: ",";\n line-height: 1.375rem;\n min-height: 2.75rem;\n color: ",";\n margin: 0.25rem 0;\n text-align: ",";\n\n ","\n\n ","\n\n @media (max-width: ","px) {\n font-size: ",";\n }\n"],["\n font-size: ",";\n font-weight: ",";\n line-height: 1.375rem;\n min-height: 2.75rem;\n color: ",";\n margin: 0.25rem 0;\n text-align: ",";\n\n ","\n\n ","\n\n @media (max-width: ","px) {\n font-size: ",";\n }\n"])),(function(n){var t=n.theme;return e[t.name].title.fontSize}),(function(n){var t=n.theme;return e[t.name].title.fontWeight}),(function(n){return n.theme.colors.text.color}),(function(n){var t=n.align;return void 0===t?"center":t}),(function(n){var t=n.theme;return["Revel","TheSpaDr"].includes(t.name)&&"\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden; \n "}),(function(n){return"Revel"===n.theme.name&&"max-width: 150px;"}),(function(n){return n.theme.mediaQueries.mobile}),(function(n){var t=n.theme;return e[t.name].title.mobile.fontSize})),b=function(n){switch(n){case i.Medium:return{width:"205px",height:"274px"};case i.Small:return{width:"9.813rem",height:"13.125rem"};case i.Large:return{width:"262px",height:"350px"};default:return{width:"205px",height:"274px"}}},y=t.div(p||(p=n(["\n position: absolute;\n left: 0;\n top: 0;\n width: ",";\n z-index: 1;\n"],["\n position: absolute;\n left: 0;\n top: 0;\n width: ",";\n z-index: 1;\n"])),(function(n){return n.style.width})),z=t.div(l||(l=n(["\n position: absolute;\n bottom: 10%;\n left: 0;\n width: ",";\n z-index: 1;\n"],["\n position: absolute;\n bottom: 10%;\n left: 0;\n width: ",";\n z-index: 1;\n"])),(function(n){return n.style.width})),k=t.div(h||(h=n(["\n margin-top: 8px;\n"],["\n margin-top: 8px;\n"]))),_=t.div(s||(s=n(["\n margin-top: 2px;\n margin-bottom: 2px;\n"],["\n margin-top: 2px;\n margin-bottom: 2px;\n"]))),j=t.div(m||(m=n(["\n width: 100%;\n height: 1px;\n background-color: ",";\n"],["\n width: 100%;\n height: 1px;\n background-color: ",";\n"])),(function(n){return n.theme.colors.shades[100].color})),S=t.div(c||(c=n(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n"],["\n width: 100%;\n display: flex;\n justify-content: space-between;\n"]))),T=t.button(u||(u=n(["\n position: ",";\n top: ",";\n right: ",";\n z-index: ",";\n padding: ",";\n box-sizing: ",";\n background-color: white;\n border: none;\n border-radius: 8px;\n justify-content: center;\n display: flex;\n align-items: center;\n height: 24px !important;\n width: 49px !important;\n svg[data-testid='shaper-pink-selector'] {\n height: 20px;\n width: 20px;\n }\n div[data-testid='radio-group-options-container'] {\n margin-top: 0 !important;\n display: flex;\n align-items: center;\n\n div[data-testid='numeric-tooltip'] {\n font-weight: 700 !important;\n }\n }\n div[data-testid='TooltipContainer'] {\n width: 49px !important;\n overflow: hidden;\n border-radius: 10px;\n }\n"],["\n position: ",";\n top: ",";\n right: ",";\n z-index: ",";\n padding: ",";\n box-sizing: ",";\n background-color: white;\n border: none;\n border-radius: 8px;\n justify-content: center;\n display: flex;\n align-items: center;\n height: 24px !important;\n width: 49px !important;\n svg[data-testid='shaper-pink-selector'] {\n height: 20px;\n width: 20px;\n }\n div[data-testid='radio-group-options-container'] {\n margin-top: 0 !important;\n display: flex;\n align-items: center;\n\n div[data-testid='numeric-tooltip'] {\n font-weight: 700 !important;\n }\n }\n div[data-testid='TooltipContainer'] {\n width: 49px !important;\n overflow: hidden;\n border-radius: 10px;\n }\n"])),(function(n){var t=n.position;return void 0===t?"absolute":t}),(function(n){var t=n.top;return void 0===t?"4px":t}),(function(n){var t=n.right;return void 0===t?"4px":t}),(function(n){var t=n.zIndex;return void 0===t?1:t}),(function(n){var t=n.padding;return void 0===t?"0px":t}),(function(n){var t=n.boxSizing;return void 0===t?"border-box":t}));export{z as BottomTagContainer,_ as ClubOfferPriceLabelWrapper,f as Container,T as CornerContainer,j as Divider,x as ImageContainer,g as ImageHoverContainer,k as MarginTopContainer,S as OneLineInfoWrapper,v as ProdCardContainer,w as Title,y as TopTagContainer,b as getStylesBySize};
1
+ import{__makeTemplateObject as n}from"tslib";import t from"@emotion/styled";import{ComponentSize as i}from"../../../../types/enums.js";import{STYLES_BY_THEME as e}from"./constants.js";var o,r,a,d,p,l,h,s,m,c,u,x=t.div((function(n){return{position:"relative",width:n.width,height:n.height}})),g=t.img(o||(o=n(["\n opacity: 0;\n position: absolute;\n transition: all 0.4s ease-in-out;\n"],["\n opacity: 0;\n position: absolute;\n transition: all 0.4s ease-in-out;\n"]))),f=t.a(r||(r=n(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n text-decoration: none;\n\n &:hover .hover__image {\n opacity: 1;\n }\n\n &:hover .like-btn-container:hover + .hover__image {\n opacity: 0;\n }\n"],["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n text-decoration: none;\n\n &:hover .hover__image {\n opacity: 1;\n }\n\n &:hover .like-btn-container:hover + .hover__image {\n opacity: 0;\n }\n"]))),v=t.div(a||(a=n(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n text-decoration: none;\n position: relative;\n"],["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n text-decoration: none;\n position: relative;\n"]))),w=t.h2(d||(d=n(["\n font-size: ",";\n font-weight: ",";\n line-height: 1.375rem;\n min-height: 2.75rem;\n color: ",";\n margin: 0.25rem 0;\n text-align: ",";\n\n ","\n\n ","\n\n @media (max-width: ","px) {\n font-size: ",";\n }\n"],["\n font-size: ",";\n font-weight: ",";\n line-height: 1.375rem;\n min-height: 2.75rem;\n color: ",";\n margin: 0.25rem 0;\n text-align: ",";\n\n ","\n\n ","\n\n @media (max-width: ","px) {\n font-size: ",";\n }\n"])),(function(n){var t=n.theme;return e[t.name].title.fontSize}),(function(n){var t=n.theme;return e[t.name].title.fontWeight}),(function(n){return n.theme.colors.text.color}),(function(n){var t=n.align;return void 0===t?"center":t}),(function(n){var t=n.theme;return["Revel","TheSpaDr"].includes(t.name)&&"\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden; \n "}),(function(n){return"Revel"===n.theme.name&&"max-width: 150px;"}),(function(n){return n.theme.mediaQueries.mobile}),(function(n){var t=n.theme;return e[t.name].title.mobile.fontSize})),b=function(n){switch(n){case i.Medium:return{width:"205px",height:"274px"};case i.Small:return{width:"9.813rem",height:"13.125rem"};case i.Large:return{width:"262px",height:"350px"};default:return{width:"205px",height:"274px"}}},y=t.div(p||(p=n(["\n position: absolute;\n left: 0;\n top: 0;\n width: ",";\n z-index: 1;\n"],["\n position: absolute;\n left: 0;\n top: 0;\n width: ",";\n z-index: 1;\n"])),(function(n){return n.style.width})),z=t.div(l||(l=n(["\n position: absolute;\n bottom: 10%;\n left: 0;\n width: ",";\n z-index: 1;\n"],["\n position: absolute;\n bottom: 10%;\n left: 0;\n width: ",";\n z-index: 1;\n"])),(function(n){return n.style.width})),k=t.div(h||(h=n(["\n margin-top: 8px;\n"],["\n margin-top: 8px;\n"]))),_=t.div(s||(s=n(["\n margin-top: 2px;\n margin-bottom: 2px;\n"],["\n margin-top: 2px;\n margin-bottom: 2px;\n"]))),j=t.div(m||(m=n(["\n width: 100%;\n height: 1px;\n background-color: ",";\n"],["\n width: 100%;\n height: 1px;\n background-color: ",";\n"])),(function(n){return n.theme.colors.shades[100].color})),S=t.div(c||(c=n(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n"],["\n width: 100%;\n display: flex;\n justify-content: space-between;\n"]))),T=t.button(u||(u=n(["\n position: ",";\n top: ",";\n right: ",";\n z-index: ",";\n padding: ",";\n box-sizing: ",";\n background-color: white;\n border: none;\n border-radius: 8px;\n justify-content: center;\n display: flex;\n align-items: center;\n height: 24px !important;\n width: 49px !important;\n svg[data-testid='shaper-pink-selector'] {\n height: 20px;\n width: 20px;\n }\n div[data-testid='radio-group-options-container'] {\n margin-top: 0 !important;\n display: flex;\n align-items: center;\n\n div[data-testid='numeric-tooltip'] {\n font-weight: 700 !important;\n }\n }\n div[data-testid='TooltipContainer'] {\n width: 49px !important;\n overflow: hidden;\n border-radius: 10px;\n }\n"],["\n position: ",";\n top: ",";\n right: ",";\n z-index: ",";\n padding: ",";\n box-sizing: ",";\n background-color: white;\n border: none;\n border-radius: 8px;\n justify-content: center;\n display: flex;\n align-items: center;\n height: 24px !important;\n width: 49px !important;\n svg[data-testid='shaper-pink-selector'] {\n height: 20px;\n width: 20px;\n }\n div[data-testid='radio-group-options-container'] {\n margin-top: 0 !important;\n display: flex;\n align-items: center;\n\n div[data-testid='numeric-tooltip'] {\n font-weight: 700 !important;\n }\n }\n div[data-testid='TooltipContainer'] {\n width: 49px !important;\n overflow: hidden;\n border-radius: 10px;\n }\n"])),(function(n){var t=n.position;return void 0===t?"absolute":t}),(function(n){var t=n.top;return void 0===t?"4px":t}),(function(n){var t=n.right;return void 0===t?"4px":t}),(function(n){var t=n.zIndex;return void 0===t?99999:t}),(function(n){var t=n.padding;return void 0===t?"0px":t}),(function(n){var t=n.boxSizing;return void 0===t?"border-box":t}));export{z as BottomTagContainer,_ as ClubOfferPriceLabelWrapper,f as Container,T as CornerContainer,j as Divider,x as ImageContainer,g as ImageHoverContainer,k as MarginTopContainer,S as OneLineInfoWrapper,v as ProdCardContainer,w as Title,y as TopTagContainer,b as getStylesBySize};
2
2
  //# sourceMappingURL=styled.js.map
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"tslib";import{jsx as r}from"react/jsx-runtime";import"../../atoms/PriceLabel/PriceLabel.js";import"../../atoms/PriceLabelV2/PriceLabelV2.js";import"../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js";import"../../atoms/HorizontalDivider/HorizontalDivider.js";import{Icon as o}from"../../atoms/Icon/Icon.js";import"react";import"../../../types/enums.js";import"../../../core/theme/Theme.js";import"../../atoms/Image/styled.js";import"../../atoms/Toggle/toggle.styled.js";var t=function(t){return r(o,e({},t,{name:"other/alarm_on"}),void 0)};export{t as AlarmOn};
2
+ //# sourceMappingURL=AlarmOn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlarmOn.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- export{ArrowOutward}from"./ArrowOutward.js";export{BodConLabel}from"./BodConLabel.js";export{BodConMobileLabel}from"./BodConMobileLabel.js";export{CallUs}from"./CallUs.js";export{Chat}from"./Chat.js";export{Coupons}from"./Coupons.js";export{Email}from"./Email.js";export{ExpressShipping}from"./ExpressShipping.js";export{FitGuarantee}from"./FitGuarantee.js";export{FitPredictor}from"./FitPredictor.js";export{FlagAU}from"./FlagAU.js";export{FlagCA}from"./FlagCA.js";export{FlagGB}from"./FlagGB.js";export{FlagNZ}from"./FlagNZ.js";export{FlagSG}from"./FlagSG.js";export{FlagUS}from"./FlagUS.js";export{FreeExchange}from"./FreeExchange.js";export{GetDiscount}from"./GetDiscount.js";export{HasselFreeReturns}from"./HasselFreeReturns.js";export{HelpCenter}from"./HelpCenter.js";export{Loading}from"./Loading.js";export{McAfee}from"./McAfee.js";export{Megafone}from"./Megafone.js";export{Play}from"./Play.js";export{QrCode}from"./QrCode.js";export{QuestionWithCircle}from"./QuestionWithCircle.js";export{RevelBeauty}from"./RevelBeauty.js";export{Shapermint}from"./Shapermint.js";export{ShapermintClubIcon}from"./ShapermintClubIcon.js";export{ShapermintClubIcon2}from"./ShapermintClubIcon2.js";export{ShapermintClubLabel}from"./ShapermintClubLabel.js";export{ShapermintClubMobileLabel}from"./ShapermintClubMobileLabel.js";export{ShapermintLogo}from"./ShapermintLogo.js";export{ShmClub}from"./ShmClub.js";export{ShopNow}from"./ShopNow.js";export{SignForm}from"./SignForm.js";export{SixtyDaysTSD}from"./SixtyDaysTSD.js";export{TheBodCon}from"./TheBodCon.js";export{TheSpaDr}from"./TheSpaDr.js";
1
+ export{AlarmOn}from"./AlarmOn.js";export{ArrowOutward}from"./ArrowOutward.js";export{BodConLabel}from"./BodConLabel.js";export{BodConMobileLabel}from"./BodConMobileLabel.js";export{CallUs}from"./CallUs.js";export{Chat}from"./Chat.js";export{Coupons}from"./Coupons.js";export{Email}from"./Email.js";export{ExpressShipping}from"./ExpressShipping.js";export{FitGuarantee}from"./FitGuarantee.js";export{FitPredictor}from"./FitPredictor.js";export{FlagAU}from"./FlagAU.js";export{FlagCA}from"./FlagCA.js";export{FlagGB}from"./FlagGB.js";export{FlagNZ}from"./FlagNZ.js";export{FlagSG}from"./FlagSG.js";export{FlagUS}from"./FlagUS.js";export{FreeExchange}from"./FreeExchange.js";export{GetDiscount}from"./GetDiscount.js";export{HasselFreeReturns}from"./HasselFreeReturns.js";export{HelpCenter}from"./HelpCenter.js";export{Loading}from"./Loading.js";export{McAfee}from"./McAfee.js";export{Megafone}from"./Megafone.js";export{Play}from"./Play.js";export{QrCode}from"./QrCode.js";export{QuestionWithCircle}from"./QuestionWithCircle.js";export{RevelBeauty}from"./RevelBeauty.js";export{Shapermint}from"./Shapermint.js";export{ShapermintClubIcon}from"./ShapermintClubIcon.js";export{ShapermintClubIcon2}from"./ShapermintClubIcon2.js";export{ShapermintClubLabel}from"./ShapermintClubLabel.js";export{ShapermintClubMobileLabel}from"./ShapermintClubMobileLabel.js";export{ShapermintLogo}from"./ShapermintLogo.js";export{ShmClub}from"./ShmClub.js";export{ShopNow}from"./ShopNow.js";export{SignForm}from"./SignForm.js";export{SixtyDaysTSD}from"./SixtyDaysTSD.js";export{TheBodCon}from"./TheBodCon.js";export{TheSpaDr}from"./TheSpaDr.js";
2
2
  //# sourceMappingURL=index.js.map
package/build/index.d.ts CHANGED
@@ -186,7 +186,7 @@ declare type Emoji$1 = 'emoji/blowing_kiss' | 'emoji/frowning' | 'emoji/grinning
186
186
  declare type Messaging$1 = 'messaging/ada_chat' | 'messaging/comment' | 'messaging/comment_dots' | 'messaging/comment_light' | 'messaging/comment_money' | 'messaging/community' | 'messaging/light' | 'messaging/light_bulb' | 'messaging/light_bulb_solid' | 'messaging/mail' | 'messaging/mail_sent' | 'messaging/messenger' | 'messaging/question_circle' | 'messaging/quote_left' | 'messaging/quote_right' | 'messaging/quote_solid_left' | 'messaging/quote_solid_right' | 'messaging/question_circle_light';
187
187
  declare type MyAccount$1 = 'myaccount/birthday_gifts' | 'myaccount/community' | 'myaccount/deals_offers' | 'myaccount/free_returns' | 'myaccount/free_shipping' | 'myaccount/guard' | 'myaccount/members_only_discount' | 'myaccount/members_only_discount_opposite' | 'myaccount/personal_stylist' | 'myaccount/priority_shipping' | 'myaccount/profile' | 'myaccount/place_image' | 'myaccount/sale_tag' | 'myaccount/style_fashion_content' | 'myaccount/cart' | 'myaccount/vip' | 'myaccount/calendar' | 'myaccount/skin_type' | 'myaccount/magnify' | 'myaccount/beauty_products' | 'myaccount/email' | 'myaccount/contact';
188
188
  declare type Navigation$1 = 'navigation/address_information' | 'navigation/benefits' | 'navigation/benefits_v2' | 'navigation/club_membership' | 'navigation/ellipsis' | 'navigation/ellipsis_horizontal' | 'navigation/filters' | 'navigation/hamburger' | 'navigation/home' | 'navigation/home_solid' | 'navigation/loading' | 'navigation/lock' | 'navigation/lock_solid' | 'navigation/map_marker' | 'navigation/map_marker_light' | 'navigation/map_solid' | 'navigation/menu_lines' | 'navigation/search' | 'navigation/shaperbox' | 'navigation/shopping_bag' | 'navigation/shopping_bag_v2' | 'navigation/shopping_bag_v3' | 'navigation/shopping_bag_v4' | 'navigation/shopping_cart' | 'navigation/shopping_cart_v2' | 'navigation/slide_dot' | 'navigation/slide_dot_solid' | 'navigation/user' | 'navigation/address_information_light' | 'navigation/user_solid' | 'navigation/user_v2' | 'navigation/filters_v2' | 'navigation/gift';
189
- declare type Other$1 = 'other/bod_con_label' | 'other/bod_con_mobile_label' | 'other/call_us' | 'other/chat' | 'other/email' | 'other/express_shipping' | 'other/fit_guarantee' | 'other/fit_predictor' | 'other/free_exchange' | 'other/get_discount' | 'other/hassel_free_returns' | 'other/loading' | 'other/mc_afee' | 'other/megafone' | 'other/play' | 'other/qr_code' | 'other/question_with_circle' | 'other/revel_beauty' | 'other/shapermint' | 'other/shapermint_club_icon' | 'other/shapermint_club_icon2' | 'other/shapermint_club_label' | 'other/shapermint_club_mobile_label' | 'other/shapermint_logo' | 'other/shm_club' | 'other/shop_now' | 'other/sign_form' | 'other/sixty_days_tsd' | 'other/the_bod_con' | 'other/the_spa_dr' | 'other/lock' | 'other/help_center' | 'other/arrow_outward' | 'other/coupons' | 'other/flag_usa' | 'other/flag_canada' | 'other/flag_aus' | 'other/flag_uk' | 'other/flag_nz' | 'other/flag_sg';
189
+ declare type Other$1 = 'other/alarm_on' | 'other/bod_con_label' | 'other/bod_con_mobile_label' | 'other/call_us' | 'other/chat' | 'other/email' | 'other/express_shipping' | 'other/fit_guarantee' | 'other/fit_predictor' | 'other/free_exchange' | 'other/get_discount' | 'other/hassel_free_returns' | 'other/loading' | 'other/mc_afee' | 'other/megafone' | 'other/play' | 'other/qr_code' | 'other/question_with_circle' | 'other/revel_beauty' | 'other/shapermint' | 'other/shapermint_club_icon' | 'other/shapermint_club_icon2' | 'other/shapermint_club_label' | 'other/shapermint_club_mobile_label' | 'other/shapermint_logo' | 'other/shm_club' | 'other/shop_now' | 'other/sign_form' | 'other/sixty_days_tsd' | 'other/the_bod_con' | 'other/the_spa_dr' | 'other/lock' | 'other/help_center' | 'other/arrow_outward' | 'other/coupons' | 'other/flag_usa' | 'other/flag_canada' | 'other/flag_aus' | 'other/flag_uk' | 'other/flag_nz' | 'other/flag_sg';
190
190
  declare type Payment$1 = 'payment/amazon' | 'payment/amex' | 'payment/jcb' | 'payment/klarna' | 'payment/master_card' | 'payment/paypal' | 'payment/visa' | 'payment/payment_methods';
191
191
  declare type PDP$1 = 'pdp/circle_number' | 'pdp/clock' | 'pdp/drop' | 'pdp/drop_empty' | 'pdp/error_cross' | 'pdp/flag_usa' | 'pdp/hours' | 'pdp/klarna_logo' | 'pdp/light_bulb' | 'pdp/free_returns_v2' | 'pdp/free_shipping_v2' | 'pdp/loading_trafisizy' | 'pdp/minus' | 'pdp/moon' | 'pdp/tape_measure' | 'pdp/new_clock' | 'pdp/play_mini' | 'pdp/play_video' | 'pdp/plus' | 'pdp/rule' | 'pdp/shipping' | 'pdp/shipping_empty' | 'pdp/size_empty' | 'pdp/size_empty_v2' | 'pdp/size_with_stars' | 'pdp/star' | 'pdp/stars' | 'pdp/star_empty' | 'pdp/star_half' | 'pdp/stopwatch' | 'pdp/drop_v2' | 'pdp/few_drops' | 'pdp/trust_badge' | 'pdp/verified' | 'pdp/wrinkle_free_face' | 'pdp/skin_appearance' | 'pdp/shine_heart' | 'pdp/cruelty_free' | 'pdp/ph_formula' | 'pdp/box' | 'pdp/afterpay_logo' | 'pdp/trustpilot_star' | 'pdp/trustpilot_half_star';
192
192
  declare type SlideDots$1 = 'slidedots/slide_dot';
@@ -946,6 +946,8 @@ declare namespace Navigation {
946
946
  };
947
947
  }
948
948
 
949
+ declare const AlarmOn: IconComponent;
950
+
949
951
  declare const ArrowOutward: IconComponent;
950
952
 
951
953
  declare const BodConLabel: IconComponent;
@@ -1024,6 +1026,7 @@ declare const TheBodCon: IconComponent;
1024
1026
 
1025
1027
  declare const TheSpaDr: IconComponent;
1026
1028
 
1029
+ declare const Other_AlarmOn: typeof AlarmOn;
1027
1030
  declare const Other_ArrowOutward: typeof ArrowOutward;
1028
1031
  declare const Other_BodConLabel: typeof BodConLabel;
1029
1032
  declare const Other_BodConMobileLabel: typeof BodConMobileLabel;
@@ -1063,6 +1066,7 @@ declare const Other_TheBodCon: typeof TheBodCon;
1063
1066
  declare const Other_TheSpaDr: typeof TheSpaDr;
1064
1067
  declare namespace Other {
1065
1068
  export {
1069
+ Other_AlarmOn as AlarmOn,
1066
1070
  Other_ArrowOutward as ArrowOutward,
1067
1071
  Other_BodConLabel as BodConLabel,
1068
1072
  Other_BodConMobileLabel as BodConMobileLabel,
@@ -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"),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 y=require("../../../pricing/priceLabelV4/PriceLabelV4.js"),b=require("../../../rating/Rating.js"),h=require("./constants.js"),P=require("./styled.js"),S=require("../../../pricing/styles.js");require("../truekind/ProductItemTK.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("../../../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/Error.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/QuantityPicker.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,M,V,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,K=x.url,Q=x.className,J=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,Me=void 0!==Ie&&Ie,Ve=x.invertPriceDirection,Be=void 0!==Ve&&Ve,De=x.priceAndReviewInOneLine,Ge=void 0!==De&&De,Ae=u.useTheme(),_e=P.getStylesBySize(H),Oe=g.useWindowDimensions().isMobile,Fe=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]),Re=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(y.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?Oe?{fontSize:"12px",fontWeight:700,color:null===(t=Ae.colors.pallete.brickRed)||void 0===t?void 0:t.color}:{fontSize:"16px",fontWeight:700,color:null===(o=Ae.colors.pallete.brickRed)||void 0===o?void 0:o.color}:void 0},void 0):r.jsx(y.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?Oe?{fontSize:"12px",fontWeight:700,color:null===(n=Ae.colors.pallete.brickRed)||void 0===n?void 0:n.color}:{fontSize:"16px",fontWeight:700,color:null===(l=Ae.colors.pallete.brickRed)||void 0===l?void 0:l.color}:void 0},void 0);case 5:return r.jsx(P.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?Oe?{fontSize:"12px",fontWeight:700}:{fontSize:"16px",fontWeight:700}:void 0},void 0)}},Ne=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(b.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)},We=i.useState(null!==(z=null==we?void 0:we.isLiked)&&void 0!==z&&z),He=We[0],Ee=We[1],Ye=i.useState(null!==(w=null==we?void 0:we.likes)&&void 0!==w?w:0),Ke=Ye[0],Qe=Ye[1];return r.jsxs(P.ProdCardContainer,e.__assign({className:Q,"data-testid":"product-card-container-div"},{children:[r.jsxs(P.Container,e.__assign({as:K?"a":"div",href:K,rel:se?"nofollow":"",className:"picContainer",onClick:X},{children:[!!we&&r.jsx(C.LikeButton,{isLiked:He,likes:Ke,onClick:function(e){e.stopPropagation(),Qe(He?function(e){return e-1}:function(e){return e+1}),Ee((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:Ae.colors.shades.white.color,hover:null!==(G=null!==(V=null===(M=null===(I=we.colors)||void 0===I?void 0:I.background)||void 0===M?void 0:M.hover)&&void 0!==V?V:null===(D=null===(B=we.colors)||void 0===B?void 0:B.background)||void 0===D?void 0:D.active)&&void 0!==G?G:Ae.colors.shades.white.color}}},void 0),"corner"===le.position&&r.jsx(P.CornerContainer,e.__assign({},le.componentContainerProps,{children:le.component}),void 0),J||U?r.jsxs(P.ImageContainer,e.__assign({width:null==_e?void 0:_e.width,height:null==_e?void 0:_e.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==_e?void 0:_e.width:"100%",height:xe?null==_e?void 0:_e.height:"100%",loading:fe?"eager":"lazy",decoding:fe?"sync":"async",borderRadius:h.STYLES_BY_THEME[Ae.name].image.borderRadius},void 0),r.jsx(P.TopTagContainer,e.__assign({style:{width:le.display?"100%":"inherit"}},{children:J}),void 0),r.jsx(P.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==_e?void 0:_e.width,height:null==_e?void 0:_e.height,loading:fe?"eager":"lazy",decoding:fe?"sync":"async",borderRadius:h.STYLES_BY_THEME[Ae.name].image.borderRadius},void 0),O?r.jsx(P.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==_e?void 0:_e.width,height:null==_e?void 0:_e.height},void 0):null]}),void 0),le.display&&"top"===le.position&&r.jsxs(r.Fragment,{children:[r.jsx(d.Spacing,{size:Fe},void 0),le.component]},void 0),re&&r.jsxs(r.Fragment,{children:[r.jsx(d.Spacing,{size:Fe},void 0),r.jsx(d.Spacing,{size:Fe},void 0),r.jsx(Ne,{},void 0)]},void 0),r.jsxs(P.Container,e.__assign({as:K?"a":"div",href:K,rel:se?"nofollow":"",onClick:X,className:"textContainer",style:{alignItems:me?"flex-start":"center"}},{children:[r.jsx(d.Spacing,{size:Fe},void 0),r.jsx(P.Title,e.__assign({theme:Ae,align:me?"left":Y,"data-testid":"product-card-title"},{children:A}),void 0),r.jsx(d.Spacing,{size:Fe},void 0),Me&&r.jsxs(r.Fragment,{children:[r.jsx(P.Divider,{theme:Ae},void 0),r.jsx(d.Spacing,{size:Fe},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(Ne,{},void 0),r.jsx(d.Spacing,{size:Fe},void 0),r.jsxs(P.MarginTopContainer,e.__assign({style:{marginTop:(null==ze?void 0:ze.isClubOffer)?0:8}},{children:[ie?r.jsx(o,{height:"20px",width:"140px"},void 0):Re(),(null==ze?void 0:ze.isClubOffer)&&Re(5)]}),void 0)]},void 0):r.jsxs(r.Fragment,{children:[ie?r.jsx(o,{height:"20px",width:"140px"},void 0):Ge&&!re?r.jsxs(P.OneLineInfoWrapper,{children:[Re(),r.jsx(Ne,{},void 0)]},void 0):r.jsxs(r.Fragment,{children:[!(null==ze?void 0:ze.isClubMember)&&Re(),(null==ze?void 0:ze.isClubOffer)&&Re(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(S.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),r.jsx(d.Spacing,{size:Fe},void 0),!re&&!Ge&&r.jsx(Ne,{},void 0)]},void 0),!!Te&&r.jsxs(r.Fragment,{children:[r.jsx(d.Spacing,{size:Fe},void 0),r.jsx(d.Spacing,{size:Fe},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:Fe},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");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"),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 y=require("../../../pricing/priceLabelV4/PriceLabelV4.js"),b=require("../../../rating/Rating.js"),h=require("./constants.js"),P=require("./styled.js"),S=require("../../../pricing/styles.js");require("../truekind/ProductItemTK.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("../../../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/Error.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/QuantityPicker.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,M,V,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,K=x.url,Q=x.className,J=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,Me=void 0!==Ie&&Ie,Ve=x.invertPriceDirection,Be=void 0!==Ve&&Ve,De=x.priceAndReviewInOneLine,Ge=void 0!==De&&De,Ae=u.useTheme(),_e=P.getStylesBySize(H),Oe=g.useWindowDimensions().isMobile,Fe=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]),Re=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(y.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?Oe?{fontSize:"12px",fontWeight:700,color:null===(t=Ae.colors.pallete.brickRed)||void 0===t?void 0:t.color}:{fontSize:"16px",fontWeight:700,color:null===(o=Ae.colors.pallete.brickRed)||void 0===o?void 0:o.color}:void 0},void 0):r.jsx(y.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?Oe?{fontSize:"12px",fontWeight:700,color:null===(n=Ae.colors.pallete.brickRed)||void 0===n?void 0:n.color}:{fontSize:"16px",fontWeight:700,color:null===(l=Ae.colors.pallete.brickRed)||void 0===l?void 0:l.color}:void 0},void 0);case 5:return r.jsx(P.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?Oe?{fontSize:"12px",fontWeight:700}:{fontSize:"16px",fontWeight:700}:void 0},void 0)}},Ne=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(b.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)},We=i.useState(null!==(z=null==we?void 0:we.isLiked)&&void 0!==z&&z),He=We[0],Ee=We[1],Ye=i.useState(null!==(w=null==we?void 0:we.likes)&&void 0!==w?w:0),Ke=Ye[0],Qe=Ye[1];return r.jsxs(P.ProdCardContainer,e.__assign({className:Q,"data-testid":"product-card-container-div"},{children:["corner"===le.position&&r.jsx(P.CornerContainer,e.__assign({},le.componentContainerProps,{children:le.component}),void 0),r.jsxs(P.Container,e.__assign({as:K?"a":"div",href:K,rel:se?"nofollow":"",className:"picContainer",onClick:X},{children:[!!we&&r.jsx(C.LikeButton,{isLiked:He,likes:Ke,onClick:function(e){e.stopPropagation(),Qe(He?function(e){return e-1}:function(e){return e+1}),Ee((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:Ae.colors.shades.white.color,hover:null!==(G=null!==(V=null===(M=null===(I=we.colors)||void 0===I?void 0:I.background)||void 0===M?void 0:M.hover)&&void 0!==V?V:null===(D=null===(B=we.colors)||void 0===B?void 0:B.background)||void 0===D?void 0:D.active)&&void 0!==G?G:Ae.colors.shades.white.color}}},void 0),J||U?r.jsxs(P.ImageContainer,e.__assign({width:null==_e?void 0:_e.width,height:null==_e?void 0:_e.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==_e?void 0:_e.width:"100%",height:xe?null==_e?void 0:_e.height:"100%",loading:fe?"eager":"lazy",decoding:fe?"sync":"async",borderRadius:h.STYLES_BY_THEME[Ae.name].image.borderRadius},void 0),r.jsx(P.TopTagContainer,e.__assign({style:{width:le.display?"100%":"inherit"}},{children:J}),void 0),r.jsx(P.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==_e?void 0:_e.width,height:null==_e?void 0:_e.height,loading:fe?"eager":"lazy",decoding:fe?"sync":"async",borderRadius:h.STYLES_BY_THEME[Ae.name].image.borderRadius},void 0),O?r.jsx(P.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==_e?void 0:_e.width,height:null==_e?void 0:_e.height},void 0):null]}),void 0),le.display&&"top"===le.position&&r.jsxs(r.Fragment,{children:[r.jsx(d.Spacing,{size:Fe},void 0),le.component]},void 0),re&&r.jsxs(r.Fragment,{children:[r.jsx(d.Spacing,{size:Fe},void 0),r.jsx(d.Spacing,{size:Fe},void 0),r.jsx(Ne,{},void 0)]},void 0),r.jsxs(P.Container,e.__assign({as:K?"a":"div",href:K,rel:se?"nofollow":"",onClick:X,className:"textContainer",style:{alignItems:me?"flex-start":"center"}},{children:[r.jsx(d.Spacing,{size:Fe},void 0),r.jsx(P.Title,e.__assign({theme:Ae,align:me?"left":Y,"data-testid":"product-card-title"},{children:A}),void 0),r.jsx(d.Spacing,{size:Fe},void 0),Me&&r.jsxs(r.Fragment,{children:[r.jsx(P.Divider,{theme:Ae},void 0),r.jsx(d.Spacing,{size:Fe},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(Ne,{},void 0),r.jsx(d.Spacing,{size:Fe},void 0),r.jsxs(P.MarginTopContainer,e.__assign({style:{marginTop:(null==ze?void 0:ze.isClubOffer)?0:8}},{children:[ie?r.jsx(o,{height:"20px",width:"140px"},void 0):Re(),(null==ze?void 0:ze.isClubOffer)&&Re(5)]}),void 0)]},void 0):r.jsxs(r.Fragment,{children:[ie?r.jsx(o,{height:"20px",width:"140px"},void 0):Ge&&!re?r.jsxs(P.OneLineInfoWrapper,{children:[Re(),r.jsx(Ne,{},void 0)]},void 0):r.jsxs(r.Fragment,{children:[!(null==ze?void 0:ze.isClubMember)&&Re(),(null==ze?void 0:ze.isClubOffer)&&Re(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(S.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),r.jsx(d.Spacing,{size:Fe},void 0),!re&&!Ge&&r.jsx(Ne,{},void 0)]},void 0),!!Te&&r.jsxs(r.Fragment,{children:[r.jsx(d.Spacing,{size:Fe},void 0),r.jsx(d.Spacing,{size:Fe},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:Fe},void 0),le.component]},void 0)]}),void 0)};
2
2
  //# sourceMappingURL=ProductItemMobile.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("tslib"),e=require("@emotion/styled"),t=require("../../../../types/enums.js"),i=require("./constants.js");function o(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var r,a,d,p,l,s,m,c,u,h,x,f=o(e),g=f.default.div((function(n){return{position:"relative",width:n.width,height:n.height}})),v=f.default.img(r||(r=n.__makeTemplateObject(["\n opacity: 0;\n position: absolute;\n transition: all 0.4s ease-in-out;\n"],["\n opacity: 0;\n position: absolute;\n transition: all 0.4s ease-in-out;\n"]))),b=f.default.a(a||(a=n.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n text-decoration: none;\n\n &:hover .hover__image {\n opacity: 1;\n }\n\n &:hover .like-btn-container:hover + .hover__image {\n opacity: 0;\n }\n"],["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n text-decoration: none;\n\n &:hover .hover__image {\n opacity: 1;\n }\n\n &:hover .like-btn-container:hover + .hover__image {\n opacity: 0;\n }\n"]))),w=f.default.div(d||(d=n.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n text-decoration: none;\n position: relative;\n"],["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n text-decoration: none;\n position: relative;\n"]))),_=f.default.h2(p||(p=n.__makeTemplateObject(["\n font-size: ",";\n font-weight: ",";\n line-height: 1.375rem;\n min-height: 2.75rem;\n color: ",";\n margin: 0.25rem 0;\n text-align: ",";\n\n ","\n\n ","\n\n @media (max-width: ","px) {\n font-size: ",";\n }\n"],["\n font-size: ",";\n font-weight: ",";\n line-height: 1.375rem;\n min-height: 2.75rem;\n color: ",";\n margin: 0.25rem 0;\n text-align: ",";\n\n ","\n\n ","\n\n @media (max-width: ","px) {\n font-size: ",";\n }\n"])),(function(n){var e=n.theme;return i.STYLES_BY_THEME[e.name].title.fontSize}),(function(n){var e=n.theme;return i.STYLES_BY_THEME[e.name].title.fontWeight}),(function(n){return n.theme.colors.text.color}),(function(n){var e=n.align;return void 0===e?"center":e}),(function(n){var e=n.theme;return["Revel","TheSpaDr"].includes(e.name)&&"\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden; \n "}),(function(n){return"Revel"===n.theme.name&&"max-width: 150px;"}),(function(n){return n.theme.mediaQueries.mobile}),(function(n){var e=n.theme;return i.STYLES_BY_THEME[e.name].title.mobile.fontSize})),y=f.default.div(l||(l=n.__makeTemplateObject(["\n position: absolute;\n left: 0;\n top: 0;\n width: ",";\n z-index: 1;\n"],["\n position: absolute;\n left: 0;\n top: 0;\n width: ",";\n z-index: 1;\n"])),(function(n){return n.style.width})),T=f.default.div(s||(s=n.__makeTemplateObject(["\n position: absolute;\n bottom: 10%;\n left: 0;\n width: ",";\n z-index: 1;\n"],["\n position: absolute;\n bottom: 10%;\n left: 0;\n width: ",";\n z-index: 1;\n"])),(function(n){return n.style.width})),k=f.default.div(m||(m=n.__makeTemplateObject(["\n margin-top: 8px;\n"],["\n margin-top: 8px;\n"]))),z=f.default.div(c||(c=n.__makeTemplateObject(["\n margin-top: 2px;\n margin-bottom: 2px;\n"],["\n margin-top: 2px;\n margin-bottom: 2px;\n"]))),j=f.default.div(u||(u=n.__makeTemplateObject(["\n width: 100%;\n height: 1px;\n background-color: ",";\n"],["\n width: 100%;\n height: 1px;\n background-color: ",";\n"])),(function(n){return n.theme.colors.shades[100].color})),C=f.default.div(h||(h=n.__makeTemplateObject(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n"],["\n width: 100%;\n display: flex;\n justify-content: space-between;\n"]))),S=f.default.button(x||(x=n.__makeTemplateObject(["\n position: ",";\n top: ",";\n right: ",";\n z-index: ",";\n padding: ",";\n box-sizing: ",";\n background-color: white;\n border: none;\n border-radius: 8px;\n justify-content: center;\n display: flex;\n align-items: center;\n height: 24px !important;\n width: 49px !important;\n svg[data-testid='shaper-pink-selector'] {\n height: 20px;\n width: 20px;\n }\n div[data-testid='radio-group-options-container'] {\n margin-top: 0 !important;\n display: flex;\n align-items: center;\n\n div[data-testid='numeric-tooltip'] {\n font-weight: 700 !important;\n }\n }\n div[data-testid='TooltipContainer'] {\n width: 49px !important;\n overflow: hidden;\n border-radius: 10px;\n }\n"],["\n position: ",";\n top: ",";\n right: ",";\n z-index: ",";\n padding: ",";\n box-sizing: ",";\n background-color: white;\n border: none;\n border-radius: 8px;\n justify-content: center;\n display: flex;\n align-items: center;\n height: 24px !important;\n width: 49px !important;\n svg[data-testid='shaper-pink-selector'] {\n height: 20px;\n width: 20px;\n }\n div[data-testid='radio-group-options-container'] {\n margin-top: 0 !important;\n display: flex;\n align-items: center;\n\n div[data-testid='numeric-tooltip'] {\n font-weight: 700 !important;\n }\n }\n div[data-testid='TooltipContainer'] {\n width: 49px !important;\n overflow: hidden;\n border-radius: 10px;\n }\n"])),(function(n){var e=n.position;return void 0===e?"absolute":e}),(function(n){var e=n.top;return void 0===e?"4px":e}),(function(n){var e=n.right;return void 0===e?"4px":e}),(function(n){var e=n.zIndex;return void 0===e?1:e}),(function(n){var e=n.padding;return void 0===e?"0px":e}),(function(n){var e=n.boxSizing;return void 0===e?"border-box":e}));exports.BottomTagContainer=T,exports.ClubOfferPriceLabelWrapper=z,exports.Container=b,exports.CornerContainer=S,exports.Divider=j,exports.ImageContainer=g,exports.ImageHoverContainer=v,exports.MarginTopContainer=k,exports.OneLineInfoWrapper=C,exports.ProdCardContainer=w,exports.Title=_,exports.TopTagContainer=y,exports.getStylesBySize=function(n){switch(n){case t.ComponentSize.Medium:return{width:"205px",height:"274px"};case t.ComponentSize.Small:return{width:"9.813rem",height:"13.125rem"};case t.ComponentSize.Large:return{width:"262px",height:"350px"};default:return{width:"205px",height:"274px"}}};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("tslib"),e=require("@emotion/styled"),t=require("../../../../types/enums.js"),i=require("./constants.js");function o(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var r,a,d,p,l,s,m,c,u,h,x,f=o(e),g=f.default.div((function(n){return{position:"relative",width:n.width,height:n.height}})),v=f.default.img(r||(r=n.__makeTemplateObject(["\n opacity: 0;\n position: absolute;\n transition: all 0.4s ease-in-out;\n"],["\n opacity: 0;\n position: absolute;\n transition: all 0.4s ease-in-out;\n"]))),b=f.default.a(a||(a=n.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n text-decoration: none;\n\n &:hover .hover__image {\n opacity: 1;\n }\n\n &:hover .like-btn-container:hover + .hover__image {\n opacity: 0;\n }\n"],["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n text-decoration: none;\n\n &:hover .hover__image {\n opacity: 1;\n }\n\n &:hover .like-btn-container:hover + .hover__image {\n opacity: 0;\n }\n"]))),w=f.default.div(d||(d=n.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n text-decoration: none;\n position: relative;\n"],["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n text-decoration: none;\n position: relative;\n"]))),_=f.default.h2(p||(p=n.__makeTemplateObject(["\n font-size: ",";\n font-weight: ",";\n line-height: 1.375rem;\n min-height: 2.75rem;\n color: ",";\n margin: 0.25rem 0;\n text-align: ",";\n\n ","\n\n ","\n\n @media (max-width: ","px) {\n font-size: ",";\n }\n"],["\n font-size: ",";\n font-weight: ",";\n line-height: 1.375rem;\n min-height: 2.75rem;\n color: ",";\n margin: 0.25rem 0;\n text-align: ",";\n\n ","\n\n ","\n\n @media (max-width: ","px) {\n font-size: ",";\n }\n"])),(function(n){var e=n.theme;return i.STYLES_BY_THEME[e.name].title.fontSize}),(function(n){var e=n.theme;return i.STYLES_BY_THEME[e.name].title.fontWeight}),(function(n){return n.theme.colors.text.color}),(function(n){var e=n.align;return void 0===e?"center":e}),(function(n){var e=n.theme;return["Revel","TheSpaDr"].includes(e.name)&&"\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden; \n "}),(function(n){return"Revel"===n.theme.name&&"max-width: 150px;"}),(function(n){return n.theme.mediaQueries.mobile}),(function(n){var e=n.theme;return i.STYLES_BY_THEME[e.name].title.mobile.fontSize})),y=f.default.div(l||(l=n.__makeTemplateObject(["\n position: absolute;\n left: 0;\n top: 0;\n width: ",";\n z-index: 1;\n"],["\n position: absolute;\n left: 0;\n top: 0;\n width: ",";\n z-index: 1;\n"])),(function(n){return n.style.width})),T=f.default.div(s||(s=n.__makeTemplateObject(["\n position: absolute;\n bottom: 10%;\n left: 0;\n width: ",";\n z-index: 1;\n"],["\n position: absolute;\n bottom: 10%;\n left: 0;\n width: ",";\n z-index: 1;\n"])),(function(n){return n.style.width})),k=f.default.div(m||(m=n.__makeTemplateObject(["\n margin-top: 8px;\n"],["\n margin-top: 8px;\n"]))),z=f.default.div(c||(c=n.__makeTemplateObject(["\n margin-top: 2px;\n margin-bottom: 2px;\n"],["\n margin-top: 2px;\n margin-bottom: 2px;\n"]))),j=f.default.div(u||(u=n.__makeTemplateObject(["\n width: 100%;\n height: 1px;\n background-color: ",";\n"],["\n width: 100%;\n height: 1px;\n background-color: ",";\n"])),(function(n){return n.theme.colors.shades[100].color})),C=f.default.div(h||(h=n.__makeTemplateObject(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n"],["\n width: 100%;\n display: flex;\n justify-content: space-between;\n"]))),S=f.default.button(x||(x=n.__makeTemplateObject(["\n position: ",";\n top: ",";\n right: ",";\n z-index: ",";\n padding: ",";\n box-sizing: ",";\n background-color: white;\n border: none;\n border-radius: 8px;\n justify-content: center;\n display: flex;\n align-items: center;\n height: 24px !important;\n width: 49px !important;\n svg[data-testid='shaper-pink-selector'] {\n height: 20px;\n width: 20px;\n }\n div[data-testid='radio-group-options-container'] {\n margin-top: 0 !important;\n display: flex;\n align-items: center;\n\n div[data-testid='numeric-tooltip'] {\n font-weight: 700 !important;\n }\n }\n div[data-testid='TooltipContainer'] {\n width: 49px !important;\n overflow: hidden;\n border-radius: 10px;\n }\n"],["\n position: ",";\n top: ",";\n right: ",";\n z-index: ",";\n padding: ",";\n box-sizing: ",";\n background-color: white;\n border: none;\n border-radius: 8px;\n justify-content: center;\n display: flex;\n align-items: center;\n height: 24px !important;\n width: 49px !important;\n svg[data-testid='shaper-pink-selector'] {\n height: 20px;\n width: 20px;\n }\n div[data-testid='radio-group-options-container'] {\n margin-top: 0 !important;\n display: flex;\n align-items: center;\n\n div[data-testid='numeric-tooltip'] {\n font-weight: 700 !important;\n }\n }\n div[data-testid='TooltipContainer'] {\n width: 49px !important;\n overflow: hidden;\n border-radius: 10px;\n }\n"])),(function(n){var e=n.position;return void 0===e?"absolute":e}),(function(n){var e=n.top;return void 0===e?"4px":e}),(function(n){var e=n.right;return void 0===e?"4px":e}),(function(n){var e=n.zIndex;return void 0===e?99999:e}),(function(n){var e=n.padding;return void 0===e?"0px":e}),(function(n){var e=n.boxSizing;return void 0===e?"border-box":e}));exports.BottomTagContainer=T,exports.ClubOfferPriceLabelWrapper=z,exports.Container=b,exports.CornerContainer=S,exports.Divider=j,exports.ImageContainer=g,exports.ImageHoverContainer=v,exports.MarginTopContainer=k,exports.OneLineInfoWrapper=C,exports.ProdCardContainer=w,exports.Title=_,exports.TopTagContainer=y,exports.getStylesBySize=function(n){switch(n){case t.ComponentSize.Medium:return{width:"205px",height:"274px"};case t.ComponentSize.Small:return{width:"9.813rem",height:"13.125rem"};case t.ComponentSize.Large:return{width:"262px",height:"350px"};default:return{width:"205px",height:"274px"}}};
2
2
  //# sourceMappingURL=styled.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime");require("../../atoms/PriceLabel/PriceLabel.js"),require("../../atoms/PriceLabelV2/PriceLabelV2.js"),require("../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js"),require("../../atoms/HorizontalDivider/HorizontalDivider.js");var i=require("../../atoms/Icon/Icon.js");require("react"),require("../../../types/enums.js"),require("../../../core/theme/Theme.js"),require("../../atoms/Image/styled.js"),require("../../atoms/Toggle/toggle.styled.js");exports.AlarmOn=function(s){return r.jsx(i.Icon,e.__assign({},s,{name:"other/alarm_on"}),void 0)};
2
+ //# sourceMappingURL=AlarmOn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlarmOn.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./ArrowOutward.js"),r=require("./BodConLabel.js"),o=require("./BodConMobileLabel.js"),s=require("./CallUs.js"),i=require("./Chat.js"),t=require("./Coupons.js"),a=require("./Email.js"),p=require("./ExpressShipping.js"),u=require("./FitGuarantee.js"),l=require("./FitPredictor.js"),n=require("./FlagAU.js"),x=require("./FlagCA.js"),C=require("./FlagGB.js"),S=require("./FlagNZ.js"),h=require("./FlagSG.js"),j=require("./FlagUS.js"),q=require("./FreeExchange.js"),g=require("./GetDiscount.js"),b=require("./HasselFreeReturns.js"),F=require("./HelpCenter.js"),m=require("./Loading.js"),c=require("./McAfee.js"),d=require("./Megafone.js"),L=require("./Play.js"),B=require("./QrCode.js"),y=require("./QuestionWithCircle.js"),M=require("./RevelBeauty.js"),A=require("./Shapermint.js"),D=require("./ShapermintClubIcon.js"),G=require("./ShapermintClubIcon2.js"),w=require("./ShapermintClubLabel.js"),E=require("./ShapermintClubMobileLabel.js"),T=require("./ShapermintLogo.js"),U=require("./ShmClub.js"),f=require("./ShopNow.js"),P=require("./SignForm.js"),H=require("./SixtyDaysTSD.js"),I=require("./TheBodCon.js"),N=require("./TheSpaDr.js");exports.ArrowOutward=e.ArrowOutward,exports.BodConLabel=r.BodConLabel,exports.BodConMobileLabel=o.BodConMobileLabel,exports.CallUs=s.CallUs,exports.Chat=i.Chat,exports.Coupons=t.Coupons,exports.Email=a.Email,exports.ExpressShipping=p.ExpressShipping,exports.FitGuarantee=u.FitGuarantee,exports.FitPredictor=l.FitPredictor,exports.FlagAU=n.FlagAU,exports.FlagCA=x.FlagCA,exports.FlagGB=C.FlagGB,exports.FlagNZ=S.FlagNZ,exports.FlagSG=h.FlagSG,exports.FlagUS=j.FlagUS,exports.FreeExchange=q.FreeExchange,exports.GetDiscount=g.GetDiscount,exports.HasselFreeReturns=b.HasselFreeReturns,exports.HelpCenter=F.HelpCenter,exports.Loading=m.Loading,exports.McAfee=c.McAfee,exports.Megafone=d.Megafone,exports.Play=L.Play,exports.QrCode=B.QrCode,exports.QuestionWithCircle=y.QuestionWithCircle,exports.RevelBeauty=M.RevelBeauty,exports.Shapermint=A.Shapermint,exports.ShapermintClubIcon=D.ShapermintClubIcon,exports.ShapermintClubIcon2=G.ShapermintClubIcon2,exports.ShapermintClubLabel=w.ShapermintClubLabel,exports.ShapermintClubMobileLabel=E.ShapermintClubMobileLabel,exports.ShapermintLogo=T.ShapermintLogo,exports.ShmClub=U.ShmClub,exports.ShopNow=f.ShopNow,exports.SignForm=P.SignForm,exports.SixtyDaysTSD=H.SixtyDaysTSD,exports.TheBodCon=I.TheBodCon,exports.TheSpaDr=N.TheSpaDr;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./AlarmOn.js"),r=require("./ArrowOutward.js"),o=require("./BodConLabel.js"),s=require("./BodConMobileLabel.js"),i=require("./CallUs.js"),t=require("./Chat.js"),a=require("./Coupons.js"),p=require("./Email.js"),l=require("./ExpressShipping.js"),u=require("./FitGuarantee.js"),n=require("./FitPredictor.js"),x=require("./FlagAU.js"),C=require("./FlagCA.js"),S=require("./FlagGB.js"),h=require("./FlagNZ.js"),j=require("./FlagSG.js"),q=require("./FlagUS.js"),g=require("./FreeExchange.js"),b=require("./GetDiscount.js"),F=require("./HasselFreeReturns.js"),m=require("./HelpCenter.js"),c=require("./Loading.js"),d=require("./McAfee.js"),L=require("./Megafone.js"),A=require("./Play.js"),B=require("./QrCode.js"),y=require("./QuestionWithCircle.js"),M=require("./RevelBeauty.js"),D=require("./Shapermint.js"),G=require("./ShapermintClubIcon.js"),w=require("./ShapermintClubIcon2.js"),E=require("./ShapermintClubLabel.js"),T=require("./ShapermintClubMobileLabel.js"),U=require("./ShapermintLogo.js"),f=require("./ShmClub.js"),O=require("./ShopNow.js"),P=require("./SignForm.js"),H=require("./SixtyDaysTSD.js"),I=require("./TheBodCon.js"),N=require("./TheSpaDr.js");exports.AlarmOn=e.AlarmOn,exports.ArrowOutward=r.ArrowOutward,exports.BodConLabel=o.BodConLabel,exports.BodConMobileLabel=s.BodConMobileLabel,exports.CallUs=i.CallUs,exports.Chat=t.Chat,exports.Coupons=a.Coupons,exports.Email=p.Email,exports.ExpressShipping=l.ExpressShipping,exports.FitGuarantee=u.FitGuarantee,exports.FitPredictor=n.FitPredictor,exports.FlagAU=x.FlagAU,exports.FlagCA=C.FlagCA,exports.FlagGB=S.FlagGB,exports.FlagNZ=h.FlagNZ,exports.FlagSG=j.FlagSG,exports.FlagUS=q.FlagUS,exports.FreeExchange=g.FreeExchange,exports.GetDiscount=b.GetDiscount,exports.HasselFreeReturns=F.HasselFreeReturns,exports.HelpCenter=m.HelpCenter,exports.Loading=c.Loading,exports.McAfee=d.McAfee,exports.Megafone=L.Megafone,exports.Play=A.Play,exports.QrCode=B.QrCode,exports.QuestionWithCircle=y.QuestionWithCircle,exports.RevelBeauty=M.RevelBeauty,exports.Shapermint=D.Shapermint,exports.ShapermintClubIcon=G.ShapermintClubIcon,exports.ShapermintClubIcon2=w.ShapermintClubIcon2,exports.ShapermintClubLabel=E.ShapermintClubLabel,exports.ShapermintClubMobileLabel=T.ShapermintClubMobileLabel,exports.ShapermintLogo=U.ShapermintLogo,exports.ShmClub=f.ShmClub,exports.ShopNow=O.ShopNow,exports.SignForm=P.SignForm,exports.SixtyDaysTSD=H.SixtyDaysTSD,exports.TheBodCon=I.TheBodCon,exports.TheSpaDr=N.TheSpaDr;
2
2
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Trafilea's Design System",
4
4
  "author": "Trafilea",
5
5
  "repository": "https://github.com/trafilea/afrodita-components",
6
- "version": "7.1.4",
6
+ "version": "7.1.6",
7
7
  "private": false,
8
8
  "main": "build/lib/index.js",
9
9
  "style": "build/es/index.css",