'use client';
import{jsx as o,Fragment as r}from"react/jsx-runtime";import{makeStyleResponsive as e}from"@gem-sdk/core";import t from"./ThirdPartyPreview.js";import{useMemo as i}from"react";import p from"../configs/KlarmaMessaging.js";let a={topStripPromotionBadge:"Top strip promotion badge",topStripPromotionAutoSize:"Top strip promotion auto size",footerPromotionAutoSize:"Footer promotion auto size",infoPage:"Info page"},g=({setting:e})=>{let g=e?.widgetType&&a[e.widgetType],m=i(()=>g?`${p.label} - ${g}`:p.label,[g]);return o(r,{children:o("div",{className:"gp-p-2",children:o(t,{setting:{label:m,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${p.logoUrl}">`}})})})},m=({setting:r})=>o("div",{style:{...e("ta",r?.align)},children:o(g,{})});export{m as default};
