'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("@gem-sdk/core"),t=require("./ThirdPartyPreview.js"),i=require("react"),s=require("../configs/QikifyUpsell.js");const l=r=>{let l=i.useMemo(()=>{let e=s.WidgetOptions.find(e=>e.value===r.setting?.widgetType)?.label;return`${s.AppConfig.label} - ${e}`},[r.setting?.widgetType]);return e.jsx(e.Fragment,{children:e.jsx("div",{className:"gp-p-2",children:e.jsx(t.default,{setting:{label:l,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${s.AppConfig.logoUrl}">`}})})})};exports.default=({setting:t})=>{let i=r.useEditorMode();return e.jsx("div",{style:{...r.makeStyleResponsive("ta",t?.align)},children:"edit"===i&&e.jsx(l,{setting:t})})};
