'use client';
import{jsx as e,Fragment as r}from"react/jsx-runtime";import{makeStyleResponsive as t}from"@gem-sdk/core";import d from"./ThirdPartyPreview.js";import{useMemo as o}from"react";import i from"../configs/FordeerProductLabels.js";let l={badge:"Badge",trustedBadge:"Trusted Badge"},a=({setting:t})=>{let a=t?.widgetType&&l[t.widgetType],g=o(()=>a?`${i.label} - ${a}`:i.label,[a]);return e(r,{children:e("div",{className:"gp-p-2",children:e(d,{setting:{label:g,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${i.logoUrl}">`}})})})},g=({setting:r})=>e("div",{style:{...t("ta",r?.align)},children:e(a,{})});export{g as default};
