@trafilea/afrodita-components 7.13.0 → 7.13.1
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.
- package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/ProductGalleryMobile.js +1 -1
- package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ImageProductSlide.js +2 -0
- package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ImageProductSlide.js.map +1 -0
- package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ImageProductSlide.styled.js +1 -1
- package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/VideoDisplay.js +2 -0
- package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/VideoDisplay.js.map +1 -0
- package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ZoomModal.js +2 -0
- package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ZoomModal.js.map +1 -0
- package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ZoomModalV2.js +2 -0
- package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ZoomModalV2.js.map +1 -0
- package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ZoomModalV2.styled.js +1 -1
- package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/zoomModal.styled.js +1 -1
- package/build/es/index.js +1 -1
- package/build/index.d.ts +27 -9
- package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/ProductGalleryMobile.js +1 -1
- package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ImageProductSlide.js +2 -0
- package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ImageProductSlide.js.map +1 -0
- package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ImageProductSlide.styled.js +1 -1
- package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/VideoDisplay.js +2 -0
- package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/VideoDisplay.js.map +1 -0
- package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ZoomModal.js +2 -0
- package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ZoomModal.js.map +1 -0
- package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ZoomModalV2.js +2 -0
- package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ZoomModalV2.js.map +1 -0
- package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ZoomModalV2.styled.js +1 -1
- package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/zoomModal.styled.js +1 -1
- package/build/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__makeTemplateObject as
|
|
1
|
+
import{__makeTemplateObject as o,__assign as e}from"tslib";import{jsx as i}from"react/jsx-runtime";import t from"@emotion/styled";import{useState as d}from"react";import n from"./components/ImageProductSlide.js";var r,a=t.div(r||(r=o(["\n display: flex;\n flex-direction: column;\n height: fit-content;\n position: relative;\n max-width: 450px;\n"],["\n display: flex;\n flex-direction: column;\n height: fit-content;\n position: relative;\n max-width: 450px;\n"]))),l=function(o){var t=o.images,r=o.customClick,l=o.topTag,s=o.bottomTag,m=o.productImageDataTestId,v=o.borderRadiusVariant,p=void 0!==v&&v,c=o.selectedValue,u=o.hasToPreserveOrder,f=void 0!==u&&u,g=o.itemsOnViewport,h=void 0===g?1:g,x=o.videoAutoplay,V=void 0!==x&&x,b=o.hideVideoControls,y=void 0!==b&&b,T=o.videoMuted,C=void 0===T||T,w=o.videoLoop,I=void 0===w||w,O=o.version,j=void 0===O?"v1":O,k=d(0),A=k[0],L=k[1],M=f?null==t?void 0:t[A]:c;return i(a,e({"data-testid":"product-gallery-mobile-v1"},{children:i(n,{contents:t,customClick:r,topTag:l,bottomTag:s,testId:m,borderRadiusVariant:p,selectedValue:M,onChange:function(o){return L(o)},itemsOnViewport:h,videoAutoplay:V,hideVideoControls:y,videoMuted:C,videoLoop:I,version:j},void 0)}),void 0)};export{l as ProductGalleryMobileV7};
|
|
2
2
|
//# sourceMappingURL=ProductGalleryMobile.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as t}from"tslib";import{jsxs as r,Fragment as o,jsx as e}from"react/jsx-runtime";import i from"@ant-design/react-slick";import{useRef as s,useState as l,useCallback as a,useEffect as m}from"react";import{Image as d}from"../../../../atoms/Image/Image.js";import p from"../../../../cta/primary/ButtonPrimary.js";import"@emotion/react/jsx-runtime";import"../../../../../core/theme/Theme.js";import"../../../../../types/enums.js";import"../../../../cta/styled.js";import{modalEvent as n}from"../../../../modal/Modal.js";import c from"../../../../../hooks/useDeviceType/useDeviceType.js";import{usePreventVerticalScroll as j}from"../../../../../hooks/usePreventVerticalScroll/usePreventVerticalScroll.js";import{Icon as u}from"../../../../icons/index.js";import"../../../../PackSelectorV2/PackSelectoV2.js";import"../../../../absorbency-level/AbsorbencyLevel.js";import"../../../../accordion-options/AccordionOptions.js";import"../../../../accordion/Accordion.js";import"../../../../../utils/constants/offerAtCart.js";import"../../../../../utils/media.js";import"../../../../../utils/mock-content/CancellationFlowAccordion.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"../../../../pricing/discount/styled.js";import"../../../../pricing/styles.js";import"../../../../atoms/PriceLabel/PriceLabel.js";import"../../../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js";import"../../../../atoms/HorizontalDivider/HorizontalDivider.js";import{Icon as y}from"../../../../atoms/Icon/Icon.js";import"../../../../atoms/PriceLabelV2/PriceLabelV2.js";import"../../../../atoms/Toggle/toggle.styled.js";import"../../../../pricing/priceLabelV3/PriceLabelV3.js";import"../../../../pricing/priceLabelV5/PriceLabelV5.styled.js";import"../../../../pricing/priceLabelV6/PriceLabelV6.styled.js";import"../../../../shared/card/Card.js";import"../../../../bundle/minimalistic/styled.js";import"../../../../text/Text.js";import"../../../../bundle/motivator/styled.js";import"../../../../bundle/simple/Simple.js";import"../../../../buynowpaylater/BuyNowPayLater.js";import"../../../../offer-banner/OfferBanner.js";import"../../../../cartProductItem/CloseIcon/CloseButton.js";import"../../../../cartProductItem/Description/Description.js";import"../../../../cartProductItem/Promo/Promo.js";import"../../../../cartProductItem/Title/Title.js";import"../../../../cartProductItem/TrashIcon/styled.js";import"../../../../checkbox/Checkbox.js";import"../../../../collection/grid/WithProductGrid.js";import"../../../../SkeletonBox/SkeletonBox.js";import"../../../../club-price-label/ClubPriceLabel.js";import"../../../../strength-bars/StrengthBars.js";import"../../../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js";import"../../../../rating/starList/StarList.js";import"../../../../rating/styles.js";import"../../../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js";import"../../../../molecules/CouponCard/styled.js";import"@emotion/react";import"../../../../molecules/ArrowTip/ArrowTip.styled.js";import"../../../../molecules/BenefitsList/styled.js";import"../../../../timer/styled.js";import"../../../../molecules/HurryUp/styled.js";import"../../../../molecules/Spinner/styled.js";import"../../../../molecules/Video/components/styled.js";import"../../../../molecules/Video/styled.js";import"../../../../iconsWithTitle/index.js";import"../../../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js";import"../../../../molecules/LikeButton/styled.js";import"../../../../icon-button/IconButton.js";import"../../../../molecules/ScarcityTag/ScarcityTag.styled.js";import"../../../../pricing/priceLabelV4/PriceLabelV4.js";import"../../../../collection/product/mobile/styled.js";import"../../../../tag/variants/product/styled.js";import"../../../../collection/product/truekind/styled.js";import"../../../../color/ColorRadioGroup.js";import"../../../../color/selector/PatternSelector.js";import"../../../../color/styles/ColorPickerwithTootip.styled.js";import"../../../../cross-sell/Checkbox/CrossSellCheckbox.js";import"../../../../delivery-details/DeliveryDetails.js";import"../../../../delivery-details/Note/Note.js";import"../../../../drawer/style.js";import"../../../../dropdown-list-icons/Styled.js";import"../../../../dropdown/size-dropdown/Styled.js";import"../../../../dropdown/variants/dialog/DropdownDialog.js";import"../../../../dropdown/base/BaseDropdown.js";import"@headlessui/react";import"../../../../input/base/Error.js";import"../../../../shared/select/BaseSelect.js";import"../../../../dropdown/variants/smart/styled.js";import"../../../../filtering/Accordion.js";import"../../../../filtering/FiltersStyled.js";import"../../../../filtering/Tags/Tags.js";import"../../../../fit-guarantee/FitGuarantee.js";import"../../../../fit/FitPredictor.js";import"../../../../slider/ArrowButton.js";import"../../../../slider/StyledSlider.js";import"../../../../gallery/components/ImageSmallPreview/styled.js";import"../../../../gallery/components/ImagePreviewList/styled.js";import"../../../../gallery/components/ImageProductSlide/styled.js";import"../../../../gallery/styled.js";import"../../../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js";import"../../../../image-card/ImageCard.js";import"../../../../input/label/Label.js";import"../../../../input/base/Styled.js";import"../../../../input/custom/Custom.js";import"../../../../input/basePlusButton/BasePlusButton.js";import"../../../../input/basePlusIcon/BasePlusIcon.js";import"../../../../motivator-progress-bar/MotivatorProgressBar.js";import"../../../../order-bar/OrderBar.js";import"../../../../packs/selector/PackSelector.js";import"../../../../pagination/styles.js";import"../../../../payment-methods/PaymentMethod.js";import"../../../../product/order/item/SimpleOrderItem.js";import"../../../../progress-bar/ProgressBar.js";import"../../../../quantityPicker/styled.js";import"../../../../radio/RadioPrimary/radioPrimary.js";import"../../../../radio/clubRadioInput/clubRadio.js";import"../../../../review-detail/ReviewDetail.js";import"../../../../review/Review.js";import"../../../../reviews-header/ReviewsHeader.js";import"../../../../scroll-to-top/ScrollToTop.js";import"../../../../search-bar/components/ClearButton/styled.js";import"../../../../search-bar/components/Footer/styled.js";import"../../../../search-bar/components/ProductItem/styled.js";import"../../../../search-bar/components/ResultsPanel/styled.js";import"../../../../search-bar/components/SearchControl/styled.js";import"../../../../search-bar/styled.js";import"../../../../search-navigation/styled.js";import"react-dom";import"../../../../short-banner/ShortBanner.js";import"../../../../size-chart/styled.js";import"../../../../size-table/SizeTable.js";import"../../../../size/guide/SizeFitGuide.js";import"../../../../size/selector/styled.js";import"../../../../tabs/Tab.js";import"../../../../tabs/Tabs.js";import"../../../../tag/Tag.js";import"../../../../textWithImage/index.js";import"../../../../toast/Toast.js";import"../../../../totals/total/styled.js";import"../../../../totals/subtotal/Subtotal.js";import"../../../../tracking-progress-v2/TrackingProgressV2.js";import"../../../../tracking-progress/TrackingProgress.js";import"../../../AutoshipOfferCard/AutoshipOfferCardItem.styled.js";import"../../../AutoshipOfferCardCta/AutoshipOfferCardItem.styled.js";import"../../../AutoshipPdpCard/AutoshipPdpCard.styled.js";import"../../../BasicAccordion/BasicAccordion.js";import"../../../CartItemCard/CartItem.js";import"../../../ClubOfferSelector/styled.js";import"../../../ClubOfferSelector2/styled.js";import"../../../JoinClubCard/joinClubCard.js";import"../../../OfferAtCart/styled.js";import"../../../OfferAtCartV2/styled.js";import"../../../OfferAtCartV3/styled.js";import"../../../OfferAtCartV4/styled.js";import"../../../OfferAtPDP/styled.js";import"../../../OfferAtPDP/types.js";import"../../../ProductCard/ProductCardV1/ProductCard.js";import"../../../ProductCard/ProductCardV2/styled.js";import"../../../ProductCard/ProductCardV3/styled.js";import"../../ProductGalleryMobileV1/ProductGalleryMobile.js";import"../../ProductGalleryMobileV2/ProductGalleryMobileV2.js";import"../../ProductGalleryMobileV3/ProductGalleryMobileV3.js";import{stopVideoCommand as b,playVideoCommand as f}from"../../utils/sendCommandToIframe.js";import"../../ProductGalleryMobileV4/ContentGallery/styled.js";import"react-inner-image-zoom";import"../../ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js";import"../../ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js";import"../../ProductGalleryMobileV4/GalleryDetailed/styled.js";import"../../ProductGalleryMobileV5/styled.js";import"../../ProductGalleryMobileV6/ColorVariantsGallery/styled.js";import"../../ProductGalleryMobileV6/MainGallery/styled.js";import"../../ProductGalleryMobileV6/styled.js";import"../ProductGalleryMobile.js";import"../../../SizeCharTable/SizeChartTableV2/styled.js";import"../../../SizeCharTable/SizeChartTableV3/styled.js";import"../../../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js";import"../../../SubscriptionPlanSelector/styled.js";import"../../../TwoCtasAtCart/Greeting.styled.js";import"../../../TwoCtasAtCart/Card.styled.js";import{Container as h,NavButtonContainer as g,Button as P,TopTagContainer as v,BottomTagContainer as C,ZoomButtonContainer as S,ZoomButton as V}from"./ImageProductSlide.styled.js";import{VideoDisplay as T}from"./VideoDisplay.js";import{ZoomModal as w}from"./ZoomModal.js";import{ZoomModalV2 as I}from"./ZoomModalV2.js";var A={dots:!0,infinite:!1,speed:200,slidesToShow:1,slidesToScroll:1,initialSlide:0},k=function(k){var B=k.contents,G=k.customClick,L=void 0!==G&&G,M=k.topTag,x=k.bottomTag,z=k.testId,O=k.borderRadiusVariant,D=k.selectedValue,R=k.onChange,F=k.version,W=s(null),H=s(null),N=l(!1),Z=N[0],q=N[1],E=l(0),J=E[0],U=E[1],K="mobile"===c(),Q="zoom-modal-".concat(z||"default");j(H);var X=a((function(t){var r;null===(r=W.current)||void 0===r||r.slickGoTo(t)}),[W]),Y=a((function(){n("".concat(Q,"v1"===F?"-v1":"-v2"),{type:"open"})}),[Q,F]);return m((function(){var t;if(D){var r=B.findIndex((function(t){return t.url===D.url}));-1!==r&&(null===(t=W.current)||void 0===t||t.slickGoTo(r))}}),[B,D]),r(o,{children:[L&&e("div",t({style:{display:"flex",marginBottom:"20px",gap:"10px"}},{children:B.map((function(t,r){return e(p,{onClick:function(){return X(r)},text:String(r+1),inline:!0},t.key||"button-".concat(r))}))}),void 0),e(h,t({"data-testid":z,borderRadiusVariant:O,ref:H},{children:e(i,t({afterChange:function(t){var r,o=B[t];(null===(r=null==o?void 0:o.url)||void 0===r?void 0:r.includes("autoplay=1"))?f():b(),U(t),null==R||R(t)}},A,{nextArrow:e(g,{children:e(P,{children:e(u.Arrows.ChevronRight,{height:2.125,width:1.25,fill:"#292929"},void 0)},void 0)},void 0),prevArrow:e(g,{children:e(P,{children:e(u.Arrows.ChevronLeft,{height:2.125,width:1.25,fill:"#292929"},void 0)},void 0)},void 0),ref:W,vertical:Z,rows:1},{children:B.map((function(i){var s,l=null==i?void 0:i.url,a=null!==(s=null==i?void 0:i.isVideo)&&void 0!==s&&s,m=(i.alt,"100%"),p="510px";return e("div",{children:a?e(T,{content:i},i.key):r(o,{children:[e(d,{src:l,height:p,alt:i.alt,width:m},void 0),M&&e(v,t({borderRadiusVariant:O,"data-testid":"topTag"},{children:M}),void 0),e(C,t({onClick:function(){return q(!0)},"data-testid":"bottomTag"},{children:x}),void 0),e(S,t({isMobile:K},{children:e(V,t({onClick:Y,"data-testid":"zoom-button","aria-label":"Zoom image"},{children:e(y,{name:"pdp/zoom",height:1.5,width:1.5},void 0)}),void 0)}),void 0)]},void 0)},i.key)}))}),void 0)}),void 0),"v1"===F?e(w,{modalId:"".concat(Q,"-v1"),contents:B,initialSlide:J},void 0):e(I,{modalId:"".concat(Q,"-v2"),contents:B,initialSlide:J},void 0)]},void 0)};export{k as default};
|
|
2
|
+
//# sourceMappingURL=ImageProductSlide.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageProductSlide.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__makeTemplateObject as n}from"tslib";import r from"@emotion/styled";var o,t,e,i,a,d,s
|
|
1
|
+
import{__makeTemplateObject as n}from"tslib";import r from"@emotion/styled";var o,t,e,i,a,d,s,b=r.div(o||(o=n(["\n ","\n position: relative;\n max-height: 524px;\n overflow: hidden;\n & .slick-dots li.slick-active button:before {\n background-color: ",";\n }\n"],["\n ","\n position: relative;\n max-height: 524px;\n overflow: hidden;\n & .slick-dots li.slick-active button:before {\n background-color: ",";\n }\n"])),(function(n){return n.borderRadiusVariant&&"\n border-radius: 40px;\n "}),(function(n){return n.theme.component.slideNavigation.slideDots.selectedDotColor})),p=r.div(t||(t=n(["\n position: absolute;\n left: ",";\n top: ",";\n"],["\n position: absolute;\n left: ",";\n top: ",";\n"])),(function(n){return n.borderRadiusVariant?"13px":"0"}),(function(n){return n.borderRadiusVariant?"11px":"0"})),u=r.div(e||(e=n(["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"],["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"]))),c=r.div(i||(i=n(["\n position: absolute;\n ","\n right: 0.5rem;\n z-index: 10;\n"],["\n position: absolute;\n ","\n right: 0.5rem;\n z-index: 10;\n"])),(function(n){return n.isMobile?"bottom: 3rem;":"top: 1rem;"})),l=r.button(a||(a=n(["\n background: rgba(41, 41, 41, 0.5);\n border: none;\n border-radius: 50%;\n padding: 0.75rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n backdrop-filter: blur(4px);\n\n &:hover {\n background: rgba(0, 0, 0, 0.8);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"],["\n background: rgba(41, 41, 41, 0.5);\n border: none;\n border-radius: 50%;\n padding: 0.75rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n backdrop-filter: blur(4px);\n\n &:hover {\n background: rgba(0, 0, 0, 0.8);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"]))),m=r.div(d||(d=n(["\n height: 40px;\n width: 40px;\n"],["\n height: 40px;\n width: 40px;\n"]))),g=r.button(s||(s=n(["\n background: transparent;\n border: none;\n padding: 0.188rem 0.625rem;\n z-index: 5;\n height: 40px !important;\n cursor: pointer;\n"],["\n background: transparent;\n border: none;\n padding: 0.188rem 0.625rem;\n z-index: 5;\n height: 40px !important;\n cursor: pointer;\n"])));export{u as BottomTagContainer,g as Button,b as Container,m as NavButtonContainer,p as TopTagContainer,l as ZoomButton,c as ZoomButtonContainer};
|
|
2
2
|
//# sourceMappingURL=ImageProductSlide.styled.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import"../../../../PackSelectorV2/PackSelectoV2.js";import"../../../../absorbency-level/AbsorbencyLevel.js";import"../../../../accordion-options/AccordionOptions.js";import"../../../../accordion/Accordion.js";import"tslib";import"react";import"../../../../../types/enums.js";import"../../../../../core/theme/Theme.js";import"../../../../../utils/constants/offerAtCart.js";import"../../../../../utils/media.js";import"../../../../../utils/mock-content/CancellationFlowAccordion.js";import"../../../../dropdown/variants/simple/SimpleDropdown.js";import"../../../../pricing/clubOffer/ClubOfferTag.js";import"../../../../pricing/discount/styled.js";import"../../../../pricing/styles.js";import"../../../../tooltip/Styled.js";import"../../../../atoms/PriceLabel/PriceLabel.js";import"../../../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js";import"../../../../atoms/HorizontalDivider/HorizontalDivider.js";import"../../../../atoms/Icon/Icon.js";import"../../../../atoms/Image/styled.js";import"../../../../atoms/PriceLabelV2/PriceLabelV2.js";import"../../../../atoms/Toggle/toggle.styled.js";import"../../../../radio/input/styles.js";import"../../../../autoship/styled.js";import"../../../../autoshipV2/styled.js";import"../../../../before-after/BeforeAfter.js";import"../../../../pricing/priceLabelV3/PriceLabelV3.js";import"../../../../pricing/priceLabelV5/PriceLabelV5.styled.js";import"../../../../pricing/priceLabelV6/PriceLabelV6.styled.js";import"../../../../shared/card/Card.js";import"../../../../bundle/minimalistic/styled.js";import"../../../../text/Text.js";import"../../../../bundle/motivator/styled.js";import"../../../../bundle/simple/Simple.js";import"../../../../buynowpaylater/BuyNowPayLater.js";import"../../../../offer-banner/OfferBanner.js";import"../../../../cartProductItem/CloseIcon/CloseButton.js";import"../../../../cartProductItem/Description/Description.js";import"../../../../cartProductItem/Promo/Promo.js";import"../../../../cartProductItem/Title/Title.js";import"../../../../cartProductItem/TrashIcon/styled.js";import"../../../../checkbox/Checkbox.js";import"../../../../collection/grid/WithProductGrid.js";import"@emotion/react/jsx-runtime";import"../../../../SkeletonBox/SkeletonBox.js";import"../../../../club-price-label/ClubPriceLabel.js";import"../../../../strength-bars/StrengthBars.js";import"../../../../pricing/priceLabelV4/PriceLabelV4.js";import"../../../../rating/starList/StarList.js";import"../../../../rating/styles.js";import"../../../../collection/product/mobile/styled.js";import"../../../../icon-button/IconButton.js";import"../../../../tag/variants/product/styled.js";import"../../../../collection/product/truekind/styled.js";import"../../../../color/ColorRadioGroup.js";import"../../../../color/selector/PatternSelector.js";import"../../../../color/styles/ColorPickerwithTootip.styled.js";import"../../../../cross-sell/Checkbox/CrossSellCheckbox.js";import"../../../../cta/styled.js";import"../../../../delivery-details/DeliveryDetails.js";import"../../../../delivery-details/Note/Note.js";import"../../../../drawer/style.js";import"../../../../dropdown-list-icons/Styled.js";import"../../../../dropdown/size-dropdown/Styled.js";import"../../../../dropdown/variants/dialog/DropdownDialog.js";import"../../../../dropdown/base/BaseDropdown.js";import"@headlessui/react";import"../../../../input/base/Error.js";import"../../../../shared/select/BaseSelect.js";import"../../../../dropdown/variants/smart/styled.js";import"../../../../filtering/Accordion.js";import"../../../../filtering/FiltersStyled.js";import"../../../../filtering/Tags/Tags.js";import"../../../../fit-guarantee/FitGuarantee.js";import"../../../../fit/FitPredictor.js";import{Video as r}from"../../../../molecules/Video/Video.js";import"../../../../slider/ArrowButton.js";import"../../../../slider/StyledSlider.js";import"../../../../gallery/components/ImageSmallPreview/styled.js";import"../../../../gallery/components/ImagePreviewList/styled.js";import"../../../../gallery/components/ImageProductSlide/styled.js";import"../../../../gallery/styled.js";import"../../../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js";import"../../../../iconsWithTitle/index.js";import"../../../../image-card/ImageCard.js";import"../../../../input/label/Label.js";import"../../../../input/base/Styled.js";import"../../../../input/custom/Custom.js";import"../../../../input/basePlusButton/BasePlusButton.js";import"../../../../input/basePlusIcon/BasePlusIcon.js";import"../../../../modal/Modal.js";import"../../../../motivator-progress-bar/MotivatorProgressBar.js";import"../../../../order-bar/OrderBar.js";import"../../../../packs/selector/PackSelector.js";import"../../../../pagination/styles.js";import"../../../../payment-methods/PaymentMethod.js";import"../../../../product/order/item/SimpleOrderItem.js";import"../../../../progress-bar/ProgressBar.js";import"../../../../quantityPicker/styled.js";import"../../../../radio/RadioPrimary/radioPrimary.js";import"../../../../radio/clubRadioInput/clubRadio.js";import"../../../../review-detail/ReviewDetail.js";import"../../../../review/Review.js";import"../../../../reviews-header/ReviewsHeader.js";import"../../../../scroll-to-top/ScrollToTop.js";import"../../../../search-bar/components/ClearButton/styled.js";import"../../../../search-bar/components/Footer/styled.js";import"../../../../search-bar/components/ProductItem/styled.js";import"../../../../search-bar/components/ResultsPanel/styled.js";import"../../../../search-bar/components/SearchControl/styled.js";import"../../../../search-bar/styled.js";import"../../../../search-navigation/styled.js";import"react-dom";import"../../../../short-banner/ShortBanner.js";import"../../../../size-chart/styled.js";import"../../../../size-table/SizeTable.js";import"../../../../size/guide/SizeFitGuide.js";import"../../../../size/selector/styled.js";import"../../../../tabs/Tab.js";import"../../../../tabs/Tabs.js";import"../../../../tag/Tag.js";import"@emotion/react";import"../../../../textWithImage/index.js";import"../../../../timer/styled.js";import"../../../../toast/Toast.js";import"../../../../totals/total/styled.js";import"../../../../totals/subtotal/Subtotal.js";import"../../../../tracking-progress-v2/TrackingProgressV2.js";import"../../../../tracking-progress/TrackingProgress.js";import"../../../AutoshipOfferCard/AutoshipOfferCardItem.styled.js";import"../../../AutoshipOfferCardCta/AutoshipOfferCardItem.styled.js";import"../../../AutoshipPdpCard/AutoshipPdpCard.styled.js";import"../../../BasicAccordion/BasicAccordion.js";import"../../../CartItemCard/CartItem.js";import"../../../ClubOfferSelector/styled.js";import"../../../ClubOfferSelector2/styled.js";import"../../../JoinClubCard/joinClubCard.js";import"../../../OfferAtCart/styled.js";import"../../../OfferAtCartV2/styled.js";import"../../../OfferAtCartV3/styled.js";import"../../../OfferAtCartV4/styled.js";import"../../../OfferAtPDP/styled.js";import"../../../OfferAtPDP/types.js";import"../../../ProductCard/ProductCardV1/ProductCard.js";import"../../../ProductCard/ProductCardV2/styled.js";import"../../../ProductCard/ProductCardV3/styled.js";import"../../ProductGalleryMobileV1/ProductGalleryMobile.js";import"../../ProductGalleryMobileV2/ProductGalleryMobileV2.js";import"../../ProductGalleryMobileV3/ProductGalleryMobileV3.js";import"@ant-design/react-slick";import"../../ProductGalleryMobileV4/ContentGallery/styled.js";import"react-inner-image-zoom";import"../../ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js";import"../../ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js";import"../../ProductGalleryMobileV4/GalleryDetailed/styled.js";import"../../ProductGalleryMobileV5/styled.js";import"../../ProductGalleryMobileV6/ColorVariantsGallery/styled.js";import"../../ProductGalleryMobileV6/MainGallery/styled.js";import"../../ProductGalleryMobileV6/styled.js";import"../ProductGalleryMobile.js";import"../../../SizeCharTable/SizeChartTableV2/styled.js";import"../../../SizeCharTable/SizeChartTableV3/styled.js";import"../../../../molecules/ArrowTip/ArrowTip.styled.js";import"../../../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js";import"../../../SubscriptionPlanSelector/styled.js";import"../../../TwoCtasAtCart/Greeting.styled.js";import"../../../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"../../../../molecules/LikeButton/styled.js";import"../../../../molecules/ScarcityTag/ScarcityTag.styled.js";var o=function(o){var e=o.content,i=o.videoAutoplay,s=void 0===i||i,l=o.videoMuted,a=void 0===l||l,m=o.videoLoop,p=void 0===m||m,d=o.hideVideoControls,c=void 0===d||d;return t(r,{source:e.url,thumbnail:null==e?void 0:e.thumbnailUrl,autoPlay:s,muted:a,loop:p,withProgressBar:!c,style:c?{pointerEvents:"none"}:void 0,preload:"auto"},e.key)};export{o as VideoDisplay};
|
|
2
|
+
//# sourceMappingURL=VideoDisplay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoDisplay.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as i}from"tslib";import{jsx as o,jsxs as e}from"react/jsx-runtime";import r from"@ant-design/react-slick";import{useRef as t,useCallback as n,useEffect as l}from"react";import{useModal as d}from"../../../../modal/Modal.js";import c from"../../../../../hooks/useDeviceType/useDeviceType.js";import"../../../../../types/enums.js";import"../../../../../core/theme/Theme.js";import{Icon as s}from"../../../../icons/index.js";import{VideoDisplay as m}from"./VideoDisplay.js";import{ZoomModalWrapper as h,ZoomModalContainer as a,ZoomModalHeader as v,ZoomModalTitle as u,CloseButton as f,VerticalScrollContainer as p,ZoomImage as k,DesktopSliderContainer as w,SliderWrapper as g,NavigationButton as j}from"./zoomModal.styled.js";var y=function(y){var S=y.modalId,T=y.contents,x=y.initialSlide,C=void 0===x?0:x,b=y.title,A=void 0===b?"Zoom":b,D=d(S),M=D.opened,V=D.close,z="mobile"===c(),L=t(null),P=n((function(){V()}),[V]),F=n((function(){L.current&&L.current.slickNext()}),[]),G=n((function(){L.current&&L.current.slickPrev()}),[]);l((function(){M&&L.current&&L.current.slickGoTo(C)}),[M,C]);var I=function(i){return o(k,{src:i.thumbnailUrl||i.url,alt:i.alt,width:"100%",height:"510px"},i.key)};return o(h,i({id:S,maxFullScreen:!0,dismissable:!0},{children:e(a,{children:[e(v,{children:[o(u,{children:A},void 0),o(f,i({onClick:P,"data-testid":"zoom-modal-close"},{children:o(s.Actions.Close,{height:1,width:1,fill:"#666"},void 0)}),void 0)]},void 0),z?o(p,{children:o(r,i({verticalSwiping:!0,vertical:!0,infinite:!0,arrows:!1,dots:!1,slidesToShow:2,slidesToScroll:2,initialSlide:C,centerMode:!0,centerPadding:"16px"},{children:T.map((function(i){return(null==i?void 0:i.isVideo)?o(m,{content:i},i.key):I(i)}))}),void 0)},void 0):o(w,{children:e(g,{children:[o(r,i({ref:L,slidesToShow:5,slidesToScroll:5,infinite:!1,dots:!0,arrows:!1},{children:T.map((function(i){return(null==i?void 0:i.isVideo)?o(m,{content:i},i.key):I(i)}))}),void 0),o(j,i({isLeft:!0,onClick:G},{children:o(s.Arrows.ChevronLeft,{height:1,width:1,fill:"#292929"},void 0)}),void 0),o(j,i({onClick:F},{children:o(s.Arrows.ChevronRight,{height:1,width:1,fill:"#292929"},void 0)}),void 0)]},void 0)},void 0)]},void 0)}),void 0)};export{y as ZoomModal};
|
|
2
|
+
//# sourceMappingURL=ZoomModal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoomModal.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as t}from"tslib";import{jsx as r,jsxs as o,Fragment as e}from"react/jsx-runtime";import i from"@ant-design/react-slick";import{useRef as s,useState as l,useCallback as a,useEffect as d}from"react";import{TransformWrapper as m,TransformComponent as p}from"react-zoom-pan-pinch";import{useModal as n}from"../../../../modal/Modal.js";import c from"../../../../../hooks/useDeviceType/useDeviceType.js";import"../../../../../types/enums.js";import"../../../../../core/theme/Theme.js";import{Image as j}from"../../../../atoms/Image/Image.js";import{Icon as u}from"../../../../icons/index.js";import"../../../../PackSelectorV2/PackSelectoV2.js";import"../../../../absorbency-level/AbsorbencyLevel.js";import"../../../../accordion-options/AccordionOptions.js";import"../../../../accordion/Accordion.js";import"../../../../../utils/constants/offerAtCart.js";import"../../../../../utils/media.js";import"../../../../../utils/mock-content/CancellationFlowAccordion.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"../../../../pricing/discount/styled.js";import"../../../../pricing/styles.js";import"../../../../atoms/PriceLabel/PriceLabel.js";import"../../../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js";import"../../../../atoms/HorizontalDivider/HorizontalDivider.js";import{Icon as y}from"../../../../atoms/Icon/Icon.js";import"../../../../atoms/PriceLabelV2/PriceLabelV2.js";import"../../../../atoms/Toggle/toggle.styled.js";import"../../../../pricing/priceLabelV3/PriceLabelV3.js";import"../../../../pricing/priceLabelV5/PriceLabelV5.styled.js";import"../../../../pricing/priceLabelV6/PriceLabelV6.styled.js";import"../../../../shared/card/Card.js";import"../../../../bundle/minimalistic/styled.js";import"../../../../text/Text.js";import"../../../../bundle/motivator/styled.js";import"../../../../bundle/simple/Simple.js";import"../../../../buynowpaylater/BuyNowPayLater.js";import"../../../../offer-banner/OfferBanner.js";import"../../../../cartProductItem/CloseIcon/CloseButton.js";import"../../../../cartProductItem/Description/Description.js";import"../../../../cartProductItem/Promo/Promo.js";import"../../../../cartProductItem/Title/Title.js";import"../../../../cartProductItem/TrashIcon/styled.js";import"../../../../checkbox/Checkbox.js";import"../../../../collection/grid/WithProductGrid.js";import"@emotion/react/jsx-runtime";import"../../../../SkeletonBox/SkeletonBox.js";import"../../../../club-price-label/ClubPriceLabel.js";import"../../../../strength-bars/StrengthBars.js";import"../../../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js";import"../../../../rating/starList/StarList.js";import"../../../../rating/styles.js";import"../../../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js";import"../../../../molecules/CouponCard/styled.js";import"@emotion/react";import"../../../../molecules/ArrowTip/ArrowTip.styled.js";import"../../../../molecules/BenefitsList/styled.js";import"../../../../timer/styled.js";import"../../../../molecules/HurryUp/styled.js";import"../../../../molecules/Spinner/styled.js";import"../../../../molecules/Video/components/styled.js";import"../../../../molecules/Video/styled.js";import"../../../../iconsWithTitle/index.js";import"../../../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js";import"../../../../molecules/LikeButton/styled.js";import"../../../../icon-button/IconButton.js";import"../../../../molecules/ScarcityTag/ScarcityTag.styled.js";import"../../../../pricing/priceLabelV4/PriceLabelV4.js";import"../../../../collection/product/mobile/styled.js";import"../../../../tag/variants/product/styled.js";import"../../../../collection/product/truekind/styled.js";import"../../../../color/ColorRadioGroup.js";import"../../../../color/selector/PatternSelector.js";import"../../../../color/styles/ColorPickerwithTootip.styled.js";import"../../../../cross-sell/Checkbox/CrossSellCheckbox.js";import"../../../../cta/styled.js";import"../../../../delivery-details/DeliveryDetails.js";import"../../../../delivery-details/Note/Note.js";import"../../../../drawer/style.js";import"../../../../dropdown-list-icons/Styled.js";import"../../../../dropdown/size-dropdown/Styled.js";import"../../../../dropdown/variants/dialog/DropdownDialog.js";import"../../../../dropdown/base/BaseDropdown.js";import"@headlessui/react";import"../../../../input/base/Error.js";import"../../../../shared/select/BaseSelect.js";import"../../../../dropdown/variants/smart/styled.js";import"../../../../filtering/Accordion.js";import"../../../../filtering/FiltersStyled.js";import"../../../../filtering/Tags/Tags.js";import"../../../../fit-guarantee/FitGuarantee.js";import"../../../../fit/FitPredictor.js";import"../../../../slider/ArrowButton.js";import"../../../../slider/StyledSlider.js";import"../../../../gallery/components/ImageSmallPreview/styled.js";import"../../../../gallery/components/ImagePreviewList/styled.js";import"../../../../gallery/components/ImageProductSlide/styled.js";import"../../../../gallery/styled.js";import"../../../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js";import"../../../../image-card/ImageCard.js";import"../../../../input/label/Label.js";import"../../../../input/base/Styled.js";import"../../../../input/custom/Custom.js";import"../../../../input/basePlusButton/BasePlusButton.js";import"../../../../input/basePlusIcon/BasePlusIcon.js";import"../../../../motivator-progress-bar/MotivatorProgressBar.js";import"../../../../order-bar/OrderBar.js";import"../../../../packs/selector/PackSelector.js";import"../../../../pagination/styles.js";import"../../../../payment-methods/PaymentMethod.js";import"../../../../product/order/item/SimpleOrderItem.js";import"../../../../progress-bar/ProgressBar.js";import"../../../../quantityPicker/styled.js";import"../../../../radio/RadioPrimary/radioPrimary.js";import"../../../../radio/clubRadioInput/clubRadio.js";import"../../../../review-detail/ReviewDetail.js";import"../../../../review/Review.js";import"../../../../reviews-header/ReviewsHeader.js";import"../../../../scroll-to-top/ScrollToTop.js";import"../../../../search-bar/components/ClearButton/styled.js";import"../../../../search-bar/components/Footer/styled.js";import"../../../../search-bar/components/ProductItem/styled.js";import"../../../../search-bar/components/ResultsPanel/styled.js";import"../../../../search-bar/components/SearchControl/styled.js";import"../../../../search-bar/styled.js";import"../../../../search-navigation/styled.js";import"react-dom";import"../../../../short-banner/ShortBanner.js";import"../../../../size-chart/styled.js";import"../../../../size-table/SizeTable.js";import"../../../../size/guide/SizeFitGuide.js";import"../../../../size/selector/styled.js";import"../../../../tabs/Tab.js";import"../../../../tabs/Tabs.js";import"../../../../tag/Tag.js";import"../../../../textWithImage/index.js";import"../../../../toast/Toast.js";import"../../../../totals/total/styled.js";import"../../../../totals/subtotal/Subtotal.js";import"../../../../tracking-progress-v2/TrackingProgressV2.js";import"../../../../tracking-progress/TrackingProgress.js";import"../../../AutoshipOfferCard/AutoshipOfferCardItem.styled.js";import"../../../AutoshipOfferCardCta/AutoshipOfferCardItem.styled.js";import"../../../AutoshipPdpCard/AutoshipPdpCard.styled.js";import"../../../BasicAccordion/BasicAccordion.js";import"../../../CartItemCard/CartItem.js";import"../../../ClubOfferSelector/styled.js";import"../../../ClubOfferSelector2/styled.js";import"../../../JoinClubCard/joinClubCard.js";import"../../../OfferAtCart/styled.js";import"../../../OfferAtCartV2/styled.js";import"../../../OfferAtCartV3/styled.js";import"../../../OfferAtCartV4/styled.js";import"../../../OfferAtPDP/styled.js";import"../../../OfferAtPDP/types.js";import"../../../ProductCard/ProductCardV1/ProductCard.js";import"../../../ProductCard/ProductCardV2/styled.js";import"../../../ProductCard/ProductCardV3/styled.js";import"../../ProductGalleryMobileV1/ProductGalleryMobile.js";import"../../ProductGalleryMobileV2/ProductGalleryMobileV2.js";import"../../ProductGalleryMobileV3/ProductGalleryMobileV3.js";import"../../ProductGalleryMobileV4/ContentGallery/styled.js";import"react-inner-image-zoom";import"../../ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js";import"../../ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js";import"../../ProductGalleryMobileV4/GalleryDetailed/styled.js";import"../../ProductGalleryMobileV5/styled.js";import"../../ProductGalleryMobileV6/ColorVariantsGallery/styled.js";import"../../ProductGalleryMobileV6/MainGallery/styled.js";import"../../ProductGalleryMobileV6/styled.js";import"../ProductGalleryMobile.js";import"../../../SizeCharTable/SizeChartTableV2/styled.js";import"../../../SizeCharTable/SizeChartTableV3/styled.js";import"../../../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js";import"../../../SubscriptionPlanSelector/styled.js";import"../../../TwoCtasAtCart/Greeting.styled.js";import"../../../TwoCtasAtCart/Card.styled.js";import{VideoDisplay as h}from"./VideoDisplay.js";import{ZoomModalWrapper as b,MobileImageContainer as f,SlideCounterBadge as C,ZoomControlsContainer as g,ZoomMinusButton as P,ZoomPlusButton as v,CloseButtonTopRight as S,NavButton as w,CloseWrapper as V,CloseButton as T,NavWrapper as A,DesktopNavButton as k}from"./ZoomModalV2.styled.js";var I=function(I){var L=I.modalId,B=I.contents,G=I.initialSlide,z=void 0===G?0:G,M=n(L),O=M.opened,x=M.close,D="mobile"===c(),R=s(null),F=s(null),W=l(z),H=W[0],N=W[1],U=a((function(){x()}),[x]),q=a((function(){R.current&&R.current.slickNext()}),[]),E=a((function(){R.current&&R.current.slickPrev()}),[]);return d((function(){O&&(N(z),R.current&&R.current.slickGoTo(z))}),[O,z]),D?r(b,t({id:L,dismissable:!0,maxFullScreen:!0},{children:r(f,{children:r(i,t({ref:R,slidesToShow:1,slidesToScroll:1,infinite:!1,dots:!1,arrows:!1,initialSlide:z,afterChange:function(t){return N(t)}},{children:B.map((function(i,s){var l=Boolean(null==i?void 0:i.isVideo);return o(e,{children:[l?r(h,{content:i},i.key):r(m,t({ref:F,initialScale:1,minScale:1,maxScale:3,centerOnInit:!0,wheel:{step:.1},pinch:{step:5}},{children:function(s){var l=s.zoomIn,a=s.zoomOut;return o(e,{children:[r(p,{children:r(j,{src:i.thumbnailUrl||i.url,alt:i.alt,width:"100%",height:"100vh",objectFit:"cover"},void 0)},void 0),o(C,{children:[H+1," / ",B.length]},void 0),o(g,{children:[r(P,t({onClick:function(){return a(1)}},{children:r(u.Actions.Minus,{height:1,width:1,fill:"#fff"},void 0)}),void 0),r(v,t({onClick:function(){return l(1)}},{children:r(y,{name:"pdp/plus",height:1,width:1,fill:"#fff"},void 0)}),void 0)]},void 0)]},void 0)}}),void 0),r(S,t({onClick:U,"data-testid":"zoom-modal-v2-close"},{children:r(u.Actions.Close,{height:1,width:1,fill:"#000"},void 0)}),void 0),s>0&&r(w,t({isLeft:!0,onClick:E},{children:r(u.Arrows.ChevronLeft,{height:1,width:1,fill:"#000"},void 0)}),void 0),r(w,t({onClick:q},{children:r(u.Arrows.ChevronRight,{height:1,width:1,fill:"#000"},void 0)}),void 0)]},void 0)}))}),void 0)},void 0)}),void 0):o("div",{children:[r(b,t({id:L,dismissable:!0,width:"530px",maxFullScreen:!1},{children:r(i,t({ref:R,slidesToShow:1,slidesToScroll:1,infinite:!1,dots:!1,arrows:!0,initialSlide:z},{children:B.map((function(t,o){return(null==t?void 0:t.isVideo)?r(h,{content:t},t.key):r(j,{src:t.thumbnailUrl||t.url,alt:t.alt||"Thumbnail ".concat(o+1),width:"530px",height:"100%"},t.key||o)}))}),void 0)}),void 0),O&&r(V,{children:r(T,t({onClick:U,"data-testid":"zoom-modal-v2-close"},{children:r(u.Actions.Close,{height:1,width:1,fill:"#292929"},void 0)}),void 0)},void 0),O&&o(A,{children:[r(k,t({isLeft:!0,onClick:E},{children:r(u.Arrows.ChevronLeft,{height:1,width:1,fill:"#292929"},void 0)}),void 0),r(k,t({onClick:q},{children:r(u.Arrows.ChevronRight,{height:1,width:1,fill:"#292929"},void 0)}),void 0)]},void 0)]},void 0)};export{I as ZoomModalV2};
|
|
2
|
+
//# sourceMappingURL=ZoomModalV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoomModalV2.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__makeTemplateObject as n}from"tslib";import e from"@emotion/styled";import{Modal as r}from"../../../../modal/Modal.js";var t,o,i,a,s,d,p,l,f,c,x,b
|
|
1
|
+
import{__makeTemplateObject as n}from"tslib";import e from"@emotion/styled";import{Modal as r}from"../../../../modal/Modal.js";var t,o,i,a,s,d,p,l,f,c,x,b,u=e.button(t||(t=n(["\n border-radius: 50%;\n padding: 0.5rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--neutrals-white-ffffff, #fff);\n gap: 8px;\n border-radius: 99px;\n border: none;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n"],["\n border-radius: 50%;\n padding: 0.5rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--neutrals-white-ffffff, #fff);\n gap: 8px;\n border-radius: 99px;\n border: none;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n"]))),g=e(r)(o||(o=n(["\n div {\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n }\n"],["\n div {\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n }\n"]))),h=e.button(i||(i=n(["\n background: rgba(255, 255, 255, 0.9);\n border: none;\n border-radius: 50%;\n padding: 0.5rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n z-index: 10;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n ","\n &:hover {\n background: rgba(255, 255, 255, 1);\n }\n"],["\n background: rgba(255, 255, 255, 0.9);\n border: none;\n border-radius: 50%;\n padding: 0.5rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n z-index: 10;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n ","\n &:hover {\n background: rgba(255, 255, 255, 1);\n }\n"])),(function(n){return n.isLeft?"left: 10px;":"right: 10px;"})),m=e.div(a||(a=n(["\n display: flex;\n justify-content: space-between;\n position: fixed;\n width: 90%;\n z-index: 10000;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n"],["\n display: flex;\n justify-content: space-between;\n position: fixed;\n width: 90%;\n z-index: 10000;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n"]))),y=e.div(s||(s=n(["\n position: fixed;\n top: 20px;\n z-index: 10000;\n width: 94%;\n display: flex;\n justify-content: flex-end;\n"],["\n position: fixed;\n top: 20px;\n z-index: 10000;\n width: 94%;\n display: flex;\n justify-content: flex-end;\n"]))),k=e.div(d||(d=n(["\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #000;\n"],["\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #000;\n"]))),w=e.div(p||(p=n(["\n position: absolute;\n display: flex;\n padding: 2px;\n justify-content: center;\n align-items: center;\n gap: 8px;\n left: 10px;\n font-size: 16px;\n top: 10px;\n border-radius: 60px;\n background: rgba(41, 41, 41, 0.5);\n color: #fff;\n width: 56px;\n height: 28px;\n"],["\n position: absolute;\n display: flex;\n padding: 2px;\n justify-content: center;\n align-items: center;\n gap: 8px;\n left: 10px;\n font-size: 16px;\n top: 10px;\n border-radius: 60px;\n background: rgba(41, 41, 41, 0.5);\n color: #fff;\n width: 56px;\n height: 28px;\n"]))),v=e.button(l||(l=n(["\n position: absolute;\n top: 10px;\n right: 20px;\n width: 34px;\n height: 34px;\n border-radius: 50%;\n background: #fff;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: all 0.2s ease;\n z-index: 1000;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n\n &:hover {\n background: #f5f5f5;\n transform: scale(1.05);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"],["\n position: absolute;\n top: 10px;\n right: 20px;\n width: 34px;\n height: 34px;\n border-radius: 50%;\n background: #fff;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: all 0.2s ease;\n z-index: 1000;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n\n &:hover {\n background: #f5f5f5;\n transform: scale(1.05);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"]))),j=e.button(f||(f=n(["\n position: absolute;\n top: 50%;\n ","\n transform: translateY(-50%);\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background: #fff;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: all 0.2s ease;\n z-index: 1000;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n\n &:hover {\n background: #f5f5f5;\n transform: translateY(-50%) scale(1.05);\n }\n\n &:active {\n transform: translateY(-50%) scale(0.95);\n }\n"],["\n position: absolute;\n top: 50%;\n ","\n transform: translateY(-50%);\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background: #fff;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: all 0.2s ease;\n z-index: 1000;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n\n &:hover {\n background: #f5f5f5;\n transform: translateY(-50%) scale(1.05);\n }\n\n &:active {\n transform: translateY(-50%) scale(0.95);\n }\n"])),(function(n){return n.isLeft?"left: 20px;":"right: 20px;"})),z=e.div(c||(c=n(["\n position: absolute;\n bottom: 20px;\n right: 20px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n z-index: 1000;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n"],["\n position: absolute;\n bottom: 20px;\n right: 20px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n z-index: 1000;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n"]))),Y=e.button(x||(x=n(["\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.6);\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: all 0.2s ease;\n backdrop-filter: blur(10px);\n\n &:hover {\n background: rgba(0, 0, 0, 0.8);\n transform: scale(1.05);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"],["\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.6);\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: all 0.2s ease;\n backdrop-filter: blur(10px);\n\n &:hover {\n background: rgba(0, 0, 0, 0.8);\n transform: scale(1.05);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"]))),L=e.button(b||(b=n(["\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.6);\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: all 0.2s ease;\n backdrop-filter: blur(10px);\n\n &:hover {\n background: rgba(0, 0, 0, 0.8);\n transform: scale(1.05);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"],["\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.6);\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: all 0.2s ease;\n backdrop-filter: blur(10px);\n\n &:hover {\n background: rgba(0, 0, 0, 0.8);\n transform: scale(1.05);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"])));export{u as CloseButton,v as CloseButtonTopRight,y as CloseWrapper,h as DesktopNavButton,k as MobileImageContainer,j as NavButton,m as NavWrapper,w as SlideCounterBadge,z as ZoomControlsContainer,Y as ZoomMinusButton,g as ZoomModalWrapper,L as ZoomPlusButton};
|
|
2
2
|
//# sourceMappingURL=ZoomModalV2.styled.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__makeTemplateObject as n}from"tslib";import e from"@emotion/styled";import{Image as i}from"../../../../atoms/Image/Image.js";import{Modal as t}from"../../../../modal/Modal.js";var r
|
|
1
|
+
import{__makeTemplateObject as n}from"tslib";import e from"@emotion/styled";import{Image as i}from"../../../../atoms/Image/Image.js";import{Modal as t}from"../../../../modal/Modal.js";var r=e.div(c||(c=n(["\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n background-color: #ffffff;\n"],["\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n background-color: #ffffff;\n"]))),o=e.div(f||(f=n(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-bottom: 1px solid #e0e0e0;\n"],["\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-bottom: 1px solid #e0e0e0;\n"]))),l=e.h2(p||(p=n(["\n margin: 0;\n font-size: 1.25rem;\n font-weight: 600;\n color: #333;\n padding: 15px;\n"],["\n margin: 0;\n font-size: 1.25rem;\n font-weight: 600;\n color: #333;\n padding: 15px;\n"]))),d=e.button(g||(g=n(["\n background: none;\n border: none;\n cursor: pointer;\n padding: 0.5rem;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n margin-right: 10px;\n &:hover {\n background-color: #f5f5f5;\n }\n"],["\n background: none;\n border: none;\n cursor: pointer;\n padding: 0.5rem;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n margin-right: 10px;\n &:hover {\n background-color: #f5f5f5;\n }\n"])));e.div(x||(x=n(["\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 1rem;\n\n .slick-slider {\n width: 100%;\n height: 100%;\n }\n\n .slick-track {\n display: flex;\n ","\n }\n\n .slick-slide {\n height: ",";\n }\n\n .slick-dots {\n bottom: 1rem;\n }\n"],["\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 1rem;\n\n .slick-slider {\n width: 100%;\n height: 100%;\n }\n\n .slick-track {\n display: flex;\n ","\n }\n\n .slick-slide {\n height: ",";\n }\n\n .slick-dots {\n bottom: 1rem;\n }\n"])),(function(n){return n.isMobile?"flex-direction: column;":"flex-direction: row;"}),(function(n){return n.isMobile?"auto":"100%"}));var a=e.div(b||(b=n(["\n flex: 1;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n padding: 0;\n\n /* Hide scrollbar */\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n\n &::-webkit-scrollbar {\n display: none; /* WebKit */\n }\n"],["\n flex: 1;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n padding: 0;\n\n /* Hide scrollbar */\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n\n &::-webkit-scrollbar {\n display: none; /* WebKit */\n }\n"])));e.div(m||(m=n(["\n flex: 1;\n display: flex;\n flex-direction: row;\n overflow-y: auto;\n padding: 0;\n gap: 5px;\n\n /* Hide scrollbar */\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n\n &::-webkit-scrollbar {\n display: none; /* WebKit */\n }\n"],["\n flex: 1;\n display: flex;\n flex-direction: row;\n overflow-y: auto;\n padding: 0;\n gap: 5px;\n\n /* Hide scrollbar */\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n\n &::-webkit-scrollbar {\n display: none; /* WebKit */\n }\n"]))),e.div(h||(h=n(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n ","\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n ","\n"])),(function(n){return n.isMobile?"height: 510px;":"min-height: 510px;"})),e.div(u||(u=n(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 510px;\n padding: 0;\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 510px;\n padding: 0;\n"])));var s=e(i)(y||(y=n(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","\n"],["\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","\n"])),(function(n){var e=n.marginRight;return e&&"padding-right: ".concat(e,";")}));e.div(w||(w=n(["\n height: 40px;\n width: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n"],["\n height: 40px;\n width: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])));var c,f,p,g,x,b,m,h,u,y,w,v,k,j,I,z=e(t)(v||(v=n(["\n div {\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n }\n"],["\n div {\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n }\n"]))),E=e.div(k||(k=n(["\n flex: 1;\n display: flex;\n flex-direction: column;\n padding: 1rem;\n"],["\n flex: 1;\n display: flex;\n flex-direction: column;\n padding: 1rem;\n"]))),F=e.div(j||(j=n(["\n position: relative;\n width: 100%;\n height: 100%;\n"],["\n position: relative;\n width: 100%;\n height: 100%;\n"]))),H=e.button(I||(I=n(["\n position: absolute;\n ","\n top: 25%;\n transform: translateY(-50%);\n background: rgba(255, 255, 255, 0.9);\n border: none;\n border-radius: 50%;\n padding: 0.5rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n z-index: 10;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n\n &:hover {\n background: rgba(255, 255, 255, 1);\n }\n"],["\n position: absolute;\n ","\n top: 25%;\n transform: translateY(-50%);\n background: rgba(255, 255, 255, 0.9);\n border: none;\n border-radius: 50%;\n padding: 0.5rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n z-index: 10;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n\n &:hover {\n background: rgba(255, 255, 255, 1);\n }\n"])),(function(n){return n.isLeft?"left: 10px;":"right: 10px;"}));export{d as CloseButton,E as DesktopSliderContainer,H as NavigationButton,F as SliderWrapper,a as VerticalScrollContainer,s as ZoomImage,r as ZoomModalContainer,o as ZoomModalHeader,l as ZoomModalTitle,z as ZoomModalWrapper};
|
|
2
2
|
//# sourceMappingURL=zoomModal.styled.js.map
|
package/build/es/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{default as PackSelectorV2}from"./components/PackSelectorV2/PackSelectoV2.js";export{AbsorbencyLevel}from"./components/absorbency-level/AbsorbencyLevel.js";export{default as AccordionOptions}from"./components/accordion-options/AccordionOptions.js";export{default as Accordion}from"./components/accordion/Accordion.js";export{default as Autoship}from"./components/autoship/autoShip.js";export{default as AutoshipV2}from"./components/autoshipV2/autoshipV2.js";export{BeforeAfterCard}from"./components/before-after/BeforeAfter.js";export{Bundle}from"./components/bundle/index.js";export{BuyNowPayLater}from"./components/buynowpaylater/BuyNowPayLater.js";export{CartProductItem}from"./components/cartProductItem/index.js";export{Checkbox}from"./components/checkbox/Checkbox.js";export{Collection}from"./components/collection/index.js";export{default as ColorPickerWithTooltip}from"./components/color/ColorPickerWithTooltip.js";export{default as MultiColorPicker}from"./components/color/MultiColorPicker.js";export{default as SingleColorPicker}from"./components/color/SingleColorPicker.js";export{ColorSelector}from"./components/color/selector/ColorSelector.js";export{PatternSelector}from"./components/color/selector/PatternSelector.js";import*as o from"./components/cross-sell/index.js";export{o as CrossSell};export{default as ButtonPrimary}from"./components/cta/primary/ButtonPrimary.js";export{default as ButtonSecondary}from"./components/cta/secondary/ButtonSecondary.js";export{default as ButtonSecondaryOutline}from"./components/cta/secondary/ButtonSecondaryOutline.js";import"tslib";import"@emotion/react/jsx-runtime";export{AssetsProvider,ThemeProvider,ThemeVariables,useTheme,useThemeAssets}from"./core/theme/Theme.js";import"react/jsx-runtime";export{CardSectionType,ComponentPosition,ComponentSize,InputValidationType}from"./types/enums.js";import"./components/cta/styled.js";export{DeliveryDetails}from"./components/delivery-details/DeliveryDetails.js";export{Note}from"./components/delivery-details/Note/Note.js";export{Drawer}from"./components/drawer/Drawer.js";export{DropdownListIcons}from"./components/dropdown-list-icons/DropdownListIcons.js";export{default as SizeDropdown}from"./components/dropdown/size-dropdown/SizeDropdown.js";export{default as DropdownDialog}from"./components/dropdown/variants/dialog/DropdownDialog.js";export{default as FilteringDropdown}from"./components/dropdown/variants/filtering/FilteringDropdown.js";export{default as SimpleDropdown}from"./components/dropdown/variants/simple/SimpleDropdown.js";export{default as SmartDropdown}from"./components/dropdown/variants/smart/SmartDropdown.js";export{Filters}from"./components/filtering/Filters.js";export{Tags as FilteringTags}from"./components/filtering/Tags/Tags.js";export{FitGuarantee}from"./components/fit-guarantee/FitGuarantee.js";export{FitPredictor}from"./components/fit/FitPredictor.js";export{ProductGallery}from"./components/gallery/ProductGallery.js";export{IconButton}from"./components/icon-button/IconButton.js";export{AmazonButton,PaypalButton}from"./components/icon-button/amazonAndPaypal/AmazonPaypalButtons.js";export{Icon}from"./components/icons/index.js";export{IconsWithTitle}from"./components/iconsWithTitle/index.js";export{ImageCardWithDescription}from"./components/image-card/ImageCard.js";export{Input}from"./components/input/index.js";export{Modal,Overlay,modalEvent,useModal,useModalEvent}from"./components/modal/Modal.js";export{MotivatorProgressBar}from"./components/motivator-progress-bar/MotivatorProgressBar.js";export{OfferBanner}from"./components/offer-banner/OfferBanner.js";export{OrderBar}from"./components/order-bar/OrderBar.js";export{default as PackSelector}from"./components/packs/selector/PackSelector.js";export{Pagination}from"./components/pagination/Pagination.js";export{PaginatorBlog}from"./components/pagination/blogPaginator/PaginatorBlog.js";export{PaymentMethod}from"./components/payment-methods/PaymentMethod.js";export{ClubOfferTag}from"./components/pricing/clubOffer/ClubOfferTag.js";export{DiscountTag}from"./components/pricing/discount/DiscountTag.js";export{PriceLabel}from"./components/pricing/price/PriceLabel.js";export{PriceLabelV2}from"./components/pricing/priceLabelV2/PriceLabelV2.js";export{PriceLabelV3}from"./components/pricing/priceLabelV3/PriceLabelV3.js";export{PriceLabelV5}from"./components/pricing/priceLabelV5/PriceLabelV5.js";export{PriceLabelV6}from"./components/pricing/priceLabelV6/PriceLabelV6.js";export{default as SimpleOrderItem}from"./components/product/order/item/SimpleOrderItem.js";export{ProgressBar}from"./components/progress-bar/ProgressBar.js";export{QuantityPicker}from"./components/quantityPicker/QuantityPicker.js";export{RadioPrimary}from"./components/radio/RadioPrimary/radioPrimary.js";export{RadioGroupInput}from"./components/radio/container/group.js";export{ClubRadioGroupInput}from"./components/radio/clubContainer/clubGroup.js";export{RadioInput}from"./components/radio/input/radio.js";export{Rating}from"./components/rating/Rating.js";export{StarList}from"./components/rating/starList/StarList.js";export{default as ReviewDetail}from"./components/review-detail/ReviewDetail.js";export{default as Review}from"./components/review/Review.js";export{default as ReviewsHeader}from"./components/reviews-header/ReviewsHeader.js";export{ScrollToTop}from"./components/scroll-to-top/ScrollToTop.js";export{SearchBar}from"./components/search-bar/SearchBar.js";export{default as SearchNavigation}from"./components/search-navigation/SearchNavigation.js";export{default as Card}from"./components/shared/card/Card.js";export{Portal}from"./components/shared/portal/Portal.js";export{Spacing}from"./components/shared/spacing/Spacing.js";export{ShortBanner}from"./components/short-banner/ShortBanner.js";export{default as SizeChartTable}from"./components/size-chart/SizeChart.js";export{SizeTable}from"./components/size-table/SizeTable.js";export{default as SizeFitGuide}from"./components/size/guide/SizeFitGuide.js";export{default as SizeSelector}from"./components/size/selector/SizeSelector.js";export{default as SliderNavigation}from"./components/slider/SliderNavigation.js";export{StrengthBars}from"./components/strength-bars/StrengthBars.js";export{default as Tab}from"./components/tabs/Tab.js";export{default as Tabs}from"./components/tabs/Tabs.js";export{default as CategoryTag}from"./components/tag/variants/pdp/category/CategoryTag.js";export{default as CategorySquareTag}from"./components/tag/variants/pdp/categorySquare/CategorySquareTag.js";export{default as seasonOfferRoundedTag}from"./components/tag/variants/pdp/season-offer-rounded/SeasonOfferRounded.js";export{default as SeasonOfferTag}from"./components/tag/variants/pdp/season-offer/SeasonOfferTag.js";import"./components/tag/variants/product/styled.js";export{default as TextButton}from"./components/text-button/TextButton.js";export{Text}from"./components/text/Text.js";export{default as TextWithImage}from"./components/textWithImage/index.js";export{Timer}from"./components/timer/Timer.js";export{Toast}from"./components/toast/Toast.js";export{Tooltip}from"./components/tooltip/Tooltip.js";export{Totals}from"./components/totals/index.js";export{default as TrackingProgressV2}from"./components/tracking-progress-v2/TrackingProgressV2.js";export{default as TrackingProgress}from"./components/tracking-progress/TrackingProgress.js";export{AutoshipOfferCard}from"./components/organisms/AutoshipOfferCard/AutoshipOfferCardItem.js";export{AutoshipOfferCardCta}from"./components/organisms/AutoshipOfferCardCta/AutoshipOfferCardItemCta.js";export{AutoshipPdpCard}from"./components/organisms/AutoshipPdpCard/AutoshipPdpCard.js";export{BasicAccordion}from"./components/organisms/BasicAccordion/BasicAccordion.js";export{CartItemCard}from"./components/organisms/CartItemCard/CartItem.js";export{ClubOfferSelector}from"./components/organisms/ClubOfferSelector/clubOfferSelector.js";export{ClubOfferSelector2}from"./components/organisms/ClubOfferSelector2/clubOfferSelector2.js";export{JoinClubCard}from"./components/organisms/JoinClubCard/joinClubCard.js";export{OfferAtCart}from"./components/organisms/OfferAtCart/OfferAtCart.js";export{OfferAtCartV2}from"./components/organisms/OfferAtCartV2/OfferAtCartV2.js";export{OfferAtCartV3}from"./components/organisms/OfferAtCartV3/OfferAtCartV3.js";export{OfferAtCartV4}from"./components/organisms/OfferAtCartV4/OfferAtCartV4.js";export{OfferAtPDP}from"./components/organisms/OfferAtPDP/OfferAtPDP.js";import"./components/organisms/OfferAtPDP/types.js";export{ProductCard}from"./components/organisms/ProductCard/ProductCardV1/ProductCard.js";export{ProductCardV2}from"./components/organisms/ProductCard/ProductCardV2/ProductCardV2.js";export{ProductCardV3}from"./components/organisms/ProductCard/ProductCardV3/ProductCardV3.js";export{ProductGalleryMobile}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js";export{ProductGalleryMobileV2}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js";export{ProductGalleryMobileV3}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js";export{ProductGalleryMobileV4}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV4/ProductGalleryMobileV4.js";export{ProductGalleryMobileV5}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/ProductGalleryMobileV5.js";export{ProductGalleryMobileV6}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/ProductGalleryMobileV6.js";import"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/ProductGalleryMobile.js";export{SizeChartTableV2}from"./components/organisms/SizeCharTable/SizeChartTableV2/SizeChartV2.js";export{SizeChartTableV3}from"./components/organisms/SizeCharTable/SizeChartTableV3/SizeChartTableV3.js";export{SizeChartTableV4}from"./components/organisms/SizeCharTable/SizeChartTableV4/SizeChartTableV4.js";export{SubscriptionPlanSelector}from"./components/organisms/SubscriptionPlanSelector/SubscriptionPlanSelector.js";export{GreetingsCard}from"./components/organisms/TwoCtasAtCart/GreetingsCard.js";export{TwoCtasAtCart}from"./components/organisms/TwoCtasAtCart/TwoCtasAtCart.js";export{ClubPriceMemberLabel}from"./components/atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.js";export{HorizontalDivider}from"./components/atoms/HorizontalDivider/HorizontalDivider.js";export{Icon as LibIcon}from"./components/atoms/Icon/Icon.js";export{Image}from"./components/atoms/Image/Image.js";import"./components/atoms/PriceLabel/PriceLabel.js";import"./components/atoms/PriceLabelV2/PriceLabelV2.js";export{ToggleComponent}from"./components/atoms/Toggle/toggle.js";import"./components/molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js";import"./components/molecules/OfferAtCartImage/OfferAtCartImage.styled.js";export{CouponCard}from"./components/molecules/CouponCard/CouponCard.js";export{ArrowTip}from"./components/molecules/ArrowTip/ArrowTip.js";export{AutoshipFrequencyDropdown}from"./components/molecules/AutoshipFrequencyDropdown/AutoshipFrequencyDropdown.js";export{BenefitsList}from"./components/molecules/BenefitsList/BenefitsList.js";export{HurryUp}from"./components/molecules/HurryUp/HurryUp.js";export{Spinner}from"./components/molecules/Spinner/Spinner.js";export{Video}from"./components/molecules/Video/Video.js";export{IconsWithTitleList}from"./components/molecules/IconsWithTitleList/IconsWithTitleList.js";export{LikeButton}from"./components/molecules/LikeButton/LikeButton.js";import"./components/molecules/ScarcityTag/ScarcityTag.styled.js";export{BeforeAfterVariant,componentSizeMapper}from"./components/before-after/types.js";export{default as createCache}from"@emotion/cache";export{default as styled}from"@emotion/styled";export{CacheProvider,Global,css}from"@emotion/react";export{default as useOnClickOutside}from"./hooks/click-outside.js";export{default as useDeviceType}from"./hooks/useDeviceType/useDeviceType.js";export{useViewportAwarePosition}from"./hooks/useViewportAwarePosition/useViewportAwarePosition.js";export{useWindowDimensions}from"./hooks/WindowDimensions.js";export{buildImageUrl}from"./utils/buildImageUrl/buildImageUrl.js";export{isDangerouslySetInnerHTML}from"./utils/common/index.js";export{benefits,benefitsRawHtml,benefitsRawHtmlV2,sizeOptions,title}from"./utils/constants/offerAtCart.js";export{DateFormat,formatDate}from"./utils/dateFormatter/dateFormatter.js";export{debounce}from"./utils/debounce/index.js";export{decimalFormat}from"./utils/decimalParser/decimalParser.js";export{formatPrice}from"./utils/formatPrice/formatPrice.js";export{getSrcSet}from"./utils/getSrcSet/getSrcSet.js";export{mediaQueries}from"./utils/media.js";export{CancellationFlowAccordionContentPerPartner}from"./utils/mock-content/CancellationFlowAccordion.js";export{simulateMouseClick}from"./utils/simulateClick/simulateClick.js";export{sliceString}from"./utils/sliceString/sliceString.js";export{isEmail,isEmpty,isNumber,isPhoneNumber,isValidDate}from"./utils/validations/validations.js";
|
|
1
|
+
export{default as PackSelectorV2}from"./components/PackSelectorV2/PackSelectoV2.js";export{AbsorbencyLevel}from"./components/absorbency-level/AbsorbencyLevel.js";export{default as AccordionOptions}from"./components/accordion-options/AccordionOptions.js";export{default as Accordion}from"./components/accordion/Accordion.js";export{default as Autoship}from"./components/autoship/autoShip.js";export{default as AutoshipV2}from"./components/autoshipV2/autoshipV2.js";export{BeforeAfterCard}from"./components/before-after/BeforeAfter.js";export{Bundle}from"./components/bundle/index.js";export{BuyNowPayLater}from"./components/buynowpaylater/BuyNowPayLater.js";export{CartProductItem}from"./components/cartProductItem/index.js";export{Checkbox}from"./components/checkbox/Checkbox.js";export{Collection}from"./components/collection/index.js";export{default as ColorPickerWithTooltip}from"./components/color/ColorPickerWithTooltip.js";export{default as MultiColorPicker}from"./components/color/MultiColorPicker.js";export{default as SingleColorPicker}from"./components/color/SingleColorPicker.js";export{ColorSelector}from"./components/color/selector/ColorSelector.js";export{PatternSelector}from"./components/color/selector/PatternSelector.js";import*as o from"./components/cross-sell/index.js";export{o as CrossSell};export{default as ButtonPrimary}from"./components/cta/primary/ButtonPrimary.js";export{default as ButtonSecondary}from"./components/cta/secondary/ButtonSecondary.js";export{default as ButtonSecondaryOutline}from"./components/cta/secondary/ButtonSecondaryOutline.js";import"tslib";import"@emotion/react/jsx-runtime";export{AssetsProvider,ThemeProvider,ThemeVariables,useTheme,useThemeAssets}from"./core/theme/Theme.js";import"react/jsx-runtime";export{CardSectionType,ComponentPosition,ComponentSize,InputValidationType}from"./types/enums.js";import"./components/cta/styled.js";export{DeliveryDetails}from"./components/delivery-details/DeliveryDetails.js";export{Note}from"./components/delivery-details/Note/Note.js";export{Drawer}from"./components/drawer/Drawer.js";export{DropdownListIcons}from"./components/dropdown-list-icons/DropdownListIcons.js";export{default as SizeDropdown}from"./components/dropdown/size-dropdown/SizeDropdown.js";export{default as DropdownDialog}from"./components/dropdown/variants/dialog/DropdownDialog.js";export{default as FilteringDropdown}from"./components/dropdown/variants/filtering/FilteringDropdown.js";export{default as SimpleDropdown}from"./components/dropdown/variants/simple/SimpleDropdown.js";export{default as SmartDropdown}from"./components/dropdown/variants/smart/SmartDropdown.js";export{Filters}from"./components/filtering/Filters.js";export{Tags as FilteringTags}from"./components/filtering/Tags/Tags.js";export{FitGuarantee}from"./components/fit-guarantee/FitGuarantee.js";export{FitPredictor}from"./components/fit/FitPredictor.js";export{ProductGallery}from"./components/gallery/ProductGallery.js";export{IconButton}from"./components/icon-button/IconButton.js";export{AmazonButton,PaypalButton}from"./components/icon-button/amazonAndPaypal/AmazonPaypalButtons.js";export{Icon}from"./components/icons/index.js";export{IconsWithTitle}from"./components/iconsWithTitle/index.js";export{ImageCardWithDescription}from"./components/image-card/ImageCard.js";export{Input}from"./components/input/index.js";export{Modal,Overlay,modalEvent,useModal,useModalEvent}from"./components/modal/Modal.js";export{MotivatorProgressBar}from"./components/motivator-progress-bar/MotivatorProgressBar.js";export{OfferBanner}from"./components/offer-banner/OfferBanner.js";export{OrderBar}from"./components/order-bar/OrderBar.js";export{default as PackSelector}from"./components/packs/selector/PackSelector.js";export{Pagination}from"./components/pagination/Pagination.js";export{PaginatorBlog}from"./components/pagination/blogPaginator/PaginatorBlog.js";export{PaymentMethod}from"./components/payment-methods/PaymentMethod.js";export{ClubOfferTag}from"./components/pricing/clubOffer/ClubOfferTag.js";export{DiscountTag}from"./components/pricing/discount/DiscountTag.js";export{PriceLabel}from"./components/pricing/price/PriceLabel.js";export{PriceLabelV2}from"./components/pricing/priceLabelV2/PriceLabelV2.js";export{PriceLabelV3}from"./components/pricing/priceLabelV3/PriceLabelV3.js";export{PriceLabelV5}from"./components/pricing/priceLabelV5/PriceLabelV5.js";export{PriceLabelV6}from"./components/pricing/priceLabelV6/PriceLabelV6.js";export{default as SimpleOrderItem}from"./components/product/order/item/SimpleOrderItem.js";export{ProgressBar}from"./components/progress-bar/ProgressBar.js";export{QuantityPicker}from"./components/quantityPicker/QuantityPicker.js";export{RadioPrimary}from"./components/radio/RadioPrimary/radioPrimary.js";export{RadioGroupInput}from"./components/radio/container/group.js";export{ClubRadioGroupInput}from"./components/radio/clubContainer/clubGroup.js";export{RadioInput}from"./components/radio/input/radio.js";export{Rating}from"./components/rating/Rating.js";export{StarList}from"./components/rating/starList/StarList.js";export{default as ReviewDetail}from"./components/review-detail/ReviewDetail.js";export{default as Review}from"./components/review/Review.js";export{default as ReviewsHeader}from"./components/reviews-header/ReviewsHeader.js";export{ScrollToTop}from"./components/scroll-to-top/ScrollToTop.js";export{SearchBar}from"./components/search-bar/SearchBar.js";export{default as SearchNavigation}from"./components/search-navigation/SearchNavigation.js";export{default as Card}from"./components/shared/card/Card.js";export{Portal}from"./components/shared/portal/Portal.js";export{Spacing}from"./components/shared/spacing/Spacing.js";export{ShortBanner}from"./components/short-banner/ShortBanner.js";export{default as SizeChartTable}from"./components/size-chart/SizeChart.js";export{SizeTable}from"./components/size-table/SizeTable.js";export{default as SizeFitGuide}from"./components/size/guide/SizeFitGuide.js";export{default as SizeSelector}from"./components/size/selector/SizeSelector.js";export{default as SliderNavigation}from"./components/slider/SliderNavigation.js";export{StrengthBars}from"./components/strength-bars/StrengthBars.js";export{default as Tab}from"./components/tabs/Tab.js";export{default as Tabs}from"./components/tabs/Tabs.js";export{default as CategoryTag}from"./components/tag/variants/pdp/category/CategoryTag.js";export{default as CategorySquareTag}from"./components/tag/variants/pdp/categorySquare/CategorySquareTag.js";export{default as seasonOfferRoundedTag}from"./components/tag/variants/pdp/season-offer-rounded/SeasonOfferRounded.js";export{default as SeasonOfferTag}from"./components/tag/variants/pdp/season-offer/SeasonOfferTag.js";import"./components/tag/variants/product/styled.js";export{default as TextButton}from"./components/text-button/TextButton.js";export{Text}from"./components/text/Text.js";export{default as TextWithImage}from"./components/textWithImage/index.js";export{Timer}from"./components/timer/Timer.js";export{Toast}from"./components/toast/Toast.js";export{Tooltip}from"./components/tooltip/Tooltip.js";export{Totals}from"./components/totals/index.js";export{default as TrackingProgressV2}from"./components/tracking-progress-v2/TrackingProgressV2.js";export{default as TrackingProgress}from"./components/tracking-progress/TrackingProgress.js";export{AutoshipOfferCard}from"./components/organisms/AutoshipOfferCard/AutoshipOfferCardItem.js";export{AutoshipOfferCardCta}from"./components/organisms/AutoshipOfferCardCta/AutoshipOfferCardItemCta.js";export{AutoshipPdpCard}from"./components/organisms/AutoshipPdpCard/AutoshipPdpCard.js";export{BasicAccordion}from"./components/organisms/BasicAccordion/BasicAccordion.js";export{CartItemCard}from"./components/organisms/CartItemCard/CartItem.js";export{ClubOfferSelector}from"./components/organisms/ClubOfferSelector/clubOfferSelector.js";export{ClubOfferSelector2}from"./components/organisms/ClubOfferSelector2/clubOfferSelector2.js";export{JoinClubCard}from"./components/organisms/JoinClubCard/joinClubCard.js";export{OfferAtCart}from"./components/organisms/OfferAtCart/OfferAtCart.js";export{OfferAtCartV2}from"./components/organisms/OfferAtCartV2/OfferAtCartV2.js";export{OfferAtCartV3}from"./components/organisms/OfferAtCartV3/OfferAtCartV3.js";export{OfferAtCartV4}from"./components/organisms/OfferAtCartV4/OfferAtCartV4.js";export{OfferAtPDP}from"./components/organisms/OfferAtPDP/OfferAtPDP.js";import"./components/organisms/OfferAtPDP/types.js";export{ProductCard}from"./components/organisms/ProductCard/ProductCardV1/ProductCard.js";export{ProductCardV2}from"./components/organisms/ProductCard/ProductCardV2/ProductCardV2.js";export{ProductCardV3}from"./components/organisms/ProductCard/ProductCardV3/ProductCardV3.js";export{ProductGalleryMobile}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js";export{ProductGalleryMobileV2}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js";export{ProductGalleryMobileV3}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js";export{ProductGalleryMobileV4}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV4/ProductGalleryMobileV4.js";export{ProductGalleryMobileV5}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/ProductGalleryMobileV5.js";export{ProductGalleryMobileV6}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/ProductGalleryMobileV6.js";export{ProductGalleryMobileV7}from"./components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/ProductGalleryMobile.js";export{SizeChartTableV2}from"./components/organisms/SizeCharTable/SizeChartTableV2/SizeChartV2.js";export{SizeChartTableV3}from"./components/organisms/SizeCharTable/SizeChartTableV3/SizeChartTableV3.js";export{SizeChartTableV4}from"./components/organisms/SizeCharTable/SizeChartTableV4/SizeChartTableV4.js";export{SubscriptionPlanSelector}from"./components/organisms/SubscriptionPlanSelector/SubscriptionPlanSelector.js";export{GreetingsCard}from"./components/organisms/TwoCtasAtCart/GreetingsCard.js";export{TwoCtasAtCart}from"./components/organisms/TwoCtasAtCart/TwoCtasAtCart.js";export{ClubPriceMemberLabel}from"./components/atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.js";export{HorizontalDivider}from"./components/atoms/HorizontalDivider/HorizontalDivider.js";export{Icon as LibIcon}from"./components/atoms/Icon/Icon.js";export{Image}from"./components/atoms/Image/Image.js";import"./components/atoms/PriceLabel/PriceLabel.js";import"./components/atoms/PriceLabelV2/PriceLabelV2.js";export{ToggleComponent}from"./components/atoms/Toggle/toggle.js";import"./components/molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js";import"./components/molecules/OfferAtCartImage/OfferAtCartImage.styled.js";export{CouponCard}from"./components/molecules/CouponCard/CouponCard.js";export{ArrowTip}from"./components/molecules/ArrowTip/ArrowTip.js";export{AutoshipFrequencyDropdown}from"./components/molecules/AutoshipFrequencyDropdown/AutoshipFrequencyDropdown.js";export{BenefitsList}from"./components/molecules/BenefitsList/BenefitsList.js";export{HurryUp}from"./components/molecules/HurryUp/HurryUp.js";export{Spinner}from"./components/molecules/Spinner/Spinner.js";export{Video}from"./components/molecules/Video/Video.js";export{IconsWithTitleList}from"./components/molecules/IconsWithTitleList/IconsWithTitleList.js";export{LikeButton}from"./components/molecules/LikeButton/LikeButton.js";import"./components/molecules/ScarcityTag/ScarcityTag.styled.js";export{BeforeAfterVariant,componentSizeMapper}from"./components/before-after/types.js";export{default as createCache}from"@emotion/cache";export{default as styled}from"@emotion/styled";export{CacheProvider,Global,css}from"@emotion/react";export{default as useOnClickOutside}from"./hooks/click-outside.js";export{default as useDeviceType}from"./hooks/useDeviceType/useDeviceType.js";export{useViewportAwarePosition}from"./hooks/useViewportAwarePosition/useViewportAwarePosition.js";export{useWindowDimensions}from"./hooks/WindowDimensions.js";export{buildImageUrl}from"./utils/buildImageUrl/buildImageUrl.js";export{isDangerouslySetInnerHTML}from"./utils/common/index.js";export{benefits,benefitsRawHtml,benefitsRawHtmlV2,sizeOptions,title}from"./utils/constants/offerAtCart.js";export{DateFormat,formatDate}from"./utils/dateFormatter/dateFormatter.js";export{debounce}from"./utils/debounce/index.js";export{decimalFormat}from"./utils/decimalParser/decimalParser.js";export{formatPrice}from"./utils/formatPrice/formatPrice.js";export{getSrcSet}from"./utils/getSrcSet/getSrcSet.js";export{mediaQueries}from"./utils/media.js";export{CancellationFlowAccordionContentPerPartner}from"./utils/mock-content/CancellationFlowAccordion.js";export{simulateMouseClick}from"./utils/simulateClick/simulateClick.js";export{sliceString}from"./utils/sliceString/sliceString.js";export{isEmail,isEmpty,isNumber,isPhoneNumber,isValidDate}from"./utils/validations/validations.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/build/index.d.ts
CHANGED
|
@@ -4605,7 +4605,7 @@ interface ProductCardV3Props extends ProductItemProps {
|
|
|
4605
4605
|
}
|
|
4606
4606
|
declare const ProductCardV3: FC<ProductCardV3Props>;
|
|
4607
4607
|
|
|
4608
|
-
interface ProductGalleryMobileProps$
|
|
4608
|
+
interface ProductGalleryMobileProps$4 {
|
|
4609
4609
|
images: ContentType[];
|
|
4610
4610
|
customClick?: boolean;
|
|
4611
4611
|
topTag?: JSX.Element;
|
|
@@ -4621,9 +4621,9 @@ interface ProductGalleryMobileProps$3 {
|
|
|
4621
4621
|
videoMuted?: boolean;
|
|
4622
4622
|
videoLoop?: boolean;
|
|
4623
4623
|
}
|
|
4624
|
-
declare const ProductGalleryMobile: react__default.FC<ProductGalleryMobileProps$
|
|
4624
|
+
declare const ProductGalleryMobile: react__default.FC<ProductGalleryMobileProps$4>;
|
|
4625
4625
|
|
|
4626
|
-
interface ProductGalleryMobileProps$
|
|
4626
|
+
interface ProductGalleryMobileProps$3 {
|
|
4627
4627
|
images: ContentType[];
|
|
4628
4628
|
selectedValue?: ContentType;
|
|
4629
4629
|
topTag?: JSX.Element;
|
|
@@ -4632,9 +4632,9 @@ interface ProductGalleryMobileProps$2 {
|
|
|
4632
4632
|
slideDotsDataTestId?: string;
|
|
4633
4633
|
borderRadiusVariant?: boolean;
|
|
4634
4634
|
}
|
|
4635
|
-
declare const ProductGalleryMobileV2: React.FC<ProductGalleryMobileProps$
|
|
4635
|
+
declare const ProductGalleryMobileV2: React.FC<ProductGalleryMobileProps$3>;
|
|
4636
4636
|
|
|
4637
|
-
interface ProductGalleryMobileProps$
|
|
4637
|
+
interface ProductGalleryMobileProps$2 {
|
|
4638
4638
|
images: ContentType$1[];
|
|
4639
4639
|
customClick?: boolean;
|
|
4640
4640
|
topTag?: JSX.Element;
|
|
@@ -4643,7 +4643,7 @@ interface ProductGalleryMobileProps$1 {
|
|
|
4643
4643
|
borderRadiusVariant?: boolean;
|
|
4644
4644
|
selectedValue?: ContentType$1;
|
|
4645
4645
|
}
|
|
4646
|
-
declare const ProductGalleryMobileV3: react__default.FC<ProductGalleryMobileProps$
|
|
4646
|
+
declare const ProductGalleryMobileV3: react__default.FC<ProductGalleryMobileProps$2>;
|
|
4647
4647
|
|
|
4648
4648
|
declare type IImage = {
|
|
4649
4649
|
key: string;
|
|
@@ -4689,7 +4689,7 @@ declare type Responsive = {
|
|
|
4689
4689
|
};
|
|
4690
4690
|
};
|
|
4691
4691
|
|
|
4692
|
-
declare type ProductGalleryMobileProps = {
|
|
4692
|
+
declare type ProductGalleryMobileProps$1 = {
|
|
4693
4693
|
images: ContentType[];
|
|
4694
4694
|
topTag?: JSX.Element;
|
|
4695
4695
|
bottomTag?: JSX.Element;
|
|
@@ -4698,7 +4698,7 @@ declare type ProductGalleryMobileProps = {
|
|
|
4698
4698
|
thumbnailSettings?: ThumbnailSettings;
|
|
4699
4699
|
isRatioSquare?: boolean;
|
|
4700
4700
|
};
|
|
4701
|
-
declare const ProductGalleryMobileV5: react__default.FC<ProductGalleryMobileProps>;
|
|
4701
|
+
declare const ProductGalleryMobileV5: react__default.FC<ProductGalleryMobileProps$1>;
|
|
4702
4702
|
|
|
4703
4703
|
declare type ProductGalleryMobileV6Props = {
|
|
4704
4704
|
images: ContentType[];
|
|
@@ -4710,6 +4710,24 @@ declare type ProductGalleryMobileV6Props = {
|
|
|
4710
4710
|
};
|
|
4711
4711
|
declare const ProductGalleryMobileV6: FC<ProductGalleryMobileV6Props>;
|
|
4712
4712
|
|
|
4713
|
+
interface ProductGalleryMobileProps {
|
|
4714
|
+
images: ContentType[];
|
|
4715
|
+
customClick?: boolean;
|
|
4716
|
+
topTag?: JSX.Element;
|
|
4717
|
+
bottomTag?: JSX.Element;
|
|
4718
|
+
productImageDataTestId?: string;
|
|
4719
|
+
borderRadiusVariant?: boolean;
|
|
4720
|
+
selectedValue?: ContentType;
|
|
4721
|
+
hasToPreserveOrder?: boolean;
|
|
4722
|
+
itemsOnViewport?: number;
|
|
4723
|
+
videoAutoplay?: boolean;
|
|
4724
|
+
hideVideoControls?: boolean;
|
|
4725
|
+
videoMuted?: boolean;
|
|
4726
|
+
videoLoop?: boolean;
|
|
4727
|
+
version?: string;
|
|
4728
|
+
}
|
|
4729
|
+
declare const ProductGalleryMobileV7: react__default.FC<ProductGalleryMobileProps>;
|
|
4730
|
+
|
|
4713
4731
|
interface TableProps$1 {
|
|
4714
4732
|
headers: string[];
|
|
4715
4733
|
data: string[][];
|
|
@@ -4934,4 +4952,4 @@ declare const isNumber: (value: string) => boolean;
|
|
|
4934
4952
|
declare const isPhoneNumber: (value: string) => boolean;
|
|
4935
4953
|
declare const isValidDate: (value: string) => boolean;
|
|
4936
4954
|
|
|
4937
|
-
export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, ArrowTip, AssetsProvider, Autoship, AutoshipFrequency, AutoshipFrequencyDropdown, AutoshipOfferCard, AutoshipOfferCardCta, AutoshipPdpCard, AutoshipV2, BasicAccordion, BeforeAfterCard, BeforeAfterVariant, BenefitsList, BenefitsListProps, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, CTAProps, CancellationFlowAccordionContentPerPartner, _default as Card, CardSectionType, CartItemCard, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferSelector, ClubOfferSelector2, ClubOfferTag, ClubPriceMemberLabel, ClubRadioGroupInput, Collection, ColorPickerOption, ColorPickerWithTooltip, ColorSelector, ColorsState, CommonProps, ComponentPosition, ComponentSize, ContentType, CouponCard, index_d as CrossSell, DateFormat, DateFormatType, DeliveryDetails, DeviceType, DiscountTag, Drawer, DropdownDialog, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, Filters, FitGuarantee, FitPredictor, GreetingsCard, HorizontalDivider, HorizontalDividerProps, HurryUp, HurryUpProps, ISubscriptionFrequencyDropdown, Icon, IconButton, IconName, IconProps, IconWithOpacityProps, IconsWithTitle, IconsWithTitleList, Image, ImageCardWithDescription, ImageProps, Input, InputValidationType, JoinClubCard, Icon$1 as LibIcon, IconProps$1 as LibIconProps, LikeButton, LikeButtonColors, LikeButtonProps, Modal, MotivatorProgressBar, MultiColorPicker, Note, OfferAtCart, OfferAtCartBenefitProps, OfferAtCartProps, OfferAtCartV2, OfferAtCartV3, OfferAtCartV4, OfferAtPDP, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, Partner, PartnerContent, Pattern, PatternSelector, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, PriceLabelV3, PriceLabelV5, PriceLabelV6, PriceType, ProductCard, ProductCardV2, ProductCardV3, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProductGalleryMobileV3, ProductGalleryMobileV4, ProductGalleryMobileV5, ProductGalleryMobileV6, ProgressBar, QuantityPicker, RadioConfig, RadioGroupInput, RadioGroupOption, RadioInput, RadioPrimary, RadiosConfig, Rating, Review, Review$1 as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchBarOptionItem, SearchNavigation, SeasonOfferTag, SelectorOnChangeProps, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeChartTableV2, SizeChartTableV3, SizeChartTableV4, SizeDropdown, SizeFitGuide, SizeOption, SizeOptionProps, SizeSelector, SizeTable, SliderNavigation, SmartDropdown, Spacing, Spinner, SpinnerProps, StarList, StrengthBars, SubscriptionPlanSelector, SubscriptionPlanSelectorProps, SubscriptionPlanSelectorRadios, Tab, Tabs, Text, TextButton, TextWithImage, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeProviderProps, ThemeTypography, ThemeVariables, Timer, Toast, ToggleComponent, Tooltip, TooltipContent, TooltipHeader, TooltipType, Totals, TrackingProgress, TrackingProgressV2, TwoCtasAtCart, Video, VideoProps, WithBenefits, WithChildren, WithTestId, benefits, benefitsRawHtml, benefitsRawHtmlV2, buildImageUrl, componentSizeMapper, debounce, decimalFormat, formatDate, formatPrice, getSrcSet, imageVideoProps, isDangerouslySetInnerHTML, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sizeOptions, sliceString, title, useDeviceType, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useViewportAwarePosition, useWindowDimensions };
|
|
4955
|
+
export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, ArrowTip, AssetsProvider, Autoship, AutoshipFrequency, AutoshipFrequencyDropdown, AutoshipOfferCard, AutoshipOfferCardCta, AutoshipPdpCard, AutoshipV2, BasicAccordion, BeforeAfterCard, BeforeAfterVariant, BenefitsList, BenefitsListProps, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, CTAProps, CancellationFlowAccordionContentPerPartner, _default as Card, CardSectionType, CartItemCard, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferSelector, ClubOfferSelector2, ClubOfferTag, ClubPriceMemberLabel, ClubRadioGroupInput, Collection, ColorPickerOption, ColorPickerWithTooltip, ColorSelector, ColorsState, CommonProps, ComponentPosition, ComponentSize, ContentType, CouponCard, index_d as CrossSell, DateFormat, DateFormatType, DeliveryDetails, DeviceType, DiscountTag, Drawer, DropdownDialog, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, Filters, FitGuarantee, FitPredictor, GreetingsCard, HorizontalDivider, HorizontalDividerProps, HurryUp, HurryUpProps, ISubscriptionFrequencyDropdown, Icon, IconButton, IconName, IconProps, IconWithOpacityProps, IconsWithTitle, IconsWithTitleList, Image, ImageCardWithDescription, ImageProps, Input, InputValidationType, JoinClubCard, Icon$1 as LibIcon, IconProps$1 as LibIconProps, LikeButton, LikeButtonColors, LikeButtonProps, Modal, MotivatorProgressBar, MultiColorPicker, Note, OfferAtCart, OfferAtCartBenefitProps, OfferAtCartProps, OfferAtCartV2, OfferAtCartV3, OfferAtCartV4, OfferAtPDP, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, Partner, PartnerContent, Pattern, PatternSelector, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, PriceLabelV3, PriceLabelV5, PriceLabelV6, PriceType, ProductCard, ProductCardV2, ProductCardV3, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProductGalleryMobileV3, ProductGalleryMobileV4, ProductGalleryMobileV5, ProductGalleryMobileV6, ProductGalleryMobileV7, ProgressBar, QuantityPicker, RadioConfig, RadioGroupInput, RadioGroupOption, RadioInput, RadioPrimary, RadiosConfig, Rating, Review, Review$1 as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchBarOptionItem, SearchNavigation, SeasonOfferTag, SelectorOnChangeProps, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeChartTableV2, SizeChartTableV3, SizeChartTableV4, SizeDropdown, SizeFitGuide, SizeOption, SizeOptionProps, SizeSelector, SizeTable, SliderNavigation, SmartDropdown, Spacing, Spinner, SpinnerProps, StarList, StrengthBars, SubscriptionPlanSelector, SubscriptionPlanSelectorProps, SubscriptionPlanSelectorRadios, Tab, Tabs, Text, TextButton, TextWithImage, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeProviderProps, ThemeTypography, ThemeVariables, Timer, Toast, ToggleComponent, Tooltip, TooltipContent, TooltipHeader, TooltipType, Totals, TrackingProgress, TrackingProgressV2, TwoCtasAtCart, Video, VideoProps, WithBenefits, WithChildren, WithTestId, benefits, benefitsRawHtml, benefitsRawHtmlV2, buildImageUrl, componentSizeMapper, debounce, decimalFormat, formatDate, formatPrice, getSrcSet, imageVideoProps, isDangerouslySetInnerHTML, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sizeOptions, sliceString, title, useDeviceType, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useViewportAwarePosition, useWindowDimensions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("tslib")
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),o=require("@emotion/styled"),i=require("react"),r=require("./components/ImageProductSlide.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n,a=d(o).default.div(n||(n=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n height: fit-content;\n position: relative;\n max-width: 450px;\n"],["\n display: flex;\n flex-direction: column;\n height: fit-content;\n position: relative;\n max-width: 450px;\n"])));exports.ProductGalleryMobileV7=function(o){var d=o.images,n=o.customClick,l=o.topTag,s=o.bottomTag,u=o.productImageDataTestId,v=o.borderRadiusVariant,c=void 0!==v&&v,p=o.selectedValue,m=o.hasToPreserveOrder,f=void 0!==m&&m,x=o.itemsOnViewport,g=void 0===x?1:x,h=o.videoAutoplay,b=void 0!==h&&h,y=o.hideVideoControls,V=void 0!==y&&y,j=o.videoMuted,T=void 0===j||j,_=o.videoLoop,q=void 0===_||_,C=o.version,O=void 0===C?"v1":C,w=i.useState(0),I=w[0],M=w[1],P=f?null==d?void 0:d[I]:p;return t.jsx(a,e.__assign({"data-testid":"product-gallery-mobile-v1"},{children:t.jsx(r,{contents:d,customClick:n,topTag:l,bottomTag:s,testId:u,borderRadiusVariant:c,selectedValue:P,onChange:function(e){return M(e)},itemsOnViewport:g,videoAutoplay:b,hideVideoControls:V,videoMuted:T,videoLoop:q,version:O},void 0)}),void 0)};
|
|
2
2
|
//# sourceMappingURL=ProductGalleryMobile.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("tslib"),r=require("react/jsx-runtime"),i=require("@ant-design/react-slick"),t=require("react"),s=require("../../../../atoms/Image/Image.js"),o=require("../../../../cta/primary/ButtonPrimary.js");require("@emotion/react/jsx-runtime"),require("../../../../../core/theme/Theme.js"),require("../../../../../types/enums.js"),require("../../../../cta/styled.js");var l=require("../../../../modal/Modal.js"),a=require("../../../../../hooks/useDeviceType/useDeviceType.js"),u=require("../../../../../hooks/usePreventVerticalScroll/usePreventVerticalScroll.js"),d=require("../../../../icons/index.js");require("../../../../PackSelectorV2/PackSelectoV2.js"),require("../../../../absorbency-level/AbsorbencyLevel.js"),require("../../../../accordion-options/AccordionOptions.js"),require("../../../../accordion/Accordion.js"),require("../../../../../utils/constants/offerAtCart.js"),require("../../../../../utils/media.js"),require("../../../../../utils/mock-content/CancellationFlowAccordion.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"),require("../../../../pricing/discount/styled.js"),require("../../../../pricing/styles.js"),require("../../../../atoms/PriceLabel/PriceLabel.js"),require("../../../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js"),require("../../../../atoms/HorizontalDivider/HorizontalDivider.js");var n=require("../../../../atoms/Icon/Icon.js");require("../../../../atoms/PriceLabelV2/PriceLabelV2.js"),require("../../../../atoms/Toggle/toggle.styled.js"),require("../../../../pricing/priceLabelV3/PriceLabelV3.js"),require("../../../../pricing/priceLabelV5/PriceLabelV5.styled.js"),require("../../../../pricing/priceLabelV6/PriceLabelV6.styled.js"),require("../../../../shared/card/Card.js"),require("../../../../bundle/minimalistic/styled.js"),require("../../../../text/Text.js"),require("../../../../bundle/motivator/styled.js"),require("../../../../bundle/simple/Simple.js"),require("../../../../buynowpaylater/BuyNowPayLater.js"),require("../../../../offer-banner/OfferBanner.js"),require("../../../../cartProductItem/CloseIcon/CloseButton.js"),require("../../../../cartProductItem/Description/Description.js"),require("../../../../cartProductItem/Promo/Promo.js"),require("../../../../cartProductItem/Title/Title.js"),require("../../../../cartProductItem/TrashIcon/styled.js"),require("../../../../checkbox/Checkbox.js"),require("../../../../collection/grid/WithProductGrid.js"),require("../../../../SkeletonBox/SkeletonBox.js"),require("../../../../club-price-label/ClubPriceLabel.js"),require("../../../../strength-bars/StrengthBars.js"),require("../../../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js"),require("../../../../rating/starList/StarList.js"),require("../../../../rating/styles.js"),require("../../../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js"),require("../../../../molecules/CouponCard/styled.js"),require("@emotion/react"),require("../../../../molecules/ArrowTip/ArrowTip.styled.js"),require("../../../../molecules/BenefitsList/styled.js"),require("../../../../timer/styled.js"),require("../../../../molecules/HurryUp/styled.js"),require("../../../../molecules/Spinner/styled.js"),require("../../../../molecules/Video/components/styled.js"),require("../../../../molecules/Video/styled.js"),require("../../../../iconsWithTitle/index.js"),require("../../../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js"),require("../../../../molecules/LikeButton/styled.js"),require("../../../../icon-button/IconButton.js"),require("../../../../molecules/ScarcityTag/ScarcityTag.styled.js"),require("../../../../pricing/priceLabelV4/PriceLabelV4.js"),require("../../../../collection/product/mobile/styled.js"),require("../../../../tag/variants/product/styled.js"),require("../../../../collection/product/truekind/styled.js"),require("../../../../color/ColorRadioGroup.js"),require("../../../../color/selector/PatternSelector.js"),require("../../../../color/styles/ColorPickerwithTootip.styled.js"),require("../../../../cross-sell/Checkbox/CrossSellCheckbox.js"),require("../../../../delivery-details/DeliveryDetails.js"),require("../../../../delivery-details/Note/Note.js"),require("../../../../drawer/style.js"),require("../../../../dropdown-list-icons/Styled.js"),require("../../../../dropdown/size-dropdown/Styled.js"),require("../../../../dropdown/variants/dialog/DropdownDialog.js"),require("../../../../dropdown/base/BaseDropdown.js"),require("@headlessui/react"),require("../../../../input/base/Error.js"),require("../../../../shared/select/BaseSelect.js"),require("../../../../dropdown/variants/smart/styled.js"),require("../../../../filtering/Accordion.js"),require("../../../../filtering/FiltersStyled.js"),require("../../../../filtering/Tags/Tags.js"),require("../../../../fit-guarantee/FitGuarantee.js"),require("../../../../fit/FitPredictor.js"),require("../../../../slider/ArrowButton.js"),require("../../../../slider/StyledSlider.js"),require("../../../../gallery/components/ImageSmallPreview/styled.js"),require("../../../../gallery/components/ImagePreviewList/styled.js"),require("../../../../gallery/components/ImageProductSlide/styled.js"),require("../../../../gallery/styled.js"),require("../../../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js"),require("../../../../image-card/ImageCard.js"),require("../../../../input/label/Label.js"),require("../../../../input/base/Styled.js"),require("../../../../input/custom/Custom.js"),require("../../../../input/basePlusButton/BasePlusButton.js"),require("../../../../input/basePlusIcon/BasePlusIcon.js"),require("../../../../motivator-progress-bar/MotivatorProgressBar.js"),require("../../../../order-bar/OrderBar.js"),require("../../../../packs/selector/PackSelector.js"),require("../../../../pagination/styles.js"),require("../../../../payment-methods/PaymentMethod.js"),require("../../../../product/order/item/SimpleOrderItem.js"),require("../../../../progress-bar/ProgressBar.js"),require("../../../../quantityPicker/styled.js"),require("../../../../radio/RadioPrimary/radioPrimary.js"),require("../../../../radio/clubRadioInput/clubRadio.js"),require("../../../../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("../../../../textWithImage/index.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("../../../AutoshipOfferCard/AutoshipOfferCardItem.styled.js"),require("../../../AutoshipOfferCardCta/AutoshipOfferCardItem.styled.js"),require("../../../AutoshipPdpCard/AutoshipPdpCard.styled.js"),require("../../../BasicAccordion/BasicAccordion.js"),require("../../../CartItemCard/CartItem.js"),require("../../../ClubOfferSelector/styled.js"),require("../../../ClubOfferSelector2/styled.js"),require("../../../JoinClubCard/joinClubCard.js"),require("../../../OfferAtCart/styled.js"),require("../../../OfferAtCartV2/styled.js"),require("../../../OfferAtCartV3/styled.js"),require("../../../OfferAtCartV4/styled.js"),require("../../../OfferAtPDP/styled.js"),require("../../../OfferAtPDP/types.js"),require("../../../ProductCard/ProductCardV1/ProductCard.js"),require("../../../ProductCard/ProductCardV2/styled.js"),require("../../../ProductCard/ProductCardV3/styled.js"),require("../../ProductGalleryMobileV1/ProductGalleryMobile.js"),require("../../ProductGalleryMobileV2/ProductGalleryMobileV2.js"),require("../../ProductGalleryMobileV3/ProductGalleryMobileV3.js");var c=require("../../utils/sendCommandToIframe.js");require("../../ProductGalleryMobileV4/ContentGallery/styled.js"),require("react-inner-image-zoom"),require("../../ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js"),require("../../ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js"),require("../../ProductGalleryMobileV4/GalleryDetailed/styled.js"),require("../../ProductGalleryMobileV5/styled.js"),require("../../ProductGalleryMobileV6/ColorVariantsGallery/styled.js"),require("../../ProductGalleryMobileV6/MainGallery/styled.js"),require("../../ProductGalleryMobileV6/styled.js"),require("../ProductGalleryMobile.js"),require("../../../SizeCharTable/SizeChartTableV2/styled.js"),require("../../../SizeCharTable/SizeChartTableV3/styled.js"),require("../../../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js"),require("../../../SubscriptionPlanSelector/styled.js"),require("../../../TwoCtasAtCart/Greeting.styled.js"),require("../../../TwoCtasAtCart/Card.styled.js");var j=require("./ImageProductSlide.styled.js"),q=require("./VideoDisplay.js"),y=require("./ZoomModal.js"),m=require("./ZoomModalV2.js");function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var b=p(i),g={dots:!0,infinite:!1,speed:200,slidesToShow:1,slidesToScroll:1,initialSlide:0};module.exports=function(i){var p=i.contents,v=i.customClick,C=void 0!==v&&v,f=i.topTag,h=i.bottomTag,P=i.testId,S=i.borderRadiusVariant,V=i.selectedValue,T=i.onChange,x=i.version,I=t.useRef(null),w=t.useRef(null),A=t.useState(!1),B=A[0],k=A[1],G=t.useState(0),M=G[0],L=G[1],z="mobile"===a(),O="zoom-modal-".concat(P||"default");u.usePreventVerticalScroll(w);var D=t.useCallback((function(e){var r;null===(r=I.current)||void 0===r||r.slickGoTo(e)}),[I]),R=t.useCallback((function(){"v1"===x?l.modalEvent("".concat(O,"-v1"),{type:"open"}):l.modalEvent("".concat(O,"-v2"),{type:"open"})}),[O,x]);return t.useEffect((function(){var e;if(V){var r=p.findIndex((function(e){return e.url===V.url}));-1!==r&&(null===(e=I.current)||void 0===e||e.slickGoTo(r))}}),[p,V]),r.jsxs(r.Fragment,{children:[C&&r.jsx("div",e.__assign({style:{display:"flex",marginBottom:"20px",gap:"10px"}},{children:p.map((function(e,i){return r.jsx(o,{onClick:function(){return D(i)},text:String(i+1),inline:!0},e.key||"button-".concat(i))}))}),void 0),r.jsx(j.Container,e.__assign({"data-testid":P,borderRadiusVariant:S,ref:w},{children:r.jsx(b.default,e.__assign({afterChange:function(e){var r,i=p[e];(null===(r=null==i?void 0:i.url)||void 0===r?void 0:r.includes("autoplay=1"))?c.playVideoCommand():c.stopVideoCommand(),L(e),null==T||T(e)}},g,{nextArrow:r.jsx(j.NavButtonContainer,{children:r.jsx(j.Button,{children:r.jsx(d.Icon.Arrows.ChevronRight,{height:2.125,width:1.25,fill:"#292929"},void 0)},void 0)},void 0),prevArrow:r.jsx(j.NavButtonContainer,{children:r.jsx(j.Button,{children:r.jsx(d.Icon.Arrows.ChevronLeft,{height:2.125,width:1.25,fill:"#292929"},void 0)},void 0)},void 0),ref:I,vertical:B,rows:1},{children:p.map((function(i){var t,o=null==i?void 0:i.url,l=null!==(t=null==i?void 0:i.isVideo)&&void 0!==t&&t,a=(i.alt,"100%"),u="510px";return r.jsx("div",{children:l?r.jsx(q.VideoDisplay,{content:i},i.key):r.jsxs(r.Fragment,{children:[r.jsx(s.Image,{src:o,height:u,alt:i.alt,width:a},void 0),f&&r.jsx(j.TopTagContainer,e.__assign({borderRadiusVariant:S,"data-testid":"topTag"},{children:f}),void 0),r.jsx(j.BottomTagContainer,e.__assign({onClick:function(){return k(!0)},"data-testid":"bottomTag"},{children:h}),void 0),r.jsx(j.ZoomButtonContainer,e.__assign({isMobile:z},{children:r.jsx(j.ZoomButton,e.__assign({onClick:R,"data-testid":"zoom-button","aria-label":"Zoom image"},{children:r.jsx(n.Icon,{name:"pdp/zoom",height:1.5,width:1.5},void 0)}),void 0)}),void 0)]},void 0)},i.key)}))}),void 0)}),void 0),"v1"===x?r.jsx(y.ZoomModal,{modalId:"".concat(O,"-v1"),contents:p,initialSlide:M},void 0):r.jsx(m.ZoomModalV2,{modalId:"".concat(O,"-v2"),contents:p,initialSlide:M},void 0)]},void 0)};
|
|
2
|
+
//# sourceMappingURL=ImageProductSlide.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageProductSlide.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var n=require("tslib");function e(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var t,r,
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("tslib");function e(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var t,o,r,i,a,d,s,u=e(require("@emotion/styled")),l=u.default.div(t||(t=n.__makeTemplateObject(["\n ","\n position: relative;\n max-height: 524px;\n overflow: hidden;\n & .slick-dots li.slick-active button:before {\n background-color: ",";\n }\n"],["\n ","\n position: relative;\n max-height: 524px;\n overflow: hidden;\n & .slick-dots li.slick-active button:before {\n background-color: ",";\n }\n"])),(function(n){return n.borderRadiusVariant&&"\n border-radius: 40px;\n "}),(function(n){return n.theme.component.slideNavigation.slideDots.selectedDotColor})),p=u.default.div(o||(o=n.__makeTemplateObject(["\n position: absolute;\n left: ",";\n top: ",";\n"],["\n position: absolute;\n left: ",";\n top: ",";\n"])),(function(n){return n.borderRadiusVariant?"13px":"0"}),(function(n){return n.borderRadiusVariant?"11px":"0"})),b=u.default.div(r||(r=n.__makeTemplateObject(["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"],["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"]))),c=u.default.div(i||(i=n.__makeTemplateObject(["\n position: absolute;\n ","\n right: 0.5rem;\n z-index: 10;\n"],["\n position: absolute;\n ","\n right: 0.5rem;\n z-index: 10;\n"])),(function(n){return n.isMobile?"bottom: 3rem;":"top: 1rem;"})),m=u.default.button(a||(a=n.__makeTemplateObject(["\n background: rgba(41, 41, 41, 0.5);\n border: none;\n border-radius: 50%;\n padding: 0.75rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n backdrop-filter: blur(4px);\n\n &:hover {\n background: rgba(0, 0, 0, 0.8);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"],["\n background: rgba(41, 41, 41, 0.5);\n border: none;\n border-radius: 50%;\n padding: 0.75rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n backdrop-filter: blur(4px);\n\n &:hover {\n background: rgba(0, 0, 0, 0.8);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"]))),f=u.default.div(d||(d=n.__makeTemplateObject(["\n height: 40px;\n width: 40px;\n"],["\n height: 40px;\n width: 40px;\n"]))),g=u.default.button(s||(s=n.__makeTemplateObject(["\n background: transparent;\n border: none;\n padding: 0.188rem 0.625rem;\n z-index: 5;\n height: 40px !important;\n cursor: pointer;\n"],["\n background: transparent;\n border: none;\n padding: 0.188rem 0.625rem;\n z-index: 5;\n height: 40px !important;\n cursor: pointer;\n"])));exports.BottomTagContainer=b,exports.Button=g,exports.Container=l,exports.NavButtonContainer=f,exports.TopTagContainer=p,exports.ZoomButton=m,exports.ZoomButtonContainer=c;
|
|
2
2
|
//# sourceMappingURL=ImageProductSlide.styled.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("../../../../PackSelectorV2/PackSelectoV2.js"),require("../../../../absorbency-level/AbsorbencyLevel.js"),require("../../../../accordion-options/AccordionOptions.js"),require("../../../../accordion/Accordion.js"),require("tslib"),require("react"),require("../../../../../types/enums.js"),require("../../../../../core/theme/Theme.js"),require("../../../../../utils/constants/offerAtCart.js"),require("../../../../../utils/media.js"),require("../../../../../utils/mock-content/CancellationFlowAccordion.js"),require("../../../../dropdown/variants/simple/SimpleDropdown.js"),require("../../../../pricing/clubOffer/ClubOfferTag.js"),require("../../../../pricing/discount/styled.js"),require("../../../../pricing/styles.js"),require("../../../../tooltip/Styled.js"),require("../../../../atoms/PriceLabel/PriceLabel.js"),require("../../../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js"),require("../../../../atoms/HorizontalDivider/HorizontalDivider.js"),require("../../../../atoms/Icon/Icon.js"),require("../../../../atoms/Image/styled.js"),require("../../../../atoms/PriceLabelV2/PriceLabelV2.js"),require("../../../../atoms/Toggle/toggle.styled.js"),require("../../../../radio/input/styles.js"),require("../../../../autoship/styled.js"),require("../../../../autoshipV2/styled.js"),require("../../../../before-after/BeforeAfter.js"),require("../../../../pricing/priceLabelV3/PriceLabelV3.js"),require("../../../../pricing/priceLabelV5/PriceLabelV5.styled.js"),require("../../../../pricing/priceLabelV6/PriceLabelV6.styled.js"),require("../../../../shared/card/Card.js"),require("../../../../bundle/minimalistic/styled.js"),require("../../../../text/Text.js"),require("../../../../bundle/motivator/styled.js"),require("../../../../bundle/simple/Simple.js"),require("../../../../buynowpaylater/BuyNowPayLater.js"),require("../../../../offer-banner/OfferBanner.js"),require("../../../../cartProductItem/CloseIcon/CloseButton.js"),require("../../../../cartProductItem/Description/Description.js"),require("../../../../cartProductItem/Promo/Promo.js"),require("../../../../cartProductItem/Title/Title.js"),require("../../../../cartProductItem/TrashIcon/styled.js"),require("../../../../checkbox/Checkbox.js"),require("../../../../collection/grid/WithProductGrid.js"),require("@emotion/react/jsx-runtime"),require("../../../../SkeletonBox/SkeletonBox.js"),require("../../../../club-price-label/ClubPriceLabel.js"),require("../../../../strength-bars/StrengthBars.js"),require("../../../../pricing/priceLabelV4/PriceLabelV4.js"),require("../../../../rating/starList/StarList.js"),require("../../../../rating/styles.js"),require("../../../../collection/product/mobile/styled.js"),require("../../../../icon-button/IconButton.js"),require("../../../../tag/variants/product/styled.js"),require("../../../../collection/product/truekind/styled.js"),require("../../../../color/ColorRadioGroup.js"),require("../../../../color/selector/PatternSelector.js"),require("../../../../color/styles/ColorPickerwithTootip.styled.js"),require("../../../../cross-sell/Checkbox/CrossSellCheckbox.js"),require("../../../../cta/styled.js"),require("../../../../delivery-details/DeliveryDetails.js"),require("../../../../delivery-details/Note/Note.js"),require("../../../../drawer/style.js"),require("../../../../dropdown-list-icons/Styled.js"),require("../../../../dropdown/size-dropdown/Styled.js"),require("../../../../dropdown/variants/dialog/DropdownDialog.js"),require("../../../../dropdown/base/BaseDropdown.js"),require("@headlessui/react"),require("../../../../input/base/Error.js"),require("../../../../shared/select/BaseSelect.js"),require("../../../../dropdown/variants/smart/styled.js"),require("../../../../filtering/Accordion.js"),require("../../../../filtering/FiltersStyled.js"),require("../../../../filtering/Tags/Tags.js"),require("../../../../fit-guarantee/FitGuarantee.js"),require("../../../../fit/FitPredictor.js");var r=require("../../../../molecules/Video/Video.js");require("../../../../slider/ArrowButton.js"),require("../../../../slider/StyledSlider.js"),require("../../../../gallery/components/ImageSmallPreview/styled.js"),require("../../../../gallery/components/ImagePreviewList/styled.js"),require("../../../../gallery/components/ImageProductSlide/styled.js"),require("../../../../gallery/styled.js"),require("../../../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js"),require("../../../../iconsWithTitle/index.js"),require("../../../../image-card/ImageCard.js"),require("../../../../input/label/Label.js"),require("../../../../input/base/Styled.js"),require("../../../../input/custom/Custom.js"),require("../../../../input/basePlusButton/BasePlusButton.js"),require("../../../../input/basePlusIcon/BasePlusIcon.js"),require("../../../../modal/Modal.js"),require("../../../../motivator-progress-bar/MotivatorProgressBar.js"),require("../../../../order-bar/OrderBar.js"),require("../../../../packs/selector/PackSelector.js"),require("../../../../pagination/styles.js"),require("../../../../payment-methods/PaymentMethod.js"),require("../../../../product/order/item/SimpleOrderItem.js"),require("../../../../progress-bar/ProgressBar.js"),require("../../../../quantityPicker/styled.js"),require("../../../../radio/RadioPrimary/radioPrimary.js"),require("../../../../radio/clubRadioInput/clubRadio.js"),require("../../../../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("../../../AutoshipOfferCard/AutoshipOfferCardItem.styled.js"),require("../../../AutoshipOfferCardCta/AutoshipOfferCardItem.styled.js"),require("../../../AutoshipPdpCard/AutoshipPdpCard.styled.js"),require("../../../BasicAccordion/BasicAccordion.js"),require("../../../CartItemCard/CartItem.js"),require("../../../ClubOfferSelector/styled.js"),require("../../../ClubOfferSelector2/styled.js"),require("../../../JoinClubCard/joinClubCard.js"),require("../../../OfferAtCart/styled.js"),require("../../../OfferAtCartV2/styled.js"),require("../../../OfferAtCartV3/styled.js"),require("../../../OfferAtCartV4/styled.js"),require("../../../OfferAtPDP/styled.js"),require("../../../OfferAtPDP/types.js"),require("../../../ProductCard/ProductCardV1/ProductCard.js"),require("../../../ProductCard/ProductCardV2/styled.js"),require("../../../ProductCard/ProductCardV3/styled.js"),require("../../ProductGalleryMobileV1/ProductGalleryMobile.js"),require("../../ProductGalleryMobileV2/ProductGalleryMobileV2.js"),require("../../ProductGalleryMobileV3/ProductGalleryMobileV3.js"),require("@ant-design/react-slick"),require("../../ProductGalleryMobileV4/ContentGallery/styled.js"),require("react-inner-image-zoom"),require("../../ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js"),require("../../ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js"),require("../../ProductGalleryMobileV4/GalleryDetailed/styled.js"),require("../../ProductGalleryMobileV5/styled.js"),require("../../ProductGalleryMobileV6/ColorVariantsGallery/styled.js"),require("../../ProductGalleryMobileV6/MainGallery/styled.js"),require("../../ProductGalleryMobileV6/styled.js"),require("../ProductGalleryMobile.js"),require("../../../SizeCharTable/SizeChartTableV2/styled.js"),require("../../../SizeCharTable/SizeChartTableV3/styled.js"),require("../../../../molecules/ArrowTip/ArrowTip.styled.js"),require("../../../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js"),require("../../../SubscriptionPlanSelector/styled.js"),require("../../../TwoCtasAtCart/Greeting.styled.js"),require("../../../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"),require("../../../../molecules/LikeButton/styled.js"),require("../../../../molecules/ScarcityTag/ScarcityTag.styled.js");exports.VideoDisplay=function(i){var s=i.content,t=i.videoAutoplay,o=void 0===t||t,l=i.videoMuted,u=void 0===l||l,a=i.videoLoop,d=void 0===a||a,c=i.hideVideoControls,n=void 0===c||c;return e.jsx(r.Video,{source:s.url,thumbnail:null==s?void 0:s.thumbnailUrl,autoPlay:o,muted:u,loop:d,withProgressBar:!n,style:n?{pointerEvents:"none"}:void 0,preload:"auto"},s.key)};
|
|
2
|
+
//# sourceMappingURL=VideoDisplay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoDisplay.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),o=require("@ant-design/react-slick"),r=require("react"),n=require("../../../../modal/Modal.js"),s=require("../../../../../hooks/useDeviceType/useDeviceType.js");require("../../../../../types/enums.js"),require("../../../../../core/theme/Theme.js");var l=require("../../../../icons/index.js"),t=require("./VideoDisplay.js"),d=require("./zoomModal.styled.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=a(o);exports.ZoomModal=function(o){var a=o.modalId,u=o.contents,v=o.initialSlide,h=void 0===v?0:v,j=o.title,f=void 0===j?"Zoom":j,x=n.useModal(a),m=x.opened,p=x.close,g="mobile"===s(),k=r.useRef(null),_=r.useCallback((function(){p()}),[p]),C=r.useCallback((function(){k.current&&k.current.slickNext()}),[]),y=r.useCallback((function(){k.current&&k.current.slickPrev()}),[]);r.useEffect((function(){m&&k.current&&k.current.slickGoTo(h)}),[m,h]);var q=function(e){return i.jsx(d.ZoomImage,{src:e.thumbnailUrl||e.url,alt:e.alt,width:"100%",height:"510px"},e.key)};return i.jsx(d.ZoomModalWrapper,e.__assign({id:a,maxFullScreen:!0,dismissable:!0},{children:i.jsxs(d.ZoomModalContainer,{children:[i.jsxs(d.ZoomModalHeader,{children:[i.jsx(d.ZoomModalTitle,{children:f},void 0),i.jsx(d.CloseButton,e.__assign({onClick:_,"data-testid":"zoom-modal-close"},{children:i.jsx(l.Icon.Actions.Close,{height:1,width:1,fill:"#666"},void 0)}),void 0)]},void 0),g?i.jsx(d.VerticalScrollContainer,{children:i.jsx(c.default,e.__assign({verticalSwiping:!0,vertical:!0,infinite:!0,arrows:!1,dots:!1,slidesToShow:2,slidesToScroll:2,initialSlide:h,centerMode:!0,centerPadding:"16px"},{children:u.map((function(e){return(null==e?void 0:e.isVideo)?i.jsx(t.VideoDisplay,{content:e},e.key):q(e)}))}),void 0)},void 0):i.jsx(d.DesktopSliderContainer,{children:i.jsxs(d.SliderWrapper,{children:[i.jsx(c.default,e.__assign({ref:k,slidesToShow:5,slidesToScroll:5,infinite:!1,dots:!0,arrows:!1},{children:u.map((function(e){return(null==e?void 0:e.isVideo)?i.jsx(t.VideoDisplay,{content:e},e.key):q(e)}))}),void 0),i.jsx(d.NavigationButton,e.__assign({isLeft:!0,onClick:y},{children:i.jsx(l.Icon.Arrows.ChevronLeft,{height:1,width:1,fill:"#292929"},void 0)}),void 0),i.jsx(d.NavigationButton,e.__assign({onClick:C},{children:i.jsx(l.Icon.Arrows.ChevronRight,{height:1,width:1,fill:"#292929"},void 0)}),void 0)]},void 0)},void 0)]},void 0)}),void 0)};
|
|
2
|
+
//# sourceMappingURL=ZoomModal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoomModal.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),i=require("@ant-design/react-slick"),s=require("react"),t=require("react-zoom-pan-pinch"),o=require("../../../../modal/Modal.js"),l=require("../../../../../hooks/useDeviceType/useDeviceType.js");require("../../../../../types/enums.js"),require("../../../../../core/theme/Theme.js");var a=require("../../../../atoms/Image/Image.js"),u=require("../../../../icons/index.js");require("../../../../PackSelectorV2/PackSelectoV2.js"),require("../../../../absorbency-level/AbsorbencyLevel.js"),require("../../../../accordion-options/AccordionOptions.js"),require("../../../../accordion/Accordion.js"),require("../../../../../utils/constants/offerAtCart.js"),require("../../../../../utils/media.js"),require("../../../../../utils/mock-content/CancellationFlowAccordion.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"),require("../../../../pricing/discount/styled.js"),require("../../../../pricing/styles.js"),require("../../../../atoms/PriceLabel/PriceLabel.js"),require("../../../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js"),require("../../../../atoms/HorizontalDivider/HorizontalDivider.js");var d=require("../../../../atoms/Icon/Icon.js");require("../../../../atoms/PriceLabelV2/PriceLabelV2.js"),require("../../../../atoms/Toggle/toggle.styled.js"),require("../../../../pricing/priceLabelV3/PriceLabelV3.js"),require("../../../../pricing/priceLabelV5/PriceLabelV5.styled.js"),require("../../../../pricing/priceLabelV6/PriceLabelV6.styled.js"),require("../../../../shared/card/Card.js"),require("../../../../bundle/minimalistic/styled.js"),require("../../../../text/Text.js"),require("../../../../bundle/motivator/styled.js"),require("../../../../bundle/simple/Simple.js"),require("../../../../buynowpaylater/BuyNowPayLater.js"),require("../../../../offer-banner/OfferBanner.js"),require("../../../../cartProductItem/CloseIcon/CloseButton.js"),require("../../../../cartProductItem/Description/Description.js"),require("../../../../cartProductItem/Promo/Promo.js"),require("../../../../cartProductItem/Title/Title.js"),require("../../../../cartProductItem/TrashIcon/styled.js"),require("../../../../checkbox/Checkbox.js"),require("../../../../collection/grid/WithProductGrid.js"),require("@emotion/react/jsx-runtime"),require("../../../../SkeletonBox/SkeletonBox.js"),require("../../../../club-price-label/ClubPriceLabel.js"),require("../../../../strength-bars/StrengthBars.js"),require("../../../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js"),require("../../../../rating/starList/StarList.js"),require("../../../../rating/styles.js"),require("../../../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js"),require("../../../../molecules/CouponCard/styled.js"),require("@emotion/react"),require("../../../../molecules/ArrowTip/ArrowTip.styled.js"),require("../../../../molecules/BenefitsList/styled.js"),require("../../../../timer/styled.js"),require("../../../../molecules/HurryUp/styled.js"),require("../../../../molecules/Spinner/styled.js"),require("../../../../molecules/Video/components/styled.js"),require("../../../../molecules/Video/styled.js"),require("../../../../iconsWithTitle/index.js"),require("../../../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js"),require("../../../../molecules/LikeButton/styled.js"),require("../../../../icon-button/IconButton.js"),require("../../../../molecules/ScarcityTag/ScarcityTag.styled.js"),require("../../../../pricing/priceLabelV4/PriceLabelV4.js"),require("../../../../collection/product/mobile/styled.js"),require("../../../../tag/variants/product/styled.js"),require("../../../../collection/product/truekind/styled.js"),require("../../../../color/ColorRadioGroup.js"),require("../../../../color/selector/PatternSelector.js"),require("../../../../color/styles/ColorPickerwithTootip.styled.js"),require("../../../../cross-sell/Checkbox/CrossSellCheckbox.js"),require("../../../../cta/styled.js"),require("../../../../delivery-details/DeliveryDetails.js"),require("../../../../delivery-details/Note/Note.js"),require("../../../../drawer/style.js"),require("../../../../dropdown-list-icons/Styled.js"),require("../../../../dropdown/size-dropdown/Styled.js"),require("../../../../dropdown/variants/dialog/DropdownDialog.js"),require("../../../../dropdown/base/BaseDropdown.js"),require("@headlessui/react"),require("../../../../input/base/Error.js"),require("../../../../shared/select/BaseSelect.js"),require("../../../../dropdown/variants/smart/styled.js"),require("../../../../filtering/Accordion.js"),require("../../../../filtering/FiltersStyled.js"),require("../../../../filtering/Tags/Tags.js"),require("../../../../fit-guarantee/FitGuarantee.js"),require("../../../../fit/FitPredictor.js"),require("../../../../slider/ArrowButton.js"),require("../../../../slider/StyledSlider.js"),require("../../../../gallery/components/ImageSmallPreview/styled.js"),require("../../../../gallery/components/ImagePreviewList/styled.js"),require("../../../../gallery/components/ImageProductSlide/styled.js"),require("../../../../gallery/styled.js"),require("../../../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js"),require("../../../../image-card/ImageCard.js"),require("../../../../input/label/Label.js"),require("../../../../input/base/Styled.js"),require("../../../../input/custom/Custom.js"),require("../../../../input/basePlusButton/BasePlusButton.js"),require("../../../../input/basePlusIcon/BasePlusIcon.js"),require("../../../../motivator-progress-bar/MotivatorProgressBar.js"),require("../../../../order-bar/OrderBar.js"),require("../../../../packs/selector/PackSelector.js"),require("../../../../pagination/styles.js"),require("../../../../payment-methods/PaymentMethod.js"),require("../../../../product/order/item/SimpleOrderItem.js"),require("../../../../progress-bar/ProgressBar.js"),require("../../../../quantityPicker/styled.js"),require("../../../../radio/RadioPrimary/radioPrimary.js"),require("../../../../radio/clubRadioInput/clubRadio.js"),require("../../../../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("../../../../textWithImage/index.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("../../../AutoshipOfferCard/AutoshipOfferCardItem.styled.js"),require("../../../AutoshipOfferCardCta/AutoshipOfferCardItem.styled.js"),require("../../../AutoshipPdpCard/AutoshipPdpCard.styled.js"),require("../../../BasicAccordion/BasicAccordion.js"),require("../../../CartItemCard/CartItem.js"),require("../../../ClubOfferSelector/styled.js"),require("../../../ClubOfferSelector2/styled.js"),require("../../../JoinClubCard/joinClubCard.js"),require("../../../OfferAtCart/styled.js"),require("../../../OfferAtCartV2/styled.js"),require("../../../OfferAtCartV3/styled.js"),require("../../../OfferAtCartV4/styled.js"),require("../../../OfferAtPDP/styled.js"),require("../../../OfferAtPDP/types.js"),require("../../../ProductCard/ProductCardV1/ProductCard.js"),require("../../../ProductCard/ProductCardV2/styled.js"),require("../../../ProductCard/ProductCardV3/styled.js"),require("../../ProductGalleryMobileV1/ProductGalleryMobile.js"),require("../../ProductGalleryMobileV2/ProductGalleryMobileV2.js"),require("../../ProductGalleryMobileV3/ProductGalleryMobileV3.js"),require("../../ProductGalleryMobileV4/ContentGallery/styled.js"),require("react-inner-image-zoom"),require("../../ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js"),require("../../ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js"),require("../../ProductGalleryMobileV4/GalleryDetailed/styled.js"),require("../../ProductGalleryMobileV5/styled.js"),require("../../ProductGalleryMobileV6/ColorVariantsGallery/styled.js"),require("../../ProductGalleryMobileV6/MainGallery/styled.js"),require("../../ProductGalleryMobileV6/styled.js"),require("../ProductGalleryMobile.js"),require("../../../SizeCharTable/SizeChartTableV2/styled.js"),require("../../../SizeCharTable/SizeChartTableV3/styled.js"),require("../../../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js"),require("../../../SubscriptionPlanSelector/styled.js"),require("../../../TwoCtasAtCart/Greeting.styled.js"),require("../../../TwoCtasAtCart/Card.styled.js");var n=require("./VideoDisplay.js"),c=require("./ZoomModalV2.styled.js");function j(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var q=j(i);exports.ZoomModalV2=function(i){var j=i.modalId,y=i.contents,m=i.initialSlide,p=void 0===m?0:m,h=o.useModal(j),b=h.opened,f=h.close,g="mobile"===l(),C=s.useRef(null),v=s.useRef(null),P=s.useState(p),S=P[0],x=P[1],w=s.useCallback((function(){f()}),[f]),V=s.useCallback((function(){C.current&&C.current.slickNext()}),[]),T=s.useCallback((function(){C.current&&C.current.slickPrev()}),[]);return s.useEffect((function(){b&&(x(p),C.current&&C.current.slickGoTo(p))}),[b,p]),g?r.jsx(c.ZoomModalWrapper,e.__assign({id:j,dismissable:!0,maxFullScreen:!0},{children:r.jsx(c.MobileImageContainer,{children:r.jsx(q.default,e.__assign({ref:C,slidesToShow:1,slidesToScroll:1,infinite:!1,dots:!1,arrows:!1,initialSlide:p,afterChange:function(e){return x(e)}},{children:y.map((function(i,s){var o=Boolean(null==i?void 0:i.isVideo);return r.jsxs(r.Fragment,{children:[o?r.jsx(n.VideoDisplay,{content:i},i.key):r.jsx(t.TransformWrapper,e.__assign({ref:v,initialScale:1,minScale:1,maxScale:3,centerOnInit:!0,wheel:{step:.1},pinch:{step:5}},{children:function(s){var o=s.zoomIn,l=s.zoomOut;return r.jsxs(r.Fragment,{children:[r.jsx(t.TransformComponent,{children:r.jsx(a.Image,{src:i.thumbnailUrl||i.url,alt:i.alt,width:"100%",height:"100vh",objectFit:"cover"},void 0)},void 0),r.jsxs(c.SlideCounterBadge,{children:[S+1," / ",y.length]},void 0),r.jsxs(c.ZoomControlsContainer,{children:[r.jsx(c.ZoomMinusButton,e.__assign({onClick:function(){return l(1)}},{children:r.jsx(u.Icon.Actions.Minus,{height:1,width:1,fill:"#fff"},void 0)}),void 0),r.jsx(c.ZoomPlusButton,e.__assign({onClick:function(){return o(1)}},{children:r.jsx(d.Icon,{name:"pdp/plus",height:1,width:1,fill:"#fff"},void 0)}),void 0)]},void 0)]},void 0)}}),void 0),r.jsx(c.CloseButtonTopRight,e.__assign({onClick:w,"data-testid":"zoom-modal-v2-close"},{children:r.jsx(u.Icon.Actions.Close,{height:1,width:1,fill:"#000"},void 0)}),void 0),s>0&&r.jsx(c.NavButton,e.__assign({isLeft:!0,onClick:T},{children:r.jsx(u.Icon.Arrows.ChevronLeft,{height:1,width:1,fill:"#000"},void 0)}),void 0),r.jsx(c.NavButton,e.__assign({onClick:V},{children:r.jsx(u.Icon.Arrows.ChevronRight,{height:1,width:1,fill:"#000"},void 0)}),void 0)]},void 0)}))}),void 0)},void 0)}),void 0):r.jsxs("div",{children:[r.jsx(c.ZoomModalWrapper,e.__assign({id:j,dismissable:!0,width:"530px",maxFullScreen:!1},{children:r.jsx(q.default,e.__assign({ref:C,slidesToShow:1,slidesToScroll:1,infinite:!1,dots:!1,arrows:!0,initialSlide:p},{children:y.map((function(e,i){return(null==e?void 0:e.isVideo)?r.jsx(n.VideoDisplay,{content:e},e.key):r.jsx(a.Image,{src:e.thumbnailUrl||e.url,alt:e.alt||"Thumbnail ".concat(i+1),width:"530px",height:"100%"},e.key||i)}))}),void 0)}),void 0),b&&r.jsx(c.CloseWrapper,{children:r.jsx(c.CloseButton,e.__assign({onClick:w,"data-testid":"zoom-modal-v2-close"},{children:r.jsx(u.Icon.Actions.Close,{height:1,width:1,fill:"#292929"},void 0)}),void 0)},void 0),b&&r.jsxs(c.NavWrapper,{children:[r.jsx(c.DesktopNavButton,e.__assign({isLeft:!0,onClick:T},{children:r.jsx(u.Icon.Arrows.ChevronLeft,{height:1,width:1,fill:"#292929"},void 0)}),void 0),r.jsx(c.DesktopNavButton,e.__assign({onClick:V},{children:r.jsx(u.Icon.Arrows.ChevronRight,{height:1,width:1,fill:"#292929"},void 0)}),void 0)]},void 0)]},void 0)};
|
|
2
|
+
//# sourceMappingURL=ZoomModalV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoomModalV2.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var n=require("tslib"),e=require("@emotion/styled"),t=require("../../../../modal/Modal.js");function r(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var a,
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("tslib"),e=require("@emotion/styled"),t=require("../../../../modal/Modal.js");function r(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,a,i,s,p,d,l,f,c,x,u,b,g=r(e),m=g.default.button(o||(o=n.__makeTemplateObject(["\n border-radius: 50%;\n padding: 0.5rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--neutrals-white-ffffff, #fff);\n gap: 8px;\n border-radius: 99px;\n border: none;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n"],["\n border-radius: 50%;\n padding: 0.5rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--neutrals-white-ffffff, #fff);\n gap: 8px;\n border-radius: 99px;\n border: none;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n"]))),h=g.default(t.Modal)(a||(a=n.__makeTemplateObject(["\n div {\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n }\n"],["\n div {\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n }\n"]))),k=g.default.button(i||(i=n.__makeTemplateObject(["\n background: rgba(255, 255, 255, 0.9);\n border: none;\n border-radius: 50%;\n padding: 0.5rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n z-index: 10;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n ","\n &:hover {\n background: rgba(255, 255, 255, 1);\n }\n"],["\n background: rgba(255, 255, 255, 0.9);\n border: none;\n border-radius: 50%;\n padding: 0.5rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n z-index: 10;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n ","\n &:hover {\n background: rgba(255, 255, 255, 1);\n }\n"])),(function(n){return n.isLeft?"left: 10px;":"right: 10px;"})),y=g.default.div(s||(s=n.__makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n position: fixed;\n width: 90%;\n z-index: 10000;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n"],["\n display: flex;\n justify-content: space-between;\n position: fixed;\n width: 90%;\n z-index: 10000;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n"]))),j=g.default.div(p||(p=n.__makeTemplateObject(["\n position: fixed;\n top: 20px;\n z-index: 10000;\n width: 94%;\n display: flex;\n justify-content: flex-end;\n"],["\n position: fixed;\n top: 20px;\n z-index: 10000;\n width: 94%;\n display: flex;\n justify-content: flex-end;\n"]))),v=g.default.div(d||(d=n.__makeTemplateObject(["\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #000;\n"],["\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #000;\n"]))),w=g.default.div(l||(l=n.__makeTemplateObject(["\n position: absolute;\n display: flex;\n padding: 2px;\n justify-content: center;\n align-items: center;\n gap: 8px;\n left: 10px;\n font-size: 16px;\n top: 10px;\n border-radius: 60px;\n background: rgba(41, 41, 41, 0.5);\n color: #fff;\n width: 56px;\n height: 28px;\n"],["\n position: absolute;\n display: flex;\n padding: 2px;\n justify-content: center;\n align-items: center;\n gap: 8px;\n left: 10px;\n font-size: 16px;\n top: 10px;\n border-radius: 60px;\n background: rgba(41, 41, 41, 0.5);\n color: #fff;\n width: 56px;\n height: 28px;\n"]))),_=g.default.button(f||(f=n.__makeTemplateObject(["\n position: absolute;\n top: 10px;\n right: 20px;\n width: 34px;\n height: 34px;\n border-radius: 50%;\n background: #fff;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: all 0.2s ease;\n z-index: 1000;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n\n &:hover {\n background: #f5f5f5;\n transform: scale(1.05);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"],["\n position: absolute;\n top: 10px;\n right: 20px;\n width: 34px;\n height: 34px;\n border-radius: 50%;\n background: #fff;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: all 0.2s ease;\n z-index: 1000;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n\n &:hover {\n background: #f5f5f5;\n transform: scale(1.05);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"]))),z=g.default.button(c||(c=n.__makeTemplateObject(["\n position: absolute;\n top: 50%;\n ","\n transform: translateY(-50%);\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background: #fff;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: all 0.2s ease;\n z-index: 1000;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n\n &:hover {\n background: #f5f5f5;\n transform: translateY(-50%) scale(1.05);\n }\n\n &:active {\n transform: translateY(-50%) scale(0.95);\n }\n"],["\n position: absolute;\n top: 50%;\n ","\n transform: translateY(-50%);\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background: #fff;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: all 0.2s ease;\n z-index: 1000;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n\n &:hover {\n background: #f5f5f5;\n transform: translateY(-50%) scale(1.05);\n }\n\n &:active {\n transform: translateY(-50%) scale(0.95);\n }\n"])),(function(n){return n.isLeft?"left: 20px;":"right: 20px;"})),O=g.default.div(x||(x=n.__makeTemplateObject(["\n position: absolute;\n bottom: 20px;\n right: 20px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n z-index: 1000;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n"],["\n position: absolute;\n bottom: 20px;\n right: 20px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n z-index: 1000;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n"]))),T=g.default.button(u||(u=n.__makeTemplateObject(["\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.6);\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: all 0.2s ease;\n backdrop-filter: blur(10px);\n\n &:hover {\n background: rgba(0, 0, 0, 0.8);\n transform: scale(1.05);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"],["\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.6);\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: all 0.2s ease;\n backdrop-filter: blur(10px);\n\n &:hover {\n background: rgba(0, 0, 0, 0.8);\n transform: scale(1.05);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"]))),B=g.default.button(b||(b=n.__makeTemplateObject(["\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.6);\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: all 0.2s ease;\n backdrop-filter: blur(10px);\n\n &:hover {\n background: rgba(0, 0, 0, 0.8);\n transform: scale(1.05);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"],["\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.6);\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: all 0.2s ease;\n backdrop-filter: blur(10px);\n\n &:hover {\n background: rgba(0, 0, 0, 0.8);\n transform: scale(1.05);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"])));exports.CloseButton=m,exports.CloseButtonTopRight=_,exports.CloseWrapper=j,exports.DesktopNavButton=k,exports.MobileImageContainer=v,exports.NavButton=z,exports.NavWrapper=y,exports.SlideCounterBadge=w,exports.ZoomControlsContainer=O,exports.ZoomMinusButton=T,exports.ZoomModalWrapper=h,exports.ZoomPlusButton=B;
|
|
2
2
|
//# sourceMappingURL=ZoomModalV2.styled.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var n=require("tslib"),e=require("@emotion/styled"),t=require("../../../../atoms/Image/Image.js"),i=require("../../../../modal/Modal.js");function r(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("tslib"),e=require("@emotion/styled"),t=require("../../../../atoms/Image/Image.js"),i=require("../../../../modal/Modal.js");function r(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o=r(e),l=o.default.div(f||(f=n.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n background-color: #ffffff;\n"],["\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n background-color: #ffffff;\n"]))),a=o.default.div(m||(m=n.__makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-bottom: 1px solid #e0e0e0;\n"],["\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-bottom: 1px solid #e0e0e0;\n"]))),d=o.default.h2(g||(g=n.__makeTemplateObject(["\n margin: 0;\n font-size: 1.25rem;\n font-weight: 600;\n color: #333;\n padding: 15px;\n"],["\n margin: 0;\n font-size: 1.25rem;\n font-weight: 600;\n color: #333;\n padding: 15px;\n"]))),s=o.default.button(x||(x=n.__makeTemplateObject(["\n background: none;\n border: none;\n cursor: pointer;\n padding: 0.5rem;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n margin-right: 10px;\n &:hover {\n background-color: #f5f5f5;\n }\n"],["\n background: none;\n border: none;\n cursor: pointer;\n padding: 0.5rem;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n margin-right: 10px;\n &:hover {\n background-color: #f5f5f5;\n }\n"])));o.default.div(u||(u=n.__makeTemplateObject(["\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 1rem;\n\n .slick-slider {\n width: 100%;\n height: 100%;\n }\n\n .slick-track {\n display: flex;\n ","\n }\n\n .slick-slide {\n height: ",";\n }\n\n .slick-dots {\n bottom: 1rem;\n }\n"],["\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 1rem;\n\n .slick-slider {\n width: 100%;\n height: 100%;\n }\n\n .slick-track {\n display: flex;\n ","\n }\n\n .slick-slide {\n height: ",";\n }\n\n .slick-dots {\n bottom: 1rem;\n }\n"])),(function(n){return n.isMobile?"flex-direction: column;":"flex-direction: row;"}),(function(n){return n.isMobile?"auto":"100%"}));var c=o.default.div(b||(b=n.__makeTemplateObject(["\n flex: 1;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n padding: 0;\n\n /* Hide scrollbar */\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n\n &::-webkit-scrollbar {\n display: none; /* WebKit */\n }\n"],["\n flex: 1;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n padding: 0;\n\n /* Hide scrollbar */\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n\n &::-webkit-scrollbar {\n display: none; /* WebKit */\n }\n"])));o.default.div(h||(h=n.__makeTemplateObject(["\n flex: 1;\n display: flex;\n flex-direction: row;\n overflow-y: auto;\n padding: 0;\n gap: 5px;\n\n /* Hide scrollbar */\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n\n &::-webkit-scrollbar {\n display: none; /* WebKit */\n }\n"],["\n flex: 1;\n display: flex;\n flex-direction: row;\n overflow-y: auto;\n padding: 0;\n gap: 5px;\n\n /* Hide scrollbar */\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n\n &::-webkit-scrollbar {\n display: none; /* WebKit */\n }\n"]))),o.default.div(y||(y=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n ","\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n ","\n"])),(function(n){return n.isMobile?"height: 510px;":"min-height: 510px;"})),o.default.div(k||(k=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 510px;\n padding: 0;\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 510px;\n padding: 0;\n"])));var p=o.default(t.Image)(w||(w=n.__makeTemplateObject(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","\n"],["\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","\n"])),(function(n){var e=n.marginRight;return e&&"padding-right: ".concat(e,";")}));o.default.div(v||(v=n.__makeTemplateObject(["\n height: 40px;\n width: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n"],["\n height: 40px;\n width: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])));var f,m,g,x,u,b,h,y,k,w,v,j,_,O,T,M=o.default(i.Modal)(j||(j=n.__makeTemplateObject(["\n div {\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n }\n"],["\n div {\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n }\n"]))),I=o.default.div(_||(_=n.__makeTemplateObject(["\n flex: 1;\n display: flex;\n flex-direction: column;\n padding: 1rem;\n"],["\n flex: 1;\n display: flex;\n flex-direction: column;\n padding: 1rem;\n"]))),W=o.default.div(O||(O=n.__makeTemplateObject(["\n position: relative;\n width: 100%;\n height: 100%;\n"],["\n position: relative;\n width: 100%;\n height: 100%;\n"]))),H=o.default.button(T||(T=n.__makeTemplateObject(["\n position: absolute;\n ","\n top: 25%;\n transform: translateY(-50%);\n background: rgba(255, 255, 255, 0.9);\n border: none;\n border-radius: 50%;\n padding: 0.5rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n z-index: 10;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n\n &:hover {\n background: rgba(255, 255, 255, 1);\n }\n"],["\n position: absolute;\n ","\n top: 25%;\n transform: translateY(-50%);\n background: rgba(255, 255, 255, 0.9);\n border: none;\n border-radius: 50%;\n padding: 0.5rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n z-index: 10;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n\n &:hover {\n background: rgba(255, 255, 255, 1);\n }\n"])),(function(n){return n.isLeft?"left: 10px;":"right: 10px;"}));exports.CloseButton=s,exports.DesktopSliderContainer=I,exports.NavigationButton=H,exports.SliderWrapper=W,exports.VerticalScrollContainer=c,exports.ZoomImage=p,exports.ZoomModalContainer=l,exports.ZoomModalHeader=a,exports.ZoomModalTitle=d,exports.ZoomModalWrapper=M;
|
|
2
2
|
//# sourceMappingURL=zoomModal.styled.js.map
|
package/build/lib/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./components/PackSelectorV2/PackSelectoV2.js"),r=require("./components/absorbency-level/AbsorbencyLevel.js"),o=require("./components/accordion-options/AccordionOptions.js"),t=require("./components/accordion/Accordion.js"),s=require("./components/autoship/autoShip.js"),i=require("./components/autoshipV2/autoshipV2.js"),n=require("./components/before-after/BeforeAfter.js"),a=require("./components/bundle/index.js"),p=require("./components/buynowpaylater/BuyNowPayLater.js"),c=require("./components/cartProductItem/index.js"),u=require("./components/checkbox/Checkbox.js"),l=require("./components/collection/index.js"),m=require("./components/color/ColorPickerWithTooltip.js"),d=require("./components/color/MultiColorPicker.js"),x=require("./components/color/SingleColorPicker.js"),b=require("./components/color/selector/ColorSelector.js"),P=require("./components/color/selector/PatternSelector.js"),j=require("./components/cross-sell/index.js"),q=require("./components/cta/primary/ButtonPrimary.js"),g=require("./components/cta/secondary/ButtonSecondary.js"),f=require("./components/cta/secondary/ButtonSecondaryOutline.js");require("tslib"),require("@emotion/react/jsx-runtime");var C=require("./core/theme/Theme.js");require("react/jsx-runtime");var y=require("./types/enums.js");require("./components/cta/styled.js");var S=require("./components/delivery-details/DeliveryDetails.js"),T=require("./components/delivery-details/Note/Note.js"),h=require("./components/drawer/Drawer.js"),V=require("./components/dropdown-list-icons/DropdownListIcons.js"),A=require("./components/dropdown/size-dropdown/SizeDropdown.js"),O=require("./components/dropdown/variants/dialog/DropdownDialog.js"),v=require("./components/dropdown/variants/filtering/FilteringDropdown.js"),w=require("./components/dropdown/variants/simple/SimpleDropdown.js"),B=require("./components/dropdown/variants/smart/SmartDropdown.js"),M=require("./components/filtering/Filters.js"),D=require("./components/filtering/Tags/Tags.js"),I=require("./components/fit-guarantee/FitGuarantee.js"),L=require("./components/fit/FitPredictor.js"),G=require("./components/gallery/ProductGallery.js"),z=require("./components/icon-button/IconButton.js"),k=require("./components/icon-button/amazonAndPaypal/AmazonPaypalButtons.js"),F=require("./components/icons/index.js"),R=require("./components/iconsWithTitle/index.js"),H=require("./components/image-card/ImageCard.js"),W=require("./components/input/index.js"),N=require("./components/modal/Modal.js"),E=require("./components/motivator-progress-bar/MotivatorProgressBar.js"),U=require("./components/offer-banner/OfferBanner.js"),Q=require("./components/order-bar/OrderBar.js"),J=require("./components/packs/selector/PackSelector.js"),_=require("./components/pagination/Pagination.js"),K=require("./components/pagination/blogPaginator/PaginatorBlog.js"),X=require("./components/payment-methods/PaymentMethod.js"),Y=require("./components/pricing/clubOffer/ClubOfferTag.js"),Z=require("./components/pricing/discount/DiscountTag.js"),$=require("./components/pricing/price/PriceLabel.js"),ee=require("./components/pricing/priceLabelV2/PriceLabelV2.js"),re=require("./components/pricing/priceLabelV3/PriceLabelV3.js"),oe=require("./components/pricing/priceLabelV5/PriceLabelV5.js"),te=require("./components/pricing/priceLabelV6/PriceLabelV6.js"),se=require("./components/product/order/item/SimpleOrderItem.js"),ie=require("./components/progress-bar/ProgressBar.js"),ne=require("./components/quantityPicker/QuantityPicker.js"),ae=require("./components/radio/RadioPrimary/radioPrimary.js"),pe=require("./components/radio/container/group.js"),ce=require("./components/radio/clubContainer/clubGroup.js"),ue=require("./components/radio/input/radio.js"),le=require("./components/rating/Rating.js"),me=require("./components/rating/starList/StarList.js"),de=require("./components/review-detail/ReviewDetail.js"),xe=require("./components/review/Review.js"),be=require("./components/reviews-header/ReviewsHeader.js"),Pe=require("./components/scroll-to-top/ScrollToTop.js"),je=require("./components/search-bar/SearchBar.js"),qe=require("./components/search-navigation/SearchNavigation.js"),ge=require("./components/shared/card/Card.js"),fe=require("./components/shared/portal/Portal.js"),Ce=require("./components/shared/spacing/Spacing.js"),ye=require("./components/short-banner/ShortBanner.js"),Se=require("./components/size-chart/SizeChart.js"),Te=require("./components/size-table/SizeTable.js"),he=require("./components/size/guide/SizeFitGuide.js"),Ve=require("./components/size/selector/SizeSelector.js"),Ae=require("./components/slider/SliderNavigation.js"),Oe=require("./components/strength-bars/StrengthBars.js"),ve=require("./components/tabs/Tab.js"),we=require("./components/tabs/Tabs.js"),Be=require("./components/tag/variants/pdp/category/CategoryTag.js"),Me=require("./components/tag/variants/pdp/categorySquare/CategorySquareTag.js"),De=require("./components/tag/variants/pdp/season-offer-rounded/SeasonOfferRounded.js"),Ie=require("./components/tag/variants/pdp/season-offer/SeasonOfferTag.js");require("./components/tag/variants/product/styled.js");var Le=require("./components/text-button/TextButton.js"),Ge=require("./components/text/Text.js"),ze=require("./components/textWithImage/index.js"),ke=require("./components/timer/Timer.js"),Fe=require("./components/toast/Toast.js"),Re=require("./components/tooltip/Tooltip.js"),He=require("./components/totals/index.js"),We=require("./components/tracking-progress-v2/TrackingProgressV2.js"),Ne=require("./components/tracking-progress/TrackingProgress.js"),Ee=require("./components/organisms/AutoshipOfferCard/AutoshipOfferCardItem.js"),Ue=require("./components/organisms/AutoshipOfferCardCta/AutoshipOfferCardItemCta.js"),Qe=require("./components/organisms/AutoshipPdpCard/AutoshipPdpCard.js"),Je=require("./components/organisms/BasicAccordion/BasicAccordion.js"),_e=require("./components/organisms/CartItemCard/CartItem.js"),Ke=require("./components/organisms/ClubOfferSelector/clubOfferSelector.js"),Xe=require("./components/organisms/ClubOfferSelector2/clubOfferSelector2.js"),Ye=require("./components/organisms/JoinClubCard/joinClubCard.js"),Ze=require("./components/organisms/OfferAtCart/OfferAtCart.js"),$e=require("./components/organisms/OfferAtCartV2/OfferAtCartV2.js"),er=require("./components/organisms/OfferAtCartV3/OfferAtCartV3.js"),rr=require("./components/organisms/OfferAtCartV4/OfferAtCartV4.js"),or=require("./components/organisms/OfferAtPDP/OfferAtPDP.js");require("./components/organisms/OfferAtPDP/types.js");var tr=require("./components/organisms/ProductCard/ProductCardV1/ProductCard.js"),sr=require("./components/organisms/ProductCard/ProductCardV2/ProductCardV2.js"),ir=require("./components/organisms/ProductCard/ProductCardV3/ProductCardV3.js"),nr=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js"),ar=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js"),pr=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js"),cr=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV4/ProductGalleryMobileV4.js"),ur=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/ProductGalleryMobileV5.js"),lr=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/ProductGalleryMobileV6.js");require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/ProductGalleryMobile.js");var mr=require("./components/organisms/SizeCharTable/SizeChartTableV2/SizeChartV2.js"),dr=require("./components/organisms/SizeCharTable/SizeChartTableV3/SizeChartTableV3.js"),xr=require("./components/organisms/SizeCharTable/SizeChartTableV4/SizeChartTableV4.js"),br=require("./components/organisms/SubscriptionPlanSelector/SubscriptionPlanSelector.js"),Pr=require("./components/organisms/TwoCtasAtCart/GreetingsCard.js"),jr=require("./components/organisms/TwoCtasAtCart/TwoCtasAtCart.js"),qr=require("./components/atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.js"),gr=require("./components/atoms/HorizontalDivider/HorizontalDivider.js"),fr=require("./components/atoms/Icon/Icon.js"),Cr=require("./components/atoms/Image/Image.js");require("./components/atoms/PriceLabel/PriceLabel.js"),require("./components/atoms/PriceLabelV2/PriceLabelV2.js");var yr=require("./components/atoms/Toggle/toggle.js");require("./components/molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js"),require("./components/molecules/OfferAtCartImage/OfferAtCartImage.styled.js");var Sr=require("./components/molecules/CouponCard/CouponCard.js"),Tr=require("./components/molecules/ArrowTip/ArrowTip.js"),hr=require("./components/molecules/AutoshipFrequencyDropdown/AutoshipFrequencyDropdown.js"),Vr=require("./components/molecules/BenefitsList/BenefitsList.js"),Ar=require("./components/molecules/HurryUp/HurryUp.js"),Or=require("./components/molecules/Spinner/Spinner.js"),vr=require("./components/molecules/Video/Video.js"),wr=require("./components/molecules/IconsWithTitleList/IconsWithTitleList.js"),Br=require("./components/molecules/LikeButton/LikeButton.js");require("./components/molecules/ScarcityTag/ScarcityTag.styled.js");var Mr=require("./components/before-after/types.js"),Dr=require("@emotion/cache"),Ir=require("@emotion/styled"),Lr=require("@emotion/react"),Gr=require("./hooks/click-outside.js"),zr=require("./hooks/useDeviceType/useDeviceType.js"),kr=require("./hooks/useViewportAwarePosition/useViewportAwarePosition.js"),Fr=require("./hooks/WindowDimensions.js"),Rr=require("./utils/buildImageUrl/buildImageUrl.js"),Hr=require("./utils/common/index.js"),Wr=require("./utils/constants/offerAtCart.js"),Nr=require("./utils/dateFormatter/dateFormatter.js"),Er=require("./utils/debounce/index.js"),Ur=require("./utils/decimalParser/decimalParser.js"),Qr=require("./utils/formatPrice/formatPrice.js"),Jr=require("./utils/getSrcSet/getSrcSet.js"),_r=require("./utils/media.js"),Kr=require("./utils/mock-content/CancellationFlowAccordion.js"),Xr=require("./utils/simulateClick/simulateClick.js"),Yr=require("./utils/sliceString/sliceString.js"),Zr=require("./utils/validations/validations.js");function $r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var eo=$r(Dr),ro=$r(Ir);exports.PackSelectorV2=e,exports.AbsorbencyLevel=r.AbsorbencyLevel,exports.AccordionOptions=o,exports.Accordion=t,exports.Autoship=s,exports.AutoshipV2=i,exports.BeforeAfterCard=n.BeforeAfterCard,exports.Bundle=a.Bundle,exports.BuyNowPayLater=p.BuyNowPayLater,exports.CartProductItem=c.CartProductItem,exports.Checkbox=u.Checkbox,exports.Collection=l.Collection,exports.ColorPickerWithTooltip=m,exports.MultiColorPicker=d,exports.SingleColorPicker=x.default,exports.ColorSelector=b.ColorSelector,exports.PatternSelector=P.PatternSelector,exports.CrossSell=j,exports.ButtonPrimary=q,exports.ButtonSecondary=g,exports.ButtonSecondaryOutline=f,exports.AssetsProvider=C.AssetsProvider,exports.ThemeProvider=C.ThemeProvider,exports.ThemeVariables=C.ThemeVariables,exports.useTheme=C.useTheme,exports.useThemeAssets=C.useThemeAssets,Object.defineProperty(exports,"CardSectionType",{enumerable:!0,get:function(){return y.CardSectionType}}),Object.defineProperty(exports,"ComponentPosition",{enumerable:!0,get:function(){return y.ComponentPosition}}),Object.defineProperty(exports,"ComponentSize",{enumerable:!0,get:function(){return y.ComponentSize}}),Object.defineProperty(exports,"InputValidationType",{enumerable:!0,get:function(){return y.InputValidationType}}),exports.DeliveryDetails=S.DeliveryDetails,exports.Note=T.Note,exports.Drawer=h.Drawer,exports.DropdownListIcons=V.DropdownListIcons,exports.SizeDropdown=A,exports.DropdownDialog=O,exports.FilteringDropdown=v,exports.SimpleDropdown=w,exports.SmartDropdown=B,exports.Filters=M.Filters,exports.FilteringTags=D.Tags,exports.FitGuarantee=I.FitGuarantee,exports.FitPredictor=L.FitPredictor,exports.ProductGallery=G.ProductGallery,exports.IconButton=z.IconButton,exports.AmazonButton=k.AmazonButton,exports.PaypalButton=k.PaypalButton,exports.Icon=F.Icon,exports.IconsWithTitle=R.IconsWithTitle,exports.ImageCardWithDescription=H.ImageCardWithDescription,exports.Input=W.Input,exports.Modal=N.Modal,exports.Overlay=N.Overlay,exports.modalEvent=N.modalEvent,exports.useModal=N.useModal,exports.useModalEvent=N.useModalEvent,exports.MotivatorProgressBar=E.MotivatorProgressBar,exports.OfferBanner=U.OfferBanner,exports.OrderBar=Q.OrderBar,exports.PackSelector=J,exports.Pagination=_.Pagination,exports.PaginatorBlog=K.PaginatorBlog,exports.PaymentMethod=X.PaymentMethod,exports.ClubOfferTag=Y.ClubOfferTag,exports.DiscountTag=Z.DiscountTag,exports.PriceLabel=$.PriceLabel,exports.PriceLabelV2=ee.PriceLabelV2,exports.PriceLabelV3=re.PriceLabelV3,exports.PriceLabelV5=oe.PriceLabelV5,exports.PriceLabelV6=te.PriceLabelV6,exports.SimpleOrderItem=se,exports.ProgressBar=ie.ProgressBar,exports.QuantityPicker=ne.QuantityPicker,exports.RadioPrimary=ae.RadioPrimary,exports.RadioGroupInput=pe.RadioGroupInput,exports.ClubRadioGroupInput=ce.ClubRadioGroupInput,exports.RadioInput=ue.RadioInput,exports.Rating=le.Rating,exports.StarList=me.StarList,exports.ReviewDetail=de,exports.Review=xe,exports.ReviewsHeader=be,exports.ScrollToTop=Pe.ScrollToTop,exports.SearchBar=je.SearchBar,exports.SearchNavigation=qe,exports.Card=ge,exports.Portal=fe.Portal,exports.Spacing=Ce.Spacing,exports.ShortBanner=ye.ShortBanner,exports.SizeChartTable=Se,exports.SizeTable=Te.SizeTable,exports.SizeFitGuide=he,exports.SizeSelector=Ve,exports.SliderNavigation=Ae,exports.StrengthBars=Oe.StrengthBars,exports.Tab=ve,exports.Tabs=we,exports.CategoryTag=Be,exports.CategorySquareTag=Me,exports.seasonOfferRoundedTag=De,exports.SeasonOfferTag=Ie,exports.TextButton=Le,exports.Text=Ge.Text,exports.TextWithImage=ze,exports.Timer=ke.Timer,exports.Toast=Fe.Toast,exports.Tooltip=Re.Tooltip,exports.Totals=He.Totals,exports.TrackingProgressV2=We,exports.TrackingProgress=Ne,exports.AutoshipOfferCard=Ee.AutoshipOfferCard,exports.AutoshipOfferCardCta=Ue.AutoshipOfferCardCta,exports.AutoshipPdpCard=Qe.AutoshipPdpCard,exports.BasicAccordion=Je.BasicAccordion,exports.CartItemCard=_e.CartItemCard,exports.ClubOfferSelector=Ke.ClubOfferSelector,exports.ClubOfferSelector2=Xe.ClubOfferSelector2,exports.JoinClubCard=Ye.JoinClubCard,exports.OfferAtCart=Ze.OfferAtCart,exports.OfferAtCartV2=$e.OfferAtCartV2,exports.OfferAtCartV3=er.OfferAtCartV3,exports.OfferAtCartV4=rr.OfferAtCartV4,exports.OfferAtPDP=or.OfferAtPDP,exports.ProductCard=tr.ProductCard,exports.ProductCardV2=sr.ProductCardV2,exports.ProductCardV3=ir.ProductCardV3,exports.ProductGalleryMobile=nr.ProductGalleryMobile,exports.ProductGalleryMobileV2=ar.ProductGalleryMobileV2,exports.ProductGalleryMobileV3=pr.ProductGalleryMobileV3,exports.ProductGalleryMobileV4=cr.ProductGalleryMobileV4,exports.ProductGalleryMobileV5=ur.ProductGalleryMobileV5,exports.ProductGalleryMobileV6=lr.ProductGalleryMobileV6,exports.SizeChartTableV2=mr.SizeChartTableV2,exports.SizeChartTableV3=dr.SizeChartTableV3,exports.SizeChartTableV4=xr.SizeChartTableV4,exports.SubscriptionPlanSelector=br.SubscriptionPlanSelector,exports.GreetingsCard=Pr.GreetingsCard,exports.TwoCtasAtCart=jr.TwoCtasAtCart,exports.ClubPriceMemberLabel=qr.ClubPriceMemberLabel,exports.HorizontalDivider=gr.HorizontalDivider,exports.LibIcon=fr.Icon,exports.Image=Cr.Image,exports.ToggleComponent=yr.ToggleComponent,exports.CouponCard=Sr.CouponCard,exports.ArrowTip=Tr.ArrowTip,exports.AutoshipFrequencyDropdown=hr.AutoshipFrequencyDropdown,exports.BenefitsList=Vr.BenefitsList,exports.HurryUp=Ar.HurryUp,exports.Spinner=Or.Spinner,exports.Video=vr.Video,exports.IconsWithTitleList=wr.IconsWithTitleList,exports.LikeButton=Br.LikeButton,Object.defineProperty(exports,"BeforeAfterVariant",{enumerable:!0,get:function(){return Mr.BeforeAfterVariant}}),exports.componentSizeMapper=Mr.componentSizeMapper,Object.defineProperty(exports,"createCache",{enumerable:!0,get:function(){return eo.default}}),Object.defineProperty(exports,"styled",{enumerable:!0,get:function(){return ro.default}}),Object.defineProperty(exports,"CacheProvider",{enumerable:!0,get:function(){return Lr.CacheProvider}}),Object.defineProperty(exports,"Global",{enumerable:!0,get:function(){return Lr.Global}}),Object.defineProperty(exports,"css",{enumerable:!0,get:function(){return Lr.css}}),exports.useOnClickOutside=Gr,exports.useDeviceType=zr,exports.useViewportAwarePosition=kr.useViewportAwarePosition,exports.useWindowDimensions=Fr.useWindowDimensions,exports.buildImageUrl=Rr.buildImageUrl,exports.isDangerouslySetInnerHTML=Hr.isDangerouslySetInnerHTML,exports.benefits=Wr.benefits,exports.benefitsRawHtml=Wr.benefitsRawHtml,exports.benefitsRawHtmlV2=Wr.benefitsRawHtmlV2,exports.sizeOptions=Wr.sizeOptions,exports.title=Wr.title,exports.DateFormat=Nr.DateFormat,exports.formatDate=Nr.formatDate,exports.debounce=Er.debounce,exports.decimalFormat=Ur.decimalFormat,exports.formatPrice=Qr.formatPrice,exports.getSrcSet=Jr.getSrcSet,exports.mediaQueries=_r.mediaQueries,exports.CancellationFlowAccordionContentPerPartner=Kr.CancellationFlowAccordionContentPerPartner,exports.simulateMouseClick=Xr.simulateMouseClick,exports.sliceString=Yr.sliceString,exports.isEmail=Zr.isEmail,exports.isEmpty=Zr.isEmpty,exports.isNumber=Zr.isNumber,exports.isPhoneNumber=Zr.isPhoneNumber,exports.isValidDate=Zr.isValidDate;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./components/PackSelectorV2/PackSelectoV2.js"),r=require("./components/absorbency-level/AbsorbencyLevel.js"),o=require("./components/accordion-options/AccordionOptions.js"),t=require("./components/accordion/Accordion.js"),s=require("./components/autoship/autoShip.js"),i=require("./components/autoshipV2/autoshipV2.js"),n=require("./components/before-after/BeforeAfter.js"),a=require("./components/bundle/index.js"),p=require("./components/buynowpaylater/BuyNowPayLater.js"),c=require("./components/cartProductItem/index.js"),u=require("./components/checkbox/Checkbox.js"),l=require("./components/collection/index.js"),m=require("./components/color/ColorPickerWithTooltip.js"),d=require("./components/color/MultiColorPicker.js"),x=require("./components/color/SingleColorPicker.js"),b=require("./components/color/selector/ColorSelector.js"),P=require("./components/color/selector/PatternSelector.js"),j=require("./components/cross-sell/index.js"),q=require("./components/cta/primary/ButtonPrimary.js"),g=require("./components/cta/secondary/ButtonSecondary.js"),f=require("./components/cta/secondary/ButtonSecondaryOutline.js");require("tslib"),require("@emotion/react/jsx-runtime");var C=require("./core/theme/Theme.js");require("react/jsx-runtime");var y=require("./types/enums.js");require("./components/cta/styled.js");var S=require("./components/delivery-details/DeliveryDetails.js"),T=require("./components/delivery-details/Note/Note.js"),V=require("./components/drawer/Drawer.js"),h=require("./components/dropdown-list-icons/DropdownListIcons.js"),A=require("./components/dropdown/size-dropdown/SizeDropdown.js"),O=require("./components/dropdown/variants/dialog/DropdownDialog.js"),v=require("./components/dropdown/variants/filtering/FilteringDropdown.js"),w=require("./components/dropdown/variants/simple/SimpleDropdown.js"),B=require("./components/dropdown/variants/smart/SmartDropdown.js"),M=require("./components/filtering/Filters.js"),D=require("./components/filtering/Tags/Tags.js"),I=require("./components/fit-guarantee/FitGuarantee.js"),L=require("./components/fit/FitPredictor.js"),G=require("./components/gallery/ProductGallery.js"),z=require("./components/icon-button/IconButton.js"),k=require("./components/icon-button/amazonAndPaypal/AmazonPaypalButtons.js"),F=require("./components/icons/index.js"),R=require("./components/iconsWithTitle/index.js"),H=require("./components/image-card/ImageCard.js"),W=require("./components/input/index.js"),N=require("./components/modal/Modal.js"),E=require("./components/motivator-progress-bar/MotivatorProgressBar.js"),U=require("./components/offer-banner/OfferBanner.js"),Q=require("./components/order-bar/OrderBar.js"),J=require("./components/packs/selector/PackSelector.js"),_=require("./components/pagination/Pagination.js"),K=require("./components/pagination/blogPaginator/PaginatorBlog.js"),X=require("./components/payment-methods/PaymentMethod.js"),Y=require("./components/pricing/clubOffer/ClubOfferTag.js"),Z=require("./components/pricing/discount/DiscountTag.js"),$=require("./components/pricing/price/PriceLabel.js"),ee=require("./components/pricing/priceLabelV2/PriceLabelV2.js"),re=require("./components/pricing/priceLabelV3/PriceLabelV3.js"),oe=require("./components/pricing/priceLabelV5/PriceLabelV5.js"),te=require("./components/pricing/priceLabelV6/PriceLabelV6.js"),se=require("./components/product/order/item/SimpleOrderItem.js"),ie=require("./components/progress-bar/ProgressBar.js"),ne=require("./components/quantityPicker/QuantityPicker.js"),ae=require("./components/radio/RadioPrimary/radioPrimary.js"),pe=require("./components/radio/container/group.js"),ce=require("./components/radio/clubContainer/clubGroup.js"),ue=require("./components/radio/input/radio.js"),le=require("./components/rating/Rating.js"),me=require("./components/rating/starList/StarList.js"),de=require("./components/review-detail/ReviewDetail.js"),xe=require("./components/review/Review.js"),be=require("./components/reviews-header/ReviewsHeader.js"),Pe=require("./components/scroll-to-top/ScrollToTop.js"),je=require("./components/search-bar/SearchBar.js"),qe=require("./components/search-navigation/SearchNavigation.js"),ge=require("./components/shared/card/Card.js"),fe=require("./components/shared/portal/Portal.js"),Ce=require("./components/shared/spacing/Spacing.js"),ye=require("./components/short-banner/ShortBanner.js"),Se=require("./components/size-chart/SizeChart.js"),Te=require("./components/size-table/SizeTable.js"),Ve=require("./components/size/guide/SizeFitGuide.js"),he=require("./components/size/selector/SizeSelector.js"),Ae=require("./components/slider/SliderNavigation.js"),Oe=require("./components/strength-bars/StrengthBars.js"),ve=require("./components/tabs/Tab.js"),we=require("./components/tabs/Tabs.js"),Be=require("./components/tag/variants/pdp/category/CategoryTag.js"),Me=require("./components/tag/variants/pdp/categorySquare/CategorySquareTag.js"),De=require("./components/tag/variants/pdp/season-offer-rounded/SeasonOfferRounded.js"),Ie=require("./components/tag/variants/pdp/season-offer/SeasonOfferTag.js");require("./components/tag/variants/product/styled.js");var Le=require("./components/text-button/TextButton.js"),Ge=require("./components/text/Text.js"),ze=require("./components/textWithImage/index.js"),ke=require("./components/timer/Timer.js"),Fe=require("./components/toast/Toast.js"),Re=require("./components/tooltip/Tooltip.js"),He=require("./components/totals/index.js"),We=require("./components/tracking-progress-v2/TrackingProgressV2.js"),Ne=require("./components/tracking-progress/TrackingProgress.js"),Ee=require("./components/organisms/AutoshipOfferCard/AutoshipOfferCardItem.js"),Ue=require("./components/organisms/AutoshipOfferCardCta/AutoshipOfferCardItemCta.js"),Qe=require("./components/organisms/AutoshipPdpCard/AutoshipPdpCard.js"),Je=require("./components/organisms/BasicAccordion/BasicAccordion.js"),_e=require("./components/organisms/CartItemCard/CartItem.js"),Ke=require("./components/organisms/ClubOfferSelector/clubOfferSelector.js"),Xe=require("./components/organisms/ClubOfferSelector2/clubOfferSelector2.js"),Ye=require("./components/organisms/JoinClubCard/joinClubCard.js"),Ze=require("./components/organisms/OfferAtCart/OfferAtCart.js"),$e=require("./components/organisms/OfferAtCartV2/OfferAtCartV2.js"),er=require("./components/organisms/OfferAtCartV3/OfferAtCartV3.js"),rr=require("./components/organisms/OfferAtCartV4/OfferAtCartV4.js"),or=require("./components/organisms/OfferAtPDP/OfferAtPDP.js");require("./components/organisms/OfferAtPDP/types.js");var tr=require("./components/organisms/ProductCard/ProductCardV1/ProductCard.js"),sr=require("./components/organisms/ProductCard/ProductCardV2/ProductCardV2.js"),ir=require("./components/organisms/ProductCard/ProductCardV3/ProductCardV3.js"),nr=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js"),ar=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js"),pr=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js"),cr=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV4/ProductGalleryMobileV4.js"),ur=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/ProductGalleryMobileV5.js"),lr=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/ProductGalleryMobileV6.js"),mr=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/ProductGalleryMobile.js"),dr=require("./components/organisms/SizeCharTable/SizeChartTableV2/SizeChartV2.js"),xr=require("./components/organisms/SizeCharTable/SizeChartTableV3/SizeChartTableV3.js"),br=require("./components/organisms/SizeCharTable/SizeChartTableV4/SizeChartTableV4.js"),Pr=require("./components/organisms/SubscriptionPlanSelector/SubscriptionPlanSelector.js"),jr=require("./components/organisms/TwoCtasAtCart/GreetingsCard.js"),qr=require("./components/organisms/TwoCtasAtCart/TwoCtasAtCart.js"),gr=require("./components/atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.js"),fr=require("./components/atoms/HorizontalDivider/HorizontalDivider.js"),Cr=require("./components/atoms/Icon/Icon.js"),yr=require("./components/atoms/Image/Image.js");require("./components/atoms/PriceLabel/PriceLabel.js"),require("./components/atoms/PriceLabelV2/PriceLabelV2.js");var Sr=require("./components/atoms/Toggle/toggle.js");require("./components/molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js"),require("./components/molecules/OfferAtCartImage/OfferAtCartImage.styled.js");var Tr=require("./components/molecules/CouponCard/CouponCard.js"),Vr=require("./components/molecules/ArrowTip/ArrowTip.js"),hr=require("./components/molecules/AutoshipFrequencyDropdown/AutoshipFrequencyDropdown.js"),Ar=require("./components/molecules/BenefitsList/BenefitsList.js"),Or=require("./components/molecules/HurryUp/HurryUp.js"),vr=require("./components/molecules/Spinner/Spinner.js"),wr=require("./components/molecules/Video/Video.js"),Br=require("./components/molecules/IconsWithTitleList/IconsWithTitleList.js"),Mr=require("./components/molecules/LikeButton/LikeButton.js");require("./components/molecules/ScarcityTag/ScarcityTag.styled.js");var Dr=require("./components/before-after/types.js"),Ir=require("@emotion/cache"),Lr=require("@emotion/styled"),Gr=require("@emotion/react"),zr=require("./hooks/click-outside.js"),kr=require("./hooks/useDeviceType/useDeviceType.js"),Fr=require("./hooks/useViewportAwarePosition/useViewportAwarePosition.js"),Rr=require("./hooks/WindowDimensions.js"),Hr=require("./utils/buildImageUrl/buildImageUrl.js"),Wr=require("./utils/common/index.js"),Nr=require("./utils/constants/offerAtCart.js"),Er=require("./utils/dateFormatter/dateFormatter.js"),Ur=require("./utils/debounce/index.js"),Qr=require("./utils/decimalParser/decimalParser.js"),Jr=require("./utils/formatPrice/formatPrice.js"),_r=require("./utils/getSrcSet/getSrcSet.js"),Kr=require("./utils/media.js"),Xr=require("./utils/mock-content/CancellationFlowAccordion.js"),Yr=require("./utils/simulateClick/simulateClick.js"),Zr=require("./utils/sliceString/sliceString.js"),$r=require("./utils/validations/validations.js");function eo(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var ro=eo(Ir),oo=eo(Lr);exports.PackSelectorV2=e,exports.AbsorbencyLevel=r.AbsorbencyLevel,exports.AccordionOptions=o,exports.Accordion=t,exports.Autoship=s,exports.AutoshipV2=i,exports.BeforeAfterCard=n.BeforeAfterCard,exports.Bundle=a.Bundle,exports.BuyNowPayLater=p.BuyNowPayLater,exports.CartProductItem=c.CartProductItem,exports.Checkbox=u.Checkbox,exports.Collection=l.Collection,exports.ColorPickerWithTooltip=m,exports.MultiColorPicker=d,exports.SingleColorPicker=x.default,exports.ColorSelector=b.ColorSelector,exports.PatternSelector=P.PatternSelector,exports.CrossSell=j,exports.ButtonPrimary=q,exports.ButtonSecondary=g,exports.ButtonSecondaryOutline=f,exports.AssetsProvider=C.AssetsProvider,exports.ThemeProvider=C.ThemeProvider,exports.ThemeVariables=C.ThemeVariables,exports.useTheme=C.useTheme,exports.useThemeAssets=C.useThemeAssets,Object.defineProperty(exports,"CardSectionType",{enumerable:!0,get:function(){return y.CardSectionType}}),Object.defineProperty(exports,"ComponentPosition",{enumerable:!0,get:function(){return y.ComponentPosition}}),Object.defineProperty(exports,"ComponentSize",{enumerable:!0,get:function(){return y.ComponentSize}}),Object.defineProperty(exports,"InputValidationType",{enumerable:!0,get:function(){return y.InputValidationType}}),exports.DeliveryDetails=S.DeliveryDetails,exports.Note=T.Note,exports.Drawer=V.Drawer,exports.DropdownListIcons=h.DropdownListIcons,exports.SizeDropdown=A,exports.DropdownDialog=O,exports.FilteringDropdown=v,exports.SimpleDropdown=w,exports.SmartDropdown=B,exports.Filters=M.Filters,exports.FilteringTags=D.Tags,exports.FitGuarantee=I.FitGuarantee,exports.FitPredictor=L.FitPredictor,exports.ProductGallery=G.ProductGallery,exports.IconButton=z.IconButton,exports.AmazonButton=k.AmazonButton,exports.PaypalButton=k.PaypalButton,exports.Icon=F.Icon,exports.IconsWithTitle=R.IconsWithTitle,exports.ImageCardWithDescription=H.ImageCardWithDescription,exports.Input=W.Input,exports.Modal=N.Modal,exports.Overlay=N.Overlay,exports.modalEvent=N.modalEvent,exports.useModal=N.useModal,exports.useModalEvent=N.useModalEvent,exports.MotivatorProgressBar=E.MotivatorProgressBar,exports.OfferBanner=U.OfferBanner,exports.OrderBar=Q.OrderBar,exports.PackSelector=J,exports.Pagination=_.Pagination,exports.PaginatorBlog=K.PaginatorBlog,exports.PaymentMethod=X.PaymentMethod,exports.ClubOfferTag=Y.ClubOfferTag,exports.DiscountTag=Z.DiscountTag,exports.PriceLabel=$.PriceLabel,exports.PriceLabelV2=ee.PriceLabelV2,exports.PriceLabelV3=re.PriceLabelV3,exports.PriceLabelV5=oe.PriceLabelV5,exports.PriceLabelV6=te.PriceLabelV6,exports.SimpleOrderItem=se,exports.ProgressBar=ie.ProgressBar,exports.QuantityPicker=ne.QuantityPicker,exports.RadioPrimary=ae.RadioPrimary,exports.RadioGroupInput=pe.RadioGroupInput,exports.ClubRadioGroupInput=ce.ClubRadioGroupInput,exports.RadioInput=ue.RadioInput,exports.Rating=le.Rating,exports.StarList=me.StarList,exports.ReviewDetail=de,exports.Review=xe,exports.ReviewsHeader=be,exports.ScrollToTop=Pe.ScrollToTop,exports.SearchBar=je.SearchBar,exports.SearchNavigation=qe,exports.Card=ge,exports.Portal=fe.Portal,exports.Spacing=Ce.Spacing,exports.ShortBanner=ye.ShortBanner,exports.SizeChartTable=Se,exports.SizeTable=Te.SizeTable,exports.SizeFitGuide=Ve,exports.SizeSelector=he,exports.SliderNavigation=Ae,exports.StrengthBars=Oe.StrengthBars,exports.Tab=ve,exports.Tabs=we,exports.CategoryTag=Be,exports.CategorySquareTag=Me,exports.seasonOfferRoundedTag=De,exports.SeasonOfferTag=Ie,exports.TextButton=Le,exports.Text=Ge.Text,exports.TextWithImage=ze,exports.Timer=ke.Timer,exports.Toast=Fe.Toast,exports.Tooltip=Re.Tooltip,exports.Totals=He.Totals,exports.TrackingProgressV2=We,exports.TrackingProgress=Ne,exports.AutoshipOfferCard=Ee.AutoshipOfferCard,exports.AutoshipOfferCardCta=Ue.AutoshipOfferCardCta,exports.AutoshipPdpCard=Qe.AutoshipPdpCard,exports.BasicAccordion=Je.BasicAccordion,exports.CartItemCard=_e.CartItemCard,exports.ClubOfferSelector=Ke.ClubOfferSelector,exports.ClubOfferSelector2=Xe.ClubOfferSelector2,exports.JoinClubCard=Ye.JoinClubCard,exports.OfferAtCart=Ze.OfferAtCart,exports.OfferAtCartV2=$e.OfferAtCartV2,exports.OfferAtCartV3=er.OfferAtCartV3,exports.OfferAtCartV4=rr.OfferAtCartV4,exports.OfferAtPDP=or.OfferAtPDP,exports.ProductCard=tr.ProductCard,exports.ProductCardV2=sr.ProductCardV2,exports.ProductCardV3=ir.ProductCardV3,exports.ProductGalleryMobile=nr.ProductGalleryMobile,exports.ProductGalleryMobileV2=ar.ProductGalleryMobileV2,exports.ProductGalleryMobileV3=pr.ProductGalleryMobileV3,exports.ProductGalleryMobileV4=cr.ProductGalleryMobileV4,exports.ProductGalleryMobileV5=ur.ProductGalleryMobileV5,exports.ProductGalleryMobileV6=lr.ProductGalleryMobileV6,exports.ProductGalleryMobileV7=mr.ProductGalleryMobileV7,exports.SizeChartTableV2=dr.SizeChartTableV2,exports.SizeChartTableV3=xr.SizeChartTableV3,exports.SizeChartTableV4=br.SizeChartTableV4,exports.SubscriptionPlanSelector=Pr.SubscriptionPlanSelector,exports.GreetingsCard=jr.GreetingsCard,exports.TwoCtasAtCart=qr.TwoCtasAtCart,exports.ClubPriceMemberLabel=gr.ClubPriceMemberLabel,exports.HorizontalDivider=fr.HorizontalDivider,exports.LibIcon=Cr.Icon,exports.Image=yr.Image,exports.ToggleComponent=Sr.ToggleComponent,exports.CouponCard=Tr.CouponCard,exports.ArrowTip=Vr.ArrowTip,exports.AutoshipFrequencyDropdown=hr.AutoshipFrequencyDropdown,exports.BenefitsList=Ar.BenefitsList,exports.HurryUp=Or.HurryUp,exports.Spinner=vr.Spinner,exports.Video=wr.Video,exports.IconsWithTitleList=Br.IconsWithTitleList,exports.LikeButton=Mr.LikeButton,Object.defineProperty(exports,"BeforeAfterVariant",{enumerable:!0,get:function(){return Dr.BeforeAfterVariant}}),exports.componentSizeMapper=Dr.componentSizeMapper,Object.defineProperty(exports,"createCache",{enumerable:!0,get:function(){return ro.default}}),Object.defineProperty(exports,"styled",{enumerable:!0,get:function(){return oo.default}}),Object.defineProperty(exports,"CacheProvider",{enumerable:!0,get:function(){return Gr.CacheProvider}}),Object.defineProperty(exports,"Global",{enumerable:!0,get:function(){return Gr.Global}}),Object.defineProperty(exports,"css",{enumerable:!0,get:function(){return Gr.css}}),exports.useOnClickOutside=zr,exports.useDeviceType=kr,exports.useViewportAwarePosition=Fr.useViewportAwarePosition,exports.useWindowDimensions=Rr.useWindowDimensions,exports.buildImageUrl=Hr.buildImageUrl,exports.isDangerouslySetInnerHTML=Wr.isDangerouslySetInnerHTML,exports.benefits=Nr.benefits,exports.benefitsRawHtml=Nr.benefitsRawHtml,exports.benefitsRawHtmlV2=Nr.benefitsRawHtmlV2,exports.sizeOptions=Nr.sizeOptions,exports.title=Nr.title,exports.DateFormat=Er.DateFormat,exports.formatDate=Er.formatDate,exports.debounce=Ur.debounce,exports.decimalFormat=Qr.decimalFormat,exports.formatPrice=Jr.formatPrice,exports.getSrcSet=_r.getSrcSet,exports.mediaQueries=Kr.mediaQueries,exports.CancellationFlowAccordionContentPerPartner=Xr.CancellationFlowAccordionContentPerPartner,exports.simulateMouseClick=Yr.simulateMouseClick,exports.sliceString=Zr.sliceString,exports.isEmail=$r.isEmail,exports.isEmpty=$r.isEmpty,exports.isNumber=$r.isNumber,exports.isPhoneNumber=$r.isPhoneNumber,exports.isValidDate=$r.isValidDate;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED