1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9559],{10740:(e,r,t)=>{"use strict";t.d(r,{A:()=>p});var a=t(95155),s=t(12115),l=t(47650),i=t(18999),n=t(72473),o=t(21232);function c(e){let{slots:r,onBookClick:t,selectedDate:s}=e;if(!(null==r?void 0:r.length))return(0,a.jsx)("p",{className:"text-center text-[var(--rv-secondary)] italic",children:"No slots available."});let l=new Date(new Date().toLocaleString("en-US",{timeZone:"Asia/Kolkata"})),i=(0,n.GP)(l,"yyyy-MM-dd"),o=s<i;return(0,a.jsx)("div",{className:"flex flex-wrap md:grid md:grid-cols-3 gap-3 mb-4",children:r.map(e=>(0,a.jsx)("div",{children:(()=>{let r=!1;if(s===i){let[t,a]=e.time.split(" "),[s,i]=t.split(":").map(Number),n=null==a?void 0:a.toUpperCase();"PM"===n&&12!==s&&(s+=12),"AM"===n&&12===s&&(s=0);let o=l.getHours(),c=l.getMinutes();r=s<o||s===o&&i<=c}let n=e.booked||o||r;return(0,a.jsx)("button",{disabled:n,onClick:()=>t(e),className:"w-full px-1 h-12 rounded-xl bg-[var(--rv-bg-secondary-light)] hover:bg-[var(--rv-bg-secondary-light)] text-[var(--rv-text-muted)] hover:text-[var(--rv-text)] transition-all border border-[var(--rv-border)] flex items-center justify-center ".concat(n?"cursor-not-allowed opacity-50":"cursor-pointer"),children:e.time},e.time)})()}))})}var d=t(25363),m=t(79258),u=t(70859),v=t(70141);function x(e){let{date:r,slot:t,onConfirm:l}=e,[i,n]=(0,s.useState)({name:"",email:""}),[c,x]=(0,s.useState)({}
1),[h,p]=(0,s.useState)(!1),{captchaImage:f,captchaInput:g,setCaptchaInput:b,refreshCaptcha:j,validateCaptcha:y}=(0,m.A)(),N=async e=>{e.preventDefault();let a=(0,v.f4)({...i,captcha:g},y);if(x(a),Object.keys(a).length>0)return void j();p(!0);try{let e=await fetch("/api/book",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({date:r,time:t.time,...i})}),a=await e.json();e.ok?l(a.meetLink):alert(a.error||"Something went wrong!")}catch(e){alert("Failed to book meeting. Please try again.")}finally{p(!1)}};return(0,a.jsxs)("form",{onSubmit:N,className:"border-t border-[var(--rv-gray-light)] pt-4 mt-4",noValidate:!0,children:[(0,a.jsxs)("h3",{className:"font-semibold text-lg mb-4 text-center text-[var(--rv-text)]",children:["Booking for ",t.time]}),(0,a.jsx)("input",{type:"text",placeholder:"Your Name",value:i.name,onChange:e=>{n({...i,name:e.target.value}),(0,v.m_)(x,"name")},className:"w-full border border-[var(--rv-primary-light)] focus:border-[var(--rv-secondary-dark)] p-2 rounded-lg mb-3 outline-none transition-colors"}),(0,a.jsx)(u.A,{message:c.name,className:"-mt-2 mb-3"}),(0,a.jsx)("input",{type:"email",placeholder:"Your Email",value:i.email,onChange:e=>{n({...i,email:e.target.value}),(0,v.m_)(x,"email")},className:"w-full border border-[var(--rv-primary-light)] focus:border-[var(--rv-secondary-dark)] p-2 rounded-lg mb-4 outline-none transition-colors"}),(0,a.jsx)(u.A,{message:c.email,className:"-mt-3 mb-4"}),(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsx)(d.A,{imageSrc:f,onRefresh:j,value:g,onChange:e=>{b(e.target.value),(0,v.m_)(x,"captcha")},placeholder:"Enter code",className:"bg-[var(--rv-secondary-light)] border-[var(--rv-secondary)]",inputClassName:"border-[var(--rv-secondary)] focus:border-[var(--rv-secondary)]/50 bg-[var(--rv-secondary-light)] text-[var(--rv-black)]",buttonClassName:"bg-[var(--rv-secondary)] text-[var(--rv-white)]"}),(0,a.jsx)(u.A,{message:c.captcha})]}),(0,a.jsx)(o.A,{type:"submit",disabled:h,text:h?"Scheduling...":"Confirm Meeting",className:"w-full shadow-md"})]})}var h=t(65229);function p(e){let{onClose:r,isDark:t=!1,standalone:d=!1}=e,m=()=>new Date(new Date().toLocaleString("en-US",{timeZone:"Asia/Kolkata"})),u=()=>(0,n.GP)(m(),"yyyy-MM-dd"),[v,p]=(0,s.useState)(u()),[f,g]=(0,s.useState)([]),[b,j]=(0,s.useState)(null),[y,N]=(0,s.useState)(null),[w,k]=(0,s.useState)(!1),[C,S]=(0,s.useState)(!1),[A,P]=(0,s.useState)("");(0,s.useEffect)(()=>{(async()=>{S(!0),P("");try{let e=await fetch("/api/slots?date=".concat(v),{cache:"no-store"}),r=await e.json();if(!e.ok)throw Error((null==r?void 0:r.error)||"Failed to fetch slots");let t=Array.isArray(null==r?void 0:r.slots)?r.slots:[],a=m(),s=(0,n.GP)(a,"yyyy-MM-dd");if(v===s){let e=a.getHours(),r=a.getMinutes();t=t.map(t=>{let[a,s]=t.time.split(" "),[l,i]=a.split(":").map(Number),n=null==s?void 0:s.toUpperCase();return("PM"===n&&12!==l&&(l+=12),"AM"===n&&12===l&&(l=0),l<e||l===e&&i<=r)?{...t,booked:!0}:t})}g(t)}catch(e){console.error("Failed to fetch slots:",(null==e?void 0:e.message)||e),g([]),P("Unable to load slots. Please try again.")}finally{S(!1)}})()},[v]);let E=(0,a.jsxs)(i.P.div,{initial:!d&&{scale:.8,y:30},animate:{scale:1,y:0},exit:d?void 0:{scale:.8,opacity:0}
1,className:"relative w-full overflow-y-auto rounded-2xl bg-[var(--rv-bg-page)] ".concat(d?"max-w-none border border-[var(--rv-border)]":"max-w-xl shadow-2xl max-h-[calc(100dvh-2rem)]"),children:[(0,a.jsxs)("div",{className:"bg-gradient-to-r from-[var(--rv-primary-dark)] to-[var(--rv-secondary-dark)] text-[var(--rv-white)] px-6 py-3 flex items-center justify-between",children:[(0,a.jsx)("h2",{className:"text-lg font-semibold",children:"Schedule a Meeting"}),d?null:(0,a.jsx)("button",{onClick:r,className:"text-[var(--rv-white-dark)] hover:text-[var(--rv-white)] transition-colors",children:(0,a.jsx)(h.A,{size:20})})]}),(0,a.jsx)("div",{className:"p-6",children:w?(0,a.jsxs)("div",{className:"text-center py-6",children:[(0,a.jsx)("h3",{className:"text-xl font-semibold mb-2 text-[var(--rv-text)]",children:"Meeting Booked Successfully!"}),(0,a.jsx)("p",{className:"text-[var(--rv-gray-dark)] mb-3",children:y?"Your meeting has been booked. Use the link below to join at the scheduled time.":"Your meeting has been booked successfully."}),y&&(0,a.jsx)("a",{href:y,target:"_blank",rel:"noreferrer",className:"inline-block text-sm font-semibold text-[var(--rv-secondary)] hover:text-[var(--rv-secondary-dark)] transition-colors",children:"Open Meeting Link"}),d?null:(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)(o.A,{onClick:r,text:"Close",className:"mt-4 shadow-md"})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("label",{className:"block mb-2 font-medium text-[var(--rv-text)]",children:"Select Date"}),(0,a.jsx)("input",{type:"date",min:u(),className:"border border-[var(--rv-secondary)] focus:border-[var(--rv-primary)] p-2 rounded w-full mb-4 outline-none transition-colors",value:v,onChange:e=>{p(e.target.value),j(null)}}),(0,a.jsx)(c,{slots:f,selectedDate:v,onBookClick:j}),C&&(0,a.jsx)("p",{className:"text-center text-sm text-[var(--rv-text)] mt-2",children:"Loading slots..."}),A&&(0,a.jsx)("p",{className:"text-center text-sm text-red-600 mt-2",children:A}),b&&(0,a.jsx)("div",{className:"mt-4 border-t border-[var(--rv-gray-light)] pt-4",children:(0,a.jsx)(x,{date:v,slot:b,onConfirm:e=>{N(e||null),k(!0)}})})]})})]});if(d)return E;let M=(0,a.jsx)(i.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-center justify-center bg-[var(--rv-bg-black)]/50 px-4 py-6 backdrop-blur-sm",children:E});return"undefined"!=typeof document?(0,l.createPortal)(M,document.body):null}},12193:(e,r,t)=>{"use strict";t.d(r,{default:()=>c});var a=t(95155),s=t(88661),l=t.n(s),i=t(12115),n=t(12870),o=t(95704);function c(){let[e,r]=(0,i.useState)([]),t=o.env.NEXT_PUBLIC_TICKER_WIDGET_URL;(0,i.useEffect)(()=>{if(t)return;let e=!0,a=async()=>{try{var t;let a=await n.A.get("/api/open-apis/tickers"),s=null==a||null==(t=a.data)?void 0:t.data;e&&r(Array.isArray(s)?s:[])}catch(t){e&&r([])}};a();let s=setInterval(a,3e4);return()=>{e=!1,clearInterval(s)}},[t]);let s=(0,i.useMemo)(()=>Array.isArray(e)?e:[],[e]),c=(0,i.useMemo)(()=>[...s,...s],[s]);return t||0!==s.length?(0,a.jsxs)("div",{className:"jsx-63f71ba8cef562f2 w-full bg-black text-white",children:[t?(0,a.jsx)("iframe",{title:"Market ticker",src:t,loading:"lazy",className:"jsx-63f71ba8cef562f2 h-11 w-full border-0"}):(0,a.jsx)("div",{className:"jsx-63f71ba8cef562f2 relative h-11 overflow-hidden",children:(0,a.jsx)("div",{className:"jsx-63f71ba8cef562f2 ticker-marquee-track flex h-full min-w-max items-center gap-3 px-3",children:c.map((e,r)=>{var t;let s=Number((null==e?void 0:e.diff_amount)||0),l=s>=0;return(0,a.jsxs)("div",{className:"jsx-63f71ba8cef562f2 inline-flex items-center gap-2 rounded-full border border-white/20 bg-white/10 px-3 py-1 text-xs",children:[(0,a.jsx)("span",{className:"jsx-63f71ba8cef562f2 font-semibold",children:(null==e?void 0:e.indexName)||"-"}),(0,a.jsx)("span",{className:"jsx-63f71ba8cef562f2",children:(null==e?void 0:e.figure)||"-"}),(0,a.jsxs)("span",{className:"jsx-63f71ba8cef562f2 "+((l?"text-emerald-400":"text-rose-400")||""),children:[l?"+":"-",Math.abs(s)," (",null!=(t=null==e?void 0:e.percentage)?t:0,"%)"]})]},"".concat((null==e?void 0:e.indexName)||"idx","-").concat(r))})})}),(0,a.jsx)(l(),{id:"63f71ba8cef562f2",children:".ticker-marquee-track.jsx-63f71ba8cef562f2{animation:ticker-marquee 28s linear infinite}@keyframes ticker-marquee{0%{transform:translatex(0)}100%{transform:translatex(-50%)}}"})]}):null}},13590:(e,r,t)=>{"use strict";t.d(r,{default:()=>m});var a=t(95155),s=t(88661),l=t.n(s),i=t(12115),n=t(70898);function o(e){return String(e||"").replace(/[^\d]/g,"")}function c(){return"".concat(Date.now(),"-").concat(Math.random().toString(16).slice(2))}let d={greet:["Hi! Welcome to {site}.","Hello! Thanks for visiting {site}.","Hey! Welcome to {site}.","Hi there! Great to see you at {site}.","Hello! Welcome to {site}.","Hi! Youâre chatting with {site}.","Hello! Welcomeâhow can I help you today at {site}?","Hi! Thanks for stopping by {site}.","Hey there! Welcome to {site}. How can I help?","Hello! Nice to meet you. Welcome to {site}."],askName:["I can help you connect on WhatsApp. what's your name?","I'll connect you on WhatsApp. May I know your name?","Before we continue, what's your name?","To get started, please share your name.","May I have your name, please?","Sureâwhatâs your full name?","Letâs get started. Your name, please?","Can you tell me your name to continue?","Please share your name so I can proceed.","What name should I use?"],invalidName:["Please enter a valid name (letters only).","That does not look like a name. Please use letters only.","Kindly enter your name using alphabets only.","Please enter your name (only letters and spaces).","Name should contain only alphabets. Please try again.","Please avoid numbers/symbols in the name.","That looks invalidâplease type your name again.","Please enter a proper name to continue.","Kindly enter a valid full name.","Please provide your name in letters (AâZ) only."],askMobile:["Great. What is your 10 digit mobile number?","Thanks! Please share your 10 digit mobile number.","Awesome. Your 10 digit phone number?","Please enter your 10 digit mobile number (India).","Can you share your 10 digit contact number?","Whatâs the best 10 digit phone number to reach you on?","Please type your mobile number (10 digits).","Your phone number (10 digits), please.","Please share your mobile number to continue.","May I have your 10 digit mobile number?"],invalidMobile:["Please enter a valid 10 digit mobile number.","That phone number seems incorrect. Enter 10 digits only.","Please provide a 10 digit number (no country code).","Mobile number should be exactly 10 digits.","Please enter 10 digits only (no spaces or symbols).","That doesnât look rightâplease re-enter your 10 digit number.","Please enter a valid Indian mobile number (10 digits).","Mobile number is requiredâenter 10 digits.","Please try again with a correct 10 digit phone number.","Invalid number format. Please enter 10 digits."],askEmail
1:["Thanks. What is your email address?","Great. what's your email address?","Perfect. Please share your email.","Please type your email address.","Whatâs your email (for confirmation)?","Can you share your email ID?","Please enter your email so we can reach you.","Your email address, please.","Please provide your email to continue.","May I know your email address?"],invalidEmail:["Please enter a valid email address.","That email does not look correct. Please try again.","Kindly enter a valid email (example: [email protected]).","Email seems invalidâplease re-check and try again.","Please enter a valid email like `[email protected]`.","That email format is not correct. Please type it again.","Please provide a proper email address.","Invalid email. Please enter a correct one.","Email is requiredâplease enter a valid email.","Please avoid spaces in the email and try again."],askCity:["Which city are you from?","What city do you live in?","Please tell me your city.","Which city should we note for you?","Please enter your city name.","Whatâs your current city?","Which city are you located in?","Please share your city to continue.","Your city, please.","May I know your city?"],invalidCity:["Please enter your city.","City is required. Please type your city name.","Please enter a valid city name.","City cannot be emptyâplease type your city.","Please provide your city to continue.","Kindly enter the city name.","Please type your city (example: Indore).","City is missingâplease enter it.","Please add your city name.","Enter your city to proceed."],askServices:["Select the services you are interested in:","Which services can we help you with?","Please choose the services you need:","What are you interested in today? Select services:","Please pick the services you want help with:","Choose one or more services from the list:","Select your preferred services to continue:","Which services would you like to explore?","Please select at least one service below:","Pick the services youâre looking for:"],whatsappNotConfigured:["WhatsApp number is not configured.","WhatsApp is not configured right now. Please try again later.","WhatsApp details are missing. Please contact support.","WhatsApp number is unavailable at the moment.","Unable to open WhatsApp right now. Please try later."],selectOneService:["Please select at least one service.","Choose at least one service to continue.","Select one or more services to proceed.","Please choose at least one option from the list.","Pick at least one service, then continue."],submitFailed:["Failed to submit. Please try again.","Something went wrong. Please retry in a moment.","We could not submit your request. Please try again.","Unable to submit right now. Please try again shortly.","Oopsâsubmission didnât work. Please retry.","Something went wrong while submitting. Please try again."]};function m(e){let{sitedata:r,services:t=[],isDark:s=!1,isGrouped:m=!1,openOverride:u=!1,onOpenChange:v,hideLauncher:x=!1}=e,[h,p]=(0,i.useState)(!1),[f,g]=(0,i.useState)(!1),[b,j]=(0,i.useState)(""),[y,N]=(0,i.useState)(!1),[w,k]=(0,i.useState)([]),[C,S]=(0,i.useState)(""),[A,P]=(0,i.useState)("idle"),E=(0,i.useRef)(!1),M=(0,i.useRef)([]),z=(0,i.useRef)(null),L=(0,i.useRef)(null),T=(0,i.useRef)({}),F=(0,i.useRef)({name:"",mobile:"",email:"",address:"",services:[]}),I=(0,i.useMemo)(()=>(t||[]).map(e=>({id:(null==e?void 0:e._id)||(null==e?void 0:e.name),name:(null==e?void 0:e.name)||""})).filter(e=>!!e.id&&!!e.name),[t]),D=(0,i.useMemo)(()=>(function(e){let r=String(e||"").replace(/[^\d]/g,"");return r?10===r.length?"91".concat(r):r:""})((null==r?void 0:r.whatsAppNo)||(null==r?void 0:r.mobile)),[null==r?void 0:r.whatsAppNo,null==r?void 0:r.mobile]),_=e=>{p(e),"function"==typeof v&&v(e)},R=function(e,r){var t;let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",s=d[e]||(a?[a]:[""]);if(0===s.length)return"";let l=T.current[e],i=Math.floor(Math.random()*s.length);return s.length>1&&i===l&&(i=(i+1)%s.length),T.current[e]=i,t=s[i],String(t||"").replace(/\{(\w+)\}/g,(e,t)=>(null==r?void 0:r[t])!=null?String(r[t]):"{".concat(t,"}"))},O=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:700;return new Promise(t=>{N(!0);let a=setTimeout(()=>{N(!1),k(r=>[...r,{id:c(),from:"bot",type:"text",text:e}]),t()},r);M.current.push(a)})},U=e=>{let r=String(e||"").trim();r&&k(e=>[...e,{id:c(),from:"user",type:"text",text:r}])},W=()=>{for(let e of M.current)clearTimeout(e);M.current=[],E.current=!1,_(!1),k([]),S(""),j(""),N(!1),g(!1),P("idle"),F.current={name:"",mobile:"",email:"",address:"",services:[]}};(0,i.useEffect)(()=>
1{if(!h)return;let e=z.current;e&&(e.scrollTop=e.scrollHeight)},[h,w,y]),(0,i.useEffect)(()=>{if(!h||y||f||"services"===A||"done"===A)return;let e=setTimeout(()=>{var e;null==(e=L.current)||e.focus()},0);return()=>clearTimeout(e)},[h,A,y,f]),(0,i.useEffect)(()=>()=>{for(let e of M.current)clearTimeout(e);M.current=[]},[]),(0,i.useEffect)(()=>{if(x)return void p(u);u&&p(!0)},[x,u]),(0,i.useEffect)(()=>{h&&!E.current&&(E.current=!0,k([]),j(""),N(!1),S(""),g(!1),P("idle"),F.current={name:"",mobile:"",email:"",address:"",services:[]},(async()=>{let e=(null==r?void 0:r.websiteName)||"our website";await O(R("greet",{site:e},"Hi! Welcome to ".concat(e,"."))),await O(R("askName",null,"I can help you connect on WhatsApp. what's your name?")),P("name")})())},[h]);let B=async()=>{if(f||y)return;let e=String(C||"").trim();if(e){if(j(""),U(e),S(""),setTimeout(()=>{var e;return null==(e=L.current)?void 0:e.focus()},0),"name"===A)return!function(e){let r=String(e||"").trim();return!!r&&/^[A-Za-z][A-Za-z ]+$/.test(r)}(e)?void await O(R("invalidName")):(F.current.name=e,await O(R("askMobile")),void P("mobile"));if("mobile"===A)return/^\d{10}$/.test(o(e))?(F.current.mobile=o(e),await O(R("askEmail")),void P("email")):void await O(R("invalidMobile"));if("email"===A)return/^[\w-.]+@([\w-]+\.)+[\w-]{2,}$/.test(String(e||"").trim())?(F.current.email=e,await O(R("askCity")),void P("city")):void await O(R("invalidEmail"));if("city"===A){if(!e)return void await O(R("invalidCity"));F.current.address=e,await O(R("askServices")),P("services"),k(e=>[...e,{id:c(),from:"bot",type:"services"}])}}},K=()=>(F.current.services||[]).length>0,V=async()=>{if(!f&&!y){if(!K())return void j(R("selectOneService"));j(""),g(!0),P("done");try{let e={name:String(F.current.name||"").trim(),mobile:o(F.current.mobile),email:String(F.current.email||"").trim(),address:String(F.current.address||"").trim(),services:F.current.services||[]},r=await fetch("/api/bot/leads",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!r.ok){let e=await r.json().catch(()=>null);throw Error((null==e?void 0:e.message)||"Failed to submit (".concat(r.status,")"))}if(D){let r=function(e){let{name:r,mobile:t,email:a,address:s,services:l}=e;return encodeURIComponent(["*Name*: ".concat(r),"*Phone*: ".concat(t),"*E-mail*: ".concat(a),"*City*: ".concat(s),"*Services*: ".concat((l||[]).join(", "))].join("\n"))}(e);window.open("https://wa.me/".concat(D,"?text=").concat(r),"_blank","noopener,noreferrer")}else j(R("whatsappNotConfigured"));W()}catch(e){j((null==e?void 0:e.message)||R("submitFailed"))}finally{g(!1)}}},H="mobile"===A;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l(),{id:"a15b0ee81742de40",children:"@keyframes typingPulse{0%{transform:translatey(0);opacity:.45}50%{transform:translatey(-2px);opacity:.9}100%{transform:translatey(0);opacity:.45}}"}),x?null:(0,a.jsx)("button",{type:"button",onClick:()=>_(!h),"aria-label":h?"Close WhatsApp widget":"Open WhatsApp widget",className:"jsx-a15b0ee81742de40 "+((m?"relative z-[99999] bg-[var(--rv-primary)] text-[var(--rv-white)] border-none rounded-full w-[52px] h-[52px] flex items-center justify-center shadow-[0_4px_12px_rgba(0,0,0,0.2)] transition-transform duration-200 ease-out cursor-pointer hover:scale-110":"fixed bottom-5 right-5 bg-[var(--rv-primary)] text-[var(--rv-white)] border-none rounded-full w-[52px] h-[52px] flex items-center justify-center z-[99999] shadow-[0_4px_12px_rgba(0,0,0,0.2)] transition-transform duration-200 ease-out cursor-pointer hover:scale-110")||""),children:(0,a.jsx)(n.EcP,{size:24})}),h&&(0,a.jsx)("div",{className:"jsx-a15b0ee81742de40 "+((m?"fixed bottom-20 right-4 w-[360px] z-[99998] max-md:right-3 max-md:left-3 max-md:w-auto max-md:bottom-[86px]":"fixed bottom-20 right-5 w-[360px] z-[99998] max-md:right-3 max-md:left-3 max-md:w-auto max-md:bottom-[86px]")||""),children:(0,a.jsxs)("div",{className:"jsx-a15b0ee81742de40 bg-[var(--rv-bg-surface)] rounded-[20px] overflow-hidden shadow-[0_8px_25px_rgba(0,0,0,0.2)] flex flex-col h-[520px] border border-[var(--rv-border)] max-md:h-[70vh] max-md:max-h-[560px] max-md:rounded-2xl",children:[(0,a.jsxs)("div",{className:"jsx-a15b0ee81742de40 bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] p-[10px_16px] flex items-center justify-between border-b border-[var(--rv-border)]",children:[(0,a.jsxs)("div",{className:"jsx-a15b0ee81742de40 flex items-center gap-2.5",children:[(0,a.jsx)(n.EcP,{size:18}),(0,a.jsx)("div",{className:"jsx-a15b0ee81742de40 text-sm font-bold leading-[1.2]",children:(null==r?void 0:r.websiteName)||"Chat Support"})]}),(0,a.jsx)("div",{className:"jsx-a15b0ee81742de40 flex items-center gap-2",children:(0,a.jsx)("button",{type:"button",onClick:W,"aria-label":"Close",className:"jsx-a15b0ee81742de40 bg-transparent border-none text-[var(--rv-white)] cursor-pointer",children:(0,a.jsx)(n.QCr,{size:14})})})]}),(0,a.jsx)("div",{ref:z,className:"jsx-a15b0ee81742de40 flex-1 bg-[var(--rv-bg-surface)] overflow-y-auto",children:(0,a.jsxs)("div",{className:"jsx-a15b0ee81742de40 p-3 flex flex-col gap-2.5",children:[w.map(e=>{if("services"===e.type){let r=F.current.services||[];return(0,a.jsx)("div",{className:"jsx-a15b0ee81742de40 flex justify-start",children:(0,a.jsx)("div",{className:"jsx-a15b0ee81742de40 max-w-[85%] bg-[var(--rv-bg-page)] text-[var(--rv-text)] rounded-[14px_14px_14px_6px] p-[10px_12px] shadow-[0_2px_10px_rgba(0,0,0,0.06)] text-sm leading-[1.35] border border-[var(--rv-border)]",children:0===I.length?(0,a.jsx)("div",{className:"jsx-a15b0ee81742de40 text-[13px] text-[var(--rv-text-muted)]",children:"No services available."}):(0,a.jsx)("div",{className:"jsx-a15b0ee81742de40 flex flex-col gap-2 my-2.5",children:I.map(e=>(0,a.jsxs)("label",{className:"jsx-a15b0ee81742de40 flex items-center gap-1.5 text-[15px] cursor-pointer",children:[(0,a.jsx)("input",{type:"checkbox",checked:r.includes(e.name),onChange:()=>(e=>{let r=F.current.services||[];F.current.services=r.includes(e)?r.filter(r=>r!==e):[...r,e],k(e=>[...e])})(e.name),className:"jsx-a15b0ee81742de40"}),(0,a.jsx)("span",{className:"jsx-a15b0ee81742de40",children:e.name})]},e.id))})})},e.id)}return(0,a.jsx)("div",{className:"jsx-a15b0ee81742de40 "+(("user"===e.from?"flex justify-end":"flex justify-start")||""),children:(0,a.jsx)("div",{className:"jsx-a15b0ee81742de40 "+(("user"===e.from?"max-w-[85%] bg-[var(--rv-bg-secondary-light)] text-[var(--rv-text)] rounded-[14px_14px_6px_14px] p-[10px_12px] shadow-[0_2px_10px_rgba(0,0,0,0.06)] text-sm leading-[1.35] border border-[var(--rv-border)]":"max-w-[85%] bg-[var(--rv-bg-page)] text-[var(--rv-text)] rounded-[14px_14px_14px_6px] p-[10px_12px] shadow-[0_2px_10px_rgba(0,0,0,0.06)] text-sm leading-[1.35] border border-[var(--rv-border)]")||""),children:e.text})},e.id)}),y&&(0,a.jsx)("div",{className:"jsx-a15b0ee81742de40 flex justify-start",children:(0,a.jsx)("div",{className:"jsx-a15b0ee81742de40 max-w-[85%] bg-[var(--rv-bg-page)] text-[var(--rv-text)] rounded-[14px_14px_14px_6px] p-[10px_12px] shadow-[0_2px_10px_rgba(0,0,0,0.06)] text-sm leading-[1.35] border border-[var(--rv-border)]",children:(0,a.jsxs)("div",{"aria-label":"Typing",className:"jsx-a15b0ee81742de40 inline-flex gap-1 items-center py-0.5",children:[(0,a.jsx)("span",{style:{animation:"typingPulse 1.1s infinite ease-in-out"},className:"jsx-a15b0ee81742de40 w-[7px] h-[7px] rounded-full bg-[var(--rv-text-muted)]"}),(0,a.jsx)("span",{style:{animation:"typingPulse 1.1s infinite ease-in-out",animationDelay:"0.15s"},className:"jsx-a15b0ee81742de40 w-[7px] h-[7px] rounded-full bg-[var(--rv-text-muted)]"}),(0,a.jsx)("span",{style:{animation:"typingPulse 1.1s infinite ease-in-out",animationDelay:"0.3s"},className:"jsx-a15b0ee81742de40 w-[7px] h-[7px] rounded-full bg-[var(--rv-text-muted)]"})]})})})]})}),(0,a.jsxs)("div",{className:"jsx-a15b0ee81742de40 border-t border-[var(--rv-border)] bg-[var(--rv-bg-surface)] p-2.5 flex flex-col gap-2",children:[b&&(0,a.jsx)("div",{className:"jsx-a15b0ee81742de40 text-[var(--rv-red)] ",children:b}),"services"===A?(0,a.jsx)("button",{type:"button",disabled:!K()||f||y,onClick:async()=>{K()&&(U((F.current.services||[]).join(", ")),await V())},className:"jsx-a15b0ee81742de40 w-full border-none rounded-xl px-3 py-2.5 bg-[var(--rv-primary)] text-[var(--rv-black)] curs
1or-pointer font-bold disabled:opacity-60 disabled:cursor-not-allowed",children:f?"Continuing...":"Continue"}):(0,a.jsxs)("div",{className:"jsx-a15b0ee81742de40 flex gap-2 items-center",children:[(0,a.jsx)("input",{ref:L,value:C,onChange:e=>{let r=e.target.value;H?S(r.replace(/[^\d]/g,"").slice(0,10)):S(r)},onKeyDown:e=>{"Enter"===e.key&&B()},placeholder:"done"===A?"Opening WhatsApp...":"Type your reply...",disabled:y||f||"done"===A,inputMode:H?"numeric":void 0,maxLength:H?10:void 0,className:"jsx-a15b0ee81742de40 flex-1 border border-[var(--rv-border)] bg-[var(--rv-bg-page)] text-[var(--rv-text)] rounded-full px-3 py-2.5 text-sm outline-none placeholder:text-[var(--rv-text-muted)]"}),(0,a.jsx)("button",{type:"button",onClick:B,disabled:y||f||!C.trim()||"done"===A,className:"jsx-a15b0ee81742de40 border-none rounded-full px-3.5 py-2.5 bg-[var(--rv-primary)] text-[var(--rv-black)] cursor-pointer font-semibold disabled:opacity-60 disabled:cursor-not-allowed",children:"Send"})]})]})]})})]})}},16485:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});let a=(0,t(5121).A)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},23268:(e,r,t)=>{Promise.resolve().then(t.bind(t,43434)),Promise.resolve().then(t.bind(t,13590)),Promise.resolve().then(t.bind(t,50887)),Promise.resolve().then(t.bind(t,35525)),Promise.resolve().then(t.bind(t,78220)),Promise.resolve().then(t.bind(t,64988)),Promise.resolve().then(t.bind(t,88743)),Promise.resolve().then(t.bind(t,59405)),Promise.resolve().then(t.bind(t,12193)),Promise.resolve().then(t.bind(t,54019)),Promise.resolve().then(t.bind(t,14348)),Promise.resolve().then(t.bind(t,41855))},32183:(e,r,t)=>{"use strict";t.d(r,{A:()=>v});var a=t(95155),s=t(12115),l=t(52619),i=t.n(l),n=t(70898),o=t(18999),c=t(26497),d=t(12870),m=t(60316),u=t.n(m);function v(e){let{isOpen:r=!1,onClose:t,standalone:l=!1}
1=e,[m,v]=(0,s.useState)(""),[x,h]=(0,s.useState)([]),[p,f]=(0,s.useState)("all"),[g,b]=(0,s.useState)(!1),[j,y]=(0,s.useState)(!1),N=l||r;(0,s.useEffect)(()=>(!l&&r?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[r,l]),(0,s.useEffect)(()=>{N&&!j&&(async()=>{b(!0);try{let e=await d.A.get("/api/open-apis/all-scheme-portfolio");if(200===e.status){let r=e.data.data||[];h(r),y(!0)}}catch(e){console.error("Error fetching search results:",e)}finally{b(!1)}})()},[N,j]);let w=x.filter(e=>{if(!m)return!1;let r=m.toLowerCase().split(" ").filter(e=>e.length>0),t=((null==e?void 0:e.funddes)||"").toLowerCase();return r.every(e=>t.includes(e))}).filter(e=>"all"===p||((null==e?void 0:e.schemeCategory)||"").toLowerCase().includes(p)),k=(0,a.jsxs)(o.P.div,{initial:!l&&{scale:.9,y:20},animate:{scale:1,y:0},exit:l?void 0:{scale:.9,y:20},className:"w-full bg-[var(--rv-bg-surface)] rounded-3xl md:rounded-[2.5rem] border border-[var(--rv-border)] overflow-hidden p-6 md:p-8 flex flex-col ".concat(l?"max-w-none min-h-[28rem]":"max-w-3xl shadow-2xl max-h-[90vh]"),children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-8",children:[(0,a.jsx)("h3",{className:"text-2xl font-black text-[var(--rv-text)]",children:"SMART SEARCH"}),l?null:(0,a.jsx)("button",{onClick:()=>{v(""),t&&t()},className:"p-3 rounded-full hover:bg-[var(--rv-bg-secondary-light)] transition-colors text-[var(--rv-text)]",children:(0,a.jsx)(n.QCr,{size:20})})]}),(0,a.jsxs)("div",{className:"relative mb-6 md:mb-8 group",children:[(0,a.jsx)("div",{className:"absolute inset-y-0 left-5 md:left-6 flex items-center pointer-events-none",children:(0,a.jsx)(n.KSO,{className:"text-[var(--rv-text-muted)] group-focus-within:text-[var(--rv-primary)] transition-colors"})}),(0,a.jsx)("input",{type:"text",placeholder:"Search scheme name...",value:m,onChange:e=>{v(e.target.value)},autoFocus:!0,className:"w-full bg-[var(--rv-bg-secondary-light)] border border-[var(--rv-border)] rounded-2xl py-4 pl-12 md:pl-16 pr-6 text-base md:text-xl text-[var(--rv-text)] placeholder:text-[var(--rv-text-muted)] focus:border-[var(--rv-primary)]/50 focus:bg-[var(--rv-bg-surface)] outline-none transition-all"})]}),(0,a.jsx)("div",{className:"flex-1 overflow-y-auto pr-2 custom-scrollbar",children:g?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center py-10 text-[var(--rv-text-muted)]",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-[var(--rv-text)] mb-4"}),(0,a.jsx)("p",{children:"Loading schemes..."})]}):m?w.length>0?(0,a.jsx)("div",{className:"grid gap-3",children:w.map((e,r)=>(0,a.jsxs)(i(),{href:"/performance/single-fund",onClick:()=>(e=>{let r={pcode:e.pcode,timestamp:Date.now()},a=u().AES.encrypt(JSON.stringify(r),"4ae5287203e99ddf5cd766dfe11d4f19d45ae02a04bde6a7e90e5b76f9f6ed62").toString();localStorage.setItem("encryptedFundData",a),localStorage.setItem("selectedFundPcode",e.pcode),v(""),t&&t()})(e),className:"w-full flex items-center justify-between p-4 rounded-2xl bg-[var(--rv-bg-secondary-light)] hover:bg-[var(--rv-bg-primary-light)] border border-[var(--rv-border)] hover:border-[var(--rv-primary)]/30 transition-all text-left group",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"text-[var(--rv-text)] font-bold group-hover:text-[var(--rv-primary)] transition-colors",children:e.funddes}),(0,a.jsx)("span",{className:"text-[var(--rv-text-muted)] uppercase tracking-widest mt-1",children:e.schemeCategory||"Mutual Fund"})]}),(0,a.jsx)("div",{className:"p-2 rounded-lg bg-[var(--rv-bg-secondary-light)] opacity-0 group-hover:opacity-100 transition-all",children:(0,a.jsx)("svg",{className:"w-5 h-5 text-[var(--rv-primary)]",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M13 7l5 5m0 0l-5 5m5-5H6"})})})]},r))}):(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center py-10 text-[var(--rv-text-muted)]",children:[(0,a.jsx)(n.KSO,{size:48,className:"mb-4 opacity-10"}),(0,a.jsxs)("p",{className:"text-lg font-medium",children:['No matches found for "',m,'"']})]}):(0,a.jsx)("div",{className:"text-center py-10",children:(0,a.jsx)("p",{className:"text-[var(--rv-text-muted)] text-sm font-medium",children:"Start typing to see curated results..."})})})]});return l?k:(0,a.jsx)(c.N,{children:r&&(0,a.jsx)(o.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[999999] w-full h-screen flex items-start justify-center pt-10 px-4 md:px-6 bg-black/60",children:k})})}},35525:(e,r,t)=>{"use strict";t.d(r,{default:()=>p});var a=t(95155),s=t(12115),l=t(5121);let i=(0,l.A)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]);var n=t(47650),o=t(26497),c=t(18999),d=t(21232),m=t(65229);let u=(0,l.A)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);var v=t(70859),x=t(70141);function h(e){let{onClose:r,isDark:t=!1}=e,[l,i]=(0,s.useState)({experience:"",rating:0,likedThings:""}
1),[h,p]=(0,s.useState)(""),[f,g]=(0,s.useState)({}),[b,j]=(0,s.useState)(!1),y=async e=>{e.preventDefault(),p("");let t=(0,x.bP)(l,[{key:"experience",label:"Experience"},{key:"rating",label:"Rating"}]);if(g(t),!(Object.keys(t).length>0)){j(!0);try{let e=await fetch("/api/user-feedback",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)}),t=await e.json();p(t.message||t.error),e.ok&&setTimeout(r,2e3)}catch(e){p("Failed to submit feedback")}finally{j(!1)}}},N=(0,a.jsx)("div",{className:"fixed inset-0 bg-[var(--rv-bg-black)]/50 backdrop-blur-sm flex justify-center items-center z-50 px-4",children:(0,a.jsx)(o.N,{children:(0,a.jsxs)(c.P.div,{initial:{opacity:0,x:100},animate:{opacity:1,x:0},exit:{opacity:0,x:100},transition:{duration:.3},className:"relative w-full max-w-md overflow-y-auto rounded-3xl border border-[var(--rv-secondary-light)] bg-[var(--rv-bg-page)] shadow-2xl max-h-[calc(100dvh-2rem)]",children:[(0,a.jsxs)("div",{className:"bg-gradient-to-r from-[var(--rv-primary)] to-[var(--rv-secondary-dark)] p-5 flex justify-between items-center text-[var(--rv-white)]",children:[(0,a.jsx)("h2",{className:"text-lg font-semibold",children:"Your Feedback Matters \uD83D\uDCAC"}),(0,a.jsx)("button",{onClick:r,className:"text-[var(--rv-white-dark)] hover:text-[var(--rv-white)] transition",children:(0,a.jsx)(m.A,{size:20})})]}),(0,a.jsxs)("form",{onSubmit:y,className:"p-6 space-y-5 ",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block mb-3 font-semibold text-[var(--rv-text)] text-center",children:"How was your experience?"}),(0,a.jsx)("div",{className:"flex flex-col justify-center gap-3",children:[{label:"Bad",value:"bad"},{label:"Good",value:"good"},{label:"Excellent",value:"excellent"}].map(e=>(0,a.jsx)("button",{type:"button",onClick:()=>{i({...l,experience:e.value}),(0,x.m_)(g,"experience")},className:"px-5 py-2 rounded-full text-sm font-medium transition-all duration-300 border\n ".concat(l.experience===e.value?"bg-[var(--rv-primary)] border-[var(--rv-primary)] text-white shadow-md shadow-[var(--rv-primary)]/30":"bg-gray-50 text-gray-600 border-gray-200 hover:border-[var(--rv-primary)] hover:text-[var(--rv-primary)]"),children:e.label},e.value))}),(0,a.jsx)(v.A,{message:f.experience,className:"text-center"})]}),(0,a.jsxs)("div",{className:"text-center pt-2",children:[(0,a.jsx)("label",{className:"block mb-3 font-semibold text-[var(--rv-text)]",children:"Rate your overall experience"}),(0,a.jsx)("div",{className:"flex justify-center gap-2",children:[1,2,3,4,5].map(e=>(0,a.jsx)(c.P.button,{type:"button",whileHover:{scale:1.1},whileTap:{scale:.9},onClick:()=>{i({...l,rating:e}),(0,x.m_)(g,"rating")},className:"relative p-1 focus:outline-none",children:(0,a.jsx)(u,{size:32,className:"transition-colors duration-200 ".concat(l.rating>=e?"fill-amber-400 stroke-amber-500":"fill-gray-100 stroke-gray-300")})},e))}),(0,a.jsx)(v.A,{message:f.rating,className:"text-center"})]}),(0,a.jsxs)("div",{className:"pt-2",children:[(0,a.jsx)("label",{className:"block mb-2 font-semibold text-[var(--rv-text)]",children:"What did you like most?"}),(0,a.jsx)("textarea",{rows:"3",value:l.likedThings,placeholder:"Tell us something that made your experience special...",onChange:e=>i({...l,likedThings:e.target.value}),className:"w-full bg-gray-50 border border-gray-200 rounded-xl p-4 text-sm resize-none focus:outline-none focus:ring-2 focus:ring-[var(--rv-primary)] focus:border-transparent transition-all placeholder-gray-400"})]}),(0,a.jsx)("div",{className:"pt-2",children:(0,a.jsx)(d.A,{type:"submit",disabled:b,text:b?"Submitting...":"Submit Feedback",className:"w-full justify-center bg-gradient-to-r from-[var(--rv-primary)] to-[var(--rv-secondary-dark)] text-white rounded-xl py-3 font-semibold shadow-lg hover:shadow-xl transition-all",showArrow:!1})}),h&&(0,a.jsx)("p",{className:"text-center text-sm font-medium ".concat(h.toLowerCase().includes("success")||h.toLowerCase().includes("submitted")?"text-green-600":"text-red-500"),children:h})]})]})})});return"undefined"!=typeof document?(0,n.createPortal)(N,document.body):null}function p(e){let{isDark:r=!1,isGrouped:t=!1}
1=e,[l,n]=(0,s.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{onClick:()=>n(!0),className:t?"group relative h-12 w-12 shrink-0 hover:w-[150px] transition-[width] duration-300 ease-in-out cursor-pointer":"group fixed top-[calc(50%+56px)] right-0 -translate-y-1/2 h-12 w-12 hover:w-[150px] transition-[width] duration-300 ease-in-out cursor-pointer z-40",children:[(0,a.jsx)("div",{className:"absolute right-6 left-0 top-0 bottom-0 bg-[var(--rv-bg-surface)] border border-[var(--rv-border)] border-r-0 rounded-l-full shadow-md opacity-0 group-hover:opacity-100 transition-opacity duration-300 -z-10"}),(0,a.jsx)("span",{className:"absolute right-12 pr-2 pl-4 top-1/2 -translate-y-1/2 font-semibold text-[var(--rv-primary)] whitespace-nowrap opacity-0 group-hover:opacity-100 transition-opacity duration-300 pointer-events-none",children:"Feedback"}),(0,a.jsx)("div",{className:"absolute right-0 w-12 h-12 flex items-center justify-center bg-pink-500 dark:bg-[var(--rv-primary)] rounded-full text-[var(--rv-white)] z-20 shadow-lg group-hover:scale-105 transition-transform duration-300",children:(0,a.jsx)(i,{size:20})})]}),l&&(0,a.jsx)(h,{onClose:()=>n(!1),isDark:r})]})}},43434:(e,r,t)=>{"use strict";t.d(r,{default:()=>n});var a=t(95155),s=t(12115),l=t(16485),i=t(10740);function n(e){let{isDark:r=!1,isGrouped:t=!1}=e,[n,o]=(0,s.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{onClick:()=>o(!0),className:t?"group relative h-12 w-12 shrink-0 hover:w-[180px] transition-[width] duration-300 ease-in-out cursor-pointer":"group fixed top-[calc(70%-75px)] right-0 -translate-y-1/2 h-12 w-12 hover:w-[180px] transition-[width] duration-300 ease-in-out cursor-pointer z-40",children:[(0,a.jsx)("div",{className:"absolute right-6 left-0 top-0 bottom-0 bg-[var(--rv-bg-surface)] border border-[var(--rv-border)] border-r-0 rounded-l-full shadow-md opacity-0 group-hover:opacity-100 transition-opacity duration-300 -z-10"}),(0,a.jsx)("span",{className:"absolute right-12 pr-2 pl-4 top-1/2 -translate-y-1/2 font-semibold text-[var(--rv-primary)] whitespace-nowrap opacity-0 group-hover:opacity-100 transition-opacity duration-300 pointer-events-none",children:"Book Meeting"}),(0,a.jsx)("div",{className:"absolute right-0 w-12 h-12 flex items-center justify-center bg-[#4d194d] dark:bg-[var(--rv-primary)] rounded-full text-[var(--rv-white)] z-20 shadow-lg group-hover:scale-105 transition-transform duration-300",children:(0,a.jsx)(l.A,{size:20})})]}),n&&(0,a.jsx)(i.A,{onClose:()=>o(!1),isDark:r})]})}},50887:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>g});var a=t(95155),s=t(12115),l=t(47650),i=t(28122),n=t(26497),o=t(18999),c=t(70898),d=t(15239),m=t(10630),u=t(74744),v=t(41855);let x=["theme1","theme2","theme3","theme4","theme5"],h=["Inter","Montserrat","Roboto","Poppins","Open Sans","Raleway","Playfair Display","Nunito","Sora","Outfit","Lato","Roboto Condensed","Source Sans Pro","Oswald","Roboto Mono","PT Sans","Merriweather","Ubuntu","Roboto Slab","Lora","PT Serif","Muli","Noto Sans","Titillium Web","PT Sans Narrow","Arimo","Fira Sans","Libre Franklin","Oxygen","Bitter","Prompt","Quicksand","Dosis","Josefin Sans","Inconsolata","Anton","Crimson Text","Fjalla One","Work Sans","Hind","Cabin","Nanum Gothic","Nunito Sans","Karla","Arvo","Pacifico","Questrial","Asap","Overpass","Catamaran","Bebas Neue","Shadows Into Light","Abel","Dancing Script","Exo 2","Kanit","Varela Round","Comfortaa","Questrial","Caveat","Satisfy","Lobster","Righteous","Permanent Marker","Amatic SC","Courgette","Kaushan Script","Abril Fatface","Fredoka One","Patua One","Luckiest Guy","Titan One","Passion One","Francois One","Bungee","Alfa Slab One","Creepster","Sigmar One","Special Elite","Luckiest Guy","Lobster Two","Great Vibes","Sacramento","Cookie","Yellowtail","Teko","Rajdhani","Saira","Rubik","Mukta","Heebo"],p=["--rv-primary","--rv-secondary","--rv-primary-light","--rv-secondary-light","--rv-primary-dark","--rv-secondary-dark"],f={"--rv-primary":"Primary Color","--rv-primary-light":"Primary Light Color","--rv-primary-dark":"Primary Dark Color","--rv-secondary":"Secondary Color","--rv-secondary-light":"Secondary Light Color","--rv-secondary-dark":"Secondary Dark Color"},g=e=>{let{isGrouped:r=!1}
1=e,[t,g]=(0,s.useState)(!1),[b,j]=(0,s.useState)({}),[y,N]=(0,s.useState)({}),[w,k]=(0,s.useState)(null),[C,S]=(0,s.useState)(!1),[A,P]=(0,s.useState)(""),[E,M]=(0,s.useState)(""),z=(0,s.useRef)(null),L=()=>{let e=localStorage.getItem("custom-logo");k("string"==typeof e&&e.trim()?e:null)},T=e=>{if(!e)return;let r="custom-google-font",t=document.getElementById(r);t||((t=document.createElement("link")).id=r,t.rel="stylesheet",document.head.appendChild(t));let a="https://fonts.googleapis.com/css2?family=".concat(e.replace(/ /g,"+"),":wght@400;500;600;700&display=swap");t.href=a,document.documentElement.style.setProperty("--rv-body-font",'"'.concat(e,'", sans-serif')),localStorage.setItem("custom-font",e),P(e)};(0,s.useEffect)(()=>{if(t){L();let e=localStorage.getItem("custom-font");e&&T(e)}},[t]),(0,s.useEffect)(()=>{if(!t)return;let e=getComputedStyle(document.documentElement),r={},a={};p.forEach(t=>{let s=e.getPropertyValue(t).trim()||"#000000",l=t.replace("--rv-","--rv-bg-"),i=e.getPropertyValue(l).trim()||"#000000";r[t]=s,r[l]=i,Object.keys(y).length||(a[t]=s,a[l]=i)}),j(r),Object.keys(y).length||N(a)},[t]),(0,s.useEffect)(()=>{L();let e=localStorage.getItem("custom-font");e&&T(e)},[]);let F=(e,r)=>{let t=e.replace("--rv-","--rv-bg-");j(a=>({...a,[e]:r,[t]:r})),/^#([0-9A-Fa-f]{3}){1,2}$/.test(r)&&(document.documentElement.style.setProperty(e,r),document.documentElement.style.setProperty(t,r))},I=async e=>{if(e){if(e.size>1048576)return void u.oR.error("Logo size should be less than 1MB");S(!0);try{let r=await new Promise((r,t)=>{let a=new FileReader;a.onload=()=>r(a.result),a.onerror=()=>t(Error("Failed to read logo file")),a.readAsDataURL(e)});if("string"!=typeof r||!r.startsWith("data:image/"))throw Error("Invalid image file");localStorage.setItem("custom-logo",r),k(r),window.dispatchEvent(new Event("logo-updated")),u.oR.success("Logo applied for this browser")}catch(e){console.error("Logo upload failed:",e),u.oR.error(e.message||"Failed to upload logo")}finally{S(!1),z.current&&(z.current.value="")}}};(0,s.useEffect)(()=>(document.body.style.overflow=t?"hidden":"auto",()=>document.body.style.overflow="auto"),[t]);let{theme:D,changeTheme:_}=(0,v.D)();(0,s.useEffect)(()=>{if(!t)return;let e=setTimeout(()=>{let e=getComputedStyle(document.documentElement),r={};p.forEach(t=>{let a=e.getPropertyValue(t).trim()||"#000000",s=t.replace("--rv-","--rv-bg-"),l=e.getPropertyValue(s).trim()||"#000000";r[t]=a,r[s]=l}),j(r)},500);return()=>clearTimeout(e)},[D,t]);let R=async e=>{try{await _(e),u.oR.success("Theme changed to ".concat(e,"!"))}catch(e){u.oR.error("Failed to change theme")}},O=(0,a.jsx)(n.N,{children:t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.P.div,{initial:{opacity:0}
1,animate:{opacity:.4},exit:{opacity:0},className:"fixed inset-0 bg-[var(--rv-bg-black-light)] z-40 backdrop-blur-xl",onClick:()=>g(!1)}),(0,a.jsxs)(o.P.div,{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{duration:.4},className:"fixed inset-y-0 right-0 z-50 flex h-dvh w-full flex-col gap-5 border-l border-[var(--rv-border)] bg-[var(--rv-bg-surface)] p-4 text-[var(--rv-text)] shadow-2xl md:w-96",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("h2",{className:"text-xl font-bold",children:"Theme Settings"}),(0,a.jsx)(c.QCr,{onClick:()=>g(!1),className:"cursor-pointer"})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-5 h-full overflow-y-auto",children:[(0,a.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:p.map(e=>(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,a.jsx)("label",{className:"text-sm font-medium text-[var(--rv-text-muted)]",children:f[e]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)("input",{type:"color",value:b[e]||"#000000",onChange:r=>F(e,r.target.value),className:"w-14 h-10"}),(0,a.jsx)("input",{type:"text",value:b[e]||"#000000",onChange:r=>{F(e,r.target.value)},className:"w-full h-10 px-3 border rounded text-sm font-mono bg-[var(--rv-bg-page)] text-[var(--rv-text)] border-[var(--rv-border)]"})]})]},e))}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"text-sm font-medium mb-2 block text-[var(--rv-text-muted)]",children:"Upload Logo"}),(0,a.jsx)("div",{className:"h-28 border-2 border-dashed rounded flex items-center justify-center cursor-pointer relative border-[var(--rv-border)]",onClick:()=>{var e;return!C&&(null==(e=z.current)?void 0:e.click())},children:w?(0,a.jsx)(d.default,{src:w,alt:"Logo Preview",fill:!0,className:"object-contain p-2",unoptimized:!0}):(0,a.jsxs)("div",{className:"text-[var(--rv-text-muted)] flex flex-col items-center",children:[(0,a.jsx)(m.EK7,{size:24}),(0,a.jsx)("span",{children:C?"Uploading...":"Add Logo"})]})}),(0,a.jsx)("input",{ref:z,type:"file",accept:"image/*",className:"hidden",onChange:e=>{var r;return I(null==(r=e.target.files)?void 0:r[0])}}),(0,a.jsx)("button",{onClick:()=>{localStorage.removeItem("custom-logo"),localStorage.removeItem("custom-font"),k(null),P(""),window.dispatchEvent(new Event("logo-updated")),document.documentElement.style.removeProperty("--rv-body-font");let e=document.getElementById("custom-google-font");e&&e.remove(),Object.entries(y).forEach(e=>{let[r,t]=e;document.documentElement.style.setProperty(r,t)}),j(y),z.current&&(z.current.value=""),u.oR.success("Theme and logo reset successfully")},className:"mt-4 w-full py-2 rounded-full font-bold border border-[var(--rv-border)] hover:bg-[var(--rv-primary)] hover:text-[var(--rv-black)] transition",children:"Reset to Default Theme"})]}),(0,a.jsx)("div",{onClick:()=>g(!1),className:"absolute top-1/2 -translate-y-1/2 right-full w-14 h-14 bg-[var(--rv-bg-surface)] border border-[var(--rv-border)] rounded-l-2xl flex items-center justify-center cursor-pointer",children:(0,a.jsx)(i.VSk,{size:28,className:"text-[var(--rv-text)] animate-spin"})}),(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,a.jsx)("h6",{className:"font-semibold text-[var(--rv-text)]",children:"Theme Selector"}),(0,a.jsx)("div",{className:"relative w-full",children:(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:x.map(e=>{let r=D===e;return(0,a.jsx)("div",{className:"rounded-lg transition-colors ".concat(r?"bg-[var(--rv-primary)]":"bg-[var(--rv-secondary)]"),children:(0,a.jsx)("button",{onClick:()=>R(e),className:"\n w-full origin-top-left rounded-lg border bg-[var(--rv-bg-surface)] py-2\n font-medium transition-all md:text-base\n ".concat(r?"-translate-y-1 border-[var(--rv-primary)] text-[var(--rv-primary)]":"border-[var(--rv-border)] text-[var(--rv-text-muted)] hover:-rotate-2","\n "),children:e.toUpperCase()})},e)})})})})]})}),(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)("label",{className:"text-sm font-medium text-[var(--rv-text-muted)]",children:"Typography (Google Fonts)"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)("select",{value:A,onChange:e=>T(e.target.value),className:"w-full px-4 py-2 text-sm border rounded-lg bg-[var(--rv-bg-page)] text-[var(--rv-text)] border-[var(--rv-border)] focus:outline-none focus:ring-2 focus:ring-[var(--rv-primary)] appearance-none cursor-pointer",style:{fontFamily:A||"inherit"},children:[(0,a.jsx)("option",{value:"",children:"Select a font"}),h.map(e=>(0,a.jsx)("option",{value:e,style:{fontFamily:e},children:e},e))]}),(0,a.jsx)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none opacity-50",children:(0,a.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"})})})]})]})]})]})]})});return(0,a.jsxs)(a.Fragment,{children:[!t&&(0,a.jsxs)("div",{onClick:()=>g(!0),className:r?"group relative h-12 w-12 shrink-0 hover:w-[120px] transition-[width] duration-300 ease-in-out cursor-pointer":"group fixed top-1/2 right-0 -translate-y-1/2 h-12 w-12 hover:w-[120px] transition-[width] duration-300 ease-in-out cursor-pointer z-20",children:[(0,a.jsx)("div",{className:"absolute right-6 left-0 top-0 bottom-0 bg-[var(--rv-bg-surface)] border border-[var(--rv-border)] border-r-0 rounded-l-full shadow-md opacity-0 group-hover:opacity-100 transition-opacity duration-300 -z-10"}),(0,a.jsx)("span",{className:"absolute right-12 pr-1 pl-4 top-1/2 -translate-y-1/2 font-bold text-[var(--rv-text)] whitespace-nowrap opacity-0 group-hover:opacity-100 transition-opacity duration-300 tracking-wide uppercase pointer-events-none",children:"Theme"}),(0,a.jsx)("div",{className:"absolute right-0 w-12 h-12 flex items-center justify-center bg-[var(--rv-bg-surface)] rounded-full text-[var(--rv-text)] z-10 shadow-lg border border-[var(--rv-border)] group-hover:scale-105 transition-transform duration-300",children:(0,a.jsx)(i.VSk,{size:22,className:"opacity-80"})})]}),"undefined"!=typeof document?(0,l.createPortal)(O,document.body):null]})}},52092:(e,r,t)=>{"use strict";t.d(r,{A:()=>l});var a=t(12115);let s="/logo.png";function l(){let[e,r]=(0,a.useState)(s);return(0,a.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/logo"),t=await e.json();(null==t?void 0:t.logo)?r(t.logo):r(s)}catch(e){console.error("Error fetching logo:",e),r(s)}})()},[]),e}},54019:(e,r,t)=>{"use strict";t.d(r,{default:()=>n});var a=t(95155),s=t(12115),l=t(15239),i=t(65229);let n=e=>{var r,t,n,o;let{popups:c}
1=e,[d,m]=(0,s.useState)(!1),[u,v]=(0,s.useState)(null);return((0,s.useEffect)(()=>{c&&c.length>0&&(sessionStorage.getItem("popupShown")||(v(c[0]),m(!0)))},[c]),d&&u)?(0,a.jsx)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center bg-black/60 backdrop-blur-sm p-4 transition-all animate-in fade-in duration-300",children:(0,a.jsxs)("div",{className:"relative bg-white rounded-2xl shadow-2xl max-w-2xl w-full overflow-hidden animate-in zoom-in duration-300",children:[(0,a.jsx)("button",{onClick:()=>{m(!1),sessionStorage.setItem("popupShown","true")},className:"absolute top-4 right-4 z-10 p-2 bg-black/20 hover:bg-black/40 rounded-full text-white transition-colors","aria-label":"Close popup",children:(0,a.jsx)(i.A,{size:24})}),(null==(r=u.image)?void 0:r.url)&&(0,a.jsx)("div",{className:"relative w-full aspect-[4/3] md:aspect-video bg-gray-100",children:(0,a.jsx)(l.default,{unoptimized:!0,src:(null==u||null==(t=u.image)?void 0:t.url)||"/logo.png",alt:u.title||"Special Offer",fill:!0,className:"object-contain",priority:!0})}),u.title&&!(null==(n=u.image)?void 0:n.url)&&(0,a.jsx)("div",{className:"p-10 text-center",children:(0,a.jsx)("h2",{className:"text-3xl font-bold bg-gradient-to-r from-[var(--rv-primary)] to-[var(--rv-secondary)] bg-clip-text text-transparent",children:u.title})}),u.title&&(null==(o=u.image)?void 0:o.url)&&(0,a.jsx)("div",{className:"p-4 bg-[var(--rv-bg-surface)] text-center border-t border-[var(--rv-border)]",children:(0,a.jsx)("p",{className:"font-semibold text-lg text-[var(--rv-text)]",children:u.title})})]})}):null}},59405:(e,r,t)=>{"use strict";t.d(r,{default:()=>l});var a=t(12115),s=t(20063);function l(){let e=(0,s.usePathname)();return(0,a.useEffect)(()=>{let e=setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},100);return()=>clearTimeout(e)},[e]),null}},64988:(e,r,t)=>{"use strict";t.d(r,{default:()=>C});var a=t(95155),s=t(12115),l=t(41855),i=t(15239),n=t(52619),o=t.n(n),c=t(20063),d=t(18999),m=t(26497),u=t(28122),v=t(21232),x=t(52092),h=t(32183),p=t(10740),f=t(13590);function g(e){let{sitedata:r,services:t,isDark:s=!1,isGrouped:l=!1,openOverride:i=!1,onOpenChange:n,hideLauncher:o=!1}=e;return(0,a.jsx)(f.default,{sitedata:r,services:t,isDark:s,isGrouped:l,openOverride:i,onOpenChange:n,hideLauncher:o})}let b=e=>{let{services:r,siteData:t,tools:l=[],showNavBlogs:n=!1,mediaItems:f=[],pages:b=[],addonItems:j=[],showSearch:y=!0,hasTicker:N=!1,loginLink:w="/login",signupLink:k="/registration",loginTarget:C,loginRel:S,signupTarget:A,signupRel:P,showLoginButton:E=!0,showSignupButton:M=!0}=e,z=(0,c.usePathname)(),L=(0,c.useSearchParams)(),[T,F]=(0,s.useState)(!1),[I,D]=(0,s.useState)(44*!!N),[_,R]=(0,s.use
1State)(!1),[O,U]=(0,s.useState)(null),W=(0,s.useRef)(null),B=(0,x.A)(),[K,V]=(0,s.useState)(!1),[H,G]=(0,s.useState)(!1),[Y,Q]=(0,s.useState)(!1),q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!e)return"/";let r=e.split("?")[0].split("#")[0]||"/";return"/"!==r&&r.endsWith("/")?r.slice(0,-1):r},$=q(z),J=e=>{let[r,t]=e.split("?"),a=q(r),s=q(z);if(t){let e=L.toString();return s===a&&e===t}return"/"===a?"/"===$:$===a||$.startsWith("".concat(a,"/"))},X=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.some(e=>{let t=(null==e?void 0:e.link)||"/";return J(r?"/services/".concat(t):"".concat(t))})},Z=e=>"".concat(e?"text-[var(--rv-white)]":"hover:text-[var(--rv-primary)]"," transition"),ee=J("/"),er=J("/about-us"),et=J("/contact-us"),ea=$.startsWith("/services")||X(r,!0),es=X(l),el=J("/blogs"),ei=X(f),en=X(j),eo=j.some(e=>(null==e?void 0:e.action)==="searchFunds"),ec=j.some(e=>(null==e?void 0:e.action)==="whatsappChatbot");(0,s.useEffect)(()=>{let e=()=>{let e=window.scrollY||0;F(e>100),D(N?Math.max(44-e,0):0)};return e(),window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[N]),(0,s.useEffect)(()=>{let e=e=>{W.current&&!W.current.contains(e.target)&&(R(!1),U(null))};return _?(document.addEventListener("mousedown",e),document.body.style.overflow="hidden"):(document.removeEventListener("mousedown",e),document.body.style.overflow="auto"),()=>{document.removeEventListener("mousedown",e),document.body.style.overflow="auto"}},[_]);let ed=function(e,r){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(null==r?void 0:r.action)==="searchFunds"?(e.preventDefault(),V(!0)):(null==r?void 0:r.action)==="bookMeeting"?(e.preventDefault(),G(!0)):(null==r?void 0:r.action)==="whatsappChatbot"&&(e.preventDefault(),Q(!0)),t&&(R(!1),U(null))};return(0,a.jsxs)("header",{className:"w-full z-50 ".concat(T?"fixed bg-[var(--rv-bg-secondary)]":"absolute"," left-0 transition-all duration-300"),style:T?{top:"".concat(I,"px")}:void 0,children:[(0,a.jsx)(d.P.div,{initial:!1,transition:{duration:.25,ease:"easeOut"},className:"max-w-7xl mx-auto px-4 py-3 text-[var(--rv-primary)] transition-colors duration-300 ".concat(T?"bg-[var(--rv-bg-secondary)]":""),children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)(o(),{href:"/",className:"flex items-center gap-2",children:(0,a.jsx)(i.default,{unoptimized:!0,src:B,alt:"Logo",width:120,height:120,className:"max-w-[180px] h-auto object-contain"})}),(0,a.jsxs)("nav",{className:"hidden lg:flex items-center gap-5 xl:gap-8 font-medium",children:[(0,a.jsx)(o(),{href:"/",className:"text-[var(--rv-white)] ".concat(Z(ee)),children:"Home"}),(0,a.jsx)(o(),{href:"/about-us",className:"text-[var(--rv-white)] ".concat(Z(er)),children:"About Us"}),(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 text-[var(--rv-white)] ".concat(Z(ea)),children:["Services"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 z-50 top-full hidden group-hover:block pt-2",children:(0,a.jsx)("div",{className:"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] rounded-lg shadow-lg w-52 p-2",children:r.map((e,r)=>(0,a.jsx)(o(),{href:"/services/".concat(e.link),className:"block px-3 py-2 rounded-md transition ".concat(J("/services/".concat(e.link))?"bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]":"hover:bg-[var(--rv-bg-secondary)]"),children:e.name},r))})})]}),(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 text-[var(--rv-white)] ".concat(Z(es)),children:["Tools"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 z-50 top-full hidden group-hover:block pt-2",children:(0,a.jsx)("div",{className:"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] rounded-lg shadow-lg w-52 p-2",children:l.map((e,r)=>(0,a.jsx)(o(),{href:"".concat(e.link),className:"block px-3 py-2 rounded-md transition ".concat(J("".concat(e.link))?"bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]":"hover:bg-[var(--rv-bg-secondary)]"),children:e.name},r))})})]}),n&&(0,a.jsx)(o(),{href:"/blogs",className:"text-[var(--rv-white)] ".concat(Z(el)),children:"Blogs"}),f.length>0&&(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 text-[var(--rv-white)] ".concat(Z(ei)),children:["Publications"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 z-50 top-full hidden group-hover:block pt-2",children:(0,a.jsx)("div",{className:"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] rounded-lg shadow-lg w-52 p-2",children:f.map((e,r)=>e.download?(0,a.jsx)("a",{href:e.link,download:e.download,className:"block px-3 py-2 rounded-md transition ".concat(J("".concat(e.link))?"bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]":"hover:bg-[var(--rv-bg-secondary)]"),children:e.name},r):(0,a.jsx)(o(),{href:"".concat(e.link),className:"block px-3 py-2 rounded-md transition ".concat(J("".concat(e.link))?"bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]":"hover:bg-[var(--rv-bg-secondary)]"),children:e.name},r))})})]}),j.length>0&&(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 text-[var(--rv-white)] ".concat(Z(en)),children:["Addons"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 z-50 top-full hidden group-hover:block pt-2",children:(0,a.jsx)("div",{className:"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] rounded-lg shadow-lg w-52 p-2",children:j.map((e,r)=>(0,a.jsx)(o(),{href:"".concat(e.link),onClick:r=>ed(r,e),className:"block px-3 py-2 rounded-md transition ".concat(J("".concat(e.link))?"bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]":"hover:bg-[var(--rv-bg-secondary)]"),children:e.name},r))})})]}),(0,a.jsx)(o(),{href:"/contact-us",className:"text-[var(--rv-white)] ".concat(Z(et)),children:"Contact Us"}),y&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(u.CKj,{className:"cursor-pointer text-xl hover:text-[var(--rv-primary)]",onClick:()=>V(!0)})})]}),(E||M)&&(0,a.jsxs)("div",{className:"hidden lg:flex gap-3 items-center flex-wrap",children:[E&&(0,a.jsx)(v.A,{link:w,target:C,rel:S,text:"Log in",variant:"outline",className:"bg-[var(--rv-bg-primary)] hover:bg-[var(--rv-bg-secondary)] px-6 text-[var(--rv-white)]"}),M&&(0,a.jsx)(v.A,{link:k,target:A,rel:P,text:"Sign Up",className:"bg-[var(--rv-bg-primary)] hover:bg-[var(--rv-bg-secondary)] px-6 text-[var(--rv-white)]"})]}),(0,a.jsxs)("div",{className:"lg:hidden flex gap-3 items-center flex-wrap",children:[y&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(u.CKj,{className:"cursor-pointer text-xl hover:text-[var(--rv-primary)] text-[var(--rv-primary)]",onClick:()=>V(!0)})}),E&&(0,a.jsx)(o(),{href:w,target:C,rel:S,children:(0,a.jsx)(u.JXP,{className:"cursor-pointer text-2xl hover:text-[var(--rv-primary)] text-[var(--rv-primary)]"})}),(0,a.jsx)("button",{onClick:()=>R(!0),className:"text-[var(--rv-primary)] ",children:(0,a.jsx)("svg",{className:"w-7 h-7",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h16"})})})]}),(0,a.jsx)(m.N,{children:_&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.P.div,{initial:{opacity:0}
1,animate:{opacity:.5},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 bg-[var(--rv-bg-black)] h-screen w-full"}),(0,a.jsxs)(d.P.div,{ref:W,initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{duration:.3,ease:"easeInOut"},className:"fixed top-0 right-0 w-72 h-screen bg-[var(--rv-bg-secondary-dark)] shadow-2xl z-50 text-[var(--rv-white)] font-semibold flex flex-col",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center p-5 border-b border-[var(--rv-border)]",children:[(0,a.jsx)(i.default,{unoptimized:!0,src:B,alt:"Logo",width:120,height:60,className:"max-w-[180px] h-auto object-contain filter brightness-0 invert"}),(0,a.jsx)("button",{onClick:()=>R(!1),children:(0,a.jsx)(u.yGN,{size:28})})]}),(0,a.jsxs)("nav",{className:"flex flex-col p-6 space-y-4 ",children:[(0,a.jsx)(o(),{href:"/",onClick:()=>R(!1),className:Z(ee),children:"Home"}),(0,a.jsx)(o(),{href:"/about-us",onClick:()=>R(!1),className:Z(er),children:"About Us"}),n&&(0,a.jsx)(o(),{href:"/blogs",onClick:()=>R(!1),className:Z(el),children:"Blogs"}),[{id:"services",label:"Services",items:r,isService:!0},{id:"tools",label:"Tools",items:l},...f.length>0?[{id:"media",label:"Publications",items:f}]:[],...j.length>0?[{id:"addons",label:"Addons",items:j}]:[]].map(e=>(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{onClick:()=>U(r=>r===e.id?null:e.id),className:"flex items-center justify-between w-full ".concat(Z("services"===e.id?ea:"tools"===e.id?es:"media"===e.id?ei:en)),children:[(0,a.jsx)("span",{children:e.label}),(0,a.jsx)(d.P.div,{animate:{rotate:180*(O===e.id)},transition:{duration:.3},children:(0,a.jsx)(u.fK4,{})})]}),(0,a.jsx)(m.N,{children:O===e.id&&(0,a.jsx)(d.P.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:"easeInOut"},className:"ml-3 mt-2 flex flex-col space-y-2 overflow-hidden",children:e.items.map((r,t)=>(0,a.jsx)(o(),{href:e.isService?"/services/".concat(r.link):r.link,onClick:t=>{if("addons"===e.id)return void ed(t,r,!0);R(!1)},className:Z(J(e.isService?"/services/".concat(r.link):r.link)),children:r.name},t))})})]},e.id)),(0,a.jsx)(o(),{href:"/contact-us",onClick:()=>R(!1),className:Z(et),children:"Contact Us"}),(E||M)&&(0,a.jsxs)("div",{className:"pt-4 mt-2 flex flex-col gap-3 border-t border-[var(--rv-border)]",children:[E&&(0,a.jsx)(v.A,{link:w,target:C,rel:S,onClick:()=>R(!1),text:"Login",showArrow:!1,variant:"outline"}),M&&(0,a.jsx)(v.A,{link:k,target:A,rel:P,onClick:()=>R(!1),text:"Sign Up",showArrow:!1,className:"w-full justify-center bg-[var(--rv-bg-primary)] hover:bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]"})]})]})]})]})})]})}),y||eo?(0,a.jsx)(h.A,{isOpen:K,onClose:()=>V(!1)}):null,H?(0,a.jsx)(p.A,{onClose:()=>G(!1)}):null,ec?(0,a.jsx)(g,{sitedata:t,services:r,openOverride:Y,onOpenChange:Q,hideLauncher:!0}):null]})},j=[{name:"Calculators",link:"/tools/calculators"},{name:"Financial Health",link:"/tools/financial-health"},{name:"Risk Profile",link:"/tools/risk-profile"},{name:"Useful Links",link:"/tools/useful-links"},{name:"Pay Premium Online",link:"/tools/pay-premium-online"},{name:"Fund Performance",link:"/performance/fund-performance"},{name:"News",link:"/news"},{name:"Compare Funds",link:"/tools/compare-funds"},{name:"Top Funds",link:"/tools/top-funds"},{name:"Upcoming NFO",link:"/tools/nfo"}],y=[{name:"Blogs",link:"/blogs"},{name:"Gallery",link:"/gallery?src=gallery"},{name:"Videos",link:"/gallery?src=video"},{name:"YouTube Videos",link:"/youtube-videos"},{name:"News",link:"/news"},{name:"Feedback",link:"/feedback"}];var N=t(80816);let w=["Mutual Funds","Alternative Investment Funds","Insurance","Estate Planning","NRI Services","Fixed Deposits","Loans"],k={theme1:b,theme2:e=>{let{services:r,siteData:t,tools:l=[],showNavBlogs:n=!1,mediaItems:f=[],addonItems:b=[],showSearch:j=!0,hasTicker:y=!1,loginLink:N="/login",signupLink:w="/registration",loginTarget:k,loginRel:C,signupTarget:S,signupRel:A,showLoginButton:P=!0,showSignupButton:E=!0}=e,M=(0,c.usePathname)(),z=(0,c.useSearchParams)(),[L,T]=(0,s.useState)(!1),[F,I]=(0,s.use
1State)(44*!!y),[D,_]=(0,s.useState)(!1),[R,O]=(0,s.useState)(null),U=(0,s.useRef)(null),W=(0,x.A)(),[B,K]=(0,s.useState)(!1),[V,H]=(0,s.useState)(!1),[G,Y]=(0,s.useState)(!1),Q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!e)return"/";let r=e.split("?")[0].split("#")[0]||"/";return"/"!==r&&r.endsWith("/")?r.slice(0,-1):r},q=Q(M),$=e=>{let[r,t]=e.split("?"),a=Q(r),s=Q(M);if(t){let e=z.toString();return s===a&&e===t}return"/"===a?"/"===q:q===a||q.startsWith("".concat(a,"/"))},J=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.some(e=>{let t=(null==e?void 0:e.link)||"/";return $(r?"/services/".concat(t):"".concat(t))})},X=e=>"".concat(e?"text-[var(--rv-primary)]":"hover:text-[var(--rv-primary)]"," transition"),Z=$("/"),ee=$("/about-us"),er=$("/contact-us"),et=q.startsWith("/services")||J(r,!0),ea=J(l),es=$("/blogs"),el=J(f),ei=J(b),en=b.some(e=>(null==e?void 0:e.action)==="searchFunds"),eo=b.some(e=>(null==e?void 0:e.action)==="whatsappChatbot"),ec=!!("string"==typeof N&&N.startsWith("/"))&&$(N),ed=!!("string"==typeof w&&w.startsWith("/"))&&$(w);(0,s.useEffect)(()=>{let e=()=>{let e=window.scrollY||0;T(e>30),I(y?Math.max(44-e,0):0)};return e(),window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[y]),(0,s.useEffect)(()=>{let e=e=>{U.current&&!U.current.contains(e.target)&&(_(!1),O(null))};return D?(document.addEventListener("mousedown",e),document.body.style.overflow="hidden"):(document.removeEventListener("mousedown",e),document.body.style.overflow="auto"),()=>{document.removeEventListener("mousedown",e),document.body.style.overflow="auto"}},[D]);let em=function(e,r){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(null==r?void 0:r.action)==="searchFunds"?(e.preventDefault(),K(!0)):(null==r?void 0:r.action)==="bookMeeting"?(e.preventDefault(),H(!0)):(null==r?void 0:r.action)==="whatsappChatbot"&&(e.preventDefault(),Y(!0)),t&&(_(!1),O(null))};return(0,a.jsxs)("header",{className:"sticky top-0 left-0 ".concat(L?"bg-trasparent":"bg-[var(--rv-bg-black)]"," z-50 w-full px-4 transition-all duration-300"),style:{top:"".concat(F,"px")},children:[(0,a.jsxs)("div",{className:"mx-auto max-full rounded-2xl bg-[var(--rv-bg-page)] px-4 py-2 text-[var(--rv-white)] lg:px-8 ".concat(L?"backdrop-blur-sm":""),children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,a.jsx)(o(),{href:"/",className:"flex shrink-0 items-center gap-2",children:(0,a.jsx)(i.default,{unoptimized:!0,src:W,alt:"Logo",width:100,height:100,className:"h-auto max-w-[180px] object-contain"})}),(0,a.jsxs)("nav",{className:"hidden lg:flex items-center gap-5 xl:gap-8 font-medium",children:[(0,a.jsx)(o(),{className:X(Z),href:"/",children:"Home"}),(0,a.jsx)(o(),{className:X(ee),href:"/about-us",children:"About Us"}),(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 ".concat(X(et)),children:["Services"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 z-50 top-full hidden group-hover:block pt-2",children:(0,a.jsx)("div",{className:"w-52 rounded-lg border border-[var(--rv-border)] bg-[var(--rv-bg-secondary-dark)] p-2 text-[var(--rv-white)] shadow-lg",children:r.map((e,r)=>(0,a.jsx)(o(),{href:"/services/".concat(e.link),className:"block rounded-md px-3 py-2 transition ".concat($("/services/".concat(e.link))?"bg-[var(--rv-bg-secondary)] text-[var(--rv-primary)]":"hover:bg-[var(--rv-bg-secondary)]"),children:e.name},r))})})]}),(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 ".concat(X(ea)),children:["Tools"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 z-50 top-full hidden group-hover:block pt-2",children:(0,a.jsx)("div",{className:"w-52 rounded-lg border border-[var(--rv-border)] bg-[var(--rv-bg-secondary-dark)] p-2 text-[var(--rv-white)] shadow-lg",children:l.map((e,r)=>(0,a.jsx)(o(),{href:"".concat(e.link),className:"block rounded-md px-3 py-2 transition ".concat($("".concat(e.link))?"bg-[var(--rv-bg-secondary)] text-[var(--rv-primary)]":"hover:bg-[var(--rv-bg-secondary)]"),children:e.name},r))})})]}),n&&(0,a.jsx)(o(),{className:X(es),href:"/blogs",children:"Blogs"}),f.length>0&&(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 ".concat(X(el)),children:["Media"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 z-50 top-full hidden group-hover:block pt-2",children:(0,a.jsx)("div",{className:"w-52 rounded-lg border border-[var(--rv-border)] bg-[var(--rv-bg-secondary-dark)] p-2 text-[var(--rv-white)] shadow-lg",children:f.map((e,r)=>e.download?(0,a.jsx)("a",{href:e.link,download:e.download,className:"block rounded-md px-3 py-2 transition ".concat($("".concat(e.link))?"bg-[var(--rv-bg-secondary)] text-[var(--rv-primary)]":"hover:bg-[var(--rv-bg-secondary)]"),children:e.name},r):(0,a.jsx)(o(),{href:"".concat(e.link),className:"block rounded-md px-3 py-2 transition ".concat($("".concat(e.link))?"bg-[var(--rv-bg-secondary)] text-[var(--rv-primary)]":"hover:bg-[var(--rv-bg-secondary)]"),children:e.name},r))})})]}),b.length>0&&(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 ".concat(X(ei)),children:["Addons"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 z-50 top-full hidden group-hover:block pt-2",children:(0,a.jsx)("div",{className:"w-52 rounded-lg border border-[var(--rv-border)] bg-[var(--rv-bg-secondary-dark)] p-2 text-[var(--rv-white)] shadow-lg",children:b.map((e,r)=>(0,a.jsx)(o(),{href:"".concat(e.link),onClick:r=>em(r,e),className:"block rounded-md px-3 py-2 transition ".concat($("".concat(e.link))?"bg-[var(--rv-bg-secondary)] text-[var(--rv-primary)]":"hover:bg-[var(--rv-bg-secondary)]"),children:e.name},r))})})]}),(0,a.jsx)(o(),{className:X(er),href:"/contact-us",children:"Contact Us"})]}),(0,a.jsxs)("div",{className:"hidden shrink-0 lg:flex items-center gap-5",children:[j&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(u.CKj,{className:"cursor-pointer text-xl hover:text-[var(--rv-primary)]",onClick:()=>K(!0)})}),P&&(0,a.jsx)(v.A,{link:N,target:k,rel:C,text:"Login",showArrow:!1,className:" rounded-full ".concat(ec?"ring-2 ring-[var(--rv-secondary-dark)] font-bold":"")}),E&&(0,a.jsx)(v.A,{link:w,target:S,rel:A,text:"Sign Up",className:"".concat(ed?"ring-2 ring-[var(--rv-secondary-dark)] font-bold":"")})]}),(0,a.jsxs)("div",{className:"lg:hidden flex gap-3 items-center flex-wrap",children:[j&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(u.CKj,{className:"cursor-pointer text-xl hover:text-[var(--rv-primary)] text-[var(--rv-primary)]",onClick:()=>K(!0)})}),P&&(0,a.jsx)(o(),{href:N,target:k,rel:C,children:(0,a.jsx)(u.JXP,{className:"cursor-pointer text-2xl hover:text-[var(--rv-primary)] text-[var(--rv-primary)]"})}),(0,a.jsx)("button",{onClick:()=>_(!0),className:"block text-[var(--rv-white)]","aria-label":"Open menu",children:(0,a.jsx)("svg",{className:"h-7 w-7",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h16"})})})]})]}),(0,a.jsx)(m.N,{children:D&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.P.div,{initial:{opacity:0}
1,animate:{opacity:.5},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 bg-[var(--rv-bg-page)] h-screen w-full"}),(0,a.jsxs)(d.P.div,{ref:U,initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{duration:.3,ease:"easeInOut"},className:"fixed top-0 right-0 w-72 h-screen bg-[var(--rv-bg-page)] shadow-2xl z-50 text-[var(--rv-white)] font-semibold flex flex-col",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center p-5 border-b border-[var(--rv-border)]",children:[(0,a.jsx)(i.default,{unoptimized:!0,src:W,alt:"Logo",width:100,height:50,className:"max-w-[180px] h-auto object-contain filter brightness-0 invert"}),(0,a.jsx)("button",{onClick:()=>_(!1),children:(0,a.jsx)(u.yGN,{size:28})})]}),(0,a.jsxs)("nav",{className:"flex flex-col space-y-3 px-6 pb-6 mt-2",children:[(0,a.jsx)(o(),{href:"/",onClick:()=>_(!1),className:X(Z),children:"Home"}),(0,a.jsx)(o(),{href:"/about-us",onClick:()=>_(!1),className:X(ee),children:"About Us"}),n&&(0,a.jsx)(o(),{href:"/blogs",onClick:()=>_(!1),className:X(es),children:"Blogs"}),[{id:"services",label:"Services",items:r,isService:!0},{id:"tools",label:"Tools",items:l},...f.length>0?[{id:"media",label:"Media",items:f}]:[],...b.length>0?[{id:"addons",label:"Addons",items:b}]:[]].map(e=>(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{onClick:()=>O(r=>r===e.id?null:e.id),className:"flex items-center justify-between w-full ".concat(X("services"===e.id?et:"tools"===e.id?ea:"media"===e.id?el:ei)),children:[(0,a.jsx)("span",{children:e.label}),(0,a.jsx)(d.P.div,{animate:{rotate:180*(R===e.id)},transition:{duration:.3},children:(0,a.jsx)(u.fK4,{})})]}),(0,a.jsx)(m.N,{children:R===e.id&&(0,a.jsx)(d.P.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:"easeInOut"},className:"ml-3 mt-2 flex flex-col space-y-2 overflow-hidden",children:e.items.map((r,t)=>(0,a.jsx)(o(),{href:e.isService?"/services/".concat(r.link):r.link,onClick:t=>{if("addons"===e.id)return void em(t,r,!0);_(!1)},className:X($(e.isService?"/services/".concat(r.link):r.link)),children:r.name},t))})})]},e.id)),(0,a.jsx)(o(),{href:"/contact-us",onClick:()=>_(!1),className:X(er),children:"Contact Us"}),(P||E)&&(0,a.jsxs)("div",{className:"pt-4 mt-2 flex flex-col gap-3 border-t border-[var(--rv-border)]",children:[P&&(0,a.jsx)(v.A,{link:N,target:k,rel:C,onClick:()=>_(!1),text:"Login",showArrow:!1,variant:"outline",className:"w-full justify-center border-2 border-[var(--rv-primary)] bg-[var(--rv-bg-primary)] hover:bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]"}),E&&(0,a.jsx)(v.A,{link:w,target:S,rel:A,onClick:()=>_(!1),text:"Sign Up",showArrow:!1,className:"w-full justify-center bg-[var(--rv-bg-primary)] hover:bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]"})]})]})]})]})})]}),j||en?(0,a.jsx)(h.A,{isOpen:B,onClose:()=>K(!1)}):null,V?(0,a.jsx)(p.A,{onClose:()=>H(!1)}):null,eo?(0,a.jsx)(g,{sitedata:t,services:r,openOverride:G,onOpenChange:Y,hideLauncher:!0}):null]})},theme3:e=>{let{services:r,siteData:t,tools:l=[],showNavBlogs:n=!1,mediaItems:f=[],addonItems:b=[],showSearch:j=!0,hasTicker:y=!1,loginLink:N="/login",signupLink:w="/registration",loginTarget:k,loginRel:C,signupTarget:S,signupRel:A,showLoginButton:P=!0,showSignupButton:E=!0}=e,M=(0,c.usePathname)(),z=(0,c.useSearchParams)(),[L,T]=(0,s.useState)(!1),[F,I]=(0,s.useState)(44*!!y),[D,_]=(0,s.useState)(!1),[R,O]=(0,s.useState)(null),U=(0,s.useRef)(null),W=(0,x.A)(),[B,K]=(0,s.useState)(!1),[V,H]=(0,s.use
1State)(!1),[G,Y]=(0,s.useState)(!1),Q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!e)return"/";let r=e.split("?")[0].split("#")[0]||"/";return"/"!==r&&r.endsWith("/")?r.slice(0,-1):r},q=Q(M),$=e=>{let[r,t]=e.split("?"),a=Q(r),s=Q(M);if(t){let e=z.toString();return s===a&&e===t}return"/"===a?"/"===q:q===a||q.startsWith("".concat(a,"/"))},J=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.some(e=>{let t=(null==e?void 0:e.link)||"/";return $(r?"/services/".concat(t):"".concat(t))})},X=e=>"".concat(e?"text-[var(--rv-secondary-dark)] font-bold":"text-[var(--rv-primary-dark)] hover:text-[var(--rv-primary)]"," transition"),Z=e=>"".concat(e?"text-[var(--rv-secondary-dark)] font-bold":"text-[var(--rv-white)] hover:text-[var(--rv-primary)]"," transition"),ee=e=>"block px-3 py-2 rounded-md transition ".concat(e?"text-[var(--rv-secondary-dark)] font-bold bg-[var(--rv-bg-secondary)]":"hover:bg-[var(--rv-bg-secondary)]"),er=$("/"),et=$("/about-us"),ea=$("/contact-us"),es=q.startsWith("/services")||J(r,!0),el=J(l),ei=$("/blogs"),en=J(f),eo=J(b),ec=b.some(e=>(null==e?void 0:e.action)==="searchFunds"),ed=b.some(e=>(null==e?void 0:e.action)==="whatsappChatbot");(0,s.useEffect)(()=>{let e=()=>{let e=window.scrollY||0;T(e>30),I(y?Math.max(44-e,0):0)};return e(),window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[y]),(0,s.useEffect)(()=>{let e=e=>{U.current&&!U.current.contains(e.target)&&(_(!1),O(null))};return D?(document.addEventListener("mousedown",e),document.body.style.overflow="hidden"):(document.removeEventListener("mousedown",e),document.body.style.overflow="auto"),()=>{document.removeEventListener("mousedown",e),document.body.style.overflow="auto"}},[D]);let em=function(e,r){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(null==r?void 0:r.action)==="searchFunds"?(e.preventDefault(),K(!0)):(null==r?void 0:r.action)==="bookMeeting"?(e.preventDefault(),H(!0)):(null==r?void 0:r.action)==="whatsappChatbot"&&(e.preventDefault(),Y(!0)),t&&(_(!1),O(null))};return(0,a.jsxs)("header",{className:"top-0 z-50 w-full transition-all duration-300 px-4 py-3 fixed ".concat(L?" shadow bg-[var(--rv-white)]":"text-[var(--rv-white)]"),style:{top:"".concat(F,"px")},children:[(0,a.jsxs)("div",{className:"max-w-7xl mx-auto flex items-center justify-between ",children:[(0,a.jsx)(o(),{href:"/",className:"flex items-center gap-2",children:(0,a.jsx)(i.default,{unoptimized:!0,src:W,alt:"Logo",width:100,height:100,className:"max-w-[180px] h-auto object-contain"})}),(0,a.jsxs)("nav",{className:"hidden lg:flex items-center gap-5 xl:gap-8 font-medium",children:[(0,a.jsx)(o(),{className:X(er),href:"/",children:"Home"}),(0,a.jsx)(o(),{className:X(et),href:"/about-us",children:"About Us"}),(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 ".concat(X(es)),children:["Services"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 z-50 top-full hidden group-hover:block pt-2",children:(0,a.jsx)("div",{className:"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] rounded-lg shadow-lg w-52 p-2",children:r.map((e,r)=>(0,a.jsx)(o(),{href:"/services/".concat(e.link),className:ee($("/services/".concat(e.link))),children:e.name},r))})})]}),(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 ".concat(X(el)),children:["Tools"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 z-50 top-full hidden group-hover:block pt-2",children:(0,a.jsx)("div",{className:"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] rounded-lg shadow-lg w-52 p-2",children:l.map((e,r)=>(0,a.jsx)(o(),{href:"".concat(e.link),className:ee($("".concat(e.link))),children:e.name},r))})})]}),n&&(0,a.jsx)(o(),{className:X(ei),href:"/blogs",children:"Blogs"}),f.length>0&&(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 ".concat(X(en)),children:["Media"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 z-50 top-full hidden group-hover:block pt-2",children:(0,a.jsx)("div",{className:"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] rounded-lg shadow-lg w-52 p-2",children:f.map((e,r)=>e.download?(0,a.jsx)("a",{href:e.link,download:e.download,className:ee($("".concat(e.link))),children:e.name},r):(0,a.jsx)(o(),{href:"".concat(e.link),className:ee($("".concat(e.link))),children:e.name},r))})})]}),b.length>0&&(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 ".concat(X(eo)),children:["Addons"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 z-50 top-full hidden group-hover:block pt-2",children:(0,a.jsx)("div",{className:"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] rounded-lg shadow-lg w-52 p-2",children:b.map((e,r)=>(0,a.jsx)(o(),{href:"".concat(e.link),onClick:r=>em(r,e),className:ee($("".concat(e.link))),children:e.name},r))})})]}),(0,a.jsx)(o(),{className:X(ea),href:"/contact-us",children:"Contact Us"}),j&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(u.CKj,{className:"cursor-pointer text-xl text-[var(--rv-primary-dark)] hover:text-[var(--rv-primary)]",onClick:()=>K(!0)})}),(P||E)&&(0,a.jsxs)("div",{className:"hidden lg:flex gap-3 items-center flex-wrap",children:[P&&(0,a.jsx)(v.A,{link:N,target:k,rel:C,text:"Log in",variant:"outline",className:"border-2"}),E&&(0,a.jsx)(v.A,{link:w,target:S,rel:A,text:"Sign Up"})]})]}),(0,a.jsxs)("div",{className:"lg:hidden flex gap-3 items-center flex-wrap",children:[j&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(u.CKj,{className:"cursor-pointer text-xl hover:text-[var(--rv-primary)] ".concat(L?" text-[var(--rv-black)]":"text-[var(--rv-black)]"),onClick:()=>K(!0)})}),P&&(0,a.jsx)(o(),{href:N,target:k,rel:C,children:(0,a.jsx)(u.JXP,{className:"cursor-pointer text-2xl hover:text-[var(--rv-primary)] text-[var(--rv-primary)]"})}),(0,a.jsx)("button",{onClick:()=>_(!0),className:"block ".concat(L?" text-[var(--rv-black)]":"text-[var(--rv-black)]"),"aria-label":"Open menu",children:(0,a.jsx)("svg",{className:"w-7 h-7",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h16"})})})]}),(0,a.jsx)(m.N,{children:D&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.P.div,{initial:{opacity:0}
1,animate:{opacity:.5},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 bg-[var(--rv-bg-black)] h-screen w-full"}),(0,a.jsxs)(d.P.div,{ref:U,initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{duration:.3,ease:"easeInOut"},className:"fixed top-0 right-0 w-72 h-screen bg-[var(--rv-bg-primary)] shadow-2xl z-50 text-[var(--rv-white)] font-semibold flex flex-col",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center p-5 border-b border-[var(--rv-border)]",children:[(0,a.jsx)(i.default,{unoptimized:!0,src:W,alt:"Logo",width:100,height:50,className:"max-w-[180px] h-auto object-contain filter brightness-0 invert"}),(0,a.jsx)("button",{onClick:()=>_(!1),children:(0,a.jsx)(u.yGN,{size:28})})]}),(0,a.jsxs)("nav",{className:"flex flex-col space-y-3 px-6 pb-6 mt-2",children:[(0,a.jsx)(o(),{href:"/",onClick:()=>_(!1),className:Z(er),children:"Home"}),(0,a.jsx)(o(),{href:"/about-us",onClick:()=>_(!1),className:Z(et),children:"About Us"}),n&&(0,a.jsx)(o(),{href:"/blogs",onClick:()=>_(!1),className:Z(ei),children:"Blogs"}),[{id:"services",label:"Services",items:r,isService:!0},{id:"tools",label:"Tools",items:l},...f.length>0?[{id:"media",label:"Media",items:f}]:[],...b.length>0?[{id:"addons",label:"Addons",items:b}]:[]].map(e=>(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{onClick:()=>O(r=>r===e.id?null:e.id),className:"flex items-center justify-between w-full ".concat(Z("services"===e.id?es:"tools"===e.id?el:"media"===e.id?en:eo)),children:[(0,a.jsx)("span",{children:e.label}),(0,a.jsx)(d.P.div,{animate:{rotate:180*(R===e.id)},transition:{duration:.3},children:(0,a.jsx)(u.fK4,{})})]}),(0,a.jsx)(m.N,{children:R===e.id&&(0,a.jsx)(d.P.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:"easeInOut"},className:"ml-3 mt-2 flex flex-col space-y-2 overflow-hidden",children:e.items.map((r,t)=>(0,a.jsx)(o(),{href:e.isService?"/services/".concat(r.link):r.link,onClick:t=>{if("addons"===e.id)return void em(t,r,!0);_(!1)},className:Z($(e.isService?"/services/".concat(r.link):r.link)),children:r.name},t))})})]},e.id)),(0,a.jsx)(o(),{href:"/contact-us",onClick:()=>_(!1),className:Z(ea),children:"Contact Us"}),(P||E)&&(0,a.jsxs)("div",{className:"pt-4 mt-2 flex flex-col gap-3 border-t border-[var(--rv-border)]",children:[P&&(0,a.jsx)(v.A,{link:N,target:k,rel:C,onClick:()=>_(!1),text:"Login",showArrow:!1,variant:"outline",className:"w-full justify-center border-2 border-[var(--rv-primary)] text-[var(--rv-primary)] hover:bg-[var(--rv-primary)] hover:text-[var(--rv-white)]"}),E&&(0,a.jsx)(v.A,{link:w,target:S,rel:A,onClick:()=>_(!1),text:"Sign Up",showArrow:!1,className:"w-full justify-center bg-[var(--rv-bg-primary)] hover:bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]"})]})]})]})]})})]}),j||ec?(0,a.jsx)(h.A,{isOpen:B,onClose:()=>K(!1)}):null,V?(0,a.jsx)(p.A,{onClose:()=>H(!1)}):null,ed?(0,a.jsx)(g,{sitedata:t,services:r,openOverride:G,onOpenChange:Y,hideLauncher:!0}):null]})},theme4:e=>{let{services:r,siteData:t,tools:l=[],showNavBlogs:n=!1,mediaItems:f=[],addonItems:b=[],showSearch:j=!0,hasTicker:y=!1,loginLink:N="/login",signupLink:w="/registration",loginTarget:k,loginRel:C,signupTarget:S,signupRel:A,showLoginButton:P=!0,showSignupButton:E=!0}=e,M=(0,c.usePathname)(),z=(0,c.useSearchParams)(),[L,T]=(0,s.useState)(!1),[F,I]=(0,s.useState)(44*!!y),[D,_]=(0,s.useState)(!1),[R,O]=(0,s.useState)(null),U=(0,s.useRef)(null),W=(0,x.A)(),[B,K]=(0,s.useState)(!1),[V,H]=(0,s.use
1State)(!1),[G,Y]=(0,s.useState)(!1),Q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!e)return"/";let r=e.split("?")[0].split("#")[0]||"/";return"/"!==r&&r.endsWith("/")?r.slice(0,-1):r},q=Q(M),$=e=>{let[r,t]=e.split("?"),a=Q(r),s=Q(M);if(t){let e=z.toString();return s===a&&e===t}return"/"===a?"/"===q:q===a||q.startsWith("".concat(a,"/"))},J=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.some(e=>{let t=(null==e?void 0:e.link)||"/";return $(r?"/services/".concat(t):"".concat(t))})},X=e=>"".concat(e?"text-[var(--rv-white)] font-bold":"text-[var(--rv-white)] hover:text-[var(--rv-primary)]"," transition"),Z=e=>"block rounded-md px-3 py-2 transition ".concat(e?"text-[var(--rv-primary)] font-bold bg-[var(--rv-bg-secondary)]":"hover:bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]"),ee=e=>"".concat(e?"text-[var(--rv-secondary-dark)] font-bold":"text-[var(--rv-white)] hover:text-[var(--rv-primary)]"," transition"),er=$("/"),et=$("/about-us"),ea=$("/contact-us"),es=q.startsWith("/services")||J(r,!0),el=J(l),ei=$("/blogs"),en=J(f),eo=J(b),ec=b.some(e=>(null==e?void 0:e.action)==="searchFunds"),ed=b.some(e=>(null==e?void 0:e.action)==="whatsappChatbot"),em=!!("string"==typeof N&&N.startsWith("/"))&&$(N),eu=!!("string"==typeof w&&w.startsWith("/"))&&$(w);(0,s.useEffect)(()=>{let e=()=>{let e=window.scrollY||0;T(e>20),I(y?Math.max(44-e,0):0)};return e(),window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[y]),(0,s.useEffect)(()=>{let e=e=>{U.current&&!U.current.contains(e.target)&&(_(!1),O(null))};return D?(document.addEventListener("mousedown",e),document.body.style.overflow="hidden"):(document.removeEventListener("mousedown",e),document.body.style.overflow="auto"),()=>{document.removeEventListener("mousedown",e),document.body.style.overflow="auto"}},[D]);let ev=function(e,r){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(null==r?void 0:r.action)==="searchFunds"?(e.preventDefault(),K(!0)):(null==r?void 0:r.action)==="bookMeeting"?(e.preventDefault(),H(!0)):(null==r?void 0:r.action)==="whatsappChatbot"&&(e.preventDefault(),Y(!0)),t&&(_(!1),O(null))};return(0,a.jsxs)("header",{className:"sticky top-0 left-0 z-50 w-full px-3 py-3 transition-all duration-300",style:{to
1p:"".concat(F,"px")},children:[(0,a.jsxs)("div",{className:"mx-auto rounded-2xl transition-all p-4 bg-gradient-to-tl from-[var(--rv-bg-secondary)] via-[var(--rv-bg-secondary)] to-[var(--rv-bg-primary)] shadow-lg lg:px-8 ".concat(L?"backdrop-blur-sm":""),children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,a.jsx)(o(),{href:"/",className:"flex shrink-0 items-center gap-2",children:(0,a.jsx)(i.default,{unoptimized:!0,src:W,alt:"Logo",width:120,height:90,className:"h-auto max-w-[190px] object-contain"})}),(0,a.jsxs)("nav",{className:"hidden flex-1 items-center justify-center gap-7 font-medium xl:gap-10 lg:flex",children:[(0,a.jsx)(o(),{className:X(er),href:"/",children:"Home"}),(0,a.jsx)(o(),{className:X(et),href:"/about-us",children:"About Us"}),(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 ".concat(X(es)),children:["Services"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 top-full z-50 hidden pt-2 group-hover:block",children:(0,a.jsx)("div",{className:"w-56 rounded-lg border border-[var(--rv-border)] bg-[var(--rv-bg-secondary-dark)] p-2 shadow-lg",children:r.map((e,r)=>(0,a.jsx)(o(),{href:"/services/".concat(e.link),className:Z($("/services/".concat(e.link))),children:e.name},r))})})]}),(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 ".concat(X(el)),children:["Tools"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 top-full z-50 hidden pt-2 group-hover:block",children:(0,a.jsx)("div",{className:"w-56 rounded-lg border border-[var(--rv-border)] bg-[var(--rv-bg-secondary-dark)] p-2 shadow-lg",children:l.map((e,r)=>(0,a.jsx)(o(),{href:"".concat(e.link),className:Z($("".concat(e.link))),children:e.name},r))})})]}),n&&(0,a.jsx)(o(),{className:X(ei),href:"/blogs",children:"Blogs"}),f.length>0&&(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 ".concat(X(en)),children:["Media"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 top-full z-50 hidden pt-2 group-hover:block",children:(0,a.jsx)("div",{className:"w-56 rounded-lg border border-[var(--rv-border)] bg-[var(--rv-bg-secondary-dark)] p-2 shadow-lg",children:f.map((e,r)=>e.download?(0,a.jsx)("a",{href:e.link,download:e.download,className:Z($("".concat(e.link))),children:e.name},r):(0,a.jsx)(o(),{href:"".concat(e.link),className:Z($("".concat(e.link))),children:e.name},r))})})]}),b.length>0&&(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 ".concat(X(eo)),children:["Addons"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 top-full z-50 hidden pt-2 group-hover:block",children:(0,a.jsx)("div",{className:"w-56 rounded-lg border border-[var(--rv-border)] bg-[var(--rv-bg-secondary-dark)] p-2 shadow-lg",children:b.map((e,r)=>(0,a.jsx)(o(),{href:"".concat(e.link),onClick:r=>ev(r,e),className:Z($("".concat(e.link))),children:e.name},r))})})]}),(0,a.jsx)(o(),{className:X(ea),href:"/contact-us",children:"Contact Us"})]}),(0,a.jsxs)("div",{className:"hidden shrink-0 items-center gap-4 lg:flex",children:[j&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(u.CKj,{className:"cursor-pointer text-xl text-[var(--rv-white)] hover:text-[var(--rv-primary)]",onClick:()=>K(!0)})}),P&&(0,a.jsx)(v.A,{link:N,target:k,rel:C,text:"Login",className:"".concat(em?"ring-2 ring-[var(--rv-secondary-dark)] !text-[var(--rv-secondary-dark)] font-bold":"")}),E&&(0,a.jsx)(v.A,{link:w,target:S,rel:A,text:"Sign Up",className:"".concat(eu?"ring-2 ring-[var(--rv-secondary-dark)] !text-[var(--rv-secondary-dark)] font-bold":"")})]}),(0,a.jsxs)("div",{className:"lg:hidden flex gap-3 items-center flex-wrap",children:[j&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(u.CKj,{className:"cursor-pointer text-xl hover:text-[var(--rv-primary)] text-[var(--rv-white)]",onClick:()=>K(!0)})}),P&&(0,a.jsx)(o(),{href:N,target:k,rel:C,children:(0,a.jsx)(u.JXP,{className:"cursor-pointer text-2xl hover:text-[var(--rv-primary)] text-[var(--rv-white)]"})}),(0,a.jsx)("button",{onClick:()=>_(!0),className:"block text-[var(--rv-white)]","aria-label":"Open menu",children:(0,a.jsx)("svg",{className:"h-7 w-7",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h16"})})})]})]}),(0,a.jsx)(m.N,{children:D&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.P.div,{initial:{opacity:0}
1,animate:{opacity:.5},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 h-screen w-full bg-[var(--rv-bg-black)]"}),(0,a.jsxs)(d.P.div,{ref:U,initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{duration:.3,ease:"easeInOut"},className:"fixed top-0 right-0 z-50 flex h-screen w-72 flex-col bg-[var(--rv-bg-secondary-dark)] text-[var(--rv-white)] shadow-2xl",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between border-b border-[var(--rv-border)] p-5",children:[(0,a.jsx)(i.default,{unoptimized:!0,src:W,alt:"Logo",width:100,height:50,className:"h-auto max-w-[180px] object-contain filter brightness-0 invert"}),(0,a.jsx)("button",{onClick:()=>_(!1),children:(0,a.jsx)(u.yGN,{size:28})})]}),(0,a.jsxs)("nav",{className:"mt-2 flex flex-col space-y-3 px-6 pb-6",children:[(0,a.jsx)(o(),{href:"/",onClick:()=>_(!1),className:ee(er),children:"Home"}),(0,a.jsx)(o(),{href:"/about-us",onClick:()=>_(!1),className:ee(et),children:"About Us"}),n&&(0,a.jsx)(o(),{href:"/blogs",onClick:()=>_(!1),className:ee(ei),children:"Blogs"}),[{id:"services",label:"Services",items:r,isService:!0},{id:"tools",label:"Tools",items:l},...f.length>0?[{id:"media",label:"Media",items:f}]:[],...b.length>0?[{id:"addons",label:"Addons",items:b}]:[]].map(e=>(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{onClick:()=>O(r=>r===e.id?null:e.id),className:"flex w-full items-center justify-between ".concat(ee("services"===e.id?es:"tools"===e.id?el:"media"===e.id?en:eo)),children:[(0,a.jsx)("span",{children:e.label}),(0,a.jsx)(d.P.div,{animate:{rotate:180*(R===e.id)},transition:{duration:.3},children:(0,a.jsx)(u.fK4,{})})]}),(0,a.jsx)(m.N,{children:R===e.id&&(0,a.jsx)(d.P.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:"easeInOut"},className:"ml-3 mt-2 flex flex-col space-y-2 overflow-hidden",children:e.items.map((r,t)=>(0,a.jsx)(o(),{href:e.isService?"/services/".concat(r.link):r.link,onClick:t=>{if("addons"===e.id)return void ev(t,r,!0);_(!1)},className:ee($(e.isService?"/services/".concat(r.link):r.link)),children:r.name},t))})})]},e.id)),(0,a.jsx)(o(),{href:"/contact-us",onClick:()=>_(!1),className:ee(ea),children:"Contact Us"}),(P||E)&&(0,a.jsxs)("div",{className:"pt-4 mt-2 flex flex-col gap-3 border-t border-[var(--rv-border)]",children:[P&&(0,a.jsx)(v.A,{link:N,target:k,rel:C,onClick:()=>_(!1),text:"Login",showArrow:!1,variant:"outline",className:"w-full justify-center border-2 border-[var(--rv-primary)] text-[var(--rv-primary)] hover:bg-[var(--rv-primary)] hover:text-[var(--rv-white)]"}),E&&(0,a.jsx)(v.A,{link:w,target:S,rel:A,onClick:()=>_(!1),text:"Sign Up",showArrow:!1,className:"w-full justify-center bg-[var(--rv-bg-primary)] hover:bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]"})]})]})]})]})})]}),j||ec?(0,a.jsx)(h.A,{isOpen:B,onClose:()=>K(!1)}):null,V?(0,a.jsx)(p.A,{onClose:()=>H(!1)}):null,ed?(0,a.jsx)(g,{sitedata:t,services:r,openOverride:G,onOpenChange:Y,hideLauncher:!0}):null]})},theme5:e=>{let{services:r,siteData:t,tools:l=[],showNavBlogs:n=!1,mediaItems:f=[],addonItems:b=[],showSearch:j=!0,hasTicker:y=!1,loginLink:N="/login",signupLink:w="/registration",loginTarget:k,loginRel:C,signupTarget:S,signupRel:A,showLoginButton:P=!0,showSignupButton:E=!0}=e,M=(0,c.usePathname)(),z=(0,c.useSearchParams)(),[L,T]=(0,s.useState)(!1),[F,I]=(0,s.useState)(44*!!y),[D,_]=(0,s.useState)(!1),[R,O]=(0,s.useState)(null),[U,W]=(0,s.useState)(""),[B,K]=(0,s.useState)([]),V=(0,s.useRef)(null),H=(0,x.A)(),[G,Y]=(0,s.useState)(!1),[Q,q]=(0,s.useState)(!1),[$,J]=(0,s.useState)(!1),X=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!e)return"/";let r=e.split("?")[0].split("#")[0]||"/";return"/"!==r&&r.endsWith("/")?r.slice(0,-1):r},Z=X(M),ee=e=>{let[r,t]=e.split("?"),a=X(r),s=X(M);if(t){let e=z.toString();return s===a&&e===t}return"/"===a?"/"===Z:Z===a||Z.startsWith("".concat(a,"/"))},er=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.some(e=>{let t=(null==e?void 0:e.link)||"/";return ee(r?"/services/".concat(t):"".concat(t))})},et=e=>"".concat(e?"text-[var(--rv-primary)] font-bold":"hover:text-[var(--rv-primary)]"," transition"),ea=e=>"".concat(e?"text-[var(--rv-primary)] font-bold":"hover:text-[var(--rv-primary)]"," transition"),es=b.some(e=>(null==e?void 0:e.action)==="searchFunds"),el=b.some(e=>(null==e?void 0:e.action)==="whatsappChatbot");(0,s.useEffect)(()=>{let e=()=>{let e=window.scrollY||0;T(e>30),I(y?Math.max(44-e,0):0)};return e(),window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[y]),(0,s.useEffect)(()=>{let e=e=>{V.current&&!V.current.contains(e.target)&&(_(!1),O(null))};return D?(document.addEventListener("mousedown",e),document.body.style.overflow="hidden"):(document.removeEventListener("mousedown",e),document.body.style.overflow="auto"),()=>{document.removeEventListener("mousedown",e),document.body.style.overflow="auto"}},[D]);let ei=function(e,r){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(null==r?void 0:r.action)==="searchFunds"?(e.preventDefault(),Y(!0)):(null==r?void 0:r.action)==="bookMeeting"?(e.preventDefault(),q(!0)):(null==r?void 0:r.action)==="whatsappChatbot"&&(e.preventDefault(),J(!0)),t&&(_(!1),O(null))};return(0,a.jsxs)("header",{className:"top-0 z-50 w-full transition-all duration-300 p-1 ".concat(L?"fixed bg-[var(--rv-bg-white)] backdrop-blur-md ":"bg-transparent absolute top-10"),style:L?{top:"".concat(F,"px")}:void 0,children:[(0,a.jsxs)("div",{className:"max-w-7xl mx-auto flex items-center justify-between",children:[(0,a.jsx)(o(),{href:"/",className:"flex items-center gap-2",children:(0,a.jsx)(i.default,{unoptimized:!0,src:H,alt:"Logo",width:350,height:100,className:"md:max-w-[180px] max-w-[100px] h-auto object-contain"})}),(0,a.jsxs)("nav",{className:"hidden lg:flex items-center gap-5 xl:gap-8 font-medium text-[var(--rv-text)]",children:[(0,a.jsx)(o(),{href:"/",className:et(ee("/")),children:"Home"}),(0,a.jsx)(o(),{href:"/about-us",className:et(ee("/about-us")),children:"About Us"}),(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 hover:text-[var(--rv-primary)] transition ".concat(et(Z.startsWith("/services")||er(r,!0))),children:["Services"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 z-50 top-full hidden group-hover:block pt-2",children:(0,a.jsx)("div",{className:"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] rounded-lg shadow-lg w-52 p-2",children:r.map((e,r)=>(0,a.jsx)(o(),{href:"/services/".concat(e.link),className:"block px-3 py-2 rounded-md transition ".concat(ee("/services/".concat(e.link))?"bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]":"hover:bg-[var(--rv-bg-secondary)]"),children:e.name},r))})})]}),(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 hover:text-[var(--rv-primary)] transition ".concat(et(er(l))),children:["Tools"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 z-50 top-full hidden group-hover:block pt-2",children:(0,a.jsx)("div",{className:"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] rounded-lg shadow-lg w-52 p-2",children:l.map((e,r)=>(0,a.jsx)(o(),{href:"".concat(e.link),className:"block px-3 py-2 rounded-md transition ".concat(ee("".concat(e.link))?"bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]":"hover:bg-[var(--rv-bg-secondary)]"),children:e.name},r))})})]}),f.length>0&&(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 hover:text-[var(--rv-primary)] transition ".concat(et(er(f))),children:["Publications"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 z-50 top-full hidden group-hover:block pt-2",children:(0,a.jsx)("div",{className:"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] rounded-lg shadow-lg w-52 p-2",children:f.map((e,r)=>e.download?(0,a.jsx)("a",{href:e.link,download:e.download,className:"block px-3 py-2 rounded-md transition ".concat(ee("".concat(e.link))?"bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]":"hover:bg-[var(--rv-bg-secondary)]"),children:e.name},r):(0,a.jsx)(o(),{href:"".concat(e.link),className:"block px-3 py-2 rounded-md transition ".concat(ee("".concat(e.link))?"bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]":"hover:bg-[var(--rv-bg-secondary)]"),children:e.name},r))})})]}),b.length>0&&(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"flex items-center gap-1 hover:text-[var(--rv-primary)] transition ".concat(et(er(b))),children:["Addons"," ",(0,a.jsx)(u.fK4,{className:"transition-transform group-hover:rotate-180"})]}),(0,a.jsx)("div",{className:"absolute left-0 z-50 top-full hidden group-hover:block pt-2",children:(0,a.jsx)("div",{className:"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] rounded-lg shadow-lg w-52 p-2",children:b.map((e,r)=>(0,a.jsx)(o(),{href:"".concat(e.link),onClick:r=>ei(r,e),className:"block px-3 py-2 rounded-md transition ".concat(ee("".concat(e.link))?"bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]":"hover:bg-[var(--rv-bg-secondary)]"),children:e.name},r))})})]}),(0,a.jsx)(o(),{href:"/contact-us",className:et(ee("/contact-us")),children:"Contact Us"}),j&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(u.CKj,{className:"cursor-pointer text-xl hover:text-[var(--rv-primary)]",onClick:()=>Y(!0)})}),(P||E)&&(0,a.jsxs)("div",{className:"hidden lg:flex gap-3 items-center flex-wrap",children:[P&&(0,a.jsx)(v.A,{link:N,target:k,rel:C,text:"Log in",variant:"outline"}),E&&(0,a.jsx)(v.A,{link:w,target:S,rel:A,text:"Sign Up"})]})]}),(0,a.jsxs)("div",{className:"lg:hidden flex gap-3 items-center flex-wrap",children:[j&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(u.CKj,{className:"cursor-pointer text-xl hover:text-[var(--rv-primary)] text-[var(--rv-secondary)]",onClick:()=>Y(!0)})}),P&&(0,a.jsx)(o(),{href:N,target:k,rel:C,children:(0,a.jsx)(u.JXP,{className:"cursor-pointer text-2xl hover:text-[var(--rv-primary)] text-[var(--rv-secondary)]"})}),(0,a.jsx)("button",{onClick:()=>_(!0),className:"text-[var(--rv-secondary)] block","aria-label":"Open menu",children:(0,a.jsx)("svg",{className:"w-7 h-7",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h16"})})})]}),(0,a.jsx)(m.N,{children:D&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.P.div,{initial:{opacity:0}
1,animate:{opacity:.5},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 bg-[var(--rv-bg-black)] h-screen w-full"}),(0,a.jsxs)(d.P.div,{ref:V,initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{duration:.3,ease:"easeInOut"},className:"fixed top-0 right-0 w-72 h-screen bg-[var(--rv-bg-secondary-dark)] shadow-2xl z-50 text-[var(--rv-white)] font-semibold flex flex-col",children:[(0,a.jsxs)("div",{className:"flex justify-between bg-[var(--rv-white)] items-center p-2 border-b border-[var(--rv-border)]",children:[(0,a.jsx)(i.default,{unoptimized:!0,src:H,alt:"Logo",width:100,height:50,className:"max-w-[180px] h-auto object-contain"}),(0,a.jsx)("button",{onClick:()=>_(!1),children:(0,a.jsx)(u.yGN,{size:28,className:"text-black"})})]}),(0,a.jsxs)("nav",{className:"flex flex-col space-y-3 px-6 pb-6 mt-2",children:[(0,a.jsx)(o(),{href:"/",onClick:()=>_(!1),className:ea(ee("/")),children:"Home"}),(0,a.jsx)(o(),{href:"/about-us",onClick:()=>_(!1),className:ea(ee("/about-us")),children:"About Us"}),n&&(0,a.jsx)(o(),{href:"/blogs",onClick:()=>_(!1),className:ea(ee("/blogs")),children:"Blogs"}),(0,a.jsx)(o(),{href:"/contact-us",onClick:()=>_(!1),className:ea(ee("/contact-us")),children:"Contact Us"}),[{id:"services",label:"Services",items:r,isService:!0},{id:"tools",label:"Tools",items:l},...f.length>0?[{id:"media",label:"Media",items:f}]:[],...b.length>0?[{id:"addons",label:"Addons",items:b}]:[]].map(e=>(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{onClick:()=>O(r=>r===e.id?null:e.id),className:"flex items-center justify-between w-full",children:[(0,a.jsx)("span",{children:e.label}),(0,a.jsx)(d.P.div,{animate:{rotate:180*(R===e.id)},transition:{duration:.3},children:(0,a.jsx)(u.fK4,{})})]}),(0,a.jsx)(m.N,{children:R===e.id&&(0,a.jsx)(d.P.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:"easeInOut"},className:"ml-3 mt-2 flex flex-col space-y-2 overflow-hidden",children:e.items.map((r,t)=>(0,a.jsx)(o(),{href:e.isService?"/services/".concat(r.link):r.link,onClick:t=>{if("addons"===e.id)return void ei(t,r,!0);_(!1)},className:ea(ee(e.isService?"/services/".concat(r.link):r.link)),children:r.name},t))})})]},e.id)),(0,a.jsx)(o(),{href:"/contact-us",onClick:()=>_(!1),className:"hover:text-[var(--rv-primary)] transition block",children:"Contact Us"}),(P||E)&&(0,a.jsxs)("div",{className:"pt-4 mt-2 flex flex-col gap-3 border-t border-[var(--rv-border)]",children:[P&&(0,a.jsx)(v.A,{link:N,target:k,rel:C,onClick:()=>_(!1),text:"Login",showArrow:!1,variant:"outline",className:"w-full justify-center border-2 border-[var(--rv-primary)] text-[var(--rv-primary)] hover:bg-[var(--rv-primary)] hover:text-[var(--rv-white)]"}),E&&(0,a.jsx)(v.A,{link:w,target:S,rel:A,onClick:()=>_(!1),text:"Sign Up",showArrow:!1,className:"w-full justify-center bg-[var(--rv-bg-primary)] hover:bg-[var(--rv-bg-secondary)] text-[var(--rv-white)]"})]})]})]})]})})]}),j||es?(0,a.jsx)(h.A,{isOpen:G,onClose:()=>Y(!1)}):null,Q?(0,a.jsx)(p.A,{onClose:()=>q(!1)}):null,el?(0,a.jsx)(g,{sitedata:t,services:r,openOverride:$,onOpenChange:J,hideLauncher:!0}):null]})}};function C(e){let{services:r,sitedata:t,roboUser:i,roboSetup:n,hasTicker:o=!1,showCalculators:c=!0,showSearch:d=!0,showRiskProfile:m=!0,showHealth:u=!0,showPayPremium:v=!0,showUsefulLinks:x=!0,showCompareFunds:h=!0,showTopFunds:p=!0,showNfo:f=!0,showYouTube:g=!0,showBlogs:C=!0,showNews:S=!0,showGallery:A=!0,showFeedback:P=!0,showFundPerformance:E=!0,showBookMeeting:M=!1,showChatbot:z=!1,featurePlan:L="advance",addonNavbarEnabled:T=!0,navigationToggles:F={}}=e,I=Array.isArray(r)?[...r].sort((e,r)=>{let t=w.indexOf(e.name),a=w.indexOf(r.name);return(-1===t?999:t)-(-1===a?999:a)}):[],{theme:D}
1=(0,l.D)(),[_,R]=(0,s.useState)(!1);(0,s.useEffect)(()=>{R(!0)},[]);let O=k[_?D:"theme1"]||b,U=(0,N.Rp)(j,{showCalculators:c,showRiskProfile:m,showHealth:u,showPayPremium:v,showUsefulLinks:x,showCompareFunds:h,showTopFunds:p,showNfo:f,showFundPerformance:E,navigationToggles:F}),W=(0,N.oq)(y,{showYouTube:g,showBlogs:C,showNews:S,showGallery:A,showFeedback:P,navigationToggles:F}),[B,K]=(0,s.useState)(null);(0,s.useEffect)(()=>{(async()=>{try{var e;let r=await fetch("/api/newsletter");if(!r.ok)return;let t=await r.json(),a=null==t?void 0:t.data;(null==a||null==(e=a.file)?void 0:e.url)&&K({name:"Newsletter",link:"/newsletter"})}catch(e){console.error("Failed to load newsletter:",e)}})()},[]);let V=!1===F.showServices?[]:I,H=(null==n?void 0:n.softwareUser)===!0,G=String((null==n?void 0:n.softwareDisabledLoginUrl)||"").trim(),Y=String((null==n?void 0:n.signupDisabledRedirectUrl)||"").trim(),Q=(null==n?void 0:n.signupButtonEnabled)!==!1,q=/^https?:\/\//i.test(G),$=/^https?:\/\//i.test(Y),J=H?"/login":G||"/contact-us",X=i?"/registration":Y||"/contact-us",Z=(null==n?void 0:n.softwareUser)===!1&&(null==n?void 0:n.roboUser)===!1,ee=!1!==F.showLoginButton&&(!Z||!!G),er=!1!==F.showSignupButton&&Q,et=!H&&q?"_blank":void 0,ea=!i&&$?"_blank":void 0,es="basic"===L,el=[],ei=[],en=[];h&&el.push({name:"Compare Funds",link:"/tools/compare-funds"}),f&&el.push({name:"Upcoming NFO",link:"/tools/nfo"}),M&&el.push({name:"Book Meetings",link:"/book-meeting",action:"bookMeeting"}),es&&d&&en.push({name:"Search Funds",link:"/search-funds",action:"searchFunds"}),es&&z&&en.push({name:"WhatsApp Chat Bot",link:"/whatsapp-chatbot",action:"whatsappChatbot"});let eo=g?[{name:"Youtube Videos",link:"/youtube-videos"}]:[];es&&(m&&ei.push({name:"Risk Profile",link:"/tools/risk-profile"}),p&&ei.push({name:"Top Funds",link:"/tools/top-funds"}),C&&ei.push({name:"Blogs",link:"/blogs"}));let ec=T?[...ei,...el,...eo,...en]:[],ed=T?U.filter(e=>![...ei,...el].some(r=>r.link===e.link)):U,em=B?[...W.filter(e=>"/newsletter"!==e.link),B]:W,eu=T?em.filter(e=>!eo.some(r=>r.link===e.link)&&!ei.some(r=>r.link===e.link)):em,ev=eu.some(e=>"/blogs"===e.link),ex=[...eu.filter(e=>["/gallery?src=video","/gallery?src=gallery","/youtube-videos","/blogs"].includes(e.link)),...B?[B]:[]];return(0,a.jsx)(O,{services:V,sitedata:t,siteData:t,roboUser:i,hasTicker:o,tools:ed,showNavBlogs:ev,mediaItems:ex,addonItems:ec,showSearch:(!es||!T)&&d,loginLink:J,signupLink:X,loginTarget:et,loginRel:et?"noopener noreferrer":void 0,signupTarget:ea,signupRel:ea?"noopener noreferrer":void 0,showLoginButton:ee,showSignupButton:er,navigationToggles:F})}},78220:(e,r,t)=>{"use strict";t.d(r,{default:()=>j});var a=t(95155),s=t(41855),l=t(42878),i=t(52619),n=t.n(i),o=t(15239),c=t(33828),d=t(21232),m=t(75120);let u=[{title:"Home",link:"/"},{title:"About Us",link:"/about-us"},{title:"Contact Us",link:"/contact-us"},{title:"Blogs",link:"/blogs"},{title:"Financial Calculator",link:"/tools/calculators"},{title:"Privacy Policy",link:"/privacy-policy"},{title:"Commission Disclosures",link:"/footer-page/commission-disclosures"}],v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],{showCalculators:r,showYouTube:t,showBlogs:a,showNews:s,showGallery:l,showVideos:i,footerToggles:n={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e;return!1===n.showHome&&(o=o.filter(e=>"/"!==e.link)),!1===n.showAboutUs&&(o=o.filter(e=>"/about-us"!==e.link)),!1===n.showContactUs&&(o=o.filter(e=>"/contact-us"!==e.link)),!1===r&&(o=o.filter(e=>"/tools/calculators"!==e.link)),!1===n.showFinancialCalculators&&(o=o.filter(e=>"/tools/calculators"!==e.link)),!1===t&&(o=o.filter(e=>"/youtube-videos"!==e.link)),!1===n.showYouTubeVideos&&(o=o.filter(e=>"/youtube-videos"!==e.link)),!1===a&&(o=o.filter(e=>"/blogs"!==e.link)),!1===n.showBlogs&&(o=o.filter(e=>"/blogs"!==e.link)),!1===s&&(o=o.filter(e=>"/news"!==e.link)),!1===l&&(o=o.filter(e=>"/gallery"!==e.link)),!1===n.showGallery&&(o=o.filter(e=>"/gallery"!==e.link)),!1===i&&(o=o.filter(e=>"/videos"!==e.link)),!1===n.showVideos&&(o=o.filter(e=>"/videos"!==e.link)),!1===n.showPrivacyPolicy&&(o=o.filter(e=>"/privacy-policy"!==e.link)),!1===n.showCommissionDisclosures&&(o=o.filter(e=>"/footer-page/commission-disclosures"!==e.link)),o},x=[{title:"Risk Factors",link:"/footer-page/risk-factors",target:"_self"},{title:"Terms & Conditions",link:"/footer-page/terms-conditions",target:"_self"},{title:"SID/SAI/KIM",link:"https://www.sebi.gov.in/filings/mutual-funds.html",target:"_blank"},{title:"Code of Conduct",link:"/images/AMFI_Code-of-Conduct.pdf",target:"_blank"},{title:"Investor Grievance Redressal",link:"/footer-page/investor-grievance-redressal",target:"_self"},{title:"Important Links",link:"/footer-page/important-links",target:"_self"},{title:"SEBI Circulars",link:"https://www.sebi.gov.in/sebiweb/home/HomeAction.do?doListingAll=yes&search=Mutual+Funds",target:"_blank"}],h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],{footerToggles:r={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.filter(e=>"/footer-page/risk-factors"===e.link?!1!==r.showRiskFactors:"/footer-page/terms-conditions"===e.link?!1!==r.showTermsConditions:"SID/SAI/KIM"===e.title?!1!==r.showSidSaiKim:"Code of Conduct"===e.title?!1!==r.showCodeOfConduct:"/footer-page/investor-grievance-redressal"===e.link?!1!==r.showInvestorGrievanceRedressal:"/footer-page/important-links"===e.link?!1!==r.showImportantLinks:"SEBI Circulars"!==e.title||!1!==r.showSebiCirculars)};var p=t(52092);let f=e=>{let{services:r,sitedata:t,siteData:s,socialMedia:i,arnData:f,showCalculators:g,showYouTube:b,showBlogs:j,showNews:y,showGallery:N,showVideos:w,footerToggles:k={}}=e,C=Array.isArray(f)?f.map(e=>
1null==e?void 0:e.arn).filter(Boolean):[],S=Array.isArray(f)?f.flatMap(e=>Array.isArray(null==e?void 0:e.euins)?e.euins.map(e=>null==e?void 0:e.euin).filter(Boolean):[null==e?void 0:e.euins].filter(Boolean)):[],A=C.length?C.join(" | "):null,P=S.length?S.join(" | "):null,E=t||s,M=(0,p.A)(),z=e=>e?String(e).split(/[,;]+/).map(e=>e.trim()).filter(Boolean).map(e=>e.replace(/\s+/g,"")):[],L=Array.from(new Set([...z(null==E?void 0:E.mobile),...z(null==E?void 0:E.alternateMobile)])),T={facebook:(0,a.jsx)(c.ok6,{className:"text-[var(--rv-primary)]"}),instagram:(0,a.jsx)(c.ao$,{className:"text-[var(--rv-primary)]"}),youtube:(0,a.jsx)(c.Vk6,{className:"text-[var(--rv-primary)]"}),"you tube":(0,a.jsx)(c.Vk6,{className:"text-[var(--rv-primary)]"}),linkedin:(0,a.jsx)(c.QEs,{className:"text-[var(--rv-primary)]"}),"linked in":(0,a.jsx)(c.QEs,{className:"text-[var(--rv-primary)]"}),"twitter (x)":(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),twitter:(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),x:(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),"x (twitter)":(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),"twitter x":(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),reddit:(0,a.jsx)(c.Fhi,{className:"text-[var(--rv-primary)]"}),whatsapp:(0,a.jsx)(c.EcP,{className:"text-[var(--rv-primary)]"}),"whats app":(0,a.jsx)(c.EcP,{className:"text-[var(--rv-primary)]"})},F=v(u,{showCalculators:g,showYouTube:b,showBlogs:j,showNews:y,showGallery:N,showVideos:w,footerToggles:k}),I=h(x,{footerToggles:k});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"w-full h-28 bg-[var(--rv-bg-white)]"}),(0,a.jsx)("footer",{className:"bg-[var(--rv-bg-secondary-dark)] text-[var(--rv-white)] px-4 py-6 w-full z-10 relative 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",children:(0,a.jsxs)("div",{className:"mx-auto w-full max-w-7xl flex flex-col gap-5 ",children:[(0,a.jsxs)("div",{className:"w-full p-8 md:p-10 flex flex-col gap-5 items-center justify-center text-center bg-gradient-to-br from-[var(--rv-bg-primary-dark)] to-[var(--rv-bg-secondary)] text-[var(--rv-white)] rounded-2xl shadow-2xl -mt-32 relative z-10 before:content-[''] before:absolute before:inset-0 before:bg-[url('/images/vector2.png')] before:bg-cover before:bg-center before:brightness-0 before:invert before:opacity-[0.07] before:-z-10",children:[(0,a.jsx)(m.A,{variant:"light",title:"Talk to a Real Expert",heading:"Still Confused? Get Clear Answers in Minutes",description:"No bots. No pressure. Just honest, human guidance tailored to your financial goals."}),(0,a.jsx)(d.A,{link:"/contact-us",className:"border-[var(--rv-secondary)]",text:"Schedule a Free Call"})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-4 pt-5",children:[(0,a.jsxs)("div",{children:[M?(0,a.jsx)(o.default,{unoptimized:!0,src:M,alt:"logo",width:120,height:50,priority:!0}):(0,a.jsx)("h1",{className:"text-[var(--rv-primary)] font-bold",children:"Logo"}),(0,a.jsx)("p",{className:"mt-2 py-4",children:null==E?void 0:E.description})]}),(0,a.jsxs)("div",{className:"md:pl-10",children:[(0,a.jsx)("h6",{className:"mb-5 font-bold",children:"Services"}),(0,a.jsx)("ul",{children:r.map((e,r)=>(0,a.jsx)("li",{className:"mb-3",children:(0,a.jsx)(n(),{href:"/services/".concat(e.link),className:"duration-300 transition-all hover:text-[var(--rv-primary-dark)]",children:e.name})},r))})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h6",{className:"mb-4 font-bold",children:"Quick Links"}),(0,a.jsx)("ul",{children:F.map((e,r)=>(0,a.jsx)("li",{className:"mb-3",children:(0,a.jsx)(n(),{href:(null==e?void 0:e.link)||"#",className:"duration-300 transition-all hover:text-[var(--rv-primary-dark)]",children:e.title})},r))})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h6",{className:"mb-5 font-bold",children:"Contact Us"}),(0,a.jsxs)("ul",{children:[(0,a.jsxs)("li",{className:"flex items-center mb-3",children:[(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"w-9 h-9 bg-[var(--rv-bg-secondary)] rounded-full flex items-center justify-center",children:(0,a.jsx)(l.zzu,{className:"text-[var(--rv-primary)]"})})}),L.length?L.map((e,r)=>(0,a.jsx)(n(),{href:"tel:".concat(e),className:"ml-3 hover:underline",children:e.replace(/^\+91\s?/,"+91 ")},r)):(0,a.jsx)(n(),{href:"tel:+91xxxxxxxxxx",className:"ml-3 hover:underline",children:"+91 xxxxxxxxxx"})]}),(0,a.jsxs)("li",{className:"flex items-center mb-3",children:[(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"w-9 h-9 bg-[var(--rv-bg-secondary)] rounded-full flex items-center justify-center",children:(0,a.jsx)(l.ko4,{className:"text-[var(--rv-primary)]"})})}),(0,a.jsx)(n(),{href:"mailto:".concat((null==E?void 0:E.email)||"[email protected]"),className:"ml-3 hover:underline",children:(null==E?void 0:E.email)||"[email protected]"})]}),(0,a.jsxs)("li",{className:"flex items-center",children:[(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"w-9 h-9 bg-[var(--rv-bg-secondary)] rounded-full flex items-center justify-center",children:(0,a.jsx)(l.eVO,{className:"text-[var(--rv-primary)]"})})}),(0,a.jsx)(n(),{href:(null==t?void 0:t.mapurl)||"#",target:"_blank",rel:"noopener noreferrer",className:"ml-3 hover:underline",children:(null==E?void 0:E.address)||"Mumbai, India"})]})]})]})]}),(0,a.jsx)("div",{className:"flex gap-x-3 justify-center flex-wrap",children:i.map((e,r)=>(0,a.jsx)(n(),{href:(null==e?void 0:e.url)||"#",target:"_blank",children:(0,a.jsx)("div",{className:" w-9 h-9 bg-[var(--rv-bg-white)] rounded-full flex items-center justify-center",children:T[String(e.title||"").toLowerCase().replace(/\s+/g," ").trim()]||(0,a.jsx)(c.AnD,{className:"text-[var(--rv-primary)]"})})},r))}),(0,a.jsxs)("div",{className:"text-center flex flex-col gap-3 items-center",children:[(0,a.jsxs)("p",{className:"",children:[null==E?void 0:E.websiteName," is an AMFI Registered Mutual Fund Distributor",A?" \xb7 ARN - ".concat(A):"",P?" \xb7 EUIN - ".concat(P):""]}),(0,a.jsx)("div",{children:(0,a.jsx)("ul",{className:"flex items-center gap-3 flex-wrap",children:I.map((e,r)=>(0,a.jsxs)("li",{className:"flex items-center gap-3",children:[(0,a.jsx)(n(),{href:(null==e?void 0:e.link)||"#",target:e.target||"_self",rel:"noopener noreferrer",children:e.title}),r!==I.length-1&&(0,a.jsx)("span",{children:"|"})]},r))})}),(0,a.jsx)("p",{className:"",children:"Disclaimer: Mutual Fund investments are subject to market r
1isks, read all scheme related documents carefully. The NAVs of the schemes may go up or down depending upon the factors and forces affecting the securities market including the fluctuations in the interest rates. The past performance of the mutual funds is not necessarily indicative of future performance of the schemes. The Mutual Fund is not guaranteeing or assuring any dividend under any of the schemes and the same is subject to the availability and adequacy distributable surplus."}),(0,a.jsxs)("p",{className:"",children:[null==E?void 0:E.websiteName," makes no warranties or representations, express or implied, on products offered through the platform of ",null==E?void 0:E.websiteName,". It accepts no liability for any damages or losses, however, caused, in connection with the use of, or on the reliance of its product or related services. Terms and conditions of the website are applicable. Investments in Securities markets are subject to market risks, read all the related documents carefully before investing."]})]}),(0,a.jsx)("div",{className:"py-4 flex justify-center border-t border-b border-[var(--rv-gray-light)]",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row gap-5 items-center justify-center w-full",children:[(0,a.jsx)("div",{className:"h-16 w-auto rounded-md overflow-hidden",children:(0,a.jsx)(o.default,{unoptimized:!0,src:"/images/amfi-logo.jpg",width:80,height:80,className:"w-full h-full object-cover",alt:"AMFI Logo"})}),(0,a.jsxs)("div",{children:[A&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)("p",{children:"ARN - "}),(0,a.jsx)("p",{children:A})]}),P&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)("p",{children:"EUIN - "}),(0,a.jsx)("p",{children:P})]})]}),(0,a.jsx)("div",{className:"h-16 w-auto rounded-md overflow-hidden",children:(0,a.jsx)(o.default,{unoptimized:!0,src:"/images/mutualfund.png",width:200,height:80,className:"w-full h-full object-cover",alt:"Mutual Fund Logo"})})]})}),(0,a.jsx)("div",{className:"text-center",children:(0,a.jsxs)("div",{className:"w-full flex items-center justify-between gap-5 flex-wrap text-center",children:[(0,a.jsxs)("p",{children:["\xa9 ",new Date().getFullYear()," ",null==E?void 0:E.websiteName," All Rights Reserved."," "]}),(0,a.jsxs)("div",{className:"text-center flex items-center gap-1",children:[(0,a.jsx)("p",{children:" Designed & Developed by "}),(0,a.jsxs)(n(),{href:"https://www.redvisiontechnologies.com/",target:"_blank",className:"duration-300 transition-all underline",children:["REDVision Global Technologies"," "]})]})]})})]})})]})},g={theme1:f,theme2:e=>{let{services:r,sitedata:t,siteData:s,socialMedia:i,arnData:d,showCalculators:m,showYouTube:f,showBlogs:g,showNews:b,showGallery:j,showVideos:y,footerToggles:N={}}=e,w=Array.isArray(d)?d.map(e=>null==e?void 0:e.arn).filter(Boolean):[],k=Array.isArray(d)?d.flatMap(e=>Array.isArray(null==e?void 0:e.euins)?e.euins.map(e=>null==e?void 0:e.euin).filter(Boolean):[null==e?void 0:e.euins].filter(Boolean)):[],C=w.length?w.join(" | "):null,S=k.length?k.join(" | "):null,A=t||s,P=(0,p.A)(),E=e=>e?String(e).split(/[,;]+/).map(e=>e.trim()).filter(Boolean).map(e=>e.replace(/\s+/g,"")):[],M=Array.from(new Set([...E(null==A?void 0:A.mobile),...E(null==A?void 0:A.alternateMobile)])),z={facebook:(0,a.jsx)(c.ok6,{className:"text-[var(--rv-primary)]"}),instagram:(0,a.jsx)(c.ao$,{className:"text-[var(--rv-primary)]"}),youtube:(0,a.jsx)(c.Vk6,{className:"text-[var(--rv-primary)]"}),"you tube":(0,a.jsx)(c.Vk6,{className:"text-[var(--rv-primary)]"}),linkedin:(0,a.jsx)(c.QEs,{className:"text-[var(--rv-primary)]"}),"linked in":(0,a.jsx)(c.QEs,{className:"text-[var(--rv-primary)]"}),"twitter (x)":(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),twitter:(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),x:(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),"x (twitter)":(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),"twitter x":(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),reddit:(0,a.jsx)(c.Fhi,{className:"text-[var(--rv-primary)]"}),whatsapp:(0,a.jsx)(c.EcP,{className:"text-[var(--rv-primary)]"}),"whats app":(0,a.jsx)(c.EcP,{className:"text-[var(--rv-primary)]"})},L=v(u,{showCalculators:m,showYouTube:f,showBlogs:g,showNews:b,showGallery:j,showVideos:y,footerToggles:N}),T=h(x,{footerToggles:N});return(0,a.jsxs)("footer",{className:"bg-[var(--rv-bg-black)] text-[var(--rv-white)] px-4 py-6 pt-10 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,a.jsx)("img",{src:"/images/left.svg",className:"absolute left-0 top-0 -z-10 max-w-[1612px] brightness-100 filter invert opacity-5 hidden md:block",alt:""}),(0,a.jsx)("img",{src:"/images/right.svg",className:"absolute right-0 top-0 -z-10 max-w-[1612px] brightness-100 filter invert opacity-5 hidden md:block",alt:""}),(0,a.jsxs)("div",{className:"mx-auto w-full max-w-7xl flex flex-col gap-5 ",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-4 ",children:[(0,a.jsxs)("div",{children:[P?(0,a.jsx)(o.default,{unoptimized:!0,src:P,alt:"logo",width:120,height:50,priority:!0}):(0,a.jsx)("h1",{className:"text-[var(--rv-primary)] font-bold",children:"Logo"}),(0,a.jsx)("p",{className:"mt-2 py-4",children:null==A?void 0:A.description})]}),(0,a.jsxs)("div",{className:"md:pl-10",children:[(0,a.jsx)("h6",{className:"mb-5 font-bold",children:"Services"}),(0,a.jsx)("ul",{children:r.map((e,r)=>(0,a.jsx)("li",{className:"mb-3",children:(0,a.jsx)(n(),{href:"/services/".concat(e.link),className:"duration-300 transition-all hover:text-[var(--rv-primary)]",children:e.name})},r))})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h6",{className:"mb-4 font-bold",children:"Qu
1ick Links"}),(0,a.jsx)("ul",{children:L.map((e,r)=>(0,a.jsx)("li",{className:"mb-3",children:(0,a.jsx)(n(),{href:(null==e?void 0:e.link)||"#",className:"duration-300 transition-all hover:text-[var(--rv-primary)]",children:e.title})},r))})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h6",{className:"mb-5 font-bold",children:"Contact Us"}),(0,a.jsxs)("ul",{children:[(0,a.jsxs)("li",{className:"flex items-center mb-3",children:[(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"w-9 h-9 bg-[var(--rv-bg-secondary)] rounded-full flex items-center justify-center",children:(0,a.jsx)(l.zzu,{className:"text-[var(--rv-primary)]"})})}),M.length?M.map((e,r)=>(0,a.jsx)(n(),{href:"tel:".concat(e),className:"ml-3 hover:underline",children:e.replace(/^\+91\s?/,"+91 ")},r)):(0,a.jsx)(n(),{href:"tel:+91xxxxxxxxxx",className:"ml-3 hover:underline",children:"+91 xxxxxxxxxx"})]}),(0,a.jsxs)("li",{className:"flex items-center mb-3",children:[(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"w-9 h-9 bg-[var(--rv-bg-secondary)] rounded-full flex items-center justify-center",children:(0,a.jsx)(l.ko4,{className:"text-[var(--rv-primary)]"})})}),(0,a.jsx)(n(),{href:"mailto:".concat((null==A?void 0:A.email)||"[email protected]"),className:"ml-3 hover:underline",children:(null==A?void 0:A.email)||"[email protected]"})]}),(0,a.jsxs)("li",{className:"flex items-center",children:[(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"w-9 h-9 bg-[var(--rv-bg-secondary)] rounded-full flex items-center justify-center",children:(0,a.jsx)(l.eVO,{className:"text-[var(--rv-primary)]"})})}),(0,a.jsx)(n(),{href:(null==t?void 0:t.mapurl)||"#",target:"_blank",rel:"noopener noreferrer",className:"ml-3 hover:underline",children:(null==A?void 0:A.address)||"Mumbai, India"})]})]})]})]}),(0,a.jsx)("div",{className:"flex gap-x-3 justify-center flex-wrap",children:i.map((e,r)=>(0,a.jsx)(n(),{href:(null==e?void 0:e.url)||"#",target:"_blank",children:(0,a.jsx)("div",{className:" w-9 h-9 bg-[var(--rv-bg-white)] rounded-full flex items-center justify-center",children:z[String(e.title||"").toLowerCase().replace(/\s+/g," ").trim()]||(0,a.jsx)(c.AnD,{className:"text-[var(--rv-primary)]"})})},r))}),(0,a.jsxs)("div",{className:"text-center flex flex-col gap-3 items-center",children:[(0,a.jsxs)("p",{className:"",children:[null==A?void 0:A.websiteName," is an AMFI Registered Mutual Fund Distributor",C?" \xb7 ARN - ".concat(C):"",S?" \xb7 EUIN - ".concat(S):""]}),(0,a.jsx)("div",{children:(0,a.jsx)("ul",{className:"flex items-center gap-3 flex-wrap",children:T.map((e,r)=>(0,a.jsxs)("li",{className:"flex items-center gap-3",children:[(0,a.jsx)(n(),{href:(null==e?void 0:e.link)||"#",target:e.target||"_self",rel:"noopener noreferrer",children:e.title}),r!==T.length-1&&(0,a.jsx)("span",{children:"|"})]},r))})}),(0,a.jsx)("p",{className:"",children:"Disclaimer: Mutual Fund investments are subject to market risks, read all scheme related documents carefully. The NAVs of the schemes may go up or down depending upon the factors and forces affecting the securities market including the fluctuations in the interest rates. The past performance of the mutual funds is not necessarily indicative of future performance of the schemes. The Mutual Fund is not guaranteeing or assuring any dividend under any of the schemes and the same is subject to the availability and adequacy distributable surplus."}),(0,a.jsxs)("p",{className:"",children:[null==A?void 0:A.websiteName," makes no warranties or representations, express or implied, on products offered through the platform of ",null==A?void 0:A.websiteName,". It accepts no liability for any damages or losses, however, caused, in connection with the use of, or on the reliance of its product or related services. Terms and conditions of the website are applicable. Investments in Securities markets are subject to market risks, read all the related documents carefully before investing."]})]}),(0,a.jsx)("div",{className:"py-4 flex justify-center border-t border-b border-[var(--rv-gray-light)]",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row gap-5 items-center justify-center w-full",children:[(0,a.jsx)("div",{className:"h-16 w-auto rounded-md overflow-hidden",children:(0,a.jsx)(o.default,{unoptimized:!0,src:"/images/amfi-logo.jpg",width:80,height:80,className:"w-full h-full object-cover",alt:"AMFI Logo"})}
1),(0,a.jsxs)("div",{children:[C&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)("p",{children:"ARN - "}),(0,a.jsx)("p",{children:C})]}),S&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)("p",{children:"EUIN - "}),(0,a.jsx)("p",{children:S})]})]}),(0,a.jsx)("div",{className:"h-16 w-auto rounded-md overflow-hidden",children:(0,a.jsx)(o.default,{unoptimized:!0,src:"/images/mutualfund.png",width:200,height:80,className:"w-full h-full object-cover",alt:"Mutual Fund Logo"})})]})}),(0,a.jsx)("div",{className:"text-center",children:(0,a.jsxs)("div",{className:"w-full flex items-center justify-between gap-5 flex-wrap text-center",children:[(0,a.jsxs)("p",{children:["\xa9 ",new Date().getFullYear()," ",null==A?void 0:A.websiteName," All Rights Reserved."]}),(0,a.jsxs)("div",{className:"text-center flex items-center gap-1",children:[(0,a.jsx)("p",{children:"Designed & Developed by "}),(0,a.jsxs)(n(),{href:"https://www.redvisiontechnologies.com/",target:"_blank",className:"duration-300 transition-all hover:underline",children:["REDVision Global Technologies"," "]})]})]})})]})]})},theme3:e=>{let{services:r,sitedata:t,siteData:s,socialMedia:i,arnData:d,showCalculators:m,showYouTube:f,showBlogs:g,showNews:b,showGallery:j,showVideos:y,footerToggles:N={}}=e,w=Array.isArray(d)?d.map(e=>null==e?void 0:e.arn).filter(Boolean):[],k=Array.isArray(d)?d.flatMap(e=>Array.isArray(null==e?void 0:e.euins)?e.euins.map(e=>null==e?void 0:e.euin).filter(Boolean):[null==e?void 0:e.euins].filter(Boolean)):[],C=w.length?w.join(" | "):null,S=k.length?k.join(" | "):null,A=t||s,P=(0,p.A)(),E=e=>e?String(e).split(/[,;]+/).map(e=>e.trim()).filter(Boolean).map(e=>e.replace(/\s+/g,"")):[],M=Array.from(new Set([...E(null==A?void 0:A.mobile),...E(null==A?void 0:A.alternateMobile)])),z={facebook:(0,a.jsx)(c.ok6,{className:"text-[var(--rv-primary)]"}),instagram:(0,a.jsx)(c.ao$,{className:"text-[var(--rv-primary)]"}),youtube:(0,a.jsx)(c.Vk6,{className:"text-[var(--rv-primary)]"}),"you tube":(0,a.jsx)(c.Vk6,{className:"text-[var(--rv-primary)]"}),linkedin:(0,a.jsx)(c.QEs,{className:"text-[var(--rv-primary)]"}),"linked in":(0,a.jsx)(c.QEs,{className:"text-[var(--rv-primary)]"}),"twitter (x)":(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),twitter:(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),x:(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),"x (twitter)":(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),"twitter x":(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),reddit:(0,a.jsx)(c.Fhi,{className:"text-[var(--rv-primary)]"}),whatsapp:(0,a.jsx)(c.EcP,{className:"text-[var(--rv-primary)]"}),"whats app":(0,a.jsx)(c.EcP,{className:"text-[var(--rv-primary)]"})},L=v(u,{showCalculators:m,showYouTube:f,showBlogs:g,showNews:b,showGallery:j,showVideos:y,footerToggles:N}),T=h(x,{footerToggles:N});return(0,a.jsxs)("footer",{className:"bg-[var(--rv-bg-primary)] text-[var(--rv-white)] px-4 py-6 pt-10 relative z-10 before:content-[''] before:absolute before:inset-0 before:bg-[url('/images/pricing-bg-image.png')] before:bg-cover before:bg-center before:-z-10",children:[(0,a.jsx)("img",{src:"/images/left.svg",className:"absolute left-0 top-0 -z-10 max-w-[1612px] brightness-100 filter invert opacity-5 hidden md:block",alt:""}),(0,a.jsx)("img",{src:"/images/right.svg",className:"absolute right-0 top-0 -z-10 max-w-[1612px] brightness-100 filter invert opacity-5 hidden md:block",alt:""}),(0,a.jsxs)("div",{className:"mx-auto w-full max-w-7xl flex flex-col gap-5 ",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-4 ",children:[(0,a.jsxs)("div",{children:[P?(0,a.jsx)(o.default,{unoptimized:!0,src:P,alt:"logo",width:120,height:50,priority:!0}):(0,a.jsx)("h1",{className:"text-[var(--rv-white)] font-bold",children:"Logo"}),(0,a.jsx)("p",{className:"mt-2 py-4",children:null==A?void 0:A.description})]}),(0,a.jsxs)("div",{className:"md:pl-10",children:[(0,a.jsx)("h6",{className:"mb-5 font-bold",children:"Services"}),(0,a.jsx)("ul",{children:r.map((e,r)=>(0,a.jsx)("li",{className:"mb-3",children:(0,a.jsx)(n(),{href:"/services/".concat(e.link),className:"duration-300 transition-all hover:text-[var(--rv-secondary)]",children:e.name})},r))})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h6",{className:"mb-4 font-bold",children:"Qu
1ick Links"}),(0,a.jsx)("ul",{children:L.map((e,r)=>(0,a.jsx)("li",{className:"mb-3",children:(0,a.jsx)(n(),{href:(null==e?void 0:e.link)||"#",className:"duration-300 transition-all hover:text-[var(--rv-secondary)]",children:e.title})},r))})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h6",{className:"mb-5 font-bold",children:"Contact Us"}),(0,a.jsxs)("ul",{children:[(0,a.jsxs)("li",{className:"flex items-center mb-3",children:[(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"w-9 h-9 bg-[var(--rv-bg-white)] rounded-full flex items-center justify-center",children:(0,a.jsx)(l.zzu,{className:"text-[var(--rv-primary)]"})})}),M.length?M.map((e,r)=>(0,a.jsx)(n(),{href:"tel:".concat(e),className:"ml-3 hover:underline",children:e.replace(/^\+91\s?/,"+91 ")},r)):(0,a.jsx)(n(),{href:"tel:+91xxxxxxxxxx",className:"ml-3 hover:underline",children:"+91 xxxxxxxxxx"})]}),(0,a.jsxs)("li",{className:"flex items-center mb-3",children:[(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"w-9 h-9 bg-[var(--rv-bg-white)] rounded-full flex items-center justify-center",children:(0,a.jsx)(l.ko4,{className:"text-[var(--rv-primary)]"})})}),(0,a.jsx)(n(),{href:"mailto:".concat((null==A?void 0:A.email)||"[email protected]"),className:"ml-3 hover:underline",children:(null==A?void 0:A.email)||"[email protected]"})]}),(0,a.jsxs)("li",{className:"flex items-center",children:[(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"w-9 h-9 bg-[var(--rv-bg-white)] rounded-full flex items-center justify-center",children:(0,a.jsx)(l.eVO,{className:"text-[var(--rv-primary)]"})})}),(0,a.jsx)(n(),{href:(null==t?void 0:t.mapurl)||"#",target:"_blank",rel:"noopener noreferrer",className:"ml-3 hover:underline",children:(null==A?void 0:A.address)||"Mumbai, India"})]})]})]})]}),(0,a.jsx)("div",{className:"flex gap-x-3 justify-center flex-wrap",children:i.map((e,r)=>(0,a.jsx)(n(),{href:(null==e?void 0:e.url)||"#",target:"_blank",children:(0,a.jsx)("div",{className:" w-9 h-9 bg-[var(--rv-bg-white)] rounded-full flex items-center justify-center",children:z[String(e.title||"").toLowerCase().replace(/\s+/g," ").trim()]||(0,a.jsx)(c.AnD,{className:"text-[var(--rv-primary)]"})})},r))}),(0,a.jsxs)("div",{className:"text-center flex flex-col gap-3 items-center",children:[(0,a.jsxs)("p",{className:"",children:[null==A?void 0:A.websiteName," is an AMFI Registered Mutual Fund Distributor",C?" \xb7 ARN - ".concat(C):"",S?" \xb7 EUIN - ".concat(S):""]}),(0,a.jsx)("div",{children:(0,a.jsx)("ul",{className:"flex items-center gap-3 flex-wrap",children:T.map((e,r)=>(0,a.jsxs)("li",{className:"flex items-center gap-3",children:[(0,a.jsx)(n(),{href:(null==e?void 0:e.link)||"#",target:e.target||"_self",rel:"noopener noreferrer",children:e.title}),r!==T.length-1&&(0,a.jsx)("span",{children:"|"})]},r))})}),(0,a.jsx)("p",{className:"",children:"Disclaimer: Mutual Fund investments are subject to market risks, read all scheme related documents carefully. The NAVs of the schemes may go up or down depending upon the factors and forces affecting the securities market including the fluctuations in the interest rates. The past performance of the mutual funds is not necessarily indicative of future performance of the schemes. The Mutual Fund is not guaranteeing or assuring any dividend under any of the schemes and the same is subject to the availability and adequacy distributable surplus."}),(0,a.jsxs)("p",{className:"",children:[null==A?void 0:A.websiteName," makes no warranties or representations, express or implied, on products offered through the platform of ",null==A?void 0:A.websiteName,". It accepts no liability for any damages or losses, however, caused, in connection with the use of, or on the reliance of its product or related services. Terms and conditions of the website are applicable. Investments in Securities markets are subject to market risks, read all the related documents carefully before investing."]})]}),(0,a.jsx)("div",{className:"py-4 flex justify-center border-t border-b border-[var(--rv-gray-light)]",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row gap-5 items-center justify-center w-full",children:[(0,a.jsx)("div",{className:"h-16 w-auto rounded-md overflow-hidden",children:(0,a.jsx)(o.default,{unoptimized:!0,src:"/images/amfi-logo.jpg",width:80,height:80,className:"w-full h-full object-cover",alt:"AMFI Logo"})}
1),(0,a.jsxs)("div",{children:[C&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)("p",{children:"ARN - "}),(0,a.jsx)("p",{children:C})]}),S&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)("p",{children:"EUIN - "}),(0,a.jsx)("p",{children:S})]})]}),(0,a.jsx)("div",{className:"h-16 w-auto rounded-md overflow-hidden",children:(0,a.jsx)(o.default,{unoptimized:!0,src:"/images/mutualfund.png",width:200,height:80,className:"w-full h-full object-cover",alt:"Mutual Fund Logo"})})]})}),(0,a.jsx)("div",{className:"text-center",children:(0,a.jsxs)("div",{className:"w-full flex items-center justify-between gap-5 flex-wrap text-center",children:[(0,a.jsxs)("p",{children:["\xa9 ",new Date().getFullYear()," ",null==A?void 0:A.websiteName," All Rights Reserved."]}),(0,a.jsxs)("div",{className:"text-center flex items-center gap-1",children:[(0,a.jsx)("p",{children:"Designed & Developed by "}),(0,a.jsxs)(n(),{href:"https://www.redvisiontechnologies.com/",target:"_blank",className:"duration-300 transition-all hover:underline",children:["REDVision Global Technologies"," "]})]})]})})]})]})},theme4:e=>{let{services:r,sitedata:t,siteData:s,socialMedia:i,arnData:d,showCalculators:m,showYouTube:f,showBlogs:g,showNews:b,showGallery:j,showVideos:y,footerToggles:N={}}=e,w=Array.isArray(d)?d.map(e=>null==e?void 0:e.arn).filter(Boolean):[],k=Array.isArray(d)?d.flatMap(e=>Array.isArray(null==e?void 0:e.euins)?e.euins.map(e=>null==e?void 0:e.euin).filter(Boolean):[null==e?void 0:e.euins].filter(Boolean)):[],C=w.length?w.join(" | "):null,S=k.length?k.join(" | "):null,A=t||s,P=(0,p.A)(),E=e=>e?String(e).split(/[,;]+/).map(e=>e.trim()).filter(Boolean).map(e=>e.replace(/\s+/g,"")):[],M=Array.from(new Set([...E(null==A?void 0:A.mobile),...E(null==A?void 0:A.alternateMobile)])),z={facebook:(0,a.jsx)(c.ok6,{className:"text-[var(--rv-primary)]"}),instagram:(0,a.jsx)(c.ao$,{className:"text-[var(--rv-primary)]"}),youtube:(0,a.jsx)(c.Vk6,{className:"text-[var(--rv-primary)]"}),"you tube":(0,a.jsx)(c.Vk6,{className:"text-[var(--rv-primary)]"}),linkedin:(0,a.jsx)(c.QEs,{className:"text-[var(--rv-primary)]"}),"linked in":(0,a.jsx)(c.QEs,{className:"text-[var(--rv-primary)]"}),"twitter (x)":(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),twitter:(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),x:(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),"x (twitter)":(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),"twitter x":(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),reddit:(0,a.jsx)(c.Fhi,{className:"text-[var(--rv-primary)]"}),whatsapp:(0,a.jsx)(c.EcP,{className:"text-[var(--rv-primary)]"}),"whats app":(0,a.jsx)(c.EcP,{className:"text-[var(--rv-primary)]"})},L=v(u,{showCalculators:m,showYouTube:f,showBlogs:g,showNews:b,showGallery:j,showVideos:y,footerToggles:N}),T=h(x,{footerToggles:N});return(0,a.jsxs)("footer",{className:"text-[var(--rv-white)] px-4 py-6 pt-10 relative z-10 bg-gradient-to-tl from-[var(--rv-bg-secondary)] via-[var(--rv-bg-secondary)] to-[var(--rv-bg-primary)] overflow-hidden",children:[(0,a.jsx)("img",{src:"/images/left.svg",className:"absolute left-0 top-0 -z-10 max-w-[1612px] brightness-100 filter invert opacity-15 hidden md:block",alt:""}),(0,a.jsx)("img",{src:"/images/right.svg",className:"absolute right-0 top-0 -z-10 max-w-[1612px] brightness-100 filter invert opacity-15 hidden md:block",alt:""}),(0,a.jsxs)("div",{className:"mx-auto w-full max-w-7xl flex flex-col gap-5 ",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-4 ",children:[(0,a.jsxs)("div",{children:[P?(0,a.jsx)(o.default,{unoptimized:!0,src:P,alt:"logo",width:120,height:50,priority:!0}):(0,a.jsx)("h1",{className:"text-[var(--rv-primary)] font-bold",children:"Logo"}),(0,a.jsx)("p",{className:"mt-2 py-4",children:null==A?void 0:A.description})]}),(0,a.jsxs)("div",{className:"md:pl-10",children:[(0,a.jsx)("h6",{className:"mb-5 font-bold",children:"Services"}),(0,a.jsx)("ul",{children:r.map((e,r)=>(0,a.jsx)("li",{className:"mb-3",children:(0,a.jsx)(n(),{href:"/services/".concat(e.link),className:"duration-300 transition-all hover:text-[var(--rv-primary)]",children:e.name})},r))})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h6",{className:"mb-4 font-bold",children:"Qu
1ick Links"}),(0,a.jsx)("ul",{children:L.map((e,r)=>(0,a.jsx)("li",{className:"mb-3",children:(0,a.jsx)(n(),{href:(null==e?void 0:e.link)||"#",className:"duration-300 transition-all hover:text-[var(--rv-primary)]",children:e.title})},r))})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h6",{className:"mb-5 font-bold",children:"Contact Us"}),(0,a.jsxs)("ul",{children:[(0,a.jsxs)("li",{className:"flex items-center mb-3",children:[(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"w-9 h-9 bg-[var(--rv-bg-white)] rounded-full flex items-center justify-center",children:(0,a.jsx)(l.zzu,{className:"text-[var(--rv-primary)]"})})}),M.length?M.map((e,r)=>(0,a.jsx)(n(),{href:"tel:".concat(e),className:"ml-3 hover:underline",children:e.replace(/^\+91\s?/,"+91 ")},r)):(0,a.jsx)(n(),{href:"tel:+91xxxxxxxxxx",className:"ml-3 hover:underline",children:"+91 xxxxxxxxxx"})]}),(0,a.jsxs)("li",{className:"flex items-center mb-3",children:[(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"w-9 h-9 bg-[var(--rv-bg-white)] rounded-full flex items-center justify-center",children:(0,a.jsx)(l.ko4,{className:"text-[var(--rv-primary)]"})})}),(0,a.jsx)(n(),{href:"mailto:".concat((null==A?void 0:A.email)||"[email protected]"),className:"ml-3 hover:underline",children:(null==A?void 0:A.email)||"[email protected]"})]}),(0,a.jsxs)("li",{className:"flex items-center",children:[(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"w-9 h-9 bg-[var(--rv-bg-white)] rounded-full flex items-center justify-center",children:(0,a.jsx)(l.eVO,{className:"text-[var(--rv-primary)]"})})}),(0,a.jsx)(n(),{href:(null==t?void 0:t.mapurl)||"#",target:"_blank",rel:"noopener noreferrer",className:"ml-3 hover:underline",children:(null==A?void 0:A.address)||"Mumbai, India"})]})]})]})]}),(0,a.jsx)("div",{className:"flex gap-x-3 justify-center flex-wrap",children:i.map((e,r)=>(0,a.jsx)(n(),{href:(null==e?void 0:e.url)||"#",target:"_blank",children:(0,a.jsx)("div",{className:" w-9 h-9 bg-[var(--rv-bg-white)] rounded-full flex items-center justify-center",children:z[String(e.title||"").toLowerCase().replace(/\s+/g," ").trim()]||(0,a.jsx)(c.AnD,{className:"text-[var(--rv-primary)]"})})},r))}),(0,a.jsxs)("div",{className:"text-center flex flex-col gap-3 items-center",children:[(0,a.jsxs)("p",{className:"",children:[null==A?void 0:A.websiteName," is an AMFI Registered Mutual Fund Distributor",C?" \xb7 ARN - ".concat(C):"",S?" \xb7 EUIN - ".concat(S):""]}),(0,a.jsx)("div",{children:(0,a.jsx)("ul",{className:"flex items-center gap-3 flex-wrap",children:T.map((e,r)=>(0,a.jsxs)("li",{className:"flex items-center gap-3",children:[(0,a.jsx)(n(),{href:(null==e?void 0:e.link)||"#",target:e.target||"_self",rel:"noopener noreferrer",children:e.title}),r!==T.length-1&&(0,a.jsx)("span",{children:"|"})]},r))})}),(0,a.jsx)("p",{className:"",children:"Disclaimer: Mutual Fund investments are subject to market risks, read all scheme related documents carefully. The NAVs of the schemes may go up or down depending upon the factors and forces affecting the securities market including the fluctuations in the interest rates. The past performance of the mutual funds is not necessarily indicative of future performance of the schemes. The Mutual Fund is not guaranteeing or assuring any dividend under any of the schemes and the same is subject to the availability and adequacy distributable surplus."}),(0,a.jsxs)("p",{className:"",children:[null==A?void 0:A.websiteName," makes no warranties or representations, express or implied, on products offered through the platform of ",null==A?void 0:A.websiteName,". It accepts no liability for any damages or losses, however, caused, in connection with the use of, or on the reliance of its product or related services. Terms and conditions of the website are applicable. Investments in Securities markets are subject to market risks, read all the related documents carefully before investing."]})]}),(0,a.jsx)("div",{className:"py-4 flex justify-center border-t border-b border-[var(--rv-gray-light)]",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row gap-5 items-center justify-center w-full",children:[(0,a.jsx)("div",{className:"h-16 w-auto rounded-md overflow-hidden",children:(0,a.jsx)(o.default,{unoptimized:!0,src:"/images/amfi-logo.jpg",width:80,height:80,className:"w-full h-full object-cover",alt:"AMFI Logo"})}
1),(0,a.jsxs)("div",{children:[C&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)("p",{children:"ARN - "}),(0,a.jsx)("p",{children:C})]}),S&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)("p",{children:"EUIN - "}),(0,a.jsx)("p",{children:S})]})]}),(0,a.jsx)("div",{className:"h-16 w-auto rounded-md overflow-hidden",children:(0,a.jsx)(o.default,{unoptimized:!0,src:"/images/mutualfund.png",width:200,height:80,className:"w-full h-full object-cover",alt:"Mutual Fund Logo"})})]})}),(0,a.jsx)("div",{className:"text-center",children:(0,a.jsxs)("div",{className:"w-full flex items-center justify-between gap-5 flex-wrap text-center",children:[(0,a.jsxs)("p",{children:["\xa9 ",new Date().getFullYear()," ",null==A?void 0:A.websiteName," All Rights Reserved."]}),(0,a.jsxs)("div",{className:"text-center flex items-center gap-1",children:[(0,a.jsx)("p",{children:"Designed & Developed by "}),(0,a.jsxs)(n(),{href:"https://www.redvisiontechnologies.com/",target:"_blank",className:"duration-300 transition-all hover:underline",children:["REDVision Global Technologies"," "]})]})]})})]})]})},theme5:e=>{let{services:r,sitedata:t,siteData:s,socialMedia:i,arnData:d,showCalculators:m,showYouTube:f,showBlogs:g,showNews:b,showGallery:j,showVideos:y,footerToggles:N={}}=e,w=Array.isArray(d)?d.map(e=>null==e?void 0:e.arn).filter(Boolean):[],k=Array.isArray(d)?d.flatMap(e=>Array.isArray(null==e?void 0:e.euins)?e.euins.map(e=>null==e?void 0:e.euin).filter(Boolean):[null==e?void 0:e.euins].filter(Boolean)):[],C=w.length?w.join(" | "):null,S=k.length?k.join(" | "):null,A=t||s,P=(0,p.A)(),E=e=>e?String(e).split(/[,;]+/).map(e=>e.trim()).filter(Boolean).map(e=>e.replace(/\s+/g,"")):[],M=Array.from(new Set([...E(null==A?void 0:A.mobile),...E(null==A?void 0:A.alternateMobile)])),z={facebook:(0,a.jsx)(c.ok6,{className:"text-[var(--rv-primary)]"}),instagram:(0,a.jsx)(c.ao$,{className:"text-[var(--rv-primary)]"}),youtube:(0,a.jsx)(c.Vk6,{className:"text-[var(--rv-primary)]"}),"you tube":(0,a.jsx)(c.Vk6,{className:"text-[var(--rv-primary)]"}),linkedin:(0,a.jsx)(c.QEs,{className:"text-[var(--rv-primary)]"}),"linked in":(0,a.jsx)(c.QEs,{className:"text-[var(--rv-primary)]"}),"twitter (x)":(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),twitter:(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),x:(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),"x (twitter)":(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),"twitter x":(0,a.jsx)(c.TCj,{className:"text-[var(--rv-primary)]"}),reddit:(0,a.jsx)(c.Fhi,{className:"text-[var(--rv-primary)]"}),whatsapp:(0,a.jsx)(c.EcP,{className:"text-[var(--rv-primary)]"}),"whats app":(0,a.jsx)(c.EcP,{className:"text-[var(--rv-primary)]"})},L=v(u,{showCalculators:m,showYouTube:f,showBlogs:g,showNews:b,showGallery:j,showVideos:y,footerToggles:N}),T=h(x,{footerToggles:N});return(0,a.jsxs)("footer",{className:"bg-[var(--rv-bg-secondary)] text-[var(--rv-white)] px-4 py-6 pt-10 relative z-10 overflow-hidden",children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 md:-translate-x-1/2 -z-10 w-1/2 md:h-3/4",children:(0,a.jsx)("img",{src:"/images/footer.svg",className:"w-full h-full object-contain brightness-0 filter invert",alt:"footer.svg"})}),(0,a.jsx)("div",{className:"absolute bottom-0 md:top-0 right-0 md:translate-x-1/2 -z-10 w-1/2 md:h-3/4",children:(0,a.jsx)("img",{src:"/images/footer.svg",className:"w-full h-full object-contain brightness-0 filter invert",alt:"footer.svg"})}),(0,a.jsxs)("div",{className:"mx-auto w-full max-w-7xl flex flex-col gap-5 ",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-4 ",children:[(0,a.jsxs)("div",{children:[P?(0,a.jsx)(o.default,{className:"p-2 bg-[var(--rv-white)] rounded",unoptimized:!0,src:P,alt:"logo",width:120,height:50,priority:!0}):(0,a.jsx)("h1",{className:"text-[var(--rv-primary)] font-bold",children:"Logo"}),(0,a.jsx)("p",{className:"mt-2",children:null==A?void 0:A.description})]}),(0,a.jsxs)("div",{className:"md:pl-10",children:[(0,a.jsx)("h6",{className:"mb-5 font-bold",children:"Services"}),(0,a.jsx)("ul",{children:r.map((e,r)=>(0,a.jsx)("li",{className:"mb-3",children:(0,a.jsx)(n(),{href:"/services/".concat(e.link),className:"duration-300 transition-all hover:text-[var(--rv-primary)]",children:e.name})},r))})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h6",{className:"mb-4 font-bold",children:"Qu
1ick Links"}),(0,a.jsx)("ul",{children:L.map((e,r)=>(0,a.jsx)("li",{className:"mb-3",children:(0,a.jsx)(n(),{href:(null==e?void 0:e.link)||"#",className:"duration-300 transition-all hover:text-[var(--rv-primary)]",children:e.title})},r))})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h6",{className:"mb-5 font-bold",children:"Contact Us"}),(0,a.jsxs)("ul",{children:[(0,a.jsxs)("li",{className:"flex items-start mb-3",children:[(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"w-9 h-9 bg-[var(--rv-bg-white)] rounded-full flex items-center justify-center",children:(0,a.jsx)(l.zzu,{className:"text-[var(--rv-primary)]"})})}),(0,a.jsx)("div",{className:"ml-3 flex flex-col space-y-1",children:M.length?M.map((e,r)=>(0,a.jsx)("a",{href:"tel:".concat(e),className:"hover:underline",children:e.replace(/^\+91\s?/,"+91 ")},r)):(0,a.jsx)("a",{href:"tel:+91xxxxxxxxxx",className:"hover:underline",children:"+91 xxxxxxxxxx"})})]}),(0,a.jsxs)("li",{className:"flex items-center mb-3",children:[(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"w-9 h-9 bg-[var(--rv-bg-white)] rounded-full flex items-center justify-center",children:(0,a.jsx)(l.ko4,{className:"text-[var(--rv-primary)]"})})}),(0,a.jsx)("a",{href:"mailto:".concat((null==A?void 0:A.email)||"[email protected]"),className:"ml-3 hover:underline",children:(null==A?void 0:A.email)||"[email protected]"})]}),(0,a.jsxs)("li",{className:"flex items-center",children:[(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"w-9 h-9 bg-[var(--rv-bg-white)] rounded-full flex items-center justify-center",children:(0,a.jsx)(l.eVO,{className:"text-[var(--rv-primary)]"})})}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("a",{href:(null==t?void 0:t.mapurl)||"#",target:"_blank",rel:"noopener noreferrer",className:"ml-3 hover:underline",children:(null==A?void 0:A.address)||"Mumbai, India"}),(0,a.jsx)("a",{href:"https://maps.app.goo.gl/Aop4aRQz6kQRsogd8",target:"_blank",rel:"noopener noreferrer",className:"ml-3 hover:underline",children:"#561, 5th Floor, Jubliee Walk, Sector 70, Mohali "})]})]})]})]})]}),(0,a.jsx)("div",{className:"flex gap-x-3 justify-center flex-wrap",children:i.map((e,r)=>(0,a.jsx)(n(),{href:(null==e?void 0:e.url)||"#",target:"_blank",children:(0,a.jsx)("div",{className:" w-9 h-9 bg-[var(--rv-bg-white)] rounded-full flex items-center justify-center",children:z[String(e.title||"").toLowerCase().replace(/\s+/g," ").trim()]||(0,a.jsx)(c.AnD,{className:"text-[var(--rv-primary)]"})})},r))}),(0,a.jsxs)("div",{className:"text-center flex flex-col gap-3 items-center",children:[(0,a.jsxs)("p",{className:"",children:[null==A?void 0:A.websiteName," is an AMFI Registered Mutual Fund Distributor",C?" \xb7 ARN - ".concat(C):"",S?" \xb7 EUIN - ".concat(S):""]}),(0,a.jsx)("div",{children:(0,a.jsx)("ul",{className:"flex justify-center items-center gap-3 flex-wrap",children:T.map((e,r)=>(0,a.jsxs)("li",{className:"flex items-center gap-3",children:[(0,a.jsx)(n(),{href:(null==e?void 0:e.link)||"#",target:e.target||"_self",rel:"noopener noreferrer",children:e.title}),r!==T.length-1&&(0,a.jsx)("span",{children:"|"})]},r))})}),(0,a.jsx)("p",{className:"",children:"Disclaimer: Mutual Fund investments are subject to market risks, read all scheme related documents carefully. The NAVs of the schemes may go up or down depending upon the factors and forces affecting the securities market including the fluctuations in the interest rates. The past performance of the mutual funds is not necessarily indicative of future performance of the schemes. The Mutual Fund is not guaranteeing or assuring any dividend under any of the schemes and the same is subject to the availability and adequacy distributable surplus."}),(0,a.jsxs)("p",{className:"",children:[null==A?void 0:A.websiteName," makes no warranties or representations, express or implied, on products offered through the platform of ",null==A?void 0:A.websiteName,". It accepts no liability for any damages or losses, however, caused, in connection with the use of, or on the reliance of its product or related services. Terms and conditions of the website are applicable. Investments in Securities markets are subject to market r
1isks, read all the related documents carefully before investing."]})]}),(0,a.jsx)("div",{className:"py-4 flex justify-center border-t border-b border-[var(--rv-gray-light)]",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row gap-5 items-center justify-center w-full",children:[(0,a.jsx)("div",{className:"h-16 w-auto rounded-md overflow-hidden",children:(0,a.jsx)(o.default,{unoptimized:!0,src:"/images/amfi-logo.jpg",width:80,height:80,className:"w-full h-full object-cover",alt:"AMFI Logo"})}),(0,a.jsxs)("div",{children:[C&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)("p",{children:"ARN - "}),(0,a.jsx)("p",{children:C})]}),S&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)("p",{children:"EUIN - "}),(0,a.jsx)("p",{children:S})]})]}),(0,a.jsx)("div",{className:"h-16 w-auto rounded-md overflow-hidden",children:(0,a.jsx)(o.default,{unoptimized:!0,src:"/images/mutualfund.png",width:200,height:80,className:"w-full h-full object-cover",alt:"Mutual Fund Logo"})})]})}),(0,a.jsx)("div",{className:"text-center",children:(0,a.jsxs)("div",{className:"w-full flex items-center justify-between gap-5 flex-wrap text-center",children:[(0,a.jsxs)("p",{children:["\xa9 ",new Date().getFullYear()," ",null==A?void 0:A.websiteName," All Rights Reserved."]}),(0,a.jsxs)("div",{className:"text-center flex items-center gap-1",children:[(0,a.jsx)("p",{children:"Designed & Developed by "}),(0,a.jsxs)(n(),{href:"https://www.redvisiontechnologies.com/",target:"_blank",className:"duration-300 transition-all hover:underline",children:["REDVision Global Technologies"," "]})]})]})})]})]})}},b=["Mutual Funds","Alternative Investment Funds","Insurance","Estate Planning","NRI Services","Fixed Deposits","Loans"];function j(e){let{services:r,sitedata:t,siteData:l,socialMedia:i,arnData:n,showCalculators:o,showYouTube:c,showBlogs:d,showNews:m,showGallery:u,showVideos:v,footerToggles:x={}}=e,{theme:h}=(0,s.D)(),p=Array.isArray(r)?[...r].sort((e,r)=>{let t=b.indexOf(e.name),a=b.indexOf(r.name);return(-1===t?999:t)-(-1===a?999:a)}):[],j=g[h]||f,y=t||l,N=!1===x.showServices?[]:p;return(0,a.jsx)(j,{services:N,sitedata:y,siteData:y,socialMedia:i,arnData:n,showCalculators:o,showYouTube:c,showBlogs:d,showNews:m,showGallery:u,showVideos:v,footerToggles:x})}},88743:(e,r,t)=>{"use strict";t.d(r,{default:()=>m});var a=t(95155),s=t(12115),l=t(70898),i=t(52619),n=t.n(i),o=t(53380),c=t(12834);let d=e=>{let r=String(e||"").trim();return!r||"#"===r||"#!"===r||/^null$/i.test(r)||/^undefined$/i.test(r)||/^javascript:/i.test(r)?"":/^https?:\/\//i.test(r)||r.startsWith("/")?r:/^[^/\s?#]+\.(?:avif|bmp|gif|ico|jpe?g|png|svg|webp)(?:[?#].*)â¹$/i.test(r)?"":/^(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z]{2,}(?::\d{2,5})?(?:[/?#].*)â¹$/i.test(r)?"https://".concat(r):""};function m(e){let{sitedata:r,isGrouped:t=!1}=e,i=d(null==r?void 0:r.appsappleurl),m=d(null==r?void 0:r.appsplaystoreurl),[u,v]=(0,s.useState)("");return(0,s.useEffect)(()=>{let e="https://thewealthways.com".replace(/\/$/,"");v(i||m||(e?"".concat(e,"/api/app-links"):"/api/app-links"))},[i,m]),(0,a.jsx)("div",{className:t?"relative z-20":"fixed bottom-[78px] right-[18px] z-20",children:(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsx)("div",{className:"w-14 h-14 bg-[var(--rv-bg-surface)] text-[var(--rv-text)] border border-[var(--rv-border)] rounded-full cursor-pointer flex items-center justify-center shadow-lg",children:(0,a.jsx)(o.aGf,{className:"text-3xl"})}),(0,a.jsxs)("div",{className:" absolute right-10 bottom-[60px] w-50 bg-[var(--rv-bg-white)] text-[var(--rv-text)] border border-[var(--rv-border)] rounded-2xl shadow-2xl opacity-0 scale-95 translate-y-2 pointer-events-none transition-all duration-300 ease-in-out group-hover:opacity-100 group-hover:scale-100 group-hover:translate-y-0 group-hover:pointer-events-auto ",children:[(0,a.jsxs)("div",{className:"p-4 flex flex-col gap-4",children:[(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("p",{className:"text-xs uppercase tracking-[0.2em] text-[var(--rv-gray-dark)]",children:"Scan to Download"}),(0,a.jsxs)("p",{className:"text-sm font-semibold text-[var(--rv-black)]",children:[null==r?void 0:r.websiteName," App"]}
1)]}),(0,a.jsx)("div",{className:"w-full rounded-xl overflow-hidden border border-[var(--rv-border)] bg-[var(--rv-bg-white)] flex items-center justify-center p-3",children:u?(0,a.jsx)(c.h,{value:u,size:160,level:"H",includeMargin:!0,imageSettings:{src:"/favicon.ico",height:28,width:28,excavate:!0}}):(0,a.jsx)(o.aGf,{className:"text-5xl"})}),(i||m)&&(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[i&&(0,a.jsxs)(n(),{href:i,target:"_blank",rel:"noopener noreferrer",className:"h-10 flex items-center justify-center gap-2 rounded-xl bg-[var(--rv-bg-black)] text-[var(--rv-white)] hover:bg-[var(--rv-bg-secondary)] transition shadow-lg",children:[(0,a.jsx)(l.eMv,{size:20}),(0,a.jsx)("span",{className:"text-xs font-semibold",children:"iOS"})]}),m&&(0,a.jsxs)(n(),{href:m,target:"_blank",rel:"noopener noreferrer",className:"h-10 flex items-center justify-center gap-2 rounded-xl bg-[var(--rv-bg-black)] text-[var(--rv-white)] hover:bg-[var(--rv-bg-secondary)] transition shadow-lg",children:[(0,a.jsx)(l.N8X,{size:18}),(0,a.jsx)("span",{className:"text-xs font-semibold",children:"Android"})]})]})]}),(0,a.jsx)("div",{className:"absolute -bottom-2 right-6 w-4 h-4 bg-[var(--rv-bg-white)] border border-[var(--rv-border)] rotate-45"})]})]})})}}},e=>{e.O(0,[6711,6446,844,9204,512,2150,754,2870,3488,4744,5239,316,7009,4974,2651,8441,1255,7358],()=>e(e.s=23268)),_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.