
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0f25245c-76dc-5111-b8b6-22c1fda64748")}catch(e){}}();
import{j as s}from"./jsx-runtime-BjG_zV1W.js";import{c as o}from"./index-x2da_zcv.js";import{S as u,a as g}from"./CreateAction-Dl0JjCOR.js";import{T as t}from"./index-BdpAPpdN.js";import{d as p,L as n}from"./components-Oj2xMfGE.js";import{u as f}from"./useTranslation-CfKJAmGY.js";import{F as y}from"./LockClosedIcon-BluoCUMI.js";const v=({title:l,message:c,cta:i,publication:a,theme:e,createActionType:x=g.GATED})=>{const{signupWidgetConfigs:b}=p("root"),{t:r}=f(),d=a.web_template.web_theme.color_background,m=a.web_template.web_theme.color_body;return s.jsxs("div",{className:o("mx-auto flex w-full flex-col items-center px-10",{"mb-10 bg-wt-text-on-background py-10 text-wt-background":e==="subscribe-gate"},{"max-w-xl bg-transparent":e==="subscribe-gate-bottom"},{"max-w-2xl":e!=="subscribe-gate-bottom"}),children:[a.private&&s.jsx(y,{className:"h-16 w-16"}),s.jsxs("div",{className:"flex flex-col space-y-2",children:[s.jsx(t,{as:"h2",type:"title",size:e==="subscribe-gate-bottom"?"2xl":"3xl",theme:e,className:"text-center text-3xl font-bold leading-tight tracking-normal",children:l}),s.jsx(t,{as:"p",type:"body",size:e==="subscribe-gate-bottom"?"md":"lg",theme:e,className:"text-center leading-tight tracking-normal",children:c})]}),s.jsx("div",{className:"w-full py-8",children:s.jsx(u,{signupStyles:{...b,buttonText:i,fontSize:e==="subscribe-gate-bottom"&&"sm",bodyTextColor:e==="subscribe-gate"?d:m},type:x})}),s.jsxs("div",{className:"pb-2",children:[s.jsxs(t,{as:"span",type:"body",theme:e,className:"flex items-center justify-center text-center text-sm",children:[r("login.already_a_subscriber"),s.jsxs(n,{to:"/login",className:"ml-1",children:[s.jsx("span",{className:o("underline underline-offset-1",{"text-wt-text-on-background":e!=="subscribe-gate"}),children:r("shared.cta.sign_in")}),"."]})]}),s.jsx(n,{to:"/",className:"cursor-pointer",children:s.jsx(t,{as:"span",type:"body",theme:e,className:"flex justify-center py-2 text-center text-sm sm:text-lg",children:s.jsx("span",{className:"text-sm underline underline-offset-1",children:r("login.not_now")})})})]})]})};export{v as F};
//# sourceMappingURL=FreeGatedContent-D-EWr0IZ.js.map

//# debugId=0f25245c-76dc-5111-b8b6-22c1fda64748
