'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),ThirdPartyPreview=require("../ThirdPartyPreview.js"),Omnisend=require("../../configs/Omnisend.js"),React=require("react");const mapWidgetLabel={"landing-page":"Landing Page",embedded:"Embedded"},OmnisendSampleContent=({setting:e})=>{let i=e?.widgetType&&mapWidgetLabel[e.widgetType],n=React.useMemo(()=>i?`${Omnisend.default.label} - ${i}`:Omnisend.default.label,[i]);return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsx("div",{className:"gp-p-2",children:jsxRuntime.jsx(ThirdPartyPreview.default,{setting:{label:n,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${Omnisend.default.logoUrl}">`}})})})};exports.default=OmnisendSampleContent;
