"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var UltimateSalesBoost=require("../../configs/UltimateSalesBoost.js"),uiV1=require("./uiV1.js"),uiV2=require("./uiV2.js"),helpers=require("../../common/helpers.js");const WidgetOptions=[{label:"Message",value:"message",flowTag:["Product"]},{label:"Get-it-by Timer",value:"getItByTimer",flowTag:["Product"]},{label:"Buy X Get Y (BOGO)",value:"buyXGetTY",flowTag:["Product"]},{label:"Countdown Timer",value:"countdownTimer",flowTag:["Product"]},{label:"Stock Inventory Number",value:"stockInventoryNumber",flowTag:["Product"]},{label:"Trust Badge",value:"trustBadge",flowTag:["Product"]},{label:"Advanced Trust Badge",value:"advancedTrustBadge",flowTag:["Product"]}],config={tag:UltimateSalesBoost.default.tag,label:UltimateSalesBoost.default.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${UltimateSalesBoost.default.logoUrl}?width=22&height=22">`,editorConfigs:{component:{isThirdParty:!0},placeholder:{flowTag:["Product","ProductList","ProductListV3"]}},presets:[{id:UltimateSalesBoost.default.id,name:{en:UltimateSalesBoost.default.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="${UltimateSalesBoost.default.logoUrl}?width=22&height=22">
          <span class="preset-item-title">${UltimateSalesBoost.default.label}</span>
        </div>
      `},components:[{tag:UltimateSalesBoost.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:helpers.get3rdPartyInstallLink({handle:"ultimate-sales-boost"}),appName:UltimateSalesBoost.default.label},{id:"openApp",type:"open-link",linkType:"openApp",target:"_blank",href:"https://admin.shopify.com/?redirect=/apps/ultimate-sales-boost",appName:UltimateSalesBoost.default.label},{id:"widgetType",label:"Choose widget",type:"select",default:"message",options:WidgetOptions},{id:"sticker",info:"When you select Sticker Widget, the anchor will be added automatically to (P) Image no matter where you place it",type:"group"},{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:uiV1.default,uiV2:uiV2.default};exports.WidgetOptions=WidgetOptions,exports.default=config;
