'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),ThirdPartyPreview=require("./ThirdPartyPreview.js"),React=require("react"),PreorderNowWodPresale$1=require("../configs/PreorderNowWodPresale.js");const mapWidgetLabel={"app-block":"Plans","popups-block":"Popups"},PreorderNowWodPresaleContent=({setting:e})=>{let r=e?.widgetType&&mapWidgetLabel[e.widgetType],o=React.useMemo(()=>r?`${PreorderNowWodPresale$1.default.label} - ${r}`:PreorderNowWodPresale$1.default.label,[r]);return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsx("div",{className:"gp-p-2",children:jsxRuntime.jsx(ThirdPartyPreview.default,{setting:{label:o,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${PreorderNowWodPresale$1.default.logoUrl}">`}})})})},PreorderNowWodPresale=({setting:e})=>jsxRuntime.jsx("div",{style:{...core.makeStyleResponsive("ta",e?.align)},children:jsxRuntime.jsx(PreorderNowWodPresaleContent,{setting:e})});exports.default=PreorderNowWodPresale;
