'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),ThirdPartyPreview=require("../ThirdPartyPreview.js"),YotpoReviews=require("../../configs/YotpoReviews.js"),React=require("react");const mapWidgetLabel={reviews:"Reviews","star-rating":"Star Badge",badge:"Star Badge",reviewHighlights:"Review Highlights"},YotpoReviewsSampleContent=({setting:e})=>{let t=e?.widgetType&&mapWidgetLabel[e.widgetType],i=React.useMemo(()=>t?`${YotpoReviews.default.label} - ${t}`:YotpoReviews.default.label,[t]);return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsx("div",{className:"gp-p-2",children:jsxRuntime.jsx(ThirdPartyPreview.default,{setting:{label:i,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${YotpoReviews.default.logoUrl}">`}})})})};exports.default=YotpoReviewsSampleContent;
