PageSourceSearch

https://mundadafinserve.com/_next/static/chunks/app/(frontend)/page-77870f88b826714d.js

js mundadafinserve.com collected 2026-10-02 01:37:10 UTC 309,716 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6676],{1120:(e,a,r)=>{"use strict";r.d(a,{default:()=>v});var t=r(95155),l=r(41855),s=r(12115),i=r(9342),n=r(75120),o=r(21232),c=r(28122);let d=()=>(0,t.jsx)("section",{className:"bg-[var(--rv-bg-white)] px-4 overflow-hidden",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section flex flex-col gap-8 md:gap-12",children:[(0,t.jsx)(i.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center",children:(0,t.jsx)(n.A,{title:"Advisor Advantage",heading:"Invest Smarter With Professional Support",description:"An experienced advisor brings clarity, discipline, and ongoing support—helping you avoid mistakes and invest with confidence."})}),(0,t.jsx)("div",{className:"overflow-x-auto bg-[var(--rv-bg-white)]",children:(0,t.jsxs)("div",{className:"min-w-[900px] grid grid-cols-3 rounded-xl border bg-[var(--rv-bg-white)]",children:[(0,t.jsx)("div",{className:"p-6 text-center font-semibold border-r",children:"DIY Platforms"}),(0,t.jsx)("div",{className:"p-6 text-center font-semibold bg-[var(--rv-primary)] text-[var(--rv-white)] border-r",children:"Key Difference"}),(0,t.jsx)("div",{className:"p-6 text-center font-semibold text-[var(--rv-primary)]",children:"With an MFD"}),[{diy:"Self-research",middle:"Fund Selection",mfd:"Expert-curated funds aligned to your goals"},{diy:"Basic questionnaire",middle:"Risk Profiling",mfd:"Detailed professional risk assessment"},{diy:"Chatbot or email support",middle:"After-sales Support",mfd:"Dedicated 1:1 relationship manager"},{diy:"Emotion-driven decisions",middle:"Discipline",mfd:"Regular reviews & disciplined investing"},{diy:"Manual tracking",middle:"Portfolio Review",mfd:"Periodic rebalancing & optimization"}].map((e,a)=>(0,t.jsxs)(s.Fragment,{children:[(0,t.jsxs)(i.P.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.4,delay:.05*a},className:"p-5 flex items-center gap-3 border-t border-r",children:[(0,t.jsx)(c.yGN,{className:"text-[var(--rv-primary)] shrink-0"}),(0,t.jsx)("span",{children:e.diy})]}),(0,t.jsx)(i.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:.05*a},className:"p-5 flex items-center justify-center border-t border-r bg-[var(--rv-primary-light)] font-semibold text-[var(--rv-primary)]",children:e.middle}),(0,t.jsxs)(i.P.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.4,delay:.05*a},className:"p-5 flex items-center gap-3 border-t",children:[(0,t.jsx)(c.YrT,{className:"text-[var(--rv-green)] shrink-0"}),(0,t.jsx)("span",{children:e.mfd})]})]},a))]})}),(0,t.jsx)(i.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"flex justify-center pt-4",children:(0,t.jsx)(o.A,{text:"Start Investing With Expert Guidance",link:"/login"})})]})});var m=r(70898);let u={theme1:d,theme2:()=>(0,t.jsx)("section",{className:"bg-[var(--rv-bg-black)] text-[var(--rv-white)] px-4 overflow-hidden",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section-bottom flex flex-col gap-5 md:gap-8",children:[(0,t.jsx)(n.A,{title:"DIY vs Guided Investing",heading:"DIY Platforms vs Investing With an MFD",highlight:"MFD",description:"Control is powerful — but guidance protects you from costly mistakes, emotional bias, and poor asset allocation."}),(0,t.jsxs)("div",{className:"relative flex flex-col gap-5 md:gap-8",children:[(0,t.jsx)("div",{className:"absolute left-1/2 top-[12%] -translate-x-1/2 h-[90%] border-l border-dashed border-[var(--rv-primary)] hidden md:block"}),(0,t.jsx)("div",{className:"flex items-center justify-center",children:(0,t.jsxs)("div",{className:"flex items-center gap-3 bg-[var(--rv-bg-white-light)] rounded-full px-4 py-2",children:[(0,t.jsx)("p",{className:"",children:"DIY Platforms"}),(0,t.jsx)("div",{className:"w-8 h-8 bg-[var(--rv-white)] text-[var(--rv-black)] font-semibold rounded-full flex items-center justify-center",children:"vs"}),(0,t.jsx)("p",{className:"text-[var(--rv-primary)]",children:"With an MFD"})]})}),(0,t.jsx)("div",{className:"space-y-8",children:[{diy:"Self-research",mfd:"A qualified MFD assists your investing"},{diy:"Basic questionnaire",mfd:"Deep, professional risk profiling"}
1,{diy:"Chatbot support",mfd:"1:1 human support & grievance solving"},{diy:"Emotional decision-making",mfd:"Regular check-ins & disciplined investing"},{diy:"Manual tracking & rebalancing",mfd:"Proactive portfolio reviews & rebalancing"}].map((e,a)=>(0,t.jsxs)(i.P.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:.08*a},className:"grid grid-cols-1 md:grid-cols-[1fr_auto_1fr] items-center gap-6",children:[(0,t.jsxs)("div",{className:"relative rounded-xl bg-[url('/images/svg2.svg')] p-4 bg-cover bg-center",children:[(0,t.jsx)("p",{className:"uppercase opacity-60 mb-1",children:"DIY"}),(0,t.jsx)("p",{className:"font-medium",children:e.diy})]}),(0,t.jsx)("div",{className:"relative md:flex justify-center hidden",children:(0,t.jsx)("div",{className:"h-14 w-14 rounded-full bg-[var(--rv-primary)] text-[var(--rv-black)] flex items-center justify-center font-bold shadow-[0_0_20px_rgba(191,255,0,0.6)]",children:String(a+1).padStart(2,"0")})}),(0,t.jsxs)("div",{className:"relative rounded-xl bg-[url('/images/svg1.svg')] p-4 pl-8 bg-cover bg-center",children:[(0,t.jsx)("p",{className:"uppercase text-[var(--rv-primary)] mb-1",children:"With an MFD"}),(0,t.jsx)("p",{className:"font-medium ",children:e.mfd})]})]},a))})]}),(0,t.jsx)("div",{className:"mx-auto",children:(0,t.jsx)(o.A,{text:"Start Guided Investing",link:"/login"})})]})}),theme3:()=>{let e=[{diy:"Self-research",middle:"Fund Selection",mfd:"A qualified MFD assists your investing"},{diy:"Basic Questionnaire",middle:"Risk Profiling",mfd:"Professional Risk Profile"},{diy:"Chatbot",middle:"After-sales Support",mfd:"1:1 Grievance Solving"},{diy:"High chance of emotional decisions",middle:"Discipline",mfd:"Regular check-ins & Disciplined Investing"},{diy:"Manual",middle:"Regular Portfolio Checkup",mfd:"Portfolio Check-ups & Rebalancing"}];return(0,t.jsx)("section",{className:"bg-[var(--rv-bg-white)] px-4 overflow-hidden",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section text-center flex flex-col gap-5 md:gap-8",children:[(0,t.jsx)("div",{children:(0,t.jsx)(n.A,{heading:"Why Choose an MFD?",description:"You can choose funds on your own — or work with someone who does this every day and helps you avoid big mistakes."})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-5 text-center",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)("h6",{className:"text-[var(--rv-primary-dark)]",children:"DIY Platforms"}),e.map((e,a)=>(0,t.jsx)(i.P.div,{whileHover:{scale:1.02},transition:{duration:.3},className:"border border-[var(--rv-secondary)] text-[var(--rv-priamry-dark)] py-3 px-2 rounded-xl bg-[var(--rv-bg-white)]",children:e.diy},a))]}),(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)("h6",{className:"text-[var(--rv-black)]",children:"Comparison"}),e.map((e,a)=>(0,t.jsx)(i.P.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.1*a},className:"border border-[var(--rv-secondary)] py-3 px-2 rounded-xl  font-semibold bg-gradient-to-r from-[var(--rv-primary)] to-[var(--rv-secondary)] text-[var(--rv-white)] shadow-md",children:e.middle},a))]}),(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)("h6",{className:"text-[var(--rv-primary-dark)]",children:"With an MFD"}),e.map((e,a)=>(0,t.jsx)(i.P.div,{whileHover:{scale:1.02},transition:{duration:.3},className:"border border-[var(--rv-secondary)] text-[var(--rv-priamry-dark)] py-3 px-2 rounded-xl bg-[var(--rv-bg-white)]",children:e.mfd},a))]})]}),(0,t.jsx)("div",{className:"mx-auto",children:(0,t.jsx)(o.A,{text:"Invest With Us Today",link:"/login"})})]})})},theme4:()=>(0,t.jsx)("section",{className:"bg-[var(--rv-bg-white)] px-4 overflow-hidden",children:(0,t.jsx)("div",{className:"main-section border-b",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto flex flex-col gap-12 md:gap-16",children:[(0,t.jsx)(i.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center",children:(0,t.jsx)(n.A,{heading:"Why Work With an MFD?",description:"You can invest on your own — or partner with an expert who helps you avoid costly mistakes and stay on track."})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12 md:gap-8",children:[(0,t.jsxs)("div",{className:"w-full bg-[var(--rv-bg-white)] text-center relative rounded-xl border border-[var(--rv-border)]",children:[(0,t.jsxs)("div",{className:"p-5 md:pt-16 pt-8",children:[(0,t.jsx)("div",{className:"md:w-24 md:h-24 w-16 h-16 absolute top-0 left-1/2 -translate-y-1/2 -translate-x-1/2 bg-[var(--rv-bg-white)] p-2 border border-[var(--rv-border)] rounded-full",children:(0,t.jsx)("div",{className:"w-full h-full rounded-full bg-[var(--rv-bg-primary)] p-4",children:(0,t.jsx)("img",{src:"/images/diy.png",className:"w-full h-full object-contain",alt:""})})}),(0,t.jsx)("h5",{children:"DIY Platforms"})]}),(0,t.jsx)("div",{className:"p-5 flex items-center text-center justify-center gap-3 border-t border-[var(--rv-border)]",children:(0,t.jsx)("p",{children:"Self-research"})}),(0,t.jsx)("div",{className:"p-5 flex items-center text-center justify-center gap-3 border-t border-[var(--rv-border)]",children:(0,t.jsx)("p",{children:"Basic questionnaire"})}),(0,t.jsx)("div",{className:"p-5 flex items-center text-center justify-center gap-3 border-t border-[var(--rv-border)]",children:(0,t.jsx)("p",{children:"Chatbot or email support"})}),(0,t.jsx)("div",{className:"p-5 flex items-center text-center justify-center gap-3 border-t border-[var(--rv-border)]",children:(0,t.jsx)("p",{children:"Emotion-driven decisions"})}),(0,t.jsx)("div",{className:"p-5 flex items-center text-center justify-center gap-3 border-t border-[var(--rv-border)]",children:(0,t.jsx)("p",{children:"Manual tracking"})})]}),(0,t.jsxs)("div",{className:"w-full text-[var(--rv-white)] text-center relative z-20",children:[(0,t.jsx)("div",{className:"md:w-24 md:h-24 w-16 h-16 absolute z-20  top-0 left-1/2 -translate-y-1/2 -translate-x-1/2 bg-[var(--rv-bg-white)] p-2 border border-[var(--rv-border)] rounded-full",children:(0,t.jsx)("div",{className:"w-full h-full rounded-full bg-[var(--rv-bg-primary)] p-3",children:(0,t.jsx)("img",{src:"/images/mfd.png",className:"w-full h-full object-contain",alt:""})})}),(0,t.jsxs)("div",{className:"w-full text-[var(--rv-white)] overflow-hidden rounded-xl border border-[var(--rv-border)] relative z-10  bg-gradient-to-tl from-[var(--rv-bg-secondary)] via-[var(--rv-bg-secondary)] to-[var(--rv-bg-primary)]",children:[(0,t.jsx)("div",{className:"p-5 md:pt-16 pt-8",children:(0,t.jsx)("h5",{children:"With an MFD"})}),(0,t.jsx)("div",{className:"p-5 flex items-center text-center justify-center gap-3 border-t border-[var(--rv-border)]",children:(0,t.jsx)("p",{children:"Self-research"})}),(0,t.jsx)("div",{className:"p-5 flex items-center text-center justify-center gap-3 border-t border-[var(--rv-border)]",children:(0,t.jsx)("p",{children:"Basic questionnaire"})}),(0,t.jsx)("div",{className:"p-5 flex items-center text-center justify-center gap-3 border-t border-[var(--rv-border)]",children:(0,t.jsx)("p",{children:"Chatbot or email support"})}),(0,t.jsx)("div",{className:"p-5 flex items-center text-center justify-center gap-3 border-t border-[var(--rv-border)]",children:(0,t.jsx)("p",{children:"Emotion-driven decisions"})}),(0,t.jsx)("div",{className:"p-5 flex items-center text-center justify-center gap-3 border-t border-[var(--rv-border)]",children:(0,t.jsx)("p",{children:"Manual tracking"})})]})]})]}),(0,t.jsx)(i.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"flex justify-center",children:(0,t.jsx)(o.A,{text:"Start Investing With Expert Guidance",className:"border border-[var(--rv-bg-primary)]",link:"/login"})})]})})}),theme5:()=>(0,t.jsx)("section",{className:"bg-[var(--rv-bg-white)] px-4 overflow-hidden",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section flex flex-col gap-5",children:[(0,t.jsx)(n.A,{title:"DIY vs Guided Investing",heading:"Why Choose an MFD ?",highlight:"MFD",description:"Choose between doing it yourself or partnering with an expert who helps you avoid mistakes and stay disciplined."}),(0,t.jsx)("div",{className:"grid gap-6",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 rounded-xl border overflow-hidden",children:[(0,t.jsx)("div",{className:"p-4 md:p-6 bg-[var(--rv-bg-primary)] text-[var(--rv-white)]",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-12 h-12 rounded-lg bg-[var(--rv-bg-white-light)] flex items-center justify-center",children:(0,t.jsx)(m.CMH,{className:"w-5 h-5 text-[var(--rv-white)]"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h6",{className:"font-semibold",children:"DIY Platforms"}),(0,t.jsx)("p",{className:"opacity-80 mt-1",children:"Tools & platforms for self-directed investors."})]})]})}),(0,t.jsx)("div",{className:"p-4 md:p-6 bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-12 h-12 rounded-lg bg-[var(--rv-bg-white-light)] flex items-center justify-center",children:(0,t.jsx)(m.p7b,{className:"w-5 h-5 "})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h6",{className:"font-semibold",children:"With an MFD"}),(0,t.jsx)("p",{className:"opacity-80 mt-1",children:"Personalised advice, monitoring & behavioural discipline."})]})]})}),(0,t.jsx)("div",{className:"md:col-span-2 p-2 md:p-4",children:(0,t.jsx)("div",{className:"space-y-4 md:space-y-6",children:[{diy:"Self-research",mfd:"Guided by a certified MFD"},{diy:"Basic questionnaire",mfd:"Comprehensive risk profiling"},{diy:"Automated chatbot support",mfd:"Dedicated 1:1 advisor support"}
1,{diy:"Higher chance of emotional decisions",mfd:"Periodic reviews & disciplined rebalancing"},{diy:"Manual portfolio tracking",mfd:"Regular portfolio check-ups & rebalancing"}].map((e,a)=>(0,t.jsxs)(i.P.div,{initial:{opacity:0,y:8},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.36,delay:.06*a},className:"relative grid grid-cols-1 md:grid-cols-2 border p-2 rounded items-center gap-4 md:gap-8",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 md:justify-start",children:[(0,t.jsx)("div",{className:"w-3 h-3 rounded-full bg-[var(--rv-bg-primary)] shrink-0"}),(0,t.jsx)("p",{className:"",children:e.diy})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3 md:justify-start",children:[(0,t.jsx)("div",{className:"w-3 h-3 rounded-full bg-[var(--rv-bg-secondary)] shrink-0"}),(0,t.jsx)("p",{className:"",children:e.mfd})]})]},a))})})]})}),(0,t.jsx)("div",{className:" flex justify-center",children:(0,t.jsx)(i.P.div,{whileHover:{scale:1.03},transition:{duration:.18},children:(0,t.jsx)(o.A,{Icon:m.eW4,text:"Invest With Us Today",link:"/login"})})})]})})};function v(){let{theme:e}=(0,l.D)(),a=u[e]||d;return(0,t.jsx)(a,{})}},1988:(e,a,r)=>{"use strict";r.d(a,{default:()=>q});var t=r(95155),l=r(41855),s=r(12115),i=r(12870),n=r(75120),o=r(21232),c=r(74744),d=r(70898);r(33262);var m=r(95704);let u={Retirement:[{id:"q1",question:"At what age do you plan to retire?",type:"number"},{id:"q2",question:"What is your current monthly expense?",type:"number"},{id:"q3",question:"How much can you save monthly towards retirement?",type:"number"}],"Child's Education":[{id:"q1",question:"How many years are left until your child starts higher education?",type:"number"},{id:"q2",question:"What is your estimated cost of education in today’s value?",type:"number"},{id:"q3",question:"How much have you already saved for this goal?",type:"number"}],"Marriage Planning":[{id:"q1",question:"In how many years do you expect the wedding to take place?",type:"number"},{id:"q2",question:"What is your estimated wedding budget in today’s value?",type:"number"},{id:"q3",question:"How much can you save each month for this goal?",type:"number"}],"House Planning":[{id:"q1",question:"When do you plan to buy your house? (in years)",type:"number"},{id:"q2",question:"What is the estimated cost of the house today?",type:"number"},{id:"q3",question:"How much have you saved for the down payment?",type:"number"}],"Vacation Planning":[{id:"q1",question:"When do you plan to go on your vacation? (in years)",type:"number"},{id:"q2",question:"What is your estimated total vacation cost?",type:"number"},{id:"q3",question:"How much can you save monthly for it?",type:"number"}],"Career Planning":[{id:"q1",question:"In how many years do you plan to switch careers or start a new course?",type:"number"},{id:"q2",question:"What is the estimated cost of training/education?",type:"number"},{id:"q3",question:"How much can you set aside monthly for this goal?",type:"number"}],"Wealth Creation":[{id:"q1",question:"What is your target wealth amount in today’s value?",type:"number"},{id:"q2",question:"In how many years do you want to achieve it?",type:"number"},{id:"q3",question:"How much can you invest each month for this goal?",type:"number"}]},v=[{id:"wuif1",value:"Retirement",label:"Build a secure future"},{id:"wuif2",value:"Child's Education",label:"Save for child’s studies"},{id:"wuif3",value:"Marriage Planning",label:"Plan for wedding expenses"},{id:"wuif4",value:"House Planning",label:"Plan for dream home"},{id:"wuif5",value:"Vacation Planning",label:"Plan for travel and leisure"},{id:"wuif6",value:"Career Planning",label:"Invest in your career growth"},{id:"wuif7",value:"Wealth Creation",label:"Grow money over time"}],x=()=>{var e;
1let[a,r]=(0,s.useState)(1),[l,x]=(0,s.useState)(""),[h,p]=(0,s.useState)({}),[g,f]=(0,s.useState)(!1),[b,y]=(0,s.useState)(!1),[j,w]=(0,s.useState)({name:"",email:"",number:"",message:""}),N=(e,a)=>{("number"!==e||/^\d{0,10}$/.test(a))&&w(r=>({...r,[e]:a}))},k=l&&(null==(e=u[l])?void 0:e.every(e=>{let a=h[e.id];return null!=a&&""!==a.toString().trim()})),S=async e=>{if(e.preventDefault(),!b){if(10!==j.number.length)return void c.oR.error("Please enter a valid 10-digit mobile number.");try{y(!0);let e={username:j.name,mobile:j.number,email:j.email,address:"N/A",message:"\nGoal: ".concat(l,"\nAnswers:\n").concat(Object.entries(h).map(e=>{var a,r;let[t,s]=e;return"".concat((null==(r=u[l])||null==(a=r.find(e=>e.id===t))?void 0:a.question)||"Question",": ").concat(s)}).join("\n"),"\nUser Message: ").concat(j.message||"N/A","\n")},a=await i.A.post("".concat("https://mundadafinserve.com","/api/leads"),e);if(201===a.status){let e=m.env.NEXT_PUBLIC_SITE_NAME||"Our Investment Platform",a=m.env.NEXT_PUBLIC_SITE_EMAIL||"[email protected]",t=Object.entries(h).map(e=>{var a,r;let[t,s]=e;return"".concat((null==(r=u[l])||null==(a=r.find(e=>e.id===t))?void 0:a.question)||"Question",": ").concat(s)}).join("\n"),s="We’re excited to help you reach your financial goals.",n={to:j.email,subject:"Thank You for Your Enquiry - ".concat(l),text:"Dear ".concat(j.name,',\n\nThank you for your interest in planning for "').concat(l,'".\n\nHere are your responses:\n').concat(t,"\n\n").concat(s,"\n\nBest Regards,\n").concat(e)},o={to:a,subject:"New Enquiry Received - ".concat(l),text:"A new enquiry has been received.\n\nGoal: ".concat(l,"\n\nAnswers:\n").concat(t,"\n\nName: ").concat(j.name,"\nEmail: ").concat(j.email,"\nPhone: ").concat(j.number,"\nMessage: ").concat(j.message,"\n\n").concat(s)};await i.A.post("".concat("https://mundadafinserve.com","/api/email"),n),await i.A.post("".concat("https://mundadafinserve.com","/api/email"),o),c.oR.success("Your enquiry has been submitted. We'll email your plan and contact you soon."),r(1),x(""),p({}),w({name:"",email:"",number:"",message:""}),f(!1)}}catch(e){console.error("Error submitting lead:",e),c.oR.error("Submission failed. Please try again later.")}finally{y(!1)}}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.N9,{}),(0,t.jsxs)("section",{className:"w-full bg-[var(--rv-bg-white)] px-4",children:[(0,t.jsx)("div",{className:"max-w-7xl mx-auto main-section",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-5",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)(n.A,{align:"start",title:"Select Your Goal",heading:"Invest with Purpose",description:"Know exactly where to start—turn your life goals into a clear, actionable investment plan."}),(0,t.jsx)("p",{className:"",children:"Not sure which funds are right for your goals? You're not alone—and that's exactly why we're here. Whether you're planning for retirement, saving for your child's education, or simply making your money work smarter, the first step is having a clear, personalized plan."}),(0,t.jsx)("p",{className:"",children:"Take a quick, goal-based quiz designed by investment experts to understand your needs, preferences, and risk profile. We'll email you a mutual fund plan that matches your goal."}),(0,t.jsxs)("ul",{className:"mt-2 space-y-2 pl-5 text-[var(--rv-primary)] font-bold list-disc",children:[(0,t.jsx)("li",{children:"Tell us your goal"}),(0,t.jsx)("li",{children:"Answer a few simple questions"}),(0,t.jsx)("li",{children:"Get your goal-driven plan—delivered directly to you"})]})]}),(0,t.jsx)("div",{className:"w-full",children:(0,t.jsxs)("div",{className:"bg-[var(--rv-primary)] text-[var(--rv-white)] rounded-2xl p-5 sm:p-6 shadow-lg flex flex-col gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between    sm:text-sm mb-1",children:[(0,t.jsxs)("span",{children:["Step ",a," of 2 \xb7"," ",1===a?"Select your goal":"Answer a few questions"]}),l&&(0,t.jsx)("span",{className:"font-semibold",children:l})]}),(0,t.jsx)("div",{className:"w-full h-2 bg-[var(--rv-bg-white-light)] rounded-full overflow-hidden",children:(0,t.jsx)("div",{className:"h-full rounded-full bg-[var(--rv-white)] transition-all duration-300 ".concat(1===a?"w-1/2":"w-full")})}),1===a&&(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("h3",{className:"text-lg sm:text-xl font-semibold",children:"What are you investing for?"}),(0,t.jsx)("div",{className:"flex flex-col gap-3",children:v.map(e=>(0,t.jsxs)("label",{htmlFor:e.id,className:"cursor-pointer rounded-xl border px-3 py-3 sm:px-4 sm:py-3 flex items-center gap-3 transition-all ".concat(l===e.value?"bg-[var(--rv-bg-white)] text-[var(--rv-primary)] border-[var(--rv-primary)] shadow-md":"border-[var(--rv-white-light)] bg-[var(--rv-bg-white-light)] hover:bg-[var(--rv-bg-white-light)]"),children:[(0,t.jsx)("input",{type:"radio",id:e.id,name:"goal",value:e.value,checked:l===e.value,onChange:e=>{x(e.target.value),p({})},className:"accent-[var(--rv-primary)]"}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("p",{className:"block font-semibold",children:[e.value," -"]}),(0,t.jsx)("p",{className:" font-light opacity-90",children:e.label})]})]},e.id))}),(0,t.jsx)("div",{className:"pt-2 flex justify-end",children:(0,t.jsx)(o.A,{text:"Next",type:"button",onClick:()=>
1{if(!l)return void c.oR.error("Please select what you are investing for first.");r(2)},className:"flex items-center gap-2 bg-[var(--rv-bg-white)] text-[var(--rv-primary)] hover:bg-[var(--rv-secondary)] hover:text-[var(--rv-white)] ".concat(l?"":"opacity-60 cursor-not-allowed")})})]}),2===a&&l&&(0,t.jsxs)("div",{className:"space-y-4 mt-2",children:[(0,t.jsxs)("h3",{className:"text-lg sm:text-xl font-semibold",children:[l," – Quick Questions"]}),(0,t.jsx)("div",{className:"space-y-3",children:u[l].map(e=>(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:"font-medium",children:e.question}),(0,t.jsx)("input",{type:e.type,value:h[e.id]||"",onChange:a=>{var r,t;return r=e.id,t=a.target.value,void p(e=>({...e,[r]:t}))},className:"w-full rounded-lg px-3 py-2 text-[var(--rv-primary)] outline-none border border-[var(--rv-white)] focus:border-[var(--rv-secondary)]"})]},e.id))}),(0,t.jsxs)("div",{className:"pt-2 flex items-center justify-between gap-3",children:[(0,t.jsx)(o.A,{text:"Back",type:"button",onClick:()=>{p({}),r(1)},className:"flex items-center gap-2 bg-[var(--rv-bg-white-light)] border border-[var(--rv-white)] text-[var(--rv-white)] hover:bg-[var(--rv-bg-white-light)]"}),(0,t.jsx)(o.A,{text:"Next",type:"button",onClick:()=>{if(!k)return void c.oR.error("Please answer all questions before continuing.");f(!0)},className:"flex items-center gap-2 bg-[var(--rv-bg-white)] text-[var(--rv-primary)] hover:bg-[var(--rv-secondary)] hover:text-[var(--rv-white)] ".concat(k?""
1:"opacity-60 cursor-not-allowed")})]})]})]})})]})}),g&&(0,t.jsx)("div",{className:"fixed inset-0 bg-black/40 flex items-center justify-center z-50 px-4",children:(0,t.jsxs)("div",{className:"bg-[var(--rv-bg-white)] rounded-2xl shadow-xl w-full max-w-md p-6 space-y-4",children:[(0,t.jsx)("h6",{className:"font-semibold text-[var(--rv-primary)]",children:"Share your details to receive your plan"}),(0,t.jsx)("p",{className:"text-[var(--rv-primary)]",children:"We'll email you a personalized mutual fund plan based on your answers."}),(0,t.jsxs)("form",{onSubmit:S,className:"space-y-3",children:[(0,t.jsx)("input",{type:"text",placeholder:"Full Name",value:j.name,onChange:e=>N("name",e.target.value),required:!0,className:"w-full border rounded-md p-2 focus:outline-none border-[var(--rv-gray-light)] text-[var(--rv-primary)] ring-1 focus:ring-[var(--rv-primary)]"}),(0,t.jsx)("input",{type:"email",placeholder:"Email",value:j.email,onChange:e=>N("email",e.target.value),required:!0,className:"w-full border rounded-md p-2 focus:outline-none border-[var(--rv-gray-light)] text-[var(--rv-primary)] ring-1 focus:ring-[var(--rv-primary)]"}),(0,t.jsx)("input",{type:"text",placeholder:"Phone Number",value:j.number,onChange:e=>N("number",e.target.value),required:!0,className:"w-full border rounded-md p-2 focus:outline-none border-[var(--rv-gray-light)] text-[var(--rv-primary)] ring-1 focus:ring-[var(--rv-primary)]"}),(0,t.jsx)("textarea",{placeholder:"Anything else you'd like us to know? (optional)",value:j.message,onChange:e=>N("message",e.target.value),className:"w-full border rounded-md p-2 h-24 text-sm resize-none focus:outline-none border-[var(--rv-gray-light)] text-[var(--rv-primary)] ring-1 focus:ring-[var(--rv-primary)]"}),(0,t.jsxs)("div",{className:"mt-4 flex gap-3 justify-end",children:[(0,t.jsx)(o.A,{text:"Cancel",type:"button",onClick:()=>{b||(f(!1),w({name:"",email:"",number:"",message:""}))},className:"bg-[var(--rv-bg-gray-light)] text-[var(--rv-gray-dark)] hover:bg-[var(--rv-bg-gray)] ".concat(b?"opacity-60 cursor-not-allowed":""),disabled:b}),(0,t.jsx)(o.A,{type:"submit",disabled:b,className:"bg-[var(--rv-primary)] text-[var(--rv-white)] hover:bg-[var(--rv-secondary)] inline-flex items-center gap-2 ".concat(b?"opacity-70 cursor-not-allowed":""),text:b?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.hW,{className:"animate-spin"})," Sending..."]}):"Submit"})]})]})]})})]})]})};var h=r(57830),p=r(20063),g=r(95704);let f={Retirement:[{id:"q1",question:"At what age do you plan to retire?",type:"number"},{id:"q2",question:"What is your current monthly expense?",type:"number"},{id:"q3",question:"How much can you save monthly towards retirement?",type:"number"}],"Child's Education":[{id:"q1",question:"How many years are left until your child starts higher education?",type:"number"},{id:"q2",question:"What is your estimated cost of education in today’s value?",type:"number"},{id:"q3",question:"How much have you already saved for this goal?",type:"number"}],"Marriage Planning":[{id:"q1",question:"In how many years do you expect the wedding to take place?",type:"number"},{id:"q2",question:"What is your estimated wedding budget in today’s value?",type:"number"},{id:"q3",question:"How much can you save each month for this goal?",type:"number"}],"House Planning":[{id:"q1",question:"When do you plan to buy your house? (in years)",type:"number"},{id:"q2",question:"What is the estimated cost of the house today?",type:"number"},{id:"q3",question:"How much have you saved for the down payment?",type:"number"}],"Vacation Planning":[{id:"q1",question:"When do you plan to go on your vacation? (in years)",type:"number"},{id:"q2",question:"What is your estimated total vacation cost?",type:"number"},{id:"q3",question:"How much can you save monthly for it?",type:"number"}],"Career Planning":[{id:"q1",question:"In how many years do you plan to switch careers or start a new course?",type:"number"},{id:"q2",question:"What is the estimated cost of training/education?",type:"number"},{id:"q3",question:"How much can you set aside monthly for this goal?",type:"number"}],"Wealth Creation":[{id:"q1",question:"What is your target wealth amount in today’s value?",type:"number"},{id:"q2",question:"In how many years do you want to achieve it?",type:"number"},{id:"q3",question:"How much can you invest each month for this goal?",type:"number"}]},b=[{id:"wuif1",value:"Retirement",label:"Build a secure future"},{id:"wuif2",value:"Child's Education",label:"Save for child’s studies"},{id:"wuif3",value:"Marriage Planning",label:"Plan for wedding expenses"},{id:"wuif4",value:"House Planning",label:"Plan for dream home"},{id:"wuif5",value:"Vacation Planning",label:"Plan for travel and leisure"},{id:"wuif6",value:"Career Planning",label:"Invest in your career growth"},{id:"wuif7",value:"Wealth Creation",label:"Grow money over time"}];var y=r(95704);let j={Retirement:[{id:"q1",question:"At what age do you plan to retire?",type:"number"},{id:"q2",question:"What is your current monthly expense?",type:"number"},{id:"q3",question:"How much can you save monthly towards retirement?",type:"number"}],"Child's Education":[{id:"q1",question:"How many years are left until your child starts higher education?",type:"number"},{id:"q2",question:"What is your estimated cost of education in today’s value?",type:"number"},{id:"q3",question:"How much have you already saved for this goal?",type:"number"}],"Marriage Planning":[{id:"q1",question:"In how many years do you expect the wedding to take place?",type:"number"},{id:"q2",question:"What is your estimated wedding budget in today’s value?",type:"number"},{id:"q3",question:"How much can you save each month for this goal?",type:"number"}],"House Planning":[{id:"q1",question:"When do you plan to buy your house? (in years)",type:"number"},{id:"q2",question:"What is the estimated cost of the house today?",type:"number"},{id:"q3",question:"How much have you saved for the down payment?",type:"number"}],"Vacation Planning":[{id:"q1",question:"When do you plan to go on your vacation? (in years)",type:"number"},{id:"q2",question:"What is your estimated total vacation cost?",type:"number"},{id:"q3",question:"How much can you save monthly for it?",type:"number"}],"Career Planning":[{id:"q1",question:"In how many years do you plan to switch careers or start a new course?",type:"number"},{id:"q2",question:"What is the estimated cost of training/education?",type:"number"},{id:"q3",question:"How much can you set aside monthly for this goal?",type:"number"}],"Wealth Creation":[{id:"q1",question:"What is your target wealth amount in today’s value?",type:"number"},{id:"q2",question:"In how many years do you want to achieve it?",type:"number"},{id:"q3",question:"How much can you invest each month for this goal?",type:"number"}]},w=[{id:"wuif1",value:"Retirement",label:"Build a secure future"},{id:"wuif2",value:"Child's Education",label:"Save for child’s studies"},{id:"wuif3",value:"Marriage Planning",label:"Plan for wedding expenses"},{id:"wuif4",value:"House Planning",label:"Plan for dream home"},{id:"wuif5",value:"Vacation Planning",label:"Plan for travel and leisure"},{id:"wuif6",value:"Career Planning",label:"Invest in your career growth"},{id:"wuif7",value:"Wealth Creation",label:"Grow money over time"}];var N=r(95704);let k={Retirement:[{id:"q1",question:"At what age do you plan to retire?",type:"number"},{id:"q2",question:"What is your current monthly expense?",type:"number"},{id:"q3",question:"How much can you save monthly towards retirement?",type:"number"}],"Child's Education":[{id:"q1",question:"How many years are left until your child starts higher education?",type:"number"},{id:"q2",question:"What is your estimated cost of education in today’s value?",type:"number"},{id:"q3",question:"How much have you already saved for this goal?",type:"number"}],"Marriage Planning":[{id:"q1",question:"In how many years do you expect the wedding to take place?",type:"number"},{id:"q2",question:"What is your estimated wedding budget in today’s value?",type:"number"},{id:"q3",question:"How much can you save each month for this goal?",type:"number"}],"House Planning":[{id:"q1",question:"When do you plan to buy your house? (in years)",type:"number"},{id:"q2",question:"What is the estimated cost of the house today?",type:"number"},{id:"q3",question:"How much have you saved for the down payment?",type:"number"}],"Vacation Planning":[{id:"q1",question:"When do you plan to go on your vacation? (in years)",type:"number"},{id:"q2",question:"What is your estimated total vacation cost?",type:"number"},{id:"q3",question:"How much can you save monthly for it?",type:"number"}],"Career Planning":[{id:"q1",question:"In how many years do you plan to switch careers or start a new course?",type:"number"},{id:"q2",question:"What is the estimated cost of training/education?",type:"number"},{id:"q3",question:"How much can you set aside monthly for this goal?",type:"number"}],"Wealth Creation":[{id:"q1",question:"What is your target wealth amount in today’s value?",type:"number"},{id:"q2",question:"In how many years do you want to achieve it?",type:"number"},{id:"q3",question:"How much can you invest each month for this goal?",type:"number"}]},S=[{id:"wuif1",value:"Retirement",label:"Build a secure future"},{id:"wuif2",value:"Child's Education",label:"Save for child’s studies"},{id:"wuif3",value:"Marriage Planning",label:"Plan for wedding expenses"},{id:"wuif4",value:"House Planning",label:"Plan for dream home"},{id:"wuif5",value:"Vacation Planning",label:"Plan for travel and leisure"},{id:"wuif6",value:"Career Planning",label:"Invest in your career growth"},{id:"wuif7",value:"Wealth Creation",label:"Grow money over time"}];var P=r(95704);let I={Retirement:[{id:"q1",question:"At what age do you plan to retire?",type:"number"},{id:"q2",question:"What is your current monthly expense?",type:"number"},{id:"q3",question:"How much can you save monthly towards retirement?",type:"number"}],"Child's Education":[{id:"q1",question:"How many years are left until your child starts higher education?",type:"number"},{id:"q2",question:"What is your estimated cost of education in today’s value?",type:"number"},{id:"q3",question:"How much have you already saved for this goal?",type:"number"}],"Marriage Planning":[{id:"q1",question:"In how many years do you expect the wedding to take place?",type:"number"},{id:"q2",question:"What is your estimated wedding budget in today’s value?",type:"number"},{id:"q3",question:"How much can you save each month for this goal?",type:"number"}],"House Planning":[{id:"q1",question:"When do you plan to buy your house? (in years)",type:"number"},{id:"q2",question:"What is the estimated cost of the house today?",type:"number"},{id:"q3",question:"How much have you saved for the down payment?",type:"number"}],"Vacation Planning":[{id:"q1",question:"When do you plan to go on your vacation? (in years)",type:"number"},{id:"q2",question:"What is your estimated total vacation cost?",type:"number"},{id:"q3",question:"How much can you save monthly for it?",type:"number"}],"Career Planning":[{id:"q1",question:"In how many years do you plan to switch careers or start a new course?",type:"number"},{id:"q2",question:"What is the estimated cost of training/education?",type:"number"},{id:"q3",question:"How much can you set aside monthly for this goal?",type:"number"}],"Wealth Creation":[{id:"q1",question:"What is your target wealth amount in today’s value?",type:"number"},{id:"q2",question:"In how many years do you want to achieve it?",type:"number"},{id:"q3",question:"How much can you invest each month for this goal?",type:"number"}]},C=[{id:"wuif1",value:"Retirement",label:"Build a secure future"},{id:"wuif2",value:"Child's Education",label:"Save for child’s studies"},{id:"wuif3",value:"Marriage Planning",label:"Plan for wedding expenses"},{id:"wuif4",value:"House Planning",label:"Plan for dream home"},{id:"wuif5",value:"Vacation Planning",label:"Plan for travel and leisure"},{id:"wuif6",value:"Career Planning",label:"Invest in your career growth"},{id:"wuif7",value:"Wealth Creation",label:"Grow money over time"}],A={theme1:x,theme2:()=>{var e;
1let a=(0,p.useRouter)(),[r,l]=(0,s.useState)(1),[m,u]=(0,s.useState)(""),[v,x]=(0,s.useState)({}),[y,j]=(0,s.useState)(!1),[w,N]=(0,s.useState)(!1),[k,S]=(0,s.useState)({name:"",email:"",number:"",message:""}),P=(e,a)=>{("number"!==e||/^\d{0,10}$/.test(a))&&S(r=>({...r,[e]:a}))},I=m&&(null==(e=f[m])?void 0:e.every(e=>{let a=v[e.id];return null!=a&&""!==a.toString().trim()})),C=async e=>{if(e.preventDefault(),!w){if(10!==k.number.length)return void c.oR.error("Please enter a valid 10-digit mobile number.");try{N(!0);let e={username:k.name,mobile:k.number,email:k.email,address:"N/A",message:"\nGoal: ".concat(m,"\nAnswers:\n").concat(Object.entries(v).map(e=>{var a,r;let[t,l]=e;return"".concat((null==(r=f[m])||null==(a=r.find(e=>e.id===t))?void 0:a.question)||"Question",": ").concat(l)}).join("\n"),"\nUser Message: ").concat(k.message||"N/A","\n")},r=await i.A.post("".concat("https://mundadafinserve.com","/api/leads"),e);if(201===r.status){let e=g.env.NEXT_PUBLIC_SITE_NAME||"Our Investment Platform",r=g.env.NEXT_PUBLIC_SITE_EMAIL||"[email protected]",t=Object.entries(v).map(e=>{var a,r;let[t,l]=e;return"".concat((null==(r=f[m])||null==(a=r.find(e=>e.id===t))?void 0:a.question)||"Question",": ").concat(l)}).join("\n"),s="We’re excited to help you reach your financial goals.",n={to:k.email,subject:"Thank You for Your Enquiry - ".concat(m),text:"Dear ".concat(k.name,',\n\nThank you for your interest in planning for "').concat(m,'".\n\nHere are your responses:\n').concat(t,"\n\n").concat(s,"\n\nBest Regards,\n").concat(e)},o={to:r,subject:"New Enquiry Received - ".concat(m),text:"A new enquiry has been received.\n\nGoal: ".concat(m,"\n\nAnswers:\n").concat(t,"\n\nName: ").concat(k.name,"\nEmail: ").concat(k.email,"\nPhone: ").concat(k.number,"\nMessage: ").concat(k.message,"\n\n").concat(s)};await i.A.post("".concat("https://mundadafinserve.com","/api/email"),n),await i.A.post("".concat("https://mundadafinserve.com","/api/email"),o),c.oR.success("Your enquiry has been submitted. We'll email your plan and contact you soon."),l(1),u(""),x({}),S({name:"",email:"",number:"",message:""}),j(!1),a.push("/thankyou")}}catch(e){console.error("Error submitting lead:",e),c.oR.error("Submission failed. Please try again later.")}finally{N(!1)}}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.N9,{}),(0,t.jsx)("section",{className:"bg-[var(--rv-bg-black)] p-2 md:p-4 text-[var(--rv-white)] overflow-hidden",children:(0,t.jsxs)("div",{className:"bg-[var(--rv-bg-secondary)] px-4 rounded-xl",children:[(0,t.jsxs)("div",{className:"relative max-w-7xl mx-auto main-section grid grid-cols-1 md:grid-cols-2 gap-5 ",children:[(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsx)(n.A,{align:"start",title:"Goal Planning Questions",heading:"Invest with Purpose",highlight:"Invest",description:"Turn your life goals into a clear, goal-driven investment plan."}),(0,t.jsx)("p",{className:"leading-relaxed",children:"Your goals deserve more than guesswork. Let’s build a plan that fits you. Just answer a few simple questions — what you’re investing for, how much you can set aside each month, and when you want to reach your goal. In less than a minute, we’ll create a custom mutual fund plan tailored to your needs. We’ll send your personalized plan directly to your WhatsApp or email. It’s fast, free, and built to help you take the next step with confidence."}),(0,t.jsxs)("div",{className:"list-disc text-[var(--rv-primary)] grid grid-cols-1 gap-2",children:[(0,t.jsx)("p",{className:"",children:"Choose your financial goal"}),(0,t.jsx)("p",{className:"",children:"Answer a few simple questions"}),(0,t.jsx)("p",{className:"",children:"Receive a personalized plan by email"})]}),(0,t.jsx)(o.A,{text:"Explore More",link:"/login"})]}),(0,t.jsxs)("div",{className:"flex items-start justify-center w-full h-full gap-6",children:[(0,t.jsx)("div",{className:"md:flex flex-col items-center justify-center h-full relative hidden ",children:Array.from({length:3}).map((e,a)=>{let l=a+1,s=r===l,i=r>l,n=s||i?"bg-[var(--rv-bg-primary)]":"bg-[var(--rv-bg-white)]";return(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[0!==l&&(0,t.jsx)("div",{className:"flex flex-col items-center",children:[void 0,void 0,void 0,void 0,void 0].map((e,a)=>(0,t.jsx)("span",{className:"h-2 w-[2px] rounded-full my-0.5 ".concat(n)},"top-".concat(a)))}),(0,t.jsx)("div",{className:"w-10 h-10 rounded-full flex items-center justify-center font-semibold transition-all duration-300\n            ".concat(s?"bg-[var(--rv-bg-primary)] text-[var(--rv-black)]":i?"bg-[var(--rv-bg-primary)] text-[var(--rv-black)] opacity-40":"bg-[var(--rv-bg-white)] text-[var(--rv-black)]"),children:String(l).padStart(2,"0")}),4!==l&&(0,t.jsx)("div",{className:"flex flex-col items-center",children:[void 0,void 0,void 0,void 0,void 0].map((e,a)=>(0,t.jsx)("span",{className:"h-2 w-[2px] rounded-full my-0.5 ".concat(n)},"bottom-".concat(a)))})]},a)})}),(0,t.jsxs)("div",{className:"relative bg-[var(--rv-bg-black)] w-full rounded-xl p-4 flex flex-col gap-3 transition-all",children:[1===r&&(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)("h6",{className:"font-semibold",children:"What are you investing for?"}),(0,t.jsx)("div",{className:"grid gap-5",children:b.map(e=>(0,t.jsxs)("label",{className:"cursor-pointer rounded-full pl-5 p-2 transition-all flex gap-3 border   ".concat(m===e.value?"bg-[var(--rv-bg-primary)] text-[var(--rv-primary)] shadow-lg border-[var(--rv-primary)]":"bg-[var(--rv-bg-secondary)] border-[var(--rv-white)]"),children:[(0,t.jsx)("input",{type:"radio",name:"goal",value:e.value,checked:m===e.value,onChange:e=>{u(e.target.value),x({})},className:" ".concat(m===e.value?"accent-[var(--rv-black)]":"accent-[var(--rv-secondary)]")}),(0,t.jsx)("div",{children:(0,t.jsx)("p",{className:"".concat(m===e.value?"text-[var(--rv-black)] font-semibold":"text-[var(--rv-white)]"),children:e.value})})]},e.id))}),(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(o.A,{text:"Continue",disabled:!m,onClick:()=>{l(2)}})})]}),2===r&&m&&(0,t.jsxs)("div",{className:"space-y-4 h-fit",children:[(0,t.jsxs)("h6",{className:"font-semibold",children:[m," – Quick Questions"]}),(0,t.jsx)("div",{className:"space-y-3",children:f[m].map(e=>(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:"",children:e.question}),(0,t.jsx)("input",{type:e.type,value:v[e.id]||"",onChange:a=>{var r,t;return r=e.id,t=a.target.value,void x(e=>({...e,[r]:t}))},className:"w-full rounded-lg px-3 py-2 bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] outline-none"})]},e.id))}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)(o.A,{text:"Back",onClick:()=>{x({}),l(1)}}),(0,t.jsx)(o.A,{text:"Continue",disabled:!I,onClick:()=>
1{if(!I)return void c.oR.error("Please answer all questions.");j(!0)}})]})]})]})]})]}),y&&(0,t.jsx)("div",{className:"fixed inset-0 bg-black/40 backdrop-blur-sm flex items-center justify-center z-50 px-4",children:(0,t.jsxs)("div",{className:"bg-[var(--rv-black)] text-[var(--rv-white)] rounded-2xl w-full max-w-md p-6 space-y-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 justify-between",children:[(0,t.jsx)("h4",{className:"text-lg font-semibold",children:"Get Your Personalized Plan"}),(0,t.jsx)(h.m6K,{onClick:()=>j(!1),className:"text-2xl text-[var(--rv-red)] cursor-pointer"})]}),(0,t.jsxs)("form",{onSubmit:C,className:"space-y-3",children:[(0,t.jsx)("input",{placeholder:"Full Name",value:k.name,onChange:e=>P("name",e.target.value),required:!0,className:"w-full rounded-lg px-3 py-2 bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] outline-none"}),(0,t.jsx)("input",{type:"email",placeholder:"Email",value:k.email,onChange:e=>P("email",e.target.value),required:!0,className:"w-full rounded-lg px-3 py-2 bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] outline-none"}),(0,t.jsx)("input",{placeholder:"Phone Number",value:k.number,onChange:e=>P("number",e.target.value),required:!0,className:"w-full rounded-lg px-3 py-2 bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] outline-none"}),(0,t.jsx)("textarea",{placeholder:"Optional message",value:k.message,onChange:e=>P("message",e.target.value),className:"w-full rounded-lg px-3 py-2 bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] outline-none h-24"}),(0,t.jsx)("div",{className:"flex gap-3",children:(0,t.jsx)(o.A,{type:"submit",disabled:w,text:w?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.hW,{className:"animate-spin"})," Sending"]}):"Submit"})})]})]})})]})})]})},theme3:()=>{var e;let[a,r]=(0,s.useState)(1),[l,m]=(0,s.useState)(""),[u,v]=(0,s.useState)({}
1),[x,h]=(0,s.useState)(!1),[p,g]=(0,s.useState)(!1),[f,b]=(0,s.useState)({name:"",email:"",number:"",message:""}),N=(e,a)=>{("number"!==e||/^\d{0,10}$/.test(a))&&b(r=>({...r,[e]:a}))},k=l&&(null==(e=j[l])?void 0:e.every(e=>{let a=u[e.id];return null!=a&&""!==a.toString().trim()})),S=async e=>{if(e.preventDefault(),!p){if(10!==f.number.length)return void c.oR.error("Please enter a valid 10-digit mobile number.");try{g(!0);let e={username:f.name,mobile:f.number,email:f.email,address:"N/A",message:"\nGoal: ".concat(l,"\nAnswers:\n").concat(Object.entries(u).map(e=>{var a,r;let[t,s]=e;return"".concat((null==(r=j[l])||null==(a=r.find(e=>e.id===t))?void 0:a.question)||"Question",": ").concat(s)}).join("\n"),"\nUser Message: ").concat(f.message||"N/A","\n")},a=await i.A.post("".concat("https://mundadafinserve.com","/api/leads"),e);if(201===a.status){let e=y.env.NEXT_PUBLIC_SITE_NAME||"Our Investment Platform",a=y.env.NEXT_PUBLIC_SITE_EMAIL||"[email protected]",t=Object.entries(u).map(e=>{var a,r;let[t,s]=e;return"".concat((null==(r=j[l])||null==(a=r.find(e=>e.id===t))?void 0:a.question)||"Question",": ").concat(s)}).join("\n"),s="We’re excited to help you reach your financial goals.",n={to:f.email,subject:"Thank You for Your Enquiry - ".concat(l),text:"Dear ".concat(f.name,',\n\nThank you for your interest in planning for "').concat(l,'".\n\nHere are your responses:\n').concat(t,"\n\n").concat(s,"\n\nBest Regards,\n").concat(e)},o={to:a,subject:"New Enquiry Received - ".concat(l),text:"A new enquiry has been received.\n\nGoal: ".concat(l,"\n\nAnswers:\n").concat(t,"\n\nName: ").concat(f.name,"\nEmail: ").concat(f.email,"\nPhone: ").concat(f.number,"\nMessage: ").concat(f.message,"\n\n").concat(s)};await i.A.post("".concat("https://mundadafinserve.com","/api/email"),n),await i.A.post("".concat("https://mundadafinserve.com","/api/email"),o),c.oR.success("Your enquiry has been submitted. We'll email your plan and contact you soon."),r(1),m(""),v({}),b({name:"",email:"",number:"",message:""}),h(!1)}}catch(e){console.error("Error submitting lead:",e),c.oR.error("Submission failed. Please try again later.")}finally{g(!1)}}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.N9,{}),(0,t.jsxs)("section",{className:"w-full bg-[var(--rv-bg-white)] px-4",children:[(0,t.jsx)("div",{className:"max-w-7xl mx-auto main-section",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-5",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)(n.A,{title:"goal questions",align:"start",heading:"Invest with Purpose",description:"Know exactly where to start—turn your life goals into a clear, actionable investment plan."}),(0,t.jsx)("p",{className:"",children:"Not sure which funds are right for your goals? You're not alone—and that's exactly why we're here. Whether you're planning for retirement, saving for your child's education, or simply making your money work smarter, the first step is having a clear, personalized plan."}),(0,t.jsx)("p",{className:"",children:"Take a quick, goal-based quiz designed by investment experts to understand your needs, preferences, and risk profile. We'll email you a mutual fund plan that matches your goal."}),(0,t.jsxs)("ul",{className:"flex flex-col gap-2 text-[var(--rv-primary-dark)]",children:[(0,t.jsx)("li",{className:"px-5 py-2 bg-[var(--rv-bg-primary-light)] rounded-lg w-fit",children:"✓ Tell us your goal"}),(0,t.jsx)("li",{className:"px-5 py-2 bg-[var(--rv-bg-primary-light)] rounded-lg w-fit",children:"✓ Answer a few simple questions"}),(0,t.jsx)("li",{className:"px-5 py-2 bg-[var(--rv-bg-primary-light)] rounded-lg w-fit",children:"✓ Get your goal-driven plan—delivered directly to you"})]})]}),(0,t.jsx)("div",{className:"w-full",children:(0,t.jsxs)("div",{className:"text-[var(--rv-black)] border border-[var(--rv-black-light)] rounded-xl p-4 sm:p-5 flex flex-col gap-2",children:[1===a&&(0,t.jsxs)("div",{className:"space-y-5",children:[(0,t.jsx)("h3",{className:"text-lg sm:text-xl font-semibold text-[var(--rv-primary)]",children:"What are you investing for?"}),(0,t.jsx)("div",{className:"flex flex-col gap-3",children:w.map(e=>(0,t.jsxs)("div",{onClick:()=>m(e.value),className:"cursor-pointer rounded-lg border p-2 flex items-center gap-4 transition-all duration-300\n                                                              ".concat(l===e.value?"border-[var(--rv-primary)] bg-[var(--rv-bg-primary)]":"border-[var(--rv-black-light)] "),children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-md flex items-center justify-center font-bold\n                                                                 ".concat(l===e.value?"bg-[var(--rv-bg-secondary] text-[var(--rv-white)]":"text-[var(--rv-primary)] border border-[var(--rv-primary)]"),children:"✓"}),(0,t.jsx)("div",{children:(0,t.jsx)("p",{className:"font-semibold ".concat(l===e.value?"text-[var(--rv-white)] ":"text-[var(--rv-black)]"),children:e.value})})]},e.id))}),(0,t.jsx)("div",{className:"pt-3 flex justify-end",children:(0,t.jsx)(o.A,{text:"Next",type:"button",disabled:!l,onClick:()=>
1{if(!l)return void c.oR.error("Please select what you are investing for first.");r(2)}})})]}),2===a&&l&&(0,t.jsxs)("div",{className:"space-y-4 mt-2",children:[(0,t.jsxs)("h3",{className:"text-lg sm:text-xl font-semibold",children:[l," – Quick Questions"]}),(0,t.jsx)("div",{className:"space-y-3",children:j[l].map(e=>(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:"font-medium",children:e.question}),(0,t.jsx)("input",{type:e.type,value:u[e.id]||"",onChange:a=>{var r,t;return r=e.id,t=a.target.value,void v(e=>({...e,[r]:t}))},className:"w-full rounded-lg px-3 py-2 text-[var(--rv-primary)] outline-none border focus:border-[var(--rv-secondary)]"})]},e.id))}),(0,t.jsxs)("div",{className:"pt-2 flex items-center justify-between gap-3",children:[(0,t.jsx)(o.A,{text:"Back",type:"button",onClick:()=>{v({}),r(1)},className:"flex items-center gap-2 bg-[var(--rv-bg-white-light)] border border-[var(--rv-white)] text-[var(--rv-white)] hover:bg-[var(--rv-bg-white-light)]"}),(0,t.jsx)(o.A,{text:"Next",type:"button",disabled:!k,onClick:()=>{if(!k)return void c.oR.error("Please answer all questions before continuing.");h(!0)},className:"flex items-center gap-2 bg-[var(--rv-bg-white)] text-[var(--rv-primary)] hover:bg-[var(--rv-secondary)] hover:text-[var(--rv-white)] ".concat(k?""
1:"opacity-60 cursor-not-allowed")})]})]})]})})]})}),x&&(0,t.jsx)("div",{className:"fixed inset-0 bg-black/40 flex items-center justify-center z-50 px-4",children:(0,t.jsxs)("div",{className:"bg-[var(--rv-bg-white)] rounded-2xl shadow-xl w-full max-w-md p-6 space-y-4",children:[(0,t.jsx)("h6",{className:"font-semibold text-[var(--rv-primary)]",children:"Share your details to receive your plan"}),(0,t.jsx)("p",{className:"text-[var(--rv-primary)]",children:"We'll email you a personalized mutual fund plan based on your answers."}),(0,t.jsxs)("form",{onSubmit:S,className:"space-y-3",children:[(0,t.jsx)("input",{type:"text",placeholder:"Full Name",value:f.name,onChange:e=>N("name",e.target.value),required:!0,className:"w-full border rounded-md p-2 focus:outline-none border-[var(--rv-gray-light)] text-[var(--rv-primary)] ring-1 focus:ring-[var(--rv-primary)]"}),(0,t.jsx)("input",{type:"email",placeholder:"Email",value:f.email,onChange:e=>N("email",e.target.value),required:!0,className:"w-full border rounded-md p-2 focus:outline-none border-[var(--rv-gray-light)] text-[var(--rv-primary)] ring-1 focus:ring-[var(--rv-primary)]"}),(0,t.jsx)("input",{type:"text",placeholder:"Phone Number",value:f.number,onChange:e=>N("number",e.target.value),required:!0,className:"w-full border rounded-md p-2 focus:outline-none border-[var(--rv-gray-light)] text-[var(--rv-primary)] ring-1 focus:ring-[var(--rv-primary)]"}),(0,t.jsx)("textarea",{placeholder:"Anything else you'd like us to know? (optional)",value:f.message,onChange:e=>N("message",e.target.value),className:"w-full border rounded-md p-2 h-24 text-sm resize-none focus:outline-none border-[var(--rv-gray-light)] text-[var(--rv-primary)] ring-1 focus:ring-[var(--rv-primary)]"}),(0,t.jsxs)("div",{className:"mt-4 flex gap-3 justify-end",children:[(0,t.jsx)(o.A,{text:"Cancel",type:"button",onClick:()=>{p||(h(!1),b({name:"",email:"",number:"",message:""}))},className:"bg-[var(--rv-bg-gray-light)] text-[var(--rv-gray-dark)] hover:bg-[var(--rv-bg-gray)] ".concat(p?"opacity-60 cursor-not-allowed":""),disabled:p}),(0,t.jsx)(o.A,{type:"submit",disabled:p,className:"bg-[var(--rv-primary)] text-[var(--rv-white)] hover:bg-[var(--rv-secondary)] inline-flex items-center gap-2 ".concat(p?"opacity-70 cursor-not-allowed":""),text:p?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.hW,{className:"animate-spin"})," Sending..."]}):"Submit"})]})]})]})})]})]})},theme4:()=>{var e;let a=(0,p.useRouter)(),[r,l]=(0,s.useState)(1),[m,u]=(0,s.useState)(""),[v,x]=(0,s.use
1State)({}),[g,f]=(0,s.useState)(!1),[b,y]=(0,s.useState)(!1),[j,w]=(0,s.useState)({name:"",email:"",number:"",message:""}),P=(e,a)=>{("number"!==e||/^\d{0,10}$/.test(a))&&w(r=>({...r,[e]:a}))},I=m&&(null==(e=k[m])?void 0:e.every(e=>{let a=v[e.id];return null!=a&&""!==a.toString().trim()})),C=async e=>{if(e.preventDefault(),!b){if(10!==j.number.length)return void c.oR.error("Please enter a valid 10-digit mobile number.");try{y(!0);let e={username:j.name,mobile:j.number,email:j.email,address:"N/A",message:"\nGoal: ".concat(m,"\nAnswers:\n").concat(Object.entries(v).map(e=>{var a,r;let[t,l]=e;return"".concat((null==(r=k[m])||null==(a=r.find(e=>e.id===t))?void 0:a.question)||"Question",": ").concat(l)}).join("\n"),"\nUser Message: ").concat(j.message||"N/A","\n")},r=await i.A.post("".concat("https://mundadafinserve.com","/api/leads"),e);if(201===r.status){let e=N.env.NEXT_PUBLIC_SITE_NAME||"Our Investment Platform",r=N.env.NEXT_PUBLIC_SITE_EMAIL||"[email protected]",t=Object.entries(v).map(e=>{var a,r;let[t,l]=e;return"".concat((null==(r=k[m])||null==(a=r.find(e=>e.id===t))?void 0:a.question)||"Question",": ").concat(l)}).join("\n"),s="We’re excited to help you reach your financial goals.",n={to:j.email,subject:"Thank You for Your Enquiry - ".concat(m),text:"Dear ".concat(j.name,',\n\nThank you for your interest in planning for "').concat(m,'".\n\nHere are your responses:\n').concat(t,"\n\n").concat(s,"\n\nBest Regards,\n").concat(e)},o={to:r,subject:"New Enquiry Received - ".concat(m),text:"A new enquiry has been received.\n\nGoal: ".concat(m,"\n\nAnswers:\n").concat(t,"\n\nName: ").concat(j.name,"\nEmail: ").concat(j.email,"\nPhone: ").concat(j.number,"\nMessage: ").concat(j.message,"\n\n").concat(s)};await i.A.post("".concat("https://mundadafinserve.com","/api/email"),n),await i.A.post("".concat("https://mundadafinserve.com","/api/email"),o),c.oR.success("Your enquiry has been submitted. We'll email your plan and contact you soon."),l(1),u(""),x({}),w({name:"",email:"",number:"",message:""}),f(!1),a.push("/thankyou")}}catch(e){console.error("Error submitting lead:",e),c.oR.error("Submission failed. Please try again later.")}finally{y(!1)}}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.N9,{}),(0,t.jsxs)("section",{className:"relative w-full bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] px-4 overflow-hidden",children:[(0,t.jsx)("div",{className:"main-section border-b border-[var(--rv-white-light)]",children:(0,t.jsxs)("div",{className:"relative max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-2 gap-5 ",children:[(0,t.jsxs)("div",{className:"border border-[var(--rv-border)] w-full rounded-xl overflow-hidden text-[var(--rv-white)] p-4 flex flex-col gap-5 items-start",children:[(0,t.jsx)(n.A,{align:"start",title:"Goal Planning Questions",heading:"Invest with Purpose",variant:"light",description:"Turn your life goals into a clear, goal-driven investment plan."}),(0,t.jsx)("p",{className:"leading-relaxed",children:"Your goals deserve more than guesswork. Let’s build a plan that fits you. Just answer a few simple questions — what you’re investing for, how much you can set aside each month, and when you want to reach your goal. In less than a minute, we’ll create a custom mutual fund plan tailored to your needs. We’ll send your personalized plan directly to your WhatsApp or email. It’s fast, free, and built to help you take the next step with confidence."}),(0,t.jsxs)("ul",{className:"list-disc text-[var(--rv-white)] grid grid-cols-1 gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("p",{className:"text-[var(--rv-primary)]",children:"◈"}),"Choose your financial goal"]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("p",{className:"text-[var(--rv-primary)]",children:"◈"}),"Answer a few simple questions"]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("p",{className:"text-[var(--rv-primary)]",children:"◈"}),"Receive a personalized plan by email"]})]}),(0,t.jsx)(o.A,{text:"Explore More",link:"/login"})]}),(0,t.jsxs)("div",{className:"relative border border-[var(--rv-border)] w-full rounded-xl overflow-hidden text-[var(--rv-white)] p-4 flex flex-col gap-3 transition-all z-10  bg-[var(--rv-bg-secondary)]",children:[1===r&&(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)("h6",{className:"font-semibold",children:"What are you investing for?"}),(0,t.jsx)("div",{className:"grid gap-5",children:S.map(e=>(0,t.jsxs)("label",{className:"cursor-pointer rounded-full pl-5 p-2 transition-all flex gap-3 border   ".concat(m===e.value?"bg-[var(--rv-bg-primary)] shadow-lg border-[var(--rv-border)]":"bg-[var(--rv-bg-secondary)] border-[var(--rv-border)]"),children:[(0,t.jsx)("input",{type:"radio",name:"goal",value:e.value,checked:m===e.value,onChange:e=>{u(e.target.value),x({})},className:" ".concat((e.value,"accent-[var(--rv-secondary)]"))}),(0,t.jsx)("div",{children:(0,t.jsx)("p",{className:"".concat(m===e.value?"text-[var(--rv-white)] font-semibold":"text-[var(--rv-white)]"),children:e.value})})]},e.id))}),(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(o.A,{text:"Continue",disabled:!m,onClick:()=>{l(2)}})})]}),2===r&&m&&(0,t.jsxs)("div",{className:"space-y-4 h-fit",children:[(0,t.jsxs)("h6",{className:"font-semibold",children:[m," – Quick Questions"]}),(0,t.jsx)("div",{className:"space-y-3",children:k[m].map(e=>(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:"",children:e.question}),(0,t.jsx)("input",{type:e.type,value:v[e.id]||"",onChange:a=>{var r,t;return r=e.id,t=a.target.value,void x(e=>({...e,[r]:t}))},className:"w-full rounded-lg px-3 py-2 border border-[var(--rv-primary)] bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] outline-none"})]},e.id))}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)(o.A,{text:"Back",onClick:()=>{x({}),l(1)}}),(0,t.jsx)(o.A,{text:"Continue",disabled:!I,onClick:()=>
1{if(!I)return void c.oR.error("Please answer all questions.");f(!0)}})]})]})]})]})}),g&&(0,t.jsx)("div",{className:"fixed inset-0 bg-black/40 backdrop-blur-sm flex items-center justify-center z-50 px-4",children:(0,t.jsxs)("div",{className:"bg-[var(--rv-black)] text-[var(--rv-white)] rounded-2xl w-full max-w-md p-6 space-y-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 justify-between",children:[(0,t.jsx)("h4",{className:"text-lg font-semibold",children:"Get Your Personalized Plan"}),(0,t.jsx)(h.m6K,{onClick:()=>f(!1),className:"text-2xl text-[var(--rv-red)] cursor-pointer"})]}),(0,t.jsxs)("form",{onSubmit:C,className:"space-y-3",children:[(0,t.jsx)("input",{placeholder:"Full Name",value:j.name,onChange:e=>P("name",e.target.value),required:!0,className:"w-full rounded-lg px-3 py-2 bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] outline-none"}),(0,t.jsx)("input",{type:"email",placeholder:"Email",value:j.email,onChange:e=>P("email",e.target.value),required:!0,className:"w-full rounded-lg px-3 py-2 bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] outline-none"}),(0,t.jsx)("input",{placeholder:"Phone Number",value:j.number,onChange:e=>P("number",e.target.value),required:!0,className:"w-full rounded-lg px-3 py-2 bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] outline-none"}),(0,t.jsx)("textarea",{placeholder:"Optional message",value:j.message,onChange:e=>P("message",e.target.value),className:"w-full rounded-lg px-3 py-2 bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] outline-none h-24"}),(0,t.jsx)("div",{className:"flex gap-3",children:(0,t.jsx)(o.A,{type:"submit",disabled:b,text:b?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.hW,{className:"animate-spin"})," Sending"]}):"Submit"})})]})]})})]})]})},theme5:()=>{var e;let[a,r]=(0,s.useState)(1),[l,m]=(0,s.useState)(""),[u,v]=(0,s.useState)({}
1),[x,h]=(0,s.useState)(!1),[p,g]=(0,s.useState)(!1),[f,b]=(0,s.useState)({name:"",email:"",number:"",message:""}),y=(e,a)=>{("number"!==e||/^\d{0,10}$/.test(a))&&b(r=>({...r,[e]:a}))},j=l&&(null==(e=I[l])?void 0:e.every(e=>{let a=u[e.id];return null!=a&&""!==a.toString().trim()})),w=async e=>{if(e.preventDefault(),!p){if(10!==f.number.length)return void c.oR.error("Please enter a valid 10-digit mobile number.");try{g(!0);let e={username:f.name,mobile:f.number,email:f.email,address:"N/A",message:"\nGoal: ".concat(l,"\nAnswers:\n").concat(Object.entries(u).map(e=>{var a,r;let[t,s]=e;return"".concat((null==(r=I[l])||null==(a=r.find(e=>e.id===t))?void 0:a.question)||"Question",": ").concat(s)}).join("\n"),"\nUser Message: ").concat(f.message||"N/A","\n")},a=await i.A.post("".concat("https://mundadafinserve.com","/api/leads"),e);if(201===a.status){let e=P.env.NEXT_PUBLIC_SITE_NAME||"Our Investment Platform",a=P.env.NEXT_PUBLIC_SITE_EMAIL||"[email protected]",t=Object.entries(u).map(e=>{var a,r;let[t,s]=e;return"".concat((null==(r=I[l])||null==(a=r.find(e=>e.id===t))?void 0:a.question)||"Question",": ").concat(s)}).join("\n"),s="We’re excited to help you reach your financial goals.",n={to:f.email,subject:"Thank You for Your Enquiry - ".concat(l),text:"Dear ".concat(f.name,',\n\nThank you for your interest in planning for "').concat(l,'".\n\nHere are your responses:\n').concat(t,"\n\n").concat(s,"\n\nBest Regards,\n").concat(e)},o={to:a,subject:"New Enquiry Received - ".concat(l),text:"A new enquiry has been received.\n\nGoal: ".concat(l,"\n\nAnswers:\n").concat(t,"\n\nName: ").concat(f.name,"\nEmail: ").concat(f.email,"\nPhone: ").concat(f.number,"\nMessage: ").concat(f.message,"\n\n").concat(s)};await i.A.post("".concat("https://mundadafinserve.com","/api/email"),n),await i.A.post("".concat("https://mundadafinserve.com","/api/email"),o),c.oR.success("Your enquiry has been submitted. We'll email your plan and contact you soon."),r(1),m(""),v({}),b({name:"",email:"",number:"",message:""}),h(!1)}}catch(e){console.error("Error submitting lead:",e),c.oR.error("Submission failed. Please try again later.")}finally{g(!1)}}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.N9,{}),(0,t.jsxs)("section",{className:"w-full bg-[var(--rv-bg-white)] px-4",children:[(0,t.jsx)("div",{className:"max-w-7xl mx-auto main-section",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-5",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)(n.A,{title:"Goal Planning Questions",align:"start",heading:"Invest with Purpose",description:"Know exactly where to start—turn your life goals into a clear, actionable investment plan."}),(0,t.jsx)("p",{className:"",children:"Not sure which funds are right for your goals? You're not alone—and that's exactly why we're here. Whether you're planning for retirement, saving for your child's education, or simply making your money work smarter, the first step is having a clear, personalized plan."}),(0,t.jsx)("p",{className:"",children:"Take a quick, goal-based quiz designed by investment experts to understand your needs, preferences, and risk profile. We'll email you a mutual fund plan that matches your goal."}),(0,t.jsxs)("ul",{className:"mt-2 space-y-1 pl-5 text-[var(--rv-primary)] list-disc",children:[(0,t.jsx)("li",{children:"Tell us your goal"}),(0,t.jsx)("li",{children:"Answer a few simple questions"}),(0,t.jsx)("li",{children:"Get your goal-driven plan—delivered directly to you"})]})]}),(0,t.jsx)("div",{className:"w-full",children:(0,t.jsxs)("div",{className:"bg-[var(--rv-primary)] text-[var(--rv-white)] rounded-2xl p-5 sm:p-6 shadow-lg flex flex-col gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between    sm:text-sm mb-1",children:[(0,t.jsxs)("span",{children:["Step ",a," of 2 \xb7"," ",1===a?"Select your goal":"Answer a few questions"]}),l&&(0,t.jsx)("span",{className:"font-semibold",children:l})]}),(0,t.jsx)("div",{className:"w-full h-2 bg-[var(--rv-bg-white-light)] rounded-full overflow-hidden",children:(0,t.jsx)("div",{className:"h-full rounded-full bg-[var(--rv-white)] transition-all duration-300 ".concat(1===a?"w-1/2":"w-full")})}),1===a&&(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("h3",{className:"text-lg sm:text-xl font-semibold",children:"What are you investing for?"}),(0,t.jsx)("div",{className:"flex flex-col gap-3",children:C.map(e=>(0,t.jsxs)("label",{htmlFor:e.id,className:"cursor-pointer rounded-xl border px-3 py-3 sm:px-4 sm:py-3 flex items-center gap-3 transition-all ".concat(l===e.value?"bg-[var(--rv-bg-white)] text-[var(--rv-primary)] border-[var(--rv-primary)] shadow-md":"border-[var(--rv-white-light)] bg-[var(--rv-bg-white-light)] hover:bg-[var(--rv-bg-white-light)]"),children:[(0,t.jsx)("input",{type:"radio",id:e.id,name:"goal",value:e.value,checked:l===e.value,onChange:e=>{m(e.target.value),v({})},className:"accent-[var(--rv-primary)]"}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("p",{className:"block font-semibold",children:[e.value," -"]}),(0,t.jsx)("p",{className:" font-light opacity-90",children:e.label})]})]},e.id))}),(0,t.jsx)("div",{className:"pt-2 flex justify-end",children:(0,t.jsx)(o.A,{text:"Next",type:"button",onClick:()=>
1{if(!l)return void c.oR.error("Please select what you are investing for first.");r(2)},className:"flex items-center gap-2 bg-[var(--rv-secondary)] hover:text-[var(--rv-white)] ".concat(l?"":"opacity-60 cursor-not-allowed")})})]}),2===a&&l&&(0,t.jsxs)("div",{className:"space-y-4 mt-2",children:[(0,t.jsxs)("h3",{className:"text-lg sm:text-xl font-semibold",children:[l," – Quick Questions"]}),(0,t.jsx)("div",{className:"space-y-3",children:I[l].map(e=>(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:"font-medium",children:e.question}),(0,t.jsx)("input",{type:e.type,value:u[e.id]||"",onChange:a=>{var r,t;return r=e.id,t=a.target.value,void v(e=>({...e,[r]:t}))},className:"w-full rounded-lg px-3 py-2 text-[var(--rv-primary)] font-bold outline-none border border-[var(--rv-white)] focus:border-[var(--rv-secondary)]"})]},e.id))}),(0,t.jsxs)("div",{className:"pt-2 flex items-center justify-between gap-3",children:[(0,t.jsx)(o.A,{text:"Back",type:"button",onClick:()=>{v({}),r(1)},className:"border border-[var(--rv-white)]"}),(0,t.jsx)(o.A,{text:"Next",type:"button",onClick:()=>{if(!j)return void c.oR.error("Please answer all questions before continuing.");h(!0)},className:"flex items-center gap-2 bg-[var(--rv-secondary)] ".concat(j?"":"opacity-60 cursor-not-allowed")})]})]})]})})]})}),x&&(0,t.jsx)("div",{className:"fixed inset-0 bg-black/40 flex items-center justify-center z-50 px-4",children:(0,t.jsxs)("div",{className:"bg-[var(--rv-bg-white)] rounded-2xl shadow-xl w-full max-w-md p-6 space-y-4",children:[(0,t.jsx)("h6",{className:"font-semibold text-[var(--rv-primary)]",children:"Share your details to receive your plan"}),(0,t.jsx)("p",{className:"text-[var(--rv-primary)]",children:"We'll email you a personalized mutual fund plan based on your answers."}),(0,t.jsxs)("form",{onSubmit:w,className:"space-y-3",children:[(0,t.jsx)("input",{type:"text",placeholder:"Full Name",value:f.name,onChange:e=>y("name",e.target.value),required:!0,className:"w-full border rounded-md p-2 focus:outline-none border-[var(--rv-gray-light)] text-[var(--rv-primary)] font-bold ring-1 focus:ring-[var(--rv-primary)]"}),(0,t.jsx)("input",{type:"email",placeholder:"Email",value:f.email,onChange:e=>y("email",e.target.value),required:!0,className:"w-full border rounded-md p-2 focus:outline-none border-[var(--rv-gray-light)] text-[var(--rv-primary)] font-bold ring-1 focus:ring-[var(--rv-primary)]"}),(0,t.jsx)("input",{type:"text",placeholder:"Phone Number",value:f.number,onChange:e=>y("number",e.target.value),required:!0,className:"w-full border rounded-md p-2 focus:outline-none border-[var(--rv-gray-light)] text-[var(--rv-primary)] font-bold ring-1 focus:ring-[var(--rv-primary)]"}),(0,t.jsx)("textarea",{placeholder:"Anything else you'd like us to know? (optional)",value:f.message,onChange:e=>y("message",e.target.value),className:"w-full border rounded-md p-2 h-24 text-sm resize-none focus:outline-none border-[var(--rv-gray-light)] text-[var(--rv-primary)] font-bold ring-1 focus:ring-[var(--rv-primary)]"}),(0,t.jsxs)("div",{className:"mt-4 flex gap-3 justify-end",children:[(0,t.jsx)(o.A,{text:"Cancel",type:"button",onClick:()=>{p||(h(!1),b({name:"",email:"",number:"",message:""}))},className:"bg-[var(--rv-primary-light)] text-black hover:text-[var(--rv-white)] ".concat(p?"opacity-60 cursor-not-allowed":""),disabled:p}),(0,t.jsx)(o.A,{type:"submit",disabled:p,className:" ".concat(p?"opacity-70 cursor-not-allowed":""),text:p?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.hW,{className:"animate-spin"})," Sending..."]}):"Submit"})]})]})]})})]})]})}};function q(){let{theme:e}=(0,l.D)(),a=A[e]||x;return(0,t.jsx)(a,{})}},8410:(e,a,r)=>{"use strict";r.d(a,{default:()=>f});var t=r(95155),l=r(41855),s=r(12115),i=r(75120),n=r(52619),o=r.n(n),c=r(9342),d=r(28122),m=r(21232),u=r(70898);let v=e=>{let{services:a=[]}=e,[r,l]=(0,s.useState)(null);return(0,s.useEffect)(()=>{a.length>0&&l(a[0]._id)},[a]),(0,t.jsx)("section",{className:"px-4 bg-[var(--rv-bg-white)]",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section flex flex-col gap-6 md:gap-10",children:[(0,t.jsx)(i.A,{title:"Services",heading:"Our Core Financial Services",description:"Explore our range of investment and financial planning services designed to help you build, protect, and grow your wealth with confidence."}),(0,t.jsx)("div",{className:"hidden lg:flex gap-4 h-[500px]",children:null==a?void 0:a.slice(0,6).map((e,a)=>{var s,i,n;let m=e._id===r,u=(null==e||null==(s=e.image)?void 0:s.status)?"".concat("https://mundadafinserve.com").concat(null==e||null==(i=e.image)?void 0:i.url):"".concat("https://redvisionweb.com").concat(null==e||null==(n=e.image)?void 0:n.url);return(0,t.jsx)(c.P.div,{onClick:()=>l(e._id),transition:{duration:.5,ease:"easeInOut"},className:"cursor-pointer rounded-xl overflow-hidden border transition-all duration-500\n                  ".concat(m?"flex-[4] bg-gradient-to-tr from-[var(--rv-bg-primary)] to-[var(--rv-bg-primary-dark)]":"flex-[1] bg-[var(--rv-bg-white)]"),children:m?(0,t.jsxs)("div",{className:"p-6 h-full flex flex-col justify-between text-[var(--rv-white)]",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)("span",{className:"w-10 h-10 rounded-full bg-[var(--rv-bg-white)] text-[var(--rv-black)] font-semibold flex items-center justify-center",children:String(a+1).padStart(2,"0")}),(0,t.jsx)("h4",{className:"font-bold text-xl",children:null==e?void 0:e.name}),(0,t.jsx)("div",{className:"rounded-xl overflow-hidden",children:(0,t.jsx)("img",{src:u||"images/icons/vacation.jpg",alt:null==e?void 0:e.name,className:"w-full h-56 object-cover"})}),(0,t.jsx)("div",{className:"opacity-90 leading-relaxed line-clamp-2",dangerouslySetInnerHTML:{__html:null==e?void 0:e.description}})]}),(0,t.jsxs)(o(),{href:"/services/".concat(null==e?void 0:e.link),className:"inline-flex items-center gap-2 font-semibold",children:["Know More ",(0,t.jsx)(d.dyV,{})]})]}):(0,t.jsxs)("div",{className:"h-full flex flex-col items-center justify-between py-6 text-[var(--rv-primary)]",children:[(0,t.jsx)("span",{className:"w-10 h-10 rounded-full bg-[var(--rv-bg-primary)] text-[var(--rv-white)] flex items-center justify-center font-semibold",children:String(a+1).padStart(2,"0")}),(0,t.jsx)("h6",{className:"rotate-90 whitespace-nowrap font-semibold",children:null==e?void 0:e.name}),(0,t.jsx)("span",{})]})},e._id)})}),(0,t.jsx)("div",{className:"grid grid-cols-1 gap-4 lg:hidden",children:a.map(e=>{var a,r,l;let s=(null==e||null==(a=e.image)?void 0:a.status)?"".concat("https://mundadafinserve.com").concat(null==e||null==(r=e.image)?void 0:r.url):"".concat("https://redvisionweb.com").concat(null==e||null==(l=e.image)?void 0:l.url);return(0,t.jsxs)(o(),{href:"/services/".concat(null==e?void 0:e.link),className:"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] rounded-xl p-5 flex flex-col gap-3",children:[(0,t.jsx)("h4",{className:"font-bold",children:null==e?void 0:e.name}),(0,t.jsx)("div",{className:"text-sm opacity-90 line-clamp-3",dangerouslySetInnerHTML:{__html:null==e?void 0:e.description}}),(0,t.jsx)("img",{src:s,alt:null==e?void 0:e.name,className:"rounded-xl object-cover h-48 w-full"})]},e._id)})}),(0,t.jsx)(m.A,{text:"All Services",link:"/services",Icon:u.eW4})]})})};var x=r(74233),h=r(57830),p=r(33828);let g={theme1:v,theme2:e=>{var a;let{services:r}=e;return(0,t.jsx)("section",{className:"w-full bg-[var(--rv-bg-black)] p-2 md:p-4 text-[var(--rv-white)] overflow-hidden",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section flex flex-col gap-6",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4 flex-col md:flex-row",children:[(0,t.jsx)(i.A,{align:"start",title:"Our Services",heading:"Our Expert Services"}),(0,t.jsx)(m.A,{text:"All Services",link:"/services"})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5",children:null==r||null==(a=r.slice(0,6))?void 0:a.map((e,a)=>{var r,l,s;return(0,t.jsx)("div",{className:"group relative h-full bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] hover:text-[var(--rv-black)] after:w-full after:h-1 z-10 after:absolute after:hover:h-full after:transition-all after:duration-300 after:z-0 after:bg-[var(--rv-bg-primary)] after:bottom-0 after:left-0 after:translate-y-0 rounded-xl p-6 overflow-hidden transition-all duration-300",children:(0,t.jsxs)("div",{className:"relative z-10 flex flex-col gap-5",children:[(0,t.jsx)("div",{className:"w-20 h-20 flex items-center justify-center rounded-full bg-[var(--rv-bg-black)]",children:(0,t.jsx)("img",{src:(null==e||null==(r=e.icon)?void 0:r.status)?"".concat("https://mundadafinserve.com").concat(null==e||null==(l=e.icon)?void 0:l.url):"".concat("https://redvisionweb.com").concat(null==e||null==(s=e.icon)?void 0:s.url),alt:null==e?void 0:e.name,className:"w-8 h-8 filter brightness-0 invert group-hover:invert-0 group-hover:brightness-150 transition"})}),(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)("h5",{className:"font-semibold inline-block",children:null==e?void 0:e.name}),(0,t.jsx)("p",{className:"opacity-80 line-clamp-3",dangerouslySetInnerHTML:{__html:null==e?void 0:e.description}}),(0,t.jsxs)(o(),{href:"/services/".concat(null==e?void 0:e.link),className:"inline-flex items-center gap-2 font-medium group-hover:gap-3 transition-all",children:["Learn More",(0,t.jsx)(x.OQo,{})]})]}),(0,t.jsxs)("span",{className:"absolute top-0 right-0 p-2 text-5xl font-bold opacity-20",children:[String(a+1).padStart(2,"0"),"."]}
1)]})},a)})})]})})},theme3:e=>{var a;let{services:r}=e;return(0,t.jsx)("section",{className:"w-full bg-[var(--rv-bg-white)] px-4 text-[var(--rv-black)] overflow-hidden",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto flex flex-col gap-5 main-section-top",children:[(0,t.jsxs)("div",{className:"flex md:flex-row flex-col items-center justify-between gap-5",children:[(0,t.jsx)("div",{className:"md:w-1/2",children:(0,t.jsx)(i.A,{align:"start",title:"Our Services",heading:"Comprehensive Financial Solutions",description:"Explore our range of investment and financial planning services designed to help you build, protect, and grow your wealth with confidence."})}),(0,t.jsx)(m.A,{text:"All Services",link:"/services"})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-5",children:null==r||null==(a=r.slice(0,4))?void 0:a.map((e,a)=>{var r,l,s;return(0,t.jsx)("div",{className:"group relative h-full bg-[var(--rv-bg-white)] text-[var(--rv-black)] hover:text-[var(--rv-white)] after:w-full after:h-0 z-10 after:absolute after:hover:h-full after:transition-all after:duration-500 after:z-0 after:bg-gradient-to-r after:from-[var(--rv-bg-primary)] after:to-[var(--rv-bg-secondary)] after:bottom-0 after:left-0 after:translate-y-0 rounded-xl p-6 overflow-hidden transition-all duration-300 border",children:(0,t.jsx)("div",{className:"relative z-10 h-full",children:(0,t.jsxs)("div",{className:"flex h-full flex-col",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"w-full flex items-center justify-between gap-5",children:[(0,t.jsx)("h6",{className:"font-semibold inline-block",children:null==e?void 0:e.name}),(0,t.jsx)(o(),{href:"/services/".concat(null==e?void 0:e.link),"aria-label":"View ".concat(null==e?void 0:e.name," service"),children:(0,t.jsx)("div",{className:"w-10 h-10 text-[var(--rv-white)] group-hover:text-[var(--rv-black)] group-hover:bg-[var(--rv-bg-white)] bg-[var(--rv-bg-secondary)] rounded-full flex items-center justify-center text-2xl",children:(0,t.jsx)(h.TN8,{})})})]}),(0,t.jsx)("div",{className:"w-full h-[1px] bg-[var(--rv-bg-secondary)] group-hover:bg-[var(--rv-bg-white)]"}),(0,t.jsx)("div",{className:"opacity-80 line-clamp-3",dangerouslySetInnerHTML:{__html:null==e?void 0:e.description}})]}),(0,t.jsxs)("div",{className:"mt-auto pt-10",children:[(0,t.jsx)("div",{className:"w-16 h-16 flex items-center justify-center rounded-full group-hover:bg-[var(--rv-bg-white)] bg-[var(--rv-bg-secondary)]",children:(0,t.jsx)("img",{src:(null==e||null==(r=e.icon)?void 0:r.status)?"".concat("https://mundadafinserve.com").concat(null==e||null==(l=e.icon)?void 0:l.url):"".concat("https://redvisionweb.com").concat(null==e||null==(s=e.icon)?void 0:s.url),alt:null==e?void 0:e.name,className:"w-8 h-auto max-h-8 filter brightness-0 invert group-hover:invert-0 group-hover:brightness-150 transition"})}),(0,t.jsxs)("span",{"aria-hidden":"true",className:"absolute bottom-1 right-1 text-5xl font-bold text-[var(--rv-black)] opacity-20",children:[String(a+1).padStart(2,"0"),"."]})]})]})})},a)})})]})})},theme4:e=>{let{services:a=[]}=e,[r,l]=(0,s.useState)(null);return(0,s.useEffect)(()=>{a.length>0&&l(a[0]._id)},[a]),(0,t.jsx)("section",{className:"px-4 bg-[var(--rv-bg-white)]",children:(0,t.jsx)("div",{className:"main-section border-b",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto flex flex-col gap-6 md:gap-10",children:[(0,t.jsx)(i.A,{title:"Services",heading:"Our Core Financial Services",description:"Explore our range of investment and financial planning services designed to help you build, protect, and grow your wealth with confidence."}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"w-full mx-auto hidden lg:block",children:(0,t.jsx)("img",{src:"/images/service-svg.svg",className:"opacity mx-auto",alt:""})}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:a.slice(0,3).map(e=>{var a,r,l;let s=(null==e||null==(a=e.icon)?void 0:a.status)?"".concat("https://mundadafinserve.com").concat(null==e||null==(r=e.icon)?void 0:r.url):"".concat("https://redvisionweb.com").concat(null==e||null==(l=e.icon)?void 0:l.url);return(0,t.jsxs)(o(),{href:"/services/".concat(null==e?void 0:e.link),className:"relative",children:[(0,t.jsxs)("div",{className:"relative border border-[var(--rv-primary)] z-10   bg-gradient-to-tl from-[var(--rv-bg-secondary)] via-[var(--rv-bg-secondary)] to-[var(--rv-bg-primary)] text-[var(--rv-white)] rounded-xl overflow-hidden p-5 md:p-8 flex flex-col items-center justify-center text-center gap-5",children:[(0,t.jsx)("div",{className:"w-20 h-20 bg-[var(--rv-bg-white)] p-3 rounded-full",children:(0,t.jsx)("img",{src:s,className:"w-full h-full object-contain",alt:""})}),(0,t.jsx)("h5",{className:"font-light",children:null==e?void 0:e.name}),(0,t.jsx)("div",{className:"opacity-90 line-clamp-3 font-light",dangerouslySetInnerHTML:{__html:null==e?void 0:e.description}})]}),(0,t.jsx)("div",{className:"absolute bottom-0 z-20 left-1/2 translate-y-1/2 -translate-x-1/2",children:(0,t.jsx)("div",{className:"w-10 h-10 border border-[var(--rv-primary)] bg-[var(--rv-bg-white)] group-hover:bg-[var(--rv-bg-black)] group-hover:text-[var(--rv-white)] text-[var(--rv-black)] rounded-full flex items-center justify-center",children:(0,t.jsx)(p.j6T,{className:"animate-bounce1"})})})]},e._id)})})]}),(0,t.jsx)("div",{className:"mx-auto",children:(0,t.jsx)(m.A,{text:"Explore All Services",link:"/services"})})]})})})},theme5:e=>{var a;let{services:r}=e;return(0,t.jsx)("section",{className:"px-4 bg-[var(--rv-bg-white)] text-[var(--rv-black)]",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto text-center main-section flex flex-col items-center gap-5 md:gap-8",children:[(0,t.jsx)(i.A,{title:"Our Services",heading:"Discover What We Offer",highlight:"We Offer",description:"Explore our range of services designed to help you achieve your financial and business goals."}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:null==r||null==(a=r.slice(0,4))?void 0:a.map((e,a)=>{var r,l,s,i;let n=Math.floor(a/2)%2==1;return(0,t.jsx)(o(),{href:"/services/".concat(null==e?void 0:e.link),children:(0,t.jsxs)("div",{className:"\n                  relative group border border-[var(--rv-black-light)] flex rounded-xl overflow-hidden\n                  ".concat(n?"flex-row-reverse":"flex-row","\n                "),children:[(0,t.jsx)("img",{src:(null==e||null==(r=e.image)?void 0:r.status)?"".concat("https://mundadafinserve.com").concat(null==e||null==(l=e.image)?void 0:l.url):"".concat("https://redvisionweb.com").concat(null==e||null==(s=e.image)?void 0:s.url),alt:null==e?void 0:e.name,className:"w-40 md:h-40 h-52 object-cover group-hover:scale-105 transition-all duration-500 ".concat(n?"border-l":"border-r"," border-[var(--rv-black-light)]")}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 justify-center p-6 text-left  after:w-full after:h-full after:bg-[var(--rv-bg-primary)]  after:-bottom-full after:right-0 relative z-10 after:-z-10 after:absolute  group-hover:after:bottom-0 after:duration-300 after:transition-all",children:[(0,t.jsx)("h6",{className:"group-hover:text-[var(--rv-white)] line-clamp-1 font-medium",children:null==e?void 0:e.name}),(0,t.jsx)("p",{className:"group-hover:text-[var(--rv-white)] line-clamp-2 leading-relaxed font-light",dangerouslySetInnerHTML:{__html:null==e?void 0:e.description}})]})]})},null!=(i=null==e?void 0:e.id)?i:a)})}),(0,t.jsx)("div",{children:(0,t.jsx)(m.A,{link:"/services",text:"All Services",Icon:u.eW4})})]})})}};function f(e){let{services:a}=e,{theme:r}=(0,l.D)(),s=g[r]||v;return(0,t.jsx)(s,{services:a})}},12846:(e,a,r)=>{"use strict";r.d(a,{default:()=>N});var t=r(95155),l=r(41855),s=r(9342),i=r(21232),n=r(70898),o=r(75120),c=r(12115),d=r(6092);let m=e=>{let{amcLogosData:a=[]}=e,[r,l]=(0,c.useState)(null),m=a.concat(a);return(0,t.jsx)("section",{className:" relative w-full z-10 px-4 flex items-center justify-center overflow-hidden text-[var(--rv-white)] bg-[var(--rv-bg-secondary)] before:content-[''] before:absolute before:inset-0 before:bg-[url('/images/vector1.png')] before:bg-cover before:bg-center before:brightness-0 before:invert before:opacity-[0.05] before:-z-10 ",children:(0,t.jsx)("div",{className:"main-section-top w-full",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto w-full main-section flex flex-col gap-10 md:gap-12",children:[(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 relative z-10",children:(0,t.jsxs)(s.P.div,{className:"flex flex-col gap-3 sm:gap-5",initial:{opacity:0,y:30}
1,animate:{opacity:1,y:0},transition:{duration:.8,ease:"easeOut"},children:[(0,t.jsxs)(s.P.span,{className:"inline-flex items-center gap-2 font-semibold tracking-[0.15em] bg-[var(--rv-bg-white-light)] w-fit px-4 py-1 rounded-full",initial:{opacity:0,x:-30},animate:{opacity:1,x:0},transition:{delay:.15,duration:.6},children:[(0,t.jsx)(d.VgF,{className:"text-[var(--rv-primary)]"}),"  Start With a Dream"]}),(0,t.jsx)(s.P.h1,{className:"font-bold text-4xl sm:text-5xl md:text-6xl lg:text-7xl",initial:{opacity:0,x:-40},animate:{opacity:1,x:0},transition:{delay:.25,duration:.8},children:"Your Journey to"}),(0,t.jsx)(s.P.h1,{className:"font-bold text-4xl sm:text-5xl md:text-6xl lg:text-7xl -mt-3 text-[var(--rv-primary)]",initial:{opacity:0,x:-40},animate:{opacity:1,x:0},transition:{delay:.25,duration:.8},children:"Wealth Starts"}),(0,t.jsx)(s.P.h1,{className:"font-bold text-4xl sm:text-5xl md:text-6xl lg:text-7xl -mt-3",initial:{opacity:0,x:-40},animate:{opacity:1,x:0},transition:{delay:.25,duration:.8},children:"Here"}),(0,t.jsx)(s.P.p,{initial:{opacity:0,x:-40},animate:{opacity:1,x:0},transition:{delay:.4,duration:.8},children:"Whether you're investing for freedom, family, or your future — it starts with a goal. Pick what matters most, and we'll build a personalized plan."}),(0,t.jsx)(s.P.div,{className:"flex gap-3 items-center flex-wrap",initial:{opacity:0}
1,animate:{opacity:1},transition:{delay:.6,duration:.8},children:(0,t.jsx)(i.A,{link:"/login",text:"Let’s Start Planning",Icon:n.eW4})})]})}),(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)("div",{className:"md:hidden",children:(0,t.jsx)(o.A,{title:"Our Globally 20K+ Clients.",variant:"light",align:"start"})}),(0,t.jsxs)("div",{className:"w-full p-5 py-6 border border-[var(--rv-white-light)] rounded-xl relative",children:[(0,t.jsx)("div",{className:"w-fit hidden md:block rounded-full whitespace-nowrap absolute top-0 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-[var(--rv-bg-secondary)] px-4",children:(0,t.jsx)(o.A,{title:"Our Globally 20K+ Clients.",variant:"light"})}),(0,t.jsxs)("div",{className:"w-full flex flex-col gap-5 whitespace-nowrap overflow-hidden relative",children:[(0,t.jsxs)("div",{className:"absolute inset-0 z-10 flex justify-between",children:[(0,t.jsx)("div",{className:"w-20 bg-gradient-to-l from-transparent to-[var(--rv-bg-secondary)]"}),(0,t.jsx)("div",{className:"w-20 bg-gradient-to-r from-transparent to-[var(--rv-bg-secondary)]"})]}),(0,t.jsx)("div",{className:"slider-row animate-right-left flex items-center gap-5",children:m.map((e,a)=>(0,t.jsx)("div",{onMouseEnter:()=>l(a),onMouseLeave:()=>l(null),className:"w-28 h-10 sm:w-32 sm:h-12 md:w-40 md:h-16 p-1 bg-[var(--rv-bg-white)] shadow-md border flex-shrink-0 rounded-lg",children:(0,t.jsx)("img",{src:"".concat("https://redvisionweb.com").concat(e.logo),alt:"Logo",className:"w-full h-full object-contain"})},a))})]})]})]})]})})})};var u=r(92253);let v=e=>{let{words:a,typingSpeed:r=120,pauseTime:l=1500}=e,[s,i]=(0,c.useState)(0),[n,o]=(0,c.useState)(""),[d,m]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{let e,t=a[s];return!d&&n.length<t.length?e=setTimeout(()=>{o(t.slice(0,n.length+1))},r):d||n.length!==t.length?d&&n.length>0?e=setTimeout(()=>{o(t.slice(0,n.length-1))},r/2):d&&0===n.length&&(m(!1),i(e=>(e+1)%a.length)):e=setTimeout(()=>m(!0),l),()=>clearTimeout(e)},[n,d,s,a,r,l]),(0,t.jsxs)("span",{style:{backgroundImage:"var(--rv-bg-gradient)"},className:"relative text-4xl sm:text-5xl lg:text-6xl xl:text-7xl 2xl:text-8xl font-bold leading-tight bg-clip-text text-transparent",children:[n,(0,t.jsxs)("span",{style:{backgroundImage:"var(--rv-bg-gradient)"},className:"animate-pulse text-4xl sm:text-5xl lg:text-6xl xl:text-7xl 2xl:text-8xl font-bold leading-tight bg-clip-text text-transparent",children:[" ","","|"]})]})};var x=r(88661),h=r.n(x),p=r(74551),g=r(55614);r(74062),r(18068);var f=r(46429),b=r(50700);let y=["Help Analyze","Analyze Support","Data Analysis","Evaluate Help"],j=e=>{let{stat:a,index:r}=e,{ref:l,inView:i}=(0,f.Wx)({triggerOnce:!0,threshold:.3}),n=(null==a?void 0:a.statsNumber)||"0",o=parseInt(n.replace(/[^\d]/g,""),10)||0,c=n.includes("+"),d=n.includes("%");return(0,t.jsxs)(s.P.div,{ref:l,className:"flex flex-col items-start",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.5,delay:.1*r},children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsxs)("h3",{className:"font-light",children:[i?(0,t.jsx)(b.Ay,{className:"sm:text-3xl text-2xl md:text-4xl lg:text-5xl xl:text-6xl",start:0,end:o,duration:2,separator:","}):"0",c&&"+",d&&"%"]}),(null==a?void 0:a.subtitle)&&(0,t.jsx)("h6",{className:"",children:a.subtitle})]}),(0,t.jsx)("p",{className:"font-medium text-[var(--rv-secondary)]",children:null==a?void 0:a.title})]})},w={theme1:m,theme2:()=>(0,t.jsx)("section",{className:"relative z-10 w-full bg-[var(--rv-bg-black)] p-2 md:p-4 text-[var(--rv-white)] overflow-hidden",children:(0,t.jsx)("div",{className:"w-full overflow-hidden rounded-xl bg-[var(--rv-bg-secondary)] relative z-10 before:content-[''] before:absolute before:inset-0 before:bg-[url('/images/vector1.webp')] before:bg-cover before:bg-center before:-z-10",children:(0,t.jsxs)("div",{className:"relative flex flex-col",children:[(0,t.jsxs)("div",{className:"px-4 relative",children:[(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row items-center justify-between gap-5 md:gap-10 w-full max-w-7xl mx-auto main-section",children:[(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("h1",{className:"text-4xl sm:text-5xl md:text-6xl lg:text-7xl xl:text-[5rem] font-bold",children:"Your Journey"}),(0,t.jsx)("h1",{className:"text-4xl sm:text-5xl md:text-6xl lg:text-7xl xl:text-[5rem] font-bold",children:"to Wealth"}),(0,t.jsx)("h1",{className:"text-4xl sm:text-5xl md:text-6xl lg:text-7xl xl:text-[5rem] text-[var(--rv-primary)] font-bold",children:"Starts Here"})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 items-start w-full lg:w-fit",children:[(0,t.jsx)("p",{className:"max-w-xs leading-relaxed",children:"Team of passionate tech experts delivering innovative IT solutions tailored to help businesses growth."}),(0,t.jsx)(i.A,{text:"Get Started",link:"/login"})]})]}),(0,t.jsx)("div",{className:"absolute -bottom-72 right-1/4 w-96 h-96 rounded-full bg-[var(--rv-bg-primary)] blur-[100px]"})]}),(0,t.jsx)("div",{className:"relative w-full sm:h-96 h-72 md:h-[30rem] rounded-xl bg-[url('/images/hero-banner.webp')] bg-cover bg-center",children:(0,t.jsx)("div",{className:"absolute md:top-0 top-4 md:right-60 sm:right-40 overflow-hidden p-2 bg-[var(--rv-bg-secondary)] rounded-full flex items-center justify-center right-2 lg:right-96 lg:w-48 md:w-40 sm:w-32 w-24 lg:h-48 md:h-40 sm:h-32 h-24 -translate-x-1/2 -translate-y-1/2",children:(0,t.jsxs)("div",{className:"w-full h-full bg-[var(--rv-bg-black)] z-10 relative rounded-full flex items-center justify-center",children:[(0,t.jsx)("div",{className:"w-[90%] h-[90%] absolute top-[5%] right-[5%] animate-spin -z-10",children:(0,t.jsxs)("svg",{viewBox:"0 0 200 200",className:"w-full h-full uppercase",children:[" ",(0,t.jsx)("circle",{cx:"100",cy:"100",r:"95"})," ",(0,t.jsxs)("defs",{children:[" ",(0,t.jsx)("path",{id:"circlePath",d:"M 100,100 m -75,0 a 75,75 0 1,1 150,0 a 75,75 0 1,1 -150,0"})," "]})," ",(0,t.jsxs)("text",{fill:"#fff",fontSize:"20",fontWeight:"900",letterSpacing:"2",textAnchor:"middle",className:"",children:[" ",(0,t.jsx)("textPath",{href:"#circlePath",startOffset:"50%",children:" Highest AUM Growth Award ● 2025 ●"})," "]})]})}),(0,t.jsx)("div",{className:"md:w-20 w-12 md:h-20 h-12 rounded-full flex items-center justify-center bg-[var(--rv-bg-primary)]",children:(0,t.jsx)(u.Nse,{className:"md:text-5xl text-3xl text-[var(--rv-bg-black)]"})})]})})})]})})}),theme3:()=>(0,t.jsxs)("section",{className:"relative overflow-hidden bg-gradient-to-b from-[var(--rv-bg-white)] to-[var(--rv-bg-primary)] px-4 text-[var(--rv-black)] sm:px-6 lg:px-8",children:[(0,t.jsx)("div",{className:"absolute inset-0 z-0 bg-[linear-gradient(rgba(0,69,245,.08)_1px,transparent_1px),linear-gradient(90deg,rgba(0,69,245,.08)_1px,transparent_1px)] bg-[size:64px_64px] [mask-image:radial-gradient(ellipse_80%_50%_at_50%_50%,black,transparent)]"}),(0,t.jsx)("div",{className:"relative z-10 main-section-top",children:(0,t.jsxs)("div",{className:"main-section mx-auto flex max-w-7xl flex-col items-center gap-10 sm:gap-12 lg:gap-14",children:[(0,t.jsxs)("div",{className:"mx-auto flex max-w-5xl flex-col items-center gap-4 pt-6 text-center sm:gap-5 sm:pt-10 md:pt-2",children:[(0,t.jsxs)("div",{className:"inline-flex max-w-full flex-wrap items-center justify-center gap-2 rounded-full border border-[var(--rv-bg-primary)] bg-[var(--rv-bg-white)] px-2 py-1 text-[10px] font-bold text-[var(--rv-primary)] backdrop-blur sm:px-3 sm:pr-4 sm:text-xs",children:[(0,t.jsx)("span",{className:"rounded-full bg-[var(--rv-bg-secondary)] px-3 py-1.5 text-[var(--rv-white)] sm:px-4 sm:py-2",children:"Registered"}),(0,t.jsx)("span",{className:"px-1 sm:px-0",children:"AMFI-Registered Mutual Fund Distributor"})]}),(0,t.jsxs)("h1",{className:"text-3xl font-light leading-tight text-[var(--rv-primary)] sm:text-5xl lg:text-6xl",children:["Build Long-Term Wealth Through"," ",(0,t.jsx)("b",{children:"Disciplined Mutual Fund Investing"})]}),(0,t.jsx)("p",{className:"max-w-xl px-2 text-sm opacity-90 sm:px-0 sm:text-base",children:"We help investors plan, invest, and monitor mutual fund portfolios with clarity, compliance, and long-term financial discipline."}),(0,t.jsx)("div",{className:"z-20 flex w-full flex-wrap items-center justify-center gap-4 sm:w-auto 
1sm:gap-5",children:(0,t.jsx)(i.A,{text:"Connect With Us",link:"/contact-us",className:"w-full sm:w-fit"})})]}),(0,t.jsxs)("div",{className:"relative z-10 w-full grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 items-end justify-end",children:[(0,t.jsxs)("div",{className:"flex h-full flex-col gap-3 rounded-xl bg-[var(--rv-bg-primary)] p-4 text-[var(--rv-white)] sm:p-5",children:[(0,t.jsx)("p",{children:"Facilitating investments in mutual fund schemes regulated by SEBI."}),(0,t.jsx)("p",{children:(0,t.jsx)("b",{children:"AMFI-Registered Mutual Fund Distributor"})}),(0,t.jsx)("div",{className:"h-56 w-full overflow-hidden rounded-xl sm:h-64 lg:h-72",children:(0,t.jsx)("img",{src:"/images/investor.avif",className:"h-full w-full object-cover object-top",alt:"Mutual Fund Information"})})]}),(0,t.jsxs)("div",{className:"relative z-10 flex flex-col gap-3 overflow-hidden rounded-xl bg-gradient-to-r from-[var(--rv-bg-primary)] to-[var(--rv-bg-primary-dark)] p-4 text-[var(--rv-white)] sm:p-5",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4 sm:gap-5",children:[(0,t.jsx)("h1",{className:"text-3xl font-semibold leading-none sm:text-4xl",children:"2000+"}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("h6",{children:"Accounts Assisted"}),(0,t.jsx)("p",{children:"Supporting investors across SIPs, lump sum investments, redemptions, and portfolio servicing needs."})]})]}),(0,t.jsx)("div",{className:"absolute right-0 top-0 -z-10 w-28 opacity-60 sm:w-auto sm:opacity-100",children:(0,t.jsx)("img",{src:"/images/hero-info-item-bg.png",className:"h-full w-full object-contain",alt:"Mutual Fund Services"})})]}),(0,t.jsxs)("div",{className:"flex h-full flex-col gap-6 rounded-xl bg-gradient-to-b from-transparent via-transparent to-[var(--rv-bg-white)] p-4 sm:gap-8 sm:p-5",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("h6",{children:"Focused on Long-Term Investor Relationships"}),(0,t.jsx)("p",{children:"Supporting investors through compliant platforms with a clear and disciplined investment approach."})]}),(0,t.jsx)("div",{className:"w-full h-[1px] bg-gradient-to-r from-[var(--rv-bg-primary)] to-[var(--rv-bg-primary)]"}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("h6",{children:"Years of Distribution Experience"}),(0,t.jsx)("p",{children:"Supporting investors with structured mutual fund transactions."})]})]}),(0,t.jsxs)("div",{className:"flex  flex-col gap-3 rounded-xl bg-gradient-to-r from-[var(--rv-bg-primary)] to-[var(--rv-bg-primary-dark)] p-5 text-[var(--rv-white)] sm:p-7",children:[(0,t.jsx)("h6",{children:"Compliance-Driven & Investor-Focused"}),(0,t.jsx)("div",{className:" w-full overflow-hidden rounded-xl sm:h-64 lg:h-72",children:(0,t.jsx)("img",{src:"/images/hero-item-image.png",className:"h-full w-full object-contain",alt:"Mutual Fund Access"})})]})]})]})})]}),theme4:()=>{let[e,a]=(0,c.useState)("");return(0,t.jsx)("div",{className:"lg:px-3 lg:rounded-xl overflow-hidden ",children:(0,t.jsx)("section",{className:"w-full flex items-center px-4 lg:rounded-xl overflow-hidden text-[var(--rv-white)] relative z-10 bg-gradient-to-tl from-[var(--rv-bg-primary)] via-[var(--rv-bg-secondary)] to-[var(--rv-bg-secondary)]",children:(0,t.jsx)("div",{className:"max-w-7xl mx-auto main-section w-full",children:(0,t.jsxs)("div",{className:"flex flex-col md:gap-8 lg:gap-12 gap-5 z-10",children:[(0,t.jsxs)("div",{className:"inline-flex items-center gap-2 bg-[var(--rv-bg-white-light)] w-fit backdrop-blur-sm px-5 py-2 rounded-full border border-[var(--rv-bg-white-light)]",children:[(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"w-2 h-2 bg-[var(--rv-bg-primary)] rounded-full animate-pulse"})}),(0,t.jsx)("span",{className:"font-light tracking-widest text-[var(--rv-white)] capitalize",children:"50K+ Trusted Business"})]}),(0,t.jsxs)("div",{className:"",children:[(0,t.jsxs)("h1",{className:"text-4xl sm:text-5xl lg:text-6xl xl:text-7xl 2xl:text-8xl font-bold leading-tight",children:["Your Financial Goal "," "]}),(0,t.jsx)("div",{className:"",children:(0,t.jsx)(v,{words:["Retirement","Vacation.","Marriage.","Child’s Education.","Wealth Creation."]})})]}),(0,t.jsxs)("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-
15",children:[(0,t.jsx)("div",{className:"w-full bg-[var(--rv-bg-white-light)] backdrop-blur-sm p-5 rounded-xl",children:(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{style:{backgroundImage:"var(--rv-bg-gradient)"},className:"font-bold bg-clip-text text-transparent",children:"50K+"}),(0,t.jsx)("div",{className:"",children:"Active Users"})]}),(0,t.jsx)("div",{className:"w-full h-px bg-[var(--rv-bg-primary)] opacity-30"}),(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("div",{className:"md:w-12 md:h-12 w-10 h-10 -ml-2 overflow-hidden rounded-full border-2",children:(0,t.jsx)("img",{src:"/images/1.png",className:"w-full h-full object-cover",alt:""})}),(0,t.jsx)("div",{className:"md:w-12 md:h-12 w-10 h-10 -ml-2 overflow-hidden rounded-full border-2",children:(0,t.jsx)("img",{src:"/images/2.png",className:"w-full h-full object-cover",alt:""})}),(0,t.jsx)("div",{className:"md:w-12 md:h-12 w-10 h-10 -ml-2 overflow-hidden rounded-full border-2",children:(0,t.jsx)("img",{src:"/images/3.png",className:"w-full h-full object-cover",alt:""})}),(0,t.jsx)("div",{className:"md:w-12 md:h-12 w-10 h-10 -ml-2 overflow-hidden rounded-full border-2",children:(0,t.jsx)("img",{src:"/images/1.png",className:"w-full h-full object-cover",alt:""})}),(0,t.jsx)("div",{className:"md:w-12 md:h-12 w-10 h-10 -ml-2 overflow-hidden rounded-full border-2",children:(0,t.jsx)("img",{src:"/images/2.png",className:"w-full h-full object-cover",alt:""})}),(0,t.jsx)("div",{className:"md:w-12 md:h-12 w-10 h-10 -ml-2 overflow-hidden rounded-full border-2",children:(0,t.jsx)("img",{src:"/images/3.png",className:"w-full h-full object-cover",alt:""})})]})]})}),(0,t.jsx)("div",{className:"w-full bg-[var(--rv-bg-white-light)] backdrop-blur-sm p-5 rounded-xl",children:(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{style:{backgroundImage:"var(--rv-bg-gradient)"},className:"font-bold bg-clip-text text-transparent",children:"4.9 ★"}),(0,t.jsx)("p",{className:"",children:"App Rating"})]}),(0,t.jsx)("h6",{className:"",children:"Based on 12,000+ verified reviews"})]})}),(0,t.jsxs)("div",{className:"w-full lg:col-span-2 flex flex-col gap-5 md:gap-8",children:[(0,t.jsx)("p",{className:"",children:"Retire early. Fund your child’s dream education. Plan the perfect vacation or a secure marriage. We help you turn life goals into a clear, achievable financial plan."}),(0,t.jsxs)("div",{className:"w-full rounded-full pr-1 overflow-hidden border border-[var(--rv-bg-white-light)] bg-[var(--rv-bg-secondary-dark)] shadow-[0_0_10px_var(--rv-primary)] flex items-center",children:[(0,t.jsx)("input",{className:"w-full h-full p-4 bg-transparent text-[var(--rv-white)] placeholder-white/80 md:px-6 outline-none",placeholder:"Email Address"}),(0,t.jsx)("div",{className:"flex-shrink-0 hidden sm:block",children:(0,t.jsx)(i.A,{text:"Get Started",link:"/login"})})]}),(0,t.jsx)("div",{className:"flex-shrink-0 sm:hidden block",children:(0,t.jsx)(i.A,{text:"Get Started",link:"/login"})})]})]})]})})})})},theme5:e=>{let{stats:a}=e;return(0,t.jsx)("section",{className:"relative w-full overflow-hidden bg-[var(--rv-white)] main-section-top flex items-center justify-center",children:(0,t.jsxs)("section",{className:"jsx-61a5cfa1139b9a65 px-4 w-full",children:[(0,t.jsxs)("div",{className:"jsx-61a5cfa1139b9a65 absolute inset-0 pointer-events-none",children:[(0,t.jsx)("span",{className:"jsx-61a5cfa1139b9a65 circle circle-1 bg-[var(--rv-blue)]"}),(0,t.jsx)("span",{className:"jsx-61a5cfa1139b9a65 circle circle-2 bg-[var(--rv-blue)]"}),(0,t.jsx)("span",{className:"jsx-61a5cfa1139b9a65 circle circle-3 bg-[var(--rv-pink)]"}),(0,t.jsx)("span",{className:"jsx-61a5cfa1139b9a65 circle circle-4 bg-[var(--rv-yellow)]"}),(0,t.jsx)("span",{className:"jsx-61a5cfa1139b9a65 circle circle-5 bg-[var(--rv-green)]"}),(0,t.jsx)("span",{className:"jsx-61a5cfa1139b9a65 circle circle-6 bg-[var(--rv-purple)]"})]}),(0,t.jsxs)("div",{className:"jsx-61a5cfa1139b9a65 relative z-10 flex flex-col items-center gap-6 justify-center text-center w-full h-full max-w-7xl mx-auto main-section",children:[(0,t.jsx)("h6",{className:"jsx-61a5cfa1139b9a65 uppercase tracking-widest font-medium animate-subtitle",children:"Improve Your"}),(0,t.jsxs)("div",{className:"jsx-61a5cfa1139b9a65 w-full h-[80px] sm:h-[120px] md:h-[140px] lg:h-[150px] xl:h-[160px] relative overflow-hidden",children:[(0,t.jsx)(p.RC,{direction:"vertical",slidesPerView:1,loop:!0,mousewheel:{forceToAxis:!0},autoplay:{delay:2e3,disableOnInteraction:!1},modules:[g.FJ,g.Ij],className:"h-full",children:y.map((e,a)=>(0,t.jsx)(p.qr,{children:(0,t.jsx)("h1",{className:"jsx-61a5cfa1139b9a65 flex items-center justify-center h-full text-4xl sm:text-6xl md:text-7xl lg:text-8xl xl:text-9xl font-semibold",children:e})},a))}),(0,t.jsx)("div",{className:"jsx-61a5cfa1139b9a65 absolute w-full h-full top-0 left-0 bg-[var(--rv-bg-black-light)] z-10"})]}),(0,t.jsx)("p",{className:"jsx-61a5cfa1139b9a65 max-w-xl text-[var(--rv-gray-dark)]",children:"We develop the relationships that underpin the next phase in your organisation’s growth."}),(0,t.jsx)(i.A,{text:"Get Consultant",link:"/contact-us"}),(0,t.jsx)("div",{className:"jsx-61a5cfa1139b9a65 w-full mt-10",children:(0,t.jsx)("div",{className:"jsx-61a5cfa1139b9a65 w-full grid grid-cols-2 lg:grid-cols-4 gap-
15",children:null==a?void 0:a.map((e,a)=>(0,t.jsx)(j,{stat:e,index:a},a))})})]}),(0,t.jsx)(h(),{id:"61a5cfa1139b9a65",children:".circle.jsx-61a5cfa1139b9a65{position:absolute;width:420px;height:420px;border-radius:50%;filter:blur(140px);opacity:.8}.circle-1.jsx-61a5cfa1139b9a65{top:10%;left:5%;animation:move1 28s infinite alternate}.circle-2.jsx-61a5cfa1139b9a65{top:15%;right:5%;animation:move2 30s infinite alternate}.circle-3.jsx-61a5cfa1139b9a65{bottom:15%;left:30%;animation:move3 26s infinite alternate}.circle-4.jsx-61a5cfa1139b9a65{bottom:10%;right:25%;animation:move4 32s infinite alternate}.circle-5.jsx-61a5cfa1139b9a65{top:20%;left:10%;animation:move5 28s infinite alternate}.circle-6.jsx-61a5cfa1139b9a65{top:20%;right:10%;animation:move6 28s infinite alternate}@keyframes move1{to{transform:translate(60vw,30vh)}}@keyframes move2{to{transform:translate(-10vw,40vh)}}@keyframes move3{to{transform:translate(90vw,-40vh)}}@keyframes move4{to{transform:translate(-10vw,-30vh)}}@keyframes move3{to{transform:translate(10vw,10vh)}}@keyframes move4{to{transform:translate(-80vw,70vh)}}.animate-subtitle.jsx-61a5cfa1139b9a65{animation:fadeUp 1.3s ease forwards}@keyframes fadeUp{from{opacity:0;transform:translatey(20px)}to{opacity:1;transform:translatey(0)}}"})]})})}};function N(e){let{amcLogosData:a,stats:r}=e,{theme:s}=(0,l.D)(),i=w[s]||m;return(0,t.jsx)(i,{amcLogosData:a,stats:r})}},18619:(e,a,r)=>{"use strict";r.d(a,{default:()=>p});var t=r(95155),l=r(41855),s=r(12115),i=r(50742),n=r(33828),o=r(9342),c=r(52619),d=r.n(c),m=r(75120),u=r(21232),v=r(70898);let x=e=>{var a;let{blog:r}=e,[l,c]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{let e=setTimeout(()=>c(!1),1200);return()=>clearTimeout(e)},[]),(0,t.jsx)("div",{className:"bg-[var(--rv-bg-white)] px-4",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section flex flex-col items-center gap-5 md:gap-8",children:[(0,t.jsx)(m.A,{title:"Delightstarfin  RESEARCH",heading:"Latest market intelligence",description:"Stay informed with deep dives and actionable perspectives from our research desk."}),(0,t.jsx)(o.P.div,{variants:{hidden:{},show:{transition:{staggerChildren:.2}}},initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.2},className:"grid lg:grid-cols-3 gap-5 md:grid-cols-2 grid-cols-1 w-full",children:l?Array.from({length:3}).map((e,a)=>(0,t.jsxs)("div",{className:"bg-[var(--rv-bg-secondary-light)] rounded-xl overflow-hidden animate-pulse flex flex-col",children:[(0,t.jsx)("div",{className:"h-56 bg-[var(--rv-bg-gray)] w-full"}),(0,t.jsxs)("div",{className:"p-6 flex flex-col gap-3",children:[(0,t.jsx)("div",{className:"w-24 h-4 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-3/4 h-6 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-full h-4 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-1/2 h-4 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-24 h-4 bg-[var(--rv-bg-gray)] rounded mt-2"})]})]},a)):null==r||null==(a=r.slice(0,3))?void 0:a.map((e,a)=>{var r;return(0,t.jsxs)(o.P.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.1*a},className:"bg-[var(--rv-bg-white)] rounded-xl overflow-hidden duration-300 hover:-translate-y-1 flex flex-col",children:[(0,t.jsx)("div",{className:"h-60 overflow-hidden rounded-xl",children:(0,t.jsx)(o.P.img,{src:null==e||null==(r=e.image)?void 0:r.url,alt:null==e?void 0:e.posttitle,className:"w-full h-full object-cover hover:scale-105 transition-transform duration-500",whileHover:{scale:1.05}})}),(0,t.jsxs)("div",{className:"p-6 flex flex-col flex-grow gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center  text-[var(--rv-black)]",children:[(0,t.jsx)(i.u$_,{className:"w-4 h-4 mr-2"}),new Date(null==e?void 0:e.createdAt).toDateString()]}),(0,t.jsx)("h6",{className:"font-bold leading-snug line-clamp-2",children:null==e?void 0:e.metatitle}),(0,t.jsx)("p",{className:"text-[var(--rv-black)] opacity-80 flex-grow line-clamp-2",children:null==e?void 0:e.description}),(0,t.jsxs)(d(),{href:"/blogs/".concat(null==e?void 0:e.slug),className:"inline-flex items-center text-[var(--rv-primary)] font-semibold transition-colors group",children:["Read insights",(0,t.jsx)(n.Z0P,{className:"w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform"})]})]})]},a)})}),!l&&(0,t.jsx)(u.A,{link:"/blogs",text:"All Blogs",Icon:v.eW4})]})})},h={theme1:x,theme2:e=>{var a;let{blog:r}=e;return(0,t.jsx)("div",{className:"px-4 bg-[var(--rv-bg-black)]",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section flex flex-col gap-5 md:gap-8",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4 flex-col md:flex-row",children:[(0,t.jsx)(m.A,{align:"start",title:"Market Insights",heading:"Expert Views to Guide Your Investment Journey",variant:"light"}),(0,t.jsx)(u.A,{link:"/blogs",text:"All Blogs"})]}),(0,t.jsx)("div",{className:"grid md:grid-cols-2 grid-cols-1 gap-8",children:null==r||null==(a=r.slice(0,4))?void 0:a.map((e,a)=>{var r;return(0,t.jsxs)("div",{className:"group bg-[var(--rv-bg-secondary)] md:h-64 grid grid-cols-1 md:grid-cols-3 rounded-xl overflow-hidden transition-all duration-300",children:[(0,t.jsxs)("div",{className:"relative overflow-hidden",children:[(0,t.jsx)("img",{src:null==e||null==(r=e.image)?void 0:r.url,alt:null==e?void 0:e.posttitle,className:"w-full h-full object-cover transform group-hover:scale-110 transition-transform duration-500"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-[var(--rv-black)] to-transparent"}),(0,t.jsxs)("div",{className:"absolute bottom-3 left-4 flex items-center text-[var(--rv-white)]",children:[(0,t.jsx)(i.u$_,{className:"w-4 h-4 mr-2"}),new Date(null==e?void 0:e.createdAt).toDateString()]})]}),(0,t.jsxs)("div",{className:"p-6 flex flex-col justify-between gap-3 col-span-2",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)("h6",{className:"line-clamp-2 font-bold leading-snug group-hover:text-[var(--rv-primary-dark)] transition-colors",children:null==e?void 0:e.metatitle}),(0,t.jsx)("p",{className:"line-clamp-2",children:null==e?void 0:e.posttitle}),(0,t.jsx)("p",{className:"line-clamp-2",children:null==e?void 0:e.description})]}),(0,t.jsxs)(d(),{href:"/blogs/".concat(null==e?void 0:e.slug),className:"inline-flex items-center font-semibold transition-colors group",children:["Read insights",(0,t.jsx)(n.Z0P,{className:"w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform"})]})]})]},a)})})]})})},theme3:e=>{var a;let{blog:r}=e;return(0,t.jsx)("div",{className:"bg-[var(--rv-bg-white)] px-4 relative overflow-hidden",children:(0,t.jsxs)("div",{className:"max-w-7xl w-full mx-auto main-section flex flex-col items-center gap-5 md:gap-8",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-5 w-full flex-wrap",children:[(0,t.jsx)(m.A,{variant:"light",align:"start",heading:"Latest Market Intelligence",description:"Stay informed with deep dives and actionable perspectives from our research desk."}),(0,t.jsx)("div",{className:"",children:(0,t.jsx)(u.A,{link:"/blogs",text:"View All Blogs"})})]}),(0,t.jsx)("div",{className:"grid md:grid-cols-3 gap-8",children:null==r||null==(a=r.slice(0,3))?void 0:a.map((e,a)=>{var r;return(0,t.jsx)(d(),{href:"/blogs/".concat(null==e?void 0:e.slug),children:(0,t.jsx)("div",{className:"group relative",children:(0,t.jsxs)("div",{className:"relative h-full backdrop-blur-md rounded-2xl overflow-hidden border border-[var(--rv-gray-dark)] hover:border-[var(--rv-primary)]/50 transition-all duration-500 flex flex-col",children:[(0,t.jsxs)("div",{className:"relative h-64 overflow-hidden",children:[(0,t.jsx)("img",{src:null==e||null==(r=e.image)?void 0:r.url,alt:null==e?void 0:e.posttitle,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-700"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-[var(--rv-gray-dark)] via-trans
1parent to-transparent opacity-60 group-hover:opacity-40 transition-opacity duration-300"})]}),(0,t.jsxs)("div",{className:"p-8 flex flex-col flex-grow",children:[(0,t.jsxs)("div",{className:"flex items-center text-[var(--rv-primary)] font-semibold mb-4",children:[(0,t.jsx)(i.u$_,{className:"w-4 h-4 mr-2"}),new Date(null==e?void 0:e.createdAt).toDateString()]}),(0,t.jsx)("h3",{className:"text-xl font-bold text-[var(--rv-black)] mb-3 leading-snug group-hover:text-[var(--rv-primary)] transition-colors duration-300 line-clamp-1",children:null==e?void 0:e.metatitle}),(0,t.jsx)("p",{className:"line-clamp-2 flex-grow mb-6 leading-relaxed",children:null==e?void 0:e.description}),(0,t.jsxs)(d(),{href:"/blogs/".concat(null==e?void 0:e.slug),className:"inline-flex items-center text-[var(--rv-primary)] font-semibold transition-colors group",children:["Read insights",(0,t.jsx)(n.Z0P,{className:"w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform"})]})]})]})})},a)})})]})})},theme4:e=>{var a;let{blog:r}=e,[l,c]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{let e=setTimeout(()=>c(!1),1200);return()=>clearTimeout(e)},[]),(0,t.jsx)("div",{className:"bg-[var(--rv-bg-white)] px-4",children:(0,t.jsx)("div",{className:"main-section border-b",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto flex flex-col items-center gap-5 md:gap-8",children:[(0,t.jsx)(m.A,{title:"Delightstarfin  RESEARCH",heading:"Latest market intelligence",description:"Stay informed with deep dives and actionable perspectives from our research desk."}),(0,t.jsx)(o.P.div,{variants:{hidden:{},show:{transition:{staggerChildren:.2}}},initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.2},className:"grid lg:grid-cols-3 gap-5 md:grid-cols-2 grid-cols-1 w-full",children:l?Array.from({length:3}).map((e,a)=>(0,t.jsxs)("div",{className:"bg-[var(--rv-bg-secondary-light)] rounded-xl overflow-hidden animate-pulse flex flex-col",children:[(0,t.jsx)("div",{className:"h-56 bg-[var(--rv-bg-gray)] w-full"}),(0,t.jsxs)("div",{className:"p-6 flex flex-col gap-3",children:[(0,t.jsx)("div",{className:"w-24 h-4 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-3/4 h-6 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-full h-4 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-1/2 h-4 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-24 h-4 bg-[var(--rv-bg-gray)] rounded mt-2"})]})]},a)):null==r||null==(a=r.slice(0,3))?void 0:a.map((e,a)=>{var r;return(0,t.jsxs)(o.P.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.1*a},className:"bg-[var(--rv-bg-white)] rounded-xl overflow-hidden duration-300 hover:-translate-y-1 flex flex-col",children:[(0,t.jsx)("div",{className:"h-56 overflow-hidden",children:(0,t.jsx)(o.P.img,{src:null==e||null==(r=e.image)?void 0:r.url,alt:null==e?void 0:e.posttitle,className:"w-full h-full object-cover hover:scale-105 transition-transform duration-500",whileHover:{scale:1.05}})}),(0,t.jsxs)("div",{className:"p-6 flex flex-col flex-grow gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center  text-[var(--rv-black)]",children:[(0,t.jsx)(i.u$_,{className:"w-4 h-4 mr-2"}),new Date(null==e?void 0:e.createdAt).toDateString()]}),(0,t.jsx)("h6",{className:"font-bold leading-snug line-clamp-2 text-[var(--rv-primary)]",children:null==e?void 0:e.metatitle}),(0,t.jsx)("p",{className:"text-[var(--rv-black)] flex-grow line-clamp-2",children:null==e?void 0:e.description}),(0,t.jsxs)(d(),{href:"/blogs/".concat(null==e?void 0:e.slug),className:"inline-flex items-center text-[var(--rv-primary-dark)] font-semibold transition-colors group",children:["Read insights",(0,t.jsx)(n.Z0P,{className:"w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform"})]})]})]},a)})}),!l&&(0,t.jsx)(u.A,{link:"/blogs",text:"All Blogs",className:"border border-[var(--rv-primary)]"})]})})})},theme5:e=>{var a;let{blog:r}=e,[l,c]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{let e=setTimeout(()=>c(!1),1200);return()=>clearTimeout(e)},[]),(0,t.jsx)("div",{className:"bg-[var(--rv-bg-white)] px-4",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section flex flex-col items-center gap-5 md:gap-8",children:[(0,t.jsxs)("div",{className:"flex items-center flex-wrap justify-between gap-5 w-full",children:[(0,t.jsx)(m.A,{align:"start",title:"Delightstarfin  RESEARCH",heading:"Latest Market Updates",highlight:"Market",description:"Read fresh research, news highlights, and expert commentary from our analysts"}),!l&&(0,t.jsx)(u.A,{link:"/blogs",text:"View All Blogs  ",className:"hover:bg-[var(--rv-bg-secondary)] bg-[var(--rv-bg-primary)] text-[var(--rv-white)]"})]}),(0,t.jsx)(o.P.div,{variants:{hidden:{},show:{transition:{staggerChildren:.2}}}
1,initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.2},className:"grid lg:grid-cols-3 gap-5 md:grid-cols-2 grid-cols-1 w-full",children:l?Array.from({length:3}).map((e,a)=>(0,t.jsxs)("div",{className:"bg-[var(--rv-bg-secondary-light)] rounded-xl overflow-hidden animate-pulse flex flex-col",children:[(0,t.jsx)("div",{className:"h-56 bg-[var(--rv-bg-gray)] w-full"}),(0,t.jsxs)("div",{className:"p-6 flex flex-col gap-3",children:[(0,t.jsx)("div",{className:"w-24 h-4 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-3/4 h-6 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-full h-4 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-1/2 h-4 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-24 h-4 bg-[var(--rv-bg-gray)] rounded mt-2"})]})]},a)):null==r||null==(a=r.slice(0,3))?void 0:a.map((e,a)=>{var r;return(0,t.jsxs)(o.P.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.1*a},className:"bg-[var(--rv-bg-white)] border rounded-xl overflow-hidden duration-300 hover:-translate-y-1 flex flex-col",children:[(0,t.jsx)("div",{className:"h-56 overflow-hidden",children:(0,t.jsx)(o.P.img,{src:null==e||null==(r=e.image)?void 0:r.url,alt:null==e?void 0:e.posttitle,className:"w-full h-full object-cover hover:scale-105 transition-transform duration-500",whileHover:{scale:1.05}})}),(0,t.jsxs)("div",{className:"p-6 flex flex-col flex-grow gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center  text-[var(--rv-black)]",children:[(0,t.jsx)(i.u$_,{className:"w-4 h-4 mr-2"}),new Date(null==e?void 0:e.createdAt).toDateString()]}),(0,t.jsx)("h6",{className:"font-bold leading-snug line-clamp-2",children:null==e?void 0:e.metatitle}),(0,t.jsxs)(d(),{href:"/blogs/".concat(null==e?void 0:e.slug),className:"inline-flex items-center text-[var(--rv-black)] font-semibold transition-colors group",children:["Read insights",(0,t.jsx)(n.Z0P,{className:"w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform"})]})]})]},a)})})]})})}};function p(e){let{blog:a}=e,{theme:r}=(0,l.D)(),s=h[r]||x;return(0,t.jsx)(s,{blog:a})}},21232:(e,a,r)=>{"use strict";r.d(a,{A:()=>d});var t=r(95155),l=r(41855);r(12115);var s=r(52619),i=r.n(s);let n=e=>{let{text:a="Click Me",onClick:r,type:l="button",Icon:s,className:n="",link:o,disabled:c=!1}=e,d="\n    ".concat(n,"\n    relative overflow-hidden w-fit\n    after:absolute after:w-full after:h-full\n    after:bg-[var(--rv-bg-secondary)]\n    after:-bottom-full after:hover:bottom-0\n    after:-z-10 z-10\n    after:transition-all after:duration-300\n    bg-[var(--rv-bg-primary)]\n    border border-[var(--rv-primary)]\n    text-[var(--rv-secondary)]\n    hover:text-[var(--rv-white)]\n    px-5 py-2 rounded-lg\n    transition-all duration-300\n    flex items-center justify-center\n    ").concat(c?"opacity-50 cursor-not-allowed pointer-events-none bg-[var(--rv-gray-light)] border-[var(--rv-gray-light)] text-[var(--rv-gray-dark)]":"","\n  "),m=(0,t.jsxs)(t.Fragment,{children:[a,s&&(0,t.jsx)(s,{className:"ml-2 w-4 h-4"})]});return o?c?(0,t.jsx)("span",{className:d,"aria-disabled":"true",children:m}):(0,t.jsx)(i(),{href:o,className:d,"aria-label":a,children:m}):(0,t.jsx)("button",{type:l,onClick:c?void 0:r,disabled:c,className:d,"aria-label":a,children:m})};var o=r(33828);let c={theme1:n,theme2:e=>{let{text:a="Click Me",onClick:r,type:l="button",className:s="",link:n,disabled:c=!1,variant:d}=e,m="choice"===d||"choice-active"===d,u="\n    relative overflow-hidden\n    flex items-center justify-center gap-4\n    font-medium border\n    transition-all duration-500\n    ".concat(c?"opacity-40 cursor-not-allowed pointer-events-none bg-[var(--rv-primary)] text-[var(--rv-black)]":m?"".concat("choice-active"===d?"bg-[var(--rv-primary)] text-[var(--rv-black)] border-[var(--rv-primary)]":"bg-[var(--rv-bg-secondary-light)] text-[var(--rv-text)] border-[var(--rv-border)] hover:border-[var(--rv-primary)] hover:text-[var(--rv-primary)]"):"bg-[var(--rv-primary)] text-[var(--rv-black)] hover:text-[var(--rv-white)] border-[var(--rv-primary)]","\n    \n    ").concat(!c&&"\n      z-10\n      after:content-[''] after:absolute after:top-1/2 after:right-0\n      after:translate-x-1/2 after:-translate-y-1/2\n      after:w-0 after:h-0 after:bg-[var(--rv-bg-black)] after:-z-10\n      after:transition-all after:duration-500\n      hover:after:w-[1000px] hover:after:h-[300px] after:rounded-full\n    ","\n    \n    ").concat(m?"rounded-xl":"rounded-full","\n    ").concat(s,"\n  "),v=m?(0,t.jsx)("span",{className:"px-5 py-2 text-center",children:a}):(0,t.jsxs)("div",{className:"flex items-center gap-3 pl-5",children:[(0,t.jsx)("p",{className:"p-1",children:a}),(0,t.jsx)("div",{className:"w-10 h-10 bg-[var(--rv-bg-black)] text-[var(--rv-white)] rounded-full flex items-center justify-center",children:(0,t.jsx)(o.j6T,{className:c?"":"animate-bounce1"})})]}
1),x=m?{clipPath:"polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%)"}:void 0;return n?c?(0,t.jsx)("span",{className:u,style:x,"aria-disabled":"true",children:v}):(0,t.jsx)(i(),{href:n,className:u,style:x,"aria-label":a,children:v}):(0,t.jsx)("button",{type:l,onClick:c?void 0:r,disabled:c,className:u,style:x,"aria-label":a,children:v})},theme3:e=>{let{text:a="Click Me",onClick:r,type:l="button",Icon:s="",className:n="",link:o,disabled:c=!1}=e,d="w-fit\n    ".concat(n,"\n    bg-gradient-to-r from-[var(--rv-bg-primary)] to-[var(--rv-bg-primary-dark)]\n    hover:to-[var(--rv-bg-primary)] hover:from-[var(--rv-bg-primary-dark)]\n    text-[var(--rv-white)]\n    px-4 py-2.5 rounded-lg\n    duration-300 transition-all\n    flex items-center justify-center gap-2\n    ").concat(c?"opacity-40 cursor-not-allowed pointer-events-none":"","\n  "),m=(0,t.jsxs)(t.Fragment,{children:[a,s]});return o?c?(0,t.jsx)("span",{className:d,"aria-disabled":"true",children:m}):(0,t.jsx)(i(),{href:o,className:d,"aria-label":a,children:m}):(0,t.jsx)("button",{type:l,onClick:c?void 0:r,disabled:c,className:d,"aria-label":a,children:m})},theme4:e=>{let{text:a="Click Me",onClick:r,type:l="button",className:s="",link:n,disabled:c=!1}=e,d="w-fit\n    relative overflow-hidden\n    flex items-center justify-center gap-4\n    font-medium rounded-full group\n    transition-all duration-500 \n    ".concat(c?"opacity-40 cursor-not-allowed pointer-events-none bg-[var(--rv-primary)] text-[var(--rv-black)]":"bg-[var(--rv-primary)] text-[var(--rv-white)] hover:text-[var(--rv-black)] hover:bg-[var(--rv-white)] border border-[var(--rv-primary)] hover:border-[var(--rv-black)]","\n    ").concat(s,"\n  "),m=(0,t.jsxs)("div",{className:"flex items-center gap-3 pl-5 p-1",children:[(0,t.jsx)("p",{className:"",children:a}),(0,t.jsx)("div",{className:"w-9 h-9 bg-[var(--rv-bg-white)] group-hover:bg-[var(--rv-bg-black)] group-hover:text-[var(--rv-white)] text-[var(--rv-black)] rounded-full flex items-center justify-center",children:(0,t.jsx)(o.j6T,{className:c?"":"animate-bounce1"})})]});return n?c?(0,t.jsx)("span",{className:d,"aria-disabled":"true",children:m}):(0,t.jsx)(i(),{href:n,className:d,"aria-label":a,children:m}):(0,t.jsx)("button",{type:l,onClick:c?void 0:r,disabled:c,className:d,"aria-label":a,children:m})},theme5:e=>{let{text:a="Click Me",onClick:r,type:l="button",Icon:s,className:n,link:o,variant:c="dark",disabled:d=!1}=e,m=(0,t.jsxs)(t.Fragment,{children:[a,s&&(0,t.jsx)(s,{className:"ml-2"})]}),u="".concat(n," ").concat("light"===c?"after:bg-[var(--rv-bg-secondary-light)] hover:text-[var(--rv-black)] ":"after:bg-[var(--rv-bg-secondary)]"," after:w-full after:h-full after:absolute relative after:bg-[var(--rv-bg-secondary)] after:-bottom-full after:hover:bottom-0 after:-z-10 z-10 after:duration-300 after:transition-all overflow-hidden bg-[var(--rv-bg-primary)] text-[var(--rv-white)] px-8 py-2.5 rounded-full duration-300 transition-all flex items-center justify-center w-fit ").concat(d?"opacity-50 cursor-not-allowed pointer-events-none bg-[var(--rv-gray-light)] text-[var(--rv-gray-dark)]":"");return o?d?(0,t.jsx)("span",{className:u,"aria-disabled":"true",children:m}):(0,t.jsx)(i(),{href:o,className:u,children:m}):(0,t.jsx)("button",{type:l,onClick:d?void 0:r,disabled:d,className:u,children:m})}};function d(e){let{text:a,onClick:r,type:s,Icon:i,className:o,link:d,disabled:m,variant:u}=e,{theme:v}=(0,l.D)(),x=c[v]||n;return(0,t.jsx)(x,{text:a,onClick:r,type:s,Icon:i,link:d,className:o,disabled:m,variant:u})}},21440:(e,a,r)=>{"use strict";r.d(a,{A:()=>o});var t=r(95155);r(12115);var l=r(15239),s=r(75120),i=r(52619),n=r.n(i);let o=e=>{let{sitedata:a}=e,r=null==a?void 0:a.appsplaystoreurl,i=null==a?void 0:a.appsappleurl;return(0,t.jsx)("section",{className:"relative w-full overflow-hidden bg-[var(--rv-bg-primary)] px-4 pt-10 lg:px-0 ",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto grid grid-cols-1 lg:grid-cols-2 items-center md:gap-5 gap-10",children:[(0,t.jsxs)("div",{className:"order-1 lg:order-2 text-[var(--rv-white)] max-w-xl mx-auto lg:mx-0 flex flex-col gap-8",children:[(0,t.jsx)(s.A,{align:"start",variant:"light",title:"Download Our Apps",heading:" Get paid easily and securely with our payment gateway",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."}),(0,t.jsxs)("div",{className:"flex gap-4 flex-wrap",children:[r?(0,t.jsx)(n(),{href:r,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)(l.default,{unoptimized:!0,src:"/images/gplay.png",alt:"Google Play",width:160,height:50})}):(0,t.jsx)(l.default,{unoptimized:!0,src:"/images/gplay.png",alt:"Google Play",width:160,height:50}),i?(0,t.jsx)(n(),{href:i,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)(l.default,{unoptimized:!0,src:"/images/appstore.png",alt:"App Store",width:160,height:50})}):(0,t.jsx)(l.default,{unoptimized:!0,src:"/images/appstore.png",alt:"App Store",width:160,height:50})]})]}),(0,t.jsx)("div",{className:"order-2 lg:order-1 flex justify-center lg:justify-start",children:(0,t.jsx)(l.default,{unoptimized:!0,src:"/images/hand-mobile.png",alt:"hand-mobile",width:500,height:800,priority:!0})})]})})}},22213:(e,a,r)=>{"use strict";r.d(a,{default:()=>E});var t=r(95155),l=r(41855),s=r(12115),i=r(20063),n=r(75120),o=r(21232),c=r(9342),d=r(70898),m=r(12870),u=r(60316),v=r.n(u);let x=[{key:"equity",category:"Equity",label:"Equity Funds",description:"Long-term wealth creation",icon:"/images/fundperformer/equity.svg"},{key:"debt",category:"Debt",label:"Debt Funds",description:"Safer, stable returns",icon:"/images/fundperformer/debt.svg"},{key:"hybrid",category:"Hybrid",label:"Hybrid Funds",description:"Mix of both worlds",icon:"/images/fundperformer/
1hybrid.svg"},{key:"sol",category:"Sol Oriented",label:"Sol Oriented",description:"Save taxes, grow money",icon:"/images/fundperformer/sol-oriented.svg"},{key:"liquid",category:"Others",label:"Liquid Funds",description:"Park idle cash smartly",icon:"/images/fundperformer/others.svg"}],h="125accbcf0096075e526fcc4e128a7f4e348a516e3b8303c8aa77cf3296c67ef",p=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-";if(!e)return r;for(let r of a)if(void 0!==e[r]&&null!==e[r]&&""!==e[r])return e[r];return r},g=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=String(e||"").trim();if(!r)return String(a||"").trim();let t=r.split("-").map(e=>e.trim()).filter(Boolean);return t.length>1?t.slice(1).join(" - "):r},f=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return g((null==e?void 0:e.schemeCategory)||(null==e?void 0:e.schemeType)||(null==e?void 0:e.category)||(null==e?void 0:e.__fundType),a)},b=e=>{let a=parseFloat(String(e||"").replace("%",""));return Number.isNaN(a)?null:a},y=async e=>{let a=x.find(a=>a.key===e)||x.find(a=>a.category===e),r=(null==a?void 0:a.category)||e;if(!r)return[];try{var t;let e=await m.A.get("".concat("https://shared.redvisionassets.com","/api/open-apis/fund-performance/fpsub-category?categorySchemes=").concat(encodeURIComponent(r)));if(200===e.status&&Array.isArray(null==(t=e.data)?void 0:t.data))return[...new Set(e.data.data.filter(Boolean))]}catch(e){console.error("Error fetching fund sub categories:",e)}return[]},j=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,t=e.filter(e=>null!==b(e.five_year||e.fiveYear||e["5y"])).sort((e,a)=>b(a.five_year||a.fiveYear||a["5y"])-b(e.five_year||e.fiveYear||e["5y"])),l=t.reduce((e,a)=>{let r=f(a,a.__fundType||"Other");return e.has(r)||e.set(r,[]),e.get(r).push(a),e},new Map);if(l.size<2)return t.slice(0,a);let s=[],i=Math.min(r,l.size);return[...l.entries()].sort((e,a)=>{var r,t,l,s,i,n;return b((null==(r=a[1][0])?void 0:r.five_year)||(null==(t=a[1][0])?void 0:t.fiveYear)||(null==(l=a[1][0])?void 0:l["5y"]))-b((null==(s=e[1][0])?void 0:s.five_year)||(null==(i=e[1][0])?void 0:i.fiveYear)||(null==(n=e[1][0])?void 0:n["5y"]))}).slice(0,i).forEach(e=>{let[,a]=e;a[0]&&s.push(a[0])}),t.forEach(e=>{!(s.length>=a)&&(s.some(a=>(null==a?void 0:a.pcode)===(null==e?void 0:e.pcode))||s.push(e))}),s.slice(0,a)},w=async function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,r=await y(e);if(!r.length)return[];try{let e=r.map(e=>{let a="".concat("https://shared.redvisionassets.com","/api/open-apis/fund-performance/fp-data?categorySchemes=").concat(encodeURIComponent(e));return m.A.get(a).then(a=>({res:a,sub:e}))}),t=(await Promise.all(e)).flatMap(e=>{var a;let{res:r,sub:t}=e;return 200===r.status&&Array.isArray(null==(a=r.data)?void 0:a.data)?r.data.data.map(e=>({...e,__fundType:f(e,t)})):[]});return j(t,a)}catch(e){return console.error("Error fetching performance data:",e),[]}},N=(e,a,r)=>{if(!h)return void console.error("Missing SECRET_KEY! Please define NEXT_PUBLIC_SECRET_KEY in .env file.");let t={pcode:null==e?void 0:e.pcode,ftype:f(e,a),fundData:e,timestamp:Date.now()};try{let a=v().AES.encrypt(JSON.stringify(t),h).toString();localStorage.setItem("encryptedFundPerormanceData",a),localStorage.setItem("selectedFundPcode",String((null==e?void 0:e.pcode)||"")),window.dispatchEvent(new Event("fund-performance-selection-changed")),(null==r?void 0:r.push)&&r.push("/tools/calculators/fund-performance/fund-details")}catch(e){console.error("Encryption or navigation failed:",e)}},k=e=>p(e,["one_year","1y","oneYear"],"-"),S=e=>p(e,["three_year","3y","threeYear"],"-"),P=e=>p(e,["five_year","5y","fiveYear"],"-"),I={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.5,staggerChildren:.05}}},C={hidden:{opacity:0,y:10,scale:.97},show:{opacity:1,y:0,scale:1,transition:{duration:.3,ease:"easeOut"}}},A={hidden:{opacity:0,y:6},show:e=>({opacity:1,y:0,transition:{duration:.25,delay:.04*e}})};
1function q(){let[e,a]=(0,s.useState)("equity"),[r,l]=(0,s.useState)(!1),[m,u]=(0,s.useState)([]),v=(0,i.useRouter)(),h=async e=>{l(!0);try{let a=await w(e);u(a)}catch(e){console.error("Error loading performance data:",e),u([])}finally{l(!1)}};return(0,s.useEffect)(()=>{x.find(a=>a.key===e)&&h(e)},[e]),(0,t.jsx)(c.P.section,{className:"text-[var(--rv-black)] overflow-hidden px-4 bg-[var(--rv-bg-white)]",initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.6,ease:"easeOut"},children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section flex flex-col gap-6 md:gap-10",children:[(0,t.jsx)(c.P.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:(0,t.jsx)(n.A,{title:"Fund Performers",heading:"Explore the Best Mutual Fund Performers",description:"Analyze the historical returns of top-performing funds to make informed investment decisions."})}),(0,t.jsxs)("div",{className:"w-full flex flex-col gap-5",children:[(0,t.jsx)(c.P.div,{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-3 items-stretch",variants:I,initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.3},children:x.map(r=>{let l=e===r.key;return(0,t.jsx)(c.P.button,{variants:C,onClick:()=>a(r.key),whileHover:{y:-3,scale:1.01},whileTap:{scale:.97},className:"w-full min-h-[120px] border border-[var(--rv-primary)] p-2 rounded-md transition-all duration-200 ".concat(l?"bg-[var(--rv-primary)] text-[var(--rv-white)] shadow-md":""),children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"w-10 h-10 rounded-full p-2 flex items-center justify-center ".concat(l?"bg-[var(--rv-white)]":"bg-[var(--rv-primary)]"),children:(0,t.jsx)("img",{src:r.icon,alt:r.label,className:"w-full h-full object-cover ".concat(l?"":"filter brightness-0 invert")})})}),(0,t.jsxs)("div",{className:"text-start",children:[(0,t.jsx)("p",{className:"font-semibold",children:r.label}),(0,t.jsx)("p",{className:"",children:r.description})]})]})},r.key)})}),(0,t.jsx)(c.P.div,{className:"overflow-x-auto rounded bg-[var(--rv-bg-white)] whitespace-nowrap",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.4},children:r?(0,t.jsx)("p",{className:"bg-[var(--rv-primary)] text-[var(--rv-white)] py-4 text-center",children:"Loading funds..."}):m.length>0?(0,t.jsxs)("table",{className:"min-w-full text-[var(--rv-black)]",children:[(0,t.jsx)("thead",{className:"bg-[var(--rv-primary)] text-[var(--rv-white)] rounded",children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"p-4 text-start",children:"Fund Name"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"Nav"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"1Y Return"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"3Y Return"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"5Y Return"})]})}),(0,t.jsx)(c.P.tbody,{initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.2},children:m.slice(0,5).map((e,a)=>(0,t.jsxs)(c.P.tr,{variants:A,custom:a,whileHover:{backgroundColor:"var(--rv-primary-light)",transition:{duration:.15}},className:"cursor-pointer border-b border-[#e0e0e0]",onClick:()=>N(e,void 0,v),children:[(0,t.jsxs)("td",{className:"px-4 py-[15p
1x] font-medium",children:[(0,t.jsx)("div",{className:"line-clamp-1",children:p(e,["funddes","scheme_name","scheme"],"Unknown Fund")}),(0,t.jsxs)("p",{className:"",children:[e.schemeCategory||"Equity",e.schemeType?" - ".concat(e.schemeType):""]})]}),(0,t.jsx)("td",{className:"px-4 py-4 text-center"}),(0,t.jsxs)("td",{className:"px-4 py-4 text-center font-semibold",children:[k(e)||"0.00","%"]}),(0,t.jsxs)("td",{className:"px-4 py-4 text-center font-semibold",children:[S(e)||"0.00","%"]}),(0,t.jsxs)("td",{className:"px-4 py-4 text-center font-semibold",children:[P(e)||"0.00","%"]})]},a))})]}):(0,t.jsx)("p",{className:"text-center py-4",children:"No fund data available"})}),(0,t.jsx)(c.P.div,{className:"flex items-center justify-center",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.4,delay:.1},children:(0,t.jsx)(c.P.div,{whileHover:{scale:1.03},whileTap:{scale:.96},children:(0,t.jsx)(o.A,{text:"Explore More",link:"/tools/calculators/fund-performance",Icon:d.eW4})})})]})]})})}
1let M={theme1:q,theme2:function(){let[e,a]=(0,s.useState)("equity"),[r,l]=(0,s.useState)(!1),[d,m]=(0,s.useState)([]),u=(0,i.useRouter)(),v=async e=>{l(!0);try{let a=await w(e);m(a)}catch(e){console.error("Error loading performance data:",e),m([])}finally{l(!1)}};return(0,s.useEffect)(()=>{x.find(a=>a.key===e)&&v(e)},[e]),(0,t.jsx)("section",{className:"text-[var(--rv-white)] overflow-hidden p-2 md:p-4 bg-[var(--rv-bg-black)]",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section flex flex-col gap-5 md:gap-8",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-5 flex-col md:flex-row",children:[(0,t.jsx)(n.A,{align:"start",heading:"Explore the Best Mutual Fund Performers",highlight:"Mutual",description:"Analyze the historical returns of top-performing funds to make informed investment decisions."}),(0,t.jsx)(o.A,{text:"Explore More",link:"/tools/calculators/fund-performance"})]}),(0,t.jsxs)("div",{className:"w-full flex flex-col gap-5",children:[(0,t.jsx)("div",{className:"w-full flex justify-center",children:(0,t.jsx)(c.P.div,{layout:!0,className:"w-full bg-[var(--rv-bg-secondary)] p-3 rounded-xl border border-[var(--rv-white-light)]",children:(0,t.jsx)("div",{className:"grid gap-4 grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5 items-stretch",children:x.map((r,l)=>{let s=e===r.key;return(0,t.jsxs)(c.P.button,{layout:!0,onClick:()=>a(r.key),className:"relative overflow-hidden w-full min-h-[120px] p-3 rounded-lg font-semibold text-[var(--rv-white)]",children:[s&&(0,t.jsx)(c.P.div,{layoutId:"activeTabBg",className:"absolute inset-0 bg-[var(--rv-primary)] rounded-lg",transition:{type:"spring",stiffness:260,damping:28}}),(0,t.jsxs)("div",{className:"relative z-10 flex items-center gap-3",children:[(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"w-8 h-8 rounded-full flex items-center justify-center font-bold text-sm\n                    ".concat(s?"bg-[var(--rv-bg-black)] text-[var(--rv-white)]":"bg-[var(--rv-bg-white-light)] text-[var(--rv-white)]","\n                  "),children:String(l+1).padStart(2,"0")})}),(0,t.jsx)("span",{className:"".concat(s?"text-[var(--rv-black)]":"opacity-90"),children:r.label})]})]},r.key)})})})}),(0,t.jsx)(c.P.div,{className:"overflow-x-auto bg-[var(--rv-bg-secondary)] rounded-xl border border-[var(--rv-white-light)]  whitespace-nowrap",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.4},children:r?(0,t.jsx)("p",{className:"py-4 text-center",children:"Loading funds..."}):d.length>0?(0,t.jsxs)("table",{className:"min-w-full ",children:[(0,t.jsx)("thead",{className:"bg-[var(--rv-bg-black)] rounded-xl border border-[var(--rv-white-light)]",children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"p-4 text-start",children:"Fund Name"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"Nav"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"1Y Return"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"3Y Return"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"5Y Return"})]})}),(0,t.jsx)(c.P.tbody,{initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.2},children:d.slice(0,5).map((e,a)=>(0,t.jsxs)(c.P.tr,{variants:A,custom:a,whileHover:{transition:{duration:.15}},className:"cursor-pointer border-t p-3 border-[var(--rv-white-light)]",onClick:()=>N(e,void 0,u),children:[(0,t.jsxs)("td",{className:"px-4 py-[15p
1x] font-medium",children:[(0,t.jsx)("div",{className:"line-clamp-1",children:p(e,["funddes","scheme_name","scheme"],"Unknown Fund")}),(0,t.jsxs)("p",{className:"",children:[e.schemeCategory||"Equity",e.schemeType?" - ".concat(e.schemeType):""]})]}),(0,t.jsxs)("td",{className:"px-4 py-4 text-center font-semibold",children:[k(e)||"0.00","%"]}),(0,t.jsxs)("td",{className:"px-4 py-4 text-center font-semibold",children:[S(e)||"0.00","%"]}),(0,t.jsxs)("td",{className:"px-4 py-4 text-center font-semibold",children:[P(e)||"0.00","%"]})]},a))})]}):(0,t.jsx)("p",{className:"text-center py-4",children:"No fund data available"})})]})]})})},theme3:function(){let[e,a]=(0,s.useState)("equity"),[r,l]=(0,s.useState)(!1),[d,m]=(0,s.useState)([]),u=(0,i.useRouter)(),v=async e=>{l(!0);try{let a=await w(e);m(a)}catch(e){console.error("Error loading performance data:",e),m([])}finally{l(!1)}};return(0,s.useEffect)(()=>{x.find(a=>a.key===e)&&v(e)},[e]),(0,t.jsx)(c.P.section,{className:"text-[var(--rv-black)] overflow-hidden px-4 bg-[var(--rv-bg-white)]",initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.6,ease:"easeOut"},children:(0,t.jsxs)("div",{className:"max-w-screen-xl mx-auto flex flex-col gap-6 md:gap-10",children:[(0,t.jsx)(c.P.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:(0,t.jsx)(n.A,{heading:"Explore the Best Mutual Fund Performers",description:"Analyze the historical returns of top-performing funds to make informed investment decisions."})}),(0,t.jsxs)("div",{className:"w-full flex flex-col gap-5",children:[(0,t.jsx)(c.P.div,{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-3 items-stretch",variants:I,initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.3},children:x.map(r=>{let l=e===r.key;return(0,t.jsx)(c.P.button,{variants:C,onClick:()=>a(r.key),whileHover:{y:-3,scale:1.01},whileTap:{scale:.97},className:"w-full min-h-[120px] border border-[var(--rv-primary)] p-2 rounded-md transition-all duration-200 ".concat(l?"bg-[var(--rv-primary)] text-[var(--rv-white)] shadow-md":""),children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"w-10 h-10 rounded-full p-2 flex items-center justify-center ".concat(l?"bg-[var(--rv-white)]":"bg-[var(--rv-primary)]"),children:(0,t.jsx)("img",{src:r.icon,alt:r.label,className:"w-full h-full object-cover ".concat(l?"":"filter brightness-0 invert")})})}),(0,t.jsxs)("div",{className:"text-start",children:[(0,t.jsx)("p",{className:"font-semibold",children:r.label}),(0,t.jsx)("p",{className:"",children:r.description})]})]})},r.key)})}),(0,t.jsx)(c.P.div,{className:"overflow-x-auto rounded whitespace-nowrap",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.4},children:r?(0,t.jsx)("p",{className:"bg-[var(--rv-primary)] text-[var(--rv-white)] py-4 text-center",children:"Loading funds..."}):d.length>0?(0,t.jsxs)("table",{className:"min-w-full text-[var(--rv-black)]",children:[(0,t.jsx)("thead",{className:"bg-[var(--rv-primary)] text-[var(--rv-white)] rounded",children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"p-4 text-start",children:"Fund Name"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"Nav"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"1Y Return"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"3Y Return"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"5Y Return"})]})}),(0,t.jsx)(c.P.tbody,{initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.2},children:d.slice(0,5).map((e,a)=>(0,t.jsxs)(c.P.tr,{variants:A,custom:a,className:"cursor-pointer border-b border-[#e0e0e0]",onClick:()=>N(e,void 0,u),children:[(0,t.jsxs)("td",{className:"px-4 py-[15p
1x] font-medium",children:[(0,t.jsx)("div",{className:"line-clamp-1",children:p(e,["funddes","scheme_name","scheme"],"Unknown Fund")}),(0,t.jsxs)("p",{className:"",children:[e.schemeCategory||"Equity",e.schemeType?" - ".concat(e.schemeType):""]})]}),(0,t.jsxs)("td",{className:"px-4 py-4 text-center font-semibold",children:[k(e)||"0.00","%"]}),(0,t.jsxs)("td",{className:"px-4 py-4 text-center font-semibold",children:[S(e)||"0.00","%"]}),(0,t.jsxs)("td",{className:"px-4 py-4 text-center font-semibold",children:[P(e)||"0.00","%"]})]},a))})]}):(0,t.jsx)("p",{className:"text-center py-4",children:"No fund data available"})}),(0,t.jsx)(c.P.div,{className:"flex items-center justify-center",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.4,delay:.1},children:(0,t.jsx)(c.P.div,{whileHover:{scale:1.03},whileTap:{scale:.96},children:(0,t.jsx)(o.A,{className:"bg-[var(--rv-bg-primary)] hover:bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]",text:"Explore More  ",link:"/tools/calculators/fund-performance"})})})]})]})})}
1,theme4:function(){let[e,a]=(0,s.useState)("equity"),[r,l]=(0,s.useState)(!1),[d,m]=(0,s.useState)([]),u=(0,i.useRouter)(),v=async e=>{l(!0);try{let a=await w(e);m(a)}catch(e){console.error("Error loading performance data:",e),m([])}finally{l(!1)}};return(0,s.useEffect)(()=>{x.find(a=>a.key===e)&&v(e)},[e]),(0,t.jsx)(c.P.section,{className:"text-[var(--rv-white)] overflow-hidden px-4 bg-[var(--rv-bg-secondary)]",children:(0,t.jsx)("div",{className:"main-section border-b",children:(0,t.jsxs)("div",{className:"max-w-screen-xl mx-auto flex flex-col gap-6 md:gap-10",children:[(0,t.jsx)(c.P.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:(0,t.jsx)(n.A,{variant:"light",title:"Top Performing Funds",heading:"Explore the Best Mutual Fund Performers",description:"Analyze the historical returns of top-performing funds to make informed investment decisions."})}),(0,t.jsxs)("div",{className:"w-full flex flex-col gap-5",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"w-full  items-center justify-center hidden lg:flex",children:(0,t.jsx)("img",{src:"/images/fund-svg.svg",alt:""})}),(0,t.jsx)(c.P.div,{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-3 items-stretch",variants:I,initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.3},children:x.map(r=>{let l=e===r.key;return(0,t.jsx)(c.P.button,{variants:C,onClick:()=>a(r.key),whileHover:{y:-3,scale:1.01},whileTap:{scale:.97},className:"w-full min-h-[120px] border border-[var(--rv-border)] md:p-5 p-2 rounded-md transition-all duration-200 ".concat(l?"bg-[var(--rv-primary)] text-[var(--rv-white)] shadow-md":""),children:(0,t.jsx)("div",{className:"flex items-center gap-2",children:(0,t.jsxs)("div",{className:"text-start",children:[(0,t.jsx)("p",{className:"font-semibold",children:r.label}),(0,t.jsx)("p",{className:"",children:r.description})]})})},r.key)})})]}),(0,t.jsx)(c.P.div,{className:"overflow-x-auto rounded-xl border border-[var(--rv-border)] bg-transparent whitespace-nowrap",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.4},children:r?(0,t.jsx)("p",{className:"bg-[var(--rv-primary)] text-[var(--rv-white)] py-4",children:"Loading funds..."}):d.length>0?(0,t.jsxs)("table",{className:"min-w-full text-[var(--rv-white)]",children:[(0,t.jsx)("thead",{className:"bg-[var(--rv-secondary)] rounded",children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"p-4 text-start",children:"Fund Name"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"Nav"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"1Y Return"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"3Y Return"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"5Y Return"})]})}),(0,t.jsx)(c.P.tbody,{initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.2},children:d.slice(0,5).map((e,a)=>(0,t.jsxs)(c.P.tr,{variants:A,custom:a,className:"cursor-pointer border-t border-[var(--rv-border)]",onClick:()=>N(e,void 0,u),children:[(0,t.jsxs)("td",{className:"px-4 py-[15p
1x] font-medium",children:[(0,t.jsx)("div",{className:"line-clamp-1",children:p(e,["funddes","scheme_name","scheme"],"Unknown Fund")}),(0,t.jsxs)("p",{className:"",children:[e.schemeCategory||"Equity",e.schemeType?" - ".concat(e.schemeType):""]})]}),(0,t.jsxs)("td",{className:"px-4 py-4 text-center",children:["₹",p(e,["NAVAmount","navValue","nav"],"-")||"0.00"]}),(0,t.jsxs)("td",{className:"px-4 py-4 text-center text-[var(--rv-primary)] font-semibold",children:[k(e)||"0.00","%"]}),(0,t.jsxs)("td",{className:"px-4 py-4 text-center text-[var(--rv-primary)] font-semibold",children:[S(e)||"0.00","%"]}),(0,t.jsxs)("td",{className:"px-4 py-4 text-center text-[var(--rv-primary)] font-semibold",children:[P(e)||"0.00","%"]})]},a))})]}):(0,t.jsx)("p",{className:"text-center py-4",children:"No fund data available"})}),(0,t.jsx)(c.P.div,{className:"flex items-center justify-center",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.4,delay:.1},children:(0,t.jsx)(c.P.div,{whileHover:{scale:1.03},whileTap:{scale:.96},children:(0,t.jsx)(o.A,{className:"border border-[var(--rv-bg-primary)]",text:"Explore More",link:"/tools/calculators/fund-performance"})})})]})]})})})}
1,theme5:function(){let[e,a]=(0,s.useState)("equity"),[r,l]=(0,s.useState)(!1),[m,u]=(0,s.useState)([]),v=(0,i.useRouter)(),h=async e=>{l(!0);try{let a=await w(e);u(a)}catch(e){console.error("Error loading performance data:",e),u([])}finally{l(!1)}};return(0,s.useEffect)(()=>{x.find(a=>a.key===e)&&h(e)},[e]),(0,t.jsx)(c.P.section,{className:"text-[var(--rv-black)] overflow-hidden px-4 bg-[var(--rv-bg-white)]",initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.6,ease:"easeOut"},children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section flex flex-col gap-6 md:gap-10",children:[(0,t.jsx)(c.P.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:(0,t.jsx)(n.A,{heading:"Explore the Best Mutual Fund Performers",description:"Analyze the historical returns of top-performing funds to make informed investment decisions."})}),(0,t.jsxs)("div",{className:"w-full flex flex-col gap-5",children:[(0,t.jsx)(c.P.div,{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-3 items-stretch",variants:I,initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.3},children:x.map(r=>{let l=e===r.key;return(0,t.jsx)(c.P.button,{variants:C,onClick:()=>a(r.key),whileHover:{y:-3,scale:1.01},whileTap:{scale:.97},className:"w-full min-h-[120px] border border-[var(--rv-primary)] p-4 rounded-md transition-all duration-200 ".concat(l?"bg-[var(--rv-primary)] text-[var(--rv-white)] shadow-md":""),children:(0,t.jsx)("div",{className:"flex items-center gap-2",children:(0,t.jsx)("div",{className:"text-start",children:(0,t.jsx)("h6",{className:"",children:r.label})})})},r.key)})}),(0,t.jsx)(c.P.div,{className:"overflow-x-auto rounded bg-[var(--rv-bg-white)] whitespace-nowrap",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.4},children:r?(0,t.jsx)("p",{className:"bg-[var(--rv-primary)] text-[var(--rv-white)] py-4 text-center",children:"Loading funds..."}):m.length>0?(0,t.jsxs)("table",{className:"min-w-full text-[var(--rv-black)]",children:[(0,t.jsx)("thead",{className:"bg-[var(--rv-primary)] text-[var(--rv-white)] rounded",children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"p-4 text-start",children:"Fund Name"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"Nav"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"1Y Return"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"3Y Return"}),(0,t.jsx)("th",{className:"p-4 text-center",children:"5Y Return"})]})}),(0,t.jsx)(c.P.tbody,{initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.2},children:m.slice(0,5).map((e,a)=>(0,t.jsxs)(c.P.tr,{variants:A,custom:a,whileHover:{backgroundColor:"var(--rv-primary-light)",transition:{duration:.15}},className:"cursor-pointer border-b border-[#e0e0e0]",onClick:()=>N(e,void 0,v),children:[(0,t.jsxs)("td",{className:"px-4 py-[15p
1x] font-medium",children:[(0,t.jsx)("div",{className:"line-clamp-1",children:p(e,["funddes","scheme_name","scheme"],"Unknown Fund")}),(0,t.jsxs)("p",{className:"",children:[e.schemeCategory||"Equity",e.schemeType?" - ".concat(e.schemeType):""]})]}),(0,t.jsxs)("td",{className:"px-4 py-4 text-center font-semibold",children:[k(e)||"0.00","%"]}),(0,t.jsxs)("td",{className:"px-4 py-4 text-center font-semibold",children:[S(e)||"0.00","%"]}),(0,t.jsxs)("td",{className:"px-4 py-4 text-center font-semibold",children:[P(e)||"0.00","%"]})]},a))})]}):(0,t.jsx)("p",{className:"text-center py-4",children:"No fund data available"})}),(0,t.jsx)(c.P.div,{className:"flex items-center justify-center",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.4,delay:.1},children:(0,t.jsx)(c.P.div,{whileHover:{scale:1.03},whileTap:{scale:.96},children:(0,t.jsx)(o.A,{Icon:d.eW4,text:"Explore More",link:"/tools/calculators/fund-performance"})})})]})]})})}};function E(){let{theme:e}=(0,l.D)(),a=M[e]||q;return(0,t.jsx)(a,{})}},25363:(e,a,r)=>{"use strict";r.d(a,{A:()=>s});var t=r(95155);r(12115);var l=r(28122);let s=e=>{let{imageSrc:a,onRefresh:r,placeholder:s="Enter code",value:i,onChange:n,name:o="captcha",inputProps:c={},input:d,className:m="",imageClassName:u="",inputClassName:v="",buttonClassName:x="",refreshAriaLabel:h="Refresh captcha",buttonTitle:p="Refresh Captcha"}=e,{ref:g,...f}=c||{};return(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-nowrap bg-[var(--rv-bg-surface)] p-3 rounded-2xl border border-[var(--rv-border)] shadow-[0_10px_30px_rgba(0,0,0,0.08)] ".concat(m),children:[a&&(0,t.jsx)("img",{src:a,alt:"Captcha",className:"h-10 w-28 rounded-lg object-cover bg-[var(--rv-bg-white)] border border-[var(--rv-border)] ".concat(u)}),(0,t.jsx)("div",{className:"flex-1 min-w-0",children:d||(0,t.jsx)("input",{ref:g,name:o,value:i,onChange:n,placeholder:s,autoComplete:"off",className:"h-10 w-full min-w-0 rounded-lg border border-[var(--rv-border)] bg-[var(--rv-bg-secondary-light)] text-[var(--rv-text)] px-3 text-sm placeholder:text-[var(--rv-text-muted)] focus:border-[var(--rv-primary)]/60 focus:ring-2 focus:ring-[var(--rv-primary)]/20 outline-none transition ".concat(v),...f})}),(0,t.jsx)("button",{type:"button",onClick:r,className:"shrink-0 h-10 w-10 rounded-lg bg-[var(--rv-primary)] text-[var(--rv-white)] flex items-center justify-center shadow-md hover:brightness-110 active:scale-95 transition ".concat(x),"aria-label":h,title:p,children:(0,t.jsx)(l.wO2,{size:14})})]})}},27848:(e,a,r)=>{"use strict";r.d(a,{Tk:()=>t,vJ:()=>l});let t=e=>{let[a="",...r]=String(null!=e?e:"").replace(/,/g,"").replace(/[^\d.]/g,"").split(".");return 0===r.length?a:"".concat(a,".").concat(r.join(""))},l=e=>{if(null==e||""===e)return null;let a=Number(t(e));return Number.isFinite(a)?a:null}},39058:(e,a,r)=>{"use strict";r.d(a,{default:()=>q});var t=r(95155),l=r(41855),s=r(12115),i=r(90751),n=r(82843),o=r(68425),c=r(47734),d=r(73697),m=r(83195),u=r(50813),v=r(29730),x=r(21232),h=r(75120),p=r(9342),g=r(49498),f=r(27848);function b(e){let{label:a,min:r,max:l,step:i,value:n,onChange:o,trackStyle:c,inputClassName:d,labelClassName:m,validationMin:u,validationMessage:v,rangeClassName:x,errorClassName:h}=e,[p,b]=(0,s.useState)(null!=n?n:""),[y,j]=(0,s.useState)(!1);(0,s.useEffect)(()=>{y||b(null!=n?n:"")},[n,y]);let w=(0,f.vJ)(p),N="number"==typeof u&&""!==p&&null!==w&&w<u,k=e=>{let a=Number(e);return Number.isFinite(a)?Math.min(Math.max(a,r),l):n};return(0,t.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4 justify-between",children:[(0,t.jsx)("label",{className:(0,g.cn)("font-medium",m),children:a}),(0,t.jsx)("input",{type:"text",inputMode:"decimal",value:y||N?p:n,onFocus:()=>j(!0),onBlur:()=>{j(!1);let e=(0,f.vJ)(p);if(null===e)return void b(null!=n?n:"");if("number"==typeof u&&e<u)return;let a=k(e);o(a),b(a)},onChange:e=>{let a=(0,f.Tk)(e.target.value);b(a);let r=(0,f.vJ)(a);null!==r&&("number"==typeof u&&r<u||o(k(r)))},"aria-invalid":N,className:(0,g.cn)("w-28 rounded-lg border px-3 py-2 text-right font-semibold outline-none transition-colors",N?"border-red-500 focus:border-red-500":"border-[var(--rv-border)] focus:border-[var(--rv-primary)]",d)})]}),N&&(0,t.jsx)("p",{className:(0,g.cn)("mt-[-12px] text-right text-xs text-red-600",h),children:v||"Minimum amount is ".concat(u,".")}),(0,t.jsx)("input",{type:"range",min:r,max:l,step:i,value:n,onChange:e=>{let a=k(e.target.value);o(a),b(a)},className:(0,g.cn)("w-full h-2 rounded-full appearance-none cursor-pointer accent-[var(--rv-primary)]",x),style:c}
1)]})}let y=()=>{let[e,a]=(0,s.useState)("SIP"),[r,l]=(0,s.useState)(1e3),[x,g]=(0,s.useState)(5),[f,y]=(0,s.useState)(12),j="SIP"===e?1e5:1e7,[w,N]=(0,s.useState)(0),[k,S]=(0,s.useState)(0),[P,I]=(0,s.useState)(0);(0,s.useEffect)(()=>{"SIP"===e?(()=>{let e=12*x,a=f/12/100,t=(Math.pow(1+a,e)-1)/a*r*(1+a),l=r*e;N(l),S(t-l),I(t)})():(()=>{let e=r*Math.pow(1+f/100,x);N(r),S(e-r),I(e)})()},[r,x,f,e]),(0,s.useEffect)(()=>{r>j&&l(j)},[r,j]);let C=[{label:"Invested Amount",value:w.toLocaleString("en-IN"),prefix:"?"},{label:"Estimated Return",value:k.toLocaleString("en-IN"),prefix:"?"},{label:"Final Value",value:P.toLocaleString("en-IN"),prefix:"?"}];return(0,t.jsx)(p.P.section,{className:"w-full bg-[var(--rv-bg-secondary)] overflow-hidden text-[var(--rv-white)] px-4 z-10 relative overflow-hidden before:content-[''] before:absolute before:inset-0 before:bg-[url('/images/footer-vector.png')] before:bg-cover before:bg-center before:brightness-0 before:invert before:opacity-[0.05] before:-z-10",initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section flex flex-col gap-6",children:[(0,t.jsx)(h.A,{variant:"light",title:"Calculator",heading:"Calculator Tools",description:"Want to Know How Much You Need to Invest?"}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5",children:[{label:"SIP"===e?"Monthly Investment (₹)":"Investment Amount (₹)",value:r,min:100,max:j,step:100,onChange:l,validationMin:100},{label:"Time Period (Years)",value:x,min:1,max:40,step:1,onChange:g},{label:"Expected Return (%)",value:f,min:1,max:30,step:.5,onChange:y}].map((e,a)=>(0,t.jsx)("div",{className:"bg-[var(--rv-bg-white-light)] backdrop-blur-sm rounded-xl p-5",children:(0,t.jsx)(b,{label:e.label,min:e.min,max:e.max,step:e.step,value:e.value,onChange:e.onChange,validationMin:e.validationMin,labelClassName:"text-[var(--rv-white)]",inputClassName:"bg-[var(--rv-bg-white)] text-[var(--rv-black)]",trackStyle:{background:((e,a,r)=>{let t=(e-a)/(r-a)*100;return"linear-gradient(\n    to right,\n    var(--rv-primary) 0%,\n    var(--rv-primary) ".concat(t,"%,\n    rgba(255,255,255,0.25) ").concat(t,"%,\n    rgba(255,255,255,0.25) 100%\n  )")})(e.value,e.min,e.max)}})},a))}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-5",children:[(0,t.jsx)("div",{className:"grid gap-5",children:C.map(e=>(0,t.jsxs)("div",{className:"bg-[var(--rv-bg-white-light)] backdrop-blur-sm rounded-xl flex flex-col items-center justify-center p-5 text-center",children:[(0,t.jsx)("strong",{children:e.label}),(0,t.jsxs)("h6",{className:"mt-1",children:[e.prefix,e.value]})]},e.label))}),(0,t.jsx)("div",{className:"md:col-span-2 bg-[var(--rv-bg-white-light)] backdrop-blur-sm rounded-xl p-5",children:(0,t.jsx)(i.u,{width:"100%",height:380,children:(0,t.jsxs)(n.b,{data:(()=>{let a=[];if("SIP"===e){let e=f/12/100;for(let t=1;t<=x;t++){let l=12*t,s=r*l,i=(Math.pow(1+e,l)-1)/e*r*(1+e);a.push({year:"Year ".concat(t),Invested:Math.round(s),Value:Math.round(i)})}}else for(let e=1;e<=x;e++){let t=r*Math.pow(1+f/100,e);a.push({year:"Year ".concat(e),Invested:r,Value:Math.round(t)})}return a})(),margin:{top:20,right:30,bottom:10},children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"valueGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,t.jsx)("stop",{offset:"5%",stopColor:"var(--rv-primary)",stopOpacity:.4}),(0,t.jsx)("stop",{offset:"95%",stopColor:"var(--rv-primary)",stopOpacity:0})]})}),(0,t.jsx)(o.d,{stroke:"rgba(255,255,255,0.15)",vertical:!1}),(0,t.jsx)(c.W,{dataKey:"year",stroke:"#fff"}),(0,t.jsx)(d.h,{stroke:"#fff",tickFormatter:e=>"?".concat((e/1e5).toFixed(1),"L")}),(0,t.jsx)(m.m,{contentStyle:{background:"rgba(0,0,0,0.85)",borderRadius:10,border:"none",color:"#fff"},formatter:e=>"?".concat(e.toLocaleString("en-IN"))}),(0,t.jsx)(u.s,{}),(0,t.jsx)(v.N1,{type:"monotone",dataKey:"Invested",stroke:"var(--rv-secondary)",strokeWidth:2.5,dot:!1,activeDot:{r:6}}),(0,t.jsx)(v.N1,{type:"monotone",dataKey:"Value",stroke:"var(--rv-primary)",strokeWidth:3,dot:!1,activeDot:{r:6},fill:"url(#valueGradient)"})]})})})]})]})})};var j=r(12723),w=r(39492),N=r(69386);let k=(e,a,r)=>{let t=(e-a)/(r-a)*100;return"linear-gradient(to right,\n    var(--rv-primary) 0%,\n    var(--rv-primary) ".concat(t,"%,\n     var(--rv-black) ").concat(t,"%,\n     var(--rv-black) 100%)")},S=(e,a,r)=>{let t=(e-a)/(r-a)*100;return"linear-gradient(to right,\n    var(--rv-secondary) 0%,\n    var(--rv-secondary) ".concat(t,"%,\n    #ffffff ").concat(t,"%,\n    #ffffff 100%)")},P=(e,a,r)=>{let t=(e-a)/(r-a)*100;return"linear-gradient(to right,\n    var(--rv-primary) 0%,\n    var(--rv-primary) ".concat(t,"%,\n    #9f9f9f ").concat(t,"%,\n    #9f9f9f 100%)")};var I=r(70898);let C=(e,a,r)=>{let t=(e-a)/(r-a)*100;return"linear-gradient(to right,\n    var(--rv-primary) 0%,\n    var(--rv-primary) ".concat(t,"%,\n    #8f8f8f ").concat(t,"%,\n    #8f8f8f 100%)")},A={theme1:y,theme2:()=>
1{let[e,a]=(0,s.useState)("SIP"),[r,l]=(0,s.useState)(1e7),[n,o]=(0,s.useState)(5),[c,d]=(0,s.useState)(12),u="SIP"===e?1e5:1e7,[v,g]=(0,s.useState)(0),[f,y]=(0,s.useState)(0),[S,P]=(0,s.useState)(0);(0,s.useEffect)(()=>{"SIP"===e?(()=>{let e=12*n,a=c/12/100,t=(Math.pow(1+a,e)-1)/a*r*(1+a),l=r*e;g(l),y(t-l),P(t)})():(()=>{let e=r*Math.pow(1+c/100,n),a=e-r;g(r),y(a),P(e)})()},[r,n,c,e]),(0,s.useEffect)(()=>{r>u&&l(u)},[u,r]);let I=["var(--rv-primary)","var(--rv-secondary)"],C=[{name:"Invested Amount",value:v},{name:"Estimated Return",value:f}],A=[{label:"Invested Amount",value:v.toLocaleString("en-IN"),prefix:"?"},{label:"Estimated Return",value:f.toLocaleString("en-IN"),prefix:"?"},{label:"Final Value",value:S.toLocaleString("en-IN"),prefix:"?"}];return(0,t.jsx)("section",{className:"w-full bg-[var(--rv-bg-black)] text-[var(--rv-white)] p-2 md:p-4 relative overflow-hidden",children:(0,t.jsxs)("div",{className:"relative w-full rounded-xl overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-[url('/images/common-bg.webp')] bg-cover bg-center mix-blend-luminosity z-0"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/60 z-10"}),(0,t.jsx)("div",{className:"relative z-20 w-full px-4",children:(0,t.jsxs)("div",{className:"w-full max-w-7xl mx-auto main-section flex flex-col gap-5 md:gap-10",children:[(0,t.jsx)(p.P.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:(0,t.jsx)(h.A,{title:"Tools",heading:"Want to Know How Much You Need to Invest?"})}),(0,t.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 items-center gap-5 w-full",children:[(0,t.jsxs)(p.P.div,{className:"w-full bg-[var(--rv-bg-secondary)] rounded-xl p-6 md:p-8 shadow-sm flex flex-col gap-5",initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:[(0,t.jsx)("div",{className:"md:px-10",children:(0,t.jsx)("div",{className:"grid grid-cols-2 border border-[var(--rv-primary)] rounded-lg overflow-hidden w-full",children:["SIP","Lumpsum"].map((r,l)=>(0,t.jsx)(p.P.button,{onClick:()=>a(r),whileTap:{scale:.96},className:"px-6 py-2 font-semibold transition-colors  ".concat(e===r?"bg-[var(--rv-bg-primary)] text-[var(--rv-black)]":"bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]"),children:r},l))})}),(0,t.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,t.jsx)(b,{label:"SIP"===e?"Monthly Investment (₹)":"Investment Amount (₹)",min:100,max:u,step:100,value:r,onChange:e=>{e<100&&(e=100),e>u&&(e=u),l(Number(e))},validationMin:100,labelClassName:"text-[var(--rv-white)]",inputClassName:"bg-[var(--rv-bg-black)] text-[var(--rv-white)] border-[var(--rv-primary)]",trackStyle:{background:k(r,100,u)}}),(0,t.jsx)(b,{label:"Time Period (Years)",min:1,max:40,step:1,value:n,onChange:e=>{e<1&&(e=1),e>40&&(e=40),o(Number(e))},labelClassName:"text-[var(--rv-white)]",inputClassName:"bg-[var(--rv-bg-black)] text-[var(--rv-white)] border-[var(--rv-primary)]",trackStyle:{background:k(n,1,40)}}),(0,t.jsx)(b,{label:"Expected Return (%)",min:1,max:30,step:.5,value:c,onChange:e=>{e<1&&(e=1),e>30&&(e=30),d(Number(e))},labelClassName:"text-[var(--rv-white)]",inputClassName:"bg-[var(--rv-bg-black)] text-[var(--rv-white)] border-[var(--rv-primary)]",trackStyle:{background:k(c,1,30)}})]})]}),(0,t.jsx)(p.P.div,{className:"flex flex-col gap-5",initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:(0,t.jsx)(p.P.div,{className:"w-full bg-[var(--rv-bg-secondary)] rounded-xl p-5 flex flex-col items-center justify-center shadow-sm",initial:{scale:.9,opacity:0},whileInView:{scale:1,opacity:1},viewport:{once:!0,amount:.3},transition:{duration:.5,ease:"easeOut"},children:(0,t.jsx)(i.u,{width:"100%",height:290,children:(0,t.jsxs)(j.r,{children:[(0,t.jsx)(w.Fq,{data:C,dataKey:"value",innerRadius:"60%",outerRadius:"80%",paddingAngle:2,children:C.map((e,a)=>(0,t.jsx)(N.f,{fill:I[a%I.length]},"cell-".concat(a)))}),(0,t.jsx)(m.m,{formatter:e=>
1"?".concat(e.toLocaleString("en-IN"))})]})})})})]}),(0,t.jsx)(p.P.div,{className:"text-[var(--rv-white)] text-center grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:A.map(e=>(0,t.jsxs)(p.P.div,{className:"flex flex-col gap-2 bg-[var(--rv-bg-secondary)] rounded-xl p-5",whileHover:{y:-4,scale:1.01},transition:{type:"spring",stiffness:200,damping:15},children:[(0,t.jsxs)("strong",{children:[e.label,":"]}),(0,t.jsxs)("h6",{className:"text-[var(--rv-primary)]",children:[e.prefix,e.value]})]},e.label))})]}),(0,t.jsx)(p.P.div,{className:"flex items-center justify-center",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.4,delay:.1},children:(0,t.jsx)(p.P.div,{whileHover:{scale:1.03},whileTap:{scale:.96},children:(0,t.jsx)(x.A,{text:"Try a FREE Tool  ",link:"/login"})})})]})})]})})},theme3:()=>{let[e,a]=(0,s.useState)("SIP"),[r,l]=(0,s.useState)(1e3),[n,o]=(0,s.useState)(5),[c,d]=(0,s.useState)(12),u="SIP"===e?1e5:1e7,[v,x]=(0,s.use
1State)(0),[g,f]=(0,s.useState)(0),[y,k]=(0,s.useState)(0);(0,s.useEffect)(()=>{"SIP"===e?(()=>{let e=12*n,a=c/12/100,t=(Math.pow(1+a,e)-1)/a*r*(1+a),l=r*e;x(l),f(t-l),k(t)})():(()=>{let e=r*Math.pow(1+c/100,n);x(r),f(e-r),k(e)})()},[r,n,c,e]),(0,s.useEffect)(()=>{r>u&&l(u)},[r,u]);let P=["var(--rv-primary)","var(--rv-secondary)"],I=[{name:"Invested Amount",value:v},{name:"Estimated Return",value:g}],C=[{label:"Invested Amount",value:v.toLocaleString("en-IN"),prefix:"₹"},{label:"Estimated Return",value:g.toLocaleString("en-IN"),prefix:"₹"},{label:"Final Value",value:y.toLocaleString("en-IN"),prefix:"₹"}];return(0,t.jsx)(p.P.section,{className:"w-full bg-[var(--rv-bg-white)] text-[var(--rv-black)] px-4 overflow-hidden",initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.6,ease:"easeOut"},children:(0,t.jsxs)("div",{className:"w-full max-w-7xl mx-auto main-section flex flex-col gap-5 md:gap-8",children:[(0,t.jsx)("div",{children:(0,t.jsx)(h.A,{title:"Calculator",heading:"Calculator Tools",description:"Want to Know How Much You Need to Invest?"})}),(0,t.jsxs)("div",{className:"flex flex-col gap-5 w-full",children:[(0,t.jsx)("div",{className:"border border-[var(--rv-white)] rounded-lg overflow-hidden w-fit",children:["SIP","Lumpsum"].map((r,l)=>(0,t.jsx)(p.P.button,{onClick:()=>a(r),whileTap:{scale:.96},className:"px-6 py-2 font-semibold transition-colors ".concat(e===r?"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] ":"bg-[var(--rv-bg-secondary-light)] text-[var(--rv-primary-dark)]"),children:r},l))}),(0,t.jsx)(p.P.div,{className:"w-full flex flex-col gap-5",initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:(0,t.jsxs)("div",{className:"grid md:grid-cols-2 grid-cols-1 lg:grid-cols-3 gap-5",children:[(0,t.jsx)("div",{className:"flex flex-col gap-5 bg-[var(--rv-bg-secondary-light)] rounded-xl p-4 md:p-6 shadow-sm",children:(0,t.jsx)(b,{label:"SIP"===e?"Monthly Investment (₹)":"Investment Amount (₹)",min:100,max:u,step:100,value:r,onChange:e=>{e<100&&(e=100),e>u&&(e=u),l(Number(e))},validationMin:100,inputClassName:"bg-[var(--rv-bg-white)] text-[var(--rv-primary)] border-[var(--rv-primary)]",trackStyle:{background:S(r,100,u)}})}),(0,t.jsx)("div",{className:"flex flex-col gap-5 bg-[var(--rv-bg-secondary-light)] rounded-xl p-4 md:p-6 shadow-sm",children:(0,t.jsx)(b,{label:"Time Period (Years)",min:1,max:40,step:1,value:n,onChange:e=>{e<1&&(e=1),e>40&&(e=40),o(Number(e))},inputClassName:"bg-[var(--rv-bg-white)] text-[var(--rv-primary)] border-[var(--rv-primary)]",trackStyle:{background:S(n,1,40)}})}),(0,t.jsx)("div",{className:"flex flex-col gap-5 bg-[var(--rv-bg-secondary-light)] rounded-xl p-4 md:p-6 shadow-sm",children:(0,t.jsx)(b,{label:"Expected Return (%)",min:1,max:30,step:.5,value:c,onChange:e=>{e<1&&(e=1),e>30&&(e=30),d(Number(e))},inputClassName:"bg-[var(--rv-bg-white)] text-[var(--rv-primary)] border-[var(--rv-primary)]",trackStyle:{background:S(c,1,30)}})})]})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 items-center gap-5 w-full",children:[(0,t.jsx)(p.P.div,{className:" text-center grid grid-cols-1 gap-5",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:C.map(e=>(0,t.jsxs)(p.P.div,{className:"flex flex-col gap-2 bg-[var(--rv-bg-secondary-light)] rounded-xl p-5",whileHover:{y:-4,scale:1.01},transition:{type:"spring",stiffness:200,damping:15},children:[(0,t.jsxs)("strong",{children:[e.label,":"]}),(0,t.jsxs)("h6",{className:"text-[var(--rv-secondary)]",children:[e.prefix,e.value]})]},e.label))}),(0,t.jsx)(p.P.div,{className:"flex flex-col gap-5",initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:(0,t.jsx)(p.P.div,{className:"w-full bg-[var(--rv-bg-secondary-light)] rounded-xl p-5 flex flex-col items-center justify-center shadow-sm",initial:{scale:.9,opacity:0},whileInView:{scale:1,opacity:1},viewport:{once:!0,amount:.3},transition:{duration:.5,ease:"easeOut"},children:(0,t.jsx)(i.u,{width:"100%",height:300,children:(0,t.jsxs)(j.r,{children:[(0,t.jsx)(w.Fq,{data:I,dataKey:"value",innerRadius:"60%",outerRadius:"80%",paddingAngle:2,children:I.map((e,a)=>(0,t.jsx)(N.f,{fill:P[a%P.length]},"cell-".concat(a)))}),(0,t.jsx)(m.m,{formatter:e=>
1"₹".concat(e.toLocaleString("en-IN"))})]})})})})]})]})]})})},theme4:()=>{let[e,a]=(0,s.useState)("SIP"),[r,l]=(0,s.useState)(1e3),[n,o]=(0,s.useState)(5),[c,d]=(0,s.useState)(12),u="SIP"===e?1e5:1e7,[v,x]=(0,s.useState)(0),[g,f]=(0,s.useState)(0),[y,k]=(0,s.useState)(0);(0,s.useEffect)(()=>{"SIP"===e?(()=>{let e=12*n,a=c/12/100,t=(Math.pow(1+a,e)-1)/a*r*(1+a),l=r*e;x(l),f(t-l),k(t)})():(()=>{let e=r*Math.pow(1+c/100,n);x(r),f(e-r),k(e)})()},[r,n,c,e]),(0,s.useEffect)(()=>{r>u&&l(u)},[r,u]);let S=["var(--rv-primary)","var(--rv-secondary)"],I=[{name:"Invested Amount",value:v},{name:"Estimated Return",value:g}],C=[{label:"Invested Amount",value:v.toLocaleString("en-IN"),prefix:"₹"},{label:"Estimated Return",value:g.toLocaleString("en-IN"),prefix:"₹"},{label:"Final Value",value:y.toLocaleString("en-IN"),prefix:"₹"}];return(0,t.jsx)(p.P.section,{className:"w-full bg-[var(--rv-bg-white)] text-[var(--rv-black)] px-4 overflow-hidden",initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.6,ease:"easeOut"},children:(0,t.jsx)("div",{className:"main-section border border-[var(--rv-border)]-b",children:(0,t.jsxs)("div",{className:"w-full max-w-7xl mx-auto flex flex-col gap-5 md:gap-8",children:[(0,t.jsx)(h.A,{title:"Calculator",heading:"Calculator Tools",description:"Want to Know How Much You Need to Invest?"}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 items-center gap-5 w-full",children:[(0,t.jsx)(p.P.div,{className:"w-full flex flex-col gap-5 bg-[var(--rv-bg-white)] border border-[var(--rv-border)] rounded-xl p-5 ",initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:(0,t.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,t.jsx)("div",{className:"flex items-center justify-center mx-auto border border-[var(--rv-border)] rounded-lg overflow-hidden w-fit",children:["SIP","Lumpsum"].map((r,l)=>(0,t.jsx)(p.P.button,{onClick:()=>a(r),whileTap:{scale:.96},className:"px-6 py-2 font-semibold transition-colors ".concat(e===r?"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] ":"bg-[var(--rv-bg-white)] text-[var(--rv-primary-dark)]"),children:r},l))}),(0,t.jsx)(b,{label:"SIP"===e?"Monthly Investment (₹)":"Investment Amount (₹)",min:100,max:u,step:100,value:r,onChange:e=>{e<100&&(e=100),e>u&&(e=u),l(Number(e))},validationMin:100,inputClassName:"bg-[var(--rv-bg-white)] text-[var(--rv-black)]",trackStyle:{background:P(r,100,u)}}),(0,t.jsx)(b,{label:"Time Period (Years)",min:1,max:40,step:1,value:n,onChange:e=>{e<1&&(e=1),e>40&&(e=40),o(Number(e))},inputClassName:"bg-[var(--rv-bg-white)] text-[var(--rv-black)]",trackStyle:{background:P(n,1,40)}}),(0,t.jsx)(b,{label:"Expected Return (%)",min:1,max:30,step:.5,value:c,onChange:e=>{e<1&&(e=1),e>30&&(e=30),d(Number(e))},inputClassName:"bg-[var(--rv-bg-white)] text-[var(--rv-black)]",trackStyle:{background:P(c,1,30)}})]})}),(0,t.jsx)(p.P.div,{className:"flex flex-col gap-5",initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:(0,t.jsxs)(p.P.div,{className:"w-full bg-[var(--rv-bg-white)] border border-[var(--rv-border)] rounded-xl p-5 flex flex-col md:flex-row items-center justify-between gap-5 shadow-sm",initial:{scale:.9,opacity:0},whileInView:{scale:1,opacity:1},viewport:{once:!0,amount:.3},transition:{duration:.5,ease:"easeOut"},children:[(0,t.jsx)(i.u,{width:400,height:310,children:(0,t.jsxs)(j.r,{children:[(0,t.jsx)(w.Fq,{data:I,dataKey:"value",innerRadius:"60%",outerRadius:"80%",paddingAngle:2,children:I.map((e,a)=>(0,t.jsx)(N.f,{fill:S[a%S.length]},"cell-".concat(a)))}),(0,t.jsx)(m.m,{formatter:e=>"₹".concat(e.toLocaleString("en-IN"))})]})}),(0,t.jsx)(p.P.div,{className:" text-center grid grid-cols-1 gap-2",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:C.map(e=>(0,t.jsxs)(p.P.div,{className:"flex flex-col gap-2 bg-[var(--rv-bg-white)]",transition:{type:"spring",stiffness:200,damping:15},children:[(0,t.jsxs)("strong",{children:[e.label,":"]}
1),(0,t.jsxs)("p",{className:"text-[var(--rv-primary)]",children:[e.prefix,e.value]})]},e.label))})]})})]})]})})})},theme5:()=>{let[e,a]=(0,s.useState)("SIP"),[r,l]=(0,s.useState)(1e3),[g,f]=(0,s.useState)(5),[y,j]=(0,s.useState)(12),w="SIP"===e?1e5:1e7,[N,k]=(0,s.useState)(0),[S,P]=(0,s.useState)(0),[A,q]=(0,s.useState)(0);(0,s.useEffect)(()=>{"SIP"===e?(()=>{let e=12*g,a=y/12/100,t=(Math.pow(1+a,e)-1)/a*r*(1+a),l=r*e;k(l),P(t-l),q(t)})():(()=>{let e=r*Math.pow(1+y/100,g),a=e-r;k(r),P(a),q(e)})()},[r,g,y,e]),(0,s.useEffect)(()=>{r>w&&l(w)},[w,r]);let M=[{label:"Invested Amount",value:N.toLocaleString("en-IN"),prefix:"₹"},{label:"Estimated Return",value:S.toLocaleString("en-IN"),prefix:"₹"},{label:"Final Value",value:A.toLocaleString("en-IN"),prefix:"₹"}];return(0,t.jsx)(p.P.section,{className:"w-full bg-[var(--rv-secondary)] px-4 overflow-hidden",style:{backgroundImage:"url('/images/vector.webp')"},initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.6,ease:"easeOut"},children:(0,t.jsxs)("div",{className:"w-full max-w-7xl mx-auto main-section flex flex-col gap-5 md:gap-10",children:[(0,t.jsx)(p.P.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:(0,t.jsx)(h.A,{variant:"light",title:"Calculator",heading:"Calculator Tools",description:"Want to Know How Much You Need to Invest?"})}),(0,t.jsxs)("div",{className:"flex flex-col gap-5 text-[var(--rv-white)]",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 items-center gap-5 w-full",children:[(0,t.jsxs)(p.P.div,{className:"w-full bg-[var(--rv-bg-white-light)] rounded-xl p-6 md:p-8 shadow-sm flex flex-col gap-5",initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:[(0,t.jsx)("h5",{className:"font-semibold",children:"SIP Calculator"}),(0,t.jsx)("div",{className:"flex border border-[var(--rv-primary)] rounded-lg overflow-hidden w-fit",children:["SIP","Lumpsum"].map((r,l)=>(0,t.jsx)(p.P.button,{onClick:()=>a(r),whileTap:{scale:.96},className:"px-6 py-2 font-semibold transition-colors ".concat(e===r?"bg-[var(--rv-bg-primary)] text-[var(--rv-white)]":"bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]"),children:r},l))}),(0,t.jsxs)("div",{className:"flex flex-col gap-9",children:[(0,t.jsx)(b,{label:"SIP"===e?"Monthly Investment (₹)":"Investment Amount (₹)",min:100,max:w,step:100,value:r,onChange:e=>{e<100&&(e=100),e>w&&(e=w),l(Number(e))},validationMin:100,labelClassName:"text-[var(--rv-white)]",inputClassName:"bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] border-[var(--rv-primary)]",trackStyle:{background:C(r,100,w)}}),(0,t.jsx)(b,{label:"Time Period (Years)",min:1,max:40,step:1,value:g,onChange:e=>{e<1&&(e=1),e>40&&(e=40),f(Number(e))},labelClassName:"text-[var(--rv-white)]",inputClassName:"bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] border-[var(--rv-primary)]",trackStyle:{background:C(g,1,40)}}),(0,t.jsx)(b,{label:"Expected Return (%)",min:1,max:30,step:.5,value:y,onChange:e=>{e<1&&(e=1),e>30&&(e=30),j(Number(e))},labelClassName:"text-[var(--rv-white)]",inputClassName:"bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] border-[var(--rv-primary)]",trackStyle:{background:C(y,1,30)}})]})]}),(0,t.jsx)(p.P.div,{className:"flex flex-col gap-5 md:col-span-2",initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:(0,t.jsx)(p.P.div,{className:"w-full bg-[var(--rv-bg-white-light)] rounded-xl p-5 flex flex-col items-center justify-center shadow-sm",initial:{scale:.9,opacity:0},whileInView:{scale:1,opacity:1},viewport:{once:!0,amount:.3},transition:{duration:.5,ease:"easeOut"},children:(0,t.jsx)(i.u,{width:"100%",height:380,children:(0,t.jsxs)(n.b,{data:(()=>{let a=[];if("SIP"===e){let e=y/12/100;for(let t=1;t<=g;t++){let l=12*t,s=r*l,i=(Math.pow(1+e,l)-1)/e*r*(1+e);a.push({year:"Year ".concat(t),Invested:Math.round(s),Value:Math.round(i)})}}else for(let e=1;e<=g;e++){let t=r*Math.pow(1+y/100,e);a.push({year:"Year ".concat(e),Invested:r,Value:Math.round(t)})}return a})(),margin:{top:20,right:30,bottom:10},children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"valueGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,t.jsx)("stop",{offset:"5%",
1stopColor:"var(--rv-primary)",stopOpacity:.4}),(0,t.jsx)("stop",{offset:"95%",stopColor:"var(--rv-primary)",stopOpacity:0})]})}),(0,t.jsx)(o.d,{stroke:"rgba(255,255,255,0.15)",vertical:!1}),(0,t.jsx)(c.W,{dataKey:"year",stroke:"#fff"}),(0,t.jsx)(d.h,{stroke:"#fff",tickFormatter:e=>"₹".concat((e/1e5).toFixed(1),"L")}),(0,t.jsx)(m.m,{contentStyle:{background:"rgba(0,0,0,0.85)",borderRadius:10,border:"none",color:"#fff"},formatter:e=>"₹".concat(e.toLocaleString("en-IN"))}),(0,t.jsx)(u.s,{}),(0,t.jsx)(v.N1,{type:"monotone",dataKey:"Invested",stroke:"var(--rv-white)",strokeWidth:2.5,dot:!1,activeDot:{r:6}}),(0,t.jsx)(v.N1,{type:"monotone",dataKey:"Value",stroke:"var(--rv-primary)",strokeWidth:3,dot:!1,activeDot:{r:6},fill:"url(#valueGradient)"})]})})})})]}),(0,t.jsx)(p.P.div,{className:"text-[var(--rv-white)] text-center grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:M.map(e=>(0,t.jsxs)(p.P.div,{className:"flex flex-col gap-2 bg-[var(--rv-bg-white-light)] rounded-xl p-5",whileHover:{y:-4,scale:1.01},transition:{type:"spring",stiffness:200,damping:15},children:[(0,t.jsxs)("strong",{children:[e.label,":"]}),e.prefix,e.value]},e.label))})]}),(0,t.jsx)(p.P.div,{className:"flex items-center justify-center",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.4,delay:.1},children:(0,t.jsx)(p.P.div,{whileHover:{scale:1.03},whileTap:{scale:.96},children:(0,t.jsx)(x.A,{text:"Try a FREE Tool",Icon:I.eW4,variant:"light",link:"/login"})})})]})})}};function q(){let{theme:e}=(0,l.D)(),a=A[e]||y;return(0,t.jsx)(a,{})}},40085:(e,a,r)=>{"use strict";r.d(a,{default:()=>h});var t=r(95155),l=r(41855),s=r(12115),i=r(9342),n=r(52619),o=r.n(n),c=r(21232),d=r(75120),m=r(70898),u=r(50742);function v(e){var a,r,l,n,v,x,h,p;let{newsData:g}=e,[f,b]=(0,s.useState)(!0),[y,j]=(0,s.useState)("ipo");(0,s.useEffect)(()=>{let e=setTimeout(()=>b(!1),1e3);return()=>clearTimeout(e)},[]);let w=Object.keys(g||{}),N=(null==g?void 0:g[y])||[];return(0,t.jsx)("div",{className:"px-4 bg-[var(--rv-bg-white)]",children:(0,t.jsxs)("section",{className:"max-w-7xl mx-auto main-section flex flex-col gap-6 md:gap-8",children:[(0,t.jsx)(d.A,{heading:"Latest News & Updates",highlight:"Latest",title:"News"}),(0,t.jsx)("div",{className:"flex justify-center gap-3 flex-wrap",children:w.map(e=>(0,t.jsx)("button",{onClick:()=>j(e),className:"px-4 py-2 rounded-full font-medium transition-all duration-300 ".concat(y===e?"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] shadow-md":"bg-[var(--rv-bg-primary-light)] text-[var(--rv-text-primary)] hover:bg-[var(--rv-bg-primary)] hover:text-[var(--rv-white)]"),children:"ipo"===e?"IPO News":"market"===e?"Market News":"Popular News"},e))}),(0,t.jsx)(i.P.div,{variants:{hidden:{},show:{transition:{staggerChildren:.2}}},initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.2},className:"grid lg:grid-cols-4 md:grid-cols-2 grid-cols-1 gap-5",children:!f&&Array.isArray(N)&&N.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(i.P.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.1},className:"lg:col-span-2 bg-[var(--rv-bg-white)] text-[var(--rv-black)] rounded-xl overflow-hidden flex flex-col",children:[(0,t.jsx)("div",{className:"w-full h-56",children:(0,t.jsx)("img",{src:(null==(a=N[0])?void 0:a.img)||(null==(r=N[0])?void 0:r.image)||"/no-image.jpg",alt:null==(l=N[0])?void 0:l.title,className:"w-full h-full object-cover"})}),(0,t.jsxs)("div",{className:"p-6 flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center text-sm opacity-80",children:[(0,t.jsx)(u.u$_,{className:"w-4 h-4 mr-2"}),new Date(null==(n=N[0])?void 0:n.pubDate).toDateString()]}),(0,t.jsx)("h6",{className:"font-semibold line-clamp-2",children:null==(v=N[0])?void 0:v.title}),(0,t.jsx)("p",{className:"line-clamp-3",children:(null==(x=N[0])?void 0:x.desc)||(null==(h=N[0])?void 0:h.description)}),(0,t.jsxs)(o(),{href:null==(p=N[0])?void 0:p.link,target:"_blank",className:"inline-flex items-center font-semibold text-[var(--rv-primary)] group",children:["Read More",(0,t.jsx)(m.Z0P,{className:"ml-2 group-hover:translate-x-1 transition-transform"})]})]})]}),(0,t.jsx)("div",{className:"flex flex-col gap-5 lg:col-span-2",children:N.slice(1,3).map((e,a)=>{var r,l;return(0,t.jsxs)(i.P.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.1*a},className:"bg-[var(--rv-bg-white)] text-[var(--rv-black)] rounded-xl overflow-hidden flex flex-col md:flex-row items-center gap-3",children:[(0,t.jsx)("div",{className:"md:w-1/3 h-60",children:(0,t.jsx)("img",{src:(null==e?void 0:e.img)||(null==e?void 0:e.image)||"/no-image.jpg",alt:null==e?void 0:e.title,className:"w-full h-full object-cover"})}),(0,t.jsxs)("div",{className:"md:w-2/3 flex flex-col gap-2 p-4",children:[(0,t.jsxs)("div",{className:"flex items-center opacity-80",children:[(0,t.jsx)(u.u$_,{className:"w-4 h-4 mr-2"}),new Date(null==e?void 0:e.pubDate).toDateString()]}),(0,t.jsx)("h6",{className:"font-semibold line-clamp-2",children:null==e?void 0:e.title}),(0,t.jsx)("p",{className:"line-clamp-3",children:(null==(r=N[0])?void 0:r.desc)||(null==(l=N[0])?void 0:l.description)}),(0,t.jsxs)(o(),{href:null==e?void 0:e.link,target:"_blank",className:"inline-flex items-center text-sm font-semibold text-[var(--rv-primary)] group",children:["Read More",(0,t.jsx)(m.Z0P,{className:"ml-2 group-hover:translate-x-1 transition-transform"})]})]})]},e._id||e.id||a)})})]})}),!f&&(0,t.jsx)("div",{className:"mx-auto",children:(0,t.jsx)(c.A,{link:"/news",text:"View All News"})})]})})}let x={theme1:v,theme2:function(e){var a,r,l,n,v,x,h,p;let{newsData:g}
1=e,[f,b]=(0,s.useState)(!0),[y,j]=(0,s.useState)("ipo");(0,s.useEffect)(()=>{let e=setTimeout(()=>b(!1),1e3);return()=>clearTimeout(e)},[]);let w=Object.keys(g||{}),N=(null==g?void 0:g[y])||[];return(0,t.jsx)("div",{className:"px-4 bg-[var(--rv-bg-black)]",children:(0,t.jsxs)("section",{className:"max-w-7xl mx-auto main-section flex flex-col gap-6 md:gap-8",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between flex-wrap gap-5 w-full",children:[(0,t.jsx)(d.A,{align:"start",heading:"Latest News & Updates",highlight:"Latest",title:"News"}),!f&&(0,t.jsx)("div",{className:"",children:(0,t.jsx)(c.A,{link:"/news",text:"View All News"})})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-5 w-full",children:[(0,t.jsx)("div",{className:"max-w-4xl mx-auto w-full",children:(0,t.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-3",children:w.map(e=>(0,t.jsx)("button",{onClick:()=>j(e),className:"w-full py-2 rounded-full font-medium transition-all duration-300 ".concat(y===e?"bg-[var(--rv-bg-primary)] text-[var(--rv-black)] shadow-md":"bg-[var(--rv-bg-white)] text-[var(--rv-text-primary)] hover:bg-[var(--rv-bg-primary)] hover:text-[var(--rv-black)]"),children:"ipo"===e?"IPO News":"market"===e?"Market News":"Popular News"},e))})}),(0,t.jsx)(i.P.div,{variants:{hidden:{},show:{transition:{staggerChildren:.2}}},initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.2},className:"grid lg:grid-cols-4 md:grid-cols-2 grid-cols-1 gap-5 ",children:!f&&Array.isArray(N)&&N.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(i.P.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.1},className:"lg:col-span-2 bg-[var(--rv-bg-secondary)] p-3 text-[var(--rv-white)] rounded-xl overflow-hidden flex flex-col gap-2",children:[(0,t.jsx)("div",{className:"w-full h-56 rounded-xl overflow-hidden",children:(0,t.jsx)("img",{src:(null==(a=N[0])?void 0:a.img)||(null==(r=N[0])?void 0:r.image)||"/no-image.jpg",alt:null==(l=N[0])?void 0:l.title,className:"w-full h-full object-cover"})}),(0,t.jsxs)("div",{className:"p-2 flex flex-col gap-2 md:gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center text-sm opacity-80",children:[(0,t.jsx)(u.u$_,{className:"w-4 h-4 mr-2"}),new Date(null==(n=N[0])?void 0:n.pubDate).toDateString()]}),(0,t.jsx)("h6",{className:"font-light md:line-clamp-2 line-clamp-1",children:null==(v=N[0])?void 0:v.title}),(0,t.jsx)("p",{className:"md:line-clamp-5 line-clamp-1 font-extralight",children:(null==(x=N[0])?void 0:x.desc)||(null==(h=N[0])?void 0:h.description)}),(0,t.jsxs)(o(),{href:null==(p=N[0])?void 0:p.link,target:"_blank",className:"inline-flex items-center font-semibold text-[var(--rv-primary)] group",children:["Read More",(0,t.jsx)(m.Z0P,{className:"ml-2 group-hover:translate-x-1 transition-transform"})]})]})]}),(0,t.jsx)("div",{className:"flex flex-col gap-5 lg:col-span-2",children:N.slice(1,4).map((e,a)=>{var r,l;return(0,t.jsxs)(i.P.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.1*a},className:"bg-[var(--rv-bg-secondary)] p-3 text-[var(--rv-white)] rounded-xl overflow-hidden flex flex-col md:flex-row items-center gap-3",children:[(0,t.jsx)("div",{className:"md:w-1/3 w-full h-56 md:h-36 rounded-xl overflow-hidden",children:(0,t.jsx)("img",{src:(null==e?void 0:e.img)||(null==e?void 0:e.image)||"/no-image.jpg",alt:null==e?void 0:e.title,className:"w-full h-full object-cover"})}),(0,t.jsxs)("div",{className:"md:w-2/3 flex flex-col gap-2 p-2",children:[(0,t.jsxs)("div",{className:"flex items-center opacity-80",children:[(0,t.jsx)(u.u$_,{className:"w-4 h-4 mr-2"}),new Date(null==e?void 0:e.pubDate).toDateString()]}),(0,t.jsx)("h6",{className:"font-light line-clamp-1",children:null==e?void 0:e.title}),(0,t.jsx)("p",{className:"line-clamp-1 font-extralight",children:(null==(r=N[0])?void 0:r.desc)||(null==(l=N[0])?void 0:l.description)}),(0,t.jsxs)(o(),{href:null==e?void 0:e.link,target:"_blank",className:"inline-flex items-center text-sm font-semibold text-[var(--rv-primary)] group",children:["Read More",(0,t.jsx)(m.Z0P,{className:"ml-2 group-hover:translate-x-1 transition-transform"})]})]})]},e._id||e.id||a)})})]})})]})]})})},theme3:function(e){var a,r;let{newsData:l}
1=e,[n,m]=(0,s.useState)(!0),[u,v]=(0,s.useState)("ipo");(0,s.useEffect)(()=>{let e=setTimeout(()=>m(!1),1e3);return()=>clearTimeout(e)},[]);let x=Object.keys(l||{}),h=(null==l?void 0:l[u])||[];return(0,t.jsx)("div",{className:"px-4 bg-[var(--rv-bg-white)]",children:(0,t.jsxs)("section",{className:"max-w-7xl mx-auto main-section flex flex-col gap-6 md:gap-8",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-5 w-full flex-wrap",children:[(0,t.jsx)(d.A,{align:"start",description:"Latest News & Updates",heading:"News"}),!n&&(0,t.jsx)("div",{className:"",children:(0,t.jsx)(c.A,{link:"/news",text:"All News"})})]}),(0,t.jsx)("div",{className:"flex items-center gap-5 flex-wrap",children:x.map(e=>(0,t.jsx)("button",{onClick:()=>v(e),className:"font-medium transition-all text-[var(--rv-primary)] py-1 duration-300 ".concat(u===e?"border-b-2 border-[var(--rv-primary)]":""),children:"ipo"===e?"IPO News":"market"===e?"Market News":"Popular News"},e))}),(0,t.jsx)(i.P.div,{variants:{hidden:{},show:{transition:{staggerChildren:.2}}},initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.2},className:"grid lg:grid-cols-3 md:grid-cols-2 grid-cols-1 gap-5",children:n?Array.from({length:3}).map((e,a)=>(0,t.jsxs)("div",{className:"bg-[var(--rv-bg-gray-light)] animate-pulse rounded-xl overflow-hidden flex flex-col",children:[(0,t.jsx)("div",{className:"w-full h-48 bg-[var(--rv-bg-gray)]"}),(0,t.jsxs)("div",{className:"p-5 flex flex-col gap-3",children:[(0,t.jsx)("div",{className:"w-24 h-4 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-3/4 h-5 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-full h-4 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-1/2 h-4 bg-[var(--rv-bg-gray)] rounded"})]})]},a)):Array.isArray(h)?null==h||null==(r=h.slice(0,3))?void 0:r.map((e,a)=>(0,t.jsx)(i.P.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.1*a},className:"bg-[var(--rv-bg-white)] overflow-hidden",children:(0,t.jsxs)(o(),{href:null==e?void 0:e.link,target:"_blank",children:[(0,t.jsx)("img",{src:(null==e?void 0:e.img)||(null==e?void 0:e.image)||"/no-image.jpg",alt:null==e?void 0:e.title,className:"w-full h-80 object-cover border rounded-xl"}),(0,t.jsxs)("div",{className:"p-5 flex flex-col gap-3",children:[(0,t.jsx)("h6",{className:"font-semibold text-[var(--rv-primary)] line-clamp-2",children:null==e?void 0:e.title}),(0,t.jsx)("p",{className:"line-clamp-2",children:(null==e?void 0:e.desc)||(null==e?void 0:e.description)})]})]})},e._id||e.id||a)):(0,t.jsx)("p",{className:"text-center text-[var(--rv-red-dark)] font-medium col-span-3",children:(null==l||null==(a=l[u])?void 0:a.error)||"No data available"})})]})})},theme4:function(e){var a,r;let{newsData:l}
1=e,[n,v]=(0,s.useState)(!0),[x,h]=(0,s.useState)("ipo");(0,s.useEffect)(()=>{let e=setTimeout(()=>v(!1),1e3);return()=>clearTimeout(e)},[]);let p=Object.keys(l||{}),g=(null==l?void 0:l[x])||[];return(0,t.jsx)("section",{className:"px-4 bg-[var(--rv-bg-white)] text-[var(--rv-black)]",children:(0,t.jsx)("div",{className:"main-section border-b",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto flex flex-col gap-6 md:gap-8",children:[(0,t.jsx)(d.A,{heading:"Latest News & Updates",title:"News"}),(0,t.jsx)("div",{className:"flex justify-center gap-3 flex-wrap p-1 rounded-full w-fit mx-auto bg-[var(--rv-bg-primary-light)] ",children:p.map(e=>(0,t.jsx)("button",{onClick:()=>h(e),className:"px-4 py-2 rounded-full text-sm font-medium transition-all duration-300 ".concat(x===e?"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] shadow-md":"bg-[var(--rv-bg-white)] text-[var(--rv-black)] "),children:"ipo"===e?"IPO News":"market"===e?"Market News":"Popular News"},e))}),(0,t.jsx)(i.P.div,{variants:{hidden:{},show:{transition:{staggerChildren:.2}}},initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.2},className:"grid lg:grid-cols-3 md:grid-cols-2 grid-cols-1 gap-5",children:n?Array.from({length:3}).map((e,a)=>(0,t.jsxs)("div",{className:"bg-[var(--rv-bg-gray-light)] animate-pulse rounded-xl overflow-hidden flex flex-col",children:[(0,t.jsx)("div",{className:"w-full h-48 bg-[var(--rv-bg-gray)]"}),(0,t.jsxs)("div",{className:"p-5 flex flex-col gap-3",children:[(0,t.jsx)("div",{className:"w-24 h-4 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-3/4 h-5 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-full h-4 bg-[var(--rv-bg-gray)] rounded"}),(0,t.jsx)("div",{className:"w-1/2 h-4 bg-[var(--rv-bg-gray)] rounded"})]})]},a)):Array.isArray(g)?null==g||null==(r=g.slice(0,3))?void 0:r.map((e,a)=>(0,t.jsxs)(i.P.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.1*a},className:"bg-[var(--rv-bg-white)] border border-[var(--rv-border)] rounded-xl overflow-hidden",children:[(0,t.jsx)("img",{src:(null==e?void 0:e.img)||(null==e?void 0:e.image)||"/no-image.jpg",alt:null==e?void 0:e.title,className:"w-full h-64 object-cover"}),(0,t.jsxs)("div",{className:"p-5 flex flex-col gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center ",children:[(0,t.jsx)(u.u$_,{className:"w-4 h-4 mr-2"}),new Date(null==e?void 0:e.pubDate).toDateString()]}),(0,t.jsx)("h6",{className:"font-semibold line-clamp-2 text-[var(--rv-primary)]",children:null==e?void 0:e.title}),(0,t.jsx)("p",{className:"line-clamp-2",children:(null==e?void 0:e.desc)||(null==e?void 0:e.description)}),(0,t.jsxs)(o(),{href:null==e?void 0:e.link,target:"_blank",className:"inline-flex items-center font-semibold transition-colors group",children:["Read More",(0,t.jsx)(m.Z0P,{className:"w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform"})]})]})]},e._id||e.id||a)):(0,t.jsx)("p",{className:"text-center text-[var(--rv-red-dark)] font-medium col-span-3",children:(null==l||null==(a=l[x])?void 0:a.error)||"No data available"})}),!n&&(0,t.jsx)("div",{className:"mx-auto",children:(0,t.jsx)(c.A,{link:"/news",text:"All News",className:"border border-[var(--rv-bg-primary)]"})})]})})})},theme5:function(e){var a;let{newsData:r}
1=e,[l,n]=(0,s.useState)(!0),[v,x]=(0,s.useState)("ipo");(0,s.useEffect)(()=>{let e=setTimeout(()=>n(!1),1e3);return()=>clearTimeout(e)},[]);let h=Object.keys(r||{}),p=Array.isArray(null==r?void 0:r[v])?r[v]:[];return(0,t.jsx)("div",{className:"px-4 bg-[var(--rv-bg-white)]",children:(0,t.jsxs)("section",{className:"max-w-7xl mx-auto main-section flex flex-col gap-6 md:gap-8",children:[(0,t.jsx)(d.A,{heading:"Latest News & Updates",highlight:"Latest",title:"News"}),(0,t.jsx)("div",{className:"flex justify-center gap-3 flex-wrap",children:null==h?void 0:h.map(e=>(0,t.jsx)("button",{onClick:()=>x(e),className:"px-4 py-2 rounded-full font-medium transition-all duration-300 ".concat(v===e?"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] shadow-md":"bg-[var(--rv-bg-white)] text-[var(--rv-text-primary)] hover:bg-[var(--rv-bg-primary)] hover:text-[var(--rv-white)]"),children:"ipo"===e?"IPO News":"market"===e?"Market News":"Popular News"},e))}),(0,t.jsx)(i.P.div,{variants:{hidden:{},show:{transition:{staggerChildren:.2}}},initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.2},className:"",children:(0,t.jsx)("div",{className:"grid md:grid-cols-2 grid-cols-1 gap-5",children:null==p||null==(a=p.slice(0,4))?void 0:a.map((e,a)=>{var r,l;return(0,t.jsxs)(i.P.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.1*a},className:"bg-[var(--rv-bg-white)] text-[var(--rv-black)] border rounded-xl overflow-hidden flex flex-col md:flex-row items-center gap-3",children:[(0,t.jsx)("div",{className:"md:w-1/3 h-60",children:(0,t.jsx)("img",{src:(null==e?void 0:e.img)||(null==e?void 0:e.image)||"/no-image.jpg",alt:null==e?void 0:e.title,className:"w-full h-full object-cover"})}),(0,t.jsxs)("div",{className:"md:w-2/3 flex flex-col gap-2 p-4",children:[(0,t.jsxs)("div",{className:"flex items-center opacity-80",children:[(0,t.jsx)(u.u$_,{className:"w-4 h-4 mr-2"}),new Date(null==e?void 0:e.pubDate).toDateString()]}),(0,t.jsx)("h6",{className:"font-semibold line-clamp-2",children:null==e?void 0:e.title}),(0,t.jsx)("p",{className:"line-clamp-3",children:(null==(r=p[0])?void 0:r.desc)||(null==(l=p[0])?void 0:l.description)}),(0,t.jsxs)(o(),{href:null==e?void 0:e.link,target:"_blank",className:"inline-flex items-center text-sm font-semibold text-[var(--rv-primary)] group",children:["Read More",(0,t.jsx)(m.Z0P,{className:"ml-2 group-hover:translate-x-1 transition-transform"})]})]})]},e._id||e.id||a)})})}),!l&&(0,t.jsx)("div",{className:"mx-auto",children:(0,t.jsx)(c.A,{link:"/news",text:"All News  "})})]})})}};function h(e){let{newsData:a}=e,{theme:r}=(0,l.D)(),s=x[r]||v;return(0,t.jsx)(s,{newsData:a})}},41855:(e,a,r)=>{"use strict";r.d(a,{D:()=>o,ThemeProvider:()=>c});var t=r(95155),l=r(12115),s=r(20063);let i=(0,l.createContext)(null),n="theme3",o=()=>{let e=(0,l.useContext)(i);return e||{theme:n,isDark:!1}},c=e=>{let{children:a}=e,[r]=(0,l.useState)(n),[o]=(0,l.useState)(!1),c=(0,s.usePathname)();return(0,l.useLayoutEffect)(()=>{((e,a,r)=>{if("undefined"==typeof document)return;let t=document.querySelector("link[data-theme]");t||((t=document.createElement("link")).rel="stylesheet",document.head.appendChild(t)),t.setAttribute("data-theme",e),t.setAttribute("href","/themes/".concat(e,".css"));let l=document.body,s=document.documentElement;l&&(l.className="",l.classList.add(e),((null==a?void 0:a.startsWith("/admin"))||(null==a?void 0:a.startsWith("/devadmin")))&&l.classList.add("admin-layout"),r?(l.classList.add("theme-dark"),null==s||s.classList.add("dark")):(l.classList.add("theme-light"),null==s||s.classList.remove("dark")))})(r,c,o)},[r,c,o]),(0,t.jsx)(i.Provider,{value:{theme:r,isDark:o},children:a})}},49015:(e,a,r)=>{"use strict";r.d(a,{default:()=>h});var t=r(95155),l=r(41855),s=r(12115);r(15239);var i=r(74551),n=r(55614);r(74062);var o=r(28122),c=r(70898),d=r(75120),m=r(9342);let u=e=>{let{testimonials:a}=e,r=(0,s.useRef)(null),[l,u]=(0,s.useState)(0);return a[l],(0,t.jsx)(m.P.section,{className:"bg-[var(--rv-bg-white)] px-4",initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.6,ease:"easeOut"},children:(0,t.jsx)("div",{className:"max-w-7xl mx-auto main-section-top flex flex-col lg:flex-row gap-5 lg:gap-8 items-stretch",children:(0,t.jsx)(m.P.div,{className:"w-full overflow-hidden",initial:{opacity:0,x:25},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:(0,t.jsxs)("div",{className:"bg-[var(--rv-bg-primary-light)] rounded-xl h-full flex flex-col justify-between p-4 sm:p-6 gap-6",children:[(0,t.jsx)(m.P.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.4},children:(0,t.jsx)(d.A,{align:"start",title:"Testimonials",heading:"Voices of Our Happy Clients",description:"See how we’ve helped people achieve financial clarity and confidence."})}),(0,t.jsx)(m.P.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.4,delay:.1},children:(0,t.jsx)(i.RC,{modules:[n.Ij],onSwiper:e=>r.current=e,onSlideChange:e=>u(e.realIndex),loop:!0,autoplay:{delay:5e3,disableOnInteraction:!1},spaceBetween:20,slidesPerView:1.1,breakpoints:{640:{slidesPerView:1.4}},className:"!overflow-visible",children:a.map((e,a)=>{var r;return(0,t.jsx)(i.qr,{children:(0,t.jsxs)(m.P.div,{className:"bg-[var(--rv-bg-white)] rounded-xl p-4 md:p-6 h-full flex flex-col gap-3",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.5},transition:{duration:.35},children:[(0,t.jsx)(c.JwJ,{className:"text-2xl text-[var(--rv-primary)]"}),(0,t.jsx)("div",{className:"w-20 h-20 rounded-full overflow-hidden border-4 border-[var(--rv-primary)]",children:(null==e||null==(r=e.image)?void 0:r.url)?(0,t.jsx)("img",{src:e.image.url,alt:(null==e?void 0:e.author)||"Client",className:"w-full h-full object-cover"}):(0,t.jsx)("div",{className:"w-full h-full flex items-center justify-center    text-[var(--rv-gray)]",children:"No Image"})}),(0,t.jsx)("h5",{className:"font-semibold text-[var(--rv-primary)]",children:null==e?void 0:e.author}),(0,t.jsx)("p",{className:"leading-relaxed",dangerouslySetInnerHTML:{__html:e.content}})]})},a)})})}),(0,t.jsxs)(m.P.div,{className:"flex items-center justify-center gap-4 mt-4",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.4,delay:.1},children:[(0,t.jsx)(m.P.button,{type:"button",onClick:()=>{var e;return null==(e=r.current)?void 0:e.slidePrev()},className:"w-9 h-9 rounded-full bg-[var(--rv-bg-white)] flex items-center justify-center",whileHover:{scale:1.08,y:-2},whileTap:{scale:.95},children:(0,t.jsx)(o.kRp,{className:"text-[var(--rv-primary)]"})}),(0,t.jsx)("div",{className:"flex items-center gap-2",children:a.map((e,a)=>(0,t.jsx)(m.P.span,{className:"h-2 rounded-full transition-all ".concat(a===l?"bg-[var(--rv-primary)] w-4":"bg-[var(--rv-bg-white)] w-2"),layout:!0},a))}),(0,t.jsx)(m.P.button,{type:"button",onClick:()=>{var e;return null==(e=r.current)?void 0:e.slideNext()},className:"w-9 h-9 rounded-full bg-[var(--rv-bg-white)] flex items-center justify-center",whileHover:{scale:1.08,y:-2},whileTap:{scale:.95},children:(0,t.jsx)(o.dyV,{className:"text-[var(--rv-primary)]"})})]})]})})})})},v=e=>{let{testimonials:a=[]}
1=e,r=(0,s.useRef)(null),[l,o]=(0,s.useState)(0);return(0,t.jsx)("section",{className:"px-4 bg-[var(--rv-bg-white)] text-[var(--rv-white)]",children:(0,t.jsx)("div",{className:" main-section border-b",children:(0,t.jsxs)("div",{className:"max-w-5xl mx-auto flex flex-col gap-5 md:gap-8 ",children:[(0,t.jsx)(d.A,{title:"COMMUNITY VOICES",heading:"Trusted by progressive wealth creators",description:"Stories from the community across India."}),(0,t.jsx)("div",{children:(0,t.jsx)(i.RC,{modules:[n.Ij],autoplay:{delay:5e3,disableOnInteraction:!1},loop:!0,onSwiper:e=>r.current=e,onSlideChange:e=>o(e.realIndex),className:"w-full relative z-10 bg-gradient-to-tl from-[var(--rv-bg-primary-dark)] via-[var(--rv-bg-primary)] to-[var(--rv-bg-primary-light)] rounded-xl",children:a.map((e,s)=>{var n;return(0,t.jsx)(i.qr,{children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row gap-5 md:gap-8 items-center p-4",children:[(0,t.jsx)("div",{className:"w-fit",children:(0,t.jsx)("div",{className:"w-72 h-72 rounded-xl overflow-hidden relative",children:(0,t.jsx)("img",{src:null==e||null==(n=e.image)?void 0:n.url,alt:null==e?void 0:e.author,className:"object-cover w-full h-full"})})}),(0,t.jsxs)("div",{className:"w-full flex flex-col gap-5 ",children:[(0,t.jsx)("div",{className:"",children:(0,t.jsx)(c.K9h,{className:"text-3xl"})}),(0,t.jsx)("p",{className:"font-bold leading-relaxed ",dangerouslySetInnerHTML:{__html:null==e?void 0:e.content}}),(0,t.jsxs)("div",{className:"flex items-center justify-between gap-5",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:" font-semibold",children:null==e?void 0:e.author}),(0,t.jsx)("p",{className:"text-[var(--rv-secondary)]",children:null==e?void 0:e.designation})]}),(0,t.jsx)("div",{className:"flex items-center gap-2",children:a.map((e,a)=>(0,t.jsx)("div",{onClick:()=>r.current.slideToLoop(a),className:"transition-all duration-300 cursor-pointer ".concat(l===a?"border border-[var(--rv-bg-primary)] p-1 rounded-full":""),children:(0,t.jsx)("div",{className:"w-3 h-3 rounded-full ".concat(l===a?"bg-[var(--rv-bg-secondary)]":"bg-[var(--rv-bg-secondary-dark)]")})},a))})]})]})]})},s)})})})]})})})},x={theme1:u,theme2:e=>{let{testimonials:a=[]}=e,r=(0,s.useRef)(null),[l,u]=(0,s.useState)(0);return(0,t.jsx)("section",{className:"bg-[var(--rv-bg-black)] px-4 text-[var(--rv-white)] ",children:(0,t.jsxs)("div",{className:"max-w-5xl mx-auto main-section overflow-hidden flex flex-col gap-12",children:[(0,t.jsx)(m.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4},children:(0,t.jsx)(d.A,{title:"Happy Clients",heading:"Voices of Our Happy Clients",highlight:"Clients",description:"See how we’ve helped people achieve financial clarity and confidence."})}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(i.RC,{modules:[n.Ij],onSwiper:e=>{r.current=e},onSlideChange:e=>u(e.realIndex),loop:!0,autoplay:{delay:4e3,disableOnInteraction:!1,pauseOnMouseEnter:!0},spaceBetween:20,slidesPerView:1.1,breakpoints:{768:{slidesPerView:1},0:{slidesPerView:1}},className:"!overflow-visible",children:a.map((e,r)=>{var s;return(0,t.jsx)(i.qr,{children:(0,t.jsx)(m.P.div,{className:"bg-[var(--rv-bg-secondary)] rounded-xl p-5 w-full py-12 h-full ",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.35},children:(0,t.jsxs)("div",{className:"max-w-2xl mx-auto text-center flex flex-col gap-3",children:[(0,t.jsx)("div",{className:"w-20 h-20 absolute z-20 top-0 left-1/2 -translate-y-1/2 -translate-x-1/2 bg-[var(--rv-bg-black)] flex items-center justify-center rounded-full",children:(0,t.jsx)(c.JwJ,{className:"text-4xl rotate-180 text-[var(--rv-primary)]"})}),(0,t.jsx)("p",{className:"leading-relaxed",dangerouslySetInnerHTML:{__html:null==e?void 0:e.content}}),(0,t.jsx)("div",{className:"flex items-center justify-center",children:(0,t.jsx)("div",{className:"w-20 h-20 rounded-full overflow-hidden border-2 border-[var(--rv-primary)]",children:(null==e||null==(s=e.image)?void 0:s.url)?(0,t.jsx)("img",{src:e.image.url,alt:(null==e?void 0:e.author)||"Client",className:"w-full h-full object-cover"}):(0,t.jsx)("div",{className:"w-full h-full flex items-center justify-center   ",children:"No Image"})})}),(0,t.jsx)("h5",{className:"font-semibold text-[var(--rv-primary)]",children:null==e?void 0:e.author}),(0,t.jsx)("div",{className:"flex items-center justify-center gap-2",children:a.map((e,a)=>(0,t.jsx)("span",{className:"h-2 rounded-full transition-all ".concat(a===l?"bg-[var(--rv-primary)] w-4":"bg-[var(--rv-bg-white)] w-2")},a))})]})})},r)})}),(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4 w-full absolute z-10 top-1/2 -translate-y-1/2 left-0",children:[(0,t.jsx)(m.P.button,{type:"button",onClick:()=>{r.current&&(r.current.slidePrev(),r.current.autoplay.start())},className:"w-9 h-9 -ml-3 rounded-full bg-[var(--rv-bg-black)] flex items-center justify-center",children:(0,t.jsx)(o.kRp,{className:"text-[var(--rv-primary)]"})}),(0,t.jsx)(m.P.button,{type:"button",onClick:()=>{r.current&&(r.current.slideNext(),r.current.autoplay.start())},className:"w-9 h-9 -mr-3 rounded-full bg-[var(--rv-bg-black)] flex items-center justify-center",children:(0,t.jsx)(o.dyV,{className:"text-[var(--rv-primary)]"})})]})]})]})})},theme3:v,theme4:v,theme5:e=>{let{testimonials:a}
1=e,r=(0,s.useRef)(null),[l,o]=(0,s.useState)(0);return a[l],(0,t.jsx)(m.P.section,{className:"bg-[var(--rv-bg-white)] px-4",initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.6,ease:"easeOut"},children:(0,t.jsx)("div",{className:"max-w-7xl mx-auto main-section-top",children:(0,t.jsxs)(m.P.div,{className:"w-full overflow-hidden flex flex-col gap-5 md:gap-8",initial:{opacity:0,x:25},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:[(0,t.jsx)(m.P.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.4},children:(0,t.jsx)(d.A,{align:"start",heading:"Voices of Our Happy Clients",description:"See how we’ve helped people achieve financial clarity and confidence."})}),(0,t.jsx)(m.P.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.4,delay:.1},children:(0,t.jsx)(i.RC,{modules:[n.Ij],onSwiper:e=>r.current=e,onSlideChange:e=>o(e.realIndex),loop:!0,autoplay:{delay:5e3,disableOnInteraction:!1},spaceBetween:20,slidesPerView:1,breakpoints:{1024:{slidesPerView:3},780:{slidesPerView:2},560:{slidesPerView:1}},className:"!overflow-visible",children:a.map((e,a)=>{var r;return(0,t.jsx)(i.qr,{children:(0,t.jsx)(m.P.div,{className:"bg-[var(--rv-bg-white)] border rounded-xl p-4 md:p-6 lg:p-8 h-full",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.5},transition:{duration:.35},children:(0,t.jsxs)("div",{className:"flex flex-col items-center text-center gap-2",children:[(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"md:w-24 md:h-24 sm:w-20 sm:h-20 w-16 h-16 rounded-full overflow-hidden",children:(null==e||null==(r=e.image)?void 0:r.url)?(0,t.jsx)("img",{src:e.image.url,alt:(null==e?void 0:e.author)||"Client",className:"w-full h-full object-cover"}):(0,t.jsx)("div",{className:"w-full h-full flex items-center justify-center    text-[var(--rv-gray)]",children:"No Image"})})}),(0,t.jsx)("h5",{className:"font-semibold text-[var(--rv-primary)]",children:null==e?void 0:e.author}),(0,t.jsx)("p",{className:"leading-relaxed",dangerouslySetInnerHTML:{__html:e.content}})]})})},a)})})})]})})})}};function h(e){let{testimonials:a}=e,{theme:r}=(0,l.D)(),s=x[r]||u;return(0,t.jsx)(s,{testimonials:a})}},49498:(e,a,r)=>{"use strict";r.d(a,{cn:()=>s});var t=r(2821),l=r(75889);function s(){for(var e=arguments.length,a=Array(e),r=0;r<e;r++)a[r]=arguments[r];return(0,l.QP)((0,t.$)(a))}r(95704)},49502:(e,a,r)=>{"use strict";r.d(a,{default:()=>b});var t=r(95155),l=r(41855),s=r(12115),i=r(50742),n=r(30308),o=r(74744);r(33262);var c=r(70898),d=r(75120),m=r(9342),u=r(21232),v=r(25363);let x=e=>{let{sitedata:a}=e,[r,l]=(0,s.useState)({username:"",email:"",phone:"",message:"",captcha:""}
1),[x,h]=(0,s.useState)({}),[p,g]=(0,s.useState)(!1),[f,b]=(0,s.useState)(!1),[y,j]=(0,s.useState)(""),[w,N]=(0,s.useState)(""),k=()=>{let e=Math.random().toString(36).substring(2,8).toUpperCase();j(e),N("data:image/svg+xml;base64,".concat(btoa('<svg xmlns="http://www.w3.org/2000/svg" height="35" width="115">\n      <rect width="100%" height="100%" fill="#f0f4ff"/>\n      <text x="15" y="24" font-size="20" fill="#1B2452" font-family="Arial, sans-serif" font-weight="bold">'.concat(e,"</text>\n    </svg>")))),l(e=>({...e,captcha:""}))};(0,s.useEffect)(()=>{k()},[]);let S=e=>{let{name:a,value:r}=e.target;l(e=>({...e,[a]:r})),x[a]&&h(e=>({...e,[a]:""}))},P=async e=>{if(e.preventDefault(),p)return;let t=(()=>{let e={};return r.username.trim()||(e.username="Full name is required"),r.email.trim()?/\S+@\S+\.\S+/.test(r.email)||(e.email="Email is invalid"):e.email="Email is required",r.phone.trim()?/^\d{10}$/.test(r.phone)||(e.phone="Phone number must be 10 digits"):e.phone="Phone number is required",r.message.trim()||(e.message="Message is required"),e})();if(Object.keys(t).length>0)return void h(t);if(r.captcha.toUpperCase()!==y.toUpperCase()){o.oR.error("Captcha does not match!"),k();return}g(!0);let s={to:r.email,subject:"Thank You for Your Enquiry!",text:"Dear ".concat(r.username,",\n\nWe appreciate your interest. Our team will c
1ontact you soon.\n\n").concat("We’re excited to help you reach your financial goals.")},i={to:null==a?void 0:a.email,subject:"New Enquiry Received",text:"New Enquiry:\n\nName: ".concat(r.username,"\nEmail: ").concat(r.email,"\nMobile: ").concat(r.phone,"\nMessage: ").concat(r.message)},n={username:r.username,email:r.email,mobile:r.phone,message:r.message};try{let e=await fetch("".concat("https://mundadafinserve.com","/api/leads"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});201===e.status?(o.oR.success("Your message has been sent!"),await fetch("".concat("https://mundadafinserve.com","/api/email"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}),await fetch("".concat("https://mundadafinserve.com","/api/email"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)}),b(!0),l({username:"",email:"",phone:"",message:"",captcha:""}),k()):o.oR.error("Submission failed!")}catch(e){console.error(e),o.oR.error("Something went wrong!")}finally{g(!1)}};return i.vJA,null==a||a.email,i.Elw,null==a||a.mobile,n.ktx,null==a||a.address,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.N9,{}),(0,t.jsx)(m.P.section,{className:"bg-[var(--rv-bg-white)] px-4 relative z-10",initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.6,ease:"easeOut"},children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section flex flex-col items-center gap-5 md:gap-8",children:[(0,t.jsx)(m.P.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.45},children:(0,t.jsx)(d.A,{title:"contact us",heading:" Get in Touch",description:"We love to hear from you. Send us a message and well respond as soon as possible."})}),(0,t.jsx)("div",{className:"max-w-5xl mx-auto w-full",children:(0,t.jsxs)(m.P.form,{onSubmit:P,className:"rounded-xl border border-[var(--rv-black-light)] bg-[var(--rv-bg-white)] transition p-5",initial:{opacity:0,x:25},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.3},transition:{duration:.5},children:[(0,t.jsxs)("div",{className:"mb-3",children:[(0,t.jsx)("label",{className:"block font-medium mb-1",children:"Full Name"}),(0,t.jsx)("input",{type:"text",name:"username",className:"w-full border p-3 rounded-md border-[var(--rv-black-light)] focus:outline-none focus:ring-1 focus:ring-[var(--rv-primary)] transition bg-transparent",placeholder:"John Doe",value:r.username,onChange:S}),x.username&&(0,t.jsx)("p",{className:"text-[var(--rv-red)] text-sm mt-2",children:x.username})]}),(0,t.jsxs)("div",{className:"mb-3",children:[(0,t.jsx)("label",{className:"block font-medium mb-1",children:"Email Address"}),(0,t.jsx)("input",{type:"email",name:"email",className:"w-full border p-3 rounded-md border-[var(--rv-black-light)] focus:outline-none focus:ring-1 focus:ring-[var(--rv-primary)] transition bg-transparent",placeholder:"[email protected]",value:r.email,onChange:S}),x.email&&(0,t.jsx)("p",{className:"text-[var(--rv-red)] text-sm mt-2",children:x.email})]}),(0,t.jsxs)("div",{className:"mb-3",children:[(0,t.jsx)("label",{className:"block font-medium mb-1",children:"Phone Number"}),(0,t.jsx)("input",{type:"text",name:"phone",maxLength:"10",className:"w-full border p-3 rounded-md border-[var(--rv-black-light)] focus:outline-none focus:ring-1 focus:ring-[var(--rv-primary)] transition bg-transparent",placeholder:"1234567890",value:r.phone,onChange:S}),x.phone&&(0,t.jsx)("p",{className:"text-[var(--rv-red)] text-sm mt-2",children:x.phone})]}),(0,t.jsxs)("div",{className:"mb-3",children:[(0,t.jsx)("label",{className:"block font-medium mb-1",children:"Message"}),(0,t.jsx)("textarea",{name:"message",rows:"5",className:"w-full border p-3 rounded-md border-[var(--rv-black-light)] focus:outline-none focus:ring-1 focus:ring-[var(--rv-primary)] transition bg-transparent resize-none",placeholder:"Tell us more about your inquiry...",value:r.message,onChange:S}),x.message&&(0,t.jsx)("p",{className:"text-[var(--rv-red)] text-sm mt-2",children:x.message})]}),(0,t.jsxs)("div",{className:"mb-3",children:[(0,t.jsx)("label",{className:"block font-medium mb-1",children:"Security Verification"}),(0,t.jsx)(v.A,{imageSrc:w,onRefresh:k,value:r.captcha,onChange:S,name:"captcha",placeholder:"Enter the code above",className:"bg-[var(--rv-bg-white)] border-[var(--rv-gray)]",inputClassName:"border-[var(--rv-gray)] bg-[var(--rv-bg-white)] text-[var(--rv-black)]",buttonClassName:"bg-[var(--rv-primary)] text-[var(--rv-white)] hover:brightness-110"})]}),(0,t.jsx)(u.A,{type:"submit",disabled:p,whileHover:p?{}:{scale:1.02,y:-1},whileTap:p?{}:{scale:.97},className:"flex items-center justify-center gap-2 ".concat(p?"o
1pacity-70 cursor-not-allowed hover:scale-100":""),text:p?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.hW,{className:"animate-spin"})," Sending..."]}):"Send Message"})]})})]})})]})};var h=r(33828),p=r(57830),g=r(74233);let f={theme1:x,theme2:e=>{let{sitedata:a}=e,[r,l]=(0,s.useState)({username:"",mobile:"",email:"",message:"",captcha:""}),[i,n]=(0,s.useState)(!1),[m,x]=(0,s.useState)(!1),[p,g]=(0,s.useState)(""),[f,b]=(0,s.useState)(""),y=()=>{let e=Math.random().toString(36).substring(2,8).toUpperCase();g(e),b("data:image/svg+xml;base64,".concat(btoa('<svg xmlns="http://www.w3.org/2000/svg" height="30" width="70">\n      <rect width="100%" height="100%" fill="#f8d7c3"/>\n      <text x="8" y="20" font-size="16" fill="#a30a00" font-family="monospace">'.concat(e,"</text>\n    </svg>")))),l(e=>({...e,captcha:""}))};(0,s.useEffect)(()=>{y()},[]);let j=e=>{l({...r,[e.target.name]:e.target.value})},w=async e=>{if(e.preventDefault(),r.captcha.trim().toUpperCase()!==p.trim().toUpperCase()){o.oR.error("Captcha does not match. Try again."),y();return}n(!0);let t={to:r.email,subject:"Thank You for Your Enquiry!",text:"Dear ".concat(r.username,",\n\nWe appreciate your interest. Our team will c
1ontact you soon.\n\n").concat("We’re excited to help you reach your financial goals.")},s={to:null==a?void 0:a.email,subject:"New Enquiry Received",text:"New Enquiry:\n\nName: ".concat(r.username,"\nEmail: ").concat(r.email,"\nMobile: ").concat(r.mobile,"\nMessage: ").concat(r.message)};try{let e=await fetch("".concat("https://mundadafinserve.com","/api/leads"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});201===e.status?(o.oR.success("Your message has been sent!"),await fetch("".concat("https://mundadafinserve.com","/api/email"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),await fetch("".concat("https://mundadafinserve.com","/api/email"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}),x(!0),l({username:"",email:"",mobile:"",message:"",captcha:""}),y()):o.oR.error("Submission failed!")}catch(e){o.oR.error("Something went wrong!"),console.log(e)}finally{n(!1)}};return(0,t.jsxs)("div",{children:[(0,t.jsx)(o.N9,{}),(0,t.jsx)("section",{className:"bg-[var(--rv-bg-black)] p-2 md:p-4 text-[var(--rv-white)] overflow-hidden",children:(0,t.jsx)("div",{className:"px-4 bg-[var(--rv-bg-secondary)] rounded-xl",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section flex flex-col gap-5 md:gap-8",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5",children:[(0,t.jsxs)("div",{className:"bg-[var(--rv-bg-black)] rounded-xl p-4 flex gap-4 flex-col",children:[(0,t.jsx)("div",{className:"w-12 h-12 rounded-xl bg-[var(--rv-bg-secondary)] text-[var(--rv-bg-primary)] flex items-center justify-center",children:(0,t.jsx)(c.l7z,{size:20})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{children:"Email"}),(0,t.jsx)("a",{href:"mailto:".concat((null==a?void 0:a.email)||"[email protected]"),className:"font-medium hover:underline",children:(null==a?void 0:a.email)||"[email protected]"})]})]}),(0,t.jsxs)("div",{className:"bg-[var(--rv-bg-black)] rounded-xl p-4 flex gap-4 flex-col",children:[(0,t.jsx)("div",{className:"w-12 h-12 rounded-xl bg-[var(--rv-bg-secondary)] text-[var(--rv-bg-primary)] flex items-center justify-center",children:(0,t.jsx)(c.Cab,{size:20})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{children:"Phone"}),(0,t.jsx)("a",{href:"tel:".concat((null==a?void 0:a.mobile)||"+91xxxxxxxxxx"),className:"font-medium hover:underline",children:(null==a?void 0:a.mobile)||"+91 xxxxxxxxxx"})]})]}),(0,t.jsxs)("div",{className:"bg-[var(--rv-bg-black)] rounded-xl p-4 flex gap-4 flex-col",children:[(0,t.jsx)("div",{className:"w-12 h-12 rounded-xl bg-[var(--rv-bg-secondary)] text-[var(--rv-bg-primary)] flex items-center justify-center",children:(0,t.jsx)(h.H9t,{size:20})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{children:"Address"}),(0,t.jsx)("a",{href:"https://www.google.com/maps/search/?api=1&query=".concat(encodeURIComponent((null==a?void 0:a.address)||"Mumbai, India")),target:"_blank",rel:"noopener noreferrer",className:"font-medium hover:underline",children:(null==a?void 0:a.address)||"Mumbai, India"})]})]})]}),(0,t.jsxs)("form",{onSubmit:w,className:"bg-[var(--rv-bg-black)] rounded-xl shadow-sm p-4 md:p-7 flex flex-col gap-4",children:[(0,t.jsx)(d.A,{align:"start",title:"Get in Touch",highlight:"Chat",heading:"Let’s Chat, Reach Out to Us",description:"Have questions? Send us a message and we’ll reply soon."}),(0,t.jsxs)("div",{className:"grid md:grid-cols-2 gap-4",children:[(0,t.jsx)("input",{type:"text",name:"username",placeholder:"Username",value:r.username,onChange:j,className:"w-full px-4 py-3  border rounded-lg border-[var(--rv-white-light)] outline-none bg-transparent",required:!0}),(0,t.jsx)("input",{type:"text",name:"mobile",placeholder:"Mobile No.",value:r.mobile,onChange:j,className:"w-full px-4 py-3  border rounded-lg border-[var(--rv-white-light)] outline-none bg-transparent",required:!0})]}),(0,t.jsx)("input",{type:"email",name:"email",placeholder:"Email address",value:r.email,onChange:j,className:"w-full px-4 py-3 border rounded-lg border-[var(--rv-white-light)] outline-none bg-transparent",required:!0}),(0,t.jsx)("textarea",{name:"message",placeholder:"Leave us a message",value:r.message,onChange:j,rows:"4",className:"w-full px-4 py-3 border rounded-lg border-[var(--rv-white-light)] outline-none bg-transparent resize-none",required:!0}),(0,t.jsx)("div",{children:(0,t.jsx)(v.A,{imageSrc:f,onRefresh:y,value:r.captcha,onChange:j,name:"captcha",placeholder:"Enter Captcha",className:"bg-transparent border-[var(--rv-white-light)]",inputClassName:"border-[var(--rv-white-light)] bg-transparent text-[var(--rv-white)] placeholder:text-[var(--rv-white)]/70",buttonClassName:"bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)(u.A,{type:"submit",disabled:i,text:i?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.hW,{className:"animate-spin"})," Sending..."]}):"Send Message"})})]}),(0,t.jsx)("div",{className:"w-full ",children:(0,t.jsx)("div",{className:"w-full h-96 rounded-xl overflow-hidden",children:(0,t.jsx)("iframe",{src:null==a?void 0:a.iframe,width:"100%",height:"100%",style:{border:0},loading:"lazy",title:"Office Location Map"})})})]})})})]})},theme3:e=>{let{sitedata:a={}}
1=e,[r,l]=(0,s.useState)({username:"",mobile:"",email:"",message:"",captcha:""}),[i,n]=(0,s.useState)({}),[m,u]=(0,s.useState)(!1),[x,h]=(0,s.useState)(""),[f,b]=(0,s.useState)(""),y=()=>{let e=Math.random().toString(36).substring(2,8).toUpperCase();h(e),b("data:image/svg+xml;base64,".concat(btoa('<svg xmlns="http://www.w3.org/2000/svg" height="36" width="90">\n      <rect width="100%" height="100%" fill="#f3f4f6"/>\n      <text x="10" y="24" font-size="20" fill="#111827" font-family="monospace" font-weight="600">'.concat(e,"</text>\n    </svg>")))),l(e=>({...e,captcha:""})),n(e=>({...e,captcha:void 0}))};(0,s.useEffect)(()=>{y()},[]);let j=e=>{let{name:a,value:r}=e.target;if("mobile"===a){let e=r.replace(/\D/g,"");e.length<=10&&l(a=>({...a,mobile:e}));return}l(e=>({...e,[a]:r})),n(e=>({...e,[a]:void 0}))},w=async e=>{var t;null==e||null==(t=e.preventDefault)||t.call(e);let s=(()=>{let e={};return r.username.trim()||(e.username="Name is required"),r.email.trim()?/\S+@\S+\.\S+/.test(r.email)||(e.email="Invalid email"):e.email="Email is required",r.mobile.trim()?10!==r.mobile.length&&(e.mobile="Mobile must be 10 digits"):e.mobile="Mobile number is required",r.message.trim()||(e.message="Message is required"),r.captcha.trim()?r.captcha.toUpperCase()!==x.toUpperCase()&&(e.captcha="Captcha does not match"):e.captcha="Captcha is required",e})();if(n(s),Object.keys(s).length>0)return;u(!0);let i={username:r.username,email:r.email,mobile:r.mobile,message:r.message};try{let e=await fetch("".concat("https://mundadafinserve.com","/api/leads"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(e.ok||201===e.status)o.oR.success("Your message has been sent!"),fetch("".concat("https://mundadafinserve.com","/api/email"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({to:r.email,subject:"Thanks for contacting ",text:"Dear ".concat(r.username,",\n\nThanks for reaching out. We've received your message and will get back to you shortly.\n\n— Team")})}).catch(e=>console.warn("email-to-user failed",e)),fetch("".concat("https://mundadafinserve.com","/api/email"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({to:null==a?void 0:a.email,subject:"New contact enquiry",text:"New enquiry from ".concat(r.username,"\nEmail: ").concat(r.email,"\nMobile: ").concat(r.mobile,"\n\nMessage:\n").concat(r.message)})}).catch(e=>console.warn("email-to-site failed",e)),l({username:"",mobile:"",email:"",message:"",captcha:""}),y();else{let a=await e.text().catch(()=>"");o.oR.error("Submission failed: "+(a||e.statusText))}}catch(e){console.error(e),o.oR.error("Something went wrong. Please try again later.")}finally{u(!1)}};return(0,t.jsxs)("section",{className:"bg-[var(--rv-bg-white)] px-4",children:[(0,t.jsx)(o.N9,{position:"top-right"}),(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section grid md:grid-cols-3 grid-cols-1 gap-5 md:gap-8 lg:gap-10 items-start",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-5 md:gap-8 md:col-span-2",children:[(0,t.jsx)(d.A,{title:"Contact",align:"start",heading:"Let’s build your financial plan",description:"Get expert guidance on investments, risk management, and tax planning—tailored to your goals."}),(0,t.jsx)("div",{className:"relative rounded-xl overflow-hidden flex flex-col gap-4 bg-[var(--rv-bg-white)]",children:(0,t.jsxs)("form",{className:"space-y-4",onSubmit:e=>w(e),noValidate:!0,children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block font-medium mb-1",children:"Full Name"}),(0,t.jsx)("input",{name:"username",value:r.username,onChange:j,type:"text",placeholder:"Enter your full name",className:"w-full border border-[var(--rv-gray)] rounded-lg px-3 py-2 bg-transparent text-[var(--rv-primary)] placeholder-gray-400 focus:outline-none focus:ring-1 focus:ring-[var(--rv-bg-primary)] transition"}),i.username&&(0,t.jsx)("p",{className:"text-[var(--rv-red)] text-sm mt-1",children:i.username})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block font-medium mb-1",children:"Email Address"}),(0,t.jsx)("input",{name:"email",value:r.email,onChange:j,type:"email",placeholder:"Enter your email address",className:"w-full border border-[var(--rv-gray)] rounded-lg px-3 py-2 bg-transparent text-[var(--rv-primary)] placeholder-gray-400 focus:outline-none focus:ring-1 focus:ring-[var(--rv-bg-primary)] transition"}),i.email&&(0,t.jsx)("p",{className:"text-[var(--rv-red)] text-sm mt-1",children:i.email})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block font-medium mb-1",children:"Mobile Number"}),(0,t.jsx)("input",{name:"mobile",value:r.mobile,onChange:j,type:"tel",placeholder:"Enter your mobile number",maxLength:10,className:"w-full border border-[var(--rv-gray)] rounded-lg px-3 py-2 bg-transparent text-[var(--rv-primary)] placeholder-gray-400 focus:outline-none focus:ring-1 focus:ring-[var(--rv-bg-primary)] transition"}),i.mobile&&(0,t.jsx)("p",{className:"text-[var(--rv-red)] text-sm mt-1",children:i.mobile})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block font-medium mb-1",children:"Your Message"}),(0,t.jsx)("textarea",{name:"message",value:r.message,onChange:j,placeholder:"Tell us about your financial goals...",rows:"4",className:"w-full border border-[var(--rv-gray)] rounded-lg px-3 py-2 bg-transparent text-[var(--rv-primary)] placeholder-gray-400 focus:outline-none focus:ring-1 focus:ring-[var(--rv-bg-primary)] transition"}),i.message&&(0,t.jsx)("p",{className:"text-[var(--rv-red)] text-sm mt-1",children:i.message})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)(v.A,{imageSrc:f,onRefresh:y,value:r.captcha,onChange:j,name:"captcha",placeholder:"Enter Captcha",className:"bg-transparent border-[var(--rv-gray)]",inputClassName:"border-[var(--rv-gray)] bg-transparent text-[var(--rv-primary)] placeholder:text-gray-400",buttonClassName:"bg-[var(--rv-primary)] text-[var(--rv-white)]"}),i.captcha&&(0,t.jsx)("p",{className:"text-[var(--rv-red)] text-sm mt-1",children:i.captcha})]}),(0,t.jsx)("div",{className:"pt-1",children:(0,t.jsx)("button",{type:"submit",disabled:m,className:"w-full text-[var(--rv-white)] font-semibold py-3 rounded-lg bg-[var(--rv-bg-primary)] transition flex items-center justify-center gap-3 ".concat(m?"opacity-80 curs
1or-not-allowed":""),children:m?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.hW,{className:"animate-spin"})," Sending..."]}):"Send Message"})})]})})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsxs)("div",{className:"w-full h-80 relative z-10 bg-[var(--rv-bg-secondary)] rounded-xl overflow-hidden",children:[(0,t.jsx)("img",{src:"/images/contact.png",className:"w-full h-full object-contain bg-left",alt:""}),(0,t.jsx)("div",{className:"absolute top-0 right-0 -z-10",children:(0,t.jsx)("img",{src:"/images/hero-info-item-bg.png",alt:""})}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 -z-10 rotate-180",children:(0,t.jsx)("img",{src:"/images/hero-info-item-bg.png",alt:""})})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 w-full gap-8",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 md:gap-4 text-[var(--rv-primary)]",children:[(0,t.jsx)("div",{className:"w-12 h-12 flex-shrink-0 rounded-full bg-[var(--rv-bg-primary-light)] flex items-center justify-center",children:(0,t.jsx)(g.B6P,{className:"text-2xl"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"uppercase",children:"Email"}),(0,t.jsx)("a",{href:"mailto:".concat((null==a?void 0:a.email)||"[email protected]"),className:"hover:underline",children:(null==a?void 0:a.email)||"[email protected]"})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 md:gap-4 text-[var(--rv-primary)]",children:[(0,t.jsx)("div",{className:"w-12 h-12 flex-shrink-0 rounded-full bg-[var(--rv-bg-primary-light)] flex items-center justify-center",children:(0,t.jsx)(p.npi,{className:"text-2xl"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"uppercase",children:"Phone"}),(0,t.jsx)("a",{href:"tel:".concat((null==a?void 0:a.mobile)||"+91xxxxxxxxxx"),className:"hover:underline",children:(null==a?void 0:a.mobile)||"+91 xxxxxxxxxx"})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 md:gap-4 text-[var(--rv-primary)]",children:[(0,t.jsx)("div",{className:"w-12 h-12 flex-shrink-0 rounded-full bg-[var(--rv-bg-primary-light)] flex items-center justify-center",children:(0,t.jsx)(c.vq8,{className:"text-2xl"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"uppercase",children:"Office Address"}),(0,t.jsx)("a",{href:"https://www.google.com/maps/search/?api=1&query=".concat(encodeURIComponent((null==a?void 0:a.address)||"Mumbai, India")),target:"_blank",rel:"noopener noreferrer",className:"hover:underline",children:(null==a?void 0:a.address)||"Mumbai, India"})]})]})]})]})]})]})},theme4:e=>{let{sitedata:a={}}=e,[r,l]=(0,s.useState)({username:"",mobile:"",email:"",message:"",captcha:""}),[i,n]=(0,s.useState)({}
1),[m,u]=(0,s.useState)(!1),[x,h]=(0,s.useState)(""),[p,g]=(0,s.useState)(""),f=()=>{let e=Math.random().toString(36).substring(2,8).toUpperCase();h(e),g("data:image/svg+xml;base64,".concat(btoa('<svg xmlns="http://www.w3.org/2000/svg" height="36" width="90">\n      <rect width="100%" height="100%" fill="#f3f4f6"/>\n      <text x="10" y="24" font-size="20" fill="#111827" font-family="monospace" font-weight="600">'.concat(e,"</text>\n    </svg>")))),l(e=>({...e,captcha:""})),n(e=>({...e,captcha:void 0}))};(0,s.useEffect)(()=>{f()},[]);let b=e=>{let{name:a,value:r}=e.target;if("mobile"===a){let e=r.replace(/\D/g,"");e.length<=10&&l(a=>({...a,mobile:e}));return}l(e=>({...e,[a]:r})),n(e=>({...e,[a]:void 0}))},y=async e=>{var t;null==e||null==(t=e.preventDefault)||t.call(e);let s=(()=>{let e={};return r.username.trim()||(e.username="Name is required"),r.email.trim()?/\S+@\S+\.\S+/.test(r.email)||(e.email="Invalid email"):e.email="Email is required",r.mobile.trim()?10!==r.mobile.length&&(e.mobile="Mobile must be 10 digits"):e.mobile="Mobile number is required",r.message.trim()||(e.message="Message is required"),r.captcha.trim()?r.captcha.toUpperCase()!==x.toUpperCase()&&(e.captcha="Captcha does not match"):e.captcha="Captcha is required",e})();if(n(s),Object.keys(s).length>0)return;u(!0);let i={username:r.username,email:r.email,mobile:r.mobile,message:r.message};try{let e=await fetch("".concat("https://mundadafinserve.com","/api/leads"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(e.ok||201===e.status)o.oR.success("Your message has been sent!"),fetch("".concat("https://mundadafinserve.com","/api/email"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({to:r.email,subject:"Thanks for contact",text:"Dear ".concat(r.username,",\n\nThanks for reaching out. We've received your message and will get back to you shortly.\n\n— Team")})}).catch(e=>console.warn("email-to-user failed",e)),fetch("".concat("https://mundadafinserve.com","/api/email"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({to:null==a?void 0:a.email,subject:"New contact enquiry",text:"New enquiry from ".concat(r.username,"\nEmail: ").concat(r.email,"\nMobile: ").concat(r.mobile,"\n\nMessage:\n").concat(r.message)})}).catch(e=>console.warn("email-to-site failed",e)),l({username:"",mobile:"",email:"",message:"",captcha:""}),f();else{let a=await e.text().catch(()=>"");o.oR.error("Submission failed: "+(a||e.statusText))}}catch(e){console.error(e),o.oR.error("Something went wrong. Please try again later.")}finally{u(!1)}};return(0,t.jsxs)("section",{className:"bg-[var(--rv-bg-white)] px-4 text-[var(--rv-black)]",children:[(0,t.jsx)(o.N9,{position:"top-right"}),(0,t.jsx)("div",{className:"main-section border-b",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto grid md:grid-cols-2 grid-cols-1 gap-5 md:gap-8",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center gap-5 md:gap-8",children:[(0,t.jsx)(d.A,{title:"Contact",align:"start",heading:"Let’s shape your financial future together",description:"Our experts are here to help you create personalized investment strategies that align with your goals. Whether it’s wealth creation, risk management, or tax efficie
1ncy — we’ll guide you at every step."}),(0,t.jsx)("div",{className:"w-full h-96 rounded-xl overflow-hidden border border-[var(--rv-border)]",children:(0,t.jsx)("img",{src:"/images/contact1.jpg",className:"w-full h-full object-cover",alt:""})})]}),(0,t.jsxs)("div",{className:"relative rounded-xl overflow-hidden flex flex-col gap-4 p-6 md:p-8 shadow-lg border   border-[var(--rv-border)]",children:[(0,t.jsx)("h3",{className:"font-semibold text-center",children:"Get in Touch"}),(0,t.jsx)("p",{className:"text-center",children:"Fill out the form and our advisory team will reach out shortly."}),(0,t.jsxs)("form",{className:"space-y-4",onSubmit:e=>y(e),noValidate:!0,children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block font-medium mb-1",children:"Full Name"}),(0,t.jsx)("input",{name:"username",value:r.username,onChange:b,type:"text",placeholder:"Enter your full name",className:"w-full border border-[var(--rv-border)] rounded-lg px-3 py-2 bg-transparent placeholder-gray-400 outline-none transition"}),i.username&&(0,t.jsx)("p",{className:"text-[var(--rv-red)] text-sm mt-1",children:i.username})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block font-medium mb-1",children:"Email Address"}),(0,t.jsx)("input",{name:"email",value:r.email,onChange:b,type:"email",placeholder:"Enter your email address",className:"w-full border   border-[var(--rv-border)] rounded-lg px-3 py-2 bg-transparent placeholder-gray-400 outline-none transition"}),i.email&&(0,t.jsx)("p",{className:"text-[var(--rv-red)] text-sm mt-1",children:i.email})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block font-medium mb-1",children:"Mobile Number"}),(0,t.jsx)("input",{name:"mobile",value:r.mobile,onChange:b,type:"tel",placeholder:"Enter your mobile number",maxLength:10,className:"w-full border   border-[var(--rv-border)] rounded-lg px-3 py-2 bg-transparent placeholder-gray-400 outline-none transition"}),i.mobile&&(0,t.jsx)("p",{className:"text-[var(--rv-red)] text-sm mt-1",children:i.mobile})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block font-medium mb-1",children:"Your Message"}),(0,t.jsx)("textarea",{name:"message",value:r.message,onChange:b,placeholder:"Tell us about your financial goals...",rows:"4",className:"w-full border   border-[var(--rv-border)] rounded-lg px-3 py-2 bg-transparent placeholder-gray-400 outline-none transition"}),i.message&&(0,t.jsx)("p",{className:"text-[var(--rv-red)] text-sm mt-1",children:i.message})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)(v.A,{imageSrc:p,onRefresh:f,value:r.captcha,onChange:b,name:"captcha",placeholder:"Enter Captcha",className:"bg-transparent border-[var(--rv-border)]",inputClassName:"border-[var(--rv-border)] bg-transparent text-[var(--rv-black)] placeholder:text-gray-400",buttonClassName:"bg-[var(--rv-primary)] text-[var(--rv-white)]"}),i.captcha&&(0,t.jsx)("p",{className:"text-[var(--rv-red)] text-sm mt-1",children:i.captcha})]}),(0,t.jsx)("div",{className:"pt-1",children:(0,t.jsx)("button",{type:"submit",disabled:m,className:"w-full text-[var(--rv-white)] font-semibold py-3 rounded-lg bg-[var(--rv-bg-primary)] transition flex items-center justify-center gap-3 ".concat(m?"opacity-80 cursor-not-allowed":""),children:m?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.hW,{className:"animate-spin"})," Sending..."]}):"Send Message"})})]})]})]})})]})},theme5:e=>{let{sitedata:a}=e,[r,l]=(0,s.useState)({username:"",email:"",mobile:"",message:"",captcha:""}),[i,n]=(0,s.useState)(!1),[m,u]=(0,s.useState)(""),[x,h]=(0,s.use
1State)(""),p=()=>{let e=Math.random().toString(36).substring(2,8).toUpperCase();u(e),h("data:image/svg+xml;base64,".concat(btoa('<svg xmlns="http://www.w3.org/2000/svg" height="34" width="80">\n      <rect width="100%" height="100%" fill="#f8d7c3"/>\n      <text x="10" y="22" font-size="18" fill="#a30a00" font-family="monospace">'.concat(e,"</text>\n    </svg>")))),l(e=>({...e,captcha:""}))};(0,s.useEffect)(()=>{p()},[]);let g=e=>{l({...r,[e.target.name]:e.target.value})},f=async()=>{if(!(r.username.trim()?r.mobile.trim()?/^\d{10}$/.test(r.mobile.trim())?r.email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r.email.trim())?r.message.trim()?r.message.trim().length<5?(o.oR.error("Message must be at least 5 characters"),!1):r.captcha.trim()?r.captcha.trim().toUpperCase()===m.trim().toUpperCase()||(o.oR.error("Captcha does not match"),p(),!1):(o.oR.error("Captcha is required"),!1):(o.oR.error("Message is required"),!1):(o.oR.error("Invalid email format"),!1):(o.oR.error("Email is required"),!1):(o.oR.error("Phone number must be 10 digits"),!1):(o.oR.error("Phone number is required"),!1):(o.oR.error("Name is required"),!1)))return;n(!0);let e={to:r.email,subject:"Thank You for Your Enquiry!",text:"Dear ".concat(r.username,",\n\nWe appreciate your interest. Our team will c
1ontact you soon.\n\n").concat("We’re excited to help you reach your financial goals.")},t={to:null==a?void 0:a.email,subject:"New Enquiry Received",text:"New Enquiry:\n\nName: ".concat(r.username,"\nEmail: ").concat(r.email,"\nMobile: ").concat(r.mobile,"\nMessage: ").concat(r.message)};try{let a=await fetch("".concat("https://mundadafinserve.com","/api/leads"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});201===a.status?(o.oR.success("Your message has been sent!"),await fetch("".concat("https://mundadafinserve.com","/api/email"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),await fetch("".concat("https://mundadafinserve.com","/api/email"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),l({username:"",email:"",mobile:"",message:"",captcha:""}),p()):o.oR.error("Submission failed!")}catch(e){o.oR.error("Something went wrong!"),console.log(e)}finally{n(!1)}};return(0,t.jsxs)("div",{children:[(0,t.jsx)(o.N9,{}),(0,t.jsx)("div",{className:"px-4 bg-[var(--rv-bg-white)]",children:(0,t.jsx)("div",{className:"max-w-7xl mx-auto main-section flex flex-col gap-10 md:gap-20",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[(0,t.jsx)("div",{className:"",children:(0,t.jsx)(d.A,{align:"start",title:"Start a Conversation",heading:" Get in Touch Now",description:"Need personalized advice? Our dedicated team is here to assist you. Reach out today for expert support and tailored solutions to meet your needs."})}),(0,t.jsxs)("div",{className:"flex flex-col gap-5 lg:col-span-2",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:[(0,t.jsx)("div",{className:"flex flex-col",children:(0,t.jsx)("input",{type:"text",name:"username",placeholder:"Full Name",value:r.username,onChange:g,className:"w-full placeholder:text-[var(--rv-black)] font-medium py-3 border-b outline-none bg-[var(--rv-bg-white)] border-[var(--rv-bg-primary)]"})}),(0,t.jsx)("div",{className:"flex flex-col",children:(0,t.jsx)("input",{type:"text",name:"mobile",placeholder:"Enter your phone",value:r.mobile,onChange:g,className:"w-full placeholder:text-[var(--rv-black)] font-medium py-3 border-b outline-none bg-[var(--rv-bg-white)] border-[var(--rv-bg-primary)]"})})]}),(0,t.jsx)("div",{className:"flex flex-col",children:(0,t.jsx)("input",{type:"email",name:"email",placeholder:"Enter your email",value:r.email,onChange:g,className:"w-full placeholder:text-[var(--rv-black)] font-medium py-3 border-b outline-none bg-[var(--rv-bg-white)] border-[var(--rv-bg-primary)]"})}),(0,t.jsx)("div",{className:"flex flex-col",children:(0,t.jsx)("textarea",{name:"message",placeholder:"Enter your message",value:r.message,onChange:g,rows:"3",className:"w-full placeholder:text-[var(--rv-black)] font-medium py-3 border-b outline-none bg-[var(--rv-bg-white)] border-[var(--rv-bg-primary)] resize-none"})}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("label",{className:" font-medium",children:"Captcha"}),(0,t.jsx)(v.A,{imageSrc:x,onRefresh:p,value:r.captcha,onChange:g,name:"captcha",placeholder:"Enter captcha",className:"bg-[var(--rv-bg-white)] border-[var(--rv-bg-primary)]",inputClassName:"border-[var(--rv-bg-primary)] bg-[var(--rv-bg-white)] text-[var(--rv-black)]",buttonClassName:"bg-[var(--rv-bg-gray-dark)] text-[var(--rv-white)]"})]}),(0,t.jsx)("button",{onClick:f,disabled:i,className:"w-full bg-[var(--rv-bg-primary)] hover:bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] font-semibold py-4 rounded-xl  \n                                        ".concat(i?"opacity-70 cursor-not-allowed":""),children:i?(0,t.jsxs)("div",{className:"flex gap-2 items-center justify-center",children:[(0,t.jsx)(c.hW,{className:"animate-spin"})," Sending..."]}):"Submit Now"})]})]})})})]})}};function b(e){let{sitedata:a}=e,{theme:r}=(0,l.D)(),s=f[r]||x;return(0,t.jsx)(s,{sitedata:a})}},50477:()=>{},62281:(e,a,r)=>{"use strict";r.d(a,{default:()=>v});var t=r(95155),l=r(12115),s=r(12870),i=r(15239),n=r(20063),o=r(9342),c=r(52619),d=r.n(c),m=r(60316),u=r.n(m);function v(e){let{arnId:a="8"}=e,r=(0,n.useRouter)(),c=(0,l.useRef)(null),[m,v]=(0,l.useState)([]),[x,h]=(0,l.useState)([]),[p,g]=(0,l.useState)(null),[f,b]=(0,l.useState)(""),[y,j]=(0,l.useState)(!1);(0,l.useEffect)(()=>
1{if(x.length<=3)return;let e=c.current;if(!e)return;let a=setInterval(()=>{e.scrollTop+=.4,e.scrollTop+e.clientHeight>=e.scrollHeight&&(e.scrollTop=0)},20);return()=>clearInterval(a)},[x]),(0,l.useEffect)(()=>{a&&(async()=>{try{let e=await fetch("".concat("https://redvisionweb.com","/api/advisor-scheme-category?apikey=351b03c24a79d2f40796037e0d8c2c49"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({arnId:a})}),r=await e.json(),t=(null==r?void 0:r.status)&&(null==r?void 0:r.data)||[];v(t),t.length>0&&g(t[0].catId)}catch(e){console.error("Error fetching categories:",e)}})()},[a]);let w=async e=>{if(a&&e){j(!0),h([]);try{var r,t;let l=await s.A.post("".concat("https://redvisionweb.com","/api/advisor-scheme-category-funds?apikey=351b03c24a79d2f40796037e0d8c2c49"),{arnId:a,category:e,schemeCategory:"selectByAdvisor",exchange:"NSE"});b((null==l||null==(r=l.data)?void 0:r.imageUrl)||""),h((null==l||null==(t=l.data)?void 0:t.data)||[])}catch(e){console.error("Error fetching schemes:",e)}finally{j(!1)}}};(0,l.useEffect)(()=>{p&&w(p)},[p]);let N=e=>{let a=Math.max(0,Math.min(5,Math.round(e)||0));return(0,t.jsxs)("div",{className:"flex items-center gap-0.5 text-sm leading-none",children:[Array.from({length:a}).map((e,a)=>(0,t.jsx)("span",{className:"text-amber-400",children:"★"},"filled-".concat(a))),Array.from({length:5-a}).map((e,a)=>(0,t.jsx)("span",{className:"text-slate-300",children:"★"},"empty-".concat(a)))]})};return(0,t.jsx)("section",{className:"overflow-hidden bg-white py-10 lg:py-14",children:(0,t.jsxs)("div",{className:"max-w-7xl main_section mx-auto flex flex-col gap-8 lg:flex-row lg:items-stretch",children:[(0,t.jsxs)("div",{className:"w-full rounded-3xl border border-slate-200 bg-gradient-to-br from-slate-900 via-indigo-900 to-blue-800 p-5 shadow-xl lg:w-1/2 lg:p-8",children:[(0,t.jsx)("h2",{className:"mb-2 text-center text-3xl font-bold text-white",children:"Popular Funds"}),(0,t.jsx)("p",{className:"mb-6 text-center text-base text-slate-100 lg:text-lg",children:"Explore trusted funds with proven returns"}),(0,t.jsx)("div",{className:"mb-6 flex flex-wrap items-center justify-center gap-2",children:m.map(e=>(0,t.jsx)("button",{onClick:()=>{g(e.catId)},className:"rounded-full px-4 py-2 text-sm font-semibold transition ".concat(p===e.catId?"bg-white text-slate-900 shadow":"bg-amber-400 text-slate-900 hover:bg-amber-300"),children:e.categoryName},e.catId))}),(0,t.jsx)("div",{className:"space-y-4 ".concat(x.length>3?"max-h-72 overflow-y-auto pr-2 custom-scroll":""),children:y?(0,t.jsx)("p",{className:"text-center text-sm text-slate-100",children:"Loading funds..."}):x.length>0?x.map((e,a)=>(0,t.jsxs)("div",{className:"flex cursor-pointer items-center justify-between rounded-2xl border border-slate-200 bg-white p-4 text-slate-900 shadow-sm transition hover:-translate-y-0.5 hover:shadow-md",onClick:()=>(e=>{let a={pcode:e.pcode,timestamp:Date.now()},t=u().AES.encrypt(JSON.stringify(a),"125accbcf0096075e526fcc4e128a7f4e348a516e3b8303c8aa77cf3296c67ef").toString();localStorage.setItem("encryptedFundData",t),localStorage.setItem("selectedFundPcode",String(e.pcode||"")),r.push("/tools/calculators/single-fund")})(e),children:[(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4 md:flex-row",children:[(0,t.jsx)("div",{className:"min-h-[30px] min-w-[30px] md:min-h-[50px] md:min-w-[50px]",children:(0,t.jsx)(i.default,{src:e.amcLogo?"".concat(f).concat(e.amcLogo).replace("http://","https://"):"/default-logo.png",alt:"Fund Logo",width:50,height:50,className:"rounded-full border"})}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("h4",{className:"text-sm font-semibold leading-snug md:text-base",children:e.schemeName}),(0,t.jsxs)("h6",{className:"text-xs text-slate-500 md:text-sm",children:[e.subcatogary||"Equity",e.schemeType?" - ".concat(e.schemeType):""]})]}),(0,t.jsxs)("div",{className:"md:hidden",children:[(0,t.jsxs)("p",{className:"font-bold text-green-600",children:[e.oneYearPer||"0.00","%"]}),N(e.starRating)]})]})]}),(0,t.jsxs)("div",{className:"hidden text-right md:block",children:[(0,t.jsxs)("p",{className:"font-bold text-green-600",children:[e.oneYearPer||"0.00","%"]}),N(e.starRating)]})]},a)):(0,t.jsx)("p",{className:"rounded-2xl bg-white/10 px-4 py-6 text-center text-sm text-white",children:a?"No fund data available":"ARN data not available"})})]}),(0,t.jsxs)(o.P.div,{className:"w-full rounded-3xl bg-slate-50 p-6 ring-1 ring-slate-200 lg:w-1/2 lg:px-10 lg:py-12",initial:{x:100,opacity:0}
1,whileInView:{x:0,opacity:1},transition:{duration:.8},viewport:{once:!0},children:[(0,t.jsxs)(o.P.h2,{className:"mb-4 text-3xl font-bold text-slate-900 lg:text-4xl",initial:{x:20,opacity:0},whileInView:{x:0,opacity:1},transition:{delay:.3,duration:.5},viewport:{once:!0},children:["Explore ",(0,t.jsx)("span",{className:"text-indigo-700",children:"Mutual Funds"})]}),(0,t.jsx)(o.P.p,{className:"mb-8 leading-relaxed text-slate-700",initial:{x:20,opacity:0},whileInView:{x:0,opacity:1},transition:{delay:.5,duration:.5},viewport:{once:!0},children:"Mutual funds are one of the most trusted ways to grow your wealth over time. By pooling money from multiple investors, these funds strategically invest in a mix of stocks, bonds, and other securities, spreading risk while aiming for consistent returns. Whether you're saving for retirement or long-term growth, our curated lists help you invest smarter."}),(0,t.jsx)(d(),{href:"/services/mutual-funds",children:(0,t.jsx)(o.P.button,{className:"rounded-full bg-indigo-700 px-6 py-3 font-semibold text-white transition hover:bg-indigo-800",initial:{x:20,opacity:0},whileInView:{x:0,opacity:1},transition:{delay:.7,duration:.5},viewport:{once:!0},children:"Explore More"})})]})]})})}},63756:(e,a,r)=>{"use strict";r.d(a,{default:()=>f});var t=r(95155),l=r(41855);r(12115);var s=r(75120),i=r(46429),n=r(50700),o=r(9342),c=r(21232),d=r(70898);let m=e=>{let{stat:a,index:r}=e,{ref:l,inView:s}=(0,i.Wx)({triggerOnce:!0,threshold:.3}),c=(null==a?void 0:a.statsNumber)||"0",d=parseInt(c.replace(/[^\d]/g,""),10)||0,m=c.includes("+"),u=c.includes("%");return(0,t.jsxs)(o.P.div,{ref:l,className:"text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.1*r},children:[(0,t.jsxs)("div",{className:"flex items-center justify-center gap-1",children:[(0,t.jsxs)("h3",{className:"font-bold text-[var(--rv-primary)]",children:[s?(0,t.jsx)(n.Ay,{end:d,duration:2,separator:",",className:"text-3xl sm:text-4xl md:text-5xl"}):0,m&&"+",u&&"%"]}),(null==a?void 0:a.subtitle)&&(0,t.jsx)("h6",{className:"",children:a.subtitle})]}),(0,t.jsx)("p",{className:"mt-2 font-semibold text-[var(--rv-gray-dark)]",children:null==a?void 0:a.title})]})},u=e=>{var a,r,l,i,n,u,v,x;let{aboutData:h,stats:p}=e;return(0,t.jsx)("section",{className:" relative overflow-hidden bg-[var(--rv-white)] rounded-3xl px-4 ",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section flex flex-col gap-5 md:gap-8",children:[(0,t.jsxs)(o.P.div,{className:"grid grid-cols-1 lg:grid-cols-2 gap-10 items-start",initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},children:[(0,t.jsx)("div",{className:"flex flex-col gap-6",children:(0,t.jsx)(s.A,{align:"start",title:"ABOUT US",heading:(null==h||null==(a=h[0])?void 0:a.title)||"",description:null==h||null==(r=h[0])?void 0:r.description})}),(0,t.jsxs)("div",{className:"relative flex items-start w-full overflow-hidden gap-5",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-5 w-full",children:[(0,t.jsx)("div",{className:"w-full h-[280px] rounded-xl overflow-hidden",children:(0,t.jsx)("img",{src:null==(i=h[0])||null==(l=i.image)?void 0:l.url,alt:null==(n=h[0])?void 0:n.title,className:"w-full h-full object-cover"})}),(0,t.jsx)("div",{children:(0,t.jsx)(c.A,{link:"/about-us",text:"Learn More",Icon:d.eW4})})]}),(0,t.jsx)("div",{className:"w-full h-[350px] hidden md:block rounded-xl overflow-hidden",children:(0,t.jsx)("img",{src:null==(v=h[0])||null==(u=v.image)?void 0:u.url,alt:null==(x=h[0])?void 0:x.title,className:"w-full h-full object-cover"})})]})]}),(0,t.jsxs)(o.P.div,{className:"flex flex-col gap-8",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[(0,t.jsx)(s.A,{align:"start",heading:"Our Impact in Numbers"}),(0,t.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6",children:null==p?void 0:p.map((e,a)=>(0,t.jsx)(m,{stat:e,index:a},a))})]})]})})};var v=r(92253);let x=e=>{let{stat:a,index:r}=e,{ref:l,inView:s}=(0,i.Wx)({triggerOnce:!0,threshold:.3}),c=(null==a?void 0:a.statsNumber)||"0",d=parseInt(c.replace(/[^\d]/g,""),10)||0,m=c.includes("+"),u=c.includes("%");return(0,t.jsxs)(o.P.div,{ref:l,className:"p-4 flex flex-col gap-2",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.5,delay:.1*r},children:[(0,t.jsx)("div",{children:(0,t.jsx)(v.Nse,{className:"text-5xl text-[var(--rv-primary)]"})}),(0,t.jsxs)("div",{className:"flex items-center gap-1 justify-start",children:[(0,t.jsxs)("h3",{className:"font-semibold",children:[s?(0,t.jsx)(n.Ay,{className:"sm:text-3xl text-2xl md:text-4xl lg:text-5xl xl:text-6xl text-[var(--rv-white)]",start:0,end:d,duration:2,separator:","}):"0",m&&"+",u&&"%"]}),(null==a?void 0:a.subtitle)&&(0,t.jsx)("h6",{className:"",children:a.subtitle})]}),(0,t.jsx)("p",{className:"font-semibold",children:null==a?void 0:a.title})]})},h=e=>{let{stat:a,index:r}=e,{ref:l,inView:s}=(0,i.Wx)({triggerOnce:!0,threshold:.3}),c=(null==a?void 0:a.statsNumber)||"0",d=parseInt(c.replace(/[^\d]/g,""),10)||0,m=c.includes("+"),u=c.includes("%");return(0,t.jsxs)(o.P.div,{ref:l,className:"flex flex-col",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.5,delay:.1*r},children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsxs)("h3",{className:"font-extrabold",children:[s?(0,t.jsx)(n.Ay,{className:"sm:text-3xl text-2xl md:text-4xl",start:0,end:d,duration:2,separator:","}):"0",m&&"+",u&&"%"]}),(null==a?void 0:a.subtitle)&&(0,t.jsx)("h6",{className:"",children:a.subtitle})]}),(0,t.jsx)("p",{className:"font-semibold text-[var(--rv-primary)]",children:null==a?void 0:a.title})]})},p=e=>{let{stat:a,index:r}=e,{ref:l,inView:s}=(0,i.Wx)({triggerOnce:!0,threshold:.3}),c=(null==a?void 0:a.statsNumber)||"0",d=parseInt(c.replace(/[^\d]/g,""),10)||0,m=c.includes("+"),u=c.includes("%");return(0,t.jsxs)(o.P.div,{ref:l,className:"flex items-center flex-wrap gap-5",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.5,delay:.1*r},children:[(0,t.jsxs)("div",{className:"flex items-center gap-1 ",children:[(0,t.jsxs)("h3",{className:"font-extrabold",children:[s?(0,t.jsx)(n.Ay,{className:"sm:text-3xl text-2xl md:text-4xl lg:text-5xl",start:0,end:d,duration:2,separator:","}):"0",m&&"+",u&&"%"]}),(null==a?void 0:a.subtitle)&&(0,t.jsx)("h6",{className:"",children:a.subtitle})]}),(0,t.jsx)("p",{className:"",children:null==a?void 0:a.title})]})},g={theme1:u,theme2:e=>{var a,r,l,i;let{aboutData:n,otherData:o,stats:d}=e;return(0,t.jsxs)("section",{className:"bg-[var(--rv-bg-black)] p-2 md:p-4 text-[var(--rv-white)] overflow-hidden",children:[(0,t.jsx)("div",{className:"relative ",children:(0,t.jsxs)("div",{className:"relative grid lg:grid-cols-2 items-center",children:[(0,t.jsx)("div",{className:"w-full h-full bg-[var(--rv-bg-black)] md:pr-5 pb-5 rounded-xl",children:(0,t.jsx)("div",{className:"w-full h-full",children:(0,t.jsx)("img",{src:(null==n||null==(r=n[0])||null==(a=r.image)?void 0:a.url)||"/images/client.jpg",alt:"Business Expert",className:"w-full h-full object-cover rounded-xl"})})}),(0,t.jsx)("div",{className:"w-full bg-[var(--rv-bg-secondary)] rounded-t-xl p-3 md:pt-5 md:pl-5",children:(0,t.jsxs)("div",{className:"max-w-[39rem] flex flex-col gap-5",children:[(0,t.jsx)(s.A,{align:"start",title:"ABOUT US",heading:(null==n||null==(l=n[0])?void 0:l.title)||"",description:null==n||null==(i=n[0])?void 0:i.description}),(0,t.jsx)("div",{className:"w-fit",children:(0,t.jsx)(c.A,{link:"/contact-us",className:"w-fit",text:"Start Your Journey"})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:[(0,t.jsxs)("div",{className:"bg-[var(--rv-bg-black)] flex flex-col gap-2 p-3 rounded-xl text-[var(--rv-white)]",children:[(0,t.jsx)("h6",{className:"text-[var(--rv-primary)]",children:"Mission"}),(0,t.jsx)("p",{children:null==o?void 0:o.mission})]}),(0,t.jsxs)("div",{className:"bg-[var(--rv-bg-black)] flex flex-col gap-2 p-3 rounded-xl text-[var(--rv-white)]",children:[(0,t.jsx)("h6",{className:"text-[var(--rv-primary)]",children:"Vision"}),(0,t.jsx)("p",{children:null==o?void 0:o.vision})]})]})]})})]})}),(0,t.jsx)("div",{className:"relative bg-[var(--rv-bg-secondary)] md:rounded-tl-xl rounded-b-xl p-3 md:p-5",children:(0,t.jsx)("div",{className:"relative main-section grid grid-cols-1 gap-5 md:gap-8 items-center",children:(0,t.jsx)("div",{className:"max-w-7xl mx-auto p-3 bg-[var(--rv-bg-black)] rounded-xl grid grid-cols-2 md:grid-cols-4 gap-4 w-full",children:null==d?void 0:d.map((e,a)=>(0,t.jsx)("div",{className:"w-full border-white/10 ".concat(1==a?"border-r-0 md:border-r":""," ").concat(3==a?"md:border-0":"border-r"),children:(0,t.jsx)(x,{stat:e,index:a},a)},a))})})})]})},theme3:e=>{var a,r,l,i,n;let{aboutData:o,otherData:d,stats:m}=e;return(0,t.jsx)("section",{className:"bg-[var(--rv-bg-white) px-4",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section flex flex-col gap-5 md:gap-8",children:[(0,t.jsxs)("div",{className:"",children:[(0,t.jsx)(s.A,{title:"About Us",align:"start",heading:null==o||null==(a=o[0])?void 0:a.title}),(0,t.jsx)("p",{className:"",dangerouslySetInnerHTML:{__html:null==o||null==(r=o[0])?void 0:r.description}})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-5 lg:gap-10 items-center",children:[(0,t.jsxs)("div",{className:"relative w-full h-full order-2 lg:order-1",children:[(0,t.jsx)("img",{src:(null==o||null==(i=o[0])||null==(l=i.image)?void 0:l.url)||"/images/client.jpg",alt:"About",className:"rounded-2xl w-full h-full object-cover"}),(0,t.jsxs)("div",{className:"hidden lg:block absolute -bottom-10 left-6 bg-gradient-to-r from-[var(--rv-bg-primary)] to-[var(--rv-bg-secondary)] text-[var(--rv-white)] rounded-xl overflow-hidden",children:[(0,t.jsxs)("div",{className:"px-6 py-4 text-4xl font-bold",children:[null==(n=m[0])?void 0:n.statsNumber,"+"]}),(0,t.jsx)("div",{className:"bg-gradient-to-r from-[var(--rv-bg-secondary)] to-[var(--rv-bg-primary)] px-6 py-2 text-sm",children:"Years of Experience"})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-5  order-1 lg:order-2",children:[(0,t.jsxs)("div",{className:"",children:[(0,t.jsx)("h6",{className:"font-semibold",children:"Our Vision"}),(0,t.jsx)("p",{className:"",children:null==d?void 0:d.vision})]}),(0,t.jsxs)("div",{className:"",children:[(0,t.jsx)("h6",{className:"font-semibold",children:"Our Mission"}),(0,t.jsx)("p",{className:"",children:null==d?void 0:d.mission})]}),(0,t.jsxs)("div",{className:"",children:[(0,t.jsx)("h6",{className:"font-semibold",children:"Our Values"}),(0,t.jsx)("p",{className:"",dangerouslySetInnerHTML:{__html:null==d?void 0:d.values}})]}),(0,t.jsx)("div",{children:(0,t.jsx)(c.A,{link:"/about-us",className:"w-fit",text:"Learn More"})})]})]})]})})},theme4:e=>{var a,r,l,i;let{aboutData:n,stats:o}=e;return(0,t.jsx)("section",{className:"relative bg-[var(--rv-bg-white)] px-4 text-[var(--rv-black)] overflow-hidden",children:(0,t.jsx)("div",{className:"main-section border-b",children:(0,t.jsx)("div",{className:"relative max-w-7xl mx-auto flex flex-col gap-5 md:gap-8",children:(0,t.jsxs)("div",{className:"grid lg:grid-cols-2 gap-5 lg:gap-8",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsx)(s.A,{align:"start",title:"ABOUT US",heading:(null==n||null==(a=n[0])?void 0:a.title)||"",description:null==n||null==(r=n[0])?void 0:r.description}),(0,t.jsx)("div",{children:(0,t.jsx)(c.A,{text:"Start Your Journey",link:"/contact-us",className:"border border-[var(--rv-primary)]"})}),(0,t.jsx)("div",{className:"flex flex-col gap-5",children:(0,t.jsx)("div",{className:"grid grid-cols-2 gap-5",children:null==o?void 0:o.map((e,a)=>(0,t.jsx)(h,{stat:e,index:a},a))})})]}),(0,t.jsx)("div",{className:"rounded-xl shadow-2xl w-full h-full",children:(0,t.jsx)("img",{src:(null==(i=n[0])||null==(l=i.image)?void 0:l.url)||"/images/client.jpg",alt:"Business Expert",className:"md:w-full h-full object-cover rounded-xl"})})]})})})})},theme5:e=>{var a,r,l,i;let{aboutData:n,stats:m}=e;return(0,t.jsx)("div",{className:"bg-[var(--rv-bg-white)] px-4",children:(0,t.jsx)("div",{className:"max-w-7xl mx-auto",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-
15 md:gap-8 items-center",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4 items-start md:col-span-2",children:[(0,t.jsx)(s.A,{align:"start",title:"ABOUT US",heading:(null==n||null==(a=n[0])?void 0:a.title)||"",description:null==n||null==(r=n[0])?void 0:r.description}),(0,t.jsx)(c.A,{text:"Read More",link:"/contact-us",Icon:d.eW4})]}),(0,t.jsx)("div",{className:"relative w-full",children:(0,t.jsx)("div",{className:"rounded-xl shadow-2xl",children:(0,t.jsx)("img",{src:(null==(i=n[0])||null==(l=i.image)?void 0:l.url)||"/images/client.jpg",alt:"Business Expert",className:"md:w-full h-[420px] object-cover rounded-xl"})})}),(0,t.jsxs)(o.P.div,{className:"flex flex-col gap-5",initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.3},transition:{duration:.6,delay:.1},children:[(0,t.jsx)(s.A,{align:"start",title:"Our Stats"}),(0,t.jsx)("div",{className:"grid grid-cols-1 gap-5 md:gap-10",children:null==m?void 0:m.map((e,a)=>(0,t.jsx)(p,{stat:e,index:a},a))})]})]})})})}};function f(e){let{stats:a,aboutData:r,otherData:s}=e,{theme:i}=(0,l.D)(),n=g[i]||u;return(0,t.jsx)(n,{stats:a,aboutData:r,otherData:s})}},70194:(e,a,r)=>{"use strict";r.d(a,{default:()=>h});var t=r(95155),l=r(41855),s=r(12115),i=r(28122),n=r(75120),o=r(9342),c=r(26497);let d=e=>{let{faqs:a=[]}=e,[r,l]=(0,s.useState)(0),[d,m]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{let e=setTimeout(()=>m(!1),600);return()=>clearTimeout(e)},[]),(0,t.jsx)("section",{className:"w-full bg-[var(--rv-primary-light)] px-4",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section grid grid-cols-1 md:grid-cols-3 gap-5 lg:gap-8 items-start",children:[(0,t.jsxs)(o.P.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},className:"flex flex-col gap-6",children:[(0,t.jsx)("div",{className:"",children:(0,t.jsx)(n.A,{align:"start",title:"FAQs",heading:"Frequently Asked Questions",description:" Everything you need to know about our investment services, processes, and long-term financial planning."})}),(0,t.jsx)("div",{className:"w-full h-80",children:(0,t.jsx)("img",{src:"/images/faq.png",className:"w-full h-full object-cover",alt:""})})]}),(0,t.jsx)(o.P.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},className:"flex flex-col gap-4 md:col-span-2",children:(0,t.jsx)(c.N,{mode:"wait",children:d?Array.from({length:4}).map((e,a)=>(0,t.jsxs)("div",{className:"animate-pulse bg-[var(--rv-bg-white)] rounded-xl p-6 shadow-sm",children:[(0,t.jsx)("div",{className:"w-3/4 h-5 bg-[var(--rv-bg-gray-light)] rounded mb-3"}),(0,t.jsx)("div",{className:"w-full h-4 bg-[var(--rv-bg-gray-light)] rounded"})]},a)):a.map((e,a)=>{let s=r===a;return(0,t.jsxs)(o.P.div,{layout:!0,className:"bg-[var(--rv-bg-white)] rounded-2xl border transition-all\n                ".concat(s?"border-[var(--rv-primary)]":"border-[var(--rv-black-light)]","\n              "),children:[(0,t.jsxs)("button",{onClick:()=>(e=>{l(r===e?null:e)})(a),className:"w-full flex justify-between items-center px-6 py-5 text-left",children:[(0,t.jsx)("span",{className:"font-semibold",children:null==e?void 0:e.question}),(0,t.jsx)(o.P.span,{animate:{rotate:180*!!s},transition:{duration:.25},className:"flex items-center justify-center w-6 h-6 rounded-full\n                      ".concat(s?"bg-[var(--rv-primary)] text-[var(--rv-white)]":"bg-[var(--rv-primary)] "),children:s?(0,t.jsx)(i.QLg,{}):(0,t.jsx)(i.GGD,{})})]}),s&&(0,t.jsx)(o.P.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.35,ease:"easeInOut"},className:"px-6 pb-5 leading-relaxed overflow-hidden",children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:(null==e?void 0:e.answer)||""}})},"content")]},a)})})})]})})};var m=r(21232),u=r(50742);let v=e=>{let{faqs:a=[]}=e,[r,l]=(0,s.useState)(0);return(0,t.jsx)("section",{className:"bg-[var(--rv-bg-white)] px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-7xl flex-col gap-6 md:gap-10",children:[(0,t.jsx)(n.A,{title:"FAQs",heading:"Investment Strategies & Market Trends",description:"Explore expert insights, proven strategies, and market updates to make informed financial decisions."}),(0,t.jsxs)("div",{className:"grid w-full grid-cols-1 items-start gap-5 lg:grid-cols-3 lg:gap-6",children:[(0,t.jsx)("div",{className:"flex flex-col gap-4 lg:col-span-2",children:a.map((e,a)=>{let s=r===a;return(0,t.jsxs)(o.P.div,{layout:!0,initial:!1,className:"relative rounded-xl overflow-hidden border transition-all duration-300\n                  ".concat(s?"bg-[var(--rv-bg-primary-light)] border-[var(--rv-primary)] shadow-lg":"bg-[var(--rv-bg-white)] border-[var(--rv-gray-light)] hover:shadow-md"),children:[(0,t.jsx)("div",{className:"absolute left-0 top-0 h-full w-1 transition-all duration-300\n                    ".concat(s?"bg-[var(--rv-primary)]":"bg-transparent")}),(0,t.jsxs)("button",{onClick:()=>(e=>{l(r===e?null:e)})(a),className:"flex w-full items-start justify-between gap-3 px-4 py-4 text-left sm:items-center sm:gap-4 sm:px-6 sm:py-5",children:[(0,t.jsxs)("div",{className:"flex min-w-0 items-start gap-3 sm:items-center sm:gap-4",children:[(0,t.jsx)("span",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-sm font-bold\n                        ".concat(s?"bg-[var(--rv-primary)] text-[var(--rv-white)]":"bg-[var(--rv-bg-gray-light)] text-[var(--rv-gray-dark)]"),children:a+1}),(0,t.jsx)("span",{className:"min-w-0 text-sm font-semibold leading-6 sm:text-base md:text-lg",children:e.question})]}),(0,t.jsx)(o.P.span,{animate:{rotate:180*!!s},transition:{duration:.25},className:"mt-1 shrink-0 text-lg text-[var(--rv-primary)] sm:mt-0 sm:text-xl",children:s?(0,t.jsx)(i.QLg,{}):(0,t.jsx)(i.GGD,{})})]}),(0,t.jsx)(c.N,{initial:!1,children:s&&(0,t.jsx)(o.P.div,{initial:{height:0,opacity:0}
1,animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.35,ease:"easeOut"},className:"overflow-hidden",children:(0,t.jsx)("div",{className:"px-4 pb-4 text-sm leading-relaxed text-[var(--rv-gray-dark)] [&_*]:leading-relaxed sm:px-6 sm:pb-6 md:text-base",dangerouslySetInnerHTML:{__html:e.answer}})},"content")})]},a)})}),(0,t.jsxs)("div",{className:"flex w-full flex-col items-center justify-center gap-4 rounded-xl border border-[var(--rv-primary)] bg-[var(--rv-bg-white)] p-5 text-center sm:p-6 lg:sticky lg:top-24",children:[(0,t.jsx)(u.MiG,{className:"text-3xl sm:text-5xl md:text-6xl"}),(0,t.jsx)("h3",{className:"text-lg font-semibold text-[var(--rv-black)] sm:text-xl",children:"Do you have more questions?"}),(0,t.jsx)("p",{className:"max-w-sm text-sm leading-relaxed text-[var(--rv-black)] opacity-70 sm:text-base",children:"End-to-end payments and financial management in a single solution. Meet the right platform to help realize."}),(0,t.jsx)(m.A,{text:"Shoot a Direct Mail",link:"/contact-us",className:"w-full rounded-lg sm:w-fit"})]})]})]})})},x={theme1:d,theme2:e=>{let{faqs:a=[]}=e,[r,l]=(0,s.useState)(0);return(0,t.jsx)("section",{className:"px-4 bg-[var(--rv-bg-black)]",children:(0,t.jsxs)("div",{className:"max-w-6xl mx-auto main-section-bottom flex flex-col gap-6 md:gap-10",children:[(0,t.jsx)(n.A,{title:"FAQs",heading:"Investment Strategies & Market Trends",description:"Explore expert insights, proven strategies, and market updates to make informed financial decisions."}),(0,t.jsx)("div",{className:"flex flex-col gap-4",children:a.map((e,a)=>{let s=r===a;return(0,t.jsxs)(o.P.div,{layout:!0,initial:!1,className:"relative rounded-2xl overflow-hidden border transition-all duration-300\n                  ".concat(s?"bg-[var(--rv-bg-black)] border-[var(--rv-primary)] shadow-lg":"bg-[var(--rv-bg-secondary)] border-[var(--rv-white-light)] hover:shadow-md"),children:[(0,t.jsx)("div",{className:"absolute left-0 top-0 h-full w-1 transition-all duration-300\n                    ".concat(s?"bg-[var(--rv-primary)]":"bg-transparent")}),(0,t.jsxs)("button",{onClick:()=>(e=>{l(r===e?null:e)})(a),className:"w-full flex items-center justify-between gap-4 px-6 py-5 text-left",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)("span",{className:"w-8 h-8 rounded-full flex items-center justify-center text-sm font-bold\n                        ".concat(s?"bg-[var(--rv-primary)] text-[var(--rv-black)]":"bg-[var(--rv-bg-gray-light)] text-[var(--rv-gray-dark)]"),children:a+1}),(0,t.jsx)("span",{className:"font-semibold text-[var(--rv-white)] text-xl",children:e.question})]}),(0,t.jsx)(o.P.span,{animate:{rotate:180*!!s},transition:{duration:.25},className:"text-xl text-[var(--rv-primary)]",children:s?(0,t.jsx)(i.QLg,{}):(0,t.jsx)(i.GGD,{})})]}),(0,t.jsx)(c.N,{initial:!1,children:s&&(0,t.jsx)(o.P.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.35,ease:"easeOut"},className:"overflow-hidden",children:(0,t.jsx)("div",{className:"px-6 pb-6 leading-relaxed text-[var(--rv-white)] opacity-80 [&_*]:leading-relaxed",dangerouslySetInnerHTML:{__html:e.answer}})},"content")})]},a)})})]})})},theme3:v,theme4:e=>{let{faqs:a}=e,[r,l]=(0,s.useState)(0);return(0,t.jsx)("section",{className:"relative px-4 bg-[var(--rv-bg-white)] text-[var(--rv-black)] overflow-hidden",children:(0,t.jsx)("div",{className:"main-section border-b",children:(0,t.jsxs)("div",{className:"relative max-w-5xl mx-auto flex flex-col gap-14",children:[(0,t.jsx)("div",{className:"text-center max-w-2xl mx-auto",children:(0,t.jsx)(n.A,{title:"Support",heading:"Frequently Asked Questions",description:"Clear answers to help you move forward with confidence."})}),(0,t.jsx)("div",{className:"flex flex-col gap-6",children:null==a?void 0:a.map((e,a)=>{let s=r===a;return(0,t.jsxs)("div",{onClick:()=>l(s?null:a),className:"cursor-pointer rounded-xl border border-[var(--rv-border)] p-4 transition",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,t.jsx)("p",{className:"font-bold",children:e.question}),(0,t.jsx)("span",{className:"text-[var(--rv-primary)] text-2xl transition-transform duration-300 ".concat(s?"rotate-180":""),children:(0,t.jsx)(i.fK4,{})})]}),s&&(0,t.jsx)("div",{className:"mt-3 leading-relaxed",dangerouslySetInnerHTML:{__html:e.answer}}
1)]},a)})})]})})})},theme5:v};function h(e){let{faqs:a}=e,{theme:r}=(0,l.D)(),s=x[r]||d;return(0,t.jsx)(s,{faqs:a})}},71390:(e,a,r)=>{Promise.resolve().then(r.bind(r,63756)),Promise.resolve().then(r.bind(r,83199)),Promise.resolve().then(r.bind(r,94480)),Promise.resolve().then(r.bind(r,18619)),Promise.resolve().then(r.bind(r,79293)),Promise.resolve().then(r.bind(r,49502)),Promise.resolve().then(r.bind(r,1120)),Promise.resolve().then(r.bind(r,70194)),Promise.resolve().then(r.bind(r,22213)),Promise.resolve().then(r.bind(r,1988)),Promise.resolve().then(r.bind(r,12846)),Promise.resolve().then(r.bind(r,40085)),Promise.resolve().then(r.bind(r,8410)),Promise.resolve().then(r.bind(r,39058)),Promise.resolve().then(r.bind(r,49015)),Promise.resolve().then(r.bind(r,62281))},75120:(e,a,r)=>{"use strict";r.d(a,{A:()=>o});var t=r(95155),l=r(41855);r(12115);let s=e=>{let{title:a,heading:r,description:l,align:s="center",variant:i="dark"}=e,n="light"===i;return(0,t.jsxs)("div",{className:"flex flex-col justify-center gap-3 ".concat({center:"text-center items-center",start:"text-left items-start",end:"text-right items-end"}[s]),children:[a&&(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2 font-semibold capitalize \n            ".concat(n?"text-[var(--rv-white)] border-[var(--rv-white-light)] border px-3 py-1 rounded-full":"text-[var(--rv-secondary)]","\n          "),children:[(0,t.jsxs)("div",{className:"flex items-center ",children:[(0,t.jsx)("div",{className:"w-2 h-2 rounded-full -mr-1 ".concat(n?"bg-[var(--rv-bg-white)]":"bg-[var(--rv-bg-secondary)]")}),(0,t.jsx)("div",{className:"w-5 h-1 rounded-r-full ".concat(n?"bg-[var(--rv-bg-white)]":"bg-[var(--rv-bg-secondary)]")})]}),a,(0,t.jsxs)("div",{className:"flex items-center ",children:[(0,t.jsx)("div",{className:"w-5 h-1 rounded-l-full ".concat(n?"bg-[var(--rv-bg-white)]":"bg-[var(--rv-bg-secondary)]")}),(0,t.jsx)("div",{className:"w-2 h-2 rounded-full -ml-1 ".concat(n?"bg-[var(--rv-bg-white)]":"bg-[var(--rv-bg-secondary)]")})]})]}),r&&(0,t.jsx)("h5",{className:"font-bold leading-tight uppercase\n            ".concat(n?"text-[var(--rv-white)]":"text-[var(--rv-black)]","\n          "),children:r}),l&&(0,t.jsx)("p",{className:"max-w-3xl opacity-85 ".concat(n?"text-[var(--rv-white)]":"text-[var(--rv-black)]"," "),dangerouslySetInnerHTML:{__html:l}})]})};var i=r(10630);let n={theme1:s,theme2:e=>{let{title:a,heading:r,highlight:l,description:s,align:i="center",variant:n="dark"}=e;return(0,t.jsxs)("div",{className:"text-".concat(i," flex flex-col gap-2"),children:[a&&(0,t.jsx)("p",{className:"".concat("light"===n?"text-[var(--rv-white)]":"text-[var(--rv-primary)]"," font-semibold uppercase tracking-wider"),children:a}),r&&(0,t.jsx)("h4",{className:"font-bold leading-tight text-[var(--rv-white)] ",children:r}),s&&(0,t.jsx)("p",{className:"text-[var(--rv-white)] opacity-80",dangerouslySetInnerHTML:{__html:s}})]})},theme3:e=>{let{title:a,heading:r,description:l,align:s="center",variant:i="dark"}=e;return(0,t.jsxs)("div",{className:"text-".concat(s," flex flex-col items-").concat(s," gap-1"),children:[a&&(0,t.jsxs)("div",{className:"w-fit p-2 rounded-full border flex items-center gap-2 px-4 capitalize",children:[(0,t.jsx)("div",{className:"w-2 h-2 bg-[var(--rv-bg-secondary)] rounded-full"}),(0,t.jsx)("p",{className:"font-light text-sm tracking-wider text-[var(--rv-primary)]",children:a})]}),r&&(0,t.jsx)("h4",{className:"font-bold leading-tight ".concat("light"===i?"text-[var(--rv-black)]":"text-[var(--rv-primary)]"),children:r}),l&&(0,t.jsx)("p",{className:"text-[var(--rv-black)] opacity-80",dangerouslySetInnerHTML:{__html:l}})]})},theme4:e=>{let{title:a,heading:r,description:l,align:s="center",variant:n="dark"}=e,o="light"===n?"text-[var(--rv-white)]":"text-[var(--rv-black)]";return(0,t.jsxs)("div",{className:"text-".concat(s," flex flex-col items-").concat(s," justify-").concat(s," gap-2"),children:[a&&(0,t.jsxs)("div",{className:"flex items-center gap-2 p-1 px-2 rounded-full backdrop-blur-sm bg-[var(--rv-bg-white-light)] \n    border border-[var(--rv-border)]",children:[(0,t.jsx)(i.CP,{className:"text-[var(--rv-primary)]"}),(0,t.jsx)("p",{className:"font-light text-sm tracking-wider ".concat(o||"text-[var(--rv-black)]"),children:a})]}),r&&(0,t.jsx)("h2",{className:"font-bold leading-tight text-2xl sm:text-3xl md:text-4xl ".concat(o),children:r}),l&&(0,t.jsx)("p",{className:"".concat(o," opacity-80"),dangerouslySetInnerHTML:{__html:l}})]})},theme5:e=>
1{let{title:a,heading:r,description:l,align:s="center",variant:i="dark"}=e,n="light"===i?"text-[var(--rv-white)]":"text-[var(--rv-black)]";return(0,t.jsxs)("div",{className:"flex flex-col justify-center gap-2 ".concat({center:"text-center items-center",start:"text-left items-start",end:"text-right items-end"}[s]),children:[a&&(0,t.jsxs)("div",{className:"p-2 px-4 shadow-md w-fit rounded-full bg-[var(--rv-white)] flex gap-3 items-center",children:[(0,t.jsx)("div",{className:"w-2 h-2 flex-shrink-0 bg-[var(--rv-bg-primary)] rounded-full"}),(0,t.jsx)("p",{className:"font-semibold    uppercase tracking-wider text-[var(--rv-black)]",children:a}),(0,t.jsx)("div",{className:"w-2 h-2 flex-shrink-0 bg-[var(--rv-bg-primary)] rounded-full"})]}),r&&(0,t.jsx)("h4",{className:"".concat(n," font-bold"),children:r}),l&&(0,t.jsx)("p",{className:"".concat(n," opacity-90"),dangerouslySetInnerHTML:{__html:l}})]})}};function o(e){let{title:a,heading:r,highlight:i,description:o,align:c="center",variant:d="dark"}=e,{theme:m}=(0,l.D)(),u=n[m]||s;return(0,t.jsx)(u,{title:a,heading:r,description:o,align:c,variant:d,highlight:i})}},79293:(e,a,r)=>{"use strict";r.d(a,{default:()=>P});var t=r(95155),l=r(41855),s=r(12115),i=r(75120),n=r(21232),o=r(9342),c=r(70898),d=r(33828),m=r(49498),u=r(27848);function v(e){let{label:a,min:r,max:l,step:i,value:n,onChange:o,trackClassName:c,inputClassName:d,labelClassName:v,valueFormatter:x,validationMin:h,validationMessage:p}=e,[g,f]=(0,s.useState)(null!=n?n:""),[b,y]=(0,s.useState)(!1);(0,s.useEffect)(()=>{b||f(null!=n?n:"")},[n,b]);let j=(0,u.vJ)(g),w="number"==typeof h&&""!==g&&null!==j&&j<h,N=e=>{let a=Number(e);return Number.isFinite(a)?Math.min(Math.max(a,r),l):n};return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,t.jsx)("label",{className:(0,m.cn)("font-medium",v),children:a}),(0,t.jsx)("input",{type:"text",inputMode:"numeric",value:b||w?g:x?x(n):n,onFocus:()=>y(!0),onBlur:()=>{y(!1);let e=(0,u.vJ)(g);if(null===e)return void f(null!=n?n:"");if("number"==typeof h&&e<h)return;let a=N(e);o(a),f(a)},onChange:e=>{let a=(0,u.Tk)(e.target.value);f(a);let r=(0,u.vJ)(a);null!==r&&("number"==typeof h&&r<h||o(N(r)))},"aria-invalid":w,className:(0,m.cn)("w-32 rounded-lg border px-3 py-2 text-right font-semibold outline-none transition-colors",w?"border-red-500 focus:border-red-500":"border-[var(--rv-border)] focus:border-[var(--rv-primary)]",d)})]}),w&&(0,t.jsx)("p",{className:"mt-1 text-right text-xs text-red-600",children:p||"Minimum amount is ".concat(h,".")}),(0,t.jsx)("input",{type:"range",min:r,max:l,step:i,value:n,onChange:e=>{let a=N(e.target.value);o(a),f(a)},className:(0,m.cn)("w-full h-2 mt-2 cursor-pointer accent-[var(--rv-primary)]",c)})]})}let x=()=>
1{let[e,a]=(0,s.useState)(5e3),[r,l]=(0,s.useState)(10),m=[{name:"Savings Account",rate:3,type:"simple",icon:(0,t.jsx)(c.oMH,{})},{name:"Fixed Deposit",rate:6,type:"compound",icon:(0,t.jsx)(d.QVX,{})},{name:"Gold",rate:9,type:"compound",icon:(0,t.jsx)(c.cEG,{})},{name:"Mutual Fund",rate:14,type:"compound",icon:(0,t.jsx)(c.YYR,{})}];return(0,t.jsx)("section",{className:"relative bg-[var(--rv-bg-white)] px-4",children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-7xl flex-col gap-5 md:gap-8",children:[(0,t.jsx)(o.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:(0,t.jsx)(i.A,{title:"Recommended Funds",heading:"Where Should You Invest?",description:"Compare investment options and see how your money can grow over time."})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2",children:[(0,t.jsx)("div",{className:"rounded-2xl border bg-[var(--rv-bg-white)] p-6 shadow-sm",children:(0,t.jsx)(v,{label:"Monthly Investment",min:100,max:1e5,step:100,value:e,onChange:a,validationMin:100,valueFormatter:e=>"₹".concat(e),labelClassName:"text-[var(--rv-primary)]",inputClassName:"bg-[var(--rv-bg-white)] text-[var(--rv-primary)]"})}),(0,t.jsx)("div",{className:"rounded-2xl border bg-[var(--rv-bg-white)] p-6 shadow-sm",children:(0,t.jsx)(v,{label:"Investment Duration",min:1,max:30,step:1,value:r,onChange:l,valueFormatter:e=>"".concat(e," Years"),labelClassName:"text-[var(--rv-primary)]",inputClassName:"bg-[var(--rv-bg-white)] text-[var(--rv-primary)]"})})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-4",children:m.map((a,l)=>{let s;return(0,t.jsx)(o.P.div,{transition:{duration:.3},className:"relative overflow-hidden rounded-xl border bg-[var(--rv-bg-white)]",children:(0,t.jsxs)("div",{className:"flex flex-col gap-3 p-5",children:[(0,t.jsx)("div",{className:"flex h-14 w-14 items-center justify-center rounded-full bg-[var(--rv-primary)] text-2xl text-[var(--rv-white)] shadow-lg",children:a.icon}),(0,t.jsx)("h6",{className:"font-bold text-[var(--rv-primary)]",children:a.name}),(0,t.jsxs)("h5",{className:"font-extrabold",children:["₹",(s=((e,a,r,t)=>"simple"===t?((e,a,r)=>{let t=12*r,l=0;for(let r=0;r<t;r++)l+=e*a*((t-r)/12);return e*t+l})(e,r/100,a):((e,a,r)=>{let t=r/100/12;return Math.round((Math.pow(1+t,12*a)-1)/t*(1+t)*e)})(e,a,r))(e,r,a.rate,a.type),new Intl.NumberFormat("en-IN",{maximumFractionDigits:0}).format(s))]}),(0,t.jsxs)("p",{className:"text-sm text-[var(--rv-gray)]",children:["Estimated at ",a.rate,"% annual return"]})]})},l)})}),(0,t.jsx)("div",{className:"mx-auto",children:(0,t.jsx)(n.A,{link:"/login",Icon:c.eW4,text:"Start Investing Smartly"})})]})})},h={hidden:{opacity:0},show:{opacity:1,transition:{duration:.5,staggerChildren:.1}}};var p=r(90751),g=r(12723),f=r(39492),b=r(69386),y=r(83195);let j=e=>new Intl.NumberFormat("en-IN",{maximumFractionDigits:0}).format(e||0),w={hidden:{opacity:0,y:40},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},N={hidden:{},visible:{transition:{staggerChildren:.15}}},k={hidden:{opacity:0,y:50,scale:.98},visible:{opacity:1,y:0,scale:1,transition:{duration:.6,ease:"easeOut"}}},S={theme1:x,theme2:()=>
1{let[e,a]=(0,s.useState)(5e3),[r,l]=(0,s.useState)(10),m=[{name:"Savings Account",rate:3,type:"simple",icon:(0,t.jsx)(c.oMH,{})},{name:"Fixed Deposit",rate:6,type:"compound",icon:(0,t.jsx)(d.QVX,{})},{name:"Gold",rate:9,type:"compound",icon:(0,t.jsx)(c.cEG,{})},{name:"Mutual Fund",rate:14,type:"compound",icon:(0,t.jsx)(c.YYR,{})}];return(0,t.jsx)("section",{className:"overflow-hidden bg-[var(--rv-bg-black)] p-2 text-[var(--rv-white)] md:p-4",children:(0,t.jsx)("div",{className:"rounded-xl bg-[var(--rv-bg-secondary)] px-4",children:(0,t.jsxs)("div",{className:"main-section mx-auto grid max-w-7xl grid-cols-1 gap-12 md:grid-cols-2 md:gap-8",children:[(0,t.jsxs)("div",{className:"flex w-full flex-col gap-5",children:[(0,t.jsx)(o.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:(0,t.jsx)(i.A,{align:"start",heading:"Where Should You Invest?",highlight:"Invest",description:"Compare risk, returns, liquidity, and benefits across popular investment options."})}),(0,t.jsx)("div",{className:"w-full md:w-4/5",children:(0,t.jsx)(v,{label:"Monthly Investment",min:100,max:1e5,step:100,value:e,onChange:a,validationMin:100,valueFormatter:e=>"₹".concat(e),labelClassName:"text-[var(--rv-white)]",inputClassName:"bg-[var(--rv-bg-black)] text-[var(--rv-primary)]"})}),(0,t.jsx)("div",{className:"w-full md:w-4/5",children:(0,t.jsx)(v,{label:"Duration (Years)",min:1,max:30,step:1,value:r,onChange:l,valueFormatter:e=>"".concat(e," yrs"),labelClassName:"text-[var(--rv-white)]",inputClassName:"bg-[var(--rv-bg-black)] text-[var(--rv-primary)]"})}),(0,t.jsx)("div",{children:(0,t.jsx)(n.A,{link:"/login",className:"w-fit",text:"Start With Smart Investments"})})]}),(0,t.jsx)(o.P.div,{className:"grid w-full grid-cols-1 gap-4 gap-y-12 sm:grid-cols-2",variants:h,initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.2},children:m.map((a,l)=>{let s;return(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"relative rounded bg-[var(--rv-bg-black)]",children:[(0,t.jsx)("div",{className:"absolute left-1/2 top-0 h-20 w-20 -translate-x-1/2 -translate-y-1/2 rounded-full bg-[var(--rv-bg-secondary)] p-2",children:(0,t.jsx)("div",{className:"flex h-full w-full items-center justify-center rounded-full bg-[var(--rv-bg-primary)]",children:(0,t.jsx)("div",{className:"text-3xl text-[var(--rv-black)]",children:a.icon})})}),(0,t.jsxs)("div",{className:"flex flex-col gap-2 p-4 pt-12 text-center",children:[(0,t.jsx)("h6",{className:"text-center font-bold text-[var(--rv-white)]",children:a.name}),(0,t.jsxs)("h6",{className:"font-bold text-[var(--rv-primary)]",children:["₹",(s=((e,a,r,t)=>"simple"===t?((e,a,r)=>{if(!e||!a||!r)return 0;let t=12*r,l=0;for(let r=0;r<t;r++)l+=e*a*((t-r)/12);return e*t+l})(e,r/100,a):((e,a,r)=>{if(!e||!r||!a)return 0;let t=r/100/12;return Math.round((Math.pow(1+t,12*a)-1)/t*(1+t)*e)})(e,a,r))(e,r,a.rate,a.type),new Intl.NumberFormat("en-IN",{maximumFractionDigits:0}).format(s))]}),(0,t.jsxs)("p",{children:["at ",a.rate,"% annual return"]})]})]})},l)})})]})})})},theme3:()=>
1{let[e,a]=(0,s.useState)(5e3),[r,l]=(0,s.useState)(10),o=[{name:"Savings Account",rate:3,type:"simple",icon:(0,t.jsx)(d.oMH,{className:"h-8 w-8 text-[var(--rv-primary)]"})},{name:"Fixed Deposit",rate:6,type:"compound",icon:(0,t.jsx)(d.QVX,{className:"h-8 w-8 text-[var(--rv-secondary-dark)]"})},{name:"Gold",rate:9,type:"compound",icon:(0,t.jsx)(d.cEG,{className:"h-8 w-8 text-[var(--rv-secondary)]"})},{name:"Mutual Fund",rate:12,type:"compound",icon:(0,t.jsx)(d.YYR,{className:"h-8 w-8 text-[var(--rv-primary-dark)]"})}];return(0,t.jsx)("section",{className:"bg-[var(--rv-bg-white)] px-4",children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-7xl flex-col gap-8",children:[(0,t.jsx)("div",{className:"text-center",children:(0,t.jsx)(i.A,{title:"DIFFERENT ASSETS",heading:"That Work for You",description:"With the same monthly amount, your money can grow slowly or significantly. Compare popular investment options side by side and see how much more you can earn by choosing wisely."})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 items-center justify-center gap-5 md:grid-cols-2 md:px-10",children:[(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)(v,{label:"Monthly Investment",min:100,max:1e5,step:100,value:e,onChange:a,validationMin:100,valueFormatter:e=>"₹".concat(e),labelClassName:"text-[var(--rv-primary-dark)]",inputClassName:"text-[var(--rv-primary)]"})}),(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)(v,{label:"Duration (Years)",min:1,max:30,step:1,value:r,onChange:l,valueFormatter:e=>"".concat(e," yrs"),labelClassName:"text-[var(--rv-primary-dark)]",inputClassName:"text-[var(--rv-primary)]"})})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 gap-5 overflow-hidden md:grid-cols-2 lg:grid-cols-4",children:o.map((a,l)=>{let s=((e,a,r,t)=>"simple"===t?((e,a,r)=>{if(!e||!a||!r)return 0;let t=12*r,l=0;for(let r=0;r<t;r++)l+=e*a*((t-r)/12);return e*t+l})(e,r/100,a):((e,a,r)=>{if(!e||!r||!a)return 0;let t=r/100/12;return Math.round((Math.pow(1+t,12*a)-1)/t*(1+t)*e)})(e,a,r))(e,r,a.rate,a.type),i=e*r*12,n=Math.max(s-i,0),o=[{name:"Invested",value:Math.floor(i)},{name:"Return",value:Math.floor(n)}];return(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center rounded-xl border border-[var(--rv-primary)] bg-[var(--rv-bg-primary-light)] p-6",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h6",{className:"font-semibold",children:a.name})}),(0,t.jsxs)("h5",{className:"text-[var(--rv-primary)]",children:["₹",j(s)]}),(0,t.jsxs)("p",{children:["at ",a.rate,"%"," ","simple"===a.type?"simple return":"compounded return"]}),(0,t.jsx)("div",{className:"h-60 w-full select-none",children:(0,t.jsx)(p.u,{width:"100%",height:250,children:(0,t.jsxs)(g.r,{children:[(0,t.jsx)(f.Fq,{data:o,dataKey:"value",innerRadius:"60%",outerRadius:"80%",paddingAngle:2,children:o.map((e,a)=>(0,t.jsx)(b.f,{fill:0===a?"var(--rv-primary)":"var(--rv-secondary)",stroke:"none",className:"outline-none focus:outline-none"},"cell-".concat(l,"-").concat(a)))}),(0,t.jsxs)("text",{x:"50%",y:"50%",textAnchor:"middle",dominantBaseline:"central",fill:"var(--rv-primary-dark)",fontSize:14,fontWeight:"bold",children:["₹",j(n)]}),(0,t.jsx)(y.m,{formatter:e=>"₹".concat(Number(e).toLocaleString("en-IN"))})]})})})]},l)})}),(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(n.A,{link:"/contact-us",text:"Start Investing Smarter Today"})})]})})},theme4:()=>
1{let[e,a]=(0,s.useState)(5e3),[r,l]=(0,s.useState)(10),c=[{name:"Savings Account",rate:3,type:"simple",icon:(0,t.jsx)(d.oMH,{})},{name:"Fixed Deposit",rate:6,type:"compound",icon:(0,t.jsx)(d.QVX,{})},{name:"Gold",rate:9,type:"compound",icon:(0,t.jsx)(d.cEG,{})},{name:"Mutual Fund",rate:14,type:"compound",icon:(0,t.jsx)(d.YYR,{})}];return(0,t.jsx)("section",{className:"bg-[var(--rv-bg-white)] px-4 text-[var(--rv-black)]",children:(0,t.jsx)("div",{className:"main-section border-b",children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-7xl flex-col gap-5 text-center md:gap-8",children:[(0,t.jsx)(o.P.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:w,children:(0,t.jsx)(i.A,{title:"Investment Comparison",heading:"See How Different Assets Perform",description:"Compare how your monthly investments can grow in different asset classes from savings to mutual funds."})}),(0,t.jsxs)(o.P.div,{className:"flex flex-col items-center justify-center gap-5 md:flex-row",variants:N,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[(0,t.jsx)(o.P.div,{variants:w,className:"w-full rounded-xl border border-[var(--rv-border)] p-5 shadow-md",children:(0,t.jsx)(v,{label:"Monthly Investment",min:100,max:1e5,step:100,value:e,onChange:a,validationMin:100,valueFormatter:e=>"₹".concat(e),inputClassName:"text-[var(--rv-primary)]"})}),(0,t.jsx)(o.P.div,{variants:w,className:"w-full rounded-xl border border-[var(--rv-border)] p-5 shadow-md",children:(0,t.jsx)(v,{label:"Duration (Years)",min:1,max:30,step:1,value:r,onChange:l,valueFormatter:e=>"".concat(e," yrs"),inputClassName:"text-[var(--rv-primary)]"})})]}),(0,t.jsx)(o.P.div,{className:"grid grid-cols-1 gap-5 md:grid-cols-2 lg:grid-cols-4",variants:N,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:c.map((a,l)=>{let s;return(0,t.jsxs)(o.P.div,{variants:k,whileHover:{scale:1.02},className:"flex flex-col items-center justify-center overflow-hidden rounded-xl border border-[var(--rv-border)] shadow-lg",children:[(0,t.jsx)("div",{className:"flex h-20 w-full items-center justify-center bg-[var(--rv-bg-primary)] text-4xl",children:(0,t.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-[var(--rv-bg-white)]",children:a.icon})}),(0,t.jsxs)("div",{className:"flex flex-col gap-2 p-5",children:[(0,t.jsx)("h6",{className:"font-semibold",children:a.name}),(0,t.jsxs)("h6",{className:"font-bold text-[var(--rv-primary)]",children:["₹",(s=((e,a,r,t)=>"simple"===t?((e,a,r)=>{if(!e||!a||!r)return 0;let t=12*r,l=0;for(let r=0;r<t;r++)l+=e*a*((t-r)/12);return e*t+l})(e,r/100,a):((e,a,r)=>{if(!e||!r||!a)return 0;let t=r/100/12;return Math.round((Math.pow(1+t,12*a)-1)/t*(1+t)*e)})(e,a,r))(e,r,a.rate,a.type),new Intl.NumberFormat("en-IN",{maximumFractionDigits:0}).format(s))]}),(0,t.jsxs)("p",{children:["at ",a.rate,"% annual return"]})]})]},l)})}),(0,t.jsx)("div",{className:"mx-auto",children:(0,t.jsx)(o.P.div,{variants:w,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:(0,t.jsx)(n.A,{link:"/contact-us",text:"Start Investing Smarter Today",className:"border border-[var(--rv-bg-primary)]"})})})]})})})},theme5:()=>
1{let[e,a]=(0,s.useState)(5e3),[r,l]=(0,s.useState)(10),o=[{name:"Savings Account",rate:3,type:"simple",icon:(0,t.jsx)(d.oMH,{className:"h-8 w-8 text-[var(--rv-primary)]"})},{name:"Fixed Deposit",rate:6,type:"compound",icon:(0,t.jsx)(d.QVX,{className:"h-8 w-8 text-[var(--rv-black)]"})},{name:"Gold",rate:9,type:"compound",icon:(0,t.jsx)(d.cEG,{className:"h-8 w-8 text-[var(--rv-secondary)]"})},{name:"Mutual Fund",rate:14,type:"compound",icon:(0,t.jsx)(d.YYR,{className:"h-8 w-8 text-[var(--rv-primary-dark)]"})}];return(0,t.jsx)("section",{className:"bg-[var(--rv-bg-white)] px-4",children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-7xl flex-col gap-5 text-center md:gap-8",children:[(0,t.jsx)(i.A,{title:"Investment Comparison",heading:"See How Different Assets Perform",description:"Compare how your monthly investments can grow in different asset classes from savings to mutual funds."}),(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center gap-5 md:flex-row",children:[(0,t.jsx)("div",{className:"w-full md:w-1/3",children:(0,t.jsx)(v,{label:"Monthly Investment",min:100,max:1e5,step:100,value:e,onChange:a,validationMin:100,valueFormatter:e=>"₹".concat(e),labelClassName:"text-[var(--rv-primary-dark)]",inputClassName:"text-[var(--rv-primary)]"})}),(0,t.jsx)("div",{className:"w-full md:w-1/3",children:(0,t.jsx)(v,{label:"Duration (Years)",min:1,max:30,step:1,value:r,onChange:l,valueFormatter:e=>"".concat(e," yrs"),labelClassName:"text-[var(--rv-primary-dark)]",inputClassName:"text-[var(--rv-primary)]"})})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 overflow-hidden rounded-xl border border-[var(--rv-primary)] md:grid-cols-2 lg:grid-cols-4",children:o.map((a,l)=>{let s;return(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center bg-[var(--rv-bg-primary-light)] p-6 transition-all ".concat(0===l?"":"border-t border-[var(--rv-primary)] md:border-l md:border-t-0"),children:[(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"mb-3 rounded-full bg-[var(--rv-bg-white)] p-4",children:a.icon})}),(0,t.jsx)("h6",{className:"font-semibold",children:a.name}),(0,t.jsxs)("p",{className:"font-bold text-[var(--rv-primary)]",children:["₹",(s=((e,a,r,t)=>"simple"===t?((e,a,r)=>{if(!e||!a||!r)return 0;let t=12*r,l=0;for(let r=0;r<t;r++)l+=e*a*((t-r)/12);return e*t+l})(e,r/100,a):((e,a,r)=>{if(!e||!r||!a)return 0;let t=r/100/12;return Math.round((Math.pow(1+t,12*a)-1)/t*(1+t)*e)})(e,a,r))(e,r,a.rate,a.type),new Intl.NumberFormat("en-IN",{maximumFractionDigits:0}).format(s))]}),(0,t.jsxs)("p",{children:["at ",a.rate,"% annual return"]})]},l)})}),(0,t.jsx)("div",{className:"mx-auto",children:(0,t.jsx)(n.A,{link:"/contact-us",text:"Start Investing Smarter Today",Icon:c.eW4})})]})})}};function P(){let{theme:e}=(0,l.D)(),a=S[e]||x;return(0,t.jsx)(a,{})}},83199:(e,a,r)=>{"use strict";r.d(a,{default:()=>x});var t=r(95155),l=r(41855),s=r(21440);r(12115);var i=r(70898),n=r(33828),o=r(28122),c=r(15239),d=r(75120),m=r(52619),u=r.n(m);let v={theme3:e=>{let{sitedata:a}=e,r="https://play.google.com/store/apps/details?id=com.mundadafinserv.mundadafinserv",l="https://apps.apple.com/app/mundada-finserve/id6740486153";return(0,t.jsx)("section",{className:"relative bg-[var(--rv-bg-white)] text-[var(--rv-black)] z-10 px-4 overflow-hidden",children:(0,t.jsx)("div",{className:"relative max-w-7xl mx-auto main-section",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 md:gap-10 gap-20 items-center",children:[(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)("div",{className:"relative mx-auto w-full max-w-sm",children:(0,t.jsx)("img",{src:"/images/phone1.png",alt:"Mobile App Mockup",className:"w-full h-[40rem] object-contain relative z-10"})})}),(0,t.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,t.jsx)(d.A,{align:"start",title:"Our Distributor App",heading:"Invest Smartly with Mundada Finserve",description:"Track, manage, and grow your mutual fund investments anytime, anywhere. Get expert-backed insights and a seamless investing experience right at your fingertips."}),(0,t.jsx)("div",{className:"space-y-4",children:[{icon:i.gt3,text:"Easy mutual fund investments & tracking"},{icon:n.TzJ,text:"Secure & paperless transactions"},{icon:o.PCV,text:"Portfolio insights anytime, anywhere"}].map((e,a)=>(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] p-2 rounded-lg",children:(0,t.jsx)(e.icon,{className:"w-5 h-5 "})}),(0,t.jsx)("span",{className:"text-lg",children:e.text})]},a))}),(0,t.jsx)("div",{className:"flex flex-col gap-6",children:(0,t.jsxs)("div",{className:"flex gap-4 flex-wrap ",children:[r?(0,t.jsx)(u(),{href:r,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)(c.default,{unoptimized:!0,src:"/images/gplay.png",alt:"Google Play",width:160,height:50,className:"bg-[var(--rv-black)] rounded-xl"})}):(0,t.jsx)(c.default,{unoptimized:!0,src:"/images/gplay.png",alt:"Google Play",width:160,height:50,className:"bg-[var(--rv-black)] rounded-xl"}),l?(0,t.jsx)(u(),{href:l,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)(c.default,{unoptimized:!0,src:"/images/appstore.png",alt:"App Store",width:160,height:50,className:"bg-[var(--rv-black)] rounded-xl"})}):(0,t.jsx)(c.default,{unoptimized:!0,src:"/images/appstore.png",alt:"App Store",width:160,height:50,className:"bg-[var(--rv-black)] rounded-xl"})]})})]})]})})})}};function x(e){let{sitedata:a}=e,{theme:r}=(0,l.D)(),i=v[r]||s.A;return(0,t.jsx)(i,{sitedata:a})}},94480:(e,a,r)=>{"use strict";r.d(a,{default:()=>g});var t=r(95155),l=r(41855),s=r(21440),i=r(12115),n=r(15239),o=r(75120),c=r(52619),d=r.n(c),m=r(6092),u=r(70898),v=r(12834),x=r(28122),h=r(33828);let p={theme1:s.A,theme2:e=>{let{sitedata:a}=e,r=null==a?void 0:a.appsplaystoreurl,l=null==a?void 0:a.appsappleurl;return(0,t.jsx)("section",{className:"w-full bg-[var(--rv-bg-black)] text-[var(--rv-white)] p-2 md:p-4 relative",children:(0,t.jsx)("div",{className:"relative w-full rounded-xl bg-[var(--rv-bg-secondary)] overflow-hidden",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto main-section grid grid-cols-1 lg:grid-cols-3 items-center gap-5 lg:gap-12",children:[(0,t.jsx)("div",{className:"relative flex justify-center items-center",children:(0,t.jsx)("div",{className:"relative rounded-xl",children:(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/phone.png",alt:"Mobile UI",width:300,height:400,className:""})})}),(0,t.jsxs)("div",{className:"flex flex-col gap-5 md:gap-10 col-span-2",children:[(0,t.jsx)(o.A,{variant:"",align:"start",title:"DOWNLOAD OUR APPS",heading:"Get paid easily and securely with our payment gateway",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."}),(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsxs)("div",{className:"flex items-center gap-6",children:[(0,t.jsx)("div",{className:"rounded shadow-md p-1 ",children:(0,t.jsx)(m.R8Y,{size:70})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-bold",children:"Scan to Download"}),(0,t.jsx)("p",{className:"",children:"Available for Android & iOS"})]})]}),(0,t.jsxs)("div",{className:"flex gap-4 flex-wrap ",children:[r?(0,t.jsx)(d(),{href:r,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/gplay.png",alt:"Google Play",width:160,height:50,className:""})}):(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/gplay.png",alt:"Google Play",width:160,height:50,className:""}),l?(0,t.jsx)(d(),{href:l,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/appstore.png",alt:"App Store",width:160,height:50,className:""})}):(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/appstore.png",alt:"App Store",width:160,height:50,className:""})]})]})]})]})})})},theme3:e=>{let{sitedata:a}=e,r=null==a?void 0:a.appsplaystoreurl,l=null==a?void 0:a.appsappleurl,[s,c]=(0,i.useState)("".concat("https://mundadafinserve.com","/api/app-links"));return(0,i.useEffect)(()=>{c("".concat(window.location.origin,"/api/app-links"))},[]),(0,t.jsx)("section",{className:"relative bg-[var(--rv-bg-white)] text-[var(--rv-black)] z-10 px-4 overflow-hidden",children:(0,t.jsx)("div",{className:"relative max-w-7xl mx-auto",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 md:gap-10 gap-20 items-center",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,t.jsx)(o.A,{align:"start",title:"Mobile app for clients",heading:"Invest Smartly with Mundada Nivesh",description:"Download our powerful app and unlock exclusive features, real-time insights, and special offers tailored just for you."}),(0,t.jsx)("div",{className:"space-y-4",children:[{icon:u.gt3,text:"Portfolio Re-Balancing with BSE & NSE Integration!"},{icon:u.gt3,text:"Powerful Portfolio Analysis!"},{icon:u.gt3,text:"Goal Tracker"}].map((e,a)=>(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] p-2 rounded-lg",children:(0,t.jsx)(e.icon,{className:"w-5 h-5 "})}),(0,t.jsx)("span",{className:"text-lg",children:e.text})]},a))}),(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsxs)("div",{className:"flex items-center gap-6",children:[s?(0,t.jsx)(v.X,{value:s,size:130,level:"H",includeMargin:!0,imageSettings:{src:"/favicon.ico",x:void 0,y:void 0,height:28,width:28,excavate:!0}}):(0,t.jsx)(LuQrCode,{className:"text-9xl text-[var(--rv-text)]"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-bold",children:"Scan to Download"}),(0,t.jsx)("p",{className:"",children:"Available for Android & iOS"})]})]}),(0,t.jsxs)("div",{className:"flex gap-4 flex-wrap ",children:[r?(0,t.jsx)(d(),{href:r,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/gplay.png",alt:"Google Play",width:160,height:50,className:"bg-[var(--rv-black)] rounded-xl"})}):(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/gplay.png",alt:"Google Play",width:160,height:50,className:"bg-[var(--rv-black)] rounded-xl"}),l?(0,t.jsx)(d(),{href:l,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/appstore.png",alt:"App Store",width:160,height:50,className:"bg-[var(--rv-black)] rounded-xl"})}):(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/appstore.png",alt:"App Store",width:160,height:50,className:"bg-[var(--rv-black)] rounded-xl"})]})]})]}),(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)("div",{className:"relative mx-auto w-full max-w-sm",children:(0,t.jsx)("img",{src:"/images/phone.png",alt:"Mobile App Mockup",className:"w-full"})})})]})})})},theme4:e=>{let{sitedata:a}=e,r=null==a?void 0:a.appsplaystoreurl,l=null==a?void 0:a.appsappleurl;return(0,t.jsx)("div",{children:(0,t.jsx)("section",{className:"relative w-full p-4 overflow-hidden bg-[var(--rv-bg-white)]",children:(0,t.jsx)("div",{className:"main-section border-b",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto grid grid-cols-1 lg:grid-cols-2 gap-5",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-5 text-[var(--rv-black)]",children:[(0,t.jsx)("p",{className:"tracking-widest text-[var(--rv-secondary)] ",children:"DOWNLOAD OUR APPS"}),(0,t.jsx)("h1",{className:"font-bold",children:"Get paid easily and securely with our payment gateway"}),(0,t.jsx)("p",{className:"",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."}),(0,t.jsxs)("div",{className:"flex gap-4 flex-wrap",children:[r?(0,t.jsx)(d(),{href:r,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/gplay.png",alt:"Google Play",width:160,height:50,className:"bg-[var(--rv-black)] rounded-xl"})}):(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/gplay.png",alt:"Google Play",width:160,height:50,className:"bg-[var(--rv-black)] rounded-xl"}),l?(0,t.jsx)(d(),{href:l,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/appstore.png",alt:"App Store",width:160,height:50,className:"bg-[var(--rv-black)] rounded-xl"})}):(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/appstore.png",alt:"App Store",width:160,height:50,className:"bg-[var(--rv-black)] rounded-xl"})]})]}),(0,t.jsx)("div",{className:"relative border border-[var(--rv-primary)] z-10 bg-gradient-to-tl from-[var(--rv-bg-secondary)] via-[var(--rv-bg-secondary)] to-[var(--rv-bg-primary)] text-[var(--rv-white)] rounded-xl overflow-hidden",children:(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/hand-mobile.png",alt:"Mobile UI",width:500,height:500,className:""})})})]})})})})},theme5:e=>{let{sitedata:a}=e,r=null==a?void 0:a.appsplaystoreurl,l=null==a?void 0:a.appsappleurl;return(0,t.jsx)("div",{children:(0,t.jsx)("section",{className:"relative w-full p-4 md:p-0 overflow-hidden bg-[var(--rv-secondary)]",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto grid grid-cols-1 lg:grid-cols-2 items-center gap-5",children:[(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/hand-mobile.png",alt:"Mobile UI",width:500,height:800,className:"w-full h-full"})}),(0,t.jsxs)("div",{className:"text-[var(--rv-white)] md:main-section flex flex-col gap-5",children:[(0,t.jsx)(o.A,{variant:"light",align:"start",title:"DOWNLOAD OUR APPS",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.",heading:"Get paid easily and securely with our payment gateway",highlight:"our payment"}),(0,t.jsx)("div",{className:"space-y-4",children:[{icon:x.FrA,text:"Lightning-fast transactions"},{icon:h.TzJ,text:"Bank-level security"},{icon:u.gt3,text:"Exclusive app-only rewards"}].map((e,a)=>(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"bg-[var(--rv-bg-primary)] p-2 rounded-lg",children:(0,t.jsx)(e.icon,{className:"w-5 h-5 "})}),(0,t.jsx)("span",{className:"text-lg",children:e.text})]},a))}),(0,t.jsxs)("div",{className:"flex items-center gap-5 flex-wrap",children:[(0,t.jsxs)("div",{className:"flex  flex-col gap-2",children:[(0,t.jsx)("div",{className:"rounded p-1 text-[var(--rv-white)]",children:(0,t.jsx)(m.egA,{size:70})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-bold",children:"Scan to Download"}),(0,t.jsx)("p",{className:"",children:"Available for Android & iOS"})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[r?(0,t.jsx)(d(),{href:r,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/gplay.png",alt:"Google Play",width:160,height:50,className:""})}):(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/gplay.png",alt:"Google Play",width:160,height:50,className:""}),l?(0,t.jsx)(d(),{href:l,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/appstore.png",alt:"App Store",width:160,height:50,className:""})}):(0,t.jsx)(n.default,{unoptimized:!0,src:"/images/appstore.png",alt:"App Store",width:160,height:50,className:""})]})]})]})]})})})}};function g(e){let{sitedata:a}=e,{theme:r}=(0,l.D)(),i=p[r]||s.A;return(0,t.jsx)(i,{sitedata:a})}}},e=>{e.O(0,[7125,5149,1667,6711,6446,5479,844,9204,3873,4206,4777,7672,8087,4909,754,5376,2870,4744,3901,5239,316,7330,3650,4447,8441,1255,7358],()=>e(e.s=71390)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.