"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var Stamped=require("../configs/Stamped.js"),index=require("./Stamped/index.js"),helpers=require("../common/helpers.js");const config={tag:Stamped.default.tag,label:Stamped.default.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${Stamped.default.logoUrl}">`,editorConfigs:{component:{isThirdParty:!0}},presets:[{id:Stamped.default.id,name:{en:Stamped.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="${Stamped.default.logoUrl}">
          <span class="preset-item-title">${Stamped.default.label}</span>
        </div>
      `},components:[{tag:Stamped.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:helpers.get3rdPartyInstallLink({handle:"stamped-product-reviews"}),appName:Stamped.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/product-reviews-addon",appName:Stamped.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"}]},...index.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"'},...index.widgetUIs,{type:"control",setting:{id:"openApp"}}]};exports.default=config;
