'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),ThirdPartyPreview=require("./ThirdPartyPreview.js"),React=require("react"),FordeerProductLabels$1=require("../configs/FordeerProductLabels.js");const mapWidgetLabel={badge:"Badge",trustedBadge:"Trusted Badge"},FordeerProductLabelsContent=({setting:e})=>{let r=e?.widgetType&&mapWidgetLabel[e.widgetType],t=React.useMemo(()=>r?`${FordeerProductLabels$1.default.label} - ${r}`:FordeerProductLabels$1.default.label,[r]);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="${FordeerProductLabels$1.default.logoUrl}">`}})})})},FordeerProductLabels=({setting:e})=>jsxRuntime.jsx("div",{style:{...core.makeStyleResponsive("ta",e?.align)},children:jsxRuntime.jsx(FordeerProductLabelsContent,{})});exports.default=FordeerProductLabels;
