'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),ThirdPartyPreview=require("../ThirdPartyPreview.js"),JudgemeReviews=require("../../configs/JudgemeReviews.js"),React=require("react");const mapWidgetLabel={single_product_preview_badge:"Preview Badge (Stars)",review_widget:"Review Widget",reviews_carousel:"Reviews Carousel",reviews_text:"Reviews Text",section_for_medals:"Section for Medals",ugc_media_grid:"UGC Media Grid",verified_reviews_count_badge:"Verified Review Widget"},JudgemeSampleContent=({setting:e})=>{let i=e?.widgetType&&mapWidgetLabel[e.widgetType],r=React.useMemo(()=>i?`${JudgemeReviews.default.label} - ${i}`:JudgemeReviews.default.label,[i]);return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsx("div",{className:"gp-p-2",children:jsxRuntime.jsx(ThirdPartyPreview.default,{setting:{label:r,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${JudgemeReviews.default.logoUrl}">`}})})})};exports.default=JudgemeSampleContent;
