import e from"../../configs/BoostAISearchDiscovery.js";import t from"./uiV2.js";import l from"./uiV1.js";import{get3rdPartyInstallLink as i}from"../../common/helpers.js";let config={tag:e.tag,label:e.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${e.logoUrl}?width=22&height=22">`,editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.id,name:{en: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="${e.logoUrl}?width=22&height=22">
          <span class="preset-item-title">${e.label}</span>
        </div>
      `},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:i({handle:"boost-product-filter-search"}),appName:e.label},{id:"widgetType",label:"Choose widget",type:"select",default:"filter-product-list-ssr",options:[{label:"Product & Filter",value:"filter-product-list-ssr",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_PRODUCT","GP_INDEX","GP_STATIC","STATIC"]},{label:"Recommendation",value:"recommendation-ssr"}]},{id:"openApp",type:"open-link",linkType:"openApp",target:"_blank",href:"https://admin.shopify.com/?redirect=/apps/product-filter-search",appName:e.label},{id:"widgetID",type:"input",default:""},{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:l,uiV2:t};export{config as default};
