'use client';
import{jsx as e,Fragment as r}from"react/jsx-runtime";import t from"../ThirdPartyPreview.js";import o from"../../configs/Trustoo.js";import{useMemo as a}from"react";let i={"barrage-carousel":"Testimonials","card-carousel":"Card Carousel","photo-carousel":"Photo Carousel","review-widget":"Review Widget","star-rating-widget":"Star Rating Widget","text-carousel":"Text Carousel"},s=({setting:s})=>{let l=s?.widgetType&&i[s.widgetType],g=a(()=>l?`${o.label} - ${l}`:o.label,[l]);return e(r,{children:e("div",{className:"gp-p-2",children:e(t,{setting:{label:g,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${o.logoUrl}">`}})})})};export{s as default};
