'use client';
import{jsx as e,Fragment as t}from"react/jsx-runtime";import r from"../ThirdPartyPreview.js";import o from"../../configs/Vitals.js";import{useMemo as s}from"react";let i={productReviews:"Product Reviews",productBundles:"Product Bundles",volumeDiscounts:"Volume Discounts",stockScarcity:"Stock Scarcity",goToWishlist:"Go to Wishlist",paymentLogos:"Payment Logos",recentlyViewed:"Recently Viewed",shoppableInstagramFeed:"Shoppable Instagram Feed",trustSealsAndBadges:"Trust Seals and Badges",addToWishlist:"Add to Wishlist",sizeChart:"Size Chart",upsellBuilderBogo:"Buy X Get Y",bundleCountdownBox:"Countdown Timer",reviewsUnderTitle:"Review under product title",productReviewsCarousel:"Reviews Carousel",shippingBox:"Shipping Information",currencyConverter:"Currency Converter",relatedProducts:"Related Products",backInStock:"Back In Stock"},d=({setting:d})=>{let l=d?.widgetType&&i[d.widgetType],n=s(()=>l?`${o.label} - ${l}`:o.label,[l]);return e(t,{children:e("div",{className:"gp-p-2",children:e(r,{setting:{label:n,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${o.logoUrl}">`}})})})};export{d as default};
