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