'use client';
import{jsx as e,Fragment as r}from"react/jsx-runtime";import d from"../ThirdPartyPreview.js";import i from"../../configs/Omnisend.js";import{useMemo as t}from"react";let mapWidgetLabel={"landing-page":"Landing Page",embedded:"Embedded"},OmnisendSampleContent=({setting:n})=>{let a=n?.widgetType&&mapWidgetLabel[n.widgetType],m=t(()=>a?`${i.label} - ${a}`:i.label,[a]);return e(r,{children:e("div",{className:"gp-p-2",children:e(d,{setting:{label:m,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${i.logoUrl}">`}})})})};export{OmnisendSampleContent as default};
