"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../configs/Stamped.js"),l=require("./Stamped/index.js"),a=require("../common/helpers.js");const t={tag:e.default.tag,label:e.default.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${e.default.logoUrl}">`,editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.default.id,name:e.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="${e.default.logoUrl}">
          <span class="preset-item-title">${e.default.label}</span>
        </div>
      `},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:a.get3rdPartyInstallLink({handle:"stamped-product-reviews"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/product-reviews-addon",appName:e.default.label},{id:"version",label:"Choose version",type:"select",default:"v1",options:[{label:"V1",value:"v1"},{label:"V2",value:"v2"}]},{id:"widgetType",label:"Choose widget",type:"select",default:"main-widget",options:[{label:"Main Widget",value:"main-widget"},{label:"Badge Single",value:"badge-single"},{label:"Badge Double",value:"badge-double"},{label:"Badge Ribbon",value:"badge-ribbon"},{label:"Product Rating",value:"product-rating"},{label:"Carousel",value:"carousel"},{label:"Star Rating",value:"star-rating-badge"},{label:"Full Page",value:"full-page"},{label:"Visual Gallery",value:"visual-gallery"},{label:"Wall Photos",value:"wall-photos"},{label:"Site Badge",value:"site-badge"}]},{id:"widgetTypeV2",label:"Choose widget",type:"select",default:"main-widget",options:[{label:"Main Widget",value:"main-widget"},{label:"Product Rating",value:"product-rating-image"},{label:"Badge Double",value:"badge-double-image"},{label:"Badge Ribbon",value:"badge-ribbon-image"},{label:"Badge Single",value:"badge-single-image"},{label:"Carousel",value:"carousel"},{label:"Full Page",value:"full-page"},{label:"Site Badge",value:"site-badge"},{label:"Star Rating",value:"star-rating-badge",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Visual Gallery",value:"visual-gallery"},{label:"Wall Photos",value:"wall-photos"}]},...l.widgetSettings]}],ui:[{type:"control",setting:{id:"install"}},{type:"control",label:{en:"Choose version"},setting:{id:"version"}},{type:"control",label:{en:"Choose widget"},setting:{id:"widgetType"},condition:'version === "v1"'},{type:"control",label:{en:"Choose widget"},setting:{id:"widgetTypeV2"},condition:'version === "v2"'},...l.widgetUIs,{type:"control",setting:{id:"openApp"}}]};exports.default=t;
