'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),ThirdPartyPreview=require("../ThirdPartyPreview.js"),Trustoo=require("../../configs/Trustoo.js"),React=require("react");const mapWidgetLabel={"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"},TrustooSampleContent=({setting:e})=>{let r=e?.widgetType&&mapWidgetLabel[e.widgetType],t=React.useMemo(()=>r?`${Trustoo.default.label} - ${r}`:Trustoo.default.label,[r]);return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsx("div",{className:"gp-p-2",children:jsxRuntime.jsx(ThirdPartyPreview.default,{setting:{label:t,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${Trustoo.default.logoUrl}">`}})})})};exports.default=TrustooSampleContent;
