'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 a from"../configs/FordeerProductLabels.js";let mapWidgetLabel={badge:"Badge",trustedBadge:"Trusted Badge"},FordeerProductLabelsContent=({setting:t})=>{let l=t?.widgetType&&mapWidgetLabel[t.widgetType],i=o(()=>l?`${a.label} - ${l}`:a.label,[l]);return e(r,{children:e("div",{className:"gp-p-2",children:e(d,{setting:{label:i,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${a.logoUrl}">`}})})})},FordeerProductLabels=({setting:r})=>e("div",{style:{...t("ta",r?.align)},children:e(FordeerProductLabelsContent,{})});export{FordeerProductLabels as default};
