PageSourceSearch

https://myinfluencer.ai/assets/CloneCheckout-DpINDvH7.js

js myinfluencer.ai collected 2026-10-05 12:17:25 UTC 23,104 bytes, 1 lines download raw bytes

1import{r as d,j as e}from"./vendor-query-DDCPTvxb.js";import{u as z,h as I,l as T}from"./index-DtwcHb1v.js";import{E as N,l as W,u as _,a as R,P as $}from"./vendor-stripe-BseQP7lH.js";import"./vendor-ui-CRa-3O-M.js";const Y="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==",L=W("pk_live_51T9vrzIDNGcWWL6t9vKKVYvcQG0gp9bFq19cs7BM4lYs01sVcB8TRkCXSxNjRYNdFxELl5CdX2A7R8hQVhnv4Jdm00XnPgHJpj");function O({clientSecret:k,paymentIntentId:E,formData:u,paymentPlan:o,onSuccess:A}){const r=_(),h=R(),[m,y]=d.useState(!1),[b,g]=d.useState(null),[f,C]=d.useState(!1),j=async S=>{var F,w,D,P,t;if(S.preventDefault(),!r||!h)return;y(!0),g(null);const{error:v}=await h.submit();if(v){g(v.message||"Please check your payment details and try again."),y(!1);return}const{error:p,paymentIntent:l}=await r.confirmPayment({elements:h,confirmParams:{return_url:`${window.location.origin}/clone`,payment_method_data:{billing_details:{name:u.fullName,email:u.email,address:{postal_code:u.postalCode,country:"US"}}}},redirect:"if_required"});if(p){const i=p.decline_code,n=p.code;let s="";n==="insufficient_funds"?s="Your card was declined due to insufficient funds. Please try a different card or contact your bank.":n==="incorrect_cvc"?s="The security code (CVC) you entered is incorrect. Please check your card and try again.":n==="card_declined"?i==="generic_decline"?s="Your payment was declined. This could be because prepaid cards (CashApp etc) are not accepted. Please try again using a different credit or debit card.":i==="fraudulent"?s="This transaction was flagged for security reasons. Please contact your bank or try a different card.":i==="insufficient_funds"?s="Your card was declined due to insufficient funds. Please try a different card.":i==="do_not_honor"?s="Your bank declined this transaction. Please contact your bank or use a different card.":i==="transaction_not_allowed"?s="Your bank does not allow this type of transaction. Please contact your bank to authorize online purchases, or try a different card.":s="Your card was declined. Please try a different payment method or contact your bank.":(F=p.message)!=null&&F.includes("blocked")||(w=p.message)!=null&&w.includes("risk")||(D=p.message)!=null&&D.includes("prepaid")?s="Your payment was blocked because prepaid cards (CashApp etc) are not accepted. Please try again using a valid credit card.":n==="expired_card"?s="This card has expired. Please use a different card.":n==="incorrect_number"?s="The card number you entered is incorrect. Please check and try again.":n==="invalid_expiry_year"||n==="invalid_expiry_month"?s="The expiration date you entered is invalid. Please check and try again.":n==="processing_error"?s="An error occurred processing your payment. Please try again in a moment.":(P=p.message)!=null&&P.toLowerCase().includes("block")||(t=p.message)!=null&&t.toLowerCase().includes("risk")?s="Your payment was blocked because prepaid cards (CashApp etc) are not accepted. Please try again using a valid credit card.":s="Your payment was declined. This could be because prepaid cards (CashApp etc) are not accepted. Please try again using a different credit or debit card.",g(s),y(!1);return}if((l==null?void 0:l.status)==="succeeded"||(l==null?void 0:l.status)==="processing"){if(await(async(s=3)=>{for(let c=0;c<s;c++){try{if((await fetch("/api/clone/confirm-purchase",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({paymentIntentId:l.id})})).ok)return console.log("Clone purchase confirmed successfully"),!0;console.error(`Clone confirmation attempt ${c+1} failed`)}catch(a){console.error(`Clone confirmation attempt ${c+1} error:`,a)}c<s-1&&await new Promise(a=>setTimeout(a,1e3*(c+1)))}return!1})()){const s=o==="full"?597:225;T({value:s,currency:"USD",content_name:"AI Clone Licensing System",content_type:"product"}
1,u.email,void 0,`purchase_${l.id}`,{name:u.fullName,zip:u.postalCode}).catch(()=>{}),console.log("✅ Facebook Pixel: Purchase event fired",{value:s,currency:"USD",plan:o})}A()}else l?(console.log("Unexpected payment status:",l==null?void 0:l.status),g("Payment could not be completed. Please try again or contact support."),y(!1)):console.log("Payment confirmation returned without paymentIntent - may have been redirected")};return e.jsxs("form",{onSubmit:j,style:{display:"flex",flexDirection:"column",gap:16},children:[e.jsx($,{options:{layout:"tabs",defaultValues:{billingDetails:{name:u.fullName,email:u.email}}}}),b&&e.jsx("div",{style:{background:"#FBEBEB",border:"1px solid #F0C4C4",borderRadius:12,padding:"12px 14px",color:"#D64545",fontSize:14},children:b}),e.jsxs("label",{style:{display:"flex",alignItems:"flex-start",gap:10,cursor:"pointer"},children:[e.jsx("input",{type:"checkbox",checked:f,onChange:S=>C(S.target.checked),style:{width:16,height:16,marginTop:3,accentColor:"#5B46D9",cursor:"pointer",flexShrink:0}}),e.jsxs("span",{style:{fontSize:13,color:"#5F5A50",lineHeight:1.5},children:["I agree to the"," ",e.jsx("a",{href:"/terms",target:"_blank",style:{color:"#5B46D9",fontWeight:600,textDecoration:"underline"},children:"Terms of Service"})," ","and"," ",e.jsx("a",{href:"/privacy",target:"_blank",style:{color:"#5B46D9",fontWeight:600,textDecoration:"underline"},children:"Privacy Policy"})]})]}),e.jsx("button",{type:"submit",disabled:!r||m||!f,className:"mi-btn-primary",style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"center",gap:9,fontFamily:"'Space Grotesk', sans-serif",fontWeight:700,fontSize:18,padding:"17px",borderRadius:14,cursor:"pointer",opacity:!r||m||!f?.5:1},children:m?e.jsxs(e.Fragment,{children:[e.jsx("span",{style:{width:20,height:20,border:"2px solid rgba(255,255,255,0.35)",borderTopColor:"#fff",borderRadius:"50%",display:"inline-block",animation:"spin 0.7s linear infinite"}}),"Processing..."]}):e.jsxs(e.Fragment,{children:[e.jsx("i",{className:"ph-fill ph-lock-simple"}),o==="split"?"Pay $225 Now":"Complete My Order — $597"]})})]})}function H(){const[,k]=z();I();const[E,u]=d.useState(1),[o,A]=d.useState("full"),[r,h]=d.useState({fullName:"",email:"",postalCode:""}),[m,y]=d.useState(null),[b,g]=d.useState(null),[f,C]=d.useState(!1),[j,S]=d.useState({hours:1,minutes:0,seconds:0}),[v,p]=d.useState(null);d.useEffect(()=>{window.scrollTo(0,0);const t=new URLSearchParams(window.location.search),i=t.get("payment_intent"),n=t.get("redirect_status");i&&n&&(window.history.replaceState({},"","/clone"),n==="succeeded"?(async(c=3)=>{for(let a=0;a<c;a++){try{const x=await fetch("/api/clone/confirm-purchase",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({paymentIntentId:i})});if(x.ok){const B=await x.json();return console.log("Clone 3DS purchase confirmed successfully"),{success:!0,paymentPlan:B.paymentPlan}}console.error(`Clone 3DS confirmation attempt ${a+1} failed`)}catch(x){console.error(`Clone 3DS confirmation attempt ${a+1} error:`,x)}a<c-1&&await new Promise(x=>setTimeout(x,1e3*(a+1)))}return{success:!1}})().then(c=>{if(c.success){const a=c.paymentPlan==="full"?597:225;T({value:a,currency:"USD",content_name:"AI Clone Licensing System",content_type:"product"},void 0,void 0,`purchase_${i}`).catch(()=>{}),console.log("✅ Facebook Pixel: Purchase event fired (3DS)",{value:a,currency:"USD",plan:c.paymentPlan})}}).finally(()=>{k("/golden")}):n==="failed"?p("Your payment could not be completed after authentication. Please try again with a different card."):n==="requires_payment_method"&&p("Your card was declined after authentication. Please try a different payment method."))},[k]),d.useEffect(()=>{const t=setInterval(()=>{S(i=>{const n=i.hours*3600+i.minutes*60+i.seconds-1;return n<=0?{hours:0,minutes:0,seconds:0}:{hours:Math.floor(n/3600),minutes:Math.floor(n%3600/60),seconds:n%60}})},1e3);return()=>clearInterval(t)},[]);const l=async t=>{if(t.preventDefault(),!(!r.fullName||!r.email||!r.postalCode)&&!(f||m)){C(!0);try{const i=await fetch("/api/clone/create-payment-intent",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...r,paymentPlan:o})}),n=await i.json();if(!i.ok)throw new Error(n.message);y(n.clientSecret),g(n.paymentIntentId),u(2)}catch(i){console.error(i)}finally{C(!1)}}},F=()=>{k("/golden")},w=[{name:"Nate W.",text:"I have spent months trying to build decent AI avatars and was never pleased with the quality of the lip sync, gestures and video length. I spent 2 min on your platform and was blown away.",avatar:"N"}],D=[{icon:"ph-video-camera",title:"Done-For-You Video Clone",desc:"We create your very own video clone for you",value:"$997"}
1,{icon:"ph-microphone",title:"Voice Clone Setup",desc:"We clone your voice and link it to your video clone",value:"$497"},{icon:"ph-brain",title:"Complete Brain Clone",desc:"We create a complete clone of your brain and knowledge",value:"$997"},{icon:"ph-lightning",title:"Authentic Style Training",desc:"We build you an authentic style that creates high converting content",value:"$997"},{icon:"ph-crown",title:"Content Framework Training",desc:"Your clone trained on highest converting frameworks from $6M+ in sales",value:"$1,997"},{icon:"ph-file-text",title:"Unlimited Content Types",desc:"Video scripts, captions, blogs, emails, sales copy & more",value:"Priceless"},{icon:"ph-sparkle",title:"MyInfluencerGOLD For Life",desc:"Lifetime access to all premium features",value:"$1,164"},{icon:"ph-headphones",title:"Personalized Support",desc:"1-on-1 support during the entire setup process",value:"$997"},{icon:"ph-currency-dollar",title:"Affiliate Program Access",desc:"Sell this same offer - we deliver, you keep $300 per sale",value:"$997"}],P=[{title:"$38K AI Funnel Template",struck:"$1,997",desc:"The exact funnel we used to generate $38K in 30 days. Load it in one click, edit for your products, and publish."},{title:"Ad Scaling Masterclass",struck:"$997",desc:"Our highest level training: How to spend $1 on ads and make multiples back. The secret to scaling to $20k/mo and beyond."}];return e.jsxs("div",{className:"mi-theme",style:{minHeight:"100vh",background:"#F4F1EA",overflowX:"hidden"},children:[e.jsx("style",{children:"@keyframes spin { to { transform: rotate(360deg); } }"}),e.jsx("header",{style:{position:"sticky",top:0,zIndex:40,background:"rgba(244,241,234,0.9)",backdropFilter:"blur(10px)",WebkitBackdropFilter:"blur(10px)",borderBottom:"1px solid #E6E1D6"},children:e.jsxs("div",{style:{maxWidth:1120,margin:"0 auto",padding:"14px 24px",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[e.jsx("span",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:31,height:31,borderRadius:9,background:"#5B46D9",color:"#fff"},children:e.jsx("i",{className:"ph-fill ph-sparkle",style:{fontSize:17}})}),e.jsx("span",{style:{fontWeight:700,fontSize:18,letterSpacing:"-0.02em"},children:"MyInfluencer"})]}),e.jsxs("span",{className:"mi-mono",style:{display:"inline-flex",alignItems:"center",gap:6,fontSize:12,letterSpacing:"0.06em",color:"#1F7A4D",background:"#E4F3EC",border:"1px solid #C9E7D6",padding:"6px 12px",borderRadius:999},children:[e.jsx("i",{className:"ph-fill ph-lock-simple"})," Secure Checkout"]})]})}),e.jsxs("div",{style:{maxWidth:1120,margin:"0 auto",padding:"40px 24px 24px"},children:[e.jsxs("div",{style:{textAlign:"center",marginBottom:36},children:[e.jsxs("span",{className:"mi-mono",style:{display:"inline-flex",alignItems:"center",gap:7,fontSize:12,letterSpacing:"0.08em",color:"#1F7A4D",background:"#E4F3EC",border:"1px solid #C9E7D6",padding:"6px 14px",borderRadius:999,textTransform:"uppercase"},children:[e.jsx("i",{className:"ph-fill ph-seal-check"})," Special Webinar Offer"]}),e.jsxs("h1",{style:{fontSize:"clamp(28px, 5vw, 48px)",fontWeight:700,letterSpacing:"-0.035em",lineHeight:1.08,marginTop:16},children:["Confirm Your ",e.jsx("span",{style:{color:"#5B46D9"},children:"AI Clone System"})]}),e.jsx("p",{style:{color:"#5F5A50",fontSize:17,maxWidth:620,margin:"12px auto 0",lineHeight:1.5},children:"Complete your registration below to unlock instant access to your done-for-you AI clone."})]}),e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1.15fr",gap:28,alignItems:"start"},className:"mi-checkout-grid",children:[e.jsxs("div",{className:"mi-co-summary",style:{display:"flex",flexDirection:"column",gap:20},children:[e.jsxs("div",{style:{background:"#FCFBF7",border:"1px solid #E6E1D6",borderRadius:22,padding:32},children:[e.jsx("div",{className:"mi-mono",style:{fontSize:12,letterSpacing:"0.16em",textTransform:"uppercase",color:"#5B46D9"},children:"[ What's included ]"}),e.jsxs("h2",{style:{fontSize:26,fontWeight:700,letterSpacing:"-0.03em",marginTop:12,display:"flex",alignItems:"center",gap:10},children:[e.jsx("i",{className:"ph-fill ph-sparkle",style:{color:"#5B46D9",fontSize:22}})," What You're Getting ",e.jsx("span",{style:{color:"#5B46D9"},children:"Today"})]}),e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:6,marginTop:20},children:D.map((t,i)=>
1e.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:14,padding:"10px 8px",borderRadius:12},children:[e.jsx("span",{style:{flexShrink:0,width:40,height:40,borderRadius:10,background:"#F1EEFB",border:"1px solid #E3DEF6",display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsx("i",{className:"ph "+t.icon,style:{color:"#5B46D9",fontSize:19}})}),e.jsxs("div",{style:{flex:1,minWidth:0},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8},children:[e.jsx("h3",{style:{fontWeight:600,fontSize:15,color:"#1C1A16"},children:t.title}),e.jsx("span",{className:"mi-mono",style:{color:"#5B46D9",fontSize:13,fontWeight:600,whiteSpace:"nowrap"},children:t.value})]}),e.jsx("p",{style:{color:"#5F5A50",fontSize:13,marginTop:2,lineHeight:1.45},children:t.desc})]})]},i))}),e.jsxs("div",{style:{marginTop:22,paddingTop:20,borderTop:"1px solid #E6E1D6",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[e.jsx("span",{style:{color:"#5F5A50",fontSize:15},children:"Total Value:"}),e.jsx("span",{style:{fontSize:26,fontWeight:700,color:"#A39D8F",textDecoration:"line-through"},children:"$8,643+"})]})]}),e.jsxs("div",{style:{background:"#FCFBF7",border:"1px solid #E6E1D6",borderRadius:22,padding:28},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,marginBottom:16},children:[e.jsx("div",{style:{display:"flex",gap:2,color:"#E8B84C"},children:[...Array(5)].map((t,i)=>e.jsx("i",{className:"ph-fill ph-star",style:{fontSize:14}},i))}),e.jsx("h3",{style:{fontWeight:700,fontSize:16,color:"#1C1A16"},children:"What Others Are Saying"})]}),e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:16},children:w.map((t,i)=>e.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:12},children:[e.jsx("div",{style:{width:40,height:40,borderRadius:"50%",overflow:"hidden",flexShrink:0},children:e.jsx("img",{src:Y,alt:t.name,style:{width:"100%",height:"100%",objectFit:"cover",transform:"scale(1.1)"}})}),e.jsxs("div",{children:[e.jsxs("p",{style:{color:"#4A463D",fontSize:14,fontStyle:"italic",lineHeight:1.5},children:['"',t.text,'"']}),e.jsxs("p",{style:{color:"#8A857A",fontSize:12,marginTop:5},children:["— ",t.name]})]})]},i))})]})]}),e.jsx("div",{className:"mi-co-form",children:e.jsx("div",{style:{position:"sticky",top:92},children:e.jsxs("div",{style:{background:"#FCFBF7",border:"1px solid #E6E1D6",borderRadius:22,padding:"28px 24px"},children:[e.jsxs("div",{style:{background:"#FBF0D0",border:"1px solid #F0DFA8",borderRadius:16,padding:16,marginBottom:22},children:[e.jsx("div",{className:"mi-mono",style:{textAlign:"center",color:"#8A6A12",fontSize:11,letterSpacing:"0.12em",textTransform:"uppercase",marginBottom:10},children:"This Offer Expires In"}),e.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",gap:8},children:[{v:j.hours,l:"Hours"},{v:j.minutes,l:"Mins"},{v:j.seconds,l:"Secs"}].map((t,i)=>e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[e.jsxs("div",{style:{background:"#FCFBF7",border:"1px solid #F0DFA8",borderRadius:10,padding:"8px 12px",minWidth:58,textAlign:"center"},children:[e.jsx("div",{style:{fontSize:22,fontWeight:700,color:"#1C1A16"},children:String(t.v).padStart(2,"0")}),e.jsx("div",{className:"mi-mono",style:{fontSize:9,color:"#8A857A",textTransform:"uppercase",letterSpacing:"0.06em"},children:t.l})]}),i<2&&e.jsx("span",{style:{fontSize:20,fontWeight:700,color:"#8A6A12"},children:":"})]},i))})]}),v&&e.jsxs("div",{style:{background:"#FBEBEB",border:"1px solid #F0C4C4",borderRadius:14,padding:14,marginBottom:22},children:[e.jsx("p",{style:{color:"#D64545",fontSize:14,textAlign:"center"},children:v}),e.jsx("button",{onClick:()=>p(null),style:{marginTop:8,width:"100%",background:"transparent",border:"none",color:"#8A857A",fontSize:12,cursor:"pointer",fontFamily:"'Space Grotesk', sans-serif"},children:"Dismiss"})]}),e.jsxs("div",{style:{textAlign:"center",marginBottom:22},children:[e.jsxs("div",{style:{color:"#5F5A50",fontSize:14,marginBottom:4},children:["Regular Price: ",e.jsx("span",{style:{textDecoration:"line-through",color:"#A39D8F"},children:"$1,497"})]}),e.jsx("div",{style:{fontSize:"clamp(40px, 8vw, 52px)",fontWeight:700,letterSpacing:"-0.035em",color:"#5B46D9",lineHeight:1},children:"$597"}),e.jsx("div",{style:{color:"#5F5A50",fontSize:14,marginTop:6},children:"Or 3 payments of $225"})]}),e.jsxs("div",{style:{display:"flex",gap:8,marginBottom:16},children:[e.jsx("button",{onClick:()=>A("full"),style:{flex:1,padding:"12px 16px",borderRadius:12,fontWeight:600,fontSize:14,cursor:"pointer",fontFamily:"'Space Grotesk', sans-serif",transition:"all .15s",background:o==="full"?"#5B46D9":"#FCFBF7",color:o==="full"?"#fff":"#5F5A50",border:o==="full"?"1px solid #5B46D9":"1px solid #E6E1D6"},children:"Pay in Full"}),e.jsx("button",{onClick:()=>A("split"),style:{flex:1,padding:"12px 16px",borderRadius:12,fontWeight:600,fontSize:14,cursor:"pointer",fontFamily:"'Space Grotesk', sans-serif",transition:"all .15s",background:o==="split"?"#5B46D9":"#FCFBF7",color:o==="split"?"#fff":"#5F5A50",border:o==="split"?"1px solid #5B46D9":"1px solid #E6E1D6"},children:"3 Payments"})]}),o==="full"&&e.jsxs("div",{style:{background:"#F1EEFB",border:"1px solid #E3DEF6",borderRadius:16,padding:16,marginBottom:16},children:[e.jsxs("div",{className:"mi-mono",style:{display:"flex",alignItems:"center",gap:8,marginBottom:12,color:"#5B46D9",fontSize:12,fontWeight:700,letterSpacing:"0.06em",textTransform:"uppercase"},children:[e.jsx("i",{className:"ph-fill ph-crown"})," Pay In Full And Get:"]}),e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:12},children:P.map((t,i)=>
1e.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:8},children:[e.jsx("i",{className:"ph-fill ph-check-circle",style:{color:"#4CB07A",fontSize:18,flexShrink:0,marginTop:1}}),e.jsxs("div",{children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,flexWrap:"wrap"},children:[e.jsx("p",{style:{color:"#1C1A16",fontSize:14,fontWeight:600},children:t.title}),e.jsx("span",{style:{color:"#A39D8F",fontSize:12,textDecoration:"line-through"},children:t.struck}),e.jsx("span",{className:"mi-mono",style:{color:"#1F7A4D",fontSize:11,fontWeight:700},children:"FREE"})]}),e.jsx("p",{style:{color:"#5F5A50",fontSize:12,marginTop:3,lineHeight:1.45},children:t.desc})]})]},i))})]}),o==="split"&&e.jsx("div",{style:{background:"#F7F5F0",border:"1px solid #E6E1D6",borderRadius:12,padding:12,marginBottom:16},children:e.jsxs("p",{style:{color:"#5F5A50",fontSize:12,textAlign:"center"},children:[e.jsx("span",{style:{color:"#5B46D9",fontWeight:600},children:"Tip:"})," Pay in full to unlock 2 exclusive bonuses worth $2,000+"]})}),E===1?e.jsxs("form",{onSubmit:l,style:{display:"flex",flexDirection:"column",gap:16},children:[e.jsxs("div",{children:[e.jsx("label",{style:{display:"block",fontSize:13,fontWeight:600,color:"#4A463D",marginBottom:7},children:"Full Name"}),e.jsx("input",{type:"text",value:r.fullName,onChange:t=>h({...r,fullName:t.target.value}),placeholder:"John Smith",className:"mi-input",required:!0})]}),e.jsxs("div",{children:[e.jsx("label",{style:{display:"block",fontSize:13,fontWeight:600,color:"#4A463D",marginBottom:7},children:"Email Address"}),e.jsx("input",{type:"email",value:r.email,onChange:t=>h({...r,email:t.target.value}),placeholder:"[email protected]",className:"mi-input",required:!0})]}),e.jsxs("div",{children:[e.jsx("label",{style:{display:"block",fontSize:13,fontWeight:600,color:"#4A463D",marginBottom:7},children:"Billing Postal Code"}),e.jsx("input",{type:"text",value:r.postalCode,onChange:t=>h({...r,postalCode:t.target.value}),placeholder:"10001",className:"mi-input",required:!0})]}),e.jsx("button",{type:"submit",disabled:f,className:"mi-btn-primary",style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"center",gap:9,fontFamily:"'Space Grotesk', sans-serif",fontWeight:700,fontSize:18,padding:"16px",borderRadius:14,cursor:"pointer",opacity:f?.5:1},children:f?e.jsxs(e.Fragment,{children:[e.jsx("span",{style:{width:20,height:20,border:"2px solid rgba(255,255,255,0.35)",borderTopColor:"#fff",borderRadius:"50%",display:"inline-block",animation:"spin 0.7s linear infinite"}}),"Loading..."]}):e.jsxs(e.Fragment,{children:["Continue to Payment ",e.jsx("i",{className:"ph ph-arrow-right"})]})})]}):m&&b&&e.jsx(e.Fragment,{children:e.jsx(N,{stripe:L,options:{clientSecret:m,appearance:{theme:"stripe",variables:{colorPrimary:"#5B46D9",colorText:"#1C1A16",colorTextSecondary:"#5F5A50",colorBackground:"#F7F5F0",colorDanger:"#D64545",fontFamily:"'Space Grotesk', sans-serif",borderRadius:"12px"}}},children:e.jsx(O,{clientSecret:m,paymentIntentId:b,formData:r,paymentPlan:o,onSuccess:F})})}),e.jsxs("div",{style:{marginTop:22,paddingTop:20,borderTop:"1px solid #E6E1D6"},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:6,color:"#5F5A50",fontSize:12},children:[e.jsx("i",{className:"ph-fill ph-lock-simple",style:{color:"#4CB07A"}}),e.jsx("span",{children:"256-bit SSL"})]}),e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:6,marginTop:10,color:"#8A857A",fontSize:12},children:[e.jsx("i",{className:"ph ph-credit-card"}),e.jsx("span",{children:"Secure checkout powered by Stripe"})]})]})]})})})]}),e.jsxs("div",{style:{maxWidth:1120,margin:"40px auto 0",paddingTop:24,borderTop:"1px solid #E6E1D6",textAlign:"center"},children:[e.jsxs("p",{style:{fontSize:13,color:"#8A857A"},children:["© ",new Date().getFullYear()," MyInfluencer. All rights reserved."]}),e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:14,marginTop:8,fontSize:13},children:[e.jsx("a",{href:"/terms",target:"_blank",className:"mi-link",children:"Terms of Service"}),e.jsx("span",{style:{color:"#C4BEB0"},children:"|"}),e.jsx("a",{href:"/privacy",target:"_blank",className:"mi-link",children:"Privacy Policy"})]})]})]})]})}export{H as default};

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.