'use client';
import{jsx as e}from"react/jsx-runtime";import t from"../ThirdPartyPreview.js";import o from"../../configs/UltimateSalesBoost.js";import{useMemo as r}from"react";import{WidgetOptions as i}from"../../settings/UltimateSalesBoost/index.js";let UltimateSalesBoostSampleContent=({setting:s})=>{let l=Object.fromEntries(i.map(({label:e,value:t})=>[t,e])),a=s?.widgetType&&l[s.widgetType],m=r(()=>a?`${o.label} - ${a}`:o.label,[a]);return e("div",{className:"gp-p-2",children:e(t,{setting:{label:m,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${o.logoUrl}">`}})})};export{UltimateSalesBoostSampleContent as default};
