1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,32189,(e,t,r)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},65156,(e,t,r)=>{"use strict";var n=e.r(32189);function a(){}function s(){}s.resetWarningCache=a,t.exports=function(){function e(e,t,r,a,s,i){if(i!==n){var o=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:a};return r.PropTypes=r,r}},45009,(e,t,r)=>{t.exports=e.r(65156)()},56195,e=>{"use strict";var t=e.i(43476);e.i(94056);var r=e.i(6073),n=e.i(28129),a=e.i(69255),s=e.i(38558);let i=[{icon:"/pricing/daily-publishing.svg",title:"Daily publishing",description:"A new post is created every morning. Approve it, tweak it, or auto-publish it."},{icon:"/pricing/keyword-research.svg",title:"Keyword research",description:"Soro finds what your buyers are searching for - and knows what to write about."},{icon:"/pricing/google-ai-optimization.svg",title:"Google + AI optimization",description:"Every post gets a 100/100 score, so it's built to rank on Google and show up in ChatGPT."},{icon:"/pricing/website.svg",title:"Works with your website",description:"Connect your website once and publish without copy/paste (WordPress, Shopify, and more)."}];function o(){let[e,r]=(0,s.useScrollReveal)();return(0,t.jsx)("div",{ref:e,className:`max-w-[720px] mx-auto px-2 mb-8 md:mb-16 transition-all duration-1000 ease-out ${r?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:(0,t.jsxs)("div",{className:"rounded-3xl bg-white shadow-sm overflow-hidden",children:[(0,t.jsxs)("div",{className:"relative overflow-hidden",children:[(0,t.jsx)("video",{className:"absolute -right-[8px] top-0 bottom-0 w-full md:w-1/2 h-full object-contain object-right",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:(0,t.jsx)("source",{src:"/pricing/hero.webm",type:"video/webm"})}),(0,t.jsx)("div",{className:"absolute right-0 top-0 bottom-0 w-full md:w-1/2 bg-gradient-to-b from-transparent via-transparent to-white pointer-events-none"}),(0,t.jsx)("div",{className:"relative z-10 p-6 md:p-10",children:(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsx)("img",{src:"/logo.svg",alt:"Soro",className:"w-[100px] h-auto"}),(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)("p",{className:"font-normal text-[#777]",children:"Starting from"}),(0,t.jsx)("h3",{children:"$39/mo"})]})]})})]}),(0,t.jsx)("div",{className:"border-t-1 border-dashed border-[#E5E5E7] mx-6 md:mx-10"}),(0,t.jsx)("div",{className:"p-6 md:p-10",children:(0,t.jsx)("div",{className:"space-y-8",children:i.map((e,r)=>(0,t.jsxs)("div",{className:"flex gap-4 items-start",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-10 h-10 bg-[#F4F4F5] rounded-xl flex items-center justify-center",children:(0,t.jsx)("img",{src:e.icon,alt:"",className:"w-6 h-6"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"text-2xl md:text-3xl font-semibold mb-1",children:e.title}),(0,t.jsx)("p",{className:"text-[#777] text-lg leading-relaxed",children:e.description})]})]},r))})})]})})}var l=e.i(71645);let c=[{title:"Set up in 3 minutes",description:"Drop your website URL. Soro studies your site, then gives you a plan to win.",video:"/pricing/included/setup-cropped.webm"},{title:"Daily long-form articles",description:"Publish helpful posts that cover the topic better than what's ranking now.",video:"/pricing/included/articles-cropped.webm"},{title:"50+ different languages",description:"Reach more customers by publishing in 50+ languages - no translators needed.",video:"/pricing/included/languages-cropped.webm"},{title:"Content calendar",description:"Get a ready-to-go content planned in seconds. Soro follows it every day.",video:"/pricing/included/content-calendar-cropped.webm"}];
1function d(){let[e,r]=(0,s.useScrollReveal)(),[n,a]=(0,s.useScrollReveal)(),[i,o]=(0,l.useState)(1),[d,u]=(0,l.useState)(!1),[p,m]=(0,l.useState)(!1),[h,f]=(0,l.useState)(!1),x=(0,l.useRef)(null),y=(0,l.useRef)(0),g=(0,l.useRef)(0),b=(0,l.useRef)(null);(0,l.useEffect)(()=>{let e=()=>{m(window.innerWidth<768)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let v=[c[c.length-1],...c,c[0]];(0,l.useEffect)(()=>{if(!d)return x.current=setInterval(()=>{f(!0),o(e=>e+1)},5e3),()=>{x.current&&clearInterval(x.current)}},[d]);let j=()=>{u(!0),x.current&&clearInterval(x.current),f(!0),o(e=>e-1)},w=()=>{u(!0),x.current&&clearInterval(x.current),f(!0),o(e=>e+1)};return(0,t.jsxs)("section",{className:"max-w-[720px] mx-auto px-6",children:[(0,t.jsxs)("div",{className:"mb-8",children:[(0,t.jsx)("h3",{ref:e,className:`mb-2 transition-all duration-1000 ease-out ${r?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:"Included with Soro"}),(0,t.jsx)("p",{className:"text-[#777] text-lg",children:'Everything you need to go from "0 traffic" to Top 1 on Google and ChatGPT.'})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 mb-6",children:[(0,t.jsx)("button",{onClick:j,className:"bg-neutral-100 rounded-full p-2.5 transition-all duration-200 hover:bg-neutral-200","aria-label":"Previous feature",children:(0,t.jsx)("svg",{className:"w-6 h-6 text-gray-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,t.jsx)("button",{onClick:w,className:"bg-neutral-100 rounded-full p-2.5 transition-all duration-200 hover:bg-neutral-200","aria-label":"Next feature",children:(0,t.jsx)("svg",{className:"w-6 h-6 text-gray-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})]}),(0,t.jsx)("div",{ref:n,className:`relative transition-all duration-1000 ease-out delay-200 ${a?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:(0,t.jsx)("div",{className:"overflow-x-hidden overflow-y-visible",children:(0,t.jsx)("div",{ref:b,className:`flex ${h?"transition-transform duration-700 ease-out":""}`,style:{transform:p?`translateX(-${286*i}px)`:`translateX(-${364*i}px)`},onTransitionEnd:()=>{f(!1),0===i?o(c.length):i===v.length-1&&o(1)},onTouchStart:e=>{y.current=e.touches[0].clientX},onTouchMove:e=>{g.current=e.touches[0].clientX},onTouchEnd:()=>{if(0===y.current||0===g.current)return;let e=y.current-g.current;Math.abs(e)>50&&(e>0?w():j()),y.current=0,g.current=0},children:v.map((e,r)=>(0,t.jsx)("div",{className:"min-w-[270px] md:min-w-[340px] mr-4 md:mr-6",children:(0,t.jsx)("div",{className:"max-w-[270px] md:max-w-[270px]",children:(0,t.jsxs)("div",{className:"flex flex-col gap-6 items-start",children:[(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)("video",{src:e.video,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"w-full rounded-xl",style:{border:"1px solid #E5E7EB"}})}),(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("h4",{className:"text-2xl md:text-3xl font-semibold mb-3",children:e.title}),(0,t.jsx)("p",{className:"text-[#777] text-lg leading-relaxed",children:e.description})]})]})})},r))})})})]})}var u=e.i(57688);function p(){let[e,r]=(0,s.useScrollReveal)();return(0,t.jsx)("section",{ref:e,className:`max-w-[720px] mx-auto px-4 transition-all duration-1000 ease-out ${r?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:(0,t.jsx)("div",{className:"relative overflow-hidden rounded-3xl p-6 md:p-12 bg-white",style:{border:"2px solid transparent",backgroundImage:"linear-gradient(white, white), linear-gradient(135deg, #3B82F6, #8B5CF6, #EC4899)",backgroundOrigin:"border-box",backgroundClip:"padding-box, border-box"},children:(0,t.jsxs)("div",{className:"relative z-10 flex items-center justify-between",children:[(0,t.jsx)("div",{className:"max-w-[260px]",children:(0,t.jsxs)("h3",{className:"!text-2xl md:!text-3xl font-bold mb-0 leading-tight",children:[(0,t.jsxs)("span",{className:"bg-gradient-to-r from-blue-500 via-purple-500 to-pink-500 bg-clip-text text-transparent",children:["Powered by the latest AI,"," "]}),(0,t.jsx)("span",{className:"text-black",children:"that grows your traffic while you sleep."})]})}),(0,t.jsx)("div",{className:"block absolute -right-[76px] w-[120px] h-[120px] md:right-0 md:w-[180px] md:h-[180px] pointer-events-none",children:(0,t.jsx)(u.default,{src:"/pricing/sparkled.webp",alt:"Cube illustration",width:600,height:400,className:"object-contain"})})]})})})}let m=[{icon:"/pricing/customizable-brand.svg",title:"Customizable brand",description:"Set up your brand once. Every post will sound like you."},{icon:"/pricing/trained.svg",title:"Trained on 100,000+ unique content that ranks",description:"Built on the newest patterns from content that already performs, so your posts follow what works."},{icon:"/pricing/powered-by.svg",title:"Powered by the most powerful AI models",description:"Powered by Claude, ChatGPT and Gemini, clean writing, and strong structure."}];
1function h(){let[e,r]=(0,s.useScrollReveal)();return(0,t.jsxs)("div",{ref:e,className:`max-w-[720px] mx-auto px-6 transition-all duration-1000 ease-out ${r?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:[(0,t.jsx)("h3",{className:"mb-8",children:"You're also getting"}),(0,t.jsx)("div",{className:"space-y-8",children:m.map((e,r)=>(0,t.jsxs)("div",{className:"flex gap-4 items-start",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-10 h-10 bg-[#F4F4F5] rounded-xl flex items-center justify-center",children:(0,t.jsx)("img",{src:e.icon,alt:"",className:"w-6 h-6"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"text-2xl md:text-3xl font-semibold mb-1",children:e.title}),(0,t.jsx)("p",{className:"text-[#777] text-lg leading-relaxed",children:e.description})]})]},r))})]})}let f=[{icon:"/pricing/priority-support.svg",title:"24/7 priority support",description:"Fast help with setup and publishing whenever you need it."},{icon:"/pricing/money-back-guarantee.svg",title:"Money-back guarantee",description:"Try it risk-free. If it's not for you, request a refund within 14 days."},{icon:"/pricing/secure-checkout.svg",title:"Secure checkout",description:"256-bit encrypted checkout with Stripe."}];function x(){let[e,r]=(0,s.useScrollReveal)();return(0,t.jsxs)("div",{ref:e,className:`max-w-[720px] mx-auto px-6 transition-all duration-1000 ease-out ${r?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:[(0,t.jsx)("h3",{className:"mb-8",children:"Buying with Soro"}),(0,t.jsx)("div",{className:"space-y-8",children:f.map((e,r)=>(0,t.jsxs)("div",{className:"flex gap-4 items-start",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-10 h-10 bg-[#F4F4F5] rounded-xl flex items-center justify-center",children:(0,t.jsx)("img",{src:e.icon,alt:"",className:"w-6 h-6"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"text-2xl md:text-3xl font-semibold mb-1",children:e.title}),(0,t.jsx)("p",{className:"text-[#777] text-lg leading-relaxed",children:e.description})]})]},r))})]})}let y=[{title:"Image generation",description:"Adds visuals (and optional video embeds) to keep readers engaged.",video:"/pricing/also-included/images-cropped.webm"},{title:"Auto research",description:"Before writing, Soro checks what's ranking for your business and builds a stronger outline.",video:"/pricing/also-included/research-cropped.webm"},{title:"Auto promotion",description:"Mentions your business naturally, so posts can bring sales - not just views.",video:"/pricing/also-included/promotion-cropped.webm"},{title:"Auto linking",description:"Soro adds internal and external links to strengthen relevance and trust.",video:"/pricing/also-included/linking-cropped.webm"}];function g(){let[e,r]=(0,s.useScrollReveal)(),[n,a]=(0,s.useScrollReveal)(),[i,o]=(0,l.useState)(1),[c,d]=(0,l.useState)(!1),[u,p]=(0,l.useState)(!1),[m,h]=(0,l.useState)(!1),f=(0,l.useRef)(null),x=(0,l.useRef)(0),g=(0,l.useRef)(0),b=(0,l.useRef)(null);(0,l.useEffect)(()=>{let e=()=>{p(window.innerWidth<768)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let v=[y[y.length-1],...y,y[0]];(0,l.useEffect)(()=>{if(!c)return f.current=setInterval(()=>{h(!0),o(e=>e+1)},5e3),()=>{f.current&&clearInterval(f.current)}},[c]);let j=()=>{d(!0),f.current&&clearInterval(f.current),h(!0),o(e=>e-1)},w=()=>{d(!0),f.current&&clearInterval(f.current),h(!0),o(e=>e+1)};return(0,t.jsxs)("section",{className:"max-w-[720px] mx-auto px-6",children:[(0,t.jsx)("div",{className:"mb-8",children:(0,t.jsx)("h3",{ref:e,className:`mb-2 transition-all duration-1000 ease-out ${r?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:"Also included with Soro"})}),(0,t.jsxs)("div",{className:"flex items-center gap-2 mb-6",children:[(0,t.jsx)("button",{onClick:j,className:"bg-neutral-100 rounded-full p-2.5 transition-all duration-200 hover:bg-neutral-200","aria-label":"Previous feature",children:(0,t.jsx)("svg",{className:"w-6 h-6 text-gray-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,t.jsx)("button",{onClick:w,className:"bg-neutral-100 rounded-full p-2.5 transition-all duration-200 hover:bg-neutral-200","aria-label":"Next feature",children:(0,t.jsx)("svg",{className:"w-6 h-6 text-gray-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})]}),(0,t.jsx)("div",{ref:n,className:`relative transition-all duration-1000 ease-out delay-200 ${a?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:(0,t.jsx)("div",{className:"overflow-x-hidden overflow-y-visible",children:(0,t.jsx)("div",{ref:b,className:`flex ${m?"transition-transform duration-700 ease-out":""}`,style:{transform:u?`translateX(-${286*i}px)`:`translateX(-${364*i}px)`},onTransitionEnd:()=>{h(!1),0===i?o(y.length):i===v.length-1&&o(1)},onTouchStart:e=>{x.current=e.touches[0].clientX},onTouchMove:e=>{g.current=e.touches[0].clientX},onTouchEnd:()=>
1{if(0===x.current||0===g.current)return;let e=x.current-g.current;Math.abs(e)>50&&(e>0?w():j()),x.current=0,g.current=0},children:v.map((e,r)=>(0,t.jsx)("div",{className:"min-w-[270px] md:min-w-[340px] mr-4 md:mr-6",children:(0,t.jsx)("div",{className:"max-w-[270px] md:max-w-[270px]",children:(0,t.jsxs)("div",{className:"flex flex-col gap-6 items-start",children:[(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)("video",{src:e.video,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"w-full rounded-xl",style:{border:"1px solid #E5E7EB"}})}),(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("h4",{className:"text-2xl md:text-3xl font-semibold mb-3",children:e.title}),(0,t.jsx)("p",{className:"text-[#777] text-lg leading-relaxed",children:e.description})]})]})})},r))})})})]})}function b(){let[e,r]=(0,s.useScrollReveal)();return(0,t.jsx)("div",{ref:e,className:`max-w-[480px] lg:max-w-[1200px] mx-auto px-4 transition-all duration-1000 ease-out ${r?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsx)("div",{className:"bg-white rounded-3xl border border-[#E5E5E7] overflow-hidden",children:(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row",children:[(0,t.jsxs)("div",{className:"p-8 md:p-10 lg:w-1/2",children:[(0,t.jsx)("p",{className:"text-[#00B67A] font-medium mb-4",children:"Rated Excellent"}),(0,t.jsx)("h3",{className:"text-3xl md:text-4xl font-bold mb-4",children:"Trusted by business owners"}),(0,t.jsx)("p",{className:"text-[#777] text-lg leading-relaxed",children:"Thousands of entrepreneurs use Soro to publish consistent SEO content and grow their traffic."})]}),(0,t.jsx)("div",{className:"border-t lg:border-t-0 lg:border-l border-[#E5E5E7]"}),(0,t.jsxs)("div",{className:"bg-[#F0FDF4] p-8 md:p-10 lg:w-1/2 flex flex-col justify-center",children:[(0,t.jsx)("p",{className:"text-lg mb-2",children:'"Setup took minutes. Now my site posts every day and I finally stay consistent."'}),(0,t.jsx)("p",{className:"text-[#777]",children:"- Steve Smith, US"})]})]})}),(0,t.jsx)("div",{className:"bg-white rounded-3xl border border-[#E5E5E7] overflow-hidden",children:(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row",children:[(0,t.jsxs)("div",{className:"p-8 md:p-10 lg:w-1/2",children:[(0,t.jsx)("p",{className:"text-[#FF8C00] font-medium mb-4",children:"Backed by a money-back guarantee"}),(0,t.jsx)("h3",{className:"text-3xl md:text-4xl font-bold mb-4",children:"Try Soro risk-free"}),(0,t.jsx)("p",{className:"text-[#777] text-lg leading-relaxed",children:"Test Soro on your site. If it's not for you, request a refund within 14 days and you're covered."})]}),(0,t.jsx)("div",{className:"border-t lg:border-t-0 lg:border-l border-[#E5E5E7]"}),(0,t.jsxs)("div",{className:"bg-[#FFF8F0] p-8 md:p-10 lg:w-1/2 flex flex-col justify-center",children:[(0,t.jsx)("p",{className:"text-lg mb-2",children:'"I didn\'t expect it to be this simple. The daily posting alone made it worth it."'}),(0,t.jsx)("p",{className:"text-[#777] mb-6",children:"- Miranda Morales, US"}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("img",{src:"/pricing/money-back.webp",alt:"14-day money-back guarantee",className:"w-16 h-16"}),(0,t.jsx)("p",{className:"text-[#FF8C00] font-medium",children:"14-day money-back guarantee"})]})]})]})}),(0,t.jsx)("div",{className:"bg-white rounded-3xl border border-[#E5E5E7] overflow-hidden",children:(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row",children:[(0,t.jsxs)("div",{className:"p-8 md:p-10 lg:w-1/2 flex flex-col justify-center",children:[(0,t.jsx)("p",{className:"text-[#8B5CF6] font-medium mb-4",children:"Available anytime"}),(0,t.jsx)("h3",{className:"text-3xl md:text-4xl font-bold mb-4",children:"24/7 customer support"}),(0,t.jsx)("p",{className:"text-[#777] text-lg leading-relaxed",children:"Get fast help with setup, integrations, and publishing - so you're never stuck waiting to move forward."})]}),(0,t.jsx)("div",{className:"lg:border-l border-[#E5E5E7]"}),(0,t.jsx)("div",{className:"lg:w-1/2 flex items-end",children:(0,t.jsx)("img",{src:"/pricing/soro-support.webp",alt:"Soro support team",className:"w-full h-auto"})})]})})]})})}function v(){return(0,t.jsx)("section",{className:"relative -mt-12 md:-mt-24",children:(0,t.jsx)("div",{className:"relative w-full",children:(0,t.jsx)("video",{autoPlay:!0,loop:!0,muted:!0,playsInl
1ine:!0,className:"w-full h-auto",poster:"/footer.webp",children:(0,t.jsx)("source",{src:"/footer.webm",type:"video/webm"})})})})}var j=e.i(73098);function w(){if("undefined"==typeof document)return;let e=document.cookie.split(";").map(e=>e.trim()).find(e=>e.startsWith("trakdesk_cid="));if(e)return e.slice(13)||void 0}e.i(47167);var N=e.i(45009);function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?k(Object(r),!0).forEach(function(t){P(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function E(e){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,a=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=a){var s=[],i=!0,o=!1;try{for(a=a.call(e);!(i=(r=a.next()).done)&&(s.push(r.value),!t||s.length!==t);i=!0);}catch(e){o=!0,n=e}finally{try{i||null==a.return||a.return()}finally{if(o)throw n}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return _(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var O=function(e,t,r){var n=!!r,a=l.default.useRef(r);l.default.useEffect(function(){a.current=r},[r]),l.default.useEffect(function(){if(!n||!e)return function(){};var r=function(){a.current&&a.current.apply(a,arguments)};return e.on(t,r),function(){e.off(t,r)}},[n,t,e,a])},T=function(e){var t=l.default.useRef(e);return l.default.useEffect(function(){t.current=e},[e]),t.current},A=function(e){return null!==e&&"object"===E(e)},M="[object Object]",I=function e(t,r){if(!A(t)||!A(r))return t===r;var n=Array.isArray(t);if(n!==Array.isArray(r))return!1;var a=Object.prototype.toString.call(t)===M;if(a!==(Object.prototype.toString.call(r)===M))return!1;if(!a&&!n)return t===r;var s=Object.keys(t),i=Object.keys(r);if(s.length!==i.length)return!1;for(var o={},l=0;l<s.length;l+=1)o[s[l]]=!0;for(var c=0;c<i.length;c+=1)o[i[c]]=!0;var d=Object.keys(o);return d.length===s.length&&d.every(function(n){return e(t[n],r[n])})},F=function(e,t,r){return A(e)?Object.keys(e).reduce(function(n,a){var s=!A(t)||!I(e[a],t[a]);return r.includes(a)?(s&&console.warn("Unsupported prop change: options.".concat(a," is not a mutable property.")),n):s?S(S({},n||{}),{},P({},a,e[a])):n},null):null},R="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R;if(null===e||A(e)&&"function"==typeof e.elements&&"function"==typeof e.createToken&&"function"==typeof e.createPaymentMethod&&"function"==typeof e.confirmCardPayment)return e;throw Error(t)},B=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R;if(A(e)&&"function"==typeof e.then)return{tag:"async",stripePromise:Promise.resolve(e).then(function(e){return L(e,t)})};var r=L(e,t);return null===r?{tag:"empty"}:{tag:"sync",stripe:r}},$=function(e){e&&e._registerWrapper&&e.registerAppInfo&&(e._registerWrapper({name:"react-stripe-js",version:"5.4.1"}),e.registerAppInfo({name:"react-stripe-js",version:"5.4.1",url:"https://stripe.com/docs/stripe-js/react"}))},z=l.default.createContext(null);z.displayName="ElementsContext";var D=function(e,t){if(!e)throw Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},U=function(e){var t=e.stripe,r=e.options,n=e.children,a=l.default.useMemo(function(){return B(t)},[t]),s=C(l.default.useState(function(){return{stripe:"sync"===a.tag?a.stripe:null,elements:"sync"===a.tag?a.stripe.elements(r):null}}),2),i=s[0],o=s[1];l.default.useEffect(function(){var e=!0,t=function(e){o(function(t){return t.stripe?t:{stripe:e,elements:e.elements(r)}})};return"async"!==a.tag||i.stripe?"sync"!==a.tag||i.stripe||t(a.stripe):a.stripePromise.then(function(r){r&&e&&t(r)}),function(){e=!1}},[a,i,r]);var c=T(t);l.default.useEffect(function(){null!==c&&c!==t&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[c,t]);var d=T(r);return l.default.useEffect(function(){if(i.elements){var e=F(r,d,["clientSecret","fonts"]);e&&i.elements.update(e)}},[r,d,i.elements]),l.default.useEffect(function(){$(i.stripe)},[i.stripe]),l.default.createElement(z.Provider,{value:i},n)};U.propTypes={stripe:N.default.any,options:N.default.object};N.default.func.isRequired;var q=l.default.createContext(null);q.displayName="CheckoutContext",N.default.any,N.default.shape({clientSecret:N.default.oneOfType([N.default.string,N.default.instanceOf(Promise)]).isRequired,elementsOptions:N.default.object}).isRequired;var W=function(e){var t=l.default.useContext(q),r=l.default.useContext(z);if(!t)return D(r,e);if(!r)return t;throw Error("You cannot wrap the part of your app that ".concat(e," in both <CheckoutProvider> and <Elements> providers."))},Y=["mode"],G=function(e,t){var r="".concat(e.charAt(0).toUpperCase()+e.slice(1),"Element"),n=t?function(e){W("mounts <".concat(r,">"));var t=e.id,n=e.className;return l.default.createElement("div",{id:t,className:n})}:function(t){var n,a=t.id,s=t.className,i=t.options,o=void 0===i?{}:i,c=t.onBlur,d=t.onFocus,u=t.onReady,p=t.onChange,m=t.onEscape,h=t.onClick,f=t.onLoadError,x=t.onLoaderStart,y=t.onNetworksChange,g=t.onConfirm,b=t.onCancel,v=t.onShippingAddressChange,j=t.onShippingRateChange,w=t.onSavedPaymentMethodRemove,N=t.onSavedPaymentMethodUpdate,k=W("mounts <".concat(r,">")),S="elements"in k?k.elements:null,E="checkoutState"in k?k.checkoutState:null,P=(null==E?void 0:E.type)==="success"||(null==E?void 0:E.type)==="loading"?E.sdk:null,_=C(l.default.useState(null),2),A=_[0],M=_[1],I=l.default.useRef(null),R=l.default.useRef(null);O(A,"blur",c),O(A,"focus",d),O(A,"escape",m),O(A,"click",h),O(A,"loaderror",f),O(A,"loaderstart",x),O(A,"networksch
1ange",y),O(A,"confirm",g),O(A,"cancel",b),O(A,"shippingaddresschange",v),O(A,"shippingratechange",j),O(A,"savedpaymentmethodremove",w),O(A,"savedpaymentmethodupdate",N),O(A,"change",p),u&&(n="expressCheckout"===e?u:function(){u(A)}),O(A,"ready",n),l.default.useLayoutEffect(function(){if(null===I.current&&null!==R.current&&(S||P)){var t=null;if(P)switch(e){case"paymentForm":t=P.createPaymentFormElement();break;case"payment":t=P.createPaymentElement(o);break;case"address":if("mode"in o){var n=o.mode,a=function(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}(o,Y);if("shipping"===n)t=P.createShippingAddressElement(a);else if("billing"===n)t=P.createBillingAddressElement(a);else throw Error("Invalid options.mode. mode must be 'billing' or 'shipping'.")}else throw Error("You must supply options.mode. mode must be 'billing' or 'shipping'.");break;case"expressCheckout":t=P.createExpressCheckoutElement(o);break;case"currencySelector":t=P.createCurrencySelectorElement();break;case"taxId":t=P.createTaxIdElement(o);break;default:throw Error("Invalid Element type ".concat(r,". You must use either the <PaymentElement />, <AddressElement options={{mode: 'shipping'}} />, <AddressElement options={{mode: 'billing'}} />, or <ExpressCheckoutElement />."))}else S&&(t=S.create(e,o));I.current=t,M(t),t&&t.mount(R.current)}},[S,P,o]);var L=T(o);return l.default.useEffect(function(){if(I.current){var e=F(o,L,["paymentRequest"]);e&&"update"in I.current&&I.current.update(e)}},[o,L]),l.default.useLayoutEffect(function(){return function(){if(I.current&&"function"==typeof I.current.destroy)try{I.current.destroy(),I.current=null}catch(e){}}},[]),l.default.createElement("div",{id:a,className:s,ref:R})};return n.propTypes={id:N.default.string,className:N.default.string,onChange:N.default.func,onBlur:N.default.func,onFocus:N.default.func,onReady:N.default.func,onEscape:N.default.func,onClick:N.default.func,onLoadError:N.default.func,onLoaderStart:N.default.func,onNetworksChange:N.default.func,onConfirm:N.default.func,onCancel:N.default.func,onShippingAddressChange:N.default.func,onShippingRateChange:N.default.func,onSavedPaymentMethodRemove:N.default.func,onSavedPaymentMethodUpdate:N.default.func,options:N.default.object},n.displayName=r,n.__elementType=e,n},X="undefined"==typeof window;l.default.createContext(null).displayName="EmbeddedCheckoutProviderContext",G("auBankAccount",X),G("card",X);var K=G("cardNumber",X),V=G("cardExpiry",X),J=G("cardCvc",X);G("iban",X),G("payment",X);var Q=G("expressCheckout",X);G("paymentRequestButton",X),G("linkAuthentication",X),G("address",X),G("shippingAddress",X),G("paymentMethodMessaging",X),G("taxId",X),e.i(40259);let H=(0,e.i(11860).loadStripe)("pk_live_51QQTSdB27g0JULLyusZrDG3kIjMWRxKEKy72jyEd1XZAqG04UPh616r0IT7OAHlYf6RZQNxjcr0beMBelhHNgWKd00KrDQSmrb"),Z={style:{base:{fontSize:"16px",fontFamily:"Inter, system-ui, sans-serif",fontWeight:"400",color:"#1a1a1a","::placeholder":{color:"#9ca3af"}},invalid:{color:"#ef4444"}}};function ee(){return(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("span",{className:"text-black font-semibold text-base",children:"Total due today"}),(0,t.jsx)("div",{className:"h-5 w-16 bg-gray-200 rounded animate-pulse"})]}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("div",{className:"flex-1 h-12 bg-gray-100 rounded-xl animate-pulse"}),(0,t.jsx)("button",{disabled:!0,className:"px-6 py-3 bg-white border border-[#E5E5E7] rounded-xl text-base font-medium opacity-50",children:"Apply"})]}),(0,t.jsx)("div",{className:"pt-2"}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-black",children:"Credit or Debit Card Number"}),(0,t.jsx)("div",{className:"h-12 bg-gray-100 rounded-xl border border-gray-200 animate-pulse"})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-black",children:"Expiry Date"}),(0,t.jsx)("div",{className:"h-12 bg-gray-100 rounded-xl border border-gray-200 animate-pulse"})]}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-black",children:"Security Code"}),(0,t.jsx)("div",{className:"h-12 bg-gray-100 rounded-xl border border-gray-200 animate-pulse"})]})]}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-black",children:"Email"}),(0,t.jsx)("div",{className:"h-12 bg-gray-100 rounded-xl border border-gray-200 animate-pulse"})]}),(0,t.jsx)("button",{disabled:!0,className:"w-full py-2.75 text-white rounded-xl font-semibold text-base bg-gray-300 mt-2",children:"Pay Now"}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-3 py-2",children:[(0,t.jsx)("img",{src:"/pricing/checkout/pci.webp",alt:"PCI DSS",className:"h-5 w-auto opacity-50"}),(0,t.jsx)("img",{src:"/pricing/checkout/mastercard.webp",alt:"Mastercard",className:"h-5 w-auto opacity-50"}),(0,t.jsx)("img",{src:"/pricing/checkout/visa.webp",alt:"Visa",className:"h-5 w-auto opacity-50"}),(0,t.jsx)("img",{src:"/pricing/checkout/mcafee.webp",alt:"McAfee",className:"h-5 w-auto opacity-50"})]})]})}
1function et({period:e,originalPrice:r,currentPrice:n,onPriceChange:a,appliedCoupon:s,onCouponChange:i}){var o;let c=W("calls useStripe()").stripe,d=(o="calls useElements()",D(l.default.useContext(z),o)).elements,[u,p]=(0,l.useState)(""),[m,h]=(0,l.useState)(!1),[f,x]=(0,l.useState)(null),[y,g]=(0,l.useState)(null),[b,v]=(0,l.useState)(null),[N,k]=(0,l.useState)(""),[S,E]=(0,l.useState)(null),[P,C]=(0,l.useState)(!1);if(!c||!d)return(0,t.jsx)(ee,{});let _=null!==s&&n!==r,O=async()=>{if(N.trim()){C(!0),E(null);try{let t=await fetch("/api/checkout/apply-coupon",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({couponCode:N.trim(),period:e})}),n=await t.json();if(n.valid){let e=r;n.percentOff?e=r*(1-n.percentOff/100):n.amountOff&&(e=Math.max(0,r-n.amountOff)),i({id:n.couponId,code:N.trim(),description:n.discountDescription,percentOff:n.percentOff}),a(e),k("")}else E(n.error||"Invalid coupon")}catch{E("Failed to apply coupon")}finally{C(!1)}}},T=()=>{x(null),g(null),v(null)},A=async t=>{if(t.preventDefault(),!c||!d)return;T();let r=!1;u.trim()?u.includes("@")&&u.includes(".")||(x("Please enter a valid email address"),r=!0):(x("Email is required"),r=!0);let a=d.getElement(K);if(a||(g("Please enter your card details"),r=!0),!r){h(!0);try{(0,j.trackEvent)("AddPaymentInfo",{content_name:`Soro ${e} plan`,content_category:"subscription",value:n,currency:"USD"});let{fbc:t,fbp:r}=(0,j.getMetaCookies)(),i=w(),o=(0,j.getLeadUserData)(),l=o.em||o.external_id?"quiz":"regular",d=s?.code||"none",p=await fetch("/api/checkout/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:u,period:e,couponCode:d,fbc:t,fbp:r,userAgent:navigator.userAgent,sourceUrl:window.location.href,trackdeskCid:i,funnelSource:l})}),m=await p.json();if(!p.ok)throw Error(m.error||"Failed to create subscription");let{clientSecret:f,subscriptionId:x,noPaymentRequired:y}=m;if(y){window.location.href=`/checkout/success?subscription_id=${x}`;return}let{error:b,paymentIntent:N}=await c.confirmCardPayment(f,{payment_method:{card:a,billing_details:{email:u}}});if(b){let e=b.decline_code,t=M(e||b.code,b.message);g(t),h(!1);return}N?.status==="succeeded"?window.location.href=`/checkout/success?subscription_id=${x}`:(v("Payment was not completed. Please try again."),h(!1))}catch(t){let e=t instanceof Error?t.message:"Something went wrong";e.toLowerCase().includes("card")||e.toLowerCase().includes("payment")?g(e):v(e),h(!1)}}},M=(e,t)=>({card_declined:"Your card was declined. Please try a different card.",expired_card:"Your card has expired. Please use a different card.",incorrect_cvc:"The security code is incorrect. Please check and try again.",incorrect_number:"The card number is incorrect. Please check and try again.",invalid_cvc:"The security code is invalid. Please check and try again.",invalid_expiry_month:"The expiration month is invalid.",invalid_expiry_year:"The expiration year is invalid.",invalid_number:"The card number is not valid. Please check and try again.",processing_error:"An error occurred while processing your card. Please try again.",insufficient_funds:"Your card has insufficient funds. Please try a different card.",lost_card:"This card has been reported lost. Please use a different card.",stolen_card:"This card has been reported stolen. Please use a different card.",generic_decline:"Your card was declined. Please try a different card.",do_not_honor:"Your card was declined. Please contact your bank or try a different card.",transaction_not_allowed:"This transaction is not allowed. Please contact your bank.",card_not_supported:"This card is not supported. Please try a different card.",currency_not_supported:"This card does not support USD payments. Please try a different card.",duplicate_transaction:"A similar payment was already processed. Please wait a moment.",fraudulent:"This payment was flagged as suspicious. Please contact your bank.",withdrawal_count_limit_exceeded:"You have exceeded the daily limit. Please try again tomorrow."})[e||""]||t||"There was an issue with your card. Please try again.",I=async({expressPaymentType:t,billingDetails:r})=>{if(!c||!d)return;h(!0),T();let a=r?.email||"";try{let{fbc:r,fbp:i}=(0,j.getMetaCookies)(),o=w(),l=(0,j.getLeadUserData)(),u=l.em||l.external_id?"quiz":"regular",p=s?.code||"none",m=await fetch("/api/checkout/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:a,period:e,couponCode:p,fbc:r,fbp:i,userAgent:navigator.userAgent,sourceUrl:window.location.href,trackdeskCid:o,funnelSource:u})}),h=await m.json();if(!m.ok)throw Error(h.error||"Failed to create subscription");if(h.noPaymentRequired){window.location.href=`/checkout/success?subscription_id=${h.subscriptionId}`;return}(0,j.trackEvent)("AddPaymentInfo",{content_name:`Soro ${e} plan`,content_category:"subscription",value:n,currency:"USD",payment_type:t});let{error:f}=await d.submit();if(f)throw Error(f.message||"Payment failed");let{error:x,paymentIntent:y}=await c.confirmPayment({elements:d,clientSecret:h.clientSecret,confirmParams:{return_url:`${window.location.origin}/checkout/success?subscription_id=${h.subscriptionId}`},redirect:"if_required"});if(x)throw Error(x.message||"Payment failed");y?.status==="succeeded"&&(window.location.href=`/checkout/success?subscription_id=${h.subscriptionId}`)}catch(e){v(e instanceof Error?e.message:"Something went wrong"),h(!1)}};return(0,t.jsxs)("form",{onSubmit:A,className:"space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("span",{className:"text-black font-bold text-base",children:"Total due today"}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[_&&(0,t.jsxs)("span",{className:"text-sm text-[#ef4444] line-through font-medium py-0.5 px-1 rounded-lg bg-[#ef4444]/8",children:["$",r.toFixed(2)]}),(0,t.jsxs)("span",{className:"font-bold text-base",children:["$",n.toFixed(2)]})]})]}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("input",{type:"text",placeholder:"Coupon Code",value:N,onChange:e=>{k(e.target.value.toUpperCase()),E(null)},disabled:P,className:"flex-1 px-4 py-2.5 bg-[#f5f5f5] border-0 rounded-xl text-base focus:outline-none disabled:text-gray-400 placeholder:text-gray-400"}),(0,t.jsx)("button",{type:"button",onClick:O,disabled:!N.trim()||P,className:"px-6 py-2.5 bg-white border border-[#
1E5E5E7] rounded-xl text-base font-medium hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed transition-colors cursor-pointer",children:P?"...":"Apply"})]}),S&&(0,t.jsx)("p",{className:"!text-sm text-red-500",children:S}),s&&(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"inline-flex items-center gap-1 px-2 py-1.5 rounded-lg text-sm font-semibold bg-white",style:{background:"linear-gradient(white, white) padding-box, linear-gradient(to right, #5855ff, #8b3dff) border-box",border:"2px solid transparent"},children:[(0,t.jsx)("svg",{className:"w-4 h-4 text-[#666]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z"})}),(0,t.jsx)("span",{className:"italic",children:s.code}),(0,t.jsx)("button",{type:"button",onClick:()=>{i(null),k(""),E(null),a(r)},className:"text-gray-400 hover:text-gray-600 text-lg leading-none cursor-pointer",children:"Ã"})]}),(0,t.jsxs)("span",{className:"text-sm text-[#336244] font-medium bg-[#EFF8EC] px-3 py-1.5 rounded-lg",children:[s.percentOff,"% Discount applied"]})]}),(0,t.jsx)("div",{className:"pt-2",children:(0,t.jsx)(Q,{onClick:({resolve:e})=>{e({emailRequired:!0})},onConfirm:I,options:{buttonType:{applePay:"buy",googlePay:"buy"},buttonTheme:{applePay:"black",googlePay:"black"},layout:{maxColumns:1,maxRows:2},paymentMethodOrder:["apple_pay","google_pay","link"]}})}),(0,t.jsxs)("div",{className:"space-y-1 pt-2",children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-black",children:"Credit or Debit Card Number"}),(0,t.jsx)("div",{className:`px-4 py-3 rounded-xl bg-white border ${y?"border-red-400":"border-zinc-300"}`,children:(0,t.jsx)(K,{options:{...Z,placeholder:"1234 1234 1234 1234"},onChange:()=>y&&g(null)})}),y&&(0,t.jsxs)("p",{className:"text-sm text-red-500 flex items-center gap-1",children:[(0,t.jsx)("svg",{className:"w-4 h-4 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),y]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-black",children:"Expiry Date"}),(0,t.jsx)("div",{className:`px-4 py-3 rounded-xl bg-white border ${y?"border-red-400":"border-zinc-300"}`,children:(0,t.jsx)(V,{options:{...Z,placeholder:"MM/YY"},onChange:()=>y&&g(null)})})]}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-black",children:"Security Code"}),(0,t.jsx)("div",{className:`px-4 py-3 rounded-xl bg-white border ${y?"border-red-400":"border-zinc-300"}`,children:(0,t.jsx)(J,{options:{...Z,placeholder:"CVV"},onChange:()=>y&&g(null)})})]})]}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-black",children:"Email"}),(0,t.jsx)("input",{type:"email",value:u,onChange:e=>{p(e.target.value),f&&x(null)},placeholder:"Enter your email address",required:!0,className:`w-full px-4 py-2.5 rounded-xl text-base focus:outline-none placeholder:text-gray-400 border ${f?"border-red-400":"border-zinc-300"}`}),f&&(0,t.jsxs)("p",{className:"text-sm text-red-500 flex items-center gap-1",children:[(0,t.jsx)("svg",{className:"w-4 h-4 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),f]})]}),b&&(0,t.jsxs)("div",{className:"p-3 bg-red-50 border border-red-200 rounded-xl text-sm text-red-600 flex items-start gap-2",children:[(0,t.jsx)("svg",{className:"w-5 h-5 flex-shrink-0 mt-0.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})}),(0,t.jsx)("span",{children:b})]}),(0,t.jsx)("button",{type:"submit",disabled:!c||m,className:"w-full py-2.75 text-white rounded-xl font-semibold text-base transition-all duration-200 ease-in-out hover:scale-[1.02] active:scale-95 bg-gradient-to-r from-[#000000] to-[#1a1a1a] hover:from-[#0a0a0a] hover:to-[#2a2a2a] disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:scale-100 mt-2 overflow-hidden relative cursor-pointer",style:{boxShadow:"inset 0 0 10px rgba(255,255,255,0.6)"},children:(0,t.jsx)("span",{className:"relative z-10",children:m?"Processing...":"Pay Now"})}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-3 py-2",children:[(0,t.jsx)("img",{src:"/pricing/checkout/pci.webp",alt:"PCI DSS",className:"h-5 w-auto"}),(0,t.jsx)("img",{src:"/pricing/checkout/mastercard.webp",alt:"Mastercard",className:"h-5 w-auto"}),(0,t.jsx)("img",{src:"/pricing/checkout/visa.webp",alt:"Visa",className:"h-5 w-auto"}),(0,t.jsx)("img",{src:"/pricing/checkout/mcafee.webp",alt:"McAfee",className:"h-5 w-auto"})]}),(0,t.jsxs)("div",{className:"text-center text-[#999] !text-xs pt-2 space-y-1",children:["By continuing, you'll be charged $",n.toFixed(0),"monthly"===e?"/month":"quarterly"===e?" every 3 months":"/year"," starting today. 14-day money-back guarantee. Cancel anytime."]})]})}let er="OFF50";
1function en({period:e,originalPrice:r}){let[n,a]=(0,l.useState)(.5*r),[s,i]=(0,l.useState)({id:er,code:er,description:"50% off",percentOff:50});return(0,t.jsx)(U,{stripe:H,options:{mode:"subscription",amount:Math.round(100*n),currency:"usd",appearance:{theme:"stripe",variables:{colorPrimary:"#5855ff",fontFamily:"Inter, system-ui, sans-serif",borderRadius:"12px"}}},children:(0,t.jsx)(et,{period:e,originalPrice:r,currentPrice:n,onPriceChange:a,appliedCoupon:s,onCouponChange:i})},n)}var ea=e.i(69430);function es({className:e}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",className:e,children:(0,t.jsx)("path",{d:"M243.5 37.3c8-3.4 17-3.4 25 0l176.7 75c11.3 4.8 18.9 15.5 18.8 27.6c-.5 94-39.4 259.8-195.5 334.5c-7.9 3.8-17.2 3.8-25.1 0C87.3 399.6 48.5 233.8 48 139.8c-.1-12.1 7.5-22.8 18.8-27.6l176.7-75zM281 7.8c-16-6.8-34-6.8-50 0L54.3 82.8c-22 9.3-38.4 31-38.3 57.2c.5 99.2 41.3 280.7 213.6 363.2c16.7 8 36.1 8 52.8 0C454.7 420.7 495.5 239.2 496 140c.1-26.2-16.3-47.9-38.3-57.2L281 7.8zm82.3 195.5c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L224 297.4l-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l64 64c6.2 6.2 16.4 6.2 22.6 0l128-128z"})})}function ei({monthlyPrice:e,discountedMonthlyPrice:r,period:n,staticBadge:a,isSelected:s,onClick:i}){return(0,t.jsxs)("button",{onClick:i,className:`relative w-full p-4 rounded-2xl border-2 transition-all text-left cursor-pointer ${s?"border-[#5855ff]":"border-[#E5E5E7] hover:border-[#D1D1D6]"}`,children:[a&&(0,t.jsx)("div",{className:"absolute -top-2.5 -left-4 -rotate-6",children:(0,t.jsx)("span",{className:"relative inline-block bg-white text-black text-xs font-bold px-3 py-1 rounded-full border-2 border-transparent bg-clip-padding",style:{backgroundImage:"linear-gradient(white, white), linear-gradient(to right, #5855ff,rgb(164, 67, 255))",backgroundOrigin:"border-box",backgroundClip:"padding-box, border-box"},children:a})}),s&&(0,t.jsx)("div",{className:"absolute top-1.5 right-2",children:(0,t.jsx)("span",{className:"bg-gradient-to-r from-[#ff6b6b] to-[#ff4757] text-white text-xs font-bold px-2.5 py-1 rounded-lg",children:"50% OFF"})}),(0,t.jsxs)("div",{className:"flex items-baseline gap-0",children:[(0,t.jsxs)("span",{className:"text-[#777] caption !font-bold line-through mr-2",children:["$",e]}),(0,t.jsx)("span",{className:"text-[24px] md:text-[28px] !font-extrabold",children:"$"}),(0,t.jsx)("h3",{className:"!text-[28px] leading-none mr-1",children:r}),(0,t.jsx)("span",{className:"!text-[16px] text-sm font-semibold",children:"/month"})]}),(0,t.jsx)("p",{className:"text-[#777] !text-sm mt-1.5 !font-medium",children:n})]})}let eo={yearly:{monthlyPrice:36,discountedMonthlyPrice:18,totalPrice:432,discountedTotalPrice:216,period:"Pay yearly",staticBadge:"Best value"},quarterly:{monthlyPrice:54,discountedMonthlyPrice:27,totalPrice:162,discountedTotalPrice:81,period:"Pay quarterly",staticBadge:void 0},monthly:{monthlyPrice:78,discountedMonthlyPrice:39,totalPrice:78,discountedTotalPrice:39,period:"Pay monthly",staticBadge:void 0}};function el({isOpen:e,onClose:r}){let[n,a]=(0,l.useState)("monthly"),[s,i]=(0,l.useState)(!1),[o,c]=(0,l.useState)(!1),[d,u]=(0,l.useState)("select");if((0,l.useEffect)(()=>{if(e){setTimeout(()=>i(!0),10),document.body.style.overflow="hidden";let e=(0,j.getLeadUserData)();ea.default.capture("pricing_drawer_opened",{funnel_source:e.em||e.external_id?"quiz":"regular"}),(0,j.trackEvent)("ViewContent",{content_name:"Pricing Options",content_category:"pricing",content_type:"product_group"},(0,j.getLeadUserData)())}else i(!1),document.body.style.overflow="",setTimeout(()=>{u("select"),c(!1)},300);return()=>{document.body.style.overflow=""}},[e]),(0,l.useEffect)(()=>{let t=t=>{t.persisted&&e&&r()};return window.addEventListener("pageshow",t),()=>window.removeEventListener("pageshow",t)},[e,r]),!e)return null;let p=eo[n],m=p.discountedMonthlyPrice,h=async()=>{if(o)return;c(!0);let e=(0,j.getLeadUserData)(),t=e.em||e.external_id?"quiz":"regular";ea.default.capture("checkout_initiated",{funnel_source:t,billing_period:n,checkout_mode:"redirect",price:p.discountedTotalPrice,currency:"USD"}),(0,j.trackEvent)("InitiateCheckout",{content_name:`Soro ${n} plan`,content_category:"subscription",content_ids:[n],content_type:"product",value:p.discountedTotalPrice,currency:"USD",num_items:1},e);try{let{fbc:e,fbp:r}=(0,j.getMetaCookies)(),a=w(),s=await fetch("/api/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({period:n,fbc:e,fbp:r,userAgent:navigator.userAgent,sourceUrl:window.location.href,trackdeskCid:a,funnelSource:t})}),i=await s.json();i.url?window.location.href=i.url:(console.error("No checkout URL returned:",i.error||"Unknown error"),c(!1))}catch(e){console.error("Error initiating checkout:",e),c(!1)}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`fixed inset-0 bg-gray-50 transition-opacity duration-300 z-50 ${s?"opacity-90":"opacity-0"}`,onClick:r}),(0,t.jsxs)("div",{className:`fixed bottom-0 left-0 right-0 bg-white rounded-t-3xl shadow-2xl z-50 transition-transform duration-300 ease-out border border-gray-200 max-h-[80vh] overflow-y-auto ${s?"translate-y-0":"translate-y-full"}`,style:{paddingBottom:"max(0.5rem, env(safe-area-inset-bottom))"},children:[(0,t.jsx)("div",{className:"flex justify-center pt-2 pb-1",children:(0,t.jsx)("div",{className:"w-12 h-1 bg-[#E5E5E7] rounded-full"})}),(0,t.jsx)("div",{className:"max-w-[480px] mx-auto px-6 pb-6 pt-1",children:"select"===d?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h3",{className:"text-[#777] !text-xl my-6",children:"Pricing options"}),(0,t.jsxs)("div",{className:"space-y-2.5 mb-5",children:[(0,t.jsx)(ei,{monthlyPrice:eo.yearly.monthlyPrice,discountedMonthlyPrice:eo.yearly.discountedMonthlyPrice,period:eo.yearly.period,staticBadge:eo.yearly.staticBadge,isSelected:"yearly"===n,onClick:()=>a("yearly")}),(0,t.jsx)(ei,{monthlyPrice:eo.quarterly.monthlyPrice,discountedMonthlyPrice:eo.quarterly.discountedMonthlyPrice,period:eo.quarterly.period,staticBadge:eo.quarterly.staticBadge,isSelected:"quarterly"===n,onClick:()=>a("quarterly")}),(0,t.jsx)(ei,{monthlyPrice:eo.monthly.monthlyPrice,discountedMonthlyPrice:eo.monthly.discountedMonthlyPrice,period:eo.monthly.period,staticBadge:eo.monthly.staticBadge,isSelected:"monthly"===n,onClick:()=>a("monthly")})]}),(0,t.jsx)("button",{className:"w-full py-3.5 rounded-full text-white text-base font-semibold transition-all duration-200 ease-in-out hover:scale-[1.02] active:scale-95 bg-gradient-to-r from-[#5855ff] to-[#8b3dff] hover:from-[#4a42e6] hover:to-[#7c2ff0] relative overflow-hidden cursor-pointer disabled:opacity-70 disabled:cursor-not-allowed disabled:hover:scale-100",style:{boxShadow:"inset 0 0 10px #fff, 0 8px 24px rgba(88, 85, 255, 0.4)"},onClick:h,disabled:o,children:(0,t.jsx)("span",{className:"relative z-10",children:o?"Loading...":`Buy now for $${m}/m`})}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2 text-[#777] !text-sm mt-4",children:[(0,t.jsx)(es,{className:"w-4 h-4"}),(0,t.jsx)("span",{children:"14-day money back guarantee"})]})]}):(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(en,{period:n,originalPrice
1:p.totalPrice})})})]})]})}function ec(){let[e,r]=(0,l.useState)(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed bottom-0 left-0 right-0 h-32 bg-gradient-to-t from-white via-white/40 to-transparent pointer-events-none z-40"}),(0,t.jsx)("div",{className:"fixed bottom-0 max-lg:bottom-[var(--consent-banner-h,0px)] left-0 right-0 z-50 p-6 md:p-8 pointer-events-none",style:{paddingBottom:"max(1.5rem, env(safe-area-inset-bottom))"},children:(0,t.jsx)("div",{className:"max-w-[720px] mx-auto px-4 pointer-events-auto flex justify-center",children:(0,t.jsxs)("button",{className:"relative overflow-hidden rounded-full px-6 md:py-5 py-3.5 text-white md:text-xl text-base !font-semibold transition-all hover:scale-[1.02] active:scale-[0.98] cursor-pointer bg-gradient-to-r from-[#5855ff] to-[#8b3dff]",style:{boxShadow:"inset 0 0 10px #fff, 0 8px 24px rgba(88, 85, 255, 0.4)"},onClick:()=>{let e=(0,j.getLeadUserData)();ea.default.capture("pricing_buy_clicked",{funnel_source:e.em||e.external_id?"quiz":"regular"}),r(!0)},children:[(0,t.jsx)("div",{className:"absolute inset-0 w-full h-full animate-shine",style:{background:"linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent)",backgroundSize:"200% 100%"}}),(0,t.jsx)("span",{className:"relative z-10",children:"Redeem 50% OFF"})]})})}),(0,t.jsx)(el,{isOpen:e,onClose:()=>r(!1)})]})}function ed(){return(0,t.jsxs)("div",{className:"min-h-screen",children:[(0,t.jsx)(a.SalesBanner,{}),(0,t.jsxs)("main",{className:"pt-8 space-y-16 md:space-y-24",children:[(0,t.jsx)(o,{}),(0,t.jsx)(p,{}),(0,t.jsx)(d,{}),(0,t.jsx)(h,{}),(0,t.jsx)(g,{}),(0,t.jsx)(x,{}),(0,t.jsx)(b,{}),(0,t.jsx)(r.FAQ,{}),(0,t.jsx)(v,{}),(0,t.jsx)(n.Footer,{})]}),(0,t.jsx)(ec,{})]})}e.s(["default",()=>ed],56195)}]);
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.