"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var OkendoReviewsLoyalty=require("../../configs/OkendoReviewsLoyalty.js"),uiV1=require("./uiV1.js"),uiV2=require("./uiV2.js"),helpers=require("../../common/helpers.js");const config={tag:OkendoReviewsLoyalty.default.tag,label:OkendoReviewsLoyalty.default.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/fe55626671bd5da73785c606c2b0752f/icon/CNKRrIWatfoCEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:OkendoReviewsLoyalty.default.id,name:{en:OkendoReviewsLoyalty.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="https://cdn.shopify.com/app-store/listing_images/fe55626671bd5da73785c606c2b0752f/icon/CNKRrIWatfoCEAE=.png?width=22&height=22">
        <span class="preset-item-title">Okendo: Reviews & Loyalty</span>
      </div>`},components:[{tag:OkendoReviewsLoyalty.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"productHandle",type:"product-handle",hide:!0},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Reviews Widget",value:"reviews-widget"},{label:"Reviews Badge",value:"reviews-badge"},{label:"Media Carousel",value:"media-carousel"},{label:"Media Grid",value:"media-grid"},{label:"Reviews Carousel",value:"reviews-carousel"},{label:"Star Rating",value:"star-rating"},{label:"Questions Widget",value:"questions-widget"}],default:"reviews-widget"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:helpers.get3rdPartyInstallLink({handle:"okendo"}),appName:OkendoReviewsLoyalty.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/okendo-reviews",appName:OkendoReviewsLoyalty.default.label},{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.default=config;
