import e from"../../configs/RechargeSubscriptions.js";import t from"./uiV2.js";import{get3rdPartyInstallLink as i}from"../../common/helpers.js";let l={tag:e.tag,label:e.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://ucarecdn.com/c566bfce-491d-4642-817a-6f4ffc023065/-/format/auto/-/preview/3000x3000/-/quality/lighter/?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
  <img class="w-24 border border-dark-200 rounded-medium" src="https://ucarecdn.com/c566bfce-491d-4642-817a-6f4ffc023065/-/format/auto/-/preview/3000x3000/-/quality/lighter/?width=22&height=22">
  <span class="preset-item-title">Recharge Subscriptions</span>
</div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"productHandle",type:"product-handle",hide:!0},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Subscription Widget",value:"subscription-widget"},{label:"Subscription Widget 2.0",value:"subscription-widget-v2"}],default:"subscription-widget"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:i({handle:"recharge-subscriptions"}),appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t};export{l as default};
