'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),ThirdPartyPreview=require("../ThirdPartyPreview.js"),LooxReviews=require("../../configs/LooxReviews.js"),React=require("react");const mapWidgetLabel={rating_widget:"Rating widget",reviews_widget:"Reviews widget",carousel_widget:"Carousel widget"},LooxReviewsSampleContent=({setting:e})=>{let i=e?.widgetType&&mapWidgetLabel[e.widgetType],t=React.useMemo(()=>i?`${LooxReviews.default.label} - ${i}`:LooxReviews.default.label,[i]);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="${LooxReviews.default.logoUrl}">`}})})})};exports.default=LooxReviewsSampleContent;
