'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),t=require("../../configs/Bogos.js"),i=require("../ThirdPartyPreview.js");const s={icon:"Gift icon",thumnail:"Gift thumbnail",slider:"Gift slider",message:"Cart message","classic-bundle":"Classic bundle","quantity-break":"Quantity break","mix-match":"Mix and match",fbt:"Frequently Bought Together"};exports.default=({setting:a})=>{let l=a?.widgetType&&s[a.widgetType],u=r.useMemo(()=>l?`${t.default.label} - ${l}`:t.default.label,[l]);return e.jsx(e.Fragment,{children:e.jsx("div",{className:"p-2",children:e.jsx(i.default,{setting:{label:u,iconSvg:`<img class="gp-w-[24px] border border-[#494949] rounded-[3px]" src="${t.default.logoUrl}">`}})})})};
