'use client';
import{jsx as e,Fragment as r}from"react/jsx-runtime";import{makeStyleResponsive as l}from"@gem-sdk/core";import i from"./ThirdPartyPreview.js";import{AppConfig as t,widgetTypeOptions as s}from"../configs/FlyBundlesUpsellsFbt.js";let d=({widgetName:l})=>e(r,{children:e("div",{className:"gp-p-2",children:e(i,{setting:{label:l,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${t.logoUrl}">`}})})}),o=({setting:r})=>{let i=s.find(e=>e.value===r?.widgetType)?.label;return e("div",{style:{...l("ta",r?.align)},children:e(d,{widgetName:i})})};export{o as default};
