1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9979],{85478:function(e,t,s){Promise.resolve().then(s.bind(s,2500))},2500:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return g}});var l=s(57437),a=s(85754),i=s(20703),r=s(66887),n=s(97869),c=s(2265),o=s(51452);function d(){let[e,t]=(0,c.useState)("subscription"),[s,d]=(0,c.useState)({priceId:"price_1PgJ0ECf2wmG0opdm2nni5zx",isFeatured:!0,name:"Lifetime Access",description:"Unlimited infographic creation",price:70,credits:300,priceAnchor:120,features:[{name:"Unlimited Infographics"},{name:"Full Commercial Rights"},{name:"Blog to Infographic"},{name:"Automatic Topic Research"},{name:"Citations"},{name:"Customize Logos"},{name:"Lifetime of updates"}]});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"absolute inset-0 flex items-center justify-center overflow-hidden pointer-events-none",children:(0,l.jsx)("div",{className:"relative mb-72 h-full w-full min-w-[29rem] max-w-[96rem] sm:mb-0",children:(0,l.jsx)("img",{alt:"",fetchPriority:"high",decoding:"async","data-nimg":"fill",className:"pointer-events-none absolute inset-0 -z-5 -translate-x-2 select-none sm:translate-x-0 h-full w-full",style:{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,color:"transparent"},src:"./background.svg"})})}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("section",{className:"relative w-full py-12 md:py-24 lg:py-32 z-10 pointer-events-none",children:(0,l.jsx)("div",{className:"container px-4 md:px-6 text-center",children:(0,l.jsxs)("div",{className:"max-w-2xl mx-auto space-y-4",children:[(0,l.jsx)("h1",{className:"text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl",id:"pay",children:"Get Lifetime Access"}),(0,l.jsx)("p",{className:"text-gray-500 md:text-xl dark:text-gray-400",children:"Unlimited infographics & all future updates."}),(0,l.jsx)("p",{className:"text-gray-500 md:text-xl dark:text-gray-400 animate-text bg-gradient-to-r from-teal-500 via-purple-500 to-orange-500 bg-clip-text text-transparent",children:"Pay once, use it forever."})]})})}),(0,l.jsxs)("section",{className:"relative w-full z-10 bg-white p-4",children:[(0,l.jsx)(o.Z,{}),(0,l.jsx)("div",{className:"relative flex justify-center flex-col lg:flex-row items-center lg:items-stretch gap-8 w-full"}),(0,l.jsx)("div",{className:"bg-white rounded-lg shadow-lg overflow-hidden mt-12 max-w-3xl lg:max-w-3xl mx-auto",children:(0,l.jsxs)("div",{className:"px-6 py-8 bg-gradient-to-r from-slate-900 to-slate-700 text-white",children:[(0,l.jsx)("h3",{className:"text-2xl font-bold mb-2",children:"Enterprise"}),(0,l.jsx)("p",{className:"mb-6",children:"Want API access? "}),(0,l.jsx)("p",{className:"mb-6",children:"Contact us for a custom plan."}),(0,l.jsx)(a.z,{className:"bg-gradient-to-r from-pink-600 to-purple-600 text-white border-none opacity-85 hover:opacity-100",onClick:e=>{e.preventDefault(),window.open("mailto:[email protected]")},children:"Contact Us"})]})})]}),(0,l.jsx)("section",{className:"relative w-full z-10",children:(0,l.jsx)("div",{className:"flex flex-row items-center justify-center bg-red-100"})}),(0,l.jsxs)("section",{className:"bg-gradient-to-b from-white to-red-100",children:[(0,l.jsx)("div",{className:"container px-4 md:px-6 text-center my-40",children:(0,l.jsxs)("div",{className:"max-w-2xl mx-auto space-y-4",children:[(0,l.jsx)("h1",{className:"text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl",children:"Why use an AI Infographic Designer?"}),(0,l.jsx)("p",{className:"text-gray-500 md:text-xl dark:text-gray-400",children:"Text to Infographic is the fastest and most affordable way to create infographics."}),(0,l.jsx)("p",{className:"text-gray-500 md:text-xl dark:text-gray-400 animate-text bg-gradient-to-r from-teal-500 via-purple-500 to-orange-500 bg-clip-text text-transparent",children:"1 credit = 1 infographic"})]})}),(0,l.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-7 gap-4 p-12",children:[(0,l.jsx)("div",{className:"col-span-1 md:col-span-2 lg:col-span-3 lg:row-span-6",children:(0,l.jsxs)("div",{className:"bg-white dark:bg-gray-800 p-8 rounded-lg shadow-lg w-full",children:[(0,l.jsx)("h1",{className:"text-2xl font-bold mb-8 text-gray-800 dark:text-gray-200",children:"Typical Design Process"}),(0,l.jsxs)("div",{className:"space-y-6",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg shadow-sm bg-indigo-50 dark:bg-indigo-900",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"w-12 h-12 bg-indigo-500 rounded-full flex items-center justify-center text-white font-bold",children:"1"}),(0,l.jsxs)("div",{className:"ml-4",children:[(0,l.jsx)("span",{className:"text-lg font-medium text-gray-800 dark:text-gray-200",children:"Research"}),(0,l.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Understanding the topic and gathering relevant data and information."})]})]}),(0,l.jsx)("span",{className:"text-lg font-semibold text-indigo-500 w-1/6 text-right",children:"2 hours"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg shadow-sm bg-teal-50 dark:bg-teal-900",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"w-12 h-12 bg-teal-500 rounded-full flex items-center justify-center text-white font-bold",children:"2"}),(0,l.jsxs)("div",{className:"ml-4",children:[(0,l.jsx)("span",{className:"text-lg font-medium text-gray-800 dark:text-gray-200",children:"Conceptualization"}),(0,l.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Sketching ideas and planning the layout of the infographic."})]})]}),(0,l.jsx)("span",{className:"text-lg font-semibold text-teal-500 w-1/6 text-right",children:"1.5 hours"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg shadow-sm bg-yellow-50 dark:bg-yellow-900",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"w-12 h-12 bg-yellow-500 rounded-full flex items-center justify-center text-white font-bold",children:"3"}),(0,l.jsxs)("div",{className:"ml-4",children:[(0,l.jsx)("span",{className:"text-lg font-medium text-gray-800 dark:text-gray-200",children:"Design"}),(0,l.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Creating the visual design elements and assembling the infographic."})]})]}),(0,l.jsx)("span",{className:"text-lg font-semibold text-yellow-500 w-1/6 text-right",children:"4 hours"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg shadow-sm bg-red-50 dark:bg-red-900",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"w-12 h-12 bg-red-500 rounded-full flex items-center justify-center text-white font-bold",children:"4"}),(0,l.jsxs)("div",{className:"ml-4",children:[(0,l.jsx)("span",{className:"text-lg font-medium text-gray-800 dark:text-gray-200",children:"Review"}),(0,l.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Checking the infographic for accuracy, consistency, and visual appeal."})]})]}),(0,l.jsx)("span",{className:"text-lg font-semibold text-red-500 w-1/6 text-right",children:"1 hours"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg shadow-sm bg-purple-50 dark:bg-purple-900",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"w-12 h-12 bg-purple-500 rounded-full flex items-center justify-center text-white font-bold",children:"5"}),(0,l.jsxs)("div",{className:"ml-4",children:[(0,l.jsx)("span",{className:"text-lg font-medium text-gray-800 dark:text-gray-200",children:"Finalization"}),(0,l.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Making final adjustments and exporting the infographic in the desired format."})]})]}),(0,l.jsx)("span",{className:"text-lg font-semibold text-purple-500 w-1/6 text-right",children:"0.5 hours"})]})]}),(0,l.jsx)("div",{className:"mt-8 p-4 border-t border-gray-300 dark:border-gray-700",children:(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("span",{className:"text-xl font-bold text-gray-800 dark:text-gray-200",children:"Total Time"}),(0,l.jsx)("span",{className:"text-xl font-bold text-gray-800 dark:text-gray-200",children:"9 hours"})]})})]})}),(0,l.jsx)("div",{className:"col-span-1 md:col-span-1 lg:col-span-2 row-span-3 lg:row-start-1 lg:col-start-4",children:(0,l.jsxs)("div",{className:"bg-indigo-950 p-8 rounded-lg shadow-lg w-full h-full",children:[(0,l.jsx)("h1",{className:"text-2xl font-bold mb-6 text-white",children:"Designer Cost"}),(0,l.jsx)("div",{className:"flex items-center justify-between",children:(0,l.jsx)("span",{className:"text-8xl font-extrabold text-white",children:"$35"})}),(0,l.jsx)("div",{className:"flex items-center justify-between",children:(0,l.jsx)("span",{className:"text-xl text-white",children:"per hour"})}),(0,l.jsx)("div",{className:"mt-12 text-white text-right",children:(0,l.jsx)("a",{href:"https://www.indeed.com/career/designer/salaries",className:"text-white underline",children:"According to Indeed.com"})})]})}),(0,l.jsx)("div",{className:"col-span-1 md:col-span-1 lg:col-span-2 row-span-3 lg:col-start-4",children:(0,l.jsxs)("div",{className:"bg-slate-950 p-8 rounded-lg shadow-lg w-full h-full space-y-6",children:[(0,l.jsxs)("div",{className:"flex flex-1",children:[(0,l.jsx)(i.default,{src:r.default,alt:"".concat(n.Z.appName," logo"),className:"w-8",placeholder:"blur",priority:!0,width:32,height:32}),(0,l.jsx)("span",{className:"ml-2 font-bold text-lg text-white",children:n.Z.appName})]}),(0,l.jsxs)("div",{className:"space-y-5 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("svg",{className:"w-6 h-6 text-white mr-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M5 13l4 4L19 7"})}),(0,l.jsxs)("span",{className:"text-lg text-white font-mono",children:["AI conducts the ",(0,l.jsx)("u",{children:"research"})]})]}),(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("svg",{className:"w-6 h-6 text-white mr-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M5 13l4 4L19 7"})}),(0,l.jsxs)("span",{className:"text-lg text-white font-mono",children:["AI finds ",(0,l.jsx)("u",{children:"copyright free images"})]})]}),(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("svg",{className:"w-6 h-6 text-white mr-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M5 13l4 4L19 7"})}),(0,l.jsxs)("span",{className:"text-lg text-white font-mono",children:["AI ",(0,l.jsx)("u",{children:"designs"})," the infographic"]})]}),(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("svg",{className:"w-6 h-6 text-white mr-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M5 13l4 4L19 7"})}),(0,l.jsxs)("span",{className:"text-lg text-white font-mono",children:["AI cites its ",(0,l.jsx)("u",{children:"sources"})]})]}),(0,l.jsx)("div",{className:"flex items-center",children:(0,l.jsxs)("span",{className:"text-2xl text-white font-mono",children:["Total time: ",(0,l.jsx)("b",{children:"~2 minutes"})]})})]})]})}),(0,l.jsx)("div",{className:"col-span-1 md:col-span-2 lg:col-span-2 row-span-4 lg:col-start-6 lg:row-start-3",children:(0,l.jsxs)("div",{className:"bg-white dark:bg-gray-800 p-8 rounded-lg shadow-lg w-full h-full relative",children:[(0,l.jsx)("div",{className:"absolute inset-0 bg-grid-pattern opacity-10 dark:opacity-20 pointer-events-none"}),(0,l.jsx)("h1",{className:"text-3xl font-bold mb-6 text-gray-800 dark:text-gray-200 text-center relative",children:"Total Cost"}),(0,l.jsxs)("div",{className:"flex justify-center items-end h-5/6 space-x-8 relative",children:[(0,l.jsxs)("div",{className:"flex flex-col items-center w-1/4",children:[(0,l.jsx)("div",{className:"relative w-full",children:(0,l.jsx)("div",{className:"bg-gradient-to-t from-blue-600 to-blue-400 w-full h-80 rounded-t-lg flex justify-center items-end pb-2",children:(0,l.jsx)("div",{className:"text-white font-bold",children:"$315"})})}),(0,l.jsx)("span",{className:"text-gray-800 dark:text-gray-200 mt-2 text-center font-semibold",children:"Human Designer"})]}),(0,l.jsxs)("div",{className:"flex flex-col items-center w-1/4",children:[(0,l.jsx)("div",{className:"relative w-full",children:(0,l.jsx)("div",{className:"bg-gradient-to-t from-green-600 to-green-400 w-full h-12 rounded-t-lg flex justify-center items-end pb-2",children:(0,l.jsx)("div",{className:"text-white font-bold",children:"$1"})})}),(0,l.jsx)("span",{className:"text-gray-800 dark:text-gray-200 mt-2 text-center font-semibold",children:"Text to Infographic"})]})]})]})}),(0,l.jsx)("div",{className:"col-span-1 md:col-span-2 lg:col-span-2 row-span-2 lg:col-start-6 lg:row-start-1",children:(0,l.jsxs)("div",{className:"bg-gradient-to-r from-pink-500 to-rose-400 p-8 rounded-lg shadow-lg w-full h-full space-y-6",children:[(0,l.jsx)("h1",{className:"text-3xl font-extrabold text-white mb-4 flex items-center",children:"Anyone Can Create"}),(0,l.jsxs)("p",{className:"text-lg text-white flex items-center",children:[(0,l.jsx)("svg",{className:"w-6 h-6 mr-2 text-white",f
1ill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"No design skills required."]}),(0,l.jsxs)("p",{className:"text-lg text-white flex items-center",children:[(0,l.jsx)("svg",{className:"w-6 h-6 mr-2 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"No software to install."]}),(0,l.jsxs)("p",{className:"text-lg text-white flex items-center",children:[(0,l.jsx)("svg",{className:"w-6 h-6 mr-2 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"No learning curve."]})]})})]})]})]})]})}var x=s(43177),m=s(16112),h=s(71126),f=s(59895);function g(){let{data:e,status:t}=(0,h.useSession)(),[s,a]=(0,c.useState)(null);(0,c.useEffect)(()=>{"authenticated"===t&&i(e.user.id)},[t]),(0,c.useEffect)(()=>{},[s]);let i=e=>{e&&f.Z.post("/user/get-one",{userId:e}).then(e=>{a(e)})};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.Suspense,{children:(0,l.jsx)(x.default,{initialUser:s})}),(0,l.jsx)("main",{className:"min-h-screen",children:(0,l.jsx)(d,{})}),(0,l.jsx)(m.Z,{})]})}},16112:function(e,t,s){"use strict";var l=s(57437),a=s(8792),i=s(20703),r=s(97869),n=s(66887),c=s(1165);t.Z=()=>(0,l.jsx)("footer",{className:"bg-red-100 border-t border-base-content/10",children:(0,l.jsx)("div",{className:"max-w-7xl mx-auto px-8 py-24",children:(0,l.jsxs)("div",{className:" flex lg:items-start md:flex-row md:flex-nowrap flex-wrap flex-col",children:[(0,l.jsxs)("div",{className:"w-64 flex-shrink-0 md:mx-0 mx-auto text-center md:text-left",children:[(0,l.jsxs)(a.default,{href:"/#","aria-current":"page",className:"flex gap-2 justify-center md:justify-start items-center",children:[(0,l.jsx)(i.default,{src:n.default,alt:"".concat(r.Z.appName," logo"),priority:!0,className:"w-6 h-6",width:24,height:24}),(0,l.jsx)("strong",{className:"font-extrabold tracking-tight text-base md:text-lg",children:r.Z.appName})]}),(0,l.jsx)("p",{className:"mt-3 text-sm text-base-content/80",children:r.Z.appDescription}),(0,l.jsxs)("p",{className:"mt-3 text-sm text-base-content/60",children:["Copyright \xa9 ",new Date().getFullYear()," - All rights reserved"]}),(0,l.jsxs)("p",{className:"mt-3 text-sm text-base-content/60",children:["Made with ⤠by ",(0,l.jsx)("a",{href:"https://twitter.com/c0delemons",target:"_blank",className:"link link-hover",children:"c0delemons"})]})]}),(0,l.jsxs)("div",{className:"flex-grow flex flex-wrap justify-center -mb-10 md:mt-0 mt-10 text-center ml-0 md:ml-12",children:[(0,l.jsxs)("div",{className:"lg:w-1/4 md:w-1/2 w-full px-4",children:[(0,l.jsx)("div",{className:"footer-title font-semibold text-base-content tracking-widest text-sm md:text-left mb-3",children:"FEATURES"}),(0,l.jsxs)("div",{className:"flex flex-col justify-center items-center md:items-start gap-2 mb-10 text-sm",children:[r.Z.mailgun.supportEmail&&(0,l.jsx)("a",{href:"mailto:".concat(r.Z.mailgun.supportEmail),target:"_blank",className:"link link-hover","aria-label":"Contact Support",children:"Support"}),(0,l.jsx)(a.default,{href:"/pricing",className:"link link-hover",children:"Pricing"}),(0,l.jsx)(a.default,{href:"/feature/blog-to-infographic",className:"link link-hover",children:"Blog to Infographic"}),(0,l.jsx)(a.default,{href:"/feature/spreadsheet-to-infographic",className:"link link-hover",children:"Excel to Infographic"}),(0,l.jsx)(a.default,{href:"/feature/document-to-infographic",className:"link link-hover",children:"Document to Infographic"})]})]}),(0,l.jsxs)("div",{className:"lg:w-1/4 md:w-1/2 w-full px-4",children:[(0,l.jsx)("div",{className:"footer-title font-semibold text-base-content tracking-widest text-sm md:text-left mb-3",children:"RESOURCES"}),(0,l.jsxs)("div",{className:"flex flex-col justify-center items-center md:items-start gap-2 mb-10 text-sm",children:[(0,l.jsx)(a.default,{href:"/colors/30-infographic-color-palettes",className:"link link-hover",children:"Infographic Color Palettes"}),(0,l.jsx)(a.default,{href:"/blog",className:"link link-hover",children:"Infographic Design Tips"})]})]}),(0,l.jsxs)("div",{className:"lg:w-1/4 md:w-1/2 w-full px-4",children:[(0,l.jsx)("div",{className:"footer-title font-semibold text-base-content tracking-widest text-sm md:text-left mb-3",children:"FREE TOOLS"}),(0,l.jsxs)("div",{className:"flex flex-col justify-center items-center md:items-start gap-2 mb-10 text-sm",children:[(0,l.jsx)(a.default,{href:"/tools/free-svg-color-editor",className:"link link-hover",children:"SVG Color Editor"}),(0,l.jsx)(a.default,{href:"/tools/brand-color-palette-generator",className:"link link-hover",children:"Brand Guidelines Generator"}),(0,l.jsx)(a.default,{href:"/tools/free-font-pairing-tool",className:"link link-hover",children:"Font Pairing Generator"})]})]}),(0,l.jsxs)("div",{className:"lg:w-1/4 md:w-1/2 w-full px-4",children:[(0,l.jsx)("div",{className:"footer-title font-semibold text-base-content tracking-widest text-sm md:text-left mb-3",children:"LEGAL"}),(0,l.jsxs)("div",{className:"flex flex-col justify-center items-center md:items-start gap-2 mb-10 text-sm",children:[(0,l.jsx)(a.default,{href:"/tos",className:"link link-hover",children:"Terms of services"}),(0,l.jsx)(a.default,{href:"/privacy-policy",className:"link link-hover",children:"Privacy policy"})]}),(0,l.jsx)("div",{className:"footer-title font-semibold text-base-content tracking-widest text-sm md:text-left mb-3",children:"SOCIAL"}),(0,l.jsxs)("div",{className:"flex flex-row justify-center items-center md:items-start gap-2 mb-10 text-sm md:justify-start",children:[(0,l.jsx)(c.QZ,{url:"https://www.linkedin.com/company/text2infographic",target:"_blank",bgColor:"#0077B5",fgColor:"#fff",style:{height:24,width:24}}),(0,l.jsx)(c.QZ,{url:"https://twitter.com/infographicai",target:"_blank",bgColor:"#1DA1F2",fgColor:"#fff",style:{height:24,width:24}}),(0,l.jsx)(c.QZ,{url:"https://www.facebook.com/text2infographic",target:"_blank",bgColor:"#4267B2",fgColor:"#fff",style:{height:24,width:24}}),(0,l.jsx)(c.QZ,{url:"https://www.pinterest.com/text2infographic/",target:"_blank",bgColor:"#E60023",fgColor:"#fff",style:{height:24,width:24}}),(0,l.jsx)(c.QZ,{url:"https://linktr.ee/text2infographic",target:"_blank",style:{height:24,width:24},network:"linktree"}),(0,l.jsx)(c.QZ,{url:"https://climate.stripe.com/eJedlM",target:"_blank",bgColor:"#6772E5",fgColor:"#fff",style:{height:24,width:24}})]})]})]})]})})})},51452:function(e,t,s){"use strict";s.d(t,{Z:function(){return x}});var l=s(57437),a=s(2265),i=s(32175),r=s(18727),n=s(59895),c=s(71126),o=s(79580),d=e=>{let{priceId:t,mode:s="payment"}=e,[r,d]=(0,a.useState)(!1),{data:x,status:m}=(0,c.useSession)(),h=async()=>{d(!0),"authenticated"!==m&&(sessionStorage.setItem("initiateCheckout","true"),await (0,c.signIn)("google",{callbackUrl:window.location.href}));try{let{url:e}=await n.Z.post("/stripe/create-checkout",{priceId:t,successUrl:window.location.href,cancelUrl:window.location.href,mode:s,referral:window.promotekit_referral});window.location.href=e}catch(e){console.error(e)}d(!1)};return(0,a.useEffect)(()=>{"authenticated"===m&&"true"===sessionStorage.getItem("initiateCheckout")&&(sessionStorage.removeItem("initiateCheckout"),h())},[m]),(0,l.jsxs)(i.E.button,{className:"relative w-full py-3 px-6 bg-rose-500 text-white font-bold text-lg rounded-xl shadow-lg overflow-hidden",whileHover:{scale:1.02},whileTap:{scale:.98},onClick:()=>h(),disabled:r,children:[(0,l.jsx)(i.E.div,{className:"absolute inset-0 bg-white",initial:{scale:0,opacity:0}
1,whileHover:{scale:1,opacity:.1},transition:{duration:.3}}),(0,l.jsxs)(i.E.div,{className:"relative z-10 flex items-center justify-center",initial:{opacity:1},animate:{opacity:r?0:1},children:[(0,l.jsx)("span",{children:"Purchase"}),(0,l.jsx)(i.E.svg,{className:"w-5 h-5 ml-2 fill-current",viewBox:"0 0 375 509",children:(0,l.jsx)("path",{d:"M249.685 14.125C249.685 11.5046 248.913 8.94218 247.465 6.75675C246.017 4.57133 243.957 2.85951 241.542 1.83453C239.126 0.809546 236.463 0.516683 233.882 0.992419C231.301 1.46815 228.917 2.69147 227.028 4.50999L179.466 50.1812C108.664 118.158 48.8369 196.677 2.11373 282.944C0.964078 284.975 0.367442 287.272 0.38324 289.605C0.399039 291.938 1.02672 294.226 2.20377 296.241C3.38082 298.257 5.06616 299.929 7.09195 301.092C9.11775 302.255 11.4133 302.867 13.75 302.869H129.042V494.875C129.039 497.466 129.791 500.001 131.205 502.173C132.62 504.345 134.637 506.059 137.01 507.106C139.383 508.153 142.01 508.489 144.571 508.072C147.131 507.655 149.516 506.503 151.432 504.757L172.698 485.394C247.19 417.643 310.406 338.487 359.975 250.894L373.136 227.658C374.292 225.626 374.894 223.327 374.882 220.99C374.87 218.653 374.243 216.361 373.065 214.341C371.887 212.322 370.199 210.646 368.17 209.482C366.141 208.318 363.841 207.706 361.5 207.707H249.685V14.125Z"})})]}),r&&(0,l.jsx)(i.E.div,{className:"absolute inset-0 flex items-center justify-center",initial:{opacity:0}
1,animate:{opacity:1},children:(0,l.jsx)(o.Z,{className:"w-6 h-6 animate-spin"})})]})},x=()=>{let[e,t]=(0,a.useState)(4),[s,n]=(0,a.useState)({priceId:"price_1PgJ0ECf2wmG0opdm2nni5zx",isFeatured:!0,name:"Lifetime Access",description:"Unlimited infographic creation",price:70,credits:300,priceAnchor:120,features:[{name:"Unlimited Infographics"},{name:"Full Commercial Rights"},{name:"Blog to Infographic"},{name:"Automatic Topic Research"},{name:"Citations"},{name:"Customize Logos"},{name:"Lifetime of updates"}]});return(0,l.jsx)(i.E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"max-w-3xl mx-auto bg-white rounded-2xl shadow-lg overflow-hidden border border-rose-200",children:(0,l.jsxs)("div",{className:"p-8 flex flex-col md:flex-row",children:[(0,l.jsxs)("div",{className:"md:w-1/2 md:pr-4 lg:pr-8",children:[(0,l.jsx)("div",{className:"inline-block bg-rose-100 text-rose-700 px-3 py-1 rounded-full text-sm font-medium mb-4",children:"Limited Time Offer"}),(0,l.jsx)("h2",{className:"text-2xl md:text-3xl font-bold text-gray-800 mb-2 leading-tight",children:"Lifetime Access to"}),(0,l.jsx)("h3",{className:"text-3xl md:text-4xl font-extrabold text-rose-600 mb-4",children:"text2infographic"}),(0,l.jsx)("p",{className:"text-lg text-gray-600 mb-6",children:"Unlimited AI-Powered Infographics"}),(0,l.jsxs)("div",{className:"flex items-baseline mb-6",children:[(0,l.jsx)("span",{className:"text-4xl font-bold text-gray-900",children:"$70"}),(0,l.jsx)("span",{className:"text-xl text-gray-500 line-through ml-2",children:"$120"}),(0,l.jsx)("span",{className:"text-lg text-rose-600 ml-2 font-medium",children:"Save $50"})]}),(0,l.jsx)(d,{priceId:s.priceId}),(0,l.jsxs)("p",{className:"text-center mt-4 text-gray-600",children:[(0,l.jsx)("span",{className:"font-semibold text-rose-600",children:e})," discounted offers remaining"]})]}),(0,l.jsxs)("div",{className:"md:w-1/2 mt-8 md:mt-0 md:pl-4 lg:pl-8",children:[(0,l.jsxs)("h3",{className:"text-xl font-bold text-gray-800 mb-4 flex items-center",children:[(0,l.jsx)(r.Z,{className:"w-5 h-5 mr-2 text-rose-500"}),"What You'll Get:"]}),(0,l.jsx)("ul",{className:"space-y-3",children:["â Unlimited Infographics","\uD83D\uDE80 Full Commercial Rights","\uD83D\uDCC4 Blog to Infographic","\uD83D\uDCC1 File to Infographic","\uD83E\uDDE0 AI Topic Research","\uD83C\uDFA8 Brand Integration","\uD83C\uDF10 20+ Languages","â Auto Citations","\uD83D\uDD04 Lifetime Updates"].map((e,t)=>(0,l.jsxs)(i.E.li,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.1*t},className:"flex items-center text-gray-700",children:[(0,l.jsx)("span",{className:"mr-2 text-xl",children:e.split(" ")[0]}),(0,l.jsx)("span",{className:"font-medium",children:e.split(" ").slice(1).join(" ")})]},t))})]})]})})}},57977:function(e,t,s){"use strict";s.d(t,{Z:function(){return c}});var l=s(2265);/** 2 * @license lucide-react v0.379.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */let a=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=(...e)=>e.filter((e,t,s)=>!!e&&s.indexOf(e)===t).join(" ");/** 7 * @license lucide-react v0.379.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */var r={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 12 * @license lucide-react v0.379.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */let n=(0,l.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:s=2,absoluteStrokeWidth:a,className:n="",children:c,iconNode:o,...d},x)=>(0,l.createElement)("svg",{ref:x,...r,width:t,height:t,stroke:e,strokeWidth:a?24*Number(s)/Number(t):s,className:i("lucide",n),...d},[...o.map(([e,t])=>(0,l.createElement)(e,t)),...Array.isArray(c)?c:[c]])),c=(e,t)=>{let s=(0,l.forwardRef)(({className:s,...r},c)=>(0,l.createElement)(n,{ref:c,iconNode:t,className:i(`lucide-${a(e)}`,s),...r}));return s.displayName=`${e}`,s}}},function(e){e.O(0,[5250,5106,3195,1165,6068,3177,2971,8069,1744],function(){return e(e.s=85478)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.