try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="94887f7f-0c24-4617-acef-d0eead4441b7",e._sentryDebugIdIdentifier="sentry-dbid-94887f7f-0c24-4617-acef-d0eead4441b7")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[10255],{10255:function(e,t,r){r.d(t,{Z:function(){return PricingSection}});var a=r(34906),s=r(44190),i=r(32106),n=r.n(i),o=r(89294),l=r(36832),d=r(14757),c=r(72761),m=r(3539),x=r(3614),u=r(16327),p=r(98399),h=r(17004),g=r(42124),f=r(85007);function PricingSection(){let{t:e,lang:t}=(0,l.Z)("ai-headshot-generator"),[r,i]=(0,d.useState)("individual"),[j,v]=(0,d.useState)(5),k=(0,o.useRouter)(),N=(0,u.z)(),{user:P}=(0,g.aF)(),{discount:S,discountedPrice:_,originalPrice:G,savedAmount:L}=(0,d.useMemo)(()=>{let e=0;j>=30?e=30:j>=20?e=20:j>=10&&(e=10);let t=29*j,r=t*(e/100);return{discount:e,discountedPrice:Math.round(t-r),originalPrice:t,savedAmount:r}},[j]),handleStripeProduct=async(e,t)=>{if(!P)return k.push("/login?price=".concat(e,"#auth-sign-up"));try{let{sessionId:a}=await (0,p.qC)({url:"/api/create-checkout-session-product",data:{price:e,flow_data_type:t?"team_size_".concat(t,"_discount_").concat(S):""},token:""});N.track("Headshots Purchase Initiated",{price:e,pricingType:r,members:t||1,discount:S});let s=await (0,h.d)();null==s||s.redirectToCheckout({sessionId:a})}catch(e){return c.Am.error(null==e?void 0:e.message)}};return(0,a.jsx)("section",{className:"relative mx-auto bg-gradient-to-b from-white to-gray-50 py-16 dark:from-slate-800 dark:to-slate-900",children:(0,a.jsx)("div",{className:"relative mx-auto max-w-6xl sm:flex sm:justify-center md:px-8 xl:px-0",children:(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsxs)("div",{id:"pricing",className:"mx-auto w-full max-w-6xl space-y-12 p-8 dark:text-slate-200 sm:rounded-xl",children:[(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("h2",{className:"mb-4 text-4xl font-extrabold tracking-tight",children:e("Pricing")}),(0,a.jsx)("p",{className:"mx-auto max-w-2xl text-gray-600 dark:text-gray-400",children:e("Choose the perfect plan for your needs")})]}),(0,a.jsxs)("div",{className:"mb-12 flex items-center justify-center",children:[(0,a.jsx)("span",{className:(0,m.Z)("mr-3 text-sm font-medium transition-colors duration-200","individual"===r?"text-primary-600 dark:text-primary-400":"text-gray-500 dark:text-gray-400"),children:e("Individual")}),(0,a.jsx)("button",{onClick:()=>{i("individual"===r?"team":"individual")},className:"relative inline-flex h-7 w-14 items-center rounded-full bg-gray-200 transition-colors duration-300 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 dark:bg-gray-700",children:(0,a.jsx)("span",{className:(0,m.Z)("inline-block h-5 w-5 transform rounded-full bg-white shadow-md transition-transform duration-300","team"===r?"translate-x-8":"translate-x-1")})}),(0,a.jsx)("span",{className:(0,m.Z)("ml-3 text-sm font-medium transition-colors duration-200","team"===r?"text-primary-600 dark:text-primary-400":"text-gray-500 dark:text-gray-400"),children:e("Team")})]}),"team"===r&&(0,a.jsxs)("div",{className:"mx-auto mb-12 max-w-md rounded-xl bg-white p-6 shadow-lg transition-all duration-300 dark:bg-slate-800",children:[(0,a.jsx)("div",{className:"mb-4 flex justify-between",children:(0,a.jsxs)("span",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:["Team Size:"," ",(0,a.jsxs)("span",{className:"font-bold text-primary-600",children:[j," members"]})]})}),(0,a.jsx)("input",{type:"range",min:"3",max:"50",value:j,onChange:e=>{v(parseInt(e.target.value,10))},className:"h-2 w-full cursor-pointer appearance-none rounded-lg bg-gray-200 accent-primary-600 dark:bg-gray-700",style:{background:"linear-gradient(to right, #4F46E5 0%, #4F46E5 ".concat((j-3)/47*100,"%, #E5E7EB ").concat((j-3)/47*100,"%, #E5E7EB 100%)")}}),(0,a.jsxs)("div",{className:"mt-2 flex justify-between text-xs text-gray-500 dark:text-gray-400",children:[(0,a.jsx)("span",{children:"3"}),(0,a.jsx)("span",{children:"25"}),(0,a.jsx)("span",{children:"50"})]})]}),"individual"===r?(0,a.jsx)("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-3",children:y.map((t,r)=>(0,a.jsxs)("div",{className:"relative flex flex-col overflow-hidden rounded-2xl border border-gray-200 bg-white p-6 shadow-lg transition-all duration-300 hover:shadow-xl dark:border-gray-700 dark:bg-slate-800 ".concat("Professional"===t.title?"ring-2 ring-primary-500 dark:ring-primary-400":""),children:["Professional"===t.title&&(0,a.jsx)("div",{className:"absolute -right-12 top-6 rotate-45 bg-primary-500 px-12 py-1 text-xs font-semibold uppercase tracking-wider text-white",children:e("Popular")}),(0,a.jsxs)("div",{className:"flex-grow space-y-6",children:[(0,a.jsx)("h3",{className:"text-center text-2xl font-bold",children:e(t.title)}),(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("p",{className:"text-4xl font-extrabold text-gray-900 dark:text-white",children:e(t.price)}),(0,a.jsx)("p",{className:"mt-1 text-sm text-gray-500 dark:text-gray-400",children:e("One-time payment")})]}),(0,a.jsx)("p",{className:"text-center text-sm text-gray-600 dark:text-slate-400",children:e(t.description)}),(0,a.jsx)("ul",{className:"mb-8 space-y-4 pl-0",children:t.features.map((t,r)=>(0,a.jsxs)("li",{className:"flex items-center space-x-3",children:[(0,a.jsx)(s.Z,{className:"h-5 w-5 flex-shrink-0 text-primary-500"}),(0,a.jsx)("span",{className:"text-gray-700 dark:text-gray-300",children:e(t)})]},r))})]}),(0,a.jsx)("div",{className:"mt-6 text-center",children:(0,a.jsx)(f.Z,{onClick:()=>handleStripeProduct(t.priceID),variant:"Professional"===t.title?"primary":"outline",className:(0,m.Z)("w-full justify-center py-3 text-center transition-all duration-300","Professional"===t.title?"shadow-md hover:shadow-lg":""),children:e(t.buttonText)})})]},r))}):(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-2",children:[(0,a.jsxs)("div",{className:"rounded-2xl border border-primary-100 bg-gradient-to-br from-blue-50 to-white p-8 shadow-lg transition-all duration-300 dark:border-primary-900 dark:from-slate-800 dark:to-slate-900 md:col-span-2",children:[(0,a.jsxs)("div",{className:"mb-8 text-center",children:[(0,a.jsxs)("div",{className:"flex items-center justify-center",children:[(0,a.jsxs)("p",{className:"text-5xl font-extrabold text-primary-600 dark:text-primary-400",children:["$",_]}),S>0&&(0,a.jsxs)("span",{className:"ml-3 text-xl text-gray-500 line-through dark:text-gray-400",children:["$",G]}),(0,a.jsxs)("span",{className:(0,m.Z)("ml-3 rounded-full px-3 py-1 text-sm font-medium",S>0?"bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-300":"bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300"),children:[S,"% OFF"]})]}),(0,a.jsx)("p",{className:"mt-2 text-sm text-gray-600 dark:text-slate-400",children:S>0?e("$29 per member with ".concat(S,"% volume discount")):e("$29 per team member")}),(0,a.jsx)("p",{className:"mt-2 text-xs text-gray-500 dark:text-gray-400",children:e("Team size will be fixed at checkout")}),S>0&&(0,a.jsx)("p",{className:"mt-2 text-xs text-green-600 dark:text-green-400",children:e("Discount will be applied automatically")})]}),(0,a.jsx)(f.Z,{onClick:()=>handleStripeProduct(x.Hv[1],j),variant:"primary",className:(0,m.Z)("mx-auto block w-full justify-center py-4 text-center text-base shadow-md transition-all duration-300 hover:shadow-lg md:w-1/2"),children:e("Get Headshots for Your Team")})]}),(0,a.jsxs)("div",{className:"rounded-2xl border border-gray-200 bg-white p-8 shadow-lg transition-all duration-300 hover:shadow-xl dark:border-gray-700 dark:bg-slate-800",children:[(0,a.jsx)("h3",{className:"mb-6 text-center text-2xl font-bold text-primary-600 dark:text-primary-400",children:e("Your team gets:")}),(0,a.jsx)("ul",{className:"space-y-5",children:b.map((t,r)=>(0,a.jsxs)("li",{className:"flex items-start space-x-3",children:[(0,a.jsx)(s.Z,{className:"mt-0.5 h-6 w-6 flex-shrink-0 text-primary-500"}),(0,a.jsx)("span",{className:"text-base text-gray-700 dark:text-gray-300",children:e(t)})]},r))})]}),(0,a.jsxs)("div",{className:"rounded-2xl border border-gray-200 bg-white p-8 shadow-lg transition-all duration-300 hover:shadow-xl dark:border-gray-700 dark:bg-slate-800",children:[(0,a.jsx)("h3",{className:"mb-6 text-center text-2xl font-bold text-primary-600 dark:text-primary-400",children:e("Your team leader gets:")}),(0,a.jsx)("ul",{className:"space-y-5",children:T.map((t,r)=>(0,a.jsxs)("li",{className:"flex items-start space-x-3",children:[(0,a.jsx)(s.Z,{className:"mt-0.5 h-6 w-6 flex-shrink-0 text-primary-500"}),(0,a.jsx)("span",{className:"text-base text-gray-700 dark:text-gray-300",children:e(t)})]},r))})]})]})]}),(0,a.jsxs)("div",{className:"mx-auto w-full max-w-6xl space-y-8 p-8 dark:text-slate-200 sm:rounded-lg",children:[(0,a.jsx)("h3",{className:"mb-8 text-center text-2xl font-bold",children:e("What our customers say")}),(0,a.jsx)("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-3",children:w.map((t,r)=>(0,a.jsxs)("div",{className:"flex flex-col items-center rounded-2xl bg-white p-6 shadow-lg transition-all duration-300 hover:shadow-xl dark:bg-slate-800",children:[(0,a.jsx)(n(),{src:t.image,alt:t.name,width:100,height:100,className:"rounded-full object-cover ring-2 ring-primary-100 dark:ring-primary-900"}),(0,a.jsxs)("div",{className:"mt-4 flex flex-col items-center text-center",children:[(0,a.jsx)("div",{className:"mb-3 flex justify-center",children:[...Array(t.stars)].map((e,t)=>(0,a.jsx)("svg",{className:"h-5 w-5 text-yellow-400",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})},t))}),(0,a.jsx)("p",{className:"italic text-gray-700 dark:text-gray-300",children:e(t.quote)}),(0,a.jsx)("p",{className:"mt-4 font-bold",children:e(t.name)}),(0,a.jsx)("p",{className:"text-sm text-gray-600 dark:text-slate-400",children:e(t.title)})]})]},r))})]})]})})})}let y=[{title:"Basic",price:"$19",description:"Perfect for individuals looking to enhance their online presence.",features:["3 hours turnaround time","60 headshots","6 unique styles"],buttonText:"Get 60 Headshots in 3 Hours",bgColor:"bg-white dark:bg-slate-700",priceID:x.Hv[0]},{title:"Professional",price:"$29",description:"Ideal for professionals requiring frequent updates to their profiles.",features:["2 hours turnaround time","100 headshots","15 unique styles"],buttonText:"Get 150 Headshots in 2 Hours",bgColor:"bg-blue-50 dark:bg-slate-800",badge:"100% Money Back Guarantee",priceID:x.Hv[1]},{title:"Executive",price:"$49",description:"The best value with unlimited possibilities.",features:["1 hour turnaround time","180 headshots","25 unique styles"],buttonText:"Get 250 Headshots in 1 Hour",bgColor:"bg-white dark:bg-slate-700",priceID:x.Hv[2]}],b=["180 photos to choose from","25 unique styles","HD high quality","Get it done right from home"],T=["Save up to 10x","Onboard new hires easily","Easy to use admin dashboard","Coordinate from one simple app","Done in 1 hour instead of weeks"],w=[{name:"Dawid Makowski",title:"CTO, Co-Founder at Careera",quote:"The AI headshots generated were incredibly realistic and professional. Highly recommend it—you'll look better than your mirror ever told you.",image:"/images/headshots/testimonial/dawid.jpeg",stars:5},{name:"Sylvia Chen",title:"Founder",quote:"The AI-generated headshots exceeded my expectations. The quality and realism are outstanding.",image:"/images/headshots/testimonial/sylvia.png",stars:4},{name:"Georgi Chelev",title:"CTO & Partner at RaceFacer.com",quote:"The results blew me away. The variety of styles and the quick turnaround time make this service invaluable for professionals.",image:"/images/headshots/testimonial/georgi.jpeg",stars:5}]},3614:function(e,t,r){r.d(t,{Bc:function(){return m},De:function(){return a},EX:function(){return h},HA:function(){return d},Hv:function(){return n},Ki:function(){return c},Uy:function(){return u},Y:function(){return s},eu:function(){return i},ho:function(){return y},ht:function(){return x},no:function(){return g},ns:function(){return p},oZ:function(){return o},rp:function(){return f},yL:function(){return l}});let a="price_1LnfByLgxGi7JA3GC49GOkRJ",s=!1,i="price_1PuywMLgxGi7JA3G9F9qxCNr",n=["price_1PqFiwLgxGi7JA3GBGrtEczG","price_1PqFjlLgxGi7JA3GyHjJraPV","price_1PqFjvLgxGi7JA3GqkIXCg96"],o=["prod_QHeRbUODph0Qnk","prod_PfsXrSTNjfI9RO","prod_OlgfpT7JJNOYtw","prod_MakjxDVwGdvoVK","prod_NtlgdYiAMxIUwD","prod_QskSrexOhYVHhJ","prod_OqT3UM05zlYR3V"],l=["prod_MakjxDVwGdvoVK","prod_OlgfpT7JJNOYtw","prod_NtlgdYiAMxIUwD","prod_QskSrexOhYVHhJ","prod_OqT3UM05zlYR3V","prod_PVWIKnwi4YRVgm","prod_PVVOGLWwc2Ih7r","prod_PfsXrSTNjfI9RO"],d=["free_tts","prod_PgMnD7wruz8aUW","prod_PgXHUmzjdFmuDS","prod_Po6rCp6CXcKJJW"],c=!0,m=!1,x="price_1MJ5PpLgxGi7JA3GO8um3Nux",u="price_1MwNj4LgxGi7JA3GSJ7L0NDp",p=3,h={"Starter TTS":5e4,"TTS 250":25e4,"Pro TTS":6e4,"TTS Basic":3e4,"TTS Starter":6e4,Enterprise:3e4,Teams:3e4,"Teams 5 seats":3e4,"Teams 6 seats":3e4,"Teams 10 seats":3e4,"Teams 20 seats":3e4,"Teams 40 seats":3e4,"Teams 200":7e4,"Teams 300":1e5,"Unlimited 50":2e4,Unlimited:3e4,"Unlimited 200":6e4,"Unlimited 500":2e5,"Unlimited 1000":4e5,"Unlimited GPT-3.5":1e4,"Unlimited GPT4":2e4,Pro:2e4,"Pro 200":2e4,"Pro 300":3e4,"Pro 400":1e4,"Pro 500":5e4,"Pro 1000":1e5,"Pro Test":25e3,Starter:1e4,Basic:2500,Free:100,"TTS Free":1e3,AppSumo:15e3,"Lifetime Pro":1e4,"Lifetime Pro 150":15e3,"Lifetime Pro 200":2e4,"Lifetime Pro 400":4e4,"Lifetime Starter":2e4},g={TIER_1:{credits:100,priceId:"price_1NStM4LgxGi7JA3Gof1W01xm",price:8},TIER_2:{credits:500,priceId:"price_1QqwmxLgxGi7JA3GHMRLiT1b",price:28},TIER_3:{credits:1e3,priceId:"price_1Qqwp1LgxGi7JA3GQH4DFPiV",price:48}},f={Free:4e5,"Unlimited GPT-3.5":5e6,"Unlimited 50":5e6,Unlimited:1e7,"Unlimited 200":8e6,"Unlimited 500":2e7,"Unlimited 1000":4e7,"Starter TTS":4e5,"TTS 250":4e5,"Pro TTS":4e5,"TTS Basic":4e5,"TTS Starter":4e5,Enterprise:1e8,Teams:8e6,"Teams 5 seats":8e6,"Teams 6 seats":8e6,"Teams 10 seats":1e7,"Teams 20 seats":2e7,"Teams 40 seats":4e7,"Teams 200":2e7,"Teams 300":3e7,"Unlimited GPT4":4e7,Pro:4e6,"Pro 200":8e6,"Pro 300":12e6,"Pro 400":16e6,"Pro 500":2e7,"Pro 1000":4e7,"Pro Test":1e6,Starter:5e6,Basic:4e5,"TTS Free":4e5,AppSumo:1e6,"Lifetime Pro":4e6,"Lifetime Pro 150":6e6,"Lifetime Pro 200":8e6,"Lifetime Pro 400":16e6,"Lifetime Starter":1e6},y={Free:0,"Unlimited GPT-3.5":1,"Unlimited 50":2,Unlimited:3,"Unlimited 200":5,"Unlimited 500":10,"Unlimited 1000":20,"Starter TTS":0,"TTS 250":0,"Pro TTS":0,"TTS Basic":0,"TTS Starter":0,Enterprise:7,Teams:3,"Teams 5 seats":3,"Teams 6 seats":3,"Teams 10 seats":3,"Teams 20 seats":5,"Teams 40 seats":10,"Teams 200":5,"Teams 300":10,"Unlimited GPT4":20,Pro:3,"Pro 200":5,"Pro 300":5,"Pro 400":10,"Pro 500":10,"Pro 1000":20,"Pro Test":1,Starter:1,Basic:0,"TTS Free":0,AppSumo:1,"Lifetime Pro":3,"Lifetime Pro 150":3,"Lifetime Pro 200":5,"Lifetime Pro 400":10,"Lifetime Starter":1}},98399:function(e,t,r){r.d(t,{qC:function(){return postData}});var a=r(58872);r(40402);let postData=async e=>{let{url:t,token:r,data:s={price:"",isUpgrade:!1,flow_data_type:""}}=e;console.log("posting,",t,r,s);let i=await a.ZP.post(t,JSON.stringify(s));if(!i.data)throw console.log("Error in postData",{url:t,token:r,data:s,res:i}),Error(i.statusText);return i.data}},58872:function(e,t,r){r.d(t,{be:function(){return i}});var a=r(40274),s=r(72761);let i=a.Z.create({headers:{"Content-Type":"application/json"}});i.interceptors.response.use(function(e){return e},function(e){var t,r;return e.response&&e.response.request&&e.response.request.responseURL&&(e.response.request.responseURL.includes("/api/generate")||e.response.request.responseURL.includes("/api/room-gpt"))||((null==e?void 0:null===(r=e.response)||void 0===r?void 0:null===(t=r.data)||void 0===t?void 0:t.error)&&e.response.data.error?s.Am.error(e.response.data.error):s.Am.error("Something went wrong. Please try again later. If the error persists please contact us at support@easy-peasy.ai or via chat.")),Promise.reject(e)}),t.ZP=i},17004:function(e,t,r){let a;r.d(t,{d:function(){return getStripe}});var s=r(79535),i=r(40402);let getStripe=()=>{if(!a){var e,t;a=(0,s.J)(null!==(t=null!==(e=i.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY_LIVE)&&void 0!==e?e:"pk_live_51LmbxaLgxGi7JA3GIN9d58frgNKKcwWKYZkQIxdAMFNPtjQnV8i9i9p3ptDGuhx44M2Dudnrm7ZjYbKFQdehuLCj00OHLQyu09")&&void 0!==t?t:"")}return a}}}]);