'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),React=require("react"),Bogos=require("../../configs/Bogos.js"),ThirdPartyPreview=require("../ThirdPartyPreview.js");const mapWidgetLabel={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"},BogosSampleContent=({setting:e})=>{let t=e?.widgetType&&mapWidgetLabel[e.widgetType],r=React.useMemo(()=>t?`${Bogos.default.label} - ${t}`:Bogos.default.label,[t]);return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsx("div",{className:"p-2",children:jsxRuntime.jsx(ThirdPartyPreview.default,{setting:{label:r,iconSvg:`<img class="gp-w-[24px] border border-[#494949] rounded-[3px]" src="${Bogos.default.logoUrl}">`}})})})};exports.default=BogosSampleContent;
