@gem-sdk/components 19.0.0-staging.4 → 19.0.0-staging.41
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/dist/cjs/builder.js +1 -1
- package/dist/cjs/carousel-v3/components/arrow/Arrow.liquid.js +8 -8
- package/dist/cjs/carousel-v3/components/arrow/common/classes.js +1 -1
- package/dist/cjs/carousel-v3/components/item/CarouselItem.js +1 -1
- package/dist/cjs/carousel-v3/components/root/Carousel.js +1 -1
- package/dist/cjs/carousel-v3/components/root/Carousel.liquid.js +1 -1
- package/dist/cjs/carousel-v3/components/root/CarouselEmbla.liquid.js +24 -0
- package/dist/cjs/carousel-v3/components/root/common/helpers.js +1 -1
- package/dist/cjs/carousel-v3/components/swiper/Swiper.js +1 -1
- package/dist/cjs/carousel-v3/hooks/useCarousel.js +1 -1
- package/dist/cjs/carousel-v3/index.js +1 -1
- package/dist/cjs/carousel-v3/settings/configs/ui-v2.js +1 -1
- package/dist/cjs/code/common/helpers.js +1 -0
- package/dist/cjs/code/hooks/useCSSCode.js +4 -10
- package/dist/cjs/estimate-delivery/common/helpers.js +1 -1
- package/dist/cjs/grid/components/row/Row.liquid.js +12 -12
- package/dist/cjs/hero-banner/components/HeroBanner.js +1 -1
- package/dist/cjs/hero-banner/components/HeroBanner.liquid.js +10 -10
- package/dist/cjs/hero-banner/components/HeroBannerItem.js +1 -1
- package/dist/cjs/hero-banner/components/HeroBannerItem.liquid.js +9 -9
- package/dist/cjs/image/common/attrs.js +1 -1
- package/dist/cjs/image/components/AdaptiveImage.js +1 -1
- package/dist/cjs/image/components/AdaptiveImage.liquid.js +8 -8
- package/dist/cjs/image/components/Image.liquid.js +10 -10
- package/dist/cjs/image/components/NextImage.js +1 -1
- package/dist/cjs/image/components/NextImage.liquid.js +2 -2
- package/dist/cjs/image-comparison/components/CompareImage.liquid.js +7 -7
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.liquid.js +1 -1
- package/dist/cjs/post-purchase/link/components/PostPurchaseLink.js +1 -1
- package/dist/cjs/post-purchase/link/settings/configs/settings.js +1 -1
- package/dist/cjs/post-purchase/link/settings/configs/ui-v2.js +1 -1
- package/dist/cjs/post-purchase/product/components/ProductTitle.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-offer/components/ProductOfferItem.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-offer/context/PrdOfferSubscriptionPresenceContext.js +2 -0
- package/dist/cjs/post-purchase/product/components/product-offer/helpers/scanSubscriptionBlocks.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-offer/hooks/useProductOfferSubscriptionBlocksObserver.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-subscription/hooks/useSubscriptionVisibility.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-variant/components/variants/DropdownOption.js +1 -1
- package/dist/cjs/product/components/product-badge/ProductBadge.js +1 -1
- package/dist/cjs/product/components/product-badge/ProductBadge.liquid.js +12 -12
- package/dist/cjs/product/components/product-badge/common/classes.js +1 -1
- package/dist/cjs/product/components/product-badge/utils/renderBadgeILP.js +1 -1
- package/dist/cjs/product/components/product-badge/utils/renderBadgeLiquid.js +7 -5
- package/dist/cjs/product/components/product-button/ProductButton.liquid.js +11 -8
- package/dist/cjs/product/components/product-button/common/helpers.js +1 -1
- package/dist/cjs/product/components/product-button/hooks/useAddToCart.js +1 -1
- package/dist/cjs/product/components/product-description/ProductDescription.js +1 -1
- package/dist/cjs/product/components/product-description/ProductDescription.liquid.js +2 -3
- package/dist/cjs/product/components/product-description/hooks/useGpDescription.js +1 -1
- package/dist/cjs/product/components/product-images-v2/ProductImagesV2.liquid.js +15 -15
- package/dist/cjs/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.liquid.js +5 -5
- package/dist/cjs/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.liquid.js +1 -1
- package/dist/cjs/product/components/product-images-v2/components/gallery-grid/GalleryGrid.liquid.js +5 -5
- package/dist/cjs/product/components/product-images-v3/ProductImagesV3.liquid.js +15 -15
- package/dist/cjs/product/components/product-images-v3/ProductImagesV3Embla.liquid.js +44 -0
- package/dist/cjs/product/components/product-images-v3/common/classes.js +1 -1
- package/dist/cjs/product/components/product-images-v3/common/common.js +1 -1
- package/dist/cjs/product/components/product-images-v3/components/child/ProductFeatureVideo.js +1 -1
- package/dist/cjs/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +1 -1
- package/dist/cjs/product/components/product-images-v3/components/child/ProductGalleryGrid.js +1 -2
- package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.js +1 -1
- package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.liquid.js +29 -29
- package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGalleryEmbla.liquid.js +119 -0
- package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.liquid.js +8 -8
- package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarouselEmbla.liquid.js +46 -0
- package/dist/cjs/product/components/product-images-v3/components/gallery-grid/GalleryGrid.liquid.js +10 -10
- package/dist/cjs/product/components/product-images-v3/components/lightbox/ProductImagesLightBox.js +1 -1
- package/dist/cjs/product/components/product-list/ProductList.js +1 -1
- package/dist/cjs/product/components/product-list/ProductList.liquid.js +10 -9
- package/dist/cjs/product/components/product-list-v3/ProductList.js +1 -1
- package/dist/cjs/product/components/product-list-v3/ProductList.liquid.js +10 -9
- package/dist/cjs/product/components/product-list-v3/ProductListCarouselLayout.liquid.js +6 -6
- package/dist/cjs/product/components/product-list-v3/common/classes.js +1 -1
- package/dist/cjs/product/components/product-variants/OptionVariantsNewFormat.liquid.js +11 -12
- package/dist/cjs/product/components/product-variants/OptionVariantsOldFormat.liquid.js +11 -10
- package/dist/cjs/product/components/product-wrap/Product.liquid.js +12 -9
- package/dist/cjs/product/index.js +1 -1
- package/dist/cjs/product/settings/product-image-v3/configs/ui-v2.js +1 -1
- package/dist/cjs/sticky/hooks/useSticky.js +1 -1
- package/dist/cjs/third-party/components/AppstleLoyaltyRewardProgram.js +2 -0
- package/dist/cjs/third-party/components/AppstleLoyaltyRewardProgram.liquid.js +16 -0
- package/dist/cjs/third-party/components/EcomsendBackInStockAlert.js +1 -1
- package/dist/cjs/third-party/configs/AppstleLoyaltyRewardProgram.js +1 -0
- package/dist/cjs/third-party/configs/EcomsendBackInStockAlert.js +1 -1
- package/dist/cjs/third-party/index.js +1 -1
- package/dist/cjs/third-party/next.js +1 -1
- package/dist/cjs/third-party/settings/AppstleLoyaltyRewardProgram/index.js +4 -0
- package/dist/cjs/third-party/settings/AppstleLoyaltyRewardProgram/uiV2.js +1 -0
- package/dist/cjs/third-party/settings/EcomsendBackInStockAlert/index.js +4 -4
- package/dist/cjs/video/components/HTML5Embed.js +1 -1
- package/dist/cjs/video/components/HTML5Embed.liquid.js +12 -12
- package/dist/cjs/video/components/LiteVimeoEmbed.liquid.js +13 -13
- package/dist/cjs/video/components/LiteYouTubeEmbed.js +1 -1
- package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +11 -11
- package/dist/cjs/video/components/Video.liquid.js +1 -1
- package/dist/esm/builder.js +1 -1
- package/dist/esm/carousel-v3/components/arrow/Arrow.liquid.js +6 -6
- package/dist/esm/carousel-v3/components/arrow/common/classes.js +1 -1
- package/dist/esm/carousel-v3/components/item/CarouselItem.js +1 -1
- package/dist/esm/carousel-v3/components/root/Carousel.js +1 -1
- package/dist/esm/carousel-v3/components/root/Carousel.liquid.js +4 -4
- package/dist/esm/carousel-v3/components/root/CarouselEmbla.liquid.js +24 -0
- package/dist/esm/carousel-v3/components/root/common/helpers.js +1 -1
- package/dist/esm/carousel-v3/components/swiper/Swiper.js +1 -1
- package/dist/esm/carousel-v3/hooks/useCarousel.js +1 -1
- package/dist/esm/carousel-v3/index.js +1 -1
- package/dist/esm/carousel-v3/settings/configs/ui-v2.js +1 -1
- package/dist/esm/code/common/helpers.js +1 -0
- package/dist/esm/code/hooks/useCSSCode.js +4 -10
- package/dist/esm/estimate-delivery/common/helpers.js +1 -1
- package/dist/esm/grid/components/row/Row.liquid.js +11 -11
- package/dist/esm/hero-banner/components/HeroBanner.js +1 -1
- package/dist/esm/hero-banner/components/HeroBanner.liquid.js +10 -10
- package/dist/esm/hero-banner/components/HeroBannerItem.js +1 -1
- package/dist/esm/hero-banner/components/HeroBannerItem.liquid.js +10 -10
- package/dist/esm/image/common/attrs.js +1 -1
- package/dist/esm/image/components/AdaptiveImage.js +1 -1
- package/dist/esm/image/components/AdaptiveImage.liquid.js +11 -11
- package/dist/esm/image/components/Image.liquid.js +10 -10
- package/dist/esm/image/components/NextImage.js +1 -1
- package/dist/esm/image/components/NextImage.liquid.js +1 -1
- package/dist/esm/image-comparison/components/CompareImage.liquid.js +7 -7
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.liquid.js +1 -1
- package/dist/esm/post-purchase/link/components/PostPurchaseLink.js +1 -1
- package/dist/esm/post-purchase/link/settings/configs/settings.js +1 -1
- package/dist/esm/post-purchase/link/settings/configs/ui-v2.js +1 -1
- package/dist/esm/post-purchase/product/components/ProductTitle.js +1 -1
- package/dist/esm/post-purchase/product/components/product-offer/components/ProductOfferItem.js +1 -1
- package/dist/esm/post-purchase/product/components/product-offer/context/PrdOfferSubscriptionPresenceContext.js +2 -0
- package/dist/esm/post-purchase/product/components/product-offer/helpers/scanSubscriptionBlocks.js +1 -0
- package/dist/esm/post-purchase/product/components/product-offer/hooks/useProductOfferSubscriptionBlocksObserver.js +1 -0
- package/dist/esm/post-purchase/product/components/product-subscription/hooks/useSubscriptionVisibility.js +1 -1
- package/dist/esm/post-purchase/product/components/product-variant/components/variants/DropdownOption.js +1 -1
- package/dist/esm/product/components/product-badge/ProductBadge.js +1 -1
- package/dist/esm/product/components/product-badge/ProductBadge.liquid.js +12 -12
- package/dist/esm/product/components/product-badge/common/classes.js +1 -1
- package/dist/esm/product/components/product-badge/utils/renderBadgeILP.js +1 -1
- package/dist/esm/product/components/product-badge/utils/renderBadgeLiquid.js +5 -3
- package/dist/esm/product/components/product-button/ProductButton.liquid.js +11 -8
- package/dist/esm/product/components/product-button/common/helpers.js +1 -1
- package/dist/esm/product/components/product-button/hooks/useAddToCart.js +1 -1
- package/dist/esm/product/components/product-description/ProductDescription.js +1 -1
- package/dist/esm/product/components/product-description/ProductDescription.liquid.js +3 -4
- package/dist/esm/product/components/product-description/hooks/useGpDescription.js +1 -1
- package/dist/esm/product/components/product-images-v2/ProductImagesV2.liquid.js +15 -15
- package/dist/esm/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.liquid.js +5 -5
- package/dist/esm/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.liquid.js +1 -1
- package/dist/esm/product/components/product-images-v2/components/gallery-grid/GalleryGrid.liquid.js +5 -5
- package/dist/esm/product/components/product-images-v3/ProductImagesV3.liquid.js +15 -15
- package/dist/esm/product/components/product-images-v3/ProductImagesV3Embla.liquid.js +44 -0
- package/dist/esm/product/components/product-images-v3/common/classes.js +1 -1
- package/dist/esm/product/components/product-images-v3/common/common.js +1 -1
- package/dist/esm/product/components/product-images-v3/components/child/ProductFeatureVideo.js +1 -1
- package/dist/esm/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +1 -1
- package/dist/esm/product/components/product-images-v3/components/child/ProductGalleryGrid.js +1 -2
- package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.js +1 -1
- package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.liquid.js +45 -45
- package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGalleryEmbla.liquid.js +119 -0
- package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.liquid.js +14 -14
- package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarouselEmbla.liquid.js +46 -0
- package/dist/esm/product/components/product-images-v3/components/gallery-grid/GalleryGrid.liquid.js +11 -11
- package/dist/esm/product/components/product-images-v3/components/lightbox/ProductImagesLightBox.js +1 -1
- package/dist/esm/product/components/product-list/ProductList.js +1 -1
- package/dist/esm/product/components/product-list/ProductList.liquid.js +18 -17
- package/dist/esm/product/components/product-list-v3/ProductList.js +1 -1
- package/dist/esm/product/components/product-list-v3/ProductList.liquid.js +18 -17
- package/dist/esm/product/components/product-list-v3/ProductListCarouselLayout.liquid.js +9 -9
- package/dist/esm/product/components/product-list-v3/common/classes.js +1 -1
- package/dist/esm/product/components/product-variants/OptionVariantsNewFormat.liquid.js +11 -12
- package/dist/esm/product/components/product-variants/OptionVariantsOldFormat.liquid.js +11 -10
- package/dist/esm/product/components/product-wrap/Product.liquid.js +16 -13
- package/dist/esm/product/index.js +1 -1
- package/dist/esm/product/settings/product-image-v3/configs/ui-v2.js +1 -1
- package/dist/esm/sticky/hooks/useSticky.js +1 -1
- package/dist/esm/third-party/components/AppstleLoyaltyRewardProgram.js +2 -0
- package/dist/esm/third-party/components/AppstleLoyaltyRewardProgram.liquid.js +16 -0
- package/dist/esm/third-party/components/EcomsendBackInStockAlert.js +1 -1
- package/dist/esm/third-party/configs/AppstleLoyaltyRewardProgram.js +1 -0
- package/dist/esm/third-party/configs/EcomsendBackInStockAlert.js +1 -1
- package/dist/esm/third-party/index.js +1 -1
- package/dist/esm/third-party/next.js +1 -1
- package/dist/esm/third-party/settings/AppstleLoyaltyRewardProgram/index.js +4 -0
- package/dist/esm/third-party/settings/AppstleLoyaltyRewardProgram/uiV2.js +1 -0
- package/dist/esm/third-party/settings/EcomsendBackInStockAlert/index.js +4 -4
- package/dist/esm/video/components/HTML5Embed.js +1 -1
- package/dist/esm/video/components/HTML5Embed.liquid.js +12 -12
- package/dist/esm/video/components/LiteVimeoEmbed.liquid.js +14 -14
- package/dist/esm/video/components/LiteYouTubeEmbed.js +1 -1
- package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +10 -10
- package/dist/esm/video/components/Video.liquid.js +1 -1
- package/dist/types/index.d.ts +44 -14
- package/package.json +5 -5
package/dist/esm/builder.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import o from"./accordion/components/Accordion.js";import t from"./accordion/components/AccordionItem.js";import"./accordion/settings/configs/settings.js";import r from"./third-party/components/RechargeSubscriptions.js";import m from"./third-party/components/EcomsendBackInStockAlert.js";import s from"./third-party/components/AppstleBundlesDiscounts.js";import p from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";import n from"./third-party/components/JudgemeReviews.js";import e from"./third-party/components/LooxReviews.js";import i from"./third-party/components/Klaviyo.js";import c from"./third-party/components/YotpoLoyalty.js";import a from"./third-party/components/SmartSearchBarAndFilters.js";import d from"./third-party/components/Instafeed.js";import u from"./third-party/components/ProductReviews.js";import f from"./third-party/components/Ryviu.js";import j from"./third-party/components/Rivyo.js";import l from"./third-party/components/Vitals.js";import h from"./third-party/components/Omnisend.js";import y from"./third-party/components/Trustoo.js";import P from"./third-party/components/SealSubscriptions.js";import g from"./third-party/components/AppstleSubscriptions.js";import B from"./third-party/components/FeraReviews.js";import S from"./third-party/components/ParcelPanel.js";import C from"./third-party/components/TrustMe.js";import b from"./third-party/components/FrequentlyBoughtTogether.js";import w from"./third-party/components/BoldSubscriptions.js";import k from"./third-party/components/BoldProductOptions.js";import v from"./third-party/components/WideBundle.js";import I from"./third-party/components/PickyStory.js";import T from"./third-party/components/InfiniteOptions.js";import A from"./third-party/components/Wiser.js";import L from"./third-party/components/Stamped.js";import D from"./third-party/components/Bundler.js";import R from"./third-party/components/LaiProductReviews.js";import x from"./third-party/components/Growave.js";import V from"./third-party/components/KachingBundles.js";import F from"./third-party/components/Opinew.js";import O from"./third-party/components/UltimateSalesBoost.js";import M from"./third-party/components/CrossSellCartUpsell.js";import E from"./third-party/components/BoostAISearchDiscovery.js";import H from"./third-party/components/YotpoReviews.js";import U from"./third-party/components/FirePush.js";import z from"./third-party/components/AliReviews.js";import G from"./third-party/components/CleanSizeCharts.js";import K from"./third-party/components/Bogos.js";import q from"./third-party/components/PushOwl.js";import Q from"./third-party/components/QikifyUpsell.js";import W from"./third-party/components/Releasit.js";import N from"./third-party/components/KingProductOptions.js";import Y from"./third-party/components/EasySellCOD.js";import J from"./third-party/components/RequestQuoteHidePrice.js";import X from"./third-party/components/BirdChime.js";import Z from"./third-party/components/KlarnaMessaging.js";import $ from"./third-party/components/FordeerProductLabels.js";import _ from"./third-party/components/EasifyProductOptions.js";import oo from"./third-party/components/CustomProductOptionsVariant.js";import ot from"./third-party/components/ShopifySubscriptions.js";import or from"./third-party/components/BonLoyaltyRewardsReferrals.js";import om from"./third-party/components/RecurpaySubscriptionApp.js";import os from"./third-party/components/SubifySubscriptionsApp.js";import op from"./third-party/components/Selleasy.js";import on from"./third-party/components/LoopSubscriptions.js";import oe from"./third-party/components/SkioSubscriptionsYcS20.js";import oi from"./third-party/components/ShopifyForms.js";import oc from"./third-party/components/NotifyBackInStockPreOrder.js";import oa from"./third-party/components/ReviewxpoProductReviewsApp.js";import od from"./third-party/components/PumperBundlesVolumeDiscount.js";import ou from"./third-party/components/UnlimitedBundlesDiscounts.js";import of from"./third-party/components/KiteFreeGiftDiscount.js";import oj from"./third-party/components/FastBundleBundlesDiscounts.js";import ol from"./third-party/components/SimpleBundlesKits.js";import oh from"./third-party/components/EasyBundleBuilderSkailama.js";import oy from"./third-party/components/KoalaBundleQuantityDiscount.js";import oP from"./third-party/components/PreorderNowPreOrderPq.js";import og from"./third-party/components/FlyBundlesUpsellsFbt.js";import oB from"./third-party/components/JunipProductReviewsUgc.js";import oS from"./third-party/components/MaxbundleProductBundles.js";import oC from"./third-party/components/PreorderNowWodPresale.js";import ob from"./third-party/components/TagshopShoppableVideosUgc.js";import ow from"./third-party/components/WhatmoreShoppableVideosreel.js";import ok from"./third-party/components/ProductOptionsCustomizer.js";import ov from"./third-party/components/TagembedSocialPostReview.js";import oI from"./third-party/components/AirProductReviewsAppUgc.js";import oT from"./third-party/components/MbcBundleVolumeDiscount.js";import oA from"./third-party/components/GoogleReviewsByReputon.js";import oL from"./third-party/components/RapiBundleQuantityBreaks.js";import oD from"./third-party/components/AppointmentBookingCowlendar.js";import oR from"./third-party/components/SproutPlantTreesGrowSales.js";import ox from"./third-party/components/InstasellShoppableInstagram.js";import oV from"./third-party/components/WishlistPlus.js";import oF from"./third-party/components/LoloyalLoyaltyReferrals.js";import oO from"./third-party/components/HulkFormBuilder.js";import oM from"./third-party/components/PowerfulContactFormBuilder.js";import oE from"./third-party/components/WishlistKing.js";import oH from"./third-party/components/TeeinblueProductPersonalizer.js";import oU from"./third-party/components/GloboProductOptionsVariant.js";import oz from"./third-party/components/ProductOptionsVariantOption.js";import oG from"./third-party/components/BestBuyFulfillment.js";import oK from"./third-party/components/AftershipEmailMarketingsms.js";import oq from"./third-party/components/SegunoEmailMarketing.js";import oQ from"./third-party/components/SeoantTrustBadgesIcon.js";import oW from"./third-party/components/DiscountyBulkDiscountSales.js";import oN from"./third-party/components/TrustreviewsProductReviews.js";import oY from"./third-party/components/MyappgurusProductReviews.js";import oJ from"./third-party/components/HulkProductOptions.js";import oX from"./third-party/components/TrustshopProductReviews.js";import oZ from"./third-party/components/StellarDeliveryDatePickup.js";import o$ from"./third-party/components/EssentialCountdownTimerBar.js";import o_ from"./third-party/components/EssentialAnnouncementBar.js";import o3 from"./third-party/components/OkendoReviewsLoyalty.js";import o2 from"./third-party/components/EstimatedDeliveryDatePlus.js";import o0 from"./third-party/components/HextomCountdownTimerBar.js";import o1 from"./third-party/components/TrustBadgesBear.js";import o4 from"./third-party/components/TrustedsiteTrustBadges.js";import o5 from"./third-party/components/GloColorSwatchvariantImage.js";import o6 from"./third-party/components/BfSizeChartSizeGuide.js";import o7 from"./third-party/components/AlsoBoughtCbb.js";import o8 from"./third-party/components/HextomFreeShippingBar.js";import o9 from"./third-party/components/EcoboostifyShoppableReelUgc.js";import"@gem-sdk/core";import to from"./third-party/components/AovBundlesVolumeDiscounts.js";import tt from"./third-party/components/UppromoteAffiliateMarketing.js";import tr from"./third-party/components/DealeasyVolumeDiscounts.js";import tm from"./third-party/components/BloyRewardsProgramLoyalty.js";import ts from"./third-party/components/KachingSubscriptionsApp.js";import tp from"./third-party/components/GrowthSuiteDiscountCodes.js";import tn from"./third-party/components/BonySubscriptionsApp.js";import te from"./third-party/components/WcWishlistBackInStock.js";import ti from"./third-party/components/EssentPreorderBackInStock.js";import tc from"./article/components/ArticleList.js";import ta from"./article/components/ArticleTitle.js";import td from"./article/components/ArticleExcerpt.js";import tu from"./article/components/ArticleContent.js";import tf from"./article/components/ArticleImage.js";import tj from"./article/components/ArticlePagination.js";import tl from"./article/components/ArticleAuthor.js";import th from"./article/components/ArticleTag.js";import ty from"./article/components/ArticleCategory.js";import tP from"./article/components/ArticleDate.js";import tg from"./article/components/ArticleReadMore.js";import tB from"./hero-banner/components/HeroBanner.js";import tS from"./breadcrumb/components/Breadcrumb.js";import tC from"./button/components/Button.js";import tb from"./carousel-v3/components/root/Carousel.js";import tw from"./carousel-v3/components/item/CarouselItem.js";import tk from"./carousel/components/root/Carousel.js";import tv from"./carousel/components/item/CarouselItem.js";import tI from"./cart/components/Cart.js";import tT from"./cart/components/CartList.js";import tA from"./cart/components/CartLinePrice.js";import tL from"./cart/components/CartLineVariant.js";import tD from"./cart/components/CartLineImage.js";import tR from"./cart/components/CartTotalPrice.js";import tx from"./cart/components/CartTotalItem.js";import tV from"./cart/components/CartCheckout.js";import tF from"./cart/components/DiscountInput.js";import tO from"./cart/components/CartDiscount.js";import tM from"./cart/components/CartOrderNote.js";import tE from"./cart/components/CartLineAttribute.js";import tH from"./cart/components/CouponList.js";import tU from"./cart/components/shop-pay-button/ShopPayButton.js";import tz from"./cart/components/CheckoutNow.js";import tG from"./code/components/CSSCode.js";import tK from"./collection/components/collection-title/CollectionTitle.js";import tq from"./collection/components/collection-banner/CollectionBanner.js";import tQ from"./collection/components/collection-description/CollectionDescription.js";import tW from"./collection/components/collection-toolbar/CollectionToolbar.js";import tN from"./collection/components/collection-paginator/CollectionPaginator.js";import tY from"./countdown-timer/components/Countdown.js";import"./countdown-timer/settings/configs/setting.js";import tJ from"./coupon/components/Coupon.js";import tX from"./dialog/components/Dialog.js";import tZ from"./estimate-delivery/components/EstimateDate.js";import"@gem-sdk/system";import t$ from"./link/components/Link.js";import"./estimate-delivery/settings/configs/settings.js";import t_ from"./grid/components/root/Root.js";import t3 from"./grid/components/section/Section.js";import t2 from"./grid/components/row/Row.js";import t0 from"./grid/components/col/Col.js";import t1 from"./form/components/newsletter/Newsletter.js";import t4 from"./form/components/contact/Contact.js";import t5 from"./form/components/form-email/FormEmail.js";import t6 from"./form/components/submit-button/SubmitButton.js";import t7 from"./form/components/form-dropdown/FormDropdown.js";import t8 from"./form/components/textfield/TextField.js";import t9 from"./form/components/textarea/TextArea.js";import ro from"./form/components/form-checkbox/FormCheckbox.js";import rt from"./form/components/textinput/TextInput.js";import rr from"./header/components/Header.js";import rm from"./header/components/kind/basic/index.js";import rs from"./header/components/kind/modern/index.js";import rp from"./header/components/kind/basic/MobileMenu.js";import rn from"./header/components/kind/basic/DesktopMenu.js";import re from"./heading/components/Heading.js";import ri from"./icon/components/Icon.js";import rc from"./icon-list/components/IconList.js";import ra from"./icon-list/components/IconListItem.js";import rd from"./icon-list-hoz/components/IconListHoz.js";import ru from"./icon-list-hoz/components/IconListHozItem.js";import rf from"./icon-list-v2/components/IconList.js";import"./icon-list-v2/settings/configs/settings.js";import rj from"./image/components/Image.js";import rl from"./image-comparison/components/ImageComparison.js";import rh from"./image-detection/components/ImageDetection.js";import ry from"./input/components/Input.js";import rP from"./line/components/Line.js";import rg from"./marquee/components/Marquee.js";import rB from"./marquee/components/MarqueeItem.js";import rS from"./menu/components/Menu.js";import"./modal/components/confirm.js";import rC from"./modal/components/Modal.js";import rb from"./pagination/components/Pagination.js";import rw from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import rk from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import rv from"./post-purchase/button/components/Button.js";import rI from"./post-purchase/callout-banner/components/CalloutBox.js";import rT from"./post-purchase/callout-banner/components/CalloutText.js";import rA from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import rL from"./post-purchase/image/components/Image.js";import rD from"./post-purchase/line/components/PostPurchaseLine.js";import rR from"./post-purchase/link/components/PostPurchaseLink.js";import{PostPurchaseHeading as rx}from"./post-purchase/text/index.js";import rV from"./post-purchase/product/components/ProductTitle.js";import rF from"./post-purchase/product/components/ProductDescription.js";import rO from"./post-purchase/product/components/ProductPrice.js";import rM from"./post-purchase/product/components/product-variant/components/ProductVariant.js";import rE from"./post-purchase/product/components/AcceptButton.js";import rH from"./post-purchase/product/components/ProductQuantity.js";import rU from"./post-purchase/product/components/product-offer/components/ProductOffer.js";import rz from"./post-purchase/product/components/ProductPriceBreakdown.js";import rG from"./post-purchase/product/components/ProductDiscountTag.js";import rK from"./post-purchase/product/components/product-subscription/ProductSubscription.js";import rq from"./post-purchase/product/components/product-image/index.js";import rQ from"./post-purchase/buyer-consent/components/BuyerConsent.js";import rW from"./product/components/product-wrap/Product.js";import rN from"./product/components/product-title/ProductTitle.js";import rY from"./product/components/product-quantity/ProductQuantity.js";import rJ from"./product/components/product-description/ProductDescription.js";import rX from"./product/components/product-price/ProductPrice.js";import rZ from"./product/components/product-button/ProductButton.js";import r$ from"./product/components/product-variants/ProductVariants.js";import r_ from"./product/components/ProductImages.js";import r3 from"./product/components/product-images-v3/ProductImageV3.js";import r2 from"./product/components/product-images-v2/ProductImageV2.js";import r0 from"./product/components/product-properties/ProductProperties.js";import r1 from"./product/components/product-quick-view/QuickView.js";import r4 from"./product/components/product-discount-tag/ProductDiscountTag.js";import r5 from"./product/components/product-list-v3/ProductList.js";import r6 from"./product/components/product-list/ProductList.js";import r7 from"./product/components/dynamic-checkout/DynamicCheckout.js";import r8 from"./product/components/product-bundle/ProductBundleDiscount.js";import r9 from"./product/components/product-vendor/Vendor.js";import mo from"./product/components/product-sku/Sku.js";import mt from"./product/components/product-view-more/ProductViewMore.js";import mr from"./product/components/product-badge/ProductBadge.js";import mm from"./product/components/file-upload/UploadFile.js";import ms from"./product/components/product-bundle/ProductBundleDiscountItem.js";import mp from"./radio/components/Radio.js";import mn from"./select/components/Select.js";import"./select/settings/configs/settings.js";import me from"./tab/components/Tabs.js";import mi from"./tab/components/TabItem.js";import mc from"./text/components/Text.js";import ma from"./textarea/components/Textarea.js";import md from"./video/components/Video.js";import mu from"./third-party-slot/components/ThirdPartySlot.js";import mf from"./shop-pay-installment/components/ShopPayInstallments.js";import mj from"./third-party-instant/components/InstantJudgemeReviews.js";import ml from"./third-party-instant/components/InstantLooxReviews.js";import mh from"./third-party-instant/components/InstantKlaviyo.js";import my from"./third-party-instant/components/InstantYotpoLoyalty.js";import mP from"./stock-counter/components/StockCounter.js";import mg from"./sticky/components/Sticky.js";import mB from"./post-purchase/text/components/Text.js";var mS={EssentPreorderBackInStock:ti,WcWishlistBackInStock:te,BonySubscriptionsApp:tn,GrowthSuiteDiscountCodes:tp,KachingSubscriptionsApp:ts,BloyRewardsProgramLoyalty:tm,DealeasyVolumeDiscounts:tr,UppromoteAffiliateMarketing:tt,AovBundlesVolumeDiscounts:to,AovFreeGiftBuyXGetYBogo:p,EcomsendBackInStockAlert:m,AppstleBundlesDiscounts:s,Accordion:o,AccordionItem:t,ArticleList:tc,ArticleTitle:ta,ArticleExcerpt:td,ArticleContent:tu,ArticleImage:tf,ArticlePagination:tj,ArticleAuthor:tl,ArticleTag:th,ArticleCategory:ty,ArticleDate:tP,ArticleReadMore:tg,HeroBanner:tB,Breadcrumb:tS,Button:tC,CarouselV3:tb,CarouselItemV3:tw,Carousel:tk,CarouselItem:tv,Cart:tI,CartList:tT,CartLinePrice:tA,CartLineVariant:tL,CartLineImage:tD,CartTotalPrice:tR,CartTotalItem:tx,CartCheckout:tV,DiscountInput:tF,CartDiscount:tO,CartOrderNote:tM,CartLineAttribute:tE,CouponList:tH,ShopPayButton:tU,CheckoutNow:tz,CSSCode:tG,CollectionTitle:tK,CollectionDescription:tQ,CollectionBanner:tq,CollectionToolbar:tW,CollectionPaginator:tN,Countdown:tY,Coupon:tJ,Dialog:tX,EstimateDate:tZ,Newsletter:t1,ContactForm:t4,FormEmail:t5,SubmitButton:t6,TextField:t8,TextInput:rt,FormTextarea:t9,FormDropdown:t7,FormCheckbox:ro,Root:t_,Section:t3,Row:t2,Col:t0,Header:rr,BasicHeader:rm,ModernHeader:rs,MobileMenu:rp,DesktopMenu:rn,Heading:re,Icon:ri,IconList:rc,IconListItem:ra,IconListHoz:rd,IconListItemHoz:ru,IconListV2:rf,Image:rj,ImageComparison:rl,ImageDetection:rh,Input:ry,Line:rP,Link:t$,Marquee:rg,MarqueeItem:rB,Menu:rS,Modal:rC,Pagination:rb,PostPurchaseAdvancedList:rw,PostPurchaseAdvancedListItem:rk,PostPurchaseAcceptButton:rE,PostPurchaseButton:rv,PostPurchaseCalloutBox:rI,PostPurchaseCalloutText:rT,PostPurchaseCountdownTimer:rA,PostPurchaseImage:rL,PostPurchaseLine:rD,PostPurchaseLink:rR,PostPurchaseHeading:rx,PostPurchaseText:mB,PostPurchaseProductTitle:rV,PostPurchaseProductDescription:rF,PostPurchaseProductPrice:rO,PostPurchaseProductVariants:rM,PostPurchaseProductQuantity:rH,PostPurchaseProductPriceBreakdown:rz,PostPurchaseProductOffer:rU,PostPurchaseProductDiscountTag:rG,PostPurchaseProductImages:rq,PostPurchaseProductSubscription:rK,PostPurchaseBuyerConsent:rQ,EstimatedDeliveryDatePlus:o2,OkendoReviewsLoyalty:o3,EssentialAnnouncementBar:o_,EssentialCountdownTimerBar:o$,StellarDeliveryDatePickup:oZ,TrustshopProductReviews:oX,HulkProductOptions:oJ,MyappgurusProductReviews:oY,TrustreviewsProductReviews:oN,DiscountyBulkDiscountSales:oW,SeoantTrustBadgesIcon:oQ,SegunoEmailMarketing:oq,AftershipEmailMarketingsms:oK,BestBuyFulfillment:oG,ProductOptionsVariantOption:oz,GloboProductOptionsVariant:oU,TeeinblueProductPersonalizer:oH,HulkFormBuilder:oO,LoloyalLoyaltyReferrals:oF,PowerfulContactFormBuilder:oM,WishlistKing:oE,WishlistPlus:oV,InstasellShoppableInstagram:ox,SproutPlantTreesGrowSales:oR,RapiBundleQuantityBreaks:oL,AppointmentBookingCowlendar:oD,GoogleReviewsByReputon:oA,MbcBundleVolumeDiscount:oT,ProductOptionsCustomizer:ok,AirProductReviewsAppUgc:oI,TagembedSocialPostReview:ov,WhatmoreShoppableVideosreel:ow,TagshopShoppableVideosUgc:ob,JunipProductReviewsUgc:oB,FlyBundlesUpsellsFbt:og,PreorderNowWodPresale:oC,PreorderNowPreOrderPq:oP,MaxbundleProductBundles:oS,KoalaBundleQuantityDiscount:oy,EasyBundleBuilderSkailama:oh,FastBundleBundlesDiscounts:oj,KiteFreeGiftDiscount:of,UnlimitedBundlesDiscounts:ou,SimpleBundlesKits:ol,ReviewxpoProductReviewsApp:oa,PumperBundlesVolumeDiscount:od,NotifyBackInStockPreOrder:oc,ShopifyForms:oi,SkioSubscriptionsYcS20:oe,LoopSubscriptions:on,Selleasy:op,RecurpaySubscriptionApp:om,SubifySubscriptionsApp:os,ShopifySubscriptions:ot,BonLoyaltyRewardsReferrals:or,EasifyProductOptions:_,CustomProductOptionsVariant:oo,KlarnaMessaging:Z,FordeerProductLabels:$,RechargeSubscriptions:r,Product:rW,ProductTitle:rN,ProductQuantity:rY,ProductPrice:rX,ProductSku:mo,FileUpload:mm,ProductBundleDiscount:r8,ProductBundleDiscountItem:ms,ProductButton:rZ,ProductDescription:rJ,ProductVariants:r$,ProductImages:r_,ProductImagesV3:r3,ProductImagesV2:r2,ProductProperties:r0,ProductQuickView:r1,ProductTag:r4,ProductListV3:r5,ProductList:r6,Radio:mp,Select:mn,Tabs:me,TabItem:mi,Text:mc,Textarea:ma,Video:md,PushOwl:q,ThirdPartySlot:mu,ShopPayInstallments:mf,JudgemeReviews:n,LooxReviews:e,Instafeed:d,Klaviyo:i,YotpoLoyalty:c,SmartSearchBarAndFilters:a,ProductReviews:u,Ryviu:f,Rivyo:j,Vitals:l,Omnisend:h,ParcelPanel:S,TrustMe:C,Trustoo:y,SealSubscriptions:P,AppstleSubscriptions:g,FeraReviews:B,Growave:x,KachingBundles:V,Bogos:K,Opinew:F,UltimateSalesBoost:O,FirePush:U,FrequentlyBoughtTogether:b,BoldSubscriptions:w,BoldProductOptions:k,WideBundle:v,PickyStory:I,InfiniteOptions:T,Wiser:A,Stamped:L,Bundler:D,LaiProductReviews:R,CrossSellCartUpsell:M,BoostAISearchDiscovery:E,YotpoReviews:H,AliReviews:z,CleanSizeCharts:G,QikifyUpsell:Q,EasySellCOD:Y,RequestQuoteHidePrice:J,InstantJudgemeReviews:mj,InstantLooxReviews:ml,InstantKlaviyo:mh,InstantYotpoLoyalty:my,Releasit:W,BirdChime:X,StockCounter:mP,DynamicCheckout:r7,Sticky:mg,ProductVendor:r9,KingProductOptions:N,ProductViewMore:mt,ProductBadge:mr,HextomCountdownTimerBar:o0,TrustBadgesBear:o1,TrustedsiteTrustBadges:o4,GloColorSwatchvariantImage:o5,BfSizeChartSizeGuide:o6,AlsoBoughtCbb:o7,HextomFreeShippingBar:o8,EcoboostifyShoppableReelUgc:o9};export{mS as default};
|
|
2
|
+
import o from"./accordion/components/Accordion.js";import t from"./accordion/components/AccordionItem.js";import"./accordion/settings/configs/settings.js";import r from"./third-party/components/RechargeSubscriptions.js";import m from"./third-party/components/EcomsendBackInStockAlert.js";import s from"./third-party/components/AppstleBundlesDiscounts.js";import p from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";import n from"./third-party/components/JudgemeReviews.js";import e from"./third-party/components/LooxReviews.js";import i from"./third-party/components/Klaviyo.js";import c from"./third-party/components/YotpoLoyalty.js";import a from"./third-party/components/SmartSearchBarAndFilters.js";import d from"./third-party/components/Instafeed.js";import u from"./third-party/components/ProductReviews.js";import f from"./third-party/components/Ryviu.js";import j from"./third-party/components/Rivyo.js";import l from"./third-party/components/Vitals.js";import h from"./third-party/components/Omnisend.js";import y from"./third-party/components/Trustoo.js";import P from"./third-party/components/SealSubscriptions.js";import g from"./third-party/components/AppstleSubscriptions.js";import B from"./third-party/components/FeraReviews.js";import S from"./third-party/components/ParcelPanel.js";import C from"./third-party/components/TrustMe.js";import b from"./third-party/components/FrequentlyBoughtTogether.js";import w from"./third-party/components/BoldSubscriptions.js";import k from"./third-party/components/BoldProductOptions.js";import v from"./third-party/components/WideBundle.js";import I from"./third-party/components/PickyStory.js";import A from"./third-party/components/InfiniteOptions.js";import T from"./third-party/components/Wiser.js";import L from"./third-party/components/Stamped.js";import R from"./third-party/components/Bundler.js";import D from"./third-party/components/LaiProductReviews.js";import x from"./third-party/components/Growave.js";import V from"./third-party/components/KachingBundles.js";import F from"./third-party/components/Opinew.js";import O from"./third-party/components/UltimateSalesBoost.js";import M from"./third-party/components/CrossSellCartUpsell.js";import E from"./third-party/components/BoostAISearchDiscovery.js";import H from"./third-party/components/YotpoReviews.js";import U from"./third-party/components/FirePush.js";import z from"./third-party/components/AliReviews.js";import G from"./third-party/components/CleanSizeCharts.js";import K from"./third-party/components/Bogos.js";import q from"./third-party/components/PushOwl.js";import Q from"./third-party/components/QikifyUpsell.js";import W from"./third-party/components/Releasit.js";import N from"./third-party/components/KingProductOptions.js";import Y from"./third-party/components/EasySellCOD.js";import J from"./third-party/components/RequestQuoteHidePrice.js";import X from"./third-party/components/BirdChime.js";import Z from"./third-party/components/KlarnaMessaging.js";import $ from"./third-party/components/FordeerProductLabels.js";import _ from"./third-party/components/EasifyProductOptions.js";import oo from"./third-party/components/CustomProductOptionsVariant.js";import ot from"./third-party/components/ShopifySubscriptions.js";import or from"./third-party/components/BonLoyaltyRewardsReferrals.js";import om from"./third-party/components/RecurpaySubscriptionApp.js";import os from"./third-party/components/SubifySubscriptionsApp.js";import op from"./third-party/components/Selleasy.js";import on from"./third-party/components/LoopSubscriptions.js";import oe from"./third-party/components/SkioSubscriptionsYcS20.js";import oi from"./third-party/components/ShopifyForms.js";import oc from"./third-party/components/NotifyBackInStockPreOrder.js";import oa from"./third-party/components/ReviewxpoProductReviewsApp.js";import od from"./third-party/components/PumperBundlesVolumeDiscount.js";import ou from"./third-party/components/UnlimitedBundlesDiscounts.js";import of from"./third-party/components/KiteFreeGiftDiscount.js";import oj from"./third-party/components/FastBundleBundlesDiscounts.js";import ol from"./third-party/components/SimpleBundlesKits.js";import oh from"./third-party/components/EasyBundleBuilderSkailama.js";import oy from"./third-party/components/KoalaBundleQuantityDiscount.js";import oP from"./third-party/components/PreorderNowPreOrderPq.js";import og from"./third-party/components/FlyBundlesUpsellsFbt.js";import oB from"./third-party/components/JunipProductReviewsUgc.js";import oS from"./third-party/components/MaxbundleProductBundles.js";import oC from"./third-party/components/PreorderNowWodPresale.js";import ob from"./third-party/components/TagshopShoppableVideosUgc.js";import ow from"./third-party/components/WhatmoreShoppableVideosreel.js";import ok from"./third-party/components/ProductOptionsCustomizer.js";import ov from"./third-party/components/TagembedSocialPostReview.js";import oI from"./third-party/components/AirProductReviewsAppUgc.js";import oA from"./third-party/components/MbcBundleVolumeDiscount.js";import oT from"./third-party/components/GoogleReviewsByReputon.js";import oL from"./third-party/components/RapiBundleQuantityBreaks.js";import oR from"./third-party/components/AppointmentBookingCowlendar.js";import oD from"./third-party/components/SproutPlantTreesGrowSales.js";import ox from"./third-party/components/InstasellShoppableInstagram.js";import oV from"./third-party/components/WishlistPlus.js";import oF from"./third-party/components/LoloyalLoyaltyReferrals.js";import oO from"./third-party/components/HulkFormBuilder.js";import oM from"./third-party/components/PowerfulContactFormBuilder.js";import oE from"./third-party/components/WishlistKing.js";import oH from"./third-party/components/TeeinblueProductPersonalizer.js";import oU from"./third-party/components/GloboProductOptionsVariant.js";import oz from"./third-party/components/ProductOptionsVariantOption.js";import oG from"./third-party/components/BestBuyFulfillment.js";import oK from"./third-party/components/AftershipEmailMarketingsms.js";import oq from"./third-party/components/SegunoEmailMarketing.js";import oQ from"./third-party/components/SeoantTrustBadgesIcon.js";import oW from"./third-party/components/DiscountyBulkDiscountSales.js";import oN from"./third-party/components/TrustreviewsProductReviews.js";import oY from"./third-party/components/MyappgurusProductReviews.js";import oJ from"./third-party/components/HulkProductOptions.js";import oX from"./third-party/components/TrustshopProductReviews.js";import oZ from"./third-party/components/StellarDeliveryDatePickup.js";import o$ from"./third-party/components/EssentialCountdownTimerBar.js";import o_ from"./third-party/components/EssentialAnnouncementBar.js";import o3 from"./third-party/components/OkendoReviewsLoyalty.js";import o2 from"./third-party/components/EstimatedDeliveryDatePlus.js";import o0 from"./third-party/components/HextomCountdownTimerBar.js";import o1 from"./third-party/components/TrustBadgesBear.js";import o4 from"./third-party/components/TrustedsiteTrustBadges.js";import o5 from"./third-party/components/GloColorSwatchvariantImage.js";import o6 from"./third-party/components/BfSizeChartSizeGuide.js";import o7 from"./third-party/components/AlsoBoughtCbb.js";import o8 from"./third-party/components/HextomFreeShippingBar.js";import o9 from"./third-party/components/EcoboostifyShoppableReelUgc.js";import"@gem-sdk/core";import to from"./third-party/components/AovBundlesVolumeDiscounts.js";import tt from"./third-party/components/UppromoteAffiliateMarketing.js";import tr from"./third-party/components/DealeasyVolumeDiscounts.js";import tm from"./third-party/components/BloyRewardsProgramLoyalty.js";import ts from"./third-party/components/KachingSubscriptionsApp.js";import tp from"./third-party/components/GrowthSuiteDiscountCodes.js";import tn from"./third-party/components/BonySubscriptionsApp.js";import te from"./third-party/components/WcWishlistBackInStock.js";import ti from"./third-party/components/EssentPreorderBackInStock.js";import tc from"./third-party/components/AppstleLoyaltyRewardProgram.js";import ta from"./article/components/ArticleList.js";import td from"./article/components/ArticleTitle.js";import tu from"./article/components/ArticleExcerpt.js";import tf from"./article/components/ArticleContent.js";import tj from"./article/components/ArticleImage.js";import tl from"./article/components/ArticlePagination.js";import th from"./article/components/ArticleAuthor.js";import ty from"./article/components/ArticleTag.js";import tP from"./article/components/ArticleCategory.js";import tg from"./article/components/ArticleDate.js";import tB from"./article/components/ArticleReadMore.js";import tS from"./hero-banner/components/HeroBanner.js";import tC from"./breadcrumb/components/Breadcrumb.js";import tb from"./button/components/Button.js";import tw from"./carousel-v3/components/root/Carousel.js";import tk from"./carousel-v3/components/item/CarouselItem.js";import tv from"./carousel/components/root/Carousel.js";import tI from"./carousel/components/item/CarouselItem.js";import tA from"./cart/components/Cart.js";import tT from"./cart/components/CartList.js";import tL from"./cart/components/CartLinePrice.js";import tR from"./cart/components/CartLineVariant.js";import tD from"./cart/components/CartLineImage.js";import tx from"./cart/components/CartTotalPrice.js";import tV from"./cart/components/CartTotalItem.js";import tF from"./cart/components/CartCheckout.js";import tO from"./cart/components/DiscountInput.js";import tM from"./cart/components/CartDiscount.js";import tE from"./cart/components/CartOrderNote.js";import tH from"./cart/components/CartLineAttribute.js";import tU from"./cart/components/CouponList.js";import tz from"./cart/components/shop-pay-button/ShopPayButton.js";import tG from"./cart/components/CheckoutNow.js";import tK from"./code/components/CSSCode.js";import tq from"./collection/components/collection-title/CollectionTitle.js";import tQ from"./collection/components/collection-banner/CollectionBanner.js";import tW from"./collection/components/collection-description/CollectionDescription.js";import tN from"./collection/components/collection-toolbar/CollectionToolbar.js";import tY from"./collection/components/collection-paginator/CollectionPaginator.js";import tJ from"./countdown-timer/components/Countdown.js";import"./countdown-timer/settings/configs/setting.js";import tX from"./coupon/components/Coupon.js";import tZ from"./dialog/components/Dialog.js";import t$ from"./estimate-delivery/components/EstimateDate.js";import"@gem-sdk/system";import t_ from"./link/components/Link.js";import"./estimate-delivery/settings/configs/settings.js";import t3 from"./grid/components/root/Root.js";import t2 from"./grid/components/section/Section.js";import t0 from"./grid/components/row/Row.js";import t1 from"./grid/components/col/Col.js";import t4 from"./form/components/newsletter/Newsletter.js";import t5 from"./form/components/contact/Contact.js";import t6 from"./form/components/form-email/FormEmail.js";import t7 from"./form/components/submit-button/SubmitButton.js";import t8 from"./form/components/form-dropdown/FormDropdown.js";import t9 from"./form/components/textfield/TextField.js";import ro from"./form/components/textarea/TextArea.js";import rt from"./form/components/form-checkbox/FormCheckbox.js";import rr from"./form/components/textinput/TextInput.js";import rm from"./header/components/Header.js";import rs from"./header/components/kind/basic/index.js";import rp from"./header/components/kind/modern/index.js";import rn from"./header/components/kind/basic/MobileMenu.js";import re from"./header/components/kind/basic/DesktopMenu.js";import ri from"./heading/components/Heading.js";import rc from"./icon/components/Icon.js";import ra from"./icon-list/components/IconList.js";import rd from"./icon-list/components/IconListItem.js";import ru from"./icon-list-hoz/components/IconListHoz.js";import rf from"./icon-list-hoz/components/IconListHozItem.js";import rj from"./icon-list-v2/components/IconList.js";import"./icon-list-v2/settings/configs/settings.js";import rl from"./image/components/Image.js";import rh from"./image-comparison/components/ImageComparison.js";import ry from"./image-detection/components/ImageDetection.js";import rP from"./input/components/Input.js";import rg from"./line/components/Line.js";import rB from"./marquee/components/Marquee.js";import rS from"./marquee/components/MarqueeItem.js";import rC from"./menu/components/Menu.js";import"./modal/components/confirm.js";import rb from"./modal/components/Modal.js";import rw from"./pagination/components/Pagination.js";import rk from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import rv from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import rI from"./post-purchase/button/components/Button.js";import rA from"./post-purchase/callout-banner/components/CalloutBox.js";import rT from"./post-purchase/callout-banner/components/CalloutText.js";import rL from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import rR from"./post-purchase/image/components/Image.js";import rD from"./post-purchase/line/components/PostPurchaseLine.js";import rx from"./post-purchase/link/components/PostPurchaseLink.js";import{PostPurchaseHeading as rV}from"./post-purchase/text/index.js";import rF from"./post-purchase/product/components/ProductTitle.js";import rO from"./post-purchase/product/components/ProductDescription.js";import rM from"./post-purchase/product/components/ProductPrice.js";import rE from"./post-purchase/product/components/product-variant/components/ProductVariant.js";import rH from"./post-purchase/product/components/AcceptButton.js";import rU from"./post-purchase/product/components/ProductQuantity.js";import rz from"./post-purchase/product/components/product-offer/components/ProductOffer.js";import rG from"./post-purchase/product/components/ProductPriceBreakdown.js";import rK from"./post-purchase/product/components/ProductDiscountTag.js";import rq from"./post-purchase/product/components/product-subscription/ProductSubscription.js";import rQ from"./post-purchase/product/components/product-image/index.js";import rW from"./post-purchase/buyer-consent/components/BuyerConsent.js";import rN from"./product/components/product-wrap/Product.js";import rY from"./product/components/product-title/ProductTitle.js";import rJ from"./product/components/product-quantity/ProductQuantity.js";import rX from"./product/components/product-description/ProductDescription.js";import rZ from"./product/components/product-price/ProductPrice.js";import r$ from"./product/components/product-button/ProductButton.js";import r_ from"./product/components/product-variants/ProductVariants.js";import r3 from"./product/components/ProductImages.js";import r2 from"./product/components/product-images-v3/ProductImageV3.js";import r0 from"./product/components/product-images-v2/ProductImageV2.js";import r1 from"./product/components/product-properties/ProductProperties.js";import r4 from"./product/components/product-quick-view/QuickView.js";import r5 from"./product/components/product-discount-tag/ProductDiscountTag.js";import r6 from"./product/components/product-list-v3/ProductList.js";import r7 from"./product/components/product-list/ProductList.js";import r8 from"./product/components/dynamic-checkout/DynamicCheckout.js";import r9 from"./product/components/product-bundle/ProductBundleDiscount.js";import mo from"./product/components/product-vendor/Vendor.js";import mt from"./product/components/product-sku/Sku.js";import mr from"./product/components/product-view-more/ProductViewMore.js";import mm from"./product/components/product-badge/ProductBadge.js";import ms from"./product/components/file-upload/UploadFile.js";import mp from"./product/components/product-bundle/ProductBundleDiscountItem.js";import mn from"./radio/components/Radio.js";import me from"./select/components/Select.js";import"./select/settings/configs/settings.js";import mi from"./tab/components/Tabs.js";import mc from"./tab/components/TabItem.js";import ma from"./text/components/Text.js";import md from"./textarea/components/Textarea.js";import mu from"./video/components/Video.js";import mf from"./third-party-slot/components/ThirdPartySlot.js";import mj from"./shop-pay-installment/components/ShopPayInstallments.js";import ml from"./third-party-instant/components/InstantJudgemeReviews.js";import mh from"./third-party-instant/components/InstantLooxReviews.js";import my from"./third-party-instant/components/InstantKlaviyo.js";import mP from"./third-party-instant/components/InstantYotpoLoyalty.js";import mg from"./stock-counter/components/StockCounter.js";import mB from"./sticky/components/Sticky.js";import mS from"./post-purchase/text/components/Text.js";var mC={AppstleLoyaltyRewardProgram:tc,EssentPreorderBackInStock:ti,WcWishlistBackInStock:te,BonySubscriptionsApp:tn,GrowthSuiteDiscountCodes:tp,KachingSubscriptionsApp:ts,BloyRewardsProgramLoyalty:tm,DealeasyVolumeDiscounts:tr,UppromoteAffiliateMarketing:tt,AovBundlesVolumeDiscounts:to,AovFreeGiftBuyXGetYBogo:p,EcomsendBackInStockAlert:m,AppstleBundlesDiscounts:s,Accordion:o,AccordionItem:t,ArticleList:ta,ArticleTitle:td,ArticleExcerpt:tu,ArticleContent:tf,ArticleImage:tj,ArticlePagination:tl,ArticleAuthor:th,ArticleTag:ty,ArticleCategory:tP,ArticleDate:tg,ArticleReadMore:tB,HeroBanner:tS,Breadcrumb:tC,Button:tb,CarouselV3:tw,CarouselItemV3:tk,Carousel:tv,CarouselItem:tI,Cart:tA,CartList:tT,CartLinePrice:tL,CartLineVariant:tR,CartLineImage:tD,CartTotalPrice:tx,CartTotalItem:tV,CartCheckout:tF,DiscountInput:tO,CartDiscount:tM,CartOrderNote:tE,CartLineAttribute:tH,CouponList:tU,ShopPayButton:tz,CheckoutNow:tG,CSSCode:tK,CollectionTitle:tq,CollectionDescription:tW,CollectionBanner:tQ,CollectionToolbar:tN,CollectionPaginator:tY,Countdown:tJ,Coupon:tX,Dialog:tZ,EstimateDate:t$,Newsletter:t4,ContactForm:t5,FormEmail:t6,SubmitButton:t7,TextField:t9,TextInput:rr,FormTextarea:ro,FormDropdown:t8,FormCheckbox:rt,Root:t3,Section:t2,Row:t0,Col:t1,Header:rm,BasicHeader:rs,ModernHeader:rp,MobileMenu:rn,DesktopMenu:re,Heading:ri,Icon:rc,IconList:ra,IconListItem:rd,IconListHoz:ru,IconListItemHoz:rf,IconListV2:rj,Image:rl,ImageComparison:rh,ImageDetection:ry,Input:rP,Line:rg,Link:t_,Marquee:rB,MarqueeItem:rS,Menu:rC,Modal:rb,Pagination:rw,PostPurchaseAdvancedList:rk,PostPurchaseAdvancedListItem:rv,PostPurchaseAcceptButton:rH,PostPurchaseButton:rI,PostPurchaseCalloutBox:rA,PostPurchaseCalloutText:rT,PostPurchaseCountdownTimer:rL,PostPurchaseImage:rR,PostPurchaseLine:rD,PostPurchaseLink:rx,PostPurchaseHeading:rV,PostPurchaseText:mS,PostPurchaseProductTitle:rF,PostPurchaseProductDescription:rO,PostPurchaseProductPrice:rM,PostPurchaseProductVariants:rE,PostPurchaseProductQuantity:rU,PostPurchaseProductPriceBreakdown:rG,PostPurchaseProductOffer:rz,PostPurchaseProductDiscountTag:rK,PostPurchaseProductImages:rQ,PostPurchaseProductSubscription:rq,PostPurchaseBuyerConsent:rW,EstimatedDeliveryDatePlus:o2,OkendoReviewsLoyalty:o3,EssentialAnnouncementBar:o_,EssentialCountdownTimerBar:o$,StellarDeliveryDatePickup:oZ,TrustshopProductReviews:oX,HulkProductOptions:oJ,MyappgurusProductReviews:oY,TrustreviewsProductReviews:oN,DiscountyBulkDiscountSales:oW,SeoantTrustBadgesIcon:oQ,SegunoEmailMarketing:oq,AftershipEmailMarketingsms:oK,BestBuyFulfillment:oG,ProductOptionsVariantOption:oz,GloboProductOptionsVariant:oU,TeeinblueProductPersonalizer:oH,HulkFormBuilder:oO,LoloyalLoyaltyReferrals:oF,PowerfulContactFormBuilder:oM,WishlistKing:oE,WishlistPlus:oV,InstasellShoppableInstagram:ox,SproutPlantTreesGrowSales:oD,RapiBundleQuantityBreaks:oL,AppointmentBookingCowlendar:oR,GoogleReviewsByReputon:oT,MbcBundleVolumeDiscount:oA,ProductOptionsCustomizer:ok,AirProductReviewsAppUgc:oI,TagembedSocialPostReview:ov,WhatmoreShoppableVideosreel:ow,TagshopShoppableVideosUgc:ob,JunipProductReviewsUgc:oB,FlyBundlesUpsellsFbt:og,PreorderNowWodPresale:oC,PreorderNowPreOrderPq:oP,MaxbundleProductBundles:oS,KoalaBundleQuantityDiscount:oy,EasyBundleBuilderSkailama:oh,FastBundleBundlesDiscounts:oj,KiteFreeGiftDiscount:of,UnlimitedBundlesDiscounts:ou,SimpleBundlesKits:ol,ReviewxpoProductReviewsApp:oa,PumperBundlesVolumeDiscount:od,NotifyBackInStockPreOrder:oc,ShopifyForms:oi,SkioSubscriptionsYcS20:oe,LoopSubscriptions:on,Selleasy:op,RecurpaySubscriptionApp:om,SubifySubscriptionsApp:os,ShopifySubscriptions:ot,BonLoyaltyRewardsReferrals:or,EasifyProductOptions:_,CustomProductOptionsVariant:oo,KlarnaMessaging:Z,FordeerProductLabels:$,RechargeSubscriptions:r,Product:rN,ProductTitle:rY,ProductQuantity:rJ,ProductPrice:rZ,ProductSku:mt,FileUpload:ms,ProductBundleDiscount:r9,ProductBundleDiscountItem:mp,ProductButton:r$,ProductDescription:rX,ProductVariants:r_,ProductImages:r3,ProductImagesV3:r2,ProductImagesV2:r0,ProductProperties:r1,ProductQuickView:r4,ProductTag:r5,ProductListV3:r6,ProductList:r7,Radio:mn,Select:me,Tabs:mi,TabItem:mc,Text:ma,Textarea:md,Video:mu,PushOwl:q,ThirdPartySlot:mf,ShopPayInstallments:mj,JudgemeReviews:n,LooxReviews:e,Instafeed:d,Klaviyo:i,YotpoLoyalty:c,SmartSearchBarAndFilters:a,ProductReviews:u,Ryviu:f,Rivyo:j,Vitals:l,Omnisend:h,ParcelPanel:S,TrustMe:C,Trustoo:y,SealSubscriptions:P,AppstleSubscriptions:g,FeraReviews:B,Growave:x,KachingBundles:V,Bogos:K,Opinew:F,UltimateSalesBoost:O,FirePush:U,FrequentlyBoughtTogether:b,BoldSubscriptions:w,BoldProductOptions:k,WideBundle:v,PickyStory:I,InfiniteOptions:A,Wiser:T,Stamped:L,Bundler:R,LaiProductReviews:D,CrossSellCartUpsell:M,BoostAISearchDiscovery:E,YotpoReviews:H,AliReviews:z,CleanSizeCharts:G,QikifyUpsell:Q,EasySellCOD:Y,RequestQuoteHidePrice:J,InstantJudgemeReviews:ml,InstantLooxReviews:mh,InstantKlaviyo:my,InstantYotpoLoyalty:mP,Releasit:W,BirdChime:X,StockCounter:mg,DynamicCheckout:r8,Sticky:mB,ProductVendor:mo,KingProductOptions:N,ProductViewMore:mr,ProductBadge:mm,HextomCountdownTimerBar:o0,TrustBadgesBear:o1,TrustedsiteTrustBadges:o4,GloColorSwatchvariantImage:o5,BfSizeChartSizeGuide:o6,AlsoBoughtCbb:o7,HextomFreeShippingBar:o8,EcoboostifyShoppableReelUgc:o9};export{mC as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{template as t}from"@gem-sdk/core";import{getClass as s}from"./common/classes.js";import{getStyle as o}from"./common/styles.js";import{getData as e}from"./common/helpers.js";import{If as r}from"@gem-sdk/system";let l=l=>{let{custom:m,left:i}=l,{isRenderCustomIcon:a}=e(l),{buttonClass:p,buttonContentClass:c}=s(l),{buttonStyle:n,buttonContentStyle:
|
|
1
|
+
import{template as t}from"@gem-sdk/core";import{getClass as s}from"./common/classes.js";import{getStyle as o}from"./common/styles.js";import{getData as e}from"./common/helpers.js";import{If as r}from"@gem-sdk/system";let l=l=>{let{custom:m,left:i}=l,{isRenderCustomIcon:a}=e(l),{buttonClass:p,buttonContentClass:c}=s({...l,isLiquid:!0}),{buttonStyle:n,buttonContentStyle:d,innerBorderCss:u}=o(l),w=r(a,m??"",`<svg
|
|
2
2
|
height="100%"
|
|
3
3
|
width="100%"
|
|
4
4
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -6,12 +6,12 @@ import{template as t}from"@gem-sdk/core";import{getClass as s}from"./common/clas
|
|
|
6
6
|
fill="currentColor"
|
|
7
7
|
>
|
|
8
8
|
<path d="M5 3l3.057-3 11.943 12-11.943 12-3.057-3 9-9z" />
|
|
9
|
-
</svg>`),
|
|
9
|
+
</svg>`),y=t`
|
|
10
10
|
<div
|
|
11
11
|
class="${c}"
|
|
12
|
-
style="${
|
|
12
|
+
style="${d}"
|
|
13
13
|
>
|
|
14
|
-
${
|
|
14
|
+
${w||""}
|
|
15
15
|
</div>
|
|
16
16
|
`;return t`
|
|
17
17
|
<button
|
|
@@ -20,7 +20,7 @@ import{template as t}from"@gem-sdk/core";import{getClass as s}from"./common/clas
|
|
|
20
20
|
class="${p}"
|
|
21
21
|
style="${n}"
|
|
22
22
|
>
|
|
23
|
-
<style type="text/css">${
|
|
24
|
-
${
|
|
23
|
+
<style type="text/css">${u}</style>
|
|
24
|
+
${y}
|
|
25
25
|
</button>
|
|
26
26
|
`};export{l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createClass as e}from"@gem-sdk/system";import{getClassArrowDisplay as r,getClassArrowRotate as g,getResponsiveSetting as p}from"./helpers.js";let t=t=>{let{className:s,componentId:o,rootId:i,left:l,uid:
|
|
1
|
+
import{createClass as e}from"@gem-sdk/system";import{getClassArrowDisplay as r,getClassArrowRotate as g,getResponsiveSetting as p}from"./helpers.js";let t=t=>{let{className:s,componentId:o,rootId:i,left:l,uid:c,isHiddenWhenDisabled:n,disabled:u,showWhenHover:a,showArrow:f,vertical:m,isLiquid:v=!1}=t,b=p(f||{}),d=l?"gp-carousel-action-back gem-slider-previous":"gp-carousel-action-next gem-slider-next",x=`gp-invisible ${v?"":"gp-opacity-0"}`,y=e({"gp-z-1 gp-items-center gp-justify-center gp-overflow-hidden gp-shrink-0 before:gp-left-0 before:gp-top-0":!0,["gp-carousel-arrow-"+c]:!0,...s&&{[s]:!0},...o&&{[o]:!0},...i&&{[i]:!0},[d]:!0,...{[x]:n&&u,"gp-cursor-default gp-text-gray-300":u,"gp-cursor-pointer gp-text-gray-500":!u,"!gp-invisible group-hover/carousel:!gp-visible":a,...r(b)}}),h=e({"gp-flex gp-items-center gp-justify-center [&>svg]:gp-h-full [&>svg]:gp-w-full":!0,...g(!!l,m)});return{buttonClass:y,buttonContentClass:h}};export{t as getClass};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{jsx as e}from"react/jsx-runtime";import{useEditorMode as r,isEmptyChildren as o}from"@gem-sdk/core";import"
|
|
2
|
+
import{jsx as e}from"react/jsx-runtime";import{useEditorMode as r,isEmptyChildren as o}from"@gem-sdk/core";import"../swiper/Swiper.js";import{SwiperSlide as s}from"../swiper/SwiperSlide.js";import{getStyle as m}from"./common/styles.js";import{getClass as i}from"./common/classes.js";import{useCarouselItem as t}from"../../hooks/useCarouseItem.js";import l from"../../../grid/components/ChildrenDroppable.js";let a=a=>{let{children:p,builderAttrs:d,parentSettings:n,builderProps:c}=a,{handleClick:u,handleMouseMove:f,handleMouseOut:j}=t(a),{indexKey:h}=a,k=c?.uid?`${c?.uid}-${h}`:h,w=r(),{carouselItemStyle:y,carouselItemInnerStyle:C}=m(a,w),{carouselItemClass:v,carouselItemInnerClass:M}=i(a);return e(s,{...d,"aria-hidden":!0,className:v,style:y,onClick:u,onMouseMove:f,onMouseLeave:j,dir:n?.rtl?"rtl":"ltr","data-carousel-item-key":k,children:e("div",{className:M,style:C,children:o(p)?e(l,{}):p})})};export{a as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{jsx as e,jsxs as r,Fragment as o}from"react/jsx-runtime";import{forwardRef as t,Children as i,useState as
|
|
2
|
+
import{jsx as e,jsxs as r,Fragment as o}from"react/jsx-runtime";import{forwardRef as t,Children as i,useState as n,useRef as l,useMemo as s,useCallback as a,isValidElement as d,cloneElement as p,createElement as m}from"react";import{filterToolbarPreview as c,useCurrentDevice as u,isEmptyChildren as S}from"@gem-sdk/core";import{mappingNavigationCarousel as h}from"../arrow/common/helpers.js";import{useCarousel as k}from"../../hooks/useCarousel.js";import{getData as v}from"./common/helpers.js";import{getClass as y}from"./common/classes.js";import{getStyle as f}from"./common/styles.js";import{getAttr as w}from"./common/attrs.js";import C from"../arrow/Arrow.js";import g from"../dot/Dots.js";import{Swiper as j}from"../swiper/Swiper.js";import"@gem-sdk/system";let b=t((t,b)=>{let{children:O,builderAttrs:P,builderProps:A,styles:D,isHiddenArrowWhenDisabled:I=!0,hiddenDotWhenOnlyOne:x,elmRef:z,isEnableCheckHasScrollableContent:N,onSwiperReady:T}=t,B=h(t.setting),R={...t,setting:B},W=i.count(c(O))??0,[$,E]=n(null),{arrowButtonSize:H,arrowBackgroundColor:G,arrowGapToEachSide:F="16",roundedArrow:J,arrowIconSize:K,arrowCustomColor:U,arrowBorder:q,arrowShadow:L,showWhenHover:M}=B??{},Q=l({prevOrder:"",prevContent:"",version:0}),V=s(()=>{let e=B?.childItem||[],r=e.join("|"),o=[...e].sort().join("|"),t=Q.current;return t.prevOrder&&t.prevContent&&o===t.prevContent&&r!==t.prevOrder&&t.version++,t.prevOrder=r,t.prevContent=o,`reorder-${t.version}`},[B?.childItem]),{isInfinity:X,localRef:Y,sliderSettings:Z,sneakPeak:_,totalSlideItem:ee,currentSlide:er,isRenderDots:eo,isNavigationEnabled:et,isNavigationVisible:ei,isScrollToStart:en,isScrollToEnd:el,handleDotClick:es,getItemsPerPage:ea,handleNextAndPrevSlide:ed,dispatchEventSelectSlide:ep,getNumberOfFullWidthShow:em,setCurrentSlide:ec,shouldDuplicateSlides:eu,setIsScrollToStart:eS,setIsScrollToEnd:eh}=k(R,b,$,W),{loopConfig:ek,arrowShowConfig:ev}=v(R),{rootClassRender:ey,wrapperClassRender:ef,wrapperInnerClass:ew,sliderClass:eC}=y(R),{rootStyleRender:eg,wrapperStyleRender:ej,wrapperInnerStyle:eb}=f(R),{rootAttrRender:eO,sliderAttr:eP}=w(R),eA=u(),eD=B?.sneakPeak?.[eA],eI=(r,o)=>{let i="next"===r;if(!o||W<=1)return null;let n=N?el:$?.isEnd,l=N?en:$?.isBeginning;return e(C,{uid:A?.uid,custom:B?.arrowCustom??"",showArrow:ev,arrowButtonSize:H||{},arrowIconSize:K||{},arrowBackgroundColor:G||"",arrowCustomColor:U,gapToEachSize:F,showWhenHover:M,arrowBorder:q||{},arrowCorner:J||{},arrowShadow:L||{},onClick:e=>{e.stopPropagation(),ed(r)},left:!i,disabled:!ei||!X&&(i?n:l),vertical:B?.vertical,isHiddenWhenDisabled:I,rootId:t?.parentClass})},ex=a(e=>{E(e),T?.(e)},[]),ez=a(()=>{t?.isDisableResetSlide||(ec(0),eS(!0),eh(!1))},[t?.isDisableResetSlide,ec,eh,eS]),eN=i.toArray(c(O)).filter(d),eT=eu(W),eB=eT?2*W:W,eR=s(()=>{if(!eT)return eN;let e=eN.map((e,r)=>{if(!d(e))return e;let o=e.key,t=o?`${o}-duplicate-${r}`:`duplicate-${r}`;return p(e,{...e.props||{},key:t})});return[...eN,...e]},[eT,eN]),eW=s(()=>{let e=i.toArray(O),r=e[0];return d(r)?r.key:""},[O]),e$=JSON.stringify(Z.autoplay),eE=s(()=>{let e=[W,V,eR.length,eW,Z.dir,Z.loop,Z.direction,Z.isSneakPeekCenter,_,e$];return e.join("-")},[W,V,eR.length,eW,Z.dir,Z.loop,Z.direction,Z.isSneakPeekCenter,_,e$]);return e("div",{ref:z,...eO,className:ey,style:eg,children:r("div",{ref:Y,...P,className:ef,style:ej,children:[r("div",{className:ew,style:eb,children:[eI("prev",et),m(j,{...eP,...Z,sliderClass:eC,thumbsSwiper:t?.thumbsSwiper,onSwiperReady:ex,totalSlides:ee,key:eE,sliderOrder:V,onSwiperReset:ez},S(O)?e("div",{children:"No Slider"}):e(o,{children:eR.map((e,r)=>{if(!d(e))return null;let o=e.props??{};return m(e.type,{...o,key:e.key,indexKey:r.toString(),parentSettings:B,parentStyle:D,background:B?.background,parentUid:A?.uid,dispatchEventSelectSlide:ep})})})),eI("next",et)]}),eo&&e(g,{dotStyle:B?.dotStyle,dotGapToCarousel:B?.dotGapToCarousel,vertical:B?.vertical,showDots:B?.dot,slideItemsPerPage:ea(),enabledSneakPeak:eD,dotColor:B?.dotColor,dotActiveColor:B?.dotActiveColor,dotSize:B?.dotSize,sneakPeakType:B?.sneakPeakType,totalSlideItem:eB,hiddenWhenOnlyOne:x,currentSlide:er,loop:ek,numberOfFullWidthShow:em(eA),onHandleClick:es,slideDuplicated:eT}),c(O,!0)]})})});export{b as default};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{template as o,WrapRenderChildren as r,RenderChildren as
|
|
1
|
+
import{template as o,WrapRenderChildren as r,RenderChildren as s,RenderIf as e,isLocalEnv as t,baseAssetURL as i}from"@gem-sdk/core";import a from"../arrow/Arrow.liquid.js";import l from"../dot/Dots.liquid.js";import{mappingNavigationCarousel as d}from"../arrow/common/helpers.js";import{getData as p}from"./common/helpers.js";import{getClass as n}from"./common/classes.js";import{getStyle as m}from"./common/styles.js";import{getAttr as c}from"./common/attrs.js";import{getStaticLocale as u,getSettingPreloadData as $}from"../../../helpers.js";let v=v=>{let{children:f,builderAttrs:g,builderProps:w,styles:h,isHiddenArrowWhenDisabled:S=!0,hiddenDotWhenOnlyOne:y,rootId:C,rawChildren:j,conditionAppendJs:k,productBadgeLiquid:E}=v,I=d(v.setting),A={...v,setting:I},{arrowButtonSize:G,arrowBackgroundColor:P,arrowGapToEachSide:T="16",roundedArrow:b,arrowIconSize:q,arrowCustomColor:x,arrowBorder:z,arrowShadow:B,showWhenHover:D}=I??{},{uniqueComponentId:O,loopConfig:W,arrowShowConfig:_,stateData:H}=p(A),{rootClassRender:M,wrapperClassRender:N,wrapperInnerClass:R,sliderClass:U}=n(A),{sliderWrapperStyle:V,rootStyleRender:F,wrapperStyleRender:J,wrapperInnerStyle:K}=m(A),{rootAttrRender:L,sliderAttr:Q}=c(A),X=()=>e(t,`<script ${$('class="gps-link" delay',"src")}="{{ 'gp-carousel-v3-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${$('class="gps-link" delay',"src")}="${i}/assets-v2/gp-carousel-v3-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`),Y=o=>a({uid:w?.uid,componentId:O,custom:I?.arrowCustom??"",showArrow:_,arrowButtonSize:G||{},arrowIconSize:q||{},arrowBackgroundColor:P??"",arrowCustomColor:x,gapToEachSize:T,showWhenHover:D,arrowBorder:z||{},arrowCorner:b||{},arrowShadow:B||{},left:"next"!==o,onClick:o=>{o.stopPropagation()},vertical:I?.vertical,isHiddenWhenDisabled:S,rootId:C});return o`
|
|
2
2
|
<gp-carousel-v3 gp-data='${H}' ${L} style="${F}" class="${M}">
|
|
3
3
|
<div
|
|
4
|
-
${
|
|
4
|
+
${g}
|
|
5
5
|
class="${N}"
|
|
6
6
|
style="${J}"
|
|
7
7
|
>
|
|
@@ -11,12 +11,12 @@ import{template as o,WrapRenderChildren as r,RenderChildren as e,RenderIf as s,i
|
|
|
11
11
|
<div ${Q} style="${V}">
|
|
12
12
|
<div class="${U}">
|
|
13
13
|
${o`
|
|
14
|
-
${
|
|
14
|
+
${j?.length?r({uid:w?.uid??"",customProps:j[0]?.customProps},j.map((r,e)=>{if(r)return o`${s({...r,index:e,parentSettings:I,parentStyle:h,background:I?.background,parentUid:w?.uid})}`})):f??`<div>${u("Carousel","no_slider")}</div>`}`}
|
|
15
15
|
</div>
|
|
16
16
|
</div>
|
|
17
17
|
${Y("next")}
|
|
18
18
|
</div>
|
|
19
|
-
${
|
|
19
|
+
${l({loop:W,showDots:I?.dot,dotStyle:I?.dotStyle,dotGapToCarousel:I?.dotGapToCarousel,vertical:I?.vertical,uniqueComponentId:O,hiddenWhenOnlyOne:y})}
|
|
20
20
|
</div>
|
|
21
21
|
</gp-carousel-v3>
|
|
22
22
|
${k?`{% if ${k} %} ${X()} {% endif %}`:X()}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import{template as o,WrapRenderChildren as r,RenderChildren as e,RenderIf as s,isLocalEnv as t,baseAssetURL as a}from"@gem-sdk/core";import i from"../arrow/Arrow.liquid.js";import l from"../dot/Dots.liquid.js";import{mappingNavigationCarousel as d}from"../arrow/common/helpers.js";import{getData as m}from"./common/helpers.js";import{getClass as p}from"./common/classes.js";import{getStyle as n}from"./common/styles.js";import{getAttr as c}from"./common/attrs.js";import{getStaticLocale as u,getSettingPreloadData as $}from"../../../helpers.js";let v=v=>{let{children:f,builderAttrs:g,builderProps:w,styles:h,isHiddenArrowWhenDisabled:S=!0,hiddenDotWhenOnlyOne:y,rootId:C,rawChildren:j,conditionAppendJs:k,productBadgeLiquid:b}=v,E=d(v.setting),I={...v,setting:E},{arrowButtonSize:A,arrowBackgroundColor:G,arrowGapToEachSide:P="16",roundedArrow:T,arrowIconSize:q,arrowCustomColor:x,arrowBorder:z,arrowShadow:B,showWhenHover:D}=E??{},{uniqueComponentId:O,loopConfig:W,arrowShowConfig:_,stateData:H}=m(I),{rootClassRender:M,wrapperClassRender:N,wrapperInnerClass:R,sliderClass:U}=p(I),{sliderWrapperStyle:V,rootStyleRender:F,wrapperStyleRender:J,wrapperInnerStyle:K}=n(I),{rootAttrRender:L,sliderAttr:Q}=c(I),X=()=>s(t,`<script ${$('class="gps-link" delay',"src")}="{{ 'gp-carousel-v3-embla-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${$('class="gps-link" delay',"src")}="${a}/assets-v2/gp-carousel-v3-embla-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`),Y=o=>i({uid:w?.uid,componentId:O,custom:E?.arrowCustom??"",showArrow:_,arrowButtonSize:A||{},arrowIconSize:q||{},arrowBackgroundColor:G??"",arrowCustomColor:x,gapToEachSize:P,showWhenHover:D,arrowBorder:z||{},arrowCorner:T||{},arrowShadow:B||{},left:"next"!==o,onClick:o=>{o.stopPropagation()},vertical:E?.vertical,isHiddenWhenDisabled:S,rootId:C});return o`
|
|
2
|
+
<gp-carousel-v3 gp-data='${H}' ${L} style="${F}" class="${M}">
|
|
3
|
+
<div
|
|
4
|
+
${g}
|
|
5
|
+
class="${N}"
|
|
6
|
+
style="${J}"
|
|
7
|
+
>
|
|
8
|
+
<div class="${R}" style="${K}">
|
|
9
|
+
${b??""}
|
|
10
|
+
${Y("prev")}
|
|
11
|
+
<div ${Q} style="${V}">
|
|
12
|
+
<div class="${U}">
|
|
13
|
+
${o`
|
|
14
|
+
${j?.length?r({uid:w?.uid??"",customProps:j[0]?.customProps},j.map((r,s)=>{if(r)return o`${e({...r,index:s,parentSettings:E,parentStyle:h,background:E?.background,parentUid:w?.uid})}`})):f??`<div>${u("Carousel","no_slider")}</div>`}`}
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
${Y("next")}
|
|
18
|
+
</div>
|
|
19
|
+
${l({loop:W,showDots:E?.dot,dotStyle:E?.dotStyle,dotGapToCarousel:E?.dotGapToCarousel,vertical:E?.vertical,uniqueComponentId:O,hiddenWhenOnlyOne:y})}
|
|
20
|
+
</div>
|
|
21
|
+
</gp-carousel-v3>
|
|
22
|
+
${k?`{% if ${k} %} ${X()} {% endif %}`:X()}
|
|
23
|
+
|
|
24
|
+
`};export{v as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getResponsiveValueByScreen as e}from"@gem-sdk/core";import{createStateOrContext as o}from"@gem-sdk/system";let t=t=>{let r=["mobile","tablet","desktop"],{setting:l,rootId:a,builderProps:
|
|
1
|
+
import{getResponsiveValueByScreen as e}from"@gem-sdk/core";import{createStateOrContext as o}from"@gem-sdk/system";let t=t=>{let r=["mobile","tablet","desktop"],{setting:l,rootId:a,builderProps:s,styles:i,moveToIdx:p,isHiddenArrowWhenDisabled:d,shouldInitByLayout:m,carouselType:n="carousel"}=t,f=a??s?.uid,g=`gp-carousel-slider-${s?.uid}`,{enableAction:u={desktop:!0},navigationStyle:c,navigationEnable:k={desktop:!0}}=l??{},h=o({id:f,moveToIdx:p,isHiddenArrowWhenDisabled:d,setting:l,styles:i,shouldInitByLayout:m,carouselType:n});return{loopConfig:(()=>{let o=l?.loop;return r.forEach(t=>{o={...o,[t]:!!e(u)&&o?.[t]}}),o})(),stateData:JSON.stringify(h).replaceAll("'","'"),uniqueComponentId:f,arrowShowConfig:(()=>{let o=c;return r.forEach(t=>{o={...o,[t]:e(k,t)?e(o,t):"none"}}),o})(),sliderSelector:g}};export{t as getData};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{useRef as r,
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{useRef as r,useMemo as t,useCallback as i,useEffect as s}from"react";import{getStyleSwiperContainer as n}from"./common/styles.js";import{register as p}from"@gem-sdk/swiper/element/bundle";function o(p){let o=r(null),{children:c,totalSlides:l,onSwiperReset:m,onSwiperReady:w,sliderClass:u,sliderOrder:f,thumbsSwiper:a,...d}=p,y=t(()=>a?{"thumbs-swiper":a}:{},[a]),b=n(),g=i(({width:e}={})=>{o.current?.swiper&&o.current.swiper.wrapperEl.style.setProperty("width",`${e??o.current.swiper.width}px`)},[]);return s(()=>{let e=o.current;if(e)return Object.assign(e,d),e.initialize?.(),w?.(e.swiper),g(),e.swiper.on("resize",g),()=>{e.swiper.off("resize",g),m()}},[]),s(()=>{let e=o.current,r=e?.swiper;e&&r&&!r.destroyed&&(Object.assign(e,d),r.update(),g())},[JSON.stringify(d)]),s(()=>{m()},[f,m]),e("swiper-container",{init:!1,ref:o,class:u,style:{...b},...y,children:c})}p();export{o as Swiper};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useState as e,useRef as t,useMemo as r,useCallback as
|
|
1
|
+
import{useState as e,useRef as t,useMemo as r,useCallback as n,useImperativeHandle as a,useEffect as i}from"react";import{useCurrentDevice as l,useEditorMode as s,useInteraction as o,getResponsiveValueByScreen as u,DEVICES as d}from"@gem-sdk/core";import m from"./useTrackPreviewPause.js";let p=(p,f,c,k)=>{let h;let{builderProps:P,moveToIdx:b,styles:y,setting:g,isHiddenArrowWhenDisabled:v=!0,elmRef:T,isEnableCheckHasScrollableContent:w,onClickArrow:N,onHandleChangeSlideByInteraction:x,onChangeActive:S}=p,[C,O]=e(!0),[E,L]=e(!0),[M,I]=e(!1),{loop:z,navigationEnable:V={desktop:!0},navigationStyle:B}=g??{},[A,D]=e(k),[j,F]=e(g?.defaultCurrentSlider??0),{isFirstPreviewClicked:H}=m(g?.runPreview),R=t(),$=t(b??0),q=l(),U=s(),{onListener:W,saveToElementInteractionData:G,getInteractionPreviousData:J,trigger:K}=o(),Q=r(()=>u(z,q,!1),[z,q]),X=n(()=>{if(!g?.slidesToShow)return null;let e={};return d.forEach(t=>{let r=u(g?.slidesToShow,t);e[t]=r?"auto"===r?4:Math.floor(r):0}),e},[g?.slidesToShow]),Y=n(()=>{if(!g?.slidesToShow)return null;let e={};return d.forEach(t=>{let r=u(g?.slidesToShow,t);e[t]=r?"auto"===r?4:r:0}),e},[g?.slidesToShow]),Z=r(()=>{let e=Y();if(e)return e;let t={};return d.forEach(e=>{let r=u(g?.sneakPeak,e),n=r?"center"===u(g?.sneakPeakType,e)?u(g?.sneakPeakOffsetCenter,e)??0:u(g?.sneakPeakOffsetForward,e)??0:0,a="center"===u(g?.sneakPeakType,e)?-2:-1,i=u(g?.itemNumber,e);t[e]="number"==typeof i?i+n/100*a:"auto"}),t},[Y,g?.itemNumber,g?.sneakPeak,g?.sneakPeakOffsetCenter,g?.sneakPeakOffsetForward,g?.sneakPeakType]),_=r(()=>{let e=u(Z,q),t=u(z,q,!1);return t&&Number(e??0)>k||!t&&Number(e??0)>=k},[Z,q,z,k]),ee=r(()=>{let e=u(V,q),t=u(B,q);return e&&"none"!==t},[V,q,B]),et=r(()=>!!c&&C&&!_,[c,C,_]),er=r(()=>{let e=X();return e||g?.itemNumber},[X,g?.itemNumber]),en=n(e=>{let t="center"===u(g?.sneakPeakType,e)?2:1;return"number"==typeof u(er,e,4)?u(er,e,4)-t:void 0},[g?.sneakPeakType,er]),ea=()=>{let e="auto"===u(Z,q,1)?1:u(Z,q,1);return e??1},ei=n(()=>{let e=u(Z,q,1),t=en(q)??1,r=u(g?.sneakPeak,q,!1);return Array.from({length:Math.max(Q?k:r?k-t+1:"auto"===e?0:Math.ceil(k/Number(e)),0)},(e,t)=>t)},[k,Z,q,en,g?.sneakPeak,Q]),el=e=>{let t=e*ea();return t>=A-ea()&&(t=A-ea()),t},es=e=>{let t="edit"===U?{[e]:!1}:g?.enableDrag;return u(t,e)};a(f,()=>({nextSlideInteraction:ed,previousSlideInteraction:em,moveToSlideInteraction:ep,getSwiper:()=>c}));let eo=e=>{c?.slideTo(e),x&&x(e)},eu=(e,t)=>{let{key:r,data:n,isRollback:a,element:i}=e,l=Math.max(c?.activeIndex??0,0);if(a&&void 0===n)return;if(a){if("specific"===t){let{previousData:e}=J(i,r);eo(Number(e))}else eo("next"===t?l-1:l+1);return}let s="specific"===t?Math.max($.current,0):l;G(i,r,s.toString());let o="specific"===t?Number(n):"next"===t?l+1:l-1;eo(o)},ed=e=>{eu(e,"next")},em=e=>{eu(e,"previous")},ep=e=>{eu(e,"specific")},ef=ea(),ec=r(()=>!!A&&c&&u(g?.dot,q)&&!_&&k>1,[A,c,g?.dot,q,_,k]),ek=u(g?.vertical,q,!1)?"vertical":"horizontal",eh=r(()=>u(g?.sneakPeak,q,!1)&&"center"===u(g?.sneakPeakType,q)&&"number"==typeof u(g?.itemNumber,q)&&Number(u(g?.itemNumber,q))>1,[g?.sneakPeak,g?.sneakPeakType,g?.itemNumber,q]),eP=e=>{let{swiperWidth:t,slidesPerView:r,itemNumberByDevice:n,centeredSlides:a}=e;if(!a||!n)return 0;let i=t/r,l=(Number(n)-2)/2-1;return-(i/2+l*i)},eb=r(()=>{let e=u(z,q,!1),t=c?.width??0,r={0:"mobile",768:"tablet",1025:"desktop"},n=Number(Object.entries(r).find(([,e])=>e===q)?.[0]??1025),a=Object.entries(r).reduce((e,[r,n])=>{if(!e)return;let a=Number(r),i=u(g?.sneakPeak,n,!1),l=i&&"center"===u(g?.sneakPeakType,n),s=u(g?.itemNumber,n),o=es(n),d=eP({swiperWidth:t,slidesPerView:ef,itemNumberByDevice:s,centeredSlides:l}),m=g?.initialSlide||b||0;return e[a]={allowTouchMove:o,slidesOffsetBefore:d,slidesOffsetAfter:d,initialSlide:m,centeredSlides:l},e},{}),i=u(g?.sneakPeak,q,!1)&&"center"===u(g?.sneakPeakType,q)&&"number"==typeof u(g?.itemNumber,q)&&Number(u(g?.itemNumber,q))>1;return{speed:y?.playSpeed??500,dir:g?.rtl?"rtl":"ltr",spaceBetween:u(y?.spacing,q)||0,loop:e,slidesPerView:"auto"===u(Z,q,1)?"auto":ef,direction:ek,breakpoints:a,isSneakPeekCenter:i,slidesOffsetBefore:a?.[n]?.slidesOffsetBefore,thumbs:{slideThumbActiveClass:"gem-slider-item-active"},loopPreventsSliding:!1,touchStartPreventDefault:!1,autoplay:!!g?.autoplay&&{delay:(g?.autoplayTimeout??1)*1e3,pauseOnMouseEnter:g?.pauseOnHover,stopOnLastSlide:!e}}},[g?.autoplay,y?.playSpeed,g?.rtl,y?.spacing,q,z,ef,g?.sneakPeakType,g?.pauseOnHover,g?.autoplayTimeout,c?.width,A]),ey=u(g?.sneakPeak,q),eg=n(e=>{let t=c&&c.params?.slidesPerView,r=t?c?.slidesPerViewDynamic():1;if(e<=1)return!1;let n="auto"===eb.slidesPerView?r:eb.slidesPerView;if(!Q||e<Number(n)||!C)return!1;let a=u(g?.sneakPeak,q,!1),i=a&&"center"===u(g?.sneakPeakType,q),l=Number.isNaN(Number(n))?1:Math.ceil(Number(n));i&&l%2==0&&(l+=1);let s=i?Math.max(1,Math.ceil(l/2)):1;return e<l+s},[c,eb.slidesPerView,Q,C,g?.sneakPeak,g?.sneakPeakType,q]);i(()=>{let e=`[data-id="${P?.uid}"]`;W({event:"gp:change-next-slide",selector:e,elementRef:R},e=>{let{data:t,isRollback:r,uniqueStorageKey:n}=e||{};ed({element:R.current,data:t,isRollback:r,key:n})}),W({event:"gp:change-previous-slide",selector:e,elementRef:R},e=>{let{data:t,isRollback:r,uniqueStorageKey:n}=e||{};em({element:R.current,data:t,isRollback:r,key:n})}),W({event:"gp:change-image-step",selector:e,elementRef:R},e=>{let{data:t,isRollback:r,uniqueStorageKey:n}=e||{};ep({element:R.current,data:t,isRollback:r,key:n})}),W({event:"gp:change-index-slide",selector:e},t=>{let r=document.querySelector(e),{data:n,isRollback:a,uniqueStorageKey:i}=t||{};ep({element:r,data:n,isRollback:a,key:i})})},[]),i(()=>{D(k)},[k]),i(()=>{if("number"==typeof b){if($.current=b,c?.params?.loop){c?.slideToLoop(b);return}c?.slideTo(b)}},[c,b,v]);let ev=()=>{let e=u(g?.loop,q,!1);if(!c||!eh||e)return;let t=ei().length;if(!t)return;let r=c.snapIndex>=t-1;c.isEnd=r,c.allowSlideNext=!r};return i(()=>{if(!c)return;let e=()=>{D(c.slides.length),ev()},t=()=>{S&&S(c.realIndex)},r=()=>{F(c.realIndex),L(c?.translate===0),I(c?.translate<=c?.maxTranslate())};return c.on("transitionEnd",r),c.on("slideChange",e),c.on("slideChangeTransitionStart",t),()=>{c?.off("slideChange",e),c?.off("slideChangeTransitionStart",t),c?.off("transitionEnd",r)}},[eb.loop,c]),i(()=>{c?.wrapperEl&&(c.wrapperEl.style.transitionTimingFunction=g?.animationMode??"ease")},[c,g?.animationMode]),i(()=>{if(c&&c.autoplay){let e="edit"===U?!!H&&g?.runPreview&&g?.autoplay:g?.autoplay;e?c.autoplay.start():c.autoplay.stop()}},[c,g?.autoplay,U,H,g?.runPreview]),i(()=>{let e=e=>{if(P?.uid!==e?.detail.componentUid)return;let t=e?.detail.index||0;c?.slideToLoop(t)};return window.addEventListener("move-to-idx",e),()=>window.removeEventListener("move-to-idx",e)},[c,P?.uid]),i(()=>{if(!c)return;let e=c.el;e?.classList?.remove("swiper-horizontal","swiper-vertical");let t=u(g?.vertical,q)?"swiper-vertical":"swiper-horizontal";e?.classList?.add(t),c?.slides?.forEach(e=>{e.style.width="",e.style.height=""}),c?.update()},[q,g?.vertical,c,c?.params,y?.sizeSetting,B]),i(()=>{if(!c||!w)return;let e=()=>{let e=c?.slides?.slice(0,k)||[],t=Number(eb?.spaceBetween||0),r=e.reduce((e,t)=>e+t.offsetHeight,0)+t*(e.length-1),n=e.reduce((e,t)=>e+t.offsetWidth,0)+t*(e.length-1),a=c.params?.direction==="horizontal"?n>(c.width||0):r>(c.height||0);O(a)};return e(),c.on("resize",e),c.on("update",e),c.on("slidesLengthChange",e),c.on("orientationchange",e),()=>{c.off("resize",e),c.off("update",e),c.off("slidesLengthChange",e),c.off("orientationchange",e)}},[c]),{isInfinity:Q,sliderSettings:eb,totalSlideItem:A,currentSlide:j,localRef:R,isRenderDots:ec,isNavigationEnabled:ee,isNavigationVisible:et,isScrollToStart:E,isScrollToEnd:M,handleDotClick:(e,t)=>{let r=g?.sneakPeak?.[q]?e:t?e:el(e);if(t){if(k<ef){c?.slideTo(r);return}if(c?.realIndex===r)return;if(r===Number(c?.realIndex)+1||0===r&&c?.realIndex===k-1)return c?.slideNext();if(r===Number(c?.realIndex)-1||r===k-1&&c?.realIndex===0)return c?.slidePrev();let e=u(g?.sneakPeak,q,!1)&&"center"===u(g?.sneakPeakType,q)&&"number"==typeof u(g?.itemNumber,q)&&Number(u(g?.itemNumber,q))%2==0;e?c?.slideToLoopCenterSneakPeek(r):c?.slideToLoop(r)}else c?.slideTo(r);$.current=r},getItemsPerPage:ea,handleNextAndPrevSlide:e=>{"next"===e?c?.slideNext():c?.slidePrev(),N&&(h&&clearTimeout(h),h=setTimeout(()=>N&&N(),500))},dispatchEventSelectSlide:e=>{K({event:"gp:rollback:select-slide",selector:`[data-id="${P?.uid}"]`,element:T?.current}),K({event:"gp:select-slide",selector:`[data-id="${P?.uid}"]`,data:e,element:T?.current})},getNumberOfFullWidthShow:en,setCurrentSlide:F,shouldDuplicateSlides:eg,setIsScrollToStart:L,setIsScrollToEnd:I,isHideNavigation:_,sneakPeak:ey}};export{p as useCarousel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"react/jsx-runtime";import"react";import"@gem-sdk/core";import"@gem-sdk/system";import"next/link";import t from"./settings/Carousel.js";import e from"./settings/CarouselItem.js";let r={CarouselV3:t,CarouselItemV3:e};export{r as carouselSettingV3};
|
|
1
|
+
import"react/jsx-runtime";import"react";import"@gem-sdk/core";import"@gem-sdk/system";import"next/link";import"./components/swiper/Swiper.js";import t from"./settings/Carousel.js";import e from"./settings/CarouselItem.js";let r={CarouselV3:t,CarouselItemV3:e};export{r as carouselSettingV3};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let e={hiddenOnMobile:!0,controls:[{label:"Navigation",setting:{id:"navigationEnable"},options:{labelVariant:"primary",toggleStyle:"switch"}},{conditionDisplay:"navigationEnable === true",label:"Position",setting:{id:"navigationStyle"}},{conditionDisplay:"navigationEnable === true",label:"Icon",setting:{id:"arrowCustom"}},{conditionDisplay:"navigationEnable === true",label:"Icon size",setting:{id:"arrowIconSize"}},{conditionDisplay:"navigationEnable === true",label:"Icon color",setting:{id:"arrowCustomColor"}}],moreSettings:{controls:[{type:"combo",conditionDisplay:"navigationEnable === true",label:"Button size",fixedValue:"Edit",iconName:"polaris-measurement-size",isHideClear:!0,controls:[{setting:{id:"arrowButtonSize"},layout:"vertical"},{label:"Padding",controlConfig:{id:"arrow-button-padding",type:"padding-v2",linkWithSetting:{name:"arrowButtonSize",field:"padding"},compoDefaultValue:{desktop:{default:{type:"custom",top:"16px",bottom:"16px",left:"16px",right:"16px",linked:!1}}}}}]},{conditionDisplay:"navigationEnable === true",label:"Background",setting:{id:"arrowBackgroundColor"}},{conditionDisplay:"navigationEnable === true",label:"Border",setting:{id:"arrowBorder"}},{conditionDisplay:"navigationEnable === true",label:"Corner",setting:{id:"roundedArrow"}},{conditionDisplay:"navigationEnable === true",label:"Shadow",setting:{id:"arrowShadow"}},{conditionDisplay:"navigationEnable === true",label:"Gap to edge",setting:{id:"arrowGapToEachSide"}},{conditionDisplay:"navigationEnable === true",label:"Show on hover",setting:{id:"showWhenHover"}}]}},t={hiddenOnMobile:!0,controls:[{label:"Dots",setting:{id:"dot"},options:{labelVariant:"primary",toggleStyle:"switch"}},{conditionDisplay:"dot === true",label:"Position",setting:{id:"dotStyle"},options:{hiddenSwitchDeviceIcon:!0}},{conditionDisplay:"dot === true",label:"Active color",setting:{id:"dotActiveColor"},options:{hiddenSwitchDeviceIcon:!0}},{conditionDisplay:"dot === true",label:"Inactive color",setting:{id:"dotColor"},options:{hiddenSwitchDeviceIcon:!0}}],moreSettings:{controls:[{conditionDisplay:"dot === true",label:"Dots size",setting:{id:"dotSize"},options:{hiddenSwitchDeviceIcon:!0}},{conditionDisplay:"dot === true",label:"Gap to edge",setting:{id:"dotGapToCarousel"},options:{hiddenSwitchDeviceIcon:!0}}]}},i={label:"Slide effect",controls:[{label:"Autoplay",setting:{id:"autoplay"}},{label:"Delay",setting:{id:"autoplayTimeout"},conditionDisplay:"autoplay === true"},{label:"Pause On Hover",setting:{id:"pauseOnHover"},conditionDisplay:"autoplay == true"},{label:"Slide direction",setting:{id:"rtl"}},{label:"Infinity loop",setting:{id:"loop"}},{label:"Drag / swipe",setting:{id:"enableDrag"}}],moreSettings:{controls:[{label:"Slide speed",setting:{id:"playSpeed"}},{label:"Animation",setting:{id:"animationMode"}},{setting:{id:"runPreview"},layout:"vertical",conditionDisplay:"autoplay === true"}]}},o=[{label:"Items per slide",hiddenOnMobile:!0,controls:[{setting:{id:"itemNumber"},layout:"vertical",popoverLabel:"Items per slide"}]},{label:"Display",hiddenOnMobile:!0,controls:[{label:"Sneak peek",type:"combo",setting:{id:"sneakPeak"},fixedValue:"Styled",iconName:"gp-sneak-peek-left",conditionEnable:"itemNumber > 1",options:{disableMessage:"Sneak peek doesn't work <br> with 1-column layout"},controls:[{layout:"vertical",label:"style",setting:{id:"sneakPeakType"}},{conditionDisplay:'sneakPeakType == "forward"',label:"Ratio",setting:{id:"sneakPeakOffsetForward"}},{conditionDisplay:'sneakPeakType == "center"',label:"Ratio",setting:{id:"sneakPeakOffsetCenter"}}]}]},{label:"Item management",controls:[{label:"Order",setting:{id:"childItem"}}]},{label:"Item spacing",controls:[{label:"Gap",setting:{id:"spacing"}}]},{label:"Item style",hiddenOnMobile:!0,controls:[{label:"Padding",controlConfig:{id:"itemPadding",type:"padding-v2",linkWithSetting:{name:"itemPadding",field:"padding"},compoDefaultValue:{desktop:{default:{type:"custom",top:"16px",bottom:"16px",left:"16px",right:"16px"}}}}},{label:"Background",setting:{id:"background"}}],moreSettings:{controls:[{label:"Border",setting:{id:"borderContent"}},{label:"Corner",setting:{id:"roundedContent"}},{label:"Shadow",setting:{id:"carouselShadow"},options:{updateFields:[{field:"enable",settingId:"hasActiveShadow"}]},controlChangeTrigger:{settings:[{condition:"carouselShadow.enable === true",source:["carouselShadow"],action:{controlId:"hasActiveShadow",groupType:"style",controlType:"style",newValue:!0}},{condition:"carouselShadow.enable === false",source:["carouselShadow"],action:{controlId:"hasActiveShadow",groupType:"style",controlType:"style",newValue:!1}}],options:{noRecordHistory:!0}}}]}},e,t,i,{label:"Size",hiddenOnMobile:!0,controls:[{id:"Width",label:"Width",controlConfig:{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,fallbackValue:"Auto",linkWithSetting:{name:"sizeSetting",field:"width"},displayOptions:[{label:"Default",value:"default",showValue:!0},{label:"Full",value:"100%",showValue:!0}]},layout:"horizontal"},{id:"Height",label:"Height",controlConfig:{id:"height",type:"dropdown:input",label:"height",inputType:"number",units:["px"],hideUnit:!1,fallbackValue:"Auto",linkWithSetting:{name:"sizeSetting",field:"height"},displayOptions:[{label:"Fit content",value:"Auto",showValue:!0}]},layout:"horizontal"},{label:"Padding",conditionDisplay:'pageType != "POST_PURCHASE"',controlConfig:{id:"slider-padding",type:"padding-v2",linkWithSetting:{name:"spacing-setting",field:"padding"}}}]},{label:"Background",controls:[{label:"Color",setting:{id:"backgroundColor"}},{label:"Image",setting:{id:"backgroundImage"}}]},{label:"Shape",hiddenOnMobile:!0,controls:[{label:"Border",setting:{id:"border",state:"normal"}},{label:"Corner",setting:{id:"rounded",state:"normal"}},{label:"Shadow",setting:{id:"boxShadow",state:"normal"},options:{updateFields:[{field:"normal.enable",settingId:"hasBoxShadow",state:"normal"}]},controlChangeTrigger:{settings:[{condition:"boxShadow.normal.enable === true",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!0}},{condition:"boxShadow.normal.enable === false",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!1}}],options:{noRecordHistory:!0}}}]},{controls:[{conditionEnable:'!(parseInt(sizeSetting.width) >= 100 && sizeSetting.width?.includes("%"))',setting:{id:"align"},hiddenOnMobile:!0,label:"Align",options:{labelVariant:"primary",disableMessage:"Horizontal alignment is disabled when the width is set to 100% or greater"}}]}];export{o as SettingUIV2,t as carouselDotsSettings,i as carouselEffectsSettings,e as carouselNavigationSettings};
|
|
1
|
+
let e={hiddenOnMobile:!0,controls:[{label:"Navigation",setting:{id:"navigationEnable"},options:{labelVariant:"primary",toggleStyle:"switch"}},{conditionDisplay:"navigationEnable === true",label:"Position",setting:{id:"navigationStyle"}},{conditionDisplay:"navigationEnable === true",label:"Icon",setting:{id:"arrowCustom"}},{conditionDisplay:"navigationEnable === true",label:"Icon size",setting:{id:"arrowIconSize"}},{conditionDisplay:"navigationEnable === true",label:"Icon color",setting:{id:"arrowCustomColor"}}],moreSettings:{controls:[{type:"combo",conditionDisplay:"navigationEnable === true",label:"Button size",fixedValue:"Edit",iconName:"polaris-measurement-size",isHideClear:!0,controls:[{setting:{id:"arrowButtonSize"},layout:"vertical"},{label:"Padding",controlConfig:{id:"arrow-button-padding",type:"padding-v2",linkWithSetting:{name:"arrowButtonSize",field:"padding"},compoDefaultValue:{desktop:{default:{type:"custom",top:"16px",bottom:"16px",left:"16px",right:"16px",linked:!1}}}}}]},{conditionDisplay:"navigationEnable === true",label:"Background",setting:{id:"arrowBackgroundColor"}},{conditionDisplay:"navigationEnable === true",label:"Border",setting:{id:"arrowBorder"}},{conditionDisplay:"navigationEnable === true",label:"Corner",setting:{id:"roundedArrow"}},{conditionDisplay:"navigationEnable === true",label:"Shadow",setting:{id:"arrowShadow"}},{conditionDisplay:"navigationEnable === true",label:"Gap to edge",setting:{id:"arrowGapToEachSide"}},{conditionDisplay:"navigationEnable === true",label:"Show on hover",setting:{id:"showWhenHover"}}]}},t={hiddenOnMobile:!0,controls:[{label:"Dots",setting:{id:"dot"},options:{labelVariant:"primary",toggleStyle:"switch"}},{conditionDisplay:"dot === true",label:"Position",setting:{id:"dotStyle"},options:{hiddenSwitchDeviceIcon:!0}},{conditionDisplay:"dot === true",label:"Active color",setting:{id:"dotActiveColor"},options:{hiddenSwitchDeviceIcon:!0}},{conditionDisplay:"dot === true",label:"Inactive color",setting:{id:"dotColor"},options:{hiddenSwitchDeviceIcon:!0}}],moreSettings:{controls:[{conditionDisplay:"dot === true",label:"Dots size",setting:{id:"dotSize"},options:{hiddenSwitchDeviceIcon:!0}},{conditionDisplay:"dot === true",label:"Gap to edge",setting:{id:"dotGapToCarousel"},options:{hiddenSwitchDeviceIcon:!0}}]}},i={label:"Slide effect",controls:[{label:"Autoplay",setting:{id:"autoplay"}},{label:"Delay",setting:{id:"autoplayTimeout"},conditionDisplay:"autoplay === true"},{label:"Pause On Hover",setting:{id:"pauseOnHover"},conditionDisplay:"autoplay == true"},{label:"Slide direction",setting:{id:"rtl"}},{label:"Infinity loop",setting:{id:"loop"}},{label:"Drag / swipe",setting:{id:"enableDrag"}}],moreSettings:{controls:[{label:"Slide speed",setting:{id:"playSpeed"}},{label:"Animation",setting:{id:"animationMode"}},{setting:{id:"runPreview"},layout:"vertical",conditionDisplay:"autoplay === true"}]}},o=[{label:"Items per slide",hiddenOnMobile:!0,controls:[{setting:{id:"itemNumber"},layout:"vertical",popoverLabel:"Items per slide",controlChangeTrigger:{settings:[{condition:"itemNumber === 1",source:["itemNumber"],action:{controlId:"sneakPeak",groupType:"setting",controlType:"setting",newValue:!1}}],options:{noRecordHistory:!0}}}]},{label:"Display",hiddenOnMobile:!0,controls:[{label:"Sneak peek",type:"combo",setting:{id:"sneakPeak"},fixedValue:"Styled",iconName:"gp-sneak-peek-left",conditionEnable:"itemNumber > 1",options:{disableMessage:"Sneak peek doesn't work <br> with 1-column layout"},controls:[{layout:"vertical",label:"style",setting:{id:"sneakPeakType"}},{conditionDisplay:'sneakPeakType == "forward"',label:"Ratio",setting:{id:"sneakPeakOffsetForward"}},{conditionDisplay:'sneakPeakType == "center"',label:"Ratio",setting:{id:"sneakPeakOffsetCenter"}}]}]},{label:"Item management",controls:[{label:"Order",setting:{id:"childItem"}}]},{label:"Item spacing",controls:[{label:"Gap",setting:{id:"spacing"}}]},{label:"Item style",hiddenOnMobile:!0,controls:[{label:"Padding",controlConfig:{id:"itemPadding",type:"padding-v2",linkWithSetting:{name:"itemPadding",field:"padding"},compoDefaultValue:{desktop:{default:{type:"custom",top:"16px",bottom:"16px",left:"16px",right:"16px"}}}}},{label:"Background",setting:{id:"background"}}],moreSettings:{controls:[{label:"Border",setting:{id:"borderContent"}},{label:"Corner",setting:{id:"roundedContent"}},{label:"Shadow",setting:{id:"carouselShadow"},options:{updateFields:[{field:"enable",settingId:"hasActiveShadow"}]},controlChangeTrigger:{settings:[{condition:"carouselShadow.enable === true",source:["carouselShadow"],action:{controlId:"hasActiveShadow",groupType:"style",controlType:"style",newValue:!0}},{condition:"carouselShadow.enable === false",source:["carouselShadow"],action:{controlId:"hasActiveShadow",groupType:"style",controlType:"style",newValue:!1}}],options:{noRecordHistory:!0}}}]}},e,t,i,{label:"Size",hiddenOnMobile:!0,controls:[{id:"Width",label:"Width",controlConfig:{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,fallbackValue:"Auto",linkWithSetting:{name:"sizeSetting",field:"width"},displayOptions:[{label:"Default",value:"default",showValue:!0},{label:"Full",value:"100%",showValue:!0}]},layout:"horizontal"},{id:"Height",label:"Height",controlConfig:{id:"height",type:"dropdown:input",label:"height",inputType:"number",units:["px"],hideUnit:!1,fallbackValue:"Auto",linkWithSetting:{name:"sizeSetting",field:"height"},displayOptions:[{label:"Fit content",value:"Auto",showValue:!0}]},layout:"horizontal"},{label:"Padding",conditionDisplay:'pageType != "POST_PURCHASE"',controlConfig:{id:"slider-padding",type:"padding-v2",linkWithSetting:{name:"spacing-setting",field:"padding"}}}]},{label:"Background",controls:[{label:"Color",setting:{id:"backgroundColor"}},{label:"Image",setting:{id:"backgroundImage"}}]},{label:"Shape",hiddenOnMobile:!0,controls:[{label:"Border",setting:{id:"border",state:"normal"}},{label:"Corner",setting:{id:"rounded",state:"normal"}},{label:"Shadow",setting:{id:"boxShadow",state:"normal"},options:{updateFields:[{field:"normal.enable",settingId:"hasBoxShadow",state:"normal"}]},controlChangeTrigger:{settings:[{condition:"boxShadow.normal.enable === true",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!0}},{condition:"boxShadow.normal.enable === false",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!1}}],options:{noRecordHistory:!0}}}]},{controls:[{conditionEnable:'!(parseInt(sizeSetting.width) >= 100 && sizeSetting.width?.includes("%"))',setting:{id:"align"},hiddenOnMobile:!0,label:"Align",options:{labelVariant:"primary",disableMessage:"Horizontal alignment is disabled when the width is set to 100% or greater"}}]}];export{o as SettingUIV2,t as carouselDotsSettings,i as carouselEffectsSettings,e as carouselNavigationSettings};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let e=e=>{let t=document.createElement("div");t.innerHTML=e;let r=t.querySelector("embed, img, input, picture, video");return!r&&!t?.textContent?.trim()},t=e=>e.replace(/<script\b[\s\S]*?<\/script\s*>/gi,"").replace(/<script\b[^>]*\/>/gi,"");export{e as checkIsEmpty,t as removeScriptTags};
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import{useEditorMode as
|
|
1
|
+
import{useEditorMode as t}from"@gem-sdk/core";import{useMemo as e}from"react";import{removeScriptTags as p,checkIsEmpty as o}from"../common/helpers.js";let s=(s,l)=>{let r=t(),{editorData:a}=s||{},{customLabel:i}=l||{},m=e(()=>`
|
|
2
2
|
<p class="gp-text-center gp-text-sm gp-py-4 gp-leading-6 gp-text-light-500 gp-flex gp-flex-col gp-gap-[4px]">
|
|
3
|
-
<span>${
|
|
4
|
-
|
|
5
|
-
</p>`,[
|
|
6
|
-
<div class="gp-py-4 gp-font-[sans-serif] gp-flex gp-flex-col gp-gap-[4px]" >
|
|
7
|
-
<p class="gp-text-center gp-text-sm gp-leading-[21px] gp-text-[#676767] ">
|
|
8
|
-
Publish the page to see the content.
|
|
9
|
-
</p>
|
|
10
|
-
</div>
|
|
11
|
-
`;if(e)return g(i?.css||"",i?.javascript||"",i?.html||"")}return i?.html?.trim()},[o,i?.html,i?.javascript,i?.css,g]);return{mode:o,htmlPlainText:d,handleDoubleClickCustomCode:e=>{if(2===e.detail){let e=new CustomEvent("editor:toolbar:open-custom-code",{bubbles:!0});window.dispatchEvent(e)}}}};export{n as default};
|
|
3
|
+
<span>${i||"Custom Code"}</span>
|
|
4
|
+
${a?.css||a?.javascript||a?.html?'<span class="gp-text-[#676767] gp-text-12 gp-leading-5" data-test="publish-hint">Publish the page to see the content.</span>':""}
|
|
5
|
+
</p>`,[i]),n=e(()=>{if("edit"===r){let t=p(a?.html||""),e=o(t);return e?m:t.trim()}return a?.html?.trim()},[r,a?.html,m]);return{mode:r,htmlPlainText:n,handleDoubleClickCustomCode:t=>{if(2===t.detail){let t=new CustomEvent("editor:toolbar:open-custom-code",{bubbles:!0});window.dispatchEvent(t)}}}};export{s as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"../../text/components/TextInline.js";import{getDynamicSourceLocales as t,createSettingId as a}from"../../helpers.js";import{createClass as r}from"@gem-sdk/system";import{getStyleEstimateDate as u}from"./styles.js";import{EstimateDate as l}from"../settings/configs/translate.js";let
|
|
1
|
+
import e from"../../text/components/TextInline.js";import{getDynamicSourceLocales as t,createSettingId as a}from"../../helpers.js";import{createClass as r}from"@gem-sdk/system";import{getStyleEstimateDate as u}from"./styles.js";import{EstimateDate as l}from"../settings/configs/translate.js";let s=e=>e?"number"==typeof e?e:Number(e.split("days")[0]):0,n=e=>{let t=new Date(Date.now()),a=s(e?.estimateTime),r=s(e?.minEstimate),u=s(e?.maxEstimate),l=e?.typeFormat==="Custom"?e?.customFormat:e?.typeFormat;if(!l)return"";if(e?.typeEstimate===d.SPECIFIC){let e=`${p(g(a),l)}`;return e}p(t);let n=`${p(g(r),l)} - ${p(g(u),l)}`;return n},i=e=>{switch(e?.htmlTag){case 1:return"h1";case 2:return"h2";case 3:return"h3";case 4:return"h4";case 5:return"h5";case 6:return"h6";default:return"div"}},o=({type:e,styles:t,setting:a,builderProps:r,pageContext:u})=>{let l="React"===e,s=m({type:e,styles:t,setting:a,builderProps:r,pageContext:u});return{text:s,htmlTag:i(a),globalSize:a?.globalSize,background:a?.background,...!l&&{isForceValue:!0}}},m=({type:s,styles:i,setting:o,builderProps:m,pageContext:y})=>{let d="React"===s,p=r({"estimate-date-main":!0}),g=d||y?.isPreviewing?o?.customText:t({val:o?.customText,uid:m?.uid,settingId:a({id:l?.customText?.id}),pageContext:y??{},isCapitalize:i?.typo?.attrs?.transform==="capitalize"}).toString();return`${o?.enableCustomText===!1?"":e({styles:u(i,"typoCustom"),setting:{text:g},elementAttrs:{debugText:JSON.stringify({pageContext:y,setting:o,isReact:d,builderProps:m,textWithTranslate:g}).replaceAll("'","'")}})} ${e({styles:u(i,"typoDate"),setting:{text:n(o)},className:p})}`},y={SHOW:"show",HIDE:"hide"},d={SPECIFIC:"specific",RANGE:"range"},p=(e,t="%B %d, %Y")=>{let a=e.getMonth()+1,r=e.getDate(),u=e.getFullYear(),l=[{type:"%a",value:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][e.getDay()]},{type:"%A",value:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][e.getDay()]},{type:"%d",value:r.toString().padStart(2,"0")},{type:"%b",value:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][a-1]},{type:"%B",value:["January","February","March","April","May","June","July","August","September","October","November","December"][a-1]},{type:"%m",value:a.toString().padStart(2,"0")},{type:"%y",value:u.toString().slice(-2)},{type:"%Y",value:u},{type:"%sf",value:function(e){let t=Math.floor(e/10)%10,a=e%10;return 1===a&&1!==t?"st":2===a&&1!==t?"nd":3===a&&1!==t?"rd":"th"}(r)}];return l.forEach(e=>{t=t.replaceAll(e?.type,e?.value?.toString()||"")}),t},g=e=>{let t=new Date,a=new Date(t);return a.setDate(t.getDate()+Number(e)),a},c=()=>{let e=new Date(Date.now());return{FORMAT_1:{Label:p(e,"%b %d"),value:"%b %d"},FORMAT_2:{Label:p(e,"%b %d, %Y"),value:"%b %d, %Y"},FORMAT_3:{Label:p(e,"%a, %b %d"),value:"%a, %b %d"},FORMAT_4:{Label:p(e,"%d/%m/%Y"),value:"%d/%m/%Y"},FORMAT_5:{Label:p(e,"%Y/%m/%d"),value:"%Y/%m/%d"},FORMAT_6:{Label:"Custom"}}};export{d as ESTIMATE_DAYS,y as OUT_OF_STOCK,p as getDayFormat,g as getFutureDay,o as getNewSetting,c as listFormatDate};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import{template as e,WrapRenderChildren as o,RenderChildren as s,RenderIf as r,hasTranslatedLiquid as t,isLocalEnv as i,baseAssetURL as a}from"@gem-sdk/core";import{getBackgroundTranslated as l,getSettingPreloadData as
|
|
2
|
-
<gp-row gp-data='${
|
|
1
|
+
import{template as e,WrapRenderChildren as o,RenderChildren as s,RenderIf as r,hasTranslatedLiquid as t,isLocalEnv as i,baseAssetURL as a}from"@gem-sdk/core";import{getBackgroundTranslated as l,getSettingPreloadData as p}from"../../../helpers.js";import m from"../../../video/components/HTML5Embed.liquid.js";import{createClass as d,If as n}from"@gem-sdk/system";import{getYoutubeVideoId as c}from"../../../video/common/helpers.js";import g from"../../../video/components/LiteYouTubeEmbed.liquid.js";import{getAttr as u}from"./common/attrs.js";import{Row as f}from"../../settings/configs/row/translate.js";import{getClass as $}from"./common/classes.js";import{getRowStyle as y}from"./common/styles.js";import{getData as k,checkHasBackgroundVideo as j,isRenderHtmlVideo as v,isRenderYoutubeVideo as b}from"./common/helpers.js";import{getResponsiveSetting as w}from"../../../hero-banner/common/helpers.js";let h=h=>{let{styles:C,setting:x,rawChildren:E,builderProps:S}=h,{isSection:q}=x??{},{background:L}=C??{},P=q?"section":"div",T=l({background:L,uid:S?.uid,enableTranslate:!!f?.background?.id,pageContext:h.pageContext??{}}),{stateData:V}=k(h,T),{rowStyle:z,backgroundBoxStyle:A,embedVideoStyle:N,sectionStyle:R}=y({rowProps:h,type:"Liquid",translatedBackground:T}),{rowAttr:_}=u(h),{rowClass:G,backgroundBoxClass:I,backgroundBoxInnerClass:M,sectionClass:O,wrapperYoutubeClasses:B,iframeYoutubeClasses:H}=$(h),U=d({[G]:!0}),Y=()=>{if(!j(L))return;let e=w(L||{});if(v(L))return m({uid:S?.uid,muted:!0,loop:e.desktop?.loop,controls:!1,autoplay:!0,src:"",title:"Video",className:"gp-relative",style:N,pageContext:h.pageContext});if(b(L)){let o=e?.desktop?.video??"",s=c(o)||"",r=t(o),i=`&loop=false&playlist=${s}&showinfo=0&rel=0&fs=0&enablejsapi=1`;return g({uid:S?.uid,id:s,autoplay:!0,title:"Video",translatedVideoUrl:r?o:"",controls:!1,params:i,adNetwork:!1,noCookie:!0,muted:!0,lazy:e?.desktop?.lazyLoad??!0,style:N,wrapperClass:B,iframeClass:H,pageContext:h.pageContext})}},D=e`
|
|
2
|
+
<gp-row gp-data='${V}' ${{..._}} class="${U}" style="${z()}">
|
|
3
3
|
${n(!!Y(),e`
|
|
4
4
|
<div class="${I}" style="${A}">
|
|
5
5
|
<div class="${M}">${Y()}</div>
|
|
6
6
|
</div>
|
|
7
7
|
`)}
|
|
8
8
|
|
|
9
|
-
${o({uid:
|
|
9
|
+
${o({uid:S?.uid||"",customProps:E?.[0].customProps},E?.map(e=>{if(e)return s({...e,order:x?.order,layout:x?.layout,justifyContent:x?.verticalAlign})}))}
|
|
10
10
|
|
|
11
|
-
${(()=>{if(j(
|
|
12
|
-
${r(i,`<script ${
|
|
11
|
+
${(()=>{if(j(L))return e`
|
|
12
|
+
${r(i,`<script ${p('class="gps-link" delay',"src")}="{{ 'gp-row-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${p('class="gps-link" delay',"src")}="${a}/assets-v2/gp-row-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|
|
13
13
|
`})()}
|
|
14
14
|
</gp-row>
|
|
15
15
|
`;return e`
|
|
16
|
-
${r(!!C?.preloadBgImage,`${r(!!
|
|
16
|
+
${r(!!C?.preloadBgImage,`${r(!!L?.desktop?.image?.src,`<link rel="preload" href="${L?.desktop?.image?.src}" as="image" />`)}${r(!!L?.tablet?.image?.src,`<link rel="preload" href="${L?.tablet?.image?.src}" as="image" />`)}${r(!!L?.mobile?.image?.src,`<link rel="preload" href="${L?.mobile?.image?.src}" as="image" />`)}`)}
|
|
17
17
|
|
|
18
|
-
${r(!!
|
|
18
|
+
${r(!!q,"{% assign locationOrigin = request.origin | append: routes.root_url | split: '/' | join: '/' %}")}
|
|
19
19
|
|
|
20
|
-
${n(
|
|
21
|
-
<${
|
|
22
|
-
class="${O} ${
|
|
20
|
+
${n(q,e`
|
|
21
|
+
<${P}
|
|
22
|
+
class="${O} ${q?p("gps-lazy"):""}"
|
|
23
23
|
style="${R}"
|
|
24
24
|
>
|
|
25
25
|
${D}
|
|
26
|
-
</${
|
|
26
|
+
</${P}>
|
|
27
27
|
`,e`${D}`)}
|
|
28
28
|
`};export{h as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{jsxs as e,jsx as r}from"react/jsx-runtime";import o from"./HeroBannerItem.js";import{getAttr as s,getAttrLink as m}from"../common/attrs.js";import{getStyle as t}from"../common/styles.js";import{getClasses as n,getLinkClasses as
|
|
2
|
+
import{jsxs as e,jsx as r}from"react/jsx-runtime";import o from"./HeroBannerItem.js";import{getAttr as s,getAttrLink as m}from"../common/attrs.js";import{getStyle as t}from"../common/styles.js";import{getClasses as n,getLinkClasses as i}from"../common/classes.js";import{createAttr as a,createStyle as l,createClass as d,If as p}from"@gem-sdk/system";import{useRenderMode as f,useCurrentDevice as c,filterToolbarPreview as u}from"@gem-sdk/core";import{getBannerLink as h}from"../common/helpers.js";import j from"../hooks/useHeroBanner.js";import{useRef as C}from"react";let g=g=>{let{builderAttrs:k,builderProps:v,setting:y,styles:B,style:H,children:R,advanced:w,pageContext:x}=g,{isEditMode:b,isPreviewSharePageMode:M}=f(),{enableLink:N}=y??{},V=h(y),{cssClass:E}=w??{},I=c(),{elementRef:L,transform:P,onMouseEnterParallax:S,onMouseLeaveParallax:W,dataVideo:q,bgRef:z,isShowVideoHtml5:A,openLinkBanner:D,layoutResponsive:F}=j(B,y,I),G=C(null),J=!!V?.link&&N&&!b&&!M,K=a({...s({uid:v?.uid||""})}),O=a({...m()}),Q=l({...t(B,y,H)}),T=d({...n({setting:y,builderProps:v,advancedCssClass:E})}),U=d({...i()}),X=()=>r(o,{setting:y,styles:B,children:R,rawChildren:g.rawChildren,builderProps:v,pageContext:x,elementRef:L,transform:P,dataVideo:q,layoutResponsive:F,bgRef:z,isShowVideoHtml5:A,heroBannerWrapperRef:G});return e("div",{ref:G,...k,...K,className:T,style:Q,onMouseEnter:S,onMouseLeave:W,children:[p(!J,X()),p(J,r("div",{...O,"aria-hidden":"true",onClick:D,className:U,children:X()})),u(R,!0)]})};export{g as default};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import e from"./HeroBannerItem.liquid.js";import{getAttr as r,getAttrLink as t}from"../common/attrs.js";import{getStyle as o}from"../common/styles.js";import{getClasses as s,getLinkClasses as a}from"../common/classes.js";import{createStateOrContext as i,createAttr as n,createStyle as l,createClass as d,If as c}from"@gem-sdk/system";import{dataStringify as m,template as p,RenderIf as f,isLocalEnv as u,baseAssetURL as g}from"@gem-sdk/core";import{getBackgroundTranslated as h,getInsertLinkData as v,getSettingPreloadData as b}from"../../helpers.js";import{getResponsiveSetting as $,getBannerLink as j}from"../common/helpers.js";import{HeroBanner as k}from"../settings/configs/translate.js";let E=E=>{let{builderAttrs:y,builderProps:C,setting:P,styles:S,style:x,children:B,advanced:T,pageContext:V}=E,{
|
|
1
|
+
import e from"./HeroBannerItem.liquid.js";import{getAttr as r,getAttrLink as t}from"../common/attrs.js";import{getStyle as o}from"../common/styles.js";import{getClasses as s,getLinkClasses as a}from"../common/classes.js";import{createStateOrContext as i,createAttr as n,createStyle as l,createClass as d,If as c}from"@gem-sdk/system";import{dataStringify as m,template as p,RenderIf as f,isLocalEnv as u,baseAssetURL as g}from"@gem-sdk/core";import{getBackgroundTranslated as h,getInsertLinkData as v,getSettingPreloadData as b}from"../../helpers.js";import{getResponsiveSetting as $,getBannerLink as j}from"../common/helpers.js";import{HeroBanner as k}from"../settings/configs/translate.js";let E=E=>{let{builderAttrs:y,builderProps:C,setting:P,styles:S,style:x,children:B,advanced:T,pageContext:V}=E,{enableLink:H,enableParallax:M}=P??{},N=h({background:S?.background,uid:C?.uid,enableTranslate:!!k?.background?.id,pageContext:V??{},isTranslateVideo:!0}),O=j(P),{cssClass:R}=T??{},{urlData:_}=v("",O),w=i({background:$(N||{}),uid:C?.uid,enableParallax:M&&Number(P?.speedParallax||0)>0,speedParallax:Number(P?.speedParallax)||0,hoverEffect:S?.hoverEffect,hoverEffectScale:S?.hoverEffectScale,layout:P?.layout,contentPosition1Col:S?.contentPosition1Col,contentPosition2Col:S?.contentPosition2Col,aspectRatio:P?.aspectRatio,sizeSetting:$(S?.sizeSetting||{}),videoObjectFit:$(S?.videoObjectFit||{}),target:O?.target??"_self",href:_?.href??"",linkType:O?.type??"",hoverEffectDuration:S?.hoverEffectDuration,isYoutubeVideoMigrated:P?.isYoutubeVideoMigrated}),z=!!O?.link&&H,A=n({...r({uid:C?.uid||""})}),D=n(t()),F=l({...o(S,P,x)}),G=d({...s({setting:P,builderProps:C,advancedCssClass:R})}),I=d({...a()}),Y=()=>e({setting:P,translatedBackground:N,styles:S,children:B,rawChildren:E.rawChildren,builderProps:C,pageContext:V});return p`
|
|
2
2
|
<gp-hero-banner
|
|
3
3
|
${{...y}}
|
|
4
|
-
${{...
|
|
5
|
-
class="${
|
|
6
|
-
style="${
|
|
7
|
-
gp-data='${m(
|
|
4
|
+
${{...A}}
|
|
5
|
+
class="${G}"
|
|
6
|
+
style="${F}"
|
|
7
|
+
gp-data='${m(w)}'
|
|
8
8
|
>
|
|
9
|
-
${c(!
|
|
10
|
-
${c(
|
|
9
|
+
${c(!z,Y())}
|
|
10
|
+
${c(z,p`
|
|
11
11
|
<div
|
|
12
|
-
${{...
|
|
12
|
+
${{...D}}
|
|
13
13
|
aria-hidden="true"
|
|
14
|
-
class="${
|
|
14
|
+
class="${I}"
|
|
15
15
|
>
|
|
16
|
-
${
|
|
16
|
+
${Y()}
|
|
17
17
|
</div>`)}
|
|
18
18
|
</gp-hero-banner>
|
|
19
19
|
${f(u,`<script ${b('class="gps-link" delay',"src")}="{{ 'gp-hero-banner-v2-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${b('class="gps-link" delay',"src")}="${g}/assets-v2/gp-hero-banner-v2-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>
|