'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("../ThirdPartyPreview.js"),t=require("../../configs/BoldSubscription.js"),s=require("react");const i={v1:"Version 1","bsub-widget-block":"Version 2"};exports.default=({setting:l})=>{let d=l?.widgetType&&i[l.widgetType],o=s.useMemo(()=>d?`${t.default.label} - ${d}`:t.default.label,[d]);return e.jsx(e.Fragment,{children:e.jsx("div",{className:"gp-p-2",children:e.jsx(r.default,{setting:{label:o,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${t.default.logoUrl}">`}})})})};
