import e from"../../configs/Wiser.js";import l from"./uiV2.js";import{get3rdPartyInstallLink as t}from"../../common/helpers.js";let a={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: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:"install",type:"open-link",target:"_blank",linkType:"install",appName:e.label,href:t({handle:"v7-wiser-product-recommendation"})},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",appName:e.label,href:"https://admin.shopify.com/?redirect=/apps/your-recently-viewed-products"},{id:"wiserVersion",label:"Choose widget",type:"select",default:"V2",options:[{label:"Version 2.0 (Latest Version)",value:"V2"},{label:"Version 1.0 (Deprecated)",value:"V1"}]},{id:"widgetType",label:"Choose widget",type:"select",default:"related",options:[{label:"Related Products",value:"related"},{label:"Recommended Products",value:"recommended"},{label:"Frequently Bought Together",value:"alsobought"},{label:"Recently Viewed Products",value:"recentview"},{label:"New Arrivals",value:"newarrivals"},{label:"Featured Products",value:"featured"},{label:"Top Selling Products",value:"topselling"},{label:"Trending Products",value:"trending"},{label:"Inspired By Your Browsing History",value:"recent_related"}]},{id:"widgetTypeV2",label:"Choose widget",type:"select",default:"evm-related-product",options:[{label:"Related Products",value:"evm-related-product"},{label:"Frequently Bought Together",value:"evm-also-bought-products"},{label:"Featured Products",value:"evm-featured-collections-product"},{label:"Manual Recommendations",value:"evm-recommended-products"},{label:"Top Selling Recommendations",value:"evm-most-popular-products"},{label:"New Arrivals",value:"evm-new-arrivals-product"},{label:"Recently Viewed Products",value:"recently-viewed"},{label:"Recommendations Based On Past Purchases",value:"evm-recent_purchased_recomm-product"},{label:"Products Purchased Before",value:"evm-recent_purchased-product"},{label:"Trending Products",value:"trending-products"},{label:"AI Based Recommendations",value:"evm-related-viewed-browsing"}]},{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:l};export{a as default};
